@sk-web-gui/core 0.1.13 → 0.1.14

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.13",
3
+ "version": "0.1.14",
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": "23cd898ff3d845c794ff3daa56aea2a24ee83463"
34
+ "gitHead": "ebb235c3ed87619909da8bd14417e1ccfb2bf594"
35
35
  }
@@ -1,9 +1,5 @@
1
1
  module.exports = Accordion = () => ({
2
-
3
2
  ".accordion": {
4
- //"@apply": {},
5
- //padding: "2.4rem",
6
-
7
3
  "@apply border border-gray-stroke": {},
8
4
 
9
5
  "&-header": {
@@ -19,9 +15,10 @@ module.exports = Accordion = () => ({
19
15
  },
20
16
 
21
17
  "&-toggle": {
22
- "@apply flex text-left text-lg m-4 inline-block": {},
18
+ "@apply flex inline-block text-lg leading-lg text-left text-lg mx-lg my-md": {},
19
+ fontWeight: "bold",
23
20
  //"@apply focus-visible:shadow shadow-lg": {},
24
- "&:focus-visible, &:focus": {
21
+ "&:focus-visible": {
25
22
  boxShadow: "0 0 0 0.4rem #fff!important",
26
23
  outline: "0",
27
24
  //"@apply border-4": {},
@@ -29,13 +26,17 @@ module.exports = Accordion = () => ({
29
26
  },
30
27
 
31
28
  "&-body": {
32
- "@apply transition-all h-0 hidden overflow-hidden": {},
33
- transitionProperty: "height",
29
+ "@apply h-0 overflow-hidden m-lg": {},
30
+ transitionProperty: "height, padding, margin",
34
31
  transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
35
- transitionDuration: "150m",
32
+ transitionDuration: "180ms",
33
+
34
+ "&[aria-hidden=\"true\"], &[data-hidden=\"true\"]": {
35
+ "@apply my-0": {},
36
+ },
36
37
 
37
38
  "&[aria-hidden=\"false\"], &[data-hidden=\"false\"]": {
38
- "@apply block h-auto p-lg": {},
39
+ "@apply block h-auto": {},
39
40
  },
40
41
  },
41
42
  },