@lunit/design-system 1.0.0-a.4 → 1.0.0-a.5

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 (71) 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/TextField/index.js +1 -1
  7. package/dist/cjs/components/TextField/index.js.map +1 -1
  8. package/dist/cjs/components/ToggleButton/index.js +1 -1
  9. package/dist/cjs/components/ToggleButton/index.js.map +1 -1
  10. package/dist/cjs/components/Typography/index.js +2 -0
  11. package/dist/cjs/components/Typography/index.js.map +1 -0
  12. package/dist/cjs/index.js +1 -1
  13. package/dist/cjs/index.js.map +1 -1
  14. package/dist/components/Alert/Alert.js.map +1 -1
  15. package/dist/components/Button/Button.js +2 -2
  16. package/dist/components/Button/Button.js.map +1 -1
  17. package/dist/components/Button/Button.styled.js +42 -21
  18. package/dist/components/Button/Button.styled.js.map +1 -1
  19. package/dist/components/TextField/TextField.js +3 -3
  20. package/dist/components/TextField/TextField.js.map +1 -1
  21. package/dist/components/TextField/TextField.style.js +3 -0
  22. package/dist/components/TextField/TextField.style.js.map +1 -1
  23. package/dist/components/Toast/Toast.js +1 -1
  24. package/dist/components/Toast/Toast.js.map +1 -1
  25. package/dist/components/Toast/index.js +1 -1
  26. package/dist/components/Toast/index.js.map +1 -1
  27. package/dist/components/Typography/index.js +3 -0
  28. package/dist/components/Typography/index.js.map +1 -0
  29. package/dist/foundation/Typography/index.js.map +1 -1
  30. package/dist/foundation/colors/index.js +9 -11
  31. package/dist/foundation/colors/index.js.map +1 -1
  32. package/dist/foundation/colors/token/component.js +22 -38
  33. package/dist/foundation/colors/token/component.js.map +1 -1
  34. package/dist/index.js +3 -0
  35. package/dist/index.js.map +1 -1
  36. package/dist/types/components/Button/Button.styled.d.ts +39 -19
  37. package/dist/types/components/Button/Button.types.d.ts +1 -1
  38. package/dist/types/components/Chip/Chip.styled.d.ts +12 -12
  39. package/dist/types/components/Chip/Chip.types.d.ts +1 -0
  40. package/dist/types/components/TextField/TextField.style.d.ts +3 -1
  41. package/dist/types/components/TextField/TextField.types.d.ts +2 -3
  42. package/dist/types/components/TextField/TextFieldIcon.d.ts +1 -0
  43. package/dist/types/components/Toast/index.d.ts +2 -1
  44. package/dist/types/components/ToggleButton/ToggleButton.styled.d.ts +2 -2
  45. package/dist/types/components/Typography/index.d.ts +7 -0
  46. package/dist/types/foundation/Typography/index.d.ts +1 -5
  47. package/dist/types/foundation/colors/index.d.ts +9 -11
  48. package/dist/types/foundation/colors/types.d.ts +9 -11
  49. package/dist/types/foundation/index.d.ts +9 -11
  50. package/dist/types/index.d.ts +3 -0
  51. package/package.json +21 -16
  52. package/src/components/Button/Button.styled.ts +42 -22
  53. package/src/components/Button/Button.tsx +12 -10
  54. package/src/components/Button/Button.types.ts +1 -1
  55. package/src/components/TextField/TextField.style.ts +3 -0
  56. package/src/components/TextField/TextField.tsx +3 -3
  57. package/src/components/TextField/TextField.types.ts +1 -3
  58. package/src/components/Toast/Toast.tsx +1 -1
  59. package/src/components/Toast/index.tsx +2 -1
  60. package/src/components/Typography/index.ts +9 -0
  61. package/src/foundation/Typography/index.ts +2 -6
  62. package/src/foundation/colors/index.ts +9 -11
  63. package/src/foundation/colors/token/component.ts +22 -38
  64. package/src/foundation/colors/types.ts +9 -11
  65. package/src/index.ts +3 -0
  66. package/src/stories/components/Button/Kind.stories.tsx +38 -5
  67. package/src/stories/components/Toast/Toast.stories.tsx +1 -1
  68. package/src/stories/foundation/Typography/Typography.mdx +1 -1
  69. package/src/stories/foundation/Typography/Typography.stories.tsx +3 -1
  70. package/src/stories/foundation/Typography/TypographyExamples.stories.tsx +2 -2
  71. package/src/stories/foundation/Typography/TypographyGroup.tsx +3 -7
@@ -101,6 +101,7 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
101
101
  breakInside?: import("csstype").Property.BreakInside | undefined;
102
102
  captionSide?: import("csstype").Property.CaptionSide | undefined;
103
103
  caretColor?: import("csstype").Property.CaretColor | undefined;
104
+ caretShape?: import("csstype").Property.CaretShape | undefined;
104
105
  clear?: import("csstype").Property.Clear | undefined;
105
106
  clipPath?: import("csstype").Property.ClipPath | undefined;
106
107
  color?: import("csstype").Property.Color | undefined;
