@lunit/design-system 2.1.0 → 2.2.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 (86) hide show
  1. package/README.md +2 -2
  2. package/dist/cjs/components/Alert/index.js +1 -1
  3. package/dist/cjs/components/Alert/index.js.map +1 -1
  4. package/dist/cjs/components/Button/index.js +1 -1
  5. package/dist/cjs/components/Button/index.js.map +1 -1
  6. package/dist/cjs/components/Checkbox/index.js +1 -1
  7. package/dist/cjs/components/Checkbox/index.js.map +1 -1
  8. package/dist/cjs/components/Chip/index.js +1 -1
  9. package/dist/cjs/components/Chip/index.js.map +1 -1
  10. package/dist/cjs/components/DataTable/index.js.map +1 -1
  11. package/dist/cjs/components/DatePicker/index.js.map +1 -1
  12. package/dist/cjs/components/Dialog/index.js +1 -1
  13. package/dist/cjs/components/Dialog/index.js.map +1 -1
  14. package/dist/cjs/components/Dropdown/index.js +1 -1
  15. package/dist/cjs/components/Dropdown/index.js.map +1 -1
  16. package/dist/cjs/components/FormLabel/index.js +1 -1
  17. package/dist/cjs/components/FormLabel/index.js.map +1 -1
  18. package/dist/cjs/components/Radio/index.js +1 -1
  19. package/dist/cjs/components/Radio/index.js.map +1 -1
  20. package/dist/cjs/components/RadioGroup/index.js.map +1 -1
  21. package/dist/cjs/components/TextField/index.js +1 -1
  22. package/dist/cjs/components/TextField/index.js.map +1 -1
  23. package/dist/cjs/components/Toggle/index.js +1 -1
  24. package/dist/cjs/components/Toggle/index.js.map +1 -1
  25. package/dist/cjs/components/ToggleButton/index.js +1 -1
  26. package/dist/cjs/components/ToggleButton/index.js.map +1 -1
  27. package/dist/cjs/components/Tooltip/index.js.map +1 -1
  28. package/dist/cjs/components/Typography/index.js.map +1 -1
  29. package/dist/cjs/index.js +1 -1
  30. package/dist/cjs/index.js.map +1 -1
  31. package/dist/types/components/Button/Button.styled.d.ts +35 -50
  32. package/dist/types/components/Chip/Chip.styled.d.ts +4 -76
  33. package/dist/types/components/Chip/Chip.types.d.ts +1 -1
  34. package/dist/types/components/Dropdown/Dropdown.styled.d.ts +3 -37
  35. package/dist/types/components/Dropdown/Dropdown.types.d.ts +1 -1
  36. package/dist/types/components/TextField/TextField.types.d.ts +1 -1
  37. package/dist/types/components/TextField/TextFieldIcon.d.ts +1 -1
  38. package/dist/types/components/ToggleButton/ToggleButton.styled.d.ts +1 -32
  39. package/dist/types/components/Typography/Typography.d.ts +1 -1
  40. package/package.json +21 -23
  41. package/src/components/Chip/Chip.types.ts +2 -0
  42. package/src/components/Dropdown/Dropdown.types.ts +2 -0
  43. package/src/components/TextField/TextField.types.ts +2 -0
  44. package/src/components/TextField/TextFieldIcon.tsx +1 -1
  45. package/src/stories/GettingStarted.mdx +10 -16
  46. package/src/stories/components/Alert/Alert.stories.tsx +3 -3
  47. package/src/stories/components/Button/BasicButton.stories.tsx +2 -2
  48. package/src/stories/components/Button/ButtonDocs.mdx +1 -1
  49. package/src/stories/components/Button/Color.stories.tsx +2 -2
  50. package/src/stories/components/Button/IconButton.stories.tsx +2 -2
  51. package/src/stories/components/Button/Kind.stories.tsx +2 -2
  52. package/src/stories/components/CheckBox/BasicCheckbox.stories.tsx +2 -2
  53. package/src/stories/components/CheckBox/CheckboxDocs.mdx +1 -1
  54. package/src/stories/components/Chip/Chip.stories.tsx +2 -2
  55. package/src/stories/components/Chip/ChipDocs.mdx +1 -1
  56. package/src/stories/components/DataTable/DataTable.stories.tsx +1 -1
  57. package/src/stories/components/DatePicker/DatePicker.stories.tsx +1 -1
  58. package/src/stories/components/Dialog/Dialog.stories.tsx +19 -8
  59. package/src/stories/components/Dialog/DialogDocs.mdx +1 -1
  60. package/src/stories/components/Dropdown/Dropdown.stories.tsx +6 -6
  61. package/src/stories/components/Dropdown/DropdownExamples.stories.tsx +3 -3
  62. package/src/stories/components/Dropdown/DropdownItem.stories.tsx +6 -6
  63. package/src/stories/components/SelectControl/RadioGroup.stories.tsx +1 -1
  64. package/src/stories/components/SelectControl/RadioStatus.stories.tsx +1 -1
  65. package/src/stories/components/SelectControl/Toggle.stories.tsx +2 -2
  66. package/src/stories/components/TextField/BasicTextField.stories.tsx +9 -16
  67. package/src/stories/components/TextField/TextFieldDocs.mdx +1 -1
  68. package/src/stories/components/TextField/TextFieldMulti.stories.tsx +8 -11
  69. package/src/stories/components/TextField/TextFieldSingle.stories.tsx +8 -11
  70. package/src/stories/components/TextField/TextFieldSize.stories.tsx +7 -8
  71. package/src/stories/components/Toast/Toast.stories.tsx +8 -3
  72. package/src/stories/components/ToggleButton/Basic.stories.tsx +152 -113
  73. package/src/stories/components/ToggleButton/ToggleButtonDocs.mdx +1 -1
  74. package/src/stories/components/ToggleButton/ToggleButtonKind.stories.tsx +5 -5
  75. package/src/stories/components/ToggleButton/WithIcon.stories.tsx +2 -2
  76. package/src/stories/components/Tooltip/Tooltip.stories.tsx +1 -1
  77. package/src/stories/foundation/Elevation/Elevation.stories.tsx +1 -20
  78. package/src/stories/foundation/Typography/Typography.mdx +1 -1
  79. package/src/stories/foundation/Typography/Typography.stories.tsx +1 -1
  80. package/src/stories/foundation/colors/Colors.stories.tsx +2 -2
  81. package/src/stories/foundation/colors/Docs.mdx +1 -1
  82. package/src/stories/foundation/colors/Mui.stories.tsx +1 -1
  83. package/src/stories/foundation/colors/Token.inComponent.stories.tsx +1 -1
  84. package/src/stories/foundation/colors/TokenPaletteTable.stories.tsx +1 -1
  85. package/tsconfig.json +0 -1
  86. package/src/stories/components/ToggleButton/Group.stories.tsx +0 -221
