carbon-react 124.2.0 → 124.2.2

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 (499) hide show
  1. package/esm/__internal__/checkable-input/checkable-input.component.js +0 -1
  2. package/esm/__internal__/checkable-input/hidden-checkable-input.component.js +0 -1
  3. package/esm/__internal__/focus-trap/focus-trap-utils.js +0 -1
  4. package/esm/__internal__/input/input.component.js +0 -1
  5. package/esm/components/accordion/accordion-group/accordion-group.component.js +1 -0
  6. package/esm/components/box/box.component.js +303 -45
  7. package/esm/components/checkbox/checkbox.component.js +0 -1
  8. package/esm/components/date/__internal__/utils.js +0 -1
  9. package/esm/components/date/date.component.js +0 -7
  10. package/esm/components/decimal/decimal.component.js +0 -1
  11. package/esm/components/grouped-character/grouped-character.component.js +0 -1
  12. package/esm/components/message/message-content/message-content.style.js +0 -8
  13. package/esm/components/navigation-bar/navigation-bar.component.js +293 -35
  14. package/esm/components/number/number.component.js +0 -1
  15. package/esm/components/radio-button/radio-button.component.js +0 -1
  16. package/esm/components/select/filterable-select/filterable-select.component.js +7 -2
  17. package/esm/components/select/multi-select/multi-select.component.js +0 -1
  18. package/esm/components/select/option/option.component.js +0 -1
  19. package/esm/components/select/select-textbox/select-textbox.component.js +1 -5
  20. package/esm/components/select/simple-select/simple-select.component.js +0 -1
  21. package/esm/components/switch/switch.component.js +0 -1
  22. package/esm/components/textarea/textarea.component.js +0 -1
  23. package/esm/components/textbox/textbox.component.js +4 -5
  24. package/esm/components/toast/toast.component.js +4 -4
  25. package/esm/components/toast/toast.style.d.ts +14 -13
  26. package/esm/components/toast/toast.style.js +42 -14
  27. package/lib/__internal__/character-count/character-count.component.js +1 -2
  28. package/lib/__internal__/character-count/character-count.style.js +6 -10
  29. package/lib/__internal__/checkable-input/checkable-input-svg-wrapper.style.js +1 -2
  30. package/lib/__internal__/checkable-input/checkable-input.component.js +3 -5
  31. package/lib/__internal__/checkable-input/checkable-input.style.js +5 -7
  32. package/lib/__internal__/checkable-input/hidden-checkable-input.component.js +3 -5
  33. package/lib/__internal__/checkable-input/hidden-checkable-input.style.js +1 -2
  34. package/lib/__internal__/field-help/field-help.component.js +1 -2
  35. package/lib/__internal__/field-help/field-help.style.js +3 -4
  36. package/lib/__internal__/fieldset/fieldset.component.js +3 -4
  37. package/lib/__internal__/fieldset/fieldset.style.js +6 -9
  38. package/lib/__internal__/focus-trap/focus-trap-utils.js +1 -3
  39. package/lib/__internal__/focus-trap/focus-trap.component.js +6 -8
  40. package/lib/__internal__/form-field/form-field.component.js +3 -4
  41. package/lib/__internal__/form-field/form-field.style.js +4 -6
  42. package/lib/__internal__/form-spacing-provider/form-spacing-context.js +1 -2
  43. package/lib/__internal__/form-spacing-provider/form-spacing-provider.component.js +1 -2
  44. package/lib/__internal__/full-screen-heading/full-screen-heading.component.js +3 -4
  45. package/lib/__internal__/full-screen-heading/full-screen-heading.style.js +4 -6
  46. package/lib/__internal__/i18n-context/index.js +1 -2
  47. package/lib/__internal__/input/index.js +1 -2
  48. package/lib/__internal__/input/input-presentation.component.js +3 -4
  49. package/lib/__internal__/input/input-presentation.style.js +4 -6
  50. package/lib/__internal__/input/input-sizes.style.js +1 -2
  51. package/lib/__internal__/input/input.component.js +3 -5
  52. package/lib/__internal__/input/input.style.js +3 -4
  53. package/lib/__internal__/input-behaviour/input-behaviour.component.js +1 -2
  54. package/lib/__internal__/input-behaviour/input-group-behaviour.component.js +1 -2
  55. package/lib/__internal__/input-behaviour/useInputBehaviour.js +1 -2
  56. package/lib/__internal__/input-icon-toggle/input-icon-toggle.component.js +1 -2
  57. package/lib/__internal__/input-icon-toggle/input-icon-toggle.style.js +3 -4
  58. package/lib/__internal__/label/icon-wrapper.style.js +1 -2
  59. package/lib/__internal__/label/label.component.js +3 -4
  60. package/lib/__internal__/label/label.style.js +4 -6
  61. package/lib/__internal__/popover/popover.component.js +3 -4
  62. package/lib/__internal__/popover/popover.style.js +3 -5
  63. package/lib/__internal__/radio-button-mapper/radio-button-mapper.component.js +3 -4
  64. package/lib/__internal__/sticky-footer/sticky-footer.component.js +3 -4
  65. package/lib/__internal__/sticky-footer/sticky-footer.style.js +3 -4
  66. package/lib/__internal__/tooltip-provider/index.js +3 -4
  67. package/lib/__internal__/utils/helpers/browser-type-check/index.js +1 -2
  68. package/lib/__internal__/utils/helpers/events/events.js +1 -2
  69. package/lib/__internal__/utils/helpers/tags/tags.js +1 -2
  70. package/lib/__internal__/utils/logger/index.js +1 -2
  71. package/lib/__internal__/validation-message/validation-message.component.js +1 -2
  72. package/lib/__internal__/validation-message/validation-message.style.js +3 -4
  73. package/lib/__internal__/validations/validation-icon.component.js +3 -4
  74. package/lib/__internal__/validations/validation-icon.style.js +3 -4
  75. package/lib/__spec_helper__/mock-resize-observer.js +1 -2
  76. package/lib/__spec_helper__/test-utils.js +6 -12
  77. package/lib/components/accordion/accordion-group/accordion-group.component.js +3 -4
  78. package/lib/components/accordion/accordion.component.js +4 -6
  79. package/lib/components/accordion/accordion.style.js +11 -20
  80. package/lib/components/action-popover/action-popover-context.js +1 -2
  81. package/lib/components/action-popover/action-popover-divider/action-popover-divider.component.js +1 -2
  82. package/lib/components/action-popover/action-popover-item/action-popover-item.component.js +3 -4
  83. package/lib/components/action-popover/action-popover-menu/action-popover-menu.component.js +3 -4
  84. package/lib/components/action-popover/action-popover-menu-button/action-popover-menu-button.component.js +1 -2
  85. package/lib/components/action-popover/action-popover.component.js +3 -4
  86. package/lib/components/action-popover/action-popover.style.js +15 -27
  87. package/lib/components/advanced-color-picker/advanced-color-picker-cell.style.js +3 -4
  88. package/lib/components/advanced-color-picker/advanced-color-picker.component.js +3 -4
  89. package/lib/components/advanced-color-picker/advanced-color-picker.style.js +7 -11
  90. package/lib/components/alert/alert.component.js +1 -2
  91. package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.component.js +1 -2
  92. package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.style.js +3 -4
  93. package/lib/components/anchor-navigation/anchor-navigation.component.js +3 -4
  94. package/lib/components/anchor-navigation/anchor-navigation.style.js +4 -7
  95. package/lib/components/anchor-navigation/anchor-section-divider.component.js +1 -2
  96. package/lib/components/badge/badge.component.js +1 -2
  97. package/lib/components/badge/badge.style.js +6 -10
  98. package/lib/components/batch-selection/batch-selection.component.js +1 -2
  99. package/lib/components/batch-selection/batch-selection.style.js +5 -7
  100. package/lib/components/box/box.component.js +305 -49
  101. package/lib/components/box/box.config.js +2 -3
  102. package/lib/components/box/box.style.js +3 -4
  103. package/lib/components/breadcrumbs/breadcrumbs.component.js +2 -4
  104. package/lib/components/breadcrumbs/breadcrumbs.style.js +1 -2
  105. package/lib/components/breadcrumbs/crumb/crumb.component.js +1 -2
  106. package/lib/components/breadcrumbs/crumb/crumb.style.js +6 -9
  107. package/lib/components/button/button.component.js +4 -6
  108. package/lib/components/button/button.config.js +3 -6
  109. package/lib/components/button/button.style.js +4 -6
  110. package/lib/components/button/index.js +2 -2
  111. package/lib/components/button-bar/button-bar.component.js +2 -4
  112. package/lib/components/button-bar/button-bar.config.js +2 -4
  113. package/lib/components/button-bar/button-bar.style.js +3 -4
  114. package/lib/components/button-minor/button-minor.component.js +3 -4
  115. package/lib/components/button-minor/button-minor.style.js +3 -4
  116. package/lib/components/button-toggle/button-toggle-group/button-toggle-group.component.js +4 -6
  117. package/lib/components/button-toggle/button-toggle-group/button-toggle-group.style.js +4 -6
  118. package/lib/components/button-toggle/button-toggle-icon.component.js +1 -2
  119. package/lib/components/button-toggle/button-toggle.component.js +3 -4
  120. package/lib/components/button-toggle/button-toggle.style.js +7 -11
  121. package/lib/components/carbon-provider/carbon-provider.component.js +4 -6
  122. package/lib/components/carbon-provider/top-modal-context.js +3 -4
  123. package/lib/components/card/__internal__/card-context/index.js +1 -2
  124. package/lib/components/card/card-column/card-column.component.js +1 -2
  125. package/lib/components/card/card-column/card-column.style.js +1 -2
  126. package/lib/components/card/card-footer/card-footer.component.js +3 -4
  127. package/lib/components/card/card-footer/card-footer.style.js +3 -4
  128. package/lib/components/card/card-row/card-row.component.js +1 -2
  129. package/lib/components/card/card-row/card-row.style.js +3 -4
  130. package/lib/components/card/card.component.js +3 -4
  131. package/lib/components/card/card.config.js +2 -4
  132. package/lib/components/card/card.style.js +3 -4
  133. package/lib/components/carousel/carousel.component.js +3 -4
  134. package/lib/components/carousel/carousel.style.js +16 -29
  135. package/lib/components/carousel/slide/slide.component.js +1 -2
  136. package/lib/components/carousel/slide/slide.style.js +4 -5
  137. package/lib/components/carousel/slide.config.js +3 -5
  138. package/lib/components/checkbox/checkbox-group.component.js +4 -6
  139. package/lib/components/checkbox/checkbox-group.style.js +4 -6
  140. package/lib/components/checkbox/checkbox-svg.component.js +1 -2
  141. package/lib/components/checkbox/checkbox.component.js +4 -7
  142. package/lib/components/checkbox/checkbox.style.js +3 -4
  143. package/lib/components/confirm/confirm.component.js +3 -4
  144. package/lib/components/confirm/confirm.config.js +1 -2
  145. package/lib/components/confirm/confirm.style.js +5 -7
  146. package/lib/components/content/content.component.js +1 -2
  147. package/lib/components/content/content.style.js +6 -9
  148. package/lib/components/date/__internal__/date-formats/index.js +1 -2
  149. package/lib/components/date/__internal__/date-picker/date-picker.component.js +3 -4
  150. package/lib/components/date/__internal__/date-picker/day-picker.style.js +3 -4
  151. package/lib/components/date/__internal__/navbar/button.style.js +1 -2
  152. package/lib/components/date/__internal__/navbar/navbar.component.js +1 -2
  153. package/lib/components/date/__internal__/navbar/navbar.style.js +1 -2
  154. package/lib/components/date/__internal__/utils.js +0 -1
  155. package/lib/components/date/__internal__/weekday/abbr.style.js +1 -2
  156. package/lib/components/date/__internal__/weekday/weekday.component.js +1 -2
  157. package/lib/components/date/__internal__/weekday/weekday.style.js +1 -2
  158. package/lib/components/date/date.component.js +4 -13
  159. package/lib/components/date/date.style.js +3 -4
  160. package/lib/components/date-range/date-range.component.js +3 -4
  161. package/lib/components/date-range/date-range.context.js +1 -2
  162. package/lib/components/date-range/date-range.style.js +1 -2
  163. package/lib/components/decimal/decimal.component.js +4 -7
  164. package/lib/components/definition-list/__internal__/dl.context.js +1 -2
  165. package/lib/components/definition-list/dd.component.js +3 -4
  166. package/lib/components/definition-list/definition-list.style.js +6 -9
  167. package/lib/components/definition-list/dl.component.js +1 -2
  168. package/lib/components/definition-list/dt.component.js +3 -4
  169. package/lib/components/detail/detail.component.js +1 -2
  170. package/lib/components/detail/detail.style.js +6 -10
  171. package/lib/components/dialog/dialog.component.js +4 -6
  172. package/lib/components/dialog/dialog.config.js +5 -10
  173. package/lib/components/dialog/dialog.style.js +6 -10
  174. package/lib/components/dialog-full-screen/content.style.js +3 -4
  175. package/lib/components/dialog-full-screen/dialog-full-screen.component.js +3 -4
  176. package/lib/components/dialog-full-screen/dialog-full-screen.style.js +3 -4
  177. package/lib/components/dismissible-box/dismissible-box.component.js +1 -2
  178. package/lib/components/dismissible-box/dismissible-box.style.js +4 -5
  179. package/lib/components/draggable/draggable-container.component.js +3 -4
  180. package/lib/components/draggable/draggable-item.component.js +1 -2
  181. package/lib/components/draggable/draggable-item.style.js +3 -6
  182. package/lib/components/draggable/internal/drop-target.component.js +1 -2
  183. package/lib/components/drawer/drawer.component.js +4 -6
  184. package/lib/components/drawer/drawer.style.js +10 -17
  185. package/lib/components/drawer/index.js +2 -2
  186. package/lib/components/duelling-picklist/duelling-picklist.component.js +3 -4
  187. package/lib/components/duelling-picklist/duelling-picklist.context.js +1 -2
  188. package/lib/components/duelling-picklist/duelling-picklist.style.js +9 -16
  189. package/lib/components/duelling-picklist/picklist/picklist.component.js +3 -4
  190. package/lib/components/duelling-picklist/picklist/picklist.style.js +3 -5
  191. package/lib/components/duelling-picklist/picklist-divider/picklist-divider.component.js +1 -2
  192. package/lib/components/duelling-picklist/picklist-divider/picklist-divider.style.js +1 -2
  193. package/lib/components/duelling-picklist/picklist-group/picklist-group.component.js +4 -6
  194. package/lib/components/duelling-picklist/picklist-group/picklist-group.style.js +7 -11
  195. package/lib/components/duelling-picklist/picklist-item/picklist-item.component.js +4 -6
  196. package/lib/components/duelling-picklist/picklist-item/picklist-item.style.js +6 -9
  197. package/lib/components/duelling-picklist/picklist-placeholder/picklist-placeholder.component.js +1 -2
  198. package/lib/components/fieldset/fieldset.component.js +1 -2
  199. package/lib/components/fieldset/fieldset.style.js +4 -7
  200. package/lib/components/flat-table/cell-sizes.style.js +2 -3
  201. package/lib/components/flat-table/flat-table-body/flat-table-body.component.js +2 -4
  202. package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +3 -4
  203. package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.style.js +3 -4
  204. package/lib/components/flat-table/flat-table-cell/flat-table-cell.component.js +3 -4
  205. package/lib/components/flat-table/flat-table-cell/flat-table-cell.style.js +4 -6
  206. package/lib/components/flat-table/flat-table-checkbox/flat-table-checkbox.component.js +3 -4
  207. package/lib/components/flat-table/flat-table-checkbox/flat-table-checkbox.style.js +3 -4
  208. package/lib/components/flat-table/flat-table-head/flat-table-head.component.js +4 -6
  209. package/lib/components/flat-table/flat-table-head/flat-table-head.style.js +1 -2
  210. package/lib/components/flat-table/flat-table-header/flat-table-header-utils.js +1 -2
  211. package/lib/components/flat-table/flat-table-header/flat-table-header.component.js +3 -4
  212. package/lib/components/flat-table/flat-table-header/flat-table-header.style.js +3 -4
  213. package/lib/components/flat-table/flat-table-row/__internal__/flat-table-row-context.js +2 -3
  214. package/lib/components/flat-table/flat-table-row/__internal__/flat-table-row-draggable.component.js +1 -2
  215. package/lib/components/flat-table/flat-table-row/__internal__/sub-row-provider.js +4 -6
  216. package/lib/components/flat-table/flat-table-row/flat-table-row.component.js +4 -6
  217. package/lib/components/flat-table/flat-table-row/flat-table-row.style.js +3 -4
  218. package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.component.js +3 -4
  219. package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.style.js +5 -7
  220. package/lib/components/flat-table/flat-table.component.js +4 -6
  221. package/lib/components/flat-table/flat-table.config.js +2 -4
  222. package/lib/components/flat-table/flat-table.style.js +6 -10
  223. package/lib/components/flat-table/sort/sort.component.js +3 -4
  224. package/lib/components/flat-table/sort/sort.style.js +3 -5
  225. package/lib/components/form/__internal__/form-summary.component.js +3 -4
  226. package/lib/components/form/__internal__/form-summary.style.js +6 -9
  227. package/lib/components/form/form.component.js +3 -4
  228. package/lib/components/form/form.config.js +3 -5
  229. package/lib/components/form/form.style.js +8 -14
  230. package/lib/components/global-header/global-header.component.js +1 -2
  231. package/lib/components/grid/grid-container/grid-container.component.js +1 -2
  232. package/lib/components/grid/grid-container/grid-container.style.js +1 -2
  233. package/lib/components/grid/grid-item/grid-item.component.js +1 -2
  234. package/lib/components/grid/grid-item/grid-item.style.js +3 -4
  235. package/lib/components/grouped-character/grouped-character.component.js +4 -7
  236. package/lib/components/heading/heading.component.js +1 -2
  237. package/lib/components/heading/heading.style.js +14 -25
  238. package/lib/components/help/help.component.js +3 -4
  239. package/lib/components/help/help.config.js +1 -2
  240. package/lib/components/help/help.style.js +3 -4
  241. package/lib/components/hr/hr.component.js +1 -2
  242. package/lib/components/hr/hr.style.js +1 -2
  243. package/lib/components/i18n-provider/i18n-provider.component.js +1 -2
  244. package/lib/components/icon/icon-config.js +6 -12
  245. package/lib/components/icon/icon-unicodes.js +1 -2
  246. package/lib/components/icon/icon.component.js +3 -4
  247. package/lib/components/icon/icon.style.js +3 -4
  248. package/lib/components/icon-button/icon-button.component.js +3 -4
  249. package/lib/components/icon-button/icon-button.style.js +3 -4
  250. package/lib/components/image/image.component.js +1 -2
  251. package/lib/components/image/image.style.js +3 -4
  252. package/lib/components/inline-inputs/inline-inputs.component.js +3 -4
  253. package/lib/components/inline-inputs/inline-inputs.config.js +1 -2
  254. package/lib/components/inline-inputs/inline-inputs.style.js +5 -8
  255. package/lib/components/link/link.component.js +4 -6
  256. package/lib/components/link/link.config.js +3 -6
  257. package/lib/components/link/link.style.js +4 -6
  258. package/lib/components/link-preview/__internal__/placeholder.component.js +2 -4
  259. package/lib/components/link-preview/link-preview.component.js +1 -2
  260. package/lib/components/link-preview/link-preview.style.js +9 -15
  261. package/lib/components/loader/loader-square.style.js +3 -4
  262. package/lib/components/loader/loader.component.js +1 -2
  263. package/lib/components/loader/loader.config.js +1 -2
  264. package/lib/components/loader/loader.style.js +1 -2
  265. package/lib/components/loader-bar/loader-bar.component.js +3 -4
  266. package/lib/components/loader-bar/loader-bar.config.js +1 -2
  267. package/lib/components/loader-bar/loader-bar.style.js +5 -8
  268. package/lib/components/menu/__internal__/locators.js +6 -12
  269. package/lib/components/menu/__internal__/spec-helper/index.js +1 -2
  270. package/lib/components/menu/__internal__/submenu/submenu.component.js +3 -4
  271. package/lib/components/menu/__internal__/submenu/submenu.context.js +1 -2
  272. package/lib/components/menu/__internal__/submenu/submenu.style.js +4 -6
  273. package/lib/components/menu/menu-divider/menu-divider.component.js +3 -4
  274. package/lib/components/menu/menu-divider/menu-divider.style.js +3 -4
  275. package/lib/components/menu/menu-full-screen/menu-full-screen.component.js +3 -4
  276. package/lib/components/menu/menu-full-screen/menu-full-screen.style.js +4 -6
  277. package/lib/components/menu/menu-item/menu-item.component.js +3 -4
  278. package/lib/components/menu/menu-item/menu-item.style.js +3 -4
  279. package/lib/components/menu/menu-segment-title/menu-segment-title.component.js +3 -4
  280. package/lib/components/menu/menu-segment-title/menu-segment-title.style.js +5 -7
  281. package/lib/components/menu/menu.component.js +3 -4
  282. package/lib/components/menu/menu.config.js +2 -3
  283. package/lib/components/menu/menu.context.js +2 -3
  284. package/lib/components/menu/menu.style.js +4 -6
  285. package/lib/components/menu/scrollable-block/scrollable-block.component.js +3 -4
  286. package/lib/components/menu/scrollable-block/scrollable-block.style.js +3 -4
  287. package/lib/components/message/message-content/message-content.component.js +1 -2
  288. package/lib/components/message/message-content/message-content.style.js +1 -10
  289. package/lib/components/message/message.component.js +4 -6
  290. package/lib/components/message/message.style.js +3 -4
  291. package/lib/components/message/type-icon/type-icon.component.js +1 -2
  292. package/lib/components/message/type-icon/type-icon.style.js +3 -4
  293. package/lib/components/modal/__internal__/modal-manager.js +2 -4
  294. package/lib/components/modal/index.js +2 -2
  295. package/lib/components/modal/modal.component.js +4 -6
  296. package/lib/components/modal/modal.style.js +4 -6
  297. package/lib/components/multi-action-button/multi-action-button.component.js +3 -4
  298. package/lib/components/multi-action-button/multi-action-button.config.js +3 -6
  299. package/lib/components/multi-action-button/multi-action-button.style.js +4 -6
  300. package/lib/components/navigation-bar/fixed-navigation-bar.context.js +3 -4
  301. package/lib/components/navigation-bar/navigation-bar.component.js +296 -39
  302. package/lib/components/navigation-bar/navigation-bar.style.js +3 -4
  303. package/lib/components/note/__internal__/status-icon/status-icon.component.js +1 -2
  304. package/lib/components/note/__internal__/status-icon/status-icon.style.js +1 -2
  305. package/lib/components/note/note.component.js +1 -2
  306. package/lib/components/note/note.style.js +9 -16
  307. package/lib/components/number/number.component.js +4 -7
  308. package/lib/components/numeral-date/numeral-date-context.js +1 -2
  309. package/lib/components/numeral-date/numeral-date.component.js +4 -6
  310. package/lib/components/numeral-date/numeral-date.style.js +5 -7
  311. package/lib/components/pager/__internal__/pager-navigation-link.component.js +3 -4
  312. package/lib/components/pager/__internal__/pager-navigation.component.js +3 -4
  313. package/lib/components/pager/pager.component.js +3 -4
  314. package/lib/components/pager/pager.style.js +13 -23
  315. package/lib/components/pages/page/page.component.js +3 -4
  316. package/lib/components/pages/page/page.style.js +2 -4
  317. package/lib/components/pages/pages.component.js +3 -4
  318. package/lib/components/pages/pages.config.js +3 -5
  319. package/lib/components/pages/pages.style.js +2 -4
  320. package/lib/components/password/password.component.js +3 -4
  321. package/lib/components/password/password.style.js +3 -5
  322. package/lib/components/pill/pill.component.js +1 -2
  323. package/lib/components/pill/pill.style.js +3 -4
  324. package/lib/components/pod/pod.component.js +3 -4
  325. package/lib/components/pod/pod.config.js +3 -6
  326. package/lib/components/pod/pod.style.js +13 -24
  327. package/lib/components/popover-container/popover-container.component.js +3 -4
  328. package/lib/components/popover-container/popover-container.style.js +6 -12
  329. package/lib/components/portal/portal.js +4 -6
  330. package/lib/components/portrait/portrait.component.js +3 -4
  331. package/lib/components/portrait/portrait.config.js +4 -7
  332. package/lib/components/portrait/portrait.style.js +5 -10
  333. package/lib/components/preview/__internal__/preview-placeholder.component.js +1 -2
  334. package/lib/components/preview/__internal__/preview-placeholder.style.js +4 -5
  335. package/lib/components/preview/preview.component.js +1 -2
  336. package/lib/components/preview/preview.style.js +1 -2
  337. package/lib/components/profile/profile.component.js +1 -2
  338. package/lib/components/profile/profile.config.js +3 -5
  339. package/lib/components/profile/profile.style.js +6 -12
  340. package/lib/components/progress-tracker/progress-tracker.component.js +3 -4
  341. package/lib/components/progress-tracker/progress-tracker.config.js +1 -2
  342. package/lib/components/progress-tracker/progress-tracker.style.js +8 -14
  343. package/lib/components/radio-button/index.js +1 -2
  344. package/lib/components/radio-button/radio-button-group.component.js +3 -4
  345. package/lib/components/radio-button/radio-button-group.style.js +4 -6
  346. package/lib/components/radio-button/radio-button-svg.component.js +1 -2
  347. package/lib/components/radio-button/radio-button.component.js +4 -7
  348. package/lib/components/radio-button/radio-button.style.js +3 -4
  349. package/lib/components/search/search-button.style.js +2 -4
  350. package/lib/components/search/search.component.js +4 -6
  351. package/lib/components/search/search.style.js +3 -4
  352. package/lib/components/select/__internal__/select-list-context.js +1 -2
  353. package/lib/components/select/__internal__/select-text/select-text.component.js +1 -2
  354. package/lib/components/select/__internal__/select-text/select-text.style.js +3 -4
  355. package/lib/components/select/filterable-select/filterable-select.component.js +11 -8
  356. package/lib/components/select/list-action-button/list-action-button.component.js +1 -2
  357. package/lib/components/select/list-action-button/list-action-button.style.js +1 -2
  358. package/lib/components/select/multi-select/multi-select.component.js +4 -7
  359. package/lib/components/select/multi-select/multi-select.style.js +3 -6
  360. package/lib/components/select/option/option.component.js +3 -5
  361. package/lib/components/select/option/option.style.js +3 -4
  362. package/lib/components/select/option-group-header/option-group-header.component.js +1 -2
  363. package/lib/components/select/option-group-header/option-group-header.style.js +1 -2
  364. package/lib/components/select/option-row/option-row.component.js +3 -4
  365. package/lib/components/select/option-row/option-row.style.js +3 -4
  366. package/lib/components/select/select-list/select-list-container.style.js +1 -2
  367. package/lib/components/select/select-list/select-list.component.js +3 -4
  368. package/lib/components/select/select-list/select-list.style.js +8 -13
  369. package/lib/components/select/select-textbox/select-textbox.component.js +4 -9
  370. package/lib/components/select/select.style.js +3 -4
  371. package/lib/components/select/simple-select/simple-select.component.js +4 -7
  372. package/lib/components/select/utils/get-next-index-by-key.js +1 -2
  373. package/lib/components/select/utils/matching-text.style.js +1 -2
  374. package/lib/components/select/utils/with-filter.hoc.js +3 -4
  375. package/lib/components/settings-row/settings-row.component.js +1 -2
  376. package/lib/components/settings-row/settings-row.style.js +6 -9
  377. package/lib/components/sidebar/__internal__/sidebar-header/sidebar-header.component.js +1 -2
  378. package/lib/components/sidebar/__internal__/sidebar-header/sidebar-header.style.js +3 -4
  379. package/lib/components/sidebar/index.js +2 -2
  380. package/lib/components/sidebar/sidebar.component.js +5 -8
  381. package/lib/components/sidebar/sidebar.config.js +7 -14
  382. package/lib/components/sidebar/sidebar.style.js +3 -4
  383. package/lib/components/simple-color-picker/simple-color/simple-color.component.js +4 -6
  384. package/lib/components/simple-color-picker/simple-color/simple-color.style.js +7 -11
  385. package/lib/components/simple-color-picker/simple-color-picker.component.js +4 -6
  386. package/lib/components/simple-color-picker/simple-color-picker.style.js +5 -7
  387. package/lib/components/split-button/__internal__/split-button.context.js +2 -3
  388. package/lib/components/split-button/split-button-children.style.js +4 -6
  389. package/lib/components/split-button/split-button-toggle.style.js +3 -4
  390. package/lib/components/split-button/split-button.component.js +3 -4
  391. package/lib/components/split-button/split-button.config.js +4 -8
  392. package/lib/components/split-button/split-button.style.js +3 -4
  393. package/lib/components/step-sequence/step-sequence-item/step-sequence-item.component.js +3 -4
  394. package/lib/components/step-sequence/step-sequence-item/step-sequence-item.style.js +7 -11
  395. package/lib/components/step-sequence/step-sequence.component.js +2 -4
  396. package/lib/components/step-sequence/step-sequence.config.js +2 -4
  397. package/lib/components/step-sequence/step-sequence.style.js +3 -4
  398. package/lib/components/switch/__internal__/switch-slider-panel.style.js +3 -4
  399. package/lib/components/switch/__internal__/switch-slider.component.js +1 -2
  400. package/lib/components/switch/__internal__/switch-slider.style.js +3 -4
  401. package/lib/components/switch/switch.component.js +4 -7
  402. package/lib/components/switch/switch.style.js +5 -8
  403. package/lib/components/tabs/__internal__/tab-title/index.js +2 -2
  404. package/lib/components/tabs/__internal__/tab-title/tab-title.component.js +4 -6
  405. package/lib/components/tabs/__internal__/tab-title/tab-title.style.js +8 -13
  406. package/lib/components/tabs/__internal__/tabs-header/tabs-header.component.js +3 -4
  407. package/lib/components/tabs/__internal__/tabs-header/tabs-header.style.js +9 -15
  408. package/lib/components/tabs/tab/index.js +2 -2
  409. package/lib/components/tabs/tab/tab.component.js +4 -6
  410. package/lib/components/tabs/tab/tab.style.js +3 -4
  411. package/lib/components/tabs/tabs.component.js +2 -2
  412. package/lib/components/tabs/tabs.style.js +3 -4
  413. package/lib/components/text-editor/__internal__/decorators/index.js +1 -2
  414. package/lib/components/text-editor/__internal__/decorators/link-decorator.js +2 -3
  415. package/lib/components/text-editor/__internal__/editor-link/editor-link.component.js +3 -4
  416. package/lib/components/text-editor/__internal__/editor-link/editor-link.style.js +1 -2
  417. package/lib/components/text-editor/__internal__/editor-validation-wrapper/editor-validation-wrapper.component.js +1 -2
  418. package/lib/components/text-editor/__internal__/editor-validation-wrapper/editor-validation-wrapper.style.js +1 -2
  419. package/lib/components/text-editor/__internal__/label-wrapper/label-wrapper.component.js +1 -2
  420. package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.component.js +2 -4
  421. package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.style.js +3 -4
  422. package/lib/components/text-editor/__internal__/toolbar/toolbar.component.js +3 -4
  423. package/lib/components/text-editor/__internal__/toolbar/toolbar.style.js +4 -7
  424. package/lib/components/text-editor/index.js +2 -2
  425. package/lib/components/text-editor/text-editor.component.js +7 -12
  426. package/lib/components/text-editor/text-editor.style.js +6 -9
  427. package/lib/components/text-editor/types.js +4 -8
  428. package/lib/components/textarea/textarea.component.js +4 -7
  429. package/lib/components/textarea/textarea.style.js +4 -6
  430. package/lib/components/textbox/__internal__/prefix.style.js +1 -2
  431. package/lib/components/textbox/textbox.component.js +8 -11
  432. package/lib/components/textbox/textbox.style.js +5 -7
  433. package/lib/components/tile/__internal__/tile-context.js +2 -3
  434. package/lib/components/tile/tile-content/tile-content.component.js +3 -4
  435. package/lib/components/tile/tile-content/tile-content.style.js +3 -4
  436. package/lib/components/tile/tile-footer/tile-footer.component.js +1 -2
  437. package/lib/components/tile/tile-footer/tile-footer.style.js +3 -4
  438. package/lib/components/tile/tile.component.js +1 -2
  439. package/lib/components/tile/tile.config.js +2 -4
  440. package/lib/components/tile/tile.style.js +3 -4
  441. package/lib/components/tile-select/__internal__/accordion/accordion.component.js +3 -4
  442. package/lib/components/tile-select/__internal__/accordion/accordion.style.js +3 -5
  443. package/lib/components/tile-select/tile-select-group.component.js +1 -2
  444. package/lib/components/tile-select/tile-select.component.js +3 -4
  445. package/lib/components/tile-select/tile-select.style.js +16 -30
  446. package/lib/components/toast/toast.component.js +7 -9
  447. package/lib/components/toast/toast.config.js +1 -2
  448. package/lib/components/toast/toast.style.d.ts +14 -13
  449. package/lib/components/toast/toast.style.js +47 -23
  450. package/lib/components/tooltip/tooltip-pointer.style.js +3 -4
  451. package/lib/components/tooltip/tooltip.component.js +4 -6
  452. package/lib/components/tooltip/tooltip.config.js +1 -2
  453. package/lib/components/tooltip/tooltip.style.js +3 -4
  454. package/lib/components/typography/typography.component.js +1 -2
  455. package/lib/components/typography/typography.style.js +3 -4
  456. package/lib/components/vertical-divider/vertical-divider.component.js +3 -4
  457. package/lib/components/vertical-divider/vertical-divider.style.js +4 -6
  458. package/lib/components/vertical-menu/vertical-menu-full-screen.component.js +3 -4
  459. package/lib/components/vertical-menu/vertical-menu-full-screen.context.js +1 -2
  460. package/lib/components/vertical-menu/vertical-menu-item.component.js +3 -4
  461. package/lib/components/vertical-menu/vertical-menu-trigger.component.js +1 -2
  462. package/lib/components/vertical-menu/vertical-menu.component.js +1 -2
  463. package/lib/components/vertical-menu/vertical-menu.style.js +11 -19
  464. package/lib/hooks/__internal__/useCharacterCount/useCharacterCount.js +3 -4
  465. package/lib/hooks/__internal__/useChildButtons/useChildButtons.js +1 -2
  466. package/lib/hooks/__internal__/useDebounce/useDebounce.js +1 -2
  467. package/lib/hooks/__internal__/useFloating/useFloating.js +1 -2
  468. package/lib/hooks/__internal__/useIsStickyFooterForm/useIsStickyFooterForm.js +2 -2
  469. package/lib/hooks/__internal__/useModalManager/useModalManager.js +1 -2
  470. package/lib/hooks/__internal__/useScrollBlock/scroll-block-manager.js +1 -2
  471. package/lib/hooks/__internal__/useScrollBlock/useScrollBlock.js +1 -2
  472. package/lib/hooks/__internal__/useStableCallback/useStableCallback.js +1 -2
  473. package/lib/hooks/__internal__/useThrottle/useThrottle.js +1 -2
  474. package/lib/locales/en-gb.js +1 -2
  475. package/lib/locales/pl-pl.js +1 -2
  476. package/lib/style/color-config/index.js +1 -2
  477. package/lib/style/design-tokens/carbon-scoped-tokens-provider/carbon-scoped-tokens-provider.component.js +1 -2
  478. package/lib/style/design-tokens/debug-theme.util.js +2 -3
  479. package/lib/style/global-style.js +1 -2
  480. package/lib/style/palette/index.js +1 -2
  481. package/lib/style/themes/aegean/index.js +1 -2
  482. package/lib/style/themes/base/base-theme.config.js +1 -2
  483. package/lib/style/themes/base/index.js +1 -2
  484. package/lib/style/themes/index.js +1 -2
  485. package/lib/style/themes/medium/index.js +2 -3
  486. package/lib/style/themes/mint/index.js +1 -2
  487. package/lib/style/themes/none/index.js +1 -2
  488. package/lib/style/themes/sage/index.js +2 -3
  489. package/lib/style/themes/small/index.js +2 -3
  490. package/lib/style/utils/filter-out-position-props.js +1 -2
  491. package/lib/style/utils/filter-out-styled-system-spacing-props.js +1 -2
  492. package/lib/style/utils/filter-styled-system-flexbox-props.js +1 -2
  493. package/lib/style/utils/filter-styled-system-grid-props.js +1 -2
  494. package/lib/style/utils/filter-styled-system-layout-props.js +1 -2
  495. package/lib/style/utils/filter-styled-system-margin-props.js +1 -2
  496. package/lib/style/utils/filter-styled-system-padding-props.js +8 -16
  497. package/lib/style/utils/get-rgb-values.js +1 -2
  498. package/lib/style/utils/visually-hidden.js +2 -3
  499. package/package.json +53 -49
