tide-design-system 2.2.4 → 2.2.6

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 (83) 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/realm/rv.css +2 -2
  5. package/dist/css/utilities-lg.css +4 -11
  6. package/dist/css/utilities-md.css +4 -11
  7. package/dist/css/utilities-sm.css +4 -11
  8. package/dist/css/utilities-xl.css +300 -307
  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 +23 -6
  13. package/dist/tide-design-system.esm.js +1591 -1592
  14. package/dist/utilities/storybook.ts +12 -0
  15. package/dist/utilities/viewport.ts +2 -1
  16. package/package.json +1 -1
  17. package/src/assets/css/realm/rv.css +2 -2
  18. package/src/assets/css/utilities-lg.css +4 -11
  19. package/src/assets/css/utilities-md.css +4 -11
  20. package/src/assets/css/utilities-sm.css +4 -11
  21. package/src/assets/css/utilities-xl.css +300 -307
  22. package/src/assets/css/utilities.css +4 -11
  23. package/src/components/TideAlert.vue +27 -33
  24. package/src/components/TideButton.vue +1 -1
  25. package/src/components/TideButtonIcon.vue +1 -1
  26. package/src/components/TideButtonPagination.vue +1 -1
  27. package/src/components/TideChipAction.vue +1 -1
  28. package/src/components/TideLink.vue +10 -1
  29. package/src/components/TideModal.vue +1 -1
  30. package/src/components/TideSeoLinks.vue +1 -1
  31. package/src/docs/development.md +125 -18
  32. package/src/docs/figma.md +43 -0
  33. package/src/docs/integration-full.md +80 -0
  34. package/src/docs/integration-partial.md +42 -0
  35. package/src/docs/migration.md +65 -0
  36. package/src/docs/storybook.md +29 -24
  37. package/src/docs/style-guide.md +22 -0
  38. package/src/docs/workflows.md +20 -0
  39. package/src/stories/FoundationsBorder.stories.ts +1 -1
  40. package/src/stories/FoundationsColor.stories.ts +1 -1
  41. package/src/stories/FoundationsGap.stories.ts +1 -1
  42. package/src/stories/FoundationsGrid.stories.ts +1 -1
  43. package/src/stories/FoundationsMargin.stories.ts +1 -1
  44. package/src/stories/FoundationsPadding.stories.ts +1 -1
  45. package/src/stories/FoundationsShadow.stories.ts +1 -1
  46. package/src/stories/FoundationsTransparency.stories.ts +1 -1
  47. package/src/stories/FoundationsTypography.stories.ts +1 -1
  48. package/src/stories/TideAccordionItem.stories.ts +1 -1
  49. package/src/stories/TideAlert.stories.ts +47 -3
  50. package/src/stories/TideBadge.stories.ts +1 -1
  51. package/src/stories/TideBadgeTrustedPartner.stories.ts +1 -1
  52. package/src/stories/TideBadgeVerifiedVehicle.stories.ts +1 -1
  53. package/src/stories/TideBreadCrumbs.stories.ts +1 -1
  54. package/src/stories/TideButton.stories.ts +1 -1
  55. package/src/stories/TideButtonIcon.stories.ts +1 -1
  56. package/src/stories/TideButtonPagination.stories.ts +1 -1
  57. package/src/stories/TideButtonSegmented.stories.ts +1 -1
  58. package/src/stories/TideCard.stories.ts +1 -1
  59. package/src/stories/TideCarousel.stories.ts +1 -1
  60. package/src/stories/TideChipAction.stories.ts +1 -1
  61. package/src/stories/TideChipFilter.stories.ts +1 -1
  62. package/src/stories/TideChipInput.stories.ts +1 -1
  63. package/src/stories/TideColumns.stories.ts +1 -1
  64. package/src/stories/TideDivider.stories.ts +1 -1
  65. package/src/stories/TideIcon.stories.ts +1 -1
  66. package/src/stories/TideImage.stories.ts +1 -1
  67. package/src/stories/TideImageBackground.stories.ts +1 -1
  68. package/src/stories/TideIndicator.stories.ts +1 -1
  69. package/src/stories/TideInputCheckbox.stories.ts +1 -1
  70. package/src/stories/TideInputRadio.stories.ts +1 -1
  71. package/src/stories/TideInputSelect.stories.ts +1 -1
  72. package/src/stories/TideInputText.stories.ts +1 -1
  73. package/src/stories/TideInputTextarea.stories.ts +1 -1
  74. package/src/stories/TideLink.stories.ts +8 -2
  75. package/src/stories/TideModal.stories.ts +1 -1
  76. package/src/stories/TidePagination.stories.ts +1 -1
  77. package/src/stories/TidePopover.stories.ts +1 -1
  78. package/src/stories/TideSeoLinks.stories.ts +1 -1
  79. package/src/stories/TideSwitch.stories.ts +1 -1
  80. package/src/types/Styles.ts +8 -202
  81. package/src/utilities/storybook.ts +12 -0
  82. package/src/utilities/viewport.ts +2 -1
  83. package/src/docs/integration.md +0 -79
