tide-design-system 2.0.22 → 2.0.23

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 (216) hide show
  1. package/.eslintrc.cjs +90 -0
  2. package/.storybook/main.ts +60 -0
  3. package/.storybook/preview.ts +252 -0
  4. package/dist/css/grid-layout.css +7 -3
  5. package/dist/tide-design-system.js +45 -39
  6. package/index.ts +122 -0
  7. package/package.json +8 -12
  8. package/src/assets/css/animation.css +14 -0
  9. package/src/assets/css/dynamic-buttons.css +79 -0
  10. package/src/assets/css/dynamic-utilities.css +39 -0
  11. package/src/assets/css/grid-layout.css +71 -0
  12. package/src/assets/css/main.css +5 -0
  13. package/src/assets/css/realm/aero.css +42 -0
  14. package/src/assets/css/realm/atv.css +43 -0
  15. package/src/assets/css/realm/boatmart.css +42 -0
  16. package/src/assets/css/realm/cycle.css +42 -0
  17. package/src/assets/css/realm/equip.css +42 -0
  18. package/src/assets/css/realm/pwc.css +42 -0
  19. package/src/assets/css/realm/rv.css +50 -0
  20. package/src/assets/css/realm/snow.css +42 -0
  21. package/src/assets/css/realm/truck.css +42 -0
  22. package/src/assets/css/reset.css +79 -0
  23. package/src/assets/css/storybook.css +9 -0
  24. package/src/assets/css/utilities.css +1602 -0
  25. package/src/assets/css/variables.css +118 -0
  26. package/src/assets/svg/icons/IconAccountBalance.svg +5 -0
  27. package/src/assets/svg/icons/IconAdd.svg +3 -0
  28. package/src/assets/svg/icons/IconAiDescription.svg +7 -0
  29. package/src/assets/svg/icons/IconAlignSpace.svg +3 -0
  30. package/src/assets/svg/icons/IconApplePay.svg +5 -0
  31. package/src/assets/svg/icons/IconArrowBack.svg +3 -0
  32. package/src/assets/svg/icons/IconArrowForward.svg +3 -0
  33. package/src/assets/svg/icons/IconArrowRight.svg +3 -0
  34. package/src/assets/svg/icons/IconAssignment.svg +5 -0
  35. package/src/assets/svg/icons/IconAwardStar.svg +5 -0
  36. package/src/assets/svg/icons/IconBookmark.svg +5 -0
  37. package/src/assets/svg/icons/IconCalendarMonth.svg +5 -0
  38. package/src/assets/svg/icons/IconCall.svg +5 -0
  39. package/src/assets/svg/icons/IconCheck.svg +3 -0
  40. package/src/assets/svg/icons/IconChevronLeft.svg +3 -0
  41. package/src/assets/svg/icons/IconChevronRight.svg +3 -0
  42. package/src/assets/svg/icons/IconClear.svg +5 -0
  43. package/src/assets/svg/icons/IconClose.svg +3 -0
  44. package/src/assets/svg/icons/IconCycle.svg +5 -0
  45. package/src/assets/svg/icons/IconDelete.svg +5 -0
  46. package/src/assets/svg/icons/IconDiamond.svg +5 -0
  47. package/src/assets/svg/icons/IconDraft.svg +3 -0
  48. package/src/assets/svg/icons/IconEdit.svg +5 -0
  49. package/src/assets/svg/icons/IconError.svg +5 -0
  50. package/src/assets/svg/icons/IconExpandContent.svg +3 -0
  51. package/src/assets/svg/icons/IconExpandLess.svg +3 -0
  52. package/src/assets/svg/icons/IconExpandMore.svg +3 -0
  53. package/src/assets/svg/icons/IconFacebook.svg +5 -0
  54. package/src/assets/svg/icons/IconFavorite.svg +5 -0
  55. package/src/assets/svg/icons/IconFavoriteFilled.svg +5 -0
  56. package/src/assets/svg/icons/IconFormatBold.svg +5 -0
  57. package/src/assets/svg/icons/IconFormatItalic.svg +3 -0
  58. package/src/assets/svg/icons/IconFormatListBulleted.svg +5 -0
  59. package/src/assets/svg/icons/IconForum.svg +5 -0
  60. package/src/assets/svg/icons/IconGavel.svg +5 -0
  61. package/src/assets/svg/icons/IconGoogle.svg +18 -0
  62. package/src/assets/svg/icons/IconGooglePay.svg +5 -0
  63. package/src/assets/svg/icons/IconGrid.svg +3 -0
  64. package/src/assets/svg/icons/IconHeight.svg +3 -0
  65. package/src/assets/svg/icons/IconHelp.svg +5 -0
  66. package/src/assets/svg/icons/IconInfo.svg +5 -0
  67. package/src/assets/svg/icons/IconInsertText.svg +5 -0
  68. package/src/assets/svg/icons/IconInstagram.svg +5 -0
  69. package/src/assets/svg/icons/IconIosShare.svg +5 -0
  70. package/src/assets/svg/icons/IconLayout.svg +5 -0
  71. package/src/assets/svg/icons/IconLinkedIn.svg +5 -0
  72. package/src/assets/svg/icons/IconLocalShipping.svg +5 -0
  73. package/src/assets/svg/icons/IconLock.svg +5 -0
  74. package/src/assets/svg/icons/IconMail.svg +5 -0
  75. package/src/assets/svg/icons/IconMenu.svg +3 -0
  76. package/src/assets/svg/icons/IconMoreHoriz.svg +5 -0
  77. package/src/assets/svg/icons/IconNotifications.svg +5 -0
  78. package/src/assets/svg/icons/IconOpenInNew.svg +5 -0
  79. package/src/assets/svg/icons/IconPalette.svg +5 -0
  80. package/src/assets/svg/icons/IconPaypal.svg +5 -0
  81. package/src/assets/svg/icons/IconPerson.svg +5 -0
  82. package/src/assets/svg/icons/IconPhotoCamera.svg +5 -0
  83. package/src/assets/svg/icons/IconPinterest.svg +5 -0
  84. package/src/assets/svg/icons/IconPlayArrow.svg +3 -0
  85. package/src/assets/svg/icons/IconRemove.svg +3 -0
  86. package/src/assets/svg/icons/IconRoundedCorners.svg +5 -0
  87. package/src/assets/svg/icons/IconRuler.svg +3 -0
  88. package/src/assets/svg/icons/IconSearch.svg +5 -0
  89. package/src/assets/svg/icons/IconSeating.svg +3 -0
  90. package/src/assets/svg/icons/IconSell.svg +5 -0
  91. package/src/assets/svg/icons/IconShare.svg +5 -0
  92. package/src/assets/svg/icons/IconShoppingCart.svg +5 -0
  93. package/src/assets/svg/icons/IconSms.svg +5 -0
  94. package/src/assets/svg/icons/IconStar.svg +5 -0
  95. package/src/assets/svg/icons/IconSwapVert.svg +5 -0
  96. package/src/assets/svg/icons/IconThreeDRotation.svg +18 -0
  97. package/src/assets/svg/icons/IconTrophy.svg +5 -0
  98. package/src/assets/svg/icons/IconTune.svg +5 -0
  99. package/src/assets/svg/icons/IconTwitter.svg +5 -0
  100. package/src/assets/svg/icons/IconVideocam.svg +5 -0
  101. package/src/assets/svg/icons/IconViewInAr.svg +5 -0
  102. package/src/assets/svg/icons/IconVisibility.svg +5 -0
  103. package/src/assets/svg/icons/IconVolumeOff.svg +5 -0
  104. package/src/assets/svg/icons/IconVolumeOn.svg +5 -0
  105. package/src/assets/svg/icons/IconWarning.svg +5 -0
  106. package/src/assets/svg/icons/IconWeight.svg +3 -0
  107. package/src/assets/svg/icons/IconWidth.svg +3 -0
  108. package/src/assets/svg/icons/IconYoutube.svg +5 -0
  109. package/src/components/TideAccordionItem.vue +105 -0
  110. package/src/components/TideAlert.vue +124 -0
  111. package/src/components/TideBackgroundImage.vue +44 -0
  112. package/src/components/TideBadge.vue +30 -0
  113. package/src/components/TideBadgePremium.vue +31 -0
  114. package/src/components/TideBadgeTrustedPartner.vue +38 -0
  115. package/src/components/TideBreadCrumbs.vue +53 -0
  116. package/src/components/TideButton.vue +67 -0
  117. package/src/components/TideButtonIcon.vue +52 -0
  118. package/src/components/TideButtonPagination.vue +71 -0
  119. package/src/components/TideCard.vue +19 -0
  120. package/src/components/TideCarousel.vue +188 -0
  121. package/src/components/TideChipAction.vue +48 -0
  122. package/src/components/TideChipFilter.vue +55 -0
  123. package/src/components/TideChipInput.vue +44 -0
  124. package/src/components/TideColumns.vue +53 -0
  125. package/src/components/TideDivider.vue +24 -0
  126. package/src/components/TideIcon.vue +58 -0
  127. package/src/components/TideImage.vue +44 -0
  128. package/src/components/TideIndicator.vue +57 -0
  129. package/src/components/TideInputCheckbox.vue +145 -0
  130. package/src/components/TideInputRadio.vue +87 -0
  131. package/src/components/TideInputSelect.vue +204 -0
  132. package/src/components/TideInputText.vue +292 -0
  133. package/src/components/TideInputTextarea.vue +196 -0
  134. package/src/components/TideLink.vue +66 -0
  135. package/src/components/TideModal.vue +187 -0
  136. package/src/components/TidePagination.vue +67 -0
  137. package/src/components/TideSeoLinks.vue +58 -0
  138. package/src/components/TideTabs.vue +89 -0
  139. package/src/components/TideToggle.vue +95 -0
  140. package/src/docs/development.md +51 -0
  141. package/src/docs/integration.md +79 -0
  142. package/src/docs/storybook.md +39 -0
  143. package/src/stories/DemoCssUtilities.stories.ts +154 -0
  144. package/src/stories/DemoCssUtilitiesByTextInput.stories.ts +61 -0
  145. package/src/stories/FoundationsBorder.stories.ts +230 -0
  146. package/src/stories/FoundationsGap.stories.ts +180 -0
  147. package/src/stories/FoundationsMargin.stories.ts +155 -0
  148. package/src/stories/FoundationsPadding.stories.ts +108 -0
  149. package/src/stories/FoundationsShadow.stories.ts +84 -0
  150. package/src/stories/FoundationsTypography.stories.ts +172 -0
  151. package/src/stories/Template.stories.ts +71 -0
  152. package/src/stories/TideAccordionItem.stories.ts +68 -0
  153. package/src/stories/TideAlert.stories.ts +58 -0
  154. package/src/stories/TideBackgroundImage.stories.ts +53 -0
  155. package/src/stories/TideBadge.stories.ts +31 -0
  156. package/src/stories/TideBadgePremium.stories.ts +31 -0
  157. package/src/stories/TideBadgeTrustedPartner.stories.ts +33 -0
  158. package/src/stories/TideBreadCrumbs.stories.ts +43 -0
  159. package/src/stories/TideButton.stories.ts +118 -0
  160. package/src/stories/TideButtonIcon.stories.ts +103 -0
  161. package/src/stories/TideButtonPagination.stories.ts +99 -0
  162. package/src/stories/TideCard.stories.ts +38 -0
  163. package/src/stories/TideCarousel.stories.ts +130 -0
  164. package/src/stories/TideChipAction.stories.ts +46 -0
  165. package/src/stories/TideChipFilter.stories.ts +59 -0
  166. package/src/stories/TideChipInput.stories.ts +42 -0
  167. package/src/stories/TideColumns.stories.ts +90 -0
  168. package/src/stories/TideDivider.stories.ts +46 -0
  169. package/src/stories/TideIcon.stories.ts +29 -0
  170. package/src/stories/TideIndicator.stories.ts +31 -0
  171. package/src/stories/TideInputCheckbox.stories.ts +86 -0
  172. package/src/stories/TideInputRadio.stories.ts +71 -0
  173. package/src/stories/TideInputSelect.stories.ts +145 -0
  174. package/src/stories/TideInputText.stories.ts +181 -0
  175. package/src/stories/TideInputTextarea.stories.ts +116 -0
  176. package/src/stories/TideLink.stories.ts +137 -0
  177. package/src/stories/TideModal.stories.ts +122 -0
  178. package/src/stories/TidePagination.stories.ts +83 -0
  179. package/src/stories/TideSeoLinks.stories.ts +67 -0
  180. package/src/stories/TideTabs.stories.ts +100 -0
  181. package/src/stories/TideToggle.stories.ts +69 -0
  182. package/src/stories/Welcome.mdx +17 -0
  183. package/src/types/Alert.ts +8 -0
  184. package/src/types/Badge.ts +21 -0
  185. package/src/types/BreadCrumb.ts +5 -0
  186. package/src/types/Detail.ts +4 -0
  187. package/src/types/Element.ts +13 -0
  188. package/src/types/FacetRange.ts +84 -0
  189. package/src/types/Field.ts +54 -0
  190. package/src/types/Form.ts +58 -0
  191. package/src/types/Formatted.ts +22 -0
  192. package/src/types/Icon.ts +87 -0
  193. package/src/types/Link.ts +5 -0
  194. package/src/types/ListingMedia.ts +43 -0
  195. package/src/types/Orientation.ts +6 -0
  196. package/src/types/Priority.ts +11 -0
  197. package/src/types/Raw.ts +5 -0
  198. package/src/types/Realm.ts +13 -0
  199. package/src/types/RealmConfig.ts +14 -0
  200. package/src/types/Select.ts +10 -0
  201. package/src/types/Size.ts +6 -0
  202. package/src/types/Storybook.ts +219 -0
  203. package/src/types/Styles.ts +590 -0
  204. package/src/types/Tab.ts +5 -0
  205. package/src/types/Target.ts +6 -0
  206. package/src/types/TextInput.ts +16 -0
  207. package/src/types/Validation.ts +24 -0
  208. package/src/utilities/format.ts +184 -0
  209. package/src/utilities/storybook.ts +295 -0
  210. package/src/utilities/validation.ts +197 -0
  211. package/tests/utilities-format.spec.ts +430 -0
  212. package/tsconfig.app.json +14 -0
  213. package/tsconfig.config.json +12 -0
  214. package/tsconfig.json +22 -0
  215. package/tsconfig.vitest.json +10 -0
  216. package/vite.config.ts +43 -0
