@salutejs/plasma-new-hope 0.78.0-canary.1185.8884845022.0 → 0.78.0-canary.1185.8915022482.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. package/cjs/components/Combobox/Combobox.css +5 -0
  2. package/cjs/components/Combobox/Combobox.js +1 -1
  3. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +5 -0
  4. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js +1 -1
  5. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +5 -0
  6. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js +1 -1
  7. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +5 -0
  8. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js +1 -1
  9. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +5 -0
  10. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js +1 -1
  11. package/cjs/components/Dropdown/Dropdown.css +5 -0
  12. package/cjs/components/Dropdown/Dropdown.js +5 -4
  13. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  14. package/cjs/components/Dropdown/Dropdown.tokens.js +17 -2
  15. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  16. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +5 -2
  17. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  18. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +59 -1
  19. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  20. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +30 -0
  21. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -0
  22. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles_12e50g5.css +4 -0
  23. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +4 -0
  24. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js +112 -0
  25. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js.map +1 -0
  26. package/cjs/components/Dropdown/ui/DropdownItemOld/variations/_size/base.js +9 -0
  27. package/cjs/components/Dropdown/ui/DropdownItemOld/variations/_size/base.js.map +1 -0
  28. package/cjs/components/Dropdown/ui/DropdownItemOld/variations/_size/base_x642ct.css +1 -0
  29. package/cjs/components/Dropdown/ui/DropdownItemOld/variations/_view/base.js +9 -0
  30. package/cjs/components/Dropdown/ui/DropdownItemOld/variations/_view/base.js.map +1 -0
  31. package/cjs/components/Dropdown/ui/DropdownItemOld/variations/_view/base_x642ct.css +1 -0
  32. package/cjs/components/Dropdown/utils/index.js +15 -0
  33. package/cjs/components/Dropdown/utils/index.js.map +1 -1
  34. package/cjs/components/Pagination/Pagination.css +6 -31
  35. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +6 -31
  36. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  37. package/cjs/components/Select/Select.css +6 -31
  38. package/cjs/components/Select/Select.js +3 -3
  39. package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +5 -0
  40. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +1 -1
  41. package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +5 -0
  42. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +1 -1
  43. package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +5 -0
  44. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +1 -1
  45. package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +5 -0
  46. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +1 -1
  47. package/cjs/components/Select/ui/SelectItem/SelectItem.css +7 -50
  48. package/cjs/components/Select/ui/SelectItem/SelectItem.js +4 -4
  49. package/cjs/components/Select/ui/SelectItem/SelectItem.js.map +1 -1
  50. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +3 -3
  51. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -1
  52. package/cjs/components/Select/ui/SelectItem/SelectItem.styles_vk39mp.css +1 -0
  53. package/cjs/index.css +6 -1
  54. package/cjs/index.js +3 -0
  55. package/cjs/index.js.map +1 -1
  56. package/es/components/Combobox/Combobox.css +5 -0
  57. package/es/components/Combobox/Combobox.js +1 -1
  58. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +5 -0
  59. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js +1 -1
  60. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +5 -0
  61. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js +1 -1
  62. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +5 -0
  63. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js +1 -1
  64. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +5 -0
  65. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js +1 -1
  66. package/es/components/Dropdown/Dropdown.css +5 -0
  67. package/es/components/Dropdown/Dropdown.js +5 -4
  68. package/es/components/Dropdown/Dropdown.js.map +1 -1
  69. package/es/components/Dropdown/Dropdown.tokens.js +17 -2
  70. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  71. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +5 -2
  72. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  73. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +59 -1
  74. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  75. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +23 -0
  76. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -0
  77. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles_12e50g5.css +4 -0
  78. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +4 -0
  79. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js +107 -0
  80. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js.map +1 -0
  81. package/es/components/Dropdown/ui/DropdownItemOld/variations/_size/base.js +5 -0
  82. package/es/components/Dropdown/ui/DropdownItemOld/variations/_size/base.js.map +1 -0
  83. package/es/components/Dropdown/ui/DropdownItemOld/variations/_size/base_x642ct.css +1 -0
  84. package/es/components/Dropdown/ui/DropdownItemOld/variations/_view/base.js +5 -0
  85. package/es/components/Dropdown/ui/DropdownItemOld/variations/_view/base.js.map +1 -0
  86. package/es/components/Dropdown/ui/DropdownItemOld/variations/_view/base_x642ct.css +1 -0
  87. package/es/components/Dropdown/utils/index.js +16 -2
  88. package/es/components/Dropdown/utils/index.js.map +1 -1
  89. package/es/components/Pagination/Pagination.css +6 -31
  90. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +6 -31
  91. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  92. package/es/components/Select/Select.css +6 -31
  93. package/es/components/Select/Select.js +3 -3
  94. package/es/components/Select/ui/SelectDivider/SelectDivider.css +5 -0
  95. package/es/components/Select/ui/SelectDivider/SelectDivider.js +1 -1
  96. package/es/components/Select/ui/SelectFooter/SelectFooter.css +5 -0
  97. package/es/components/Select/ui/SelectFooter/SelectFooter.js +1 -1
  98. package/es/components/Select/ui/SelectGroup/SelectGroup.css +5 -0
  99. package/es/components/Select/ui/SelectGroup/SelectGroup.js +1 -1
  100. package/es/components/Select/ui/SelectHeader/SelectHeader.css +5 -0
  101. package/es/components/Select/ui/SelectHeader/SelectHeader.js +1 -1
  102. package/es/components/Select/ui/SelectItem/SelectItem.css +7 -50
  103. package/es/components/Select/ui/SelectItem/SelectItem.js +4 -4
  104. package/es/components/Select/ui/SelectItem/SelectItem.js.map +1 -1
  105. package/es/components/Select/ui/SelectItem/SelectItem.styles.js +3 -3
  106. package/es/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -1
  107. package/es/components/Select/ui/SelectItem/SelectItem.styles_vk39mp.css +1 -0
  108. package/es/index.css +6 -1
  109. package/es/index.js +1 -0
  110. package/es/index.js.map +1 -1
  111. package/package.json +2 -2
  112. package/styled-components/cjs/components/Dropdown/Dropdown.js +3 -2
  113. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +17 -2
  114. package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +3 -2
  115. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +59 -9
  116. package/styled-components/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +33 -0
  117. package/styled-components/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.js +5 -0
  118. package/styled-components/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js +119 -0
  119. package/styled-components/cjs/components/Dropdown/ui/DropdownItemOld/variations/_size/base.js +8 -0
  120. package/styled-components/cjs/components/Dropdown/ui/DropdownItemOld/variations/_view/base.js +8 -0
  121. package/styled-components/cjs/components/Dropdown/ui/index.js +14 -1
  122. package/styled-components/cjs/components/Dropdown/utils/index.js +15 -2
  123. package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.js +2 -2
  124. package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +3 -3
  125. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +0 -1
  126. package/styled-components/es/components/Dropdown/Dropdown.js +3 -2
  127. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +17 -2
  128. package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +3 -2
  129. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +58 -8
  130. package/styled-components/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +25 -0
  131. package/styled-components/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.js +1 -0
  132. package/styled-components/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js +111 -0
  133. package/styled-components/es/components/Dropdown/ui/DropdownItemOld/variations/_size/base.js +2 -0
  134. package/styled-components/es/components/Dropdown/ui/DropdownItemOld/variations/_view/base.js +2 -0
  135. package/styled-components/es/components/Dropdown/ui/index.js +2 -1
  136. package/styled-components/es/components/Dropdown/utils/index.js +15 -1
  137. package/styled-components/es/components/Select/ui/SelectItem/SelectItem.js +2 -2
  138. package/styled-components/es/components/Select/ui/SelectItem/SelectItem.styles.js +3 -3
  139. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +0 -1
  140. package/types/components/Dropdown/Dropdown.tokens.d.ts +15 -0
  141. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  142. package/types/components/Dropdown/Dropdown.types.d.ts +1 -1
  143. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts.map +1 -1
  144. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +0 -1
  145. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
  146. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.d.ts +7 -0
  147. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.d.ts.map +1 -0
  148. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.d.ts +60 -0
  149. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.d.ts.map +1 -0
  150. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.d.ts +58 -0
  151. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.d.ts.map +1 -0
  152. package/types/components/Dropdown/ui/DropdownItemOld/variations/_size/base.d.ts +2 -0
  153. package/types/components/Dropdown/ui/DropdownItemOld/variations/_size/base.d.ts.map +1 -0
  154. package/types/components/Dropdown/ui/DropdownItemOld/variations/_view/base.d.ts +2 -0
  155. package/types/components/Dropdown/ui/DropdownItemOld/variations/_view/base.d.ts.map +1 -0
  156. package/types/components/Dropdown/ui/index.d.ts +1 -0
  157. package/types/components/Dropdown/ui/index.d.ts.map +1 -1
  158. package/types/components/Dropdown/utils/index.d.ts +2 -1
  159. package/types/components/Dropdown/utils/index.d.ts.map +1 -1
  160. package/types/components/Select/ui/SelectItem/SelectItem.d.ts +2 -2
  161. package/types/components/Select/ui/SelectItem/SelectItem.d.ts.map +1 -1
  162. package/cjs/components/Select/ui/SelectItem/SelectItem.styles_1jgsd1a.css +0 -1
  163. package/es/components/Select/ui/SelectItem/SelectItem.styles_1jgsd1a.css +0 -1