@@ -29,6 +29,8 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
29
29
  animationIterationCount?: import("csstype").Property.AnimationIterationCount | undefined;
30
30
  animationName?: import("csstype").Property.AnimationName | undefined;
31
31
  animationPlayState?: import("csstype").Property.AnimationPlayState | undefined;
32
+ animationRangeEnd?: string | number | undefined;
33
+ animationRangeStart?: string | number | undefined;
32
34
  animationTimeline?: import("csstype").Property.AnimationTimeline | undefined;
33
35
  animationTimingFunction?: import("csstype").Property.AnimationTimingFunction | undefined;
34
36
  appearance?: import("csstype").Property.Appearance | undefined;
@@ -150,6 +152,10 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
150
152
  fontStretch?: import("csstype").Property.FontStretch | undefined;
151
153
  fontStyle?: import("csstype").Property.FontStyle | undefined;
152
154
  fontSynthesis?: import("csstype").Property.FontSynthesis | undefined;
155
+ fontSynthesisPosition?: import("csstype").Property.FontSynthesisPosition | undefined;
156
+ fontSynthesisSmallCaps?: import("csstype").Property.FontSynthesisSmallCaps | undefined;
157
+ fontSynthesisStyle?: import("csstype").Property.FontSynthesisStyle | undefined;
158
+ fontSynthesisWeight?: import("csstype").Property.FontSynthesisWeight | undefined;
153
159
  fontVariant?: import("csstype").Property.FontVariant | undefined;
154
160
  fontVariantAlternates?: import("csstype").Property.FontVariantAlternates | undefined;
155
161
  fontVariantCaps?: import("csstype").Property.FontVariantCaps | undefined;
@@ -222,6 +228,7 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
222
228
  maskRepeat?: import("csstype").Property.MaskRepeat | undefined;
223
229
  maskSize?: string | number | undefined;
224
230
  maskType?: import("csstype").Property.MaskType | undefined;
231
+ masonryAutoFlow?: import("csstype").Property.MasonryAutoFlow | undefined;
225
232
  mathDepth?: import("csstype").Property.MathDepth | undefined;
226
233
  mathShift?: import("csstype").Property.MathShift | undefined;
227
234
  mathStyle?: import("csstype").Property.MathStyle | undefined;
@@ -260,6 +267,7 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
260
267
  overflowWrap?: import("csstype").Property.OverflowWrap | undefined;
261
268
  overflowX?: import("csstype").Property.OverflowX | undefined;
262
269
  overflowY?: import("csstype").Property.OverflowY | undefined;
270
+ overlay?: import("csstype").Property.Overlay | undefined;
263
271
  overscrollBehaviorBlock?: import("csstype").Property.OverscrollBehaviorBlock | undefined;
264
272
  overscrollBehaviorInline?: import("csstype").Property.OverscrollBehaviorInline | undefined;
265
273
  overscrollBehaviorX?: import("csstype").Property.OverscrollBehaviorX | undefined;
@@ -347,12 +355,15 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
347
355
  textTransform?: import("csstype").Property.TextTransform | undefined;
348
356
  textUnderlineOffset?: string | number | undefined;
349
357
  textUnderlinePosition?: import("csstype").Property.TextUnderlinePosition | undefined;
358
+ textWrap?: import("csstype").Property.TextWrap | undefined;
359
+ timelineScope?: import("csstype").Property.TimelineScope | undefined;
350
360
  top?: string | number | undefined;
351
361
  touchAction?: import("csstype").Property.TouchAction | undefined;
352
362
  transform?: import("csstype").Property.Transform | undefined;
