@carbon/ibm-products 2.27.0 → 2.28.0-alpha.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (333) hide show
  1. package/css/index-full-carbon.css +192 -116
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +1 -1
  4. package/css/index-full-carbon.min.css.map +1 -1
  5. package/css/index-without-carbon-released-only.css +56 -11
  6. package/css/index-without-carbon-released-only.css.map +1 -1
  7. package/css/index-without-carbon-released-only.min.css +1 -1
  8. package/css/index-without-carbon-released-only.min.css.map +1 -1
  9. package/css/index-without-carbon.css +192 -116
  10. package/css/index-without-carbon.css.map +1 -1
  11. package/css/index-without-carbon.min.css +1 -1
  12. package/css/index-without-carbon.min.css.map +1 -1
  13. package/css/index.css +180 -112
  14. package/css/index.css.map +1 -1
  15. package/css/index.min.css +1 -1
  16. package/css/index.min.css.map +1 -1
  17. package/es/_virtual/index.js +2 -2
  18. package/es/components/APIKeyModal/APIKeyModal.js +1 -1
  19. package/es/components/AboutModal/AboutModal.js +1 -1
  20. package/es/components/ActionBar/ActionBar.js +1 -1
  21. package/es/components/ActionBar/ActionBarItem.js +1 -1
  22. package/es/components/ActionBar/ActionBarOverflowItems.js +1 -1
  23. package/es/components/ActionSet/ActionSet.js +1 -1
  24. package/es/components/AddSelect/AddSelectBody.js +1 -1
  25. package/es/components/AddSelect/AddSelectBreadcrumbs.js +1 -1
  26. package/es/components/AddSelect/AddSelectFilter.js +1 -1
  27. package/es/components/AddSelect/AddSelectList.js +1 -1
  28. package/es/components/AddSelect/AddSelectRow.js +1 -1
  29. package/es/components/BigNumbers/BigNumbers.js +1 -1
  30. package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +1 -1
  31. package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +1 -1
  32. package/es/components/Card/Card.js +1 -1
  33. package/es/components/Card/CardFooter.js +1 -1
  34. package/es/components/Card/CardHeader.js +1 -1
  35. package/es/components/Carousel/Carousel.js +1 -1
  36. package/es/components/Carousel/CarouselItem.js +1 -1
  37. package/es/components/Cascade/Cascade.js +1 -1
  38. package/es/components/Checklist/Checklist.js +1 -1
  39. package/es/components/Checklist/ChecklistChart.js +1 -1
  40. package/es/components/Checklist/ChecklistIcon.js +1 -1
  41. package/es/components/Coachmark/Coachmark.js +1 -1
  42. package/es/components/Coachmark/CoachmarkDragbar.js +1 -1
  43. package/es/components/Coachmark/CoachmarkHeader.js +1 -1
  44. package/es/components/Coachmark/CoachmarkOverlay.js +1 -1
  45. package/es/components/Coachmark/CoachmarkTagline.js +1 -1
  46. package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -1
  47. package/es/components/CoachmarkButton/CoachmarkButton.js +1 -1
  48. package/es/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
  49. package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +1 -1
  50. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -1
  51. package/es/components/CoachmarkStack/CoachmarkStack.js +1 -1
  52. package/es/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
  53. package/es/components/ComboButton/ComboButton.js +1 -1
  54. package/es/components/CreateFullPage/CreateFullPage.js +1 -1
  55. package/es/components/CreateFullPage/CreateFullPageStep.js +1 -1
  56. package/es/components/CreateInfluencer/CreateInfluencer.js +1 -1
  57. package/es/components/CreateModal/CreateModal.js +1 -1
  58. package/es/components/CreateSidePanel/CreateSidePanel.js +1 -1
  59. package/es/components/CreateTearsheet/CreateTearsheet.js +8 -2
  60. package/es/components/CreateTearsheet/CreateTearsheetDivider.js +1 -1
  61. package/es/components/CreateTearsheet/CreateTearsheetStep.js +1 -1
  62. package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
  63. package/es/components/DataSpreadsheet/DataSpreadsheet.js +1 -1
  64. package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +1 -1
  65. package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +1 -1
  66. package/es/components/Datagrid/Datagrid/Datagrid.js +1 -1
  67. package/es/components/Datagrid/Datagrid/DatagridContent.js +1 -1
  68. package/es/components/Datagrid/Datagrid/DatagridExpandedRow.js +8 -4
  69. package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +1 -1
  70. package/es/components/Datagrid/Datagrid/DatagridRefBody.js +1 -1
  71. package/es/components/Datagrid/Datagrid/DatagridRow.js +19 -15
  72. package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +1 -1
  73. package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +1 -1
  74. package/es/components/Datagrid/Datagrid/DatagridSimpleBody.js +1 -1
  75. package/es/components/Datagrid/Datagrid/DatagridToolbar.js +1 -1
  76. package/es/components/Datagrid/Datagrid/DraggableElement.js +1 -1
  77. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -1
  78. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
  79. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
  80. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +8 -8
  81. package/es/components/Datagrid/Datagrid/addons/Filtering/constants.d.ts +1 -0
  82. package/es/components/Datagrid/Datagrid/addons/Filtering/constants.js +2 -1
  83. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +68 -4
  84. package/es/components/Datagrid/Datagrid/addons/Filtering/utils.js +12 -1
  85. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +1 -1
  86. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +1 -1
  87. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -1
  88. package/es/components/Datagrid/useActionsColumn.js +1 -1
  89. package/es/components/Datagrid/useColumnCenterAlign.js +1 -1
  90. package/es/components/Datagrid/useColumnRightAlign.js +1 -1
  91. package/es/components/Datagrid/useDefaultStringRenderer.js +1 -1
  92. package/es/components/Datagrid/useFiltering.js +48 -47
  93. package/es/components/Datagrid/useFloatingScroll.js +1 -1
  94. package/es/components/Datagrid/useInlineEdit.js +1 -1
  95. package/es/components/Datagrid/useNestedRowExpander.js +1 -1
  96. package/es/components/Datagrid/useNestedRows.js +1 -1
  97. package/es/components/Datagrid/useRowExpander.js +1 -1
  98. package/es/components/Datagrid/useSelectAllToggle.js +1 -1
  99. package/es/components/Datagrid/useSelectRows.js +2 -2
  100. package/es/components/Datagrid/useSortableColumns.js +1 -1
  101. package/es/components/Datagrid/useStickyColumn.js +1 -1
  102. package/es/components/DelimitedList/DelimitedList.js +1 -1
  103. package/es/components/EditFullPage/EditFullPage.js +1 -1
  104. package/es/components/EditInPlace/EditInPlace.js +1 -1
  105. package/es/components/EditSidePanel/EditSidePanel.js +1 -1
  106. package/es/components/EditTearsheet/EditTearsheet.js +1 -1
  107. package/es/components/EditTearsheet/EditTearsheetForm.js +1 -1
  108. package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +1 -1
  109. package/es/components/EditUpdateCards/EditUpdateCards.js +1 -1
  110. package/es/components/EmptyStates/EmptyState.js +1 -1
  111. package/es/components/EmptyStates/EmptyStateContent.js +1 -1
  112. package/es/components/EmptyStates/EmptyStateV2.js +1 -1
  113. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
  114. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
  115. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
  116. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
  117. package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
  118. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
  119. package/es/components/EmptyStates/assets/ErrorIllustration.js +1 -1
  120. package/es/components/EmptyStates/assets/NoDataIllustration.js +1 -1
  121. package/es/components/EmptyStates/assets/NoTagsIllustration.js +1 -1
  122. package/es/components/EmptyStates/assets/NotFoundIllustration.js +1 -1
  123. package/es/components/EmptyStates/assets/NotificationsIllustration.js +1 -1
  124. package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -1
  125. package/es/components/ExportModal/ExportModal.js +1 -1
  126. package/es/components/FilterSummary/FilterSummary.js +1 -1
  127. package/es/components/FullPageError/FullPageError.js +1 -1
  128. package/es/components/Guidebanner/Guidebanner.js +1 -1
  129. package/es/components/Guidebanner/GuidebannerElement.js +1 -1
  130. package/es/components/Guidebanner/GuidebannerElementButton.js +1 -1
  131. package/es/components/Guidebanner/GuidebannerElementLink.js +1 -1
  132. package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
  133. package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
  134. package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -1
  135. package/es/components/ImportModal/ImportModal.js +1 -1
  136. package/es/components/InlineTip/InlineTip.js +1 -1
  137. package/es/components/InlineTip/InlineTipButton.js +1 -1
  138. package/es/components/InlineTip/InlineTipLink.js +1 -1
  139. package/es/components/InterstitialScreen/InterstitialScreen.js +1 -1
  140. package/es/components/InterstitialScreenView/InterstitialScreenView.js +1 -1
  141. package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
  142. package/es/components/NonLinearReading/NonLinearReading.js +1 -1
  143. package/es/components/NotificationsPanel/NotificationsPanel.js +1 -1
  144. package/es/components/OptionsTile/OptionsTile.js +1 -1
  145. package/es/components/PageHeader/PageHeader.js +1 -1
  146. package/es/components/PageHeader/PageHeaderTitle.js +1 -1
  147. package/es/components/PageHeader/PageHeaderUtils.js +1 -1
  148. package/es/components/RemoveModal/RemoveModal.js +1 -1
  149. package/es/components/Saving/Saving.js +1 -1
  150. package/es/components/SearchBar/SearchBar.js +1 -1
  151. package/es/components/SidePanel/SidePanel.js +1 -1
  152. package/es/components/SimpleHeader/SimpleHeader.js +1 -1
  153. package/es/components/StatusIcon/StatusIcon.js +1 -1
  154. package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +1 -1
  155. package/es/components/StringFormatter/StringFormatter.js +1 -1
  156. package/es/components/TagSet/TagSet.js +1 -1
  157. package/es/components/TagSet/TagSetModal.js +1 -1
  158. package/es/components/TagSet/TagSetOverflow.js +1 -1
  159. package/es/components/Tearsheet/TearsheetShell.js +4 -5
  160. package/es/components/Toolbar/Toolbar.js +1 -1
  161. package/es/components/Toolbar/ToolbarButton.js +1 -1
  162. package/es/components/Toolbar/ToolbarGroup.js +1 -1
  163. package/es/components/TooltipTrigger/TooltipTrigger.js +1 -1
  164. package/es/components/TruncatedList/TruncatedList.js +1 -1
  165. package/es/components/UserAvatar/UserAvatar.js +1 -1
  166. package/es/components/UserProfileImage/UserProfileImage.js +1 -1
  167. package/es/components/WebTerminal/WebTerminal.js +1 -1
  168. package/es/components/WebTerminal/WebTerminalContentWrapper.js +1 -1
  169. package/es/components/_Canary/Canary.js +1 -1
  170. package/es/node_modules/prop-types/index.js +1 -1
  171. package/lib/_virtual/index.js +2 -2
  172. package/lib/components/APIKeyModal/APIKeyModal.js +50 -49
  173. package/lib/components/AboutModal/AboutModal.js +17 -16
  174. package/lib/components/ActionBar/ActionBar.js +16 -15
  175. package/lib/components/ActionBar/ActionBarItem.js +8 -7
  176. package/lib/components/ActionBar/ActionBarOverflowItems.js +9 -8
  177. package/lib/components/ActionSet/ActionSet.js +4 -3
  178. package/lib/components/AddSelect/AddSelectBody.js +67 -66
  179. package/lib/components/AddSelect/AddSelectBreadcrumbs.js +7 -6
  180. package/lib/components/AddSelect/AddSelectFilter.js +19 -18
  181. package/lib/components/AddSelect/AddSelectList.js +7 -6
  182. package/lib/components/AddSelect/AddSelectRow.js +33 -32
  183. package/lib/components/BigNumbers/BigNumbers.js +23 -22
  184. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +20 -19
  185. package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +3 -2
  186. package/lib/components/Card/Card.js +5 -4
  187. package/lib/components/Card/CardFooter.js +22 -21
  188. package/lib/components/Card/CardHeader.js +27 -26
  189. package/lib/components/Carousel/Carousel.js +13 -12
  190. package/lib/components/Carousel/CarouselItem.js +6 -5
  191. package/lib/components/Cascade/Cascade.js +9 -8
  192. package/lib/components/Checklist/Checklist.js +33 -32
  193. package/lib/components/Checklist/ChecklistChart.js +7 -6
  194. package/lib/components/Checklist/ChecklistIcon.js +7 -6
  195. package/lib/components/Coachmark/Coachmark.js +21 -20
  196. package/lib/components/Coachmark/CoachmarkDragbar.js +10 -9
  197. package/lib/components/Coachmark/CoachmarkHeader.js +8 -7
  198. package/lib/components/Coachmark/CoachmarkOverlay.js +10 -9
  199. package/lib/components/Coachmark/CoachmarkTagline.js +8 -7
  200. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +7 -6
  201. package/lib/components/CoachmarkButton/CoachmarkButton.js +6 -5
  202. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +11 -10
  203. package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +8 -7
  204. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +16 -15
  205. package/lib/components/CoachmarkStack/CoachmarkStack.js +20 -19
  206. package/lib/components/CoachmarkStack/CoachmarkStackHome.js +17 -16
  207. package/lib/components/ComboButton/ComboButton.js +7 -6
  208. package/lib/components/CreateFullPage/CreateFullPage.js +29 -28
  209. package/lib/components/CreateFullPage/CreateFullPageStep.js +18 -17
  210. package/lib/components/CreateInfluencer/CreateInfluencer.js +13 -12
  211. package/lib/components/CreateModal/CreateModal.js +16 -15
  212. package/lib/components/CreateSidePanel/CreateSidePanel.js +21 -20
  213. package/lib/components/CreateTearsheet/CreateTearsheet.js +27 -20
  214. package/lib/components/CreateTearsheet/CreateTearsheetDivider.js +5 -4
  215. package/lib/components/CreateTearsheet/CreateTearsheetStep.js +19 -18
  216. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +21 -20
  217. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +22 -21
  218. package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +56 -55
  219. package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +39 -38
  220. package/lib/components/Datagrid/Datagrid/Datagrid.js +7 -6
  221. package/lib/components/Datagrid/Datagrid/DatagridContent.js +32 -31
  222. package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.js +8 -3
  223. package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +6 -5
  224. package/lib/components/Datagrid/Datagrid/DatagridRefBody.js +3 -2
  225. package/lib/components/Datagrid/Datagrid/DatagridRow.js +20 -15
  226. package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +4 -3
  227. package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +14 -13
  228. package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +3 -2
  229. package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +6 -5
  230. package/lib/components/Datagrid/Datagrid/DraggableElement.js +13 -12
  231. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +15 -14
  232. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +25 -24
  233. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +27 -26
  234. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +7 -7
  235. package/lib/components/Datagrid/Datagrid/addons/Filtering/constants.d.ts +1 -0
  236. package/lib/components/Datagrid/Datagrid/addons/Filtering/constants.js +2 -0
  237. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +65 -1
  238. package/lib/components/Datagrid/Datagrid/addons/Filtering/utils.js +11 -0
  239. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +15 -14
  240. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +20 -19
  241. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +9 -8
  242. package/lib/components/Datagrid/useActionsColumn.js +7 -6
  243. package/lib/components/Datagrid/useColumnCenterAlign.js +3 -2
  244. package/lib/components/Datagrid/useColumnRightAlign.js +3 -2
  245. package/lib/components/Datagrid/useDefaultStringRenderer.js +4 -3
  246. package/lib/components/Datagrid/useFiltering.js +46 -45
  247. package/lib/components/Datagrid/useFloatingScroll.js +6 -2
  248. package/lib/components/Datagrid/useInlineEdit.js +4 -3
  249. package/lib/components/Datagrid/useNestedRowExpander.js +4 -3
  250. package/lib/components/Datagrid/useNestedRows.js +6 -2
  251. package/lib/components/Datagrid/useRowExpander.js +3 -2
  252. package/lib/components/Datagrid/useSelectAllToggle.js +3 -2
  253. package/lib/components/Datagrid/useSelectRows.js +5 -4
  254. package/lib/components/Datagrid/useSortableColumns.js +3 -2
  255. package/lib/components/Datagrid/useStickyColumn.js +4 -3
  256. package/lib/components/DelimitedList/DelimitedList.js +8 -7
  257. package/lib/components/EditFullPage/EditFullPage.js +6 -5
  258. package/lib/components/EditInPlace/EditInPlace.js +23 -22
  259. package/lib/components/EditSidePanel/EditSidePanel.js +23 -22
  260. package/lib/components/EditTearsheet/EditTearsheet.js +18 -17
  261. package/lib/components/EditTearsheet/EditTearsheetForm.js +11 -10
  262. package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +6 -5
  263. package/lib/components/EditUpdateCards/EditUpdateCards.js +31 -30
  264. package/lib/components/EmptyStates/EmptyState.js +20 -19
  265. package/lib/components/EmptyStates/EmptyStateContent.js +16 -15
  266. package/lib/components/EmptyStates/EmptyStateV2.js +20 -19
  267. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +18 -17
  268. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +18 -17
  269. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +18 -17
  270. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +18 -17
  271. package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +18 -17
  272. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +18 -17
  273. package/lib/components/EmptyStates/assets/ErrorIllustration.js +7 -6
  274. package/lib/components/EmptyStates/assets/NoDataIllustration.js +7 -6
  275. package/lib/components/EmptyStates/assets/NoTagsIllustration.js +7 -6
  276. package/lib/components/EmptyStates/assets/NotFoundIllustration.js +7 -6
  277. package/lib/components/EmptyStates/assets/NotificationsIllustration.js +7 -6
  278. package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +7 -6
  279. package/lib/components/ExportModal/ExportModal.js +30 -29
  280. package/lib/components/FilterSummary/FilterSummary.js +13 -12
  281. package/lib/components/FullPageError/FullPageError.js +13 -12
  282. package/lib/components/Guidebanner/Guidebanner.js +20 -19
  283. package/lib/components/Guidebanner/GuidebannerElement.js +8 -7
  284. package/lib/components/Guidebanner/GuidebannerElementButton.js +8 -7
  285. package/lib/components/Guidebanner/GuidebannerElementLink.js +6 -5
  286. package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +11 -10
  287. package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +11 -10
  288. package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +11 -10
  289. package/lib/components/ImportModal/ImportModal.js +32 -31
  290. package/lib/components/InlineTip/InlineTip.js +21 -20
  291. package/lib/components/InlineTip/InlineTipButton.js +6 -5
  292. package/lib/components/InlineTip/InlineTipLink.js +6 -5
  293. package/lib/components/InterstitialScreen/InterstitialScreen.js +13 -12
  294. package/lib/components/InterstitialScreenView/InterstitialScreenView.js +7 -6
  295. package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +7 -6
  296. package/lib/components/NonLinearReading/NonLinearReading.js +9 -8
  297. package/lib/components/NotificationsPanel/NotificationsPanel.js +59 -58
  298. package/lib/components/OptionsTile/OptionsTile.js +21 -20
  299. package/lib/components/PageHeader/PageHeader.js +74 -73
  300. package/lib/components/PageHeader/PageHeaderTitle.js +21 -20
  301. package/lib/components/PageHeader/PageHeaderUtils.js +3 -2
  302. package/lib/components/RemoveModal/RemoveModal.js +22 -21
  303. package/lib/components/Saving/Saving.js +18 -17
  304. package/lib/components/SearchBar/SearchBar.js +20 -19
  305. package/lib/components/SidePanel/SidePanel.js +47 -46
  306. package/lib/components/SimpleHeader/SimpleHeader.js +17 -16
  307. package/lib/components/StatusIcon/StatusIcon.js +9 -8
  308. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +7 -6
  309. package/lib/components/StringFormatter/StringFormatter.js +11 -10
  310. package/lib/components/TagSet/TagSet.js +21 -20
  311. package/lib/components/TagSet/TagSetModal.js +13 -12
  312. package/lib/components/TagSet/TagSetOverflow.js +18 -17
  313. package/lib/components/Tearsheet/TearsheetShell.js +35 -35
  314. package/lib/components/Toolbar/Toolbar.js +7 -6
  315. package/lib/components/Toolbar/ToolbarButton.js +9 -8
  316. package/lib/components/Toolbar/ToolbarGroup.js +6 -5
  317. package/lib/components/TooltipTrigger/TooltipTrigger.js +6 -5
  318. package/lib/components/TruncatedList/TruncatedList.js +14 -13
  319. package/lib/components/UserAvatar/UserAvatar.js +3 -2
  320. package/lib/components/UserProfileImage/UserProfileImage.js +3 -2
  321. package/lib/components/WebTerminal/WebTerminal.js +14 -13
  322. package/lib/components/WebTerminal/WebTerminalContentWrapper.js +5 -4
  323. package/lib/components/_Canary/Canary.js +6 -5
  324. package/lib/node_modules/prop-types/index.js +1 -1
  325. package/package.json +6 -5
  326. package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +0 -1
  327. package/scss/components/Datagrid/styles/_datagrid.scss +61 -4
  328. package/scss/components/SidePanel/_side-panel.scss +8 -1
  329. package/scss/components/Tearsheet/_tearsheet.scss +4 -5
  330. package/es/_virtual/index2.js +0 -10
  331. package/es/node_modules/classnames/index.js +0 -70
  332. package/lib/_virtual/index2.js +0 -14
  333. package/lib/node_modules/classnames/index.js +0 -74
