tide-design-system 2.4.5 → 2.4.7
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/.storybook/main.ts +1 -0
- package/dist/css/reset.css +1 -1
- package/dist/css/utilities-responsive.css +0 -546
- package/dist/style.css +1 -1
- package/dist/tide-design-system.cjs +2 -2
- package/dist/tide-design-system.esm.d.ts +62 -6
- package/dist/tide-design-system.esm.js +1821 -1720
- package/dist/utilities/storybook.ts +6 -2
- package/dist/utilities/validation.ts +1 -1
- package/index.ts +8 -5
- package/package.json +1 -1
- package/src/assets/css/reset.css +1 -1
- package/src/assets/css/utilities-responsive.css +0 -546
- package/src/components/InternalBaseLink.vue +11 -0
- package/src/components/TideBreadCrumbs.vue +3 -2
- package/src/components/TideButton.vue +17 -4
- package/src/components/TideButtonIcon.vue +15 -2
- package/src/components/TideButtonPagination.vue +16 -16
- package/src/components/TideButtonSegmented.vue +1 -0
- package/src/components/TideCard.vue +12 -2
- package/src/components/TideCarousel.vue +10 -5
- package/src/components/TideChipAction.vue +7 -1
- package/src/components/TideChipFilter.vue +1 -0
- package/src/components/TideChipInput.vue +1 -0
- package/src/components/TideIcon.vue +8 -9
- package/src/components/TideImage.vue +9 -9
- package/src/components/TideInputText.vue +2 -0
- package/src/components/TideInputTextDeprecated.vue +2 -0
- package/src/components/TideInputTextarea.vue +2 -2
- package/src/components/TideLink.vue +7 -1
- package/src/components/TideMenuItem.vue +83 -0
- package/src/components/TideModal.vue +91 -85
- package/src/components/TideSeoLinks.vue +3 -2
- package/src/components/TideSheet.vue +5 -3
- package/src/components/TideSwitch.vue +1 -0
- package/src/composables/useTideConfig.ts +23 -0
- package/src/stories/TideButtonPagination.stories.ts +6 -6
- package/src/stories/TideCarousel.stories.ts +0 -1
- package/src/stories/TideInputCheckbox.stories.ts +58 -23
- package/src/stories/TideInputRadio.stories.ts +39 -30
- package/src/stories/TideInputSelect.stories.ts +51 -27
- package/src/stories/TideInputText.stories.ts +83 -23
- package/src/stories/TideInputTextarea.stories.ts +66 -17
- package/src/stories/TideLink.stories.ts +1 -14
- package/src/stories/TideMenuItem.stories.ts +117 -0
- package/src/stories/TidePagination.stories.ts +2 -2
- package/src/stories/TidePopover.stories.ts +1 -1
- package/src/types/Badge.ts +4 -0
- package/src/types/Element.ts +2 -2
- package/src/types/Formatted.ts +1 -0
- package/src/types/Storybook.ts +4 -6
- package/src/types/Type.ts +6 -0
- package/src/types/Validation.ts +1 -0
- package/src/utilities/storybook.ts +6 -2
- package/src/utilities/validation.ts +1 -1
- package/tests/InternalBaseLink.spec.ts +61 -0
package/.storybook/main.ts
CHANGED
|
@@ -48,6 +48,7 @@ const config: StorybookConfig = {
|
|
|
48
48
|
'../src/stories/TideInputText.stories.ts',
|
|
49
49
|
'../src/stories/TideInputTextarea.stories.ts',
|
|
50
50
|
'../src/stories/TideLink.stories.ts',
|
|
51
|
+
'../src/stories/TideMenuItem.stories.ts',
|
|
51
52
|
'../src/stories/TideModal.stories.ts',
|
|
52
53
|
'../src/stories/TidePopover.stories.ts',
|
|
53
54
|
'../src/stories/TideSheet.stories.ts',
|
package/dist/css/reset.css
CHANGED
|
@@ -1,549 +1,3 @@
|
|
|
1
|
-
/* Reusable CSS Utility Library */
|
|
2
|
-
/* Position */
|
|
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-primary {border-color: var(--tide-primary);}
|
|
126
|
-
|
|
127
|
-
.tide-border {border-color: var(--tide-border);}
|
|
128
|
-
.tide-border-low {border-color: var(--tide-border-low);}
|
|
129
|
-
.tide-border-high {border-color: var(--tide-border-high);}
|
|
130
|
-
.tide-border-floating {border-color: var(--tide-border-floating);}
|
|
131
|
-
|
|
132
|
-
.tide-border-error {border-color: var(--tide-error-border);}
|
|
133
|
-
.tide-border-info {border-color: var(--tide-info-border);}
|
|
134
|
-
.tide-border-success {border-color: var(--tide-success-border);}
|
|
135
|
-
.tide-border-warning {border-color: var(--tide-warning-border);}
|
|
136
|
-
|
|
137
|
-
.tide-border-blue {border-color: var(--tide-blue-border);}
|
|
138
|
-
.tide-border-green {border-color: var(--tide-green-border);}
|
|
139
|
-
.tide-border-lime {border-color: var(--tide-lime-border);}
|
|
140
|
-
.tide-border-orange {border-color: var(--tide-orange-border);}
|
|
141
|
-
.tide-border-purple {border-color: var(--tide-purple-border);}
|
|
142
|
-
.tide-border-red {border-color: var(--tide-red-border);}
|
|
143
|
-
.tide-border-salmon {border-color: var(--tide-salmon-border);}
|
|
144
|
-
.tide-border-teal {border-color: var(--tide-teal-border);}
|
|
145
|
-
.tide-border-yellow {border-color: var(--tide-yellow-border);}
|
|
146
|
-
|
|
147
|
-
/* Border Width */
|
|
148
|
-
.tide-border-1,
|
|
149
|
-
.tide-border-2,
|
|
150
|
-
.tide-border-bottom-1,
|
|
151
|
-
.tide-border-bottom-2,
|
|
152
|
-
.tide-border-left-1,
|
|
153
|
-
.tide-border-left-2,
|
|
154
|
-
.tide-border-right-1,
|
|
155
|
-
.tide-border-right-2,
|
|
156
|
-
.tide-border-top-1,
|
|
157
|
-
.tide-border-top-2 {
|
|
158
|
-
border-style: solid;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.tide-border-dashed {border-style: dashed;}
|
|
162
|
-
.tide-border-solid {border-style: solid;}
|
|
163
|
-
|
|
164
|
-
.tide-border-0 {border-width: 0;}
|
|
165
|
-
.tide-border-1 {border-width: var(--tide-border-width-1);}
|
|
166
|
-
.tide-border-2 {border-width: var(--tide-border-width-2);}
|
|
167
|
-
|
|
168
|
-
.tide-border-top-0 {border-top-width: 0;}
|
|
169
|
-
.tide-border-right-0 {border-right-width: 0;}
|
|
170
|
-
.tide-border-bottom-0 {border-bottom-width: 0;}
|
|
171
|
-
.tide-border-left-0 {border-left-width: 0;}
|
|
172
|
-
|
|
173
|
-
.tide-border-top-1 {border-top-width: var(--tide-border-width-1);}
|
|
174
|
-
.tide-border-right-1 {border-right-width: var(--tide-border-width-1);}
|
|
175
|
-
.tide-border-bottom-1 {border-bottom-width: var(--tide-border-width-1);}
|
|
176
|
-
.tide-border-left-1 {border-left-width: var(--tide-border-width-1);}
|
|
177
|
-
|
|
178
|
-
.tide-border-top-2 {border-top-width: var(--tide-border-width-2);}
|
|
179
|
-
.tide-border-right-2 {border-right-width: var(--tide-border-width-2);}
|
|
180
|
-
.tide-border-bottom-2 {border-bottom-width: var(--tide-border-width-2);}
|
|
181
|
-
.tide-border-left-2 {border-left-width: var(--tide-border-width-2);}
|
|
182
|
-
|
|
183
|
-
.tide-radius-0 {border-radius: 0;}
|
|
184
|
-
.tide-radius-1\/4 {border-radius: var(--tide-radius-1\/4);}
|
|
185
|
-
.tide-radius-1\/2 {border-radius: var(--tide-radius-1\/2);}
|
|
186
|
-
.tide-radius-1 {border-radius: var(--tide-radius-1);}
|
|
187
|
-
.tide-radius-full {border-radius: var(--tide-radius-full);}
|
|
188
|
-
|
|
189
|
-
/* Padding */
|
|
190
|
-
.tide-padding-0 {padding: 0;}
|
|
191
|
-
.tide-padding-1\/4 {padding: var(--tide-spacing-1\/4);}
|
|
192
|
-
.tide-padding-1\/2 {padding: var(--tide-spacing-1\/2);}
|
|
193
|
-
.tide-padding-1 {padding: var(--tide-spacing-1);}
|
|
194
|
-
.tide-padding-2 {padding: var(--tide-spacing-2);}
|
|
195
|
-
.tide-padding-4 {padding: var(--tide-spacing-4);}
|
|
196
|
-
|
|
197
|
-
.tide-padding-x-0 {padding-left: 0; padding-right: 0;}
|
|
198
|
-
.tide-padding-x-1\/4 {padding-left: var(--tide-spacing-1\/4); padding-right: var(--tide-spacing-1\/4);}
|
|
199
|
-
.tide-padding-x-1\/2 {padding-left: var(--tide-spacing-1\/2); padding-right: var(--tide-spacing-1\/2);}
|
|
200
|
-
.tide-padding-x-1 {padding-left: var(--tide-spacing-1); padding-right: var(--tide-spacing-1);}
|
|
201
|
-
.tide-padding-x-2 {padding-left: var(--tide-spacing-2); padding-right: var(--tide-spacing-2);}
|
|
202
|
-
.tide-padding-x-4 {padding-left: var(--tide-spacing-4); padding-right: var(--tide-spacing-4);}
|
|
203
|
-
|
|
204
|
-
.tide-padding-y-0 {padding-top: 0; padding-bottom: 0;}
|
|
205
|
-
.tide-padding-y-1\/4 {padding-top: var(--tide-spacing-1\/4); padding-bottom: var(--tide-spacing-1\/4);}
|
|
206
|
-
.tide-padding-y-1\/2 {padding-top: var(--tide-spacing-1\/2); padding-bottom: var(--tide-spacing-1\/2);}
|
|
207
|
-
.tide-padding-y-1 {padding-top: var(--tide-spacing-1); padding-bottom: var(--tide-spacing-1);}
|
|
208
|
-
.tide-padding-y-2 {padding-top: var(--tide-spacing-2); padding-bottom: var(--tide-spacing-2);}
|
|
209
|
-
.tide-padding-y-4 {padding-top: var(--tide-spacing-4); padding-bottom: var(--tide-spacing-4);}
|
|
210
|
-
|
|
211
|
-
.tide-padding-top-0 {padding-top: 0;}
|
|
212
|
-
.tide-padding-top-1\/4 {padding-top: var(--tide-spacing-1\/4);}
|
|
213
|
-
.tide-padding-top-1\/2 {padding-top: var(--tide-spacing-1\/2);}
|
|
214
|
-
.tide-padding-top-1 {padding-top: var(--tide-spacing-1);}
|
|
215
|
-
.tide-padding-top-2 {padding-top: var(--tide-spacing-2);}
|
|
216
|
-
.tide-padding-top-4 {padding-top: var(--tide-spacing-4);}
|
|
217
|
-
|
|
218
|
-
.tide-padding-right-0 {padding-right: 0;}
|
|
219
|
-
.tide-padding-right-1\/4 {padding-right: var(--tide-spacing-1\/4);}
|
|
220
|
-
.tide-padding-right-1\/2 {padding-right: var(--tide-spacing-1\/2);}
|
|
221
|
-
.tide-padding-right-1 {padding-right: var(--tide-spacing-1);}
|
|
222
|
-
.tide-padding-right-2 {padding-right: var(--tide-spacing-2);}
|
|
223
|
-
.tide-padding-right-4 {padding-right: var(--tide-spacing-4);}
|
|
224
|
-
|
|
225
|
-
.tide-padding-bottom-0 {padding-bottom: 0;}
|
|
226
|
-
.tide-padding-bottom-1\/4 {padding-bottom: var(--tide-spacing-1\/4);}
|
|
227
|
-
.tide-padding-bottom-1\/2 {padding-bottom: var(--tide-spacing-1\/2);}
|
|
228
|
-
.tide-padding-bottom-1 {padding-bottom: var(--tide-spacing-1);}
|
|
229
|
-
.tide-padding-bottom-2 {padding-bottom: var(--tide-spacing-2);}
|
|
230
|
-
.tide-padding-bottom-4 {padding-bottom: var(--tide-spacing-4);}
|
|
231
|
-
|
|
232
|
-
.tide-padding-left-0 {padding-left: 0;}
|
|
233
|
-
.tide-padding-left-1\/4 {padding-left: var(--tide-spacing-1\/4);}
|
|
234
|
-
.tide-padding-left-1\/2 {padding-left: var(--tide-spacing-1\/2);}
|
|
235
|
-
.tide-padding-left-1 {padding-left: var(--tide-spacing-1);}
|
|
236
|
-
.tide-padding-left-2 {padding-left: var(--tide-spacing-2);}
|
|
237
|
-
.tide-padding-left-4 {padding-left: var(--tide-spacing-4);}
|
|
238
|
-
|
|
239
|
-
/* Dimension */
|
|
240
|
-
.tide-max-width-full {max-width: 100%;}
|
|
241
|
-
.tide-min-width-0 {min-width: 0;}
|
|
242
|
-
|
|
243
|
-
.tide-max-height-full {max-height: 100%;}
|
|
244
|
-
.tide-min-height-0 {min-height: 0;}
|
|
245
|
-
|
|
246
|
-
.tide-width-auto {width: auto;}
|
|
247
|
-
.tide-width-0 {width: 0;}
|
|
248
|
-
.tide-width-full {width: 100%;}
|
|
249
|
-
|
|
250
|
-
.tide-height-auto {height: auto;}
|
|
251
|
-
.tide-height-0 {height: 0;}
|
|
252
|
-
.tide-height-full {height: 100%;}
|
|
253
|
-
|
|
254
|
-
/* Deprecated */
|
|
255
|
-
.tide-width-container {max-width: 1168px;}
|
|
256
|
-
|
|
257
|
-
/* Background */
|
|
258
|
-
.tide-bg-initial {background-color: initial;}
|
|
259
|
-
|
|
260
|
-
.tide-bg-primary {background: var(--tide-primary);}
|
|
261
|
-
.tide-bg-secondary {background: var(--tide-secondary);}
|
|
262
|
-
|
|
263
|
-
.tide-bg-surface {background: var(--tide-surface);}
|
|
264
|
-
.tide-bg-surface-variant {background: var(--tide-surface-variant);}
|
|
265
|
-
.tide-bg-surface-brand {background: var(--tide-surface-brand);}
|
|
266
|
-
.tide-bg-surface-accent {background: var(--tide-surface-accent);}
|
|
267
|
-
.tide-bg-surface-gradient {background: var(--tide-surface-gradient);}
|
|
268
|
-
.tide-bg-surface-floating {background: var(--tide-surface-floating);}
|
|
269
|
-
|
|
270
|
-
/* Icon background colors only */
|
|
271
|
-
.tide-bg-primary-error {background-color: var(--tide-error-primary);}
|
|
272
|
-
.tide-bg-primary-info {background-color: var(--tide-info-primary);}
|
|
273
|
-
.tide-bg-primary-success {background-color: var(--tide-success-primary);}
|
|
274
|
-
.tide-bg-primary-warning {background-color: var(--tide-warning-primary);}
|
|
275
|
-
|
|
276
|
-
.tide-bg-surface-error {background-color: var(--tide-error-surface);}
|
|
277
|
-
.tide-bg-surface-info {background-color: var(--tide-info-surface);}
|
|
278
|
-
.tide-bg-surface-success {background-color: var(--tide-success-surface);}
|
|
279
|
-
.tide-bg-surface-warning {background-color: var(--tide-warning-surface);}
|
|
280
|
-
|
|
281
|
-
.tide-bg-surface-blue {background-color: var(--tide-blue-surface);}
|
|
282
|
-
.tide-bg-surface-green {background-color: var(--tide-green-surface);}
|
|
283
|
-
.tide-bg-surface-lime {background-color: var(--tide-lime-surface);}
|
|
284
|
-
.tide-bg-surface-orange {background-color: var(--tide-orange-surface);}
|
|
285
|
-
.tide-bg-surface-purple {background-color: var(--tide-purple-surface);}
|
|
286
|
-
.tide-bg-surface-red {background-color: var(--tide-red-surface);}
|
|
287
|
-
.tide-bg-surface-salmon {background-color: var(--tide-salmon-surface);}
|
|
288
|
-
.tide-bg-surface-teal {background-color: var(--tide-teal-surface);}
|
|
289
|
-
.tide-bg-surface-yellow {background-color: var(--tide-yellow-surface);}
|
|
290
|
-
|
|
291
|
-
.tide-transparent-100 {background-color: var(--tide-transparent-100);}
|
|
292
|
-
.tide-transparent-200 {background-color: var(--tide-transparent-200);}
|
|
293
|
-
.tide-transparent-300 {background-color: var(--tide-transparent-300);}
|
|
294
|
-
.tide-transparent-400 {background-color: var(--tide-transparent-400);}
|
|
295
|
-
|
|
296
|
-
/* Typographic roles */
|
|
297
|
-
.tide-typography-display-1 {font-size: var(--tide-font-32); font-weight: 700;}
|
|
298
|
-
.tide-typography-headline-1 {font-size: var(--tide-font-24); font-weight: 700;}
|
|
299
|
-
.tide-typography-headline-2 {font-size: var(--tide-font-20); font-weight: 700;}
|
|
300
|
-
.tide-typography-headline-3 {font-size: var(--tide-font-16); font-weight: 700;}
|
|
301
|
-
.tide-typography-title-1 {font-size: var(--tide-font-20); font-weight: 600;}
|
|
302
|
-
.tide-typography-title-2 {font-size: var(--tide-font-18); font-weight: 600;}
|
|
303
|
-
.tide-typography-body-1 {font-size: var(--tide-font-16); font-weight: 400;}
|
|
304
|
-
.tide-typography-body-2 {font-size: var(--tide-font-14); font-weight: 400;}
|
|
305
|
-
.tide-typography-label-1 {font-size: var(--tide-font-16); font-weight: 500;}
|
|
306
|
-
.tide-typography-label-1-semibold {font-size: var(--tide-font-16); font-weight: 600;}
|
|
307
|
-
.tide-typography-label-2 {font-size: var(--tide-font-14); font-weight: 500;}
|
|
308
|
-
.tide-typography-label-2-semibold {font-size: var(--tide-font-14); font-weight: 600;}
|
|
309
|
-
.tide-typography-label-3 {font-size: var(--tide-font-12); font-weight: 500;}
|
|
310
|
-
.tide-typography-link-1 {font-size: var(--tide-font-16); font-weight: 500;}
|
|
311
|
-
.tide-typography-link-2 {font-size: var(--tide-font-14); font-weight: 500;}
|
|
312
|
-
.tide-typography-link-3 {font-size: var(--tide-font-12); font-weight: 500;}
|
|
313
|
-
.tide-typography-button-1 {font-size: var(--tide-font-16); font-weight: 600;}
|
|
314
|
-
.tide-typography-button-2 {font-size: var(--tide-font-14); font-weight: 600;}
|
|
315
|
-
|
|
316
|
-
/* Font Color */
|
|
317
|
-
.tide-font-on-primary {color: var(--tide-on-primary);}
|
|
318
|
-
.tide-font-on-secondary {color: var(--tide-on-secondary);}
|
|
319
|
-
|
|
320
|
-
.tide-font-on-surface {color: var(--tide-on-surface);}
|
|
321
|
-
.tide-font-on-surface-variant {color: var(--tide-on-surface-variant);}
|
|
322
|
-
.tide-font-on-surface-brand {color: var(--tide-on-surface-brand);}
|
|
323
|
-
.tide-font-on-surface-inverse {color: var(--tide-on-surface-inverse);}
|
|
324
|
-
.tide-font-on-surface-variant-inverse {color: var(--tide-on-surface-inverse-variant);}
|
|
325
|
-
|
|
326
|
-
.tide-font-error {color: var(--tide-error-primary);}
|
|
327
|
-
.tide-font-info {color: var(--tide-info-primary);}
|
|
328
|
-
.tide-font-success {color: var(--tide-success-primary);}
|
|
329
|
-
.tide-font-warning {color: var(--tide-warning-primary);}
|
|
330
|
-
|
|
331
|
-
.tide-font-blue {color: var(--tide-blue-on-surface);}
|
|
332
|
-
.tide-font-green {color: var(--tide-green-on-surface);}
|
|
333
|
-
.tide-font-lime {color: var(--tide-lime-on-surface);}
|
|
334
|
-
.tide-font-orange {color: var(--tide-orange-on-surface);}
|
|
335
|
-
.tide-font-purple {color: var(--tide-purple-on-surface);}
|
|
336
|
-
.tide-font-red {color: var(--tide-red-on-surface);}
|
|
337
|
-
.tide-font-salmon {color: var(--tide-salmon-on-surface);}
|
|
338
|
-
.tide-font-teal {color: var(--tide-teal-on-surface);}
|
|
339
|
-
.tide-font-yellow {color: var(--tide-yellow-on-surface);}
|
|
340
|
-
|
|
341
|
-
/* Badge icon colors only */
|
|
342
|
-
.tide-font-primary-blue {color: var(--tide-blue-primary);}
|
|
343
|
-
.tide-font-primary-green {color: var(--tide-green-primary);}
|
|
344
|
-
.tide-font-primary-lime {color: var(--tide-lime-primary);}
|
|
345
|
-
.tide-font-primary-orange {color: var(--tide-orange-primary);}
|
|
346
|
-
.tide-font-primary-purple {color: var(--tide-purple-primary);}
|
|
347
|
-
.tide-font-primary-red {color: var(--tide-red-primary);}
|
|
348
|
-
.tide-font-primary-salmon {color: var(--tide-salmon-primary);}
|
|
349
|
-
.tide-font-primary-teal {color: var(--tide-teal-primary);}
|
|
350
|
-
.tide-font-primary-yellow {color: var(--tide-yellow-primary);}
|
|
351
|
-
|
|
352
|
-
/* Font Size */
|
|
353
|
-
.tide-font-10 {font-size: var(--tide-font-10);}
|
|
354
|
-
.tide-font-12 {font-size: var(--tide-font-12);}
|
|
355
|
-
.tide-font-14 {font-size: var(--tide-font-14);}
|
|
356
|
-
.tide-font-16 {font-size: var(--tide-font-16);}
|
|
357
|
-
.tide-font-20 {font-size: var(--tide-font-20);}
|
|
358
|
-
.tide-font-24 {font-size: var(--tide-font-24);}
|
|
359
|
-
.tide-font-32 {font-size: var(--tide-font-32);}
|
|
360
|
-
|
|
361
|
-
/* Font Weight */
|
|
362
|
-
.tide-font-400 {font-weight: 400;}
|
|
363
|
-
.tide-font-500 {font-weight: 500;}
|
|
364
|
-
.tide-font-600 {font-weight: 600;}
|
|
365
|
-
.tide-font-700 {font-weight: 700;}
|
|
366
|
-
|
|
367
|
-
/* Misc */
|
|
368
|
-
.tide-align-middle {vertical-align: middle;}
|
|
369
|
-
.tide-align-initial {vertical-align: initial;}
|
|
370
|
-
|
|
371
|
-
.tide-bg-blur {backdrop-filter: var(--tide-bg-blur);}
|
|
372
|
-
|
|
373
|
-
.tide-break-initial {overflow-wrap: initial;}
|
|
374
|
-
.tide-break-word {overflow-wrap: break-word;}
|
|
375
|
-
|
|
376
|
-
.tide-break-inside-avoid-column {break-inside: avoid-column}
|
|
377
|
-
|
|
378
|
-
.tide-columns-initial {column-count: initial;}
|
|
379
|
-
.tide-columns-1 {column-count: 1;}
|
|
380
|
-
.tide-columns-2 {column-count: 2;}
|
|
381
|
-
.tide-columns-3 {column-count: 3;}
|
|
382
|
-
.tide-columns-4 {column-count: 4;}
|
|
383
|
-
|
|
384
|
-
.tide-cursor-not-allowed {cursor: not-allowed;}
|
|
385
|
-
.tide-cursor-pointer {cursor: pointer;}
|
|
386
|
-
.tide-cursor-text {cursor: text;}
|
|
387
|
-
|
|
388
|
-
.tide-ellipsis {
|
|
389
|
-
overflow: hidden;
|
|
390
|
-
text-overflow: ellipsis;
|
|
391
|
-
white-space: nowrap;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
.tide-isolate {isolation: isolate;}
|
|
395
|
-
|
|
396
|
-
/* Deprecated */
|
|
397
|
-
.tide-leading-default {line-height: 1.4;}
|
|
398
|
-
.tide-leading-normal {line-height: normal;}
|
|
399
|
-
|
|
400
|
-
.tide-list-none {list-style-type: none;}
|
|
401
|
-
|
|
402
|
-
.tide-object-center {object-position: center;}
|
|
403
|
-
|
|
404
|
-
.tide-object-cover {object-fit: cover;}
|
|
405
|
-
.tide-object-contain {object-fit: contain;}
|
|
406
|
-
.tide-object-scale-down {object-fit: scale-down;}
|
|
407
|
-
|
|
408
|
-
.tide-opacity {opacity: 1;}
|
|
409
|
-
.tide-opacity-none {opacity: 0;}
|
|
410
|
-
|
|
411
|
-
.tide-pointer-events {pointer-events: auto;}
|
|
412
|
-
.tide-pointer-events-none {pointer-events: none;}
|
|
413
|
-
|
|
414
|
-
.tide-user-select-none {user-select: none;}
|
|
415
|
-
.tide-opacity-disabled {opacity: var(--tide-disabled);}
|
|
416
|
-
.tide-user-select-initial {user-select: initial;}
|
|
417
|
-
|
|
418
|
-
.tide-ratio-1\/1 {aspect-ratio: 1 / 1;}
|
|
419
|
-
.tide-ratio-16\/9 {aspect-ratio: 16 / 9;}
|
|
420
|
-
.tide-ratio-3\/2 {aspect-ratio: 3 / 2;}
|
|
421
|
-
|
|
422
|
-
.tide-scrollbar-none::-webkit-scrollbar {display: none;}
|
|
423
|
-
.tide-scrollbar-none {
|
|
424
|
-
-ms-overflow-style: none;
|
|
425
|
-
scrollbar-width: none;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
.tide-scroll-snap {
|
|
429
|
-
scroll-snap-stop: always;
|
|
430
|
-
scroll-snap-type: both mandatory;
|
|
431
|
-
scroll-behavior: smooth;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
.tide-scroll-snap-start {
|
|
435
|
-
scroll-snap-align: start;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
.tide-shadow-initial {box-shadow: initial;}
|
|
439
|
-
.tide-shadow-bottom {box-shadow: var(--tide-shadow-bottom);}
|
|
440
|
-
.tide-shadow-top {box-shadow: var(--tide-shadow-top);}
|
|
441
|
-
.tide-shadow-text {text-shadow: var(--tide-shadow-text);}
|
|
442
|
-
|
|
443
|
-
.tide-strikethrough {text-decoration: line-through;}
|
|
444
|
-
.tide-strikethrough-none {text-decoration: none;}
|
|
445
|
-
|
|
446
|
-
.tide-text-center {text-align: center;}
|
|
447
|
-
.tide-text-justify {text-align: justify;}
|
|
448
|
-
.tide-text-left {text-align: left;}
|
|
449
|
-
.tide-text-right {text-align: right;}
|
|
450
|
-
|
|
451
|
-
.tide-text-transform-lower {text-transform: lowercase;}
|
|
452
|
-
.tide-text-transform-none {text-transform: none;}
|
|
453
|
-
.tide-text-transform-upper {text-transform: uppercase;}
|
|
454
|
-
|
|
455
|
-
.tide-underline {text-decoration: underline;}
|
|
456
|
-
.tide-underline-none {text-decoration: none;}
|
|
457
|
-
.tide-underline-hover:hover {text-decoration: underline;}
|
|
458
|
-
.tide-underline-hover-none:hover {text-decoration: none;}
|
|
459
|
-
|
|
460
|
-
.tide-visible {visibility: visible;}
|
|
461
|
-
.tide-visible-none {visibility: hidden;}
|
|
462
|
-
|
|
463
|
-
.tide-whitespace-nowrap {white-space: nowrap;}
|
|
464
|
-
|
|
465
|
-
.tide-x-auto {overflow-x: auto;}
|
|
466
|
-
.tide-x-hidden {overflow-x: hidden;}
|
|
467
|
-
.tide-x-scroll {overflow-x: scroll;}
|
|
468
|
-
|
|
469
|
-
.tide-xy-auto {overflow: auto;}
|
|
470
|
-
.tide-xy-hidden {overflow: hidden;}
|
|
471
|
-
|
|
472
|
-
.tide-y-auto {overflow-y: auto;}
|
|
473
|
-
.tide-y-hidden {overflow-y: hidden;}
|
|
474
|
-
|
|
475
|
-
.tide-z-index-initial {z-index: initial;}
|
|
476
|
-
.tide-z-index-1 {z-index: 1;}
|
|
477
|
-
|
|
478
|
-
/* Buttons */
|
|
479
|
-
/* Rest State */
|
|
480
|
-
.tide-button-primary {
|
|
481
|
-
background: var(--tide-primary);
|
|
482
|
-
border: 2px solid var(--tide-primary);
|
|
483
|
-
color: var(--tide-on-primary);
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
.tide-button-secondary {
|
|
487
|
-
background: var(--tide-surface);
|
|
488
|
-
border: 2px solid var(--tide-primary);
|
|
489
|
-
color: var(--tide-primary);
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
.tide-button-tertiary {
|
|
493
|
-
background: var(--tide-white);
|
|
494
|
-
border: 1px solid var(--tide-border);
|
|
495
|
-
color: var(--tide-secondary);
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
.tide-button-quaternary {
|
|
499
|
-
background: var(--tide-white);
|
|
500
|
-
color: var(--tide-secondary);
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
.tide-button-floating {
|
|
504
|
-
background-color: var(--tide-transparent-100);
|
|
505
|
-
color: var(--tide-secondary);
|
|
506
|
-
box-shadow: var(--tide-shadow-bottom);
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
/* Hover State */
|
|
510
|
-
a.tide-button-primary:hover,
|
|
511
|
-
button.tide-button-primary:enabled:hover {
|
|
512
|
-
border: 2px solid var(--tide-primary);
|
|
513
|
-
background: var(--tide-white);
|
|
514
|
-
color: var(--tide-primary);
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
a.tide-button-secondary:hover,
|
|
518
|
-
button.tide-button-secondary:enabled:hover {
|
|
519
|
-
background: var(--tide-primary);
|
|
520
|
-
color: var(--tide-on-primary);
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
a.tide-button-tertiary:hover,
|
|
524
|
-
button.tide-button-tertiary:enabled:hover {
|
|
525
|
-
border: 1px solid var(--tide-border-high);
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
a.tide-button-quaternary:hover,
|
|
529
|
-
button.tide-button-quaternary:enabled:hover {
|
|
530
|
-
background: var(--tide-surface-variant);
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
.tide-button-floating:hover,
|
|
534
|
-
button.tide-button-floating:enabled:hover {
|
|
535
|
-
background-color: var(--tide-white);
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
/* Disabled State */
|
|
539
|
-
button.tide-button-primary:disabled,
|
|
540
|
-
button.tide-button-secondary:disabled,
|
|
541
|
-
button.tide-button-tertiary:disabled,
|
|
542
|
-
button.tide-button-quaternary:disabled,
|
|
543
|
-
button.tide-button-floating:disabled {
|
|
544
|
-
opacity: var(--tide-disabled);
|
|
545
|
-
}
|
|
546
|
-
|
|
547
1
|
@media (min-width: 768px) {
|
|
548
2
|
/* Reusable CSS Utility Library */
|
|
549
3
|
/* Position */
|