@sebgroup/green-core 1.1.0 → 1.2.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/components/context-menu/context-menu.d.ts +40 -0
- package/components/context-menu/context-menu.trans.styles.d.ts +2 -0
- package/components/dropdown/dropdown.d.ts +4 -0
- package/components/index.d.ts +2 -0
- package/controllers/listbox-kb-nav-controller.d.ts +25 -0
- package/index.js +471 -273
- package/mixins/focusable.d.ts +7 -0
- package/package.json +1 -1
- package/primitives/listbox/listbox.d.ts +3 -1
- package/primitives/listbox/option.d.ts +3 -9
- package/primitives/menu/menu-item.d.ts +12 -0
- package/primitives/menu/menu.d.ts +23 -0
- package/primitives/popover/popover.d.ts +9 -1
- package/transitional-styles.js +557 -6
- package/utils/helpers/custom-element-scoping.d.ts +1 -3
- package/utils/helpers/unwrap-slots.d.ts +4 -0
package/transitional-styles.js
CHANGED
|
@@ -540,6 +540,63 @@ button:where(:not(.primary,
|
|
|
540
540
|
[aria-haspopup=listbox],
|
|
541
541
|
[aria-haspopup=menu],
|
|
542
542
|
[role=switch],
|
|
543
|
+
.gds-filter-chip)):disabled::-moz-placeholder, button:where(:not(.primary,
|
|
544
|
+
.tertiary,
|
|
545
|
+
.ghost,
|
|
546
|
+
.danger,
|
|
547
|
+
.close,
|
|
548
|
+
.sg-table-sort,
|
|
549
|
+
.link,
|
|
550
|
+
[aria-haspopup=listbox],
|
|
551
|
+
[aria-haspopup=menu],
|
|
552
|
+
[role=switch],
|
|
553
|
+
.gds-filter-chip)).disabled::-moz-placeholder, button:where(:not(.primary,
|
|
554
|
+
.tertiary,
|
|
555
|
+
.ghost,
|
|
556
|
+
.danger,
|
|
557
|
+
.close,
|
|
558
|
+
.sg-table-sort,
|
|
559
|
+
.link,
|
|
560
|
+
[aria-haspopup=listbox],
|
|
561
|
+
[aria-haspopup=menu],
|
|
562
|
+
[role=switch],
|
|
563
|
+
.gds-filter-chip))[aria-disabled=true]::-moz-placeholder, a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):disabled::-moz-placeholder, a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).disabled::-moz-placeholder, a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-disabled=true]::-moz-placeholder, button.secondary:disabled::-moz-placeholder, button.secondary.disabled::-moz-placeholder, button.secondary[aria-disabled=true]::-moz-placeholder, a.button.secondary:disabled::-moz-placeholder, a.button.secondary.disabled::-moz-placeholder, a.button.secondary[aria-disabled=true]::-moz-placeholder, input:is([type=button], [type=reset]):disabled::-moz-placeholder, input:is([type=button], [type=reset]).disabled::-moz-placeholder, input:is([type=button], [type=reset])[aria-disabled=true]::-moz-placeholder, button[type=button]:where(:not(.primary,
|
|
564
|
+
.tertiary,
|
|
565
|
+
.ghost,
|
|
566
|
+
.danger,
|
|
567
|
+
.close,
|
|
568
|
+
.link,
|
|
569
|
+
.icon,
|
|
570
|
+
[aria-haspopup=listbox],
|
|
571
|
+
[aria-haspopup=menu])):disabled::-moz-placeholder, button[type=button]:where(:not(.primary,
|
|
572
|
+
.tertiary,
|
|
573
|
+
.ghost,
|
|
574
|
+
.danger,
|
|
575
|
+
.close,
|
|
576
|
+
.link,
|
|
577
|
+
.icon,
|
|
578
|
+
[aria-haspopup=listbox],
|
|
579
|
+
[aria-haspopup=menu])).disabled::-moz-placeholder, button[type=button]:where(:not(.primary,
|
|
580
|
+
.tertiary,
|
|
581
|
+
.ghost,
|
|
582
|
+
.danger,
|
|
583
|
+
.close,
|
|
584
|
+
.link,
|
|
585
|
+
.icon,
|
|
586
|
+
[aria-haspopup=listbox],
|
|
587
|
+
[aria-haspopup=menu]))[aria-disabled=true]::-moz-placeholder, button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):disabled::-moz-placeholder, button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).disabled::-moz-placeholder, button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-disabled=true]::-moz-placeholder {
|
|
588
|
+
color: var(--text-disabled-color);
|
|
589
|
+
}
|
|
590
|
+
button:where(:not(.primary,
|
|
591
|
+
.tertiary,
|
|
592
|
+
.ghost,
|
|
593
|
+
.danger,
|
|
594
|
+
.close,
|
|
595
|
+
.sg-table-sort,
|
|
596
|
+
.link,
|
|
597
|
+
[aria-haspopup=listbox],
|
|
598
|
+
[aria-haspopup=menu],
|
|
599
|
+
[role=switch],
|
|
543
600
|
.gds-filter-chip)):disabled::placeholder, button:where(:not(.primary,
|
|
544
601
|
.tertiary,
|
|
545
602
|
.ghost,
|
|
@@ -821,6 +878,39 @@ button:where(:not(.primary,
|
|
|
821
878
|
[aria-haspopup=listbox],
|
|
822
879
|
[aria-haspopup=menu],
|
|
823
880
|
[role=switch],
|
|
881
|
+
.gds-filter-chip)):disabled::-moz-placeholder, button:where(:not(.primary,
|
|
882
|
+
.secondary,
|
|
883
|
+
.ghost,
|
|
884
|
+
.danger,
|
|
885
|
+
.close,
|
|
886
|
+
.sg-table-sort,
|
|
887
|
+
.link,
|
|
888
|
+
[aria-haspopup=listbox],
|
|
889
|
+
[aria-haspopup=menu],
|
|
890
|
+
[role=switch],
|
|
891
|
+
.gds-filter-chip)).disabled::-moz-placeholder, button:where(:not(.primary,
|
|
892
|
+
.secondary,
|
|
893
|
+
.ghost,
|
|
894
|
+
.danger,
|
|
895
|
+
.close,
|
|
896
|
+
.sg-table-sort,
|
|
897
|
+
.link,
|
|
898
|
+
[aria-haspopup=listbox],
|
|
899
|
+
[aria-haspopup=menu],
|
|
900
|
+
[role=switch],
|
|
901
|
+
.gds-filter-chip))[aria-disabled=true]::-moz-placeholder, a.button:where(:not(.primary, .secondary, .ghost, .close, .link)):disabled::-moz-placeholder, a.button:where(:not(.primary, .secondary, .ghost, .close, .link)).disabled::-moz-placeholder, a.button:where(:not(.primary, .secondary, .ghost, .close, .link))[aria-disabled=true]::-moz-placeholder, button.tertiary:disabled::-moz-placeholder, button.tertiary.disabled::-moz-placeholder, button.tertiary[aria-disabled=true]::-moz-placeholder, a.button.tertiary:disabled::-moz-placeholder, a.button.tertiary.disabled::-moz-placeholder, a.button.tertiary[aria-disabled=true]::-moz-placeholder {
|
|
902
|
+
color: var(--text-disabled-color);
|
|
903
|
+
}
|
|
904
|
+
button:where(:not(.primary,
|
|
905
|
+
.secondary,
|
|
906
|
+
.ghost,
|
|
907
|
+
.danger,
|
|
908
|
+
.close,
|
|
909
|
+
.sg-table-sort,
|
|
910
|
+
.link,
|
|
911
|
+
[aria-haspopup=listbox],
|
|
912
|
+
[aria-haspopup=menu],
|
|
913
|
+
[role=switch],
|
|
824
914
|
.gds-filter-chip)):disabled::placeholder, button:where(:not(.primary,
|
|
825
915
|
.secondary,
|
|
826
916
|
.ghost,
|
|
@@ -987,6 +1077,24 @@ a.button.primary[aria-disabled=true] {
|
|
|
987
1077
|
border-color: var(--border-primary-disabled-color) !important;
|
|
988
1078
|
cursor: not-allowed;
|
|
989
1079
|
}
|
|
1080
|
+
button.primary:disabled::-moz-placeholder, button.primary.disabled::-moz-placeholder, button.primary[aria-disabled=true]::-moz-placeholder, input[type=submit]:disabled::-moz-placeholder, input[type=submit].disabled::-moz-placeholder, input[type=submit][aria-disabled=true]::-moz-placeholder, button[type=submit]:not(.secondary,
|
|
1081
|
+
.ghost,
|
|
1082
|
+
.danger,
|
|
1083
|
+
.close,
|
|
1084
|
+
.link,
|
|
1085
|
+
.gds-filter-chip):disabled::-moz-placeholder, button[type=submit]:not(.secondary,
|
|
1086
|
+
.ghost,
|
|
1087
|
+
.danger,
|
|
1088
|
+
.close,
|
|
1089
|
+
.link,
|
|
1090
|
+
.gds-filter-chip).disabled::-moz-placeholder, button[type=submit]:not(.secondary,
|
|
1091
|
+
.ghost,
|
|
1092
|
+
.danger,
|
|
1093
|
+
.close,
|
|
1094
|
+
.link,
|
|
1095
|
+
.gds-filter-chip)[aria-disabled=true]::-moz-placeholder, input[type=submit]:not(.secondary, .ghost, .danger, .close, .link):disabled::-moz-placeholder, input[type=submit]:not(.secondary, .ghost, .danger, .close, .link).disabled::-moz-placeholder, input[type=submit]:not(.secondary, .ghost, .danger, .close, .link)[aria-disabled=true]::-moz-placeholder, a.button.primary:disabled::-moz-placeholder, a.button.primary.disabled::-moz-placeholder, a.button.primary[aria-disabled=true]::-moz-placeholder {
|
|
1096
|
+
color: var(--text-disabled-color);
|
|
1097
|
+
}
|
|
990
1098
|
button.primary:disabled::placeholder, button.primary.disabled::placeholder, button.primary[aria-disabled=true]::placeholder,
|
|
991
1099
|
input[type=submit]:disabled::placeholder,
|
|
992
1100
|
input[type=submit].disabled::placeholder,
|
|
@@ -1067,6 +1175,9 @@ button.ghost:disabled, button.ghost.disabled, button.ghost[aria-disabled=true],
|
|
|
1067
1175
|
border-color: var(--border-disabled-color) !important;
|
|
1068
1176
|
cursor: not-allowed;
|
|
1069
1177
|
}
|
|
1178
|
+
button.ghost:disabled::-moz-placeholder, button.ghost.disabled::-moz-placeholder, button.ghost[aria-disabled=true]::-moz-placeholder, .button.ghost:disabled::-moz-placeholder, .button.ghost.disabled::-moz-placeholder, .button.ghost[aria-disabled=true]::-moz-placeholder {
|
|
1179
|
+
color: var(--text-disabled-color);
|
|
1180
|
+
}
|
|
1070
1181
|
button.ghost:disabled::placeholder, button.ghost.disabled::placeholder, button.ghost[aria-disabled=true]::placeholder,
|
|
1071
1182
|
.button.ghost:disabled::placeholder,
|
|
1072
1183
|
.button.ghost.disabled::placeholder,
|
|
@@ -1228,6 +1339,9 @@ input[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-disabled=t
|
|
|
1228
1339
|
border-color: var(--border-primary-disabled-color) !important;
|
|
1229
1340
|
cursor: not-allowed;
|
|
1230
1341
|
}
|
|
1342
|
+
button.primary.danger:disabled::-moz-placeholder, button.primary.danger.disabled::-moz-placeholder, button.primary.danger[aria-disabled=true]::-moz-placeholder, .button.primary.danger:disabled::-moz-placeholder, .button.primary.danger.disabled::-moz-placeholder, .button.primary.danger[aria-disabled=true]::-moz-placeholder, button[type=submit].danger:not(.secondary, .ghost, .close, .link):disabled::-moz-placeholder, button[type=submit].danger:not(.secondary, .ghost, .close, .link).disabled::-moz-placeholder, button[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-disabled=true]::-moz-placeholder, input[type=submit].danger:not(.secondary, .ghost, .close, .link):disabled::-moz-placeholder, input[type=submit].danger:not(.secondary, .ghost, .close, .link).disabled::-moz-placeholder, input[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-disabled=true]::-moz-placeholder {
|
|
1343
|
+
color: var(--text-disabled-color);
|
|
1344
|
+
}
|
|
1231
1345
|
button.primary.danger:disabled::placeholder, button.primary.danger.disabled::placeholder, button.primary.danger[aria-disabled=true]::placeholder,
|
|
1232
1346
|
.button.primary.danger:disabled::placeholder,
|
|
1233
1347
|
.button.primary.danger.disabled::placeholder,
|
|
@@ -1735,7 +1849,9 @@ a.button.tertiary.danger:focus-visible {
|
|
|
1735
1849
|
cursor: pointer;
|
|
1736
1850
|
display: flex;
|
|
1737
1851
|
gap: 0.75rem;
|
|
1738
|
-
user-select: none;
|
|
1852
|
+
-webkit-user-select: none;
|
|
1853
|
+
-moz-user-select: none;
|
|
1854
|
+
user-select: none;
|
|
1739
1855
|
}
|
|
1740
1856
|
:host:not(:disabled, .disabled, [aria-disabled]):hover {
|
|
1741
1857
|
background-color: #199be3;
|
|
@@ -1756,7 +1872,7 @@ a.button.tertiary.danger:focus-visible {
|
|
|
1756
1872
|
}
|
|
1757
1873
|
|
|
1758
1874
|
:host(:hover),
|
|
1759
|
-
:host(:focus) {
|
|
1875
|
+
:host(:focus-visible) {
|
|
1760
1876
|
background-color: var(--gds-ref-pallet-base300);
|
|
1761
1877
|
}
|
|
1762
1878
|
|
|
@@ -2306,6 +2422,63 @@ button:where(:not(.primary,
|
|
|
2306
2422
|
[aria-haspopup=listbox],
|
|
2307
2423
|
[aria-haspopup=menu],
|
|
2308
2424
|
[role=switch],
|
|
2425
|
+
.gds-filter-chip)):disabled::-moz-placeholder, button:where(:not(.primary,
|
|
2426
|
+
.tertiary,
|
|
2427
|
+
.ghost,
|
|
2428
|
+
.danger,
|
|
2429
|
+
.close,
|
|
2430
|
+
.sg-table-sort,
|
|
2431
|
+
.link,
|
|
2432
|
+
[aria-haspopup=listbox],
|
|
2433
|
+
[aria-haspopup=menu],
|
|
2434
|
+
[role=switch],
|
|
2435
|
+
.gds-filter-chip)).disabled::-moz-placeholder, button:where(:not(.primary,
|
|
2436
|
+
.tertiary,
|
|
2437
|
+
.ghost,
|
|
2438
|
+
.danger,
|
|
2439
|
+
.close,
|
|
2440
|
+
.sg-table-sort,
|
|
2441
|
+
.link,
|
|
2442
|
+
[aria-haspopup=listbox],
|
|
2443
|
+
[aria-haspopup=menu],
|
|
2444
|
+
[role=switch],
|
|
2445
|
+
.gds-filter-chip))[aria-disabled=true]::-moz-placeholder, a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):disabled::-moz-placeholder, a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).disabled::-moz-placeholder, a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-disabled=true]::-moz-placeholder, button.secondary:disabled::-moz-placeholder, button.secondary.disabled::-moz-placeholder, button.secondary[aria-disabled=true]::-moz-placeholder, a.button.secondary:disabled::-moz-placeholder, a.button.secondary.disabled::-moz-placeholder, a.button.secondary[aria-disabled=true]::-moz-placeholder, input:is([type=button], [type=reset]):disabled::-moz-placeholder, input:is([type=button], [type=reset]).disabled::-moz-placeholder, input:is([type=button], [type=reset])[aria-disabled=true]::-moz-placeholder, button[type=button]:where(:not(.primary,
|
|
2446
|
+
.tertiary,
|
|
2447
|
+
.ghost,
|
|
2448
|
+
.danger,
|
|
2449
|
+
.close,
|
|
2450
|
+
.link,
|
|
2451
|
+
.icon,
|
|
2452
|
+
[aria-haspopup=listbox],
|
|
2453
|
+
[aria-haspopup=menu])):disabled::-moz-placeholder, button[type=button]:where(:not(.primary,
|
|
2454
|
+
.tertiary,
|
|
2455
|
+
.ghost,
|
|
2456
|
+
.danger,
|
|
2457
|
+
.close,
|
|
2458
|
+
.link,
|
|
2459
|
+
.icon,
|
|
2460
|
+
[aria-haspopup=listbox],
|
|
2461
|
+
[aria-haspopup=menu])).disabled::-moz-placeholder, button[type=button]:where(:not(.primary,
|
|
2462
|
+
.tertiary,
|
|
2463
|
+
.ghost,
|
|
2464
|
+
.danger,
|
|
2465
|
+
.close,
|
|
2466
|
+
.link,
|
|
2467
|
+
.icon,
|
|
2468
|
+
[aria-haspopup=listbox],
|
|
2469
|
+
[aria-haspopup=menu]))[aria-disabled=true]::-moz-placeholder, button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):disabled::-moz-placeholder, button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).disabled::-moz-placeholder, button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-disabled=true]::-moz-placeholder {
|
|
2470
|
+
color: var(--text-disabled-color);
|
|
2471
|
+
}
|
|
2472
|
+
button:where(:not(.primary,
|
|
2473
|
+
.tertiary,
|
|
2474
|
+
.ghost,
|
|
2475
|
+
.danger,
|
|
2476
|
+
.close,
|
|
2477
|
+
.sg-table-sort,
|
|
2478
|
+
.link,
|
|
2479
|
+
[aria-haspopup=listbox],
|
|
2480
|
+
[aria-haspopup=menu],
|
|
2481
|
+
[role=switch],
|
|
2309
2482
|
.gds-filter-chip)):disabled::placeholder, button:where(:not(.primary,
|
|
2310
2483
|
.tertiary,
|
|
2311
2484
|
.ghost,
|
|
@@ -2587,6 +2760,39 @@ button:where(:not(.primary,
|
|
|
2587
2760
|
[aria-haspopup=listbox],
|
|
2588
2761
|
[aria-haspopup=menu],
|
|
2589
2762
|
[role=switch],
|
|
2763
|
+
.gds-filter-chip)):disabled::-moz-placeholder, button:where(:not(.primary,
|
|
2764
|
+
.secondary,
|
|
2765
|
+
.ghost,
|
|
2766
|
+
.danger,
|
|
2767
|
+
.close,
|
|
2768
|
+
.sg-table-sort,
|
|
2769
|
+
.link,
|
|
2770
|
+
[aria-haspopup=listbox],
|
|
2771
|
+
[aria-haspopup=menu],
|
|
2772
|
+
[role=switch],
|
|
2773
|
+
.gds-filter-chip)).disabled::-moz-placeholder, button:where(:not(.primary,
|
|
2774
|
+
.secondary,
|
|
2775
|
+
.ghost,
|
|
2776
|
+
.danger,
|
|
2777
|
+
.close,
|
|
2778
|
+
.sg-table-sort,
|
|
2779
|
+
.link,
|
|
2780
|
+
[aria-haspopup=listbox],
|
|
2781
|
+
[aria-haspopup=menu],
|
|
2782
|
+
[role=switch],
|
|
2783
|
+
.gds-filter-chip))[aria-disabled=true]::-moz-placeholder, a.button:where(:not(.primary, .secondary, .ghost, .close, .link)):disabled::-moz-placeholder, a.button:where(:not(.primary, .secondary, .ghost, .close, .link)).disabled::-moz-placeholder, a.button:where(:not(.primary, .secondary, .ghost, .close, .link))[aria-disabled=true]::-moz-placeholder, button.tertiary:disabled::-moz-placeholder, button.tertiary.disabled::-moz-placeholder, button.tertiary[aria-disabled=true]::-moz-placeholder, a.button.tertiary:disabled::-moz-placeholder, a.button.tertiary.disabled::-moz-placeholder, a.button.tertiary[aria-disabled=true]::-moz-placeholder {
|
|
2784
|
+
color: var(--text-disabled-color);
|
|
2785
|
+
}
|
|
2786
|
+
button:where(:not(.primary,
|
|
2787
|
+
.secondary,
|
|
2788
|
+
.ghost,
|
|
2789
|
+
.danger,
|
|
2790
|
+
.close,
|
|
2791
|
+
.sg-table-sort,
|
|
2792
|
+
.link,
|
|
2793
|
+
[aria-haspopup=listbox],
|
|
2794
|
+
[aria-haspopup=menu],
|
|
2795
|
+
[role=switch],
|
|
2590
2796
|
.gds-filter-chip)):disabled::placeholder, button:where(:not(.primary,
|
|
2591
2797
|
.secondary,
|
|
2592
2798
|
.ghost,
|
|
@@ -2753,6 +2959,24 @@ a.button.primary[aria-disabled=true] {
|
|
|
2753
2959
|
border-color: var(--border-primary-disabled-color) !important;
|
|
2754
2960
|
cursor: not-allowed;
|
|
2755
2961
|
}
|
|
2962
|
+
button.primary:disabled::-moz-placeholder, button.primary.disabled::-moz-placeholder, button.primary[aria-disabled=true]::-moz-placeholder, input[type=submit]:disabled::-moz-placeholder, input[type=submit].disabled::-moz-placeholder, input[type=submit][aria-disabled=true]::-moz-placeholder, button[type=submit]:not(.secondary,
|
|
2963
|
+
.ghost,
|
|
2964
|
+
.danger,
|
|
2965
|
+
.close,
|
|
2966
|
+
.link,
|
|
2967
|
+
.gds-filter-chip):disabled::-moz-placeholder, button[type=submit]:not(.secondary,
|
|
2968
|
+
.ghost,
|
|
2969
|
+
.danger,
|
|
2970
|
+
.close,
|
|
2971
|
+
.link,
|
|
2972
|
+
.gds-filter-chip).disabled::-moz-placeholder, button[type=submit]:not(.secondary,
|
|
2973
|
+
.ghost,
|
|
2974
|
+
.danger,
|
|
2975
|
+
.close,
|
|
2976
|
+
.link,
|
|
2977
|
+
.gds-filter-chip)[aria-disabled=true]::-moz-placeholder, input[type=submit]:not(.secondary, .ghost, .danger, .close, .link):disabled::-moz-placeholder, input[type=submit]:not(.secondary, .ghost, .danger, .close, .link).disabled::-moz-placeholder, input[type=submit]:not(.secondary, .ghost, .danger, .close, .link)[aria-disabled=true]::-moz-placeholder, a.button.primary:disabled::-moz-placeholder, a.button.primary.disabled::-moz-placeholder, a.button.primary[aria-disabled=true]::-moz-placeholder {
|
|
2978
|
+
color: var(--text-disabled-color);
|
|
2979
|
+
}
|
|
2756
2980
|
button.primary:disabled::placeholder, button.primary.disabled::placeholder, button.primary[aria-disabled=true]::placeholder,
|
|
2757
2981
|
input[type=submit]:disabled::placeholder,
|
|
2758
2982
|
input[type=submit].disabled::placeholder,
|
|
@@ -2833,6 +3057,9 @@ button.ghost:disabled, button.ghost.disabled, button.ghost[aria-disabled=true],
|
|
|
2833
3057
|
border-color: var(--border-disabled-color) !important;
|
|
2834
3058
|
cursor: not-allowed;
|
|
2835
3059
|
}
|
|
3060
|
+
button.ghost:disabled::-moz-placeholder, button.ghost.disabled::-moz-placeholder, button.ghost[aria-disabled=true]::-moz-placeholder, .button.ghost:disabled::-moz-placeholder, .button.ghost.disabled::-moz-placeholder, .button.ghost[aria-disabled=true]::-moz-placeholder {
|
|
3061
|
+
color: var(--text-disabled-color);
|
|
3062
|
+
}
|
|
2836
3063
|
button.ghost:disabled::placeholder, button.ghost.disabled::placeholder, button.ghost[aria-disabled=true]::placeholder,
|
|
2837
3064
|
.button.ghost:disabled::placeholder,
|
|
2838
3065
|
.button.ghost.disabled::placeholder,
|
|
@@ -2994,6 +3221,9 @@ input[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-disabled=t
|
|
|
2994
3221
|
border-color: var(--border-primary-disabled-color) !important;
|
|
2995
3222
|
cursor: not-allowed;
|
|
2996
3223
|
}
|
|
3224
|
+
button.primary.danger:disabled::-moz-placeholder, button.primary.danger.disabled::-moz-placeholder, button.primary.danger[aria-disabled=true]::-moz-placeholder, .button.primary.danger:disabled::-moz-placeholder, .button.primary.danger.disabled::-moz-placeholder, .button.primary.danger[aria-disabled=true]::-moz-placeholder, button[type=submit].danger:not(.secondary, .ghost, .close, .link):disabled::-moz-placeholder, button[type=submit].danger:not(.secondary, .ghost, .close, .link).disabled::-moz-placeholder, button[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-disabled=true]::-moz-placeholder, input[type=submit].danger:not(.secondary, .ghost, .close, .link):disabled::-moz-placeholder, input[type=submit].danger:not(.secondary, .ghost, .close, .link).disabled::-moz-placeholder, input[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-disabled=true]::-moz-placeholder {
|
|
3225
|
+
color: var(--text-disabled-color);
|
|
3226
|
+
}
|
|
2997
3227
|
button.primary.danger:disabled::placeholder, button.primary.danger.disabled::placeholder, button.primary.danger[aria-disabled=true]::placeholder,
|
|
2998
3228
|
.button.primary.danger:disabled::placeholder,
|
|
2999
3229
|
.button.primary.danger.disabled::placeholder,
|
|
@@ -4180,6 +4410,63 @@ button:where(:not(.primary,
|
|
|
4180
4410
|
[aria-haspopup=listbox],
|
|
4181
4411
|
[aria-haspopup=menu],
|
|
4182
4412
|
[role=switch],
|
|
4413
|
+
.gds-filter-chip)):disabled::-moz-placeholder, button:where(:not(.primary,
|
|
4414
|
+
.tertiary,
|
|
4415
|
+
.ghost,
|
|
4416
|
+
.danger,
|
|
4417
|
+
.close,
|
|
4418
|
+
.sg-table-sort,
|
|
4419
|
+
.link,
|
|
4420
|
+
[aria-haspopup=listbox],
|
|
4421
|
+
[aria-haspopup=menu],
|
|
4422
|
+
[role=switch],
|
|
4423
|
+
.gds-filter-chip)).disabled::-moz-placeholder, button:where(:not(.primary,
|
|
4424
|
+
.tertiary,
|
|
4425
|
+
.ghost,
|
|
4426
|
+
.danger,
|
|
4427
|
+
.close,
|
|
4428
|
+
.sg-table-sort,
|
|
4429
|
+
.link,
|
|
4430
|
+
[aria-haspopup=listbox],
|
|
4431
|
+
[aria-haspopup=menu],
|
|
4432
|
+
[role=switch],
|
|
4433
|
+
.gds-filter-chip))[aria-disabled=true]::-moz-placeholder, a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):disabled::-moz-placeholder, a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).disabled::-moz-placeholder, a.button:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-disabled=true]::-moz-placeholder, button.secondary:disabled::-moz-placeholder, button.secondary.disabled::-moz-placeholder, button.secondary[aria-disabled=true]::-moz-placeholder, a.button.secondary:disabled::-moz-placeholder, a.button.secondary.disabled::-moz-placeholder, a.button.secondary[aria-disabled=true]::-moz-placeholder, input:is([type=button], [type=reset]):disabled::-moz-placeholder, input:is([type=button], [type=reset]).disabled::-moz-placeholder, input:is([type=button], [type=reset])[aria-disabled=true]::-moz-placeholder, button[type=button]:where(:not(.primary,
|
|
4434
|
+
.tertiary,
|
|
4435
|
+
.ghost,
|
|
4436
|
+
.danger,
|
|
4437
|
+
.close,
|
|
4438
|
+
.link,
|
|
4439
|
+
.icon,
|
|
4440
|
+
[aria-haspopup=listbox],
|
|
4441
|
+
[aria-haspopup=menu])):disabled::-moz-placeholder, button[type=button]:where(:not(.primary,
|
|
4442
|
+
.tertiary,
|
|
4443
|
+
.ghost,
|
|
4444
|
+
.danger,
|
|
4445
|
+
.close,
|
|
4446
|
+
.link,
|
|
4447
|
+
.icon,
|
|
4448
|
+
[aria-haspopup=listbox],
|
|
4449
|
+
[aria-haspopup=menu])).disabled::-moz-placeholder, button[type=button]:where(:not(.primary,
|
|
4450
|
+
.tertiary,
|
|
4451
|
+
.ghost,
|
|
4452
|
+
.danger,
|
|
4453
|
+
.close,
|
|
4454
|
+
.link,
|
|
4455
|
+
.icon,
|
|
4456
|
+
[aria-haspopup=listbox],
|
|
4457
|
+
[aria-haspopup=menu]))[aria-disabled=true]::-moz-placeholder, button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)):disabled::-moz-placeholder, button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link)).disabled::-moz-placeholder, button[type=reset]:where(:not(.primary, .tertiary, .ghost, .danger, .close, .link))[aria-disabled=true]::-moz-placeholder {
|
|
4458
|
+
color: var(--text-disabled-color);
|
|
4459
|
+
}
|
|
4460
|
+
button:where(:not(.primary,
|
|
4461
|
+
.tertiary,
|
|
4462
|
+
.ghost,
|
|
4463
|
+
.danger,
|
|
4464
|
+
.close,
|
|
4465
|
+
.sg-table-sort,
|
|
4466
|
+
.link,
|
|
4467
|
+
[aria-haspopup=listbox],
|
|
4468
|
+
[aria-haspopup=menu],
|
|
4469
|
+
[role=switch],
|
|
4183
4470
|
.gds-filter-chip)):disabled::placeholder, button:where(:not(.primary,
|
|
4184
4471
|
.tertiary,
|
|
4185
4472
|
.ghost,
|
|
@@ -4461,6 +4748,39 @@ button:where(:not(.primary,
|
|
|
4461
4748
|
[aria-haspopup=listbox],
|
|
4462
4749
|
[aria-haspopup=menu],
|
|
4463
4750
|
[role=switch],
|
|
4751
|
+
.gds-filter-chip)):disabled::-moz-placeholder, button:where(:not(.primary,
|
|
4752
|
+
.secondary,
|
|
4753
|
+
.ghost,
|
|
4754
|
+
.danger,
|
|
4755
|
+
.close,
|
|
4756
|
+
.sg-table-sort,
|
|
4757
|
+
.link,
|
|
4758
|
+
[aria-haspopup=listbox],
|
|
4759
|
+
[aria-haspopup=menu],
|
|
4760
|
+
[role=switch],
|
|
4761
|
+
.gds-filter-chip)).disabled::-moz-placeholder, button:where(:not(.primary,
|
|
4762
|
+
.secondary,
|
|
4763
|
+
.ghost,
|
|
4764
|
+
.danger,
|
|
4765
|
+
.close,
|
|
4766
|
+
.sg-table-sort,
|
|
4767
|
+
.link,
|
|
4768
|
+
[aria-haspopup=listbox],
|
|
4769
|
+
[aria-haspopup=menu],
|
|
4770
|
+
[role=switch],
|
|
4771
|
+
.gds-filter-chip))[aria-disabled=true]::-moz-placeholder, a.button:where(:not(.primary, .secondary, .ghost, .close, .link)):disabled::-moz-placeholder, a.button:where(:not(.primary, .secondary, .ghost, .close, .link)).disabled::-moz-placeholder, a.button:where(:not(.primary, .secondary, .ghost, .close, .link))[aria-disabled=true]::-moz-placeholder, button.tertiary:disabled::-moz-placeholder, button.tertiary.disabled::-moz-placeholder, button.tertiary[aria-disabled=true]::-moz-placeholder, a.button.tertiary:disabled::-moz-placeholder, a.button.tertiary.disabled::-moz-placeholder, a.button.tertiary[aria-disabled=true]::-moz-placeholder {
|
|
4772
|
+
color: var(--text-disabled-color);
|
|
4773
|
+
}
|
|
4774
|
+
button:where(:not(.primary,
|
|
4775
|
+
.secondary,
|
|
4776
|
+
.ghost,
|
|
4777
|
+
.danger,
|
|
4778
|
+
.close,
|
|
4779
|
+
.sg-table-sort,
|
|
4780
|
+
.link,
|
|
4781
|
+
[aria-haspopup=listbox],
|
|
4782
|
+
[aria-haspopup=menu],
|
|
4783
|
+
[role=switch],
|
|
4464
4784
|
.gds-filter-chip)):disabled::placeholder, button:where(:not(.primary,
|
|
4465
4785
|
.secondary,
|
|
4466
4786
|
.ghost,
|
|
@@ -4627,6 +4947,24 @@ a.button.primary[aria-disabled=true] {
|
|
|
4627
4947
|
border-color: var(--border-primary-disabled-color) !important;
|
|
4628
4948
|
cursor: not-allowed;
|
|
4629
4949
|
}
|
|
4950
|
+
button.primary:disabled::-moz-placeholder, button.primary.disabled::-moz-placeholder, button.primary[aria-disabled=true]::-moz-placeholder, input[type=submit]:disabled::-moz-placeholder, input[type=submit].disabled::-moz-placeholder, input[type=submit][aria-disabled=true]::-moz-placeholder, button[type=submit]:not(.secondary,
|
|
4951
|
+
.ghost,
|
|
4952
|
+
.danger,
|
|
4953
|
+
.close,
|
|
4954
|
+
.link,
|
|
4955
|
+
.gds-filter-chip):disabled::-moz-placeholder, button[type=submit]:not(.secondary,
|
|
4956
|
+
.ghost,
|
|
4957
|
+
.danger,
|
|
4958
|
+
.close,
|
|
4959
|
+
.link,
|
|
4960
|
+
.gds-filter-chip).disabled::-moz-placeholder, button[type=submit]:not(.secondary,
|
|
4961
|
+
.ghost,
|
|
4962
|
+
.danger,
|
|
4963
|
+
.close,
|
|
4964
|
+
.link,
|
|
4965
|
+
.gds-filter-chip)[aria-disabled=true]::-moz-placeholder, input[type=submit]:not(.secondary, .ghost, .danger, .close, .link):disabled::-moz-placeholder, input[type=submit]:not(.secondary, .ghost, .danger, .close, .link).disabled::-moz-placeholder, input[type=submit]:not(.secondary, .ghost, .danger, .close, .link)[aria-disabled=true]::-moz-placeholder, a.button.primary:disabled::-moz-placeholder, a.button.primary.disabled::-moz-placeholder, a.button.primary[aria-disabled=true]::-moz-placeholder {
|
|
4966
|
+
color: var(--text-disabled-color);
|
|
4967
|
+
}
|
|
4630
4968
|
button.primary:disabled::placeholder, button.primary.disabled::placeholder, button.primary[aria-disabled=true]::placeholder,
|
|
4631
4969
|
input[type=submit]:disabled::placeholder,
|
|
4632
4970
|
input[type=submit].disabled::placeholder,
|
|
@@ -4707,6 +5045,9 @@ button.ghost:disabled, button.ghost.disabled, button.ghost[aria-disabled=true],
|
|
|
4707
5045
|
border-color: var(--border-disabled-color) !important;
|
|
4708
5046
|
cursor: not-allowed;
|
|
4709
5047
|
}
|
|
5048
|
+
button.ghost:disabled::-moz-placeholder, button.ghost.disabled::-moz-placeholder, button.ghost[aria-disabled=true]::-moz-placeholder, .button.ghost:disabled::-moz-placeholder, .button.ghost.disabled::-moz-placeholder, .button.ghost[aria-disabled=true]::-moz-placeholder {
|
|
5049
|
+
color: var(--text-disabled-color);
|
|
5050
|
+
}
|
|
4710
5051
|
button.ghost:disabled::placeholder, button.ghost.disabled::placeholder, button.ghost[aria-disabled=true]::placeholder,
|
|
4711
5052
|
.button.ghost:disabled::placeholder,
|
|
4712
5053
|
.button.ghost.disabled::placeholder,
|
|
@@ -4868,6 +5209,9 @@ input[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-disabled=t
|
|
|
4868
5209
|
border-color: var(--border-primary-disabled-color) !important;
|
|
4869
5210
|
cursor: not-allowed;
|
|
4870
5211
|
}
|
|
5212
|
+
button.primary.danger:disabled::-moz-placeholder, button.primary.danger.disabled::-moz-placeholder, button.primary.danger[aria-disabled=true]::-moz-placeholder, .button.primary.danger:disabled::-moz-placeholder, .button.primary.danger.disabled::-moz-placeholder, .button.primary.danger[aria-disabled=true]::-moz-placeholder, button[type=submit].danger:not(.secondary, .ghost, .close, .link):disabled::-moz-placeholder, button[type=submit].danger:not(.secondary, .ghost, .close, .link).disabled::-moz-placeholder, button[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-disabled=true]::-moz-placeholder, input[type=submit].danger:not(.secondary, .ghost, .close, .link):disabled::-moz-placeholder, input[type=submit].danger:not(.secondary, .ghost, .close, .link).disabled::-moz-placeholder, input[type=submit].danger:not(.secondary, .ghost, .close, .link)[aria-disabled=true]::-moz-placeholder {
|
|
5213
|
+
color: var(--text-disabled-color);
|
|
5214
|
+
}
|
|
4871
5215
|
button.primary.danger:disabled::placeholder, button.primary.danger.disabled::placeholder, button.primary.danger[aria-disabled=true]::placeholder,
|
|
4872
5216
|
.button.primary.danger:disabled::placeholder,
|
|
4873
5217
|
.button.primary.danger.disabled::placeholder,
|
|
@@ -5524,6 +5868,9 @@ input[type=week][aria-disabled=true] {
|
|
|
5524
5868
|
border-color: var(--border-disabled-color) !important;
|
|
5525
5869
|
cursor: not-allowed;
|
|
5526
5870
|
}
|
|
5871
|
+
input:not([type]):disabled::-moz-placeholder, input:not([type]).disabled::-moz-placeholder, input:not([type])[aria-disabled=true]::-moz-placeholder, input[type=date]:disabled::-moz-placeholder, input[type=date].disabled::-moz-placeholder, input[type=date][aria-disabled=true]::-moz-placeholder, input[type=datetime]:disabled::-moz-placeholder, input[type=datetime].disabled::-moz-placeholder, input[type=datetime][aria-disabled=true]::-moz-placeholder, input[type=datetime-local]:disabled::-moz-placeholder, input[type=datetime-local].disabled::-moz-placeholder, input[type=datetime-local][aria-disabled=true]::-moz-placeholder, input[type=email]:disabled::-moz-placeholder, input[type=email].disabled::-moz-placeholder, input[type=email][aria-disabled=true]::-moz-placeholder, input[type=month]:disabled::-moz-placeholder, input[type=month].disabled::-moz-placeholder, input[type=month][aria-disabled=true]::-moz-placeholder, input[type=number]:disabled::-moz-placeholder, input[type=number].disabled::-moz-placeholder, input[type=number][aria-disabled=true]::-moz-placeholder, input[type=password]:disabled::-moz-placeholder, input[type=password].disabled::-moz-placeholder, input[type=password][aria-disabled=true]::-moz-placeholder, input[type=search]:disabled::-moz-placeholder, input[type=search].disabled::-moz-placeholder, input[type=search][aria-disabled=true]::-moz-placeholder, input[type=tel]:disabled::-moz-placeholder, input[type=tel].disabled::-moz-placeholder, input[type=tel][aria-disabled=true]::-moz-placeholder, input[type=text]:disabled::-moz-placeholder, input[type=text].disabled::-moz-placeholder, input[type=text][aria-disabled=true]::-moz-placeholder, input[type=time]:disabled::-moz-placeholder, input[type=time].disabled::-moz-placeholder, input[type=time][aria-disabled=true]::-moz-placeholder, input[type=url]:disabled::-moz-placeholder, input[type=url].disabled::-moz-placeholder, input[type=url][aria-disabled=true]::-moz-placeholder, input[type=week]:disabled::-moz-placeholder, input[type=week].disabled::-moz-placeholder, input[type=week][aria-disabled=true]::-moz-placeholder {
|
|
5872
|
+
color: var(--text-disabled-color);
|
|
5873
|
+
}
|
|
5527
5874
|
input:not([type]):disabled::placeholder, input:not([type]).disabled::placeholder, input:not([type])[aria-disabled=true]::placeholder,
|
|
5528
5875
|
input[type=date]:disabled::placeholder,
|
|
5529
5876
|
input[type=date].disabled::placeholder,
|
|
@@ -5588,7 +5935,8 @@ input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner
|
|
|
5588
5935
|
:host(:invalid) button + .form-info::before {
|
|
5589
5936
|
background: transparent;
|
|
5590
5937
|
border-radius: 0 0 4px 4px;
|
|
5591
|
-
clip-path: inset(4px 0 0 0);
|
|
5938
|
+
-webkit-clip-path: inset(4px 0 0 0);
|
|
5939
|
+
clip-path: inset(4px 0 0 0);
|
|
5592
5940
|
content: "";
|
|
5593
5941
|
display: block;
|
|
5594
5942
|
height: 4px;
|
|
@@ -5599,7 +5947,19 @@ input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner
|
|
|
5599
5947
|
}
|
|
5600
5948
|
:host(:invalid) button + .form-info::before {
|
|
5601
5949
|
background: var(--intent-danger-background);
|
|
5602
|
-
clip-path: inset(1px 0 0 0);
|
|
5950
|
+
-webkit-clip-path: inset(1px 0 0 0);
|
|
5951
|
+
clip-path: inset(1px 0 0 0);
|
|
5952
|
+
}
|
|
5953
|
+
|
|
5954
|
+
::slotted([slot=trigger]) {
|
|
5955
|
+
overflow: hidden;
|
|
5956
|
+
}
|
|
5957
|
+
|
|
5958
|
+
slot[name=trigger] > span {
|
|
5959
|
+
display: block;
|
|
5960
|
+
overflow: hidden;
|
|
5961
|
+
text-overflow: ellipsis;
|
|
5962
|
+
text-wrap: nowrap;
|
|
5603
5963
|
}
|
|
5604
5964
|
|
|
5605
5965
|
.form-info {
|
|
@@ -5733,6 +6093,9 @@ button:disabled, button.disabled, button[aria-disabled=true] {
|
|
|
5733
6093
|
border-color: var(--border-disabled-color) !important;
|
|
5734
6094
|
cursor: not-allowed;
|
|
5735
6095
|
}
|
|
6096
|
+
button:disabled::-moz-placeholder, button.disabled::-moz-placeholder, button[aria-disabled=true]::-moz-placeholder {
|
|
6097
|
+
color: var(--text-disabled-color);
|
|
6098
|
+
}
|
|
5736
6099
|
button:disabled::placeholder, button.disabled::placeholder, button[aria-disabled=true]::placeholder {
|
|
5737
6100
|
color: var(--text-disabled-color);
|
|
5738
6101
|
}
|
|
@@ -5794,10 +6157,197 @@ function register3() {
|
|
|
5794
6157
|
TransitionalStyles.instance.register("gds-dropdown", dropdown_trans_styles_default.toString());
|
|
5795
6158
|
}
|
|
5796
6159
|
|
|
6160
|
+
// libs/core/src/components/context-menu/context-menu.trans.styles.scss
|
|
6161
|
+
var context_menu_trans_styles_default = `/* stylelint-disable max-nesting-depth */
|
|
6162
|
+
/* stylelint-enable max-nesting-depth */
|
|
6163
|
+
/**
|
|
6164
|
+
* Calculate the luminance for a color.
|
|
6165
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
6166
|
+
*/
|
|
6167
|
+
/**
|
|
6168
|
+
* Calculate the contrast ratio between two colors.
|
|
6169
|
+
* See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
|
|
6170
|
+
*/
|
|
6171
|
+
/* stylelint-disable */
|
|
6172
|
+
/* stylelint-enable */
|
|
6173
|
+
/* stylelint-disable */
|
|
6174
|
+
/**
|
|
6175
|
+
* @deprecated
|
|
6176
|
+
* Use \`add-focus\` instead
|
|
6177
|
+
*/
|
|
6178
|
+
/** add background color, color and border-color to element when it has focus-visible i.e. tab focus */
|
|
6179
|
+
i.sg-icon {
|
|
6180
|
+
font-size: 0;
|
|
6181
|
+
width: 1rem;
|
|
6182
|
+
height: 1rem;
|
|
6183
|
+
display: inline-block;
|
|
6184
|
+
}
|
|
6185
|
+
i.sg-icon::before {
|
|
6186
|
+
content: "";
|
|
6187
|
+
display: inline-block;
|
|
6188
|
+
background: var(--color);
|
|
6189
|
+
width: 100%;
|
|
6190
|
+
height: 100%;
|
|
6191
|
+
-webkit-mask-repeat: no-repeat;
|
|
6192
|
+
mask-repeat: no-repeat;
|
|
6193
|
+
}
|
|
6194
|
+
i.sg-icon.sg-icon-calendar::before {
|
|
6195
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E");
|
|
6196
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 248h80v-56H48v56zm0 48v64h80v-64H48zm128 0v64h96v-64h-96zm144 0v64h80v-64h-80zm80-104h-80v56h80v-56zm0 216h-80v56h64c8.8 0 16-7.2 16-16v-40zm-128 0h-96v56h96v-56zm-144 0H48v40c0 8.8 7.16 16 16 16h64v-56zm144-216h-96v56h96v-56z '/%3E%3C/svg%3E");
|
|
6197
|
+
}
|
|
6198
|
+
i.sg-icon.sg-icon-calendar-range::before {
|
|
6199
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E");
|
|
6200
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M96 288c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm224 64c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-128-64c0-13.3 10.7-24 24-24h112c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24zm40 72c13.3 0 24 10.7 24 24s-10.7 24-24 24H120c-13.3 0-24-10.7-24-24s10.7-24 24-24h112zM152 64h144V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40h40c35.3 0 64 28.65 64 64v320c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V128c0-35.35 28.65-64 64-64h40V24c0-13.25 10.7-24 24-24s24 10.75 24 24v40zM48 448c0 8.8 7.16 16 16 16h320c8.8 0 16-7.2 16-16V192H48v256z'/%3E%3C/svg%3E");
|
|
6201
|
+
}
|
|
6202
|
+
i.sg-icon.sg-icon-ellipsis::before {
|
|
6203
|
+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E");
|
|
6204
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--! Font Awesome Pro 6.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z'/%3E%3C/svg%3E");
|
|
6205
|
+
}
|
|
6206
|
+
i.sg-icon.sg-icon-next::before {
|
|
6207
|
+
background: none;
|
|
6208
|
+
border-bottom: 2px solid;
|
|
6209
|
+
border-left: 2px solid;
|
|
6210
|
+
content: "";
|
|
6211
|
+
display: block;
|
|
6212
|
+
height: 12px;
|
|
6213
|
+
margin-left: -10px;
|
|
6214
|
+
margin-top: 2px;
|
|
6215
|
+
transform: translate(75%) rotate(-135deg) scaleZ(-1);
|
|
6216
|
+
transition: transform 0.3s ease-in;
|
|
6217
|
+
width: 12px;
|
|
6218
|
+
}
|
|
6219
|
+
i.sg-icon.sg-icon-previous::before {
|
|
6220
|
+
background: none;
|
|
6221
|
+
border-bottom: 2px solid;
|
|
6222
|
+
border-left: 2px solid;
|
|
6223
|
+
content: "";
|
|
6224
|
+
display: block;
|
|
6225
|
+
height: 12px;
|
|
6226
|
+
margin-left: -4px;
|
|
6227
|
+
margin-top: 2px;
|
|
6228
|
+
transform: translate(75%) rotate(45deg) scaleZ(-1);
|
|
6229
|
+
transition: transform 0.3s ease-in;
|
|
6230
|
+
width: 12px;
|
|
6231
|
+
}
|
|
6232
|
+
i.sg-icon.sg-icon-ellipsis::before {
|
|
6233
|
+
margin-right: -2px;
|
|
6234
|
+
}
|
|
6235
|
+
|
|
6236
|
+
@layer base, overrides;
|
|
6237
|
+
:host {
|
|
6238
|
+
display: inline-block;
|
|
6239
|
+
}
|
|
6240
|
+
|
|
6241
|
+
@layer base {
|
|
6242
|
+
button {
|
|
6243
|
+
background-color: transparent;
|
|
6244
|
+
border: 0;
|
|
6245
|
+
cursor: pointer;
|
|
6246
|
+
font-family: inherit;
|
|
6247
|
+
padding: 0;
|
|
6248
|
+
padding-left: 1rem;
|
|
6249
|
+
padding-right: 1rem;
|
|
6250
|
+
padding-bottom: 0.75rem;
|
|
6251
|
+
padding-top: 0.75rem;
|
|
6252
|
+
border-radius: var(--sg-border-radius);
|
|
6253
|
+
border: solid var(--sg-border-width) var(--sg-border-color);
|
|
6254
|
+
font-weight: 500;
|
|
6255
|
+
min-height: 2.75rem;
|
|
6256
|
+
align-items: center;
|
|
6257
|
+
display: inline-flex;
|
|
6258
|
+
justify-content: center;
|
|
6259
|
+
transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1), outline-offset 0s, outline-width 0s;
|
|
6260
|
+
border-color: rgb(51, 51, 51);
|
|
6261
|
+
color: rgb(51, 51, 51);
|
|
6262
|
+
--color: rgb(51, 51, 51);
|
|
6263
|
+
}
|
|
6264
|
+
button:focus:not(:focus-visible) {
|
|
6265
|
+
box-shadow: none;
|
|
6266
|
+
outline: 0;
|
|
6267
|
+
}
|
|
6268
|
+
button:focus, button:focus-visible {
|
|
6269
|
+
outline-color: var(--gds-sys-color-focus-outline);
|
|
6270
|
+
outline-style: solid;
|
|
6271
|
+
outline-width: 0.125rem;
|
|
6272
|
+
outline-offset: 0.125rem;
|
|
6273
|
+
}
|
|
6274
|
+
@media (max-width: 35.98em) {
|
|
6275
|
+
button {
|
|
6276
|
+
min-width: 100%;
|
|
6277
|
+
}
|
|
6278
|
+
}
|
|
6279
|
+
@media screen and (-ms-high-contrast: active) {
|
|
6280
|
+
button {
|
|
6281
|
+
border: 2px solid currentcolor;
|
|
6282
|
+
}
|
|
6283
|
+
}
|
|
6284
|
+
button.small {
|
|
6285
|
+
min-height: 2rem;
|
|
6286
|
+
padding: 0.4375rem 0.75rem;
|
|
6287
|
+
line-height: 1rem;
|
|
6288
|
+
}
|
|
6289
|
+
button.large {
|
|
6290
|
+
min-height: 4rem;
|
|
6291
|
+
padding: 1rem 1.5rem;
|
|
6292
|
+
font-size: 1.5rem;
|
|
6293
|
+
line-height: 2rem;
|
|
6294
|
+
}
|
|
6295
|
+
button:not(:disabled, .disabled, [aria-disabled]):hover {
|
|
6296
|
+
background-color: rgb(51, 51, 51);
|
|
6297
|
+
color: rgb(255, 255, 255);
|
|
6298
|
+
--background: rgb(51, 51, 51);
|
|
6299
|
+
--color: rgb(255, 255, 255);
|
|
6300
|
+
border-color: rgb(51, 51, 51);
|
|
6301
|
+
}
|
|
6302
|
+
button[aria-selected], button:active, button.active, button.active:hover, button:active:hover {
|
|
6303
|
+
background-color: rgb(51, 51, 51);
|
|
6304
|
+
color: rgb(255, 255, 255);
|
|
6305
|
+
--background: rgb(51, 51, 51);
|
|
6306
|
+
--color: rgb(255, 255, 255);
|
|
6307
|
+
border-color: rgb(51, 51, 51);
|
|
6308
|
+
}
|
|
6309
|
+
button[aria-selected]:hover, button.active:hover, button:active:hover {
|
|
6310
|
+
opacity: 0.9;
|
|
6311
|
+
}
|
|
6312
|
+
button:focus-visible {
|
|
6313
|
+
background-color: rgb(51, 51, 51);
|
|
6314
|
+
color: rgb(255, 255, 255);
|
|
6315
|
+
--background: rgb(51, 51, 51);
|
|
6316
|
+
--color: rgb(255, 255, 255);
|
|
6317
|
+
border-color: rgb(51, 51, 51) !important;
|
|
6318
|
+
}
|
|
6319
|
+
button:disabled, button.disabled, button[aria-disabled=true] {
|
|
6320
|
+
color: var(--text-disabled-color) !important;
|
|
6321
|
+
border-color: var(--border-disabled-color) !important;
|
|
6322
|
+
cursor: not-allowed;
|
|
6323
|
+
}
|
|
6324
|
+
button:disabled::-moz-placeholder, button.disabled::-moz-placeholder, button[aria-disabled=true]::-moz-placeholder {
|
|
6325
|
+
color: var(--text-disabled-color);
|
|
6326
|
+
}
|
|
6327
|
+
button:disabled::placeholder, button.disabled::placeholder, button[aria-disabled=true]::placeholder {
|
|
6328
|
+
color: var(--text-disabled-color);
|
|
6329
|
+
}
|
|
6330
|
+
}
|
|
6331
|
+
@layer overrides {
|
|
6332
|
+
button {
|
|
6333
|
+
border-color: transparent;
|
|
6334
|
+
line-height: 0.75;
|
|
6335
|
+
padding-inline: 0.4375rem;
|
|
6336
|
+
}
|
|
6337
|
+
button.highlighted {
|
|
6338
|
+
background-color: var(--gds-ref-pallet-base300);
|
|
6339
|
+
}
|
|
6340
|
+
}`;
|
|
6341
|
+
|
|
6342
|
+
// libs/core/src/components/context-menu/context-menu.trans.styles.ts
|
|
6343
|
+
function register4() {
|
|
6344
|
+
TransitionalStyles.instance.register("gds-context-menu", context_menu_trans_styles_default.toString());
|
|
6345
|
+
}
|
|
6346
|
+
|
|
5797
6347
|
// libs/core/src/utils/helpers/custom-element-scoping.ts
|
|
5798
6348
|
import { html as litHtml } from "lit";
|
|
5799
6349
|
import { customElement } from "lit/decorators.js";
|
|
5800
|
-
var VER_SUFFIX = "-
|
|
6350
|
+
var VER_SUFFIX = "-91f802";
|
|
5801
6351
|
var elementLookupTable = /* @__PURE__ */ new Map();
|
|
5802
6352
|
var templateCache = /* @__PURE__ */ new WeakMap();
|
|
5803
6353
|
function applyElementScoping(strings, ...values) {
|
|
@@ -5811,7 +6361,7 @@ function applyElementScoping(strings, ...values) {
|
|
|
5811
6361
|
}
|
|
5812
6362
|
var replaceTags = (inStr) => inStr.map((s) => {
|
|
5813
6363
|
for (const [key, value] of elementLookupTable.entries()) {
|
|
5814
|
-
s = s.
|
|
6364
|
+
s = s.replace(new RegExp(`${key}(?![-a-z])`, "mg"), value);
|
|
5815
6365
|
}
|
|
5816
6366
|
return s;
|
|
5817
6367
|
});
|
|
@@ -5831,6 +6381,7 @@ var registerTransitionalStyles = () => {
|
|
|
5831
6381
|
register3();
|
|
5832
6382
|
register();
|
|
5833
6383
|
register2();
|
|
6384
|
+
register4();
|
|
5834
6385
|
};
|
|
5835
6386
|
var TransitionalStyles = class _TransitionalStyles {
|
|
5836
6387
|
constructor() {
|