@carbon/ibm-products 1.59.1 → 1.61.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. package/css/index-full-carbon.css +99 -45
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +4 -4
  4. package/css/index-full-carbon.min.css.map +1 -1
  5. package/css/index-without-carbon-released-only.css +9 -3
  6. package/css/index-without-carbon-released-only.css.map +1 -1
  7. package/css/index-without-carbon-released-only.min.css +1 -1
  8. package/css/index-without-carbon-released-only.min.css.map +1 -1
  9. package/css/index-without-carbon.css +89 -30
  10. package/css/index-without-carbon.css.map +1 -1
  11. package/css/index-without-carbon.min.css +2 -2
  12. package/css/index-without-carbon.min.css.map +1 -1
  13. package/css/index.css +89 -45
  14. package/css/index.css.map +1 -1
  15. package/css/index.min.css +3 -3
  16. package/css/index.min.css.map +1 -1
  17. package/es/components/Datagrid/Datagrid/Datagrid.js +2 -1
  18. package/es/components/Datagrid/Datagrid/DatagridContent.js +10 -2
  19. package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +4 -4
  20. package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +2 -2
  21. package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +13 -1
  22. package/es/components/Datagrid/Datagrid/DatagridToolbar.js +3 -15
  23. package/es/components/Datagrid/Datagrid/DraggableElement.js +32 -135
  24. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +14 -38
  25. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -0
  26. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +134 -45
  27. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +7 -6
  28. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +104 -18
  29. package/es/components/Datagrid/Datagrid/addons/Filtering/constants.js +1 -0
  30. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +37 -4
  31. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +6 -12
  32. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +0 -5
  33. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +17 -5
  34. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +4 -3
  35. package/es/components/Datagrid/useFiltering.js +4 -1
  36. package/es/components/Datagrid/useInlineEdit.js +1 -6
  37. package/es/components/Datagrid/useNestedRowExpander.js +22 -9
  38. package/es/components/Datagrid/useRowExpander.js +22 -9
  39. package/es/components/Datagrid/useSortableColumns.js +5 -4
  40. package/es/components/Datagrid/utils/getArgTypes.js +12 -0
  41. package/es/components/EmptyStates/EmptyState.js +1 -1
  42. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
  43. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
  44. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
  45. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
  46. package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
  47. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
  48. package/es/components/EmptyStates/assets/ErrorIllustration.js +6 -11
  49. package/es/components/EmptyStates/assets/NoDataIllustration.js +6 -11
  50. package/es/components/EmptyStates/assets/NoTagsIllustration.js +6 -12
  51. package/es/components/EmptyStates/assets/NotFoundIllustration.js +6 -12
  52. package/es/components/EmptyStates/assets/NotificationsIllustration.js +6 -12
  53. package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +6 -12
  54. package/es/components/FilterSummary/FilterSummary.js +15 -5
  55. package/es/components/TagSet/TagSet.js +14 -10
  56. package/es/components/TagSet/TagSetOverflow.js +16 -5
  57. package/es/global/js/hooks/useWindowScroll.js +5 -0
  58. package/es/global/js/utils/getNodeTextContent.js +51 -0
  59. package/lib/components/Datagrid/Datagrid/Datagrid.js +2 -1
  60. package/lib/components/Datagrid/Datagrid/DatagridContent.js +9 -1
  61. package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +3 -3
  62. package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +2 -2
  63. package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +13 -1
  64. package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +3 -15
  65. package/lib/components/Datagrid/Datagrid/DraggableElement.js +34 -140
  66. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +17 -38
  67. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -0
  68. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +134 -52
  69. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +7 -6
  70. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +104 -24
  71. package/lib/components/Datagrid/Datagrid/addons/Filtering/constants.js +4 -2
  72. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +36 -3
  73. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +6 -12
  74. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +0 -5
  75. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +15 -3
  76. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +7 -3
  77. package/lib/components/Datagrid/useFiltering.js +4 -1
  78. package/lib/components/Datagrid/useInlineEdit.js +1 -6
  79. package/lib/components/Datagrid/useNestedRowExpander.js +24 -9
  80. package/lib/components/Datagrid/useRowExpander.js +24 -9
  81. package/lib/components/Datagrid/useSortableColumns.js +5 -4
  82. package/lib/components/Datagrid/utils/getArgTypes.js +12 -0
  83. package/lib/components/EmptyStates/EmptyState.js +1 -1
  84. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
  85. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
  86. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
  87. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
  88. package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
  89. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
  90. package/lib/components/EmptyStates/assets/ErrorIllustration.js +6 -11
  91. package/lib/components/EmptyStates/assets/NoDataIllustration.js +6 -11
  92. package/lib/components/EmptyStates/assets/NoTagsIllustration.js +6 -12
  93. package/lib/components/EmptyStates/assets/NotFoundIllustration.js +6 -12
  94. package/lib/components/EmptyStates/assets/NotificationsIllustration.js +6 -12
  95. package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +6 -12
  96. package/lib/components/FilterSummary/FilterSummary.js +15 -12
  97. package/lib/components/TagSet/TagSet.js +13 -9
  98. package/lib/components/TagSet/TagSetOverflow.js +16 -5
  99. package/lib/global/js/hooks/useWindowScroll.js +6 -0
  100. package/lib/global/js/utils/getNodeTextContent.js +59 -0
  101. package/package.json +8 -7
  102. package/scss/components/Datagrid/_datagrid.scss +2 -1
  103. package/scss/components/Datagrid/styles/_draggableElement.scss +44 -20
  104. package/scss/components/Datagrid/styles/_useInlineEdit.scss +7 -11
  105. package/scss/components/Datagrid/styles/addons/_CustomizeColumnsTearsheet.scss +0 -1
  106. package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +42 -1
  107. package/scss/components/TagSet/_tag-set.scss +13 -3
  108. package/es/components/Datagrid/utils/getColTitle.js +0 -25
  109. package/lib/components/Datagrid/utils/getColTitle.js +0 -32
