@impulse-ui-native/storybook 11.4.0 → 12.0.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, FieldVariantOptions, SelectionVariantOptions } from './storybook.constants.mjs';
|
|
1
|
+
export { ActionVariantOptions, ComponentSizeOptions, ComponentVariantOptions, DisplayVariantOptions, FieldToneOptions, FieldVariantOptions, SelectionVariantOptions } from './storybook.constants.mjs';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
declare const ComponentSizeOptions: ("small" | "medium" | "large")[];
|
|
2
2
|
declare const ActionVariantOptions: ("filled" | "outlined" | "soft" | "ghost")[];
|
|
3
3
|
declare const DisplayVariantOptions: ("filled" | "outlined" | "soft")[];
|
|
4
|
-
declare const FieldVariantOptions: ("filled" | "outlined")[];
|
|
4
|
+
declare const FieldVariantOptions: ("filled" | "outlined" | "soft")[];
|
|
5
|
+
declare const FieldToneOptions: ("neutral" | "primary" | "secondary")[];
|
|
5
6
|
declare const SelectionVariantOptions: ("filled" | "outlined" | "soft")[];
|
|
6
7
|
/** @deprecated Use the options for the relevant component family. */
|
|
7
8
|
declare const ComponentVariantOptions: ("filled" | "outlined" | "soft" | "ghost")[];
|
|
8
9
|
|
|
9
|
-
export { ActionVariantOptions, ComponentSizeOptions, ComponentVariantOptions, DisplayVariantOptions, FieldVariantOptions, SelectionVariantOptions };
|
|
10
|
+
export { ActionVariantOptions, ComponentSizeOptions, ComponentVariantOptions, DisplayVariantOptions, FieldToneOptions, FieldVariantOptions, SelectionVariantOptions };
|
|
@@ -16,7 +16,13 @@ const DisplayVariantOptions = [
|
|
|
16
16
|
];
|
|
17
17
|
const FieldVariantOptions = [
|
|
18
18
|
"filled",
|
|
19
|
-
"outlined"
|
|
19
|
+
"outlined",
|
|
20
|
+
"soft"
|
|
21
|
+
];
|
|
22
|
+
const FieldToneOptions = [
|
|
23
|
+
"neutral",
|
|
24
|
+
"primary",
|
|
25
|
+
"secondary"
|
|
20
26
|
];
|
|
21
27
|
const SelectionVariantOptions = [
|
|
22
28
|
"filled",
|
|
@@ -29,6 +35,7 @@ export {
|
|
|
29
35
|
ComponentSizeOptions,
|
|
30
36
|
ComponentVariantOptions,
|
|
31
37
|
DisplayVariantOptions,
|
|
38
|
+
FieldToneOptions,
|
|
32
39
|
FieldVariantOptions,
|
|
33
40
|
SelectionVariantOptions
|
|
34
41
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/constants/storybook.constants.ts"],"sourcesContent":["import type {\n ActionVariant,\n ComponentSize,\n DisplayVariant,\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] satisfies FieldVariant[];\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 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":"AASO,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;","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, FieldVariantOptions, SelectionVariantOptions } from './constants/storybook.constants.mjs';
|
|
2
|
+
export { ActionVariantOptions, ComponentSizeOptions, 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": "12.0.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": "12.0.0",
|
|
32
|
+
"@impulse-ui-native/primitives": "12.0.0",
|
|
33
|
+
"@impulse-ui-native/theme": "12.0.0",
|
|
34
|
+
"@impulse-ui-native/card": "12.0.0",
|
|
35
|
+
"@impulse-ui-native/list": "12.0.0",
|
|
36
|
+
"@impulse-ui-native/progress": "12.0.0",
|
|
37
|
+
"@impulse-ui-native/flat-list": "12.0.0",
|
|
38
|
+
"@impulse-ui-native/color-picker": "12.0.0",
|
|
39
|
+
"@impulse-ui-native/icon-view": "12.0.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": "12.0.0",
|
|
43
|
+
"@impulse-ui-native/core": "12.0.0",
|
|
44
|
+
"@impulse-ui-native/accordion": "12.0.0",
|
|
45
|
+
"@impulse-ui-native/charts": "12.0.0",
|
|
46
|
+
"@impulse-ui-native/checkbox": "12.0.0",
|
|
47
|
+
"@impulse-ui-native/data-state": "12.0.0",
|
|
48
|
+
"@impulse-ui-native/datetime": "12.0.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": "12.0.0",
|
|
51
|
+
"@impulse-ui-native/form-field": "12.0.0",
|
|
52
|
+
"@impulse-ui-native/input": "12.0.0",
|
|
53
|
+
"@impulse-ui-native/overlay": "12.0.0",
|
|
54
|
+
"@impulse-ui-native/pagination": "12.0.0",
|
|
55
|
+
"@impulse-ui-native/portal": "12.0.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": "12.0.0",
|
|
58
|
+
"@impulse-ui-native/segmented-control": "12.0.0",
|
|
59
|
+
"@impulse-ui-native/select": "12.0.0",
|
|
60
|
+
"@impulse-ui-native/skeleton": "12.0.0",
|
|
61
|
+
"@impulse-ui-native/stepper": "12.0.0",
|
|
62
|
+
"@impulse-ui-native/switch": "12.0.0",
|
|
63
|
+
"@impulse-ui-native/slider": "12.0.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": "12.0.0",
|
|
74
|
+
"@impulse-ui-native/toast": "12.0.0",
|
|
75
|
+
"@impulse-ui-native/modal": "12.0.0",
|
|
76
|
+
"@impulse-ui-native/tabs": "12.0.0"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"react": ">=18",
|