valtech-components 2.0.878 → 2.0.879

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.
@@ -10,13 +10,15 @@
10
10
  * transform="translate(col*100 row*100)">` con un `<rect width=100 height=100
11
11
  * fill=bg/>` de fondo.
12
12
  */
13
- export type PatternMotifKey = 'chev-r' | 'chev-l' | 'chev-d' | 'chev-u' | 'tri-tl' | 'tri-tr' | 'tri-bl' | 'tri-br' | 'solid' | 'diamond' | 'small-r' | 'small-l' | 'arrow-r' | 'arrow-l' | 'house-d' | 'half-l' | 'half-t' | 'circle' | 'circle-sm' | 'dot' | 'cross' | 'x-mark' | 'slash-r' | 'slash-l' | 'corner-tl' | 'corner-tr' | 'corner-bl' | 'corner-br';
13
+ export type PatternMotifKey = 'chev-r' | 'chev-l' | 'chev-d' | 'chev-u' | 'tri-tl' | 'tri-tr' | 'tri-bl' | 'tri-br' | 'solid' | 'diamond' | 'small-r' | 'small-l' | 'arrow-r' | 'arrow-l' | 'house-d' | 'half-l' | 'half-t' | 'circle' | 'circle-sm' | 'dot' | 'cross' | 'x-mark' | 'slash-r' | 'slash-l' | 'corner-tl' | 'corner-tr' | 'corner-bl' | 'corner-br' | 'underscore' | 'num-0' | 'num-1' | 'num-2' | 'num-3' | 'num-4' | 'num-5' | 'num-6' | 'num-7' | 'num-8' | 'num-9';
14
14
  export declare const PATTERN_MOTIFS: Record<PatternMotifKey, (fg: string) => string>;
15
15
  export declare const MOTIF_KEYS: PatternMotifKey[];
16
16
  /** Chevron family — orientaciones + variantes pequeñas. */
17
17
  export declare const CHEV_KEYS: PatternMotifKey[];
18
- /** Stroke family — líneas y cruces (complementan chevrons). */
18
+ /** Stroke family — líneas, cruces y el guión bajo del logo `>_`. */
19
19
  export declare const STROKE_KEYS: PatternMotifKey[];
20
+ /** Numeric family — dígitos 0-9 en monospace bold. */
21
+ export declare const NUM_KEYS: PatternMotifKey[];
20
22
  /** Circle / dot family — formas curvas centradas. */
21
23
  export declare const CIRCLE_KEYS: PatternMotifKey[];
22
24
  /** Diamond solo — forma geométrica angular centrada. */
@@ -37,12 +39,13 @@ export declare const PATTERN_PALETTES: Record<PatternPaletteKey, string[]>;
37
39
  * - `geometric` → Triángulos, esquinas y círculos. Más arquitectónico.
38
40
  * - `minimal` → Espacios sólidos con trazos sutiles. Limpio, corporativo.
39
41
  * - `dense` → Mezcla rica de todas las familias. Máxima textura.
42
+ * - `code` → Números, underscore y chevrons. Look de terminal.
40
43
  */
41
- export type PatternStyleKey = 'branded' | 'geometric' | 'minimal' | 'dense';
44
+ export type PatternStyleKey = 'branded' | 'geometric' | 'minimal' | 'dense' | 'code';
42
45
  export interface PatternDensityConfig {
43
46
  /** Probabilidad de chevron family. */
44
47
  chev: number;
45
- /** Probabilidad de stroke family (cross, x, slash). */
48
+ /** Probabilidad de stroke family (cross, x, slash, underscore). */
46
49
  stroke: number;
47
50
  /** Probabilidad de círculos. */
48
51
  circle: number;
@@ -50,6 +53,8 @@ export interface PatternDensityConfig {
50
53
  shape: number;
51
54
  /** Probabilidad de solid (espacio vacío). */
52
55
  solid: number;
56
+ /** Probabilidad de numeric family (0-9). Default: 0. */
57
+ num?: number;
53
58
  }
54
59
  export declare const PATTERN_STYLE_CONFIGS: Record<PatternStyleKey, PatternDensityConfig>;
55
60
  /**
@@ -35,6 +35,7 @@ export interface PatternMetadata {
35
35
  * - `geometric` → Triángulos, esquinas redondeadas y círculos.
36
36
  * - `minimal` → Mayoría sólido con trazos sutiles. Look corporativo limpio.
37
37
  * - `dense` → Mezcla rica de todas las familias. Máxima textura.
38
+ * - `code` → Números, underscore `_` y chevrons. Look de terminal/código.
38
39
  *
39
40
  * Cuando se usa `style`, sobreescribe `chevronDensity`.
40
41
  */
package/lib/version.d.ts CHANGED
@@ -2,4 +2,4 @@
2
2
  * Current version of valtech-components.
3
3
  * This is automatically updated during the publish process.
4
4
  */
5
- export declare const VERSION = "2.0.878";
5
+ export declare const VERSION = "2.0.879";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.878",
3
+ "version": "2.0.879",
4
4
  "private": false,
5
5
  "bin": {
6
6
  "valtech-firebase-config": "./src/lib/services/firebase/scripts/generate-sw-config.js"