@@ -8,9 +8,9 @@ var _styledComponents = _interopRequireWildcard(require("styled-components"));
8
8
  var _box = _interopRequireDefault(require("../box"));
9
9
  var _icon = _interopRequireDefault(require("../icon/icon.style"));
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
12
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
13
- const StyledDismissibleBox = (0, _styledComponents.default)(_box.default)`
11
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
12
+ 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 && Object.prototype.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; }
13
+ const StyledDismissibleBox = exports.StyledDismissibleBox = (0, _styledComponents.default)(_box.default)`
14
14
  ${({
15
15
  hasBorderLeftHighlight = true,
16
16
  variant = "light"
@@ -31,5 +31,4 @@ const StyledDismissibleBox = (0, _styledComponents.default)(_box.default)`
31
31
  color: var(--colorsActionMinor600);
32
32
  }
33
33
  `}
34
- `;
35
- exports.StyledDismissibleBox = StyledDismissibleBox;
34
+ `;
@@ -13,8 +13,8 @@ var _utils = require("../../style/utils");
13
13
  var _draggableItem = _interopRequireDefault(require("./draggable-item.component"));
14
14
  var _dropTarget = _interopRequireDefault(require("./internal/drop-target.component"));
15
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
16
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
17
+ 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 && Object.prototype.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; }
18
18
  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); }