@@ -115,6 +116,12 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
115
116
  columnSpan?: import("csstype").Property.ColumnSpan | undefined;
116
117
  columnWidth?: import("csstype").Property.ColumnWidth<string | number> | undefined;
117
118
  contain?: import("csstype").Property.Contain | undefined;
119
+ containIntrinsicBlockSize?: string | number | undefined;
120
+ containIntrinsicHeight?: string | number | undefined;
121
+ containIntrinsicInlineSize?: string | number | undefined;
122
+ containIntrinsicWidth?: string | number | undefined;
123
+ containerName?: import("csstype").Property.ContainerName | undefined;
124
+ containerType?: import("csstype").Property.ContainerType | undefined;
118
125
  content?: import("csstype").Property.Content | undefined;
119
126
  contentVisibility?: import("csstype").Property.ContentVisibility | undefined;
120
127
  counterIncrement?: import("csstype").Property.CounterIncrement | undefined;
@@ -136,6 +143,7 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
136
143
  fontKerning?: import("csstype").Property.FontKerning | undefined;
137
144
  fontLanguageOverride?: import("csstype").Property.FontLanguageOverride | undefined;
138
145
  fontOpticalSizing?: import("csstype").Property.FontOpticalSizing | undefined;
146
+ fontPalette?: import("csstype").Property.FontPalette | undefined;
139
147
  fontSize?: string | number | undefined;
140
148
  fontSizeAdjust?: import("csstype").Property.FontSizeAdjust | undefined;
141
149
  fontSmooth?: import("csstype").Property.FontSmooth<string | number> | undefined;
@@ -146,6 +154,7 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
146
154
  fontVariantAlternates?: import("csstype").Property.FontVariantAlternates | undefined;
147
155
  fontVariantCaps?: import("csstype").Property.FontVariantCaps | undefined;
148
156
  fontVariantEastAsian?: import("csstype").Property.FontVariantEastAsian | undefined;
157
+ fontVariantEmoji?: import("csstype").Property.FontVariantEmoji | undefined;
149
158
  fontVariantLigatures?: import("csstype").Property.FontVariantLigatures | undefined;
150
159
  fontVariantNumeric?: import("csstype").Property.FontVariantNumeric | undefined;
151
160
  fontVariantPosition?: import("csstype").Property.FontVariantPosition | undefined;
@@ -165,6 +174,7 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
165
174
  hangingPunctuation?: import("csstype").Property.HangingPunctuation | undefined;
166
175
  height?: string | number | undefined;
167
176
  hyphenateCharacter?: import("csstype").Property.HyphenateCharacter | undefined;
177
+ hyphenateLimitChars?: import("csstype").Property.HyphenateLimitChars | undefined;
168
178
  hyphens?: import("csstype").Property.Hyphens | undefined;
169
179
  imageOrientation?: import("csstype").Property.ImageOrientation | undefined;
170
180
  imageRendering?: import("csstype").Property.ImageRendering | undefined;
@@ -172,11 +182,8 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
172
182
  initialLetter?: import("csstype").Property.InitialLetter | undefined;
173
183
  inlineSize?: string | number | undefined;
174
184
  inputSecurity?: import("csstype").Property.InputSecurity | undefined;
175
- inset?: string | number | undefined;
176
- insetBlock?: string | number | undefined;
177
185
  insetBlockEnd?: string | number | undefined;
178
186
  insetBlockStart?: string | number | undefined;
179
- insetInline?: string | number | undefined;
180
187
  insetInlineEnd?: string | number | undefined;
181
188
  insetInlineStart?: string | number | undefined;
182
189
  isolation?: import("csstype").Property.Isolation | undefined;
@@ -192,16 +199,15 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
192
199
  listStyleImage?: import("csstype").Property.ListStyleImage | undefined;
193
200
  listStylePosition?: import("csstype").Property.ListStylePosition | undefined;
194
201
  listStyleType?: import("csstype").Property.ListStyleType | undefined;
195
- marginBlock?: string | number | undefined;
196
202
  marginBlockEnd?: string | number | undefined;
197
203
  marginBlockStart?: string | number | undefined;
198
204
  marginBottom?: string | number | undefined;
199
- marginInline?: string | number | undefined;
200
205
  marginInlineEnd?: string | number | undefined;
201
206
  marginInlineStart?: string | number | undefined;
202
207
  marginLeft?: string | number | undefined;
203
208
  marginRight?: string | number | undefined;
204
209
  marginTop?: string | number | undefined;
210
+ marginTrim?: import("csstype").Property.MarginTrim | undefined;
205
211
  maskBorderMode?: import("csstype").Property.MaskBorderMode | undefined;
206
212
  maskBorderOutset?: string | number | undefined;
207
213
  maskBorderRepeat?: import("csstype").Property.MaskBorderRepeat | undefined;
@@ -236,6 +242,7 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
236
242
  offsetAnchor?: string | number | undefined;
237
243
  offsetDistance?: string | number | undefined;
238
244
  offsetPath?: import("csstype").Property.OffsetPath | undefined;
245
+ offsetPosition?: string | number | undefined;
239
246
  offsetRotate?: import("csstype").Property.OffsetRotate | undefined;
