@carbon/ibm-products 2.43.2-canary.11 → 2.43.2-canary.112

Sign up to get free protection for your applications and to get access to all the features.
Files changed (416) hide show
  1. package/css/config-dev.css +6 -1
  2. package/css/config-dev.css.map +1 -1
  3. package/css/config.css +6 -1
  4. package/css/config.css.map +1 -1
  5. package/css/index-full-carbon.css +1846 -499
  6. package/css/index-full-carbon.css.map +1 -1
  7. package/css/index-full-carbon.min.css +1 -1
  8. package/css/index-full-carbon.min.css.map +1 -1
  9. package/css/index-without-carbon-released-only.css +267 -65
  10. package/css/index-without-carbon-released-only.css.map +1 -1
  11. package/css/index-without-carbon-released-only.min.css +1 -1
  12. package/css/index-without-carbon-released-only.min.css.map +1 -1
  13. package/css/index-without-carbon.css +1455 -250
  14. package/css/index-without-carbon.css.map +1 -1
  15. package/css/index-without-carbon.min.css +1 -1
  16. package/css/index-without-carbon.min.css.map +1 -1
  17. package/css/index.css +1651 -369
  18. package/css/index.css.map +1 -1
  19. package/css/index.min.css +1 -1
  20. package/css/index.min.css.map +1 -1
  21. package/es/components/APIKeyModal/APIKeyModal.types.d.ts +6 -0
  22. package/es/components/ActionBar/ActionBar.d.ts +58 -2
  23. package/es/components/ActionBar/ActionBar.js +14 -9
  24. package/es/components/ActionBar/ActionBarItem.d.ts +36 -2
  25. package/es/components/ActionBar/ActionBarItem.js +8 -5
  26. package/es/components/ActionBar/ActionBarOverflowItems.d.ts +55 -16
  27. package/es/components/ActionBar/ActionBarOverflowItems.js +8 -4
  28. package/es/components/AddSelect/types/index.d.ts +6 -0
  29. package/es/components/Card/Card.d.ts +68 -2
  30. package/es/components/Card/Card.js +28 -35
  31. package/es/components/Card/CardFooter.d.ts +51 -48
  32. package/es/components/Card/CardFooter.js +4 -2
  33. package/es/components/Card/CardHeader.d.ts +67 -49
  34. package/es/components/Card/CardHeader.js +4 -2
  35. package/es/components/Coachmark/Coachmark.d.ts +6 -1
  36. package/es/components/Coachmark/Coachmark.js +47 -11
  37. package/es/components/Coachmark/CoachmarkOverlay.js +2 -4
  38. package/es/components/Coachmark/utils/enums.d.ts +6 -0
  39. package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -7
  40. package/es/components/CoachmarkFixed/CoachmarkFixed.js +13 -11
  41. package/es/components/CoachmarkStack/CoachmarkStack.js +7 -3
  42. package/es/components/CoachmarkStack/CoachmarkStackHome.js +8 -4
  43. package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +1 -0
  44. package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +90 -56
  45. package/es/components/ConditionBuilder/ConditionBuilder.js +82 -25
  46. package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +15 -0
  47. package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +154 -0
  48. package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +3 -1
  49. package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +29 -13
  50. package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +8 -1
  51. package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +35 -11
  52. package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +18 -10
  53. package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +19 -11
  54. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +9 -13
  55. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +83 -64
  56. package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.d.ts +13 -7
  57. package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +31 -8
  58. package/es/components/ConditionBuilder/ConditionBuilderContext/DataConfigs.d.ts +8 -2
  59. package/es/components/ConditionBuilder/ConditionBuilderContext/DataConfigs.js +35 -24
  60. package/es/components/ConditionBuilder/ConditionBuilderContext/translationObject.d.ts +43 -36
  61. package/es/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +43 -36
  62. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +6 -2
  63. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +114 -40
  64. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +3 -1
  65. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +24 -9
  66. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +27 -9
  67. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +13 -0
  68. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +114 -0
  69. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/{ConditionBuilderItemOption.d.ts → ItemOptionForValueField.d.ts} +2 -2
  70. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/{ConditionBuilderItemOption.js → ItemOptionForValueField.js} +71 -38
  71. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +5 -1
  72. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +22 -9
  73. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +1 -1
  74. package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +1 -3
  75. package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +131 -42
  76. package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +5 -1
  77. package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +51 -19
  78. package/es/components/ConditionBuilder/utils/handleKeyboardEvents.d.ts +2 -1
  79. package/es/components/ConditionBuilder/utils/handleKeyboardEvents.js +152 -42
  80. package/es/components/ConditionBuilder/utils/useTranslations.d.ts +1 -0
  81. package/es/components/ConditionBuilder/utils/useTranslations.js +26 -0
  82. package/es/components/ConditionBuilder/utils/util.d.ts +6 -4
  83. package/es/components/ConditionBuilder/utils/util.js +42 -17
  84. package/es/components/CreateFullPage/CreateFullPage.js +2 -2
  85. package/es/components/DataSpreadsheet/DataSpreadsheet.d.ts +26 -0
  86. package/es/components/DataSpreadsheet/DataSpreadsheet.js +129 -53
  87. package/es/components/DataSpreadsheet/DataSpreadsheetBody.d.ts +16 -0
  88. package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +32 -7
  89. package/es/components/DataSpreadsheet/DataSpreadsheetHeader.d.ts +8 -0
  90. package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +16 -3
  91. package/es/components/DataSpreadsheet/types/index.d.ts +7 -0
  92. package/es/components/Datagrid/Datagrid/Datagrid.d.ts +0 -4
  93. package/es/components/Datagrid/Datagrid/Datagrid.js +4 -9
  94. package/es/components/Datagrid/Datagrid/DatagridBody.d.ts +6 -0
  95. package/es/components/Datagrid/Datagrid/DatagridContent.js +4 -3
  96. package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +23 -8
  97. package/es/components/Datagrid/Datagrid/DatagridRefBody.d.ts +6 -0
  98. package/es/components/Datagrid/Datagrid/DatagridRow.js +21 -8
  99. package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +6 -6
  100. package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +3 -2
  101. package/es/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +6 -0
  102. package/es/components/Datagrid/Datagrid/DraggableElement.d.ts +6 -0
  103. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +34 -10
  104. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +6 -1
  105. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +6 -1
  106. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +6 -3
  107. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +20 -12
  108. package/es/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +7 -0
  109. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
  110. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +54 -17
  111. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +2 -3
  112. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +75 -12
  113. package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +10 -2
  114. package/es/components/Datagrid/common-column-ids.d.ts +6 -0
  115. package/es/components/Datagrid/types/index.d.ts +63 -9
  116. package/es/components/Datagrid/useActionsColumn.d.ts +8 -1
  117. package/es/components/Datagrid/useActionsColumn.js +7 -6
  118. package/es/components/Datagrid/useColumnRightAlign.d.ts +8 -1
  119. package/es/components/Datagrid/useColumnRightAlign.js +4 -3
  120. package/es/components/Datagrid/useCustomizeColumns.d.ts +8 -1
  121. package/es/components/Datagrid/useCustomizeColumns.js +4 -3
  122. package/es/components/Datagrid/useDatagrid.d.ts +6 -0
  123. package/es/components/Datagrid/useDefaultStringRenderer.js +0 -1
  124. package/es/components/Datagrid/useDisableSelectRows.d.ts +8 -1
  125. package/es/components/Datagrid/useDisableSelectRows.js +27 -22
  126. package/es/components/Datagrid/useInlineEdit.js +12 -2
  127. package/es/components/Datagrid/useNestedRowExpander.js +1 -3
  128. package/es/components/Datagrid/useNestedRows.js +32 -13
  129. package/es/components/Datagrid/useRowExpander.js +1 -3
  130. package/es/components/Datagrid/useRowIsMouseOver.d.ts +6 -0
  131. package/es/components/Datagrid/useSelectRows.js +2 -1
  132. package/es/components/Datagrid/useStickyColumn.d.ts +8 -1
  133. package/es/components/Datagrid/useStickyColumn.js +12 -9
  134. package/es/components/EditInPlace/EditInPlace.d.ts +4 -0
  135. package/es/components/EditInPlace/EditInPlace.js +21 -10
  136. package/es/components/EditTearsheet/EditTearsheet.d.ts +7 -2
  137. package/es/components/EditTearsheet/EditTearsheet.js +44 -10
  138. package/es/components/EditTearsheet/EditTearsheetForm.d.ts +45 -2
  139. package/es/components/EditTearsheet/EditTearsheetForm.js +3 -0
  140. package/es/components/EmptyStates/EmptyState.d.ts +72 -5
  141. package/es/components/EmptyStates/EmptyState.js +8 -5
  142. package/es/components/EmptyStates/EmptyStateV2.d.ts +63 -2
  143. package/es/components/EmptyStates/EmptyStateV2.js +3 -2
  144. package/es/components/FullPageError/FullPageError.d.ts +36 -2
  145. package/es/components/FullPageError/FullPageError.js +0 -3
  146. package/es/components/GetStartedCard/GetStartedCard.d.ts +60 -2
  147. package/es/components/GetStartedCard/GetStartedCard.js +11 -10
  148. package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +6 -0
  149. package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +6 -0
  150. package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +6 -0
  151. package/es/components/HTTPErrors/assets/HTTPErrorSvg403.js +204 -200
  152. package/es/components/HTTPErrors/assets/HTTPErrorSvg404.js +116 -112
  153. package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.js +110 -106
  154. package/es/components/Nav/NavItem.js +12 -3
  155. package/es/components/OptionsTile/OptionsTile.js +11 -6
  156. package/es/components/PageHeader/PageHeader.js +1 -0
  157. package/es/components/PageHeader/PageHeaderUtils.js +1 -1
  158. package/es/components/RemoveModal/RemoveModal.d.ts +4 -0
  159. package/es/components/RemoveModal/RemoveModal.js +7 -1
  160. package/es/components/SearchBar/SearchBar.d.ts +1 -1
  161. package/es/components/SearchBar/SearchBar.js +2 -2
  162. package/es/components/SidePanel/SidePanel.js +17 -21
  163. package/es/components/SidePanel/motion/variants.d.ts +4 -6
  164. package/es/components/SidePanel/motion/variants.js +10 -11
  165. package/es/components/StatusIndicator/StatusIndicatorStep.js +87 -0
  166. package/es/components/StringFormatter/StringFormatter.js +14 -3
  167. package/es/components/StringFormatter/utils/enums.d.ts +20 -1
  168. package/es/components/StringFormatter/utils/enums.js +29 -2
  169. package/es/components/TagOverflow/TagOverflow.d.ts +35 -4
  170. package/es/components/TagOverflow/TagOverflow.js +47 -64
  171. package/es/components/TagOverflow/TagOverflowModal.js +4 -6
  172. package/es/components/TagOverflow/TagOverflowPopover.d.ts +13 -1
  173. package/es/components/TagOverflow/TagOverflowPopover.js +38 -41
  174. package/es/components/Tearsheet/Tearsheet.d.ts +8 -1
  175. package/es/components/Tearsheet/Tearsheet.js +9 -1
  176. package/es/components/Tearsheet/TearsheetNarrow.d.ts +11 -0
  177. package/es/components/Tearsheet/TearsheetNarrow.js +12 -0
  178. package/es/components/Tearsheet/TearsheetShell.d.ts +11 -1
  179. package/es/components/Tearsheet/TearsheetShell.js +28 -7
  180. package/es/components/Toolbar/ToolbarButton.js +1 -1
  181. package/es/components/UserAvatar/UserAvatar.d.ts +59 -1
  182. package/es/components/UserAvatar/UserAvatar.js +7 -23
  183. package/es/components/WebTerminal/WebTerminal.js +10 -12
  184. package/es/components/index.d.ts +1 -1
  185. package/es/global/js/hooks/useFocus.d.ts +1 -0
  186. package/es/global/js/hooks/useFocus.js +5 -2
  187. package/es/global/js/hooks/usePrefersReducedMotion.js +14 -8
  188. package/es/global/js/package-settings.d.ts +1 -1
  189. package/es/global/js/package-settings.js +1 -1
  190. package/es/global/js/utils/scrollableAncestor.js +7 -0
  191. package/es/global/js/utils/uuidv4.d.ts +6 -0
  192. package/es/global/js/utils/uuidv4.js +2 -0
  193. package/es/global/js/utils/wait.d.ts +6 -0
  194. package/es/global/js/utils/wait.js +2 -0
  195. package/es/index.js +1 -0
  196. package/es/node_modules/@carbon/icon-helpers/es/index.js +49 -62
  197. package/es/node_modules/@carbon/icons-react/es/generated/bucket-2.js +1020 -1058
  198. package/es/node_modules/@carbon/icons-react/es/generated/bucket-9.js +881 -758
  199. package/es/settings.d.ts +1 -1
  200. package/flags.js +7 -0
  201. package/lib/components/APIKeyModal/APIKeyModal.types.d.ts +6 -0
  202. package/lib/components/ActionBar/ActionBar.d.ts +58 -2
  203. package/lib/components/ActionBar/ActionBar.js +14 -9
  204. package/lib/components/ActionBar/ActionBarItem.d.ts +36 -2
  205. package/lib/components/ActionBar/ActionBarItem.js +7 -4
  206. package/lib/components/ActionBar/ActionBarOverflowItems.d.ts +55 -16
  207. package/lib/components/ActionBar/ActionBarOverflowItems.js +8 -4
  208. package/lib/components/AddSelect/types/index.d.ts +6 -0
  209. package/lib/components/Card/Card.d.ts +68 -2
  210. package/lib/components/Card/Card.js +28 -35
  211. package/lib/components/Card/CardFooter.d.ts +51 -48
  212. package/lib/components/Card/CardFooter.js +4 -2
  213. package/lib/components/Card/CardHeader.d.ts +67 -49
  214. package/lib/components/Card/CardHeader.js +4 -2
  215. package/lib/components/Coachmark/Coachmark.d.ts +6 -1
  216. package/lib/components/Coachmark/Coachmark.js +46 -10
  217. package/lib/components/Coachmark/CoachmarkOverlay.js +2 -4
  218. package/lib/components/Coachmark/utils/enums.d.ts +6 -0
  219. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -7
  220. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +13 -11
  221. package/lib/components/CoachmarkStack/CoachmarkStack.js +7 -3
  222. package/lib/components/CoachmarkStack/CoachmarkStackHome.js +8 -4
  223. package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +1 -0
  224. package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +87 -53
  225. package/lib/components/ConditionBuilder/ConditionBuilder.js +82 -25
  226. package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +15 -0
  227. package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +163 -0
  228. package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +3 -1
  229. package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +28 -11
  230. package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +8 -1
  231. package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +33 -9
  232. package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +16 -8
  233. package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +18 -10
  234. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +9 -13
  235. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +81 -62
  236. package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.d.ts +13 -7
  237. package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +31 -8
  238. package/lib/components/ConditionBuilder/ConditionBuilderContext/DataConfigs.d.ts +8 -2
  239. package/lib/components/ConditionBuilder/ConditionBuilderContext/DataConfigs.js +34 -24
  240. package/lib/components/ConditionBuilder/ConditionBuilderContext/translationObject.d.ts +43 -36
  241. package/lib/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +43 -36
  242. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +6 -2
  243. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +112 -38
  244. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +3 -1
  245. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +24 -9
  246. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +28 -10
  247. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +13 -0
  248. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +122 -0
  249. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/{ConditionBuilderItemOption.d.ts → ItemOptionForValueField.d.ts} +2 -2
  250. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/{ConditionBuilderItemOption.js → ItemOptionForValueField.js} +68 -35
  251. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +5 -1
  252. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +21 -8
  253. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +1 -1
  254. package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +1 -3
  255. package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +128 -39
  256. package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +5 -1
  257. package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +50 -17
  258. package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.d.ts +2 -1
  259. package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.js +152 -41
  260. package/lib/components/ConditionBuilder/utils/useTranslations.d.ts +1 -0
  261. package/lib/components/ConditionBuilder/utils/useTranslations.js +30 -0
  262. package/lib/components/ConditionBuilder/utils/util.d.ts +6 -4
  263. package/lib/components/ConditionBuilder/utils/util.js +44 -16
  264. package/lib/components/CreateFullPage/CreateFullPage.js +2 -2
  265. package/lib/components/DataSpreadsheet/DataSpreadsheet.d.ts +26 -0
  266. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +129 -53
  267. package/lib/components/DataSpreadsheet/DataSpreadsheetBody.d.ts +16 -0
  268. package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +32 -7
  269. package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.d.ts +8 -0
  270. package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +16 -3
  271. package/lib/components/DataSpreadsheet/types/index.d.ts +7 -0
  272. package/lib/components/Datagrid/Datagrid/Datagrid.d.ts +0 -4
  273. package/lib/components/Datagrid/Datagrid/Datagrid.js +4 -9
  274. package/lib/components/Datagrid/Datagrid/DatagridBody.d.ts +6 -0
  275. package/lib/components/Datagrid/Datagrid/DatagridContent.js +4 -3
  276. package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +23 -8
  277. package/lib/components/Datagrid/Datagrid/DatagridRefBody.d.ts +6 -0
  278. package/lib/components/Datagrid/Datagrid/DatagridRow.js +21 -8
  279. package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +6 -6
  280. package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +3 -2
  281. package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +6 -0
  282. package/lib/components/Datagrid/Datagrid/DraggableElement.d.ts +6 -0
  283. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +34 -10
  284. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +6 -1
  285. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +6 -1
  286. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +6 -3
  287. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +20 -12
  288. package/lib/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +7 -0
  289. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
  290. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +53 -16
  291. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +2 -3
  292. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +74 -11
  293. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +10 -2
  294. package/lib/components/Datagrid/common-column-ids.d.ts +6 -0
  295. package/lib/components/Datagrid/types/index.d.ts +63 -9
  296. package/lib/components/Datagrid/useActionsColumn.d.ts +8 -1
  297. package/lib/components/Datagrid/useActionsColumn.js +7 -6
  298. package/lib/components/Datagrid/useColumnRightAlign.d.ts +8 -1
  299. package/lib/components/Datagrid/useColumnRightAlign.js +4 -3
  300. package/lib/components/Datagrid/useCustomizeColumns.d.ts +8 -1
  301. package/lib/components/Datagrid/useCustomizeColumns.js +4 -3
  302. package/lib/components/Datagrid/useDatagrid.d.ts +6 -0
  303. package/lib/components/Datagrid/useDefaultStringRenderer.js +0 -1
  304. package/lib/components/Datagrid/useDisableSelectRows.d.ts +8 -1
  305. package/lib/components/Datagrid/useDisableSelectRows.js +27 -22
  306. package/lib/components/Datagrid/useInlineEdit.js +12 -2
  307. package/lib/components/Datagrid/useNestedRowExpander.js +1 -3
  308. package/lib/components/Datagrid/useNestedRows.js +32 -13
  309. package/lib/components/Datagrid/useRowExpander.js +1 -3
  310. package/lib/components/Datagrid/useRowIsMouseOver.d.ts +6 -0
  311. package/lib/components/Datagrid/useSelectRows.js +2 -1
  312. package/lib/components/Datagrid/useStickyColumn.d.ts +8 -1
  313. package/lib/components/Datagrid/useStickyColumn.js +12 -9
  314. package/lib/components/EditInPlace/EditInPlace.d.ts +4 -0
  315. package/lib/components/EditInPlace/EditInPlace.js +21 -10
  316. package/lib/components/EditTearsheet/EditTearsheet.d.ts +7 -2
  317. package/lib/components/EditTearsheet/EditTearsheet.js +43 -9
  318. package/lib/components/EditTearsheet/EditTearsheetForm.d.ts +45 -2
  319. package/lib/components/EditTearsheet/EditTearsheetForm.js +3 -0
  320. package/lib/components/EmptyStates/EmptyState.d.ts +72 -5
  321. package/lib/components/EmptyStates/EmptyState.js +8 -5
  322. package/lib/components/EmptyStates/EmptyStateV2.d.ts +63 -2
  323. package/lib/components/EmptyStates/EmptyStateV2.js +3 -2
  324. package/lib/components/FullPageError/FullPageError.d.ts +36 -2
  325. package/lib/components/FullPageError/FullPageError.js +0 -3
  326. package/lib/components/GetStartedCard/GetStartedCard.d.ts +60 -2
  327. package/lib/components/GetStartedCard/GetStartedCard.js +10 -9
  328. package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +6 -0
  329. package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +6 -0
  330. package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +6 -0
  331. package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.js +204 -200
  332. package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.js +116 -112
  333. package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.js +110 -106
  334. package/lib/components/Nav/NavItem.js +10 -1
  335. package/lib/components/OptionsTile/OptionsTile.js +11 -6
  336. package/lib/components/PageHeader/PageHeader.js +1 -0
  337. package/lib/components/PageHeader/PageHeaderUtils.js +1 -1
  338. package/lib/components/RemoveModal/RemoveModal.d.ts +4 -0
  339. package/lib/components/RemoveModal/RemoveModal.js +7 -1
  340. package/lib/components/SearchBar/SearchBar.d.ts +1 -1
  341. package/lib/components/SearchBar/SearchBar.js +2 -2
  342. package/lib/components/SidePanel/SidePanel.js +16 -20
  343. package/lib/components/SidePanel/motion/variants.d.ts +4 -6
  344. package/lib/components/SidePanel/motion/variants.js +10 -11
  345. package/lib/components/StatusIndicator/StatusIndicatorStep.js +94 -0
  346. package/lib/components/StringFormatter/StringFormatter.js +13 -2
  347. package/lib/components/StringFormatter/utils/enums.d.ts +20 -1
  348. package/lib/components/StringFormatter/utils/enums.js +30 -1
  349. package/lib/components/TagOverflow/TagOverflow.d.ts +35 -4
  350. package/lib/components/TagOverflow/TagOverflow.js +46 -63
  351. package/lib/components/TagOverflow/TagOverflowModal.js +4 -6
  352. package/lib/components/TagOverflow/TagOverflowPopover.d.ts +13 -1
  353. package/lib/components/TagOverflow/TagOverflowPopover.js +37 -40
  354. package/lib/components/Tearsheet/Tearsheet.d.ts +8 -1
  355. package/lib/components/Tearsheet/Tearsheet.js +9 -1
  356. package/lib/components/Tearsheet/TearsheetNarrow.d.ts +11 -0
  357. package/lib/components/Tearsheet/TearsheetNarrow.js +12 -0
  358. package/lib/components/Tearsheet/TearsheetShell.d.ts +11 -1
  359. package/lib/components/Tearsheet/TearsheetShell.js +26 -5
  360. package/lib/components/Toolbar/ToolbarButton.js +1 -1
  361. package/lib/components/UserAvatar/UserAvatar.d.ts +59 -1
  362. package/lib/components/UserAvatar/UserAvatar.js +7 -23
  363. package/lib/components/WebTerminal/WebTerminal.js +10 -12
  364. package/lib/components/index.d.ts +1 -1
  365. package/lib/global/js/hooks/useFocus.d.ts +1 -0
  366. package/lib/global/js/hooks/useFocus.js +5 -1
  367. package/lib/global/js/hooks/usePrefersReducedMotion.js +13 -7
  368. package/lib/global/js/package-settings.d.ts +1 -1
  369. package/lib/global/js/package-settings.js +1 -1
  370. package/lib/global/js/utils/scrollableAncestor.js +7 -0
  371. package/lib/global/js/utils/uuidv4.d.ts +6 -0
  372. package/lib/global/js/utils/uuidv4.js +2 -0
  373. package/lib/global/js/utils/wait.d.ts +6 -0
  374. package/lib/global/js/utils/wait.js +2 -0
  375. package/lib/index.js +5 -0
  376. package/lib/node_modules/@carbon/icon-helpers/es/index.js +49 -62
  377. package/lib/node_modules/@carbon/icons-react/es/generated/bucket-2.js +1036 -1074
  378. package/lib/node_modules/@carbon/icons-react/es/generated/bucket-9.js +946 -823
  379. package/lib/settings.d.ts +1 -1
  380. package/package.json +8 -7
  381. package/scss/components/Coachmark/_coachmark-overlay.scss +6 -70
  382. package/scss/components/Coachmark/_coachmark.scss +5 -4
  383. package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +1 -3
  384. package/scss/components/ConditionBuilder/_condition-builder.scss +8 -1
  385. package/scss/components/ConditionBuilder/styles/_conditionBuilderCondition.scss +38 -5
  386. package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +68 -22
  387. package/scss/components/ConditionBuilder/styles/_index.scss +7 -0
  388. package/scss/components/CreateModal/_create-modal.scss +0 -4
  389. package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +16 -2
  390. package/scss/components/Datagrid/_datagrid.scss +0 -4
  391. package/scss/components/Datagrid/styles/_datagrid.scss +1 -0
  392. package/scss/components/Datagrid/styles/_useActionsColumn.scss +6 -7
  393. package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +6 -7
  394. package/scss/components/Datagrid/styles/_useExpandedRow.scss +6 -7
  395. package/scss/components/Datagrid/styles/_useInlineEdit.scss +19 -7
  396. package/scss/components/Datagrid/styles/_useNestedRows.scss +6 -7
  397. package/scss/components/Datagrid/styles/_useNestedTable.scss +6 -7
  398. package/scss/components/Datagrid/styles/_useStickyColumn.scss +6 -7
  399. package/scss/components/Datagrid/styles/addons/_CustomizeColumnsTearsheet.scss +7 -5
  400. package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +5 -4
  401. package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +6 -7
  402. package/scss/components/HTTPErrors/_http-errors.scss +77 -0
  403. package/scss/components/OptionsTile/_options-tile.scss +6 -6
  404. package/scss/components/SidePanel/_side-panel.scss +1 -1
  405. package/scss/components/_index-released-only.scss +1 -0
  406. package/scss/config-dev.scss +7 -0
  407. package/scss/config.scss +7 -0
  408. package/telemetry.yml +32 -19
  409. package/es/components/ConditionBuilder/utils/checkForHoldingKey.d.ts +0 -1
  410. package/es/components/ConditionBuilder/utils/checkForHoldingKey.js +0 -16
  411. package/es/global/js/utils/window.d.ts +0 -2
  412. package/es/global/js/utils/window.js +0 -12
  413. package/lib/components/ConditionBuilder/utils/checkForHoldingKey.d.ts +0 -1
  414. package/lib/components/ConditionBuilder/utils/checkForHoldingKey.js +0 -20
  415. package/lib/global/js/utils/window.d.ts +0 -2
  416. package/lib/global/js/utils/window.js +0 -16
