From d621bb5cefd6431a23ed1c5f48ef7bc9b50b3994 Mon Sep 17 00:00:00 2001 From: Tony Cabaye Date: Tue, 26 Mar 2024 09:48:02 +0100 Subject: [PATCH 1/4] docs: fix and update (#162) --- .storybook/preview.tsx | 1 + README.md | 12 +- package-lock.json | 769 ++++++------------ package.json | 1 + packages/react-front-kit-dates/README.md | 19 +- packages/react-front-kit-dates/package.json | 1 - packages/react-front-kit-dates/vite.config.js | 1 - packages/react-front-kit-dropzone/README.md | 19 +- .../react-front-kit-dropzone/package.json | 1 - .../react-front-kit-dropzone/vite.config.js | 1 - packages/react-front-kit-shared/README.md | 15 +- packages/react-front-kit-shared/package.json | 1 - .../react-front-kit-shared/vite.config.js | 1 - packages/react-front-kit-table/README.md | 20 +- packages/react-front-kit-table/package.json | 1 - packages/react-front-kit-table/vite.config.js | 1 - packages/react-front-kit/README.md | 18 +- packages/react-front-kit/package.json | 1 - .../src/Components/ActionBar/ActionBar.tsx | 1 - .../ActionRowOverflow/ActionRowOverflow.tsx | 1 - packages/react-front-kit/vite.config.js | 1 - packages/storybook-pages/package.json | 1 - packages/storybook-pages/vite.config.js | 1 - turbo.json | 1 + 24 files changed, 349 insertions(+), 540 deletions(-) diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index 1a99611e..dceb3865 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -9,6 +9,7 @@ import '@mantine/carousel/styles.css'; import { themes } from '@smile/react-front-kit-shared'; import '@smile/react-front-kit-shared/style.css'; import '@smile/react-front-kit/style.css'; +import '@smile/react-front-kit-dates/style.css'; import '@smile/react-front-kit-dropzone/style.css'; import '@smile/react-front-kit-table/style.css'; diff --git a/README.md b/README.md index f52ea19b..848f4f6e 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ React Front Kit is a component library based on [Mantine](https://mantine.dev/) that offers a higher level of components to help you build consistent user interfaces faster. +## Documentation + +You can access the documentation here: https://smile-sa.github.io/react-front-kit-doc + ## Storybook You can check the components in Storybook: https://smile-sa.github.io/react-front-kit @@ -11,15 +15,17 @@ You can check the components in Storybook: https://smile-sa.github.io/react-fron React front kit is split into multiple packages: - [@smile/react-front-kit-shared](./packages/react-front-kit-shared/README.md): Shared components (required by other packages) -- [@smile/react-front-kit](./packages/react-front-kit/README.md): Base components -- [@smile/react-front-kit-table](./packages/react-front-table/README.md): Table component +- [@smile/react-front-kit](./packages/react-front-kit/README.md): Core components library containing all major components. +- [@smile/react-front-kit-dates](./packages/react-front-kit-dates/README.md): Date related components. +- [@smile/react-front-kit-dropzone](./packages/react-front-kit-dropzone/README.md): File upload components. +- [@smile/react-front-kit-table](./packages/react-front-table/README.md): Table related components. ### Installation For a basic installation, ensure you use React 18 or later and then run: ```bash -npm i @smile/react-front-kit @emotion/react @mantine/core @mantine/hooks @mantine/styles @phosphor-icons/react +npm i @smile/react-front-kit @mantine/core @mantine/hooks @phosphor-icons/react ``` See each package README file for installation. diff --git a/package-lock.json b/package-lock.json index 6903733b..5b2215e4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,6 +56,7 @@ } }, "apps/next": { + "name": "next-app", "version": "0.0.0", "dependencies": { "@mantine/core": "^7.6.2", @@ -133,6 +134,7 @@ "version": "7.24.2", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.2.tgz", "integrity": "sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==", + "devOptional": true, "dependencies": { "@babel/highlight": "^7.24.2", "picocolors": "^1.0.0" @@ -151,13 +153,13 @@ } }, "node_modules/@babel/core": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.1.tgz", - "integrity": "sha512-F82udohVyIgGAY2VVj/g34TpFUG606rumIHjTfVbssPg2zTR7PuuEpZcX8JA6sgBfIYmJrFtWgPvHQuJamVqZQ==", + "version": "7.24.3", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.3.tgz", + "integrity": "sha512-5FcvN1JHw2sHJChotgx8Ek0lyuh4kCKelgMTTqhYJJtloNvUfpAFMeNQUtdlIaktwrSV9LtCdqwk48wL2wBacQ==", "devOptional": true, "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.24.1", + "@babel/code-frame": "^7.24.2", "@babel/generator": "^7.24.1", "@babel/helper-compilation-targets": "^7.23.6", "@babel/helper-module-transforms": "^7.23.3", @@ -338,9 +340,10 @@ } }, "node_modules/@babel/helper-module-imports": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.1.tgz", - "integrity": "sha512-HfEWzysMyOa7xI5uQHc/OcZf67/jc+xe/RZlznWQHhbb8Pg1SkRdbK4yEi61aY8wxQA7PkSfoojtLQP/Kpe3og==", + "version": "7.24.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.3.tgz", + "integrity": "sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg==", + "devOptional": true, "dependencies": { "@babel/types": "^7.24.0" }, @@ -462,6 +465,7 @@ "version": "7.24.1", "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz", "integrity": "sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ==", + "devOptional": true, "engines": { "node": ">=6.9.0" } @@ -470,6 +474,7 @@ "version": "7.22.20", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "devOptional": true, "engines": { "node": ">=6.9.0" } @@ -515,6 +520,7 @@ "version": "7.24.2", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.2.tgz", "integrity": "sha512-Yac1ao4flkTxTteCDZLEvdxg2fZfz1v8M4QpaGypq/WPDqg3ijHYbDfs+LG5hvzSoqaSZ9/Z9lKSP3CjZjv+pA==", + "devOptional": true, "dependencies": { "@babel/helper-validator-identifier": "^7.22.20", "chalk": "^2.4.2", @@ -957,9 +963,9 @@ } }, "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.24.1.tgz", - "integrity": "sha512-OTkLJM0OtmzcpOgF7MREERUCdCnCBtBsq3vVFbuq/RKMK0/jdYqdMexWi3zNs7Nzd95ase65MbTGrpFJflOb6A==", + "version": "7.24.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.24.3.tgz", + "integrity": "sha512-Qe26CMYVjpQxJ8zxM1340JFNjZaF+ISWpr1Kt/jGo+ZTUzKkfw/pphEWbRCb+lmSM6k/TOgfYLvmbHkUQ0asIg==", "dev": true, "dependencies": { "@babel/helper-environment-visitor": "^7.22.20", @@ -1842,9 +1848,9 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.24.1.tgz", - "integrity": "sha512-CwCMz1Z28UHLI2iE+cbnWT2epPMV9bzzoBGM6A3mOS22VQd/1TPoWItV7S7iL9TkPmPEf5L/QzurmztyyDN9FA==", + "version": "7.24.3", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.24.3.tgz", + "integrity": "sha512-fSk430k5c2ff8536JcPvPWK4tZDwehWLGlBp0wrsBUjZVdeQV6lePbwKWZaZfK2vnh/1kQX1PzAJWsnBmVgGJA==", "dev": true, "dependencies": { "@babel/compat-data": "^7.24.1", @@ -1874,7 +1880,7 @@ "@babel/plugin-syntax-top-level-await": "^7.14.5", "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", "@babel/plugin-transform-arrow-functions": "^7.24.1", - "@babel/plugin-transform-async-generator-functions": "^7.24.1", + "@babel/plugin-transform-async-generator-functions": "^7.24.3", "@babel/plugin-transform-async-to-generator": "^7.24.1", "@babel/plugin-transform-block-scoped-functions": "^7.24.1", "@babel/plugin-transform-block-scoping": "^7.24.1", @@ -1923,7 +1929,7 @@ "@babel/plugin-transform-unicode-sets-regex": "^7.24.1", "@babel/preset-modules": "0.1.6-no-external-plugins", "babel-plugin-polyfill-corejs2": "^0.4.10", - "babel-plugin-polyfill-corejs3": "^0.10.1", + "babel-plugin-polyfill-corejs3": "^0.10.4", "babel-plugin-polyfill-regenerator": "^0.6.1", "core-js-compat": "^3.31.0", "semver": "^6.3.1" @@ -2118,15 +2124,6 @@ "semver": "bin/semver" } }, - "node_modules/@babel/register/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/@babel/register/node_modules/source-map-support": { "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", @@ -2206,6 +2203,7 @@ "version": "7.24.0", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.0.tgz", "integrity": "sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==", + "devOptional": true, "dependencies": { "@babel/helper-string-parser": "^7.23.4", "@babel/helper-validator-identifier": "^7.22.20", @@ -3220,125 +3218,15 @@ "node": ">=10.0.0" } }, - "node_modules/@emotion/babel-plugin": { - "version": "11.11.0", - "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.11.0.tgz", - "integrity": "sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==", - "peer": true, - "dependencies": { - "@babel/helper-module-imports": "^7.16.7", - "@babel/runtime": "^7.18.3", - "@emotion/hash": "^0.9.1", - "@emotion/memoize": "^0.8.1", - "@emotion/serialize": "^1.1.2", - "babel-plugin-macros": "^3.1.0", - "convert-source-map": "^1.5.0", - "escape-string-regexp": "^4.0.0", - "find-root": "^1.1.0", - "source-map": "^0.5.7", - "stylis": "4.2.0" - } - }, - "node_modules/@emotion/babel-plugin/node_modules/convert-source-map": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", - "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", - "peer": true - }, - "node_modules/@emotion/cache": { - "version": "11.11.0", - "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.11.0.tgz", - "integrity": "sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ==", - "peer": true, - "dependencies": { - "@emotion/memoize": "^0.8.1", - "@emotion/sheet": "^1.2.2", - "@emotion/utils": "^1.2.1", - "@emotion/weak-memoize": "^0.3.1", - "stylis": "4.2.0" - } - }, - "node_modules/@emotion/hash": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.1.tgz", - "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ==", - "peer": true - }, - "node_modules/@emotion/memoize": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz", - "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==", - "peer": true - }, - "node_modules/@emotion/react": { - "version": "11.11.4", - "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.11.4.tgz", - "integrity": "sha512-t8AjMlF0gHpvvxk5mAtCqR4vmxiGHCeJBaQO6gncUSdklELOgtwjerNY2yuJNfwnc6vi16U/+uMF+afIawJ9iw==", - "peer": true, - "dependencies": { - "@babel/runtime": "^7.18.3", - "@emotion/babel-plugin": "^11.11.0", - "@emotion/cache": "^11.11.0", - "@emotion/serialize": "^1.1.3", - "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", - "@emotion/utils": "^1.2.1", - "@emotion/weak-memoize": "^0.3.1", - "hoist-non-react-statics": "^3.3.1" - }, - "peerDependencies": { - "react": ">=16.8.0" - }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } - } - }, - "node_modules/@emotion/serialize": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.3.tgz", - "integrity": "sha512-iD4D6QVZFDhcbH0RAG1uVu1CwVLMWUkCvAqqlewO/rxf8+87yIBAlt4+AxMiiKPLs5hFc0owNk/sLLAOROw3cA==", - "peer": true, - "dependencies": { - "@emotion/hash": "^0.9.1", - "@emotion/memoize": "^0.8.1", - "@emotion/unitless": "^0.8.1", - "@emotion/utils": "^1.2.1", - "csstype": "^3.0.2" - } - }, - "node_modules/@emotion/sheet": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.2.tgz", - "integrity": "sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==", - "peer": true - }, - "node_modules/@emotion/unitless": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz", - "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==", - "peer": true - }, "node_modules/@emotion/use-insertion-effect-with-fallbacks": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.1.tgz", "integrity": "sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==", + "dev": true, "peerDependencies": { "react": ">=16.8.0" } }, - "node_modules/@emotion/utils": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.1.tgz", - "integrity": "sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==", - "peer": true - }, - "node_modules/@emotion/weak-memoize": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz", - "integrity": "sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==", - "peer": true - }, "node_modules/@esbuild/aix-ppc64": { "version": "0.20.2", "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.20.2.tgz", @@ -6210,15 +6098,6 @@ "node": ">=10" } }, - "node_modules/@microsoft/api-extractor/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/@microsoft/api-extractor/node_modules/typescript": { "version": "5.3.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", @@ -11022,9 +10901,9 @@ "dev": true }, "node_modules/@tsconfig/node10": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", - "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.10.tgz", + "integrity": "sha512-PiaIWIoPvO6qm6t114ropMCagj6YAF24j9OkCA2mJDXFnlionEwhsBCJ8yek4aib575BI3OkART/90WsgHgLWw==", "dev": true }, "node_modules/@tsconfig/node12": { @@ -11046,12 +10925,12 @@ "dev": true }, "node_modules/@turbo/gen": { - "version": "1.12.5", - "resolved": "https://registry.npmjs.org/@turbo/gen/-/gen-1.12.5.tgz", - "integrity": "sha512-sEF/iryAcWYqONXcrAyWREUVPA4eba22hxU1yx4b9+Rs9SUNFkM54cDaXEAtzbh/iji428aQpnuxi+SUT7m9zw==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@turbo/gen/-/gen-1.13.0.tgz", + "integrity": "sha512-AxIrDubYDLdYBNZC/t3Gn0B7v+zhlM3V7VoMhopKrMWSL0YsjpW/OcDThmV+WglVlkPLmk95ncvXvgfn5RrsBw==", "dev": true, "dependencies": { - "@turbo/workspaces": "1.12.5", + "@turbo/workspaces": "1.13.0", "chalk": "2.4.2", "commander": "^10.0.0", "fs-extra": "^10.1.0", @@ -11112,9 +10991,9 @@ } }, "node_modules/@turbo/workspaces": { - "version": "1.12.5", - "resolved": "https://registry.npmjs.org/@turbo/workspaces/-/workspaces-1.12.5.tgz", - "integrity": "sha512-UksAe6nxryEZoUr5IMUzt9bwsZLxccUnT469fI3OE5Xbd5fbInzLKIZ3ZuzFvXR4N7ezr2HCvkUItmgwe7k1HA==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@turbo/workspaces/-/workspaces-1.13.0.tgz", + "integrity": "sha512-0wA1KeHK3OCsKISZziga9YopWROO+aFgSgIbUd3HUn9YG7OK6JPwTgrlxA1LwhjqiovggbKbYRnqW0PmE+3qBA==", "dev": true, "dependencies": { "chalk": "2.4.2", @@ -11596,9 +11475,9 @@ "dev": true }, "node_modules/@types/mdx": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.11.tgz", - "integrity": "sha512-HM5bwOaIQJIQbAYfax35HCKxx7a3KrK3nBtIqJgSOitivTD1y3oW9P3rxY9RkXYPUk7y/AjAohfHKmFpGE79zw==", + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.12.tgz", + "integrity": "sha512-H9VZ9YqE+H28FQVchC83RCs5xQ2J7mAAv6qdDEaWmXEVl3OpdH+xfrSUzQ1lp7U7oSTRZ0RvW08ASPJsYBi7Cw==", "dev": true }, "node_modules/@types/mime": { @@ -11647,12 +11526,6 @@ "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", "dev": true }, - "node_modules/@types/parse-json": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz", - "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==", - "peer": true - }, "node_modules/@types/postcss-modules-local-by-default": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@types/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.2.tgz", @@ -11684,15 +11557,15 @@ "dev": true }, "node_modules/@types/prop-types": { - "version": "15.7.11", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz", - "integrity": "sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==", + "version": "15.7.12", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", + "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==", "devOptional": true }, "node_modules/@types/qs": { - "version": "6.9.13", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.13.tgz", - "integrity": "sha512-iLR+1vTTJ3p0QaOUq6ACbY1mzKTODFDT/XedZI8BksOotFmL4ForwDfRQ/DZeuTHR7/2i4lI1D203gdfxuqTlA==", + "version": "6.9.14", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.14.tgz", + "integrity": "sha512-5khscbd3SwWMhFqylJBLQ0zIu7c1K6Vz0uBIt915BI3zV0q1nfjRQD3RqSBcPaO6PHEF4ov/t9y89fSiyThlPA==", "dev": true }, "node_modules/@types/range-parser": { @@ -11702,9 +11575,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.67", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.67.tgz", - "integrity": "sha512-vkIE2vTIMHQ/xL0rgmuoECBCkZFZeHr49HeWSc24AptMbNRo7pwSBvj73rlJJs9fGKj0koS+V7kQB1jHS0uCgw==", + "version": "18.2.70", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.70.tgz", + "integrity": "sha512-hjlM2hho2vqklPhopNkXkdkeq6Lv8WSZTpr7956zY+3WS5cfYUewtCzsJLsbW5dEv3lfSeQ4W14ZFeKC437JRQ==", "devOptional": true, "dependencies": { "@types/prop-types": "*", @@ -12460,6 +12333,7 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "devOptional": true, "dependencies": { "color-convert": "^1.9.0" }, @@ -12471,6 +12345,7 @@ "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "devOptional": true, "dependencies": { "color-name": "1.1.3" } @@ -12478,7 +12353,8 @@ "node_modules/ansi-styles/node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "devOptional": true }, "node_modules/anymatch": { "version": "3.1.3", @@ -12533,9 +12409,9 @@ } }, "node_modules/aria-hidden": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.3.tgz", - "integrity": "sha512-xcLxITLe2HYa1cnYnwCjkOO1PqUHQpozB8x9AR0OgWN2woOBi5kSDVxKfd0b7sb1hw5qFeJhXm9H1nu3xSfLeQ==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.4.tgz", + "integrity": "sha512-y+CcFFwelSXpLZk/7fMB2mUbGtX9lKycf1MWJ7CaTIERyitVlyQx6C+sxcROU2BAJ24OiZyK+8wj2i8AlBoS3A==", "dev": true, "dependencies": { "tslib": "^2.0.0" @@ -12581,14 +12457,15 @@ "dev": true }, "node_modules/array-includes": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.7.tgz", - "integrity": "sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz", + "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "get-intrinsic": "^1.2.1", + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.4", "is-string": "^1.0.7" }, "engines": { @@ -12924,46 +12801,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/babel-plugin-macros": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz", - "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==", - "peer": true, - "dependencies": { - "@babel/runtime": "^7.12.5", - "cosmiconfig": "^7.0.0", - "resolve": "^1.19.0" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - } - }, - "node_modules/babel-plugin-macros/node_modules/cosmiconfig": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", - "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", - "peer": true, - "dependencies": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.2.1", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/babel-plugin-macros/node_modules/yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", - "peer": true, - "engines": { - "node": ">= 6" - } - }, "node_modules/babel-plugin-polyfill-corejs2": { "version": "0.4.10", "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.10.tgz", @@ -12979,13 +12816,13 @@ } }, "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.1.tgz", - "integrity": "sha512-XiFei6VGwM4ii6nKC1VCenGD8Z4bjiNYcrdkM8oqM3pbuemmyb8biMgrDX1ZHSbIuMLXatM6JJ/StPYIuTl6MQ==", + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.4.tgz", + "integrity": "sha512-25J6I8NGfa5YkCDogHRID3fVCadIR8/pGl1/spvCkzb6lVn6SR3ojpx9nOn9iEBcUsjY24AmdKm5khcfKdylcg==", "dev": true, "dependencies": { "@babel/helper-define-polyfill-provider": "^0.6.1", - "core-js-compat": "^3.36.0" + "core-js-compat": "^3.36.1" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" @@ -13618,9 +13455,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001599", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001599.tgz", - "integrity": "sha512-LRAQHZ4yT1+f9LemSMeqdMpMxZcc4RMWdj4tiFe3G8tNkWK+E58g+/tzotb5cU6TbcVJLr4fySiAW7XmxQvZQA==", + "version": "1.0.30001600", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001600.tgz", + "integrity": "sha512-+2S9/2JFhYmYaDpZvo0lKkfvuKIglrx68MwOBqMGHhQsNkLjB5xtc/TGoEPs+MxjSyN/72qer2g97nzR641mOQ==", "funding": [ { "type": "opencollective", @@ -13640,6 +13477,7 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "devOptional": true, "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -13649,14 +13487,6 @@ "node": ">=4" } }, - "node_modules/chalk/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/change-case": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/change-case/-/change-case-3.1.0.tgz", @@ -13807,9 +13637,9 @@ } }, "node_modules/cli-table3": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.3.tgz", - "integrity": "sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==", + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.4.tgz", + "integrity": "sha512-Lm3L0p+/npIQWNIiyF/nAn7T5dnOwR3xNTHXYEBFBFVPXzCVNZ5lqEC/1eo/EVfpDsQ1I+TX4ORPQgp+UI0CRw==", "dev": true, "dependencies": { "string-width": "^4.2.0" @@ -14485,9 +14315,9 @@ "devOptional": true }, "node_modules/cookie": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", - "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", "dev": true, "engines": { "node": ">= 0.6" @@ -15683,9 +15513,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.711", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.711.tgz", - "integrity": "sha512-hRg81qzvUEibX2lDxnFlVCHACa+LtrCPIsWAxo161LDYIB3jauf57RGsMZV9mvGwE98yGH06icj3zBEoOkxd/w==", + "version": "1.4.715", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.715.tgz", + "integrity": "sha512-XzWNH4ZSa9BwVUQSDorPWAUQ5WGuYz7zJUNpNif40zFCiCl20t8zgylmreNmn26h5kiyw2lg7RfTmeMBsDklqg==", "devOptional": true }, "node_modules/embla-carousel": { @@ -15813,6 +15643,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "devOptional": true, "dependencies": { "is-arrayish": "^0.2.1" } @@ -16070,14 +15901,12 @@ "dev": true }, "node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "devOptional": true, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.8.0" } }, "node_modules/escodegen": { @@ -16101,16 +15930,6 @@ "source-map": "~0.6.1" } }, - "node_modules/escodegen/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/eslint": { "version": "8.57.0", "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", @@ -16206,11 +16025,11 @@ } }, "node_modules/eslint-config-turbo": { - "version": "1.12.5", - "resolved": "https://registry.npmjs.org/eslint-config-turbo/-/eslint-config-turbo-1.12.5.tgz", - "integrity": "sha512-wXytbX+vTzQ6rwgM6sIr447tjYJBlRj5V/eBFNGNXw5Xs1R715ppPYhbmxaFbkrWNQSGJsWRrYGAlyq0sT/OsQ==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/eslint-config-turbo/-/eslint-config-turbo-1.13.0.tgz", + "integrity": "sha512-xV13WrEjAJLeo6yqR1YEv5R5WPwNMyw8f4FlK2C4zWMr7e8ZiRg81jajltabEOZdeVboHIQ6gGn+FnSmgdVSSQ==", "dependencies": { - "eslint-plugin-turbo": "1.12.5" + "eslint-plugin-turbo": "1.13.0" }, "peerDependencies": { "eslint": ">6.6.0" @@ -17148,9 +16967,9 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/eslint-plugin-turbo": { - "version": "1.12.5", - "resolved": "https://registry.npmjs.org/eslint-plugin-turbo/-/eslint-plugin-turbo-1.12.5.tgz", - "integrity": "sha512-cXy7mCzAdngBTJIWH4DASXHy0vQpujWDBqRTu0YYqCN/QEGsi3HWM+STZEbPYELdjtm5EsN2HshOSSqWnjdRHg==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-turbo/-/eslint-plugin-turbo-1.13.0.tgz", + "integrity": "sha512-y9YRXMSOc43SijAFFkDnrFpstV2k/w6Qmbr5mO/w7tUGzDWkHc87btLa0e/L2PJxod5bzNwsmzeyj8c/AsMMCQ==", "dependencies": { "dotenv": "16.0.3" }, @@ -17250,6 +17069,17 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/eslint/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/eslint/node_modules/globals": { "version": "13.24.0", "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", @@ -17657,9 +17487,9 @@ } }, "node_modules/express": { - "version": "4.18.3", - "resolved": "https://registry.npmjs.org/express/-/express-4.18.3.tgz", - "integrity": "sha512-6VyCijWQ+9O7WuVMTRBTl+cjNNIzD5cY5mQ1WM8r/LEkI2u8EYpOotESNwzNlyCn3g+dmjKYI6BmNneSr/FSRw==", + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", + "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", "dev": true, "dependencies": { "accepts": "~1.3.8", @@ -17667,7 +17497,7 @@ "body-parser": "1.20.2", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.5.0", + "cookie": "0.6.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", @@ -17897,15 +17727,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/figures/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/file-entry-cache": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", @@ -18193,12 +18014,6 @@ "node": ">=8" } }, - "node_modules/find-root": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", - "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", - "peer": true - }, "node_modules/find-up": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", @@ -18683,18 +18498,18 @@ } }, "node_modules/giget": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/giget/-/giget-1.2.1.tgz", - "integrity": "sha512-4VG22mopWtIeHwogGSy1FViXVo0YT+m6BrqZfz0JJFwbSsePsCdOzdLIIli5BtMp7Xe8f/o2OmBpQX2NBOC24g==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/giget/-/giget-1.2.3.tgz", + "integrity": "sha512-8EHPljDvs7qKykr6uw8b+lqLiUc/vUg+KVTI0uND4s63TdsZM2Xus3mflvF0DDG9SiM4RlCkFGL+7aAjRmV7KA==", "dev": true, "dependencies": { - "citty": "^0.1.5", + "citty": "^0.1.6", "consola": "^3.2.3", - "defu": "^6.1.3", - "node-fetch-native": "^1.6.1", - "nypm": "^0.3.3", + "defu": "^6.1.4", + "node-fetch-native": "^1.6.3", + "nypm": "^0.3.8", "ohash": "^1.1.3", - "pathe": "^1.1.1", + "pathe": "^1.1.2", "tar": "^6.2.0" }, "bin": { @@ -19158,15 +18973,6 @@ "uglify-js": "^3.1.4" } }, - "node_modules/handlebars/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/hard-rejection": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", @@ -19188,6 +18994,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "devOptional": true, "engines": { "node": ">=4" } @@ -19294,15 +19101,6 @@ "upper-case": "^1.1.3" } }, - "node_modules/hoist-non-react-statics": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", - "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", - "peer": true, - "dependencies": { - "react-is": "^16.7.0" - } - }, "node_modules/homedir-polyfill": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", @@ -19963,7 +19761,8 @@ "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "devOptional": true }, "node_modules/is-async-function": { "version": "2.0.0", @@ -20674,15 +20473,6 @@ "node": ">=10" } }, - "node_modules/istanbul-lib-source-maps/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "devOptional": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/istanbul-reports": { "version": "3.1.7", "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz", @@ -24417,13 +24207,10 @@ } }, "node_modules/jest-watch-typeahead/node_modules/ansi-escapes": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz", - "integrity": "sha512-kzRaCqXnpzWs+3z5ABPQiVke+iq0KXkHo8xiWV4RPTi5Yli0l97BEQuhXV1s7+aSU/fu1kUuxgS4MsQ0fRuygw==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.1.tgz", + "integrity": "sha512-4nJ3yixlEthEJ9Rk4vPcdBRkZvQZlYyu8j4/Mqz5sgIkddmEnH2Yj2ZrnP9S3tQOvSNRUIgVNF/1yPpRAGNRig==", "dev": true, - "dependencies": { - "type-fest": "^3.0.0" - }, "engines": { "node": ">=14.16" }, @@ -24507,18 +24294,6 @@ "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, - "node_modules/jest-watch-typeahead/node_modules/type-fest": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.13.1.tgz", - "integrity": "sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==", - "dev": true, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/jest-watcher": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz", @@ -24784,15 +24559,6 @@ "node": ">= 4" } }, - "node_modules/jscodeshift/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/jscodeshift/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -24893,7 +24659,8 @@ "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "devOptional": true }, "node_modules/json-schema-traverse": { "version": "1.0.0", @@ -25106,17 +24873,6 @@ "semver": "bin/semver" } }, - "node_modules/less/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "optional": true, - "peer": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -25150,7 +24906,8 @@ "node_modules/lines-and-columns": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "devOptional": true }, "node_modules/lint-staged": { "version": "14.0.1", @@ -25847,9 +25604,9 @@ "dev": true }, "node_modules/markdown-to-jsx": { - "version": "7.4.3", - "resolved": "https://registry.npmjs.org/markdown-to-jsx/-/markdown-to-jsx-7.4.3.tgz", - "integrity": "sha512-qwu2XftKs/SP+f6oCe0ruAFKX6jZaKxrBfDBV4CthqbVbRQwHhNM28QGDQuTldCaOn+hocaqbmGvCuXO5m3smA==", + "version": "7.4.5", + "resolved": "https://registry.npmjs.org/markdown-to-jsx/-/markdown-to-jsx-7.4.5.tgz", + "integrity": "sha512-c8NB0H/ig+FOWssE9be0PKsYbCDhcWEkicxMnpdfUuHbFljnen4LAdgUShOyR/PgO3/qKvt9cwfQ0U/zQvZ44A==", "dev": true, "engines": { "node": ">= 10" @@ -26366,9 +26123,9 @@ } }, "node_modules/node-fetch-native": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/node-fetch-native/-/node-fetch-native-1.6.2.tgz", - "integrity": "sha512-69mtXOFZ6hSkYiXAVB5SqaRvrbITC/NPyqv7yuu/qw0nmgPyYbIMYYNIDhNtwPrzk0ptrimrLz/hhjvm4w5Z+w==", + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/node-fetch-native/-/node-fetch-native-1.6.4.tgz", + "integrity": "sha512-IhOigYzAKHd244OC0JIMIUrjzctirCmPkaIfhDeGcEETWof5zKYUW7e7MYvChGWh/4CJeXEgsRyGzuF334rOOQ==", "dev": true }, "node_modules/node-fetch/node_modules/tr46": { @@ -27101,12 +26858,16 @@ } }, "node_modules/object.hasown": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.3.tgz", - "integrity": "sha512-fFI4VcYpRHvSLXxP7yiZOMAd331cPfd2p7PFDVbgUsYOfCT3tICVqXWngbjr4m49OvsBwUBQ6O2uQoJvy3RexA==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.4.tgz", + "integrity": "sha512-FZ9LZt9/RHzGySlBARE3VF+gE26TxR38SdmqOqliuTnl9wrKulaQs+4dee1V+Io8VfxqzAfHu6YuRgUy8OHoTg==", "dependencies": { - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -27515,6 +27276,7 @@ "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "devOptional": true, "dependencies": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", @@ -27899,9 +27661,9 @@ } }, "node_modules/postcss": { - "version": "8.4.37", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.37.tgz", - "integrity": "sha512-7iB/v/r7Woof0glKLH8b1SPHrsX7uhdO+Geb41QpF/+mWZHU3uxxSlN+UXGVit1PawOYDToO+AbZzhBzWRDwbQ==", + "version": "8.4.38", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", + "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", "dev": true, "funding": [ { @@ -28201,12 +27963,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/pretty-format/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/pretty-hrtime": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz", @@ -28275,6 +28031,11 @@ "react-is": "^16.13.1" } }, + "node_modules/prop-types/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, "node_modules/proxy-addr": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", @@ -28538,9 +28299,9 @@ } }, "node_modules/pure-rand": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.0.4.tgz", - "integrity": "sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz", + "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==", "devOptional": true, "funding": [ { @@ -28792,9 +28553,10 @@ } }, "node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", + "dev": true }, "node_modules/react-number-format": { "version": "5.3.4", @@ -28876,9 +28638,9 @@ } }, "node_modules/react-smooth": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/react-smooth/-/react-smooth-4.0.0.tgz", - "integrity": "sha512-2NMXOBY1uVUQx1jBeENGA497HK20y6CPGYL1ZnJLeoQ8rrc3UfmOM82sRxtzpcoCkUMy4CS0RGylfuVhuFjBgg==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/react-smooth/-/react-smooth-4.0.1.tgz", + "integrity": "sha512-OE4hm7XqR0jNOq3Qmk9mFLyd6p2+j6bvbPJ7qlB7+oo0eNcL2l7WQzG6MBnT3EXY6xzkLMUBec3AfewJdA0J8w==", "dependencies": { "fast-equals": "^5.0.1", "prop-types": "^15.8.1", @@ -29107,15 +28869,6 @@ "node": ">=4" } }, - "node_modules/recast/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/recharts": { "version": "2.12.3", "resolved": "https://registry.npmjs.org/recharts/-/recharts-2.12.3.tgz", @@ -29146,6 +28899,11 @@ "decimal.js-light": "^2.4.1" } }, + "node_modules/recharts/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, "node_modules/redent": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", @@ -30132,10 +29890,10 @@ } }, "node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==", - "peer": true, + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "devOptional": true, "engines": { "node": ">=0.10.0" } @@ -30158,15 +29916,6 @@ "source-map": "^0.6.0" } }, - "node_modules/source-map-support/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "devOptional": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/space-separated-tokens": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz", @@ -30568,13 +30317,16 @@ } }, "node_modules/string.prototype.trimstart": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz", - "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -30667,12 +30419,6 @@ } } }, - "node_modules/stylis": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz", - "integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==", - "peer": true - }, "node_modules/stylus": { "version": "0.62.0", "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.62.0.tgz", @@ -30766,6 +30512,7 @@ "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "devOptional": true, "dependencies": { "has-flag": "^3.0.0" }, @@ -30869,9 +30616,9 @@ } }, "node_modules/tar": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz", - "integrity": "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz", + "integrity": "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==", "dev": true, "dependencies": { "chownr": "^2.0.0", @@ -31256,6 +31003,7 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "devOptional": true, "engines": { "node": ">=4" } @@ -31564,26 +31312,26 @@ } }, "node_modules/turbo": { - "version": "1.12.5", - "resolved": "https://registry.npmjs.org/turbo/-/turbo-1.12.5.tgz", - "integrity": "sha512-FATU5EnhrYG8RvQJYFJnDd18DpccDjyvd53hggw9T9JEg9BhWtIEoeaKtBjYbpXwOVrJQMDdXcIB4f2nD3QPPg==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/turbo/-/turbo-1.13.0.tgz", + "integrity": "sha512-r02GtNmkOPcQvUzVE6lg474QVLyU02r3yh3lUGqrFHf5h5ZEjgDGWILsAUqplVqjri1Y/oOkTssks4CObTAaiw==", "dev": true, "bin": { "turbo": "bin/turbo" }, "optionalDependencies": { - "turbo-darwin-64": "1.12.5", - "turbo-darwin-arm64": "1.12.5", - "turbo-linux-64": "1.12.5", - "turbo-linux-arm64": "1.12.5", - "turbo-windows-64": "1.12.5", - "turbo-windows-arm64": "1.12.5" + "turbo-darwin-64": "1.13.0", + "turbo-darwin-arm64": "1.13.0", + "turbo-linux-64": "1.13.0", + "turbo-linux-arm64": "1.13.0", + "turbo-windows-64": "1.13.0", + "turbo-windows-arm64": "1.13.0" } }, "node_modules/turbo-darwin-64": { - "version": "1.12.5", - "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-1.12.5.tgz", - "integrity": "sha512-0GZ8reftwNQgIQLHkHjHEXTc/Z1NJm+YjsrBP+qhM/7yIZ3TEy9gJhuogDt2U0xIWwFgisTyzbtU7xNaQydtoA==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-1.13.0.tgz", + "integrity": "sha512-ctHeJXtQgBcgxnCXwrJTGiq57HtwF7zWz5NTuSv//5yeU01BtQIt62ArKfjudOhRefWJbX3Z5srn88XTb9hfww==", "cpu": [ "x64" ], @@ -31594,9 +31342,9 @@ ] }, "node_modules/turbo-darwin-arm64": { - "version": "1.12.5", - "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-1.12.5.tgz", - "integrity": "sha512-8WpOLNNzvH6kohQOjihD+gaWL+ZFNfjvBwhOF0rjEzvW+YR3Pa7KjhulrjWyeN2yMFqAPubTbZIGOz1EVXLuQA==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-1.13.0.tgz", + "integrity": "sha512-/Q9/pNFkF9w83tNxwMpgapwLYdQ12p8mpty2YQRoUiS9ClWkcqe136jR0mtuMqzlNlpREOFZaoyIthjt6Sdo0g==", "cpu": [ "arm64" ], @@ -31607,9 +31355,9 @@ ] }, "node_modules/turbo-linux-64": { - "version": "1.12.5", - "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-1.12.5.tgz", - "integrity": "sha512-INit73+bNUpwqGZCxgXCR3I+cQsdkQ3/LkfkgSOibkpg+oGqxJRzeXw3sp990d7SCoE8QOcs3iw+PtiFX/LDAA==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-1.13.0.tgz", + "integrity": "sha512-hgbT7o020BGV4L7Sd8hhFTd5zVKPKxbsr0dPfel/9NkdTmptz2aGZ0Vb2MAa18SY3XaCQpDxmdYuOzvvRpo5ZA==", "cpu": [ "x64" ], @@ -31620,9 +31368,9 @@ ] }, "node_modules/turbo-linux-arm64": { - "version": "1.12.5", - "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-1.12.5.tgz", - "integrity": "sha512-6lkRBvxtI/GQdGtaAec9LvVQUoRw6nXFp0kM+Eu+5PbZqq7yn6cMkgDJLI08zdeui36yXhone8XGI8pHg8bpUQ==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-1.13.0.tgz", + "integrity": "sha512-WK01i2wDZARrV+HEs495A3hNeGMwQR5suYk7G+ceqqW7b+dOTlQdvUjnI3sg7wAnZPgjafFs/hoBaZdJjVa/nw==", "cpu": [ "arm64" ], @@ -31633,9 +31381,9 @@ ] }, "node_modules/turbo-windows-64": { - "version": "1.12.5", - "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-1.12.5.tgz", - "integrity": "sha512-gQYbOhZg5Ww0bQ/bC0w/4W6yQRwBumUUnkB+QPo15VznwxZe2a7bo6JM+9Xy9dKLa/kn+p7zTqme4OEp6M3/Yg==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-1.13.0.tgz", + "integrity": "sha512-hJgSZJZwlWHNwLEthaqJqJWGm4NqF5X/I7vE0sPE4i/jeDl8f0n1hcOkgJkJiNXVxhj+qy/9+4dzbPLKT9imaQ==", "cpu": [ "x64" ], @@ -31646,9 +31394,9 @@ ] }, "node_modules/turbo-windows-arm64": { - "version": "1.12.5", - "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-1.12.5.tgz", - "integrity": "sha512-auvhZ9FrhnvQ4mgBlY9O68MT4dIfprYGvd2uPICba/mHUZZvVy5SGgbHJ0KbMwaJfnnFoPgLJO6M+3N2gDprKw==", + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-1.13.0.tgz", + "integrity": "sha512-L/ErxYoXeq8tmjU/AIGicC9VyBN1zdYw8JlM4yPmMI0pJdY8E4GaYK1IiIazqq7M72lmQhU/WW7fV9FqEktwrw==", "cpu": [ "arm64" ], @@ -31679,9 +31427,9 @@ } }, "node_modules/type-fest": { - "version": "4.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.13.1.tgz", - "integrity": "sha512-ASMgM+Vf2cLwDMt1KXSkMUDSYCxtckDJs8zsaVF/mYteIsiARKCVtyXtcK38mIKbLTctZP8v6GMqdNaeI3fo7g==", + "version": "4.14.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.14.0.tgz", + "integrity": "sha512-on5/Cw89wwqGZQu+yWO0gGMGu8VNxsaW9SB2HE8yJjllEk7IDTwnSN1dUVldYILhYPN5HzD7WAaw2cc/jBfn0Q==", "engines": { "node": ">=16" }, @@ -31753,9 +31501,9 @@ } }, "node_modules/typed-array-length": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.5.tgz", - "integrity": "sha512-yMi0PlwuznKHxKmcpoOdeLwxBoVPkqZxd7q2FgMkmD3bNwvF5VW0+UlUQ1k1vmktTu4Yu13Q0RIxEP8+B+wloA==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", + "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", "dependencies": { "call-bind": "^1.0.7", "for-each": "^0.3.3", @@ -31861,9 +31609,9 @@ } }, "node_modules/ufo": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.5.2.tgz", - "integrity": "sha512-eiutMaL0J2MKdhcOM1tUy13pIrYnyR87fEd8STJQFrrAwImwvlXkxlZEjaKah8r2viPohld08lt73QfLG1NxMg==", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.5.3.tgz", + "integrity": "sha512-Y7HYmWaFwPUmkoQCUIAYpKqkOf+SbVj/2fJJZ4RJMCfZp0rTGwRbzQD+HghfnhKOjL9E01okqz+ncJskGYfBNw==", "dev": true }, "node_modules/uglify-js": { @@ -32136,9 +31884,9 @@ } }, "node_modules/use-callback-ref": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.1.tgz", - "integrity": "sha512-Lg4Vx1XZQauB42Hw3kK7JM6yjVjgFmFC5/Ab797s79aARomD2nEErc4mCgM8EZrARLmmbWpi5DGCadmK50DcAQ==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.2.tgz", + "integrity": "sha512-elOQwe6Q8gqZgDA8mrh44qRTQqpIHDcZ3hXTLjBe1i4ph8XpNJnO+aQf3NaG+lriLopI4HMx9VjQLfPQ6vhnoA==", "dependencies": { "tslib": "^2.0.0" }, @@ -32349,9 +32097,9 @@ } }, "node_modules/vite": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.2.tgz", - "integrity": "sha512-tBCZBNSBbHQkaGyhGCDUGqeo2ph8Fstyp6FMSvTtsXeZSPpSMGlviAOav2hxVTqFcx8Hj/twtWKsMJXNY0xI8w==", + "version": "4.5.3", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.3.tgz", + "integrity": "sha512-kQL23kMeX92v3ph7IauVkXkikdDRsYMGTVl5KY2E9OY4ONLvkHf04MDTbnfo6NKxZiDLWzVpP5oTa8hQD8U3dg==", "dev": true, "peer": true, "dependencies": { @@ -33020,10 +32768,11 @@ } }, "packages/react-front-kit": { - "version": "0.10.0", + "name": "@smile/react-front-kit", + "version": "0.11.0", "license": "LGPL-3.0", "dependencies": { - "@smile/react-front-kit-shared": "0.10.0", + "@smile/react-front-kit-shared": "0.11.0", "pretty-bytes": "^6.1.1" }, "devDependencies": { @@ -33051,7 +32800,6 @@ "node": ">=16" }, "peerDependencies": { - "@emotion/react": ">=11", "@mantine/core": "7", "@mantine/hooks": "7", "@phosphor-icons/react": ">=2", @@ -33060,11 +32808,12 @@ } }, "packages/react-front-kit-dates": { - "version": "0.10.0", + "name": "@smile/react-front-kit-dates", + "version": "0.11.0", "license": "LGPL-3.0", "dependencies": { - "@smile/react-front-kit": "0.10.0", - "@smile/react-front-kit-shared": "0.10.0" + "@smile/react-front-kit": "0.11.0", + "@smile/react-front-kit-shared": "0.11.0" }, "devDependencies": { "@babel/preset-env": "^7.22.20", @@ -33091,7 +32840,6 @@ "node": ">=16" }, "peerDependencies": { - "@emotion/react": ">=11", "@mantine/core": "7", "@mantine/dates": "7", "@mantine/hooks": "7", @@ -33529,9 +33277,9 @@ } }, "packages/react-front-kit-dates/node_modules/vite": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.0.tgz", - "integrity": "sha512-xMSLJNEjNk/3DJRgWlPADDwaU9AgYRodDH2t6oENhJnIlmU9Hx1Q6VpjyXua/JdMw1WJRbnAgHJ9xgET9gnIAg==", + "version": "5.2.6", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.6.tgz", + "integrity": "sha512-FPtnxFlSIKYjZ2eosBQamz4CbyrTizbZ3hnGJlh/wMtCrlp1Hah6AzBLjGI5I2urTfNnpovpHdrL6YRuBOPnCA==", "dev": true, "dependencies": { "esbuild": "^0.20.1", @@ -33584,11 +33332,12 @@ } }, "packages/react-front-kit-dropzone": { - "version": "0.10.0", + "name": "@smile/react-front-kit-dropzone", + "version": "0.11.0", "license": "LGPL-3.0", "dependencies": { - "@smile/react-front-kit": "0.10.0", - "@smile/react-front-kit-shared": "0.10.0" + "@smile/react-front-kit": "0.11.0", + "@smile/react-front-kit-shared": "0.11.0" }, "devDependencies": { "@babel/preset-env": "^7.22.20", @@ -33615,7 +33364,6 @@ "node": ">=16" }, "peerDependencies": { - "@emotion/react": ">=11", "@mantine/core": "7", "@mantine/dropzone": "7", "@mantine/hooks": "7", @@ -34053,9 +33801,9 @@ } }, "packages/react-front-kit-dropzone/node_modules/vite": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.0.tgz", - "integrity": "sha512-xMSLJNEjNk/3DJRgWlPADDwaU9AgYRodDH2t6oENhJnIlmU9Hx1Q6VpjyXua/JdMw1WJRbnAgHJ9xgET9gnIAg==", + "version": "5.2.6", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.6.tgz", + "integrity": "sha512-FPtnxFlSIKYjZ2eosBQamz4CbyrTizbZ3hnGJlh/wMtCrlp1Hah6AzBLjGI5I2urTfNnpovpHdrL6YRuBOPnCA==", "dev": true, "dependencies": { "esbuild": "^0.20.1", @@ -34108,7 +33856,8 @@ } }, "packages/react-front-kit-shared": { - "version": "0.10.0", + "name": "@smile/react-front-kit-shared", + "version": "0.11.0", "license": "LGPL-3.0", "devDependencies": { "@babel/preset-env": "^7.22.20", @@ -34135,7 +33884,6 @@ "node": ">=16" }, "peerDependencies": { - "@emotion/react": ">=11", "@mantine/core": "7", "@mantine/hooks": "7", "@phosphor-icons/react": ">=2", @@ -34572,9 +34320,9 @@ } }, "packages/react-front-kit-shared/node_modules/vite": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.0.tgz", - "integrity": "sha512-xMSLJNEjNk/3DJRgWlPADDwaU9AgYRodDH2t6oENhJnIlmU9Hx1Q6VpjyXua/JdMw1WJRbnAgHJ9xgET9gnIAg==", + "version": "5.2.6", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.6.tgz", + "integrity": "sha512-FPtnxFlSIKYjZ2eosBQamz4CbyrTizbZ3hnGJlh/wMtCrlp1Hah6AzBLjGI5I2urTfNnpovpHdrL6YRuBOPnCA==", "dev": true, "dependencies": { "esbuild": "^0.20.1", @@ -34627,11 +34375,12 @@ } }, "packages/react-front-kit-table": { - "version": "0.10.0", + "name": "@smile/react-front-kit-table", + "version": "0.11.0", "license": "LGPL-3.0", "dependencies": { - "@smile/react-front-kit": "0.10.0", - "@smile/react-front-kit-shared": "0.10.0" + "@smile/react-front-kit": "0.11.0", + "@smile/react-front-kit-shared": "0.11.0" }, "devDependencies": { "@babel/preset-env": "^7.22.20", @@ -34658,7 +34407,6 @@ "node": ">=16" }, "peerDependencies": { - "@emotion/react": ">=11", "@mantine/core": "7", "@mantine/dates": "7", "@mantine/hooks": "7", @@ -35099,9 +34847,9 @@ } }, "packages/react-front-kit-table/node_modules/vite": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.0.tgz", - "integrity": "sha512-xMSLJNEjNk/3DJRgWlPADDwaU9AgYRodDH2t6oENhJnIlmU9Hx1Q6VpjyXua/JdMw1WJRbnAgHJ9xgET9gnIAg==", + "version": "5.2.6", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.6.tgz", + "integrity": "sha512-FPtnxFlSIKYjZ2eosBQamz4CbyrTizbZ3hnGJlh/wMtCrlp1Hah6AzBLjGI5I2urTfNnpovpHdrL6YRuBOPnCA==", "dev": true, "dependencies": { "esbuild": "^0.20.1", @@ -35582,9 +35330,9 @@ } }, "packages/react-front-kit/node_modules/vite": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.0.tgz", - "integrity": "sha512-xMSLJNEjNk/3DJRgWlPADDwaU9AgYRodDH2t6oENhJnIlmU9Hx1Q6VpjyXua/JdMw1WJRbnAgHJ9xgET9gnIAg==", + "version": "5.2.6", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.6.tgz", + "integrity": "sha512-FPtnxFlSIKYjZ2eosBQamz4CbyrTizbZ3hnGJlh/wMtCrlp1Hah6AzBLjGI5I2urTfNnpovpHdrL6YRuBOPnCA==", "dev": true, "dependencies": { "esbuild": "^0.20.1", @@ -35637,7 +35385,7 @@ } }, "packages/storybook-pages": { - "version": "0.10.0", + "version": "0.11.0", "license": "LGPL-3.0", "dependencies": { "@mantine/carousel": "^7.6.1", @@ -35658,7 +35406,6 @@ "vite-plugin-dts": "^3.7.2" }, "peerDependencies": { - "@emotion/react": ">=11", "@mantine/core": "7", "@mantine/dates": "7", "@mantine/hooks": "7", @@ -36112,9 +35859,9 @@ } }, "packages/storybook-pages/node_modules/vite": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.0.tgz", - "integrity": "sha512-xMSLJNEjNk/3DJRgWlPADDwaU9AgYRodDH2t6oENhJnIlmU9Hx1Q6VpjyXua/JdMw1WJRbnAgHJ9xgET9gnIAg==", + "version": "5.2.6", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.6.tgz", + "integrity": "sha512-FPtnxFlSIKYjZ2eosBQamz4CbyrTizbZ3hnGJlh/wMtCrlp1Hah6AzBLjGI5I2urTfNnpovpHdrL6YRuBOPnCA==", "dev": true, "dependencies": { "esbuild": "^0.20.1", diff --git a/package.json b/package.json index 282853d8..545dcb53 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "changeset": "changeset", "version": "turbo run build lint test && changeset version", "publish": "turbo run build lint test && changeset publish", + "prestorybook": "npm run build", "storybook": "storybook dev -p 6006", "storybook:no-open": "storybook dev --no-open -p 6006", "prebuild-storybook": "npm run build", diff --git a/packages/react-front-kit-dates/README.md b/packages/react-front-kit-dates/README.md index f697e89c..6dd98f19 100644 --- a/packages/react-front-kit-dates/README.md +++ b/packages/react-front-kit-dates/README.md @@ -1,6 +1,10 @@ # React Front Kit dates -Date/Calendar components. +Date related components. + +## Documentation + +You can access the documentation here: https://smile-sa.github.io/react-front-kit-doc ## Prerequisite @@ -8,10 +12,19 @@ You must have React 18 or later installed on your project. ## Installation -Install `@smile/react-front-kit-dates` and peer dependencies with: +You must install `@smile/react-front-kit` first and the install `@smile/react-front-kit-dates` and peer dependencies with: ```bash -npm i @smile/react-front-kit-dates @emotion/react @mantine/core @mantine/dates @mantine/hooks @phosphor-icons/react +npm i @smile/react-front-kit-dates @mantine/dates +``` + +## Styles + +Import the styles in your app with: + +```js +import '@mantine/dates/styles.css'; +import '@smile/react-front-kit-dates/style.css'; ``` ## License diff --git a/packages/react-front-kit-dates/package.json b/packages/react-front-kit-dates/package.json index f1c217ed..089dbe12 100644 --- a/packages/react-front-kit-dates/package.json +++ b/packages/react-front-kit-dates/package.json @@ -95,7 +95,6 @@ "vite-plugin-dts": "^3.7.2" }, "peerDependencies": { - "@emotion/react": ">=11", "@mantine/core": "7", "@mantine/dates": "7", "@mantine/hooks": "7", diff --git a/packages/react-front-kit-dates/vite.config.js b/packages/react-front-kit-dates/vite.config.js index 8d07285d..b2649d80 100644 --- a/packages/react-front-kit-dates/vite.config.js +++ b/packages/react-front-kit-dates/vite.config.js @@ -13,7 +13,6 @@ export default defineConfig({ }, rollupOptions: { external: [ - '@emotion/react', '@mantine/carousel', '@mantine/core', '@mantine/dates', diff --git a/packages/react-front-kit-dropzone/README.md b/packages/react-front-kit-dropzone/README.md index 37e3b46d..d2742a0f 100644 --- a/packages/react-front-kit-dropzone/README.md +++ b/packages/react-front-kit-dropzone/README.md @@ -1,6 +1,10 @@ # React Front Kit dropzone -Dropzone component. +File upload components. + +## Documentation + +You can access the documentation here: https://smile-sa.github.io/react-front-kit-doc ## Prerequisite @@ -8,10 +12,19 @@ You must have React 18 or later installed on your project. ## Installation -Install `@smile/react-front-kit-dropzone` and peer dependencies with: +You must install `@smile/react-front-kit` first and then install `@smile/react-front-kit-dropzone` and peer dependencies with: ```bash -npm i @smile/react-front-kit-dropzone @emotion/react @mantine/core @mantine/hooks @mantine/styles @mantine/dropzone @phosphor-icons/react +npm i @smile/react-front-kit-dropzone @mantine/dropzone +``` + +## Styles + +Import the styles in your app with: + +```js +import '@mantine/dropzone/styles.css'; +import '@smile/react-front-kit-dropzone/style.css'; ``` ## License diff --git a/packages/react-front-kit-dropzone/package.json b/packages/react-front-kit-dropzone/package.json index 077ab100..2b6800a0 100644 --- a/packages/react-front-kit-dropzone/package.json +++ b/packages/react-front-kit-dropzone/package.json @@ -79,7 +79,6 @@ "vite-plugin-dts": "^3.7.2" }, "peerDependencies": { - "@emotion/react": ">=11", "@mantine/core": "7", "@mantine/dropzone": "7", "@mantine/hooks": "7", diff --git a/packages/react-front-kit-dropzone/vite.config.js b/packages/react-front-kit-dropzone/vite.config.js index 8d07285d..b2649d80 100644 --- a/packages/react-front-kit-dropzone/vite.config.js +++ b/packages/react-front-kit-dropzone/vite.config.js @@ -13,7 +13,6 @@ export default defineConfig({ }, rollupOptions: { external: [ - '@emotion/react', '@mantine/carousel', '@mantine/core', '@mantine/dates', diff --git a/packages/react-front-kit-shared/README.md b/packages/react-front-kit-shared/README.md index 91b26807..dd0bbbb2 100644 --- a/packages/react-front-kit-shared/README.md +++ b/packages/react-front-kit-shared/README.md @@ -2,6 +2,10 @@ Shared components and functions. +## Documentation + +You can access the documentation here: https://smile-sa.github.io/react-front-kit-doc + ## Prerequisite You must have React 18 or later installed on your project. @@ -11,7 +15,16 @@ You must have React 18 or later installed on your project. Install `@smile/react-front-kit-shared` and peer dependencies with: ```bash -npm i @smile/react-front-kit-shared @emotion/react @mantine/core @mantine/hooks @phosphor-icons/react +npm i @smile/react-front-kit-shared @mantine/core @mantine/hooks @phosphor-icons/react +``` + +## Styles + +Import the styles in your app with: + +```js +import '@mantine/core/styles.css'; +import '@smile/react-front-kit-shared/style.css'; ``` ## License diff --git a/packages/react-front-kit-shared/package.json b/packages/react-front-kit-shared/package.json index 07a73363..61e8e668 100644 --- a/packages/react-front-kit-shared/package.json +++ b/packages/react-front-kit-shared/package.json @@ -102,7 +102,6 @@ "vite-plugin-dts": "^3.7.2" }, "peerDependencies": { - "@emotion/react": ">=11", "@mantine/core": "7", "@mantine/hooks": "7", "@phosphor-icons/react": ">=2", diff --git a/packages/react-front-kit-shared/vite.config.js b/packages/react-front-kit-shared/vite.config.js index d410599d..0a84fe6b 100644 --- a/packages/react-front-kit-shared/vite.config.js +++ b/packages/react-front-kit-shared/vite.config.js @@ -13,7 +13,6 @@ export default defineConfig({ }, rollupOptions: { external: [ - '@emotion/react', '@mantine/carousel', '@mantine/core', '@mantine/dates', diff --git a/packages/react-front-kit-table/README.md b/packages/react-front-kit-table/README.md index 374035f4..19836473 100644 --- a/packages/react-front-kit-table/README.md +++ b/packages/react-front-kit-table/README.md @@ -1,6 +1,10 @@ # React Front Kit table -Table component. +Table related components. + +## Documentation + +You can access the documentation here: https://smile-sa.github.io/react-front-kit-doc ## Prerequisite @@ -8,10 +12,20 @@ You must have React 18 or later installed on your project. ## Installation -Install `@smile/react-front-kit-table` and peer dependencies with: +You must install `@smile/react-front-kit` first and then install `@smile/react-front-kit-table` and peer dependencies with: ```bash -npm i @smile/react-front-kit-table @emotion/react @mantine/core @mantine/dates @mantine/hooks @mantine/styles @phosphor-icons/react @tabler/icons-react dayjs mantine-react-table +npm i @smile/react-front-kit-table @mantine/dates dayjs mantine-react-table@beta @tabler/icons-react +``` + +## Styles + +Import the styles in your app with: + +```js +import '@mantine/dates/styles.css'; +import 'mantine-react-table/styles.css'; +import '@smile/react-front-kit-table/style.css'; ``` ## License diff --git a/packages/react-front-kit-table/package.json b/packages/react-front-kit-table/package.json index bbfbd40b..65a4aee3 100644 --- a/packages/react-front-kit-table/package.json +++ b/packages/react-front-kit-table/package.json @@ -94,7 +94,6 @@ "vite-plugin-dts": "^3.7.2" }, "peerDependencies": { - "@emotion/react": ">=11", "@mantine/core": "7", "@mantine/dates": "7", "@mantine/hooks": "7", diff --git a/packages/react-front-kit-table/vite.config.js b/packages/react-front-kit-table/vite.config.js index 323e6f1e..a0ea7d78 100644 --- a/packages/react-front-kit-table/vite.config.js +++ b/packages/react-front-kit-table/vite.config.js @@ -13,7 +13,6 @@ export default defineConfig({ }, rollupOptions: { external: [ - '@emotion/react', '@mantine/carousel', '@mantine/core', '@mantine/dates', diff --git a/packages/react-front-kit/README.md b/packages/react-front-kit/README.md index 56d3907f..137f1ccb 100644 --- a/packages/react-front-kit/README.md +++ b/packages/react-front-kit/README.md @@ -1,6 +1,10 @@ # React Front Kit -Base standalone components. +Core components library containing all major components. + +## Documentation + +You can access the documentation here: https://smile-sa.github.io/react-front-kit-doc ## Prerequisite @@ -11,7 +15,17 @@ You must have React 18 or later installed on your project. Install `@smile/react-front-kit` and peer dependencies with: ```bash -npm i @smile/react-front-kit @emotion/react @mantine/core @mantine/hooks @mantine/styles @phosphor-icons/react +npm i @smile/react-front-kit @mantine/core @mantine/hooks @phosphor-icons/react +``` + +## Styles + +Import the styles in your app with: + +```js +import '@mantine/core/styles.css'; +import '@smile/react-front-kit-shared/style.css'; +import '@smile/react-front-kit/style.css'; ``` ## License diff --git a/packages/react-front-kit/package.json b/packages/react-front-kit/package.json index 776d7295..e46fc19c 100644 --- a/packages/react-front-kit/package.json +++ b/packages/react-front-kit/package.json @@ -94,7 +94,6 @@ "vite-plugin-dts": "^3.7.2" }, "peerDependencies": { - "@emotion/react": ">=11", "@mantine/core": "7", "@mantine/hooks": "7", "@phosphor-icons/react": ">=2", diff --git a/packages/react-front-kit/src/Components/ActionBar/ActionBar.tsx b/packages/react-front-kit/src/Components/ActionBar/ActionBar.tsx index d9c791b3..9407da9d 100644 --- a/packages/react-front-kit/src/Components/ActionBar/ActionBar.tsx +++ b/packages/react-front-kit/src/Components/ActionBar/ActionBar.tsx @@ -1,7 +1,6 @@ 'use client'; import type { IActionRowOverflowProps } from '../ActionRowOverflow/ActionRowOverflow'; -import type { Record } from '@phosphor-icons/react'; import type { ReactElement } from 'react'; import { ActionRowOverflow } from '../ActionRowOverflow/ActionRowOverflow'; diff --git a/packages/react-front-kit/src/Components/ActionRowOverflow/ActionRowOverflow.tsx b/packages/react-front-kit/src/Components/ActionRowOverflow/ActionRowOverflow.tsx index 984b38d1..9f9b18d0 100644 --- a/packages/react-front-kit/src/Components/ActionRowOverflow/ActionRowOverflow.tsx +++ b/packages/react-front-kit/src/Components/ActionRowOverflow/ActionRowOverflow.tsx @@ -7,7 +7,6 @@ import type { ModalProps, TooltipProps, } from '@mantine/core'; -import type { Record } from '@phosphor-icons/react'; import type { IAction, IActionConfirmModalProps, diff --git a/packages/react-front-kit/vite.config.js b/packages/react-front-kit/vite.config.js index 323e6f1e..a0ea7d78 100644 --- a/packages/react-front-kit/vite.config.js +++ b/packages/react-front-kit/vite.config.js @@ -13,7 +13,6 @@ export default defineConfig({ }, rollupOptions: { external: [ - '@emotion/react', '@mantine/carousel', '@mantine/core', '@mantine/dates', diff --git a/packages/storybook-pages/package.json b/packages/storybook-pages/package.json index 49c66dc2..7428d372 100644 --- a/packages/storybook-pages/package.json +++ b/packages/storybook-pages/package.json @@ -38,7 +38,6 @@ "vite-plugin-dts": "^3.7.2" }, "peerDependencies": { - "@emotion/react": ">=11", "@mantine/core": "7", "@mantine/dates": "7", "@mantine/hooks": "7", diff --git a/packages/storybook-pages/vite.config.js b/packages/storybook-pages/vite.config.js index 8d07285d..b2649d80 100644 --- a/packages/storybook-pages/vite.config.js +++ b/packages/storybook-pages/vite.config.js @@ -13,7 +13,6 @@ export default defineConfig({ }, rollupOptions: { external: [ - '@emotion/react', '@mantine/carousel', '@mantine/core', '@mantine/dates', diff --git a/turbo.json b/turbo.json index 1dcef465..0291f1b4 100644 --- a/turbo.json +++ b/turbo.json @@ -12,6 +12,7 @@ }, "dev": { "cache": false, + "dependsOn": ["build"], "persistent": true }, "lint": { From 59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f Mon Sep 17 00:00:00 2001 From: vapersmile <120370047+vapersmile@users.noreply.github.com> Date: Wed, 17 Apr 2024 10:37:23 +0200 Subject: [PATCH 2/4] Feat/rebase0.11.x (#172) * Feat/FullNameFields (#160) * feat(redmine 1280828): add FullNameFields component * feat(redmine 1280828): add changeset * feat(redmine 1280828): remove Form package --------- Co-authored-by: pereag * fix: change value of onChange function for the first name input (#163) Co-authored-by: pereag * Fix/table v7 (#164) * fix: fixed table styles, fixed some features * Feat/graphics (#165) * feat(redmine 1283409): add Graphics folder on storybook-pages * feat(redmine 1283916): integration of the exemples * chore(redmine 1283409): update @mantine/ * fix(redmine 1283409): fix Icon type error --------- Co-authored-by: pereag * ci: version packages (#161) Co-authored-by: github-actions[bot] * Feat/fetch autocomplete field (#167) * feat(redmine 1286242): add addressField Component * feat: add useDebouncedState * feat(redmine 1286242): fix api error and add all features * chore: rebase 0.11.x * feat(redmine 1286242): add addressField Component * feat(redmine 1286242): fix api error and add all features * feat(redmine 1286242): add FetchAutoCompleteField * feat(redmine 1286242): update the component * feat(redmine 1286242): add transformResultsFunction * feat(redmine 1286242): add FetchAutocompleteField * feat(redmine 1286242): change location of getData function * feat(redmine 1286242): fix test --------- Co-authored-by: pereag * Feat/address gouv auto complete field (#169) * feat: push AdressGouvAutocompleteField * feat(redmine 1290333): add AdressGouvAutomatiqueField * feat(redmine 1290333): fix spelling errors * feat(redmine 1290333): fix function name * feat(redmine 1290333): fix spelling errors --------- Co-authored-by: pereag * docs: fix and update (#162) --------- Co-authored-by: pereag Co-authored-by: Quentin Le Caignec <12102823+QuentinLeCaignec@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] Co-authored-by: Tony Cabaye --- .changeset/lazy-berries-enjoy.md | 5 ++ .changeset/two-llamas-tan.md | 5 ++ .../AddressGouvAutocompleteField.stories.tsx | 20 +++++ .../AddressGouvAutocompleteField.test.tsx | 16 ++++ .../AddressGouvAutocompleteField.tsx | 50 +++++++++++ ...AddressGouvAutocompleteField.test.tsx.snap | 43 ++++++++++ .../FetchAutoCompleteField.mock.tsx | 38 ++++++++ .../FetchAutocompleteField.stories.tsx | 34 ++++++++ .../FetchAutocompleteField.test.tsx | 25 ++++++ .../FetchAutocompleteField.tsx | 86 +++++++++++++++++++ .../FetchAutocompleteField.test.tsx.snap | 43 ++++++++++ 11 files changed, 365 insertions(+) create mode 100644 .changeset/lazy-berries-enjoy.md create mode 100644 .changeset/two-llamas-tan.md create mode 100644 packages/react-front-kit/src/Form/AddressGouvAutocompleteField/AddressGouvAutocompleteField.stories.tsx create mode 100644 packages/react-front-kit/src/Form/AddressGouvAutocompleteField/AddressGouvAutocompleteField.test.tsx create mode 100644 packages/react-front-kit/src/Form/AddressGouvAutocompleteField/AddressGouvAutocompleteField.tsx create mode 100644 packages/react-front-kit/src/Form/AddressGouvAutocompleteField/__snapshots__/AddressGouvAutocompleteField.test.tsx.snap create mode 100644 packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutoCompleteField.mock.tsx create mode 100644 packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.stories.tsx create mode 100644 packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.test.tsx create mode 100644 packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.tsx create mode 100644 packages/react-front-kit/src/Form/FetchAutocompleteField/__snapshots__/FetchAutocompleteField.test.tsx.snap diff --git a/.changeset/lazy-berries-enjoy.md b/.changeset/lazy-berries-enjoy.md new file mode 100644 index 00000000..c898be2b --- /dev/null +++ b/.changeset/lazy-berries-enjoy.md @@ -0,0 +1,5 @@ +--- +'storybook-pages': minor +--- + +add FetchAutocompleteField diff --git a/.changeset/two-llamas-tan.md b/.changeset/two-llamas-tan.md new file mode 100644 index 00000000..793885a4 --- /dev/null +++ b/.changeset/two-llamas-tan.md @@ -0,0 +1,5 @@ +--- +'@smile/react-front-kit': minor +--- + +add component AddressGouvAutoCompleteField diff --git a/packages/react-front-kit/src/Form/AddressGouvAutocompleteField/AddressGouvAutocompleteField.stories.tsx b/packages/react-front-kit/src/Form/AddressGouvAutocompleteField/AddressGouvAutocompleteField.stories.tsx new file mode 100644 index 00000000..dd6f37e0 --- /dev/null +++ b/packages/react-front-kit/src/Form/AddressGouvAutocompleteField/AddressGouvAutocompleteField.stories.tsx @@ -0,0 +1,20 @@ +import type { Meta, StoryObj } from '@storybook/react'; + +import { action } from '@storybook/addon-actions'; + +import { AddressGouvAutocompleteField as Cmp } from './AddressGouvAutocompleteField'; + +const meta = { + component: Cmp, + tags: ['autodocs'], + title: '3-custom/Form/AddressGouvAutocompleteField', +} satisfies Meta; + +export default meta; +type IStory = StoryObj; + +export const AddressGouvAutocompleteField: IStory = { + args: { + onOptionSubmit: action('location'), + }, +}; diff --git a/packages/react-front-kit/src/Form/AddressGouvAutocompleteField/AddressGouvAutocompleteField.test.tsx b/packages/react-front-kit/src/Form/AddressGouvAutocompleteField/AddressGouvAutocompleteField.test.tsx new file mode 100644 index 00000000..3fbb0eab --- /dev/null +++ b/packages/react-front-kit/src/Form/AddressGouvAutocompleteField/AddressGouvAutocompleteField.test.tsx @@ -0,0 +1,16 @@ +import { renderWithProviders } from '@smile/react-front-kit-shared/test-utils'; + +import { AddressGouvAutocompleteField } from './AddressGouvAutocompleteField'; + +describe('FetchAutocompleteField', () => { + beforeEach(() => { + // Prevent mantine random ID + Math.random = () => 0.42; + }); + it('matches snapshot', () => { + const { container } = renderWithProviders( + , + ); + expect(container).toMatchSnapshot(); + }); +}); diff --git a/packages/react-front-kit/src/Form/AddressGouvAutocompleteField/AddressGouvAutocompleteField.tsx b/packages/react-front-kit/src/Form/AddressGouvAutocompleteField/AddressGouvAutocompleteField.tsx new file mode 100644 index 00000000..77e44720 --- /dev/null +++ b/packages/react-front-kit/src/Form/AddressGouvAutocompleteField/AddressGouvAutocompleteField.tsx @@ -0,0 +1,50 @@ +'use client'; + +import type { IAddressGouvData } from '../FetchAutocompleteField/FetchAutoCompleteField.mock'; +import type { + IFetchAutocompleteFieldProps, + IValue, +} from '../FetchAutocompleteField/FetchAutocompleteField'; +import type { ReactElement } from 'react'; + +import { FetchAutocompleteField } from '../FetchAutocompleteField/FetchAutocompleteField'; + +export interface IAddressAutocompleteFieldProps + extends Omit, 'onFetchData'> { + lat?: string; + limit?: number; + lon?: string; + onFetchData?: (value: string) => Promise[]>; + type?: string; +} + +export function AddressGouvAutocompleteField( + props: IAddressAutocompleteFieldProps, +): ReactElement { + const { + lat = '', + limit = 10, + lon = '', + type = '', + ...fetchAutocompleteFieldProps + } = props; + async function getDataAddressGouv(value: string): Promise[]> { + const response = await fetch( + `https://api-Adresse.data.gouv.fr/search/?q=${encodeURIComponent( + value, + )}&autocomplete=1&lat=${lat}&lon=${lon}&type=${type}&limit=${limit}`, + ); + const data: { features: IAddressGouvData[] } = await response.json(); + const result = data.features.map((element) => { + return { label: element.properties.label, value: element }; + }); + + return result; + } + return ( + + ); +} diff --git a/packages/react-front-kit/src/Form/AddressGouvAutocompleteField/__snapshots__/AddressGouvAutocompleteField.test.tsx.snap b/packages/react-front-kit/src/Form/AddressGouvAutocompleteField/__snapshots__/AddressGouvAutocompleteField.test.tsx.snap new file mode 100644 index 00000000..4aa9b858 --- /dev/null +++ b/packages/react-front-kit/src/Form/AddressGouvAutocompleteField/__snapshots__/AddressGouvAutocompleteField.test.tsx.snap @@ -0,0 +1,43 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`FetchAutocompleteField matches snapshot 1`] = ` +
+ + +
+ +
+ +
+
+
+`; diff --git a/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutoCompleteField.mock.tsx b/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutoCompleteField.mock.tsx new file mode 100644 index 00000000..d84117fe --- /dev/null +++ b/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutoCompleteField.mock.tsx @@ -0,0 +1,38 @@ +/* eslint-disable @typescript-eslint/naming-convention */ +export interface IOpenStreetMapData { + display_name: string; +} + +export interface IAddressGouvData { + properties: { label: string }; +} + +export async function getDataOpenStreetMapMock( + value: string, +): Promise { + const response = await fetch( + `https://nominatim.openstreetmap.org/search.php?q=${encodeURIComponent( + value, + )}&format=jsonv2&addressdetails=1&countrycodes=fr&accept-language=fr&limit=10&dedupe=1`, + ); + const data: IOpenStreetMapData[] = await response.json(); + const result = data.map((element) => { + return { label: element.display_name, value: element }; + }); + + return result; +} + +export async function getDataAddressGouvMock(value: string): Promise { + const response = await fetch( + `https://api-Adresse.data.gouv.fr/search/?q=${encodeURIComponent( + value, + )}&autocomplete=1`, + ); + const data: { features: IAddressGouvData[] } = await response.json(); + const result = data.features.map((element) => { + return { label: element.properties.label, value: element }; + }); + + return result; +} diff --git a/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.stories.tsx b/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.stories.tsx new file mode 100644 index 00000000..8330301e --- /dev/null +++ b/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.stories.tsx @@ -0,0 +1,34 @@ +import type { Meta, StoryObj } from '@storybook/react'; + +import { action } from '@storybook/addon-actions'; + +import { + getDataAddressGouvMock, + getDataOpenStreetMapMock, +} from './FetchAutoCompleteField.mock'; +import { FetchAutocompleteField as Cmp } from './FetchAutocompleteField'; + +const meta = { + component: Cmp, + tags: ['autodocs'], + title: '3-custom/Form/FetchAutocompleteField', +} satisfies Meta; + +export default meta; +type IStory = StoryObj; + +export const FieldWithOpenStreetMapApi: IStory = { + args: { + // @ts-expect-error-type + onFetchData: getDataOpenStreetMapMock, + onOptionSubmit: action('location'), + }, +}; + +export const FieldWithAddressGouvApi: IStory = { + args: { + // @ts-expect-error-type + onFetchData: getDataAddressGouvMock, + onOptionSubmit: action('location'), + }, +}; diff --git a/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.test.tsx b/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.test.tsx new file mode 100644 index 00000000..d9953b67 --- /dev/null +++ b/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.test.tsx @@ -0,0 +1,25 @@ +import { renderWithProviders } from '@smile/react-front-kit-shared/test-utils'; + +import { FetchAutocompleteField } from './FetchAutocompleteField'; + +describe('FetchAutocompleteField', () => { + beforeEach(() => { + // Prevent mantine random ID + Math.random = () => 0.42; + }); + it('matches snapshot', () => { + const { container } = renderWithProviders( + { + return [ + { label: 'Lyon test', value: { CityName: 'lyon' } }, + { label: 'Lyon 1 test', value: { CityName: 'lyon 1' } }, + ]; + }} + />, + ); + expect(container).toMatchSnapshot(); + }); +}); diff --git a/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.tsx b/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.tsx new file mode 100644 index 00000000..8c00faca --- /dev/null +++ b/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.tsx @@ -0,0 +1,86 @@ +/* eslint-disable @typescript-eslint/naming-convention */ +'use client'; + +import type { AutocompleteProps } from '@mantine/core'; +import type { ReactElement } from 'react'; + +import { Autocomplete } from '@mantine/core'; +import { useDebouncedState } from '@mantine/hooks'; +import { useEffect, useState } from 'react'; + +export interface IFetchOption { + key: string; + value: string; +} + +export interface IValue { + label: string; + value: F; +} + +export interface IFetchAutocompleteFieldProps + extends Omit { + deDebounce?: number; + minValueLength?: number; + onFetchData: (value: string) => Promise[]>; + onOptionSubmit?: (value: unknown) => void; +} + +export function FetchAutocompleteField( + props: IFetchAutocompleteFieldProps, +): ReactElement { + const { + deDebounce = 1000, + label = 'Find an address', + minValueLength = 5, + placeholder = "89 Pall Mall, St. James's, London SW1Y 5HS, United Kingdom", + onOptionSubmit, + onFetchData, + ...autocompleteProps + } = props; + const [data, setData] = useState[]>([]); + const [value, setValue] = useDebouncedState('', deDebounce); + + useEffect(() => { + function getData(): void { + if (value.length >= minValueLength && value.length >= 0) { + onFetchData(value) + .then((data) => { + setData(data); + }) + .catch((error) => { + // eslint-disable-next-line no-console + console.error('Error fetching data:', error); + }); + } else { + setData([]); + } + } + getData(); + }, [minValueLength, onFetchData, value]); + + function onOptionSubmitHandle(value: string): void { + const result = data.filter((element) => { + if (element.label === value) { + return true; + } + return false; + })[0]; + + onOptionSubmit && onOptionSubmit(result); + } + + return ( + element.label)} + filter={({ options }) => { + return options; + }} + label={label} + onChange={(e) => setValue(e)} + onOptionSubmit={(value) => onOptionSubmitHandle(value)} + placeholder={placeholder} + /> + ); +} diff --git a/packages/react-front-kit/src/Form/FetchAutocompleteField/__snapshots__/FetchAutocompleteField.test.tsx.snap b/packages/react-front-kit/src/Form/FetchAutocompleteField/__snapshots__/FetchAutocompleteField.test.tsx.snap new file mode 100644 index 00000000..4aa9b858 --- /dev/null +++ b/packages/react-front-kit/src/Form/FetchAutocompleteField/__snapshots__/FetchAutocompleteField.test.tsx.snap @@ -0,0 +1,43 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`FetchAutocompleteField matches snapshot 1`] = ` +
+ + +
+ +
+ +
+
+
+`; From 65cfb35a7a21cfca9c54970f16f1dcf95e56ec16 Mon Sep 17 00:00:00 2001 From: vapersmile <120370047+vapersmile@users.noreply.github.com> Date: Wed, 17 Apr 2024 17:24:10 +0200 Subject: [PATCH 3/4] feat(redmine 1291405): add AddressAutocompleteFields (#174) * feat(redmine 1291405): add AddressAutocompleteFields * feat(redmine 1291405): fix types errors --------- Co-authored-by: pereag --- .changeset/stale-dryers-move.md | 5 + .../AddressAutocompleteFields.mock.ts | 16 ++ .../AddressAutocompleteFields.module.css | 14 ++ .../AddressAutocompleteFields.stories.tsx | 26 +++ .../AddressAutocompleteFields.test.tsx | 34 ++++ .../AddressAutocompleteFields.tsx | 184 ++++++++++++++++++ .../AddressAutocompleteFields.test.tsx.snap | 167 ++++++++++++++++ .../AddressGouvAutocompleteField.tsx | 14 +- .../AddressGouvApi.stories.tsx | 23 +++ .../FetchAutoCompleteField.mock.tsx | 19 +- .../FetchAutocompleteField.tsx | 16 +- ....stories.tsx => OpenStreetMap.stories.tsx} | 19 +- 12 files changed, 504 insertions(+), 33 deletions(-) create mode 100644 .changeset/stale-dryers-move.md create mode 100644 packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.mock.ts create mode 100644 packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.module.css create mode 100644 packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.stories.tsx create mode 100644 packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.test.tsx create mode 100644 packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.tsx create mode 100644 packages/react-front-kit/src/Form/AddressAutocompleteFields/__snapshots__/AddressAutocompleteFields.test.tsx.snap create mode 100644 packages/react-front-kit/src/Form/FetchAutocompleteField/AddressGouvApi.stories.tsx rename packages/react-front-kit/src/Form/FetchAutocompleteField/{FetchAutocompleteField.stories.tsx => OpenStreetMap.stories.tsx} (57%) diff --git a/.changeset/stale-dryers-move.md b/.changeset/stale-dryers-move.md new file mode 100644 index 00000000..3d694355 --- /dev/null +++ b/.changeset/stale-dryers-move.md @@ -0,0 +1,5 @@ +--- +'@smile/react-front-kit': minor +--- + +Add AddressAutocompleteFields diff --git a/packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.mock.ts b/packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.mock.ts new file mode 100644 index 00000000..7d5d6c2a --- /dev/null +++ b/packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.mock.ts @@ -0,0 +1,16 @@ +import type { IAdressFields } from './AddressAutocompleteFields'; +import type { IAddressGouvData } from '../FetchAutocompleteField/FetchAutoCompleteField.mock'; +import type { IValue } from '../FetchAutocompleteField/FetchAutocompleteField'; + +export function onOptionSubmitMock( + value: IValue, +): IAdressFields { + const address = value.value.properties; + return { + city: address.city, + country: 'France', + number: address.housenumber, + postCode: address.postcode, + street: address.street, + }; +} diff --git a/packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.module.css b/packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.module.css new file mode 100644 index 00000000..98870e01 --- /dev/null +++ b/packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.module.css @@ -0,0 +1,14 @@ +.inputContainer { + display: flex; + gap: 10px; + margin-top: 20px; + flex-wrap: wrap; +} + +.input { + maxwidth: 300px; + width: calc(50% - 5px); + @mixin smaller-than $mantine-breakpoint-sm { + width: 100%; + } +} diff --git a/packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.stories.tsx b/packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.stories.tsx new file mode 100644 index 00000000..80a404a8 --- /dev/null +++ b/packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.stories.tsx @@ -0,0 +1,26 @@ +import type { IAddressGouvData } from '../FetchAutocompleteField/FetchAutoCompleteField.mock'; +import type { Meta, StoryObj } from '@storybook/react'; + +import { action } from '@storybook/addon-actions'; + +import { getDataAddressGouvMock } from '../FetchAutocompleteField/FetchAutoCompleteField.mock'; + +import { AddressAutocompleteFields as Cmp } from './AddressAutocompleteFields'; +import { onOptionSubmitMock } from './AddressAutocompleteFields.mock'; + +const meta = { + component: Cmp, + tags: ['autodocs'], + title: '3-custom/Form/AddressAutocompleteFields', +} satisfies Meta>; + +export default meta; +type IStory = StoryObj; + +export const AddressAutocompleteFields: IStory = { + args: { + onFetchData: getDataAddressGouvMock, + onFieldsValuesChange: action('value change'), + onOptionSubmit: onOptionSubmitMock, + }, +}; diff --git a/packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.test.tsx b/packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.test.tsx new file mode 100644 index 00000000..4d9d8fbb --- /dev/null +++ b/packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.test.tsx @@ -0,0 +1,34 @@ +import type { IAdressFields } from './AddressAutocompleteFields'; +import type { IValue } from '../FetchAutocompleteField/FetchAutocompleteField'; + +import { renderWithProviders } from '@smile/react-front-kit-shared/test-utils'; + +import { AddressAutocompleteFields } from './AddressAutocompleteFields'; + +describe('FetchAutocompleteField', () => { + beforeEach(() => { + // Prevent mantine random ID + Math.random = () => 0.42; + }); + it('matches snapshot', () => { + const { container } = renderWithProviders( + []> { + return [ + { label: 'test', value: { Address: 'test', Number: 'test' } }, + ] as unknown as Promise[]>; + }} + onOptionSubmit={function (_value: unknown): IAdressFields { + return { + city: 'city', + country: 'country', + number: 'number', + postCode: 'postCode', + street: 'street', + }; + }} + />, + ); + expect(container).toMatchSnapshot(); + }); +}); diff --git a/packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.tsx b/packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.tsx new file mode 100644 index 00000000..4c749883 --- /dev/null +++ b/packages/react-front-kit/src/Form/AddressAutocompleteFields/AddressAutocompleteFields.tsx @@ -0,0 +1,184 @@ +'use client'; +import type { + IFetchAutocompleteFieldProps, + IValue, +} from '../FetchAutocompleteField/FetchAutocompleteField'; +import type { TextInputProps } from '@mantine/core'; +import type { ReactElement } from 'react'; + +import { TextInput } from '@mantine/core'; +import { useState } from 'react'; + +import { FetchAutocompleteField } from '../FetchAutocompleteField/FetchAutocompleteField'; + +import classes from './AddressAutocompleteFields.module.css'; + +export interface IAdressFields { + city?: string; + country?: string; + number?: string; + postCode?: string; + street?: string; +} + +export interface ICity { + description?: string; + label?: string; + placeholder?: string; +} +export interface ICountry { + description?: string; + label?: string; + placeholder?: string; +} +export interface INumber { + description?: string; + label?: string; + placeholder?: string; +} +export interface IPostcode { + description?: string; + label?: string; + placeholder?: string; +} + +export interface IStreet { + description?: string; + label?: string; + placeholder?: string; +} + +export interface IAddressAutocompleteFieldsProps + extends Omit, 'onOptionSubmit'> { + city?: ICity; + country?: ICountry; + number?: INumber; + onFieldsValuesChange?: (value: IAdressFields) => void; + onOptionSubmit: (value: IValue) => IAdressFields; + postCode?: IPostcode; + street?: IStreet; + textInputProps?: TextInputProps; +} + +export function AddressAutocompleteFields( + props: IAddressAutocompleteFieldsProps, +): ReactElement { + const { + street = { + label: 'Street Name', + placeholder: 'Pall Mall', + }, + city = { + label: 'City', + placeholder: 'London', + }, + country = { label: 'Country', placeholder: 'United Kingdom' }, + number = { label: 'Street number', placeholder: '89' }, + onOptionSubmit, + onFieldsValuesChange, + postCode = { + label: 'Postal code', + placeholder: 'SW1Y 5HS', + }, + textInputProps, + ...fetchAutocompleteFieldProps + } = props; + + const [streetValue, setStreetValue] = useState(''); + const [numberValue, setNumberValue] = useState(''); + const [cityValue, setCityValue] = useState(''); + const [postCodeValue, setPostCodeValue] = useState(''); + const [countryValue, setCountryValue] = useState(''); + + function onOptionSubmitHandle(value: IValue): void { + const addressFields = onOptionSubmit(value); + setStreetValue(addressFields.street ?? ''); + setNumberValue(addressFields.number ?? ''); + setCityValue(addressFields.city ?? ''); + setPostCodeValue(addressFields.postCode ?? ''); + setCountryValue(addressFields.country ?? ''); + } + + function onChangeHandle(label: string, value: string): void { + onFieldsValuesChange?.({ [label]: value }); + } + + const inputs = [ + { + description: street.description, + label: street.label, + onchange: (e: React.ChangeEvent) => { + setStreetValue(e.target.value); + onChangeHandle('street', e.target.value); + }, + placeholder: street.placeholder, + value: streetValue, + }, + { + description: number.description, + label: number.label, + onchange: (e: React.ChangeEvent) => { + setNumberValue(e.target.value); + onChangeHandle('number', e.target.value); + }, + placeholder: number.placeholder, + value: numberValue, + }, + { + description: city.description, + label: city.label, + onchange: (e: React.ChangeEvent) => { + setCityValue(e.target.value); + onChangeHandle('city', e.target.value); + }, + placeholder: city.placeholder, + value: cityValue, + }, + { + description: postCode.description, + label: postCode.label, + onchange: (e: React.ChangeEvent) => { + setPostCodeValue(e.target.value); + onChangeHandle('postCode', e.target.value); + }, + placeholder: postCode.placeholder, + value: postCodeValue, + }, + { + description: country.description, + label: country.label, + onchange: (e: React.ChangeEvent) => { + setCountryValue(e.target.value); + onChangeHandle('country', e.target.value); + }, + placeholder: country.placeholder, + value: countryValue, + }, + ]; + + return ( +
+ onOptionSubmitHandle(value)} + {...fetchAutocompleteFieldProps} + /> +
+ {inputs.map((input) => { + return ( + { + input.onchange(e); + }} + placeholder={input.placeholder} + value={input.value} + /> + ); + })} +
+
+ ); +} diff --git a/packages/react-front-kit/src/Form/AddressAutocompleteFields/__snapshots__/AddressAutocompleteFields.test.tsx.snap b/packages/react-front-kit/src/Form/AddressAutocompleteFields/__snapshots__/AddressAutocompleteFields.test.tsx.snap new file mode 100644 index 00000000..c1beeac4 --- /dev/null +++ b/packages/react-front-kit/src/Form/AddressAutocompleteFields/__snapshots__/AddressAutocompleteFields.test.tsx.snap @@ -0,0 +1,167 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`FetchAutocompleteField matches snapshot 1`] = ` +
+ + +
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+`; diff --git a/packages/react-front-kit/src/Form/AddressGouvAutocompleteField/AddressGouvAutocompleteField.tsx b/packages/react-front-kit/src/Form/AddressGouvAutocompleteField/AddressGouvAutocompleteField.tsx index 77e44720..767a309b 100644 --- a/packages/react-front-kit/src/Form/AddressGouvAutocompleteField/AddressGouvAutocompleteField.tsx +++ b/packages/react-front-kit/src/Form/AddressGouvAutocompleteField/AddressGouvAutocompleteField.tsx @@ -9,17 +9,17 @@ import type { ReactElement } from 'react'; import { FetchAutocompleteField } from '../FetchAutocompleteField/FetchAutocompleteField'; -export interface IAddressAutocompleteFieldProps - extends Omit, 'onFetchData'> { +export interface IAddressAutocompleteFieldProps + extends Omit, 'onFetchData'> { lat?: string; limit?: number; lon?: string; - onFetchData?: (value: string) => Promise[]>; + onFetchData?: (value: string) => Promise[]>; type?: string; } -export function AddressGouvAutocompleteField( - props: IAddressAutocompleteFieldProps, +export function AddressGouvAutocompleteField( + props: IAddressAutocompleteFieldProps, ): ReactElement { const { lat = '', @@ -28,7 +28,9 @@ export function AddressGouvAutocompleteField( type = '', ...fetchAutocompleteFieldProps } = props; - async function getDataAddressGouv(value: string): Promise[]> { + async function getDataAddressGouv( + value: string, + ): Promise[]> { const response = await fetch( `https://api-Adresse.data.gouv.fr/search/?q=${encodeURIComponent( value, diff --git a/packages/react-front-kit/src/Form/FetchAutocompleteField/AddressGouvApi.stories.tsx b/packages/react-front-kit/src/Form/FetchAutocompleteField/AddressGouvApi.stories.tsx new file mode 100644 index 00000000..617d0ebc --- /dev/null +++ b/packages/react-front-kit/src/Form/FetchAutocompleteField/AddressGouvApi.stories.tsx @@ -0,0 +1,23 @@ +import type { IAddressGouvData } from './FetchAutoCompleteField.mock'; +import type { Meta, StoryObj } from '@storybook/react'; + +import { action } from '@storybook/addon-actions'; + +import { getDataAddressGouvMock } from './FetchAutoCompleteField.mock'; +import { FetchAutocompleteField as Cmp } from './FetchAutocompleteField'; + +const meta = { + component: Cmp, + tags: ['autodocs'], + title: '3-custom/Form/FetchAutocompleteField', +} satisfies Meta>; + +export default meta; +type IStory = StoryObj; + +export const FieldWithAddressGouvApi: IStory = { + args: { + onFetchData: getDataAddressGouvMock, + onOptionSubmit: action('location'), + }, +}; diff --git a/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutoCompleteField.mock.tsx b/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutoCompleteField.mock.tsx index d84117fe..079347df 100644 --- a/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutoCompleteField.mock.tsx +++ b/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutoCompleteField.mock.tsx @@ -1,29 +1,40 @@ +import type { IValue } from './FetchAutocompleteField'; + /* eslint-disable @typescript-eslint/naming-convention */ export interface IOpenStreetMapData { display_name: string; } export interface IAddressGouvData { - properties: { label: string }; + properties: { + city?: string; + housenumber?: string; + label: string; + number?: string; + postcode?: string; + street?: string; + }; } export async function getDataOpenStreetMapMock( value: string, -): Promise { +): Promise[]> { const response = await fetch( `https://nominatim.openstreetmap.org/search.php?q=${encodeURIComponent( value, )}&format=jsonv2&addressdetails=1&countrycodes=fr&accept-language=fr&limit=10&dedupe=1`, ); const data: IOpenStreetMapData[] = await response.json(); - const result = data.map((element) => { + const result: IValue[] = data.map((element) => { return { label: element.display_name, value: element }; }); return result; } -export async function getDataAddressGouvMock(value: string): Promise { +export async function getDataAddressGouvMock( + value: string, +): Promise[]> { const response = await fetch( `https://api-Adresse.data.gouv.fr/search/?q=${encodeURIComponent( value, diff --git a/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.tsx b/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.tsx index 8c00faca..fc874dfc 100644 --- a/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.tsx +++ b/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.tsx @@ -13,21 +13,21 @@ export interface IFetchOption { value: string; } -export interface IValue { +export interface IValue { label: string; - value: F; + value: T; } -export interface IFetchAutocompleteFieldProps +export interface IFetchAutocompleteFieldProps extends Omit { deDebounce?: number; minValueLength?: number; - onFetchData: (value: string) => Promise[]>; - onOptionSubmit?: (value: unknown) => void; + onFetchData: (value: string) => Promise[]>; + onOptionSubmit?: (value: IValue) => void; } -export function FetchAutocompleteField( - props: IFetchAutocompleteFieldProps, +export function FetchAutocompleteField( + props: IFetchAutocompleteFieldProps, ): ReactElement { const { deDebounce = 1000, @@ -38,7 +38,7 @@ export function FetchAutocompleteField( onFetchData, ...autocompleteProps } = props; - const [data, setData] = useState[]>([]); + const [data, setData] = useState[]>([]); const [value, setValue] = useDebouncedState('', deDebounce); useEffect(() => { diff --git a/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.stories.tsx b/packages/react-front-kit/src/Form/FetchAutocompleteField/OpenStreetMap.stories.tsx similarity index 57% rename from packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.stories.tsx rename to packages/react-front-kit/src/Form/FetchAutocompleteField/OpenStreetMap.stories.tsx index 8330301e..47d15627 100644 --- a/packages/react-front-kit/src/Form/FetchAutocompleteField/FetchAutocompleteField.stories.tsx +++ b/packages/react-front-kit/src/Form/FetchAutocompleteField/OpenStreetMap.stories.tsx @@ -1,34 +1,23 @@ +import type { IOpenStreetMapData } from './FetchAutoCompleteField.mock'; import type { Meta, StoryObj } from '@storybook/react'; import { action } from '@storybook/addon-actions'; -import { - getDataAddressGouvMock, - getDataOpenStreetMapMock, -} from './FetchAutoCompleteField.mock'; +import { getDataOpenStreetMapMock } from './FetchAutoCompleteField.mock'; import { FetchAutocompleteField as Cmp } from './FetchAutocompleteField'; const meta = { - component: Cmp, + component: Cmp, tags: ['autodocs'], title: '3-custom/Form/FetchAutocompleteField', -} satisfies Meta; +} satisfies Meta>; export default meta; type IStory = StoryObj; export const FieldWithOpenStreetMapApi: IStory = { args: { - // @ts-expect-error-type onFetchData: getDataOpenStreetMapMock, onOptionSubmit: action('location'), }, }; - -export const FieldWithAddressGouvApi: IStory = { - args: { - // @ts-expect-error-type - onFetchData: getDataAddressGouvMock, - onOptionSubmit: action('location'), - }, -}; From 51b6b391f6c3c139951c87c42f2442d362e8d57b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 17 Apr 2024 15:26:12 +0000 Subject: [PATCH 4/4] ci: version packages --- .changeset/lazy-berries-enjoy.md | 5 ----- .changeset/stale-dryers-move.md | 5 ----- .changeset/two-llamas-tan.md | 5 ----- packages/react-front-kit-dates/CHANGELOG.md | 8 ++++++++ packages/react-front-kit-dates/package.json | 6 +++--- packages/react-front-kit-dropzone/CHANGELOG.md | 8 ++++++++ packages/react-front-kit-dropzone/package.json | 6 +++--- packages/react-front-kit-shared/CHANGELOG.md | 2 ++ packages/react-front-kit-shared/package.json | 2 +- packages/react-front-kit-table/CHANGELOG.md | 8 ++++++++ packages/react-front-kit-table/package.json | 6 +++--- packages/react-front-kit/CHANGELOG.md | 13 +++++++++++++ packages/react-front-kit/package.json | 4 ++-- packages/storybook-pages/CHANGELOG.md | 14 ++++++++++++++ packages/storybook-pages/package.json | 2 +- 15 files changed, 66 insertions(+), 28 deletions(-) delete mode 100644 .changeset/lazy-berries-enjoy.md delete mode 100644 .changeset/stale-dryers-move.md delete mode 100644 .changeset/two-llamas-tan.md diff --git a/.changeset/lazy-berries-enjoy.md b/.changeset/lazy-berries-enjoy.md deleted file mode 100644 index c898be2b..00000000 --- a/.changeset/lazy-berries-enjoy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'storybook-pages': minor ---- - -add FetchAutocompleteField diff --git a/.changeset/stale-dryers-move.md b/.changeset/stale-dryers-move.md deleted file mode 100644 index 3d694355..00000000 --- a/.changeset/stale-dryers-move.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@smile/react-front-kit': minor ---- - -Add AddressAutocompleteFields diff --git a/.changeset/two-llamas-tan.md b/.changeset/two-llamas-tan.md deleted file mode 100644 index 793885a4..00000000 --- a/.changeset/two-llamas-tan.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@smile/react-front-kit': minor ---- - -add component AddressGouvAutoCompleteField diff --git a/packages/react-front-kit-dates/CHANGELOG.md b/packages/react-front-kit-dates/CHANGELOG.md index 0bde836f..60bcd406 100644 --- a/packages/react-front-kit-dates/CHANGELOG.md +++ b/packages/react-front-kit-dates/CHANGELOG.md @@ -1,5 +1,13 @@ # @smile/react-front-kit-dates +## 0.12.0 + +### Patch Changes + +- Updated dependencies [[`65cfb35a7a21cfca9c54970f16f1dcf95e56ec16`](https://github.com/Smile-SA/react-front-kit/commit/65cfb35a7a21cfca9c54970f16f1dcf95e56ec16), [`59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f`](https://github.com/Smile-SA/react-front-kit/commit/59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f)]: + - @smile/react-front-kit@0.12.0 + - @smile/react-front-kit-shared@0.12.0 + ## 0.11.0 ### Patch Changes diff --git a/packages/react-front-kit-dates/package.json b/packages/react-front-kit-dates/package.json index 089dbe12..20c6722d 100644 --- a/packages/react-front-kit-dates/package.json +++ b/packages/react-front-kit-dates/package.json @@ -1,6 +1,6 @@ { "name": "@smile/react-front-kit-dates", - "version": "0.11.0", + "version": "0.12.0", "description": "Date and Calendar React component library based on mantine", "license": "LGPL-3.0", "homepage": "https://github.com/Smile-SA/react-front-kit", @@ -70,8 +70,8 @@ "prepublishOnly": "npm run build && node ../../scripts/prepublish.mjs" }, "dependencies": { - "@smile/react-front-kit": "0.11.0", - "@smile/react-front-kit-shared": "0.11.0" + "@smile/react-front-kit": "0.12.0", + "@smile/react-front-kit-shared": "0.12.0" }, "devDependencies": { "@babel/preset-env": "^7.22.20", diff --git a/packages/react-front-kit-dropzone/CHANGELOG.md b/packages/react-front-kit-dropzone/CHANGELOG.md index 3625d0e4..35bdd6d7 100644 --- a/packages/react-front-kit-dropzone/CHANGELOG.md +++ b/packages/react-front-kit-dropzone/CHANGELOG.md @@ -1,5 +1,13 @@ # @smile/react-front-kit-dropzone +## 0.12.0 + +### Patch Changes + +- Updated dependencies [[`65cfb35a7a21cfca9c54970f16f1dcf95e56ec16`](https://github.com/Smile-SA/react-front-kit/commit/65cfb35a7a21cfca9c54970f16f1dcf95e56ec16), [`59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f`](https://github.com/Smile-SA/react-front-kit/commit/59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f)]: + - @smile/react-front-kit@0.12.0 + - @smile/react-front-kit-shared@0.12.0 + ## 0.11.0 ### Patch Changes diff --git a/packages/react-front-kit-dropzone/package.json b/packages/react-front-kit-dropzone/package.json index 2b6800a0..b719e061 100644 --- a/packages/react-front-kit-dropzone/package.json +++ b/packages/react-front-kit-dropzone/package.json @@ -1,6 +1,6 @@ { "name": "@smile/react-front-kit-dropzone", - "version": "0.11.0", + "version": "0.12.0", "description": "Dropzone React component library based on mantine", "license": "LGPL-3.0", "homepage": "https://github.com/Smile-SA/react-front-kit", @@ -54,8 +54,8 @@ "prepublishOnly": "npm run build && node ../../scripts/prepublish.mjs" }, "dependencies": { - "@smile/react-front-kit": "0.11.0", - "@smile/react-front-kit-shared": "0.11.0" + "@smile/react-front-kit": "0.12.0", + "@smile/react-front-kit-shared": "0.12.0" }, "devDependencies": { "@babel/preset-env": "^7.22.20", diff --git a/packages/react-front-kit-shared/CHANGELOG.md b/packages/react-front-kit-shared/CHANGELOG.md index c79e5b95..a46ea8f4 100644 --- a/packages/react-front-kit-shared/CHANGELOG.md +++ b/packages/react-front-kit-shared/CHANGELOG.md @@ -1,5 +1,7 @@ # @smile/react-front-kit-shared +## 0.12.0 + ## 0.11.0 ## 0.10.0 diff --git a/packages/react-front-kit-shared/package.json b/packages/react-front-kit-shared/package.json index 61e8e668..24b549aa 100644 --- a/packages/react-front-kit-shared/package.json +++ b/packages/react-front-kit-shared/package.json @@ -1,6 +1,6 @@ { "name": "@smile/react-front-kit-shared", - "version": "0.11.0", + "version": "0.12.0", "description": "Shared elements for react-front-kit component library based on mantine", "license": "LGPL-3.0", "homepage": "https://github.com/Smile-SA/react-front-kit", diff --git a/packages/react-front-kit-table/CHANGELOG.md b/packages/react-front-kit-table/CHANGELOG.md index 1b14fc66..4a05da63 100644 --- a/packages/react-front-kit-table/CHANGELOG.md +++ b/packages/react-front-kit-table/CHANGELOG.md @@ -1,5 +1,13 @@ # @smile/react-front-kit-table +## 0.12.0 + +### Patch Changes + +- Updated dependencies [[`65cfb35a7a21cfca9c54970f16f1dcf95e56ec16`](https://github.com/Smile-SA/react-front-kit/commit/65cfb35a7a21cfca9c54970f16f1dcf95e56ec16), [`59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f`](https://github.com/Smile-SA/react-front-kit/commit/59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f)]: + - @smile/react-front-kit@0.12.0 + - @smile/react-front-kit-shared@0.12.0 + ## 0.11.0 ### Minor Changes diff --git a/packages/react-front-kit-table/package.json b/packages/react-front-kit-table/package.json index 65a4aee3..d2b24b15 100644 --- a/packages/react-front-kit-table/package.json +++ b/packages/react-front-kit-table/package.json @@ -1,6 +1,6 @@ { "name": "@smile/react-front-kit-table", - "version": "0.11.0", + "version": "0.12.0", "description": "Table React component library based on mantine", "license": "LGPL-3.0", "homepage": "https://github.com/Smile-SA/react-front-kit", @@ -69,8 +69,8 @@ "prepublishOnly": "npm run build && node ../../scripts/prepublish.mjs" }, "dependencies": { - "@smile/react-front-kit": "0.11.0", - "@smile/react-front-kit-shared": "0.11.0" + "@smile/react-front-kit": "0.12.0", + "@smile/react-front-kit-shared": "0.12.0" }, "devDependencies": { "@babel/preset-env": "^7.22.20", diff --git a/packages/react-front-kit/CHANGELOG.md b/packages/react-front-kit/CHANGELOG.md index bbdfe46e..7347b6b0 100644 --- a/packages/react-front-kit/CHANGELOG.md +++ b/packages/react-front-kit/CHANGELOG.md @@ -1,5 +1,18 @@ # @smile/react-front-kit +## 0.12.0 + +### Minor Changes + +- [#174](https://github.com/Smile-SA/react-front-kit/pull/174) [`65cfb35a7a21cfca9c54970f16f1dcf95e56ec16`](https://github.com/Smile-SA/react-front-kit/commit/65cfb35a7a21cfca9c54970f16f1dcf95e56ec16) Thanks [@vapersmile](https://github.com/vapersmile)! - Add AddressAutocompleteFields + +- [#172](https://github.com/Smile-SA/react-front-kit/pull/172) [`59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f`](https://github.com/Smile-SA/react-front-kit/commit/59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f) Thanks [@vapersmile](https://github.com/vapersmile)! - add component AddressGouvAutoCompleteField + +### Patch Changes + +- Updated dependencies []: + - @smile/react-front-kit-shared@0.12.0 + ## 0.11.0 ### Minor Changes diff --git a/packages/react-front-kit/package.json b/packages/react-front-kit/package.json index e46fc19c..7c463920 100644 --- a/packages/react-front-kit/package.json +++ b/packages/react-front-kit/package.json @@ -1,6 +1,6 @@ { "name": "@smile/react-front-kit", - "version": "0.11.0", + "version": "0.12.0", "description": "React component library based on mantine", "license": "LGPL-3.0", "homepage": "https://github.com/Smile-SA/react-front-kit", @@ -69,7 +69,7 @@ "prepublishOnly": "npm run build && node ../../scripts/prepublish.mjs" }, "dependencies": { - "@smile/react-front-kit-shared": "0.11.0", + "@smile/react-front-kit-shared": "0.12.0", "pretty-bytes": "^6.1.1" }, "devDependencies": { diff --git a/packages/storybook-pages/CHANGELOG.md b/packages/storybook-pages/CHANGELOG.md index 2b891cf7..17fef31a 100644 --- a/packages/storybook-pages/CHANGELOG.md +++ b/packages/storybook-pages/CHANGELOG.md @@ -1,5 +1,19 @@ # storybook-pages +## 0.12.0 + +### Minor Changes + +- [#172](https://github.com/Smile-SA/react-front-kit/pull/172) [`59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f`](https://github.com/Smile-SA/react-front-kit/commit/59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f) Thanks [@vapersmile](https://github.com/vapersmile)! - add FetchAutocompleteField + +### Patch Changes + +- Updated dependencies [[`65cfb35a7a21cfca9c54970f16f1dcf95e56ec16`](https://github.com/Smile-SA/react-front-kit/commit/65cfb35a7a21cfca9c54970f16f1dcf95e56ec16), [`59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f`](https://github.com/Smile-SA/react-front-kit/commit/59acbe4471c19bd9bbe4ab2eee022fdcb1bbfd5f)]: + - @smile/react-front-kit@0.12.0 + - @smile/react-front-kit-dropzone@0.12.0 + - @smile/react-front-kit-table@0.12.0 + - @smile/react-front-kit-shared@0.12.0 + ## 0.11.0 ### Minor Changes diff --git a/packages/storybook-pages/package.json b/packages/storybook-pages/package.json index 7428d372..9f96065c 100644 --- a/packages/storybook-pages/package.json +++ b/packages/storybook-pages/package.json @@ -1,6 +1,6 @@ { "name": "storybook-pages", - "version": "0.11.0", + "version": "0.12.0", "private": true, "license": "LGPL-3.0", "publishConfig": {