@@ -20,13 +20,14 @@ var NoDataIllustration = function NoDataIllustration(_ref) {
20
20
  size = _ref.size,
21
21
  rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
22
22
  var svgId = (0, _uuidv.default)();
23
- return theme === 'dark' ? /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({}, rest, {
23
+ return /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({}, rest, {
24
24
  xmlns: "http://www.w3.org/2000/svg",
25
25
  width: 80,
26
26
  height: 80,
27
27
  viewBox: "0 0 80 80",
28
- className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration--").concat(size)])
29
- }), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
28
+ className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-noData"), "".concat(blockClass, "__illustration--").concat(size)]),
29
+ role: "img"
30
+ }), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
30
31
  id: "prefix__a_dark_".concat(svgId),
31
32
  x1: 11.12,
32
33
  y1: 43.34,
@@ -89,13 +90,7 @@ var NoDataIllustration = function NoDataIllustration(_ref) {
89
90
  }), /*#__PURE__*/_react.default.createElement("path", {
90
91
  fill: "#525252",
91
92
  d: "M21.49 33.33l-8.2-4.73.01-5.69 8.19 4.74v5.68z"
92
- })) : /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({}, rest, {
93
- xmlns: "http://www.w3.org/2000/svg",
94
- width: 80,
95
- height: 80,
96
- viewBox: "0 0 80 80",
97
- className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration--").concat(size)])
98
- }), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
93
+ })) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
99
94
  id: "prefix__a_".concat(svgId),
100
95
  x1: 18.35,
101
96
  y1: 74.17,
@@ -169,7 +164,7 @@ var NoDataIllustration = function NoDataIllustration(_ref) {
169
164
  }), /*#__PURE__*/_react.default.createElement("path", {
170
165
  className: "prefix__g_".concat(svgId),
171
166
  d: "M40 35.24L11.13 18.57v-.24l.21-.12 28.87 16.67-.21.11v.25zM21.49 33.33l-8.2-4.73.01-5.69 8.19 4.74v5.68z"
172
- }));
167
+ })));
173
168
  };
174
169
  exports.NoDataIllustration = NoDataIllustration;
175
170
  NoDataIllustration.propTypes = {
@@ -20,14 +20,15 @@ var NoTagsIllustration = function NoTagsIllustration(_ref) {
20
20
  size = _ref.size,
21
21
  rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
22
22
  var svgId = (0, _uuidv.default)();
23
- return theme === 'dark' ? /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({}, rest, {
23
+ return /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({}, rest, {
24
24
  xmlns: "http://www.w3.org/2000/svg",
25
25
  xmlnsXlink: "http://www.w3.org/1999/xlink",
26
26
  width: 80,
27
27
  height: 80,
28
28
  viewBox: "0 0 80 80",
29
- className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration--").concat(size)])
30
- }), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
29
+ className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-noTags"), "".concat(blockClass, "__illustration--").concat(size)]),
30
+ role: "img"
31
+ }), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
31
32
  id: "prefix__c_dark_".concat(svgId),
32
33
  x1: 34.96,
33
34
  y1: 5.37,
@@ -227,14 +228,7 @@ var NoTagsIllustration = function NoTagsIllustration(_ref) {
227
228
  }), /*#__PURE__*/_react.default.createElement("path", {
228
229
  d: "M35.67 16.33a2.88 2.88 0 011.41.43 7 7 0 013.13 5.44c0 1.42-.7 2.24-1.73 2.24a2.82 2.82 0 01-1.4-.43 6.93 6.93 0 01-3.14-5.44c0-1.42.7-2.24 1.73-2.24m0-.41c-1.3 0-2.15 1-2.15 2.65a7.3 7.3 0 003.35 5.8 3.23 3.23 0 001.61.48c1.3 0 2.15-1 2.15-2.65a7.29 7.29 0 00-3.35-5.8 3.2 3.2 0 00-1.61-.48z",
229
230
  fill: "url(#prefix__i_dark_".concat(svgId, ")")
230
- })) : /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({}, rest, {
231
- xmlns: "http://www.w3.org/2000/svg",
232
- xmlnsXlink: "http://www.w3.org/1999/xlink",
233
- width: 80,
234
- height: 80,
235
- viewBox: "0 0 80 80",
236
- className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration--").concat(size)])
237
- }), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
231
+ })) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
238
232
  id: "prefix__b_".concat(svgId),
