@salutejs/plasma-new-hope 0.195.2-canary.1580.11946918297.0 → 0.196.0-canary.1552.11952949201.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (586) hide show
  1. package/cjs/components/Combobox/ComboboxNew/Combobox.css +2 -0
  2. package/cjs/components/Combobox/ComboboxNew/Combobox.js +41 -8
  3. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  4. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +2 -0
  5. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +2 -0
  6. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.css +1 -0
  7. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +39 -0
  8. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js.map +1 -0
  9. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +15 -0
  10. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js.map +1 -0
  11. package/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles_18yw2bf.css +1 -0
  12. package/cjs/index.css +2 -0
  13. package/cjs/index.js +2 -0
  14. package/cjs/index.js.map +1 -1
  15. package/cjs/utils/createEvent.js +54 -0
  16. package/cjs/utils/createEvent.js.map +1 -0
  17. package/cjs/utils/index.js.map +1 -1
  18. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +42 -9
  19. package/emotion/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +40 -0
  20. package/emotion/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +13 -0
  21. package/emotion/cjs/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +1 -1
  22. package/emotion/cjs/examples/plasma_b2c/components/Attach/Attach.stories.tsx +1 -1
  23. package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +1 -1
  24. package/emotion/cjs/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx +1 -1
  25. package/emotion/cjs/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
  26. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -1
  27. package/emotion/cjs/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  28. package/emotion/cjs/examples/plasma_b2c/components/Button/Button.stories.tsx +1 -1
  29. package/emotion/cjs/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  30. package/emotion/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
  31. package/emotion/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +1 -1
  32. package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -1
  33. package/emotion/cjs/examples/plasma_b2c/components/Chip/Chip.stories.tsx +1 -1
  34. package/emotion/cjs/examples/plasma_b2c/components/ChipGroup /ChipGroup.stories.tsx +1 -1
  35. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +2 -2
  36. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
  37. package/emotion/cjs/examples/plasma_b2c/components/Counter/Counter.stories.tsx +1 -1
  38. package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
  39. package/emotion/cjs/examples/plasma_b2c/components/Divider/Divider.stories.tsx +1 -1
  40. package/emotion/cjs/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
  41. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +1 -1
  42. package/emotion/cjs/examples/plasma_b2c/components/Editable/Editable.stories.tsx +1 -1
  43. package/emotion/cjs/examples/plasma_b2c/components/EmptyState/EmptyState.stories.tsx +1 -1
  44. package/emotion/cjs/examples/plasma_b2c/components/Grid/Grid.stories.tsx +1 -1
  45. package/emotion/cjs/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx +1 -1
  46. package/emotion/cjs/examples/plasma_b2c/components/Image/Image.stories.tsx +1 -1
  47. package/emotion/cjs/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx +1 -1
  48. package/emotion/cjs/examples/plasma_b2c/components/Link/Link.stories.tsx +1 -1
  49. package/emotion/cjs/examples/plasma_b2c/components/Mask/Mask.stories.tsx +1 -1
  50. package/emotion/cjs/examples/plasma_b2c/components/Modal/Modal.stories.tsx +1 -1
  51. package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +1 -1
  52. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +1 -1
  53. package/emotion/cjs/examples/plasma_b2c/components/Overlay/Overlay.stories.tsx +1 -1
  54. package/emotion/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -1
  55. package/emotion/cjs/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
  56. package/emotion/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +1 -1
  57. package/emotion/cjs/examples/plasma_b2c/components/Popup/Popup.stories.tsx +1 -1
  58. package/emotion/cjs/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
  59. package/emotion/cjs/examples/plasma_b2c/components/Price/Price.stories.tsx +1 -1
  60. package/emotion/cjs/examples/plasma_b2c/components/Progress/Progress.stories.tsx +1 -1
  61. package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +1 -1
  62. package/emotion/cjs/examples/plasma_b2c/components/Range/Range.stories.tsx +1 -1
  63. package/emotion/cjs/examples/plasma_b2c/components/Segment/Segment.stories.tsx +1 -1
  64. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -1
  65. package/emotion/cjs/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
  66. package/emotion/cjs/examples/plasma_b2c/components/Skeleton/Skeleton.stories.tsx +1 -1
  67. package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +1 -1
  68. package/emotion/cjs/examples/plasma_b2c/components/Spinner/Spinner.stories.tsx +1 -1
  69. package/emotion/cjs/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  70. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -1
  71. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +1 -1
  72. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +1 -1
  73. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -1
  74. package/emotion/cjs/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
  75. package/emotion/cjs/examples/plasma_b2c/components/Toast/Toast.stories.tsx +1 -1
  76. package/emotion/cjs/examples/plasma_b2c/components/Toolbar/Toolbar.stories.tsx +1 -1
  77. package/emotion/cjs/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +1 -1
  78. package/emotion/cjs/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +1 -1
  79. package/emotion/cjs/examples/plasma_web/components/Accordion/Accordion.stories.tsx +1 -1
  80. package/emotion/cjs/examples/plasma_web/components/Attach/Attach.stories.tsx +1 -1
  81. package/emotion/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.stories.tsx +1 -1
  82. package/emotion/cjs/examples/plasma_web/components/Avatar/Avatar.stories.tsx +1 -1
  83. package/emotion/cjs/examples/plasma_web/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
  84. package/emotion/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +1 -1
  85. package/emotion/cjs/examples/plasma_web/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  86. package/emotion/cjs/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
  87. package/emotion/cjs/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  88. package/emotion/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
  89. package/emotion/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +1 -1
  90. package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -1
  91. package/emotion/cjs/examples/plasma_web/components/Chip/Chip.stories.tsx +1 -1
  92. package/emotion/cjs/examples/plasma_web/components/ChipGroup /ChipGroup.stories.tsx +1 -1
  93. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +1 -1
  94. package/emotion/cjs/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
  95. package/emotion/cjs/examples/plasma_web/components/Counter/Counter.stories.tsx +1 -1
  96. package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
  97. package/emotion/cjs/examples/plasma_web/components/Divider/Divider.stories.tsx +1 -1
  98. package/emotion/cjs/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
  99. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +1 -1
  100. package/emotion/cjs/examples/plasma_web/components/Editable/Editable.stories.tsx +1 -1
  101. package/emotion/cjs/examples/plasma_web/components/EmptyState/EmptyState.stories.tsx +1 -1
  102. package/emotion/cjs/examples/plasma_web/components/Grid/Grid.stories.tsx +1 -1
  103. package/emotion/cjs/examples/plasma_web/components/IconButton/IconButton.stories.tsx +1 -1
  104. package/emotion/cjs/examples/plasma_web/components/Image/Image.stories.tsx +1 -1
  105. package/emotion/cjs/examples/plasma_web/components/Indicator/Indicator.stories.tsx +1 -1
  106. package/emotion/cjs/examples/plasma_web/components/Link/Link.stories.tsx +1 -1
  107. package/emotion/cjs/examples/plasma_web/components/Mask/Mask.stories.tsx +1 -1
  108. package/emotion/cjs/examples/plasma_web/components/Modal/Modal.stories.tsx +1 -1
  109. package/emotion/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +1 -1
  110. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +1 -1
  111. package/emotion/cjs/examples/plasma_web/components/Overlay/Overlay.stories.tsx +1 -1
  112. package/emotion/cjs/examples/plasma_web/components/Pagination/Pagination.stories.tsx +1 -1
  113. package/emotion/cjs/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
  114. package/emotion/cjs/examples/plasma_web/components/Popover/Popover.stories.tsx +1 -1
  115. package/emotion/cjs/examples/plasma_web/components/Popup/Popup.stories.tsx +1 -1
  116. package/emotion/cjs/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
  117. package/emotion/cjs/examples/plasma_web/components/Price/Price.stories.tsx +1 -1
  118. package/emotion/cjs/examples/plasma_web/components/Progress/Progress.stories.tsx +1 -1
  119. package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +1 -1
  120. package/emotion/cjs/examples/plasma_web/components/Range/Range.stories.tsx +1 -1
  121. package/emotion/cjs/examples/plasma_web/components/Segment/Segment.stories.tsx +1 -1
  122. package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +1 -1
  123. package/emotion/cjs/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
  124. package/emotion/cjs/examples/plasma_web/components/Skeleton/Skeleton.stories.tsx +1 -1
  125. package/emotion/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +1 -1
  126. package/emotion/cjs/examples/plasma_web/components/Spinner/Spinner.stories.tsx +1 -1
  127. package/emotion/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  128. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -1
  129. package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +1 -1
  130. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -1
  131. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +1 -1
  132. package/emotion/cjs/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
  133. package/emotion/cjs/examples/plasma_web/components/Toast/Toast.stories.tsx +1 -1
  134. package/emotion/cjs/examples/plasma_web/components/Toolbar/Toolbar.stories.tsx +1 -1
  135. package/emotion/cjs/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +1 -1
  136. package/emotion/cjs/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +1 -1
  137. package/emotion/cjs/examples/typograpy/components/Body/Body.stories.tsx +1 -1
  138. package/emotion/cjs/examples/typograpy/components/Dspl/Dspl.stories.tsx +1 -1
  139. package/emotion/cjs/examples/typograpy/components/Heading/Heading.stories.tsx +1 -1
  140. package/emotion/cjs/examples/typograpy/components/Old/Body/Body.stories.tsx +1 -1
  141. package/emotion/cjs/examples/typograpy/components/Old/Button/Button.stories.tsx +1 -1
  142. package/emotion/cjs/examples/typograpy/components/Old/Caption/Caption.stories.tsx +1 -1
  143. package/emotion/cjs/examples/typograpy/components/Old/Display/Display.stories.tsx +1 -1
  144. package/emotion/cjs/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +1 -1
  145. package/emotion/cjs/examples/typograpy/components/Old/Headline/Headline.stories.tsx +1 -1
  146. package/emotion/cjs/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +1 -1
  147. package/emotion/cjs/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +1 -1
  148. package/emotion/cjs/examples/typograpy/components/Old/Underline/Underline.stories.tsx +1 -1
  149. package/emotion/cjs/examples/typograpy/components/Text/Text.stories.tsx +1 -1
  150. package/emotion/cjs/utils/createEvent.js +53 -0
  151. package/emotion/cjs/utils/index.js +10 -1
  152. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +43 -9
  153. package/emotion/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +31 -0
  154. package/emotion/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +6 -0
  155. package/emotion/es/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +1 -1
  156. package/emotion/es/examples/plasma_b2c/components/Attach/Attach.stories.tsx +1 -1
  157. package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +1 -1
  158. package/emotion/es/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx +1 -1
  159. package/emotion/es/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
  160. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -1
  161. package/emotion/es/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  162. package/emotion/es/examples/plasma_b2c/components/Button/Button.stories.tsx +1 -1
  163. package/emotion/es/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  164. package/emotion/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
  165. package/emotion/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +1 -1
  166. package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -1
  167. package/emotion/es/examples/plasma_b2c/components/Chip/Chip.stories.tsx +1 -1
  168. package/emotion/es/examples/plasma_b2c/components/ChipGroup /ChipGroup.stories.tsx +1 -1
  169. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +2 -2
  170. package/emotion/es/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
  171. package/emotion/es/examples/plasma_b2c/components/Counter/Counter.stories.tsx +1 -1
  172. package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
  173. package/emotion/es/examples/plasma_b2c/components/Divider/Divider.stories.tsx +1 -1
  174. package/emotion/es/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
  175. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +1 -1
  176. package/emotion/es/examples/plasma_b2c/components/Editable/Editable.stories.tsx +1 -1
  177. package/emotion/es/examples/plasma_b2c/components/EmptyState/EmptyState.stories.tsx +1 -1
  178. package/emotion/es/examples/plasma_b2c/components/Grid/Grid.stories.tsx +1 -1
  179. package/emotion/es/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx +1 -1
  180. package/emotion/es/examples/plasma_b2c/components/Image/Image.stories.tsx +1 -1
  181. package/emotion/es/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx +1 -1
  182. package/emotion/es/examples/plasma_b2c/components/Link/Link.stories.tsx +1 -1
  183. package/emotion/es/examples/plasma_b2c/components/Mask/Mask.stories.tsx +1 -1
  184. package/emotion/es/examples/plasma_b2c/components/Modal/Modal.stories.tsx +1 -1
  185. package/emotion/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +1 -1
  186. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +1 -1
  187. package/emotion/es/examples/plasma_b2c/components/Overlay/Overlay.stories.tsx +1 -1
  188. package/emotion/es/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -1
  189. package/emotion/es/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
  190. package/emotion/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +1 -1
  191. package/emotion/es/examples/plasma_b2c/components/Popup/Popup.stories.tsx +1 -1
  192. package/emotion/es/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
  193. package/emotion/es/examples/plasma_b2c/components/Price/Price.stories.tsx +1 -1
  194. package/emotion/es/examples/plasma_b2c/components/Progress/Progress.stories.tsx +1 -1
  195. package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +1 -1
  196. package/emotion/es/examples/plasma_b2c/components/Range/Range.stories.tsx +1 -1
  197. package/emotion/es/examples/plasma_b2c/components/Segment/Segment.stories.tsx +1 -1
  198. package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -1
  199. package/emotion/es/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
  200. package/emotion/es/examples/plasma_b2c/components/Skeleton/Skeleton.stories.tsx +1 -1
  201. package/emotion/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +1 -1
  202. package/emotion/es/examples/plasma_b2c/components/Spinner/Spinner.stories.tsx +1 -1
  203. package/emotion/es/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  204. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -1
  205. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +1 -1
  206. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +1 -1
  207. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -1
  208. package/emotion/es/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
  209. package/emotion/es/examples/plasma_b2c/components/Toast/Toast.stories.tsx +1 -1
  210. package/emotion/es/examples/plasma_b2c/components/Toolbar/Toolbar.stories.tsx +1 -1
  211. package/emotion/es/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +1 -1
  212. package/emotion/es/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +1 -1
  213. package/emotion/es/examples/plasma_web/components/Accordion/Accordion.stories.tsx +1 -1
  214. package/emotion/es/examples/plasma_web/components/Attach/Attach.stories.tsx +1 -1
  215. package/emotion/es/examples/plasma_web/components/Autocomplete/Autocomplete.stories.tsx +1 -1
  216. package/emotion/es/examples/plasma_web/components/Avatar/Avatar.stories.tsx +1 -1
  217. package/emotion/es/examples/plasma_web/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
  218. package/emotion/es/examples/plasma_web/components/Badge/Badge.stories.tsx +1 -1
  219. package/emotion/es/examples/plasma_web/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  220. package/emotion/es/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
  221. package/emotion/es/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  222. package/emotion/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
  223. package/emotion/es/examples/plasma_web/components/Cell/Cell.stories.tsx +1 -1
  224. package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -1
  225. package/emotion/es/examples/plasma_web/components/Chip/Chip.stories.tsx +1 -1
  226. package/emotion/es/examples/plasma_web/components/ChipGroup /ChipGroup.stories.tsx +1 -1
  227. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +1 -1
  228. package/emotion/es/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
  229. package/emotion/es/examples/plasma_web/components/Counter/Counter.stories.tsx +1 -1
  230. package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
  231. package/emotion/es/examples/plasma_web/components/Divider/Divider.stories.tsx +1 -1
  232. package/emotion/es/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
  233. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +1 -1
  234. package/emotion/es/examples/plasma_web/components/Editable/Editable.stories.tsx +1 -1
  235. package/emotion/es/examples/plasma_web/components/EmptyState/EmptyState.stories.tsx +1 -1
  236. package/emotion/es/examples/plasma_web/components/Grid/Grid.stories.tsx +1 -1
  237. package/emotion/es/examples/plasma_web/components/IconButton/IconButton.stories.tsx +1 -1
  238. package/emotion/es/examples/plasma_web/components/Image/Image.stories.tsx +1 -1
  239. package/emotion/es/examples/plasma_web/components/Indicator/Indicator.stories.tsx +1 -1
  240. package/emotion/es/examples/plasma_web/components/Link/Link.stories.tsx +1 -1
  241. package/emotion/es/examples/plasma_web/components/Mask/Mask.stories.tsx +1 -1
  242. package/emotion/es/examples/plasma_web/components/Modal/Modal.stories.tsx +1 -1
  243. package/emotion/es/examples/plasma_web/components/Notification/Notification.stories.tsx +1 -1
  244. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +1 -1
  245. package/emotion/es/examples/plasma_web/components/Overlay/Overlay.stories.tsx +1 -1
  246. package/emotion/es/examples/plasma_web/components/Pagination/Pagination.stories.tsx +1 -1
  247. package/emotion/es/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
  248. package/emotion/es/examples/plasma_web/components/Popover/Popover.stories.tsx +1 -1
  249. package/emotion/es/examples/plasma_web/components/Popup/Popup.stories.tsx +1 -1
  250. package/emotion/es/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
  251. package/emotion/es/examples/plasma_web/components/Price/Price.stories.tsx +1 -1
  252. package/emotion/es/examples/plasma_web/components/Progress/Progress.stories.tsx +1 -1
  253. package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +1 -1
  254. package/emotion/es/examples/plasma_web/components/Range/Range.stories.tsx +1 -1
  255. package/emotion/es/examples/plasma_web/components/Segment/Segment.stories.tsx +1 -1
  256. package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +1 -1
  257. package/emotion/es/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
  258. package/emotion/es/examples/plasma_web/components/Skeleton/Skeleton.stories.tsx +1 -1
  259. package/emotion/es/examples/plasma_web/components/Slider/Slider.stories.tsx +1 -1
  260. package/emotion/es/examples/plasma_web/components/Spinner/Spinner.stories.tsx +1 -1
  261. package/emotion/es/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  262. package/emotion/es/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -1
  263. package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +1 -1
  264. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -1
  265. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +1 -1
  266. package/emotion/es/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
  267. package/emotion/es/examples/plasma_web/components/Toast/Toast.stories.tsx +1 -1
  268. package/emotion/es/examples/plasma_web/components/Toolbar/Toolbar.stories.tsx +1 -1
  269. package/emotion/es/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +1 -1
  270. package/emotion/es/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +1 -1
  271. package/emotion/es/examples/typograpy/components/Body/Body.stories.tsx +1 -1
  272. package/emotion/es/examples/typograpy/components/Dspl/Dspl.stories.tsx +1 -1
  273. package/emotion/es/examples/typograpy/components/Heading/Heading.stories.tsx +1 -1
  274. package/emotion/es/examples/typograpy/components/Old/Body/Body.stories.tsx +1 -1
  275. package/emotion/es/examples/typograpy/components/Old/Button/Button.stories.tsx +1 -1
  276. package/emotion/es/examples/typograpy/components/Old/Caption/Caption.stories.tsx +1 -1
  277. package/emotion/es/examples/typograpy/components/Old/Display/Display.stories.tsx +1 -1
  278. package/emotion/es/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +1 -1
  279. package/emotion/es/examples/typograpy/components/Old/Headline/Headline.stories.tsx +1 -1
  280. package/emotion/es/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +1 -1
  281. package/emotion/es/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +1 -1
  282. package/emotion/es/examples/typograpy/components/Old/Underline/Underline.stories.tsx +1 -1
  283. package/emotion/es/examples/typograpy/components/Text/Text.stories.tsx +1 -1
  284. package/emotion/es/utils/createEvent.js +47 -0
  285. package/emotion/es/utils/index.js +1 -0
  286. package/es/components/Combobox/ComboboxNew/Combobox.css +2 -0
  287. package/es/components/Combobox/ComboboxNew/Combobox.js +43 -10
  288. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  289. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +2 -0
  290. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +2 -0
  291. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.css +1 -0
  292. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +35 -0
  293. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js.map +1 -0
  294. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +11 -0
  295. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js.map +1 -0
  296. package/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles_18yw2bf.css +1 -0
  297. package/es/index.css +2 -0
  298. package/es/index.js +1 -0
  299. package/es/index.js.map +1 -1
  300. package/es/utils/createEvent.js +50 -0
  301. package/es/utils/createEvent.js.map +1 -0
  302. package/es/utils/index.js.map +1 -1
  303. package/package.json +2 -2
  304. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +42 -9
  305. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +40 -0
  306. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +12 -0
  307. package/styled-components/cjs/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +1 -1
  308. package/styled-components/cjs/examples/plasma_b2c/components/Attach/Attach.stories.tsx +1 -1
  309. package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +1 -1
  310. package/styled-components/cjs/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx +1 -1
  311. package/styled-components/cjs/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
  312. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -1
  313. package/styled-components/cjs/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  314. package/styled-components/cjs/examples/plasma_b2c/components/Button/Button.stories.tsx +1 -1
  315. package/styled-components/cjs/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  316. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
  317. package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +1 -1
  318. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -1
  319. package/styled-components/cjs/examples/plasma_b2c/components/Chip/Chip.stories.tsx +1 -1
  320. package/styled-components/cjs/examples/plasma_b2c/components/ChipGroup /ChipGroup.stories.tsx +1 -1
  321. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +2 -2
  322. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
  323. package/styled-components/cjs/examples/plasma_b2c/components/Counter/Counter.stories.tsx +1 -1
  324. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
  325. package/styled-components/cjs/examples/plasma_b2c/components/Divider/Divider.stories.tsx +1 -1
  326. package/styled-components/cjs/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
  327. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +1 -1
  328. package/styled-components/cjs/examples/plasma_b2c/components/Editable/Editable.stories.tsx +1 -1
  329. package/styled-components/cjs/examples/plasma_b2c/components/EmptyState/EmptyState.stories.tsx +1 -1
  330. package/styled-components/cjs/examples/plasma_b2c/components/Grid/Grid.stories.tsx +1 -1
  331. package/styled-components/cjs/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx +1 -1
  332. package/styled-components/cjs/examples/plasma_b2c/components/Image/Image.stories.tsx +1 -1
  333. package/styled-components/cjs/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx +1 -1
  334. package/styled-components/cjs/examples/plasma_b2c/components/Link/Link.stories.tsx +1 -1
  335. package/styled-components/cjs/examples/plasma_b2c/components/Mask/Mask.stories.tsx +1 -1
  336. package/styled-components/cjs/examples/plasma_b2c/components/Modal/Modal.stories.tsx +1 -1
  337. package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +1 -1
  338. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +1 -1
  339. package/styled-components/cjs/examples/plasma_b2c/components/Overlay/Overlay.stories.tsx +1 -1
  340. package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -1
  341. package/styled-components/cjs/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
  342. package/styled-components/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +1 -1
  343. package/styled-components/cjs/examples/plasma_b2c/components/Popup/Popup.stories.tsx +1 -1
  344. package/styled-components/cjs/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
  345. package/styled-components/cjs/examples/plasma_b2c/components/Price/Price.stories.tsx +1 -1
  346. package/styled-components/cjs/examples/plasma_b2c/components/Progress/Progress.stories.tsx +1 -1
  347. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +1 -1
  348. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.stories.tsx +1 -1
  349. package/styled-components/cjs/examples/plasma_b2c/components/Segment/Segment.stories.tsx +1 -1
  350. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -1
  351. package/styled-components/cjs/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
  352. package/styled-components/cjs/examples/plasma_b2c/components/Skeleton/Skeleton.stories.tsx +1 -1
  353. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +1 -1
  354. package/styled-components/cjs/examples/plasma_b2c/components/Spinner/Spinner.stories.tsx +1 -1
  355. package/styled-components/cjs/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  356. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -1
  357. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +1 -1
  358. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +1 -1
  359. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -1
  360. package/styled-components/cjs/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
  361. package/styled-components/cjs/examples/plasma_b2c/components/Toast/Toast.stories.tsx +1 -1
  362. package/styled-components/cjs/examples/plasma_b2c/components/Toolbar/Toolbar.stories.tsx +1 -1
  363. package/styled-components/cjs/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +1 -1
  364. package/styled-components/cjs/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +1 -1
  365. package/styled-components/cjs/examples/plasma_web/components/Accordion/Accordion.stories.tsx +1 -1
  366. package/styled-components/cjs/examples/plasma_web/components/Attach/Attach.stories.tsx +1 -1
  367. package/styled-components/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.stories.tsx +1 -1
  368. package/styled-components/cjs/examples/plasma_web/components/Avatar/Avatar.stories.tsx +1 -1
  369. package/styled-components/cjs/examples/plasma_web/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
  370. package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +1 -1
  371. package/styled-components/cjs/examples/plasma_web/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  372. package/styled-components/cjs/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
  373. package/styled-components/cjs/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  374. package/styled-components/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
  375. package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +1 -1
  376. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -1
  377. package/styled-components/cjs/examples/plasma_web/components/Chip/Chip.stories.tsx +1 -1
  378. package/styled-components/cjs/examples/plasma_web/components/ChipGroup /ChipGroup.stories.tsx +1 -1
  379. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +1 -1
  380. package/styled-components/cjs/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
  381. package/styled-components/cjs/examples/plasma_web/components/Counter/Counter.stories.tsx +1 -1
  382. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
  383. package/styled-components/cjs/examples/plasma_web/components/Divider/Divider.stories.tsx +1 -1
  384. package/styled-components/cjs/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
  385. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +1 -1
  386. package/styled-components/cjs/examples/plasma_web/components/Editable/Editable.stories.tsx +1 -1
  387. package/styled-components/cjs/examples/plasma_web/components/EmptyState/EmptyState.stories.tsx +1 -1
  388. package/styled-components/cjs/examples/plasma_web/components/Grid/Grid.stories.tsx +1 -1
  389. package/styled-components/cjs/examples/plasma_web/components/IconButton/IconButton.stories.tsx +1 -1
  390. package/styled-components/cjs/examples/plasma_web/components/Image/Image.stories.tsx +1 -1
  391. package/styled-components/cjs/examples/plasma_web/components/Indicator/Indicator.stories.tsx +1 -1
  392. package/styled-components/cjs/examples/plasma_web/components/Link/Link.stories.tsx +1 -1
  393. package/styled-components/cjs/examples/plasma_web/components/Mask/Mask.stories.tsx +1 -1
  394. package/styled-components/cjs/examples/plasma_web/components/Modal/Modal.stories.tsx +1 -1
  395. package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +1 -1
  396. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +1 -1
  397. package/styled-components/cjs/examples/plasma_web/components/Overlay/Overlay.stories.tsx +1 -1
  398. package/styled-components/cjs/examples/plasma_web/components/Pagination/Pagination.stories.tsx +1 -1
  399. package/styled-components/cjs/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
  400. package/styled-components/cjs/examples/plasma_web/components/Popover/Popover.stories.tsx +1 -1
  401. package/styled-components/cjs/examples/plasma_web/components/Popup/Popup.stories.tsx +1 -1
  402. package/styled-components/cjs/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
  403. package/styled-components/cjs/examples/plasma_web/components/Price/Price.stories.tsx +1 -1
  404. package/styled-components/cjs/examples/plasma_web/components/Progress/Progress.stories.tsx +1 -1
  405. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +1 -1
  406. package/styled-components/cjs/examples/plasma_web/components/Range/Range.stories.tsx +1 -1
  407. package/styled-components/cjs/examples/plasma_web/components/Segment/Segment.stories.tsx +1 -1
  408. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +1 -1
  409. package/styled-components/cjs/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
  410. package/styled-components/cjs/examples/plasma_web/components/Skeleton/Skeleton.stories.tsx +1 -1
  411. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +1 -1
  412. package/styled-components/cjs/examples/plasma_web/components/Spinner/Spinner.stories.tsx +1 -1
  413. package/styled-components/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  414. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -1
  415. package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +1 -1
  416. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -1
  417. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +1 -1
  418. package/styled-components/cjs/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
  419. package/styled-components/cjs/examples/plasma_web/components/Toast/Toast.stories.tsx +1 -1
  420. package/styled-components/cjs/examples/plasma_web/components/Toolbar/Toolbar.stories.tsx +1 -1
  421. package/styled-components/cjs/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +1 -1
  422. package/styled-components/cjs/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +1 -1
  423. package/styled-components/cjs/examples/typograpy/components/Body/Body.stories.tsx +1 -1
  424. package/styled-components/cjs/examples/typograpy/components/Dspl/Dspl.stories.tsx +1 -1
  425. package/styled-components/cjs/examples/typograpy/components/Heading/Heading.stories.tsx +1 -1
  426. package/styled-components/cjs/examples/typograpy/components/Old/Body/Body.stories.tsx +1 -1
  427. package/styled-components/cjs/examples/typograpy/components/Old/Button/Button.stories.tsx +1 -1
  428. package/styled-components/cjs/examples/typograpy/components/Old/Caption/Caption.stories.tsx +1 -1
  429. package/styled-components/cjs/examples/typograpy/components/Old/Display/Display.stories.tsx +1 -1
  430. package/styled-components/cjs/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +1 -1
  431. package/styled-components/cjs/examples/typograpy/components/Old/Headline/Headline.stories.tsx +1 -1
  432. package/styled-components/cjs/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +1 -1
  433. package/styled-components/cjs/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +1 -1
  434. package/styled-components/cjs/examples/typograpy/components/Old/Underline/Underline.stories.tsx +1 -1
  435. package/styled-components/cjs/examples/typograpy/components/Text/Text.stories.tsx +1 -1
  436. package/styled-components/cjs/utils/createEvent.js +53 -0
  437. package/styled-components/cjs/utils/index.js +10 -1
  438. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +43 -9
  439. package/styled-components/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.js +31 -0
  440. package/styled-components/es/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.js +5 -0
  441. package/styled-components/es/examples/plasma_b2c/components/Accordion/Accordion.stories.tsx +1 -1
  442. package/styled-components/es/examples/plasma_b2c/components/Attach/Attach.stories.tsx +1 -1
  443. package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.stories.tsx +1 -1
  444. package/styled-components/es/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx +1 -1
  445. package/styled-components/es/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
  446. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -1
  447. package/styled-components/es/examples/plasma_b2c/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  448. package/styled-components/es/examples/plasma_b2c/components/Button/Button.stories.tsx +1 -1
  449. package/styled-components/es/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  450. package/styled-components/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
  451. package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +1 -1
  452. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -1
  453. package/styled-components/es/examples/plasma_b2c/components/Chip/Chip.stories.tsx +1 -1
  454. package/styled-components/es/examples/plasma_b2c/components/ChipGroup /ChipGroup.stories.tsx +1 -1
  455. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +2 -2
  456. package/styled-components/es/examples/plasma_b2c/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
  457. package/styled-components/es/examples/plasma_b2c/components/Counter/Counter.stories.tsx +1 -1
  458. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.stories.tsx +1 -1
  459. package/styled-components/es/examples/plasma_b2c/components/Divider/Divider.stories.tsx +1 -1
  460. package/styled-components/es/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
  461. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +1 -1
  462. package/styled-components/es/examples/plasma_b2c/components/Editable/Editable.stories.tsx +1 -1
  463. package/styled-components/es/examples/plasma_b2c/components/EmptyState/EmptyState.stories.tsx +1 -1
  464. package/styled-components/es/examples/plasma_b2c/components/Grid/Grid.stories.tsx +1 -1
  465. package/styled-components/es/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx +1 -1
  466. package/styled-components/es/examples/plasma_b2c/components/Image/Image.stories.tsx +1 -1
  467. package/styled-components/es/examples/plasma_b2c/components/Indicator/Indicator.stories.tsx +1 -1
  468. package/styled-components/es/examples/plasma_b2c/components/Link/Link.stories.tsx +1 -1
  469. package/styled-components/es/examples/plasma_b2c/components/Mask/Mask.stories.tsx +1 -1
  470. package/styled-components/es/examples/plasma_b2c/components/Modal/Modal.stories.tsx +1 -1
  471. package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +1 -1
  472. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +1 -1
  473. package/styled-components/es/examples/plasma_b2c/components/Overlay/Overlay.stories.tsx +1 -1
  474. package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -1
  475. package/styled-components/es/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
  476. package/styled-components/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +1 -1
  477. package/styled-components/es/examples/plasma_b2c/components/Popup/Popup.stories.tsx +1 -1
  478. package/styled-components/es/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
  479. package/styled-components/es/examples/plasma_b2c/components/Price/Price.stories.tsx +1 -1
  480. package/styled-components/es/examples/plasma_b2c/components/Progress/Progress.stories.tsx +1 -1
  481. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +1 -1
  482. package/styled-components/es/examples/plasma_b2c/components/Range/Range.stories.tsx +1 -1
  483. package/styled-components/es/examples/plasma_b2c/components/Segment/Segment.stories.tsx +1 -1
  484. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -1
  485. package/styled-components/es/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
  486. package/styled-components/es/examples/plasma_b2c/components/Skeleton/Skeleton.stories.tsx +1 -1
  487. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +1 -1
  488. package/styled-components/es/examples/plasma_b2c/components/Spinner/Spinner.stories.tsx +1 -1
  489. package/styled-components/es/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  490. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -1
  491. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +1 -1
  492. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +1 -1
  493. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -1
  494. package/styled-components/es/examples/plasma_b2c/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
  495. package/styled-components/es/examples/plasma_b2c/components/Toast/Toast.stories.tsx +1 -1
  496. package/styled-components/es/examples/plasma_b2c/components/Toolbar/Toolbar.stories.tsx +1 -1
  497. package/styled-components/es/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +1 -1
  498. package/styled-components/es/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +1 -1
  499. package/styled-components/es/examples/plasma_web/components/Accordion/Accordion.stories.tsx +1 -1
  500. package/styled-components/es/examples/plasma_web/components/Attach/Attach.stories.tsx +1 -1
  501. package/styled-components/es/examples/plasma_web/components/Autocomplete/Autocomplete.stories.tsx +1 -1
  502. package/styled-components/es/examples/plasma_web/components/Avatar/Avatar.stories.tsx +1 -1
  503. package/styled-components/es/examples/plasma_web/components/AvatarGroup/AvatarGroup.stories.tsx +1 -1
  504. package/styled-components/es/examples/plasma_web/components/Badge/Badge.stories.tsx +1 -1
  505. package/styled-components/es/examples/plasma_web/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  506. package/styled-components/es/examples/plasma_web/components/Button/Button.stories.tsx +1 -1
  507. package/styled-components/es/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  508. package/styled-components/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
  509. package/styled-components/es/examples/plasma_web/components/Cell/Cell.stories.tsx +1 -1
  510. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -1
  511. package/styled-components/es/examples/plasma_web/components/Chip/Chip.stories.tsx +1 -1
  512. package/styled-components/es/examples/plasma_web/components/ChipGroup /ChipGroup.stories.tsx +1 -1
  513. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +1 -1
  514. package/styled-components/es/examples/plasma_web/components/Combobox/Legacy/Combobox.stories.tsx +1 -1
  515. package/styled-components/es/examples/plasma_web/components/Counter/Counter.stories.tsx +1 -1
  516. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.stories.tsx +1 -1
  517. package/styled-components/es/examples/plasma_web/components/Divider/Divider.stories.tsx +1 -1
  518. package/styled-components/es/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
  519. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +1 -1
  520. package/styled-components/es/examples/plasma_web/components/Editable/Editable.stories.tsx +1 -1
  521. package/styled-components/es/examples/plasma_web/components/EmptyState/EmptyState.stories.tsx +1 -1
  522. package/styled-components/es/examples/plasma_web/components/Grid/Grid.stories.tsx +1 -1
  523. package/styled-components/es/examples/plasma_web/components/IconButton/IconButton.stories.tsx +1 -1
  524. package/styled-components/es/examples/plasma_web/components/Image/Image.stories.tsx +1 -1
  525. package/styled-components/es/examples/plasma_web/components/Indicator/Indicator.stories.tsx +1 -1
  526. package/styled-components/es/examples/plasma_web/components/Link/Link.stories.tsx +1 -1
  527. package/styled-components/es/examples/plasma_web/components/Mask/Mask.stories.tsx +1 -1
  528. package/styled-components/es/examples/plasma_web/components/Modal/Modal.stories.tsx +1 -1
  529. package/styled-components/es/examples/plasma_web/components/Notification/Notification.stories.tsx +1 -1
  530. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +1 -1
  531. package/styled-components/es/examples/plasma_web/components/Overlay/Overlay.stories.tsx +1 -1
  532. package/styled-components/es/examples/plasma_web/components/Pagination/Pagination.stories.tsx +1 -1
  533. package/styled-components/es/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
  534. package/styled-components/es/examples/plasma_web/components/Popover/Popover.stories.tsx +1 -1
  535. package/styled-components/es/examples/plasma_web/components/Popup/Popup.stories.tsx +1 -1
  536. package/styled-components/es/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
  537. package/styled-components/es/examples/plasma_web/components/Price/Price.stories.tsx +1 -1
  538. package/styled-components/es/examples/plasma_web/components/Progress/Progress.stories.tsx +1 -1
  539. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +1 -1
  540. package/styled-components/es/examples/plasma_web/components/Range/Range.stories.tsx +1 -1
  541. package/styled-components/es/examples/plasma_web/components/Segment/Segment.stories.tsx +1 -1
  542. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +1 -1
  543. package/styled-components/es/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
  544. package/styled-components/es/examples/plasma_web/components/Skeleton/Skeleton.stories.tsx +1 -1
  545. package/styled-components/es/examples/plasma_web/components/Slider/Slider.stories.tsx +1 -1
  546. package/styled-components/es/examples/plasma_web/components/Spinner/Spinner.stories.tsx +1 -1
  547. package/styled-components/es/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  548. package/styled-components/es/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -1
  549. package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +1 -1
  550. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -1
  551. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +1 -1
  552. package/styled-components/es/examples/plasma_web/components/TextFieldGroup/TextFieldGroup.stories.tsx +1 -1
  553. package/styled-components/es/examples/plasma_web/components/Toast/Toast.stories.tsx +1 -1
  554. package/styled-components/es/examples/plasma_web/components/Toolbar/Toolbar.stories.tsx +1 -1
  555. package/styled-components/es/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +1 -1
  556. package/styled-components/es/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +1 -1
  557. package/styled-components/es/examples/typograpy/components/Body/Body.stories.tsx +1 -1
  558. package/styled-components/es/examples/typograpy/components/Dspl/Dspl.stories.tsx +1 -1
  559. package/styled-components/es/examples/typograpy/components/Heading/Heading.stories.tsx +1 -1
  560. package/styled-components/es/examples/typograpy/components/Old/Body/Body.stories.tsx +1 -1
  561. package/styled-components/es/examples/typograpy/components/Old/Button/Button.stories.tsx +1 -1
  562. package/styled-components/es/examples/typograpy/components/Old/Caption/Caption.stories.tsx +1 -1
  563. package/styled-components/es/examples/typograpy/components/Old/Display/Display.stories.tsx +1 -1
  564. package/styled-components/es/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +1 -1
  565. package/styled-components/es/examples/typograpy/components/Old/Headline/Headline.stories.tsx +1 -1
  566. package/styled-components/es/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +1 -1
  567. package/styled-components/es/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +1 -1
  568. package/styled-components/es/examples/typograpy/components/Old/Underline/Underline.stories.tsx +1 -1
  569. package/styled-components/es/examples/typograpy/components/Text/Text.stories.tsx +1 -1
  570. package/styled-components/es/utils/createEvent.js +47 -0
  571. package/styled-components/es/utils/index.js +1 -0
  572. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  573. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +28 -9
  574. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  575. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts +6 -0
  576. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts.map +1 -0
  577. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.d.ts +3 -0
  578. package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.styles.d.ts.map +1 -0
  579. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +1174 -166
  580. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  581. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +1174 -166
  582. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
  583. package/types/utils/createEvent.d.ts +3 -0
  584. package/types/utils/createEvent.d.ts.map +1 -0
  585. package/types/utils/index.d.ts +1 -0
  586. package/types/utils/index.d.ts.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-new-hope",
