carbon-react 132.2.0 → 132.2.1

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 (282) hide show
  1. package/esm/__internal__/focus-trap/focus-trap.component.js +1 -1
  2. package/esm/components/menu/__internal__/submenu/submenu.component.js +45 -12
  3. package/esm/components/menu/__internal__/submenu/submenu.style.d.ts +1 -0
  4. package/esm/components/menu/__internal__/submenu/submenu.style.js +31 -1
  5. package/esm/components/modal/__internal__/modal-manager.js +2 -3
  6. package/esm/hooks/__internal__/useScrollBlock/scroll-block-manager.js +2 -3
  7. package/lib/__internal__/character-count/character-count.style.js +1 -1
  8. package/lib/__internal__/checkable-input/checkable-input.component.js +1 -1
  9. package/lib/__internal__/checkable-input/checkable-input.style.js +1 -1
  10. package/lib/__internal__/checkable-input/hidden-checkable-input.component.js +1 -1
  11. package/lib/__internal__/field-help/field-help.style.js +1 -1
  12. package/lib/__internal__/fieldset/fieldset.component.js +1 -1
  13. package/lib/__internal__/fieldset/fieldset.style.js +1 -1
  14. package/lib/__internal__/focus-trap/focus-trap.component.js +2 -2
  15. package/lib/__internal__/form-field/form-field.component.js +1 -1
  16. package/lib/__internal__/form-field/form-field.style.js +1 -1
  17. package/lib/__internal__/full-screen-heading/full-screen-heading.component.js +1 -1
  18. package/lib/__internal__/full-screen-heading/full-screen-heading.style.js +1 -1
  19. package/lib/__internal__/input/input-presentation.component.js +1 -1
  20. package/lib/__internal__/input/input-presentation.style.js +1 -1
  21. package/lib/__internal__/input/input.component.js +1 -1
  22. package/lib/__internal__/input/input.style.js +1 -1
  23. package/lib/__internal__/input-icon-toggle/input-icon-toggle.style.js +1 -1
  24. package/lib/__internal__/label/label.component.js +1 -1
  25. package/lib/__internal__/label/label.style.js +1 -1
  26. package/lib/__internal__/popover/popover.component.js +1 -1
  27. package/lib/__internal__/radio-button-mapper/radio-button-mapper.component.js +1 -1
  28. package/lib/__internal__/sticky-footer/sticky-footer.component.js +1 -1
  29. package/lib/__internal__/sticky-footer/sticky-footer.style.js +1 -1
  30. package/lib/__internal__/tooltip-provider/index.js +1 -1
  31. package/lib/__internal__/validation-message/validation-message.style.js +1 -1
  32. package/lib/__internal__/validations/validation-icon.component.js +1 -1
  33. package/lib/__internal__/validations/validation-icon.style.js +1 -1
  34. package/lib/components/accordion/accordion-group/accordion-group.component.js +1 -1
  35. package/lib/components/accordion/accordion.component.js +1 -1
  36. package/lib/components/accordion/accordion.style.js +1 -1
  37. package/lib/components/action-popover/action-popover-item/action-popover-item.component.js +1 -1
  38. package/lib/components/action-popover/action-popover-menu/action-popover-menu.component.js +1 -1
  39. package/lib/components/action-popover/action-popover.component.js +1 -1
  40. package/lib/components/action-popover/action-popover.style.js +1 -1
  41. package/lib/components/advanced-color-picker/advanced-color-picker-cell.style.js +1 -1
  42. package/lib/components/advanced-color-picker/advanced-color-picker.component.js +1 -1
  43. package/lib/components/advanced-color-picker/advanced-color-picker.style.js +1 -1
  44. package/lib/components/anchor-navigation/anchor-navigation-item/anchor-navigation-item.style.js +1 -1
  45. package/lib/components/anchor-navigation/anchor-navigation.component.js +1 -1
  46. package/lib/components/badge/badge.style.js +1 -1
  47. package/lib/components/batch-selection/batch-selection.style.js +1 -1
  48. package/lib/components/box/box.style.js +1 -1
  49. package/lib/components/breadcrumbs/crumb/crumb.style.js +1 -1
  50. package/lib/components/button/button.component.js +1 -1
  51. package/lib/components/button/button.style.js +1 -1
  52. package/lib/components/button/index.js +1 -1
  53. package/lib/components/button-bar/button-bar.style.js +1 -1
  54. package/lib/components/button-minor/button-minor.component.js +1 -1
  55. package/lib/components/button-minor/button-minor.style.js +1 -1
  56. package/lib/components/button-toggle/button-toggle-group/button-toggle-group.component.js +1 -1
  57. package/lib/components/button-toggle/button-toggle-group/button-toggle-group.style.js +1 -1
  58. package/lib/components/button-toggle/button-toggle.component.js +1 -1
  59. package/lib/components/button-toggle/button-toggle.style.js +1 -1
  60. package/lib/components/carbon-provider/carbon-provider.component.js +1 -1
  61. package/lib/components/carbon-provider/top-modal-context.js +1 -1
  62. package/lib/components/card/card-footer/card-footer.component.js +1 -1
  63. package/lib/components/card/card-footer/card-footer.style.js +1 -1
  64. package/lib/components/card/card-row/card-row.component.js +1 -1
  65. package/lib/components/card/card-row/card-row.style.js +1 -1
  66. package/lib/components/card/card.component.js +1 -1
  67. package/lib/components/card/card.style.js +1 -1
  68. package/lib/components/carousel/carousel.component.js +1 -1
  69. package/lib/components/carousel/carousel.style.js +1 -1
  70. package/lib/components/carousel/slide/slide.style.js +1 -1
  71. package/lib/components/checkbox/checkbox-group/checkbox-group.component.js +1 -1
  72. package/lib/components/checkbox/checkbox-group/checkbox-group.style.js +1 -1
  73. package/lib/components/checkbox/checkbox.component.js +1 -1
  74. package/lib/components/checkbox/checkbox.style.js +1 -1
  75. package/lib/components/confirm/confirm.component.js +1 -1
  76. package/lib/components/confirm/confirm.style.js +1 -1
  77. package/lib/components/content/content.style.js +1 -1
  78. package/lib/components/date/__internal__/date-picker/date-picker.component.js +1 -1
  79. package/lib/components/date/__internal__/date-picker/day-picker.style.js +1 -1
  80. package/lib/components/date/date.component.js +1 -1
  81. package/lib/components/date/date.style.js +1 -1
  82. package/lib/components/date-range/date-range.component.js +1 -1
  83. package/lib/components/decimal/decimal.component.js +1 -1
  84. package/lib/components/definition-list/dd/dd.component.js +1 -1
  85. package/lib/components/definition-list/definition-list.style.js +1 -1
  86. package/lib/components/definition-list/dt/dt.component.js +1 -1
  87. package/lib/components/detail/detail.style.js +1 -1
  88. package/lib/components/dialog/dialog.component.js +1 -1
  89. package/lib/components/dialog/dialog.style.js +1 -1
  90. package/lib/components/dialog-full-screen/content.style.js +1 -1
  91. package/lib/components/dialog-full-screen/dialog-full-screen.component.js +1 -1
  92. package/lib/components/dialog-full-screen/dialog-full-screen.style.js +1 -1
  93. package/lib/components/dismissible-box/dismissible-box.style.js +1 -1
  94. package/lib/components/draggable/draggable-container.component.js +1 -1
  95. package/lib/components/drawer/drawer.component.js +1 -1
  96. package/lib/components/drawer/drawer.style.js +1 -1
  97. package/lib/components/drawer/index.js +1 -1
  98. package/lib/components/duelling-picklist/duelling-picklist.component.js +1 -1
  99. package/lib/components/duelling-picklist/duelling-picklist.style.js +1 -1
  100. package/lib/components/duelling-picklist/picklist/picklist.component.js +1 -1
  101. package/lib/components/duelling-picklist/picklist-group/picklist-group.component.js +1 -1
  102. package/lib/components/duelling-picklist/picklist-group/picklist-group.style.js +1 -1
  103. package/lib/components/duelling-picklist/picklist-item/picklist-item.component.js +1 -1
  104. package/lib/components/duelling-picklist/picklist-item/picklist-item.style.js +1 -1
  105. package/lib/components/fieldset/fieldset.component.js +1 -1
  106. package/lib/components/fieldset/fieldset.style.js +1 -1
  107. package/lib/components/file-input/__internal__/file-upload-status/file-upload-status.style.js +1 -1
  108. package/lib/components/file-input/file-input.component.js +1 -1
  109. package/lib/components/file-input/file-input.style.js +1 -1
  110. package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.component.js +1 -1
  111. package/lib/components/flat-table/flat-table-body-draggable/flat-table-body-draggable.style.js +1 -1
  112. package/lib/components/flat-table/flat-table-cell/flat-table-cell.component.js +1 -1
  113. package/lib/components/flat-table/flat-table-cell/flat-table-cell.style.js +1 -1
  114. package/lib/components/flat-table/flat-table-checkbox/flat-table-checkbox.component.js +1 -1
  115. package/lib/components/flat-table/flat-table-checkbox/flat-table-checkbox.style.js +1 -1
  116. package/lib/components/flat-table/flat-table-head/flat-table-head.component.js +1 -1
  117. package/lib/components/flat-table/flat-table-header/flat-table-header.component.js +1 -1
  118. package/lib/components/flat-table/flat-table-header/flat-table-header.style.js +1 -1
  119. package/lib/components/flat-table/flat-table-row/__internal__/sub-row-provider.js +1 -1
  120. package/lib/components/flat-table/flat-table-row/flat-table-row.component.js +1 -1
  121. package/lib/components/flat-table/flat-table-row/flat-table-row.style.js +1 -1
  122. package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.component.js +1 -1
  123. package/lib/components/flat-table/flat-table-row-header/flat-table-row-header.style.js +1 -1
  124. package/lib/components/flat-table/flat-table.component.js +1 -1
  125. package/lib/components/flat-table/flat-table.style.js +1 -1
  126. package/lib/components/flat-table/sort/sort.component.js +1 -1
  127. package/lib/components/form/__internal__/form-summary.component.js +1 -1
  128. package/lib/components/form/__internal__/form-summary.style.js +1 -1
  129. package/lib/components/form/form.component.js +1 -1
  130. package/lib/components/form/form.style.js +1 -1
  131. package/lib/components/grid/grid-item/grid-item.style.js +1 -1
  132. package/lib/components/grouped-character/grouped-character.component.js +1 -1
  133. package/lib/components/heading/heading.style.js +1 -1
  134. package/lib/components/help/help.component.js +1 -1
  135. package/lib/components/help/help.style.js +1 -1
  136. package/lib/components/icon/icon.component.js +1 -1
  137. package/lib/components/icon/icon.style.js +1 -1
  138. package/lib/components/icon-button/icon-button.component.js +1 -1
  139. package/lib/components/icon-button/icon-button.style.js +1 -1
  140. package/lib/components/image/image.style.js +1 -1
  141. package/lib/components/inline-inputs/inline-inputs.component.js +1 -1
  142. package/lib/components/inline-inputs/inline-inputs.style.js +1 -1
  143. package/lib/components/link/link.component.js +1 -1
  144. package/lib/components/link/link.style.js +1 -1
  145. package/lib/components/link-preview/link-preview.style.js +1 -1
  146. package/lib/components/loader/loader-square.style.js +1 -1
  147. package/lib/components/loader-bar/loader-bar.component.js +1 -1
  148. package/lib/components/loader-bar/loader-bar.style.js +1 -1
  149. package/lib/components/loader-spinner/loader-spinner.style.js +1 -1
  150. package/lib/components/menu/__internal__/submenu/submenu.component.js +46 -13
  151. package/lib/components/menu/__internal__/submenu/submenu.style.d.ts +1 -0
  152. package/lib/components/menu/__internal__/submenu/submenu.style.js +32 -2
  153. package/lib/components/menu/menu-divider/menu-divider.component.js +1 -1
  154. package/lib/components/menu/menu-divider/menu-divider.style.js +1 -1
  155. package/lib/components/menu/menu-full-screen/menu-full-screen.component.js +1 -1
  156. package/lib/components/menu/menu-full-screen/menu-full-screen.style.js +1 -1
  157. package/lib/components/menu/menu-item/menu-item.component.js +1 -1
  158. package/lib/components/menu/menu-item/menu-item.style.js +1 -1
  159. package/lib/components/menu/menu-segment-title/menu-segment-title.component.js +1 -1
  160. package/lib/components/menu/menu-segment-title/menu-segment-title.style.js +1 -1
  161. package/lib/components/menu/menu.component.js +1 -1
  162. package/lib/components/menu/menu.style.js +1 -1
  163. package/lib/components/menu/scrollable-block/scrollable-block.component.js +1 -1
  164. package/lib/components/menu/scrollable-block/scrollable-block.style.js +1 -1
  165. package/lib/components/message/message.component.js +1 -1
  166. package/lib/components/message/message.style.js +1 -1
  167. package/lib/components/message/type-icon/type-icon.style.js +1 -1
  168. package/lib/components/modal/__internal__/modal-manager.js +2 -3
  169. package/lib/components/modal/index.js +1 -1
  170. package/lib/components/modal/modal.component.js +1 -1
  171. package/lib/components/modal/modal.style.js +1 -1
  172. package/lib/components/multi-action-button/multi-action-button.component.js +1 -1
  173. package/lib/components/multi-action-button/multi-action-button.style.js +1 -1
  174. package/lib/components/navigation-bar/fixed-navigation-bar.context.js +1 -1
  175. package/lib/components/navigation-bar/navigation-bar.component.js +1 -1
  176. package/lib/components/navigation-bar/navigation-bar.style.js +1 -1
  177. package/lib/components/note/note.style.js +1 -1
  178. package/lib/components/number/number.component.js +1 -1
  179. package/lib/components/numeral-date/numeral-date.component.js +1 -1
  180. package/lib/components/numeral-date/numeral-date.style.js +1 -1
  181. package/lib/components/pager/__internal__/pager-navigation-link.component.js +1 -1
  182. package/lib/components/pager/__internal__/pager-navigation.component.js +1 -1
  183. package/lib/components/pager/pager.component.js +1 -1
  184. package/lib/components/pager/pager.style.js +1 -1
  185. package/lib/components/pages/page/page.component.js +1 -1
  186. package/lib/components/pages/pages.component.js +1 -1
  187. package/lib/components/password/password.component.js +1 -1
  188. package/lib/components/pill/pill.style.js +1 -1
  189. package/lib/components/pod/pod.component.js +1 -1
  190. package/lib/components/pod/pod.style.js +1 -1
  191. package/lib/components/popover-container/popover-container.component.js +1 -1
  192. package/lib/components/portal/portal.js +1 -1
  193. package/lib/components/portrait/portrait.component.js +1 -1
  194. package/lib/components/preview/__internal__/preview-placeholder.style.js +1 -1
  195. package/lib/components/progress-tracker/progress-tracker.component.js +1 -1
  196. package/lib/components/progress-tracker/progress-tracker.style.js +1 -1
  197. package/lib/components/radio-button/radio-button-group/radio-button-group.component.js +1 -1
  198. package/lib/components/radio-button/radio-button-group/radio-button-group.style.js +1 -1
  199. package/lib/components/radio-button/radio-button.component.js +1 -1
  200. package/lib/components/radio-button/radio-button.style.js +1 -1
  201. package/lib/components/search/search.component.js +1 -1
  202. package/lib/components/search/search.style.js +1 -1
  203. package/lib/components/select/__internal__/select-text/select-text.style.js +1 -1
  204. package/lib/components/select/filterable-select/filterable-select.component.js +1 -1
  205. package/lib/components/select/multi-select/multi-select.component.js +1 -1
  206. package/lib/components/select/option/option.component.js +1 -1
  207. package/lib/components/select/option/option.style.js +1 -1
  208. package/lib/components/select/option-group-header/option-group-header.component.js +1 -1
  209. package/lib/components/select/option-row/option-row.component.js +1 -1
  210. package/lib/components/select/option-row/option-row.style.js +1 -1
  211. package/lib/components/select/select-list/select-list.component.js +1 -1
  212. package/lib/components/select/select-list/select-list.style.js +1 -1
  213. package/lib/components/select/select-textbox/select-textbox.component.js +1 -1
  214. package/lib/components/select/select.style.js +1 -1
  215. package/lib/components/select/simple-select/simple-select.component.js +1 -1
  216. package/lib/components/select/utils/with-filter.hoc.js +1 -1
  217. package/lib/components/settings-row/settings-row.style.js +1 -1
  218. package/lib/components/sidebar/__internal__/sidebar-header/sidebar-header.style.js +1 -1
  219. package/lib/components/sidebar/index.js +1 -1
  220. package/lib/components/sidebar/sidebar.component.js +1 -1
  221. package/lib/components/sidebar/sidebar.style.js +1 -1
  222. package/lib/components/simple-color-picker/simple-color/simple-color.component.js +1 -1
  223. package/lib/components/simple-color-picker/simple-color/simple-color.style.js +1 -1
  224. package/lib/components/simple-color-picker/simple-color-picker.component.js +1 -1
  225. package/lib/components/simple-color-picker/simple-color-picker.style.js +1 -1
  226. package/lib/components/split-button/split-button-children.style.js +1 -1
  227. package/lib/components/split-button/split-button-toggle.style.js +1 -1
  228. package/lib/components/split-button/split-button.component.js +1 -1
  229. package/lib/components/split-button/split-button.style.js +1 -1
  230. package/lib/components/step-flow/step-flow.component.js +1 -1
  231. package/lib/components/step-sequence/step-sequence-item/step-sequence-item.component.js +1 -1
  232. package/lib/components/step-sequence/step-sequence-item/step-sequence-item.style.js +1 -1
  233. package/lib/components/step-sequence/step-sequence.style.js +1 -1
  234. package/lib/components/switch/__internal__/switch-slider-panel.style.js +1 -1
  235. package/lib/components/switch/__internal__/switch-slider.style.js +1 -1
  236. package/lib/components/switch/switch.component.js +1 -1
  237. package/lib/components/switch/switch.style.js +1 -1
  238. package/lib/components/tabs/__internal__/tab-title/index.js +1 -1
  239. package/lib/components/tabs/__internal__/tab-title/tab-title.component.js +1 -1
  240. package/lib/components/tabs/__internal__/tab-title/tab-title.style.js +1 -1
  241. package/lib/components/tabs/__internal__/tabs-header/tabs-header.component.js +1 -1
  242. package/lib/components/tabs/__internal__/tabs-header/tabs-header.style.js +1 -1
  243. package/lib/components/tabs/tab/index.js +1 -1
  244. package/lib/components/tabs/tab/tab.component.js +1 -1
  245. package/lib/components/tabs/tab/tab.style.js +1 -1
  246. package/lib/components/tabs/tabs.component.js +1 -1
  247. package/lib/components/tabs/tabs.style.js +1 -1
  248. package/lib/components/text-editor/__internal__/editor-link/editor-link.component.js +1 -1
  249. package/lib/components/text-editor/__internal__/toolbar/toolbar-button/toolbar-button.style.js +1 -1
  250. package/lib/components/text-editor/__internal__/toolbar/toolbar.component.js +1 -1
  251. package/lib/components/text-editor/index.js +1 -1
  252. package/lib/components/text-editor/text-editor.component.js +1 -1
  253. package/lib/components/text-editor/text-editor.style.js +1 -1
  254. package/lib/components/textarea/textarea.component.js +1 -1
  255. package/lib/components/textarea/textarea.style.js +1 -1
  256. package/lib/components/textbox/textbox.component.js +1 -1
  257. package/lib/components/textbox/textbox.style.js +1 -1
  258. package/lib/components/tile/tile-content/tile-content.component.js +1 -1
  259. package/lib/components/tile/tile-content/tile-content.style.js +1 -1
  260. package/lib/components/tile/tile-footer/tile-footer.style.js +1 -1
  261. package/lib/components/tile/tile-header/tile-header.style.js +1 -1
  262. package/lib/components/tile/tile.style.js +1 -1
  263. package/lib/components/tile-select/__internal__/accordion/accordion.component.js +1 -1
  264. package/lib/components/tile-select/tile-select.component.js +1 -1
  265. package/lib/components/tile-select/tile-select.style.js +1 -1
  266. package/lib/components/time/__internal__/time-toggle/time-toggle.component.js +1 -1
  267. package/lib/components/time/time.component.js +1 -1
  268. package/lib/components/toast/toast.component.js +1 -1
  269. package/lib/components/toast/toast.style.js +1 -1
  270. package/lib/components/tooltip/tooltip-pointer.style.js +1 -1
  271. package/lib/components/tooltip/tooltip.component.js +1 -1
  272. package/lib/components/tooltip/tooltip.style.js +1 -1
  273. package/lib/components/typography/typography.style.js +1 -1
  274. package/lib/components/vertical-divider/vertical-divider.component.js +1 -1
  275. package/lib/components/vertical-divider/vertical-divider.style.js +1 -1
  276. package/lib/components/vertical-menu/vertical-menu-full-screen/vertical-menu-full-screen.component.js +1 -1
  277. package/lib/components/vertical-menu/vertical-menu-item/vertical-menu-item.component.js +1 -1
  278. package/lib/components/vertical-menu/vertical-menu.style.js +1 -1
  279. package/lib/hooks/__internal__/useCharacterCount/useCharacterCount.js +1 -1
  280. package/lib/hooks/__internal__/useIsStickyFooterForm/useIsStickyFooterForm.js +1 -1
  281. package/lib/hooks/__internal__/useScrollBlock/scroll-block-manager.js +2 -3
  282. package/package.json +6 -14
