tide-design-system 2.0.0 → 2.0.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/{IconAccountBalance-91cf067b.js → IconAccountBalance-0c552905.js} +1 -1
- package/dist/{IconAdd-95c51c0e.js → IconAdd-50766b43.js} +1 -1
- package/dist/{IconAi-08172540.js → IconAi-3f1ad2fe.js} +1 -1
- package/dist/{IconAlignSpace-9ab2bdf2.js → IconAlignSpace-804660fd.js} +1 -1
- package/dist/{IconApplePay-1ee6317b.js → IconApplePay-75b9850c.js} +1 -1
- package/dist/{IconArrowBack-a2226a94.js → IconArrowBack-3bde832a.js} +1 -1
- package/dist/{IconArrowForward-e1ca9957.js → IconArrowForward-0582323f.js} +1 -1
- package/dist/{IconArrowRight-53382084.js → IconArrowRight-c37875ce.js} +1 -1
- package/dist/{IconAssignment-332c2b2b.js → IconAssignment-b9549d2c.js} +1 -1
- package/dist/{IconAwardStar-1ca35385.js → IconAwardStar-a1b0a840.js} +1 -1
- package/dist/{IconBookmark-49b42628.js → IconBookmark-26e82ff4.js} +1 -1
- package/dist/{IconCalendarMonth-22c938d7.js → IconCalendarMonth-55806114.js} +1 -1
- package/dist/{IconCall-989a47fc.js → IconCall-dfc29049.js} +1 -1
- package/dist/{IconCheck-a3467b47.js → IconCheck-1d4a84f9.js} +1 -1
- package/dist/{IconChevronLeft-c1d90bb7.js → IconChevronLeft-8a9307a6.js} +1 -1
- package/dist/{IconChevronRight-ad47891f.js → IconChevronRight-46940da9.js} +1 -1
- package/dist/{IconClear-7c8fad4e.js → IconClear-1dc6a4df.js} +1 -1
- package/dist/{IconClose-4b6c5aed.js → IconClose-93976f13.js} +1 -1
- package/dist/{IconCycle-99d40f2d.js → IconCycle-b8bc8146.js} +1 -1
- package/dist/{IconDelete-446eff93.js → IconDelete-2970a09b.js} +1 -1
- package/dist/{IconDiamond-765a7d8d.js → IconDiamond-ba4bae95.js} +1 -1
- package/dist/{IconEdit-ce05f3b5.js → IconEdit-3612d58e.js} +1 -1
- package/dist/{IconError-7983707a.js → IconError-643df67d.js} +1 -1
- package/dist/{IconExpandContent-8b6e2125.js → IconExpandContent-71109869.js} +1 -1
- package/dist/{IconExpandLess-9e23f1e9.js → IconExpandLess-9c6c12b6.js} +1 -1
- package/dist/{IconExpandMore-ded098a7.js → IconExpandMore-fcd92910.js} +1 -1
- package/dist/{IconFacebook-3cab65a8.js → IconFacebook-b0d62bbb.js} +1 -1
- package/dist/{IconFavorite-5fe831f4.js → IconFavorite-d59dfc0b.js} +1 -1
- package/dist/{IconFavoriteFilled-58fa0bf7.js → IconFavoriteFilled-fd2c5862.js} +1 -1
- package/dist/{IconFormatBold-889f6b8b.js → IconFormatBold-6f1aa639.js} +1 -1
- package/dist/{IconFormatItalic-103eba00.js → IconFormatItalic-a82848b2.js} +1 -1
- package/dist/{IconFormatListBulleted-4c824025.js → IconFormatListBulleted-4f4a0a99.js} +1 -1
- package/dist/{IconForum-abc2fe82.js → IconForum-194dedbd.js} +1 -1
- package/dist/{IconGoogle-281b6d80.js → IconGoogle-46e6c4f1.js} +1 -1
- package/dist/{IconGooglePay-cc83c5c8.js → IconGooglePay-090b70a8.js} +1 -1
- package/dist/{IconGrid-ef763745.js → IconGrid-0f7c079c.js} +1 -1
- package/dist/{IconHelp-2ad33f76.js → IconHelp-e91f36a5.js} +1 -1
- package/dist/{IconInfo-5878df77.js → IconInfo-df1f06a5.js} +1 -1
- package/dist/{IconInsertText-0c62badf.js → IconInsertText-e371c1cd.js} +1 -1
- package/dist/{IconInstagram-69e21cfb.js → IconInstagram-af4ea628.js} +1 -1
- package/dist/{IconIosShare-be5f117c.js → IconIosShare-7253c1df.js} +1 -1
- package/dist/{IconLayout-c1ffbcd3.js → IconLayout-225d9fb6.js} +1 -1
- package/dist/{IconLinkedIn-807ef6f5.js → IconLinkedIn-ab7e007c.js} +1 -1
- package/dist/{IconLocalShipping-2c6d71e0.js → IconLocalShipping-2c8ac96c.js} +1 -1
- package/dist/{IconLock-9178e816.js → IconLock-b4e1bd5d.js} +1 -1
- package/dist/{IconMail-0123a7c6.js → IconMail-50eca4b4.js} +1 -1
- package/dist/{IconMenu-33ed2d99.js → IconMenu-7789a1f9.js} +1 -1
- package/dist/{IconMoreHoriz-c281099f.js → IconMoreHoriz-35960212.js} +1 -1
- package/dist/{IconNotifications-89f80e0f.js → IconNotifications-a6690c77.js} +1 -1
- package/dist/{IconOpenInNew-87ad0454.js → IconOpenInNew-8b812d7f.js} +1 -1
- package/dist/{IconPalette-7ee5b40c.js → IconPalette-18b6e766.js} +1 -1
- package/dist/{IconPaypal-e311eadd.js → IconPaypal-75ff8ed5.js} +1 -1
- package/dist/{IconPerson-932fbcbc.js → IconPerson-3c8a4c27.js} +1 -1
- package/dist/{IconPhotoCamera-fdbd5767.js → IconPhotoCamera-0fbb9344.js} +1 -1
- package/dist/{IconPinterest-2d19c2eb.js → IconPinterest-28ae7c92.js} +1 -1
- package/dist/{IconPlayArrow-9837a5c0.js → IconPlayArrow-6d779a71.js} +1 -1
- package/dist/{IconRemove-29ef8f82.js → IconRemove-1f655305.js} +1 -1
- package/dist/{IconRoundedCorners-8ad194fc.js → IconRoundedCorners-1f9eba28.js} +1 -1
- package/dist/{IconSearch-5ff23d26.js → IconSearch-c6843cf3.js} +1 -1
- package/dist/{IconSell-0e0ecd20.js → IconSell-c7818ac8.js} +1 -1
- package/dist/{IconShare-47084765.js → IconShare-b81bc4cd.js} +1 -1
- package/dist/{IconShoppingCart-9d6495b3.js → IconShoppingCart-b6cc2022.js} +1 -1
- package/dist/{IconSms-5ba18382.js → IconSms-dc4c1454.js} +1 -1
- package/dist/{IconStar-ef69284b.js → IconStar-c4305bd6.js} +1 -1
- package/dist/{IconSwapVert-05e14e3d.js → IconSwapVert-00e66af6.js} +1 -1
- package/dist/{IconThreeDRotation-2433b2e8.js → IconThreeDRotation-b19a9312.js} +1 -1
- package/dist/{IconTune-3c6452f0.js → IconTune-dee47734.js} +1 -1
- package/dist/{IconTwitter-a634cef4.js → IconTwitter-2ab4e06b.js} +1 -1
- package/dist/{IconVideocam-5712435e.js → IconVideocam-0d0142aa.js} +1 -1
- package/dist/{IconViewInAr-d38a23d5.js → IconViewInAr-7cd92579.js} +1 -1
- package/dist/{IconVisibility-8cdf7151.js → IconVisibility-84655778.js} +1 -1
- package/dist/{IconWarning-b9e61180.js → IconWarning-cab4938a.js} +1 -1
- package/dist/{IconYoutube-92447826.js → IconYoutube-ab7e33d3.js} +1 -1
- package/dist/css/dynamic-utilities.css +0 -1
- package/dist/css/main.css +0 -1
- package/dist/css/utilities.css +9 -8
- package/dist/css/variables.css +21 -17
- package/dist/index-32686488.js +2106 -0
- package/dist/style.css +1 -1
- package/dist/tide-design-system.js +48 -0
- package/dist/types/FacetRange.ts +84 -0
- package/dist/types/Field.ts +0 -1
- package/dist/types/Form.ts +57 -0
- package/dist/types/Realm.ts +1 -0
- package/dist/types/Select.ts +6 -0
- package/dist/types/Storybook.ts +206 -1
- package/dist/types/Styles.ts +64 -30
- package/dist/types/Validation.ts +7 -1
- package/dist/utilities/format.ts +75 -39
- package/dist/utilities/storybook.ts +35 -1
- package/dist/utilities/validation.ts +139 -34
- package/package.json +1 -1
- package/dist/css/dynamic-inputs.css +0 -43
- package/dist/index-c5bc4216.js +0 -1910
- package/dist/tide2-design-system.js +0 -36
- package/dist/types/StorybookStyles.ts +0 -209
- package/dist/types/Vehicle.ts +0 -139
- package/dist/types/VehicleDetail.ts +0 -44
- package/dist/types/index.d.ts +0 -7
- package/dist/utilities/forms.ts +0 -47
- package/dist/utilities/media.ts +0 -77
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as t, createElementBlock as c, Fragment as a, createElementVNode as e } from "vue";
|
|
2
|
-
import { _ as o } from "./index-
|
|
2
|
+
import { _ as o } from "./index-32686488.js";
|
|
3
3
|
const h = {}, n = /* @__PURE__ */ e("mask", {
|
|
4
4
|
height: "24",
|
|
5
5
|
id: "a",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as e, createElementBlock as h } from "vue";
|
|
2
|
-
import { _ as o } from "./index-
|
|
2
|
+
import { _ as o } from "./index-32686488.js";
|
|
3
3
|
const t = {}, v = { d: "M11 21v-6h2v2h8v2h-8v2h-2Zm-8-2v-2h6v2H3Zm4-4v-2H3v-2h4V9h2v6H7Zm4-2v-2h10v2H11Zm4-4V3h2v2h4v2h-4v2h-2ZM3 7V5h10v2H3Z" };
|
|
4
4
|
function c(n, r) {
|
|
5
5
|
return e(), h("path", v);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as t, createElementBlock as e } from "vue";
|
|
2
|
-
import { _ as o } from "./index-
|
|
2
|
+
import { _ as o } from "./index-32686488.js";
|
|
3
3
|
const c = {}, r = { d: "M18.202 2.25h3.309l-7.228 8.26 8.503 11.24H16.13l-5.217-6.816L4.95 21.75H1.636l7.73-8.836L1.214 2.25H8.04l4.711 6.23 5.452-6.23Zm-1.163 17.522h1.833L7.04 4.125H5.07l11.97 15.647Z" };
|
|
4
4
|
function n(_, l) {
|
|
5
5
|
return t(), e("path", r);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as c, createElementBlock as e } from "vue";
|
|
2
|
-
import { _ as o } from "./index-
|
|
2
|
+
import { _ as o } from "./index-32686488.js";
|
|
3
3
|
const t = {}, r = { d: "M4 20c-.55 0-1.02-.196-1.413-.587A1.926 1.926 0 0 1 2 18V6c0-.55.196-1.02.587-1.412A1.926 1.926 0 0 1 4 4h12c.55 0 1.02.196 1.413.588.391.391.587.862.587 1.412v4.5l4-4v11l-4-4V18c0 .55-.196 1.02-.587 1.413A1.926 1.926 0 0 1 16 20H4Zm0-2h12V6H4v12Z" };
|
|
4
4
|
function n(_, s) {
|
|
5
5
|
return c(), e("path", r);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as c, createElementBlock as e } from "vue";
|
|
2
|
-
import { _ as o } from "./index-
|
|
2
|
+
import { _ as o } from "./index-32686488.js";
|
|
3
3
|
const t = {}, r = { d: "M11 19.475 6 16.6a1.948 1.948 0 0 1-1-1.725v-5.75A1.948 1.948 0 0 1 6 7.4l5-2.875c.317-.183.65-.275 1-.275s.683.092 1 .275L18 7.4a1.948 1.948 0 0 1 1 1.725v5.75a1.948 1.948 0 0 1-1 1.725l-5 2.875c-.317.183-.65.275-1 .275s-.683-.092-1-.275Zm0-2.3v-4.6L7 10.25v4.625l4 2.3Zm2 0 4-2.3V10.25l-4 2.325v4.6ZM2 7V4c0-.55.196-1.02.587-1.413A1.926 1.926 0 0 1 4 2h3v2H4v3H2Zm5 15H4c-.55 0-1.02-.196-1.413-.587A1.926 1.926 0 0 1 2 20v-3h2v3h3v2Zm10 0v-2h3v-3h2v3c0 .55-.196 1.02-.587 1.413A1.926 1.926 0 0 1 20 22h-3Zm3-15V4h-3V2h3c.55 0 1.02.196 1.413.587.39.393.587.863.587 1.413v3h-2Zm-8 3.85 3.95-2.325L12 6.25 8.05 8.525 12 10.85Z" };
|
|
4
4
|
function v(n, h) {
|
|
5
5
|
return c(), e("path", r);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as c, createElementBlock as t } from "vue";
|
|
2
|
-
import { _ as e } from "./index-
|
|
2
|
+
import { _ as e } from "./index-32686488.js";
|
|
3
3
|
const o = {}, r = { d: "M12 16c1.25 0 2.313-.438 3.188-1.313.874-.874 1.312-1.937 1.312-3.187 0-1.25-.438-2.313-1.313-3.188C14.313 7.439 13.25 7 12 7c-1.25 0-2.313.438-3.188 1.313C7.939 9.187 7.5 10.25 7.5 11.5c0 1.25.438 2.313 1.313 3.188C9.687 15.562 10.75 16 12 16Zm0-1.8c-.75 0-1.387-.262-1.912-.787A2.604 2.604 0 0 1 9.3 11.5c0-.75.262-1.387.787-1.912A2.604 2.604 0 0 1 12 8.8c.75 0 1.387.262 1.912.787.525.526.788 1.163.788 1.913s-.262 1.387-.787 1.912A2.604 2.604 0 0 1 12 14.2Zm0 4.8c-2.433 0-4.65-.68-6.65-2.038-2-1.358-3.45-3.179-4.35-5.462.9-2.283 2.35-4.104 4.35-5.463C7.35 4.68 9.567 4 12 4c2.433 0 4.65.68 6.65 2.037 2 1.359 3.45 3.18 4.35 5.463-.9 2.283-2.35 4.104-4.35 5.462C16.65 18.322 14.433 19 12 19Zm0-2a9.544 9.544 0 0 0 5.188-1.488A9.773 9.773 0 0 0 20.8 11.5a9.773 9.773 0 0 0-3.613-4.013A9.545 9.545 0 0 0 12 6a9.545 9.545 0 0 0-5.188 1.487A9.773 9.773 0 0 0 3.2 11.5a9.773 9.773 0 0 0 3.612 4.012A9.544 9.544 0 0 0 12 17Z" };
|
|
4
4
|
function n(a, s) {
|
|
5
5
|
return c(), t("path", r);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as c, createElementBlock as e } from "vue";
|
|
2
|
-
import { _ as o } from "./index-
|
|
2
|
+
import { _ as o } from "./index-32686488.js";
|
|
3
3
|
const t = {}, n = { d: "M1 21 12 2l11 19H1Zm3.45-2h15.1L12 6 4.45 19ZM12 18a.97.97 0 0 0 .713-.288A.968.968 0 0 0 13 17a.968.968 0 0 0-.287-.712A.968.968 0 0 0 12 16a.968.968 0 0 0-.713.288A.968.968 0 0 0 11 17c0 .283.096.52.287.712.192.192.43.288.713.288Zm-1-3h2v-5h-2v5Z" };
|
|
4
4
|
function r(a, _) {
|
|
5
5
|
return c(), e("path", n);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as c, createElementBlock as e } from "vue";
|
|
2
|
-
import { _ as o } from "./index-
|
|
2
|
+
import { _ as o } from "./index-32686488.js";
|
|
3
3
|
const t = {}, r = { d: "M22.54 6.848a2.72 2.72 0 0 0-1.945-1.899C18.88 4.5 12 4.5 12 4.5s-6.88 0-8.595.45a2.72 2.72 0 0 0-1.946 1.898C1 8.523 1 12.016 1 12.016s0 3.492.46 5.168c.253.925.998 1.62 1.945 1.867C5.12 19.5 12 19.5 12 19.5s6.88 0 8.595-.45c.947-.245 1.692-.945 1.946-1.866.459-1.676.459-5.168.459-5.168s0-3.493-.46-5.168Zm-12.788 8.34V8.843l5.748 3.172-5.748 3.171Z" };
|
|
4
4
|
function s(n, _) {
|
|
5
5
|
return c(), e("path", r);
|
package/dist/css/main.css
CHANGED
package/dist/css/utilities.css
CHANGED
|
@@ -210,13 +210,13 @@
|
|
|
210
210
|
.tide-transparent-400 {background-color: var(--transparent-400);}
|
|
211
211
|
|
|
212
212
|
/* Font Size */
|
|
213
|
-
.tide-font-10 {font-size:
|
|
214
|
-
.tide-font-12 {font-size:
|
|
215
|
-
.tide-font-14 {font-size:
|
|
216
|
-
.tide-font-16 {font-size:
|
|
217
|
-
.tide-font-20 {font-size:
|
|
218
|
-
.tide-font-24 {font-size:
|
|
219
|
-
.tide-font-32 {font-size:
|
|
213
|
+
.tide-font-10 {font-size: var(--font-10);}
|
|
214
|
+
.tide-font-12 {font-size: var(--font-12);}
|
|
215
|
+
.tide-font-14 {font-size: var(--font-14);}
|
|
216
|
+
.tide-font-16 {font-size: var(--font-16);}
|
|
217
|
+
.tide-font-20 {font-size: var(--font-20);}
|
|
218
|
+
.tide-font-24 {font-size: var(--font-24);}
|
|
219
|
+
.tide-font-32 {font-size: var(--font-32);}
|
|
220
220
|
|
|
221
221
|
/* Font Weight */
|
|
222
222
|
.tide-font-400 {font-weight: 400;}
|
|
@@ -229,8 +229,9 @@
|
|
|
229
229
|
|
|
230
230
|
.tide-break-word {overflow-wrap: break-word;}
|
|
231
231
|
|
|
232
|
-
.tide-cursor-pointer {cursor: pointer;}
|
|
233
232
|
.tide-cursor-not-allowed {cursor: not-allowed;}
|
|
233
|
+
.tide-cursor-pointer {cursor: pointer;}
|
|
234
|
+
.tide-cursor-text {cursor: text;}
|
|
234
235
|
|
|
235
236
|
.tide-leading-default {line-height: 100%;}
|
|
236
237
|
.tide-leading-normal {line-height: normal;}
|
package/dist/css/variables.css
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*.CSS Variables */
|
|
2
2
|
:root {
|
|
3
3
|
/* Font Size */
|
|
4
|
+
--font-10: 0.625rem; /* 10px */
|
|
4
5
|
--font-12: 0.75rem; /* 12px */
|
|
5
6
|
--font-14: 0.875rem; /* 14px */
|
|
6
7
|
--font-16: 1rem; /* 16px */
|
|
@@ -39,6 +40,22 @@
|
|
|
39
40
|
--radius-1: 16px;
|
|
40
41
|
--radius-full: 99999px;
|
|
41
42
|
|
|
43
|
+
--black: var(--gray-900);
|
|
44
|
+
--white: var(--gray-100);
|
|
45
|
+
|
|
46
|
+
/* Opacity */
|
|
47
|
+
--disabled: 0.333;
|
|
48
|
+
|
|
49
|
+
/* Shadow */
|
|
50
|
+
--shadow-bottom: 0px 2px 8px 2px rgba(0, 0, 0, 0.07);
|
|
51
|
+
--shadow-top: 0px -2px 8px 2px rgba(0, 0, 0, 0.07);
|
|
52
|
+
|
|
53
|
+
/* Transparency */
|
|
54
|
+
--transparent-100: rgba(255, 255, 255, 0.9);
|
|
55
|
+
--transparent-200: rgba(255, 255, 255, 0.75);
|
|
56
|
+
--transparent-300: rgba(0, 0, 0, 0.1);
|
|
57
|
+
--transparent-400: rgba(0, 0, 0, 0.5);
|
|
58
|
+
|
|
42
59
|
/* Global tonal palette */
|
|
43
60
|
--blue-100: #D1E0EB;
|
|
44
61
|
--blue-200: #A4C1D7;
|
|
@@ -72,30 +89,17 @@
|
|
|
72
89
|
--yellow-300: #FBD766;
|
|
73
90
|
--yellow-400: #FACA33;
|
|
74
91
|
|
|
75
|
-
--black: var(--gray-900);
|
|
76
|
-
--white: var(--gray-100);
|
|
77
|
-
|
|
78
|
-
/* Shadow */
|
|
79
|
-
--shadow-bottom: 0px 2px 8px 2px rgba(0, 0, 0, 0.07);
|
|
80
|
-
--shadow-top: 0px -2px 8px 2px rgba(0, 0, 0, 0.07);
|
|
81
|
-
|
|
82
|
-
/* Transparency */
|
|
83
|
-
--transparent-100: rgba(255, 255, 255, 0.9);
|
|
84
|
-
--transparent-200: rgba(255, 255, 255, 0.75);
|
|
85
|
-
--transparent-300: rgba(0, 0, 0, 0.1);
|
|
86
|
-
--transparent-400: rgba(0, 0, 0, 0.5);
|
|
87
|
-
|
|
88
92
|
/* Global color roles */
|
|
89
93
|
--error-primary: var(--red-400);
|
|
90
94
|
--error-primary-border: var(--red-300);
|
|
91
95
|
--error-surface: var(--red-100);
|
|
92
96
|
|
|
93
|
-
--error-border: var(--red-
|
|
97
|
+
--error-border: var(--red-400);
|
|
94
98
|
--error-border-low: var(--red-200);
|
|
95
|
-
--error-border-high: var(--red-
|
|
99
|
+
--error-border-high: var(--red-500);
|
|
96
100
|
|
|
97
|
-
--error-on-surface: var(--red-
|
|
98
|
-
--error-on-surface-variant: var(--red-
|
|
101
|
+
--error-on-surface: var(--red-400);
|
|
102
|
+
--error-on-surface-variant: var(--red-500 );
|
|
99
103
|
|
|
100
104
|
--info-primary: var(--blue-400);
|
|
101
105
|
--info-primary-border: var(--blue-300);
|