tide-design-system 2.0.49 → 2.0.51

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.
Files changed (87) hide show
  1. package/.eslintrc.cjs +29 -0
  2. package/.storybook/preview.ts +3 -3
  3. package/dist/css/realm/aero.css +6 -5
  4. package/dist/css/realm/atv.css +8 -7
  5. package/dist/css/realm/boatmart.css +2 -1
  6. package/dist/css/realm/cycle.css +25 -11
  7. package/dist/css/realm/equipment.css +12 -11
  8. package/dist/css/realm/pwc.css +2 -1
  9. package/dist/css/realm/rv.css +4 -4
  10. package/dist/css/realm/snow.css +12 -11
  11. package/dist/css/realm/truck.css +6 -5
  12. package/dist/style.css +1 -1
  13. package/dist/tide-design-system.cjs +2 -2
  14. package/dist/tide-design-system.esm.d.ts +9 -1
  15. package/dist/tide-design-system.esm.js +174 -170
  16. package/dist/utilities/storybook.ts +4 -5
  17. package/dist/utilities/validation.ts +3 -4
  18. package/index.ts +18 -19
  19. package/package.json +5 -1
  20. package/src/assets/css/realm/aero.css +6 -5
  21. package/src/assets/css/realm/atv.css +8 -7
  22. package/src/assets/css/realm/boatmart.css +2 -1
  23. package/src/assets/css/realm/cycle.css +25 -11
  24. package/src/assets/css/realm/equipment.css +12 -11
  25. package/src/assets/css/realm/pwc.css +2 -1
  26. package/src/assets/css/realm/rv.css +4 -4
  27. package/src/assets/css/realm/snow.css +12 -11
  28. package/src/assets/css/realm/truck.css +6 -5
  29. package/src/components/TideAlert.vue +5 -5
  30. package/src/components/TideBackgroundImage.vue +2 -2
  31. package/src/components/TideBadgePremium.vue +2 -2
  32. package/src/components/TideBadgeTrustedPartner.vue +3 -3
  33. package/src/components/TideBreadCrumbs.vue +4 -5
  34. package/src/components/TideButton.vue +7 -6
  35. package/src/components/TideButtonIcon.vue +5 -5
  36. package/src/components/TideButtonPagination.vue +3 -3
  37. package/src/components/TideCard.vue +4 -4
  38. package/src/components/TideCarousel.vue +1 -1
  39. package/src/components/TideChipAction.vue +1 -1
  40. package/src/components/TideChipInput.vue +1 -1
  41. package/src/components/TideDivider.vue +3 -2
  42. package/src/components/TideIcon.vue +6 -6
  43. package/src/components/TideImage.vue +10 -4
  44. package/src/components/TideInputCheckbox.vue +1 -1
  45. package/src/components/TideInputSelect.vue +4 -4
  46. package/src/components/TideInputText.vue +6 -6
  47. package/src/components/TideInputTextarea.vue +3 -3
  48. package/src/components/TideLink.vue +4 -4
  49. package/src/components/TideModal.vue +1 -1
  50. package/src/components/TidePagination.vue +1 -1
  51. package/src/components/TideSeoLinks.vue +2 -2
  52. package/src/components/TideTabs.vue +2 -2
  53. package/src/components/TideToggle.vue +1 -1
  54. package/src/docs/integration.md +1 -1
  55. package/src/stories/DemoCssUtilities.stories.ts +3 -3
  56. package/src/stories/FoundationsBorder.stories.ts +2 -2
  57. package/src/stories/FoundationsGap.stories.ts +2 -2
  58. package/src/stories/FoundationsGrid.stories.ts +2 -2
  59. package/src/stories/FoundationsMargin.stories.ts +2 -2
  60. package/src/stories/FoundationsPadding.stories.ts +2 -2
  61. package/src/stories/FoundationsShadow.stories.ts +2 -2
  62. package/src/stories/FoundationsTransparency.stories.ts +2 -2
  63. package/src/stories/FoundationsTypography.stories.ts +2 -2
  64. package/src/stories/TideAlert.stories.ts +1 -1
  65. package/src/stories/TideBackgroundImage.stories.ts +3 -4
  66. package/src/stories/TideBadgeTrustedPartner.stories.ts +1 -1
  67. package/src/stories/TideBreadCrumbs.stories.ts +2 -2
  68. package/src/stories/TideButton.stories.ts +1 -1
  69. package/src/stories/TideButtonIcon.stories.ts +2 -2
  70. package/src/stories/TideButtonPagination.stories.ts +1 -1
  71. package/src/stories/TideCard.stories.ts +1 -1
  72. package/src/stories/TideCarousel.stories.ts +2 -2
  73. package/src/stories/TideColumns.stories.ts +2 -2
  74. package/src/stories/TideDivider.stories.ts +1 -1
  75. package/src/stories/TideIcon.stories.ts +1 -1
  76. package/src/stories/TideImage.stories.ts +23 -4
  77. package/src/stories/TideInputSelect.stories.ts +2 -2
  78. package/src/stories/TideInputText.stories.ts +1 -1
  79. package/src/stories/TideLink.stories.ts +3 -3
  80. package/src/stories/TideModal.stories.ts +2 -2
  81. package/src/stories/TidePagination.stories.ts +1 -1
  82. package/src/stories/TideSeoLinks.stories.ts +2 -3
  83. package/src/stories/TideTabs.stories.ts +2 -2
  84. package/src/types/Realm.ts +1 -1
  85. package/src/utilities/storybook.ts +4 -5
  86. package/src/utilities/validation.ts +3 -4
  87. package/vite.config.ts +4 -4
