@sk-web-gui/core 0.1.60 → 0.1.61
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/package.json +2 -2
- package/src/components/forms.js +4 -0
- package/src/components/search-bar.js +14 -43
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sk-web-gui/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.61",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"postcss-import": "^14.0.2",
|
|
32
32
|
"tailwindcss": "^2.2.4"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "1ff31bc3f4d19b088ee9e6dbcbfd3ffeb80045ab"
|
|
35
35
|
}
|
package/src/components/forms.js
CHANGED
|
@@ -218,6 +218,10 @@ module.exports = Forms = (colors) => ({
|
|
|
218
218
|
//"@apply disabled:border-neutral-200 disabled:bg-neutral-200": {},
|
|
219
219
|
//"@apply dark:disabled:border-transparent dark:disabled:bg-white/20": {},
|
|
220
220
|
},
|
|
221
|
+
|
|
222
|
+
"&[data-rounded='true']": {
|
|
223
|
+
borderRadius: '3.2rem',
|
|
224
|
+
},
|
|
221
225
|
|
|
222
226
|
// variants
|
|
223
227
|
...fieldOutline(colors),
|
|
@@ -1,46 +1,17 @@
|
|
|
1
1
|
module.exports = SearchBar = () => ({
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
border: "1px solid #939393",
|
|
6
|
-
borderRadius: 200,
|
|
7
|
-
overflow: "hidden",
|
|
8
|
-
height: 44,
|
|
9
|
-
|
|
10
|
-
"input": {
|
|
11
|
-
border: "none",
|
|
12
|
-
position: "absolute",
|
|
13
|
-
top: 0,
|
|
14
|
-
left: 0,
|
|
15
|
-
flexGrow: 1,
|
|
16
|
-
width: "100%",
|
|
17
|
-
height: "inherit",
|
|
18
|
-
fontFamily: "Arial",
|
|
19
|
-
fontStyle: "normal",
|
|
20
|
-
fontWeight: 400,
|
|
21
|
-
fontSize: 14,
|
|
22
|
-
lineHeight: 20,
|
|
23
|
-
color: "#4B4B4B",
|
|
24
|
-
padding: "0px 44px 0px 16px"
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
".search-icon": {
|
|
28
|
-
border: "none",
|
|
29
|
-
display: "flex",
|
|
30
|
-
height: 42,
|
|
31
|
-
width: 44,
|
|
32
|
-
justifyContent: "center",
|
|
33
|
-
alignItems: "center",
|
|
34
|
-
position: "absolute",
|
|
35
|
-
top: 0,
|
|
36
|
-
right: 0,
|
|
2
|
+
'.SearchBar': {
|
|
3
|
+
width: '100%',
|
|
4
|
+
position: 'relative',
|
|
37
5
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
6
|
+
'.search-button': {
|
|
7
|
+
'@apply flex items-center absolute inset-y-0 right-md text-primary': {},
|
|
8
|
+
'&-icon': {
|
|
9
|
+
'@apply !text-2xl': {},
|
|
43
10
|
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
11
|
+
'&.small': {
|
|
12
|
+
'@apply h-[13px] w-[13px]': {},
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
});
|