19
19
  const DraggableContainer = ({
20
20
  children,
@@ -233,5 +233,4 @@ DraggableContainer.propTypes = {
233
233
  }), _propTypes.default.string])
234
234
  };
235
235
  DraggableContainer.displayName = "DraggableContainer";
236
- var _default = DraggableContainer;
237
- exports.default = _default;
236
+ var _default = exports.default = DraggableContainer;
@@ -232,5 +232,4 @@ DraggableItem.propTypes = {
232
232
  }), _propTypes.default.string])
233
233
  };
234
234
  DraggableItem.displayName = "DraggableItem";
235
- var _default = DraggableItem;
236
- exports.default = _default;
235
+ var _default = exports.default = DraggableItem;
@@ -9,11 +9,10 @@ var _styledSystem = require("styled-system");
9
9
  var _themes = require("../../style/themes");
10
10
  var _icon = _interopRequireDefault(require("../icon"));
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
- const StyledDraggableContainer = _styledComponents.default.div`
12
+ const StyledDraggableContainer = exports.StyledDraggableContainer = _styledComponents.default.div`
13
13
  ${_styledSystem.margin}
14
14
  `;
15
- exports.StyledDraggableContainer = StyledDraggableContainer;
16
- const StyledDraggableItem = _styledComponents.default.div`
15
+ const StyledDraggableItem = exports.StyledDraggableItem = _styledComponents.default.div`
17
16
  display: flex;
18
17
  align-items: center;
19
18
  border-bottom: 1px solid var(--colorsUtilityMajor050);
@@ -24,11 +23,9 @@ const StyledDraggableItem = _styledComponents.default.div`
24
23
  isDragging
