@carbon/ibm-products 2.68.0 → 2.69.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 (146) hide show
  1. package/css/carbon.css +382 -74
  2. package/css/carbon.css.map +1 -1
  3. package/css/index-full-carbon.css +524 -116
  4. package/css/index-full-carbon.css.map +1 -1
  5. package/css/index-full-carbon.min.css +1 -1
  6. package/css/index-full-carbon.min.css.map +1 -1
  7. package/css/index-without-carbon-released-only.css +126 -42
  8. package/css/index-without-carbon-released-only.css.map +1 -1
  9. package/css/index-without-carbon-released-only.min.css +1 -1
  10. package/css/index-without-carbon-released-only.min.css.map +1 -1
  11. package/css/index-without-carbon.css +142 -42
  12. package/css/index-without-carbon.css.map +1 -1
  13. package/css/index-without-carbon.min.css +1 -1
  14. package/css/index-without-carbon.min.css.map +1 -1
  15. package/css/index.css +185 -50
  16. package/css/index.css.map +1 -1
  17. package/css/index.min.css +1 -1
  18. package/css/index.min.css.map +1 -1
  19. package/es/_virtual/_commonjsHelpers.js +3 -1
  20. package/es/_virtual/index2.js +6 -2
  21. package/es/_virtual/index3.js +10 -0
  22. package/es/components/AddSelect/AddSelectColumn.js +41 -18
  23. package/es/components/AddSelect/AddSelectSort.js +15 -16
  24. package/es/components/AddSelect/types/index.d.ts +1 -1
  25. package/es/components/Card/Card.d.ts +2 -2
  26. package/es/components/Card/Card.js +7 -4
  27. package/es/components/Coachmark/Coachmark.d.ts +43 -0
  28. package/es/components/Coachmark/Coachmark.js +49 -33
  29. package/es/components/Coachmark/CoachmarkOverlay.js +6 -0
  30. package/es/components/Coachmark/index.d.ts +1 -0
  31. package/es/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +11 -0
  32. package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +19 -11
  33. package/es/components/CoachmarkButton/CoachmarkButton.js +7 -0
  34. package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +6 -0
  35. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +7 -0
  36. package/es/components/Datagrid/Datagrid/DatagridContent.js +7 -5
  37. package/es/components/Datagrid/Datagrid/DatagridRow.d.ts +1 -1
  38. package/es/components/Datagrid/Datagrid/DatagridRow.js +4 -3
  39. package/es/components/Datagrid/Datagrid/DatagridToolbar.d.ts +1 -1
  40. package/es/components/Datagrid/Datagrid/DatagridToolbar.js +8 -7
  41. package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.d.ts +2 -1
  42. package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +4 -3
  43. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +4 -3
  44. package/es/components/Datagrid/useNestedRowExpander.js +4 -2
  45. package/es/components/Datagrid/useOnRowClick.d.ts +1 -1
  46. package/es/components/Datagrid/useOnRowClick.js +6 -4
  47. package/es/components/Datagrid/useRowExpander.js +4 -2
  48. package/es/components/Datagrid/useSelectRows.d.ts +1 -1
  49. package/es/components/Datagrid/useSelectRows.js +4 -3
  50. package/es/components/Datagrid/useSortableColumns.d.ts +1 -1
  51. package/es/components/Datagrid/useSortableColumns.js +6 -5
  52. package/es/components/EditInPlace/EditInPlace.d.ts +1 -1
  53. package/es/components/EditInPlace/EditInPlace.js +4 -3
  54. package/es/components/EmptyStates/EmptyStateContent.d.ts +30 -1
  55. package/es/components/EmptyStates/EmptyStateContent.js +2 -2
  56. package/es/components/ExportModal/ExportModal.js +7 -5
  57. package/es/components/FeatureFlags/index.d.ts +31 -12
  58. package/es/components/FeatureFlags/index.js +46 -15
  59. package/es/components/InterstitialScreen/InterstitialScreenBody.js +3 -2
  60. package/es/components/InterstitialScreen/InterstitialScreenFooter.js +5 -2
  61. package/es/components/InterstitialScreen/InterstitialScreenHeader.js +3 -1
  62. package/es/components/ProductiveCard/ProductiveCard.d.ts +1 -1
  63. package/es/components/ScrollGradient/ScrollGradient.js +9 -7
  64. package/es/components/SidePanel/SidePanel.js +74 -0
  65. package/es/components/SidePanel/constants.d.ts +14 -8
  66. package/es/components/SidePanel/constants.js +1 -1
  67. package/es/components/SidePanel/resizer/Resizer.d.ts +21 -0
  68. package/es/components/SidePanel/resizer/Resizer.js +271 -0
  69. package/es/components/TruncatedList/TruncatedList.d.ts +1 -1
  70. package/es/components/TruncatedList/TruncatedList.js +4 -3
  71. package/es/feature-flags.js +5 -1
  72. package/es/index.js +1 -0
  73. package/es/node_modules/@carbon/{icons-react/node_modules/@carbon/icon-helpers → icon-helpers}/es/index.js +3 -3
  74. package/es/node_modules/@carbon/icons-react/es/Icon.js +1 -1
  75. package/es/node_modules/@carbon/icons-react/es/generated/bucket-10.js +816 -808
  76. package/es/node_modules/@carbon/icons-react/es/generated/bucket-3.js +615 -637
  77. package/es/node_modules/lodash.debounce/index.js +367 -0
  78. package/es/node_modules/prop-types/index.js +1 -1
  79. package/es/settings.js +1 -4
  80. package/lib/_virtual/_commonjsHelpers.js +3 -0
  81. package/lib/_virtual/index2.js +8 -2
  82. package/lib/_virtual/index3.js +12 -0
  83. package/lib/components/AddSelect/AddSelectColumn.js +40 -17
  84. package/lib/components/AddSelect/AddSelectSort.js +13 -14
  85. package/lib/components/AddSelect/types/index.d.ts +1 -1
  86. package/lib/components/Card/Card.d.ts +2 -2
  87. package/lib/components/Card/Card.js +7 -4
  88. package/lib/components/Coachmark/Coachmark.d.ts +43 -0
  89. package/lib/components/Coachmark/Coachmark.js +50 -32
  90. package/lib/components/Coachmark/CoachmarkOverlay.js +6 -0
  91. package/lib/components/Coachmark/index.d.ts +1 -0
  92. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +11 -0
  93. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +19 -11
  94. package/lib/components/CoachmarkButton/CoachmarkButton.js +7 -0
  95. package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +6 -0
  96. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +7 -0
  97. package/lib/components/Datagrid/Datagrid/DatagridContent.js +5 -3
  98. package/lib/components/Datagrid/Datagrid/DatagridRow.d.ts +1 -1
  99. package/lib/components/Datagrid/Datagrid/DatagridRow.js +2 -1
  100. package/lib/components/Datagrid/Datagrid/DatagridToolbar.d.ts +1 -1
  101. package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +6 -5
  102. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.d.ts +2 -1
  103. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +3 -2
  104. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +2 -1
  105. package/lib/components/Datagrid/useNestedRowExpander.js +3 -1
  106. package/lib/components/Datagrid/useOnRowClick.d.ts +1 -1
  107. package/lib/components/Datagrid/useOnRowClick.js +5 -3
  108. package/lib/components/Datagrid/useRowExpander.js +3 -1
  109. package/lib/components/Datagrid/useSelectRows.d.ts +1 -1
  110. package/lib/components/Datagrid/useSelectRows.js +2 -1
  111. package/lib/components/Datagrid/useSortableColumns.d.ts +1 -1
  112. package/lib/components/Datagrid/useSortableColumns.js +4 -3
  113. package/lib/components/EditInPlace/EditInPlace.d.ts +1 -1
  114. package/lib/components/EditInPlace/EditInPlace.js +2 -1
  115. package/lib/components/EmptyStates/EmptyStateContent.d.ts +30 -1
  116. package/lib/components/EmptyStates/EmptyStateContent.js +2 -2
  117. package/lib/components/ExportModal/ExportModal.js +5 -3
  118. package/lib/components/FeatureFlags/index.d.ts +31 -12
  119. package/lib/components/FeatureFlags/index.js +46 -15
  120. package/lib/components/InterstitialScreen/InterstitialScreenBody.js +3 -2
  121. package/lib/components/InterstitialScreen/InterstitialScreenFooter.js +5 -2
  122. package/lib/components/InterstitialScreen/InterstitialScreenHeader.js +3 -1
  123. package/lib/components/ProductiveCard/ProductiveCard.d.ts +1 -1
  124. package/lib/components/ScrollGradient/ScrollGradient.js +8 -6
  125. package/lib/components/SidePanel/SidePanel.js +74 -0
  126. package/lib/components/SidePanel/constants.d.ts +14 -8
  127. package/lib/components/SidePanel/constants.js +1 -1
  128. package/lib/components/SidePanel/resizer/Resizer.d.ts +21 -0
  129. package/lib/components/SidePanel/resizer/Resizer.js +277 -0
  130. package/lib/components/TruncatedList/TruncatedList.d.ts +1 -1
  131. package/lib/components/TruncatedList/TruncatedList.js +2 -1
  132. package/lib/feature-flags.js +5 -1
  133. package/lib/index.js +1 -0
  134. package/lib/node_modules/@carbon/{icons-react/node_modules/@carbon/icon-helpers → icon-helpers}/es/index.js +3 -3
  135. package/lib/node_modules/@carbon/icons-react/es/Icon.js +1 -1
  136. package/lib/node_modules/@carbon/icons-react/es/generated/bucket-10.js +839 -831
  137. package/lib/node_modules/@carbon/icons-react/es/generated/bucket-3.js +621 -643
  138. package/lib/node_modules/lodash.debounce/index.js +369 -0
  139. package/lib/node_modules/prop-types/index.js +1 -1
  140. package/lib/settings.js +0 -4
  141. package/package.json +15 -15
  142. package/scss/components/AddSelect/_add-select.scss +12 -13
  143. package/scss/components/SidePanel/_side-panel-variables.scss +1 -5
  144. package/scss/components/SidePanel/_side-panel.scss +129 -12
  145. package/scss/global/decorators/_side-panel-decorator.scss +36 -8
  146. package/telemetry.yml +17 -0
