@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
|
@@ -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 { underlineOptions } from './fixtures';
|
|
23
23
|
var commonDisabledArgs = [];
|
|
24
24
|
export var createMeta = function (_a) {
|
|
@@ -28,27 +28,23 @@ export var createMeta = function (_a) {
|
|
|
28
28
|
decorators: [InSpacingDecorator],
|
|
29
29
|
component: component,
|
|
30
30
|
args: __assign({ text: 'приложение', href: 'https://google.com', view: 'default', disabled: false, focused: true, underline: 'none' }, 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
|
}, disabled: {
|
|
36
35
|
control: { type: 'boolean' },
|
|
37
|
-
table: { category: 'variation' },
|
|
38
36
|
}, focused: {
|
|
39
37
|
control: { type: 'boolean' },
|
|
40
|
-
table: { category: 'variation' },
|
|
41
38
|
}, underline: {
|
|
42
39
|
options: underlineOptions,
|
|
43
40
|
control: { type: 'select' },
|
|
44
|
-
table: { category: 'variation' },
|
|
45
|
-
}, text: {
|
|
46
|
-
control: { type: 'text' },
|
|
47
|
-
table: { category: 'content' },
|
|
48
41
|
}, href: {
|
|
49
42
|
control: { type: 'text' },
|
|
50
|
-
|
|
51
|
-
|
|
43
|
+
} }, exampleOnly({
|
|
44
|
+
text: {
|
|
45
|
+
control: { type: 'text' },
|
|
46
|
+
},
|
|
47
|
+
})), additionalArgTypes), disableProps(__spreadArray(__spreadArray([], commonDisabledArgs, true), disablePropsList, true))),
|
|
52
48
|
};
|
|
53
49
|
};
|
|
54
50
|
//# sourceMappingURL=meta.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/components/Link/meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/components/Link/meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAW9C,IAAM,kBAAkB,GAAa,EAAE,CAAC;AAExC,MAAM,CAAC,IAAM,UAAU,GAAG,UAAC,EAOT;QANd,SAAS,eAAA,EACT,eAAe,qBAAA,EACf,aAAyB,EAAzB,KAAK,mBAAG,iBAAiB,KAAA,EACzB,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,YAAY,EAClB,IAAI,EAAE,oBAAoB,EAC1B,IAAI,EAAE,SAAS,EACf,QAAQ,EAAE,KAAK,EACf,OAAO,EAAE,IAAI,EACb,SAAS,EAAE,MAAM,IACd,WAAW,CACjB;QACD,QAAQ,+BACJ,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,OAAO,EAAE;gBACL,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;aAC/B,EACD,SAAS,EAAE;gBACP,OAAO,EAAE,gBAAgB;gBACzB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;aAC9B,EACD,IAAI,EAAE;gBACF,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;AACN,CAAC,CAAC"}
|
|
@@ -33,63 +33,52 @@ export declare const getNoteStories: (config: CreateNoteStoriesProps) => {
|
|
|
33
33
|
orientation: string;
|
|
34
34
|
};
|
|
35
35
|
argTypes: {
|
|
36
|
+
enableContentBefore: {
|
|
37
|
+
control: {
|
|
38
|
+
type: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
enableHeightControl: {
|
|
42
|
+
control: {
|
|
43
|
+
type: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
hasActionContent: {
|
|
47
|
+
control: {
|
|
48
|
+
type: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
36
51
|
view: {
|
|
37
52
|
options: any;
|
|
38
53
|
control: {
|
|
39
54
|
type: string;
|
|
40
55
|
};
|
|
41
|
-
table: {
|
|
42
|
-
category: string;
|
|
43
|
-
};
|
|
44
56
|
};
|
|
45
57
|
size: {
|
|
46
58
|
options: any;
|
|
47
59
|
control: {
|
|
48
60
|
type: string;
|
|
49
61
|
};
|
|
50
|
-
table: {
|
|
51
|
-
category: string;
|
|
52
|
-
};
|
|
53
62
|
};
|
|
54
63
|
title: {
|
|
55
64
|
control: {
|
|
56
65
|
type: string;
|
|
57
66
|
};
|
|
58
|
-
table: {
|
|
59
|
-
category: string;
|
|
60
|
-
};
|
|
61
67
|
};
|
|
62
68
|
text: {
|
|
63
69
|
control: {
|
|
64
70
|
type: string;
|
|
65
71
|
};
|
|
66
|
-
table: {
|
|
67
|
-
category: string;
|
|
68
|
-
};
|
|
69
72
|
};
|
|
70
73
|
stretch: {
|
|
71
74
|
control: {
|
|
72
75
|
type: string;
|
|
73
76
|
};
|
|
74
|
-
table: {
|
|
75
|
-
category: string;
|
|
76
|
-
};
|
|
77
77
|
};
|
|
78
78
|
hasClose: {
|
|
79
79
|
control: {
|
|
80
80
|
type: string;
|
|
81
81
|
};
|
|
82
|
-
table: {
|
|
83
|
-
category: string;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
enableContentBefore: {
|
|
87
|
-
control: {
|
|
88
|
-
type: string;
|
|
89
|
-
};
|
|
90
|
-
table: {
|
|
91
|
-
category: string;
|
|
92
|
-
};
|
|
93
82
|
};
|
|
94
83
|
contentBeforeSizing: {
|
|
95
84
|
options: string[];
|
|
@@ -100,25 +89,11 @@ export declare const getNoteStories: (config: CreateNoteStoriesProps) => {
|
|
|
100
89
|
arg: string;
|
|
101
90
|
truthy: boolean;
|
|
102
91
|
};
|
|
103
|
-
table: {
|
|
104
|
-
category: string;
|
|
105
|
-
};
|
|
106
92
|
};
|
|
107
93
|
width: {
|
|
108
94
|
control: {
|
|
109
95
|
type: string;
|
|
110
96
|
};
|
|
111
|
-
table: {
|
|
112
|
-
category: string;
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
enableHeightControl: {
|
|
116
|
-
control: {
|
|
117
|
-
type: string;
|
|
118
|
-
};
|
|
119
|
-
table: {
|
|
120
|
-
category: string;
|
|
121
|
-
};
|
|
122
97
|
};
|
|
123
98
|
height: {
|
|
124
99
|
control: {
|
|
@@ -128,26 +103,12 @@ export declare const getNoteStories: (config: CreateNoteStoriesProps) => {
|
|
|
128
103
|
arg: string;
|
|
129
104
|
truthy: boolean;
|
|
130
105
|
};
|
|
131
|
-
table: {
|
|
132
|
-
category: string;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
hasActionContent: {
|
|
136
|
-
control: {
|
|
137
|
-
type: string;
|
|
138
|
-
};
|
|
139
|
-
table: {
|
|
140
|
-
category: string;
|
|
141
|
-
};
|
|
142
106
|
};
|
|
143
107
|
orientation: {
|
|
144
108
|
options: string[];
|
|
145
109
|
control: {
|
|
146
110
|
type: string;
|
|
147
111
|
};
|
|
148
|
-
table: {
|
|
149
|
-
category: string;
|
|
150
|
-
};
|
|
151
112
|
};
|
|
152
113
|
};
|
|
153
114
|
};
|
|
@@ -26,63 +26,52 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
26
26
|
orientation: string;
|
|
27
27
|
};
|
|
28
28
|
argTypes: {
|
|
29
|
+
enableContentBefore: {
|
|
30
|
+
control: {
|
|
31
|
+
type: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
enableHeightControl: {
|
|
35
|
+
control: {
|
|
36
|
+
type: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
hasActionContent: {
|
|
40
|
+
control: {
|
|
41
|
+
type: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
29
44
|
view: {
|
|
30
45
|
options: any;
|
|
31
46
|
control: {
|
|
32
47
|
type: string;
|
|
33
48
|
};
|
|
34
|
-
table: {
|
|
35
|
-
category: string;
|
|
36
|
-
};
|
|
37
49
|
};
|
|
38
50
|
size: {
|
|
39
51
|
options: any;
|
|
40
52
|
control: {
|
|
41
53
|
type: string;
|
|
42
54
|
};
|
|
43
|
-
table: {
|
|
44
|
-
category: string;
|
|
45
|
-
};
|
|
46
55
|
};
|
|
47
56
|
title: {
|
|
48
57
|
control: {
|
|
49
58
|
type: string;
|
|
50
59
|
};
|
|
51
|
-
table: {
|
|
52
|
-
category: string;
|
|
53
|
-
};
|
|
54
60
|
};
|
|
55
61
|
text: {
|
|
56
62
|
control: {
|
|
57
63
|
type: string;
|
|
58
64
|
};
|
|
59
|
-
table: {
|
|
60
|
-
category: string;
|
|
61
|
-
};
|
|
62
65
|
};
|
|
63
66
|
stretch: {
|
|
64
67
|
control: {
|
|
65
68
|
type: string;
|
|
66
69
|
};
|
|
67
|
-
table: {
|
|
68
|
-
category: string;
|
|
69
|
-
};
|
|
70
70
|
};
|
|
71
71
|
hasClose: {
|
|
72
72
|
control: {
|
|
73
73
|
type: string;
|
|
74
74
|
};
|
|
75
|
-
table: {
|
|
76
|
-
category: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
enableContentBefore: {
|
|
80
|
-
control: {
|
|
81
|
-
type: string;
|
|
82
|
-
};
|
|
83
|
-
table: {
|
|
84
|
-
category: string;
|
|
85
|
-
};
|
|
86
75
|
};
|
|
87
76
|
contentBeforeSizing: {
|
|
88
77
|
options: string[];
|
|
@@ -93,25 +82,11 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
93
82
|
arg: string;
|
|
94
83
|
truthy: boolean;
|
|
95
84
|
};
|
|
96
|
-
table: {
|
|
97
|
-
category: string;
|
|
98
|
-
};
|
|
99
85
|
};
|
|
100
86
|
width: {
|
|
101
87
|
control: {
|
|
102
88
|
type: string;
|
|
103
89
|
};
|
|
104
|
-
table: {
|
|
105
|
-
category: string;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
enableHeightControl: {
|
|
109
|
-
control: {
|
|
110
|
-
type: string;
|
|
111
|
-
};
|
|
112
|
-
table: {
|
|
113
|
-
category: string;
|
|
114
|
-
};
|
|
115
90
|
};
|
|
116
91
|
height: {
|
|
117
92
|
control: {
|
|
@@ -121,26 +96,12 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
121
96
|
arg: string;
|
|
122
97
|
truthy: boolean;
|
|
123
98
|
};
|
|
124
|
-
table: {
|
|
125
|
-
category: string;
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
hasActionContent: {
|
|
129
|
-
control: {
|
|
130
|
-
type: string;
|
|
131
|
-
};
|
|
132
|
-
table: {
|
|
133
|
-
category: string;
|
|
134
|
-
};
|
|
135
99
|
};
|
|
136
100
|
orientation: {
|
|
137
101
|
options: string[];
|
|
138
102
|
control: {
|
|
139
103
|
type: string;
|
|
140
104
|
};
|
|
141
|
-
table: {
|
|
142
|
-
category: string;
|
|
143
|
-
};
|
|
144
105
|
};
|
|
145
106
|
};
|
|
146
107
|
};
|
|
@@ -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 { contentBeforeSizes, orientations } from './fixtures';
|
|
23
23
|
var commonDisabledArgs = ['contentBefore', 'contentAfter', 'onCloseButtonClick'];
|
|
24
24
|
export var createMeta = function (_a) {
|
|
@@ -28,52 +28,43 @@ export var createMeta = function (_a) {
|
|
|
28
28
|
decorators: [InSpacingDecorator],
|
|
29
29
|
component: component,
|
|
30
30
|
args: __assign({ view: 'default', size: 'l', title: 'Title', text: 'Text', width: '400', stretch: false, enableContentBefore: true, contentBeforeSizing: 'fixed', hasClose: false, enableHeightControl: false, height: '400', hasActionContent: false, orientation: 'vertical' }, 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
|
}, title: {
|
|
40
38
|
control: { type: 'text' },
|
|
41
|
-
table: { category: 'layout' },
|
|
42
39
|
}, text: {
|
|
43
40
|
control: { type: 'text' },
|
|
44
|
-
table: { category: 'layout' },
|
|
45
41
|
}, stretch: {
|
|
46
42
|
control: { type: 'boolean' },
|
|
47
|
-
table: { category: 'layout' },
|
|
48
43
|
}, hasClose: {
|
|
49
44
|
control: { type: 'boolean' },
|
|
50
|
-
table: { category: 'layout' },
|
|
51
|
-
}, enableContentBefore: {
|
|
52
|
-
control: { type: 'boolean' },
|
|
53
|
-
table: { category: 'layout' },
|
|
54
45
|
}, contentBeforeSizing: {
|
|
55
46
|
options: contentBeforeSizes,
|
|
56
47
|
control: { type: 'select' },
|
|
57
48
|
if: { arg: 'enableContentBefore', truthy: true },
|
|
58
|
-
table: { category: 'layout' },
|
|
59
49
|
}, width: {
|
|
60
50
|
control: { type: 'text' },
|
|
61
|
-
table: { category: 'layout' },
|
|
62
|
-
}, enableHeightControl: {
|
|
63
|
-
control: { type: 'boolean' },
|
|
64
|
-
table: { category: 'layout' },
|
|
65
51
|
}, height: {
|
|
66
52
|
control: { type: 'text' },
|
|
67
53
|
if: { arg: 'enableHeightControl', truthy: true },
|
|
68
|
-
table: { category: 'layout' },
|
|
69
|
-
}, hasActionContent: {
|
|
70
|
-
control: { type: 'boolean' },
|
|
71
|
-
table: { category: 'layout' },
|
|
72
54
|
}, orientation: {
|
|
73
55
|
options: orientations,
|
|
74
56
|
control: { type: 'select' },
|
|
75
|
-
|
|
76
|
-
|
|
57
|
+
} }, exampleOnly({
|
|
58
|
+
enableContentBefore: {
|
|
59
|
+
control: { type: 'boolean' },
|
|
60
|
+
},
|
|
61
|
+
enableHeightControl: {
|
|
62
|
+
control: { type: 'boolean' },
|
|
63
|
+
},
|
|
64
|
+
hasActionContent: {
|
|
65
|
+
control: { type: 'boolean' },
|
|
66
|
+
},
|
|
67
|
+
})), additionalArgTypes), disableProps(__spreadArray(__spreadArray([], commonDisabledArgs, true), disablePropsList, true))),
|
|
77
68
|
};
|
|
78
69
|
};
|
|
79
70
|
//# sourceMappingURL=meta.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/components/Note/meta.ts"],"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QAAE,CAChE;KACJ,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -46,99 +46,63 @@ export declare const getNumberFormatStories: (config: CreateStoriesProps) => {
|
|
|
46
46
|
control: {
|
|
47
47
|
type: string;
|
|
48
48
|
};
|
|
49
|
-
table: {
|
|
50
|
-
category: string;
|
|
51
|
-
};
|
|
52
49
|
};
|
|
53
50
|
size: {
|
|
54
51
|
options: any;
|
|
55
52
|
control: {
|
|
56
53
|
type: string;
|
|
57
54
|
};
|
|
58
|
-
table: {
|
|
59
|
-
category: string;
|
|
60
|
-
};
|
|
61
55
|
};
|
|
62
56
|
disabled: {
|
|
63
57
|
control: {
|
|
64
58
|
type: string;
|
|
65
59
|
};
|
|
66
|
-
table: {
|
|
67
|
-
category: string;
|
|
68
|
-
};
|
|
69
60
|
};
|
|
70
61
|
readOnly: {
|
|
71
62
|
control: {
|
|
72
63
|
type: string;
|
|
73
64
|
};
|
|
74
|
-
table: {
|
|
75
|
-
category: string;
|
|
76
|
-
};
|
|
77
65
|
};
|
|
78
66
|
defaultValue: {
|
|
79
67
|
control: {
|
|
80
68
|
type: string;
|
|
81
69
|
};
|
|
82
|
-
table: {
|
|
83
|
-
category: string;
|
|
84
|
-
};
|
|
85
70
|
};
|
|
86
71
|
thousandsGroupStyle: {
|
|
87
72
|
options: string[];
|
|
88
73
|
control: {
|
|
89
74
|
type: string;
|
|
90
75
|
};
|
|
91
|
-
table: {
|
|
92
|
-
category: string;
|
|
93
|
-
};
|
|
94
76
|
};
|
|
95
77
|
thousandSeparator: {
|
|
96
78
|
control: {
|
|
97
79
|
type: string;
|
|
98
80
|
};
|
|
99
|
-
table: {
|
|
100
|
-
category: string;
|
|
101
|
-
};
|
|
102
81
|
};
|
|
103
82
|
decimalScale: {
|
|
104
83
|
control: {
|
|
105
84
|
type: string;
|
|
106
85
|
};
|
|
107
|
-
table: {
|
|
108
|
-
category: string;
|
|
109
|
-
};
|
|
110
86
|
};
|
|
111
87
|
decimalSeparator: {
|
|
112
88
|
control: {
|
|
113
89
|
type: string;
|
|
114
90
|
};
|
|
115
|
-
table: {
|
|
116
|
-
category: string;
|
|
117
|
-
};
|
|
118
91
|
};
|
|
119
92
|
fixedDecimalScale: {
|
|
120
93
|
control: {
|
|
121
94
|
type: string;
|
|
122
95
|
};
|
|
123
|
-
table: {
|
|
124
|
-
category: string;
|
|
125
|
-
};
|
|
126
96
|
};
|
|
127
97
|
allowNegative: {
|
|
128
98
|
control: {
|
|
129
99
|
type: string;
|
|
130
100
|
};
|
|
131
|
-
table: {
|
|
132
|
-
category: string;
|
|
133
|
-
};
|
|
134
101
|
};
|
|
135
102
|
allowLeadingZeros: {
|
|
136
103
|
control: {
|
|
137
104
|
type: string;
|
|
138
105
|
};
|
|
139
|
-
table: {
|
|
140
|
-
category: string;
|
|
141
|
-
};
|
|
142
106
|
};
|
|
143
107
|
requiredPlacement: {
|
|
144
108
|
options: string[];
|
|
@@ -149,9 +113,6 @@ export declare const getNumberFormatStories: (config: CreateStoriesProps) => {
|
|
|
149
113
|
arg: string;
|
|
150
114
|
truthy: boolean;
|
|
151
115
|
};
|
|
152
|
-
table: {
|
|
153
|
-
category: string;
|
|
154
|
-
};
|
|
155
116
|
};
|
|
156
117
|
required: {
|
|
157
118
|
control: {
|
|
@@ -161,9 +122,6 @@ export declare const getNumberFormatStories: (config: CreateStoriesProps) => {
|
|
|
161
122
|
arg: string;
|
|
162
123
|
truthy: boolean;
|
|
163
124
|
};
|
|
164
|
-
table: {
|
|
165
|
-
category: string;
|
|
166
|
-
};
|
|
167
125
|
};
|
|
168
126
|
optional: {
|
|
169
127
|
control: {
|
|
@@ -173,9 +131,6 @@ export declare const getNumberFormatStories: (config: CreateStoriesProps) => {
|
|
|
173
131
|
arg: string;
|
|
174
132
|
truthy: boolean;
|
|
175
133
|
};
|
|
176
|
-
table: {
|
|
177
|
-
category: string;
|
|
178
|
-
};
|
|
179
134
|
};
|
|
180
135
|
optionalText: {
|
|
181
136
|
control: {
|
|
@@ -185,26 +140,17 @@ export declare const getNumberFormatStories: (config: CreateStoriesProps) => {
|
|
|
185
140
|
arg: string;
|
|
186
141
|
truthy: boolean;
|
|
187
142
|
};
|
|
188
|
-
table: {
|
|
189
|
-
category: string;
|
|
190
|
-
};
|
|
191
143
|
};
|
|
192
144
|
label: {
|
|
193
145
|
control: {
|
|
194
146
|
type: string;
|
|
195
147
|
};
|
|
196
|
-
table: {
|
|
197
|
-
category: string;
|
|
198
|
-
};
|
|
199
148
|
};
|
|
200
149
|
labelPlacement: {
|
|
201
150
|
options: string[];
|
|
202
151
|
control: {
|
|
203
152
|
type: string;
|
|
204
153
|
};
|
|
205
|
-
table: {
|
|
206
|
-
category: string;
|
|
207
|
-
};
|
|
208
154
|
};
|
|
209
155
|
keepPlaceholder: {
|
|
210
156
|
control: {
|
|
@@ -214,73 +160,46 @@ export declare const getNumberFormatStories: (config: CreateStoriesProps) => {
|
|
|
214
160
|
arg: string;
|
|
215
161
|
eq: string;
|
|
216
162
|
};
|
|
217
|
-
table: {
|
|
218
|
-
category: string;
|
|
219
|
-
};
|
|
220
163
|
};
|
|
221
164
|
titleCaption: {
|
|
222
165
|
control: {
|
|
223
166
|
type: string;
|
|
224
167
|
};
|
|
225
|
-
table: {
|
|
226
|
-
category: string;
|
|
227
|
-
};
|
|
228
168
|
};
|
|
229
169
|
prefix: {
|
|
230
170
|
control: {
|
|
231
171
|
type: string;
|
|
232
172
|
};
|
|
233
|
-
table: {
|
|
234
|
-
category: string;
|
|
235
|
-
};
|
|
236
173
|
};
|
|
237
174
|
textBefore: {
|
|
238
175
|
control: {
|
|
239
176
|
type: string;
|
|
240
177
|
};
|
|
241
|
-
table: {
|
|
242
|
-
category: string;
|
|
243
|
-
};
|
|
244
178
|
};
|
|
245
179
|
textAfter: {
|
|
246
180
|
control: {
|
|
247
181
|
type: string;
|
|
248
182
|
};
|
|
249
|
-
table: {
|
|
250
|
-
category: string;
|
|
251
|
-
};
|
|
252
183
|
};
|
|
253
184
|
suffix: {
|
|
254
185
|
control: {
|
|
255
186
|
type: string;
|
|
256
187
|
};
|
|
257
|
-
table: {
|
|
258
|
-
category: string;
|
|
259
|
-
};
|
|
260
188
|
};
|
|
261
189
|
placeholder: {
|
|
262
190
|
control: {
|
|
263
191
|
type: string;
|
|
264
192
|
};
|
|
265
|
-
table: {
|
|
266
|
-
category: string;
|
|
267
|
-
};
|
|
268
193
|
};
|
|
269
194
|
leftHelper: {
|
|
270
195
|
control: {
|
|
271
196
|
type: string;
|
|
272
197
|
};
|
|
273
|
-
table: {
|
|
274
|
-
category: string;
|
|
275
|
-
};
|
|
276
198
|
};
|
|
277
199
|
clear: {
|
|
278
200
|
control: {
|
|
279
201
|
type: string;
|
|
280
202
|
};
|
|
281
|
-
table: {
|
|
282
|
-
category: string;
|
|
283
|
-
};
|
|
284
203
|
};
|
|
285
204
|
hasDivider: {
|
|
286
205
|
control: {
|
|
@@ -290,9 +209,6 @@ export declare const getNumberFormatStories: (config: CreateStoriesProps) => {
|
|
|
290
209
|
arg: string;
|
|
291
210
|
truthy: boolean;
|
|
292
211
|
};
|
|
293
|
-
table: {
|
|
294
|
-
category: string;
|
|
295
|
-
};
|
|
296
212
|
};
|
|
297
213
|
};
|
|
298
214
|
};
|