353
363
  transformBox?: import("csstype").Property.TransformBox | undefined;
354
364
  transformOrigin?: string | number | undefined;
355
365
  transformStyle?: import("csstype").Property.TransformStyle | undefined;
366
+ transitionBehavior?: import("csstype").Property.TransitionBehavior | undefined;
356
367
  transitionDelay?: import("csstype").Property.TransitionDelay<string & {}> | undefined;
357
368
  transitionDuration?: import("csstype").Property.TransitionDuration<string & {}> | undefined;
358
369
  transitionProperty?: import("csstype").Property.TransitionProperty | undefined;
@@ -361,9 +372,14 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
361
372
  unicodeBidi?: import("csstype").Property.UnicodeBidi | undefined;
362
373
  userSelect?: import("csstype").Property.UserSelect | undefined;
363
374
  verticalAlign?: string | number | undefined;
375
+ viewTimelineAxis?: import("csstype").Property.ViewTimelineAxis | undefined;
376
+ viewTimelineInset?: string | number | undefined;
377
+ viewTimelineName?: import("csstype").Property.ViewTimelineName | undefined;
364
378
  viewTransitionName?: import("csstype").Property.ViewTransitionName | undefined;
365
379
  visibility?: import("csstype").Property.Visibility | undefined;
366
380
  whiteSpace?: import("csstype").Property.WhiteSpace | undefined;
381
+ whiteSpaceCollapse?: import("csstype").Property.WhiteSpaceCollapse | undefined;
382
+ whiteSpaceTrim?: import("csstype").Property.WhiteSpaceTrim | undefined;
367
383
  widows?: import("csstype").Property.Widows | undefined;
368
384
  width?: string | number | undefined;
369
385
  willChange?: import("csstype").Property.WillChange | undefined;
@@ -375,6 +391,7 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
375
391
  zoom?: import("csstype").Property.Zoom | undefined;
376
392
  all?: import("csstype").Globals | undefined;
377
393
  animation?: import("csstype").Property.Animation<string & {}> | undefined;
394
+ animationRange?: string | number | undefined;
378
395
  background?: string | number | undefined;
379
396
  backgroundPosition?: string | number | undefined;
380
397
  border?: string | number | undefined;
@@ -438,6 +455,7 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
438
455
  textDecoration?: string | number | undefined;
439
456
  textEmphasis?: import("csstype").Property.TextEmphasis | undefined;
440
457
  transition?: import("csstype").Property.Transition<string & {}> | undefined;
458
+ viewTimeline?: import("csstype").Property.ViewTimeline | undefined;
441
459
  MozAnimationDelay?: import("csstype").Property.AnimationDelay<string & {}> | undefined;
442
460
  MozAnimationDirection?: import("csstype").Property.AnimationDirection | undefined;
443
461
  MozAnimationDuration?: import("csstype").Property.AnimationDuration<string & {}> | undefined;
@@ -447,7 +465,6 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
447
465
  MozAnimationPlayState?: import("csstype").Property.AnimationPlayState | undefined;
448
466
  MozAnimationTimingFunction?: import("csstype").Property.AnimationTimingFunction | undefined;
449
467
  MozAppearance?: import("csstype").Property.MozAppearance | undefined;
450
- MozBackfaceVisibility?: import("csstype").Property.BackfaceVisibility | undefined;
451
468
  MozBinding?: import("csstype").Property.MozBinding | undefined;
452
469
  MozBorderBottomColors?: import("csstype").Property.MozBorderBottomColors | undefined;
453
470
  MozBorderEndColor?: import("csstype").Property.BorderInlineEndColor | undefined;
@@ -474,20 +491,16 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
474
491
  MozMarginStart?: string | number | undefined;
475
492
  MozOrient?: import("csstype").Property.MozOrient | undefined;
476
493
  MozOsxFontSmoothing?: import("csstype").Property.FontSmooth<string | number> | undefined;
494
+ MozOutlineRadiusBottomleft?: string | number | undefined;
495
+ MozOutlineRadiusBottomright?: string | number | undefined;
496
+ MozOutlineRadiusTopleft?: string | number | undefined;
497
+ MozOutlineRadiusTopright?: string | number | undefined;
477
498
  MozPaddingEnd?: string | number | undefined;
478
499
  MozPaddingStart?: string | number | undefined;
479
- MozPerspective?: import("csstype").Property.Perspective<string | number> | undefined;
480
- MozPerspectiveOrigin?: string | number | undefined;
481
500
  MozStackSizing?: import("csstype").Property.MozStackSizing | undefined;
482
501
  MozTabSize?: string | number | undefined;
483
502
  MozTextBlink?: import("csstype").Property.MozTextBlink | undefined;
484
503
  MozTextSizeAdjust?: import("csstype").Property.TextSizeAdjust | undefined;
485
- MozTransformOrigin?: string | number | undefined;
486
- MozTransformStyle?: import("csstype").Property.TransformStyle | undefined;
487
- MozTransitionDelay?: import("csstype").Property.TransitionDelay<string & {}> | undefined;
488
- MozTransitionDuration?: import("csstype").Property.TransitionDuration<string & {}> | undefined;
489
- MozTransitionProperty?: import("csstype").Property.TransitionProperty | undefined;
490
- MozTransitionTimingFunction?: import("csstype").Property.TransitionTimingFunction | undefined;
491
504
  MozUserFocus?: import("csstype").Property.MozUserFocus | undefined;