package/lib/settings.d.ts CHANGED
@@ -25,6 +25,7 @@ export const pkg: {
25
25
  ErrorEmptyState: boolean;
26
26
  ExportModal: boolean;
27
27
  ExpressiveCard: boolean;
28
+ FullPageError: boolean;
28
29
  HTTPError403: boolean;
29
30
  HTTPError404: boolean;
30
31
  HTTPErrorOther: boolean;
@@ -66,7 +67,6 @@ export const pkg: {
66
67
  BigNumbers: boolean;
67
68
  TruncatedList: boolean;
68
69
  DelimitedList: boolean;
69
- FullPageError: boolean;
70
70
  ScrollGradient: boolean;
71
71
  StringFormatter: boolean;
72
72
  StatusIndicator: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibm-products",
3
3
  "description": "Carbon for IBM Products",
4
- "version": "2.43.2-canary.11+91f282e56",
4
+ "version": "2.43.2-canary.112+d816aad33",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -26,7 +26,8 @@
26
26
  "lib",
27
27
  "scss",
28
28
  "flags.js",
29
- "telemetry.yml"
29
+ "telemetry.yml",
30
+ ".playwright/INTERNAL_AVT_REPORT_DO_NOT_USE.json"
30
31
  ],
31
32
  "keywords": [
32
33
  "carbon",
@@ -80,7 +81,7 @@
80
81
  "fs-extra": "^11.2.0",
81
82
  "glob": "^10.3.10",
82
83
  "jest": "^29.7.0",
83
- "jest-config-ibm-cloud-cognitive": "^1.2.0",
84
+ "jest-config-ibm-cloud-cognitive": "^1.5.0",
84
85
  "jest-environment-jsdom": "^29.7.0",
85
86
  "namor": "^1.1.2",
86
87
  "npm-check-updates": "^16.14.12",
@@ -95,7 +96,7 @@
95
96
  "dependencies": {
96
97
  "@babel/runtime": "^7.23.9",
97
98
  "@carbon/feature-flags": "^0.20.0",
98
- "@carbon/ibm-products-styles": "^2.39.1-canary.21+91f282e56",
99
+ "@carbon/ibm-products-styles": "^2.39.1-canary.122+d816aad33",
99
100
  "@carbon/telemetry": "^0.1.0",
100
101
  "@dnd-kit/core": "^6.0.8",
101
102
  "@dnd-kit/modifiers": "^7.0.0",
@@ -113,11 +114,11 @@
113
114
  "@carbon/grid": "^11.22.0",
114
115
  "@carbon/layout": "^11.21.0",
115
116
  "@carbon/motion": "^11.17.0",
116
- "@carbon/react": "^1.55.0",
117
- "@carbon/themes": "^11.34.0",
117
+ "@carbon/react": "^1.60.3",
118
+ "@carbon/themes": "^11.37.1",
118
119
  "@carbon/type": "^11.26.0",
119
120
  "react": "^16.8.6 || ^17.0.1 || ^18.2.0",
120
121
  "react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
121
122
  },
122
- "gitHead": "91f282e56eec038f7efda4dd15c08d708c46cb58"
123
+ "gitHead": "d816aad330c70ca9902484ad301db60c58496f9b"
123
124
  }
@@ -45,6 +45,11 @@ $draghandle-btn-class: #{$block-class}__handle;
45
45
 
46
46
  visibility: hidden;
47
47
 
48
+ &--tooltip {
49
+ position: initial;
50
+ transform: none !important;
51
+ }
52
+
48
53
  &--fixed {
49
54
  position: fixed;
50
55
  right: $spacing-05;
@@ -68,45 +73,19 @@ $draghandle-btn-class: #{$block-class}__handle;
68
73
  visibility: visible;
69
74
  }
70
75
 
71
- // CARET STYLING
72
- &__caret {
73
- // background-color: this property is set in _coachmark-overlay-theme.scss
74
- position: absolute;
75
- z-index: 5902;
76
- width: 0;
77
- height: 0;
78
- // border-bottom-color: this property is set in _coachmark-overlay-theme.scss
79
- border-right: $caret-center solid transparent;
80
- border-bottom: solid $caret-center $background-inverse;
81
- border-left: $caret-center solid transparent;
82
- }
83
-
84
- // OVERLAY AND CARET POSITIONING
76
+ // OVERLAY POSITIONING
85
77
  &--top {
86
78
  $horizontal-push: calc($distance-offset - $caret-center);
87
79
  $translate-y: calc(-1 * (100% + $distance-offset + $caret-height));
88
80
 
89
81
  transform: translate(-50%, $translate-y);
90
82
 
91
- .#{$block-class}__caret {
92
- left: calc(50% - $caret-center);
93
- transform: rotate(180deg);
94
- }
95
-
96
83
  &-left {
97
84
  transform: translate(calc(-1 * $distance-offset), $translate-y);
98
- .#{$block-class}__caret {
99
- left: $horizontal-push;
100
- transform: rotate(180deg);
101
- }
102
85
  }
