carbon-addons-iot-react 2.147.0 → 2.147.3

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.
@@ -119,7 +119,13 @@ var HeaderActionPanel = function HeaderActionPanel(_ref) {
119
119
  }, metaData, {
120
120
  onClick: onClick,
121
121
  onKeyDown: handleSpecificKeyDown(['Enter', ' '], onKeyDown)
122
- }), childItem.content));
122
+ }), // if we're working with an actual react component (not an html element) pass
123
+ // the isExpanded prop, so we can control tab-navigation on the closed AppSwitcher
124
+
125
+ /*#__PURE__*/
126
+ React__default.isValidElement(childItem.content) && typeof childItem.content.type !== 'string' ? /*#__PURE__*/React__default.cloneElement(childItem.content, {
127
+ isExpanded: isExpanded
128
+ }) : childItem.content));
123
129
  }))));
124
130
  };
125
131
 
@@ -160,7 +160,7 @@ var HeaderActionGroup = function HeaderActionGroup(_ref) {
160
160
  * know whether the OverflowMenu is open and adjust the icons accordingly. This double-click
161
161
  * only occurs when changing the icon. If the same icon is always used it works as expected.
162
162
  * My guess is this is because of the outsideClickClosing that the overflow menu does. WHen the
163
- * icon is change it is "outside" of the element for a momemnt and causes a close--that or a re-render that
163
+ * icon is change it is "outside" of the element for a moment and causes a close--that or a re-render that
164
164
  * is triggered when the icon changes.
165
165
  */
166
166
  var button = target.closest('button');
@@ -203,6 +203,11 @@ var SideNav = function SideNav(_ref) {
203
203
 
204
204
  SideNav.propTypes = SideNavPropTypes;
205
205
  SideNav.defaultProps = defaultProps;
206
+ SideNav$1.displayName = 'SideNav';
207
+ SideNavItems.displayName = 'SideNavItems';
208
+ SideNavLink.displayName = 'SideNavLink';
209
+ SideNavMenu.displayName = 'SideNavMenu';
210
+ SideNavMenuItem.displayName = 'SideNavMenuItem';
206
211
  SideNav.__docgenInfo = {
207
212
  "description": "Side Navigation. part of UI shell",
208
213
  "methods": [],
@@ -357,8 +357,11 @@ var SuiteHeader = function SuiteHeader(_ref) {
357
357
  handleSideNavButtonClick(evt);
358
358
  },
359
359
  headerPanel: {
360
- content: /*#__PURE__*/React__default.forwardRef(function () {
360
+ // eslint-disable-next-line react/prop-types
361
+ content: /*#__PURE__*/React__default.forwardRef(function (_ref5, ref) {
362
+ var isExpanded = _ref5.isExpanded;
361
363
  return /*#__PURE__*/React__default.createElement(SuiteHeaderAppSwitcher, {
364
+ ref: ref,
362
365
  applications: applications,
363
366
  customApplications: customApplications,
364
367
  allApplicationsLink: routes === null || routes === void 0 ? void 0 : routes.navigator,
@@ -370,7 +373,8 @@ var SuiteHeader = function SuiteHeader(_ref) {
370
373
  requestAccess: mergedI18N.switcherRequestAccess,
371
374
  learnMoreLink: mergedI18N.switcherLearnMoreLink
372
375
  },
373
- testId: "".concat(testId, "-app-switcher")
376
+ testId: "".concat(testId, "-app-switcher"),
377
+ isExpanded: isExpanded
374
378
  });
375
379
  })
376
380
  },
@@ -57,7 +57,8 @@ var defaultProps = {
57
57
  requestAccess: 'Contact your administrator to request application access.',
58
58
  learnMoreLink: 'Learn more'
59
59
  },
60
- testId: 'suite-header-app-switcher'
60
+ testId: 'suite-header-app-switcher',
61
+ isExpanded: false
61
62
  };
62
63
  var propTypes = {
63
64
  applications: PropTypes.arrayOf(PropTypes.shape(SuiteHeaderApplicationPropTypes)),
@@ -70,7 +71,8 @@ var propTypes = {
70
71
  requestAccess: PropTypes.string,
71
72
  learnMoreLink: PropTypes.string
72
73
  }),
73
- testId: PropTypes.string
74
+ testId: PropTypes.string,
75
+ isExpanded: PropTypes.bool
74
76
  };
75
77
 
76
78
  var SuiteHeaderAppSwitcher = function SuiteHeaderAppSwitcher(_ref) {
@@ -80,7 +82,8 @@ var SuiteHeaderAppSwitcher = function SuiteHeaderAppSwitcher(_ref) {
80
82
  noAccessLink = _ref.noAccessLink,
81
83
  i18n = _ref.i18n,
82
84
  onRouteChange = _ref.onRouteChange,
83
- testId = _ref.testId;
85
+ testId = _ref.testId,
86
+ isExpanded = _ref.isExpanded;
84
87
 
85
88
  var mergedI18n = _objectSpread(_objectSpread({}, defaultProps.i18n), i18n);
86
89
 
@@ -161,6 +164,7 @@ var SuiteHeaderAppSwitcher = function SuiteHeaderAppSwitcher(_ref) {
161
164
  return _ref4.apply(this, arguments);
162
165
  };
163
166
  }(), [allApplicationsLink, onRouteChange]);
167
+ var tabIndex = isExpanded ? 0 : -1;
164
168
  return /*#__PURE__*/React__default.createElement("ul", {
165
169
  "data-testid": testId,
166
170
  className: baseClassName
@@ -173,7 +177,8 @@ var SuiteHeaderAppSwitcher = function SuiteHeaderAppSwitcher(_ref) {
173
177
  testId: "".concat(testId, "--all-applications"),
174
178
  onClick: handleAllApplicationRoute,
175
179
  onKeyDown: handleSpecificKeyDown(['Enter', 'Space'], handleAllApplicationRoute),
176
- renderIcon: ArrowRight16
180
+ renderIcon: ArrowRight16,
181
+ tabIndex: tabIndex
177
182
  }, mergedI18n.allApplicationsLink)), /*#__PURE__*/React__default.createElement("div", {
178
183
  className: "".concat(baseClassName, "--nav-link--separator")
179
184
  }), mergedApplications === null ? /*#__PURE__*/React__default.createElement("li", null, /*#__PURE__*/React__default.createElement("div", {
@@ -201,7 +206,8 @@ var SuiteHeaderAppSwitcher = function SuiteHeaderAppSwitcher(_ref) {
201
206
  kind: "ghost",
202
207
  testId: "".concat(testId, "--").concat(id),
203
208
  onClick: eventHandler,
204
- onKeyDown: handleSpecificKeyDown(['Enter', 'Space'], eventHandler)
209
+ onKeyDown: handleSpecificKeyDown(['Enter', 'Space'], eventHandler),
210
+ tabIndex: tabIndex
205
211
  }, name));
206
212
  }), (mergedApplications === null || mergedApplications === void 0 ? void 0 : mergedApplications.length) === 0 ? /*#__PURE__*/React__default.createElement("div", {
207
213
  className: "".concat(baseClassName, "--no-app")
@@ -234,7 +240,8 @@ var SuiteHeaderAppSwitcher = function SuiteHeaderAppSwitcher(_ref) {
234
240
  }
235
241
  }
236
242
  }, _callee4);
237
- }))
243
+ })),
244
+ tabIndex: tabIndex
238
245
  }, mergedI18n.learnMoreLink)) : null);
