intergalactic 15.109.0 → 15.110.0-prerelease.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (468) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/accordion/lib/cjs/Accordion.js +9 -9
  3. package/accordion/lib/es6/Accordion.js +9 -9
  4. package/accordion/package.json +1 -1
  5. package/animation/lib/cjs/Animation.js +11 -11
  6. package/animation/lib/cjs/Collapse.js +28 -28
  7. package/animation/lib/cjs/FadeInOut.js +28 -28
  8. package/animation/lib/cjs/Scale.js +28 -28
  9. package/animation/lib/cjs/Slide.js +28 -28
  10. package/animation/lib/cjs/Transform.js +28 -28
  11. package/animation/lib/es6/Animation.js +11 -11
  12. package/animation/lib/es6/Collapse.js +28 -28
  13. package/animation/lib/es6/FadeInOut.js +28 -28
  14. package/animation/lib/es6/Scale.js +28 -28
  15. package/animation/lib/es6/Slide.js +28 -28
  16. package/animation/lib/es6/Transform.js +28 -28
  17. package/animation/package.json +1 -1
  18. package/badge/lib/cjs/Badge.js +6 -6
  19. package/badge/lib/es6/Badge.js +6 -6
  20. package/badge/package.json +1 -1
  21. package/base-trigger/lib/cjs/BaseTrigger.js +18 -18
  22. package/base-trigger/lib/cjs/ButtonTrigger.js +3 -3
  23. package/base-trigger/lib/cjs/FilterTrigger.js +9 -9
  24. package/base-trigger/lib/cjs/FilterTrigger.js.map +1 -1
  25. package/base-trigger/lib/cjs/LinkTrigger.js +12 -12
  26. package/base-trigger/lib/es6/BaseTrigger.js +18 -18
  27. package/base-trigger/lib/es6/ButtonTrigger.js +3 -3
  28. package/base-trigger/lib/es6/FilterTrigger.js +10 -10
  29. package/base-trigger/lib/es6/FilterTrigger.js.map +1 -1
  30. package/base-trigger/lib/es6/LinkTrigger.js +12 -12
  31. package/base-trigger/package.json +1 -1
  32. package/breadcrumbs/lib/cjs/Breadcrumbs.js +8 -8
  33. package/breadcrumbs/lib/es6/Breadcrumbs.js +8 -8
  34. package/breadcrumbs/package.json +1 -1
  35. package/breakpoints/package.json +1 -1
  36. package/button/lib/cjs/component/AbstractButton/AbstractButton.js +1 -1
  37. package/button/lib/cjs/component/AbstractButton/AbstractButton.js.map +1 -1
  38. package/button/lib/cjs/component/Button/Button.js +27 -27
  39. package/button/lib/cjs/component/ButtonLink/ButtonLink.js +20 -20
  40. package/button/lib/es6/component/AbstractButton/AbstractButton.js +1 -1
  41. package/button/lib/es6/component/AbstractButton/AbstractButton.js.map +1 -1
  42. package/button/lib/es6/component/Button/Button.js +27 -27
  43. package/button/lib/es6/component/ButtonLink/ButtonLink.js +20 -20
  44. package/button/package.json +1 -1
  45. package/card/lib/cjs/Card.js +6 -6
  46. package/card/lib/es6/Card.js +6 -6
  47. package/card/package.json +1 -1
  48. package/carousel/lib/cjs/Carousel.js +21 -21
  49. package/carousel/lib/es6/Carousel.js +21 -21
  50. package/carousel/package.json +1 -1
  51. package/checkbox/lib/cjs/Checkbox.js +18 -18
  52. package/checkbox/lib/es6/Checkbox.js +18 -18
  53. package/checkbox/package.json +1 -1
  54. package/color-picker/lib/cjs/ColorPicker.js +24 -24
  55. package/color-picker/lib/cjs/PaletteManager.js +24 -24
  56. package/color-picker/lib/cjs/components/InputColor.js +24 -24
  57. package/color-picker/lib/es6/ColorPicker.js +24 -24
  58. package/color-picker/lib/es6/PaletteManager.js +24 -24
  59. package/color-picker/lib/es6/components/InputColor.js +24 -24
  60. package/color-picker/package.json +1 -1
  61. package/components.json +73 -73
  62. package/core/package.json +1 -1
  63. package/counter/lib/cjs/Counter.js +11 -11
  64. package/counter/lib/es6/Counter.js +11 -11
  65. package/counter/package.json +1 -1
  66. package/d3-chart/lib/cjs/Area.js +11 -11
  67. package/d3-chart/lib/cjs/Axis.js +14 -14
  68. package/d3-chart/lib/cjs/Bar.js +16 -16
  69. package/d3-chart/lib/cjs/Bubble.js +12 -12
  70. package/d3-chart/lib/cjs/CompactHorizontalBar.js +16 -16
  71. package/d3-chart/lib/cjs/Donut.js +9 -9
  72. package/d3-chart/lib/cjs/Dots.js +8 -8
  73. package/d3-chart/lib/cjs/HorizontalBar.js +16 -16
  74. package/d3-chart/lib/cjs/Hover.js +3 -3
  75. package/d3-chart/lib/cjs/Line.js +9 -9
  76. package/d3-chart/lib/cjs/Plot.js +3 -3
  77. package/d3-chart/lib/cjs/Radar.js +19 -19
  78. package/d3-chart/lib/cjs/RadialTree.js +12 -12
  79. package/d3-chart/lib/cjs/Reference.js +12 -12
  80. package/d3-chart/lib/cjs/ScatterPlot.js +9 -9
  81. package/d3-chart/lib/cjs/Tooltip.js +9 -9
  82. package/d3-chart/lib/cjs/Venn.js +9 -9
  83. package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
  84. package/d3-chart/lib/cjs/a11y/PlotA11yView.js +2 -2
  85. package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  86. package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  87. package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  88. package/d3-chart/lib/es6/Area.js +11 -11
  89. package/d3-chart/lib/es6/Axis.js +14 -14
  90. package/d3-chart/lib/es6/Bar.js +16 -16
  91. package/d3-chart/lib/es6/Bubble.js +12 -12
  92. package/d3-chart/lib/es6/CompactHorizontalBar.js +16 -16
  93. package/d3-chart/lib/es6/Donut.js +9 -9
  94. package/d3-chart/lib/es6/Dots.js +8 -8
  95. package/d3-chart/lib/es6/HorizontalBar.js +16 -16
  96. package/d3-chart/lib/es6/Hover.js +3 -3
  97. package/d3-chart/lib/es6/Line.js +9 -9
  98. package/d3-chart/lib/es6/Plot.js +3 -3
  99. package/d3-chart/lib/es6/Radar.js +19 -19
  100. package/d3-chart/lib/es6/RadialTree.js +12 -12
  101. package/d3-chart/lib/es6/Reference.js +12 -12
  102. package/d3-chart/lib/es6/ScatterPlot.js +9 -9
  103. package/d3-chart/lib/es6/Tooltip.js +9 -9
  104. package/d3-chart/lib/es6/Venn.js +9 -9
  105. package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
  106. package/d3-chart/lib/es6/a11y/PlotA11yView.js +2 -2
  107. package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
  108. package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
  109. package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
  110. package/d3-chart/package.json +1 -1
  111. package/data-table/lib/cjs/Body.js +5 -3
  112. package/data-table/lib/cjs/Body.js.map +1 -1
  113. package/data-table/lib/cjs/DataTable.js +36 -36
  114. package/data-table/lib/es6/Body.js +5 -3
  115. package/data-table/lib/es6/Body.js.map +1 -1
  116. package/data-table/lib/es6/DataTable.js +36 -36
  117. package/data-table/package.json +1 -1
  118. package/date-picker/lib/cjs/DateRangeComparator.js +2 -4
  119. package/date-picker/lib/cjs/DateRangeComparator.js.map +1 -1
  120. package/date-picker/lib/cjs/components/Calendar.js +75 -47
  121. package/date-picker/lib/cjs/components/Calendar.js.map +1 -1
  122. package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +42 -34
  123. package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js.map +1 -1
  124. package/date-picker/lib/cjs/components/InputTrigger.js +39 -37
  125. package/date-picker/lib/cjs/components/InputTrigger.js.map +1 -1
  126. package/date-picker/lib/cjs/components/PickerAbstract.js +47 -35
  127. package/date-picker/lib/cjs/components/PickerAbstract.js.map +1 -1
  128. package/date-picker/lib/cjs/components/RangePickerAbstract.js +54 -46
  129. package/date-picker/lib/cjs/components/RangePickerAbstract.js.map +1 -1
  130. package/date-picker/lib/cjs/components/index.js +5 -6
  131. package/date-picker/lib/cjs/components/index.js.map +1 -1
  132. package/date-picker/lib/cjs/style/calendar.shadow.css +17 -8
  133. package/date-picker/lib/cjs/translations/en.json +7 -2
  134. package/date-picker/lib/es6/DateRangeComparator.js +2 -4
  135. package/date-picker/lib/es6/DateRangeComparator.js.map +1 -1
  136. package/date-picker/lib/es6/components/Calendar.js +75 -47
  137. package/date-picker/lib/es6/components/Calendar.js.map +1 -1
  138. package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +42 -34
  139. package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js.map +1 -1
  140. package/date-picker/lib/es6/components/InputTrigger.js +39 -37
  141. package/date-picker/lib/es6/components/InputTrigger.js.map +1 -1
  142. package/date-picker/lib/es6/components/PickerAbstract.js +47 -35
  143. package/date-picker/lib/es6/components/PickerAbstract.js.map +1 -1
  144. package/date-picker/lib/es6/components/RangePickerAbstract.js +54 -46
  145. package/date-picker/lib/es6/components/RangePickerAbstract.js.map +1 -1
  146. package/date-picker/lib/es6/components/index.js +5 -6
  147. package/date-picker/lib/es6/components/index.js.map +1 -1
  148. package/date-picker/lib/es6/style/calendar.shadow.css +17 -8
  149. package/date-picker/lib/es6/translations/en.json +7 -2
  150. package/date-picker/package.json +1 -1
  151. package/divider/lib/cjs/Divider.js +10 -10
  152. package/divider/lib/es6/Divider.js +10 -10
  153. package/divider/package.json +1 -1
  154. package/dot/lib/cjs/Dot.js +10 -10
  155. package/dot/lib/es6/Dot.js +10 -10
  156. package/dot/package.json +1 -1
  157. package/drag-and-drop/lib/cjs/DragAndDrop.js +16 -16
  158. package/drag-and-drop/lib/es6/DragAndDrop.js +16 -16
  159. package/drag-and-drop/package.json +1 -1
  160. package/dropdown/index.d.ts +15 -2
  161. package/dropdown/lib/cjs/AbstractDropdown.js +365 -0
  162. package/dropdown/lib/cjs/AbstractDropdown.js.map +1 -0
  163. package/dropdown/lib/cjs/Dropdown.js +79 -28
  164. package/dropdown/lib/cjs/Dropdown.js.map +1 -1
  165. package/dropdown/lib/cjs/DropdownItem.js +18 -0
  166. package/dropdown/lib/cjs/DropdownItem.js.map +1 -0
  167. package/dropdown/lib/cjs/index.d.js.map +1 -1
  168. package/dropdown/lib/cjs/index.js +19 -0
  169. package/dropdown/lib/cjs/index.js.map +1 -1
  170. package/dropdown/lib/cjs/style/dropdown.shadow.css +95 -0
  171. package/dropdown/lib/es6/AbstractDropdown.js +355 -0
  172. package/dropdown/lib/es6/AbstractDropdown.js.map +1 -0
  173. package/dropdown/lib/es6/Dropdown.js +80 -27
  174. package/dropdown/lib/es6/Dropdown.js.map +1 -1
  175. package/dropdown/lib/es6/DropdownItem.js +12 -0
  176. package/dropdown/lib/es6/DropdownItem.js.map +1 -0
  177. package/dropdown/lib/es6/index.d.js.map +1 -1
  178. package/dropdown/lib/es6/index.js +1 -0
  179. package/dropdown/lib/es6/index.js.map +1 -1
  180. package/dropdown/lib/es6/style/dropdown.shadow.css +95 -0
  181. package/dropdown/lib/types/index.d.ts +15 -2
  182. package/dropdown/package.json +1 -1
  183. package/dropdown-menu/index.d.ts +3 -11
  184. package/dropdown-menu/lib/cjs/DropdownMenu.js +167 -418
  185. package/dropdown-menu/lib/cjs/DropdownMenu.js.map +1 -1
  186. package/dropdown-menu/lib/cjs/index.d.js.map +1 -1
  187. package/dropdown-menu/lib/cjs/index.js +0 -7
  188. package/dropdown-menu/lib/cjs/index.js.map +1 -1
  189. package/dropdown-menu/lib/cjs/style/dropdown-menu.shadow.css +3 -91
  190. package/dropdown-menu/lib/cjs/translations/en.json +1 -3
  191. package/dropdown-menu/lib/es6/DropdownMenu.js +167 -419
  192. package/dropdown-menu/lib/es6/DropdownMenu.js.map +1 -1
  193. package/dropdown-menu/lib/es6/index.d.js.map +1 -1
  194. package/dropdown-menu/lib/es6/index.js +0 -1
  195. package/dropdown-menu/lib/es6/index.js.map +1 -1
  196. package/dropdown-menu/lib/es6/style/dropdown-menu.shadow.css +3 -91
  197. package/dropdown-menu/lib/es6/translations/en.json +1 -3
  198. package/dropdown-menu/lib/types/index.d.ts +3 -11
  199. package/dropdown-menu/package.json +1 -1
  200. package/ellipsis/lib/cjs/Ellipsis.js +10 -10
  201. package/ellipsis/lib/es6/Ellipsis.js +10 -10
  202. package/ellipsis/package.json +1 -1
  203. package/errors/lib/cjs/Error.js +9 -9
  204. package/errors/lib/es6/Error.js +9 -9
  205. package/errors/package.json +1 -1
  206. package/feature-popover/lib/cjs/FeaturePopover.js +11 -11
  207. package/feature-popover/lib/es6/FeaturePopover.js +11 -11
  208. package/feature-popover/package.json +1 -1
  209. package/feedback-form/lib/cjs/FeedbackForm.js +7 -7
  210. package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +3 -3
  211. package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +2 -2
  212. package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +6 -6
  213. package/feedback-form/lib/es6/FeedbackForm.js +7 -7
  214. package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
  215. package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +2 -2
  216. package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +6 -6
  217. package/feedback-form/package.json +1 -1
  218. package/flags/lib/cjs/Flags.js +3 -3
  219. package/flags/lib/es6/Flags.js +3 -3
  220. package/flags/lib/sprites/sprite@1x.css +256 -256
  221. package/flags/lib/sprites/sprite@2x.css +257 -257
  222. package/flags/package.json +1 -1
  223. package/flex-box/lib/cjs/Box/useBox.js +3 -3
  224. package/flex-box/lib/cjs/Flex/useFlex.js +3 -3
  225. package/flex-box/lib/cjs/invalid-state-box/InvalidStateBox.js +2 -2
  226. package/flex-box/lib/es6/Box/useBox.js +3 -3
  227. package/flex-box/lib/es6/Flex/useFlex.js +3 -3
  228. package/flex-box/lib/es6/invalid-state-box/InvalidStateBox.js +2 -2
  229. package/flex-box/package.json +1 -1
  230. package/format-text/lib/cjs/FormatText.js +5 -5
  231. package/format-text/lib/es6/FormatText.js +5 -5
  232. package/format-text/package.json +1 -1
  233. package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
  234. package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
  235. package/fullscreen-modal/package.json +1 -1
  236. package/grid/lib/cjs/Grid.js +114 -114
  237. package/grid/lib/es6/Grid.js +114 -114
  238. package/grid/package.json +1 -1
  239. package/i18n-unplugin/package.json +1 -1
  240. package/icon/color/Confluence/l/index.js +4 -4
  241. package/icon/color/Confluence/l/index.mjs +4 -4
  242. package/icon/color/Confluence/m/index.js +4 -4
  243. package/icon/color/Confluence/m/index.mjs +4 -4
  244. package/icon/color/MicrosoftOffice/l/index.js +10 -10
  245. package/icon/color/MicrosoftOffice/l/index.mjs +10 -10
  246. package/icon/color/MicrosoftOffice/m/index.js +10 -10
  247. package/icon/color/MicrosoftOffice/m/index.mjs +10 -10
  248. package/icon/lib/cjs/Icon.js +6 -6
  249. package/icon/lib/es6/Icon.js +6 -6
  250. package/icon/package.json +1 -1
  251. package/icon/pay/Discover/l/index.js +1 -1
  252. package/icon/pay/Discover/l/index.mjs +1 -1
  253. package/icon/pay/Discover/m/index.js +1 -1
  254. package/icon/pay/Discover/m/index.mjs +1 -1
  255. package/icon/pay/JCB/l/index.js +10 -10
  256. package/icon/pay/JCB/l/index.mjs +10 -10
  257. package/icon/pay/JCB/m/index.js +10 -10
  258. package/icon/pay/JCB/m/index.mjs +10 -10
  259. package/icon/pay/Visa/l/index.js +2 -2
  260. package/icon/pay/Visa/l/index.mjs +2 -2
  261. package/icon/pay/Visa/m/index.js +2 -2
  262. package/icon/pay/Visa/m/index.mjs +2 -2
  263. package/illustration/lib/cjs/index.js +1 -1
  264. package/illustration/lib/es6/index.js +1 -1
  265. package/illustration/package.json +1 -1
  266. package/inline-edit/lib/cjs/InlineEdit.js +4 -4
  267. package/inline-edit/lib/es6/InlineEdit.js +4 -4
  268. package/inline-edit/package.json +1 -1
  269. package/inline-input/lib/cjs/InlineInput.js +14 -14
  270. package/inline-input/lib/es6/InlineInput.js +14 -14
  271. package/inline-input/package.json +1 -1
  272. package/input/lib/cjs/Input.js +17 -17
  273. package/input/lib/es6/Input.js +17 -17
  274. package/input/package.json +1 -1
  275. package/input-mask/InputMask.d.ts +4 -0
  276. package/input-mask/lib/cjs/InputMask.js +11 -9
  277. package/input-mask/lib/cjs/InputMask.js.map +1 -1
  278. package/input-mask/lib/es6/InputMask.js +11 -9
  279. package/input-mask/lib/es6/InputMask.js.map +1 -1
  280. package/input-mask/lib/types/InputMask.d.ts +4 -0
  281. package/input-mask/package.json +1 -1
  282. package/input-number/lib/cjs/InputNumber.js +9 -9
  283. package/input-number/lib/es6/InputNumber.js +9 -9
  284. package/input-number/package.json +1 -1
  285. package/input-tags/lib/cjs/InputTags.js +12 -12
  286. package/input-tags/lib/es6/InputTags.js +12 -12
  287. package/input-tags/package.json +1 -1
  288. package/link/lib/cjs/Link.js +13 -13
  289. package/link/lib/cjs/Link.js.map +1 -1
  290. package/link/lib/es6/Link.js +13 -13
  291. package/link/lib/es6/Link.js.map +1 -1
  292. package/link/package.json +1 -1
  293. package/mini-chart/lib/cjs/component/score/Donut.js +9 -9
  294. package/mini-chart/lib/cjs/component/score/Line.js +17 -17
  295. package/mini-chart/lib/cjs/component/trend/Bar.js +7 -7
  296. package/mini-chart/lib/cjs/component/trend/Line.js +7 -7
  297. package/mini-chart/lib/es6/component/score/Donut.js +9 -9
  298. package/mini-chart/lib/es6/component/score/Line.js +17 -17
  299. package/mini-chart/lib/es6/component/trend/Bar.js +7 -7
  300. package/mini-chart/lib/es6/component/trend/Line.js +7 -7
  301. package/mini-chart/package.json +1 -1
  302. package/modal/lib/cjs/Modal.js +8 -8
  303. package/modal/lib/es6/Modal.js +8 -8
  304. package/modal/package.json +1 -1
  305. package/neighbor-location/package.json +1 -1
  306. package/notice/lib/cjs/Notice.js +14 -14
  307. package/notice/lib/es6/Notice.js +14 -14
  308. package/notice/package.json +1 -1
  309. package/notice-bubble/lib/cjs/NoticeBubble.js +15 -15
  310. package/notice-bubble/lib/es6/NoticeBubble.js +15 -15
  311. package/notice-bubble/package.json +1 -1
  312. package/notice-global/lib/cjs/NoticeGlobal.js +11 -11
  313. package/notice-global/lib/es6/NoticeGlobal.js +11 -11
  314. package/notice-global/package.json +1 -1
  315. package/outside-click/package.json +1 -1
  316. package/package.json +1 -1
  317. package/pagination/lib/cjs/Pagination.js +10 -10
  318. package/pagination/lib/es6/Pagination.js +10 -10
  319. package/pagination/package.json +1 -1
  320. package/pills/lib/cjs/Pills.js +13 -13
  321. package/pills/lib/es6/Pills.js +13 -13
  322. package/pills/package.json +1 -1
  323. package/popper/lib/cjs/Popper.js +6 -6
  324. package/popper/lib/es6/Popper.js +6 -6
  325. package/popper/package.json +1 -1
  326. package/portal/package.json +1 -1
  327. package/product-head/lib/cjs/Info.js +4 -4
  328. package/product-head/lib/cjs/ProductHead.js +5 -5
  329. package/product-head/lib/cjs/Title.js +4 -4
  330. package/product-head/lib/es6/Info.js +4 -4
  331. package/product-head/lib/es6/ProductHead.js +5 -5
  332. package/product-head/lib/es6/Title.js +4 -4
  333. package/product-head/package.json +1 -1
  334. package/progress-bar/lib/cjs/ProgressBar.js +15 -15
  335. package/progress-bar/lib/es6/ProgressBar.js +15 -15
  336. package/progress-bar/package.json +1 -1
  337. package/radio/lib/cjs/Radio.js +16 -16
  338. package/radio/lib/es6/Radio.js +16 -16
  339. package/radio/package.json +1 -1
  340. package/scroll-area/lib/cjs/ScrollArea.js +21 -21
  341. package/scroll-area/lib/cjs/ScrollBar.js +6 -6
  342. package/scroll-area/lib/es6/ScrollArea.js +21 -21
  343. package/scroll-area/lib/es6/ScrollBar.js +6 -6
  344. package/scroll-area/package.json +1 -1
  345. package/select/index.d.ts +16 -2
  346. package/select/lib/cjs/InputSearch.js +12 -13
  347. package/select/lib/cjs/InputSearch.js.map +1 -1
  348. package/select/lib/cjs/Select.js +149 -119
  349. package/select/lib/cjs/Select.js.map +1 -1
  350. package/select/lib/cjs/index.d.js.map +1 -1
  351. package/select/lib/cjs/style/input-search.shadow.css +5 -1
  352. package/select/lib/cjs/style/select.shadow.css +1 -1
  353. package/select/lib/cjs/translations/en.json +1 -3
  354. package/select/lib/es6/InputSearch.js +12 -13
  355. package/select/lib/es6/InputSearch.js.map +1 -1
  356. package/select/lib/es6/Select.js +142 -112
  357. package/select/lib/es6/Select.js.map +1 -1
  358. package/select/lib/es6/index.d.js.map +1 -1
  359. package/select/lib/es6/style/input-search.shadow.css +5 -1
  360. package/select/lib/es6/style/select.shadow.css +1 -1
  361. package/select/lib/es6/translations/en.json +1 -3
  362. package/select/lib/types/index.d.ts +16 -2
  363. package/select/package.json +1 -1
  364. package/side-panel/lib/cjs/SidePanel.js +17 -17
  365. package/side-panel/lib/cjs/SidePanel.js.map +1 -1
  366. package/side-panel/lib/es6/SidePanel.js +17 -17
  367. package/side-panel/lib/es6/SidePanel.js.map +1 -1
  368. package/side-panel/package.json +1 -1
  369. package/skeleton/lib/cjs/Charts/Area.js +9 -9
  370. package/skeleton/lib/cjs/Charts/Bar.js +9 -9
  371. package/skeleton/lib/cjs/Charts/Bubble.js +9 -9
  372. package/skeleton/lib/cjs/Charts/CompactHorizontalBar.js +9 -9
  373. package/skeleton/lib/cjs/Charts/Donut.js +9 -9
  374. package/skeleton/lib/cjs/Charts/Histogram.js +9 -9
  375. package/skeleton/lib/cjs/Charts/Line.js +9 -9
  376. package/skeleton/lib/cjs/Charts/RadialTree.js +9 -9
  377. package/skeleton/lib/cjs/Charts/ScatterPlot.js +9 -9
  378. package/skeleton/lib/cjs/Charts/Venn.js +9 -9
  379. package/skeleton/lib/cjs/Skeleton.js +8 -8
  380. package/skeleton/lib/es6/Charts/Area.js +9 -9
  381. package/skeleton/lib/es6/Charts/Bar.js +9 -9
  382. package/skeleton/lib/es6/Charts/Bubble.js +9 -9
  383. package/skeleton/lib/es6/Charts/CompactHorizontalBar.js +9 -9
  384. package/skeleton/lib/es6/Charts/Donut.js +9 -9
  385. package/skeleton/lib/es6/Charts/Histogram.js +9 -9
  386. package/skeleton/lib/es6/Charts/Line.js +9 -9
  387. package/skeleton/lib/es6/Charts/RadialTree.js +9 -9
  388. package/skeleton/lib/es6/Charts/ScatterPlot.js +9 -9
  389. package/skeleton/lib/es6/Charts/Venn.js +9 -9
  390. package/skeleton/lib/es6/Skeleton.js +8 -8
  391. package/skeleton/package.json +1 -1
  392. package/slider/lib/cjs/Slider.js +8 -8
  393. package/slider/lib/es6/Slider.js +8 -8
  394. package/slider/package.json +1 -1
  395. package/spin/lib/cjs/Spin.js +13 -13
  396. package/spin/lib/es6/Spin.js +13 -13
  397. package/spin/package.json +1 -1
  398. package/spin-container/lib/cjs/SpinContainer.js +8 -8
  399. package/spin-container/lib/es6/SpinContainer.js +8 -8
  400. package/spin-container/package.json +1 -1
  401. package/sticky/lib/cjs/Sticky.js +2 -2
  402. package/sticky/lib/es6/Sticky.js +2 -2
  403. package/sticky/package.json +1 -1
  404. package/switch/lib/cjs/Switch.js +21 -21
  405. package/switch/lib/es6/Switch.js +21 -21
  406. package/switch/package.json +1 -1
  407. package/tab-line/lib/cjs/TabLine.js +13 -13
  408. package/tab-line/lib/es6/TabLine.js +13 -13
  409. package/tab-line/package.json +1 -1
  410. package/tab-panel/lib/cjs/TabPanel.js +8 -8
  411. package/tab-panel/lib/es6/TabPanel.js +8 -8
  412. package/tab-panel/package.json +1 -1
  413. package/tag/lib/cjs/Tag.js +23 -23
  414. package/tag/lib/es6/Tag.js +23 -23
  415. package/tag/package.json +1 -1
  416. package/textarea/lib/cjs/Textarea.js +8 -8
  417. package/textarea/lib/es6/Textarea.js +8 -8
  418. package/textarea/package.json +1 -1
  419. package/time-picker/lib/cjs/TimePicker.js +12 -12
  420. package/time-picker/lib/es6/TimePicker.js +12 -12
  421. package/time-picker/package.json +1 -1
  422. package/tooltip/lib/cjs/Tooltip.js +9 -9
  423. package/tooltip/lib/es6/Tooltip.js +9 -9
  424. package/tooltip/package.json +1 -1
  425. package/typography/lib/cjs/Blockquote.js +4 -4
  426. package/typography/lib/cjs/Hint.js +7 -7
  427. package/typography/lib/cjs/List.js +5 -5
  428. package/typography/lib/cjs/Text.js +34 -34
  429. package/typography/lib/es6/Blockquote.js +4 -4
  430. package/typography/lib/es6/Hint.js +7 -7
  431. package/typography/lib/es6/List.js +5 -5
  432. package/typography/lib/es6/Text.js +34 -34
  433. package/typography/package.json +1 -1
  434. package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.js +2 -2
  435. package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs +2 -2
  436. package/utils/lib/enhances/focusSourceEnhance.d.ts +2 -0
  437. package/utils/lib/enhances/focusSourceEnhance.js.map +1 -1
  438. package/utils/lib/enhances/focusSourceEnhance.mjs.map +1 -1
  439. package/utils/lib/getAccessibleName.d.ts +1 -0
  440. package/utils/lib/getAccessibleName.js +56 -0
  441. package/utils/lib/getAccessibleName.js.map +1 -0
  442. package/utils/lib/getAccessibleName.mjs +49 -0
  443. package/utils/lib/getAccessibleName.mjs.map +1 -0
  444. package/utils/lib/getEventTarget.js +38 -4
  445. package/utils/lib/getEventTarget.js.map +1 -1
  446. package/utils/lib/getEventTarget.mjs +37 -4
  447. package/utils/lib/getEventTarget.mjs.map +1 -1
  448. package/utils/lib/injectStyle.js +1 -1
  449. package/utils/lib/injectStyle.mjs +1 -1
  450. package/utils/lib/inputProps.d.ts +1 -1
  451. package/utils/lib/inputProps.js +3 -3
  452. package/utils/lib/inputProps.js.map +1 -1
  453. package/utils/lib/inputProps.mjs +2 -2
  454. package/utils/lib/inputProps.mjs.map +1 -1
  455. package/widget-empty/lib/cjs/WidgetEmpty.js +5 -5
  456. package/widget-empty/lib/es6/WidgetEmpty.js +5 -5
  457. package/widget-empty/package.json +1 -1
  458. package/wizard/lib/cjs/Wizard.js +14 -14
  459. package/wizard/lib/cjs/Wizard.js.map +1 -1
  460. package/wizard/lib/es6/Wizard.js +14 -14
  461. package/wizard/lib/es6/Wizard.js.map +1 -1
  462. package/wizard/package.json +1 -1
  463. package/dropdown-menu/lib/cjs/DropdownMenuOld.js +0 -682
  464. package/dropdown-menu/lib/cjs/DropdownMenuOld.js.map +0 -1
  465. package/dropdown-menu/lib/cjs/style/dropdown-menu-old.shadow.css +0 -224
  466. package/dropdown-menu/lib/es6/DropdownMenuOld.js +0 -683
  467. package/dropdown-menu/lib/es6/DropdownMenuOld.js.map +0 -1
  468. package/dropdown-menu/lib/es6/style/dropdown-menu-old.shadow.css +0 -224