103
86
 
104
87
  &-right {
105
88
  transform: translate(calc(-1 * (100% - $distance-offset)), $translate-y);
106
- .#{$block-class}__caret {
107
- right: $horizontal-push;
108
- transform: rotate(180deg);
109
- }
110
89
  }
111
90
  }
112
91
 
@@ -116,26 +95,13 @@ $draghandle-btn-class: #{$block-class}__handle;
116
95
  $translate-y: calc($distance-offset + $caret-height);
117
96
 
118
97
  transform: translate(-50%, $translate-y);
119
- .#{$block-class}__caret {
120
- top: $top;
121
- left: calc(50% - $caret-center);
122
- }
123
98
 
124
99
  &-left {
125
100
  transform: translate(calc(-1 * $distance-offset), $translate-y);
126
- .#{$block-class}__caret {
127
- top: $top;
128
- left: $horizontal-push;
129
- }
130
101
  }
131
102
 
132
103
  &-right {
133
104
  transform: translate(calc(-1 * (100% - $distance-offset)), $translate-y);
134
-
135
- .#{$block-class}__caret {
136
- top: $top;
137
- right: $horizontal-push;
138
- }
139
105
  }
140
106
  }
141
107
 
@@ -145,28 +111,13 @@ $draghandle-btn-class: #{$block-class}__handle;
145
111
  $vertical-push: calc($distance-offset - ($caret-height * 0.5));
