@mirai/ui 1.0.59 → 1.0.60
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 +41 -6
- package/build/components/Button/Button.module.css +4 -4
- package/build/components/Calendar/Calendar.Month.js +0 -4
- package/build/components/Calendar/Calendar.Month.js.map +1 -1
- package/build/components/Calendar/__tests__/__snapshots__/Calendar.test.jsx.snap +240 -360
- package/build/components/InputNumber/InputNumber.js +2 -2
- package/build/components/InputNumber/InputNumber.js.map +1 -1
- package/build/components/InputNumber/__tests__/__snapshots__/InputNumber.test.js.snap +180 -260
- package/build/components/InputOption/InputOption.js +6 -4
- package/build/components/InputOption/InputOption.js.map +1 -1
- package/build/components/InputOption/InputOption.module.css +2 -1
- package/build/components/InputOption/InputOption.stories.js +1 -0
- package/build/components/InputOption/InputOption.stories.js.map +1 -1
- package/build/components/InputOption/__tests__/__snapshots__/InputOption.test.js.snap +103 -14
- package/build/components/InputSelect/InputSelect.js +1 -1
- package/build/components/InputSelect/InputSelect.js.map +1 -1
- package/build/components/InputSelect/__tests__/__snapshots__/InputSelect.test.js.snap +71 -54
- package/build/components/InputText/__tests__/__snapshots__/InputText.test.js.snap +20 -39
- package/build/components/Menu/Menu.stories.js +2 -2
- package/build/components/Menu/Menu.stories.js.map +1 -1
- package/build/components/Menu/__tests__/__snapshots__/Menu.test.jsx.snap +17 -31
- package/build/components/Modal/Modal.js +1 -1
- package/build/components/Modal/Modal.js.map +1 -1
- package/build/components/Modal/__tests__/__snapshots__/Modal.test.js.snap +28 -26
- package/build/components/Notification/Notification.js +10 -13
- package/build/components/Notification/Notification.js.map +1 -1
- package/build/components/Notification/__tests__/__snapshots__/Notification.test.js.snap +58 -73
- package/build/components/Table/__tests__/__snapshots__/Table.test.js.snap +200 -300
- package/build/primitives/Icon/Icon.constants.js +30 -30
- package/build/primitives/Icon/Icon.constants.js.map +1 -1
- package/build/primitives/Icon/Icon.js +4 -2
- package/build/primitives/Icon/Icon.js.map +1 -1
- package/build/primitives/Icon/Icon.stories.js +13 -1
- package/build/primitives/Icon/Icon.stories.js.map +1 -1
- package/build/primitives/Icon/__tests__/__snapshots__/Icon.test.js.snap +33 -52
- package/build/primitives/Switch/Switch.module.css +7 -0
- package/build/theme/default.theme.css +15 -7
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ var _InputOption = require("./InputOption.constants");
|
|
|
17
17
|
|
|
18
18
|
var _InputOptionModule = _interopRequireDefault(require("./InputOption.module.css"));
|
|
19
19
|
|
|
20
|
-
var _excluded = ["checked", "disabled", "label", "name", "reverse", "type", "value", "onChange"];
|
|
20
|
+
var _excluded = ["checked", "disabled", "indeterminate", "label", "name", "reverse", "type", "value", "onChange"];
|
|
21
21
|
|
|
22
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
23
|
|
|
@@ -30,6 +30,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
30
30
|
var InputOption = function InputOption(_ref) {
|
|
31
31
|
var checked = _ref.checked,
|
|
32
32
|
disabled = _ref.disabled,
|
|
33
|
+
indeterminate = _ref.indeterminate,
|
|
33
34
|
label = _ref.label,
|
|
34
35
|
name = _ref.name,
|
|
35
36
|
reverse = _ref.reverse,
|
|
@@ -52,13 +53,13 @@ var InputOption = function InputOption(_ref) {
|
|
|
52
53
|
className: (0, _helpers.styles)(_InputOptionModule.default.inputOption, reverse && _InputOptionModule.default.reverse, others.className),
|
|
53
54
|
onPress: handleChange
|
|
54
55
|
}), /*#__PURE__*/_react.default.createElement(Primitive, {
|
|
55
|
-
checked: checked,
|
|
56
|
+
checked: checked || type === _InputOption.CHECKBOX && indeterminate,
|
|
56
57
|
disabled: disabled,
|
|
57
58
|
name: name,
|
|
58
59
|
type: type,
|
|
59
60
|
value: value
|
|
60
|
-
}, type === _InputOption.CHECKBOX && checked ? /*#__PURE__*/_react.default.createElement(_primitives.Icon, {
|
|
61
|
-
name:
|
|
61
|
+
}, type === _InputOption.CHECKBOX && (checked || indeterminate) ? /*#__PURE__*/_react.default.createElement(_primitives.Icon, {
|
|
62
|
+
name: checked ? 'Check' : 'Remove',
|
|
62
63
|
className: _InputOptionModule.default.icon
|
|
63
64
|
}) : undefined), label && /*#__PURE__*/_react.default.createElement(_primitives.Text, {
|
|
64
65
|
className: (0, _helpers.styles)(_InputOptionModule.default.label, disabled && _InputOptionModule.default.disabled)
|
|
@@ -70,6 +71,7 @@ InputOption.displayName = 'Component:InputOption';
|
|
|
70
71
|
InputOption.propTypes = {
|
|
71
72
|
checked: _propTypes.default.bool,
|
|
72
73
|
disabled: _propTypes.default.bool,
|
|
74
|
+
indeterminate: _propTypes.default.bool,
|
|
73
75
|
label: _propTypes.default.string,
|
|
74
76
|
name: _propTypes.default.string.isRequired,
|
|
75
77
|
reverse: _propTypes.default.bool,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputOption.js","names":["InputOption","checked","disabled","label","name","reverse","type","CHECKBOX","value","onChange","others","Primitive","Checkbox","RADIO","Radio","Switch","handleChange","event","SWITCH","includes","style","inputOption","className","icon","undefined","displayName","propTypes","PropTypes","bool","string","isRequired","oneOf","func"],"sources":["../../../src/components/InputOption/InputOption.jsx"],"sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { styles } from '../../helpers';\nimport { Checkbox, Icon, Pressable, Radio, Switch, Text } from '../../primitives';\nimport { CHECKBOX, RADIO, SWITCH } from './InputOption.constants';\nimport style from './InputOption.module.css';\n\nconst InputOption = ({\n checked,\n disabled,\n label,\n name,\n reverse,\n type = CHECKBOX,\n value = '',\n onChange = () => {},\n ...others\n}) => {\n const Primitive = type === CHECKBOX ? Checkbox : type === RADIO ? Radio : Switch;\n\n const handleChange = (event) => {\n onChange([CHECKBOX, SWITCH].includes(type) ? !checked : value, event);\n };\n\n return (\n <Pressable\n {...others}\n type=\"button\"\n className={styles(style.inputOption, reverse && style.reverse, others.className)}\n onPress={handleChange}\n >\n <Primitive
|
|
1
|
+
{"version":3,"file":"InputOption.js","names":["InputOption","checked","disabled","indeterminate","label","name","reverse","type","CHECKBOX","value","onChange","others","Primitive","Checkbox","RADIO","Radio","Switch","handleChange","event","SWITCH","includes","style","inputOption","className","icon","undefined","displayName","propTypes","PropTypes","bool","string","isRequired","oneOf","func"],"sources":["../../../src/components/InputOption/InputOption.jsx"],"sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { styles } from '../../helpers';\nimport { Checkbox, Icon, Pressable, Radio, Switch, Text } from '../../primitives';\nimport { CHECKBOX, RADIO, SWITCH } from './InputOption.constants';\nimport style from './InputOption.module.css';\n\nconst InputOption = ({\n checked,\n disabled,\n indeterminate,\n label,\n name,\n reverse,\n type = CHECKBOX,\n value = '',\n onChange = () => {},\n ...others\n}) => {\n const Primitive = type === CHECKBOX ? Checkbox : type === RADIO ? Radio : Switch;\n\n const handleChange = (event) => {\n onChange([CHECKBOX, SWITCH].includes(type) ? !checked : value, event);\n };\n\n return (\n <Pressable\n {...others}\n type=\"button\"\n className={styles(style.inputOption, reverse && style.reverse, others.className)}\n onPress={handleChange}\n >\n <Primitive\n checked={checked || (type === CHECKBOX && indeterminate)}\n disabled={disabled}\n name={name}\n type={type}\n value={value}\n >\n {type === CHECKBOX && (checked || indeterminate) ? (\n <Icon name={checked ? 'Check' : 'Remove'} className={style.icon} />\n ) : undefined}\n </Primitive>\n {label && <Text className={styles(style.label, disabled && style.disabled)}>{label}</Text>}\n </Pressable>\n );\n};\n\nInputOption.displayName = 'Component:InputOption';\n\nInputOption.propTypes = {\n checked: PropTypes.bool,\n disabled: PropTypes.bool,\n indeterminate: PropTypes.bool,\n label: PropTypes.string,\n name: PropTypes.string.isRequired,\n reverse: PropTypes.bool,\n type: PropTypes.oneOf([CHECKBOX, RADIO, SWITCH]),\n value: PropTypes.string,\n onChange: PropTypes.func,\n};\n\nexport { InputOption };\n"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;AACA;;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C,gBAAD;IAAM,IAAI,EAAEF,OAAO,GAAG,OAAH,GAAa,QAAhC;IAA0C,SAAS,EAAEoB,2BAAMG;EAA3D,EADD,GAEGC,SATN,CANF,EAiBGrB,KAAK,iBAAI,6BAAC,gBAAD;IAAM,SAAS,EAAE,qBAAOiB,2BAAMjB,KAAb,EAAoBF,QAAQ,IAAImB,2BAAMnB,QAAtC;EAAjB,GAAmEE,KAAnE,CAjBZ,CADF;AAqBD,CAvCD;;;AAyCAJ,WAAW,CAAC0B,WAAZ,GAA0B,uBAA1B;AAEA1B,WAAW,CAAC2B,SAAZ,GAAwB;EACtB1B,OAAO,EAAE2B,mBAAUC,IADG;EAEtB3B,QAAQ,EAAE0B,mBAAUC,IAFE;EAGtB1B,aAAa,EAAEyB,mBAAUC,IAHH;EAItBzB,KAAK,EAAEwB,mBAAUE,MAJK;EAKtBzB,IAAI,EAAEuB,mBAAUE,MAAV,CAAiBC,UALD;EAMtBzB,OAAO,EAAEsB,mBAAUC,IANG;EAOtBtB,IAAI,EAAEqB,mBAAUI,KAAV,CAAgB,CAACxB,qBAAD,EAAWM,kBAAX,EAAkBK,mBAAlB,CAAhB,CAPgB;EAQtBV,KAAK,EAAEmB,mBAAUE,MARK;EAStBpB,QAAQ,EAAEkB,mBAAUK;AATE,CAAxB"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
.icon {
|
|
10
10
|
color: var(--mirai-ui-base);
|
|
11
11
|
left: 0;
|
|
12
|
-
margin: calc(calc(var(--mirai-ui-checkbox-size) - var(--mirai-ui-
|
|
12
|
+
margin: calc(calc(var(--mirai-ui-checkbox-size) - var(--mirai-ui-input-text-icon)) / 2);
|
|
13
13
|
position: absolute;
|
|
14
14
|
top: 0;
|
|
15
15
|
}
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
.label.disabled {
|
|
22
22
|
color: var(--mirai-ui-input-option-disabled);
|
|
23
|
+
cursor: default;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
.reverse {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputOption.stories.js","names":["title","Story","props","storyName","args","checked","disabled","label","name","reverse","type","value","onChange","console","log","argTypes","options","CHECKBOX","RADIO","SWITCH","control","defaultValue"],"sources":["../../../src/components/InputOption/InputOption.stories.jsx"],"sourcesContent":["import * as React from 'react';\n\nimport { InputOption } from './InputOption';\nimport { CHECKBOX, RADIO, SWITCH } from './InputOption.constants';\n\nexport default { title: 'Components' };\n\nexport const Story = (props) => <InputOption {...props} />;\n\nStory.storyName = 'InputOption';\n\nStory.args = {\n checked: true,\n disabled: false,\n label: 'label',\n name: 'name',\n reverse: false,\n type: 'checkbox',\n value: 'value',\n onChange: (...props) => console.log('<InputOption>::onChange', ...props),\n};\n\nStory.argTypes = {\n type: {\n options: [CHECKBOX, RADIO, SWITCH],\n control: { type: 'select' },\n defaultValue: CHECKBOX,\n },\n};\n"],"mappings":";;;;;;;;;AAAA;;AAEA;;AACA;;;;;;eAEe;EAAEA,KAAK,EAAE;AAAT,C;;;AAER,IAAMC,KAAK,GAAG,SAARA,KAAQ,CAACC,KAAD;EAAA,oBAAW,oBAAC,wBAAD,EAAiBA,KAAjB,CAAX;AAAA,CAAd;;;AAEPD,KAAK,CAACE,SAAN,GAAkB,aAAlB;AAEAF,KAAK,CAACG,IAAN,GAAa;EACXC,OAAO,EAAE,IADE;EAEXC,QAAQ,EAAE,KAFC;EAGXC,
|
|
1
|
+
{"version":3,"file":"InputOption.stories.js","names":["title","Story","props","storyName","args","checked","disabled","indeterminate","label","name","reverse","type","value","onChange","console","log","argTypes","options","CHECKBOX","RADIO","SWITCH","control","defaultValue"],"sources":["../../../src/components/InputOption/InputOption.stories.jsx"],"sourcesContent":["import * as React from 'react';\n\nimport { InputOption } from './InputOption';\nimport { CHECKBOX, RADIO, SWITCH } from './InputOption.constants';\n\nexport default { title: 'Components' };\n\nexport const Story = (props) => <InputOption {...props} />;\n\nStory.storyName = 'InputOption';\n\nStory.args = {\n checked: true,\n disabled: false,\n indeterminate: false,\n label: 'label',\n name: 'name',\n reverse: false,\n type: 'checkbox',\n value: 'value',\n onChange: (...props) => console.log('<InputOption>::onChange', ...props),\n};\n\nStory.argTypes = {\n type: {\n options: [CHECKBOX, RADIO, SWITCH],\n control: { type: 'select' },\n defaultValue: CHECKBOX,\n },\n};\n"],"mappings":";;;;;;;;;AAAA;;AAEA;;AACA;;;;;;eAEe;EAAEA,KAAK,EAAE;AAAT,C;;;AAER,IAAMC,KAAK,GAAG,SAARA,KAAQ,CAACC,KAAD;EAAA,oBAAW,oBAAC,wBAAD,EAAiBA,KAAjB,CAAX;AAAA,CAAd;;;AAEPD,KAAK,CAACE,SAAN,GAAkB,aAAlB;AAEAF,KAAK,CAACG,IAAN,GAAa;EACXC,OAAO,EAAE,IADE;EAEXC,QAAQ,EAAE,KAFC;EAGXC,aAAa,EAAE,KAHJ;EAIXC,KAAK,EAAE,OAJI;EAKXC,IAAI,EAAE,MALK;EAMXC,OAAO,EAAE,KANE;EAOXC,IAAI,EAAE,UAPK;EAQXC,KAAK,EAAE,OARI;EASXC,QAAQ,EAAE;IAAA;;IAAA,kCAAIX,KAAJ;MAAIA,KAAJ;IAAA;;IAAA,OAAc,YAAAY,OAAO,EAACC,GAAR,kBAAY,yBAAZ,SAA0Cb,KAA1C,EAAd;EAAA;AATC,CAAb;AAYAD,KAAK,CAACe,QAAN,GAAiB;EACfL,IAAI,EAAE;IACJM,OAAO,EAAE,CAACC,sBAAD,EAAWC,mBAAX,EAAkBC,oBAAlB,CADL;IAEJC,OAAO,EAAE;MAAEV,IAAI,EAAE;IAAR,CAFL;IAGJW,YAAY,EAAEJ;EAHV;AADS,CAAjB"}
|
|
@@ -38,21 +38,23 @@ exports[`primitive:<InputOption> prop:checked && disabled 1`] = `
|
|
|
38
38
|
value=""
|
|
39
39
|
/>
|
|
40
40
|
<span
|
|
41
|
-
class="icon
|
|
41
|
+
class="icon headline-3 icon"
|
|
42
42
|
>
|
|
43
43
|
<svg
|
|
44
|
-
fill="
|
|
44
|
+
fill="currentColor"
|
|
45
45
|
height="1em"
|
|
46
46
|
stroke="currentColor"
|
|
47
|
-
stroke-
|
|
48
|
-
stroke-linejoin="round"
|
|
49
|
-
stroke-width="2"
|
|
47
|
+
stroke-width="0"
|
|
50
48
|
viewBox="0 0 24 24"
|
|
51
49
|
width="1em"
|
|
52
50
|
xmlns="http://www.w3.org/2000/svg"
|
|
53
51
|
>
|
|
54
|
-
<
|
|
55
|
-
|
|
52
|
+
<path
|
|
53
|
+
d="M0 0h24v24H0V0z"
|
|
54
|
+
fill="none"
|
|
55
|
+
/>
|
|
56
|
+
<path
|
|
57
|
+
d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"
|
|
56
58
|
/>
|
|
57
59
|
</svg>
|
|
58
60
|
</span>
|
|
@@ -78,21 +80,23 @@ exports[`primitive:<InputOption> prop:checked 1`] = `
|
|
|
78
80
|
value=""
|
|
79
81
|
/>
|
|
80
82
|
<span
|
|
81
|
-
class="icon
|
|
83
|
+
class="icon headline-3 icon"
|
|
82
84
|
>
|
|
83
85
|
<svg
|
|
84
|
-
fill="
|
|
86
|
+
fill="currentColor"
|
|
85
87
|
height="1em"
|
|
86
88
|
stroke="currentColor"
|
|
87
|
-
stroke-
|
|
88
|
-
stroke-linejoin="round"
|
|
89
|
-
stroke-width="2"
|
|
89
|
+
stroke-width="0"
|
|
90
90
|
viewBox="0 0 24 24"
|
|
91
91
|
width="1em"
|
|
92
92
|
xmlns="http://www.w3.org/2000/svg"
|
|
93
93
|
>
|
|
94
|
-
<
|
|
95
|
-
|
|
94
|
+
<path
|
|
95
|
+
d="M0 0h24v24H0V0z"
|
|
96
|
+
fill="none"
|
|
97
|
+
/>
|
|
98
|
+
<path
|
|
99
|
+
d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"
|
|
96
100
|
/>
|
|
97
101
|
</svg>
|
|
98
102
|
</span>
|
|
@@ -122,6 +126,91 @@ exports[`primitive:<InputOption> prop:disabled 1`] = `
|
|
|
122
126
|
</DocumentFragment>
|
|
123
127
|
`;
|
|
124
128
|
|
|
129
|
+
exports[`primitive:<InputOption> prop:indeterminate && disabled 1`] = `
|
|
130
|
+
<DocumentFragment>
|
|
131
|
+
<button
|
|
132
|
+
class="pressable inputOption"
|
|
133
|
+
type="button"
|
|
134
|
+
>
|
|
135
|
+
<div
|
|
136
|
+
class="checkbox"
|
|
137
|
+
>
|
|
138
|
+
<input
|
|
139
|
+
checked=""
|
|
140
|
+
class="checked"
|
|
141
|
+
disabled=""
|
|
142
|
+
name="name"
|
|
143
|
+
type="checkbox"
|
|
144
|
+
value=""
|
|
145
|
+
/>
|
|
146
|
+
<span
|
|
147
|
+
class="icon headline-3 icon"
|
|
148
|
+
>
|
|
149
|
+
<svg
|
|
150
|
+
fill="currentColor"
|
|
151
|
+
height="1em"
|
|
152
|
+
stroke="currentColor"
|
|
153
|
+
stroke-width="0"
|
|
154
|
+
viewBox="0 0 24 24"
|
|
155
|
+
width="1em"
|
|
156
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
157
|
+
>
|
|
158
|
+
<path
|
|
159
|
+
d="M0 0h24v24H0V0z"
|
|
160
|
+
fill="none"
|
|
161
|
+
/>
|
|
162
|
+
<path
|
|
163
|
+
d="M19 13H5v-2h14v2z"
|
|
164
|
+
/>
|
|
165
|
+
</svg>
|
|
166
|
+
</span>
|
|
167
|
+
</div>
|
|
168
|
+
</button>
|
|
169
|
+
</DocumentFragment>
|
|
170
|
+
`;
|
|
171
|
+
|
|
172
|
+
exports[`primitive:<InputOption> prop:indeterminate 1`] = `
|
|
173
|
+
<DocumentFragment>
|
|
174
|
+
<button
|
|
175
|
+
class="pressable inputOption"
|
|
176
|
+
type="button"
|
|
177
|
+
>
|
|
178
|
+
<div
|
|
179
|
+
class="checkbox"
|
|
180
|
+
>
|
|
181
|
+
<input
|
|
182
|
+
checked=""
|
|
183
|
+
class="checked"
|
|
184
|
+
name="name"
|
|
185
|
+
type="checkbox"
|
|
186
|
+
value=""
|
|
187
|
+
/>
|
|
188
|
+
<span
|
|
189
|
+
class="icon headline-3 icon"
|
|
190
|
+
>
|
|
191
|
+
<svg
|
|
192
|
+
fill="currentColor"
|
|
193
|
+
height="1em"
|
|
194
|
+
stroke="currentColor"
|
|
195
|
+
stroke-width="0"
|
|
196
|
+
viewBox="0 0 24 24"
|
|
197
|
+
width="1em"
|
|
198
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
199
|
+
>
|
|
200
|
+
<path
|
|
201
|
+
d="M0 0h24v24H0V0z"
|
|
202
|
+
fill="none"
|
|
203
|
+
/>
|
|
204
|
+
<path
|
|
205
|
+
d="M19 13H5v-2h14v2z"
|
|
206
|
+
/>
|
|
207
|
+
</svg>
|
|
208
|
+
</span>
|
|
209
|
+
</div>
|
|
210
|
+
</button>
|
|
211
|
+
</DocumentFragment>
|
|
212
|
+
`;
|
|
213
|
+
|
|
125
214
|
exports[`primitive:<InputOption> prop:label 1`] = `
|
|
126
215
|
<DocumentFragment>
|
|
127
216
|
<button
|
|
@@ -106,7 +106,7 @@ var InputSelect = function InputSelect(_ref) {
|
|
|
106
106
|
error: error,
|
|
107
107
|
success: success,
|
|
108
108
|
warning: warning
|
|
109
|
-
}) : '
|
|
109
|
+
}) : 'ExpandMore',
|
|
110
110
|
className: (0, _helpers.styles)(_InputTextModule.default.icon, _InputTextModule.default.right, error ? _InputTextModule.default.error : warning ? _InputTextModule.default.warning : success ? _InputTextModule.default.success : undefined)
|
|
111
111
|
})), hint && /*#__PURE__*/_react.default.createElement(_primitives.Text, {
|
|
112
112
|
small: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputSelect.js","names":["InputSelect","disabled","error","hint","label","success","warning","onChange","onEnter","onLeave","others","focus","setFocus","handleChange","value","event","target","blur","handleEnter","handleLeave","has","undefined","length","style","inputContainer","className","text","inputBorder","input","iconRight","empty","icon","right","displayName","propTypes","PropTypes","bool","string","name","isRequired","func"],"sources":["../../../src/components/InputSelect/InputSelect.jsx"],"sourcesContent":["import PropTypes from 'prop-types';\nimport React, { useState } from 'react';\n\nimport { getIconName, styles } from '../../helpers';\nimport { Icon, Select, Text, View } from '../../primitives';\nimport style from '../InputText/InputText.module.css';\n\nconst InputSelect = ({\n disabled,\n error,\n hint,\n label,\n success,\n warning,\n onChange = () => {},\n onEnter = () => {},\n onLeave = () => {},\n ...others\n}) => {\n const [focus, setFocus] = useState(false);\n\n const handleChange = (value, event) => {\n onChange(value, event);\n event.target?.blur();\n };\n\n const handleEnter = (event) => {\n setFocus(true);\n onEnter(event);\n };\n\n const handleLeave = (event) => {\n setFocus(false);\n onLeave(event);\n };\n\n const has = {\n value: others.value !== undefined && others.value?.length > 0,\n };\n\n return (\n <View className={styles(style.inputContainer, others.className)} style={others.style}>\n {label && (\n <Text\n className={styles(\n style.text,\n style.label,\n disabled && style.disabled,\n error && style.error,\n focus && style.focus,\n (focus || error || has.value) && style.value,\n )}\n >\n {label}\n </Text>\n )}\n\n <View\n row\n className={styles(\n style.inputBorder,\n disabled && style.disabled,\n focus && !error && style.focus,\n error && style.error,\n )}\n >\n <Select\n {...others}\n disabled={disabled}\n value={others.value || ''}\n className={styles(style.input, style.iconRight, !!label && !(focus || error || has.value) && style.empty)}\n style={undefined}\n onChange={handleChange}\n onEnter={handleEnter}\n onLeave={handleLeave}\n />\n {!disabled && (\n <Icon\n name={!focus && (error || success || warning) ? getIconName({ error, success, warning }) : '
|
|
1
|
+
{"version":3,"file":"InputSelect.js","names":["InputSelect","disabled","error","hint","label","success","warning","onChange","onEnter","onLeave","others","focus","setFocus","handleChange","value","event","target","blur","handleEnter","handleLeave","has","undefined","length","style","inputContainer","className","text","inputBorder","input","iconRight","empty","icon","right","displayName","propTypes","PropTypes","bool","string","name","isRequired","func"],"sources":["../../../src/components/InputSelect/InputSelect.jsx"],"sourcesContent":["import PropTypes from 'prop-types';\nimport React, { useState } from 'react';\n\nimport { getIconName, styles } from '../../helpers';\nimport { Icon, Select, Text, View } from '../../primitives';\nimport style from '../InputText/InputText.module.css';\n\nconst InputSelect = ({\n disabled,\n error,\n hint,\n label,\n success,\n warning,\n onChange = () => {},\n onEnter = () => {},\n onLeave = () => {},\n ...others\n}) => {\n const [focus, setFocus] = useState(false);\n\n const handleChange = (value, event) => {\n onChange(value, event);\n event.target?.blur();\n };\n\n const handleEnter = (event) => {\n setFocus(true);\n onEnter(event);\n };\n\n const handleLeave = (event) => {\n setFocus(false);\n onLeave(event);\n };\n\n const has = {\n value: others.value !== undefined && others.value?.length > 0,\n };\n\n return (\n <View className={styles(style.inputContainer, others.className)} style={others.style}>\n {label && (\n <Text\n className={styles(\n style.text,\n style.label,\n disabled && style.disabled,\n error && style.error,\n focus && style.focus,\n (focus || error || has.value) && style.value,\n )}\n >\n {label}\n </Text>\n )}\n\n <View\n row\n className={styles(\n style.inputBorder,\n disabled && style.disabled,\n focus && !error && style.focus,\n error && style.error,\n )}\n >\n <Select\n {...others}\n disabled={disabled}\n value={others.value || ''}\n className={styles(style.input, style.iconRight, !!label && !(focus || error || has.value) && style.empty)}\n style={undefined}\n onChange={handleChange}\n onEnter={handleEnter}\n onLeave={handleLeave}\n />\n {!disabled && (\n <Icon\n name={!focus && (error || success || warning) ? getIconName({ error, success, warning }) : 'ExpandMore'}\n className={styles(\n style.icon,\n style.right,\n error ? style.error : warning ? style.warning : success ? style.success : undefined,\n )}\n />\n )}\n </View>\n\n {hint && (\n <Text small className={styles(style.text, style.hint, disabled && style.disabled, error && style.error)}>\n {hint}\n </Text>\n )}\n </View>\n );\n};\n\nInputSelect.displayName = 'Component:InputSelect';\n\nInputSelect.propTypes = {\n disabled: PropTypes.bool,\n error: PropTypes.bool,\n hint: PropTypes.string,\n label: PropTypes.string,\n name: PropTypes.string.isRequired,\n success: PropTypes.bool,\n warning: PropTypes.bool,\n onChange: PropTypes.func,\n onEnter: PropTypes.func,\n onLeave: PropTypes.func,\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AAPA,OAAT;MAAkBC,OAAO,EAAPA;IAAlB,CAAZ,CAA1C,GAAqF,YAD7F;IAEE,SAAS,EAAE,qBACTiB,yBAAMQ,IADG,EAETR,yBAAMS,KAFG,EAGT9B,KAAK,GAAGqB,yBAAMrB,KAAT,GAAiBI,OAAO,GAAGiB,yBAAMjB,OAAT,GAAmBD,OAAO,GAAGkB,yBAAMlB,OAAT,GAAmBgB,SAHjE;EAFb,EApBJ,CAhBF,EA+CGlB,IAAI,iBACH,6BAAC,gBAAD;IAAM,KAAK,MAAX;IAAY,SAAS,EAAE,qBAAOoB,yBAAMG,IAAb,EAAmBH,yBAAMpB,IAAzB,EAA+BF,QAAQ,IAAIsB,yBAAMtB,QAAjD,EAA2DC,KAAK,IAAIqB,yBAAMrB,KAA1E;EAAvB,GACGC,IADH,CAhDJ,CADF;AAuDD,CAxFD;;;AA0FAH,WAAW,CAACiC,WAAZ,GAA0B,uBAA1B;AAEAjC,WAAW,CAACkC,SAAZ,GAAwB;EACtBjC,QAAQ,EAAEkC,mBAAUC,IADE;EAEtBlC,KAAK,EAAEiC,mBAAUC,IAFK;EAGtBjC,IAAI,EAAEgC,mBAAUE,MAHM;EAItBjC,KAAK,EAAE+B,mBAAUE,MAJK;EAKtBC,IAAI,EAAEH,mBAAUE,MAAV,CAAiBE,UALD;EAMtBlC,OAAO,EAAE8B,mBAAUC,IANG;EAOtB9B,OAAO,EAAE6B,mBAAUC,IAPG;EAQtB7B,QAAQ,EAAE4B,mBAAUK,IARE;EAStBhC,OAAO,EAAE2B,mBAAUK,IATG;EAUtB/B,OAAO,EAAE0B,mBAAUK;AAVG,CAAxB"}
|
|
@@ -39,21 +39,24 @@ exports[`component:<InputSelect> inherit:className 1`] = `
|
|
|
39
39
|
</option>
|
|
40
40
|
</select>
|
|
41
41
|
<span
|
|
42
|
-
class="icon
|
|
42
|
+
class="icon headline-3 icon right"
|
|
43
43
|
>
|
|
44
44
|
<svg
|
|
45
|
-
fill="
|
|
45
|
+
fill="currentColor"
|
|
46
46
|
height="1em"
|
|
47
47
|
stroke="currentColor"
|
|
48
|
-
stroke-
|
|
49
|
-
stroke-linejoin="round"
|
|
50
|
-
stroke-width="2"
|
|
48
|
+
stroke-width="0"
|
|
51
49
|
viewBox="0 0 24 24"
|
|
52
50
|
width="1em"
|
|
53
51
|
xmlns="http://www.w3.org/2000/svg"
|
|
54
52
|
>
|
|
55
|
-
<
|
|
56
|
-
|
|
53
|
+
<path
|
|
54
|
+
d="M24 24H0V0h24v24z"
|
|
55
|
+
fill="none"
|
|
56
|
+
opacity=".87"
|
|
57
|
+
/>
|
|
58
|
+
<path
|
|
59
|
+
d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
57
60
|
/>
|
|
58
61
|
</svg>
|
|
59
62
|
</span>
|
|
@@ -145,21 +148,24 @@ exports[`component:<InputSelect> prop:error 1`] = `
|
|
|
145
148
|
</option>
|
|
146
149
|
</select>
|
|
147
150
|
<span
|
|
148
|
-
class="icon
|
|
151
|
+
class="icon headline-3 icon right"
|
|
149
152
|
>
|
|
150
153
|
<svg
|
|
151
|
-
fill="
|
|
154
|
+
fill="currentColor"
|
|
152
155
|
height="1em"
|
|
153
156
|
stroke="currentColor"
|
|
154
|
-
stroke-
|
|
155
|
-
stroke-linejoin="round"
|
|
156
|
-
stroke-width="2"
|
|
157
|
+
stroke-width="0"
|
|
157
158
|
viewBox="0 0 24 24"
|
|
158
159
|
width="1em"
|
|
159
160
|
xmlns="http://www.w3.org/2000/svg"
|
|
160
161
|
>
|
|
161
|
-
<
|
|
162
|
-
|
|
162
|
+
<path
|
|
163
|
+
d="M24 24H0V0h24v24z"
|
|
164
|
+
fill="none"
|
|
165
|
+
opacity=".87"
|
|
166
|
+
/>
|
|
167
|
+
<path
|
|
168
|
+
d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
163
169
|
/>
|
|
164
170
|
</svg>
|
|
165
171
|
</span>
|
|
@@ -207,21 +213,24 @@ exports[`component:<InputSelect> prop:hint 1`] = `
|
|
|
207
213
|
</option>
|
|
208
214
|
</select>
|
|
209
215
|
<span
|
|
210
|
-
class="icon
|
|
216
|
+
class="icon headline-3 icon right"
|
|
211
217
|
>
|
|
212
218
|
<svg
|
|
213
|
-
fill="
|
|
219
|
+
fill="currentColor"
|
|
214
220
|
height="1em"
|
|
215
221
|
stroke="currentColor"
|
|
216
|
-
stroke-
|
|
217
|
-
stroke-linejoin="round"
|
|
218
|
-
stroke-width="2"
|
|
222
|
+
stroke-width="0"
|
|
219
223
|
viewBox="0 0 24 24"
|
|
220
224
|
width="1em"
|
|
221
225
|
xmlns="http://www.w3.org/2000/svg"
|
|
222
226
|
>
|
|
223
|
-
<
|
|
224
|
-
|
|
227
|
+
<path
|
|
228
|
+
d="M24 24H0V0h24v24z"
|
|
229
|
+
fill="none"
|
|
230
|
+
opacity=".87"
|
|
231
|
+
/>
|
|
232
|
+
<path
|
|
233
|
+
d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
225
234
|
/>
|
|
226
235
|
</svg>
|
|
227
236
|
</span>
|
|
@@ -279,21 +288,24 @@ exports[`component:<InputSelect> prop:label 1`] = `
|
|
|
279
288
|
</option>
|
|
280
289
|
</select>
|
|
281
290
|
<span
|
|
282
|
-
class="icon
|
|
291
|
+
class="icon headline-3 icon right"
|
|
283
292
|
>
|
|
284
293
|
<svg
|
|
285
|
-
fill="
|
|
294
|
+
fill="currentColor"
|
|
286
295
|
height="1em"
|
|
287
296
|
stroke="currentColor"
|
|
288
|
-
stroke-
|
|
289
|
-
stroke-linejoin="round"
|
|
290
|
-
stroke-width="2"
|
|
297
|
+
stroke-width="0"
|
|
291
298
|
viewBox="0 0 24 24"
|
|
292
299
|
width="1em"
|
|
293
300
|
xmlns="http://www.w3.org/2000/svg"
|
|
294
301
|
>
|
|
295
|
-
<
|
|
296
|
-
|
|
302
|
+
<path
|
|
303
|
+
d="M24 24H0V0h24v24z"
|
|
304
|
+
fill="none"
|
|
305
|
+
opacity=".87"
|
|
306
|
+
/>
|
|
307
|
+
<path
|
|
308
|
+
d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
297
309
|
/>
|
|
298
310
|
</svg>
|
|
299
311
|
</span>
|
|
@@ -341,21 +353,24 @@ exports[`component:<InputSelect> prop:label 2`] = `
|
|
|
341
353
|
</option>
|
|
342
354
|
</select>
|
|
343
355
|
<span
|
|
344
|
-
class="icon
|
|
356
|
+
class="icon headline-3 icon right"
|
|
345
357
|
>
|
|
346
358
|
<svg
|
|
347
|
-
fill="
|
|
359
|
+
fill="currentColor"
|
|
348
360
|
height="1em"
|
|
349
361
|
stroke="currentColor"
|
|
350
|
-
stroke-
|
|
351
|
-
stroke-linejoin="round"
|
|
352
|
-
stroke-width="2"
|
|
362
|
+
stroke-width="0"
|
|
353
363
|
viewBox="0 0 24 24"
|
|
354
364
|
width="1em"
|
|
355
365
|
xmlns="http://www.w3.org/2000/svg"
|
|
356
366
|
>
|
|
357
|
-
<
|
|
358
|
-
|
|
367
|
+
<path
|
|
368
|
+
d="M24 24H0V0h24v24z"
|
|
369
|
+
fill="none"
|
|
370
|
+
opacity=".87"
|
|
371
|
+
/>
|
|
372
|
+
<path
|
|
373
|
+
d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
359
374
|
/>
|
|
360
375
|
</svg>
|
|
361
376
|
</span>
|
|
@@ -447,7 +462,7 @@ exports[`component:<InputSelect> prop:warning 1`] = `
|
|
|
447
462
|
</option>
|
|
448
463
|
</select>
|
|
449
464
|
<span
|
|
450
|
-
class="icon
|
|
465
|
+
class="icon headline-3 icon right warning"
|
|
451
466
|
>
|
|
452
467
|
<svg
|
|
453
468
|
fill="currentColor"
|
|
@@ -458,10 +473,6 @@ exports[`component:<InputSelect> prop:warning 1`] = `
|
|
|
458
473
|
width="1em"
|
|
459
474
|
xmlns="http://www.w3.org/2000/svg"
|
|
460
475
|
>
|
|
461
|
-
<path
|
|
462
|
-
d="M0 0h24v24H0z"
|
|
463
|
-
fill="none"
|
|
464
|
-
/>
|
|
465
476
|
<path
|
|
466
477
|
d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"
|
|
467
478
|
/>
|
|
@@ -511,21 +522,24 @@ exports[`component:<InputSelect> renders 1`] = `
|
|
|
511
522
|
</option>
|
|
512
523
|
</select>
|
|
513
524
|
<span
|
|
514
|
-
class="icon
|
|
525
|
+
class="icon headline-3 icon right"
|
|
515
526
|
>
|
|
516
527
|
<svg
|
|
517
|
-
fill="
|
|
528
|
+
fill="currentColor"
|
|
518
529
|
height="1em"
|
|
519
530
|
stroke="currentColor"
|
|
520
|
-
stroke-
|
|
521
|
-
stroke-linejoin="round"
|
|
522
|
-
stroke-width="2"
|
|
531
|
+
stroke-width="0"
|
|
523
532
|
viewBox="0 0 24 24"
|
|
524
533
|
width="1em"
|
|
525
534
|
xmlns="http://www.w3.org/2000/svg"
|
|
526
535
|
>
|
|
527
|
-
<
|
|
528
|
-
|
|
536
|
+
<path
|
|
537
|
+
d="M24 24H0V0h24v24z"
|
|
538
|
+
fill="none"
|
|
539
|
+
opacity=".87"
|
|
540
|
+
/>
|
|
541
|
+
<path
|
|
542
|
+
d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
529
543
|
/>
|
|
530
544
|
</svg>
|
|
531
545
|
</span>
|
|
@@ -574,21 +588,24 @@ exports[`component:<InputSelect> testID 1`] = `
|
|
|
574
588
|
</option>
|
|
575
589
|
</select>
|
|
576
590
|
<span
|
|
577
|
-
class="icon
|
|
591
|
+
class="icon headline-3 icon right"
|
|
578
592
|
>
|
|
579
593
|
<svg
|
|
580
|
-
fill="
|
|
594
|
+
fill="currentColor"
|
|
581
595
|
height="1em"
|
|
582
596
|
stroke="currentColor"
|
|
583
|
-
stroke-
|
|
584
|
-
stroke-linejoin="round"
|
|
585
|
-
stroke-width="2"
|
|
597
|
+
stroke-width="0"
|
|
586
598
|
viewBox="0 0 24 24"
|
|
587
599
|
width="1em"
|
|
588
600
|
xmlns="http://www.w3.org/2000/svg"
|
|
589
601
|
>
|
|
590
|
-
<
|
|
591
|
-
|
|
602
|
+
<path
|
|
603
|
+
d="M24 24H0V0h24v24z"
|
|
604
|
+
fill="none"
|
|
605
|
+
opacity=".87"
|
|
606
|
+
/>
|
|
607
|
+
<path
|
|
608
|
+
d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
592
609
|
/>
|
|
593
610
|
</svg>
|
|
594
611
|
</span>
|