carbon-addons-iot-react 2.70.0 → 2.72.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/css/carbon-addons-iot-react.css +43 -10
  2. package/css/carbon-addons-iot-react.css.map +1 -1
  3. package/es/node_modules/carbon-components-react/es/components/UIShell/Content.js +2 -2
  4. package/es/node_modules/carbon-components-react/es/components/UIShell/Header.js +2 -2
  5. package/es/node_modules/carbon-components-react/es/components/UIShell/HeaderGlobalAction.js +2 -2
  6. package/es/node_modules/carbon-components-react/es/components/UIShell/HeaderMenu.js +3 -3
  7. package/es/node_modules/carbon-components-react/es/components/UIShell/HeaderMenuButton.js +2 -2
  8. package/es/node_modules/carbon-components-react/es/components/UIShell/HeaderName.js +2 -2
  9. package/es/node_modules/carbon-components-react/es/components/UIShell/HeaderNavigation.js +2 -2
  10. package/es/node_modules/carbon-components-react/es/components/UIShell/HeaderPanel.js +2 -2
  11. package/es/node_modules/carbon-components-react/es/components/UIShell/HeaderSideNavItems.js +2 -2
  12. package/es/node_modules/carbon-components-react/es/components/UIShell/SideNav.js +3 -3
  13. package/es/node_modules/carbon-components-react/es/components/UIShell/SideNavDetails.js +2 -2
  14. package/es/node_modules/carbon-components-react/es/components/UIShell/SideNavFooter.js +2 -2
  15. package/es/node_modules/carbon-components-react/es/components/UIShell/SideNavHeader.js +2 -2
  16. package/es/node_modules/carbon-components-react/es/components/UIShell/SideNavIcon.js +2 -2
  17. package/es/node_modules/carbon-components-react/es/components/UIShell/SideNavItem.js +2 -2
  18. package/es/node_modules/carbon-components-react/es/components/UIShell/SideNavItems.js +2 -2
  19. package/es/node_modules/carbon-components-react/es/components/UIShell/SideNavLink.js +2 -2
  20. package/es/node_modules/carbon-components-react/es/components/UIShell/SideNavLinkText.js +2 -2
  21. package/es/node_modules/carbon-components-react/es/components/UIShell/SideNavMenu.js +2 -2
  22. package/es/node_modules/carbon-components-react/es/components/UIShell/SideNavMenuItem.js +3 -3
  23. package/es/node_modules/carbon-components-react/es/components/UIShell/SideNavSwitcher.js +2 -2
  24. package/es/node_modules/carbon-components-react/es/components/UIShell/SkipToContent.js +2 -2
  25. package/es/node_modules/carbon-components-react/es/components/UIShell/Switcher.js +2 -2
  26. package/es/node_modules/carbon-components-react/es/components/UIShell/SwitcherDivider.js +2 -2
  27. package/es/node_modules/carbon-components-react/es/components/UIShell/SwitcherItem.js +3 -3
  28. package/es/node_modules/carbon-components-react/es/tools/wrapComponent.js +2 -2
  29. package/es/src/components/Accordion/AccordionItemDefer.jsx +52 -0
  30. package/es/src/components/AddCard/AddCard.jsx +2 -2
  31. package/es/src/components/BarChartCard/BarChartCard.jsx +2 -2
  32. package/es/src/components/Breadcrumb/Breadcrumb.jsx +5 -5
  33. package/es/src/components/Button/Button.jsx +2 -2
  34. package/es/src/components/Card/Card.jsx +5 -5
  35. package/es/src/components/Card/CardRangePicker.jsx +3 -3
  36. package/es/src/components/Card/CardToolbar.jsx +4 -4
  37. package/es/src/components/Card/DataStateRenderer.jsx +3 -3
  38. package/es/src/components/ComposedModal/ComposedModal.jsx +3 -3
  39. package/es/src/components/ComposedStructuredList/ComposedStructuredList.jsx +1 -1
  40. package/es/src/components/Dashboard/CardRenderer.jsx +1 -1
  41. package/es/src/components/Dashboard/Dashboard.jsx +1 -1
  42. package/es/src/components/Dashboard/DashboardGrid.jsx +1 -1
  43. package/es/src/components/DateTimePicker/DateTimePicker.jsx +5 -5
  44. package/es/src/components/GaugeCard/GaugeCard.jsx +17 -20
  45. package/es/src/components/Header/HeaderAction/HeaderAction.jsx +1 -1
  46. package/es/src/components/Header/HeaderAction/HeaderActionMenu.jsx +3 -3
  47. package/es/src/components/Header/HeaderAction/HeaderActionPanel.jsx +3 -3
  48. package/es/src/components/Hero/Hero.jsx +1 -1
  49. package/es/src/components/IconSwitch/IconSwitch.jsx +2 -2
  50. package/es/src/components/ImageCard/CardIcon.jsx +1 -1
  51. package/es/src/components/ImageCard/ImageHotspots.jsx +1 -1
  52. package/es/src/components/List/HierarchyList/HierarchyList.jsx +1 -1
  53. package/es/src/components/List/List.jsx +3 -3
  54. package/es/src/components/List/ListItem/ListItem.jsx +7 -7
  55. package/es/src/components/List/SimpleList/SimpleList.jsx +1 -1
  56. package/es/src/components/ListCard/ListCard.jsx +2 -2
  57. package/es/src/components/Page/EditPage.jsx +2 -2
  58. package/es/src/components/PageTitleBar/PageTitleBar.jsx +3 -3
  59. package/es/src/components/PageWizard/PageWizard.jsx +2 -2
  60. package/es/src/components/PageWizard/StatefulPageWizard.jsx +1 -1
  61. package/es/src/components/ProgressIndicator/ProgressIndicator.jsx +2 -2
  62. package/es/src/components/SideNav/SideNav.jsx +2 -2
  63. package/es/src/components/Table/Pagination.jsx +2 -2
  64. package/es/src/components/Table/StatefulTable.jsx +1 -1
  65. package/es/src/components/Table/Table.jsx +4 -4
  66. package/es/src/components/Table/TableBody/RowActionsCell/RowActionsCell.jsx +7 -14
  67. package/es/src/components/Table/TableBody/TableBodyRow/TableBodyRow.jsx +4 -4
  68. package/es/src/components/Table/TableCellRenderer/TableCellRenderer.jsx +2 -2
  69. package/es/src/components/Table/TableHead/ColumnHeaderRow/ColumnHeaderRow.jsx +1 -1
  70. package/es/src/components/Table/TableHead/ColumnHeaderSelect/ColumnHeaderSelect.jsx +2 -2
  71. package/es/src/components/Table/TableHead/ColumnResize.jsx +2 -2
  72. package/es/src/components/Table/TableHead/TableHead.jsx +6 -6
  73. package/es/src/components/Table/TableHead/TableHeader.js +3 -3
  74. package/es/src/components/Table/TableToolbar/TableToolbar.jsx +3 -3
  75. package/es/src/components/Table/TableToolbarSearch/TableToolbarSearch.jsx +3 -3
  76. package/es/src/components/Table/baseTableReducer.js +1 -1
  77. package/es/src/components/Table/tableReducer.js +1 -1
  78. package/es/src/components/TileCatalog/StatefulTileCatalog.jsx +1 -1
  79. package/es/src/components/TileCatalog/TileCatalog.jsx +2 -2
  80. package/es/src/components/TileCatalog/TileGroup.jsx +2 -2
  81. package/es/src/components/TileCatalogNew/TileCatalogNew.jsx +1 -1
  82. package/es/src/components/TileCatalogNew/TilePagination/TilePagination.jsx +5 -5
  83. package/es/src/components/TileGallery/StatefulTileGallery.jsx +1 -1
  84. package/es/src/components/TimePickerSpinner/TimePickerSpinner.jsx +4 -4
  85. package/es/src/components/ValueCard/Attribute.jsx +4 -4
  86. package/es/src/components/ValueCard/UnitRenderer.jsx +2 -2
  87. package/es/src/components/ValueCard/ValueRenderer.jsx +2 -2
  88. package/es/src/components/WizardInline/StatefulWizardInline.jsx +1 -1
  89. package/es/src/components/WizardInline/WizardHeader/WizardHeader.jsx +1 -1
  90. package/es/src/components/WizardModal/WizardModal.jsx +2 -2
  91. package/es/src/index.js +4 -5
  92. package/es/src/internal/deprecate.js +1 -1
  93. package/es/src/utils/cardUtilityFunctions.js +1 -1
  94. package/lib/css/carbon-addons-iot-react.css +43 -10
  95. package/lib/css/carbon-addons-iot-react.css.map +1 -1
  96. package/lib/node_modules/@carbon/charts-react/bar-chart-grouped.js +2 -2
  97. package/lib/node_modules/@carbon/charts-react/bar-chart-simple.js +2 -2
  98. package/lib/node_modules/@carbon/charts-react/bar-chart-stacked.js +2 -2
  99. package/lib/node_modules/@carbon/charts-react/line-chart.js +2 -2
  100. package/lib/node_modules/carbon-components-react/es/components/UIShell/Content.js +2 -2
  101. package/lib/node_modules/carbon-components-react/es/components/UIShell/Header.js +4 -4
  102. package/lib/node_modules/carbon-components-react/es/components/UIShell/HeaderGlobalAction.js +4 -4
  103. package/lib/node_modules/carbon-components-react/es/components/UIShell/HeaderGlobalBar.js +2 -2
  104. package/lib/node_modules/carbon-components-react/es/components/UIShell/HeaderMenu.js +8 -8
  105. package/lib/node_modules/carbon-components-react/es/components/UIShell/HeaderMenuButton.js +4 -4
  106. package/lib/node_modules/carbon-components-react/es/components/UIShell/HeaderMenuItem.js +3 -3
  107. package/lib/node_modules/carbon-components-react/es/components/UIShell/HeaderName.js +5 -5
  108. package/lib/node_modules/carbon-components-react/es/components/UIShell/HeaderNavigation.js +4 -4
  109. package/lib/node_modules/carbon-components-react/es/components/UIShell/HeaderPanel.js +4 -4
  110. package/lib/node_modules/carbon-components-react/es/components/UIShell/HeaderSideNavItems.js +2 -2
  111. package/lib/node_modules/carbon-components-react/es/components/UIShell/SideNav.js +5 -5
  112. package/lib/node_modules/carbon-components-react/es/components/UIShell/SideNavDetails.js +2 -2
  113. package/lib/node_modules/carbon-components-react/es/components/UIShell/SideNavFooter.js +2 -2
  114. package/lib/node_modules/carbon-components-react/es/components/UIShell/SideNavHeader.js +4 -4
  115. package/lib/node_modules/carbon-components-react/es/components/UIShell/SideNavIcon.js +2 -2
  116. package/lib/node_modules/carbon-components-react/es/components/UIShell/SideNavItem.js +2 -2
  117. package/lib/node_modules/carbon-components-react/es/components/UIShell/SideNavItems.js +2 -2
  118. package/lib/node_modules/carbon-components-react/es/components/UIShell/SideNavLink.js +11 -11
  119. package/lib/node_modules/carbon-components-react/es/components/UIShell/SideNavLinkText.js +2 -2
  120. package/lib/node_modules/carbon-components-react/es/components/UIShell/SideNavMenu.js +8 -8
  121. package/lib/node_modules/carbon-components-react/es/components/UIShell/SideNavMenuItem.js +7 -7
  122. package/lib/node_modules/carbon-components-react/es/components/UIShell/SideNavSwitcher.js +2 -2
  123. package/lib/node_modules/carbon-components-react/es/components/UIShell/SkipToContent.js +2 -2
  124. package/lib/node_modules/carbon-components-react/es/components/UIShell/Switcher.js +4 -4
  125. package/lib/node_modules/carbon-components-react/es/components/UIShell/SwitcherDivider.js +2 -2
  126. package/lib/node_modules/carbon-components-react/es/components/UIShell/SwitcherItem.js +7 -7
  127. package/lib/node_modules/carbon-components-react/es/prop-types/AriaPropTypes.js +2 -2
  128. package/lib/node_modules/carbon-components-react/es/tools/wrapComponent.js +2 -2
  129. package/lib/scss/components/GaugeCard/_gauge-card.scss +33 -6
  130. package/lib/scss/components/Table/TableBody/RowActionsCell/_row-actions-cell.scss +25 -2
  131. package/lib/scss/components/TextInput/_text-input.scss +4 -0
  132. package/lib/src/components/Accordion/AccordionItemDefer.jsx +57 -0
  133. package/lib/src/components/AddCard/AddCard.jsx +2 -2
  134. package/lib/src/components/BarChartCard/BarChartCard.jsx +22 -22
  135. package/lib/src/components/Breadcrumb/Breadcrumb.jsx +7 -7
  136. package/lib/src/components/Button/Button.jsx +4 -4
  137. package/lib/src/components/Card/Card.jsx +32 -32
  138. package/lib/src/components/Card/CardRangePicker.jsx +5 -5
  139. package/lib/src/components/Card/CardToolbar.jsx +13 -13
  140. package/lib/src/components/Card/DataStateRenderer.jsx +14 -14
  141. package/lib/src/components/ComposedModal/ComposedModal.jsx +10 -10
  142. package/lib/src/components/ComposedStructuredList/ComposedStructuredList.jsx +5 -5
  143. package/lib/src/components/Dashboard/CardRenderer.jsx +23 -23
  144. package/lib/src/components/Dashboard/Dashboard.jsx +8 -8
  145. package/lib/src/components/Dashboard/DashboardGrid.jsx +22 -22
  146. package/lib/src/components/Dashboard/DashboardHeader.jsx +5 -5
  147. package/lib/src/components/DateTimePicker/DateTimePicker.jsx +9 -9
  148. package/lib/src/components/FileDrop/FileDrop.jsx +2 -2
  149. package/lib/src/components/GaugeCard/GaugeCard.jsx +26 -29
  150. package/lib/src/components/Header/Header.jsx +12 -12
  151. package/lib/src/components/Header/HeaderAction/HeaderAction.jsx +11 -11
  152. package/lib/src/components/Header/HeaderAction/HeaderActionMenu.jsx +9 -9
  153. package/lib/src/components/Header/HeaderAction/HeaderActionPanel.jsx +10 -10
  154. package/lib/src/components/Header/HeaderActionGroup.jsx +6 -6
  155. package/lib/src/components/Hero/Hero.jsx +3 -3
  156. package/lib/src/components/IconSwitch/IconSwitch.jsx +2 -2
  157. package/lib/src/components/ImageCard/CardIcon.jsx +5 -5
  158. package/lib/src/components/ImageCard/Hotspot.jsx +2 -2
  159. package/lib/src/components/ImageCard/ImageCard.jsx +12 -12
  160. package/lib/src/components/ImageCard/ImageControls.jsx +3 -3
  161. package/lib/src/components/ImageCard/ImageHotspots.jsx +6 -6
  162. package/lib/src/components/List/HierarchyList/HierarchyList.jsx +6 -6
  163. package/lib/src/components/List/HierarchyList/index.js +2 -2
  164. package/lib/src/components/List/List.jsx +10 -10
  165. package/lib/src/components/List/ListItem/ListItem.jsx +7 -7
  166. package/lib/src/components/List/SimpleList/SimpleList.jsx +3 -3
  167. package/lib/src/components/ListCard/ListCard.jsx +9 -9
  168. package/lib/src/components/NavigationBar/NavigationBar.jsx +5 -5
  169. package/lib/src/components/Page/EditPage.jsx +9 -9
  170. package/lib/src/components/Page/PageHero.jsx +9 -9
  171. package/lib/src/components/Page/PageTitle.jsx +2 -2
  172. package/lib/src/components/PageTitleBar/PageTitleBar.jsx +8 -8
  173. package/lib/src/components/PageWizard/PageWizard.jsx +2 -2
  174. package/lib/src/components/PageWizard/PageWizardStep/PageWizardStep.jsx +7 -7
  175. package/lib/src/components/PageWizard/PageWizardStep/PageWizardStepContent.jsx +2 -2
  176. package/lib/src/components/PageWizard/PageWizardStep/PageWizardStepDescription.jsx +2 -2
  177. package/lib/src/components/PageWizard/PageWizardStep/PageWizardStepExtraContent.jsx +2 -2
  178. package/lib/src/components/PageWizard/PageWizardStep/PageWizardStepTitle.jsx +2 -2
  179. package/lib/src/components/PageWizard/StatefulPageWizard.jsx +4 -4
  180. package/lib/src/components/ProgressIndicator/ProgressIndicator.jsx +2 -2
  181. package/lib/src/components/ResourceList/ResourceList.jsx +2 -2
  182. package/lib/src/components/SideNav/SideNav.jsx +12 -12
  183. package/lib/src/components/SimplePagination/SimplePagination.jsx +7 -7
  184. package/lib/src/components/Table/EmptyTable/EmptyTable.jsx +4 -4
  185. package/lib/src/components/Table/Pagination.jsx +2 -2
  186. package/lib/src/components/Table/StatefulTable.jsx +25 -25
  187. package/lib/src/components/Table/Table.jsx +38 -38
  188. package/lib/src/components/Table/TableBody/RowActionsCell/RowActionsCell.jsx +14 -21
  189. package/lib/src/components/Table/TableBody/RowActionsCell/RowActionsError.jsx +4 -4
  190. package/lib/src/components/Table/TableBody/TableBody.jsx +7 -7
  191. package/lib/src/components/Table/TableBody/TableBodyRow/TableBodyRow.jsx +24 -24
  192. package/lib/src/components/Table/TableCellRenderer/TableCellRenderer.jsx +2 -2
  193. package/lib/src/components/Table/TableHead/ColumnHeaderRow/ColumnHeaderRow.jsx +7 -7
  194. package/lib/src/components/Table/TableHead/ColumnHeaderSelect/ColumnHeaderSelect.jsx +4 -4
  195. package/lib/src/components/Table/TableHead/ColumnResize.jsx +6 -6
  196. package/lib/src/components/Table/TableHead/FilterHeaderRow/FilterHeaderRow.jsx +7 -7
  197. package/lib/src/components/Table/TableHead/TableHead.jsx +30 -30
  198. package/lib/src/components/Table/TableHead/TableHeader.js +3 -3
  199. package/lib/src/components/Table/TablePropTypes.js +2 -2
  200. package/lib/src/components/Table/TableSkeletonWithHeaders/TableSkeletonWithHeaders.jsx +2 -2
  201. package/lib/src/components/Table/TableToolbar/TableToolbar.jsx +17 -17
  202. package/lib/src/components/Table/TableToolbarSearch/TableToolbarSearch.jsx +3 -3
  203. package/lib/src/components/Table/baseTableReducer.js +18 -18
  204. package/lib/src/components/Table/tableReducer.js +34 -34
  205. package/lib/src/components/TableCard/TableCard.jsx +26 -26
  206. package/lib/src/components/TableCard/ThresholdIcon.jsx +2 -2
  207. package/lib/src/components/TileCatalog/StatefulTileCatalog.jsx +12 -12
  208. package/lib/src/components/TileCatalog/TileCatalog.jsx +8 -8
  209. package/lib/src/components/TileCatalog/TileGroup.jsx +2 -2
  210. package/lib/src/components/TileCatalog/tileCatalogReducer.js +3 -3
  211. package/lib/src/components/TileCatalogNew/TileCatalogNew.jsx +3 -3
  212. package/lib/src/components/TileCatalogNew/TilePagination/TilePagination.jsx +5 -5
  213. package/lib/src/components/TileGallery/StatefulTileGallery.jsx +17 -17
  214. package/lib/src/components/TileGallery/TileGallery.jsx +2 -2
  215. package/lib/src/components/TimePickerSpinner/TimePickerSpinner.jsx +12 -12
  216. package/lib/src/components/TimeSeriesCard/TimeSeriesCard.jsx +35 -35
  217. package/lib/src/components/ValueCard/Attribute.jsx +19 -19
  218. package/lib/src/components/ValueCard/UnitRenderer.jsx +4 -4
  219. package/lib/src/components/ValueCard/ValueCard.jsx +52 -52
  220. package/lib/src/components/ValueCard/ValueRenderer.jsx +12 -12
  221. package/lib/src/components/WizardInline/StatefulWizardInline.jsx +5 -5
  222. package/lib/src/components/WizardInline/WizardFooter/WizardFooter.jsx +5 -5
  223. package/lib/src/components/WizardInline/WizardHeader/WizardHeader.jsx +7 -7
  224. package/lib/src/components/WizardInline/WizardInline.jsx +14 -14
  225. package/lib/src/components/WizardModal/WizardModal.jsx +8 -8
  226. package/lib/src/constants/CardPropTypes.js +14 -14
  227. package/lib/src/index.js +144 -144
  228. package/lib/src/internal/deprecate.js +1 -1
  229. package/lib/src/utils/cardUtilityFunctions.js +10 -10
  230. package/lib/src/utils/componentUtilityFunctions.js +13 -13
  231. package/package.json +1 -1
  232. package/scss/components/GaugeCard/_gauge-card.scss +33 -6
  233. package/scss/components/Table/TableBody/RowActionsCell/_row-actions-cell.scss +25 -2
  234. package/scss/components/TextInput/_text-input.scss +4 -0
  235. package/umd/carbon-addons-iot-react.js +797 -1424
  236. package/es/node_modules/carbon-components-react/es/components/Accordion/Accordion.Skeleton.js +0 -96
  237. package/es/node_modules/carbon-components-react/es/components/Accordion/Accordion.js +0 -45
  238. package/es/node_modules/carbon-components-react/es/components/Accordion/AccordionItem.js +0 -163
  239. package/es/node_modules/carbon-components-react/es/components/SkeletonText/SkeletonText.js +0 -111
  240. package/es/node_modules/carbon-components-react/es/prop-types/deprecate.js +0 -30
  241. package/es/src/components/Accordion/AccordionItem.jsx +0 -180
  242. package/lib/node_modules/carbon-components-react/es/components/Accordion/Accordion.Skeleton.js +0 -101
  243. package/lib/node_modules/carbon-components-react/es/components/Accordion/Accordion.js +0 -50
  244. package/lib/node_modules/carbon-components-react/es/components/Accordion/AccordionItem.js +0 -168
  245. package/lib/node_modules/carbon-components-react/es/components/SkeletonText/SkeletonText.js +0 -116
  246. package/lib/node_modules/carbon-components-react/es/prop-types/deprecate.js +0 -34
  247. package/lib/src/components/Accordion/AccordionItem.jsx +0 -185
