@moderneinc/neo-styled-components 2.0.3-next.901bb3 → 2.0.3-next.9b94c6

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.
package/dist/index.js CHANGED
@@ -501,7 +501,7 @@ const NeoActivityIndicatorCell = ({ event = 'commit-job', secondaryEvent, scene
501
501
  NeoActivityIndicatorCell.displayName = 'NeoActivityIndicatorCell';
502
502
 
503
503
  /**
504
- * @license lucide-react v0.552.0 - ISC
504
+ * @license lucide-react v0.562.0 - ISC
505
505
  *
506
506
  * This source code is licensed under the ISC license.
507
507
  * See the LICENSE file in the root directory of this source tree.
@@ -528,7 +528,7 @@ const hasA11yProp = (props) => {
528
528
  };
529
529
 
530
530
  /**
531
- * @license lucide-react v0.552.0 - ISC
531
+ * @license lucide-react v0.562.0 - ISC
532
532
  *
533
533
  * This source code is licensed under the ISC license.
534
534
  * See the LICENSE file in the root directory of this source tree.
@@ -547,7 +547,7 @@ var defaultAttributes = {
547
547
  };
548
548
 
549
549
  /**
550
- * @license lucide-react v0.552.0 - ISC
550
+ * @license lucide-react v0.562.0 - ISC
551
551
  *
552
552
  * This source code is licensed under the ISC license.
553
553
  * See the LICENSE file in the root directory of this source tree.
@@ -585,7 +585,7 @@ const Icon = react.forwardRef(
585
585
  );
586
586
 
587
587
  /**
588
- * @license lucide-react v0.552.0 - ISC
588
+ * @license lucide-react v0.562.0 - ISC
589
589
  *
590
590
  * This source code is licensed under the ISC license.
591
591
  * See the LICENSE file in the root directory of this source tree.
@@ -610,7 +610,7 @@ const createLucideIcon = (iconName, iconNode) => {
610
610
  };
611
611
 
612
612
  /**
613
- * @license lucide-react v0.552.0 - ISC
613
+ * @license lucide-react v0.562.0 - ISC
614
614
  *
615
615
  * This source code is licensed under the ISC license.
616
616
  * See the LICENSE file in the root directory of this source tree.
@@ -624,7 +624,7 @@ const __iconNode$h = [
624
624
  const ArrowDown = createLucideIcon("arrow-down", __iconNode$h);
625
625
 
626
626
  /**
627
- * @license lucide-react v0.552.0 - ISC
627
+ * @license lucide-react v0.562.0 - ISC
628
628
  *
629
629
  * This source code is licensed under the ISC license.
630
630
  * See the LICENSE file in the root directory of this source tree.
@@ -638,7 +638,7 @@ const __iconNode$g = [
638
638
  const ArrowUp = createLucideIcon("arrow-up", __iconNode$g);
639
639
 
640
640
  /**
641
- * @license lucide-react v0.552.0 - ISC
641
+ * @license lucide-react v0.562.0 - ISC
642
642
  *
643
643
  * This source code is licensed under the ISC license.
644
644
  * See the LICENSE file in the root directory of this source tree.
@@ -660,7 +660,7 @@ const __iconNode$f = [
660
660
  const CalendarDays = createLucideIcon("calendar-days", __iconNode$f);
661
661
 
662
662
  /**
663
- * @license lucide-react v0.552.0 - ISC
663
+ * @license lucide-react v0.562.0 - ISC
664
664
  *
665
665
  * This source code is licensed under the ISC license.
666
666
  * See the LICENSE file in the root directory of this source tree.
@@ -671,7 +671,7 @@ const __iconNode$e = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
671
671
  const ChevronDown = createLucideIcon("chevron-down", __iconNode$e);
672
672
 
673
673
  /**
674
- * @license lucide-react v0.552.0 - ISC
674
+ * @license lucide-react v0.562.0 - ISC
675
675
  *
676
676
  * This source code is licensed under the ISC license.
677
677
  * See the LICENSE file in the root directory of this source tree.
@@ -682,7 +682,7 @@ const __iconNode$d = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
682
682
  const ChevronLeft = createLucideIcon("chevron-left", __iconNode$d);
683
683
 
684
684
  /**
685
- * @license lucide-react v0.552.0 - ISC
685
+ * @license lucide-react v0.562.0 - ISC
686
686
  *
687
687
  * This source code is licensed under the ISC license.
688
688
  * See the LICENSE file in the root directory of this source tree.
@@ -693,7 +693,7 @@ const __iconNode$c = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
693
693
  const ChevronRight = createLucideIcon("chevron-right", __iconNode$c);
694
694
 
695
695
  /**
696
- * @license lucide-react v0.552.0 - ISC
696
+ * @license lucide-react v0.562.0 - ISC
697
697
  *
698
698
  * This source code is licensed under the ISC license.
699
699
  * See the LICENSE file in the root directory of this source tree.
@@ -704,7 +704,7 @@ const __iconNode$b = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
704
704
  const ChevronUp = createLucideIcon("chevron-up", __iconNode$b);
705
705
 
706
706
  /**
707
- * @license lucide-react v0.552.0 - ISC
707
+ * @license lucide-react v0.562.0 - ISC
708
708
  *
709
709
  * This source code is licensed under the ISC license.
710
710
  * See the LICENSE file in the root directory of this source tree.
@@ -718,7 +718,7 @@ const __iconNode$a = [
718
718
  const ChevronsUpDown = createLucideIcon("chevrons-up-down", __iconNode$a);
719
719
 
720
720
  /**
721
- * @license lucide-react v0.552.0 - ISC
721
+ * @license lucide-react v0.562.0 - ISC
722
722
  *
723
723
  * This source code is licensed under the ISC license.
724
724
  * See the LICENSE file in the root directory of this source tree.
@@ -733,7 +733,7 @@ const __iconNode$9 = [
733
733
  const CircleAlert = createLucideIcon("circle-alert", __iconNode$9);
734
734
 
735
735
  /**
736
- * @license lucide-react v0.552.0 - ISC
736
+ * @license lucide-react v0.562.0 - ISC
737
737
  *
738
738
  * This source code is licensed under the ISC license.
739
739
  * See the LICENSE file in the root directory of this source tree.
@@ -747,7 +747,7 @@ const __iconNode$8 = [
747
747
  const CircleCheck = createLucideIcon("circle-check", __iconNode$8);
748
748
 
749
749
  /**
750
- * @license lucide-react v0.552.0 - ISC
750
+ * @license lucide-react v0.562.0 - ISC
751
751
  *
752
752
  * This source code is licensed under the ISC license.
753
753
  * See the LICENSE file in the root directory of this source tree.
@@ -762,7 +762,7 @@ const __iconNode$7 = [
762
762
  const CircleQuestionMark = createLucideIcon("circle-question-mark", __iconNode$7);
763
763
 
764
764
  /**
765
- * @license lucide-react v0.552.0 - ISC
765
+ * @license lucide-react v0.562.0 - ISC
766
766
  *
767
767
  * This source code is licensed under the ISC license.
768
768
  * See the LICENSE file in the root directory of this source tree.
@@ -777,7 +777,7 @@ const __iconNode$6 = [
777
777
  const Columns3 = createLucideIcon("columns-3", __iconNode$6);
778
778
 
779
779
  /**
780
- * @license lucide-react v0.552.0 - ISC
780
+ * @license lucide-react v0.562.0 - ISC
781
781
  *
782
782
  * This source code is licensed under the ISC license.
783
783
  * See the LICENSE file in the root directory of this source tree.
@@ -792,7 +792,7 @@ const __iconNode$5 = [
792
792
  const ListFilter = createLucideIcon("list-filter", __iconNode$5);
793
793
 
794
794
  /**
795
- * @license lucide-react v0.552.0 - ISC
795
+ * @license lucide-react v0.562.0 - ISC
796
796
  *
797
797
  * This source code is licensed under the ISC license.
798
798
  * See the LICENSE file in the root directory of this source tree.
@@ -806,7 +806,7 @@ const __iconNode$4 = [
806
806
  const Plus = createLucideIcon("plus", __iconNode$4);
807
807
 
808
808
  /**
809
- * @license lucide-react v0.552.0 - ISC
809
+ * @license lucide-react v0.562.0 - ISC
810
810
  *
811
811
  * This source code is licensed under the ISC license.
812
812
  * See the LICENSE file in the root directory of this source tree.
@@ -820,7 +820,7 @@ const __iconNode$3 = [
820
820
  const Search = createLucideIcon("search", __iconNode$3);
821
821
 
822
822
  /**
823
- * @license lucide-react v0.552.0 - ISC
823
+ * @license lucide-react v0.562.0 - ISC
824
824
  *
825
825
  * This source code is licensed under the ISC license.
826
826
  * See the LICENSE file in the root directory of this source tree.
@@ -837,7 +837,7 @@ const __iconNode$2 = [
837
837
  const Trash2 = createLucideIcon("trash-2", __iconNode$2);
838
838
 
839
839
  /**
840
- * @license lucide-react v0.552.0 - ISC
840
+ * @license lucide-react v0.562.0 - ISC
841
841
  *
842
842
  * This source code is licensed under the ISC license.
843
843
  * See the LICENSE file in the root directory of this source tree.
@@ -856,7 +856,7 @@ const __iconNode$1 = [
856
856
  const WifiOff = createLucideIcon("wifi-off", __iconNode$1);
857
857
 
858
858
  /**
859
- * @license lucide-react v0.552.0 - ISC
859
+ * @license lucide-react v0.562.0 - ISC
860
860
  *
861
861
  * This source code is licensed under the ISC license.
862
862
  * See the LICENSE file in the root directory of this source tree.
@@ -3984,11 +3984,11 @@ NeoInputField.displayName = 'NeoInputField';
3984
3984
  // Size configuration for consistent styling
3985
3985
  const sizeConfig = {
3986
3986
  small: {
3987
- height: 36,
3988
- paddingTop: neoDesign.spacing.spacing_1,
3989
- paddingRight: neoDesign.spacing.spacing_1_1_4,
3990
- paddingBottom: neoDesign.spacing.spacing_1,
3991
- paddingLeft: neoDesign.spacing.spacing_1_1_4,
3987
+ height: neoDesign.spacing.spacing_3_1_2,
3988
+ paddingTop: 1,
3989
+ paddingRight: neoDesign.spacing.spacing_3_4,
3990
+ paddingBottom: 1,
3991
+ paddingLeft: neoDesign.spacing.spacing_3_4,
3992
3992
  gap: neoDesign.spacing.spacing_1,
3993
3993
  iconSize: neoDesign.typography.fontSize.h4,
3994
3994
  fontSize: neoDesign.typography.fontSize.sm,
@@ -3996,10 +3996,10 @@ const sizeConfig = {
3996
3996
  },
3997
3997
  medium: {
3998
3998
  height: neoDesign.spacing.spacing_5,
3999
- paddingTop: neoDesign.spacing.spacing_1,
4000
- paddingRight: neoDesign.spacing.spacing_1_1_4,
4001
- paddingBottom: neoDesign.spacing.spacing_1,
4002
- paddingLeft: neoDesign.spacing.spacing_1,
3999
+ paddingTop: 1,
4000
+ paddingRight: neoDesign.spacing.spacing_3_4,
4001
+ paddingBottom: 1,
4002
+ paddingLeft: neoDesign.spacing.spacing_3_4,
4003
4003
  gap: neoDesign.spacing.spacing_1,
4004
4004
  iconSize: neoDesign.typography.fontSize.h4,
4005
4005
  fontSize: neoDesign.typography.fontSize.default,
@@ -4007,10 +4007,10 @@ const sizeConfig = {
4007
4007
  },
4008
4008
  large: {
4009
4009
  height: neoDesign.spacing.spacing_6,
4010
- paddingTop: neoDesign.spacing.spacing_1,
4011
- paddingRight: neoDesign.spacing.spacing_1_1_4,
4012
- paddingBottom: neoDesign.spacing.spacing_1,
4013
- paddingLeft: neoDesign.spacing.spacing_1_1_4,
4010
+ paddingTop: 1,
4011
+ paddingRight: neoDesign.spacing.spacing_3_4,
4012
+ paddingBottom: 1,
4013
+ paddingLeft: neoDesign.spacing.spacing_3_4,
4014
4014
  gap: neoDesign.spacing.spacing_1_1_2,
4015
4015
  iconSize: neoDesign.typography.fontSize.h2,
4016
4016
  fontSize: neoDesign.typography.fontSize.default,
@@ -4019,10 +4019,10 @@ const sizeConfig = {
4019
4019
  },
4020
4020
  xlarge: {
4021
4021
  height: neoDesign.spacing.spacing_8,
4022
- paddingTop: neoDesign.spacing.spacing_1,
4023
- paddingRight: neoDesign.spacing.spacing_1_1_4,
4024
- paddingBottom: neoDesign.spacing.spacing_1,
4025
- paddingLeft: neoDesign.spacing.spacing_1_1_4,
4022
+ paddingTop: 1,
4023
+ paddingRight: neoDesign.spacing.spacing_3_4,
4024
+ paddingBottom: 1,
4025
+ paddingLeft: neoDesign.spacing.spacing_3_4,
4026
4026
  gap: neoDesign.spacing.spacing_2,
4027
4027
  iconSize: neoDesign.typography.fontSize.h2,
4028
4028
  fontSize: neoDesign.typography.fontSize.default,
@@ -4031,10 +4031,10 @@ const sizeConfig = {
4031
4031
  },
4032
4032
  xxlarge: {
4033
4033
  height: neoDesign.spacing.spacing_10,
4034
- paddingTop: neoDesign.spacing.spacing_1,
4035
- paddingRight: neoDesign.spacing.spacing_1_1_2,
4036
- paddingBottom: neoDesign.spacing.spacing_1,
4037
- paddingLeft: neoDesign.spacing.spacing_1_1_2,
4034
+ paddingTop: 1,
4035
+ paddingRight: neoDesign.spacing.spacing_3_4,
4036
+ paddingBottom: 1,
4037
+ paddingLeft: neoDesign.spacing.spacing_3_4,
4038
4038
  gap: neoDesign.spacing.spacing_2,
4039
4039
  iconSize: neoDesign.spacing.spacing_5,
4040
4040
  fontSize: neoDesign.typography.fontSize.h5,
@@ -4079,10 +4079,17 @@ const StyledListItemButton$1 = styles.styled(ListItemButton, {
4079
4079
  }),
4080
4080
  },
4081
4081
  // Primary text styling
4082
+ // Font weight varies by size per Figma:
4083
+ // - Default: small/medium use 400, large/xlarge/xxlarge use 500
4084
+ // - Link: xxlarge uses 600, others use their default weight
4082
4085
  '& .list-item-primary': {
4083
4086
  fontSize: theme.typography.pxToRem(config.fontSize),
4084
4087
  lineHeight: config.lineHeight,
4085
- fontWeight: neoDesign.typography.fontWeight.medium,
4088
+ fontWeight: isLink && size === 'xxlarge'
4089
+ ? neoDesign.typography.fontWeight.semiBold
4090
+ : size === 'small' || size === 'medium'
4091
+ ? neoDesign.typography.fontWeight.regular
4092
+ : neoDesign.typography.fontWeight.medium,
4086
4093
  color: isLink
4087
4094
  ? neoDesign.semanticColors.typography.link.primary
4088
4095
  : neoDesign.semanticColors.typography.navigation.default,
@@ -4114,6 +4121,9 @@ const StyledListItemButton$1 = styles.styled(ListItemButton, {
4114
4121
  backgroundColor: neoDesign.semanticColors.input.background,
4115
4122
  },
4116
4123
  // Selected/Active state
4124
+ // Font weights per Figma:
4125
+ // - Primary: small/medium/xxlarge use 500, large/xlarge use 600
4126
+ // - Secondary: large/xlarge use 500, xxlarge uses 400
4117
4127
  [`&.${ListItemButton.listItemButtonClasses.selected}`]: {
4118
4128
  backgroundColor: neoDesign.semanticColors.buttons.secondary.hoverBackground,
4119
4129
  '&:hover': {
@@ -4123,11 +4133,15 @@ const StyledListItemButton$1 = styles.styled(ListItemButton, {
4123
4133
  color: neoDesign.semanticColors.icons.pressed,
4124
4134
  },
4125
4135
  '& .list-item-primary': {
4126
- fontWeight: neoDesign.typography.fontWeight.semiBold,
4136
+ fontWeight: size === 'large' || size === 'xlarge'
4137
+ ? neoDesign.typography.fontWeight.semiBold
4138
+ : neoDesign.typography.fontWeight.medium,
4127
4139
  color: neoDesign.semanticColors.typography.navigation.default,
4128
4140
  },
4129
4141
  '& .list-item-secondary': {
4130
- fontWeight: neoDesign.typography.fontWeight.medium,
4142
+ fontWeight: size === 'large' || size === 'xlarge'
4143
+ ? neoDesign.typography.fontWeight.medium
4144
+ : neoDesign.typography.fontWeight.regular,
4131
4145
  },
4132
4146
  },
4133
4147
  // Disabled state
@@ -4315,6 +4329,15 @@ const NeoListItemButton = ({ children, selected = false, disabled = false, ...pr
4315
4329
  };
4316
4330
  NeoListItemButton.displayName = 'NeoListItemButton';
4317
4331
 
4332
+ /**
4333
+ * Focus ring box-shadow using Neo design tokens
4334
+ * Combines focusWhite1 (inner white ring) and focusBlue2 (outer blue ring)
4335
+ */
4336
+ const focusRingShadow = `${neoDesign.shadows.focusWhite1.x}px ${neoDesign.shadows.focusWhite1.y}px ${neoDesign.shadows.focusWhite1.blur}px ${neoDesign.shadows.focusWhite1.spread}px ${neoDesign.shadows.focusWhite1.shadow}, ${neoDesign.shadows.focusBlue2.x}px ${neoDesign.shadows.focusBlue2.y}px ${neoDesign.shadows.focusBlue2.blur}px ${neoDesign.shadows.focusBlue2.spread}px ${neoDesign.shadows.focusBlue2.shadow}`;
4337
+ /**
4338
+ * Card box-shadow using Neo design tokens for hover and selected states
4339
+ */
4340
+ const activeShadow = `${neoDesign.shadows.card.x}px ${neoDesign.shadows.card.y}px ${neoDesign.shadows.card.blur}px ${neoDesign.shadows.card.spread}px ${neoDesign.shadows.card.shadow}`;
4318
4341
  /**
4319
4342
  * Styled Card component with Neo design tokens
4320
4343
  */
@@ -4330,16 +4353,17 @@ const StyledCard = styles.styled(MuiCard, {
4330
4353
  backgroundColor: neoDesign.semanticColors.surfaces.card,
4331
4354
  border: `1px solid ${selected ? neoDesign.semanticColors.border.tabActive : neoDesign.semanticColors.border.card}`,
4332
4355
  borderRadius: theme.typography.pxToRem(4),
4333
- boxShadow: 'none',
4334
- transition: theme.transitions.create(['border-color']),
4356
+ boxShadow: selected ? activeShadow : 'none',
4357
+ transition: theme.transitions.create(['border-color', 'background-color', 'box-shadow']),
4335
4358
  cursor: 'pointer',
4336
4359
  '&:hover': {
4337
- borderColor: selected ? neoDesign.semanticColors.border.tabActive : neoDesign.semanticColors.border.card,
4360
+ borderColor: neoDesign.semanticColors.border.tabActive,
4361
+ boxShadow: activeShadow,
4338
4362
  },
4339
4363
  '&:focus-visible': {
4340
- outline: `2px solid ${neoDesign.semanticColors.border.tabActive}`,
4341
- outlineOffset: '2px',
4342
4364
  borderColor: neoDesign.semanticColors.border.tabActive,
4365
+ boxShadow: focusRingShadow,
4366
+ outline: 'none',
4343
4367
  },
4344
4368
  ...(disabled && {
4345
4369
  opacity: 0.5,
@@ -4405,6 +4429,11 @@ const Description = styles.styled('p')(({ theme }) => ({
4405
4429
  lineHeight: 1.5,
4406
4430
  color: neoDesign.colors.grey[800],
4407
4431
  width: '100%',
4432
+ display: '-webkit-box',
4433
+ WebkitLineClamp: 2,
4434
+ WebkitBoxOrient: 'vertical',
4435
+ overflow: 'hidden',
4436
+ textOverflow: 'ellipsis',
4408
4437
  }));
4409
4438
  /**
4410
4439
  * NeoMarketplaceCard - Selectable card component for marketplace items
@@ -4434,9 +4463,12 @@ const Description = styles.styled('p')(({ theme }) => ({
4434
4463
  * - Property 1="Default" → Base state (no props)
4435
4464
  *
4436
4465
  * Design Tokens Used:
4437
- * - semanticColors.surfaces.card (#FFFFFF) - Card background
4466
+ * - semanticColors.surfaces.card (#FFFFFF) - Default card background
4467
+ * - semanticColors.status.info.light (#f2f3ff) - Active/focused card background
4438
4468
  * - semanticColors.border.card (#d1d5db) - Default border
4439
4469
  * - semanticColors.border.tabActive (#2f42ff) - Active/focused border
4470
+ * - shadows.focusWhite1 - Inner white focus ring (2px spread)
4471
+ * - shadows.focusBlue2 - Outer blue focus ring (4px spread)
4440
4472
  * - colors.grey[800] (#1F2937) - Text color
4441
4473
  * - typography.fontSize.xxs (10px) - Recipe count
4442
4474
  * - typography.fontSize.xs (12px) - Description
@@ -4828,7 +4860,19 @@ function NeoPageContent({ pageTitle, subtitle, breadcrumbs, action, sticky = fal
4828
4860
  pb: `${neoDesign.spacing.spacing_2_1_2}px`,
4829
4861
  height: '100%',
4830
4862
  overflow: 'auto',
4831
- }, children: [sticky ? (jsxRuntime.jsx(StickyHeader, { ref: headerRef, sx: { pt: `${neoDesign.spacing.spacing_2}px` }, children: headerContent })) : (jsxRuntime.jsx(Box, { ref: headerRef, sx: { mb: `${neoDesign.spacing.spacing_1}px` }, children: headerContent })), jsxRuntime.jsx(Box, { sx: {
4863
+ }, children: [sticky ? (jsxRuntime.jsx(StickyHeader, { ref: headerRef, sx: {
4864
+ pt: `${neoDesign.spacing.spacing_2}px`,
4865
+ ...(contentMaxWidth !== false && {
4866
+ maxWidth: theme => theme.breakpoints.values[contentMaxWidth],
4867
+ width: '100%',
4868
+ }),
4869
+ }, children: headerContent })) : (jsxRuntime.jsx(Box, { ref: headerRef, sx: {
4870
+ mb: `${neoDesign.spacing.spacing_1}px`,
4871
+ ...(contentMaxWidth !== false && {
4872
+ maxWidth: theme => theme.breakpoints.values[contentMaxWidth],
4873
+ width: '100%',
4874
+ }),
4875
+ }, children: headerContent })), jsxRuntime.jsx(Box, { sx: {
4832
4876
  flexGrow: 1,
4833
4877
  minHeight: 0,
4834
4878
  display: 'flex',
@@ -5666,10 +5710,10 @@ const NeoToastButton = ({ primary, variant = 'default', children, ...props }) =>
5666
5710
  NeoToast.displayName = 'NeoToast';
5667
5711
  NeoToastButton.displayName = 'NeoToastButton';
5668
5712
 
5669
- const ToggleContainer = styles.styled('label')(({ disabled }) => ({
5713
+ const ToggleContainer = styles.styled('label')(({ disabled, size = 'medium' }) => ({
5670
5714
  display: 'inline-flex',
5671
5715
  alignItems: 'flex-start',
5672
- gap: 12,
5716
+ gap: size === 'small' ? 8 : 12,
5673
5717
  cursor: disabled ? 'not-allowed' : 'pointer',
5674
5718
  userSelect: 'none',
5675
5719
  }));
@@ -5821,7 +5865,7 @@ const NeoToggle = ({ size = 'medium', label, helperText, disabled, ...props }) =
5821
5865
  return jsxRuntime.jsx(StyledSwitch, { size: size, disabled: disabled, ...props });
5822
5866
  }
5823
5867
  // With label, wrap in container for proper layout
5824
- return (jsxRuntime.jsxs(ToggleContainer, { disabled: disabled, children: [jsxRuntime.jsx(StyledSwitch, { size: size, disabled: disabled, ...props }), jsxRuntime.jsxs(LabelContainer, { children: [label && jsxRuntime.jsx(Label, { size: size, children: label }), helperText && jsxRuntime.jsx(HelperText, { size: size, children: helperText })] })] }));
5868
+ return (jsxRuntime.jsxs(ToggleContainer, { disabled: disabled, size: size, children: [jsxRuntime.jsx(StyledSwitch, { size: size, disabled: disabled, ...props }), jsxRuntime.jsxs(LabelContainer, { children: [label && jsxRuntime.jsx(Label, { size: size, children: label }), helperText && jsxRuntime.jsx(HelperText, { size: size, children: helperText })] })] }));
5825
5869
  };
5826
5870
  NeoToggle.displayName = 'NeoToggle';
5827
5871