@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,574 @@
1
+ declare const buttons: {
2
+ neutral: {
3
+ '&.is-pressed': {
4
+ backgroundColor: string;
5
+ };
6
+ '&.is-hovered': {
7
+ backgroundColor: string;
8
+ };
9
+ alignItems: string;
10
+ justifyContent: string;
11
+ minWidth: string;
12
+ cursor: string;
13
+ display: string;
14
+ maxWidth: string;
15
+ fontFamily: string;
16
+ fontSize: string;
17
+ flexGrow: string;
18
+ fontWeight: number;
19
+ textAlign: string;
20
+ verticalAlign: string;
21
+ backgroundColor: string;
22
+ lineHeight: number;
23
+ borderRadius: string;
24
+ border: string;
25
+ borderColor: string;
26
+ px: string;
27
+ py: string;
28
+ height: string;
29
+ '&.is-disabled': {
30
+ opacity: number;
31
+ };
32
+ '&.is-focused': {
33
+ outline: string;
34
+ outlineColor: string;
35
+ outlineOffset: string;
36
+ };
37
+ transition: string;
38
+ color: string;
39
+ };
40
+ primary: {
41
+ color: string;
42
+ backgroundColor: string;
43
+ borderColor: string;
44
+ '&.is-pressed': {
45
+ backgroundColor: string;
46
+ borderColor: string;
47
+ };
48
+ '&.is-hovered': {
49
+ backgroundColor: string;
50
+ };
51
+ alignItems: string;
52
+ justifyContent: string;
53
+ minWidth: string;
54
+ cursor: string;
55
+ display: string;
56
+ maxWidth: string;
57
+ fontFamily: string;
58
+ fontSize: string;
59
+ flexGrow: string;
60
+ fontWeight: number;
61
+ textAlign: string;
62
+ verticalAlign: string;
63
+ lineHeight: number;
64
+ borderRadius: string;
65
+ border: string;
66
+ px: string;
67
+ py: string;
68
+ height: string;
69
+ '&.is-disabled': {
70
+ opacity: number;
71
+ };
72
+ '&.is-focused': {
73
+ outline: string;
74
+ outlineColor: string;
75
+ outlineOffset: string;
76
+ };
77
+ transition: string;
78
+ };
79
+ default: {
80
+ backgroundColor: string;
81
+ borderColor: string;
82
+ color: string;
83
+ '&.is-pressed': {
84
+ backgroundColor: string;
85
+ borderColor: string;
86
+ color: string;
87
+ };
88
+ '&.is-hovered': {
89
+ backgroundColor: string;
90
+ color: string;
91
+ };
92
+ alignItems: string;
93
+ justifyContent: string;
94
+ minWidth: string;
95
+ cursor: string;
96
+ display: string;
97
+ maxWidth: string;
98
+ fontFamily: string;
99
+ fontSize: string;
100
+ flexGrow: string;
101
+ fontWeight: number;
102
+ textAlign: string;
103
+ verticalAlign: string;
104
+ lineHeight: number;
105
+ borderRadius: string;
106
+ border: string;
107
+ px: string;
108
+ py: string;
109
+ height: string;
110
+ '&.is-disabled': {
111
+ opacity: number;
112
+ };
113
+ '&.is-focused': {
114
+ outline: string;
115
+ outlineColor: string;
116
+ outlineOffset: string;
117
+ };
118
+ transition: string;
119
+ };
120
+ tertiary: {
121
+ backgroundColor: string;
122
+ borderColor: string;
123
+ color: string;
124
+ alignItems: string;
125
+ justifyContent: string;
126
+ minWidth: string;
127
+ cursor: string;
128
+ display: string;
129
+ maxWidth: string;
130
+ fontFamily: string;
131
+ fontSize: string;
132
+ flexGrow: string;
133
+ fontWeight: number;
134
+ textAlign: string;
135
+ verticalAlign: string;
136
+ lineHeight: number;
137
+ borderRadius: string;
138
+ border: string;
139
+ px: string;
140
+ py: string;
141
+ height: string;
142
+ '&.is-disabled': {
143
+ opacity: number;
144
+ };
145
+ '&.is-focused': {
146
+ outline: string;
147
+ outlineColor: string;
148
+ outlineOffset: string;
149
+ };
150
+ transition: string;
151
+ };
152
+ inverse: {
153
+ backgroundColor: string;
154
+ borderColor: string;
155
+ color: string;
156
+ alignItems: string;
157
+ justifyContent: string;
158
+ minWidth: string;
159
+ cursor: string;
160
+ display: string;
161
+ maxWidth: string;
162
+ fontFamily: string;
163
+ fontSize: string;
164
+ flexGrow: string;
165
+ fontWeight: number;
166
+ textAlign: string;
167
+ verticalAlign: string;
168
+ lineHeight: number;
169
+ borderRadius: string;
170
+ border: string;
171
+ px: string;
172
+ py: string;
173
+ height: string;
174
+ '&.is-disabled': {
175
+ opacity: number;
176
+ };
177
+ '&.is-focused': {
178
+ outline: string;
179
+ outlineColor: string;
180
+ outlineOffset: string;
181
+ };
182
+ transition: string;
183
+ };
184
+ critical: {
185
+ backgroundColor: string;
186
+ borderColor: string;
187
+ color: string;
188
+ '&.is-focused': {
189
+ outlineColor: string;
190
+ backgroundColor: string;
191
+ outline: string;
192
+ outlineOffset: string;
193
+ };
194
+ '&.is-pressed': {
195
+ backgroundColor: string;
196
+ borderColor: string;
197
+ };
198
+ '&.is-hovered': {
199
+ backgroundColor: string;
200
+ color: string;
201
+ };
202
+ alignItems: string;
203
+ justifyContent: string;
204
+ minWidth: string;
205
+ cursor: string;
206
+ display: string;
207
+ maxWidth: string;
208
+ fontFamily: string;
209
+ fontSize: string;
210
+ flexGrow: string;
211
+ fontWeight: number;
212
+ textAlign: string;
213
+ verticalAlign: string;
214
+ lineHeight: number;
215
+ borderRadius: string;
216
+ border: string;
217
+ px: string;
218
+ py: string;
219
+ height: string;
220
+ '&.is-disabled': {
221
+ opacity: number;
222
+ };
223
+ transition: string;
224
+ };
225
+ checkboxButton: {
226
+ backgroundColor: string;
227
+ borderColor: string;
228
+ color: string;
229
+ alignItems: string;
230
+ justifyContent: string;
231
+ minWidth: string;
232
+ cursor: string;
233
+ display: string;
234
+ maxWidth: string;
235
+ fontFamily: string;
236
+ fontSize: string;
237
+ flexGrow: string;
238
+ fontWeight: number;
239
+ textAlign: string;
240
+ verticalAlign: string;
241
+ lineHeight: number;
242
+ borderRadius: string;
243
+ border: string;
244
+ px: string;
245
+ py: string;
246
+ height: string;
247
+ '&.is-disabled': {
248
+ opacity: number;
249
+ };
250
+ '&.is-focused': {
251
+ outline: string;
252
+ outlineColor: string;
253
+ outlineOffset: string;
254
+ };
255
+ transition: string;
256
+ };
257
+ checkboxActiveButton: {
258
+ backgroundColor: string;
259
+ color: string;
260
+ alignItems: string;
261
+ justifyContent: string;
262
+ minWidth: string;
263
+ cursor: string;
264
+ display: string;
265
+ maxWidth: string;
266
+ fontFamily: string;
267
+ fontSize: string;
268
+ flexGrow: string;
269
+ fontWeight: number;
270
+ textAlign: string;
271
+ verticalAlign: string;
272
+ lineHeight: number;
273
+ borderRadius: string;
274
+ border: string;
275
+ borderColor: string;
276
+ px: string;
277
+ py: string;
278
+ height: string;
279
+ '&.is-disabled': {
280
+ opacity: number;
281
+ };
282
+ '&.is-focused': {
283
+ outline: string;
284
+ outlineColor: string;
285
+ outlineOffset: string;
286
+ };
287
+ transition: string;
288
+ };
289
+ outlineCritical: {
290
+ backgroundColor: string;
291
+ borderColor: string;
292
+ color: string;
293
+ '&.is-focused': {
294
+ outlineColor: string;
295
+ outline: string;
296
+ outlineOffset: string;
297
+ };
298
+ outlineColor: string;
299
+ alignItems: string;
300
+ justifyContent: string;
301
+ minWidth: string;
302
+ cursor: string;
303
+ display: string;
304
+ maxWidth: string;
305
+ fontFamily: string;
306
+ fontSize: string;
307
+ flexGrow: string;
308
+ fontWeight: number;
309
+ textAlign: string;
310
+ verticalAlign: string;
311
+ lineHeight: number;
312
+ borderRadius: string;
313
+ border: string;
314
+ px: string;
315
+ py: string;
316
+ height: string;
317
+ '&.is-disabled': {
318
+ opacity: number;
319
+ };
320
+ transition: string;
321
+ };
322
+ link: {
323
+ transition: string;
324
+ fontSize: string;
325
+ textDecoration: string;
326
+ px: string;
327
+ py: string;
328
+ '&.is-pressed': {
329
+ textDecoration: string;
330
+ outline: string;
331
+ color: string;
332
+ };
333
+ '&.is-focused': {
334
+ textDecoration: string;
335
+ outline: string;
336
+ };
337
+ };
338
+ withIcon: {
339
+ display: string;
340
+ backgroundColor: string;
341
+ borderColor: string;
342
+ color: string;
343
+ '&.is-pressed': {
344
+ backgroundColor: string;
345
+ borderColor: string;
346
+ color: string;
347
+ };
348
+ '&.is-hovered': {
349
+ backgroundColor: string;
350
+ color: string;
351
+ };
352
+ alignItems: string;
353
+ justifyContent: string;
354
+ minWidth: string;
355
+ cursor: string;
356
+ maxWidth: string;
357
+ fontFamily: string;
358
+ fontSize: string;
359
+ flexGrow: string;
360
+ fontWeight: number;
361
+ textAlign: string;
362
+ verticalAlign: string;
363
+ lineHeight: number;
364
+ borderRadius: string;
365
+ border: string;
366
+ px: string;
367
+ py: string;
368
+ height: string;
369
+ '&.is-disabled': {
370
+ opacity: number;
371
+ };
372
+ '&.is-focused': {
373
+ outline: string;
374
+ outlineColor: string;
375
+ outlineOffset: string;
376
+ };
377
+ transition: string;
378
+ };
379
+ primaryWithIcon: {
380
+ display: string;
381
+ color: string;
382
+ backgroundColor: string;
383
+ borderColor: string;
384
+ '&.is-pressed': {
385
+ backgroundColor: string;
386
+ borderColor: string;
387
+ };
388
+ '&.is-hovered': {
389
+ backgroundColor: string;
390
+ };
391
+ alignItems: string;
392
+ justifyContent: string;
393
+ minWidth: string;
394
+ cursor: string;
395
+ maxWidth: string;
396
+ fontFamily: string;
397
+ fontSize: string;
398
+ flexGrow: string;
399
+ fontWeight: number;
400
+ textAlign: string;
401
+ verticalAlign: string;
402
+ lineHeight: number;
403
+ borderRadius: string;
404
+ border: string;
405
+ px: string;
406
+ py: string;
407
+ height: string;
408
+ '&.is-disabled': {
409
+ opacity: number;
410
+ };
411
+ '&.is-focused': {
412
+ outline: string;
413
+ outlineColor: string;
414
+ outlineOffset: string;
415
+ };
416
+ transition: string;
417
+ };
418
+ iconButtons: {
419
+ base: {
420
+ transition: string;
421
+ outline: string;
422
+ borderRadius: string;
423
+ border: string;
424
+ borderColor: string;
425
+ path: {
426
+ fill: string;
427
+ };
428
+ '&.is-focused': {
429
+ outline: string;
430
+ outlineColor: string;
431
+ outlineOffset: string;
432
+ };
433
+ '&.is-hovered': {
434
+ backgroundColor: string;
435
+ path: {
436
+ fill: string;
437
+ };
438
+ };
439
+ '&.is-pressed': {
440
+ backgroundColor: string;
441
+ borderColor: string;
442
+ path: {
443
+ fill: string;
444
+ };
445
+ };
446
+ };
447
+ modalCloseButton: {
448
+ position: string;
449
+ top: number;
450
+ right: number;
451
+ transition: string;
452
+ outline: string;
453
+ borderRadius: string;
454
+ border: string;
455
+ borderColor: string;
456
+ path: {
457
+ fill: string;
458
+ };
459
+ '&.is-focused': {
460
+ outline: string;
461
+ outlineColor: string;
462
+ outlineOffset: string;
463
+ };
464
+ '&.is-hovered': {
465
+ backgroundColor: string;
466
+ path: {
467
+ fill: string;
468
+ };
469
+ };
470
+ '&.is-pressed': {
471
+ backgroundColor: string;
472
+ borderColor: string;
473
+ path: {
474
+ fill: string;
475
+ };
476
+ };
477
+ };
478
+ badge: {
479
+ deleteButton: {
480
+ transition: string;
481
+ borderRadius: string;
482
+ cursor: string;
483
+ height: number;
484
+ p: number;
485
+ width: number;
486
+ '&.is-focused': {
487
+ backgroundColor: string;
488
+ outline: string;
489
+ outlineColor: string;
490
+ outlineOffset: string;
491
+ };
492
+ '&.is-pressed': {
493
+ backgroundColor: string;
494
+ borderColor: string;
495
+ path: {
496
+ fill: string;
497
+ };
498
+ };
499
+ outline: string;
500
+ border: string;
501
+ borderColor: string;
502
+ path: {
503
+ fill: string;
504
+ };
505
+ '&.is-hovered': {
506
+ backgroundColor: string;
507
+ path: {
508
+ fill: string;
509
+ };
510
+ };
511
+ };
512
+ };
513
+ messageCloseButton: {
514
+ transition: string;
515
+ outline: string;
516
+ borderRadius: string;
517
+ border: string;
518
+ borderColor: string;
519
+ path: {
520
+ fill: string;
521
+ };
522
+ '&.is-focused': {
523
+ outline: string;
524
+ outlineColor: string;
525
+ outlineOffset: string;
526
+ };
527
+ '&.is-hovered': {
528
+ backgroundColor: string;
529
+ path: {
530
+ fill: string;
531
+ };
532
+ };
533
+ '&.is-pressed': {
534
+ backgroundColor: string;
535
+ borderColor: string;
536
+ path: {
537
+ fill: string;
538
+ };
539
+ };
540
+ };
541
+ };
542
+ modalCloseButton: {
543
+ position: string;
544
+ top: number;
545
+ right: number;
546
+ transition: string;
547
+ outline: string;
548
+ borderRadius: string;
549
+ border: string;
550
+ borderColor: string;
551
+ path: {
552
+ fill: string;
553
+ };
554
+ '&.is-focused': {
555
+ outline: string;
556
+ outlineColor: string;
557
+ outlineOffset: string;
558
+ };
559
+ '&.is-hovered': {
560
+ backgroundColor: string;
561
+ path: {
562
+ fill: string;
563
+ };
564
+ };
565
+ '&.is-pressed': {
566
+ backgroundColor: string;
567
+ borderColor: string;
568
+ path: {
569
+ fill: string;
570
+ };
571
+ };
572
+ };
573
+ };
574
+ export default buttons;