@pingux/astro 2.75.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.
Files changed (96) hide show
  1. package/lib/cjs/components/Badge/Badge.styles.d.ts +130 -0
  2. package/lib/cjs/components/Badge/Badge.styles.js +34 -1
  3. package/lib/cjs/components/Button/Button.stories.js +1 -1
  4. package/lib/cjs/components/DataTable/DataTable.js +8 -4
  5. package/lib/cjs/components/DataTable/DataTable.styles.d.ts +1 -0
  6. package/lib/cjs/components/DataTable/DataTable.styles.js +2 -1
  7. package/lib/cjs/components/DataTable/DataTableBadge.js +49 -19
  8. package/lib/cjs/components/DatePicker/DatePicker.js +1 -1
  9. package/lib/cjs/components/ListView/ListView.js +8 -4
  10. package/lib/cjs/components/ListView/ListView.stories.js +1 -1
  11. package/lib/cjs/components/ListView/ListView.styles.d.ts +7 -0
  12. package/lib/cjs/components/ListView/ListView.styles.js +15 -0
  13. package/lib/cjs/components/ListView/ListViewFocusWrapper.js +2 -1
  14. package/lib/cjs/components/ListViewItem/ListViewItem.js +6 -4
  15. package/lib/cjs/components/ListViewItem/ListViewItem.styles.js +7 -1
  16. package/lib/cjs/components/MultivaluesField/DefaultMultivaluesField.js +1 -1
  17. package/lib/cjs/components/NavBar/NavBar.stories.js +1 -4
  18. package/lib/cjs/components/PanelHeader/PanelHeader.js +1 -1
  19. package/lib/cjs/hooks/useExpandableListViewItem/useExpandableListViewItem.js +1 -6
  20. package/lib/cjs/index.d.ts +1 -0
  21. package/lib/cjs/index.js +8 -0
  22. package/lib/cjs/recipes/ListAndPanel.stories.js +1 -2
  23. package/lib/cjs/recipes/NextGen/DefaultAvatar.stories.d.ts +6 -0
  24. package/lib/cjs/recipes/NextGen/DefaultAvatar.stories.js +41 -0
  25. package/lib/cjs/recipes/NextGen/ListViewNextGen.stories.js +152 -0
  26. package/lib/cjs/recipes/NextGen/ModalNextGen.stories.d.ts +6 -0
  27. package/lib/cjs/recipes/NextGen/ModalNextGen.stories.js +72 -0
  28. package/lib/cjs/recipes/NextGen/NavBarNextGen.stories.d.ts +6 -0
  29. package/lib/cjs/recipes/NextGen/NavBarNextGen.stories.js +233 -0
  30. package/lib/cjs/recipes/NextGen/NextGenDataTable.stories.d.ts +6 -0
  31. package/lib/cjs/recipes/NextGen/NextGenDataTable.stories.js +152 -0
  32. package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +209 -0
  33. package/lib/cjs/styles/themes/next-gen/colors/colors.js +112 -0
  34. package/lib/cjs/styles/themes/next-gen/convertedComponentList.d.ts +2 -0
  35. package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +10 -0
  36. package/lib/cjs/styles/themes/next-gen/forms.d.ts +235 -0
  37. package/lib/cjs/styles/themes/next-gen/forms.js +89 -0
  38. package/lib/cjs/styles/themes/next-gen/index.js +14 -0
  39. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +1455 -0
  40. package/lib/cjs/styles/themes/next-gen/next-gen.js +52 -0
  41. package/lib/cjs/styles/themes/next-gen/open_sans.css +1 -0
  42. package/lib/cjs/styles/themes/next-gen/text.d.ts +15 -0
  43. package/lib/cjs/styles/themes/next-gen/text.js +26 -0
  44. package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.d.ts +134 -0
  45. package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.js +142 -0
  46. package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +574 -0
  47. package/lib/cjs/styles/themes/next-gen/variants/button.js +235 -0
  48. package/lib/cjs/styles/themes/next-gen/variants/input.d.ts +66 -0
  49. package/lib/cjs/styles/themes/next-gen/variants/input.js +140 -0
  50. package/lib/cjs/styles/themes/next-gen/variants/label.d.ts +2 -0
  51. package/lib/cjs/styles/themes/next-gen/variants/label.js +34 -0
  52. package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +19 -0
  53. package/lib/cjs/styles/themes/next-gen/variants/text.js +27 -0
  54. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +564 -0
  55. package/lib/cjs/styles/themes/next-gen/variants/variants.js +462 -0
  56. package/lib/cjs/styles/variants/variants.js +2 -0
  57. package/lib/cjs/types/dataTable.d.ts +1 -1
  58. package/lib/cjs/types/listView.d.ts +1 -0
  59. package/lib/components/Badge/Badge.styles.js +34 -1
  60. package/lib/components/Button/Button.stories.js +1 -1
  61. package/lib/components/DataTable/DataTable.js +8 -4
  62. package/lib/components/DataTable/DataTable.styles.js +2 -1
  63. package/lib/components/DataTable/DataTableBadge.js +49 -19
  64. package/lib/components/DatePicker/DatePicker.js +1 -1
  65. package/lib/components/ListView/ListView.js +8 -4
  66. package/lib/components/ListView/ListView.stories.js +1 -1
  67. package/lib/components/ListView/ListView.styles.js +7 -0
  68. package/lib/components/ListView/ListViewFocusWrapper.js +2 -1
  69. package/lib/components/ListViewItem/ListViewItem.js +6 -4
  70. package/lib/components/ListViewItem/ListViewItem.styles.js +7 -1
  71. package/lib/components/MultivaluesField/DefaultMultivaluesField.js +1 -1
  72. package/lib/components/NavBar/NavBar.stories.js +1 -4
  73. package/lib/components/PanelHeader/PanelHeader.js +1 -1
  74. package/lib/hooks/useExpandableListViewItem/useExpandableListViewItem.js +1 -6
  75. package/lib/index.js +1 -0
  76. package/lib/recipes/ListAndPanel.stories.js +1 -2
  77. package/lib/recipes/NextGen/DefaultAvatar.stories.js +31 -0
  78. package/lib/recipes/NextGen/ListViewNextGen.stories.js +142 -0
  79. package/lib/recipes/NextGen/ModalNextGen.stories.js +62 -0
  80. package/lib/recipes/NextGen/NavBarNextGen.stories.js +223 -0
  81. package/lib/recipes/NextGen/NextGenDataTable.stories.js +142 -0
  82. package/lib/styles/themes/next-gen/colors/colors.js +101 -0
  83. package/lib/styles/themes/next-gen/convertedComponentList.js +2 -0
  84. package/lib/styles/themes/next-gen/forms.js +75 -0
  85. package/lib/styles/themes/next-gen/index.js +1 -0
  86. package/lib/styles/themes/next-gen/next-gen.js +40 -0
  87. package/lib/styles/themes/next-gen/open_sans.css +1 -0
  88. package/lib/styles/themes/next-gen/text.js +16 -0
  89. package/lib/styles/themes/next-gen/tokens/colorTokens.js +134 -0
  90. package/lib/styles/themes/next-gen/variants/button.js +227 -0
  91. package/lib/styles/themes/next-gen/variants/input.js +131 -0
  92. package/lib/styles/themes/next-gen/variants/label.js +26 -0
  93. package/lib/styles/themes/next-gen/variants/text.js +19 -0
  94. package/lib/styles/themes/next-gen/variants/variants.js +452 -0
  95. package/lib/styles/variants/variants.js +2 -0
  96. package/package.json +3 -1