@@ -11,14 +11,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
- var index$1 = require('../../node_modules/prop-types/index.js');
15
- var index = require('../../node_modules/classnames/index.js');
14
+ var index = require('../../node_modules/prop-types/index.js');
15
+ var cx = require('classnames');
16
16
  var devtools = require('../../global/js/utils/devtools.js');
17
17
  var settings = require('../../settings.js');
18
18
 
19
19
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
20
20
 
21
21
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
22
+ var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
22
23
 
23
24
  var _excluded = ["children", "className"];
24
25
 
@@ -54,7 +55,7 @@ exports.EditFullPage = /*#__PURE__*/React__default["default"].forwardRef(functio
54
55
  className = _ref.className,
55
56
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
56
57
  return /*#__PURE__*/React__default["default"].createElement("div", _rollupPluginBabelHelpers["extends"]({}, rest, {
57
- className: index["default"](blockClass,
58
+ className: cx__default["default"](blockClass,
58
59
  // Apply the block class to the main HTML element
59
60
  className,
60
61
  // Apply any supplied class names to the main HTML element.
@@ -82,11 +83,11 @@ exports.EditFullPage.propTypes = {
82
83
  /**
83
84
  * Provide the contents of the EditFullPage.
84
85
  */
85
- children: index$1["default"].node.isRequired,
86
+ children: index["default"].node.isRequired,
86
87
  /**
87
88
  * Provide an optional class to be applied to the containing node.
88
89
  */
89
- className: index$1["default"].string
90
+ className: index["default"].string
90
91
 
91
92
  /* TODO: add types and DocGen for all props. */
92
93
  };
@@ -12,8 +12,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
14
  var react = require('@carbon/react');
15
- var index = require('../../node_modules/classnames/index.js');
16
- var index$1 = require('../../node_modules/prop-types/index.js');
15
+ var cx = require('classnames');
16
+ var index = require('../../node_modules/prop-types/index.js');
17
17
  var icons = require('@carbon/react/icons');
18
18
  var settings = require('../../settings.js');
19
19
  var devtools = require('../../global/js/utils/devtools.js');
@@ -21,6 +21,7 @@ var devtools = require('../../global/js/utils/devtools.js');
21
21
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
22
22
 
23
23
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
24
+ var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
24
25
 
25
26
  var _Close, _Checkmark, _Edit;
26
27
  var _excluded = ["cancelLabel", "editAlwaysVisible", "editLabel", "id", "inheritTypography", "invalid", "invalidLabel", "invalidText", "labelText", "onCancel", "onChange", "onSave", "saveLabel", "size", "tooltipAlignment", "value"];
@@ -147,7 +148,7 @@ exports.EditInPlace = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
147
148
  return /*#__PURE__*/React__default["default"].createElement("div", _rollupPluginBabelHelpers["extends"]({}, rest, {
148
149
  ref: ref
149
150
  }, devtools.getDevtoolsProps(componentName)), /*#__PURE__*/React__default["default"].createElement("div", {
150
- className: index["default"](blockClass, "".concat(blockClass, "--").concat(size), _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "--focused"), focused), "".concat(blockClass, "--invalid"), invalid), "".concat(blockClass, "--inherit-type"), inheritTypography), "".concat(blockClass, "--overflows"), inputRef.current && inputRef.current.scrollWidth > inputRef.current.offsetWidth)),
151
+ className: cx__default["default"](blockClass, "".concat(blockClass, "--").concat(size), _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "--focused"), focused), "".concat(blockClass, "--invalid"), invalid), "".concat(blockClass, "--inherit-type"), inheritTypography), "".concat(blockClass, "--overflows"), inputRef.current && inputRef.current.scrollWidth > inputRef.current.offsetWidth)),
151
152
  onFocus: onFocusHandler,
