@salutejs/plasma-new-hope 0.174.0-canary.1504.11479867300.0 → 0.174.0-canary.1505.11485998091.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. package/cjs/components/Combobox/ComboboxNew/Combobox.js +9 -2
  2. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  3. package/cjs/components/Combobox/ComboboxNew/utils/getInitialValue.js +27 -0
  4. package/cjs/components/Combobox/ComboboxNew/utils/getInitialValue.js.map +1 -0
  5. package/cjs/components/Pagination/Pagination.css +13 -13
  6. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +13 -13
  7. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  8. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
  9. package/cjs/components/Select/Select.css +13 -13
  10. package/cjs/components/Select/Select.js +12 -16
  11. package/cjs/components/Select/Select.js.map +1 -1
  12. package/cjs/components/Select/Select.styles.js +1 -1
  13. package/cjs/components/Select/Select.styles.js.map +1 -1
  14. package/cjs/components/Select/Select.styles_1nzals0.css +5 -0
  15. package/cjs/components/Select/Select.tokens.js +1 -17
  16. package/cjs/components/Select/Select.tokens.js.map +1 -1
  17. package/cjs/components/Select/hooks/useKeyboardNavigation.js +1 -1
  18. package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  19. package/cjs/components/Select/ui/Inner/Inner.css +13 -13
  20. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +13 -13
  21. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +11 -11
  22. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  23. package/cjs/components/Select/ui/Inner/ui/Item/{Item.styles_1gaxu1y.css → Item.styles_baxa65.css} +2 -2
  24. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  25. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  26. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  27. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  28. package/cjs/components/Select/utils/getButtonLabel.js +1 -1
  29. package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
  30. package/cjs/components/Select/utils/getInitialValue.js +27 -0
  31. package/cjs/components/Select/utils/getInitialValue.js.map +1 -0
  32. package/cjs/components/Select/utils/initialItemsTransform.js +8 -4
  33. package/cjs/components/Select/utils/initialItemsTransform.js.map +1 -1
  34. package/cjs/index.css +13 -13
  35. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +8 -2
  36. package/emotion/cjs/components/Combobox/ComboboxNew/utils/getInitialValue.js +26 -0
  37. package/emotion/cjs/components/Combobox/ComboboxNew/utils/index.js +8 -1
  38. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  39. package/emotion/cjs/components/Select/Select.js +11 -16
  40. package/emotion/cjs/components/Select/Select.styles.js +5 -5
  41. package/emotion/cjs/components/Select/Select.tokens.js +1 -17
  42. package/emotion/cjs/components/Select/hooks/useKeyboardNavigation.js +1 -1
  43. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +10 -10
  44. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  45. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
  46. package/emotion/cjs/components/Select/utils/getButtonLabel.js +1 -1
  47. package/emotion/cjs/components/Select/utils/getInitialValue.js +26 -0
  48. package/emotion/cjs/components/Select/utils/index.js +8 -1
  49. package/emotion/cjs/components/Select/utils/initialItemsTransform.js +18 -4
  50. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +9 -3
  51. package/emotion/es/components/Combobox/ComboboxNew/utils/getInitialValue.js +20 -0
  52. package/emotion/es/components/Combobox/ComboboxNew/utils/index.js +2 -1
  53. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  54. package/emotion/es/components/Select/Select.js +12 -17
  55. package/emotion/es/components/Select/Select.styles.js +5 -5
  56. package/emotion/es/components/Select/Select.tokens.js +1 -17
  57. package/emotion/es/components/Select/hooks/useKeyboardNavigation.js +1 -1
  58. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +10 -10
  59. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  60. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
  61. package/emotion/es/components/Select/utils/getButtonLabel.js +1 -1
  62. package/emotion/es/components/Select/utils/getInitialValue.js +20 -0
  63. package/emotion/es/components/Select/utils/index.js +2 -1
  64. package/emotion/es/components/Select/utils/initialItemsTransform.js +18 -4
  65. package/es/components/Combobox/ComboboxNew/Combobox.js +9 -2
  66. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  67. package/es/components/Combobox/ComboboxNew/utils/getInitialValue.js +23 -0
  68. package/es/components/Combobox/ComboboxNew/utils/getInitialValue.js.map +1 -0
  69. package/es/components/Pagination/Pagination.css +13 -13
  70. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +13 -13
  71. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  72. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
  73. package/es/components/Select/Select.css +13 -13
  74. package/es/components/Select/Select.js +13 -17
  75. package/es/components/Select/Select.js.map +1 -1
  76. package/es/components/Select/Select.styles.js +1 -1
  77. package/es/components/Select/Select.styles.js.map +1 -1
  78. package/es/components/Select/Select.styles_1nzals0.css +5 -0
  79. package/es/components/Select/Select.tokens.js +1 -17
  80. package/es/components/Select/Select.tokens.js.map +1 -1
  81. package/es/components/Select/hooks/useKeyboardNavigation.js +1 -1
  82. package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  83. package/es/components/Select/ui/Inner/Inner.css +13 -13
  84. package/es/components/Select/ui/Inner/ui/Item/Item.css +13 -13
  85. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +11 -11
  86. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  87. package/es/components/Select/ui/Inner/ui/Item/{Item.styles_1gaxu1y.css → Item.styles_baxa65.css} +2 -2
  88. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  89. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  90. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  91. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  92. package/es/components/Select/utils/getButtonLabel.js +1 -1
  93. package/es/components/Select/utils/getButtonLabel.js.map +1 -1
  94. package/es/components/Select/utils/getInitialValue.js +23 -0
  95. package/es/components/Select/utils/getInitialValue.js.map +1 -0
  96. package/es/components/Select/utils/initialItemsTransform.js +8 -4
  97. package/es/components/Select/utils/initialItemsTransform.js.map +1 -1
  98. package/es/index.css +13 -13
  99. package/package.json +2 -2
  100. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +8 -2
  101. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/getInitialValue.js +26 -0
  102. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/index.js +8 -1
  103. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  104. package/styled-components/cjs/components/Select/Select.js +11 -16
  105. package/styled-components/cjs/components/Select/Select.styles.js +2 -2
  106. package/styled-components/cjs/components/Select/Select.tokens.js +1 -17
  107. package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +1 -1
  108. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +3 -3
  109. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  110. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  111. package/styled-components/cjs/components/Select/utils/getButtonLabel.js +1 -1
  112. package/styled-components/cjs/components/Select/utils/getInitialValue.js +26 -0
  113. package/styled-components/cjs/components/Select/utils/index.js +8 -1
  114. package/styled-components/cjs/components/Select/utils/initialItemsTransform.js +18 -4
  115. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +9 -3
  116. package/styled-components/es/components/Combobox/ComboboxNew/utils/getInitialValue.js +20 -0
  117. package/styled-components/es/components/Combobox/ComboboxNew/utils/index.js +2 -1
  118. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  119. package/styled-components/es/components/Select/Select.js +12 -17
  120. package/styled-components/es/components/Select/Select.styles.js +2 -2
  121. package/styled-components/es/components/Select/Select.tokens.js +1 -17
  122. package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +1 -1
  123. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +3 -3
  124. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  125. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  126. package/styled-components/es/components/Select/utils/getButtonLabel.js +1 -1
  127. package/styled-components/es/components/Select/utils/getInitialValue.js +20 -0
  128. package/styled-components/es/components/Select/utils/index.js +2 -1
  129. package/styled-components/es/components/Select/utils/initialItemsTransform.js +18 -4
  130. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  131. package/types/components/Combobox/ComboboxNew/utils/getInitialValue.d.ts +4 -0
  132. package/types/components/Combobox/ComboboxNew/utils/getInitialValue.d.ts.map +1 -0
  133. package/types/components/Combobox/ComboboxNew/utils/index.d.ts +1 -0
  134. package/types/components/Combobox/ComboboxNew/utils/index.d.ts.map +1 -1
  135. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +8 -8
  136. package/types/components/Select/Select.d.ts +2 -2
  137. package/types/components/Select/Select.d.ts.map +1 -1
  138. package/types/components/Select/Select.tokens.d.ts +0 -16
  139. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  140. package/types/components/Select/Select.types.d.ts +2 -1
  141. package/types/components/Select/Select.types.d.ts.map +1 -1
  142. package/types/components/Select/hooks/useKeyboardNavigation.d.ts +2 -2
  143. package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
  144. package/types/components/Select/ui/Target/Target.types.d.ts +2 -2
  145. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  146. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +4 -4
  147. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  148. package/types/components/Select/utils/getInitialValue.d.ts +4 -0
  149. package/types/components/Select/utils/getInitialValue.d.ts.map +1 -0
  150. package/types/components/Select/utils/index.d.ts +1 -0
  151. package/types/components/Select/utils/index.d.ts.map +1 -1
  152. package/types/components/Select/utils/initialItemsTransform.d.ts.map +1 -1
  153. package/types/examples/plasma_b2c/components/Select/Select.d.ts +8 -8
  154. package/types/examples/plasma_web/components/Select/Select.d.ts +8 -8
  155. package/cjs/components/Select/Select.styles_ei4ic3.css +0 -5
  156. package/es/components/Select/Select.styles_ei4ic3.css +0 -5
