@impulse-ui-native/storybook 12.0.0 → 14.1.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ActionVariantOptions, ComponentSizeOptions, ComponentVariantOptions, DisplayVariantOptions, FieldToneOptions, FieldVariantOptions, SelectionVariantOptions } from './storybook.constants.mjs';
|
|
1
|
+
export { ActionVariantOptions, ButtonToneOptions, ComponentSizeOptions, ComponentToneOptions, ComponentVariantOptions, DisplayVariantOptions, FieldToneOptions, FieldVariantOptions, SelectionVariantOptions } from './storybook.constants.mjs';
|
|
@@ -6,5 +6,7 @@ declare const FieldToneOptions: ("neutral" | "primary" | "secondary")[];
|
|
|
6
6
|
declare const SelectionVariantOptions: ("filled" | "outlined" | "soft")[];
|
|
7
7
|
/** @deprecated Use the options for the relevant component family. */
|
|
8
8
|
declare const ComponentVariantOptions: ("filled" | "outlined" | "soft" | "ghost")[];
|
|
9
|
+
declare const ButtonToneOptions: ("neutral" | "primary" | "secondary")[];
|
|
10
|
+
declare const ComponentToneOptions: ("neutral" | "primary" | "secondary")[];
|
|
9
11
|
|
|
10
|
-
export { ActionVariantOptions, ComponentSizeOptions, ComponentVariantOptions, DisplayVariantOptions, FieldToneOptions, FieldVariantOptions, SelectionVariantOptions };
|
|
12
|
+
export { ActionVariantOptions, ButtonToneOptions, ComponentSizeOptions, ComponentToneOptions, ComponentVariantOptions, DisplayVariantOptions, FieldToneOptions, FieldVariantOptions, SelectionVariantOptions };
|
|
@@ -30,9 +30,21 @@ const SelectionVariantOptions = [
|
|
|
30
30
|
"soft"
|
|
31
31
|
];
|
|
32
32
|
const ComponentVariantOptions = ActionVariantOptions;
|
|
33
|
+
const ButtonToneOptions = [
|
|
34
|
+
"neutral",
|
|
35
|
+
"primary",
|
|
36
|
+
"secondary"
|
|
37
|
+
];
|
|
38
|
+
const ComponentToneOptions = [
|
|
39
|
+
"neutral",
|
|
40
|
+
"primary",
|
|
41
|
+
"secondary"
|
|
42
|
+
];
|
|
33
43
|
export {
|
|
34
44
|
ActionVariantOptions,
|
|
45
|
+
ButtonToneOptions,
|
|
35
46
|
ComponentSizeOptions,
|
|
47
|
+
ComponentToneOptions,
|
|
36
48
|
ComponentVariantOptions,
|
|
37
49
|
DisplayVariantOptions,
|
|
38
50
|
FieldToneOptions,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/constants/storybook.constants.ts"],"sourcesContent":["import type {\n ActionVariant,\n ComponentSize,\n DisplayVariant,\n FieldTone,\n FieldVariant,\n SelectionVariant,\n} from \"@impulse-ui-native/theme\";\n\nexport const ComponentSizeOptions = [\n \"small\",\n \"medium\",\n \"large\",\n] satisfies ComponentSize[];\n\nexport const ActionVariantOptions = [\n \"filled\",\n \"outlined\",\n \"soft\",\n \"ghost\",\n] satisfies ActionVariant[];\n\nexport const DisplayVariantOptions = [\n \"filled\",\n \"outlined\",\n \"soft\",\n] satisfies DisplayVariant[];\n\nexport const FieldVariantOptions = [\n \"filled\",\n \"outlined\",\n \"soft\",\n] satisfies FieldVariant[];\n\nexport const FieldToneOptions = [\n \"neutral\",\n \"primary\",\n \"secondary\",\n] satisfies FieldTone[];\n\nexport const SelectionVariantOptions = [\n \"filled\",\n \"outlined\",\n \"soft\",\n] satisfies SelectionVariant[];\n\n/** @deprecated Use the options for the relevant component family. */\nexport const ComponentVariantOptions = ActionVariantOptions;\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/constants/storybook.constants.ts"],"sourcesContent":["import type {\n ActionVariant,\n ButtonTone,\n ComponentSize,\n ComponentTone,\n DisplayVariant,\n FieldTone,\n FieldVariant,\n SelectionVariant,\n} from \"@impulse-ui-native/theme\";\n\nexport const ComponentSizeOptions = [\n \"small\",\n \"medium\",\n \"large\",\n] satisfies ComponentSize[];\n\nexport const ActionVariantOptions = [\n \"filled\",\n \"outlined\",\n \"soft\",\n \"ghost\",\n] satisfies ActionVariant[];\n\nexport const DisplayVariantOptions = [\n \"filled\",\n \"outlined\",\n \"soft\",\n] satisfies DisplayVariant[];\n\nexport const FieldVariantOptions = [\n \"filled\",\n \"outlined\",\n \"soft\",\n] satisfies FieldVariant[];\n\nexport const FieldToneOptions = [\n \"neutral\",\n \"primary\",\n \"secondary\",\n] satisfies FieldTone[];\n\nexport const SelectionVariantOptions = [\n \"filled\",\n \"outlined\",\n \"soft\",\n] satisfies SelectionVariant[];\n\n/** @deprecated Use the options for the relevant component family. */\nexport const ComponentVariantOptions = ActionVariantOptions;\n\nexport const ButtonToneOptions = [\n \"neutral\",\n \"primary\",\n \"secondary\",\n] satisfies ButtonTone[];\n\nexport const ComponentToneOptions = [\n \"neutral\",\n \"primary\",\n \"secondary\",\n] satisfies ComponentTone[];\n"],"mappings":"AAWO,MAAM,uBAAuB;AAAA,EAClC;AAAA,EACA;AAAA,EACA;AACF;AAEO,MAAM,uBAAuB;AAAA,EAClC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,MAAM,wBAAwB;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AACF;AAEO,MAAM,sBAAsB;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AACF;AAEO,MAAM,mBAAmB;AAAA,EAC9B;AAAA,EACA;AAAA,EACA;AACF;AAEO,MAAM,0BAA0B;AAAA,EACrC;AAAA,EACA;AAAA,EACA;AACF;AAGO,MAAM,0BAA0B;AAEhC,MAAM,oBAAoB;AAAA,EAC/B;AAAA,EACA;AAAA,EACA;AACF;AAEO,MAAM,uBAAuB;AAAA,EAClC;AAAA,EACA;AAAA,EACA;AACF;","names":[]}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { createComponentDescription, createStoryDescription } from './utils/storybook.utils.mjs';
|
|
2
|
-
export { ActionVariantOptions, ComponentSizeOptions, ComponentVariantOptions, DisplayVariantOptions, FieldToneOptions, FieldVariantOptions, SelectionVariantOptions } from './constants/storybook.constants.mjs';
|
|
2
|
+
export { ActionVariantOptions, ButtonToneOptions, ComponentSizeOptions, ComponentToneOptions, ComponentVariantOptions, DisplayVariantOptions, FieldToneOptions, FieldVariantOptions, SelectionVariantOptions } from './constants/storybook.constants.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@impulse-ui-native/storybook",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.1.0",
|
|
4
4
|
"description": "Shared Storybook stories and configuration for ImpulseUI Native components.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -28,39 +28,39 @@
|
|
|
28
28
|
],
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@impulse-ui-native/icon": "
|
|
32
|
-
"@impulse-ui-native/primitives": "
|
|
33
|
-
"@impulse-ui-native/theme": "
|
|
34
|
-
"@impulse-ui-native/card": "
|
|
35
|
-
"@impulse-ui-native/list": "
|
|
36
|
-
"@impulse-ui-native/progress": "
|
|
37
|
-
"@impulse-ui-native/flat-list": "
|
|
38
|
-
"@impulse-ui-native/color-picker": "
|
|
39
|
-
"@impulse-ui-native/icon-view": "
|
|
31
|
+
"@impulse-ui-native/icon": "14.1.0",
|
|
32
|
+
"@impulse-ui-native/primitives": "14.1.0",
|
|
33
|
+
"@impulse-ui-native/theme": "14.1.0",
|
|
34
|
+
"@impulse-ui-native/card": "14.1.0",
|
|
35
|
+
"@impulse-ui-native/list": "14.1.0",
|
|
36
|
+
"@impulse-ui-native/progress": "14.1.0",
|
|
37
|
+
"@impulse-ui-native/flat-list": "14.1.0",
|
|
38
|
+
"@impulse-ui-native/color-picker": "14.1.0",
|
|
39
|
+
"@impulse-ui-native/icon-view": "14.1.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@impulse-ui-native/popover": "
|
|
43
|
-
"@impulse-ui-native/core": "
|
|
44
|
-
"@impulse-ui-native/accordion": "
|
|
45
|
-
"@impulse-ui-native/charts": "
|
|
46
|
-
"@impulse-ui-native/checkbox": "
|
|
47
|
-
"@impulse-ui-native/data-state": "
|
|
48
|
-
"@impulse-ui-native/datetime": "
|
|
42
|
+
"@impulse-ui-native/popover": "14.1.0",
|
|
43
|
+
"@impulse-ui-native/core": "14.1.0",
|
|
44
|
+
"@impulse-ui-native/accordion": "14.1.0",
|
|
45
|
+
"@impulse-ui-native/charts": "14.1.0",
|
|
46
|
+
"@impulse-ui-native/checkbox": "14.1.0",
|
|
47
|
+
"@impulse-ui-native/data-state": "14.1.0",
|
|
48
|
+
"@impulse-ui-native/datetime": "14.1.0",
|
|
49
49
|
"@impulse-ui-native/eslint-config": "1.0.0",
|
|
50
|
-
"@impulse-ui-native/flyout": "
|
|
51
|
-
"@impulse-ui-native/form-field": "
|
|
52
|
-
"@impulse-ui-native/input": "
|
|
53
|
-
"@impulse-ui-native/overlay": "
|
|
54
|
-
"@impulse-ui-native/pagination": "
|
|
55
|
-
"@impulse-ui-native/portal": "
|
|
50
|
+
"@impulse-ui-native/flyout": "14.1.0",
|
|
51
|
+
"@impulse-ui-native/form-field": "14.1.0",
|
|
52
|
+
"@impulse-ui-native/input": "14.1.0",
|
|
53
|
+
"@impulse-ui-native/overlay": "14.1.0",
|
|
54
|
+
"@impulse-ui-native/pagination": "14.1.0",
|
|
55
|
+
"@impulse-ui-native/portal": "14.1.0",
|
|
56
56
|
"@impulse-ui-native/prettier-config": "1.0.0",
|
|
57
|
-
"@impulse-ui-native/radio": "
|
|
58
|
-
"@impulse-ui-native/segmented-control": "
|
|
59
|
-
"@impulse-ui-native/select": "
|
|
60
|
-
"@impulse-ui-native/skeleton": "
|
|
61
|
-
"@impulse-ui-native/stepper": "
|
|
62
|
-
"@impulse-ui-native/switch": "
|
|
63
|
-
"@impulse-ui-native/slider": "
|
|
57
|
+
"@impulse-ui-native/radio": "14.1.0",
|
|
58
|
+
"@impulse-ui-native/segmented-control": "14.1.0",
|
|
59
|
+
"@impulse-ui-native/select": "14.1.0",
|
|
60
|
+
"@impulse-ui-native/skeleton": "14.1.0",
|
|
61
|
+
"@impulse-ui-native/stepper": "14.1.0",
|
|
62
|
+
"@impulse-ui-native/switch": "14.1.0",
|
|
63
|
+
"@impulse-ui-native/slider": "14.1.0",
|
|
64
64
|
"@impulse-ui-native/tsconfig": "1.0.0",
|
|
65
65
|
"@shopify/react-native-skia": "2.14.0",
|
|
66
66
|
"@storybook/react": "^10.0.0",
|
|
@@ -70,10 +70,10 @@
|
|
|
70
70
|
"react": "19.3.0",
|
|
71
71
|
"react-native": "0.88.0",
|
|
72
72
|
"typescript": "~6.0.3",
|
|
73
|
-
"@impulse-ui-native/carousel": "
|
|
74
|
-
"@impulse-ui-native/toast": "
|
|
75
|
-
"@impulse-ui-native/modal": "
|
|
76
|
-
"@impulse-ui-native/tabs": "
|
|
73
|
+
"@impulse-ui-native/carousel": "14.1.0",
|
|
74
|
+
"@impulse-ui-native/toast": "14.1.0",
|
|
75
|
+
"@impulse-ui-native/modal": "14.1.0",
|
|
76
|
+
"@impulse-ui-native/tabs": "14.1.0"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"react": ">=18",
|