@stackone/malachite 2.113.0 → 2.115.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/COMPONENTS.md +4 -3
- package/dist/components/Breadcrumbs.js +69 -53
- package/dist/components/Breadcrumbs.js.map +1 -1
- package/dist/components/Confetti.js +46 -45
- package/dist/components/Confetti.js.map +1 -1
- package/dist/components/LoadingScreen.js +133 -0
- package/dist/components/LoadingScreen.js.map +1 -0
- package/dist/components/PageLayout/index.js.map +1 -1
- package/dist/components/PageLayout/regularLayout.js +92 -83
- package/dist/components/PageLayout/regularLayout.js.map +1 -1
- package/dist/components/confettiPhysics.js +57 -0
- package/dist/components/confettiPhysics.js.map +1 -0
- package/dist/components/stackOneWordmarkPaths.js +10 -0
- package/dist/components/stackOneWordmarkPaths.js.map +1 -0
- package/dist/index.d.ts +22 -3
- package/dist/index.js +318 -316
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -464,6 +464,8 @@ export declare interface BreadcrumbsProps {
|
|
|
464
464
|
links: BreadcrumbLink[];
|
|
465
465
|
actions?: PageAction[];
|
|
466
466
|
renderLink?: RenderLink;
|
|
467
|
+
/** The element a lone root crumb renders as, e.g. `h1` when it titles the page. */
|
|
468
|
+
titleElement?: TextElement;
|
|
467
469
|
className?: string;
|
|
468
470
|
style?: default_2.CSSProperties;
|
|
469
471
|
}
|
|
@@ -1422,9 +1424,9 @@ export declare interface CommandPaletteRowProps {
|
|
|
1422
1424
|
export declare const Confetti: default_2.FC<ConfettiProps>;
|
|
1423
1425
|
|
|
1424
1426
|
export declare interface ConfettiProps {
|
|
1425
|
-
/** Number of confetti pieces. */
|
|
1427
|
+
/** Number of confetti pieces, split between the two cannons. */
|
|
1426
1428
|
count?: number;
|
|
1427
|
-
/** Colors
|
|
1429
|
+
/** Colors picked at random across the pieces; list one twice to weight it. */
|
|
1428
1430
|
colors?: string[];
|
|
1429
1431
|
className?: string;
|
|
1430
1432
|
}
|
|
@@ -3643,6 +3645,19 @@ export declare type LoadingBarSize = 'small' | 'medium' | 'large';
|
|
|
3643
3645
|
|
|
3644
3646
|
export declare type LoadingBarVariant = 'default' | 'warning' | 'error';
|
|
3645
3647
|
|
|
3648
|
+
/**
|
|
3649
|
+
* The whole viewport while an app has nothing to show yet: the StackOne wordmark over a bar
|
|
3650
|
+
* scanning back and forth, on the page background. It is the screen unified-cloud paints before
|
|
3651
|
+
* its bundle loads, so a page that hands over to it, or from it, reads as one wait.
|
|
3652
|
+
*/
|
|
3653
|
+
export declare const LoadingScreen: default_2.FC<LoadingScreenProps>;
|
|
3654
|
+
|
|
3655
|
+
export declare interface LoadingScreenProps {
|
|
3656
|
+
'aria-label'?: string;
|
|
3657
|
+
'aria-labelledby'?: string;
|
|
3658
|
+
className?: string;
|
|
3659
|
+
}
|
|
3660
|
+
|
|
3646
3661
|
export declare const LogsIcon: React.FC<IconProps_75>;
|
|
3647
3662
|
|
|
3648
3663
|
export declare const MagicWandIcon: React.FC<IconProps_76>;
|
|
@@ -4486,7 +4501,9 @@ export declare const PageActions: default_2.FC<{
|
|
|
4486
4501
|
buttons: PageAction[];
|
|
4487
4502
|
}>;
|
|
4488
4503
|
|
|
4489
|
-
declare type PageContentGap = 'small' | 'medium' | 'large' | 'xlarge';
|
|
4504
|
+
export declare type PageContentGap = 'small' | 'medium' | 'large' | 'xlarge';
|
|
4505
|
+
|
|
4506
|
+
export declare type PageContentWidth = 'narrow';
|
|
4490
4507
|
|
|
4491
4508
|
export declare const PageLayout: {
|
|
4492
4509
|
Regular: FC<RegularLayoutProps>;
|
|
@@ -4917,6 +4934,8 @@ export declare interface RegularLayoutProps {
|
|
|
4917
4934
|
centered?: boolean;
|
|
4918
4935
|
noPadding?: boolean;
|
|
4919
4936
|
contentGap?: PageContentGap;
|
|
4937
|
+
/** Caps the content column and centres it; `narrow` fits a single-column form. */
|
|
4938
|
+
contentWidth?: PageContentWidth;
|
|
4920
4939
|
alert?: {
|
|
4921
4940
|
message: string;
|
|
4922
4941
|
type?: AlertType;
|