@zazz-ui/core 0.13.0 → 0.13.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/CHANGELOG.md +6 -0
- package/README.md +2 -2
- package/dist/sri.json +2 -2
- package/dist/zazz.css +1 -1
- package/package.json +1 -1
- package/src/primitives/input/input.css +3 -2
package/package.json
CHANGED
|
@@ -148,7 +148,8 @@
|
|
|
148
148
|
|
|
149
149
|
/* iOS WebKit adds a temporal input's padding and border on top of its inline size,
|
|
150
150
|
whatever box-sizing says (webkit.org/b/301648), so a full-width field overflows;
|
|
151
|
-
-webkit-touch-callout is iOS-only, so the correction lands there alone
|
|
151
|
+
-webkit-touch-callout is iOS-only, so the correction lands there alone. The
|
|
152
|
+
padding includes the touch-target widening (--_touch-px) on both sides. */
|
|
152
153
|
@supports (-webkit-touch-callout: none) {
|
|
153
154
|
:where([data-ui~="input"]):is(
|
|
154
155
|
[type="date"],
|
|
@@ -160,7 +161,7 @@
|
|
|
160
161
|
inline-size: calc(
|
|
161
162
|
var(--_w-len) + var(--_w-num) * var(--spacing) -
|
|
162
163
|
(var(--_pl-len) + var(--_pl-num) * var(--spacing)) -
|
|
163
|
-
(var(--_pr-len) + var(--_pr-num) * var(--spacing)) - 2 *
|
|
164
|
+
(var(--_pr-len) + var(--_pr-num) * var(--spacing)) - 2 * var(--_touch-px) - 2 *
|
|
164
165
|
var(--_border-width-resolved, var(--ui-input-border-width))
|
|
165
166
|
);
|
|
166
167
|
}
|