@bichon/ds 0.0.0 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -3,8 +3,8 @@
3
3
  var react = require('@emotion/react');
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
5
  var react$1 = require('react');
6
- var styled8 = require('@emotion/styled');
7
- var isPropValid = require('@emotion/is-prop-valid');
6
+ var styled18 = require('@emotion/styled');
7
+ var isPropValid8 = require('@emotion/is-prop-valid');
8
8
  var RadixAvatar = require('@radix-ui/react-avatar');
9
9
  var RadixProgress = require('@radix-ui/react-progress');
10
10
  var TextareaAutosize = require('react-textarea-autosize');
@@ -15,6 +15,8 @@ var CheckboxPrimitive = require('@radix-ui/react-checkbox');
15
15
  var RadioGroupPrimitive = require('@radix-ui/react-radio-group');
16
16
  var DropdownMenu2 = require('@radix-ui/react-dropdown-menu');
17
17
  var TooltipPrimitive2 = require('@radix-ui/react-tooltip');
18
+ var ToggleGroup = require('@radix-ui/react-toggle-group');
19
+ var TabsPrimitive = require('@radix-ui/react-tabs');
18
20
 
19
21
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
20
22
 
@@ -36,8 +38,8 @@ function _interopNamespace(e) {
36
38
  return Object.freeze(n);
37
39
  }
38
40
 
39
- var styled8__default = /*#__PURE__*/_interopDefault(styled8);
40
- var isPropValid__default = /*#__PURE__*/_interopDefault(isPropValid);
41
+ var styled18__default = /*#__PURE__*/_interopDefault(styled18);
42
+ var isPropValid8__default = /*#__PURE__*/_interopDefault(isPropValid8);
41
43
  var RadixAvatar__namespace = /*#__PURE__*/_interopNamespace(RadixAvatar);
42
44
  var RadixProgress__namespace = /*#__PURE__*/_interopNamespace(RadixProgress);
43
45
  var TextareaAutosize__default = /*#__PURE__*/_interopDefault(TextareaAutosize);
