@pingux/astro 2.163.1-alpha.4 → 2.163.1-alpha.6
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/ListViewItem/ListViewItem.stories.js +50 -19
- package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +12 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +6 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.js +7 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/badges.d.ts +16 -11
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/badges.js +25 -21
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +7 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +12 -5
- package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +6 -0
- package/lib/cjs/styles/themes/astro/customProperties/index.js +6 -0
- package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +6 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/index.js +7 -0
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +47 -25
- package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.js +2 -1
- package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +31 -25
- package/lib/cjs/styles/themes/next-gen/variants/badges.js +14 -13
- package/lib/cjs/styles/themes/next-gen/variants/listview.d.ts +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/listview.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.js +2 -1
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +14 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +16 -2
- package/lib/components/ListViewItem/ListViewItem.stories.js +52 -21
- package/lib/styles/themeOverrides/nextGenDarkMode/customProperties/index.js +7 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/badges.js +25 -21
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +12 -5
- package/lib/styles/themes/astro/customProperties/index.js +6 -0
- package/lib/styles/themes/next-gen/customProperties/index.js +7 -0
- package/lib/styles/themes/next-gen/tokens/colorTokens.js +2 -1
- package/lib/styles/themes/next-gen/variants/badges.js +14 -13
- package/lib/styles/themes/next-gen/variants/listview.js +1 -1
- package/lib/styles/themes/next-gen/variants/text.js +2 -1
- package/lib/styles/themes/next-gen/variants/variants.js +16 -2
- package/lib/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -257,6 +257,7 @@ declare const _default: {
|
|
|
257
257
|
link: string;
|
|
258
258
|
label: string;
|
|
259
259
|
reverse: string;
|
|
260
|
+
hover: string;
|
|
260
261
|
};
|
|
261
262
|
active_hover: string;
|
|
262
263
|
active_pressed: string;
|
|
@@ -2125,6 +2126,7 @@ declare const _default: {
|
|
|
2125
2126
|
fontSize: string;
|
|
2126
2127
|
lineHeight: string;
|
|
2127
2128
|
color: string;
|
|
2129
|
+
mt: number;
|
|
2128
2130
|
};
|
|
2129
2131
|
itemTitle: {
|
|
2130
2132
|
fontWeight: number;
|
|
@@ -2246,7 +2248,7 @@ declare const _default: {
|
|
|
2246
2248
|
baseBadge: {
|
|
2247
2249
|
'& span': {
|
|
2248
2250
|
fontSize: string;
|
|
2249
|
-
fontWeight:
|
|
2251
|
+
fontWeight: string;
|
|
2250
2252
|
};
|
|
2251
2253
|
'& button': {
|
|
2252
2254
|
alignSelf: string;
|
|
@@ -2282,7 +2284,7 @@ declare const _default: {
|
|
|
2282
2284
|
default: {
|
|
2283
2285
|
'& span': {
|
|
2284
2286
|
fontSize: string;
|
|
2285
|
-
fontWeight:
|
|
2287
|
+
fontWeight: string;
|
|
2286
2288
|
};
|
|
2287
2289
|
'& button': {
|
|
2288
2290
|
alignSelf: string;
|
|
@@ -2320,7 +2322,7 @@ declare const _default: {
|
|
|
2320
2322
|
color: string;
|
|
2321
2323
|
'& span': {
|
|
2322
2324
|
fontSize: string;
|
|
2323
|
-
fontWeight:
|
|
2325
|
+
fontWeight: string;
|
|
2324
2326
|
};
|
|
2325
2327
|
'& button': {
|
|
2326
2328
|
alignSelf: string;
|
|
@@ -2357,7 +2359,7 @@ declare const _default: {
|
|
|
2357
2359
|
'& span': {
|
|
2358
2360
|
color: string;
|
|
2359
2361
|
fontSize: string;
|
|
2360
|
-
fontWeight:
|
|
2362
|
+
fontWeight: string;
|
|
2361
2363
|
};
|
|
2362
2364
|
'& button': {
|
|
2363
2365
|
alignSelf: string;
|
|
@@ -2395,7 +2397,7 @@ declare const _default: {
|
|
|
2395
2397
|
color: string;
|
|
2396
2398
|
'& span': {
|
|
2397
2399
|
fontSize: string;
|
|
2398
|
-
fontWeight:
|
|
2400
|
+
fontWeight: string;
|
|
2399
2401
|
};
|
|
2400
2402
|
'& button': {
|
|
2401
2403
|
alignSelf: string;
|
|
@@ -2432,7 +2434,7 @@ declare const _default: {
|
|
|
2432
2434
|
color: string;
|
|
2433
2435
|
'& span': {
|
|
2434
2436
|
fontSize: string;
|
|
2435
|
-
fontWeight:
|
|
2437
|
+
fontWeight: string;
|
|
2436
2438
|
};
|
|
2437
2439
|
'& button': {
|
|
2438
2440
|
alignSelf: string;
|
|
@@ -2469,7 +2471,7 @@ declare const _default: {
|
|
|
2469
2471
|
color: string;
|
|
2470
2472
|
'& span': {
|
|
2471
2473
|
fontSize: string;
|
|
2472
|
-
fontWeight:
|
|
2474
|
+
fontWeight: string;
|
|
2473
2475
|
};
|
|
2474
2476
|
'& button': {
|
|
2475
2477
|
alignSelf: string;
|
|
@@ -2506,7 +2508,7 @@ declare const _default: {
|
|
|
2506
2508
|
color: string;
|
|
2507
2509
|
'& span': {
|
|
2508
2510
|
fontSize: string;
|
|
2509
|
-
fontWeight:
|
|
2511
|
+
fontWeight: string;
|
|
2510
2512
|
};
|
|
2511
2513
|
'& button': {
|
|
2512
2514
|
alignSelf: string;
|
|
@@ -2543,7 +2545,7 @@ declare const _default: {
|
|
|
2543
2545
|
color: string;
|
|
2544
2546
|
'& span': {
|
|
2545
2547
|
fontSize: string;
|
|
2546
|
-
fontWeight:
|
|
2548
|
+
fontWeight: string;
|
|
2547
2549
|
};
|
|
2548
2550
|
'& button': {
|
|
2549
2551
|
alignSelf: string;
|
|
@@ -2580,7 +2582,7 @@ declare const _default: {
|
|
|
2580
2582
|
color: string;
|
|
2581
2583
|
'& span': {
|
|
2582
2584
|
fontSize: string;
|
|
2583
|
-
fontWeight:
|
|
2585
|
+
fontWeight: string;
|
|
2584
2586
|
};
|
|
2585
2587
|
'& button': {
|
|
2586
2588
|
alignSelf: string;
|
|
@@ -2617,7 +2619,7 @@ declare const _default: {
|
|
|
2617
2619
|
color: string;
|
|
2618
2620
|
'& span': {
|
|
2619
2621
|
fontSize: string;
|
|
2620
|
-
fontWeight:
|
|
2622
|
+
fontWeight: string;
|
|
2621
2623
|
};
|
|
2622
2624
|
'& button': {
|
|
2623
2625
|
alignSelf: string;
|
|
@@ -2654,8 +2656,8 @@ declare const _default: {
|
|
|
2654
2656
|
paddingRight: string;
|
|
2655
2657
|
'& span': {
|
|
2656
2658
|
color: string;
|
|
2657
|
-
fontWeight: number;
|
|
2658
2659
|
fontSize: string;
|
|
2660
|
+
fontWeight: string;
|
|
2659
2661
|
};
|
|
2660
2662
|
'& button': {
|
|
2661
2663
|
alignSelf: string;
|
|
@@ -2690,10 +2692,13 @@ declare const _default: {
|
|
|
2690
2692
|
};
|
|
2691
2693
|
readOnlyBadge: {
|
|
2692
2694
|
border: string;
|
|
2695
|
+
borderColor: string;
|
|
2696
|
+
backgroundColor: string;
|
|
2693
2697
|
'& span': {
|
|
2694
2698
|
color: string;
|
|
2695
|
-
|
|
2699
|
+
lineHeight: string;
|
|
2696
2700
|
fontSize: string;
|
|
2701
|
+
fontWeight: string;
|
|
2697
2702
|
};
|
|
2698
2703
|
'& button': {
|
|
2699
2704
|
alignSelf: string;
|
|
@@ -2729,10 +2734,13 @@ declare const _default: {
|
|
|
2729
2734
|
readOnlyFieldBadge: {
|
|
2730
2735
|
'& span': {
|
|
2731
2736
|
color: string;
|
|
2737
|
+
lineHeight: string;
|
|
2732
2738
|
fontSize: string;
|
|
2733
|
-
fontWeight:
|
|
2739
|
+
fontWeight: string;
|
|
2734
2740
|
};
|
|
2735
2741
|
border: string;
|
|
2742
|
+
borderColor: string;
|
|
2743
|
+
backgroundColor: string;
|
|
2736
2744
|
'& button': {
|
|
2737
2745
|
alignSelf: string;
|
|
2738
2746
|
p: string;
|
|
@@ -2771,7 +2779,7 @@ declare const _default: {
|
|
|
2771
2779
|
color: string;
|
|
2772
2780
|
'& span': {
|
|
2773
2781
|
fontSize: string;
|
|
2774
|
-
fontWeight:
|
|
2782
|
+
fontWeight: string;
|
|
2775
2783
|
};
|
|
2776
2784
|
'& button': {
|
|
2777
2785
|
alignSelf: string;
|
|
@@ -2810,7 +2818,7 @@ declare const _default: {
|
|
|
2810
2818
|
color: string;
|
|
2811
2819
|
'& span': {
|
|
2812
2820
|
fontSize: string;
|
|
2813
|
-
fontWeight:
|
|
2821
|
+
fontWeight: string;
|
|
2814
2822
|
};
|
|
2815
2823
|
'& button': {
|
|
2816
2824
|
alignSelf: string;
|
|
@@ -2849,7 +2857,7 @@ declare const _default: {
|
|
|
2849
2857
|
color: string;
|
|
2850
2858
|
'& span': {
|
|
2851
2859
|
fontSize: string;
|
|
2852
|
-
fontWeight:
|
|
2860
|
+
fontWeight: string;
|
|
2853
2861
|
};
|
|
2854
2862
|
'& button': {
|
|
2855
2863
|
alignSelf: string;
|
|
@@ -2888,7 +2896,7 @@ declare const _default: {
|
|
|
2888
2896
|
color: string;
|
|
2889
2897
|
'& span': {
|
|
2890
2898
|
fontSize: string;
|
|
2891
|
-
fontWeight:
|
|
2899
|
+
fontWeight: string;
|
|
2892
2900
|
};
|
|
2893
2901
|
'& button': {
|
|
2894
2902
|
alignSelf: string;
|
|
@@ -2927,7 +2935,7 @@ declare const _default: {
|
|
|
2927
2935
|
color: string;
|
|
2928
2936
|
'& span': {
|
|
2929
2937
|
fontSize: string;
|
|
2930
|
-
fontWeight:
|
|
2938
|
+
fontWeight: string;
|
|
2931
2939
|
};
|
|
2932
2940
|
'& button': {
|
|
2933
2941
|
alignSelf: string;
|
|
@@ -2991,17 +2999,17 @@ declare const _default: {
|
|
|
2991
2999
|
boxShadow: string;
|
|
2992
3000
|
};
|
|
2993
3001
|
itemBadgeWithSlot: {
|
|
2994
|
-
|
|
2995
|
-
fontWeight: number;
|
|
3002
|
+
border: string;
|
|
2996
3003
|
'& span': {
|
|
2997
3004
|
color: string;
|
|
2998
3005
|
fontSize: string;
|
|
2999
|
-
fontWeight:
|
|
3006
|
+
fontWeight: string;
|
|
3000
3007
|
};
|
|
3001
3008
|
'& svg': {
|
|
3002
3009
|
fill: string;
|
|
3003
3010
|
};
|
|
3004
|
-
|
|
3011
|
+
backgroundColor: string;
|
|
3012
|
+
paddingRight: string;
|
|
3005
3013
|
'& button': {
|
|
3006
3014
|
alignSelf: string;
|
|
3007
3015
|
p: string;
|
|
@@ -3034,7 +3042,7 @@ declare const _default: {
|
|
|
3034
3042
|
color: string;
|
|
3035
3043
|
'& span': {
|
|
3036
3044
|
fontSize: string;
|
|
3037
|
-
fontWeight:
|
|
3045
|
+
fontWeight: string;
|
|
3038
3046
|
};
|
|
3039
3047
|
'& button': {
|
|
3040
3048
|
alignSelf: string;
|
|
@@ -3071,7 +3079,7 @@ declare const _default: {
|
|
|
3071
3079
|
color: string;
|
|
3072
3080
|
'& span': {
|
|
3073
3081
|
fontSize: string;
|
|
3074
|
-
fontWeight:
|
|
3082
|
+
fontWeight: string;
|
|
3075
3083
|
};
|
|
3076
3084
|
'& button': {
|
|
3077
3085
|
alignSelf: string;
|
|
@@ -4435,6 +4443,9 @@ declare const _default: {
|
|
|
4435
4443
|
pl: string;
|
|
4436
4444
|
pr: string;
|
|
4437
4445
|
justifyContent: string;
|
|
4446
|
+
borderRadius: string;
|
|
4447
|
+
lineHeight: string;
|
|
4448
|
+
color: string;
|
|
4438
4449
|
'&.is-focused': {
|
|
4439
4450
|
color: string;
|
|
4440
4451
|
bg: string;
|
|
@@ -4464,14 +4475,25 @@ declare const _default: {
|
|
|
4464
4475
|
'&.is-condensed': {
|
|
4465
4476
|
pl: string;
|
|
4466
4477
|
bg: string;
|
|
4478
|
+
color: string;
|
|
4467
4479
|
'&.is-selected': {
|
|
4468
4480
|
bg: string;
|
|
4469
4481
|
};
|
|
4470
4482
|
'&.is-focused': {
|
|
4471
4483
|
bg: string;
|
|
4484
|
+
color: string;
|
|
4472
4485
|
};
|
|
4473
4486
|
};
|
|
4474
4487
|
};
|
|
4488
|
+
sectionTitle: {
|
|
4489
|
+
color: string;
|
|
4490
|
+
fontWeight: string;
|
|
4491
|
+
fontSize: string;
|
|
4492
|
+
lineHeight: string;
|
|
4493
|
+
textTransform: string;
|
|
4494
|
+
letterSpacing: string;
|
|
4495
|
+
ml: string;
|
|
4496
|
+
};
|
|
4475
4497
|
};
|
|
4476
4498
|
listView: {
|
|
4477
4499
|
container: {
|
|
@@ -130,7 +130,8 @@ var nextGenColors = exports.nextGenColors = {
|
|
|
130
130
|
'light': '#5e6d82',
|
|
131
131
|
'link': '#1a73e8',
|
|
132
132
|
'label': '#5e6d82',
|
|
133
|
-
'reverse': '#ffffff'
|
|
133
|
+
'reverse': '#ffffff',
|
|
134
|
+
'hover': '#121518'
|
|
134
135
|
},
|
|
135
136
|
'active': '#1a73e8',
|
|
136
137
|
'active_hover': '#1462C8',
|
|
@@ -33,7 +33,7 @@ export declare const badges: {
|
|
|
33
33
|
baseBadge: {
|
|
34
34
|
'& span': {
|
|
35
35
|
fontSize: string;
|
|
36
|
-
fontWeight:
|
|
36
|
+
fontWeight: string;
|
|
37
37
|
};
|
|
38
38
|
'& button': {
|
|
39
39
|
alignSelf: string;
|
|
@@ -69,7 +69,7 @@ export declare const badges: {
|
|
|
69
69
|
default: {
|
|
70
70
|
'& span': {
|
|
71
71
|
fontSize: string;
|
|
72
|
-
fontWeight:
|
|
72
|
+
fontWeight: string;
|
|
73
73
|
};
|
|
74
74
|
'& button': {
|
|
75
75
|
alignSelf: string;
|
|
@@ -107,7 +107,7 @@ export declare const badges: {
|
|
|
107
107
|
color: string;
|
|
108
108
|
'& span': {
|
|
109
109
|
fontSize: string;
|
|
110
|
-
fontWeight:
|
|
110
|
+
fontWeight: string;
|
|
111
111
|
};
|
|
112
112
|
'& button': {
|
|
113
113
|
alignSelf: string;
|
|
@@ -144,7 +144,7 @@ export declare const badges: {
|
|
|
144
144
|
'& span': {
|
|
145
145
|
color: string;
|
|
146
146
|
fontSize: string;
|
|
147
|
-
fontWeight:
|
|
147
|
+
fontWeight: string;
|
|
148
148
|
};
|
|
149
149
|
'& button': {
|
|
150
150
|
alignSelf: string;
|
|
@@ -182,7 +182,7 @@ export declare const badges: {
|
|
|
182
182
|
color: string;
|
|
183
183
|
'& span': {
|
|
184
184
|
fontSize: string;
|
|
185
|
-
fontWeight:
|
|
185
|
+
fontWeight: string;
|
|
186
186
|
};
|
|
187
187
|
'& button': {
|
|
188
188
|
alignSelf: string;
|
|
@@ -219,7 +219,7 @@ export declare const badges: {
|
|
|
219
219
|
color: string;
|
|
220
220
|
'& span': {
|
|
221
221
|
fontSize: string;
|
|
222
|
-
fontWeight:
|
|
222
|
+
fontWeight: string;
|
|
223
223
|
};
|
|
224
224
|
'& button': {
|
|
225
225
|
alignSelf: string;
|
|
@@ -256,7 +256,7 @@ export declare const badges: {
|
|
|
256
256
|
color: string;
|
|
257
257
|
'& span': {
|
|
258
258
|
fontSize: string;
|
|
259
|
-
fontWeight:
|
|
259
|
+
fontWeight: string;
|
|
260
260
|
};
|
|
261
261
|
'& button': {
|
|
262
262
|
alignSelf: string;
|
|
@@ -293,7 +293,7 @@ export declare const badges: {
|
|
|
293
293
|
color: string;
|
|
294
294
|
'& span': {
|
|
295
295
|
fontSize: string;
|
|
296
|
-
fontWeight:
|
|
296
|
+
fontWeight: string;
|
|
297
297
|
};
|
|
298
298
|
'& button': {
|
|
299
299
|
alignSelf: string;
|
|
@@ -330,7 +330,7 @@ export declare const badges: {
|
|
|
330
330
|
color: string;
|
|
331
331
|
'& span': {
|
|
332
332
|
fontSize: string;
|
|
333
|
-
fontWeight:
|
|
333
|
+
fontWeight: string;
|
|
334
334
|
};
|
|
335
335
|
'& button': {
|
|
336
336
|
alignSelf: string;
|
|
@@ -367,7 +367,7 @@ export declare const badges: {
|
|
|
367
367
|
color: string;
|
|
368
368
|
'& span': {
|
|
369
369
|
fontSize: string;
|
|
370
|
-
fontWeight:
|
|
370
|
+
fontWeight: string;
|
|
371
371
|
};
|
|
372
372
|
'& button': {
|
|
373
373
|
alignSelf: string;
|
|
@@ -404,7 +404,7 @@ export declare const badges: {
|
|
|
404
404
|
color: string;
|
|
405
405
|
'& span': {
|
|
406
406
|
fontSize: string;
|
|
407
|
-
fontWeight:
|
|
407
|
+
fontWeight: string;
|
|
408
408
|
};
|
|
409
409
|
'& button': {
|
|
410
410
|
alignSelf: string;
|
|
@@ -441,8 +441,8 @@ export declare const badges: {
|
|
|
441
441
|
paddingRight: string;
|
|
442
442
|
'& span': {
|
|
443
443
|
color: string;
|
|
444
|
-
fontWeight: number;
|
|
445
444
|
fontSize: string;
|
|
445
|
+
fontWeight: string;
|
|
446
446
|
};
|
|
447
447
|
'& button': {
|
|
448
448
|
alignSelf: string;
|
|
@@ -477,10 +477,13 @@ export declare const badges: {
|
|
|
477
477
|
};
|
|
478
478
|
readOnlyBadge: {
|
|
479
479
|
border: string;
|
|
480
|
+
borderColor: string;
|
|
481
|
+
backgroundColor: string;
|
|
480
482
|
'& span': {
|
|
481
483
|
color: string;
|
|
482
|
-
|
|
484
|
+
lineHeight: string;
|
|
483
485
|
fontSize: string;
|
|
486
|
+
fontWeight: string;
|
|
484
487
|
};
|
|
485
488
|
'& button': {
|
|
486
489
|
alignSelf: string;
|
|
@@ -516,10 +519,13 @@ export declare const badges: {
|
|
|
516
519
|
readOnlyFieldBadge: {
|
|
517
520
|
'& span': {
|
|
518
521
|
color: string;
|
|
522
|
+
lineHeight: string;
|
|
519
523
|
fontSize: string;
|
|
520
|
-
fontWeight:
|
|
524
|
+
fontWeight: string;
|
|
521
525
|
};
|
|
522
526
|
border: string;
|
|
527
|
+
borderColor: string;
|
|
528
|
+
backgroundColor: string;
|
|
523
529
|
'& button': {
|
|
524
530
|
alignSelf: string;
|
|
525
531
|
p: string;
|
|
@@ -558,7 +564,7 @@ export declare const badges: {
|
|
|
558
564
|
color: string;
|
|
559
565
|
'& span': {
|
|
560
566
|
fontSize: string;
|
|
561
|
-
fontWeight:
|
|
567
|
+
fontWeight: string;
|
|
562
568
|
};
|
|
563
569
|
'& button': {
|
|
564
570
|
alignSelf: string;
|
|
@@ -597,7 +603,7 @@ export declare const badges: {
|
|
|
597
603
|
color: string;
|
|
598
604
|
'& span': {
|
|
599
605
|
fontSize: string;
|
|
600
|
-
fontWeight:
|
|
606
|
+
fontWeight: string;
|
|
601
607
|
};
|
|
602
608
|
'& button': {
|
|
603
609
|
alignSelf: string;
|
|
@@ -636,7 +642,7 @@ export declare const badges: {
|
|
|
636
642
|
color: string;
|
|
637
643
|
'& span': {
|
|
638
644
|
fontSize: string;
|
|
639
|
-
fontWeight:
|
|
645
|
+
fontWeight: string;
|
|
640
646
|
};
|
|
641
647
|
'& button': {
|
|
642
648
|
alignSelf: string;
|
|
@@ -675,7 +681,7 @@ export declare const badges: {
|
|
|
675
681
|
color: string;
|
|
676
682
|
'& span': {
|
|
677
683
|
fontSize: string;
|
|
678
|
-
fontWeight:
|
|
684
|
+
fontWeight: string;
|
|
679
685
|
};
|
|
680
686
|
'& button': {
|
|
681
687
|
alignSelf: string;
|
|
@@ -714,7 +720,7 @@ export declare const badges: {
|
|
|
714
720
|
color: string;
|
|
715
721
|
'& span': {
|
|
716
722
|
fontSize: string;
|
|
717
|
-
fontWeight:
|
|
723
|
+
fontWeight: string;
|
|
718
724
|
};
|
|
719
725
|
'& button': {
|
|
720
726
|
alignSelf: string;
|
|
@@ -778,17 +784,17 @@ export declare const badges: {
|
|
|
778
784
|
boxShadow: string;
|
|
779
785
|
};
|
|
780
786
|
itemBadgeWithSlot: {
|
|
781
|
-
|
|
782
|
-
fontWeight: number;
|
|
787
|
+
border: string;
|
|
783
788
|
'& span': {
|
|
784
789
|
color: string;
|
|
785
790
|
fontSize: string;
|
|
786
|
-
fontWeight:
|
|
791
|
+
fontWeight: string;
|
|
787
792
|
};
|
|
788
793
|
'& svg': {
|
|
789
794
|
fill: string;
|
|
790
795
|
};
|
|
791
|
-
|
|
796
|
+
backgroundColor: string;
|
|
797
|
+
paddingRight: string;
|
|
792
798
|
'& button': {
|
|
793
799
|
alignSelf: string;
|
|
794
800
|
p: string;
|
|
@@ -821,7 +827,7 @@ export declare const badges: {
|
|
|
821
827
|
color: string;
|
|
822
828
|
'& span': {
|
|
823
829
|
fontSize: string;
|
|
824
|
-
fontWeight:
|
|
830
|
+
fontWeight: string;
|
|
825
831
|
};
|
|
826
832
|
'& button': {
|
|
827
833
|
alignSelf: string;
|
|
@@ -858,7 +864,7 @@ export declare const badges: {
|
|
|
858
864
|
color: string;
|
|
859
865
|
'& span': {
|
|
860
866
|
fontSize: string;
|
|
861
|
-
fontWeight:
|
|
867
|
+
fontWeight: string;
|
|
862
868
|
};
|
|
863
869
|
'& button': {
|
|
864
870
|
alignSelf: string;
|
|
@@ -18,8 +18,8 @@ var _button = _interopRequireDefault(require("./button"));
|
|
|
18
18
|
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19
19
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20
20
|
var badgeFont = {
|
|
21
|
-
fontSize: '
|
|
22
|
-
fontWeight: 2
|
|
21
|
+
fontSize: 'tiny',
|
|
22
|
+
fontWeight: '2'
|
|
23
23
|
};
|
|
24
24
|
var badgeIconStyle = {
|
|
25
25
|
'& span': _objectSpread({}, badgeFont),
|
|
@@ -46,11 +46,11 @@ var baseBadge = _objectSpread({
|
|
|
46
46
|
alignItems: 'center',
|
|
47
47
|
justifyContent: 'center',
|
|
48
48
|
py: '.25em',
|
|
49
|
-
px: '.
|
|
49
|
+
px: '.34em',
|
|
50
50
|
borderRadius: '4px',
|
|
51
51
|
maxHeight: '18px',
|
|
52
52
|
minHeight: '18px',
|
|
53
|
-
fontSize: '
|
|
53
|
+
fontSize: 'tiny',
|
|
54
54
|
alignSelf: 'flex-start',
|
|
55
55
|
display: 'inline-flex !important',
|
|
56
56
|
width: 'fit-content',
|
|
@@ -88,30 +88,31 @@ var selectedItemBadge = _objectSpread(_objectSpread({}, baseBadge), {}, {
|
|
|
88
88
|
backgroundColor: '#eaf2fd !important',
|
|
89
89
|
paddingRight: '0px !important',
|
|
90
90
|
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
|
91
|
-
color: 'text.primary'
|
|
92
|
-
fontWeight: 400
|
|
91
|
+
color: 'text.primary'
|
|
93
92
|
})
|
|
94
93
|
});
|
|
95
94
|
var readOnlyBadge = _objectSpread(_objectSpread({}, baseBadge), {}, {
|
|
96
|
-
border: '
|
|
95
|
+
border: '1px solid',
|
|
96
|
+
borderColor: 'border.hairline',
|
|
97
|
+
backgroundColor: '#FFFFFF !important',
|
|
97
98
|
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
|
98
99
|
color: 'text.primary',
|
|
99
|
-
|
|
100
|
+
lineHeight: 'xs'
|
|
100
101
|
})
|
|
101
102
|
});
|
|
102
103
|
var readOnlyFieldBadge = _objectSpread(_objectSpread({}, readOnlyBadge), {}, {
|
|
103
104
|
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
|
104
|
-
color: '
|
|
105
|
+
color: 'text.primary',
|
|
106
|
+
lineHeight: 'xs'
|
|
105
107
|
})
|
|
106
108
|
});
|
|
107
|
-
var itemBadgeWithSlot = _objectSpread(_objectSpread({},
|
|
108
|
-
|
|
109
|
-
fontWeight: 2,
|
|
109
|
+
var itemBadgeWithSlot = _objectSpread(_objectSpread({}, selectedItemBadge), {}, {
|
|
110
|
+
border: 'none',
|
|
110
111
|
'& span': _objectSpread(_objectSpread({}, badgeFont), {}, {
|
|
111
112
|
color: 'text.primary'
|
|
112
113
|
}),
|
|
113
114
|
'& svg': {
|
|
114
|
-
fill: '
|
|
115
|
+
fill: 'text.primary'
|
|
115
116
|
}
|
|
116
117
|
});
|
|
117
118
|
var badgeDeleteButton = exports.badgeDeleteButton = _objectSpread(_objectSpread({}, _button["default"].iconButtons.base), {}, {
|
|
@@ -5,7 +5,7 @@ _Object$defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.listViewItem = exports.listView = exports.lisViewItemChart = exports.focusBoxShadow = exports.borderRadius = void 0;
|
|
8
|
-
var focusBoxShadow = exports.focusBoxShadow = '0 0 0
|
|
8
|
+
var focusBoxShadow = exports.focusBoxShadow = '0 0 0 2px inset #1a73e8';
|
|
9
9
|
var borderRadius = exports.borderRadius = '16px';
|
|
10
10
|
var listViewItem = exports.listViewItem = {
|
|
11
11
|
rightOfData: {
|
|
@@ -766,6 +766,9 @@ declare const _default: {
|
|
|
766
766
|
pl: string;
|
|
767
767
|
pr: string;
|
|
768
768
|
justifyContent: string;
|
|
769
|
+
borderRadius: string;
|
|
770
|
+
lineHeight: string;
|
|
771
|
+
color: string;
|
|
769
772
|
'&.is-focused': {
|
|
770
773
|
color: string;
|
|
771
774
|
bg: string;
|
|
@@ -795,14 +798,25 @@ declare const _default: {
|
|
|
795
798
|
'&.is-condensed': {
|
|
796
799
|
pl: string;
|
|
797
800
|
bg: string;
|
|
801
|
+
color: string;
|
|
798
802
|
'&.is-selected': {
|
|
799
803
|
bg: string;
|
|
800
804
|
};
|
|
801
805
|
'&.is-focused': {
|
|
802
806
|
bg: string;
|
|
807
|
+
color: string;
|
|
803
808
|
};
|
|
804
809
|
};
|
|
805
810
|
};
|
|
811
|
+
sectionTitle: {
|
|
812
|
+
color: string;
|
|
813
|
+
fontWeight: string;
|
|
814
|
+
fontSize: string;
|
|
815
|
+
lineHeight: string;
|
|
816
|
+
textTransform: string;
|
|
817
|
+
letterSpacing: string;
|
|
818
|
+
ml: string;
|
|
819
|
+
};
|
|
806
820
|
};
|
|
807
821
|
listView: {
|
|
808
822
|
container: {
|
|
@@ -158,8 +158,11 @@ var listBox = {
|
|
|
158
158
|
pl: '.75rem',
|
|
159
159
|
pr: 'md',
|
|
160
160
|
justifyContent: 'space-between',
|
|
161
|
+
borderRadius: '4px',
|
|
162
|
+
lineHeight: 'body',
|
|
163
|
+
color: 'gray-700',
|
|
161
164
|
'&.is-focused': {
|
|
162
|
-
color: '
|
|
165
|
+
color: 'font.hover',
|
|
163
166
|
bg: 'gray-100',
|
|
164
167
|
borderRadius: '4px'
|
|
165
168
|
},
|
|
@@ -187,13 +190,24 @@ var listBox = {
|
|
|
187
190
|
'&.is-condensed': {
|
|
188
191
|
pl: 'md',
|
|
189
192
|
bg: 'backgroundBase',
|
|
193
|
+
color: 'gray-700',
|
|
190
194
|
'&.is-selected': {
|
|
191
195
|
bg: 'backgroundBase'
|
|
192
196
|
},
|
|
193
197
|
'&.is-focused': {
|
|
194
|
-
bg: 'backgroundBase'
|
|
198
|
+
bg: 'backgroundBase',
|
|
199
|
+
color: 'font.hover'
|
|
195
200
|
}
|
|
196
201
|
}
|
|
202
|
+
},
|
|
203
|
+
sectionTitle: {
|
|
204
|
+
color: 'font.light',
|
|
205
|
+
fontWeight: '1',
|
|
206
|
+
fontSize: 'tiny',
|
|
207
|
+
lineHeight: 'xs',
|
|
208
|
+
textTransform: 'uppercase',
|
|
209
|
+
letterSpacing: '1px',
|
|
210
|
+
ml: 'md'
|
|
197
211
|
}
|
|
198
212
|
};
|
|
199
213
|
var separator = {
|