@carbon/ibm-products 2.0.0-rc.2 → 2.0.0-rc.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (229) hide show
  1. package/css/index-full-carbon.css +891 -178
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +4 -2
  4. package/css/index-full-carbon.min.css.map +1 -1
  5. package/css/index-without-carbon-released-only.css +779 -19
  6. package/css/index-without-carbon-released-only.css.map +1 -1
  7. package/css/index-without-carbon-released-only.min.css +4 -2
  8. package/css/index-without-carbon-released-only.min.css.map +1 -1
  9. package/css/index-without-carbon.css +659 -77
  10. package/css/index-without-carbon.css.map +1 -1
  11. package/css/index-without-carbon.min.css +4 -2
  12. package/css/index-without-carbon.min.css.map +1 -1
  13. package/css/index.css +683 -91
  14. package/css/index.css.map +1 -1
  15. package/css/index.min.css +4 -2
  16. package/css/index.min.css.map +1 -1
  17. package/es/components/APIKeyModal/APIKeyModal.js +1 -1
  18. package/es/components/AddSelect/AddSelect.js +0 -3
  19. package/es/components/AddSelect/AddSelectBody.js +20 -3
  20. package/es/components/AddSelect/AddSelectBreadcrumbs.js +11 -3
  21. package/es/components/AddSelect/AddSelectColumn.js +5 -5
  22. package/es/components/AddSelect/AddSelectFilter.js +5 -4
  23. package/es/components/AddSelect/AddSelectList.js +61 -27
  24. package/es/components/AddSelect/AddSelectMetaPanel.js +1 -1
  25. package/es/components/AddSelect/AddSelectSort.js +1 -1
  26. package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +4 -6
  27. package/es/components/Card/Card.js +16 -6
  28. package/es/components/Card/CardFooter.js +3 -1
  29. package/es/components/Card/CardHeader.js +20 -1
  30. package/es/components/ComboButton/ComboButton.js +1 -1
  31. package/es/components/DataSpreadsheet/DataSpreadsheet.js +63 -11
  32. package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +2 -1
  33. package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +7 -0
  34. package/es/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +6 -5
  35. package/es/components/DataSpreadsheet/utils/handleCellDeletion.js +31 -0
  36. package/es/components/DataSpreadsheet/utils/handleMultipleKeys.js +1 -1
  37. package/es/components/Datagrid/Datagrid/Datagrid.js +10 -38
  38. package/es/components/Datagrid/Datagrid/DatagridContent.js +149 -0
  39. package/es/components/Datagrid/Datagrid/DatagridExpandedRow.js +9 -1
  40. package/es/components/Datagrid/Datagrid/DatagridRow.js +10 -2
  41. package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +10 -3
  42. package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +13 -4
  43. package/es/components/Datagrid/Datagrid/DatagridToolbar.js +5 -4
  44. package/es/components/Datagrid/Datagrid/DraggableElement.js +6 -2
  45. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +5 -45
  46. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
  47. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +35 -10
  48. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsModal.js +61 -24
  49. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ModalWrapper.js +3 -2
  50. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +60 -0
  51. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/index.js +1 -0
  52. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +534 -0
  53. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/index.js +1 -0
  54. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +112 -0
  55. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/getCellIdAsObject.js +27 -0
  56. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/index.js +1 -0
  57. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +39 -0
  58. package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridFocus.js +19 -0
  59. package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +263 -0
  60. package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +87 -0
  61. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +17 -14
  62. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +13 -36
  63. package/es/components/Datagrid/{Datagrid.stories-helpers → Datagrid.stories}/CustomizeColumnStory.js +0 -0
  64. package/es/components/Datagrid/{Datagrid.stories-helpers → Datagrid.stories}/LeftPanelStory.js +0 -0
  65. package/es/components/Datagrid/{Datagrid.stories-helpers → Datagrid.stories}/RowSizeDropdownStory.js +0 -0
  66. package/es/components/Datagrid/{Datagrid.stories-helpers → Datagrid.stories}/SelectAllWithToggleStory.js +0 -0
  67. package/es/components/Datagrid/{Datagrid.stories-helpers → Datagrid.stories}/StickyActionsColumnStory.js +0 -0
  68. package/es/components/Datagrid/{Datagrid.stories-helpers → Datagrid.stories}/common.js +0 -0
  69. package/es/components/Datagrid/{Datagrid.stories-helpers → Datagrid.stories}/index.js +0 -0
  70. package/es/components/Datagrid/index.js +3 -1
  71. package/es/components/Datagrid/useActionsColumn.js +28 -12
  72. package/es/components/Datagrid/useColumnOrder.js +8 -0
  73. package/es/components/Datagrid/useCustomizeColumns.js +5 -0
  74. package/es/components/Datagrid/useDisableSelectRows.js +6 -2
  75. package/es/components/Datagrid/useExpandedRow.js +0 -1
  76. package/es/components/Datagrid/useInlineEdit.js +71 -0
  77. package/es/components/Datagrid/useNestedRowExpander.js +42 -0
  78. package/es/components/Datagrid/useNestedRows.js +2 -2
  79. package/es/components/Datagrid/useRowExpander.js +1 -1
  80. package/es/components/Datagrid/useRowSize.js +17 -6
  81. package/es/components/Datagrid/useSelectAllToggle.js +17 -4
  82. package/es/components/Datagrid/useSelectRows.js +12 -2
  83. package/es/components/Datagrid/useSortableColumns.js +1 -1
  84. package/es/components/Datagrid/useStickyColumn.js +11 -0
  85. package/es/components/Datagrid/utils/DatagridActions.js +152 -0
  86. package/es/components/Datagrid/utils/DatagridPagination.js +33 -0
  87. package/es/components/Datagrid/utils/Wrapper.js +21 -0
  88. package/es/components/Datagrid/utils/getArgTypes.js +85 -0
  89. package/es/components/Datagrid/utils/getInlineEditColumns.js +153 -0
  90. package/es/components/Datagrid/utils/makeData.js +46 -1
  91. package/es/components/ExportModal/ExportModal.js +1 -1
  92. package/es/components/ImportModal/ImportModal.js +3 -3
  93. package/es/components/InlineEdit/InlineEdit.js +11 -9
  94. package/es/components/ModifiedTabs/ModifiedTabLabelNew.js +1 -1
  95. package/es/components/ModifiedTabs/ModifiedTabLabelWithClose.js +1 -1
  96. package/es/components/NotificationsPanel/NotificationsPanel.js +1 -1
  97. package/es/components/OptionsTile/OptionsTile.js +1 -1
  98. package/es/components/PageHeader/PageHeader.js +1 -1
  99. package/es/components/ProductiveCard/ProductiveCard.js +5 -0
  100. package/es/components/Saving/Saving.js +1 -1
  101. package/es/components/SidePanel/SidePanel.js +1 -1
  102. package/es/components/StatusIcon/StatusIcon.js +1 -1
  103. package/es/components/UserProfileImage/UserProfileImage.js +1 -1
  104. package/es/components/WebTerminal/WebTerminal.js +1 -1
  105. package/es/components/WebTerminal/preview-components/Navigation.js +1 -1
  106. package/es/components/index.js +1 -1
  107. package/es/global/js/hooks/useClickOutside.js +1 -1
  108. package/es/global/js/package-settings.js +3 -3
  109. package/es/global/js/utils/rangeWithCallback.js +13 -0
  110. package/es/global/js/utils/story-helper.js +5 -1
  111. package/es/global/js/utils/uuidv4.spec.js +4 -0
  112. package/lib/components/APIKeyModal/APIKeyModal.js +4 -4
  113. package/lib/components/AddSelect/AddSelect.js +0 -4
  114. package/lib/components/AddSelect/AddSelectBody.js +20 -3
  115. package/lib/components/AddSelect/AddSelectBreadcrumbs.js +14 -3
  116. package/lib/components/AddSelect/AddSelectColumn.js +5 -5
  117. package/lib/components/AddSelect/AddSelectFilter.js +5 -4
  118. package/lib/components/AddSelect/AddSelectList.js +62 -28
  119. package/lib/components/AddSelect/AddSelectMetaPanel.js +2 -2
  120. package/lib/components/AddSelect/AddSelectSort.js +4 -4
  121. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +6 -6
  122. package/lib/components/Card/Card.js +16 -6
  123. package/lib/components/Card/CardFooter.js +3 -1
  124. package/lib/components/Card/CardHeader.js +21 -1
  125. package/lib/components/ComboButton/ComboButton.js +3 -3
  126. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +63 -10
  127. package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +2 -1
  128. package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +7 -0
  129. package/lib/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +6 -5
  130. package/lib/components/DataSpreadsheet/utils/handleCellDeletion.js +42 -0
  131. package/lib/components/DataSpreadsheet/utils/handleMultipleKeys.js +1 -1
  132. package/lib/components/Datagrid/Datagrid/Datagrid.js +12 -45
  133. package/lib/components/Datagrid/Datagrid/DatagridContent.js +183 -0
  134. package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.js +9 -1
  135. package/lib/components/Datagrid/Datagrid/DatagridRow.js +19 -2
  136. package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +12 -3
  137. package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +16 -5
  138. package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +6 -5
  139. package/lib/components/Datagrid/Datagrid/DraggableElement.js +7 -3
  140. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +12 -47
  141. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +2 -2
  142. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +47 -25
  143. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsModal.js +59 -23
  144. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ModalWrapper.js +3 -2
  145. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +76 -0
  146. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/index.js +13 -0
  147. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +558 -0
  148. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/index.js +13 -0
  149. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +129 -0
  150. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/getCellIdAsObject.js +36 -0
  151. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/index.js +19 -0
  152. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +45 -0
  153. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridFocus.js +28 -0
  154. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +272 -0
  155. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +100 -0
  156. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +17 -13
  157. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +13 -35
  158. package/lib/components/Datagrid/{Datagrid.stories-helpers → Datagrid.stories}/CustomizeColumnStory.js +0 -0
  159. package/lib/components/Datagrid/{Datagrid.stories-helpers → Datagrid.stories}/LeftPanelStory.js +0 -0
  160. package/lib/components/Datagrid/{Datagrid.stories-helpers → Datagrid.stories}/RowSizeDropdownStory.js +0 -0
  161. package/lib/components/Datagrid/{Datagrid.stories-helpers → Datagrid.stories}/SelectAllWithToggleStory.js +0 -0
  162. package/lib/components/Datagrid/{Datagrid.stories-helpers → Datagrid.stories}/StickyActionsColumnStory.js +0 -0
  163. package/lib/components/Datagrid/{Datagrid.stories-helpers → Datagrid.stories}/common.js +0 -0
  164. package/lib/components/Datagrid/{Datagrid.stories-helpers → Datagrid.stories}/index.js +0 -0
  165. package/lib/components/Datagrid/index.js +17 -1
  166. package/lib/components/Datagrid/useActionsColumn.js +28 -13
  167. package/lib/components/Datagrid/useColumnOrder.js +17 -0
  168. package/lib/components/Datagrid/useCustomizeColumns.js +5 -0
  169. package/lib/components/Datagrid/useDisableSelectRows.js +6 -2
  170. package/lib/components/Datagrid/useExpandedRow.js +0 -1
  171. package/lib/components/Datagrid/useInlineEdit.js +85 -0
  172. package/lib/components/Datagrid/useNestedRowExpander.js +57 -0
  173. package/lib/components/Datagrid/useNestedRows.js +3 -3
  174. package/lib/components/Datagrid/useRowExpander.js +3 -3
  175. package/lib/components/Datagrid/useRowSize.js +18 -13
  176. package/lib/components/Datagrid/useSelectAllToggle.js +18 -4
  177. package/lib/components/Datagrid/useSelectRows.js +12 -2
  178. package/lib/components/Datagrid/useSortableColumns.js +5 -5
  179. package/lib/components/Datagrid/useStickyColumn.js +11 -0
  180. package/lib/components/Datagrid/utils/DatagridActions.js +170 -0
  181. package/lib/components/Datagrid/utils/DatagridPagination.js +46 -0
  182. package/lib/components/Datagrid/utils/Wrapper.js +33 -0
  183. package/lib/components/Datagrid/utils/getArgTypes.js +93 -0
  184. package/lib/components/Datagrid/utils/getInlineEditColumns.js +168 -0
  185. package/lib/components/Datagrid/utils/makeData.js +47 -1
  186. package/lib/components/ExportModal/ExportModal.js +3 -3
  187. package/lib/components/ImportModal/ImportModal.js +4 -4
  188. package/lib/components/InlineEdit/InlineEdit.js +16 -14
  189. package/lib/components/ModifiedTabs/ModifiedTabLabelNew.js +2 -2
  190. package/lib/components/ModifiedTabs/ModifiedTabLabelWithClose.js +3 -3
  191. package/lib/components/NotificationsPanel/NotificationsPanel.js +8 -8
  192. package/lib/components/OptionsTile/OptionsTile.js +6 -6
  193. package/lib/components/PageHeader/PageHeader.js +2 -2
  194. package/lib/components/ProductiveCard/ProductiveCard.js +5 -0
  195. package/lib/components/Saving/Saving.js +5 -5
  196. package/lib/components/SidePanel/SidePanel.js +3 -3
  197. package/lib/components/StatusIcon/StatusIcon.js +45 -45
  198. package/lib/components/UserProfileImage/UserProfileImage.js +7 -7
  199. package/lib/components/WebTerminal/WebTerminal.js +3 -3
  200. package/lib/components/WebTerminal/preview-components/Navigation.js +4 -4
  201. package/lib/components/index.js +12 -0
  202. package/lib/global/js/hooks/useClickOutside.js +1 -1
  203. package/lib/global/js/package-settings.js +3 -3
  204. package/lib/global/js/utils/rangeWithCallback.js +22 -0
  205. package/lib/global/js/utils/story-helper.js +5 -1
  206. package/lib/global/js/utils/uuidv4.spec.js +4 -0
  207. package/package.json +15 -15
  208. package/scss/components/AddSelect/_add-select.scss +127 -28
  209. package/scss/components/Card/_card.scss +1 -0
  210. package/scss/components/Cascade/_cascade.scss +1 -1
  211. package/scss/components/CreateTearsheet/_create-tearsheet.scss +2 -0
  212. package/scss/components/Datagrid/_datagrid.scss +7 -0
  213. package/scss/components/Datagrid/_storybook-styles.scss +8 -5
  214. package/scss/components/Datagrid/styles/_datagrid.scss +31 -15
  215. package/scss/components/Datagrid/styles/_draggableElement.scss +26 -9
  216. package/scss/components/Datagrid/styles/_index.scss +1 -0
  217. package/scss/components/Datagrid/styles/_useActionsColumn.scss +14 -0
  218. package/scss/components/Datagrid/styles/_useExpandedRow.scss +37 -9
  219. package/scss/components/Datagrid/styles/_useInlineEdit.scss +404 -0
  220. package/scss/components/Datagrid/styles/_useNestedRows.scss +16 -1
  221. package/scss/components/Datagrid/styles/_useStickyColumn.scss +31 -2
  222. package/scss/components/Datagrid/styles/addons/_CustomizeColumnsModal.scss +45 -6
  223. package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +9 -1
  224. package/scss/components/InlineEdit/_inline-edit.scss +4 -2
  225. package/scss/components/NotificationsPanel/_notifications-panel.scss +3 -6
  226. package/scss/components/RemoveModal/_remove-modal.scss +0 -4
  227. package/scss/components/SidePanel/_side-panel.scss +3 -6
  228. package/scss/components/Tearsheet/_tearsheet.scss +2 -2
  229. package/scss/components/_index-released-only.scss +1 -0
