@tangible/ui 0.0.5 → 0.0.6

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.
@@ -57,7 +57,7 @@
57
57
  select
58
58
  ) {
59
59
  // Internal tokens — read component API with fallback to primitives
60
- --_bg: var(--#{sys.$prefix}input-bg, var(--#{sys.$prefix}color-bg));
60
+ --_bg: var(--#{sys.$prefix}input-bg, var(--#{sys.$prefix}color-bg-surface));
61
61
  --_fg: var(--#{sys.$prefix}input-fg, var(--#{sys.$prefix}color-fg-muted));
62
62
  --_border: var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border));
63
63
  --_border-focus: var(--#{sys.$prefix}input-border-focus, var(--#{sys.$prefix}theme-primary-base));
@@ -215,7 +215,7 @@
215
215
  // ---------------------------------------------------------------------------
216
216
  :where(.#{sys.$prefix}interface) input[type="file"] {
217
217
  // Internal tokens
218
- --_bg: var(--#{sys.$prefix}input-bg, var(--#{sys.$prefix}color-bg));
218
+ --_bg: var(--#{sys.$prefix}input-bg, var(--#{sys.$prefix}color-bg-surface));
219
219
  --_fg: var(--#{sys.$prefix}input-fg, var(--#{sys.$prefix}color-fg-muted));
220
220
  --_border: var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border));
221
221
  --_radius: var(--#{sys.$prefix}input-radius, var(--#{sys.$prefix}radius-md));
package/styles/index.scss CHANGED
@@ -35,6 +35,9 @@
35
35
 
36
36
  @include sys.emit-scale-vars(sys.$prefix, sys.$radius, sys.$font);
37
37
 
38
+ --#{sys.$prefix}typography-weight-normal: 400;
39
+ --#{sys.$prefix}typography-weight-bold: 700;
40
+
38
41
  --#{sys.$prefix}typography-size: var(--#{sys.$prefix}font-size-base);
39
42
  --#{sys.$prefix}typography-line-height: 1.4;
40
43
  --#{sys.$prefix}typography-font-family: inherit;
@@ -82,6 +85,17 @@
82
85
  text-transform: none;
83
86
  letter-spacing: normal;
84
87
  }
88
+
89
+ // Form input reset — WP and other hosts apply box-shadow on :focus
90
+ // that competes with our outline-based focus ring.
91
+ input,
92
+ textarea,
93
+ select {
94
+ &:focus,
95
+ &:focus-visible {
96
+ box-shadow: none;
97
+ }
98
+ }
85
99
  }
86
100
  }
87
101
 
@@ -21,6 +21,9 @@
21
21
  // --tui-control-height-sm: 32px;
22
22
  // --tui-control-height-md: 36px;
23
23
  // --tui-control-height-lg: 44px;
24
+ // --tui-control-font-size-sm: 13px; /* optional: decouple font from size tier */
25
+ // --tui-control-font-size-md: 13px;
26
+ // --tui-control-font-size-lg: 13px;
24
27
  // }
25
28
  //
26
29
  // Usage:
@@ -29,7 +32,7 @@
29
32
  // =============================================================================
30
33
 
31
34
  @mixin control-sizing($prefix) {
32
- --_fs: var(--#{$prefix}typography-size-md);
35
+ --_fs: var(--#{$prefix}control-font-size-md, var(--#{$prefix}typography-size-md));
33
36
  --_py: var(--#{$prefix}spacing-xxs);
34
37
  --_height: calc(2em + 2 * var(--_py));
35
38
 
@@ -38,12 +41,12 @@
38
41
  min-height: var(--#{$prefix}control-height-md, var(--_height));
39
42
 
40
43
  &.is-size-sm {
41
- --_fs: var(--#{$prefix}typography-size-sm);
44
+ --_fs: var(--#{$prefix}control-font-size-sm, var(--#{$prefix}typography-size-sm));
42
45
  min-height: var(--#{$prefix}control-height-sm, var(--_height));
43
46
  }
44
47
 
45
48
  &.is-size-lg {
46
- --_fs: var(--#{$prefix}typography-size-lg);
49
+ --_fs: var(--#{$prefix}control-font-size-lg, var(--#{$prefix}typography-size-lg));
47
50
  min-height: var(--#{$prefix}control-height-lg, var(--_height));
48
51
  }
49
52
  }
package/tui-manifest.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.0.5",
3
- "generated": "2026-03-10T01:28:11.655Z",
2
+ "version": "0.0.6",
3
+ "generated": "2026-03-11T21:53:09.418Z",
4
4
  "components": {
5
5
  "Accordion": {
6
6
  "props": {
@@ -845,6 +845,7 @@
845
845
  "--tui-combobox-content-border",
846
846
  "--tui-combobox-content-shadow",
847
847
  "--tui-combobox-content-radius",
848
+ "--tui-combobox-option-radius",
848
849
  "--tui-combobox-option-bg-hover",
849
850
  "--tui-combobox-option-bg-selected"
850
851
  ],
@@ -1206,6 +1207,11 @@
1206
1207
  "cssTokens": [
1207
1208
  "--tui-modal-z",
1208
1209
  "--tui-modal-max",
1210
+ "--tui-modal-spacing",
1211
+ "--tui-modal-offset-top",
1212
+ "--tui-modal-offset-bottom",
1213
+ "--tui-modal-offset-start",
1214
+ "--tui-modal-offset-end",
1209
1215
  "--tui-modal-backdrop",
1210
1216
  "--tui-modal-bg",
1211
1217
  "--tui-modal-border",
@@ -1399,6 +1405,7 @@
1399
1405
  "--tui-multiselect-content-border",
1400
1406
  "--tui-multiselect-content-shadow",
1401
1407
  "--tui-multiselect-content-radius",
1408
+ "--tui-multiselect-option-radius",
1402
1409
  "--tui-multiselect-option-bg-hover",
1403
1410
  "--tui-multiselect-option-bg-selected",
1404
1411
  "--tui-multiselect-chip-bg",
@@ -2099,6 +2106,7 @@
2099
2106
  "--tui-select-content-border",
2100
2107
  "--tui-select-content-shadow",
2101
2108
  "--tui-select-content-radius",
2109
+ "--tui-select-option-radius",
2102
2110
  "--tui-select-option-bg-hover",
2103
2111
  "--tui-select-option-bg-selected"
2104
2112
  ],