3
- "version": "0.195.2-canary.1580.11946918297.0",
3
+ "version": "0.196.0-canary.1552.11952949201.0",
4
4
  "description": "Salute Design System blueprint",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",
@@ -129,5 +129,5 @@
129
129
  "sideEffects": [
130
130
  "*.css"
131
131
  ],
132
- "gitHead": "6e71c0fda87166c0213d6bb5020b0cc74be464a7"
132
+ "gitHead": "ccfb71eceec7dd2705c2d9bf3f9ca39604f9cbfe"
133
133
  }
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
- 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); }
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
@@ -20,7 +19,8 @@ var _getPathMaps = /*#__PURE__*/require("./hooks/getPathMaps");
20
19
  var _Combobox2 = /*#__PURE__*/require("./Combobox.styles");
21
20
  var _base = /*#__PURE__*/require("./variations/_view/base");
22
21
  var _base2 = /*#__PURE__*/require("./variations/_size/base");
23
- var _excluded = ["multiple", "value", "onChange", "isTargetAmount", "targetAmount", "items", "placement", "label", "placeholder", "helperText", "contentLeft", "textBefore", "textAfter", "variant", "listOverflow", "listHeight", "listWidth", "portal", "renderItem", "view", "size", "labelPlacement", "readOnly", "disabled", "alwaysOpened", "filter", "closeAfterSelect", "renderValue"];
22
+ var _SelectNative = /*#__PURE__*/require("./ui/SelectNative/SelectNative");
23
+ var _excluded = ["name", "multiple", "value", "onChange", "defaultValue", "isTargetAmount", "targetAmount", "items", "placement", "label", "placeholder", "helperText", "contentLeft", "textBefore", "textAfter", "variant", "listOverflow", "listHeight", "listWidth", "portal", "renderItem", "view", "size", "labelPlacement", "readOnly", "disabled", "alwaysOpened", "filter", "closeAfterSelect", "renderValue"];
24
24
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
25
25
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
26
26
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
@@ -28,6 +28,7 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableTo
28
28
  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."); }