146
112
 
147
113
  transform: translate($translate-x, -50%);
148
- .#{$block-class}__caret {
149
- top: calc(50% - ($caret-height * 0.5));
150
- right: $right;
151
- transform: rotate(90deg);
152
- }
153
114
 
154
115
  &-top {
155
116
  transform: translate($translate-x, calc(-1 * $distance-offset));
156
- .#{$block-class}__caret {
157
- top: $vertical-push;
158
- right: $right;
159
- transform: rotate(90deg);
160
- }
161
117
  }
162
118
 
163
119
  &-bottom {
164
120
  transform: translate($translate-x, calc(-1 * (100% - $distance-offset)));
165
- .#{$block-class}__caret {
166
- right: $right;
167
- bottom: $vertical-push;
168
- transform: rotate(90deg);
169
- }
170
121
  }
171
122
  }
172
123
 
@@ -176,28 +127,13 @@ $draghandle-btn-class: #{$block-class}__handle;
176
127
  $vertical-push: calc($distance-offset - ($caret-height * 0.5));
177
128
 
178
129
  transform: translate($translate-x, -50%);
179
- .#{$block-class}__caret {
180
- top: calc(50% - ($caret-height * 0.5));
181
- left: $left;
182
- transform: rotate(-90deg);
183
- }
184
130
 
