tide-design-system 2.2.16 → 2.3.1
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.
- package/README.md +1 -0
- package/dist/css/main.css +0 -6
- package/dist/css/utilities-base.css +541 -0
- package/dist/css/utilities-responsive.css +2717 -0
- package/dist/css/utilities.css +2 -446
- package/dist/css/variables.css +1 -1
- package/dist/style.css +1 -1
- package/dist/tide-design-system.cjs +2 -2
- package/dist/tide-design-system.esm.d.ts +0 -81
- package/dist/tide-design-system.esm.js +397 -389
- package/dist/utilities/validation.ts +5 -1
- package/index.ts +0 -17
- package/package.json +1 -1
- package/src/assets/css/main.css +0 -6
- package/src/assets/css/utilities-base.css +541 -0
- package/src/assets/css/utilities-responsive.css +2717 -0
- package/src/assets/css/utilities.css +2 -446
- package/src/assets/css/variables.css +1 -1
- package/src/components/TideAlert.vue +2 -4
- package/src/components/TideInputCheckbox.vue +2 -2
- package/src/components/TideInputRadio.vue +4 -4
- package/src/components/TideModal.vue +18 -6
- package/src/components/TideSheet.vue +11 -1
- package/src/docs/integration-partial.md +0 -7
- package/src/docs/upgrading.md +29 -0
- package/src/stories/Template.stories.ts +4 -2
- package/src/stories/TideAccordionItem.stories.ts +7 -1
- package/src/stories/TideAlert.stories.ts +5 -1
- package/src/stories/TideBadge.stories.ts +3 -1
- package/src/stories/TideBadgeTrustedPartner.stories.ts +3 -1
- package/src/stories/TideBadgeVerifiedVehicle.stories.ts +3 -1
- package/src/stories/TideButton.stories.ts +5 -1
- package/src/stories/TideButtonIcon.stories.ts +5 -1
- package/src/stories/TideButtonPagination.stories.ts +5 -1
- package/src/stories/TideButtonSegmented.stories.ts +7 -2
- package/src/stories/TideCard.stories.ts +5 -1
- package/src/stories/TideCarousel.stories.ts +8 -2
- package/src/stories/TideChipAction.stories.ts +3 -1
- package/src/stories/TideChipFilter.stories.ts +8 -2
- package/src/stories/TideChipInput.stories.ts +5 -1
- package/src/stories/TideDivider.stories.ts +6 -2
- package/src/stories/TideImageBackground.stories.ts +3 -1
- package/src/stories/TideIndicator.stories.ts +3 -1
- package/src/stories/TideInputCheckbox.stories.ts +8 -2
- package/src/stories/TideInputRadio.stories.ts +8 -2
- package/src/stories/TideInputSelect.stories.ts +7 -2
- package/src/stories/TideInputText.stories.ts +6 -2
- package/src/stories/TideInputTextarea.stories.ts +6 -2
- package/src/stories/TideLink.stories.ts +7 -3
- package/src/stories/TideModal.stories.ts +85 -44
- package/src/stories/TidePagination.stories.ts +8 -2
- package/src/stories/TidePopover.stories.ts +6 -1
- package/src/stories/TideSeoLinks.stories.ts +3 -1
- package/src/stories/TideSheet.stories.ts +9 -3
- package/src/stories/TideSwitch.stories.ts +7 -1
- package/src/utilities/validation.ts +5 -1
- package/dist/css/dynamic-buttons.css +0 -346
- package/dist/css/dynamic-utilities.css +0 -152
- package/dist/css/utilities-lg.css +0 -448
- package/dist/css/utilities-md.css +0 -448
- package/dist/css/utilities-sm.css +0 -448
- package/dist/css/utilities-xl.css +0 -448
- package/src/assets/css/dynamic-buttons.css +0 -346
- package/src/assets/css/dynamic-utilities.css +0 -152
- package/src/assets/css/utilities-lg.css +0 -448
- package/src/assets/css/utilities-md.css +0 -448
- package/src/assets/css/utilities-sm.css +0 -448
- package/src/assets/css/utilities-xl.css +0 -448
- package/src/types/Detail.ts +0 -4
- package/src/types/FacetRange.ts +0 -84
- package/src/types/ListingMedia.ts +0 -43
- package/src/types/Raw.ts +0 -5
- package/src/types/RealmConfig.ts +0 -14
|
@@ -1,446 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
.tide-position-absolute {position: absolute;}
|
|
4
|
-
.tide-position-fixed {position: fixed;}
|
|
5
|
-
.tide-position-relative {position: relative;}
|
|
6
|
-
.tide-position-static {position: static;}
|
|
7
|
-
.tide-position-sticky {position: sticky;}
|
|
8
|
-
|
|
9
|
-
.tide-top-0 {top: 0;}
|
|
10
|
-
.tide-right-0 {right: 0;}
|
|
11
|
-
.tide-bottom-0 {bottom: 0;}
|
|
12
|
-
.tide-left-0 {left: 0;}
|
|
13
|
-
|
|
14
|
-
/* Display */
|
|
15
|
-
.tide-display-block {display: block;}
|
|
16
|
-
.tide-display-contents {display: contents;}
|
|
17
|
-
.tide-display-flex {display: flex;}
|
|
18
|
-
.tide-display-grid {display: grid;}
|
|
19
|
-
.tide-display-initial {display: initial;}
|
|
20
|
-
.tide-display-inline {display: inline;}
|
|
21
|
-
.tide-display-inline-block {display: inline-block;}
|
|
22
|
-
.tide-display-inline-flex {display: inline-flex;}
|
|
23
|
-
.tide-display-none {display: none;}
|
|
24
|
-
|
|
25
|
-
/* Flex Box */
|
|
26
|
-
.tide-flex-column {flex-direction: column;}
|
|
27
|
-
.tide-flex-column-reverse {flex-direction: column-reverse;}
|
|
28
|
-
.tide-flex-row {flex-direction: row;}
|
|
29
|
-
.tide-flex-row-reverse {flex-direction: row-reverse;}
|
|
30
|
-
|
|
31
|
-
.tide-grow {flex-grow: 1;}
|
|
32
|
-
.tide-grow-none {flex-grow: 0;}
|
|
33
|
-
|
|
34
|
-
.tide-shrink {flex-shrink: 1;}
|
|
35
|
-
.tide-shrink-none {flex-shrink: 0;}
|
|
36
|
-
|
|
37
|
-
.tide-flex-wrap {flex-wrap: wrap;}
|
|
38
|
-
|
|
39
|
-
.tide-axis1-around {justify-content: space-around;}
|
|
40
|
-
.tide-axis1-between {justify-content: space-between;}
|
|
41
|
-
.tide-axis1-center {justify-content: center;}
|
|
42
|
-
.tide-axis1-end {justify-content: end;}
|
|
43
|
-
.tide-axis1-start {justify-content: start;}
|
|
44
|
-
|
|
45
|
-
.tide-axis2-around {align-items: space-around;}
|
|
46
|
-
.tide-axis2-center {align-items: center;}
|
|
47
|
-
.tide-axis2-end {align-items: flex-end;}
|
|
48
|
-
.tide-axis2-start {align-items: flex-start;}
|
|
49
|
-
.tide-axis2-stretch {align-items: stretch;}
|
|
50
|
-
|
|
51
|
-
.tide-gap-0 {gap: 0;}
|
|
52
|
-
.tide-gap-1\/4 {gap: var(--tide-spacing-1\/4);}
|
|
53
|
-
.tide-gap-1\/2 {gap: var(--tide-spacing-1\/2);}
|
|
54
|
-
.tide-gap-1 {gap: var(--tide-spacing-1);}
|
|
55
|
-
.tide-gap-2 {gap: var(--tide-spacing-2);}
|
|
56
|
-
.tide-gap-4 {gap: var(--tide-spacing-4);}
|
|
57
|
-
|
|
58
|
-
.tide-flex-basis-auto {flex-basis: auto;}
|
|
59
|
-
.tide-flex-basis-0 {flex-basis: 0;}
|
|
60
|
-
|
|
61
|
-
/* Box Sizing */
|
|
62
|
-
.tide-box-border {box-sizing: border-box;}
|
|
63
|
-
.tide-box-content {box-sizing: content-box;}
|
|
64
|
-
|
|
65
|
-
/* Margin */
|
|
66
|
-
.tide-margin-0 {margin: 0;}
|
|
67
|
-
.tide-margin-1\/4 {margin: var(--tide-spacing-1\/4);}
|
|
68
|
-
.tide-margin-1\/2 {margin: var(--tide-spacing-1\/2);}
|
|
69
|
-
.tide-margin-1 {margin: var(--tide-spacing-1);}
|
|
70
|
-
.tide-margin-2 {margin: var(--tide-spacing-2);}
|
|
71
|
-
.tide-margin-4 {margin: var(--tide-spacing-4);}
|
|
72
|
-
.tide-margin-auto {margin: auto;}
|
|
73
|
-
|
|
74
|
-
.tide-margin-x-0 {margin-left: 0; margin-right: 0;}
|
|
75
|
-
.tide-margin-x-1\/4 {margin-left: var(--tide-spacing-1\/4); margin-right: var(--tide-spacing-1\/4);}
|
|
76
|
-
.tide-margin-x-1\/2 {margin-left: var(--tide-spacing-1\/2); margin-right: var(--tide-spacing-1\/2);}
|
|
77
|
-
.tide-margin-x-1 {margin-left: var(--tide-spacing-1); margin-right: var(--tide-spacing-1);}
|
|
78
|
-
.tide-margin-x-2 {margin-left: var(--tide-spacing-2); margin-right: var(--tide-spacing-2);}
|
|
79
|
-
.tide-margin-x-4 {margin-left: var(--tide-spacing-4); margin-right: var(--tide-spacing-4);}
|
|
80
|
-
.tide-margin-x-auto {margin-left: auto; margin-right: auto;}
|
|
81
|
-
|
|
82
|
-
.tide-margin-y-0 {margin-top: 0; margin-bottom: 0;}
|
|
83
|
-
.tide-margin-y-1\/4 {margin-top: var(--tide-spacing-1\/4); margin-bottom: var(--tide-spacing-1\/4);}
|
|
84
|
-
.tide-margin-y-1\/2 {margin-top: var(--tide-spacing-1\/2); margin-bottom: var(--tide-spacing-1\/2);}
|
|
85
|
-
.tide-margin-y-1 {margin-top: var(--tide-spacing-1); margin-bottom: var(--tide-spacing-1);}
|
|
86
|
-
.tide-margin-y-2 {margin-top: var(--tide-spacing-2); margin-bottom: var(--tide-spacing-2);}
|
|
87
|
-
.tide-margin-y-4 {margin-top: var(--tide-spacing-4); margin-bottom: var(--tide-spacing-4);}
|
|
88
|
-
.tide-margin-y-auto {margin-top: auto; margin-bottom: auto;}
|
|
89
|
-
|
|
90
|
-
.tide-margin-top-0 {margin-top: 0;}
|
|
91
|
-
.tide-margin-top-1\/4 {margin-top: var(--tide-spacing-1\/4);}
|
|
92
|
-
.tide-margin-top-1\/2 {margin-top: var(--tide-spacing-1\/2);}
|
|
93
|
-
.tide-margin-top-1 {margin-top: var(--tide-spacing-1);}
|
|
94
|
-
.tide-margin-top-2 {margin-top: var(--tide-spacing-2);}
|
|
95
|
-
.tide-margin-top-4 {margin-top: var(--tide-spacing-4);}
|
|
96
|
-
.tide-margin-top-auto {margin-top: auto;}
|
|
97
|
-
|
|
98
|
-
.tide-margin-right-0 {margin-right: 0;}
|
|
99
|
-
.tide-margin-right-1\/4 {margin-right: var(--tide-spacing-1\/4);}
|
|
100
|
-
.tide-margin-right-1\/2 {margin-right: var(--tide-spacing-1\/2);}
|
|
101
|
-
.tide-margin-right-1 {margin-right: var(--tide-spacing-1);}
|
|
102
|
-
.tide-margin-right-2 {margin-right: var(--tide-spacing-2);}
|
|
103
|
-
.tide-margin-right-4 {margin-right: var(--tide-spacing-4);}
|
|
104
|
-
.tide-margin-right-auto {margin-right: auto;}
|
|
105
|
-
|
|
106
|
-
.tide-margin-bottom-0 {margin-bottom: 0;}
|
|
107
|
-
.tide-margin-bottom-1\/4 {margin-bottom: var(--tide-spacing-1\/4);}
|
|
108
|
-
.tide-margin-bottom-1\/2 {margin-bottom: var(--tide-spacing-1\/2);}
|
|
109
|
-
.tide-margin-bottom-1 {margin-bottom: var(--tide-spacing-1);}
|
|
110
|
-
.tide-margin-bottom-2 {margin-bottom: var(--tide-spacing-2);}
|
|
111
|
-
.tide-margin-bottom-4 {margin-bottom: var(--tide-spacing-4);}
|
|
112
|
-
.tide-margin-bottom-auto {margin-bottom: auto;}
|
|
113
|
-
|
|
114
|
-
.tide-margin-left-0 {margin-left: 0;}
|
|
115
|
-
.tide-margin-left-1\/4 {margin-left: var(--tide-spacing-1\/4);}
|
|
116
|
-
.tide-margin-left-1\/2 {margin-left: var(--tide-spacing-1\/2);}
|
|
117
|
-
.tide-margin-left-1 {margin-left: var(--tide-spacing-1);}
|
|
118
|
-
.tide-margin-left-2 {margin-left: var(--tide-spacing-2);}
|
|
119
|
-
.tide-margin-left-4 {margin-left: var(--tide-spacing-4);}
|
|
120
|
-
.tide-margin-left-auto {margin-left: auto;}
|
|
121
|
-
|
|
122
|
-
/* Border Color */
|
|
123
|
-
.tide-border-color-initial {border-color: initial;}
|
|
124
|
-
|
|
125
|
-
.tide-border-error {border-color: var(--tide-error-border);}
|
|
126
|
-
.tide-border-info {border-color: var(--tide-info-border);}
|
|
127
|
-
.tide-border-success {border-color: var(--tide-success-border);}
|
|
128
|
-
.tide-border-warning {border-color: var(--tide-warning-border);}
|
|
129
|
-
|
|
130
|
-
.tide-border-blue {border-color: var(--tide-blue-border);}
|
|
131
|
-
.tide-border-green {border-color: var(--tide-green-border);}
|
|
132
|
-
.tide-border-lime {border-color: var(--tide-lime-border);}
|
|
133
|
-
.tide-border-orange {border-color: var(--tide-orange-border);}
|
|
134
|
-
.tide-border-purple {border-color: var(--tide-purple-border);}
|
|
135
|
-
.tide-border-red {border-color: var(--tide-red-border);}
|
|
136
|
-
.tide-border-salmon {border-color: var(--tide-salmon-border);}
|
|
137
|
-
.tide-border-teal {border-color: var(--tide-teal-border);}
|
|
138
|
-
.tide-border-yellow {border-color: var(--tide-yellow-border);}
|
|
139
|
-
|
|
140
|
-
/* Border Width */
|
|
141
|
-
.tide-border-1,
|
|
142
|
-
.tide-border-2,
|
|
143
|
-
.tide-border-bottom-1,
|
|
144
|
-
.tide-border-bottom-2,
|
|
145
|
-
.tide-border-left-1,
|
|
146
|
-
.tide-border-left-2,
|
|
147
|
-
.tide-border-right-1,
|
|
148
|
-
.tide-border-right-2,
|
|
149
|
-
.tide-border-top-1,
|
|
150
|
-
.tide-border-top-2 {
|
|
151
|
-
border-style: solid;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.tide-border-dashed {border-style: dashed;}
|
|
155
|
-
.tide-border-solid {border-style: solid;}
|
|
156
|
-
|
|
157
|
-
.tide-border-0 {border-width: 0;}
|
|
158
|
-
.tide-border-1 {border-width: var(--tide-border-width-1);}
|
|
159
|
-
.tide-border-2 {border-width: var(--tide-border-width-2);}
|
|
160
|
-
|
|
161
|
-
.tide-border-top-0 {border-top-width: 0;}
|
|
162
|
-
.tide-border-right-0 {border-right-width: 0;}
|
|
163
|
-
.tide-border-bottom-0 {border-bottom-width: 0;}
|
|
164
|
-
.tide-border-left-0 {border-left-width: 0;}
|
|
165
|
-
|
|
166
|
-
.tide-border-top-1 {border-top-width: var(--tide-border-width-1);}
|
|
167
|
-
.tide-border-right-1 {border-right-width: var(--tide-border-width-1);}
|
|
168
|
-
.tide-border-bottom-1 {border-bottom-width: var(--tide-border-width-1);}
|
|
169
|
-
.tide-border-left-1 {border-left-width: var(--tide-border-width-1);}
|
|
170
|
-
|
|
171
|
-
.tide-border-top-2 {border-top-width: var(--tide-border-width-2);}
|
|
172
|
-
.tide-border-right-2 {border-right-width: var(--tide-border-width-2);}
|
|
173
|
-
.tide-border-bottom-2 {border-bottom-width: var(--tide-border-width-2);}
|
|
174
|
-
.tide-border-left-2 {border-left-width: var(--tide-border-width-2);}
|
|
175
|
-
|
|
176
|
-
.tide-radius-0 {border-radius: 0;}
|
|
177
|
-
.tide-radius-1\/4 {border-radius: var(--tide-radius-1\/4);}
|
|
178
|
-
.tide-radius-1\/2 {border-radius: var(--tide-radius-1\/2);}
|
|
179
|
-
.tide-radius-1 {border-radius: var(--tide-radius-1);}
|
|
180
|
-
.tide-radius-full {border-radius: var(--tide-radius-full);}
|
|
181
|
-
|
|
182
|
-
/* Padding */
|
|
183
|
-
.tide-padding-0 {padding: 0;}
|
|
184
|
-
.tide-padding-1\/4 {padding: var(--tide-spacing-1\/4);}
|
|
185
|
-
.tide-padding-1\/2 {padding: var(--tide-spacing-1\/2);}
|
|
186
|
-
.tide-padding-1 {padding: var(--tide-spacing-1);}
|
|
187
|
-
.tide-padding-2 {padding: var(--tide-spacing-2);}
|
|
188
|
-
.tide-padding-4 {padding: var(--tide-spacing-4);}
|
|
189
|
-
|
|
190
|
-
.tide-padding-x-0 {padding-left: 0; padding-right: 0;}
|
|
191
|
-
.tide-padding-x-1\/4 {padding-left: var(--tide-spacing-1\/4); padding-right: var(--tide-spacing-1\/4);}
|
|
192
|
-
.tide-padding-x-1\/2 {padding-left: var(--tide-spacing-1\/2); padding-right: var(--tide-spacing-1\/2);}
|
|
193
|
-
.tide-padding-x-1 {padding-left: var(--tide-spacing-1); padding-right: var(--tide-spacing-1);}
|
|
194
|
-
.tide-padding-x-2 {padding-left: var(--tide-spacing-2); padding-right: var(--tide-spacing-2);}
|
|
195
|
-
.tide-padding-x-4 {padding-left: var(--tide-spacing-4); padding-right: var(--tide-spacing-4);}
|
|
196
|
-
|
|
197
|
-
.tide-padding-y-0 {padding-top: 0; padding-bottom: 0;}
|
|
198
|
-
.tide-padding-y-1\/4 {padding-top: var(--tide-spacing-1\/4); padding-bottom: var(--tide-spacing-1\/4);}
|
|
199
|
-
.tide-padding-y-1\/2 {padding-top: var(--tide-spacing-1\/2); padding-bottom: var(--tide-spacing-1\/2);}
|
|
200
|
-
.tide-padding-y-1 {padding-top: var(--tide-spacing-1); padding-bottom: var(--tide-spacing-1);}
|
|
201
|
-
.tide-padding-y-2 {padding-top: var(--tide-spacing-2); padding-bottom: var(--tide-spacing-2);}
|
|
202
|
-
.tide-padding-y-4 {padding-top: var(--tide-spacing-4); padding-bottom: var(--tide-spacing-4);}
|
|
203
|
-
|
|
204
|
-
.tide-padding-top-0 {padding-top: 0;}
|
|
205
|
-
.tide-padding-top-1\/4 {padding-top: var(--tide-spacing-1\/4);}
|
|
206
|
-
.tide-padding-top-1\/2 {padding-top: var(--tide-spacing-1\/2);}
|
|
207
|
-
.tide-padding-top-1 {padding-top: var(--tide-spacing-1);}
|
|
208
|
-
.tide-padding-top-2 {padding-top: var(--tide-spacing-2);}
|
|
209
|
-
.tide-padding-top-4 {padding-top: var(--tide-spacing-4);}
|
|
210
|
-
|
|
211
|
-
.tide-padding-right-0 {padding-right: 0;}
|
|
212
|
-
.tide-padding-right-1\/4 {padding-right: var(--tide-spacing-1\/4);}
|
|
213
|
-
.tide-padding-right-1\/2 {padding-right: var(--tide-spacing-1\/2);}
|
|
214
|
-
.tide-padding-right-1 {padding-right: var(--tide-spacing-1);}
|
|
215
|
-
.tide-padding-right-2 {padding-right: var(--tide-spacing-2);}
|
|
216
|
-
.tide-padding-right-4 {padding-right: var(--tide-spacing-4);}
|
|
217
|
-
|
|
218
|
-
.tide-padding-bottom-0 {padding-bottom: 0;}
|
|
219
|
-
.tide-padding-bottom-1\/4 {padding-bottom: var(--tide-spacing-1\/4);}
|
|
220
|
-
.tide-padding-bottom-1\/2 {padding-bottom: var(--tide-spacing-1\/2);}
|
|
221
|
-
.tide-padding-bottom-1 {padding-bottom: var(--tide-spacing-1);}
|
|
222
|
-
.tide-padding-bottom-2 {padding-bottom: var(--tide-spacing-2);}
|
|
223
|
-
.tide-padding-bottom-4 {padding-bottom: var(--tide-spacing-4);}
|
|
224
|
-
|
|
225
|
-
.tide-padding-left-0 {padding-left: 0;}
|
|
226
|
-
.tide-padding-left-1\/4 {padding-left: var(--tide-spacing-1\/4);}
|
|
227
|
-
.tide-padding-left-1\/2 {padding-left: var(--tide-spacing-1\/2);}
|
|
228
|
-
.tide-padding-left-1 {padding-left: var(--tide-spacing-1);}
|
|
229
|
-
.tide-padding-left-2 {padding-left: var(--tide-spacing-2);}
|
|
230
|
-
.tide-padding-left-4 {padding-left: var(--tide-spacing-4);}
|
|
231
|
-
|
|
232
|
-
/* Dimension */
|
|
233
|
-
.tide-max-width-full {max-width: 100%;}
|
|
234
|
-
.tide-min-width-0 {min-width: 0;}
|
|
235
|
-
|
|
236
|
-
.tide-max-height-full {max-height: 100%;}
|
|
237
|
-
.tide-min-height-0 {min-height: 0;}
|
|
238
|
-
|
|
239
|
-
.tide-width-auto {width: auto;}
|
|
240
|
-
.tide-width-0 {width: 0;}
|
|
241
|
-
.tide-width-full {width: 100%;}
|
|
242
|
-
|
|
243
|
-
.tide-height-auto {height: auto;}
|
|
244
|
-
.tide-height-0 {height: 0;}
|
|
245
|
-
.tide-height-full {height: 100%;}
|
|
246
|
-
|
|
247
|
-
/* Deprecated */
|
|
248
|
-
.tide-width-container {max-width: 1168px;}
|
|
249
|
-
|
|
250
|
-
/* Background */
|
|
251
|
-
.tide-bg-initial {background-color: initial;}
|
|
252
|
-
|
|
253
|
-
/* Icon background colors only */
|
|
254
|
-
.tide-bg-primary-error {background-color: var(--tide-error-primary);}
|
|
255
|
-
.tide-bg-primary-info {background-color: var(--tide-info-primary);}
|
|
256
|
-
.tide-bg-primary-success {background-color: var(--tide-success-primary);}
|
|
257
|
-
.tide-bg-primary-warning {background-color: var(--tide-warning-primary);}
|
|
258
|
-
|
|
259
|
-
.tide-bg-surface-error {background-color: var(--tide-error-surface);}
|
|
260
|
-
.tide-bg-surface-info {background-color: var(--tide-info-surface);}
|
|
261
|
-
.tide-bg-surface-success {background-color: var(--tide-success-surface);}
|
|
262
|
-
.tide-bg-surface-warning {background-color: var(--tide-warning-surface);}
|
|
263
|
-
|
|
264
|
-
.tide-bg-surface-blue {background-color: var(--tide-blue-surface);}
|
|
265
|
-
.tide-bg-surface-green {background-color: var(--tide-green-surface);}
|
|
266
|
-
.tide-bg-surface-lime {background-color: var(--tide-lime-surface);}
|
|
267
|
-
.tide-bg-surface-orange {background-color: var(--tide-orange-surface);}
|
|
268
|
-
.tide-bg-surface-purple {background-color: var(--tide-purple-surface);}
|
|
269
|
-
.tide-bg-surface-red {background-color: var(--tide-red-surface);}
|
|
270
|
-
.tide-bg-surface-salmon {background-color: var(--tide-salmon-surface);}
|
|
271
|
-
.tide-bg-surface-teal {background-color: var(--tide-teal-surface);}
|
|
272
|
-
.tide-bg-surface-yellow {background-color: var(--tide-yellow-surface);}
|
|
273
|
-
|
|
274
|
-
.tide-transparent-100 {background-color: var(--tide-transparent-100);}
|
|
275
|
-
.tide-transparent-200 {background-color: var(--tide-transparent-200);}
|
|
276
|
-
.tide-transparent-300 {background-color: var(--tide-transparent-300);}
|
|
277
|
-
.tide-transparent-400 {background-color: var(--tide-transparent-400);}
|
|
278
|
-
|
|
279
|
-
/* Typographic roles */
|
|
280
|
-
.tide-typography-display-1 {font-size: var(--tide-font-32); font-weight: 700;}
|
|
281
|
-
.tide-typography-headline-1 {font-size: var(--tide-font-24); font-weight: 700;}
|
|
282
|
-
.tide-typography-headline-2 {font-size: var(--tide-font-20); font-weight: 700;}
|
|
283
|
-
.tide-typography-headline-3 {font-size: var(--tide-font-16); font-weight: 700;}
|
|
284
|
-
.tide-typography-title-1 {font-size: var(--tide-font-20); font-weight: 600;}
|
|
285
|
-
.tide-typography-title-2 {font-size: var(--tide-font-18); font-weight: 600;}
|
|
286
|
-
.tide-typography-body-1 {font-size: var(--tide-font-16); font-weight: 400;}
|
|
287
|
-
.tide-typography-body-2 {font-size: var(--tide-font-14); font-weight: 400;}
|
|
288
|
-
.tide-typography-label-1 {font-size: var(--tide-font-16); font-weight: 500;}
|
|
289
|
-
.tide-typography-label-1-semibold {font-size: var(--tide-font-16); font-weight: 600;}
|
|
290
|
-
.tide-typography-label-2 {font-size: var(--tide-font-14); font-weight: 500;}
|
|
291
|
-
.tide-typography-label-2-semibold {font-size: var(--tide-font-14); font-weight: 600;}
|
|
292
|
-
.tide-typography-label-3 {font-size: var(--tide-font-12); font-weight: 500;}
|
|
293
|
-
.tide-typography-link-1 {font-size: var(--tide-font-16); font-weight: 500;}
|
|
294
|
-
.tide-typography-link-2 {font-size: var(--tide-font-14); font-weight: 500;}
|
|
295
|
-
.tide-typography-link-3 {font-size: var(--tide-font-12); font-weight: 500;}
|
|
296
|
-
.tide-typography-button-1 {font-size: var(--tide-font-16); font-weight: 600;}
|
|
297
|
-
.tide-typography-button-2 {font-size: var(--tide-font-14); font-weight: 600;}
|
|
298
|
-
|
|
299
|
-
/* Font Color */
|
|
300
|
-
.tide-font-error {color: var(--tide-error-primary);}
|
|
301
|
-
.tide-font-info {color: var(--tide-info-primary);}
|
|
302
|
-
.tide-font-success {color: var(--tide-success-primary);}
|
|
303
|
-
.tide-font-warning {color: var(--tide-warning-primary);}
|
|
304
|
-
|
|
305
|
-
.tide-font-blue {color: var(--tide-blue-on-surface);}
|
|
306
|
-
.tide-font-green {color: var(--tide-green-on-surface);}
|
|
307
|
-
.tide-font-lime {color: var(--tide-lime-on-surface);}
|
|
308
|
-
.tide-font-orange {color: var(--tide-orange-on-surface);}
|
|
309
|
-
.tide-font-purple {color: var(--tide-purple-on-surface);}
|
|
310
|
-
.tide-font-red {color: var(--tide-red-on-surface);}
|
|
311
|
-
.tide-font-salmon {color: var(--tide-salmon-on-surface);}
|
|
312
|
-
.tide-font-teal {color: var(--tide-teal-on-surface);}
|
|
313
|
-
.tide-font-yellow {color: var(--tide-yellow-on-surface);}
|
|
314
|
-
|
|
315
|
-
/* Badge icon colors only */
|
|
316
|
-
.tide-font-primary-blue {color: var(--tide-blue-primary);}
|
|
317
|
-
.tide-font-primary-green {color: var(--tide-green-primary);}
|
|
318
|
-
.tide-font-primary-lime {color: var(--tide-lime-primary);}
|
|
319
|
-
.tide-font-primary-orange {color: var(--tide-orange-primary);}
|
|
320
|
-
.tide-font-primary-purple {color: var(--tide-purple-primary);}
|
|
321
|
-
.tide-font-primary-red {color: var(--tide-red-primary);}
|
|
322
|
-
.tide-font-primary-salmon {color: var(--tide-salmon-primary);}
|
|
323
|
-
.tide-font-primary-teal {color: var(--tide-teal-primary);}
|
|
324
|
-
.tide-font-primary-yellow {color: var(--tide-yellow-primary);}
|
|
325
|
-
|
|
326
|
-
/* Font Size */
|
|
327
|
-
.tide-font-10 {font-size: var(--tide-font-10);}
|
|
328
|
-
.tide-font-12 {font-size: var(--tide-font-12);}
|
|
329
|
-
.tide-font-14 {font-size: var(--tide-font-14);}
|
|
330
|
-
.tide-font-16 {font-size: var(--tide-font-16);}
|
|
331
|
-
.tide-font-20 {font-size: var(--tide-font-20);}
|
|
332
|
-
.tide-font-24 {font-size: var(--tide-font-24);}
|
|
333
|
-
.tide-font-32 {font-size: var(--tide-font-32);}
|
|
334
|
-
|
|
335
|
-
/* Font Weight */
|
|
336
|
-
.tide-font-400 {font-weight: 400;}
|
|
337
|
-
.tide-font-500 {font-weight: 500;}
|
|
338
|
-
.tide-font-600 {font-weight: 600;}
|
|
339
|
-
.tide-font-700 {font-weight: 700;}
|
|
340
|
-
|
|
341
|
-
/* Misc */
|
|
342
|
-
.tide-align-middle {vertical-align: middle;}
|
|
343
|
-
.tide-align-initial {vertical-align: initial;}
|
|
344
|
-
|
|
345
|
-
.tide-bg-blur {backdrop-filter: var(--tide-bg-blur);}
|
|
346
|
-
|
|
347
|
-
.tide-break-initial {overflow-wrap: initial;}
|
|
348
|
-
.tide-break-word {overflow-wrap: break-word;}
|
|
349
|
-
|
|
350
|
-
.tide-break-inside-avoid-column {break-inside: avoid-column}
|
|
351
|
-
|
|
352
|
-
.tide-columns-initial {column-count: initial;}
|
|
353
|
-
.tide-columns-1 {column-count: 1;}
|
|
354
|
-
.tide-columns-2 {column-count: 2;}
|
|
355
|
-
.tide-columns-3 {column-count: 3;}
|
|
356
|
-
.tide-columns-4 {column-count: 4;}
|
|
357
|
-
|
|
358
|
-
.tide-cursor-not-allowed {cursor: not-allowed;}
|
|
359
|
-
.tide-cursor-pointer {cursor: pointer;}
|
|
360
|
-
.tide-cursor-text {cursor: text;}
|
|
361
|
-
|
|
362
|
-
.tide-ellipsis {
|
|
363
|
-
overflow: hidden;
|
|
364
|
-
text-overflow: ellipsis;
|
|
365
|
-
white-space: nowrap;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
.tide-isolate {isolation: isolate;}
|
|
369
|
-
|
|
370
|
-
/* Deprecated */
|
|
371
|
-
.tide-leading-default {line-height: 1.4;}
|
|
372
|
-
.tide-leading-normal {line-height: normal;}
|
|
373
|
-
|
|
374
|
-
.tide-list-none {list-style-type: none;}
|
|
375
|
-
|
|
376
|
-
.tide-object-center {object-position: center;}
|
|
377
|
-
|
|
378
|
-
.tide-object-cover {object-fit: cover;}
|
|
379
|
-
.tide-object-contain {object-fit: contain;}
|
|
380
|
-
.tide-object-scale-down {object-fit: scale-down;}
|
|
381
|
-
|
|
382
|
-
.tide-opacity {opacity: 1;}
|
|
383
|
-
.tide-opacity-none {opacity: 0;}
|
|
384
|
-
|
|
385
|
-
.tide-pointer-events {pointer-events: auto;}
|
|
386
|
-
.tide-pointer-events-none {pointer-events: none;}
|
|
387
|
-
|
|
388
|
-
.tide-ratio-1\/1 {aspect-ratio: 1 / 1;}
|
|
389
|
-
.tide-ratio-16\/9 {aspect-ratio: 16 / 9;}
|
|
390
|
-
.tide-ratio-3\/2 {aspect-ratio: 3 / 2;}
|
|
391
|
-
|
|
392
|
-
.tide-scrollbar-none::-webkit-scrollbar {display: none;}
|
|
393
|
-
.tide-scrollbar-none {
|
|
394
|
-
-ms-overflow-style: none;
|
|
395
|
-
scrollbar-width: none;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.tide-scroll-snap {
|
|
399
|
-
scroll-snap-stop: always;
|
|
400
|
-
scroll-snap-type: both mandatory;
|
|
401
|
-
scroll-behavior: smooth;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
.tide-scroll-snap-start {
|
|
405
|
-
scroll-snap-align: start;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
.tide-shadow-initial {box-shadow: initial;}
|
|
409
|
-
.tide-shadow-bottom {box-shadow: var(--tide-shadow-bottom);}
|
|
410
|
-
.tide-shadow-top {box-shadow: var(--tide-shadow-top);}
|
|
411
|
-
.tide-shadow-text {text-shadow: var(--tide-shadow-text);}
|
|
412
|
-
|
|
413
|
-
.tide-strikethrough {text-decoration: line-through;}
|
|
414
|
-
.tide-strikethrough-none {text-decoration: none;}
|
|
415
|
-
|
|
416
|
-
.tide-text-center {text-align: center;}
|
|
417
|
-
.tide-text-justify {text-align: justify;}
|
|
418
|
-
.tide-text-left {text-align: left;}
|
|
419
|
-
.tide-text-right {text-align: right;}
|
|
420
|
-
|
|
421
|
-
.tide-text-transform-lower {text-transform: lowercase;}
|
|
422
|
-
.tide-text-transform-none {text-transform: none;}
|
|
423
|
-
.tide-text-transform-upper {text-transform: uppercase;}
|
|
424
|
-
|
|
425
|
-
.tide-underline {text-decoration: underline;}
|
|
426
|
-
.tide-underline-none {text-decoration: none;}
|
|
427
|
-
.tide-underline-hover:hover {text-decoration: underline;}
|
|
428
|
-
.tide-underline-hover-none:hover {text-decoration: none;}
|
|
429
|
-
|
|
430
|
-
.tide-visible {visibility: visible;}
|
|
431
|
-
.tide-visible-none {visibility: hidden;}
|
|
432
|
-
|
|
433
|
-
.tide-whitespace-nowrap {white-space: nowrap;}
|
|
434
|
-
|
|
435
|
-
.tide-x-auto {overflow-x: auto;}
|
|
436
|
-
.tide-x-hidden {overflow-x: hidden;}
|
|
437
|
-
.tide-x-scroll {overflow-x: scroll;}
|
|
438
|
-
|
|
439
|
-
.tide-xy-auto {overflow: auto;}
|
|
440
|
-
.tide-xy-hidden {overflow: hidden;}
|
|
441
|
-
|
|
442
|
-
.tide-y-auto {overflow-y: auto;}
|
|
443
|
-
.tide-y-hidden {overflow-y: hidden;}
|
|
444
|
-
|
|
445
|
-
.tide-z-index-initial {z-index: initial;}
|
|
446
|
-
.tide-z-index-1 {z-index: 1;}
|
|
1
|
+
@import './utilities-base.css';
|
|
2
|
+
@import './utilities-responsive.css';
|
|
@@ -69,10 +69,8 @@
|
|
|
69
69
|
/>
|
|
70
70
|
</div>
|
|
71
71
|
|
|
72
|
-
<div :class="['tide-alert-heading', CSS.DISPLAY.FLEX, CSS.AXIS2.CENTER]">
|
|
73
|
-
|
|
74
|
-
{{ props.heading }}
|
|
75
|
-
</h2>
|
|
72
|
+
<div :class="['tide-alert-heading', CSS.DISPLAY.FLEX, CSS.AXIS2.CENTER, CSS.FONT.ROLE.LABEL_1_SEMIBOLD]">
|
|
73
|
+
{{ props.heading }}
|
|
76
74
|
</div>
|
|
77
75
|
|
|
78
76
|
<TideButtonIcon
|
|
@@ -100,12 +100,12 @@
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.tide-input-radio-custom {
|
|
103
|
-
width:
|
|
104
|
-
height:
|
|
103
|
+
width: 24px;
|
|
104
|
+
height: 24px;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.tide-input-radio-check {
|
|
108
|
-
width:
|
|
109
|
-
height:
|
|
108
|
+
width: 16px;
|
|
109
|
+
height: 16px;
|
|
110
110
|
}
|
|
111
111
|
</style>
|
|
@@ -108,12 +108,15 @@
|
|
|
108
108
|
<header
|
|
109
109
|
:class="[
|
|
110
110
|
'tide-modal-header',
|
|
111
|
-
CSS.DISPLAY.FLEX,
|
|
112
111
|
CSS.AXIS2.CENTER,
|
|
113
|
-
CSS.GAP.HALF,
|
|
114
|
-
CSS.PADDING.Y.ONE,
|
|
115
112
|
CSS.BORDER.BOTTOM.ONE,
|
|
116
113
|
CSS.BORDER.COLOR.LOW,
|
|
114
|
+
CSS.DISPLAY.FLEX,
|
|
115
|
+
CSS.GAP.HALF,
|
|
116
|
+
CSS.ISOLATION.ISOLATE,
|
|
117
|
+
CSS.PADDING.Y.ONE,
|
|
118
|
+
CSS.POSITION.RELATIVE,
|
|
119
|
+
CSS.Z_INDEX.ONE,
|
|
117
120
|
]"
|
|
118
121
|
>
|
|
119
122
|
<TideButtonIcon
|
|
@@ -142,10 +145,11 @@
|
|
|
142
145
|
:class="[
|
|
143
146
|
'tide-modal-content',
|
|
144
147
|
CSS.DISPLAY.GRID,
|
|
145
|
-
CSS.
|
|
148
|
+
CSS.ISOLATION.ISOLATE,
|
|
146
149
|
CSS.OVERFLOW.X.HIDDEN,
|
|
147
|
-
CSS.
|
|
150
|
+
CSS.OVERFLOW.Y.AUTO,
|
|
148
151
|
CSS.PADDING.Y.TWO,
|
|
152
|
+
CSS.WIDTH.FULL,
|
|
149
153
|
]"
|
|
150
154
|
ref="modalContent"
|
|
151
155
|
>
|
|
@@ -153,7 +157,15 @@
|
|
|
153
157
|
</div>
|
|
154
158
|
|
|
155
159
|
<footer
|
|
156
|
-
:class="[
|
|
160
|
+
:class="[
|
|
161
|
+
'tide-modal-footer',
|
|
162
|
+
CSS.AXIS1.END,
|
|
163
|
+
CSS.DISPLAY.FLEX,
|
|
164
|
+
CSS.GAP.TWO,
|
|
165
|
+
CSS.ISOLATION.ISOLATE,
|
|
166
|
+
CSS.PADDING.Y.ONE,
|
|
167
|
+
CSS.SHADOW.TOP,
|
|
168
|
+
]"
|
|
157
169
|
v-if="$slots.footer"
|
|
158
170
|
>
|
|
159
171
|
<slot name="footer" />
|
|
@@ -87,7 +87,16 @@
|
|
|
87
87
|
CSS.WIDTH.FULL,
|
|
88
88
|
]"
|
|
89
89
|
>
|
|
90
|
-
<header
|
|
90
|
+
<header
|
|
91
|
+
:class="[
|
|
92
|
+
CSS.DISPLAY.FLEX,
|
|
93
|
+
CSS.ISOLATION.ISOLATE,
|
|
94
|
+
CSS.PADDING.TOP.ONE,
|
|
95
|
+
CSS.PADDING.X.ONE,
|
|
96
|
+
CSS.POSITION.RELATIVE,
|
|
97
|
+
CSS.Z_INDEX.ONE,
|
|
98
|
+
]"
|
|
99
|
+
>
|
|
91
100
|
<TideButtonIcon
|
|
92
101
|
:class="[CSS.FLEX.GROW.OFF, CSS.FLEX.SHRINK.OFF]"
|
|
93
102
|
:icon="ICON.CHEVRON_LEFT"
|
|
@@ -114,6 +123,7 @@
|
|
|
114
123
|
CSS.OVERFLOW.X.HIDDEN,
|
|
115
124
|
CSS.WIDTH.FULL,
|
|
116
125
|
CSS.PADDING.BOTTOM.ONE,
|
|
126
|
+
CSS.ISOLATION.ISOLATE,
|
|
117
127
|
]"
|
|
118
128
|
>
|
|
119
129
|
<slot />
|
|
@@ -12,17 +12,10 @@
|
|
|
12
12
|
`import 'node_modules/tide-design-system/dist/css/main.css';`
|
|
13
13
|
|
|
14
14
|
2. Cherry-picked:
|
|
15
|
-
- `import 'node_modules/tide-design-system/dist/css/main.css';`
|
|
16
15
|
- `import 'node_modules/tide-design-system/dist/css/fonts.css';`
|
|
17
16
|
- `import 'node_modules/tide-design-system/dist/css/reset.css';`
|
|
18
17
|
- `import 'node_modules/tide-design-system/dist/css/variables.css';`
|
|
19
18
|
- `import 'node_modules/tide-design-system/dist/css/utilities.css';`
|
|
20
|
-
- `import 'node_modules/tide-design-system/dist/css/utilities-sm.css';`
|
|
21
|
-
- `import 'node_modules/tide-design-system/dist/css/utilities-md.css';`
|
|
22
|
-
- `import 'node_modules/tide-design-system/dist/css/utilities-lg.css';`
|
|
23
|
-
- `import 'node_modules/tide-design-system/dist/css/utilities-xl.css';`
|
|
24
|
-
- `import 'node_modules/tide-design-system/dist/css/dynamic-buttons.css';`
|
|
25
|
-
- `import 'node_modules/tide-design-system/dist/css/dynamic-utilities.css';`
|
|
26
19
|
- `import 'node_modules/tide-design-system/dist/css/grid-layout.css';`
|
|
27
20
|
2. Import realm-specific utilities (where applicable):
|
|
28
21
|
- `import 'node_modules/tide-design-system/dist/css/realm/aero.css';`
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Upgrading Versions
|
|
2
|
+
|
|
3
|
+
This document provides step-by-step instructions for upgrading from previous versions of the library.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Upgrading from 2.2 → 2.3
|
|
8
|
+
|
|
9
|
+
**Summary**
|
|
10
|
+
Version **2.3** consolidates certain CSS files. The same utilities can now be made globally available in a TIDE consumer repository leveraging [partial integration](./integration-partial.md) by cherry-picking a smaller set of `dist` files from the `node_modules` subdirectory.
|
|
11
|
+
|
|
12
|
+
**Important:** Upgrading to **2.3** introduces breaking changes unless deprecated imports are removed.
|
|
13
|
+
|
|
14
|
+
### Migration steps
|
|
15
|
+
|
|
16
|
+
1. **Remove deprecated imports**
|
|
17
|
+
Delete any imports that match:
|
|
18
|
+
```css
|
|
19
|
+
node_modules/tide-design-system/dist/css/utilities-*.css
|
|
20
|
+
node_modules/tide-design-system/dist/css/dynamic-*.css
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
2. **Use the consolidated file**
|
|
24
|
+
All utilities are now declared in:
|
|
25
|
+
```css
|
|
26
|
+
node_modules/tide-design-system/dist/css/utilities.css
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
✅ After these changes your project should be compatible with **TIDE 2.3**.
|
|
@@ -5,6 +5,8 @@ import TideChipInput from '@/components/TideChipInput.vue';
|
|
|
5
5
|
import { ICON } from '@/types/Icon';
|
|
6
6
|
import { argTypeBooleanUnrequired, formatArgType, formatSnippet } from '@/utilities/storybook';
|
|
7
7
|
|
|
8
|
+
type Args = InstanceType<typeof TideChipInput>['$props'];
|
|
9
|
+
|
|
8
10
|
// PARAMETERS
|
|
9
11
|
const parameters = {
|
|
10
12
|
docs: {
|
|
@@ -17,11 +19,11 @@ const parameters = {
|
|
|
17
19
|
};
|
|
18
20
|
|
|
19
21
|
// STANDARD FUNCTIONS
|
|
20
|
-
const formatArgs = (args:
|
|
22
|
+
const formatArgs = (args: Args) => {
|
|
21
23
|
return { args };
|
|
22
24
|
};
|
|
23
25
|
|
|
24
|
-
const render = (args:
|
|
26
|
+
const render = (args: Args) => ({
|
|
25
27
|
components: { TideChipInput },
|
|
26
28
|
setup() {
|
|
27
29
|
return formatArgs(args);
|
|
@@ -3,7 +3,13 @@ import { action } from '@storybook/addon-actions';
|
|
|
3
3
|
import TideAccordionItem from '@/components/TideAccordionItem.vue';
|
|
4
4
|
import { argTypeBooleanUnrequired, dataTrack, disabledArgType, doSomething, parameters } from '@/utilities/storybook';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
import type { StoryContext } from '@storybook/vue3';
|
|
7
|
+
|
|
8
|
+
type Args = InstanceType<typeof TideAccordionItem>['$props'] & {
|
|
9
|
+
handleToggle: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const render = (args: Args, context: StoryContext) => ({
|
|
7
13
|
components: { TideAccordionItem },
|
|
8
14
|
methods: {
|
|
9
15
|
doSomething,
|
|
@@ -12,7 +12,11 @@ import {
|
|
|
12
12
|
prependNoneAsUndefined,
|
|
13
13
|
} from '@/utilities/storybook';
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
type Args = InstanceType<typeof TideAlert>['$props'] & {
|
|
16
|
+
handleClose: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const render = (args: Args) => ({
|
|
16
20
|
components: { TideAlert },
|
|
17
21
|
methods: {
|
|
18
22
|
doSomething,
|