burne-ui 1.7.7 → 1.7.9

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/dist/index.js CHANGED
@@ -16356,7 +16356,7 @@ function qO({
16356
16356
  function Fi() {
16357
16357
  return F(Sa);
16358
16358
  }
16359
- const ZO = !0, QO = !0, JO = "group/link inline-flex max-w-full min-w-0 items-center gap-xsmall rounded-mid no-underline outline-none w-fit text-primary focus-ring", eB = "min-w-0 truncate font-w-mid", tB = "underline decoration-current/70 underline-offset-[0.2em]", nB = "text-muted group-hover/link:text-primary group-focus-visible/link:text-primary", oB = "text-primary", rB = "rotate-[-45deg]", sB = {
16359
+ const ZO = !0, QO = !0, JO = "group/link inline-flex max-w-full min-w-0 items-center gap-xsmall rounded-mid no-underline outline-none w-fit text-foreground focus-ring", eB = "min-w-0 truncate font-w-mid", tB = "underline decoration-current/70 underline-offset-[0.2em]", nB = "text-muted group-hover/link:text-foreground group-focus-visible/link:text-foreground", oB = "text-foreground", rB = "rotate-[-45deg]", sB = {
16360
16360
  small: "small",
16361
16361
  base: "base",
16362
16362
  mid: "mid",
@@ -11,21 +11,22 @@
11
11
  * | Control box | — | `--control-height-*` | — | `h-control-*`, `min-h-control-*` |
12
12
  * | Control square | — | `--control-size-*` (= height) | — | `w-control-*`, `min/max-w-control-*` |
13
13
  * | Icons | `--size` | `--size-scale-*` → `--icon-size-*` (1:1) | — | `icon-xsmall` … `icon-3xlarge` |
14
- * | Indicators | `--size` / `--radius` | `--selection-indicator-*` + `--selection-indicator-radius-*` (`--radius-*` × 0.75) | — | `selection-indicator-*` |
14
+ * | Indicators | `--size` / `--radius` | `--selection-indicator-*` + `--selection-indicator-radius-*` (`--radius-*` × 0.618) | — | `selection-indicator-*` |
15
15
  * | Panels | `--size` | `--max-component-*` | — | `min/max-w-component-*` |
16
16
  *
17
17
  * ## Typography
18
18
  *
19
19
  * `--text-scale-*` steps (rem) align with semantic roles / utilities of the same name:
20
- * `xsmall` 0.6875 · `small` 0.75 · `base` 0.875 · `mid` 1 · `large` 1.25 ·
20
+ * `xsmall` 0.6875 · `small` 0.75 · `base` 0.875 · `mid` 1 · `large` 1.15 ·
21
21
  * `xlarge` 1.5 · `2xlarge` 1.875 · `3xlarge` 2.25.
22
22
  * Headers: `text-header-2` → `xlarge`, `text-header-1` → `2xlarge`, `text-accent-header` → `3xlarge`.
23
23
  *
24
24
  * Customization:
25
- * - `--space` — spacing (gap, padding); steps `gap-*`, `p-*` via multipliers; fluid `clamp` by viewport (theme JS writes scaled `clamp`, not fixed rem).
25
+ * - `--space` — spacing (gap, padding); steps × `--space`:
26
+ * `0.618 / 0.875 / 1 / 1.5 / 2 / 2.5 / 4 / 6`; fluid `clamp` by viewport (theme JS writes scaled `clamp`, not fixed rem).
26
27
  * - `--size` — control sizes (icons, indicators, button min-width, modal max-w); fluid `clamp` by viewport.
27
- * - `--radius` — base radius; `rounded-*` steps via tight multipliers
28
- * (`0.75 / 0.875 / 1 / 1.125 / 1.25`); fluid `clamp` by viewport.
28
+ * - `--radius` — base radius; `rounded-*` steps via multipliers
29
+ * (`0.618 / 0.875 / 1 / 1.125 / 1.25`); fluid `clamp` by viewport.
29
30
  * - `--shadow-size` — blur/offset multiplier for `--shadow-base|mid|large` (`calc(… * var(--shadow-size))`; do not bake px).
30
31
  * - `--toast-scrim-size` / `--toast-scrim-density` — Toast scrim backdrop size and density.
31
32
  * - `--focus-ring-width` / `--focus-ring-offset` — keyboard focus ring geometry (`focus-ring*` utilities).
package/dist/ui.css CHANGED
@@ -1177,8 +1177,6 @@
1177
1177
 
1178
1178
  @layer theme {
1179
1179
  :root, :host {
1180
- --font-sans: var(--font-family-sans);
1181
- --font-mono: var(--font-family-mono);
1182
1180
  --color-amber-300: oklch(87.9% .169 91.605);
1183
1181
  --color-amber-400: oklch(82.8% .189 84.429);
1184
1182
  --color-amber-500: oklch(76.9% .188 70.08);
@@ -1207,7 +1205,6 @@
1207
1205
  --text-sm: .875rem;
1208
1206
  --text-sm--line-height: calc(1.25 / .875);
1209
1207
  --text-base: var(--text-base-size);
1210
- --text-base--line-height: var(--text-base-line-height);
1211
1208
  --text-xl: 1.25rem;
1212
1209
  --text-xl--line-height: calc(1.75 / 1.25);
1213
1210
  --text-2xl: 1.5rem;
@@ -1291,7 +1288,6 @@
1291
1288
  --radius-base: var(--radius-base);
1292
1289
  --radius-mid: var(--radius-mid);
1293
1290
  --radius-large: var(--radius-large);
1294
- --text-base--font-weight: var(--text-base-weight);
1295
1291
  }
1296
1292
  }
1297
1293
 
@@ -5009,6 +5005,10 @@
5009
5005
  padding-inline: calc(var(--spacing) * 1);
5010
5006
  }
5011
5007
 
5008
+ .px-2xlarge {
5009
+ padding-inline: var(--space-2xlarge);
5010
+ }
5011
+
5012
5012
  .px-\[length\:calc\(var\(--border-width\)\*2\)\] {
5013
5013
  padding-inline: calc(var(--border-width) * 2);
5014
5014
  }
@@ -6213,8 +6213,8 @@
6213
6213
  opacity: .4;
6214
6214
  }
6215
6215
 
6216
- .group-hover\/link\:text-primary:is(:where(.group\/link):hover *) {
6217
- color: var(--color-primary);
6216
+ .group-hover\/link\:text-foreground:is(:where(.group\/link):hover *) {
6217
+ color: var(--color-foreground);
6218
6218
  }
6219
6219
 
6220
6220
  .group-hover\/toggle\:bg-default-hover:is(:where(.group\/toggle):hover *) {
@@ -6226,8 +6226,8 @@
6226
6226
  }
6227
6227
  }
6228
6228
 
6229
- .group-focus-visible\/link\:text-primary:is(:where(.group\/link):focus-visible *) {
6230
- color: var(--color-primary);
6229
+ .group-focus-visible\/link\:text-foreground:is(:where(.group\/link):focus-visible *) {
6230
+ color: var(--color-foreground);
6231
6231
  }
6232
6232
 
6233
6233
  .placeholder\:text-info\/50::placeholder {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "burne-ui",
3
- "version": "1.7.7",
3
+ "version": "1.7.9",
4
4
  "description": "React UI kit (Burne UI)",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -30,6 +30,7 @@
30
30
  "default": "./dist/internal.js"
31
31
  },
32
32
  "./styles.css": "./dist/ui.css",
33
+ "./theme-bridge.css": "./cli/theme-bridge.css",
33
34
  "./package.json": "./package.json"
34
35
  },
35
36
  "scripts": {