From 52e3d1f441765f409ddb5c98dce1e407b707be0a Mon Sep 17 00:00:00 2001 From: "cultureamp-renovate[bot]" <89962466+cultureamp-renovate[bot]@users.noreply.github.com> Date: Wed, 19 Jul 2023 17:50:32 +1000 Subject: [PATCH] chore(deps): dependency refresh (#3815) * chore(deps): update dependency @changesets/cli to ^2.26.2 * chore(deps): update dependency @tanstack/react-query to ^4.29.19 * chore(deps): update dependency jest-canvas-mock to ^2.5.2 * chore(deps): update dependency turbo to ^1.10.7 * chore(deps): update dependency webpack to ^5.88.1 * chore(deps): update eslint dependencies * chore(deps): update storybook monorepo to ^7.0.24 * chore(deps): update babel monorepo * chore(deps): update dependency babel-loader to ^9.1.3 * chore(deps): update storybook monorepo to ^7.0.26 * chore(deps): update dependency jest-environment-jsdom to ^29.6.1 * chore(deps): update eslint dependencies to ^5.61.0 * chore(deps): update dependency postcss-preset-env to v9 (#3856) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update dependency stylelint-config-standard-scss to v10 (#3836) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update dependency esbuild to ^0.18.11 (#3817) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update jest dependencies (#3818) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * fix(deps): update dependency @react-stately/menu to ^3.5.3 (#3819) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update dependency rollup to ^3.26.2 (#3821) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * fix(deps): update dependency @cultureamp/i18n-react-intl to ^1.4.3 (#3822) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * fix(deps): update dependency @react-aria/button to ^3.8.0 (#3824) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * fix(deps): update dependency @react-aria/i18n to ^3.8.0 (#3827) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * fix(deps): update dependency @react-aria/overlays to ^3.15.0 (#3830) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * fix(deps): update dependency @react-aria/utils to ^3.18.0 (#3832) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * fix(deps): update dependency react-animate-height to ^3.1.2 (#3853) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * fix(deps): update dependency react-focus-lock to ^2.9.5 (#3854) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @rollup/plugin-typescript to ^11.1.2 (#3816) * chore(deps): update dependency @rollup/plugin-typescript to ^11.1.2 * remove changset * Delete forty-eagles-pull.md removing changeset to add in the rollup branch later --------- Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Winter Co-authored-by: Michael Winter <36558508+mcwinter07@users.noreply.github.com> * chore(deps): update dependency @rollup/plugin-commonjs to ^25.0.3 (#3880) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update eslint dependencies to v6 (#3879) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * fix(deps): update dependency react-animate-height to ^3.2.2 (#3878) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @playwright/test to ^1.36.1 (#3876) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * fix(deps): update dependency react-select to ^5.7.4 (#3875) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update dependency tailwindcss to ^3.3.3 (#3872) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update dependency esbuild to ^0.18.13 (#3871) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/jest to ^29.5.3 (#3870) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @tanstack/react-query to ^4.29.25 (#3869) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * fix(deps): update dependency react-focus-on to ^3.9.1 (#3855) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * chore(deps): update storybook monorepo to ^7.0.27 (#3874) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Winter <36558508+mcwinter07@users.noreply.github.com> * chore(deps): update react monorepo (#3873) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Winter <36558508+mcwinter07@users.noreply.github.com> * fix(deps): update dependency @react-stately/list to ^3.9.0 (#3835) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * fix(deps): update dependency @react-stately/collections to ^3.9.0 (#3833) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Winter <36558508+mcwinter07@users.noreply.github.com> * chore(deps): update babel monorepo to ^7.22.9 (#3868) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * resolve conlficts and run linter (#3877) Co-authored-by: Michael Winter * chore(deps): update dependency prettier to v3 (#3857) * chore(deps): update dependency prettier to v3 * update formatJson util to align to API change for prettier. run lint:fix --------- Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Winter * fix(deps): update dependency @react-aria/menu to ^3.10.0 (#3829) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * fix(deps): update dependency @react-aria/listbox to ^3.10.0 (#3828) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Winter <36558508+mcwinter07@users.noreply.github.com> * fix(deps): update dependency @react-stately/select to ^3.5.2 (#3820) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> * fix(deps): update dependency @react-aria/focus to ^3.13.0 (#3826) Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Winter <36558508+mcwinter07@users.noreply.github.com> * update stylelint rc following prettier v3 update (#3885) * add changeset --------- Co-authored-by: Self-hosted Renovate Bot <135776+cultureamp-renovate[bot]@users.noreply.github.com> Co-authored-by: cultureamp-renovate[bot] <89962466+cultureamp-renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Winter Co-authored-by: Michael Winter <36558508+mcwinter07@users.noreply.github.com> --- .changeset/fuzzy-feet-bow.md | 25 + .stylelintrc.json | 3 +- .../badge/KaizenDraft/Badge/Badge.module.scss | 3 +- draft-packages/collapsible/package.json | 2 +- .../ToggleSwitch/ToggleSwitch.module.scss | 4 +- .../KaizenDraft/Illustration/Spot.tsx | 15 +- .../LikertScaleLegacy.module.scss | 8 +- draft-packages/modal/package.json | 2 +- .../popover/KaizenDraft/Popover/Popover.tsx | 2 +- draft-packages/select/package.json | 2 +- .../table/KaizenDraft/Table/Table.module.scss | 9 +- .../TitleBlockZen/TitleBlockZen.module.scss | 4 +- draft-packages/title-block-zen/package.json | 2 +- .../KaizenDraft/Tooltip/Tooltip.module.scss | 3 +- package.json | 74 +- .../components/MenuList/Menu.module.scss | 3 +- packages/components/package.json | 34 +- .../FilterBar/context/FilterBarContext.tsx | 4 +- .../components/src/FilterBar/context/types.ts | 2 +- packages/components/src/FilterBar/types.ts | 2 +- .../FilterSelect/context/SelectContext.tsx | 2 +- packages/components/src/FilterSelect/types.ts | 2 +- ...transformSelectItemToCollectionElement.tsx | 2 +- .../components/src/types/OverrideClassName.ts | 6 +- packages/date-picker/package.json | 4 +- .../design-tokens/bin/buildCssVarTokens.ts | 16 +- .../src/lib/makeCssVariableTheme.ts | 2 +- .../design-tokens/src/lib/mapLeafsOfObject.ts | 2 +- packages/notification/src/_styles.scss | 7 +- .../EditableRichTextContent.module.scss | 3 +- .../RichTextEditor/RichTextEditor.module.scss | 3 +- packages/select/package.json | 20 +- packages/tailwind/package.json | 2 +- yarn.lock | 3510 +++++++++++------ 34 files changed, 2390 insertions(+), 1394 deletions(-) create mode 100644 .changeset/fuzzy-feet-bow.md diff --git a/.changeset/fuzzy-feet-bow.md b/.changeset/fuzzy-feet-bow.md new file mode 100644 index 00000000000..2b34ae3f8de --- /dev/null +++ b/.changeset/fuzzy-feet-bow.md @@ -0,0 +1,25 @@ +--- +"@kaizen/draft-likert-scale-legacy": patch +"@kaizen/draft-title-block-zen": patch +"@kaizen/draft-illustration": patch +"@kaizen/draft-collapsible": patch +"@kaizen/component-library": patch +"@kaizen/rich-text-editor": patch +"@kaizen/draft-popover": patch +"@kaizen/draft-tooltip": patch +"@kaizen/design-tokens": patch +"@kaizen/draft-select": patch +"@kaizen/notification": patch +"@kaizen/draft-badge": patch +"@kaizen/draft-modal": patch +"@kaizen/draft-table": patch +"@kaizen/date-picker": patch +"@kaizen/draft-form": patch +"@kaizen/components": patch +"@kaizen/tailwind": patch +"@kaizen/select": patch +--- + +Update dependencies + - update to prettier v3 cause minor linting changes + - update to prettier v3 required minor type fixes for format function in design-tokens diff --git a/.stylelintrc.json b/.stylelintrc.json index 7ea39beaab0..db6c98edfdc 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -107,6 +107,7 @@ "ignoreProperties": ["composes", "/font-family/"] } ], - "value-no-vendor-prefix": true + "value-no-vendor-prefix": true, + "scss/dollar-variable-colon-space-after": "always-single-line" } } diff --git a/draft-packages/badge/KaizenDraft/Badge/Badge.module.scss b/draft-packages/badge/KaizenDraft/Badge/Badge.module.scss index 9900b5b892b..4b361a45eba 100644 --- a/draft-packages/badge/KaizenDraft/Badge/Badge.module.scss +++ b/draft-packages/badge/KaizenDraft/Badge/Badge.module.scss @@ -81,7 +81,8 @@ $small: $spacing-md; $badge-duration-timing: ($animation-duration-slow / 2) $animation-easing-function-ease-in; -$badge-transition: transform $badge-duration-timing, +$badge-transition: + transform $badge-duration-timing, background-color $badge-duration-timing; .animation { diff --git a/draft-packages/collapsible/package.json b/draft-packages/collapsible/package.json index c8129225c8e..f84eb85397b 100644 --- a/draft-packages/collapsible/package.json +++ b/draft-packages/collapsible/package.json @@ -31,7 +31,7 @@ "@kaizen/component-library": "^16.8.2", "@kaizen/typography": "^2.3.11", "classnames": "^2.3.2", - "react-animate-height": "^3.1.1" + "react-animate-height": "^3.2.2" }, "peerDependencies": { "@kaizen/design-tokens": "^2.10.3 || ^3.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0", diff --git a/draft-packages/form/KaizenDraft/Form/Primitives/ToggleSwitch/ToggleSwitch.module.scss b/draft-packages/form/KaizenDraft/Form/Primitives/ToggleSwitch/ToggleSwitch.module.scss index 06913bc7e55..6182b774430 100644 --- a/draft-packages/form/KaizenDraft/Form/Primitives/ToggleSwitch/ToggleSwitch.module.scss +++ b/draft-packages/form/KaizenDraft/Form/Primitives/ToggleSwitch/ToggleSwitch.module.scss @@ -57,7 +57,9 @@ $focus-ring-offset: 1px; width: calc(#{$spacing-md} * 0.9); height: calc(#{$spacing-md} * 0.9); border-radius: $spacing-md; - transition: left $animation-timing, right $animation-timing; + transition: + left $animation-timing, + right $animation-timing; } .checkIcon { diff --git a/draft-packages/illustration/KaizenDraft/Illustration/Spot.tsx b/draft-packages/illustration/KaizenDraft/Illustration/Spot.tsx index d4ae99e2669..974718e0548 100644 --- a/draft-packages/illustration/KaizenDraft/Illustration/Spot.tsx +++ b/draft-packages/illustration/KaizenDraft/Illustration/Spot.tsx @@ -137,14 +137,13 @@ const SPOT_ILLUSTRATION_BASE_PATH = "illustrations/heart/spot/" const createSpotIllustration = (fileName: string) => // eslint-disable-next-line react/display-name - ({ enableAspectRatio, ...props }: SpotProps): JSX.Element => - ( - - ) + ({ enableAspectRatio, ...props }: SpotProps): JSX.Element => ( + + ) /** * Template Library / Engagement diff --git a/draft-packages/likert-scale-legacy/KaizenDraft/LikertScaleLegacy/LikertScaleLegacy.module.scss b/draft-packages/likert-scale-legacy/KaizenDraft/LikertScaleLegacy/LikertScaleLegacy.module.scss index aa7064f375e..fe064b87a1c 100644 --- a/draft-packages/likert-scale-legacy/KaizenDraft/LikertScaleLegacy/LikertScaleLegacy.module.scss +++ b/draft-packages/likert-scale-legacy/KaizenDraft/LikertScaleLegacy/LikertScaleLegacy.module.scss @@ -230,12 +230,16 @@ $fifth: $color-red-500; } .likertItemFill { - transition: background 0.1s, border-color 0.1s; + transition: + background 0.1s, + border-color 0.1s; height: $block-height; border: $border-solid-border-width $border-solid-border-style $color-gray-500; &:hover { - transition: background 0s, border-color 0s; + transition: + background 0s, + border-color 0s; } &::after { diff --git a/draft-packages/modal/package.json b/draft-packages/modal/package.json index 77b0ad77970..0a7e5845976 100644 --- a/draft-packages/modal/package.json +++ b/draft-packages/modal/package.json @@ -35,7 +35,7 @@ "@kaizen/responsive": "^1.8.10", "@kaizen/typography": "^2.3.11", "classnames": "^2.3.2", - "react-focus-lock": "^2.9.4", + "react-focus-lock": "^2.9.5", "uuid": "^9.0.0" }, "peerDependencies": { diff --git a/draft-packages/popover/KaizenDraft/Popover/Popover.tsx b/draft-packages/popover/KaizenDraft/Popover/Popover.tsx index 7c850364442..869d59aac2c 100644 --- a/draft-packages/popover/KaizenDraft/Popover/Popover.tsx +++ b/draft-packages/popover/KaizenDraft/Popover/Popover.tsx @@ -202,7 +202,7 @@ type PopoverPropsWithoutRef = Omit */ export const usePopover = (): [ (element: HTMLElement | null) => void, - (props: PopoverPropsWithoutRef) => JSX.Element | null + (props: PopoverPropsWithoutRef) => JSX.Element | null, ] => { const [referenceElement, setReferenceElement] = useState( null diff --git a/draft-packages/select/package.json b/draft-packages/select/package.json index 8eaf67ccb91..85eecd4955e 100644 --- a/draft-packages/select/package.json +++ b/draft-packages/select/package.json @@ -30,7 +30,7 @@ "@kaizen/draft-form": "^10.4.6", "@kaizen/draft-tag": "^3.4.17", "classnames": "^2.3.2", - "react-select": "^5.7.3", + "react-select": "^5.7.4", "uuid": "^9.0.0" }, "peerDependencies": { diff --git a/draft-packages/table/KaizenDraft/Table/Table.module.scss b/draft-packages/table/KaizenDraft/Table/Table.module.scss index 16191357400..a3d2b0fccce 100644 --- a/draft-packages/table/KaizenDraft/Table/Table.module.scss +++ b/draft-packages/table/KaizenDraft/Table/Table.module.scss @@ -114,9 +114,12 @@ $row-height-data-variant: 48px; background: $color-white; border: solid 1px rgba($color-purple-700-rgb, 0.1); - transition: box-shadow $animation-duration-rapid, - border-color $animation-duration-rapid, margin $animation-duration-rapid, - padding $animation-duration-rapid, width $animation-duration-rapid; + transition: + box-shadow $animation-duration-rapid, + border-color $animation-duration-rapid, + margin $animation-duration-rapid, + padding $animation-duration-rapid, + width $animation-duration-rapid; // This is an optical hack to stop the card shadow from overlapping over // the proceeding cards diff --git a/draft-packages/title-block-zen/KaizenDraft/TitleBlockZen/TitleBlockZen.module.scss b/draft-packages/title-block-zen/KaizenDraft/TitleBlockZen/TitleBlockZen.module.scss index 3347cb44c74..fd19f9e759b 100644 --- a/draft-packages/title-block-zen/KaizenDraft/TitleBlockZen/TitleBlockZen.module.scss +++ b/draft-packages/title-block-zen/KaizenDraft/TitleBlockZen/TitleBlockZen.module.scss @@ -666,7 +666,9 @@ $tab-container-height-medium-and-small-collapsed: 0; display: flex; align-items: center; justify-content: center; - transition: background-color 0.3s ease, transform 0.3s ease; + transition: + background-color 0.3s ease, + transform 0.3s ease; .breadcrumb:hover &, .breadcrumb:focus & { diff --git a/draft-packages/title-block-zen/package.json b/draft-packages/title-block-zen/package.json index c070b60c7fb..7451d017d8a 100644 --- a/draft-packages/title-block-zen/package.json +++ b/draft-packages/title-block-zen/package.json @@ -35,7 +35,7 @@ "@kaizen/responsive": "^1.8.10", "@kaizen/typography": "^2.3.11", "classnames": "^2.3.2", - "react-focus-on": "^3.8.2" + "react-focus-on": "^3.9.1" }, "peerDependencies": { "@kaizen/design-tokens": "^2.10.3 || ^3.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0", diff --git a/draft-packages/tooltip/KaizenDraft/Tooltip/Tooltip.module.scss b/draft-packages/tooltip/KaizenDraft/Tooltip/Tooltip.module.scss index fbc6ecf65c7..d71d0949e13 100644 --- a/draft-packages/tooltip/KaizenDraft/Tooltip/Tooltip.module.scss +++ b/draft-packages/tooltip/KaizenDraft/Tooltip/Tooltip.module.scss @@ -23,7 +23,8 @@ letter-spacing: $typography-paragraph-body-letter-spacing; line-height: $typography-paragraph-small-line-height; border-radius: $border-solid-border-radius; - transition: opacity $animation-duration-fast, + transition: + opacity $animation-duration-fast, transform $animation-duration-fast; box-shadow: $shadow-small-box-shadow; diff --git a/package.json b/package.json index a60ef381aa1..6494d49a1d7 100644 --- a/package.json +++ b/package.json @@ -43,13 +43,13 @@ "dependencies": { "@kaizen/design-tokens": "^10.0.11", "@kaizen/tailwind": "*", - "@storybook/addons": "^7.0.23", - "@storybook/api": "^7.0.23", - "@storybook/blocks": "^7.0.23", - "@storybook/components": "^7.0.23", - "@storybook/core-events": "^7.0.23", - "@storybook/react": "^7.0.23", - "@storybook/theming": "^7.0.23", + "@storybook/addons": "^7.0.27", + "@storybook/api": "^7.0.27", + "@storybook/blocks": "^7.0.27", + "@storybook/components": "^7.0.27", + "@storybook/core-events": "^7.0.27", + "@storybook/react": "^7.0.27", + "@storybook/theming": "^7.0.27", "classnames": "^2.3.2", "identity-obj-proxy": "^3.0.0", "lodash.isempty": "^4.4.0", @@ -65,25 +65,25 @@ "uuid": "^9.0.0" }, "devDependencies": { - "@babel/core": "^7.22.5", + "@babel/core": "^7.22.9", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-numeric-separator": "^7.18.6", "@babel/plugin-proposal-object-rest-spread": "^7.20.7", "@babel/plugin-proposal-private-methods": "^7.18.6", "@babel/plugin-proposal-private-property-in-object": "^7.21.11", - "@babel/preset-env": "^7.22.5", + "@babel/preset-env": "^7.22.9", "@babel/preset-react": "^7.22.5", "@babel/preset-typescript": "^7.22.5", - "@changesets/cli": "^2.26.1", + "@changesets/cli": "^2.26.2", "@cultureamp/changelog-github": "^0.1.0", - "@playwright/test": "^1.35.1", - "@storybook/addon-a11y": "^7.0.23", - "@storybook/addon-essentials": "^7.0.23", - "@storybook/addon-links": "^7.0.23", - "@storybook/node-logger": "^7.0.23", - "@storybook/react-webpack5": "^7.0.23", + "@playwright/test": "^1.36.1", + "@storybook/addon-a11y": "^7.0.27", + "@storybook/addon-essentials": "^7.0.27", + "@storybook/addon-links": "^7.0.27", + "@storybook/node-logger": "^7.0.27", + "@storybook/react-webpack5": "^7.0.27", "@storybook/testing-library": "^0.2.0", - "@tanstack/react-query": "^4.29.17", + "@tanstack/react-query": "^4.29.25", "@testing-library/dom": "^9.3.1", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^14.0.0", @@ -91,30 +91,30 @@ "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^14.4.3", "@types/classnames": "^2.3.1", - "@types/jest": "^29.5.2", + "@types/jest": "^29.5.3", "@types/node": "^18.11.18", "@types/postcss-flexbugs-fixes": "^5.0.0", "@types/postcss-import": "^14.0.0", - "@types/react": "^18.2.14", - "@types/react-dom": "^18.2.6", - "@typescript-eslint/eslint-plugin": "^5.60.0", - "@typescript-eslint/parser": "^5.60.0", - "babel-loader": "^9.1.2", + "@types/react": "^18.2.15", + "@types/react-dom": "^18.2.7", + "@typescript-eslint/eslint-plugin": "^6.0.0", + "@typescript-eslint/parser": "^6.0.0", + "babel-loader": "^9.1.3", "chromatic": "^6.19.9", "css-loader": "^6.8.1", - "eslint": "^8.43.0", + "eslint": "^8.45.0", "eslint-config-prettier": "^8.8.0", "eslint-import-resolver-typescript": "^3.5.5", "eslint-plugin-import": "^2.27.5", - "eslint-plugin-jest": "^27.2.2", + "eslint-plugin-jest": "^27.2.3", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-react": "^7.32.2", "eslint-plugin-sort-imports-es6-autofix": "^0.6.0", "eslint-plugin-ssr-friendly": "^1.2.0", "eslint-plugin-storybook": "^0.6.12", - "jest": "^29.5.0", - "jest-canvas-mock": "^2.5.1", - "jest-environment-jsdom": "^29.5.0", + "jest": "^29.6.1", + "jest-canvas-mock": "^2.5.2", + "jest-environment-jsdom": "^29.6.1", "jest-static-stubs": "^0.0.1", "node-fetch": "^3.3.1", "node-sass": "^8.0.0", @@ -124,29 +124,29 @@ "postcss-flexbugs-fixes": "^5.0.2", "postcss-import": "^15.1.0", "postcss-loader": "^7.3.3", - "postcss-preset-env": "^8.5.1", + "postcss-preset-env": "^9.0.0", "postcss-scss": "^4.0.6", - "prettier": "^2.8.8", + "prettier": "^3.0.0", "raw-loader": "^4.0.2", "react-highlight": "^0.15.0", "react-test-renderer": "^18.2.0", "react-test-renderer-17": "npm:react-test-renderer@^17.0.2", "rimraf": "^5.0.1", "sass-loader": "^13.3.2", - "storybook": "^7.0.23", + "storybook": "^7.0.27", "style-loader": "^3.3.3", "stylelint": "^15.6.1", - "stylelint-config-standard-scss": "^9.0.0", + "stylelint-config-standard-scss": "^10.0.0", "svg-sprite-loader": "^6.0.11", "svgo-loader": "~4.0.0", - "tailwindcss": "^3.3.2", - "ts-jest": "^29.1.0", - "turbo": "^1.10.6", + "tailwindcss": "^3.3.3", + "ts-jest": "^29.1.1", + "turbo": "^1.10.7", "typescript": "^4.9.5", - "webpack": "^5.88.0" + "webpack": "^5.88.1" }, "resolutions": { - "@types/react": "^18.2.14" + "@types/react": "^18.2.15" }, "resolutionsComments": { "@types/react": "@testing-library/react-12 has an incorrect dep (instead of peerDep) of @types/react@^17 which we don't want" diff --git a/packages/component-library/components/MenuList/Menu.module.scss b/packages/component-library/components/MenuList/Menu.module.scss index 2d9b77d0093..2a6b2938f6a 100644 --- a/packages/component-library/components/MenuList/Menu.module.scss +++ b/packages/component-library/components/MenuList/Menu.module.scss @@ -42,7 +42,8 @@ $side-padding: calc(calc(3 / 4) * #{$ca-grid}); color: $color-purple-800; cursor: pointer; text-align: left; - transition: $ca-duration-immediate background-color ease, + transition: + $ca-duration-immediate background-color ease, $ca-duration-immediate color ease; padding: 10px $side-padding; text-decoration: none; diff --git a/packages/components/package.json b/packages/components/package.json index e86a4dbfb9a..ba9df623268 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -38,7 +38,7 @@ "ci:test:react-17": "USE_REACT_17=true yarn test:ci" }, "dependencies": { - "@cultureamp/i18n-react-intl": "^1.4.2", + "@cultureamp/i18n-react-intl": "^1.4.3", "@kaizen/a11y": "^1.7.11", "@kaizen/brand": "^1.5.8", "@kaizen/button": "^3.0.3", @@ -54,21 +54,21 @@ "@kaizen/loading-spinner": "^2.3.11", "@kaizen/typography": "^2.3.10", "@popperjs/core": "^2.11.8", - "@react-aria/button": "^3.7.2", - "@react-aria/focus": "^3.12.1", - "@react-aria/listbox": "^3.9.1", - "@react-aria/menu": "^3.9.1", - "@react-aria/overlays": "^3.14.1", + "@react-aria/button": "^3.8.0", + "@react-aria/focus": "^3.13.0", + "@react-aria/listbox": "^3.10.0", + "@react-aria/menu": "^3.10.0", + "@react-aria/overlays": "^3.15.0", "@react-aria/select": "^3.10.1", - "@react-aria/utils": "^3.17.0", - "@react-stately/collections": "^3.8.0", - "@react-stately/list": "^3.8.1", - "@react-stately/menu": "^3.5.2", - "@react-stately/select": "^3.5.1", + "@react-aria/utils": "^3.18.0", + "@react-stately/collections": "^3.9.0", + "@react-stately/list": "^3.9.0", + "@react-stately/menu": "^3.5.3", + "@react-stately/select": "^3.5.2", "@react-types/shared": "^3.18.1", "classnames": "^2.3.2", "date-fns": "^2.30.0", - "react-focus-on": "^3.8.2", + "react-focus-on": "^3.9.1", "react-intl": "^6.4.4", "react-popper": "^2.3.0", "uuid": "^9.0.0" @@ -76,16 +76,16 @@ "devDependencies": { "@kaizen/tailwind": "^1.0.4", "@rollup/plugin-alias": "^5.0.0", - "@rollup/plugin-commonjs": "^25.0.2", + "@rollup/plugin-commonjs": "^25.0.3", "@rollup/plugin-image": "^3.0.2", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.1.0", - "@rollup/plugin-typescript": "^11.1.1", + "@rollup/plugin-typescript": "^11.1.2", "autoprefixer": "^10.4.14", "concat-cli": "^4.0.0", - "esbuild": "^0.18.8", + "esbuild": "^0.18.13", "query-string": "^8.1.0", - "rollup": "^3.25.2", + "rollup": "^3.26.2", "rollup-plugin-dts": "^5.3.0", "rollup-plugin-esbuild": "^5.0.0", "rollup-plugin-ignore": "^1.0.10", @@ -93,7 +93,7 @@ "rollup-plugin-postcss": "^4.0.2", "sass": "^1.63.6", "serialize-query-params": "^2.0.2", - "ts-jest": "^29.1.0", + "ts-jest": "^29.1.1", "ttypescript": "^1.5.15", "typescript-transform-paths": "^3.4.6" }, diff --git a/packages/components/src/FilterBar/context/FilterBarContext.tsx b/packages/components/src/FilterBar/context/FilterBarContext.tsx index c547ae19070..0430b38bb9b 100644 --- a/packages/components/src/FilterBar/context/FilterBarContext.tsx +++ b/packages/components/src/FilterBar/context/FilterBarContext.tsx @@ -10,7 +10,7 @@ import { getValidValue } from "./utils/getValidValue" export type FilterBarContextValue< Value, - ValuesMap extends FiltersValues = Record + ValuesMap extends FiltersValues = Record, > = { getFilterState: ( id: Id @@ -36,7 +36,7 @@ const FilterBarContext = React.createContext | null>( export const useFilterBarContext = < Value, - Values extends FiltersValues = Record + Values extends FiltersValues = Record, >(): FilterBarContextValue => { const context = useContext(FilterBarContext) diff --git a/packages/components/src/FilterBar/context/types.ts b/packages/components/src/FilterBar/context/types.ts index 694a4bc3932..50ca3fcb1a3 100644 --- a/packages/components/src/FilterBar/context/types.ts +++ b/packages/components/src/FilterBar/context/types.ts @@ -10,7 +10,7 @@ export type FilterStateEditableAttributes = { export type InternalFilterState< ValuesMap extends FiltersValues, - Id extends keyof ValuesMap + Id extends keyof ValuesMap, > = { id: Id name: string diff --git a/packages/components/src/FilterBar/types.ts b/packages/components/src/FilterBar/types.ts index 068cdd2f544..f97c57f2b46 100644 --- a/packages/components/src/FilterBar/types.ts +++ b/packages/components/src/FilterBar/types.ts @@ -17,7 +17,7 @@ export type FilterIsUsableWhen = ( export type FilterAttributes< ValuesMap extends FiltersValues, - Id = keyof ValuesMap + Id = keyof ValuesMap, > = { id: Id name: string diff --git a/packages/components/src/FilterSelect/context/SelectContext.tsx b/packages/components/src/FilterSelect/context/SelectContext.tsx index e064681f557..e0874747a9c 100644 --- a/packages/components/src/FilterSelect/context/SelectContext.tsx +++ b/packages/components/src/FilterSelect/context/SelectContext.tsx @@ -11,7 +11,7 @@ type SelectContextValue