tide-design-system 2.4.4 → 2.4.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/style.css +1 -1
- package/dist/tide-design-system.cjs +2 -2
- package/dist/tide-design-system.esm.d.ts +23 -5
- package/dist/tide-design-system.esm.js +778 -727
- package/index.ts +2 -0
- package/package.json +1 -1
- package/src/components/TideAlert.vue +46 -3
- package/src/stories/TideAlert.stories.ts +37 -1
|
@@ -40,6 +40,12 @@ declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
+
declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
|
|
43
49
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
44
50
|
new (): {
|
|
45
51
|
$slots: S;
|
|
@@ -1031,6 +1037,7 @@ declare type Props_19 = {
|
|
|
1031
1037
|
|
|
1032
1038
|
declare type Props_2 = {
|
|
1033
1039
|
heading?: string;
|
|
1040
|
+
ctaLabel?: string;
|
|
1034
1041
|
isDismissible?: boolean;
|
|
1035
1042
|
isToast?: boolean;
|
|
1036
1043
|
type?: Alert;
|
|
@@ -1335,11 +1342,14 @@ isOptional: boolean;
|
|
|
1335
1342
|
|
|
1336
1343
|
export declare const TideAlert: __VLS_WithTemplateSlots_2<DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1337
1344
|
close: () => any;
|
|
1345
|
+
ctaClick: () => any;
|
|
1338
1346
|
}, string, PublicProps, Readonly<Props_2> & Readonly<{
|
|
1339
1347
|
onClose?: (() => any) | undefined;
|
|
1348
|
+
onCtaClick?: (() => any) | undefined;
|
|
1340
1349
|
}>, {
|
|
1341
1350
|
type: Alert;
|
|
1342
1351
|
heading: string;
|
|
1352
|
+
ctaLabel: string;
|
|
1343
1353
|
isDismissible: boolean;
|
|
1344
1354
|
isToast: boolean;
|
|
1345
1355
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
@@ -1347,8 +1357,8 @@ isToast: boolean;
|
|
|
1347
1357
|
}>;
|
|
1348
1358
|
|
|
1349
1359
|
export declare const TideBadge: DefineComponent<Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_3> & Readonly<{}>, {
|
|
1350
|
-
color: BadgeColor;
|
|
1351
1360
|
iconLeading: Icon;
|
|
1361
|
+
color: BadgeColor;
|
|
1352
1362
|
isFloating: boolean;
|
|
1353
1363
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1354
1364
|
|
|
@@ -1450,6 +1460,14 @@ export declare const TideDivider: DefineComponent<Props_16, {}, {}, {}, {}, Comp
|
|
|
1450
1460
|
orientation: Orientation;
|
|
1451
1461
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1452
1462
|
|
|
1463
|
+
export declare const TideForm: __VLS_WithTemplateSlots_6<DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1464
|
+
submit: (e: SubmitEvent) => any;
|
|
1465
|
+
}, string, PublicProps, Readonly<{}> & Readonly<{
|
|
1466
|
+
onSubmit?: ((e: SubmitEvent) => any) | undefined;
|
|
1467
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
1468
|
+
default?(_: {}): any;
|
|
1469
|
+
}>;
|
|
1470
|
+
|
|
1453
1471
|
export declare const TideIcon: DefineComponent<Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_17> & Readonly<{}>, {
|
|
1454
1472
|
size: Size;
|
|
1455
1473
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -1464,7 +1482,7 @@ sources: Source[];
|
|
|
1464
1482
|
src: string;
|
|
1465
1483
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1466
1484
|
|
|
1467
|
-
export declare const TideImageBackground:
|
|
1485
|
+
export declare const TideImageBackground: __VLS_WithTemplateSlots_7<DefineComponent<Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_19> & Readonly<{}>, {
|
|
1468
1486
|
alt: string;
|
|
1469
1487
|
isLazy: boolean;
|
|
1470
1488
|
sources: Source[];
|
|
@@ -1765,7 +1783,7 @@ iconTrailing: Icon;
|
|
|
1765
1783
|
subtle: boolean;
|
|
1766
1784
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1767
1785
|
|
|
1768
|
-
export declare const TideModal:
|
|
1786
|
+
export declare const TideModal: __VLS_WithTemplateSlots_8<DefineComponent<Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1769
1787
|
close: () => any;
|
|
1770
1788
|
back: () => any;
|
|
1771
1789
|
}, string, PublicProps, Readonly<Props_28> & Readonly<{
|
|
@@ -1790,7 +1808,7 @@ pageCurrent: number;
|
|
|
1790
1808
|
pageTotal: number;
|
|
1791
1809
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1792
1810
|
|
|
1793
|
-
export declare const TidePopover:
|
|
1811
|
+
export declare const TidePopover: __VLS_WithTemplateSlots_9<DefineComponent<Props_30, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_30> & Readonly<{}>, {
|
|
1794
1812
|
offset: number;
|
|
1795
1813
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1796
1814
|
default?(_: {}): any;
|
|
@@ -1800,7 +1818,7 @@ export declare const TideSeoLinks: DefineComponent<Props_31, {}, {}, {}, {}, Com
|
|
|
1800
1818
|
heading: string;
|
|
1801
1819
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1802
1820
|
|
|
1803
|
-
export declare const TideSheet:
|
|
1821
|
+
export declare const TideSheet: __VLS_WithTemplateSlots_10<DefineComponent<Props_32, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1804
1822
|
close: () => any;
|
|
1805
1823
|
back: () => any;
|
|
1806
1824
|
}, string, PublicProps, Readonly<Props_32> & Readonly<{
|