@@ -47,6 +49,8 @@ var CheckboxPrimitive__namespace = /*#__PURE__*/_interopNamespace(CheckboxPrimit
47
49
  var RadioGroupPrimitive__namespace = /*#__PURE__*/_interopNamespace(RadioGroupPrimitive);
48
50
  var DropdownMenu2__namespace = /*#__PURE__*/_interopNamespace(DropdownMenu2);
49
51
  var TooltipPrimitive2__namespace = /*#__PURE__*/_interopNamespace(TooltipPrimitive2);
52
+ var ToggleGroup__namespace = /*#__PURE__*/_interopNamespace(ToggleGroup);
53
+ var TabsPrimitive__namespace = /*#__PURE__*/_interopNamespace(TabsPrimitive);
50
54
 
51
55
  // src/BichonThemeProvider.tsx
52
56
 
@@ -122,144 +126,110 @@ var colors = {
122
126
  textWarning: basicColor.red[500]
123
127
  };
124
128
 
125
- // src/tokens/typography.ts
126
- var fontSize = {
127
- xs: "12px",
128
- sm: "13px",
129
- base: "14px",
130
- md: "15px",
131
- lg: "16px",
132
- xl: "18px",
133
- "2xl": "20px",
134
- "3xl": "24px",
135
- "4xl": "32px"
136
- };
137
- var fontWeight = {
138
- regular: 400,
139
- medium: 500,
140
- semibold: 600
141
- };
142
- var lineHeight = {
143
- xs: "18px",
144
- sm: "19.5px",
145
- base: "21px",
146
- md: "22.5px",
147
- lg: "24px",
148
- xl: "27px",
149
- "2xl": "29px",
150
- "3xl": "32px",
151
- "4xl": "42px"
152
- };
153
- var letterSpacing = {
154
- tight: "-0.02em",
155
- normal: "0em"
156
- };
157
- var typography = {
158
- // Headings
159
- heading4xl: {
160
- fontSize: fontSize["4xl"],
161
- lineHeight: lineHeight["4xl"],
162
- fontWeight: fontWeight.semibold,
163
- letterSpacing: letterSpacing.tight
164
- },
165
- heading3xl: {
166
- fontSize: fontSize["3xl"],
167
- lineHeight: lineHeight["3xl"],
168
- fontWeight: fontWeight.semibold,
169
- letterSpacing: letterSpacing.tight
170
- },
171
- heading2xl: {
172
- fontSize: fontSize["2xl"],
173
- lineHeight: lineHeight["2xl"],
174
- fontWeight: fontWeight.semibold,
175
- letterSpacing: letterSpacing.tight
176
- },
177
- headingXl: {
178
- fontSize: fontSize.xl,
179
- lineHeight: lineHeight.xl,
180
- fontWeight: fontWeight.semibold,
181
- letterSpacing: letterSpacing.tight
182
- },
183
- headingLg: {
184
- fontSize: fontSize.lg,
185
- lineHeight: lineHeight.lg,
186
- fontWeight: fontWeight.semibold,
187
- letterSpacing: letterSpacing.tight
188
- },
189
- headingBase: {
190
- fontSize: fontSize.base,
191
- lineHeight: lineHeight.base,
192
- fontWeight: fontWeight.semibold,
193
- letterSpacing: letterSpacing.tight
194
- },
195
- // Body Text - Medium
196
- bodyXlMedium: {
197
- fontSize: fontSize.xl,
198
- lineHeight: lineHeight.xl,
199
- fontWeight: fontWeight.medium,
200
- letterSpacing: letterSpacing.tight
201
- },
202
- bodyLgMedium: {
203
- fontSize: fontSize.lg,
204
- lineHeight: lineHeight.lg,
205
- fontWeight: fontWeight.medium,
206
- letterSpacing: letterSpacing.tight
207
- },
208
- bodyMdMedium: {
209
- fontSize: fontSize.md,
210
- lineHeight: lineHeight.md,
211
- fontWeight: fontWeight.medium,
212
- letterSpacing: letterSpacing.tight
213
- },
214
- bodyBaseMedium: {
215
- fontSize: fontSize.base,
216
- lineHeight: lineHeight.base,
217
- fontWeight: fontWeight.medium,
218
- letterSpacing: letterSpacing.tight
219
- },
220
- bodySmMedium: {
221
- fontSize: fontSize.sm,
222
- lineHeight: lineHeight.sm,
223
- fontWeight: fontWeight.medium,
224
- letterSpacing: letterSpacing.tight
225
- },
226
- bodyXsMedium: {
227
- fontSize: fontSize.xs,
228
- lineHeight: lineHeight.xs,
229
- fontWeight: fontWeight.medium,
230
- letterSpacing: letterSpacing.tight
231
- },
232
- // Body Text - Regular
233
- bodyLgRegular: {
234
- fontSize: fontSize.lg,
235
- lineHeight: lineHeight.lg,
236
- fontWeight: fontWeight.regular,
237
- letterSpacing: letterSpacing.tight
238
- },
239
- bodyMdRegular: {
240
- fontSize: fontSize.md,
241
- lineHeight: lineHeight.md,
242
- fontWeight: fontWeight.regular,
243
- letterSpacing: letterSpacing.tight
244
- },
245
- bodyBaseRegular: {
246
- fontSize: fontSize.base,
247
- lineHeight: lineHeight.base,
248
- fontWeight: fontWeight.regular,
249
- letterSpacing: letterSpacing.tight
250
- },
251
- bodySmRegular: {
252
- fontSize: fontSize.sm,
253
- lineHeight: lineHeight.sm,
254
- fontWeight: fontWeight.regular,
255
- letterSpacing: letterSpacing.tight
256
- },
257
- bodyXsRegular: {
258
- fontSize: fontSize.xs,
259
- lineHeight: lineHeight.xs,
260
- fontWeight: fontWeight.regular,
261
- letterSpacing: letterSpacing.tight
262
- }
129
+ // src/tokens/typo.ts
130
+ var typo = {
131
+ Sb_32: `
132
+ font-size: 32px;
133
+ line-height: 42px;
134
+ font-weight: 600;
135
+ letter-spacing: -0.02em;
136
+ `,
137
+ Sb_24: `
138
+ font-size: 24px;
139
+ line-height: 32px;
140
+ font-weight: 600;
141
+ letter-spacing: -0.02em;
142
+ `,
143
+ Sb_20: `
144
+ font-size: 20px;
145
+ line-height: 29px;
146
+ font-weight: 600;
147
+ letter-spacing: -0.02em;
148
+ `,
149
+ Sb_18: `
150
+ font-size: 18px;
151
+ line-height: 27px;
152
+ font-weight: 600;
153
+ letter-spacing: -0.02em;
154
+ `,
155
+ Sb_16: `
156
+ font-size: 16px;
157
+ line-height: 24px;
158
+ font-weight: 600;
159
+ letter-spacing: -0.02em;
160
+ `,
161
+ Sb_14: `
162
+ font-size: 14px;
163
+ line-height: 21px;
164
+ font-weight: 600;
165
+ letter-spacing: -0.02em;
166
+ `,
167
+ Md_18: `
168
+ font-size: 18px;
169
+ line-height: 27px;
170
+ font-weight: 500;
171
+ letter-spacing: -0.02em;
172
+ `,
173
+ Md_16: `
174
+ font-size: 16px;
175
+ line-height: 24px;
176
+ font-weight: 500;
177
+ letter-spacing: -0.02em;
178
+ `,
179
+ Md_15: `
180
+ font-size: 15px;
181
+ line-height: 22.5px;
182
+ font-weight: 500;
183
+ letter-spacing: -0.02em;
184
+ `,
185
+ Md_14: `
186
+ font-size: 14px;
187
+ line-height: 21px;
188
+ font-weight: 500;
189
+ letter-spacing: -0.02em;
190
+ `,
191
+ Md_13: `
192
+ font-size: 13px;
193
+ line-height: 19.5px;
194
+ font-weight: 500;
195
+ letter-spacing: -0.02em;
196
+ `,
197
+ Md_12: `
198
+ font-size: 12px;
199
+ line-height: 18px;
200
+ font-weight: 500;
201
+ letter-spacing: -0.02em;
202
+ `,
203
+ Rg_16: `
204
+ font-size: 16px;
205
+ line-height: 24px;
206
+ font-weight: 400;
207
+ letter-spacing: -0.02em;
208
+ `,
209
+ Rg_15: `
210
+ font-size: 15px;
211
+ line-height: 22.5px;
212
+ font-weight: 400;
213
+ letter-spacing: -0.02em;
214
+ `,
215
+ Rg_14: `
216
+ font-size: 14px;
217
+ line-height: 21px;
218
+ font-weight: 400;
219
+ letter-spacing: -0.02em;
220
+ `,
221
+ Rg_13: `
222
+ font-size: 13px;
223
+ line-height: 19.5px;
224
+ font-weight: 400;
225
+ letter-spacing: -0.02em;
226
+ `,
227
+ Rg_12: `
228
+ font-size: 12px;
229
+ line-height: 18px;
230
+ font-weight: 400;
231
+ letter-spacing: -0.02em;
232
+ `
263
233
  };
264
234
 
265
235
  // src/tokens/spacing.ts
@@ -480,7 +450,7 @@ var globalStyles = react.css`
480
450
  `;
481
451
  var theme = {
482
452
  colors,
483
- typography,
453
+ typo,
484
454
  spacing,
485
455
  radius,
486
456
  shadows
@@ -505,8 +475,8 @@ var sizeStyles = {
505
475
  height: "24px"
506
476
  }
507
477
  };
508
- var propFilter = (prop) => !["$size"].includes(prop) && isPropValid__default.default(prop);
509
- var StyledAvatarRoot = styled8__default.default(RadixAvatar__namespace.Root, {
478
+ var propFilter = (prop) => !["$size"].includes(prop) && isPropValid8__default.default(prop);
479
+ var StyledAvatarRoot = styled18__default.default(RadixAvatar__namespace.Root, {
510
480
  shouldForwardProp: propFilter
511
481
  })`
512
482
  display: inline-flex;
@@ -521,13 +491,13 @@ var StyledAvatarRoot = styled8__default.default(RadixAvatar__namespace.Root, {
521
491
  border: 1px solid ${({ theme: theme2 }) => theme2.colors.lineDefault};
522
492
  background-color: ${({ theme: theme2 }) => theme2.colors.bgWhite};
523
493
  `;
524
- var StyledAvatarImage = styled8__default.default(RadixAvatar__namespace.Image)`
494
+ var StyledAvatarImage = styled18__default.default(RadixAvatar__namespace.Image)`
525
495
  width: 100%;
526
496
  height: 100%;
527
497
  object-fit: cover;
528
498
  border-radius: inherit;
529
499
  `;
530
- var StyledAvatarFallback = styled8__default.default(RadixAvatar__namespace.Fallback)`
500
+ var StyledAvatarFallback = styled18__default.default(RadixAvatar__namespace.Fallback)`
531
501
  width: 100%;
532
502
  height: 100%;
533
503
  display: flex;
@@ -589,22 +559,19 @@ Avatar.displayName = "Avatar";
589
559
  var sizeStyles2 = {
590
560
  large: {
591
561
  padding: "3.5px 12px",
592
- typography: "bodyBaseMedium"
593
- // md14 (14px)
562
+ typography: "Md_14"
594
563
  },
595
564
  medium: {
596
565
  padding: "2px 10px",
597
- typography: "bodySmMedium"
598
- // md13 (13px)
566
+ typography: "Md_13"
599
567
  },
600
568
  small: {
601
569
  padding: "1px 8px",
602
- typography: "bodyXsMedium"
603
- // md12 (12px)
570
+ typography: "Md_12"
604
571
  }
605
572
  };
606
- var propFilter2 = (prop) => !["$variant", "$size"].includes(prop) && isPropValid__default.default(prop);
607
- var StyledBadge = styled8__default.default("span", {
573
+ var propFilter2 = (prop) => !["$variant", "$size"].includes(prop) && isPropValid8__default.default(prop);
574
+ var StyledBadge = styled18__default.default("span", {
608
575
  shouldForwardProp: propFilter2
609
576
  })`
610
577
  display: inline-flex;
@@ -617,12 +584,8 @@ var StyledBadge = styled8__default.default("span", {
617
584
 
618
585
  ${({ $size, theme: theme2 }) => {
619
586
  const spec = sizeStyles2[$size];
620
- const typo = theme2.typography[spec.typography];
621
587
  return `
622
- font-size: ${typo.fontSize};
623
- line-height: ${typo.lineHeight};
624
- font-weight: ${typo.fontWeight};
625
- letter-spacing: ${typo.letterSpacing};
588
+ ${theme2.typo[spec.typography]}
626
589
  padding: ${spec.padding};
627
590
  `;
628
591
  }}
@@ -680,8 +643,8 @@ var sizeStyles3 = {
680
643
  height: "2px"
681
644
  }
682
645
  };
683
- var propFilter3 = (prop) => !["$size", "$width"].includes(prop) && isPropValid__default.default(prop);
684
- var StyledProgressRoot = styled8__default.default(RadixProgress__namespace.Root, {
646
+ var propFilter3 = (prop) => !["$size", "$width"].includes(prop) && isPropValid8__default.default(prop);
647
+ var StyledProgressRoot = styled18__default.default(RadixProgress__namespace.Root, {
685
648
  shouldForwardProp: propFilter3
686
649
  })`
687
650
  position: relative;
@@ -705,7 +668,7 @@ var StyledProgressRoot = styled8__default.default(RadixProgress__namespace.Root,
705
668
  }
706
669
  }
707
670
  `;
708
- var StyledProgressIndicator = styled8__default.default(RadixProgress__namespace.Indicator)`
671
+ var StyledProgressIndicator = styled18__default.default(RadixProgress__namespace.Indicator)`
709
672
  background-color: ${({ theme: theme2 }) => theme2.colors.bgAccent};
710
673
  width: 100%;
711
674
  height: 100%;
@@ -741,74 +704,74 @@ var sizeStyles4 = {
741
704
  filled: {
742
705
  large: {
743
706
  borderRadius: "xl",
744
- typography: "bodyLgMedium",
707
+ typography: "Md_16",
745
708
  padding: "12px 16px"
746
709
  },
747
710
  medium: {
748
711
  borderRadius: "lg",
749
- typography: "bodyMdMedium",
712
+ typography: "Md_15",
750
713
  padding: "8.5px 16px"
751
714
  },
752
715
  small: {
753
716
  borderRadius: "lg",
754
- typography: "bodyBaseMedium",
717
+ typography: "Md_14",
755
718
  padding: "5.5px 12px"
756
719
  }
757
720
  },
758
721
  warning: {
759
722
  large: {
760
723
  borderRadius: "xl",
761
- typography: "bodyLgMedium",
724
+ typography: "Md_16",
762
725
  padding: "12px 16px"
763
726
  },
764
727
  medium: {
765
728
  borderRadius: "lg",
766
- typography: "bodyMdMedium",
729
+ typography: "Md_15",
767
730
  padding: "8.5px 16px"
768
731
  },
769
732
  small: {
770
733
  borderRadius: "lg",
771
- typography: "bodyBaseMedium",
734
+ typography: "Md_14",
772
735
  padding: "5.5px 12px"
773
736
  }
774
737
  },
775
738
  outlined: {
776
739
  large: {
777
740
  borderRadius: "xl",
778
- typography: "bodyLgMedium",
741
+ typography: "Md_16",
779
742
  padding: "12px 16px"
780
743
  },
781
744
  medium: {
782
745
  borderRadius: "lg",
783
- typography: "bodyMdMedium",
746
+ typography: "Md_15",
784
747
  padding: "8.5px 16px"
785
748
  },
786
749
  small: {
787
750
  borderRadius: "lg",
788
- typography: "bodyBaseMedium",
751
+ typography: "Md_14",
789
752
  padding: "5.5px 12px"
790
753
  }
791
754
  },
792
755
  text: {
793
756
  large: {
794
757
  borderRadius: "xl",
795
- typography: "bodyLgMedium",
758
+ typography: "Md_16",
796
759
  padding: "12px 8px"
797
760
  },
798
761
  medium: {
799
762
  borderRadius: "lg",
800
- typography: "bodyMdMedium",
763
+ typography: "Md_15",
801
764
  padding: "8.5px 8px"
802
765
  },
803
766
  small: {
804
767
  borderRadius: "lg",
805
- typography: "bodyBaseMedium",
768
+ typography: "Md_14",
806
769
  padding: "8px 6px"
807
770
  }
808
771
  }
809
772
  };
810
- var propFilter4 = (prop) => !["$variant", "$size", "$width"].includes(prop) && isPropValid__default.default(prop);
811
- var StyledButton = styled8__default.default("button", {
773
+ var propFilter4 = (prop) => !["$variant", "$size", "$width"].includes(prop) && isPropValid8__default.default(prop);
774
+ var StyledButton = styled18__default.default("button", {
812
775
  shouldForwardProp: propFilter4
813
776
  })`
814
777
  display: inline-flex;
@@ -830,12 +793,8 @@ var StyledButton = styled8__default.default("button", {
830
793
  ${({ $variant, $size, theme: theme2 }) => {
831
794
  const spec = sizeStyles4[$variant][$size];
832
795
  const borderRadius = "borderRadius" in spec ? theme2.radius[spec.borderRadius] : "";
833
- const typo = theme2.typography[spec.typography];
834
796
  return `
835
- font-size: ${typo.fontSize};
836
- line-height: ${typo.lineHeight};
837
- font-weight: ${typo.fontWeight};
838
- letter-spacing: ${typo.letterSpacing};
797
+ ${theme2.typo[spec.typography]}
839
798
  padding: ${spec.padding};
840
799
  ${borderRadius ? `border-radius: ${borderRadius};` : ""}
841
800
  `;
@@ -924,7 +883,7 @@ var Button = react$1.forwardRef(
924
883
  }
925
884
  );
926
885
  Button.displayName = "Button";
927
- var StyledFlex = styled8__default.default.div`
886
+ var StyledFlex = styled18__default.default.div`
928
887
  display: flex;
929
888
  flex-direction: ${({ direction }) => direction || "row"};
930
889
  justify-content: ${({ justify }) => justify || "flex-start"};
@@ -940,7 +899,7 @@ var Flex = react$1.forwardRef(
940
899
  }
941
900
  );
942
901
  Flex.displayName = "Flex";
943
- var StyledTextFieldInput = styled8__default.default.input`
902
+ var StyledTextFieldInput = styled18__default.default.input`
944
903
  width: 100%;
945
904
  padding: 12.5px 16px;
946
905
  border: 1px solid
@@ -952,10 +911,7 @@ var StyledTextFieldInput = styled8__default.default.input`
952
911
  border-radius: ${({ theme: theme2 }) => theme2.radius.xl};
953
912
  background: ${({ theme: theme2 }) => theme2.colors.bgWhite};
954
913
  color: ${({ theme: theme2 }) => theme2.colors.textPrimary};
955
- font-size: ${({ theme: theme2 }) => theme2.typography.bodyLgRegular.fontSize};
956
- line-height: ${({ theme: theme2 }) => theme2.typography.bodyLgRegular.lineHeight};
957
- font-weight: ${({ theme: theme2 }) => theme2.typography.bodyLgRegular.fontWeight};
958
- letter-spacing: ${({ theme: theme2 }) => theme2.typography.bodyLgRegular.letterSpacing};
914
+ ${({ theme: theme2 }) => theme2.typo.Rg_16}
959
915
  opacity: ${({ $variant }) => $variant === "disabled" ? 0.5 : 1};
960
916
 
961
917
  &::placeholder {
@@ -975,8 +931,8 @@ var StyledTextFieldInput = styled8__default.default.input`
975
931
  opacity: 0.5;
976
932
  }
977
933
  `;
978
- var StyledTextFieldTextarea = styled8__default.default(TextareaAutosize__default.default, {
979
- shouldForwardProp: (prop) => isPropValid__default.default(prop) || prop === "minRows" || prop === "maxRows"
934
+ var StyledTextFieldTextarea = styled18__default.default(TextareaAutosize__default.default, {
935
+ shouldForwardProp: (prop) => isPropValid8__default.default(prop) || prop === "minRows" || prop === "maxRows"
980
936
  })`
981
937
  width: 100%;
982
938
  padding: 12.5px 16px;
@@ -989,10 +945,7 @@ var StyledTextFieldTextarea = styled8__default.default(TextareaAutosize__default
989
945
  border-radius: ${({ theme: theme2 }) => theme2.radius.xl};
990
946
  background: ${({ theme: theme2 }) => theme2.colors.bgWhite};
991
947
  color: ${({ theme: theme2 }) => theme2.colors.textPrimary};
992
- font-size: ${({ theme: theme2 }) => theme2.typography.bodyLgRegular.fontSize};
993
- line-height: ${({ theme: theme2 }) => theme2.typography.bodyLgRegular.lineHeight};
994
- font-weight: ${({ theme: theme2 }) => theme2.typography.bodyLgRegular.fontWeight};
995
- letter-spacing: ${({ theme: theme2 }) => theme2.typography.bodyLgRegular.letterSpacing};
948
+ ${({ theme: theme2 }) => theme2.typo.Rg_16}
996
949
  opacity: ${({ $variant }) => $variant === "disabled" ? 0.5 : 1};
997
950
  resize: none;
998
951
  font-family: inherit;
@@ -1014,9 +967,8 @@ var StyledTextFieldTextarea = styled8__default.default(TextareaAutosize__default
1014
967
  opacity: 0.5;
1015
968
  }
1016
969
  `;
1017
- var StyledHelperText = styled8__default.default.div`
1018
- font-size: ${({ theme: theme2 }) => theme2.typography.bodyXsRegular.fontSize};
1019
- line-height: ${({ theme: theme2 }) => theme2.typography.bodyXsRegular.lineHeight};
970
+ var StyledHelperText = styled18__default.default.div`
971
+ ${({ theme: theme2 }) => theme2.typo.Rg_12}
1020
972
  margin-top: 6px;
1021
973
  color: ${({ theme: theme2, $variant }) => {
1022
974
  if ($variant === "warning") return theme2.colors.textWarning;
@@ -1080,7 +1032,7 @@ var TextField = react$1.forwardRef(
1080
1032
  }
1081
1033
  );
1082
1034
  TextField.displayName = "TextField";
1083
- var StyledToastViewport = styled8__default.default(ToastPrimitive__namespace.Viewport)`
1035
+ var StyledToastViewport = styled18__default.default(ToastPrimitive__namespace.Viewport)`
1084
1036
  position: fixed;
1085
1037
  ${({ $position, $viewportOffset }) => $position === "top" ? `top: ${$viewportOffset}px;` : `bottom: ${$viewportOffset}px;`}
1086
1038
  left: 50%;
@@ -1092,7 +1044,7 @@ var StyledToastViewport = styled8__default.default(ToastPrimitive__namespace.Vie
1092
1044
  max-width: 90vw;
1093
1045
  z-index: 9999;
1094
1046
  `;
1095
- var StyledToastRoot = styled8__default.default(ToastPrimitive__namespace.Root)`
1047
+ var StyledToastRoot = styled18__default.default(ToastPrimitive__namespace.Root)`
1096
1048
  background-color: ${({ theme: theme2 }) => theme2.colors.bgDarkGrey};
1097
1049
  color: ${({ theme: theme2 }) => theme2.colors.bgWhite};
1098
1050
  border-radius: ${({ theme: theme2 }) => theme2.radius.lg};
@@ -1129,10 +1081,8 @@ var StyledToastRoot = styled8__default.default(ToastPrimitive__namespace.Root)`
1129
1081
  }
1130
1082
  }
1131
1083
  `;
1132
- var StyledToastDescription = styled8__default.default(ToastPrimitive__namespace.Description)`
1133
- font-size: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.fontSize};
1134
- line-height: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.lineHeight};
1135
- font-weight: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.fontWeight};
1084
+ var StyledToastDescription = styled18__default.default(ToastPrimitive__namespace.Description)`
1085
+ ${({ theme: theme2 }) => theme2.typo.Md_14}
1136
1086
  `;
1137
1087
  var ToastContext = react$1.createContext(null);
1138
1088
  function ToastProvider({
@@ -1179,7 +1129,7 @@ function useToast() {
1179
1129
  };
1180
1130
  return { showToast };
1181
1131
  }
1182
- var StyledOverlay = styled8__default.default(DialogPrimitive__namespace.Overlay)`
1132
+ var StyledOverlay = styled18__default.default(DialogPrimitive__namespace.Overlay)`
1183
1133
  background-color: ${({ theme: theme2 }) => theme2.colors.basic.black30};
1184
1134
  position: fixed;
1185
1135
  inset: 0;
@@ -1203,7 +1153,7 @@ var StyledOverlay = styled8__default.default(DialogPrimitive__namespace.Overlay)
1203
1153
  to { opacity: 0; }
1204
1154
  }
1205
1155
  `;
1206
- var StyledContent = styled8__default.default(DialogPrimitive__namespace.Content)`
1156
+ var StyledContent = styled18__default.default(DialogPrimitive__namespace.Content)`
1207
1157
  background-color: ${({ theme: theme2 }) => theme2.colors.bgWhite};
1208
1158
  border-radius: ${({ theme: theme2 }) => theme2.radius["2xl"]};
1209
1159
  box-shadow: ${({ theme: theme2 }) => theme2.shadows.modal};
@@ -1236,20 +1186,18 @@ var StyledContent = styled8__default.default(DialogPrimitive__namespace.Content)
1236
1186
  outline: none;
1237
1187
  }
1238
1188
  `;
1239
- var StyledHeader = styled8__default.default.div`
1189
+ var StyledHeader = styled18__default.default.div`
1240
1190
  display: flex;
1241
1191
  justify-content: space-between;
1242
1192
  align-items: flex-start;
1243
1193
  margin-bottom: ${({ theme: theme2 }) => theme2.spacing[4]};
1244
1194
  `;
1245
- var StyledTitle = styled8__default.default(DialogPrimitive__namespace.Title)`
1246
- font-size: ${({ theme: theme2 }) => theme2.typography.headingXl.fontSize};
1247
- line-height: ${({ theme: theme2 }) => theme2.typography.headingXl.lineHeight};
1248
- font-weight: ${({ theme: theme2 }) => theme2.typography.headingXl.fontWeight};
1195
+ var StyledTitle = styled18__default.default(DialogPrimitive__namespace.Title)`
1196
+ ${({ theme: theme2 }) => theme2.typo.Sb_18}
1249
1197
  color: ${({ theme: theme2 }) => theme2.colors.textPrimary};
1250
1198
  margin: 0;
1251
1199
  `;
1252
- var StyledCloseButton = styled8__default.default.button`
1200
+ var StyledCloseButton = styled18__default.default.button`
1253
1201
  background: transparent;
1254
1202
  border: none;
1255
1203
  cursor: pointer;
@@ -1264,13 +1212,12 @@ var StyledCloseButton = styled8__default.default.button`
1264
1212
  color: ${({ theme: theme2 }) => theme2.colors.textPrimary};
1265
1213
  }
1266
1214
  `;
1267
- var StyledBody = styled8__default.default.div`
1268
- font-size: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.fontSize};
1269
- line-height: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.lineHeight};
1215
+ var StyledBody = styled18__default.default.div`
1216
+ ${({ theme: theme2 }) => theme2.typo.Md_14}
1270
1217
  color: ${({ theme: theme2 }) => theme2.colors.textSecondary};
1271
1218
  margin-bottom: ${({ theme: theme2 }) => theme2.spacing[6]};
1272
1219
  `;
1273
- var StyledFooter = styled8__default.default.div`
1220
+ var StyledFooter = styled18__default.default.div`
1274
1221
  display: flex;
1275
1222
  gap: ${({ theme: theme2 }) => theme2.spacing[2]};
1276
1223
  justify-content: flex-end;
@@ -1298,16 +1245,14 @@ var Dialog = DialogRoot;
1298
1245
  Dialog.Title = DialogTitle;
1299
1246
  Dialog.Content = DialogContent;
1300
1247
  Dialog.Footer = DialogFooter;
1301
- var StyledChatBubble = styled8__default.default.div`
1248
+ var StyledChatBubble = styled18__default.default.div`
1302
1249
  padding: ${({ theme: theme2 }) => `${theme2.spacing[3]} ${theme2.spacing[4]}`};
1303
1250
  border-radius: ${({ theme: theme2 }) => theme2.radius.xl};
1304
1251
  max-width: 70%;
1305
1252
  width: fit-content;
1306
1253
  word-wrap: break-word;
1307
1254
 
1308
- font-size: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.fontSize};
1309
- line-height: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.lineHeight};
1310
- font-weight: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.fontWeight};
1255
+ ${({ theme: theme2 }) => theme2.typo.Md_14}
1311
1256
 
1312
1257
  ${({ $variant, theme: theme2 }) => {
1313
1258
  if ($variant === "user") {
@@ -1392,8 +1337,8 @@ var iconButtonSizeStyles = {
1392
1337
  }
1393
1338
  }
1394
1339
  };
1395
- var propFilter5 = (prop) => !["$variant", "$size"].includes(prop) && isPropValid__default.default(prop);
1396
- var StyledIconButton = styled8__default.default("button", {
1340
+ var propFilter5 = (prop) => !["$variant", "$size"].includes(prop) && isPropValid8__default.default(prop);
1341
+ var StyledIconButton = styled18__default.default("button", {
1397
1342
  shouldForwardProp: propFilter5
1398
1343
  })`
1399
1344
  display: inline-flex;
@@ -1421,12 +1366,8 @@ var StyledIconButton = styled8__default.default("button", {
1421
1366
  ${({ $variant, $size, theme: theme2 }) => {
1422
1367
  const spec = iconButtonSizeStyles[$variant][$size];
1423
1368
  const borderRadius = "borderRadius" in spec ? theme2.radius[spec.borderRadius] : "";
1424
- const typo = theme2.typography[spec.typography];
1425
1369
  return `
1426
- font-size: ${typo.fontSize};
1427
- line-height: ${typo.lineHeight};
1428
- font-weight: ${typo.fontWeight};
1429
- letter-spacing: ${typo.letterSpacing};
1370
+ ${theme2.typo[spec.typography]}
1430
1371
  padding: ${spec.padding};
1431
1372
  ${borderRadius ? `border-radius: ${borderRadius};` : ""}
1432
1373
  `;
@@ -1507,18 +1448,18 @@ var IconButton = react$1.forwardRef(
1507
1448
  }
1508
1449
  );
1509
1450
  IconButton.displayName = "IconButton";
1510
- var PaginationContainer = styled8__default.default.div`
1451
+ var PaginationContainer = styled18__default.default.div`
1511
1452
  display: flex;
1512
1453
  align-items: center;
1513
1454
  gap: ${({ theme: theme2 }) => theme2.spacing[1]};
1514
1455
  `;
1515
- var PaginationPages = styled8__default.default.div`
1456
+ var PaginationPages = styled18__default.default.div`
1516
1457
  display: flex;
1517
1458
  align-items: center;
1518
1459
  gap: 0;
1519
1460
  `;
1520
- var StyledPaginationButton = styled8__default.default("button", {
1521
- shouldForwardProp: (prop) => prop !== "$active" && isPropValid__default.default(prop)
1461
+ var StyledPaginationButton = styled18__default.default("button", {
1462
+ shouldForwardProp: (prop) => prop !== "$active" && isPropValid8__default.default(prop)
1522
1463
  })`
1523
1464
  display: inline-flex;
1524
1465
  align-items: center;
@@ -1539,9 +1480,7 @@ var StyledPaginationButton = styled8__default.default("button", {
1539
1480
  justify-content: center;
1540
1481
  width: 23px;
1541
1482
  height: 23px;
1542
- font-size: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.fontSize};
1543
- line-height: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.lineHeight};
1544
- font-weight: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.fontWeight};
1483
+ ${({ theme: theme2 }) => theme2.typo.Md_14}
1545
1484
  color: ${({ theme: theme2, $active }) => $active ? theme2.colors.textPrimary : theme2.colors.textTertiary};
1546
1485
  }
1547
1486
 
@@ -1658,7 +1597,7 @@ function Pagination({
1658
1597
  )
1659
1598
  ] });
1660
1599
  }
1661
- var StyledCheckbox = styled8__default.default(CheckboxPrimitive__namespace.Root)`
1600
+ var StyledCheckbox = styled18__default.default(CheckboxPrimitive__namespace.Root)`
1662
1601
  width: 20px;
1663
1602
  height: 20px;
1664
1603
  border-radius: ${({ theme: theme2 }) => theme2.radius.sm};
@@ -1684,20 +1623,19 @@ var StyledCheckbox = styled8__default.default(CheckboxPrimitive__namespace.Root)
1684
1623
  cursor: not-allowed;
1685
1624
  }
1686
1625
  `;
1687
- var StyledIndicator = styled8__default.default(CheckboxPrimitive__namespace.Indicator)`
1626
+ var StyledIndicator = styled18__default.default(CheckboxPrimitive__namespace.Indicator)`
1688
1627
  color: ${({ theme: theme2 }) => theme2.colors.bgWhite};
1689
1628
  display: flex;
1690
1629
  align-items: center;
1691
1630
  justify-content: center;
1692
1631
  `;
1693
- var CheckboxContainer = styled8__default.default.div`
1632
+ var CheckboxContainer = styled18__default.default.div`
1694
1633
  display: flex;
1695
1634
  align-items: center;
1696
1635
  gap: ${({ theme: theme2 }) => theme2.spacing[2]};
1697
1636
  `;
1698
- var Label = styled8__default.default.label`
1699
- font-size: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.fontSize};
1700
- line-height: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.lineHeight};
1637
+ var Label = styled18__default.default.label`
1638
+ ${({ theme: theme2 }) => theme2.typo.Md_14}
1701
1639
  color: ${({ theme: theme2, $disabled }) => $disabled ? theme2.colors.textDisabled : theme2.colors.textPrimary};
1702
1640
  cursor: ${({ $disabled }) => $disabled ? "not-allowed" : "pointer"};
1703
1641
  user-select: none;
@@ -1710,17 +1648,17 @@ var Checkbox = react$1.forwardRef(({ label, disabled, id, ...props }, ref) => {
1710
1648
  ] });
1711
1649
  });
1712
1650
  Checkbox.displayName = "Checkbox";
1713
- var StyledRadioGroup = styled8__default.default(RadioGroupPrimitive__namespace.Root)`
1651
+ var StyledRadioGroup = styled18__default.default(RadioGroupPrimitive__namespace.Root)`
1714
1652
  display: flex;
1715
1653
  flex-direction: column;
1716
1654
  gap: ${({ theme: theme2 }) => theme2.spacing[2]};
1717
1655
  `;
1718
- var RadioItem = styled8__default.default.div`
1656
+ var RadioItem = styled18__default.default.div`
1719
1657
  display: flex;
1720
1658
  align-items: center;
1721
1659
  gap: ${({ theme: theme2 }) => theme2.spacing[2]};
1722
1660
  `;
1723
- var StyledRadioButton = styled8__default.default(RadioGroupPrimitive__namespace.Item)`
1661
+ var StyledRadioButton = styled18__default.default(RadioGroupPrimitive__namespace.Item)`
1724
1662
  width: 20px;
1725
1663
  height: 20px;
1726
1664
  border-radius: ${({ theme: theme2 }) => theme2.radius.full};
@@ -1745,15 +1683,14 @@ var StyledRadioButton = styled8__default.default(RadioGroupPrimitive__namespace.
1745
1683
  cursor: not-allowed;
1746
1684
  }
1747
1685
  `;
1748
- var StyledIndicator2 = styled8__default.default(RadioGroupPrimitive__namespace.Indicator)`
1686
+ var StyledIndicator2 = styled18__default.default(RadioGroupPrimitive__namespace.Indicator)`
1749
1687
  width: 10px;
1750
1688
  height: 10px;
1751
1689
  border-radius: ${({ theme: theme2 }) => theme2.radius.full};
1752
1690
  background-color: ${({ theme: theme2 }) => theme2.colors.bgAccent};
1753
1691
  `;
1754
- var Label2 = styled8__default.default.label`
1755
- font-size: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.fontSize};
1756
- line-height: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.lineHeight};
1692
+ var Label2 = styled18__default.default.label`
1693
+ ${({ theme: theme2 }) => theme2.typo.Md_14}
1757
1694
  color: ${({ theme: theme2, $disabled }) => $disabled ? theme2.colors.textDisabled : theme2.colors.textPrimary};
1758
1695
  cursor: ${({ $disabled }) => $disabled ? "not-allowed" : "pointer"};
1759
1696
  user-select: none;
@@ -1776,7 +1713,7 @@ var RadioButton = react$1.forwardRef(({ options, ...props }, ref) => {
1776
1713
  }) });
1777
1714
  });
1778
1715
  RadioButton.displayName = "RadioButton";
1779
- var StyledMenuContent = styled8__default.default(DropdownMenu2__namespace.Content)`
1716
+ var StyledMenuContent = styled18__default.default(DropdownMenu2__namespace.Content)`
1780
1717
  min-width: 200px;
1781
1718
  background-color: ${({ theme: theme2 }) => theme2.colors.bgWhite};
1782
1719
  border-radius: ${({ theme: theme2 }) => theme2.radius.lg};
@@ -1799,14 +1736,13 @@ var StyledMenuContent = styled8__default.default(DropdownMenu2__namespace.Conten
1799
1736
  }
1800
1737
  }
1801
1738
  `;
1802
- var StyledMenuItem = styled8__default.default(DropdownMenu2__namespace.Item)`
1739
+ var StyledMenuItem = styled18__default.default(DropdownMenu2__namespace.Item)`
1803
1740
  display: flex;
1804
1741
  align-items: center;
1805
1742
  justify-content: space-between;
1806
1743
  padding: ${({ theme: theme2 }) => `${theme2.spacing[2]} ${theme2.spacing[3]}`};
1807
1744
  border-radius: ${({ theme: theme2 }) => theme2.radius.md};
1808
- font-size: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.fontSize};
1809
- line-height: ${({ theme: theme2 }) => theme2.typography.bodyBaseMedium.lineHeight};
1745
+ ${({ theme: theme2 }) => theme2.typo.Md_14}
1810
1746
  color: ${({ theme: theme2 }) => theme2.colors.textPrimary};
1811
1747
  cursor: pointer;
1812
1748
  outline: none;
@@ -1823,20 +1759,20 @@ var StyledMenuItem = styled8__default.default(DropdownMenu2__namespace.Item)`
1823
1759
  pointer-events: none;
1824
1760
  }
1825
1761
  `;
1826
- var MenuItemLeft = styled8__default.default.div`
1762
+ var MenuItemLeft = styled18__default.default.div`
1827
1763
  display: flex;
1828
1764
  align-items: center;
1829
1765
  gap: ${({ theme: theme2 }) => theme2.spacing[2]};
1830
1766
  `;
1831
- var MenuItemText = styled8__default.default.span``;
1832
- var MenuLeadingIcon = styled8__default.default.span`
1767
+ var MenuItemText = styled18__default.default.span``;
1768
+ var MenuLeadingIcon = styled18__default.default.span`
1833
1769
  display: flex;
1834
1770
  align-items: center;
1835
1771
  justify-content: center;
1836
1772
  width: 20px;
1837
1773
  height: 20px;
1838
1774
  `;
1839
- var MenuTrailingIcon = styled8__default.default.span`
1775
+ var MenuTrailingIcon = styled18__default.default.span`
1840
1776
  display: flex;
1841
1777
  align-items: center;
1842
1778
  justify-content: center;
@@ -1859,13 +1795,12 @@ var MenuItem = react$1.forwardRef(
1859
1795
  ] })
1860
1796
  );
1861
1797
  MenuItem.displayName = "MenuItem";
1862
- var StyledTooltipContent = styled8__default.default(TooltipPrimitive2__namespace.Content)`
1798
+ var StyledTooltipContent = styled18__default.default(TooltipPrimitive2__namespace.Content)`
1863
1799
  background-color: ${({ theme: theme2 }) => theme2.colors.bgDarkGrey};
1864
1800
  color: ${({ theme: theme2 }) => theme2.colors.bgWhite};
1865
1801
  border-radius: ${({ theme: theme2 }) => theme2.radius.md};
1866
1802
  padding: ${({ theme: theme2 }) => `${theme2.spacing[1]} ${theme2.spacing[2]}`};
1867
- font-size: ${({ theme: theme2 }) => theme2.typography.bodyXsMedium.fontSize};
1868
- line-height: ${({ theme: theme2 }) => theme2.typography.bodyXsMedium.lineHeight};
1803
+ ${({ theme: theme2 }) => theme2.typo.Md_12}
1869
1804
  box-shadow: ${({ theme: theme2 }) => theme2.shadows.base};
1870
1805
  z-index: 9999;
1871
1806
  max-width: 300px;
@@ -1885,7 +1820,7 @@ var StyledTooltipContent = styled8__default.default(TooltipPrimitive2__namespace
1885
1820
  }
1886
1821
  }
1887
1822
  `;
1888
- var StyledArrow = styled8__default.default(TooltipPrimitive2__namespace.Arrow)`
1823
+ var StyledArrow = styled18__default.default(TooltipPrimitive2__namespace.Arrow)`
1889
1824
  fill: ${({ theme: theme2 }) => theme2.colors.bgDarkGrey};
1890
1825
  `;
1891
1826
  var TooltipProvider = react$1.forwardRef(
@@ -1902,6 +1837,332 @@ var TooltipContent = react$1.forwardRef(
1902
1837
  ] }) })
1903
1838
  );
1904
1839
  TooltipContent.displayName = "TooltipContent";
1840
+ var itemSizeStyles = {
1841
+ large: {
1842
+ padding: "8.5px 17.5px",
1843
+ typography: "Md_15"
1844
+ },
1845
+ small: {
1846
+ padding: "3.5px 19.5px",
1847
+ typography: "Md_14"
1848
+ }
1849
+ };
1850
+ var rootPropFilter = (prop) => !["$size"].includes(prop) && isPropValid8__default.default(prop);
1851
+ var StyledSegmentedControlRoot = styled18__default.default(
1852
+ ToggleGroup__namespace.Root,
1853
+ { shouldForwardProp: rootPropFilter }
1854
+ )`
1855
+ display: inline-flex;
1856
+ padding: 4px;
1857
+ border-radius: 12px;
1858
+ background-color: ${({ theme: theme2 }) => theme2.colors.bgMediumGrey};
1859
+ box-shadow: ${({ theme: theme2 }) => theme2.shadows.base};
1860
+ width: fit-content;
1861
+ `;
1862
+ var itemPropFilter = (prop) => !["$size"].includes(prop) && isPropValid8__default.default(prop);
1863
+ var StyledSegmentedControlItem = styled18__default.default(
1864
+ ToggleGroup__namespace.Item,
1865
+ { shouldForwardProp: itemPropFilter }
1866
+ )`
1867
+ display: inline-flex;
1868
+ align-items: center;
1869
+ justify-content: center;
1870
+ border: none;
1871
+ outline: none;
1872
+ cursor: pointer;
1873
+ border-radius: 12px;
1874
+ white-space: nowrap;
1875
+ font-family: inherit;
1876
+ transition:
1877
+ background-color 0.2s ease,
1878
+ color 0.2s ease;
1879
+
1880
+ ${({ $size, theme: theme2 }) => {
1881
+ const spec = itemSizeStyles[$size];
1882
+ return `
1883
+ padding: ${spec.padding};
1884
+ ${theme2.typo[spec.typography]}
1885
+ `;
1886
+ }}
1887
+
1888
+ color: ${({ theme: theme2 }) => theme2.colors.textTertiary};
1889
+ background-color: transparent;
1890
+
1891
+ &[data-state='on'] {
1892
+ color: ${({ theme: theme2 }) => theme2.colors.textPrimary};
1893
+ background-color: ${({ theme: theme2 }) => theme2.colors.bgWhite};
1894
+ }
1895
+
1896
+ &:hover:not([data-state='on']) {
1897
+ color: ${({ theme: theme2 }) => theme2.colors.textSecondary};
1898
+ }
1899
+
1900
+ &:disabled {
1901
+ cursor: not-allowed;
1902
+ opacity: 0.5;
1903
+ }
1904
+ `;
1905
+ var SegmentedControlSizeContext = react$1.createContext("large");
1906
+ var SegmentedControlRoot = react$1.forwardRef(({ size = "large", children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(SegmentedControlSizeContext.Provider, { value: size, children: /* @__PURE__ */ jsxRuntime.jsx(
1907
+ StyledSegmentedControlRoot,
1908
+ {
1909
+ ref,
1910
+ type: "single",
1911
+ $size: size,
1912
+ ...props,
1913
+ children
1914
+ }
1915
+ ) }));
1916
+ SegmentedControlRoot.displayName = "SegmentedControlRoot";
1917
+ var SegmentedControlItem = react$1.forwardRef(({ children, ...props }, ref) => {
1918
+ const size = react$1.useContext(SegmentedControlSizeContext);
1919
+ return /* @__PURE__ */ jsxRuntime.jsx(StyledSegmentedControlItem, { ref, $size: size, ...props, children });
1920
+ });
1921
+ SegmentedControlItem.displayName = "SegmentedControlItem";
1922
+ var propFilter6 = (prop) => isPropValid8__default.default(prop);
1923
+ var StyledTabList = styled18__default.default(TabsPrimitive__namespace.List, {
1924
+ shouldForwardProp: propFilter6
1925
+ })`
1926
+ display: flex;
1927
+ border-bottom: 1px solid ${({ theme: theme2 }) => theme2.colors.lineDefault};
1928
+ width: fit-content;
1929
+ `;
1930
+ var StyledTabTrigger = styled18__default.default(TabsPrimitive__namespace.Trigger, {
1931
+ shouldForwardProp: propFilter6
1932
+ })`
1933
+ display: inline-flex;
1934
+ align-items: center;
1935
+ justify-content: center;
1936
+ padding: 12px 16px;
1937
+ border: none;
1938
+ outline: none;
1939
+ cursor: pointer;
1940
+ background: transparent;
1941
+ font-family: inherit;
1942
+ ${({ theme: theme2 }) => theme2.typo.Sb_16}
1943
+ color: ${({ theme: theme2 }) => theme2.colors.textTertiary};
1944
+ position: relative;
1945
+ transition: color 0.2s ease;
1946
+
1947
+ &[data-state="active"] {
1948
+ color: ${({ theme: theme2 }) => theme2.colors.textPrimary};
1949
+ }
1950
+
1951
+ &[data-state="active"]::after {
1952
+ content: "";
1953
+ position: absolute;
1954
+ bottom: -1px;
1955
+ left: 4px;
1956
+ right: 4px;
1957
+ height: 2px;
1958
+ background-color: ${({ theme: theme2 }) => theme2.colors.bgBlack};
1959
+ border-radius: 100px;
1960
+ }
1961
+
1962
+ &:hover:not([data-state="active"]) {
1963
+ color: ${({ theme: theme2 }) => theme2.colors.textSecondary};
1964
+ }
1965
+
1966
+ &:disabled {
1967
+ cursor: not-allowed;
1968
+ opacity: 0.5;
1969
+ }
1970
+ `;
1971
+ var StyledTabContent = styled18__default.default(TabsPrimitive__namespace.Content, {
1972
+ shouldForwardProp: propFilter6
1973
+ })`
1974
+ outline: none;
1975
+ `;
1976
+ var TabRoot = react$1.forwardRef(
1977
+ ({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(TabsPrimitive__namespace.Root, { ref, ...props, children })
1978
+ );
1979
+ TabRoot.displayName = "TabRoot";
1980
+ var TabList = react$1.forwardRef(
1981
+ ({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledTabList, { ref, ...props, children })
1982
+ );
1983
+ TabList.displayName = "TabList";
1984
+ var TabTrigger = react$1.forwardRef(
1985
+ ({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledTabTrigger, { ref, ...props, children })
1986
+ );
1987
+ TabTrigger.displayName = "TabTrigger";
1988
+ var TabContent = react$1.forwardRef(
1989
+ ({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledTabContent, { ref, ...props, children })
1990
+ );
1991
+ TabContent.displayName = "TabContent";
1992
+ var propFilter7 = (prop) => isPropValid8__default.default(prop);
1993
+ var StyledTableRoot = styled18__default.default("div", {
1994
+ shouldForwardProp: propFilter7
1995
+ })`
1996
+ background-color: ${({ theme: theme2 }) => theme2.colors.bgWhite};
1997
+ border-radius: ${({ theme: theme2 }) => theme2.radius.lg};
1998
+ overflow: hidden;
1999
+ width: fit-content;
2000
+ `;
2001
+ var StyledTable = styled18__default.default("table", {
2002
+ shouldForwardProp: propFilter7
2003
+ })`
2004
+ width: 100%;
2005
+ border-collapse: collapse;
2006
+ `;
2007
+ var StyledTableHeader = styled18__default.default("thead", {
2008
+ shouldForwardProp: propFilter7
2009
+ })``;
2010
+ var StyledTableBody = styled18__default.default("tbody", {
2011
+ shouldForwardProp: propFilter7
2012
+ })``;
2013
+ var StyledTableHeaderRow = styled18__default.default("tr", {
2014
+ shouldForwardProp: propFilter7
2015
+ })``;
2016
+ var StyledTableBodyRow = styled18__default.default("tr", {
2017
+ shouldForwardProp: propFilter7
2018
+ })`
2019
+ background: transparent;
2020
+ border-radius: 0;
2021
+ transition: background-color 0.2s ease;
2022
+
2023
+ &:hover {
2024
+ background-color: ${({ theme: theme2 }) => theme2.colors.bgLightGrey};
2025
+ }
2026
+ `;
2027
+ var StyledTableHeaderCell = styled18__default.default("th", {
2028
+ shouldForwardProp: propFilter7
2029
+ })`
2030
+ ${({ theme: theme2 }) => theme2.typo.Md_14}
2031
+ color: ${({ theme: theme2 }) => theme2.colors.textSecondary};
2032
+ height: 36px;
2033
+ padding: 0 16px;
2034
+ background-color: ${({ theme: theme2 }) => theme2.colors.bgMediumGrey};
2035
+ border: none;
2036
+ font-family: inherit;
2037
+ text-align: left;
2038
+ vertical-align: middle;
2039
+
2040
+ &:first-of-type {
2041
+ border-radius: ${({ theme: theme2 }) => theme2.radius.lg} 0 0
2042
+ ${({ theme: theme2 }) => theme2.radius.lg};
2043
+ }
2044
+
2045
+ &:last-of-type {
2046
+ border-radius: 0 ${({ theme: theme2 }) => theme2.radius.lg}
2047
+ ${({ theme: theme2 }) => theme2.radius.lg} 0;
2048
+ }
2049
+ `;
2050
+ var StyledTableBodyCell = styled18__default.default("td", {
2051
+ shouldForwardProp: propFilter7
2052
+ })`
2053
+ height: 56px;
2054
+ padding: 0 16px;
2055
+ background: transparent;
2056
+ border: none;
2057
+ border-top: 1px solid ${({ theme: theme2 }) => theme2.colors.lineDefault};
2058
+ border-radius: 0;
2059
+ font-family: inherit;
2060
+ text-align: left;
2061
+ vertical-align: middle;
2062
+
2063
+ tr:first-of-type & {
2064
+ border-top: none;
2065
+ }
2066
+ `;
2067
+ var TableRoot = react$1.forwardRef(
2068
+ ({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledTableRoot, { ref, ...props, children })
2069
+ );
2070
+ TableRoot.displayName = "TableRoot";
2071
+ var Table = react$1.forwardRef(
2072
+ ({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledTable, { ref, ...props, children })
2073
+ );
2074
+ Table.displayName = "Table";
2075
+ var TableHeader = react$1.forwardRef(({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledTableHeader, { ref, ...props, children }));
2076
+ TableHeader.displayName = "TableHeader";
2077
+ var TableBody = react$1.forwardRef(
2078
+ ({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledTableBody, { ref, ...props, children })
2079
+ );
2080
+ TableBody.displayName = "TableBody";
2081
+ var TableHeaderRow = react$1.forwardRef(({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledTableHeaderRow, { ref, ...props, children }));
2082
+ TableHeaderRow.displayName = "TableHeaderRow";
2083
+ var TableBodyRow = react$1.forwardRef(
2084
+ ({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledTableBodyRow, { ref, ...props, children })
2085
+ );
2086
+ TableBodyRow.displayName = "TableBodyRow";
2087
+ var TableHeaderCell = react$1.forwardRef(({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledTableHeaderCell, { ref, ...props, children }));
2088
+ TableHeaderCell.displayName = "TableHeaderCell";
2089
+ var TableBodyCell = react$1.forwardRef(({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledTableBodyCell, { ref, ...props, children }));
2090
+ TableBodyCell.displayName = "TableBodyCell";
2091
+ var dim = (v) => v === void 0 ? void 0 : typeof v === "number" ? `${v}px` : v;
2092
+ var StyledSkeleton = styled18__default.default("span", {
2093
+ shouldForwardProp: (prop) => ![
2094
+ "$width",
2095
+ "$minWidth",
2096
+ "$maxWidth",
2097
+ "$height",
2098
+ "$minHeight",
2099
+ "$maxHeight",
2100
+ "$loading"
2101
+ ].includes(prop) && isPropValid8__default.default(prop)
2102
+ })`
2103
+ display: inline-block;
2104
+ position: relative;
2105
+ border-radius: ${({ theme: theme2 }) => theme2.radius.sm};
2106
+
2107
+ ${({ $width }) => $width !== void 0 && `width: ${dim($width)};`}
2108
+ ${({ $minWidth }) => $minWidth !== void 0 && `min-width: ${dim($minWidth)};`}
2109
+ ${({ $maxWidth }) => $maxWidth !== void 0 && `max-width: ${dim($maxWidth)};`}
2110
+ ${({ $height }) => $height !== void 0 && `height: ${dim($height)};`}
2111
+ ${({ $minHeight }) => $minHeight !== void 0 && `min-height: ${dim($minHeight)};`}
2112
+ ${({ $maxHeight }) => $maxHeight !== void 0 && `max-height: ${dim($maxHeight)};`}
2113
+
2114
+ ${({ $loading, theme: theme2 }) => $loading && `
2115
+ background-color: ${theme2.colors.bgMediumGrey};
2116
+ animation: skeleton-pulse 1.5s ease-in-out infinite;
2117
+
2118
+ & > * {
2119
+ visibility: hidden;
2120
+ pointer-events: none;
2121
+ }
2122
+ `}
2123
+
2124
+ ${({ $loading }) => !$loading && `
2125
+ background-color: transparent;
2126
+ `}
2127
+
2128
+ @keyframes skeleton-pulse {
2129
+ 0%,
2130
+ 100% {
2131
+ opacity: 1;
2132
+ }
2133
+ 50% {
2134
+ opacity: 0.6;
2135
+ }
2136
+ }
2137
+ `;
2138
+ var Skeleton = react$1.forwardRef(
2139
+ ({
2140
+ loading = true,
2141
+ children,
2142
+ width,
2143
+ minWidth,
2144
+ maxWidth,
2145
+ height,
2146
+ minHeight,
2147
+ maxHeight,
2148
+ ...props
2149
+ }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
2150
+ StyledSkeleton,
2151
+ {
2152
+ ref,
2153
+ $loading: loading,
2154
+ $width: width,
2155
+ $minWidth: minWidth,
2156
+ $maxWidth: maxWidth,
2157
+ $height: height,
2158
+ $minHeight: minHeight,
2159
+ $maxHeight: maxHeight,
2160
+ ...props,
2161
+ children
2162
+ }
2163
+ )
2164
+ );
2165
+ Skeleton.displayName = "Skeleton";
1905
2166
 
1906
2167
  exports.Avatar = Avatar;
1907
2168
  exports.Badge = Badge;
@@ -1919,6 +2180,21 @@ exports.MenuTrigger = MenuTrigger;
1919
2180
  exports.Pagination = Pagination;
1920
2181
  exports.Progress = Progress;
1921
2182
  exports.RadioButton = RadioButton;
2183
+ exports.SegmentedControlItem = SegmentedControlItem;
2184
+ exports.SegmentedControlRoot = SegmentedControlRoot;
2185
+ exports.Skeleton = Skeleton;
2186
+ exports.TabContent = TabContent;
2187
+ exports.TabList = TabList;
2188
+ exports.TabRoot = TabRoot;
2189
+ exports.TabTrigger = TabTrigger;
2190
+ exports.Table = Table;
2191
+ exports.TableBody = TableBody;
2192
+ exports.TableBodyCell = TableBodyCell;
2193
+ exports.TableBodyRow = TableBodyRow;
2194
+ exports.TableHeader = TableHeader;
2195
+ exports.TableHeaderCell = TableHeaderCell;
2196
+ exports.TableHeaderRow = TableHeaderRow;
2197
+ exports.TableRoot = TableRoot;
1922
2198
  exports.TextField = TextField;
1923
2199
  exports.ToastProvider = ToastProvider;
1924
2200
  exports.Tooltip = Tooltip;
@@ -1927,13 +2203,9 @@ exports.TooltipProvider = TooltipProvider;
1927
2203
  exports.TooltipTrigger = TooltipTrigger;
1928
2204
  exports.colors = colors;
1929
2205
  exports.componentSize = componentSize;
1930
- exports.fontSize = fontSize;
1931
- exports.fontWeight = fontWeight;
1932
- exports.letterSpacing = letterSpacing;
1933
- exports.lineHeight = lineHeight;
1934
2206
  exports.radius = radius;
1935
2207
  exports.semanticSpacing = semanticSpacing;
1936
2208
  exports.shadows = shadows;
1937
2209
  exports.spacing = spacing;
1938
- exports.typography = typography;
2210
+ exports.typo = typo;
1939
2211
  exports.useToast = useToast;