@dialpad/dialtone-css 8.33.0 → 8.35.0

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.
@@ -35,11 +35,11 @@
35
35
  }
36
36
 
37
37
  &__alignment {
38
+ // !important to default value to override popover dialog box-sizing: border-box style
39
+ box-sizing: content-box !important;
38
40
  width: auto;
39
41
  max-width: calc(var(--dt-size-925) + var(--dt-size-400));
40
42
  margin: 0 var(--dt-space-500);
41
- // !important to default value to override popover dialog box-sizing: border-box style
42
- box-sizing: content-box !important;
43
43
  }
44
44
 
45
45
  &--footer {
@@ -217,7 +217,7 @@
217
217
 
218
218
  &__data {
219
219
  display: flex;
220
- gap: var(--dt-space-100);
220
+ gap: var(--dt-space-400);
221
221
  align-items: center;
222
222
  width: 100%;
223
223
  max-width: calc(var(--dt-size-905) + var(--dt-size-550) + var(--dt-size-200));
@@ -15,42 +15,47 @@
15
15
  flex-direction: column;
16
16
  align-items: center;
17
17
  justify-content: center;
18
+ width: 100%;
19
+ padding: var(--dt-space-600);
18
20
  text-align: center;
19
- margin: 0 auto;
20
21
 
21
- &--size-sm {
22
- width: 50%;
23
- padding: var(--dt-space-500);
22
+ &__icon {
23
+ color: var(--dt-color-foreground-tertiary);
24
+ line-height: 0;
25
+ }
24
26
 
25
- h1{
26
- font: var(--dt-typography-headline-md);
27
- }
28
- p{
29
- font: var(--dt-typography-body-sm);
30
- }
27
+ &__illustration {
28
+ line-height: 0;
31
29
  }
32
30
 
33
- &--size-md {
34
- width: 70%;
35
- padding: var(--dt-space-500);
31
+ &__content {
32
+ padding: var(--dt-space-600) 0;
33
+ }
36
34
 
37
- h1{
38
- font: var(--dt-typography-headline-xl);
39
- }
40
- p{
41
- font: var(--dt-typography-body-sm);
42
- }
35
+ &__content--sm {
36
+ padding: var(--dt-space-500) 0;
43
37
  }
44
38
 
45
- &--size-lg {
46
- width: 100%;
47
- padding: var(--dt-space-600);
39
+ &__content--md {}
40
+
41
+ &__content--lg {}
42
+
43
+ &__header-text {
44
+ text-wrap: balance;
45
+ }
48
46
 
49
- h1{
50
- font: var(--dt-typography-headline-xxl);
51
- }
52
- p{
53
- font: var(--dt-typography-body-md);
54
- }
47
+ &__body-text {
48
+ color: var(--dt-color-foreground-secondary);
49
+ text-wrap: balance;
50
+ }
51
+
52
+ &--size-sm {
53
+ width: var(--dt-size-50-percent);
54
+ padding: var(--dt-space-500);
55
+ }
56
+
57
+ &--size-md {
58
+ width: var(--dt-size-70-percent);
59
+ padding: var(--dt-space-500);
55
60
  }
56
61
  }
@@ -22,6 +22,7 @@
22
22
  // • WHITESPACE
23
23
  // • WORD-BREAK
24
24
  // • WORD-WRAP
25
+ // • FONT VARIANT NUMERIC
25
26
  //
26
27
  // ============================================================================
27
28
  // $ FONT FAMILY
@@ -443,3 +444,16 @@ ul {
443
444
  white-space: nowrap !important;
444
445
  text-overflow: ellipsis !important;
445
446
  }
447
+
448
+ // ============================================================================
449
+ // $$ FONT VARIANT NUMERIC
450
+ // ----------------------------------------------------------------------------
451
+ .d-fvn-normal { font-variant-numeric: normal !important; }
452
+ .d-fvn-ordinal { font-variant-numeric: ordinal !important; }
453
+ .d-fvn-slashed-zero { font-variant-numeric: slashed-zero !important; }
454
+ .d-fvn-lining { font-variant-numeric: lining-nums !important; }
455
+ .d-fvn-proportional { font-variant-numeric: proportional-nums !important; }
456
+ .d-fvn-tabular { font-variant-numeric: tabular-nums !important; }
457
+ .d-fvn-diagonal { font-variant-numeric: diagonal-fractions !important; }
458
+ .d-fvn-stacked { font-variant-numeric: stacked-fractions !important; }
459
+ .d-fvn-unset { font-variant-numeric: unset !important; }