@ganpatiinfo/gids-core-web 0.0.6 → 2.0.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/dist/index.css CHANGED
@@ -5,9 +5,343 @@ gids-global-styles-start {
5
5
  --x: 0;
6
6
  }
7
7
 
8
+ * {
9
+ box-sizing: border-box;
10
+ }
11
+
12
+ .gids-spinner-control {
13
+ display: inline-block;
14
+ position: relative;
15
+ width: var(--gids-size-240);
16
+ height: var(--gids-size-240);
17
+ }
18
+ .gids-spinner-control__track {
19
+ fill: none;
20
+ stroke: var(--gids-color-background-neutral-default);
21
+ }
22
+ .gids-spinner-control__progress {
23
+ fill: none;
24
+ stroke: var(--gidsSpinner-color-fill, var(--gids-color-icon-brand));
25
+ stroke-dashoffset: 0;
26
+ stroke-linecap: round;
27
+ stroke-dasharray: 42.4115008235 127.2345024704;
28
+ animation: spin-clockwise 1500ms linear;
29
+ animation-iteration-count: infinite;
30
+ transform: rotate(-90deg);
31
+ transform-origin: center;
32
+ }
33
+ .gids-spinner-control--xs {
34
+ width: var(--gids-size-120);
35
+ height: var(--gids-size-120);
36
+ }
37
+ .gids-spinner-control--sm {
38
+ width: var(--gids-size-160);
39
+ height: var(--gids-size-160);
40
+ }
41
+ .gids-spinner-control--lg {
42
+ width: var(--gids-size-320);
43
+ height: var(--gids-size-320);
44
+ }
45
+ .gids-spinner-control--xl {
46
+ width: var(--gids-size-480);
47
+ height: var(--gids-size-480);
48
+ }
49
+ .gids-spinner-control--2xl {
50
+ width: var(--gids-size-560);
51
+ height: var(--gids-size-560);
52
+ }
53
+ .gids-spinner-control--determinate .gids-spinner-control__progress {
54
+ animation: none;
55
+ stroke-dasharray: none;
56
+ transition: stroke-dasharray 0.3s ease;
57
+ }
58
+ @keyframes spin-clockwise {
59
+ from {
60
+ stroke-dashoffset: 169.6460032938;
61
+ }
62
+ to {
63
+ stroke-dashoffset: 0;
64
+ }
65
+ }
66
+
8
67
  /*
9
- * Custom styles
68
+ * Components for public
10
69
  */