240
247
  offsetRotation?: import("csstype").Property.OffsetRotate | undefined;
241
248
  opacity?: import("csstype").Property.Opacity | undefined;
@@ -257,23 +264,21 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
257
264
  overscrollBehaviorInline?: import("csstype").Property.OverscrollBehaviorInline | undefined;
258
265
  overscrollBehaviorX?: import("csstype").Property.OverscrollBehaviorX | undefined;
259
266
  overscrollBehaviorY?: import("csstype").Property.OverscrollBehaviorY | undefined;
260
- paddingBlock?: string | number | undefined;
261
267
  paddingBlockEnd?: string | number | undefined;
262
268
  paddingBlockStart?: string | number | undefined;
263
269
  paddingBottom?: string | number | undefined;
264
- paddingInline?: string | number | undefined;
265
270
  paddingInlineEnd?: string | number | undefined;
266
271
  paddingInlineStart?: string | number | undefined;
267
272
  paddingLeft?: string | number | undefined;
268
273
  paddingRight?: string | number | undefined;
269
274
  paddingTop?: string | number | undefined;
275
+ page?: import("csstype").Property.Page | undefined;
270
276
  pageBreakAfter?: import("csstype").Property.PageBreakAfter | undefined;
271
277
  pageBreakBefore?: import("csstype").Property.PageBreakBefore | undefined;
272
278
  pageBreakInside?: import("csstype").Property.PageBreakInside | undefined;
273
279
  paintOrder?: import("csstype").Property.PaintOrder | undefined;
274
280
  perspective?: import("csstype").Property.Perspective<string | number> | undefined;
275
281
  perspectiveOrigin?: string | number | undefined;
276
- placeContent?: import("csstype").Property.PlaceContent | undefined;
277
282
  pointerEvents?: import("csstype").Property.PointerEvents | undefined;
278
283
  position?: import("csstype").Property.Position | undefined;
279
284
  printColorAdjust?: import("csstype").Property.PrintColorAdjust | undefined;
@@ -287,36 +292,31 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
287
292
  rubyPosition?: import("csstype").Property.RubyPosition | undefined;
288
293
  scale?: import("csstype").Property.Scale | undefined;
289
294
  scrollBehavior?: import("csstype").Property.ScrollBehavior | undefined;
290
- scrollMargin?: string | number | undefined;
291
- scrollMarginBlock?: string | number | undefined;
292
295
  scrollMarginBlockEnd?: import("csstype").Property.ScrollMarginBlockEnd<string | number> | undefined;
293
296
  scrollMarginBlockStart?: import("csstype").Property.ScrollMarginBlockStart<string | number> | undefined;
294
297
  scrollMarginBottom?: import("csstype").Property.ScrollMarginBottom<string | number> | undefined;
295
- scrollMarginInline?: string | number | undefined;
296
298
  scrollMarginInlineEnd?: import("csstype").Property.ScrollMarginInlineEnd<string | number> | undefined;
297
299
  scrollMarginInlineStart?: import("csstype").Property.ScrollMarginInlineStart<string | number> | undefined;
298
300
  scrollMarginLeft?: import("csstype").Property.ScrollMarginLeft<string | number> | undefined;
299
301
  scrollMarginRight?: import("csstype").Property.ScrollMarginRight<string | number> | undefined;
300
302
  scrollMarginTop?: import("csstype").Property.ScrollMarginTop<string | number> | undefined;
301
- scrollPadding?: string | number | undefined;
302
- scrollPaddingBlock?: string | number | undefined;
303
303
  scrollPaddingBlockEnd?: string | number | undefined;
304
304
  scrollPaddingBlockStart?: string | number | undefined;
305
305
  scrollPaddingBottom?: string | number | undefined;
306
- scrollPaddingInline?: string | number | undefined;
307
306
  scrollPaddingInlineEnd?: string | number | undefined;
308
307
  scrollPaddingInlineStart?: string | number | undefined;
309
308
  scrollPaddingLeft?: string | number | undefined;
310
309
  scrollPaddingRight?: string | number | undefined;
311
310
  scrollPaddingTop?: string | number | undefined;
312
311
  scrollSnapAlign?: import("csstype").Property.ScrollSnapAlign | undefined;
313
- scrollSnapMargin?: string | number | undefined;
314
312
  scrollSnapMarginBottom?: import("csstype").Property.ScrollMarginBottom<string | number> | undefined;
315
313
  scrollSnapMarginLeft?: import("csstype").Property.ScrollMarginLeft<string | number> | undefined;
316
314
  scrollSnapMarginRight?: import("csstype").Property.ScrollMarginRight<string | number> | undefined;
317
315
  scrollSnapMarginTop?: import("csstype").Property.ScrollMarginTop<string | number> | undefined;
318
316
  scrollSnapStop?: import("csstype").Property.ScrollSnapStop | undefined;
319
317
  scrollSnapType?: import("csstype").Property.ScrollSnapType | undefined;
318
+ scrollTimelineAxis?: import("csstype").Property.ScrollTimelineAxis | undefined;
319
+ scrollTimelineName?: import("csstype").Property.ScrollTimelineName | undefined;
320
320
  scrollbarColor?: import("csstype").Property.ScrollbarColor | undefined;