package/index.ts ADDED
@@ -0,0 +1,122 @@
1
+ import TideAccordionItem from '@/components/TideAccordionItem.vue';
2
+ import TideAlert from '@/components/TideAlert.vue';
3
+ import TideBackgroundImage from '@/components/TideBackgroundImage.vue';
4
+ import TideBadge from '@/components/TideBadge.vue';
5
+ import TideBadgePremium from '@/components/TideBadgePremium.vue';
6
+ import TideBadgeTrustedPartner from '@/components/TideBadgeTrustedPartner.vue';
7
+ import TideBreadCrumbs from '@/components/TideBreadCrumbs.vue';
8
+ import TideButton from '@/components/TideButton.vue';
9
+ import TideButtonIcon from '@/components/TideButtonIcon.vue';
10
+ import TideButtonPagination from '@/components/TideButtonPagination.vue';
11
+ import TideCard from '@/components/TideCard.vue';
12
+ import TideCarousel from '@/components/TideCarousel.vue';
13
+ import TideChipAction from '@/components/TideChipAction.vue';
14
+ import TideChipFilter from '@/components/TideChipFilter.vue';
15
+ import TideChipInput from '@/components/TideChipInput.vue';
16
+ import TideColumns from '@/components/TideColumns.vue';
17
+ import TideDivider from '@/components/TideDivider.vue';
18
+ import TideIcon from '@/components/TideIcon.vue';
19
+ import TideImage from '@/components/TideImage.vue';
20
+ import TideIndicator from '@/components/TideIndicator.vue';
21
+ import TideInputRadio from '@/components/TideInputRadio.vue';
22
+ import TideInputSelect from '@/components/TideInputSelect.vue';
23
+ import TideInputText from '@/components/TideInputText.vue';
24
+ import TideInputTextarea from '@/components/TideInputTextarea.vue';
25
+ import TideLink from '@/components/TideLink.vue';
26
+ import TideModal from '@/components/TideModal.vue';
27
+ import TidePagination from '@/components/TidePagination.vue';
28
+ import TideSeoLinks from '@/components/TideSeoLinks.vue';
29
+ import TideTabs from '@/components/TideTabs.vue';
30
+ import TideToggle from '@/components/TideToggle.vue';
31
+
32
+ import type { Alert } from '@/types/Alert';
33
+ import type { Badge, BadgePremium, BadgeTrustedYears } from '@/types/Badge';
34
+ import type { BreadCrumb } from '@/types/BreadCrumb';
35
+ import type { Breakpoint, CssUtility } from '@/types/Styles';
36
+ import type { Detail } from '@/types/Detail';
37
+ import type { Element, ElementTextAsIcon } from '@/types/Element';
38
+ import type { Icon } from '@/types/Icon';
39
+ import type { Link } from '@/types/Link';
40
+ import type { Priority } from '@/types/Priority';
41
+ import type { Realm } from '@/types/Realm';
42
+ import type { Size } from '@/types/Size';
43
+ import type { Tab } from '@/types/Tab';
44
+ import type { Target } from '@/types/Target';
45
+
46
+ import { ALERT } from '@/types/Alert';
47
+ import { BADGE, BADGE_PREMIUM, BADGE_TRUSTED } from '@/types/Badge';
48
+ import { BREAKPOINT, CSS } from '@/types/Styles';
49
+ import { ELEMENT, ELEMENT_TEXT_AS_ICON } from '@/types/Element';
50
+ import { ICON } from '@/types/Icon';
51
+ import { PRIORITY } from '@/types/Priority';
52
+ import { REALM } from '@/types/Realm';
53
+ import { SIZE } from '@/types/Size';
54
+ import { TARGET } from '@/types/Target';
55
+
56
+ import '@/assets/css/main.css';
57
+
58
+ export type {
59
+ Alert,
60
+ Badge,
61
+ BadgePremium,
62
+ BadgeTrustedYears,
63
+ BreadCrumb,
64
+ Breakpoint,
65
+ CssUtility,
66
+ Detail,
67
+ Element,
68
+ ElementTextAsIcon,
69
+ Icon,
70
+ Link,
71
+ Priority,
72
+ Realm,
73
+ Size,
74
+ Tab,
75
+ Target,
76
+ };
77
+
78
+ export {
79
+ ALERT,
80
+ BADGE,
81
+ BADGE_PREMIUM,
82
+ BADGE_TRUSTED,
83
+ BREAKPOINT,
84
+ CSS,
85
+ ELEMENT,
86
+ ELEMENT_TEXT_AS_ICON,
87
+ ICON,
88
+ PRIORITY,
89
+ REALM,
90
+ SIZE,
91
+ TARGET,
92
+ TideAccordionItem,
93
+ TideAlert,
94
+ TideBackgroundImage,
95
+ TideBadge,
96
+ TideBadgePremium,
97
+ TideBadgeTrustedPartner,
98
+ TideBreadCrumbs,
99
+ TideButton,
100
+ TideButtonIcon,
101
+ TideButtonPagination,
102
+ TideCard,
103
+ TideCarousel,
104
+ TideChipAction,
105
+ TideChipFilter,
106
+ TideChipInput,
107
+ TideColumns,
108
+ TideDivider,
109
+ TideIcon,
110
+ TideImage,
111
+ TideIndicator,
112
+ TideInputRadio,
113
+ TideInputSelect,
114
+ TideInputText,
115
+ TideInputTextarea,
116
+ TideLink,
117
+ TideModal,
118
+ TidePagination,
119
+ TideSeoLinks,
120
+ TideTabs,
121
+ TideToggle,
122
+ };
package/package.json CHANGED
@@ -33,21 +33,11 @@
33
33
  "vue": "^3.2.45",
