@carbon/ibm-products 2.74.0-rc.0 → 2.75.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. package/css/carbon.css +349 -63
  2. package/css/carbon.css.map +1 -1
  3. package/css/index-full-carbon.css +351 -80
  4. package/css/index-full-carbon.css.map +1 -1
  5. package/css/index-full-carbon.min.css +1 -1
  6. package/css/index-full-carbon.min.css.map +1 -1
  7. package/css/index-without-carbon-released-only.css +2 -17
  8. package/css/index-without-carbon-released-only.css.map +1 -1
  9. package/css/index-without-carbon-released-only.min.css +1 -1
  10. package/css/index-without-carbon-released-only.min.css.map +1 -1
  11. package/css/index-without-carbon.css +2 -17
  12. package/css/index-without-carbon.css.map +1 -1
  13. package/css/index-without-carbon.min.css +1 -1
  14. package/css/index-without-carbon.min.css.map +1 -1
  15. package/css/index.css +204 -60
  16. package/css/index.css.map +1 -1
  17. package/css/index.min.css +1 -1
  18. package/css/index.min.css.map +1 -1
  19. package/es/components/APIKeyModal/APIKeyModal.d.ts +1 -1
  20. package/es/components/APIKeyModal/APIKeyModal.js +2 -2
  21. package/es/components/AboutModal/AboutModal.d.ts +1 -1
  22. package/es/components/AboutModal/AboutModal.js +1 -2
  23. package/es/components/ActionBar/ActionBar.d.ts +1 -1
  24. package/es/components/ActionBar/ActionBar.js +1 -2
  25. package/es/components/ActionBar/ActionBarItem.d.ts +1 -1
  26. package/es/components/ActionBar/ActionBarItem.js +1 -2
  27. package/es/components/BigNumber/BigNumber.d.ts +1 -1
  28. package/es/components/BigNumber/BigNumber.js +1 -4
  29. package/es/components/BigNumber/index.js +8 -0
  30. package/es/components/Cascade/Cascade.d.ts +1 -1
  31. package/es/components/Cascade/Cascade.js +1 -2
  32. package/es/components/Checklist/Checklist.d.ts +1 -1
  33. package/es/components/Checklist/Checklist.js +1 -2
  34. package/es/components/Coachmark/Coachmark.d.ts +1 -1
  35. package/es/components/Coachmark/Coachmark.js +1 -2
  36. package/es/components/Coachmark/CoachmarkDragbar.d.ts +1 -1
  37. package/es/components/Coachmark/CoachmarkDragbar.js +1 -2
  38. package/es/components/Coachmark/CoachmarkHeader.d.ts +1 -1
  39. package/es/components/Coachmark/CoachmarkHeader.js +1 -2
  40. package/es/components/Coachmark/CoachmarkOverlay.d.ts +1 -1
  41. package/es/components/Coachmark/CoachmarkOverlay.js +1 -2
  42. package/es/components/Coachmark/CoachmarkTagline.d.ts +1 -1
  43. package/es/components/Coachmark/CoachmarkTagline.js +1 -2
  44. package/es/components/Coachmark/next/Coachmark/index.js +8 -0
  45. package/es/components/Coachmark/utils/enums.js +5 -1
  46. package/es/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +1 -1
  47. package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -2
  48. package/es/components/CoachmarkButton/CoachmarkButton.d.ts +1 -1
  49. package/es/components/CoachmarkButton/CoachmarkButton.js +1 -2
  50. package/es/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -1
  51. package/es/components/CoachmarkFixed/CoachmarkFixed.js +1 -2
  52. package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -1
  53. package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +1 -4
  54. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -1
  55. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -4
  56. package/es/components/CoachmarkStack/CoachmarkStack.d.ts +1 -1
  57. package/es/components/CoachmarkStack/CoachmarkStack.js +1 -2
  58. package/es/components/CoachmarkStack/CoachmarkStackHome.d.ts +1 -1
  59. package/es/components/CoachmarkStack/CoachmarkStackHome.js +1 -4
  60. package/es/components/ConditionBuilder/ConditionBuilder.d.ts +1 -1
  61. package/es/components/ConditionBuilder/ConditionBuilder.js +1 -3
  62. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +6 -0
  63. package/es/components/ConditionBuilder/index.js +8 -0
  64. package/es/components/CreateFullPage/CreateFullPage.d.ts +1 -1
  65. package/es/components/CreateFullPage/CreateFullPage.js +1 -2
  66. package/es/components/CreateFullPage/CreateFullPageStep.d.ts +1 -1
  67. package/es/components/CreateFullPage/CreateFullPageStep.js +1 -4
  68. package/es/components/CreateModal/CreateModal.d.ts +1 -1
  69. package/es/components/CreateModal/CreateModal.js +2 -2
  70. package/es/components/CreateSidePanel/CreateSidePanel.d.ts +1 -1
  71. package/es/components/CreateSidePanel/CreateSidePanel.js +1 -2
  72. package/es/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
  73. package/es/components/CreateTearsheet/CreateTearsheet.js +1 -2
  74. package/es/components/CreateTearsheet/CreateTearsheetDivider.d.ts +1 -1
  75. package/es/components/CreateTearsheet/CreateTearsheetDivider.js +1 -5
  76. package/es/components/CreateTearsheet/CreateTearsheetStep.d.ts +1 -1
  77. package/es/components/CreateTearsheet/CreateTearsheetStep.js +1 -4
  78. package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
  79. package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -4
  80. package/es/components/DataSpreadsheet/DataSpreadsheet.d.ts +1 -1
  81. package/es/components/DataSpreadsheet/DataSpreadsheet.js +1 -2
  82. package/es/components/DataSpreadsheet/index.js +8 -0
  83. package/es/components/Datagrid/Datagrid/Datagrid.d.ts +1 -1
  84. package/es/components/Datagrid/Datagrid/Datagrid.js +1 -2
  85. package/es/components/Decorator/index.js +8 -0
  86. package/es/components/DecoratorBase/utils.d.ts +1 -1
  87. package/es/components/DelimitedList/DelimitedList.d.ts +1 -1
  88. package/es/components/DelimitedList/DelimitedList.js +1 -2
  89. package/es/components/DelimitedList/index.js +8 -0
  90. package/es/components/EditFullPage/EditFullPage.d.ts +1 -1
  91. package/es/components/EditFullPage/EditFullPage.js +1 -2
  92. package/es/components/EditInPlace/EditInPlace.d.ts +1 -1
  93. package/es/components/EditInPlace/EditInPlace.js +1 -2
  94. package/es/components/EditSidePanel/EditSidePanel.d.ts +1 -1
  95. package/es/components/EditSidePanel/EditSidePanel.js +1 -2
  96. package/es/components/EditTearsheet/EditTearsheet.d.ts +1 -1
  97. package/es/components/EditTearsheet/EditTearsheet.js +1 -2
  98. package/es/components/EditTearsheet/EditTearsheetForm.d.ts +1 -1
  99. package/es/components/EditTearsheet/EditTearsheetForm.js +2 -2
  100. package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -1
  101. package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +1 -4
  102. package/es/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
  103. package/es/components/EditUpdateCards/EditUpdateCards.js +1 -2
  104. package/es/components/EmptyStates/EmptyState.d.ts +1 -1
  105. package/es/components/EmptyStates/EmptyState.js +2 -2
  106. package/es/components/EmptyStates/EmptyStateV2.deprecated.d.ts +1 -1
  107. package/es/components/EmptyStates/EmptyStateV2.deprecated.js +2 -2
  108. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +1 -1
  109. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -2
  110. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +1 -1
  111. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -2
  112. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +1 -1
  113. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -2
  114. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +1 -1
  115. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -4
  116. package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +1 -1
  117. package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -4
  118. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +1 -1
  119. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -4
  120. package/es/components/ExportModal/ExportModal.d.ts +1 -1
  121. package/es/components/ExportModal/ExportModal.js +2 -2
  122. package/es/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
  123. package/es/components/ExpressiveCard/ExpressiveCard.js +2 -3
  124. package/es/components/FullPageError/FullPageError.d.ts +1 -1
  125. package/es/components/FullPageError/FullPageError.js +1 -2
  126. package/es/components/GetStartedCard/GetStartedCard.d.ts +1 -1
  127. package/es/components/GetStartedCard/GetStartedCard.js +2 -3
  128. package/es/components/GetStartedCard/index.js +8 -0
  129. package/es/components/Guidebanner/Guidebanner.d.ts +1 -1
  130. package/es/components/Guidebanner/Guidebanner.js +1 -2
  131. package/es/components/Guidebanner/GuidebannerElement.d.ts +1 -1
  132. package/es/components/Guidebanner/GuidebannerElement.js +1 -4
  133. package/es/components/Guidebanner/GuidebannerElementButton.d.ts +1 -1
  134. package/es/components/Guidebanner/GuidebannerElementButton.js +1 -4
  135. package/es/components/Guidebanner/GuidebannerElementLink.d.ts +1 -1
  136. package/es/components/Guidebanner/GuidebannerElementLink.js +1 -4
  137. package/es/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +1 -1
  138. package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -2
  139. package/es/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +1 -1
  140. package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -2
  141. package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.d.ts +1 -1
  142. package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -2
  143. package/es/components/ImportModal/ImportModal.d.ts +1 -1
  144. package/es/components/ImportModal/ImportModal.js +2 -2
  145. package/es/components/InlineTip/InlineTip.d.ts +1 -1
  146. package/es/components/InlineTip/InlineTip.js +1 -2
  147. package/es/components/InlineTip/InlineTipButton.d.ts +1 -1
  148. package/es/components/InlineTip/InlineTipButton.js +1 -2
  149. package/es/components/InlineTip/InlineTipLink.d.ts +1 -1
  150. package/es/components/InlineTip/InlineTipLink.js +1 -2
  151. package/es/components/InterstitialScreen/InterstitialScreen.d.ts +1 -1
  152. package/es/components/InterstitialScreen/InterstitialScreen.js +1 -4
  153. package/es/components/InterstitialScreen/_story-assets/InterstitialScreenView/InterstitialScreenView.d.ts +2 -2
  154. package/es/components/InterstitialScreen/_story-assets/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +2 -2
  155. package/es/components/MultiAddSelect/MultiAddSelect.d.ts +1 -1
  156. package/es/components/MultiAddSelect/MultiAddSelect.js +1 -3
  157. package/es/components/NonLinearReading/NonLinearReading.d.ts +1 -1
  158. package/es/components/NonLinearReading/NonLinearReading.js +1 -2
  159. package/es/components/NonLinearReading/index.js +8 -0
  160. package/es/components/NotificationsPanel/NotificationsPanel.d.ts +1 -1
  161. package/es/components/NotificationsPanel/NotificationsPanel.js +1 -4
  162. package/es/components/OptionsTile/OptionsTile.d.ts +1 -1
  163. package/es/components/OptionsTile/OptionsTile.js +1 -2
  164. package/es/components/PageHeader/PageHeader.d.ts +1 -1
  165. package/es/components/PageHeader/PageHeader.js +1 -2
  166. package/es/components/ProductiveCard/ProductiveCard.d.ts +1 -1
  167. package/es/components/ProductiveCard/ProductiveCard.js +2 -3
  168. package/es/components/RemoveModal/RemoveModal.d.ts +1 -1
  169. package/es/components/RemoveModal/RemoveModal.js +2 -2
  170. package/es/components/Saving/Saving.d.ts +1 -1
  171. package/es/components/Saving/Saving.js +1 -2
  172. package/es/components/SearchBar/SearchBar.d.ts +1 -1
  173. package/es/components/SearchBar/SearchBar.js +1 -2
  174. package/es/components/SearchBar/index.js +8 -0
  175. package/es/components/SidePanel/SidePanel.d.ts +4 -1
  176. package/es/components/SidePanel/SidePanel.js +4 -6
  177. package/es/components/SingleAddSelect/SingleAddSelect.d.ts +1 -1
  178. package/es/components/SingleAddSelect/SingleAddSelect.js +1 -3
  179. package/es/components/StatusIcon/StatusIcon.d.ts +1 -1
  180. package/es/components/StatusIcon/StatusIcon.js +1 -2
  181. package/es/components/StepFlow/story-assets/SidePanel/StepSidePanel.d.ts +4 -3
  182. package/es/components/TagOverflow/TagOverflow.d.ts +1 -1
  183. package/es/components/TagOverflow/TagOverflow.js +1 -2
  184. package/es/components/TagSet/TagSet.d.ts +1 -1
  185. package/es/components/TagSet/TagSet.js +2 -3
  186. package/es/components/Tearsheet/Tearsheet.d.ts +1 -1
  187. package/es/components/Tearsheet/Tearsheet.js +1 -3
  188. package/es/components/Tearsheet/TearsheetNarrow.d.ts +1 -1
  189. package/es/components/Tearsheet/TearsheetNarrow.js +1 -3
  190. package/es/components/Toolbar/Toolbar.d.ts +2 -2
  191. package/es/components/Toolbar/Toolbar.js +1 -2
  192. package/es/components/Toolbar/ToolbarButton.d.ts +1 -1
  193. package/es/components/Toolbar/ToolbarButton.js +1 -3
  194. package/es/components/Toolbar/ToolbarGroup.d.ts +1 -1
  195. package/es/components/Toolbar/ToolbarGroup.js +1 -3
  196. package/es/components/TooltipTrigger/TooltipTrigger.d.ts +1 -1
  197. package/es/components/TooltipTrigger/TooltipTrigger.js +1 -2
  198. package/es/components/TruncatedList/TruncatedList.d.ts +1 -1
  199. package/es/components/TruncatedList/TruncatedList.js +1 -2
  200. package/es/components/TruncatedList/index.js +8 -0
  201. package/es/components/UserAvatar/UserAvatar.d.ts +1 -1
  202. package/es/components/UserAvatar/UserAvatar.js +1 -2
  203. package/es/components/UserProfileImage/UserProfileImage.d.ts +1 -1
  204. package/es/components/UserProfileImage/UserProfileImage.js +2 -2
  205. package/es/components/WebTerminal/WebTerminal.d.ts +1 -1
  206. package/es/components/WebTerminal/WebTerminal.js +1 -2
  207. package/es/components/WebTerminal/WebTerminalContentWrapper.d.ts +1 -1
  208. package/es/components/WebTerminal/WebTerminalContentWrapper.js +1 -4
  209. package/es/components/WebTerminal/hooks/index.d.ts +1 -1
  210. package/es/components/WebTerminal/hooks/index.js +2 -7
  211. package/es/components/index.d.ts +53 -43
  212. package/es/global/js/utils/carousel/carousel.d.ts +14 -0
  213. package/es/global/js/utils/carousel/index.d.ts +8 -0
  214. package/es/global/js/utils/carousel/swipeEvents.d.ts +7 -0
  215. package/es/global/js/utils/carousel/types.d.ts +37 -0
  216. package/es/global/js/utils/makeDraggable/makeDraggable.d.ts +20 -1
  217. package/es/global/js/utils/makeDraggable/makeDraggable.js +35 -22
  218. package/es/global/js/utils/makeDraggable/makeDraggable.stories.d.ts +1 -1
  219. package/es/index.js +69 -58
  220. package/es/node_modules/@carbon/icons-react/es/generated/bucket-10.js +798 -792
  221. package/es/node_modules/@carbon/icons-react/es/generated/bucket-3.js +528 -529
  222. package/lib/components/APIKeyModal/APIKeyModal.d.ts +1 -1
  223. package/lib/components/APIKeyModal/APIKeyModal.js +5 -4
  224. package/lib/components/AboutModal/AboutModal.d.ts +1 -1
  225. package/lib/components/AboutModal/AboutModal.js +5 -4
  226. package/lib/components/ActionBar/ActionBar.d.ts +1 -1
  227. package/lib/components/ActionBar/ActionBar.js +5 -4
  228. package/lib/components/ActionBar/ActionBarItem.d.ts +1 -1
  229. package/lib/components/ActionBar/ActionBarItem.js +5 -4
  230. package/lib/components/BigNumber/BigNumber.d.ts +1 -1
  231. package/lib/components/BigNumber/BigNumber.js +5 -6
  232. package/lib/components/BigNumber/index.js +14 -0
  233. package/lib/components/Cascade/Cascade.d.ts +1 -1
  234. package/lib/components/Cascade/Cascade.js +5 -4
  235. package/lib/components/Checklist/Checklist.d.ts +1 -1
  236. package/lib/components/Checklist/Checklist.js +5 -4
  237. package/lib/components/Coachmark/Coachmark.d.ts +1 -1
  238. package/lib/components/Coachmark/Coachmark.js +4 -4
  239. package/lib/components/Coachmark/CoachmarkDragbar.d.ts +1 -1
  240. package/lib/components/Coachmark/CoachmarkDragbar.js +5 -4
  241. package/lib/components/Coachmark/CoachmarkHeader.d.ts +1 -1
  242. package/lib/components/Coachmark/CoachmarkHeader.js +5 -4
  243. package/lib/components/Coachmark/CoachmarkOverlay.d.ts +1 -1
  244. package/lib/components/Coachmark/CoachmarkOverlay.js +6 -5
  245. package/lib/components/Coachmark/CoachmarkTagline.d.ts +1 -1
  246. package/lib/components/Coachmark/CoachmarkTagline.js +5 -4
  247. package/lib/components/Coachmark/next/Coachmark/index.js +14 -0
  248. package/lib/components/Coachmark/utils/enums.js +5 -0
  249. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +1 -1
  250. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +5 -4
  251. package/lib/components/CoachmarkButton/CoachmarkButton.d.ts +1 -1
  252. package/lib/components/CoachmarkButton/CoachmarkButton.js +6 -5
  253. package/lib/components/CoachmarkFixed/CoachmarkFixed.d.ts +1 -1
  254. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +5 -4
  255. package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +1 -1
  256. package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +6 -7
  257. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +1 -1
  258. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +6 -7
  259. package/lib/components/CoachmarkStack/CoachmarkStack.d.ts +1 -1
  260. package/lib/components/CoachmarkStack/CoachmarkStack.js +5 -4
  261. package/lib/components/CoachmarkStack/CoachmarkStackHome.d.ts +1 -1
  262. package/lib/components/CoachmarkStack/CoachmarkStackHome.js +5 -6
  263. package/lib/components/ConditionBuilder/ConditionBuilder.d.ts +1 -1
  264. package/lib/components/ConditionBuilder/ConditionBuilder.js +5 -5
  265. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +6 -0
  266. package/lib/components/ConditionBuilder/index.js +14 -0
  267. package/lib/components/CreateFullPage/CreateFullPage.d.ts +1 -1
  268. package/lib/components/CreateFullPage/CreateFullPage.js +4 -4
  269. package/lib/components/CreateFullPage/CreateFullPageStep.d.ts +1 -1
  270. package/lib/components/CreateFullPage/CreateFullPageStep.js +4 -5
  271. package/lib/components/CreateModal/CreateModal.d.ts +1 -1
  272. package/lib/components/CreateModal/CreateModal.js +6 -4
  273. package/lib/components/CreateSidePanel/CreateSidePanel.d.ts +1 -1
  274. package/lib/components/CreateSidePanel/CreateSidePanel.js +5 -4
  275. package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
  276. package/lib/components/CreateTearsheet/CreateTearsheet.js +4 -4
  277. package/lib/components/CreateTearsheet/CreateTearsheetDivider.d.ts +1 -1
  278. package/lib/components/CreateTearsheet/CreateTearsheetDivider.js +4 -6
  279. package/lib/components/CreateTearsheet/CreateTearsheetStep.d.ts +1 -1
  280. package/lib/components/CreateTearsheet/CreateTearsheetStep.js +4 -5
  281. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +1 -1
  282. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +5 -6
  283. package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts +1 -1
  284. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +5 -4
  285. package/lib/components/DataSpreadsheet/index.js +14 -0
  286. package/lib/components/Datagrid/Datagrid/Datagrid.d.ts +1 -1
  287. package/lib/components/Datagrid/Datagrid/Datagrid.js +6 -5
  288. package/lib/components/Decorator/index.js +17 -0
  289. package/lib/components/DecoratorBase/utils.d.ts +1 -1
  290. package/lib/components/DelimitedList/DelimitedList.d.ts +1 -1
  291. package/lib/components/DelimitedList/DelimitedList.js +5 -4
  292. package/lib/components/DelimitedList/index.js +14 -0
  293. package/lib/components/EditFullPage/EditFullPage.d.ts +1 -1
  294. package/lib/components/EditFullPage/EditFullPage.js +6 -5
  295. package/lib/components/EditInPlace/EditInPlace.d.ts +1 -1
  296. package/lib/components/EditInPlace/EditInPlace.js +4 -4
  297. package/lib/components/EditSidePanel/EditSidePanel.d.ts +1 -1
  298. package/lib/components/EditSidePanel/EditSidePanel.js +6 -5
  299. package/lib/components/EditTearsheet/EditTearsheet.d.ts +1 -1
  300. package/lib/components/EditTearsheet/EditTearsheet.js +5 -5
  301. package/lib/components/EditTearsheet/EditTearsheetForm.d.ts +1 -1
  302. package/lib/components/EditTearsheet/EditTearsheetForm.js +5 -3
  303. package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +1 -1
  304. package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +6 -7
  305. package/lib/components/EditUpdateCards/EditUpdateCards.d.ts +1 -1
  306. package/lib/components/EditUpdateCards/EditUpdateCards.js +6 -5
  307. package/lib/components/EmptyStates/EmptyState.d.ts +1 -1
  308. package/lib/components/EmptyStates/EmptyState.js +5 -4
  309. package/lib/components/EmptyStates/EmptyStateV2.deprecated.d.ts +1 -1
  310. package/lib/components/EmptyStates/EmptyStateV2.deprecated.js +7 -5
  311. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +1 -1
  312. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +5 -4
  313. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +1 -1
  314. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +5 -4
  315. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +1 -1
  316. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +5 -4
  317. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +1 -1
  318. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +5 -6
  319. package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +1 -1
  320. package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +5 -6
  321. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +1 -1
  322. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +5 -6
  323. package/lib/components/ExportModal/ExportModal.d.ts +1 -1
  324. package/lib/components/ExportModal/ExportModal.js +6 -4
  325. package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +1 -1
  326. package/lib/components/ExpressiveCard/ExpressiveCard.js +6 -5
  327. package/lib/components/FullPageError/FullPageError.d.ts +1 -1
  328. package/lib/components/FullPageError/FullPageError.js +5 -4
  329. package/lib/components/GetStartedCard/GetStartedCard.d.ts +1 -1
  330. package/lib/components/GetStartedCard/GetStartedCard.js +6 -5
  331. package/lib/components/GetStartedCard/index.js +14 -0
  332. package/lib/components/Guidebanner/Guidebanner.d.ts +1 -1
  333. package/lib/components/Guidebanner/Guidebanner.js +5 -4
  334. package/lib/components/Guidebanner/GuidebannerElement.d.ts +1 -1
  335. package/lib/components/Guidebanner/GuidebannerElement.js +5 -6
  336. package/lib/components/Guidebanner/GuidebannerElementButton.d.ts +1 -1
  337. package/lib/components/Guidebanner/GuidebannerElementButton.js +5 -6
  338. package/lib/components/Guidebanner/GuidebannerElementLink.d.ts +1 -1
  339. package/lib/components/Guidebanner/GuidebannerElementLink.js +5 -6
  340. package/lib/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +1 -1
  341. package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +6 -5
  342. package/lib/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +1 -1
  343. package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +6 -5
  344. package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.d.ts +1 -1
  345. package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +6 -5
  346. package/lib/components/ImportModal/ImportModal.d.ts +1 -1
  347. package/lib/components/ImportModal/ImportModal.js +6 -4
  348. package/lib/components/InlineTip/InlineTip.d.ts +1 -1
  349. package/lib/components/InlineTip/InlineTip.js +5 -4
  350. package/lib/components/InlineTip/InlineTipButton.d.ts +1 -1
  351. package/lib/components/InlineTip/InlineTipButton.js +5 -4
  352. package/lib/components/InlineTip/InlineTipLink.d.ts +1 -1
  353. package/lib/components/InlineTip/InlineTipLink.js +5 -4
  354. package/lib/components/InterstitialScreen/InterstitialScreen.d.ts +1 -1
  355. package/lib/components/InterstitialScreen/InterstitialScreen.js +8 -9
  356. package/lib/components/InterstitialScreen/_story-assets/InterstitialScreenView/InterstitialScreenView.d.ts +2 -2
  357. package/lib/components/InterstitialScreen/_story-assets/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +2 -2
  358. package/lib/components/MultiAddSelect/MultiAddSelect.d.ts +1 -1
  359. package/lib/components/MultiAddSelect/MultiAddSelect.js +5 -5
  360. package/lib/components/NonLinearReading/NonLinearReading.d.ts +1 -1
  361. package/lib/components/NonLinearReading/NonLinearReading.js +5 -4
  362. package/lib/components/NonLinearReading/index.js +14 -0
  363. package/lib/components/NotificationsPanel/NotificationsPanel.d.ts +1 -1
  364. package/lib/components/NotificationsPanel/NotificationsPanel.js +5 -6
  365. package/lib/components/OptionsTile/OptionsTile.d.ts +1 -1
  366. package/lib/components/OptionsTile/OptionsTile.js +5 -4
  367. package/lib/components/PageHeader/PageHeader.d.ts +1 -1
  368. package/lib/components/PageHeader/PageHeader.js +5 -5
  369. package/lib/components/ProductiveCard/ProductiveCard.d.ts +1 -1
  370. package/lib/components/ProductiveCard/ProductiveCard.js +6 -5
  371. package/lib/components/RemoveModal/RemoveModal.d.ts +1 -1
  372. package/lib/components/RemoveModal/RemoveModal.js +6 -4
  373. package/lib/components/Saving/Saving.d.ts +1 -1
  374. package/lib/components/Saving/Saving.js +5 -4
  375. package/lib/components/SearchBar/SearchBar.d.ts +1 -1
  376. package/lib/components/SearchBar/SearchBar.js +4 -4
  377. package/lib/components/SearchBar/index.js +14 -0
  378. package/lib/components/SidePanel/SidePanel.d.ts +4 -1
  379. package/lib/components/SidePanel/SidePanel.js +3 -5
  380. package/lib/components/SingleAddSelect/SingleAddSelect.d.ts +1 -1
  381. package/lib/components/SingleAddSelect/SingleAddSelect.js +5 -5
  382. package/lib/components/StatusIcon/StatusIcon.d.ts +1 -1
  383. package/lib/components/StatusIcon/StatusIcon.js +5 -4
  384. package/lib/components/StepFlow/story-assets/SidePanel/StepSidePanel.d.ts +4 -3
  385. package/lib/components/TagOverflow/TagOverflow.d.ts +1 -1
  386. package/lib/components/TagOverflow/TagOverflow.js +5 -4
  387. package/lib/components/TagSet/TagSet.d.ts +1 -1
  388. package/lib/components/TagSet/TagSet.js +9 -5
  389. package/lib/components/Tearsheet/Tearsheet.d.ts +1 -1
  390. package/lib/components/Tearsheet/Tearsheet.js +4 -5
  391. package/lib/components/Tearsheet/TearsheetNarrow.d.ts +1 -1
  392. package/lib/components/Tearsheet/TearsheetNarrow.js +4 -5
  393. package/lib/components/Toolbar/Toolbar.d.ts +2 -2
  394. package/lib/components/Toolbar/Toolbar.js +4 -4
  395. package/lib/components/Toolbar/ToolbarButton.d.ts +1 -1
  396. package/lib/components/Toolbar/ToolbarButton.js +4 -5
  397. package/lib/components/Toolbar/ToolbarGroup.d.ts +1 -1
  398. package/lib/components/Toolbar/ToolbarGroup.js +5 -5
  399. package/lib/components/TooltipTrigger/TooltipTrigger.d.ts +1 -1
  400. package/lib/components/TooltipTrigger/TooltipTrigger.js +5 -4
  401. package/lib/components/TruncatedList/TruncatedList.d.ts +1 -1
  402. package/lib/components/TruncatedList/TruncatedList.js +5 -4
  403. package/lib/components/TruncatedList/index.js +14 -0
  404. package/lib/components/UserAvatar/UserAvatar.d.ts +1 -1
  405. package/lib/components/UserAvatar/UserAvatar.js +5 -4
  406. package/lib/components/UserProfileImage/UserProfileImage.d.ts +1 -1
  407. package/lib/components/UserProfileImage/UserProfileImage.js +7 -5
  408. package/lib/components/WebTerminal/WebTerminal.d.ts +1 -1
  409. package/lib/components/WebTerminal/WebTerminal.js +5 -4
  410. package/lib/components/WebTerminal/WebTerminalContentWrapper.d.ts +1 -1
  411. package/lib/components/WebTerminal/WebTerminalContentWrapper.js +5 -6
  412. package/lib/components/WebTerminal/hooks/index.d.ts +1 -1
  413. package/lib/components/WebTerminal/hooks/index.js +3 -7
  414. package/lib/components/index.d.ts +53 -43
  415. package/lib/global/js/utils/carousel/carousel.d.ts +14 -0
  416. package/lib/global/js/utils/carousel/index.d.ts +8 -0
  417. package/lib/global/js/utils/carousel/swipeEvents.d.ts +7 -0
  418. package/lib/global/js/utils/carousel/types.d.ts +37 -0
  419. package/lib/global/js/utils/makeDraggable/makeDraggable.d.ts +20 -1
  420. package/lib/global/js/utils/makeDraggable/makeDraggable.js +35 -22
  421. package/lib/global/js/utils/makeDraggable/makeDraggable.stories.d.ts +1 -1
  422. package/lib/index.js +178 -416
  423. package/lib/node_modules/@carbon/icons-react/es/generated/bucket-10.js +817 -811
  424. package/lib/node_modules/@carbon/icons-react/es/generated/bucket-3.js +651 -652
  425. package/package.json +17 -17
  426. package/scss/components/SidePanel/_side-panel.scss +1 -13
  427. package/scss/components/TagSet/_tag-set.scss +0 -6
  428. package/telemetry.yml +3 -1
  429. /package/es/node_modules/@carbon/icons-react/es/{iconPropTypes-4cbeb95d.js → iconPropTypes-C5chbmyn.js} +0 -0
  430. /package/lib/node_modules/@carbon/icons-react/es/{iconPropTypes-4cbeb95d.js → iconPropTypes-C5chbmyn.js} +0 -0
