@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 { appearances, hintViews, hintSizes, hintTriggers, labelPlacements, placements, requiredPlacements, } from './fixtures';
|
|
23
23
|
export var createMeta = function (_a) {
|
|
24
24
|
var component = _a.component, componentConfig = _a.componentConfig, _b = _a.title, title = _b === void 0 ? 'Data Entry/TextArea' : _b, _c = _a.defaultArgs, defaultArgs = _c === void 0 ? {} : _c, _d = _a.additionalArgTypes, additionalArgTypes = _d === void 0 ? {} : _d, _e = _a.disablePropsList, disablePropsList = _e === void 0 ? [] : _e;
|
|
@@ -27,139 +27,109 @@ export var createMeta = function (_a) {
|
|
|
27
27
|
decorators: [InSpacingDecorator],
|
|
28
28
|
component: component,
|
|
29
29
|
args: __assign({ id: 'example-textarea', appearance: 'default', hasDivider: false, view: 'default', size: 's', enableContentRight: true, enableHeader: false, label: 'Лейбл', labelPlacement: 'outer', placeholder: 'Заполните многострочное поле', titleCaption: 'Подпись к полю', leftHelper: 'Подсказка к полю слева', rightHelper: 'Подсказка к полю справа', disabled: false, readOnly: false, autoResize: false, minAuto: 0, maxAuto: 0, optional: false, optionalText: 'опционально', required: false, requiredPlacement: 'right', hasRequiredIndicator: false, hasHint: true, hintText: 'Текст подсказки', hintTrigger: 'hover', hintView: 'default', hintSize: 'm', hintPlacement: 'auto', hintWidth: '10rem', hintHasArrow: true }, defaultArgs),
|
|
30
|
-
argTypes: __assign(__assign({ view: {
|
|
30
|
+
argTypes: __assign(__assign(__assign({ view: {
|
|
31
31
|
options: componentConfig.views,
|
|
32
32
|
control: { type: 'select' },
|
|
33
|
-
table: { category: 'variation' },
|
|
34
33
|
}, size: {
|
|
35
34
|
options: componentConfig.sizes,
|
|
36
35
|
defaultValue: 's',
|
|
37
36
|
control: { type: 'select' },
|
|
38
|
-
table: { category: 'variation' },
|
|
39
37
|
}, appearance: {
|
|
40
38
|
options: appearances,
|
|
41
39
|
control: { type: 'select' },
|
|
42
|
-
table: { category: 'variation' },
|
|
43
40
|
}, hasDivider: {
|
|
44
41
|
control: { type: 'boolean' },
|
|
45
42
|
if: { arg: 'appearance', eq: 'clear' },
|
|
46
|
-
table: { category: 'variation' },
|
|
47
43
|
}, disabled: {
|
|
48
44
|
control: { type: 'boolean' },
|
|
49
|
-
table: { category: 'variation' },
|
|
50
45
|
}, readOnly: {
|
|
51
46
|
control: { type: 'boolean' },
|
|
52
|
-
table: { category: 'variation' },
|
|
53
47
|
}, required: {
|
|
54
48
|
control: { type: 'boolean' },
|
|
55
49
|
if: { arg: 'optional', truthy: false },
|
|
56
|
-
table: { category: 'form-related' },
|
|
57
50
|
}, requiredPlacement: {
|
|
58
51
|
options: requiredPlacements,
|
|
59
52
|
control: { type: 'select' },
|
|
60
53
|
if: { arg: 'optional', truthy: false },
|
|
61
|
-
table: { category: 'form-related' },
|
|
62
54
|
}, hasRequiredIndicator: {
|
|
63
55
|
control: { type: 'boolean' },
|
|
64
56
|
if: { arg: 'required', truthy: true },
|
|
65
|
-
table: { category: 'form-related' },
|
|
66
57
|
}, optional: {
|
|
67
58
|
control: { type: 'boolean' },
|
|
68
59
|
if: { arg: 'required', truthy: false },
|
|
69
|
-
table: { category: 'form-related' },
|
|
70
60
|
}, optionalText: {
|
|
71
61
|
control: { type: 'text' },
|
|
72
62
|
if: { arg: 'required', truthy: false },
|
|
73
|
-
table: { category: 'form-related' },
|
|
74
63
|
}, label: {
|
|
75
64
|
control: { type: 'text' },
|
|
76
|
-
table: { category: 'layout' },
|
|
77
65
|
}, labelPlacement: {
|
|
78
66
|
options: labelPlacements,
|
|
79
67
|
control: { type: 'inline-radio' },
|
|
80
|
-
table: { category: 'layout' },
|
|
81
68
|
}, placeholder: {
|
|
82
69
|
control: { type: 'text' },
|
|
83
|
-
table: { category: 'layout' },
|
|
84
70
|
}, titleCaption: {
|
|
85
71
|
control: { type: 'text' },
|
|
86
|
-
table: { category: 'layout' },
|
|
87
72
|
}, leftHelper: {
|
|
88
73
|
control: { type: 'text' },
|
|
89
|
-
table: { category: 'layout' },
|
|
90
74
|
}, rightHelper: {
|
|
91
75
|
control: { type: 'text' },
|
|
92
|
-
table: { category: 'layout' },
|
|
93
|
-
}, enableContentRight: {
|
|
94
|
-
control: { type: 'boolean' },
|
|
95
|
-
table: { category: 'layout' },
|
|
96
|
-
}, enableHeader: {
|
|
97
|
-
control: { type: 'boolean' },
|
|
98
|
-
if: { arg: 'appearance', neq: 'clear' },
|
|
99
|
-
table: { category: 'layout' },
|
|
100
76
|
}, width: {
|
|
101
77
|
control: { type: 'text' },
|
|
102
|
-
table: { category: 'dimensions' },
|
|
103
78
|
}, height: {
|
|
104
79
|
control: { type: 'text' },
|
|
105
|
-
table: { category: 'dimensions' },
|
|
106
80
|
}, rows: {
|
|
107
81
|
control: { type: 'number' },
|
|
108
82
|
if: { arg: 'appearance', neq: 'clear' },
|
|
109
|
-
table: { category: 'dimensions' },
|
|
110
83
|
}, cols: {
|
|
111
84
|
control: { type: 'number' },
|
|
112
85
|
if: { arg: 'appearance', neq: 'clear' },
|
|
113
|
-
table: { category: 'dimensions' },
|
|
114
86
|
}, autoResize: {
|
|
115
87
|
control: { type: 'boolean' },
|
|
116
88
|
if: { arg: 'appearance', neq: 'clear' },
|
|
117
|
-
table: { category: 'dimensions' },
|
|
118
89
|
}, minAuto: {
|
|
119
90
|
control: { type: 'number' },
|
|
120
91
|
if: { arg: 'appearance', neq: 'clear' },
|
|
121
|
-
table: { category: 'dimensions' },
|
|
122
92
|
}, maxAuto: {
|
|
123
93
|
control: { type: 'number' },
|
|
124
94
|
if: { arg: 'appearance', neq: 'clear' },
|
|
125
|
-
table: { category: 'dimensions' },
|
|
126
|
-
}, hasHint: {
|
|
127
|
-
control: { type: 'boolean' },
|
|
128
|
-
table: { category: 'hint' },
|
|
129
95
|
}, hintText: {
|
|
130
96
|
control: { type: 'text' },
|
|
131
97
|
if: { arg: 'hasHint', truthy: true },
|
|
132
|
-
table: { category: 'hint' },
|
|
133
98
|
}, hintTrigger: {
|
|
134
99
|
options: hintTriggers,
|
|
135
100
|
control: { type: 'inline-radio' },
|
|
136
101
|
if: { arg: 'hasHint', truthy: true },
|
|
137
|
-
table: { category: 'hint' },
|
|
138
102
|
}, hintView: {
|
|
139
103
|
options: hintViews,
|
|
140
104
|
control: { type: 'select' },
|
|
141
105
|
if: { arg: 'hasHint', truthy: true },
|
|
142
|
-
table: { category: 'hint' },
|
|
143
106
|
}, hintSize: {
|
|
144
107
|
options: hintSizes,
|
|
145
108
|
control: { type: 'select' },
|
|
146
109
|
if: { arg: 'hasHint', truthy: true },
|
|
147
|
-
table: { category: 'hint' },
|
|
148
110
|
}, hintPlacement: {
|
|
149
111
|
options: placements,
|
|
150
112
|
control: { type: 'select' },
|
|
151
113
|
if: { arg: 'hasHint', truthy: true },
|
|
152
114
|
mappers: placements,
|
|
153
|
-
table: { category: 'hint' },
|
|
154
115
|
}, hintHasArrow: {
|
|
155
116
|
control: { type: 'boolean' },
|
|
156
117
|
if: { arg: 'hasHint', truthy: true },
|
|
157
|
-
table: { category: 'hint' },
|
|
158
118
|
}, hintWidth: {
|
|
159
119
|
control: { type: 'text' },
|
|
160
120
|
if: { arg: 'hasHint', truthy: true },
|
|
161
|
-
|
|
162
|
-
|
|
121
|
+
} }, exampleOnly({
|
|
122
|
+
enableContentRight: {
|
|
123
|
+
control: { type: 'boolean' },
|
|
124
|
+
},
|
|
125
|
+
enableHeader: {
|
|
126
|
+
control: { type: 'boolean' },
|
|
127
|
+
if: { arg: 'appearance', neq: 'clear' },
|
|
128
|
+
},
|
|
129
|
+
hasHint: {
|
|
130
|
+
control: { type: 'boolean' },
|
|
131
|
+
},
|
|
132
|
+
})), additionalArgTypes), disableProps(__spreadArray([
|
|
163
133
|
'helperBlock',
|
|
164
134
|
'helperText',
|
|
165
135
|
'$isFocused',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/components/TextArea/meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/components/TextArea/meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE5E,OAAO,EACH,WAAW,EACX,SAAS,EACT,SAAS,EACT,YAAY,EACZ,eAAe,EACf,UAAU,EACV,kBAAkB,GACrB,MAAM,YAAY,CAAC;AAWpB,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,EAAE,EAAE,kBAAkB,EACtB,UAAU,EAAE,SAAS,EACrB,UAAU,EAAE,KAAK,EACjB,IAAI,EAAE,SAAS,EACf,IAAI,EAAE,GAAG,EACT,kBAAkB,EAAE,IAAI,EACxB,YAAY,EAAE,KAAK,EACnB,KAAK,EAAE,OAAO,EACd,cAAc,EAAE,OAAO,EACvB,WAAW,EAAE,8BAA8B,EAC3C,YAAY,EAAE,gBAAgB,EAC9B,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,yBAAyB,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AS;YACT,QAAQ;YACR,qBAAqB;YACrB,sBAAsB;YACtB,QAAQ;YACR,gBAAgB;YAChB,YAAY;YACZ,iBAAiB;YACjB,UAAU;YACV,YAAY;YACZ,YAAY;WACT,gBAAgB,QACrB,CACL;KACJ,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -53,32 +53,38 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
|
|
|
53
53
|
hintHasArrow: boolean;
|
|
54
54
|
};
|
|
55
55
|
argTypes: {
|
|
56
|
+
enableContentLeft: {
|
|
57
|
+
control: {
|
|
58
|
+
type: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
enableContentRight: {
|
|
62
|
+
control: {
|
|
63
|
+
type: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
hasHint: {
|
|
67
|
+
control: {
|
|
68
|
+
type: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
56
71
|
view: {
|
|
57
72
|
options: any;
|
|
58
73
|
control: {
|
|
59
74
|
type: string;
|
|
60
75
|
};
|
|
61
|
-
table: {
|
|
62
|
-
category: string;
|
|
63
|
-
};
|
|
64
76
|
};
|
|
65
77
|
size: {
|
|
66
78
|
options: any;
|
|
67
79
|
control: {
|
|
68
80
|
type: string;
|
|
69
81
|
};
|
|
70
|
-
table: {
|
|
71
|
-
category: string;
|
|
72
|
-
};
|
|
73
82
|
};
|
|
74
83
|
appearance: {
|
|
75
84
|
options: string[];
|
|
76
85
|
control: {
|
|
77
86
|
type: string;
|
|
78
87
|
};
|
|
79
|
-
table: {
|
|
80
|
-
category: string;
|
|
81
|
-
};
|
|
82
88
|
};
|
|
83
89
|
hasDivider: {
|
|
84
90
|
control: {
|
|
@@ -88,25 +94,16 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
|
|
|
88
94
|
arg: string;
|
|
89
95
|
eq: string;
|
|
90
96
|
};
|
|
91
|
-
table: {
|
|
92
|
-
category: string;
|
|
93
|
-
};
|
|
94
97
|
};
|
|
95
98
|
disabled: {
|
|
96
99
|
control: {
|
|
97
100
|
type: string;
|
|
98
101
|
};
|
|
99
|
-
table: {
|
|
100
|
-
category: string;
|
|
101
|
-
};
|
|
102
102
|
};
|
|
103
103
|
readOnly: {
|
|
104
104
|
control: {
|
|
105
105
|
type: string;
|
|
106
106
|
};
|
|
107
|
-
table: {
|
|
108
|
-
category: string;
|
|
109
|
-
};
|
|
110
107
|
};
|
|
111
108
|
requiredPlacement: {
|
|
112
109
|
options: string[];
|
|
@@ -117,9 +114,6 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
|
|
|
117
114
|
arg: string;
|
|
118
115
|
truthy: boolean;
|
|
119
116
|
};
|
|
120
|
-
table: {
|
|
121
|
-
category: string;
|
|
122
|
-
};
|
|
123
117
|
};
|
|
124
118
|
required: {
|
|
125
119
|
control: {
|
|
@@ -129,9 +123,6 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
|
|
|
129
123
|
arg: string;
|
|
130
124
|
truthy: boolean;
|
|
131
125
|
};
|
|
132
|
-
table: {
|
|
133
|
-
category: string;
|
|
134
|
-
};
|
|
135
126
|
};
|
|
136
127
|
hasRequiredIndicator: {
|
|
137
128
|
control: {
|
|
@@ -141,9 +132,6 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
|
|
|
141
132
|
arg: string;
|
|
142
133
|
truthy: boolean;
|
|
143
134
|
};
|
|
144
|
-
table: {
|
|
145
|
-
category: string;
|
|
146
|
-
};
|
|
147
135
|
};
|
|
148
136
|
optional: {
|
|
149
137
|
control: {
|
|
@@ -153,9 +141,6 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
|
|
|
153
141
|
arg: string;
|
|
154
142
|
truthy: boolean;
|
|
155
143
|
};
|
|
156
|
-
table: {
|
|
157
|
-
category: string;
|
|
158
|
-
};
|
|
159
144
|
};
|
|
160
145
|
optionalText: {
|
|
161
146
|
control: {
|
|
@@ -165,74 +150,37 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
|
|
|
165
150
|
arg: string;
|
|
166
151
|
truthy: boolean;
|
|
167
152
|
};
|
|
168
|
-
table: {
|
|
169
|
-
category: string;
|
|
170
|
-
};
|
|
171
153
|
};
|
|
172
154
|
label: {
|
|
173
155
|
control: {
|
|
174
156
|
type: string;
|
|
175
157
|
};
|
|
176
|
-
table: {
|
|
177
|
-
category: string;
|
|
178
|
-
};
|
|
179
158
|
};
|
|
180
159
|
placeholder: {
|
|
181
160
|
control: {
|
|
182
161
|
type: string;
|
|
183
162
|
};
|
|
184
|
-
table: {
|
|
185
|
-
category: string;
|
|
186
|
-
};
|
|
187
163
|
};
|
|
188
164
|
textBefore: {
|
|
189
165
|
control: {
|
|
190
166
|
type: string;
|
|
191
167
|
};
|
|
192
|
-
table: {
|
|
193
|
-
category: string;
|
|
194
|
-
};
|
|
195
168
|
};
|
|
196
169
|
textAfter: {
|
|
197
170
|
control: {
|
|
198
171
|
type: string;
|
|
199
172
|
};
|
|
200
|
-
table: {
|
|
201
|
-
category: string;
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
|
-
enableContentLeft: {
|
|
205
|
-
control: {
|
|
206
|
-
type: string;
|
|
207
|
-
};
|
|
208
|
-
table: {
|
|
209
|
-
category: string;
|
|
210
|
-
};
|
|
211
|
-
};
|
|
212
|
-
enableContentRight: {
|
|
213
|
-
control: {
|
|
214
|
-
type: string;
|
|
215
|
-
};
|
|
216
|
-
table: {
|
|
217
|
-
category: string;
|
|
218
|
-
};
|
|
219
173
|
};
|
|
220
174
|
maxLength: {
|
|
221
175
|
control: {
|
|
222
176
|
type: string;
|
|
223
177
|
};
|
|
224
|
-
table: {
|
|
225
|
-
category: string;
|
|
226
|
-
};
|
|
227
178
|
};
|
|
228
179
|
labelPlacement: {
|
|
229
180
|
options: string[];
|
|
230
181
|
control: {
|
|
231
182
|
type: string;
|
|
232
183
|
};
|
|
233
|
-
table: {
|
|
234
|
-
category: string;
|
|
235
|
-
};
|
|
236
184
|
};
|
|
237
185
|
keepPlaceholder: {
|
|
238
186
|
control: {
|
|
@@ -242,33 +190,16 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
|
|
|
242
190
|
arg: string;
|
|
243
191
|
eq: string;
|
|
244
192
|
};
|
|
245
|
-
table: {
|
|
246
|
-
category: string;
|
|
247
|
-
};
|
|
248
193
|
};
|
|
249
194
|
titleCaption: {
|
|
250
195
|
control: {
|
|
251
196
|
type: string;
|
|
252
197
|
};
|
|
253
|
-
table: {
|
|
254
|
-
category: string;
|
|
255
|
-
};
|
|
256
198
|
};
|
|
257
199
|
leftHelper: {
|
|
258
200
|
control: {
|
|
259
201
|
type: string;
|
|
260
202
|
};
|
|
261
|
-
table: {
|
|
262
|
-
category: string;
|
|
263
|
-
};
|
|
264
|
-
};
|
|
265
|
-
hasHint: {
|
|
266
|
-
control: {
|
|
267
|
-
type: string;
|
|
268
|
-
};
|
|
269
|
-
table: {
|
|
270
|
-
category: string;
|
|
271
|
-
};
|
|
272
203
|
};
|
|
273
204
|
rightHelper: {
|
|
274
205
|
control: {
|
|
@@ -283,9 +214,6 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
|
|
|
283
214
|
arg: string;
|
|
284
215
|
truthy: boolean;
|
|
285
216
|
};
|
|
286
|
-
table: {
|
|
287
|
-
category: string;
|
|
288
|
-
};
|
|
289
217
|
};
|
|
290
218
|
hintView: {
|
|
291
219
|
options: string[];
|
|
@@ -296,9 +224,6 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
|
|
|
296
224
|
arg: string;
|
|
297
225
|
truthy: boolean;
|
|
298
226
|
};
|
|
299
|
-
table: {
|
|
300
|
-
category: string;
|
|
301
|
-
};
|
|
302
227
|
};
|
|
303
228
|
hintSize: {
|
|
304
229
|
options: string[];
|
|
@@ -309,9 +234,6 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
|
|
|
309
234
|
arg: string;
|
|
310
235
|
truthy: boolean;
|
|
311
236
|
};
|
|
312
|
-
table: {
|
|
313
|
-
category: string;
|
|
314
|
-
};
|
|
315
237
|
};
|
|
316
238
|
hintTargetPlacement: {
|
|
317
239
|
options: string[];
|
|
@@ -322,9 +244,6 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
|
|
|
322
244
|
arg: string;
|
|
323
245
|
truthy: boolean;
|
|
324
246
|
};
|
|
325
|
-
table: {
|
|
326
|
-
category: string;
|
|
327
|
-
};
|
|
328
247
|
};
|
|
329
248
|
hintTrigger: {
|
|
330
249
|
options: string[];
|
|
@@ -335,9 +254,6 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
|
|
|
335
254
|
arg: string;
|
|
336
255
|
truthy: boolean;
|
|
337
256
|
};
|
|
338
|
-
table: {
|
|
339
|
-
category: string;
|
|
340
|
-
};
|
|
341
257
|
};
|
|
342
258
|
hintPlacement: {
|
|
343
259
|
options: string[];
|
|
@@ -349,9 +265,6 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
|
|
|
349
265
|
truthy: boolean;
|
|
350
266
|
};
|
|
351
267
|
mappers: string[];
|
|
352
|
-
table: {
|
|
353
|
-
category: string;
|
|
354
|
-
};
|
|
355
268
|
};
|
|
356
269
|
hintHasArrow: {
|
|
357
270
|
control: {
|
|
@@ -361,9 +274,6 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
|
|
|
361
274
|
arg: string;
|
|
362
275
|
truthy: boolean;
|
|
363
276
|
};
|
|
364
|
-
table: {
|
|
365
|
-
category: string;
|
|
366
|
-
};
|
|
367
277
|
};
|
|
368
278
|
hintWidth: {
|
|
369
279
|
control: {
|
|
@@ -373,9 +283,6 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
|
|
|
373
283
|
arg: string;
|
|
374
284
|
truthy: boolean;
|
|
375
285
|
};
|
|
376
|
-
table: {
|
|
377
|
-
category: string;
|
|
378
|
-
};
|
|
379
286
|
};
|
|
380
287
|
};
|
|
381
288
|
};
|