@weing-dev/ui-kit-primitive 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,5 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M4 5H20C20.55 5 21 4.55 21 4C21 3.45 20.55 3 20 3H4C3.45 3 3 3.45 3 4C3 4.55 3.45 5 4 5Z" fill="#1C252E"/>
3
+ <path d="M20 19H4C3.45 19 3 19.45 3 20C3 20.55 3.45 21 4 21H20C20.55 21 21 20.55 21 20C21 19.45 20.55 19 20 19Z" fill="#1C252E"/>
4
+ <path d="M20 11H4C3.45 11 3 11.45 3 12C3 12.55 3.45 13 4 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11Z" fill="#1C252E"/>
5
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M20 2H4C2.9 2 2.01 2.9 2.01 4L2 22L6 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2ZM20 16H5.17L4 17.17V4H20V16ZM11 12H13V14H11V12ZM11 6H13V10H11V6Z" fill="#1C252E"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M18 15V18H6V15H4V18C4 19.1 4.9 20 6 20H18C19.1 20 20 19.1 20 18V15H18ZM17 11L15.59 9.59L13 12.17V4H11V12.17L8.41 9.59L7 11L12 16L17 11Z" fill="#1C252E"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M3.33594 12.0003H12.6693V13.3337H3.33594V12.0003ZM6.4026 10.2003L3.33594 7.13366L4.66927 5.86699L6.4026 7.60033L11.3359 2.66699L12.6693 4.00033L6.4026 10.2003Z" fill="#919EAB"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20ZM11.78 7H11.72C11.32 7 11 7.32 11 7.72V12.44C11 12.79 11.18 13.12 11.49 13.3L15.64 15.79C15.98 15.99 16.42 15.89 16.62 15.55C16.83 15.21 16.72 14.76 16.37 14.56L12.5 12.26V7.72C12.5 7.32 12.18 7 11.78 7Z" fill="#1C252E"/>
3
+ </svg>
@@ -1,6 +1,102 @@
1
- export declare const variableLight: ColorType;
1
+ export declare const colorThemes: {
2
+ light: {
3
+ textPrimary: "#1c252e";
4
+ textSecondary: "#637381";
5
+ textTertiary: "#919eab";
6
+ textDisabled: "#c4cdd5";
7
+ backgroundDefault: "#ffffff";
8
+ backgroundPaper: "#ffffff";
9
+ backgroundSecond: string;
10
+ backgroundNeutral: "#f9fafb";
11
+ shadow8: string;
12
+ shadow12: string;
13
+ shadow20: string;
14
+ componentTextfieldFilled: string;
15
+ componentTextfieldUnderline: string;
16
+ componentTextfieldOutline: string;
17
+ actionHover: string;
18
+ actionDisabled: string;
19
+ actionDisabledBackground: string;
20
+ actionSelected: string;
21
+ actionFocus: string;
22
+ textError: "#f5222d";
23
+ textSuccess: "#1cc95c";
24
+ actionAction: "#919eab";
25
+ textWarning: "#ffab00";
26
+ textContrast: "#ffffff";
27
+ inheritColor: "#ffffff";
28
+ inheritBgcolor: "#1c252e";
29
+ inheritHover: "#454f5b";
30
+ swapDarkLightRed: "#b71d18";
31
+ swapDarkLightLightGreen: "#118d57";
32
+ swapDarkLightDeepGreen: "#007867";
33
+ swapDarkLightCyanBlue: "#006c9c";
34
+ swapDarkLightPurple: "#5119b7";
35
+ swapDarkLightGold: "#b76e00";
36
+ swapDarkLightBlue: "#063ba7";
37
+ swapDarkLightPrimary: "#007867";
38
+ };
39
+ dark: {
40
+ textPrimary: "#ffffff";
41
+ textSecondary: "#c4cdd5";
42
+ textTertiary: "#919eab";
43
+ textDisabled: "#637381";
44
+ backgroundDefault: "#141a21";
45
+ backgroundPaper: "#1c252e";
46
+ backgroundSecond: "#454f5b";
47
+ backgroundNeutral: string;
48
+ shadow8: string;
49
+ shadow12: string;
50
+ shadow20: string;
51
+ componentTextfieldFilled: string;
52
+ componentTextfieldUnderline: string;
53
+ componentTextfieldOutline: string;
54
+ actionHover: string;
55
+ actionDisabled: string;
56
+ actionDisabledBackground: string;
57
+ actionSelected: string;
58
+ actionFocus: string;
59
+ textError: "#f5222d";
60
+ textSuccess: "#1cc95c";
61
+ actionAction: "#c4cdd5";
62
+ textWarning: "#ffab00";
63
+ textContrast: "#000000";
64
+ inheritColor: "#1c252e";
65
+ inheritBgcolor: "#ffffff";
66
+ inheritHover: "#c4cdd5";
67
+ swapDarkLightRed: "#ff8587";
68
+ swapDarkLightLightGreen: "#77ed8b";
69
+ swapDarkLightDeepGreen: "#5be49b";
70
+ swapDarkLightCyanBlue: "#61f3f3";
71
+ swapDarkLightPurple: "#c684ff";
72
+ swapDarkLightGold: "#ffd666";
73
+ swapDarkLightBlue: "#6bb1f8";
74
+ swapDarkLightPrimary: "#5be49b";
75
+ };
76
+ primary: {
77
+ pLighter: "#c8fad6";
78
+ pLight: "#5be49b";
79
+ pMain: "#00a76f";
80
+ pDark: "#007867";
81
+ pDarker: "#00373b";
82
+ p4: string;
83
+ p8: string;
84
+ p12: string;
85
+ p16: string;
86
+ p20: string;
87
+ p24: string;
88
+ p32: string;
89
+ p40: string;
90
+ p48: string;
91
+ pContrastText: "#ffffff";
92
+ };
93
+ };
2
94
  export declare const themes: {
3
- readonly light: string;
4
- readonly dark: string;
95
+ readonly light: any;
96
+ readonly dark: any;
97
+ readonly primary: any;
98
+ readonly base: any;
99
+ readonly simentic: any;
100
+ readonly transparent: any;
5
101
  };