@@ -1,11 +1,11 @@
1
1
  import { Tabs, SkeletonText, Breadcrumb, BreadcrumbItem, Tooltip } from 'carbon-components-react';
2
2
  import PropTypes from 'prop-types';
3
3
  import React, { Fragment } from 'react';
4
- import cx from 'classnames';
4
+ import classnames from 'classnames';
5
5
  import 'core-js/modules/es.symbol';
6
- import { Information20, Edit20 } from '@carbon/icons-react';
7
6
  import Button from '../Button/Button.jsx';
8
7
  import 'core-js/modules/es.array.map';
8
+ import { Information20, Edit20 } from '@carbon/icons-react';
9
9
  import deprecate from '../../internal/deprecate.js';
10
10
  import 'core-js/modules/es.symbol.description';
11
11
 
@@ -83,7 +83,7 @@ var PageTitleBar = function PageTitleBar(_ref) {
83
83
  //
84
84
  var titleBarContent = content || tabs;
85
85
  return /*#__PURE__*/React.createElement("div", {
86
- className: cx(className, 'page-title-bar')
86
+ className: classnames(className, 'page-title-bar')
87
87
  }, isLoading ? /*#__PURE__*/React.createElement(SkeletonText, {
88
88
  className: "page-title-bar-loading",
89
89
  heading: true,
@@ -1,7 +1,7 @@
1
1
  import { ProgressIndicator, ProgressStep } from 'carbon-components-react';
2
2
  import PropTypes from 'prop-types';
3
3
  import React from 'react';
4
- import cx from 'classnames';
4
+ import classnames from 'classnames';
5
5
  import 'core-js/modules/es.symbol';
6
6
  import { settings } from '../../constants/Settings.js';
7
7
  import 'core-js/modules/es.array.map';
@@ -136,7 +136,7 @@ var PageWizard = function PageWizard(_ref) {
136
136
  beforeFooterContent: beforeFooterContent
137
137
  });
138
138
  return /*#__PURE__*/React.createElement("div", {
139
- className: cx(isProgressIndicatorVertical ? "".concat(iotPrefix, "--page-wizard") : null, className, hasStickyFooter ? "".concat(iotPrefix, "--page-wizard__sticky") : null)
139
+ className: classnames(isProgressIndicatorVertical ? "".concat(iotPrefix, "--page-wizard") : null, className, hasStickyFooter ? "".concat(iotPrefix, "--page-wizard__sticky") : null)
140
140
  }, steps.length > 1 ? /*#__PURE__*/React.createElement("div", {
141
141
  className: isProgressIndicatorVertical ? "".concat(iotPrefix, "--page-wizard--progress--vertical") : "".concat(iotPrefix, "--page-wizard--progress--horizontal")
142
142
  }, /*#__PURE__*/React.createElement(ProgressIndicator, {
@@ -1,9 +1,9 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import React, { useState } from 'react';
3
3
  import _extends from '@babel/runtime/helpers/extends';
4
- import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
5
4
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
6
5
  import 'core-js/modules/es.array.map';
6
+ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
7
7
  import 'core-js/modules/es.array.find-index';
8
8
  import PageWizard, { childrenPropType } from './PageWizard.jsx';
9
9
 
@@ -1,7 +1,7 @@
1
1
  import { ProgressIndicator, ProgressStep } from 'carbon-components-react';
2
2
  import PropTypes from 'prop-types';
3
3
  import React, { useMemo } from 'react';
4
- import cx from 'classnames';
4
+ import classnames from 'classnames';
5
5
  import 'core-js/modules/es.symbol';
6
6
  import { settings } from '../../constants/Settings.js';
7
7
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
@@ -118,7 +118,7 @@ var ProgressIndicator$1 = function ProgressIndicator$$1(_ref3) {
118
118
 
119
119
  var currentStep = matchingIndex > -1 ? matchingIndex : 0;
120
120
  return /*#__PURE__*/React.createElement(StyledProgressIndicator, {
121
- className: cx(className, isVerticalMode ? "".concat(prefix, "--progress--vertical") : '', "".concat(iotPrefix, "--progress-indicator")),
121
+ className: classnames(className, isVerticalMode ? "".concat(prefix, "--progress--vertical") : '', "".concat(iotPrefix, "--progress-indicator")),
122
122
  onChange: handleChange,
123
123
  currentIndex: currentStep,
124
124
  isVerticalMode: isVerticalMode
@@ -1,6 +1,6 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import React from 'react';
3
- import cx from 'classnames';
3
+ import classnames from 'classnames';
4
4
  import 'core-js/modules/es.array.filter';
5
5
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
6
6
  import { settings } from '../../constants/Settings.js';
@@ -168,7 +168,7 @@ var SideNav = function SideNav(_ref) {
168
168
  };
169
169
 
170
170
  return /*#__PURE__*/React.createElement(CarbonSideNav, _extends({
171
- className: cx((_classnames = {}, _defineProperty(_classnames, "".concat(iotPrefix, "--side-nav--expanded"), isSideNavExpanded), _defineProperty(_classnames, "".concat(prefix, "--side-nav--expanded"), isSideNavExpanded), _classnames)),
171
+ className: classnames((_classnames = {}, _defineProperty(_classnames, "".concat(iotPrefix, "--side-nav--expanded"), isSideNavExpanded), _defineProperty(_classnames, "".concat(prefix, "--side-nav--expanded"), isSideNavExpanded), _classnames)),
172
172
  translateById: translateById,
173
173
  "aria-label": "Side navigation",
174
174
  defaultExpanded: defaultExpanded
@@ -2,7 +2,7 @@ import sizeMe from 'react-sizeme';
2
2
  import { Pagination } from 'carbon-components-react';
3
3
  import PropTypes from 'prop-types';
4
4
  import React from 'react';
5
- import cx from 'classnames';
5
+ import classnames from 'classnames';
6
6
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
7
7
  import { settings } from '../../constants/Settings.js';
8
8
  import _extends from '@babel/runtime/helpers/extends';
@@ -23,7 +23,7 @@ var SizedPagination = sizeMe({
23
23
  rest = _objectWithoutProperties(_ref, ["isItemPerPageHidden", "size", "className"]);
24
24
 
25
25
  return /*#__PURE__*/React.createElement(Pagination, _extends({}, rest, {
26
- className: cx(className, "".concat(iotPrefix, "--pagination"), _defineProperty({}, "".concat(iotPrefix, "--pagination--hide-page"), isItemPerPageHidden)),
26
+ className: classnames(className, "".concat(iotPrefix, "--pagination"), _defineProperty({}, "".concat(iotPrefix, "--pagination--hide-page"), isItemPerPageHidden)),
27
27
  style: {
28
28
  '--pagination-text-display': (size === null || size === void 0 ? void 0 : size.width) && (size === null || size === void 0 ? void 0 : size.width) < 500 ? 'none' : 'flex'
29
29
  }
@@ -8,8 +8,8 @@ import 'core-js/modules/es.object.keys';
8
8
  import 'core-js/modules/web.dom-collections.for-each';
9
9
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
10
10
  import _extends from '@babel/runtime/helpers/extends';
11
- import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
12
11
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
12
+ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
13
13
  import merge from 'lodash/merge';
14
14
  import Table, { defaultProps } from './Table.jsx';
15
15
  import _regeneratorRuntime from '@babel/runtime/regenerator';
@@ -1,7 +1,7 @@
1
1
  import { TableContainer, Table } from 'carbon-components-react';
2
2
  import PropTypes from 'prop-types';
3
3
  import React, { useState, useMemo } from 'react';
4
- import cx from 'classnames';
4
+ import classnames from 'classnames';
5
5
  import 'core-js/modules/es.symbol';
6
6
  import 'core-js/modules/es.array.filter';
7
7
  import 'core-js/modules/es.array.for-each';
@@ -12,11 +12,11 @@ import 'core-js/modules/web.dom-collections.for-each';
12
12
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
13
13
  import { settings } from '../../constants/Settings.js';
14
14
  import _extends from '@babel/runtime/helpers/extends';
15
- import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
16
15
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
17
16
  import 'core-js/modules/es.array.concat';
18
17
  import 'core-js/modules/es.array.map';
19
18
  import 'core-js/modules/es.array.slice';
19
+ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
20
20
  import 'core-js/modules/es.array.some';
21
21
  import 'core-js/modules/es.regexp.exec';
22
22
  import isNil from 'lodash/isNil';
@@ -384,7 +384,7 @@ var Table$1 = function Table$$1(props) {
384
384
  var isFiltered = view.filters.length > 0 || !isNil(view.toolbar) && !isNil(view.toolbar.search) && !isNil(view.toolbar.search.value) && view.toolbar.search.value !== '';
385
385
  return /*#__PURE__*/React.createElement(TableContainer, {
386
386
  style: style,
387
- className: cx(className, "".concat(iotPrefix, "--table-container"))
387
+ className: classnames(className, "".concat(iotPrefix, "--table-container"))
388
388
  },
389
389
  /* If there is no items being rendered in the toolbar, don't render the toolbar */
390
390
  options.hasFilter || options.hasSearch || options.hasRowActions || options.hasRowCountInHeader || options.hasColumnSelection || actions.toolbar.onDownloadCSV || secondaryTitle || view.toolbar.customToolbarContent || tooltip ? /*#__PURE__*/React.createElement(TableToolbar, {
@@ -416,7 +416,7 @@ var Table$1 = function Table$$1(props) {
416
416
  }) : null, /*#__PURE__*/React.createElement("div", {
417
417
  className: "addons-iot-table-container"
418
418
  }, /*#__PURE__*/React.createElement(Table, _extends({
419
- className: cx((_classNames = {}, _defineProperty(_classNames, "".concat(iotPrefix, "--data-table--resize"), options.hasResize), _defineProperty(_classNames, "".concat(iotPrefix, "--data-table--fixed"), options.hasResize && !options.useAutoTableLayoutForResize), _classNames))
419
+ className: classnames((_classNames = {}, _defineProperty(_classNames, "".concat(iotPrefix, "--data-table--resize"), options.hasResize), _defineProperty(_classNames, "".concat(iotPrefix, "--data-table--fixed"), options.hasResize && !options.useAutoTableLayoutForResize), _classNames))
420
420
  }, others), /*#__PURE__*/React.createElement(TableHead, _extends({}, others, {
421
421
  i18n: i18n,
422
422
  lightweight: lightweight,
@@ -1,7 +1,7 @@
1
1
  import { DataTable, Icon, OverflowMenu, Loading, Button, OverflowMenuItem } from 'carbon-components-react';
2
2
  import PropTypes from 'prop-types';
3
3
  import React, { Fragment } from 'react';
4
- import cx from 'classnames';
4
+ import classnames from 'classnames';
5
5
  import 'core-js/modules/es.array.filter';
6
6
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
7
7
  import { settings } from '../../../../constants/Settings.js';
@@ -22,7 +22,7 @@ import { RowActionPropTypes, RowActionErrorPropTypes } from '../../TablePropType
22
22
  import RowActionsError from './RowActionsError.jsx';
23
23
 
24
24
  function _templateObject5() {
25
- var data = _taggedTemplateLiteral(["\n &&& {\n margin-left: 0.5rem;\n svg {\n margin-left: ", ";\n }\n opacity: ", ";\n }\n &&&:hover > svg {\n fill: ", ";\n }\n"]);
25
+ var data = _taggedTemplateLiteral(["\n &&& {\n margin-left: 0.5rem;\n svg {\n margin-left: ", ";\n }\n }\n &&&:hover > svg {\n fill: ", ";\n }\n"]);
26
26
 
27
27
  _templateObject5 = function _templateObject5() {
28
28
  return data;
@@ -52,7 +52,7 @@ function _templateObject3() {
52
52
  }
53
53
 
54
54
  function _templateObject2() {
55
- var data = _taggedTemplateLiteral(["\n &&& {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n\n > * {\n opacity: ", ";\n }\n\n /* If the actions are focused on, they should show up */\n > *:focus {\n opacity: 1;\n }\n\n /* the spinner was a little too big and causing the row to scroll so need to scale down a bit */\n .bx--loading--small {\n width: 1.875rem;\n height: 1.875rem;\n }\n }\n"]);
55
+ var data = _taggedTemplateLiteral(["\n &&& {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n\n /* If the actions are focused on, they should show up */\n > *:focus {\n opacity: 1;\n }\n\n /* the spinner was a little too big and causing the row to scroll so need to scale down a bit */\n .bx--loading--small {\n width: 1.875rem;\n height: 1.875rem;\n }\n }\n"]);
56
56
 
57
57
  _templateObject2 = function _templateObject2() {
58
58
  return data;
@@ -73,21 +73,16 @@ function _templateObject() {
73
73
  var TableCell = DataTable.TableCell;
74
74
  var iotPrefix = settings.iotPrefix;
75
75
  var StyledTableCell = styled(TableCell)(_templateObject());
76
- var RowActionsContainer = styled.div(_templateObject2(), function (props) {
77
- return props.visible ? 1 : 0;
78
- });
76
+ var RowActionsContainer = styled.div(_templateObject2());
79
77
  var OverflowMenuContent = styled.div(_templateObject3());
80
78
  var StyledIcon = styled(Icon)(_templateObject4());
81
79
  var StyledOverflowMenu = styled(function (_ref) {
82
80
  var isRowExpanded = _ref.isRowExpanded,
83
- isOpen = _ref.isOpen,
84
- other = _objectWithoutProperties(_ref, ["isRowExpanded", "isOpen"]);
81
+ other = _objectWithoutProperties(_ref, ["isRowExpanded"]);
85
82
 
86
83
  return /*#__PURE__*/React.createElement(OverflowMenu, other);
87
84
  })(_templateObject5(), function (props) {
88
85
  return props.hideLabel !== 'false' ? '0' : '';
89
- }, function (props) {
90
- return props.isOpen || props.isRowExpanded ? 1 : 0;
91
86
  }, COLORS.blue);
92
87
  var propTypes = {
93
88
  /** Need to render different styles if expanded */
@@ -221,11 +216,10 @@ var RowActionsCell = /*#__PURE__*/function (_React$Component) {
221
216
  return actions && actions.length > 0 ? /*#__PURE__*/React.createElement(StyledTableCell, {
222
217
  key: "".concat(id, "-row-actions-cell")
223
218
  }, /*#__PURE__*/React.createElement(RowActionsContainer, {
224
- visible: isRowExpanded || isRowActionRunning || rowActionsError,
225
219
  isRowExpanded: isRowExpanded,
226
220
  className: "".concat(iotPrefix, "--row-actions-container")
227
221
  }, /*#__PURE__*/React.createElement("div", {
228
- className: "".concat(iotPrefix, "--row-actions-container__background")
222
+ className: classnames("".concat(iotPrefix, "--row-actions-container__background"), _defineProperty({}, "".concat(iotPrefix, "--row-actions-container__background--overflow-menu-open"), isOpen))
229
223
  }, rowActionsError ? /*#__PURE__*/React.createElement(RowActionsError, {
230
224
  actionFailedText: actionFailedText,
231
225
  learnMoreText: learnMoreText,
@@ -247,7 +241,7 @@ var RowActionsCell = /*#__PURE__*/function (_React$Component) {
247
241
  key: "".concat(tableId, "-").concat(id, "-row-actions-button-").concat(actionId),
248
242
  "data-testid": "".concat(tableId, "-").concat(id, "-row-actions-button-").concat(actionId),
249
243
  kind: "ghost",
250
- className: cx(_defineProperty({}, "".concat(iotPrefix, "--row-actions-cell-btn--icononly"), !labelText)),
244
+ className: classnames(_defineProperty({}, "".concat(iotPrefix, "--row-actions-cell-btn--icononly"), !labelText)),
251
245
  onClick: function onClick(e) {
252
246
  return _onClick(e, id, actionId, onApplyRowAction);
253
247
  }
@@ -262,7 +256,6 @@ var RowActionsCell = /*#__PURE__*/function (_React$Component) {
262
256
  },
263
257
  isRowExpanded: isRowExpanded,
264
258
  iconDescription: overflowMenuAria,
265
- isOpen: isOpen,
266
259
  onOpen: this.handleOpen,
267
260
  onClose: this.handleClose
268
261
  }, actions.filter(function (action) {
@@ -1,7 +1,7 @@
1
1
  import { DataTable, Checkbox } from 'carbon-components-react';
2
2
  import PropTypes from 'prop-types';
3
3
  import React from 'react';
4
- import cx from 'classnames';
4
+ import classnames from 'classnames';
5
5
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
6
6
  import { settings } from '../../../../constants/Settings.js';
7
7
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
@@ -51,7 +51,7 @@ function _templateObject4() {
51
51
  }
52
52
 
53
53
  function _templateObject3() {
54
- var data = _taggedTemplateLiteral(["\n &&& {\n ", "\n ", "\n cursor: pointer;\n td {\n div .bx--btn--ghost:hover {\n background: ", ";\n }\n }\n :hover {\n td {\n div > *:not(label) {\n opacity: 1;\n }\n }\n }\n\n ", "\n }\n"]);
54
+ var data = _taggedTemplateLiteral(["\n &&& {\n ", "\n ", "\n cursor: pointer;\n td {\n div .bx--btn--ghost:hover {\n background: ", ";\n }\n }\n\n ", "\n }\n"]);
55
55
 
56
56
  _templateObject3 = function _templateObject3() {
57
57
  return data;
@@ -71,7 +71,7 @@ function _templateObject2() {
71
71
  }
72
72
 
73
73
  function _templateObject() {
74
- var data = _taggedTemplateLiteral(["\n &&& {\n ", "\n :hover {\n td {\n /* show the row actions if the table row is hovered over */\n div > *:not(label) {\n opacity: 1;\n }\n ", " /* turn off hover states if the row is set not selectable */\n }\n ", " /* turn off hover states if the row is set not selectable */\n }\n\n\n"]);
74
+ var data = _taggedTemplateLiteral(["\n &&& {\n ", "\n :hover {\n td {\n ", " /* turn off hover states if the row is set not selectable */\n }\n ", " /* turn off hover states if the row is set not selectable */\n }\n\n\n"]);
75
75
 
76
76
  _templateObject = function _templateObject() {
77
77
  return data;
@@ -325,7 +325,7 @@ var TableBodyRow = function TableBodyRow(_ref6) {
325
325
  "data-offset": offset,
326
326
  offset: offset,
327
327
  align: align,
328
- className: cx("data-table-".concat(align), _defineProperty({}, "".concat(iotPrefix, "--table__cell--truncate"), truncateCellText)),
328
+ className: classnames("data-table-".concat(align), _defineProperty({}, "".concat(iotPrefix, "--table__cell--truncate"), truncateCellText)),
329
329
  width: initialColumnWidth
330
330
  }, /*#__PURE__*/React.createElement(StyledNestedSpan, {
331
331
  nestingOffset: offset
@@ -1,7 +1,7 @@
1
1
  import { Tooltip } from 'carbon-components-react';
2
2
  import PropTypes from 'prop-types';
3
3
  import React, { useState, useEffect } from 'react';
4
- import cx from 'classnames';
4
+ import classnames from 'classnames';
5
5
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
6
6
  import { settings } from '../../../constants/Settings.js';
7
7
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
@@ -34,7 +34,7 @@ var TableCellRenderer = function TableCellRenderer(_ref) {
34
34
  allowTooltip = _ref.allowTooltip,
35
35
  truncateCellText = _ref.truncateCellText;
36
36
  var mySpanRef = React.createRef();
37
- var myClasses = cx((_classnames = {}, _defineProperty(_classnames, "".concat(iotPrefix, "--table__cell-text--truncate"), wrapText !== 'always' && truncateCellText), _defineProperty(_classnames, "".concat(iotPrefix, "--table__cell-text--no-wrap"), wrapText === 'never'), _classnames));
37
+ var myClasses = classnames((_classnames = {}, _defineProperty(_classnames, "".concat(iotPrefix, "--table__cell-text--truncate"), wrapText !== 'always' && truncateCellText), _defineProperty(_classnames, "".concat(iotPrefix, "--table__cell-text--no-wrap"), wrapText === 'never'), _classnames));
38
38
 
39
39
  var _useState = useState(false),
40
40
  _useState2 = _slicedToArray(_useState, 2),
@@ -3,9 +3,9 @@ import PropTypes from 'prop-types';
3
3
  import React, { Component } from 'react';
4
4
  import 'core-js/modules/es.array.filter';
5
5
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
6
- import { Settings16 } from '@carbon/icons-react';
7
6
  import 'core-js/modules/es.array.concat';
8
7
  import 'core-js/modules/es.array.map';
8
+ import { Settings16 } from '@carbon/icons-react';
9
9
  import { defaultFunction } from '../../../../utils/componentUtilityFunctions.js';
10
10
  import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
11
11
  import _createClass from '@babel/runtime/helpers/createClass';
@@ -1,7 +1,7 @@
1
1
  import { Button } from 'carbon-components-react';
2
2
  import PropTypes from 'prop-types';
3
3
  import React from 'react';
4
- import cx from 'classnames';
4
+ import classnames from 'classnames';
5
5
  import { DragSource, DropTarget } from 'react-dnd';
6
6
  import Draggable from '../../../../../node_modules/@carbon/icons-react/es/draggable/16.js';
7
7
 
@@ -14,7 +14,7 @@ var ColumnHeaderSelect = function ColumnHeaderSelect(_ref) {
14
14
  _onClick = _ref.onClick,
15
15
  isOver = _ref.isOver;
16
16
  return /*#__PURE__*/React.createElement(Button, {
17
- className: cx('column-header__btn', 'column-header__select', {
17
+ className: classnames('column-header__btn', 'column-header__select', {
18
18
  'column-header__select--hidden': isHidden,
19
19
  'column-header__select--isOver': isOver
20
20
  }),
@@ -1,6 +1,6 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import React, { useState, useImperativeHandle } from 'react';
3
- import cx from 'classnames';
3
+ import classnames from 'classnames';
4
4
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
5
5
  import { settings } from '../../../constants/Settings.js';
6
6
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
@@ -148,7 +148,7 @@ var ColumnResize = React.forwardRef(function (props, ref) {
148
148
  width: dragHandleWidth,
149
149
  left: leftPosition || (document.dir === 'rtl' ? 0 : 'auto')
150
150
  },
151
- className: cx("".concat(iotPrefix, "--column-resize-handle"), _defineProperty({}, "".concat(iotPrefix, "--column-resize-handle--dragging"), columnIsBeingResized))
151
+ className: classnames("".concat(iotPrefix, "--column-resize-handle"), _defineProperty({}, "".concat(iotPrefix, "--column-resize-handle--dragging"), columnIsBeingResized))
152
152
  })
153
153
  );
154
154
  });
@@ -1,7 +1,7 @@
1
1
  import { DataTable, Checkbox } from 'carbon-components-react';
2
2
  import PropTypes from 'prop-types';
3
3
  import React, { createRef, useState, useCallback, useLayoutEffect } from 'react';
4
- import cx from 'classnames';
4
+ import classnames from 'classnames';
5
5
  import 'core-js/modules/es.symbol';
6
6
  import 'core-js/modules/es.array.filter';
7
7
  import 'core-js/modules/es.array.for-each';
@@ -11,10 +11,10 @@ import 'core-js/modules/es.object.keys';
11
11
  import 'core-js/modules/web.dom-collections.for-each';
12
12
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
13
13
  import { settings } from '../../../constants/Settings.js';
14
- import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
15
14
  import 'core-js/modules/es.array.concat';
16
15
  import 'core-js/modules/es.array.map';
17
16
  import 'core-js/modules/es.array.slice';
17
+ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
18
18
  import 'core-js/modules/es.array.reduce';
19
19
  import isNil from 'lodash/isNil';
20
20
  import { tableTranslateWithId } from '../../../utils/componentUtilityFunctions.js';
@@ -255,15 +255,15 @@ var TableHead = function TableHead(_ref) {
255
255
  return !col.isHidden;
256
256
  }).slice(-1)[0];
257
257
  return /*#__PURE__*/React.createElement(CarbonTableHead, {
258
- className: cx({
258
+ className: classnames({
259
259
  lightweight: lightweight
260
260
  }),
261
261
  onMouseMove: hasResize ? forwardMouseEvent : null,
262
262
  onMouseUp: hasResize ? forwardMouseEvent : null
263
263
  }, /*#__PURE__*/React.createElement(TableRow, null, hasRowExpansion ? /*#__PURE__*/React.createElement(TableExpandHeader, {
264
- className: cx(_defineProperty({}, "".concat(iotPrefix, "--table-expand-resize"), hasResize))
264
+ className: classnames(_defineProperty({}, "".concat(iotPrefix, "--table-expand-resize"), hasResize))
265
265
  }) : null, hasRowSelection === 'multi' ? /*#__PURE__*/React.createElement(TableHeader, {
266
- className: cx("".concat(iotPrefix, "--table-header-checkbox"), _defineProperty({}, "".concat(iotPrefix, "--table-header-checkbox-resize"), hasResize)),
266
+ className: classnames("".concat(iotPrefix, "--table-header-checkbox"), _defineProperty({}, "".concat(iotPrefix, "--table-header-checkbox-resize"), hasResize)),
267
267
  translateWithId: function translateWithId() {
268
268
  return tableTranslateWithId.apply(void 0, arguments);
269
269
  }
@@ -307,7 +307,7 @@ var TableHead = function TableHead(_ref) {
307
307
  },
308
308
  sortDirection: hasSort ? sort.direction : 'NONE',
309
309
  align: align,
310
- className: cx("table-header-label-".concat(align), _defineProperty({
310
+ className: classnames("table-header-label-".concat(align), _defineProperty({
311
311
  'table-header-sortable': matchingColumnMeta.isSortable
312
312
  }, "".concat(iotPrefix, "--table-header-resize"), hasResize))
313
313
  }, /*#__PURE__*/React.createElement(TableCellRenderer, {
@@ -1,11 +1,11 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import React from 'react';
3
- import cx from 'classnames';
3
+ import classnames from 'classnames';
4
4
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
5
5
  import { settings } from 'carbon-components';
6
- import { ArrowUp20, ArrowsVertical20 } from '@carbon/icons-react';
7
6
  import _extends from '@babel/runtime/helpers/extends';
8
7
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
8
+ import { ArrowUp20, ArrowsVertical20 } from '@carbon/icons-react';
9
9
  import 'core-js/modules/es.object.values';
10
10
 
11
11
  var _sortDirections;
@@ -74,7 +74,7 @@ var TableHeader = React.forwardRef(function TableHeader(_ref2, ref) {
74
74
  );
75
75
  }
76
76
 
77
- var className = cx(headerClassName, (_cx = {}, _defineProperty(_cx, "".concat(prefix, "--table-sort"), true), _defineProperty(_cx, "".concat(prefix, "--table-sort--active"), isSortHeader && sortDirection !== sortStates.NONE), _defineProperty(_cx, "".concat(prefix, "--table-sort--ascending"), isSortHeader && sortDirection === sortStates.DESC), _cx));
77
+ var className = classnames(headerClassName, (_cx = {}, _defineProperty(_cx, "".concat(prefix, "--table-sort"), true), _defineProperty(_cx, "".concat(prefix, "--table-sort--active"), isSortHeader && sortDirection !== sortStates.NONE), _defineProperty(_cx, "".concat(prefix, "--table-sort--ascending"), isSortHeader && sortDirection === sortStates.DESC), _cx));
78
78
  var ariaSort = !isSortHeader ? 'none' : sortDirections[sortDirection];
79
79
  return /*#__PURE__*/React.createElement("th", {
80
80
  scope: scope,
@@ -1,7 +1,7 @@
1
1
  import { DataTable, Tooltip, Button } from 'carbon-components-react';
2
2
  import PropTypes from 'prop-types';
3
3
  import React from 'react';
4
- import cx from 'classnames';
4
+ import classnames from 'classnames';
5
5
  import 'core-js/modules/es.symbol';
6
6
  import 'core-js/modules/es.array.filter';
7
7
  import 'core-js/modules/es.array.for-each';
@@ -11,11 +11,11 @@ import 'core-js/modules/es.object.keys';
11
11
  import 'core-js/modules/web.dom-collections.for-each';
12
12
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
13
13
  import { settings } from '../../../constants/Settings.js';
14
- import { Download20, Column20, Filter20 } from '@carbon/icons-react';
15
14
  import _extends from '@babel/runtime/helpers/extends';
16
15
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
17
16
  import 'core-js/modules/es.array.concat';
18
17
  import 'core-js/modules/es.array.map';
18
+ import { Download20, Column20, Filter20 } from '@carbon/icons-react';
19
19
  import 'core-js/modules/es.regexp.exec';
20
20
  import { tableTranslateWithId } from '../../../utils/componentUtilityFunctions.js';
21
21
  import deprecate from '../../../internal/deprecate.js';
@@ -141,7 +141,7 @@ var TableToolbar = function TableToolbar(_ref) {
141
141
  isDisabled = _ref$tableState.isDisabled,
142
142
  totalItemsCount = _ref$tableState.totalItemsCount;
143
143
  return /*#__PURE__*/React.createElement(CarbonTableToolbar, {
144
- className: cx("".concat(iotPrefix, "--table-toolbar"), className)
144
+ className: classnames("".concat(iotPrefix, "--table-toolbar"), className)
145
145
  }, /*#__PURE__*/React.createElement(TableBatchActions, {
146
146
  className: "".concat(iotPrefix, "--table-batch-actions"),
147
147
  onCancel: onCancelBatchAction,
@@ -1,12 +1,12 @@
1
1
  import { DataTable } from 'carbon-components-react';
2
2
  import PropTypes from 'prop-types';
3
3
  import React, { useRef, useState, useEffect } from 'react';
4
- import cx from 'classnames';
4
+ import classnames from 'classnames';
5
5
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
6
6
  import { settings } from '../../../constants/Settings.js';
7
7
  import _extends from '@babel/runtime/helpers/extends';
8
- import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
9
8
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
9
+ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
10
10
 
11
11
  var iotPrefix = settings.iotPrefix;
12
12
  var CarbonTableToolbarSearch = DataTable.TableToolbarSearch;
@@ -97,7 +97,7 @@ var TableToolbarSearch = function TableToolbarSearch(_ref) {
97
97
  return /*#__PURE__*/React.createElement("div", {
98
98
  tabIndex: "-1",
99
99
  ref: toolbarSearch,
100
- className: cx("".concat(iotPrefix, "--table-toolbar-search"), _defineProperty({}, "".concat(iotPrefix, "--table-toolbar-search__expanded"), expanded)),
100
+ className: classnames("".concat(iotPrefix, "--table-toolbar-search"), _defineProperty({}, "".concat(iotPrefix, "--table-toolbar-search__expanded"), expanded)),
101
101
  onClick: onClick,
102
102
  onKeyDown: onKeyDown,
103
103
  role: "button"
@@ -6,9 +6,9 @@ import 'core-js/modules/es.object.get-own-property-descriptors';
6
6
  import 'core-js/modules/es.object.keys';
7
7
  import 'core-js/modules/web.dom-collections.for-each';
8
8
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
9
- import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
10
9
  import 'core-js/modules/es.array.concat';
11
10
  import 'core-js/modules/es.array.map';
11
+ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
12
12
  import 'core-js/modules/es.object.entries';
13
13
  import 'core-js/modules/es.array.find-index';
14
14
  import update from 'immutability-helper';
@@ -6,8 +6,8 @@ import 'core-js/modules/es.object.get-own-property-descriptors';
6
6
  import 'core-js/modules/es.object.keys';
7
7
  import 'core-js/modules/web.dom-collections.for-each';
8
8
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
9
- import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
10
9
  import 'core-js/modules/es.array.map';
10
+ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
11
11
  import 'core-js/modules/es.array.includes';
12
12
  import 'core-js/modules/es.array.iterator';
13
13
  import 'core-js/modules/es.array.reduce';
@@ -9,11 +9,11 @@ import 'core-js/modules/es.object.keys';
9
9
  import 'core-js/modules/web.dom-collections.for-each';
10
10
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
11
11
  import _extends from '@babel/runtime/helpers/extends';
12
- import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
13
12
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
14
13
  import 'core-js/modules/es.array.concat';
15
14
  import 'core-js/modules/es.array.map';
16
15
  import 'core-js/modules/es.array.slice';
16
+ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
17
17
  import 'core-js/modules/es.regexp.exec';
18
18
  import 'core-js/modules/es.string.search';
19
19
  import useDeepCompareEffect from 'use-deep-compare-effect';
@@ -1,7 +1,7 @@
1
1
  import { DataTable, Tile, SkeletonText, RadioTile } from 'carbon-components-react';
2
2
  import PropTypes from 'prop-types';
3
3
  import React, { Fragment } from 'react';
4
- import cx from 'classnames';
4
+ import classnames from 'classnames';
5
5
  import { settings } from '../../constants/Settings.js';
6
6
  import _extends from '@babel/runtime/helpers/extends';
7
7
  import 'core-js/modules/es.array.map';
@@ -101,7 +101,7 @@ var TileCatalog = function TileCatalog(_ref) {
101
101
  var pageSize = pagination && pagination.pageSize ? pagination.pageSize : 10;
102
102
  var totalTiles = pagination && pagination.totalItems ? pagination.totalItems : 10;
103
103
  return /*#__PURE__*/React.createElement("div", {
104
- className: cx(className, "".concat(iotPrefix, "--tile-catalog"))
104
+ className: classnames(className, "".concat(iotPrefix, "--tile-catalog"))
105
105
  }, /*#__PURE__*/React.createElement("div", {
106
106
  className: "".concat(iotPrefix, "--tile-catalog--header")
107
107
  }, search && search.placeHolderText ? /*#__PURE__*/React.createElement(TableToolbarSearch, {
@@ -1,7 +1,7 @@
1
1
  import { Tile } from 'carbon-components-react';
2
2
  import PropTypes from 'prop-types';
3
3
  import React from 'react';
4
- import cx from 'classnames';
4
+ import classnames from 'classnames';
5
5
  import { settings } from '../../constants/Settings.js';
6
6
 
7
7
  var iotPrefix = settings.iotPrefix;
@@ -17,7 +17,7 @@ var TileGroup = function TileGroup(_ref) {
17
17
  var tiles = _ref.tiles,
18
18
  className = _ref.className;
19
19
  return /*#__PURE__*/React.createElement("div", {
20
- className: cx(className, "".concat(iotPrefix, "--tile-group"))
20
+ className: classnames(className, "".concat(iotPrefix, "--tile-group"))
21
21
  }, tiles, /*#__PURE__*/React.createElement(Tile, {
22
22
  className: "".concat(iotPrefix, "--greedy-tile")
23
23
  }));
@@ -3,8 +3,8 @@ import { DataTable, Select, SelectItem } from 'carbon-components-react';
3
3
  import PropTypes from 'prop-types';
4
4
  import React, { useState } from 'react';
5
5
  import { settings } from '../../constants/Settings.js';
6
- import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
7
6
  import 'core-js/modules/es.array.map';
7
+ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
8
8
  import 'core-js/modules/es.array.fill';
9
9
  import TilePagination from './TilePagination/TilePagination.jsx';
10
10
 
@@ -1,10 +1,10 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import React, { useState } from 'react';
3
- import cx from 'classnames';
3
+ import classnames from 'classnames';
4
4
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
5
5
  import { settings } from '../../../constants/Settings.js';
6
- import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
7
6
  import 'core-js/modules/es.array.concat';
7
+ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
8
8
  import 'core-js/modules/es.number.constructor';
9
9
  import 'core-js/modules/es.string.iterator';
10
10
  import 'core-js/modules/es.array.from';
@@ -49,7 +49,7 @@ var TilePagination = function TilePagination(_ref) {
49
49
  onClick: function onClick() {
50
50
  return page > 1 && _onChange(page - 1);
51
51
  },
52
- className: cx("".concat(prefix, "--pagination-nav__page"), "".concat(prefix, "--pagination-nav__page--direction"), _defineProperty({}, "".concat(prefix, "--pagination-nav__page--disabled"), page === 1)),
52
+ className: classnames("".concat(prefix, "--pagination-nav__page"), "".concat(prefix, "--pagination-nav__page--direction"), _defineProperty({}, "".concat(prefix, "--pagination-nav__page--disabled"), page === 1)),
53
53
  ariaDisabled: "true"
54
54
  }, /*#__PURE__*/React.createElement("span", {
55
55
  className: "".concat(prefix, "--pagination-nav__accessibility-label")
@@ -73,7 +73,7 @@ var TilePagination = function TilePagination(_ref) {
73
73
  onClick: function onClick() {
74
74
  return page < numPages && _onChange(page + 1);
75
75
  },
76
- className: cx("".concat(prefix, "--pagination-nav__page"), "".concat(prefix, "--pagination-nav__page--direction"), _defineProperty({}, "".concat(prefix, "--pagination-nav__page--disabled"), page === numPages))
76
+ className: classnames("".concat(prefix, "--pagination-nav__page"), "".concat(prefix, "--pagination-nav__page--direction"), _defineProperty({}, "".concat(prefix, "--pagination-nav__page--disabled"), page === numPages))
77
77
  }, /*#__PURE__*/React.createElement("span", {
78
78
  className: "".concat(prefix, "--pagination-nav__accessibility-label")
79
79
  }, i18n.ariaLabelNextPage), /*#__PURE__*/React.createElement("svg", {
@@ -100,7 +100,7 @@ var TilePagination = function TilePagination(_ref) {
100
100
  onClick: function onClick() {
101
101
  return _onChange(pageNumber);
102
102
  },
103
- className: cx("".concat(prefix, "--pagination-nav__page"), (_classnames3 = {}, _defineProperty(_classnames3, "".concat(prefix, "--pagination-nav__page--active"), page === pageNumber), _defineProperty(_classnames3, "".concat(prefix, "--pagination-nav__page--disabled"), page === pageNumber), _classnames3)),
103
+ className: classnames("".concat(prefix, "--pagination-nav__page"), (_classnames3 = {}, _defineProperty(_classnames3, "".concat(prefix, "--pagination-nav__page--active"), page === pageNumber), _defineProperty(_classnames3, "".concat(prefix, "--pagination-nav__page--disabled"), page === pageNumber), _classnames3)),
104
104
  ariaCurrent: i18n.ariaLabelPage,
105
105
  ariaDisabled: page === pageNumber
106
106
  }, /*#__PURE__*/React.createElement("span", {
@@ -2,11 +2,11 @@ import PropTypes from 'prop-types';
2
2
  import React, { useState } from 'react';
3
3
  import 'core-js/modules/es.symbol';
4
4
  import 'core-js/modules/es.array.filter';
5
- import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
6
5
  import { ButtonKinds } from '../../../node_modules/carbon-components-react/es/prop-types/types.js';
7
6
  import Button from '../Button/Button.jsx';
8
7
  import 'core-js/modules/es.array.concat';
9
8
  import 'core-js/modules/es.array.map';
9
+ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
10
10
  import 'core-js/modules/es.regexp.constructor';
11
11
  import 'core-js/modules/es.regexp.exec';
12
12
  import 'core-js/modules/es.regexp.to-string';