@@ -0,0 +1,564 @@
1
+ export declare const badgeDeleteButton: {
2
+ borderRadius: string;
3
+ cursor: string;
4
+ height: number;
5
+ p: number;
6
+ width: number;
7
+ transition: string;
8
+ outline: string;
9
+ border: string;
10
+ borderColor: string;
11
+ path: {
12
+ fill: string;
13
+ };
14
+ '&.is-focused': {
15
+ outline: string;
16
+ outlineColor: string;
17
+ outlineOffset: string;
18
+ };
19
+ '&.is-hovered': {
20
+ backgroundColor: string;
21
+ path: {
22
+ fill: string;
23
+ };
24
+ };
25
+ '&.is-pressed': {
26
+ backgroundColor: string;
27
+ borderColor: string;
28
+ path: {
29
+ fill: string;
30
+ };
31
+ };
32
+ };
33
+ export declare const badges: {
34
+ primary: {
35
+ backgroundColor: string;
36
+ '& span': {
37
+ color: string;
38
+ fontSize: string;
39
+ fontWeight: number;
40
+ };
41
+ alignItems: string;
42
+ justifyContent: string;
43
+ py: string;
44
+ px: string;
45
+ borderRadius: string;
46
+ fontSize: string;
47
+ alignSelf: string;
48
+ display: string;
49
+ width: string;
50
+ };
51
+ baseBadge: {
52
+ backgroundColor: string;
53
+ '& span': {
54
+ color: string;
55
+ fontSize: string;
56
+ fontWeight: number;
57
+ };
58
+ alignItems: string;
59
+ justifyContent: string;
60
+ py: string;
61
+ px: string;
62
+ borderRadius: string;
63
+ fontSize: string;
64
+ alignSelf: string;
65
+ display: string;
66
+ width: string;
67
+ };
68
+ secondary: {
69
+ backgroundColor: string;
70
+ '& span': {
71
+ color: string;
72
+ fontSize: string;
73
+ fontWeight: number;
74
+ };
75
+ alignItems: string;
76
+ justifyContent: string;
77
+ py: string;
78
+ px: string;
79
+ borderRadius: string;
80
+ fontSize: string;
81
+ alignSelf: string;
82
+ display: string;
83
+ width: string;
84
+ };
85
+ success: {
86
+ backgroundColor: string;
87
+ '& span': {
88
+ color: string;
89
+ fontSize: string;
90
+ fontWeight: number;
91
+ };
92
+ alignItems: string;
93
+ justifyContent: string;
94
+ py: string;
95
+ px: string;
96
+ borderRadius: string;
97
+ fontSize: string;
98
+ alignSelf: string;
99
+ display: string;
100
+ width: string;
101
+ };
102
+ danger: {
103
+ backgroundColor: string;
104
+ '& span': {
105
+ color: string;
106
+ fontSize: string;
107
+ fontWeight: number;
108
+ };
109
+ alignItems: string;
110
+ justifyContent: string;
111
+ py: string;
112
+ px: string;
113
+ borderRadius: string;
114
+ fontSize: string;
115
+ alignSelf: string;
116
+ display: string;
117
+ width: string;
118
+ };
119
+ warning: {
120
+ backgroundColor: string;
121
+ '& span': {
122
+ color: string;
123
+ fontSize: string;
124
+ fontWeight: number;
125
+ };
126
+ alignItems: string;
127
+ justifyContent: string;
128
+ py: string;
129
+ px: string;
130
+ borderRadius: string;
131
+ fontSize: string;
132
+ alignSelf: string;
133
+ display: string;
134
+ width: string;
135
+ };
136
+ dark: {
137
+ backgroundColor: string;
138
+ '& span': {
139
+ color: string;
140
+ fontSize: string;
141
+ fontWeight: number;
142
+ };
143
+ alignItems: string;
144
+ justifyContent: string;
145
+ py: string;
146
+ px: string;
147
+ borderRadius: string;
148
+ fontSize: string;
149
+ alignSelf: string;
150
+ display: string;
151
+ width: string;
152
+ };
153
+ selectedItemBadge: {
154
+ backgroundColor: string;
155
+ paddingRight: string;
156
+ '& span': {
157
+ fontSize: string;
158
+ color: string;
159
+ fontWeight: number;
160
+ };
161
+ alignItems: string;
162
+ justifyContent: string;
163
+ py: string;
164
+ px: string;
165
+ borderRadius: string;
166
+ fontSize: string;
167
+ alignSelf: string;
168
+ display: string;
169
+ width: string;
170
+ };
171
+ readOnlyBadge: {
172
+ '& span': {
173
+ fontSize: string;
174
+ };
175
+ };
176
+ badgeDeleteButton: {
177
+ borderRadius: string;
178
+ cursor: string;
179
+ height: number;
180
+ p: number;
181
+ width: number;
182
+ transition: string;
183
+ outline: string;
184
+ border: string;
185
+ borderColor: string;
186
+ path: {
187
+ fill: string;
188
+ };
189
+ '&.is-focused': {
190
+ outline: string;
191
+ outlineColor: string;
192
+ outlineOffset: string;
193
+ };
194
+ '&.is-hovered': {
195
+ backgroundColor: string;
196
+ path: {
197
+ fill: string;
198
+ };
199
+ };
200
+ '&.is-pressed': {
201
+ backgroundColor: string;
202
+ borderColor: string;
203
+ path: {
204
+ fill: string;
205
+ };
206
+ };
207
+ };
208
+ };
209
+ declare const _default: {
210
+ navBar: {
211
+ container: {
212
+ width: string;
213
+ p: string;
214
+ backgroundColor: string;
215
+ boxShadow: string;
216
+ };
217
+ sectionButton: {
218
+ '&.is-hovered': {
219
+ backgroundColor: string;
220
+ };
221
+ '&.is-pressed': {
222
+ backgroundColor: string;
223
+ };
224
+ '&.is-focused': {
225
+ outline: string;
226
+ outlineColor: string;
227
+ outlineOffset: string;
228
+ };
229
+ };
230
+ itemButton: {
231
+ color: string;
232
+ '&.is-focused': {
233
+ outline: string;
234
+ outlineColor: string;
235
+ outlineOffset: string;
236
+ };
237
+ '&.is-hovered': {
238
+ backgroundColor: string;
239
+ };
240
+ '&.is-pressed': {
241
+ backgroundColor: string;
242
+ color: string;
243
+ };
244
+ '&.is-selected': {
245
+ bg: string;
246
+ color: string;
247
+ };
248
+ };
249
+ subtitle: {
250
+ color: string;
251
+ };
252
+ headerText: {
253
+ color: string;
254
+ '.is-selected &': {
255
+ color: string;
256
+ };
257
+ };
258
+ headerNav: {
259
+ color: string;
260
+ '&.is-hovered': {
261
+ backgroundColor: string;
262
+ };
263
+ '&.is-focused': {
264
+ boxShadow: string;
265
+ WebkitBoxShadow: string;
266
+ MozBoxShadow: string;
267
+ };
268
+ };
269
+ item: {
270
+ px: string;
271
+ py: string;
272
+ color: string;
273
+ '&.is-hovered': {
274
+ backgroundColor: string;
275
+ };
276
+ '> div > svg': {
277
+ fill: string;
278
+ };
279
+ '&.is-selected': {
280
+ '> div > svg': {
281
+ fill: string;
282
+ };
283
+ backgroundColor: string;
284
+ };
285
+ '&.is-focused': {
286
+ outline: string;
287
+ outlineColor: string;
288
+ outlineOffset: string;
289
+ boxShadow: string;
290
+ WebkitBoxShadow: string;
291
+ MozBoxShadow: string;
292
+ };
293
+ };
294
+ itemHeaderContainer: {
295
+ px: string;
296
+ py: string;
297
+ '&.is-selected': {
298
+ backgroundColor: string;
299
+ };
300
+ backgroundColor: string;
301
+ '> svg': {
302
+ fill: string;
303
+ };
304
+ '> div > svg': {
305
+ fill: string;
306
+ };
307
+ };
308
+ };
309
+ fieldHelperText: {
310
+ title: {
311
+ color: string;
312
+ fontSize: string;
313
+ pt: string;
314
+ mt: string;
315
+ '&.is-error': {
316
+ color: string;
317
+ };
318
+ '&.is-warning': {
319
+ color: string;
320
+ };
321
+ '&.is-success': {
322
+ color: string;
323
+ };
324
+ };
325
+ };
326
+ message: {
327
+ item: {
328
+ maxWidth: number;
329
+ pointerEvents: string;
330
+ mb: string;
331
+ p: string;
332
+ wordBreak: string;
333
+ alignItems: string;
334
+ backgroundColor: string;
335
+ borderLeftWidth: string;
336
+ borderLeftStyle: string;
337
+ borderLeftColor: string;
338
+ color: string;
339
+ fontSize: string;
340
+ borderRadius: number;
341
+ '&.is-success': {
342
+ bg: string;
343
+ borderLeftColor: string;
344
+ color: string;
345
+ };
346
+ '&.is-warning': {
347
+ bg: string;
348
+ borderLeftColor: string;
349
+ color: string;
350
+ };
351
+ '&.is-error, > .is-error': {
352
+ bg: string;
353
+ color: string;
354
+ };
355
+ '&.is-error, > button > svg': {
356
+ color: string;
357
+ path: {
358
+ fill: string;
359
+ };
360
+ };
361
+ '&.is-error': {
362
+ borderLeftColor: string;
363
+ };
364
+ };
365
+ };
366
+ modal: {
367
+ content: {
368
+ borderRadius: string;
369
+ };
370
+ };
371
+ tab: {
372
+ borderRadius: string;
373
+ pt: string;
374
+ '& > span': {
375
+ px: string;
376
+ fontSize: string;
377
+ };
378
+ '&.is-focused': {
379
+ boxShadow: string;
380
+ outline: string;
381
+ outlineColor: string;
382
+ outlineOffset: string;
383
+ '& > span': {
384
+ outline: string;
385
+ };
386
+ };
387
+ '& > div': {
388
+ borderBottom: string;
389
+ borderBottomColor: string;
390
+ ml: string;
391
+ };
392
+ };
393
+ menuTab: {
394
+ ml: string;
395
+ };
396
+ listBox: {
397
+ option: {
398
+ '&.is-focused': {
399
+ color: string;
400
+ bg: string;
401
+ };
402
+ '&.is-selected': {
403
+ color: string;
404
+ bg: string;
405
+ pl: number;
406
+ };
407
+ };
408
+ };
409
+ separator: {
410
+ base: {
411
+ bg: string;
412
+ };
413
+ };
414
+ menuItem: {
415
+ item: {
416
+ bg: string;
417
+ padding: string;
418
+ outline: string;
419
+ color: string;
420
+ cursor: string;
421
+ '&.is-focused, &.is-selected, &.is-pressed': {
422
+ bg: string;
423
+ color: string;
424
+ '> *': {
425
+ color: string;
426
+ };
427
+ };
428
+ '&.is-pressed': {
429
+ color: string;
430
+ bg: string;
431
+ };
432
+ };
433
+ };
434
+ avatar: {
435
+ xl: {
436
+ borderRadius: string;
437
+ textAlign: string;
438
+ justifyContent: string;
439
+ fontFamily: string;
440
+ size: string;
441
+ fontSize: string;
442
+ };
443
+ lg: {
444
+ fontSize: string;
445
+ borderRadius: string;
446
+ textAlign: string;
447
+ justifyContent: string;
448
+ fontFamily: string;
449
+ size: string;
450
+ };
451
+ md: {
452
+ fontSize: string;
453
+ borderRadius: string;
454
+ textAlign: string;
455
+ justifyContent: string;
456
+ fontFamily: string;
457
+ size: string;
458
+ };
459
+ sm: {
460
+ fontSize: string;
461
+ borderRadius: string;
462
+ textAlign: string;
463
+ justifyContent: string;
464
+ fontFamily: string;
465
+ size: string;
466
+ };
467
+ };
468
+ listViewItem: {
469
+ iconContainer: {
470
+ mr: string;
471
+ };
472
+ styledListItem: {
473
+ bg: string;
474
+ '&.is-selected': {
475
+ bg: string;
476
+ };
477
+ borderBottom: string;
478
+ '&.has-separator': {
479
+ borderBottom: string;
480
+ borderBottomColor: string;
481
+ };
482
+ '&.is-hovered': {
483
+ bg: string;
484
+ };
485
+ '&.is-focused': {
486
+ boxShadow: string;
487
+ bg: string;
488
+ };
489
+ };
490
+ styledContainer: {
491
+ py: string;
492
+ px: string;
493
+ bg: string;
494
+ '&.is-hovered': {
495
+ bg: string;
496
+ cursor: string;
497
+ };
498
+ };
499
+ expandableStyledListItem: {
500
+ pr: string;
501
+ pl: number;
502
+ };
503
+ expandableItemBody: {
504
+ px: string;
505
+ };
506
+ expandableRow: {
507
+ '&.has-separator': {
508
+ borderBottom: string;
509
+ borderBottomColor: string;
510
+ };
511
+ };
512
+ };
513
+ progressBar: {
514
+ transition: string;
515
+ container: {
516
+ backgroundColor: string;
517
+ borderRadius: string;
518
+ height: string;
519
+ };
520
+ percentageBar: {
521
+ backgroundColor: string;
522
+ borderRadius: string;
523
+ height: string;
524
+ };
525
+ };
526
+ listView: {
527
+ container: {
528
+ borderRadius: string;
529
+ border: string;
530
+ borderColor: string;
531
+ '& > div': {
532
+ borderRadius: string;
533
+ };
534
+ };
535
+ };
536
+ dataTable: {
537
+ container: {
538
+ border: string;
539
+ borderColor: string;
540
+ borderRadius: string;
541
+ };
542
+ tableRow: {
543
+ borderTop: string;
544
+ borderTopColor: string;
545
+ borderBottom: string;
546
+ pl: string;
547
+ };
548
+ tableHeadWrapper: {
549
+ borderBottom: string;
550
+ };
551
+ tableHeadCell: {
552
+ pl: string;
553
+ fontWeight: string;
554
+ fontSize: string;
555
+ };
556
+ rowHeader: {
557
+ py: string;
558
+ };
559
+ tableCell: {
560
+ fontSize: string;
561
+ };
562
+ };
563
+ };
564
+ export default _default;