@dialpad/dialtone-css 9.3.0 → 9.5.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.
- package/lib/build/js/dialtone_migrate/git_environment.mjs +13 -0
- package/lib/build/js/dialtone_migrate/index.mjs +43 -8
- package/lib/build/js/dialtone_migrate/test.mjs +116 -5
- package/lib/build/js/dialtone_migrate_text_variant/index.mjs +227 -0
- package/lib/build/js/dialtone_migrate_text_variant/test.mjs +108 -0
- package/lib/build/less/components/dropdown.less +16 -0
- package/lib/build/less/components/filter-pill.less +24 -0
- package/lib/build/less/components/slider.less +13 -0
- package/lib/dist/dialtone-default-theme.css +40 -0
- package/lib/dist/dialtone-default-theme.min.css +1 -1
- package/lib/dist/dialtone-docs.json +1 -1
- package/lib/dist/dialtone.css +40 -0
- package/lib/dist/dialtone.min.css +1 -1
- package/lib/dist/js/dialtone_migrate/git_environment.mjs +13 -0
- package/lib/dist/js/dialtone_migrate/index.mjs +43 -8
- package/lib/dist/js/dialtone_migrate/test.mjs +116 -5
- package/lib/dist/js/dialtone_migrate_text_variant/index.mjs +227 -0
- package/lib/dist/js/dialtone_migrate_text_variant/test.mjs +108 -0
- package/lib/dist/no-layers/dialtone-default-theme.css +38 -0
- package/lib/dist/no-layers/dialtone-default-theme.min.css +1 -1
- package/lib/dist/no-layers/dialtone.css +38 -0
- package/lib/dist/no-layers/dialtone.min.css +1 -1
- package/package.json +2 -2
|
@@ -65,6 +65,15 @@
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
+
&__popover-content {
|
|
69
|
+
padding-block: var(--dt-spacing-100);
|
|
70
|
+
padding-inline: var(--dt-spacing-150);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&__selection-indicator--hidden {
|
|
74
|
+
visibility: hidden;
|
|
75
|
+
}
|
|
76
|
+
|
|
68
77
|
&__label {
|
|
69
78
|
display: flex;
|
|
70
79
|
gap: var(--dt-spacing-50);
|
|
@@ -92,6 +101,10 @@
|
|
|
92
101
|
content: "=";
|
|
93
102
|
margin-inline-end: var(--dt-spacing-50);
|
|
94
103
|
}
|
|
104
|
+
|
|
105
|
+
&--standalone::before {
|
|
106
|
+
content: none;
|
|
107
|
+
}
|
|
95
108
|
}
|
|
96
109
|
|
|
97
110
|
&__label-end-overflow {
|
|
@@ -102,6 +115,17 @@
|
|
|
102
115
|
font-variant-numeric: tabular-nums;
|
|
103
116
|
}
|
|
104
117
|
|
|
118
|
+
&__anchor-end,
|
|
119
|
+
&__option-end {
|
|
120
|
+
display: inline-flex;
|
|
121
|
+
gap: var(--dt-spacing-50);
|
|
122
|
+
align-items: center;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&__menu-heading {
|
|
126
|
+
padding: var(--dt-spacing-100);
|
|
127
|
+
}
|
|
128
|
+
|
|
105
129
|
&__clear {
|
|
106
130
|
--button-padding-x: var(--dt-spacing-75) !important;
|
|
107
131
|
--button-padding-y: var(--dt-spacing-0) !important;
|
|
@@ -161,6 +161,16 @@
|
|
|
161
161
|
// DtSelectMenu) when stacked at the same gap.
|
|
162
162
|
/* stylelint-disable-next-line meowtec/no-px */
|
|
163
163
|
overflow-clip-margin: 32px;
|
|
164
|
+
|
|
165
|
+
// Safari doesn't support overflow-clip-margin, so the clip above would cut
|
|
166
|
+
// off marks, the inline readout, the 44px hit area and the focus ring.
|
|
167
|
+
// Let them paint instead; `contain: layout` keeps that overhang from
|
|
168
|
+
// counting as scrollable overflow (no ancestor scrollbar). Side effect:
|
|
169
|
+
// the control becomes a stacking context.
|
|
170
|
+
@supports not (overflow-clip-margin: 1px) {
|
|
171
|
+
overflow: visible;
|
|
172
|
+
contain: layout;
|
|
173
|
+
}
|
|
164
174
|
}
|
|
165
175
|
|
|
166
176
|
// $$ TRACK
|
|
@@ -621,6 +631,9 @@
|
|
|
621
631
|
// the horizontal clip above guards against — so there's no equivalent
|
|
622
632
|
// growing-scrollWidth risk here. Restore full visibility.
|
|
623
633
|
overflow: visible;
|
|
634
|
+
// Undo the horizontal control's Safari-fallback containment (above)
|
|
635
|
+
// so vertical overflow stays scrollable overflow, exactly as before.
|
|
636
|
+
contain: none;
|
|
624
637
|
}
|
|
625
638
|
|
|
626
639
|
.d-slider__track {
|
|
@@ -7128,6 +7128,20 @@
|
|
|
7128
7128
|
margin-block-start: var(--dt-spacing-25);
|
|
7129
7129
|
}
|
|
7130
7130
|
}
|
|
7131
|
+
@layer dialtone.utilities {
|
|
7132
|
+
.d-dropdown__menu--arrow-keys[role="menu"] > .d-vi-visible-sr:focus-visible {
|
|
7133
|
+
position: relative;
|
|
7134
|
+
grid-row: -1;
|
|
7135
|
+
justify-self: start;
|
|
7136
|
+
inline-size: auto;
|
|
7137
|
+
block-size: auto;
|
|
7138
|
+
margin: var(--dt-spacing-100);
|
|
7139
|
+
padding: var(--button-padding-y) var(--button-padding-x);
|
|
7140
|
+
overflow: visible;
|
|
7141
|
+
border: var(--button-border-width) solid var(--button-color-border);
|
|
7142
|
+
clip-path: none;
|
|
7143
|
+
}
|
|
7144
|
+
}
|
|
7131
7145
|
@property --description-list-gap {
|
|
7132
7146
|
syntax: "*";
|
|
7133
7147
|
inherits: false;
|
|
@@ -10961,6 +10975,12 @@
|
|
|
10961
10975
|
/* stylelint-disable-next-line meowtec/no-px */
|
|
10962
10976
|
overflow-clip-margin: 32px;
|
|
10963
10977
|
}
|
|
10978
|
+
@supports not (overflow-clip-margin: 1px) {
|
|
10979
|
+
.d-slider__control {
|
|
10980
|
+
overflow: visible;
|
|
10981
|
+
contain: layout;
|
|
10982
|
+
}
|
|
10983
|
+
}
|
|
10964
10984
|
.d-slider__track {
|
|
10965
10985
|
position: absolute;
|
|
10966
10986
|
inset-inline: 0;
|
|
@@ -11266,6 +11286,7 @@
|
|
|
11266
11286
|
-webkit-margin-before: var(--dt-spacing-50);
|
|
11267
11287
|
margin-block-start: var(--dt-spacing-50);
|
|
11268
11288
|
overflow: visible;
|
|
11289
|
+
contain: none;
|
|
11269
11290
|
}
|
|
11270
11291
|
.d-slider--vertical .d-slider__track {
|
|
11271
11292
|
inset-inline: unset;
|
|
@@ -12290,6 +12311,13 @@
|
|
|
12290
12311
|
border-start-end-radius: 0;
|
|
12291
12312
|
border-end-end-radius: 0;
|
|
12292
12313
|
}
|
|
12314
|
+
.d-filter-pill__popover-content {
|
|
12315
|
+
padding-block: var(--dt-spacing-100);
|
|
12316
|
+
padding-inline: var(--dt-spacing-150);
|
|
12317
|
+
}
|
|
12318
|
+
.d-filter-pill__selection-indicator--hidden {
|
|
12319
|
+
visibility: hidden;
|
|
12320
|
+
}
|
|
12293
12321
|
.d-filter-pill__label {
|
|
12294
12322
|
display: flex;
|
|
12295
12323
|
gap: var(--dt-spacing-50);
|
|
@@ -12316,6 +12344,9 @@
|
|
|
12316
12344
|
-webkit-margin-end: var(--dt-spacing-50);
|
|
12317
12345
|
margin-inline-end: var(--dt-spacing-50);
|
|
12318
12346
|
}
|
|
12347
|
+
.d-filter-pill__label-end--standalone::before {
|
|
12348
|
+
content: none;
|
|
12349
|
+
}
|
|
12319
12350
|
.d-filter-pill__label-end-overflow {
|
|
12320
12351
|
align-items: center;
|
|
12321
12352
|
overflow: hidden;
|
|
@@ -12323,6 +12354,15 @@
|
|
|
12323
12354
|
letter-spacing: var(--dt-spacing-1);
|
|
12324
12355
|
font-variant-numeric: tabular-nums;
|
|
12325
12356
|
}
|
|
12357
|
+
.d-filter-pill__anchor-end,
|
|
12358
|
+
.d-filter-pill__option-end {
|
|
12359
|
+
display: inline-flex;
|
|
12360
|
+
gap: var(--dt-spacing-50);
|
|
12361
|
+
align-items: center;
|
|
12362
|
+
}
|
|
12363
|
+
.d-filter-pill__menu-heading {
|
|
12364
|
+
padding: var(--dt-spacing-100);
|
|
12365
|
+
}
|
|
12326
12366
|
.d-filter-pill__clear {
|
|
12327
12367
|
--button-padding-x: var(--dt-spacing-75) !important;
|
|
12328
12368
|
--button-padding-y: var(--dt-spacing-0) !important;
|