321
321
  scrollbarGutter?: import("csstype").Property.ScrollbarGutter | undefined;
322
322
  scrollbarWidth?: import("csstype").Property.ScrollbarWidth | undefined;
@@ -361,6 +361,7 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
361
361
  unicodeBidi?: import("csstype").Property.UnicodeBidi | undefined;
362
362
  userSelect?: import("csstype").Property.UserSelect | undefined;
363
363
  verticalAlign?: string | number | undefined;
364
+ viewTransitionName?: import("csstype").Property.ViewTransitionName | undefined;
364
365
  visibility?: import("csstype").Property.Visibility | undefined;
365
366
  whiteSpace?: import("csstype").Property.WhiteSpace | undefined;
366
367
  widows?: import("csstype").Property.Widows | undefined;
@@ -392,8 +393,11 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
392
393
  borderStyle?: import("csstype").Property.BorderStyle | undefined;
393
394
  borderTop?: string | number | undefined;
394
395
  borderWidth?: string | number | undefined;
396
+ caret?: import("csstype").Property.Caret | undefined;
395
397
  columnRule?: string | number | undefined;
396
398
  columns?: string | number | undefined;
399
+ containIntrinsicSize?: string | number | undefined;
400
+ container?: import("csstype").Property.Container | undefined;
397
401
  flex?: string | number | undefined;
398
402
  flexFlow?: import("csstype").Property.FlexFlow | undefined;
399
403
  font?: import("csstype").Property.Font | undefined;
@@ -403,9 +407,14 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
403
407
  gridColumn?: import("csstype").Property.GridColumn | undefined;
404
408
  gridRow?: import("csstype").Property.GridRow | undefined;
405
409
  gridTemplate?: import("csstype").Property.GridTemplate | undefined;
410
+ inset?: string | number | undefined;
411
+ insetBlock?: string | number | undefined;
412
+ insetInline?: string | number | undefined;
406
413
  lineClamp?: import("csstype").Property.LineClamp | undefined;
407
414
  listStyle?: import("csstype").Property.ListStyle | undefined;
408
415
  margin?: string | number | undefined;
416
+ marginBlock?: string | number | undefined;
417
+ marginInline?: string | number | undefined;
409
418
  mask?: string | number | undefined;
410
419
  maskBorder?: import("csstype").Property.MaskBorder | undefined;
411
420
  motion?: string | number | undefined;
@@ -413,8 +422,19 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
413
422
  outline?: string | number | undefined;
414
423
  overflow?: import("csstype").Property.Overflow | undefined;
415
424
  overscrollBehavior?: import("csstype").Property.OverscrollBehavior | undefined;
425
+ paddingBlock?: string | number | undefined;
426
+ paddingInline?: string | number | undefined;
427
+ placeContent?: import("csstype").Property.PlaceContent | undefined;
416
428
  placeItems?: import("csstype").Property.PlaceItems | undefined;
417
429
  placeSelf?: import("csstype").Property.PlaceSelf | undefined;
430
+ scrollMargin?: string | number | undefined;
431
+ scrollMarginBlock?: string | number | undefined;
432
+ scrollMarginInline?: string | number | undefined;
433
+ scrollPadding?: string | number | undefined;
434
+ scrollPaddingBlock?: string | number | undefined;
435
+ scrollPaddingInline?: string | number | undefined;
436
+ scrollSnapMargin?: string | number | undefined;
437
+ scrollTimeline?: import("csstype").Property.ScrollTimeline | undefined;
418
438
  textDecoration?: string | number | undefined;
419
439
  textEmphasis?: import("csstype").Property.TextEmphasis | undefined;
420
440
  transition?: import("csstype").Property.Transition<string & {}> | undefined;
@@ -428,6 +448,7 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
428
448
  MozAnimationTimingFunction?: import("csstype").Property.AnimationTimingFunction | undefined;
429
449
  MozAppearance?: import("csstype").Property.MozAppearance | undefined;
430
450
  MozBackfaceVisibility?: import("csstype").Property.BackfaceVisibility | undefined;
451
+ MozBinding?: import("csstype").Property.MozBinding | undefined;
431
452
  MozBorderBottomColors?: import("csstype").Property.MozBorderBottomColors | undefined;
432
453
  MozBorderEndColor?: import("csstype").Property.BorderInlineEndColor | undefined;
433
454
  MozBorderEndStyle?: import("csstype").Property.BorderInlineEndStyle | undefined;