34
34
  "vue-tsc": "^1.0.12"
35
35
  },
36
- "exports": {
37
- ".": "./dist/tide-design-system.js",
38
- "./css": "./dist/style.css",
39
- "./css/*": "./dist/css/*.css"
40
- },
41
- "files": [
42
- "dist",
43
- "!dist/utilities/storybook.js"
44
- ],
45
36
  "license": "MIT",
46
- "main": "./dist/tide-design-system.js",
47
37
  "name": "tide-design-system",
48
38
  "scripts": {
49
39
  "build": "npm run lint && npm run type-check && npm run build-only",
50
- "build-only": "vite build && cp -r src/assets/css/ dist/css/ && cp -r src/types/ dist/types/ && cp -r src/utilities/ dist/utilities/",
40
+ "build-only": "vite build && cp -r src/assets/css/ dist/css/ && cp -r src/utilities/ dist/utilities/",
51
41
  "build-storybook": "storybook build && cp -r src/assets/css/realm/ storybook-static/public/",
52
42
  "coverage": "vitest run --coverage",
53
43
  "lint": "eslint . --ext .js,.ts,.vue --ignore-path .gitignore",
@@ -58,5 +48,11 @@
58
48
  "type-check": "vue-tsc --noEmit"
59
49
  },
60
50
  "type": "module",
