@stackone/malachite 0.36.0 → 0.37.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +61 -1
- package/dist/index.js +2458 -2264
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -354,11 +354,14 @@ export declare const defaultTheme: MalachiteTheme;
|
|
|
354
354
|
|
|
355
355
|
export declare const Divider: default_2.FC<DividerProps>;
|
|
356
356
|
|
|
357
|
+
export declare type DividerLineStyle = 'solid' | 'dashed';
|
|
358
|
+
|
|
357
359
|
declare interface DividerProps {
|
|
358
360
|
margin?: SpacingSize;
|
|
359
361
|
padding?: PaddingSize;
|
|
360
362
|
className?: string;
|
|
361
363
|
variant?: DividerVariant;
|
|
364
|
+
lineStyle?: DividerLineStyle;
|
|
362
365
|
grow?: boolean;
|
|
363
366
|
}
|
|
364
367
|
|
|
@@ -770,6 +773,19 @@ export declare interface MalachiteTheme {
|
|
|
770
773
|
trackChecked: string;
|
|
771
774
|
knob: string;
|
|
772
775
|
};
|
|
776
|
+
dropdown: {
|
|
777
|
+
border: string;
|
|
778
|
+
borderHover: string;
|
|
779
|
+
borderActive: string;
|
|
780
|
+
borderFilter: string;
|
|
781
|
+
borderError: string;
|
|
782
|
+
shadow: string;
|
|
783
|
+
shadowHover: string;
|
|
784
|
+
shadowActive: string;
|
|
785
|
+
shadowFilter: string;
|
|
786
|
+
shadowError: string;
|
|
787
|
+
disabledBackground: string;
|
|
788
|
+
};
|
|
773
789
|
tag: {
|
|
774
790
|
primary: {
|
|
775
791
|
background: string;
|
|
@@ -914,6 +930,8 @@ export declare interface MultiSelectProps {
|
|
|
914
930
|
width?: string | number;
|
|
915
931
|
minWidth?: number;
|
|
916
932
|
disabled?: boolean;
|
|
933
|
+
error?: boolean;
|
|
934
|
+
loading?: boolean;
|
|
917
935
|
label?: string;
|
|
918
936
|
className?: string;
|
|
919
937
|
style?: default_2.CSSProperties;
|
|
@@ -990,6 +1008,7 @@ export declare interface PartialMalachiteTheme {
|
|
|
990
1008
|
buttonList?: Partial<MalachiteTheme['colors']['buttonList']>;
|
|
991
1009
|
pillButton?: Partial<MalachiteTheme['colors']['pillButton']>;
|
|
992
1010
|
toggle?: Partial<MalachiteTheme['colors']['toggle']>;
|
|
1011
|
+
dropdown?: Partial<MalachiteTheme['colors']['dropdown']>;
|
|
993
1012
|
tag?: Partial<MalachiteTheme['colors']['tag']>;
|
|
994
1013
|
numberTag?: Partial<MalachiteTheme['colors']['numberTag']>;
|
|
995
1014
|
table?: Partial<MalachiteTheme['colors']['table']>;
|
|
@@ -1157,6 +1176,16 @@ declare interface SpinnerProps {
|
|
|
1157
1176
|
style?: default_2.CSSProperties;
|
|
1158
1177
|
}
|
|
1159
1178
|
|
|
1179
|
+
export declare const StatBadge: default_2.FC<StatBadgeProps>;
|
|
1180
|
+
|
|
1181
|
+
export declare interface StatBadgeProps {
|
|
1182
|
+
/** The numeric value shown in the pill. */
|
|
1183
|
+
count: number;
|
|
1184
|
+
/** Caption shown next to the pill. */
|
|
1185
|
+
label: string;
|
|
1186
|
+
className?: string;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1160
1189
|
export declare const Statistic: default_2.FC<StatisticProps>;
|
|
1161
1190
|
|
|
1162
1191
|
declare interface StatisticLabelProps {
|
|
@@ -1214,6 +1243,14 @@ export declare interface StepperProps {
|
|
|
1214
1243
|
'aria-label'?: string;
|
|
1215
1244
|
}
|
|
1216
1245
|
|
|
1246
|
+
export declare const Surface: default_2.FC<SurfaceProps>;
|
|
1247
|
+
|
|
1248
|
+
export declare interface SurfaceProps {
|
|
1249
|
+
children?: default_2.ReactNode;
|
|
1250
|
+
className?: string;
|
|
1251
|
+
style?: default_2.CSSProperties;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1217
1254
|
export declare const Swatch: default_2.FC<SwatchProps>;
|
|
1218
1255
|
|
|
1219
1256
|
export declare interface SwatchProps {
|
|
@@ -1407,7 +1444,7 @@ declare interface TextAreaProps {
|
|
|
1407
1444
|
|
|
1408
1445
|
declare type TextAreaSize = 'small' | 'medium' | 'large';
|
|
1409
1446
|
|
|
1410
|
-
declare type TextColor = 'primary' | 'secondary' | 'dimmed' | 'emphasis' | 'muted' | 'destructive' | 'success' | 'warning' | 'error' | 'link';
|
|
1447
|
+
declare type TextColor = 'primary' | 'secondary' | 'dimmed' | 'placeholder' | 'emphasis' | 'muted' | 'destructive' | 'success' | 'warning' | 'error' | 'link';
|
|
1411
1448
|
|
|
1412
1449
|
declare interface TextProps {
|
|
1413
1450
|
color?: TextColor;
|
|
@@ -1486,4 +1523,27 @@ export declare const Typography: {
|
|
|
1486
1523
|
|
|
1487
1524
|
export declare type WidthSize = 'large' | 'medium' | 'small' | 'xsmall';
|
|
1488
1525
|
|
|
1526
|
+
export declare const WizardLayout: default_2.FC<WizardLayoutProps>;
|
|
1527
|
+
|
|
1528
|
+
export declare interface WizardLayoutProps {
|
|
1529
|
+
/** Renders the outline back button in the top-left slot. */
|
|
1530
|
+
showBack?: boolean;
|
|
1531
|
+
onBack?: () => void;
|
|
1532
|
+
backDisabled?: boolean;
|
|
1533
|
+
/** Centered top-bar slot — typically a <Stepper />. */
|
|
1534
|
+
stepper?: default_2.ReactNode;
|
|
1535
|
+
/** Right top-bar slot — e.g. a theme toggle. */
|
|
1536
|
+
trailing?: default_2.ReactNode;
|
|
1537
|
+
/** Pinned to the bottom of the screen — typically a <FooterNav />. */
|
|
1538
|
+
footer?: default_2.ReactNode;
|
|
1539
|
+
/** Vertically centre the content (used for terminal/success screens). */
|
|
1540
|
+
center?: boolean;
|
|
1541
|
+
/** Max width of the centered content column. */
|
|
1542
|
+
contentWidth?: number;
|
|
1543
|
+
/** Minimum width of the whole layout, below which it scrolls horizontally. */
|
|
1544
|
+
minWidth?: number;
|
|
1545
|
+
children?: default_2.ReactNode;
|
|
1546
|
+
className?: string;
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1489
1549
|
export { }
|