@@ -1,682 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports["default"] = void 0;
9
- var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
- var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
12
- var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
13
- var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
14
- var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
15
- var _assertThisInitialized2 = _interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized"));
16
- var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
17
- var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
18
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
19
- var _index = require("intergalactic/utils/lib/core/index");
20
- var _core = _interopRequireWildcard(require("intergalactic/core"));
21
- var _react = _interopRequireDefault(require("react"));
22
- var _classnames = _interopRequireDefault(require("classnames"));
23
- var _dropdown = _interopRequireDefault(require("intergalactic/dropdown"));
24
- var _flexBox = require("intergalactic/flex-box");
25
- var _scrollArea = _interopRequireWildcard(require("intergalactic/scroll-area"));
26
- var _uniqueID = _interopRequireDefault(require("intergalactic/utils/lib/uniqueID"));
27
- var _i18nEnhance = _interopRequireDefault(require("intergalactic/utils/lib/enhances/i18nEnhance"));
28
- var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynamic-locales");
29
- var _useFocusLock = require("intergalactic/utils/lib/use/useFocusLock");
30
- var _hasParent = require("intergalactic/utils/lib/hasParent");
31
- var _setFocus = require("intergalactic/utils/lib/focus-lock/setFocus");
32
- var _isFocusInside = require("intergalactic/utils/lib/focus-lock/isFocusInside");
33
- var _getFocusableIn = require("intergalactic/utils/lib/focus-lock/getFocusableIn");
34
- var _keyboardFocusEnhance = _interopRequireDefault(require("intergalactic/utils/lib/enhances/keyboardFocusEnhance"));
35
- var _excluded = ["className"];
36
- /*__reshadow-styles__:"./style/dropdown-menu-old.shadow.css"*/
37
- var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SDropdownMenuItem_l0ig1_gg_,.___SDropdownMenuList_l0ig1_gg_{position:relative;color:var(--intergalactic-text-primary, #191b23)}.___SDropdownMenuList_l0ig1_gg_{max-height:240px;padding:var(--intergalactic-spacing-1x, 4px)0;min-height:26px;min-width:32px;box-sizing:content-box;z-index:0}.___SDropdownMenuList_l0ig1_gg_ .___SShadowHorizontal_l0ig1_gg_:after,.___SDropdownMenuList_l0ig1_gg_ .___SShadowHorizontal_l0ig1_gg_:before{width:16px;height:100%;border-radius:var(--intergalactic-control-rounded, 6px)}.___SDropdownMenuList_l0ig1_gg_ .___SShadowHorizontal_l0ig1_gg_._position_median_l0ig1_gg_:before{background:var(--intergalactic-scroll-area-dropdown-menu-left,\n linear-gradient(to right, rgba(255, 255, 255, 1) 34.38%, rgba(255, 255, 255, 0) 100%)\n )}.___SDropdownMenuList_l0ig1_gg_ .___SShadowHorizontal_l0ig1_gg_._position_median_l0ig1_gg_:after{background:var(--intergalactic-scroll-area-dropdown-menu-right,\n linear-gradient(to left, rgba(255, 255, 255, 1) 34.38%, rgba(255, 255, 255, 0) 100%)\n )}.___SDropdownMenuList_l0ig1_gg_ .___SShadowHorizontal_l0ig1_gg_._position_start_l0ig1_gg_:before{background:var(--intergalactic-scroll-area-dropdown-menu-left,\n linear-gradient(to right, rgba(255, 255, 255, 1) 34.38%, rgba(255, 255, 255, 0) 100%)\n )}.___SDropdownMenuList_l0ig1_gg_ .___SShadowHorizontal_l0ig1_gg_._position_end_l0ig1_gg_:after{background:var(--intergalactic-scroll-area-dropdown-menu-right,\n linear-gradient(to left, rgba(255, 255, 255, 1) 34.38%, rgba(255, 255, 255, 0) 100%)\n )}.___SDropdownMenuList_l0ig1_gg_ .___SShadowVertical_l0ig1_gg_:after,.___SDropdownMenuList_l0ig1_gg_ .___SShadowVertical_l0ig1_gg_:before{width:100%;height:16px;border-radius:var(--intergalactic-control-rounded, 6px)}.___SDropdownMenuList_l0ig1_gg_ .___SShadowVertical_l0ig1_gg_._position_median_l0ig1_gg_:before{background:var(--intergalactic-scroll-area-dropdown-menu-top,\n linear-gradient(to bottom, rgba(255, 255, 255, 1) 34.38%, rgba(255, 255, 255, 0) 100%)\n )}.___SDropdownMenuList_l0ig1_gg_ .___SShadowVertical_l0ig1_gg_._position_median_l0ig1_gg_:after{background:var(--intergalactic-scroll-area-dropdown-menu-bottom,\n linear-gradient(to top, rgba(255, 255, 255, 1) 34.38%, rgba(255, 255, 255, 0) 100%)\n )}.___SDropdownMenuList_l0ig1_gg_ .___SShadowVertical_l0ig1_gg_._position_start_l0ig1_gg_:before{background:var(--intergalactic-scroll-area-dropdown-menu-top,\n linear-gradient(to bottom, rgba(255, 255, 255, 1) 34.38%, rgba(255, 255, 255, 0) 100%)\n )}.___SDropdownMenuList_l0ig1_gg_ .___SShadowVertical_l0ig1_gg_._position_end_l0ig1_gg_:after{background:var(--intergalactic-scroll-area-dropdown-menu-bottom,\n linear-gradient(to top, rgba(255, 255, 255, 1) 34.38%, rgba(255, 255, 255, 0) 100%)\n )}.___SDropdownMenuItem_l0ig1_gg_{display:flex;align-items:center;-webkit-text-decoration:none;text-decoration:none;box-sizing:border-box;cursor:pointer;width:100%;text-align:left;line-height:normal}@media (hover:hover){.___SDropdownMenuItem_l0ig1_gg_:hover{background-color:var(--intergalactic-dropdown-menu-item-hover, #f4f5f9)}}.___SDropdownMenuItem_l0ig1_gg_:focus{outline:0}.___SDropdownMenuItem_l0ig1_gg_.__selected_l0ig1_gg_{background-color:var(--intergalactic-dropdown-menu-item-selected, rgba(196, 229, 254, 0.7));box-shadow:2px 0 0 0 var(--intergalactic-control-primary-info, #008ff8) inset}@media (hover:hover){.___SDropdownMenuItem_l0ig1_gg_.__selected_l0ig1_gg_:hover{background-color:var(--intergalactic-dropdown-menu-item-selected-hover, #c4e5fe)}}.___SDropdownMenuItem_l0ig1_gg_.__highlighted_l0ig1_gg_:not(:focus-within){z-index:1;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5)) inset}.___SDropdownMenuItem_l0ig1_gg_.__disabled_l0ig1_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SDropdownMenuItem_l0ig1_gg_._size_l_l0ig1_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);padding:var(--intergalactic-spacing-2x, 8px) var(--intergalactic-spacing-3x, 12px);min-height:40px}.___SDropdownMenuItem_l0ig1_gg_._size_m_l0ig1_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);padding:calc(var(--intergalactic-spacing-1x, 4px) + var(--intergalactic-spacing-05x, 2px)) var(--intergalactic-spacing-2x, 8px);min-height:32px}.___SDropdownMenuItem_l0ig1_gg_.__notInteractive_l0ig1_gg_{cursor:default}@media (hover:hover){.___SDropdownMenuItem_l0ig1_gg_.__notInteractive_l0ig1_gg_:hover{background:0 0}}.___SDropdownMenuItem_l0ig1_gg_._variant_hint_l0ig1_gg_{color:var(--intergalactic-text-secondary, #6c6e79);cursor:default}@media (hover:hover){.___SDropdownMenuItem_l0ig1_gg_._variant_hint_l0ig1_gg_:hover{background:0 0}}.___SDropdownMenuItem_l0ig1_gg_._variant_title_l0ig1_gg_{font-weight:var(--intergalactic-bold, 700);cursor:default}@media (hover:hover){.___SDropdownMenuItem_l0ig1_gg_._variant_title_l0ig1_gg_:hover{background:0 0}}.___SDropdownMenuItem_l0ig1_gg_.__visible_l0ig1_gg_{background-color:var(--intergalactic-dropdown-menu-item-hover, #f4f5f9)}.___SDropdownMenuItem_l0ig1_gg_.__nesting-trigger_l0ig1_gg_{justify-content:space-between}.___SDropdownMenuItemAddon_l0ig1_gg_{display:inline-flex;margin-left:var(--intergalactic-spacing-2x, 8px);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SDropdownMenuItemAddon_l0ig1_gg_:first-child{margin-left:0}.___SDropdownMenuItemAddon_l0ig1_gg_:last-child{margin-right:0}.___SDropdownMenuNesting_l0ig1_gg_,.___SDropdownMenuNesting_l0ig1_gg_._size_l_l0ig1_gg_,.___SDropdownMenuNesting_l0ig1_gg_._size_m_l0ig1_gg_{padding:0}.___SDropdownMenuNesting_l0ig1_gg_.__highlighted_l0ig1_gg_{z-index:1;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5)) inset}.___SDropdownNestingItem_l0ig1_gg_._size_l_l0ig1_gg_,.___SDropdownNestingItem_l0ig1_gg_._size_m_l0ig1_gg_{padding-right:0}.___SDropdownNestingItem_l0ig1_gg_ .___SDropdownMenuItem_l0ig1_gg_{width:auto;padding-top:0;padding-bottom:0;padding-left:0;min-height:auto}" /*__inner_css_end__*/, "l0ig1_gg_") /*__reshadow_css_end__*/, {
38
- "__SDropdownMenuItem": "___SDropdownMenuItem_l0ig1_gg_",
39
- "_highlighted": "__highlighted_l0ig1_gg_",
40
- "_disabled": "__disabled_l0ig1_gg_",
41
- "_size_l": "_size_l_l0ig1_gg_",
42
- "_size_m": "_size_m_l0ig1_gg_",
43
- "_visible": "__visible_l0ig1_gg_",
44
- "_nesting-trigger": "__nesting-trigger_l0ig1_gg_",
45
- "__SDropdownMenuNesting": "___SDropdownMenuNesting_l0ig1_gg_",
46
- "__SDropdownNestingItem": "___SDropdownNestingItem_l0ig1_gg_",
47
- "__SDropdownMenuList": "___SDropdownMenuList_l0ig1_gg_",
48
- "__SShadowHorizontal": "___SShadowHorizontal_l0ig1_gg_",
49
- "_position_median": "_position_median_l0ig1_gg_",
50
- "_position_start": "_position_start_l0ig1_gg_",
51
- "_position_end": "_position_end_l0ig1_gg_",
52
- "__SShadowVertical": "___SShadowVertical_l0ig1_gg_",
53
- "_selected": "__selected_l0ig1_gg_",
54
- "_notInteractive": "__notInteractive_l0ig1_gg_",
55
- "_variant_hint": "_variant_hint_l0ig1_gg_",
56
- "_variant_title": "_variant_title_l0ig1_gg_",
57
- "__SDropdownMenuItemAddon": "___SDropdownMenuItemAddon_l0ig1_gg_"
58
- });
59
- var ListBoxContextProvider = function ListBoxContextProvider(_ref18) {
60
- var children = _ref18.children;
61
- return /*#__PURE__*/_react["default"].createElement(_scrollArea.hideScrollBarsFromScreenReadersContext.Provider, {
62
- value: true
63
- }, children);
64
- };
65
- var DropdownMenuRoot = /*#__PURE__*/function (_Component) {
66
- (0, _inherits2["default"])(DropdownMenuRoot, _Component);
67
- var _super = (0, _createSuper2["default"])(DropdownMenuRoot);
68
- function DropdownMenuRoot() {
69
- var _this;
70
- (0, _classCallCheck2["default"])(this, DropdownMenuRoot);
71
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
72
- args[_key] = arguments[_key];
73
- }
74
- _this = _super.call.apply(_super, [this].concat(args));
75
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "state", {
76
- focusLockItemIndex: null,
77
- keyboardFocused: false
78
- });
79
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "popperRef", /*#__PURE__*/_react["default"].createRef());
80
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "triggerRef", /*#__PURE__*/_react["default"].createRef());
81
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "itemProps", []);
82
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "itemRefs", []);
83
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "highlightedItemRef", /*#__PURE__*/_react["default"].createRef());
84
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "ignoreTriggerKeyboardFocusUntil", 0);
85
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "prevHighlightedIndex", null);
86
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "focusTrigger", function () {
87
- var trigger = _this.triggerRef.current;
88
- if (!trigger) return;
89
- if ((0, _isFocusInside.isFocusInside)(trigger)) return;
90
- (0, _setFocus.setFocus)(trigger);
91
- });
92
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "bindHandlerKeyDown", function (place) {
93
- return function (e) {
94
- var amount = e.shiftKey ? 5 : 1;
95
- var targetTagName = e.target.tagName;
96
- var _this$asProps = _this.asProps,
97
- visible = _this$asProps.visible,
98
- highlightedIndex = _this$asProps.highlightedIndex,
99
- placement = _this$asProps.placement;
100
- if (e.key === ' ' && ['INPUT', 'TEXTAREA'].includes(targetTagName)) return;
101
- if (e.key === 'Enter' && targetTagName === 'TEXTAREA') return;
102
- if (place === 'popper' && (e.key === ' ' || e.key === 'Enter') && (targetTagName === 'BUTTON' || targetTagName === 'A')) return;
103
- if (visible && e.key === 'Tab') {
104
- var item = highlightedIndex !== null && _this.itemRefs[highlightedIndex];
105
- if (item && (0, _getFocusableIn.getFocusableIn)(item).length !== 0) {
106
- _this.setState({
107
- focusLockItemIndex: highlightedIndex
108
- });
109
- } else {
110
- _this.handlers.highlightedIndex(null);
111
- }
112
- return;
113
- }
114
- if (e.key === 'Escape' && _this.state.focusLockItemIndex !== null) {
115
- _this.setState({
116
- focusLockItemIndex: null
117
- });
118
- return false;
119
- }
120
- var verticalPlacement = !placement || placement.startsWith('top') || placement.startsWith('bottom');
121
- if (['ArrowDown', 'ArrowUp'].includes(e.key) && verticalPlacement) {
122
- e.preventDefault();
123
- _this.handlers.visible(true);
124
- }
125
- if (['ArrowLeft', 'ArrowRight'].includes(e.key) && !verticalPlacement) {
126
- var show = e.key === 'ArrowRight' && placement.startsWith('right') || e.key === 'ArrowLeft' && placement.startsWith('left');
127
- var hide = e.key === 'ArrowLeft' && placement.startsWith('right') || e.key === 'ArrowRight' && placement.startsWith('left');
128
- var visibleChanged = visible && hide || !visible && show;
129
- if (show) {
130
- _this.handlers.visible(true);
131
- } else if (hide) {
132
- _this.handlers.visible(false);
133
- }
134
- if (visibleChanged) {
135
- e.preventDefault();
136
- e.stopPropagation();
137
- return;
138
- }
139
- }
140
- if (e.key.startsWith('Arrow') && !_this.state.keyboardFocused) {
141
- _this.setState({
142
- keyboardFocused: true
143
- });
144
- }
145
- if (['ArrowLeft', 'ArrowRight'].includes(e.key)) {
146
- var _item = highlightedIndex !== null && _this.itemRefs[highlightedIndex];
147
- var focusable = (0, _getFocusableIn.getFocusableIn)(_item);
148
- if (focusable.length > 0 && _item) {
149
- var focusedIndex = focusable.indexOf(document.activeElement);
150
- if (e.key === 'ArrowRight') {
151
- if (focusedIndex === -1) {
152
- _this.setState({
153
- focusLockItemIndex: highlightedIndex
154
- });
155
- }
156
- var nextFocused = focusable[focusedIndex + 1];
157
- if (nextFocused) {
158
- e.preventDefault();
159
- e.stopPropagation();
160
- nextFocused.focus();
161
- }
162
- } else if (e.key === 'ArrowLeft') {
163
- if (focusedIndex === 0) {
164
- _this.setState({
165
- focusLockItemIndex: null
166
- });
167
- }
168
- var prevFocused = focusable[focusedIndex - 1];
169
- if (prevFocused) {
170
- e.preventDefault();
171
- e.stopPropagation();
172
- prevFocused.focus();
173
- }
174
- }
175
- }
176
- }
177
- switch (e.key) {
178
- case 'ArrowDown':
179
- {
180
- if (visible) {
181
- _this.moveHighlightedIndex(amount, e);
182
- if ((0, _isFocusInside.isFocusInside)(_this.popperRef.current)) {
183
- _this.focusTrigger();
184
- }
185
- e.preventDefault();
186
- e.stopPropagation();
187
- }
188
- break;
189
- }
190
- case 'ArrowUp':
191
- {
192
- if (visible) {
193
- _this.moveHighlightedIndex(-amount, e);
194
- if ((0, _isFocusInside.isFocusInside)(_this.popperRef.current)) {
195
- _this.focusTrigger();
196
- }
197
- e.preventDefault();
198
- e.stopPropagation();
199
- }
200
- break;
201
- }
202
- case ' ':
203
- case 'Enter':
204
- if (_this.highlightedItemRef.current && highlightedIndex !== null) {
205
- e.stopPropagation();
206
- e.preventDefault();
207
- _this.highlightedItemRef.current.click();
208
- } else {
209
- if (place === 'trigger') {
210
- _this.handlers.visible(false);
211
- e.preventDefault();
212
- }
213
- }
214
- break;
215
- }
216
- };
217
- });
218
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "handleTriggerKeyboardFocus", function () {
219
- if (_this.ignoreTriggerKeyboardFocusUntil > Date.now()) return false;
220
- });
221
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "handleTriggerKeyboardFocusedStateChange", function (keyboardFocused) {
222
- _this.setState({
223
- keyboardFocused: keyboardFocused
224
- });
225
- });
226
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "handleItemFocusOut", function (event) {
227
- if (event.relatedTarget === _this.popperRef.current) return;
228
- var focused = event.relatedTarget;
229
- if ((0, _hasParent.hasParent)(focused, _this.popperRef.current)) {
230
- _this.handlers.highlightedIndex(null);
231
- _this.setState({
232
- focusLockItemIndex: null
233
- });
234
- focused.focus();
235
- }
236
- });
237
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "handleNestingClick", function (event) {
238
- var _focusable$;
239
- var itemIndex = _this.itemRefs.indexOf(event.currentTarget);
240
- if (itemIndex === -1) return;
241
- var focusable = (0, _getFocusableIn.getFocusableIn)(event.currentTarget);
242
- (_focusable$ = focusable[0]) === null || _focusable$ === void 0 ? void 0 : _focusable$.focus();
243
- if (focusable[0] && _this.state.focusLockItemIndex === null) {
244
- _this.setState({
245
- focusLockItemIndex: null
246
- });
247
- event.preventDefault();
248
- event.stopPropagation();
249
- }
250
- });
251
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "handleNestingKeyDown", function (event) {
252
- if (event.key === ' ') {
253
- _this.handleNestingClick(event);
254
- }
255
- });
256
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "getNestingProps", function () {
257
- var size = _this.asProps.size;
258
- return {
259
- size: size,
260
- onClick: _this.handleNestingClick,
261
- onKeyDown: _this.handleNestingKeyDown
262
- };
263
- });
264
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "handleNestedVisibleChange", function (lastUserInteraction) {
265
- if (_this.asProps.visible && _this.asProps.highlightedIndex === null && lastUserInteraction === 'keyboard') {
266
- _this.handlers.highlightedIndex(0);
267
- }
268
- });
269
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "getNestingTriggerProps", function () {
270
- var _this$asProps2 = _this.asProps,
271
- size = _this$asProps2.size,
272
- visible = _this$asProps2.visible;
273
- return {
274
- size: size,
275
- visible: visible,
276
- onNestedVisibleChange: _this.handleNestedVisibleChange
277
- };
278
- });
279
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "getNestingItemProps", function () {
280
- return _this.getNestingTriggerProps();
281
- });
282
- (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "scrollToNode", function (node) {
283
- if (node) {
284
- _this.highlightedItemRef.current = node;
285
- }
286
- setTimeout(function () {
287
- if (node !== null && node !== void 0 && node.scrollIntoView) {
288
- if (_this.asProps.highlightedIndex !== _this.prevHighlightedIndex) {
289
- _this.prevHighlightedIndex = _this.asProps.highlightedIndex;
290
- node.scrollIntoView({
291
- block: 'nearest',
292
- inline: 'nearest'
293
- });
294
- }
295
- }
296
- }, 0);
297
- });
298
- return _this;
299
- }
300
- (0, _createClass2["default"])(DropdownMenuRoot, [{
301
- key: "uncontrolledProps",
302
- value: function uncontrolledProps() {
303
- return {
304
- highlightedIndex: null,
305
- visible: null
306
- };
307
- }
308
- }, {
309
- key: "getTriggerProps",
310
- value: function getTriggerProps() {
311
- var _this$asProps3 = this.asProps,
312
- size = _this$asProps3.size,
313
- uid = _this$asProps3.uid,
314
- disablePortal = _this$asProps3.disablePortal,
315
- visible = _this$asProps3.visible,
316
- getI18nText = _this$asProps3.getI18nText,
317
- highlightedIndex = _this$asProps3.highlightedIndex;
318
- return {
319
- size: size,
320
- id: "igc-".concat(uid, "-trigger"),
321
- 'aria-controls': "igc-".concat(uid, "-popper"),
322
- focusHint: visible && !disablePortal ? getI18nText('triggerHint') : undefined,
323
- 'aria-expanded': visible ? 'true' : 'false',
324
- 'aria-activedescendant': visible && highlightedIndex !== null ? "igc-".concat(uid, "-option-").concat(highlightedIndex) : undefined,
325
- onKeyDown: this.bindHandlerKeyDown('trigger'),
326
- ref: this.triggerRef,
327
- onKeyboardFocus: this.handleTriggerKeyboardFocus,
328
- onKeyboardFocusedStateChange: this.handleTriggerKeyboardFocusedStateChange
329
- };
330
- }
331
- }, {
332
- key: "getListProps",
333
- value: function getListProps() {
334
- var _this$asProps4 = this.asProps,
335
- size = _this$asProps4.size,
336
- uid = _this$asProps4.uid;
337
- return {
338
- size: size,
339
- uid: uid,
340
- index: this.asProps.highlightedIndex
341
- };
342
- }
343
- }, {
344
- key: "getPopperProps",
345
- value: function getPopperProps() {
346
- var _this$asProps5 = this.asProps,
347
- uid = _this$asProps5.uid,
348
- disablePortal = _this$asProps5.disablePortal,
349
- ignorePortalsStacking = _this$asProps5.ignorePortalsStacking,
350
- interaction = _this$asProps5.interaction,
351
- highlightedIndex = _this$asProps5.highlightedIndex;
352
- return {
353
- ref: this.popperRef,
354
- tabIndex: 0,
355
- onKeyDown: this.bindHandlerKeyDown('popper'),
356
- id: "igc-".concat(uid, "-popper"),
357
- disablePortal: disablePortal,
358
- ignorePortalsStacking: ignorePortalsStacking,
359
- focusMaster: interaction === 'click',
360
- hideFocus: highlightedIndex !== null,
361
- 'use:role': null,
362
- 'use:autoFocus': false
363
- };
364
- }
365
- }, {
366
- key: "getItemProps",
367
- value: function getItemProps(props, index) {
368
- var _this2 = this;
369
- var _this$asProps6 = this.asProps,
370
- size = _this$asProps6.size,
371
- highlightedIndex = _this$asProps6.highlightedIndex,
372
- uid = _this$asProps6.uid;
373
- var highlighted = index === highlightedIndex;
374
- var ref = function ref(node) {
375
- _this2.itemRefs[index] = node;
376
- };
377
- this.itemProps[index] = props;
378
- if (highlighted) {
379
- ref = function ref(node) {
380
- _this2.itemRefs[index] = node;
381
- _this2.scrollToNode(node);
382
- };
383
- }
384
- return {
385
- id: "igc-".concat(uid, "-option-").concat(index),
386
- size: size,
387
- highlighted: highlighted,
388
- focusLock: this.state.focusLockItemIndex === index,
389
- triggerRef: this.triggerRef,
390
- ref: ref,
391
- index: index,
392
- handleFocusOut: this.handleItemFocusOut,
393
- triggerKeyboardFocused: this.state.keyboardFocused
394
- };
395
- }
396
- }, {
397
- key: "getItemHintProps",
398
- value: function getItemHintProps() {
399
- var size = this.asProps.size;
400
- return {
401
- size: size
402
- };
403
- }
404
- }, {
405
- key: "getItemTitleProps",
406
- value: function getItemTitleProps() {
407
- var size = this.asProps.size;
408
- return {
409
- size: size
410
- };
411
- }
412
- }, {
413
- key: "moveHighlightedIndex",
414
- value: function moveHighlightedIndex(amount, e) {
415
- var _this$itemProps$newIn;
416
- var highlightedIndex = this.asProps.highlightedIndex;
417
- var itemsLastIndex = this.itemProps.length - 1;
418
- var selectedIndex = this.itemProps.findIndex(function (item) {
419
- return item.selected;
420
- });
421
- if (itemsLastIndex < 0) return;
422
- if (highlightedIndex == null) {
423
- if (selectedIndex !== -1) {
424
- highlightedIndex = selectedIndex;
425
- } else if (this.highlightedItemRef.current) {
426
- highlightedIndex = this.prevHighlightedIndex;
427
- } else {
428
- highlightedIndex = amount < 0 ? 0 : itemsLastIndex;
429
- }
430
- }
431
- var newIndex = highlightedIndex + amount;
432
- if (newIndex < 0) {
433
- newIndex = amount + itemsLastIndex + 1;
434
- } else if (newIndex > itemsLastIndex) {
435
- newIndex = newIndex - itemsLastIndex - 1;
436
- }
437
- if ((_this$itemProps$newIn = this.itemProps[newIndex]) !== null && _this$itemProps$newIn !== void 0 && _this$itemProps$newIn.disabled) {
438
- this.moveHighlightedIndex(amount < 0 ? amount - 1 : amount + 1, e);
439
- } else if (!this.itemProps[newIndex]) {
440
- this.handlers.highlightedIndex(0, e);
441
- } else {
442
- this.handlers.highlightedIndex(newIndex, e);
443
- }
444
- }
445
- }, {
446
- key: "componentDidUpdate",
447
- value: function componentDidUpdate(prevProps) {
448
- var _this3 = this;
449
- var visibilityChanged = this.asProps.visible !== prevProps.visible;
450
- if (visibilityChanged && prevProps.visible !== undefined) {
451
- if (!this.asProps.visible) {
452
- this.handlers.highlightedIndex(null);
453
- this.highlightedItemRef.current = null;
454
- this.ignoreTriggerKeyboardFocusUntil = Date.now() + 100;
455
- if (document.activeElement === document.body || (0, _isFocusInside.isFocusInside)(this.popperRef.current)) {
456
- (0, _setFocus.setFocus)(this.triggerRef.current);
457
- }
458
- }
459
- }
460
- if (visibilityChanged && this.asProps.visible) {
461
- setTimeout(function () {
462
- var selectedItemIndex = _this3.itemProps.findIndex(function (item) {
463
- return item.selected;
464
- });
465
- if (selectedItemIndex === -1 || _this3.asProps.highlightedIndex !== null) return;
466
- _this3.handlers.highlightedIndex(selectedItemIndex);
467
- }, 0);
468
- }
469
- if ((this.state.focusLockItemIndex !== this.asProps.highlightedIndex || !this.asProps.visible) && this.state.focusLockItemIndex !== null) {
470
- setTimeout(function () {
471
- _this3.setState({
472
- focusLockItemIndex: null
473
- });
474
- }, 0);
475
- }
476
- }
477
- }, {
478
- key: "render",
479
- value: function render() {
480
- var _ref = this.asProps;
481
- var Children = this.asProps.Children;
482
- this.itemProps = [];
483
- return /*#__PURE__*/_react["default"].createElement(_dropdown["default"], (0, _core.assignProps)({}, _ref), /*#__PURE__*/_react["default"].createElement(Children, null));
484
- }
485
- }]);
486
- return DropdownMenuRoot;
487
- }(_core.Component);
488
- (0, _defineProperty2["default"])(DropdownMenuRoot, "displayName", 'DropdownMenu');
489
- (0, _defineProperty2["default"])(DropdownMenuRoot, "style", style);
490
- (0, _defineProperty2["default"])(DropdownMenuRoot, "enhance", [(0, _uniqueID["default"])(), (0, _i18nEnhance["default"])(_intergalacticDynamicLocales.localizedMessages)]);
491
- (0, _defineProperty2["default"])(DropdownMenuRoot, "defaultProps", {
492
- size: 'm',
493
- defaultVisible: false,
494
- defaultHighlightedIndex: null,
495
- i18n: _intergalacticDynamicLocales.localizedMessages,
496
- locale: 'en',
497
- interaction: 'click'
498
- });
499
- function List(props) {
500
- var _ref2 = arguments[0],
501
- _ref11;
502
- var SDropdownMenuList = _scrollArea["default"];
503
- var uid = props.uid;
504
- return _ref11 = (0, _core.sstyled)(props.styles), /*#__PURE__*/_react["default"].createElement(ListBoxContextProvider, _ref11.cn("ListBoxContextProvider", {}), /*#__PURE__*/_react["default"].createElement(SDropdownMenuList, _ref11.cn("SDropdownMenuList", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
505
- "tabIndex": null,
506
- "role": 'menu',
507
- "aria-labelledby": "igc-".concat(uid, "-trigger"),
508
- "shadow": true
509
- }, _ref2)))));
510
- }
511
- function Menu(props) {
512
- var _ref3 = arguments[0];
513
- var visible = props.visible,
514
- disablePortal = props.disablePortal,
515
- ignorePortalsStacking = props.ignorePortalsStacking,
516
- disableEnforceFocus = props.disableEnforceFocus,
517
- interaction = props.interaction,
518
- autoFocus = props.autoFocus,
519
- animationsDisabled = props.animationsDisabled;
520
- var popperProps = {
521
- visible: visible,
522
- disablePortal: disablePortal,
523
- ignorePortalsStacking: ignorePortalsStacking,
524
- disableEnforceFocus: disableEnforceFocus,
525
- interaction: interaction,
526
- autoFocus: autoFocus,
527
- animationsDisabled: animationsDisabled
528
- };
529
- return /*#__PURE__*/_react["default"].createElement(ListBoxContextProvider, null, /*#__PURE__*/_react["default"].createElement(DropdownMenu.Popper, popperProps, /*#__PURE__*/_react["default"].createElement(DropdownMenu.List, (0, _core.assignProps)({}, _ref3))));
530
- }
531
- function Item(_ref19) {
532
- var _ref4 = arguments[0],
533
- _ref12;
534
- var styles = _ref19.styles,
535
- label = _ref19.label,
536
- triggerRef = _ref19.triggerRef,
537
- focusLock = _ref19.focusLock,
538
- disabled = _ref19.disabled,
539
- highlighted = _ref19.highlighted,
540
- handleFocusOut = _ref19.handleFocusOut,
541
- triggerKeyboardFocused = _ref19.triggerKeyboardFocused;
542
- var SDropdownMenuItem = _flexBox.Flex;
543
- var ref = _react["default"].useRef();
544
- (0, _useFocusLock.useFocusLock)(ref, false, triggerRef, !focusLock || disabled, true, handleFocusOut);
545
- return _ref12 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SDropdownMenuItem, _ref12.cn("SDropdownMenuItem", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
546
- "ref": ref,
547
- "role": 'menuitem',
548
- "tabIndex": -1,
549
- "id": label,
550
- "use:highlighted": !disabled && highlighted && triggerKeyboardFocused
551
- }, _ref4))));
552
- }
553
- var NestingContext = /*#__PURE__*/_react["default"].createContext(null);
554
- function Nesting(_ref20) {
555
- var _ref5 = arguments[0],
556
- _ref13;
557
- var styles = _ref20.styles,
558
- disabled = _ref20.disabled;
559
- var SDropdownMenuNesting = DropdownMenu.Item;
560
- var contextValue = _react["default"].useMemo(function () {
561
- return {
562
- disabled: disabled
563
- };
564
- }, [disabled]);
565
- return /*#__PURE__*/_react["default"].createElement(NestingContext.Provider, {
566
- value: contextValue
567
- }, (_ref13 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SDropdownMenuNesting, _ref13.cn("SDropdownMenuNesting", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
568
- "aria-haspopup": 'true'
569
- }, _ref5))))));
570
- }
571
- function NestingTrigger(props) {
572
- var _ref6 = arguments[0],
573
- _ref14;
574
- var styles = props.styles,
575
- visible = props.visible,
576
- onNestedVisibleChange = props.onNestedVisibleChange;
577
- var SDropdownMenuItem = _flexBox.Flex;
578
- var nestingContext = _react["default"].useContext(NestingContext);
579
- var disabled = props.disabled || (nestingContext === null || nestingContext === void 0 ? void 0 : nestingContext.disabled);
580
- var lastUserInteractionRef = _react["default"].useRef(undefined);
581
- _react["default"].useEffect(function () {
582
- onNestedVisibleChange(lastUserInteractionRef.current);
583
- }, [visible]);
584
- var handleMouseEvent = _react["default"].useCallback(function () {
585
- lastUserInteractionRef.current = 'mouse';
586
- }, []);
587
- var handleKeyboardEvent = _react["default"].useCallback(function () {
588
- lastUserInteractionRef.current = 'keyboard';
589
- }, []);
590
- _react["default"].useEffect(function () {
591
- document.addEventListener('mouseover', handleMouseEvent, {
592
- capture: true
593
- });
594
- document.addEventListener('keydown', handleKeyboardEvent, {
595
- capture: true
596
- });
597
- return function () {
598
- document.removeEventListener('mouseover', handleMouseEvent, {
599
- capture: true
600
- });
601
- document.removeEventListener('keydown', handleKeyboardEvent, {
602
- capture: true
603
- });
604
- };
605
- }, []);
606
- return /*#__PURE__*/_react["default"].createElement(NestingContext.Provider, {
607
- value: null
608
- }, (_ref14 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SDropdownMenuItem, _ref14.cn("SDropdownMenuItem", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
609
- "nesting-trigger": true,
610
- "use:tabIndex": !disabled ? 0 : undefined
611
- }, _ref6))))));
612
- }
613
- function NestingItem(props) {
614
- var _ref7 = arguments[0],
615
- _ref15;
616
- var styles = props.styles;
617
- var SDropdownNestingItem = NestingTrigger;
618
- return _ref15 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SDropdownNestingItem, _ref15.cn("SDropdownNestingItem", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
619
- "use:tabIndex": -1
620
- }, _ref7))));
621
- }
622
- function Addon(props) {
623
- var _useBox = (0, _flexBox.useBox)(props, props.forwardRef),
624
- _useBox2 = (0, _slicedToArray2["default"])(_useBox, 2),
625
- SDropdownMenuItemAddon = _useBox2[0],
626
- _useBox2$ = _useBox2[1],
627
- className = _useBox2$.className,
628
- other = (0, _objectWithoutProperties2["default"])(_useBox2$, _excluded);
629
- var styles = (0, _core.sstyled)(props.styles);
630
- return /*#__PURE__*/_react["default"].createElement(SDropdownMenuItemAddon, (0, _extends2["default"])({
631
- className: (0, _classnames["default"])(styles.cn('SDropdownMenuItemAddon', props).className, className) || undefined
632
- }, other));
633
- }
634
- function Hint(props) {
635
- var _ref8 = arguments[0],
636
- _ref16;
637
- var SDropdownMenuItem = _flexBox.Flex;
638
- return _ref16 = (0, _core.sstyled)(props.styles), /*#__PURE__*/_react["default"].createElement(SDropdownMenuItem, _ref16.cn("SDropdownMenuItem", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
639
- "variant": 'hint'
640
- }, _ref8))));
641
- }
642
- function Title(props) {
643
- var _ref9 = arguments[0],
644
- _ref17;
645
- var SDropdownMenuItem = _flexBox.Flex;
646
- return _ref17 = (0, _core.sstyled)(props.styles), /*#__PURE__*/_react["default"].createElement(SDropdownMenuItem, _ref17.cn("SDropdownMenuItem", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({
647
- "variant": 'title'
648
- }, _ref9))));
649
- }
650
- function Trigger(_ref21) {
651
- var _ref10 = arguments[0];
652
- var keyboardFocused = _ref21.keyboardFocused,
653
- onKeyboardFocusedStateChange = _ref21.onKeyboardFocusedStateChange;
654
- _react["default"].useEffect(function () {
655
- onKeyboardFocusedStateChange(keyboardFocused);
656
- }, [keyboardFocused, onKeyboardFocusedStateChange]);
657
- return /*#__PURE__*/_react["default"].createElement(_dropdown["default"].Trigger, (0, _core.assignProps)({
658
- "aria-haspopup": 'true'
659
- }, _ref10));
660
- }
661
- Trigger.enhance = [(0, _keyboardFocusEnhance["default"])(false)];
662
- var DropdownMenu = (0, _core["default"])(DropdownMenuRoot, {
663
- Trigger: Trigger,
664
- Popper: _dropdown["default"].Popper,
665
- List: List,
666
- Menu: Menu,
667
- Item: [Item, {
668
- Addon: Addon
669
- }],
670
- Nesting: [Nesting, {
671
- Trigger: NestingTrigger,
672
- Addon: Addon,
673
- Item: NestingItem
674
- }],
675
- ItemTitle: Title,
676
- ItemHint: Hint
677
- }, {
678
- parent: [_dropdown["default"]]
679
- });
680
- var _default = DropdownMenu;
681
- exports["default"] = _default;
682
- //# sourceMappingURL=DropdownMenuOld.js.map