152
153
  onBlur: onBlurHandler
153
154
  }, /*#__PURE__*/React__default["default"].createElement("label", {
@@ -155,7 +156,7 @@ exports.EditInPlace = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
155
156
  htmlFor: id
156
157
  }, labelText), /*#__PURE__*/React__default["default"].createElement("input", {
157
158
  id: id,
158
- className: index["default"]("".concat(blockClass, "__text-input"), "".concat(settings.carbon.prefix, "--text-input"), "".concat(settings.carbon.prefix, "--text-input--").concat(size)),
159
+ className: cx__default["default"]("".concat(blockClass, "__text-input"), "".concat(settings.carbon.prefix, "--text-input"), "".concat(settings.carbon.prefix, "--text-input--").concat(size)),
159
160
  type: "text",
160
161
  value: value,
161
162
  onChange: onChangeHandler,
@@ -196,7 +197,7 @@ exports.EditInPlace = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
196
197
  size: 16
197
198
  })))) : /*#__PURE__*/React__default["default"].createElement(react.IconButton, {
198
199
  align: tipAlignments.edit,
199
- className: index["default"]("".concat(blockClass, "__btn"), "".concat(blockClass, "__btn-edit"), _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__btn-edit--always-visible"), editAlwaysVisible)),
200
+ className: cx__default["default"]("".concat(blockClass, "__btn"), "".concat(blockClass, "__btn-edit"), _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__btn-edit--always-visible"), editAlwaysVisible)),
200
201
  size: size,
201
202
  label: editLabel,
202
203
  onClick: onFocusHandler,
@@ -216,27 +217,27 @@ var deprecatedProps = {
216
217
  * **Deprecated**
217
218
  * invalidLabel was misnamed, using invalidText to match Carbon
218
219
  */
219
- invalidText: index$1["default"].string
220
+ invalidText: index["default"].string
220
221
  };
221
- var alignPropType = index$1["default"].oneOf(['top', 'top-left', 'top-right', 'bottom', 'bottom-left', 'bottom-right', 'left', 'right']);
222
+ var alignPropType = index["default"].oneOf(['top', 'top-left', 'top-right', 'bottom', 'bottom-left', 'bottom-right', 'left', 'right']);
222
223
  exports.EditInPlace.propTypes = _rollupPluginBabelHelpers.objectSpread2({
223
224
  /**
224
225
  * label for cancel button
225
226
  */
226
- cancelLabel: index$1["default"].string.isRequired,
227
+ cancelLabel: index["default"].string.isRequired,
227
228
  /**
228
229
  * By default the edit icon is shown on hover only.
229
230
  */
230
- editAlwaysVisible: index$1["default"].bool,
231
+ editAlwaysVisible: index["default"].bool,
231
232
  /**
232
233
  /**
233
234
  * label for edit button
234
235
  */
235
- editLabel: index$1["default"].string.isRequired,
236
+ editLabel: index["default"].string.isRequired,
236
237
  /**
237
238
  * Specify a custom id for the input
238
239
  */
239
- id: index$1["default"].string.isRequired,
240
+ id: index["default"].string.isRequired,
240
241
  /**
241
242
  * inheritTypography - causes the text entry field to inherit typography settings
242
243
  * assigned to the container. This is useful when editing titles for instance.
@@ -244,31 +245,31 @@ exports.EditInPlace.propTypes = _rollupPluginBabelHelpers.objectSpread2({
244
245
  * NOTE: The size property limits the vertical size of the input element.
245
246
  * Inherited font's should be selected to fit within the size selected.
246
247
  */
247
- inheritTypography: index$1["default"].bool,
248
+ inheritTypography: index["default"].bool,
248
249
  /**
249
250
  * determines if the input is invalid
250
251
  */
251
- invalid: index$1["default"].bool,
252
+ invalid: index["default"].bool,
252
253
  /**
253
254
  * text that is displayed if the input is invalid
254
255
  */
255
- invalidText: index$1["default"].string,
256
+ invalidText: index["default"].string,
256
257
  /**
257
258
  * Provide the text that will be read by a screen reader when visiting this control
258
259
  */
259
- labelText: index$1["default"].string.isRequired,
260
+ labelText: index["default"].string.isRequired,
260
261
  /**
261
262
  * handler that is called when the cancel button is pressed or when the user removes focus from the input and there is no new value
262
263
  */
263
- onCancel: index$1["default"].func.isRequired,
264
+ onCancel: index["default"].func.isRequired,
264
265
  /**
265
266
  * handler that is called when the input is updated
266
267
  */
267
- onChange: index$1["default"].func.isRequired,
268
+ onChange: index["default"].func.isRequired,
268
269
  /**
269
270
  * handler that is called when the save button is pressed or when the user removes focus from the input if it has a new value
270
271
  */
271
- onSave: index$1["default"].func.isRequired,
272
+ onSave: index["default"].func.isRequired,
272
273
  /**
273
274
  * determines if the input is in readOnly mode
274
275
  */
@@ -280,17 +281,17 @@ exports.EditInPlace.propTypes = _rollupPluginBabelHelpers.objectSpread2({
280
281
  /**
281
282
  * label for save button
282
283
  */
283
- saveLabel: index$1["default"].string.isRequired,
284
+ saveLabel: index["default"].string.isRequired,
284
285
  /**
285
286
  * vertical size of control
286
287
  */
287
- size: index$1["default"].oneOf(['sm', 'md', 'lg']),
288
+ size: index["default"].oneOf(['sm', 'md', 'lg']),
288
289
  /**
289
290
  * tooltipAlignment from the standard tooltip. Default center.
290
291
  *
291
292
  * Can be passed either as one of tooltip options or as an object specifying cancel, edit and save separately
292
293
  */
293
- tooltipAlignment: index$1["default"].oneOfType([alignPropType, index$1["default"].shape({
294
+ tooltipAlignment: index["default"].oneOfType([alignPropType, index["default"].shape({
294
295
  cancel: alignPropType,
295
296
  edit: alignPropType,
296
297
  save: alignPropType
@@ -298,7 +299,7 @@ exports.EditInPlace.propTypes = _rollupPluginBabelHelpers.objectSpread2({
298
299
  /**
299
300
  * current value of the input
300
301
  */
301
- value: index$1["default"].string.isRequired
302
+ value: index["default"].string.isRequired
302
303
  }, deprecatedProps);
303
304
 
304
305
  exports.deprecatedProps = deprecatedProps;
@@ -11,8 +11,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
- var index$1 = require('../../node_modules/prop-types/index.js');
15
- var index = require('../../node_modules/classnames/index.js');
14
+ var index = require('../../node_modules/prop-types/index.js');
15
+ var cx = require('classnames');
16
16
  var devtools = require('../../global/js/utils/devtools.js');
17
17
  var settings = require('../../settings.js');
18
18
  var react = require('@carbon/react');
@@ -23,6 +23,7 @@ var SidePanel = require('../SidePanel/SidePanel.js');
23
23
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
24
24
 
25
25
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
26
+ var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
26
27
 
27
28
  var _excluded = ["children", "className", "disableSubmit", "id", "formTitle", "formDescription", "onRequestClose", "onRequestSubmit", "open", "placement", "primaryButtonText", "secondaryButtonText", "selectorPrimaryFocus", "selectorPageContent", "size", "slideIn", "subtitle", "title"];
28
29
 
@@ -91,7 +92,7 @@ exports.EditSidePanel = /*#__PURE__*/React__default["default"].forwardRef(functi
91
92
  placement: placement,
92
93
  slideIn: slideIn,
93
94
  animateTitle: false,
94
- className: index["default"](blockClass, className),
95
+ className: cx__default["default"](blockClass, className),
95
96
  size: size,
96
97
  preventCloseOnClickOutside: true,
97
98
  actions: actions
@@ -120,84 +121,84 @@ exports.EditSidePanel.propTypes = {
120
121
  /**
121
122
  * Sets the body content of the create side panel
122
123
  */
123
- children: index$1["default"].oneOfType([index$1["default"].arrayOf(index$1["default"].node), index$1["default"].node]).isRequired,
124
+ children: index["default"].oneOfType([index["default"].arrayOf(index["default"].node), index["default"].node]).isRequired,
124
125
  /**
125
126
  * Provide an optional class to be applied to the containing node.
126
127
  */
127
- className: index$1["default"].string,
128
+ className: index["default"].string,
128
129
  /**
129
130
  * Specifies a boolean for disabling or enabling the primary button. This is important for form validation
130
131
  * Returning `true` prevents the primary button from being clicked until required fields are completed.
131
132
  */
132
- disableSubmit: index$1["default"].bool,
133
+ disableSubmit: index["default"].bool,
133
134
  /**
134
135
  * Specifies an optional field that provides a additional context for a form
135
136
  */
136
- formDescription: index$1["default"].node,
137
+ formDescription: index["default"].node,
137
138
  /**
138
139
  * Specifies a required field that provides a title for a form
139
140
  */
140
- formTitle: index$1["default"].node.isRequired,
141
+ formTitle: index["default"].node.isRequired,
141
142
  /**
142
143
  * Unique identifier
143
144
  */
144
- id: index$1["default"].string,
145
+ id: index["default"].string,
145
146
  /**
146
147
  * Specifies an optional handler which is called when the CreateSidePanel
147
148
  * is closed.
148
149
  */
149
- onRequestClose: index$1["default"].func,
150
+ onRequestClose: index["default"].func,
150
151
  /**
151
152
  * Specifies an optional handler which is called when the CreateSidePanel
152
153
  * primary button is pressed.
153
154
  */
154
- onRequestSubmit: index$1["default"].func,
155
+ onRequestSubmit: index["default"].func,
155
156
  /**
156
157
  * Specifies whether the CreateSidePanel is open or not.
157
158
  */
158
- open: index$1["default"].bool,
159
+ open: index["default"].bool,
159
160
  /**
160
161
  * Determines if the side panel is on the right or left
161
162
  */
162
- placement: index$1["default"].oneOf(['left', 'right']),
163
+ placement: index["default"].oneOf(['left', 'right']),
163
164
  /**
164
165
  * Specifies the primary button's text in the modal.
165
166
  */
166
- primaryButtonText: index$1["default"].string.isRequired,
167
+ primaryButtonText: index["default"].string.isRequired,
167
168
  /**
168
169
  * Specifies the secondary button's text in the modal.
169
170
  */
170
- secondaryButtonText: index$1["default"].string.isRequired,
171
+ secondaryButtonText: index["default"].string.isRequired,
171
172
  /**
172
173
  * This is the selector to the element that contains all of the page content that will shrink if the panel is a slide in.
173
174
  * This prop is required when using the `slideIn` variant of the side panel.
174
175
  */
175
- selectorPageContent: index$1["default"].string.isRequired.if(function (_ref2) {
176
+ selectorPageContent: index["default"].string.isRequired.if(function (_ref2) {
176
177
  var slideIn = _ref2.slideIn;
177
178
  return slideIn;
178
179
  }),
179
180
  /**
180
181
  * Specifies which DOM element in the form should be focused.
181
182
  */
182
- selectorPrimaryFocus: index$1["default"].node.isRequired,
183
+ selectorPrimaryFocus: index["default"].node.isRequired,
183
184
  /**
184
185
  * Sets the size of the side panel
185
186
  */
186
- size: index$1["default"].oneOf(['xs', 'sm', 'md', 'lg', '2xl']),
187
+ size: index["default"].oneOf(['xs', 'sm', 'md', 'lg', '2xl']),
187
188
  /**
188
189
  * Specifies which DOM element in the form should be focused.
189
190
  */
190
- slideIn: index$1["default"].bool,
191
+ slideIn: index["default"].bool,
191
192
  /**
192
193
  * **Experimental:** Provide a `Slug` component to be rendered inside the `SidePanel` component
193
194
  */
194
- slug: index$1["default"].node,
195
+ slug: index["default"].node,
195
196
  /**
196
197
  * The subtitle of the CreateSidePanel is optional and serves to provide more information about the modal.
197
198
  */
198
- subtitle: index$1["default"].node,
199
+ subtitle: index["default"].node,
199
200
  /**
200
201
  * The title of the CreateSidePanel is usually the product or service name.
201
202
  */
202
- title: index$1["default"].node.isRequired
203
+ title: index["default"].node.isRequired
203
204
  };
@@ -11,8 +11,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
- var index$1 = require('../../node_modules/prop-types/index.js');
15
- var index = require('../../node_modules/classnames/index.js');
14
+ var index = require('../../node_modules/prop-types/index.js');
15
+ var cx = require('classnames');
16
16
  var react = require('@carbon/react');
17
17
  var settings = require('../../settings.js');
18
18
  var devtools = require('../../global/js/utils/devtools.js');
@@ -21,6 +21,7 @@ var TearsheetShell = require('../Tearsheet/TearsheetShell.js');
21
21
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
22
22
 
23
23
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
24
+ var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
24
25
 
25
26
  var _excluded = ["cancelButtonText", "children", "className", "description", "influencerWidth", "label", "onClose", "open", "submitButtonText", "title", "verticalPosition", "onRequestSubmit", "onFormChange", "sideNavAriaLabel"];
26
27
  var componentName = 'EditTearsheet';
@@ -109,7 +110,7 @@ exports.EditTearsheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
109
110
  onClick: onClose,
110
111
  kind: 'ghost'
111
112
  }],
112
- className: index["default"](blockClass, className),
113
+ className: cx__default["default"](blockClass, className),
113
114
  description: description,
114
115
  hasCloseIcon: false,
115
116
  influencer: defaultInfluencer(),
@@ -151,61 +152,61 @@ exports.EditTearsheet.propTypes = {
151
152
  /**
152
153
  * The cancel button text
153
154
  */
154
- cancelButtonText: index$1["default"].string,
155
+ cancelButtonText: index["default"].string,
155
156
  /**
156
157
  * The main content of the tearsheet
157
158
  */
158
- children: index$1["default"].node,
159
+ children: index["default"].node,
159
160
  /**
160
161
  * An optional class or classes to be added to the outermost element.
161
162
  */
162
- className: index$1["default"].string,
163
+ className: index["default"].string,
163
164
  /**
164
165
  * A description of the flow, displayed in the header area of the tearsheet.
165
166
  */
166
- description: index$1["default"].node,
167
+ description: index["default"].node,
167
168
  /**
168
169
  * Used to set the size of the influencer
169
170
  */
170
- influencerWidth: index$1["default"].oneOf(['narrow', 'wide']),
171
+ influencerWidth: index["default"].oneOf(['narrow', 'wide']),
171
172
  /**
172
173
  * A label for the tearsheet, displayed in the header area of the tearsheet
173
174
  * to maintain context for the tearsheet (e.g. as the title changes from page
174
175
  * to page of a multi-page task).
175
176
  */
176
- label: index$1["default"].node,
177
+ label: index["default"].node,
177
178
  /**
178
179
  * An optional handler that is called when the user closes the tearsheet (by
179
180
  * clicking the close button, if enabled, or clicking outside, if enabled).
180
181
  * Returning `false` here prevents the modal from closing.
181
182
  */
182
- onClose: index$1["default"].func,
183
+ onClose: index["default"].func,
183
184
  /**
184
185
  * An optional handler that is called when a user changes forms via clicking
185
186
  * an influencer nav item.
186
187
  * Returns the index of the selected form.
187
188
  */
188
- onFormChange: index$1["default"].func,
189
+ onFormChange: index["default"].func,
189
190
  /**
190
191
  * Specify a handler for submitting the tearsheet.
191
192
  */
192
- onRequestSubmit: index$1["default"].func.isRequired,
193
+ onRequestSubmit: index["default"].func.isRequired,
193
194
  /**
194
195
  * Specifies whether the tearsheet is currently open.
195
196
  */
196
- open: index$1["default"].bool,
197
+ open: index["default"].bool,
197
198
  /**
198
199
  * Specifies the aria label for the SideNav from Carbon UIShell
199
200
  */
200
- sideNavAriaLabel: index$1["default"].string,
201
+ sideNavAriaLabel: index["default"].string,
201
202
  /**
202
203
  * The submit button text
203
204
  */
204
- submitButtonText: index$1["default"].string,
205
+ submitButtonText: index["default"].string,
205
206
  /**
206
207
  * The main title of the tearsheet, displayed in the header area.
207
208
  */
208
- title: index$1["default"].node,
209
+ title: index["default"].node,
209
210
  /**
210
211
  * The position of the top of tearsheet in the viewport. The 'normal'
211
212
  * position (the default) is a short distance down from the top of the
@@ -213,7 +214,7 @@ exports.EditTearsheet.propTypes = {
213
214
  * from below. The 'lower' position provides a little extra room at the top
214
215
  * to allow an action bar navigation or breadcrumbs to also show through.
215
216
  */
216
- verticalPosition: index$1["default"].oneOf(['normal', 'lower'])
217
+ verticalPosition: index["default"].oneOf(['normal', 'lower'])
217
218
  };
218
219
 
219
220
  exports.FormContext = FormContext;
@@ -11,8 +11,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
- var index$1 = require('../../node_modules/prop-types/index.js');
15
- var index = require('../../node_modules/classnames/index.js');
14
+ var index = require('../../node_modules/prop-types/index.js');
15
+ var cx = require('classnames');
16
16
  var react = require('@carbon/react');
17
17
  var EditTearsheet = require('./EditTearsheet.js');
18
18
  var settings = require('../../settings.js');
@@ -22,6 +22,7 @@ var useRetrieveFormTitles = require('../../global/js/hooks/useRetrieveFormTitles
22
22
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
23
23
 
24
24
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
25
+ var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
25
26
 
26
27
  var _excluded = ["children", "className", "description", "fieldsetLegendText", "hasFieldset", "subtitle", "title"];
27
28
  var componentName = 'EditTearsheetForm';
@@ -49,7 +50,7 @@ exports.EditTearsheetForm = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
49
50
  title: title
50
51
  });
51
52
  return formContext ? /*#__PURE__*/React__default["default"].createElement("div", _rollupPluginBabelHelpers["extends"]({}, rest, {
52
- className: index["default"](blockClass, className, _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__form--hidden-form"), formNumber !== (formContext === null || formContext === void 0 ? void 0 : formContext.currentForm)), "".concat(blockClass, "__form--visible-form"), formNumber === (formContext === null || formContext === void 0 ? void 0 : formContext.currentForm))),
53
+ className: cx__default["default"](blockClass, className, _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__form--hidden-form"), formNumber !== (formContext === null || formContext === void 0 ? void 0 : formContext.currentForm)), "".concat(blockClass, "__form--visible-form"), formNumber === (formContext === null || formContext === void 0 ? void 0 : formContext.currentForm))),
53
54
  ref: ref
54
55
  }), /*#__PURE__*/React__default["default"].createElement(react.Grid, null, /*#__PURE__*/React__default["default"].createElement(react.Column, {
55
56
  xlg: 12,
@@ -76,21 +77,21 @@ exports.EditTearsheetForm.propTypes = {
76
77
  /**
77
78
  * Content that shows in the tearsheet form
78
79
  */
79
- children: index$1["default"].node,
80
+ children: index["default"].node,
80
81
  /**
81
82
  * Sets an optional className to be added to the tearsheet form
82
83
  */
83
- className: index$1["default"].string,
84
+ className: index["default"].string,
84
85
  /**
85
86
  * Sets an optional description on the form component
86
87
  */
87
- description: index$1["default"].string,
88
+ description: index["default"].string,
88
89
  /**
89
90
  * This is the required legend text that appears above a fieldset html element for accessibility purposes.
90
91
  * You can set the `hasFieldset` prop to false if you have multiple fieldset elements or want to control the children of your Full Page's form content.
91
92
  * Otherwise, use CSS to hide/remove this label text.
92
93
  */
93
- fieldsetLegendText: index$1["default"].string.isRequired.if(function (_ref2) {
94
+ fieldsetLegendText: index["default"].string.isRequired.if(function (_ref2) {
94
95
  var hasFieldset = _ref2.hasFieldset;
95
96
  return !!hasFieldset;
96
97
  }),
@@ -99,13 +100,13 @@ exports.EditTearsheetForm.propTypes = {
99
100
  * and is defaulted to true.
100
101
  * You can set this prop to `false` if you have multiple fieldset elements or want to control the children of your Full Page's form content.
101
102
  */
102
- hasFieldset: index$1["default"].bool,
103
+ hasFieldset: index["default"].bool,
103
104
  /**
104
105
  * Sets an optional subtitle on the form component
105
106
  */
106
- subtitle: index$1["default"].string,
107
+ subtitle: index["default"].string,
107
108
  /**
108
109
  * Sets the title text for a tearsheet form
109
110
  */
110
- title: index$1["default"].node.isRequired
111
+ title: index["default"].node.isRequired
111
112
  };
@@ -11,14 +11,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var React = require('react');
14
- var index$1 = require('../../node_modules/prop-types/index.js');
15
- var index = require('../../node_modules/classnames/index.js');
14
+ var index = require('../../node_modules/prop-types/index.js');
15
+ var cx = require('classnames');
16
16
  var devtools = require('../../global/js/utils/devtools.js');
17
17
  var settings = require('../../settings.js');
18
18
 
19
19
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
20
20
 
21
21
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
22
+ var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
22
23
 
23
24
  var _excluded = ["children", "className"];
24
25
 
@@ -53,7 +54,7 @@ exports.EditTearsheetNarrow = /*#__PURE__*/React__default["default"].forwardRef(
53
54
  className = _ref.className,
54
55
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
55
56
  return /*#__PURE__*/React__default["default"].createElement("div", _rollupPluginBabelHelpers["extends"]({}, rest, {
56
- className: index["default"](blockClass,
57
+ className: cx__default["default"](blockClass,
57
58
  // Apply the block class to the main HTML element
58
59
  className,
59
60
  // Apply any supplied class names to the main HTML element.
@@ -81,11 +82,11 @@ exports.EditTearsheetNarrow.propTypes = {
81
82
  /**
82
83
  * Provide the contents of the EditTearsheetNarrow.
83
84
  */
84
- children: index$1["default"].node.isRequired,
85
+ children: index["default"].node.isRequired,
85
86
  /**
86
87
  * Provide an optional class to be applied to the containing node.
87
88
  */
88
- className: index$1["default"].string
89
+ className: index["default"].string
89
90
 
90
91
  /* TODO: add types and DocGen for all props. */
91
92
  };