@lunit/design-system 2.0.2 → 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.
- package/README.md +107 -7
- package/dist/cjs/components/Alert/index.js +1 -1
- package/dist/cjs/components/Alert/index.js.map +1 -1
- package/dist/cjs/components/Button/index.js +1 -1
- package/dist/cjs/components/Button/index.js.map +1 -1
- package/dist/cjs/components/Checkbox/index.js +1 -1
- package/dist/cjs/components/Checkbox/index.js.map +1 -1
- package/dist/cjs/components/Chip/index.js +1 -1
- package/dist/cjs/components/Chip/index.js.map +1 -1
- package/dist/cjs/components/DataTable/index.js.map +1 -1
- package/dist/cjs/components/DatePicker/index.js.map +1 -1
- package/dist/cjs/components/Dialog/index.js +1 -1
- package/dist/cjs/components/Dialog/index.js.map +1 -1
- package/dist/cjs/components/Dropdown/index.js +1 -1
- package/dist/cjs/components/Dropdown/index.js.map +1 -1
- package/dist/cjs/components/FormLabel/index.js +1 -1
- package/dist/cjs/components/FormLabel/index.js.map +1 -1
- package/dist/cjs/components/Radio/index.js +1 -1
- package/dist/cjs/components/Radio/index.js.map +1 -1
- package/dist/cjs/components/RadioGroup/index.js.map +1 -1
- package/dist/cjs/components/TextField/index.js +1 -1
- package/dist/cjs/components/TextField/index.js.map +1 -1
- package/dist/cjs/components/Toggle/index.js +1 -1
- package/dist/cjs/components/Toggle/index.js.map +1 -1
- package/dist/cjs/components/ToggleButton/index.js +1 -1
- package/dist/cjs/components/ToggleButton/index.js.map +1 -1
- package/dist/cjs/components/Tooltip/index.js.map +1 -1
- package/dist/cjs/components/Typography/index.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/components/Chip/Chip.styled.js +9 -16
- package/dist/components/Chip/Chip.styled.js.map +1 -1
- package/dist/components/Dialog/Dialog.js +0 -6
- package/dist/components/Dialog/Dialog.js.map +1 -1
- package/dist/components/Dropdown/Dropdown.js +37 -4
- package/dist/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/components/Dropdown/Dropdown.styled.js +161 -0
- package/dist/components/Dropdown/Dropdown.styled.js.map +1 -0
- package/dist/components/Dropdown/Dropdown.types.js +2 -0
- package/dist/components/Dropdown/Dropdown.types.js.map +1 -0
- package/dist/components/Dropdown/DropdownItem.js +36 -0
- package/dist/components/Dropdown/DropdownItem.js.map +1 -0
- package/dist/components/Dropdown/index.js +1 -0
- package/dist/components/Dropdown/index.js.map +1 -1
- package/dist/components/TextField/TextField.js +1 -1
- package/dist/components/TextField/TextField.js.map +1 -1
- package/dist/components/TextField/TextField.style.js +27 -3
- package/dist/components/TextField/TextField.style.js.map +1 -1
- package/dist/foundation/Typography/index.js +5 -0
- package/dist/foundation/Typography/index.js.map +1 -1
- package/dist/foundation/Typography/tokens.js +44 -0
- package/dist/foundation/Typography/tokens.js.map +1 -1
- package/dist/foundation/colors/base/blue.js +12 -10
- package/dist/foundation/colors/base/blue.js.map +1 -1
- package/dist/foundation/colors/base/green.js +11 -9
- package/dist/foundation/colors/base/green.js.map +1 -1
- package/dist/foundation/colors/base/grey.js +30 -15
- package/dist/foundation/colors/base/grey.js.map +1 -1
- package/dist/foundation/colors/base/lunitTeal.js +2 -0
- package/dist/foundation/colors/base/lunitTeal.js.map +1 -1
- package/dist/foundation/colors/base/magenta.js +3 -1
- package/dist/foundation/colors/base/magenta.js.map +1 -1
- package/dist/foundation/colors/base/orange.js +11 -9
- package/dist/foundation/colors/base/orange.js.map +1 -1
- package/dist/foundation/colors/base/purple.js +3 -1
- package/dist/foundation/colors/base/purple.js.map +1 -1
- package/dist/foundation/colors/base/red.js +5 -3
- package/dist/foundation/colors/base/red.js.map +1 -1
- package/dist/foundation/colors/base/yellow.js +12 -10
- package/dist/foundation/colors/base/yellow.js.map +1 -1
- package/dist/foundation/colors/index.js +3 -0
- package/dist/foundation/colors/index.js.map +1 -1
- package/dist/foundation/colors/token/component.js +26 -22
- package/dist/foundation/colors/token/component.js.map +1 -1
- package/dist/foundation/colors/token/core.js +21 -0
- package/dist/foundation/colors/token/core.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/components/Button/Button.styled.d.ts +35 -50
- package/dist/types/components/Chip/Chip.styled.d.ts +4 -76
- package/dist/types/components/Chip/Chip.types.d.ts +1 -1
- package/dist/types/components/Dialog/Dialog.d.ts +0 -3
- package/dist/types/components/Dropdown/Dropdown.d.ts +3 -1
- package/dist/types/components/Dropdown/Dropdown.styled.d.ts +7 -0
- package/dist/types/components/Dropdown/Dropdown.types.d.ts +11 -0
- package/dist/types/components/Dropdown/DropdownItem.d.ts +13 -0
- package/dist/types/components/Dropdown/index.d.ts +2 -0
- package/dist/types/components/TextField/TextField.types.d.ts +1 -1
- package/dist/types/components/TextField/TextFieldIcon.d.ts +1 -1
- package/dist/types/components/ToggleButton/ToggleButton.styled.d.ts +1 -32
- package/dist/types/components/Typography/Typography.d.ts +1 -1
- package/dist/types/foundation/Typography/index.d.ts +21 -1
- package/dist/types/foundation/Typography/tokens.d.ts +15 -0
- package/dist/types/foundation/colors/base/blue.d.ts +2 -0
- package/dist/types/foundation/colors/base/green.d.ts +2 -0
- package/dist/types/foundation/colors/base/grey.d.ts +15 -0
- package/dist/types/foundation/colors/base/lunitTeal.d.ts +2 -0
- package/dist/types/foundation/colors/base/magenta.d.ts +2 -0
- package/dist/types/foundation/colors/base/orange.d.ts +2 -0
- package/dist/types/foundation/colors/base/purple.d.ts +2 -0
- package/dist/types/foundation/colors/base/red.d.ts +2 -0
- package/dist/types/foundation/colors/base/yellow.d.ts +2 -0
- package/dist/types/foundation/colors/index.d.ts +3 -0
- package/dist/types/foundation/colors/types.d.ts +3 -0
- package/dist/types/foundation/index.d.ts +3 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +20 -22
- package/src/components/Chip/Chip.styled.ts +9 -16
- package/src/components/Chip/Chip.types.ts +2 -0
- package/src/components/Dialog/Dialog.tsx +0 -8
- package/src/components/Dropdown/Dropdown.styled.tsx +170 -0
- package/src/components/Dropdown/Dropdown.tsx +59 -8
- package/src/components/Dropdown/Dropdown.types.ts +17 -0
- package/src/components/Dropdown/DropdownItem.tsx +107 -0
- package/src/components/Dropdown/index.ts +6 -0
- package/src/components/TextField/TextField.style.ts +28 -3
- package/src/components/TextField/TextField.tsx +1 -7
- package/src/components/TextField/TextField.types.ts +2 -0
- package/src/components/TextField/TextFieldIcon.tsx +1 -1
- package/src/foundation/Typography/index.ts +10 -0
- package/src/foundation/Typography/tokens.ts +45 -0
- package/src/foundation/colors/base/blue.ts +12 -10
- package/src/foundation/colors/base/green.ts +11 -9
- package/src/foundation/colors/base/grey.ts +30 -15
- package/src/foundation/colors/base/lunitTeal.ts +2 -0
- package/src/foundation/colors/base/magenta.ts +3 -1
- package/src/foundation/colors/base/orange.ts +11 -9
- package/src/foundation/colors/base/purple.ts +3 -1
- package/src/foundation/colors/base/red.ts +5 -3
- package/src/foundation/colors/base/yellow.ts +12 -10
- package/src/foundation/colors/index.ts +3 -0
- package/src/foundation/colors/token/component.ts +26 -22
- package/src/foundation/colors/token/core.ts +21 -0
- package/src/foundation/colors/types.ts +3 -0
- package/src/index.ts +6 -1
- package/src/stories/GettingStarted.mdx +10 -16
- package/src/stories/components/Alert/Alert.stories.tsx +3 -3
- package/src/stories/components/Button/BasicButton.stories.tsx +2 -2
- package/src/stories/components/Button/ButtonDocs.mdx +1 -1
- package/src/stories/components/Button/Color.stories.tsx +2 -2
- package/src/stories/components/Button/IconButton.stories.tsx +2 -2
- package/src/stories/components/Button/Kind.stories.tsx +2 -2
- package/src/stories/components/CheckBox/BasicCheckbox.stories.tsx +2 -2
- package/src/stories/components/CheckBox/CheckboxDocs.mdx +1 -1
- package/src/stories/components/Chip/Chip.stories.tsx +20 -2
- package/src/stories/components/Chip/ChipDocs.mdx +21 -1
- package/src/stories/components/DataTable/DataTable.stories.tsx +1 -1
- package/src/stories/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/src/stories/components/Dialog/Dialog.stories.tsx +19 -8
- package/src/stories/components/Dialog/DialogDocs.mdx +3 -11
- package/src/stories/components/Dropdown/Dropdown.stories.tsx +299 -10
- package/src/stories/components/Dropdown/DropdownExamples.stories.tsx +221 -0
- package/src/stories/components/Dropdown/DropdownItem.stories.tsx +360 -0
- package/src/stories/components/SelectControl/RadioGroup.stories.tsx +1 -1
- package/src/stories/components/SelectControl/RadioStatus.stories.tsx +1 -1
- package/src/stories/components/SelectControl/Toggle.stories.tsx +2 -2
- package/src/stories/components/TextField/BasicTextField.stories.tsx +37 -16
- package/src/stories/components/TextField/TextFieldDocs.mdx +13 -1
- package/src/stories/components/TextField/TextFieldMulti.stories.tsx +8 -11
- package/src/stories/components/TextField/TextFieldSingle.stories.tsx +8 -11
- package/src/stories/components/TextField/TextFieldSize.stories.tsx +7 -8
- package/src/stories/components/Toast/Toast.stories.tsx +8 -3
- package/src/stories/components/ToggleButton/Basic.stories.tsx +152 -113
- package/src/stories/components/ToggleButton/ToggleButtonDocs.mdx +1 -1
- package/src/stories/components/ToggleButton/ToggleButtonKind.stories.tsx +5 -5
- package/src/stories/components/ToggleButton/WithIcon.stories.tsx +2 -2
- package/src/stories/components/Tooltip/Tooltip.stories.tsx +1 -1
- package/src/stories/foundation/Elevation/Elevation.stories.tsx +1 -20
- package/src/stories/foundation/Typography/Typography.mdx +1 -1
- package/src/stories/foundation/Typography/Typography.stories.tsx +14 -1
- package/src/stories/foundation/Typography/const.ts +6 -1
- package/src/stories/foundation/colors/Colors.stories.tsx +2 -2
- package/src/stories/foundation/colors/Docs.mdx +1 -1
- package/src/stories/foundation/colors/Mui.stories.tsx +1 -1
- package/src/stories/foundation/colors/Token.inComponent.stories.tsx +1 -1
- package/src/stories/foundation/colors/TokenPaletteTable.stories.tsx +1 -1
- package/src/stories/foundation/colors/TokenPaletteTable.tsx +19 -1
- package/tsconfig.json +0 -1
- package/dist/cjs/components/Modal/index.js +0 -2
- package/dist/cjs/components/Modal/index.js.map +0 -1
- package/dist/components/Modal/Modal.js +0 -7
- package/dist/components/Modal/Modal.js.map +0 -1
- package/dist/components/Modal/index.js +0 -2
- package/dist/components/Modal/index.js.map +0 -1
- package/dist/types/components/Modal/Modal.d.ts +0 -2
- package/dist/types/components/Modal/index.d.ts +0 -1
- 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
|
-
|
|
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?: "success" | "info" | "warning" | "error" | "primary" | "secondary" | "inherit" | 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?: "text" | "outlined" | "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
|
-
}, 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, {}, {}>;
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
clickable?: boolean | undefined;
|
|
9
|
-
color?: "success" | "info" | "warning" | "error" | "default" | "primary" | "secondary" | 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?: "filled" | "outlined" | 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
|
-
}, 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, {}, {}>;
|
|
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?: "success" | "info" | "warning" | "error" | "default" | "primary" | "secondary" | 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?: "filled" | "outlined" | 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
|
-
}, 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, {}, {}>;
|
|
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?: "success" | "info" | "warning" | "error" | "default" | "primary" | "secondary" | 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?: "filled" | "outlined" | 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
|
-
}, 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, {}, {}>;
|
|
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?: "success" | "info" | "warning" | "error" | "default" | "primary" | "secondary" | 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?: "filled" | "outlined" | 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
|
-
}, 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, {}, {}>;
|
|
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;
|
|
@@ -11,7 +11,6 @@ export interface DialogBase {
|
|
|
11
11
|
titleVariant?: TypographyProps["variant"];
|
|
12
12
|
children: React.ReactNode;
|
|
13
13
|
actions?: React.ReactNode;
|
|
14
|
-
enableBackButtonClose?: boolean;
|
|
15
14
|
enableBackdropClose?: boolean;
|
|
16
15
|
size?: "small" | "medium";
|
|
17
16
|
sx?: SxProps;
|
|
@@ -21,13 +20,11 @@ export interface DialogBase {
|
|
|
21
20
|
export interface PassiveDialogType extends DialogBase {
|
|
22
21
|
type: "passive";
|
|
23
22
|
actions?: undefined;
|
|
24
|
-
enableBackButtonClose?: true;
|
|
25
23
|
enableBackdropClose?: true;
|
|
26
24
|
}
|
|
27
25
|
export interface ActionDialogType extends DialogBase {
|
|
28
26
|
type: "action";
|
|
29
27
|
actions: React.ReactNode;
|
|
30
|
-
enableBackButtonClose?: false;
|
|
31
28
|
enableBackdropClose?: boolean;
|
|
32
29
|
}
|
|
33
30
|
export interface PassiveModalProps extends PassiveDialogType {
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { DropdownProps } from "./Dropdown.types";
|
|
3
|
+
declare const Dropdown: React.ForwardRefExoticComponent<Omit<DropdownProps, "ref"> & React.RefAttributes<unknown>>;
|
|
2
4
|
export default Dropdown;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
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"> & {
|
|
4
|
+
selectSize: "small" | "medium" | "large";
|
|
5
|
+
}, {}, {}>;
|
|
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>, {}, {}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { MenuItemProps, SelectProps } from "@mui/material";
|
|
2
|
+
import type { JSX } from "react";
|
|
3
|
+
export interface DropdownProps extends Omit<SelectProps, "size" | "variant" | "placeholder"> {
|
|
4
|
+
select?: "single" | "multiple";
|
|
5
|
+
size?: "small" | "medium" | "large";
|
|
6
|
+
}
|
|
7
|
+
export interface DropdownItemProps extends MenuItemProps {
|
|
8
|
+
leftIcon?: JSX.Element;
|
|
9
|
+
rightText?: string;
|
|
10
|
+
isFilledStyle?: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SxProps } from "@mui/material";
|
|
2
|
+
import { DropdownItemProps } from "./Dropdown.types";
|
|
3
|
+
export declare function DropdownItem(props: DropdownItemProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function DropdownDivider({ sx }: {
|
|
5
|
+
sx?: SxProps;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function DropdownSubtitle({ title, sx, }: {
|
|
8
|
+
title: string;
|
|
9
|
+
sx?: SxProps;
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare namespace DropdownSubtitle {
|
|
12
|
+
var muiSkipListHighlight: boolean;
|
|
13
|
+
}
|
|
@@ -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
|
/**
|
|
@@ -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?: "success" | "info" | "warning" | "error" | "standard" | "primary" | "secondary" | 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
|
-
}, 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, {}, {}>;
|
|
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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { TypographyOptions } from "@mui/material/styles/createTypography";
|
|
3
|
-
type DSVariants = "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "body1_16_semibold" | "body1_16_regular" | "body2_14_bold" | "body2_14_medium" | "body2_14_regular" | "body3_12_semibold" | "body3_12_regular" | "button1" | "button2";
|
|
3
|
+
type DSVariants = "headline1" | "headline2" | "headline3" | "headline4" | "headline5" | "body1_16_semibold" | "body1_16_regular" | "body2_14_bold" | "body2_14_medium" | "body2_14_regular" | "body3_12_semibold" | "body3_12_regular" | "body_m2" | "body_reg6" | "body_reg8" | "small_body_sb1" | "small_body_m2" | "button1" | "button2";
|
|
4
4
|
type DSVariantsType = Record<DSVariants, React.CSSProperties>;
|
|
5
5
|
declare module "@mui/material/styles" {
|
|
6
6
|
interface TypographyVariants extends DSVariantsType {
|
|
@@ -24,6 +24,11 @@ export declare const typographyDefaultProps: {
|
|
|
24
24
|
body2_14_regular: string;
|
|
25
25
|
body3_12_semibold: string;
|
|
26
26
|
body3_12_regular: string;
|
|
27
|
+
body_m2: string;
|
|
28
|
+
body_reg6: string;
|
|
29
|
+
body_reg8: string;
|
|
30
|
+
small_body_sb1: string;
|
|
31
|
+
small_body_m2: string;
|
|
27
32
|
};
|
|
28
33
|
};
|
|
29
34
|
export declare const createTypographyCssBaseline: () => {
|
|
@@ -43,6 +48,12 @@ export declare const createTypographyCssBaseline: () => {
|
|
|
43
48
|
"--caption-font-weight": "var(--font-weight-medium)";
|
|
44
49
|
"--caption-font-size": "12px";
|
|
45
50
|
"--caption-line-height": "16px";
|
|
51
|
+
"--small_body_sb1-font-weight": "var(--font-weight-semibold)";
|
|
52
|
+
"--small_body_sb1-font-size": "12px";
|
|
53
|
+
"--small_body_sb1-line-height": "16px";
|
|
54
|
+
"--small_body_m2-font-weight": "var(--font-weight-medium)";
|
|
55
|
+
"--small_body_m2-font-size": "12px";
|
|
56
|
+
"--small_body_m2-line-height": "20px";
|
|
46
57
|
"--body1-16-semibold-font-weight": "var(--font-weight-semibold)";
|
|
47
58
|
"--body1-16-semibold-font-size": "16px";
|
|
48
59
|
"--body1-16-semibold-line-height": "24px";
|
|
@@ -64,6 +75,15 @@ export declare const createTypographyCssBaseline: () => {
|
|
|
64
75
|
"--body3-12-regular-font-weight": "var(--font-weight-regular)";
|
|
65
76
|
"--body3-12-regular-font-size": "12.4px";
|
|
66
77
|
"--body3-12-regular-line-height": "16px";
|
|
78
|
+
"--body_m2-font-weight": "var(--font-weight-medium)";
|
|
79
|
+
"--body_m2-font-size": "13px";
|
|
80
|
+
"--body_m2-line-height": "18px";
|
|
81
|
+
"--body_reg6-font-weight": "var(--font-weight-regular)";
|
|
82
|
+
"--body_reg6-font-size": "13px";
|
|
83
|
+
"--body_reg6-line-height": "18px";
|
|
84
|
+
"--body_reg8-font-weight": "var(--font-weight-regular)";
|
|
85
|
+
"--body_reg8-font-size": "12px";
|
|
86
|
+
"--body_reg8-line-height": "16px";
|
|
67
87
|
"--headline1-font-weight": "var(--font-weight-semibold)";
|
|
68
88
|
"--headline1-font-size": "52px";
|
|
69
89
|
"--headline1-line-height": "68px";
|
|
@@ -13,6 +13,12 @@ export declare const cssVariables: {
|
|
|
13
13
|
"--caption-font-weight": "var(--font-weight-medium)";
|
|
14
14
|
"--caption-font-size": "12px";
|
|
15
15
|
"--caption-line-height": "16px";
|
|
16
|
+
"--small_body_sb1-font-weight": "var(--font-weight-semibold)";
|
|
17
|
+
"--small_body_sb1-font-size": "12px";
|
|
18
|
+
"--small_body_sb1-line-height": "16px";
|
|
19
|
+
"--small_body_m2-font-weight": "var(--font-weight-medium)";
|
|
20
|
+
"--small_body_m2-font-size": "12px";
|
|
21
|
+
"--small_body_m2-line-height": "20px";
|
|
16
22
|
"--body1-16-semibold-font-weight": "var(--font-weight-semibold)";
|
|
17
23
|
"--body1-16-semibold-font-size": "16px";
|
|
18
24
|
"--body1-16-semibold-line-height": "24px";
|
|
@@ -34,6 +40,15 @@ export declare const cssVariables: {
|
|
|
34
40
|
"--body3-12-regular-font-weight": "var(--font-weight-regular)";
|
|
35
41
|
"--body3-12-regular-font-size": "12.4px";
|
|
36
42
|
"--body3-12-regular-line-height": "16px";
|
|
43
|
+
"--body_m2-font-weight": "var(--font-weight-medium)";
|
|
44
|
+
"--body_m2-font-size": "13px";
|
|
45
|
+
"--body_m2-line-height": "18px";
|
|
46
|
+
"--body_reg6-font-weight": "var(--font-weight-regular)";
|
|
47
|
+
"--body_reg6-font-size": "13px";
|
|
48
|
+
"--body_reg6-line-height": "18px";
|
|
49
|
+
"--body_reg8-font-weight": "var(--font-weight-regular)";
|
|
50
|
+
"--body_reg8-font-size": "12px";
|
|
51
|
+
"--body_reg8-line-height": "16px";
|
|
37
52
|
"--headline1-font-weight": "var(--font-weight-semibold)";
|
|
38
53
|
"--headline1-font-size": "52px";
|
|
39
54
|
"--headline1-line-height": "68px";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const blue: {
|
|
2
2
|
5: string;
|
|
3
3
|
10: string;
|
|
4
|
+
15: string;
|
|
4
5
|
20: string;
|
|
5
6
|
30: string;
|
|
6
7
|
40: string;
|
|
@@ -13,6 +14,7 @@ export declare const blue: {
|
|
|
13
14
|
export declare const blueText: {
|
|
14
15
|
5: string;
|
|
15
16
|
10: string;
|
|
17
|
+
15: string;
|
|
16
18
|
20: string;
|
|
17
19
|
30: string;
|
|
18
20
|
40: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const green: {
|
|
2
2
|
5: string;
|
|
3
3
|
10: string;
|
|
4
|
+
15: string;
|
|
4
5
|
20: string;
|
|
5
6
|
30: string;
|
|
6
7
|
40: string;
|
|
@@ -13,6 +14,7 @@ export declare const green: {
|
|
|
13
14
|
export declare const greenText: {
|
|
14
15
|
5: string;
|
|
15
16
|
10: string;
|
|
17
|
+
15: string;
|
|
16
18
|
20: string;
|
|
17
19
|
30: string;
|
|
18
20
|
40: string;
|
|
@@ -6,14 +6,21 @@ export declare const grey: {
|
|
|
6
6
|
20: string;
|
|
7
7
|
25: string;
|
|
8
8
|
30: string;
|
|
9
|
+
35: string;
|
|
9
10
|
40: string;
|
|
11
|
+
45: string;
|
|
10
12
|
50: string;
|
|
13
|
+
55: string;
|
|
11
14
|
60: string;
|
|
15
|
+
65: string;
|
|
12
16
|
70: string;
|
|
13
17
|
75: string;
|
|
14
18
|
80: string;
|
|
19
|
+
82: string;
|
|
15
20
|
85: string;
|
|
21
|
+
88: string;
|
|
16
22
|
90: string;
|
|
23
|
+
93: string;
|
|
17
24
|
95: string;
|
|
18
25
|
100: string;
|
|
19
26
|
};
|
|
@@ -25,13 +32,21 @@ export declare const greyText: {
|
|
|
25
32
|
20: string;
|
|
26
33
|
25: string;
|
|
27
34
|
30: string;
|
|
35
|
+
35: string;
|
|
28
36
|
40: string;
|
|
37
|
+
45: string;
|
|
29
38
|
50: string;
|
|
39
|
+
55: string;
|
|
30
40
|
60: string;
|
|
41
|
+
65: string;
|
|
31
42
|
70: string;
|
|
43
|
+
75: string;
|
|
32
44
|
80: string;
|
|
45
|
+
82: string;
|
|
33
46
|
85: string;
|
|
47
|
+
88: string;
|
|
34
48
|
90: string;
|
|
49
|
+
93: string;
|
|
35
50
|
95: string;
|
|
36
51
|
100: string;
|
|
37
52
|
};
|