@@ -20,18 +20,6 @@ export var tokens = {
20
20
  fontWeight: '--plasma-select-font-weight',
21
21
  fontLetterSpacing: '--plasma-select-font-letter-spacing',
22
22
  fontLineHeight: '--plasma-select-font-line-height',
23
- labelFontFamily: '--plasma-select-label-font-family',
24
- labelFontSize: '--plasma-select-label-font-size',
25
- labelFontStyle: '--plasma-select-label-font-style',
26
- labelFontWeight: '--plasma-select-label-font-weight',
27
- labelFontLetterSpacing: '--plasma-select-label-font-letter-spacing',
28
- labelFontLineHeight: '--plasma-select-label-font-line-height',
29
- helperTextFontFamily: '--plasma-select-helper-text-font-family',
30
- helperTextFontSize: '--plasma-select-helper-text-font-size',
31
- helperTextFontStyle: '--plasma-select-helper-text-font-style',
32
- helperTextFontWeight: '--plasma-select-helper-text-font-weight',
33
- helperTextFontLetterSpacing: '--plasma-select-helper-text-font-letter-spacing',
34
- helperTextFontLineHeight: '--plasma-select-helper-text-font-line-height',
35
23
  itemHeight: '--plasma-select-item-height',
36
24
  itemBorderRadius: '--plasma-select-item-border-radius',
37
25
  itemPadding: '--plasma-select-item-padding',
@@ -39,8 +27,6 @@ export var tokens = {
39
27
  itemIconSize: '--plasma-select-item-icon-size',
40
28
  itemIconSizeTight: '--plasma-select-item-icon-size-tight',
41
29
  itemIconMargin: '--plasma-select-item-icon-margin',
42
- itemBackground: '--plasma-select-item-background',
43
- itemBackgroundHover: '--plasma-select-item-background-hover',
44
30
  checkboxTriggerSize: '--plasma-select-checkbox-trigger-size',
45
31
  checkboxTriggerSizeTight: '--plasma-select-checkbox-trigger-size-tight',
46
32
  checkboxTriggerBorderRadius: '--plasma-select-checkbox-trigger-border-radius',
@@ -92,9 +78,7 @@ export var tokens = {
92
78
  helperTextColor: '--plasma-select-helper-text-color',
93
79
  helperTextOffset: '--plasma-select-helper-text-offset',
94
80
  spinnerSize: '--plasma-select-spinner-size',
95
- spinnerSizeTight: '--plasma-select-spinner-size-tight',
96
- disclosureIconColor: '--plasma-select-disclosure-icon-color',
97
- disclosureIconColorHover: '--plasma-select-disclosure-icon-color-hover'
81
+ spinnerSizeTight: '--plasma-select-spinner-size-tight'
98
82
  };
99
83
  export var constants = {
100
84
  focusColor: '--surface-accent',
@@ -153,7 +153,7 @@ export var useKeyNavigation = function useKeyNavigation(_ref) {
153
153
  }
154
154
  case keys.Backspace:
155
155
  {
156
- if (!multiselect) break;
156
+ if (!multiselect || !Array.isArray(value)) break;
157
157
  if (focusedChipIndex !== null) {
158
158
  var _currentItem = valueToItemMap.get(value[focusedChipIndex]);
159
159
  handlePressDown(_currentItem);
@@ -22,7 +22,7 @@ export var StyledContentRight = /*#__PURE__*/styled.div.withConfig({
22
22
  })(["margin-left:auto;display:inline-flex;"]);
23
23
  export var DisclosureIconWrapper = /*#__PURE__*/styled.div.withConfig({
24
24
  componentId: "plasma-new-hope__sc-fr2h0y-4"
25
- })(["line-height:0;color:var(", ",var(", "));&:hover{color:var(", ",var(", "));}"], tokens.disclosureIconColor, constants.disclosureIconColor, tokens.disclosureIconColorHover, constants.disclosureIconColorHover);
25
+ })(["line-height:0;color:var(", ");&:hover{color:var(", ");}"], constants.disclosureIconColor, constants.disclosureIconColorHover);
26
26
  export var IconWrapper = /*#__PURE__*/styled.div.withConfig({
27
27
  componentId: "plasma-new-hope__sc-fr2h0y-5"
28
28
  })(["display:flex;align-items:center;justify-content:center;width:", ";height:", ";margin:var(", ");line-height:0;color:var(", ");& .", "{--plasma-checkbox-trigger-size:", ";--plasma-checkbox-trigger-border-radius:", ";}"], function (_ref) {
@@ -46,10 +46,10 @@ export var StyledText = /*#__PURE__*/styled.div.withConfig({
46
46
  });
47
47
  export var Wrapper = /*#__PURE__*/styled.li.withConfig({
48
48
  componentId: "plasma-new-hope__sc-fr2h0y-7"
49
- })(["display:flex;align-items:center;min-height:var(", ");margin:0;box-sizing:content-box;padding:", ";font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");background:var(", ",var(", "));color:var(--text-primary);border-radius:var(", ");user-select:none;&:hover:not(.", "){cursor:pointer;background:var(", ",var(", "));}&.", "{background:var(", ",var(", "));}&.", "{opacity:", ";cursor:not-allowed;}:focus{outline:none;}", ";"], tokens.itemHeight, function (_ref6) {
49
+ })(["display:flex;align-items:center;min-height:var(", ");margin:0;box-sizing:content-box;padding:", ";font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");background:var(", ");color:var(--text-primary);border-radius:var(", ");user-select:none;&:hover:not(.", "){cursor:pointer;background:var(", ");}&.", "{background:var(", ");}&.", "{opacity:", ";cursor:not-allowed;}:focus{outline:none;}", ";"], tokens.itemHeight, function (_ref6) {
50
50
  var variant = _ref6.variant;
51
51
  return "var(".concat(variant === 'tight' ? tokens.itemPaddingTight : tokens.itemPadding, ")");
52
- }, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, tokens.itemBackground, constants.itemBackground, tokens.itemBorderRadius, classes.dropdownItemIsDisabled, tokens.itemBackgroundHover, constants.itemBackgroundHover, classes.dropdownItemIsActive, tokens.itemBackgroundHover, constants.itemBackgroundHover, classes.dropdownItemIsDisabled, constants.opacity, /*#__PURE__*/addFocus({
52
+ }, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, constants.itemBackground, tokens.itemBorderRadius, classes.dropdownItemIsDisabled, constants.itemBackgroundHover, classes.dropdownItemIsActive, constants.itemBackgroundHover, classes.dropdownItemIsDisabled, constants.opacity, /*#__PURE__*/addFocus({
53
53
  outlineSize: '0.0625rem',
54
54
  outlineOffset: '0',
55
55
  outlineColor: /*#__PURE__*/"var(".concat(constants.focusColor, ")"),
@@ -34,7 +34,7 @@ var getLabel = function getLabel(_ref) {
34
34
  text: renderValue ? renderValue(valueToItemMap.get(currentValue)) : itemLabel,
35
35
  onClick: function onClick(e) {
36
36
  e.stopPropagation();
37
- onChipClick(currentValue);
37
+ onChipClick(currentValue.toString());
38
38
  },
39
39
  focused: focusedChipIndex === index
40
40
  });
@@ -47,7 +47,7 @@ export var ChipWrapper = /*#__PURE__*/styled.div.withConfig({
47
47
  })(["width:100%;display:flex;min-width:0;padding:", ";gap:0.25rem;overflow-x:scroll;border-top-right-radius:var(", ");border-bottom-right-radius:var(", ");-ms-overflow-style:none;scrollbar-width:none;&::-webkit-scrollbar{display:none;}"], function (_ref6) {
48
48
  var multiselect = _ref6.multiselect,
49
49
  value = _ref6.value;
50
- return "calc(".concat(constants.focusSize, " + ").concat(multiselect && value && value.length > 0 ? "var(".concat(tokens.focusOffset, ")") : 0, ")");
50
+ return "calc(".concat(constants.focusSize, " + ").concat(multiselect && value && value.toString().length > 0 ? "var(".concat(tokens.focusOffset, ")") : 0, ")");
51
51
  }, tokens.chipBorderRadius, tokens.chipBorderRadius);
52
52
  export var Label = /*#__PURE__*/styled.label.withConfig({
53
53
  componentId: "plasma-new-hope__sc-1akl2tk-6"
@@ -17,7 +17,7 @@ export var getButtonLabel = function getButtonLabel(_ref3) {
17
17
  return label || '';
18
18
  }
19
19
  if (selectProps.multiselect && selectProps.isTargetAmount) {
20
- return "\u0412\u044B\u0431\u0440\u0430\u043D\u043E: ".concat(value.length);
20
+ return "\u0412\u044B\u0431\u0440\u0430\u043D\u043E: ".concat(value.toString().length);
21
21
  }
22
22
  if (selectProps.multiselect && Array.isArray(value)) {
23
23
  return value === null || value === void 0 ? void 0 : value.map(function (itemValue) {
@@ -0,0 +1,20 @@
1
+ // Утилита предназначена для фильтрации элементов в value, которые отсутствуют в items.
2
+ // Эти элементы игнорируются и не участвуют в дальнейшей работе компонента.
3
+ export var getInitialValue = function getInitialValue(outerValue, valueToItemMap) {
4
+ if (Array.isArray(outerValue)) {
5
+ if (outerValue.length === 0) {
6
+ return [];
7
+ }
8
+ var updatedValue = [];
9
+ outerValue.forEach(function (value) {
10
+ if (valueToItemMap.has(value)) {
11
+ updatedValue.push(value);
12
+ }
13
+ });
14
+ return updatedValue;
15
+ }
16
+ if (valueToItemMap.has(outerValue)) {
17
+ return outerValue;
18
+ }
19
+ return '';
20
+ };
@@ -5,4 +5,5 @@ export { updateSingleAncestors } from './updateSingleAncestors';
5
5
  export { sizeToIconSize } from './sizeToIconSize';
6
6
  export { getCorrectHeight } from './getCorrectHeight';
7
7
  export { getButtonLabel } from './getButtonLabel';
8
- export { getView } from './getView';
8
+ export { getView } from './getView';
9
+ export { getInitialValue } from './getInitialValue';
@@ -1,12 +1,26 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
8
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
10
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
11
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
12
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
1
13
  // Проходимся по массиву items и добавляем в каждый item ключ parent, который ссылается на item родителя.
2
14
  // Дает возможность прохода к корневому элементу (снизу вверх).
3
-
15
+ // На выходе получаем глубокую копию исходного массива items.
4
16
  export var initialItemsTransform = function initialItemsTransform(items, parent) {
5
- items.forEach(function (item) {
6
- item.parent = parent;
17
+ var newItems = _toConsumableArray(items);
18
+ newItems.forEach(function (item) {
19
+ var newItem = _objectSpread({}, item);
20
+ newItem.parent = parent;
7
21
  if (item.items) {
8
22
  item.items = initialItemsTransform(item.items, item);
9
23
  }
10
24
  });
11
- return items;
25
+ return newItems;
12
26
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4F,MAAM,OAAO,CAAC;AAIjH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAoB7C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKnE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,+IAuYtF,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAzYQ,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;CA8Z3F,CAAC"}
1
+ {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4F,MAAM,OAAO,CAAC;AAIjH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAqB7C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKnE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,+IAgZtF,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAlZQ,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;CAua3F,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { ComboboxProps } from '../Combobox.types';
2
+ import { ValueToItemMapType } from '../hooks/getPathMaps';
3
+ export declare const getInitialValue: (outerValue: NonNullable<ComboboxProps['value']>, valueToItemMap: ValueToItemMapType) => string | string[];
4
+ //# sourceMappingURL=getInitialValue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getInitialValue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ComboboxNew/utils/getInitialValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAI1D,eAAO,MAAM,eAAe,eACZ,YAAY,aAAa,CAAC,OAAO,CAAC,CAAC,0DAwBlD,CAAC"}
@@ -5,4 +5,5 @@ export { updateSingleAncestors } from './updateSingleAncestors';
5
5
  export { sizeToIconSize } from './sizeToIconSize';
6
6
  export { filterItems } from './filterItems';
7
7
  export { getItemId } from './getItemId';
8
+ export { getInitialValue } from './getInitialValue';
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ComboboxNew/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Combobox/ComboboxNew/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
@@ -11,8 +11,8 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
11
11
  multiselect?: false | undefined;
12
12
  separator?: undefined;
13
13
  } & {
14
- value: any;
15
- onChange?: ((value: any) => void) | undefined;
14
+ value: import("../../../Select/Select.types").DefaultValueType;
15
+ onChange?: ((value: import("../../../Select/Select.types").DefaultValueType) => void) | undefined;
16
16
  listOverflow?: import("csstype").Property.Overflow | undefined;
17
17
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
18
18
  status?: "error" | "success" | "warning" | undefined;
@@ -49,8 +49,8 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
49
49
  multiselect?: true | undefined;
50
50
  separator?: string | undefined;
51
51
  } & {
52
- value: any;
53
- onChange?: ((value: any) => void) | undefined;
52
+ value: import("../../../Select/Select.types").DefaultValueType;
53
+ onChange?: ((value: import("../../../Select/Select.types").DefaultValueType) => void) | undefined;
54
54
  listOverflow?: import("csstype").Property.Overflow | undefined;
55
55
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
56
56
  status?: "error" | "success" | "warning" | undefined;
@@ -87,8 +87,8 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
87
87
  multiselect?: false | undefined;
88
88
  separator?: undefined;
89
89
  } & {
90
- value: any;
91
- onChange?: ((value: any) => void) | undefined;
90
+ value: import("../../../Select/Select.types").DefaultValueType;
91
+ onChange?: ((value: import("../../../Select/Select.types").DefaultValueType) => void) | undefined;
92
92
  listOverflow?: import("csstype").Property.Overflow | undefined;
93
93
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
94
94
  status?: "error" | "success" | "warning" | undefined;
@@ -125,8 +125,8 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
125
125
  multiselect?: true | undefined;
126
126
  separator?: string | undefined;
127
127
  } & {
128
- value: any;
129
- onChange?: ((value: any) => void) | undefined;
128
+ value: import("../../../Select/Select.types").DefaultValueType;
129
+ onChange?: ((value: import("../../../Select/Select.types").DefaultValueType) => void) | undefined;
130
130
  listOverflow?: import("csstype").Property.Overflow | undefined;
131
131
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
132
132
  status?: "error" | "success" | "warning" | undefined;
@@ -5,11 +5,11 @@ export declare const Context: React.Context<ItemContext>;
5
5
  /**
6
6
  * Выпадающий список. Поддерживает выбор одного или нескольких значений.
7
7
  */
8
- export declare const selectRoot: (Root: RootProps<HTMLButtonElement, Omit<MergedSelectProps, 'items'>>) => React.ForwardRefExoticComponent<MergedSelectProps<any> & React.RefAttributes<HTMLButtonElement>>;
8
+ export declare const selectRoot: (Root: RootProps<HTMLButtonElement, Omit<MergedSelectProps, 'items'>>) => React.ForwardRefExoticComponent<MergedSelectProps<import("./Select.types").DefaultValueType> & React.RefAttributes<HTMLButtonElement>>;
9
9
  export declare const selectConfig: {
10
10
  name: string;
11
11
  tag: string;
12
- layout: (Root: RootProps<HTMLButtonElement, Omit<MergedSelectProps, 'items'>>) => React.ForwardRefExoticComponent<MergedSelectProps<any> & React.RefAttributes<HTMLButtonElement>>;
12
+ layout: (Root: RootProps<HTMLButtonElement, Omit<MergedSelectProps, 'items'>>) => React.ForwardRefExoticComponent<MergedSelectProps<import("./Select.types").DefaultValueType> & React.RefAttributes<HTMLButtonElement>>;
13
13
  base: import("@linaria/core").LinariaClassName;
14
14
  variations: {
15
15
  view: {
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoF,MAAM,OAAO,CAAC;AAEzG,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAU1C,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAKrE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,UAAU,SAAU,UAAU,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC,qGAmSzF,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBArSQ,UAAU,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;CAuT9F,CAAC"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoF,MAAM,OAAO,CAAC;AAEzG,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAiB1C,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAKrE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,UAAU,SAAU,UAAU,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC,2IA6RzF,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBA/RQ,UAAU,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;CAiT9F,CAAC"}
@@ -20,18 +20,6 @@ export declare const tokens: {
20
20
  fontWeight: string;
21
21
  fontLetterSpacing: string;
22
22
  fontLineHeight: string;
23
- labelFontFamily: string;
24
- labelFontSize: string;
25
- labelFontStyle: string;
26
- labelFontWeight: string;
27
- labelFontLetterSpacing: string;
28
- labelFontLineHeight: string;
29
- helperTextFontFamily: string;
30
- helperTextFontSize: string;
31
- helperTextFontStyle: string;
32
- helperTextFontWeight: string;
33
- helperTextFontLetterSpacing: string;
34
- helperTextFontLineHeight: string;
35
23
  itemHeight: string;
36
24
  itemBorderRadius: string;
37
25
  itemPadding: string;
@@ -39,8 +27,6 @@ export declare const tokens: {
39
27
  itemIconSize: string;
40
28
  itemIconSizeTight: string;
41
29
  itemIconMargin: string;
42
- itemBackground: string;
43
- itemBackgroundHover: string;
44
30
  checkboxTriggerSize: string;
45
31
  checkboxTriggerSizeTight: string;
46
32
  checkboxTriggerBorderRadius: string;
@@ -93,8 +79,6 @@ export declare const tokens: {
93
79
  helperTextOffset: string;
94
80
  spinnerSize: string;
95
81
  spinnerSizeTight: string;
96
- disclosureIconColor: string;
97
- disclosureIconColorHover: string;
98
82
  };
99
83
  export declare const constants: {
100
84
  focusColor: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;CAWnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmGlB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;CAoBrB,CAAC"}
1
+ {"version":3,"file":"Select.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;CAWnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFlB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;CAoBrB,CAAC"}
@@ -172,7 +172,8 @@ declare type DropdownNodeOld = {
172
172
  color?: string;
173
173
  contentLeft?: React.ReactNode;
174
174
  };
175
- export declare type MergedSelectProps<T = any> = Target & ({
175
+ export declare type DefaultValueType = string | number | Array<string | number>;
176
+ export declare type MergedSelectProps<T = DefaultValueType> = Target & ({
176
177
  multiselect?: false;
177
178
  separator?: never;
178
179
  } | {
@@ -1 +1 @@
1
- {"version":3,"file":"Select.types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EACH,UAAU,EACV,kBAAkB,IAAI,YAAY,EAClC,6BAA6B,EAChC,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAErF,aAAK,oBAAoB,GAAG,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AC,SAAS,CAAC;IACrD;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,GAAG,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,UAAU,GAAG,iBAAiB,GAAG,OAAO,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { Dispatch } from 'react';
2
2
  import React from 'react';
3
3
  import { PathAction, PathState, FocusedPathAction, FocusedPathState, FocusedChipIndexState, FocusedChipIndexAction } from '../reducers';
4
- import { SelectProps } from '../Select.types';
4
+ import { SelectProps, DefaultValueType } from '../Select.types';
5
5
  import type { MergedDropdownNodeTransformed } from '../ui/Inner/ui/Item/Item.types';
6
6
  import { PathMapType, FocusedToValueMapType, ValueToItemMapType } from './usePathMaps';
7
7
  export declare const keys: {
@@ -30,7 +30,7 @@ declare type Props = {
30
30
  handlePressDown: (item: MergedDropdownNodeTransformed, e?: React.MouseEvent<HTMLElement>) => void;
31
31
  focusedChipIndex: FocusedChipIndexState;
32
32
  dispatchFocusedChipIndex: Dispatch<FocusedChipIndexAction>;
33
- value: string | string[];
33
+ value: DefaultValueType;
34
34
  valueToItemMap: ValueToItemMapType;
35
35
  multiselect: SelectProps['multiselect'];
36
36
  isTargetAmount: SelectProps['isTargetAmount'];
@@ -1 +1 @@
1
- {"version":3,"file":"useKeyboardNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/hooks/useKeyboardNavigation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACH,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,q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AAEF,aAAK,aAAa,GAAG;IACjB,SAAS,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;CAChE,CAAC;AAEF,eAAO,MAAM,gBAAgB,yNAe1B,KAAK,KAAG,aAiQV,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import type { KeyboardEvent } from 'react';
2
2
  import type { ValueToItemMapType, FocusedToValueMapType } from '../../hooks/usePathMaps';
3
3
  import { FocusedChipIndexState, FocusedPathState } from '../../reducers';
4
- import type { MergedSelectProps } from '../../Select.types';
4
+ import type { MergedSelectProps, DefaultValueType } from '../../Select.types';
5
5
  export declare type TargetProps = Pick<MergedSelectProps, 'size' | 'label' | 'labelPlacement' | 'placeholder' | 'contentLeft' | 'disabled' | 'renderValue'> & {
6
- value: string | string[];
6
+ value: DefaultValueType;
7
7
  opened: boolean;
8
8
  valueToItemMap: ValueToItemMapType;
9
9
  onChipClick: (value: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"Target.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/Target/Target.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACzF,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,oBAAY,WAAW,GAAG,IAAI,CAC1B,iBAAiB,EACjB,MAAM,GAAG,OAAO,GAAG,gBAAgB,GAAG,aAAa,GAAG,aAAa,GAAG,UAAU,GAAG,aAAa,CACnG,GAAG;IACA,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,kBAAkB,CAAC;IACnC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACvD,gBAAgB,EAAE,qBAAqB,CAAC;IACxC,WAAW,EAAE,gBAAgB,CAAC;IAC9B,iBAAiB,EAAE,qBAAqB,CAAC;IACzC,WAAW,EAAE,iBAAiB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
1
+ {"version":3,"file":"Target.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/Target/Target.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACzF,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE9E,oBAAY,WAAW,GAAG,IAAI,CAC1B,iBAAiB,EACjB,MAAM,GAAG,OAAO,GAAG,gBAAgB,GAAG,aAAa,GAAG,aAAa,GAAG,UAAU,GAAG,aAAa,CACnG,GAAG;IACA,KAAK,EAAE,gBAAgB,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,kBAAkB,CAAC;IACnC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACvD,gBAAgB,EAAE,qBAAqB,CAAC;IACxC,WAAW,EAAE,gBAAgB,CAAC;IAC9B,iBAAiB,EAAE,qBAAqB,CAAC;IACzC,WAAW,EAAE,iBAAiB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- import type { SelectProps } from '../../../../Select.types';
2
+ import type { MergedSelectProps } from '../../../../Select.types';
3
3
  export declare const TextfieldWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
4
4
  opened: boolean;
5
- value: SelectProps['value'];
5
+ value: MergedSelectProps['value'];
6
6
  }>;
7
7
  export declare const StyledButton: import("@linaria/react").StyledComponent<{
8
8
  renderTarget: boolean;
@@ -53,8 +53,8 @@ export declare const StyledArrow: import("@linaria/react").StyledMeta & import("
53
53
  export declare const IconArrowWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
54
54
  export declare const Wrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
55
55
  export declare const ChipWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
56
- multiselect: SelectProps['multiselect'];
57
- value: SelectProps['value'];
56
+ multiselect: MergedSelectProps['multiselect'];
57
+ value: MergedSelectProps['value'];
58
58
  }>;
59
59
  export declare const Label: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & Record<never, unknown>>;
60
60
  export declare const Placeholder: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Textfield.styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/ui/Target/ui/Textfield/Textfield.styles.tsx"],"names":[],"mappings":";AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAK5D,eAAO,MAAM,gBAAgB;YA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B,CAAC;AAEF,eAAO,MAAM,WAAW,qKAQvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAW7B,CAAC;AAEF,eAAO,MAAM,UAAU,8KAStB,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAK9B,CAAC;AAEF,eAAO,MAAM,KAAK,uKAEjB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { MergedSelectProps } from '../Select.types';
2
+ import { ValueToItemMapType } from '../hooks/usePathMaps';
3
+ export declare const getInitialValue: (outerValue: MergedSelectProps['value'], valueToItemMap: ValueToItemMapType) => string | number | (string | number)[];
4
+ //# sourceMappingURL=getInitialValue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getInitialValue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/utils/getInitialValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAI1D,eAAO,MAAM,eAAe,eAAgB,iBAAiB,CAAC,OAAO,CAAC,8EAsBrE,CAAC"}
@@ -6,4 +6,5 @@ export { sizeToIconSize } from './sizeToIconSize';
6
6
  export { getCorrectHeight } from './getCorrectHeight';
7
7
  export { getButtonLabel } from './getButtonLabel';
8
8
  export { getView } from './getView';
9
+ export { getInitialValue } from './getInitialValue';
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"initialItemsTransform.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/utils/initialItemsTransform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAK/E,eAAO,MAAM,qBAAqB,UACvB,MAAM,6BAA6B,CAAC,yDAE5C,MAAM,6BAA6B,CAUrC,CAAC"}
1
+ {"version":3,"file":"initialItemsTransform.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/utils/initialItemsTransform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAK/E,eAAO,MAAM,qBAAqB,UACvB,MAAM,6BAA6B,CAAC,yDAE5C,MAAM,6BAA6B,CAcrC,CAAC"}
@@ -34,8 +34,8 @@ declare const Select: import("react").FunctionComponent<import("../../../../engi
34
34
  multiselect?: false | undefined;
35
35
  separator?: undefined;
36
36
  } & {
37
- value: any;
38
- onChange?: ((value: any) => void) | undefined;
37
+ value: import("../../../../components/Select/Select.types").DefaultValueType;
38
+ onChange?: ((value: import("../../../../components/Select/Select.types").DefaultValueType) => void) | undefined;
39
39
  listOverflow?: import("csstype").Property.Overflow | undefined;
40
40
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
41
41
  status?: "error" | "success" | "warning" | undefined;
@@ -72,8 +72,8 @@ declare const Select: import("react").FunctionComponent<import("../../../../engi
72
72
  multiselect?: true | undefined;
73
73
  separator?: string | undefined;
74
74
  } & {
75
- value: any;
76
- onChange?: ((value: any) => void) | undefined;
75
+ value: import("../../../../components/Select/Select.types").DefaultValueType;
76
+ onChange?: ((value: import("../../../../components/Select/Select.types").DefaultValueType) => void) | undefined;
77
77
  listOverflow?: import("csstype").Property.Overflow | undefined;
78
78
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
79
79
  status?: "error" | "success" | "warning" | undefined;
@@ -110,8 +110,8 @@ declare const Select: import("react").FunctionComponent<import("../../../../engi
110
110
  multiselect?: false | undefined;
111
111
  separator?: undefined;
112
112
  } & {
113
- value: any;
114
- onChange?: ((value: any) => void) | undefined;
113
+ value: import("../../../../components/Select/Select.types").DefaultValueType;
114
+ onChange?: ((value: import("../../../../components/Select/Select.types").DefaultValueType) => void) | undefined;
115
115
  listOverflow?: import("csstype").Property.Overflow | undefined;
116
116
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
117
117
  status?: "error" | "success" | "warning" | undefined;
@@ -148,8 +148,8 @@ declare const Select: import("react").FunctionComponent<import("../../../../engi
148
148
  multiselect?: true | undefined;
149
149
  separator?: string | undefined;
150
150
  } & {
151
- value: any;
152
- onChange?: ((value: any) => void) | undefined;
151
+ value: import("../../../../components/Select/Select.types").DefaultValueType;
152
+ onChange?: ((value: import("../../../../components/Select/Select.types").DefaultValueType) => void) | undefined;
153
153
  listOverflow?: import("csstype").Property.Overflow | undefined;
154
154
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
155
155
  status?: "error" | "success" | "warning" | undefined;
@@ -34,8 +34,8 @@ declare const Select: import("react").FunctionComponent<import("../../../../engi
34
34
  multiselect?: false | undefined;
35
35
  separator?: undefined;
36
36
  } & {
37
- value: any;
38
- onChange?: ((value: any) => void) | undefined;
37
+ value: import("../../../../components/Select/Select.types").DefaultValueType;
38
+ onChange?: ((value: import("../../../../components/Select/Select.types").DefaultValueType) => void) | undefined;
39
39
  listOverflow?: import("csstype").Property.Overflow | undefined;
40
40
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
41
41
  status?: "error" | "success" | "warning" | undefined;
@@ -72,8 +72,8 @@ declare const Select: import("react").FunctionComponent<import("../../../../engi
72
72
  multiselect?: true | undefined;
73
73
  separator?: string | undefined;
74
74
  } & {
75
- value: any;
76
- onChange?: ((value: any) => void) | undefined;
75
+ value: import("../../../../components/Select/Select.types").DefaultValueType;
76
+ onChange?: ((value: import("../../../../components/Select/Select.types").DefaultValueType) => void) | undefined;
77
77
  listOverflow?: import("csstype").Property.Overflow | undefined;
78
78
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
79
79
  status?: "error" | "success" | "warning" | undefined;
@@ -110,8 +110,8 @@ declare const Select: import("react").FunctionComponent<import("../../../../engi
110
110
  multiselect?: false | undefined;
111
111
  separator?: undefined;
112
112
  } & {
113
- value: any;
114
- onChange?: ((value: any) => void) | undefined;
113
+ value: import("../../../../components/Select/Select.types").DefaultValueType;
114
+ onChange?: ((value: import("../../../../components/Select/Select.types").DefaultValueType) => void) | undefined;
115
115
  listOverflow?: import("csstype").Property.Overflow | undefined;
116
116
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
117
117
  status?: "error" | "success" | "warning" | undefined;
@@ -148,8 +148,8 @@ declare const Select: import("react").FunctionComponent<import("../../../../engi
148
148
  multiselect?: true | undefined;
149
149
  separator?: string | undefined;
150
150
  } & {
151
- value: any;
152
- onChange?: ((value: any) => void) | undefined;
151
+ value: import("../../../../components/Select/Select.types").DefaultValueType;
152
+ onChange?: ((value: import("../../../../components/Select/Select.types").DefaultValueType) => void) | undefined;
153
153
  listOverflow?: import("csstype").Property.Overflow | undefined;
154
154
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
155
155
  status?: "error" | "success" | "warning" | undefined;
@@ -1,5 +0,0 @@
1
- .spxbau6 .popover-root{width:var(--spxbau6-0);}.spxbau6 .popover-target{width:100%;}
2
- .u1yey2x3{box-sizing:border-box;background:var(--surface-solid-card);box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-select-border-radius);width:var(--u1yey2x3-0);height:var(--u1yey2x3-1);overflow:var(--u1yey2x3-2);border:var(--plasma-select-popover-border-width) solid var(--plasma-select-popover-border-color);margin:var(--u1yey2x3-3);padding:var(--plasma-select-padding);}
3
- .bvro45w .popover-wrapper,.bvro45w .popover-target{display:block;}
4
- .ogpldc9{display:block;margin-bottom:var(--plasma-select-label-offset);color:var(--text-primary);font-family:var(--plasma-select-label-font-family,var(--plasma-select-font-family));font-size:var(--plasma-select-label-font-size,var(--plasma-select-font-size));font-style:var(--plasma-select-label-font-style,var(--plasma-select-font-style));font-weight:var(--plasma-select-label-font-weight,var(--plasma-select-font-weight));-webkit-letter-spacing:var(--plasma-select-label-font-letter-spacing,var(--plasma-select-font-letter-spacing));-moz-letter-spacing:var(--plasma-select-label-font-letter-spacing,var(--plasma-select-font-letter-spacing));-ms-letter-spacing:var(--plasma-select-label-font-letter-spacing,var(--plasma-select-font-letter-spacing));letter-spacing:var(--plasma-select-label-font-letter-spacing,var(--plasma-select-font-letter-spacing));line-height:var(--plasma-select-label-font-line-height,var(--plasma-select-font-line-height));}
5
- .h2ef052{margin-top:var(--plasma-select-helper-text-offset);color:var(--plasma-select-helper-text-color);font-family:var(--plasma-select-helper-text-font-family,var(--plasma-typo-body-xs-font-family));font-size:var(--plasma-select-helper-text-font-size,var(--plasma-typo-body-xs-font-size));font-style:var(--plasma-select-helper-text-font-style,var(--plasma-typo-body-xs-font-style));font-weight:var(--plasma-select-helper-text-font-weight,var(--plasma-typo-body-xs-font-weight));-webkit-letter-spacing:var(--plasma-select-helper-text-font-letter-spacing,var(--plasma-typo-body-xs-letter-spacing));-moz-letter-spacing:var(--plasma-select-helper-text-font-letter-spacing,var(--plasma-typo-body-xs-letter-spacing));-ms-letter-spacing:var(--plasma-select-helper-text-font-letter-spacing,var(--plasma-typo-body-xs-letter-spacing));letter-spacing:var(--plasma-select-helper-text-font-letter-spacing,var(--plasma-typo-body-xs-letter-spacing));line-height:var(--plasma-select-helper-text-font-line-height,var(--plasma-typo-body-xs-line-height));}
@@ -1,5 +0,0 @@
1
- .spxbau6 .popover-root{width:var(--spxbau6-0);}.spxbau6 .popover-target{width:100%;}
2
- .u1yey2x3{box-sizing:border-box;background:var(--surface-solid-card);box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-select-border-radius);width:var(--u1yey2x3-0);height:var(--u1yey2x3-1);overflow:var(--u1yey2x3-2);border:var(--plasma-select-popover-border-width) solid var(--plasma-select-popover-border-color);margin:var(--u1yey2x3-3);padding:var(--plasma-select-padding);}
3
- .bvro45w .popover-wrapper,.bvro45w .popover-target{display:block;}
4
- .ogpldc9{display:block;margin-bottom:var(--plasma-select-label-offset);color:var(--text-primary);font-family:var(--plasma-select-label-font-family,var(--plasma-select-font-family));font-size:var(--plasma-select-label-font-size,var(--plasma-select-font-size));font-style:var(--plasma-select-label-font-style,var(--plasma-select-font-style));font-weight:var(--plasma-select-label-font-weight,var(--plasma-select-font-weight));-webkit-letter-spacing:var(--plasma-select-label-font-letter-spacing,var(--plasma-select-font-letter-spacing));-moz-letter-spacing:var(--plasma-select-label-font-letter-spacing,var(--plasma-select-font-letter-spacing));-ms-letter-spacing:var(--plasma-select-label-font-letter-spacing,var(--plasma-select-font-letter-spacing));letter-spacing:var(--plasma-select-label-font-letter-spacing,var(--plasma-select-font-letter-spacing));line-height:var(--plasma-select-label-font-line-height,var(--plasma-select-font-line-height));}
5
- .h2ef052{margin-top:var(--plasma-select-helper-text-offset);color:var(--plasma-select-helper-text-color);font-family:var(--plasma-select-helper-text-font-family,var(--plasma-typo-body-xs-font-family));font-size:var(--plasma-select-helper-text-font-size,var(--plasma-typo-body-xs-font-size));font-style:var(--plasma-select-helper-text-font-style,var(--plasma-typo-body-xs-font-style));font-weight:var(--plasma-select-helper-text-font-weight,var(--plasma-typo-body-xs-font-weight));-webkit-letter-spacing:var(--plasma-select-helper-text-font-letter-spacing,var(--plasma-typo-body-xs-letter-spacing));-moz-letter-spacing:var(--plasma-select-helper-text-font-letter-spacing,var(--plasma-typo-body-xs-letter-spacing));-ms-letter-spacing:var(--plasma-select-helper-text-font-letter-spacing,var(--plasma-typo-body-xs-letter-spacing));letter-spacing:var(--plasma-select-helper-text-font-letter-spacing,var(--plasma-typo-body-xs-letter-spacing));line-height:var(--plasma-select-helper-text-font-line-height,var(--plasma-typo-body-xs-line-height));}