orbital-ds 0.18.0 → 0.18.2

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.
@@ -1,2 +1,2 @@
1
- /* Fuentes del tema lagoon: Geist (titulares y cuerpo) + Instrument Serif cursiva (palabra de énfasis). Importar el PRIMERO del CSS de la app. */
2
- @import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Instrument+Serif:ital@1&display=swap');
1
+ /* Fuentes del tema lagoon: Geist (titulares y cuerpo) + Instrument Serif cursiva (palabra de énfasis). Importar el PRIMERO del CSS de la app. */
2
+ @import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Instrument+Serif:ital@1&display=swap');
@@ -15,6 +15,7 @@ superficies llegan primero y su contenido sube después.
15
15
  ## Movimiento
16
16
  - Importa `orbital-ds/motion.css` después del tema; sin ese import no anima nada.
17
17
  - Entradas (`motion.auto`): superficies `ds-auto-enter`, avisos `ds-auto-pop`, cabeceras y filas `ds-auto-enter`.
18
+ - La entrada automática actúa por `data-slot`: también en una cabecera propia con `data-slot="app-header"`. El destino activo del `Dock` no se anima solo (usa `scale`/`translate` para la lupa); si la app quiere un gesto ahí, que use `useDsMotion()`.
18
19
  - Muelles reales con `linear()` donde el navegador los dibuja; si no, curvas con rebote equivalentes.
19
20
  - Para animar a mano, `DsMotionProvider` + `useDsMotion()` (Motion); heredan ritmo y curvas de este tema.
20
21
  - Movimiento reducido: lo detiene la estructura, no el tema.