25
24
  }) => isDragging ? "0" : "1"};
26
25
  `;
27
- exports.StyledDraggableItem = StyledDraggableItem;
28
- const StyledIcon = (0, _styledComponents.default)(_icon.default)`
26
+ const StyledIcon = exports.StyledIcon = (0, _styledComponents.default)(_icon.default)`
29
27
  margin-left: auto;
30
28
  `;
31
- exports.StyledIcon = StyledIcon;
32
29
  StyledDraggableContainer.defaultProps = {
33
30
  theme: _themes.baseTheme
34
31
  };
@@ -28,5 +28,4 @@ const DropTarget = ({
28
28
  ref: drop
29
29
  }, rest), children);
30
30
  };
31
- var _default = DropTarget;
32
- exports.default = _default;
31
+ var _default = exports.default = DropTarget;
@@ -13,11 +13,10 @@ var _icon = _interopRequireDefault(require("../icon"));
13
13
  var _drawer = require("./drawer.style");
14
14
  var _stickyFooter = _interopRequireDefault(require("../../__internal__/sticky-footer"));
15
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
16
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
17
+ 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 && Object.prototype.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; }
18
18
  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); }
19
- const DrawerSidebarContext = /*#__PURE__*/_react.default.createContext({});
20
- exports.DrawerSidebarContext = DrawerSidebarContext;
19
+ const DrawerSidebarContext = exports.DrawerSidebarContext = /*#__PURE__*/_react.default.createContext({});
21
20
  const Drawer = ({
22
21
  defaultExpanded = true,
23
22
  expanded,
@@ -154,5 +153,4 @@ const Drawer = ({
154
153
  }, footer))), /*#__PURE__*/_react.default.createElement(_drawer.StyledDrawerChildren, null, children));