239
246
  };
240
247
 
@@ -335,6 +342,17 @@ SuiteHeaderAppSwitcher.__docgenInfo = {
335
342
  "required": false,
336
343
  "description": ""
337
344
  },
345
+ "isExpanded": {
346
+ "defaultValue": {
347
+ "value": "false",
348
+ "computed": false
349
+ },
350
+ "type": {
351
+ "name": "bool"
352
+ },
353
+ "required": false,
354
+ "description": ""
355
+ },
338
356
  "noAccessLink": {
339
357
  "type": {
340
358
  "name": "string"
@@ -251,24 +251,16 @@ var TableToolbar = function TableToolbar(_ref) {
251
251
  setIsOpen = _useDynamicOverflowMe2[1],
252
252
  renderToolbarOverflowActions = _useDynamicOverflowMe2[2];
253
253
 
254
- var hasToolbarOverflowActions = typeof toolbarActions === 'function' || (toolbarActions === null || toolbarActions === void 0 ? void 0 : toolbarActions.length) > 0 && toolbarActions.some(function (action) {
255
- return action.isOverflow;
256
- });
257
- var visibleToolbarActions = useMemo(function () {
258
- var _toolbarActions$filte;
259
-
260
- if (typeof toolbarActions === 'function') {
261
- return toolbarActions().filter(function (_ref2) {
262
- var isOverflow = _ref2.isOverflow;
263
- return !isOverflow;
264
- });
265
- }
266
-
267
- return (_toolbarActions$filte = toolbarActions === null || toolbarActions === void 0 ? void 0 : toolbarActions.filter(function (_ref3) {
268
- var isOverflow = _ref3.isOverflow;
269
- return !isOverflow;
270
- })) !== null && _toolbarActions$filte !== void 0 ? _toolbarActions$filte : [];
254
+ var actions = useMemo(function () {
255
+ var renderedActions = typeof toolbarActions === 'function' ? toolbarActions() : toolbarActions;
256
+ return renderedActions !== null && renderedActions !== void 0 && renderedActions.length ? renderedActions : [];
271
257
  }, [toolbarActions]);
258
+ var hasToolbarOverflowActions = actions.filter(function (action) {
259
+ return action.isOverflow && action.hidden !== true;
260
+ }).length > 0;
261
+ var visibleToolbarActions = actions.filter(function (action) {
262
+ return !action.isOverflow && action.hidden !== true;
263
+ });
272
264
  return /*#__PURE__*/React__default.createElement(CarbonTableToolbar // TODO: remove deprecated 'testID' in v3
273
265
  , {
274
266
  "data-testid": testID || testId,
@@ -288,10 +280,10 @@ var TableToolbar = function TableToolbar(_ref) {
288
280
 
289
281
  return tableTranslateWithId.apply(void 0, [i18n].concat(args));
290
282
  }
291
- }, batchActions.map(function (_ref4) {
292
- var id = _ref4.id,
293
- labelText = _ref4.labelText,
294
- others = _objectWithoutProperties(_ref4, ["id", "labelText"]);
283
+ }, batchActions.map(function (_ref2) {
284
+ var id = _ref2.id,
285
+ labelText = _ref2.labelText,
286
+ others = _objectWithoutProperties(_ref2, ["id", "labelText"]);
295
287
 
296
288
  return /*#__PURE__*/React__default.createElement(TableBatchAction, _extends({
297
289
  key: id,
@@ -1,8 +1,10 @@
1
1
  import 'core-js/modules/web.dom-collections.for-each.js';
2
2
  import 'core-js/modules/es.array.find.js';
3
3
  import React__default from 'react';
4
+ import { settings } from '../../constants/Settings.js';
4
5
  import icons from '../../utils/bundledIcons.js';
5
6
 
7
+ var prefix = settings.prefix;
6
8
  /**
7
9
  * Use this function to traverse the tree structure of a set of table rows using Depth-first search (DFS)
8
10
  * and apply some function on each row. The function is applied once the recursion starts back-tracking.
@@ -92,7 +94,9 @@ var renderTableOverflowItemText = function renderTableOverflowItemText(_ref) {
92
94
  title: action.labelText
93
95
  }, typeof action.renderIcon === 'string' ? renderBundledIconUsingName(action.renderIcon, action.labelText) : /*#__PURE__*/React__default.createElement(action.renderIcon, {
94
96
  description: action.labelText
95
- }), action.labelText) : action.labelText;
97
+ }), /*#__PURE__*/React__default.createElement("div", {
98
+ className: "".concat(prefix, "--overflow-menu-options__option-content")
99
+ }, action.labelText)) : action.labelText;
96
100
  };
97
101
  renderBundledIconUsingName.__docgenInfo = {
98
102
  "description": "",
@@ -62,7 +62,8 @@ var useDynamicOverflowMenuItems = function useDynamicOverflowMenuItems(_ref) {
62
62
  requireTitle: !action.renderIcon,
63
63
  disabled: isDisabled || action.disabled,
64
64
  hasDivider: action.hasDivider,
65
- isDelete: action.isDelete
65
+ isDelete: action.isDelete,
66
+ "aria-label": action.labelText
66
67
  });
67
68
  });
68
69
  }, [actions, className, isDisabled, _onClick, testId]);
@@ -130,7 +130,13 @@ var HeaderActionPanel = function HeaderActionPanel(_ref) {
130
130
  }, metaData, {
131
131
  onClick: onClick,
132
132
  onKeyDown: componentUtilityFunctions.handleSpecificKeyDown(['Enter', ' '], onKeyDown)
133
- }), childItem.content));
133
+ }), // if we're working with an actual react component (not an html element) pass
134
+ // the isExpanded prop, so we can control tab-navigation on the closed AppSwitcher
135
+
136
+ /*#__PURE__*/
137
+ React__default['default'].isValidElement(childItem.content) && typeof childItem.content.type !== 'string' ? /*#__PURE__*/React__default['default'].cloneElement(childItem.content, {
138
+ isExpanded: isExpanded
139
+ }) : childItem.content));
134
140
  }))));
