@alfalab/core-components-select 19.1.4 → 19.1.5-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.
Files changed (158) hide show
  1. package/components/arrow/index.css +4 -4
  2. package/components/arrow/index.module.css.js +1 -1
  3. package/components/base-checkmark/index.css +12 -12
  4. package/components/base-checkmark/index.module.css.js +1 -1
  5. package/components/base-option/index.css +20 -18
  6. package/components/base-option/index.module.css.js +1 -1
  7. package/components/base-option/index.module.css.js.map +1 -1
  8. package/components/base-select/index.css +11 -11
  9. package/components/base-select/index.module.css.js +1 -1
  10. package/components/base-select/mobile.css +12 -12
  11. package/components/base-select/mobile.module.css.js +1 -1
  12. package/components/base-select/mobile.module.css.js.map +1 -1
  13. package/components/checkmark/index.css +11 -11
  14. package/components/checkmark/index.module.css.js +1 -1
  15. package/components/checkmark-mobile/index.css +6 -6
  16. package/components/checkmark-mobile/index.module.css.js +1 -1
  17. package/components/clear-button/index.css +4 -4
  18. package/components/clear-button/index.module.css.js +1 -1
  19. package/components/field/index.css +22 -18
  20. package/components/field/index.module.css.js +1 -1
  21. package/components/footer/index.css +4 -4
  22. package/components/footer/index.module.css.js +1 -1
  23. package/components/optgroup/index.css +8 -7
  24. package/components/optgroup/index.module.css.js +1 -1
  25. package/components/option/desktop/index.css +24 -22
  26. package/components/option/desktop/index.module.css.js +1 -1
  27. package/components/option/mobile/index.css +21 -19
  28. package/components/option/mobile/index.module.css.js +1 -1
  29. package/components/options-list/index.css +13 -13
  30. package/components/options-list/index.module.css.js +1 -1
  31. package/components/search/index.css +1 -1
  32. package/components/search/index.module.css.js +1 -1
  33. package/components/virtual-options-list/index.css +13 -13
  34. package/components/virtual-options-list/index.module.css.js +1 -1
  35. package/cssm/components/base-option/index.module.css +6 -4
  36. package/cssm/components/base-select/mobile.module.css +1 -1
  37. package/cssm/components/field/index.module.css +9 -5
  38. package/cssm/components/optgroup/index.module.css +4 -3
  39. package/cssm/components/option/desktop/index.module.css +5 -3
  40. package/cssm/components/option/mobile/index.module.css +5 -3
  41. package/cssm/mobile/Component.modal.mobile.js +8 -1
  42. package/cssm/mobile/Component.modal.mobile.js.map +1 -1
  43. package/cssm/mobile/modal.mobile.module.css +8 -0
  44. package/esm/components/arrow/index.css +4 -4
  45. package/esm/components/arrow/index.module.css.js +1 -1
  46. package/esm/components/base-checkmark/index.css +12 -12
  47. package/esm/components/base-checkmark/index.module.css.js +1 -1
  48. package/esm/components/base-option/index.css +20 -18
  49. package/esm/components/base-option/index.module.css.js +1 -1
  50. package/esm/components/base-option/index.module.css.js.map +1 -1
  51. package/esm/components/base-select/index.css +11 -11
  52. package/esm/components/base-select/index.module.css.js +1 -1
  53. package/esm/components/base-select/mobile.css +12 -12
  54. package/esm/components/base-select/mobile.module.css.js +1 -1
  55. package/esm/components/base-select/mobile.module.css.js.map +1 -1
  56. package/esm/components/checkmark/index.css +11 -11
  57. package/esm/components/checkmark/index.module.css.js +1 -1
  58. package/esm/components/checkmark-mobile/index.css +6 -6
  59. package/esm/components/checkmark-mobile/index.module.css.js +1 -1
  60. package/esm/components/clear-button/index.css +4 -4
  61. package/esm/components/clear-button/index.module.css.js +1 -1
  62. package/esm/components/field/index.css +22 -18
  63. package/esm/components/field/index.module.css.js +1 -1
  64. package/esm/components/footer/index.css +4 -4
  65. package/esm/components/footer/index.module.css.js +1 -1
  66. package/esm/components/optgroup/index.css +8 -7
  67. package/esm/components/optgroup/index.module.css.js +1 -1
  68. package/esm/components/option/desktop/index.css +24 -22
  69. package/esm/components/option/desktop/index.module.css.js +1 -1
  70. package/esm/components/option/mobile/index.css +21 -19
  71. package/esm/components/option/mobile/index.module.css.js +1 -1
  72. package/esm/components/options-list/index.css +13 -13
  73. package/esm/components/options-list/index.module.css.js +1 -1
  74. package/esm/components/search/index.css +1 -1
  75. package/esm/components/search/index.module.css.js +1 -1
  76. package/esm/components/virtual-options-list/index.css +13 -13
  77. package/esm/components/virtual-options-list/index.module.css.js +1 -1
  78. package/esm/mobile/Component.modal.mobile.js +6 -1
  79. package/esm/mobile/Component.modal.mobile.js.map +1 -1
  80. package/esm/mobile/modal.mobile.css +8 -0
  81. package/esm/mobile/modal.mobile.module.css.js +6 -0
  82. package/esm/mobile/modal.mobile.module.css.js.map +1 -0
  83. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  84. package/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css.js +1 -1
  85. package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +4 -4
  86. package/esm/presets/useSelectWithApply/options-list-with-apply/header/index.module.css.js +1 -1
  87. package/esm/presets/useSelectWithLoading/index.css +1 -1
  88. package/esm/presets/useSelectWithLoading/index.module.css.js +1 -1
  89. package/mobile/Component.modal.mobile.js +7 -1
  90. package/mobile/Component.modal.mobile.js.map +1 -1
  91. package/mobile/modal.mobile.css +8 -0
  92. package/mobile/modal.mobile.module.css.js +8 -0
  93. package/mobile/modal.mobile.module.css.js.map +1 -0
  94. package/modern/components/arrow/index.css +4 -4
  95. package/modern/components/arrow/index.module.css.js +1 -1
  96. package/modern/components/base-checkmark/index.css +12 -12
  97. package/modern/components/base-checkmark/index.module.css.js +1 -1
  98. package/modern/components/base-option/index.css +20 -18
  99. package/modern/components/base-option/index.module.css.js +1 -1
  100. package/modern/components/base-option/index.module.css.js.map +1 -1
  101. package/modern/components/base-select/index.css +11 -11
  102. package/modern/components/base-select/index.module.css.js +1 -1
  103. package/modern/components/base-select/mobile.css +12 -12
  104. package/modern/components/base-select/mobile.module.css.js +1 -1
  105. package/modern/components/base-select/mobile.module.css.js.map +1 -1
  106. package/modern/components/checkmark/index.css +11 -11
  107. package/modern/components/checkmark/index.module.css.js +1 -1
  108. package/modern/components/checkmark-mobile/index.css +6 -6
  109. package/modern/components/checkmark-mobile/index.module.css.js +1 -1
  110. package/modern/components/clear-button/index.css +4 -4
  111. package/modern/components/clear-button/index.module.css.js +1 -1
  112. package/modern/components/field/index.css +22 -18
  113. package/modern/components/field/index.module.css.js +1 -1
  114. package/modern/components/footer/index.css +4 -4
  115. package/modern/components/footer/index.module.css.js +1 -1
  116. package/modern/components/optgroup/index.css +8 -7
  117. package/modern/components/optgroup/index.module.css.js +1 -1
  118. package/modern/components/option/desktop/index.css +24 -22
  119. package/modern/components/option/desktop/index.module.css.js +1 -1
  120. package/modern/components/option/mobile/index.css +21 -19
  121. package/modern/components/option/mobile/index.module.css.js +1 -1
  122. package/modern/components/options-list/index.css +13 -13
  123. package/modern/components/options-list/index.module.css.js +1 -1
  124. package/modern/components/search/index.css +1 -1
  125. package/modern/components/search/index.module.css.js +1 -1
  126. package/modern/components/virtual-options-list/index.css +13 -13
  127. package/modern/components/virtual-options-list/index.module.css.js +1 -1
  128. package/modern/mobile/Component.modal.mobile.js +9 -1
  129. package/modern/mobile/Component.modal.mobile.js.map +1 -1
  130. package/modern/mobile/modal.mobile.css +8 -0
  131. package/modern/mobile/modal.mobile.module.css.js +6 -0
  132. package/modern/mobile/modal.mobile.module.css.js.map +1 -0
  133. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  134. package/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css.js +1 -1
  135. package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +4 -4
  136. package/modern/presets/useSelectWithApply/options-list-with-apply/header/index.module.css.js +1 -1
  137. package/modern/presets/useSelectWithLoading/index.css +1 -1
  138. package/modern/presets/useSelectWithLoading/index.module.css.js +1 -1
  139. package/moderncssm/components/base-option/index.module.css +3 -2
  140. package/moderncssm/components/base-select/mobile.module.css +1 -1
  141. package/moderncssm/components/field/index.module.css +6 -3
  142. package/moderncssm/components/optgroup/index.module.css +1 -1
  143. package/moderncssm/components/option/desktop/index.module.css +2 -1
  144. package/moderncssm/components/option/mobile/index.module.css +2 -1
  145. package/moderncssm/mobile/Component.modal.mobile.js +9 -1
  146. package/moderncssm/mobile/Component.modal.mobile.js.map +1 -1
  147. package/moderncssm/mobile/modal.mobile.module.css +6 -0
  148. package/package.json +15 -15
  149. package/presets/useSelectWithApply/options-list-with-apply/footer/index.css +3 -3
  150. package/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css.js +1 -1
  151. package/presets/useSelectWithApply/options-list-with-apply/header/index.css +4 -4
  152. package/presets/useSelectWithApply/options-list-with-apply/header/index.module.css.js +1 -1
  153. package/presets/useSelectWithLoading/index.css +1 -1
  154. package/presets/useSelectWithLoading/index.module.css.js +1 -1
  155. package/src/components/base-option/index.module.css +1 -1
  156. package/src/components/base-select/mobile.module.css +1 -1
  157. package/src/mobile/Component.modal.mobile.tsx +18 -3
  158. package/src/mobile/modal.mobile.module.css +6 -0