@@ -1,8 +1,8 @@
1
1
  import { css } from 'styled-components';
2
2
  import { tokens } from '../../Select.tokens';
3
- import { comboboxTokens } from '../../../Combobox';
4
- import { baseContent as dropdownItemBase } from '../../../Dropdown/ui/DropdownItem/DropdownItem.styles';
3
+ import { dropdownTokens } from '../../../Dropdown';
4
+ import { baseContent as dropdownItemBase } from '../../../Dropdown/ui/DropdownItemOld/DropdownItem.styles';
5
5
 
6
6
  // NOTE: Необходимое переопределение токенов из компонента DropdownItem т.к. используются его части
7
- export var mappingOverride = /*#__PURE__*/"\n ".concat(comboboxTokens.itemBackground, ": var(").concat(tokens.itemBackground, ");\n ").concat(comboboxTokens.itemColor, ": var(").concat(tokens.itemColor, ");\n ").concat(comboboxTokens.itemBackgroundHover, ": var(").concat(tokens.itemBackgroundHover, ");\n ").concat(comboboxTokens.itemBackgroundSelected, ": var(").concat(tokens.itemBackgroundSelected, ");\n ").concat(comboboxTokens.itemColorSelected, ": var(").concat(tokens.itemColorSelected, ");\n ").concat(comboboxTokens.itemBackgroundSelectedHover, ": var(").concat(tokens.itemBackgroundSelectedHover, ");\n ").concat(comboboxTokens.itemColorSelectedHover, ": var(").concat(tokens.itemColorSelectedHover, ");\n ").concat(comboboxTokens.itemContentLeftColor, ": var(").concat(tokens.itemContentLeftColor, ");\n ").concat(comboboxTokens.itemContentRightColor, ": var(").concat(tokens.itemContentRightColor, ");\n ").concat(comboboxTokens.disabledOpacity, ": var(").concat(tokens.disabledOpacity, ");\n ").concat(comboboxTokens.focusColor, ": var(").concat(tokens.focusColor, ");\n ").concat(comboboxTokens.itemWidth, ": var(").concat(tokens.itemWidth, ");\n ").concat(comboboxTokens.itemHeight, ": var(").concat(tokens.itemHeight, ");\n ").concat(comboboxTokens.itemBorderRadius, ": var(").concat(tokens.itemBorderRadius, ");\n ").concat(comboboxTokens.itemPaddingTop, ": var(").concat(tokens.itemPaddingTop, ");\n ").concat(comboboxTokens.itemPaddingRight, ": var(").concat(tokens.itemPaddingRight, ");\n ").concat(comboboxTokens.itemPaddingBottom, ": var(").concat(tokens.itemPaddingBottom, ");\n ").concat(comboboxTokens.itemPaddingLeft, ": var(").concat(tokens.itemPaddingLeft, ");\n ").concat(comboboxTokens.itemMarginTop, ": var(").concat(tokens.itemMarginTop, ");\n ").concat(comboboxTokens.itemMarginRight, ": var(").concat(tokens.itemMarginRight, ");\n ").concat(comboboxTokens.itemMarginBottom, ": var(").concat(tokens.itemMarginBottom, ");\n ").concat(comboboxTokens.itemMarginLeft, ": var(").concat(tokens.itemMarginLeft, ");\n ").concat(comboboxTokens.itemFontFamily, ": var(").concat(tokens.itemFontFamily, ");\n ").concat(comboboxTokens.itemFontSize, ": var(").concat(tokens.itemFontSize, ");\n ").concat(comboboxTokens.itemFontStyle, ": var(").concat(tokens.itemFontStyle, ");\n ").concat(comboboxTokens.itemFontWeightBold, ": var(").concat(tokens.itemFontWeightBold, ");\n ").concat(comboboxTokens.itemFontLetterSpacing, ": var(").concat(tokens.itemFontLetterSpacing, ");\n ").concat(comboboxTokens.itemFontLineHeight, ": var(").concat(tokens.itemFontLineHeight, ");\n ").concat(comboboxTokens.itemContentLeftWidth, ": var(").concat(tokens.itemContentLeftWidth, ");\n ").concat(comboboxTokens.itemContentRightWidth, ": var(").concat(tokens.itemContentRightWidth, ");\n");
7
+ export var mappingOverride = /*#__PURE__*/"\n ".concat(dropdownTokens.itemBackground, ": var(").concat(tokens.itemBackground, ");\n ").concat(dropdownTokens.itemColor, ": var(").concat(tokens.itemColor, ");\n ").concat(dropdownTokens.itemBackgroundHover, ": var(").concat(tokens.itemBackgroundHover, ");\n ").concat(dropdownTokens.itemBackgroundSelected, ": var(").concat(tokens.itemBackgroundSelected, ");\n ").concat(dropdownTokens.itemColorSelected, ": var(").concat(tokens.itemColorSelected, ");\n ").concat(dropdownTokens.itemBackgroundSelectedHover, ": var(").concat(tokens.itemBackgroundSelectedHover, ");\n ").concat(dropdownTokens.itemColorSelectedHover, ": var(").concat(tokens.itemColorSelectedHover, ");\n ").concat(dropdownTokens.itemContentLeftColor, ": var(").concat(tokens.itemContentLeftColor, ");\n ").concat(dropdownTokens.itemContentRightColor, ": var(").concat(tokens.itemContentRightColor, ");\n ").concat(dropdownTokens.disabledOpacity, ": var(").concat(tokens.disabledOpacity, ");\n ").concat(dropdownTokens.focusColor, ": var(").concat(tokens.focusColor, ");\n ").concat(dropdownTokens.itemWidth, ": var(").concat(tokens.itemWidth, ");\n ").concat(dropdownTokens.itemHeight, ": var(").concat(tokens.itemHeight, ");\n ").concat(dropdownTokens.itemBorderRadius, ": var(").concat(tokens.itemBorderRadius, ");\n ").concat(dropdownTokens.itemPaddingTop, ": var(").concat(tokens.itemPaddingTop, ");\n ").concat(dropdownTokens.itemPaddingRight, ": var(").concat(tokens.itemPaddingRight, ");\n ").concat(dropdownTokens.itemPaddingBottom, ": var(").concat(tokens.itemPaddingBottom, ");\n ").concat(dropdownTokens.itemPaddingLeft, ": var(").concat(tokens.itemPaddingLeft, ");\n ").concat(dropdownTokens.itemMarginTop, ": var(").concat(tokens.itemMarginTop, ");\n ").concat(dropdownTokens.itemMarginRight, ": var(").concat(tokens.itemMarginRight, ");\n ").concat(dropdownTokens.itemMarginBottom, ": var(").concat(tokens.itemMarginBottom, ");\n ").concat(dropdownTokens.itemMarginLeft, ": var(").concat(tokens.itemMarginLeft, ");\n ").concat(dropdownTokens.itemFontFamily, ": var(").concat(tokens.itemFontFamily, ");\n ").concat(dropdownTokens.itemFontSize, ": var(").concat(tokens.itemFontSize, ");\n ").concat(dropdownTokens.itemFontStyle, ": var(").concat(tokens.itemFontStyle, ");\n ").concat(dropdownTokens.itemFontWeightBold, ": var(").concat(tokens.itemFontWeightBold, ");\n ").concat(dropdownTokens.itemFontLetterSpacing, ": var(").concat(tokens.itemFontLetterSpacing, ");\n ").concat(dropdownTokens.itemFontLineHeight, ": var(").concat(tokens.itemFontLineHeight, ");\n ").concat(dropdownTokens.itemContentLeftWidth, ": var(").concat(tokens.itemContentLeftWidth, ");\n ").concat(dropdownTokens.itemContentRightWidth, ": var(").concat(tokens.itemContentRightWidth, ");\n");
8
8
  export var base = /*#__PURE__*/css(["", ";", ";"], dropdownItemBase, mappingOverride);