135
141
  };
136
142
 
@@ -171,7 +171,7 @@ var HeaderActionGroup = function HeaderActionGroup(_ref) {
171
171
  * know whether the OverflowMenu is open and adjust the icons accordingly. This double-click
172
172
  * only occurs when changing the icon. If the same icon is always used it works as expected.
173
173
  * My guess is this is because of the outsideClickClosing that the overflow menu does. WHen the
174
- * icon is change it is "outside" of the element for a momemnt and causes a close--that or a re-render that
174
+ * icon is change it is "outside" of the element for a moment and causes a close--that or a re-render that
175
175
  * is triggered when the icon changes.
176
176
  */
177
177
  var button = target.closest('button');
@@ -216,6 +216,11 @@ var SideNav = function SideNav(_ref) {
216
216
 
217
217
  SideNav.propTypes = SideNavPropTypes;
218
218
  SideNav.defaultProps = defaultProps;
219
+ SideNav$1.displayName = 'SideNav';
220
+ SideNavItems.displayName = 'SideNavItems';
221
+ SideNavLink.displayName = 'SideNavLink';
222
+ index.SideNavMenu.displayName = 'SideNavMenu';
223
+ SideNavMenuItem.displayName = 'SideNavMenuItem';
219
224
  SideNav.__docgenInfo = {
220
225
  "description": "Side Navigation. part of UI shell",
221
226
  "methods": [],
@@ -372,8 +372,11 @@ var SuiteHeader = function SuiteHeader(_ref) {
372
372
  handleSideNavButtonClick(evt);
373
373
  },
374
374
  headerPanel: {
375
- content: /*#__PURE__*/React__default['default'].forwardRef(function () {
375
+ // eslint-disable-next-line react/prop-types
376
+ content: /*#__PURE__*/React__default['default'].forwardRef(function (_ref5, ref) {
377
+ var isExpanded = _ref5.isExpanded;
376
378
  return /*#__PURE__*/React__default['default'].createElement(SuiteHeaderAppSwitcher, {
379
+ ref: ref,
377
380
  applications: applications,
378
381
  customApplications: customApplications,
379
382
  allApplicationsLink: routes === null || routes === void 0 ? void 0 : routes.navigator,
@@ -385,7 +388,8 @@ var SuiteHeader = function SuiteHeader(_ref) {
385
388
  requestAccess: mergedI18N.switcherRequestAccess,
386
389
  learnMoreLink: mergedI18N.switcherLearnMoreLink
387
390
  },
388
- testId: "".concat(testId, "-app-switcher")
391
+ testId: "".concat(testId, "-app-switcher"),
392
+ isExpanded: isExpanded
389
393
  });
390
394
  })
391
395
  },
@@ -68,7 +68,8 @@ var defaultProps = {
68
68
  requestAccess: 'Contact your administrator to request application access.',
69
69
  learnMoreLink: 'Learn more'
70
70
  },
71
- testId: 'suite-header-app-switcher'
71
+ testId: 'suite-header-app-switcher',
72
+ isExpanded: false
72
73
  };
73
74
  var propTypes = {
74
75
  applications: PropTypes__default['default'].arrayOf(PropTypes__default['default'].shape(SuiteHeaderPropTypes.SuiteHeaderApplicationPropTypes)),
@@ -81,7 +82,8 @@ var propTypes = {
81
82
  requestAccess: PropTypes__default['default'].string,
82
83
  learnMoreLink: PropTypes__default['default'].string
83
84
  }),
84
- testId: PropTypes__default['default'].string
85
+ testId: PropTypes__default['default'].string,
86
+ isExpanded: PropTypes__default['default'].bool
85
87
  };
86
88
 
87
89
  var SuiteHeaderAppSwitcher = function SuiteHeaderAppSwitcher(_ref) {
@@ -91,7 +93,8 @@ var SuiteHeaderAppSwitcher = function SuiteHeaderAppSwitcher(_ref) {
91
93
  noAccessLink = _ref.noAccessLink,
92
94
  i18n = _ref.i18n,
93
95
  onRouteChange = _ref.onRouteChange,
94
- testId = _ref.testId;
96
+ testId = _ref.testId,
97
+ isExpanded = _ref.isExpanded;
95
98
 
96
99
  var mergedI18n = _objectSpread(_objectSpread({}, defaultProps.i18n), i18n);
97
100
 
@@ -172,6 +175,7 @@ var SuiteHeaderAppSwitcher = function SuiteHeaderAppSwitcher(_ref) {
172
175
  return _ref4.apply(this, arguments);
173
176
  };
174
177
  }(), [allApplicationsLink, onRouteChange]);
178
+ var tabIndex = isExpanded ? 0 : -1;
175
179
  return /*#__PURE__*/React__default['default'].createElement("ul", {
176
180
  "data-testid": testId,
177
181
  className: baseClassName
@@ -184,7 +188,8 @@ var SuiteHeaderAppSwitcher = function SuiteHeaderAppSwitcher(_ref) {
184
188
  testId: "".concat(testId, "--all-applications"),
185
189
  onClick: handleAllApplicationRoute,
186
190
  onKeyDown: componentUtilityFunctions.handleSpecificKeyDown(['Enter', 'Space'], handleAllApplicationRoute),
187
- renderIcon: iconsReact.ArrowRight16
191
+ renderIcon: iconsReact.ArrowRight16,
192
+ tabIndex: tabIndex
188
193
  }, mergedI18n.allApplicationsLink)), /*#__PURE__*/React__default['default'].createElement("div", {
189
194
  className: "".concat(baseClassName, "--nav-link--separator")
190
195
  }), mergedApplications === null ? /*#__PURE__*/React__default['default'].createElement("li", null, /*#__PURE__*/React__default['default'].createElement("div", {
@@ -212,7 +217,8 @@ var SuiteHeaderAppSwitcher = function SuiteHeaderAppSwitcher(_ref) {
212
217
  kind: "ghost",
213
218
  testId: "".concat(testId, "--").concat(id),
214
219
  onClick: eventHandler,
215
- onKeyDown: componentUtilityFunctions.handleSpecificKeyDown(['Enter', 'Space'], eventHandler)
220
+ onKeyDown: componentUtilityFunctions.handleSpecificKeyDown(['Enter', 'Space'], eventHandler),
221
+ tabIndex: tabIndex
216
222
  }, name));
217
223
  }), (mergedApplications === null || mergedApplications === void 0 ? void 0 : mergedApplications.length) === 0 ? /*#__PURE__*/React__default['default'].createElement("div", {
218
224
  className: "".concat(baseClassName, "--no-app")
@@ -245,7 +251,8 @@ var SuiteHeaderAppSwitcher = function SuiteHeaderAppSwitcher(_ref) {
245
251
  }
246
252
  }
247
253
  }, _callee4);
248
- }))
254
+ })),
255
+ tabIndex: tabIndex
249
256
  }, mergedI18n.learnMoreLink)) : null);
