@sk-web-gui/core 0.1.67 → 0.1.69

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.67",
3
+ "version": "0.1.69",
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": "3b28fd1c88425187460540587be093692cf39cd4"
34
+ "gitHead": "cf9972a698d4a67ac84b760495fd2f6018fcabb5"
35
35
  }
@@ -34,7 +34,7 @@ module.exports = Accordion = (colors) => ({
34
34
  },
35
35
 
36
36
  '&-body': {
37
- '@apply h-0 overflow-hidden m-lg': {},
37
+ '@apply h-0 overflow-hidden': {},
38
38
  transitionProperty: 'visibility, height, padding, margin',
39
39
  transitionTimingFunction: 'cubic-bezier(0.4, 0, 0.2, 1)',
40
40
  transitionDuration: '180ms',
@@ -59,6 +59,17 @@ module.exports = Accordion = (colors) => ({
59
59
  },
60
60
  },
61
61
 
62
+ '&-alert': {
63
+ '@apply border border-warning': {},
64
+ '.accordion-header': {
65
+ '@apply bg-warning-light text-warning': {},
66
+
67
+ '[aria-expanded="true"] &': {
68
+ '@apply bg-warning-light': {},
69
+ },
70
+ },
71
+ },
72
+
62
73
  '&-is-open': {
63
74
  '@apply border border-gray-stroke': {},
64
75
  '& .accordion-header': {
@@ -66,7 +77,14 @@ module.exports = Accordion = (colors) => ({
66
77
  },
67
78
  },
68
79
 
69
- '&-is-open &-body': {
80
+ '&-is-open-alert': {
81
+ '@apply border border-warning': {},
82
+ '& .accordion-header': {
83
+ '@apply border-b border-warning': {},
84
+ },
85
+ },
86
+
87
+ '&-is-open &-body &-is-open-alert': {
70
88
  '@apply overflow-visible animate-reset-overflow': {},
71
89
  },
72
90