@sk-web-gui/core 0.1.21 → 0.1.24

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.21",
3
+ "version": "0.1.24",
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": "b3ceb612ca47ce8b23106092f53d7754ad33245a"
34
+ "gitHead": "b85a2130fa449e58e424f62eaa093871e3a71ff9"
35
35
  }
@@ -1,6 +1,6 @@
1
1
  module.exports = Link = () => ({
2
2
  ".link": {
3
- "@apply cursor-base no-underline outline-none hover:underline": {},
3
+ "@apply cursor-base underline outline-none hover:underline": {},
4
4
  "@apply text-primary dark:text-primary": {},
5
5
  "@apply focus-visible:ring-4 focus-visible:ring-primary": {},
6
6
 
@@ -1,29 +1,68 @@
1
1
  module.exports = Message = () => ({
2
2
  ".message": {
3
- "@apply max-w-2xl flex items-center px-3 py-1.5 m-2 text-sm rounded-base shadow-sm w-max break-words": {},
4
- "@apply text-neutral-900 bg-white border border-neutral-200": {},
3
+ "@apply max-w-2xl flex items-center font-bold text-sm sm:text-base px-6 py-6 m-2 shadow-lg w-max break-words": {},
4
+ "@apply text-neutral-900 bg-white border-l-4": {},
5
5
  // dark
6
6
  "@apply dark:text-neutral-100 dark:bg-neutral-700 dark:border-neutral-600": {},
7
- },
7
+ "minWidth": "520px",
8
+ "width": "520px",
8
9
 
9
- ".message-icon": {
10
- "@apply mr-2 flex-shrink-0": {},
10
+ "&-text": {
11
+ "@apply text-left flex-grow": {},
12
+ },
11
13
 
12
14
  "&-info": {
13
15
  "--tw-text-opacity": "1",
14
- color: "rgba(59, 130, 246, var(--tw-text-opacity))",
16
+ "borderColor": "rgba(59, 130, 246, var(--tw-text-opacity))",
17
+
18
+ ".message-icon": {
19
+ "color": "rgba(59, 130, 246, var(--tw-text-opacity))",
20
+ },
21
+
15
22
  },
16
23
  "&-success": {
17
24
  "--tw-text-opacity": "1",
18
- color: "rgba(34, 197, 94, var(--tw-text-opacity))",
25
+ "borderColor": "rgba(34, 197, 94, var(--tw-text-opacity))",
26
+
27
+ ".message-icon": {
28
+ "color": "rgba(34, 197, 94, var(--tw-text-opacity))",
29
+ },
19
30
  },
20
31
  "&-error": {
21
32
  "--tw-text-opacity": "1",
22
- color: "rgba(239, 68, 68, var(--tw-text-opacity))",
33
+ "borderColor": "rgba(239, 68, 68, var(--tw-text-opacity))",
34
+
35
+ ".message-icon": {
36
+ "color": "rgba(239, 68, 68, var(--tw-text-opacity))",
37
+ },
23
38
  },
24
39
  "&-warning": {
25
40
  "--tw-text-opacity": "1",
26
- color: "rgba(234, 179, 8, var(--tw-text-opacity))",
41
+ "borderColor": "rgba(234, 179, 8, var(--tw-text-opacity))",
42
+
43
+ ".message-icon": {
44
+ "color": "rgba(234, 179, 8, var(--tw-text-opacity))",
45
+ },
46
+ },
47
+ },
48
+
49
+ ".message-icon": {
50
+ "@apply mr-4 flex-shrink-0 w-10 h-10": {},
51
+ },
52
+
53
+ ".message-close-button": {
54
+ "@apply border-transparent flex items-center justify-center transition-all duration-150 rounded-full outline-none cursor-base": {},
55
+ fontSize: "1.2em",
56
+ padding: "0.36em",
57
+ marginLeft: "0.25em",
58
+ marginRight: "-0.55em",
59
+
60
+ "&-icon": {
61
+ fontSize: "1em"
62
+ },
63
+
64
+ "&-disabled": {
65
+ "@apply disabled:opacity-40 disabled:cursor-not-allowed disabled:shadow-none": {},
27
66
  },
28
67
  },
29
68
  });
@@ -38,7 +38,7 @@ module.exports = ZebraTable = () => ({
38
38
  },
39
39
 
40
40
  "&-more": {
41
- "@apply text-gray-300": {},
41
+ "@apply text-gray-stroke": {},
42
42
  },
43
43
  },
44
44
  },
@@ -64,7 +64,11 @@ module.exports = ZebraTable = () => ({
64
64
  },
65
65
 
66
66
  "&-paginationwrapper": {
67
- "@apply px-lg my-lg w-full text-lg flex justify-center lg:justify-start": {},
67
+ "@apply w-full text-lg flex justify-center lg:justify-start": {},
68
+ },
69
+
70
+ "&-bottomwrapper": {
71
+ "@apply mt-lg px-lg flex items-center justify-end": {},
68
72
  },
69
73
  },
70
74
  });
package/src/index.js CHANGED
@@ -141,6 +141,7 @@ module.exports = plugin.withOptions(
141
141
  extend: {
142
142
  colors: {
143
143
  ...colors,
144
+ current: 'currentColor',
144
145
  gray: {
145
146
  DEFAULT: "#4b4b4b",
146
147
  stroke: "#939393",