@passui/react 0.1.22 → 0.1.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@passui/react",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "description": "Passui: native React controls, design tokens, presentation and appearance.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -9,7 +9,7 @@
9
9
  No painted background patch needs to match the field's surroundings. */
10
10
  .passui-field-outline {
11
11
  position: absolute;
12
- inset: -0.45em 0 0;
12
+ inset: calc(var(--text-footnote) / -2) 0 0;
13
13
  min-width: 0;
14
14
  margin: 0;
15
15
  padding: 0 0.5rem;
@@ -23,6 +23,8 @@
23
23
  overflow: hidden;
24
24
  padding: 0;
25
25
  font-size: var(--text-footnote);
26
+ line-height: 1;
27
+ height: 1em;
26
28
  white-space: nowrap;
27
29
  visibility: hidden;
28
30
  transition: max-width 320ms ease, padding 320ms ease;
@@ -38,6 +40,7 @@
38
40
  white-space: nowrap;
39
41
  color: var(--color-label-secondary);
40
42
  font-size: var(--text-body);
43
+ line-height: 1;
41
44
  transform: translateY(-50%);
42
45
  transform-origin: left center;
43
46
  transition: top 320ms ease, transform 320ms ease, color 200ms ease;