@@ -13,10 +13,27 @@ var _react = _interopRequireDefault(require("react"));
13
13
 
14
14
  var _namor = _interopRequireDefault(require("namor"));
15
15
 
16
+ var _StatusIcon = require("../../StatusIcon");
17
+
18
+ var _getInlineEditColumns = require("./getInlineEditColumns");
19
+
16
20
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
17
21
 
18
22
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
19
23
 
24
+ var getRandomInteger = function getRandomInteger(min, max, decimalPlaces) {
25
+ var roundedMin = Math.ceil(min);
26
+ var roundedMax = Math.floor(max);
27
+ var randomNumber = Math.random() * (max - min) + min;
28
+
29
+ if (!decimalPlaces) {
30
+ return Math.floor(Math.random() * (roundedMax - roundedMin + 1)) + roundedMin;
31
+ }
32
+
33
+ var power = Math.pow(10, decimalPlaces);
34
+ return Math.floor(randomNumber * power) / power;
35
+ };
36
+
20
37
  var makeData = function makeData() {
21
38
  for (var _len = arguments.length, lens = new Array(_len), _key = 0; _key < _len; _key++) {
22
39
  lens[_key] = arguments[_key];
@@ -49,8 +66,32 @@ var range = function range(len) {
49
66
 
50
67
  exports.range = range;
51
68
 
69
+ var renderStatusIcon = function renderStatusIcon(statusChance) {
70
+ var iconProps = {
71
+ size: 'sm',
72
+ theme: 'light',
73
+ kind: statusChance > 0.66 ? 'critical' : statusChance > 0.33 ? 'minor-warning' : 'normal',
74
+ iconDescription: statusChance > 0.66 ? 'Critical' : statusChance > 0.33 ? 'Minor warning' : 'Normal'
75
+ };
76
+ return /*#__PURE__*/_react.default.createElement(_StatusIcon.StatusIcon, iconProps);
77
+ };
78
+
79
+ var renderDocLink = function renderDocLink(statusChance) {
80
+ var docLinkObj = {
81
+ href: statusChance > 0.66 ? 'http://carbondesignsystem.com/' : statusChance > 0.33 ? 'https://pages.github.ibm.com/cdai-design/pal/' : 'http://carbon-for-ibm-products.netlify.app/',
82
+ text: statusChance > 0.66 ? 'Carbon Design System' : statusChance > 0.33 ? 'Carbon for IBM Products PAL' : 'Carbon for IBM Products storybook'
83
+ };
84
+ return docLinkObj;
85
+ };
86
+
52
87
  var newPerson = function newPerson() {
53
88
  var statusChance = Math.random();
89
+ var initialChartTypeIndex = getRandomInteger(0, 2);
90
+ var activeSinceDate = new Date();
91
+ var yesterdayDate = new Date();
92
+ yesterdayDate.setDate(yesterdayDate.getDate() - 1);
93
+ var twoDaysAgoDate = new Date();
94
+ twoDaysAgoDate.setDate(twoDaysAgoDate.getDate() - 2);
54
95
  return {
55
96
  firstName: _namor.default.generate({
56
97
  words: 1,
@@ -143,7 +184,12 @@ var newPerson = function newPerson() {
143
184
  words: 1,
144
185
  numbers: 0
145
186
  }),
146
- status: statusChance > 0.66 ? 'relationship' : statusChance > 0.33 ? 'complicated' : 'single'
187
+ status: statusChance > 0.66 ? 'relationship' : statusChance > 0.33 ? 'complicated' : 'single',
188
+ chartType: initialChartTypeIndex === 0 ? _getInlineEditColumns.inlineEditSelectItems[0] : initialChartTypeIndex === 1 ? _getInlineEditColumns.inlineEditSelectItems[1] : _getInlineEditColumns.inlineEditSelectItems[2],
189
+ activeSince: statusChance > 0.66 ? activeSinceDate : statusChance > 0.33 ? yesterdayDate : twoDaysAgoDate,
190
+ bonus: "$\r".concat(getRandomInteger(100, 500, 2)),
191
+ status_icon: renderStatusIcon(statusChance),
192
+ doc_link: renderDocLink(statusChance)
147
193
  };
148
194
  };
149
195
 
@@ -23,7 +23,7 @@ var _react2 = require("@carbon/react");
23
23
 
24
24
  var _classnames = _interopRequireDefault(require("classnames"));
25
25
 
26
- var _iconsReact = require("@carbon/icons-react");
26
+ var _icons = require("@carbon/react/icons");
27
27
 
28
28
  var _propTypes = _interopRequireDefault(require("prop-types"));
29
29
 
@@ -193,10 +193,10 @@ var ExportModal = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
193
193
  }, loading && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_react2.Loading, {
194
194
  small: true,
195
195
  withOverlay: false
196
- }), /*#__PURE__*/_react.default.createElement("p", null, loadingMessage)), successful && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_iconsReact.CheckmarkFilled, {
196
+ }), /*#__PURE__*/_react.default.createElement("p", null, loadingMessage)), successful && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_icons.CheckmarkFilled, {
197
197
  size: 16,
198
198
  className: "".concat(blockClass, "__checkmark-icon")
199
- }), /*#__PURE__*/_react.default.createElement("p", null, successMessage)), error && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_iconsReact.ErrorFilled, {
199
+ }), /*#__PURE__*/_react.default.createElement("p", null, successMessage)), error && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_icons.ErrorFilled, {
200
200
  size: 16,
201
201
  className: "".concat(blockClass, "__error-icon")
202
202
  }), /*#__PURE__*/_react.default.createElement("p", null, errorMessage)))), !submitted && /*#__PURE__*/_react.default.createElement(_react2.ModalFooter, {
@@ -25,7 +25,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
25
25
 
26
26
  var _react = _interopRequireWildcard(require("react"));
27
27
 
28
- var _iconsReact = require("@carbon/icons-react");
28
+ var _icons = require("@carbon/react/icons");
29
29
 
30
30
  var _react2 = require("@carbon/react");
31
31
 
@@ -100,9 +100,9 @@ var ImportModal = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
100
100
  var acceptSet = new Set(accept);
101
101
  var name = file.name;
102
102
  var mimeType = file.type;
103
- var extension = name.split('.').pop();
103
+ var extension = ".".concat(name.split('.').pop());
104
104
 
105
- if (acceptSet.has(mimeType) || acceptSet.has(extension)) {
105
+ if (acceptSet.has(mimeType) || acceptSet.has(extension) || accept.length === 0) {
106
106
  return false;
107
107
  }
108
108
 
@@ -279,7 +279,7 @@ var ImportModal = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
279
279
  size: "sm",
280
280
  disabled: importButtonDisabled,
281
281
  renderIcon: inputButtonIcon ? function (props) {
282
- return /*#__PURE__*/_react.default.createElement(_iconsReact.Add, (0, _extends2.default)({
282
+ return /*#__PURE__*/_react.default.createElement(_icons.Add, (0, _extends2.default)({
283
283
  size: 20
284
284
  }, props));
285
285
  } : null
@@ -31,7 +31,7 @@ var _settings = require("../../settings");
31
31
 
32
32
  var _react2 = require("@carbon/react");
33
33
 
34
- var _iconsReact = require("@carbon/icons-react");
34
+ var _icons = require("@carbon/react/icons");
35
35
 
36
36
  var _excluded = ["buttonTooltipAlignment", "buttonTooltipPosition", "cancelDescription", "className", "disabled", "editAlwaysVisible", "editDescription", "id", "invalid", "invalidText", "labelText", "light", "onCancel", "onSave", "onChange", "placeholder", "saveDescription", "size", "value"];
37
37
 
@@ -56,7 +56,7 @@ var buttons = ['cancel', 'edit', 'save'];
56
56
  */
57
57
 
58
58
  var InlineEdit = /*#__PURE__*/_react.default.forwardRef(function (_ref, refIn) {
59
- var _cx, _refInput$current, _refInput$current$inn, _cx3;
59
+ var _cx, _refInput$current, _refInput$current$tex, _cx3;
60
60
 
61
61
  var buttonTooltipAlignment = _ref.buttonTooltipAlignment,
62
62
  buttonTooltipPosition = _ref.buttonTooltipPosition,
@@ -81,7 +81,9 @@ var InlineEdit = /*#__PURE__*/_react.default.forwardRef(function (_ref, refIn) {
81
81
  value = _ref.value,
82
82
  rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
83
83
  var carbonPrefix = (0, _react2.usePrefix)();
84
- var refInput = (0, _react.useRef)(null);
84
+ var refInput = (0, _react.useRef)({
85
+ textContent: value
86
+ });
85
87
  var localRef = (0, _react.useRef)(null);
86
88
  var ref = refIn || localRef;
87
89
 
@@ -99,7 +101,7 @@ var InlineEdit = /*#__PURE__*/_react.default.forwardRef(function (_ref, refIn) {
99
101
 
100
102
  var validationText = invalidText; // || warnText;
101
103
 
102
- var validationIcon = showValidation ? /*#__PURE__*/_react.default.createElement(_iconsReact.WarningFilled, {
104
+ var validationIcon = showValidation ? /*#__PURE__*/_react.default.createElement(_icons.WarningFilled, {
103
105
  size: 16
104
106
  }) : null; // sanitize the tooltip values
105
107
 
@@ -164,15 +166,15 @@ var InlineEdit = /*#__PURE__*/_react.default.forwardRef(function (_ref, refIn) {
164
166
  document.getSelection().removeAllRanges();
165
167
 
166
168
  if (onSave) {
167
- onSave(refInput.current.innerText);
169
+ onSave(refInput.current.textContent);
168
170
  }
169
171
  };
170
172
 
171
173
  var handleInput = function handleInput() {
172
- setInternalValue(refInput.current.innerText);
174
+ setInternalValue(refInput.current.textContent);
173
175
 
174
176
  if (onChange) {
175
- onChange(refInput.current.innerText);
177
+ onChange(refInput.current.textContent);
176
178
  }
177
179
  }; // pasting into contentEditable not supported by userEvent
178
180
 
@@ -207,7 +209,7 @@ var InlineEdit = /*#__PURE__*/_react.default.forwardRef(function (_ref, refIn) {
207
209
  };
208
210
 
209
211
  var handleCancel = function handleCancel() {
210
- refInput.current.innerText = value;
212
+ refInput.current.textContent = value;
211
213
  handleInput(value);
212
214
  doSetEditing(false);
213
215
  document.getSelection().removeAllRanges();
@@ -275,7 +277,7 @@ var InlineEdit = /*#__PURE__*/_react.default.forwardRef(function (_ref, refIn) {
275
277
  }, /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, rest, (0, _devtools.getDevtoolsProps)(componentName), {
276
278
  id: id,
277
279
  size: size,
278
- className: (0, _classnames.default)("".concat(blockClass, "__input"), (0, _defineProperty2.default)({}, "".concat(blockClass, "__input--empty"), ((_refInput$current = refInput.current) === null || _refInput$current === void 0 ? void 0 : (_refInput$current$inn = _refInput$current.innerText) === null || _refInput$current$inn === void 0 ? void 0 : _refInput$current$inn.length) === 0)),
280
+ className: (0, _classnames.default)("".concat(blockClass, "__input"), (0, _defineProperty2.default)({}, "".concat(blockClass, "__input--empty"), ((_refInput$current = refInput.current) === null || _refInput$current === void 0 ? void 0 : (_refInput$current$tex = _refInput$current.textContent) === null || _refInput$current$tex === void 0 ? void 0 : _refInput$current$tex.length) === 0)),
279
281
  contentEditable: true,
280
282
  "aria-label": labelText,
281
283
  role: "textbox",
@@ -286,7 +288,7 @@ var InlineEdit = /*#__PURE__*/_react.default.forwardRef(function (_ref, refIn) {
286
288
  onPaste: handlePaste,
287
289
  suppressContentEditableWarning: true,
288
290
  ref: refInput,
289
- "data-placeholder": placeholder !== null && placeholder !== void 0 ? placeholder : labelText
291
+ "data-placeholder": placeholder
290
292
  }), value), /*#__PURE__*/_react.default.createElement("div", {
291
293
  className: (0, _classnames.default)("".concat(blockClass, "__after-input-elements")) // tabindex -1 fixes blur target test when clicking on after-input-elements background
292
294
  ,
@@ -305,7 +307,7 @@ var InlineEdit = /*#__PURE__*/_react.default.forwardRef(function (_ref, refIn) {
305
307
  iconDescription: cancelDescription,
306
308
  onClick: handleCancel,
307
309
  renderIcon: function renderIcon(props) {
308
- return /*#__PURE__*/_react.default.createElement(_iconsReact.Close, (0, _extends2.default)({
310
+ return /*#__PURE__*/_react.default.createElement(_icons.Close, (0, _extends2.default)({
309
311
  size: 16
310
312
  }, props));
311
313
  }
@@ -316,7 +318,7 @@ var InlineEdit = /*#__PURE__*/_react.default.forwardRef(function (_ref, refIn) {
316
318
  iconDescription: saveDescription,
317
319
  onClick: handleSave,
318
320
  renderIcon: function renderIcon(props) {
319
- return /*#__PURE__*/_react.default.createElement(_iconsReact.Checkmark, (0, _extends2.default)({
321
+ return /*#__PURE__*/_react.default.createElement(_icons.Checkmark, (0, _extends2.default)({
320
322
  size: 16
321
323
  }, props));
322
324
  },
@@ -327,9 +329,9 @@ var InlineEdit = /*#__PURE__*/_react.default.forwardRef(function (_ref, refIn) {
327
329
  label: editDescription,
328
330
  onClick: handleEdit,
329
331
  disabled: disabled
330
- }, tipPositions.edit), disabled ? /*#__PURE__*/_react.default.createElement(_iconsReact.EditOff, {
332
+ }, tipPositions.edit), disabled ? /*#__PURE__*/_react.default.createElement(_icons.EditOff, {
331
333
  size: 16
332
- }) : /*#__PURE__*/_react.default.createElement(_iconsReact.Edit, {
334
+ }) : /*#__PURE__*/_react.default.createElement(_icons.Edit, {
333
335
  size: 16
334
336
  })))), /*#__PURE__*/_react.default.createElement("div", {
335
337
  className: (0, _classnames.default)("".concat(blockClass, "__disabled-cover"))
@@ -11,7 +11,7 @@ var _react = _interopRequireDefault(require("react"));
11
11
 
12
12
  var _propTypes = _interopRequireDefault(require("prop-types"));
13
13
 
14
- var _iconsReact = require("@carbon/icons-react");
14
+ var _icons = require("@carbon/react/icons");
15
15
 
16
16
  var _settings = require("../../settings");
17
17
 
@@ -31,7 +31,7 @@ var ModifiedTabLabelNew = function ModifiedTabLabelNew(_ref) {
31
31
  className: "".concat(blockClass, "__tab-new__label")
32
32
  }, label), /*#__PURE__*/_react.default.createElement("span", {
33
33
  className: "".concat(blockClass, "__tab-new-img")
34
- }, /*#__PURE__*/_react.default.createElement(_iconsReact.Add, {
34
+ }, /*#__PURE__*/_react.default.createElement(_icons.Add, {
35
35
  size: 20
36
36
  })));
37
37
  };
@@ -11,7 +11,7 @@ var _react = _interopRequireDefault(require("react"));
11
11
 
12
12
  var _propTypes = _interopRequireDefault(require("prop-types"));
13
13
 
14
- var _iconsReact = require("@carbon/icons-react");
14
+ var _icons = require("@carbon/react/icons");
15
15
 
16
16
  var _settings = require("../../settings");
17
17
 
@@ -37,9 +37,9 @@ var ModifiedTabLabelWithClose = function ModifiedTabLabelWithClose(_ref) {
37
37
  onClick: handleClose,
38
38
  className: "".concat(blockClass, "__tab-close"),
39
39
  type: "button"
40
- }, unsavedContent ? /*#__PURE__*/_react.default.createElement(_iconsReact.CloseFilled, {
40
+ }, unsavedContent ? /*#__PURE__*/_react.default.createElement(_icons.CloseFilled, {
41
41
  size: 16
42
- }) : /*#__PURE__*/_react.default.createElement(_iconsReact.Close, {
42
+ }) : /*#__PURE__*/_react.default.createElement(_icons.Close, {
43
43
  size: 16
44
44
  })));
45
45
  };
@@ -35,7 +35,7 @@ var _NotificationsEmptyState = require("../EmptyStates/NotificationsEmptyState")
35
35
 
36
36
  var _react2 = require("@carbon/react");
37
37
 
38
- var _iconsReact = require("@carbon/icons-react");
38
+ var _icons = require("@carbon/react/icons");
39
39
 
40
40
  var _excluded = ["className", "data", "daysAgoText", "dismissAllLabel", "dismissSingleNotificationIconDescription", "doNotDisturbDefaultToggled", "doNotDisturbLabel", "emptyStateLabel", "hourAgoText", "hoursAgoText", "minuteAgoText", "minutesAgoText", "monthAgoText", "monthsAgoText", "nowText", "onClickOutside", "onDismissAllNotifications", "onDismissSingleNotification", "onDoNotDisturbChange", "onSettingsClick", "onViewAllClick", "open", "previousLabel", "readLessLabel", "readMoreLabel", "secondsAgoText", "settingsIconDescription", "title", "todayLabel", "viewAllLabel", "yearAgoText", "yearsAgoText", "yesterdayAtText", "yesterdayLabel"];
41
41
 
@@ -250,7 +250,7 @@ var NotificationsPanel = /*#__PURE__*/_react.default.forwardRef(function (_ref,
250
250
  kind: "ghost",
251
251
  size: "sm",
252
252
  renderIcon: function renderIcon(props) {
253
- return /*#__PURE__*/_react.default.createElement(_iconsReact.ChevronDown, (0, _extends2.default)({
253
+ return /*#__PURE__*/_react.default.createElement(_icons.ChevronDown, (0, _extends2.default)({
254
254
  size: 16
255
255
  }, props));
256
256
  },
@@ -293,16 +293,16 @@ var NotificationsPanel = /*#__PURE__*/_react.default.forwardRef(function (_ref,
293
293
 
294
294
  event.which === 13 && notification.onNotificationClick(notification);
295
295
  }
296
- }, notification.type === 'error' && /*#__PURE__*/_react.default.createElement(_iconsReact.ErrorFilled, {
296
+ }, notification.type === 'error' && /*#__PURE__*/_react.default.createElement(_icons.ErrorFilled, {
297
297
  size: 16,
298
298
  className: (0, _classnames.default)(["".concat(blockClass, "__notification-status-icon"), "".concat(blockClass, "__notification-status-icon-error")])
299
- }), notification.type === 'success' && /*#__PURE__*/_react.default.createElement(_iconsReact.CheckmarkFilled, {
299
+ }), notification.type === 'success' && /*#__PURE__*/_react.default.createElement(_icons.CheckmarkFilled, {
300
300
  size: 16,
301
301
  className: (0, _classnames.default)(["".concat(blockClass, "__notification-status-icon"), "".concat(blockClass, "__notification-status-icon-success")])
302
- }), notification.type === 'warning' && /*#__PURE__*/_react.default.createElement(_iconsReact.WarningAltFilled, {
302
+ }), notification.type === 'warning' && /*#__PURE__*/_react.default.createElement(_icons.WarningAltFilled, {
303
303
  size: 16,
304
304
  className: (0, _classnames.default)(["".concat(blockClass, "__notification-status-icon"), "".concat(blockClass, "__notification-status-icon-warning")])
305
- }), notification.type === 'informational' && /*#__PURE__*/_react.default.createElement(_iconsReact.InformationSquareFilled, {
305
+ }), notification.type === 'informational' && /*#__PURE__*/_react.default.createElement(_icons.InformationSquareFilled, {
306
306
  size: 16,
307
307
  className: (0, _classnames.default)(["".concat(blockClass, "__notification-status-icon"), "".concat(blockClass, "__notification-status-icon-informational")])
308
308
  }), /*#__PURE__*/_react.default.createElement("div", {
@@ -337,7 +337,7 @@ var NotificationsPanel = /*#__PURE__*/_react.default.forwardRef(function (_ref,
337
337
  onClick: function onClick(event) {
338
338
  return dismissSingleNotification(event, notification);
339
339
  }
340
- }, /*#__PURE__*/_react.default.createElement(_iconsReact.Close, {
340
+ }, /*#__PURE__*/_react.default.createElement(_icons.Close, {
341
341
  size: 16
342
342
  })));
343
343
  };
@@ -413,7 +413,7 @@ var NotificationsPanel = /*#__PURE__*/_react.default.forwardRef(function (_ref,
413
413
  size: "sm",
414
414
  className: "".concat(blockClass, "__settings-button"),
415
415
  renderIcon: function renderIcon(props) {
416
- return /*#__PURE__*/_react.default.createElement(_iconsReact.Settings, (0, _extends2.default)({
416
+ return /*#__PURE__*/_react.default.createElement(_icons.Settings, (0, _extends2.default)({
417
417
  size: 16
418
418
  }, props));
419
419
  },
@@ -31,7 +31,7 @@ var _settings = require("../../settings");
31
31
 
32
32
  var _react2 = require("@carbon/react");
33
33
 
34
- var _iconsReact = require("@carbon/icons-react");
34
+ var _icons = require("@carbon/react/icons");
35
35
 
36
36
  var carbonMotion = _interopRequireWildcard(require("@carbon/motion"));
37
37
 
@@ -194,15 +194,15 @@ var OptionsTile = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
194
194
  var summaryClasses = ["".concat(blockClass, "__summary")];
195
195
 
196
196
  if (invalid) {
197
- Icon = _iconsReact.WarningFilled;
197
+ Icon = _icons.WarningFilled;
198
198
  text = invalidText;
199
199
  summaryClasses.push("".concat(blockClass, "__summary--invalid"));
200
200
  } else if (warn) {
201
- Icon = _iconsReact.WarningAltFilled;
201
+ Icon = _icons.WarningAltFilled;
202
202
  text = warnText;
203
203
  summaryClasses.push("".concat(blockClass, "__summary--warn"));
204
204
  } else if (locked) {
205
- Icon = _iconsReact.Locked;
205
+ Icon = _icons.Locked;
206
206
  summaryClasses.push("".concat(blockClass, "__summary--locked"));
207
207
 
208
208
  if (!text) {
@@ -256,7 +256,7 @@ var OptionsTile = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
256
256
  }, /*#__PURE__*/_react.default.createElement("summary", {
257
257
  className: "".concat(blockClass, "__header"),
258
258
  onClick: toggle
259
- }, /*#__PURE__*/_react.default.createElement(_iconsReact.ChevronDown, {
259
+ }, /*#__PURE__*/_react.default.createElement(_icons.ChevronDown, {
260
260
  size: 16,
261
261
  className: "".concat(blockClass, "__chevron")
262
262
  }), renderTitle()), /*#__PURE__*/_react.default.createElement("div", {
@@ -264,7 +264,7 @@ var OptionsTile = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
264
264
  ref: contentRef
265
265
  }, isLocked && /*#__PURE__*/_react.default.createElement("p", {
266
266
  className: "".concat(blockClass, "__locked-text")
267
- }, /*#__PURE__*/_react.default.createElement(_iconsReact.Locked, {
267
+ }, /*#__PURE__*/_react.default.createElement(_icons.Locked, {
268
268
  size: 16
269
269
  }), lockedText), children)) : /*#__PURE__*/_react.default.createElement("div", {
270
270
  className: "".concat(blockClass, "__static-content")
@@ -45,7 +45,7 @@ var _TagSet = require("../TagSet/TagSet");
45
45
 
46
46
  var _ButtonSetWithOverflow = require("../ButtonSetWithOverflow");
47
47
 
48
- var _iconsReact = require("@carbon/icons-react");
48
+ var _icons = require("@carbon/react/icons");
49
49
 
50
50
  var _PageHeaderUtils = require("./PageHeaderUtils");
51
51
 
@@ -484,7 +484,7 @@ var PageHeader = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
484
484
  kind: "ghost",
485
485
  onClick: handleCollapseToggle,
486
486
  renderIcon: function renderIcon(props) {
487
- return /*#__PURE__*/_react.default.createElement(_iconsReact.ChevronUp, (0, _extends2.default)({
487
+ return /*#__PURE__*/_react.default.createElement(_icons.ChevronUp, (0, _extends2.default)({
488
488
  size: 16
489
489
  }, props));
490
490
  },
@@ -135,6 +135,11 @@ ProductiveCard.propTypes = {
135
135
  */
136
136
  primaryButtonIcon: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
137
137
 
138
+ /**
139
+ * Determines if the primary button is on the top or bottom of the card
140
+ */
141
+ primaryButtonPlacement: _propTypes.default.oneOf(['top', 'bottom']),
142
+
138
143
  /**
139
144
  * The text that's displayed in the primary button
140
145
  */
@@ -21,7 +21,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
21
21
 
22
22
  var _react2 = require("@carbon/react");
23
23
 
24
- var _iconsReact = require("@carbon/icons-react");
24
+ var _icons = require("@carbon/react/icons");
25
25
 
26
26
  var _propTypes = _interopRequireDefault(require("prop-types"));
27
27
 
@@ -59,7 +59,7 @@ var Saving = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
59
59
  text: defaultText,
60
60
  iconDescription: defaultIconDescription,
61
61
  icon: function icon(props) {
62
- return /*#__PURE__*/_react.default.createElement(_iconsReact.CheckmarkOutline, (0, _extends2.default)({
62
+ return /*#__PURE__*/_react.default.createElement(_icons.CheckmarkOutline, (0, _extends2.default)({
63
63
  size: 16
64
64
  }, props));
65
65
  }
@@ -76,7 +76,7 @@ var Saving = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
76
76
  text: successText,
77
77
  iconDescription: successIconDescription,
78
78
  icon: function icon(props) {
79
- return /*#__PURE__*/_react.default.createElement(_iconsReact.Save, (0, _extends2.default)({
79
+ return /*#__PURE__*/_react.default.createElement(_icons.Save, (0, _extends2.default)({
80
80
  size: 16
81
81
  }, props));
82
82
  }
@@ -84,7 +84,7 @@ var Saving = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
84
84
  text: failText,
85
85
  iconDescription: failIconDescription,
86
86
  icon: function icon(props) {
87
- return /*#__PURE__*/_react.default.createElement(_iconsReact.ErrorOutline, (0, _extends2.default)({
87
+ return /*#__PURE__*/_react.default.createElement(_icons.ErrorOutline, (0, _extends2.default)({
88
88
  size: 16
89
89
  }, props));
90
90
  }
@@ -97,7 +97,7 @@ var Saving = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
97
97
  className: "".concat(blockClass, "__message")
98
98
  }, status === 'fail' && /*#__PURE__*/_react.default.createElement("div", {
99
99
  className: "".concat(blockClass, "__error-icon")
100
- }, /*#__PURE__*/_react.default.createElement(_iconsReact.ErrorFilled, {
100
+ }, /*#__PURE__*/_react.default.createElement(_icons.ErrorFilled, {
101
101
  size: 16
102
102
  })), /*#__PURE__*/_react.default.createElement("p", {
103
103
  className: "".concat(blockClass, "__text")
@@ -41,7 +41,7 @@ var _hooks = require("../../global/js/hooks");
41
41
 
42
42
  var _react2 = require("@carbon/react");
43
43
 
44
- var _iconsReact = require("@carbon/icons-react");
44
+ var _icons = require("@carbon/react/icons");
45
45
 
46
46
  var _ActionSet = require("../ActionSet");
47
47
 
@@ -435,7 +435,7 @@ var SidePanel = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
435
435
  size: "sm",
436
436
  disabled: false,
437
437
  renderIcon: function renderIcon(props) {
438
- return /*#__PURE__*/_react.default.createElement(_iconsReact.ArrowLeft, (0, _extends2.default)({
438
+ return /*#__PURE__*/_react.default.createElement(_icons.ArrowLeft, (0, _extends2.default)({
439
439
  size: 20
440
440
  }, props));
441
441
  },
@@ -449,7 +449,7 @@ var SidePanel = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
449
449
  kind: "ghost",
450
450
  size: "sm",
451
451
  renderIcon: function renderIcon(props) {
452
- return /*#__PURE__*/_react.default.createElement(_iconsReact.Close, (0, _extends2.default)({
452
+ return /*#__PURE__*/_react.default.createElement(_icons.Close, (0, _extends2.default)({
453
453
  size: 20
454
454
  }, props));
455
455
  },