250
257
  };
251
258
 
@@ -346,6 +353,17 @@ SuiteHeaderAppSwitcher.__docgenInfo = {
346
353
  "required": false,
347
354
  "description": ""
348
355
  },
356
+ "isExpanded": {
357
+ "defaultValue": {
358
+ "value": "false",
359
+ "computed": false
360
+ },
361
+ "type": {
362
+ "name": "bool"
363
+ },
364
+ "required": false,
365
+ "description": ""
366
+ },
349
367
  "noAccessLink": {
350
368
  "type": {
351
369
  "name": "string"
@@ -263,24 +263,16 @@ var TableToolbar = function TableToolbar(_ref) {
263
263
  setIsOpen = _useDynamicOverflowMe2[1],
264
264
  renderToolbarOverflowActions = _useDynamicOverflowMe2[2];
265
265
 
266
- var hasToolbarOverflowActions = typeof toolbarActions === 'function' || (toolbarActions === null || toolbarActions === void 0 ? void 0 : toolbarActions.length) > 0 && toolbarActions.some(function (action) {
267
- return action.isOverflow;
268
- });
269
- var visibleToolbarActions = React.useMemo(function () {
270
- var _toolbarActions$filte;
271
-
272
- if (typeof toolbarActions === 'function') {
273
- return toolbarActions().filter(function (_ref2) {
274
- var isOverflow = _ref2.isOverflow;
275
- return !isOverflow;
276
- });
277
- }
278
-
279
- return (_toolbarActions$filte = toolbarActions === null || toolbarActions === void 0 ? void 0 : toolbarActions.filter(function (_ref3) {
280
- var isOverflow = _ref3.isOverflow;
281
- return !isOverflow;
282
- })) !== null && _toolbarActions$filte !== void 0 ? _toolbarActions$filte : [];
266
+ var actions = React.useMemo(function () {
267
+ var renderedActions = typeof toolbarActions === 'function' ? toolbarActions() : toolbarActions;
268
+ return renderedActions !== null && renderedActions !== void 0 && renderedActions.length ? renderedActions : [];
283
269
  }, [toolbarActions]);
270
+ var hasToolbarOverflowActions = actions.filter(function (action) {
271
+ return action.isOverflow && action.hidden !== true;
272
+ }).length > 0;
273
+ var visibleToolbarActions = actions.filter(function (action) {
274
+ return !action.isOverflow && action.hidden !== true;
275
+ });
284
276
  return /*#__PURE__*/React__default['default'].createElement(CarbonTableToolbar // TODO: remove deprecated 'testID' in v3
285
277
  , {
286
278
  "data-testid": testID || testId,
@@ -300,10 +292,10 @@ var TableToolbar = function TableToolbar(_ref) {
300
292
 
301
293
  return componentUtilityFunctions.tableTranslateWithId.apply(void 0, [i18n].concat(args));
302
294
  }
303
- }, batchActions.map(function (_ref4) {
304
- var id = _ref4.id,
305
- labelText = _ref4.labelText,
306
- others = _objectWithoutProperties__default['default'](_ref4, ["id", "labelText"]);
295
+ }, batchActions.map(function (_ref2) {
296
+ var id = _ref2.id,
297
+ labelText = _ref2.labelText,
298
+ others = _objectWithoutProperties__default['default'](_ref2, ["id", "labelText"]);
307
299
 
308
300
  return /*#__PURE__*/React__default['default'].createElement(TableBatchAction, _extends__default['default']({
309
301
  key: id,
@@ -5,12 +5,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  require('core-js/modules/web.dom-collections.for-each.js');
6
6
  require('core-js/modules/es.array.find.js');
7
7
  var React = require('react');
8
+ var Settings = require('../../constants/Settings.js');
8
9
  var bundledIcons = require('../../utils/bundledIcons.js');
9
10
 
10
11
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
11
12
 
12
13
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
13
14
 
15
+ var prefix = Settings.settings.prefix;
14
16
  /**
15
17
  * Use this function to traverse the tree structure of a set of table rows using Depth-first search (DFS)
16
18
  * and apply some function on each row. The function is applied once the recursion starts back-tracking.
@@ -100,7 +102,9 @@ var renderTableOverflowItemText = function renderTableOverflowItemText(_ref) {
100
102
  title: action.labelText
101
103
  }, typeof action.renderIcon === 'string' ? renderBundledIconUsingName(action.renderIcon, action.labelText) : /*#__PURE__*/React__default['default'].createElement(action.renderIcon, {
102
104
  description: action.labelText
103
- }), action.labelText) : action.labelText;
105
+ }), /*#__PURE__*/React__default['default'].createElement("div", {
106
+ className: "".concat(prefix, "--overflow-menu-options__option-content")
107
+ }, action.labelText)) : action.labelText;
104
108
  };
105
109
  renderBundledIconUsingName.__docgenInfo = {
106
110
  "description": "",
@@ -35757,12 +35757,14 @@ html[dir=rtl] .iot--table-batch-actions .bx--btn--primary.bx--batch-summary__can
35757
35757
  display: flex;
35758
35758
  align-items: center;
35759
35759
  text-align: left;
35760
+ min-width: 0;
35760
35761
  }
35761
35762
  [dir=rtl] .iot--table-toolbar-aggregations__overflow-menu-content {
35762
35763
  text-align: right;
35763
35764
  }
35764
35765
  .iot--table-toolbar-aggregations__overflow-menu-content svg {
35765
35766
  margin-right: 0.5rem;
35767
+ flex-shrink: 0;
35766
35768
  }
35767
35769
  [dir=rtl] .iot--table-toolbar-aggregations__overflow-menu-content svg {
35768
35770
  margin-right: 0;