@bvs-tech/material 0.0.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/README.md ADDED
@@ -0,0 +1,116 @@
1
+ # BvsLib — BVSTech Design System Library
2
+
3
+ `bvs-lib` is the generic design system library of BVSTech, built with Angular standalone components and a dynamic, theme-responsive SASS tokens design system.
4
+
5
+ ---
6
+
7
+ ## 🚀 Design Principles
8
+
9
+ 1. **Strict Genericity**: Components inside `bvs-lib` are domain-agnostic. No business logic (e.g. keycloak auth, user profile services, occurrence calculations) is allowed here. Business contexts are handled by local wrapper components in applications.
10
+ 2. **Open Composition & Transclusion**: Molecules and organisms are designed to support open composition using `<ng-content>` slots (transclusion).
11
+ 3. **Responsive Themes & Mode Adaptability**: All components automatically adapt their colors, borders, and shadows to the light/dark mode and active brand configuration (`default`, `emerald`, `sunset`, `amethyst`, `ruby`).
12
+
13
+ ---
14
+
15
+ ## 📦 Components Library
16
+
17
+ ### 🔹 Atoms
18
+
19
+ #### `AvatarComponent` (`<bvs-avatar>`)
20
+ - **Purpose**: Displays user initials in a styled circle.
21
+ - **Selector**: `bvs-avatar`
22
+ - **Inputs**:
23
+ - `fullName: string` (required): Full name used to extract initials (e.g., `'John Doe'` -> `'JD'`).
24
+ - **Styling**: Gradient background derived from active brand colors.
25
+
26
+ #### `BadgeComponent` (`[bvs-badge]`)
27
+ - **Purpose**: Displays a status label with semantic coloring and size.
28
+ - **Selector**: `[bvs-badge]` (attribute)
29
+ - **Inputs**:
30
+ - `color: 'info' | 'success' | 'warning' | 'danger' | 'neutral'`
31
+ - `size: 'sm' | 'md' | 'lg'`
32
+
33
+ #### `ButtonComponent` (`[bvs-button]`)
34
+ - **Purpose**: Generic interactive button.
35
+ - **Selector**: `[bvs-button]` (attribute)
36
+ - **Inputs**:
37
+ - `variant: 'primary' | 'secondary' | 'danger' | 'ghost'`
38
+ - `size: 'sm' | 'md' | 'lg'`
39
+ - `block: boolean`: Whether the button takes full width.
40
+
41
+ #### `CardComponent` (`[bvs-card]`)
42
+ - **Purpose**: Premium glassmorphism container for dashboard widgets/content.
43
+ - **Selector**: `[bvs-card]` (attribute)
44
+ - **Styling**: Adaptable glassmorphism backdrop filter and border thickness.
45
+
46
+ #### `ErrorMessageComponent` (`[bvs-error-message]`)
47
+ - **Purpose**: Displays a styled, animated validation error message.
48
+ - **Selector**: `[bvs-error-message]` (attribute)
49
+ - **Styling**: Slide-in animation, adapts background and text color to theme.
50
+
51
+ #### `InputComponent` (`input[bvs-input], textarea[bvs-input]`)
52
+ - **Purpose**: Reusable input and textarea fields.
53
+ - **Selector**: `input[bvs-input], textarea[bvs-input]` (attribute)
54
+ - **Inputs**:
55
+ - `variant: 'primary' | 'secondary' | 'danger'`
56
+ - `size: 'sm' | 'md' | 'lg'`
57
+ - `block: boolean`
58
+
59
+ ---
60
+
61
+ ### 🔸 Molecules
62
+
63
+ #### `FormFieldComponent` (`<bvs-form-field>`)
64
+ - **Purpose**: Combines label, input, and errors, featuring a premium floating label animation.
65
+ - **Selector**: `bvs-form-field`
66
+ - **Inputs**:
67
+ - `label: string` (required)
68
+ - `forId: string` (optional)
69
+ - **Usage**:
70
+ ```html
71
+ <bvs-form-field label="E-mail" forId="email-input">
72
+ <input bvs-input id="email-input" placeholder=" " />
73
+ </bvs-form-field>
74
+ ```
75
+
76
+ ---
77
+
78
+ ### 🌐 Organisms
79
+
80
+ #### `NavbarComponent` (`<bvs-navbar>`)
81
+ - **Purpose**: Header container exposing brand and action slots.
82
+ - **Selector**: `bvs-navbar`
83
+ - **Slots**:
84
+ - `[navbar-brand]`: Main title/logo
85
+ - `[navbar-actions]`: User menus, buttons, action items
86
+ - **Usage**:
87
+ ```html
88
+ <bvs-navbar>
89
+ <div navbar-brand>⬡ BVSTech</div>
90
+ <div navbar-actions>
91
+ <button bvs-button variant="secondary">Login</button>
92
+ </div>
93
+ </bvs-navbar>
94
+ ```
95
+
96
+ ---
97
+
98
+ ## 🛠️ CLI Commands
99
+
100
+ ### Build
101
+ To build the library, run the following in `frontend/bvs-material`:
102
+ ```bash
103
+ npm run build
104
+ ```
105
+
106
+ ### Unit Tests
107
+ To run unit tests via Vitest:
108
+ ```bash
109
+ npm run test
110
+ ```
111
+
112
+ ### Storybook Showcase
113
+ To start the Storybook sandbox to preview all configurations and brand presets:
114
+ ```bash
115
+ npm run storybook
116
+ ```
@@ -0,0 +1,289 @@
1
+ import * as i0 from '@angular/core';
2
+ import { signal, Injectable, Input, ChangeDetectionStrategy, Component } from '@angular/core';
3
+
4
+ class ThemeService {
5
+ currentBrand = signal('default', ...(ngDevMode ? [{ debugName: "currentBrand" }] : /* istanbul ignore next */ []));
6
+ currentTheme = signal('light', ...(ngDevMode ? [{ debugName: "currentTheme" }] : /* istanbul ignore next */ []));
7
+ isCustomTheme = signal(false, ...(ngDevMode ? [{ debugName: "isCustomTheme" }] : /* istanbul ignore next */ []));
8
+ constructor() {
9
+ // Initialize default state on DOM if running in browser
10
+ if (typeof document !== 'undefined') {
11
+ this.updateDomAttributes();
12
+ }
13
+ }
14
+ setPresetTheme(brand) {
15
+ this.isCustomTheme.set(false);
16
+ this.currentBrand.set(brand);
17
+ this.clearCustomStyles();
18
+ this.updateDomAttributes();
19
+ }
20
+ setColorScheme(scheme) {
21
+ this.currentTheme.set(scheme);
22
+ this.updateDomAttributes();
23
+ }
24
+ setCustomTheme(config) {
25
+ this.isCustomTheme.set(true);
26
+ if (typeof document === 'undefined')
27
+ return;
28
+ const root = document.documentElement;
29
+ // Remove data-brand attribute to let custom inline properties take precedence
30
+ root.removeAttribute('data-brand');
31
+ // Dynamically inject custom color properties
32
+ root.style.setProperty('--bvs-color-brand', config.brand);
33
+ root.style.setProperty('--bvs-color-brand-hover', config.brandHover);
34
+ root.style.setProperty('--bvs-color-brand-active', config.brandActive);
35
+ root.style.setProperty('--bvs-color-surface', config.surface);
36
+ root.style.setProperty('--bvs-color-surface-subtle', config.surfaceSubtle);
37
+ root.style.setProperty('--bvs-color-surface-muted', config.surfaceMuted);
38
+ root.style.setProperty('--bvs-color-text-primary', config.textPrimary);
39
+ root.style.setProperty('--bvs-color-text-secondary', config.textSecondary);
40
+ root.style.setProperty('--bvs-color-text-disabled', config.textDisabled);
41
+ root.style.setProperty('--bvs-color-border', config.border);
42
+ root.style.setProperty('--bvs-color-border-strong', config.borderStrong);
43
+ }
44
+ updateDomAttributes() {
45
+ if (typeof document === 'undefined')
46
+ return;
47
+ const root = document.documentElement;
48
+ root.setAttribute('data-theme', this.currentTheme());
49
+ if (!this.isCustomTheme()) {
50
+ root.setAttribute('data-brand', this.currentBrand());
51
+ }
52
+ }
53
+ clearCustomStyles() {
54
+ if (typeof document === 'undefined')
55
+ return;
56
+ const root = document.documentElement;
57
+ root.style.removeProperty('--bvs-color-brand');
58
+ root.style.removeProperty('--bvs-color-brand-hover');
59
+ root.style.removeProperty('--bvs-color-brand-active');
60
+ root.style.removeProperty('--bvs-color-surface');
61
+ root.style.removeProperty('--bvs-color-surface-subtle');
62
+ root.style.removeProperty('--bvs-color-surface-muted');
63
+ root.style.removeProperty('--bvs-color-text-primary');
64
+ root.style.removeProperty('--bvs-color-text-secondary');
65
+ root.style.removeProperty('--bvs-color-text-disabled');
66
+ root.style.removeProperty('--bvs-color-border');
67
+ root.style.removeProperty('--bvs-color-border-strong');
68
+ }
69
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
70
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ThemeService, providedIn: 'root' });
71
+ }
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ThemeService, decorators: [{
73
+ type: Injectable,
74
+ args: [{
75
+ providedIn: 'root'
76
+ }]
77
+ }], ctorParameters: () => [] });
78
+
79
+ /**
80
+ * Avatar atom component — shows user initials in a styled circle.
81
+ */
82
+ class AvatarComponent {
83
+ /** Full name used to derive initials. */
84
+ fullName;
85
+ /** Returns the first letter of the first and last word of fullName. */
86
+ get initials() {
87
+ const parts = this.fullName.trim().split(/\s+/);
88
+ const first = parts[0]?.[0] ?? '';
89
+ const last = parts.length > 1 ? (parts[parts.length - 1]?.[0] ?? '') : '';
90
+ return `${first}${last}`.toUpperCase();
91
+ }
92
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: AvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
93
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: AvatarComponent, isStandalone: true, selector: "bvs-avatar", inputs: { fullName: "fullName" }, ngImport: i0, template: `
94
+ <div class="avatar" [attr.aria-label]="initials">
95
+ {{ initials }}
96
+ </div>
97
+ `, isInline: true, styles: [":root{--bvs-color-primary-50: #eff6ff;--bvs-color-primary-100: #dbeafe;--bvs-color-primary-200: #bfdbfe;--bvs-color-primary-300: #93c5fd;--bvs-color-primary-400: #60a5fa;--bvs-color-primary-500: #3b82f6;--bvs-color-primary-600: #2563eb;--bvs-color-primary-700: #1d4ed8;--bvs-color-primary-800: #1e40af;--bvs-color-primary-900: #1e3a8a;--bvs-color-secondary-50: #f5f3ff;--bvs-color-secondary-100: #ede9fe;--bvs-color-secondary-200: #ddd6fe;--bvs-color-secondary-300: #c4b5fd;--bvs-color-secondary-400: #a78bfa;--bvs-color-secondary-500: #8b5cf6;--bvs-color-secondary-600: #7c3aed;--bvs-color-secondary-700: #6d28d9;--bvs-color-secondary-800: #5b21b6;--bvs-color-secondary-900: #4c1d95;--bvs-color-neutral-0: #ffffff;--bvs-color-neutral-50: #f8fafc;--bvs-color-neutral-100: #f1f5f9;--bvs-color-neutral-200: #e2e8f0;--bvs-color-neutral-300: #cbd5e1;--bvs-color-neutral-400: #94a3b8;--bvs-color-neutral-500: #64748b;--bvs-color-neutral-600: #475569;--bvs-color-neutral-700: #334155;--bvs-color-neutral-800: #1e293b;--bvs-color-neutral-900: #0f172a;--bvs-color-neutral-950: #090d16;--bvs-color-neutral-1000: #000000;--bvs-color-success-light: #d1fae5;--bvs-color-success: #10b981;--bvs-color-success-dark: #065f46;--bvs-color-warning-light: #fef3c7;--bvs-color-warning: #f59e0b;--bvs-color-warning-dark: #92400e;--bvs-color-error-light: #fee2e2;--bvs-color-error: #ef4444;--bvs-color-error-dark: #991b1b;--bvs-color-info-light: #e0f2fe;--bvs-color-info: #0ea5e9;--bvs-color-info-dark: #075985;--bvs-space-0: 0;--bvs-space-1: .25rem;--bvs-space-2: .5rem;--bvs-space-3: .75rem;--bvs-space-4: 1rem;--bvs-space-5: 1.25rem;--bvs-space-6: 1.5rem;--bvs-space-8: 2rem;--bvs-space-10: 2.5rem;--bvs-space-12: 3rem;--bvs-space-16: 4rem;--bvs-space-20: 5rem;--bvs-space-24: 6rem;--bvs-font-size-xs: .75rem;--bvs-font-size-sm: .875rem;--bvs-font-size-base: 1rem;--bvs-font-size-lg: 1.125rem;--bvs-font-size-xl: 1.25rem;--bvs-font-size-2xl: 1.5rem;--bvs-font-size-3xl: 1.875rem;--bvs-font-size-4xl: 2.25rem;--bvs-font-weight-light: 300;--bvs-font-weight-regular: 400;--bvs-font-weight-medium: 500;--bvs-font-weight-semibold: 600;--bvs-font-weight-bold: 700;--bvs-line-height-tight: 1.25;--bvs-line-height-normal: 1.5;--bvs-line-height-loose: 1.75;--bvs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--bvs-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--bvs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--bvs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--bvs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--bvs-radius-none: 0;--bvs-radius-sm: .125rem;--bvs-radius-base: .25rem;--bvs-radius-md: .375rem;--bvs-radius-lg: .5rem;--bvs-radius-xl: .75rem;--bvs-radius-2xl: 1rem;--bvs-radius-full: 9999px;--bvs-breakpoint-sm: 640px;--bvs-breakpoint-md: 768px;--bvs-breakpoint-lg: 1024px;--bvs-breakpoint-xl: 1280px;--bvs-breakpoint-2xl: 1536px;--bvs-transition-fast: .15s ease-in-out;--bvs-transition-base: .2s ease-in-out;--bvs-transition-slow: .3s ease-in-out;--bvs-transition-slower: .5s ease-in-out;--bvs-z-dropdown: 1000;--bvs-z-sticky: 1020;--bvs-z-fixed: 1030;--bvs-z-modal: 1040;--bvs-z-popover: 1050;--bvs-z-tooltip: 1060;--bvs-z-toast: 1070;--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=light]{--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=dark]{--bvs-color-brand: #60a5fa;--bvs-color-brand-hover: #93c5fd;--bvs-color-brand-active: #bfdbfe;--bvs-color-surface: #090d16;--bvs-color-surface-subtle: #0f172a;--bvs-color-surface-muted: #1e293b;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #94a3b8;--bvs-color-text-disabled: #475569;--bvs-color-border: #0f172a;--bvs-color-border-strong: #334155}[data-brand=emerald][data-theme=light]{--bvs-color-brand: #10b981;--bvs-color-brand-hover: #065f46;--bvs-color-brand-active: #044331;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=emerald][data-theme=dark]{--bvs-color-brand: #34d399;--bvs-color-brand-hover: #10b981;--bvs-color-brand-active: #065f46;--bvs-color-surface: #03100b;--bvs-color-surface-subtle: #061f17;--bvs-color-surface-muted: #0c2d22;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #a7f3d0;--bvs-color-text-disabled: #065f46;--bvs-color-border: #0a261d;--bvs-color-border-strong: #065f46}[data-brand=sunset][data-theme=light]{--bvs-color-brand: #ea580c;--bvs-color-brand-hover: #c2410c;--bvs-color-brand-active: #9a3412;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=sunset][data-theme=dark]{--bvs-color-brand: #f97316;--bvs-color-brand-hover: #fb923c;--bvs-color-brand-active: #fdba74;--bvs-color-surface: #120905;--bvs-color-surface-subtle: #27140c;--bvs-color-surface-muted: #3d1d11;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fed7aa;--bvs-color-text-disabled: #9a3412;--bvs-color-border: #2b140b;--bvs-color-border-strong: #9a3412}[data-brand=amethyst][data-theme=light]{--bvs-color-brand: #7c3aed;--bvs-color-brand-hover: #6d28d9;--bvs-color-brand-active: #5b21b6;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=amethyst][data-theme=dark]{--bvs-color-brand: #a78bfa;--bvs-color-brand-hover: #c4b5fd;--bvs-color-brand-active: #ddd6fe;--bvs-color-surface: #0d0717;--bvs-color-surface-subtle: #1e1135;--bvs-color-surface-muted: #2e1b4e;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #ddd6fe;--bvs-color-text-disabled: #6d28d9;--bvs-color-border: #201138;--bvs-color-border-strong: #7c3aed}[data-brand=ruby][data-theme=light]{--bvs-color-brand: #ef4444;--bvs-color-brand-hover: #991b1b;--bvs-color-brand-active: #7f1d1d;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=ruby][data-theme=dark]{--bvs-color-brand: #f87171;--bvs-color-brand-hover: #ef4444;--bvs-color-brand-active: #991b1b;--bvs-color-surface: #140505;--bvs-color-surface-subtle: #2d0c0c;--bvs-color-surface-muted: #471515;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fecaca;--bvs-color-text-disabled: #991b1b;--bvs-color-border: #360f0f;--bvs-color-border-strong: #991b1b}.avatar{display:flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:var(--bvs-radius-full);background:linear-gradient(135deg,var(--bvs-color-brand),var(--bvs-color-brand-hover));color:var(--bvs-color-neutral-0);font-size:var(--bvs-font-size-sm);font-weight:var(--bvs-font-weight-bold);font-family:var(--bvs-font-family-sans);-webkit-user-select:none;user-select:none;flex-shrink:0;letter-spacing:.05em;box-shadow:var(--bvs-shadow-sm);transition:transform var(--bvs-transition-fast)}.avatar:hover{transform:scale(1.05)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
98
+ }
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: AvatarComponent, decorators: [{
100
+ type: Component,
101
+ args: [{ selector: 'bvs-avatar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: `
102
+ <div class="avatar" [attr.aria-label]="initials">
103
+ {{ initials }}
104
+ </div>
105
+ `, styles: [":root{--bvs-color-primary-50: #eff6ff;--bvs-color-primary-100: #dbeafe;--bvs-color-primary-200: #bfdbfe;--bvs-color-primary-300: #93c5fd;--bvs-color-primary-400: #60a5fa;--bvs-color-primary-500: #3b82f6;--bvs-color-primary-600: #2563eb;--bvs-color-primary-700: #1d4ed8;--bvs-color-primary-800: #1e40af;--bvs-color-primary-900: #1e3a8a;--bvs-color-secondary-50: #f5f3ff;--bvs-color-secondary-100: #ede9fe;--bvs-color-secondary-200: #ddd6fe;--bvs-color-secondary-300: #c4b5fd;--bvs-color-secondary-400: #a78bfa;--bvs-color-secondary-500: #8b5cf6;--bvs-color-secondary-600: #7c3aed;--bvs-color-secondary-700: #6d28d9;--bvs-color-secondary-800: #5b21b6;--bvs-color-secondary-900: #4c1d95;--bvs-color-neutral-0: #ffffff;--bvs-color-neutral-50: #f8fafc;--bvs-color-neutral-100: #f1f5f9;--bvs-color-neutral-200: #e2e8f0;--bvs-color-neutral-300: #cbd5e1;--bvs-color-neutral-400: #94a3b8;--bvs-color-neutral-500: #64748b;--bvs-color-neutral-600: #475569;--bvs-color-neutral-700: #334155;--bvs-color-neutral-800: #1e293b;--bvs-color-neutral-900: #0f172a;--bvs-color-neutral-950: #090d16;--bvs-color-neutral-1000: #000000;--bvs-color-success-light: #d1fae5;--bvs-color-success: #10b981;--bvs-color-success-dark: #065f46;--bvs-color-warning-light: #fef3c7;--bvs-color-warning: #f59e0b;--bvs-color-warning-dark: #92400e;--bvs-color-error-light: #fee2e2;--bvs-color-error: #ef4444;--bvs-color-error-dark: #991b1b;--bvs-color-info-light: #e0f2fe;--bvs-color-info: #0ea5e9;--bvs-color-info-dark: #075985;--bvs-space-0: 0;--bvs-space-1: .25rem;--bvs-space-2: .5rem;--bvs-space-3: .75rem;--bvs-space-4: 1rem;--bvs-space-5: 1.25rem;--bvs-space-6: 1.5rem;--bvs-space-8: 2rem;--bvs-space-10: 2.5rem;--bvs-space-12: 3rem;--bvs-space-16: 4rem;--bvs-space-20: 5rem;--bvs-space-24: 6rem;--bvs-font-size-xs: .75rem;--bvs-font-size-sm: .875rem;--bvs-font-size-base: 1rem;--bvs-font-size-lg: 1.125rem;--bvs-font-size-xl: 1.25rem;--bvs-font-size-2xl: 1.5rem;--bvs-font-size-3xl: 1.875rem;--bvs-font-size-4xl: 2.25rem;--bvs-font-weight-light: 300;--bvs-font-weight-regular: 400;--bvs-font-weight-medium: 500;--bvs-font-weight-semibold: 600;--bvs-font-weight-bold: 700;--bvs-line-height-tight: 1.25;--bvs-line-height-normal: 1.5;--bvs-line-height-loose: 1.75;--bvs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--bvs-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--bvs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--bvs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--bvs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--bvs-radius-none: 0;--bvs-radius-sm: .125rem;--bvs-radius-base: .25rem;--bvs-radius-md: .375rem;--bvs-radius-lg: .5rem;--bvs-radius-xl: .75rem;--bvs-radius-2xl: 1rem;--bvs-radius-full: 9999px;--bvs-breakpoint-sm: 640px;--bvs-breakpoint-md: 768px;--bvs-breakpoint-lg: 1024px;--bvs-breakpoint-xl: 1280px;--bvs-breakpoint-2xl: 1536px;--bvs-transition-fast: .15s ease-in-out;--bvs-transition-base: .2s ease-in-out;--bvs-transition-slow: .3s ease-in-out;--bvs-transition-slower: .5s ease-in-out;--bvs-z-dropdown: 1000;--bvs-z-sticky: 1020;--bvs-z-fixed: 1030;--bvs-z-modal: 1040;--bvs-z-popover: 1050;--bvs-z-tooltip: 1060;--bvs-z-toast: 1070;--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=light]{--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=dark]{--bvs-color-brand: #60a5fa;--bvs-color-brand-hover: #93c5fd;--bvs-color-brand-active: #bfdbfe;--bvs-color-surface: #090d16;--bvs-color-surface-subtle: #0f172a;--bvs-color-surface-muted: #1e293b;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #94a3b8;--bvs-color-text-disabled: #475569;--bvs-color-border: #0f172a;--bvs-color-border-strong: #334155}[data-brand=emerald][data-theme=light]{--bvs-color-brand: #10b981;--bvs-color-brand-hover: #065f46;--bvs-color-brand-active: #044331;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=emerald][data-theme=dark]{--bvs-color-brand: #34d399;--bvs-color-brand-hover: #10b981;--bvs-color-brand-active: #065f46;--bvs-color-surface: #03100b;--bvs-color-surface-subtle: #061f17;--bvs-color-surface-muted: #0c2d22;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #a7f3d0;--bvs-color-text-disabled: #065f46;--bvs-color-border: #0a261d;--bvs-color-border-strong: #065f46}[data-brand=sunset][data-theme=light]{--bvs-color-brand: #ea580c;--bvs-color-brand-hover: #c2410c;--bvs-color-brand-active: #9a3412;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=sunset][data-theme=dark]{--bvs-color-brand: #f97316;--bvs-color-brand-hover: #fb923c;--bvs-color-brand-active: #fdba74;--bvs-color-surface: #120905;--bvs-color-surface-subtle: #27140c;--bvs-color-surface-muted: #3d1d11;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fed7aa;--bvs-color-text-disabled: #9a3412;--bvs-color-border: #2b140b;--bvs-color-border-strong: #9a3412}[data-brand=amethyst][data-theme=light]{--bvs-color-brand: #7c3aed;--bvs-color-brand-hover: #6d28d9;--bvs-color-brand-active: #5b21b6;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=amethyst][data-theme=dark]{--bvs-color-brand: #a78bfa;--bvs-color-brand-hover: #c4b5fd;--bvs-color-brand-active: #ddd6fe;--bvs-color-surface: #0d0717;--bvs-color-surface-subtle: #1e1135;--bvs-color-surface-muted: #2e1b4e;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #ddd6fe;--bvs-color-text-disabled: #6d28d9;--bvs-color-border: #201138;--bvs-color-border-strong: #7c3aed}[data-brand=ruby][data-theme=light]{--bvs-color-brand: #ef4444;--bvs-color-brand-hover: #991b1b;--bvs-color-brand-active: #7f1d1d;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=ruby][data-theme=dark]{--bvs-color-brand: #f87171;--bvs-color-brand-hover: #ef4444;--bvs-color-brand-active: #991b1b;--bvs-color-surface: #140505;--bvs-color-surface-subtle: #2d0c0c;--bvs-color-surface-muted: #471515;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fecaca;--bvs-color-text-disabled: #991b1b;--bvs-color-border: #360f0f;--bvs-color-border-strong: #991b1b}.avatar{display:flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:var(--bvs-radius-full);background:linear-gradient(135deg,var(--bvs-color-brand),var(--bvs-color-brand-hover));color:var(--bvs-color-neutral-0);font-size:var(--bvs-font-size-sm);font-weight:var(--bvs-font-weight-bold);font-family:var(--bvs-font-family-sans);-webkit-user-select:none;user-select:none;flex-shrink:0;letter-spacing:.05em;box-shadow:var(--bvs-shadow-sm);transition:transform var(--bvs-transition-fast)}.avatar:hover{transform:scale(1.05)}\n"] }]
106
+ }], propDecorators: { fullName: [{
107
+ type: Input,
108
+ args: [{ required: true }]
109
+ }] } });
110
+
111
+ /**
112
+ * Badge atom — displays a label with semantic coloring and size.
113
+ */
114
+ class BadgeComponent {
115
+ /** Semantic color variant. */
116
+ color = 'neutral';
117
+ /** Size variant. */
118
+ size = 'md';
119
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
120
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: BadgeComponent, isStandalone: true, selector: "[bvs-badge]", inputs: { color: "color", size: "size" }, host: { properties: { "class.badge": "true", "class.badge-info": "color === 'info'", "class.badge-success": "color === 'success'", "class.badge-warning": "color === 'warning'", "class.badge-danger": "color === 'danger'", "class.badge-neutral": "color === 'neutral'", "class.badge-sm": "size === 'sm'", "class.badge-md": "size === 'md'", "class.badge-lg": "size === 'lg'" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":root{--bvs-color-primary-50: #eff6ff;--bvs-color-primary-100: #dbeafe;--bvs-color-primary-200: #bfdbfe;--bvs-color-primary-300: #93c5fd;--bvs-color-primary-400: #60a5fa;--bvs-color-primary-500: #3b82f6;--bvs-color-primary-600: #2563eb;--bvs-color-primary-700: #1d4ed8;--bvs-color-primary-800: #1e40af;--bvs-color-primary-900: #1e3a8a;--bvs-color-secondary-50: #f5f3ff;--bvs-color-secondary-100: #ede9fe;--bvs-color-secondary-200: #ddd6fe;--bvs-color-secondary-300: #c4b5fd;--bvs-color-secondary-400: #a78bfa;--bvs-color-secondary-500: #8b5cf6;--bvs-color-secondary-600: #7c3aed;--bvs-color-secondary-700: #6d28d9;--bvs-color-secondary-800: #5b21b6;--bvs-color-secondary-900: #4c1d95;--bvs-color-neutral-0: #ffffff;--bvs-color-neutral-50: #f8fafc;--bvs-color-neutral-100: #f1f5f9;--bvs-color-neutral-200: #e2e8f0;--bvs-color-neutral-300: #cbd5e1;--bvs-color-neutral-400: #94a3b8;--bvs-color-neutral-500: #64748b;--bvs-color-neutral-600: #475569;--bvs-color-neutral-700: #334155;--bvs-color-neutral-800: #1e293b;--bvs-color-neutral-900: #0f172a;--bvs-color-neutral-950: #090d16;--bvs-color-neutral-1000: #000000;--bvs-color-success-light: #d1fae5;--bvs-color-success: #10b981;--bvs-color-success-dark: #065f46;--bvs-color-warning-light: #fef3c7;--bvs-color-warning: #f59e0b;--bvs-color-warning-dark: #92400e;--bvs-color-error-light: #fee2e2;--bvs-color-error: #ef4444;--bvs-color-error-dark: #991b1b;--bvs-color-info-light: #e0f2fe;--bvs-color-info: #0ea5e9;--bvs-color-info-dark: #075985;--bvs-space-0: 0;--bvs-space-1: .25rem;--bvs-space-2: .5rem;--bvs-space-3: .75rem;--bvs-space-4: 1rem;--bvs-space-5: 1.25rem;--bvs-space-6: 1.5rem;--bvs-space-8: 2rem;--bvs-space-10: 2.5rem;--bvs-space-12: 3rem;--bvs-space-16: 4rem;--bvs-space-20: 5rem;--bvs-space-24: 6rem;--bvs-font-size-xs: .75rem;--bvs-font-size-sm: .875rem;--bvs-font-size-base: 1rem;--bvs-font-size-lg: 1.125rem;--bvs-font-size-xl: 1.25rem;--bvs-font-size-2xl: 1.5rem;--bvs-font-size-3xl: 1.875rem;--bvs-font-size-4xl: 2.25rem;--bvs-font-weight-light: 300;--bvs-font-weight-regular: 400;--bvs-font-weight-medium: 500;--bvs-font-weight-semibold: 600;--bvs-font-weight-bold: 700;--bvs-line-height-tight: 1.25;--bvs-line-height-normal: 1.5;--bvs-line-height-loose: 1.75;--bvs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--bvs-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--bvs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--bvs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--bvs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--bvs-radius-none: 0;--bvs-radius-sm: .125rem;--bvs-radius-base: .25rem;--bvs-radius-md: .375rem;--bvs-radius-lg: .5rem;--bvs-radius-xl: .75rem;--bvs-radius-2xl: 1rem;--bvs-radius-full: 9999px;--bvs-breakpoint-sm: 640px;--bvs-breakpoint-md: 768px;--bvs-breakpoint-lg: 1024px;--bvs-breakpoint-xl: 1280px;--bvs-breakpoint-2xl: 1536px;--bvs-transition-fast: .15s ease-in-out;--bvs-transition-base: .2s ease-in-out;--bvs-transition-slow: .3s ease-in-out;--bvs-transition-slower: .5s ease-in-out;--bvs-z-dropdown: 1000;--bvs-z-sticky: 1020;--bvs-z-fixed: 1030;--bvs-z-modal: 1040;--bvs-z-popover: 1050;--bvs-z-tooltip: 1060;--bvs-z-toast: 1070;--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=light]{--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=dark]{--bvs-color-brand: #60a5fa;--bvs-color-brand-hover: #93c5fd;--bvs-color-brand-active: #bfdbfe;--bvs-color-surface: #090d16;--bvs-color-surface-subtle: #0f172a;--bvs-color-surface-muted: #1e293b;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #94a3b8;--bvs-color-text-disabled: #475569;--bvs-color-border: #0f172a;--bvs-color-border-strong: #334155}[data-brand=emerald][data-theme=light]{--bvs-color-brand: #10b981;--bvs-color-brand-hover: #065f46;--bvs-color-brand-active: #044331;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=emerald][data-theme=dark]{--bvs-color-brand: #34d399;--bvs-color-brand-hover: #10b981;--bvs-color-brand-active: #065f46;--bvs-color-surface: #03100b;--bvs-color-surface-subtle: #061f17;--bvs-color-surface-muted: #0c2d22;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #a7f3d0;--bvs-color-text-disabled: #065f46;--bvs-color-border: #0a261d;--bvs-color-border-strong: #065f46}[data-brand=sunset][data-theme=light]{--bvs-color-brand: #ea580c;--bvs-color-brand-hover: #c2410c;--bvs-color-brand-active: #9a3412;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=sunset][data-theme=dark]{--bvs-color-brand: #f97316;--bvs-color-brand-hover: #fb923c;--bvs-color-brand-active: #fdba74;--bvs-color-surface: #120905;--bvs-color-surface-subtle: #27140c;--bvs-color-surface-muted: #3d1d11;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fed7aa;--bvs-color-text-disabled: #9a3412;--bvs-color-border: #2b140b;--bvs-color-border-strong: #9a3412}[data-brand=amethyst][data-theme=light]{--bvs-color-brand: #7c3aed;--bvs-color-brand-hover: #6d28d9;--bvs-color-brand-active: #5b21b6;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=amethyst][data-theme=dark]{--bvs-color-brand: #a78bfa;--bvs-color-brand-hover: #c4b5fd;--bvs-color-brand-active: #ddd6fe;--bvs-color-surface: #0d0717;--bvs-color-surface-subtle: #1e1135;--bvs-color-surface-muted: #2e1b4e;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #ddd6fe;--bvs-color-text-disabled: #6d28d9;--bvs-color-border: #201138;--bvs-color-border-strong: #7c3aed}[data-brand=ruby][data-theme=light]{--bvs-color-brand: #ef4444;--bvs-color-brand-hover: #991b1b;--bvs-color-brand-active: #7f1d1d;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=ruby][data-theme=dark]{--bvs-color-brand: #f87171;--bvs-color-brand-hover: #ef4444;--bvs-color-brand-active: #991b1b;--bvs-color-surface: #140505;--bvs-color-surface-subtle: #2d0c0c;--bvs-color-surface-muted: #471515;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fecaca;--bvs-color-text-disabled: #991b1b;--bvs-color-border: #360f0f;--bvs-color-border-strong: #991b1b}:host{display:inline-flex;align-items:center;border-radius:var(--bvs-radius-full);font-weight:var(--bvs-font-weight-semibold);text-transform:capitalize;transition:all var(--bvs-transition-fast);line-height:1;box-sizing:border-box}:host.badge-sm{padding:2px var(--bvs-space-2);font-size:.6875rem;letter-spacing:.02em}:host.badge-md{padding:var(--bvs-space-1) var(--bvs-space-3);font-size:var(--bvs-font-size-xs);letter-spacing:.04em}:host.badge-lg{padding:.375rem var(--bvs-space-4);font-size:var(--bvs-font-size-sm);letter-spacing:.05em}:host.badge-neutral{background-color:var(--bvs-color-surface-muted);color:var(--bvs-color-text-secondary);border:1px solid var(--bvs-color-border)}:host.badge-danger{background-color:#fee2e2;color:#991b1b;border:1px solid #fca5a5}:host.badge-warning{background-color:#fef3c7;color:#92400e;border:1px solid #fcd34d}:host.badge-info{background-color:#e0f2fe;color:#075985;border:1px solid #7dd3fc}:host.badge-success{background-color:#d1fae5;color:#065f46;border:1px solid #6ee7b7}:host-context([data-theme=dark]).badge-neutral{background-color:#ffffff14;color:var(--bvs-color-text-secondary);border:1px solid var(--bvs-color-border)}:host-context([data-theme=dark]).badge-danger{background-color:#ef444429;color:#f87171;border:1px solid rgba(239,68,68,.3)}:host-context([data-theme=dark]).badge-warning{background-color:#f59e0b29;color:#fbbf24;border:1px solid rgba(245,158,11,.3)}:host-context([data-theme=dark]).badge-info{background-color:#0ea5e929;color:#38bdf8;border:1px solid rgba(14,165,233,.3)}:host-context([data-theme=dark]).badge-success{background-color:#10b98129;color:#34d399;border:1px solid rgba(16,185,129,.3)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
121
+ }
122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: BadgeComponent, decorators: [{
123
+ type: Component,
124
+ args: [{ selector: '[bvs-badge]', standalone: true, template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, host: {
125
+ '[class.badge]': 'true',
126
+ '[class.badge-info]': "color === 'info'",
127
+ '[class.badge-success]': "color === 'success'",
128
+ '[class.badge-warning]': "color === 'warning'",
129
+ '[class.badge-danger]': "color === 'danger'",
130
+ '[class.badge-neutral]': "color === 'neutral'",
131
+ '[class.badge-sm]': "size === 'sm'",
132
+ '[class.badge-md]': "size === 'md'",
133
+ '[class.badge-lg]': "size === 'lg'"
134
+ }, styles: [":root{--bvs-color-primary-50: #eff6ff;--bvs-color-primary-100: #dbeafe;--bvs-color-primary-200: #bfdbfe;--bvs-color-primary-300: #93c5fd;--bvs-color-primary-400: #60a5fa;--bvs-color-primary-500: #3b82f6;--bvs-color-primary-600: #2563eb;--bvs-color-primary-700: #1d4ed8;--bvs-color-primary-800: #1e40af;--bvs-color-primary-900: #1e3a8a;--bvs-color-secondary-50: #f5f3ff;--bvs-color-secondary-100: #ede9fe;--bvs-color-secondary-200: #ddd6fe;--bvs-color-secondary-300: #c4b5fd;--bvs-color-secondary-400: #a78bfa;--bvs-color-secondary-500: #8b5cf6;--bvs-color-secondary-600: #7c3aed;--bvs-color-secondary-700: #6d28d9;--bvs-color-secondary-800: #5b21b6;--bvs-color-secondary-900: #4c1d95;--bvs-color-neutral-0: #ffffff;--bvs-color-neutral-50: #f8fafc;--bvs-color-neutral-100: #f1f5f9;--bvs-color-neutral-200: #e2e8f0;--bvs-color-neutral-300: #cbd5e1;--bvs-color-neutral-400: #94a3b8;--bvs-color-neutral-500: #64748b;--bvs-color-neutral-600: #475569;--bvs-color-neutral-700: #334155;--bvs-color-neutral-800: #1e293b;--bvs-color-neutral-900: #0f172a;--bvs-color-neutral-950: #090d16;--bvs-color-neutral-1000: #000000;--bvs-color-success-light: #d1fae5;--bvs-color-success: #10b981;--bvs-color-success-dark: #065f46;--bvs-color-warning-light: #fef3c7;--bvs-color-warning: #f59e0b;--bvs-color-warning-dark: #92400e;--bvs-color-error-light: #fee2e2;--bvs-color-error: #ef4444;--bvs-color-error-dark: #991b1b;--bvs-color-info-light: #e0f2fe;--bvs-color-info: #0ea5e9;--bvs-color-info-dark: #075985;--bvs-space-0: 0;--bvs-space-1: .25rem;--bvs-space-2: .5rem;--bvs-space-3: .75rem;--bvs-space-4: 1rem;--bvs-space-5: 1.25rem;--bvs-space-6: 1.5rem;--bvs-space-8: 2rem;--bvs-space-10: 2.5rem;--bvs-space-12: 3rem;--bvs-space-16: 4rem;--bvs-space-20: 5rem;--bvs-space-24: 6rem;--bvs-font-size-xs: .75rem;--bvs-font-size-sm: .875rem;--bvs-font-size-base: 1rem;--bvs-font-size-lg: 1.125rem;--bvs-font-size-xl: 1.25rem;--bvs-font-size-2xl: 1.5rem;--bvs-font-size-3xl: 1.875rem;--bvs-font-size-4xl: 2.25rem;--bvs-font-weight-light: 300;--bvs-font-weight-regular: 400;--bvs-font-weight-medium: 500;--bvs-font-weight-semibold: 600;--bvs-font-weight-bold: 700;--bvs-line-height-tight: 1.25;--bvs-line-height-normal: 1.5;--bvs-line-height-loose: 1.75;--bvs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--bvs-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--bvs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--bvs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--bvs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--bvs-radius-none: 0;--bvs-radius-sm: .125rem;--bvs-radius-base: .25rem;--bvs-radius-md: .375rem;--bvs-radius-lg: .5rem;--bvs-radius-xl: .75rem;--bvs-radius-2xl: 1rem;--bvs-radius-full: 9999px;--bvs-breakpoint-sm: 640px;--bvs-breakpoint-md: 768px;--bvs-breakpoint-lg: 1024px;--bvs-breakpoint-xl: 1280px;--bvs-breakpoint-2xl: 1536px;--bvs-transition-fast: .15s ease-in-out;--bvs-transition-base: .2s ease-in-out;--bvs-transition-slow: .3s ease-in-out;--bvs-transition-slower: .5s ease-in-out;--bvs-z-dropdown: 1000;--bvs-z-sticky: 1020;--bvs-z-fixed: 1030;--bvs-z-modal: 1040;--bvs-z-popover: 1050;--bvs-z-tooltip: 1060;--bvs-z-toast: 1070;--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=light]{--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=dark]{--bvs-color-brand: #60a5fa;--bvs-color-brand-hover: #93c5fd;--bvs-color-brand-active: #bfdbfe;--bvs-color-surface: #090d16;--bvs-color-surface-subtle: #0f172a;--bvs-color-surface-muted: #1e293b;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #94a3b8;--bvs-color-text-disabled: #475569;--bvs-color-border: #0f172a;--bvs-color-border-strong: #334155}[data-brand=emerald][data-theme=light]{--bvs-color-brand: #10b981;--bvs-color-brand-hover: #065f46;--bvs-color-brand-active: #044331;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=emerald][data-theme=dark]{--bvs-color-brand: #34d399;--bvs-color-brand-hover: #10b981;--bvs-color-brand-active: #065f46;--bvs-color-surface: #03100b;--bvs-color-surface-subtle: #061f17;--bvs-color-surface-muted: #0c2d22;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #a7f3d0;--bvs-color-text-disabled: #065f46;--bvs-color-border: #0a261d;--bvs-color-border-strong: #065f46}[data-brand=sunset][data-theme=light]{--bvs-color-brand: #ea580c;--bvs-color-brand-hover: #c2410c;--bvs-color-brand-active: #9a3412;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=sunset][data-theme=dark]{--bvs-color-brand: #f97316;--bvs-color-brand-hover: #fb923c;--bvs-color-brand-active: #fdba74;--bvs-color-surface: #120905;--bvs-color-surface-subtle: #27140c;--bvs-color-surface-muted: #3d1d11;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fed7aa;--bvs-color-text-disabled: #9a3412;--bvs-color-border: #2b140b;--bvs-color-border-strong: #9a3412}[data-brand=amethyst][data-theme=light]{--bvs-color-brand: #7c3aed;--bvs-color-brand-hover: #6d28d9;--bvs-color-brand-active: #5b21b6;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=amethyst][data-theme=dark]{--bvs-color-brand: #a78bfa;--bvs-color-brand-hover: #c4b5fd;--bvs-color-brand-active: #ddd6fe;--bvs-color-surface: #0d0717;--bvs-color-surface-subtle: #1e1135;--bvs-color-surface-muted: #2e1b4e;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #ddd6fe;--bvs-color-text-disabled: #6d28d9;--bvs-color-border: #201138;--bvs-color-border-strong: #7c3aed}[data-brand=ruby][data-theme=light]{--bvs-color-brand: #ef4444;--bvs-color-brand-hover: #991b1b;--bvs-color-brand-active: #7f1d1d;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=ruby][data-theme=dark]{--bvs-color-brand: #f87171;--bvs-color-brand-hover: #ef4444;--bvs-color-brand-active: #991b1b;--bvs-color-surface: #140505;--bvs-color-surface-subtle: #2d0c0c;--bvs-color-surface-muted: #471515;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fecaca;--bvs-color-text-disabled: #991b1b;--bvs-color-border: #360f0f;--bvs-color-border-strong: #991b1b}:host{display:inline-flex;align-items:center;border-radius:var(--bvs-radius-full);font-weight:var(--bvs-font-weight-semibold);text-transform:capitalize;transition:all var(--bvs-transition-fast);line-height:1;box-sizing:border-box}:host.badge-sm{padding:2px var(--bvs-space-2);font-size:.6875rem;letter-spacing:.02em}:host.badge-md{padding:var(--bvs-space-1) var(--bvs-space-3);font-size:var(--bvs-font-size-xs);letter-spacing:.04em}:host.badge-lg{padding:.375rem var(--bvs-space-4);font-size:var(--bvs-font-size-sm);letter-spacing:.05em}:host.badge-neutral{background-color:var(--bvs-color-surface-muted);color:var(--bvs-color-text-secondary);border:1px solid var(--bvs-color-border)}:host.badge-danger{background-color:#fee2e2;color:#991b1b;border:1px solid #fca5a5}:host.badge-warning{background-color:#fef3c7;color:#92400e;border:1px solid #fcd34d}:host.badge-info{background-color:#e0f2fe;color:#075985;border:1px solid #7dd3fc}:host.badge-success{background-color:#d1fae5;color:#065f46;border:1px solid #6ee7b7}:host-context([data-theme=dark]).badge-neutral{background-color:#ffffff14;color:var(--bvs-color-text-secondary);border:1px solid var(--bvs-color-border)}:host-context([data-theme=dark]).badge-danger{background-color:#ef444429;color:#f87171;border:1px solid rgba(239,68,68,.3)}:host-context([data-theme=dark]).badge-warning{background-color:#f59e0b29;color:#fbbf24;border:1px solid rgba(245,158,11,.3)}:host-context([data-theme=dark]).badge-info{background-color:#0ea5e929;color:#38bdf8;border:1px solid rgba(14,165,233,.3)}:host-context([data-theme=dark]).badge-success{background-color:#10b98129;color:#34d399;border:1px solid rgba(16,185,129,.3)}\n"] }]
135
+ }], propDecorators: { color: [{
136
+ type: Input
137
+ }], size: [{
138
+ type: Input
139
+ }] } });
140
+
141
+ /**
142
+ * Button atom — generic and reusable button component.
143
+ */
144
+ class ButtonComponent {
145
+ /** Semantic variant. */
146
+ variant = 'primary';
147
+ /** Size variant. */
148
+ size = 'md';
149
+ /** Whether the button takes full width. */
150
+ block = false;
151
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
152
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: ButtonComponent, isStandalone: true, selector: "[bvs-button]", inputs: { variant: "variant", size: "size", block: "block" }, host: { properties: { "class.btn": "true", "class.btn-primary": "variant === 'primary'", "class.btn-secondary": "variant === 'secondary'", "class.btn-danger": "variant === 'danger'", "class.btn-ghost": "variant === 'ghost'", "class.btn-sm": "size === 'sm'", "class.btn-md": "size === 'md'", "class.btn-lg": "size === 'lg'", "class.btn-block": "block" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":root{--bvs-color-primary-50: #eff6ff;--bvs-color-primary-100: #dbeafe;--bvs-color-primary-200: #bfdbfe;--bvs-color-primary-300: #93c5fd;--bvs-color-primary-400: #60a5fa;--bvs-color-primary-500: #3b82f6;--bvs-color-primary-600: #2563eb;--bvs-color-primary-700: #1d4ed8;--bvs-color-primary-800: #1e40af;--bvs-color-primary-900: #1e3a8a;--bvs-color-secondary-50: #f5f3ff;--bvs-color-secondary-100: #ede9fe;--bvs-color-secondary-200: #ddd6fe;--bvs-color-secondary-300: #c4b5fd;--bvs-color-secondary-400: #a78bfa;--bvs-color-secondary-500: #8b5cf6;--bvs-color-secondary-600: #7c3aed;--bvs-color-secondary-700: #6d28d9;--bvs-color-secondary-800: #5b21b6;--bvs-color-secondary-900: #4c1d95;--bvs-color-neutral-0: #ffffff;--bvs-color-neutral-50: #f8fafc;--bvs-color-neutral-100: #f1f5f9;--bvs-color-neutral-200: #e2e8f0;--bvs-color-neutral-300: #cbd5e1;--bvs-color-neutral-400: #94a3b8;--bvs-color-neutral-500: #64748b;--bvs-color-neutral-600: #475569;--bvs-color-neutral-700: #334155;--bvs-color-neutral-800: #1e293b;--bvs-color-neutral-900: #0f172a;--bvs-color-neutral-950: #090d16;--bvs-color-neutral-1000: #000000;--bvs-color-success-light: #d1fae5;--bvs-color-success: #10b981;--bvs-color-success-dark: #065f46;--bvs-color-warning-light: #fef3c7;--bvs-color-warning: #f59e0b;--bvs-color-warning-dark: #92400e;--bvs-color-error-light: #fee2e2;--bvs-color-error: #ef4444;--bvs-color-error-dark: #991b1b;--bvs-color-info-light: #e0f2fe;--bvs-color-info: #0ea5e9;--bvs-color-info-dark: #075985;--bvs-space-0: 0;--bvs-space-1: .25rem;--bvs-space-2: .5rem;--bvs-space-3: .75rem;--bvs-space-4: 1rem;--bvs-space-5: 1.25rem;--bvs-space-6: 1.5rem;--bvs-space-8: 2rem;--bvs-space-10: 2.5rem;--bvs-space-12: 3rem;--bvs-space-16: 4rem;--bvs-space-20: 5rem;--bvs-space-24: 6rem;--bvs-font-size-xs: .75rem;--bvs-font-size-sm: .875rem;--bvs-font-size-base: 1rem;--bvs-font-size-lg: 1.125rem;--bvs-font-size-xl: 1.25rem;--bvs-font-size-2xl: 1.5rem;--bvs-font-size-3xl: 1.875rem;--bvs-font-size-4xl: 2.25rem;--bvs-font-weight-light: 300;--bvs-font-weight-regular: 400;--bvs-font-weight-medium: 500;--bvs-font-weight-semibold: 600;--bvs-font-weight-bold: 700;--bvs-line-height-tight: 1.25;--bvs-line-height-normal: 1.5;--bvs-line-height-loose: 1.75;--bvs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--bvs-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--bvs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--bvs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--bvs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--bvs-radius-none: 0;--bvs-radius-sm: .125rem;--bvs-radius-base: .25rem;--bvs-radius-md: .375rem;--bvs-radius-lg: .5rem;--bvs-radius-xl: .75rem;--bvs-radius-2xl: 1rem;--bvs-radius-full: 9999px;--bvs-breakpoint-sm: 640px;--bvs-breakpoint-md: 768px;--bvs-breakpoint-lg: 1024px;--bvs-breakpoint-xl: 1280px;--bvs-breakpoint-2xl: 1536px;--bvs-transition-fast: .15s ease-in-out;--bvs-transition-base: .2s ease-in-out;--bvs-transition-slow: .3s ease-in-out;--bvs-transition-slower: .5s ease-in-out;--bvs-z-dropdown: 1000;--bvs-z-sticky: 1020;--bvs-z-fixed: 1030;--bvs-z-modal: 1040;--bvs-z-popover: 1050;--bvs-z-tooltip: 1060;--bvs-z-toast: 1070;--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=light]{--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=dark]{--bvs-color-brand: #60a5fa;--bvs-color-brand-hover: #93c5fd;--bvs-color-brand-active: #bfdbfe;--bvs-color-surface: #090d16;--bvs-color-surface-subtle: #0f172a;--bvs-color-surface-muted: #1e293b;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #94a3b8;--bvs-color-text-disabled: #475569;--bvs-color-border: #0f172a;--bvs-color-border-strong: #334155}[data-brand=emerald][data-theme=light]{--bvs-color-brand: #10b981;--bvs-color-brand-hover: #065f46;--bvs-color-brand-active: #044331;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=emerald][data-theme=dark]{--bvs-color-brand: #34d399;--bvs-color-brand-hover: #10b981;--bvs-color-brand-active: #065f46;--bvs-color-surface: #03100b;--bvs-color-surface-subtle: #061f17;--bvs-color-surface-muted: #0c2d22;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #a7f3d0;--bvs-color-text-disabled: #065f46;--bvs-color-border: #0a261d;--bvs-color-border-strong: #065f46}[data-brand=sunset][data-theme=light]{--bvs-color-brand: #ea580c;--bvs-color-brand-hover: #c2410c;--bvs-color-brand-active: #9a3412;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=sunset][data-theme=dark]{--bvs-color-brand: #f97316;--bvs-color-brand-hover: #fb923c;--bvs-color-brand-active: #fdba74;--bvs-color-surface: #120905;--bvs-color-surface-subtle: #27140c;--bvs-color-surface-muted: #3d1d11;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fed7aa;--bvs-color-text-disabled: #9a3412;--bvs-color-border: #2b140b;--bvs-color-border-strong: #9a3412}[data-brand=amethyst][data-theme=light]{--bvs-color-brand: #7c3aed;--bvs-color-brand-hover: #6d28d9;--bvs-color-brand-active: #5b21b6;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=amethyst][data-theme=dark]{--bvs-color-brand: #a78bfa;--bvs-color-brand-hover: #c4b5fd;--bvs-color-brand-active: #ddd6fe;--bvs-color-surface: #0d0717;--bvs-color-surface-subtle: #1e1135;--bvs-color-surface-muted: #2e1b4e;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #ddd6fe;--bvs-color-text-disabled: #6d28d9;--bvs-color-border: #201138;--bvs-color-border-strong: #7c3aed}[data-brand=ruby][data-theme=light]{--bvs-color-brand: #ef4444;--bvs-color-brand-hover: #991b1b;--bvs-color-brand-active: #7f1d1d;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=ruby][data-theme=dark]{--bvs-color-brand: #f87171;--bvs-color-brand-hover: #ef4444;--bvs-color-brand-active: #991b1b;--bvs-color-surface: #140505;--bvs-color-surface-subtle: #2d0c0c;--bvs-color-surface-muted: #471515;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fecaca;--bvs-color-text-disabled: #991b1b;--bvs-color-border: #360f0f;--bvs-color-border-strong: #991b1b}:host{display:inline-flex;align-items:center;justify-content:center;font-family:var(--bvs-font-family-sans);font-weight:var(--bvs-font-weight-semibold);line-height:1;cursor:pointer;box-sizing:border-box;border:1px solid transparent;transition:background-color var(--bvs-transition-fast),color var(--bvs-transition-fast),border-color var(--bvs-transition-fast),transform var(--bvs-transition-fast),box-shadow var(--bvs-transition-fast);white-space:nowrap;text-decoration:none;vertical-align:middle}:host:disabled{cursor:not-allowed;background-color:var(--bvs-color-surface-muted)!important;color:var(--bvs-color-text-disabled)!important;border-color:var(--bvs-color-border)!important;transform:none!important;box-shadow:none!important;pointer-events:none}:host.btn-block{display:flex;width:100%}:host.btn-sm{padding:var(--bvs-space-1) var(--bvs-space-3);font-size:var(--bvs-font-size-xs);border-radius:var(--bvs-radius-full);min-height:1.75rem}:host.btn-md{padding:var(--bvs-space-3) var(--bvs-space-8);font-size:var(--bvs-font-size-sm);border-radius:var(--bvs-radius-full);min-height:2.5rem}:host.btn-lg{padding:var(--bvs-space-4) var(--bvs-space-10);font-size:var(--bvs-font-size-base);border-radius:var(--bvs-radius-full);min-height:3.5rem}:host.btn-primary{background-color:var(--bvs-color-brand);color:var(--bvs-color-neutral-0);border-color:transparent;box-shadow:var(--bvs-shadow-base)}:host.btn-primary:hover:not(:disabled){background-color:var(--bvs-color-brand-hover);transform:translateY(-2px);box-shadow:var(--bvs-shadow-md)}:host.btn-primary:active:not(:disabled){background-color:var(--bvs-color-brand-active);transform:translateY(0)}:host.btn-secondary{background:transparent;color:var(--bvs-color-brand);border-color:var(--bvs-color-brand);letter-spacing:.02em}:host.btn-secondary:hover:not(:disabled){background-color:var(--bvs-color-brand);color:var(--bvs-color-neutral-0);transform:translateY(-1px)}:host.btn-secondary:active:not(:disabled){transform:translateY(0)}:host.btn-danger{background-color:rgba(var(--bvs-color-error),.1);color:var(--bvs-color-error);border-color:var(--bvs-color-error)}:host.btn-danger:hover:not(:disabled){background-color:var(--bvs-color-error);color:var(--bvs-color-neutral-0)}:host.btn-ghost{background:transparent;color:var(--bvs-color-text-secondary);border-color:var(--bvs-color-border)}:host.btn-ghost:hover:not(:disabled){background-color:var(--bvs-color-surface-muted);color:var(--bvs-color-text-primary);border-color:var(--bvs-color-border-strong)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
153
+ }
154
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ButtonComponent, decorators: [{
155
+ type: Component,
156
+ args: [{ selector: '[bvs-button]', standalone: true, template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, host: {
157
+ '[class.btn]': 'true',
158
+ '[class.btn-primary]': "variant === 'primary'",
159
+ '[class.btn-secondary]': "variant === 'secondary'",
160
+ '[class.btn-danger]': "variant === 'danger'",
161
+ '[class.btn-ghost]': "variant === 'ghost'",
162
+ '[class.btn-sm]': "size === 'sm'",
163
+ '[class.btn-md]': "size === 'md'",
164
+ '[class.btn-lg]': "size === 'lg'",
165
+ '[class.btn-block]': 'block'
166
+ }, styles: [":root{--bvs-color-primary-50: #eff6ff;--bvs-color-primary-100: #dbeafe;--bvs-color-primary-200: #bfdbfe;--bvs-color-primary-300: #93c5fd;--bvs-color-primary-400: #60a5fa;--bvs-color-primary-500: #3b82f6;--bvs-color-primary-600: #2563eb;--bvs-color-primary-700: #1d4ed8;--bvs-color-primary-800: #1e40af;--bvs-color-primary-900: #1e3a8a;--bvs-color-secondary-50: #f5f3ff;--bvs-color-secondary-100: #ede9fe;--bvs-color-secondary-200: #ddd6fe;--bvs-color-secondary-300: #c4b5fd;--bvs-color-secondary-400: #a78bfa;--bvs-color-secondary-500: #8b5cf6;--bvs-color-secondary-600: #7c3aed;--bvs-color-secondary-700: #6d28d9;--bvs-color-secondary-800: #5b21b6;--bvs-color-secondary-900: #4c1d95;--bvs-color-neutral-0: #ffffff;--bvs-color-neutral-50: #f8fafc;--bvs-color-neutral-100: #f1f5f9;--bvs-color-neutral-200: #e2e8f0;--bvs-color-neutral-300: #cbd5e1;--bvs-color-neutral-400: #94a3b8;--bvs-color-neutral-500: #64748b;--bvs-color-neutral-600: #475569;--bvs-color-neutral-700: #334155;--bvs-color-neutral-800: #1e293b;--bvs-color-neutral-900: #0f172a;--bvs-color-neutral-950: #090d16;--bvs-color-neutral-1000: #000000;--bvs-color-success-light: #d1fae5;--bvs-color-success: #10b981;--bvs-color-success-dark: #065f46;--bvs-color-warning-light: #fef3c7;--bvs-color-warning: #f59e0b;--bvs-color-warning-dark: #92400e;--bvs-color-error-light: #fee2e2;--bvs-color-error: #ef4444;--bvs-color-error-dark: #991b1b;--bvs-color-info-light: #e0f2fe;--bvs-color-info: #0ea5e9;--bvs-color-info-dark: #075985;--bvs-space-0: 0;--bvs-space-1: .25rem;--bvs-space-2: .5rem;--bvs-space-3: .75rem;--bvs-space-4: 1rem;--bvs-space-5: 1.25rem;--bvs-space-6: 1.5rem;--bvs-space-8: 2rem;--bvs-space-10: 2.5rem;--bvs-space-12: 3rem;--bvs-space-16: 4rem;--bvs-space-20: 5rem;--bvs-space-24: 6rem;--bvs-font-size-xs: .75rem;--bvs-font-size-sm: .875rem;--bvs-font-size-base: 1rem;--bvs-font-size-lg: 1.125rem;--bvs-font-size-xl: 1.25rem;--bvs-font-size-2xl: 1.5rem;--bvs-font-size-3xl: 1.875rem;--bvs-font-size-4xl: 2.25rem;--bvs-font-weight-light: 300;--bvs-font-weight-regular: 400;--bvs-font-weight-medium: 500;--bvs-font-weight-semibold: 600;--bvs-font-weight-bold: 700;--bvs-line-height-tight: 1.25;--bvs-line-height-normal: 1.5;--bvs-line-height-loose: 1.75;--bvs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--bvs-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--bvs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--bvs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--bvs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--bvs-radius-none: 0;--bvs-radius-sm: .125rem;--bvs-radius-base: .25rem;--bvs-radius-md: .375rem;--bvs-radius-lg: .5rem;--bvs-radius-xl: .75rem;--bvs-radius-2xl: 1rem;--bvs-radius-full: 9999px;--bvs-breakpoint-sm: 640px;--bvs-breakpoint-md: 768px;--bvs-breakpoint-lg: 1024px;--bvs-breakpoint-xl: 1280px;--bvs-breakpoint-2xl: 1536px;--bvs-transition-fast: .15s ease-in-out;--bvs-transition-base: .2s ease-in-out;--bvs-transition-slow: .3s ease-in-out;--bvs-transition-slower: .5s ease-in-out;--bvs-z-dropdown: 1000;--bvs-z-sticky: 1020;--bvs-z-fixed: 1030;--bvs-z-modal: 1040;--bvs-z-popover: 1050;--bvs-z-tooltip: 1060;--bvs-z-toast: 1070;--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=light]{--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=dark]{--bvs-color-brand: #60a5fa;--bvs-color-brand-hover: #93c5fd;--bvs-color-brand-active: #bfdbfe;--bvs-color-surface: #090d16;--bvs-color-surface-subtle: #0f172a;--bvs-color-surface-muted: #1e293b;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #94a3b8;--bvs-color-text-disabled: #475569;--bvs-color-border: #0f172a;--bvs-color-border-strong: #334155}[data-brand=emerald][data-theme=light]{--bvs-color-brand: #10b981;--bvs-color-brand-hover: #065f46;--bvs-color-brand-active: #044331;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=emerald][data-theme=dark]{--bvs-color-brand: #34d399;--bvs-color-brand-hover: #10b981;--bvs-color-brand-active: #065f46;--bvs-color-surface: #03100b;--bvs-color-surface-subtle: #061f17;--bvs-color-surface-muted: #0c2d22;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #a7f3d0;--bvs-color-text-disabled: #065f46;--bvs-color-border: #0a261d;--bvs-color-border-strong: #065f46}[data-brand=sunset][data-theme=light]{--bvs-color-brand: #ea580c;--bvs-color-brand-hover: #c2410c;--bvs-color-brand-active: #9a3412;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=sunset][data-theme=dark]{--bvs-color-brand: #f97316;--bvs-color-brand-hover: #fb923c;--bvs-color-brand-active: #fdba74;--bvs-color-surface: #120905;--bvs-color-surface-subtle: #27140c;--bvs-color-surface-muted: #3d1d11;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fed7aa;--bvs-color-text-disabled: #9a3412;--bvs-color-border: #2b140b;--bvs-color-border-strong: #9a3412}[data-brand=amethyst][data-theme=light]{--bvs-color-brand: #7c3aed;--bvs-color-brand-hover: #6d28d9;--bvs-color-brand-active: #5b21b6;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=amethyst][data-theme=dark]{--bvs-color-brand: #a78bfa;--bvs-color-brand-hover: #c4b5fd;--bvs-color-brand-active: #ddd6fe;--bvs-color-surface: #0d0717;--bvs-color-surface-subtle: #1e1135;--bvs-color-surface-muted: #2e1b4e;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #ddd6fe;--bvs-color-text-disabled: #6d28d9;--bvs-color-border: #201138;--bvs-color-border-strong: #7c3aed}[data-brand=ruby][data-theme=light]{--bvs-color-brand: #ef4444;--bvs-color-brand-hover: #991b1b;--bvs-color-brand-active: #7f1d1d;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=ruby][data-theme=dark]{--bvs-color-brand: #f87171;--bvs-color-brand-hover: #ef4444;--bvs-color-brand-active: #991b1b;--bvs-color-surface: #140505;--bvs-color-surface-subtle: #2d0c0c;--bvs-color-surface-muted: #471515;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fecaca;--bvs-color-text-disabled: #991b1b;--bvs-color-border: #360f0f;--bvs-color-border-strong: #991b1b}:host{display:inline-flex;align-items:center;justify-content:center;font-family:var(--bvs-font-family-sans);font-weight:var(--bvs-font-weight-semibold);line-height:1;cursor:pointer;box-sizing:border-box;border:1px solid transparent;transition:background-color var(--bvs-transition-fast),color var(--bvs-transition-fast),border-color var(--bvs-transition-fast),transform var(--bvs-transition-fast),box-shadow var(--bvs-transition-fast);white-space:nowrap;text-decoration:none;vertical-align:middle}:host:disabled{cursor:not-allowed;background-color:var(--bvs-color-surface-muted)!important;color:var(--bvs-color-text-disabled)!important;border-color:var(--bvs-color-border)!important;transform:none!important;box-shadow:none!important;pointer-events:none}:host.btn-block{display:flex;width:100%}:host.btn-sm{padding:var(--bvs-space-1) var(--bvs-space-3);font-size:var(--bvs-font-size-xs);border-radius:var(--bvs-radius-full);min-height:1.75rem}:host.btn-md{padding:var(--bvs-space-3) var(--bvs-space-8);font-size:var(--bvs-font-size-sm);border-radius:var(--bvs-radius-full);min-height:2.5rem}:host.btn-lg{padding:var(--bvs-space-4) var(--bvs-space-10);font-size:var(--bvs-font-size-base);border-radius:var(--bvs-radius-full);min-height:3.5rem}:host.btn-primary{background-color:var(--bvs-color-brand);color:var(--bvs-color-neutral-0);border-color:transparent;box-shadow:var(--bvs-shadow-base)}:host.btn-primary:hover:not(:disabled){background-color:var(--bvs-color-brand-hover);transform:translateY(-2px);box-shadow:var(--bvs-shadow-md)}:host.btn-primary:active:not(:disabled){background-color:var(--bvs-color-brand-active);transform:translateY(0)}:host.btn-secondary{background:transparent;color:var(--bvs-color-brand);border-color:var(--bvs-color-brand);letter-spacing:.02em}:host.btn-secondary:hover:not(:disabled){background-color:var(--bvs-color-brand);color:var(--bvs-color-neutral-0);transform:translateY(-1px)}:host.btn-secondary:active:not(:disabled){transform:translateY(0)}:host.btn-danger{background-color:rgba(var(--bvs-color-error),.1);color:var(--bvs-color-error);border-color:var(--bvs-color-error)}:host.btn-danger:hover:not(:disabled){background-color:var(--bvs-color-error);color:var(--bvs-color-neutral-0)}:host.btn-ghost{background:transparent;color:var(--bvs-color-text-secondary);border-color:var(--bvs-color-border)}:host.btn-ghost:hover:not(:disabled){background-color:var(--bvs-color-surface-muted);color:var(--bvs-color-text-primary);border-color:var(--bvs-color-border-strong)}\n"] }]
167
+ }], propDecorators: { variant: [{
168
+ type: Input
169
+ }], size: [{
170
+ type: Input
171
+ }], block: [{
172
+ type: Input
173
+ }] } });
174
+
175
+ /**
176
+ * Card atom — provides a premium container for content.
177
+ */
178
+ class CardComponent {
179
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
180
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: CardComponent, isStandalone: true, selector: "[bvs-card]", host: { properties: { "class.bvs-card": "true" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":root{--bvs-color-primary-50: #eff6ff;--bvs-color-primary-100: #dbeafe;--bvs-color-primary-200: #bfdbfe;--bvs-color-primary-300: #93c5fd;--bvs-color-primary-400: #60a5fa;--bvs-color-primary-500: #3b82f6;--bvs-color-primary-600: #2563eb;--bvs-color-primary-700: #1d4ed8;--bvs-color-primary-800: #1e40af;--bvs-color-primary-900: #1e3a8a;--bvs-color-secondary-50: #f5f3ff;--bvs-color-secondary-100: #ede9fe;--bvs-color-secondary-200: #ddd6fe;--bvs-color-secondary-300: #c4b5fd;--bvs-color-secondary-400: #a78bfa;--bvs-color-secondary-500: #8b5cf6;--bvs-color-secondary-600: #7c3aed;--bvs-color-secondary-700: #6d28d9;--bvs-color-secondary-800: #5b21b6;--bvs-color-secondary-900: #4c1d95;--bvs-color-neutral-0: #ffffff;--bvs-color-neutral-50: #f8fafc;--bvs-color-neutral-100: #f1f5f9;--bvs-color-neutral-200: #e2e8f0;--bvs-color-neutral-300: #cbd5e1;--bvs-color-neutral-400: #94a3b8;--bvs-color-neutral-500: #64748b;--bvs-color-neutral-600: #475569;--bvs-color-neutral-700: #334155;--bvs-color-neutral-800: #1e293b;--bvs-color-neutral-900: #0f172a;--bvs-color-neutral-950: #090d16;--bvs-color-neutral-1000: #000000;--bvs-color-success-light: #d1fae5;--bvs-color-success: #10b981;--bvs-color-success-dark: #065f46;--bvs-color-warning-light: #fef3c7;--bvs-color-warning: #f59e0b;--bvs-color-warning-dark: #92400e;--bvs-color-error-light: #fee2e2;--bvs-color-error: #ef4444;--bvs-color-error-dark: #991b1b;--bvs-color-info-light: #e0f2fe;--bvs-color-info: #0ea5e9;--bvs-color-info-dark: #075985;--bvs-space-0: 0;--bvs-space-1: .25rem;--bvs-space-2: .5rem;--bvs-space-3: .75rem;--bvs-space-4: 1rem;--bvs-space-5: 1.25rem;--bvs-space-6: 1.5rem;--bvs-space-8: 2rem;--bvs-space-10: 2.5rem;--bvs-space-12: 3rem;--bvs-space-16: 4rem;--bvs-space-20: 5rem;--bvs-space-24: 6rem;--bvs-font-size-xs: .75rem;--bvs-font-size-sm: .875rem;--bvs-font-size-base: 1rem;--bvs-font-size-lg: 1.125rem;--bvs-font-size-xl: 1.25rem;--bvs-font-size-2xl: 1.5rem;--bvs-font-size-3xl: 1.875rem;--bvs-font-size-4xl: 2.25rem;--bvs-font-weight-light: 300;--bvs-font-weight-regular: 400;--bvs-font-weight-medium: 500;--bvs-font-weight-semibold: 600;--bvs-font-weight-bold: 700;--bvs-line-height-tight: 1.25;--bvs-line-height-normal: 1.5;--bvs-line-height-loose: 1.75;--bvs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--bvs-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--bvs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--bvs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--bvs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--bvs-radius-none: 0;--bvs-radius-sm: .125rem;--bvs-radius-base: .25rem;--bvs-radius-md: .375rem;--bvs-radius-lg: .5rem;--bvs-radius-xl: .75rem;--bvs-radius-2xl: 1rem;--bvs-radius-full: 9999px;--bvs-breakpoint-sm: 640px;--bvs-breakpoint-md: 768px;--bvs-breakpoint-lg: 1024px;--bvs-breakpoint-xl: 1280px;--bvs-breakpoint-2xl: 1536px;--bvs-transition-fast: .15s ease-in-out;--bvs-transition-base: .2s ease-in-out;--bvs-transition-slow: .3s ease-in-out;--bvs-transition-slower: .5s ease-in-out;--bvs-z-dropdown: 1000;--bvs-z-sticky: 1020;--bvs-z-fixed: 1030;--bvs-z-modal: 1040;--bvs-z-popover: 1050;--bvs-z-tooltip: 1060;--bvs-z-toast: 1070;--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=light]{--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=dark]{--bvs-color-brand: #60a5fa;--bvs-color-brand-hover: #93c5fd;--bvs-color-brand-active: #bfdbfe;--bvs-color-surface: #090d16;--bvs-color-surface-subtle: #0f172a;--bvs-color-surface-muted: #1e293b;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #94a3b8;--bvs-color-text-disabled: #475569;--bvs-color-border: #0f172a;--bvs-color-border-strong: #334155}[data-brand=emerald][data-theme=light]{--bvs-color-brand: #10b981;--bvs-color-brand-hover: #065f46;--bvs-color-brand-active: #044331;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=emerald][data-theme=dark]{--bvs-color-brand: #34d399;--bvs-color-brand-hover: #10b981;--bvs-color-brand-active: #065f46;--bvs-color-surface: #03100b;--bvs-color-surface-subtle: #061f17;--bvs-color-surface-muted: #0c2d22;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #a7f3d0;--bvs-color-text-disabled: #065f46;--bvs-color-border: #0a261d;--bvs-color-border-strong: #065f46}[data-brand=sunset][data-theme=light]{--bvs-color-brand: #ea580c;--bvs-color-brand-hover: #c2410c;--bvs-color-brand-active: #9a3412;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=sunset][data-theme=dark]{--bvs-color-brand: #f97316;--bvs-color-brand-hover: #fb923c;--bvs-color-brand-active: #fdba74;--bvs-color-surface: #120905;--bvs-color-surface-subtle: #27140c;--bvs-color-surface-muted: #3d1d11;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fed7aa;--bvs-color-text-disabled: #9a3412;--bvs-color-border: #2b140b;--bvs-color-border-strong: #9a3412}[data-brand=amethyst][data-theme=light]{--bvs-color-brand: #7c3aed;--bvs-color-brand-hover: #6d28d9;--bvs-color-brand-active: #5b21b6;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=amethyst][data-theme=dark]{--bvs-color-brand: #a78bfa;--bvs-color-brand-hover: #c4b5fd;--bvs-color-brand-active: #ddd6fe;--bvs-color-surface: #0d0717;--bvs-color-surface-subtle: #1e1135;--bvs-color-surface-muted: #2e1b4e;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #ddd6fe;--bvs-color-text-disabled: #6d28d9;--bvs-color-border: #201138;--bvs-color-border-strong: #7c3aed}[data-brand=ruby][data-theme=light]{--bvs-color-brand: #ef4444;--bvs-color-brand-hover: #991b1b;--bvs-color-brand-active: #7f1d1d;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=ruby][data-theme=dark]{--bvs-color-brand: #f87171;--bvs-color-brand-hover: #ef4444;--bvs-color-brand-active: #991b1b;--bvs-color-surface: #140505;--bvs-color-surface-subtle: #2d0c0c;--bvs-color-surface-muted: #471515;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fecaca;--bvs-color-text-disabled: #991b1b;--bvs-color-border: #360f0f;--bvs-color-border-strong: #991b1b}:host{display:block;position:relative;z-index:5;background-color:color-mix(in srgb,var(--bvs-color-surface) 75%,transparent);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid var(--bvs-color-border);border-radius:var(--bvs-radius-lg);padding:var(--bvs-space-8);box-shadow:var(--bvs-shadow-xl);width:100%;max-width:420px;margin:0 auto;color:var(--bvs-color-text-primary);transition:background-color var(--bvs-transition-base),border-color var(--bvs-transition-base),color var(--bvs-transition-base),box-shadow var(--bvs-transition-base)}:host-context([data-theme=dark]){background-color:color-mix(in srgb,var(--bvs-color-surface) 25%,transparent);border-color:#ffffff14}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
181
+ }
182
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CardComponent, decorators: [{
183
+ type: Component,
184
+ args: [{ selector: '[bvs-card]', standalone: true, template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, host: {
185
+ '[class.bvs-card]': 'true'
186
+ }, styles: [":root{--bvs-color-primary-50: #eff6ff;--bvs-color-primary-100: #dbeafe;--bvs-color-primary-200: #bfdbfe;--bvs-color-primary-300: #93c5fd;--bvs-color-primary-400: #60a5fa;--bvs-color-primary-500: #3b82f6;--bvs-color-primary-600: #2563eb;--bvs-color-primary-700: #1d4ed8;--bvs-color-primary-800: #1e40af;--bvs-color-primary-900: #1e3a8a;--bvs-color-secondary-50: #f5f3ff;--bvs-color-secondary-100: #ede9fe;--bvs-color-secondary-200: #ddd6fe;--bvs-color-secondary-300: #c4b5fd;--bvs-color-secondary-400: #a78bfa;--bvs-color-secondary-500: #8b5cf6;--bvs-color-secondary-600: #7c3aed;--bvs-color-secondary-700: #6d28d9;--bvs-color-secondary-800: #5b21b6;--bvs-color-secondary-900: #4c1d95;--bvs-color-neutral-0: #ffffff;--bvs-color-neutral-50: #f8fafc;--bvs-color-neutral-100: #f1f5f9;--bvs-color-neutral-200: #e2e8f0;--bvs-color-neutral-300: #cbd5e1;--bvs-color-neutral-400: #94a3b8;--bvs-color-neutral-500: #64748b;--bvs-color-neutral-600: #475569;--bvs-color-neutral-700: #334155;--bvs-color-neutral-800: #1e293b;--bvs-color-neutral-900: #0f172a;--bvs-color-neutral-950: #090d16;--bvs-color-neutral-1000: #000000;--bvs-color-success-light: #d1fae5;--bvs-color-success: #10b981;--bvs-color-success-dark: #065f46;--bvs-color-warning-light: #fef3c7;--bvs-color-warning: #f59e0b;--bvs-color-warning-dark: #92400e;--bvs-color-error-light: #fee2e2;--bvs-color-error: #ef4444;--bvs-color-error-dark: #991b1b;--bvs-color-info-light: #e0f2fe;--bvs-color-info: #0ea5e9;--bvs-color-info-dark: #075985;--bvs-space-0: 0;--bvs-space-1: .25rem;--bvs-space-2: .5rem;--bvs-space-3: .75rem;--bvs-space-4: 1rem;--bvs-space-5: 1.25rem;--bvs-space-6: 1.5rem;--bvs-space-8: 2rem;--bvs-space-10: 2.5rem;--bvs-space-12: 3rem;--bvs-space-16: 4rem;--bvs-space-20: 5rem;--bvs-space-24: 6rem;--bvs-font-size-xs: .75rem;--bvs-font-size-sm: .875rem;--bvs-font-size-base: 1rem;--bvs-font-size-lg: 1.125rem;--bvs-font-size-xl: 1.25rem;--bvs-font-size-2xl: 1.5rem;--bvs-font-size-3xl: 1.875rem;--bvs-font-size-4xl: 2.25rem;--bvs-font-weight-light: 300;--bvs-font-weight-regular: 400;--bvs-font-weight-medium: 500;--bvs-font-weight-semibold: 600;--bvs-font-weight-bold: 700;--bvs-line-height-tight: 1.25;--bvs-line-height-normal: 1.5;--bvs-line-height-loose: 1.75;--bvs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--bvs-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--bvs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--bvs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--bvs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--bvs-radius-none: 0;--bvs-radius-sm: .125rem;--bvs-radius-base: .25rem;--bvs-radius-md: .375rem;--bvs-radius-lg: .5rem;--bvs-radius-xl: .75rem;--bvs-radius-2xl: 1rem;--bvs-radius-full: 9999px;--bvs-breakpoint-sm: 640px;--bvs-breakpoint-md: 768px;--bvs-breakpoint-lg: 1024px;--bvs-breakpoint-xl: 1280px;--bvs-breakpoint-2xl: 1536px;--bvs-transition-fast: .15s ease-in-out;--bvs-transition-base: .2s ease-in-out;--bvs-transition-slow: .3s ease-in-out;--bvs-transition-slower: .5s ease-in-out;--bvs-z-dropdown: 1000;--bvs-z-sticky: 1020;--bvs-z-fixed: 1030;--bvs-z-modal: 1040;--bvs-z-popover: 1050;--bvs-z-tooltip: 1060;--bvs-z-toast: 1070;--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=light]{--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=dark]{--bvs-color-brand: #60a5fa;--bvs-color-brand-hover: #93c5fd;--bvs-color-brand-active: #bfdbfe;--bvs-color-surface: #090d16;--bvs-color-surface-subtle: #0f172a;--bvs-color-surface-muted: #1e293b;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #94a3b8;--bvs-color-text-disabled: #475569;--bvs-color-border: #0f172a;--bvs-color-border-strong: #334155}[data-brand=emerald][data-theme=light]{--bvs-color-brand: #10b981;--bvs-color-brand-hover: #065f46;--bvs-color-brand-active: #044331;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=emerald][data-theme=dark]{--bvs-color-brand: #34d399;--bvs-color-brand-hover: #10b981;--bvs-color-brand-active: #065f46;--bvs-color-surface: #03100b;--bvs-color-surface-subtle: #061f17;--bvs-color-surface-muted: #0c2d22;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #a7f3d0;--bvs-color-text-disabled: #065f46;--bvs-color-border: #0a261d;--bvs-color-border-strong: #065f46}[data-brand=sunset][data-theme=light]{--bvs-color-brand: #ea580c;--bvs-color-brand-hover: #c2410c;--bvs-color-brand-active: #9a3412;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=sunset][data-theme=dark]{--bvs-color-brand: #f97316;--bvs-color-brand-hover: #fb923c;--bvs-color-brand-active: #fdba74;--bvs-color-surface: #120905;--bvs-color-surface-subtle: #27140c;--bvs-color-surface-muted: #3d1d11;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fed7aa;--bvs-color-text-disabled: #9a3412;--bvs-color-border: #2b140b;--bvs-color-border-strong: #9a3412}[data-brand=amethyst][data-theme=light]{--bvs-color-brand: #7c3aed;--bvs-color-brand-hover: #6d28d9;--bvs-color-brand-active: #5b21b6;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=amethyst][data-theme=dark]{--bvs-color-brand: #a78bfa;--bvs-color-brand-hover: #c4b5fd;--bvs-color-brand-active: #ddd6fe;--bvs-color-surface: #0d0717;--bvs-color-surface-subtle: #1e1135;--bvs-color-surface-muted: #2e1b4e;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #ddd6fe;--bvs-color-text-disabled: #6d28d9;--bvs-color-border: #201138;--bvs-color-border-strong: #7c3aed}[data-brand=ruby][data-theme=light]{--bvs-color-brand: #ef4444;--bvs-color-brand-hover: #991b1b;--bvs-color-brand-active: #7f1d1d;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=ruby][data-theme=dark]{--bvs-color-brand: #f87171;--bvs-color-brand-hover: #ef4444;--bvs-color-brand-active: #991b1b;--bvs-color-surface: #140505;--bvs-color-surface-subtle: #2d0c0c;--bvs-color-surface-muted: #471515;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fecaca;--bvs-color-text-disabled: #991b1b;--bvs-color-border: #360f0f;--bvs-color-border-strong: #991b1b}:host{display:block;position:relative;z-index:5;background-color:color-mix(in srgb,var(--bvs-color-surface) 75%,transparent);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid var(--bvs-color-border);border-radius:var(--bvs-radius-lg);padding:var(--bvs-space-8);box-shadow:var(--bvs-shadow-xl);width:100%;max-width:420px;margin:0 auto;color:var(--bvs-color-text-primary);transition:background-color var(--bvs-transition-base),border-color var(--bvs-transition-base),color var(--bvs-transition-base),box-shadow var(--bvs-transition-base)}:host-context([data-theme=dark]){background-color:color-mix(in srgb,var(--bvs-color-surface) 25%,transparent);border-color:#ffffff14}\n"] }]
187
+ }] });
188
+
189
+ /**
190
+ * Message atom — provides standard feedback messages.
191
+ */
192
+ class MessageComponent {
193
+ /** Color variant matching the feedback status. */
194
+ color = 'neutral';
195
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: MessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
196
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: MessageComponent, isStandalone: true, selector: "[bvs-message]", inputs: { color: "color" }, host: { properties: { "class.bvs-message": "true", "class.bvs-message-neutral": "color === 'neutral'", "class.bvs-message-danger": "color === 'danger'", "class.bvs-message-warning": "color === 'warning'", "class.bvs-message-info": "color === 'info'", "class.bvs-message-success": "color === 'success'" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":root{--bvs-color-primary-50: #eff6ff;--bvs-color-primary-100: #dbeafe;--bvs-color-primary-200: #bfdbfe;--bvs-color-primary-300: #93c5fd;--bvs-color-primary-400: #60a5fa;--bvs-color-primary-500: #3b82f6;--bvs-color-primary-600: #2563eb;--bvs-color-primary-700: #1d4ed8;--bvs-color-primary-800: #1e40af;--bvs-color-primary-900: #1e3a8a;--bvs-color-secondary-50: #f5f3ff;--bvs-color-secondary-100: #ede9fe;--bvs-color-secondary-200: #ddd6fe;--bvs-color-secondary-300: #c4b5fd;--bvs-color-secondary-400: #a78bfa;--bvs-color-secondary-500: #8b5cf6;--bvs-color-secondary-600: #7c3aed;--bvs-color-secondary-700: #6d28d9;--bvs-color-secondary-800: #5b21b6;--bvs-color-secondary-900: #4c1d95;--bvs-color-neutral-0: #ffffff;--bvs-color-neutral-50: #f8fafc;--bvs-color-neutral-100: #f1f5f9;--bvs-color-neutral-200: #e2e8f0;--bvs-color-neutral-300: #cbd5e1;--bvs-color-neutral-400: #94a3b8;--bvs-color-neutral-500: #64748b;--bvs-color-neutral-600: #475569;--bvs-color-neutral-700: #334155;--bvs-color-neutral-800: #1e293b;--bvs-color-neutral-900: #0f172a;--bvs-color-neutral-950: #090d16;--bvs-color-neutral-1000: #000000;--bvs-color-success-light: #d1fae5;--bvs-color-success: #10b981;--bvs-color-success-dark: #065f46;--bvs-color-warning-light: #fef3c7;--bvs-color-warning: #f59e0b;--bvs-color-warning-dark: #92400e;--bvs-color-error-light: #fee2e2;--bvs-color-error: #ef4444;--bvs-color-error-dark: #991b1b;--bvs-color-info-light: #e0f2fe;--bvs-color-info: #0ea5e9;--bvs-color-info-dark: #075985;--bvs-space-0: 0;--bvs-space-1: .25rem;--bvs-space-2: .5rem;--bvs-space-3: .75rem;--bvs-space-4: 1rem;--bvs-space-5: 1.25rem;--bvs-space-6: 1.5rem;--bvs-space-8: 2rem;--bvs-space-10: 2.5rem;--bvs-space-12: 3rem;--bvs-space-16: 4rem;--bvs-space-20: 5rem;--bvs-space-24: 6rem;--bvs-font-size-xs: .75rem;--bvs-font-size-sm: .875rem;--bvs-font-size-base: 1rem;--bvs-font-size-lg: 1.125rem;--bvs-font-size-xl: 1.25rem;--bvs-font-size-2xl: 1.5rem;--bvs-font-size-3xl: 1.875rem;--bvs-font-size-4xl: 2.25rem;--bvs-font-weight-light: 300;--bvs-font-weight-regular: 400;--bvs-font-weight-medium: 500;--bvs-font-weight-semibold: 600;--bvs-font-weight-bold: 700;--bvs-line-height-tight: 1.25;--bvs-line-height-normal: 1.5;--bvs-line-height-loose: 1.75;--bvs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--bvs-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--bvs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--bvs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--bvs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--bvs-radius-none: 0;--bvs-radius-sm: .125rem;--bvs-radius-base: .25rem;--bvs-radius-md: .375rem;--bvs-radius-lg: .5rem;--bvs-radius-xl: .75rem;--bvs-radius-2xl: 1rem;--bvs-radius-full: 9999px;--bvs-breakpoint-sm: 640px;--bvs-breakpoint-md: 768px;--bvs-breakpoint-lg: 1024px;--bvs-breakpoint-xl: 1280px;--bvs-breakpoint-2xl: 1536px;--bvs-transition-fast: .15s ease-in-out;--bvs-transition-base: .2s ease-in-out;--bvs-transition-slow: .3s ease-in-out;--bvs-transition-slower: .5s ease-in-out;--bvs-z-dropdown: 1000;--bvs-z-sticky: 1020;--bvs-z-fixed: 1030;--bvs-z-modal: 1040;--bvs-z-popover: 1050;--bvs-z-tooltip: 1060;--bvs-z-toast: 1070;--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=light]{--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=dark]{--bvs-color-brand: #60a5fa;--bvs-color-brand-hover: #93c5fd;--bvs-color-brand-active: #bfdbfe;--bvs-color-surface: #090d16;--bvs-color-surface-subtle: #0f172a;--bvs-color-surface-muted: #1e293b;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #94a3b8;--bvs-color-text-disabled: #475569;--bvs-color-border: #0f172a;--bvs-color-border-strong: #334155}[data-brand=emerald][data-theme=light]{--bvs-color-brand: #10b981;--bvs-color-brand-hover: #065f46;--bvs-color-brand-active: #044331;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=emerald][data-theme=dark]{--bvs-color-brand: #34d399;--bvs-color-brand-hover: #10b981;--bvs-color-brand-active: #065f46;--bvs-color-surface: #03100b;--bvs-color-surface-subtle: #061f17;--bvs-color-surface-muted: #0c2d22;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #a7f3d0;--bvs-color-text-disabled: #065f46;--bvs-color-border: #0a261d;--bvs-color-border-strong: #065f46}[data-brand=sunset][data-theme=light]{--bvs-color-brand: #ea580c;--bvs-color-brand-hover: #c2410c;--bvs-color-brand-active: #9a3412;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=sunset][data-theme=dark]{--bvs-color-brand: #f97316;--bvs-color-brand-hover: #fb923c;--bvs-color-brand-active: #fdba74;--bvs-color-surface: #120905;--bvs-color-surface-subtle: #27140c;--bvs-color-surface-muted: #3d1d11;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fed7aa;--bvs-color-text-disabled: #9a3412;--bvs-color-border: #2b140b;--bvs-color-border-strong: #9a3412}[data-brand=amethyst][data-theme=light]{--bvs-color-brand: #7c3aed;--bvs-color-brand-hover: #6d28d9;--bvs-color-brand-active: #5b21b6;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=amethyst][data-theme=dark]{--bvs-color-brand: #a78bfa;--bvs-color-brand-hover: #c4b5fd;--bvs-color-brand-active: #ddd6fe;--bvs-color-surface: #0d0717;--bvs-color-surface-subtle: #1e1135;--bvs-color-surface-muted: #2e1b4e;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #ddd6fe;--bvs-color-text-disabled: #6d28d9;--bvs-color-border: #201138;--bvs-color-border-strong: #7c3aed}[data-brand=ruby][data-theme=light]{--bvs-color-brand: #ef4444;--bvs-color-brand-hover: #991b1b;--bvs-color-brand-active: #7f1d1d;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=ruby][data-theme=dark]{--bvs-color-brand: #f87171;--bvs-color-brand-hover: #ef4444;--bvs-color-brand-active: #991b1b;--bvs-color-surface: #140505;--bvs-color-surface-subtle: #2d0c0c;--bvs-color-surface-muted: #471515;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fecaca;--bvs-color-text-disabled: #991b1b;--bvs-color-border: #360f0f;--bvs-color-border-strong: #991b1b}:host{display:block;padding:var(--bvs-space-3) var(--bvs-space-4);border-radius:var(--bvs-radius-md);font-family:var(--bvs-font-family-sans);font-size:var(--bvs-font-size-sm);font-weight:var(--bvs-font-weight-medium);line-height:1.5;transition:all var(--bvs-transition-fast);box-sizing:border-box;border:1px solid transparent}:host.bvs-message-neutral{background-color:var(--bvs-color-surface-muted);color:var(--bvs-color-text-secondary);border-color:var(--bvs-color-border)}:host.bvs-message-danger{background-color:#fee2e2;color:#991b1b;border-color:#fca5a5}:host.bvs-message-warning{background-color:#fef3c7;color:#92400e;border-color:#fcd34d}:host.bvs-message-info{background-color:#e0f2fe;color:#075985;border-color:#7dd3fc}:host.bvs-message-success{background-color:#d1fae5;color:#065f46;border-color:#6ee7b7}:host-context([data-theme=dark]).bvs-message-neutral{background-color:#ffffff0f;color:var(--bvs-color-text-secondary);border-color:var(--bvs-color-border)}:host-context([data-theme=dark]).bvs-message-danger{background-color:#ef44441f;color:#f87171;border-color:#ef444440}:host-context([data-theme=dark]).bvs-message-warning{background-color:#f59e0b1f;color:#fbbf24;border-color:#f59e0b40}:host-context([data-theme=dark]).bvs-message-info{background-color:#0ea5e91f;color:#38bdf8;border-color:#0ea5e940}:host-context([data-theme=dark]).bvs-message-success{background-color:#10b9811f;color:#34d399;border-color:#10b98140}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
197
+ }
198
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: MessageComponent, decorators: [{
199
+ type: Component,
200
+ args: [{ selector: '[bvs-message]', standalone: true, template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, host: {
201
+ '[class.bvs-message]': 'true',
202
+ '[class.bvs-message-neutral]': "color === 'neutral'",
203
+ '[class.bvs-message-danger]': "color === 'danger'",
204
+ '[class.bvs-message-warning]': "color === 'warning'",
205
+ '[class.bvs-message-info]': "color === 'info'",
206
+ '[class.bvs-message-success]': "color === 'success'"
207
+ }, styles: [":root{--bvs-color-primary-50: #eff6ff;--bvs-color-primary-100: #dbeafe;--bvs-color-primary-200: #bfdbfe;--bvs-color-primary-300: #93c5fd;--bvs-color-primary-400: #60a5fa;--bvs-color-primary-500: #3b82f6;--bvs-color-primary-600: #2563eb;--bvs-color-primary-700: #1d4ed8;--bvs-color-primary-800: #1e40af;--bvs-color-primary-900: #1e3a8a;--bvs-color-secondary-50: #f5f3ff;--bvs-color-secondary-100: #ede9fe;--bvs-color-secondary-200: #ddd6fe;--bvs-color-secondary-300: #c4b5fd;--bvs-color-secondary-400: #a78bfa;--bvs-color-secondary-500: #8b5cf6;--bvs-color-secondary-600: #7c3aed;--bvs-color-secondary-700: #6d28d9;--bvs-color-secondary-800: #5b21b6;--bvs-color-secondary-900: #4c1d95;--bvs-color-neutral-0: #ffffff;--bvs-color-neutral-50: #f8fafc;--bvs-color-neutral-100: #f1f5f9;--bvs-color-neutral-200: #e2e8f0;--bvs-color-neutral-300: #cbd5e1;--bvs-color-neutral-400: #94a3b8;--bvs-color-neutral-500: #64748b;--bvs-color-neutral-600: #475569;--bvs-color-neutral-700: #334155;--bvs-color-neutral-800: #1e293b;--bvs-color-neutral-900: #0f172a;--bvs-color-neutral-950: #090d16;--bvs-color-neutral-1000: #000000;--bvs-color-success-light: #d1fae5;--bvs-color-success: #10b981;--bvs-color-success-dark: #065f46;--bvs-color-warning-light: #fef3c7;--bvs-color-warning: #f59e0b;--bvs-color-warning-dark: #92400e;--bvs-color-error-light: #fee2e2;--bvs-color-error: #ef4444;--bvs-color-error-dark: #991b1b;--bvs-color-info-light: #e0f2fe;--bvs-color-info: #0ea5e9;--bvs-color-info-dark: #075985;--bvs-space-0: 0;--bvs-space-1: .25rem;--bvs-space-2: .5rem;--bvs-space-3: .75rem;--bvs-space-4: 1rem;--bvs-space-5: 1.25rem;--bvs-space-6: 1.5rem;--bvs-space-8: 2rem;--bvs-space-10: 2.5rem;--bvs-space-12: 3rem;--bvs-space-16: 4rem;--bvs-space-20: 5rem;--bvs-space-24: 6rem;--bvs-font-size-xs: .75rem;--bvs-font-size-sm: .875rem;--bvs-font-size-base: 1rem;--bvs-font-size-lg: 1.125rem;--bvs-font-size-xl: 1.25rem;--bvs-font-size-2xl: 1.5rem;--bvs-font-size-3xl: 1.875rem;--bvs-font-size-4xl: 2.25rem;--bvs-font-weight-light: 300;--bvs-font-weight-regular: 400;--bvs-font-weight-medium: 500;--bvs-font-weight-semibold: 600;--bvs-font-weight-bold: 700;--bvs-line-height-tight: 1.25;--bvs-line-height-normal: 1.5;--bvs-line-height-loose: 1.75;--bvs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--bvs-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--bvs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--bvs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--bvs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--bvs-radius-none: 0;--bvs-radius-sm: .125rem;--bvs-radius-base: .25rem;--bvs-radius-md: .375rem;--bvs-radius-lg: .5rem;--bvs-radius-xl: .75rem;--bvs-radius-2xl: 1rem;--bvs-radius-full: 9999px;--bvs-breakpoint-sm: 640px;--bvs-breakpoint-md: 768px;--bvs-breakpoint-lg: 1024px;--bvs-breakpoint-xl: 1280px;--bvs-breakpoint-2xl: 1536px;--bvs-transition-fast: .15s ease-in-out;--bvs-transition-base: .2s ease-in-out;--bvs-transition-slow: .3s ease-in-out;--bvs-transition-slower: .5s ease-in-out;--bvs-z-dropdown: 1000;--bvs-z-sticky: 1020;--bvs-z-fixed: 1030;--bvs-z-modal: 1040;--bvs-z-popover: 1050;--bvs-z-tooltip: 1060;--bvs-z-toast: 1070;--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=light]{--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=dark]{--bvs-color-brand: #60a5fa;--bvs-color-brand-hover: #93c5fd;--bvs-color-brand-active: #bfdbfe;--bvs-color-surface: #090d16;--bvs-color-surface-subtle: #0f172a;--bvs-color-surface-muted: #1e293b;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #94a3b8;--bvs-color-text-disabled: #475569;--bvs-color-border: #0f172a;--bvs-color-border-strong: #334155}[data-brand=emerald][data-theme=light]{--bvs-color-brand: #10b981;--bvs-color-brand-hover: #065f46;--bvs-color-brand-active: #044331;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=emerald][data-theme=dark]{--bvs-color-brand: #34d399;--bvs-color-brand-hover: #10b981;--bvs-color-brand-active: #065f46;--bvs-color-surface: #03100b;--bvs-color-surface-subtle: #061f17;--bvs-color-surface-muted: #0c2d22;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #a7f3d0;--bvs-color-text-disabled: #065f46;--bvs-color-border: #0a261d;--bvs-color-border-strong: #065f46}[data-brand=sunset][data-theme=light]{--bvs-color-brand: #ea580c;--bvs-color-brand-hover: #c2410c;--bvs-color-brand-active: #9a3412;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=sunset][data-theme=dark]{--bvs-color-brand: #f97316;--bvs-color-brand-hover: #fb923c;--bvs-color-brand-active: #fdba74;--bvs-color-surface: #120905;--bvs-color-surface-subtle: #27140c;--bvs-color-surface-muted: #3d1d11;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fed7aa;--bvs-color-text-disabled: #9a3412;--bvs-color-border: #2b140b;--bvs-color-border-strong: #9a3412}[data-brand=amethyst][data-theme=light]{--bvs-color-brand: #7c3aed;--bvs-color-brand-hover: #6d28d9;--bvs-color-brand-active: #5b21b6;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=amethyst][data-theme=dark]{--bvs-color-brand: #a78bfa;--bvs-color-brand-hover: #c4b5fd;--bvs-color-brand-active: #ddd6fe;--bvs-color-surface: #0d0717;--bvs-color-surface-subtle: #1e1135;--bvs-color-surface-muted: #2e1b4e;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #ddd6fe;--bvs-color-text-disabled: #6d28d9;--bvs-color-border: #201138;--bvs-color-border-strong: #7c3aed}[data-brand=ruby][data-theme=light]{--bvs-color-brand: #ef4444;--bvs-color-brand-hover: #991b1b;--bvs-color-brand-active: #7f1d1d;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=ruby][data-theme=dark]{--bvs-color-brand: #f87171;--bvs-color-brand-hover: #ef4444;--bvs-color-brand-active: #991b1b;--bvs-color-surface: #140505;--bvs-color-surface-subtle: #2d0c0c;--bvs-color-surface-muted: #471515;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fecaca;--bvs-color-text-disabled: #991b1b;--bvs-color-border: #360f0f;--bvs-color-border-strong: #991b1b}:host{display:block;padding:var(--bvs-space-3) var(--bvs-space-4);border-radius:var(--bvs-radius-md);font-family:var(--bvs-font-family-sans);font-size:var(--bvs-font-size-sm);font-weight:var(--bvs-font-weight-medium);line-height:1.5;transition:all var(--bvs-transition-fast);box-sizing:border-box;border:1px solid transparent}:host.bvs-message-neutral{background-color:var(--bvs-color-surface-muted);color:var(--bvs-color-text-secondary);border-color:var(--bvs-color-border)}:host.bvs-message-danger{background-color:#fee2e2;color:#991b1b;border-color:#fca5a5}:host.bvs-message-warning{background-color:#fef3c7;color:#92400e;border-color:#fcd34d}:host.bvs-message-info{background-color:#e0f2fe;color:#075985;border-color:#7dd3fc}:host.bvs-message-success{background-color:#d1fae5;color:#065f46;border-color:#6ee7b7}:host-context([data-theme=dark]).bvs-message-neutral{background-color:#ffffff0f;color:var(--bvs-color-text-secondary);border-color:var(--bvs-color-border)}:host-context([data-theme=dark]).bvs-message-danger{background-color:#ef44441f;color:#f87171;border-color:#ef444440}:host-context([data-theme=dark]).bvs-message-warning{background-color:#f59e0b1f;color:#fbbf24;border-color:#f59e0b40}:host-context([data-theme=dark]).bvs-message-info{background-color:#0ea5e91f;color:#38bdf8;border-color:#0ea5e940}:host-context([data-theme=dark]).bvs-message-success{background-color:#10b9811f;color:#34d399;border-color:#10b98140}\n"] }]
208
+ }], propDecorators: { color: [{
209
+ type: Input
210
+ }] } });
211
+
212
+ /**
213
+ * Input atom — generic and reusable input component.
214
+ */
215
+ class InputComponent {
216
+ /** Semantic variant. */
217
+ variant = 'primary';
218
+ /** Size variant. */
219
+ size = 'md';
220
+ /** Whether the input takes full width. */
221
+ block = false;
222
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
223
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: InputComponent, isStandalone: true, selector: "input[bvs-input], textarea[bvs-input]", inputs: { variant: "variant", size: "size", block: "block" }, host: { properties: { "class.bvs-input": "true", "class.input-primary": "variant === 'primary'", "class.input-secondary": "variant === 'secondary'", "class.input-danger": "variant === 'danger'", "class.input-sm": "size === 'sm'", "class.input-md": "size === 'md'", "class.input-lg": "size === 'lg'", "class.input-block": "block" } }, ngImport: i0, template: '', isInline: true, styles: [":root{--bvs-color-primary-50: #eff6ff;--bvs-color-primary-100: #dbeafe;--bvs-color-primary-200: #bfdbfe;--bvs-color-primary-300: #93c5fd;--bvs-color-primary-400: #60a5fa;--bvs-color-primary-500: #3b82f6;--bvs-color-primary-600: #2563eb;--bvs-color-primary-700: #1d4ed8;--bvs-color-primary-800: #1e40af;--bvs-color-primary-900: #1e3a8a;--bvs-color-secondary-50: #f5f3ff;--bvs-color-secondary-100: #ede9fe;--bvs-color-secondary-200: #ddd6fe;--bvs-color-secondary-300: #c4b5fd;--bvs-color-secondary-400: #a78bfa;--bvs-color-secondary-500: #8b5cf6;--bvs-color-secondary-600: #7c3aed;--bvs-color-secondary-700: #6d28d9;--bvs-color-secondary-800: #5b21b6;--bvs-color-secondary-900: #4c1d95;--bvs-color-neutral-0: #ffffff;--bvs-color-neutral-50: #f8fafc;--bvs-color-neutral-100: #f1f5f9;--bvs-color-neutral-200: #e2e8f0;--bvs-color-neutral-300: #cbd5e1;--bvs-color-neutral-400: #94a3b8;--bvs-color-neutral-500: #64748b;--bvs-color-neutral-600: #475569;--bvs-color-neutral-700: #334155;--bvs-color-neutral-800: #1e293b;--bvs-color-neutral-900: #0f172a;--bvs-color-neutral-950: #090d16;--bvs-color-neutral-1000: #000000;--bvs-color-success-light: #d1fae5;--bvs-color-success: #10b981;--bvs-color-success-dark: #065f46;--bvs-color-warning-light: #fef3c7;--bvs-color-warning: #f59e0b;--bvs-color-warning-dark: #92400e;--bvs-color-error-light: #fee2e2;--bvs-color-error: #ef4444;--bvs-color-error-dark: #991b1b;--bvs-color-info-light: #e0f2fe;--bvs-color-info: #0ea5e9;--bvs-color-info-dark: #075985;--bvs-space-0: 0;--bvs-space-1: .25rem;--bvs-space-2: .5rem;--bvs-space-3: .75rem;--bvs-space-4: 1rem;--bvs-space-5: 1.25rem;--bvs-space-6: 1.5rem;--bvs-space-8: 2rem;--bvs-space-10: 2.5rem;--bvs-space-12: 3rem;--bvs-space-16: 4rem;--bvs-space-20: 5rem;--bvs-space-24: 6rem;--bvs-font-size-xs: .75rem;--bvs-font-size-sm: .875rem;--bvs-font-size-base: 1rem;--bvs-font-size-lg: 1.125rem;--bvs-font-size-xl: 1.25rem;--bvs-font-size-2xl: 1.5rem;--bvs-font-size-3xl: 1.875rem;--bvs-font-size-4xl: 2.25rem;--bvs-font-weight-light: 300;--bvs-font-weight-regular: 400;--bvs-font-weight-medium: 500;--bvs-font-weight-semibold: 600;--bvs-font-weight-bold: 700;--bvs-line-height-tight: 1.25;--bvs-line-height-normal: 1.5;--bvs-line-height-loose: 1.75;--bvs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--bvs-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--bvs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--bvs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--bvs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--bvs-radius-none: 0;--bvs-radius-sm: .125rem;--bvs-radius-base: .25rem;--bvs-radius-md: .375rem;--bvs-radius-lg: .5rem;--bvs-radius-xl: .75rem;--bvs-radius-2xl: 1rem;--bvs-radius-full: 9999px;--bvs-breakpoint-sm: 640px;--bvs-breakpoint-md: 768px;--bvs-breakpoint-lg: 1024px;--bvs-breakpoint-xl: 1280px;--bvs-breakpoint-2xl: 1536px;--bvs-transition-fast: .15s ease-in-out;--bvs-transition-base: .2s ease-in-out;--bvs-transition-slow: .3s ease-in-out;--bvs-transition-slower: .5s ease-in-out;--bvs-z-dropdown: 1000;--bvs-z-sticky: 1020;--bvs-z-fixed: 1030;--bvs-z-modal: 1040;--bvs-z-popover: 1050;--bvs-z-tooltip: 1060;--bvs-z-toast: 1070;--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=light]{--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=dark]{--bvs-color-brand: #60a5fa;--bvs-color-brand-hover: #93c5fd;--bvs-color-brand-active: #bfdbfe;--bvs-color-surface: #090d16;--bvs-color-surface-subtle: #0f172a;--bvs-color-surface-muted: #1e293b;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #94a3b8;--bvs-color-text-disabled: #475569;--bvs-color-border: #0f172a;--bvs-color-border-strong: #334155}[data-brand=emerald][data-theme=light]{--bvs-color-brand: #10b981;--bvs-color-brand-hover: #065f46;--bvs-color-brand-active: #044331;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=emerald][data-theme=dark]{--bvs-color-brand: #34d399;--bvs-color-brand-hover: #10b981;--bvs-color-brand-active: #065f46;--bvs-color-surface: #03100b;--bvs-color-surface-subtle: #061f17;--bvs-color-surface-muted: #0c2d22;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #a7f3d0;--bvs-color-text-disabled: #065f46;--bvs-color-border: #0a261d;--bvs-color-border-strong: #065f46}[data-brand=sunset][data-theme=light]{--bvs-color-brand: #ea580c;--bvs-color-brand-hover: #c2410c;--bvs-color-brand-active: #9a3412;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=sunset][data-theme=dark]{--bvs-color-brand: #f97316;--bvs-color-brand-hover: #fb923c;--bvs-color-brand-active: #fdba74;--bvs-color-surface: #120905;--bvs-color-surface-subtle: #27140c;--bvs-color-surface-muted: #3d1d11;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fed7aa;--bvs-color-text-disabled: #9a3412;--bvs-color-border: #2b140b;--bvs-color-border-strong: #9a3412}[data-brand=amethyst][data-theme=light]{--bvs-color-brand: #7c3aed;--bvs-color-brand-hover: #6d28d9;--bvs-color-brand-active: #5b21b6;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=amethyst][data-theme=dark]{--bvs-color-brand: #a78bfa;--bvs-color-brand-hover: #c4b5fd;--bvs-color-brand-active: #ddd6fe;--bvs-color-surface: #0d0717;--bvs-color-surface-subtle: #1e1135;--bvs-color-surface-muted: #2e1b4e;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #ddd6fe;--bvs-color-text-disabled: #6d28d9;--bvs-color-border: #201138;--bvs-color-border-strong: #7c3aed}[data-brand=ruby][data-theme=light]{--bvs-color-brand: #ef4444;--bvs-color-brand-hover: #991b1b;--bvs-color-brand-active: #7f1d1d;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=ruby][data-theme=dark]{--bvs-color-brand: #f87171;--bvs-color-brand-hover: #ef4444;--bvs-color-brand-active: #991b1b;--bvs-color-surface: #140505;--bvs-color-surface-subtle: #2d0c0c;--bvs-color-surface-muted: #471515;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fecaca;--bvs-color-text-disabled: #991b1b;--bvs-color-border: #360f0f;--bvs-color-border-strong: #991b1b}:host{width:auto;background-color:var(--bvs-color-surface-subtle)!important;border:1px solid var(--bvs-color-border)!important;color:var(--bvs-color-text-primary)!important;font-family:var(--bvs-font-family-sans);transition:all var(--bvs-transition-base);outline:none;display:inline-flex;align-items:center;box-sizing:border-box}:host::placeholder{color:var(--bvs-color-text-disabled)}:host:focus{background-color:var(--bvs-color-surface)!important;border-color:var(--bvs-color-brand)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--bvs-color-brand) 20%,transparent)}:host:disabled{opacity:.5;cursor:not-allowed;background-color:var(--bvs-color-surface-muted)!important}:host.input-sm{padding:var(--bvs-space-1) var(--bvs-space-3);font-size:var(--bvs-font-size-xs);border-radius:var(--bvs-radius-md);min-height:1.75rem}:host.input-md{padding:var(--bvs-space-2) var(--bvs-space-4);font-size:var(--bvs-font-size-sm);border-radius:var(--bvs-radius-md);min-height:2.125rem}:host.input-lg{padding:var(--bvs-space-3) var(--bvs-space-5);font-size:var(--bvs-font-size-base);border-radius:var(--bvs-radius-md);min-height:2.625rem}:host.input-block{display:flex;width:100%}:host.input-danger{border-color:var(--bvs-color-error)!important;color:var(--bvs-color-error)!important}:host.input-danger:focus{border-color:var(--bvs-color-error-dark)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--bvs-color-error) 20%,transparent)}:host-context([data-theme=dark]){background-color:color-mix(in srgb,var(--bvs-color-surface) 20%,transparent)!important;border-color:#ffffff14!important;color:var(--bvs-color-text-primary)!important}:host-context([data-theme=dark]):focus{background-color:color-mix(in srgb,var(--bvs-color-surface) 35%,transparent)!important}:host-context([data-theme=dark]):disabled{background-color:#ffffff03!important}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
224
+ }
225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InputComponent, decorators: [{
226
+ type: Component,
227
+ args: [{ selector: 'input[bvs-input], textarea[bvs-input]', standalone: true, template: '', changeDetection: ChangeDetectionStrategy.OnPush, host: {
228
+ '[class.bvs-input]': 'true',
229
+ '[class.input-primary]': "variant === 'primary'",
230
+ '[class.input-secondary]': "variant === 'secondary'",
231
+ '[class.input-danger]': "variant === 'danger'",
232
+ '[class.input-sm]': "size === 'sm'",
233
+ '[class.input-md]': "size === 'md'",
234
+ '[class.input-lg]': "size === 'lg'",
235
+ '[class.input-block]': 'block'
236
+ }, styles: [":root{--bvs-color-primary-50: #eff6ff;--bvs-color-primary-100: #dbeafe;--bvs-color-primary-200: #bfdbfe;--bvs-color-primary-300: #93c5fd;--bvs-color-primary-400: #60a5fa;--bvs-color-primary-500: #3b82f6;--bvs-color-primary-600: #2563eb;--bvs-color-primary-700: #1d4ed8;--bvs-color-primary-800: #1e40af;--bvs-color-primary-900: #1e3a8a;--bvs-color-secondary-50: #f5f3ff;--bvs-color-secondary-100: #ede9fe;--bvs-color-secondary-200: #ddd6fe;--bvs-color-secondary-300: #c4b5fd;--bvs-color-secondary-400: #a78bfa;--bvs-color-secondary-500: #8b5cf6;--bvs-color-secondary-600: #7c3aed;--bvs-color-secondary-700: #6d28d9;--bvs-color-secondary-800: #5b21b6;--bvs-color-secondary-900: #4c1d95;--bvs-color-neutral-0: #ffffff;--bvs-color-neutral-50: #f8fafc;--bvs-color-neutral-100: #f1f5f9;--bvs-color-neutral-200: #e2e8f0;--bvs-color-neutral-300: #cbd5e1;--bvs-color-neutral-400: #94a3b8;--bvs-color-neutral-500: #64748b;--bvs-color-neutral-600: #475569;--bvs-color-neutral-700: #334155;--bvs-color-neutral-800: #1e293b;--bvs-color-neutral-900: #0f172a;--bvs-color-neutral-950: #090d16;--bvs-color-neutral-1000: #000000;--bvs-color-success-light: #d1fae5;--bvs-color-success: #10b981;--bvs-color-success-dark: #065f46;--bvs-color-warning-light: #fef3c7;--bvs-color-warning: #f59e0b;--bvs-color-warning-dark: #92400e;--bvs-color-error-light: #fee2e2;--bvs-color-error: #ef4444;--bvs-color-error-dark: #991b1b;--bvs-color-info-light: #e0f2fe;--bvs-color-info: #0ea5e9;--bvs-color-info-dark: #075985;--bvs-space-0: 0;--bvs-space-1: .25rem;--bvs-space-2: .5rem;--bvs-space-3: .75rem;--bvs-space-4: 1rem;--bvs-space-5: 1.25rem;--bvs-space-6: 1.5rem;--bvs-space-8: 2rem;--bvs-space-10: 2.5rem;--bvs-space-12: 3rem;--bvs-space-16: 4rem;--bvs-space-20: 5rem;--bvs-space-24: 6rem;--bvs-font-size-xs: .75rem;--bvs-font-size-sm: .875rem;--bvs-font-size-base: 1rem;--bvs-font-size-lg: 1.125rem;--bvs-font-size-xl: 1.25rem;--bvs-font-size-2xl: 1.5rem;--bvs-font-size-3xl: 1.875rem;--bvs-font-size-4xl: 2.25rem;--bvs-font-weight-light: 300;--bvs-font-weight-regular: 400;--bvs-font-weight-medium: 500;--bvs-font-weight-semibold: 600;--bvs-font-weight-bold: 700;--bvs-line-height-tight: 1.25;--bvs-line-height-normal: 1.5;--bvs-line-height-loose: 1.75;--bvs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--bvs-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--bvs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--bvs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--bvs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--bvs-radius-none: 0;--bvs-radius-sm: .125rem;--bvs-radius-base: .25rem;--bvs-radius-md: .375rem;--bvs-radius-lg: .5rem;--bvs-radius-xl: .75rem;--bvs-radius-2xl: 1rem;--bvs-radius-full: 9999px;--bvs-breakpoint-sm: 640px;--bvs-breakpoint-md: 768px;--bvs-breakpoint-lg: 1024px;--bvs-breakpoint-xl: 1280px;--bvs-breakpoint-2xl: 1536px;--bvs-transition-fast: .15s ease-in-out;--bvs-transition-base: .2s ease-in-out;--bvs-transition-slow: .3s ease-in-out;--bvs-transition-slower: .5s ease-in-out;--bvs-z-dropdown: 1000;--bvs-z-sticky: 1020;--bvs-z-fixed: 1030;--bvs-z-modal: 1040;--bvs-z-popover: 1050;--bvs-z-tooltip: 1060;--bvs-z-toast: 1070;--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=light]{--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=dark]{--bvs-color-brand: #60a5fa;--bvs-color-brand-hover: #93c5fd;--bvs-color-brand-active: #bfdbfe;--bvs-color-surface: #090d16;--bvs-color-surface-subtle: #0f172a;--bvs-color-surface-muted: #1e293b;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #94a3b8;--bvs-color-text-disabled: #475569;--bvs-color-border: #0f172a;--bvs-color-border-strong: #334155}[data-brand=emerald][data-theme=light]{--bvs-color-brand: #10b981;--bvs-color-brand-hover: #065f46;--bvs-color-brand-active: #044331;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=emerald][data-theme=dark]{--bvs-color-brand: #34d399;--bvs-color-brand-hover: #10b981;--bvs-color-brand-active: #065f46;--bvs-color-surface: #03100b;--bvs-color-surface-subtle: #061f17;--bvs-color-surface-muted: #0c2d22;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #a7f3d0;--bvs-color-text-disabled: #065f46;--bvs-color-border: #0a261d;--bvs-color-border-strong: #065f46}[data-brand=sunset][data-theme=light]{--bvs-color-brand: #ea580c;--bvs-color-brand-hover: #c2410c;--bvs-color-brand-active: #9a3412;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=sunset][data-theme=dark]{--bvs-color-brand: #f97316;--bvs-color-brand-hover: #fb923c;--bvs-color-brand-active: #fdba74;--bvs-color-surface: #120905;--bvs-color-surface-subtle: #27140c;--bvs-color-surface-muted: #3d1d11;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fed7aa;--bvs-color-text-disabled: #9a3412;--bvs-color-border: #2b140b;--bvs-color-border-strong: #9a3412}[data-brand=amethyst][data-theme=light]{--bvs-color-brand: #7c3aed;--bvs-color-brand-hover: #6d28d9;--bvs-color-brand-active: #5b21b6;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=amethyst][data-theme=dark]{--bvs-color-brand: #a78bfa;--bvs-color-brand-hover: #c4b5fd;--bvs-color-brand-active: #ddd6fe;--bvs-color-surface: #0d0717;--bvs-color-surface-subtle: #1e1135;--bvs-color-surface-muted: #2e1b4e;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #ddd6fe;--bvs-color-text-disabled: #6d28d9;--bvs-color-border: #201138;--bvs-color-border-strong: #7c3aed}[data-brand=ruby][data-theme=light]{--bvs-color-brand: #ef4444;--bvs-color-brand-hover: #991b1b;--bvs-color-brand-active: #7f1d1d;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=ruby][data-theme=dark]{--bvs-color-brand: #f87171;--bvs-color-brand-hover: #ef4444;--bvs-color-brand-active: #991b1b;--bvs-color-surface: #140505;--bvs-color-surface-subtle: #2d0c0c;--bvs-color-surface-muted: #471515;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fecaca;--bvs-color-text-disabled: #991b1b;--bvs-color-border: #360f0f;--bvs-color-border-strong: #991b1b}:host{width:auto;background-color:var(--bvs-color-surface-subtle)!important;border:1px solid var(--bvs-color-border)!important;color:var(--bvs-color-text-primary)!important;font-family:var(--bvs-font-family-sans);transition:all var(--bvs-transition-base);outline:none;display:inline-flex;align-items:center;box-sizing:border-box}:host::placeholder{color:var(--bvs-color-text-disabled)}:host:focus{background-color:var(--bvs-color-surface)!important;border-color:var(--bvs-color-brand)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--bvs-color-brand) 20%,transparent)}:host:disabled{opacity:.5;cursor:not-allowed;background-color:var(--bvs-color-surface-muted)!important}:host.input-sm{padding:var(--bvs-space-1) var(--bvs-space-3);font-size:var(--bvs-font-size-xs);border-radius:var(--bvs-radius-md);min-height:1.75rem}:host.input-md{padding:var(--bvs-space-2) var(--bvs-space-4);font-size:var(--bvs-font-size-sm);border-radius:var(--bvs-radius-md);min-height:2.125rem}:host.input-lg{padding:var(--bvs-space-3) var(--bvs-space-5);font-size:var(--bvs-font-size-base);border-radius:var(--bvs-radius-md);min-height:2.625rem}:host.input-block{display:flex;width:100%}:host.input-danger{border-color:var(--bvs-color-error)!important;color:var(--bvs-color-error)!important}:host.input-danger:focus{border-color:var(--bvs-color-error-dark)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--bvs-color-error) 20%,transparent)}:host-context([data-theme=dark]){background-color:color-mix(in srgb,var(--bvs-color-surface) 20%,transparent)!important;border-color:#ffffff14!important;color:var(--bvs-color-text-primary)!important}:host-context([data-theme=dark]):focus{background-color:color-mix(in srgb,var(--bvs-color-surface) 35%,transparent)!important}:host-context([data-theme=dark]):disabled{background-color:#ffffff03!important}\n"] }]
237
+ }], propDecorators: { variant: [{
238
+ type: Input
239
+ }], size: [{
240
+ type: Input
241
+ }], block: [{
242
+ type: Input
243
+ }] } });
244
+
245
+ /**
246
+ * FormField molecule — groups label, input and errors.
247
+ * Implements a premium floating label behaviour for inputs.
248
+ */
249
+ class FormFieldComponent {
250
+ /** Label text. */
251
+ label;
252
+ /** ID of the associated input for accessibility. */
253
+ forId;
254
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: FormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
255
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: FormFieldComponent, isStandalone: true, selector: "bvs-form-field", inputs: { label: "label", forId: "forId" }, ngImport: i0, template: "<div class=\"bvs-form-field\">\n <div class=\"bvs-form-field-container\">\n <ng-content></ng-content>\n <label class=\"bvs-form-field-label\" [attr.for]=\"forId\">\n {{ label }}\n </label>\n </div>\n</div>\n", styles: [":root{--bvs-color-primary-50: #eff6ff;--bvs-color-primary-100: #dbeafe;--bvs-color-primary-200: #bfdbfe;--bvs-color-primary-300: #93c5fd;--bvs-color-primary-400: #60a5fa;--bvs-color-primary-500: #3b82f6;--bvs-color-primary-600: #2563eb;--bvs-color-primary-700: #1d4ed8;--bvs-color-primary-800: #1e40af;--bvs-color-primary-900: #1e3a8a;--bvs-color-secondary-50: #f5f3ff;--bvs-color-secondary-100: #ede9fe;--bvs-color-secondary-200: #ddd6fe;--bvs-color-secondary-300: #c4b5fd;--bvs-color-secondary-400: #a78bfa;--bvs-color-secondary-500: #8b5cf6;--bvs-color-secondary-600: #7c3aed;--bvs-color-secondary-700: #6d28d9;--bvs-color-secondary-800: #5b21b6;--bvs-color-secondary-900: #4c1d95;--bvs-color-neutral-0: #ffffff;--bvs-color-neutral-50: #f8fafc;--bvs-color-neutral-100: #f1f5f9;--bvs-color-neutral-200: #e2e8f0;--bvs-color-neutral-300: #cbd5e1;--bvs-color-neutral-400: #94a3b8;--bvs-color-neutral-500: #64748b;--bvs-color-neutral-600: #475569;--bvs-color-neutral-700: #334155;--bvs-color-neutral-800: #1e293b;--bvs-color-neutral-900: #0f172a;--bvs-color-neutral-950: #090d16;--bvs-color-neutral-1000: #000000;--bvs-color-success-light: #d1fae5;--bvs-color-success: #10b981;--bvs-color-success-dark: #065f46;--bvs-color-warning-light: #fef3c7;--bvs-color-warning: #f59e0b;--bvs-color-warning-dark: #92400e;--bvs-color-error-light: #fee2e2;--bvs-color-error: #ef4444;--bvs-color-error-dark: #991b1b;--bvs-color-info-light: #e0f2fe;--bvs-color-info: #0ea5e9;--bvs-color-info-dark: #075985;--bvs-space-0: 0;--bvs-space-1: .25rem;--bvs-space-2: .5rem;--bvs-space-3: .75rem;--bvs-space-4: 1rem;--bvs-space-5: 1.25rem;--bvs-space-6: 1.5rem;--bvs-space-8: 2rem;--bvs-space-10: 2.5rem;--bvs-space-12: 3rem;--bvs-space-16: 4rem;--bvs-space-20: 5rem;--bvs-space-24: 6rem;--bvs-font-size-xs: .75rem;--bvs-font-size-sm: .875rem;--bvs-font-size-base: 1rem;--bvs-font-size-lg: 1.125rem;--bvs-font-size-xl: 1.25rem;--bvs-font-size-2xl: 1.5rem;--bvs-font-size-3xl: 1.875rem;--bvs-font-size-4xl: 2.25rem;--bvs-font-weight-light: 300;--bvs-font-weight-regular: 400;--bvs-font-weight-medium: 500;--bvs-font-weight-semibold: 600;--bvs-font-weight-bold: 700;--bvs-line-height-tight: 1.25;--bvs-line-height-normal: 1.5;--bvs-line-height-loose: 1.75;--bvs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--bvs-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--bvs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--bvs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--bvs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--bvs-radius-none: 0;--bvs-radius-sm: .125rem;--bvs-radius-base: .25rem;--bvs-radius-md: .375rem;--bvs-radius-lg: .5rem;--bvs-radius-xl: .75rem;--bvs-radius-2xl: 1rem;--bvs-radius-full: 9999px;--bvs-breakpoint-sm: 640px;--bvs-breakpoint-md: 768px;--bvs-breakpoint-lg: 1024px;--bvs-breakpoint-xl: 1280px;--bvs-breakpoint-2xl: 1536px;--bvs-transition-fast: .15s ease-in-out;--bvs-transition-base: .2s ease-in-out;--bvs-transition-slow: .3s ease-in-out;--bvs-transition-slower: .5s ease-in-out;--bvs-z-dropdown: 1000;--bvs-z-sticky: 1020;--bvs-z-fixed: 1030;--bvs-z-modal: 1040;--bvs-z-popover: 1050;--bvs-z-tooltip: 1060;--bvs-z-toast: 1070;--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=light]{--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=dark]{--bvs-color-brand: #60a5fa;--bvs-color-brand-hover: #93c5fd;--bvs-color-brand-active: #bfdbfe;--bvs-color-surface: #090d16;--bvs-color-surface-subtle: #0f172a;--bvs-color-surface-muted: #1e293b;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #94a3b8;--bvs-color-text-disabled: #475569;--bvs-color-border: #0f172a;--bvs-color-border-strong: #334155}[data-brand=emerald][data-theme=light]{--bvs-color-brand: #10b981;--bvs-color-brand-hover: #065f46;--bvs-color-brand-active: #044331;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=emerald][data-theme=dark]{--bvs-color-brand: #34d399;--bvs-color-brand-hover: #10b981;--bvs-color-brand-active: #065f46;--bvs-color-surface: #03100b;--bvs-color-surface-subtle: #061f17;--bvs-color-surface-muted: #0c2d22;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #a7f3d0;--bvs-color-text-disabled: #065f46;--bvs-color-border: #0a261d;--bvs-color-border-strong: #065f46}[data-brand=sunset][data-theme=light]{--bvs-color-brand: #ea580c;--bvs-color-brand-hover: #c2410c;--bvs-color-brand-active: #9a3412;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=sunset][data-theme=dark]{--bvs-color-brand: #f97316;--bvs-color-brand-hover: #fb923c;--bvs-color-brand-active: #fdba74;--bvs-color-surface: #120905;--bvs-color-surface-subtle: #27140c;--bvs-color-surface-muted: #3d1d11;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fed7aa;--bvs-color-text-disabled: #9a3412;--bvs-color-border: #2b140b;--bvs-color-border-strong: #9a3412}[data-brand=amethyst][data-theme=light]{--bvs-color-brand: #7c3aed;--bvs-color-brand-hover: #6d28d9;--bvs-color-brand-active: #5b21b6;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=amethyst][data-theme=dark]{--bvs-color-brand: #a78bfa;--bvs-color-brand-hover: #c4b5fd;--bvs-color-brand-active: #ddd6fe;--bvs-color-surface: #0d0717;--bvs-color-surface-subtle: #1e1135;--bvs-color-surface-muted: #2e1b4e;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #ddd6fe;--bvs-color-text-disabled: #6d28d9;--bvs-color-border: #201138;--bvs-color-border-strong: #7c3aed}[data-brand=ruby][data-theme=light]{--bvs-color-brand: #ef4444;--bvs-color-brand-hover: #991b1b;--bvs-color-brand-active: #7f1d1d;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=ruby][data-theme=dark]{--bvs-color-brand: #f87171;--bvs-color-brand-hover: #ef4444;--bvs-color-brand-active: #991b1b;--bvs-color-surface: #140505;--bvs-color-surface-subtle: #2d0c0c;--bvs-color-surface-muted: #471515;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fecaca;--bvs-color-text-disabled: #991b1b;--bvs-color-border: #360f0f;--bvs-color-border-strong: #991b1b}.bvs-form-field{margin-bottom:var(--bvs-space-6);width:100%}.bvs-form-field-container{position:relative;display:flex;flex-direction:column}.bvs-form-field-label{position:absolute;left:var(--bvs-space-6);top:50%;transform:translateY(-50%);color:var(--bvs-color-text-secondary);font-size:var(--bvs-font-size-base);font-weight:var(--bvs-font-weight-regular);pointer-events:none;transition:all var(--bvs-transition-base);padding:0;z-index:10}.bvs-form-field ::ng-deep .bvs-input:focus+.bvs-form-field-label,.bvs-form-field ::ng-deep .bvs-input:not(:placeholder-shown)+.bvs-form-field-label{top:0;left:var(--bvs-space-6);font-size:var(--bvs-font-size-xs);color:var(--bvs-color-brand);font-weight:var(--bvs-font-weight-semibold);background-color:transparent;transform:translateY(-130%) scale(.9)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
256
+ }
257
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: FormFieldComponent, decorators: [{
258
+ type: Component,
259
+ args: [{ selector: 'bvs-form-field', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"bvs-form-field\">\n <div class=\"bvs-form-field-container\">\n <ng-content></ng-content>\n <label class=\"bvs-form-field-label\" [attr.for]=\"forId\">\n {{ label }}\n </label>\n </div>\n</div>\n", styles: [":root{--bvs-color-primary-50: #eff6ff;--bvs-color-primary-100: #dbeafe;--bvs-color-primary-200: #bfdbfe;--bvs-color-primary-300: #93c5fd;--bvs-color-primary-400: #60a5fa;--bvs-color-primary-500: #3b82f6;--bvs-color-primary-600: #2563eb;--bvs-color-primary-700: #1d4ed8;--bvs-color-primary-800: #1e40af;--bvs-color-primary-900: #1e3a8a;--bvs-color-secondary-50: #f5f3ff;--bvs-color-secondary-100: #ede9fe;--bvs-color-secondary-200: #ddd6fe;--bvs-color-secondary-300: #c4b5fd;--bvs-color-secondary-400: #a78bfa;--bvs-color-secondary-500: #8b5cf6;--bvs-color-secondary-600: #7c3aed;--bvs-color-secondary-700: #6d28d9;--bvs-color-secondary-800: #5b21b6;--bvs-color-secondary-900: #4c1d95;--bvs-color-neutral-0: #ffffff;--bvs-color-neutral-50: #f8fafc;--bvs-color-neutral-100: #f1f5f9;--bvs-color-neutral-200: #e2e8f0;--bvs-color-neutral-300: #cbd5e1;--bvs-color-neutral-400: #94a3b8;--bvs-color-neutral-500: #64748b;--bvs-color-neutral-600: #475569;--bvs-color-neutral-700: #334155;--bvs-color-neutral-800: #1e293b;--bvs-color-neutral-900: #0f172a;--bvs-color-neutral-950: #090d16;--bvs-color-neutral-1000: #000000;--bvs-color-success-light: #d1fae5;--bvs-color-success: #10b981;--bvs-color-success-dark: #065f46;--bvs-color-warning-light: #fef3c7;--bvs-color-warning: #f59e0b;--bvs-color-warning-dark: #92400e;--bvs-color-error-light: #fee2e2;--bvs-color-error: #ef4444;--bvs-color-error-dark: #991b1b;--bvs-color-info-light: #e0f2fe;--bvs-color-info: #0ea5e9;--bvs-color-info-dark: #075985;--bvs-space-0: 0;--bvs-space-1: .25rem;--bvs-space-2: .5rem;--bvs-space-3: .75rem;--bvs-space-4: 1rem;--bvs-space-5: 1.25rem;--bvs-space-6: 1.5rem;--bvs-space-8: 2rem;--bvs-space-10: 2.5rem;--bvs-space-12: 3rem;--bvs-space-16: 4rem;--bvs-space-20: 5rem;--bvs-space-24: 6rem;--bvs-font-size-xs: .75rem;--bvs-font-size-sm: .875rem;--bvs-font-size-base: 1rem;--bvs-font-size-lg: 1.125rem;--bvs-font-size-xl: 1.25rem;--bvs-font-size-2xl: 1.5rem;--bvs-font-size-3xl: 1.875rem;--bvs-font-size-4xl: 2.25rem;--bvs-font-weight-light: 300;--bvs-font-weight-regular: 400;--bvs-font-weight-medium: 500;--bvs-font-weight-semibold: 600;--bvs-font-weight-bold: 700;--bvs-line-height-tight: 1.25;--bvs-line-height-normal: 1.5;--bvs-line-height-loose: 1.75;--bvs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--bvs-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--bvs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--bvs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--bvs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--bvs-radius-none: 0;--bvs-radius-sm: .125rem;--bvs-radius-base: .25rem;--bvs-radius-md: .375rem;--bvs-radius-lg: .5rem;--bvs-radius-xl: .75rem;--bvs-radius-2xl: 1rem;--bvs-radius-full: 9999px;--bvs-breakpoint-sm: 640px;--bvs-breakpoint-md: 768px;--bvs-breakpoint-lg: 1024px;--bvs-breakpoint-xl: 1280px;--bvs-breakpoint-2xl: 1536px;--bvs-transition-fast: .15s ease-in-out;--bvs-transition-base: .2s ease-in-out;--bvs-transition-slow: .3s ease-in-out;--bvs-transition-slower: .5s ease-in-out;--bvs-z-dropdown: 1000;--bvs-z-sticky: 1020;--bvs-z-fixed: 1030;--bvs-z-modal: 1040;--bvs-z-popover: 1050;--bvs-z-tooltip: 1060;--bvs-z-toast: 1070;--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=light]{--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=dark]{--bvs-color-brand: #60a5fa;--bvs-color-brand-hover: #93c5fd;--bvs-color-brand-active: #bfdbfe;--bvs-color-surface: #090d16;--bvs-color-surface-subtle: #0f172a;--bvs-color-surface-muted: #1e293b;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #94a3b8;--bvs-color-text-disabled: #475569;--bvs-color-border: #0f172a;--bvs-color-border-strong: #334155}[data-brand=emerald][data-theme=light]{--bvs-color-brand: #10b981;--bvs-color-brand-hover: #065f46;--bvs-color-brand-active: #044331;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=emerald][data-theme=dark]{--bvs-color-brand: #34d399;--bvs-color-brand-hover: #10b981;--bvs-color-brand-active: #065f46;--bvs-color-surface: #03100b;--bvs-color-surface-subtle: #061f17;--bvs-color-surface-muted: #0c2d22;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #a7f3d0;--bvs-color-text-disabled: #065f46;--bvs-color-border: #0a261d;--bvs-color-border-strong: #065f46}[data-brand=sunset][data-theme=light]{--bvs-color-brand: #ea580c;--bvs-color-brand-hover: #c2410c;--bvs-color-brand-active: #9a3412;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=sunset][data-theme=dark]{--bvs-color-brand: #f97316;--bvs-color-brand-hover: #fb923c;--bvs-color-brand-active: #fdba74;--bvs-color-surface: #120905;--bvs-color-surface-subtle: #27140c;--bvs-color-surface-muted: #3d1d11;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fed7aa;--bvs-color-text-disabled: #9a3412;--bvs-color-border: #2b140b;--bvs-color-border-strong: #9a3412}[data-brand=amethyst][data-theme=light]{--bvs-color-brand: #7c3aed;--bvs-color-brand-hover: #6d28d9;--bvs-color-brand-active: #5b21b6;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=amethyst][data-theme=dark]{--bvs-color-brand: #a78bfa;--bvs-color-brand-hover: #c4b5fd;--bvs-color-brand-active: #ddd6fe;--bvs-color-surface: #0d0717;--bvs-color-surface-subtle: #1e1135;--bvs-color-surface-muted: #2e1b4e;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #ddd6fe;--bvs-color-text-disabled: #6d28d9;--bvs-color-border: #201138;--bvs-color-border-strong: #7c3aed}[data-brand=ruby][data-theme=light]{--bvs-color-brand: #ef4444;--bvs-color-brand-hover: #991b1b;--bvs-color-brand-active: #7f1d1d;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=ruby][data-theme=dark]{--bvs-color-brand: #f87171;--bvs-color-brand-hover: #ef4444;--bvs-color-brand-active: #991b1b;--bvs-color-surface: #140505;--bvs-color-surface-subtle: #2d0c0c;--bvs-color-surface-muted: #471515;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fecaca;--bvs-color-text-disabled: #991b1b;--bvs-color-border: #360f0f;--bvs-color-border-strong: #991b1b}.bvs-form-field{margin-bottom:var(--bvs-space-6);width:100%}.bvs-form-field-container{position:relative;display:flex;flex-direction:column}.bvs-form-field-label{position:absolute;left:var(--bvs-space-6);top:50%;transform:translateY(-50%);color:var(--bvs-color-text-secondary);font-size:var(--bvs-font-size-base);font-weight:var(--bvs-font-weight-regular);pointer-events:none;transition:all var(--bvs-transition-base);padding:0;z-index:10}.bvs-form-field ::ng-deep .bvs-input:focus+.bvs-form-field-label,.bvs-form-field ::ng-deep .bvs-input:not(:placeholder-shown)+.bvs-form-field-label{top:0;left:var(--bvs-space-6);font-size:var(--bvs-font-size-xs);color:var(--bvs-color-brand);font-weight:var(--bvs-font-weight-semibold);background-color:transparent;transform:translateY(-130%) scale(.9)}\n"] }]
260
+ }], propDecorators: { label: [{
261
+ type: Input,
262
+ args: [{ required: true }]
263
+ }], forId: [{
264
+ type: Input
265
+ }] } });
266
+
267
+ /**
268
+ * Navbar organism — generic and reusable header component.
269
+ * Provides content slots for brand and actions.
270
+ */
271
+ class NavbarComponent {
272
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: NavbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
273
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: NavbarComponent, isStandalone: true, selector: "bvs-navbar", ngImport: i0, template: "<header class=\"navbar\" role=\"banner\">\n <div class=\"navbar__brand\">\n <ng-content select=\"[navbar-brand]\"></ng-content>\n </div>\n\n <nav class=\"navbar__actions\">\n <ng-content select=\"[navbar-actions]\"></ng-content>\n </nav>\n</header>\n", styles: [":root{--bvs-color-primary-50: #eff6ff;--bvs-color-primary-100: #dbeafe;--bvs-color-primary-200: #bfdbfe;--bvs-color-primary-300: #93c5fd;--bvs-color-primary-400: #60a5fa;--bvs-color-primary-500: #3b82f6;--bvs-color-primary-600: #2563eb;--bvs-color-primary-700: #1d4ed8;--bvs-color-primary-800: #1e40af;--bvs-color-primary-900: #1e3a8a;--bvs-color-secondary-50: #f5f3ff;--bvs-color-secondary-100: #ede9fe;--bvs-color-secondary-200: #ddd6fe;--bvs-color-secondary-300: #c4b5fd;--bvs-color-secondary-400: #a78bfa;--bvs-color-secondary-500: #8b5cf6;--bvs-color-secondary-600: #7c3aed;--bvs-color-secondary-700: #6d28d9;--bvs-color-secondary-800: #5b21b6;--bvs-color-secondary-900: #4c1d95;--bvs-color-neutral-0: #ffffff;--bvs-color-neutral-50: #f8fafc;--bvs-color-neutral-100: #f1f5f9;--bvs-color-neutral-200: #e2e8f0;--bvs-color-neutral-300: #cbd5e1;--bvs-color-neutral-400: #94a3b8;--bvs-color-neutral-500: #64748b;--bvs-color-neutral-600: #475569;--bvs-color-neutral-700: #334155;--bvs-color-neutral-800: #1e293b;--bvs-color-neutral-900: #0f172a;--bvs-color-neutral-950: #090d16;--bvs-color-neutral-1000: #000000;--bvs-color-success-light: #d1fae5;--bvs-color-success: #10b981;--bvs-color-success-dark: #065f46;--bvs-color-warning-light: #fef3c7;--bvs-color-warning: #f59e0b;--bvs-color-warning-dark: #92400e;--bvs-color-error-light: #fee2e2;--bvs-color-error: #ef4444;--bvs-color-error-dark: #991b1b;--bvs-color-info-light: #e0f2fe;--bvs-color-info: #0ea5e9;--bvs-color-info-dark: #075985;--bvs-space-0: 0;--bvs-space-1: .25rem;--bvs-space-2: .5rem;--bvs-space-3: .75rem;--bvs-space-4: 1rem;--bvs-space-5: 1.25rem;--bvs-space-6: 1.5rem;--bvs-space-8: 2rem;--bvs-space-10: 2.5rem;--bvs-space-12: 3rem;--bvs-space-16: 4rem;--bvs-space-20: 5rem;--bvs-space-24: 6rem;--bvs-font-size-xs: .75rem;--bvs-font-size-sm: .875rem;--bvs-font-size-base: 1rem;--bvs-font-size-lg: 1.125rem;--bvs-font-size-xl: 1.25rem;--bvs-font-size-2xl: 1.5rem;--bvs-font-size-3xl: 1.875rem;--bvs-font-size-4xl: 2.25rem;--bvs-font-weight-light: 300;--bvs-font-weight-regular: 400;--bvs-font-weight-medium: 500;--bvs-font-weight-semibold: 600;--bvs-font-weight-bold: 700;--bvs-line-height-tight: 1.25;--bvs-line-height-normal: 1.5;--bvs-line-height-loose: 1.75;--bvs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--bvs-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--bvs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--bvs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--bvs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--bvs-radius-none: 0;--bvs-radius-sm: .125rem;--bvs-radius-base: .25rem;--bvs-radius-md: .375rem;--bvs-radius-lg: .5rem;--bvs-radius-xl: .75rem;--bvs-radius-2xl: 1rem;--bvs-radius-full: 9999px;--bvs-breakpoint-sm: 640px;--bvs-breakpoint-md: 768px;--bvs-breakpoint-lg: 1024px;--bvs-breakpoint-xl: 1280px;--bvs-breakpoint-2xl: 1536px;--bvs-transition-fast: .15s ease-in-out;--bvs-transition-base: .2s ease-in-out;--bvs-transition-slow: .3s ease-in-out;--bvs-transition-slower: .5s ease-in-out;--bvs-z-dropdown: 1000;--bvs-z-sticky: 1020;--bvs-z-fixed: 1030;--bvs-z-modal: 1040;--bvs-z-popover: 1050;--bvs-z-tooltip: 1060;--bvs-z-toast: 1070;--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=light]{--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=dark]{--bvs-color-brand: #60a5fa;--bvs-color-brand-hover: #93c5fd;--bvs-color-brand-active: #bfdbfe;--bvs-color-surface: #090d16;--bvs-color-surface-subtle: #0f172a;--bvs-color-surface-muted: #1e293b;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #94a3b8;--bvs-color-text-disabled: #475569;--bvs-color-border: #0f172a;--bvs-color-border-strong: #334155}[data-brand=emerald][data-theme=light]{--bvs-color-brand: #10b981;--bvs-color-brand-hover: #065f46;--bvs-color-brand-active: #044331;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=emerald][data-theme=dark]{--bvs-color-brand: #34d399;--bvs-color-brand-hover: #10b981;--bvs-color-brand-active: #065f46;--bvs-color-surface: #03100b;--bvs-color-surface-subtle: #061f17;--bvs-color-surface-muted: #0c2d22;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #a7f3d0;--bvs-color-text-disabled: #065f46;--bvs-color-border: #0a261d;--bvs-color-border-strong: #065f46}[data-brand=sunset][data-theme=light]{--bvs-color-brand: #ea580c;--bvs-color-brand-hover: #c2410c;--bvs-color-brand-active: #9a3412;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=sunset][data-theme=dark]{--bvs-color-brand: #f97316;--bvs-color-brand-hover: #fb923c;--bvs-color-brand-active: #fdba74;--bvs-color-surface: #120905;--bvs-color-surface-subtle: #27140c;--bvs-color-surface-muted: #3d1d11;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fed7aa;--bvs-color-text-disabled: #9a3412;--bvs-color-border: #2b140b;--bvs-color-border-strong: #9a3412}[data-brand=amethyst][data-theme=light]{--bvs-color-brand: #7c3aed;--bvs-color-brand-hover: #6d28d9;--bvs-color-brand-active: #5b21b6;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=amethyst][data-theme=dark]{--bvs-color-brand: #a78bfa;--bvs-color-brand-hover: #c4b5fd;--bvs-color-brand-active: #ddd6fe;--bvs-color-surface: #0d0717;--bvs-color-surface-subtle: #1e1135;--bvs-color-surface-muted: #2e1b4e;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #ddd6fe;--bvs-color-text-disabled: #6d28d9;--bvs-color-border: #201138;--bvs-color-border-strong: #7c3aed}[data-brand=ruby][data-theme=light]{--bvs-color-brand: #ef4444;--bvs-color-brand-hover: #991b1b;--bvs-color-brand-active: #7f1d1d;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=ruby][data-theme=dark]{--bvs-color-brand: #f87171;--bvs-color-brand-hover: #ef4444;--bvs-color-brand-active: #991b1b;--bvs-color-surface: #140505;--bvs-color-surface-subtle: #2d0c0c;--bvs-color-surface-muted: #471515;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fecaca;--bvs-color-text-disabled: #991b1b;--bvs-color-border: #360f0f;--bvs-color-border-strong: #991b1b}.navbar{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0 var(--bvs-space-4);height:3.5rem;background-color:color-mix(in srgb,var(--bvs-color-surface) 75%,transparent);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-bottom:1px solid var(--bvs-color-border);position:sticky;top:0;z-index:var(--bvs-z-sticky);box-shadow:var(--bvs-shadow-sm);transition:background-color var(--bvs-transition-base),border-color var(--bvs-transition-base),box-shadow var(--bvs-transition-base),height var(--bvs-transition-base)}@media(min-width:768px){.navbar{padding:0 var(--bvs-space-8);height:4rem}}.navbar__brand{display:flex;flex-direction:row;align-items:center;gap:var(--bvs-space-2);text-decoration:none}@media(min-width:768px){.navbar__brand{gap:var(--bvs-space-3)}}.navbar__actions{display:flex;flex-direction:row;align-items:center;margin-left:auto}:host-context([data-theme=dark]) .navbar{background-color:color-mix(in srgb,var(--bvs-color-surface) 25%,transparent);border-bottom-color:#ffffff14}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
274
+ }
275
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: NavbarComponent, decorators: [{
276
+ type: Component,
277
+ args: [{ selector: 'bvs-navbar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"navbar\" role=\"banner\">\n <div class=\"navbar__brand\">\n <ng-content select=\"[navbar-brand]\"></ng-content>\n </div>\n\n <nav class=\"navbar__actions\">\n <ng-content select=\"[navbar-actions]\"></ng-content>\n </nav>\n</header>\n", styles: [":root{--bvs-color-primary-50: #eff6ff;--bvs-color-primary-100: #dbeafe;--bvs-color-primary-200: #bfdbfe;--bvs-color-primary-300: #93c5fd;--bvs-color-primary-400: #60a5fa;--bvs-color-primary-500: #3b82f6;--bvs-color-primary-600: #2563eb;--bvs-color-primary-700: #1d4ed8;--bvs-color-primary-800: #1e40af;--bvs-color-primary-900: #1e3a8a;--bvs-color-secondary-50: #f5f3ff;--bvs-color-secondary-100: #ede9fe;--bvs-color-secondary-200: #ddd6fe;--bvs-color-secondary-300: #c4b5fd;--bvs-color-secondary-400: #a78bfa;--bvs-color-secondary-500: #8b5cf6;--bvs-color-secondary-600: #7c3aed;--bvs-color-secondary-700: #6d28d9;--bvs-color-secondary-800: #5b21b6;--bvs-color-secondary-900: #4c1d95;--bvs-color-neutral-0: #ffffff;--bvs-color-neutral-50: #f8fafc;--bvs-color-neutral-100: #f1f5f9;--bvs-color-neutral-200: #e2e8f0;--bvs-color-neutral-300: #cbd5e1;--bvs-color-neutral-400: #94a3b8;--bvs-color-neutral-500: #64748b;--bvs-color-neutral-600: #475569;--bvs-color-neutral-700: #334155;--bvs-color-neutral-800: #1e293b;--bvs-color-neutral-900: #0f172a;--bvs-color-neutral-950: #090d16;--bvs-color-neutral-1000: #000000;--bvs-color-success-light: #d1fae5;--bvs-color-success: #10b981;--bvs-color-success-dark: #065f46;--bvs-color-warning-light: #fef3c7;--bvs-color-warning: #f59e0b;--bvs-color-warning-dark: #92400e;--bvs-color-error-light: #fee2e2;--bvs-color-error: #ef4444;--bvs-color-error-dark: #991b1b;--bvs-color-info-light: #e0f2fe;--bvs-color-info: #0ea5e9;--bvs-color-info-dark: #075985;--bvs-space-0: 0;--bvs-space-1: .25rem;--bvs-space-2: .5rem;--bvs-space-3: .75rem;--bvs-space-4: 1rem;--bvs-space-5: 1.25rem;--bvs-space-6: 1.5rem;--bvs-space-8: 2rem;--bvs-space-10: 2.5rem;--bvs-space-12: 3rem;--bvs-space-16: 4rem;--bvs-space-20: 5rem;--bvs-space-24: 6rem;--bvs-font-size-xs: .75rem;--bvs-font-size-sm: .875rem;--bvs-font-size-base: 1rem;--bvs-font-size-lg: 1.125rem;--bvs-font-size-xl: 1.25rem;--bvs-font-size-2xl: 1.5rem;--bvs-font-size-3xl: 1.875rem;--bvs-font-size-4xl: 2.25rem;--bvs-font-weight-light: 300;--bvs-font-weight-regular: 400;--bvs-font-weight-medium: 500;--bvs-font-weight-semibold: 600;--bvs-font-weight-bold: 700;--bvs-line-height-tight: 1.25;--bvs-line-height-normal: 1.5;--bvs-line-height-loose: 1.75;--bvs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--bvs-shadow-base: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);--bvs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--bvs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--bvs-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--bvs-radius-none: 0;--bvs-radius-sm: .125rem;--bvs-radius-base: .25rem;--bvs-radius-md: .375rem;--bvs-radius-lg: .5rem;--bvs-radius-xl: .75rem;--bvs-radius-2xl: 1rem;--bvs-radius-full: 9999px;--bvs-breakpoint-sm: 640px;--bvs-breakpoint-md: 768px;--bvs-breakpoint-lg: 1024px;--bvs-breakpoint-xl: 1280px;--bvs-breakpoint-2xl: 1536px;--bvs-transition-fast: .15s ease-in-out;--bvs-transition-base: .2s ease-in-out;--bvs-transition-slow: .3s ease-in-out;--bvs-transition-slower: .5s ease-in-out;--bvs-z-dropdown: 1000;--bvs-z-sticky: 1020;--bvs-z-fixed: 1030;--bvs-z-modal: 1040;--bvs-z-popover: 1050;--bvs-z-tooltip: 1060;--bvs-z-toast: 1070;--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=light]{--bvs-color-brand: #2563eb;--bvs-color-brand-hover: #1d4ed8;--bvs-color-brand-active: #1e40af;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=default][data-theme=dark]{--bvs-color-brand: #60a5fa;--bvs-color-brand-hover: #93c5fd;--bvs-color-brand-active: #bfdbfe;--bvs-color-surface: #090d16;--bvs-color-surface-subtle: #0f172a;--bvs-color-surface-muted: #1e293b;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #94a3b8;--bvs-color-text-disabled: #475569;--bvs-color-border: #0f172a;--bvs-color-border-strong: #334155}[data-brand=emerald][data-theme=light]{--bvs-color-brand: #10b981;--bvs-color-brand-hover: #065f46;--bvs-color-brand-active: #044331;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=emerald][data-theme=dark]{--bvs-color-brand: #34d399;--bvs-color-brand-hover: #10b981;--bvs-color-brand-active: #065f46;--bvs-color-surface: #03100b;--bvs-color-surface-subtle: #061f17;--bvs-color-surface-muted: #0c2d22;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #a7f3d0;--bvs-color-text-disabled: #065f46;--bvs-color-border: #0a261d;--bvs-color-border-strong: #065f46}[data-brand=sunset][data-theme=light]{--bvs-color-brand: #ea580c;--bvs-color-brand-hover: #c2410c;--bvs-color-brand-active: #9a3412;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=sunset][data-theme=dark]{--bvs-color-brand: #f97316;--bvs-color-brand-hover: #fb923c;--bvs-color-brand-active: #fdba74;--bvs-color-surface: #120905;--bvs-color-surface-subtle: #27140c;--bvs-color-surface-muted: #3d1d11;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fed7aa;--bvs-color-text-disabled: #9a3412;--bvs-color-border: #2b140b;--bvs-color-border-strong: #9a3412}[data-brand=amethyst][data-theme=light]{--bvs-color-brand: #7c3aed;--bvs-color-brand-hover: #6d28d9;--bvs-color-brand-active: #5b21b6;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=amethyst][data-theme=dark]{--bvs-color-brand: #a78bfa;--bvs-color-brand-hover: #c4b5fd;--bvs-color-brand-active: #ddd6fe;--bvs-color-surface: #0d0717;--bvs-color-surface-subtle: #1e1135;--bvs-color-surface-muted: #2e1b4e;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #ddd6fe;--bvs-color-text-disabled: #6d28d9;--bvs-color-border: #201138;--bvs-color-border-strong: #7c3aed}[data-brand=ruby][data-theme=light]{--bvs-color-brand: #ef4444;--bvs-color-brand-hover: #991b1b;--bvs-color-brand-active: #7f1d1d;--bvs-color-surface: #ffffff;--bvs-color-surface-subtle: #f8fafc;--bvs-color-surface-muted: #f1f5f9;--bvs-color-text-primary: #0f172a;--bvs-color-text-secondary: #475569;--bvs-color-text-disabled: #94a3b8;--bvs-color-border: #e2e8f0;--bvs-color-border-strong: #94a3b8}[data-brand=ruby][data-theme=dark]{--bvs-color-brand: #f87171;--bvs-color-brand-hover: #ef4444;--bvs-color-brand-active: #991b1b;--bvs-color-surface: #140505;--bvs-color-surface-subtle: #2d0c0c;--bvs-color-surface-muted: #471515;--bvs-color-text-primary: #f8fafc;--bvs-color-text-secondary: #fecaca;--bvs-color-text-disabled: #991b1b;--bvs-color-border: #360f0f;--bvs-color-border-strong: #991b1b}.navbar{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0 var(--bvs-space-4);height:3.5rem;background-color:color-mix(in srgb,var(--bvs-color-surface) 75%,transparent);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-bottom:1px solid var(--bvs-color-border);position:sticky;top:0;z-index:var(--bvs-z-sticky);box-shadow:var(--bvs-shadow-sm);transition:background-color var(--bvs-transition-base),border-color var(--bvs-transition-base),box-shadow var(--bvs-transition-base),height var(--bvs-transition-base)}@media(min-width:768px){.navbar{padding:0 var(--bvs-space-8);height:4rem}}.navbar__brand{display:flex;flex-direction:row;align-items:center;gap:var(--bvs-space-2);text-decoration:none}@media(min-width:768px){.navbar__brand{gap:var(--bvs-space-3)}}.navbar__actions{display:flex;flex-direction:row;align-items:center;margin-left:auto}:host-context([data-theme=dark]) .navbar{background-color:color-mix(in srgb,var(--bvs-color-surface) 25%,transparent);border-bottom-color:#ffffff14}\n"] }]
278
+ }] });
279
+
280
+ /*
281
+ * Public API Surface of @bvs-tech/material
282
+ */
283
+
284
+ /**
285
+ * Generated bundle index. Do not edit.
286
+ */
287
+
288
+ export { AvatarComponent, BadgeComponent, ButtonComponent, CardComponent, FormFieldComponent, InputComponent, MessageComponent, NavbarComponent, ThemeService };
289
+ //# sourceMappingURL=bvs-tech-material.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bvs-tech-material.mjs","sources":["../../../../projects/bvs-lib/src/lib/services/theme.service.ts","../../../../projects/bvs-lib/src/lib/components/atoms/avatar/avatar.component.ts","../../../../projects/bvs-lib/src/lib/components/atoms/badge/badge.component.ts","../../../../projects/bvs-lib/src/lib/components/atoms/button/button.component.ts","../../../../projects/bvs-lib/src/lib/components/atoms/card/card.component.ts","../../../../projects/bvs-lib/src/lib/components/atoms/message/message.component.ts","../../../../projects/bvs-lib/src/lib/components/atoms/input/input.component.ts","../../../../projects/bvs-lib/src/lib/components/molecules/form-field/form-field.component.ts","../../../../projects/bvs-lib/src/lib/components/molecules/form-field/form-field.component.html","../../../../projects/bvs-lib/src/lib/components/organisms/navbar/navbar.component.ts","../../../../projects/bvs-lib/src/lib/components/organisms/navbar/navbar.component.html","../../../../projects/bvs-lib/src/public-api.ts","../../../../projects/bvs-lib/src/bvs-tech-material.ts"],"sourcesContent":["import { Injectable, signal } from '@angular/core';\n\nexport interface CustomThemeConfig {\n brand: string;\n brandHover: string;\n brandActive: string;\n surface: string;\n surfaceSubtle: string;\n surfaceMuted: string;\n textPrimary: string;\n textSecondary: string;\n textDisabled: string;\n border: string;\n borderStrong: string;\n}\n\nexport type PresetBrand = 'default' | 'emerald' | 'sunset' | 'amethyst' | 'ruby';\nexport type ColorScheme = 'light' | 'dark';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ThemeService {\n readonly currentBrand = signal<PresetBrand>('default');\n readonly currentTheme = signal<ColorScheme>('light');\n readonly isCustomTheme = signal<boolean>(false);\n\n constructor() {\n // Initialize default state on DOM if running in browser\n if (typeof document !== 'undefined') {\n this.updateDomAttributes();\n }\n }\n\n setPresetTheme(brand: PresetBrand): void {\n this.isCustomTheme.set(false);\n this.currentBrand.set(brand);\n this.clearCustomStyles();\n this.updateDomAttributes();\n }\n\n setColorScheme(scheme: ColorScheme): void {\n this.currentTheme.set(scheme);\n this.updateDomAttributes();\n }\n\n setCustomTheme(config: CustomThemeConfig): void {\n this.isCustomTheme.set(true);\n \n if (typeof document === 'undefined') return;\n const root = document.documentElement;\n \n // Remove data-brand attribute to let custom inline properties take precedence\n root.removeAttribute('data-brand');\n\n // Dynamically inject custom color properties\n root.style.setProperty('--bvs-color-brand', config.brand);\n root.style.setProperty('--bvs-color-brand-hover', config.brandHover);\n root.style.setProperty('--bvs-color-brand-active', config.brandActive);\n root.style.setProperty('--bvs-color-surface', config.surface);\n root.style.setProperty('--bvs-color-surface-subtle', config.surfaceSubtle);\n root.style.setProperty('--bvs-color-surface-muted', config.surfaceMuted);\n root.style.setProperty('--bvs-color-text-primary', config.textPrimary);\n root.style.setProperty('--bvs-color-text-secondary', config.textSecondary);\n root.style.setProperty('--bvs-color-text-disabled', config.textDisabled);\n root.style.setProperty('--bvs-color-border', config.border);\n root.style.setProperty('--bvs-color-border-strong', config.borderStrong);\n }\n\n private updateDomAttributes(): void {\n if (typeof document === 'undefined') return;\n const root = document.documentElement;\n root.setAttribute('data-theme', this.currentTheme());\n if (!this.isCustomTheme()) {\n root.setAttribute('data-brand', this.currentBrand());\n }\n }\n\n private clearCustomStyles(): void {\n if (typeof document === 'undefined') return;\n const root = document.documentElement;\n root.style.removeProperty('--bvs-color-brand');\n root.style.removeProperty('--bvs-color-brand-hover');\n root.style.removeProperty('--bvs-color-brand-active');\n root.style.removeProperty('--bvs-color-surface');\n root.style.removeProperty('--bvs-color-surface-subtle');\n root.style.removeProperty('--bvs-color-surface-muted');\n root.style.removeProperty('--bvs-color-text-primary');\n root.style.removeProperty('--bvs-color-text-secondary');\n root.style.removeProperty('--bvs-color-text-disabled');\n root.style.removeProperty('--bvs-color-border');\n root.style.removeProperty('--bvs-color-border-strong');\n }\n}\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n/**\n * Avatar atom component — shows user initials in a styled circle.\n */\n@Component({\n selector: 'bvs-avatar',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <div class=\"avatar\" [attr.aria-label]=\"initials\">\n {{ initials }}\n </div>\n `,\n styleUrl: './avatar.component.scss'\n})\nexport class AvatarComponent {\n /** Full name used to derive initials. */\n @Input({ required: true }) fullName!: string;\n\n /** Returns the first letter of the first and last word of fullName. */\n get initials(): string {\n const parts = this.fullName.trim().split(/\\s+/);\n const first = parts[0]?.[0] ?? '';\n const last = parts.length > 1 ? (parts[parts.length - 1]?.[0] ?? '') : '';\n return `${first}${last}`.toUpperCase();\n }\n}\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\nexport type BadgeColor = 'info' | 'success' | 'warning' | 'danger' | 'neutral';\nexport type BadgeSize = 'sm' | 'md' | 'lg';\n\n/**\n * Badge atom — displays a label with semantic coloring and size.\n */\n@Component({\n selector: '[bvs-badge]',\n standalone: true,\n template: '<ng-content></ng-content>',\n styleUrl: './badge.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.badge]': 'true',\n '[class.badge-info]': \"color === 'info'\",\n '[class.badge-success]': \"color === 'success'\",\n '[class.badge-warning]': \"color === 'warning'\",\n '[class.badge-danger]': \"color === 'danger'\",\n '[class.badge-neutral]': \"color === 'neutral'\",\n '[class.badge-sm]': \"size === 'sm'\",\n '[class.badge-md]': \"size === 'md'\",\n '[class.badge-lg]': \"size === 'lg'\"\n }\n})\nexport class BadgeComponent {\n /** Semantic color variant. */\n @Input() color: BadgeColor = 'neutral';\n\n /** Size variant. */\n @Input() size: BadgeSize = 'md';\n}\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\nexport type ButtonVariant = 'primary' | 'secondary' | 'danger' | 'ghost';\nexport type ButtonSize = 'sm' | 'md' | 'lg';\n\n/**\n * Button atom — generic and reusable button component.\n */\n@Component({\n selector: '[bvs-button]',\n standalone: true,\n template: '<ng-content></ng-content>',\n styleUrl: './button.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.btn]': 'true',\n '[class.btn-primary]': \"variant === 'primary'\",\n '[class.btn-secondary]': \"variant === 'secondary'\",\n '[class.btn-danger]': \"variant === 'danger'\",\n '[class.btn-ghost]': \"variant === 'ghost'\",\n '[class.btn-sm]': \"size === 'sm'\",\n '[class.btn-md]': \"size === 'md'\",\n '[class.btn-lg]': \"size === 'lg'\",\n '[class.btn-block]': 'block'\n }\n})\nexport class ButtonComponent {\n /** Semantic variant. */\n @Input() variant: ButtonVariant = 'primary';\n\n /** Size variant. */\n @Input() size: ButtonSize = 'md';\n\n /** Whether the button takes full width. */\n @Input() block = false;\n}\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n/**\n * Card atom — provides a premium container for content.\n */\n@Component({\n selector: '[bvs-card]',\n standalone: true,\n template: '<ng-content></ng-content>',\n styleUrl: './card.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.bvs-card]': 'true'\n }\n})\nexport class CardComponent {}\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\nexport type MessageColor = 'info' | 'success' | 'warning' | 'danger' | 'neutral';\n\n/**\n * Message atom — provides standard feedback messages.\n */\n@Component({\n selector: '[bvs-message]',\n standalone: true,\n template: '<ng-content></ng-content>',\n styleUrl: './message.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.bvs-message]': 'true',\n '[class.bvs-message-neutral]': \"color === 'neutral'\",\n '[class.bvs-message-danger]': \"color === 'danger'\",\n '[class.bvs-message-warning]': \"color === 'warning'\",\n '[class.bvs-message-info]': \"color === 'info'\",\n '[class.bvs-message-success]': \"color === 'success'\"\n }\n})\nexport class MessageComponent {\n /** Color variant matching the feedback status. */\n @Input() color: MessageColor = 'neutral';\n}\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\nexport type InputVariant = 'primary' | 'secondary' | 'danger';\nexport type InputSize = 'sm' | 'md' | 'lg';\n\n/**\n * Input atom — generic and reusable input component.\n */\n@Component({\n selector: 'input[bvs-input], textarea[bvs-input]',\n standalone: true,\n template: '',\n styleUrl: './input.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.bvs-input]': 'true',\n '[class.input-primary]': \"variant === 'primary'\",\n '[class.input-secondary]': \"variant === 'secondary'\",\n '[class.input-danger]': \"variant === 'danger'\",\n '[class.input-sm]': \"size === 'sm'\",\n '[class.input-md]': \"size === 'md'\",\n '[class.input-lg]': \"size === 'lg'\",\n '[class.input-block]': 'block'\n }\n})\nexport class InputComponent {\n /** Semantic variant. */\n @Input() variant: InputVariant = 'primary';\n\n /** Size variant. */\n @Input() size: InputSize = 'md';\n\n /** Whether the input takes full width. */\n @Input() block = false;\n}\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n/**\n * FormField molecule — groups label, input and errors.\n * Implements a premium floating label behaviour for inputs.\n */\n@Component({\n selector: 'bvs-form-field',\n standalone: true,\n templateUrl: './form-field.component.html',\n styleUrl: './form-field.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormFieldComponent {\n /** Label text. */\n @Input({ required: true }) label!: string;\n\n /** ID of the associated input for accessibility. */\n @Input() forId?: string;\n}\n","<div class=\"bvs-form-field\">\n <div class=\"bvs-form-field-container\">\n <ng-content></ng-content>\n <label class=\"bvs-form-field-label\" [attr.for]=\"forId\">\n {{ label }}\n </label>\n </div>\n</div>\n","import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n/**\n * Navbar organism — generic and reusable header component.\n * Provides content slots for brand and actions.\n */\n@Component({\n selector: 'bvs-navbar',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './navbar.component.html',\n styleUrl: './navbar.component.scss'\n})\nexport class NavbarComponent {}\n","<header class=\"navbar\" role=\"banner\">\n <div class=\"navbar__brand\">\n <ng-content select=\"[navbar-brand]\"></ng-content>\n </div>\n\n <nav class=\"navbar__actions\">\n <ng-content select=\"[navbar-actions]\"></ng-content>\n </nav>\n</header>\n","/*\n * Public API Surface of @bvs-tech/material\n */\n\nexport * from './lib/services/theme.service';\nexport * from './lib/components/atoms';\nexport * from './lib/components/molecules';\nexport * from './lib/components/organisms';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"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"}
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@bvs-tech/material",
3
+ "version": "0.0.1",
4
+ "peerDependencies": {
5
+ "@angular/common": "^21.2.0",
6
+ "@angular/core": "^21.2.0"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^2.3.0"
10
+ },
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "sideEffects": false,
15
+ "module": "fesm2022/bvs-tech-material.mjs",
16
+ "typings": "types/bvs-tech-material.d.ts",
17
+ "exports": {
18
+ "./package.json": {
19
+ "default": "./package.json"
20
+ },
21
+ ".": {
22
+ "types": "./types/bvs-tech-material.d.ts",
23
+ "default": "./fesm2022/bvs-tech-material.mjs"
24
+ }
25
+ },
26
+ "type": "module"
27
+ }
@@ -0,0 +1,132 @@
1
+ import * as i0 from '@angular/core';
2
+
3
+ interface CustomThemeConfig {
4
+ brand: string;
5
+ brandHover: string;
6
+ brandActive: string;
7
+ surface: string;
8
+ surfaceSubtle: string;
9
+ surfaceMuted: string;
10
+ textPrimary: string;
11
+ textSecondary: string;
12
+ textDisabled: string;
13
+ border: string;
14
+ borderStrong: string;
15
+ }
16
+ type PresetBrand = 'default' | 'emerald' | 'sunset' | 'amethyst' | 'ruby';
17
+ type ColorScheme = 'light' | 'dark';
18
+ declare class ThemeService {
19
+ readonly currentBrand: i0.WritableSignal<PresetBrand>;
20
+ readonly currentTheme: i0.WritableSignal<ColorScheme>;
21
+ readonly isCustomTheme: i0.WritableSignal<boolean>;
22
+ constructor();
23
+ setPresetTheme(brand: PresetBrand): void;
24
+ setColorScheme(scheme: ColorScheme): void;
25
+ setCustomTheme(config: CustomThemeConfig): void;
26
+ private updateDomAttributes;
27
+ private clearCustomStyles;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
29
+ static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
30
+ }
31
+
32
+ /**
33
+ * Avatar atom component — shows user initials in a styled circle.
34
+ */
35
+ declare class AvatarComponent {
36
+ /** Full name used to derive initials. */
37
+ fullName: string;
38
+ /** Returns the first letter of the first and last word of fullName. */
39
+ get initials(): string;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "bvs-avatar", never, { "fullName": { "alias": "fullName"; "required": true; }; }, {}, never, never, true, never>;
42
+ }
43
+
44
+ type BadgeColor = 'info' | 'success' | 'warning' | 'danger' | 'neutral';
45
+ type BadgeSize = 'sm' | 'md' | 'lg';
46
+ /**
47
+ * Badge atom — displays a label with semantic coloring and size.
48
+ */
49
+ declare class BadgeComponent {
50
+ /** Semantic color variant. */
51
+ color: BadgeColor;
52
+ /** Size variant. */
53
+ size: BadgeSize;
54
+ static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "[bvs-badge]", never, { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
56
+ }
57
+
58
+ type ButtonVariant = 'primary' | 'secondary' | 'danger' | 'ghost';
59
+ type ButtonSize = 'sm' | 'md' | 'lg';
60
+ /**
61
+ * Button atom — generic and reusable button component.
62
+ */
63
+ declare class ButtonComponent {
64
+ /** Semantic variant. */
65
+ variant: ButtonVariant;
66
+ /** Size variant. */
67
+ size: ButtonSize;
68
+ /** Whether the button takes full width. */
69
+ block: boolean;
70
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
71
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "[bvs-button]", never, { "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "block": { "alias": "block"; "required": false; }; }, {}, never, ["*"], true, never>;
72
+ }
73
+
74
+ /**
75
+ * Card atom — provides a premium container for content.
76
+ */
77
+ declare class CardComponent {
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
79
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "[bvs-card]", never, {}, {}, never, ["*"], true, never>;
80
+ }
81
+
82
+ type MessageColor = 'info' | 'success' | 'warning' | 'danger' | 'neutral';
83
+ /**
84
+ * Message atom — provides standard feedback messages.
85
+ */
86
+ declare class MessageComponent {
87
+ /** Color variant matching the feedback status. */
88
+ color: MessageColor;
89
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, never>;
90
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "[bvs-message]", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], true, never>;
91
+ }
92
+
93
+ type InputVariant = 'primary' | 'secondary' | 'danger';
94
+ type InputSize = 'sm' | 'md' | 'lg';
95
+ /**
96
+ * Input atom — generic and reusable input component.
97
+ */
98
+ declare class InputComponent {
99
+ /** Semantic variant. */
100
+ variant: InputVariant;
101
+ /** Size variant. */
102
+ size: InputSize;
103
+ /** Whether the input takes full width. */
104
+ block: boolean;
105
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
106
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "input[bvs-input], textarea[bvs-input]", never, { "variant": { "alias": "variant"; "required": false; }; "size": { "alias": "size"; "required": false; }; "block": { "alias": "block"; "required": false; }; }, {}, never, never, true, never>;
107
+ }
108
+
109
+ /**
110
+ * FormField molecule — groups label, input and errors.
111
+ * Implements a premium floating label behaviour for inputs.
112
+ */
113
+ declare class FormFieldComponent {
114
+ /** Label text. */
115
+ label: string;
116
+ /** ID of the associated input for accessibility. */
117
+ forId?: string;
118
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
119
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "bvs-form-field", never, { "label": { "alias": "label"; "required": true; }; "forId": { "alias": "forId"; "required": false; }; }, {}, never, ["*"], true, never>;
120
+ }
121
+
122
+ /**
123
+ * Navbar organism — generic and reusable header component.
124
+ * Provides content slots for brand and actions.
125
+ */
126
+ declare class NavbarComponent {
127
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, never>;
128
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "bvs-navbar", never, {}, {}, never, ["[navbar-brand]", "[navbar-actions]"], true, never>;
129
+ }
130
+
131
+ export { AvatarComponent, BadgeComponent, ButtonComponent, CardComponent, FormFieldComponent, InputComponent, MessageComponent, NavbarComponent, ThemeService };
132
+ export type { BadgeColor, BadgeSize, ButtonSize, ButtonVariant, ColorScheme, CustomThemeConfig, InputSize, InputVariant, MessageColor, PresetBrand };