@@ -708,7 +729,6 @@ export declare const sizeStyle: ({ size, kind, hasIconOnly, typography, selected
708
729
  MozBackgroundInlinePolicy?: import("csstype").Property.BoxDecorationBreak | undefined;
709
730
  MozBackgroundOrigin?: import("csstype").Property.BackgroundOrigin | undefined;
710
731
  MozBackgroundSize?: string | number | undefined;
711
- MozBinding?: import("csstype").Property.MozBinding | undefined;
712
732
  MozBorderRadius?: string | number | undefined;
713
733
  MozBorderRadiusBottomleft?: string | number | undefined;
714
734
  MozBorderRadiusBottomright?: string | number | undefined;
@@ -881,7 +901,7 @@ export declare const iconStyle: ({ size, hasIconOnly, }: Pick<CustomButtonProps,
881
901
  export declare const CustomButton: import("@emotion/styled").StyledComponent<{
882
902
  children?: import("react").ReactNode;
883
903
  classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
884
- color?: "success" | "info" | "warning" | "error" | "inherit" | "primary" | "secondary" | undefined;
904
+ color?: "primary" | "secondary" | "error" | "inherit" | "success" | "info" | "warning" | undefined;
885
905
  disabled?: boolean | undefined;
886
906
  disableElevation?: boolean | undefined;
887
907
  disableFocusRipple?: boolean | undefined;
@@ -891,7 +911,7 @@ export declare const CustomButton: import("@emotion/styled").StyledComponent<{
891
911
  size?: "small" | "medium" | "large" | undefined;
892
912
  startIcon?: import("react").ReactNode;
893
913
  sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
894
- variant?: "text" | "outlined" | "contained" | undefined;
914
+ variant?: "text" | "contained" | "outlined" | undefined;
895
915
  } & Omit<{
896
916
  action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
897
917
  centerRipple?: boolean | undefined;
@@ -910,5 +930,5 @@ export declare const CustomButton: import("@emotion/styled").StyledComponent<{
910
930
  touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
911
931
  }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
912
932
  ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
913
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "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, {}, {}>;
933
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "children" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & CustomButtonProps, {}, {}>;
914
934
  export {};
@@ -13,7 +13,7 @@ interface GhostButtonProps extends BaseButtonProps {
13
13
  }
14
14
  interface OutlinedButtonProps extends BaseButtonProps {
15
15
  kind?: "outlined";
16
- color?: "primary";
16
+ color?: "primary" | "secondary";
17
17
  }
18
18
  export type ButtonProps = ContainedButtonProps | GhostButtonProps | OutlinedButtonProps;
19
19
  export {};
@@ -6,7 +6,7 @@ export declare const StyledOutlinedChip: import("@emotion/styled").StyledCompone
6
6
  children?: null | undefined;
7
7
  classes?: Partial<import("@mui/material").ChipClasses> | undefined;
8
8
  clickable?: boolean | undefined;
9
- color?: "success" | "info" | "warning" | "error" | "primary" | "secondary" | "default" | undefined;
9
+ color?: "primary" | "secondary" | "error" | "success" | "info" | "warning" | "default" | undefined;
10
10
  deleteIcon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
11
11
  disabled?: boolean | undefined;
12
12
  icon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
@@ -16,16 +16,16 @@ export declare const StyledOutlinedChip: import("@emotion/styled").StyledCompone
16
16
  skipFocusWhenDisabled?: boolean | undefined;
17
17
  sx?: import("@mui/material").SxProps<Theme> | undefined;
18
18
  tabIndex?: number | undefined;
19
- variant?: "filled" | "outlined" | undefined;
19
+ variant?: "outlined" | "filled" | undefined;
20
20
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
21
21
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
22
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "label" | "tabIndex" | "color" | "icon" | "disabled" | "size" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<Theme> & OutlinedChipProps, {}, {}>;
22
+ }, "icon" | keyof import("@mui/material/OverridableComponent").CommonProps | "label" | "tabIndex" | "color" | "children" | "disabled" | "sx" | "size" | "variant" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<Theme> & OutlinedChipProps, {}, {}>;
23
23
  export declare const StyledContainedChipBase: import("@emotion/styled").StyledComponent<{
24
24
  avatar?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
25
25
  children?: null | undefined;
26
26
  classes?: Partial<import("@mui/material").ChipClasses> | undefined;
27
27
  clickable?: boolean | undefined;
28
- color?: "success" | "info" | "warning" | "error" | "primary" | "secondary" | "default" | undefined;
28
+ color?: "primary" | "secondary" | "error" | "success" | "info" | "warning" | "default" | undefined;
29
29
  deleteIcon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
30
30
  disabled?: boolean | undefined;
31
31
  icon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
@@ -35,16 +35,16 @@ export declare const StyledContainedChipBase: import("@emotion/styled").StyledCo
35
35
  skipFocusWhenDisabled?: boolean | undefined;
36
36
  sx?: import("@mui/material").SxProps<Theme> | undefined;
37
37
  tabIndex?: number | undefined;
38
- variant?: "filled" | "outlined" | undefined;
38
+ variant?: "outlined" | "filled" | undefined;
39
39
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
40
40
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
41
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "label" | "tabIndex" | "color" | "icon" | "disabled" | "size" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<Theme> & BaseContainedChipProps, {}, {}>;
41
+ }, "icon" | keyof import("@mui/material/OverridableComponent").CommonProps | "label" | "tabIndex" | "color" | "children" | "disabled" | "sx" | "size" | "variant" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<Theme> & BaseContainedChipProps, {}, {}>;
42
42
  export declare const StyledContainedChipEnable: import("@emotion/styled").StyledComponent<{
43
43
  avatar?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
44
44
  children?: null | undefined;
45
45
  classes?: Partial<import("@mui/material").ChipClasses> | undefined;
46
46
  clickable?: boolean | undefined;
47
- color?: "success" | "info" | "warning" | "error" | "primary" | "secondary" | "default" | undefined;
47
+ color?: "primary" | "secondary" | "error" | "success" | "info" | "warning" | "default" | undefined;
48
48
  deleteIcon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
49
49
  disabled?: boolean | undefined;
50
50
  icon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
@@ -54,16 +54,16 @@ export declare const StyledContainedChipEnable: import("@emotion/styled").Styled
54
54
  skipFocusWhenDisabled?: boolean | undefined;
55
55
  sx?: import("@mui/material").SxProps<Theme> | undefined;
56
56
  tabIndex?: number | undefined;
57
- variant?: "filled" | "outlined" | undefined;
57
+ variant?: "outlined" | "filled" | undefined;
58
58
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
59
59
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
60
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "label" | "tabIndex" | "color" | "icon" | "disabled" | "size" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<Theme> & BaseContainedChipProps & EnableContainedChipProps, {}, {}>;
60
+ }, "icon" | keyof import("@mui/material/OverridableComponent").CommonProps | "label" | "tabIndex" | "color" | "children" | "disabled" | "sx" | "size" | "variant" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<Theme> & BaseContainedChipProps & EnableContainedChipProps, {}, {}>;
61
61
  export declare const StyledContainedChipDeletable: import("@emotion/styled").StyledComponent<{
62
62
  avatar?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
63
63
  children?: null | undefined;
64
64
  classes?: Partial<import("@mui/material").ChipClasses> | undefined;
65
65
  clickable?: boolean | undefined;
66
- color?: "success" | "info" | "warning" | "error" | "primary" | "secondary" | "default" | undefined;
66
+ color?: "primary" | "secondary" | "error" | "success" | "info" | "warning" | "default" | undefined;
67
67
  deleteIcon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
68
68
  disabled?: boolean | undefined;
69
69
  icon?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
@@ -73,7 +73,7 @@ export declare const StyledContainedChipDeletable: import("@emotion/styled").Sty
73
73
  skipFocusWhenDisabled?: boolean | undefined;
74
74
  sx?: import("@mui/material").SxProps<Theme> | undefined;
75
75
  tabIndex?: number | undefined;
76
- variant?: "filled" | "outlined" | undefined;
76
+ variant?: "outlined" | "filled" | undefined;
77
77
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
78
78
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
79
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "label" | "tabIndex" | "color" | "icon" | "disabled" | "size" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<Theme> & BaseContainedChipProps, {}, {}>;
79
+ }, "icon" | keyof import("@mui/material/OverridableComponent").CommonProps | "label" | "tabIndex" | "color" | "children" | "disabled" | "sx" | "size" | "variant" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import("@mui/system").MUIStyledCommonProps<Theme> & BaseContainedChipProps, {}, {}>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CHIP_COLORS } from "./consts";
2
3
  import type { ChipProps as MuiChipProps } from "@mui/material";
3
4
  type ColorKeys = keyof typeof CHIP_COLORS;
@@ -1,6 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import type { TextFieldProps, TextFieldSize } from "./TextField.types";
3
- declare const BaseTextField: import("@emotion/styled").StyledComponent<import("@mui/material/TextField").OutlinedTextFieldProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Omit<TextFieldProps, "size"> & {
3
+ declare const BaseTextField: import("@emotion/styled").StyledComponent<{
4
+ variant?: import("@mui/material/TextField").TextFieldVariants | undefined;
5
+ } & Omit<import("@mui/material/TextField").OutlinedTextFieldProps | import("@mui/material/TextField").FilledTextFieldProps | import("@mui/material/TextField").StandardTextFieldProps, "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Omit<TextFieldProps, "size"> & {
4
6
  textFieldSize: TextFieldSize;
5
7
  hasLeftIcon?: boolean | undefined;
6
8
  hasRightIcon?: boolean | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { SxProps } from "@mui/material";
2
3
  import type { OutlinedTextFieldProps } from "@mui/material/TextField";
3
4
  export type TextFieldSize = "small" | "medium" | "large";
@@ -5,7 +6,7 @@ export interface BaseTextFieldProps extends Omit<OutlinedTextFieldProps, "size"
5
6
  /**
6
7
  * The design system TextField variable is outlined fixed.
7
8
  */
8
- variant: "outlined";
9
+ variant?: "outlined";
9
10
  value?: string;
10
11
  helperText?: string;
11
12
  /**
@@ -14,7 +15,6 @@ export interface BaseTextFieldProps extends Omit<OutlinedTextFieldProps, "size"
14
15
  size?: TextFieldSize;
15
16
  }
16
17
  export interface SingleTextFieldProps extends BaseTextFieldProps {
17
- size: TextFieldSize;
18
18
  leftIcon?: JSX.Element;
19
19
  rightIcon?: JSX.Element;
20
20
  leftIconSx?: SxProps;
@@ -24,6 +24,5 @@ export interface SingleTextFieldProps extends BaseTextFieldProps {
24
24
  }
25
25
  export interface MultiTextFieldProps extends BaseTextFieldProps {
26
26
  rows?: number | string;
27
- size: TextFieldSize;
28
27
  }
29
28
  export type TextFieldProps = SingleTextFieldProps | MultiTextFieldProps;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { SxProps } from "@mui/material";
2
3
  interface TextFieldProps {
3
4
  sx?: SxProps;
@@ -1 +1,2 @@
1
- export { default as Toast } from './Toast';
1
+ export { default } from "./Toast";
2
+ export type { ToastProps } from "./Toast.types";
@@ -6,7 +6,7 @@ type CustomToggleButtonProps = ToggleButtonProps & {
6
6
  export declare const CustomToggleButton: import("@emotion/styled").StyledComponent<{
7
7
  children?: import("react").ReactNode;
8
8
  classes?: Partial<import("@mui/material").ToggleButtonClasses> | undefined;
9
- color?: "success" | "info" | "warning" | "error" | "standard" | "primary" | "secondary" | undefined;
9
+ color?: "primary" | "secondary" | "error" | "success" | "info" | "warning" | "standard" | undefined;
10
10
  disabled?: boolean | undefined;
11
11
  disableFocusRipple?: boolean | undefined;
12
12
  fullWidth?: boolean | undefined;
@@ -34,6 +34,6 @@ export declare const CustomToggleButton: import("@emotion/styled").StyledCompone
34
34
  touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
35
35
  }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
36
36
  ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
37
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "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, {}, {}>;
37
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "children" | "onChange" | "onClick" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "fullWidth" | "size" | "value" | "selected"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & CustomToggleButtonProps, {}, {}>;
38
38
  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
39
  export {};
@@ -0,0 +1,7 @@
1
+ import Typography from "@mui/material/Typography";
2
+ import type { TypographyPropsVariantOverridesType } from "../../foundation/Typography";
3
+ declare module "@mui/material/Typography" {
4
+ interface TypographyPropsVariantOverrides extends TypographyPropsVariantOverridesType {
5
+ }
6
+ }
7
+ export default Typography;
@@ -8,11 +8,7 @@ declare module "@mui/material/styles" {
8
8
  interface TypographyVariantsOptions extends Partial<DSVariantsType> {
9
9
  }
10
10
  }
11
- type TypographyPropsVariantOverridesType = Record<DSVariants, true>;
12
- declare module "@mui/material/Typography" {
13
- interface TypographyPropsVariantOverrides extends TypographyPropsVariantOverridesType {
14
- }
15
- }
11
+ export type TypographyPropsVariantOverridesType = Record<DSVariants, true>;
16
12
  declare const typographyOptions: TypographyOptions;
17
13
  export declare const typographyDefaultProps: {
18
14
  variantMapping: {
@@ -131,17 +131,15 @@ declare const paletteOptions: {
131
131
  shadow_04: string;
132
132
  };
133
133
  component: {
134
- btn_contained_primary_bg: string;
135
- btn_contained_primary_text: string;
136
- btn_contained_secondary_bg: string;
137
- btn_contained_secondary_text: string;
138
- btn_contained_error_bg: string;
139
- btn_contained_error_text: string;
140
- btn_outlined_primary_border: string;
141
- btn_outlined_primary_text: string;
142
- btn_ghost_primary_text: string;
143
- btn_ghost_secondary_text: string;
144
- btn_ghost_error_text: string;
134
+ btn_primary_bg: string;
135
+ btn_secondary_bg: string;
136
+ btn_error_bg: string;
137
+ btn_primary_border: string;
138
+ btn_secondary_border: string;
139
+ btn_primary_text_1: string;
140
+ btn_primary_text_2: string;
141
+ btn_secondary_text: string;
142
+ btn_error_text: string;
145
143
  btn_selected_primary_bg: string;
146
144
  btn_selected_primary_text: string;
147
145
  btn_selected_secondary_bg: string;
@@ -29,17 +29,15 @@ export interface ColorToken {
29
29
  shadow_04: CSSPropertyColor;
30
30
  };
31
31
  component: {
32
- btn_contained_primary_bg: CSSPropertyColor;
33
- btn_contained_primary_text: CSSPropertyColor;
34
- btn_contained_secondary_bg: CSSPropertyColor;
35
- btn_contained_secondary_text: CSSPropertyColor;
36
- btn_contained_error_bg: CSSPropertyColor;
37
- btn_contained_error_text: CSSPropertyColor;
38
- btn_outlined_primary_border: CSSPropertyColor;
39
- btn_outlined_primary_text: CSSPropertyColor;
40
- btn_ghost_primary_text: CSSPropertyColor;
41
- btn_ghost_secondary_text: CSSPropertyColor;
42
- btn_ghost_error_text: CSSPropertyColor;
32
+ btn_primary_bg: CSSPropertyColor;
33
+ btn_secondary_bg: CSSPropertyColor;
34
+ btn_error_bg: CSSPropertyColor;
35
+ btn_primary_border: CSSPropertyColor;
36
+ btn_secondary_border: CSSPropertyColor;
37
+ btn_primary_text_1: CSSPropertyColor;
38
+ btn_primary_text_2: CSSPropertyColor;
39
+ btn_secondary_text: CSSPropertyColor;
40
+ btn_error_text: CSSPropertyColor;
43
41
  btn_selected_primary_bg: CSSPropertyColor;
44
42
  btn_selected_primary_text: CSSPropertyColor;
45
43
  btn_selected_secondary_bg: CSSPropertyColor;
@@ -78,17 +78,15 @@ export declare const palette: {
78
78
  shadow_04: string;
79
79
  };
80
80
  component: {
81
- btn_contained_primary_bg: string;
82
- btn_contained_primary_text: string;
83
- btn_contained_secondary_bg: string;
84
- btn_contained_secondary_text: string;
85
- btn_contained_error_bg: string;
86
- btn_contained_error_text: string;
87
- btn_outlined_primary_border: string;
88
- btn_outlined_primary_text: string;
89
- btn_ghost_primary_text: string;
90
- btn_ghost_secondary_text: string;
91
- btn_ghost_error_text: string;
81
+ btn_primary_bg: string;
82
+ btn_secondary_bg: string;
83
+ btn_error_bg: string;
84
+ btn_primary_border: string;
85
+ btn_secondary_border: string;
86
+ btn_primary_text_1: string;
87
+ btn_primary_text_2: string;
88
+ btn_secondary_text: string;
89
+ btn_error_text: string;
92
90
  btn_selected_primary_bg: string;
93
91
  btn_selected_primary_text: string;
94
92
  btn_selected_secondary_bg: string;
@@ -3,6 +3,7 @@ export { base as baseColors } from "./foundation/colors";
3
3
  export { default as Alert } from "./components/Alert";
4
4
  export { default as Button } from "./components/Button";
5
5
  export { default as Chip } from "./components/Chip";
6
+ export { default as Checkbox } from "./components/Checkbox";
6
7
  export { default as DataTable } from "./components/DataTable";
7
8
  export { default as DatePicker } from "./components/DatePicker";
8
9
  export { default as Dropdown } from "./components/Dropdown";
@@ -11,7 +12,9 @@ export { default as Modal } from "./components/Modal";
11
12
  export { default as Radio } from "./components/Radio";
12
13
  export { default as RadioGroup } from "./components/RadioGroup";
13
14
  export { default as TextField } from "./components/TextField";
15
+ export { default as Toast } from "./components/Toast";
14
16
  export { default as Toggle } from "./components/Toggle";
15
17
  export { default as ToggleButton } from "./components/ToggleButton";
16
18
  export { default as ToggleButtonGroup } from "./components/ToggleButtonGroup";
17
19
  export { default as Tooltip } from "./components/Tooltip";
20
+ export { default as Typography } from "./components/Typography";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunit/design-system",
3
- "version": "1.0.0-a.4",
3
+ "version": "1.0.0-a.5",
4
4
  "description": "Lunit Design System",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/index.js",
@@ -37,7 +37,7 @@
37
37
  "scripts": {
38
38
  "build:transpile": "tsc -p tsconfig.build.json",
39
39
  "build:cjs": "webpack -c webpack/cjs.config.js",
40
- "build": "yarn build:transpile && yarn build:cjs",
40
+ "build": "npm run build:transpile && npm run build:cjs",
41
41
  "storybook": "storybook dev -p 6006",
42
42
  "build-storybook": "storybook build",
43
43
  "chromatic": "chromatic"
@@ -48,6 +48,11 @@
48
48
  "dependsOn": [
49
49
  "^build"
50
50
  ]
51
+ },
52
+ "build-storybook": {
53
+ "dependsOn": [
54
+ "^build"
55
+ ]
51
56
  }
52
57
  }
53
58
  },
@@ -61,27 +66,27 @@
61
66
  "@mui/icons-material": "^5.11.3",
62
67
  "@mui/material": "^5.11.3",
63
68
  "@mui/utils": "^5.11.3",
64
- "@mui/x-date-pickers": "^5.0.16",
65
- "@storybook/addon-actions": "^7.0.6",
66
- "@storybook/addon-essentials": "^7.0.6",
67
- "@storybook/addon-interactions": "^7.0.6",
68
- "@storybook/addon-links": "^7.0.6",
69
- "@storybook/addon-storysource": "^7.0.6",
70
- "@storybook/blocks": "^7.0.6",
71
- "@storybook/react": "^7.0.6",
72
- "@storybook/react-webpack5": "^7.0.6",
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",
73
78
  "@storybook/testing-library": "^0.1.0",
74
- "@storybook/theming": "^7.0.6",
79
+ "@storybook/theming": "^7.0.21",
75
80
  "@types/lodash": "^4.14.182",
76
81
  "babel-loader": "^8.2.5",
77
82
  "chromatic": "^6.7.0",
78
83
  "dayjs": "^1.11.7",
79
84
  "lodash": "^4.17.21",
80
85
  "mustache": "^4.2.0",
81
- "react": "^17.0.2",
82
- "react-dom": "^17.0.2",
83
- "storybook": "^7.0.6",
84
- "storybook-addon-pseudo-states": "^2.0.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",
85
90
  "ts-loader": "^9.3.0",
86
91
  "typescript": "^4.6.4",
87
92
  "webpack": "^5.72.0",