239
233
  x1: 634.81,
240
234
  y1: 667.18,
@@ -477,7 +471,7 @@ var NoTagsIllustration = function NoTagsIllustration(_ref) {
477
471
  }), /*#__PURE__*/_react.default.createElement("path", {
478
472
  d: "M35.67 16.33a2.88 2.88 0 011.41.43 7 7 0 013.13 5.44c0 1.42-.7 2.24-1.73 2.24a2.82 2.82 0 01-1.4-.43 6.93 6.93 0 01-3.14-5.44c0-1.42.7-2.24 1.73-2.24m0-.41c-1.3 0-2.15 1-2.15 2.65a7.3 7.3 0 003.35 5.8 3.23 3.23 0 001.61.48c1.3 0 2.15-1 2.15-2.65a7.29 7.29 0 00-3.35-5.8 3.2 3.2 0 00-1.61-.48z",
479
473
  fill: "url(#prefix__j_".concat(svgId, ")")
480
- }));
474
+ })));
481
475
  };
482
476
  exports.NoTagsIllustration = NoTagsIllustration;
483
477
  NoTagsIllustration.propTypes = {
@@ -20,13 +20,14 @@ var NotFoundIllustration = function NotFoundIllustration(_ref) {
20
20
  size = _ref.size,
21
21
  rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
22
22
  var svgId = (0, _uuidv.default)();
23
- return theme === 'dark' ? /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({}, rest, {
23
+ return /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({}, rest, {
24
24
  xmlns: "http://www.w3.org/2000/svg",
25
25
  width: 80,
26
26
  height: 80,
27
27
  viewBox: "0 0 80 80",
28
- className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration--").concat(size)])
29
- }), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
28
+ className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-notFound"), "".concat(blockClass, "__illustration--").concat(size)]),
29
+ role: "img"
30
+ }), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
30
31
  id: "prefix__a_dark_".concat(svgId),
31
32
  x1: 2.6,
32
33
  y1: -12.81,
@@ -177,14 +178,7 @@ var NotFoundIllustration = function NotFoundIllustration(_ref) {
177
178
  }), /*#__PURE__*/_react.default.createElement("path", {
178
179
  d: "M57 37.5c0-12-8.75-26.85-19.56-33.08C31.82 1.16 26.73.89 23.16 3.09l-4.83 2.78 1.19 1.94c3.25-1.74 7.72-1.38 12.67 1.47C42.09 15 50.11 28.57 50.11 39.6c0 4.86-1.55 8.4-4.11 10.4-.12.1-1.17.73-1.31.82l2.12 1.42 4.83-2.79C55 47.44 57 43.34 57 37.5",
179
180
  fill: "url(#prefix__f_dark_".concat(svgId, ")")
180
- })) : /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({}, rest, {
181
- xmlns: "http://www.w3.org/2000/svg",
182
- xmlnsXlink: "http://www.w3.org/1999/xlink",
183
- width: 80,
184
- height: 80,
185
- viewBox: "0 0 80 80",
186
- className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration--").concat(size)])
187
- }), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
181
+ })) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
188
182
  id: "prefix__a_".concat(svgId),
189
183
  x1: 2.6,
190
184
  y1: -12.81,
@@ -354,7 +348,7 @@ var NotFoundIllustration = function NotFoundIllustration(_ref) {
354
348
  }), /*#__PURE__*/_react.default.createElement("path", {
355
349
  d: "M57 37.5c0-12-8.75-26.85-19.56-33.08C31.82 1.16 26.73.89 23.16 3.09l-4.83 2.78 1.19 1.94c3.25-1.74 7.72-1.38 12.67 1.47C42.09 15 50.11 28.57 50.11 39.6c0 4.86-1.55 8.4-4.11 10.4-.12.1-1.17.73-1.31.82l2.12 1.42 4.83-2.79C55 47.44 57 43.34 57 37.5",
356
350
  fill: "url(#prefix__g_".concat(svgId, ")")
357
- }));
351
+ })));
358
352
  };