61
- "version": "2.0.22"
51
+ "main": "dist/tide-design-system.cjs",
52
+ "module": "dist/tide-design-system.esm.js",
53
+ "types": "dist/tide-design-system.esm.d.ts",
54
+ "version": "2.0.23",
55
+ "dependencies": {
56
+ "vite-plugin-dts": "^4.2.3"
57
+ }
62
58
  }
@@ -0,0 +1,14 @@
1
+ .slide-down-from-top-enter-active,
2
+ .slide-down-from-top-leave-active {
3
+ transition: transform var(--tide-animate);
4
+ }
5
+
6
+ .slide-down-from-top-enter-from,
7
+ .slide-down-from-top-leave-to {
8
+ transform: translateY(-100%);
9
+ }
10
+
11
+ .slide-down-from-top-enter-to,
12
+ .slide-down-from-top-leave-from {
13
+ transform: translateY(0);
14
+ }
@@ -0,0 +1,79 @@
1
+ .tide-link-as-button,
2
+ .tide-button {
3
+ padding-top: 0.75rem;
4
+ padding-bottom: 0.75rem;
5
+ }
6
+
7
+ .tide-link-as-button.tide-button-quaternary,
8
+ .tide-button.tide-button-quaternary {
9
+ padding-right: 1rem;
10
+ padding-left: 1rem;
11
+ }
12
+
13
+ /* Rest State */
14
+ .tide-button-primary {
15
+ background: var(--tide-primary);
16
+ border: 2px solid var(--tide-primary);
17
+ color: var(--tide-on-primary);
18
+ }
19
+
20
+ .tide-button-secondary {
21
+ background: 2px solid var(--tide-surface);
22
+ border: 2px solid var(--tide-primary);
23
+ color: var(--tide-primary);
24
+ }
25
+
26
+ .tide-button-tertiary {
27
+ background: var(--tide-white);
28
+ border: 1px solid var(--tide-border);
29
+ color: var(--tide-secondary);
30
+ }
31
+
32
+ .tide-button-quaternary {
33
+ background: var(--tide-white);
34
+ color: var(--tide-secondary);
35
+ }
36
+
37
+ .tide-button-floating {
38
+ background-color: var(--tide-transparent-100);
39
+ color: var(--tide-secondary);
40
+ box-shadow: var(--tide-shadow-bottom);
41
+ }
42
+
43
+ /* Hover State */
44
+ a.tide-button-primary:hover,
45
+ button.tide-button-primary:enabled:hover {
46
+ border: 2px solid var(--tide-primary);
47
+ background: 2px solid var(--tide-white);
48
+ color: var(--tide-primary);
49
+ }
50
+
51
+ a.tide-button-secondary:hover,
52
+ button.tide-button-secondary:enabled:hover {
53
+ background: var(--tide-primary);
54
+ color: var(--tide-on-primary);
55
+ }
56
+
57
+ a.tide-button-tertiary:hover,
58
+ button.tide-button-tertiary:enabled:hover {
59
+ border: 1px solid var(--tide-border-high);
60
+ }
61
+
62
+ a.tide-button-quaternary:hover,
63
+ button.tide-button-quaternary:enabled:hover {
64
+ background: var(--tide-surface-variant);
65
+ }
66
+
67
+ .tide-button-floating:hover,
68
+ button.tide-button-floating:enabled:hover {
69
+ background-color: var(--tide-white);
70
+ }
71
+
72
+ /* Disabled State */
73
+ button.tide-button-primary:disabled,
74
+ button.tide-button-secondary:disabled,
75
+ button.tide-button-tertiary:disabled,
76
+ button.tide-button-quaternary:disabled,
77
+ button.tide-button-floating:disabled {
78
+ opacity: 0.32;
79
+ }
@@ -0,0 +1,39 @@
1
+ /* Background */
2
+ .tide-bg-primary {background: var(--tide-primary);}
3
+ .tide-bg-secondary {background: var(--tide-secondary);}
4
+
5
+ .tide-bg-surface {background: var(--tide-surface);}
6
+ .tide-bg-surface-variant {background: var(--tide-surface-variant);}
7
+ .tide-bg-surface-brand {background: var(--tide-surface-brand);}
8
+ .tide-bg-surface-accent {background: var(--tide-surface-accent);}
9
+ .tide-bg-surface-accent-variant {background: var(--tide-surface-accent-variant);}
10
+ .tide-bg-surface-gradient {background: var(--tide-surface-gradient);}
11
+ .tide-bg-surface-floating {background: var(--tide-surface-floating);}
12
+
13
+ .tide-bg-surface-error {background-color: var(--tide-error-surface);}
14
+ .tide-bg-surface-info {background-color: var(--tide-info-surface);}
15
+ .tide-bg-surface-success {background-color: var(--tide-success-surface);}
16
+ .tide-bg-surface-warning {background-color: var(--tide-warning-surface);}
17
+
18
+ .tide-bg-error {background-color: var(--tide-error-primary);}
19
+ .tide-bg-info {background-color: var(--tide-info-primary);}
20
+ .tide-bg-success {background-color: var(--tide-success-primary);}
21
+ .tide-bg-warning {background-color: var(--tide-warning-primary);}
22
+
23
+ /* Border */
24
+ .tide-border-primary {border-color: var(--tide-primary);}
25
+
26
+ .tide-border {border-color: var(--tide-border);}
27
+ .tide-border-low {border-color: var(--tide-border-low);}
28
+ .tide-border-high {border-color: var(--tide-border-high);}
29
+ .tide-border-floating {border-color: var(--tide-border-floating);}
30
+
31
+ /* Foreground */
32
+ .tide-font-on-primary {color: var(--tide-on-primary);}
33
+ .tide-font-on-secondary {color: var(--tide-on-secondary);}
34
+
35
+ .tide-font-on-surface {color: var(--tide-on-surface);}
36
+ .tide-font-on-surface-variant {color: var(--tide-on-surface-variant);}
37
+ .tide-font-on-surface-brand {color: var(--tide-on-surface-brand);}
38
+ .tide-font-on-surface-inverse {color: var(--tide-on-surface-inverse);}
39
+ .tide-font-on-surface-variant-inverse {color: var(--tide-on-surface-inverse-variant);}
@@ -0,0 +1,71 @@
1
+ :root {
2
+ --tide-1232px: 73rem;
3
+ --tide-1920px: 120rem;
4
+ }
5
+
6
+ .tide-grid-layout {
7
+ --tide-max-content-width: var(--tide-1232px);
8
+ --tide-column-count: 12;
9
+ --tide-column-width: minmax(0, calc((var(--tide-max-content-width) - var(--tide-gap-count) * var(--tide-gap-width)) / var(--tide-column-count)));
10
+ --tide-gap-count: calc(var(--tide-column-count) - 1);
11
+ --tide-gap-width: var(--tide-spacing-1);
12
+ --tide-gutter-width: var(--tide-spacing-1);
13
+ --tide-gutter-width-offset: calc(var(--tide-gutter-width) - var(--tide-gap-width));
14
+ }
15
+
16
+ @media (min-width: 768px) {
17
+ .tide-grid-layout {
18
+ --tide-gutter-width: var(--tide-spacing-2);
19
+ }
20
+ }
21
+
22
+ @media (min-width: 992px) {
23
+ .tide-grid-layout {
24
+ --tide-gap-width: var(--tide-spacing-2);
25
+ }
26
+ }
27
+
28
+ .tide-grid-xl {
29
+ --tide-max-content-width: var(--tide-1920px);
30
+ }
31
+
32
+ .tide-grid-layout {
33
+ display: grid;
34
+ grid-auto-rows: min-content;
35
+ grid-template-columns:
36
+ minmax(var(--tide-gutter-width-offset), 1fr)
37
+ repeat(12, var(--tide-column-width))
38
+ minmax(var(--tide-gutter-width-offset), 1fr);
39
+ gap: var(--tide-spacing-1) var(--tide-gap-width);
40
+ }
41
+
42
+ .tide-grid-layout > * {grid-column: 2 / -2;}
43
+ .tide-fluid {grid-column: 1 / -1;}
44
+
45
+ .tide-start-0 {grid-column-start: 1;}
46
+ .tide-start-1 {grid-column-start: 2;}
47
+ .tide-start-2 {grid-column-start: 3;}
48
+ .tide-start-3 {grid-column-start: 4;}
49
+ .tide-start-4 {grid-column-start: 5;}
50
+ .tide-start-5 {grid-column-start: 6;}
51
+ .tide-start-6 {grid-column-start: 7;}
52
+ .tide-start-7 {grid-column-start: 8;}
53
+ .tide-start-8 {grid-column-start: 9;}
54
+ .tide-start-9 {grid-column-start: 10;}
55
+ .tide-start-10 {grid-column-start: 11;}
56
+ .tide-start-11 {grid-column-start: 12;}
57
+ .tide-start-12 {grid-column-start: 13;}
58
+
59
+ .tide-end-1 {grid-column-end: 3;}
60
+ .tide-end-2 {grid-column-end: 4;}
61
+ .tide-end-3 {grid-column-end: 5;}
62
+ .tide-end-4 {grid-column-end: 6;}
63
+ .tide-end-5 {grid-column-end: 7;}
64
+ .tide-end-6 {grid-column-end: 8;}
65
+ .tide-end-7 {grid-column-end: 9;}
66
+ .tide-end-8 {grid-column-end: 10;}
67
+ .tide-end-9 {grid-column-end: 11;}
68
+ .tide-end-10 {grid-column-end: 12;}
69
+ .tide-end-11 {grid-column-end: 13;}
70
+ .tide-end-12 {grid-column-end: 14;}
71
+ .tide-end-13 {grid-column-end: 15;}
@@ -0,0 +1,5 @@
1
+ @import './variables.css';
2
+ @import './utilities.css';
3
+ @import './dynamic-buttons.css';
4
+ @import './dynamic-utilities.css';
5
+ @import './grid-layout.css';
@@ -0,0 +1,42 @@
1
+ /* Aero Trader Realm Colors */
2
+ :root {
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;
7
+
8
+ --tide-bg-gradient: linear-gradient(
9
+ to bottom right,
10
+ var(--tide-color3) 50%,
11
+ var(--tide-color2) 150%
12
+ );
13
+
14
+ --tide-floating: rgba(255, 255, 255, 0);
15
+
16
+ /* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
17
+ --tide-primary: var(--tide-color1);
18
+ --tide-on-primary: var(--tide-white);
19
+
20
+ --tide-secondary: var(--tide-black);
21
+ --tide-on-secondary: var(--tide-white);
22
+
23
+ --tide-surface: var(--tide-white);
24
+ --tide-surface-variant: var(--tide-gray-200);
25
+ --tide-surface-brand: var(--tide-color1);
26
+ --tide-surface-accent: var(--tide-color2);
27
+ --tide-surface-accent-variant: var(--tide-color3);
28
+ --tide-surface-gradient: var(--tide-gradient);
29
+ --tide-surface-floating: var(--tide-floating);
30
+
31
+ --tide-on-surface: var(--tide-black);
32
+ --tide-on-surface-variant: var(--tide-gray-800);
33
+ --tide-on-surface-brand: var(--tide-color1);
34
+
35
+ --tide-on-surface-inverse: var(--tide-white);
36
+ --tide-on-surface-inverse-variant: var(--tide-transparent-200);
37
+
38
+ --tide-border: var(--tide-gray-400);
39
+ --tide-border-low: var(--tide-gray-600);
40
+ --tide-border-high: var(--tide-black);
41
+ --tide-border-floating: var(--tide-gray-300);
42
+ }
@@ -0,0 +1,43 @@
1
+ /* ATV Trader Realm Colors */
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;
8
+
9
+ --tide-bg-gradient: linear-gradient(
10
+ to bottom right,
11
+ var(--tide-charcoal) 50%,
12
+ var(--tide-peach) 150%
13
+ );
14
+
15
+ --tide-floating: rgba(0, 0, 0, 0);
16
+
17
+ /* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
18
+ --tide-primary: var(--tide-orange);
19
+ --tide-on-primary: var(--tide-white);
20
+
21
+ --tide-secondary: var(--tide-black);
22
+ --tide-on-secondary: var(--tide-white);
23
+
24
+ --tide-surface: var(--tide-white);
25
+ --tide-surface-variant: var(--tide-gray-200);
26
+ --tide-surface-brand: var(--tide-charcoal);
27
+ --tide-surface-accent: var(--tide-peach);
28
+ --tide-surface-accent-variant: var(--tide-maroon);
29
+ --tide-surface-gradient: var(--tide-gradient);
30
+ --tide-surface-floating: var(--tide-floating);
31
+
32
+ --tide-on-surface: var(--tide-black);
33
+ --tide-on-surface-variant: var(--tide-gray-800);
34
+ --tide-on-surface-brand: var(--tide-orange);
35
+
36
+ --tide-on-surface-inverse: var(--tide-white);
37
+ --tide-on-surface-inverse-variant: var(--tide-transparent-200);
38
+
39
+ --tide-border: var(--tide-gray-600);
40
+ --tide-border-low: var(--tide-gray-400);
41
+ --tide-border-high: var(--tide-black);
42
+ --tide-border-floating: var(--tide-gray-300);
43
+ }
@@ -0,0 +1,42 @@
1
+ /* Boatmart Trader Realm Colors */
2
+ :root {
3
+ /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
+ --tide-navy: #1D4977;
5
+ --tide-mint: #46CFD1;
6
+ --tide-sand: #FFCF86;
7
+
8
+ --tide-gradient: linear-gradient(
9
+ to bottom right,
10
+ var(--tide-mint) 50%,
11
+ var(--tide-sand) 150%
12
+ );
13
+
14
+ --tide-floating: rgba(255, 255, 255, 0);
15
+
16
+ /* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
17
+ --tide-primary: var(--tide-navy);
18
+ --tide-on-primary: var(--tide-gray-100);
19
+
20
+ --tide-secondary: var(--tide-gray-900);
21
+ --tide-on-secondary: var(--tide-gray-100);
22
+
23
+ --tide-surface: var(--tide-gray-100);
24
+ --tide-surface-variant: var(--tide-gray-200);
25
+ --tide-surface-brand: var(--tide-navy);
26
+ --tide-surface-accent: var(--tide-sand);
27
+ --tide-surface-accent-variant: var(--tide-mint);
28
+ --tide-surface-gradient: var(--tide-gradient);
29
+ --tide-surface-floating: var(--tide-floating);
30
+
31
+ --tide-on-surface: var(--tide-gray-900);
32
+ --tide-on-surface-variant: var(--tide-gray-700);
33
+ --tide-on-surface-brand: var(--tide-navy);
34
+
35
+ --tide-on-surface-inverse: var(--tide-gray-100);
36
+ --tide-on-surface-inverse-variant: var(--tide-transparent-200);
37
+
38
+ --tide-border: var(--tide-gray-600);
39
+ --tide-border-low: var(--tide-gray-400);
40
+ --tide-border-high: var(--tide-gray-900);
41
+ --tide-border-floating: var(--tide-gray-300);
42
+ }
@@ -0,0 +1,42 @@
1
+ /* Cycle Trader Realm Colors */
2
+ :root {
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
+ );
13
+
14
+ --tide-floating: rgba(255, 255, 255, 0);
15
+
16
+ /* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
17
+ --tide-primary: var(--tide-pure-black);
18
+ --tide-on-primary: var(--tide-white);
19
+
20
+ --tide-secondary: var(--tide-black);
21
+ --tide-on-secondary: var(--tide-white);
22
+
23
+ --tide-surface: var(--tide-white);
24
+ --tide-surface-variant: var(--tide-gray-200);
25
+ --tide-surface-brand: var(--tide-pure-black);
26
+ --tide-surface-accent: var(--tide-red);
27
+ --tide-surface-accent-variant: var(--tide-steel-blue);
28
+ --tide-surface-gradient: var(--tide-gradient);
29
+ --tide-surface-floating: var(--tide-floating);
30
+
31
+ --tide-on-surface: var(--tide-black);
32
+ --tide-on-surface-variant: var(--tide-gray-800);
33
+ --tide-on-surface-brand: var(--tide-pure-black);
34
+
35
+ --tide-on-surface-inverse: var(--tide-white);
36
+ --tide-on-surface-inverse-variant: var(--tide-transparent-200);
37
+
38
+ --tide-border: var(--tide-gray-400);
39
+ --tide-border-low: var(--tide-gray-600);
40
+ --tide-border-high: var(--tide-black);
41
+ --tide-border-floating: var(--tide-gray-300);
42
+ }
@@ -0,0 +1,42 @@
1
+ /* Equipment Trader Realm Colors */
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
+ );
13
+
14
+ --tide-floating: rgba(255, 255, 255, 0);
15
+
16
+ /* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
17
+ --tide-primary: var(--tide-steel);
18
+ --tide-on-primary: var(--tide-white);
19
+
20
+ --tide-secondary: var(--tide-black);
21
+ --tide-on-secondary: var(--tide-white);
22
+
23
+ --tide-surface: var(--tide-white);
24
+ --tide-surface-variant: var(--tide-gray-200);
25
+ --tide-surface-brand: var(--tide-steel);
26
+ --tide-surface-accent: var(--tide-yellow);
27
+ --tide-surface-accent-variant: var(--tide-evergreen);
28
+ --tide-surface-gradient: var(--tide-gradient);
29
+ --tide-surface-floating: var(--tide-floating);
30
+
31
+ --tide-on-surface: var(--tide-black);
32
+ --tide-on-surface-variant: var(--tide-gray-800);
33
+ --tide-on-surface-brand: var(--tide-steel);
34
+
35
+ --tide-on-surface-inverse: var(--tide-white);
36
+ --tide-on-surface-inverse-variant: var(--tide-transparent-200);
37
+
38
+ --tide-border: var(--tide-gray-400);
39
+ --tide-border-low: var(--tide-gray-600);
40
+ --tide-border-high: var(--tide-black);
41
+ --tide-border-floating: var(--tide-gray-300);
42
+ }
@@ -0,0 +1,42 @@
1
+ /* PWC Trader Realm Colors */
2
+ :root {
3
+ /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
+ --tide-color1: #0B72B8;
5
+ --tide-color2: #085487;
6
+ --tide-color3: #59A0EB;
7
+
8
+ --tide-gradient: linear-gradient(
9
+ to bottom right,
10
+ var(--tide-color2) 50%,
11
+ var(--tide-color3) 150%
12
+ );
13
+
14
+ --tide-floating: rgba(255, 255, 255, 0);
15
+
16
+ /* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
17
+ --tide-primary: var(--tide-color1);
18
+ --tide-on-primary: var(--tide-gray-100);
19
+
20
+ --tide-secondary: var(--tide-gray-900);
21
+ --tide-on-secondary: var(--tide-gray-100);
22
+
23
+ --tide-surface: var(--tide-gray-100);
24
+ --tide-surface-variant: var(--tide-gray-200);
25
+ --tide-surface-brand: var(--tide-color1);
26
+ --tide-surface-accent: var(--tide-color3);
27
+ --tide-surface-accent-variant: var(--tide-color2);
28
+ --tide-surface-gradient: var(--tide-gradient);
29
+ --tide-surface-floating: var(--tide-floating);
30
+
31
+ --tide-on-surface: var(--tide-gray-900);
32
+ --tide-on-surface-variant: var(--tide-gray-700);
33
+ --tide-on-surface-brand: var(--tide-color1);
34
+
35
+ --tide-on-surface-inverse: var(--tide-gray-100);
36
+ --tide-on-surface-inverse-variant: var(--tide-transparent-200);
37
+
38
+ --tide-border: var(--tide-gray-600);
39
+ --tide-border-low: var(--tide-gray-400);
40
+ --tide-border-high: var(--tide-gray-900);
41
+ --tide-border-floating: var(--tide-gray-300);
42
+ }
@@ -0,0 +1,50 @@
1
+ /* RV Trader Realm Colors */
2
+ :root {
3
+ /* Realm-specific Tonal Palette: Only to be referenced in the assignment of Color Roles below. */
4
+ --tide-green: #006836;
5
+ --tide-teal: #8ADCB9;
6
+ --tide-yellow: #F2B203;
7
+
8
+ --tide-floating: rgba(255, 255, 255, 0);
9
+
10
+ /* Color Roles: Each realm will assign values to this same series of variables from a combination of the Global and Realm-specific Palettes. */
11
+ --tide-primary: var(--tide-green);
12
+ --tide-on-primary: var(--tide-gray-100);
13
+
14
+ --tide-secondary: var(--tide-gray-900);
15
+ --tide-on-secondary: var(--tide-gray-100);
16
+
17
+ --tide-surface: var(--tide-gray-100);
18
+ --tide-surface-brand: var(--tide-green);
19
+ --tide-surface-accent: var(--tide-yellow);
20
+ --tide-surface-accent-variant: var(--tide-teal);
21
+ --tide-surface-variant: var(--tide-gray-200);
22
+ --tide-surface-floating: var(--tide-floating);
23
+ --tide-surface-gradient:
24
+ radial-gradient(
25
+ 60.04% 38.7% at -2.12% 103.9%,
26
+ color-mix(in srgb, var(--tide-surface-accent-variant) 72%, transparent) 0%,
27
+ color-mix(in srgb, var(--tide-surface-accent-variant) 0%, transparent) 100%
28
+ ),
29
+ radial-gradient(
30
+ 154.63% 148.88% at 19.69% -3.53%, #B8DACC 28.37%,
31
+ color-mix(in srgb, var(--tide-surface-brand) 0%, transparent) 100%
32
+ ),
33
+ radial-gradient(
34
+ 50% 46.35% 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
+
39
+ --tide-on-surface: var(--tide-gray-900);
40
+ --tide-on-surface-variant: var(--tide-gray-700);
41
+ --tide-on-surface-brand: var(--tide-green);
42
+
43
+ --tide-on-surface-inverse: var(--tide-gray-100);
44
+ --tide-on-surface-inverse-variant: var(--tide-transparent-200);
45
+
46
+ --tide-border: var(--tide-gray-600);
47
+ --tide-border-low: var(--tide-gray-400);
48
+ --tide-border-high: var(--tide-gray-900);
49
+ --tide-border-floating: var(--tide-gray-300);
50
+ }