@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
@@ -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 TruncatedList = require('./TruncatedList.js');
11
+
12
+
13
+
14
+ exports.TruncatedList = TruncatedList.TruncatedList;
@@ -56,5 +56,5 @@ type UserAvatarBaseProps = {
56
56
  tooltipText?: string;
57
57
  };
58
58
  type UserAvatarProps = UserAvatarBaseProps & ImageProps;
59
- export declare let UserAvatar: React.ForwardRefExoticComponent<UserAvatarProps & React.RefAttributes<HTMLDivElement>>;
59
+ export declare const UserAvatar: React.ForwardRefExoticComponent<UserAvatarProps & React.RefAttributes<HTMLDivElement>>;
60
60
  export {};
@@ -31,7 +31,7 @@ const componentName = 'UserAvatar';
31
31
  * TODO: A description of the component.
32
32
  */
33
33
 
34
- exports.UserAvatar = /*#__PURE__*/React.forwardRef((props, ref) => {
34
+ const UserAvatar = /*#__PURE__*/React.forwardRef((props, ref) => {
35
35
  const {
36
36
  backgroundColor = 'order-1-cyan',
37
37
  className,
@@ -109,16 +109,15 @@ exports.UserAvatar = /*#__PURE__*/React.forwardRef((props, ref) => {
109
109
  });
110
110
 
111
111
  // Return a placeholder if not released and not enabled by feature flag
112
- exports.UserAvatar = settings.pkg.checkComponentEnabled(exports.UserAvatar, componentName);
113
112
 
114
113
  // The display name of the component, used by React. Note that displayName
115
114
  // is used in preference to relying on function.name.
116
- exports.UserAvatar.displayName = componentName;
115
+ UserAvatar.displayName = componentName;
117
116
 
118
117
  // The types and DocGen commentary for the component props,
119
118
  // in alphabetical order (for consistency).
120
119
  // See https://www.npmjs.com/package/prop-types#usage.
121
- exports.UserAvatar.propTypes = {
120
+ UserAvatar.propTypes = {
122
121
  /**
123
122
  * Provide the background color need to be set for UserAvatar. Background color will be set based on lighter or darker theme.
124
123
  * For example: if you select order-5-purple, it will take $purple-60 for lighter theme and $purple-50 for darker theme.
@@ -161,3 +160,5 @@ exports.UserAvatar.propTypes = {
161
160
  tooltipText: index.default.string
162
161
  /* TODO: add types and DocGen for all props. */
163
162
  };
163
+
164
+ exports.UserAvatar = UserAvatar;
@@ -65,5 +65,5 @@ export type UserProfileImageProps = UserProfileImageBaseProps & imageProps;
65
65
  * The user profile avatar allows for an image of the user to be displayed by passing in the image prop. By default the component will display a user icon on a blue background.
66
66
  * @deprecated This component is deprecated.
67
67
  */
68
- export declare let UserProfileImage: React.ForwardRefExoticComponent<UserProfileImageProps & React.RefAttributes<HTMLDivElement>>;
68
+ export declare const UserProfileImage: React.ForwardRefExoticComponent<UserProfileImageProps & React.RefAttributes<HTMLDivElement>>;
69
69
  export {};
@@ -28,7 +28,7 @@ const componentName = 'UserProfileImage';
28
28
  * The user profile avatar allows for an image of the user to be displayed by passing in the image prop. By default the component will display a user icon on a blue background.
29
29
  * @deprecated This component is deprecated.
30
30
  */
31
- exports.UserProfileImage = /*#__PURE__*/React.forwardRef((props, ref) => {
31
+ const UserProfileImage = /*#__PURE__*/React.forwardRef((props, ref) => {
32
32
  var _FillItem;
33
33
  const {
34
34
  backgroundColor,
@@ -112,15 +112,15 @@ exports.UserProfileImage = /*#__PURE__*/React.forwardRef((props, ref) => {
112
112
  });
113
113
 
114
114
  /**@ts-ignore*/
115
- exports.UserProfileImage.deprecated = {
115
+ UserProfileImage.deprecated = {
116
116
  level: 'warn',
117
117
  details: `Please replace ${componentName} with UserAvatar`
118
118
  };
119
119
 
120
120
  // Return a placeholder if not released and not enabled by feature flag
121
- exports.UserProfileImage = settings.pkg.checkComponentEnabled(exports.UserProfileImage, componentName);
122
- exports.UserProfileImage.displayName = componentName;
123
- exports.UserProfileImage.propTypes = {
121
+
122
+ UserProfileImage.displayName = componentName;
123
+ UserProfileImage.propTypes = {
124
124
  /**
125
125
  * The background color passed should match one of the background colors in the library documentation:
126
126
  * https://pages.github.ibm.com/carbon/ibm-products/patterns/user-profile-images/
@@ -169,3 +169,5 @@ exports.UserProfileImage.propTypes = {
169
169
  */
170
170
  tooltipText: index.default.string
171
171
  };
172
+
173
+ exports.UserProfileImage = UserProfileImage;
@@ -48,5 +48,5 @@ export interface WebTerminalProps extends PropsWithChildren {
48
48
  /**
49
49
  * The `WebTerminal` is prompted by the user and is persistent until dismissed. The purpose of a web terminal is to provide users with the ability to type commands manually instead of using the GUI.
50
50
  */
51
- export declare let WebTerminal: React.ForwardRefExoticComponent<WebTerminalProps & React.RefAttributes<HTMLDivElement>>;
51
+ export declare const WebTerminal: React.ForwardRefExoticComponent<WebTerminalProps & React.RefAttributes<HTMLDivElement>>;
52
52
  export {};
@@ -33,7 +33,7 @@ const defaults = {
33
33
  /**
34
34
  * The `WebTerminal` is prompted by the user and is persistent until dismissed. The purpose of a web terminal is to provide users with the ability to type commands manually instead of using the GUI.
35
35
  */
36
- exports.WebTerminal = /*#__PURE__*/React.forwardRef((_ref, ref) => {
36
+ const WebTerminal = /*#__PURE__*/React.forwardRef((_ref, ref) => {
37
37
  let {
38
38
  // The component props, in alphabetical order (for consistency).
39
39
 
@@ -150,16 +150,15 @@ exports.WebTerminal = /*#__PURE__*/React.forwardRef((_ref, ref) => {
150
150
  });
151
151
 
152
152
  // Return a placeholder if not released and not enabled by feature flag
153
- exports.WebTerminal = settings.pkg.checkComponentEnabled(exports.WebTerminal, componentName);
154
153
 
155
154
  // The display name of the component, used by React. Note that displayName
156
155
  // is used in preference to relying on function.name.
157
- exports.WebTerminal.displayName = componentName;
156
+ WebTerminal.displayName = componentName;
158
157
 
159
158
  // The types and DocGen commentary for the component props,
160
159
  // in alphabetical order (for consistency).
161
160
  // See https://www.npmjs.com/package/prop-types#usage.
162
- exports.WebTerminal.propTypes = {
161
+ WebTerminal.propTypes = {
163
162
  /**
164
163
  * An array of actions to be displayed in the web terminal header bar
165
164
  */
@@ -201,3 +200,5 @@ exports.WebTerminal.propTypes = {
201
200
  */
202
201
  webTerminalAriaLabel: index.default.string
203
202
  };
203
+
204
+ exports.WebTerminal = WebTerminal;
@@ -11,4 +11,4 @@ export interface WebTerminalContentWrapperProps {
11
11
  */
12
12
  children: ReactNode;
13
13
  }
14
- export declare let WebTerminalContentWrapper: React.ForwardRefExoticComponent<WebTerminalContentWrapperProps & React.RefAttributes<HTMLDivElement>>;
14
+ export declare const WebTerminalContentWrapper: React.ForwardRefExoticComponent<WebTerminalContentWrapperProps & React.RefAttributes<HTMLDivElement>>;
@@ -17,7 +17,7 @@ var index$1 = require('./hooks/index.js');
17
17
  // The block part of our conventional BEM class names (blockClass__E--M).
18
18
  const componentName = 'WebTerminalContentWrapper';
19
19
  const blockClass = `${settings.pkg.prefix}--web-terminal-content-wrapper`;
20
- exports.WebTerminalContentWrapper = /*#__PURE__*/React.forwardRef((_ref, ref) => {
20
+ const WebTerminalContentWrapper = /*#__PURE__*/React.forwardRef((_ref, ref) => {
21
21
  let {
22
22
  // The component props, in alphabetical order (for consistency).
23
23
  children,
@@ -35,19 +35,18 @@ exports.WebTerminalContentWrapper = /*#__PURE__*/React.forwardRef((_ref, ref) =>
35
35
  }, rest), children);
36
36
  });
37
37
 
38
- // Return a placeholder if not released and not enabled by feature flag
39
- exports.WebTerminalContentWrapper = settings.pkg.checkComponentEnabled(exports.WebTerminalContentWrapper, componentName);
40
-
41
38
  // The display name of the component, used by React. Note that displayName
42
39
  // is used in preference to relying on function.name.
43
- exports.WebTerminalContentWrapper.displayName = componentName;
40
+ WebTerminalContentWrapper.displayName = componentName;
44
41
 
45
42
  // The types and DocGen commentary for the component props,
46
43
  // in alphabetical order (for consistency).
47
44
  // See https://www.npmjs.com/package/prop-types#usage.
48
- exports.WebTerminalContentWrapper.propTypes = {
45
+ WebTerminalContentWrapper.propTypes = {
49
46
  /**
50
47
  * Pass in content as children.
51
48
  */
52
49
  children: index.default.oneOfType([index.default.arrayOf(index.default.node), index.default.node]).isRequired
53
50
  };
51
+
52
+ exports.WebTerminalContentWrapper = WebTerminalContentWrapper;
@@ -12,6 +12,6 @@ interface WebTerminalProviderProps {
12
12
  */
13
13
  children: ReactNode | ReactNode[];
14
14
  }
15
- export declare let WebTerminalProvider: React.FC<WebTerminalProviderProps>;
15
+ export declare const WebTerminalProvider: React.FC<WebTerminalProviderProps>;
16
16
  export declare const useWebTerminal: () => WebTerminalContextType;
17
17
  export {};
@@ -9,7 +9,6 @@
9
9
 
10
10
  var React = require('react');
11
11
  var index = require('../../../_virtual/index.js');
12
- var settings = require('../../../settings.js');
13
12
 
14
13
  // Copyright IBM Corp. 2022, 2022
15
14
  //
@@ -18,8 +17,7 @@ var settings = require('../../../settings.js');
18
17
  //
19
18
 
20
19
  const WebTerminalContext = /*#__PURE__*/React.createContext({});
21
- const componentName = 'WebTerminalProvider';
22
- exports.WebTerminalProvider = _ref => {
20
+ const WebTerminalProvider = _ref => {
23
21
  let {
24
22
  children
25
23
  } = _ref;
@@ -36,10 +34,7 @@ exports.WebTerminalProvider = _ref => {
36
34
  }
37
35
  }, children);
38
36
  };
39
-
40
- // Return a placeholder if not released and not enabled by feature flag
41
- exports.WebTerminalProvider = settings.pkg.checkComponentEnabled(exports.WebTerminalProvider, componentName);
42
- exports.WebTerminalProvider.propTypes = {
37
+ WebTerminalProvider.propTypes = {
43
38
  /**
44
39
  * Provide your own terminal component as children to show up in the web terminal
45
40
  */
@@ -52,4 +47,5 @@ const useWebTerminal = () => {
52
47
  };
53
48
 
54
49
  exports.WebTerminalContext = WebTerminalContext;
50
+ exports.WebTerminalProvider = WebTerminalProvider;
55
51
  exports.useWebTerminal = useWebTerminal;
@@ -1,74 +1,84 @@
1
1
  import '../feature-flags';
2
+ /**
3
+ * Stable components
4
+ */
2
5
  export * from './AboutModal';
6
+ export { ActionBar } from './ActionBar';
3
7
  export * from './APIKeyModal';
4
8
  export * from './Cascade';
5
- export * from './ComboButton';
9
+ export * from './Checklist';
6
10
  export * from './CreateFullPage';
7
11
  export * from './CreateModal';
8
12
  export * from './CreateSidePanel';
9
13
  export * from './CreateTearsheet';
10
14
  export * from './CreateTearsheetNarrow';
15
+ export * from './EditSidePanel';
16
+ export * from './EditInPlace';
11
17
  export * from './EmptyStates';
12
18
  export * from './ExportModal';
13
19
  export * from './ExpressiveCard';
14
- export * from './HTTPErrors';
20
+ export * from './FullPageError';
15
21
  export * from './ImportModal';
22
+ export * from './InterstitialScreen';
16
23
  export * from './MultiAddSelect';
17
24
  export * from './NotificationsPanel';
25
+ export * from './OptionsTile';
18
26
  export * from './PageHeader';
19
27
  export * from './ProductiveCard';
20
28
  export * from './RemoveModal';
21
29
  export * from './Saving';
30
+ export * from './ScrollGradient';
22
31
  export * from './SidePanel';
23
32
  export * from './SingleAddSelect';
24
33
  export * from './StatusIcon';
34
+ export * from './StringFormatter';
35
+ export * from './TagOverflow';
25
36
  export * from './TagSet';
26
37
  export * from './Tearsheet';
27
- export * from './Toolbar';
28
- export * from './UserProfileImage';
38
+ export * from './TruncatedText';
39
+ export * from './UserAvatar';
29
40
  export * from './WebTerminal';
30
- export * from './EditSidePanel';
31
- export * from './OptionsTile';
32
- export * from './EditInPlace';
33
- export * from './DataSpreadsheet';
41
+ /**
42
+ * Non-stable components
43
+ * draft | previewCandidate | preview
44
+ */
45
+ export * as preview__Coachmark from './Coachmark/next/Coachmark';
46
+ export { FeatureFlags as preview__FeatureFlags, useFeatureFlag as preview__useFeatureFlag, useFeatureFlags as preview__useFeatureFlags, } from './FeatureFlags';
47
+ export * as preview__PageHeader from './PageHeader/next/PageHeader';
48
+ export * as previewCandidate__BigNumber from './BigNumber';
49
+ export { Coachmark as previewCandidate__Coachmark, BEACON_KIND, COACHMARK_OVERLAY_KIND, COACHMARK_ALIGNMENT, useCoachmark, type CoachmarkProps, } from './Coachmark';
50
+ export { CoachmarkBeacon as previewCandidate__CoachmarkBeacon, type CoachmarkBeaconProps, } from './CoachmarkBeacon';
51
+ export { CoachmarkButton as previewCandidate__CoachmarkButton, type CoachmarkButtonProps, } from './CoachmarkButton';
52
+ export { CoachmarkFixed as previewCandidate__CoachmarkFixed, type CoachmarkFixedProps, } from './CoachmarkFixed';
53
+ export { CoachmarkOverlayElement as previewCandidate__CoachmarkOverlayElement, type CoachmarkOverlayElementProps, } from './CoachmarkOverlayElement';
54
+ export { CoachmarkOverlayElements as previewCandidate__CoachmarkOverlayElements, type CoachmarkOverlayElementsProps, } from './CoachmarkOverlayElements';
55
+ export { CoachmarkStack as previewCandidate__CoachmarkStack } from './CoachmarkStack';
56
+ export * as previewCandidate__ConditionBuilder from './ConditionBuilder';
57
+ export * as previewCandidate__DataSpreadsheet from './DataSpreadsheet';
58
+ export * as previewCandidate__DelimitedList from './DelimitedList';
59
+ export * as previewCandidate__Decorator from './Decorator';
60
+ export * as previewCandidate__GetStartedCard from './GetStartedCard';
61
+ export { Guidebanner as previewCandidate__Guidebanner, GuidebannerElement as previewCandidate__GuidebannerElement, GuidebannerElementButton as previewCandidate__GuidebannerElementButton, GuidebannerElementLink as previewCandidate__GuidebannerElementLink, type GuidebannerProps, type GuidebannerElementProps, type GuidebannerElementButtonProps, type GuidebannerElementLinkProps, } from './Guidebanner';
62
+ export { InlineTip as previewCandidate__InlineTip, InlineTipButton as previewCandidate__InlineTipButton, InlineTipLink as previewCandidate__InlineTipLink, type InlineTipProps, type InlineTipButtonProps, type InlineTipLinkProps, } from './InlineTip';
63
+ export * as previewCandidate__NonLinearReading from './NonLinearReading';
64
+ export * as previewCandidate__SearchBar from './SearchBar';
65
+ export { Toolbar as previewCandidate__Toolbar, ToolbarButton as previewCandidate__ToolbarButton, ToolbarGroup as previewCandidate__ToolbarGroup, type ToolbarProps, type ToolbarButtonProps, type ToolbarGroupProps, } from './Toolbar';
66
+ export * as previewCandidate__TruncatedList from './TruncatedList';
67
+ /**
68
+ * Deprecated
69
+ */
70
+ export * from './ComboButton';
34
71
  export * from './Datagrid';
35
- export * from './EditTearsheet';
36
- export * from './EditTearsheetNarrow';
37
- export * from './EditFullPage';
38
- export * from './EditUpdateCards';
39
- export * from './Checklist';
40
- export { Coachmark } from './Coachmark';
41
- export { Coachmark as preview__Coachmark } from './Coachmark/next/Coachmark';
42
- export * from './CoachmarkBeacon';
43
- export * from './CoachmarkButton';
44
- export * from './CoachmarkFixed';
45
- export * from './CoachmarkOverlayElement';
46
- export * from './CoachmarkOverlayElements';
47
- export * from './CoachmarkStack';
48
- export * from './Guidebanner';
49
- export * from './InlineTip';
50
- export * from './NonLinearReading';
51
- export * from './BigNumber';
52
- export * from './TruncatedList';
53
- export * from './TruncatedText';
54
- export * from './InterstitialScreen';
55
- export * from './DelimitedList';
56
- export * from './Decorator';
57
72
  export * from './DecoratorLink';
58
- export * from './DecoratorSingleButton';
59
73
  export * from './DecoratorDualButton';
74
+ export * from './DecoratorSingleButton';
60
75
  export * from './DescriptionList';
61
- export * from './FullPageError';
62
- export * from './SearchBar';
76
+ export * from './EditFullPage';
77
+ export * from './EditTearsheet';
78
+ export * from './EditTearsheetNarrow';
79
+ export * from './EditUpdateCards';
80
+ export * from './FilterPanel';
81
+ export * from './HTTPErrors';
63
82
  export * from './Nav';
64
- export * from './StringFormatter';
65
- export * from './UserAvatar';
66
- export * from './ScrollGradient';
67
83
  export * from './StatusIndicator';
68
- export * from './TagOverflow';
69
- export { ActionBar } from './ActionBar';
70
- export * from './FilterPanel';
71
- export * from './ConditionBuilder';
72
- export * from './GetStartedCard';
73
- export * as preview__PageHeader from './PageHeader/next/PageHeader';
74
- export { FeatureFlags as unstable_FeatureFlags, useFeatureFlag as unstable_useFeatureFlag, useFeatureFlags as unstable_useFeatureFlags, } from './FeatureFlags';
84
+ export * from './UserProfileImage';
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright IBM Corp. 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
+ import { InitCarousel, Config } from './types';
8
+ /**
9
+ * Initializes a carousel with the given configuration.
10
+ * @param carouselContainer - The HTMLElement representing the carousel container.
11
+ * @param config - Optional configuration object.
12
+ * @returns An object containing methods to control the carousel.
13
+ */
14
+ export declare const initCarousel: (carouselContainer: HTMLElement, config?: Config) => InitCarousel;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Copyright IBM Corp. 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
+ export * from './carousel';
8
+ export * from './types';
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Copyright IBM Corp. 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
+ export declare const registerSwipeEvents: (carousel: HTMLElement, next: () => void, prev: () => void, destroy: boolean) => void;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2025
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ interface CarouselStackHistory {
10
+ id: number;
11
+ elem: HTMLLIElement;
12
+ }
13
+ type CarouselResponse = {
14
+ currentIndex: number;
15
+ lastIndex: number;
16
+ totalViews: number;
17
+ historyStack: CarouselStackHistory[];
18
+ };
19
+ type ActiveItem = {
20
+ index: number;
21
+ item: HTMLElement | null;
22
+ };
23
+ export type Config = {
24
+ onViewChangeStart?: (args: CarouselResponse) => void;
25
+ onViewChangeEnd?: (args: CarouselResponse) => void;
26
+ excludeSwipeSupport?: boolean;
27
+ };
28
+ interface InitCarousel {
29
+ next: () => void;
30
+ prev: () => void;
31
+ reset: () => void;
32
+ goToIndex: (index: number) => void;
33
+ getActiveItem: () => ActiveItem;
34
+ destroyEvents: (() => void) | null;
35
+ allViews: Record<number, HTMLElement | null>;
36
+ }
37
+ export type { CarouselStackHistory, CarouselResponse, InitCarousel };
@@ -5,15 +5,34 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  interface DraggableProps {
8
+ /**
9
+ * HTML element to move.
10
+ */
8
11
  el: HTMLElement;
12
+ /**
13
+ * HTML element to initiate the drag (e.g., header).
14
+ */
9
15
  dragHandle?: HTMLElement;
16
+ /**
17
+ * HTML element to focus on drag for keyboard interaction (e.g., Drag Icon).
18
+ */
10
19
  focusableDragHandle?: HTMLElement;
20
+ /**
21
+ * Pixel value that defines the distance to move when dragging with arrow
22
+ * keys.
23
+ */
11
24
  dragStep?: number;
25
+ /**
26
+ * Pixel value that defines the distance to move when dragging with
27
+ * shift+arrow keys.
28
+ */
12
29
  shiftDragStep?: number;
13
30
  }
14
31
  /**
15
32
  * Makes a given element draggable using a handle element.
16
33
  *@param draggable - object which accepts el and optional attributes handle,focusableInHandle,dragStep and shiftDragStep
17
34
  */
18
- export declare function makeDraggable({ el, dragHandle, focusableDragHandle, dragStep, shiftDragStep, }: DraggableProps): void;
35
+ export declare const makeDraggable: ({ el, dragHandle, focusableDragHandle, dragStep, shiftDragStep, }: DraggableProps) => {
36
+ cleanup: () => void;
37
+ };
19
38
  export {};
@@ -7,12 +7,13 @@
7
7
 
8
8
  'use strict';
9
9
 
10
+ /* eslint-disable jsdoc/check-param-names */
11
+
10
12
  /**
11
13
  * Makes a given element draggable using a handle element.
12
14
  *@param draggable - object which accepts el and optional attributes handle,focusableInHandle,dragStep and shiftDragStep
13
15
  */
14
-
15
- function makeDraggable(_ref) {
16
+ const makeDraggable = _ref => {
16
17
  let {
17
18
  el,
18
19
  dragHandle,
@@ -20,28 +21,23 @@ function makeDraggable(_ref) {
20
21
  dragStep,
21
22
  shiftDragStep
22
23
  } = _ref;
23
- const computedStyle = window.getComputedStyle(el);
24
24
  if (dragHandle) {
25
25
  dragHandle.style.cursor = 'move';
26
26
  el.style.cursor = 'default';
27
27
  } else {
28
28
  el.style.cursor = 'move';
29
29
  }
30
- const position = computedStyle.position;
31
- if (position !== 'absolute' && position !== 'relative' && position !== 'fixed') {
32
- el.style.position = 'relative';
33
- }
34
30
  let isDragging = false;
35
31
  let offsetX = 0;
36
32
  let offsetY = 0;
37
- function dispatch(type) {
38
- let detail = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
39
- el.dispatchEvent(new CustomEvent(type, {
33
+ const dispatch = (type, detail) => {
34
+ const eventInit = {
40
35
  detail,
41
36
  bubbles: true
42
- }));
43
- }
44
- function onKeyDown(e) {
37
+ };
38
+ el.dispatchEvent(new CustomEvent(type, eventInit));
39
+ };
40
+ const onKeyDown = e => {
45
41
  if (e.key === 'Enter') {
46
42
  isDragging = !isDragging;
47
43
  }
@@ -76,9 +72,13 @@ function makeDraggable(_ref) {
76
72
  el.style.top = `${el.offsetTop + distance}px`;
77
73
  break;
78
74
  }
79
- }
80
- function onMouseDown(e) {
81
- const isTargetInHandle = dragHandle ? dragHandle.contains(e.target) : el.contains(e.target);
75
+ };
76
+ const onMouseDown = e => {
77
+ const target = e.target;
78
+ if (!(target instanceof Node)) {
79
+ return;
80
+ }
81
+ const isTargetInHandle = dragHandle ? dragHandle.contains(target) : el.contains(target);
82
82
  if (!isTargetInHandle) {
83
83
  return;
84
84
  }
@@ -92,15 +92,15 @@ function makeDraggable(_ref) {
92
92
  document.addEventListener('mouseup', onMouseUp, {
93
93
  once: true
94
94
  });
95
- }
96
- function onMouseMove(e) {
95
+ };
96
+ const onMouseMove = e => {
97
97
  if (!isDragging) {
98
98
  return;
99
99
  }
100
100
  el.style.left = `${e.clientX - offsetX}px`;
101
101
  el.style.top = `${e.clientY - offsetY}px`;
102
- }
103
- function onMouseUp() {
102
+ };
103
+ const onMouseUp = () => {
104
104
  if (!isDragging) {
105
105
  return;
106
106
  }
@@ -109,13 +109,26 @@ function makeDraggable(_ref) {
109
109
  mouse: true
110
110
  });
111
111
  document.removeEventListener('mousemove', onMouseMove);
112
- }
112
+ };
113
113
  if (dragHandle) {
114
114
  dragHandle.addEventListener('mousedown', onMouseDown);
115
115
  } else {
116
116
  el.addEventListener('mousedown', onMouseDown);
117
117
  }
118
118
  focusableDragHandle?.addEventListener('keydown', onKeyDown);
119
- }
119
+ const draggableCleanup = () => {
120
+ if (dragHandle) {
121
+ dragHandle.removeEventListener('mousedown', onMouseDown);
122
+ } else {
123
+ el.removeEventListener('mousedown', onMouseDown);
124
+ }
125
+ focusableDragHandle?.removeEventListener('keydown', onKeyDown);
126
+ document.removeEventListener('mousemove', onMouseMove);
127
+ document.removeEventListener('mouseup', onMouseUp);
128
+ };
129
+ return {
130
+ cleanup: draggableCleanup
131
+ };
132
+ };
120
133
 
121
134
  exports.makeDraggable = makeDraggable;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2025
2
+ * Copyright IBM Corp. 2025, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.