burne-ui 1.7.7 → 1.8.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/README.md +3 -3
- package/cli/init.js +16 -16
- package/cli/theme-bridge.css +107 -0
- package/dist/components/composite/Accordion/accordionTypes.d.ts +2 -1
- package/dist/components/core/Button/buttonAnimations.d.ts +1 -0
- package/dist/components/core/Button/buttonStyles.d.ts +12 -6
- package/dist/components/core/Button/buttonTypes.d.ts +5 -0
- package/dist/components/core/Link/linkStyles.d.ts +3 -3
- package/dist/components/core/SelectionIndicator/selectionIndicatorTokens.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +5096 -5087
- package/dist/internal.cjs +1 -1
- package/dist/internal.js +1 -1
- package/dist/{themeRuntimeContext-BSRr0qLF.js → themeRuntimeContext-BYM_xa2F.js} +786 -764
- package/dist/{themeRuntimeContext-DV880giO.cjs → themeRuntimeContext-CnA3HVpr.cjs} +6 -6
- package/dist/tokens/config.d.ts +6 -5
- package/dist/ui.css +12 -14
- package/package.json +2 -1
package/dist/tokens/config.d.ts
CHANGED
|
@@ -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.
|
|
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.
|
|
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
|
|
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
|
|
28
|
-
* (`0.
|
|
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
|
|
|
@@ -1561,6 +1557,10 @@
|
|
|
1561
1557
|
visibility: collapse;
|
|
1562
1558
|
}
|
|
1563
1559
|
|
|
1560
|
+
.invisible {
|
|
1561
|
+
visibility: hidden;
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
1564
|
.visible {
|
|
1565
1565
|
visibility: visible;
|
|
1566
1566
|
}
|
|
@@ -5009,6 +5009,10 @@
|
|
|
5009
5009
|
padding-inline: calc(var(--spacing) * 1);
|
|
5010
5010
|
}
|
|
5011
5011
|
|
|
5012
|
+
.px-2xlarge {
|
|
5013
|
+
padding-inline: var(--space-2xlarge);
|
|
5014
|
+
}
|
|
5015
|
+
|
|
5012
5016
|
.px-\[length\:calc\(var\(--border-width\)\*2\)\] {
|
|
5013
5017
|
padding-inline: calc(var(--border-width) * 2);
|
|
5014
5018
|
}
|
|
@@ -6213,8 +6217,8 @@
|
|
|
6213
6217
|
opacity: .4;
|
|
6214
6218
|
}
|
|
6215
6219
|
|
|
6216
|
-
.group-hover\/link\:text-
|
|
6217
|
-
color: var(--color-
|
|
6220
|
+
.group-hover\/link\:text-foreground:is(:where(.group\/link):hover *) {
|
|
6221
|
+
color: var(--color-foreground);
|
|
6218
6222
|
}
|
|
6219
6223
|
|
|
6220
6224
|
.group-hover\/toggle\:bg-default-hover:is(:where(.group\/toggle):hover *) {
|
|
@@ -6226,8 +6230,8 @@
|
|
|
6226
6230
|
}
|
|
6227
6231
|
}
|
|
6228
6232
|
|
|
6229
|
-
.group-focus-visible\/link\:text-
|
|
6230
|
-
color: var(--color-
|
|
6233
|
+
.group-focus-visible\/link\:text-foreground:is(:where(.group\/link):focus-visible *) {
|
|
6234
|
+
color: var(--color-foreground);
|
|
6231
6235
|
}
|
|
6232
6236
|
|
|
6233
6237
|
.placeholder\:text-info\/50::placeholder {
|
|
@@ -7140,12 +7144,6 @@ p {
|
|
|
7140
7144
|
}
|
|
7141
7145
|
}
|
|
7142
7146
|
|
|
7143
|
-
button [data-button-async-layer][aria-hidden="true"] {
|
|
7144
|
-
visibility: hidden;
|
|
7145
|
-
opacity: 0;
|
|
7146
|
-
pointer-events: none;
|
|
7147
|
-
}
|
|
7148
|
-
|
|
7149
7147
|
[data-selection-fill]:not([data-selection-fill-ready])[data-pressed="false"] {
|
|
7150
7148
|
visibility: hidden;
|
|
7151
7149
|
opacity: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "burne-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
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": {
|