@wikicasa-dev/components 2.1.4-alpha.18 → 2.1.4-alpha.19
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/tailwind.config.js +92 -91
- package/package.json +2 -2
package/dist/tailwind.config.js
CHANGED
|
@@ -1,7 +1,92 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from "./_virtual/plugin.js";
|
|
2
2
|
import { buttonPlugin as i } from "./plugins/buttonPlugin.js";
|
|
3
3
|
import n from "./_virtual/defaultTheme.js";
|
|
4
|
-
const
|
|
4
|
+
const e = {
|
|
5
|
+
screens: {
|
|
6
|
+
xs: "360px",
|
|
7
|
+
sm: "640px",
|
|
8
|
+
md: "768px",
|
|
9
|
+
lg: "1024px",
|
|
10
|
+
xl: "1280px"
|
|
11
|
+
},
|
|
12
|
+
fontFamily: {
|
|
13
|
+
sans: ["Poppins", ...n.fontFamily.sans]
|
|
14
|
+
},
|
|
15
|
+
fontWeight: {
|
|
16
|
+
regular: 400,
|
|
17
|
+
medium: 500,
|
|
18
|
+
semibold: 600
|
|
19
|
+
},
|
|
20
|
+
lineHeight: {
|
|
21
|
+
6: "1.5rem",
|
|
22
|
+
7: "1.75rem"
|
|
23
|
+
},
|
|
24
|
+
fontSize: {
|
|
25
|
+
10: "10px",
|
|
26
|
+
12: "12px",
|
|
27
|
+
DEFAULT: "14px",
|
|
28
|
+
16: "16px",
|
|
29
|
+
18: "18px",
|
|
30
|
+
20: "20px",
|
|
31
|
+
22: "22px"
|
|
32
|
+
},
|
|
33
|
+
borderRadius: {
|
|
34
|
+
none: "0",
|
|
35
|
+
"3xs": "4px",
|
|
36
|
+
"2xs": "8px",
|
|
37
|
+
xs: "12px",
|
|
38
|
+
DEFAULT: "20px",
|
|
39
|
+
full: "9999px"
|
|
40
|
+
},
|
|
41
|
+
aspectRatio: {
|
|
42
|
+
"1/1": "1 / 1",
|
|
43
|
+
"4/3": "4 / 3",
|
|
44
|
+
"16/9": "16 / 9"
|
|
45
|
+
},
|
|
46
|
+
opacity: {
|
|
47
|
+
0: 0,
|
|
48
|
+
50: "50%",
|
|
49
|
+
100: "100%"
|
|
50
|
+
},
|
|
51
|
+
colors: {
|
|
52
|
+
"w-pink": "#F20282",
|
|
53
|
+
"w-blue": "#2b5dff",
|
|
54
|
+
"w-darkblue": "#162F80",
|
|
55
|
+
"w-black": "#222222",
|
|
56
|
+
"w-gray": "#6D7687",
|
|
57
|
+
"w-lightgray": "#C1C8D5",
|
|
58
|
+
"w-cultured": "#F4F7FF",
|
|
59
|
+
"w-ghost": "#FAFBFF",
|
|
60
|
+
"w-white": "#FFFFFF",
|
|
61
|
+
"w-red": "#F20003",
|
|
62
|
+
"w-warning": "#FFD167",
|
|
63
|
+
"w-pink-hover": "#E30C79",
|
|
64
|
+
"w-pink-outline-hover": "#FFF8FB",
|
|
65
|
+
"w-blue-hover": "#244FD9",
|
|
66
|
+
transparent: "transparent",
|
|
67
|
+
white: "#fff"
|
|
68
|
+
},
|
|
69
|
+
spacing: {
|
|
70
|
+
0: "0",
|
|
71
|
+
"2xs": "4px",
|
|
72
|
+
xs: "8px",
|
|
73
|
+
sm: "12px",
|
|
74
|
+
md: "16px",
|
|
75
|
+
lg: "24px",
|
|
76
|
+
xl: "32px",
|
|
77
|
+
"2xl": "40px"
|
|
78
|
+
},
|
|
79
|
+
boxShadow: {
|
|
80
|
+
surface: "0px 1px 3px rgba(0,0,0,0.1)"
|
|
81
|
+
},
|
|
82
|
+
dropShadow: {},
|
|
83
|
+
extend: {
|
|
84
|
+
//TEMP: alla fine ci dovranno essere SOLO questi valori per lo spacing (e.g. margin, padding, top,left,right,bottom...)
|
|
85
|
+
aria: {
|
|
86
|
+
invalid: 'invalid="true"'
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}, s = {
|
|
5
90
|
darkMode: ["selector", "[class*='htw-dark']"],
|
|
6
91
|
prefix: "uikit-",
|
|
7
92
|
content: [
|
|
@@ -9,98 +94,13 @@ const p = {
|
|
|
9
94
|
"./lib/**/*.{vue,ts}",
|
|
10
95
|
"./stories/**/*.{story.vue,ts}"
|
|
11
96
|
],
|
|
12
|
-
theme:
|
|
13
|
-
screens: {
|
|
14
|
-
xs: "360px",
|
|
15
|
-
sm: "640px",
|
|
16
|
-
md: "768px",
|
|
17
|
-
lg: "1024px",
|
|
18
|
-
xl: "1280px"
|
|
19
|
-
},
|
|
20
|
-
fontFamily: {
|
|
21
|
-
sans: ["Poppins", ...n.fontFamily.sans]
|
|
22
|
-
},
|
|
23
|
-
fontWeight: {
|
|
24
|
-
regular: 400,
|
|
25
|
-
medium: 500,
|
|
26
|
-
semibold: 600
|
|
27
|
-
},
|
|
28
|
-
lineHeight: {
|
|
29
|
-
6: "1.5rem",
|
|
30
|
-
7: "1.75rem"
|
|
31
|
-
},
|
|
32
|
-
fontSize: {
|
|
33
|
-
10: "10px",
|
|
34
|
-
12: "12px",
|
|
35
|
-
DEFAULT: "14px",
|
|
36
|
-
16: "16px",
|
|
37
|
-
18: "18px",
|
|
38
|
-
20: "20px",
|
|
39
|
-
22: "22px"
|
|
40
|
-
},
|
|
41
|
-
borderRadius: {
|
|
42
|
-
none: "0",
|
|
43
|
-
"3xs": "4px",
|
|
44
|
-
"2xs": "8px",
|
|
45
|
-
xs: "12px",
|
|
46
|
-
DEFAULT: "20px",
|
|
47
|
-
full: "9999px"
|
|
48
|
-
},
|
|
49
|
-
aspectRatio: {
|
|
50
|
-
"1/1": "1 / 1",
|
|
51
|
-
"4/3": "4 / 3",
|
|
52
|
-
"16/9": "16 / 9"
|
|
53
|
-
},
|
|
54
|
-
opacity: {
|
|
55
|
-
0: 0,
|
|
56
|
-
50: "50%",
|
|
57
|
-
100: "100%"
|
|
58
|
-
},
|
|
59
|
-
colors: {
|
|
60
|
-
"w-pink": "#F20282",
|
|
61
|
-
"w-blue": "#2b5dff",
|
|
62
|
-
"w-darkblue": "#162F80",
|
|
63
|
-
"w-black": "#222222",
|
|
64
|
-
"w-gray": "#6D7687",
|
|
65
|
-
"w-lightgray": "#C1C8D5",
|
|
66
|
-
"w-cultured": "#F4F7FF",
|
|
67
|
-
"w-ghost": "#FAFBFF",
|
|
68
|
-
"w-white": "#FFFFFF",
|
|
69
|
-
"w-red": "#F20003",
|
|
70
|
-
"w-warning": "#FFD167",
|
|
71
|
-
"w-pink-hover": "#E30C79",
|
|
72
|
-
"w-pink-outline-hover": "#FFF8FB",
|
|
73
|
-
"w-blue-hover": "#244FD9",
|
|
74
|
-
transparent: "transparent",
|
|
75
|
-
white: "#fff"
|
|
76
|
-
},
|
|
77
|
-
spacing: {
|
|
78
|
-
0: "0",
|
|
79
|
-
"2xs": "4px",
|
|
80
|
-
xs: "8px",
|
|
81
|
-
sm: "12px",
|
|
82
|
-
md: "16px",
|
|
83
|
-
lg: "24px",
|
|
84
|
-
xl: "32px",
|
|
85
|
-
"2xl": "40px"
|
|
86
|
-
},
|
|
87
|
-
boxShadow: {
|
|
88
|
-
surface: "0px 1px 3px rgba(0,0,0,0.1)"
|
|
89
|
-
},
|
|
90
|
-
dropShadow: {},
|
|
91
|
-
extend: {
|
|
92
|
-
//TEMP: alla fine ci dovranno essere SOLO questi valori per lo spacing (e.g. margin, padding, top,left,right,bottom...)
|
|
93
|
-
aria: {
|
|
94
|
-
invalid: 'invalid="true"'
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
},
|
|
97
|
+
theme: e,
|
|
98
98
|
corePlugins: {
|
|
99
99
|
preflight: !1
|
|
100
100
|
},
|
|
101
101
|
plugins: [
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
o(function({ addUtilities: t }) {
|
|
103
|
+
t({
|
|
104
104
|
".no-scrollbar": {
|
|
105
105
|
"-ms-overflow-style": "none",
|
|
106
106
|
scrollbarWidth: "none",
|
|
@@ -139,5 +139,6 @@ const p = {
|
|
|
139
139
|
]
|
|
140
140
|
};
|
|
141
141
|
export {
|
|
142
|
-
|
|
142
|
+
s as default,
|
|
143
|
+
e as twTheme
|
|
143
144
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wikicasa-dev/components",
|
|
3
|
-
"version": "2.1.4-alpha.
|
|
3
|
+
"version": "2.1.4-alpha.19",
|
|
4
4
|
"description": "Wikicasa frontend components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"types": "./dist/chart/*.d.ts"
|
|
32
32
|
},
|
|
33
33
|
"./plugins/buttonPlugin": "./plugins/buttonPlugin.ts",
|
|
34
|
-
"./tailwind.config": "./tailwind.config.js"
|
|
34
|
+
"./tailwind.config": "./dist/tailwind.config.js"
|
|
35
35
|
},
|
|
36
36
|
"repository": {
|
|
37
37
|
"type": "git",
|