@pingux/astro 1.0.0-alpha.15 → 1.0.0-alpha.16
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/CHANGELOG.md +11 -0
- package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.stories.js +4 -11
- package/lib/cjs/styles/variants/accordion.js +5 -7
- package/lib/components/AccordionGridGroup/AccordionGridGroup.stories.js +4 -11
- package/lib/styles/variants/accordion.js +5 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,17 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
# [1.0.0-alpha.16](https://gitlab.corp.pingidentity.com/ux/pingux/compare/@pingux/astro@1.0.0-alpha.15...@pingux/astro@1.0.0-alpha.16) (2022-01-13)
|
7
|
+
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
* [UIP-4962] accordion grid design improvements ([dcec402](https://gitlab.corp.pingidentity.com/ux/pingux/commit/dcec4025f945968e20386bc20ad011f48532acc7))
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
6
17
|
# [1.0.0-alpha.15](https://gitlab.corp.pingidentity.com/ux/pingux/compare/@pingux/astro@1.0.0-alpha.14...@pingux/astro@1.0.0-alpha.15) (2022-01-13)
|
7
18
|
|
8
19
|
**Note:** Version bump only for package @pingux/astro
|
@@ -108,8 +108,6 @@ var Default = function Default() {
|
|
108
108
|
return (0, _react2.jsx)(_index.Box, {
|
109
109
|
isRow: true,
|
110
110
|
sx: {
|
111
|
-
pt: '12px',
|
112
|
-
pb: '12px',
|
113
111
|
flexGrow: 1
|
114
112
|
}
|
115
113
|
}, (0, _react2.jsx)(_index.Box, {
|
@@ -154,20 +152,14 @@ var Default = function Default() {
|
|
154
152
|
sx: {
|
155
153
|
mr: '4px',
|
156
154
|
height: '26px',
|
157
|
-
width: '26px'
|
158
|
-
'path': {
|
159
|
-
fill: 'active'
|
160
|
-
}
|
155
|
+
width: '26px'
|
161
156
|
}
|
162
157
|
}, (0, _react2.jsx)(_CreateIcon["default"], null)), (0, _react2.jsx)(_index.IconButton, {
|
163
158
|
"aria-label": "vertical-lines-icon",
|
164
159
|
sx: {
|
165
160
|
mr: '4px',
|
166
161
|
height: '26px',
|
167
|
-
width: '26px'
|
168
|
-
'path': {
|
169
|
-
fill: 'active'
|
170
|
-
}
|
162
|
+
width: '26px'
|
171
163
|
}
|
172
164
|
}, (0, _react2.jsx)(_MoreVertIcon["default"], null)))));
|
173
165
|
};
|
@@ -310,7 +302,8 @@ var Default = function Default() {
|
|
310
302
|
item: item
|
311
303
|
}), item.key !== 'Organization' ? (0, _react2.jsx)(_index.Separator, {
|
312
304
|
sx: {
|
313
|
-
m: 0
|
305
|
+
m: 0,
|
306
|
+
bg: 'neutral.90'
|
314
307
|
}
|
315
308
|
}) : null);
|
316
309
|
}))
|
@@ -37,10 +37,10 @@ var accordionBody = {
|
|
37
37
|
var accordionGridHeader = {
|
38
38
|
cursor: 'pointer',
|
39
39
|
lineHeight: '30px',
|
40
|
-
|
40
|
+
pl: 'sm',
|
41
41
|
outline: 'none',
|
42
42
|
display: 'flex',
|
43
|
-
justifyContent: '
|
43
|
+
justifyContent: 'center',
|
44
44
|
flexShrink: 0,
|
45
45
|
wordBreak: 'inherit',
|
46
46
|
whiteSpace: 'nowrap',
|
@@ -54,12 +54,9 @@ var accordionGridHeader = {
|
|
54
54
|
WebkitBoxShadow: 'focus',
|
55
55
|
MozBoxShadow: 'focus'
|
56
56
|
},
|
57
|
-
|
57
|
+
minHeight: '64px',
|
58
58
|
'&.is-hovered': {
|
59
|
-
|
60
|
-
'& div > div > div > span': {
|
61
|
-
color: 'active'
|
62
|
-
}
|
59
|
+
backgroundColor: 'accent.99'
|
63
60
|
},
|
64
61
|
'&.is-pressed': {
|
65
62
|
color: 'accent.20',
|
@@ -70,6 +67,7 @@ var accordionGridHeader = {
|
|
70
67
|
};
|
71
68
|
var accordionGridBody = {
|
72
69
|
display: 'none !important',
|
70
|
+
pl: 'sm',
|
73
71
|
width: '100%',
|
74
72
|
'&.is-selected': {
|
75
73
|
display: 'flex !important'
|
@@ -83,8 +83,6 @@ export var Default = function Default() {
|
|
83
83
|
return ___EmotionJSX(Box, {
|
84
84
|
isRow: true,
|
85
85
|
sx: {
|
86
|
-
pt: '12px',
|
87
|
-
pb: '12px',
|
88
86
|
flexGrow: 1
|
89
87
|
}
|
90
88
|
}, ___EmotionJSX(Box, {
|
@@ -129,20 +127,14 @@ export var Default = function Default() {
|
|
129
127
|
sx: {
|
130
128
|
mr: '4px',
|
131
129
|
height: '26px',
|
132
|
-
width: '26px'
|
133
|
-
'path': {
|
134
|
-
fill: 'active'
|
135
|
-
}
|
130
|
+
width: '26px'
|
136
131
|
}
|
137
132
|
}, ___EmotionJSX(CreateIcon, null)), ___EmotionJSX(IconButton, {
|
138
133
|
"aria-label": "vertical-lines-icon",
|
139
134
|
sx: {
|
140
135
|
mr: '4px',
|
141
136
|
height: '26px',
|
142
|
-
width: '26px'
|
143
|
-
'path': {
|
144
|
-
fill: 'active'
|
145
|
-
}
|
137
|
+
width: '26px'
|
146
138
|
}
|
147
139
|
}, ___EmotionJSX(MoreVertIcon, null)))));
|
148
140
|
};
|
@@ -285,7 +277,8 @@ export var Default = function Default() {
|
|
285
277
|
item: item
|
286
278
|
}), item.key !== 'Organization' ? ___EmotionJSX(Separator, {
|
287
279
|
sx: {
|
288
|
-
m: 0
|
280
|
+
m: 0,
|
281
|
+
bg: 'neutral.90'
|
289
282
|
}
|
290
283
|
}) : null);
|
291
284
|
}))
|
@@ -28,10 +28,10 @@ var accordionBody = {
|
|
28
28
|
var accordionGridHeader = {
|
29
29
|
cursor: 'pointer',
|
30
30
|
lineHeight: '30px',
|
31
|
-
|
31
|
+
pl: 'sm',
|
32
32
|
outline: 'none',
|
33
33
|
display: 'flex',
|
34
|
-
justifyContent: '
|
34
|
+
justifyContent: 'center',
|
35
35
|
flexShrink: 0,
|
36
36
|
wordBreak: 'inherit',
|
37
37
|
whiteSpace: 'nowrap',
|
@@ -45,12 +45,9 @@ var accordionGridHeader = {
|
|
45
45
|
WebkitBoxShadow: 'focus',
|
46
46
|
MozBoxShadow: 'focus'
|
47
47
|
},
|
48
|
-
|
48
|
+
minHeight: '64px',
|
49
49
|
'&.is-hovered': {
|
50
|
-
|
51
|
-
'& div > div > div > span': {
|
52
|
-
color: 'active'
|
53
|
-
}
|
50
|
+
backgroundColor: 'accent.99'
|
54
51
|
},
|
55
52
|
'&.is-pressed': {
|
56
53
|
color: 'accent.20',
|
@@ -61,6 +58,7 @@ var accordionGridHeader = {
|
|
61
58
|
};
|
62
59
|
var accordionGridBody = {
|
63
60
|
display: 'none !important',
|
61
|
+
pl: 'sm',
|
64
62
|
width: '100%',
|
65
63
|
'&.is-selected': {
|
66
64
|
display: 'flex !important'
|