@@ -1,8 +1,9 @@
1
- import type { ArgTypes, StoryContext } from '@storybook/vue3';
2
-
1
+ import { ELEMENT, ELEMENT_TEXT_AS_ICON } from '@/types/Element';
3
2
  import { BOOLEAN, BOOLEAN_UNREQUIRED, NoneAsEmpty, NoneAsUndefined } from '@/types/Storybook';
4
3
  import { CSS } from '@/types/Styles';
5
- import { ELEMENT, ELEMENT_TEXT_AS_ICON } from '@/types/Element';
4
+ import { formatKebabCase } from '@/utilities/format';
5
+
6
+ import type { ArgTypes, StoryContext } from '@storybook/vue3';
6
7
 
7
8
  // Extensible object of key/value pairs
8
9
  type KeyValue = { [key: string]: any };
@@ -12,8 +13,6 @@ type KeyValueNamed = {
12
13
  [key: string]: KeyValue;
13
14
  };
14
15
 
15
- import { formatKebabCase } from '@/utilities/format';
16
-
17
16
  export const lineBreak = '\r';
18
17
  export const tab = ' ';
19
18
 
@@ -1,11 +1,10 @@
1
- import type { Ref } from 'vue';
1
+ import { priceToNumber } from '@/utilities/format';
2
2
 
3
3
  import type { RangeData } from '@/types/FacetRange';
4
- import type { SelectOption } from '@/types/Select';
5
4
  import type { StringInput } from '@/types/Form';
5
+ import type { SelectOption } from '@/types/Select';
6
6
  import type { ValidationError, ValidationLength, ValidationResult, Validator } from '@/types/Validation';
7
-
8
- import { priceToNumber } from '@/utilities/format';
7
+ import type { Ref } from 'vue';
9
8
 
10
9
  export const errorMessageDefault = 'Please enter a valid value.';
11
10
 
package/index.ts CHANGED
@@ -29,6 +29,22 @@ import TidePagination from '@/components/TidePagination.vue';
29
29
  import TideSeoLinks from '@/components/TideSeoLinks.vue';
30
30
  import TideTabs from '@/components/TideTabs.vue';
31
31
  import TideToggle from '@/components/TideToggle.vue';