@@ -13,7 +13,7 @@ var _icon2 = _interopRequireDefault(require("../icon"));
13
13
  var _box = _interopRequireDefault(require("../box/box.style"));
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
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; }
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 && {}.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 StyledList = exports.StyledList = _styledComponents.default.ul`
18
18
  list-style: none;
19
19
  margin: 0;
@@ -10,7 +10,7 @@ var _guid = _interopRequireDefault(require("../../../__internal__/utils/helpers/
10
10
  var _useDebounce = _interopRequireDefault(require("../useDebounce"));
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
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; }
13
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
14
14
  const useCharacterCount = (value = "", characterLimit) => {
15
15
  const isCharacterLimitValid = typeof characterLimit === "number" && !Number.isNaN(characterLimit);
16
16
  const [debouncedValue, setDebouncedValue] = (0, _react.useState)(value);
@@ -8,7 +8,7 @@ var _react = _interopRequireWildcard(require("react"));
8
8
  var _form = _interopRequireDefault(require("../../../components/form/form.component"));
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
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; }
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 && {}.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
12
  var _default = children => {
13
13
  const isStickyFooterForm = (0, _react.useMemo)(() => _react.default.Children.toArray(children).some(child => /*#__PURE__*/_react.default.isValidElement(child) && child.type?.displayName === _form.default.displayName && child.props.stickyFooter), [children]);
14
14
  return isStickyFooterForm;
@@ -8,7 +8,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
8
8
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
9
9
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
10
10
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
11
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
11
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
12
12
  function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
13
13
  // TODO: This component can be refactored to remove redundant code
14
14
  // once we can confirm that all Sage products use version 105.0.0^
@@ -31,7 +31,7 @@ let ScrollBlockManager = /*#__PURE__*/function () {
31
31
  // TODO: originalValues can be removed
32
32
  this.originalValues = window.__CARBON_INTERNALS_SCROLL_BLOCKERS.originalValues;
33
33
  }
34
- _createClass(ScrollBlockManager, [{
34
+ return _createClass(ScrollBlockManager, [{
35
35
  key: "registerComponent",
36
36
  value: function registerComponent(id) {
37
37
  this.components[id] = true;
@@ -75,6 +75,5 @@ let ScrollBlockManager = /*#__PURE__*/function () {
75
75
  return Object.entries(this.components).length !== 0;
76
76
  }
77
77
  }]);
78
- return ScrollBlockManager;
79
78
  }();
80
79
  var _default = exports.default = ScrollBlockManager;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "132.2.0",
3
+ "version": "132.2.1",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "files": [
6
6
  "lib",
@@ -13,9 +13,8 @@
13
13
  "start:debug-theme": "cross-env STORYBOOK_DEBUG_THEME=true npm run start",
14
14
  "test": "jest --config=./jest.config.json",
15
15
  "test-update": "jest --config=./jest.config.json --updateSnapshot",
16
- "cypress:react": "npx cypress open --component --browser chrome",
17
- "format": "prettier --write './{src,cypress,playwright}/**/*.{js,jsx,ts,tsx}'",
18
- "lint": "eslint ./src ./cypress ./playwright",
16
+ "format": "prettier --write './{src,playwright}/**/*.{js,jsx,ts,tsx}'",
17
+ "lint": "eslint ./src ./playwright",
19
18
  "build": "node ./scripts/build.js",
20
19
  "copy-files": "node ./scripts/copy-files.js",
21
20
  "precompile": "npm run type-check && npm run clean-lib && npm run build && npm run build:types && npm run copy-files",
@@ -30,10 +29,9 @@
30
29
  "commit": "git-cz",
31
30
  "generate-metadata": "node ./scripts/generate_metadata/index.mjs",
32
31
  "type-check:carbon": "tsc --noEmit",
33
- "type-check:cypress": "tsc -p ./cypress/tsconfig.json",
34
32
  "type-check:playwright": "tsc -p ./tsconfig-playwright.json",
35
- "type-check": "npm run type-check:carbon && npm run type-check:cypress && npm run type-check:playwright",
36
- "type-check:watch": "concurrently --names 'src,cypress,playwright' -c 'cyan,yellow,magenta' 'npm run type-check:carbon -- --watch' 'npm run type-check:cypress -- --watch' 'npm run type-check:playwright -- --watch'",
33
+ "type-check": "npm run type-check:carbon && npm run type-check:playwright",
34
+ "type-check:watch": "concurrently --names 'src,playwright' -c 'cyan,yellow' 'npm run type-check:carbon -- --watch' 'npm run type-check:playwright -- --watch'",
37
35
  "build:types": "tsc -p tsconfig-build.json --emitDeclarationOnly --outDir ./lib && tsc -p tsconfig-build.json --emitDeclarationOnly --outDir ./esm",
38
36
  "prepare": "husky install",
39
37
  "test:ct": "playwright test -c playwright-ct.config.ts",
@@ -71,7 +69,6 @@
71
69
  "@babel/types": "^7.23.4",
72
70
  "@commitlint/cli": "^17.6.3",
73
71
  "@commitlint/config-conventional": "^17.6.3",
74
- "@dlgshi/cypress-plugin-designtokens": "^0.0.1-development",
75
72
  "@playwright/experimental-ct-react17": "~1.36.2",
76
73
  "@playwright/test": "~1.36.2",
77
74
  "@sage/design-tokens": "~4.29.0",
@@ -125,20 +122,15 @@
125
122
  "core-js": "^3.33.3",
126
123
  "cross-env": "^5.2.1",
127
124
  "css-loader": "^6.8.1",
128
- "cypress": "~12.13.0",
129
- "cypress-axe": "^1.5.0",
130
- "cypress-each": "^1.13.3",
131
- "cypress-plugin-tab": "^1.0.5",
132
- "cypress-real-events": "^1.11.0",
133
125
  "cz-conventional-changelog": "^3.3.0",
134
126
  "date-fns-tz": "^1.3.8",
127
+ "dayjs": "^1.11.10",
135
128
  "draft-js": "^0.11.7",
136
129
  "enzyme": "^3.11.0",
137
130
  "enzyme-to-json": "^3.6.2",
138
131
  "eslint": "^8.55.0",
139
132
  "eslint-config-airbnb": "^19.0.0",
140
133
  "eslint-config-prettier": "^9.1.0",
141
- "eslint-plugin-cypress": "^2.15.1",
142
134
  "eslint-plugin-import": "^2.29.0",
143
135
  "eslint-plugin-jest": "^27.6.0",
144
136
  "eslint-plugin-jest-dom": "^5.1.0",