155
154
  };
156
155
  exports.Drawer = Drawer;
157
- var _default = Drawer;
158
- exports.default = _default;
156
+ var _default = exports.default = Drawer;
@@ -11,10 +11,10 @@ var _stickyFooter = _interopRequireDefault(require("../../__internal__/sticky-fo
11
11
  var _addFocusStyling = _interopRequireDefault(require("../../style/utils/add-focus-styling"));
12
12
  var _base = _interopRequireDefault(require("../../style/themes/base"));
13
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
15
+ 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 && Object.prototype.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; }
16
16
  const defaultExpandedWidth = "var(--sizing500)";
17
- const StyledSidebarHeader = _styledComponents.default.div`
17
+ const StyledSidebarHeader = exports.StyledSidebarHeader = _styledComponents.default.div`
18
18
  ${({
19
19
  isExpanded
20
20
  }) => (0, _styledComponents.css)`
@@ -26,19 +26,16 @@ const StyledSidebarHeader = _styledComponents.default.div`
26
26
  `}
27
27
  `}
28
28
  `;
29
- exports.StyledSidebarHeader = StyledSidebarHeader;
30
- const StyledSidebarTitle = _styledComponents.default.div`
29
+ const StyledSidebarTitle = exports.StyledSidebarTitle = _styledComponents.default.div`
31
30
  white-space: nowrap;
32
31
  padding: var(--spacing300) var(--spacing500);
33
32
  `;
34
- exports.StyledSidebarTitle = StyledSidebarTitle;
35
- const StyledDrawerChildren = _styledComponents.default.div`
33
+ const StyledDrawerChildren = exports.StyledDrawerChildren = _styledComponents.default.div`
36
34
  flex: 1;
37
35
  margin-left: 1px;
38
36
  overflow: auto;
39
37
  `;
40
- exports.StyledDrawerChildren = StyledDrawerChildren;
41
- const StyledDrawerSidebar = (0, _styledComponents.default)(_box.default)`
38
+ const StyledDrawerSidebar = exports.StyledDrawerSidebar = (0, _styledComponents.default)(_box.default)`
42
39
  ${({
43
40
  hasControls,
44
41
  isExpanded
@@ -68,7 +65,6 @@ const StyledDrawerSidebar = (0, _styledComponents.default)(_box.default)`
68
65
  width: 12px;
69
66
  }
