@luscii-healthtech/web-ui 64.5.0 → 64.5.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/esm/components/Toaster/ToasterPanel.js +3 -3
- package/dist/esm/components/Toaster/ToasterPanel.js.map +1 -1
- package/dist/esm/components/Toaster/toast.js +2 -2
- package/dist/esm/components/Toaster/toast.js.map +1 -1
- package/dist/index.development.js +5 -5
- package/dist/index.development.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/src/components/Toaster/ToasterPanel.d.ts +5 -0
- package/dist/src/components/Toaster/toast.d.ts +5 -0
- package/dist/src/generated/components/Toaster/ToasterPanel.d.ts +5 -0
- package/dist/src/generated/components/Toaster/toast.d.ts +5 -0
- package/dist/web-ui-tailwind.css +0 -3
- package/package.json +1 -1
|
@@ -9,6 +9,11 @@ export interface ToasterPanelProps {
|
|
|
9
9
|
* @default "Close"
|
|
10
10
|
*/
|
|
11
11
|
closeButtonLabel?: string;
|
|
12
|
+
/**
|
|
13
|
+
* How long the progress bar runs before the toast closes, in milliseconds.
|
|
14
|
+
* @default 5000
|
|
15
|
+
*/
|
|
16
|
+
duration?: number;
|
|
12
17
|
onClickClose: () => void;
|
|
13
18
|
onAnimationEnd?: () => void;
|
|
14
19
|
}
|
|
@@ -8,6 +8,11 @@ type ToastParams = {
|
|
|
8
8
|
*/
|
|
9
9
|
closeButtonLabel?: string;
|
|
10
10
|
type: "success" | "failure";
|
|
11
|
+
/**
|
|
12
|
+
* How long the toast stays open, in milliseconds.
|
|
13
|
+
* @default 5000
|
|
14
|
+
*/
|
|
15
|
+
duration?: number;
|
|
11
16
|
} | string;
|
|
12
17
|
export declare const toast: {
|
|
13
18
|
(params: ToastParams): void;
|
|
@@ -9,6 +9,11 @@ export interface ToasterPanelProps {
|
|
|
9
9
|
* @default "Close"
|
|
10
10
|
*/
|
|
11
11
|
closeButtonLabel?: string;
|
|
12
|
+
/**
|
|
13
|
+
* How long the progress bar runs before the toast closes, in milliseconds.
|
|
14
|
+
* @default 5000
|
|
15
|
+
*/
|
|
16
|
+
duration?: number;
|
|
12
17
|
onClickClose: () => void;
|
|
13
18
|
onAnimationEnd?: () => void;
|
|
14
19
|
}
|
|
@@ -8,6 +8,11 @@ type ToastParams = {
|
|
|
8
8
|
*/
|
|
9
9
|
closeButtonLabel?: string;
|
|
10
10
|
type: "success" | "failure";
|
|
11
|
+
/**
|
|
12
|
+
* How long the toast stays open, in milliseconds.
|
|
13
|
+
* @default 5000
|
|
14
|
+
*/
|
|
15
|
+
duration?: number;
|
|
11
16
|
} | string;
|
|
12
17
|
export declare const toast: {
|
|
13
18
|
(params: ToastParams): void;
|
package/dist/web-ui-tailwind.css
CHANGED
|
@@ -1682,9 +1682,6 @@ button, input:where([type='button'], [type='reset'], [type='submit']), ::file-se
|
|
|
1682
1682
|
.ui\:h-xxxxs {
|
|
1683
1683
|
height: var(--ui-spacing-xxxxs);
|
|
1684
1684
|
}
|
|
1685
|
-
.ui\:max-h-19 {
|
|
1686
|
-
max-height: 4.75rem;
|
|
1687
|
-
}
|
|
1688
1685
|
.ui\:max-h-36 {
|
|
1689
1686
|
max-height: 9rem;
|
|
1690
1687
|
}
|