@@ -0,0 +1,369 @@
1
+ /**
2
+ * Copyright IBM Corp. 2020, 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ 'use strict';
9
+
10
+ var _commonjsHelpers = require('../../_virtual/_commonjsHelpers.js');
11
+
12
+ var lodash_debounce;
13
+ var hasRequiredLodash_debounce;
14
+ function requireLodash_debounce() {
15
+ if (hasRequiredLodash_debounce) return lodash_debounce;
16
+ hasRequiredLodash_debounce = 1;
17
+ /** Used as the `TypeError` message for "Functions" methods. */
18
+ var FUNC_ERROR_TEXT = 'Expected a function';
19
+
20
+ /** Used as references for various `Number` constants. */
21
+ var NAN = 0 / 0;
22
+
23
+ /** `Object#toString` result references. */
24
+ var symbolTag = '[object Symbol]';
25
+
26
+ /** Used to match leading and trailing whitespace. */
27
+ var reTrim = /^\s+|\s+$/g;
28
+
29
+ /** Used to detect bad signed hexadecimal string values. */
30
+ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
31
+
32
+ /** Used to detect binary string values. */
33
+ var reIsBinary = /^0b[01]+$/i;
34
+
35
+ /** Used to detect octal string values. */
36
+ var reIsOctal = /^0o[0-7]+$/i;
37
+
38
+ /** Built-in method references without a dependency on `root`. */
39
+ var freeParseInt = parseInt;
40
+
41
+ /** Detect free variable `global` from Node.js. */
42
+ var freeGlobal = typeof _commonjsHelpers.commonjsGlobal == 'object' && _commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.Object === Object && _commonjsHelpers.commonjsGlobal;
43
+
44
+ /** Detect free variable `self`. */
45
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
46
+
47
+ /** Used as a reference to the global object. */
48
+ var root = freeGlobal || freeSelf || Function('return this')();
49
+
50
+ /** Used for built-in method references. */
51
+ var objectProto = Object.prototype;
52
+
53
+ /**
54
+ * Used to resolve the
55
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
56
+ * of values.
57
+ */
58
+ var objectToString = objectProto.toString;
59
+
60
+ /* Built-in method references for those with the same name as other `lodash` methods. */
61
+ var nativeMax = Math.max,
62
+ nativeMin = Math.min;
63
+
64
+ /**
65
+ * Gets the timestamp of the number of milliseconds that have elapsed since
66
+ * the Unix epoch (1 January 1970 00:00:00 UTC).
67
+ *
68
+ * @static
69
+ * @memberOf _
70
+ * @since 2.4.0
71
+ * @category Date
72
+ * @returns {number} Returns the timestamp.
73
+ * @example
74
+ *
75
+ * _.defer(function(stamp) {
76
+ * console.log(_.now() - stamp);
77
+ * }, _.now());
78
+ * // => Logs the number of milliseconds it took for the deferred invocation.
79
+ */
80
+ var now = function () {
81
+ return root.Date.now();
82
+ };
83
+
84
+ /**
85
+ * Creates a debounced function that delays invoking `func` until after `wait`
86
+ * milliseconds have elapsed since the last time the debounced function was
87
+ * invoked. The debounced function comes with a `cancel` method to cancel
88
+ * delayed `func` invocations and a `flush` method to immediately invoke them.
89
+ * Provide `options` to indicate whether `func` should be invoked on the
90
+ * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
91
+ * with the last arguments provided to the debounced function. Subsequent
92
+ * calls to the debounced function return the result of the last `func`
93
+ * invocation.
94
+ *
95
+ * **Note:** If `leading` and `trailing` options are `true`, `func` is
96
+ * invoked on the trailing edge of the timeout only if the debounced function
97
+ * is invoked more than once during the `wait` timeout.
98
+ *
99
+ * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
100
+ * until to the next tick, similar to `setTimeout` with a timeout of `0`.
101
+ *
102
+ * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
103
+ * for details over the differences between `_.debounce` and `_.throttle`.
104
+ *
105
+ * @static
106
+ * @memberOf _
107
+ * @since 0.1.0
108
+ * @category Function
109
+ * @param {Function} func The function to debounce.
110
+ * @param {number} [wait=0] The number of milliseconds to delay.
111
+ * @param {Object} [options={}] The options object.
112
+ * @param {boolean} [options.leading=false]
113
+ * Specify invoking on the leading edge of the timeout.
114
+ * @param {number} [options.maxWait]
115
+ * The maximum time `func` is allowed to be delayed before it's invoked.
116
+ * @param {boolean} [options.trailing=true]
117
+ * Specify invoking on the trailing edge of the timeout.
118
+ * @returns {Function} Returns the new debounced function.
119
+ * @example
120
+ *
121
+ * // Avoid costly calculations while the window size is in flux.
122
+ * jQuery(window).on('resize', _.debounce(calculateLayout, 150));
123
+ *
124
+ * // Invoke `sendMail` when clicked, debouncing subsequent calls.
125
+ * jQuery(element).on('click', _.debounce(sendMail, 300, {
126
+ * 'leading': true,
127
+ * 'trailing': false
128
+ * }));
129
+ *
130
+ * // Ensure `batchLog` is invoked once after 1 second of debounced calls.
131
+ * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });
132
+ * var source = new EventSource('/stream');
133
+ * jQuery(source).on('message', debounced);
134
+ *
135
+ * // Cancel the trailing debounced invocation.
136
+ * jQuery(window).on('popstate', debounced.cancel);
137
+ */
138
+ function debounce(func, wait, options) {
139
+ var lastArgs,
140
+ lastThis,
141
+ maxWait,
142
+ result,
143
+ timerId,
144
+ lastCallTime,
145
+ lastInvokeTime = 0,
146
+ leading = false,
147
+ maxing = false,
148
+ trailing = true;
149
+ if (typeof func != 'function') {
150
+ throw new TypeError(FUNC_ERROR_TEXT);
151
+ }
152
+ wait = toNumber(wait) || 0;
153
+ if (isObject(options)) {
154
+ leading = !!options.leading;
155
+ maxing = 'maxWait' in options;
156
+ maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
157
+ trailing = 'trailing' in options ? !!options.trailing : trailing;
158
+ }
159
+ function invokeFunc(time) {
160
+ var args = lastArgs,
161
+ thisArg = lastThis;
162
+ lastArgs = lastThis = undefined;
163
+ lastInvokeTime = time;
164
+ result = func.apply(thisArg, args);
165
+ return result;
166
+ }
167
+ function leadingEdge(time) {
168
+ // Reset any `maxWait` timer.
169
+ lastInvokeTime = time;
170
+ // Start the timer for the trailing edge.
171
+ timerId = setTimeout(timerExpired, wait);
172
+ // Invoke the leading edge.
173
+ return leading ? invokeFunc(time) : result;
174
+ }
175
+ function remainingWait(time) {
176
+ var timeSinceLastCall = time - lastCallTime,
177
+ timeSinceLastInvoke = time - lastInvokeTime,
178
+ result = wait - timeSinceLastCall;
179
+ return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;
180
+ }
181
+ function shouldInvoke(time) {
182
+ var timeSinceLastCall = time - lastCallTime,
183
+ timeSinceLastInvoke = time - lastInvokeTime;
184
+
185
+ // Either this is the first call, activity has stopped and we're at the
186
+ // trailing edge, the system time has gone backwards and we're treating
187
+ // it as the trailing edge, or we've hit the `maxWait` limit.
188
+ return lastCallTime === undefined || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;
189
+ }
190
+ function timerExpired() {
191
+ var time = now();
192
+ if (shouldInvoke(time)) {
193
+ return trailingEdge(time);
194
+ }
195
+ // Restart the timer.
196
+ timerId = setTimeout(timerExpired, remainingWait(time));
197
+ }
198
+ function trailingEdge(time) {
199
+ timerId = undefined;
200
+
201
+ // Only invoke if we have `lastArgs` which means `func` has been
202
+ // debounced at least once.
203
+ if (trailing && lastArgs) {
204
+ return invokeFunc(time);
205
+ }
206
+ lastArgs = lastThis = undefined;
207
+ return result;
208
+ }
209
+ function cancel() {
210
+ if (timerId !== undefined) {
211
+ clearTimeout(timerId);
212
+ }
213
+ lastInvokeTime = 0;
214
+ lastArgs = lastCallTime = lastThis = timerId = undefined;
215
+ }
216
+ function flush() {
217
+ return timerId === undefined ? result : trailingEdge(now());
218
+ }
219
+ function debounced() {
220
+ var time = now(),
221
+ isInvoking = shouldInvoke(time);
222
+ lastArgs = arguments;
223
+ lastThis = this;
224
+ lastCallTime = time;
225
+ if (isInvoking) {
226
+ if (timerId === undefined) {
227
+ return leadingEdge(lastCallTime);
228
+ }
229
+ if (maxing) {
230
+ // Handle invocations in a tight loop.
231
+ timerId = setTimeout(timerExpired, wait);
232
+ return invokeFunc(lastCallTime);
233
+ }
234
+ }
235
+ if (timerId === undefined) {
236
+ timerId = setTimeout(timerExpired, wait);
237
+ }
238
+ return result;
239
+ }
240
+ debounced.cancel = cancel;
241
+ debounced.flush = flush;
242
+ return debounced;
243
+ }
244
+
245
+ /**
246
+ * Checks if `value` is the
247
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
248
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
249
+ *
250
+ * @static
251
+ * @memberOf _
252
+ * @since 0.1.0
253
+ * @category Lang
254
+ * @param {*} value The value to check.
255
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
256
+ * @example
257
+ *
258
+ * _.isObject({});
259
+ * // => true
260
+ *
261
+ * _.isObject([1, 2, 3]);
262
+ * // => true
263
+ *
264
+ * _.isObject(_.noop);
265
+ * // => true
266
+ *
267
+ * _.isObject(null);
268
+ * // => false
269
+ */
270
+ function isObject(value) {
271
+ var type = typeof value;
272
+ return !!value && (type == 'object' || type == 'function');
273
+ }
274
+
275
+ /**
276
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
277
+ * and has a `typeof` result of "object".
278
+ *
279
+ * @static
280
+ * @memberOf _
281
+ * @since 4.0.0
282
+ * @category Lang
283
+ * @param {*} value The value to check.
284
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
285
+ * @example
286
+ *
287
+ * _.isObjectLike({});
288
+ * // => true
289
+ *
290
+ * _.isObjectLike([1, 2, 3]);
291
+ * // => true
292
+ *
293
+ * _.isObjectLike(_.noop);
294
+ * // => false
295
+ *
296
+ * _.isObjectLike(null);
297
+ * // => false
298
+ */
299
+ function isObjectLike(value) {
300
+ return !!value && typeof value == 'object';
301
+ }
302
+
303
+ /**
304
+ * Checks if `value` is classified as a `Symbol` primitive or object.
305
+ *
306
+ * @static
307
+ * @memberOf _
308
+ * @since 4.0.0
309
+ * @category Lang
310
+ * @param {*} value The value to check.
311
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
312
+ * @example
313
+ *
314
+ * _.isSymbol(Symbol.iterator);
315
+ * // => true
316
+ *
317
+ * _.isSymbol('abc');
318
+ * // => false
319
+ */
320
+ function isSymbol(value) {
321
+ return typeof value == 'symbol' || isObjectLike(value) && objectToString.call(value) == symbolTag;
322
+ }
323
+
324
+ /**
325
+ * Converts `value` to a number.
326
+ *
327
+ * @static
328
+ * @memberOf _
329
+ * @since 4.0.0
330
+ * @category Lang
331
+ * @param {*} value The value to process.
332
+ * @returns {number} Returns the number.
333
+ * @example
334
+ *
335
+ * _.toNumber(3.2);
336
+ * // => 3.2
337
+ *
338
+ * _.toNumber(Number.MIN_VALUE);
339
+ * // => 5e-324
340
+ *
341
+ * _.toNumber(Infinity);
342
+ * // => Infinity
343
+ *
344
+ * _.toNumber('3.2');
345
+ * // => 3.2
346
+ */
347
+ function toNumber(value) {
348
+ if (typeof value == 'number') {
349
+ return value;
350
+ }
351
+ if (isSymbol(value)) {
352
+ return NAN;
353
+ }
354
+ if (isObject(value)) {
355
+ var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
356
+ value = isObject(other) ? other + '' : other;
357
+ }
358
+ if (typeof value != 'string') {
359
+ return value === 0 ? value : +value;
360
+ }
361
+ value = value.replace(reTrim, '');
362
+ var isBinary = reIsBinary.test(value);
363
+ return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
364
+ }
365
+ lodash_debounce = debounce;
366
+ return lodash_debounce;
367
+ }
368
+
369
+ exports.__require = requireLodash_debounce;
@@ -7,7 +7,7 @@
7
7
 