185
131
  &-top {
186
132
  transform: translate($translate-x, calc(-1 * $distance-offset));
187
- .#{$block-class}__caret {
188
- top: $vertical-push;
189
- left: $left;
190
- transform: rotate(-90deg);
191
- }
192
133
  }
193
134
 
194
135
  &-bottom {
195
136
  transform: translate($translate-x, calc(-1 * (100% - $distance-offset)));
196
- .#{$block-class}__caret {
197
- bottom: $vertical-push;
198
- left: $left;
199
- transform: rotate(-90deg);
200
- }
201
137
  }
202
138
  }
203
139
 
@@ -8,6 +8,7 @@
8
8
  // Standard imports.
9
9
  @use '../../global/styles/project-settings' as c4p-settings;
10
10
  @use '../../global/styles/mixins';
11
+ @use '@carbon/styles/scss/config';
11
12
 
12
13
  @use './coachmark-dragbar';
13
14
  @use './coachmark-header';
@@ -23,8 +24,8 @@
23
24
  // TODO: @use(s) of IBM Products component styles used by Coachmark
24
25
 
25
26
  // The block part of our conventional BEM class names (blockClass__E--M).
26
- //$block-class: #{c4p-settings.$pkg-prefix}--coachmark;
27
+ $block-class: #{c4p-settings.$pkg-prefix}--coachmark;
27
28
 
