@salutejs/plasma-sb-utils 0.231.0-next-sbcom.0 → 0.231.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/Attach/Attach.d.ts +248 -0
- package/lib/components/Attach/Attach.js +35 -0
- package/lib/components/Attach/Attach.js.map +1 -0
- package/lib/components/Attach/fixtures.d.ts +6 -0
- package/lib/components/Attach/fixtures.js +7 -0
- package/lib/components/Attach/fixtures.js.map +1 -0
- package/lib/components/Attach/index.d.ts +1 -0
- package/lib/components/Attach/index.js +2 -0
- package/lib/components/Attach/index.js.map +1 -0
- package/lib/components/Attach/meta.d.ts +243 -0
- package/lib/components/Attach/meta.js +150 -0
- package/lib/components/Attach/meta.js.map +1 -0
- package/lib/components/Attach/stories.d.ts +1 -0
- package/lib/components/Attach/stories.js +71 -0
- package/lib/components/Attach/stories.js.map +1 -0
- package/lib/components/Badge/Badge.d.ts +119 -0
- package/lib/components/Badge/Badge.js +40 -0
- package/lib/components/Badge/Badge.js.map +1 -0
- package/lib/components/Badge/fixtures.d.ts +3 -0
- package/lib/components/Badge/fixtures.js +7 -0
- package/lib/components/Badge/fixtures.js.map +1 -0
- package/lib/components/Badge/index.d.ts +1 -0
- package/lib/components/Badge/index.js +2 -0
- package/lib/components/Badge/index.js.map +1 -0
- package/lib/components/Badge/meta.d.ts +114 -0
- package/lib/components/Badge/meta.js +67 -0
- package/lib/components/Badge/meta.js.map +1 -0
- package/lib/components/Badge/stories.d.ts +1 -0
- package/lib/components/Badge/stories.js +34 -0
- package/lib/components/Badge/stories.js.map +1 -0
- package/lib/components/Button/Button.d.ts +50 -4
- package/lib/components/Button/meta.d.ts +50 -4
- package/lib/components/Button/meta.js +25 -6
- package/lib/components/Button/meta.js.map +1 -1
- package/lib/components/Chip/meta.js +1 -1
- package/lib/components/Chip/meta.js.map +1 -1
- package/lib/components/CodeField/CodeField.d.ts +156 -0
- package/lib/components/CodeField/CodeField.js +40 -0
- package/lib/components/CodeField/CodeField.js.map +1 -0
- package/lib/components/CodeField/fixtures.d.ts +6 -0
- package/lib/components/CodeField/fixtures.js +7 -0
- package/lib/components/CodeField/fixtures.js.map +1 -0
- package/lib/components/CodeField/index.d.ts +1 -0
- package/lib/components/CodeField/index.js +2 -0
- package/lib/components/CodeField/index.js.map +1 -0
- package/lib/components/CodeField/meta.d.ts +151 -0
- package/lib/components/CodeField/meta.js +84 -0
- package/lib/components/CodeField/meta.js.map +1 -0
- package/lib/components/CodeField/stories.d.ts +1 -0
- package/lib/components/CodeField/stories.js +38 -0
- package/lib/components/CodeField/stories.js.map +1 -0
- package/lib/components/CodeInput/CodeInput.d.ts +147 -0
- package/lib/components/CodeInput/CodeInput.js +40 -0
- package/lib/components/CodeInput/CodeInput.js.map +1 -0
- package/lib/components/CodeInput/fixtures.d.ts +5 -0
- package/lib/components/CodeInput/fixtures.js +6 -0
- package/lib/components/CodeInput/fixtures.js.map +1 -0
- package/lib/components/CodeInput/index.d.ts +1 -0
- package/lib/components/CodeInput/index.js +2 -0
- package/lib/components/CodeInput/index.js.map +1 -0
- package/lib/components/CodeInput/meta.d.ts +142 -0
- package/lib/components/CodeInput/meta.js +80 -0
- package/lib/components/CodeInput/meta.js.map +1 -0
- package/lib/components/CodeInput/stories.d.ts +1 -0
- package/lib/components/CodeInput/stories.js +38 -0
- package/lib/components/CodeInput/stories.js.map +1 -0
- package/lib/components/DatePicker/DatePicker.d.ts +443 -2
- package/lib/components/DatePicker/meta.d.ts +443 -2
- package/lib/components/DatePicker/meta.js +176 -154
- package/lib/components/DatePicker/meta.js.map +1 -1
- package/lib/components/DatePicker/stories.js +3 -0
- package/lib/components/DatePicker/stories.js.map +1 -1
- package/lib/components/DateTimePicker/stories.d.ts +1 -1
- package/lib/components/DateTimePicker/stories.js +2 -2
- package/lib/components/DateTimePicker/stories.js.map +1 -1
- package/lib/components/Range/stories.js +2 -0
- package/lib/components/Range/stories.js.map +1 -1
- package/lib/components/Steps/Steps.js +1 -4
- package/lib/components/Steps/Steps.js.map +1 -1
- package/lib/components/TextField/TextField.d.ts +143 -0
- package/lib/components/TextField/meta.d.ts +143 -0
- package/lib/components/TextField/meta.js +69 -45
- package/lib/components/TextField/meta.js.map +1 -1
- package/lib/components/TimePicker/TimePicker.d.ts +20 -0
- package/lib/components/TimePicker/fixtures.d.ts +1 -0
- package/lib/components/TimePicker/fixtures.js +1 -0
- package/lib/components/TimePicker/fixtures.js.map +1 -1
- package/lib/components/TimePicker/meta.d.ts +20 -0
- package/lib/components/TimePicker/meta.js +10 -2
- package/lib/components/TimePicker/meta.js.map +1 -1
- package/lib/components/index.d.ts +4 -0
- package/lib/components/index.js +4 -0
- package/lib/components/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
13
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
14
|
+
if (ar || !(i in from)) {
|
|
15
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
16
|
+
ar[i] = from[i];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
20
|
+
};
|
|
21
|
+
import { disableProps, InSpacingDecorator } from '../../index';
|
|
22
|
+
import { captionAlignVariants, codeLengths, itemErrorBehaviorVariants, codeErrorBehaviorVariants, inputModes, } from './fixtures';
|
|
23
|
+
var commonDisabledArgs = ['value', 'onChange', 'onFullCodeEnter', 'setIsError', 'allowedSymbols', 'placeholder'];
|
|
24
|
+
export var createMeta = function (_a) {
|
|
25
|
+
var component = _a.component, componentConfig = _a.componentConfig, _b = _a.title, title = _b === void 0 ? 'Data Entry/CodeInput' : _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;
|
|
26
|
+
return {
|
|
27
|
+
title: title,
|
|
28
|
+
decorators: [InSpacingDecorator],
|
|
29
|
+
component: component,
|
|
30
|
+
args: __assign({ view: 'default', size: 'm', codeLength: 6, caption: 'Caption', captionAlign: 'center', width: '', isError: false, itemErrorBehavior: 'remove-symbol', codeErrorBehavior: 'remove-code', autoFocus: true, disabled: false, hidden: false }, defaultArgs),
|
|
31
|
+
argTypes: __assign(__assign({ view: {
|
|
32
|
+
options: componentConfig.views,
|
|
33
|
+
control: { type: 'select' },
|
|
34
|
+
table: { category: 'variation' },
|
|
35
|
+
}, size: {
|
|
36
|
+
options: componentConfig.sizes,
|
|
37
|
+
control: { type: 'select' },
|
|
38
|
+
table: { category: 'variation' },
|
|
39
|
+
}, disabled: {
|
|
40
|
+
control: { type: 'boolean' },
|
|
41
|
+
table: { category: 'variation' },
|
|
42
|
+
}, isError: {
|
|
43
|
+
control: { type: 'boolean' },
|
|
44
|
+
table: { category: 'variation' },
|
|
45
|
+
}, autoFocus: {
|
|
46
|
+
control: { type: 'boolean' },
|
|
47
|
+
table: { category: 'variation' },
|
|
48
|
+
}, hidden: {
|
|
49
|
+
control: { type: 'boolean' },
|
|
50
|
+
table: { category: 'variation' },
|
|
51
|
+
}, codeLength: {
|
|
52
|
+
options: codeLengths,
|
|
53
|
+
control: { type: 'select' },
|
|
54
|
+
table: { category: 'code-related' },
|
|
55
|
+
}, inputMode: {
|
|
56
|
+
options: inputModes,
|
|
57
|
+
control: { type: 'select' },
|
|
58
|
+
table: { category: 'code-related', subcategory: 'MOBILE INPUT' },
|
|
59
|
+
}, itemErrorBehavior: {
|
|
60
|
+
options: itemErrorBehaviorVariants,
|
|
61
|
+
control: { type: 'select' },
|
|
62
|
+
table: { category: 'code-related' },
|
|
63
|
+
}, codeErrorBehavior: {
|
|
64
|
+
options: codeErrorBehaviorVariants,
|
|
65
|
+
control: { type: 'select' },
|
|
66
|
+
table: { category: 'code-related' },
|
|
67
|
+
}, caption: {
|
|
68
|
+
control: { type: 'text' },
|
|
69
|
+
table: { category: 'layout' },
|
|
70
|
+
}, captionAlign: {
|
|
71
|
+
options: captionAlignVariants,
|
|
72
|
+
control: { type: 'select' },
|
|
73
|
+
table: { category: 'layout' },
|
|
74
|
+
}, width: {
|
|
75
|
+
control: { type: 'text' },
|
|
76
|
+
table: { category: 'layout' },
|
|
77
|
+
} }, additionalArgTypes), disableProps(__spreadArray(__spreadArray([], commonDisabledArgs, true), disablePropsList, true))),
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/components/CodeInput/meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAE/D,OAAO,EACH,oBAAoB,EACpB,WAAW,EACX,yBAAyB,EACzB,yBAAyB,EACzB,UAAU,GACb,MAAM,YAAY,CAAC;AAWpB,IAAM,kBAAkB,GAAG,CAAC,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,YAAY,EAAE,gBAAgB,EAAE,aAAa,CAAC,CAAC;AAEnH,MAAM,CAAC,IAAM,UAAU,GAAG,UAAC,EAOT;QANd,SAAS,eAAA,EACT,eAAe,qBAAA,EACf,aAA8B,EAA9B,KAAK,mBAAG,sBAAsB,KAAA,EAC9B,mBAAgB,EAAhB,WAAW,mBAAG,EA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}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const createDefaultStory: (CodeInput: any) => ({ ...rest }: any) => JSX.Element;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import React, { useState } from 'react';
|
|
24
|
+
import { action } from 'storybook/actions';
|
|
25
|
+
var onChange = action('onChange');
|
|
26
|
+
var onFullCodeEnter = action('onFullCodeEnter');
|
|
27
|
+
export var createDefaultStory = function (CodeInput) {
|
|
28
|
+
return function (_a) {
|
|
29
|
+
var rest = __rest(_a, []);
|
|
30
|
+
var _b = useState(''), value = _b[0], setValue = _b[1];
|
|
31
|
+
var handleChange = function (newValue) {
|
|
32
|
+
setValue(newValue);
|
|
33
|
+
onChange(newValue);
|
|
34
|
+
};
|
|
35
|
+
return React.createElement(CodeInput, __assign({}, rest, { value: value, onChange: handleChange, onFullCodeEnter: onFullCodeEnter }));
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stories.js","sourceRoot":"","sources":["../../../src/components/CodeInput/stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,IAAM,QAAQ,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;AACpC,IAAM,eAAe,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAElD,MAAM,CAAC,IAAM,kBAAkB,GAAG,UAAC,SAAc;IAC7C,OAAO,UAAC,EAAgB;YAAX,IAAI,cAAT,EAAW,CAAF;QACP,IAAA,KAAoB,QAAQ,CAAC,EAAE,CAAC,EAA/B,KAAK,QAAA,EAAE,QAAQ,QAAgB,CAAC;QAEvC,IAAM,YAAY,GAAG,UAAC,QAAgB;YAClC,QAAQ,CAAC,QAAQ,CAAC,CAAC;YACnB,QAAQ,CAAC,QAAQ,CAAC,CAAC;QACvB,CAAC,CAAC;QAEF,OAAO,oBAAC,SAAS,eAAK,IAAI,IAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,IAAI,CAAC;IAC3G,CAAC,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -61,7 +61,227 @@ export declare const getDatePickerStories: (config: CreateDatePickerStoriesProps
|
|
|
61
61
|
placement: string;
|
|
62
62
|
disableFlip: boolean;
|
|
63
63
|
};
|
|
64
|
-
argTypes:
|
|
64
|
+
argTypes: {
|
|
65
|
+
defaultDate: {
|
|
66
|
+
control: {
|
|
67
|
+
type: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
labelPlacement: {
|
|
71
|
+
options: string[];
|
|
72
|
+
control: {
|
|
73
|
+
type: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
inputView: {
|
|
77
|
+
options: string[];
|
|
78
|
+
control: {
|
|
79
|
+
type: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
placement: {
|
|
83
|
+
options: string[];
|
|
84
|
+
control: {
|
|
85
|
+
type: string;
|
|
86
|
+
};
|
|
87
|
+
table: {
|
|
88
|
+
category: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
appearance: {
|
|
92
|
+
options: string[];
|
|
93
|
+
control: {
|
|
94
|
+
type: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
hasClearDivider: {
|
|
98
|
+
control: {
|
|
99
|
+
type: string;
|
|
100
|
+
};
|
|
101
|
+
if: {
|
|
102
|
+
arg: string;
|
|
103
|
+
eq: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
view: {
|
|
107
|
+
options: any;
|
|
108
|
+
control: {
|
|
109
|
+
type: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
size: {
|
|
113
|
+
options: any;
|
|
114
|
+
control: {
|
|
115
|
+
type: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
min: {
|
|
119
|
+
control: {
|
|
120
|
+
type: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
max: {
|
|
124
|
+
control: {
|
|
125
|
+
type: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
includeEdgeDates: {
|
|
129
|
+
control: {
|
|
130
|
+
type: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
renderFromDate: {
|
|
134
|
+
control: {
|
|
135
|
+
type: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
lang: {
|
|
139
|
+
options: string[];
|
|
140
|
+
control: {
|
|
141
|
+
type: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
requiredPlacement: {
|
|
145
|
+
options: string[];
|
|
146
|
+
control: {
|
|
147
|
+
type: string;
|
|
148
|
+
};
|
|
149
|
+
if: {
|
|
150
|
+
arg: string;
|
|
151
|
+
truthy: boolean;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
hasRequiredIndicator: {
|
|
155
|
+
control: {
|
|
156
|
+
type: string;
|
|
157
|
+
};
|
|
158
|
+
if: {
|
|
159
|
+
arg: string;
|
|
160
|
+
truthy: boolean;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
format: {
|
|
164
|
+
options: string[];
|
|
165
|
+
control: {
|
|
166
|
+
type: string;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
eventTooltipSize: {
|
|
170
|
+
options: string[];
|
|
171
|
+
control: {
|
|
172
|
+
type: string;
|
|
173
|
+
};
|
|
174
|
+
if: {
|
|
175
|
+
arg: string;
|
|
176
|
+
truthy: boolean;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
hintText: {
|
|
180
|
+
control: {
|
|
181
|
+
type: string;
|
|
182
|
+
};
|
|
183
|
+
if: {
|
|
184
|
+
arg: string;
|
|
185
|
+
truthy: boolean;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
hintView: {
|
|
189
|
+
options: string[];
|
|
190
|
+
control: {
|
|
191
|
+
type: string;
|
|
192
|
+
};
|
|
193
|
+
if: {
|
|
194
|
+
arg: string;
|
|
195
|
+
truthy: boolean;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
hintSize: {
|
|
199
|
+
options: string[];
|
|
200
|
+
control: {
|
|
201
|
+
type: string;
|
|
202
|
+
};
|
|
203
|
+
if: {
|
|
204
|
+
arg: string;
|
|
205
|
+
truthy: boolean;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
hintTargetPlacement: {
|
|
209
|
+
options: string[];
|
|
210
|
+
control: {
|
|
211
|
+
type: string;
|
|
212
|
+
};
|
|
213
|
+
if: {
|
|
214
|
+
arg: string;
|
|
215
|
+
truthy: boolean;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
hintTrigger: {
|
|
219
|
+
options: string[];
|
|
220
|
+
control: {
|
|
221
|
+
type: string;
|
|
222
|
+
};
|
|
223
|
+
if: {
|
|
224
|
+
arg: string;
|
|
225
|
+
truthy: boolean;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
hintPlacement: {
|
|
229
|
+
options: string[];
|
|
230
|
+
control: {
|
|
231
|
+
type: string;
|
|
232
|
+
};
|
|
233
|
+
if: {
|
|
234
|
+
arg: string;
|
|
235
|
+
truthy: boolean;
|
|
236
|
+
};
|
|
237
|
+
mappers: string[];
|
|
238
|
+
};
|
|
239
|
+
hintHasArrow: {
|
|
240
|
+
control: {
|
|
241
|
+
type: string;
|
|
242
|
+
};
|
|
243
|
+
if: {
|
|
244
|
+
arg: string;
|
|
245
|
+
truthy: boolean;
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
hintWidth: {
|
|
249
|
+
control: {
|
|
250
|
+
type: string;
|
|
251
|
+
};
|
|
252
|
+
if: {
|
|
253
|
+
arg: string;
|
|
254
|
+
truthy: boolean;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
shortcutsWidth: {
|
|
258
|
+
control: {
|
|
259
|
+
type: string;
|
|
260
|
+
};
|
|
261
|
+
if: {
|
|
262
|
+
arg: string;
|
|
263
|
+
truthy: boolean;
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
shortcutsPlacement: {
|
|
267
|
+
options: string[];
|
|
268
|
+
control: {
|
|
269
|
+
type: string;
|
|
270
|
+
};
|
|
271
|
+
if: {
|
|
272
|
+
arg: string;
|
|
273
|
+
truthy: boolean;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
disableFlip: {
|
|
277
|
+
control: {
|
|
278
|
+
type: string;
|
|
279
|
+
};
|
|
280
|
+
table: {
|
|
281
|
+
category: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
};
|
|
65
285
|
};
|
|
66
286
|
Default: {
|
|
67
287
|
render: (args: any) => JSX.Element;
|
|
@@ -129,7 +349,228 @@ export declare const getDatePickerRangeStories: (config: CreateDatePickerStories
|
|
|
129
349
|
placement: string;
|
|
130
350
|
disableFlip: boolean;
|
|
131
351
|
};
|
|
132
|
-
argTypes:
|
|
352
|
+
argTypes: {
|
|
353
|
+
dividerVariant: {
|
|
354
|
+
options: string[];
|
|
355
|
+
control: {
|
|
356
|
+
type: string;
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
firstInputView: {
|
|
360
|
+
options: string[];
|
|
361
|
+
control: {
|
|
362
|
+
type: string;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
secondInputView: {
|
|
366
|
+
options: string[];
|
|
367
|
+
control: {
|
|
368
|
+
type: string;
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
placement: {
|
|
372
|
+
options: string[];
|
|
373
|
+
control: {
|
|
374
|
+
type: string;
|
|
375
|
+
};
|
|
376
|
+
table: {
|
|
377
|
+
category: string;
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
appearance: {
|
|
381
|
+
options: string[];
|
|
382
|
+
control: {
|
|
383
|
+
type: string;
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
hasClearDivider: {
|
|
387
|
+
control: {
|
|
388
|
+
type: string;
|
|
389
|
+
};
|
|
390
|
+
if: {
|
|
391
|
+
arg: string;
|
|
392
|
+
eq: string;
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
view: {
|
|
396
|
+
options: any;
|
|
397
|
+
control: {
|
|
398
|
+
type: string;
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
size: {
|
|
402
|
+
options: any;
|
|
403
|
+
control: {
|
|
404
|
+
type: string;
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
min: {
|
|
408
|
+
control: {
|
|
409
|
+
type: string;
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
max: {
|
|
413
|
+
control: {
|
|
414
|
+
type: string;
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
includeEdgeDates: {
|
|
418
|
+
control: {
|
|
419
|
+
type: string;
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
renderFromDate: {
|
|
423
|
+
control: {
|
|
424
|
+
type: string;
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
lang: {
|
|
428
|
+
options: string[];
|
|
429
|
+
control: {
|
|
430
|
+
type: string;
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
requiredPlacement: {
|
|
434
|
+
options: string[];
|
|
435
|
+
control: {
|
|
436
|
+
type: string;
|
|
437
|
+
};
|
|
438
|
+
if: {
|
|
439
|
+
arg: string;
|
|
440
|
+
truthy: boolean;
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
hasRequiredIndicator: {
|
|
444
|
+
control: {
|
|
445
|
+
type: string;
|
|
446
|
+
};
|
|
447
|
+
if: {
|
|
448
|
+
arg: string;
|
|
449
|
+
truthy: boolean;
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
format: {
|
|
453
|
+
options: string[];
|
|
454
|
+
control: {
|
|
455
|
+
type: string;
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
eventTooltipSize: {
|
|
459
|
+
options: string[];
|
|
460
|
+
control: {
|
|
461
|
+
type: string;
|
|
462
|
+
};
|
|
463
|
+
if: {
|
|
464
|
+
arg: string;
|
|
465
|
+
truthy: boolean;
|
|
466
|
+
};
|
|
467
|
+
};
|
|
468
|
+
hintText: {
|
|
469
|
+
control: {
|
|
470
|
+
type: string;
|
|
471
|
+
};
|
|
472
|
+
if: {
|
|
473
|
+
arg: string;
|
|
474
|
+
truthy: boolean;
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
hintView: {
|
|
478
|
+
options: string[];
|
|
479
|
+
control: {
|
|
480
|
+
type: string;
|
|
481
|
+
};
|
|
482
|
+
if: {
|
|
483
|
+
arg: string;
|
|
484
|
+
truthy: boolean;
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
hintSize: {
|
|
488
|
+
options: string[];
|
|
489
|
+
control: {
|
|
490
|
+
type: string;
|
|
491
|
+
};
|
|
492
|
+
if: {
|
|
493
|
+
arg: string;
|
|
494
|
+
truthy: boolean;
|
|
495
|
+
};
|
|
496
|
+
};
|
|
497
|
+
hintTargetPlacement: {
|
|
498
|
+
options: string[];
|
|
499
|
+
control: {
|
|
500
|
+
type: string;
|
|
501
|
+
};
|
|
502
|
+
if: {
|
|
503
|
+
arg: string;
|
|
504
|
+
truthy: boolean;
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
hintTrigger: {
|
|
508
|
+
options: string[];
|
|
509
|
+
control: {
|
|
510
|
+
type: string;
|
|
511
|
+
};
|
|
512
|
+
if: {
|
|
513
|
+
arg: string;
|
|
514
|
+
truthy: boolean;
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
hintPlacement: {
|
|
518
|
+
options: string[];
|
|
519
|
+
control: {
|
|
520
|
+
type: string;
|
|
521
|
+
};
|
|
522
|
+
if: {
|
|
523
|
+
arg: string;
|
|
524
|
+
truthy: boolean;
|
|
525
|
+
};
|
|
526
|
+
mappers: string[];
|
|
527
|
+
};
|
|
528
|
+
hintHasArrow: {
|
|
529
|
+
control: {
|
|
530
|
+
type: string;
|
|
531
|
+
};
|
|
532
|
+
if: {
|
|
533
|
+
arg: string;
|
|
534
|
+
truthy: boolean;
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
hintWidth: {
|
|
538
|
+
control: {
|
|
539
|
+
type: string;
|
|
540
|
+
};
|
|
541
|
+
if: {
|
|
542
|
+
arg: string;
|
|
543
|
+
truthy: boolean;
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
shortcutsWidth: {
|
|
547
|
+
control: {
|
|
548
|
+
type: string;
|
|
549
|
+
};
|
|
550
|
+
if: {
|
|
551
|
+
arg: string;
|
|
552
|
+
truthy: boolean;
|
|
553
|
+
};
|
|
554
|
+
};
|
|
555
|
+
shortcutsPlacement: {
|
|
556
|
+
options: string[];
|
|
557
|
+
control: {
|
|
558
|
+
type: string;
|
|
559
|
+
};
|
|
560
|
+
if: {
|
|
561
|
+
arg: string;
|
|
562
|
+
truthy: boolean;
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
disableFlip: {
|
|
566
|
+
control: {
|
|
567
|
+
type: string;
|
|
568
|
+
};
|
|
569
|
+
table: {
|
|
570
|
+
category: string;
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
};
|
|
133
574
|
};
|
|
134
575
|
Range: {
|
|
135
576
|
render: (args: any) => JSX.Element;
|