@sk-web-gui/core 0.1.60 → 0.1.63

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sk-web-gui/core",
3
- "version": "0.1.60",
3
+ "version": "0.1.63",
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": "86945dfcc34c778442b9217bc306f4e4d9272c12"
34
+ "gitHead": "6b982da313408bdd0a197389fb6454b9dff3a4a9"
35
35
  }
@@ -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
- ".SearchBar": {
3
- width: "100%",
4
- position: "relative",
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
- "svg.small": {
39
- height: 13,
40
- width: 13
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
+ });
@@ -9,6 +9,10 @@ module.exports = Menu = () => ({
9
9
  '@apply text-xl font-bold text-white': {},
10
10
  },
11
11
 
12
+ '.label-small': {
13
+ '@apply text-[1.6rem]': {},
14
+ },
15
+
12
16
  '.label-button': {
13
17
  '@apply w-full justify-between p-0': {},
14
18
 
@@ -25,6 +29,7 @@ module.exports = Menu = () => ({
25
29
  },
26
30
  },
27
31
  },
32
+
28
33
 
29
34
  '.menu-body': {
30
35
  '@apply border border-gray-stroke': {},
@@ -66,22 +71,26 @@ module.exports = Menu = () => ({
66
71
  },
67
72
  },
68
73
 
69
- '&.lvl-1, &.lvl-2, &.lvl-3, &.lvl-4, &.lvl-5, &.lvl-6, &.lvl-7, &.lvl-8, &.lvl-9, &.lvl-10': {
70
- // '.MenuItem-link ': {
71
- // '@apply py-sm': {},
72
- // },
73
- // '@apply py-sm': {},
74
- '> .wrapper ': {
75
- '@apply min-h-[48px]': {},
74
+ /*'&.lvl-1, &.lvl-2, &.lvl-3, &.lvl-4, &.lvl-5, &.lvl-6, &.lvl-7, &.lvl-8, &.lvl-9, &.lvl-10': {
75
+ '.MenuItem-link ': {
76
+ '@apply py-sm': {},
76
77
  },
78
+ '@apply py-sm': {},
77
79
  },
80
+ */
78
81
 
79
82
  '&.isSubNode': {
80
83
  '@apply bg-gray-lighter': {},
84
+ '> .wrapper ': {
85
+ '@apply min-h-[56px]': {},
86
+ },
81
87
  },
82
88
 
83
89
  '&.isLeafNode': {
84
90
  '@apply bg-gray-middle': {},
91
+ '> .wrapper ': {
92
+ '@apply min-h-[48px]': {},
93
+ },
85
94
  },
86
95
 
87
96
  '&.lvl-0': {