Skip to content

Commit b6c9d6d

Browse files
committed
Squashed commit of the following:
commit eb49bd0 Merge: d525c25 43810b4 Author: Adam Thompson <[email protected]> Date: Thu Nov 20 13:25:10 2025 -0500 Merge branch 'main' into at/canvas-header commit 43810b4 Author: Nima Taheri <[email protected]> Date: Wed Nov 19 15:30:29 2025 -0800 LG-5635 fix unexpected @emotion imports in umd bundle of icons (#3319) * feat: stricter post-build check on icon package * fix: not waiting for promises to finish commit d525c25 Author: Adam Michael Thompson <[email protected]> Date: Wed Nov 19 17:41:59 2025 -0500 fixes commit a35da52 Author: Adam Michael Thompson <[email protected]> Date: Wed Nov 19 17:30:04 2025 -0500 changeset commit b2c94c0 Author: Adam Michael Thompson <[email protected]> Date: Wed Nov 19 17:28:11 2025 -0500 update stories commit 4142151 Author: Adam Michael Thompson <[email protected]> Date: Wed Nov 19 17:27:59 2025 -0500 package json commit 3e09cf2 Merge: ec4fad8 e0d0b02 Author: Adam Michael Thompson <[email protected]> Date: Wed Nov 19 17:18:17 2025 -0500 Add 'packages/canvas-header/' from commit 'e0d0b0293e1981eefa8b8a4df9a37926532356b6' git-subtree-dir: packages/canvas-header git-subtree-mainline: ec4fad8 git-subtree-split: e0d0b02 commit ec4fad8 Author: Adam Rasheed <[email protected]> Date: Wed Nov 19 12:35:14 2025 -0800 [LG-5748] chore: Add Text and Border Color Variants (#3321) * [LG-5748] chore: Add Text and Border Color Variants * updated changset commit d816392 Author: Adam Thompson <[email protected]> Date: Wed Nov 19 14:44:05 2025 -0500 LG-5740 fix(LoadingIndicator) fixes spinner type references (#3315) * Update package.json * Create loading-spinner-types.md commit 55580b8 Author: Adam Rasheed <[email protected]> Date: Mon Nov 17 16:32:50 2025 -0500 [LG-2957] feat: GuideCue - Update Button Focus (#3277) * [LG-2957] feat: GuideCue - Update Button Focus * comment cleanup * udpated changelog, udpated test assertion commit d8485a9 Author: Adam Rasheed <[email protected]> Date: Mon Nov 17 14:16:13 2025 -0500 [LG-5666] MCP-UI App Scaffolding (#3280) * [LG-5666] MCP-UI App Scaffolding * Added component, sdk scaffolding, package json updates * cleanup * fixed linting * updated workspace * added tsconfig * updated build * r17 updates * updated turbo settings * added devDeps * rm sdk, changed directory structure, updated listdb styles * fix: r17 scripts (#3305) * update r17 scripts * filter apps from r17 build workflow * add mcpui to caches --------- Co-authored-by: Adam Thompson <[email protected]> commit c7d6e62 Author: Stephen Lee <[email protected]> Date: Fri Nov 14 07:14:00 2025 -0800 feat(popover): pass through popover enum types (#3302) * feat(combobox): export RenderMode enum from popover package * chore(combobox): changeset * feat(date-picker): export Align and Justify enums from popover package * chore(date-picker): changeset * feat(guide-cue): export BeaconAlign enum * chore(guide-cue): changeset * feat(menu): export Align, Justify, and RenderMode enums from popover package * chore(menu): changeset * feat(split-button): export RenderMode and make popover package dev dep * chore(split-button): changeset * refactor(split-button): consolidate menu imports * refactor(split-button): rename imported enums commit d7e989b Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu Nov 13 23:42:07 2025 +0000 Version Packages (#3313) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> commit 999febf Author: Nima Taheri <[email protected]> Date: Thu Nov 13 15:01:26 2025 -0800 CLOUDP-352308 add logging for spawn processes in link tools (#3310) * feat: enable logging for spawn processes * docs: add changelog * refactor: as co-pilot suggested test: add unit test commit 587f14e Author: Stephen Lee <[email protected]> Date: Thu Nov 13 14:03:47 2025 -0800 fix(modal): add explicit margin auto to dialog element styles (#3312) * fix(modal): add explicit margin * chore(modal): changeset commit e0d0b02 Author: Adam Thompson <[email protected]> Date: Wed Jun 18 12:44:57 2025 -0400 PNPM + Storybook 8 (private) (#426) * pnpm import * Delete yarn.lock * workflows * yarn -> pnpm docs * workspace:^ * add missing global packages * @storybook/test * story ts fixes * Adds missing peers * rm lg.json * bump base lg * fix product icon builds * fix sb * bump peer deps * rm pnpm/action-setup@v4 * Revert "rm pnpm/action-setup@v4" This reverts commit 14198eb258e958ddaa0e480fee17cfddec5ce6fd. * Update pnpm-lock.yaml * apk * apk all * wget * restore pnpm * specific pnpm action * workspace * lint fix * tools @ latest * minor lint errors * tools build dev deps * typescript * tsconfig * package exports * ts fixes * Create rollup.config.mjs * lint * checkout main src * ts fixes * lint * isolated async tests * Update CloudNav.analytics.spec.tsx * skip mongonav tests * feature walls tests * Create rollup.config.mjs * lint fix * Update pr.yml * Update release.yml * cache/restore * chromatic + pnpm * update cache restore paths * cache save path * addon 0.5.2-next.0 * addon 0.5.2-next.2 commit 0d81bf1 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed Mar 26 17:51:47 2025 +0000 Version Packages (#411) * Version Packages * Update CHANGELOG.md --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Adam Thompson <[email protected]> commit 4445f18 Author: Shaneeza <[email protected]> Date: Tue Mar 25 16:06:42 2025 -0400 Update CanvasHeader live example for .design (#418) * update live example for .design * remove extra characters * changeset commit 12ba130 Author: Adam Thompson <[email protected]> Date: Thu Mar 13 16:14:08 2025 -0400 Canvas Header updates [LG-4938, LG-4958] (#406) * updates LiveExample * rm bg styles * fix icon spacing * fix "copied" tooltip alignment * Create canvas-header-bg.md * fix build * Update CanvasHeader.stories.tsx commit 7bb4d90 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue Jan 21 13:28:01 2025 -0500 Version Packages (#343) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> commit 82b1696 Author: Adam Thompson <[email protected]> Date: Thu Jan 9 15:55:54 2025 -0500 Updates Popover/Menu/Tooltip to TopLayer LG-4746 (#337) * bump other packages * major popover updates * bump provider * bump global provider * bump cli * rm popoverZIndex * Create forty-days-rest.md * Delete .eslintignore * update lg to latest major * Removes prop-types, and bump LG packages * lint * Update .eslintrc.js * update storybook @lg-tools/storybook-utils * lint commit f6a8aca Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon Dec 2 18:51:14 2024 +0000 Version Packages (#298) * Version Packages * Update CHANGELOG.md --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Adam Thompson <[email protected]> commit 580a4f0 Author: Adam Thompson <[email protected]> Date: Tue Nov 26 13:30:34 2024 -0500 Canvas header resource badges [LG-4675] (#299) * adds `resourceBadges` prop * Create breezy-crabs-camp.md * Update breezy-crabs-camp.md * WIP: copy button overlay * rm space * adds faker * update copy button interaction styling * downgrade faker * Update CanvasHeader.stories.tsx * fix typo in changeset * add proptypes * conditionally render resourceBadges wrapper * add dark mode styles * add bg color * Update CanvasHeader.stories.tsx * Update CanvasHeader.stories.tsx * improve focus styles commit df6a1e4 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon Jul 15 15:22:38 2024 -0700 Version Packages (#184) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> commit f5b9063 Author: Stephen Lee <[email protected]> Date: Fri Jul 12 13:43:09 2024 -0700 Fix naming of lg-private packages (#183) * Fix lg-private packages naming * Changeset commit a068930 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu Jul 11 13:15:56 2024 -0700 Version Packages (#177) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> commit 2abf344 Author: Shaneeza <[email protected]> Date: Wed Jul 3 12:33:13 2024 -0400 LG-4058: add badges to `CanvasHeader` (#176) * add badges to canvasheader * changeset * ids * one line example * one line again * use color tokens * forgot to save * bump dependencies * add storybook dep * break out stories * remove multiple action story * feedback commit ee1af09 Author: Adam Thompson <[email protected]> Date: Tue Apr 9 16:48:41 2024 -0400 Updates manual publishing docs (#125) * Update .npmrc * merge npmrc * merge npmrc * update registry * Update README.md * typo * Update .npmrc commit 338ba02 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue Apr 9 13:24:37 2024 -0400 Version Packages (#123) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> commit de15015 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue Mar 26 12:13:21 2024 -0400 Version Packages (#102) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> commit 141bfd0 Author: Adam Thompson <[email protected]> Date: Wed Mar 6 14:41:54 2024 -0500 Bump `@leafygreen-ui` & `@lg-tools` dependencies (#115) * bump lg-tools deps * bumps cloud nav deps * bump canvas header deps * Create loud-melons-remain.md * Update shared-pr.yml * updates build cache key * Update package.json * chromatic needs build commit 6c33cd5 Author: Adam Thompson <[email protected]> Date: Wed Feb 28 17:20:03 2024 -0500 Use `chromaui/action` (#113) * bump react types resolutions * fix resolutions * uses chromaui/action * expect prop types error * bump chromatic * mv chromatic job * Update yarn.lock commit 9dabc6a Author: Shaneeza <[email protected]> Date: Mon Feb 26 14:25:36 2024 -0500 bump changeset (#110) commit e1e1437 Author: Shaneeza <[email protected]> Date: Mon Feb 26 13:20:18 2024 -0500 LG-3949: canvasHeader component (#106) * WIP * div * wip * fix copy icon underline * add opacity * hover and focus styles * add copy func * add todo test * small tweaks * min-height * storybook * remove comments * story link * wip adding tests * remove mock stuff * resource tests * more resource tests * tests * remove backLink component * clean up * show copy icon with tooltip * some fixes * lint * readme * change package name * clean up * changeset * lint * testing * adressing brooke comments * sandy feedback * add BackLink component * forgot to save * brooke feedback * update generated story * fix z-index issue * spacing between page title and resource name * spacing between page title and resource name again * add top and bottom margin * testing * remove some controls * testing * testing * update testid * remove z-index; no longer needed * bump typography * test * test --------- Co-authored-by: Adam Thompson <[email protected]> Squashed commit of the following: commit b1e22ce Merge: 84e889e ee58160 Author: Adam Thompson <[email protected]> Date: Thu Nov 20 16:17:28 2025 -0500 Merge branch 'main' into at/canvas-header commit 84e889e Author: Adam Thompson <[email protected]> Date: Thu Nov 20 15:27:47 2025 -0500 Update .changeset/canvas-header.md Co-authored-by: Stephen Lee <[email protected]> commit 01049b2 Author: Adam Michael Thompson <[email protected]> Date: Thu Nov 20 15:24:22 2025 -0500 Update tsconfig.json commit ee58160 Author: Nima Taheri <[email protected]> Date: Thu Nov 20 11:55:41 2025 -0800 CLOUDP-352308 Enhanced CLI options for robust linking (#3311) * feat: update CLI options for improved linking process * docs: add changelog * docs: apply review feedback * apply: review comments + docs update * apply: review comments (2) commit eb49bd0 Merge: d525c25 43810b4 Author: Adam Thompson <[email protected]> Date: Thu Nov 20 13:25:10 2025 -0500 Merge branch 'main' into at/canvas-header commit 43810b4 Author: Nima Taheri <[email protected]> Date: Wed Nov 19 15:30:29 2025 -0800 LG-5635 fix unexpected @emotion imports in umd bundle of icons (#3319) * feat: stricter post-build check on icon package * fix: not waiting for promises to finish commit d525c25 Author: Adam Michael Thompson <[email protected]> Date: Wed Nov 19 17:41:59 2025 -0500 fixes commit a35da52 Author: Adam Michael Thompson <[email protected]> Date: Wed Nov 19 17:30:04 2025 -0500 changeset commit b2c94c0 Author: Adam Michael Thompson <[email protected]> Date: Wed Nov 19 17:28:11 2025 -0500 update stories commit 4142151 Author: Adam Michael Thompson <[email protected]> Date: Wed Nov 19 17:27:59 2025 -0500 package json commit 3e09cf2 Merge: ec4fad8 e0d0b02 Author: Adam Michael Thompson <[email protected]> Date: Wed Nov 19 17:18:17 2025 -0500 Add 'packages/canvas-header/' from commit 'e0d0b0293e1981eefa8b8a4df9a37926532356b6' git-subtree-dir: packages/canvas-header git-subtree-mainline: ec4fad8 git-subtree-split: e0d0b02 commit ec4fad8 Author: Adam Rasheed <[email protected]> Date: Wed Nov 19 12:35:14 2025 -0800 [LG-5748] chore: Add Text and Border Color Variants (#3321) * [LG-5748] chore: Add Text and Border Color Variants * updated changset commit d816392 Author: Adam Thompson <[email protected]> Date: Wed Nov 19 14:44:05 2025 -0500 LG-5740 fix(LoadingIndicator) fixes spinner type references (#3315) * Update package.json * Create loading-spinner-types.md commit 55580b8 Author: Adam Rasheed <[email protected]> Date: Mon Nov 17 16:32:50 2025 -0500 [LG-2957] feat: GuideCue - Update Button Focus (#3277) * [LG-2957] feat: GuideCue - Update Button Focus * comment cleanup * udpated changelog, udpated test assertion commit d8485a9 Author: Adam Rasheed <[email protected]> Date: Mon Nov 17 14:16:13 2025 -0500 [LG-5666] MCP-UI App Scaffolding (#3280) * [LG-5666] MCP-UI App Scaffolding * Added component, sdk scaffolding, package json updates * cleanup * fixed linting * updated workspace * added tsconfig * updated build * r17 updates * updated turbo settings * added devDeps * rm sdk, changed directory structure, updated listdb styles * fix: r17 scripts (#3305) * update r17 scripts * filter apps from r17 build workflow * add mcpui to caches --------- Co-authored-by: Adam Thompson <[email protected]> commit c7d6e62 Author: Stephen Lee <[email protected]> Date: Fri Nov 14 07:14:00 2025 -0800 feat(popover): pass through popover enum types (#3302) * feat(combobox): export RenderMode enum from popover package * chore(combobox): changeset * feat(date-picker): export Align and Justify enums from popover package * chore(date-picker): changeset * feat(guide-cue): export BeaconAlign enum * chore(guide-cue): changeset * feat(menu): export Align, Justify, and RenderMode enums from popover package * chore(menu): changeset * feat(split-button): export RenderMode and make popover package dev dep * chore(split-button): changeset * refactor(split-button): consolidate menu imports * refactor(split-button): rename imported enums commit d7e989b Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu Nov 13 23:42:07 2025 +0000 Version Packages (#3313) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> commit 999febf Author: Nima Taheri <[email protected]> Date: Thu Nov 13 15:01:26 2025 -0800 CLOUDP-352308 add logging for spawn processes in link tools (#3310) * feat: enable logging for spawn processes * docs: add changelog * refactor: as co-pilot suggested test: add unit test commit 587f14e Author: Stephen Lee <[email protected]> Date: Thu Nov 13 14:03:47 2025 -0800 fix(modal): add explicit margin auto to dialog element styles (#3312) * fix(modal): add explicit margin * chore(modal): changeset commit e0d0b02 Author: Adam Thompson <[email protected]> Date: Wed Jun 18 12:44:57 2025 -0400 PNPM + Storybook 8 (private) (#426) * pnpm import * Delete yarn.lock * workflows * yarn -> pnpm docs * workspace:^ * add missing global packages * @storybook/test * story ts fixes * Adds missing peers * rm lg.json * bump base lg * fix product icon builds * fix sb * bump peer deps * rm pnpm/action-setup@v4 * Revert "rm pnpm/action-setup@v4" This reverts commit 14198eb258e958ddaa0e480fee17cfddec5ce6fd. * Update pnpm-lock.yaml * apk * apk all * wget * restore pnpm * specific pnpm action * workspace * lint fix * tools @ latest * minor lint errors * tools build dev deps * typescript * tsconfig * package exports * ts fixes * Create rollup.config.mjs * lint * checkout main src * ts fixes * lint * isolated async tests * Update CloudNav.analytics.spec.tsx * skip mongonav tests * feature walls tests * Create rollup.config.mjs * lint fix * Update pr.yml * Update release.yml * cache/restore * chromatic + pnpm * update cache restore paths * cache save path * addon 0.5.2-next.0 * addon 0.5.2-next.2 commit 0d81bf1 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed Mar 26 17:51:47 2025 +0000 Version Packages (#411) * Version Packages * Update CHANGELOG.md --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Adam Thompson <[email protected]> commit 4445f18 Author: Shaneeza <[email protected]> Date: Tue Mar 25 16:06:42 2025 -0400 Update CanvasHeader live example for .design (#418) * update live example for .design * remove extra characters * changeset commit 12ba130 Author: Adam Thompson <[email protected]> Date: Thu Mar 13 16:14:08 2025 -0400 Canvas Header updates [LG-4938, LG-4958] (#406) * updates LiveExample * rm bg styles * fix icon spacing * fix "copied" tooltip alignment * Create canvas-header-bg.md * fix build * Update CanvasHeader.stories.tsx commit 7bb4d90 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue Jan 21 13:28:01 2025 -0500 Version Packages (#343) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> commit 82b1696 Author: Adam Thompson <[email protected]> Date: Thu Jan 9 15:55:54 2025 -0500 Updates Popover/Menu/Tooltip to TopLayer LG-4746 (#337) * bump other packages * major popover updates * bump provider * bump global provider * bump cli * rm popoverZIndex * Create forty-days-rest.md * Delete .eslintignore * update lg to latest major * Removes prop-types, and bump LG packages * lint * Update .eslintrc.js * update storybook @lg-tools/storybook-utils * lint commit f6a8aca Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon Dec 2 18:51:14 2024 +0000 Version Packages (#298) * Version Packages * Update CHANGELOG.md --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Adam Thompson <[email protected]> commit 580a4f0 Author: Adam Thompson <[email protected]> Date: Tue Nov 26 13:30:34 2024 -0500 Canvas header resource badges [LG-4675] (#299) * adds `resourceBadges` prop * Create breezy-crabs-camp.md * Update breezy-crabs-camp.md * WIP: copy button overlay * rm space * adds faker * update copy button interaction styling * downgrade faker * Update CanvasHeader.stories.tsx * fix typo in changeset * add proptypes * conditionally render resourceBadges wrapper * add dark mode styles * add bg color * Update CanvasHeader.stories.tsx * Update CanvasHeader.stories.tsx * improve focus styles commit df6a1e4 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon Jul 15 15:22:38 2024 -0700 Version Packages (#184) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> commit f5b9063 Author: Stephen Lee <[email protected]> Date: Fri Jul 12 13:43:09 2024 -0700 Fix naming of lg-private packages (#183) * Fix lg-private packages naming * Changeset commit a068930 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu Jul 11 13:15:56 2024 -0700 Version Packages (#177) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> commit 2abf344 Author: Shaneeza <[email protected]> Date: Wed Jul 3 12:33:13 2024 -0400 LG-4058: add badges to `CanvasHeader` (#176) * add badges to canvasheader * changeset * ids * one line example * one line again * use color tokens * forgot to save * bump dependencies * add storybook dep * break out stories * remove multiple action story * feedback commit ee1af09 Author: Adam Thompson <[email protected]> Date: Tue Apr 9 16:48:41 2024 -0400 Updates manual publishing docs (#125) * Update .npmrc * merge npmrc * merge npmrc * update registry * Update README.md * typo * Update .npmrc commit 338ba02 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue Apr 9 13:24:37 2024 -0400 Version Packages (#123) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> commit de15015 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue Mar 26 12:13:21 2024 -0400 Version Packages (#102) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> commit 141bfd0 Author: Adam Thompson <[email protected]> Date: Wed Mar 6 14:41:54 2024 -0500 Bump `@leafygreen-ui` & `@lg-tools` dependencies (#115) * bump lg-tools deps * bumps cloud nav deps * bump canvas header deps * Create loud-melons-remain.md * Update shared-pr.yml * updates build cache key * Update package.json * chromatic needs build commit 6c33cd5 Author: Adam Thompson <[email protected]> Date: Wed Feb 28 17:20:03 2024 -0500 Use `chromaui/action` (#113) * bump react types resolutions * fix resolutions * uses chromaui/action * expect prop types error * bump chromatic * mv chromatic job * Update yarn.lock commit 9dabc6a Author: Shaneeza <[email protected]> Date: Mon Feb 26 14:25:36 2024 -0500 bump changeset (#110) commit e1e1437 Author: Shaneeza <[email protected]> Date: Mon Feb 26 13:20:18 2024 -0500 LG-3949: canvasHeader component (#106) * WIP * div * wip * fix copy icon underline * add opacity * hover and focus styles * add copy func * add todo test * small tweaks * min-height * storybook * remove comments * story link * wip adding tests * remove mock stuff * resource tests * more resource tests * tests * remove backLink component * clean up * show copy icon with tooltip * some fixes * lint * readme * change package name * clean up * changeset * lint * testing * adressing brooke comments * sandy feedback * add BackLink component * forgot to save * brooke feedback * update generated story * fix z-index issue * spacing between page title and resource name * spacing between page title and resource name again * add top and bottom margin * testing * remove some controls * testing * testing * update testid * remove z-index; no longer needed * bump typography * test * test --------- Co-authored-by: Adam Thompson <[email protected]>
1 parent b1b6f1e commit b6c9d6d

File tree

5 files changed

+25
-64
lines changed

5 files changed

+25
-64
lines changed

.changeset/moody-clouds-lead.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'@leafygreen-ui/tokens': minor
33
---
44

5-
Added `Tertiary`, `OnSuccess`, and `OnError` border color variants. Added `OnSuccess`, `OnError`, and `OnSuccessLink` text color variants
5+
Updated existing success and error border color variants, added tertiary border color variant, added text Success and SuccessLink color variants

packages/icon/scripts/build/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function chunkArray<T>(arr: Array<T>, size: number): Array<Array<T>> {
2828
* Runs the Rollup build command for index and story files.
2929
*/
3030
async function buildIndex({ verbose }: { verbose?: boolean }): Promise<void> {
31-
await buildPackage({ verbose });
31+
await buildPackage({ direct: true, verbose });
3232
}
3333

3434
/**

packages/tokens/src/color/color.types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const Variant = {
2424
Warning: 'warning',
2525
Error: 'error',
2626
Success: 'success',
27+
SuccessLink: 'successLink',
2728
Link: 'link',
2829
OnError: 'onError',
2930
OnSuccess: 'onSuccess',

packages/tokens/src/color/darkModeColors.ts

Lines changed: 9 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -69,21 +69,11 @@ const darkModeBorderColors = {
6969
[InteractionState.Focus]: blue.light1,
7070
},
7171
[Variant.Success]: {
72-
[InteractionState.Default]: green.dark1,
73-
[InteractionState.Hover]: green.dark1,
74-
[InteractionState.Focus]: blue.light1,
75-
},
76-
[Variant.Error]: {
77-
[InteractionState.Default]: red.light1,
78-
[InteractionState.Hover]: red.light1,
79-
[InteractionState.Focus]: blue.light1,
80-
},
81-
[Variant.OnSuccess]: {
8272
[InteractionState.Default]: green.dark2,
8373
[InteractionState.Hover]: green.dark2,
8474
[InteractionState.Focus]: blue.light1,
8575
},
86-
[Variant.OnError]: {
76+
[Variant.Error]: {
8777
[InteractionState.Default]: red.dark2,
8878
[InteractionState.Hover]: red.dark2,
8979
[InteractionState.Focus]: blue.light1,
@@ -164,36 +154,26 @@ const darkModeTextColors = {
164154
[InteractionState.Hover]: black,
165155
[InteractionState.Focus]: blue.dark2,
166156
},
167-
[Variant.Disabled]: {
168-
[InteractionState.Default]: gray.dark1,
169-
[InteractionState.Hover]: gray.dark1,
170-
[InteractionState.Focus]: gray.dark1,
171-
},
172157
[Variant.Success]: {
173-
[InteractionState.Default]: green.light2,
174-
[InteractionState.Hover]: green.light2,
175-
[InteractionState.Focus]: green.light2,
158+
[InteractionState.Default]: green.light1,
159+
[InteractionState.Hover]: green.light1,
160+
[InteractionState.Focus]: green.light1,
176161
},
177162
[Variant.Error]: {
178163
[InteractionState.Default]: red.light1,
179164
[InteractionState.Hover]: red.light1,
180165
[InteractionState.Focus]: red.light1,
181166
},
182-
[Variant.OnSuccess]: {
183-
[InteractionState.Default]: green.light1,
184-
[InteractionState.Hover]: green.light1,
185-
[InteractionState.Focus]: green.light1,
167+
[Variant.Disabled]: {
168+
[InteractionState.Default]: gray.dark1,
169+
[InteractionState.Hover]: gray.dark1,
170+
[InteractionState.Focus]: gray.dark1,
186171
},
187-
[Variant.OnSuccessLink]: {
172+
[Variant.SuccessLink]: {
188173
[InteractionState.Default]: green.light3,
189174
[InteractionState.Hover]: green.light3,
190175
[InteractionState.Focus]: green.light3,
191176
},
192-
[Variant.OnError]: {
193-
[InteractionState.Default]: red.light2,
194-
[InteractionState.Hover]: red.light2,
195-
[InteractionState.Focus]: red.light2,
196-
},
197177
[Variant.Link]: {
198178
[InteractionState.Default]: blue.light1,
199179
[InteractionState.Hover]: blue.light1,

packages/tokens/src/color/lightModeColors.ts

Lines changed: 13 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -69,30 +69,20 @@ const lightModeBorderColors = {
6969
[InteractionState.Focus]: blue.light1,
7070
},
7171
[Variant.Success]: {
72-
[InteractionState.Default]: green.dark1,
73-
[InteractionState.Hover]: green.dark1,
72+
[InteractionState.Default]: green.light2,
73+
[InteractionState.Hover]: green.light2,
7474
[InteractionState.Focus]: blue.light1,
7575
},
7676
[Variant.Error]: {
77-
[InteractionState.Default]: red.base,
78-
[InteractionState.Hover]: red.base,
77+
[InteractionState.Default]: red.light2,
78+
[InteractionState.Hover]: red.light2,
7979
[InteractionState.Focus]: blue.light1,
8080
},
8181
[Variant.Disabled]: {
8282
[InteractionState.Default]: gray.light1,
8383
[InteractionState.Hover]: gray.light1,
8484
[InteractionState.Focus]: gray.light1,
8585
},
86-
[Variant.OnSuccess]: {
87-
[InteractionState.Default]: green.light2,
88-
[InteractionState.Hover]: green.light2,
89-
[InteractionState.Focus]: green.light2,
90-
},
91-
[Variant.OnError]: {
92-
[InteractionState.Default]: red.light2,
93-
[InteractionState.Hover]: red.light2,
94-
[InteractionState.Focus]: red.light2,
95-
},
9686
} as const satisfies VariantColorRecord;
9787

9888
const lightModeIconColors = {
@@ -159,41 +149,31 @@ const lightModeTextColors = {
159149
[InteractionState.Hover]: white,
160150
[InteractionState.Focus]: blue.light2,
161151
},
162-
[Variant.Disabled]: {
163-
[InteractionState.Default]: gray.base,
164-
[InteractionState.Hover]: gray.base,
165-
[InteractionState.Focus]: gray.base,
166-
},
167152
[Variant.Success]: {
168153
[InteractionState.Default]: green.dark2,
169154
[InteractionState.Hover]: green.dark2,
170155
[InteractionState.Focus]: green.dark2,
171156
},
172157
[Variant.Error]: {
173-
[InteractionState.Default]: red.base,
174-
[InteractionState.Hover]: red.base,
175-
[InteractionState.Focus]: red.base,
158+
[InteractionState.Default]: red.dark2,
159+
[InteractionState.Hover]: red.dark2,
160+
[InteractionState.Focus]: red.dark2,
176161
},
177-
[Variant.Placeholder]: {
162+
[Variant.Disabled]: {
178163
[InteractionState.Default]: gray.base,
179164
[InteractionState.Hover]: gray.base,
180165
[InteractionState.Focus]: gray.base,
181166
},
182-
[Variant.OnSuccess]: {
183-
[InteractionState.Default]: green.dark2,
184-
[InteractionState.Hover]: green.dark2,
185-
[InteractionState.Focus]: green.dark2,
167+
[Variant.Placeholder]: {
168+
[InteractionState.Default]: gray.base,
169+
[InteractionState.Hover]: gray.base,
170+
[InteractionState.Focus]: gray.base,
186171
},
187-
[Variant.OnSuccessLink]: {
172+
[Variant.SuccessLink]: {
188173
[InteractionState.Default]: green.dark3,
189174
[InteractionState.Hover]: green.dark3,
190175
[InteractionState.Focus]: green.dark3,
191176
},
192-
[Variant.OnError]: {
193-
[InteractionState.Default]: red.dark2,
194-
[InteractionState.Hover]: red.dark2,
195-
[InteractionState.Focus]: red.dark2,
196-
},
197177
[Variant.Link]: {
198178
[InteractionState.Default]: blue.base,
199179
[InteractionState.Hover]: blue.base,

0 commit comments

Comments
 (0)