From da86f7b5ca7cdac7059cd407fe050c5f859c38dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Ye=C5=9Fil?= Date: Wed, 17 Jan 2024 16:30:34 +0100 Subject: [PATCH] Fix/lit3 alpha/package lock (#2166) * fix(validation-messages): get correct validation min and max dates in French (#2163) * feat(ui): update to lit version 3 and update lion prod dependencies, and create an alpha release --------- Co-authored-by: gerjanvangeest --- .changeset/popular-schools-grow.md | 5 + package-lock.json | 153 ++++++++---------- packages/ui/CHANGELOG.md | 2 +- .../validate-messages/translations/fr.js | 4 +- packages/ui/package.json | 8 +- 5 files changed, 78 insertions(+), 94 deletions(-) create mode 100644 .changeset/popular-schools-grow.md diff --git a/.changeset/popular-schools-grow.md b/.changeset/popular-schools-grow.md new file mode 100644 index 0000000000..128306c4e2 --- /dev/null +++ b/.changeset/popular-schools-grow.md @@ -0,0 +1,5 @@ +--- +'@lion/ui': patch +--- + +[validation-messages] get correct validation min and max dates in French diff --git a/package-lock.json b/package-lock.json index c966dd37f4..acccb1cd3f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3177,7 +3177,6 @@ }, "node_modules/@open-wc/dedupe-mixin": { "version": "1.3.1", - "dev": true, "license": "MIT" }, "node_modules/@open-wc/eslint-config": { @@ -3243,7 +3242,6 @@ }, "node_modules/@open-wc/scoped-elements": { "version": "2.1.4", - "dev": true, "license": "MIT", "dependencies": { "@lit/reactive-element": "^1.0.0", @@ -5562,6 +5560,11 @@ "node": ">=0.8" } }, + "node_modules/autosize": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/autosize/-/autosize-6.0.1.tgz", + "integrity": "sha512-f86EjiUKE6Xvczc4ioP1JBlWG7FKrE13qe/DxBCpe8GCipCq2nFw73aO8QEBKHfSbYGDN5eB9jXWKen7tspDqQ==" + }, "node_modules/available-typed-arrays": { "version": "1.0.5", "dev": true, @@ -5573,6 +5576,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/awesome-phonenumber": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/awesome-phonenumber/-/awesome-phonenumber-6.4.0.tgz", + "integrity": "sha512-GRtyAHsD/usULDEZ8a5QQVZnvLm+WqP8q5sDPf3DkzEDGSr2DcvygGhuhWc6cTP4r28cSo0weM5eStwxJgxDoA==", + "engines": { + "node": ">=18" + } + }, "node_modules/axe-core": { "version": "4.5.2", "dev": true, @@ -9798,6 +9809,11 @@ "url": "https://github.com/sponsors/typicode" } }, + "node_modules/ibantools": { + "version": "4.3.9", + "resolved": "https://registry.npmjs.org/ibantools/-/ibantools-4.3.9.tgz", + "integrity": "sha512-PxQuxv1vq1CgOtfBZIMThZBZEi/hFMmPiAzq4QPx2rmbrUVF/p4dFqvk9e9Z+hVXZxUmdW1cgJh21lpt1UYZzg==" + }, "node_modules/iconv-lite": { "version": "0.4.24", "license": "MIT", @@ -20263,10 +20279,10 @@ "@open-wc/dedupe-mixin": "^1.4.0", "@open-wc/scoped-elements": "^2.1.4", "@popperjs/core": "^2.11.8", - "autosize": "6.0.1", - "awesome-phonenumber": "^6.2.0", - "ibantools": "^4.3.8", - "lit": "^3.1.0", + "autosize": "^6.0.1", + "awesome-phonenumber": "^6.4.0", + "ibantools": "^4.3.9", + "lit": "^3.1.1", "singleton-manager": "^1.7.0" } }, @@ -20276,9 +20292,9 @@ "integrity": "sha512-NBaIEUCzSjLZjrsmSOh8PJLqQjSpXVuekIOuUT8tt4N/FdtAavWsC1YinIqIrbRnkBqV90OxgKzsxhFCzETQBw==" }, "packages/ui/node_modules/@lit/reactive-element": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-2.0.2.tgz", - "integrity": "sha512-SVOwLAWUQg3Ji1egtOt1UiFe4zdDpnWHyc5qctSceJ5XIu0Uc76YmGpIjZgx9YJ0XtdW0Jm507sDvjOu+HnB8w==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-2.0.3.tgz", + "integrity": "sha512-e067EuTNNgOHm1tZcc0Ia7TCzD/9ZpoPegHKgesrGK6pSDRGkGDAQbYuQclqLPIoJ9eC8Kb9mYtGryWcM5AywA==", "dependencies": { "@lit-labs/ssr-dom-shim": "^1.1.2" } @@ -20288,15 +20304,6 @@ "resolved": "https://registry.npmjs.org/@open-wc/dedupe-mixin/-/dedupe-mixin-1.4.0.tgz", "integrity": "sha512-Sj7gKl1TLcDbF7B6KUhtvr+1UCxdhMbNY5KxdU5IfMFWqL8oy1ZeAcCANjoB1TL0AJTcPmcCFsCbHf8X2jGDUA==" }, - "packages/ui/node_modules/@open-wc/scoped-elements": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@open-wc/scoped-elements/-/scoped-elements-3.0.3.tgz", - "integrity": "sha512-ur6fWLsZ8C7l6xg5YpmvT/0/QdxUPtHo7t1PgwMtIN6YgPaJrP8O/Ho3RBBOXqbea7dHGlRegCOwxCcYuYjUyg==", - "dependencies": { - "@open-wc/dedupe-mixin": "^1.4.0", - "lit": "^3.0.0" - } - }, "packages/ui/node_modules/@popperjs/core": { "version": "2.11.8", "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", @@ -20306,28 +20313,10 @@ "url": "https://opencollective.com/popperjs" } }, - "packages/ui/node_modules/autosize": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/autosize/-/autosize-6.0.1.tgz", - "integrity": "sha512-f86EjiUKE6Xvczc4ioP1JBlWG7FKrE13qe/DxBCpe8GCipCq2nFw73aO8QEBKHfSbYGDN5eB9jXWKen7tspDqQ==" - }, - "packages/ui/node_modules/awesome-phonenumber": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/awesome-phonenumber/-/awesome-phonenumber-6.2.0.tgz", - "integrity": "sha512-JSFTjZhWxKHUWAOQU+oBJ86Xf89vJpF82w6iuE9lEybeQzYKFs+zVKjOwzevFBfLjiXf72DsWESA+daVUBrhHw==", - "engines": { - "node": ">=18" - } - }, - "packages/ui/node_modules/ibantools": { - "version": "4.3.8", - "resolved": "https://registry.npmjs.org/ibantools/-/ibantools-4.3.8.tgz", - "integrity": "sha512-YBdswuzvCSn3EyFPKj4aolOaJ8fnQ3m+8bCwTbZJaDg2lMWKlQ4C37PodHCrCh6GmzVPpC7b6H+nKcJTDblu/g==" - }, "packages/ui/node_modules/lit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lit/-/lit-3.1.0.tgz", - "integrity": "sha512-rzo/hmUqX8zmOdamDAeydfjsGXbbdtAFqMhmocnh2j9aDYqbu0fjXygjCa0T99Od9VQ/2itwaGrjZz/ZELVl7w==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lit/-/lit-3.1.1.tgz", + "integrity": "sha512-hF1y4K58+Gqrz+aAPS0DNBwPqPrg6P04DuWK52eMkt/SM9Qe9keWLcFgRcEKOLuDlRZlDsDbNL37Vr7ew1VCuw==", "dependencies": { "@lit/reactive-element": "^2.0.0", "lit-element": "^4.0.0", @@ -20335,9 +20324,9 @@ } }, "packages/ui/node_modules/lit-element": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-4.0.2.tgz", - "integrity": "sha512-/W6WQZUa5VEXwC7H9tbtDMdSs9aWil3Ou8hU6z2cOKWbsm/tXPAcsoaHVEtrDo0zcOIE5GF6QgU55tlGL2Nihg==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-4.0.3.tgz", + "integrity": "sha512-2vhidmC7gGLfnVx41P8UZpzyS0Fb8wYhS5RCm16cMW3oERO0Khd3EsKwtRpOnttuByI5rURjT2dfoA7NlInCNw==", "dependencies": { "@lit-labs/ssr-dom-shim": "^1.1.2", "@lit/reactive-element": "^2.0.0", @@ -20345,9 +20334,9 @@ } }, "packages/ui/node_modules/lit-html": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.1.0.tgz", - "integrity": "sha512-FwAjq3iNsaO6SOZXEIpeROlJLUlrbyMkn4iuv4f4u1H40Jw8wkeR/OUXZUHUoiYabGk8Y4Y0F/rgq+R4MrOLmA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.1.1.tgz", + "integrity": "sha512-x/EwfGk2D/f4odSFM40hcGumzqoKv0/SUh6fBO+1Ragez81APrcAMPo1jIrCDd9Sn+Z4CT867HWKViByvkDZUA==", "dependencies": { "@types/trusted-types": "^2.0.2" } @@ -22425,10 +22414,10 @@ "@open-wc/dedupe-mixin": "^1.4.0", "@open-wc/scoped-elements": "^2.1.4", "@popperjs/core": "^2.11.8", - "autosize": "6.0.1", - "awesome-phonenumber": "^6.2.0", - "ibantools": "^4.3.8", - "lit": "^3.1.0", + "autosize": "^6.0.1", + "awesome-phonenumber": "^6.4.0", + "ibantools": "^4.3.9", + "lit": "^3.1.1", "singleton-manager": "^1.7.0" }, "dependencies": { @@ -22438,9 +22427,9 @@ "integrity": "sha512-NBaIEUCzSjLZjrsmSOh8PJLqQjSpXVuekIOuUT8tt4N/FdtAavWsC1YinIqIrbRnkBqV90OxgKzsxhFCzETQBw==" }, "@lit/reactive-element": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-2.0.2.tgz", - "integrity": "sha512-SVOwLAWUQg3Ji1egtOt1UiFe4zdDpnWHyc5qctSceJ5XIu0Uc76YmGpIjZgx9YJ0XtdW0Jm507sDvjOu+HnB8w==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-2.0.3.tgz", + "integrity": "sha512-e067EuTNNgOHm1tZcc0Ia7TCzD/9ZpoPegHKgesrGK6pSDRGkGDAQbYuQclqLPIoJ9eC8Kb9mYtGryWcM5AywA==", "requires": { "@lit-labs/ssr-dom-shim": "^1.1.2" } @@ -22450,38 +22439,15 @@ "resolved": "https://registry.npmjs.org/@open-wc/dedupe-mixin/-/dedupe-mixin-1.4.0.tgz", "integrity": "sha512-Sj7gKl1TLcDbF7B6KUhtvr+1UCxdhMbNY5KxdU5IfMFWqL8oy1ZeAcCANjoB1TL0AJTcPmcCFsCbHf8X2jGDUA==" }, - "@open-wc/scoped-elements": { - "version": "https://registry.npmjs.org/@open-wc/scoped-elements/-/scoped-elements-3.0.3.tgz", - "integrity": "sha512-ur6fWLsZ8C7l6xg5YpmvT/0/QdxUPtHo7t1PgwMtIN6YgPaJrP8O/Ho3RBBOXqbea7dHGlRegCOwxCcYuYjUyg==", - "requires": { - "@open-wc/dedupe-mixin": "^1.4.0", - "lit": "^3.0.0" - } - }, "@popperjs/core": { "version": "2.11.8", "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==" }, - "autosize": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/autosize/-/autosize-6.0.1.tgz", - "integrity": "sha512-f86EjiUKE6Xvczc4ioP1JBlWG7FKrE13qe/DxBCpe8GCipCq2nFw73aO8QEBKHfSbYGDN5eB9jXWKen7tspDqQ==" - }, - "awesome-phonenumber": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/awesome-phonenumber/-/awesome-phonenumber-6.2.0.tgz", - "integrity": "sha512-JSFTjZhWxKHUWAOQU+oBJ86Xf89vJpF82w6iuE9lEybeQzYKFs+zVKjOwzevFBfLjiXf72DsWESA+daVUBrhHw==" - }, - "ibantools": { - "version": "4.3.8", - "resolved": "https://registry.npmjs.org/ibantools/-/ibantools-4.3.8.tgz", - "integrity": "sha512-YBdswuzvCSn3EyFPKj4aolOaJ8fnQ3m+8bCwTbZJaDg2lMWKlQ4C37PodHCrCh6GmzVPpC7b6H+nKcJTDblu/g==" - }, "lit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lit/-/lit-3.1.0.tgz", - "integrity": "sha512-rzo/hmUqX8zmOdamDAeydfjsGXbbdtAFqMhmocnh2j9aDYqbu0fjXygjCa0T99Od9VQ/2itwaGrjZz/ZELVl7w==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lit/-/lit-3.1.1.tgz", + "integrity": "sha512-hF1y4K58+Gqrz+aAPS0DNBwPqPrg6P04DuWK52eMkt/SM9Qe9keWLcFgRcEKOLuDlRZlDsDbNL37Vr7ew1VCuw==", "requires": { "@lit/reactive-element": "^2.0.0", "lit-element": "^4.0.0", @@ -22489,9 +22455,9 @@ } }, "lit-element": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-4.0.2.tgz", - "integrity": "sha512-/W6WQZUa5VEXwC7H9tbtDMdSs9aWil3Ou8hU6z2cOKWbsm/tXPAcsoaHVEtrDo0zcOIE5GF6QgU55tlGL2Nihg==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-4.0.3.tgz", + "integrity": "sha512-2vhidmC7gGLfnVx41P8UZpzyS0Fb8wYhS5RCm16cMW3oERO0Khd3EsKwtRpOnttuByI5rURjT2dfoA7NlInCNw==", "requires": { "@lit-labs/ssr-dom-shim": "^1.1.2", "@lit/reactive-element": "^2.0.0", @@ -22499,9 +22465,9 @@ } }, "lit-html": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.1.0.tgz", - "integrity": "sha512-FwAjq3iNsaO6SOZXEIpeROlJLUlrbyMkn4iuv4f4u1H40Jw8wkeR/OUXZUHUoiYabGk8Y4Y0F/rgq+R4MrOLmA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.1.1.tgz", + "integrity": "sha512-x/EwfGk2D/f4odSFM40hcGumzqoKv0/SUh6fBO+1Ragez81APrcAMPo1jIrCDd9Sn+Z4CT867HWKViByvkDZUA==", "requires": { "@types/trusted-types": "^2.0.2" } @@ -22730,8 +22696,7 @@ } }, "@open-wc/dedupe-mixin": { - "version": "1.3.1", - "dev": true + "version": "1.3.1" }, "@open-wc/eslint-config": { "version": "10.0.0", @@ -22782,7 +22747,6 @@ }, "@open-wc/scoped-elements": { "version": "2.1.4", - "dev": true, "requires": { "@lit/reactive-element": "^1.0.0", "@open-wc/dedupe-mixin": "^1.3.0" @@ -24504,10 +24468,20 @@ "version": "1.0.0", "dev": true }, + "autosize": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/autosize/-/autosize-6.0.1.tgz", + "integrity": "sha512-f86EjiUKE6Xvczc4ioP1JBlWG7FKrE13qe/DxBCpe8GCipCq2nFw73aO8QEBKHfSbYGDN5eB9jXWKen7tspDqQ==" + }, "available-typed-arrays": { "version": "1.0.5", "dev": true }, + "awesome-phonenumber": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/awesome-phonenumber/-/awesome-phonenumber-6.4.0.tgz", + "integrity": "sha512-GRtyAHsD/usULDEZ8a5QQVZnvLm+WqP8q5sDPf3DkzEDGSr2DcvygGhuhWc6cTP4r28cSo0weM5eStwxJgxDoA==" + }, "axe-core": { "version": "4.5.2", "dev": true @@ -27258,6 +27232,11 @@ "version": "6.0.0", "dev": true }, + "ibantools": { + "version": "4.3.9", + "resolved": "https://registry.npmjs.org/ibantools/-/ibantools-4.3.9.tgz", + "integrity": "sha512-PxQuxv1vq1CgOtfBZIMThZBZEi/hFMmPiAzq4QPx2rmbrUVF/p4dFqvk9e9Z+hVXZxUmdW1cgJh21lpt1UYZzg==" + }, "iconv-lite": { "version": "0.4.24", "requires": { diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 8e81d09bdd..cde9a15432 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -4,7 +4,7 @@ ### Minor Changes -- 2ef12dd1: Update to lit 3 +- 83658742: Update to lit version 3 ## 0.5.2 diff --git a/packages/ui/components/validate-messages/translations/fr.js b/packages/ui/components/validate-messages/translations/fr.js index 0c0e8b5115..451c475f5f 100644 --- a/packages/ui/components/validate-messages/translations/fr.js +++ b/packages/ui/components/validate-messages/translations/fr.js @@ -13,8 +13,8 @@ export default { MaxNumber: 'Veuillez indiquer un(e) {fieldName} inférieur(e) à {params}.', MinMaxNumber: 'Veuillez indiquer un(e) {fieldName} entre {params.min} et {params.max}.', IsDate: ' Veuillez entrer la date (JJ-MM-AAAA).', - MinDate: 'Veuillez indiquer un(e) {fieldName} après {params.min, date, YYYYMMDD}.', - MaxDate: 'Veuillez indiquer un(e) {fieldName} avant {params.max, date, YYYYMMDD}.', + MinDate: 'Veuillez indiquer un(e) {fieldName} après {params, date, YYYYMMDD}.', + MaxDate: 'Veuillez indiquer un(e) {fieldName} avant {params, date, YYYYMMDD}.', MinMaxDate: 'Veuillez indiquer un(e) {fieldName} entre {params.min, date, YYYYMMDD} et {params.max, date, YYYYMMDD}.', IsDateDisabled: "Cette date n'est pas disponible, veuillez en choisir une autre.", diff --git a/packages/ui/package.json b/packages/ui/package.json index 6daf339297..aeba2ac81c 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -63,10 +63,10 @@ "@open-wc/dedupe-mixin": "^1.4.0", "@open-wc/scoped-elements": "^2.1.4", "@popperjs/core": "^2.11.8", - "autosize": "6.0.1", - "awesome-phonenumber": "^6.2.0", - "ibantools": "^4.3.8", - "lit": "^3.1.0", + "autosize": "^6.0.1", + "awesome-phonenumber": "^6.4.0", + "ibantools": "^4.3.9", + "lit": "^3.1.1", "singleton-manager": "^1.7.0" }, "keywords": [