@bricks-toolkit/toolkit 0.1.11 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/phone/index.d.mts +1 -0
- package/dist/phone/index.d.ts +1 -0
- package/dist/theme.css +62 -0
- package/package.json +1 -1
package/dist/phone/index.d.mts
CHANGED
|
@@ -13,6 +13,7 @@ interface PhoneProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'
|
|
|
13
13
|
onChange?: (value: PhoneValue) => void;
|
|
14
14
|
showFlag?: boolean;
|
|
15
15
|
defaultCountryCode?: string;
|
|
16
|
+
defaultCountry?: string;
|
|
16
17
|
label?: string;
|
|
17
18
|
required?: boolean;
|
|
18
19
|
helperText?: string;
|
package/dist/phone/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ interface PhoneProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'
|
|
|
13
13
|
onChange?: (value: PhoneValue) => void;
|
|
14
14
|
showFlag?: boolean;
|
|
15
15
|
defaultCountryCode?: string;
|
|
16
|
+
defaultCountry?: string;
|
|
16
17
|
label?: string;
|
|
17
18
|
required?: boolean;
|
|
18
19
|
helperText?: string;
|
package/dist/theme.css
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
@theme {
|
|
2
|
+
/* Brand & Status Colors */
|
|
3
|
+
--color-primary: var(--primary);
|
|
4
|
+
--color-primary-hover: var(--primary-hover);
|
|
5
|
+
--color-primary-active: var(--primary-active);
|
|
6
|
+
--color-secondary: var(--secondary);
|
|
7
|
+
--color-secondary-hover: var(--secondary-hover);
|
|
8
|
+
--color-accent: var(--accent);
|
|
9
|
+
--color-success: var(--success);
|
|
10
|
+
--color-warning: var(--warning);
|
|
11
|
+
--color-error: var(--error);
|
|
12
|
+
--color-info: var(--info);
|
|
13
|
+
|
|
14
|
+
/* Layout & Surface Colors */
|
|
15
|
+
--color-background: var(--background);
|
|
16
|
+
--color-surface: var(--surface);
|
|
17
|
+
--color-surface-secondary: var(--surface-secondary);
|
|
18
|
+
--color-border: var(--border);
|
|
19
|
+
--color-border-light: var(--border-light);
|
|
20
|
+
--color-divider: var(--divider);
|
|
21
|
+
|
|
22
|
+
/* Text Colors */
|
|
23
|
+
--color-text: var(--text);
|
|
24
|
+
--color-text-secondary: var(--text-secondary);
|
|
25
|
+
--color-text-muted: var(--text-muted);
|
|
26
|
+
--color-text-inverse: var(--text-inverse);
|
|
27
|
+
|
|
28
|
+
/* Interaction Colors */
|
|
29
|
+
--color-hover: var(--hover);
|
|
30
|
+
--color-active: var(--active);
|
|
31
|
+
--color-focus: var(--focus);
|
|
32
|
+
--color-disabled: var(--disabled);
|
|
33
|
+
|
|
34
|
+
/* Semantic Mappings (Shadcn-like) */
|
|
35
|
+
--color-primary-foreground: var(--text-inverse);
|
|
36
|
+
--color-secondary-foreground: var(--text);
|
|
37
|
+
--color-muted: var(--surface-secondary);
|
|
38
|
+
--color-muted-foreground: var(--text-muted);
|
|
39
|
+
--color-accent-foreground: var(--text-inverse);
|
|
40
|
+
--color-destructive: var(--error);
|
|
41
|
+
--color-destructive-foreground: var(--text-inverse);
|
|
42
|
+
|
|
43
|
+
/* Shadows */
|
|
44
|
+
--shadow-sm: var(--shadow-sm);
|
|
45
|
+
--shadow-md: var(--shadow-md);
|
|
46
|
+
--shadow-lg: var(--shadow-lg);
|
|
47
|
+
--shadow-xl: var(--shadow-xl);
|
|
48
|
+
--shadow-2xl: var(--shadow-2xl);
|
|
49
|
+
--shadow-premium: var(--shadow-premium);
|
|
50
|
+
|
|
51
|
+
/* Durations */
|
|
52
|
+
--duration-fast: 150ms;
|
|
53
|
+
--duration-normal: 250ms;
|
|
54
|
+
--duration-slow: 400ms;
|
|
55
|
+
|
|
56
|
+
/* Z-Index */
|
|
57
|
+
--z-index-dropdown: 1000;
|
|
58
|
+
--z-index-sticky: 1020;
|
|
59
|
+
--z-index-popover: 1030;
|
|
60
|
+
--z-index-modal: 1050;
|
|
61
|
+
--z-index-tooltip: 1100;
|
|
62
|
+
}
|