492
505
  MozUserModify?: import("csstype").Property.MozUserModify | undefined;
493
506
  MozUserSelect?: import("csstype").Property.UserSelect | undefined;
@@ -667,7 +680,7 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
667
680
  MozBorderImage?: import("csstype").Property.BorderImage | undefined;
668
681
  MozColumnRule?: string | number | undefined;
669
682
  MozColumns?: string | number | undefined;
670
- MozTransition?: import("csstype").Property.Transition<string & {}> | undefined;
683
+ MozOutlineRadius?: string | number | undefined;
671
684
  msContentZoomLimit?: import("csstype").Property.MsContentZoomLimit | undefined;
672
685
  msContentZoomSnap?: import("csstype").Property.MsContentZoomSnap | undefined;
673
686
  msFlex?: string | number | undefined;
@@ -725,6 +738,7 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
725
738
  KhtmlLineBreak?: import("csstype").Property.LineBreak | undefined;
726
739
  KhtmlOpacity?: import("csstype").Property.Opacity | undefined;
727
740
  KhtmlUserSelect?: import("csstype").Property.UserSelect | undefined;
741
+ MozBackfaceVisibility?: import("csstype").Property.BackfaceVisibility | undefined;
728
742
  MozBackgroundClip?: import("csstype").Property.BackgroundClip | undefined;
729
743
  MozBackgroundInlinePolicy?: import("csstype").Property.BoxDecorationBreak | undefined;
730
744
  MozBackgroundOrigin?: import("csstype").Property.BackgroundOrigin | undefined;
@@ -746,17 +760,22 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
746
760
  MozOpacity?: import("csstype").Property.Opacity | undefined;
747
761
  MozOutline?: string | number | undefined;
748
762
  MozOutlineColor?: import("csstype").Property.OutlineColor | undefined;
749
- MozOutlineRadius?: string | number | undefined;
750
- MozOutlineRadiusBottomleft?: string | number | undefined;
751
- MozOutlineRadiusBottomright?: string | number | undefined;
752
- MozOutlineRadiusTopleft?: string | number | undefined;
753
- MozOutlineRadiusTopright?: string | number | undefined;
754
763
  MozOutlineStyle?: import("csstype").Property.OutlineStyle | undefined;
755
764
  MozOutlineWidth?: import("csstype").Property.OutlineWidth<string | number> | undefined;
765
+ MozPerspective?: import("csstype").Property.Perspective<string | number> | undefined;
766
+ MozPerspectiveOrigin?: string | number | undefined;
756
767
  MozTextAlignLast?: import("csstype").Property.TextAlignLast | undefined;
757
768
  MozTextDecorationColor?: import("csstype").Property.TextDecorationColor | undefined;
758
769
  MozTextDecorationLine?: import("csstype").Property.TextDecorationLine | undefined;
759
770
  MozTextDecorationStyle?: import("csstype").Property.TextDecorationStyle | undefined;
771
+ MozTransform?: import("csstype").Property.Transform | undefined;
772
+ MozTransformOrigin?: string | number | undefined;
773
+ MozTransformStyle?: import("csstype").Property.TransformStyle | undefined;
774
+ MozTransition?: import("csstype").Property.Transition<string & {}> | undefined;
775
+ MozTransitionDelay?: import("csstype").Property.TransitionDelay<string & {}> | undefined;
776
+ MozTransitionDuration?: import("csstype").Property.TransitionDuration<string & {}> | undefined;
777
+ MozTransitionProperty?: import("csstype").Property.TransitionProperty | undefined;
778
+ MozTransitionTimingFunction?: import("csstype").Property.TransitionTimingFunction | undefined;
760
779
  MozUserInput?: import("csstype").Property.MozUserInput | undefined;
761
780
  msImeMode?: import("csstype").Property.ImeMode | undefined;
762
781
  OAnimation?: import("csstype").Property.Animation<string & {}> | undefined;
@@ -789,8 +808,6 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
789
808
  WebkitBoxOrdinalGroup?: import("csstype").Property.BoxOrdinalGroup | undefined;
790
809
  WebkitBoxOrient?: import("csstype").Property.BoxOrient | undefined;
791
810
  WebkitBoxPack?: import("csstype").Property.BoxPack | undefined;
792
- WebkitScrollSnapPointsX?: import("csstype").Property.ScrollSnapPointsX | undefined;
793
- WebkitScrollSnapPointsY?: import("csstype").Property.ScrollSnapPointsY | undefined;
794
811
  alignmentBaseline?: import("csstype").Property.AlignmentBaseline | undefined;
795
812
  baselineShift?: string | number | undefined;
796
813
  clipRule?: import("csstype").Property.ClipRule | undefined;
@@ -890,37 +907,5 @@ export declare const iconStyle: ({ size, hasIconOnly, }: Pick<CustomButtonProps,
890
907
  };
891
908
  };
892
909
  };
