tide-design-system 2.2.3 → 2.2.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.
Files changed (86) hide show
  1. package/.storybook/main.ts +3 -1
  2. package/.storybook/preview.ts +4 -3
  3. package/README.md +35 -5
  4. package/dist/css/grid-layout.css +10 -49
  5. package/dist/css/utilities-lg.css +4 -11
  6. package/dist/css/utilities-md.css +4 -12
  7. package/dist/css/utilities-sm.css +4 -11
  8. package/dist/css/utilities-xl.css +4 -11
  9. package/dist/css/utilities.css +4 -11
  10. package/dist/style.css +1 -1
  11. package/dist/tide-design-system.cjs +2 -2
  12. package/dist/tide-design-system.esm.d.ts +31 -36
  13. package/dist/tide-design-system.esm.js +1397 -1407
  14. package/dist/utilities/storybook.ts +12 -0
  15. package/package.json +1 -1
  16. package/src/assets/css/grid-layout.css +10 -49
  17. package/src/assets/css/utilities-lg.css +4 -11
  18. package/src/assets/css/utilities-md.css +4 -12
  19. package/src/assets/css/utilities-sm.css +4 -11
  20. package/src/assets/css/utilities-xl.css +4 -11
  21. package/src/assets/css/utilities.css +4 -11
  22. package/src/components/TideAlert.vue +27 -33
  23. package/src/components/TideBadge.vue +4 -1
  24. package/src/components/TideBadgeTrustedPartner.vue +8 -2
  25. package/src/components/TideBadgeVerifiedVehicle.vue +7 -2
  26. package/src/components/TideButton.vue +1 -1
  27. package/src/components/TideButtonIcon.vue +1 -1
  28. package/src/components/TideButtonPagination.vue +1 -1
  29. package/src/components/TideCarousel.vue +90 -55
  30. package/src/components/TideChipAction.vue +1 -1
  31. package/src/components/TideLink.vue +10 -1
  32. package/src/components/TideModal.vue +1 -1
  33. package/src/components/TideSeoLinks.vue +1 -1
  34. package/src/docs/development.md +125 -18
  35. package/src/docs/figma.md +43 -0
  36. package/src/docs/integration-full.md +80 -0
  37. package/src/docs/integration-partial.md +42 -0
  38. package/src/docs/migration.md +65 -0
  39. package/src/docs/storybook.md +29 -24
  40. package/src/docs/style-guide.md +22 -0
  41. package/src/docs/workflows.md +20 -0
  42. package/src/stories/FoundationsBorder.stories.ts +1 -1
  43. package/src/stories/FoundationsColor.stories.ts +1 -1
  44. package/src/stories/FoundationsGap.stories.ts +1 -1
  45. package/src/stories/FoundationsGrid.stories.ts +2 -185
  46. package/src/stories/FoundationsMargin.stories.ts +1 -1
  47. package/src/stories/FoundationsPadding.stories.ts +1 -1
  48. package/src/stories/FoundationsShadow.stories.ts +1 -1
  49. package/src/stories/FoundationsTransparency.stories.ts +1 -1
  50. package/src/stories/FoundationsTypography.stories.ts +1 -1
  51. package/src/stories/TideAccordionItem.stories.ts +1 -1
  52. package/src/stories/TideAlert.stories.ts +47 -3
  53. package/src/stories/TideBadge.stories.ts +1 -1
  54. package/src/stories/TideBadgeTrustedPartner.stories.ts +1 -1
  55. package/src/stories/TideBadgeVerifiedVehicle.stories.ts +1 -1
  56. package/src/stories/TideBreadCrumbs.stories.ts +1 -1
  57. package/src/stories/TideButton.stories.ts +1 -1
  58. package/src/stories/TideButtonIcon.stories.ts +1 -1
  59. package/src/stories/TideButtonPagination.stories.ts +1 -1
  60. package/src/stories/TideButtonSegmented.stories.ts +1 -1
  61. package/src/stories/TideCard.stories.ts +1 -1
  62. package/src/stories/TideCarousel.stories.ts +52 -10
  63. package/src/stories/TideChipAction.stories.ts +1 -1
  64. package/src/stories/TideChipFilter.stories.ts +1 -1
  65. package/src/stories/TideChipInput.stories.ts +1 -1
  66. package/src/stories/TideColumns.stories.ts +1 -1
  67. package/src/stories/TideDivider.stories.ts +1 -1
  68. package/src/stories/TideIcon.stories.ts +1 -1
  69. package/src/stories/TideImage.stories.ts +1 -1
  70. package/src/stories/TideImageBackground.stories.ts +1 -1
  71. package/src/stories/TideIndicator.stories.ts +1 -1
  72. package/src/stories/TideInputCheckbox.stories.ts +1 -1
  73. package/src/stories/TideInputRadio.stories.ts +1 -1
  74. package/src/stories/TideInputSelect.stories.ts +1 -1
  75. package/src/stories/TideInputText.stories.ts +1 -1
  76. package/src/stories/TideInputTextarea.stories.ts +1 -1
  77. package/src/stories/TideLink.stories.ts +8 -2
  78. package/src/stories/TideModal.stories.ts +1 -1
  79. package/src/stories/TidePagination.stories.ts +1 -1
  80. package/src/stories/TidePopover.stories.ts +1 -1
  81. package/src/stories/TideSeoLinks.stories.ts +1 -1
  82. package/src/stories/TideSwitch.stories.ts +1 -1
  83. package/src/types/Storybook.ts +0 -32
  84. package/src/types/Styles.ts +8 -232
  85. package/src/utilities/storybook.ts +12 -0
  86. package/src/docs/integration.md +0 -79