29
29
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
30
30
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
31
+ 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); }
31
32
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
32
33
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
33
34
  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); }
@@ -41,12 +42,15 @@ var Context = exports.Context = /*#__PURE__*/(0, _react.createContext)({});
41
42
  /**
42
43
  * Поле ввода с выпадающим списком и возможностью фильтрации и выбора элементов.
43
44
  */
45
+
44
46
  var comboboxRoot = exports.comboboxRoot = function comboboxRoot(Root) {
45
47
  return /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
46
48
  var _valueToItemMap$get, _valueToItemMap$get2, _getItemByFocused;
47
- var multiple = props.multiple,
49
+ var name = props.name,
50
+ multiple = props.multiple,
48
51
  outerValue = props.value,
49
52
  outerOnChange = props.onChange,
53
+ defaultValue = props.defaultValue,
50
54
  isTargetAmount = props.isTargetAmount,
51
55
  targetAmount = props.targetAmount,
52
56
  items = props.items,
@@ -153,11 +157,27 @@ var comboboxRoot = exports.comboboxRoot = function comboboxRoot(Root) {
153
157
  }
154
158
  }
155
159
  }, floatingPopoverRef);
160
+
161
+ // Эта функция срабатывает при изменении Combobox и
162
+ // при изменении нативного Select для формы (срабатывает только после изменения internalValue и рендера).
156
163
  var onChange = function onChange(newValue) {
164
+ // Условие для отправки изменений наружу
157
165
  if (outerOnChange) {
158
- outerOnChange(newValue);
166
+ // Условие для отправки если комбобокс используется без формы.
167
+ if (!name && (typeof newValue === 'string' || Array.isArray(newValue))) {
168
+ outerOnChange(newValue);
169
+ }
170
+
171
+ // Условие для отправки если комбобокс используется с формой.
172
+ if (name && _typeof(newValue) === 'object' && !Array.isArray(newValue)) {
173
+ outerOnChange(newValue);
174
+ }
175
+ }
176
+
177
+ // Условие для изменения внутреннего значения (только если newValue строка или массив строк).
178
+ if (typeof newValue === 'string' || Array.isArray(newValue)) {
179
+ setInternalValue(newValue);
159
180
  }
160
- setInternalValue(newValue);
161
181
  };