package/dist/ui/avatar.js CHANGED
@@ -13,7 +13,7 @@ function Avatar({
13
13
  "data-slot": "avatar",
14
14
  "data-size": size,
15
15
  className: cn(
16
- "group/avatar relative flex size-(--ds-avatar-md) shrink-0 rounded-avatar select-none after:absolute after:inset-0 after:rounded-avatar after:border after:border-border after:mix-blend-darken data-[size=lg]:size-(--ds-avatar-lg) data-[size=sm]:size-(--ds-avatar-sm) dark:after:mix-blend-lighten",
16
+ "group/avatar relative flex aspect-square size-(--ds-avatar-md) min-h-(--ds-avatar-md) min-w-(--ds-avatar-md) shrink-0 basis-(--ds-avatar-md) rounded-avatar select-none after:absolute after:inset-0 after:rounded-avatar after:border after:border-border after:mix-blend-darken data-[size=lg]:size-(--ds-avatar-lg) data-[size=lg]:min-h-(--ds-avatar-lg) data-[size=lg]:min-w-(--ds-avatar-lg) data-[size=lg]:basis-(--ds-avatar-lg) data-[size=sm]:size-(--ds-avatar-sm) data-[size=sm]:min-h-(--ds-avatar-sm) data-[size=sm]:min-w-(--ds-avatar-sm) data-[size=sm]:basis-(--ds-avatar-sm) dark:after:mix-blend-lighten",
17
17
  className
18
18
  ),
19
19
  ...props
package/dist/ui/chart.js CHANGED
@@ -146,7 +146,7 @@ function ChartTooltipContent({
146
146
  {
147
147
  "h-2.5 w-2.5": indicator === "dot",
148
148
  "w-1": indicator === "line",
149
- "w-0 border-[1.5px] border-dashed bg-transparent": indicator === "dashed",
149
+ "w-0 border-(length:--ds-chart-dash-w) border-dashed bg-transparent": indicator === "dashed",
150
150
  "my-0.5": nestLabel && indicator === "dashed"
151
151
  }
152
152
  ),
@@ -115,7 +115,7 @@ function CommandGroup({
115
115
  {
116
116
  "data-slot": "command-group",
117
117
  className: cn(
118
- "overflow-hidden p-(--ds-menu-p) text-foreground **:[[cmdk-group-heading]]:px-(--ds-menu-item-px) **:[[cmdk-group-heading]]:py-(--ds-menu-item-py) **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-(--ds-medium-weight) **:[[cmdk-group-heading]]:text-muted-foreground",
118
+ "overflow-hidden p-(--ds-menu-p) text-foreground **:[[cmdk-group-items]]:flex **:[[cmdk-group-items]]:flex-col **:[[cmdk-group-items]]:gap-(--ds-menu-gap) **:[[cmdk-group-heading]]:px-(--ds-menu-item-px) **:[[cmdk-group-heading]]:py-(--ds-menu-item-py) **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-(--ds-medium-weight) **:[[cmdk-group-heading]]:text-muted-foreground",
119
119
  className
120
120
  ),
121
121
  ...props
@@ -145,7 +145,7 @@ function CommandItem({
145
145
  {
146
146
  "data-slot": "command-item",
147
147
  className: cn(
148
- "group/command-item relative flex cursor-default items-center gap-2 rounded-item px-(--ds-menu-item-px) py-(--ds-menu-item-py) text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-(--ds-disabled-opacity) data-selected:bg-muted data-selected:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-selected:*:[svg]:text-foreground",
148
+ "group/command-item relative flex cursor-pointer items-center gap-2 rounded-item px-(--ds-menu-item-px) py-(--ds-menu-item-py) text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-(--ds-disabled-opacity) data-[selected=true]:bg-muted data-[selected=true]:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[selected=true]:*:[svg]:text-foreground",
149
149
  className
150
150
  ),
151
151
  ...props,
@@ -165,7 +165,7 @@ function CommandShortcut({
165
165
  {
166
166
  "data-slot": "command-shortcut",
167
167
  className: cn(
168
- "ml-auto text-xs tracking-widest text-muted-foreground group-data-selected/command-item:text-foreground",
168
+ "ml-auto text-xs tracking-widest text-muted-foreground group-data-[selected=true]/command-item:text-foreground",
169
169
  className
170
170
  ),
171
171
  ...props
package/dist/ui/gauge.js CHANGED
@@ -55,7 +55,7 @@ function Gauge({
55
55
  "aria-valuenow": now ?? void 0,
56
56
  "aria-valuetext": text,
57
57
  "data-slot": "gauge-chart",
58
- className: cn("relative shrink-0 w-(--ds-gauge-size)", semi ? "h-[calc(var(--ds-gauge-size)/2)]" : "h-(--ds-gauge-size)"),
58
+ className: cn("@container relative shrink-0 w-(--ds-gauge-size)", semi ? "h-[calc(var(--ds-gauge-size)/2)]" : "h-(--ds-gauge-size)"),
59
59
  children: [
60
60
  /* @__PURE__ */ jsxs("svg", { viewBox: geometry.viewBox, "aria-hidden": "true", className: "size-full overflow-visible rtl:-scale-x-100", children: [
61
61
  /* @__PURE__ */ jsx(
@@ -86,7 +86,7 @@ function Gauge({
86
86
  {
87
87
  "data-slot": "gauge-center",
88
88
  className: cn(
89
- "absolute flex flex-col items-center justify-center gap-1 text-center",
89
+ "absolute flex min-w-0 flex-col items-center justify-center gap-1 text-center",
90
90
  semi ? "inset-x-0 bottom-0" : "inset-[15%]"
91
91
  ),
92
92
  children
@@ -103,13 +103,13 @@ function GaugeValue({ className, ...props }) {
103
103
  "span",
104
104
  {
105
105
  "data-slot": "gauge-value",
106
- className: cn("font-display text-(length:--ds-gauge-value-size) leading-none font-(--ds-heading-weight) tabular-nums", className),
106
+ className: cn("inline-flex max-w-full flex-col items-center gap-0.5 font-display text-[length:min(var(--ds-gauge-value-size),var(--ds-gauge-value-fit))] leading-none font-(--ds-heading-weight) tabular-nums", className),
107
107
  ...props
108
108
  }
109
109
  );
110
110
  }
111
111
  function GaugeSuffix({ className, ...props }) {
112
- return /* @__PURE__ */ jsx("span", { "data-slot": "gauge-value-suffix", className: cn("text-(length:--ds-gauge-suffix-size)", className), ...props });
112
+ return /* @__PURE__ */ jsx("span", { "data-slot": "gauge-value-suffix", className: cn("max-w-full truncate text-[length:min(var(--ds-gauge-suffix-size),var(--ds-gauge-suffix-fit))]", className), ...props });
113
113
  }
114
114
  function GaugeTag({ className, style, tone, ...props }) {
115
115
  const ctx = React.useContext(GaugeContext);
@@ -117,7 +117,7 @@ function GaugeTag({ className, style, tone, ...props }) {
117
117
  "span",
118
118
  {
119
119
  "data-slot": "gauge-tag",
120
- className: cn("inline-flex rounded-badge px-(--ds-badge-px) py-(--ds-badge-py) text-xs text-foreground", className),
120
+ className: cn("inline-flex max-w-full justify-center rounded-badge px-(--ds-badge-px) py-(--ds-badge-py) text-xs text-foreground", className),
121
121
  style: { backgroundColor: dataToneSoftVar[tone ?? ctx.tone], ...style },
122
122
  ...props
123
123
  }
@@ -138,7 +138,7 @@ function GaugeScale({
138
138
  "div",
139
139
  {
140
140
  "data-slot": "gauge-scale",
141
- className: cn("flex w-(--ds-gauge-size) justify-between text-xs font-(--ds-strong-weight)", className),
141
+ className: cn("flex w-(--ds-gauge-size) justify-between gap-2 text-xs font-(--ds-strong-weight)", className),
142
142
  ...props,
143
143
  children: [
144
144
  /* @__PURE__ */ jsx("span", { "data-slot": "gauge-scale-min", style: { color: dataToneVar[minTone] }, children: min }),
@@ -30,12 +30,12 @@ function LevelMeter({
30
30
  className: cn("flex flex-col gap-1 text-foreground", className),
31
31
  ...props,
32
32
  children: [
33
- /* @__PURE__ */ jsxs("div", { "data-slot": "level-meter-header", className: "flex items-center gap-2", children: [
33
+ /* @__PURE__ */ jsxs("div", { "data-slot": "level-meter-header", className: "flex min-w-0 flex-wrap items-center gap-x-2 gap-y-1", children: [
34
34
  level && /* @__PURE__ */ jsx(
35
35
  "span",
36
36
  {
37
37
  "data-slot": "level-meter-tag",
38
- className: "inline-flex rounded-badge px-(--ds-badge-px) py-(--ds-badge-py) text-xs",
38
+ className: "inline-flex max-w-full rounded-badge px-(--ds-badge-px) py-(--ds-badge-py) text-xs",
39
39
  style: { backgroundColor: dataToneSoftVar[tone] },
40
40
  children: level
41
41
  }
package/dist/ui/select.js CHANGED
@@ -28,7 +28,7 @@ function SelectTrigger({
28
28
  "data-slot": "select-trigger",
29
29
  "data-size": size,
30
30
  className: cn(
31
- "flex w-fit items-center justify-between gap-1.5 rounded-control shadow-control border border-input bg-(--ds-field-bg) px-(--ds-field-px) py-2 text-sm whitespace-nowrap transition-colors duration-(--ds-motion-snap) outline-none focus-visible:border-ring focus-visible:ring-(length:--ds-ring-width) focus-visible:ring-(--ds-ring-color) disabled:cursor-not-allowed disabled:opacity-(--ds-disabled-opacity) aria-invalid:border-(--ds-invalid-border) aria-invalid:ring-(length:--ds-ring-width) aria-invalid:ring-(--ds-invalid-ring) data-placeholder:text-muted-foreground data-[size=default]:h-(--ds-control-h-md) data-[size=sm]:h-(--ds-control-h-sm) *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 cursor-pointer hover:bg-(--ds-field-bg-hover) data-popup-open:bg-(--ds-field-bg-hover) [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
31
+ "flex w-fit cursor-pointer items-center justify-between gap-1.5 rounded-control hover:border-ring/60 shadow-control border border-input bg-(--ds-field-bg) px-(--ds-field-px) py-2 text-sm whitespace-nowrap transition-colors duration-(--ds-motion-snap) outline-none focus-visible:border-ring focus-visible:ring-(length:--ds-ring-width) focus-visible:ring-(--ds-ring-color) disabled:cursor-not-allowed disabled:opacity-(--ds-disabled-opacity) aria-invalid:border-(--ds-invalid-border) aria-invalid:ring-(length:--ds-ring-width) aria-invalid:ring-(--ds-invalid-ring) data-placeholder:text-muted-foreground data-[size=default]:h-(--ds-control-h-md) data-[size=sm]:h-(--ds-control-h-sm) *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 cursor-pointer hover:bg-(--ds-field-bg-hover) data-popup-open:bg-(--ds-field-bg-hover) [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
32
32
  className
33
33
  ),
34
34
  ...props,
package/dist/ui/shield.js CHANGED
@@ -80,7 +80,7 @@ function Shield({
80
80
  {
81
81
  "data-slot": "shield-value",
82
82
  "aria-hidden": "true",
83
- className: "relative font-display text-(length:--ds-shield-value-size) leading-none font-(--ds-shield-value-weight) tabular-nums",
83
+ className: "relative max-w-full truncate font-display text-(length:--ds-shield-value-size) leading-none font-(--ds-shield-value-weight) tabular-nums",
84
84
  children: percent
85
85
  }
86
86
  )
@@ -429,7 +429,7 @@ function SidebarMenuItem({ className, ...props }) {
429
429
  );
430
430
  }
431
431
  const sidebarMenuButtonVariants = cva(
432
- "peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-(--ds-sidebar-item-radius) px-3 py-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] duration-(--ds-motion-snap) group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:mx-auto hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-(length:--ds-ring-width) active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-(--ds-disabled-opacity) aria-disabled:pointer-events-none aria-disabled:opacity-(--ds-disabled-opacity) data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-[active=true]:bg-sidebar-accent data-[active=true]:font-(--ds-nav-active-weight) data-[active=true]:text-sidebar-accent-foreground [&_svg]:shrink-0 [&>span:last-child]:truncate",
432
+ "peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-(--ds-sidebar-item-radius) px-3 py-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding,background-color,color] duration-(--ds-motion-snap) ease-(--ds-ease-standard) group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:mx-auto hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-(length:--ds-ring-width) active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-(--ds-disabled-opacity) aria-disabled:pointer-events-none aria-disabled:opacity-(--ds-disabled-opacity) data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-[active=true]:bg-sidebar-accent data-[active=true]:font-(--ds-nav-active-weight) data-[active=true]:text-sidebar-accent-foreground [&_svg]:shrink-0 [&>span:last-child]:truncate",
433
433
  {
434
434
  variants: {
435
435
  variant: {
package/dist/ui/stat.js CHANGED
@@ -81,7 +81,7 @@ function StatPart({
81
81
  }
82
82
  function StatLabel({ className, ...props }) {
83
83
  const { labelId } = React.useContext(StatContext);
84
- return /* @__PURE__ */ jsx(StatPart, { term: true, id: labelId, "data-slot": "stat-label", className: cn(eyebrowClassName, className), ...props });
84
+ return /* @__PURE__ */ jsx(StatPart, { term: true, id: labelId, "data-slot": "stat-label", className: cn(eyebrowClassName, "min-w-0 text-balance break-words", className), ...props });
85
85
  }
86
86
  function StatValue({
87
87
  value,
@@ -105,7 +105,7 @@ function StatValue({
105
105
  }, [value, format, fractionDigits, locale]);
106
106
  const state = loading ? "loading" : formatted == null ? "empty" : "filled";
107
107
  const base = cn(
108
- "flex items-baseline gap-1 leading-none font-(--ds-stat-value-weight) text-foreground tabular-nums",
108
+ "flex min-w-0 flex-wrap items-baseline gap-x-1 gap-y-0.5 leading-none font-(--ds-stat-value-weight) text-foreground tabular-nums",
109
109
  stat.variant === "inline" ? "text-base" : statValueSize[stat.size],
110
110
  className
111
111
  );
@@ -143,7 +143,7 @@ function StatValue({
143
143
  }
144
144
  return /* @__PURE__ */ jsxs(StatPart, { "data-slot": "stat-value", "data-state": state, className: base, ...props, children: [
145
145
  prefix != null && /* @__PURE__ */ jsx("span", { "data-slot": "stat-value-prefix", className: "text-sm text-muted-foreground", children: prefix }),
146
- /* @__PURE__ */ jsx("span", { "data-slot": "stat-value-number", children: formatted }),
146
+ /* @__PURE__ */ jsx("span", { "data-slot": "stat-value-number", className: "min-w-0 break-all", children: formatted }),
147
147
  unit != null && /* @__PURE__ */ jsx("span", { "data-slot": "stat-value-unit", className: "text-sm font-(--ds-label-weight) text-muted-foreground", children: unit })
148
148
  ] });
149
149
  }
@@ -176,7 +176,7 @@ function StatDelta({
176
176
  "data-state": direction,
177
177
  "data-tone": tone,
178
178
  className: cn(
179
- "inline-flex w-fit items-center gap-0.5 rounded-badge px-(--ds-badge-px) py-(--ds-badge-py) text-xs font-(--ds-label-weight) tabular-nums [&>svg]:size-3 [&>svg]:shrink-0",
179
+ "inline-flex w-fit max-w-full items-center gap-0.5 rounded-badge px-(--ds-badge-px) py-(--ds-badge-py) text-xs font-(--ds-label-weight) tabular-nums [&>svg]:size-3 [&>svg]:shrink-0",
180
180
  tone === "success" && "bg-success-soft text-success",
181
181
  tone === "danger" && "bg-danger-soft text-danger",
182
182
  tone === "neutral" && "bg-neutral-soft text-neutral",
package/package.json CHANGED
@@ -1,186 +1,186 @@
1
- {
2
- "name": "orbital-ds",
3
- "version": "0.18.0",
4
- "description": "Sistema de diseño genérico: estructura común + temas con personalidad (qratia, zyro) + ~60 componentes sobre Base UI y Tailwind v4, con contrato verificable y legible por agentes.",
5
- "keywords": [
6
- "design-system",
7
- "design-tokens",
8
- "theme",
9
- "tailwindcss",
10
- "base-ui",
11
- "shadcn",
12
- "react"
13
- ],
14
- "license": "MIT",
15
- "type": "module",
16
- "sideEffects": [
17
- "*.css",
18
- "./dist/lib/echarts-setup.js"
19
- ],
20
- "files": [
21
- "dist",
22
- "scripts/doctor.mjs",
23
- "contract.json",
24
- "components.manifest.json",
25
- "docs",
26
- "AGENTS.md",
27
- "README.md",
28
- "LICENSE",
29
- "scripts/init.mjs",
30
- "scripts/cli.mjs",
31
- "scripts/skill.mjs",
32
- "skill",
33
- "scripts/manifest.mjs",
34
- "scripts/brand-core.mjs",
35
- "scripts/brand-core.d.mts",
36
- "scripts/setup.mjs",
37
- "scripts/brand-file.mjs",
38
- "scripts/i18n.mjs"
39
- ],
40
- "exports": {
41
- "./styles.css": "./dist/styles.css",
42
- "./motion.css": "./dist/motion.css",
43
- "./themes/*.css": "./dist/themes/*.css",
44
- "./themes/*.md": "./dist/themes/*.md",
45
- "./themes/*.meta.json": "./dist/themes/*.meta.json",
46
- "./themes/*.tokens.json": "./dist/themes/*.tokens.json",
47
- "./ui/*": {
48
- "types": "./dist/ui/*.d.ts",
49
- "import": "./dist/ui/*.js"
50
- },
51
- "./lib/*": {
52
- "types": "./dist/lib/*.d.ts",
53
- "import": "./dist/lib/*.js"
54
- },
55
- "./hooks/*": {
56
- "types": "./dist/hooks/*.d.ts",
57
- "import": "./dist/hooks/*.js"
58
- },
59
- "./brand": {
60
- "types": "./scripts/brand-core.d.mts",
61
- "import": "./scripts/brand-core.mjs"
62
- },
63
- "./package.json": "./package.json",
64
- "./contract.json": "./contract.json",
65
- "./components.manifest.json": "./components.manifest.json"
66
- },
67
- "scripts": {
68
- "build": "tsup && node scripts/build-css.mjs",
69
- "dev": "tsup --watch --onSuccess \"node scripts/copy-css.mjs\"",
70
- "typecheck": "tsc --noEmit",
71
- "verify": "pnpm check:ds && pnpm typecheck && pnpm showcase:typecheck && pnpm build && pnpm check:bundle && pnpm check:pack",
72
- "manifest": "node scripts/manifest.mjs",
73
- "check:ds": "node scripts/doctor.mjs",
74
- "check:bundle": "node scripts/check-bundle.mjs",
75
- "check:pack": "node scripts/check-pack.mjs",
76
- "prepublishOnly": "pnpm verify",
77
- "showcase": "vite --config showcase/vite.config.ts",
78
- "showcase:build": "vite build --config showcase/vite.config.ts",
79
- "showcase:typecheck": "tsc --noEmit -p showcase"
80
- },
81
- "peerDependencies": {
82
- "@base-ui/react": ">=1.9",
83
- "@shadcn/react": ">=0.3",
84
- "class-variance-authority": ">=0.7",
85
- "clsx": ">=2",
86
- "cmdk": ">=1.1",
87
- "date-fns": ">=4",
88
- "embla-carousel-react": ">=8.6",
89
- "input-otp": ">=1.5",
90
- "lucide-react": ">=0.400",
91
- "motion": ">=12",
92
- "next-themes": ">=0.4",
93
- "react": ">=19",
94
- "react-day-picker": ">=10",
95
- "react-dom": ">=19",
96
- "react-resizable-panels": ">=4",
97
- "recharts": ">=3",
98
- "sonner": ">=2",
99
- "tailwind-merge": ">=3",
100
- "tailwindcss": ">=4.1",
101
- "tw-animate-css": ">=1.3",
102
- "echarts": ">=6",
103
- "@tanstack/react-table": ">=9"
104
- },
105
- "peerDependenciesMeta": {
106
- "next-themes": {
107
- "optional": true
108
- },
109
- "recharts": {
110
- "optional": true
111
- },
112
- "sonner": {
113
- "optional": true
114
- },
115
- "@shadcn/react": {
116
- "optional": true
117
- },
118
- "cmdk": {
119
- "optional": true
120
- },
121
- "date-fns": {
122
- "optional": true
123
- },
124
- "embla-carousel-react": {
125
- "optional": true
126
- },
127
- "input-otp": {
128
- "optional": true
129
- },
130
- "react-day-picker": {
131
- "optional": true
132
- },
133
- "react-resizable-panels": {
134
- "optional": true
135
- },
136
- "motion": {
137
- "optional": true
138
- },
139
- "echarts": {
140
- "optional": true
141
- },
142
- "@tanstack/react-table": {
143
- "optional": true
144
- }
145
- },
146
- "devDependencies": {
147
- "@base-ui/react": "^1.9.0",
148
- "@shadcn/react": "^0.3.1",
149
- "@tailwindcss/vite": "^4.3.3",
150
- "@tanstack/react-table": "^9.2.8",
151
- "@types/react": "^19.2.0",
152
- "@types/react-dom": "^19.2.0",
153
- "@vitejs/plugin-react": "^6.1.2",
154
- "class-variance-authority": "^0.7.1",
155
- "clsx": "^2.1.1",
156
- "cmdk": "^1.1.1",
157
- "date-fns": "^4.4.0",
158
- "echarts": "^6.1.0",
159
- "embla-carousel-react": "^8.6.0",
160
- "input-otp": "^1.5.0",
161
- "lucide-react": "^0.577.0",
162
- "motion": "^14.1.0",
163
- "next-themes": "^0.4.6",
164
- "react": "^19.2.0",
165
- "react-day-picker": "^10.0.2",
166
- "react-dom": "^19.2.0",
167
- "react-resizable-panels": "^4.14.4",
168
- "recharts": "3.8.0",
169
- "sonner": "^2.0.8",
170
- "tailwind-merge": "^3.0.2",
171
- "tailwindcss": "^4.1.18",
172
- "tsup": "^8.5.0",
173
- "tw-animate-css": "^1.3.6",
174
- "typescript": "^5.9.0",
175
- "vite": "^8.3.4"
176
- },
177
- "bin": {
178
- "orbital-ds": "./scripts/cli.mjs",
179
- "orbital-ds-doctor": "./scripts/doctor.mjs",
180
- "orbital-ds-init": "./scripts/init.mjs",
181
- "orbital-ds-i18n": "./scripts/i18n.mjs"
182
- },
183
- "dependencies": {
184
- "@clack/prompts": "^1.8.1"
185
- }
186
- }
1
+ {
2
+ "name": "orbital-ds",
3
+ "version": "0.18.2",
4
+ "description": "Sistema de diseño genérico: estructura común + temas con personalidad (qratia, zyro) + ~60 componentes sobre Base UI y Tailwind v4, con contrato verificable y legible por agentes.",
5
+ "keywords": [
6
+ "design-system",
7
+ "design-tokens",
8
+ "theme",
9
+ "tailwindcss",
10
+ "base-ui",
11
+ "shadcn",
12
+ "react"
13
+ ],
14
+ "license": "MIT",
15
+ "type": "module",
16
+ "sideEffects": [
17
+ "*.css",
18
+ "./dist/lib/echarts-setup.js"
19
+ ],
20
+ "files": [
21
+ "dist",
22
+ "scripts/doctor.mjs",
23
+ "contract.json",
24
+ "components.manifest.json",
25
+ "docs",
26
+ "AGENTS.md",
27
+ "README.md",
28
+ "LICENSE",
29
+ "scripts/init.mjs",
30
+ "scripts/cli.mjs",
31
+ "scripts/skill.mjs",
32
+ "skill",
33
+ "scripts/manifest.mjs",
34
+ "scripts/brand-core.mjs",
35
+ "scripts/brand-core.d.mts",
36
+ "scripts/setup.mjs",
37
+ "scripts/brand-file.mjs",
38
+ "scripts/i18n.mjs"
39
+ ],
40
+ "exports": {
41
+ "./styles.css": "./dist/styles.css",
42
+ "./motion.css": "./dist/motion.css",
43
+ "./themes/*.css": "./dist/themes/*.css",
44
+ "./themes/*.md": "./dist/themes/*.md",
45
+ "./themes/*.meta.json": "./dist/themes/*.meta.json",
46
+ "./themes/*.tokens.json": "./dist/themes/*.tokens.json",
47
+ "./ui/*": {
48
+ "types": "./dist/ui/*.d.ts",
49
+ "import": "./dist/ui/*.js"
50
+ },
51
+ "./lib/*": {
52
+ "types": "./dist/lib/*.d.ts",
53
+ "import": "./dist/lib/*.js"
54
+ },
55
+ "./hooks/*": {
56
+ "types": "./dist/hooks/*.d.ts",
57
+ "import": "./dist/hooks/*.js"
58
+ },
59
+ "./brand": {
60
+ "types": "./scripts/brand-core.d.mts",
61
+ "import": "./scripts/brand-core.mjs"
62
+ },
63
+ "./package.json": "./package.json",
64
+ "./contract.json": "./contract.json",
65
+ "./components.manifest.json": "./components.manifest.json"
66
+ },
67
+ "scripts": {
68
+ "build": "tsup && node scripts/build-css.mjs",
69
+ "dev": "tsup --watch --onSuccess \"node scripts/copy-css.mjs\"",
70
+ "typecheck": "tsc --noEmit",
71
+ "verify": "pnpm check:ds && pnpm typecheck && pnpm showcase:typecheck && pnpm build && pnpm check:bundle && pnpm check:pack",
72
+ "manifest": "node scripts/manifest.mjs",
73
+ "check:ds": "node scripts/doctor.mjs",
74
+ "check:bundle": "node scripts/check-bundle.mjs",
75
+ "check:pack": "node scripts/check-pack.mjs",
76
+ "prepublishOnly": "pnpm verify",
77
+ "showcase": "vite --config showcase/vite.config.ts",
78
+ "showcase:build": "vite build --config showcase/vite.config.ts",
79
+ "showcase:typecheck": "tsc --noEmit -p showcase"
80
+ },
81
+ "peerDependencies": {
82
+ "@base-ui/react": ">=1.9",
83
+ "@shadcn/react": ">=0.3",
84
+ "class-variance-authority": ">=0.7",
85
+ "clsx": ">=2",
86
+ "cmdk": ">=1.1",
87
+ "date-fns": ">=4",
88
+ "embla-carousel-react": ">=8.6",
89
+ "input-otp": ">=1.5",
90
+ "lucide-react": ">=0.400",
91
+ "motion": ">=12",
92
+ "next-themes": ">=0.4",
93
+ "react": ">=19",
94
+ "react-day-picker": ">=10",
95
+ "react-dom": ">=19",
96
+ "react-resizable-panels": ">=4",
97
+ "recharts": ">=3",
98
+ "sonner": ">=2",
99
+ "tailwind-merge": ">=3",
100
+ "tailwindcss": ">=4.1",
101
+ "tw-animate-css": ">=1.3",
102
+ "echarts": ">=6",
103
+ "@tanstack/react-table": ">=9"
104
+ },
105
+ "peerDependenciesMeta": {
106
+ "next-themes": {
107
+ "optional": true
108
+ },
109
+ "recharts": {
110
+ "optional": true
111
+ },
112
+ "sonner": {
113
+ "optional": true
114
+ },
115
+ "@shadcn/react": {
116
+ "optional": true
117
+ },
118
+ "cmdk": {
119
+ "optional": true
120
+ },
121
+ "date-fns": {
122
+ "optional": true
123
+ },
124
+ "embla-carousel-react": {
125
+ "optional": true
126
+ },
127
+ "input-otp": {
128
+ "optional": true
129
+ },
130
+ "react-day-picker": {
131
+ "optional": true
132
+ },
133
+ "react-resizable-panels": {
134
+ "optional": true
135
+ },
136
+ "motion": {
137
+ "optional": true
138
+ },
139
+ "echarts": {
140
+ "optional": true
141
+ },
142
+ "@tanstack/react-table": {
143
+ "optional": true
144
+ }
145
+ },
146
+ "devDependencies": {
147
+ "@base-ui/react": "^1.9.0",
148
+ "@shadcn/react": "^0.3.1",
149
+ "@tailwindcss/vite": "^4.3.3",
150
+ "@tanstack/react-table": "^9.2.8",
151
+ "@types/react": "^19.2.0",
152
+ "@types/react-dom": "^19.2.0",
153
+ "@vitejs/plugin-react": "^6.1.2",
154
+ "class-variance-authority": "^0.7.1",
155
+ "clsx": "^2.1.1",
156
+ "cmdk": "^1.1.1",
157
+ "date-fns": "^4.4.0",
158
+ "echarts": "^6.1.0",
159
+ "embla-carousel-react": "^8.6.0",
160
+ "input-otp": "^1.5.0",
161
+ "lucide-react": "^0.577.0",
162
+ "motion": "^14.1.0",
163
+ "next-themes": "^0.4.6",
164
+ "react": "^19.2.0",
165
+ "react-day-picker": "^10.0.2",
166
+ "react-dom": "^19.2.0",
167
+ "react-resizable-panels": "^4.14.4",
168
+ "recharts": "3.8.0",
169
+ "sonner": "^2.0.8",
170
+ "tailwind-merge": "^3.0.2",
171
+ "tailwindcss": "^4.1.18",
172
+ "tsup": "^8.5.0",
173
+ "tw-animate-css": "^1.3.6",
174
+ "typescript": "^5.9.0",
175
+ "vite": "^8.3.4"
176
+ },
177
+ "bin": {
178
+ "orbital-ds": "./scripts/cli.mjs",
179
+ "orbital-ds-doctor": "./scripts/doctor.mjs",
180
+ "orbital-ds-init": "./scripts/init.mjs",
181
+ "orbital-ds-i18n": "./scripts/i18n.mjs"
182
+ },
183
+ "dependencies": {
184
+ "@clack/prompts": "^1.8.1"
185
+ }
186
+ }