@rocket.chat/fuselage 0.82.0 → 0.83.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 (44) hide show
  1. package/dist/components/AnimatedVisibility/AnimatedVisibility.d.ts.map +1 -1
  2. package/dist/components/AutoComplete/AutoComplete.d.ts.map +1 -1
  3. package/dist/components/Box/Box.d.ts +2 -2
  4. package/dist/components/Box/Box.d.ts.map +1 -1
  5. package/dist/components/Box/stylingProps.d.ts +0 -19
  6. package/dist/components/Box/stylingProps.d.ts.map +1 -1
  7. package/dist/components/Button/Button.d.ts.map +1 -1
  8. package/dist/components/Card/CardDivider.d.ts.map +1 -1
  9. package/dist/components/Chevron/Chevron.d.ts.map +1 -1
  10. package/dist/components/Contextualbar/Contextualbar.d.ts +1 -1
  11. package/dist/components/Contextualbar/Contextualbar.d.ts.map +1 -1
  12. package/dist/components/ContextualbarV2/Contextualbar.d.ts +1 -1
  13. package/dist/components/ContextualbarV2/Contextualbar.d.ts.map +1 -1
  14. package/dist/components/Dropdown/Dropdown.d.ts.map +1 -1
  15. package/dist/components/Flex/FlexContainer.d.ts.map +1 -1
  16. package/dist/components/Flex/FlexItem.d.ts.map +1 -1
  17. package/dist/components/Icon/Icon.d.ts.map +1 -1
  18. package/dist/components/Label/Label.d.ts.map +1 -1
  19. package/dist/components/Margins/Margins.d.ts.map +1 -1
  20. package/dist/components/Menu/Menu.d.ts +2 -2
  21. package/dist/components/Menu/Menu.d.ts.map +1 -1
  22. package/dist/components/Menu/MenuPopover.d.ts +2 -2
  23. package/dist/components/Menu/MenuPopover.d.ts.map +1 -1
  24. package/dist/components/Menu/stately/PartialNode.d.ts +2 -2
  25. package/dist/components/Menu/stately/PartialNode.d.ts.map +1 -1
  26. package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts.map +1 -1
  27. package/dist/components/Popover/Popover.d.ts +2 -2
  28. package/dist/components/Popover/Popover.d.ts.map +1 -1
  29. package/dist/components/Scrollable/Scrollable.d.ts.map +1 -1
  30. package/dist/components/Select/Listbox.d.ts +2 -2
  31. package/dist/components/Select/Listbox.d.ts.map +1 -1
  32. package/dist/components/Select/SelectLegacy.d.ts.map +1 -1
  33. package/dist/components/Sidebar/Item.d.ts.map +1 -1
  34. package/dist/components/Sidebar/SidebarDivider.d.ts.map +1 -1
  35. package/dist/components/Sidebar/TopBar/TopBarWrapper.d.ts.map +1 -1
  36. package/dist/components/SidebarV2/helpers.d.ts.map +1 -1
  37. package/dist/components/Table/TableCell.d.ts.map +1 -1
  38. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  39. package/dist/fuselage.css +1 -1
  40. package/dist/fuselage.css.map +1 -1
  41. package/dist/fuselage.development.js +50 -83
  42. package/dist/fuselage.development.js.map +1 -1
  43. package/dist/fuselage.production.js +17 -17
  44. package/package.json +1 -1
@@ -452,7 +452,7 @@ const AnimatedVisibility = (props) => {
452
452
  if (visibility === AnimatedVisibility.HIDDEN) {
453
453
  return null;
454
454
  }
455
- return ((0, jsx_runtime_1.jsx)(BoxTransforms_1.BoxTransforms.Provider, { children: props.children, value: composedFn }));
455
+ return ((0, jsx_runtime_1.jsx)(BoxTransforms_1.BoxTransforms.Provider, { value: composedFn, children: props.children }));
456
456
  };
457
457
  AnimatedVisibility.HIDDEN = 'hidden';
458
458
  AnimatedVisibility.VISIBLE = 'visible';