@@ -1,7 +1,15 @@
1
1
  import React, { forwardRef } from 'react';
2
+ import cn from 'classnames';
2
3
  import { SelectMobile } from './Component.mobile.js';
4
+ import styles from './modal.mobile.module.css.js';
3
5
 
4
- const SelectModalMobile = forwardRef((props, ref) => (React.createElement(SelectMobile, { ...props, isBottomSheet: false, ref: ref })));
6
+ const SelectModalMobile = forwardRef((props, ref) => {
7
+ const { modalHeaderProps, className: headerClassName } = props;
8
+ return (React.createElement(SelectMobile, { ...props, isBottomSheet: false, ref: ref, modalHeaderProps: {
9
+ ...modalHeaderProps,
10
+ className: cn(styles.header, headerClassName),
11
+ } }));
12
+ });
5
13
 
6
14
  export { SelectModalMobile };
7
15
  //# sourceMappingURL=Component.modal.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Component.modal.mobile.js","sources":["../../src/mobile/Component.modal.mobile.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { type SelectModalMobileProps } from '../typings';\n\nimport { SelectMobile } from './Component.mobile';\n\nexport const SelectModalMobile = forwardRef((props: SelectModalMobileProps, ref) => (\n <SelectMobile {...props} isBottomSheet={false} ref={ref} />\n));\n"],"names":[],"mappings":";;;AAMO,MAAM,iBAAiB,GAAG,UAAU,CAAC,CAAC,KAA6B,EAAE,GAAG,MAC3E,KAAC,CAAA,aAAA,CAAA,YAAY,EAAK,EAAA,GAAA,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAI,CAAA,CAC9D;;;;"}