70
67
  `;
71
- exports.StyledDrawerSidebar = StyledDrawerSidebar;
72
68
  const sidebarVisible = () => (0, _styledComponents.keyframes)`
73
69
  0% {opacity: 0;}
74
70
  50% {opacity: 0;}
@@ -102,7 +98,7 @@ const buttonClose = () => (0, _styledComponents.keyframes)`
102
98
  80% {float: right;}
103
99
  100% {float: left;}
104
100
  `;
105
- const StyledDrawerContent = _styledComponents.default.div`
101
+ const StyledDrawerContent = exports.StyledDrawerContent = _styledComponents.default.div`
106
102
  display: flex;
107
103
  flex-direction: column;
108
104
  min-width: ${defaultExpandedWidth};
@@ -173,11 +169,10 @@ const StyledDrawerContent = _styledComponents.default.div`
173
169
  }
174
170
  }
175
171
  `;
176
- exports.StyledDrawerContent = StyledDrawerContent;
177
172
  const oldFocusStyling = `
178
173
  outline: solid 3px var(--colorsSemanticFocus500);
179
174
  `;
180
- const StyledSidebarToggleButton = _styledComponents.default.button.attrs({
175
+ const StyledSidebarToggleButton = exports.StyledSidebarToggleButton = _styledComponents.default.button.attrs({
181
176
  type: "button"
182
177
  })`
183
178
  ${({
@@ -218,14 +213,12 @@ const StyledSidebarToggleButton = _styledComponents.default.button.attrs({
218
213
  `}
219
214
  `}
220
215
  `;
221
- exports.StyledSidebarToggleButton = StyledSidebarToggleButton;
222
216
  StyledSidebarToggleButton.defaultProps = {
223
217
  theme: _base.default
224
218
  };
225
- const StyledDrawerWrapper = _styledComponents.default.div`
219
+ const StyledDrawerWrapper = exports.StyledDrawerWrapper = _styledComponents.default.div`
226
220
  display: flex;
227
221
  height: ${({
228
222
  height
229
223
  }) => height};
230
- `;
231
- exports.StyledDrawerWrapper = StyledDrawerWrapper;
224
+ `;
@@ -16,5 +16,5 @@ Object.defineProperty(exports, "default", {
16
16
  }
17
17
  });