@@ -1,79 +0,0 @@
1
- # TIDE Prod Integration
2
- 1. Install dependency from Node Package Manager Registry:
3
-
4
- `npm install tide-design-system`
5
-
6
- 2. Use CSS utilities:
7
- 1. Import global utilities:
8
-
9
- `import 'tide-design-system/css';`
10
-
11
- 2. Import realm-specific utilities (where applicable):
12
-
13
- `import 'tide-design-system/css/realm/aero';`
14
-
15
- `import 'tide-design-system/css/realm/atv';`
16
-
17
- `import 'tide-design-system/css/realm/boatmart';`
18
-
19
- `import 'tide-design-system/css/realm/cycle';`
20
-
21
- `import 'tide-design-system/css/realm/equipment';`
22
-
23
- `import 'tide-design-system/css/realm/pwc';`
24
-
25
- `import 'tide-design-system/css/realm/snow';`
26
-
27
- `import 'tide-design-system/css/realm/truck';`
28
-
29
- 3. Import TypeScript constant:
30
-
31
- `import { CSS } from 'tide-design-system';`
32
-
33
- 4. Leverage:
34
-
35
- `<div :class="[CSS.POSITION.ABSOLUTE]" />`
36
-
37
- 5. Via CSS directly (only when markup is outside a JS framework):
38
-
39
- `<div class="tide-position-absolute" />`
40
-
41
- 6. Apply classes responsively:
42
-
43
- `<div :class=[CSS.DISPLAY.NONE, withBreakpoint([CSS.DISPLAY.FLEX], BREAKPOINT.MD)] />`
44
-
45
- 3. Use TypeScript types:
46
- 1. Import:
47
-
48
- `import type { Priority } from 'tide-design-system';`
49
-
50
- 2. Leverage:
51
-
52
- ```
53
- type Sample = {
54
- ...
55
- priority: Priority;
56
- };
57
- ```
58
-
59
- ```
60
- const setPriority = (priority: Priority) => {...};
61
- ```
62
-
63
- 4. Leverage TypeScript constants:
64
- 1. Import:
65
-
66
- `import { PRIORITY } from 'tide-design-system';`
67
-
68
- 2. Leverage:
69
-
70
- `<div :priority="PRIORITY.QUATERNARY">Sample</div>`
71
-
72
- 5. Use Vue 3 component(s):
73
- 1. Import:
74
-
75
- `import { TideButton } from 'tide-design-system';`
76
-
77
- 2. Leverage:
78
-
79
- `<TideButton label="Sample" />`