From 4bfcd3eb617e144293efad2b845c1434c95c38ff Mon Sep 17 00:00:00 2001 From: Michael Winter <36558508+mcwinter07@users.noreply.github.com> Date: Fri, 3 Jan 2025 11:15:01 +1100 Subject: [PATCH 1/2] fix LinkButton stylesheet import path (#5435) * update Button stylesheet import to relative path * add changeset --- .changeset/kind-spies-refuse.md | 5 +++++ packages/components/src/LinkButton/LinkButton.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/kind-spies-refuse.md diff --git a/.changeset/kind-spies-refuse.md b/.changeset/kind-spies-refuse.md new file mode 100644 index 00000000000..1c6004376a4 --- /dev/null +++ b/.changeset/kind-spies-refuse.md @@ -0,0 +1,5 @@ +--- +'@kaizen/components': patch +--- + +update LinkButton's import of the Button stylesheet to a relative path to resolve file resolution error diff --git a/packages/components/src/LinkButton/LinkButton.tsx b/packages/components/src/LinkButton/LinkButton.tsx index 25e2af42317..a9a8bcd2836 100644 --- a/packages/components/src/LinkButton/LinkButton.tsx +++ b/packages/components/src/LinkButton/LinkButton.tsx @@ -1,10 +1,10 @@ import React, { forwardRef } from 'react' import { Link as RACLink, type LinkProps as RACLinkProps } from 'react-aria-components' import { type ButtonUIProps } from '~components/__rc__/Button' -import buttonStyles from '~components/__rc__/Button/Button.module.css' import { ButtonContent } from '~components/__rc__/Button/subcomponents' import { useReversedColors } from '~components/__utilities__/v3' import { mergeClassNames } from '~components/utils/mergeClassNames' +import buttonStyles from '../__rc__/Button/Button.module.css' import styles from './LinkButton.module.css' export type LinkButtonProps = ButtonUIProps & From 55c15322e1e737e9e2528b2e0c516df2872fbf68 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 00:17:44 +0000 Subject: [PATCH 2/2] version packages (#5436) Co-authored-by: github-actions[bot] --- .changeset/kind-spies-refuse.md | 5 ----- packages/components/CHANGELOG.md | 6 ++++++ packages/components/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/kind-spies-refuse.md diff --git a/.changeset/kind-spies-refuse.md b/.changeset/kind-spies-refuse.md deleted file mode 100644 index 1c6004376a4..00000000000 --- a/.changeset/kind-spies-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@kaizen/components': patch ---- - -update LinkButton's import of the Button stylesheet to a relative path to resolve file resolution error diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index ed3c742c5ca..8ecb6e5fe5c 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 1.70.4 + +### Patch Changes + +- [#5435](https://github.com/cultureamp/kaizen-design-system/pull/5435) [`4bfcd3e`](https://github.com/cultureamp/kaizen-design-system/commit/4bfcd3eb617e144293efad2b845c1434c95c38ff) - update LinkButton's import of the Button stylesheet to a relative path to resolve file resolution error + ## 1.70.3 ### Patch Changes diff --git a/packages/components/package.json b/packages/components/package.json index 06083590d6a..dfc65dec856 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@kaizen/components", - "version": "1.70.3", + "version": "1.70.4", "description": "Kaizen component library", "author": "Geoffrey Chong ", "homepage": "https://cultureamp.design",