From 1f8909504ba0c7ec182f744017c57d62429f5171 Mon Sep 17 00:00:00 2001 From: brooke Date: Tue, 29 Oct 2024 16:15:03 -0400 Subject: [PATCH] upadte componentes --- package-lock.json | 87 ++++++++++++++++++++++++++++++----------------- package.json | 13 +++---- 2 files changed, 63 insertions(+), 37 deletions(-) diff --git a/package-lock.json b/package-lock.json index d94a4bf0..f10d59c6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,11 +18,11 @@ "@leafygreen-ui/callout": "^10.0.0", "@leafygreen-ui/card": "^11.0.0", "@leafygreen-ui/code": "^14.4.0", - "@leafygreen-ui/combobox": "^9.1.3", + "@leafygreen-ui/combobox": "^9.1.5", "@leafygreen-ui/confirmation-modal": "^5.2.1", "@leafygreen-ui/copyable": "^8.1.0", "@leafygreen-ui/date-picker": "^1.2.1", - "@leafygreen-ui/empty-state": "^1.0.17", + "@leafygreen-ui/empty-state": "^1.1.0", "@leafygreen-ui/expandable-card": "^3.2.4", "@leafygreen-ui/form-footer": "^4.0.0", "@leafygreen-ui/guide-cue": "^5.1.0", @@ -40,11 +40,11 @@ "@leafygreen-ui/pipeline": "^5.0.20", "@leafygreen-ui/radio-box-group": "^13.0.2", "@leafygreen-ui/radio-group": "^11.0.3", - "@leafygreen-ui/search-input": "^3.1.2", - "@leafygreen-ui/segmented-control": "^8.2.13", - "@leafygreen-ui/select": "^12.1.4", + "@leafygreen-ui/search-input": "^3.1.4", + "@leafygreen-ui/segmented-control": "^9.0.0", + "@leafygreen-ui/select": "^12.1.6", "@leafygreen-ui/side-nav": "^14.1.3", - "@leafygreen-ui/skeleton-loader": "^1.3.0", + "@leafygreen-ui/skeleton-loader": "^1.3.1", "@leafygreen-ui/split-button": "^1.1.3", "@leafygreen-ui/stepper": "^3.2.13", "@leafygreen-ui/table": "^12.7.0", @@ -59,6 +59,7 @@ "@lg-tools/storybook-utils": "^0.1.1", "@next/third-parties": "^14.2.3", "@storybook/react": "^8.0.10", + "@storybook/testing-library": "^0.2.2", "commander": "^12.0.0", "contentstack": "^3.19.2", "fuse.js": "^7.0.0", @@ -898,15 +899,15 @@ } }, "node_modules/@leafygreen-ui/combobox": { - "version": "9.1.3", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/combobox/-/combobox-9.1.3.tgz", - "integrity": "sha512-Fb0A45hYhcEumy4fsubzYHenjkgT70ITxEi4A4p8TiobRPfpG5KQqp7vFbRK1ER+5Kq45r8c92PZVjffMKOAMw==", + "version": "9.1.5", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/combobox/-/combobox-9.1.5.tgz", + "integrity": "sha512-KGTYb3cPSToTsK1CsDqovd4uqkaBWudnnW1IXmMSBckl7BuYspBPY5QsKjjSUtsJr5DPBE14+CxIBaGP9sNE8A==", "dependencies": { "@leafygreen-ui/checkbox": "^13.1.2", "@leafygreen-ui/chip": "^1.2.1", "@leafygreen-ui/emotion": "^4.0.8", "@leafygreen-ui/form-field": "^1.2.4", - "@leafygreen-ui/hooks": "^8.1.4", + "@leafygreen-ui/hooks": "^8.2.1", "@leafygreen-ui/icon": "^12.5.4", "@leafygreen-ui/icon-button": "^15.0.23", "@leafygreen-ui/input-option": "^2.0.2", @@ -1026,10 +1027,11 @@ } }, "node_modules/@leafygreen-ui/empty-state": { - "version": "1.0.17", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/empty-state/-/empty-state-1.0.17.tgz", - "integrity": "sha512-gdQa9BnApX9Um4yQgnkWszPzBL/X/ZC3wGKm9VY0uY2Mp+G8bYA4WwXQ1sGjNBkevnY2Qma+XxEulDamlcxP2Q==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/empty-state/-/empty-state-1.1.0.tgz", + "integrity": "sha512-SZZbSHm4kbeTJM4m9ClXvKKyGqQE+2BWu1Z6IbR+jUe2kZqkA5pz2m5rhWXrx8lvICKXngAboRqjduxc+OBeRQ==", "dependencies": { + "@leafygreen-ui/badge": "^8.1.3", "@leafygreen-ui/button": "^21.2.1", "@leafygreen-ui/emotion": "^4.0.8", "@leafygreen-ui/lib": "^13.3.0", @@ -1120,9 +1122,9 @@ } }, "node_modules/@leafygreen-ui/hooks": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/hooks/-/hooks-8.2.0.tgz", - "integrity": "sha512-ep2myeAlpRV0COVJFoQqRXIWTz1D0GpsFu4r7oLz//dRZvRNg0NVB+kSYQzDjxcQRZfppxWPeQm+fSOlh33a+Q==", + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/hooks/-/hooks-8.2.1.tgz", + "integrity": "sha512-yozp+WfMo1aNzQJG4WOa4eoxEEMK3T7Q7D2AObRWEPR+jPeeocsBKSHoAkUsfJ/8AklQ+LIWM1SvtUm4iuLXtQ==", "dependencies": { "@leafygreen-ui/lib": "^13.3.0", "lodash": "^4.17.21" @@ -1479,13 +1481,13 @@ } }, "node_modules/@leafygreen-ui/search-input": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/search-input/-/search-input-3.1.2.tgz", - "integrity": "sha512-zsiXZ4QfTSYiNUvcLxAoi+xNDO8dKRpb+FMixvg7EeqLGUnirgj3PgbQMaBTUiyIsr0ZG5MffqafO3iORHaPvg==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/search-input/-/search-input-3.1.4.tgz", + "integrity": "sha512-pZKkBJ+R8KjNA+uwOUAwsCKy/8jDdE8/zEhO623dbMtDr83yL4lq4K07ZK6a0CSrooxOcf1+1uYGGzt8dgU1sg==", "dependencies": { "@leafygreen-ui/a11y": "^1.5.0", "@leafygreen-ui/emotion": "^4.0.8", - "@leafygreen-ui/hooks": "^8.1.3", + "@leafygreen-ui/hooks": "^8.2.1", "@leafygreen-ui/icon": "^12.5.4", "@leafygreen-ui/icon-button": "^15.0.21", "@leafygreen-ui/input-option": "^2.0.0", @@ -1503,13 +1505,13 @@ } }, "node_modules/@leafygreen-ui/segmented-control": { - "version": "8.2.13", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/segmented-control/-/segmented-control-8.2.13.tgz", - "integrity": "sha512-SqXcAJnOqUslrGYZNfAQuhV7zkftUTHF3AKHbo/FZt5BUtbzhbEr01JhGxoG5mcVTvKIptL+eHLEoCy+2IvyMw==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/segmented-control/-/segmented-control-9.0.0.tgz", + "integrity": "sha512-oWcG8/oXobja+KszQzz9I2i7JWb9PNIhOHYgpj6GxJpciYGucX/wg2/nHXLt6u8n4nsjOQmuIxg+BwgVYviJfw==", "dependencies": { "@leafygreen-ui/box": "^3.1.9", "@leafygreen-ui/emotion": "^4.0.8", - "@leafygreen-ui/hooks": "^8.1.3", + "@leafygreen-ui/hooks": "^8.2.1", "@leafygreen-ui/icon": "^12.4.0", "@leafygreen-ui/lib": "^13.3.0", "@leafygreen-ui/palette": "^4.0.9", @@ -1523,14 +1525,14 @@ } }, "node_modules/@leafygreen-ui/select": { - "version": "12.1.4", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/select/-/select-12.1.4.tgz", - "integrity": "sha512-FUb2y2UbytstILK11jOLCIH8am2rF8e/8QAoZ6D1SNgEgmOnOyn0krP8aM7B7P2YNy/oMKFYFwFIU/zsbG3g8w==", + "version": "12.1.6", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/select/-/select-12.1.6.tgz", + "integrity": "sha512-8hPk1Y2jDMxRbWgEifC4BB6DzPFLDJFNCHrbZoS+svpaG+9b9ubDwJ6doqZzwNnvcBiVSKL5TdNRbq1HRmNPjA==", "dependencies": { "@leafygreen-ui/button": "^21.2.0", "@leafygreen-ui/emotion": "^4.0.8", "@leafygreen-ui/form-field": "^1.2.4", - "@leafygreen-ui/hooks": "^8.1.3", + "@leafygreen-ui/hooks": "^8.2.1", "@leafygreen-ui/icon": "^12.5.4", "@leafygreen-ui/input-option": "^2.0.1", "@leafygreen-ui/lib": "^13.6.1", @@ -1577,9 +1579,9 @@ } }, "node_modules/@leafygreen-ui/skeleton-loader": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@leafygreen-ui/skeleton-loader/-/skeleton-loader-1.3.0.tgz", - "integrity": "sha512-SEByczmdST8PhKbdctW+C+nVWgV7EHggs0EUDnHcDdV2RuS8ivduE6OcaSKsm7qXLhkxYr4SJp4ll+aOwXbicA==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@leafygreen-ui/skeleton-loader/-/skeleton-loader-1.3.1.tgz", + "integrity": "sha512-o/zhi6inhLrzAGbMwwV0IczctMwW7xSQBLK46ShgI3CWWgg37tukTFdKp5ngYgXOyV3qBALB7V6RviCQldQYbA==", "dependencies": { "@leafygreen-ui/card": "^11.0.0", "@leafygreen-ui/emotion": "^4.0.8", @@ -2335,6 +2337,17 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@storybook/testing-library": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@storybook/testing-library/-/testing-library-0.2.2.tgz", + "integrity": "sha512-L8sXFJUHmrlyU2BsWWZGuAjv39Jl1uAqUHdxmN42JY15M4+XCMjGlArdCCjDe1wpTSW6USYISA9axjZojgtvnw==", + "deprecated": "In Storybook 8, this package functionality has been integrated to a new package called @storybook/test, which uses Vitest APIs for an improved experience. When upgrading to Storybook 8 with 'npx storybook@latest upgrade', you will get prompted and will get an automigration for the new package. Please migrate when you can.", + "dependencies": { + "@testing-library/dom": "^9.0.0", + "@testing-library/user-event": "^14.4.0", + "ts-dedent": "^2.2.0" + } + }, "node_modules/@storybook/types": { "version": "8.0.10", "resolved": "https://registry.npmjs.org/@storybook/types/-/types-8.0.10.tgz", @@ -2420,6 +2433,18 @@ "deep-equal": "^2.0.5" } }, + "node_modules/@testing-library/user-event": { + "version": "14.5.2", + "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.5.2.tgz", + "integrity": "sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==", + "engines": { + "node": ">=12", + "npm": ">=6" + }, + "peerDependencies": { + "@testing-library/dom": ">=7.21.4" + } + }, "node_modules/@types/aria-query": { "version": "5.0.4", "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz", diff --git a/package.json b/package.json index 37d42529..c0f8b1db 100644 --- a/package.json +++ b/package.json @@ -20,11 +20,11 @@ "@leafygreen-ui/callout": "^10.0.0", "@leafygreen-ui/card": "^11.0.0", "@leafygreen-ui/code": "^14.4.0", - "@leafygreen-ui/combobox": "^9.1.3", + "@leafygreen-ui/combobox": "^9.1.5", "@leafygreen-ui/confirmation-modal": "^5.2.1", "@leafygreen-ui/copyable": "^8.1.0", "@leafygreen-ui/date-picker": "^1.2.1", - "@leafygreen-ui/empty-state": "^1.0.17", + "@leafygreen-ui/empty-state": "^1.1.0", "@leafygreen-ui/expandable-card": "^3.2.4", "@leafygreen-ui/form-footer": "^4.0.0", "@leafygreen-ui/guide-cue": "^5.1.0", @@ -42,11 +42,11 @@ "@leafygreen-ui/pipeline": "^5.0.20", "@leafygreen-ui/radio-box-group": "^13.0.2", "@leafygreen-ui/radio-group": "^11.0.3", - "@leafygreen-ui/search-input": "^3.1.2", - "@leafygreen-ui/segmented-control": "^8.2.13", - "@leafygreen-ui/select": "^12.1.4", + "@leafygreen-ui/search-input": "^3.1.4", + "@leafygreen-ui/segmented-control": "^9.0.0", + "@leafygreen-ui/select": "^12.1.6", "@leafygreen-ui/side-nav": "^14.1.3", - "@leafygreen-ui/skeleton-loader": "^1.3.0", + "@leafygreen-ui/skeleton-loader": "^1.3.1", "@leafygreen-ui/split-button": "^1.1.3", "@leafygreen-ui/stepper": "^3.2.13", "@leafygreen-ui/table": "^12.7.0", @@ -61,6 +61,7 @@ "@lg-tools/storybook-utils": "^0.1.1", "@next/third-parties": "^14.2.3", "@storybook/react": "^8.0.10", + "@storybook/testing-library": "^0.2.2", "commander": "^12.0.0", "contentstack": "^3.19.2", "fuse.js": "^7.0.0",