@@ -47,7 +47,6 @@ const meta: Meta<StoryDropdownProps> = {
47
47
  },
48
48
  },
49
49
  args: {
50
- placement: 'bottom',
51
50
  trigger: 'click',
52
51
  offset: [0, 0],
53
52
  listWidth: 'auto',
@@ -3,6 +3,7 @@ export declare const classes: {
3
3
  dropdownItemIsFocused: string;
4
4
  dropdownItemIsDisabled: string;
5
5
  dropdownItemIsActive: string;
6
+ dropdownItemIsSelected: string;
6
7
  };
7
8
  export declare const tokens: {
8
9
  background: string;
@@ -96,5 +97,19 @@ export declare const tokens: {
96
97
  groupLabelMarginRight: string;
97
98
  groupLabelMarginBottom: string;
98
99
  groupLabelMarginLeft: string;
100
+ itemBackgroundSelected: string;
101
+ itemColorSelected: string;
102
+ itemBackgroundSelectedHover: string;
103
+ itemColorSelectedHover: string;
104
+ itemContentLeftColor: string;
105
+ itemContentRightColor: string;
106
+ itemWidth: string;
107
+ itemHeight: string;
108
+ itemMarginTop: string;
109
+ itemMarginRight: string;
110
+ itemMarginBottom: string;
111
+ itemMarginLeft: string;
112
+ itemContentLeftWidth: string;
113
+ itemContentRightWidth: string;
99
114
  };
100
115
  //# sourceMappingURL=Dropdown.tokens.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;CAKnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGlB,CAAC"}
1
+ {"version":3,"file":"Dropdown.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;CAMnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmHlB,CAAC"}
@@ -32,7 +32,7 @@ export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
32
32
  trigger?: DropdownTrigger;
33
33
  /**
34
34
  * Сторона открытия дропдауна относительно target элемента.
35
- * @default auto
35
+ * @default bottom
36
36
  */
37
37
  placement?: DropdownPlacement | Array<DropdownPlacementBasic>;
38
38
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownInner.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownInner/DropdownInner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA6GzC,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"DropdownInner.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownInner/DropdownInner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA8GzC,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -4,7 +4,6 @@ export declare const StyledContentLeft: import("@linaria/react").StyledComponent
4
4
  export declare const StyledContentRight: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
5
  export declare const DisclosureIconWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
6
  export declare const StyledText: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
- export declare const baseContent: string;
8
7
  export declare const Wrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement> & {
9
8
  variant: DropdownProps['variant'];
10
9
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownItem.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.styles.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,eAAO,MAAM,iBAAiB,qKAE7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAG9B,CAAC;AAEF,eAAO,MAAM,qBAAqB,qKAGjC,CAAC;AAEF,eAAO,MAAM,UAAU,qKAGtB,CAAC;AAGF,eAAO,MAAM,WAAW,QAwDvB,CAAC;AAEF,eAAO,MAAM,OAAO;aAAwB,aAAa,CAAC,SAAS,CAAC;EAoDnE,CAAC"}
1
+ {"version":3,"file":"DropdownItem.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.styles.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,eAAO,MAAM,iBAAiB,qKAE7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAG9B,CAAC;AAEF,eAAO,MAAM,qBAAqB,qKAGjC,CAAC;AAEF,eAAO,MAAM,UAAU,qKAGtB,CAAC;AA6DF,eAAO,MAAM,OAAO;aAAwB,aAAa,CAAC,SAAS,CAAC;EAoDnE,CAAC"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledContentLeft: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
+ export declare const StyledContentRight: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
+ export declare const StyledText: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
+ export declare const baseContent: string;
6
+ export declare const base: import("@linaria/core").LinariaClassName;
7
+ //# sourceMappingURL=DropdownItem.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DropdownItem.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,iBAAiB,qKAK7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAM9B,CAAC;AAEF,eAAO,MAAM,UAAU,qKAEtB,CAAC;AAGF,eAAO,MAAM,WAAW,QA0DvB,CAAC;AAEF,eAAO,MAAM,IAAI,0CAEhB,CAAC"}
@@ -0,0 +1,60 @@
1
+ import type { HTMLAttributes, ReactNode, MouseEvent, ElementType } from 'react';
2
+ declare type DropdownItemCustomProps = {
3
+ /**
4
+ * Уникальный идентификатор элемента
5
+ */
6
+ id?: string;
7
+ /**
8
+ * Компонент не активен
9
+ */
10
+ disabled?: boolean;
11
+ /**
12
+ * Метка-подпись к элементу
13
+ */
14
+ label?: ReactNode;
15
+ /**
16
+ * WAI-ARIA role элемента меню
17
+ */
18
+ role?: string;
19
+ /**
20
+ * Слот для контента слева
21
+ */
22
+ contentLeft?: ElementType | ReactNode;
23
+ /**
24
+ * Слот для контента справа
25
+ */
26
+ contentRight?: ElementType | ReactNode;
27
+ /**
28
+ * Название слота контента
29
+ */
30
+ name?: string;
31
+ /**
32
+ * Отмечен ли данный элемент
33
+ */
34
+ checked?: boolean;
35
+ /**
36
+ * Содержимое контента
37
+ */
38
+ text?: string;
39
+ /**
40
+ * Значение контента
41
+ */
42
+ value?: string | number | boolean;
43
+ /**
44
+ * Значение контента
45
+ */
46
+ isSelected?: boolean;
47
+ /**
48
+ * Коллбек при клике на элемент
49
+ */
50
+ onClick?: (event: MouseEvent<HTMLDivElement>) => void;
51
+ /**
52
+ * Коллбек при выборе элемента
53
+ */
54
+ onSelect?: (value?: any, text?: any) => void;
55
+ size?: string;
56
+ view?: string;
57
+ };
58
+ export declare type DropdownItemProps = Omit<HTMLAttributes<HTMLDivElement>, 'onSelect'> & DropdownItemCustomProps;
59
+ export {};
60
+ //# sourceMappingURL=DropdownItem.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DropdownItem.type.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEhF,aAAK,uBAAuB,GAAG;IAC3B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACtD;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,iBAAiB,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,GAAG,uBAAuB,CAAC"}
@@ -0,0 +1,58 @@
1
+ import React from 'react';
2
+ import { RootProps } from '../../../../engines';
3
+ import type { DropdownItemProps } from './DropdownItem.type';
4
+ /**
5
+ * Элемент выпадающего списка
6
+ */
7
+ export declare const dropdownItemOldRoot: (Root: RootProps<HTMLDivElement, DropdownItemProps>) => React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect"> & {
8
+ id?: string | undefined;
9
+ disabled?: boolean | undefined;
10
+ label?: React.ReactNode;
11
+ role?: string | undefined;
12
+ contentLeft?: string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal | React.ComponentClass<any, any> | React.FunctionComponent<any> | null | undefined;
13
+ contentRight?: string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal | React.ComponentClass<any, any> | React.FunctionComponent<any> | null | undefined;
14
+ name?: string | undefined;
15
+ checked?: boolean | undefined;
16
+ text?: string | undefined;
17
+ value?: string | number | boolean | undefined;
18
+ isSelected?: boolean | undefined;
19
+ onClick?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
20
+ onSelect?: ((value?: any, text?: any) => void) | undefined;
21
+ size?: string | undefined;
22
+ view?: string | undefined;
23
+ } & React.RefAttributes<HTMLDivElement>>;
24
+ export declare const dropdownItemOldConfig: {
25
+ name: string;
26
+ tag: string;
27
+ layout: (Root: RootProps<HTMLDivElement, DropdownItemProps>) => React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect"> & {
28
+ id?: string | undefined;
29
+ disabled?: boolean | undefined;
30
+ label?: React.ReactNode;
31
+ role?: string | undefined;
32
+ contentLeft?: string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal | React.ComponentClass<any, any> | React.FunctionComponent<any> | null | undefined;
33
+ contentRight?: string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal | React.ComponentClass<any, any> | React.FunctionComponent<any> | null | undefined;
34
+ name?: string | undefined;
35
+ checked?: boolean | undefined;
36
+ text?: string | undefined;
37
+ value?: string | number | boolean | undefined;
38
+ isSelected?: boolean | undefined;
39
+ onClick?: ((event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
40
+ onSelect?: ((value?: any, text?: any) => void) | undefined;
41
+ size?: string | undefined;
42
+ view?: string | undefined;
43
+ } & React.RefAttributes<HTMLDivElement>>;
44
+ base: import("@linaria/core").LinariaClassName;
45
+ variations: {
46
+ view: {
47
+ css: import("@linaria/core").LinariaClassName;
48
+ };
49
+ size: {
50
+ css: import("@linaria/core").LinariaClassName;
51
+ };
52
+ };
53
+ defaults: {
54
+ view: string;
55
+ size: string;
56
+ };
57
+ };
58
+ //# sourceMappingURL=DropdownItemOld.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DropdownItemOld.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAQhD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D;;GAEG;AACH,eAAO,MAAM,mBAAmB,SAAU,UAAU,cAAc,EAAE,iBAAiB,CAAC;;;;;;;;;;;;;;;;wCA2GjF,CAAC;AAEN,eAAO,MAAM,qBAAqB;;;mBA7GQ,UAAU,cAAc,EAAE,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8HrF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Dropdown/ui/DropdownItemOld/variations/_size/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Dropdown/ui/DropdownItemOld/variations/_view/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -4,4 +4,5 @@ export { dropdownGroupRoot, dropdownGroupConfig } from './DropdownGroup/Dropdown
4
4
  export { dropdownHeaderRoot, dropdownHeaderConfig } from './DropdownHeader/DropdownHeader';
5
5
  export { DropdownItem } from './DropdownItem/DropdownItem';
6
6
  export { DropdownInner } from './DropdownInner/DropdownInner';
7
+ export { dropdownItemOldRoot, dropdownItemOldConfig } from './DropdownItemOld/DropdownItemOld';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/F,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACvF,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC3F,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/F,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACvF,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC3F,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import type { ReactNode } from 'react';
2
- import React, { HTMLAttributes } from 'react';
2
+ import React, { HTMLAttributes, ElementType } from 'react';
3
3
  import type { DropdownPlacement, DropdownPlacementBasic, DropdownProps } from '../Dropdown.types';
4
4
  export declare const getPlacement: (placement: DropdownPlacement) => import("@popperjs/core").ComputedPlacement;
5
5
  export declare const getPlacements: (placements?: DropdownPlacement | DropdownPlacementBasic[] | undefined) => import("@popperjs/core").ComputedPlacement | import("@popperjs/core").ComputedPlacement[] | undefined;
6
6
  export declare const getCorrectHeight: (listHeight: Required<DropdownProps>['listHeight']) => string;
7
7
  export declare const childrenWithProps: (children: ReactNode, additionalProps: HTMLAttributes<HTMLLIElement>) => (string | number | React.ReactFragment | React.ReactElement<any, string | React.JSXElementConstructor<any>>)[] | null | undefined;
8
+ export declare const getValidComponent: (element: ElementType | ReactNode, props: object) => string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/utils/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,EAAY,cAAc,EAAE,MAAM,OAAO,CAAC;AAGxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElG,eAAO,MAAM,YAAY,cAAe,iBAAiB,+CAExD,CAAC;AAEF,eAAO,MAAM,aAAa,kLAUzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,eAAgB,SAAS,aAAa,CAAC,CAAC,YAAY,CAAC,KAAG,MAKpF,CAAC;AAEF,eAAO,MAAM,iBAAiB,aAAc,SAAS,mBAAmB,eAAe,aAAa,CAAC,sIAM/F,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/utils/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,EAAY,cAAc,EAAE,WAAW,EAAgC,MAAM,OAAO,CAAC;AAGnG,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElG,eAAO,MAAM,YAAY,cAAe,iBAAiB,+CAExD,CAAC;AAEF,eAAO,MAAM,aAAa,kLAUzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,eAAgB,SAAS,aAAa,CAAC,CAAC,YAAY,CAAC,KAAG,MAKpF,CAAC;AAEF,eAAO,MAAM,iBAAiB,aAAc,SAAS,mBAAmB,eAAe,aAAa,CAAC,sIAM/F,CAAC;AAMP,eAAO,MAAM,iBAAiB,YAAa,WAAW,GAAG,SAAS,SAAS,MAAM,qFAYhF,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const selectItemRoot: (Root: import("../../../..").RootProps<HTMLDivElement, import("../../../Combobox/ui/ComboboxItem/ComboboxItem.type").ComboboxItemProps>) => import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLDivElement>, "onSelect"> & {
2
+ export declare const selectItemRoot: (Root: import("../../../..").RootProps<HTMLDivElement, import("../../../Dropdown/ui/DropdownItemOld/DropdownItem.type").DropdownItemProps>) => import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLDivElement>, "onSelect"> & {
3
3
  id?: string | undefined;
4
4
  disabled?: boolean | undefined;
5
5
  label?: import("react").ReactNode;
@@ -19,7 +19,7 @@ export declare const selectItemRoot: (Root: import("../../../..").RootProps<HTML
19
19
  export declare const selectItemConfig: {
20
20
  name: string;
21
21
  tag: string;
22
- layout: (Root: import("../../../..").RootProps<HTMLDivElement, import("../../../Combobox/ui/ComboboxItem/ComboboxItem.type").ComboboxItemProps>) => import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLDivElement>, "onSelect"> & {
22
+ layout: (Root: import("../../../..").RootProps<HTMLDivElement, import("../../../Dropdown/ui/DropdownItemOld/DropdownItem.type").DropdownItemProps>) => import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLDivElement>, "onSelect"> & {
23
23
  id?: string | undefined;
24
24
  disabled?: boolean | undefined;
25
25
  label?: import("react").ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"SelectItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/SelectItem/SelectItem.tsx"],"names":[],"mappings":";AAMA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;kDAAmB,CAAC;AAE/C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiB5B,CAAC"}
1
+ {"version":3,"file":"SelectItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/SelectItem/SelectItem.tsx"],"names":[],"mappings":";AAMA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;kDAAsB,CAAC;AAElD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiB5B,CAAC"}
@@ -1 +0,0 @@
1
- .bhy25de{box-sizing:content-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;width:100%;font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background:var(--plasma-dropdown-item-background);color:var(--plasma-dropdown-item-color);border-radius:var(--plasma-dropdown-item-border-radius);padding:var(--plasma-dropdown-item-padding-top) var(--plasma-dropdown-item-padding-right) var(--plasma-dropdown-item-padding-bottom) var(--plasma-dropdown-item-padding-left);margin:0;--plasma-combobox-item-background:var(--plasma-select-item-background);--plasma-combobox-item-color:var(--plasma-select-item-color);--plasma-combobox-item-background-hover:var(--plasma-select-item-background-hover);--plasma-combobox-item-background-selected:var(--plasma-select-item-background-selected);--plasma-combobox-item-color-selected:var(--plasma-select-item-color-selected);--plasma-combobox-item-background-selected-hover:var(--plasma-select-item-background-selected-hover);--plasma-combobox-item-color-selected-hover:var(--plasma-select-item-color-selected-hover);--plasma-combobox-item-content-left-color:var(--plasma-select-item-content-left-color);--plasma-combobox-item-content-right-color:var(--plasma-select-item-content-right-color);--plasma-combobox-disabled-opacity:var(--plasma-select-disabled-opacity);--plasma-combobox-focus-color:var(--plasma-select-focus-color);--plasma-combobox-item-width:var(--plasma-select-item-width);--plasma-combobox-item-height:var(--plasma-select-item-height);--plasma-combobox-item-border-radius:var(--plasma-select-item-border-radius);--plasma-combobox-item-padding-top:var(--plasma-select-item-padding-top);--plasma-combobox-item-padding-right:var(--plasma-select-item-padding-right);--plasma-combobox-item-padding-bottom:var(--plasma-select-item-padding-bottom);--plasma-combobox-item-padding-left:var(--plasma-select-item-padding-left);--plasma-combobox-item-margin-top:var(--plasma-select-item-margin-top);--plasma-combobox-item-margin-right:var(--plasma-select-item-margin-right);--plasma-combobox-item-margin-bottom:var(--plasma-select-item-margin-bottom);--plasma-combobox-item-margin-left:var(--plasma-select-item-margin-left);--plasma-combobox-item-font-family:var(--plasma-select-item-font-family);--plasma-combobox-item-font-size:var(--plasma-select-item-font-size);--plasma-combobox-item-font-style:var(--plasma-select-item-font-style);--plasma-combobox-item-letter-spacing:var(--plasma-select-item-letter-spacing);--plasma-combobox-item-line-height:var(--plasma-select-item-line-height);--plasma-combobox-item-font-weight:var(--plasma-select-item-font-weight);--plasma-combobox-item-content-left-width:var(--plasma-select-item-content-left-width);--plasma-combobox-item-content-right-width:var(--plasma-select-item-content-right-width);}.bhy25de:focus{outline:none;}.bhy25de::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.bhy25de.dropdown-item-is-focused:before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-dropdown-focus-color);}.bhy25de:hover:not(.dropdown-item-is-disabled){cursor:pointer;background:var(--plasma-dropdown-item-background-hover);}.bhy25de.dropdown-item-is-active{background:var(--plasma-dropdown-item-background-hover);}.bhy25de.dropdown-item-is-disabled{opacity:var(--plasma-dropdown-disabled-opacity);cursor:not-allowed;}
@@ -1 +0,0 @@
1
- .bhy25de{box-sizing:content-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;width:100%;font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background:var(--plasma-dropdown-item-background);color:var(--plasma-dropdown-item-color);border-radius:var(--plasma-dropdown-item-border-radius);padding:var(--plasma-dropdown-item-padding-top) var(--plasma-dropdown-item-padding-right) var(--plasma-dropdown-item-padding-bottom) var(--plasma-dropdown-item-padding-left);margin:0;--plasma-combobox-item-background:var(--plasma-select-item-background);--plasma-combobox-item-color:var(--plasma-select-item-color);--plasma-combobox-item-background-hover:var(--plasma-select-item-background-hover);--plasma-combobox-item-background-selected:var(--plasma-select-item-background-selected);--plasma-combobox-item-color-selected:var(--plasma-select-item-color-selected);--plasma-combobox-item-background-selected-hover:var(--plasma-select-item-background-selected-hover);--plasma-combobox-item-color-selected-hover:var(--plasma-select-item-color-selected-hover);--plasma-combobox-item-content-left-color:var(--plasma-select-item-content-left-color);--plasma-combobox-item-content-right-color:var(--plasma-select-item-content-right-color);--plasma-combobox-disabled-opacity:var(--plasma-select-disabled-opacity);--plasma-combobox-focus-color:var(--plasma-select-focus-color);--plasma-combobox-item-width:var(--plasma-select-item-width);--plasma-combobox-item-height:var(--plasma-select-item-height);--plasma-combobox-item-border-radius:var(--plasma-select-item-border-radius);--plasma-combobox-item-padding-top:var(--plasma-select-item-padding-top);--plasma-combobox-item-padding-right:var(--plasma-select-item-padding-right);--plasma-combobox-item-padding-bottom:var(--plasma-select-item-padding-bottom);--plasma-combobox-item-padding-left:var(--plasma-select-item-padding-left);--plasma-combobox-item-margin-top:var(--plasma-select-item-margin-top);--plasma-combobox-item-margin-right:var(--plasma-select-item-margin-right);--plasma-combobox-item-margin-bottom:var(--plasma-select-item-margin-bottom);--plasma-combobox-item-margin-left:var(--plasma-select-item-margin-left);--plasma-combobox-item-font-family:var(--plasma-select-item-font-family);--plasma-combobox-item-font-size:var(--plasma-select-item-font-size);--plasma-combobox-item-font-style:var(--plasma-select-item-font-style);--plasma-combobox-item-letter-spacing:var(--plasma-select-item-letter-spacing);--plasma-combobox-item-line-height:var(--plasma-select-item-line-height);--plasma-combobox-item-font-weight:var(--plasma-select-item-font-weight);--plasma-combobox-item-content-left-width:var(--plasma-select-item-content-left-width);--plasma-combobox-item-content-right-width:var(--plasma-select-item-content-right-width);}.bhy25de:focus{outline:none;}.bhy25de::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.bhy25de.dropdown-item-is-focused:before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-dropdown-focus-color);}.bhy25de:hover:not(.dropdown-item-is-disabled){cursor:pointer;background:var(--plasma-dropdown-item-background-hover);}.bhy25de.dropdown-item-is-active{background:var(--plasma-dropdown-item-background-hover);}.bhy25de.dropdown-item-is-disabled{opacity:var(--plasma-dropdown-disabled-opacity);cursor:not-allowed;}