8
8
  'use strict';
9
9
 
10
- var index = require('../../_virtual/index2.js');
10
+ var index = require('../../_virtual/index3.js');
11
11
  var require$$0 = require('react-is');
12
12
  var factoryWithTypeCheckers = require('./factoryWithTypeCheckers.js');
13
13
  var factoryWithThrowingShims = require('./factoryWithThrowingShims.js');
package/lib/settings.js CHANGED
@@ -13,9 +13,6 @@ require('@carbon/themes');
13
13
  var pconsole = require('./global/js/utils/pconsole.js');
14
14
  var Canary = require('./components/_Canary/Canary.js');
15
15
 
16
- const carbon = {
17
- prefix: 'cds'
18
- };
19
16
  const componentDeprecatedWarning = (name, details) => `Carbon for IBM Products (WARNING): Component "${name}" is deprecated. ${details}`;
20
17
  packageSettings.default.logDeprecated = (component, name) => {
21
18
  if (component?.deprecated) {
@@ -87,5 +84,4 @@ packageSettings.default.checkComponentEnabled = (component, name) => {
87
84
  };
88
85
  const pkg = packageSettings.default;
89
86
 
90
- exports.carbon = carbon;
91
87
  exports.pkg = pkg;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibm-products",
3
3
  "description": "Carbon for IBM Products",
4
- "version": "2.68.0",
4
+ "version": "2.69.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -50,7 +50,7 @@
50
50
  "build:js-new": "node scripts/build",
51
51
  "ci-check": "node scripts/import",
52
52
  "clean": "rimraf es lib css scss",
53
- "generate": "cross-env FORCE_COLOR=1 node scripts/generate",
53
+ "generate": "cross-env FORCE_COLOR=1 node scripts/generate/index.mjs",
54
54
  "postinstall": "ibmtelemetry --config=telemetry.yml",
55
55
  "start": "run-s build:carbon storybook:start",
56
56
  "storybook:build": "run-s build:carbon build:storybook",
@@ -95,7 +95,7 @@
95
95
  "@storybook/theming": "^8.6.12",
96
96
  "@types/react-table": "^7.7.20",
97
97
  "babel-plugin-dev-expression": "^0.2.3",
98
- "babel-preset-ibm-cloud-cognitive": "^0.26.0",
98
+ "babel-preset-ibm-cloud-cognitive": "^0.27.0",
99
99
  "chalk": "^4.1.2",
100
100
  "change-case": "5.4.4",
101
101
  "classnames": "^2.5.1",
@@ -104,7 +104,7 @@
104
104
  "fs-extra": "^11.3.0",
105
105
  "glob": "^11.0.1",
106
106
  "jest": "^29.7.0",
107
- "jest-config-ibm-cloud-cognitive": "^1.27.0",
107
+ "jest-config-ibm-cloud-cognitive": "^1.28.0",
108
108
  "jest-environment-jsdom": "^29.7.0",
109
109
  "namor": "^1.1.2",
110
110
  "npm-check-updates": "^18.0.0",
@@ -115,15 +115,15 @@
115
115
  "sass": "^1.85.1",
116
116
  "storybook": "^8.6.12",
117
117
  "typescript-config-carbon": "^0.5.0",
118
- "yargs": "^17.7.2"
118
+ "yargs": "^18.0.0"
119
119
  },
120
120
  "dependencies": {
121
121
  "@babel/runtime": "^7.26.10",
122
122
  "@carbon/feature-flags": "^0.26.0",
123
- "@carbon/ibm-products-styles": "^2.64.0",
123
+ "@carbon/ibm-products-styles": "^2.65.0",
124
124
  "@carbon/telemetry": "^0.1.0",
125
- "@carbon/utilities": "^0.5.0",
126
- "@carbon/utilities-react": "0.7.0",
125
+ "@carbon/utilities": "^0.6.0",
126
+ "@carbon/utilities-react": "0.8.0",
127
127
  "@dnd-kit/core": "^6.3.1",
128
128
  "@dnd-kit/modifiers": "^9.0.0",
129
129
  "@dnd-kit/sortable": "^10.0.0",
@@ -133,14 +133,14 @@
133
133
  "react-window": "^1.8.11"
134
134
  },
135
135
  "peerDependencies": {
136
- "@carbon/grid": "^11.34.0",
137
- "@carbon/layout": "^11.32.0",
138
- "@carbon/motion": "^11.26.0",
139
- "@carbon/react": "^1.81.0",
140
- "@carbon/themes": "^11.50.0",
141
- "@carbon/type": "^11.38.0",
136
+ "@carbon/grid": "^11.36.0",
137
+ "@carbon/layout": "^11.34.0",
138
+ "@carbon/motion": "^11.28.0",
139
+ "@carbon/react": "^1.83.0",
140
+ "@carbon/themes": "^11.53.0",
141
+ "@carbon/type": "^11.40.0",
142
142
  "react": "^16.8.6 || ^17.0.1 || ^18.2.0 || ^19.0.0",
143
143
  "react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0 || ^19.0.0"
144
144
  },
145
- "gitHead": "b17f047c13c438ecf4a53c66381ed9fdcbf0c7e7"
145
+ "gitHead": "4aec9b9d0c951b243025b3266cc9084e3a37578d"
146
146
  }
