@dialpad/dialtone-css 9.3.0 → 9.4.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/slider.less +13 -0
- package/lib/dist/dialtone-default-theme.css +7 -0
- package/lib/dist/dialtone-default-theme.min.css +1 -1
- package/lib/dist/dialtone-docs.json +1 -1
- package/lib/dist/dialtone.css +7 -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 +7 -0
- package/lib/dist/no-layers/dialtone-default-theme.min.css +1 -1
- package/lib/dist/no-layers/dialtone.css +7 -0
- package/lib/dist/no-layers/dialtone.min.css +1 -1
- package/package.json +2 -2
|
@@ -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 {
|
|
@@ -10961,6 +10961,12 @@
|
|
|
10961
10961
|
/* stylelint-disable-next-line meowtec/no-px */
|
|
10962
10962
|
overflow-clip-margin: 32px;
|
|
10963
10963
|
}
|
|
10964
|
+
@supports not (overflow-clip-margin: 1px) {
|
|
10965
|
+
.d-slider__control {
|
|
10966
|
+
overflow: visible;
|
|
10967
|
+
contain: layout;
|
|
10968
|
+
}
|
|
10969
|
+
}
|
|
10964
10970
|
.d-slider__track {
|
|
10965
10971
|
position: absolute;
|
|
10966
10972
|
inset-inline: 0;
|
|
@@ -11266,6 +11272,7 @@
|
|
|
11266
11272
|
-webkit-margin-before: var(--dt-spacing-50);
|
|
11267
11273
|
margin-block-start: var(--dt-spacing-50);
|
|
11268
11274
|
overflow: visible;
|
|
11275
|
+
contain: none;
|
|
11269
11276
|
}
|
|
11270
11277
|
.d-slider--vertical .d-slider__track {
|
|
11271
11278
|
inset-inline: unset;
|