@@ -1,26 +1,17 @@
1
1
  # TIDE Storybook
2
-
3
- Storybook is a frontend workshop for building, testing, and documenting UI components and styles in isolation.
2
+ [Storybook](https://tide-design-system.netlify.app) is a third-party frontend interface for providing dynamic, integrated documentation for custom UI components and styles in isolation.
4
3
 
5
4
  ## Benefits
5
+ The TIDE Storybook was implemented to facilitate collaboration between departments within the Trader Interactive development group:
6
+ - **Product Managers** can reference TIDE utilities and components when writing requirements for new pages and features.
7
+ - **Designers** can interact with TIDE utilities and components in real browser conditions independent from any specific business context.
8
+ - **Developers** can dynamically leverage components without having to become reacquinted with formatting standards, styling structures, or complex prop implementations.
9
+ - **QA Engineers** can compare changes under test to the intended design and behavior of TIDE structures absent the context of a consumer repository.
6
10
 
7
- The TIDE Storybook was implemented to facilitate collaboration between 3 primary departments within the Trader Interactive development group:
8
- - **Product Managers** can reference our components library when writing requirements for new pages and features.
9
- - **Designers** can interact with our components in real browser conditions independent from any specific context in our websites.
10
- - **Engineers** can leverage our components without having to become reacquinted with formatting standards, styling structures, or complex prop implementations.
11
-
12
- ## TODO
13
- - based in stories
14
- - args -> props, etc.
15
-
16
- ## Public
17
-
18
- The TIDE Storybook UI is currently hosted from Netlify, a free, third-party platform connected to the Trader developer's personal GitHub fork. This is a temporary measure, to be replaced by a permanent solution that integrates the private server deployment process into the `tide-design-system` repository of the `traderinteractive` GitHub account for hosting to users within the Trader VPN.
19
-
20
- https://tide-design-system.netlify.app
11
+ ## Hosting
12
+ TIDE Storybook is currently publicly hosted via Netlify, a free, third-party platform connected to a fork of the TIDE repository. This is a temporary measure, to be replaced by a permanent solution that integrates the private server deployment process directly into the `traderinteractive` GitHub account for hosting to users within the Trader VPN.
21
13
 
22
14
  ## Local Setup
23
-
24
15
  1. Install dependencies:
25
16
 
26
17
  `npm install`
@@ -30,10 +21,24 @@ https://tide-design-system.netlify.app
30
21
  `npm run storybook`
31
22
 
32
23
  ## Storybook UI
33
-
34
- 1. **Sidebar** serves as table of contents along the left edge of the screen
35
- 2. **Toolbar** offers project-level controls across the top of the screen
36
- 3. **Canvas** contains an interactive demo
37
- 4. **Code snippet** displays live-updated markup implementation available to copy
38
- 5. **Controls** determine the options passed into demo and code snippet
39
- 6. **Stories** demonstrate all major features of a given structure
24
+ 1. **Sidebar** serves as table of contents along the left edge of the screen.
25
+ 2. **Toolbar** offers project-level controls across the top of the screen.
26
+ 3. **Canvas** contains an interactive demo.
27
+ 4. **Code Snippet** displays live-updated markup implementation available to copy.
28
+ 5. **Controls** determine the options passed into demo and code snippet.
29
+ 6. **Stories** demonstrate all major features of a given structure.
30
+
31
+ ## Using Storybook
32
+ ### Utilities
33
+ 1. Visit the [Storybook](https://tide-design-system.netlify.app) site.
34
+ 2. Select the relevant utility from the Sidebar.
35
+ 3. Use the Controls table to modify the options to reflect Jira requirements and/or Figma mock.
36
+ 4. The Canvas panel is updated dynamically to reflect the options as implemented via the CSS utility classes.
37
+ 5. The Code Snippet panel (activated by clicking the "Show code" button) is updated dynamically to demonstrate the correct implementation of the CSS utilities.
38
+
39
+ ### Components
40
+ 1. Visit the [Storybook](https://tide-design-system.netlify.app) site.
41
+ 2. Select the relevant component from the Sidebar.
42
+ 3. Use the Controls table to modify the options to reflect Jira requirements and/or Figma mock.
43
+ 4. The Canvas panel is updated dynamically to demonstrate an interactive implementation of the correct component variant.
44
+ 5. The Code Snippet panel (activated by clicking the "Show code" button) is updated dynamically to demonstrate the correct implementation of the TIDE component.
@@ -0,0 +1,22 @@
1
+ # TIDE Marketplace Style Guides
2
+ Each redesign realm has an unlinked, yet publicly-accessible Style Guide page that demonstrates the styling and behavior of all major TIDE styles and components in a realm-specific production environment.
3
+
4
+ ## Benefits
5
+ The TIDE Marketplace Style Guides were implemented to facilitate collaboration between departments within the Trader Interactive development group:
6
+ - **Product Managers** can quickly review which TIDE structures are already integrated into the `marketplace` repository.
7
+ - **Designers** can quickly verify that TIDE structures accurately reflect the designs.
8
+ - **Developers** can quickly view the standard implementation of any given structure as both source code and distributed code.
9
+ - **QA Engineers** can quickly verify that the design and behavior of TIDE structures have not been unintentionally altered by a dependency upgrade under test.
10
+
11
+ ## Links
12
+ - Current redesign realms:
13
+ - [ATV](https://www.atvtrader.com/style-guide)
14
+ - [Boatmart](https://www.boatmart.com/style-guide)
15
+ - [RV](https://www.rvtrader.com/style-guide)
16
+ - Forthcoming redesign realms:
17
+ - [Aero](https://www.aerotrader.com/style-guide)
18
+ - [Cycle](https://www.cycletrader.com/style-guide)
19
+ - [Equipment](https://www.equipmenttrader.com/style-guide)
20
+ - [PWC](https://www.pwctrader.com/style-guide)
21
+ - [Snow](https://www.snowmobiletrader.com/style-guide)
22
+ - [Truck](https://www.commercialtrucktrader.com/style-guide)
@@ -0,0 +1,20 @@
1
+ # TIDE Collaborative Workflows
2
+
3
+ ## TIDE-first development
4
+
5
+ 1. Identify a ticket on your product team's Jira backlog that has a dependency on an approved TIDE structure not yet present in the TIDE repository.
6
+ 2. Contact the TIDE team via the [#ti-marketplaces-design-system-public](https://cargroup.enterprise.slack.com/archives/C08TEFUUE4X) Slack channel to discuss the dependency and to determine whether a TIDE ticket already exists in Jira or must be created, then mark the dependent ticket as `blocked by` the TIDE ticket via Jira's `Add > Linked work item` feature.
7
+ 3. The TIDE team will estimate and prioritize the ticket and pull it into a TIDE sprint accordingly.
8
+ 4. Once pulled into a sprint, the TIDE team will develop, peer review, test, and merge a new branch into the TIDE repository, then publish a new version of the `tide-design-system` package to the NPM registry.
9
+ 5. The TIDE team will notify the owners of the dependent ticket that the blockage has been removed.
10
+ 6. From the consumer repository, manually upgrade the dependency to the latest version of the `tide-design-system` package, then develop, peer review, test, and release the dependent ticket in the consumer repository as normal.
11
+
12
+ ## Consumer-first development
13
+
14
+ 1. Develop, peer review, test, and release the proposed TIDE structures in a consumer repository as with any other Jira task.
15
+ 2. Create a ticket in the [TIDE Jira backlog](https://traderinteractive.atlassian.net/jira/software/c/projects/TIDE/boards/1092/backlog) identifying the relevant structures and requesting that they be migrated/adapted into the TIDE repository.
16
+ 3. Post a message in the [#ti-marketplaces-design-system-public](https://cargroup.enterprise.slack.com/archives/C08TEFUUE4X) Slack channel to make the TIDE team aware of the proposal.
17
+ 4. The TIDE team will review the proposal.
18
+ 1. If accepted, the TIDE team will prioritize the ticket for development and release.
19
+ 2. If not accepted, the TIDE team will contact the reporter for additional discussion before closing the Jira ticket as `Won't Do`.
20
+ 5. Jira will automatically contact the Reporter of the ticket with relevant updates, including publication.
@@ -88,7 +88,7 @@ export default {
88
88
  parameters,
89
89
  render,
90
90
  tags: ['autodocs'],
91
- title: 'Foundations/Border',
91
+ title: 'Utilities/Border',
92
92
  };
93
93
 
94
94
  export const Default = {};
@@ -94,7 +94,7 @@ export default {
94
94
  parameters,
95
95
  render,
96
96
  tags: ['autodocs'],
97
- title: 'Foundations/Color',
97
+ title: 'Utilities/Color',
98
98
  };
99
99
 
100
100
  export const Default = {};
@@ -103,7 +103,7 @@ export default {
103
103
  parameters,
104
104
  render,
105
105
  tags: ['autodocs'],
106
- title: 'Foundations/Gap',
106
+ title: 'Utilities/Gap',
107
107
  };
108
108
 
109
109
  export const Default = {};
@@ -102,7 +102,7 @@ export default {
102
102
  parameters,
103
103
  render,
104
104
  tags: ['autodocs'],
105
- title: 'Foundations/Grid',
105
+ title: 'Utilities/Grid',
106
106
  };
107
107
 
108
108
  export const Default = {};
@@ -94,7 +94,7 @@ export default {
94
94
  parameters,
95
95
  render,
96
96
  tags: ['autodocs'],
97
- title: 'Foundations/Margin',
97
+ title: 'Utilities/Margin',
98
98
  };
99
99
 
100
100
  export const MarginDefault = {
@@ -67,7 +67,7 @@ export default {
67
67
  parameters,
68
68
  render,
69
69
  tags: ['autodocs'],
70
- title: 'Foundations/Padding',
70
+ title: 'Utilities/Padding',
71
71
  };
72
72
 
73
73
  export const Default = {};
@@ -79,7 +79,7 @@ export default {
79
79
  parameters,
80
80
  render,
81
81
  tags: ['autodocs'],
82
- title: 'Foundations/Shadow',
82
+ title: 'Utilities/Shadow',
83
83
  };
84
84
 
85
85
  export const Default = {};
@@ -84,7 +84,7 @@ export default {
84
84
  parameters,
85
85
  render,
86
86
  tags: ['autodocs'],
87
- title: 'Foundations/Transparency',
87
+ title: 'Utilities/Transparency',
88
88
  };
89
89
 
90
90
  export const Default = {};
@@ -80,7 +80,7 @@ export default {
80
80
  parameters,
81
81
  render,
82
82
  tags: ['autodocs'],
83
- title: 'Foundations/Typography',
83
+ title: 'Utilities/Typography',
84
84
  };
85
85
 
86
86
  export const Default = {};
@@ -88,7 +88,7 @@ export default {
88
88
  parameters,
89
89
  render,
90
90
  tags: ['autodocs'],
91
- title: 'Basic Components/TideAccordionItem',
91
+ title: 'Components/TideAccordionItem',
92
92
  };
93
93
 
94
94
  export const Demo = {};
@@ -1,8 +1,12 @@
1
+ import { action } from '@storybook/addon-actions';
2
+
1
3
  import TideAlert from '@/components/TideAlert.vue';
2
4
  import * as STANDARD_ALERT from '@/types/Alert';
3
5
  import {
4
6
  argTypeBooleanUnrequired,
5
7
  dataTrack,
8
+ disabledArgType,
9
+ doSomething,
6
10
  formatArgType,
7
11
  parameters,
8
12
  prependNoneAsUndefined,
@@ -10,14 +14,31 @@ import {
10
14
 
11
15
  const render = (args: any) => ({
12
16
  components: { TideAlert },
17
+ methods: {
18
+ doSomething,
19
+ handleClose: () => {
20
+ action('TideAlert closed')({});
21
+
22
+ try {
23
+ const callback = eval(args.handleClose);
24
+
25
+ if (callback) {
26
+ callback();
27
+ }
28
+ } catch {
29
+ alert('Please specify a valid handler in the "close" control.');
30
+ }
31
+ },
32
+ },
13
33
  setup: () => ({ args }),
14
- template: `<TideAlert v-bind="args">{{ args.default }}</TideAlert>`,
34
+ template: `<TideAlert @close="handleClose" v-bind="args">{{ args.default }}</TideAlert>`,
15
35
  });
16
36
 
17
37
  const ALERT = prependNoneAsUndefined(STANDARD_ALERT.ALERT);
18
38
 
19
39
  export default {
20
40
  argTypes: {
41
+ close: disabledArgType,
21
42
  dataTrack,
22
43
  default: {
23
44
  control: 'text',
@@ -27,6 +48,17 @@ export default {
27
48
  type: { summary: 'HTML' },
28
49
  },
29
50
  },
51
+ handleClose: {
52
+ control: 'text',
53
+ description: 'JS code or function to execute on close event',
54
+ isEmit: true,
55
+ name: 'close',
56
+ table: {
57
+ category: 'Events',
58
+ defaultValue: { summary: 'None' },
59
+ type: { summary: '() => void' },
60
+ },
61
+ },
30
62
  heading: {
31
63
  control: 'text',
32
64
  description: 'Heading text',
@@ -35,6 +67,10 @@ export default {
35
67
  type: { summary: 'HTML' },
36
68
  },
37
69
  },
70
+ isDismissible: {
71
+ ...argTypeBooleanUnrequired,
72
+ description: 'Determines whether the Alert can be closed by the user',
73
+ },
38
74
  isToast: {
39
75
  ...argTypeBooleanUnrequired,
40
76
  description: 'Determines whether the Alert is an overlay or displaces content',
@@ -47,12 +83,20 @@ export default {
47
83
  },
48
84
  },
49
85
  },
50
- args: { dataTrack: '', default: '', heading: 'Heading', isToast: undefined, type: undefined },
86
+ args: {
87
+ dataTrack: '',
88
+ default: '',
89
+ handleClose: 'doSomething',
90
+ heading: 'Heading',
91
+ isDismissible: undefined,
92
+ isToast: undefined,
93
+ type: undefined,
94
+ },
51
95
  component: TideAlert,
52
96
  parameters,
53
97
  render,
54
98
  tags: ['autodocs'],
55
- title: 'Basic Components/TideAlert',
99
+ title: 'Components/TideAlert',
56
100
  };
57
101
 
58
102
  export const Demo = {};
@@ -36,7 +36,7 @@ export default {
36
36
  parameters,
37
37
  render,
38
38
  tags: ['autodocs'],
39
- title: 'Basic Components/TideBadge',
39
+ title: 'Components/TideBadge',
40
40
  };
41
41
 
42
42
  export const Demo = {};
@@ -27,7 +27,7 @@ export default {
27
27
  parameters,
28
28
  render,
29
29
  tags: ['autodocs'],
30
- title: 'Basic Components/TideBadgeTrustedPartner',
30
+ title: 'Components/TideBadgeTrustedPartner',
31
31
  };
32
32
 
33
33
  export const Demo = {};
@@ -14,7 +14,7 @@ export default {
14
14
  parameters,
15
15
  render,
16
16
  tags: ['autodocs'],
17
- title: 'Basic Components/TideBadgeVerifiedVehicle',
17
+ title: 'Components/TideBadgeVerifiedVehicle',
18
18
  };
19
19
 
20
20
  export const Demo = {};
@@ -37,7 +37,7 @@ export default {
37
37
  component: TideBreadCrumbs,
38
38
  parameters,
39
39
  tags: ['autodocs'],
40
- title: 'Basic Components/TideBreadCrumbs',
40
+ title: 'Components/TideBreadCrumbs',
41
41
  };
42
42
 
43
43
  export const Demo = {};
@@ -122,7 +122,7 @@ export default {
122
122
  parameters,
123
123
  render,
124
124
  tags: ['autodocs'],
125
- title: 'Basic Components/TideButton',
125
+ title: 'Components/TideButton',
126
126
  };
127
127
 
128
128
  export const Demo = {};
@@ -97,7 +97,7 @@ export default {
97
97
  parameters,
98
98
  render,
99
99
  tags: ['autodocs'],
100
- title: 'Basic Components/TideButtonIcon',
100
+ title: 'Components/TideButtonIcon',
101
101
  };
102
102
 
103
103
  export const Demo = {};
@@ -93,7 +93,7 @@ export default {
93
93
  parameters,
94
94
  render,
95
95
  tags: ['autodocs'],
96
- title: 'Basic Components/TideButtonPagination',
96
+ title: 'Components/TideButtonPagination',
97
97
  };
98
98
 
99
99
  export const Demo = {};
@@ -92,7 +92,7 @@ export default {
92
92
  parameters,
93
93
  render,
94
94
  tags: ['autodocs'],
95
- title: 'Basic Components/TideButtonSegmented',
95
+ title: 'Components/TideButtonSegmented',
96
96
  };
97
97
 
98
98
  export const Demo = {};
@@ -91,7 +91,7 @@ export default {
91
91
  parameters,
92
92
  render,
93
93
  tags: ['autodocs'],
94
- title: 'Basic Components/TideCard',
94
+ title: 'Components/TideCard',
95
95
  };
96
96
 
97
97
  export const Demo = {};
@@ -182,7 +182,7 @@ export default {
182
182
  parameters,
183
183
  render,
184
184
  tags: ['autodocs'],
185
- title: 'Basic Components/TideCarousel',
185
+ title: 'Components/TideCarousel',
186
186
  };
187
187
 
188
188
  export const Demo = {};
@@ -40,7 +40,7 @@ export default {
40
40
  parameters,
41
41
  render,
42
42
  tags: ['autodocs'],
43
- title: 'Basic Components/TideChipAction',
43
+ title: 'Components/TideChipAction',
44
44
  };
45
45
 
46
46
  export const Demo = {};
@@ -63,7 +63,7 @@ export default {
63
63
  parameters,
64
64
  render,
65
65
  tags: ['autodocs'],
66
- title: 'Basic Components/TideChipFilter',
66
+ title: 'Components/TideChipFilter',
67
67
  };
68
68
 
69
69
  export const Demo = {};
@@ -47,7 +47,7 @@ export default {
47
47
  parameters,
48
48
  render,
49
49
  tags: ['autodocs'],
50
- title: 'Basic Components/TideChipInput',
50
+ title: 'Components/TideChipInput',
51
51
  };
52
52
 
53
53
  export const Demo = {};
@@ -84,7 +84,7 @@ export default {
84
84
  component: TideColumns,
85
85
  parameters,
86
86
  tags: ['autodocs'],
87
- title: 'Basic Components/TideColumns',
87
+ title: 'Components/TideColumns',
88
88
  };
89
89
 
90
90
  export const Demo = {};
@@ -39,7 +39,7 @@ export default {
39
39
  parameters,
40
40
  render,
41
41
  tags: ['autodocs'],
42
- title: 'Basic Components/TideDivider',
42
+ title: 'Components/TideDivider',
43
43
  };
44
44
 
45
45
  export const Demo = {};
@@ -27,7 +27,7 @@ export default {
27
27
  component: TideIcon,
28
28
  parameters,
29
29
  tags: ['autodocs'],
30
- title: 'Basic Components/TideIcon',
30
+ title: 'Components/TideIcon',
31
31
  };
32
32
 
33
33
  export const Demo = {};
@@ -108,7 +108,7 @@ export default {
108
108
  component: TideImage,
109
109
  parameters,
110
110
  tags: ['autodocs'],
111
- title: 'Basic Components/TideImage',
111
+ title: 'Components/TideImage',
112
112
  };
113
113
 
114
114
  export const Demo = {};
@@ -103,7 +103,7 @@ export default {
103
103
  parameters,
104
104
  render,
105
105
  tags: ['autodocs'],
106
- title: 'Basic Components/TideImageBackground',
106
+ title: 'Components/TideImageBackground',
107
107
  };
108
108
 
109
109
  export const Demo = {};
@@ -25,7 +25,7 @@ export default {
25
25
  parameters,
26
26
  render,
27
27
  tags: ['autodocs'],
28
- title: 'Basic Components/TideIndicator',
28
+ title: 'Components/TideIndicator',
29
29
  };
30
30
 
31
31
  export const Demo = {};
@@ -95,7 +95,7 @@ export default {
95
95
  parameters,
96
96
  render,
97
97
  tags: ['autodocs'],
98
- title: 'Basic Components/TideInputCheckbox',
98
+ title: 'Components/TideInputCheckbox',
99
99
  };
100
100
 
101
101
  export const Demo = {};
@@ -78,7 +78,7 @@ export default {
78
78
  parameters,
79
79
  render,
80
80
  tags: ['autodocs'],
81
- title: 'Basic Components/TideInputRadio',
81
+ title: 'Components/TideInputRadio',
82
82
  };
83
83
 
84
84
  export const Demo = {};
@@ -206,7 +206,7 @@ export default {
206
206
  parameters,
207
207
  render,
208
208
  tags: ['autodocs'],
209
- title: 'Basic Components/TideInputSelect',
209
+ title: 'Components/TideInputSelect',
210
210
  };
211
211
 
212
212
  export const Demo = {};
@@ -172,7 +172,7 @@ export default {
172
172
  parameters,
173
173
  render,
174
174
  tags: ['autodocs'],
175
- title: 'Basic Components/TideInputText',
175
+ title: 'Components/TideInputText',
176
176
  };
177
177
 
178
178
  export const Demo = {};
@@ -110,7 +110,7 @@ export default {
110
110
  parameters,
111
111
  render,
112
112
  tags: ['autodocs'],
113
- title: 'Basic Components/TideInputTextarea',
113
+ title: 'Components/TideInputTextarea',
114
114
  };
115
115
 
116
116
  export const Demo = {};
@@ -36,6 +36,7 @@ const formatSnippet = (code: string, context: StoryContext) => {
36
36
  argsWithValues.push(`:icon-trailing="${formatValueAsConstant({ iconTrailing }, argTypes)}"`);
37
37
  if (args.isNewTab !== undefined) argsWithValues.push(`:is-new-tab="${args.isNewTab}"`);
38
38
  if (args.label !== undefined) argsWithValues.push(`:label="${args.label}"`);
39
+ if (args.subtle !== undefined) argsWithValues.push(`:subtle="${args.subtle}"`);
39
40
  if (args.click !== undefined) argsWithValues.push(`@click="${args.click}"`);
40
41
 
41
42
  return `<TideLink ${argsWithValues.join(' ')} />`;
@@ -117,23 +118,28 @@ export default {
117
118
  type: { summary: 'string' },
118
119
  },
119
120
  },
121
+ subtle: {
122
+ ...argTypeBooleanUnrequired,
123
+ description: 'Hides the underline until hovered, de-emphasizing the link',
124
+ },
120
125
  },
121
126
  args: {
122
127
  click: 'doSomething',
123
128
  dataTrack: '',
124
129
  element: undefined,
125
- href: '/',
130
+ href: '#',
126
131
  iconLeading: undefined,
127
132
  iconTrailing: undefined,
128
133
  isNewTab: undefined,
129
134
  label: 'Demo',
130
135
  size: undefined,
136
+ subtle: undefined,
131
137
  },
132
138
  component: TideLink,
133
139
  parameters,
134
140
  render,
135
141
  tags: ['autodocs'],
136
- title: 'Basic Components/TideLink',
142
+ title: 'Components/TideLink',
137
143
  };
138
144
 
139
145
  export const Demo = {};
@@ -180,7 +180,7 @@ export default {
180
180
  parameters,
181
181
  render,
182
182
  tags: ['autodocs'],
183
- title: 'Basic Components/TideModal',
183
+ title: 'Components/TideModal',
184
184
  };
185
185
 
186
186
  export const Demo = {};
@@ -77,7 +77,7 @@ export default {
77
77
  parameters,
78
78
  render,
79
79
  tags: ['autodocs'],
80
- title: 'Basic Components/TidePagination',
80
+ title: 'Components/TidePagination',
81
81
  };
82
82
 
83
83
  export const Demo = {};
@@ -92,7 +92,7 @@ export default {
92
92
  parameters,
93
93
  render,
94
94
  tags: ['autodocs'],
95
- title: 'Basic Components/TidePopover',
95
+ title: 'Components/TidePopover',
96
96
  };
97
97
 
98
98
  export const Demo = {};
@@ -60,7 +60,7 @@ export default {
60
60
  parameters,
61
61
  render,
62
62
  tags: ['autodocs'],
63
- title: 'Basic Components/TideSeoLinks',
63
+ title: 'Components/TideSeoLinks',
64
64
  };
65
65
 
66
66
  export const Demo = {};
@@ -64,7 +64,7 @@ export default {
64
64
  parameters,
65
65
  render,
66
66
  tags: ['autodocs'],
67
- title: 'Basic Components/TideSwitch',
67
+ title: 'Components/TideSwitch',
68
68
  };
69
69
 
70
70
  export const Demo = {};