From 4dd3e6ef0d5e1cd1c811c18cbceed11117d666b3 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Thu, 15 Sep 2022 10:28:51 +0200 Subject: [PATCH] =?UTF-8?q?Met=20=C3=A0=20jour=20la=20derni=C3=A8re=20vers?= =?UTF-8?q?ion=20de=20publicodes=20beta.51?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/package.json | 4 +- exoneration-covid/package.json | 2 +- modele-social/package.json | 4 +- package.json | 4 +- site/package.json | 4 +- site/source/design-system/accordion/index.tsx | 1 + yarn.lock | 50 ++++++++++++------- 7 files changed, 40 insertions(+), 29 deletions(-) diff --git a/api/package.json b/api/package.json index ca49b3311..d16bbfdeb 100644 --- a/api/package.json +++ b/api/package.json @@ -30,7 +30,7 @@ "@apidevtools/swagger-cli": "^4.0.4", "@koa/cors": "^3.3.0", "@koa/router": "^10.1.1", - "@publicodes/api": "^1.0.0-beta.49", + "@publicodes/api": "^1.0.0-beta.52", "@sentry/node": "^7.1.1", "@sentry/tracing": "^7.1.1", "ioredis": "^5.2.3", @@ -39,7 +39,7 @@ "koa-static": "^5.0.0", "modele-social": "workspace:^", "nodemon": "^2.0.16", - "publicodes": "^1.0.0-beta.49", + "publicodes": "^1.0.0-beta.52", "rate-limiter-flexible": "^2.3.8", "swagger-ui-dist": "^4.11.1" }, diff --git a/exoneration-covid/package.json b/exoneration-covid/package.json index f6066dafb..abed23832 100644 --- a/exoneration-covid/package.json +++ b/exoneration-covid/package.json @@ -22,7 +22,7 @@ "publicodes": "=1.0.0-beta.49" }, "peerDependencies": { - "publicodes": "^1.0.0-beta.49" + "publicodes": "^1.0.0-beta.52" }, "scripts": { "build": "node ../scripts/build-rules.js", diff --git a/modele-social/package.json b/modele-social/package.json index e07075e2a..68c70173f 100644 --- a/modele-social/package.json +++ b/modele-social/package.json @@ -21,10 +21,10 @@ "devDependencies": { "js-yaml": "^4.1.0", "onchange": "^7.1.0", - "publicodes": "^1.0.0-beta.49" + "publicodes": "^1.0.0-beta.52" }, "peerDependencies": { - "publicodes": "^1.0.0-beta.49" + "publicodes": "^1.0.0-beta.52" }, "scripts": { "build": "node ../scripts/build-rules.js", diff --git a/package.json b/package.json index 9c7722270..539273349 100644 --- a/package.json +++ b/package.json @@ -32,9 +32,7 @@ "i18n:translate": "yarn workspace site i18n:translate" }, "resolutions": { - "@types/download/@types/got": "8.3.1", - "publicodes": "betagouv/publicodes#head=refacto-documentation-for-dev&workspace=publicodes&v2", - "publicodes-react": "betagouv/publicodes#head=refacto-documentation-for-dev&workspace=publicodes-react&v2" + "@types/download/@types/got": "8.3.1" }, "//": "@types/got:^9 is a hack to do a conflict with @types/download/@types/got and fix type error in download package https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/58929", "devDependencies": { diff --git a/site/package.json b/site/package.json index 7c6719be2..640de7ba4 100644 --- a/site/package.json +++ b/site/package.json @@ -79,8 +79,8 @@ "isbot": "^3.5.0", "markdown-to-jsx": "^7.1.7", "modele-social": "workspace:^", - "publicodes": "^1.0.0-beta.49", - "publicodes-react": "^1.0.0-beta.49", + "publicodes": "^1.0.0-beta.52", + "publicodes-react": "^1.0.0-beta.52", "react": "^17.0.0", "react-colorful": "^5.5.1", "react-dom": "^17.0.0", diff --git a/site/source/design-system/accordion/index.tsx b/site/source/design-system/accordion/index.tsx index 627b9fbf5..7d731e9f8 100644 --- a/site/source/design-system/accordion/index.tsx +++ b/site/source/design-system/accordion/index.tsx @@ -25,6 +25,7 @@ export const Accordion = (props: AriaAccordionProps) => { const StyledAccordionGroup = styled.div` overflow: hidden; + max-width: 100%; ${({ theme }) => css` border-radius: ${theme.box.borderRadius}; diff --git a/yarn.lock b/yarn.lock index b7dbd22d8..aba0451a5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4707,9 +4707,9 @@ __metadata: languageName: node linkType: hard -"@publicodes/api@npm:^1.0.0-beta.49": - version: 1.0.0-beta.49 - resolution: "@publicodes/api@npm:1.0.0-beta.49" +"@publicodes/api@npm:^1.0.0-beta.52": + version: 1.0.0-beta.52 + resolution: "@publicodes/api@npm:1.0.0-beta.52" dependencies: "@koa/cors": ^3.3.0 "@koa/router": ^10.1.1 @@ -4718,7 +4718,7 @@ __metadata: openapi-validator-middleware: ^3.2.6 peerDependencies: publicodes: ^1.0.0-beta.47 - checksum: 6568025f2e9b75b5040c23fa4c9a5a8d99b7352489b42f2ca5837823421674fdfdd514734ae607d691cdf72365b440afc8f6e88bb4fe4a28b36c3b49326db75b + checksum: d8c5526c2ecb859ddaba33e56c1aa8590d20989fb1c17d31bccd53a16edceb8f57c296855b6b73990fb77d745aed7adb771f5df4d35b54b333c8d2a312a41ae4 languageName: node linkType: hard @@ -9997,7 +9997,7 @@ __metadata: "@apidevtools/swagger-cli": ^4.0.4 "@koa/cors": ^3.3.0 "@koa/router": ^10.1.1 - "@publicodes/api": ^1.0.0-beta.49 + "@publicodes/api": ^1.0.0-beta.52 "@sentry/node": ^7.1.1 "@sentry/tracing": ^7.1.1 "@types/koa": ^2.13.4 @@ -10013,7 +10013,7 @@ __metadata: koa-static: ^5.0.0 modele-social: "workspace:^" nodemon: ^2.0.16 - publicodes: ^1.0.0-beta.49 + publicodes: ^1.0.0-beta.52 rate-limiter-flexible: ^2.3.8 rimraf: ^3.0.2 swagger-ui-dist: ^4.11.1 @@ -15396,7 +15396,7 @@ __metadata: onchange: ^7.1.0 publicodes: =1.0.0-beta.49 peerDependencies: - publicodes: ^1.0.0-beta.49 + publicodes: ^1.0.0-beta.52 languageName: unknown linkType: soft @@ -20950,9 +20950,9 @@ __metadata: dependencies: js-yaml: ^4.1.0 onchange: ^7.1.0 - publicodes: ^1.0.0-beta.49 + publicodes: ^1.0.0-beta.52 peerDependencies: - publicodes: ^1.0.0-beta.49 + publicodes: ^1.0.0-beta.52 languageName: unknown linkType: soft @@ -23319,28 +23319,40 @@ __metadata: languageName: node linkType: hard -"publicodes-react@betagouv/publicodes#head=refacto-documentation-for-dev&workspace=publicodes-react&v2": - version: 1.0.0-beta.48 - resolution: "publicodes-react@https://github.com/betagouv/publicodes.git#workspace=publicodes-react&v2=&commit=56a15375214a02c8e103598fb5d8dc1a97c81393" +"publicodes-react@npm:^1.0.0-beta.52": + version: 1.0.0-beta.52 + resolution: "publicodes-react@npm:1.0.0-beta.52" dependencies: styled-components: ^5.1.0 peerDependencies: publicodes: 1.0.0-beta.40 react: ^17 || ^18 react-dom: ^17 || ^18 - checksum: 1249b75c6dc7ddb2d9508a960a600269da72323bd8cbdde651ab7ea028e65e557288379b3be1e39ddb359ed112d53ffe449855916f931fb3503f065a87d9ef8f + checksum: 9dc99dfb7deaffa95dc1114f80394605f4a7e589950e7ce0a715bad486eca2536fd38a30bd3a55b38eb5c6ee128126d1ca7814858b2e95e6efdb20f9919b66c5 languageName: node linkType: hard -"publicodes@betagouv/publicodes#head=refacto-documentation-for-dev&workspace=publicodes&v2": - version: 1.0.0-beta.48 - resolution: "publicodes@https://github.com/betagouv/publicodes.git#workspace=publicodes&v2=&commit=56a15375214a02c8e103598fb5d8dc1a97c81393" +"publicodes@npm:=1.0.0-beta.49": + version: 1.0.0-beta.49 + resolution: "publicodes@npm:1.0.0-beta.49" dependencies: moo: ^0.5.1 nearley: ^2.19.2 peerDependencies: "@types/mocha": ^9.0.0 - checksum: 97d48533e00caed642cee290cd6c3c58f9e8be748e8fff2c492a6e8823b2ae5019ff9cefc61fa16b4ee0bcbe93a8108b4d8b27838e8ce68655b4915105b73d24 + checksum: 8a83106dc82e3332005b320413e33ecbe9b90762d28c054acfba2f57e281e8485b6f6c9c60eb5c5d3707b1216865be44f05428c4e68c5d6ae6042e1acbffc964 + languageName: node + linkType: hard + +"publicodes@npm:^1.0.0-beta.52": + version: 1.0.0-beta.52 + resolution: "publicodes@npm:1.0.0-beta.52" + dependencies: + moo: ^0.5.1 + nearley: ^2.19.2 + peerDependencies: + "@types/mocha": ^9.0.0 + checksum: 0dbb2045dc54d6d24674f0b263d48e863ffee69ba260ed98bd3465b441316de8ca5425ddefd95a95954c59bfc7945a7b5b1a2f76ddd5f464fb544407e4c14f0a languageName: node linkType: hard @@ -25414,8 +25426,8 @@ __metadata: markdown-to-jsx: ^7.1.7 modele-social: "workspace:^" netlify-cli: ^10.6.3 - publicodes: ^1.0.0-beta.49 - publicodes-react: ^1.0.0-beta.49 + publicodes: ^1.0.0-beta.52 + publicodes-react: ^1.0.0-beta.52 react: ^17.0.0 react-colorful: ^5.5.1 react-dom: ^17.0.0