@@ -199,11 +199,6 @@ $tearsheet-class: #{$pkg-prefix}--tearsheet;
199
199
  display: flex;
200
200
  flex-direction: row;
201
201
  flex-grow: 1;
202
- overflow-x: auto;
203
-
204
- @supports (overflow-inline: auto) {
205
- overflow-inline: auto;
206
- }
207
202
 
208
203
  .#{$block-class}__selections-form-control-label-wrapper {
209
204
  margin-inline-start: $spacing-03;
@@ -242,7 +237,6 @@ $tearsheet-class: #{$pkg-prefix}--tearsheet;
242
237
  }
243
238
 
244
239
  .#{$block-class}__column {
245
- overflow: auto;
246
240
  flex: 0 0 20rem;
247
241
  padding: $spacing-05;
248
242
  border-block-start: 1px solid $border-subtle-01;
@@ -251,11 +245,21 @@ $tearsheet-class: #{$pkg-prefix}--tearsheet;
251
245
  &-search-bar {
252
246
  display: flex;
253
247
 
254
- label {
255
- display: none;
248
+ .#{$carbon-prefix}--btn {
249
+ border-block-end: 1px solid $border-strong-01;
256
250
  }
257
251
  }
258
252
 
253
+ .#{$carbon-prefix}--popover--tab-tip.#{$carbon-prefix}--popover--open
254
+ .#{$carbon-prefix}--btn {
255
+ background: $layer;
256
+ }
257
+
258
+ &-filter-popover.#{$carbon-prefix}--popover-content {
259
+ padding: $spacing-05;
260
+ min-inline-size: $spacing-13;
261
+ }
262
+
259
263
  &-sort-filter {
260
264
  display: flex;
261
265
  }
@@ -462,8 +466,3 @@ button.#{$block-class}__global-filter-toggle {
462
466
  margin-block-start: $spacing-03;
463
467
  padding-block: 0;
464
468
  }
465
-
466
- .#{$block-class} + div .#{$carbon-prefix}--tooltip,
467
- .#{$block-class} + div .#{$carbon-prefix}--overflow-menu-options {
468
- z-index: 9000;
469
- }
@@ -5,15 +5,11 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
- /* One or two values
9
- * - width (first value)
10
- * - min-width (optional second value)
11
- */
12
8
  $side-panel-sizes: (
13
9
  xs: 16rem,
14
10
  sm: 20rem,
15
11
  md: 30rem,
16
12
  lg: 40rem,
17
13
  xl: 65rem,
18
- 2xl: 40rem 75%,
14
+ 2xl: 80rem,
19
15
  );