28
- // .#{$block-class} {
29
- // // TODO: Styles.
30
- // }
29
+ .#{$block-class} {
30
+ position: relative;
31
+ }
@@ -69,9 +69,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--coachmark-beacon;
69
69
  }
70
70
  .#{$block-class}__target {
71
71
  // the hit area
72
- position: absolute;
73
- top: calc(-1 * $spacing-05);
74
- left: calc(-1 * $spacing-05);
72
+ display: flex;
75
73
  width: $spacing-07;
76
74
  height: $spacing-07;
77
75
  padding: 0;
@@ -49,7 +49,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
49
49
  }
50
50
  .#{$block-class}__condition-block {
51
51
  display: flex;
52
- width: max-content;
52
+ width: fit-content;
53
53
  flex-direction: row;
54
54
  }
55
55
  .#{$block-class}__content-container {
@@ -69,3 +69,10 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
69
69
  .#{$block-class}__group-separator {
70
70
  margin-top: $spacing-02;
71
71
  }
72
+ .#{$block-class}__add-group,
73
+ .#{$block-class}__group-separator {
74
+ width: fit-content;
75
+ }
76
+ .#{$block-class}__tooltip {
77
+ word-break: break-all;
78
+ }
@@ -1,6 +1,13 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024
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
+
1
8
  @use '@carbon/react/scss/theme' as *;
2
9
  @use '@carbon/react/scss/spacing' as *;
3
- @use '@carbon/react/scss/motion';
10
+ @use '@carbon/react/scss/motion' as *;
4
11
  @use '@carbon/styles/scss/components/tag' as *;
5
12
  @use '@carbon/styles/scss/utilities/focus-outline';
6
13
  @use '../../../global/styles/project-settings' as c4p-settings;
@@ -30,11 +37,21 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
30
37
  .#{$block-class}__condition__deletion-preview
31
38
  .#{$block-class}__button:not(
32
39
  .#{$block-class}__statement-button,
33
- .#{$block-class}__connector-button
40
+ .#{$block-class}__connector-button,
41
+ .#{$block-class}__add-button
34
42
  ) {
35
43
  background-color: $tag-background-red;
36
44
  color: $tag-color-red;
37
45
  }
46
+ .#{$block-class}__subgroup_deletionPreview {
47
+ .#{$block-class}__group {
48
+ /* stylelint-disable max-nesting-depth */
49
+ button {
50
+ background-color: $tag-background-red;
51
+ color: $tag-color-red;
52
+ }
53
+ }
54
+ }
38
55
 
39
56
  .#{$block-class}__condition__deletion-preview
40
57
  .#{$block-class}__button:not(
@@ -52,14 +69,30 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
52
69
  text-wrap: nowrap;
53
70
  }
54
71
  .#{$block-class}__group-preview {
72
+ height: 0;
73
+ opacity: 0;
74
+ pointer-events: none;
75
+ transition: all $duration-moderate-02 motion(exit, expressive);
76
+ .#{$block-class}__preview-condition {
77
+ display: flex;
78
+ }
79
+ }
80
+ .#{$block-class}__group-preview-animate {
81
+ height: auto;
82
+ color: $text-secondary;
55
83
  opacity: 0.5;
56
84
  pointer-events: none;
85
+ transition: all $duration-moderate-02 motion(exit, expressive);
57
86
  }
58
- .#{$block-class}__connector-disabled {
87
+ .#{$block-class}__connector--disabled {
59
88
  display: flex;
60
89
  min-width: $spacing-10;
61
- align-items: center;
62
90
  background-color: $layer;
63
91
  color: $text-helper;
64
- padding-inline: $spacing-03;
92
+ pointer-events: none;
93
+ }
94
+ .#{$block-class}__condition-wrapper
95
+ > .#{$block-class}__condition-block:last-child
96
+ > .#{$block-class}__groupConnector {
97
+ margin-bottom: 0;
65
98
  }