162
182
  var handleClickArrow = function handleClickArrow() {
163
183
  if (disabled || readOnly) {
@@ -360,13 +380,25 @@ var comboboxRoot = exports.comboboxRoot = function comboboxRoot(Root) {
360
380
  // Т.к. вначале нужно отфильтровать и провалидировать outerValue и результат положить в переменную.
361
381
  // А переменную, содержащую сложные типы данных, нельзя помещать в deps.
362
382
  }, [outerValue, internalValue, items]);
383
+ (0, _react.useEffect)(function () {
384
+ if (defaultValue) {
385
+ setInternalValue(defaultValue);
386
+ }
387
+ }, [defaultValue]);
363
388
  return /*#__PURE__*/_react["default"].createElement(Root, {
364
389
  size: size,
365
390
  view: view,
366
391
  labelPlacement: labelPlacement,
367
392
  disabled: disabled,
368
- readOnly: readOnly
369
- }, /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(Context.Provider, {
393
+ readOnly: readOnly,
394
+ name: name
395
+ }, name && /*#__PURE__*/_react["default"].createElement(_SelectNative.SelectNative, {
396
+ name: name,
397
+ value: internalValue,
398
+ multiple: multiple,
399
+ onChange: onChange,
400
+ ref: ref
401
+ }), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(Context.Provider, {
370
402
  value: {
371
403
  focusedPath: focusedPath,
372
404
  checked: checked,
@@ -389,7 +421,7 @@ var comboboxRoot = exports.comboboxRoot = function comboboxRoot(Root) {
389
421
  listWidth: listWidth,
390
422
  target: function target(referenceRef) {
391
423
  return /*#__PURE__*/_react["default"].createElement(_ui.StyledTextField, _extends({
392
- ref: inputForkRef,
424
+ ref: name ? inputRef : inputForkRef,
393
425
  inputWrapperRef: referenceRef,
394
426
  value: textValue,
395
427
  onChange: handleTextValueChange,
@@ -433,7 +465,8 @@ var comboboxRoot = exports.comboboxRoot = function comboboxRoot(Root) {
433
465
  view: view,
434
466
  labelPlacement: labelPlacement,
435
467
  disabled: disabled,
436
- readOnly: readOnly
468
+ readOnly: readOnly,
469
+ name: name
437
470
  }, /*#__PURE__*/_react["default"].createElement(_Combobox2.Ul, {
438
471
  role: "tree",
439
472
  id: "".concat(treeId, "_tree_level_1"),
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+
3
+ 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); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.SelectNative = void 0;
8
+ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
9
+ var _plasmaCore = /*#__PURE__*/require("@salutejs/plasma-core");
10
+ var _utils = /*#__PURE__*/require("../../../../../utils");
11
+ var _SelectNative = /*#__PURE__*/require("./SelectNative.styles");
12
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
13
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
14
+ var SelectNative = exports.SelectNative = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
15
+ var name = _ref.name,
16
+ multiple = _ref.multiple,
17
+ value = _ref.value,
18
+ onChange = _ref.onChange;
19
+ var values = multiple ? value : [value];
20
+ var selectRef = (0, _react.useRef)(null);
21
+ var forkRef = (0, _plasmaCore.useForkRef)(selectRef, ref);
22
+ (0, _react.useEffect)(function () {
23
+ var event = (0, _utils.createEvent)(selectRef);
24
+ if (onChange) {
25
+ onChange(event);
26
+ }
27
+ }, [values]);
28
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_SelectNative.SelectHidden, {
29
+ ref: forkRef,
30
+ multiple: multiple,
31
+ name: name,
32
+ hidden: true,
33
+ value: multiple ? values : values[0]
34
+ }, values.map(function (v) {
35
+ return /*#__PURE__*/_react["default"].createElement("option", {
36
+ key: v,
37
+ value: v
38
+ }, v);
39
+ })));
40
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SelectHidden = void 0;
7
+ var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
8
+ var _mixins = /*#__PURE__*/require("../../../../../mixins");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ var SelectHidden = exports.SelectHidden = /*#__PURE__*/_styledComponents["default"].select.withConfig({
11
+ componentId: "plasma-new-hope__sc-w046ru-0"
12
+ })(["", ";"], /*#__PURE__*/(0, _mixins.applyHidden)());
@@ -24,7 +24,7 @@ type AccordionItemCustomProps = {
24
24
  type AccordionProps = ComponentProps<typeof Accordion> & AccordionItemCustomProps;
25
25
 
26
26
  const meta: Meta<AccordionProps> = {
27
- title: 'b2c/Data Display/Accordion',
27
+ title: 'plasma_b2c/Accordion',
28
28
  decorators: [WithTheme],
29
29
  component: Accordion,
30
30
  args: {
@@ -47,7 +47,7 @@ type StoryAttachProps = ComponentProps<typeof Attach> & {
47
47
  };
48
48
 
49
49
  const meta: Meta<StoryAttachProps> = {
50
- title: 'b2c/Data Entry/Attach',
50
+ title: 'plasma_b2c/Attach',
51
51
  decorators: [WithTheme],
52
52
  component: Attach,
53
53
  argTypes: {
@@ -70,7 +70,7 @@ type StoryProps = ComponentProps<typeof Autocomplete> & {
70
70
  };
71
71
 
72
72
  const meta: Meta<StoryProps> = {
73
- title: 'b2c/Data Entry/Autocomplete',
73
+ title: 'plasma_b2c/Autocomplete',
74
74
  decorators: [WithTheme],
75
75
  component: Autocomplete,
76
76
  argTypes: {
@@ -7,7 +7,7 @@ import { argTypesFromConfig, WithTheme } from '../../../_helpers';
7
7
  import { Avatar, mergedConfig } from './Avatar';
8
8
 
9
9
  const meta: Meta<typeof Avatar> = {
10
- title: 'b2c/Data Display/Avatar',
10
+ title: 'plasma_b2c/Avatar',
11
11
  decorators: [WithTheme],
12
12
  component: Avatar,
13
13
  argTypes: {
@@ -11,7 +11,7 @@ type Story = StoryObj<ComponentProps<typeof AvatarGroup>>;
11
11
  type Avatar = ComponentProps<typeof Avatar>;
12
12
 
13
13
  const meta: Meta<typeof AvatarGroup> = {
14
- title: 'b2c/Data Display/AvatarGroup',
14
+ title: 'plasma_b2c/AvatarGroup',
15
15
  decorators: [WithTheme],
16
16
  component: AvatarGroup,
17
17
  };
@@ -7,7 +7,7 @@ import { WithTheme } from '../../../_helpers';
7
7
  import { Badge } from './Badge';
8
8
 
9
9
  const meta: Meta<typeof Badge> = {
10
- title: 'b2c/Data Display/Badge',
10
+ title: 'plasma_b2c/Badge',
11
11
  component: Badge,
12
12
  decorators: [WithTheme],
13
13
  argTypes: {
@@ -13,7 +13,7 @@ import { Breadcrumbs } from './Breadcrumbs';
13
13
  type BreadcrumbsProps = ComponentProps<typeof Breadcrumbs>;
14
14
 
15
15
  const meta: Meta<BreadcrumbsProps> = {
16
- title: 'b2c/Navigation/Breadcrumbs',
16
+ title: 'plasma_b2c/Breadcrumbs',
17
17
  decorators: [WithTheme],
18
18
  component: Breadcrumbs,
19
19
  args: {
@@ -24,7 +24,7 @@ const pinValues = [
24
24
  const contentPlacinValues = ['default', 'relaxed'];
25
25
 
26
26
  const meta: Meta<typeof Button> = {
27
- title: 'b2c/Data Entry/Button',
27
+ title: 'plasma_b2c/Button',
28
28
  decorators: [WithTheme],
29
29
  component: Button,
30
30
  args: {
@@ -19,7 +19,7 @@ const shapeValues = ['segmented', 'default'];
19
19
  const stretchingValues = ['auto', 'filled'];
20
20
 
21
21
  const meta: Meta<typeof ButtonGroup> = {
22
- title: 'b2c/Data Entry/ButtonGroup',
22
+ title: 'plasma_b2c/ButtonGroup',
23
23
  decorators: [WithTheme],
24
24
  argTypes: {
25
25
  size: {
@@ -13,7 +13,7 @@ import { Calendar, CalendarBase, CalendarBaseRange, CalendarDouble, CalendarDoub
13
13
  const onChangeValue = action('onChangeValue');
14
14
 
15
15
  const meta: Meta<typeof CalendarBase> = {
16
- title: 'b2c/Data Entry/Calendar',
16
+ title: 'plasma_b2c/Calendar',
17
17
  decorators: [WithTheme],
18
18
  argTypes: {
19
19
  min: {
@@ -33,7 +33,7 @@ const getSize = (size: SizesCell): SizesAvatar => {
33
33
  };
34
34
 
35
35
  const meta: Meta<typeof Cell> = {
36
- title: 'b2c/Data Display/Cell',
36
+ title: 'plasma_b2c/Cell',
37
37
  decorators: [WithTheme],
38
38
  argTypes: {
39
39
  size: {
@@ -16,7 +16,7 @@ const onFocus = action('onFocus');
16
16
  const onBlur = action('onBlur');
17
17
 
18
18
  const meta: Meta<typeof Checkbox> = {
19
- title: 'b2c/Data Entry/Checkbox',
19
+ title: 'plasma_b2c/Checkbox',
20
20
  decorators: [WithTheme],
21
21
  component: Checkbox,
22
22
  argTypes: argTypesFromConfig(mergeConfig(checkboxConfig, config)),
@@ -13,7 +13,7 @@ import { Chip } from './Chip';
13
13
  const onClear = action('onClear');
14
14
 
15
15
  const meta: Meta<typeof Chip> = {
16
- title: 'b2c/Data Display/Chip',
16
+ title: 'plasma_b2c/Chip',
17
17
  decorators: [WithTheme],
18
18
  component: Chip,
19
19
  argTypes: {
@@ -16,7 +16,7 @@ const sizes = ['l', 'm', 's', 'xs'];
16
16
  const gapValues = ['dense', 'wide'];
17
17
 
18
18
  const meta: Meta<typeof ChipGroup> = {
19
- title: 'b2c/Data Display/ChipGroup',
19
+ title: 'plasma_b2c/ChipGroup',
20
20
  decorators: [WithTheme],
21
21
  argTypes: {
22
22
  size: {
@@ -17,7 +17,7 @@ const labelPlacement = ['inner', 'outer'];
17
17
  const variant = ['normal', 'tight'];
18
18
 
19
19
  const meta: Meta<StorySelectProps> = {
20
- title: 'b2c/Data Entry/Combobox',
20
+ title: 'plasma_b2c/Combobox',
21
21
  decorators: [WithTheme],
22
22
  component: Combobox,
23
23
  argTypes: {
@@ -353,11 +353,11 @@ const items = [
353
353
 
354
354
  const SingleStory = (args: StorySelectProps) => {
355
355
  const [value, setValue] = useState('');
356
-
357
356
  return (
358
357
  <div style={{ width: '400px' }}>
359
358
  <Combobox
360
359
  {...args}
360
+ name="mau"
361
361
  items={items}
362
362
  value={value}
363
363
  onChange={setValue}
@@ -25,7 +25,7 @@ type StorySelectPropsCustom = {
25
25
  type StorySelectProps = ComponentProps<typeof Combobox> & StorySelectPropsCustom;
26
26
 
27
27
  const meta: Meta<StorySelectProps> = {
28
- title: 'b2c/Data Entry/Combobox',
28
+ title: 'plasma_b2c/Combobox',
29
29
  decorators: [WithTheme],
30
30
  component: Combobox,
31
31
  argTypes: {
@@ -9,7 +9,7 @@ const sizes = ['l', 'm', 's', 'xs', 'xxs'];
9
9
  const views = ['default', 'accent', 'positive', 'warning', 'negative', 'dark', 'light'];
10
10
 
11
11
  const meta: Meta<typeof Counter> = {
12
- title: 'b2c/Data Display/Counter',
12
+ title: 'plasma_b2c/Counter',
13
13
  component: Counter,
14
14
  decorators: [WithTheme],
15
15
  argTypes: {
@@ -22,7 +22,7 @@ const dividers = ['none', 'dash', 'icon'];
22
22
  const labelPlacements = ['outer', 'inner'];
23
23
 
24
24
  const meta: Meta = {
25
- title: 'b2c/Data Entry/DatePicker',
25
+ title: 'plasma_b2c/DatePicker',
26
26
  decorators: [WithTheme],
27
27
  argTypes: {
28
28
  view: {
@@ -9,7 +9,7 @@ import { bodyS } from '../../../../mixins';
9
9
  import { Divider } from './Divider';
10
10
 
11
11
  const meta: Meta<typeof Divider> = {
12
- title: 'b2c/Data Display/Divider',
12
+ title: 'plasma_b2c/Divider',
13
13
  decorators: [WithTheme],
14
14
  argTypes: {
15
15
  orientation: {
@@ -14,7 +14,7 @@ import type { ClosePlacementType } from '../../../../components/Drawer';
14
14
  import { Drawer, DrawerContent, DrawerFooter, DrawerHeader } from './Drawer';
15
15
 
16
16
  export default {
17
- title: 'b2c/Overlay/Divider',
17
+ title: 'plasma_b2c/Drawer',
18
18
  decorators: [WithTheme],
19
19
  argTypes: {
20
20
  placement: {
@@ -17,7 +17,7 @@ const size = ['xs', 's', 'm', 'l'];
17
17
  const variant = ['normal', 'tight'];
18
18
 
19
19
  const meta: Meta<StoryDropdownProps> = {
20
- title: 'b2c/Data Entry/Dropdown',
20
+ title: 'plasma_b2c/Dropdown',
21
21
  decorators: [WithTheme],
22
22
  component: Dropdown,
23
23
  argTypes: {
@@ -11,7 +11,7 @@ import { Editable, typographyVariants } from './Editable';
11
11
  const iconSizes = ['s', 'xs'] as const;
12
12
 
13
13
  const meta: Meta<typeof Editable> = {
14
- title: 'b2c/Data Entry/Editable',
14
+ title: 'plasma_b2c/Editable',
15
15
  decorators: [WithTheme],
16
16
  component: Editable,
17
17
  argTypes: {
@@ -14,7 +14,7 @@ type StoryProps = ComponentProps<typeof EmptyState> & {
14
14
  };
15
15
 
16
16
  const meta: Meta<StoryProps> = {
17
- title: 'b2c/Data Entry/EmptyState',
17
+ title: 'plasma_b2c/EmptyState',
18
18
  decorators: [WithTheme],
19
19
  component: EmptyState,
20
20
  args: {
@@ -7,7 +7,7 @@ import { WithTheme } from '../../../_helpers';
7
7
  import { Col, Grid, Row } from './Grid';
8
8
 
9
9
  const meta: Meta = {
10
- title: 'b2c/Layout/Grid',
10
+ title: 'plasma_b2c/Grid',
11
11
  decorators: [WithTheme],
12
12
  };
13
13
 
@@ -11,7 +11,7 @@ import { config } from './IconButton.config';
11
11
  import { IconButton } from './IconButton';
12
12
 
13
13
  const meta: Meta<typeof IconButton> = {
14
- title: 'b2c/Data Entry/IconButton',
14
+ title: 'plasma_b2c/IconButton',
15
15
  decorators: [WithTheme],
16
16
  component: IconButton,
17
17
  argTypes: {
@@ -10,7 +10,7 @@ const bases = ['div', 'img'];
10
10
  const ratios = ['1/1', '3/4', '4/3', '9/16', '16/9', '1/2', '2/1'];
11
11
 
12
12
  const meta: Meta<ImageProps> = {
13
- title: 'b2c/Data Display/Image',
13
+ title: 'plasma_b2c/Image',
14
14
  component: Image,
15
15
  decorators: [InSpacingDecorator],
16
16
  argTypes: {
@@ -6,7 +6,7 @@ import { argTypesFromConfig, WithTheme } from '../../../_helpers';
6
6
  import { Indicator, mergedConfig } from './Indicator';
7
7
 
8
8
  const meta: Meta<typeof Indicator> = {
9
- title: 'b2c/Data Display/Indicator',
9
+ title: 'plasma_b2c/Indicator',
10
10
  decorators: [WithTheme],
11
11
  component: Indicator,
12
12
  argTypes: {
@@ -10,7 +10,7 @@ import { config } from './Link.config';
10
10
  import { Link } from './Link';
11
11
 
12
12
  const meta: Meta<typeof Link> = {
13
- title: 'b2c/Navigation/Link',
13
+ title: 'plasma_b2c/Link',
14
14
  decorators: [WithTheme],
15
15
  component: Link,
16
16
  argTypes: argTypesFromConfig(mergeConfig(linkConfig, config)),
@@ -13,7 +13,7 @@ const sizes = ['l', 'm', 's', 'xs'];
13
13
  const views = ['default', 'positive', 'warning', 'negative'];
14
14
 
15
15
  const meta: Meta<typeof Mask> = {
16
- title: 'b2c/Data Display/Mask',
16
+ title: 'plasma_b2c/Mask',
17
17
  component: Mask,
18
18
  decorators: [WithTheme],
19
19
  argTypes: {
@@ -12,7 +12,7 @@ import { WithTheme } from '../../../_helpers';
12
12
  import { Modal, modalClasses } from './Modal';
13
13
 
14
14
  export default {
15
- title: 'b2c/Overlay/Modal',
15
+ title: 'plasma_b2c/Modal',
16
16
  decorators: [WithTheme],
17
17
  parameters: {
18
18
  docs: { story: { inline: false, iframeHeight: '30rem' } },
@@ -37,7 +37,7 @@ const getNotificationProps = (i: number) => ({
37
37
  const placements = ['top', 'left'];
38
38
 
39
39
  const meta: Meta<NotificationProps> = {
40
- title: 'b2c/Overlay/Notification',
40
+ title: 'plasma_b2c/Notification',
41
41
  decorators: [WithTheme],
42
42
  };
43
43
 
@@ -17,7 +17,7 @@ const inputBackgroundTypes = ['fill', 'clear'];
17
17
  const segmentation = ['default', 'segmented', 'solid'];
18
18
 
19
19
  const meta: Meta<typeof NumberInput> = {
20
- title: 'b2c/Data Entry/NumberInput',
20
+ title: 'plasma_b2c/NumberInput',
21
21
  component: NumberInput,
22
22
  decorators: [WithTheme],
23
23
  argTypes: {
@@ -14,7 +14,7 @@ const onOverlayClick = action('onOverlayClick');
14
14
  type StoryOverlayProps = ComponentProps<typeof Overlay>;
15
15
 
16
16
  const meta: Meta<StoryOverlayProps> = {
17
- title: 'b2c/Overlay/Overlay',
17
+ title: 'plasma_b2c/Overlay',
18
18
  decorators: [WithTheme],
19
19
  argTypes: {
20
20
  isClickable: {
@@ -8,7 +8,7 @@ import { Button } from '../Button/Button';
8
8
  import { Pagination } from './Pagination';
9
9
 
10
10
  const meta: Meta<typeof Pagination> = {
11
- title: 'b2c/Navigation/Pagination',
11
+ title: 'plasma_b2c/Pagination',
12
12
  component: Pagination,
13
13
  decorators: [WithTheme],
14
14
  argTypes: {
@@ -13,7 +13,7 @@ import { SSRProvider } from '../../../../components/SSRProvider';
13
13
  import { Panel, PanelContent, PanelFooter, PanelHeader } from './Panel';
14
14
 
15
15
  export default {
16
- title: 'b2c/Overlay/Panel',
16
+ title: 'plasma_b2c/Panel',
17
17
  decorators: [WithTheme],
18
18
  argTypes: {
19
19
  borderRadius: {
@@ -9,7 +9,7 @@ import { WithTheme } from '../../../_helpers';
9
9
  import { Popover } from './Popover';
10
10
 
11
11
  const meta: Meta<typeof Popover> = {
12
- title: 'b2c/Overlay/Popover',
12
+ title: 'plasma_b2c/Popover',
13
13
  decorators: [WithTheme],
14
14
  component: Popover,
15
15
  argTypes: {
@@ -10,7 +10,7 @@ import { WithTheme } from '../../../_helpers';
10
10
  import { Popup, popupClasses, PopupProvider } from './Popup';
11
11
 
12
12
  const meta: Meta<typeof Popup> = {
13
- title: 'b2c/Overlay/Popup',
13
+ title: 'plasma_b2c/Popup',
14
14
  decorators: [WithTheme],
15
15
  parameters: {
16
16
  docs: { story: { inline: false, iframeHeight: '30rem' } },
@@ -9,7 +9,7 @@ import { Body } from '../../../typograpy/components/Body/Body';
9
9
  import { Portal } from '../../../../components/Portal';
10
10
 
11
11
  const meta: Meta<typeof Portal> = {
12
- title: 'b2c/Data Entry/Portal',
12
+ title: 'plasma_b2c/Portal',
13
13
  decorators: [WithTheme],
14
14
  args: {
15
15
  disabled: false,
@@ -9,7 +9,7 @@ import { Price } from './Price';
9
9
  const currencies = ['rub', 'usd', 'eur', 'inr'];
10
10
 
11
11
  const meta: Meta<typeof Price> = {
12
- title: 'b2c/Data Display/Price',
12
+ title: 'plasma_b2c/Price',
13
13
  decorators: [WithTheme],
14
14
  argTypes: {
15
15
  currency: {
@@ -9,7 +9,7 @@ import { Progress } from './Progress';
9
9
  const views = ['default', 'secondary', 'primary', 'accent', 'success', 'warning', 'error'];
10
10
 
11
11
  const meta: Meta<typeof Progress> = {
12
- title: 'b2c/Overlay/Progress',
12
+ title: 'plasma_b2c/Progress',
13
13
  component: Progress,
14
14
  decorators: [WithTheme],
15
15
  argTypes: {
@@ -16,7 +16,7 @@ const onFocus = action('onFocus');
16
16
  const onBlur = action('onBlur');
17
17
 
18
18
  const meta: Meta<typeof Radiobox> = {
19
- title: 'b2c/Data Entry/Radiobox',
19
+ title: 'plasma_b2c/Radiobox',
20
20
  decorators: [WithTheme],
21
21
  component: Radiobox,
22
22
  argTypes: argTypesFromConfig(mergeConfig(radioboxConfig, config)),