359
353
  exports.NotFoundIllustration = NotFoundIllustration;
360
354
  NotFoundIllustration.propTypes = {
@@ -20,13 +20,14 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
20
20
  size = _ref.size,
21
21
  rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
22
22
  var svgId = (0, _uuidv.default)();
23
- return theme === 'dark' ? /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({}, rest, {
23
+ return /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({}, rest, {
24
24
  xmlns: "http://www.w3.org/2000/svg",
25
25
  width: 80,
26
26
  height: 80,
27
27
  viewBox: "0 0 80 80",
28
- className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration--").concat(size)])
29
- }), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
28
+ className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-notification"), "".concat(blockClass, "__illustration--").concat(size)]),
29
+ role: "img"
30
+ }), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
30
31
  id: "prefix__a_dark_".concat(svgId),
31
32
  x1: 30.05,
32
33
  y1: 54.31,
@@ -122,14 +123,7 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
122
123
  }), /*#__PURE__*/_react.default.createElement("path", {
123
124
  d: "M60.76 30.55a2.54 2.54 0 01.14.8v3.95l.41-.13v-3.82a3.54 3.54 0 00-1.63-2.82L16.86 3.8a2.09 2.09 0 00-.44-.19l-.78.45a1 1 0 01.21-.06h.48l.27.12 21.47 12.4 21.41 12.36a3.19 3.19 0 011.28 1.67z",
124
125
  fill: "url(#prefix__d_dark_".concat(svgId, ")")
125
- })) : /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({}, rest, {
126
- xmlns: "http://www.w3.org/2000/svg",
127
- xmlnsXlink: "http://www.w3.org/1999/xlink",
128
- width: 80,
129
- height: 80,
130
- viewBox: "0 0 80 80",
131
- className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration--").concat(size)])
132
- }), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
126
+ })) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
133
127
  id: "prefix__a_".concat(svgId),
134
128
  x1: 61.44,
135
129
  y1: 66.99,
@@ -325,7 +319,7 @@ var NotificationsIllustration = function NotificationsIllustration(_ref) {
325
319
  }), /*#__PURE__*/_react.default.createElement("path", {
326
320
  d: "M60.76 30.55a2.54 2.54 0 01.14.8v3.95l.41-.13v-3.82a3.54 3.54 0 00-1.63-2.82L16.86 3.8a2.09 2.09 0 00-.44-.19l-.78.45a1 1 0 01.21-.06h.48l.27.12 21.47 12.4 21.41 12.36a3.19 3.19 0 011.28 1.67z",
327
321
  fill: "url(#prefix__k_".concat(svgId, ")")
328
- }));
322
+ })));
329
323
  };
330
324
  exports.NotificationsIllustration = NotificationsIllustration;
331
325
  NotificationsIllustration.propTypes = {
@@ -20,14 +20,15 @@ var UnauthorizedIllustration = function UnauthorizedIllustration(_ref) {
20
20
  size = _ref.size,
21
21
  rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
22
22
  var svgId = (0, _uuidv.default)();
23
- return theme === 'dark' ? /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({}, rest, {
23
+ return /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({}, rest, {
24
24
  xmlns: "http://www.w3.org/2000/svg",
25
25
  xmlnsXlink: "http://www.w3.org/1999/xlink",
26
26
  width: 80,
27
27
  height: 80,
28
28
  viewBox: "0 0 80 80",
29
- className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration--").concat(size)])
30
- }), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
29
+ className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration-unauthorized"), "".concat(blockClass, "__illustration--").concat(size)]),
30
+ role: "img"
31
+ }), theme === 'dark' ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
31
32
  id: "prefix__b_dark_".concat(svgId),
32
33
  x1: 17.33,
33
34
  y1: 40.68,
@@ -110,14 +111,7 @@ var UnauthorizedIllustration = function UnauthorizedIllustration(_ref) {
110
111
  }), /*#__PURE__*/_react.default.createElement("path", {
111
112
  d: "M51.41 38.51a1.9 1.9 0 00-.64-.65l-1.1-.63-28.49-16.45-.1-.05-.61.35a.33.33 0 01.17 0 .6.6 0 01.32.1l28.5 16.41 1.1.63a1.5 1.5 0 01.49.51s.05.09.08.14l.36-.21z",
112
113
  fill: "#6f6f6f"
113
- })) : /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({}, rest, {
114
- xmlns: "http://www.w3.org/2000/svg",
115
- xmlnsXlink: "http://www.w3.org/1999/xlink",
116
- width: 80,
117
- height: 80,
118
- viewBox: "0 0 80 80",
119
- className: (0, _classnames.default)(["".concat(blockClass, "__illustration"), "".concat(blockClass, "__illustration--").concat(size)])
120
- }), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
114
+ })) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
121
115
  id: "prefix__b",
