@salutejs/plasma-sb-utils 0.247.0-next-sbcom.0 → 0.248.0-dev.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
|
@@ -51,97 +51,88 @@ export declare const getDrawerStories: (config: CreateDrawerStoriesProps) => {
|
|
|
51
51
|
borderRadius: string;
|
|
52
52
|
};
|
|
53
53
|
argTypes: {
|
|
54
|
-
|
|
55
|
-
options: any;
|
|
54
|
+
offsetX: {
|
|
56
55
|
control: {
|
|
57
56
|
type: string;
|
|
58
57
|
};
|
|
59
58
|
table: {
|
|
60
|
-
|
|
59
|
+
defaultValue: {
|
|
60
|
+
summary: number;
|
|
61
|
+
};
|
|
61
62
|
};
|
|
62
63
|
};
|
|
63
|
-
|
|
64
|
-
options: any;
|
|
64
|
+
offsetY: {
|
|
65
65
|
control: {
|
|
66
66
|
type: string;
|
|
67
67
|
};
|
|
68
68
|
table: {
|
|
69
|
-
|
|
69
|
+
defaultValue: {
|
|
70
|
+
summary: number;
|
|
71
|
+
};
|
|
70
72
|
};
|
|
71
73
|
};
|
|
72
|
-
|
|
73
|
-
options: string[];
|
|
74
|
+
showHeader: {
|
|
74
75
|
control: {
|
|
75
76
|
type: string;
|
|
76
77
|
};
|
|
77
|
-
table: {
|
|
78
|
-
category: string;
|
|
79
|
-
};
|
|
80
78
|
};
|
|
81
|
-
|
|
79
|
+
showFooter: {
|
|
82
80
|
control: {
|
|
83
81
|
type: string;
|
|
84
82
|
};
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
};
|
|
84
|
+
showActions: {
|
|
85
|
+
control: {
|
|
86
|
+
type: string;
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
|
-
|
|
89
|
+
view: {
|
|
90
|
+
options: any;
|
|
90
91
|
control: {
|
|
91
92
|
type: string;
|
|
92
93
|
};
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
};
|
|
95
|
+
size: {
|
|
96
|
+
options: any;
|
|
97
|
+
control: {
|
|
98
|
+
type: string;
|
|
95
99
|
};
|
|
96
100
|
};
|
|
97
|
-
|
|
101
|
+
borderRadius: {
|
|
98
102
|
options: string[];
|
|
99
103
|
control: {
|
|
100
104
|
type: string;
|
|
101
105
|
};
|
|
102
|
-
table: {
|
|
103
|
-
category: string;
|
|
104
|
-
defaultValue: {
|
|
105
|
-
summary: string;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
106
|
};
|
|
109
|
-
|
|
107
|
+
customBackgroundColor: {
|
|
110
108
|
control: {
|
|
111
109
|
type: string;
|
|
112
110
|
};
|
|
113
|
-
table: {
|
|
114
|
-
category: string;
|
|
115
|
-
};
|
|
116
111
|
};
|
|
117
|
-
|
|
112
|
+
customContentBackgroundColor: {
|
|
118
113
|
control: {
|
|
119
114
|
type: string;
|
|
120
115
|
};
|
|
121
|
-
table: {
|
|
122
|
-
category: string;
|
|
123
|
-
};
|
|
124
116
|
};
|
|
125
|
-
|
|
117
|
+
placement: {
|
|
118
|
+
options: string[];
|
|
126
119
|
control: {
|
|
127
120
|
type: string;
|
|
128
121
|
};
|
|
129
122
|
table: {
|
|
130
|
-
category: string;
|
|
131
123
|
defaultValue: {
|
|
132
|
-
summary:
|
|
124
|
+
summary: string;
|
|
133
125
|
};
|
|
134
126
|
};
|
|
135
127
|
};
|
|
136
|
-
|
|
128
|
+
width: {
|
|
137
129
|
control: {
|
|
138
130
|
type: string;
|
|
139
131
|
};
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
};
|
|
132
|
+
};
|
|
133
|
+
height: {
|
|
134
|
+
control: {
|
|
135
|
+
type: string;
|
|
145
136
|
};
|
|
146
137
|
};
|
|
147
138
|
closeOnEsc: {
|
|
@@ -149,7 +140,6 @@ export declare const getDrawerStories: (config: CreateDrawerStoriesProps) => {
|
|
|
149
140
|
type: string;
|
|
150
141
|
};
|
|
151
142
|
table: {
|
|
152
|
-
category: string;
|
|
153
143
|
defaultValue: {
|
|
154
144
|
summary: boolean;
|
|
155
145
|
};
|
|
@@ -160,7 +150,6 @@ export declare const getDrawerStories: (config: CreateDrawerStoriesProps) => {
|
|
|
160
150
|
type: string;
|
|
161
151
|
};
|
|
162
152
|
table: {
|
|
163
|
-
category: string;
|
|
164
153
|
defaultValue: {
|
|
165
154
|
summary: boolean;
|
|
166
155
|
};
|
|
@@ -171,7 +160,6 @@ export declare const getDrawerStories: (config: CreateDrawerStoriesProps) => {
|
|
|
171
160
|
type: string;
|
|
172
161
|
};
|
|
173
162
|
table: {
|
|
174
|
-
category: string;
|
|
175
163
|
defaultValue: {
|
|
176
164
|
summary: boolean;
|
|
177
165
|
};
|
|
@@ -181,49 +169,16 @@ export declare const getDrawerStories: (config: CreateDrawerStoriesProps) => {
|
|
|
181
169
|
control: {
|
|
182
170
|
type: string;
|
|
183
171
|
};
|
|
184
|
-
table: {
|
|
185
|
-
category: string;
|
|
186
|
-
};
|
|
187
172
|
};
|
|
188
173
|
overlayProps: {
|
|
189
174
|
control: {
|
|
190
175
|
type: string;
|
|
191
176
|
};
|
|
192
|
-
table: {
|
|
193
|
-
category: string;
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
showHeader: {
|
|
197
|
-
control: {
|
|
198
|
-
type: string;
|
|
199
|
-
};
|
|
200
|
-
table: {
|
|
201
|
-
category: string;
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
|
-
showFooter: {
|
|
205
|
-
control: {
|
|
206
|
-
type: string;
|
|
207
|
-
};
|
|
208
|
-
table: {
|
|
209
|
-
category: string;
|
|
210
|
-
};
|
|
211
|
-
};
|
|
212
|
-
showActions: {
|
|
213
|
-
control: {
|
|
214
|
-
type: string;
|
|
215
|
-
};
|
|
216
|
-
table: {
|
|
217
|
-
category: string;
|
|
218
|
-
};
|
|
219
177
|
};
|
|
220
178
|
hasClose: {
|
|
221
179
|
control: {
|
|
222
180
|
type: string;
|
|
223
181
|
};
|
|
224
|
-
table: {
|
|
225
|
-
category: string;
|
|
226
|
-
};
|
|
227
182
|
};
|
|
228
183
|
closePlacement: {
|
|
229
184
|
options: string[];
|
|
@@ -231,7 +186,6 @@ export declare const getDrawerStories: (config: CreateDrawerStoriesProps) => {
|
|
|
231
186
|
type: string;
|
|
232
187
|
};
|
|
233
188
|
table: {
|
|
234
|
-
category: string;
|
|
235
189
|
defaultValue: {
|
|
236
190
|
summary: string;
|
|
237
191
|
};
|
|
@@ -37,97 +37,88 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
37
37
|
borderRadius: string;
|
|
38
38
|
};
|
|
39
39
|
argTypes: {
|
|
40
|
-
|
|
41
|
-
options: any;
|
|
40
|
+
offsetX: {
|
|
42
41
|
control: {
|
|
43
42
|
type: string;
|
|
44
43
|
};
|
|
45
44
|
table: {
|
|
46
|
-
|
|
45
|
+
defaultValue: {
|
|
46
|
+
summary: number;
|
|
47
|
+
};
|
|
47
48
|
};
|
|
48
49
|
};
|
|
49
|
-
|
|
50
|
-
options: any;
|
|
50
|
+
offsetY: {
|
|
51
51
|
control: {
|
|
52
52
|
type: string;
|
|
53
53
|
};
|
|
54
54
|
table: {
|
|
55
|
-
|
|
55
|
+
defaultValue: {
|
|
56
|
+
summary: number;
|
|
57
|
+
};
|
|
56
58
|
};
|
|
57
59
|
};
|
|
58
|
-
|
|
59
|
-
options: string[];
|
|
60
|
+
showHeader: {
|
|
60
61
|
control: {
|
|
61
62
|
type: string;
|
|
62
63
|
};
|
|
63
|
-
table: {
|
|
64
|
-
category: string;
|
|
65
|
-
};
|
|
66
64
|
};
|
|
67
|
-
|
|
65
|
+
showFooter: {
|
|
68
66
|
control: {
|
|
69
67
|
type: string;
|
|
70
68
|
};
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
};
|
|
70
|
+
showActions: {
|
|
71
|
+
control: {
|
|
72
|
+
type: string;
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
-
|
|
75
|
+
view: {
|
|
76
|
+
options: any;
|
|
76
77
|
control: {
|
|
77
78
|
type: string;
|
|
78
79
|
};
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
};
|
|
81
|
+
size: {
|
|
82
|
+
options: any;
|
|
83
|
+
control: {
|
|
84
|
+
type: string;
|
|
81
85
|
};
|
|
82
86
|
};
|
|
83
|
-
|
|
87
|
+
borderRadius: {
|
|
84
88
|
options: string[];
|
|
85
89
|
control: {
|
|
86
90
|
type: string;
|
|
87
91
|
};
|
|
88
|
-
table: {
|
|
89
|
-
category: string;
|
|
90
|
-
defaultValue: {
|
|
91
|
-
summary: string;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
92
|
};
|
|
95
|
-
|
|
93
|
+
customBackgroundColor: {
|
|
96
94
|
control: {
|
|
97
95
|
type: string;
|
|
98
96
|
};
|
|
99
|
-
table: {
|
|
100
|
-
category: string;
|
|
101
|
-
};
|
|
102
97
|
};
|
|
103
|
-
|
|
98
|
+
customContentBackgroundColor: {
|
|
104
99
|
control: {
|
|
105
100
|
type: string;
|
|
106
101
|
};
|
|
107
|
-
table: {
|
|
108
|
-
category: string;
|
|
109
|
-
};
|
|
110
102
|
};
|
|
111
|
-
|
|
103
|
+
placement: {
|
|
104
|
+
options: string[];
|
|
112
105
|
control: {
|
|
113
106
|
type: string;
|
|
114
107
|
};
|
|
115
108
|
table: {
|
|
116
|
-
category: string;
|
|
117
109
|
defaultValue: {
|
|
118
|
-
summary:
|
|
110
|
+
summary: string;
|
|
119
111
|
};
|
|
120
112
|
};
|
|
121
113
|
};
|
|
122
|
-
|
|
114
|
+
width: {
|
|
123
115
|
control: {
|
|
124
116
|
type: string;
|
|
125
117
|
};
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
};
|
|
118
|
+
};
|
|
119
|
+
height: {
|
|
120
|
+
control: {
|
|
121
|
+
type: string;
|
|
131
122
|
};
|
|
132
123
|
};
|
|
133
124
|
closeOnEsc: {
|
|
@@ -135,7 +126,6 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
135
126
|
type: string;
|
|
136
127
|
};
|
|
137
128
|
table: {
|
|
138
|
-
category: string;
|
|
139
129
|
defaultValue: {
|
|
140
130
|
summary: boolean;
|
|
141
131
|
};
|
|
@@ -146,7 +136,6 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
146
136
|
type: string;
|
|
147
137
|
};
|
|
148
138
|
table: {
|
|
149
|
-
category: string;
|
|
150
139
|
defaultValue: {
|
|
151
140
|
summary: boolean;
|
|
152
141
|
};
|
|
@@ -157,7 +146,6 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
157
146
|
type: string;
|
|
158
147
|
};
|
|
159
148
|
table: {
|
|
160
|
-
category: string;
|
|
161
149
|
defaultValue: {
|
|
162
150
|
summary: boolean;
|
|
163
151
|
};
|
|
@@ -167,49 +155,16 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
167
155
|
control: {
|
|
168
156
|
type: string;
|
|
169
157
|
};
|
|
170
|
-
table: {
|
|
171
|
-
category: string;
|
|
172
|
-
};
|
|
173
158
|
};
|
|
174
159
|
overlayProps: {
|
|
175
160
|
control: {
|
|
176
161
|
type: string;
|
|
177
162
|
};
|
|
178
|
-
table: {
|
|
179
|
-
category: string;
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
showHeader: {
|
|
183
|
-
control: {
|
|
184
|
-
type: string;
|
|
185
|
-
};
|
|
186
|
-
table: {
|
|
187
|
-
category: string;
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
showFooter: {
|
|
191
|
-
control: {
|
|
192
|
-
type: string;
|
|
193
|
-
};
|
|
194
|
-
table: {
|
|
195
|
-
category: string;
|
|
196
|
-
};
|
|
197
|
-
};
|
|
198
|
-
showActions: {
|
|
199
|
-
control: {
|
|
200
|
-
type: string;
|
|
201
|
-
};
|
|
202
|
-
table: {
|
|
203
|
-
category: string;
|
|
204
|
-
};
|
|
205
163
|
};
|
|
206
164
|
hasClose: {
|
|
207
165
|
control: {
|
|
208
166
|
type: string;
|
|
209
167
|
};
|
|
210
|
-
table: {
|
|
211
|
-
category: string;
|
|
212
|
-
};
|
|
213
168
|
};
|
|
214
169
|
closePlacement: {
|
|
215
170
|
options: string[];
|
|
@@ -217,7 +172,6 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
217
172
|
type: string;
|
|
218
173
|
};
|
|
219
174
|
table: {
|
|
220
|
-
category: string;
|
|
221
175
|
defaultValue: {
|
|
222
176
|
summary: string;
|
|
223
177
|
};
|
|
@@ -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 { borderRadiuses, closePlacements, placements } from './fixtures';
|
|
23
23
|
var commonDisabledArgs = [
|
|
24
24
|
'children',
|
|
@@ -44,72 +44,65 @@ export var createMeta = function (_a) {
|
|
|
44
44
|
width: '100%',
|
|
45
45
|
height: '100%',
|
|
46
46
|
}, closePlacement: 'right', width: '50vw', height: '100dvh', borderRadius: 'none' }, defaultArgs),
|
|
47
|
-
argTypes: __assign(__assign({ view: {
|
|
47
|
+
argTypes: __assign(__assign(__assign({ view: {
|
|
48
48
|
options: componentConfig.views,
|
|
49
49
|
control: { type: 'select' },
|
|
50
|
-
table: { category: 'variation' },
|
|
51
50
|
}, size: {
|
|
52
51
|
options: componentConfig.sizes,
|
|
53
52
|
control: { type: 'select' },
|
|
54
|
-
table: { category: 'variation' },
|
|
55
53
|
}, borderRadius: {
|
|
56
54
|
options: borderRadiuses,
|
|
57
55
|
control: { type: 'select' },
|
|
58
|
-
table: { category: 'variation' },
|
|
59
56
|
}, customBackgroundColor: {
|
|
60
57
|
control: { type: 'color' },
|
|
61
|
-
table: { category: 'variation' },
|
|
62
58
|
}, customContentBackgroundColor: {
|
|
63
59
|
control: { type: 'color' },
|
|
64
|
-
table: { category: 'variation' },
|
|
65
60
|
}, placement: {
|
|
66
61
|
options: placements,
|
|
67
62
|
control: { type: 'select' },
|
|
68
|
-
table: {
|
|
63
|
+
table: { defaultValue: { summary: 'right' } },
|
|
69
64
|
}, width: {
|
|
70
65
|
control: { type: 'text' },
|
|
71
|
-
table: { category: 'layout' },
|
|
72
66
|
}, height: {
|
|
73
67
|
control: { type: 'text' },
|
|
74
|
-
table: { category: 'layout' },
|
|
75
|
-
}, offsetX: {
|
|
76
|
-
control: { type: 'number' },
|
|
77
|
-
table: { category: 'layout', defaultValue: { summary: 0 } },
|
|
78
|
-
}, offsetY: {
|
|
79
|
-
control: { type: 'number' },
|
|
80
|
-
table: { category: 'layout', defaultValue: { summary: 0 } },
|
|
81
68
|
}, closeOnEsc: {
|
|
82
69
|
control: { type: 'boolean' },
|
|
83
|
-
table: {
|
|
70
|
+
table: { defaultValue: { summary: true } },
|
|
84
71
|
}, closeOnOverlayClick: {
|
|
85
72
|
control: { type: 'boolean' },
|
|
86
|
-
table: {
|
|
73
|
+
table: { defaultValue: { summary: true } },
|
|
87
74
|
}, withBlur: {
|
|
88
75
|
control: { type: 'boolean' },
|
|
89
|
-
table: {
|
|
76
|
+
table: { defaultValue: { summary: false } },
|
|
90
77
|
}, asModal: {
|
|
91
78
|
control: { type: 'boolean' },
|
|
92
|
-
table: { category: 'overlay' },
|
|
93
79
|
}, overlayProps: {
|
|
94
80
|
control: { type: 'object' },
|
|
95
|
-
table: { category: 'overlay' },
|
|
96
|
-
}, showHeader: {
|
|
97
|
-
control: { type: 'boolean' },
|
|
98
|
-
table: { category: 'story' },
|
|
99
|
-
}, showFooter: {
|
|
100
|
-
control: { type: 'boolean' },
|
|
101
|
-
table: { category: 'story' },
|
|
102
|
-
}, showActions: {
|
|
103
|
-
control: { type: 'boolean' },
|
|
104
|
-
table: { category: 'story' },
|
|
105
81
|
}, hasClose: {
|
|
106
82
|
control: { type: 'boolean' },
|
|
107
|
-
table: { category: 'story' },
|
|
108
83
|
}, closePlacement: {
|
|
109
84
|
options: closePlacements,
|
|
110
85
|
control: { type: 'select' },
|
|
111
|
-
table: {
|
|
112
|
-
} },
|
|
86
|
+
table: { defaultValue: { summary: 'right' } },
|
|
87
|
+
} }, exampleOnly({
|
|
88
|
+
offsetX: {
|
|
89
|
+
control: { type: 'number' },
|
|
90
|
+
table: { defaultValue: { summary: 0 } },
|
|
91
|
+
},
|
|
92
|
+
offsetY: {
|
|
93
|
+
control: { type: 'number' },
|
|
94
|
+
table: { defaultValue: { summary: 0 } },
|
|
95
|
+
},
|
|
96
|
+
showHeader: {
|
|
97
|
+
control: { type: 'boolean' },
|
|
98
|
+
},
|
|
99
|
+
showFooter: {
|
|
100
|
+
control: { type: 'boolean' },
|
|
101
|
+
},
|
|
102
|
+
showActions: {
|
|
103
|
+
control: { type: 'boolean' },
|
|
104
|
+
},
|
|
105
|
+
})), additionalArgTypes), disableProps(__spreadArray(__spreadArray([], commonDisabledArgs, true), disablePropsList, true))),
|
|
113
106
|
});
|
|
114
107
|
};
|
|
115
108
|
//# sourceMappingURL=meta.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/components/Drawer/meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/components/Drawer/meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE5E,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAWzE,IAAM,kBAAkB,GAAG;IACvB,UAAU;IACV,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,SAAS;IACT,cAAc;IACd,gBAAgB;IAChB,QAAQ;IACR,SAAS;CACZ,CAAC;AAEF,MAAM,CAAC,IAAM,UAAU,GAAG,UAAC,EA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C3B,KAAK,EAAE,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE;aAChD,IACE,WAAW,CAAC;YACX,OAAO,EAAE;gBACL,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAC3B,KAAK,EAAE,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE;aAC1C;YACD,OAAO,EAAE;gBACL,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAC3B,KAAK,EAAE,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EAAE;aAC1C;YACD,UAAU,EAAE;gBACR,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;aAC/B;YACD,UAAU,EAAE;gBACR,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;aAC/B;YACD,WAAW,EAAE;gBACT,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;aAC/B;SACJ,CAAC,GACC,kBAAkB,GAClB,YAAY,iCAAK,kBAAkB,SAAK,gBAAgB,QAAE,CAChE;KACJ,CAAC;AA7GqB,CA6GrB,CAAC"}
|
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
export var placements = [
|
|
1
|
+
export var placements = [
|
|
2
|
+
'auto',
|
|
3
|
+
'top-start',
|
|
4
|
+
'top-center',
|
|
5
|
+
'top-end',
|
|
6
|
+
'right-start',
|
|
7
|
+
'right-center',
|
|
8
|
+
'right-end',
|
|
9
|
+
'bottom-start',
|
|
10
|
+
'bottom-center',
|
|
11
|
+
'bottom-end',
|
|
12
|
+
'left-start',
|
|
13
|
+
'left-center',
|
|
14
|
+
'left-end',
|
|
15
|
+
];
|
|
2
16
|
export var triggers = ['click', 'hover'];
|
|
3
17
|
export var variant = ['normal', 'tight'];
|
|
4
18
|
export var items = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixtures.js","sourceRoot":"","sources":["../../../src/components/Dropdown/fixtures.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,UAAU,GAAG,
|
|
1
|
+
{"version":3,"file":"fixtures.js","sourceRoot":"","sources":["../../../src/components/Dropdown/fixtures.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,UAAU,GAAG;IACtB,MAAM;IACN,WAAW;IACX,YAAY;IACZ,SAAS;IACT,aAAa;IACb,cAAc;IACd,WAAW;IACX,cAAc;IACd,eAAe;IACf,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,UAAU;CACb,CAAC;AACF,MAAM,CAAC,IAAM,QAAQ,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAC3C,MAAM,CAAC,IAAM,OAAO,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;AAE3C,MAAM,CAAC,IAAM,KAAK,GAAG;IACjB;QACI,KAAK,EAAE,eAAe;QACtB,KAAK,EAAE,kBAAkB;KAC5B;IACD;QACI,KAAK,EAAE,eAAe;QACtB,KAAK,EAAE,eAAe;QACtB,KAAK,EAAE;YACH;gBACI,KAAK,EAAE,QAAQ;gBACf,KAAK,EAAE,UAAU;gBACjB,KAAK,EAAE;oBACH;wBACI,KAAK,EAAE,gBAAgB;wBACvB,KAAK,EAAE,gBAAgB;qBAC1B;oBACD;wBACI,KAAK,EAAE,WAAW;wBAClB,KAAK,EAAE,WAAW;qBACrB;iBACJ;aACJ;YACD;gBACI,KAAK,EAAE,WAAW;gBAClB,KAAK,EAAE,WAAW;gBAClB,KAAK,EAAE;oBACH;wBACI,KAAK,EAAE,cAAc;wBACrB,KAAK,EAAE,cAAc;qBACxB;oBACD;wBACI,KAAK,EAAE,SAAS;wBAChB,KAAK,EAAE,SAAS;qBACnB;iBACJ;aACJ;YACD;gBACI,KAAK,EAAE,UAAU;gBACjB,KAAK,EAAE,UAAU;gBACjB,KAAK,EAAE;oBACH;wBACI,KAAK,EAAE,QAAQ;wBACf,KAAK,EAAE,QAAQ;qBAClB;oBACD;wB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EAAE,IAAI;KACjB;CACJ,CAAC"}
|
|
@@ -26,7 +26,7 @@ export var createMeta = function (_a) {
|
|
|
26
26
|
title: title,
|
|
27
27
|
decorators: [InSpacingDecorator],
|
|
28
28
|
component: component,
|
|
29
|
-
args: __assign({ size: 'm', variant: 'normal', placement: 'bottom', trigger: 'click', openByRightClick: false, offset: [0, 8], listWidth: '300px', alwaysOpened: false, closeOnOverlayClick: true, closeOnSelect: true }, defaultArgs),
|
|
29
|
+
args: __assign({ size: 'm', variant: 'normal', placement: 'bottom-start', trigger: 'click', openByRightClick: false, offset: [0, 8], listWidth: '300px', alwaysOpened: false, closeOnOverlayClick: true, closeOnSelect: true }, defaultArgs),
|
|
30
30
|
argTypes: __assign(__assign({ placement: {
|
|
31
31
|
options: placements,
|
|
32
32
|
control: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/components/Dropdown/meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAE/D,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAW3D,MAAM,CAAC,IAAM,UAAU,GAAG,UAAC,EAOT;QANd,SAAS,eAAA,EACT,eAAe,qBAAA,EACf,aAA6B,EAA7B,KAAK,mBAAG,qBAAqB,KAAA,EAC7B,mBAAgB,EAAhB,WAAW,mBAAG,EAAE,KAAA,EAChB,0BAAuB,EAAvB,kBAAkB,mBAAG,EAAE,KAAA,EACvB,wBAAqB,EAArB,gBAAgB,mBAAG,EAAE,KAAA;IAErB,OAAO;QACH,KAAK,OAAA;QACL,UAAU,EAAE,CAAC,kBAAkB,CAAC;QAChC,SAAS,WAAA;QACT,IAAI,aACA,IAAI,EAAE,GAAG,EACT,OAAO,EAAE,QAAQ,EACjB,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"meta.js","s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