893
- export declare const CustomButton: import("@emotion/styled").StyledComponent<{
894
- children?: import("react").ReactNode;
895
- classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
896
- color?: "inherit" | "primary" | "secondary" | "success" | "info" | "warning" | "error" | undefined;
897
- disabled?: boolean | undefined;
898
- disableElevation?: boolean | undefined;
899
- disableFocusRipple?: boolean | undefined;
900
- endIcon?: import("react").ReactNode;
901
- fullWidth?: boolean | undefined;
902
- href?: string | undefined;
903
- size?: "small" | "medium" | "large" | undefined;
904
- startIcon?: import("react").ReactNode;
905
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
906
- variant?: "outlined" | "text" | "contained" | undefined;
907
- } & Omit<{
908
- action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
909
- centerRipple?: boolean | undefined;
910
- children?: import("react").ReactNode;
911
- classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
912
- disabled?: boolean | undefined;
913
- disableRipple?: boolean | undefined;
914
- disableTouchRipple?: boolean | undefined;
915
- focusRipple?: boolean | undefined;
916
- focusVisibleClassName?: string | undefined;
917
- LinkComponent?: import("react").ElementType<any> | undefined;
918
- onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
919
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
920
- tabIndex?: number | undefined;
921
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
922
- touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
923
- }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
924
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
925
- }, "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "tabIndex" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & CustomButtonProps, {}, {}>;
910
+ export declare const CustomButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "classes" | "className" | "style" | "children" | "sx" | "variant" | "tabIndex" | "color" | "action" | "href" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "size" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & CustomButtonProps, {}, {}>;
926
911
  export {};
@@ -1,79 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { Theme } from "@mui/material/styles";
3
3
  import type { OutlinedChipProps, BaseContainedChipProps, EnableContainedChipProps } from "./Chip.types";
4
- export declare const StyledOutlinedChip: import("@emotion/styled").StyledComponent<{
5
- avatar?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
6
- children?: null | undefined;
7
- classes?: Partial<import("@mui/material").ChipClasses> | undefined;
8
- clickable?: boolean | undefined;
9
- color?: "primary" | "secondary" | "success" | "info" | "warning" | "error" | "default" | undefined;
10
- deleteIcon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
11
- disabled?: boolean | undefined;
12
- icon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
13
- label?: import("react").ReactNode;
14
- onDelete?: ((event: any) => void) | undefined;
15
- size?: "small" | "medium" | undefined;
16
- skipFocusWhenDisabled?: boolean | undefined;
17
- sx?: import("@mui/material").SxProps<Theme> | undefined;
18
- tabIndex?: number | undefined;
19
- variant?: "outlined" | "filled" | undefined;
20
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
21
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
22
- }, "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "label" | "tabIndex" | "disabled" | "icon" | "size" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<Theme> & OutlinedChipProps, {}, {}>;
23
- export declare const StyledContainedChipBase: import("@emotion/styled").StyledComponent<{
24
- avatar?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
25
- children?: null | undefined;
26
- classes?: Partial<import("@mui/material").ChipClasses> | undefined;
27
- clickable?: boolean | undefined;
28
- color?: "primary" | "secondary" | "success" | "info" | "warning" | "error" | "default" | undefined;
29
- deleteIcon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
30
- disabled?: boolean | undefined;
31
- icon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
32
- label?: import("react").ReactNode;
33
- onDelete?: ((event: any) => void) | undefined;
34
- size?: "small" | "medium" | undefined;
35
- skipFocusWhenDisabled?: boolean | undefined;
36
- sx?: import("@mui/material").SxProps<Theme> | undefined;
37
- tabIndex?: number | undefined;
38
- variant?: "outlined" | "filled" | undefined;
39
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
40
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
41
- }, "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "label" | "tabIndex" | "disabled" | "icon" | "size" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<Theme> & BaseContainedChipProps, {}, {}>;
42
- export declare const StyledContainedChipEnable: import("@emotion/styled").StyledComponent<{
43
- avatar?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
44
- children?: null | undefined;
45
- classes?: Partial<import("@mui/material").ChipClasses> | undefined;
46
- clickable?: boolean | undefined;
47
- color?: "primary" | "secondary" | "success" | "info" | "warning" | "error" | "default" | undefined;
48
- deleteIcon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
49
- disabled?: boolean | undefined;
50
- icon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
51
- label?: import("react").ReactNode;
52
- onDelete?: ((event: any) => void) | undefined;
53
- size?: "small" | "medium" | undefined;
54
- skipFocusWhenDisabled?: boolean | undefined;
55
- sx?: import("@mui/material").SxProps<Theme> | undefined;
56
- tabIndex?: number | undefined;
57
- variant?: "outlined" | "filled" | undefined;
58
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
59
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
60
- }, "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "label" | "tabIndex" | "disabled" | "icon" | "size" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<Theme> & BaseContainedChipProps & EnableContainedChipProps, {}, {}>;
61
- export declare const StyledContainedChipDeletable: import("@emotion/styled").StyledComponent<{
62
- avatar?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
63
- children?: null | undefined;
64
- classes?: Partial<import("@mui/material").ChipClasses> | undefined;
65
- clickable?: boolean | undefined;
66
- color?: "primary" | "secondary" | "success" | "info" | "warning" | "error" | "default" | undefined;
67
- deleteIcon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
68
- disabled?: boolean | undefined;
69
- icon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
70
- label?: import("react").ReactNode;
71
- onDelete?: ((event: any) => void) | undefined;
72
- size?: "small" | "medium" | undefined;
73
- skipFocusWhenDisabled?: boolean | undefined;
74
- sx?: import("@mui/material").SxProps<Theme> | undefined;
75
- tabIndex?: number | undefined;
76
- variant?: "outlined" | "filled" | undefined;
77
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
78
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
79
- }, "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "label" | "tabIndex" | "disabled" | "icon" | "size" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<Theme> & BaseContainedChipProps, {}, {}>;
4
+ export declare const StyledOutlinedChip: import("@emotion/styled").StyledComponent<import("@mui/material").ChipOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "classes" | "className" | "style" | "children" | "sx" | "variant" | "label" | "tabIndex" | "color" | "icon" | "disabled" | "size" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<Theme> & OutlinedChipProps, {}, {}>;
5
+ export declare const StyledContainedChipBase: import("@emotion/styled").StyledComponent<import("@mui/material").ChipOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "classes" | "className" | "style" | "children" | "sx" | "variant" | "label" | "tabIndex" | "color" | "icon" | "disabled" | "size" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<Theme> & BaseContainedChipProps, {}, {}>;
6
+ export declare const StyledContainedChipEnable: import("@emotion/styled").StyledComponent<import("@mui/material").ChipOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "classes" | "className" | "style" | "children" | "sx" | "variant" | "label" | "tabIndex" | "color" | "icon" | "disabled" | "size" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<Theme> & BaseContainedChipProps & EnableContainedChipProps, {}, {}>;
7
+ export declare const StyledContainedChipDeletable: import("@emotion/styled").StyledComponent<import("@mui/material").ChipOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "classes" | "className" | "style" | "children" | "sx" | "variant" | "label" | "tabIndex" | "color" | "icon" | "disabled" | "size" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<Theme> & BaseContainedChipProps, {}, {}>;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { CHIP_COLORS } from "./consts";
3
2
  import type { ChipProps as MuiChipProps, ChipTypeMap as MuiChipTypeMap } from "@mui/material";
