@beweco/aurora-ui 0.6.4 → 0.6.6

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.
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Registro público de temas Aurora para consumidores (@beweco/aurora-ui).
3
+ * Derivado de {@link themeColors}: al añadir un par `*-light` / `*-dark` en
4
+ * `colors.default.ts`, este registro se actualiza sin duplicar listas.
5
+ */
6
+ import { themeColors } from "../styles/colors.default";
7
+ export type AuroraFullThemeId = keyof typeof themeColors;
8
+ export interface AuroraThemeRegistryEntry {
9
+ /** Nombre que usa HeroUI / clase en `document.documentElement` (p. ej. `oceanMint-light`). */
10
+ id: AuroraFullThemeId;
11
+ /** Prefijo sin sufijo `-light` / `-dark` (p. ej. `oceanMint`). */
12
+ colorFamily: string;
13
+ mode: "light" | "dark";
14
+ /** Convención sugerida para Tolgee: `aurora.theme.<id>`. */
15
+ labelKey: string;
16
+ /** Color primario DEFAULT del tema para previews / swatches. */
17
+ previewPrimary: string;
18
+ }
19
+ export interface AuroraThemeFamily {
20
+ colorFamily: string;
21
+ light: AuroraThemeRegistryEntry | undefined;
22
+ dark: AuroraThemeRegistryEntry | undefined;
23
+ }
24
+ /** Entradas en el mismo orden que las claves de `themeColors`. */
25
+ export declare const AURORA_THEME_REGISTRY: readonly AuroraThemeRegistryEntry[];
26
+ /** Familias de color (light + dark) para selectores tipo “Color de la plataforma”. */
27
+ export declare const AURORA_THEME_FAMILIES: readonly AuroraThemeFamily[];
28
+ export declare function isAuroraFullThemeId(value: string): value is AuroraFullThemeId;
29
+ /** Texto legible por defecto para tooltips (p. ej. `Ocean Mint · Light`). */
30
+ export declare function formatAuroraThemeTooltip(entry: AuroraThemeRegistryEntry): string;
31
+ //# sourceMappingURL=aurora-theme-registry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aurora-theme-registry.d.ts","sourceRoot":"","sources":["../../../src/themes/aurora-theme-registry.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAIvD,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,WAAW,CAAC;AAEzD,MAAM,WAAW,wBAAwB;IACxC,8FAA8F;IAC9F,EAAE,EAAE,iBAAiB,CAAC;IACtB,kEAAkE;IAClE,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;IACvB,4DAA4D;IAC5D,QAAQ,EAAE,MAAM,CAAC;IACjB,gEAAgE;IAChE,cAAc,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,iBAAiB;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,wBAAwB,GAAG,SAAS,CAAC;IAC5C,IAAI,EAAE,wBAAwB,GAAG,SAAS,CAAC;CAC3C;AA8BD,kEAAkE;AAClE,eAAO,MAAM,qBAAqB,EAAE,SAAS,wBAAwB,EACK,CAAC;AA2B3E,sFAAsF;AACtF,eAAO,MAAM,qBAAqB,EAAE,SAAS,iBAAiB,EACzB,CAAC;AAEtC,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAE7E;AAED,6EAA6E;AAC7E,wBAAgB,wBAAwB,CACvC,KAAK,EAAE,wBAAwB,GAC7B,MAAM,CASR"}
@@ -0,0 +1,2 @@
1
+ export * from "./aurora-theme-registry";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/themes/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beweco/aurora-ui",
3
- "version": "0.6.4",
3
+ "version": "0.6.6",
4
4
  "description": "Bewe Aurora UI Component Library",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.esm.js",