@salutejs/plasma-sb-utils 0.247.0-next-sbcom.0 → 0.248.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.
- package/lib/components/Accordion/Accordion.d.ts +5 -38
- package/lib/components/Accordion/meta.d.ts +5 -38
- package/lib/components/Accordion/meta.js +6 -15
- package/lib/components/Accordion/meta.js.map +1 -1
- package/lib/components/Attach/Attach.d.ts +38 -101
- package/lib/components/Attach/meta.d.ts +38 -101
- package/lib/components/Attach/meta.js +44 -53
- package/lib/components/Attach/meta.js.map +1 -1
- package/lib/components/Badge/Badge.d.ts +18 -45
- package/lib/components/Badge/meta.d.ts +18 -45
- package/lib/components/Badge/meta.js +10 -15
- package/lib/components/Badge/meta.js.map +1 -1
- package/lib/components/BottomSheet/BottomSheet.d.ts +11 -41
- package/lib/components/BottomSheet/meta.d.ts +11 -41
- package/lib/components/BottomSheet/meta.js +10 -16
- package/lib/components/BottomSheet/meta.js.map +1 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -12
- package/lib/components/Breadcrumbs/meta.d.ts +0 -12
- package/lib/components/Breadcrumbs/meta.js +0 -4
- package/lib/components/Breadcrumbs/meta.js.map +1 -1
- package/lib/components/Button/Button.d.ts +15 -51
- package/lib/components/Button/meta.d.ts +15 -51
- package/lib/components/Button/meta.js +10 -18
- package/lib/components/Button/meta.js.map +1 -1
- package/lib/components/Calendar/Calendar.d.ts +26 -5
- package/lib/components/Calendar/meta.d.ts +26 -5
- package/lib/components/Calendar/meta.js +15 -7
- package/lib/components/Calendar/meta.js.map +1 -1
- package/lib/components/Calendar/stories.d.ts +2 -2
- package/lib/components/Calendar/stories.js +4 -4
- package/lib/components/Calendar/stories.js.map +1 -1
- package/lib/components/Carousel/Carousel.d.ts +27 -12
- package/lib/components/Carousel/Carousel.js +14 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/meta.d.ts +16 -12
- package/lib/components/Carousel/meta.js +19 -12
- package/lib/components/Carousel/meta.js.map +1 -1
- package/lib/components/Carousel/stories.d.ts +1 -0
- package/lib/components/Carousel/stories.js +43 -1
- package/lib/components/Carousel/stories.js.map +1 -1
- package/lib/components/Chip/Chip.d.ts +10 -43
- package/lib/components/Chip/meta.d.ts +10 -43
- package/lib/components/Chip/meta.js +8 -16
- package/lib/components/Chip/meta.js.map +1 -1
- package/lib/components/CodeArea/CodeArea.d.ts +16 -46
- package/lib/components/CodeArea/meta.d.ts +16 -46
- package/lib/components/CodeArea/meta.js +16 -20
- package/lib/components/CodeArea/meta.js.map +1 -1
- package/lib/components/CodeField/CodeField.d.ts +0 -46
- package/lib/components/CodeField/meta.d.ts +0 -46
- package/lib/components/CodeField/meta.js +0 -15
- package/lib/components/CodeField/meta.js.map +1 -1
- package/lib/components/CodeInput/CodeInput.d.ts +0 -40
- package/lib/components/CodeInput/meta.d.ts +0 -40
- package/lib/components/CodeInput/meta.js +0 -13
- package/lib/components/CodeInput/meta.js.map +1 -1
- package/lib/components/Combobox/Combobox.d.ts +10 -90
- package/lib/components/Combobox/meta.d.ts +10 -90
- package/lib/components/Combobox/meta.js +6 -33
- package/lib/components/Combobox/meta.js.map +1 -1
- package/lib/components/DatePicker/DatePicker.d.ts +135 -58
- package/lib/components/DatePicker/fixtures.d.ts +1 -0
- package/lib/components/DatePicker/fixtures.js +1 -0
- package/lib/components/DatePicker/fixtures.js.map +1 -1
- package/lib/components/DatePicker/meta.d.ts +135 -58
- package/lib/components/DatePicker/meta.js +70 -79
- package/lib/components/DatePicker/meta.js.map +1 -1
- package/lib/components/DateTimePicker/DateTimePicker.d.ts +31 -158
- package/lib/components/DateTimePicker/fixtures.d.ts +1 -0
- package/lib/components/DateTimePicker/fixtures.js +1 -0
- package/lib/components/DateTimePicker/fixtures.js.map +1 -1
- package/lib/components/DateTimePicker/meta.d.ts +31 -158
- package/lib/components/DateTimePicker/meta.js +22 -59
- package/lib/components/DateTimePicker/meta.js.map +1 -1
- package/lib/components/Drawer/Drawer.d.ts +32 -78
- package/lib/components/Drawer/meta.d.ts +32 -78
- package/lib/components/Drawer/meta.js +26 -33
- package/lib/components/Drawer/meta.js.map +1 -1
- package/lib/components/Dropdown/fixtures.js +15 -1
- package/lib/components/Dropdown/fixtures.js.map +1 -1
- package/lib/components/Dropdown/meta.js +1 -1
- package/lib/components/Dropdown/meta.js.map +1 -1
- package/lib/components/Dropzone/Dropzone.d.ts +0 -33
- package/lib/components/Dropzone/meta.d.ts +0 -33
- package/lib/components/Dropzone/meta.js +0 -11
- package/lib/components/Dropzone/meta.js.map +1 -1
- package/lib/components/EmbeddedButton/EmbeddedButton.d.ts +0 -21
- package/lib/components/EmbeddedButton/meta.d.ts +0 -21
- package/lib/components/EmbeddedButton/meta.js +10 -14
- package/lib/components/EmbeddedButton/meta.js.map +1 -1
- package/lib/components/File/File.d.ts +11 -6
- package/lib/components/File/meta.d.ts +11 -6
- package/lib/components/File/meta.js +9 -6
- package/lib/components/File/meta.js.map +1 -1
- package/lib/components/InformationWrapper/InformationWrapper.d.ts +10 -73
- package/lib/components/InformationWrapper/meta.d.ts +10 -73
- package/lib/components/InformationWrapper/meta.js +10 -28
- package/lib/components/InformationWrapper/meta.js.map +1 -1
- package/lib/components/Link/Link.d.ts +5 -23
- package/lib/components/Link/meta.d.ts +5 -23
- package/lib/components/Link/meta.js +7 -11
- package/lib/components/Link/meta.js.map +1 -1
- package/lib/components/Note/Note.d.ts +15 -54
- package/lib/components/Note/meta.d.ts +15 -54
- package/lib/components/Note/meta.js +13 -22
- package/lib/components/Note/meta.js.map +1 -1
- package/lib/components/NumberFormat/NumberFormat.d.ts +0 -84
- package/lib/components/NumberFormat/meta.d.ts +0 -84
- package/lib/components/NumberFormat/meta.js +0 -28
- package/lib/components/NumberFormat/meta.js.map +1 -1
- package/lib/components/NumberInput/NumberInput.d.ts +0 -72
- package/lib/components/NumberInput/meta.d.ts +0 -72
- package/lib/components/NumberInput/meta.js +0 -24
- package/lib/components/NumberInput/meta.js.map +1 -1
- package/lib/components/Pagination/Pagination.d.ts +15 -64
- package/lib/components/Pagination/meta.d.ts +15 -64
- package/lib/components/Pagination/meta.js +9 -22
- package/lib/components/Pagination/meta.js.map +1 -1
- package/lib/components/Popover/Popover.d.ts +10 -67
- package/lib/components/Popover/meta.d.ts +10 -40
- package/lib/components/Popover/meta.js +8 -15
- package/lib/components/Popover/meta.js.map +1 -1
- package/lib/components/Popover/stories.d.ts +0 -27
- package/lib/components/Popover/stories.js +3 -11
- package/lib/components/Popover/stories.js.map +1 -1
- package/lib/components/Progress/Progress.d.ts +5 -41
- package/lib/components/Progress/meta.d.ts +5 -41
- package/lib/components/Progress/meta.js +7 -17
- package/lib/components/Progress/meta.js.map +1 -1
- package/lib/components/Range/Range.d.ts +47 -12
- package/lib/components/Range/meta.d.ts +47 -12
- package/lib/components/Range/meta.js +15 -5
- package/lib/components/Range/meta.js.map +1 -1
- package/lib/components/Rating/Rating.d.ts +0 -33
- package/lib/components/Rating/meta.d.ts +0 -33
- package/lib/components/Rating/meta.js +0 -11
- package/lib/components/Rating/meta.js.map +1 -1
- package/lib/components/Segment/meta.js +13 -9
- package/lib/components/Segment/meta.js.map +1 -1
- package/lib/components/Select/Select.d.ts +11 -269
- package/lib/components/Select/Select.js +13 -1
- package/lib/components/Select/Select.js.map +1 -1
- package/lib/components/Select/meta.d.ts +15 -2
- package/lib/components/Select/meta.js +16 -7
- package/lib/components/Select/meta.js.map +1 -1
- package/lib/components/Slider/Slider.d.ts +19 -97
- package/lib/components/Slider/meta.d.ts +19 -94
- package/lib/components/Slider/meta.js +15 -36
- package/lib/components/Slider/meta.js.map +1 -1
- package/lib/components/Slider/stories.d.ts +0 -3
- package/lib/components/Slider/stories.js +0 -1
- package/lib/components/Slider/stories.js.map +1 -1
- package/lib/components/Steps/Steps.d.ts +25 -73
- package/lib/components/Steps/meta.d.ts +25 -73
- package/lib/components/Steps/meta.js +22 -31
- package/lib/components/Steps/meta.js.map +1 -1
- package/lib/components/Table/Table.d.ts +6 -6
- package/lib/components/Table/meta.d.ts +6 -6
- package/lib/components/Table/meta.js +8 -4
- package/lib/components/Table/meta.js.map +1 -1
- package/lib/components/Tabs/Tabs.d.ts +48 -144
- package/lib/components/Tabs/meta.d.ts +24 -72
- package/lib/components/Tabs/meta.js +21 -31
- package/lib/components/Tabs/meta.js.map +1 -1
- package/lib/components/TextArea/TextArea.d.ts +19 -121
- package/lib/components/TextArea/meta.d.ts +19 -121
- package/lib/components/TextArea/meta.js +14 -44
- package/lib/components/TextArea/meta.js.map +1 -1
- package/lib/components/TextField/TextField.d.ts +15 -108
- package/lib/components/TextField/meta.d.ts +15 -108
- package/lib/components/TextField/meta.js +13 -40
- package/lib/components/TextField/meta.js.map +1 -1
- package/lib/components/TextFieldSlider/TextFieldSlider.d.ts +25 -148
- package/lib/components/TextFieldSlider/meta.d.ts +25 -148
- package/lib/components/TextFieldSlider/meta.js +19 -54
- package/lib/components/TextFieldSlider/meta.js.map +1 -1
- package/lib/components/TimePicker/TimePicker.d.ts +21 -129
- package/lib/components/TimePicker/meta.d.ts +21 -129
- package/lib/components/TimePicker/meta.js +16 -48
- package/lib/components/TimePicker/meta.js.map +1 -1
- package/lib/components/Tour/Tour.d.ts +5 -35
- package/lib/components/Tour/meta.d.ts +5 -35
- package/lib/components/Tour/meta.js +7 -15
- package/lib/components/Tour/meta.js.map +1 -1
- package/lib/components/_ai/Answer/Answer.d.ts +7 -34
- package/lib/components/_ai/Answer/meta.d.ts +7 -34
- package/lib/components/_ai/Answer/meta.js +13 -19
- package/lib/components/_ai/Answer/meta.js.map +1 -1
- package/lib/components/_ai/Container/Container.d.ts +26 -80
- package/lib/components/_ai/Container/meta.d.ts +26 -80
- package/lib/components/_ai/Container/meta.js +34 -48
- package/lib/components/_ai/Container/meta.js.map +1 -1
- package/lib/components/_ai/Header/Header.d.ts +8 -32
- package/lib/components/_ai/Header/meta.d.ts +8 -32
- package/lib/components/_ai/Header/meta.js +8 -13
- package/lib/components/_ai/Header/meta.js.map +1 -1
- package/lib/components/_ai/Input/Input.d.ts +8 -41
- package/lib/components/_ai/Input/meta.d.ts +8 -41
- package/lib/components/_ai/Input/meta.js +8 -16
- package/lib/components/_ai/Input/meta.js.map +1 -1
- package/lib/components/_ai/Markdown/Markdown.d.ts +4 -4
- package/lib/components/_ai/Markdown/meta.d.ts +4 -4
- package/lib/components/_ai/Markdown/meta.js +7 -5
- package/lib/components/_ai/Markdown/meta.js.map +1 -1
- package/lib/components/_ai/UserMessage/UserMessage.d.ts +11 -29
- package/lib/components/_ai/UserMessage/meta.d.ts +11 -29
- package/lib/components/_ai/UserMessage/meta.js +8 -11
- package/lib/components/_ai/UserMessage/meta.js.map +1 -1
- package/lib/components/_ai/UserMessage/stories.js +2 -2
- package/lib/components/_ai/UserMessage/stories.js.map +1 -1
- package/lib/components/index.d.ts +0 -1
- package/lib/components/index.js +0 -1
- package/lib/components/index.js.map +1 -1
- package/lib/helpers/exampleOnly.d.ts +14 -0
- package/lib/helpers/exampleOnly.js +28 -0
- package/lib/helpers/exampleOnly.js.map +1 -0
- package/lib/helpers/index.d.ts +1 -0
- package/lib/helpers/index.js +1 -0
- package/lib/helpers/index.js.map +1 -1
- package/package.json +7 -7
- package/lib/components/Spinner/Spinner.d.ts +0 -59
- package/lib/components/Spinner/Spinner.js +0 -42
- package/lib/components/Spinner/Spinner.js.map +0 -1
- package/lib/components/Spinner/fixtures.d.ts +0 -1
- package/lib/components/Spinner/fixtures.js +0 -2
- package/lib/components/Spinner/fixtures.js.map +0 -1
- package/lib/components/Spinner/index.d.ts +0 -1
- package/lib/components/Spinner/index.js +0 -2
- package/lib/components/Spinner/index.js.map +0 -1
- package/lib/components/Spinner/meta.d.ts +0 -47
- package/lib/components/Spinner/meta.js +0 -45
- package/lib/components/Spinner/meta.js.map +0 -1
- package/lib/components/Spinner/stories.d.ts +0 -7
- package/lib/components/Spinner/stories.js +0 -60
- package/lib/components/Spinner/stories.js.map +0 -1
|
@@ -27,99 +27,66 @@ export declare const getAccordionStories: ({ component, accordionItem, iconButto
|
|
|
27
27
|
body: string;
|
|
28
28
|
};
|
|
29
29
|
argTypes: {
|
|
30
|
+
body: {
|
|
31
|
+
control: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
30
35
|
view: {
|
|
31
36
|
options: string[];
|
|
32
37
|
control: {
|
|
33
38
|
type: string;
|
|
34
39
|
};
|
|
35
|
-
table: {
|
|
36
|
-
category: string;
|
|
37
|
-
};
|
|
38
40
|
};
|
|
39
41
|
size: {
|
|
40
42
|
options: string[];
|
|
41
43
|
control: {
|
|
42
44
|
type: string;
|
|
43
45
|
};
|
|
44
|
-
table: {
|
|
45
|
-
category: string;
|
|
46
|
-
};
|
|
47
46
|
};
|
|
48
47
|
disabled: {
|
|
49
48
|
control: {
|
|
50
49
|
type: string;
|
|
51
50
|
};
|
|
52
|
-
table: {
|
|
53
|
-
category: string;
|
|
54
|
-
};
|
|
55
51
|
};
|
|
56
52
|
singleActive: {
|
|
57
53
|
control: {
|
|
58
54
|
type: string;
|
|
59
55
|
};
|
|
60
|
-
table: {
|
|
61
|
-
category: string;
|
|
62
|
-
};
|
|
63
56
|
};
|
|
64
57
|
stretching: {
|
|
65
58
|
options: readonly ["filled", "fixed"];
|
|
66
59
|
control: {
|
|
67
60
|
type: string;
|
|
68
61
|
};
|
|
69
|
-
table: {
|
|
70
|
-
category: string;
|
|
71
|
-
};
|
|
72
62
|
};
|
|
73
63
|
defaultIconContent: {
|
|
74
64
|
options: readonly ["arrow", "chevron", "sign", "clear"];
|
|
75
65
|
control: {
|
|
76
66
|
type: string;
|
|
77
67
|
};
|
|
78
|
-
table: {
|
|
79
|
-
category: string;
|
|
80
|
-
};
|
|
81
68
|
};
|
|
82
69
|
defaultIconPlacement: {
|
|
83
70
|
options: readonly ["left", "right"];
|
|
84
71
|
control: {
|
|
85
72
|
type: string;
|
|
86
73
|
};
|
|
87
|
-
table: {
|
|
88
|
-
category: string;
|
|
89
|
-
};
|
|
90
74
|
};
|
|
91
75
|
pin: {
|
|
92
76
|
options: readonly ["square-square", "square-clear", "clear-square", "clear-clear", "clear-circle", "circle-clear", "circle-circle"];
|
|
93
77
|
control: {
|
|
94
78
|
type: string;
|
|
95
79
|
};
|
|
96
|
-
table: {
|
|
97
|
-
category: string;
|
|
98
|
-
};
|
|
99
80
|
};
|
|
100
81
|
alignWithTitle: {
|
|
101
82
|
control: {
|
|
102
83
|
type: string;
|
|
103
84
|
};
|
|
104
|
-
table: {
|
|
105
|
-
category: string;
|
|
106
|
-
};
|
|
107
85
|
};
|
|
108
86
|
title: {
|
|
109
87
|
control: {
|
|
110
88
|
type: string;
|
|
111
89
|
};
|
|
112
|
-
table: {
|
|
113
|
-
category: string;
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
body: {
|
|
117
|
-
control: {
|
|
118
|
-
type: string;
|
|
119
|
-
};
|
|
120
|
-
table: {
|
|
121
|
-
category: string;
|
|
122
|
-
};
|
|
123
90
|
};
|
|
124
91
|
};
|
|
125
92
|
};
|
|
@@ -27,99 +27,66 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
27
27
|
body: string;
|
|
28
28
|
};
|
|
29
29
|
argTypes: {
|
|
30
|
+
body: {
|
|
31
|
+
control: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
30
35
|
view: {
|
|
31
36
|
options: string[];
|
|
32
37
|
control: {
|
|
33
38
|
type: string;
|
|
34
39
|
};
|
|
35
|
-
table: {
|
|
36
|
-
category: string;
|
|
37
|
-
};
|
|
38
40
|
};
|
|
39
41
|
size: {
|
|
40
42
|
options: string[];
|
|
41
43
|
control: {
|
|
42
44
|
type: string;
|
|
43
45
|
};
|
|
44
|
-
table: {
|
|
45
|
-
category: string;
|
|
46
|
-
};
|
|
47
46
|
};
|
|
48
47
|
disabled: {
|
|
49
48
|
control: {
|
|
50
49
|
type: string;
|
|
51
50
|
};
|
|
52
|
-
table: {
|
|
53
|
-
category: string;
|
|
54
|
-
};
|
|
55
51
|
};
|
|
56
52
|
singleActive: {
|
|
57
53
|
control: {
|
|
58
54
|
type: string;
|
|
59
55
|
};
|
|
60
|
-
table: {
|
|
61
|
-
category: string;
|
|
62
|
-
};
|
|
63
56
|
};
|
|
64
57
|
stretching: {
|
|
65
58
|
options: readonly ["filled", "fixed"];
|
|
66
59
|
control: {
|
|
67
60
|
type: string;
|
|
68
61
|
};
|
|
69
|
-
table: {
|
|
70
|
-
category: string;
|
|
71
|
-
};
|
|
72
62
|
};
|
|
73
63
|
defaultIconContent: {
|
|
74
64
|
options: readonly ["arrow", "chevron", "sign", "clear"];
|
|
75
65
|
control: {
|
|
76
66
|
type: string;
|
|
77
67
|
};
|
|
78
|
-
table: {
|
|
79
|
-
category: string;
|
|
80
|
-
};
|
|
81
68
|
};
|
|
82
69
|
defaultIconPlacement: {
|
|
83
70
|
options: readonly ["left", "right"];
|
|
84
71
|
control: {
|
|
85
72
|
type: string;
|
|
86
73
|
};
|
|
87
|
-
table: {
|
|
88
|
-
category: string;
|
|
89
|
-
};
|
|
90
74
|
};
|
|
91
75
|
pin: {
|
|
92
76
|
options: readonly ["square-square", "square-clear", "clear-square", "clear-clear", "clear-circle", "circle-clear", "circle-circle"];
|
|
93
77
|
control: {
|
|
94
78
|
type: string;
|
|
95
79
|
};
|
|
96
|
-
table: {
|
|
97
|
-
category: string;
|
|
98
|
-
};
|
|
99
80
|
};
|
|
100
81
|
alignWithTitle: {
|
|
101
82
|
control: {
|
|
102
83
|
type: string;
|
|
103
84
|
};
|
|
104
|
-
table: {
|
|
105
|
-
category: string;
|
|
106
|
-
};
|
|
107
85
|
};
|
|
108
86
|
title: {
|
|
109
87
|
control: {
|
|
110
88
|
type: string;
|
|
111
89
|
};
|
|
112
|
-
table: {
|
|
113
|
-
category: string;
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
body: {
|
|
117
|
-
control: {
|
|
118
|
-
type: string;
|
|
119
|
-
};
|
|
120
|
-
table: {
|
|
121
|
-
category: string;
|
|
122
|
-
};
|
|
123
90
|
};
|
|
124
91
|
};
|
|
125
92
|
};
|
|
@@ -18,7 +18,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
18
18
|
}
|
|
19
19
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
20
20
|
};
|
|
21
|
-
import { disableProps, InSpacingDecorator } from '../../index';
|
|
21
|
+
import { disableProps, InSpacingDecorator, exampleOnly } from '../../index';
|
|
22
22
|
import { accordionDefaultIconContents, accordionDefaultIconPlacements, accordionPins, accordionStretchings, } from './fixtures';
|
|
23
23
|
var commonDisabledArgs = ['children', 'defaultActiveEventKey', 'onChange', 'text', 'type'];
|
|
24
24
|
export var createMeta = function (_a) {
|
|
@@ -28,46 +28,37 @@ export var createMeta = function (_a) {
|
|
|
28
28
|
decorators: [InSpacingDecorator],
|
|
29
29
|
component: component,
|
|
30
30
|
args: __assign({ singleActive: false, view: 'default', size: 'm', stretching: 'filled', disabled: false, defaultIconContent: 'arrow', defaultIconPlacement: 'left', pin: undefined, title: 'Как оплатить заправку бонусами СберСпасибо?', alignWithTitle: true, body: 'После указания деталей заправки нажмите кнопку «К оплате». Откроется окно оплаты, где вы сможете списать бонусы и оплатить ими до 99% стоимости топлива' }, defaultArgs),
|
|
31
|
-
argTypes: __assign(__assign({ view: {
|
|
31
|
+
argTypes: __assign(__assign(__assign({ view: {
|
|
32
32
|
options: componentConfig.views,
|
|
33
33
|
control: { type: 'select' },
|
|
34
|
-
table: { category: 'variation' },
|
|
35
34
|
}, size: {
|
|
36
35
|
options: componentConfig.sizes,
|
|
37
36
|
control: { type: 'select' },
|
|
38
|
-
table: { category: 'variation' },
|
|
39
37
|
}, disabled: {
|
|
40
38
|
control: { type: 'boolean' },
|
|
41
|
-
table: { category: 'variation' },
|
|
42
39
|
}, singleActive: {
|
|
43
40
|
control: { type: 'boolean' },
|
|
44
|
-
table: { category: 'behavior' },
|
|
45
41
|
}, stretching: {
|
|
46
42
|
options: accordionStretchings,
|
|
47
43
|
control: { type: 'select' },
|
|
48
|
-
table: { category: 'layout' },
|
|
49
44
|
}, defaultIconContent: {
|
|
50
45
|
options: accordionDefaultIconContents,
|
|
51
46
|
control: { type: 'select' },
|
|
52
|
-
table: { category: 'icon' },
|
|
53
47
|
}, defaultIconPlacement: {
|
|
54
48
|
options: accordionDefaultIconPlacements,
|
|
55
49
|
control: { type: 'select' },
|
|
56
|
-
table: { category: 'icon' },
|
|
57
50
|
}, pin: {
|
|
58
51
|
options: accordionPins,
|
|
59
52
|
control: { type: 'select' },
|
|
60
|
-
table: { category: 'layout' },
|
|
61
53
|
}, alignWithTitle: {
|
|
62
54
|
control: { type: 'boolean' },
|
|
63
|
-
table: { category: 'layout' },
|
|
64
55
|
}, title: {
|
|
65
56
|
control: { type: 'text' },
|
|
66
|
-
|
|
67
|
-
|
|
57
|
+
} }, exampleOnly({
|
|
58
|
+
body: {
|
|
68
59
|
control: { type: 'text' },
|
|
69
|
-
|
|
70
|
-
|
|
60
|
+
},
|
|
61
|
+
})), additionalArgTypes), disableProps(__spreadArray(__spreadArray([], commonDisabledArgs, true), disablePropsList, true))),
|
|
71
62
|
});
|
|
72
63
|
};
|
|
73
64
|
//# sourceMappingURL=meta.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/components/Accordion/meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/components/Accordion/meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE5E,OAAO,EACH,4BAA4B,EAC5B,8BAA8B,EAC9B,aAAa,EACb,oBAAoB,GACvB,MAAM,YAAY,CAAC;AAcpB,IAAM,kBAAkB,GAAG,CAAC,UAAU,EAAE,uBAAuB,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAE7F,MAAM,CAAC,IAAM,UAAU,GAAG,UAAC,EAOT;QANd,SAAS,eAAA,EACT,eAAe,qBAAA,EACf,aAAgC,EAAhC,KAAK,mBAAG,wBAAwB,KAAA,EAChC,mBAAgB,EAAhB,WAAW,mBAAG,EAAE,KAAA,EAChB,0BAAuB,EAAvB,kBAAkB,mBAAG,EAAE,KAAA,EACvB,wBAAqB,EAArB,gBAAgB,mBAAG,EAAE,KAAA;IACF,OAAA,CAAC;QACpB,KAAK,OAAA;QACL,UAAU,EAAE,CAAC,kBAAkB,CAAC;QAChC,SAAS,WAAA;QACT,IAAI,aACA,YAAY,EAAE,KAAK,EACnB,IAAI,EAAE,SAAS,EACf,IAAI,EAAE,GAAG,EACT,UAAU,EAAE,QAAQ,EACpB,QAAQ,EAAE,KAAK,EACf,kBAAkB,EAAE,OAAO,EAC3B,oBAAoB,EAAE,MAAM,EAC5B,GAAG,EAAE,SAAS,EACd,KAAK,EAAE,6CAA6C,EACpD,cAAc,EAAE,IAAI,EACpB,IAAI,EACA,yJAAyJ,IAC1J,WAAW,CACjB;QACD,QAAQ,+BACJ,IAAI,EAAE;gBACF,OAAO,EAAE,eAAe,CAAC,KAAK;gBAC9B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;aAC9B,EACD,IAAI,EAAE;gBACF,OAAO,EAAE,eAAe,CAAC,KAAK;gBAC9B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;aAC9B,EACD,QAAQ,EAAE;gBACN,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;aAC/B,EACD,YAAY,EAAE;gBACV,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;aAC/B,EACD,UAAU,EAAE;gBACR,OAAO,EAAE,oBAAoB;gBAC7B,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;aAC9B,EACD,kBAAkB,EAAE;gBAChB,OAAO,EAAE,4BAA4B;gBACrC,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;aAC9B,EACD,oBAAoB,EAAE;gBAClB,OAAO,EAAE,8BAA8B;gBACvC,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;aAC9B,EACD,GAAG,EAAE;gBACD,OAAO,EAAE,aAAa;gBACtB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;aAC9B,EACD,cAAc,EAAE;gBACZ,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;aAC/B,EACD,KAAK,EAAE;gBACH,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;aAC5B,IACE,WAAW,CAAC;YACX,IAAI,EAAE;gBACF,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;aAC5B;SACJ,CAAC,GACC,kBAAkB,GAClB,YAAY,iCAAK,kBAAkB,SAAK,gBAAgB,QAAE,CAChE;KACJ,CAAC;AAhEqB,CAgErB,CAAC"}
|
|
@@ -43,183 +43,126 @@ export declare const getAttachStories: (config: CreateStoriesProps) => {
|
|
|
43
43
|
control: {
|
|
44
44
|
type: string;
|
|
45
45
|
};
|
|
46
|
-
table: {
|
|
47
|
-
category: string;
|
|
48
|
-
};
|
|
49
46
|
};
|
|
50
|
-
|
|
51
|
-
options: any;
|
|
47
|
+
buttonText: {
|
|
52
48
|
control: {
|
|
53
49
|
type: string;
|
|
54
50
|
};
|
|
55
|
-
|
|
56
|
-
|
|
51
|
+
if: {
|
|
52
|
+
arg: string;
|
|
53
|
+
eq: string;
|
|
57
54
|
};
|
|
58
55
|
};
|
|
59
|
-
|
|
60
|
-
options: any;
|
|
56
|
+
buttonValue: {
|
|
61
57
|
control: {
|
|
62
58
|
type: string;
|
|
63
59
|
};
|
|
64
|
-
|
|
65
|
-
|
|
60
|
+
if: {
|
|
61
|
+
arg: string;
|
|
62
|
+
eq: string;
|
|
66
63
|
};
|
|
67
64
|
};
|
|
68
|
-
|
|
69
|
-
options: string[];
|
|
65
|
+
enableContentLeft: {
|
|
70
66
|
control: {
|
|
71
67
|
type: string;
|
|
72
68
|
};
|
|
73
|
-
|
|
74
|
-
|
|
69
|
+
if: {
|
|
70
|
+
arg: string;
|
|
71
|
+
eq: string;
|
|
75
72
|
};
|
|
76
73
|
};
|
|
77
|
-
|
|
78
|
-
options: string[];
|
|
74
|
+
enableContentRight: {
|
|
79
75
|
control: {
|
|
80
76
|
type: string;
|
|
81
77
|
};
|
|
82
|
-
|
|
83
|
-
|
|
78
|
+
if: {
|
|
79
|
+
arg: string;
|
|
80
|
+
eq: string;
|
|
84
81
|
};
|
|
85
82
|
};
|
|
86
|
-
|
|
83
|
+
fileFormat: {
|
|
84
|
+
options: string[];
|
|
87
85
|
control: {
|
|
88
86
|
type: string;
|
|
89
87
|
};
|
|
90
|
-
table: {
|
|
91
|
-
category: string;
|
|
92
|
-
};
|
|
93
88
|
};
|
|
94
|
-
|
|
89
|
+
placement: {
|
|
90
|
+
options: string[];
|
|
95
91
|
control: {
|
|
96
92
|
type: string;
|
|
97
93
|
};
|
|
98
|
-
if: {
|
|
99
|
-
arg: string;
|
|
100
|
-
eq: string;
|
|
101
|
-
};
|
|
102
|
-
table: {
|
|
103
|
-
category: string;
|
|
104
|
-
};
|
|
105
94
|
};
|
|
106
|
-
|
|
95
|
+
trigger: {
|
|
96
|
+
options: string[];
|
|
107
97
|
control: {
|
|
108
98
|
type: string;
|
|
109
99
|
};
|
|
110
|
-
if: {
|
|
111
|
-
arg: string;
|
|
112
|
-
eq: string;
|
|
113
|
-
};
|
|
114
|
-
table: {
|
|
115
|
-
category: string;
|
|
116
|
-
};
|
|
117
100
|
};
|
|
118
|
-
|
|
101
|
+
closeOnOverlayClick: {
|
|
119
102
|
control: {
|
|
120
103
|
type: string;
|
|
121
104
|
};
|
|
122
105
|
if: {
|
|
123
106
|
arg: string;
|
|
124
|
-
|
|
125
|
-
};
|
|
126
|
-
table: {
|
|
127
|
-
category: string;
|
|
107
|
+
truthy: boolean;
|
|
128
108
|
};
|
|
129
109
|
};
|
|
130
|
-
|
|
110
|
+
listWidth: {
|
|
131
111
|
control: {
|
|
132
112
|
type: string;
|
|
133
113
|
};
|
|
134
|
-
if: {
|
|
135
|
-
arg: string;
|
|
136
|
-
eq: string;
|
|
137
|
-
};
|
|
138
|
-
table: {
|
|
139
|
-
category: string;
|
|
140
|
-
};
|
|
141
114
|
};
|
|
142
115
|
width: {
|
|
143
116
|
control: {
|
|
144
117
|
type: string;
|
|
145
118
|
};
|
|
146
|
-
table: {
|
|
147
|
-
category: string;
|
|
148
|
-
};
|
|
149
119
|
};
|
|
150
|
-
|
|
120
|
+
view: {
|
|
121
|
+
options: any;
|
|
151
122
|
control: {
|
|
152
123
|
type: string;
|
|
153
124
|
};
|
|
154
|
-
table: {
|
|
155
|
-
category: string;
|
|
156
|
-
};
|
|
157
125
|
};
|
|
158
|
-
|
|
159
|
-
options:
|
|
126
|
+
size: {
|
|
127
|
+
options: any;
|
|
160
128
|
control: {
|
|
161
129
|
type: string;
|
|
162
130
|
};
|
|
163
|
-
table: {
|
|
164
|
-
category: string;
|
|
165
|
-
};
|
|
166
131
|
};
|
|
167
|
-
|
|
132
|
+
helperTextView: {
|
|
133
|
+
options: string[];
|
|
168
134
|
control: {
|
|
169
135
|
type: string;
|
|
170
136
|
};
|
|
171
|
-
table: {
|
|
172
|
-
category: string;
|
|
173
|
-
};
|
|
174
137
|
};
|
|
175
|
-
|
|
138
|
+
buttonType: {
|
|
176
139
|
options: string[];
|
|
177
140
|
control: {
|
|
178
141
|
type: string;
|
|
179
142
|
};
|
|
180
|
-
table: {
|
|
181
|
-
category: string;
|
|
182
|
-
};
|
|
183
143
|
};
|
|
184
|
-
|
|
144
|
+
disabled: {
|
|
185
145
|
control: {
|
|
186
146
|
type: string;
|
|
187
147
|
};
|
|
188
|
-
if: {
|
|
189
|
-
arg: string;
|
|
190
|
-
truthy: boolean;
|
|
191
|
-
};
|
|
192
|
-
table: {
|
|
193
|
-
category: string;
|
|
194
|
-
};
|
|
195
148
|
};
|
|
196
|
-
|
|
149
|
+
helperText: {
|
|
197
150
|
control: {
|
|
198
151
|
type: string;
|
|
199
152
|
};
|
|
200
|
-
table: {
|
|
201
|
-
category: string;
|
|
202
|
-
};
|
|
203
153
|
};
|
|
204
|
-
|
|
205
|
-
options: string[];
|
|
154
|
+
multiple: {
|
|
206
155
|
control: {
|
|
207
156
|
type: string;
|
|
208
157
|
};
|
|
209
|
-
table: {
|
|
210
|
-
category: string;
|
|
211
|
-
};
|
|
212
158
|
};
|
|
213
|
-
|
|
159
|
+
flow: {
|
|
214
160
|
options: string[];
|
|
215
161
|
control: {
|
|
216
162
|
type: string;
|
|
217
163
|
};
|
|
218
|
-
table: {
|
|
219
|
-
category: string;
|
|
220
|
-
};
|
|
221
164
|
};
|
|
222
|
-
|
|
165
|
+
hasAttachment: {
|
|
223
166
|
control: {
|
|
224
167
|
type: string;
|
|
225
168
|
};
|
|
@@ -227,17 +170,11 @@ export declare const getAttachStories: (config: CreateStoriesProps) => {
|
|
|
227
170
|
arg: string;
|
|
228
171
|
truthy: boolean;
|
|
229
172
|
};
|
|
230
|
-
table: {
|
|
231
|
-
category: string;
|
|
232
|
-
};
|
|
233
173
|
};
|
|
234
|
-
|
|
174
|
+
hideButtonOnAttach: {
|
|
235
175
|
control: {
|
|
236
176
|
type: string;
|
|
237
177
|
};
|
|
238
|
-
table: {
|
|
239
|
-
category: string;
|
|
240
|
-
};
|
|
241
178
|
};
|
|
242
179
|
};
|
|
243
180
|
};
|