@@ -1,4 +1,12 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024
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
+
1
8
  @use 'sass:list';
9
+ @use 'sass:math';
2
10
  @use 'sass:string';
3
11
  @use '@carbon/react/scss/theme' as *;
4
12
  @use '../../../global/styles/project-settings' as c4p-settings;
@@ -18,7 +26,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
18
26
  @include type-style('body-01');
19
27
  }
20
28
 
21
- .#{$block-class}__item__content {
29
+ .#{$block-class}__popover-content-wrapper {
22
30
  overflow: auto;
23
31
  min-width: $spacing-07 + $spacing-13;
24
32
  max-width: $spacing-13 + $spacing-13;
@@ -96,7 +104,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
96
104
  .#{$block-class}__item-date,
97
105
  .#{$block-class}__item-text,
98
106
  .#{$block-class}__item-number,
99
- #{$block-class}__item-time {
107
+ .#{$block-class}__item-time {
100
108
  padding-block-end: $spacing-05;
101
109
  padding-inline: $spacing-05;
102
110
  }
@@ -167,21 +175,11 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
167
175
  }
168
176
  //need to revamp to a simpler logic
169
177
  $colors: (
170
- ($purple-70, $purple-60, $purple-50, $purple-40, $purple-30, $purple-20),
171
- ($cyan-70, $cyan-60, $cyan-50, $cyan-40, $cyan-30, $cyan-20),
172
- ($teal-70, $teal-60, $teal-50, $teal-40, $teal-30, $teal-20),
173
- (
174
- $magenta-70,
175
- $magenta-60,
176
- $magenta-50,
177
- $magenta-40,
178
- $magenta-30,
179
- $magenta-20
180
- ),
181
- ($red-70, $red-60, $red-50, $red-40, $red-30, $red-20),
182
- ($orange-70, $orange-60, $orange-50, $orange-40, $orange-30, $orange-20),
183
- ($yellow-70, $yellow-60, $yellow-50, $yellow-40, $yellow-30, $yellow-20),
184
- ($green-70, $green-60, $green-50, $green-40, $green-30, $green-20)
178
+ ($purple-70, $purple-60, $purple-50, $purple-40, $purple-30),
179
+ ($blue-70, $blue-60, $blue-50, $blue-40, $blue-30),
180
+ ($cyan-70, $cyan-60, $cyan-50, $cyan-40, $cyan-30),
181
+ ($teal-70, $teal-60, $teal-50, $teal-40, $teal-30),
182
+ ($green-70, $green-60, $green-50, $green-40, $green-30)
185
183
  );
186
184
 
187
185
  @for $i from 1 through list.length($colors) {
@@ -191,10 +189,30 @@ $colors: (
191
189
  )
192
190
  );
193
191
  $group-colors: list.nth($colors, $i);
194
- @each $color in $group-colors {
192
+ $group-colors-length: list.length($group-colors);
193
+
194
+ //this is to select and add color to the new group preview
195
+ .#{$block-class}__group-preview[data-color-index='#{($i%list.length($colors))}']
196
+ button {
197
+ /* stylelint-disable-next-line carbon/theme-token-use */
198
+ $next-group-color: list.nth($colors, ($i%list.length($colors)) +1);
199
+ /* stylelint-disable-next-line carbon/theme-token-use */
200
+ box-shadow: inset 0 #{$spacing-01} 0 0 list.nth($next-group-color, 1);
201
+ }
202
+
203
+ //we need to select the group color from the $colors array and need to repeat the colors after $colors.length subgroups
204
+ @for $el-index from 1 through 50 {
205
+ $item-index: $el-index;
206
+ /* stylelint-disable-next-line carbon/theme-token-use */
207
+ $item-index: ((($item-index - 1) % $group-colors-length) +1);
195
208
  #{$selector} {
196
- /* stylelint-disable-next-line carbon/theme-token-use */
197
- --#{$block-class}__condition-wrapper-color: #{$color};
209
+ @if $item-index != 1 {
210
+ /* stylelint-disable-next-line carbon/theme-token-use */
211
+ --#{$block-class}__condition-wrapper-color: #{list.nth(
212
+ $group-colors,
213
+ $item-index
214
+ )}; // stylelint-disable-line carbon/theme-token-use
215
+ }
198
216
  }
199
217
 
200
218
  $selector: list.append(
@@ -211,8 +229,12 @@ $colors: (
211
229
  .#{$block-class}__groupConnector {
212
230
  background-color: $layer;
213
231
  }
214
- .#{$block-class}__condition-wrapper > :nth-child(1) .#{$block-class}__button,
215
- .#{$block-class}__condition-wrapper > :nth-child(2) .#{$block-class}__button {
232
+ .#{$block-class}__condition-wrapper:not(.#{$block-class}__group-preview)
233
+ > :nth-child(1)
234
+ .#{$block-class}__button,
235
+ .#{$block-class}__condition-wrapper:not(.#{$block-class}__group-preview)
236
+ > :nth-child(2)
237
+ .#{$block-class}__button {
216
238
  /* stylelint-disable-next-line carbon/theme-token-use */
217
239
  box-shadow: inset 0 #{$spacing-01} 0 0 var(--#{$block-class}__condition-wrapper-color);
218
240
  }
@@ -229,3 +251,27 @@ $colors: (
229
251
  align-self: center;
230
252
  margin-left: auto;
231
253
  }
254
+ .#{$block-class}__add-condition-sub-group-wrapper {
255
+ z-index: -1;
256
+ width: 0;
257
+ pointer-events: none;
258
+ transform: translateX(-100%);
259
+ // stylelint-disable-next-line carbon/motion-duration-use, carbon/motion-easing-use
260
+ transition: transform motion(exit, productive) $duration-fast-02;
261
+ }
262
+ .#{$block-class}__add-condition-sub-group-wrapper--show {
263
+ z-index: 0;
264
+ width: auto;
265
+ pointer-events: all;
266
+ transform: translateX(0);
267
+ }
268
+ .#{$block-class}__invalid-input {
269
+ display: flex;
270
+ }
271
+ .#{$block-class}__invalid-input > svg {
272
+ color: $support-warning;
273
+ /* stylelint-disable max-nesting-depth */
274
+ > path:first-child {
275
+ fill: $icon-primary;
276
+ }
277
+ }
@@ -1,2 +1,9 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024
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
+
1
8
  @use './conditionBuilderItem';
2
9
  @use './conditionBuilderCondition';
@@ -12,10 +12,6 @@
12
12
  @use '@carbon/styles/scss/type';