@@ -568,7 +568,7 @@ const AudioPlayer = ({ ref, src, type = 'audio/mpeg', maxPlaybackSpeed = 2, minP
568
568
  handlePlaybackSpeed(1);
569
569
  };
570
570
  const { document: ownerDocument } = (0, contexts_1.useOwnerDocument)();
571
- return ((0, jsx_runtime_1.jsxs)(__1.Box, { borderWidth: 'default', bg: 'tint', borderColor: 'extra-light', pb: 12, pie: 8, pis: 16, borderRadius: 'x4', w: '100%', maxWidth: 'x300', ref: containerRef, display: 'flex', alignItems: 'center', children: [(0, jsx_runtime_1.jsx)(AudioPlayerControls_1.default, { isPlaying: isPlaying, currentTime: currentTime, durationTime: durationTime, playbackSpeed: playbackSpeed, onTogglePlay: handlePlay, onSeek: (time) => {
571
+ return ((0, jsx_runtime_1.jsxs)(__1.Box, { borderWidth: 'default', backgroundColor: 'tint', borderColor: 'extra-light', paddingBlock: 12, paddingInlineEnd: 8, paddingInlineStart: 16, borderRadius: 'x4', width: '100%', maxWidth: 'x300', ref: containerRef, display: 'flex', alignItems: 'center', children: [(0, jsx_runtime_1.jsx)(AudioPlayerControls_1.default, { isPlaying: isPlaying, currentTime: currentTime, durationTime: durationTime, playbackSpeed: playbackSpeed, onTogglePlay: handlePlay, onSeek: (time) => {
572
572
  if (audioRef.current) {
573
573
  audioRef.current.currentTime = time;
574
574
  }
@@ -620,9 +620,9 @@ const getMaskTime = (durationTime) => new Date(durationTime * 1000)
620
620
  * shared/persistent one. `AudioPlayer` wraps this with its own element for the
621
621
  * common self-contained case.
622
622
  */
623
- const AudioPlayerControls = ({ isPlaying, currentTime, durationTime, playbackSpeed, onTogglePlay, onSeek, onChangePlaybackSpeed, download = false, downloadHref, onDownload, playLabel = 'Play', pauseLabel = 'Pause', audioPlaybackRangeLabel = 'Audio Playback Range', changePlaybackSpeedLabel = 'Change Playback Speed', downloadAudioFileLabel = 'Download Audio File', }) => ((0, jsx_runtime_1.jsxs)(__1.Box, { display: 'flex', alignItems: 'center', w: 'full', children: [(0, jsx_runtime_1.jsx)(__1.IconButton, { primary: true, medium: true, onClick: onTogglePlay, "aria-label": isPlaying ? pauseLabel : playLabel, icon: isPlaying ? 'pause-shape-filled' : 'play-shape-filled' }), (0, jsx_runtime_1.jsxs)(__1.Margins, { inline: 8, children: [(0, jsx_runtime_1.jsx)(__1.Box, { fontScale: 'p2', color: 'secondary-info', children: isPlaying || currentTime > 0
623
+ const AudioPlayerControls = ({ isPlaying, currentTime, durationTime, playbackSpeed, onTogglePlay, onSeek, onChangePlaybackSpeed, download = false, downloadHref, onDownload, playLabel = 'Play', pauseLabel = 'Pause', audioPlaybackRangeLabel = 'Audio Playback Range', changePlaybackSpeedLabel = 'Change Playback Speed', downloadAudioFileLabel = 'Download Audio File', }) => ((0, jsx_runtime_1.jsxs)(__1.Box, { display: 'flex', alignItems: 'center', width: 'full', children: [(0, jsx_runtime_1.jsx)(__1.IconButton, { primary: true, medium: true, onClick: onTogglePlay, "aria-label": isPlaying ? pauseLabel : playLabel, icon: isPlaying ? 'pause-shape-filled' : 'play-shape-filled' }), (0, jsx_runtime_1.jsxs)(__1.Margins, { inline: 8, children: [(0, jsx_runtime_1.jsx)(__1.Box, { fontScale: 'p2', color: 'secondary-info', children: isPlaying || currentTime > 0
624
624
  ? getMaskTime(currentTime)
625
- : getMaskTime(durationTime) }), (0, jsx_runtime_1.jsx)(__1.Box, { mi: 16, w: 'full', children: (0, jsx_runtime_1.jsx)(Slider_1.Slider, { "aria-label": audioPlaybackRangeLabel, showOutput: false, value: currentTime, maxValue: durationTime, onChange: (value) => onSeek(Array.isArray(value) ? value[0] : value) }) }), (0, jsx_runtime_1.jsxs)(__1.Button, { secondary: true, small: true, onClick: onChangePlaybackSpeed, "aria-label": changePlaybackSpeedLabel, children: [playbackSpeed, "x"] })] }), download && ((0, jsx_runtime_1.jsx)(__1.IconButton, { primary: true, medium: true, is: 'a', href: downloadHref, download: true, icon: 'download', "aria-label": downloadAudioFileLabel, onClick: onDownload }))] }));
625
+ : getMaskTime(durationTime) }), (0, jsx_runtime_1.jsx)(__1.Box, { width: 'full', children: (0, jsx_runtime_1.jsx)(Slider_1.Slider, { "aria-label": audioPlaybackRangeLabel, showOutput: false, value: currentTime, maxValue: durationTime, onChange: (value) => onSeek(Array.isArray(value) ? value[0] : value) }) }), (0, jsx_runtime_1.jsxs)(__1.Button, { secondary: true, small: true, onClick: onChangePlaybackSpeed, "aria-label": changePlaybackSpeedLabel, children: [playbackSpeed, "x"] })] }), download && ((0, jsx_runtime_1.jsx)(__1.IconButton, { primary: true, medium: true, is: 'a', href: downloadHref, download: true, icon: 'download', "aria-label": downloadAudioFileLabel, onClick: onDownload }))] }));
626
626
  exports["default"] = AudioPlayerControls;
627
627
 
628
628
 
@@ -736,7 +736,7 @@ function AutoComplete({ ref, value, filter, setFilter, options = [], renderItem,
736
736
  (0, react_1.useEffect)(reset, [filter, reset]);
737
737
  return ((0, jsx_runtime_1.jsxs)(Box_1.Box, { "rcx-autocomplete": true, ref: containerRef, onClick: (0, fuselage_hooks_1.useStableCallback)(() => innerRef.current?.focus()), flexGrow: 1, className: (0, react_1.useMemo)(() => [error && 'invalid', disabled && 'disabled'], [error, disabled]), children: [(0, jsx_runtime_1.jsx)(Box_1.Box, { display: 'flex', flexGrow: 1, alignItems: 'center', flexWrap: 'wrap', margin: 'neg-x4', role: 'group', children: (0, jsx_runtime_1.jsxs)(Margins_1.Margins, { all: 'x4', children: [(0, jsx_runtime_1.jsx)(InputBox_1.Input, { ref: mergedRefs, onChange: (0, fuselage_hooks_1.useStableCallback)((e) => setFilter?.(e.currentTarget.value)), onBlur: handleOnBlur, onFocus: show, onKeyDown: handleKeyDown, placeholder: optionsAreVisible === AnimatedVisibility_1.AnimatedVisibility.HIDDEN || !value
738
738
  ? placeholder
739
- : undefined, order: 1, "rcx-input-box--undecorated": true, value: filter, disabled: disabled, ...props }), selected.map((itemSelected) => RenderSelected ? ((0, jsx_runtime_1.jsx)(RenderSelected, { selected: itemSelected, onRemove: handleRemove }, itemSelected.value)) : ((0, jsx_runtime_1.jsx)(Chip_1.Chip, { value: itemSelected.value, children: itemSelected.label, onClick: handleRemove }, itemSelected.value)))] }) }), (0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-autocomplete__addon": true, children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: optionsAreVisible === AnimatedVisibility_1.AnimatedVisibility.VISIBLE
739
+ : undefined, order: 1, "rcx-input-box--undecorated": true, value: filter, disabled: disabled, ...props }), selected.map((itemSelected) => RenderSelected ? ((0, jsx_runtime_1.jsx)(RenderSelected, { selected: itemSelected, onRemove: handleRemove }, itemSelected.value)) : ((0, jsx_runtime_1.jsx)(Chip_1.Chip, { value: itemSelected.value, onClick: handleRemove, children: itemSelected.label }, itemSelected.value)))] }) }), (0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-autocomplete__addon": true, children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: optionsAreVisible === AnimatedVisibility_1.AnimatedVisibility.VISIBLE
740
740
  ? 'cross'
741
741
  : 'magnifier', size: 'x20', color: 'default' }) }), (0, jsx_runtime_1.jsx)(PositionAnimated_1.PositionAnimated, { visible: optionsAreVisible, anchor: containerRef, children: (0, jsx_runtime_1.jsx)(Options_1.Options, { width: borderBoxSize.inlineSize, onSelect: handleSelect, renderItem: renderItem, renderEmpty: renderEmpty, cursor: cursor, value: value, options: memoizedOptions }) })] }));
742
742
  }
@@ -991,7 +991,7 @@ function Box({ is = 'div', ...props }) {
991
991
  const propsWithoutBoxOnlyProps = (0, useBoxOnlyProps_1.useBoxOnlyProps)(propsWithoutStylingProps);
992
992
  const element = (0, react_1.createElement)(is, propsWithoutBoxOnlyProps);
993
993
  if (transformFn) {
994
- return (0, jsx_runtime_1.jsx)(BoxTransforms_1.BoxTransforms.Provider, { children: element, value: null });
994
+ return ((0, jsx_runtime_1.jsx)(BoxTransforms_1.BoxTransforms.Provider, { value: null, children: element }));
995
995
  }
996
996
  return element;
997
997
  }
@@ -1154,9 +1154,6 @@ const lineHeightProp = {
1154
1154
  const letterSpacingProp = {
1155
1155
  toCSSValue: (value) => value ? String((0, styleTokens_1.fontScale)(value)?.letterSpacing || value) : undefined,
1156
1156
  };
1157
- const aliasOf = (propName) => ({
1158
- aliasOf: propName,
1159
- });
1160
1157
  exports.propDefs = {
1161
1158
  border: stringProp,
1162
1159
  borderBlock: stringProp,
@@ -1193,7 +1190,6 @@ exports.propDefs = {
1193
1190
  borderEndEndRadius: borderRadiusProp,
1194
1191
  color: fontColorProp,
1195
1192
  backgroundColor: backgroundColorProp,
1196
- bg: aliasOf('backgroundColor'),
1197
1193
  opacity: numberOrStringProp,
1198
1194
  alignItems: stringProp,
1199
1195
  alignContent: stringProp,
@@ -1210,11 +1206,9 @@ exports.propDefs = {
1210
1206
  gap: gapProp,
1211
1207
  rowGap: gapProp,
1212
1208
  columnGap: gapProp,
1213
- w: aliasOf('width'),
1214
1209
  width: sizeProp,
1215
1210
  minWidth: sizeProp,
1216
1211
  maxWidth: sizeProp,
1217
- h: aliasOf('height'),
1218
1212
  height: sizeProp,
1219
1213
  minHeight: sizeProp,
1220
1214
  maxHeight: sizeProp,
@@ -1233,33 +1227,19 @@ exports.propDefs = {
1233
1227
  insetInline: insetProp,
1234
1228
  insetInlineStart: insetProp,
1235
1229
  insetInlineEnd: insetProp,
1236
- m: aliasOf('margin'),
1237
1230
  margin: marginProp,
1238
- mb: aliasOf('marginBlock'),
1239
1231
  marginBlock: marginProp,
1240
- mbs: aliasOf('marginBlockStart'),
1241
1232
  marginBlockStart: marginProp,
1242
- mbe: aliasOf('marginBlockEnd'),
1243
1233
  marginBlockEnd: marginProp,
1244
- mi: aliasOf('marginInline'),
1245
1234
  marginInline: marginProp,
1246
- mis: aliasOf('marginInlineStart'),
1247
1235
  marginInlineStart: marginProp,
1248
- mie: aliasOf('marginInlineEnd'),
1249
1236
  marginInlineEnd: marginProp,
1250
- p: aliasOf('padding'),
1251
1237
  padding: paddingProp,
1252
- pb: aliasOf('paddingBlock'),
1253
1238
  paddingBlock: paddingProp,
1254
- pbs: aliasOf('paddingBlockStart'),
1255
1239
  paddingBlockStart: paddingProp,
1256
- pbe: aliasOf('paddingBlockEnd'),
1257
1240
  paddingBlockEnd: paddingProp,
1258
- pi: aliasOf('paddingInline'),
1259
1241
  paddingInline: paddingProp,
1260
- pis: aliasOf('paddingInlineStart'),
1261
1242
  paddingInlineStart: paddingProp,
1262
- pie: aliasOf('paddingInlineEnd'),
1263
1243
  paddingInlineEnd: paddingProp,
1264
1244
  fontFamily: fontFamilyProp,
1265
1245
  fontSize: fontSizeProp,
@@ -1358,19 +1338,6 @@ exports.propDefs = {
1358
1338
  },
1359
1339
  };
1360
1340
  const compiledPropDefs = new Map(Object.entries(exports.propDefs).map(([propName, propDef]) => {
1361
- if ('aliasOf' in propDef) {
1362
- const { aliasOf: effectivePropName } = propDef;
1363
- return [
1364
- propName,
1365
- (value, stylingProps) => {
1366
- if (stylingProps.has(effectivePropName)) {
1367
- return;
1368
- }
1369
- const inject = compiledPropDefs.get(effectivePropName);
1370
- inject?.(value, stylingProps);
1371
- },
1372
- ];
1373
- }
1374
1341
  if ('toCSSValue' in propDef) {
1375
1342
  const cssProperty = (0, fromCamelToKebab_1.fromCamelToKebab)(propName);
1376
1343
  const { toCSSValue } = propDef;
@@ -1529,7 +1496,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
1529
1496
  exports.BubbleItem = void 0;
1530
1497
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
1531
1498
  const Icon_1 = __webpack_require__(/*! ../Icon */ "./src/components/Icon/index.ts");
1532
- const BubbleItem = ({ secondary, label, icon, ...props }) => ((0, jsx_runtime_1.jsxs)("span", { className: `rcx-bubble__item ${secondary ? 'rcx-bubble__item--secondary' : 'rcx-bubble__item--primary'}`, ...props, children: [icon && (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: icon, size: 'x16', mie: 8 }), label && (0, jsx_runtime_1.jsx)("span", { children: label })] }));
1499
+ const BubbleItem = ({ secondary, label, icon, ...props }) => ((0, jsx_runtime_1.jsxs)("span", { className: `rcx-bubble__item ${secondary ? 'rcx-bubble__item--secondary' : 'rcx-bubble__item--primary'}`, ...props, children: [icon && (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: icon, size: 'x16', marginInlineEnd: 8 }), label && (0, jsx_runtime_1.jsx)("span", { children: label })] }));
1533
1500
  exports.BubbleItem = BubbleItem;
1534
1501
 
1535
1502
 
@@ -1593,7 +1560,7 @@ function Button({ ref, primary, secondary, danger, warning, success, external, i
1593
1560
  }
1594
1561
  return {};
1595
1562
  }, [primary, secondary, danger, warning, success]);
1596
- return ((0, jsx_runtime_1.jsx)(Box_1.Box, { is: is, type: 'button', "rcx-button": true, ...kindAndVariantProps, "rcx-button--small": small, "rcx-button--medium": medium, "rcx-button--large": large, "rcx-button--square": square, "rcx-button--tiny-square": tiny && square, "rcx-button--mini-square": mini && square, "rcx-button--small-square": small && square, "rcx-button--medium-square": medium && square, "rcx-button--large-square": large && square, "rcx-button--loading": loading, disabled: disabled || loading, ref: ref, ...extraProps, ...props, children: (0, jsx_runtime_1.jsxs)("span", { className: 'rcx-button--content', children: [icon && !loading && (0, jsx_runtime_1.jsx)(Icon_1.Icon, { size: 'x16', name: icon, mie: 4 }), loading && (0, jsx_runtime_1.jsx)(Icon_1.Icon, { size: 'x16', name: 'loading', mie: 4 }), children] }) }));
1563
+ return ((0, jsx_runtime_1.jsx)(Box_1.Box, { is: is, type: 'button', "rcx-button": true, ...kindAndVariantProps, "rcx-button--small": small, "rcx-button--medium": medium, "rcx-button--large": large, "rcx-button--square": square, "rcx-button--tiny-square": tiny && square, "rcx-button--mini-square": mini && square, "rcx-button--small-square": small && square, "rcx-button--medium-square": medium && square, "rcx-button--large-square": large && square, "rcx-button--loading": loading, disabled: disabled || loading, ref: ref, ...extraProps, ...props, children: (0, jsx_runtime_1.jsxs)("span", { className: 'rcx-button--content', children: [icon && !loading && ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { size: 'x16', name: icon, marginInlineEnd: 4 })), loading && (0, jsx_runtime_1.jsx)(Icon_1.Icon, { size: 'x16', name: 'loading', marginInlineEnd: 4 }), children] }) }));
1597
1564
  }
1598
1565
  exports["default"] = Button;
1599
1566
 
@@ -1944,7 +1911,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
1944
1911
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
1945
1912
  const react_1 = __webpack_require__(/*! react */ "react");
1946
1913
  const Grid_1 = __webpack_require__(/*! ../Grid */ "./src/components/Grid/index.ts");
1947
- const CardGrid = ({ children, breakpoints, ...props }) => ((0, jsx_runtime_1.jsx)(Grid_1.Grid, { "rcx-card-grid": true, m: -8, ...props, children: react_1.Children.map(children, (child) => ((0, jsx_runtime_1.jsx)(Grid_1.GridItem, { "rcx-card-grid__item": true, p: 8, ...breakpoints, children: child }))) }));
1914
+ const CardGrid = ({ children, breakpoints, ...props }) => ((0, jsx_runtime_1.jsx)(Grid_1.Grid, { "rcx-card-grid": true, margin: -8, ...props, children: react_1.Children.map(children, (child) => ((0, jsx_runtime_1.jsx)(Grid_1.GridItem, { "rcx-card-grid__item": true, padding: 8, ...breakpoints, children: child }))) }));
1948
1915
  exports["default"] = CardGrid;
1949
1916
 
1950
1917
 
@@ -2071,7 +2038,7 @@ const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts")
2071
2038
  const Icon_1 = __webpack_require__(/*! ../Icon */ "./src/components/Icon/index.ts");
2072
2039
  function Chevron({ up, right, down, left, size, ...props }) {
2073
2040
  const children = (0, react_1.useMemo)(() => (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: 'chevron-down', size: size }), [size]);
2074
- return ((0, jsx_runtime_1.jsx)(Box_1.Box, { is: 'span', children: children, "rcx-chevron": true, "rcx-chevron--up": up, "rcx-chevron--right": right, "rcx-chevron--down": down, "rcx-chevron--left": left, ...props }));
2041
+ return ((0, jsx_runtime_1.jsx)(Box_1.Box, { is: 'span', "rcx-chevron": true, "rcx-chevron--up": up, "rcx-chevron--right": right, "rcx-chevron--down": down, "rcx-chevron--left": left, ...props, children: children }));
2075
2042
  }
2076
2043
  exports["default"] = Chevron;
2077
2044
 
@@ -2161,7 +2128,7 @@ const Skeleton_1 = __webpack_require__(/*! ../Skeleton */ "./src/components/Skel
2161
2128
  */
2162
2129
  const CodeSnippet = ({ children, onClick, buttonText = 'Copy', buttonDisabled = false, ...props }) => {
2163
2130
  if (!children) {
2164
- return ((0, jsx_runtime_1.jsx)(Box_1.Box, { is: 'pre', "rcx-code-snippet": true, ...props, children: (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { w: '100%', "aria-hidden": true, "aria-busy": true }) }));
2131
+ return ((0, jsx_runtime_1.jsx)(Box_1.Box, { is: 'pre', "rcx-code-snippet": true, ...props, children: (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { width: '100%', "aria-hidden": true, "aria-busy": true }) }));
2165
2132
  }
2166
2133
  return ((0, jsx_runtime_1.jsxs)(Box_1.Box, { is: 'pre', "rcx-code-snippet": true, ...props, children: [(0, jsx_runtime_1.jsx)(Box_1.Box, { role: 'code', "rcx-code-snippet__codebox": true, children: children }), onClick && children && ((0, jsx_runtime_1.jsx)(Box_1.Box, { children: (0, jsx_runtime_1.jsx)(Button_1.Button, { small: true, primary: true, onClick: onClick, disabled: buttonDisabled, children: buttonText }) }))] }));
2167
2134
  };
@@ -2202,8 +2169,8 @@ const __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
2202
2169
  /**
2203
2170
  * The `Contextualbar` has the purpose to persist and input information about the scope of the related page.
2204
2171
  */
2205
- function Contextualbar({ width, position, bg = 'room', ...props }) {
2206
- return ((0, jsx_runtime_1.jsx)(__1.Box, { "rcx-vertical-bar": true, bg: bg, color: 'default', display: 'flex', flexDirection: 'column', flexShrink: 0, width: width, borderInlineStartWidth: 'default', borderInlineStartColor: 'extra-light', borderInlineStartStyle: 'solid', height: 'full', position: position, insetInlineEnd: 'none', insetBlockStart: 'none', zIndex: 10, ...props }));
2172
+ function Contextualbar({ width, position, backgroundColor = 'room', ...props }) {
2173
+ return ((0, jsx_runtime_1.jsx)(__1.Box, { "rcx-vertical-bar": true, backgroundColor: backgroundColor, color: 'default', display: 'flex', flexDirection: 'column', flexShrink: 0, width: width, borderInlineStartWidth: 'default', borderInlineStartColor: 'extra-light', borderInlineStartStyle: 'solid', height: 'full', position: position, insetInlineEnd: 'none', insetBlockStart: 'none', zIndex: 10, ...props }));
2207
2174
  }
2208
2175
  exports["default"] = (0, react_1.memo)(Contextualbar);
2209
2176
 
@@ -2315,7 +2282,7 @@ const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-ru
2315
2282
  const react_1 = __webpack_require__(/*! react */ "react");
2316
2283
  const __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
2317
2284
  function ContextualbarFooter(props) {
2318
- return (0, jsx_runtime_1.jsx)(__1.Box, { p: 24, ...props });
2285
+ return (0, jsx_runtime_1.jsx)(__1.Box, { padding: 24, ...props });
2319
2286
  }
2320
2287
  exports["default"] = (0, react_1.memo)(ContextualbarFooter);
2321
2288
 
@@ -2334,7 +2301,7 @@ const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-ru
2334
2301
  const react_1 = __webpack_require__(/*! react */ "react");
2335
2302
  const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2336
2303
  const Margins_1 = __webpack_require__(/*! ../Margins */ "./src/components/Margins/index.ts");
2337
- const ContextualbarHeader = ({ children, ...props }) => ((0, jsx_runtime_1.jsx)(Box_1.Box, { display: 'flex', alignItems: 'center', height: 'x56', pi: 24, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light', flexShrink: 0, ...props, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { marginInline: 'neg-x4', display: 'flex', alignItems: 'center', justifyContent: 'space-between', flexGrow: 1, height: '100%', overflow: 'hidden', children: (0, jsx_runtime_1.jsx)(Margins_1.Margins, { inline: 'x4', children: children }) }) }));
2304
+ const ContextualbarHeader = ({ children, ...props }) => ((0, jsx_runtime_1.jsx)(Box_1.Box, { display: 'flex', alignItems: 'center', height: 'x56', paddingInline: 24, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light', flexShrink: 0, ...props, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { marginInline: 'neg-x4', display: 'flex', alignItems: 'center', justifyContent: 'space-between', flexGrow: 1, height: '100%', overflow: 'hidden', children: (0, jsx_runtime_1.jsx)(Margins_1.Margins, { inline: 'x4', children: children }) }) }));
2338
2305
  exports["default"] = (0, react_1.memo)(ContextualbarHeader);
2339
2306
 
2340
2307
 
@@ -2351,7 +2318,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
2351
2318
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2352
2319
  const react_1 = __webpack_require__(/*! react */ "react");
2353
2320
  const Icon_1 = __webpack_require__(/*! ../Icon */ "./src/components/Icon/index.ts");
2354
- const ContextualbarIcon = (props) => ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { ...props, pi: 2, size: 'x24' }));
2321
+ const ContextualbarIcon = (props) => ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { ...props, paddingInline: 2, size: 'x24' }));
2355
2322
  exports["default"] = (0, react_1.memo)(ContextualbarIcon);
2356
2323
 
2357
2324
 
@@ -2369,7 +2336,7 @@ const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-ru
2369
2336
  const react_1 = __webpack_require__(/*! react */ "react");
2370
2337
  const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2371
2338
  function ContextualbarSection(props) {
2372
- return ((0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-vertical-bar__section": true, pi: 24, pb: 16, display: 'flex', alignItems: 'center', flexGrow: 1, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light', ...props }));
2339
+ return ((0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-vertical-bar__section": true, paddingInline: 24, paddingBlock: 16, display: 'flex', alignItems: 'center', flexGrow: 1, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light', ...props }));
2373
2340
  }
2374
2341
  exports["default"] = (0, react_1.memo)(ContextualbarSection);
2375
2342
 
@@ -2393,7 +2360,7 @@ const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts")
2393
2360
  const Skeleton_1 = __webpack_require__(/*! ../Skeleton */ "./src/components/Skeleton/index.ts");
2394
2361
  const Contextualbar_1 = __importDefault(__webpack_require__(/*! ./Contextualbar */ "./src/components/Contextualbar/Contextualbar.tsx"));
2395
2362
  const ContextualbarHeader_1 = __importDefault(__webpack_require__(/*! ./ContextualbarHeader */ "./src/components/Contextualbar/ContextualbarHeader.tsx"));
2396
- const ContextualbarSkeleton = (props) => ((0, jsx_runtime_1.jsxs)(Contextualbar_1.default, { ...props, children: [(0, jsx_runtime_1.jsx)(ContextualbarHeader_1.default, { children: (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { width: '100%' }) }), (0, jsx_runtime_1.jsxs)(Box_1.Box, { p: 24, children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { mbe: 4, width: '32px', height: '32px', variant: 'rect' }), Array(5)
2363
+ const ContextualbarSkeleton = (props) => ((0, jsx_runtime_1.jsxs)(Contextualbar_1.default, { ...props, children: [(0, jsx_runtime_1.jsx)(ContextualbarHeader_1.default, { children: (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { width: '100%' }) }), (0, jsx_runtime_1.jsxs)(Box_1.Box, { padding: 24, children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { marginBlockEnd: 4, width: '32px', height: '32px', variant: 'rect' }), Array(5)
2397
2364
  .fill(5)
2398
2365
  .map((_, index) => ((0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, {}, index)))] })] }));
2399
2366
  exports["default"] = (0, react_1.memo)(ContextualbarSkeleton);
@@ -2472,8 +2439,8 @@ const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts")
2472
2439
  /**
2473
2440
  * The `Contextualbar` has the purpose to persist and input information about the scope of the related page.
2474
2441
  */
2475
- function Contextualbar({ width, position, bg = 'room', ...props }) {
2476
- return ((0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-vertical-bar": true, bg: bg, color: 'default', display: 'flex', flexDirection: 'column', flexShrink: 0, width: width, borderInlineStartWidth: 'default', borderInlineStartColor: 'extra-light', borderInlineStartStyle: 'solid', height: 'full', position: position, insetInlineEnd: 'none', insetBlockStart: 'none', zIndex: 10, ...props }));
2442
+ function Contextualbar({ width, position, backgroundColor = 'room', ...props }) {
2443
+ return ((0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-vertical-bar": true, backgroundColor: backgroundColor, color: 'default', display: 'flex', flexDirection: 'column', flexShrink: 0, width: width, borderInlineStartWidth: 'default', borderInlineStartColor: 'extra-light', borderInlineStartStyle: 'solid', height: 'full', position: position, insetInlineEnd: 'none', insetBlockStart: 'none', zIndex: 10, ...props }));
2477
2444
  }
2478
2445
  exports["default"] = (0, react_1.memo)(Contextualbar);
2479
2446
 
@@ -2585,7 +2552,7 @@ const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-ru
2585
2552
  const react_1 = __webpack_require__(/*! react */ "react");
2586
2553
  const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2587
2554
  function ContextualbarFooter(props) {
2588
- return (0, jsx_runtime_1.jsx)(Box_1.Box, { pi: 16, pb: 20, ...props });
2555
+ return (0, jsx_runtime_1.jsx)(Box_1.Box, { paddingInline: 16, paddingBlock: 20, ...props });
2589
2556
  }
2590
2557
  exports["default"] = (0, react_1.memo)(ContextualbarFooter);
2591
2558
 
@@ -2604,7 +2571,7 @@ const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-ru
2604
2571
  const css_in_js_1 = __webpack_require__(/*! @rocket.chat/css-in-js */ "@rocket.chat/css-in-js");
2605
2572
  const react_1 = __webpack_require__(/*! react */ "react");
2606
2573
  const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2607
- const ContextualbarHeader = ({ children, ...props }) => ((0, jsx_runtime_1.jsx)(Box_1.Box, { display: 'flex', alignItems: 'center', height: 'x44', pi: 16, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light', flexShrink: 0, ...props, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { display: 'flex', alignItems: 'center', justifyContent: 'space-between', flexGrow: 1, height: '100%', overflow: 'hidden', mi: -4, pi: 4, className: (0, css_in_js_1.css) `
2574
+ const ContextualbarHeader = ({ children, ...props }) => ((0, jsx_runtime_1.jsx)(Box_1.Box, { display: 'flex', alignItems: 'center', height: 'x44', paddingInline: 16, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light', flexShrink: 0, ...props, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { display: 'flex', alignItems: 'center', justifyContent: 'space-between', flexGrow: 1, height: '100%', overflow: 'hidden', marginInline: -4, paddingInline: 4, className: (0, css_in_js_1.css) `
2608
2575
  gap: 8px;
2609
2576
  `, children: children }) }));
2610
2577
  exports["default"] = (0, react_1.memo)(ContextualbarHeader);
@@ -2623,7 +2590,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
2623
2590
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2624
2591
  const react_1 = __webpack_require__(/*! react */ "react");
2625
2592
  const Icon_1 = __webpack_require__(/*! ../Icon */ "./src/components/Icon/index.ts");
2626
- const ContextualbarIcon = (props) => ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { ...props, pi: 2, size: 'x20' }));
2593
+ const ContextualbarIcon = (props) => ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { ...props, paddingInline: 2, size: 'x20' }));
2627
2594
  exports["default"] = (0, react_1.memo)(ContextualbarIcon);
2628
2595
 
2629
2596
 
@@ -2641,7 +2608,7 @@ const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-ru
2641
2608
  const react_1 = __webpack_require__(/*! react */ "react");
2642
2609
  const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
2643
2610
  function ContextualbarSection(props) {
2644
- return ((0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-vertical-bar__section": true, p: 16, display: 'flex', alignItems: 'center', flexGrow: 1, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light', ...props }));
2611
+ return ((0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-vertical-bar__section": true, padding: 16, display: 'flex', alignItems: 'center', flexGrow: 1, borderBlockEndWidth: 'default', borderBlockColor: 'extra-light', ...props }));
2645
2612
  }
2646
2613
  exports["default"] = (0, react_1.memo)(ContextualbarSection);
2647
2614
 
@@ -2665,7 +2632,7 @@ const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts")
2665
2632
  const Skeleton_1 = __webpack_require__(/*! ../Skeleton */ "./src/components/Skeleton/index.ts");
2666
2633
  const Contextualbar_1 = __importDefault(__webpack_require__(/*! ./Contextualbar */ "./src/components/ContextualbarV2/Contextualbar.tsx"));
2667
2634
  const ContextualbarHeader_1 = __importDefault(__webpack_require__(/*! ./ContextualbarHeader */ "./src/components/ContextualbarV2/ContextualbarHeader.tsx"));
2668
- const ContextualbarSkeleton = (props) => ((0, jsx_runtime_1.jsxs)(Contextualbar_1.default, { ...props, children: [(0, jsx_runtime_1.jsx)(ContextualbarHeader_1.default, { children: (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { width: '100%' }) }), (0, jsx_runtime_1.jsxs)(Box_1.Box, { p: 24, children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { mbe: 4, width: '32px', height: '32px', variant: 'rect' }), Array(5)
2635
+ const ContextualbarSkeleton = (props) => ((0, jsx_runtime_1.jsxs)(Contextualbar_1.default, { ...props, children: [(0, jsx_runtime_1.jsx)(ContextualbarHeader_1.default, { children: (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { width: '100%' }) }), (0, jsx_runtime_1.jsxs)(Box_1.Box, { padding: 24, children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { marginBlockEnd: 4, width: '32px', height: '32px', variant: 'rect' }), Array(5)
2669
2636
  .fill(5)
2670
2637
  .map((_, index) => ((0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, {}, index)))] })] }));
2671
2638
  exports["default"] = (0, react_1.memo)(ContextualbarSkeleton);
@@ -2783,7 +2750,7 @@ const DropdownDesktopWrapper_1 = __webpack_require__(/*! ./DropdownDesktopWrappe
2783
2750
  const DropdownMobile_1 = __webpack_require__(/*! ./DropdownMobile */ "./src/components/Dropdown/DropdownMobile.tsx");
2784
2751
  function Dropdown({ ref, children, reference, placement = 'bottom-start', }) {
2785
2752
  const notSmall = (0, fuselage_hooks_1.useMediaQuery)('(min-width: 500px)');
2786
- return notSmall ? ((0, jsx_runtime_1.jsx)(DropdownDesktopWrapper_1.DropdownDesktopWrapper, { reference: reference, children: children, placement: placement, ref: ref })) : ((0, jsx_runtime_1.jsx)(DropdownMobile_1.DropdownMobile, { children: children, ref: ref }));
2753
+ return notSmall ? ((0, jsx_runtime_1.jsx)(DropdownDesktopWrapper_1.DropdownDesktopWrapper, { reference: reference, placement: placement, ref: ref, children: children })) : ((0, jsx_runtime_1.jsx)(DropdownMobile_1.DropdownMobile, { ref: ref, children: children }));
2787
2754
  }
2788
2755
  exports["default"] = Dropdown;
2789
2756
 
@@ -2802,7 +2769,7 @@ exports.DropdownDesktop = DropdownDesktop;
2802
2769
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2803
2770
  const __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
2804
2771
  function DropdownDesktop({ children, style, ...props }) {
2805
- return ((0, jsx_runtime_1.jsx)(__1.Tile, { style: style, elevation: '2', pi: '0', pb: '0', display: 'flex', flexDirection: 'column', overflow: 'auto', "data-testid": 'dropdown', ...props, children: (0, jsx_runtime_1.jsx)(__1.Box, { flexShrink: 1, pb: 12, children: style?.visibility === 'hidden' ? null : children }) }));
2772
+ return ((0, jsx_runtime_1.jsx)(__1.Tile, { style: style, elevation: '2', paddingInline: '0', paddingBlock: '0', display: 'flex', flexDirection: 'column', overflow: 'auto', "data-testid": 'dropdown', ...props, children: (0, jsx_runtime_1.jsx)(__1.Box, { flexShrink: 1, paddingBlock: 12, children: style?.visibility === 'hidden' ? null : children }) }));
2806
2773
  }
2807
2774
 
2808
2775
 
@@ -2842,7 +2809,7 @@ exports.DropdownMobile = DropdownMobile;
2842
2809
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
2843
2810
  const __1 = __webpack_require__(/*! .. */ "./src/components/index.ts");
2844
2811
  function DropdownMobile({ children, ...props }) {
2845
- return ((0, jsx_runtime_1.jsx)(__1.Tile, { elevation: '2', pi: '0', pb: '0', w: '100vw', maxHeight: '80%', position: 'fixed', display: 'flex', flexDirection: 'column', overflow: 'auto', style: { bottom: 0, left: 0 }, zIndex: 2, "data-testid": 'dropdown', ...props, children: (0, jsx_runtime_1.jsx)(__1.Box, { flexShrink: 1, pb: 16, children: children }) }));
2812
+ return ((0, jsx_runtime_1.jsx)(__1.Tile, { elevation: '2', paddingInline: '0', paddingBlock: '0', width: '100vw', maxHeight: '80%', position: 'fixed', display: 'flex', flexDirection: 'column', overflow: 'auto', style: { bottom: 0, left: 0 }, zIndex: 2, "data-testid": 'dropdown', ...props, children: (0, jsx_runtime_1.jsx)(__1.Box, { flexShrink: 1, paddingBlock: 16, children: children }) }));
2846
2813
  }
2847
2814
 
2848
2815
 
@@ -3240,7 +3207,7 @@ function FlexContainer({ inline = false, children, direction, wrap, alignItems,
3240
3207
  }
3241
3208
  return props;
3242
3209
  }, [alignContent, alignItems, direction, inline, justifyContent, wrap]);
3243
- return ((0, jsx_runtime_1.jsx)(BoxTransforms_1.BoxTransforms.Provider, { children: children, value: (0, BoxTransforms_1.useComposedBoxTransform)(transformFn) }));
3210
+ return ((0, jsx_runtime_1.jsx)(BoxTransforms_1.BoxTransforms.Provider, { value: (0, BoxTransforms_1.useComposedBoxTransform)(transformFn), children: children }));
3244
3211
  }
3245
3212
  exports["default"] = FlexContainer;
3246
3213
 
@@ -3280,7 +3247,7 @@ function FlexItem({ children, order, grow, shrink, basis, align, }) {
3280
3247
  }
3281
3248
  return props;
3282
3249
  }, [align, basis, grow, order, shrink]);
3283
- return ((0, jsx_runtime_1.jsx)(BoxTransforms_1.BoxTransforms.Provider, { children: children, value: (0, BoxTransforms_1.useComposedBoxTransform)(transformFn) }));
3250
+ return ((0, jsx_runtime_1.jsx)(BoxTransforms_1.BoxTransforms.Provider, { value: (0, BoxTransforms_1.useComposedBoxTransform)(transformFn), children: children }));
3284
3251
  }
3285
3252
  exports["default"] = FlexItem;
3286
3253
 
@@ -3413,7 +3380,7 @@ const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-ru
3413
3380
  const icons_1 = __importDefault(__webpack_require__(/*! @rocket.chat/icons */ "@rocket.chat/icons"));
3414
3381
  const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
3415
3382
  function Icon({ name, size, ...props }) {
3416
- return ((0, jsx_runtime_1.jsx)(Box_1.Box, { is: 'i', "rcx-icon": true, "rcx-icon--name": name, children: icons_1.default[name], "aria-hidden": 'true', fontSize: size, ...props }));
3383
+ return ((0, jsx_runtime_1.jsx)(Box_1.Box, { is: 'i', "rcx-icon": true, "rcx-icon--name": name, "aria-hidden": 'true', fontSize: size, ...props, children: icons_1.default[name] }));
3417
3384
  }
3418
3385
  exports["default"] = Icon;
3419
3386
 
@@ -3620,7 +3587,7 @@ const LabelContext = (0, react_1.createContext)(false);
3620
3587
  function Label({ disabled, is, required, children, ...props }) {
3621
3588
  const isInsideLabel = (0, react_1.useContext)(LabelContext);
3622
3589
  const component = is || (isInsideLabel && 'span') || 'label';
3623
- return ((0, jsx_runtime_1.jsx)(LabelContext.Provider, { value: true, children: (0, jsx_runtime_1.jsxs)(Box_1.Box, { is: component, "rcx-label": true, "rcx-label--disabled": disabled, ...props, children: [children, required && ((0, jsx_runtime_1.jsx)(Box_1.Box, { is: 'span', "rcx-label__required": true, mis: 'x4', "aria-hidden": 'true', children: "*" }))] }) }));
3590
+ return ((0, jsx_runtime_1.jsx)(LabelContext.Provider, { value: true, children: (0, jsx_runtime_1.jsxs)(Box_1.Box, { is: component, "rcx-label": true, "rcx-label--disabled": disabled, ...props, children: [children, required && ((0, jsx_runtime_1.jsx)(Box_1.Box, { is: 'span', "rcx-label__required": true, marginInlineStart: 'x4', "aria-hidden": 'true', children: "*" }))] }) }));
3624
3591
  }
3625
3592
  exports["default"] = Label;
3626
3593
 
@@ -3639,7 +3606,7 @@ exports.LabelInfo = void 0;
3639
3606
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
3640
3607
  const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
3641
3608
  const Icon_1 = __webpack_require__(/*! ../Icon */ "./src/components/Icon/index.ts");
3642
- const LabelInfo = ({ title, id, ...props }) => ((0, jsx_runtime_1.jsxs)(Box_1.Box, { is: 'span', mi: 2, "rcx-label__info": true, children: [(0, jsx_runtime_1.jsx)("span", { hidden: true, id: id, children: title }), (0, jsx_runtime_1.jsx)(Icon_1.Icon, { ...props, name: 'info-circled', title: title })] }));
3609
+ const LabelInfo = ({ title, id, ...props }) => ((0, jsx_runtime_1.jsxs)(Box_1.Box, { is: 'span', marginInline: 2, "rcx-label__info": true, children: [(0, jsx_runtime_1.jsx)("span", { hidden: true, id: id, children: title }), (0, jsx_runtime_1.jsx)(Icon_1.Icon, { ...props, name: 'info-circled', title: title })] }));
3643
3610
  exports.LabelInfo = LabelInfo;
3644
3611
 
3645
3612
 
@@ -3743,7 +3710,7 @@ const Margins = (props) => {
3743
3710
  const patchedChildren = (0, patchChildren_1.patchChildren)(children, (childProps) => ({
3744
3711
  className: (0, appendClassName_1.appendClassName)(childProps.className, (0, appendClassName_1.appendClassName)(className, marginsClassName)),
3745
3712
  }));
3746
- return ((0, jsx_runtime_1.jsx)(BoxTransforms_1.BoxTransforms.Provider, { children: patchedChildren, value: (0, BoxTransforms_1.useComposedBoxTransform)(transformFn) }));
3713
+ return ((0, jsx_runtime_1.jsx)(BoxTransforms_1.BoxTransforms.Provider, { value: (0, BoxTransforms_1.useComposedBoxTransform)(transformFn), children: patchedChildren }));
3747
3714
  };
3748
3715
  exports["default"] = Margins;
3749
3716
 
@@ -3960,7 +3927,7 @@ function MenuSection({ section, state, }) {
3960
3927
  elementType: 'span',
3961
3928
  });
3962
3929
  // If the section is not the first, add a separator element.
3963
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [section.key !== state.collection.getFirstKey() && ((0, jsx_runtime_1.jsx)(Divider_1.Divider, { ...separatorProps })), (0, jsx_runtime_1.jsxs)("div", { ...itemProps, children: [section.rendered && ((0, jsx_runtime_1.jsx)(Option_1.OptionTitle, { ...headingProps, children: section.rendered })), (0, jsx_runtime_1.jsx)(Box_1.Box, { ...groupProps, p: '0', children: [...section.childNodes].map((node) => ((0, jsx_runtime_1.jsx)(MenuItem_1.default, { item: node, state: state }, node.key))) })] })] }));
3930
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [section.key !== state.collection.getFirstKey() && ((0, jsx_runtime_1.jsx)(Divider_1.Divider, { ...separatorProps })), (0, jsx_runtime_1.jsxs)("div", { ...itemProps, children: [section.rendered && ((0, jsx_runtime_1.jsx)(Option_1.OptionTitle, { ...headingProps, children: section.rendered })), (0, jsx_runtime_1.jsx)(Box_1.Box, { ...groupProps, padding: '0', children: [...section.childNodes].map((node) => ((0, jsx_runtime_1.jsx)(MenuItem_1.default, { item: node, state: state }, node.key))) })] })] }));
3964
3931
  }
3965
3932
  exports["default"] = MenuSection;
3966
3933
 
@@ -5671,7 +5638,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
5671
5638
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
5672
5639
  const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
5673
5640
  const Scrollable_1 = __webpack_require__(/*! ../Scrollable */ "./src/components/Scrollable/index.ts");
5674
- const ModalContent = ({ children, onScrollContent, ...props }) => ((0, jsx_runtime_1.jsx)(Scrollable_1.Scrollable, { vertical: true, onScrollContent: onScrollContent, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-modal__content": true, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-modal__content-wrapper": true, mi: 24, ...props, children: children }) }) }));
5641
+ const ModalContent = ({ children, onScrollContent, ...props }) => ((0, jsx_runtime_1.jsx)(Scrollable_1.Scrollable, { vertical: true, onScrollContent: onScrollContent, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-modal__content": true, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-modal__content-wrapper": true, marginInline: 24, ...props, children: children }) }) }));
5675
5642
  exports["default"] = ModalContent;
5676
5643
 
5677
5644
 
@@ -5785,7 +5752,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
5785
5752
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
5786
5753
  const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts");
5787
5754
  const Icon_1 = __webpack_require__(/*! ../Icon */ "./src/components/Icon/index.ts");
5788
- const ModalIcon = ({ size = 'x20', name, alignItems = 'center', ...props }) => ((0, jsx_runtime_1.jsx)(Box_1.Box, { ...props, display: 'flex', alignItems: alignItems, children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { mb: 4, name: name, size: size }) }));
5755
+ const ModalIcon = ({ size = 'x20', name, alignItems = 'center', ...props }) => ((0, jsx_runtime_1.jsx)(Box_1.Box, { ...props, display: 'flex', alignItems: alignItems, children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { marginBlock: 4, name: name, size: size }) }));
5789
5756
  exports["default"] = ModalIcon;
5790
5757
 
5791
5758
 
@@ -7081,7 +7048,7 @@ const PaginatedSelect = ({ value, withTitle, filter, setFilter: _setFilter, erro
7081
7048
  return show();
7082
7049
  }
7083
7050
  });
7084
- return ((0, jsx_runtime_1.jsxs)(Box_1.Box, { "rcx-select": true, disabled: disabled, ref: containerRef, onClick: handleClick, className: (0, react_1.useMemo)(() => [error && 'invalid', disabled && 'disabled'], [error, disabled]), ...props, children: [(0, jsx_runtime_1.jsxs)(PaginatedSelectWrapper_1.default, { display: 'flex', mi: 'neg-x4', "rcx-select__wrapper--hidden": !!visibleText, children: [visibleText && ((0, jsx_runtime_1.jsx)(Box_1.Box, { flexGrow: 1, is: 'span', mi: 4, "rcx-select__item": true, fontScale: 'p2m', color: valueLabel ? 'default' : 'hint', children: visibleText })), (0, jsx_runtime_1.jsx)(Anchor, { disabled: disabled, "rcx-input-box--undecorated": true, filter: filter, ref: ref, "aria-haspopup": 'listbox', onClick: show, onBlur: hide }), (0, jsx_runtime_1.jsx)(Margins_1.Margins, { inline: 'x4', children: (0, jsx_runtime_1.jsx)(SelectAddon_1.default, { children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: visible === AnimatedVisibility_1.AnimatedVisibility.VISIBLE
7051
+ return ((0, jsx_runtime_1.jsxs)(Box_1.Box, { "rcx-select": true, disabled: disabled, ref: containerRef, onClick: handleClick, className: (0, react_1.useMemo)(() => [error && 'invalid', disabled && 'disabled'], [error, disabled]), ...props, children: [(0, jsx_runtime_1.jsxs)(PaginatedSelectWrapper_1.default, { display: 'flex', marginInline: 'neg-x4', "rcx-select__wrapper--hidden": !!visibleText, children: [visibleText && ((0, jsx_runtime_1.jsx)(Box_1.Box, { flexGrow: 1, is: 'span', marginInline: 4, "rcx-select__item": true, fontScale: 'p2m', color: valueLabel ? 'default' : 'hint', children: visibleText })), (0, jsx_runtime_1.jsx)(Anchor, { disabled: disabled, "rcx-input-box--undecorated": true, filter: filter, ref: ref, "aria-haspopup": 'listbox', onClick: show, onBlur: hide }), (0, jsx_runtime_1.jsx)(Margins_1.Margins, { inline: 'x4', children: (0, jsx_runtime_1.jsx)(SelectAddon_1.default, { children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: visible === AnimatedVisibility_1.AnimatedVisibility.VISIBLE
7085
7052
  ? 'chevron-up'
7086
7053
  : 'chevron-down', size: 'x20' }) }) })] }), (0, jsx_runtime_1.jsx)(PositionAnimated_1.PositionAnimated, { visible: visible, anchor: containerRef, children: (0, jsx_runtime_1.jsx)(_Options, { withTitle: withTitle, width: borderBoxSize.inlineSize, role: 'listbox', filter: filter, options: options, onSelect: internalChangedByClick, endReached: endReached, onMouseDown: prevent_1.prevent, renderItem: renderItem }) })] }));
7087
7054
  };
@@ -7103,7 +7070,7 @@ const react_1 = __webpack_require__(/*! react */ "react");
7103
7070
  const InputBox_1 = __webpack_require__(/*! ../InputBox */ "./src/components/InputBox/index.ts");
7104
7071
  const PaginatedSelect_1 = __webpack_require__(/*! ./PaginatedSelect */ "./src/components/PaginatedSelect/PaginatedSelect.tsx");
7105
7072
  const PaginatedSelectFiltered = ({ filter, setFilter, options, placeholder, ...props }) => {
7106
- const anchor = (0, react_1.useMemo)(() => ({ filter, onChange: _onChange, ...props }) => ((0, jsx_runtime_1.jsx)(InputBox_1.Input, { mi: 4, flexGrow: 1, className: 'rcx-select__focus', placeholder: placeholder, value: filter, onChange: (e) => {
7073
+ const anchor = (0, react_1.useMemo)(() => ({ filter, onChange: _onChange, ...props }) => ((0, jsx_runtime_1.jsx)(InputBox_1.Input, { marginInline: 4, flexGrow: 1, className: 'rcx-select__focus', placeholder: placeholder, value: filter, onChange: (e) => {
7107
7074
  setFilter(e.currentTarget.value);
7108
7075
  }, ...props, "rcx-input-box--undecorated": true })), [placeholder, setFilter]);
7109
7076
  return ((0, jsx_runtime_1.jsx)(PaginatedSelect_1.PaginatedSelect, { placeholder: undefined, filter: filter, options: options, ...props, anchor: anchor }));
@@ -7931,7 +7898,7 @@ const getColor = (isLight, variant, error) => {
7931
7898
  * The `ProgressBar` is used to inform the user the progress of an operation.
7932
7899
  */
7933
7900
  function ProgressBar({ percentage, variant = 'info', error, animated, light = false, ...props }) {
7934
- return ((0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-progress-bar": true, title: error || undefined, overflow: 'hidden', ...props, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { bg: getColor(light, variant, error), "rcx-progress-bar__fill--animated": animated, "rcx-progress-bar__fill": true, width: getWidth(percentage) }) }));
7901
+ return ((0, jsx_runtime_1.jsx)(Box_1.Box, { "rcx-progress-bar": true, title: error || undefined, overflow: 'hidden', ...props, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { backgroundColor: getColor(light, variant, error), "rcx-progress-bar__fill--animated": animated, "rcx-progress-bar__fill": true, width: getWidth(percentage) }) }));
7935
7902
  }
7936
7903
  exports["default"] = ProgressBar;
7937
7904
 
@@ -8096,7 +8063,7 @@ const Scrollable = ({ children, horizontal, vertical, smooth, onScrollContent, }
8096
8063
  }
8097
8064
  return props;
8098
8065
  }, [className, handleScroll, onScrollContent]);
8099
- return ((0, jsx_runtime_1.jsx)(BoxTransforms_1.BoxTransforms.Provider, { children: children, value: (0, BoxTransforms_1.useComposedBoxTransform)(transformFn) }));
8066
+ return ((0, jsx_runtime_1.jsx)(BoxTransforms_1.BoxTransforms.Provider, { value: (0, BoxTransforms_1.useComposedBoxTransform)(transformFn), children: children }));
8100
8067
  };
8101
8068
  exports["default"] = Scrollable;
8102
8069
 
@@ -8322,7 +8289,7 @@ const InputBox_1 = __webpack_require__(/*! ../InputBox */ "./src/components/Inpu
8322
8289
  const SelectFilteredContext_1 = __webpack_require__(/*! ./SelectFilteredContext */ "./src/components/Select/SelectFilteredContext.ts");
8323
8290
  function SelectFilteredAnchor({ children: _children, ...props }) {
8324
8291
  const { placeholder, filter, setFilter } = (0, react_1.use)(SelectFilteredContext_1.SelectFilteredContext);
8325
- return ((0, jsx_runtime_1.jsx)(InputBox_1.Input, { mi: 4, flexGrow: 1, className: 'rcx-select__focus', placeholder: placeholder, value: filter, onInput: (e) => setFilter?.(e.currentTarget.value), ...props, "rcx-input-box--undecorated": true }));
8292
+ return ((0, jsx_runtime_1.jsx)(InputBox_1.Input, { marginInline: 4, flexGrow: 1, className: 'rcx-select__focus', placeholder: placeholder, value: filter, onInput: (e) => setFilter?.(e.currentTarget.value), ...props, "rcx-input-box--undecorated": true }));
8326
8293
  }
8327
8294
  exports["default"] = SelectFilteredAnchor;
8328
8295
 
@@ -8438,8 +8405,8 @@ function SelectLegacy({ ref, value, filter, error, disabled, options = [], ancho
8438
8405
  innerRef.current?.focus();
8439
8406
  return show();
8440
8407
  });
8441
- return ((0, jsx_runtime_1.jsxs)(Box_1.Box, { "rcx-select": true, disabled: disabled, ref: containerRef, onClick: handleClick, className: (0, react_1.useMemo)(() => [error && 'invalid', disabled && 'disabled'], [error, disabled]), ...props, children: [(0, jsx_runtime_1.jsxs)(Wrapper, { display: 'flex', mi: 'neg-x4', "rcx-select__wrapper--hidden": !!visibleText, children: [visibleText &&
8442
- (RenderSelected ? ((0, jsx_runtime_1.jsx)(RenderSelected, { role: 'option', value: getValue(option), label: valueLabel, onClick: internalChangedByClick }, getValue(option))) : ((0, jsx_runtime_1.jsx)(Box_1.Box, { flexGrow: 1, is: 'span', mi: 4, "rcx-select__item": true, fontScale: 'p2', color: valueLabel ? 'default' : 'hint', children: visibleText }))), (0, jsx_runtime_1.jsx)(Anchor, { ref: anchorRef, disabled: disabled ?? false, onClick: show, onBlur: hide, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, children: !value ? option || placeholder : null }), (0, jsx_runtime_1.jsx)(Margins_1.Margins, { inline: 'x4', children: (0, jsx_runtime_1.jsx)(SelectAddon_1.default, { children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: visible === AnimatedVisibility_1.AnimatedVisibility.VISIBLE
8408
+ return ((0, jsx_runtime_1.jsxs)(Box_1.Box, { "rcx-select": true, disabled: disabled, ref: containerRef, onClick: handleClick, className: (0, react_1.useMemo)(() => [error && 'invalid', disabled && 'disabled'], [error, disabled]), ...props, children: [(0, jsx_runtime_1.jsxs)(Wrapper, { display: 'flex', marginInline: 'neg-x4', "rcx-select__wrapper--hidden": !!visibleText, children: [visibleText &&
8409
+ (RenderSelected ? ((0, jsx_runtime_1.jsx)(RenderSelected, { role: 'option', value: getValue(option), label: valueLabel, onClick: internalChangedByClick }, getValue(option))) : ((0, jsx_runtime_1.jsx)(Box_1.Box, { flexGrow: 1, is: 'span', marginInline: 4, "rcx-select__item": true, fontScale: 'p2', color: valueLabel ? 'default' : 'hint', children: visibleText }))), (0, jsx_runtime_1.jsx)(Anchor, { ref: anchorRef, disabled: disabled ?? false, onClick: show, onBlur: hide, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, children: !value ? option || placeholder : null }), (0, jsx_runtime_1.jsx)(Margins_1.Margins, { inline: 'x4', children: (0, jsx_runtime_1.jsx)(SelectAddon_1.default, { children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: visible === AnimatedVisibility_1.AnimatedVisibility.VISIBLE
8443
8410
  ? 'chevron-up'
8444
8411
  : addonIcon || 'chevron-down', size: 'x20' }) }) })] }), (0, jsx_runtime_1.jsx)(PositionAnimated_1.PositionAnimated, { visible: visible, anchor: containerRef, children: (0, jsx_runtime_1.jsx)(_Options, { width: borderBoxSize.inlineSize, role: 'listbox', filter: filter, options: filteredOptions, onSelect: internalChangedByClick, renderItem: renderItem, cursor: cursor, customEmpty: customEmpty }) })] }));
8445
8412
  }
@@ -8641,7 +8608,7 @@ exports["default"] = SidebarBanner;
8641
8608
  Object.defineProperty(exports, "__esModule", ({ value: true }));
8642
8609
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
8643
8610
  const Divider_1 = __webpack_require__(/*! ../Divider */ "./src/components/Divider/index.ts");
8644
- const SidebarDivider = () => (0, jsx_runtime_1.jsx)(Divider_1.Divider, { "rcx-sidebar--divider": true, mbs: -2, mbe: 0 });
8611
+ const SidebarDivider = () => ((0, jsx_runtime_1.jsx)(Divider_1.Divider, { "rcx-sidebar--divider": true, marginBlockStart: -2, marginBlockEnd: 0 }));
8645
8612
  exports["default"] = SidebarDivider;
8646
8613
 
8647
8614
 
@@ -9103,7 +9070,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
9103
9070
  exports.SidebarDivider = void 0;
9104
9071
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
9105
9072
  const Divider_1 = __webpack_require__(/*! ../Divider */ "./src/components/Divider/index.ts");
9106
- const SidebarDivider = () => ((0, jsx_runtime_1.jsx)(Divider_1.Divider, { "rcx-sidebar-v2--divider": true, mbs: -2, mbe: 0 }));
9073
+ const SidebarDivider = () => ((0, jsx_runtime_1.jsx)(Divider_1.Divider, { "rcx-sidebar-v2--divider": true, marginBlockStart: -2, marginBlockEnd: 0 }));
9107
9074
  exports.SidebarDivider = SidebarDivider;
9108
9075
 
9109
9076
 
@@ -9743,7 +9710,7 @@ exports["default"] = Sidepanel;
9743
9710
  Object.defineProperty(exports, "__esModule", ({ value: true }));
9744
9711
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
9745
9712
  const Divider_1 = __webpack_require__(/*! ../Divider */ "./src/components/Divider/index.ts");
9746
- const SidepanelDivider = () => ((0, jsx_runtime_1.jsx)(Divider_1.Divider, { "rcx-sidepanel--divider": true, mbs: -2, mbe: 0 }));
9713
+ const SidepanelDivider = () => ((0, jsx_runtime_1.jsx)(Divider_1.Divider, { "rcx-sidepanel--divider": true, marginBlockStart: -2, marginBlockEnd: 0 }));
9747
9714
  exports["default"] = SidepanelDivider;
9748
9715
 
9749
9716
 
@@ -10576,7 +10543,7 @@ const TableCell = ({ align, clickable, children, ...props }) => {
10576
10543
  const isInsideHead = (0, react_1.useContext)(TableHead_1.TableHeadContext);
10577
10544
  const innerElement = children ??
10578
10545
  (!isInsideHead ? ((0, jsx_runtime_1.jsx)(Box_1.Box, { display: 'inline-block', is: 'hr', width: 'x14', borderWidth: 1 })) : undefined);
10579
- return ((0, jsx_runtime_1.jsx)(Box_1.Box, { is: isInsideHead ? 'th' : 'td', "rcx-table__cell": true, "rcx-table__cell--align": align, "rcx-table__cell--header": isInsideHead, "rcx-table__cell--clickable": clickable, children: innerElement, ...props }));
10546
+ return ((0, jsx_runtime_1.jsx)(Box_1.Box, { is: isInsideHead ? 'th' : 'td', "rcx-table__cell": true, "rcx-table__cell--align": align, "rcx-table__cell--header": isInsideHead, "rcx-table__cell--clickable": clickable, ...props, children: innerElement }));
10580
10547
  };
10581
10548
  exports["default"] = TableCell;
10582
10549
 
@@ -10644,7 +10611,7 @@ exports["default"] = TableRow;
10644
10611
  Object.defineProperty(exports, "__esModule", ({ value: true }));
10645
10612
  const jsx_runtime_1 = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
10646
10613
  const Box_1 = __webpack_require__(/*! ../../Box */ "./src/components/Box/index.ts");
10647
- const TableSelection = ({ children, text, ...props }) => ((0, jsx_runtime_1.jsxs)(Box_1.Box, { "rcx-table__selection": true, display: 'flex', alignItems: 'center', justifyContent: 'space-between', pi: 24, elevation: '2', ...props, children: [(0, jsx_runtime_1.jsx)(Box_1.Box, { fontScale: 'p2b', mb: 16, flexShrink: 1, withTruncatedText: true, children: text }), children && ((0, jsx_runtime_1.jsx)(Box_1.Box, { mi: 'neg-x8', fontScale: 'p2m', flexShrink: 0, children: children }))] }));
10614
+ const TableSelection = ({ children, text, ...props }) => ((0, jsx_runtime_1.jsxs)(Box_1.Box, { "rcx-table__selection": true, display: 'flex', alignItems: 'center', justifyContent: 'space-between', paddingInline: 24, elevation: '2', ...props, children: [(0, jsx_runtime_1.jsx)(Box_1.Box, { fontScale: 'p2b', marginBlock: 16, flexShrink: 1, withTruncatedText: true, children: text }), children && ((0, jsx_runtime_1.jsx)(Box_1.Box, { marginInline: 'neg-x8', fontScale: 'p2m', flexShrink: 0, children: children }))] }));
10648
10615
  exports["default"] = TableSelection;
10649
10616
 
10650
10617
 
@@ -10761,7 +10728,7 @@ const Box_1 = __webpack_require__(/*! ../Box */ "./src/components/Box/index.ts")
10761
10728
  * Tabs is a component to navigate around the UI using buttons arranged together with the selected tab highlighted.
10762
10729
  */
10763
10730
  function Tabs({ children, divider = true, ...props }) {
10764
- return ((0, jsx_runtime_1.jsx)(Box_1.Box, { is: 'div', "rcx-tabs": true, "rcx-tabs--with-divider": divider, ...props, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { is: 'div', "rcx-tabs__scroll-box": true, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { is: 'div', "rcx-tabs__wrapper": true, children: children, role: 'tablist' }) }) }));
10731
+ return ((0, jsx_runtime_1.jsx)(Box_1.Box, { is: 'div', "rcx-tabs": true, "rcx-tabs--with-divider": divider, ...props, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { is: 'div', "rcx-tabs__scroll-box": true, children: (0, jsx_runtime_1.jsx)(Box_1.Box, { is: 'div', "rcx-tabs__wrapper": true, role: 'tablist', children: children }) }) }));
10765
10732
  }
10766
10733
  exports["default"] = Tabs;
10767
10734