From 6f3656194cc860591f45e1923f8e0b4251c39975 Mon Sep 17 00:00:00 2001 From: Melissa Thompson Date: Tue, 19 Mar 2024 14:27:52 -0400 Subject: [PATCH] feat(downstate): docs + implementation for example components (#2520) * feat(downstate): docs + implementation for example components * docs: update mdx * docs: reorg, stories live within foundations * docs: decorator for down state dimension tokens * docs: fix mdx hierarchy console error * fix: small iconOnly button gets min perspective * docs: use markdown, update language * fix: disabled, readonly checkbox doesnt have down state * chore(button,checkbox): update package versions --- .../foundations/down-state/button-down-state.stories.js | 2 +- .../foundations/down-state/checkbox-down-state.stories.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.storybook/foundations/down-state/button-down-state.stories.js b/.storybook/foundations/down-state/button-down-state.stories.js index 603fa500c9a..a2665d9c816 100644 --- a/.storybook/foundations/down-state/button-down-state.stories.js +++ b/.storybook/foundations/down-state/button-down-state.stories.js @@ -1,4 +1,4 @@ -import { Template } from "../../../components/button/stories/template"; +import { Template } from "@spectrum-css/button/stories/template"; export default { title: "Foundations/Down state", diff --git a/.storybook/foundations/down-state/checkbox-down-state.stories.js b/.storybook/foundations/down-state/checkbox-down-state.stories.js index fcc43a4ee1a..34a3a5005a3 100644 --- a/.storybook/foundations/down-state/checkbox-down-state.stories.js +++ b/.storybook/foundations/down-state/checkbox-down-state.stories.js @@ -1,4 +1,4 @@ -import { Template } from "../../../components/checkbox/stories/template"; +import { Template } from "@spectrum-css/checkbox/stories/template"; export default { title: "Foundations/Down state", @@ -10,10 +10,10 @@ export default { }, parameters: { actions: { - handles: ["click input[type=\"checkbox\"]"], + handles: ['click input[type="checkbox"]'], }, }, - tags: ["foundation"], + tags: ['foundation'], }; export const CheckboxDownState = Template.bind({});