tide-design-system 2.0.48 → 2.0.50
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/.storybook/preview.ts +2 -2
- package/dist/IconBunkhouse-348a1518.cjs +2 -0
- package/dist/IconBunkhouse-e7cb965d.js +16 -0
- package/dist/css/dynamic-buttons.css +0 -12
- package/dist/css/reset.css +2 -1
- package/dist/css/utilities.css +5 -5
- package/dist/style.css +1 -1
- package/dist/tide-design-system.cjs +2 -2
- package/dist/tide-design-system.esm.d.ts +24 -0
- package/dist/tide-design-system.esm.js +217 -201
- package/dist/utilities/storybook.ts +2 -5
- package/index.ts +7 -5
- package/package.json +7 -1
- package/src/assets/css/dynamic-buttons.css +0 -12
- package/src/assets/css/reset.css +2 -1
- package/src/assets/css/utilities.css +5 -5
- package/src/assets/svg/icons/IconBunkhouse.svg +3 -0
- package/src/components/TideButton.vue +12 -7
- package/src/components/TideCard.vue +12 -4
- package/src/components/TideColumns.vue +3 -1
- package/src/components/TideImage.vue +8 -2
- package/src/components/TideInputSelect.vue +1 -1
- package/src/stories/FoundationsGap.stories.ts +6 -2
- package/src/stories/TideButton.stories.ts +10 -0
- package/src/stories/TideCard.stories.ts +8 -2
- package/src/stories/TideIcon.stories.ts +1 -2
- package/src/stories/TideImage.stories.ts +20 -0
- package/src/types/Field.ts +1 -1
- package/src/types/Form.ts +1 -1
- package/src/types/Icon.ts +1 -0
- package/src/types/Size.ts +7 -0
- package/src/utilities/storybook.ts +2 -5
- package/vite-env.d.ts +2 -0
- package/vite.config.ts +2 -2
|
@@ -1214,6 +1214,7 @@ export declare const ICON: {
|
|
|
1214
1214
|
readonly AWARD_STAR: "award-star";
|
|
1215
1215
|
readonly BED: "bed";
|
|
1216
1216
|
readonly BOOKMARK: "bookmark";
|
|
1217
|
+
readonly BUNKHOUSE: "bunkhouse";
|
|
1217
1218
|
readonly CALENDAR_MONTH: "calendar-month";
|
|
1218
1219
|
readonly CALL: "call";
|
|
1219
1220
|
readonly CHECK: "check";
|
|
@@ -1416,9 +1417,11 @@ declare type Props_16 = {
|
|
|
1416
1417
|
|
|
1417
1418
|
declare type Props_17 = {
|
|
1418
1419
|
alt: string;
|
|
1420
|
+
height?: string;
|
|
1419
1421
|
isLazy?: boolean;
|
|
1420
1422
|
sources?: Source[];
|
|
1421
1423
|
src?: string;
|
|
1424
|
+
width?: string;
|
|
1422
1425
|
};
|
|
1423
1426
|
|
|
1424
1427
|
declare type Props_18 = {
|
|
@@ -1545,6 +1548,7 @@ declare type Props_6 = {
|
|
|
1545
1548
|
isNewTab?: boolean;
|
|
1546
1549
|
label: string;
|
|
1547
1550
|
priority?: Priority;
|
|
1551
|
+
size?: SizeButton;
|
|
1548
1552
|
};
|
|
1549
1553
|
|
|
1550
1554
|
declare type Props_7 = {
|
|
@@ -1570,6 +1574,7 @@ declare type Props_9 = {
|
|
|
1570
1574
|
iconPosition: CardIconPosition;
|
|
1571
1575
|
selected?: boolean;
|
|
1572
1576
|
type: CardType;
|
|
1577
|
+
href?: string;
|
|
1573
1578
|
};
|
|
1574
1579
|
|
|
1575
1580
|
export declare type RangeData = {
|
|
@@ -1646,6 +1651,13 @@ export declare const SIZE: {
|
|
|
1646
1651
|
|
|
1647
1652
|
export declare type Size = (typeof SIZE)[keyof typeof SIZE];
|
|
1648
1653
|
|
|
1654
|
+
export declare const SIZE_BUTTON: {
|
|
1655
|
+
readonly LARGE: "large";
|
|
1656
|
+
readonly SMALL: "small";
|
|
1657
|
+
};
|
|
1658
|
+
|
|
1659
|
+
export declare type SizeButton = (typeof SIZE)[keyof typeof SIZE];
|
|
1660
|
+
|
|
1649
1661
|
declare type Source = {
|
|
1650
1662
|
media: Media;
|
|
1651
1663
|
srcset: string;
|
|
@@ -1869,6 +1881,7 @@ iconTrailing: undefined;
|
|
|
1869
1881
|
isNewTab: boolean;
|
|
1870
1882
|
label: undefined;
|
|
1871
1883
|
priority: "primary";
|
|
1884
|
+
size: "large";
|
|
1872
1885
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_4<__VLS_TypePropsToOption_6<Props_6>, {
|
|
1873
1886
|
disabled: boolean;
|
|
1874
1887
|
element: "button";
|
|
@@ -1878,8 +1891,10 @@ iconTrailing: undefined;
|
|
|
1878
1891
|
isNewTab: boolean;
|
|
1879
1892
|
label: undefined;
|
|
1880
1893
|
priority: "primary";
|
|
1894
|
+
size: "large";
|
|
1881
1895
|
}>>>, {
|
|
1882
1896
|
label: string;
|
|
1897
|
+
size: SizeButton;
|
|
1883
1898
|
disabled: boolean;
|
|
1884
1899
|
element: Element_2;
|
|
1885
1900
|
href: string;
|
|
@@ -1931,12 +1946,14 @@ href: string;
|
|
|
1931
1946
|
|
|
1932
1947
|
export declare const TideCard: DefineComponent<__VLS_WithDefaults_7<__VLS_TypePropsToOption_9<Props_9>, {
|
|
1933
1948
|
description: undefined;
|
|
1949
|
+
href: undefined;
|
|
1934
1950
|
icon: undefined;
|
|
1935
1951
|
iconPosition: "left";
|
|
1936
1952
|
selected: undefined;
|
|
1937
1953
|
type: "informational";
|
|
1938
1954
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToOption_9<Props_9>, {
|
|
1939
1955
|
description: undefined;
|
|
1956
|
+
href: undefined;
|
|
1940
1957
|
icon: undefined;
|
|
1941
1958
|
iconPosition: "left";
|
|
1942
1959
|
selected: undefined;
|
|
@@ -1944,6 +1961,7 @@ type: "informational";
|
|
|
1944
1961
|
}>>>, {
|
|
1945
1962
|
type: CardType;
|
|
1946
1963
|
icon: Icon;
|
|
1964
|
+
href: string;
|
|
1947
1965
|
description: string;
|
|
1948
1966
|
iconPosition: CardIconPosition;
|
|
1949
1967
|
selected: boolean;
|
|
@@ -2008,15 +2026,21 @@ size: Size;
|
|
|
2008
2026
|
|
|
2009
2027
|
export declare const TideImage: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToOption_17<Props_17>, {
|
|
2010
2028
|
alt: string;
|
|
2029
|
+
height: undefined;
|
|
2011
2030
|
isLazy: boolean;
|
|
2012
2031
|
sources: () => never[];
|
|
2013
2032
|
src: undefined;
|
|
2033
|
+
width: undefined;
|
|
2014
2034
|
}>, any, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToOption_17<Props_17>, {
|
|
2015
2035
|
alt: string;
|
|
2036
|
+
height: undefined;
|
|
2016
2037
|
isLazy: boolean;
|
|
2017
2038
|
sources: () => never[];
|
|
2018
2039
|
src: undefined;
|
|
2040
|
+
width: undefined;
|
|
2019
2041
|
}>>>, {
|
|
2042
|
+
height: string;
|
|
2043
|
+
width: string;
|
|
2020
2044
|
alt: string;
|
|
2021
2045
|
isLazy: boolean;
|
|
2022
2046
|
sources: Source[];
|