13
13
  @use '../../global/styles/project-settings' as c4p-settings;
14
14
 
15
- .#{c4p-settings.$pkg-prefix}--create-modal {
16
- background-color: $background;
17
- }
18
-
19
15
  .#{c4p-settings.$pkg-prefix}--create-modal
20
16
  .#{c4p-settings.$carbon-prefix}--modal-close {
21
17
  display: none;
@@ -201,6 +201,13 @@ $header-cell-background: $layer-accent-01;
201
201
  outline: 0;
202
202
  }
203
203
  }
204
+
205
+ .#{$block-class}__td-th.#{$block-class}__td_custom {
206
+ align-items: center;
207
+ justify-content: center;
208
+ gap: $spacing-03;
209
+ }
210
+
204
211
  .#{$block-class}__selection-area--element {
205
212
  position: absolute;
206
213
  z-index: 2;
@@ -252,7 +259,9 @@ $header-cell-background: $layer-accent-01;
252
259
  background-color: $background-inverse;
253
260
  }
254
261
  }
255
- .#{$block-class}__th--selected-header.#{$block-class}__th {
262
+ .#{$block-class}__th--selected-header.#{$block-class}__th:not(
263
+ .#{$block-class}__th--active-header-disabledSwapping
264
+ ) {
256
265
  cursor: grab;
257
266
  }
258
267
  .#{$block-class}__th--selected-header-reorder-active.#{$block-class}__th {
@@ -268,6 +277,9 @@ $header-cell-background: $layer-accent-01;
268
277
  width: $spacing-01;
269
278
  background-color: $background-brand;
270
279
  }
280
+ .#{$block-class}__th--active-header-disabledSwapping {
281
+ cursor: pointer;
282
+ }
271
283
  .#{$block-class}__th--active-header,
272
284
  .#{$block-class}__td-th--active-header.#{$block-class}__td {
273
285
  background-color: $background-selected-hover;
@@ -283,7 +295,9 @@ $header-cell-background: $layer-accent-01;
283
295
  background-color: $background-inverse;
284
296
  }
285
297
  }
286
- .#{$block-class}__th--selected-header.#{$block-class}__th {
298
+ .#{$block-class}__th--selected-header.#{$block-class}__th:not(
299
+ .#{$block-class}__th--active-header-disabledSwapping
300
+ ) {
287
301
  cursor: grab;
288
302
  }
289
303
  .#{$block-class}__th--selected-header-reorder-active.#{$block-class}__th {
@@ -80,7 +80,3 @@ $block-class: #{c4p-settings.$pkg-prefix}--datagrid;
80
80
  ) {
81
81
  min-width: auto;
82
82
  }
83
-
84
- .#{$block-class} .#{c4p-settings.$carbon-prefix}--pagination {
85
- background-color: $layer-02;
86
- }
@@ -479,6 +479,7 @@
479
479
  }
480
480
 
481
481
  .#{$block-class}__head-hidden-select-all {
482
+ min-width: $spacing-09;
482
483
  padding-right: $spacing-09;
483
484
 
484
485
  &.#{$block-class}__select-all-sticky-left {
@@ -1,10 +1,9 @@
1
- /*
2
- * Licensed Materials - Property of IBM
3
- * 5724-Q36
4
- * (c) Copyright IBM Corp. 2021
5
- * US Government Users Restricted Rights - Use, duplication or disclosure
6
- * restricted by GSA ADP Schedule Contract with IBM Corp.
7
- */
1
+ /**
2
+ * Copyright IBM Corp. 2024
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
+ */
8
7
 
9
8
  @use '@carbon/styles/scss/spacing' as *;
10
9
  @use '@carbon/styles/scss/theme';
@@ -1,10 +1,9 @@
1
- /*
2
- * Licensed Materials - Property of IBM
3
- * 5724-Q36
4
- * (c) Copyright IBM Corp. 2020
5
- * US Government Users Restricted Rights - Use, duplication or disclosure
6
- * restricted by GSA ADP Schedule Contract with IBM Corp.
7
- */
1
+ /**
2
+ * Copyright IBM Corp. 2024
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
+ */
8
7
 
9
8
  @use './variables';
10
9
 
@@ -1,10 +1,9 @@
1
- /*
2
- * Licensed Materials - Property of IBM
3
- * 5724-Q36
4
- * (c) Copyright IBM Corp. 2022
5
- * US Government Users Restricted Rights - Use, duplication or disclosure
6
- * restricted by GSA ADP Schedule Contract with IBM Corp.
7
- */
1
+ /**
2
+ * Copyright IBM Corp. 2024
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
+ */
8
7
 
9
8
  @use '../../../global/styles/project-settings' as c4p-settings;
10
9
  @use '@carbon/styles/scss/theme' as *;
@@ -1,10 +1,9 @@
1
- /*
2
- * Licensed Materials - Property of IBM
3
- * 5724-Q36
4
- * (c) Copyright IBM Corp. 2021
5
- * US Government Users Restricted Rights - Use, duplication or disclosure
6
- * restricted by GSA ADP Schedule Contract with IBM Corp.
7
- */
1
+ /**
2
+ * Copyright IBM Corp. 2024
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
+ */
8
7
 
9
8
  @use '../../../global/styles/project-settings' as c4p-settings;
10
9
  @use '@carbon/styles/scss/spacing' as *;
@@ -80,6 +79,19 @@ $row-heights: (
80
79
  align-items: center;
81
80
  }
82
81
 
82
+ .#{variables.$block-class}__inline-edit--outer-cell-checkbox-focus
83
+ .cds--checkbox-label::before {
84
+ outline: $spacing-01 solid $focus;
85
+ outline-offset: 1px;
86
+ }
87
+
88
+ .#{variables.$block-class}__inline-edit--outer-cell-checkbox {
89
+ display: flex;
90
+ height: -webkit-fill-available;
91
+ justify-content: center;
92
+ padding-inline: $spacing-05;
93
+ }
94
+
83
95
  .#{variables.$block-class}__static--outer-cell {
84
96
  display: flex;
85
97
  height: -webkit-fill-available;
@@ -1,10 +1,9 @@
1
- /*
2
- * Licensed Materials - Property of IBM
3
- * 5724-Q36
4
- * (c) Copyright IBM Corp. 2020 - 2022
5
- * US Government Users Restricted Rights - Use, duplication or disclosure
6
- * restricted by GSA ADP Schedule Contract with IBM Corp.
7
- */
1
+ /**
2
+ * Copyright IBM Corp. 2024
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
+ */
8
7
 
9
8
  @use '@carbon/styles/scss/theme' as *;
10
9
  @use '@carbon/styles/scss/spacing' as *;