@mirai/ui 1.1.0-d → 1.1.1
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/README.md +109 -60
- package/build/components/Action/Action.js +1 -1
- package/build/components/Action/Action.js.map +1 -1
- package/build/components/Action/Action.module.css +4 -7
- package/build/components/Action/Action.stories.js +1 -1
- package/build/components/Action/Action.stories.js.map +1 -1
- package/build/components/Action/__tests__/__snapshots__/Action.test.js.snap +26 -40
- package/build/components/Button/Button.module.css +30 -33
- package/build/components/Button/Button.stories.js +9 -0
- package/build/components/Button/Button.stories.js.map +1 -1
- package/build/components/Button/__tests__/__snapshots__/Button.test.js.snap +21 -30
- package/build/components/Calendar/Calendar.Month.js +12 -8
- package/build/components/Calendar/Calendar.Month.js.map +1 -1
- package/build/components/Calendar/Calendar.Week.js +7 -10
- package/build/components/Calendar/Calendar.Week.js.map +1 -1
- package/build/components/Calendar/Calendar.js +9 -1
- package/build/components/Calendar/Calendar.js.map +1 -1
- package/build/components/Calendar/Calendar.module.css +3 -4
- package/build/components/Calendar/__tests__/__snapshots__/Calendar.test.jsx.snap +15736 -15768
- package/build/components/Form/Form.constants.js +1 -1
- package/build/components/Form/Form.constants.js.map +1 -1
- package/build/components/Form/Form.js +3 -1
- package/build/components/Form/Form.js.map +1 -1
- package/build/components/Form/Form.stories.js +6 -1
- package/build/components/Form/Form.stories.js.map +1 -1
- package/build/components/Form/__tests__/__snapshots__/Form.test.jsx.snap +9 -9
- package/build/components/InputDate/__tests__/__snapshots__/InputDate.test.js.snap +42 -42
- package/build/components/InputNumber/InputNumber.js +2 -1
- package/build/components/InputNumber/InputNumber.js.map +1 -1
- package/build/components/InputNumber/__tests__/__snapshots__/InputNumber.test.js.snap +138 -153
- package/build/components/InputOption/InputOption.js +8 -1
- package/build/components/InputOption/InputOption.js.map +1 -1
- package/build/components/InputOption/InputOption.module.css +13 -2
- package/build/components/InputOption/InputOption.stories.js +2 -1
- package/build/components/InputOption/InputOption.stories.js.map +1 -1
- package/build/components/InputOption/__tests__/__snapshots__/InputOption.test.js.snap +96 -90
- package/build/components/InputPhone/InputPhone.js +22 -19
- package/build/components/InputPhone/InputPhone.js.map +1 -1
- package/build/components/InputPhone/InputPhone.module.css +18 -5
- package/build/components/InputPhone/InputPhone.stories.js +3 -3
- package/build/components/InputPhone/InputPhone.stories.js.map +1 -1
- package/build/components/InputPhone/__tests__/__snapshots__/InputPhone.test.js.snap +389 -389
- package/build/components/InputPhone/helpers/index.js +11 -0
- package/build/components/InputPhone/helpers/index.js.map +1 -1
- package/build/components/InputPhone/helpers/sanitizePrefixes.js +24 -0
- package/build/components/InputPhone/helpers/sanitizePrefixes.js.map +1 -0
- package/build/components/InputSelect/InputSelect.js +3 -5
- package/build/components/InputSelect/InputSelect.js.map +1 -1
- package/build/components/InputSelect/InputSelect.stories.js +1 -0
- package/build/components/InputSelect/InputSelect.stories.js.map +1 -1
- package/build/components/InputSelect/__tests__/__snapshots__/InputSelect.test.js.snap +136 -136
- package/build/components/InputSelect/partials/InputSelect.Expand.js +23 -0
- package/build/components/InputSelect/partials/InputSelect.Expand.js.map +1 -0
- package/build/components/InputSelect/partials/index.js +17 -0
- package/build/components/InputSelect/partials/index.js.map +1 -0
- package/build/components/InputText/InputText.js +6 -4
- package/build/components/InputText/InputText.js.map +1 -1
- package/build/components/InputText/InputText.module.css +18 -6
- package/build/components/InputText/InputText.stories.js +7 -2
- package/build/components/InputText/InputText.stories.js.map +1 -1
- package/build/components/InputText/__tests__/__snapshots__/InputText.test.js.snap +142 -143
- package/build/components/Menu/__tests__/__snapshots__/Menu.test.jsx.snap +72 -70
- package/build/components/Modal/Modal.js +15 -8
- package/build/components/Modal/Modal.js.map +1 -1
- package/build/components/Modal/Modal.module.css +30 -13
- package/build/components/Modal/Modal.stories.js +1 -0
- package/build/components/Modal/Modal.stories.js.map +1 -1
- package/build/components/Modal/__tests__/__snapshots__/Modal.test.js.snap +92 -98
- package/build/components/Notification/Notification.js +20 -12
- package/build/components/Notification/Notification.js.map +1 -1
- package/build/components/Notification/Notification.module.css +44 -58
- package/build/components/Notification/Notification.stories.js +15 -2
- package/build/components/Notification/Notification.stories.js.map +1 -1
- package/build/components/Notification/__tests__/__snapshots__/Notification.test.js.snap +600 -254
- package/build/components/Progress/Progress.js +2 -0
- package/build/components/Progress/Progress.js.map +1 -1
- package/build/components/Progress/__tests__/__snapshots__/Progress.test.jsx.snap +18 -18
- package/build/components/Slider/Slider.constants.js +3 -1
- package/build/components/Slider/Slider.constants.js.map +1 -1
- package/build/components/Slider/Slider.js +67 -66
- package/build/components/Slider/Slider.js.map +1 -1
- package/build/components/Slider/Slider.module.css +54 -54
- package/build/components/Slider/Slider.stories.js +9 -6
- package/build/components/Slider/Slider.stories.js.map +1 -1
- package/build/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +708 -327
- package/build/components/Table/Table.ColumnFilter.js +17 -14
- package/build/components/Table/Table.ColumnFilter.js.map +1 -1
- package/build/components/Table/Table.Row.js +2 -1
- package/build/components/Table/Table.Row.js.map +1 -1
- package/build/components/Table/Table.constants.js +3 -1
- package/build/components/Table/Table.constants.js.map +1 -1
- package/build/components/Table/Table.js +54 -17
- package/build/components/Table/Table.js.map +1 -1
- package/build/components/Table/Table.module.css +12 -6
- package/build/components/Table/Table.stories.js +39 -19
- package/build/components/Table/Table.stories.js.map +1 -1
- package/build/components/Table/Table.stories.module.css +4 -5
- package/build/components/Table/__tests__/__snapshots__/Table.ColumnFilter.test.js.snap +221 -240
- package/build/components/Table/__tests__/__snapshots__/Table.test.js.snap +1725 -1085
- package/build/components/Table/helpers/exists.js +2 -3
- package/build/components/Table/helpers/exists.js.map +1 -1
- package/build/components/Table/helpers/select.js +24 -16
- package/build/components/Table/helpers/select.js.map +1 -1
- package/build/components/Tooltip/Tooltip.js +29 -6
- package/build/components/Tooltip/Tooltip.js.map +1 -1
- package/build/components/Tooltip/__tests__/__snapshots__/Tooltip.test.jsx.snap +51 -44
- package/build/components/index.js +11 -0
- package/build/components/index.js.map +1 -1
- package/build/helpers/getInputPhoneErrors.js +3 -2
- package/build/helpers/getInputPhoneErrors.js.map +1 -1
- package/build/hooks/useDevice.js +1 -1
- package/build/hooks/useDevice.js.map +1 -1
- package/build/primitives/Checkbox/Checkbox.js +4 -3
- package/build/primitives/Checkbox/Checkbox.js.map +1 -1
- package/build/primitives/Checkbox/Checkbox.module.css +42 -6
- package/build/primitives/Checkbox/__tests__/__snapshots__/Checkbox.test.js.snap +47 -16
- package/build/primitives/Icon/Icon.constants.js +43 -21
- package/build/primitives/Icon/Icon.constants.js.map +1 -1
- package/build/primitives/Icon/Icon.js +15 -5
- package/build/primitives/Icon/Icon.js.map +1 -1
- package/build/primitives/Icon/Icon.module.css +32 -19
- package/build/primitives/Icon/Icon.stories.js +5 -0
- package/build/primitives/Icon/Icon.stories.js.map +1 -1
- package/build/primitives/Icon/__tests__/__snapshots__/Icon.test.js.snap +291 -100
- package/build/primitives/Input/Input.js +9 -3
- package/build/primitives/Input/Input.js.map +1 -1
- package/build/primitives/Input/Input.stories.js +2 -0
- package/build/primitives/Input/Input.stories.js.map +1 -1
- package/build/primitives/Input/__tests__/__snapshots__/Input.test.js.snap +22 -0
- package/build/primitives/Layer/Layer.js +11 -5
- package/build/primitives/Layer/Layer.js.map +1 -1
- package/build/primitives/Layer/Layer.module.css +4 -0
- package/build/primitives/Layer/__tests__/__snapshots__/Layer.test.js.snap +78 -42
- package/build/primitives/Layer/helpers/index.js +11 -0
- package/build/primitives/Layer/helpers/index.js.map +1 -1
- package/build/primitives/Layer/helpers/isComponentFixed.js +32 -0
- package/build/primitives/Layer/helpers/isComponentFixed.js.map +1 -0
- package/build/primitives/Pressable/Pressable.constants.js +1 -1
- package/build/primitives/Pressable/Pressable.constants.js.map +1 -1
- package/build/primitives/Pressable/Pressable.js +3 -7
- package/build/primitives/Pressable/Pressable.js.map +1 -1
- package/build/primitives/Pressable/Pressable.module.css +0 -1
- package/build/primitives/Pressable/__tests__/__snapshots__/Pressable.test.js.snap +10 -14
- package/build/primitives/Primitive/Primitive.js +2 -2
- package/build/primitives/Primitive/Primitive.js.map +1 -1
- package/build/primitives/Primitive/__tests__/__snapshots__/Primitive.test.js.snap +7 -7
- package/build/primitives/Primitive/helpers/index.js +0 -11
- package/build/primitives/Primitive/helpers/index.js.map +1 -1
- package/build/primitives/Radio/Radio.js +1 -1
- package/build/primitives/Radio/Radio.js.map +1 -1
- package/build/primitives/Radio/Radio.module.css +18 -2
- package/build/primitives/Radio/__tests__/__snapshots__/Radio.test.js.snap +21 -21
- package/build/primitives/ScrollView/ScrollView.js +1 -1
- package/build/primitives/ScrollView/ScrollView.js.map +1 -1
- package/build/primitives/ScrollView/ScrollView.module.css +1 -0
- package/build/primitives/ScrollView/ScrollView.stories.js +5 -6
- package/build/primitives/ScrollView/ScrollView.stories.js.map +1 -1
- package/build/primitives/ScrollView/__tests__/__snapshots__/ScrollView.test.js.snap +20 -20
- package/build/primitives/Select/Select.js +13 -6
- package/build/primitives/Select/Select.js.map +1 -1
- package/build/primitives/Select/Select.stories.js +1 -0
- package/build/primitives/Select/Select.stories.js.map +1 -1
- package/build/primitives/Select/__tests__/__snapshots__/Select.test.js.snap +36 -0
- package/build/primitives/Switch/Switch.js +5 -3
- package/build/primitives/Switch/Switch.js.map +1 -1
- package/build/primitives/Switch/Switch.module.css +36 -8
- package/build/primitives/Switch/Switch.stories.js +1 -0
- package/build/primitives/Switch/Switch.stories.js.map +1 -1
- package/build/primitives/Switch/__tests__/__snapshots__/Switch.test.js.snap +88 -25
- package/build/primitives/Text/Text.js +12 -5
- package/build/primitives/Text/Text.js.map +1 -1
- package/build/primitives/Text/Text.module.css +29 -14
- package/build/primitives/Text/Text.stories.js +4 -0
- package/build/primitives/Text/Text.stories.js.map +1 -1
- package/build/primitives/Text/__tests__/__snapshots__/Text.test.js.snap +78 -38
- package/build/primitives/View/View.js +1 -1
- package/build/primitives/View/View.js.map +1 -1
- package/build/primitives/View/__tests__/__snapshots__/View.test.js.snap +10 -10
- package/build/theme/default.theme.css +54 -53
- package/build/theme/theme.constants.js +3 -1
- package/build/theme/theme.constants.js.map +1 -1
- package/build/theme/theme.js +34 -11
- package/build/theme/theme.js.map +1 -1
- package/package.json +4 -5
- package/build/primitives/Primitive/helpers/getTag.js +0 -32
- package/build/primitives/Primitive/helpers/getTag.js.map +0 -1
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`component:<InputSelect> inherit:className 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
|
-
<
|
|
5
|
+
<div
|
|
6
6
|
class="view inputContainer mirai"
|
|
7
7
|
>
|
|
8
|
-
<
|
|
8
|
+
<div
|
|
9
9
|
class="view row inputBorder"
|
|
10
10
|
>
|
|
11
|
-
<
|
|
11
|
+
<div
|
|
12
12
|
class="view wide content"
|
|
13
13
|
>
|
|
14
14
|
<select
|
|
@@ -41,9 +41,9 @@ exports[`component:<InputSelect> inherit:className 1`] = `
|
|
|
41
41
|
five
|
|
42
42
|
</option>
|
|
43
43
|
</select>
|
|
44
|
-
</
|
|
45
|
-
<
|
|
46
|
-
class="icon
|
|
44
|
+
</div>
|
|
45
|
+
<span
|
|
46
|
+
class="icon headline-3 icon expand"
|
|
47
47
|
>
|
|
48
48
|
<svg
|
|
49
49
|
fill="currentColor"
|
|
@@ -60,29 +60,29 @@ exports[`component:<InputSelect> inherit:className 1`] = `
|
|
|
60
60
|
opacity=".87"
|
|
61
61
|
/>
|
|
62
62
|
<path
|
|
63
|
-
d="M16.59 8.
|
|
63
|
+
d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
64
64
|
/>
|
|
65
65
|
</svg>
|
|
66
|
-
</
|
|
67
|
-
</
|
|
68
|
-
</
|
|
66
|
+
</span>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
69
|
</DocumentFragment>
|
|
70
70
|
`;
|
|
71
71
|
|
|
72
72
|
exports[`component:<InputSelect> prop:caption 1`] = `
|
|
73
73
|
<DocumentFragment>
|
|
74
|
-
<
|
|
74
|
+
<div
|
|
75
75
|
class="view inputContainer"
|
|
76
76
|
>
|
|
77
|
-
<
|
|
77
|
+
<div
|
|
78
78
|
class="view row inputBorder"
|
|
79
79
|
>
|
|
80
|
-
<
|
|
80
|
+
<span
|
|
81
81
|
class="text action lighten caption"
|
|
82
82
|
>
|
|
83
83
|
caption
|
|
84
|
-
</
|
|
85
|
-
<
|
|
84
|
+
</span>
|
|
85
|
+
<div
|
|
86
86
|
class="view wide content"
|
|
87
87
|
>
|
|
88
88
|
<select
|
|
@@ -115,9 +115,9 @@ exports[`component:<InputSelect> prop:caption 1`] = `
|
|
|
115
115
|
five
|
|
116
116
|
</option>
|
|
117
117
|
</select>
|
|
118
|
-
</
|
|
119
|
-
<
|
|
120
|
-
class="icon
|
|
118
|
+
</div>
|
|
119
|
+
<span
|
|
120
|
+
class="icon headline-3 icon expand"
|
|
121
121
|
>
|
|
122
122
|
<svg
|
|
123
123
|
fill="currentColor"
|
|
@@ -134,24 +134,24 @@ exports[`component:<InputSelect> prop:caption 1`] = `
|
|
|
134
134
|
opacity=".87"
|
|
135
135
|
/>
|
|
136
136
|
<path
|
|
137
|
-
d="M16.59 8.
|
|
137
|
+
d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
138
138
|
/>
|
|
139
139
|
</svg>
|
|
140
|
-
</
|
|
141
|
-
</
|
|
142
|
-
</
|
|
140
|
+
</span>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
143
|
</DocumentFragment>
|
|
144
144
|
`;
|
|
145
145
|
|
|
146
146
|
exports[`component:<InputSelect> prop:disabled 1`] = `
|
|
147
147
|
<DocumentFragment>
|
|
148
|
-
<
|
|
148
|
+
<div
|
|
149
149
|
class="view inputContainer"
|
|
150
150
|
>
|
|
151
|
-
<
|
|
151
|
+
<div
|
|
152
152
|
class="view row inputBorder disabled"
|
|
153
153
|
>
|
|
154
|
-
<
|
|
154
|
+
<div
|
|
155
155
|
class="view wide content"
|
|
156
156
|
>
|
|
157
157
|
<select
|
|
@@ -185,21 +185,21 @@ exports[`component:<InputSelect> prop:disabled 1`] = `
|
|
|
185
185
|
five
|
|
186
186
|
</option>
|
|
187
187
|
</select>
|
|
188
|
-
</
|
|
189
|
-
</
|
|
190
|
-
</
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
191
|
</DocumentFragment>
|
|
192
192
|
`;
|
|
193
193
|
|
|
194
194
|
exports[`component:<InputSelect> prop:error 1`] = `
|
|
195
195
|
<DocumentFragment>
|
|
196
|
-
<
|
|
196
|
+
<div
|
|
197
197
|
class="view inputContainer"
|
|
198
198
|
>
|
|
199
|
-
<
|
|
199
|
+
<div
|
|
200
200
|
class="view row inputBorder"
|
|
201
201
|
>
|
|
202
|
-
<
|
|
202
|
+
<div
|
|
203
203
|
class="view wide content"
|
|
204
204
|
>
|
|
205
205
|
<select
|
|
@@ -232,9 +232,9 @@ exports[`component:<InputSelect> prop:error 1`] = `
|
|
|
232
232
|
five
|
|
233
233
|
</option>
|
|
234
234
|
</select>
|
|
235
|
-
</
|
|
236
|
-
<
|
|
237
|
-
class="icon
|
|
235
|
+
</div>
|
|
236
|
+
<span
|
|
237
|
+
class="icon headline-3 icon expand"
|
|
238
238
|
>
|
|
239
239
|
<svg
|
|
240
240
|
fill="currentColor"
|
|
@@ -251,24 +251,24 @@ exports[`component:<InputSelect> prop:error 1`] = `
|
|
|
251
251
|
opacity=".87"
|
|
252
252
|
/>
|
|
253
253
|
<path
|
|
254
|
-
d="M16.59 8.
|
|
254
|
+
d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
255
255
|
/>
|
|
256
256
|
</svg>
|
|
257
|
-
</
|
|
258
|
-
</
|
|
259
|
-
</
|
|
257
|
+
</span>
|
|
258
|
+
</div>
|
|
259
|
+
</div>
|
|
260
260
|
</DocumentFragment>
|
|
261
261
|
`;
|
|
262
262
|
|
|
263
263
|
exports[`component:<InputSelect> prop:hint 1`] = `
|
|
264
264
|
<DocumentFragment>
|
|
265
|
-
<
|
|
265
|
+
<div
|
|
266
266
|
class="view inputContainer"
|
|
267
267
|
>
|
|
268
|
-
<
|
|
268
|
+
<div
|
|
269
269
|
class="view row inputBorder"
|
|
270
270
|
>
|
|
271
|
-
<
|
|
271
|
+
<div
|
|
272
272
|
class="view wide content"
|
|
273
273
|
>
|
|
274
274
|
<select
|
|
@@ -301,9 +301,9 @@ exports[`component:<InputSelect> prop:hint 1`] = `
|
|
|
301
301
|
five
|
|
302
302
|
</option>
|
|
303
303
|
</select>
|
|
304
|
-
</
|
|
305
|
-
<
|
|
306
|
-
class="icon
|
|
304
|
+
</div>
|
|
305
|
+
<span
|
|
306
|
+
class="icon headline-3 icon expand"
|
|
307
307
|
>
|
|
308
308
|
<svg
|
|
309
309
|
fill="currentColor"
|
|
@@ -320,36 +320,36 @@ exports[`component:<InputSelect> prop:hint 1`] = `
|
|
|
320
320
|
opacity=".87"
|
|
321
321
|
/>
|
|
322
322
|
<path
|
|
323
|
-
d="M16.59 8.
|
|
323
|
+
d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
324
324
|
/>
|
|
325
325
|
</svg>
|
|
326
|
-
</
|
|
327
|
-
</
|
|
328
|
-
<
|
|
326
|
+
</span>
|
|
327
|
+
</div>
|
|
328
|
+
<span
|
|
329
329
|
class="text small text hint"
|
|
330
330
|
>
|
|
331
331
|
hint
|
|
332
|
-
</
|
|
333
|
-
</
|
|
332
|
+
</span>
|
|
333
|
+
</div>
|
|
334
334
|
</DocumentFragment>
|
|
335
335
|
`;
|
|
336
336
|
|
|
337
337
|
exports[`component:<InputSelect> prop:label 1`] = `
|
|
338
338
|
<DocumentFragment>
|
|
339
|
-
<
|
|
339
|
+
<div
|
|
340
340
|
class="view inputContainer"
|
|
341
341
|
>
|
|
342
|
-
<
|
|
342
|
+
<div
|
|
343
343
|
class="view row inputBorder"
|
|
344
344
|
>
|
|
345
|
-
<
|
|
345
|
+
<div
|
|
346
346
|
class="view wide content"
|
|
347
347
|
>
|
|
348
|
-
<
|
|
348
|
+
<span
|
|
349
349
|
class="text paragraph text label"
|
|
350
350
|
>
|
|
351
351
|
label
|
|
352
|
-
</
|
|
352
|
+
</span>
|
|
353
353
|
<select
|
|
354
354
|
class="select empty input withLabel empty"
|
|
355
355
|
name="name"
|
|
@@ -380,9 +380,9 @@ exports[`component:<InputSelect> prop:label 1`] = `
|
|
|
380
380
|
five
|
|
381
381
|
</option>
|
|
382
382
|
</select>
|
|
383
|
-
</
|
|
384
|
-
<
|
|
385
|
-
class="icon
|
|
383
|
+
</div>
|
|
384
|
+
<span
|
|
385
|
+
class="icon headline-3 icon expand"
|
|
386
386
|
>
|
|
387
387
|
<svg
|
|
388
388
|
fill="currentColor"
|
|
@@ -399,27 +399,27 @@ exports[`component:<InputSelect> prop:label 1`] = `
|
|
|
399
399
|
opacity=".87"
|
|
400
400
|
/>
|
|
401
401
|
<path
|
|
402
|
-
d="M16.59 8.
|
|
402
|
+
d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
403
403
|
/>
|
|
404
404
|
</svg>
|
|
405
|
-
</
|
|
406
|
-
</
|
|
407
|
-
</
|
|
405
|
+
</span>
|
|
406
|
+
</div>
|
|
407
|
+
</div>
|
|
408
408
|
</DocumentFragment>
|
|
409
409
|
`;
|
|
410
410
|
|
|
411
411
|
exports[`component:<InputSelect> prop:required & prop:showRequired (true) 1`] = `
|
|
412
412
|
<DocumentFragment>
|
|
413
|
-
<
|
|
413
|
+
<div
|
|
414
414
|
class="view inputContainer"
|
|
415
415
|
>
|
|
416
|
-
<
|
|
416
|
+
<div
|
|
417
417
|
class="view row inputBorder"
|
|
418
418
|
>
|
|
419
|
-
<
|
|
419
|
+
<div
|
|
420
420
|
class="view wide content"
|
|
421
421
|
>
|
|
422
|
-
<
|
|
422
|
+
<span
|
|
423
423
|
class="text paragraph text label"
|
|
424
424
|
>
|
|
425
425
|
label
|
|
@@ -428,7 +428,7 @@ exports[`component:<InputSelect> prop:required & prop:showRequired (true) 1`] =
|
|
|
428
428
|
>
|
|
429
429
|
*
|
|
430
430
|
</span>
|
|
431
|
-
</
|
|
431
|
+
</span>
|
|
432
432
|
<select
|
|
433
433
|
class="select empty input withLabel empty"
|
|
434
434
|
name="name"
|
|
@@ -460,9 +460,9 @@ exports[`component:<InputSelect> prop:required & prop:showRequired (true) 1`] =
|
|
|
460
460
|
five
|
|
461
461
|
</option>
|
|
462
462
|
</select>
|
|
463
|
-
</
|
|
464
|
-
<
|
|
465
|
-
class="icon
|
|
463
|
+
</div>
|
|
464
|
+
<span
|
|
465
|
+
class="icon headline-3 icon expand"
|
|
466
466
|
>
|
|
467
467
|
<svg
|
|
468
468
|
fill="currentColor"
|
|
@@ -479,31 +479,31 @@ exports[`component:<InputSelect> prop:required & prop:showRequired (true) 1`] =
|
|
|
479
479
|
opacity=".87"
|
|
480
480
|
/>
|
|
481
481
|
<path
|
|
482
|
-
d="M16.59 8.
|
|
482
|
+
d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
483
483
|
/>
|
|
484
484
|
</svg>
|
|
485
|
-
</
|
|
486
|
-
</
|
|
487
|
-
</
|
|
485
|
+
</span>
|
|
486
|
+
</div>
|
|
487
|
+
</div>
|
|
488
488
|
</DocumentFragment>
|
|
489
489
|
`;
|
|
490
490
|
|
|
491
491
|
exports[`component:<InputSelect> prop:required 1`] = `
|
|
492
492
|
<DocumentFragment>
|
|
493
|
-
<
|
|
493
|
+
<div
|
|
494
494
|
class="view inputContainer"
|
|
495
495
|
>
|
|
496
|
-
<
|
|
496
|
+
<div
|
|
497
497
|
class="view row inputBorder"
|
|
498
498
|
>
|
|
499
|
-
<
|
|
499
|
+
<div
|
|
500
500
|
class="view wide content"
|
|
501
501
|
>
|
|
502
|
-
<
|
|
502
|
+
<span
|
|
503
503
|
class="text paragraph text label"
|
|
504
504
|
>
|
|
505
505
|
label
|
|
506
|
-
</
|
|
506
|
+
</span>
|
|
507
507
|
<select
|
|
508
508
|
class="select empty input withLabel empty"
|
|
509
509
|
name="name"
|
|
@@ -535,9 +535,9 @@ exports[`component:<InputSelect> prop:required 1`] = `
|
|
|
535
535
|
five
|
|
536
536
|
</option>
|
|
537
537
|
</select>
|
|
538
|
-
</
|
|
539
|
-
<
|
|
540
|
-
class="icon
|
|
538
|
+
</div>
|
|
539
|
+
<span
|
|
540
|
+
class="icon headline-3 icon expand"
|
|
541
541
|
>
|
|
542
542
|
<svg
|
|
543
543
|
fill="currentColor"
|
|
@@ -554,24 +554,24 @@ exports[`component:<InputSelect> prop:required 1`] = `
|
|
|
554
554
|
opacity=".87"
|
|
555
555
|
/>
|
|
556
556
|
<path
|
|
557
|
-
d="M16.59 8.
|
|
557
|
+
d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
558
558
|
/>
|
|
559
559
|
</svg>
|
|
560
|
-
</
|
|
561
|
-
</
|
|
562
|
-
</
|
|
560
|
+
</span>
|
|
561
|
+
</div>
|
|
562
|
+
</div>
|
|
563
563
|
</DocumentFragment>
|
|
564
564
|
`;
|
|
565
565
|
|
|
566
566
|
exports[`component:<InputSelect> prop:success 1`] = `
|
|
567
567
|
<DocumentFragment>
|
|
568
|
-
<
|
|
568
|
+
<div
|
|
569
569
|
class="view inputContainer"
|
|
570
570
|
>
|
|
571
|
-
<
|
|
571
|
+
<div
|
|
572
572
|
class="view row inputBorder disabled"
|
|
573
573
|
>
|
|
574
|
-
<
|
|
574
|
+
<div
|
|
575
575
|
class="view wide content"
|
|
576
576
|
>
|
|
577
577
|
<select
|
|
@@ -605,21 +605,21 @@ exports[`component:<InputSelect> prop:success 1`] = `
|
|
|
605
605
|
five
|
|
606
606
|
</option>
|
|
607
607
|
</select>
|
|
608
|
-
</
|
|
609
|
-
</
|
|
610
|
-
</
|
|
608
|
+
</div>
|
|
609
|
+
</div>
|
|
610
|
+
</div>
|
|
611
611
|
</DocumentFragment>
|
|
612
612
|
`;
|
|
613
613
|
|
|
614
614
|
exports[`component:<InputSelect> prop:value 1`] = `
|
|
615
615
|
<DocumentFragment>
|
|
616
|
-
<
|
|
616
|
+
<div
|
|
617
617
|
class="view inputContainer"
|
|
618
618
|
>
|
|
619
|
-
<
|
|
619
|
+
<div
|
|
620
620
|
class="view row inputBorder"
|
|
621
621
|
>
|
|
622
|
-
<
|
|
622
|
+
<div
|
|
623
623
|
class="view wide content"
|
|
624
624
|
>
|
|
625
625
|
<select
|
|
@@ -652,9 +652,9 @@ exports[`component:<InputSelect> prop:value 1`] = `
|
|
|
652
652
|
five
|
|
653
653
|
</option>
|
|
654
654
|
</select>
|
|
655
|
-
</
|
|
656
|
-
<
|
|
657
|
-
class="icon
|
|
655
|
+
</div>
|
|
656
|
+
<span
|
|
657
|
+
class="icon headline-3 icon expand"
|
|
658
658
|
>
|
|
659
659
|
<svg
|
|
660
660
|
fill="currentColor"
|
|
@@ -671,24 +671,24 @@ exports[`component:<InputSelect> prop:value 1`] = `
|
|
|
671
671
|
opacity=".87"
|
|
672
672
|
/>
|
|
673
673
|
<path
|
|
674
|
-
d="M16.59 8.
|
|
674
|
+
d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
675
675
|
/>
|
|
676
676
|
</svg>
|
|
677
|
-
</
|
|
678
|
-
</
|
|
679
|
-
</
|
|
677
|
+
</span>
|
|
678
|
+
</div>
|
|
679
|
+
</div>
|
|
680
680
|
</DocumentFragment>
|
|
681
681
|
`;
|
|
682
682
|
|
|
683
683
|
exports[`component:<InputSelect> prop:warning 1`] = `
|
|
684
684
|
<DocumentFragment>
|
|
685
|
-
<
|
|
685
|
+
<div
|
|
686
686
|
class="view inputContainer"
|
|
687
687
|
>
|
|
688
|
-
<
|
|
688
|
+
<div
|
|
689
689
|
class="view row inputBorder"
|
|
690
690
|
>
|
|
691
|
-
<
|
|
691
|
+
<div
|
|
692
692
|
class="view wide content"
|
|
693
693
|
>
|
|
694
694
|
<select
|
|
@@ -721,9 +721,9 @@ exports[`component:<InputSelect> prop:warning 1`] = `
|
|
|
721
721
|
five
|
|
722
722
|
</option>
|
|
723
723
|
</select>
|
|
724
|
-
</
|
|
725
|
-
<
|
|
726
|
-
class="icon
|
|
724
|
+
</div>
|
|
725
|
+
<span
|
|
726
|
+
class="icon headline-3 icon expand"
|
|
727
727
|
>
|
|
728
728
|
<svg
|
|
729
729
|
fill="currentColor"
|
|
@@ -740,12 +740,12 @@ exports[`component:<InputSelect> prop:warning 1`] = `
|
|
|
740
740
|
opacity=".87"
|
|
741
741
|
/>
|
|
742
742
|
<path
|
|
743
|
-
d="M16.59 8.
|
|
743
|
+
d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
744
744
|
/>
|
|
745
745
|
</svg>
|
|
746
|
-
</
|
|
747
|
-
<
|
|
748
|
-
class="icon
|
|
746
|
+
</span>
|
|
747
|
+
<span
|
|
748
|
+
class="icon headline-3 icon warning"
|
|
749
749
|
>
|
|
750
750
|
<svg
|
|
751
751
|
fill="currentColor"
|
|
@@ -757,24 +757,24 @@ exports[`component:<InputSelect> prop:warning 1`] = `
|
|
|
757
757
|
xmlns="http://www.w3.org/2000/svg"
|
|
758
758
|
>
|
|
759
759
|
<path
|
|
760
|
-
d="M12 5.
|
|
760
|
+
d="M12 5.99 19.53 19H4.47L12 5.99M12 2 1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
|
|
761
761
|
/>
|
|
762
762
|
</svg>
|
|
763
|
-
</
|
|
764
|
-
</
|
|
765
|
-
</
|
|
763
|
+
</span>
|
|
764
|
+
</div>
|
|
765
|
+
</div>
|
|
766
766
|
</DocumentFragment>
|
|
767
767
|
`;
|
|
768
768
|
|
|
769
769
|
exports[`component:<InputSelect> renders 1`] = `
|
|
770
770
|
<DocumentFragment>
|
|
771
|
-
<
|
|
771
|
+
<div
|
|
772
772
|
class="view inputContainer"
|
|
773
773
|
>
|
|
774
|
-
<
|
|
774
|
+
<div
|
|
775
775
|
class="view row inputBorder"
|
|
776
776
|
>
|
|
777
|
-
<
|
|
777
|
+
<div
|
|
778
778
|
class="view wide content"
|
|
779
779
|
>
|
|
780
780
|
<select
|
|
@@ -807,9 +807,9 @@ exports[`component:<InputSelect> renders 1`] = `
|
|
|
807
807
|
five
|
|
808
808
|
</option>
|
|
809
809
|
</select>
|
|
810
|
-
</
|
|
811
|
-
<
|
|
812
|
-
class="icon
|
|
810
|
+
</div>
|
|
811
|
+
<span
|
|
812
|
+
class="icon headline-3 icon expand"
|
|
813
813
|
>
|
|
814
814
|
<svg
|
|
815
815
|
fill="currentColor"
|
|
@@ -826,24 +826,24 @@ exports[`component:<InputSelect> renders 1`] = `
|
|
|
826
826
|
opacity=".87"
|
|
827
827
|
/>
|
|
828
828
|
<path
|
|
829
|
-
d="M16.59 8.
|
|
829
|
+
d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
830
830
|
/>
|
|
831
831
|
</svg>
|
|
832
|
-
</
|
|
833
|
-
</
|
|
834
|
-
</
|
|
832
|
+
</span>
|
|
833
|
+
</div>
|
|
834
|
+
</div>
|
|
835
835
|
</DocumentFragment>
|
|
836
836
|
`;
|
|
837
837
|
|
|
838
838
|
exports[`component:<InputSelect> testId 1`] = `
|
|
839
839
|
<DocumentFragment>
|
|
840
|
-
<
|
|
840
|
+
<div
|
|
841
841
|
class="view inputContainer"
|
|
842
842
|
>
|
|
843
|
-
<
|
|
843
|
+
<div
|
|
844
844
|
class="view row inputBorder"
|
|
845
845
|
>
|
|
846
|
-
<
|
|
846
|
+
<div
|
|
847
847
|
class="view wide content"
|
|
848
848
|
>
|
|
849
849
|
<select
|
|
@@ -877,9 +877,9 @@ exports[`component:<InputSelect> testId 1`] = `
|
|
|
877
877
|
five
|
|
878
878
|
</option>
|
|
879
879
|
</select>
|
|
880
|
-
</
|
|
881
|
-
<
|
|
882
|
-
class="icon
|
|
880
|
+
</div>
|
|
881
|
+
<span
|
|
882
|
+
class="icon headline-3 icon expand"
|
|
883
883
|
>
|
|
884
884
|
<svg
|
|
885
885
|
fill="currentColor"
|
|
@@ -896,11 +896,11 @@ exports[`component:<InputSelect> testId 1`] = `
|
|
|
896
896
|
opacity=".87"
|
|
897
897
|
/>
|
|
898
898
|
<path
|
|
899
|
-
d="M16.59 8.
|
|
899
|
+
d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
900
900
|
/>
|
|
901
901
|
</svg>
|
|
902
|
-
</
|
|
903
|
-
</
|
|
904
|
-
</
|
|
902
|
+
</span>
|
|
903
|
+
</div>
|
|
904
|
+
</div>
|
|
905
905
|
</DocumentFragment>
|
|
906
906
|
`;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Expand = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _helpers = require("../../../helpers");
|
|
9
|
+
var _primitives = require("../../../primitives");
|
|
10
|
+
var _theme = require("../../../theme");
|
|
11
|
+
var _InputTextModule = _interopRequireDefault(require("../../InputText/InputText.module.css"));
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
var Expand = function Expand() {
|
|
14
|
+
var defaultDirection = _theme.Theme.getDirection() === _theme.DIRECTION_TYPE.LEFT;
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement(_primitives.Icon, {
|
|
16
|
+
value: _primitives.ICON.EXPAND_MORE,
|
|
17
|
+
className: (0, _helpers.styles)(_InputTextModule.default.icon, _InputTextModule.default.expand, !defaultDirection && _InputTextModule.default.reverse)
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
exports.Expand = Expand;
|
|
21
|
+
Expand.displayName = 'Component:InputSelect.Expand';
|
|
22
|
+
Expand.propTypes = {};
|
|
23
|
+
//# sourceMappingURL=InputSelect.Expand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputSelect.Expand.js","names":["Expand","defaultDirection","Theme","getDirection","DIRECTION_TYPE","LEFT","ICON","EXPAND_MORE","styles","style","icon","expand","reverse","displayName","propTypes"],"sources":["../../../../src/components/InputSelect/partials/InputSelect.Expand.jsx"],"sourcesContent":["import React from 'react';\n\nimport { styles } from '../../../helpers';\nimport { Icon, ICON } from '../../../primitives';\nimport { DIRECTION_TYPE, Theme } from '../../../theme';\nimport style from '../../InputText/InputText.module.css';\n\nconst Expand = () => {\n const defaultDirection = Theme.getDirection() === DIRECTION_TYPE.LEFT;\n\n return (\n <Icon value={ICON.EXPAND_MORE} className={styles(style.icon, style.expand, !defaultDirection && style.reverse)} />\n );\n};\n\nExpand.displayName = 'Component:InputSelect.Expand';\n\nExpand.propTypes = {};\n\nexport { Expand };\n"],"mappings":";;;;;;AAAA;AAEA;AACA;AACA;AACA;AAAyD;AAEzD,IAAMA,MAAM,GAAG,SAATA,MAAM,GAAS;EACnB,IAAMC,gBAAgB,GAAGC,YAAK,CAACC,YAAY,EAAE,KAAKC,qBAAc,CAACC,IAAI;EAErE,oBACE,6BAAC,gBAAI;IAAC,KAAK,EAAEC,gBAAI,CAACC,WAAY;IAAC,SAAS,EAAE,IAAAC,eAAM,EAACC,wBAAK,CAACC,IAAI,EAAED,wBAAK,CAACE,MAAM,EAAE,CAACV,gBAAgB,IAAIQ,wBAAK,CAACG,OAAO;EAAE,EAAG;AAEtH,CAAC;AAAC;AAEFZ,MAAM,CAACa,WAAW,GAAG,8BAA8B;AAEnDb,MAAM,CAACc,SAAS,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _InputSelect = require("./InputSelect.Expand");
|
|
7
|
+
Object.keys(_InputSelect).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _InputSelect[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function get() {
|
|
13
|
+
return _InputSelect[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/InputSelect/partials/index.js"],"sourcesContent":["export * from './InputSelect.Expand';\n"],"mappings":";;;;;AAAA;AAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|