diff --git a/.vscode/settings.json b/.vscode/settings.json index c64fdfda..59de28d7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,6 +5,8 @@ "controle", "controles", "coordonnee", + "COUT", + "couts", "Crell", "defini", "deplie", @@ -25,6 +27,7 @@ "mobily", "paypal", "phpstan", + "prenom", "Proprietes", "rafraichissement", "rapprochee", diff --git a/composer.lock b/composer.lock index 3eae5191..4abf56b9 100644 --- a/composer.lock +++ b/composer.lock @@ -2313,15 +2313,15 @@ }, { "name": "wpackagist-plugin/wc-multishipping", - "version": "2.5.2", + "version": "2.5.3", "source": { "type": "svn", "url": "https://plugins.svn.wordpress.org/wc-multishipping/", - "reference": "tags/2.5.2" + "reference": "tags/2.5.3" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/wc-multishipping.2.5.2.zip" + "url": "https://downloads.wordpress.org/plugin/wc-multishipping.2.5.3.zip" }, "require": { "composer/installers": "^1.0 || ^2.0" @@ -3301,16 +3301,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.32.0", + "version": "1.33.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "6ca22b154efdd9e3c68c56f5d94670920a1c19a4" + "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6ca22b154efdd9e3c68c56f5d94670920a1c19a4", - "reference": "6ca22b154efdd9e3c68c56f5d94670920a1c19a4", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/82a311fd3690fb2bf7b64d5c98f912b3dd746140", + "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140", "shasum": "" }, "require": { @@ -3342,9 +3342,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.32.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.33.0" }, - "time": "2024-09-26T07:23:32+00:00" + "time": "2024-10-13T11:25:22+00:00" }, { "name": "phpstan/phpstan", diff --git a/package.json b/package.json index 10e89ce6..1abe1431 100644 --- a/package.json +++ b/package.json @@ -12,9 +12,10 @@ "dependencies": { "@mobily/ts-belt": "^3.13.1", "@sentry/browser": "8.34.0", + "html-template-tag": "^4.1.0", "purify-ts": "^2.1.0", "remeda": "^2.15.0", - "ts-pattern": "^5.4.0", + "ts-pattern": "^5.5.0", "valibot": "1.0.0-beta.0" }, "devDependencies": { @@ -30,8 +31,8 @@ "configurations-js": "git+https://git.gcch.fr/gcch/configurations-js.git", "eslint": "^9.12.0", "eslint-plugin-oxlint": "^0.9.10", - "eslint-plugin-perfectionist": "^3.8.0", - "fdir": "^6.4.0", + "eslint-plugin-perfectionist": "^3.9.0", + "fdir": "^6.4.2", "globals": "^15.11.0", "oxlint": "^0.9.10", "picomatch": "^4.0.2", @@ -46,10 +47,10 @@ "stylelint-declaration-block-no-ignored-properties": "^2.8.0", "stylelint-plugin-logical-css": "^1.2.1", "typescript": "5.7.0-dev.20241010", - "typescript-eslint": "^8.8.1", - "vite": "^5.4.8", + "typescript-eslint": "^8.9.0", + "vite": "^5.4.9", "vite-plugin-manifest-sri": "^0.2.0", - "vite-plugin-valibot-env": "^0.8.0", + "vite-plugin-valibot-env": "^0.8.1", "vite-tsconfig-paths": "^5.0.1", "wp-types": "^4.66.1" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 402e3e71..b9088b99 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,9 @@ importers: '@sentry/browser': specifier: 8.34.0 version: 8.34.0 + html-template-tag: + specifier: ^4.1.0 + version: 4.1.0 purify-ts: specifier: ^2.1.0 version: 2.1.0 @@ -21,8 +24,8 @@ importers: specifier: ^2.15.0 version: 2.15.0 ts-pattern: - specifier: ^5.4.0 - version: 5.4.0 + specifier: ^5.5.0 + version: 5.5.0 valibot: specifier: 1.0.0-beta.0 version: 1.0.0-beta.0(typescript@5.7.0-dev.20241010) @@ -64,11 +67,11 @@ importers: specifier: ^0.9.10 version: 0.9.10 eslint-plugin-perfectionist: - specifier: ^3.8.0 - version: 3.8.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010) + specifier: ^3.9.0 + version: 3.9.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010) fdir: - specifier: ^6.4.0 - version: 6.4.0(picomatch@4.0.2) + specifier: ^6.4.2 + version: 6.4.2(picomatch@4.0.2) globals: specifier: ^15.11.0 version: 15.11.0 @@ -112,20 +115,20 @@ importers: specifier: 5.7.0-dev.20241010 version: 5.7.0-dev.20241010 typescript-eslint: - specifier: ^8.8.1 - version: 8.8.1(eslint@9.12.0)(typescript@5.7.0-dev.20241010) + specifier: ^8.9.0 + version: 8.9.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010) vite: - specifier: ^5.4.8 - version: 5.4.8(@types/node@22.7.5)(sass@1.79.5) + specifier: ^5.4.9 + version: 5.4.9(@types/node@22.7.5)(sass@1.79.5) vite-plugin-manifest-sri: specifier: ^0.2.0 version: 0.2.0 vite-plugin-valibot-env: - specifier: ^0.8.0 - version: 0.8.0(valibot@1.0.0-beta.0(typescript@5.7.0-dev.20241010))(vite@5.4.8(@types/node@22.7.5)(sass@1.79.5)) + specifier: ^0.8.1 + version: 0.8.1(valibot@1.0.0-beta.0(typescript@5.7.0-dev.20241010))(vite@5.4.9(@types/node@22.7.5)(sass@1.79.5)) vite-tsconfig-paths: specifier: ^5.0.1 - version: 5.0.1(typescript@5.7.0-dev.20241010)(vite@5.4.8(@types/node@22.7.5)(sass@1.79.5)) + version: 5.0.1(typescript@5.7.0-dev.20241010)(vite@5.4.9(@types/node@22.7.5)(sass@1.79.5)) wp-types: specifier: ^4.66.1 version: 4.66.1 @@ -979,8 +982,8 @@ packages: '@types/responselike@1.0.3': resolution: {integrity: sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==} - '@typescript-eslint/eslint-plugin@8.8.1': - resolution: {integrity: sha512-xfvdgA8AP/vxHgtgU310+WBnLB4uJQ9XdyP17RebG26rLtDrQJV3ZYrcopX91GrHmMoH8bdSwMRh2a//TiJ1jQ==} + '@typescript-eslint/eslint-plugin@8.9.0': + resolution: {integrity: sha512-Y1n621OCy4m7/vTXNlCbMVp87zSd7NH0L9cXD8aIpOaNlzeWxIK4+Q19A68gSmTNRZn92UjocVUWDthGxtqHFg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 @@ -990,8 +993,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.8.1': - resolution: {integrity: sha512-hQUVn2Lij2NAxVFEdvIGxT9gP1tq2yM83m+by3whWFsWC+1y8pxxxHUFE1UqDu2VsGi2i6RLcv4QvouM84U+ow==} + '@typescript-eslint/parser@8.9.0': + resolution: {integrity: sha512-U+BLn2rqTTHnc4FL3FJjxaXptTxmf9sNftJK62XLz4+GxG3hLHm/SUNaaXP5Y4uTiuYoL5YLy4JBCJe3+t8awQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -1000,12 +1003,12 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@8.8.1': - resolution: {integrity: sha512-X4JdU+66Mazev/J0gfXlcC/dV6JI37h+93W9BRYXrSn0hrE64IoWgVkO9MSJgEzoWkxONgaQpICWg8vAN74wlA==} + '@typescript-eslint/scope-manager@8.9.0': + resolution: {integrity: sha512-bZu9bUud9ym1cabmOYH9S6TnbWRzpklVmwqICeOulTCZ9ue2/pczWzQvt/cGj2r2o1RdKoZbuEMalJJSYw3pHQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@8.8.1': - resolution: {integrity: sha512-qSVnpcbLP8CALORf0za+vjLYj1Wp8HSoiI8zYU5tHxRVj30702Z1Yw4cLwfNKhTPWp5+P+k1pjmD5Zd1nhxiZA==} + '@typescript-eslint/type-utils@8.9.0': + resolution: {integrity: sha512-JD+/pCqlKqAk5961vxCluK+clkppHY07IbV3vett97KOV+8C6l+CPEPwpUuiMwgbOz/qrN3Ke4zzjqbT+ls+1Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1013,12 +1016,12 @@ packages: typescript: optional: true - '@typescript-eslint/types@8.8.1': - resolution: {integrity: sha512-WCcTP4SDXzMd23N27u66zTKMuEevH4uzU8C9jf0RO4E04yVHgQgW+r+TeVTNnO1KIfrL8ebgVVYYMMO3+jC55Q==} + '@typescript-eslint/types@8.9.0': + resolution: {integrity: sha512-SjgkvdYyt1FAPhU9c6FiYCXrldwYYlIQLkuc+LfAhCna6ggp96ACncdtlbn8FmnG72tUkXclrDExOpEYf1nfJQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.8.1': - resolution: {integrity: sha512-A5d1R9p+X+1js4JogdNilDuuq+EHZdsH9MjTVxXOdVFfTJXunKJR/v+fNNyO4TnoOn5HqobzfRlc70NC6HTcdg==} + '@typescript-eslint/typescript-estree@8.9.0': + resolution: {integrity: sha512-9iJYTgKLDG6+iqegehc5+EqE6sqaee7kb8vWpmHZ86EqwDjmlqNNHeqDVqb9duh+BY6WCNHfIGvuVU3Tf9Db0g==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1026,14 +1029,14 @@ packages: typescript: optional: true - '@typescript-eslint/utils@8.8.1': - resolution: {integrity: sha512-/QkNJDbV0bdL7H7d0/y0qBbV2HTtf0TIyjSDTvvmQEzeVx8jEImEbLuOA4EsvE8gIgqMitns0ifb5uQhMj8d9w==} + '@typescript-eslint/utils@8.9.0': + resolution: {integrity: sha512-PKgMmaSo/Yg/F7kIZvrgrWa1+Vwn036CdNUvYFEkYbPwOH4i8xvkaRlu148W3vtheWK9ckKRIz7PBP5oUlkrvQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/visitor-keys@8.8.1': - resolution: {integrity: sha512-0/TdC3aeRAsW7MDvYRwEc1Uwm0TIBfzjPFgg60UU2Haj5qsCs9cc3zNgY71edqE3LbWfF/WoZQd3lJoDXFQpag==} + '@typescript-eslint/visitor-keys@8.9.0': + resolution: {integrity: sha512-Ht4y38ubk4L5/U8xKUBfKNYGmvKvA1CANoxiTRMM+tOLk3lbF3DvzZCxJCRSE+2GdCMSh6zq9VZJc3asc1XuAA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@xml-tools/parser@1.0.11': @@ -1044,8 +1047,8 @@ packages: peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - acorn@8.12.1: - resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==} + acorn@8.13.0: + resolution: {integrity: sha512-8zSiw54Oxrdym50NlZ9sUusyO1Z1ZchgRLWRaK6c86XJFClyCgFKetdowBg5bKxyp/u+CDBJG4Mpp0m3HLZl9w==} engines: {node: '>=0.4.0'} hasBin: true @@ -1131,8 +1134,8 @@ packages: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} - caniuse-lite@1.0.30001668: - resolution: {integrity: sha512-nWLrdxqCdblixUO+27JtGJJE/txpJlyUy5YN1u53wLZkP0emYCo5zgS6QYft7VUYR42LGgi/S5hdLZTrnyIddw==} + caniuse-lite@1.0.30001669: + resolution: {integrity: sha512-DlWzFDJqstqtIVx1zeSpIMLjunf5SmwOw0N2Ck/QSQdS8PLS4+9HrLaYei4w8BIAL7IB/UEDu889d8vhCTPA0w==} chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} @@ -1203,10 +1206,6 @@ packages: resolution: {integrity: sha512-IQOkD3hbR5KrN93MtcYuad6YPuTSUhntLHDuLEbFWE+ff2/XSZNdZG+LcbbIW5AXKg/WFIfYItIzVoHngHXZzA==} engines: {node: '>=12 || >=16'} - css-tree@2.3.1: - resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==} - engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} - css-tree@3.0.0: resolution: {integrity: sha512-o88DVQ6GzsABn1+6+zo2ct801dBO5OASVyxbbvA2W20ue2puSh/VOuqUj90eUeMSX/xqGqBmOKiRQN7tJOuBXw==} engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} @@ -1245,8 +1244,8 @@ packages: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} - electron-to-chromium@1.5.36: - resolution: {integrity: sha512-HYTX8tKge/VNp6FGO+f/uVDmUkq+cEfcxYhKf15Akc4M5yxt5YmorwlAitKWjWhWQnKcDRBAQKXkhqqXMqcrjw==} + electron-to-chromium@1.5.39: + resolution: {integrity: sha512-4xkpSR6CjuiaNyvwiWDI85N9AxsvbPawB8xc7yzLPonYTuP19BVgYweKyUMFtHEZgIcHWMt1ks5Cqx2m+6/Grg==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -1285,8 +1284,8 @@ packages: eslint-plugin-oxlint@0.9.10: resolution: {integrity: sha512-8AyknsmYBJ/82dNChwUDnR4PmE9jKfNn9W+dQ3buzmrwoTvpSIuho2A/KoaGv6B7Lz0cMaEloR6BGo/a0b/xOw==} - eslint-plugin-perfectionist@3.8.0: - resolution: {integrity: sha512-BYJWbQVOjvIGK9V1xUfn790HuvkePjxti8epOi1H6sdzo0N4RehBmQ8coHPbgA/f12BUG1NIoDtQhI9mUm+o2A==} + eslint-plugin-perfectionist@3.9.0: + resolution: {integrity: sha512-qLsV6/94hokK+k77wUeLMEtB3tS/NtC9ke5OZCAaeCyK1VyVv7Ct0il16vkNNw/1IwNo8Fy60PKjQZSBcsVX5A==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: astro-eslint-parser: ^1.0.2 @@ -1379,8 +1378,8 @@ packages: fast-levenshtein@2.0.6: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - fast-uri@3.0.2: - resolution: {integrity: sha512-GR6f0hD7XXyNJa25Tb9BuIdN0tdr+0BMi6/CJPH3wJO1JjNG3n/VsSw38AwRdKZABm8lGbPfakLRkYzx2V9row==} + fast-uri@3.0.3: + resolution: {integrity: sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw==} fastest-levenshtein@1.0.16: resolution: {integrity: sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==} @@ -1389,8 +1388,8 @@ packages: fastq@1.17.1: resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} - fdir@6.4.0: - resolution: {integrity: sha512-3oB133prH1o4j/L5lLW7uOCF1PlD+/It2L0eL/iAqWMB91RBbqTewABqxhj0ibBd90EEmWZq7ntIWzVaWcXTGQ==} + fdir@6.4.2: + resolution: {integrity: sha512-KnhMXsKSPZlAhp7+IjUkRZKPb4fUyccpDrdFXbi4QL1qkmFh9kVY09Yox+n4MaOb3lHZ1Tv829C3oaaXoMYPDQ==} peerDependencies: picomatch: ^3 || ^4 peerDependenciesMeta: @@ -1506,10 +1505,19 @@ packages: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} engines: {node: '>=8'} + html-element-attributes@3.4.0: + resolution: {integrity: sha512-u76G07278nacmHiSKs1yxbB2se0aiuQH8uJidyDMc6har3HRpFAR/sDKrZR426p03vu7QuvPAcaLMhp4kWcRbg==} + + html-es6cape@2.0.2: + resolution: {integrity: sha512-utzhH8rq2VABdW1LsPdv5tmxeMNOtP83If0jKCa79xPBgLWfcMvdf9K+EZoxJ5P7KioCxTs6WBnSDWLQHJ2lWA==} + html-tags@3.3.1: resolution: {integrity: sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==} engines: {node: '>=8'} + html-template-tag@4.1.0: + resolution: {integrity: sha512-ZaKbMF8Udd00Wvy1aabnO8mKZoat3TdYeM5BMoj5gkyLqBmuT8UTSCIp44EKzzMmP31wTni+mlim8pSw/MbS7Q==} + http-cache-semantics@4.1.1: resolution: {integrity: sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==} @@ -1661,12 +1669,12 @@ packages: mathml-tag-names@2.1.3: resolution: {integrity: sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==} - mdn-data@2.0.30: - resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} - mdn-data@2.10.0: resolution: {integrity: sha512-qq7C3EtK3yJXMwz1zAab65pjl+UhohqMOctTgcqjLOWABqmwj+me02LSsCuEUxnst9X1lCBpoE0WArGKgdGDzw==} + mdn-data@2.11.1: + resolution: {integrity: sha512-Hdx3wmyqPFrhd6YHVuSkUK2eIGAcxR0xlndcgZqjA68yMJTbfXrjJwbgsBOsNjI7LnBIVUQnmyMVSdi/ob0GpQ==} + meow@13.2.0: resolution: {integrity: sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==} engines: {node: '>=18'} @@ -1804,15 +1812,15 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} - peek-readable@5.2.0: - resolution: {integrity: sha512-U94a+eXHzct7vAd19GH3UQ2dH4Satbng0MyYTMaQatL0pvYYL5CTPR25HBhKtecl+4bfu1/i3vC6k0hydO5Vcw==} + peek-readable@5.3.1: + resolution: {integrity: sha512-GVlENSDW6KHaXcd9zkZltB7tCLosKB/4Hg0fqBJkAoBgYG2Tn1xtMgXtSUuMU9AK/gCm/tTdT8mgAeF4YNeeqw==} engines: {node: '>=14.16'} php-parser@3.1.5: resolution: {integrity: sha512-jEY2DcbgCm5aclzBdfW86GM6VEIWcSlhTBSHN1qhJguVePlYe28GhwS0yoeLYXpM2K8y6wzLwrbq814n2PHSoQ==} - picocolors@1.1.0: - resolution: {integrity: sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==} + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} @@ -2122,8 +2130,8 @@ packages: peerDependencies: stylelint: ^14.0.0 || ^15.0.0 || ^16.0.0 - stylelint-scss@6.7.0: - resolution: {integrity: sha512-RFIa2A+pVWS5wjNT+whtK7wsbZEWazyqesCuSaPbPlZ8lh2TujwVJSnCYJijg6ChZzwI8pZPRZS1L6A9aCbXDg==} + stylelint-scss@6.8.0: + resolution: {integrity: sha512-6gjsCZ30UUF6ivjZB2Z+1lb6k0+JFa1uR2MgGbYu76xRjEfvNTpSS1nQim1Gom1ijFF9GzauOiq1Kr7zKptQOw==} engines: {node: '>=18.12.0'} peerDependencies: stylelint: ^16.0.2 @@ -2173,8 +2181,8 @@ packages: peerDependencies: typescript: '>=4.2.0' - ts-pattern@5.4.0: - resolution: {integrity: sha512-hgfOMfjlrARCnYtGD/xEAkFHDXuSyuqjzFSltyQCbN689uNvoQL20TVN2XFcLMjfNuwSsQGU+xtH6MrjIwhwUg==} + ts-pattern@5.5.0: + resolution: {integrity: sha512-jqbIpTsa/KKTJYWgPNsFNbLVpwCgzXfFJ1ukNn4I8hMwyQzHMJnk/BqWzggB0xpkILuKzaO/aMYhS0SkaJyKXg==} tsconfck@3.1.4: resolution: {integrity: sha512-kdqWFGVJqe+KGYvlSO9NIaWn9jT1Ny4oKVzAJsKii5eoE9snzTJzL4+MMVOMn+fikWGFmKEylcXL710V/kIPJQ==} @@ -2186,8 +2194,8 @@ packages: typescript: optional: true - tslib@2.7.0: - resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} + tslib@2.8.0: + resolution: {integrity: sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==} type-check@0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} @@ -2197,8 +2205,8 @@ packages: resolution: {integrity: sha512-yOGpmOAL7CkKe/91I5O3gPICmJNLJ1G4zFYVAsRHg7M64biSnPtRj0WNQt++bRkjYOqjWXrhnUw1utzmVErAdg==} engines: {node: '>=16'} - typescript-eslint@8.8.1: - resolution: {integrity: sha512-R0dsXFt6t4SAFjUSKFjMh4pXDtq04SsFKCVGDP3ZOzNP7itF0jBcZYU4fMsZr4y7O7V7Nc751dDeESbe4PbQMQ==} + typescript-eslint@8.9.0: + resolution: {integrity: sha512-AuD/FXGYRQyqyOBCpNLldMlsCGvmDNxptQ3Dp58/NXeB+FqyvTfXmMyba3PYa0Vi9ybnj7G8S/yd/4Cw8y47eA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -2242,11 +2250,11 @@ packages: vite-plugin-manifest-sri@0.2.0: resolution: {integrity: sha512-Zt5jt19xTIJ91LOuQTCtNG7rTFc5OziAjBz2H5NdCGqaOD1nxrWExLhcKW+W4/q8/jOPCg/n5ncYEQmqCxiGQQ==} - vite-plugin-valibot-env@0.8.0: - resolution: {integrity: sha512-uMxgu7qpR/nJlVrOCTvxXSc6KnWAxT4eqINenPvHau6kHuIdHO3N7eQlffUKKZNMWqbuM9MURv4dTAZVLTPYzQ==} + vite-plugin-valibot-env@0.8.1: + resolution: {integrity: sha512-TKS0F/G24gIVaDpPSNGe835QRqibvulF13N7vYry73mvLErJppLAQQAsBBYEMMf6HTg//lXaAcA9kzF8OxOS9Q==} engines: {node: '>=18.0.0'} peerDependencies: - valibot: '>=0.30 <0.43 || 1.0.0-beta.0' + valibot: '>=0.30 <0.43 || 1.0.0-beta.0 || 1.0.0-beta.1' vite: '>=2 <6' vite-tsconfig-paths@5.0.1: @@ -2257,8 +2265,8 @@ packages: vite: optional: true - vite@5.4.8: - resolution: {integrity: sha512-FqrItQ4DT1NC4zCUqMB4c4AZORMKIa0m8/URVCZ77OZ/QSNeJ54bU1vrFADbDsuwfIPcgknRkmqakQcgnL4GiQ==} + vite@5.4.9: + resolution: {integrity: sha512-20OVpJHh0PAM0oSOELa5GaZNWeDjcAvQjGXy2Uyr+Tp+/D2/Hdz6NLgpJLsarPTA2QJ6v8mX2P1ZfbsSKvdMkg==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -2327,7 +2335,7 @@ snapshots: '@babel/code-frame@7.25.7': dependencies: '@babel/highlight': 7.25.7 - picocolors: 1.1.0 + picocolors: 1.1.1 '@babel/helper-validator-identifier@7.25.7': {} @@ -2336,7 +2344,7 @@ snapshots: '@babel/helper-validator-identifier': 7.25.7 chalk: 2.4.2 js-tokens: 4.0.0 - picocolors: 1.1.0 + picocolors: 1.1.1 '@better-typescript-lib/decorators@2.9.0(typescript@5.7.0-dev.20241010)': dependencies: @@ -2970,14 +2978,14 @@ snapshots: dependencies: '@types/node': 22.7.5 - '@typescript-eslint/eslint-plugin@8.8.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.7.0-dev.20241010))(eslint@9.12.0)(typescript@5.7.0-dev.20241010)': + '@typescript-eslint/eslint-plugin@8.9.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010))(eslint@9.12.0)(typescript@5.7.0-dev.20241010)': dependencies: '@eslint-community/regexpp': 4.11.1 - '@typescript-eslint/parser': 8.8.1(eslint@9.12.0)(typescript@5.7.0-dev.20241010) - '@typescript-eslint/scope-manager': 8.8.1 - '@typescript-eslint/type-utils': 8.8.1(eslint@9.12.0)(typescript@5.7.0-dev.20241010) - '@typescript-eslint/utils': 8.8.1(eslint@9.12.0)(typescript@5.7.0-dev.20241010) - '@typescript-eslint/visitor-keys': 8.8.1 + '@typescript-eslint/parser': 8.9.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010) + '@typescript-eslint/scope-manager': 8.9.0 + '@typescript-eslint/type-utils': 8.9.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010) + '@typescript-eslint/utils': 8.9.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010) + '@typescript-eslint/visitor-keys': 8.9.0 eslint: 9.12.0 graphemer: 1.4.0 ignore: 5.3.2 @@ -2988,12 +2996,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.7.0-dev.20241010)': + '@typescript-eslint/parser@8.9.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010)': dependencies: - '@typescript-eslint/scope-manager': 8.8.1 - '@typescript-eslint/types': 8.8.1 - '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.7.0-dev.20241010) - '@typescript-eslint/visitor-keys': 8.8.1 + '@typescript-eslint/scope-manager': 8.9.0 + '@typescript-eslint/types': 8.9.0 + '@typescript-eslint/typescript-estree': 8.9.0(typescript@5.7.0-dev.20241010) + '@typescript-eslint/visitor-keys': 8.9.0 debug: 4.3.7 eslint: 9.12.0 optionalDependencies: @@ -3001,15 +3009,15 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.8.1': + '@typescript-eslint/scope-manager@8.9.0': dependencies: - '@typescript-eslint/types': 8.8.1 - '@typescript-eslint/visitor-keys': 8.8.1 + '@typescript-eslint/types': 8.9.0 + '@typescript-eslint/visitor-keys': 8.9.0 - '@typescript-eslint/type-utils@8.8.1(eslint@9.12.0)(typescript@5.7.0-dev.20241010)': + '@typescript-eslint/type-utils@8.9.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010)': dependencies: - '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.7.0-dev.20241010) - '@typescript-eslint/utils': 8.8.1(eslint@9.12.0)(typescript@5.7.0-dev.20241010) + '@typescript-eslint/typescript-estree': 8.9.0(typescript@5.7.0-dev.20241010) + '@typescript-eslint/utils': 8.9.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010) debug: 4.3.7 ts-api-utils: 1.3.0(typescript@5.7.0-dev.20241010) optionalDependencies: @@ -3018,12 +3026,12 @@ snapshots: - eslint - supports-color - '@typescript-eslint/types@8.8.1': {} + '@typescript-eslint/types@8.9.0': {} - '@typescript-eslint/typescript-estree@8.8.1(typescript@5.7.0-dev.20241010)': + '@typescript-eslint/typescript-estree@8.9.0(typescript@5.7.0-dev.20241010)': dependencies: - '@typescript-eslint/types': 8.8.1 - '@typescript-eslint/visitor-keys': 8.8.1 + '@typescript-eslint/types': 8.9.0 + '@typescript-eslint/visitor-keys': 8.9.0 debug: 4.3.7 fast-glob: 3.3.2 is-glob: 4.0.3 @@ -3035,31 +3043,31 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.8.1(eslint@9.12.0)(typescript@5.7.0-dev.20241010)': + '@typescript-eslint/utils@8.9.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.12.0) - '@typescript-eslint/scope-manager': 8.8.1 - '@typescript-eslint/types': 8.8.1 - '@typescript-eslint/typescript-estree': 8.8.1(typescript@5.7.0-dev.20241010) + '@typescript-eslint/scope-manager': 8.9.0 + '@typescript-eslint/types': 8.9.0 + '@typescript-eslint/typescript-estree': 8.9.0(typescript@5.7.0-dev.20241010) eslint: 9.12.0 transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/visitor-keys@8.8.1': + '@typescript-eslint/visitor-keys@8.9.0': dependencies: - '@typescript-eslint/types': 8.8.1 + '@typescript-eslint/types': 8.9.0 eslint-visitor-keys: 3.4.3 '@xml-tools/parser@1.0.11': dependencies: chevrotain: 7.1.1 - acorn-jsx@5.3.2(acorn@8.12.1): + acorn-jsx@5.3.2(acorn@8.13.0): dependencies: - acorn: 8.12.1 + acorn: 8.13.0 - acorn@8.12.1: {} + acorn@8.13.0: {} ajv@6.12.6: dependencies: @@ -3071,7 +3079,7 @@ snapshots: ajv@8.17.1: dependencies: fast-deep-equal: 3.1.3 - fast-uri: 3.0.2 + fast-uri: 3.0.3 json-schema-traverse: 1.0.0 require-from-string: 2.0.2 @@ -3148,8 +3156,8 @@ snapshots: browserslist@4.24.0: dependencies: - caniuse-lite: 1.0.30001668 - electron-to-chromium: 1.5.36 + caniuse-lite: 1.0.30001669 + electron-to-chromium: 1.5.39 node-releases: 2.0.18 update-browserslist-db: 1.1.1(browserslist@4.24.0) @@ -3167,7 +3175,7 @@ snapshots: callsites@3.1.0: {} - caniuse-lite@1.0.30001668: {} + caniuse-lite@1.0.30001669: {} chalk@2.4.2: dependencies: @@ -3239,11 +3247,6 @@ snapshots: css-functions-list@3.2.3: {} - css-tree@2.3.1: - dependencies: - mdn-data: 2.0.30 - source-map-js: 1.2.1 - css-tree@3.0.0: dependencies: mdn-data: 2.10.0 @@ -3269,7 +3272,7 @@ snapshots: dependencies: path-type: 4.0.0 - electron-to-chromium@1.5.36: {} + electron-to-chromium@1.5.39: {} emoji-regex@8.0.0: {} @@ -3321,10 +3324,10 @@ snapshots: dependencies: scule: 1.3.0 - eslint-plugin-perfectionist@3.8.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010): + eslint-plugin-perfectionist@3.9.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010): dependencies: - '@typescript-eslint/types': 8.8.1 - '@typescript-eslint/utils': 8.8.1(eslint@9.12.0)(typescript@5.7.0-dev.20241010) + '@typescript-eslint/types': 8.9.0 + '@typescript-eslint/utils': 8.9.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010) eslint: 9.12.0 minimatch: 9.0.5 natural-compare-lite: 1.4.0 @@ -3383,8 +3386,8 @@ snapshots: espree@10.2.0: dependencies: - acorn: 8.12.1 - acorn-jsx: 5.3.2(acorn@8.12.1) + acorn: 8.13.0 + acorn-jsx: 5.3.2(acorn@8.13.0) eslint-visitor-keys: 4.1.0 esquery@1.6.0: @@ -3448,7 +3451,7 @@ snapshots: fast-levenshtein@2.0.6: {} - fast-uri@3.0.2: {} + fast-uri@3.0.3: {} fastest-levenshtein@1.0.16: {} @@ -3456,7 +3459,7 @@ snapshots: dependencies: reusify: 1.0.4 - fdir@6.4.0(picomatch@4.0.2): + fdir@6.4.2(picomatch@4.0.2): optionalDependencies: picomatch: 4.0.2 @@ -3573,8 +3576,17 @@ snapshots: has-flag@4.0.0: {} + html-element-attributes@3.4.0: {} + + html-es6cape@2.0.2: {} + html-tags@3.3.1: {} + html-template-tag@4.1.0: + dependencies: + html-element-attributes: 3.4.0 + html-es6cape: 2.0.2 + http-cache-semantics@4.1.1: {} http2-wrapper@1.0.3: @@ -3684,10 +3696,10 @@ snapshots: mathml-tag-names@2.1.3: {} - mdn-data@2.0.30: {} - mdn-data@2.10.0: {} + mdn-data@2.11.1: {} + meow@13.2.0: {} merge-stream@2.0.0: {} @@ -3804,11 +3816,11 @@ snapshots: path-type@4.0.0: {} - peek-readable@5.2.0: {} + peek-readable@5.3.1: {} php-parser@3.1.5: {} - picocolors@1.1.0: {} + picocolors@1.1.1: {} picomatch@2.3.1: {} @@ -3846,7 +3858,7 @@ snapshots: postcss@8.4.47: dependencies: nanoid: 3.3.7 - picocolors: 1.1.0 + picocolors: 1.1.1 source-map-js: 1.2.1 prelude-ls@1.2.1: {} @@ -3959,7 +3971,7 @@ snapshots: sh-syntax@0.4.2: dependencies: - tslib: 2.7.0 + tslib: 2.8.0 shebang-command@1.2.0: dependencies: @@ -4022,7 +4034,7 @@ snapshots: strtok3@7.1.1: dependencies: '@tokenizer/token': 0.3.0 - peek-readable: 5.2.0 + peek-readable: 5.3.1 style-search@0.1.0: {} @@ -4036,7 +4048,7 @@ snapshots: postcss-scss: 4.0.9(postcss@8.4.47) stylelint: 16.10.0(typescript@5.7.0-dev.20241010) stylelint-config-recommended: 14.0.1(stylelint@16.10.0(typescript@5.7.0-dev.20241010)) - stylelint-scss: 6.7.0(stylelint@16.10.0(typescript@5.7.0-dev.20241010)) + stylelint-scss: 6.8.0(stylelint@16.10.0(typescript@5.7.0-dev.20241010)) optionalDependencies: postcss: 8.4.47 @@ -4050,7 +4062,7 @@ snapshots: postcss: 8.4.47 postcss-scss: 4.0.9(postcss@8.4.47) stylelint: 16.10.0(typescript@5.7.0-dev.20241010) - stylelint-scss: 6.7.0(stylelint@16.10.0(typescript@5.7.0-dev.20241010)) + stylelint-scss: 6.8.0(stylelint@16.10.0(typescript@5.7.0-dev.20241010)) stylelint-config-standard-scss@13.1.0(postcss@8.4.47)(stylelint@16.10.0(typescript@5.7.0-dev.20241010)): dependencies: @@ -4079,11 +4091,12 @@ snapshots: dependencies: stylelint: 16.10.0(typescript@5.7.0-dev.20241010) - stylelint-scss@6.7.0(stylelint@16.10.0(typescript@5.7.0-dev.20241010)): + stylelint-scss@6.8.0(stylelint@16.10.0(typescript@5.7.0-dev.20241010)): dependencies: - css-tree: 2.3.1 + css-tree: 3.0.0 is-plain-object: 5.0.0 known-css-properties: 0.34.0 + mdn-data: 2.11.1 postcss-media-query-parser: 0.2.3 postcss-resolve-nested-selector: 0.1.6 postcss-selector-parser: 6.1.2 @@ -4118,7 +4131,7 @@ snapshots: meow: 13.2.0 micromatch: 4.0.8 normalize-path: 3.0.0 - picocolors: 1.1.0 + picocolors: 1.1.1 postcss: 8.4.47 postcss-resolve-nested-selector: 0.1.6 postcss-safe-parser: 7.0.1(postcss@8.4.47) @@ -4176,13 +4189,13 @@ snapshots: dependencies: typescript: 5.7.0-dev.20241010 - ts-pattern@5.4.0: {} + ts-pattern@5.5.0: {} tsconfck@3.1.4(typescript@5.7.0-dev.20241010): optionalDependencies: typescript: 5.7.0-dev.20241010 - tslib@2.7.0: {} + tslib@2.8.0: {} type-check@0.4.0: dependencies: @@ -4190,11 +4203,11 @@ snapshots: type-fest@4.26.1: {} - typescript-eslint@8.8.1(eslint@9.12.0)(typescript@5.7.0-dev.20241010): + typescript-eslint@8.9.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010): dependencies: - '@typescript-eslint/eslint-plugin': 8.8.1(@typescript-eslint/parser@8.8.1(eslint@9.12.0)(typescript@5.7.0-dev.20241010))(eslint@9.12.0)(typescript@5.7.0-dev.20241010) - '@typescript-eslint/parser': 8.8.1(eslint@9.12.0)(typescript@5.7.0-dev.20241010) - '@typescript-eslint/utils': 8.8.1(eslint@9.12.0)(typescript@5.7.0-dev.20241010) + '@typescript-eslint/eslint-plugin': 8.9.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010))(eslint@9.12.0)(typescript@5.7.0-dev.20241010) + '@typescript-eslint/parser': 8.9.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010) + '@typescript-eslint/utils': 8.9.0(eslint@9.12.0)(typescript@5.7.0-dev.20241010) optionalDependencies: typescript: 5.7.0-dev.20241010 transitivePeerDependencies: @@ -4211,7 +4224,7 @@ snapshots: dependencies: browserslist: 4.24.0 escalade: 3.2.0 - picocolors: 1.1.0 + picocolors: 1.1.1 uri-js@4.4.1: dependencies: @@ -4225,25 +4238,25 @@ snapshots: vite-plugin-manifest-sri@0.2.0: {} - vite-plugin-valibot-env@0.8.0(valibot@1.0.0-beta.0(typescript@5.7.0-dev.20241010))(vite@5.4.8(@types/node@22.7.5)(sass@1.79.5)): + vite-plugin-valibot-env@0.8.1(valibot@1.0.0-beta.0(typescript@5.7.0-dev.20241010))(vite@5.4.9(@types/node@22.7.5)(sass@1.79.5)): dependencies: kleur: 4.1.5 log-symbols: 7.0.0 valibot: 1.0.0-beta.0(typescript@5.7.0-dev.20241010) - vite: 5.4.8(@types/node@22.7.5)(sass@1.79.5) + vite: 5.4.9(@types/node@22.7.5)(sass@1.79.5) - vite-tsconfig-paths@5.0.1(typescript@5.7.0-dev.20241010)(vite@5.4.8(@types/node@22.7.5)(sass@1.79.5)): + vite-tsconfig-paths@5.0.1(typescript@5.7.0-dev.20241010)(vite@5.4.9(@types/node@22.7.5)(sass@1.79.5)): dependencies: debug: 4.3.7 globrex: 0.1.2 tsconfck: 3.1.4(typescript@5.7.0-dev.20241010) optionalDependencies: - vite: 5.4.8(@types/node@22.7.5)(sass@1.79.5) + vite: 5.4.9(@types/node@22.7.5)(sass@1.79.5) transitivePeerDependencies: - supports-color - typescript - vite@5.4.8(@types/node@22.7.5)(sass@1.79.5): + vite@5.4.9(@types/node@22.7.5)(sass@1.79.5): dependencies: esbuild: 0.21.5 postcss: 8.4.47 diff --git a/web/app/themes/haiku-atelier-2024/archive-product.php b/web/app/themes/haiku-atelier-2024/archive-product.php index 87d60a28..5ad1be53 100644 --- a/web/app/themes/haiku-atelier-2024/archive-product.php +++ b/web/app/themes/haiku-atelier-2024/archive-product.php @@ -15,12 +15,26 @@ $modeles = ["boutique.twig"]; /** @var array $informations_produits Les informations brutes des Produits. */ $informations_produits = wc_get_products([ - "orderby" => "date", + "limit" => 12, "order" => "DESC", + "orderby" => "date", ]); /** @var InformationsProduitShop $produits Les informations strictement nécessaires pour la grille des Produits. */ $produits = array_map(callback: "recupere_informations_produit_shop", array: $informations_produits); $contexte["produits"] = $produits; +/** + * Charge les Scripts nécessaires pour la page Boutique. + */ +function charge_scripts_page_boutique(): void { + wp_enqueue_script_module( + id: "haiku-atelier-2024-scripts-page-boutique", + src: get_template_directory_uri() . "/assets/js/scripts-page-boutique.js", + deps: [], + version: filemtime(get_template_directory() . "/assets/js/scripts-page-boutique.js"), + ); +} +add_action("wp_enqueue_scripts", "charge_scripts_page_boutique"); + // Rendu Timber::render($filenames = $modeles, $data = $contexte); diff --git a/web/app/themes/haiku-atelier-2024/assets/css/main.css b/web/app/themes/haiku-atelier-2024/assets/css/main.css index e7e5137b..a71d5ade 100644 --- a/web/app/themes/haiku-atelier-2024/assets/css/main.css +++ b/web/app/themes/haiku-atelier-2024/assets/css/main.css @@ -459,7 +459,7 @@ ul.avec-puce-cercle a { */ } #en-tete .compte-panier a { - min-width: 9ch; /* 1 */ + min-width: 10ch; /* 1 */ text-transform: lowercase; } #en-tete .compte-panier a.lien-compte { diff --git a/web/app/themes/haiku-atelier-2024/assets/css/main.min.css b/web/app/themes/haiku-atelier-2024/assets/css/main.min.css index 23793d16..299e96e9 100644 --- a/web/app/themes/haiku-atelier-2024/assets/css/main.min.css +++ b/web/app/themes/haiku-atelier-2024/assets/css/main.min.css @@ -405,7 +405,7 @@ ul.avec-puce-cercle a { #en-tete .compte-panier a { text-transform: lowercase; - min-width: 9ch; + min-width: 10ch; } #en-tete .compte-panier a.lien-compte { diff --git a/web/app/themes/haiku-atelier-2024/assets/css/main.min.css.map b/web/app/themes/haiku-atelier-2024/assets/css/main.min.css.map index 4511234e..97321d6c 100644 --- a/web/app/themes/haiku-atelier-2024/assets/css/main.min.css.map +++ b/web/app/themes/haiku-atelier-2024/assets/css/main.min.css.map @@ -1 +1 @@ -{"version":3,"mappings":"AACA;;;;;;;;AAOA;;;;;;;;AAOA;;;;;;;;AAOA;;;;;;;;AAOA;;;;;;;;AAOA;;;;;;;;AAOA;;;;;;;;AAOA;;;;;;;;AAOA;;;;;;;;AAOA;;;;;;;;AAOA;;;;;;;;;AAQA;;;;;;;;;AAQA;;;;;;;;;;;;;;;;;;;;;;;;AAiCA;;;;AAWA;;;;;;;;AAYA;;;;;AAQA;;;;AAOA;;;;AAKA;;;;AAOA;EACE;;;;;;;AAUF;;;;;;AAMA;;;;;;;;;;AAUA;;;;AAIA;;;;AAQA;;;;;;;AAMA;;;;;AAIA;;;;AAIA;;;;;;;;AAOA;;;;;AAIA;;;;;AAKA;;;;;AAIA;;;;;AAIA;;;;AAGA;;;;AAIA;;;;AAIA;;;;;;;;;AAWA;;;;AAGA;;;;;;;AAMA;;;;;AAUA;;;;;AAKA;;;;;AAUA;;;;;;;;;;AAeA;;;;AAGA;;;;;;;;AAYA;;;;AAGA;;;;AAGA;EACE;;;;EAKA;;;;;AAUF;;;;AASA;;;;;;AAQA;;;;;AAKA;;;;;;;;;;;;;;;;;;;;;AAuBA;;;;AAGA;;;;AAGA;;;;;;;;AAgBA;;;;;;;;AAOA;;;;;;;AAQA;;;;;;AAKA;;;;AAGA;EACE;;;;;AAIF;;;;;;;;AAUA;;;;;AAIA;;;;AAGA;;;;AAUA;;;;;;;;;AAiBA;;;;;;AAQA;;;;;;;;;;;AAeA;;;;AAGA;;;;AAGA;;;;;;;;;AAQA;;;;;AAIA;EACE;;;;;;AAKF;;;;AAGA;;;;AAWA;;;;;;;;;;AAcA;;;;;;;AAMA;;;;;;AAKA;;;;AAGA;;;;;AAiBA;;;;;;;AAMA;;;;AAGA;;;;;;;AAMA;;;;AAGA;EACE;;;;;;;AAMF;;;;AAGA;;;;;;;;;;;;AAWA;;;;;;;AAMA;;;;;;;AAMA;;;;;AAIA;;;;;AAIA;;;;;;;AAMA;;;;;AAYA;;;;;;;;;;;;AAcA;;;;;;;;AAUA;;;;;;;;AAOA;;;;AAGA;;;;;;;AAMA;;;;;;;AAMA;;;;AAIA;;;;AAGA;;;;;;;;;AASA;;;;AAGA;;;;;AAQA;;;;;;;;;;AAUA;;;;AAGA;;;;AAGA;;;;AAGA;;;;;;;;;;;AAUA;;;;AAGA;;;;;;;AAUA;;;;;AAIA;;;;AAIA;;;;;;;;;;;;;;;;AAeA;EACE;;;;;;AAKF;EACE;;;;;;AAKF;;;;;;;;;;AASA;EACE;;;;;AAIF;;;;AAGA;;;;AAGA;;;;;;AAMA;;;;AAGA;;;;;;;;AAQA;EACE;;;;EAMA;;;;EAGA;;;;;AAIF;;;;;;;;;;AASA;;;;;;;;AAOA;;;;;;;AAMA;;;;;;;;;AAQA;;;;AAGA;;;;;;;AAMA;;;;AAGA;EACE;;;;;;;AAMF;;;;AAGA;;;;;;;;;;;;AAWA;;;;;;;AAMA;;;;;;;AAMA;;;;;AAIA;;;;;AAKA;;;;;;;;;;;;;AAaA;;;;;;;AAMA","sources":["web/app/themes/haiku-atelier-2024/assets/css/main.css"],"sourcesContent":["@charset \"UTF-8\";\n@font-face {\n font-family: Lato;\n font-weight: 100;\n font-style: normal;\n font-display: swap;\n src: url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-100.woff2\") format(\"woff2\"), url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-100.ttf\") format(\"truetype\");\n}\n@font-face {\n font-family: Lato;\n font-weight: 100;\n font-style: italic;\n font-display: swap;\n src: url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-100italic.woff2\") format(\"woff2\"), url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-100italic.ttf\") format(\"truetype\");\n}\n@font-face {\n font-family: Lato;\n font-weight: 300;\n font-style: normal;\n font-display: swap;\n src: url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-300.woff2\") format(\"woff2\"), url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-300.ttf\") format(\"truetype\");\n}\n@font-face {\n font-family: Lato;\n font-weight: 300;\n font-style: italic;\n font-display: swap;\n src: url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-300italic.woff2\") format(\"woff2\"), url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-300italic.ttf\") format(\"truetype\");\n}\n@font-face {\n font-family: Lato;\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n src: url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-regular.woff2\") format(\"woff2\"), url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-regular.ttf\") format(\"truetype\");\n}\n@font-face {\n font-family: Lato;\n font-weight: 400;\n font-style: italic;\n font-display: swap;\n src: url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-italic.woff2\") format(\"woff2\"), url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-italic.ttf\") format(\"truetype\");\n}\n@font-face {\n font-family: Lato;\n font-weight: 700;\n font-style: normal;\n font-display: swap;\n src: url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-700.woff2\") format(\"woff2\"), url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-700.ttf\") format(\"truetype\");\n}\n@font-face {\n font-family: Lato;\n font-weight: 700;\n font-style: italic;\n font-display: swap;\n src: url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-700italic.woff2\") format(\"woff2\"), url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-700italic.ttf\") format(\"truetype\");\n}\n@font-face {\n font-family: Lato;\n font-weight: 900;\n font-style: normal;\n font-display: swap;\n src: url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-900.woff2\") format(\"woff2\"), url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-900.ttf\") format(\"truetype\");\n}\n@font-face {\n font-family: Lato;\n font-weight: 900;\n font-style: italic;\n font-display: swap;\n src: url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-900italic.woff2\") format(\"woff2\"), url(\"/app/themes/haiku-atelier-2024/assets/fonts/lato/lato-v24-latin-900italic.ttf\") format(\"truetype\");\n}\n@font-face {\n font-family: Myriad;\n font-weight: 300 900;\n font-style: normal;\n font-display: swap;\n font-stretch: 70% 110%;\n src: url(\"/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable.woff2\") format(\"woff2\"), url(\"/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable.ttf\") format(\"truetype\");\n}\n@font-face {\n font-family: Myriad;\n font-weight: 300 900;\n font-style: italic;\n font-display: swap;\n font-stretch: 70% 110%;\n src: url(\"/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable-italic.woff2\") format(\"woff2\"), url(\"/app/themes/haiku-atelier-2024/assets/fonts/myriad/myriad-variable-italic.ttf\") format(\"truetype\");\n}\n:root {\n /* Couleurs */\n --couleur-blanc: #ffffff;\n --couleur-gris: #eceaeb;\n --couleur-bordeaux: #490918;\n --couleur-jaune: #ebffb8;\n --couleur-noir: #202020;\n /* Polices */\n --police-lato: \"Lato\", sans-serif;\n --police-myriad: \"Myriad\", sans-serif;\n /* Hauteurs de ligne */\n --hauteur-ligne-classique: 1.5;\n --hauteur-ligne-rapprochee: 1;\n /* Espacements entre les lettres */\n --espacement-inter-lettres-etendu-s: 0.5px;\n --espacement-inter-lettres-etendu-m: 1px;\n --espacement-inter-lettres-etendu-l: 1.5px;\n --espacement-inter-lettres-etendu-xl: 2px;\n /* Dimensions */\n --en-tete-hauteur: 60px;\n --menu-categories-produits-hauteur: 54.39px;\n --pied-de-page-hauteur: calc(var(--espace-m) * 2 + 3lh);\n /* Espacements */\n --espace-xs: 0.25rem;\n --espace-s: 0.5rem;\n --espace-m: 1rem;\n --espace-l: 1.25rem;\n --espace-xl: 2rem;\n}\n\n/* *\n * 1. Utilise un meilleur modèle de boîte.\n */\nhtml {\n box-sizing: border-box; /* 1 */\n}\n\n/* *\n * Réinitialise avec des styles par défaut plus simples.\n *\n * 1. Hérite du modèle de boîte du document par défaut.\n * 2. Pas de marges par défaut.\n * 3. Hérite par défaut des styles de texte et de couleur.\n */\n*, *::before, *::after {\n box-sizing: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 2 */\n font: inherit; /* 3 */\n color: inherit; /* 3 */\n}\n\n/* *\n * 1. Utilise une couleur d'arrière-plan définie.\n * 2. Utilise la couleur primaire du site.\n */\nbody {\n accent-color: var(--couleur-jaune); /* 2 */\n background: var(--couleur-gris); /* 1 */\n}\n\n/* *\n * 1. Force l'héritage des styles pour ces éléments.\n */\nbutton, input, select, textarea {\n font: inherit; /* 1 */\n}\n\n/* *\n * Change la couleur d'arrière-plan à la sélection du texte.\n */\n*::selection {\n background: var(--couleur-jaune);\n}\n\n/* Cache tout élément avec l'attribut hidden */\n[hidden] {\n display: none;\n}\n\n/* *\n * Désactive les animations pour les Utilisateurs n'en souhaitant pas.\n */\n@media (prefers-reduced-motion) {\n *, *::before, *::after {\n scroll-behavior: auto !important;\n transition: none !important;\n animation-duration: 0s !important;\n }\n}\n/* *\n * 2. Rendu spécifique du texte pour Safari/iOS.\n * 3. Rendu plus précis du texte.\n */\nhtml {\n -webkit-font-smoothing: antialiased; /* 2 */\n text-size-adjust: none; /* 2 */\n text-rendering: geometricprecision; /* 3 */\n}\n\nbody {\n font: 1rem/var(--hauteur-ligne-classique) Lato;\n font-optical-sizing: auto;\n font-kerning: normal;\n font-variant-ligatures: common-ligatures no-discretionary-ligatures no-historical-ligatures contextual;\n color: var(--couleur-noir);\n text-decoration-skip-ink: auto;\n letter-spacing: var(--espacement-inter-lettres-etendu-s);\n}\n\nstrong {\n font-weight: 600;\n}\n\nem {\n font-style: italic;\n}\n\n/* Mixins Sass */\n/* *\n * Réinitialisation des styles des + {% endblock contenu %} diff --git a/web/app/themes/haiku-atelier-2024/views/parts/en-tete.twig b/web/app/themes/haiku-atelier-2024/views/parts/en-tete.twig index 38e8c557..2205e3b0 100644 --- a/web/app/themes/haiku-atelier-2024/views/parts/en-tete.twig +++ b/web/app/themes/haiku-atelier-2024/views/parts/en-tete.twig @@ -1,15 +1,17 @@
{# TODO: Utiliser un Menu WordPress #} diff --git a/web/app/themes/haiku-atelier-2024/views/parts/pages/panier/panneau-panier.twig b/web/app/themes/haiku-atelier-2024/views/parts/pages/panier/panneau-panier.twig index d6adfd06..f578a58f 100644 --- a/web/app/themes/haiku-atelier-2024/views/parts/pages/panier/panneau-panier.twig +++ b/web/app/themes/haiku-atelier-2024/views/parts/pages/panier/panneau-panier.twig @@ -124,12 +124,25 @@
-

- Subtotal: {{ sous_total_panier }} € -

-

- Shipping: Enter your delivery address. -

+
+

Subtotal:

+

{{ sous_total_panier }} €

+
+ +
+

Shipping:

+

+ Enter your delivery address +
+   +

+

Belgium and France: free shipping.
diff --git a/web/app/themes/haiku-atelier-2024/views/parts/pages/shop/grille-produits.twig b/web/app/themes/haiku-atelier-2024/views/parts/pages/shop/grille-produits.twig index 5d480fcf..3a64ff25 100644 --- a/web/app/themes/haiku-atelier-2024/views/parts/pages/shop/grille-produits.twig +++ b/web/app/themes/haiku-atelier-2024/views/parts/pages/shop/grille-produits.twig @@ -1,4 +1,7 @@ -

+
{% if produits|length > 0 %} {% for produit in produits %} {# TODO: Trouver une meilleure arborescence et des noms de classe #}