-
- {appearance}
-
-
}
- {...commonButtonProps}
- appearance={appearance}
- >
- Default
-
-
}
- {...commonButtonProps}
- appearance={appearance}
- >
- Hover
-
-
}
- {...commonButtonProps}
- appearance={appearance}
- >
- Pressed
-
-
}
- {...commonButtonProps}
- appearance={appearance}
- >
- Focus
-
-
}
- {...commonButtonProps}
- appearance={appearance}
- disabled
- disabledFocusable={disabledFocusable}
- >
- Disabled
-
-
- );
- })}
-
- );
- },
- },
- ]}
- />
- );
-};
-
-CAPButtonWithCtrlsStory.parameters = {
- pseudo: {
- // Keep pressed buttons hovered too since older Button styles rely on :hover:active
- hover: [...hoverSelectors, ...activeSelectors],
- active: activeSelectors,
- focusVisible: focusSelectors,
- },
-};
-
-CAPButtonWithCtrlsStory.argTypes = {
- disabledFocusable: {
- control: false,
- table: { disable: true },
- },
- iconPosition: {
- options: ['before', 'after'],
- control: { type: 'radio' },
- },
- shape: {
- options: ['rounded', 'circular', 'square'],
- control: { type: 'radio' },
- },
- size: {
- options: ['small', 'medium', 'large'],
- control: { type: 'radio' },
- },
-};
-
-CAPButtonWithCtrlsStory.args = {
- disabledFocusable: false,
- iconPosition: 'before',
- shape: 'rounded',
- size: 'medium',
-};
diff --git a/packages/react-cap-theme/stories/components/Card.stories.tsx b/packages/react-cap-theme/stories/components/Card.stories.tsx
deleted file mode 100644
index 3cb9f6fd..00000000
--- a/packages/react-cap-theme/stories/components/Card.stories.tsx
+++ /dev/null
@@ -1,47 +0,0 @@
-import * as React from 'react';
-import {
- Button,
- Caption1,
- Card,
- CardHeader,
- Text,
-} from '@fluentui/react-components';
-import { CAPThemeExamplesTable } from '../StorybookUtils';
-import { MoreHorizontal20Regular } from '@fluentui/react-icons';
-
-export const CAPCardStory = () => {
- return (
-