18
18
  var _drawer = _interopRequireWildcard(require("./drawer.component"));
19
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
20
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
20
+ 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 && Object.prototype.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; }
@@ -11,8 +11,8 @@ var _duellingPicklist = require("./duelling-picklist.style");
11
11
  var _picklist = require("./picklist/picklist.component");
12
12
  var _duellingPicklist2 = _interopRequireDefault(require("./duelling-picklist.context"));
13
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
15
+ 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 && Object.prototype.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; }
16
16
  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); }
17
17
  const DuellingPicklist = ({
18
18
  children,
@@ -66,5 +66,4 @@ const DuellingPicklist = ({
66
66
  }, /*#__PURE__*/_react.default.createElement(_duellingPicklist.StyledDuellingPicklist, null, clonedChildren)));
67
67
  };
68
68
  exports.DuellingPicklist = DuellingPicklist;
69
- var _default = DuellingPicklist;
70
- exports.default = _default;
69
+ var _default = exports.default = DuellingPicklist;
@@ -10,5 +10,4 @@ const FocusContext = /*#__PURE__*/_react.default.createContext({
10
10
  setElementToFocus: /* istanbul ignore next */() => {},
11
11
  elementToFocus: {}
12
12
  });
13
- var _default = FocusContext;
14
- exports.default = _default;
13
+ var _default = exports.default = FocusContext;
@@ -7,9 +7,9 @@ exports.StyledPicklistPlaceholder = exports.StyledLabelContainer = exports.Style
7
7
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
8
8
  var _styledSystem = require("styled-system");
9
9
  var _themes = require("../../style/themes");
10
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
11
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
- const StyledDuellingPicklistOverlay = _styledComponents.default.div`
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
11
+ 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 && Object.prototype.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; }
12
+ const StyledDuellingPicklistOverlay = exports.StyledDuellingPicklistOverlay = _styledComponents.default.div`
13
13
  ${_styledSystem.margin}
14
14
 
15
15
  transition: opacity 0.3s;
@@ -22,35 +22,30 @@ const StyledDuellingPicklistOverlay = _styledComponents.default.div`
22
22
  user-select: none;
23
23
  `}
24
24
  `;
25
- exports.StyledDuellingPicklistOverlay = StyledDuellingPicklistOverlay;
26
- const StyledDuellingPicklist = _styledComponents.default.div`
25
+ const StyledDuellingPicklist = exports.StyledDuellingPicklist = _styledComponents.default.div`
27
26
  display: flex;
28
27
  justify-content: space-between;
29
28
  align-items: stretch;
30
29
  position: relative;
31
30
  `;
32
- exports.StyledDuellingPicklist = StyledDuellingPicklist;
33
- const StyledLabelContainer = _styledComponents.default.div`
31
+ const StyledLabelContainer = exports.StyledLabelContainer = _styledComponents.default.div`
34
32
  display: flex;
35
33
  justify-content: space-around;
36
34
  margin-top: 40px;
37
35
  margin-bottom: 16px;
38
36
  `;
39
- exports.StyledLabelContainer = StyledLabelContainer;
40
- const StyledLabel = _styledComponents.default.p`
37
+ const StyledLabel = exports.StyledLabel = _styledComponents.default.p`
41
38
  font-weight: bold;
42
39
  font-size: 12px;
43
40
  letter-spacing: 1;
44
41
  margin: 0;
45
42
  `;
46
- exports.StyledLabel = StyledLabel;
47
- const StyledControlsContainer = _styledComponents.default.div`
43
+ const StyledControlsContainer = exports.StyledControlsContainer = _styledComponents.default.div`
48
44
  display: flex;
49
45
  justify-content: space-around;
50
46
  margin-bottom: 16px;
51
47
  `;
52
- exports.StyledControlsContainer = StyledControlsContainer;
53
- const StyledControl = _styledComponents.default.div`
48
+ const StyledControl = exports.StyledControl = _styledComponents.default.div`
54
49
  width: 50%;
55
50
  padding-right: 40px;
56
51
 
@@ -59,14 +54,12 @@ const StyledControl = _styledComponents.default.div`
59
54
  padding-left: 40px;
60
55
  }
61
56
  `;
62
- exports.StyledControl = StyledControl;
63
- const StyledPicklistPlaceholder = _styledComponents.default.div`
57
+ const StyledPicklistPlaceholder = exports.StyledPicklistPlaceholder = _styledComponents.default.div`
64
58
  height: 100%;
65
59
  display: flex;
66
60
  justify-content: center;
67
61
  align-items: center;
68
62
  `;
69
- exports.StyledPicklistPlaceholder = StyledPicklistPlaceholder;
70
63
  StyledDuellingPicklistOverlay.defaultProps = {
71
64
  theme: _themes.baseTheme
72
65
  };