6
- export declare const themedPalette: ColorType;
102
+ export declare const themedPalette: any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@weing-dev/ui-kit-primitive",
3
3
  "private": false,
4
- "version": "0.0.4",
4
+ "version": "0.0.6",
5
5
  "type": "module",
6
6
  "sideEffects": [
7
7
  "**/*.css"
@@ -1,4 +0,0 @@
1
- export default function useColorScheme(colorScheme?: string): {
2
- backgroundColor: string;
3
- tintColor: string;
4
- } | undefined;
@@ -1,102 +0,0 @@
1
- export declare const colorThemes: {
2
- light: {
3
- textPrimary: "#1c252e";
4
- textSecondary: "#637381";
5
- textTertiary: "#919eab";
6
- textDisabled: "#c4cdd5";
7
- backgroundDefault: "#ffffff";
8
- backgroundPaper: "#ffffff";
9
- backgroundSecond: string;
10
- backgroundNeutral: "#f9fafb";
11
- shadow8: string;
12
- shadow12: string;
13
- shadow20: string;
14
- componentTextfieldFilled: string;
15
- componentTextfieldUnderline: string;
16
- componentTextfieldOutline: string;
17
- actionHover: string;
18
- actionDisabled: string;
19
- actionDisabledBackground: string;
20
- actionSelected: string;
21
- actionFocus: string;
22
- textError: "#f5222d";
23
- textSuccess: "#1cc95c";
24
- actionAction: "#919eab";
25
- textWarning: "#ffab00";
26
- textContrast: "#ffffff";
27
- inheritColor: "#ffffff";
28
- inheritBgcolor: "#1c252e";
29
- inheritHover: "#454f5b";
30
- swapDarkLightRed: "#b71d18";
31
- swapDarkLightLightGreen: "#118d57";
32
- swapDarkLightDeepGreen: "#007867";
33
- swapDarkLightCyanBlue: "#006c9c";
34
- swapDarkLightPurple: "#5119b7";
35
- swapDarkLightGold: "#b76e00";
36
- swapDarkLightBlue: "#063ba7";
37
- swapDarkLightPrimary: "#007867";
38
- };
39
- dark: {
40
- textPrimary: "#ffffff";
41
- textSecondary: "#c4cdd5";
42
- textTertiary: "#919eab";
43
- textDisabled: "#637381";
44
- backgroundDefault: "#141a21";
45
- backgroundPaper: "#1c252e";
46
- backgroundSecond: "#454f5b";
47
- backgroundNeutral: string;
48
- shadow8: string;
49
- shadow12: string;
50
- shadow20: string;
51
- componentTextfieldFilled: string;
52
- componentTextfieldUnderline: string;
53
- componentTextfieldOutline: string;
54
- actionHover: string;
55
- actionDisabled: string;
56
- actionDisabledBackground: string;
57
- actionSelected: string;
58
- actionFocus: string;
59
- textError: "#f5222d";
60
- textSuccess: "#1cc95c";
61
- actionAction: "#c4cdd5";
62
- textWarning: "#ffab00";
63
- textContrast: "#000000";
64
- inheritColor: "#1c252e";
65
- inheritBgcolor: "#ffffff";
66
- inheritHover: "#c4cdd5";
67
- swapDarkLightRed: "#ff8587";
68
- swapDarkLightLightGreen: "#77ed8b";
69
- swapDarkLightDeepGreen: "#5be49b";
70
- swapDarkLightCyanBlue: "#61f3f3";
71
- swapDarkLightPurple: "#c684ff";
72
- swapDarkLightGold: "#ffd666";
73
- swapDarkLightBlue: "#6bb1f8";
74
- swapDarkLightPrimary: "#5be49b";
75
- };
76
- primary: {
77
- pLighter: "#c8fad6";
78
- pLight: "#5be49b";
79
- pMain: "#00a76f";
80
- pDark: "#007867";
81
- pDarker: "#00373b";
82
- p4: string;
83
- p8: string;
84
- p12: string;
85
- p16: string;
86
- p20: string;
87
- p24: string;
88
- p32: string;
89
- p40: string;
90
- p48: string;
91
- pContrastText: "#ffffff";
92
- };
93
- };
94
- export declare const themes: {
95
- readonly light: any;
96
- readonly dark: any;
97
- readonly primary: any;
98
- readonly base: any;
99
- readonly simentic: any;
100
- readonly transparent: any;
101
- };
102
- export declare const themedPalette: any;