@rocket.chat/fuselage 0.6.3-dev.355 → 0.6.3-dev.359
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Box/index.d.ts +14 -1
- package/dist/components/Menu/index.d.ts +1 -1
- package/dist/components/Message/Message.d.ts +153 -19
- package/dist/components/Message/Message.d.ts.map +1 -1
- package/dist/components/Options/Option/Option.d.ts +18 -0
- package/dist/components/Options/Option/Option.d.ts.map +1 -0
- package/dist/components/Options/Option/OptionAvatar.d.ts +4 -0
- package/dist/components/Options/Option/OptionAvatar.d.ts.map +1 -0
- package/dist/components/Options/Option/OptionColumn.d.ts +4 -0
- package/dist/components/Options/Option/OptionColumn.d.ts.map +1 -0
- package/dist/components/Options/Option/OptionContent.d.ts +4 -0
- package/dist/components/Options/Option/OptionContent.d.ts.map +1 -0
- package/dist/components/Options/Option/OptionDescription.d.ts +4 -0
- package/dist/components/Options/Option/OptionDescription.d.ts.map +1 -0
- package/dist/components/Options/Option/OptionIcon.d.ts +7 -0
- package/dist/components/Options/Option/OptionIcon.d.ts.map +1 -0
- package/dist/components/Options/Option/OptionMenu.d.ts +4 -0
- package/dist/components/Options/Option/OptionMenu.d.ts.map +1 -0
- package/dist/components/Options/Option/OptionSkeleton.d.ts +3 -0
- package/dist/components/Options/Option/OptionSkeleton.d.ts.map +1 -0
- package/dist/components/Options/Option/index.d.ts +283 -15
- package/dist/components/Options/Option/index.d.ts.map +1 -0
- package/dist/components/ProgressBar/index.d.ts +3 -3
- package/dist/components/Tooltip/Tooltip.d.ts +3 -3
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/fuselage.development.js +362 -524
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +1 -1
- package/package.json +19 -19
|
@@ -9,7 +9,20 @@ import {
|
|
|
9
9
|
SVGAttributes,
|
|
10
10
|
} from 'react';
|
|
11
11
|
|
|
12
|
-
type FontScale =
|
|
12
|
+
type FontScale =
|
|
13
|
+
| 'hero'
|
|
14
|
+
| 'h1'
|
|
15
|
+
| 'h2'
|
|
16
|
+
| 'h3'
|
|
17
|
+
| 'h4'
|
|
18
|
+
| 'h5'
|
|
19
|
+
| 'p1'
|
|
20
|
+
| 'p2'
|
|
21
|
+
| 'p3'
|
|
22
|
+
| 'p4'
|
|
23
|
+
| 'c1'
|
|
24
|
+
| 'c2'
|
|
25
|
+
| 'micro';
|
|
13
26
|
|
|
14
27
|
type BoxProps = PropsWithChildren<{
|
|
15
28
|
is?: ElementType;
|
|
@@ -3,7 +3,7 @@ import { ComponentProps, ForwardRefExoticComponent, ReactNode } from 'react';
|
|
|
3
3
|
|
|
4
4
|
import { Box } from '../Box';
|
|
5
5
|
import { ActionButton } from '../Button';
|
|
6
|
-
import
|
|
6
|
+
import Option from '../Options/Option';
|
|
7
7
|
|
|
8
8
|
type MenuProps = Omit<ComponentProps<typeof ActionButton>, 'icon'> & {
|
|
9
9
|
icon?: string;
|
|
@@ -139,10 +139,10 @@ declare const _default: React.ForwardRefExoticComponent<React.AllHTMLAttributes<
|
|
|
139
139
|
paddingInlineStart?: import("csstype").Property.PaddingInlineStart<string | number> | undefined;
|
|
140
140
|
pie?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
|
|
141
141
|
paddingInlineEnd?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
|
|
142
|
-
fontFamily?: import("csstype").Property.FontFamily | ("h1" | "
|
|
142
|
+
fontFamily?: import("csstype").Property.FontFamily | ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
143
143
|
fontSize?: string | number | (string & {}) | undefined;
|
|
144
144
|
fontStyle?: import("csstype").Property.FontStyle | undefined;
|
|
145
|
-
fontWeight?: ("h1" | "
|
|
145
|
+
fontWeight?: ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | import("csstype").Property.FontWeight | undefined;
|
|
146
146
|
letterSpacing?: string | number | undefined;
|
|
147
147
|
lineHeight?: string | number | (string & {}) | (number & {}) | undefined;
|
|
148
148
|
textAlign?: import("csstype").Property.TextAlign | undefined;
|
|
@@ -155,7 +155,7 @@ declare const _default: React.ForwardRefExoticComponent<React.AllHTMLAttributes<
|
|
|
155
155
|
size?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
156
156
|
minSize?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
157
157
|
maxSize?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
158
|
-
fontScale?: ("h1" | "
|
|
158
|
+
fontScale?: ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
159
159
|
} & {
|
|
160
160
|
children?: React.ReactNode;
|
|
161
161
|
} & Omit<React.AllHTMLAttributes<HTMLOrSVGElement>, "className"> & Omit<React.SVGAttributes<SVGElement>, keyof React.AllHTMLAttributes<HTMLOrSVGElement>> & React.RefAttributes<unknown>> & {
|
|
@@ -265,10 +265,10 @@ declare const _default: React.ForwardRefExoticComponent<React.AllHTMLAttributes<
|
|
|
265
265
|
paddingInlineStart?: import("csstype").Property.PaddingInlineStart<string | number> | undefined;
|
|
266
266
|
pie?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
|
|
267
267
|
paddingInlineEnd?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
|
|
268
|
-
fontFamily?: import("csstype").Property.FontFamily | ("h1" | "
|
|
268
|
+
fontFamily?: import("csstype").Property.FontFamily | ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
269
269
|
fontSize?: string | number | (string & {}) | undefined;
|
|
270
270
|
fontStyle?: import("csstype").Property.FontStyle | undefined;
|
|
271
|
-
fontWeight?: ("h1" | "
|
|
271
|
+
fontWeight?: ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | import("csstype").Property.FontWeight | undefined;
|
|
272
272
|
letterSpacing?: string | number | undefined;
|
|
273
273
|
lineHeight?: string | number | (string & {}) | (number & {}) | undefined;
|
|
274
274
|
textAlign?: import("csstype").Property.TextAlign | undefined;
|
|
@@ -281,7 +281,7 @@ declare const _default: React.ForwardRefExoticComponent<React.AllHTMLAttributes<
|
|
|
281
281
|
size?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
282
282
|
minSize?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
283
283
|
maxSize?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
284
|
-
fontScale?: ("h1" | "
|
|
284
|
+
fontScale?: ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
285
285
|
} & {
|
|
286
286
|
children?: React.ReactNode;
|
|
287
287
|
} & Omit<React.AllHTMLAttributes<HTMLOrSVGElement>, "className"> & Omit<React.SVGAttributes<SVGElement>, keyof React.AllHTMLAttributes<HTMLOrSVGElement>> & React.RefAttributes<unknown>>;
|
|
@@ -392,10 +392,10 @@ declare const _default: React.ForwardRefExoticComponent<React.AllHTMLAttributes<
|
|
|
392
392
|
paddingInlineStart?: import("csstype").Property.PaddingInlineStart<string | number> | undefined;
|
|
393
393
|
pie?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
|
|
394
394
|
paddingInlineEnd?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
|
|
395
|
-
fontFamily?: import("csstype").Property.FontFamily | ("h1" | "
|
|
395
|
+
fontFamily?: import("csstype").Property.FontFamily | ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
396
396
|
fontSize?: string | number | (string & {}) | undefined;
|
|
397
397
|
fontStyle?: import("csstype").Property.FontStyle | undefined;
|
|
398
|
-
fontWeight?: ("h1" | "
|
|
398
|
+
fontWeight?: ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | import("csstype").Property.FontWeight | undefined;
|
|
399
399
|
letterSpacing?: string | number | undefined;
|
|
400
400
|
lineHeight?: string | number | (string & {}) | (number & {}) | undefined;
|
|
401
401
|
textAlign?: import("csstype").Property.TextAlign | undefined;
|
|
@@ -408,7 +408,7 @@ declare const _default: React.ForwardRefExoticComponent<React.AllHTMLAttributes<
|
|
|
408
408
|
size?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
409
409
|
minSize?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
410
410
|
maxSize?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
411
|
-
fontScale?: ("h1" | "
|
|
411
|
+
fontScale?: ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
412
412
|
} & {
|
|
413
413
|
children?: React.ReactNode;
|
|
414
414
|
} & Omit<React.AllHTMLAttributes<HTMLOrSVGElement>, "className"> & Omit<React.SVGAttributes<SVGElement>, keyof React.AllHTMLAttributes<HTMLOrSVGElement>> & React.RefAttributes<unknown> & {
|
|
@@ -527,10 +527,10 @@ declare const _default: React.ForwardRefExoticComponent<React.AllHTMLAttributes<
|
|
|
527
527
|
paddingInlineStart?: import("csstype").Property.PaddingInlineStart<string | number> | undefined;
|
|
528
528
|
pie?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
|
|
529
529
|
paddingInlineEnd?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
|
|
530
|
-
fontFamily?: import("csstype").Property.FontFamily | ("h1" | "
|
|
530
|
+
fontFamily?: import("csstype").Property.FontFamily | ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
531
531
|
fontSize?: string | number | (string & {}) | undefined;
|
|
532
532
|
fontStyle?: import("csstype").Property.FontStyle | undefined;
|
|
533
|
-
fontWeight?: ("h1" | "
|
|
533
|
+
fontWeight?: ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | import("csstype").Property.FontWeight | undefined;
|
|
534
534
|
letterSpacing?: string | number | undefined;
|
|
535
535
|
lineHeight?: string | number | (string & {}) | (number & {}) | undefined;
|
|
536
536
|
textAlign?: import("csstype").Property.TextAlign | undefined;
|
|
@@ -543,7 +543,7 @@ declare const _default: React.ForwardRefExoticComponent<React.AllHTMLAttributes<
|
|
|
543
543
|
size?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
544
544
|
minSize?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
545
545
|
maxSize?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
546
|
-
fontScale?: ("h1" | "
|
|
546
|
+
fontScale?: ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
547
547
|
} & {
|
|
548
548
|
children?: React.ReactNode;
|
|
549
549
|
} & Omit<React.AllHTMLAttributes<HTMLOrSVGElement>, "className"> & Omit<React.SVGAttributes<SVGElement>, keyof React.AllHTMLAttributes<HTMLOrSVGElement>> & React.RefAttributes<unknown> & {
|
|
@@ -657,10 +657,10 @@ declare const _default: React.ForwardRefExoticComponent<React.AllHTMLAttributes<
|
|
|
657
657
|
paddingInlineStart?: import("csstype").Property.PaddingInlineStart<string | number> | undefined;
|
|
658
658
|
pie?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
|
|
659
659
|
paddingInlineEnd?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
|
|
660
|
-
fontFamily?: import("csstype").Property.FontFamily | ("h1" | "
|
|
660
|
+
fontFamily?: import("csstype").Property.FontFamily | ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
661
661
|
fontSize?: string | number | (string & {}) | undefined;
|
|
662
662
|
fontStyle?: import("csstype").Property.FontStyle | undefined;
|
|
663
|
-
fontWeight?: ("h1" | "
|
|
663
|
+
fontWeight?: ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | import("csstype").Property.FontWeight | undefined;
|
|
664
664
|
letterSpacing?: string | number | undefined;
|
|
665
665
|
lineHeight?: string | number | (string & {}) | (number & {}) | undefined;
|
|
666
666
|
textAlign?: import("csstype").Property.TextAlign | undefined;
|
|
@@ -673,7 +673,7 @@ declare const _default: React.ForwardRefExoticComponent<React.AllHTMLAttributes<
|
|
|
673
673
|
size?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
674
674
|
minSize?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
675
675
|
maxSize?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
676
|
-
fontScale?: ("h1" | "
|
|
676
|
+
fontScale?: ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
677
677
|
} & {
|
|
678
678
|
children?: React.ReactNode;
|
|
679
679
|
} & Omit<React.AllHTMLAttributes<HTMLOrSVGElement>, "className"> & Omit<React.SVGAttributes<SVGElement>, keyof React.AllHTMLAttributes<HTMLOrSVGElement>> & React.RefAttributes<unknown> & {
|
|
@@ -796,10 +796,10 @@ declare const _default: React.ForwardRefExoticComponent<React.AllHTMLAttributes<
|
|
|
796
796
|
paddingInlineStart?: import("csstype").Property.PaddingInlineStart<string | number> | undefined;
|
|
797
797
|
pie?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
|
|
798
798
|
paddingInlineEnd?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
|
|
799
|
-
fontFamily?: import("csstype").Property.FontFamily | ("h1" | "
|
|
799
|
+
fontFamily?: import("csstype").Property.FontFamily | ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
800
800
|
fontSize?: string | number | (string & {}) | undefined;
|
|
801
801
|
fontStyle?: import("csstype").Property.FontStyle | undefined;
|
|
802
|
-
fontWeight?: ("h1" | "
|
|
802
|
+
fontWeight?: ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | import("csstype").Property.FontWeight | undefined;
|
|
803
803
|
letterSpacing?: string | number | undefined;
|
|
804
804
|
lineHeight?: string | number | (string & {}) | (number & {}) | undefined;
|
|
805
805
|
textAlign?: import("csstype").Property.TextAlign | undefined;
|
|
@@ -812,7 +812,7 @@ declare const _default: React.ForwardRefExoticComponent<React.AllHTMLAttributes<
|
|
|
812
812
|
size?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
813
813
|
minSize?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
814
814
|
maxSize?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
815
|
-
fontScale?: ("h1" | "
|
|
815
|
+
fontScale?: ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
816
816
|
} & {
|
|
817
817
|
children?: React.ReactNode;
|
|
818
818
|
} & Omit<React.AllHTMLAttributes<HTMLOrSVGElement>, "className"> & Omit<React.SVGAttributes<SVGElement>, keyof React.AllHTMLAttributes<HTMLOrSVGElement>> & React.RefAttributes<unknown> & {
|
|
@@ -840,7 +840,141 @@ declare const _default: React.ForwardRefExoticComponent<React.AllHTMLAttributes<
|
|
|
840
840
|
};
|
|
841
841
|
optionWidth?: (import("csstype").Property.Width<string | number> & (string | number)) | undefined;
|
|
842
842
|
placement?: import("@rocket.chat/fuselage-hooks").Placements | undefined;
|
|
843
|
-
renderItem?: ((props:
|
|
843
|
+
renderItem?: ((props: {
|
|
844
|
+
is?: (React.ElementType<any> & string) | undefined;
|
|
845
|
+
id?: string | undefined;
|
|
846
|
+
children: React.ReactNode;
|
|
847
|
+
label?: string | undefined;
|
|
848
|
+
focus?: boolean | undefined;
|
|
849
|
+
selected?: boolean | undefined;
|
|
850
|
+
className?: string | (<T extends readonly unknown[]>(...args: T) => string) | (string | (<T extends readonly unknown[]>(...args: T) => string))[] | undefined;
|
|
851
|
+
ref?: React.Ref<Element> | undefined;
|
|
852
|
+
icon?: string | undefined;
|
|
853
|
+
avatar?: React.ReactNode;
|
|
854
|
+
title?: string | undefined;
|
|
855
|
+
} & Pick<{
|
|
856
|
+
is?: React.ElementType<any> | undefined;
|
|
857
|
+
className?: string | (<T extends readonly unknown[]>(...args: T) => string) | (string | (<T extends readonly unknown[]>(...args: T) => string))[] | undefined;
|
|
858
|
+
style?: React.CSSProperties | undefined;
|
|
859
|
+
border?: import("csstype").Property.Border<string | number> | undefined;
|
|
860
|
+
borderBlock?: import("csstype").Property.BorderBlock<string | number> | undefined;
|
|
861
|
+
borderBlockStart?: import("csstype").Property.BorderBlockStart<string | number> | undefined;
|
|
862
|
+
borderBlockEnd?: import("csstype").Property.BorderBlockEnd<string | number> | undefined;
|
|
863
|
+
borderInline?: import("csstype").Property.BorderInline<string | number> | undefined;
|
|
864
|
+
borderInlineStart?: import("csstype").Property.BorderInlineStart<string | number> | undefined;
|
|
865
|
+
borderInlineEnd?: import("csstype").Property.BorderInlineEnd<string | number> | undefined;
|
|
866
|
+
borderWidth?: import("csstype").Property.BorderWidth<string | number> | undefined;
|
|
867
|
+
borderBlockWidth?: import("csstype").Property.BorderBlockWidth<string | number> | undefined;
|
|
868
|
+
borderBlockStartWidth?: import("csstype").Property.BorderBlockStartWidth<string | number> | undefined;
|
|
869
|
+
borderBlockEndWidth?: import("csstype").Property.BorderBlockEndWidth<string | number> | undefined;
|
|
870
|
+
borderInlineWidth?: import("csstype").Property.BorderInlineWidth<string | number> | undefined;
|
|
871
|
+
borderInlineStartWidth?: import("csstype").Property.BorderInlineStartWidth<string | number> | undefined;
|
|
872
|
+
borderInlineEndWidth?: import("csstype").Property.BorderInlineEndWidth<string | number> | undefined;
|
|
873
|
+
borderStyle?: import("csstype").Property.BorderStyle | undefined;
|
|
874
|
+
borderBlockStyle?: import("csstype").Property.BorderBlockStyle | undefined;
|
|
875
|
+
borderBlockStartStyle?: import("csstype").Property.BorderBlockStartStyle | undefined;
|
|
876
|
+
borderBlockEndStyle?: import("csstype").Property.BorderBlockEndStyle | undefined;
|
|
877
|
+
borderInlineStyle?: import("csstype").Property.BorderInlineStyle | undefined;
|
|
878
|
+
borderInlineStartStyle?: import("csstype").Property.BorderInlineStartStyle | undefined;
|
|
879
|
+
borderInlineEndStyle?: import("csstype").Property.BorderInlineEndStyle | undefined;
|
|
880
|
+
borderColor?: import("csstype").Property.BorderColor | undefined;
|
|
881
|
+
borderBlockColor?: import("csstype").Property.BorderBlockColor | undefined;
|
|
882
|
+
borderBlockStartColor?: import("csstype").Property.BorderBlockStartColor | undefined;
|
|
883
|
+
borderBlockEndColor?: import("csstype").Property.BorderBlockEndColor | undefined;
|
|
884
|
+
borderInlineColor?: import("csstype").Property.BorderInlineColor | undefined;
|
|
885
|
+
borderInlineStartColor?: import("csstype").Property.BorderInlineStartColor | undefined;
|
|
886
|
+
borderInlineEndColor?: import("csstype").Property.BorderInlineEndColor | undefined;
|
|
887
|
+
borderRadius?: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
888
|
+
borderStartStartRadius?: import("csstype").Property.BorderStartStartRadius<string | number> | undefined;
|
|
889
|
+
borderStartEndRadius?: import("csstype").Property.BorderStartEndRadius<string | number> | undefined;
|
|
890
|
+
borderEndStartRadius?: import("csstype").Property.BorderEndStartRadius<string | number> | undefined;
|
|
891
|
+
borderEndEndRadius?: import("csstype").Property.BorderEndEndRadius<string | number> | undefined;
|
|
892
|
+
color?: import("csstype").Property.Color | undefined;
|
|
893
|
+
backgroundColor?: import("csstype").Property.BackgroundColor | undefined;
|
|
894
|
+
bg?: import("csstype").Property.BackgroundColor | undefined;
|
|
895
|
+
opacity?: import("csstype").Property.Opacity | undefined;
|
|
896
|
+
alignItems?: import("csstype").Property.AlignItems | undefined;
|
|
897
|
+
alignContent?: import("csstype").Property.AlignContent | undefined;
|
|
898
|
+
justifyItems?: import("csstype").Property.JustifyItems | undefined;
|
|
899
|
+
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
900
|
+
flexWrap?: import("csstype").Property.FlexWrap | undefined;
|
|
901
|
+
flexDirection?: import("csstype").Property.FlexDirection | undefined;
|
|
902
|
+
flexGrow?: import("csstype").Property.FlexGrow | undefined;
|
|
903
|
+
flexShrink?: import("csstype").Property.FlexShrink | undefined;
|
|
904
|
+
flexBasis?: import("csstype").Property.FlexBasis<string | number> | undefined;
|
|
905
|
+
justifySelf?: import("csstype").Property.JustifySelf | undefined;
|
|
906
|
+
alignSelf?: import("csstype").Property.AlignSelf | undefined;
|
|
907
|
+
order?: import("csstype").Property.Order | undefined;
|
|
908
|
+
w?: import("csstype").Property.Width<string | number> | undefined;
|
|
909
|
+
width?: import("csstype").Property.Width<string | number> | undefined;
|
|
910
|
+
minWidth?: import("csstype").Property.MinWidth<string | number> | undefined;
|
|
911
|
+
maxWidth?: import("csstype").Property.MaxWidth<string | number> | undefined;
|
|
912
|
+
h?: import("csstype").Property.Height<string | number> | undefined;
|
|
913
|
+
height?: import("csstype").Property.Height<string | number> | undefined;
|
|
914
|
+
minHeight?: import("csstype").Property.MinHeight<string | number> | undefined;
|
|
915
|
+
maxHeight?: import("csstype").Property.MaxHeight<string | number> | undefined;
|
|
916
|
+
display?: import("csstype").Property.Display | undefined;
|
|
917
|
+
verticalAlign?: import("csstype").Property.VerticalAlign<string | number> | undefined;
|
|
918
|
+
overflow?: import("csstype").Property.Overflow | undefined;
|
|
919
|
+
overflowX?: import("csstype").Property.OverflowX | undefined;
|
|
920
|
+
overflowY?: import("csstype").Property.OverflowY | undefined;
|
|
921
|
+
position?: import("csstype").Property.Position | undefined;
|
|
922
|
+
zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
923
|
+
inset?: import("csstype").Property.Inset<string | number> | undefined;
|
|
924
|
+
insetBlock?: import("csstype").Property.InsetBlock<string | number> | undefined;
|
|
925
|
+
insetBlockStart?: import("csstype").Property.InsetBlockStart<string | number> | undefined;
|
|
926
|
+
insetBlockEnd?: import("csstype").Property.InsetBlockEnd<string | number> | undefined;
|
|
927
|
+
insetInline?: import("csstype").Property.InsetInline<string | number> | undefined;
|
|
928
|
+
insetInlineStart?: import("csstype").Property.InsetInlineStart<string | number> | undefined;
|
|
929
|
+
insetInlineEnd?: import("csstype").Property.InsetInlineEnd<string | number> | undefined;
|
|
930
|
+
m?: import("csstype").Property.Margin<string | number> | undefined;
|
|
931
|
+
margin?: import("csstype").Property.Margin<string | number> | undefined;
|
|
932
|
+
mb?: import("csstype").Property.MarginBlock<string | number> | undefined;
|
|
933
|
+
marginBlock?: import("csstype").Property.MarginBlock<string | number> | undefined;
|
|
934
|
+
mbs?: import("csstype").Property.MarginBlockStart<string | number> | undefined;
|
|
935
|
+
marginBlockStart?: import("csstype").Property.MarginBlockStart<string | number> | undefined;
|
|
936
|
+
mbe?: import("csstype").Property.MarginBlockEnd<string | number> | undefined;
|
|
937
|
+
marginBlockEnd?: import("csstype").Property.MarginBlockEnd<string | number> | undefined;
|
|
938
|
+
mi?: import("csstype").Property.MarginInline<string | number> | undefined;
|
|
939
|
+
marginInline?: import("csstype").Property.MarginInline<string | number> | undefined;
|
|
940
|
+
mis?: import("csstype").Property.MarginInlineStart<string | number> | undefined;
|
|
941
|
+
marginInlineStart?: import("csstype").Property.MarginInlineStart<string | number> | undefined;
|
|
942
|
+
mie?: import("csstype").Property.MarginInlineEnd<string | number> | undefined;
|
|
943
|
+
marginInlineEnd?: import("csstype").Property.MarginInlineEnd<string | number> | undefined;
|
|
944
|
+
p?: import("csstype").Property.Padding<string | number> | undefined;
|
|
945
|
+
padding?: import("csstype").Property.Padding<string | number> | undefined;
|
|
946
|
+
pb?: import("csstype").Property.PaddingBlock<string | number> | undefined;
|
|
947
|
+
paddingBlock?: import("csstype").Property.PaddingBlock<string | number> | undefined;
|
|
948
|
+
pbs?: import("csstype").Property.PaddingBlockStart<string | number> | undefined;
|
|
949
|
+
paddingBlockStart?: import("csstype").Property.PaddingBlockStart<string | number> | undefined;
|
|
950
|
+
pbe?: import("csstype").Property.PaddingBlockEnd<string | number> | undefined;
|
|
951
|
+
paddingBlockEnd?: import("csstype").Property.PaddingBlockEnd<string | number> | undefined;
|
|
952
|
+
pi?: import("csstype").Property.PaddingInline<string | number> | undefined;
|
|
953
|
+
paddingInline?: import("csstype").Property.PaddingInline<string | number> | undefined;
|
|
954
|
+
pis?: import("csstype").Property.PaddingInlineStart<string | number> | undefined;
|
|
955
|
+
paddingInlineStart?: import("csstype").Property.PaddingInlineStart<string | number> | undefined;
|
|
956
|
+
pie?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
|
|
957
|
+
paddingInlineEnd?: import("csstype").Property.PaddingInlineEnd<string | number> | undefined;
|
|
958
|
+
fontFamily?: import("csstype").Property.FontFamily | ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
959
|
+
fontSize?: string | number | (string & {}) | undefined;
|
|
960
|
+
fontStyle?: import("csstype").Property.FontStyle | undefined;
|
|
961
|
+
fontWeight?: ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | import("csstype").Property.FontWeight | undefined;
|
|
962
|
+
letterSpacing?: string | number | undefined;
|
|
963
|
+
lineHeight?: string | number | (string & {}) | (number & {}) | undefined;
|
|
964
|
+
textAlign?: import("csstype").Property.TextAlign | undefined;
|
|
965
|
+
textTransform?: import("csstype").Property.TextTransform | undefined;
|
|
966
|
+
textDecorationLine?: import("csstype").Property.TextDecorationLine | undefined;
|
|
967
|
+
elevation?: "0" | "1" | "2" | undefined;
|
|
968
|
+
invisible?: boolean | undefined;
|
|
969
|
+
withRichContent?: string | boolean | undefined;
|
|
970
|
+
withTruncatedText?: boolean | undefined;
|
|
971
|
+
size?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
972
|
+
minSize?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
973
|
+
maxSize?: import("csstype").Property.BlockSize<string | number> | undefined;
|
|
974
|
+
fontScale?: ("hero" | "h1" | "h2" | "h3" | "h4" | "h5" | "p1" | "p2" | "p3" | "p4" | "c1" | "c2" | "micro") | undefined;
|
|
975
|
+
} & {
|
|
976
|
+
children?: React.ReactNode;
|
|
977
|
+
} & Omit<React.AllHTMLAttributes<HTMLOrSVGElement>, "className"> & Omit<React.SVGAttributes<SVGElement>, keyof React.AllHTMLAttributes<HTMLOrSVGElement>> & React.RefAttributes<unknown>, "onClick">) => React.ReactNode) | undefined;
|
|
844
978
|
}>;
|
|
845
979
|
};
|
|
846
980
|
Container: React.FC<{}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,iBAAiB,EACjB,EAAE,EAEF,YAAY,EACZ,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,wBAAwB,CAAC;AAQhC,eAAO,MAAM,gBAAgB,EAAE,EAI9B,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,EAOnC,CAAC;AAEF,aAAK,yBAAyB,GAAG;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,oBAAoB,UACxB,yBAAyB,KAC/B,YAKF,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,EAQ3B,CAAC;AAEF,aAAK,gBAAgB,GAAG,iBAAiB,CAAC,cA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,wBAeG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { Ref, ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { Box } from '../../Box';
|
|
3
|
+
declare type OptionProps = {
|
|
4
|
+
is?: ComponentProps<typeof Box>['is'];
|
|
5
|
+
id?: string;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
label?: string;
|
|
8
|
+
focus?: boolean;
|
|
9
|
+
selected?: boolean;
|
|
10
|
+
className?: ComponentProps<typeof Box>['className'];
|
|
11
|
+
ref?: Ref<Element>;
|
|
12
|
+
icon?: string;
|
|
13
|
+
avatar?: ReactNode;
|
|
14
|
+
title?: string;
|
|
15
|
+
} & Pick<ComponentProps<typeof Box>, 'onClick'>;
|
|
16
|
+
declare const Option: React.MemoExoticComponent<({ is: Tag, id, children, label, focus, selected, className, ref, icon, avatar, title, onClick, ...options }: OptionProps) => JSX.Element>;
|
|
17
|
+
export default Option;
|
|
18
|
+
//# sourceMappingURL=Option.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../../src/components/Options/Option/Option.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAKhC,aAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,CAAC;IACpD,GAAG,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,SAAS,CAAC,CAAC;AAEhD,QAAA,MAAM,MAAM,0IAeP,WAAW,iBA0Bf,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionAvatar.d.ts","sourceRoot":"","sources":["../../../../src/components/Options/Option/OptionAvatar.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,QAAA,MAAM,YAAY,EAAE,EAEnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionColumn.d.ts","sourceRoot":"","sources":["../../../../src/components/Options/Option/OptionColumn.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,QAAA,MAAM,YAAY,EAAE,EAEnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Options/Option/OptionContent.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,QAAA,MAAM,aAAa,EAAE,EAEpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionDescription.d.ts","sourceRoot":"","sources":["../../../../src/components/Options/Option/OptionDescription.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,QAAA,MAAM,iBAAiB,EAAE,EAExB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Options/Option/OptionIcon.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGlC,QAAA,MAAM,UAAU;UAGR,eAAe,WAAW,CAAC,CAAC,MAAM,CAAC;iBAK1C,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/Options/Option/OptionMenu.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,QAAA,MAAM,UAAU,EAAE,EAEjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionSkeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/Options/Option/OptionSkeleton.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,cAAc,mBASnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|