1
+ {"version":3,"file":"Component.modal.mobile.js","sources":["../../src/mobile/Component.modal.mobile.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport cn from 'classnames';\n\nimport { type SelectModalMobileProps } from '../typings';\n\nimport { SelectMobile } from './Component.mobile';\n\nimport styles from './modal.mobile.module.css';\n\nexport const SelectModalMobile = forwardRef((props: SelectModalMobileProps, ref) => {\n const { modalHeaderProps, className: headerClassName } = props;\n\n return (\n <SelectMobile\n {...props}\n isBottomSheet={false}\n ref={ref}\n modalHeaderProps={{\n ...modalHeaderProps,\n className: cn(styles.header, headerClassName),\n }}\n />\n );\n});\n"],"names":[],"mappings":";;;;;AASa,MAAA,iBAAiB,GAAG,UAAU,CAAC,CAAC,KAA6B,EAAE,GAAG,KAAI;IAC/E,MAAM,EAAE,gBAAgB,EAAE,SAAS,EAAE,eAAe,EAAE,GAAG,KAAK;AAE9D,IAAA,QACI,KAAA,CAAA,aAAA,CAAC,YAAY,EAAA,EAAA,GACL,KAAK,EACT,aAAa,EAAE,KAAK,EACpB,GAAG,EAAE,GAAG,EACR,gBAAgB,EAAE;AACd,YAAA,GAAG,gBAAgB;YACnB,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;AAChD,SAAA,EAAA,CACH;AAEV,CAAC;;;;"}
@@ -0,0 +1,8 @@
1
+ :root {
2
+ --gap-xs: 8px;
3
+ --gap-8: var(--gap-xs);
4
+ }
5
+ .select__header_3stqa {
6
+ padding-right: var(--gap-8);
7
+ padding-left: var(--gap-8);
8
+ }
@@ -0,0 +1,6 @@
1
+ import './modal.mobile.css';
2
+
3
+ const styles = {"header":"select__header_3stqa"};
4
+
5
+ export { styles as default };
6
+ //# sourceMappingURL=modal.mobile.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal.mobile.module.css.js","sources":["../src/mobile/modal.mobile.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n.header {\n padding-right: var(--gap-8);\n padding-left: var(--gap-8);\n}\n"],"names":[],"mappings":";;AAEgB,eAAe,CAAC,QAAQ,CAAC,sBAAsB,CAAC;;;;"}
@@ -12,14 +12,14 @@
12
12
  :root {
13
13
  --select-option-list-footer-button-gap: var(--gap-8);
14
14
  }
