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
@@ -3,7 +3,7 @@ export const REALM = {
3
3
  ATV: 'atv',
4
4
  BOATMART: 'boatmart',
5
5
  CYCLE: 'cycle',
6
- EQUIP: 'equip',
6
+ EQUIPMENT: 'equipment',
7
7
  PWC: 'pwc',
8
8
  RV: 'rv',
9
9
  SNOW: 'snow',
@@ -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/vite.config.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import vue from '@vitejs/plugin-vue';
2
- import svgLoader from 'vite-svg-loader';
3
- import ViteDts from 'vite-plugin-dts';
4
- import { defineConfig } from 'vite';
5
- import { fileURLToPath, URL } from 'node:url';
2
+ import { URL, fileURLToPath } from 'node:url';
6
3
  import { resolve } from 'path';
4
+ import { defineConfig } from 'vite';
5
+ import ViteDts from 'vite-plugin-dts';
6
+ import svgLoader from 'vite-svg-loader';
7
7
 
8
8
  // https://vitejs.dev/config/
9
9
  export default defineConfig({