122
116
  x1: 27.98,
123
117
  y1: 73.72,
@@ -298,7 +292,7 @@ var UnauthorizedIllustration = function UnauthorizedIllustration(_ref) {
298
292
  }), /*#__PURE__*/_react.default.createElement("path", {
299
293
  d: "M51.41 38.51a1.9 1.9 0 00-.64-.65l-1.1-.63-28.49-16.45-.1-.05-.61.35a.33.33 0 01.17 0 .6.6 0 01.32.1l28.5 16.41 1.1.63a1.5 1.5 0 01.49.51s.05.09.08.14l.36-.21z",
300
294
  fill: "url(#prefix__h_".concat(svgId, ")")
301
- }));
295
+ })));
302
296
  };
303
297
  exports.UnauthorizedIllustration = UnauthorizedIllustration;
304
298
  UnauthorizedIllustration.propTypes = {
@@ -5,19 +5,17 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.default = void 0;
8
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
8
10
  var _carbonComponentsReact = require("carbon-components-react");
9
11
  var _react = _interopRequireDefault(require("react"));
10
12
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
13
  var _classnames = _interopRequireDefault(require("classnames"));
12
14
  var _TagSet = require("../TagSet");
13
15
  var _settings = require("../../settings");
14
- /**
15
- * Copyright IBM Corp. 2022, 2022
16
- *
17
- * This source code is licensed under the Apache-2.0 license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- */
20
-
16
+ var _excluded = ["key", "value"];
17
+ 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; }
18
+ 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; }
21
19
  var blockClass = "".concat(_settings.pkg.prefix, "--filter-summary");
22
20
  var FilterSummary = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
23
21
  var _ref$className = _ref.className,
@@ -29,15 +27,18 @@ var FilterSummary = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref)
29
27
  _ref$filters = _ref.filters,
30
28
  filters = _ref$filters === void 0 ? [] : _ref$filters,
31
29
  _ref$renderLabel = _ref.renderLabel,
32
- renderLabel = _ref$renderLabel === void 0 ? null : _ref$renderLabel;
30
+ renderLabel = _ref$renderLabel === void 0 ? null : _ref$renderLabel,
31
+ _ref$overflowType = _ref.overflowType,
32
+ overflowType = _ref$overflowType === void 0 ? 'default' : _ref$overflowType;
33
33
  var tagFilters = filters.map(function (_ref2) {
34
34
  var _renderLabel;
35
35
  var key = _ref2.key,
36
- value = _ref2.value;
37
- return {
36
+ value = _ref2.value,
37
+ rest = (0, _objectWithoutProperties2.default)(_ref2, _excluded);
38
+ return _objectSpread(_objectSpread({}, rest), {}, {
38
39
  type: 'gray',
39
40
  label: (_renderLabel = renderLabel === null || renderLabel === void 0 ? void 0 : renderLabel(key, value)) !== null && _renderLabel !== void 0 ? _renderLabel : "".concat(key, ": ").concat(value)
40
- };
41
+ });
41
42
  });