15
- .select__footer_11a4p {
15
+ .select__footer_1r5ee {
16
16
  background-color: var(--color-light-base-bg-primary);
17
17
  padding: var(--gap-12);
18
18
  outline: none;
19
19
  }
20
- .select__footer_11a4p.select__size-72_11a4p {
20
+ .select__footer_1r5ee.select__size-72_1r5ee {
21
21
  padding: var(--gap-12) var(--gap-16);
22
22
  }
23
- .select__footer_11a4p > .select__button_11a4p + .select__button_11a4p {
23
+ .select__footer_1r5ee > .select__button_1r5ee + .select__button_1r5ee {
24
24
  margin-left: var(--select-option-list-footer-button-gap);
25
25
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- const styles = {"footer":"select__footer_11a4p","size-72":"select__size-72_11a4p","button":"select__button_11a4p"};
3
+ const styles = {"footer":"select__footer_1r5ee","size-72":"select__size-72_1r5ee","button":"select__button_1r5ee"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -6,16 +6,16 @@
6
6
  --gap-12: var(--gap-s);
7
7
  --gap-16: var(--gap-m);
8
8
  }
9
- .select__desktop_yw1ah {
9
+ .select__desktop_ihfuj {
10
10
  padding: var(--gap-12);
11
11
  }
12
- .select__desktop_yw1ah.select__size-72_yw1ah {
12
+ .select__desktop_ihfuj.select__size-72_ihfuj {
13
13
  padding-left: var(--gap-16);
14
14
  }
15
- .select__mobile_yw1ah {
15
+ .select__mobile_ihfuj {
16
16
  padding: var(--gap-12) var(--gap-12) var(--gap-12) var(--gap-8);
17
17
  }
18
- .select__positionAfter_yw1ah {
18
+ .select__positionAfter_ihfuj {
19
19
  margin-left: 0;
20
20
  margin-left: initial;
21
21
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- const styles = {"desktop":"select__desktop_yw1ah","size-72":"select__size-72_yw1ah","mobile":"select__mobile_yw1ah","positionAfter":"select__positionAfter_yw1ah"};
3
+ const styles = {"desktop":"select__desktop_ihfuj","size-72":"select__size-72_ihfuj","mobile":"select__mobile_ihfuj","positionAfter":"select__positionAfter_ihfuj"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -1,4 +1,4 @@
1
- .select__skeleton_1l2j0 {
1
+ .select__skeleton_1k0y5 {
2
2
  position: absolute;
3
3
  top: 50%;
4
4
  transform: translateY(-50%);
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- const styles = {"skeleton":"select__skeleton_1l2j0"};
3
+ const styles = {"skeleton":"select__skeleton_1k0y5"};
4
4
 
5
5
  export { styles as default };
6
6
  //# sourceMappingURL=index.module.css.js.map
@@ -15,7 +15,8 @@
15
15
  font-size: 16px;
16
16
  line-height: 20px;
17
17
  font-weight: 400;
18
- font-family: var(--font-family-system);
18
+ letter-spacing: -0.24px;
19
+ font-family: var(--font-family-alfasans);
19
20
 
20
21
  display: flex;
21
22
  align-items: center;
@@ -63,7 +64,7 @@
63
64
  }
64
65
 
65
66
  .option.textContent.mobile {
66
- padding: var(--gap-16) var(--gap-20) var(--gap-16) var(--gap-16);
67
+ padding: var(--gap-16) var(--gap-20);
67
68
  }
68
69
 
69
70
  .selected {
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  .option.option {
38
- padding: var(--gap-4) var(--gap-20) var(--gap-4) var(--gap-16);
38
+ padding: var(--gap-4) var(--gap-20) var(--gap-4);
39
39
  }
40
40
 
41
41
  .option.option:before {
@@ -40,7 +40,8 @@
40
40
  font-size: 16px;
41
41
  line-height: 20px;
42
42
  font-weight: 400;
43
- font-family: var(--font-family-system);
43
+ letter-spacing: -0.24px;
44
+ font-family: var(--font-family-alfasans);
44
45
 
45
46
  white-space: nowrap;
46
47
  text-overflow: ellipsis;
@@ -52,7 +53,8 @@
52
53
  font-size: 14px;
53
54
  line-height: 18px;
54
55
  font-weight: 400;
55
- font-family: var(--font-family-system);
56
+ letter-spacing: -0.08px;
57
+ font-family: var(--font-family-alfasans);
56
58
  }
57
59
 
58
60
  .value {
@@ -65,7 +67,8 @@
65
67
  font-size: 14px;
66
68
  line-height: 18px;
67
69
  font-weight: 400;
68
- font-family: var(--font-family-system);
70
+ letter-spacing: -0.08px;
71
+ font-family: var(--font-family-alfasans);
69
72
  }
70
73
 
71
74
  .focusVisible {
@@ -29,7 +29,7 @@
29
29
  font-weight: 400;
30
30
  letter-spacing: 1.25px;
31
31
  text-transform: uppercase;
32
- font-family: var(--font-family-system);
32
+ font-family: var(--font-family-alfasans);
33
33
 
34
34
  display: block;
35
35
  color: var(--select-optgroup-color);
@@ -21,7 +21,8 @@
21
21
  font-size: 16px;
22
22
  line-height: 20px;
23
23
  font-weight: 400;
24
- font-family: var(--font-family-system);
24
+ letter-spacing: -0.24px;
25
+ font-family: var(--font-family-alfasans);
25
26
 
26
27
  display: flex;
27
28
  align-items: center;
@@ -21,7 +21,8 @@
21
21
  font-size: 16px;
22
22
  line-height: 20px;
23
23
  font-weight: 400;
24
- font-family: var(--font-family-system);
24
+ letter-spacing: -0.24px;
25
+ font-family: var(--font-family-alfasans);
25
26
 
26
27
  display: flex;
27
28
  align-items: center;
@@ -1,7 +1,15 @@
1
1
  import React, { forwardRef } from 'react';
2
+ import cn from 'classnames';
2
3
  import { SelectMobile } from './Component.mobile.js';
4
+ import styles from './modal.mobile.module.css';
3
5
 
4
- const SelectModalMobile = forwardRef((props, ref) => (React.createElement(SelectMobile, { ...props, isBottomSheet: false, ref: ref })));
6
+ const SelectModalMobile = forwardRef((props, ref) => {
7
+ const { modalHeaderProps, className: headerClassName } = props;
8
+ return (React.createElement(SelectMobile, { ...props, isBottomSheet: false, ref: ref, modalHeaderProps: {
9
+ ...modalHeaderProps,
10
+ className: cn(styles.header, headerClassName),
11
+ } }));
12
+ });
5
13
 
6
14
  export { SelectModalMobile };
7
15
  //# sourceMappingURL=Component.modal.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Component.modal.mobile.js","sources":["../../src/mobile/Component.modal.mobile.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { type SelectModalMobileProps } from '../typings';\n\nimport { SelectMobile } from './Component.mobile';\n\nexport const SelectModalMobile = forwardRef((props: SelectModalMobileProps, ref) => (\n <SelectMobile {...props} isBottomSheet={false} ref={ref} />\n));\n"],"names":[],"mappings":";;;AAMO,MAAM,iBAAiB,GAAG,UAAU,CAAC,CAAC,KAA6B,EAAE,GAAG,MAC3E,KAAC,CAAA,aAAA,CAAA,YAAY,EAAK,EAAA,GAAA,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAI,CAAA,CAC9D;;;;"}
1
+ {"version":3,"file":"Component.modal.mobile.js","sources":["../../src/mobile/Component.modal.mobile.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport cn from 'classnames';\n\nimport { type SelectModalMobileProps } from '../typings';\n\nimport { SelectMobile } from './Component.mobile';\n\nimport styles from './modal.mobile.module.css';\n\nexport const SelectModalMobile = forwardRef((props: SelectModalMobileProps, ref) => {\n const { modalHeaderProps, className: headerClassName } = props;\n\n return (\n <SelectMobile\n {...props}\n isBottomSheet={false}\n ref={ref}\n modalHeaderProps={{\n ...modalHeaderProps,\n className: cn(styles.header, headerClassName),\n }}\n />\n );\n});\n"],"names":[],"mappings":";;;;;AASa,MAAA,iBAAiB,GAAG,UAAU,CAAC,CAAC,KAA6B,EAAE,GAAG,KAAI;IAC/E,MAAM,EAAE,gBAAgB,EAAE,SAAS,EAAE,eAAe,EAAE,GAAG,KAAK;AAE9D,IAAA,QACI,KAAA,CAAA,aAAA,CAAC,YAAY,EAAA,EAAA,GACL,KAAK,EACT,aAAa,EAAE,KAAK,EACpB,GAAG,EAAE,GAAG,EACR,gBAAgB,EAAE;AACd,YAAA,GAAG,gBAAgB;YACnB,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC;AAChD,SAAA,EAAA,CACH;AAEV,CAAC;;;;"}
@@ -0,0 +1,6 @@
1
+
2
+
3
+ .header {
4
+ padding-right: var(--gap-8);
5
+ padding-left: var(--gap-8);
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-select",
3
- "version": "19.1.4",
3
+ "version": "19.1.5-alfasans",
4
4
  "description": "Select component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -10,18 +10,18 @@
10
10
  "main": "index.js",
11
11
  "module": "./esm/index.js",
12
12
  "dependencies": {
13
- "@alfalab/core-components-base-modal": "^7.1.3",
14
- "@alfalab/core-components-bottom-sheet": "^8.1.4",
15
- "@alfalab/core-components-button": "^13.1.1",
16
- "@alfalab/core-components-checkbox": "^6.2.0",
17
- "@alfalab/core-components-form-control": "^14.0.4",
18
- "@alfalab/core-components-input": "^17.1.3",
19
- "@alfalab/core-components-modal": "^11.0.7",
20
- "@alfalab/core-components-mq": "^6.0.3",
21
- "@alfalab/core-components-popover": "^8.0.3",
22
- "@alfalab/core-components-scrollbar": "^5.0.2",
23
- "@alfalab/core-components-shared": "^2.1.1",
24
- "@alfalab/core-components-skeleton": "^7.0.3",
13
+ "@alfalab/core-components-base-modal": "7.1.4-alfasans",
14
+ "@alfalab/core-components-bottom-sheet": "8.1.5-alfasans",
15
+ "@alfalab/core-components-button": "13.1.1-alfasans",
16
+ "@alfalab/core-components-checkbox": "6.2.0-alfasans",
17
+ "@alfalab/core-components-form-control": "14.0.5-alfasans",
18
+ "@alfalab/core-components-input": "17.1.4-alfasans",
19
+ "@alfalab/core-components-modal": "11.0.8-alfasans",
20
+ "@alfalab/core-components-mq": "6.0.3-alfasans",
21
+ "@alfalab/core-components-popover": "8.0.3-alfasans",
22
+ "@alfalab/core-components-scrollbar": "5.0.2-alfasans",
23
+ "@alfalab/core-components-shared": "2.1.1-alfasans",
24
+ "@alfalab/core-components-skeleton": "7.0.3-alfasans",
25
25
  "@alfalab/hooks": "^1.13.1",
26
26
  "@alfalab/icons-glyph": "^2.260.0",
27
27
  "@juggle/resize-observer": "^3.3.1",
@@ -42,6 +42,6 @@
42
42
  "access": "public",
43
43
  "directory": "dist"
44
44
  },
45
- "themesVersion": "15.0.3",
46
- "varsVersion": "11.0.2"
45
+ "themesVersion": "15.0.4-alfasans",
46
+ "varsVersion": "11.0.2-alfasans"
47
47
  }
@@ -12,14 +12,14 @@
12
12
  :root {
13
13
  --select-option-list-footer-button-gap: var(--gap-8);
14
14
  }
15
- .select__footer_11a4p {
15
+ .select__footer_1r5ee {
16
16
  background-color: var(--color-light-base-bg-primary);
17
17
  padding: var(--gap-12);
18
18
  outline: none;
19
19
  }
20
- .select__footer_11a4p.select__size-72_11a4p {
20
+ .select__footer_1r5ee.select__size-72_1r5ee {
21
21
  padding: var(--gap-12) var(--gap-16);
22
22
  }
23
- .select__footer_11a4p > .select__button_11a4p + .select__button_11a4p {
23
+ .select__footer_1r5ee > .select__button_1r5ee + .select__button_1r5ee {
24
24
  margin-left: var(--select-option-list-footer-button-gap);
25
25
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./index.css');
4
4
 
5
- var styles = {"footer":"select__footer_11a4p","size-72":"select__size-72_11a4p","button":"select__button_11a4p"};
5
+ var styles = {"footer":"select__footer_1r5ee","size-72":"select__size-72_1r5ee","button":"select__button_1r5ee"};
6
6
 
7
7
  module.exports = styles;
8
8
  //# sourceMappingURL=index.module.css.js.map
@@ -6,16 +6,16 @@
6
6
  --gap-12: var(--gap-s);
7
7
  --gap-16: var(--gap-m);
8
8
  }
9
- .select__desktop_yw1ah {
9
+ .select__desktop_ihfuj {
10
10
  padding: var(--gap-12);
11
11
  }
12
- .select__desktop_yw1ah.select__size-72_yw1ah {
12
+ .select__desktop_ihfuj.select__size-72_ihfuj {
13
13
  padding-left: var(--gap-16);
14
14
  }
15
- .select__mobile_yw1ah {
15
+ .select__mobile_ihfuj {
16
16
  padding: var(--gap-12) var(--gap-12) var(--gap-12) var(--gap-8);
17
17
  }
18
- .select__positionAfter_yw1ah {
18
+ .select__positionAfter_ihfuj {
19
19
  margin-left: 0;
20
20
  margin-left: initial;
21
21
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./index.css');
4
4
 
5
- var styles = {"desktop":"select__desktop_yw1ah","size-72":"select__size-72_yw1ah","mobile":"select__mobile_yw1ah","positionAfter":"select__positionAfter_yw1ah"};
5
+ var styles = {"desktop":"select__desktop_ihfuj","size-72":"select__size-72_ihfuj","mobile":"select__mobile_ihfuj","positionAfter":"select__positionAfter_ihfuj"};
6
6
 
7
7
  module.exports = styles;
8
8
  //# sourceMappingURL=index.module.css.js.map
@@ -1,4 +1,4 @@
1
- .select__skeleton_1l2j0 {
1
+ .select__skeleton_1k0y5 {
2
2
  position: absolute;
3
3
  top: 50%;
4
4
  transform: translateY(-50%);
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./index.css');
4
4
 
5
- var styles = {"skeleton":"select__skeleton_1l2j0"};
5
+ var styles = {"skeleton":"select__skeleton_1k0y5"};
6
6
 
7
7
  module.exports = styles;
8
8
  //# sourceMappingURL=index.module.css.js.map
@@ -48,7 +48,7 @@
48
48
  }
49
49
 
50
50
  &.mobile {
51
- padding: var(--gap-16) var(--gap-20) var(--gap-16) var(--gap-16);
51
+ padding: var(--gap-16) var(--gap-20);
52
52
  }
53
53
  }
54
54
  }
@@ -38,7 +38,7 @@
38
38
  }
39
39
 
40
40
  .option.option {
41
- padding: var(--gap-4) var(--gap-20) var(--gap-4) var(--gap-16);
41
+ padding: var(--gap-4) var(--gap-20) var(--gap-4);
42
42
 
43
43
  &:before {
44
44
  display: none;
@@ -1,9 +1,24 @@
1
1
  import React, { forwardRef } from 'react';
2
+ import cn from 'classnames';
2
3
 
3
4
  import { type SelectModalMobileProps } from '../typings';
4
5
 
5
6
  import { SelectMobile } from './Component.mobile';
6
7
 
7
- export const SelectModalMobile = forwardRef((props: SelectModalMobileProps, ref) => (
8
- <SelectMobile {...props} isBottomSheet={false} ref={ref} />
9
- ));
8
+ import styles from './modal.mobile.module.css';
9
+
10
+ export const SelectModalMobile = forwardRef((props: SelectModalMobileProps, ref) => {
11
+ const { modalHeaderProps, className: headerClassName } = props;
12
+
13
+ return (
14
+ <SelectMobile
15
+ {...props}
16
+ isBottomSheet={false}
17
+ ref={ref}
18
+ modalHeaderProps={{
19
+ ...modalHeaderProps,
20
+ className: cn(styles.header, headerClassName),
21
+ }}
22
+ />
23
+ );
24
+ });
@@ -0,0 +1,6 @@
1
+ @import '@alfalab/core-components-vars/src/index.css';
2
+
3
+ .header {
4
+ padding-right: var(--gap-8);
5
+ padding-left: var(--gap-8);
6
+ }