diff --git a/package.json b/package.json index 32f82f7..9bde234 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "eslint": "8.57.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-import": "^2.29.1", - "flowbite-react": "^0.7.5", + "flowbite-react": "^0.9.0", "form-atoms": "3.2.5", "happy-dom": "12.10.3", "jotai": "^2.7.1", @@ -132,7 +132,7 @@ }, "peerDependencies": { "@form-atoms/field": "^5", - "flowbite-react": "^0.7.0", + "flowbite-react": "^0.9.0", "form-atoms": "^3", "jotai": "^2", "react": ">=16.8" diff --git a/tailwind.config.cjs b/tailwind.config.cjs index aff8c8b..74c2b55 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -1,11 +1,10 @@ +import flowbite from "flowbite-react/tailwind"; + /** @type {import('tailwindcss').Config} */ module.exports = { - content: [ - "./node_modules/flowbite-react/lib/esm/**/*.js", - "./src/**/*.{js,ts,jsx,tsx}", - ], + content: [flowbite.content(), "./src/**/*.{js,ts,jsx,tsx}"], theme: { extend: {}, }, - plugins: [require("flowbite/plugin")], + plugins: [flowbite.plugin()], }; diff --git a/yarn.lock b/yarn.lock index e202fc4..9ae6098 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1927,21 +1927,21 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.23.1": - version: 7.23.4 - resolution: "@babel/runtime@npm:7.23.4" +"@babel/runtime@npm:^7.23.2": + version: 7.23.9 + resolution: "@babel/runtime@npm:7.23.9" dependencies: regenerator-runtime: "npm:^0.14.0" - checksum: 6ef4f6dcc4ec4d74cb9f6c26a26e92d016b36debd167be48cae293fbd990b3157fb1d8d21c531285da15a5bda9ccb23e651b56234941e03d91c8af69d4c593a9 + checksum: 9a520fe1bf72249f7dd60ff726434251858de15cccfca7aa831bd19d0d3fb17702e116ead82724659b8da3844977e5e13de2bae01eb8a798f2823a669f122be6 languageName: node linkType: hard -"@babel/runtime@npm:^7.23.2": - version: 7.23.9 - resolution: "@babel/runtime@npm:7.23.9" +"@babel/runtime@npm:^7.24.0": + version: 7.24.4 + resolution: "@babel/runtime@npm:7.24.4" dependencies: regenerator-runtime: "npm:^0.14.0" - checksum: 9a520fe1bf72249f7dd60ff726434251858de15cccfca7aa831bd19d0d3fb17702e116ead82724659b8da3844977e5e13de2bae01eb8a798f2823a669f122be6 + checksum: 8ec8ce2c145bc7e31dd39ab66df124f357f65c11489aefacb30f431bae913b9aaa66aa5efe5321ea2bf8878af3fcee338c87e7599519a952e3a6f83aa1b03308 languageName: node linkType: hard @@ -2638,6 +2638,15 @@ __metadata: languageName: node linkType: hard +"@floating-ui/core@npm:1.6.0, @floating-ui/core@npm:^1.0.0": + version: 1.6.0 + resolution: "@floating-ui/core@npm:1.6.0" + dependencies: + "@floating-ui/utils": "npm:^0.2.1" + checksum: d6a47cacde193cd8ccb4c268b91ccc4ca254dffaec6242b07fd9bcde526044cc976d27933a7917f9a671de0a0e27f8d358f46400677dbd0c8199de293e9746e1 + languageName: node + linkType: hard + "@floating-ui/core@npm:^1.2.1": version: 1.2.1 resolution: "@floating-ui/core@npm:1.2.1" @@ -2645,15 +2654,6 @@ __metadata: languageName: node linkType: hard -"@floating-ui/core@npm:^1.4.2": - version: 1.5.0 - resolution: "@floating-ui/core@npm:1.5.0" - dependencies: - "@floating-ui/utils": "npm:^0.1.3" - checksum: 3182715a30493f44a32158f4d77ab5b6c212064b160cb84b5b8405ec2845bd8a9167c25292709e841cad9e70c6b9efdc30f876044e3b0909139fea8eca00c631 - languageName: node - linkType: hard - "@floating-ui/dom@npm:^1.2.1": version: 1.2.1 resolution: "@floating-ui/dom@npm:1.2.1" @@ -2663,13 +2663,13 @@ __metadata: languageName: node linkType: hard -"@floating-ui/dom@npm:^1.5.1": - version: 1.5.3 - resolution: "@floating-ui/dom@npm:1.5.3" +"@floating-ui/dom@npm:^1.6.1": + version: 1.6.3 + resolution: "@floating-ui/dom@npm:1.6.3" dependencies: - "@floating-ui/core": "npm:^1.4.2" - "@floating-ui/utils": "npm:^0.1.3" - checksum: d2d5ae7a0949c0ebf7fbf97a21612bf94dbd29cb6c847e00588b8e2a5575ade27c47cb19f5d230fc21a571d99aa0c714b301c9221d33921047408c0ed9d91a30 + "@floating-ui/core": "npm:^1.0.0" + "@floating-ui/utils": "npm:^0.2.0" + checksum: 83e97076c7a5f55c3506f574bc53f03d38bed6eb8181920c8733076889371e287e9ae6f28c520a076967759b9b6ff425362832a5cdf16a999069530dbb9cce53 languageName: node linkType: hard @@ -2685,50 +2685,50 @@ __metadata: languageName: node linkType: hard -"@floating-ui/react-dom@npm:^2.0.3": - version: 2.0.4 - resolution: "@floating-ui/react-dom@npm:2.0.4" +"@floating-ui/react-dom@npm:^2.0.0": + version: 2.0.8 + resolution: "@floating-ui/react-dom@npm:2.0.8" dependencies: - "@floating-ui/dom": "npm:^1.5.1" + "@floating-ui/dom": "npm:^1.6.1" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: 4240a718502c797fd2e174cd06dcd7321a6eda9c8966dbaf61864b9e16445e95649a59bfe7c19ee13f68c11f3693724d7970c7e618089a3d3915bd343639cfae + checksum: e57b2a498aecf8de0ec28adf434257fca7893bd9bd7e78b63ac98c63b29b9fc086fc175630154352f3610f5c4a0d329823837f4f6c235cc0459fde6417065590 languageName: node linkType: hard -"@floating-ui/react@npm:^0.19.1": - version: 0.19.2 - resolution: "@floating-ui/react@npm:0.19.2" +"@floating-ui/react@npm:0.26.10": + version: 0.26.10 + resolution: "@floating-ui/react@npm:0.26.10" dependencies: - "@floating-ui/react-dom": "npm:^1.3.0" - aria-hidden: "npm:^1.1.3" - tabbable: "npm:^6.0.1" + "@floating-ui/react-dom": "npm:^2.0.0" + "@floating-ui/utils": "npm:^0.2.0" + tabbable: "npm:^6.0.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: fff23fc3c55b35ff2e358687a7a12264651aff320c38fac54e23a6f80da7b4ac66a3a8cc793736a52d44a79f277613bcd6504ccd0c2436907a09fde17107fda2 + checksum: 7bbb22d61f180a3ef245da4c57c8773c38994087e1f593b2be7377796d66a0050109a4f3f57f63653662130bcf01c47a7b254d7448383339870bf9208624640d languageName: node linkType: hard -"@floating-ui/react@npm:^0.26.2": - version: 0.26.3 - resolution: "@floating-ui/react@npm:0.26.3" +"@floating-ui/react@npm:^0.19.1": + version: 0.19.2 + resolution: "@floating-ui/react@npm:0.19.2" dependencies: - "@floating-ui/react-dom": "npm:^2.0.3" - "@floating-ui/utils": "npm:^0.1.5" + "@floating-ui/react-dom": "npm:^1.3.0" + aria-hidden: "npm:^1.1.3" tabbable: "npm:^6.0.1" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: 4de87f3c29553d3be365da6f8d78afafa1bbbd773629d50b5826ac7a91e81bdb8ee7ec89f6727fe9af1b52d44b5db05d1a775600f99db3ed3dfc6b73e57a8d16 + checksum: fff23fc3c55b35ff2e358687a7a12264651aff320c38fac54e23a6f80da7b4ac66a3a8cc793736a52d44a79f277613bcd6504ccd0c2436907a09fde17107fda2 languageName: node linkType: hard -"@floating-ui/utils@npm:^0.1.3, @floating-ui/utils@npm:^0.1.5": - version: 0.1.6 - resolution: "@floating-ui/utils@npm:0.1.6" - checksum: 450ec4ecc1dd8161b1904d4e1e9d95e653cc06f79af6c3b538b79efb10541d90bcc88646ab3cdffc5b92e00c4804ca727b025d153ad285f42dbbb39aec219ec9 +"@floating-ui/utils@npm:^0.2.0, @floating-ui/utils@npm:^0.2.1": + version: 0.2.1 + resolution: "@floating-ui/utils@npm:0.2.1" + checksum: 33c9ab346e7b05c5a1e6a95bc902aafcfc2c9d513a147e2491468843bd5607531b06d0b9aa56aa491cbf22a6c2495c18ccfc4c0344baec54a689a7bb8e4898d6 languageName: node linkType: hard @@ -2785,7 +2785,7 @@ __metadata: eslint: "npm:8.57.0" eslint-import-resolver-typescript: "npm:^3.6.1" eslint-plugin-import: "npm:^2.29.1" - flowbite-react: "npm:^0.7.5" + flowbite-react: "npm:^0.9.0" form-atoms: "npm:3.2.5" happy-dom: "npm:12.10.3" jotai: "npm:^2.7.1" @@ -2807,7 +2807,7 @@ __metadata: zod: "npm:^3.22.4" peerDependencies: "@form-atoms/field": ^5 - flowbite-react: ^0.7.0 + flowbite-react: ^0.9.0 form-atoms: ^3 jotai: ^2 react: ">=16.8" @@ -6675,7 +6675,7 @@ __metadata: languageName: node linkType: hard -"classnames@npm:^2.5.1": +"classnames@npm:2.5.1": version: 2.5.1 resolution: "classnames@npm:2.5.1" checksum: 58eb394e8817021b153bb6e7d782cfb667e4ab390cb2e9dac2fc7c6b979d1cc2b2a733093955fc5c94aa79ef5c8c89f11ab77780894509be6afbb91dddd79d15 @@ -7171,7 +7171,7 @@ __metadata: languageName: node linkType: hard -"debounce@npm:^2.0.0": +"debounce@npm:2.0.0": version: 2.0.0 resolution: "debounce@npm:2.0.0" checksum: 79d143e0b3c3d15f8ecaf5dd68ad087ed58b0eaf507ee005f9d5b503cafd03acccd69f5341788cca9c82574662da066b0efb1ed5c64282b2cca64fab65af4acf @@ -8574,31 +8574,32 @@ __metadata: languageName: node linkType: hard -"flowbite-react@npm:^0.7.5": - version: 0.7.5 - resolution: "flowbite-react@npm:0.7.5" +"flowbite-react@npm:^0.9.0": + version: 0.9.0 + resolution: "flowbite-react@npm:0.9.0" dependencies: - "@floating-ui/react": "npm:^0.26.2" - classnames: "npm:^2.5.1" - debounce: "npm:^2.0.0" - flowbite: "npm:^2.0.0" - react-icons: "npm:^4.11.0" - tailwind-merge: "npm:^2.0.0" + "@floating-ui/core": "npm:1.6.0" + "@floating-ui/react": "npm:0.26.10" + classnames: "npm:2.5.1" + debounce: "npm:2.0.0" + flowbite: "npm:2.3.0" + react-icons: "npm:5.0.1" + tailwind-merge: "npm:2.2.2" peerDependencies: - react: ^18 - react-dom: ^18 + react: ">=18" + react-dom: ">=18" tailwindcss: ^3 - checksum: c8bb9b8e34fc45ab82f12ada02281a415dc47d5f7a6f9a4942cd03631139e9492deb086474ff953e30ec87635a9f533f8bc6535075cc24f2ac22b0e6a54028cb + checksum: 1b22b88cfb5f42db4e39e5e68b8826109b4e44e32413d25908a8ae1013a6e98a32fc00ef01a1a1c59a1071197cb4e91af9f60a806fb019a12a2f0266b79859a8 languageName: node linkType: hard -"flowbite@npm:^2.0.0": - version: 2.2.0 - resolution: "flowbite@npm:2.2.0" +"flowbite@npm:2.3.0": + version: 2.3.0 + resolution: "flowbite@npm:2.3.0" dependencies: "@popperjs/core": "npm:^2.9.3" mini-svg-data-uri: "npm:^1.4.3" - checksum: f00f730325ab69f876bf0cb0cd0ab9a0aac621eb20d096c67e0e0aeeaf67f5d6f91aa195aefcb3c1d5554a07b214c29996a30427405b26cd69e2d9fab2b64fb7 + checksum: a72bc4c68fd6cc832e2df2fbf329eca5d96d8297da6f0578addca68fccc8e33fcc12c00403b2b8cf550a345e46831d86a35e69b2fd4e79b7087f01b7712310a3 languageName: node linkType: hard @@ -12934,7 +12935,16 @@ __metadata: languageName: node linkType: hard -"react-icons@npm:^4.11.0, react-icons@npm:^4.12.0": +"react-icons@npm:5.0.1": + version: 5.0.1 + resolution: "react-icons@npm:5.0.1" + peerDependencies: + react: "*" + checksum: c4458c643ae32a793ddebc5fa1235c7ec051be1b131205510e8199d15a4c89221a501f95a71fa21c2da93e8dd225290e2e24bb80abd3fb85801e43009e692098 + languageName: node + linkType: hard + +"react-icons@npm:^4.12.0": version: 4.12.0 resolution: "react-icons@npm:4.12.0" peerDependencies: @@ -14397,6 +14407,13 @@ __metadata: languageName: node linkType: hard +"tabbable@npm:^6.0.0": + version: 6.2.0 + resolution: "tabbable@npm:6.2.0" + checksum: 980fa73476026e99dcacfc0d6e000d41d42c8e670faf4682496d30c625495e412c4369694f2a15cf1e5252d22de3c396f2b62edbe8d60b5dadc40d09e3f2dde3 + languageName: node + linkType: hard + "tabbable@npm:^6.0.1": version: 6.1.1 resolution: "tabbable@npm:6.1.1" @@ -14404,12 +14421,12 @@ __metadata: languageName: node linkType: hard -"tailwind-merge@npm:^2.0.0": - version: 2.0.0 - resolution: "tailwind-merge@npm:2.0.0" +"tailwind-merge@npm:2.2.2": + version: 2.2.2 + resolution: "tailwind-merge@npm:2.2.2" dependencies: - "@babel/runtime": "npm:^7.23.1" - checksum: d20d2551f4b2fd9eb68466accccf9b81baef0d8cfb9ecf89738a9abe72e023ec9fe9aad5b3b9da0a0b0ec340432069568b83dea9463ae670a20a9937fbb59bb0 + "@babel/runtime": "npm:^7.24.0" + checksum: f7ec370e58d1d8f12ed6509d93333f2dacfcb43110334c5424db50ae456d14939ad32cff1ef7e31d1d10a6fff9d2e80be11560ef1ebb3fe5c83de6d465a7f7b8 languageName: node linkType: hard