@@ -12,8 +12,8 @@ var _duellingPicklist = _interopRequireDefault(require("../duelling-picklist.con
12
12
  var _events = _interopRequireDefault(require("../../../__internal__/utils/helpers/events"));
13
13
  var _picklistGroup = _interopRequireDefault(require("../picklist-group/picklist-group.component"));
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
16
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
16
+ 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 && Object.prototype.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; }
17
17
  const Picklist = ({
18
18
  disabled,
19
19
  children,
@@ -74,5 +74,4 @@ const Picklist = ({
74
74
  };
75
75
  exports.Picklist = Picklist;
76
76
  Picklist.displayName = "Picklist";
77
- var _default = Picklist;
78
- exports.default = _default;
77
+ var _default = exports.default = Picklist;
@@ -8,7 +8,7 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
  var _box = _interopRequireDefault(require("../../box/box.style"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
10
  // TODO: remove polymorphism when we revisit as part of ticket FE-6177
11
- const StyledPicklist = (0, _styledComponents.default)(_box.default).attrs({
11
+ const StyledPicklist = exports.StyledPicklist = (0, _styledComponents.default)(_box.default).attrs({
12
12
  as: "ul"
13
13
  })`
14
14
  position: relative;
@@ -48,13 +48,11 @@ const StyledPicklist = (0, _styledComponents.default)(_box.default).attrs({
48
48
  transition: all 300ms ease-in;
49
49
  }
50
50
  `;
51
- exports.StyledPicklist = StyledPicklist;
52
- const StyledEmptyContainer = _styledComponents.default.li`
51
+ const StyledEmptyContainer = exports.StyledEmptyContainer = _styledComponents.default.li`
53
52
  position: absolute;
54
53
  top: 0;
55
54
  bottom: 0;
56
55
  left: 0;
57
56
  right: 0;
58
57
  height: 100%;
59
- `;
60
- exports.StyledEmptyContainer = StyledEmptyContainer;
58
+ `;
@@ -12,5 +12,4 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
12
12
  const PicklistDivider = props => /*#__PURE__*/_react.default.createElement(_picklistDivider.default, _extends({}, props, {
13
13
  "data-element": "picklist-divider"
14
14
  }));
15
- var _default = PicklistDivider;
16
- exports.default = _default;
15
+ var _default = exports.default = PicklistDivider;
@@ -16,5 +16,4 @@ const StyledPicklistDivider = _styledComponents.default.div`
16
16
  margin-left: 16px;
17
17
  margin-right: 16px;
18
18
  `;
19
- var _default = StyledPicklistDivider;
20
- exports.default = _default;
19
+ var _default = exports.default = StyledPicklistDivider;
@@ -11,10 +11,10 @@ var _picklistGroup = require("./picklist-group.style");
11
11
  var _duellingPicklist = _interopRequireDefault(require("../duelling-picklist.context"));
12
12
  var _events = _interopRequireDefault(require("../../../__internal__/utils/helpers/events"));
13
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
15
+ 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 && Object.prototype.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; }
16
16
  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); }
17
- const PicklistGroup = /*#__PURE__*/_react.default.forwardRef(({
17
+ const PicklistGroup = exports.PicklistGroup = /*#__PURE__*/_react.default.forwardRef(({
18
18
  title,
19
19
  children,
20
20
  type,
@@ -93,7 +93,6 @@ const PicklistGroup = /*#__PURE__*/_react.default.forwardRef(({
93
93
  component: null
94
94
  }, content))));
95
95
  });
96
- exports.PicklistGroup = PicklistGroup;
97
96
  PicklistGroup.propTypes = {
98
97
  "children": _propTypes.default.node,
99
98
  "index": _propTypes.default.number,
@@ -104,5 +103,4 @@ PicklistGroup.propTypes = {
104
103
  "type": _propTypes.default.oneOf(["add", "remove"]).isRequired
105
104
  };
106
105
  PicklistGroup.displayName = "PicklistGroup";
107
- var _default = PicklistGroup;
108
- exports.default = _default;
106
+ var _default = exports.default = PicklistGroup;
@@ -8,9 +8,9 @@ var _styledComponents = _interopRequireWildcard(require("styled-components"));
8
8
  var _button = _interopRequireDefault(require("../../button"));
9
9
  var _picklistItem = require("../picklist-item/picklist-item.style");
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
12
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
13
- const StyledGroupWrapper = _styledComponents.default.li`
11
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
12
+ 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 && Object.prototype.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; }
13
+ const StyledGroupWrapper = exports.StyledGroupWrapper = _styledComponents.default.li`
14
14
  ${({
15
15
  highlighted,
16
16
  type
@@ -25,19 +25,16 @@ const StyledGroupWrapper = _styledComponents.default.li`
25
25
  `}
26
26
  `}
27
27
  `;
28
- exports.StyledGroupWrapper = StyledGroupWrapper;
29
- const StyledPicklistGroupUl = _styledComponents.default.ul`
28
+ const StyledPicklistGroupUl = exports.StyledPicklistGroupUl = _styledComponents.default.ul`
30
29
  padding: 0;
31
30
  `;
32
- exports.StyledPicklistGroupUl = StyledPicklistGroupUl;
33
- const StyledPicklistGroup = _styledComponents.default.li`
31
+ const StyledPicklistGroup = exports.StyledPicklistGroup = _styledComponents.default.li`
34
32
  display: flex;
35
33
  align-items: center;
36
34
  width: 100%;
37
35
  margin-bottom: 4px;
38
36
  `;
39
- exports.StyledPicklistGroup = StyledPicklistGroup;
40
- const StyledGroupButton = (0, _styledComponents.default)(_button.default)`
37
+ const StyledGroupButton = exports.StyledGroupButton = (0, _styledComponents.default)(_button.default)`
41
38
  ${({
42
39
  iconType
43
40
  }) => (0, _styledComponents.css)`
@@ -54,5 +51,4 @@ const StyledGroupButton = (0, _styledComponents.default)(_button.default)`
54
51
  }
55
52
  background: ${iconType === "add" ? "var(--colorsActionMajor600)" : "var(--colorsSemanticNegative600)"}
56
53
  `}
57
- `;
58
- exports.StyledGroupButton = StyledGroupButton;
54
+ `;
@@ -11,10 +11,10 @@ var _picklistItem = require("./picklist-item.style");
11
11
  var _duellingPicklist = _interopRequireDefault(require("../duelling-picklist.context"));
12
12
  var _events = _interopRequireDefault(require("../../../__internal__/utils/helpers/events"));
13
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
15
+ 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 && Object.prototype.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; }
16
16
  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); }
17
- const PicklistItem = /*#__PURE__*/_react.default.forwardRef(({
17
+ const PicklistItem = exports.PicklistItem = /*#__PURE__*/_react.default.forwardRef(({
18
18
  children,
19
19
  type,
20
20
  onChange,
@@ -94,7 +94,6 @@ const PicklistItem = /*#__PURE__*/_react.default.forwardRef(({
94
94
  tooltipMessage: tooltipMessage
95
95
  })));
96
96
  });
97
- exports.PicklistItem = PicklistItem;
98
97
  PicklistItem.propTypes = {
99
98
  "children": _propTypes.default.node,
100
99
  "groupIndex": _propTypes.default.number,
@@ -109,5 +108,4 @@ PicklistItem.propTypes = {
109
108
  "type": _propTypes.default.oneOf(["add", "remove"]).isRequired
110
109
  };
111
110
  PicklistItem.displayName = "PicklistItem";
112
- var _default = PicklistItem;
113
- exports.default = _default;
111
+ var _default = exports.default = PicklistItem;
@@ -9,9 +9,9 @@ var _button = _interopRequireDefault(require("../../button"));
9
9
  var _icon = _interopRequireDefault(require("../../icon"));
10
10
  var _icon2 = _interopRequireDefault(require("../../icon/icon.style"));
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
- const StyledPicklistItem = _styledComponents.default.li`
12
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (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 && Object.prototype.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
+ const StyledPicklistItem = exports.StyledPicklistItem = _styledComponents.default.li`
15
15
  border-radius: var(--borderRadius100);
16
16
  ${({
17
17
  locked
@@ -40,8 +40,7 @@ const StyledPicklistItem = _styledComponents.default.li`
40
40
  }
41
41
  `}
42
42
  `;
43
- exports.StyledPicklistItem = StyledPicklistItem;
44
- const StyledButton = (0, _styledComponents.default)(_button.default)`
43
+ const StyledButton = exports.StyledButton = (0, _styledComponents.default)(_button.default)`
45
44
  border-bottom-right-radius: var(--borderRadius100);
46
45
  border-top-right-radius: var(--borderRadius100);
47
46
  border-bottom-left-radius: var(--borderRadius000);
@@ -74,8 +73,7 @@ const StyledButton = (0, _styledComponents.default)(_button.default)`
74
73
  background: ${iconType === "add" ? "var(--colorsActionMajor600)" : "var(--colorsSemanticNegative600)"};
75
74
  `}
76
75
  `;
77
- exports.StyledButton = StyledButton;
78
- const StyledLockIcon = (0, _styledComponents.default)(_icon.default)`
76
+ const StyledLockIcon = exports.StyledLockIcon = (0, _styledComponents.default)(_icon.default)`
79
77
  margin-right: 0;
80
78
  height: 40px;
81
79
  min-width: 40px;
@@ -86,5 +84,4 @@ const StyledLockIcon = (0, _styledComponents.default)(_icon.default)`
86
84
  border-bottom-left-radius: var(--borderRadius000);
87
85
  border-top-left-radius: var(--borderRadius000);
88
86
  }
89
- `;
90
- exports.StyledLockIcon = StyledLockIcon;
87
+ `;
@@ -14,5 +14,4 @@ const PicklistPlaceholder = ({
14
14
  "data-element": "picklist-placeholder"
15
15
  }, text);
16
16
  exports.PicklistPlaceholder = PicklistPlaceholder;
17
- var _default = PicklistPlaceholder;
18
- exports.default = _default;
17
+ var _default = exports.default = PicklistPlaceholder;
@@ -42,5 +42,4 @@ const Fieldset = ({
42
42
  };
43
43
  exports.Fieldset = Fieldset;
44
44
  Fieldset.displayName = "Fieldset";
45
- var _default = Fieldset;
46
- exports.default = _default;
45
+ var _default = exports.default = Fieldset;