@@ -41,7 +41,7 @@ const defaults = {
41
41
  * user to gain understanding of the product's main value and discover new use cases.
42
42
  * This variant allows the a coachmark overlay to be displayed by interacting with the tagline.
43
43
  */
44
- exports.CoachmarkFixed = /*#__PURE__*/React.forwardRef((_ref, ref) => {
44
+ const CoachmarkFixed = /*#__PURE__*/React.forwardRef((_ref, ref) => {
45
45
  let {
46
46
  children,
47
47
  className,
@@ -166,16 +166,15 @@ exports.CoachmarkFixed = /*#__PURE__*/React.forwardRef((_ref, ref) => {
166
166
  });
167
167
 
168
168
  // Return a placeholder if not released and not enabled by feature flag
169
- exports.CoachmarkFixed = settings.pkg.checkComponentEnabled(exports.CoachmarkFixed, componentName);
170
169
 
171
170
  // The display name of the component, used by React. Note that displayName
172
171
  // is used in preference to relying on function.name.
173
- exports.CoachmarkFixed.displayName = componentName;
172
+ CoachmarkFixed.displayName = componentName;
174
173
 
175
174
  // The types and DocGen commentary for the component props,
176
175
  // in alphabetical order (for consistency).
177
176
  // See https://www.npmjs.com/package/prop-types#usage.
178
- exports.CoachmarkFixed.propTypes = {
177
+ CoachmarkFixed.propTypes = {
179
178
  // TODO: Add this to MDX as will be done with Coachmark
180
179
  /**
181
180
  * CoachmarkFixed should use a single CoachmarkOverlayElements component as a child.
@@ -213,3 +212,5 @@ exports.CoachmarkFixed.propTypes = {
213
212
  */
214
213
  theme: index.default.oneOf(['light', 'dark'])
215
214
  };
215
+
216
+ exports.CoachmarkFixed = CoachmarkFixed;
@@ -29,4 +29,4 @@ export interface CoachmarkOverlayElementProps {
29
29
  * Can be used 1 to N number, to display content in a Coachmark's overlay
30
30
  * in a carousel fashion.
31
31
  */
32
- export declare let CoachmarkOverlayElement: React.ForwardRefExoticComponent<CoachmarkOverlayElementProps & React.RefAttributes<HTMLDivElement>>;
32
+ export declare const CoachmarkOverlayElement: React.ForwardRefExoticComponent<CoachmarkOverlayElementProps & React.RefAttributes<HTMLDivElement>>;
@@ -22,7 +22,7 @@ const componentName = 'CoachmarkOverlayElement';
22
22
  * Can be used 1 to N number, to display content in a Coachmark's overlay
23
23
  * in a carousel fashion.
24
24
  */
25
- exports.CoachmarkOverlayElement = /*#__PURE__*/React.forwardRef((_ref, ref) => {
25
+ const CoachmarkOverlayElement = /*#__PURE__*/React.forwardRef((_ref, ref) => {
26
26
  let {
27
27
  button,
28
28
  className,
@@ -54,22 +54,19 @@ exports.CoachmarkOverlayElement = /*#__PURE__*/React.forwardRef((_ref, ref) => {
54
54
  });
55
55
 
56
56
  /**@ts-ignore*/
57
- exports.CoachmarkOverlayElement.deprecated = {
57
+ CoachmarkOverlayElement.deprecated = {
58
58
  level: 'warn',
59
59
  details: `${componentName} is deprecated.`
60
60
  };
61
61
 
62
- // Return a placeholder if not released and not enabled by feature flag
63
- exports.CoachmarkOverlayElement = settings.pkg.checkComponentEnabled(exports.CoachmarkOverlayElement, componentName);
64
-
65
62
  // The display name of the component, used by React. Note that displayName
66
63
  // is used in preference to relying on function.name.
67
- exports.CoachmarkOverlayElement.displayName = componentName;
64
+ CoachmarkOverlayElement.displayName = componentName;
68
65
 
69
66
  // The types and DocGen commentary for the component props,
70
67
  // in alphabetical order (for consistency).
71
68
  // See https://www.npmjs.com/package/prop-types#usage.
72
- exports.CoachmarkOverlayElement.propTypes = {
69
+ CoachmarkOverlayElement.propTypes = {
73
70
  /**
74
71
  * An optional button can be rendered below the description.
75
72
  * This can be a link, button, Coachmark button, etc.
@@ -88,3 +85,5 @@ exports.CoachmarkOverlayElement.propTypes = {
88
85
  */
89
86
  title: index.default.string.isRequired
90
87
  };
88
+
89
+ exports.CoachmarkOverlayElement = CoachmarkOverlayElement;
@@ -53,4 +53,4 @@ export interface CoachmarkOverlayElementsProps {
53
53
  * Composable container to allow for the displaying of CoachmarkOverlayElement
54
54
  * components in a carousel fashion.
55
55
  */
56
- export declare let CoachmarkOverlayElements: React.ForwardRefExoticComponent<CoachmarkOverlayElementsProps & React.RefAttributes<HTMLDivElement>>;
56
+ export declare const CoachmarkOverlayElements: React.ForwardRefExoticComponent<CoachmarkOverlayElementsProps & React.RefAttributes<HTMLDivElement>>;
@@ -50,7 +50,7 @@ const defaults = {
50
50
  * Composable container to allow for the displaying of CoachmarkOverlayElement
51
51
  * components in a carousel fashion.
52
52
  */
53
- exports.CoachmarkOverlayElements = /*#__PURE__*/React.forwardRef((_ref, ref) => {
53
+ const CoachmarkOverlayElements = /*#__PURE__*/React.forwardRef((_ref, ref) => {
54
54
  let {
55
55
  className,
56
56
  children,
@@ -166,22 +166,19 @@ exports.CoachmarkOverlayElements = /*#__PURE__*/React.forwardRef((_ref, ref) =>
166
166
  });
167
167
 
168
168
  /**@ts-ignore*/
169
- exports.CoachmarkOverlayElements.deprecated = {
169
+ CoachmarkOverlayElements.deprecated = {
170
170
  level: 'warn',
171
171
  details: `${componentName} is deprecated.`
172
172
  };
173
173
 
174
- // Return a placeholder if not released and not enabled by feature flag
175
- exports.CoachmarkOverlayElements = settings.pkg.checkComponentEnabled(exports.CoachmarkOverlayElements, componentName);
176
-
177
174
  // The display name of the component, used by React. Note that displayName
178
175
  // is used in preference to relying on function.name.
179
- exports.CoachmarkOverlayElements.displayName = componentName;
176
+ CoachmarkOverlayElements.displayName = componentName;
180
177
 
181
178
  // The types and DocGen commentary for the component props,
182
179
  // in alphabetical order (for consistency).
183
180
  // See https://www.npmjs.com/package/prop-types#usage.
184
- exports.CoachmarkOverlayElements.propTypes = {
181
+ CoachmarkOverlayElements.propTypes = {
185
182
  // TODO: UPDATE COMMENT HERE - UPDATE MDX TO HAVE DIRECTION TO USE ONLY OVERLAY ELEMENTS>...CoachmarkOverlayElements will accept only one or more CoachmarkOverlayElement as child components.
186
183
 
187
184
  /**
@@ -227,3 +224,5 @@ exports.CoachmarkOverlayElements.propTypes = {
227
224
  */
228
225
  renderMedia: index.default.func
229
226
  };
227
+
228
+ exports.CoachmarkOverlayElements = CoachmarkOverlayElements;
@@ -67,5 +67,5 @@ interface CoachmarkStackProps {
67
67
  * user to gain understanding of the product's main value and discover new use cases.
68
68
  * This variant allows the stacking of multiple coachmark overlays to be displayed by interacting with the tagline.
69
69
  */
70
- export declare let CoachmarkStack: React.ForwardRefExoticComponent<CoachmarkStackProps & React.RefAttributes<HTMLDivElement>>;
70
+ export declare const CoachmarkStack: React.ForwardRefExoticComponent<CoachmarkStackProps & React.RefAttributes<HTMLDivElement>>;
71
71
  export {};
@@ -48,7 +48,7 @@ const defaults = {
48
48
  * user to gain understanding of the product's main value and discover new use cases.
49
49
  * This variant allows the stacking of multiple coachmark overlays to be displayed by interacting with the tagline.
50
50
  */
51
- exports.CoachmarkStack = /*#__PURE__*/React.forwardRef((_ref, ref) => {
51
+ const CoachmarkStack = /*#__PURE__*/React.forwardRef((_ref, ref) => {
52
52
  let {
53
53
  children,
54
54
  className,
@@ -216,16 +216,15 @@ exports.CoachmarkStack = /*#__PURE__*/React.forwardRef((_ref, ref) => {
216
216
  });
217
217
 
218
218
  // Return a placeholder if not released and not enabled by feature flag
219
- exports.CoachmarkStack = settings.pkg.checkComponentEnabled(exports.CoachmarkStack, componentName);
220
219
 
221
220
  // The display name of the component, used by React. Note that displayName
222
221
  // is used in preference to relying on function.name.
223
- exports.CoachmarkStack.displayName = componentName;
222
+ CoachmarkStack.displayName = componentName;
224
223
 
225
224
  // The types and DocGen commentary for the component props,
226
225
  // in alphabetical order (for consistency).
227
226
  // See https://www.npmjs.com/package/prop-types#usage.
228
- exports.CoachmarkStack.propTypes = {
227
+ CoachmarkStack.propTypes = {
229
228
  /**
230
229
  * CoachmarkStack should use a single CoachmarkOverlayElements component as a child.
231
230
  */
@@ -281,3 +280,5 @@ exports.CoachmarkStack.propTypes = {
281
280
  */
282
281
  tooltipAlign: index.default.oneOf(['top', 'bottom'])
283
282
  };
283
+
284
+ exports.CoachmarkStack = CoachmarkStack;
@@ -63,5 +63,5 @@ interface CoachmarkStackHomeProps {
63
63
  * DO NOT USE. This component is for the exclusive use
64
64
  * of other Onboarding components.
65
65
  */
66
- export declare let CoachmarkStackHome: React.ForwardRefExoticComponent<CoachmarkStackHomeProps & React.RefAttributes<HTMLDivElement>>;
66
+ export declare const CoachmarkStackHome: React.ForwardRefExoticComponent<CoachmarkStackHomeProps & React.RefAttributes<HTMLDivElement>>;
67
67
  export {};
@@ -32,7 +32,7 @@ const componentName = 'CoachmarkStackHome';
32
32
  * DO NOT USE. This component is for the exclusive use
33
33
  * of other Onboarding components.
34
34
  */
35
- exports.CoachmarkStackHome = /*#__PURE__*/React.forwardRef((_ref, ref) => {
35
+ const CoachmarkStackHome = /*#__PURE__*/React.forwardRef((_ref, ref) => {
36
36
  let {
37
37
  className,
38
38
  description,
@@ -144,17 +144,14 @@ exports.CoachmarkStackHome = /*#__PURE__*/React.forwardRef((_ref, ref) => {
144
144
  }, closeButtonLabel))))), portalNode?.current) : null;
145
145
  });
146
146
 
147
- // Return a placeholder if not released and not enabled by feature flag
148
- exports.CoachmarkStackHome = settings.pkg.checkComponentEnabled(exports.CoachmarkStackHome, componentName);
149
-
150
147
  // The display name of the component, used by React. Note that displayName
151
148
  // is used in preference to relying on function.name.
152
- exports.CoachmarkStackHome.displayName = componentName;
149
+ CoachmarkStackHome.displayName = componentName;
153
150
 
154
151
  // The types and DocGen commentary for the component props,
155
152
  // in alphabetical order (for consistency).
156
153
  // See https://www.npmjs.com/package/prop-types#usage.
157
- exports.CoachmarkStackHome.propTypes = {
154
+ CoachmarkStackHome.propTypes = {
158
155
  /**
159
156
  * Optional class name for this component.
160
157
  */
@@ -207,3 +204,5 @@ exports.CoachmarkStackHome.propTypes = {
207
204
  */
208
205
  tooltipAlign: index.default.oneOf(['top', 'bottom'])
209
206
  };
207
+
208
+ exports.CoachmarkStackHome = CoachmarkStackHome;
@@ -9,4 +9,4 @@ import { ConditionBuilderProps } from './ConditionBuilder.types';
9
9
  /**
10
10
  * TODO: A description of the component.
11
11
  */
12
- export declare let ConditionBuilder: React.ForwardRefExoticComponent<ConditionBuilderProps & React.RefAttributes<HTMLDivElement>>;
12
+ export declare const ConditionBuilder: React.ForwardRefExoticComponent<ConditionBuilderProps & React.RefAttributes<HTMLDivElement>>;
@@ -15,7 +15,6 @@ var cx = require('classnames');
15
15
  var devtools = require('../../global/js/utils/devtools.js');
16
16
  var ConditionBuilderContent = require('./ConditionBuilderContent/ConditionBuilderContent.js');
17
17
  var ConditionBuilderProvider = require('./ConditionBuilderContext/ConditionBuilderProvider.js');
18
- var settings = require('../../settings.js');
19
18
  var handleKeyboardEvents = require('./utils/handleKeyboardEvents.js');
20
19
  var util = require('./utils/util.js');
21
20
 
@@ -44,7 +43,7 @@ const componentName = 'ConditionBuilder';
44
43
  * TODO: A description of the component.
45
44
  */
46
45
 
47
- exports.ConditionBuilder = /*#__PURE__*/React.forwardRef((_ref, ref) => {
46
+ const ConditionBuilder = /*#__PURE__*/React.forwardRef((_ref, ref) => {
48
47
  let {
49
48
  className,
50
49
  inputConfig,
@@ -102,16 +101,15 @@ exports.ConditionBuilder = /*#__PURE__*/React.forwardRef((_ref, ref) => {
102
101
  });
103
102
 
104
103
  // Return a placeholder if not released and not enabled by feature flag
105
- exports.ConditionBuilder = settings.pkg.checkComponentEnabled(exports.ConditionBuilder, componentName);
106
104
 
107
105
  // The display name of the component, used by React. Note that displayName
108
106
  // is used in preference to relying on function.name.
109
- exports.ConditionBuilder.displayName = componentName;
107
+ ConditionBuilder.displayName = componentName;
110
108
 
111
109
  // The types and DocGen commentary for the component props,
112
110
  // in alphabetical order (for consistency).
113
111
  // See https://www.npmjs.com/package/prop-types#usage.
114
- exports.ConditionBuilder.propTypes = {
112
+ ConditionBuilder.propTypes = {
115
113
  /**
116
114
  * optional array of actions
117
115
  */
@@ -235,3 +233,5 @@ exports.ConditionBuilder.propTypes = {
235
233
  */
236
234
  variant: index.default.oneOf(['Non-Hierarchical', 'Hierarchical'])
237
235
  };
236
+
237
+ exports.ConditionBuilder = ConditionBuilder;
@@ -78,6 +78,9 @@ const ConditionBuilderItemDate = _ref => {
78
78
  return /*#__PURE__*/React.createElement("div", {
79
79
  className: `${util.blockClass}__item-date `
80
80
  }, datePickerType == 'single' && /*#__PURE__*/React.createElement(react.DatePicker, _rollupPluginBabelHelpers.extends({}, config, {
81
+ locale: {
82
+ locale: config.locale ?? 'en'
83
+ },
81
84
  ref: DatePickerInputRef,
82
85
  datePickerType: "single",
83
86
  value: conditionState.value,
@@ -89,6 +92,9 @@ const ConditionBuilderItemDate = _ref => {
89
92
  placeholder: "dd/mm/yyyy",
90
93
  labelText: conditionState.property
91
94
  })), datePickerType == 'range' && /*#__PURE__*/React.createElement(react.DatePicker, _rollupPluginBabelHelpers.extends({}, config, {
95
+ locale: {
96
+ locale: config.locale ?? 'en'
97
+ },
92
98
  ref: DatePickerInputRef,
93
99
  datePickerType: datePickerType,
94
100
  onClose: onCloseHandler,
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright IBM Corp. 2020, 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ 'use strict';
9
+
10
+ var ConditionBuilder = require('./ConditionBuilder.js');
11
+
12
+
13
+
14
+ exports.ConditionBuilder = ConditionBuilder.ConditionBuilder;
@@ -142,5 +142,5 @@ on the Carbon's grid system
142
142
  include `<Row>` and `<Column>` components inside of each `CreateFullPageStep`
143
143
  component to get the desired affect.
144
144
  */
145
- export declare let CreateFullPage: React.ForwardRefExoticComponent<CreateFullPageProps & React.RefAttributes<HTMLDivElement>>;
145
+ export declare const CreateFullPage: React.ForwardRefExoticComponent<CreateFullPageProps & React.RefAttributes<HTMLDivElement>>;
146
146
  export {};
@@ -47,7 +47,7 @@ on the Carbon's grid system
47
47
  include `<Row>` and `<Column>` components inside of each `CreateFullPageStep`
48
48
  component to get the desired affect.
49
49
  */
50
- exports.CreateFullPage = /*#__PURE__*/React.forwardRef((_ref, ref) => {
50
+ const CreateFullPage = /*#__PURE__*/React.forwardRef((_ref, ref) => {
51
51
  let {
52
52
  breadcrumbsOverflowAriaLabel,
53
53
  breadcrumbs,
@@ -220,16 +220,15 @@ exports.CreateFullPage = /*#__PURE__*/React.forwardRef((_ref, ref) => {
220
220
  });
221
221
 
222
222
  // Return a placeholder if not released and not enabled by feature flag.
223
- exports.CreateFullPage = settings.pkg.checkComponentEnabled(exports.CreateFullPage, componentName);
224
223
 
225
224
  // The display name of the component, used by React. Note that displayName
226
225
  // is used in preference to relying on function.name.
227
- exports.CreateFullPage.displayName = componentName;
226
+ CreateFullPage.displayName = componentName;
228
227
 
229
228
  // The types and DocGen commentary for the component props,
230
229
  // in alphabetical order (for consistency).
231
230
  // See https://www.npmjs.com/package/prop-types#usage.
232
- exports.CreateFullPage.propTypes = {
231
+ CreateFullPage.propTypes = {
233
232
  /**
234
233
  * The back button text
235
234
  */
@@ -338,5 +337,6 @@ exports.CreateFullPage.propTypes = {
338
337
  title: index.default.string
339
338
  };
340
339
 
340
+ exports.CreateFullPage = CreateFullPage;
341
341
  exports.StepNumberContext = StepNumberContext;
342
342
  exports.StepsContext = StepsContext;
@@ -73,5 +73,5 @@ type CreateFullPageStepFieldsetProps = {
73
73
  fieldsetLegendText: string;
74
74
  };
75
75
  export type CreateFullPageStepProps = CreateFullPageStepBaseProps & CreateFullPageStepFieldsetProps;
76
- export declare let CreateFullPageStep: React.ForwardRefExoticComponent<CreateFullPageStepProps & React.RefAttributes<HTMLDivElement>>;
76
+ export declare const CreateFullPageStep: React.ForwardRefExoticComponent<CreateFullPageStepProps & React.RefAttributes<HTMLDivElement>>;
77
77
  export {};
@@ -30,7 +30,7 @@ const defaults = {
30
30
  // Basically, fieldsetLegendText should only be specified when hasFieldset is true.
31
31
  // And usually, hasFieldset won't be specified at all unless it's being set to true.
32
32
 
33
- exports.CreateFullPageStep = /*#__PURE__*/React.forwardRef((_ref, ref) => {
33
+ const CreateFullPageStep = /*#__PURE__*/React.forwardRef((_ref, ref) => {
34
34
  let {
35
35
  // The component props, in alphabetical order (for consistency).
36
36
 
@@ -128,10 +128,7 @@ exports.CreateFullPageStep = /*#__PURE__*/React.forwardRef((_ref, ref) => {
128
128
  className: `${blockClass}-fieldset`
129
129
  }, children) : children) : pconsole.default.warn(`You have tried using a ${componentName} component outside of a CreateFullPage. This is not allowed. ${componentName}s should always be children of the CreateFullPage`);
130
130
  });
131
-
132
- // Return a placeholder if not released and not enabled by feature flag
133
- exports.CreateFullPageStep = settings.pkg.checkComponentEnabled(exports.CreateFullPageStep, componentName);
134
- exports.CreateFullPageStep.propTypes = {
131
+ CreateFullPageStep.propTypes = {
135
132
  /**
136
133
  * Content that shows in the CreateFullPage step
137
134
  */
@@ -198,3 +195,5 @@ exports.CreateFullPageStep.propTypes = {
198
195
  */
199
196
  title: index.default.node.isRequired
200
197
  };
198
+
199
+ exports.CreateFullPageStep = CreateFullPageStep;
@@ -64,4 +64,4 @@ resource. It is triggered by a user’s action, appears on top of the main page
64
64
  content, and is persistent until dismissed. The purpose of this modal should be
65
65
  immediately apparent to the user, with a clear and obvious path to completion.
66
66
  */
67
- export declare let CreateModal: React.ForwardRefExoticComponent<CreateModalProps & React.RefAttributes<HTMLDivElement>>;
67
+ export declare const CreateModal: React.ForwardRefExoticComponent<CreateModalProps & React.RefAttributes<HTMLDivElement>>;
@@ -24,7 +24,7 @@ resource. It is triggered by a user’s action, appears on top of the main page
24
24
  content, and is persistent until dismissed. The purpose of this modal should be
25
25
  immediately apparent to the user, with a clear and obvious path to completion.
26
26
  */
27
- exports.CreateModal = /*#__PURE__*/React.forwardRef((props, ref) => {
27
+ const CreateModal = /*#__PURE__*/React.forwardRef((props, ref) => {
28
28
  const {
29
29
  className,
30
30
  children,
@@ -80,8 +80,8 @@ exports.CreateModal = /*#__PURE__*/React.forwardRef((props, ref) => {
80
80
  });
81
81
 
82
82
  // Return a placeholder if not released and not enabled by feature flag
83
- exports.CreateModal = settings.pkg.checkComponentEnabled(exports.CreateModal, componentName);
84
- exports.CreateModal.propTypes = {
83
+
84
+ CreateModal.propTypes = {
85
85
  /**
86
86
  * Children refers to all form items within a form inside of the modal's body.
87
87
  */
@@ -138,4 +138,6 @@ exports.CreateModal.propTypes = {
138
138
  */
139
139
  title: index.default.node.isRequired
140
140
  };
141
- exports.CreateModal.displayName = componentName;
141
+ CreateModal.displayName = componentName;
142
+
143
+ exports.CreateModal = CreateModal;
@@ -78,7 +78,7 @@ interface CreateSidePanelProps {
78
78
  /**
79
79
  * Use with medium complexity creations if the user needs page context. On-page content can be seen and interacted with.
80
80
  */
81
- export declare let CreateSidePanel: React.ForwardRefExoticComponent<CreateSidePanelProps & {
81
+ export declare const CreateSidePanel: React.ForwardRefExoticComponent<CreateSidePanelProps & {
82
82
  children?: ReactNode | undefined;
83
83
  } & React.RefAttributes<HTMLDivElement>>;
84
84
  export {};
@@ -26,7 +26,7 @@ const componentName = 'CreateSidePanel';
26
26
  /**
27
27
  * Use with medium complexity creations if the user needs page context. On-page content can be seen and interacted with.
28
28
  */
29
- exports.CreateSidePanel = /*#__PURE__*/React.forwardRef((_ref, ref) => {
29
+ const CreateSidePanel = /*#__PURE__*/React.forwardRef((_ref, ref) => {
30
30
  let {
31
31
  // The component props, in alphabetical order (for consistency).
32
32
  className,
@@ -88,9 +88,8 @@ exports.CreateSidePanel = /*#__PURE__*/React.forwardRef((_ref, ref) => {
88
88
  onSubmit: e => e.preventDefault()
89
89
  }, children));
90
90
  });
91
- exports.CreateSidePanel = settings.pkg.checkComponentEnabled(exports.CreateSidePanel, componentName);
92
- exports.CreateSidePanel.displayName = componentName;
93
- exports.CreateSidePanel.propTypes = {
91
+ CreateSidePanel.displayName = componentName;
92
+ CreateSidePanel.propTypes = {
94
93
  /**
95
94
  * Sets the body content of the create side panel
96
95
  */
@@ -167,3 +166,5 @@ exports.CreateSidePanel.propTypes = {
167
166
  */
168
167
  title: index.default.string.isRequired
169
168
  };
169
+
170
+ exports.CreateSidePanel = CreateSidePanel;
@@ -122,5 +122,5 @@ interface Step {
122
122
  shouldIncludeStep?: boolean;
123
123
  title?: string;
124
124
  }
125
- export declare let CreateTearsheet: React.ForwardRefExoticComponent<CreateTearsheetProps & React.RefAttributes<HTMLDivElement>>;
125
+ export declare const CreateTearsheet: React.ForwardRefExoticComponent<CreateTearsheetProps & React.RefAttributes<HTMLDivElement>>;
126
126
  export {};
@@ -37,7 +37,7 @@ const StepsContext = /*#__PURE__*/React.createContext(null);
37
37
  // This is a context supplied separately to each step in the container
38
38
  // to let it know what number it is in the sequence of steps
39
39
  const StepNumberContext = /*#__PURE__*/React.createContext(-1);
40
- exports.CreateTearsheet = /*#__PURE__*/React.forwardRef((_ref, ref) => {
40
+ const CreateTearsheet = /*#__PURE__*/React.forwardRef((_ref, ref) => {
41
41
  let {
42
42
  // The component props, in alphabetical order (for consistency).
43
43
 
@@ -189,11 +189,10 @@ exports.CreateTearsheet = /*#__PURE__*/React.forwardRef((_ref, ref) => {
189
189
  });
190
190
 
191
191
  // Return a placeholder if not released and not enabled by feature flag
192
- exports.CreateTearsheet = settings.pkg.checkComponentEnabled(exports.CreateTearsheet, componentName);
193
192
 
194
193
  // The display name of the component, used by React. Note that displayName
195
194
  // is used in preference to relying on function.name.
196
- exports.CreateTearsheet.displayName = componentName;
195
+ CreateTearsheet.displayName = componentName;
197
196
  const deprecatedProps = {
198
197
  /**
199
198
  * @deprecated Property replaced by `decorator`
@@ -202,7 +201,7 @@ const deprecatedProps = {
202
201
  };
203
202
  // Note that the descriptions here should be kept in sync with those for the
204
203
  // corresponding props for TearsheetNarrow and TearsheetShell components.
205
- exports.CreateTearsheet.propTypes = {
204
+ CreateTearsheet.propTypes = {
206
205
  /**
207
206
  * The back button text
208
207
  */
@@ -299,5 +298,6 @@ exports.CreateTearsheet.propTypes = {
299
298
  ...deprecatedProps
300
299
  };
301
300
 
301
+ exports.CreateTearsheet = CreateTearsheet;
302
302
  exports.StepNumberContext = StepNumberContext;
303
303
  exports.StepsContext = StepsContext;
@@ -9,5 +9,5 @@ interface CreateTearsheetDividerProps {
9
9
  /** Specifies an optional className to be added to the tearsheet divider */
10
10
  className?: string;
11
11
  }
12
- export declare let CreateTearsheetDivider: React.FC<CreateTearsheetDividerProps>;
12
+ export declare const CreateTearsheetDivider: React.FC<CreateTearsheetDividerProps>;
13
13
  export {};
@@ -13,9 +13,8 @@ var index = require('../../_virtual/index.js');
13
13
  var cx = require('classnames');
14
14
  var settings = require('../../settings.js');
15
15
 
16
- const componentName = 'CreateTearsheetDivider';
17
16
  const blockClass = `${settings.pkg.prefix}--tearsheet-create__section--divider`;
18
- exports.CreateTearsheetDivider = /*#__PURE__*/React.forwardRef((_ref, ref) => {
17
+ const CreateTearsheetDivider = /*#__PURE__*/React.forwardRef((_ref, ref) => {
19
18
  let {
20
19
  className,
21
20
  // Collect any other property values passed in
@@ -26,12 +25,11 @@ exports.CreateTearsheetDivider = /*#__PURE__*/React.forwardRef((_ref, ref) => {
26
25
  className: cx(blockClass, className)
27
26
  }));
28
27
  });
29
-
30
- // Return a placeholder if not released and not enabled by feature flag
31
- exports.CreateTearsheetDivider = settings.pkg.checkComponentEnabled(exports.CreateTearsheetDivider, componentName);
32
- exports.CreateTearsheetDivider.propTypes = {
28
+ CreateTearsheetDivider.propTypes = {
33
29
  /**
34
30
  * Sets an optional className to be added to the tearsheet divider
35
31
  */
36
32
  className: index.default.string
37
33
  };
34
+
35
+ exports.CreateTearsheetDivider = CreateTearsheetDivider;
@@ -117,5 +117,5 @@ export type ExperimentalSecondarySubmit = {
117
117
  hideSecondarySubmit?: boolean;
118
118
  onClick?: () => void;
119
119
  };
120
- export declare let CreateTearsheetStep: React.ForwardRefExoticComponent<CreateTearsheetStepProps & React.RefAttributes<unknown>>;
120
+ export declare const CreateTearsheetStep: React.ForwardRefExoticComponent<CreateTearsheetStepProps & React.RefAttributes<unknown>>;
121
121
  export {};
@@ -36,7 +36,7 @@ const defaults = {
36
36
  * @property {() => void} [onClick] - Optional click handler function to be executed when the button is clicked.
37
37
  */
38
38
 
39
- exports.CreateTearsheetStep = /*#__PURE__*/React.forwardRef((_ref, ref) => {
39
+ const CreateTearsheetStep = /*#__PURE__*/React.forwardRef((_ref, ref) => {
40
40
  let {
41
41
  // The component props, in alphabetical order (for consistency).
42
42
 
@@ -164,10 +164,7 @@ exports.CreateTearsheetStep = /*#__PURE__*/React.forwardRef((_ref, ref) => {
164
164
  legendId: fieldsetLegendId
165
165
  }, children) : children))) : pconsole.default.warn(`You have tried using a ${componentName} component outside of a CreateTearsheet. This is not allowed. ${componentName}s should always be children of the CreateTearsheet`);
166
166
  });
167
-
168
- // Return a placeholder if not released and not enabled by feature flag
169
- exports.CreateTearsheetStep = settings.pkg.checkComponentEnabled(exports.CreateTearsheetStep, componentName);
170
- exports.CreateTearsheetStep.propTypes = {
167
+ CreateTearsheetStep.propTypes = {
171
168
  /**
172
169
  * Content that shows in the tearsheet step
173
170
  */
@@ -259,3 +256,5 @@ exports.CreateTearsheetStep.propTypes = {
259
256
  */
260
257
  title: index.default.node.isRequired
261
258
  };
259
+
260
+ exports.CreateTearsheetStep = CreateTearsheetStep;
@@ -82,5 +82,5 @@ export interface CreateTearsheetNarrowProps extends PropsWithChildren {
82
82
  * Use a narrow tearsheet as an alternative to a modal when there is scrolling.
83
83
  * Use when the form fields can be broken down into sections using section headers.
84
84
  */
85
- export declare let CreateTearsheetNarrow: React.ForwardRefExoticComponent<CreateTearsheetNarrowProps & React.RefAttributes<unknown>>;
85
+ export declare const CreateTearsheetNarrow: React.ForwardRefExoticComponent<CreateTearsheetNarrowProps & React.RefAttributes<unknown>>;
86
86
  export {};
@@ -27,7 +27,7 @@ const componentName = 'CreateTearsheetNarrow';
27
27
  * Use a narrow tearsheet as an alternative to a modal when there is scrolling.
28
28
  * Use when the form fields can be broken down into sections using section headers.
29
29
  */
30
- exports.CreateTearsheetNarrow = /*#__PURE__*/React.forwardRef((_ref, ref) => {
30
+ const CreateTearsheetNarrow = /*#__PURE__*/React.forwardRef((_ref, ref) => {
31
31
  let {
32
32
  children,
33
33
  className,
@@ -85,17 +85,14 @@ exports.CreateTearsheetNarrow = /*#__PURE__*/React.forwardRef((_ref, ref) => {
85
85
  }, children));
86
86
  });
87
87
 
88
- // Return a placeholder if not released and not enabled by feature flag
89
- exports.CreateTearsheetNarrow = settings.pkg.checkComponentEnabled(exports.CreateTearsheetNarrow, componentName);
90
-
91
88
  // The display name of the component, used by React. Note that displayName
92
89
  // is used in preference to relying on function.name.
93
- exports.CreateTearsheetNarrow.displayName = componentName;
90
+ CreateTearsheetNarrow.displayName = componentName;
94
91
 
95
92
  // The types and DocGen commentary for the component props,
96
93
  // in alphabetical order (for consistency).
97
94
  // See https://www.npmjs.com/package/prop-types#usage.
98
- exports.CreateTearsheetNarrow.propTypes = {
95
+ CreateTearsheetNarrow.propTypes = {
99
96
  /**
100
97
  * Provide the contents of the CreateTearsheetNarrow.
101
98
  */
@@ -167,3 +164,5 @@ exports.CreateTearsheetNarrow.propTypes = {
167
164
  */
168
165
  verticalPosition: index.default.oneOf(['normal', 'lower'])
169
166
  };
167
+
168
+ exports.CreateTearsheetNarrow = CreateTearsheetNarrow;
@@ -93,4 +93,4 @@ export interface DataSpreadsheetProps {
93
93
  /**
94
94
  * DataSpreadsheet: used to organize and display large amounts of structured data, separated by columns and rows in a grid-like format.
95
95
  */
96
- export declare let DataSpreadsheet: React.ForwardRefExoticComponent<DataSpreadsheetProps & React.RefAttributes<HTMLDivElement>>;
96
+ export declare const DataSpreadsheet: React.ForwardRefExoticComponent<DataSpreadsheetProps & React.RefAttributes<HTMLDivElement>>;