@mittwald/flow-react-components 0.1.0-alpha.261 → 0.1.0-alpha.263
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Accordion-CCq563rl.js → Accordion-Cna92lRM.js} +1 -1
- package/dist/Accordion.js +1 -1
- package/dist/Badge.js +1 -1
- package/dist/{Button-BepCRVIi.js → Button-mGobhr9A.js} +33 -32
- package/dist/Button.js +1 -1
- package/dist/{CalendarHeader-BlnCorxV.js → CalendarHeader-BhpwoC1A.js} +1 -1
- package/dist/CopyButton.js +1 -1
- package/dist/DatePicker.js +2 -2
- package/dist/DateRangePicker.js +2 -2
- package/dist/List.js +2 -2
- package/dist/Modal.js +1 -1
- package/dist/Navigation.js +1 -1
- package/dist/Notification.js +1 -1
- package/dist/NumberField.js +1 -1
- package/dist/{SearchField-CMvYWO_P.js → SearchField-Dy_ogzQr.js} +1 -1
- package/dist/SearchField.js +1 -1
- package/dist/Slider.js +1 -1
- package/dist/Tabs.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/components/Button/Button.d.ts +1 -1
- package/dist/types/components/Button/stories/Variants.stories.d.ts +6 -0
- package/package.json +4 -4
|
@@ -6,7 +6,7 @@ export interface ButtonProps extends PropsWithChildren<Aria.ButtonProps>, FlowCo
|
|
|
6
6
|
/** @default "primary" */
|
|
7
7
|
color?: "primary" | "accent" | "secondary" | "danger" | "dark" | "light";
|
|
8
8
|
/** @default "solid" */
|
|
9
|
-
variant?: "plain" | "solid" | "soft";
|
|
9
|
+
variant?: "plain" | "solid" | "soft" | "outline";
|
|
10
10
|
/** @default "m" */
|
|
11
11
|
size?: "m" | "s";
|
|
12
12
|
"aria-disabled"?: boolean;
|
|
@@ -6,18 +6,24 @@ type Story = StoryObj<typeof Button>;
|
|
|
6
6
|
export declare const PrimarySolid: Story;
|
|
7
7
|
export declare const PrimaryPlain: Story;
|
|
8
8
|
export declare const PrimarySoft: Story;
|
|
9
|
+
export declare const PrimaryOutline: Story;
|
|
9
10
|
export declare const AccentSolid: Story;
|
|
10
11
|
export declare const AccentPlain: Story;
|
|
11
12
|
export declare const AccentSoft: Story;
|
|
13
|
+
export declare const AccentOutline: Story;
|
|
12
14
|
export declare const SecondarySolid: Story;
|
|
13
15
|
export declare const SecondaryPlain: Story;
|
|
14
16
|
export declare const SecondarySoft: Story;
|
|
17
|
+
export declare const SecondaryOutline: Story;
|
|
15
18
|
export declare const DangerSolid: Story;
|
|
16
19
|
export declare const DangerPlain: Story;
|
|
17
20
|
export declare const DangerSoft: Story;
|
|
21
|
+
export declare const DangerOutline: Story;
|
|
18
22
|
export declare const DarkSolid: Story;
|
|
19
23
|
export declare const DarkPlain: Story;
|
|
20
24
|
export declare const DarkSoft: Story;
|
|
25
|
+
export declare const DarkOutline: Story;
|
|
21
26
|
export declare const LightSolid: Story;
|
|
22
27
|
export declare const LightPlain: Story;
|
|
23
28
|
export declare const LightSoft: Story;
|
|
29
|
+
export declare const LightOutline: Story;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-react-components",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.263",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
"@chakra-ui/live-region": "^2.1.0",
|
|
314
314
|
"@internationalized/date": "^3.5.5",
|
|
315
315
|
"@internationalized/string-compiler": "^3.2.4",
|
|
316
|
-
"@mittwald/react-tunnel": "^0.1.0-alpha.
|
|
316
|
+
"@mittwald/react-tunnel": "^0.1.0-alpha.263",
|
|
317
317
|
"@mittwald/react-use-promise": "^2.5.0",
|
|
318
318
|
"@react-aria/utils": "^3.25.2",
|
|
319
319
|
"@react-types/shared": "^3.24.1",
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
},
|
|
341
341
|
"devDependencies": {
|
|
342
342
|
"@faker-js/faker": "^9.0.1",
|
|
343
|
-
"@mittwald/flow-design-tokens": "^0.1.0-alpha.
|
|
343
|
+
"@mittwald/flow-design-tokens": "^0.1.0-alpha.263",
|
|
344
344
|
"@mittwald/react-use-promise": "^2.5.0",
|
|
345
345
|
"@nx/storybook": "^19.7.4",
|
|
346
346
|
"@storybook/addon-a11y": "^8.3.2",
|
|
@@ -418,5 +418,5 @@
|
|
|
418
418
|
"optional": true
|
|
419
419
|
}
|
|
420
420
|
},
|
|
421
|
-
"gitHead": "
|
|
421
|
+
"gitHead": "ac0313b9f54213fe51cd1bb3e06bfdb416ccc3e4"
|
|
422
422
|
}
|