4
3
  import type { OverridableComponent } from "@mui/material/OverridableComponent";
4
+ import type { JSX } from "react";
5
5
  type DesignSystemChipKind = "outlined" | "contained";
6
6
  type DesignSystemAndMuiContainedChipKind = "filled" | "contained";
7
7
  type ColorKeys = keyof typeof CHIP_COLORS;
@@ -1,41 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { DropdownProps } from "./Dropdown.types";
3
- export declare const StyledSelect: import("@emotion/styled").StyledComponent<import("@mui/material/Select").SelectProps<unknown> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Omit<DropdownProps, "size"> & {
3
+ export declare const StyledSelect: import("@emotion/styled").StyledComponent<(import("@mui/material/Select").SelectProps<unknown> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>) & Omit<DropdownProps, "size"> & {
4
4
  selectSize: "small" | "medium" | "large";
5
5
  }, {}, {}>;
6
- export declare const StyledMenuItem: import("@emotion/styled").StyledComponent<{
7
- autoFocus?: boolean | undefined;
8
- classes?: Partial<import("@mui/material/MenuItem").MenuItemClasses> | undefined;
9
- dense?: boolean | undefined;
10
- disabled?: boolean | undefined;
11
- disableGutters?: boolean | undefined;
12
- divider?: boolean | undefined;
13
- selected?: boolean | undefined;
14
- sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
15
- } & Omit<{
16
- action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
17
- centerRipple?: boolean | undefined;
18
- children?: import("react").ReactNode;
19
- classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
20
- disabled?: boolean | undefined;
21
- disableRipple?: boolean | undefined;
22
- disableTouchRipple?: boolean | undefined;
23
- focusRipple?: boolean | undefined;
24
- focusVisibleClassName?: string | undefined;
25
- LinkComponent?: import("react").ElementType<any> | undefined;
26
- onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
27
- sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
28
- tabIndex?: number | undefined;
29
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
30
- touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
31
- }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
32
- ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
33
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "autoFocus" | "tabIndex" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "selected" | "dense" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
34
- export declare const StyledIconWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
35
- children?: import("react").ReactNode;
36
- component?: import("react").ElementType<any> | undefined;
37
- ref?: import("react").Ref<unknown> | undefined;
38
- sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
39
- } & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
40
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
41
- }, ("zIndex" | "typography" | "boxShadow" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "displayPrint" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "marginX" | "marginY" | "paddingX" | "paddingY") | "children" | "sx" | "ref" | "component"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
6
+ export declare const StyledMenuItem: import("@emotion/styled").StyledComponent<import("@mui/material/MenuItem").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "classes" | "className" | "style" | "children" | "sx" | "autoFocus" | "tabIndex" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "selected" | "dense" | "disableGutters" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
7
+ export declare const StyledIconWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
2
1
  import type { MenuItemProps, SelectProps } from "@mui/material";
