carbon-react 114.18.0 → 114.18.1

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.
@@ -15,10 +15,8 @@ declare namespace iconUnicodes {
15
15
  export { graph };
16
16
  import basket = cart;
17
17
  export { basket };
18
- import bin = delete;
19
- export { bin };
20
- import bulk_destroy = delete;
21
- export { bulk_destroy };
18
+ export const bin: string;
19
+ export const bulk_destroy: string;
22
20
  import caret_down = dropdown;
23
21
  export { caret_down };
24
22
  import collaborate = share;
@@ -222,8 +222,16 @@ const legacyNames = {
222
222
  analysis: statusSymbols.chart_line,
223
223
  graph: statusSymbols.chart_line,
224
224
  basket: batchActions.cart,
225
- bin: batchActions.delete,
226
- bulk_destroy: batchActions.delete,
225
+ // `tsc` emits an invalid .d.ts file if we're using normal property access (.delete):
226
+ // it tries to use `delete` as an identifier, but `delete` is a reserved keyword.
227
+ // By using ["delete"] instead, tsc generates a different - valid - .d.ts file
228
+ // See also: https://github.com/microsoft/TypeScript/issues/53111
229
+
230
+ /* eslint-disable-next-line dot-notation */
231
+ bin: batchActions["delete"],
232
+
233
+ /* eslint-disable-next-line dot-notation */
234
+ bulk_destroy: batchActions["delete"],
227
235
  caret_down: actions.dropdown,
228
236
  collaborate: actions.share,
229
237
  contacts: business.people,
@@ -15,10 +15,8 @@ declare namespace iconUnicodes {
15
15
  export { graph };
16
16
  import basket = cart;
17
17
  export { basket };
18
- import bin = delete;
19
- export { bin };
20
- import bulk_destroy = delete;
21
- export { bulk_destroy };
18
+ export const bin: string;
19
+ export const bulk_destroy: string;
22
20
  import caret_down = dropdown;
23
21
  export { caret_down };
24
22
  import collaborate = share;
@@ -228,8 +228,16 @@ const legacyNames = {
228
228
  analysis: statusSymbols.chart_line,
229
229
  graph: statusSymbols.chart_line,
230
230
  basket: batchActions.cart,
231
- bin: batchActions.delete,
232
- bulk_destroy: batchActions.delete,
231
+ // `tsc` emits an invalid .d.ts file if we're using normal property access (.delete):
232
+ // it tries to use `delete` as an identifier, but `delete` is a reserved keyword.
233
+ // By using ["delete"] instead, tsc generates a different - valid - .d.ts file
234
+ // See also: https://github.com/microsoft/TypeScript/issues/53111
235
+
236
+ /* eslint-disable-next-line dot-notation */
237
+ bin: batchActions["delete"],
238
+
239
+ /* eslint-disable-next-line dot-notation */
240
+ bulk_destroy: batchActions["delete"],
233
241
  caret_down: actions.dropdown,
234
242
  collaborate: actions.share,
235
243
  contacts: business.people,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "114.18.0",
3
+ "version": "114.18.1",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "files": [
6
6
  "lib",