@stackone/malachite 0.36.0 → 0.37.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/dist/index.d.ts +44 -0
- package/dist/index.js +867 -796
- 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
|
|
|
@@ -1157,6 +1160,16 @@ declare interface SpinnerProps {
|
|
|
1157
1160
|
style?: default_2.CSSProperties;
|
|
1158
1161
|
}
|
|
1159
1162
|
|
|
1163
|
+
export declare const StatBadge: default_2.FC<StatBadgeProps>;
|
|
1164
|
+
|
|
1165
|
+
export declare interface StatBadgeProps {
|
|
1166
|
+
/** The numeric value shown in the pill. */
|
|
1167
|
+
count: number;
|
|
1168
|
+
/** Caption shown next to the pill. */
|
|
1169
|
+
label: string;
|
|
1170
|
+
className?: string;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1160
1173
|
export declare const Statistic: default_2.FC<StatisticProps>;
|
|
1161
1174
|
|
|
1162
1175
|
declare interface StatisticLabelProps {
|
|
@@ -1214,6 +1227,14 @@ export declare interface StepperProps {
|
|
|
1214
1227
|
'aria-label'?: string;
|
|
1215
1228
|
}
|
|
1216
1229
|
|
|
1230
|
+
export declare const Surface: default_2.FC<SurfaceProps>;
|
|
1231
|
+
|
|
1232
|
+
export declare interface SurfaceProps {
|
|
1233
|
+
children?: default_2.ReactNode;
|
|
1234
|
+
className?: string;
|
|
1235
|
+
style?: default_2.CSSProperties;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1217
1238
|
export declare const Swatch: default_2.FC<SwatchProps>;
|
|
1218
1239
|
|
|
1219
1240
|
export declare interface SwatchProps {
|
|
@@ -1486,4 +1507,27 @@ export declare const Typography: {
|
|
|
1486
1507
|
|
|
1487
1508
|
export declare type WidthSize = 'large' | 'medium' | 'small' | 'xsmall';
|
|
1488
1509
|
|
|
1510
|
+
export declare const WizardLayout: default_2.FC<WizardLayoutProps>;
|
|
1511
|
+
|
|
1512
|
+
export declare interface WizardLayoutProps {
|
|
1513
|
+
/** Renders the outline back button in the top-left slot. */
|
|
1514
|
+
showBack?: boolean;
|
|
1515
|
+
onBack?: () => void;
|
|
1516
|
+
backDisabled?: boolean;
|
|
1517
|
+
/** Centered top-bar slot — typically a <Stepper />. */
|
|
1518
|
+
stepper?: default_2.ReactNode;
|
|
1519
|
+
/** Right top-bar slot — e.g. a theme toggle. */
|
|
1520
|
+
trailing?: default_2.ReactNode;
|
|
1521
|
+
/** Pinned to the bottom of the screen — typically a <FooterNav />. */
|
|
1522
|
+
footer?: default_2.ReactNode;
|
|
1523
|
+
/** Vertically centre the content (used for terminal/success screens). */
|
|
1524
|
+
center?: boolean;
|
|
1525
|
+
/** Max width of the centered content column. */
|
|
1526
|
+
contentWidth?: number;
|
|
1527
|
+
/** Minimum width of the whole layout, below which it scrolls horizontally. */
|
|
1528
|
+
minWidth?: number;
|
|
1529
|
+
children?: default_2.ReactNode;
|
|
1530
|
+
className?: string;
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1489
1533
|
export { }
|