@jirawatpyk/aura-tokens 5.7.0 → 5.7.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/aura-tailwind.css +1 -1
- package/aura-tailwind.prefixed.css +1 -1
- package/aura.css +1 -1
- package/components/aura.components.css +8 -3
- package/package.json +1 -1
- package/tokens.json +1 -1
package/aura-tailwind.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AURA v5.7.
|
|
1
|
+
/* AURA v5.7.1 — Tailwind v4 theme. GENERATED by scripts/build-tokens.mts from tokens.json. Do not edit by hand.
|
|
2
2
|
* @import "tailwindcss";
|
|
3
3
|
* @import "@jirawatpyk/aura-tokens/tailwind.css";
|
|
4
4
|
* Gives bg-bg-surface, text-fg-primary, border-border-strong, p-aura-6, rounded-aura-xl, shadow-aura-overlay,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AURA v5.7.
|
|
1
|
+
/* AURA v5.7.1 — Tailwind v4 theme with aura- prefixed names. GENERATED by scripts/build-tokens.mts. Do not edit by hand.
|
|
2
2
|
* For apps that already have a Tailwind theme (shadcn): nothing here redefines an existing name.
|
|
3
3
|
* @layer aura-tokens, theme, base, aura, components, utilities;
|
|
4
4
|
* @import "tailwindcss";
|
package/aura.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* AURA v5.7.
|
|
1
|
+
/* AURA v5.7.1 — GENERATED by scripts/build-tokens.mts from tokens.json. Do not edit by hand. */
|
|
2
2
|
/* Fonts: load aura-fonts.css (or the <link> tags in README) separately, so a blocked Google Fonts never breaks this file. */
|
|
3
3
|
|
|
4
4
|
:root, [data-theme="light"] {
|
|
@@ -641,7 +641,7 @@ a.aura-tab { text-decoration: none; }
|
|
|
641
641
|
.aura-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
642
642
|
.aura-nav__item {
|
|
643
643
|
box-sizing: border-box; display: flex; align-items: center; gap: var(--aura-space-3); width: 100%;
|
|
644
|
-
height: 36px; padding:
|
|
644
|
+
min-height: 36px; padding: var(--aura-space-1) var(--aura-space-3); border: 0; border-radius: var(--aura-radius-sm);
|
|
645
645
|
background: transparent; color: var(--aura-fg-secondary); font: inherit; font-size: 13px; font-weight: 500;
|
|
646
646
|
text-decoration: none; text-align: left; cursor: pointer;
|
|
647
647
|
transition: background var(--aura-duration-fast) var(--aura-ease), color var(--aura-duration-fast) var(--aura-ease);
|
|
@@ -651,8 +651,13 @@ a.aura-tab { text-decoration: none; }
|
|
|
651
651
|
.aura-nav__item.is-active .aura-icon { color: var(--aura-fg-accent); }
|
|
652
652
|
.aura-nav__item:focus-visible { outline: var(--aura-focus-ring-width) solid var(--aura-focus-ring); outline-offset: -2px; }
|
|
653
653
|
/* Touch (5.7): rows are 44px on coarse pointers (AppShell's phone drawer); desktop keeps 36px. */
|
|
654
|
-
@media (pointer: coarse) { .aura-nav__item {
|
|
655
|
-
.
|
|
654
|
+
@media (pointer: coarse) { .aura-nav__item { min-height: var(--aura-touch-target); } }
|
|
655
|
+
/* 5.7.1: a long label wraps to a second line (the row grows; one-line rows stay 36px) instead of an ellipsis with no
|
|
656
|
+
* way to read the rest — Thai and Swedish names in a 240px nav or the phone drawer. Beyond two lines it clamps. */
|
|
657
|
+
.aura-nav__label {
|
|
658
|
+
flex: 1; min-width: 0; line-height: 18px; overflow: hidden; overflow-wrap: anywhere;
|
|
659
|
+
display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
|
|
660
|
+
}
|
|
656
661
|
.aura-nav__count { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--aura-fg-secondary); }
|
|
657
662
|
.aura-nav__badge { display: inline-flex; align-items: center; flex: none; }
|
|
658
663
|
/* Groups: a disclosure button, its items indented one step per level. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jirawatpyk/aura-tokens",
|
|
3
|
-
"version": "5.7.
|
|
3
|
+
"version": "5.7.1",
|
|
4
4
|
"description": "AURA Design System — tokens (CSS variables, Tailwind preset, Figma variables), theme contrast checks and token lint.",
|
|
5
5
|
"main": "tailwind.tokens.cjs",
|
|
6
6
|
"types": "components/index.d.ts",
|
package/tokens.json
CHANGED