32
+ import { ALERT } from '@/types/Alert';
33
+ import { BADGE, BADGE_PREMIUM, BADGE_TRUSTED } from '@/types/Badge';
34
+ import { BREAKPOINT, MEDIA } from '@/types/Breakpoint';
35
+ import { POSITION_CARD_ICON, TYPE_CARD } from '@/types/Card';
36
+ import { ELEMENT, ELEMENT_TEXT_AS_ICON } from '@/types/Element';
37
+ import { FORMAT, FORMAT_REGEX } from '@/types/Formatted';
38
+ import { ICON, ICON_REALM } from '@/types/Icon';
39
+ import { MEDIA_SLIDE_TYPES } from '@/types/ListingMedia';
40
+ import { ORIENTATION } from '@/types/Orientation';
41
+ import { PRIORITY } from '@/types/Priority';
42
+ import { REALM } from '@/types/Realm';
43
+ import { SIZE, SIZE_BUTTON } from '@/types/Size';
44
+ import { CSS } from '@/types/Styles';
45
+ import { TARGET } from '@/types/Target';
46
+ import { TEXT_INPUT_TYPE } from '@/types/TextInput';
47
+ import { VALIDATOR } from '@/types/Validation';
32
48
 
33
49
  import type { Alert } from '@/types/Alert';
34
50
  import type { Badge, BadgePremium, BadgeTrustedYears } from '@/types/Badge';
@@ -48,8 +64,8 @@ import type {
48
64
  SelectField,
49
65
  StringField,
50
66
  StringValue,
51
- TextareaField,
52
67
  TextField,
68
+ TextareaField,
53
69
  } from '@/types/Field';
