tide-design-system 2.4.3 → 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/css/storybook.css +1 -0
- package/dist/css/variables.css +2 -2
- package/dist/style.css +1 -1
- package/dist/tide-design-system.cjs +2 -2
- package/dist/tide-design-system.esm.d.ts +30 -7
- package/dist/tide-design-system.esm.js +1855 -1744
- package/index.ts +2 -0
- package/package.json +1 -1
- package/src/assets/css/storybook.css +1 -0
- package/src/assets/css/variables.css +2 -2
- package/src/components/TideAlert.vue +46 -3
- package/src/components/TideCarousel.vue +131 -28
- package/src/stories/TideAlert.stories.ts +37 -1
- package/src/stories/TideCarousel.stories.ts +21 -23
- package/src/types/Icon.ts +3 -0
|
@@ -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;
|
|
@@ -745,6 +751,7 @@ export declare const ICON: {
|
|
|
745
751
|
readonly ARROW_CYCLE: "arrow-cycle";
|
|
746
752
|
readonly ARROW_FORWARD: "arrow-forward";
|
|
747
753
|
readonly ARROW_RIGHT: "arrow-right";
|
|
754
|
+
readonly ARROW_UP: "arrow-up";
|
|
748
755
|
readonly ASSIGNMENT: "assignment";
|
|
749
756
|
readonly ATTACH_MONEY: "attach-money";
|
|
750
757
|
readonly AUTO_RENEW: "auto-renew";
|
|
@@ -844,6 +851,8 @@ export declare const ICON: {
|
|
|
844
851
|
readonly SMS: "sms";
|
|
845
852
|
readonly SNOWFLAKE: "snowflake";
|
|
846
853
|
readonly STAR: "star";
|
|
854
|
+
readonly STAR_FILLED: "star-filled";
|
|
855
|
+
readonly STAR_HALF: "star-half";
|
|
847
856
|
readonly SUMMARIZE: "summarize";
|
|
848
857
|
readonly SWAP_HORIZ: "swap-horiz";
|
|
849
858
|
readonly SWAP_VERT: "swap-vert";
|
|
@@ -969,12 +978,13 @@ declare type Props_10 = {
|
|
|
969
978
|
};
|
|
970
979
|
|
|
971
980
|
declare type Props_11 = {
|
|
972
|
-
|
|
981
|
+
hasDots?: boolean;
|
|
973
982
|
isFloating?: boolean;
|
|
974
983
|
isHeadline1?: boolean;
|
|
975
984
|
isHideawayButtons?: boolean;
|
|
976
985
|
isScrollByPage?: boolean;
|
|
977
986
|
isTouchscreen?: boolean;
|
|
987
|
+
maxDots?: number;
|
|
978
988
|
subtitle?: string;
|
|
979
989
|
title?: string;
|
|
980
990
|
};
|
|
@@ -1027,6 +1037,7 @@ declare type Props_19 = {
|
|
|
1027
1037
|
|
|
1028
1038
|
declare type Props_2 = {
|
|
1029
1039
|
heading?: string;
|
|
1040
|
+
ctaLabel?: string;
|
|
1030
1041
|
isDismissible?: boolean;
|
|
1031
1042
|
isToast?: boolean;
|
|
1032
1043
|
type?: Alert;
|
|
@@ -1331,11 +1342,14 @@ isOptional: boolean;
|
|
|
1331
1342
|
|
|
1332
1343
|
export declare const TideAlert: __VLS_WithTemplateSlots_2<DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1333
1344
|
close: () => any;
|
|
1345
|
+
ctaClick: () => any;
|
|
1334
1346
|
}, string, PublicProps, Readonly<Props_2> & Readonly<{
|
|
1335
1347
|
onClose?: (() => any) | undefined;
|
|
1348
|
+
onCtaClick?: (() => any) | undefined;
|
|
1336
1349
|
}>, {
|
|
1337
1350
|
type: Alert;
|
|
1338
1351
|
heading: string;
|
|
1352
|
+
ctaLabel: string;
|
|
1339
1353
|
isDismissible: boolean;
|
|
1340
1354
|
isToast: boolean;
|
|
1341
1355
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
@@ -1343,8 +1357,8 @@ isToast: boolean;
|
|
|
1343
1357
|
}>;
|
|
1344
1358
|
|
|
1345
1359
|
export declare const TideBadge: DefineComponent<Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_3> & Readonly<{}>, {
|
|
1346
|
-
color: BadgeColor;
|
|
1347
1360
|
iconLeading: Icon;
|
|
1361
|
+
color: BadgeColor;
|
|
1348
1362
|
isFloating: boolean;
|
|
1349
1363
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1350
1364
|
|
|
@@ -1409,11 +1423,12 @@ onSlidesAddedToView?: ((slidesInView: number[]) => any) | undefined;
|
|
|
1409
1423
|
}>, {
|
|
1410
1424
|
title: string;
|
|
1411
1425
|
isFloating: boolean;
|
|
1412
|
-
|
|
1426
|
+
hasDots: boolean;
|
|
1413
1427
|
isHeadline1: boolean;
|
|
1414
1428
|
isHideawayButtons: boolean;
|
|
1415
1429
|
isScrollByPage: boolean;
|
|
1416
1430
|
isTouchscreen: boolean;
|
|
1431
|
+
maxDots: number;
|
|
1417
1432
|
subtitle: string;
|
|
1418
1433
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1419
1434
|
misc?(_: {}): any;
|
|
@@ -1445,6 +1460,14 @@ export declare const TideDivider: DefineComponent<Props_16, {}, {}, {}, {}, Comp
|
|
|
1445
1460
|
orientation: Orientation;
|
|
1446
1461
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1447
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
|
+
|
|
1448
1471
|
export declare const TideIcon: DefineComponent<Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_17> & Readonly<{}>, {
|
|
1449
1472
|
size: Size;
|
|
1450
1473
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -1459,7 +1482,7 @@ sources: Source[];
|
|
|
1459
1482
|
src: string;
|
|
1460
1483
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1461
1484
|
|
|
1462
|
-
export declare const TideImageBackground:
|
|
1485
|
+
export declare const TideImageBackground: __VLS_WithTemplateSlots_7<DefineComponent<Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_19> & Readonly<{}>, {
|
|
1463
1486
|
alt: string;
|
|
1464
1487
|
isLazy: boolean;
|
|
1465
1488
|
sources: Source[];
|
|
@@ -1760,7 +1783,7 @@ iconTrailing: Icon;
|
|
|
1760
1783
|
subtle: boolean;
|
|
1761
1784
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1762
1785
|
|
|
1763
|
-
export declare const TideModal:
|
|
1786
|
+
export declare const TideModal: __VLS_WithTemplateSlots_8<DefineComponent<Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1764
1787
|
close: () => any;
|
|
1765
1788
|
back: () => any;
|
|
1766
1789
|
}, string, PublicProps, Readonly<Props_28> & Readonly<{
|
|
@@ -1785,7 +1808,7 @@ pageCurrent: number;
|
|
|
1785
1808
|
pageTotal: number;
|
|
1786
1809
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1787
1810
|
|
|
1788
|
-
export declare const TidePopover:
|
|
1811
|
+
export declare const TidePopover: __VLS_WithTemplateSlots_9<DefineComponent<Props_30, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_30> & Readonly<{}>, {
|
|
1789
1812
|
offset: number;
|
|
1790
1813
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
1791
1814
|
default?(_: {}): any;
|
|
@@ -1795,7 +1818,7 @@ export declare const TideSeoLinks: DefineComponent<Props_31, {}, {}, {}, {}, Com
|
|
|
1795
1818
|
heading: string;
|
|
1796
1819
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1797
1820
|
|
|
1798
|
-
export declare const TideSheet:
|
|
1821
|
+
export declare const TideSheet: __VLS_WithTemplateSlots_10<DefineComponent<Props_32, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1799
1822
|
close: () => any;
|
|
1800
1823
|
back: () => any;
|
|
1801
1824
|
}, string, PublicProps, Readonly<Props_32> & Readonly<{
|