@pingux/astro 2.75.1-alpha.0 → 2.76.0-alpha.0
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/lib/cjs/components/Badge/Badge.styles.d.ts +130 -0
- package/lib/cjs/components/Badge/Badge.styles.js +34 -1
- package/lib/cjs/components/Button/Button.stories.js +1 -1
- package/lib/cjs/components/DataTable/DataTable.js +8 -4
- package/lib/cjs/components/DataTable/DataTable.styles.d.ts +1 -0
- package/lib/cjs/components/DataTable/DataTable.styles.js +2 -1
- package/lib/cjs/components/DataTable/DataTableBadge.js +49 -19
- package/lib/cjs/components/ListView/ListView.js +8 -4
- package/lib/cjs/components/ListView/ListView.stories.js +1 -1
- package/lib/cjs/components/ListView/ListView.styles.d.ts +7 -0
- package/lib/cjs/components/ListView/ListView.styles.js +15 -0
- package/lib/cjs/components/ListView/ListViewFocusWrapper.js +2 -1
- package/lib/cjs/components/ListViewItem/ListViewItem.js +6 -4
- package/lib/cjs/components/ListViewItem/ListViewItem.styles.js +7 -1
- package/lib/cjs/components/MultivaluesField/DefaultMultivaluesField.js +1 -1
- package/lib/cjs/components/NavBar/NavBar.stories.js +1 -4
- package/lib/cjs/components/PanelHeader/PanelHeader.js +1 -1
- package/lib/cjs/hooks/useExpandableListViewItem/useExpandableListViewItem.js +1 -6
- package/lib/cjs/index.d.ts +1 -0
- package/lib/cjs/index.js +8 -0
- package/lib/cjs/recipes/ListAndPanel.stories.js +1 -2
- package/lib/cjs/recipes/NextGen/DefaultAvatar.stories.d.ts +6 -0
- package/lib/cjs/recipes/NextGen/DefaultAvatar.stories.js +41 -0
- package/lib/cjs/recipes/NextGen/ListViewNextGen.stories.js +152 -0
- package/lib/cjs/recipes/NextGen/ModalNextGen.stories.d.ts +6 -0
- package/lib/cjs/recipes/NextGen/ModalNextGen.stories.js +72 -0
- package/lib/cjs/recipes/NextGen/NavBarNextGen.stories.d.ts +6 -0
- package/lib/cjs/recipes/NextGen/NavBarNextGen.stories.js +233 -0
- package/lib/cjs/recipes/NextGen/NextGenDataTable.stories.d.ts +6 -0
- package/lib/cjs/recipes/NextGen/NextGenDataTable.stories.js +152 -0
- package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +209 -0
- package/lib/cjs/styles/themes/next-gen/colors/colors.js +112 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.d.ts +2 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +10 -0
- package/lib/cjs/styles/themes/next-gen/forms.d.ts +235 -0
- package/lib/cjs/styles/themes/next-gen/forms.js +89 -0
- package/lib/cjs/styles/themes/next-gen/index.js +14 -0
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +1455 -0
- package/lib/cjs/styles/themes/next-gen/next-gen.js +52 -0
- package/lib/cjs/styles/themes/next-gen/open_sans.css +1 -0
- package/lib/cjs/styles/themes/next-gen/text.d.ts +15 -0
- package/lib/cjs/styles/themes/next-gen/text.js +26 -0
- package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.d.ts +134 -0
- package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.js +142 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +574 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.js +235 -0
- package/lib/cjs/styles/themes/next-gen/variants/input.d.ts +66 -0
- package/lib/cjs/styles/themes/next-gen/variants/input.js +140 -0
- package/lib/cjs/styles/themes/next-gen/variants/label.d.ts +2 -0
- package/lib/cjs/styles/themes/next-gen/variants/label.js +34 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +19 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.js +27 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +564 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +462 -0
- package/lib/cjs/styles/variants/variants.js +2 -0
- package/lib/cjs/types/dataTable.d.ts +1 -1
- package/lib/cjs/types/listView.d.ts +1 -0
- package/lib/components/Badge/Badge.styles.js +34 -1
- package/lib/components/Button/Button.stories.js +1 -1
- package/lib/components/DataTable/DataTable.js +8 -4
- package/lib/components/DataTable/DataTable.styles.js +2 -1
- package/lib/components/DataTable/DataTableBadge.js +49 -19
- package/lib/components/ListView/ListView.js +8 -4
- package/lib/components/ListView/ListView.stories.js +1 -1
- package/lib/components/ListView/ListView.styles.js +7 -0
- package/lib/components/ListView/ListViewFocusWrapper.js +2 -1
- package/lib/components/ListViewItem/ListViewItem.js +6 -4
- package/lib/components/ListViewItem/ListViewItem.styles.js +7 -1
- package/lib/components/MultivaluesField/DefaultMultivaluesField.js +1 -1
- package/lib/components/NavBar/NavBar.stories.js +1 -4
- package/lib/components/PanelHeader/PanelHeader.js +1 -1
- package/lib/hooks/useExpandableListViewItem/useExpandableListViewItem.js +1 -6
- package/lib/index.js +1 -0
- package/lib/recipes/ListAndPanel.stories.js +1 -2
- package/lib/recipes/NextGen/DefaultAvatar.stories.js +31 -0
- package/lib/recipes/NextGen/ListViewNextGen.stories.js +142 -0
- package/lib/recipes/NextGen/ModalNextGen.stories.js +62 -0
- package/lib/recipes/NextGen/NavBarNextGen.stories.js +223 -0
- package/lib/recipes/NextGen/NextGenDataTable.stories.js +142 -0
- package/lib/styles/themes/next-gen/colors/colors.js +101 -0
- package/lib/styles/themes/next-gen/convertedComponentList.js +2 -0
- package/lib/styles/themes/next-gen/forms.js +75 -0
- package/lib/styles/themes/next-gen/index.js +1 -0
- package/lib/styles/themes/next-gen/next-gen.js +40 -0
- package/lib/styles/themes/next-gen/open_sans.css +1 -0
- package/lib/styles/themes/next-gen/text.js +16 -0
- package/lib/styles/themes/next-gen/tokens/colorTokens.js +134 -0
- package/lib/styles/themes/next-gen/variants/button.js +227 -0
- package/lib/styles/themes/next-gen/variants/input.js +131 -0
- package/lib/styles/themes/next-gen/variants/label.js +26 -0
- package/lib/styles/themes/next-gen/variants/text.js +19 -0
- package/lib/styles/themes/next-gen/variants/variants.js +452 -0
- package/lib/styles/variants/variants.js +2 -0
- package/package.json +3 -1
@@ -0,0 +1,452 @@
|
|
1
|
+
import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
|
2
|
+
import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
|
3
|
+
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
4
|
+
import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor";
|
5
|
+
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/for-each";
|
6
|
+
import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";
|
7
|
+
import _Object$defineProperties from "@babel/runtime-corejs3/core-js-stable/object/define-properties";
|
8
|
+
import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object/define-property";
|
9
|
+
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
10
|
+
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
11
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
12
|
+
import buttons from './button';
|
13
|
+
var fieldHelperText = {
|
14
|
+
title: {
|
15
|
+
color: 'text.secondary',
|
16
|
+
fontSize: 'sm',
|
17
|
+
pt: '0px !important',
|
18
|
+
mt: '.25rem',
|
19
|
+
'&.is-error': {
|
20
|
+
color: 'critical.dark'
|
21
|
+
},
|
22
|
+
'&.is-warning': {
|
23
|
+
color: 'warning.bright'
|
24
|
+
},
|
25
|
+
'&.is-success': {
|
26
|
+
color: 'success.dark'
|
27
|
+
}
|
28
|
+
}
|
29
|
+
};
|
30
|
+
var message = {
|
31
|
+
item: {
|
32
|
+
maxWidth: 400,
|
33
|
+
pointerEvents: 'all',
|
34
|
+
mb: 'md',
|
35
|
+
p: '1.25rem',
|
36
|
+
wordBreak: 'break-word',
|
37
|
+
alignItems: 'center',
|
38
|
+
backgroundColor: 'blue-100',
|
39
|
+
borderLeftWidth: '5px',
|
40
|
+
borderLeftStyle: 'solid',
|
41
|
+
borderLeftColor: 'teal-500',
|
42
|
+
color: 'gray-700',
|
43
|
+
fontSize: '15px !important',
|
44
|
+
borderRadius: 4,
|
45
|
+
'&.is-success': {
|
46
|
+
bg: 'green-100',
|
47
|
+
borderLeftColor: 'green-500',
|
48
|
+
color: 'gray-700'
|
49
|
+
},
|
50
|
+
'&.is-warning': {
|
51
|
+
bg: 'warning.light',
|
52
|
+
borderLeftColor: 'yellow-500',
|
53
|
+
color: 'gray-700'
|
54
|
+
},
|
55
|
+
'&.is-error, > .is-error': {
|
56
|
+
bg: 'red-100',
|
57
|
+
color: 'gray-700'
|
58
|
+
},
|
59
|
+
'&.is-error, > button > svg': {
|
60
|
+
color: 'gray-700 !important',
|
61
|
+
path: {
|
62
|
+
fill: 'gray-700'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
'&.is-error': {
|
66
|
+
borderLeftColor: 'red-500'
|
67
|
+
}
|
68
|
+
}
|
69
|
+
};
|
70
|
+
var badgeFont = {
|
71
|
+
fontSize: '11.25px',
|
72
|
+
fontWeight: 2
|
73
|
+
};
|
74
|
+
var baseBadge = {
|
75
|
+
alignItems: 'center',
|
76
|
+
justifyContent: 'center',
|
77
|
+
py: '.25em',
|
78
|
+
px: '.4em',
|
79
|
+
borderRadius: '4px',
|
80
|
+
fontSize: '11.25px',
|
81
|
+
alignSelf: 'flex-start',
|
82
|
+
display: 'inline-flex !important',
|
83
|
+
width: 'fit-content',
|
84
|
+
'& span': _objectSpread({}, badgeFont)
|
85
|
+
};
|
86
|
+
export var badgeDeleteButton = _objectSpread(_objectSpread({}, buttons.iconButtons.base), {}, {
|
87
|
+
borderRadius: '50%',
|
88
|
+
cursor: 'pointer',
|
89
|
+
height: 14,
|
90
|
+
p: 0,
|
91
|
+
width: 14
|
92
|
+
});
|
93
|
+
export var badges = {
|
94
|
+
primary: _objectSpread(_objectSpread({}, baseBadge), {}, {
|
95
|
+
backgroundColor: '#eaf1fb !important',
|
96
|
+
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
97
|
+
color: '#1967d2'
|
98
|
+
})
|
99
|
+
}),
|
100
|
+
baseBadge: _objectSpread(_objectSpread({}, baseBadge), {}, {
|
101
|
+
backgroundColor: '#eaf1fb !important',
|
102
|
+
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
103
|
+
color: '#1967d2'
|
104
|
+
})
|
105
|
+
}),
|
106
|
+
secondary: _objectSpread(_objectSpread({}, baseBadge), {}, {
|
107
|
+
backgroundColor: '#f6f8fa !important',
|
108
|
+
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
109
|
+
color: 'gray-900'
|
110
|
+
})
|
111
|
+
}),
|
112
|
+
success: _objectSpread(_objectSpread({}, baseBadge), {}, {
|
113
|
+
backgroundColor: '#d3eddf !important',
|
114
|
+
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
115
|
+
color: 'success.dark'
|
116
|
+
})
|
117
|
+
}),
|
118
|
+
danger: _objectSpread(_objectSpread({}, baseBadge), {}, {
|
119
|
+
backgroundColor: '#f8d8d5 !important',
|
120
|
+
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
121
|
+
color: 'red-700'
|
122
|
+
})
|
123
|
+
}),
|
124
|
+
warning: _objectSpread(_objectSpread({}, baseBadge), {}, {
|
125
|
+
backgroundColor: '#fff1da !important',
|
126
|
+
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
127
|
+
color: 'yellow-700'
|
128
|
+
})
|
129
|
+
}),
|
130
|
+
dark: _objectSpread(_objectSpread({}, baseBadge), {}, {
|
131
|
+
backgroundColor: 'black !important',
|
132
|
+
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
133
|
+
color: 'white'
|
134
|
+
})
|
135
|
+
}),
|
136
|
+
selectedItemBadge: _objectSpread(_objectSpread({}, baseBadge), {}, {
|
137
|
+
backgroundColor: '#eaf2fd !important',
|
138
|
+
paddingRight: '0px !important',
|
139
|
+
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
140
|
+
fontSize: '14px',
|
141
|
+
color: 'text.primary',
|
142
|
+
fontWeight: 400
|
143
|
+
})
|
144
|
+
}),
|
145
|
+
readOnlyBadge: {
|
146
|
+
'& span': {
|
147
|
+
fontSize: '14px'
|
148
|
+
}
|
149
|
+
},
|
150
|
+
badgeDeleteButton: badgeDeleteButton
|
151
|
+
};
|
152
|
+
var modal = {
|
153
|
+
content: {
|
154
|
+
borderRadius: '4px'
|
155
|
+
}
|
156
|
+
};
|
157
|
+
var tab = {
|
158
|
+
borderRadius: '2px',
|
159
|
+
pt: '.5rem',
|
160
|
+
'& > span': {
|
161
|
+
px: '1rem',
|
162
|
+
fontSize: '.9375rem'
|
163
|
+
},
|
164
|
+
'&.is-focused': {
|
165
|
+
boxShadow: 'none',
|
166
|
+
outline: '3px solid',
|
167
|
+
outlineColor: 'active',
|
168
|
+
outlineOffset: '1px',
|
169
|
+
'& > span': {
|
170
|
+
outline: 'none'
|
171
|
+
}
|
172
|
+
},
|
173
|
+
'& > div': {
|
174
|
+
borderBottom: '3px solid',
|
175
|
+
borderBottomColor: 'primary',
|
176
|
+
ml: '0px'
|
177
|
+
}
|
178
|
+
};
|
179
|
+
var menuTab = {
|
180
|
+
ml: '0px !important'
|
181
|
+
};
|
182
|
+
var listBox = {
|
183
|
+
option: {
|
184
|
+
'&.is-focused': {
|
185
|
+
color: 'text.primary',
|
186
|
+
bg: 'gray-100'
|
187
|
+
},
|
188
|
+
'&.is-selected': {
|
189
|
+
color: 'text.primary',
|
190
|
+
bg: 'lightblue',
|
191
|
+
pl: 0
|
192
|
+
}
|
193
|
+
}
|
194
|
+
};
|
195
|
+
var menuItem = {
|
196
|
+
item: {
|
197
|
+
bg: 'transparent',
|
198
|
+
padding: '10px 10px',
|
199
|
+
outline: 'none',
|
200
|
+
color: 'text.primary',
|
201
|
+
cursor: 'pointer',
|
202
|
+
'&.is-focused, &.is-selected, &.is-pressed': {
|
203
|
+
bg: 'gray-100',
|
204
|
+
color: 'text.primary',
|
205
|
+
'> *': {
|
206
|
+
color: 'text.primary'
|
207
|
+
}
|
208
|
+
},
|
209
|
+
'&.is-pressed': {
|
210
|
+
color: 'text.primary',
|
211
|
+
bg: 'lightblue'
|
212
|
+
}
|
213
|
+
}
|
214
|
+
};
|
215
|
+
var separator = {
|
216
|
+
base: {
|
217
|
+
bg: 'gray-200'
|
218
|
+
}
|
219
|
+
};
|
220
|
+
var avatarBase = {
|
221
|
+
borderRadius: '50%',
|
222
|
+
textAlign: 'center',
|
223
|
+
justifyContent: 'center',
|
224
|
+
fontFamily: 'standard'
|
225
|
+
};
|
226
|
+
var avatar = {
|
227
|
+
xl: _objectSpread({
|
228
|
+
size: '104px',
|
229
|
+
fontSize: 'calc(104px * .4)'
|
230
|
+
}, avatarBase),
|
231
|
+
lg: _objectSpread(_objectSpread({
|
232
|
+
size: '72px'
|
233
|
+
}, avatarBase), {}, {
|
234
|
+
fontSize: 'calc(72px * .4)'
|
235
|
+
}),
|
236
|
+
md: _objectSpread(_objectSpread({
|
237
|
+
size: '34px'
|
238
|
+
}, avatarBase), {}, {
|
239
|
+
fontSize: 'calc(34px * .4)'
|
240
|
+
}),
|
241
|
+
sm: _objectSpread(_objectSpread({
|
242
|
+
size: '24px'
|
243
|
+
}, avatarBase), {}, {
|
244
|
+
fontSize: 'calc(24px * .4)'
|
245
|
+
})
|
246
|
+
};
|
247
|
+
var progressBarContainer = {
|
248
|
+
backgroundColor: 'gray-200',
|
249
|
+
borderRadius: '.5rem',
|
250
|
+
height: '1rem'
|
251
|
+
};
|
252
|
+
var progressBar = {
|
253
|
+
transition: 'width .6s ease',
|
254
|
+
container: _objectSpread({}, progressBarContainer),
|
255
|
+
percentageBar: _objectSpread(_objectSpread({}, progressBarContainer), {}, {
|
256
|
+
backgroundColor: 'active'
|
257
|
+
})
|
258
|
+
};
|
259
|
+
var listViewItem = {
|
260
|
+
iconContainer: {
|
261
|
+
mr: 'sm'
|
262
|
+
},
|
263
|
+
styledListItem: {
|
264
|
+
bg: 'white',
|
265
|
+
'&.is-selected': {
|
266
|
+
bg: 'gray-100'
|
267
|
+
},
|
268
|
+
borderBottom: 'none',
|
269
|
+
'&.has-separator': {
|
270
|
+
borderBottom: '1px solid',
|
271
|
+
borderBottomColor: 'gray-200'
|
272
|
+
},
|
273
|
+
'&.is-hovered': {
|
274
|
+
bg: 'gray-100'
|
275
|
+
},
|
276
|
+
'&.is-focused': {
|
277
|
+
boxShadow: '0 0 0 3px inset #1a73e8',
|
278
|
+
bg: 'gray-100'
|
279
|
+
}
|
280
|
+
},
|
281
|
+
styledContainer: {
|
282
|
+
py: '1.25rem',
|
283
|
+
px: '1rem',
|
284
|
+
bg: 'transparent',
|
285
|
+
'&.is-hovered': {
|
286
|
+
bg: 'transparent',
|
287
|
+
cursor: 'pointer'
|
288
|
+
}
|
289
|
+
},
|
290
|
+
expandableStyledListItem: {
|
291
|
+
pr: '1.25rem',
|
292
|
+
pl: 0
|
293
|
+
},
|
294
|
+
expandableItemBody: {
|
295
|
+
px: '1.5rem'
|
296
|
+
},
|
297
|
+
expandableRow: {
|
298
|
+
'&.has-separator': {
|
299
|
+
borderBottom: '1px solid',
|
300
|
+
borderBottomColor: 'gray-300'
|
301
|
+
}
|
302
|
+
}
|
303
|
+
};
|
304
|
+
var navBarSelected = {
|
305
|
+
backgroundColor: 'lightblue'
|
306
|
+
};
|
307
|
+
var navBarFocus = {
|
308
|
+
outline: '2px solid',
|
309
|
+
outlineColor: 'active',
|
310
|
+
outlineOffset: '-2px'
|
311
|
+
};
|
312
|
+
var navBar = {
|
313
|
+
container: {
|
314
|
+
width: '252px',
|
315
|
+
p: 'sm',
|
316
|
+
backgroundColor: 'white',
|
317
|
+
boxShadow: '0 .5rem 1rem rgba(0, 0, 0, .15)'
|
318
|
+
},
|
319
|
+
sectionButton: {
|
320
|
+
'&.is-hovered': {
|
321
|
+
backgroundColor: 'light'
|
322
|
+
},
|
323
|
+
'&.is-pressed': {
|
324
|
+
backgroundColor: 'gray-200'
|
325
|
+
},
|
326
|
+
'&.is-focused': _objectSpread({}, navBarFocus)
|
327
|
+
},
|
328
|
+
itemButton: {
|
329
|
+
color: 'text.primary',
|
330
|
+
'&.is-focused': _objectSpread({}, navBarFocus),
|
331
|
+
'&.is-hovered': {
|
332
|
+
backgroundColor: 'light'
|
333
|
+
},
|
334
|
+
'&.is-pressed': {
|
335
|
+
backgroundColor: 'gray-200',
|
336
|
+
color: 'text.primary'
|
337
|
+
},
|
338
|
+
'&.is-selected': {
|
339
|
+
bg: 'lightblue',
|
340
|
+
color: 'darkblue'
|
341
|
+
}
|
342
|
+
},
|
343
|
+
subtitle: {
|
344
|
+
color: 'text.primary'
|
345
|
+
},
|
346
|
+
headerText: {
|
347
|
+
color: 'text.primary',
|
348
|
+
'.is-selected &': {
|
349
|
+
color: 'darkblue'
|
350
|
+
}
|
351
|
+
},
|
352
|
+
headerNav: {
|
353
|
+
color: 'text.primary',
|
354
|
+
'&.is-hovered': {
|
355
|
+
backgroundColor: 'light'
|
356
|
+
},
|
357
|
+
'&.is-focused': {
|
358
|
+
boxShadow: 'none',
|
359
|
+
WebkitBoxShadow: 'none',
|
360
|
+
MozBoxShadow: 'none'
|
361
|
+
}
|
362
|
+
},
|
363
|
+
item: {
|
364
|
+
px: '1rem',
|
365
|
+
py: '.75rem',
|
366
|
+
color: 'text.primary',
|
367
|
+
'&.is-hovered': {
|
368
|
+
backgroundColor: 'light'
|
369
|
+
},
|
370
|
+
'> div > svg': {
|
371
|
+
fill: 'text.primary'
|
372
|
+
},
|
373
|
+
'&.is-selected': _objectSpread(_objectSpread({}, navBarSelected), {}, {
|
374
|
+
'> div > svg': {
|
375
|
+
fill: 'darkblue'
|
376
|
+
}
|
377
|
+
}),
|
378
|
+
'&.is-focused': {
|
379
|
+
outline: '2px solid',
|
380
|
+
outlineColor: 'active',
|
381
|
+
outlineOffset: '-2px',
|
382
|
+
boxShadow: 'none',
|
383
|
+
WebkitBoxShadow: 'none',
|
384
|
+
MozBoxShadow: 'none'
|
385
|
+
}
|
386
|
+
},
|
387
|
+
itemHeaderContainer: {
|
388
|
+
px: '1rem',
|
389
|
+
py: '.75rem',
|
390
|
+
'&.is-selected': _objectSpread({}, navBarSelected),
|
391
|
+
backgroundColor: 'transparent',
|
392
|
+
'> svg': {
|
393
|
+
fill: 'text.primary'
|
394
|
+
},
|
395
|
+
'> div > svg': {
|
396
|
+
fill: 'text.primary'
|
397
|
+
}
|
398
|
+
}
|
399
|
+
};
|
400
|
+
var listView = {
|
401
|
+
container: {
|
402
|
+
borderRadius: '16px',
|
403
|
+
border: '1px solid',
|
404
|
+
borderColor: '#e7eef4',
|
405
|
+
'& > div': {
|
406
|
+
borderRadius: '16px'
|
407
|
+
}
|
408
|
+
}
|
409
|
+
};
|
410
|
+
var dataTable = {
|
411
|
+
container: {
|
412
|
+
border: '1px solid',
|
413
|
+
borderColor: 'gray-300',
|
414
|
+
borderRadius: '16px'
|
415
|
+
},
|
416
|
+
tableRow: {
|
417
|
+
borderTop: '1px solid',
|
418
|
+
borderTopColor: 'gray-300',
|
419
|
+
borderBottom: '0',
|
420
|
+
pl: 'lg'
|
421
|
+
},
|
422
|
+
tableHeadWrapper: {
|
423
|
+
borderBottom: '0'
|
424
|
+
},
|
425
|
+
tableHeadCell: {
|
426
|
+
pl: 'lg',
|
427
|
+
fontWeight: '2',
|
428
|
+
fontSize: 'md'
|
429
|
+
},
|
430
|
+
rowHeader: {
|
431
|
+
py: '20px !important'
|
432
|
+
},
|
433
|
+
tableCell: {
|
434
|
+
fontSize: 'md'
|
435
|
+
}
|
436
|
+
};
|
437
|
+
export default {
|
438
|
+
navBar: navBar,
|
439
|
+
fieldHelperText: fieldHelperText,
|
440
|
+
message: message,
|
441
|
+
modal: modal,
|
442
|
+
tab: tab,
|
443
|
+
menuTab: menuTab,
|
444
|
+
listBox: listBox,
|
445
|
+
separator: separator,
|
446
|
+
menuItem: menuItem,
|
447
|
+
avatar: avatar,
|
448
|
+
listViewItem: listViewItem,
|
449
|
+
progressBar: progressBar,
|
450
|
+
listView: listView,
|
451
|
+
dataTable: dataTable
|
452
|
+
};
|
@@ -27,6 +27,7 @@ import helpHint from '../../components/HelpHint/HelpHint.styles';
|
|
27
27
|
import imageUpload from '../../components/ImageUploadField/imageUpload';
|
28
28
|
import listBox from '../../components/ListBox/ListBox.styles';
|
29
29
|
import listItem from '../../components/ListItem/ListItem.styles';
|
30
|
+
import listView from '../../components/ListView/ListView.styles';
|
30
31
|
import lisViewItemChart from '../../components/ListViewItem/controls/chart/ListViewItemChart.styles';
|
31
32
|
import listViewItem from '../../components/ListViewItem/ListViewItem.styles';
|
32
33
|
import loader from '../../components/Loader/Loader.styles';
|
@@ -70,6 +71,7 @@ export default _objectSpread({
|
|
70
71
|
imageUpload: imageUpload,
|
71
72
|
listBox: listBox,
|
72
73
|
listItem: listItem,
|
74
|
+
listView: listView,
|
73
75
|
listViewItem: listViewItem,
|
74
76
|
lisViewItemChart: lisViewItemChart,
|
75
77
|
loader: loader,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pingux/astro",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.76.0-alpha.0",
|
4
4
|
"description": "React component library for Ping Identity's design system",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -101,6 +101,7 @@
|
|
101
101
|
"@storybook/addon-actions": "^7.1.0",
|
102
102
|
"@storybook/api": "^7.1.0",
|
103
103
|
"@storybook/components": "^7.1.0",
|
104
|
+
"@storybook/preset-scss": "^1.0.3",
|
104
105
|
"@styled-system/prop-types": "^5.1.5",
|
105
106
|
"@styled-system/props": "^5.1.5",
|
106
107
|
"@styled-system/should-forward-prop": "^5.1.5",
|
@@ -113,6 +114,7 @@
|
|
113
114
|
"chromatic": "^6.5.3",
|
114
115
|
"classnames": "^2.2.6",
|
115
116
|
"countries-list": "^2.6.1",
|
117
|
+
"deepmerge": "^4.3.1",
|
116
118
|
"emotion-normalize": "^11.0.1",
|
117
119
|
"listbox-layout": "npm:@react-stately/layout@3.9.0",
|
118
120
|
"listbox-virtualizer": "npm:@react-aria/virtualizer@3.6.0",
|