2
+ import type { JSX } from "react";
3
3
  export interface DropdownProps extends Omit<SelectProps, "size" | "variant" | "placeholder"> {
4
4
  select?: "single" | "multiple";
5
5
  size?: "small" | "medium" | "large";
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
1
  import type { SxProps } from "@mui/material";
3
2
  import type { TextFieldProps as MuiTextFieldProps, OutlinedTextFieldProps } from "@mui/material/TextField";
3
+ import type { JSX } from "react";
4
4
  export type TextFieldSize = "small" | "medium" | "large";
5
5
  export interface BaseTextFieldProps extends Omit<OutlinedTextFieldProps, "size" | "value" | "helperText" | "variant"> {
6
6
  /**
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import { type JSX } from "react";
2
2
  import type { SxProps } from "@mui/material";
3
3
  interface TextFieldProps {
4
4
  sx?: SxProps;
@@ -3,38 +3,7 @@ import type { ToggleButtonProps } from "../ToggleButton/ToggleButton.types";
3
3
  type CustomToggleButtonProps = ToggleButtonProps & {
4
4
  hasIconOnly: boolean;
5
5
  };
6
- export declare const CustomToggleButton: import("@emotion/styled").StyledComponent<{
7
- children?: import("react").ReactNode;
8
- classes?: Partial<import("@mui/material").ToggleButtonClasses> | undefined;
9
- color?: "primary" | "secondary" | "success" | "info" | "warning" | "error" | "standard" | undefined;
10
- disabled?: boolean | undefined;
11
- disableFocusRipple?: boolean | undefined;
12
- fullWidth?: boolean | undefined;
13
- onChange?: ((event: import("react").MouseEvent<HTMLElement, MouseEvent>, value: any) => void) | undefined;
14
- onClick?: ((event: import("react").MouseEvent<HTMLElement, MouseEvent>, value: any) => void) | undefined;
15
- selected?: boolean | undefined;
16
- size?: "small" | "medium" | "large" | undefined;
17
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
18
- value: {};
19
- } & Omit<{
20
- action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
21
- centerRipple?: boolean | undefined;
22
- children?: import("react").ReactNode;
23
- classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
24
- disabled?: boolean | undefined;
25
- disableRipple?: boolean | undefined;
26
- disableTouchRipple?: boolean | undefined;
27
- focusRipple?: boolean | undefined;
28
- focusVisibleClassName?: string | undefined;
29
- LinkComponent?: import("react").ElementType<any> | undefined;
30
- onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
31
- sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
32
- tabIndex?: number | undefined;
33
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
34
- touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
35
- }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
36
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
37
- }, "color" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "tabIndex" | "onChange" | "onClick" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "value" | "disableFocusRipple" | "fullWidth" | "size" | "selected"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & CustomToggleButtonProps, {}, {}>;
6
+ export declare const CustomToggleButton: import("@emotion/styled").StyledComponent<import("@mui/material").ToggleButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "classes" | "className" | "style" | "children" | "sx" | "tabIndex" | "color" | "onChange" | "onClick" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "fullWidth" | "size" | "value" | "selected"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & CustomToggleButtonProps, {}, {}>;
38
7
  export declare const IconAndChildrenWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
39
8
  export declare const IconWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
40
9
  hasIconOnly: boolean;
@@ -5,7 +5,7 @@ declare module "@mui/material/Typography" {
5
5
  interface TypographyPropsVariantOverrides extends TypographyPropsVariantOverridesType {
6
6
  }
7
7
  }
8
- declare const Typography: <C extends React.ElementType<any>>(props: TypographyProps<C, {
8
+ declare const Typography: <C extends React.ElementType<any, keyof React.JSX.IntrinsicElements>>(props: TypographyProps<C, {
9
9
  component?: C | undefined;
10
10
  }>) => import("react/jsx-runtime").JSX.Element;
11
11
  export default Typography;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunit/design-system",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "Lunit Design System",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/index.js",
@@ -56,37 +56,35 @@
56
56
  }
57
57
  }
58
58
  },
59
+ "engines": {
60
+ "node": ">=20.0.0"
61
+ },
59
62
  "devDependencies": {
60
63
  "@babel/core": "^7.17.10",
61
64
  "@babel/preset-env": "^7.21.4",
62
65
  "@babel/preset-react": "^7.18.6",
63
66
  "@babel/preset-typescript": "^7.21.4",
64
- "@emotion/react": "^11.9.0",
67
+ "@emotion/react": "11.14.0",
65
68
  "@emotion/styled": "^11.8.1",
66
- "@mui/icons-material": "^5.11.3",
67
- "@mui/material": "^5.11.3",
69
+ "@mui/icons-material": "5.18.0",
70
+ "@mui/material": "5.18.0",
68
71
  "@mui/utils": "^5.11.3",
69
- "@mui/x-date-pickers": "^5.0.20",
70
- "@storybook/addon-actions": "^7.0.21",
71
- "@storybook/addon-essentials": "^7.0.21",
72
- "@storybook/addon-interactions": "^7.0.21",
73
- "@storybook/addon-links": "^7.0.21",
74
- "@storybook/addon-storysource": "^7.0.21",
75
- "@storybook/blocks": "^7.0.21",
76
- "@storybook/react": "^7.0.21",
77
- "@storybook/react-webpack5": "^7.0.21",
78
- "@storybook/testing-library": "^0.1.0",
79
- "@storybook/theming": "^7.0.21",
72
+ "@storybook/addon-docs": "9.1.2",
73
+ "@storybook/addon-links": "9.1.2",
74
+ "@storybook/addon-webpack5-compiler-babel": "^3.0.6",
75
+ "@storybook/react-webpack5": "9.1.2",
80
76
  "@types/lodash": "^4.14.182",
77
+ "@types/react": "19.0.0",
78
+ "@types/react-dom": "19.0.0",
81
79
  "babel-loader": "^8.2.5",
82
80
  "chromatic": "^6.7.0",
83
81
  "dayjs": "^1.11.7",
84
82
  "lodash": "^4.17.21",
85
83
  "mustache": "^4.2.0",
86
- "react": "18.2.0",
87
- "react-dom": "18.2.0",
88
- "storybook": "^7.0.21",
89
- "storybook-addon-pseudo-states": "^2.0.1",
84
+ "react": "19.0.0",
85
+ "react-dom": "19.0.0",
86
+ "storybook": "9.1.2",
87
+ "storybook-addon-pseudo-states": "^9.1.2",
90
88
  "ts-loader": "^9.3.0",
91
89
  "typescript": "^4.6.4",
92
90
  "webpack": "^5.72.0",
@@ -98,8 +96,8 @@
98
96
  },
99
97
  "peerDependencies": {
100
98
  "@mui/material": "^5.0.0",
101
- "@types/react": "^17.0.0 || ^18.0.0",
102
- "react": "^17.0.0 || ^18.0.0",
103
- "react-dom": "^17.0.0 || ^18.0.0"
99
+ "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
100
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
101
+ "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
104
102
  }
105
- }
103
+ }
@@ -6,6 +6,8 @@ import type {
6
6
  } from "@mui/material";
7
7
  import type { OverridableComponent } from "@mui/material/OverridableComponent";
8
8
 
9
+ import type { JSX } from "react";
10
+
9
11
  type DesignSystemChipKind = "outlined" | "contained";
10
12
  type DesignSystemAndMuiContainedChipKind = "filled" | "contained";
11
13
  type ColorKeys = keyof typeof CHIP_COLORS;
@@ -1,5 +1,7 @@
1
1
  import type { MenuItemProps, SelectProps } from "@mui/material";
2
2
 
3
+ import type { JSX } from "react";
4
+
3
5
  export interface DropdownProps
4
6
  extends Omit<SelectProps, "size" | "variant" | "placeholder"> {
5
7
  // mui variant 를 바꾸게 되면 스타일이 틀어질 수 있어서 variant 를 아예 사용하지 못하게 props 에서 제거
@@ -4,6 +4,8 @@ import type {
4
4
  OutlinedTextFieldProps,
5
5
  } from "@mui/material/TextField";
6
6
 
7
+ import type { JSX } from "react";
8
+
7
9
  export type TextFieldSize = "small" | "medium" | "large";
8
10
  export interface BaseTextFieldProps
9
11
  extends Omit<
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { type JSX } from "react";
2
2
 
3
3
  import { IconWrapper } from "./TextField.style";
4
4
 
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/blocks';
1
+ import { Meta } from "@storybook/addon-docs/blocks";
2
2
 
3
3
  <Meta title="Getting Started/Overview" />
4
4
 
@@ -17,9 +17,9 @@ Material UI is peer dependency of Lunit Design System Library. You need to insta
17
17
  ```json
18
18
  "peerDependencies": {
19
19
  "@mui/material": "^5.0.0",
20
- "@types/react": "^17.0.0 || ^18.0.0",
21
- "react": "^17.0.0 || ^18.0.0",
22
- "react-dom": "^17.0.0 || ^18.0.0"
20
+ "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
21
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
22
+ "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
23
23
  }
24
24
  ```
25
25
 
@@ -30,12 +30,9 @@ Material UI is peer dependency of Lunit Design System Library. You need to insta
30
30
  This library is based on Material UI's themes feature, so it imports themes and puts them into the provider. We also recommend using the `CssBaseline` component.
31
31
 
32
32
  ```tsx
33
- import {
34
- createTheme,
35
- ThemeProvider,
36
- } from '@mui/material/styles';
37
- import CssBaseline from '@mui/material/CssBaseline';
38
- import { themeOptions } from '@lunit/design-system';
33
+ import { createTheme, ThemeProvider } from "@mui/material/styles";
34
+ import CssBaseline from "@mui/material/CssBaseline";
35
+ import { themeOptions } from "@lunit/design-system";
39
36
 
40
37
  const theme = createTheme(themeOptions);
41
38
 
@@ -61,11 +58,8 @@ This library uses the `Pretendard` font-family by default. The [Pretendard font]
61
58
  const theme = createTheme(
62
59
  deepmerge(themeOptions, {
63
60
  typography: {
64
- fontFamily: [
65
- 'Pretendard Variable',
66
- 'sans-serif',
67
- ]
68
- }
61
+ fontFamily: ["Pretendard Variable", "sans-serif"],
62
+ },
69
63
  })
70
64
  );
71
65
  ```
@@ -85,4 +79,4 @@ This library provides a variety of components that are used in Lunit's products.
85
79
  ## Support
86
80
 
87
81
  - Github: [Create a new issue](https://github.com/lunit-io/design-system/issues/new)
88
- - Slack: #tf_design_system
82
+ - Slack: #tf_design_system