@alfalab/core-components-select 19.1.7-alfasans → 19.1.8-alfasans
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/components/arrow/index.css +4 -4
- package/components/arrow/index.module.css.js +1 -1
- package/components/base-checkmark/Component.js +5 -12
- package/components/base-checkmark/Component.js.map +1 -1
- package/components/base-checkmark/index.css +13 -26
- package/components/base-checkmark/index.module.css.js +1 -1
- package/components/base-checkmark/index.module.css.js.map +1 -1
- package/components/base-option/Component.js +7 -1
- package/components/base-option/Component.js.map +1 -1
- package/components/base-option/index.css +14 -14
- package/components/base-option/index.module.css.js +1 -1
- package/components/base-select/index.css +11 -11
- package/components/base-select/index.module.css.js +1 -1
- package/components/base-select/mobile.css +11 -11
- package/components/base-select/mobile.module.css.js +1 -1
- package/components/checkmark/index.css +11 -11
- package/components/checkmark/index.module.css.js +1 -1
- package/components/checkmark-mobile/index.css +6 -6
- package/components/checkmark-mobile/index.module.css.js +1 -1
- package/components/clear-button/index.css +4 -4
- package/components/clear-button/index.module.css.js +1 -1
- package/components/field/index.css +13 -13
- package/components/field/index.module.css.js +1 -1
- package/components/footer/index.css +4 -4
- package/components/footer/index.module.css.js +1 -1
- package/components/optgroup/index.css +4 -4
- package/components/optgroup/index.module.css.js +1 -1
- package/components/option/desktop/index.css +19 -19
- package/components/option/desktop/index.module.css.js +1 -1
- package/components/option/mobile/index.css +16 -16
- package/components/option/mobile/index.module.css.js +1 -1
- package/components/options-list/index.css +13 -13
- package/components/options-list/index.module.css.js +1 -1
- package/components/search/index.css +1 -1
- package/components/search/index.module.css.js +1 -1
- package/components/virtual-options-list/index.css +13 -13
- package/components/virtual-options-list/index.module.css.js +1 -1
- package/cssm/components/base-checkmark/Component.js +5 -12
- package/cssm/components/base-checkmark/Component.js.map +1 -1
- package/cssm/components/base-checkmark/index.module.css +6 -19
- package/cssm/components/base-option/Component.js +7 -1
- package/cssm/components/base-option/Component.js.map +1 -1
- package/cssm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js.map +1 -1
- package/cssm/presets/useSelectWithApply/options-list-with-apply/header/Component.js.map +1 -1
- package/esm/components/arrow/index.css +4 -4
- package/esm/components/arrow/index.module.css.js +1 -1
- package/esm/components/base-checkmark/Component.js +5 -12
- package/esm/components/base-checkmark/Component.js.map +1 -1
- package/esm/components/base-checkmark/index.css +13 -26
- package/esm/components/base-checkmark/index.module.css.js +1 -1
- package/esm/components/base-checkmark/index.module.css.js.map +1 -1
- package/esm/components/base-option/Component.js +7 -1
- package/esm/components/base-option/Component.js.map +1 -1
- package/esm/components/base-option/index.css +14 -14
- package/esm/components/base-option/index.module.css.js +1 -1
- package/esm/components/base-select/index.css +11 -11
- package/esm/components/base-select/index.module.css.js +1 -1
- package/esm/components/base-select/mobile.css +11 -11
- package/esm/components/base-select/mobile.module.css.js +1 -1
- package/esm/components/checkmark/index.css +11 -11
- package/esm/components/checkmark/index.module.css.js +1 -1
- package/esm/components/checkmark-mobile/index.css +6 -6
- package/esm/components/checkmark-mobile/index.module.css.js +1 -1
- package/esm/components/clear-button/index.css +4 -4
- package/esm/components/clear-button/index.module.css.js +1 -1
- package/esm/components/field/index.css +13 -13
- package/esm/components/field/index.module.css.js +1 -1
- package/esm/components/footer/index.css +4 -4
- package/esm/components/footer/index.module.css.js +1 -1
- package/esm/components/optgroup/index.css +4 -4
- package/esm/components/optgroup/index.module.css.js +1 -1
- package/esm/components/option/desktop/index.css +19 -19
- package/esm/components/option/desktop/index.module.css.js +1 -1
- package/esm/components/option/mobile/index.css +16 -16
- package/esm/components/option/mobile/index.module.css.js +1 -1
- package/esm/components/options-list/index.css +13 -13
- package/esm/components/options-list/index.module.css.js +1 -1
- package/esm/components/search/index.css +1 -1
- package/esm/components/search/index.module.css.js +1 -1
- package/esm/components/virtual-options-list/index.css +13 -13
- package/esm/components/virtual-options-list/index.module.css.js +1 -1
- package/esm/mobile/modal.mobile.css +1 -1
- package/esm/mobile/modal.mobile.module.css.js +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js.map +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
- package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css.js +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.js.map +1 -1
- package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +4 -4
- package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.module.css.js +1 -1
- package/esm/presets/useSelectWithLoading/index.css +1 -1
- package/esm/presets/useSelectWithLoading/index.module.css.js +1 -1
- package/mobile/modal.mobile.css +1 -1
- package/mobile/modal.mobile.module.css.js +1 -1
- package/modern/components/arrow/index.css +4 -4
- package/modern/components/arrow/index.module.css.js +1 -1
- package/modern/components/base-checkmark/Component.js +5 -11
- package/modern/components/base-checkmark/Component.js.map +1 -1
- package/modern/components/base-checkmark/index.css +13 -26
- package/modern/components/base-checkmark/index.module.css.js +1 -1
- package/modern/components/base-checkmark/index.module.css.js.map +1 -1
- package/modern/components/base-option/Component.js +5 -1
- package/modern/components/base-option/Component.js.map +1 -1
- package/modern/components/base-option/index.css +14 -14
- package/modern/components/base-option/index.module.css.js +1 -1
- package/modern/components/base-select/index.css +11 -11
- package/modern/components/base-select/index.module.css.js +1 -1
- package/modern/components/base-select/mobile.css +11 -11
- package/modern/components/base-select/mobile.module.css.js +1 -1
- package/modern/components/checkmark/index.css +11 -11
- package/modern/components/checkmark/index.module.css.js +1 -1
- package/modern/components/checkmark-mobile/index.css +6 -6
- package/modern/components/checkmark-mobile/index.module.css.js +1 -1
- package/modern/components/clear-button/index.css +4 -4
- package/modern/components/clear-button/index.module.css.js +1 -1
- package/modern/components/field/index.css +13 -13
- package/modern/components/field/index.module.css.js +1 -1
- package/modern/components/footer/index.css +4 -4
- package/modern/components/footer/index.module.css.js +1 -1
- package/modern/components/optgroup/index.css +4 -4
- package/modern/components/optgroup/index.module.css.js +1 -1
- package/modern/components/option/desktop/index.css +19 -19
- package/modern/components/option/desktop/index.module.css.js +1 -1
- package/modern/components/option/mobile/index.css +16 -16
- package/modern/components/option/mobile/index.module.css.js +1 -1
- package/modern/components/options-list/index.css +13 -13
- package/modern/components/options-list/index.module.css.js +1 -1
- package/modern/components/search/index.css +1 -1
- package/modern/components/search/index.module.css.js +1 -1
- package/modern/components/virtual-options-list/index.css +13 -13
- package/modern/components/virtual-options-list/index.module.css.js +1 -1
- package/modern/mobile/modal.mobile.css +1 -1
- package/modern/mobile/modal.mobile.module.css.js +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.js.map +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
- package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css.js +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.js.map +1 -1
- package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +4 -4
- package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.module.css.js +1 -1
- package/modern/presets/useSelectWithLoading/index.css +1 -1
- package/modern/presets/useSelectWithLoading/index.module.css.js +1 -1
- package/moderncssm/components/base-checkmark/Component.js +5 -11
- package/moderncssm/components/base-checkmark/Component.js.map +1 -1
- package/moderncssm/components/base-checkmark/index.module.css +8 -24
- package/moderncssm/components/base-option/Component.js +5 -1
- package/moderncssm/components/base-option/Component.js.map +1 -1
- package/moderncssm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js.map +1 -1
- package/moderncssm/presets/useSelectWithApply/options-list-with-apply/header/Component.js.map +1 -1
- package/package.json +5 -5
- package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
- package/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css.js +1 -1
- package/presets/useSelectWithApply/options-list-with-apply/header/index.css +4 -4
- package/presets/useSelectWithApply/options-list-with-apply/header/index.module.css.js +1 -1
- package/presets/useSelectWithLoading/index.css +1 -1
- package/presets/useSelectWithLoading/index.module.css.js +1 -1
- package/src/components/base-checkmark/Component.tsx +8 -24
- package/src/components/base-checkmark/index.module.css +6 -21
- package/src/components/base-option/Component.tsx +16 -12
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--select-arrow-color: var(--color-light-neutral-translucent-700);
|
|
10
10
|
--select-arrow-disabled-color: var(--color-light-neutral-translucent-500);
|
|
11
11
|
}
|
|
12
|
-
.
|
|
12
|
+
.select__arrow_li5k5 {
|
|
13
13
|
display: block;
|
|
14
14
|
width: 24px;
|
|
15
15
|
height: 24px;
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
transform 0.15s ease-in-out,
|
|
20
20
|
opacity 0.2s ease;
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.select__arrow_li5k5.select__disabled_li5k5 {
|
|
23
23
|
color: var(--select-arrow-disabled-color);
|
|
24
24
|
}
|
|
25
|
-
.
|
|
25
|
+
.select__arrow_li5k5.select__size-40_li5k5 {
|
|
26
26
|
width: auto;
|
|
27
27
|
width: initial;
|
|
28
28
|
height: auto;
|
|
29
29
|
height: initial;
|
|
30
30
|
}
|
|
31
|
-
.
|
|
31
|
+
.select__open_li5k5 {
|
|
32
32
|
transform: var(--arrow-transform);
|
|
33
33
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"arrow":"
|
|
5
|
+
var styles = {"arrow":"select__arrow_li5k5","disabled":"select__disabled_li5k5","size-40":"select__size-40_li5k5","open":"select__open_li5k5"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -15,19 +15,12 @@ var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
|
15
15
|
|
|
16
16
|
var BaseCheckmark = function (_a) {
|
|
17
17
|
var _b, _c;
|
|
18
|
-
var selected = _a.selected, _d = _a.disabled, disabled = _d === void 0 ? false : _d, className = _a.className, multiple = _a.multiple, _e = _a.align, align = _e === void 0 ? 'center' : _e, _f = _a.position, position = _f === void 0 ? 'before' : _f
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
_a[index_module.selected] = selected,
|
|
23
|
-
_a)) }));
|
|
24
|
-
};
|
|
25
|
-
return multiple ? (React__default.default.createElement(coreComponentsCheckbox.Checkbox, { block: true, checked: selected, disabled: disabled, contentClassName: cn__default.default((_b = {}, _b[index_module.positionAfter] = position === 'after', _b)), className: cn__default.default(index_module.checkmark, index_module[align], className, (_c = {},
|
|
18
|
+
var selected = _a.selected, _d = _a.disabled, disabled = _d === void 0 ? false : _d, className = _a.className, multiple = _a.multiple, _e = _a.align, align = _e === void 0 ? 'center' : _e, _f = _a.position, position = _f === void 0 ? 'before' : _f;
|
|
19
|
+
return multiple ? (React__default.default.createElement(coreComponentsCheckbox.Checkbox, { checked: selected, disabled: disabled, className: cn__default.default(index_module.checkmark, index_module[position], index_module[align], className, (_b = {},
|
|
20
|
+
_b[index_module.selected] = selected,
|
|
21
|
+
_b)), size: 24, hiddenInput: true })) : (React__default.default.createElement(CheckmarkMIcon.CheckmarkMIcon, { className: cn__default.default(index_module.singleIcon, index_module[position], index_module[align], className, (_c = {},
|
|
26
22
|
_c[index_module.selected] = selected,
|
|
27
|
-
_c))
|
|
28
|
-
position === 'before' && renderCheckmarkIcon(),
|
|
29
|
-
React__default.default.createElement("div", { className: index_module.content }, content),
|
|
30
|
-
position === 'after' && renderCheckmarkIcon()));
|
|
23
|
+
_c)) }));
|
|
31
24
|
};
|
|
32
25
|
|
|
33
26
|
exports.BaseCheckmark = BaseCheckmark;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Component.js","sources":["../../src/components/base-checkmark/Component.tsx"],"sourcesContent":["import React, { type FC } from 'react';\nimport cn from 'classnames';\n\nimport { Checkbox } from '@alfalab/core-components-checkbox';\nimport { CheckmarkMIcon } from '@alfalab/icons-glyph/CheckmarkMIcon';\n\nimport { type CheckmarkProps } from '../../typings';\n\nimport styles from './index.module.css';\n\nexport const BaseCheckmark: FC<CheckmarkProps> = ({\n selected,\n disabled = false,\n className,\n multiple,\n align = 'center',\n position = 'before',\n
|
|
1
|
+
{"version":3,"file":"Component.js","sources":["../../src/components/base-checkmark/Component.tsx"],"sourcesContent":["import React, { type FC } from 'react';\nimport cn from 'classnames';\n\nimport { Checkbox } from '@alfalab/core-components-checkbox';\nimport { CheckmarkMIcon } from '@alfalab/icons-glyph/CheckmarkMIcon';\n\nimport { type CheckmarkProps } from '../../typings';\n\nimport styles from './index.module.css';\n\nexport const BaseCheckmark: FC<CheckmarkProps> = ({\n selected,\n disabled = false,\n className,\n multiple,\n align = 'center',\n position = 'before',\n}) =>\n multiple ? (\n <Checkbox\n checked={selected}\n disabled={disabled}\n className={cn(styles.checkmark, styles[position], styles[align], className, {\n [styles.selected]: selected,\n })}\n size={24}\n hiddenInput={true}\n />\n ) : (\n <CheckmarkMIcon\n className={cn(styles.singleIcon, styles[position], styles[align], className, {\n [styles.selected]: selected,\n })}\n />\n );\n"],"names":["React","Checkbox","cn","styles","CheckmarkMIcon"],"mappings":";;;;;;;;;;;;;;;AAUO,IAAM,aAAa,GAAuB,UAAC,EAOjD,EAAA;;QANG,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,EAAA,GAAA,EAAA,CAAA,QAAgB,EAAhB,QAAQ,GAAG,EAAA,KAAA,MAAA,GAAA,KAAK,GAAA,EAAA,EAChB,SAAS,GAAA,EAAA,CAAA,SAAA,EACT,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,EAAgB,GAAA,EAAA,CAAA,KAAA,EAAhB,KAAK,GAAA,EAAA,KAAA,MAAA,GAAG,QAAQ,GAAA,EAAA,EAChB,EAAA,GAAA,EAAA,CAAA,QAAmB,EAAnB,QAAQ,GAAG,EAAA,KAAA,MAAA,GAAA,QAAQ,GAAA,EAAA;AAEnB,IAAA,OAAA,QAAQ,IACJA,sBAAC,CAAA,aAAA,CAAAC,+BAAQ,EACL,EAAA,OAAO,EAAE,QAAQ,EACjB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAEC,mBAAE,CAACC,YAAM,CAAC,SAAS,EAAEA,YAAM,CAAC,QAAQ,CAAC,EAAEA,YAAM,CAAC,KAAK,CAAC,EAAE,SAAS,GAAA,EAAA,GAAA,EAAA;AACtE,YAAA,EAAA,CAACA,YAAM,CAAC,QAAQ,CAAA,GAAG,QAAQ;AAC7B,YAAA,EAAA,EAAA,EACF,IAAI,EAAE,EAAE,EACR,WAAW,EAAE,IAAI,EACnB,CAAA,KAEFH,sBAAA,CAAA,aAAA,CAACI,6BAAc,EACX,EAAA,SAAS,EAAEF,mBAAE,CAACC,YAAM,CAAC,UAAU,EAAEA,YAAM,CAAC,QAAQ,CAAC,EAAEA,YAAM,CAAC,KAAK,CAAC,EAAE,SAAS,GAAA,EAAA,GAAA,EAAA;AACvE,YAAA,EAAA,CAACA,YAAM,CAAC,QAAQ,CAAA,GAAG,QAAQ;AAC7B,YAAA,EAAA,EAAA,EAAA,CACJ,CACL;AAhBD;;;;"}
|
|
@@ -2,45 +2,32 @@
|
|
|
2
2
|
--gap-s: 12px;
|
|
3
3
|
--gap-12: var(--gap-s);
|
|
4
4
|
}
|
|
5
|
-
.
|
|
5
|
+
.select__checkmark_j0fuj {
|
|
6
6
|
flex-shrink: 0;
|
|
7
7
|
box-sizing: border-box;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
10
|
-
|
|
9
|
+
.select__checkmark_j0fuj.select__before_j0fuj {
|
|
10
|
+
margin-right: var(--gap-12);
|
|
11
11
|
}
|
|
12
|
-
.
|
|
13
|
-
|
|
12
|
+
.select__checkmark_j0fuj.select__after_j0fuj {
|
|
13
|
+
margin-left: var(--gap-12);
|
|
14
14
|
}
|
|
15
|
-
.
|
|
16
|
-
|
|
17
|
-
margin-left: initial;
|
|
18
|
-
}
|
|
19
|
-
.select__container_7xwme {
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
width: 100%;
|
|
24
|
-
}
|
|
25
|
-
.select__container_7xwme.select__start_7xwme {
|
|
26
|
-
align-items: flex-start;
|
|
15
|
+
.select__checkmark_j0fuj.select__start_j0fuj {
|
|
16
|
+
align-self: start;
|
|
27
17
|
}
|
|
28
|
-
.
|
|
29
|
-
align-
|
|
18
|
+
.select__checkmark_j0fuj.select__center_j0fuj {
|
|
19
|
+
align-self: center;
|
|
30
20
|
}
|
|
31
|
-
.
|
|
21
|
+
.select__singleIcon_j0fuj {
|
|
32
22
|
flex-shrink: 0;
|
|
33
23
|
opacity: 0;
|
|
34
24
|
}
|
|
35
|
-
.
|
|
25
|
+
.select__singleIcon_j0fuj.select__before_j0fuj {
|
|
36
26
|
margin-right: var(--gap-12);
|
|
37
27
|
}
|
|
38
|
-
.
|
|
28
|
+
.select__singleIcon_j0fuj.select__after_j0fuj {
|
|
39
29
|
margin-left: var(--gap-12);
|
|
40
30
|
}
|
|
41
|
-
.
|
|
31
|
+
.select__singleIcon_j0fuj.select__selected_j0fuj {
|
|
42
32
|
opacity: 1;
|
|
43
33
|
}
|
|
44
|
-
.select__content_7xwme {
|
|
45
|
-
flex: 1;
|
|
46
|
-
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"checkmark":"
|
|
5
|
+
var styles = {"checkmark":"select__checkmark_j0fuj","before":"select__before_j0fuj","after":"select__after_j0fuj","start":"select__start_j0fuj","center":"select__center_j0fuj","singleIcon":"select__singleIcon_j0fuj","selected":"select__selected_j0fuj"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["../../src/components/base-checkmark/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../../vars.css';\n\n.checkmark {\n flex-shrink: 0;\n box-sizing: border-box;\n\n &.
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../src/components/base-checkmark/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n@import '../../vars.css';\n\n.checkmark {\n flex-shrink: 0;\n box-sizing: border-box;\n\n &.before {\n margin-right: var(--gap-12);\n }\n\n &.after {\n margin-left: var(--gap-12);\n }\n\n &.start {\n align-self: start;\n }\n\n &.center {\n align-self: center;\n }\n}\n\n.singleIcon {\n flex-shrink: 0;\n opacity: 0;\n\n &.before {\n margin-right: var(--gap-12);\n }\n\n &.after {\n margin-left: var(--gap-12);\n }\n\n &.selected {\n opacity: 1;\n }\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,WAAW,CAAC,yBAAyB,CAAC,QAAQ,CAAC,sBAAsB,CAAC,OAAO,CAAC,qBAAqB,CAAC,OAAO,CAAC,qBAAqB,CAAC,QAAQ,CAAC,sBAAsB,CAAC,YAAY,CAAC,0BAA0B,CAAC,UAAU,CAAC,wBAAwB,CAAC;;;;"}
|
|
@@ -21,6 +21,9 @@ var BaseOption = function (_a) {
|
|
|
21
21
|
var _h = option.showCheckMark, showCheckMark = _h === void 0 ? true : _h;
|
|
22
22
|
var isTextContent = !React.isValidElement(content);
|
|
23
23
|
var showCheckmark = Checkmark && showCheckMark;
|
|
24
|
+
var renderCheckmark = function (position) {
|
|
25
|
+
return showCheckmark && (React__default.default.createElement(Checkmark, { disabled: disabled, selected: selected, multiple: multiple, align: align, position: position }));
|
|
26
|
+
};
|
|
24
27
|
return (React__default.default.createElement("div", tslib.__assign({}, innerProps, { className: cn__default.default(index_module.option, size && index_module["size-".concat(size)], className, (_b = {},
|
|
25
28
|
_b[index_module.highlighted] = !mobile && highlighted,
|
|
26
29
|
_b[index_module.selected] = selected,
|
|
@@ -29,7 +32,10 @@ var BaseOption = function (_a) {
|
|
|
29
32
|
_b[index_module.mobile] = mobile,
|
|
30
33
|
_b[index_module.checkmarkAfter] = showCheckmark && !isTextContent && checkmarkPosition === 'after',
|
|
31
34
|
_b[index_module.checkmarkBefore] = showCheckmark && !isTextContent && checkmarkPosition === 'before',
|
|
32
|
-
_b)), "data-test-id": dataTestId, "aria-label": (_c = option === null || option === void 0 ? void 0 : option.value) === null || _c === void 0 ? void 0 : _c.name }),
|
|
35
|
+
_b)), "data-test-id": dataTestId, "aria-label": (_c = option === null || option === void 0 ? void 0 : option.value) === null || _c === void 0 ? void 0 : _c.name }),
|
|
36
|
+
checkmarkPosition === 'before' && renderCheckmark('before'),
|
|
37
|
+
React__default.default.createElement("div", { className: cn__default.default(index_module.content) }, content),
|
|
38
|
+
checkmarkPosition === 'after' && renderCheckmark('after')));
|
|
33
39
|
};
|
|
34
40
|
|
|
35
41
|
exports.BaseOption = BaseOption;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Component.js","sources":["../../src/components/base-option/Component.tsx"],"sourcesContent":["import React, { type FC, isValidElement } from 'react';\nimport cn from 'classnames';\n\nimport { type OptionProps } from '../../typings';\nimport { BaseCheckmark } from '../base-checkmark';\n\nimport styles from './index.module.css';\n\nexport const BaseOption: FC<OptionProps> = ({\n className,\n option,\n children,\n selected,\n highlighted,\n disabled,\n multiple,\n Checkmark = BaseCheckmark,\n checkmarkPosition = multiple ? 'before' : 'after',\n align = 'center',\n innerProps,\n dataTestId,\n mobile = false,\n size,\n}) => {\n const content = children || option.content || option.key;\n const { showCheckMark = true } = option;\n const isTextContent = !isValidElement(content);\n const showCheckmark = Checkmark && showCheckMark;\n\n return (\n <div\n {...innerProps}\n className={cn(styles.option, size && styles[`size-${size}`], className, {\n [styles.highlighted]: !mobile && highlighted,\n [styles.selected]: selected,\n [styles.disabled]: disabled,\n [styles.textContent]: isTextContent,\n [styles.mobile]: mobile,\n [styles.checkmarkAfter]:\n showCheckmark && !isTextContent && checkmarkPosition === 'after',\n [styles.checkmarkBefore]:\n showCheckmark && !isTextContent && checkmarkPosition === 'before',\n })}\n data-test-id={dataTestId}\n aria-label={option?.value?.name}\n >\n {
|
|
1
|
+
{"version":3,"file":"Component.js","sources":["../../src/components/base-option/Component.tsx"],"sourcesContent":["import React, { type FC, isValidElement } from 'react';\nimport cn from 'classnames';\n\nimport { type OptionProps } from '../../typings';\nimport { BaseCheckmark } from '../base-checkmark';\n\nimport styles from './index.module.css';\n\nexport const BaseOption: FC<OptionProps> = ({\n className,\n option,\n children,\n selected,\n highlighted,\n disabled,\n multiple,\n Checkmark = BaseCheckmark,\n checkmarkPosition = multiple ? 'before' : 'after',\n align = 'center',\n innerProps,\n dataTestId,\n mobile = false,\n size,\n}) => {\n const content = children || option.content || option.key;\n const { showCheckMark = true } = option;\n const isTextContent = !isValidElement(content);\n const showCheckmark = Checkmark && showCheckMark;\n\n const renderCheckmark = (position: 'before' | 'after') =>\n showCheckmark && (\n <Checkmark\n disabled={disabled}\n selected={selected}\n multiple={multiple}\n align={align}\n position={position}\n />\n );\n\n return (\n <div\n {...innerProps}\n className={cn(styles.option, size && styles[`size-${size}`], className, {\n [styles.highlighted]: !mobile && highlighted,\n [styles.selected]: selected,\n [styles.disabled]: disabled,\n [styles.textContent]: isTextContent,\n [styles.mobile]: mobile,\n [styles.checkmarkAfter]:\n showCheckmark && !isTextContent && checkmarkPosition === 'after',\n [styles.checkmarkBefore]:\n showCheckmark && !isTextContent && checkmarkPosition === 'before',\n })}\n data-test-id={dataTestId}\n aria-label={option?.value?.name}\n >\n {checkmarkPosition === 'before' && renderCheckmark('before')}\n\n <div className={cn(styles.content)}>{content}</div>\n\n {checkmarkPosition === 'after' && renderCheckmark('after')}\n </div>\n );\n};\n"],"names":["BaseCheckmark","isValidElement","React","cn","styles"],"mappings":"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"}
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
--select-option-active-color: var(--color-light-text-primary);
|
|
36
36
|
--select-option-disabled-color: var(--color-light-text-secondary);
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
.select__option_16x17 {
|
|
39
39
|
font-size: 16px;
|
|
40
40
|
line-height: 20px;
|
|
41
41
|
font-weight: 400;
|
|
@@ -52,49 +52,49 @@
|
|
|
52
52
|
cursor: pointer;
|
|
53
53
|
min-height: var(--size-s-height);
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.select__option_16x17:not(.select__disabled_16x17):active {
|
|
56
56
|
background: var(--select-option-active-background);
|
|
57
57
|
color: var(--select-option-active-color);
|
|
58
58
|
}
|
|
59
|
-
.
|
|
59
|
+
.select__option_16x17.select__checkmarkBefore_16x17 {
|
|
60
60
|
padding: var(--gap-0) var(--gap-0) var(--gap-0) var(--gap-12);
|
|
61
61
|
}
|
|
62
|
-
.
|
|
62
|
+
.select__option_16x17.select__checkmarkBefore_16x17.select__mobile_16x17 {
|
|
63
63
|
padding-left: var(--gap-16);
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.select__option_16x17.select__checkmarkAfter_16x17.select__checkmarkAfter_16x17 {
|
|
66
66
|
padding: var(--gap-0) var(--gap-12) var(--gap-0) var(--gap-0);
|
|
67
67
|
}
|
|
68
|
-
.
|
|
68
|
+
.select__option_16x17.select__checkmarkAfter_16x17.select__checkmarkAfter_16x17.select__size-72_16x17 {
|
|
69
69
|
padding-right: var(--gap-16);
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
.select__option_16x17.select__checkmarkAfter_16x17.select__checkmarkAfter_16x17.select__mobile_16x17 {
|
|
72
72
|
padding-right: var(--gap-20);
|
|
73
73
|
}
|
|
74
|
-
.
|
|
74
|
+
.select__option_16x17.select__textContent_16x17 {
|
|
75
75
|
padding: var(--gap-12);
|
|
76
76
|
}
|
|
77
|
-
.
|
|
77
|
+
.select__option_16x17.select__textContent_16x17.select__size-72_16x17 {
|
|
78
78
|
padding-left: var(--gap-16);
|
|
79
79
|
padding-right: var(--gap-16);
|
|
80
80
|
}
|
|
81
|
-
.
|
|
81
|
+
.select__option_16x17.select__textContent_16x17.select__mobile_16x17 {
|
|
82
82
|
padding: var(--gap-16) var(--gap-20);
|
|
83
83
|
}
|
|
84
|
-
.
|
|
84
|
+
.select__selected_16x17 {
|
|
85
85
|
background: var(--select-option-selected-background);
|
|
86
86
|
color: var(--select-option-selected-color);
|
|
87
87
|
cursor: default;
|
|
88
88
|
}
|
|
89
|
-
.
|
|
89
|
+
.select__highlighted_16x17 {
|
|
90
90
|
background: var(--select-option-hover-background);
|
|
91
91
|
color: var(--select-option-hover-color);
|
|
92
92
|
}
|
|
93
|
-
.
|
|
93
|
+
.select__disabled_16x17 {
|
|
94
94
|
cursor: var(--disabled-cursor);
|
|
95
95
|
background: var(--select-option-disabled-background);
|
|
96
96
|
color: var(--select-option-disabled-color);
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.select__content_16x17 {
|
|
99
99
|
flex: 1;
|
|
100
100
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"option":"
|
|
5
|
+
var styles = {"option":"select__option_16x17","disabled":"select__disabled_16x17","checkmarkBefore":"select__checkmarkBefore_16x17","mobile":"select__mobile_16x17","checkmarkAfter":"select__checkmarkAfter_16x17","size-72":"select__size-72_16x17","textContent":"select__textContent_16x17","selected":"select__selected_16x17","highlighted":"select__highlighted_16x17","content":"select__content_16x17"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -30,25 +30,25 @@
|
|
|
30
30
|
--select-options-list-bottom-padding: var(--gap-0);
|
|
31
31
|
--select-option-background: var(--color-light-modal-bg-primary);
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.select__component_1wn05 {
|
|
34
34
|
width: -moz-max-content;
|
|
35
35
|
width: max-content;
|
|
36
36
|
position: relative;
|
|
37
37
|
outline: 0;
|
|
38
38
|
max-width: 100%;
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.select__popoverInner_1wn05 {
|
|
41
41
|
padding-top: var(--select-options-list-offset);
|
|
42
42
|
padding-bottom: var(--select-options-list-offset);
|
|
43
43
|
background: transparent;
|
|
44
44
|
border-radius: var(--border-radius-0);
|
|
45
45
|
position: relative;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.select__popoverInner_1wn05.select__popoverInner_1wn05 {
|
|
48
48
|
box-shadow: none;
|
|
49
49
|
border: none;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.select__optionsListWrapper_1wn05 {
|
|
52
52
|
position: relative;
|
|
53
53
|
padding-top: var(--select-options-list-top-padding);
|
|
54
54
|
padding-bottom: var(--select-options-list-bottom-padding);
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
overflow: hidden;
|
|
59
59
|
will-change: transform;
|
|
60
60
|
}
|
|
61
|
-
.
|
|
61
|
+
.select__optionsListBorder_1wn05 {
|
|
62
62
|
position: absolute;
|
|
63
63
|
top: var(--gap-0);
|
|
64
64
|
right: var(--gap-0);
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
border-radius: inherit;
|
|
69
69
|
pointer-events: none;
|
|
70
70
|
}
|
|
71
|
-
.
|
|
71
|
+
.select__nativeSelect_1wn05 {
|
|
72
72
|
opacity: 0;
|
|
73
73
|
overflow: hidden;
|
|
74
74
|
position: absolute;
|
|
@@ -82,19 +82,19 @@
|
|
|
82
82
|
cursor: pointer;
|
|
83
83
|
z-index: 1;
|
|
84
84
|
}
|
|
85
|
-
.
|
|
85
|
+
.select__block_1wn05 {
|
|
86
86
|
width: 100%;
|
|
87
87
|
}
|
|
88
|
-
.
|
|
88
|
+
.select__emptySearchPlaceholder_1wn05 {
|
|
89
89
|
text-align: center;
|
|
90
90
|
}
|
|
91
|
-
.
|
|
91
|
+
.select__search_1wn05 {
|
|
92
92
|
margin: var(--gap-12) var(--gap-12) var(--gap-0);
|
|
93
93
|
}
|
|
94
|
-
.
|
|
94
|
+
.select__search_1wn05.select__size-72_1wn05 {
|
|
95
95
|
margin-left: var(--gap-16);
|
|
96
96
|
margin-right: var(--gap-16);
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.select__search_1wn05:last-child {
|
|
99
99
|
margin-bottom: var(--gap-12);
|
|
100
100
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"
|
|
5
|
+
var styles = {"component":"select__component_1wn05","popoverInner":"select__popoverInner_1wn05","optionsListWrapper":"select__optionsListWrapper_1wn05","optionsListBorder":"select__optionsListBorder_1wn05","nativeSelect":"select__nativeSelect_1wn05","block":"select__block_1wn05","emptySearchPlaceholder":"select__emptySearchPlaceholder_1wn05","search":"select__search_1wn05","size-72":"select__size-72_1wn05"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -9,40 +9,40 @@
|
|
|
9
9
|
--gap-16: var(--gap-m);
|
|
10
10
|
--gap-20: var(--gap-l);
|
|
11
11
|
}
|
|
12
|
-
.
|
|
12
|
+
.select__sheet_4csiu {
|
|
13
13
|
overflow: hidden;
|
|
14
14
|
}
|
|
15
|
-
.
|
|
15
|
+
.select__sheetContent_4csiu.select__sheetContent_4csiu {
|
|
16
16
|
padding: var(--gap-0);
|
|
17
17
|
}
|
|
18
|
-
.
|
|
18
|
+
.select__sheetContent_4csiu.select__sheetContent_4csiu .select__modalContent_4csiu {
|
|
19
19
|
padding: var(--gap-0);
|
|
20
20
|
display: flex;
|
|
21
21
|
flex-direction: column;
|
|
22
22
|
}
|
|
23
|
-
.
|
|
23
|
+
.select__sheetContainer_4csiu {
|
|
24
24
|
padding: var(--gap-0);
|
|
25
25
|
}
|
|
26
|
-
.
|
|
26
|
+
.select__optionsListWrapper_4csiu {
|
|
27
27
|
flex: 1;
|
|
28
28
|
}
|
|
29
|
-
.
|
|
29
|
+
.select__optionsList_4csiu.select__optionsList_4csiu {
|
|
30
30
|
height: 100%;
|
|
31
31
|
display: flex;
|
|
32
32
|
flex-direction: column;
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.select__scrollbar_4csiu {
|
|
35
35
|
flex: 1;
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.select__search_4csiu {
|
|
38
38
|
padding: var(--gap-8);
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.select__option_4csiu.select__option_4csiu {
|
|
41
41
|
padding: var(--gap-4) var(--gap-20) var(--gap-4);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.select__option_4csiu.select__option_4csiu:before {
|
|
44
44
|
display: none;
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.select__optionGroup_4csiu.select__optionGroup_4csiu {
|
|
47
47
|
padding: var(--gap-16) var(--gap-16) var(--gap-8);
|
|
48
48
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./mobile.css');
|
|
4
4
|
|
|
5
|
-
var mobileStyles = {"sheet":"
|
|
5
|
+
var mobileStyles = {"sheet":"select__sheet_4csiu","sheetContent":"select__sheetContent_4csiu","modalContent":"select__modalContent_4csiu","sheetContainer":"select__sheetContainer_4csiu","optionsListWrapper":"select__optionsListWrapper_4csiu","optionsList":"select__optionsList_4csiu","scrollbar":"select__scrollbar_4csiu","search":"select__search_4csiu","option":"select__option_4csiu","optionGroup":"select__optionGroup_4csiu"};
|
|
6
6
|
|
|
7
7
|
module.exports = mobileStyles;
|
|
8
8
|
//# sourceMappingURL=mobile.module.css.js.map
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
--select-checkmark-after-display-single: flex;
|
|
14
14
|
--select-checkmark-unselected-opacity: 0;
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.select__checkmark_9prqe {
|
|
17
17
|
flex-shrink: 0;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
.select__checkmark_9prqe.select__before_9prqe {
|
|
20
20
|
display: var(--select-checkmark-before-display);
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
.select__checkmark_9prqe.select__after_9prqe {
|
|
23
23
|
display: var(--select-checkmark-after-display);
|
|
24
24
|
}
|
|
25
|
-
.
|
|
25
|
+
.select__single_9prqe {
|
|
26
26
|
display: flex;
|
|
27
27
|
align-items: center;
|
|
28
28
|
justify-content: center;
|
|
@@ -30,26 +30,26 @@
|
|
|
30
30
|
width: var(--select-checkmark-size);
|
|
31
31
|
height: var(--select-checkmark-size);
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.select__single_9prqe.select__selected_9prqe {
|
|
34
34
|
opacity: 1;
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.select__multiple_9prqe.select__before_9prqe {
|
|
37
37
|
margin-right: var(--gap-12);
|
|
38
38
|
display: var(--select-checkmark-before-display-multiple);
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.select__multiple_9prqe.select__after_9prqe {
|
|
41
41
|
margin-left: var(--gap-12);
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.select__after_9prqe.select__after_9prqe {
|
|
44
44
|
display: var(--select-checkmark-after-display);
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.select__after_9prqe.select__after_9prqe.select__single_9prqe {
|
|
47
47
|
display: var(--select-checkmark-after-display-single);
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.select__colorIcon_9prqe {
|
|
50
50
|
color: var(--color-light-status-positive);
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.select__displayIcon_9prqe {
|
|
53
53
|
display: block;
|
|
54
54
|
width: 100%;
|
|
55
55
|
height: 100%;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"checkmark":"
|
|
5
|
+
var styles = {"checkmark":"select__checkmark_9prqe","before":"select__before_9prqe","after":"select__after_9prqe","single":"select__single_9prqe","selected":"select__selected_9prqe","multiple":"select__multiple_9prqe","colorIcon":"select__colorIcon_9prqe","displayIcon":"select__displayIcon_9prqe"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
--select-mobile-checkmark-display-icon: block;
|
|
7
7
|
--select-mobile-checkmark-display-badge: none;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
.select__checkmark_1rc0f {
|
|
10
10
|
flex-shrink: 0;
|
|
11
11
|
display: flex;
|
|
12
12
|
align-items: center;
|
|
@@ -15,18 +15,18 @@
|
|
|
15
15
|
height: 24px;
|
|
16
16
|
opacity: 0;
|
|
17
17
|
}
|
|
18
|
-
.
|
|
18
|
+
.select__checkmark_1rc0f.select__selected_1rc0f {
|
|
19
19
|
opacity: 1;
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
.select__checkmark_1rc0f.select__before_1rc0f {
|
|
22
22
|
margin-right: var(--gap-8);
|
|
23
23
|
}
|
|
24
|
-
.
|
|
24
|
+
.select__checkmark_1rc0f.select__after_1rc0f {
|
|
25
25
|
margin-left: var(--gap-8);
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.select__displayIcon_1rc0f {
|
|
28
28
|
display: var(--select-mobile-checkmark-display-icon);
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
.select__displayBadge_1rc0f {
|
|
31
31
|
display: var(--select-mobile-checkmark-display-badge);
|
|
32
32
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"checkmark":"
|
|
5
|
+
var styles = {"checkmark":"select__checkmark_1rc0f","selected":"select__selected_1rc0f","before":"select__before_1rc0f","after":"select__after_1rc0f","displayIcon":"select__displayIcon_1rc0f","displayBadge":"select__displayBadge_1rc0f"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
:root {
|
|
7
7
|
--input-error-icon-display: none;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
.select__clearIcon_ugt0v {
|
|
10
10
|
display: block;
|
|
11
11
|
color: var(--color-light-neutral-translucent-500);
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
.select__clearIcon_ugt0v:hover {
|
|
14
14
|
color: var(--color-light-neutral-translucent-500-hover);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
.select__clearIcon_ugt0v:active {
|
|
17
17
|
color: var(--color-light-neutral-translucent-500-press);
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
.select__clearButton_ugt0v + [data-addon='error-icon'] {
|
|
20
20
|
display: var(--input-error-icon-display);
|
|
21
21
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"clearIcon":"
|
|
5
|
+
var styles = {"clearIcon":"select__clearIcon_ugt0v","clearButton":"select__clearButton_ugt0v"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|