@stenajs-webui/elements 19.0.3 → 19.0.5
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/ui/icon/CircledIcon.d.ts +1 -1
- package/dist/components/ui/modal-types/InfoAlert.d.ts +12 -0
- package/dist/components/ui/modal-types/parts/ModalActionButtons.d.ts +6 -0
- package/dist/components/ui/modal-types/parts/ModalBody.d.ts +5 -0
- package/dist/components/ui/modal-types/parts/ModalHeader.d.ts +6 -0
- package/dist/components/ui/modal-types/parts/ModalHeading.d.ts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.es.js +1532 -1482
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +11 -4
|
@@ -3,7 +3,7 @@ import { CssPropColor } from "@stenajs-webui/theme";
|
|
|
3
3
|
import { IconProps } from "./Icon";
|
|
4
4
|
import { MediumIcon, XlIcon } from "../../../icons/IconSizes";
|
|
5
5
|
export declare type CircledIconSizeVariant = CircledIconSizeStandardVariant | CircledIconSizeXlVariant;
|
|
6
|
-
export declare type CircledIconSizeStandardVariant = "medium" | "small";
|
|
6
|
+
export declare type CircledIconSizeStandardVariant = "medium" | "small" | "large";
|
|
7
7
|
export declare type CircledIconSizeXlVariant = "xl";
|
|
8
8
|
export declare type CircledIconVariant = "normal" | "whiteBg";
|
|
9
9
|
export declare type CircledIconProps = CircledIconNormalProps | CircledIconXlProps;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { PropsWithChildren, ReactNode } from "react";
|
|
3
|
+
import { MediumIcon } from "../../../icons/IconSizes";
|
|
4
|
+
export interface AlertInfoModalProps extends PropsWithChildren {
|
|
5
|
+
heading: string;
|
|
6
|
+
text?: string;
|
|
7
|
+
buttons?: ReactNode;
|
|
8
|
+
icon?: MediumIcon;
|
|
9
|
+
onRequestClose?: () => void;
|
|
10
|
+
maxWidth?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const InfoAlert: React.FC<AlertInfoModalProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -63,7 +63,12 @@ export * from "./components/ui/route-leg/RouteLeg";
|
|
|
63
63
|
export * from "./components/ui/route-leg/TimeTag";
|
|
64
64
|
export * from "./components/ui/dialog/UseDialog";
|
|
65
65
|
export * from "./components/ui/dialog/UseDialogPromise";
|
|
66
|
+
export * from "./components/ui/dialog/DialogCommands";
|
|
66
67
|
export * from "./components/ui/dialog/alert/UseAlertDialog";
|
|
67
68
|
export * from "./components/ui/dialog/drawer/UseDrawerDialog";
|
|
68
69
|
export * from "./components/ui/dialog/modal/UseModalDialog";
|
|
70
|
+
export * from "./components/ui/modal-types/InfoAlert";
|
|
71
|
+
export * from "./components/ui/modal-types/parts/ModalHeader";
|
|
72
|
+
export * from "./components/ui/modal-types/parts/ModalActionButtons";
|
|
73
|
+
export * from "./components/ui/modal-types/parts/ModalHeading";
|
|
69
74
|
export * from "./components/ui/shimmer-box/ShimmerBox";
|