@usetheo/ui 0.28.0 → 0.28.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/dist/index.js +4 -4
- package/dist/tailwind-preset.js +5 -3
- package/package.json +18 -18
package/dist/index.js
CHANGED
|
@@ -4204,8 +4204,8 @@ var Content12 = forwardRef(({ className, sideOffset = 4, ...props }, ref) => /*
|
|
|
4204
4204
|
ref,
|
|
4205
4205
|
sideOffset,
|
|
4206
4206
|
className: cn(
|
|
4207
|
-
"z-50 min-w-32 overflow-hidden rounded-lg border
|
|
4208
|
-
"text-
|
|
4207
|
+
"z-50 min-w-32 overflow-hidden rounded-lg border bg-popover p-1",
|
|
4208
|
+
"text-popover-foreground shadow-md",
|
|
4209
4209
|
"data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:animate-in",
|
|
4210
4210
|
"data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:animate-out",
|
|
4211
4211
|
className
|
|
@@ -4335,8 +4335,8 @@ var SubContent2 = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ j
|
|
|
4335
4335
|
"data-slot": "dropdown-menu-sub-content",
|
|
4336
4336
|
ref,
|
|
4337
4337
|
className: cn(
|
|
4338
|
-
"z-50 min-w-32 overflow-hidden rounded-lg border
|
|
4339
|
-
"text-
|
|
4338
|
+
"z-50 min-w-32 overflow-hidden rounded-lg border bg-popover p-1",
|
|
4339
|
+
"text-popover-foreground shadow-md",
|
|
4340
4340
|
"data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:animate-in",
|
|
4341
4341
|
"data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:animate-out",
|
|
4342
4342
|
className
|
package/dist/tailwind-preset.js
CHANGED
|
@@ -105,11 +105,13 @@ var theoUIPreset = {
|
|
|
105
105
|
"title-md": ["20px", { lineHeight: "1.4", letterSpacing: "-0.03em", fontWeight: "600" }],
|
|
106
106
|
// Body tier — FAANG-density realignment 2026-05-22: body-md is the
|
|
107
107
|
// industry-standard 14px (shadcn / Vercel Geist / Linear / Stripe /
|
|
108
|
-
// Mantine). The previous 15px was idiosyncratic. body-sm (
|
|
109
|
-
//
|
|
108
|
+
// Mantine). The previous 15px was idiosyncratic. body-sm is 13px (its
|
|
109
|
+
// own line-height / weight signature), kept in lockstep with @theokit/ui
|
|
110
|
+
// and this preset's own tokens-v4.css so menu items / secondary text
|
|
111
|
+
// render at the same size across both scopes.
|
|
110
112
|
"body-lg": ["18px", { lineHeight: "1.56", letterSpacing: "-0.01em", fontWeight: "400" }],
|
|
111
113
|
"body-md": ["14px", { lineHeight: "1.43", letterSpacing: "0", fontWeight: "400" }],
|
|
112
|
-
"body-sm": ["
|
|
114
|
+
"body-sm": ["13px", { lineHeight: "1.46", fontWeight: "400" }],
|
|
113
115
|
// Label tier — used on buttons, nav, secondary actions
|
|
114
116
|
label: ["14px", { lineHeight: "1.43", fontWeight: "500" }],
|
|
115
117
|
"label-caps": ["12px", { lineHeight: "1.33", letterSpacing: "0.04em", fontWeight: "500" }],
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usetheo/ui",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.1",
|
|
4
|
+
"packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be",
|
|
4
5
|
"type": "module",
|
|
5
6
|
"license": "Apache-2.0",
|
|
6
7
|
"description": "Violet Forge design system — generic React components + primitives (the non-AI foundation of @theokit/ui).",
|
|
7
8
|
"sideEffects": false,
|
|
8
|
-
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
],
|
|
9
|
+
"files": ["dist"],
|
|
11
10
|
"exports": {
|
|
12
11
|
".": {
|
|
13
12
|
"types": "./dist/index.d.ts",
|
|
@@ -21,6 +20,19 @@
|
|
|
21
20
|
"engines": {
|
|
22
21
|
"node": ">=20"
|
|
23
22
|
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"dev": "ladle serve",
|
|
25
|
+
"typecheck": "tsc --noEmit",
|
|
26
|
+
"lint": "biome check src",
|
|
27
|
+
"lint:ci": "biome check src",
|
|
28
|
+
"format:check": "biome format src",
|
|
29
|
+
"test": "vitest run",
|
|
30
|
+
"test:run": "vitest run",
|
|
31
|
+
"build": "tsup && tsc -p tsconfig.dts.json",
|
|
32
|
+
"prepublishOnly": "npm run build",
|
|
33
|
+
"registry:build": "tsx scripts/build-registry.ts",
|
|
34
|
+
"registry:validate": "tsx scripts/validate-registry.ts"
|
|
35
|
+
},
|
|
24
36
|
"peerDependencies": {
|
|
25
37
|
"react": ">=18",
|
|
26
38
|
"react-dom": ">=18"
|
|
@@ -70,17 +82,5 @@
|
|
|
70
82
|
"vitest": "^4.1.8",
|
|
71
83
|
"vitest-axe": "^0.1.0"
|
|
72
84
|
},
|
|
73
|
-
"_provenance": "seeded from theo-ui @ 2b46eca (2026-07-03, pivot M-B)"
|
|
74
|
-
|
|
75
|
-
"dev": "ladle serve",
|
|
76
|
-
"typecheck": "tsc --noEmit",
|
|
77
|
-
"lint": "biome check src",
|
|
78
|
-
"lint:ci": "biome check src",
|
|
79
|
-
"format:check": "biome format src",
|
|
80
|
-
"test": "vitest run",
|
|
81
|
-
"test:run": "vitest run",
|
|
82
|
-
"build": "tsup && tsc -p tsconfig.dts.json",
|
|
83
|
-
"registry:build": "tsx scripts/build-registry.ts",
|
|
84
|
-
"registry:validate": "tsx scripts/validate-registry.ts"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
85
|
+
"_provenance": "seeded from theo-ui @ 2b46eca (2026-07-03, pivot M-B)"
|
|
86
|
+
}
|