42
43
  return /*#__PURE__*/_react.default.createElement("div", {
43
44
  ref: ref,
@@ -47,7 +48,8 @@ var FilterSummary = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref)
47
48
  allTagsModalSearchPlaceholderText: "Search all tags",
48
49
  allTagsModalTitle: "All tags",
49
50
  showAllTagsLabel: "View all tags",
50
- tags: tagFilters
51
+ tags: tagFilters,
52
+ overflowType: overflowType
51
53
  }), /*#__PURE__*/_react.default.createElement(_carbonComponentsReact.Button, {
52
54
  kind: "ghost",
53
55
  size: "sm",
@@ -61,6 +63,7 @@ FilterSummary.propTypes = {
61
63
  clearFilters: _propTypes.default.func.isRequired,
62
64
  clearFiltersText: _propTypes.default.string,
63
65
  filters: _propTypes.default.arrayOf(_propTypes.default.object).isRequired,
66
+ overflowType: _propTypes.default.oneOf(['default', 'tag']),
64
67
  renderLabel: _propTypes.default.func
65
68
  };
66
69
  var _default = FilterSummary;
@@ -21,7 +21,7 @@ var _useResizeObserver = require("../../global/js/hooks/useResizeObserver");
21
21
  var _devtools = require("../../global/js/utils/devtools");
22
22
  var _propsHelper = require("../../global/js/utils/props-helper");
23
23
  var _settings = require("../../settings");
24
- var _excluded = ["align", "allTagsModalTarget", "className", "maxVisible", "multiline", "overflowAlign", "overflowClassName", "overflowDirection", "allTagsModalTitle", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "showAllTagsLabel", "tags"],
24
+ var _excluded = ["align", "allTagsModalTarget", "className", "maxVisible", "multiline", "overflowAlign", "overflowClassName", "overflowType", "overflowDirection", "allTagsModalTitle", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "showAllTagsLabel", "tags"],
25
25
  _excluded2 = ["label", "id"],
26
26
  _excluded3 = ["label"];
27
27
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -37,7 +37,8 @@ var defaults = {
37
37
  align: 'start',
38
38
  // allTagsModalTarget: document.body,
39
39
  overflowAlign: 'center',
40
- overflowDirection: 'bottom'
40
+ overflowDirection: 'bottom',
41
+ overflowType: 'default'
41
42
  };
42
43
  var TagSet = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
43
44
  var _ref$align = _ref.align,
@@ -49,6 +50,8 @@ var TagSet = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
49
50
  _ref$overflowAlign = _ref.overflowAlign,
50
51
  overflowAlign = _ref$overflowAlign === void 0 ? defaults.overflowAlign : _ref$overflowAlign,
51
52
  overflowClassName = _ref.overflowClassName,
53
+ _ref$overflowType = _ref.overflowType,
54
+ overflowType = _ref$overflowType === void 0 ? defaults.overflowType : _ref$overflowType,
52
55
  _ref$overflowDirectio = _ref.overflowDirection,
53
56
  overflowDirection = _ref$overflowDirectio === void 0 ? defaults.overflowDirection : _ref$overflowDirectio,
54
57
  allTagsModalTitle = _ref.allTagsModalTitle,
@@ -113,8 +116,7 @@ var TagSet = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
113
116
  }
114
117
  }, /*#__PURE__*/_react.default.createElement(_carbonComponentsReact.Tag, (0, _extends2.default)({}, other, {
115
118
  // ensure id is not duplicated
116
- "data-original-id": id,
117
- filter: false
119
+ "data-original-id": id
118
120
  }), label));
119
121
  }) : []);
120
122
  setSizingTags(newSizingTags);
@@ -125,7 +127,6 @@ var TagSet = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
125
127
  var label = _ref3.label,
126
128
  other = (0, _objectWithoutProperties2.default)(_ref3, _excluded3);
127
129
  return /*#__PURE__*/_react.default.createElement(_carbonComponentsReact.Tag, (0, _extends2.default)({}, other, {
128
- filter: false,
129
130
  key: "displayed-tag-".concat(index)
130
131
  }), label);
131
132
  }) : [];
@@ -146,13 +147,14 @@ var TagSet = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
146
147
  onShowAllClick: handleShowAllClick,
147
148
  overflowTags: newOverflowTags,
148
149
  overflowAlign: overflowAlign,
150
+ overflowType: overflowType,
149
151
  overflowDirection: overflowDirection,
150
152
  showAllTagsLabel: showAllTagsLabel,
151
153
  key: "displayed-tag-overflow",
152
154
  ref: overflowTag
153
155
  }));
154
156
  setDisplayedTags(newDisplayedTags);