54
70
  import type {
55
71
  BooleanInput,
@@ -58,8 +74,8 @@ import type {
58
74
  Input,
59
75
  SelectInput,
60
76
  StringInput,
61
- TextareaInput,
62
77
  TextInput,
78
+ TextareaInput,
63
79
  } from '@/types/Form';
64
80
  import type { Formatted } from '@/types/Formatted';
65
81
  import type { Icon } from '@/types/Icon';
@@ -78,23 +94,6 @@ import type { Target } from '@/types/Target';
78
94
  import type { TextInputType } from '@/types/TextInput';
79
95
  import type { ValidationError, ValidationLength, ValidationResult, Validator } from '@/types/Validation';
80
96
 
81
- import { ALERT } from '@/types/Alert';
82
- import { BADGE, BADGE_PREMIUM, BADGE_TRUSTED } from '@/types/Badge';
83
- import { BREAKPOINT, MEDIA } from '@/types/Breakpoint';
84
- import { CSS } from '@/types/Styles';
85
- import { ELEMENT, ELEMENT_TEXT_AS_ICON } from '@/types/Element';
86
- import { FORMAT, FORMAT_REGEX } from '@/types/Formatted';
87
- import { ICON, ICON_REALM } from '@/types/Icon';
88
- import { MEDIA_SLIDE_TYPES } from '@/types/ListingMedia';
89
- import { ORIENTATION } from '@/types/Orientation';
90
- import { POSITION_CARD_ICON, TYPE_CARD } from '@/types/Card';
91
- import { PRIORITY } from '@/types/Priority';
92
- import { REALM } from '@/types/Realm';
93
- import { SIZE, SIZE_BUTTON } from '@/types/Size';
94
- import { TARGET } from '@/types/Target';
95
- import { TEXT_INPUT_TYPE } from '@/types/TextInput';
96
- import { VALIDATOR } from '@/types/Validation';
97
-
98
97
  import '@/assets/css/main.css';
99
98
 
100
99
  export type {
package/package.json CHANGED
@@ -36,8 +36,12 @@
36
36
  "vue": "^3.2.45",
37
37
  "vue-tsc": "^1.0.12"
38
38
  },
39
+ "homepage": "https://tide-design-system.netlify.app",
39
40
  "license": "MIT",
40
41
  "name": "tide-design-system",
42
+ "repository": {
43
+ "url": "https://github.com/traderinteractive/tide-design-system"
44
+ },
41
45
  "scripts": {
42
46
  "build": "npm run enforce && npm run build-vite",
43
47
  "build-storybook": "npm run build-vite && storybook build && cp -r src/assets/ storybook-static/",
@@ -57,5 +61,5 @@
57
61
  "main": "dist/tide-design-system.cjs",
58
62
  "module": "dist/tide-design-system.esm.js",
59
63
  "types": "dist/tide-design-system.esm.d.ts",
60
- "version": "2.0.49"
64
+ "version": "2.0.51"
61
65
  }
@@ -1,11 +1,12 @@
1
1
  /* Aero Trader Realm Colors */
2
2
  :root {
3
3
  /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
- --tide-color1: #4e9ac8;
5
- --tide-color2: #006C97;
6
- --tide-color3: #83CBFB;
4
+ --tide-color1: #4e9ac8;
5
+ --tide-color2: #006C97;
6
+ --tide-color3: #83CBFB;
7
+ --tide-atmosphere: #E3E8F1;
7
8
 
8
- --tide-bg-gradient: linear-gradient(
9
+ --tide-gradient: linear-gradient(
9
10
  to bottom right,
10
11
  var(--tide-color3) 50%,
11
12
  var(--tide-color2) 150%
@@ -23,7 +24,7 @@
23
24
  --tide-surface: var(--tide-white);
24
25
  --tide-surface-variant: var(--tide-gray-200);
25
26
  --tide-surface-brand: var(--tide-color1);
26
- --tide-surface-accent: var(--tide-color2);
27
+ --tide-surface-accent: var(--tide-atmosphere);
27
28
  --tide-surface-accent-variant: var(--tide-color3);
28
29
  --tide-surface-gradient: var(--tide-gradient);
29
30
  --tide-surface-floating: var(--tide-floating);
@@ -1,12 +1,13 @@
1
1
  /* ATV Trader Realm Colors */
2
2
  :root {
3
- /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
- --tide-charcoal: #33383B;
5
- --tide-maroon: #9B2702;
6
- --tide-orange: #C7521A;
7
- --tide-peach: #EFBA88;
3
+ /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
+ --tide-charcoal: #33383B;
5
+ --tide-maroon: #9B2702;
6
+ --tide-orange: #C7521A;
7
+ --tide-peach: #EFBA88;
8
+ --tide-sand: #F8EADD;
8
9
 
9
- --tide-floating: rgba(0, 0, 0, 0);
10
+ --tide-floating: rgba(0, 0, 0, 0);
10
11
 
11
12
  /* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
12
13
  --tide-primary: var(--tide-orange);
@@ -18,7 +19,7 @@
18
19
  --tide-surface: var(--tide-white);
19
20
  --tide-surface-variant: var(--tide-gray-200);
20
21
  --tide-surface-brand: var(--tide-charcoal);
21
- --tide-surface-accent: var(--tide-peach);
22
+ --tide-surface-accent: var(--tide-sand);
22
23
  --tide-surface-accent-variant: var(--tide-maroon);
23
24
  --tide-surface-floating: var(--tide-floating);
24
25
 
@@ -5,6 +5,7 @@
5
5
  --tide-navy-dark: #143353;
6
6
  --tide-mint: #46CFD1;
7
7
  --tide-sand: #FFCF86;
8
+ --tide-mist: #DBEDFC;
8
9
 
9
10
  --tide-floating: rgba(255, 255, 255, 0);
10
11
 
@@ -18,7 +19,7 @@
18
19
  --tide-surface: var(--tide-gray-100);
19
20
  --tide-surface-variant: var(--tide-gray-200);
20
21
  --tide-surface-brand: var(--tide-navy);
21
- --tide-surface-accent: var(--tide-sand);
22
+ --tide-surface-accent: var(--tide-mist);
22
23
  --tide-surface-accent-variant: var(--tide-mint);
23
24
  --tide-surface-floating: var(--tide-floating);
24
25
 
@@ -1,15 +1,10 @@
1
1
  /* Cycle Trader Realm Colors */
2
2
  :root {
3
3
  /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
- --tide-pure-black: #000000;
5
- --tide-red: #C50000;
6
- --tide-steel-blue: #C9DDE5;
7
-
8
- --tide-bg-gradient: linear-gradient(
9
- to bottom right,
10
- var(--tide-steel-blue) 50%,
11
- var(--tide-red) 150%
12
- );
4
+ --tide-pure-black: #000000;
5
+ --tide-red: #C50000;
6
+ --tide-steel-blue: #C9DDE5;
7
+ --tide-light-blue: #DFECF2;
13
8
 
14
9
  --tide-floating: rgba(255, 255, 255, 0);
15
10
 
@@ -23,11 +18,30 @@
23
18
  --tide-surface: var(--tide-white);
24
19
  --tide-surface-variant: var(--tide-gray-200);
25
20
  --tide-surface-brand: var(--tide-pure-black);
26
- --tide-surface-accent: var(--tide-red);
21
+ --tide-surface-accent: var(--tide-light-blue);
27
22
  --tide-surface-accent-variant: var(--tide-steel-blue);
28
- --tide-surface-gradient: var(--tide-gradient);
29
23
  --tide-surface-floating: var(--tide-floating);
30
24
 
25
+ --tide-surface-gradient:
26
+ /* top */
27
+ radial-gradient(
28
+ 157.36% 151.94% at 19.69% -3.53%,
29
+ color-mix(in srgb, var(--tide-surface-accent-variant) 100%, transparent) 28.37%,
30
+ color-mix(in srgb, var(--tide-surface-accent-variant) 0%, transparent) 100%
31
+ ),
32
+ /* bottom right */
33
+ radial-gradient(
34
+ 57.27% 60.26% at 100% 103.53%,
35
+ color-mix(in srgb, var(--tide-surface-accent) 22%, transparent) 0%,
36
+ color-mix(in srgb, var(--tide-surface-accent) 0%, transparent) 100%
37
+ ),
38
+ /* bottom left */
39
+ radial-gradient(
40
+ 41.93% 63.48% at -2.12% 103.9%,
41
+ rgba(228, 228, 229, 0.72) 0%,
42
+ rgba(228, 228, 229, 0.00) 100%
43
+ );
44
+
31
45
  --tide-on-surface: var(--tide-black);
32
46
  --tide-on-surface-variant: var(--tide-gray-800);
33
47
  --tide-on-surface-brand: var(--tide-pure-black);
@@ -1,15 +1,16 @@
1
1
  /* Equipment Trader Realm Colors */
2
2
  :root {
3
- /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
- --tide-evergreen: #468200;
5
- --tide-steel: #494949;
6
- --tide-yellow: #FFCE34;
7
-
8
- --tide-bg-gradient: linear-gradient(
9
- to bottom right,
10
- var(--tide-evergreen) 50%,
11
- var(--tide-yellow) 150%
12
- );
3
+ /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
+ --tide-evergreen: #468200;
5
+ --tide-steel: #494949;
6
+ --tide-yellow: #FFCE34;
7
+ --tide-moss: #EEF6D7;
8
+
9
+ --tide-gradient: linear-gradient(
10
+ to bottom right,
11
+ var(--tide-evergreen) 50%,
12
+ var(--tide-yellow) 150%
13
+ );
13
14
 
14
15
  --tide-floating: rgba(255, 255, 255, 0);
15
16
 
@@ -23,7 +24,7 @@
23
24
  --tide-surface: var(--tide-white);
24
25
  --tide-surface-variant: var(--tide-gray-200);
25
26
  --tide-surface-brand: var(--tide-steel);
26
- --tide-surface-accent: var(--tide-yellow);
27
+ --tide-surface-accent: var(--tide-moss);
27
28
  --tide-surface-accent-variant: var(--tide-evergreen);
28
29
  --tide-surface-gradient: var(--tide-gradient);
29
30
  --tide-surface-floating: var(--tide-floating);
@@ -4,6 +4,7 @@
4
4
  --tide-color1: #0B72B8;
5
5
  --tide-color2: #085487;
6
6
  --tide-color3: #59A0EB;
7
+ --tide-foam: #E0EBF5;
7
8
 
8
9
  --tide-gradient: linear-gradient(
9
10
  to bottom right,
@@ -23,7 +24,7 @@
23
24
  --tide-surface: var(--tide-gray-100);
24
25
  --tide-surface-variant: var(--tide-gray-200);
25
26
  --tide-surface-brand: var(--tide-color1);
26
- --tide-surface-accent: var(--tide-color3);
27
+ --tide-surface-accent: var(--tide-foam);
27
28
  --tide-surface-accent-variant: var(--tide-color2);
28
29
  --tide-surface-gradient: var(--tide-gradient);
29
30
  --tide-surface-floating: var(--tide-floating);
@@ -16,10 +16,10 @@
16
16
  --tide-on-secondary: var(--tide-gray-100);
17
17
 
18
18
  --tide-surface: var(--tide-gray-100);
19
+ --tide-surface-variant: var(--tide-gray-200);
19
20
  --tide-surface-brand: var(--tide-green);
20
- --tide-surface-accent: var(--tide-yellow);
21
+ --tide-surface-accent: var(--tide-pistachio);
21
22
  --tide-surface-accent-variant: var(--tide-pistachio);
22
- --tide-surface-variant: var(--tide-gray-200);
23
23
  --tide-surface-floating: var(--tide-floating);
24
24
 
25
25
  --tide-surface-gradient:
@@ -32,8 +32,8 @@
32
32
  /* bottom right */
33
33
  radial-gradient(
34
34
  57.27% 60.26% at 100% 103.53%,
35
- color-mix(in srgb, var(--tide-surface-accent) 22%, transparent) 0%,
36
- color-mix(in srgb, var(--tide-surface-accent) 0%, transparent) 100%
35
+ color-mix(in srgb, var(--tide-yellow) 22%, transparent) 0%,
36
+ color-mix(in srgb, var(--tide-yellow) 0%, transparent) 100%
37
37
  ),
38
38
  /* bottom left */
39
39
  radial-gradient(
@@ -1,15 +1,16 @@
1
1
  /* Snowmobile Trader Realm Colors */
2
2
  :root {
3
- /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
- --tide-color1: #193778;
5
- --tide-color2: #10234C;
6
- --tide-color3: #4F60A7;
7
-
8
- --tide-bg-gradient: linear-gradient(
9
- to bottom right,
10
- var(--tide-color3) 50%,
11
- var(--tide-color2) 150%
12
- );
3
+ /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
+ --tide-color1: #193778;
5
+ --tide-color2: #10234C;
6
+ --tide-color3: #4F60A7;
7
+ --tide-frost: #E3E8F2;
8
+
9
+ --tide-gradient: linear-gradient(
10
+ to bottom right,
11
+ var(--tide-color3) 50%,
12
+ var(--tide-color2) 150%
13
+ );
13
14
 
14
15
  --tide-floating: rgba(255, 255, 255, 0);
15
16
 
@@ -23,7 +24,7 @@
23
24
  --tide-surface: var(--tide-white);
24
25
  --tide-surface-variant: var(--tide-gray-200);
25
26
  --tide-surface-brand: var(--tide-color1);
26
- --tide-surface-accent: var(--tide-color2);
27
+ --tide-surface-accent: var(--tide-frost);
27
28
  --tide-surface-accent-variant: var(--tide-color3);
28
29
  --tide-surface-gradient: var(--tide-gradient);
29
30
  --tide-surface-floating: var(--tide-floating);
@@ -1,11 +1,12 @@
1
1
  /* Commercial Truck Trader Realm Colors */
2
2
  :root {
3
3
  /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
- --tide-blue: #005F9E;
5
- --tide-midnight-blue: #172C4B;
6
- --tide-teal: #97D9E3;
4
+ --tide-blue: #005F9E;
5
+ --tide-midnight-blue: #172C4B;
6
+ --tide-teal: #97D9E3;
7
+ --tide-cloud: #DEECF6;
7
8
 
8
- --tide-bg-gradient: linear-gradient(
9
+ --tide-gradient: linear-gradient(
9
10
  to bottom right,
10
11
  var(--tide-midnight-blue) 50%,
11
12
  var(--tide-teal) 150%
@@ -23,7 +24,7 @@
23
24
  --tide-surface: var(--tide-white);
24
25
  --tide-surface-variant: var(--tide-gray-200);
25
26
  --tide-surface-brand: var(--tide-blue);
26
- --tide-surface-accent: var(--tide-teal);
27
+ --tide-surface-accent: var(--tide-cloud);
27
28
  --tide-surface-accent-variant: var(--tide-midnight-blue);
28
29
  --tide-surface-gradient: var(--tide-gradient);
29
30
  --tide-surface-floating: var(--tide-floating);
@@ -1,15 +1,15 @@
1
1
  <script lang="ts" setup>
2
2
  import { computed } from 'vue';
3
3
 
4
- import type { Alert } from '@/types/Alert';
5
- import type { Icon } from '@/types/Icon';
6
-
7
- import TideIcon from '@/components/TideIcon.vue';
8
4
  import TideButtonIcon from '@/components/TideButtonIcon.vue';
5
+ import TideIcon from '@/components/TideIcon.vue';
9
6
  import { ALERT } from '@/types/Alert';
10
- import { CSS } from '@/types/Styles';
11
7
  import { ICON } from '@/types/Icon';
12
8
  import { PRIORITY } from '@/types/Priority';
9
+ import { CSS } from '@/types/Styles';
10
+
11
+ import type { Alert } from '@/types/Alert';
12
+ import type { Icon } from '@/types/Icon';
13
13
 
14
14
  type Props = {
15
15
  heading?: string;
@@ -1,9 +1,9 @@
1
1
  <script lang="ts" setup>
2
- import type { Source } from '@/types/Source';
3
-
4
2
  import TideImage from '@/components/TideImage.vue';
5
3
  import { CSS } from '@/types/Styles';
6
4
 
5
+ import type { Source } from '@/types/Source';
6
+
7
7
  type Props = {
8
8
  alt: string;
9
9
  isLazy: boolean;
@@ -1,8 +1,8 @@
1
1
  <script lang="ts" setup>
2
- import type { BadgePremium } from '@/types/Badge';
3
-
4
2
  import { CSS } from '@/types/Styles';
5
3
 
4
+ import type { BadgePremium } from '@/types/Badge';
5
+
6
6
  type Props = {
7
7
  label: BadgePremium;
8
8
  };
@@ -1,10 +1,10 @@
1
1
  <script lang="ts" setup>
2
- import type { BadgeTrustedYears } from '@/types/Badge';
3
-
4
2
  import TideIcon from '@/components/TideIcon.vue';
5
3
  import { BADGE_TRUSTED } from '@/types/Badge';
6
- import { CSS } from '@/types/Styles';
7
4
  import { ICON } from '@/types/Icon';
5
+ import { CSS } from '@/types/Styles';
6
+
7
+ import type { BadgeTrustedYears } from '@/types/Badge';
8
8
 
9
9
  type Props = {
10
10
  years?: BadgeTrustedYears;
@@ -1,12 +1,11 @@
1
1
  <script lang="ts" setup>
2
- import type { PropType } from 'vue';
3
-
4
- import type { BreadCrumb } from '@/types/BreadCrumb';
5
-
6
2
  import TideIcon from '@/components/TideIcon.vue';
7
- import { CSS } from '@/types/Styles';
8
3
  import { ICON } from '@/types/Icon';
9
4
  import { SIZE } from '@/types/Size';
5
+ import { CSS } from '@/types/Styles';
6
+
7
+ import type { BreadCrumb } from '@/types/BreadCrumb';
8
+ import type { PropType } from 'vue';
10
9
 
11
10
  const props = defineProps({
12
11
  breadCrumbs: {
@@ -1,15 +1,16 @@
1
1
  <script lang="ts" setup>
2
- import type { Element } from '@/types/Element';
3
- import type { Icon } from '@/types/Icon';
4
- import type { Priority } from '@/types/Priority';
5
-
6
2
  import TideIcon from '@/components/TideIcon.vue';
7
- import { CSS } from '@/types/Styles';
8
3
  import { ELEMENT } from '@/types/Element';
9
4
  import { PRIORITY } from '@/types/Priority';
10
- import { SIZE, SIZE_BUTTON, type SizeButton } from '@/types/Size';
5
+ import { SIZE, SIZE_BUTTON } from '@/types/Size';
6
+ import { CSS } from '@/types/Styles';
11
7
  import { TARGET } from '@/types/Target';
12
8
 
9
+ import type { Element } from '@/types/Element';
10
+ import type { Icon } from '@/types/Icon';
11
+ import type { Priority } from '@/types/Priority';
12
+ import type { SizeButton } from '@/types/Size';
13
+
13
14
  type Props = {
14
15
  disabled?: boolean;
15
16
  element?: Element;
@@ -1,15 +1,15 @@
1
1
  <script lang="ts" setup>
2
- import type { Element } from '@/types/Element';
3
- import type { Icon } from '@/types/Icon';
4
- import type { Priority } from '@/types/Priority';
5
-
6
2
  import TideIcon from '@/components/TideIcon.vue';
7
- import { CSS } from '@/types/Styles';
8
3
  import { ELEMENT } from '@/types/Element';
9
4
  import { PRIORITY } from '@/types/Priority';
10
5
  import { SIZE } from '@/types/Size';
6
+ import { CSS } from '@/types/Styles';
11
7
  import { TARGET } from '@/types/Target';
12
8
 
9
+ import type { Element } from '@/types/Element';
10
+ import type { Icon } from '@/types/Icon';
11
+ import type { Priority } from '@/types/Priority';
12
+
13
13
  type Props = {
14
14
  disabled?: boolean;
15
15
  element?: Element;
@@ -1,8 +1,8 @@
1
1
  <script lang="ts" setup>
2
- import type { ElementTextAsIcon } from '@/types/Element';
3
-
4
- import { CSS } from '@/types/Styles';
5
2
  import { ELEMENT_TEXT_AS_ICON } from '@/types/Element';
3
+ import { CSS } from '@/types/Styles';
4
+
5
+ import type { ElementTextAsIcon } from '@/types/Element';
6
6
 
7
7
  type Props = {
8
8
  disabled?: boolean;
@@ -1,11 +1,11 @@
1
1
  <script lang="ts" setup>
2
- import type { CardIconPosition, CardType } from '@/types/Card';
3
- import type { Icon } from '@/types/Icon';
4
-
5
2
  import TideIcon from '@/components/TideIcon.vue';
6
- import { CSS } from '@/types/Styles';
7
3
  import { POSITION_CARD_ICON, TYPE_CARD } from '@/types/Card';
8
4
  import { SIZE } from '@/types/Size';
5
+ import { CSS } from '@/types/Styles';
6
+
7
+ import type { CardIconPosition, CardType } from '@/types/Card';
8
+ import type { Icon } from '@/types/Icon';
9
9
 
10
10
  type Props = {
11
11
  description?: string;
@@ -2,9 +2,9 @@
2
2
  import { onMounted, onUnmounted, onUpdated, ref, watch } from 'vue';
3
3
 
4
4
  import TideButtonIcon from '@/components/TideButtonIcon.vue';
5
- import { CSS } from '@/types/Styles';
6
5
  import { ICON } from '@/types/Icon';
7
6
  import { PRIORITY } from '@/types/Priority';
7
+ import { CSS } from '@/types/Styles';
8
8
 
9
9
  type Props = {
10
10
  isTouchscreen?: boolean;
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
2
  import TideIcon from '@/components/TideIcon.vue';
3
- import { CSS } from '@/types/Styles';
4
3
  import { ICON } from '@/types/Icon';
4
+ import { CSS } from '@/types/Styles';
5
5
  import { TARGET } from '@/types/Target';
6
6
 
7
7
  type Props = {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup>
2
2
  import TideIcon from '@/components/TideIcon.vue';
3
- import { CSS } from '@/types/Styles';
4
3
  import { ICON } from '@/types/Icon';
4
+ import { CSS } from '@/types/Styles';
5
5
 
6
6
  type Props = {
7
7
  label: string;
@@ -1,7 +1,8 @@
1
1
  <script lang="ts" setup>
2
- import type { Orientation } from '@/types/Orientation';
3
- import { CSS } from '@/types/Styles';
4
2
  import { ORIENTATION } from '@/types/Orientation';
3
+ import { CSS } from '@/types/Styles';
4
+
5
+ import type { Orientation } from '@/types/Orientation';
5
6
 
6
7
  type Props = {
7
8
  orientation?: Orientation;
@@ -1,14 +1,14 @@
1
1
  <script lang="ts" setup>
2
2
  import { defineAsyncComponent, markRaw, ref, watch } from 'vue';
3
3
 
4
- import type { Component } from 'vue';
5
- import type { Icon } from '@/types/Icon';
6
- import type { Size } from '@/types/Size';
7
-
8
- import { CSS } from '@/types/Styles';
4
+ import { REALM } from '@/types/Realm';
9
5
  import { SIZE } from '@/types/Size';
6
+ import { CSS } from '@/types/Styles';
10
7
  import { formatPascalCase } from '@/utilities/format';
11
- import { REALM } from '@/types/Realm';
8
+
9
+ import type { Icon } from '@/types/Icon';
10
+ import type { Size } from '@/types/Size';
11
+ import type { Component } from 'vue';
12
12
 
13
13
  type Props = {
14
14
  icon: Icon;