70
+ .gids-button {
71
+ --gidsButton-padding-vertical: var(
72
+ --gids-padding-vertical-edge-to-element-100
73
+ );
74
+ --gidsButton-padding-horizontal: var(
75
+ --gids-padding-horizontal-edge-to-element-200
76
+ );
77
+ --gidsButton-padding-icon-only: var(
78
+ --gids-padding-vertical-edge-to-element-100
79
+ );
80
+ --gidsButton-label-height: var(--gids-typography-label-medium__line-height);
81
+ --gidsButton-icon-height: var(--gids-size-240);
82
+ --gidsButton-color-default-text: var(--gids-color-text-default);
83
+ --gidsButton-color-default-border: var(--gids-color-border-default);
84
+ --gidsButton-color-default-bg: var(--gids-color-background-neutral-default);
85
+ --gidsButton-color-default-bg-hovered: var(
86
+ --gids-color-background-neutral-hovered
87
+ );
88
+ --gidsButton-color-default-bg-pressed: var(
89
+ --gids-color-background-neutral-pressed
90
+ );
91
+ --gidsButton-color-primary-bg: var(
92
+ --gids-color-background-brand-bold-default
93
+ );
94
+ --gidsButton-color-primary-bg-hovered: var(
95
+ --gids-color-background-brand-bold-hovered
96
+ );
97
+ --gidsButton-color-primary-bg-pressed: var(
98
+ --gids-color-background-brand-bold-pressed
99
+ );
100
+ --gidsButton-color-subtle-bg: var(
101
+ --gids-color-background-neutral-subtle-default
102
+ );
103
+ --gidsButton-color-subtle-bg-hovered: var(
104
+ --gids-color-background-neutral-subtle-hovered
105
+ );
106
+ --gidsButton-color-subtle-bg-pressed: var(
107
+ --gids-color-background-neutral-subtle-pressed
108
+ );
109
+ font-family: var(--gids-typography-label-medium__font-family);
110
+ font-size: var(--gids-typography-label-medium__font-size);
111
+ font-weight: var(--gids-typography-label-medium__font-weight);
112
+ letter-spacing: var(--gids-typography-label-medium__letter-spacing);
113
+ line-height: var(--gids-typography-label-medium__line-height);
114
+ text-transform: var(--gids-typography-label-medium__text-transform, inherit);
115
+ font-variant-caps: var(--gids-typography-label-medium__font-variant-caps, inherit);
116
+ appearance: none;
117
+ border-radius: var(--gids-border-radius-full);
118
+ color: var(--gidsButton-color-default-text);
119
+ background-color: var(--gidsButton-color-default-bg);
120
+ border: var(--gids-border-width-thin) solid var(--gidsButton-color-default-border);
121
+ display: inline-flex;
122
+ align-items: center;
123
+ justify-content: center;
124
+ gap: var(--gids-gap-100);
125
+ padding: calc(var(--gidsButton-padding-vertical) - var(--gids-border-width-thin)) calc(var(--gidsButton-padding-horizontal) - var(--gids-border-width-thin));
126
+ text-decoration: none;
127
+ min-height: calc(var(--gidsButton-padding-vertical) * 2 + max(var(--gidsButton-label-height) * 1em, var(--gidsButton-icon-height)));
128
+ /******** STATES ********/
129
+ /****** LAYOUT MODIFIERS ******/
130
+ /******* SIZE MODIFIERS ********/
131
+ /******** COLOR MODIFIERS ********/
132
+ }
133
+ .gids-button::before {
134
+ display: inline;
135
+ content: "";
136
+ height: 1em;
137
+ height: 1cap;
138
+ line-height: 1;
139
+ margin-left: calc(-1 * var(--gids-gap-100));
140
+ }
141
+ .gids-button__content {
142
+ display: flex;
143
+ align-items: center;
144
+ justify-content: center;
145
+ gap: var(--gids-gap-100);
146
+ flex-grow: 1;
147
+ }
148
+ .gids-button__right-icon {
149
+ flex-grow: 0;
150
+ flex-shrink: 0;
151
+ }
152
+ .gids-button .gids-icon, .gids-button ::slotted(.gids-icon) {
153
+ --gidsIcon-height: var(--gidsButton-icon-height);
154
+ --gidsIcon-color: var(--gidsButton-color-icon);
155
+ }
156
+ .gids-button:visited {
157
+ color: var(--gidsButton-color-default-text);
158
+ }
159
+ .gids-button:hover, gids-card[clickable]:defined:hover .gids-button[data-gids-card-primary-control] {
160
+ background-color: var(--gidsButton-color-default-bg-hovered);
161
+ }
162
+
163
+ .gids-button:active, gids-card[clickable]:defined:is(--active, :state(active)) .gids-button[data-gids-card-primary-control] {
164
+ color: var(--gidsButton-color-default-text);
165
+ background-color: var(--gidsButton-color-default-bg-pressed);
166
+ }
167
+
168
+ .gids-button[aria-pressed=true] {
169
+ color: var(--gids-color-text-inverse);
170
+ border-color: var(--gids-color-border-selected);
171
+ background-color: var(--gids-color-background-selected-bold-default);
172
+ --gidsButton-color-icon: var(--gids-color-icon-inverse);
173
+ }
174
+ .gids-button[aria-pressed=true]:not(:disabled):hover {
175
+ background-color: var(--gids-color-background-selected-bold-hovered);
176
+ }
177
+ .gids-button[aria-pressed=true]:not(:disabled):active {
178
+ background-color: var(--gids-color-background-selected-bold-pressed);
179
+ }
180
+ .gids-button:disabled {
181
+ color: var(--gids-color-text-disabled);
182
+ border-color: var(--gids-color-border-disabled);
183
+ background-color: var(--gids-color-background-disabled);
184
+ --gidsButton-color-icon: var(--gids-color-icon-disabled);
185
+ }
186
+ .gids-button:focus-visible {
187
+ outline: var(--gids-border-width-thick) solid var(--gids-color-border-focused);
188
+ outline-offset: var(--gids-border-width-thick);
189
+ }
190
+ .gids-button--icon-only {
191
+ padding: calc(var(--gidsButton-padding-icon-only) - var(--gids-border-width-thin));
192
+ }
193
+ .gids-button--full-width {
194
+ display: flex;
195
+ width: 100%;
196
+ }
197
+ .gids-button--loading .gids-button__content {
198
+ opacity: 0;
199
+ }
200
+ @keyframes fadeInOpacity {
201
+ 0% {
202
+ opacity: 0;
203
+ }
204
+ 100% {
205
+ opacity: 1;
206
+ }
207
+ }
208
+ .gids-button--loading .gids-spinner-control {
209
+ position: absolute;
210
+ opacity: 1;
211
+ animation-name: fadeInOpacity;
212
+ animation-iteration-count: 1;
213
+ animation-timing-function: ease-in-out;
214
+ animation-duration: 500ms;
215
+ }
216
+ .gids-button--loading .gids-icon {
217
+ opacity: 0;
218
+ }
219
+ .gids-button--xs {
220
+ font-family: var(--gids-typography-label-x-small__font-family);
221
+ font-size: var(--gids-typography-label-x-small__font-size);
222
+ font-weight: var(--gids-typography-label-x-small__font-weight);
223
+ letter-spacing: var(--gids-typography-label-x-small__letter-spacing);
224
+ line-height: var(--gids-typography-label-x-small__line-height);
225
+ text-transform: var(--gids-typography-label-x-small__text-transform, inherit);
226
+ font-variant-caps: var(--gids-typography-label-x-small__font-variant-caps, inherit);
227
+ --gidsButton-padding-vertical: var(
228
+ --gids-padding-vertical-edge-to-element-050
229
+ );
230
+ --gidsButton-padding-horizontal: var(
231
+ --gids-padding-horizontal-edge-to-element-100
232
+ );
233
+ --gidsButton-padding-icon-only: var(
234
+ --gids-padding-vertical-edge-to-element-075
235
+ );
236
+ --gidsButton-label-height: var(--gids-typography-label-xsmall__line-height);
237
+ --gidsButton-icon-height: var(--gids-size-120);
238
+ }
239
+ .gids-button--sm {
240
+ font-family: var(--gids-typography-label-small__font-family);
241
+ font-size: var(--gids-typography-label-small__font-size);
242
+ font-weight: var(--gids-typography-label-small__font-weight);
243
+ letter-spacing: var(--gids-typography-label-small__letter-spacing);
244
+ line-height: var(--gids-typography-label-small__line-height);
245
+ text-transform: var(--gids-typography-label-small__text-transform, inherit);
246
+ font-variant-caps: var(--gids-typography-label-small__font-variant-caps, inherit);
247
+ --gidsButton-padding-vertical: var(
248
+ --gids-padding-vertical-edge-to-element-100
249
+ );
250
+ --gidsButton-padding-horizontal: var(
251
+ --gids-padding-horizontal-edge-to-element-150
252
+ );
253
+ --gidsButton-padding-icon-only: var(
254
+ --gids-padding-vertical-edge-to-element-100
255
+ );
256
+ --gidsButton-label-height: var(--gids-typography-label-small__line-height);
257
+ --gidsButton-icon-height: var(--gids-size-160);
258
+ }
259
+ .gids-button--lg {
260
+ font-family: var(--gids-typography-label-large__font-family);
261
+ font-size: var(--gids-typography-label-large__font-size);
262
+ font-weight: var(--gids-typography-label-large__font-weight);
263
+ letter-spacing: var(--gids-typography-label-large__letter-spacing);
264
+ line-height: var(--gids-typography-label-large__line-height);
265
+ text-transform: var(--gids-typography-label-large__text-transform, inherit);
266
+ font-variant-caps: var(--gids-typography-label-large__font-variant-caps, inherit);
267
+ --gidsButton-padding-vertical: var(
268
+ --gids-padding-vertical-edge-to-element-150
269
+ );
270
+ --gidsButton-padding-horizontal: var(
271
+ --gids-padding-horizontal-edge-to-element-250
272
+ );
273
+ --gidsButton-padding-icon-only: var(
274
+ --gids-padding-vertical-edge-to-element-150
275
+ );
276
+ --gidsButton-label-height: var(--gids-typography-label-large__line-height);
277
+ --gidsButton-icon-height: var(--gids-size-240);
278
+ }
279
+ .gids-button--primary {
280
+ border-color: transparent;
281
+ background-color: var(--gidsButton-color-primary-bg);
282
+ --gidsSpinner-color-fill: var(
283
+ --gids-color-icon-inverse
284
+ );
285
+ }
286
+ .gids-button--primary:not(:disabled):active, .gids-button--primary, .gids-button--primary:visited, gids-card[clickable]:defined:not(:disabled):active .gids-button--primary[data-gids-card-primary-control] {
287
+ color: var(--gids-color-text-inverse);
288
+ --gidsButton-color-icon: var(--gids-color-icon-inverse);
289
+ }
290
+
291
+ .gids-button--primary:not(:disabled):hover, gids-card[clickable]:defined:not(:disabled):hover .gids-button--primary[data-gids-card-primary-control] {
292
+ background-color: var(--gidsButton-color-primary-bg-hovered);
293
+ }
294
+
295
+ .gids-button--primary:not(:disabled):active, gids-card[clickable]:defined:not(:disabled):active .gids-button--primary[data-gids-card-primary-control] {
296
+ background-color: var(--gidsButton-color-primary-bg-pressed);
297
+ }
298
+
299
+ .gids-button--subtle {
300
+ border-color: transparent;
301
+ background-color: var(--gidsButton-color-subtle-bg);
302
+ }
303
+ .gids-button--subtle:not(:disabled):hover, gids-card[clickable]:defined:not(:disabled):hover .gids-button--subtle[data-gids-card-primary-control] {
304
+ background-color: var(--gidsButton-color-subtle-bg-hovered);
305
+ }
306
+
307
+ .gids-button--subtle:not(:disabled):active, gids-card[clickable]:defined:not(:disabled):active .gids-button--subtle[data-gids-card-primary-control] {
308
+ background-color: var(--gidsButton-color-subtle-bg-pressed);
309
+ }
310
+
311
+ .gids-button--subtle:disabled {
312
+ border-color: transparent;
313
+ background-color: transparent;
314
+ }
315
+ .gids-button--destructive {
316
+ --gidsButton-color-default-text: var(--gids-color-text-danger);
317
+ --gidsButton-color-default-border: var(--gids-color-border-danger);
318
+ --gidsButton-color-default-bg: var(--gids-color-background-danger-default);
319
+ --gidsButton-color-default-bg-hovered: var(
320
+ --gids-color-background-danger-hovered
321
+ );
322
+ --gidsButton-color-default-bg-pressed: var(
323
+ --gids-color-background-danger-pressed
324
+ );
325
+ --gidsButton-color-primary-bg: var(
326
+ --gids-color-background-danger-bold-default
327
+ );
328
+ --gidsButton-color-primary-bg-hovered: var(
329
+ --gids-color-background-danger-bold-hovered
330
+ );
331
+ --gidsButton-color-primary-bg-pressed: var(
332
+ --gids-color-background-danger-bold-pressed
333
+ );
334
+ --gidsButton-color-subtle-bg-hovered: var(
335
+ --gids-color-background-danger-hovered
336
+ );
337
+ --gidsButton-color-subtle-bg-pressed: var(
338
+ --gids-color-background-danger-pressed
339
+ );
340
+ }
341
+ .gids-button--destructive:not(:disabled):not(.gids-button--primary) {
342
+ --gidsButton-color-icon: var(--gids-color-icon-danger);
343
+ }
344
+
11
345
  .gids-divider {
12
346
  border: none;
13
347
  border-top: var(--gids-border-width-thin) solid var(--gids-color-border-default);
@@ -40,7 +374,7 @@ gids-global-styles-start {
40
374
  letter-spacing: var(--gids-typography-label-medium__letter-spacing);
41
375
  line-height: var(--gids-typography-label-medium__line-height);
42
376
  text-transform: var(--gids-typography-label-medium__text-transform, inherit);
43
- font-variant: var(--gids-typography-label-medium__font-variant-caps, inherit);
377
+ font-variant-caps: var(--gids-typography-label-medium__font-variant-caps, inherit);
44
378
  }
45
379
  .gids-display-tag .gids-icon {
46
380
  --gidsIcon-color: currentColor;
@@ -53,7 +387,7 @@ gids-global-styles-start {
53
387
  letter-spacing: var(--gids-typography-label-x-small__letter-spacing);
54
388
  line-height: var(--gids-typography-label-x-small__line-height);
55
389
  text-transform: var(--gids-typography-label-x-small__text-transform, inherit);
56
- font-variant: var(--gids-typography-label-x-small__font-variant-caps, inherit);
390
+ font-variant-caps: var(--gids-typography-label-x-small__font-variant-caps, inherit);
57
391
  padding: 0 calc(var(--gids-padding-horizontal-edge-to-element-050) - var(--gids-border-width-thin));
58
392
  min-height: var(--gids-size-200);
59
393
  gap: var(--gids-gap-050);
@@ -68,7 +402,7 @@ gids-global-styles-start {
68
402
  letter-spacing: var(--gids-typography-label-small__letter-spacing);
69
403
  line-height: var(--gids-typography-label-small__line-height);
70
404
  text-transform: var(--gids-typography-label-small__text-transform, inherit);
71
- font-variant: var(--gids-typography-label-small__font-variant-caps, inherit);
405
+ font-variant-caps: var(--gids-typography-label-small__font-variant-caps, inherit);
72
406
  padding: 0 calc(var(--gids-padding-horizontal-edge-to-element-100) - var(--gids-border-width-thin));
73
407
  min-height: var(--gids-size-240);
74
408
  gap: var(--gids-gap-100);
@@ -83,7 +417,7 @@ gids-global-styles-start {
83
417
  letter-spacing: var(--gids-typography-label-large__letter-spacing);
84
418
  line-height: var(--gids-typography-label-large__line-height);
85
419
  text-transform: var(--gids-typography-label-large__text-transform, inherit);
86
- font-variant: var(--gids-typography-label-large__font-variant-caps, inherit);
420
+ font-variant-caps: var(--gids-typography-label-large__font-variant-caps, inherit);
87
421
  padding: 0 calc(var(--gids-padding-horizontal-edge-to-element-150) - var(--gids-border-width-thin));
88
422
  min-height: var(--gids-size-400);
89
423
  gap: var(--gids-gap-150);
@@ -137,6 +471,398 @@ gids-global-styles-start {
137
471
  background-color: var(--gids-color-background-accent-5-bolder-default);
138
472
  }
139
473
 
474
+ .gids-icon {
475
+ fill: var(--gidsIcon-color, var(--gids-color-icon-default));
476
+ width: auto;
477
+ height: var(--gidsIcon-height, 100%);
478
+ }
479
+ .gids-icon--xs {
480
+ --gidsIcon-height: var(--gids-size-120);
481
+ }
482
+ .gids-icon--sm {
483
+ --gidsIcon-height: var(--gids-size-160);
484
+ }
485
+ .gids-icon--md {
486
+ --gidsIcon-height: var(--gids-size-240);
487
+ }
488
+ .gids-icon--lg {
489
+ --gidsIcon-height: var(--gids-size-320);
490
+ }
491
+
492
+ .gids-spinner {
493
+ display: flex;
494
+ flex-direction: column;
495
+ align-items: center;
496
+ }
497
+ .gids-spinner__label {
498
+ color: var(--gids-color-text-subtle);
499
+ margin-top: var(--gids-gap-200);
500
+ font-family: var(--gids-typography-label-medium__font-family);
501
+ font-size: var(--gids-typography-label-medium__font-size);
502
+ font-weight: var(--gids-typography-label-medium__font-weight);
503
+ letter-spacing: var(--gids-typography-label-medium__letter-spacing);
504
+ line-height: var(--gids-typography-label-medium__line-height);
505
+ text-transform: var(--gids-typography-label-medium__text-transform, inherit);
506
+ font-variant-caps: var(--gids-typography-label-medium__font-variant-caps, inherit);
507
+ }
508
+ .gids-spinner__supporting-text {
509
+ color: var(--gids-color-text-subtlest);
510
+ font-family: var(--gids-typography-paragraph-medium__font-family);
511
+ font-size: var(--gids-typography-paragraph-medium__font-size);
512
+ font-weight: var(--gids-typography-paragraph-medium__font-weight);
513
+ letter-spacing: var(--gids-typography-paragraph-medium__letter-spacing);
514
+ line-height: var(--gids-typography-paragraph-medium__line-height);
515
+ text-transform: var(--gids-typography-paragraph-medium__text-transform, inherit);
516
+ font-variant-caps: var(--gids-typography-paragraph-medium__font-variant-caps, inherit);
517
+ }
518
+ .gids-spinner--xs .gids-spinner__label {
519
+ font-family: var(--gids-typography-label-x-small__font-family);
520
+ font-size: var(--gids-typography-label-x-small__font-size);
521
+ font-weight: var(--gids-typography-label-x-small__font-weight);
522
+ letter-spacing: var(--gids-typography-label-x-small__letter-spacing);
523
+ line-height: var(--gids-typography-label-x-small__line-height);
524
+ text-transform: var(--gids-typography-label-x-small__text-transform, inherit);
525
+ font-variant-caps: var(--gids-typography-label-x-small__font-variant-caps, inherit);
526
+ }
527
+ .gids-spinner--xs .gids-spinner__supporting-text {
528
+ font-family: var(--gids-typography-paragraph-x-small__font-family);
529
+ font-size: var(--gids-typography-paragraph-x-small__font-size);
530
+ font-weight: var(--gids-typography-paragraph-x-small__font-weight);
531
+ letter-spacing: var(--gids-typography-paragraph-x-small__letter-spacing);
532
+ line-height: var(--gids-typography-paragraph-x-small__line-height);
533
+ text-transform: var(--gids-typography-paragraph-x-small__text-transform, inherit);
534
+ font-variant-caps: var(--gids-typography-paragraph-x-small__font-variant-caps, inherit);
535
+ }
536
+ .gids-spinner--sm .gids-spinner__label {
537
+ font-family: var(--gids-typography-label-small__font-family);
538
+ font-size: var(--gids-typography-label-small__font-size);
539
+ font-weight: var(--gids-typography-label-small__font-weight);
540
+ letter-spacing: var(--gids-typography-label-small__letter-spacing);
541
+ line-height: var(--gids-typography-label-small__line-height);
542
+ text-transform: var(--gids-typography-label-small__text-transform, inherit);
543
+ font-variant-caps: var(--gids-typography-label-small__font-variant-caps, inherit);
544
+ }
545
+ .gids-spinner--sm .gids-spinner__supporting-text {
546
+ font-family: var(--gids-typography-paragraph-small__font-family);
547
+ font-size: var(--gids-typography-paragraph-small__font-size);
548
+ font-weight: var(--gids-typography-paragraph-small__font-weight);
549
+ letter-spacing: var(--gids-typography-paragraph-small__letter-spacing);
550
+ line-height: var(--gids-typography-paragraph-small__line-height);
551
+ text-transform: var(--gids-typography-paragraph-small__text-transform, inherit);
552
+ font-variant-caps: var(--gids-typography-paragraph-small__font-variant-caps, inherit);
553
+ }
554
+ .gids-spinner--md .gids-spinner__label {
555
+ font-family: var(--gids-typography-label-medium__font-family);
556
+ font-size: var(--gids-typography-label-medium__font-size);
557
+ font-weight: var(--gids-typography-label-medium__font-weight);
558
+ letter-spacing: var(--gids-typography-label-medium__letter-spacing);
559
+ line-height: var(--gids-typography-label-medium__line-height);
560
+ text-transform: var(--gids-typography-label-medium__text-transform, inherit);
561
+ font-variant-caps: var(--gids-typography-label-medium__font-variant-caps, inherit);
562
+ }
563
+ .gids-spinner--md .gids-spinner__supporting-text {
564
+ font-family: var(--gids-typography-paragraph-medium__font-family);
565
+ font-size: var(--gids-typography-paragraph-medium__font-size);
566
+ font-weight: var(--gids-typography-paragraph-medium__font-weight);
567
+ letter-spacing: var(--gids-typography-paragraph-medium__letter-spacing);
568
+ line-height: var(--gids-typography-paragraph-medium__line-height);
569
+ text-transform: var(--gids-typography-paragraph-medium__text-transform, inherit);
570
+ font-variant-caps: var(--gids-typography-paragraph-medium__font-variant-caps, inherit);
571
+ }
572
+ .gids-spinner--lg .gids-spinner__label {
573
+ font-family: var(--gids-typography-label-medium__font-family);
574
+ font-size: var(--gids-typography-label-medium__font-size);
575
+ font-weight: var(--gids-typography-label-medium__font-weight);
576
+ letter-spacing: var(--gids-typography-label-medium__letter-spacing);
577
+ line-height: var(--gids-typography-label-medium__line-height);
578
+ text-transform: var(--gids-typography-label-medium__text-transform, inherit);
579
+ font-variant-caps: var(--gids-typography-label-medium__font-variant-caps, inherit);
580
+ }
581
+ .gids-spinner--lg .gids-spinner__supporting-text {
582
+ font-family: var(--gids-typography-paragraph-medium__font-family);
583
+ font-size: var(--gids-typography-paragraph-medium__font-size);
584
+ font-weight: var(--gids-typography-paragraph-medium__font-weight);
585
+ letter-spacing: var(--gids-typography-paragraph-medium__letter-spacing);
586
+ line-height: var(--gids-typography-paragraph-medium__line-height);
587
+ text-transform: var(--gids-typography-paragraph-medium__text-transform, inherit);
588
+ font-variant-caps: var(--gids-typography-paragraph-medium__font-variant-caps, inherit);
589
+ }
590
+ .gids-spinner--xl .gids-spinner__label {
591
+ font-family: var(--gids-typography-label-medium__font-family);
592
+ font-size: var(--gids-typography-label-medium__font-size);
593
+ font-weight: var(--gids-typography-label-medium__font-weight);
594
+ letter-spacing: var(--gids-typography-label-medium__letter-spacing);
595
+ line-height: var(--gids-typography-label-medium__line-height);
596
+ text-transform: var(--gids-typography-label-medium__text-transform, inherit);
597
+ font-variant-caps: var(--gids-typography-label-medium__font-variant-caps, inherit);
598
+ }
599
+ .gids-spinner--xl .gids-spinner__supporting-text {
600
+ font-family: var(--gids-typography-paragraph-medium__font-family);
601
+ font-size: var(--gids-typography-paragraph-medium__font-size);
602
+ font-weight: var(--gids-typography-paragraph-medium__font-weight);
603
+ letter-spacing: var(--gids-typography-paragraph-medium__letter-spacing);
604
+ line-height: var(--gids-typography-paragraph-medium__line-height);
605
+ text-transform: var(--gids-typography-paragraph-medium__text-transform, inherit);
606
+ font-variant-caps: var(--gids-typography-paragraph-medium__font-variant-caps, inherit);
607
+ }
608
+ .gids-spinner--2xl .gids-spinner__label {
609
+ font-family: var(--gids-typography-label-large__font-family);
610
+ font-size: var(--gids-typography-label-large__font-size);
611
+ font-weight: var(--gids-typography-label-large__font-weight);
612
+ letter-spacing: var(--gids-typography-label-large__letter-spacing);
613
+ line-height: var(--gids-typography-label-large__line-height);
614
+ text-transform: var(--gids-typography-label-large__text-transform, inherit);
615
+ font-variant-caps: var(--gids-typography-label-large__font-variant-caps, inherit);
616
+ }
617
+ .gids-spinner--2xl .gids-spinner__supporting-text {
618
+ font-family: var(--gids-typography-paragraph-large__font-family);
619
+ font-size: var(--gids-typography-paragraph-large__font-size);
620
+ font-weight: var(--gids-typography-paragraph-large__font-weight);
621
+ letter-spacing: var(--gids-typography-paragraph-large__letter-spacing);
622
+ line-height: var(--gids-typography-paragraph-large__line-height);
623
+ text-transform: var(--gids-typography-paragraph-large__text-transform, inherit);
624
+ font-variant-caps: var(--gids-typography-paragraph-large__font-variant-caps, inherit);
625
+ }
626
+
627
+ /*
628
+ DO NOT EDIT THIS FILE!
629
+
630
+ This file is auto-generated from:
631
+ templates/typography-sass-utils.liquid
632
+
633
+ By: Cobalt UI (see tokens.config.mjs)
634
+ */
635
+ .gids-typography-display-large {
636
+ font-family: var(--gids-typography-display-large__font-family);
637
+ font-size: var(--gids-typography-display-large__font-size);
638
+ font-weight: var(--gids-typography-display-large__font-weight);
639
+ letter-spacing: var(--gids-typography-display-large__letter-spacing);
640
+ line-height: var(--gids-typography-display-large__line-height);
641
+ text-transform: var(--gids-typography-display-large__text-transform, inherit);
642
+ font-variant-caps: var(--gids-typography-display-large__font-variant-caps, inherit);
643
+ }
644
+
645
+ .gids-typography-display-medium {
646
+ font-family: var(--gids-typography-display-medium__font-family);
647
+ font-size: var(--gids-typography-display-medium__font-size);
648
+ font-weight: var(--gids-typography-display-medium__font-weight);
649
+ letter-spacing: var(--gids-typography-display-medium__letter-spacing);
650
+ line-height: var(--gids-typography-display-medium__line-height);
651
+ text-transform: var(--gids-typography-display-medium__text-transform, inherit);
652
+ font-variant-caps: var(--gids-typography-display-medium__font-variant-caps, inherit);
653
+ }
654
+
655
+ .gids-typography-display-small {
656
+ font-family: var(--gids-typography-display-small__font-family);
657
+ font-size: var(--gids-typography-display-small__font-size);
658
+ font-weight: var(--gids-typography-display-small__font-weight);
659
+ letter-spacing: var(--gids-typography-display-small__letter-spacing);
660
+ line-height: var(--gids-typography-display-small__line-height);
661
+ text-transform: var(--gids-typography-display-small__text-transform, inherit);
662
+ font-variant-caps: var(--gids-typography-display-small__font-variant-caps, inherit);
663
+ }
664
+
665
+ .gids-typography-display-x-small {
666
+ font-family: var(--gids-typography-display-x-small__font-family);
667
+ font-size: var(--gids-typography-display-x-small__font-size);
668
+ font-weight: var(--gids-typography-display-x-small__font-weight);
669
+ letter-spacing: var(--gids-typography-display-x-small__letter-spacing);
670
+ line-height: var(--gids-typography-display-x-small__line-height);
671
+ text-transform: var(--gids-typography-display-x-small__text-transform, inherit);
672
+ font-variant-caps: var(--gids-typography-display-x-small__font-variant-caps, inherit);
673
+ }
674
+
675
+ .gids-typography-eyebrow-large {
676
+ font-family: var(--gids-typography-eyebrow-large__font-family);
677
+ font-size: var(--gids-typography-eyebrow-large__font-size);
678
+ font-weight: var(--gids-typography-eyebrow-large__font-weight);
679
+ letter-spacing: var(--gids-typography-eyebrow-large__letter-spacing);
680
+ line-height: var(--gids-typography-eyebrow-large__line-height);
681
+ text-transform: var(--gids-typography-eyebrow-large__text-transform, inherit);
682
+ font-variant-caps: var(--gids-typography-eyebrow-large__font-variant-caps, inherit);
683
+ }
684
+
685
+ .gids-typography-eyebrow-medium {
686
+ font-family: var(--gids-typography-eyebrow-medium__font-family);
687
+ font-size: var(--gids-typography-eyebrow-medium__font-size);
688
+ font-weight: var(--gids-typography-eyebrow-medium__font-weight);
689
+ letter-spacing: var(--gids-typography-eyebrow-medium__letter-spacing);
690
+ line-height: var(--gids-typography-eyebrow-medium__line-height);
691
+ text-transform: var(--gids-typography-eyebrow-medium__text-transform, inherit);
692
+ font-variant-caps: var(--gids-typography-eyebrow-medium__font-variant-caps, inherit);
693
+ }
694
+
695
+ .gids-typography-eyebrow-small {
696
+ font-family: var(--gids-typography-eyebrow-small__font-family);
697
+ font-size: var(--gids-typography-eyebrow-small__font-size);
698
+ font-weight: var(--gids-typography-eyebrow-small__font-weight);
699
+ letter-spacing: var(--gids-typography-eyebrow-small__letter-spacing);
700
+ line-height: var(--gids-typography-eyebrow-small__line-height);
701
+ text-transform: var(--gids-typography-eyebrow-small__text-transform, inherit);
702
+ font-variant-caps: var(--gids-typography-eyebrow-small__font-variant-caps, inherit);
703
+ }
704
+
705
+ .gids-typography-heading-large {
706
+ font-family: var(--gids-typography-heading-large__font-family);
707
+ font-size: var(--gids-typography-heading-large__font-size);
708
+ font-weight: var(--gids-typography-heading-large__font-weight);
709
+ letter-spacing: var(--gids-typography-heading-large__letter-spacing);
710
+ line-height: var(--gids-typography-heading-large__line-height);
711
+ text-transform: var(--gids-typography-heading-large__text-transform, inherit);
712
+ font-variant-caps: var(--gids-typography-heading-large__font-variant-caps, inherit);
713
+ }
714
+
715
+ .gids-typography-heading-medium {
716
+ font-family: var(--gids-typography-heading-medium__font-family);
717
+ font-size: var(--gids-typography-heading-medium__font-size);
718
+ font-weight: var(--gids-typography-heading-medium__font-weight);
719
+ letter-spacing: var(--gids-typography-heading-medium__letter-spacing);
720
+ line-height: var(--gids-typography-heading-medium__line-height);
721
+ text-transform: var(--gids-typography-heading-medium__text-transform, inherit);
722
+ font-variant-caps: var(--gids-typography-heading-medium__font-variant-caps, inherit);
723
+ }
724
+
725
+ .gids-typography-heading-small {
726
+ font-family: var(--gids-typography-heading-small__font-family);
727
+ font-size: var(--gids-typography-heading-small__font-size);
728
+ font-weight: var(--gids-typography-heading-small__font-weight);
729
+ letter-spacing: var(--gids-typography-heading-small__letter-spacing);
730
+ line-height: var(--gids-typography-heading-small__line-height);
731
+ text-transform: var(--gids-typography-heading-small__text-transform, inherit);
732
+ font-variant-caps: var(--gids-typography-heading-small__font-variant-caps, inherit);
733
+ }
734
+
735
+ .gids-typography-heading-x-large {
736
+ font-family: var(--gids-typography-heading-x-large__font-family);
737
+ font-size: var(--gids-typography-heading-x-large__font-size);
738
+ font-weight: var(--gids-typography-heading-x-large__font-weight);
739
+ letter-spacing: var(--gids-typography-heading-x-large__letter-spacing);
740
+ line-height: var(--gids-typography-heading-x-large__line-height);
741
+ text-transform: var(--gids-typography-heading-x-large__text-transform, inherit);
742
+ font-variant-caps: var(--gids-typography-heading-x-large__font-variant-caps, inherit);
743
+ }
744
+
745
+ .gids-typography-heading-x-small {
746
+ font-family: var(--gids-typography-heading-x-small__font-family);
747
+ font-size: var(--gids-typography-heading-x-small__font-size);
748
+ font-weight: var(--gids-typography-heading-x-small__font-weight);
749
+ letter-spacing: var(--gids-typography-heading-x-small__letter-spacing);
750
+ line-height: var(--gids-typography-heading-x-small__line-height);
751
+ text-transform: var(--gids-typography-heading-x-small__text-transform, inherit);
752
+ font-variant-caps: var(--gids-typography-heading-x-small__font-variant-caps, inherit);
753
+ }
754
+
755
+ .gids-typography-heading-xx-large {
756
+ font-family: var(--gids-typography-heading-xx-large__font-family);
757
+ font-size: var(--gids-typography-heading-xx-large__font-size);
758
+ font-weight: var(--gids-typography-heading-xx-large__font-weight);
759
+ letter-spacing: var(--gids-typography-heading-xx-large__letter-spacing);
760
+ line-height: var(--gids-typography-heading-xx-large__line-height);
761
+ text-transform: var(--gids-typography-heading-xx-large__text-transform, inherit);
762
+ font-variant-caps: var(--gids-typography-heading-xx-large__font-variant-caps, inherit);
763
+ }
764
+
765
+ .gids-typography-label-large {
766
+ font-family: var(--gids-typography-label-large__font-family);
767
+ font-size: var(--gids-typography-label-large__font-size);
768
+ font-weight: var(--gids-typography-label-large__font-weight);
769
+ letter-spacing: var(--gids-typography-label-large__letter-spacing);
770
+ line-height: var(--gids-typography-label-large__line-height);
771
+ text-transform: var(--gids-typography-label-large__text-transform, inherit);
772
+ font-variant-caps: var(--gids-typography-label-large__font-variant-caps, inherit);
773
+ }
774
+
775
+ .gids-typography-label-medium {
776
+ font-family: var(--gids-typography-label-medium__font-family);
777
+ font-size: var(--gids-typography-label-medium__font-size);
778
+ font-weight: var(--gids-typography-label-medium__font-weight);
779
+ letter-spacing: var(--gids-typography-label-medium__letter-spacing);
780
+ line-height: var(--gids-typography-label-medium__line-height);
781
+ text-transform: var(--gids-typography-label-medium__text-transform, inherit);
782
+ font-variant-caps: var(--gids-typography-label-medium__font-variant-caps, inherit);
783
+ }
784
+
785
+ .gids-typography-label-small {
786
+ font-family: var(--gids-typography-label-small__font-family);
787
+ font-size: var(--gids-typography-label-small__font-size);
788
+ font-weight: var(--gids-typography-label-small__font-weight);
789
+ letter-spacing: var(--gids-typography-label-small__letter-spacing);
790
+ line-height: var(--gids-typography-label-small__line-height);
791
+ text-transform: var(--gids-typography-label-small__text-transform, inherit);
792
+ font-variant-caps: var(--gids-typography-label-small__font-variant-caps, inherit);
793
+ }
794
+
795
+ .gids-typography-label-x-small {
796
+ font-family: var(--gids-typography-label-x-small__font-family);
797
+ font-size: var(--gids-typography-label-x-small__font-size);
798
+ font-weight: var(--gids-typography-label-x-small__font-weight);
799
+ letter-spacing: var(--gids-typography-label-x-small__letter-spacing);
800
+ line-height: var(--gids-typography-label-x-small__line-height);
801
+ text-transform: var(--gids-typography-label-x-small__text-transform, inherit);
802
+ font-variant-caps: var(--gids-typography-label-x-small__font-variant-caps, inherit);
803
+ }
804
+
805
+ .gids-typography-paragraph-large {
806
+ font-family: var(--gids-typography-paragraph-large__font-family);
807
+ font-size: var(--gids-typography-paragraph-large__font-size);
808
+ font-weight: var(--gids-typography-paragraph-large__font-weight);
809
+ letter-spacing: var(--gids-typography-paragraph-large__letter-spacing);
810
+ line-height: var(--gids-typography-paragraph-large__line-height);
811
+ text-transform: var(--gids-typography-paragraph-large__text-transform, inherit);
812
+ font-variant-caps: var(--gids-typography-paragraph-large__font-variant-caps, inherit);
813
+ }
814
+
815
+ .gids-typography-paragraph-medium {
816
+ font-family: var(--gids-typography-paragraph-medium__font-family);
817
+ font-size: var(--gids-typography-paragraph-medium__font-size);
818
+ font-weight: var(--gids-typography-paragraph-medium__font-weight);
819
+ letter-spacing: var(--gids-typography-paragraph-medium__letter-spacing);
820
+ line-height: var(--gids-typography-paragraph-medium__line-height);
821
+ text-transform: var(--gids-typography-paragraph-medium__text-transform, inherit);
822
+ font-variant-caps: var(--gids-typography-paragraph-medium__font-variant-caps, inherit);
823
+ }
824
+
825
+ .gids-typography-paragraph-small {
826
+ font-family: var(--gids-typography-paragraph-small__font-family);
827
+ font-size: var(--gids-typography-paragraph-small__font-size);
828
+ font-weight: var(--gids-typography-paragraph-small__font-weight);
829
+ letter-spacing: var(--gids-typography-paragraph-small__letter-spacing);
830
+ line-height: var(--gids-typography-paragraph-small__line-height);
831
+ text-transform: var(--gids-typography-paragraph-small__text-transform, inherit);
832
+ font-variant-caps: var(--gids-typography-paragraph-small__font-variant-caps, inherit);
833
+ }
834
+
835
+ .gids-typography-paragraph-x-small {
836
+ font-family: var(--gids-typography-paragraph-x-small__font-family);
837
+ font-size: var(--gids-typography-paragraph-x-small__font-size);
838
+ font-weight: var(--gids-typography-paragraph-x-small__font-weight);
839
+ letter-spacing: var(--gids-typography-paragraph-x-small__letter-spacing);
840
+ line-height: var(--gids-typography-paragraph-x-small__line-height);
841
+ text-transform: var(--gids-typography-paragraph-x-small__text-transform, inherit);
842
+ font-variant-caps: var(--gids-typography-paragraph-x-small__font-variant-caps, inherit);
843
+ }
844
+
845
+ /**
846
+ Mixins for visually hiding things from the screen, but keeping them accessible to assistive technlogies like screen readers.
847
+
848
+ Based on Bootstrap's implementation: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
849
+
850
+ Which, in turn, is based on these articles
851
+ - https://www.a11yproject.com/posts/how-to-hide-content/
852
+ - https://kittygiraudel.com/2016/10/13/css-hide-and-seek/
853
+ */
854
+ .gids-visually-hidden {
855
+ position: absolute !important;
856
+ width: 1px !important;
857
+ height: 1px !important;
858
+ padding: 0 !important;
859
+ margin: -1px !important;
860
+ overflow: hidden !important;
861
+ clip: rect(0, 0, 0, 0) !important;
862
+ white-space: nowrap !important;
863
+ border: 0 !important;
864
+ }
865
+
140
866
  /*
141
867
  * End styles - any styles need to be above this
142
868
  */