155
- }, [displayCount, overflowAlign, overflowClassName, overflowDirection, showAllTagsLabel, tags]);
157
+ }, [displayCount, overflowAlign, overflowType, overflowClassName, overflowDirection, showAllTagsLabel, tags]);
156
158
  var checkFullyVisibleTags = (0, _react.useCallback)(function () {
157
159
  if (multiline) {
158
160
  return setDisplayCount(maxVisible);
@@ -307,6 +309,10 @@ TagSet.propTypes = {
307
309
  * overflowDirection from the standard tooltip
308
310
  */
309
311
  overflowDirection: _propTypes.default.oneOf(['top', 'right', 'bottom', 'left']),
312
+ /**
313
+ * Type of rendering displayed inside of the tag overflow component
314
+ */
315
+ overflowType: _propTypes.default.oneOf(['default', 'tag']),
310
316
  /**
311
317
  * label for the overflow show all tags link.
312
318
  *
@@ -318,12 +324,10 @@ TagSet.propTypes = {
318
324
  * with properties: **label**\* (required) to supply the tag content, and
319
325
  * other properties will be passed to the Carbon Tag component, such as
320
326
  * **type**, **disabled**, **ref**, **className** , and any other Tag props.
321
- * NOTE: **filter** is not supported. Any other fields in the object will be passed through to the HTML element
322
- * as HTML attributes.
323
327
  *
324
328
  * See https://react.carbondesignsystem.com/?path=/docs/components-tag--default
325
329
  */
326
- tags: _propTypes.default.arrayOf(_propTypes.default.shape(_objectSpread(_objectSpread({}, (0, _propsHelper.prepareProps)(_carbonComponentsReact.Tag.propTypes, 'filter')), {}, {
330
+ tags: _propTypes.default.arrayOf(_propTypes.default.shape(_objectSpread(_objectSpread({}, _carbonComponentsReact.Tag.propTypes), {}, {
327
331
  label: _propTypes.default.string.isRequired,
328
332
  // we duplicate this prop to improve the DocGen
329
333
  type: _propTypes.default.oneOf(tagTypes)
@@ -16,7 +16,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
16
16
  var _carbonComponentsReact = require("carbon-components-react");
17
17
  var _settings = require("../../settings");
18
18
  var _pconsole = require("../../global/js/utils/pconsole");
19
- var _excluded = ["allTagsModalSearchThreshold", "className", "onShowAllClick", "overflowAlign", "overflowDirection", "overflowTags", "showAllTagsLabel"];
19
+ var _excluded = ["allTagsModalSearchThreshold", "className", "onShowAllClick", "overflowAlign", "overflowDirection", "overflowTags", "overflowType", "showAllTagsLabel"];
20
20
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
21
21
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
22
22
  var componentName = 'TagSetOverflow';
@@ -38,6 +38,7 @@ var TagSetOverflow = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref)
38
38
  _ref$overflowDirectio = _ref.overflowDirection,
39
39
  overflowDirection = _ref$overflowDirectio === void 0 ? defaults.overflowDirection : _ref$overflowDirectio,
40
40
  overflowTags = _ref.overflowTags,
41
+ overflowType = _ref.overflowType,
41
42
  showAllTagsLabel = _ref.showAllTagsLabel,
42
43
  rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
43
44
  var _useState = (0, _react.useState)(false),
@@ -81,12 +82,18 @@ var TagSetOverflow = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref)
81
82
  }, overflowTags.filter(function (_, index) {
82
83
  return overflowTags.length > allTagsModalSearchThreshold ? index < allTagsModalSearchThreshold : index <= allTagsModalSearchThreshold;
83
84
  }).map(function (tag, index) {
85
+ var _cx2;
86
+ var tagProps = {};
87
+ if (overflowType === 'tag') {
88
+ tagProps.type = 'high-contrast';
89
+ }
90
+ if (overflowType === 'default') {
91
+ tagProps.filter = false;
92
+ }
84
93
  return /*#__PURE__*/_react.default.createElement("li", {
85
- className: "".concat(blockClass, "__tag-item"),
94
+ className: (0, _classnames.default)("".concat(blockClass, "__tag-item"), (_cx2 = {}, (0, _defineProperty2.default)(_cx2, "".concat(blockClass, "__tag-item--default"), overflowType === 'default'), (0, _defineProperty2.default)(_cx2, "".concat(blockClass, "__tag-item--tag"), overflowType === 'tag'), _cx2)),
86
95
  key: index
87
- }, /*#__PURE__*/_react.default.cloneElement(tag, {
88
- filter: false
89
- }));
96
+ }, /*#__PURE__*/_react.default.cloneElement(tag, tagProps));
90
97
  })), overflowTags.length > allTagsModalSearchThreshold && /*#__PURE__*/_react.default.createElement(_carbonComponentsReact.Link, {
91
98
  className: "".concat(blockClass, "__show-all-tags-link"),
92
99
  href: "",
@@ -121,6 +128,10 @@ TagSetOverflow.propTypes = {
121
128
  * tags shown in overflow
122
129
  */
123
130
  overflowTags: _propTypes.default.arrayOf(_propTypes.default.object).isRequired,
131
+ /**
132
+ * Type of rendering displayed inside of the tag overflow component
133
+ */
134
+ overflowType: _propTypes.default.oneOf(['default', 'tag']),
124
135
  /**
125
136
  * label for the overflow show all tags link
126
137
  */
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.useNearestScroll = useNearestScroll;
8
+ exports.useScroll = useScroll;
8
9
  exports.useWindowScroll = useWindowScroll;
9
10
  var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
10
11
  var _react = require("react");
@@ -76,4 +77,9 @@ function useNearestScroll(ref, effect, deps) {
76
77
  scrollableTarget = window;
77
78
  }
78
79
  return useTargetScroll(scrollableTarget, effect, deps, throttle);
80
+ }
81
+ function useScroll(ref, effect, deps) {
82
+ var _ref$current;
83
+ var throttle = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
84
+ return useTargetScroll((_ref$current = ref === null || ref === void 0 ? void 0 : ref.current) !== null && _ref$current !== void 0 ? _ref$current : null, effect, deps, throttle);
79
85
  }
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.getNodeTextContent = void 0;
8
+ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
9
+ /**
10
+ * Copyright IBM Corp. 2023, 2023
11
+ *
12
+ * This source code is licensed under the Apache-2.0 license found in the
13
+ * LICENSE file in the root directory of this source tree.
14
+ */
15
+
16
+ /**
17
+ * Returns a compiled string of all the text content of a React node and any of its child nodes.
18
+ * This is meant to be used in a limited fashion to convert a "styled" sentence into a single string:
19
+ * e.g. <p>Title <b>Page</b>.</p> --> "Title Page."
20
+ * This will likely not work for arrays of nodes due to the lack of word spacing:
21
+ * e.g. <ul>
22
+ * <li>Item 1</li>
23
+ * <li>Item 2</li>
24
+ * <li>Item 3</li>
25
+ * </ul>
26
+ * --> "Item 1Item 2Item 3"
27
+ * @param {Node} node A React node
28
+ * @returns {string}
29
+ */
30
+ var getNodeTextContent = function getNodeTextContent(node) {
31
+ if (node == null) {
32
+ return '';
33
+ }
34
+ switch ((0, _typeof2.default)(node)) {
35
+ case 'string':
36
+ case 'number':
37
+ return node.toString();
38
+ case 'object':
39
+ {
40
+ if (node instanceof Array) {
41
+ return node.map(getNodeTextContent).join('');
42
+ }
43
+ if ('props' in node) {
44
+ return getNodeTextContent(node.props.children);
45
+ }
46
+
47
+ // Ignore any other JavaScript 'object' types.
48
+ return '';
49
+ }
50
+ case 'function':
51
+ {
52
+ return getNodeTextContent(node());
53
+ }
54
+ default:
55
+ // Ignore all other JavaScript types.
56
+ return '';
57
+ }
58
+ };
59
+ exports.getNodeTextContent = getNodeTextContent;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibm-products",
3
3
  "description": "Carbon for IBM Products",
4
- "version": "1.59.1",
4
+ "version": "1.61.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -48,7 +48,7 @@
48
48
  "postinstall": "carbon-telemetry collect --install",
49
49
  "test": "jest --colors",
50
50
  "//upgrade-dependencies": "# don't upgrade carbon (done globally), react/react-dom (explicit range peer dependency), chalk (issue #1596)",
51
- "upgrade-dependencies": "npm-check-updates -u --dep dev,peer,prod --color --reject '/(carbon|^react$|^react-dom$|^chalk$|^react-dnd|^namor)/'"
51
+ "upgrade-dependencies": "npm-check-updates -u --dep dev,peer,prod --color --reject '/(carbon|^react$|^react-dom$|^chalk$|^namor)/'"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@babel/cli": "^7.20.7",
@@ -73,12 +73,13 @@
73
73
  "dependencies": {
74
74
  "@babel/runtime": "^7.20.13",
75
75
  "@carbon/telemetry": "^0.1.0",
76
+ "@dnd-kit/core": "^6.0.8",
77
+ "@dnd-kit/sortable": "^7.0.2",
78
+ "@dnd-kit/utilities": "^3.2.1",
76
79
  "framer-motion": "^6.5.1 <7",
77
80
  "immutability-helper": "^3.1.1",
78
81
  "lodash": "^4.17.21",
79
82
  "lottie-web": "^5.11.0",
80
- "react-dnd": "^15.1.2",
81
- "react-dnd-html5-backend": "^15.1.3",
82
83
  "react-table": "^7.8.0",
83
84
  "react-window": "^1.8.8"
84
85
  },
@@ -90,11 +91,11 @@
90
91
  "@carbon/motion": "^10.29.2",
91
92
  "@carbon/themes": "^10.55.3",
92
93
  "@carbon/type": "^10.45.3",
93
- "carbon-components": "^10.58.10",
94
- "carbon-components-react": "^7.59.14",
94
+ "carbon-components": "^10.58.12",
95
+ "carbon-components-react": "^7.59.16",
95
96
  "carbon-icons": "^7.0.7",
96
97
  "react": "^16.8.6 || ^17.0.1",
97
98
  "react-dom": "^16.8.6 || ^17.0.1"
98
99
  },
99
- "gitHead": "042f216cbff8ac90a8b56c85e273baa3fcfb3c74"
100
+ "gitHead": "3c7061f7f7907eeeddbbd25f723bb87e867a0073"
100
101
  }
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2022, 2022
2
+ // Copyright IBM Corp. 2022, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -19,6 +19,7 @@
19
19
 
20
20
  // Datagrid uses the following Carbon for IBM Products components:
21
21
  // TODO: @import(s) of IBM Products component styles used by Datagrid
22
+ @import '../FilterSummary/filter-summary';
22
23
 
23
24
  // Define all component styles in a mixin which is then exported using
24
25
  // the Carbon import-once mechanism.