@deque/cauldron-styles 5.8.1-canary.faf22037 → 5.9.0-canary.07ef06bd
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/dist/index.css +120 -62
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
--gray-20: #f2f2f2;
|
|
15
15
|
--gray-30: #e0e0e0;
|
|
16
16
|
--gray-40: #cccccc;
|
|
17
|
+
--gray-50: #757575;
|
|
17
18
|
--gray-60: #666666;
|
|
18
19
|
--gray-80: #4d4d4d;
|
|
19
20
|
--gray-90: #333333;
|
|
@@ -135,6 +136,12 @@
|
|
|
135
136
|
/* radio card */
|
|
136
137
|
--radio-card-width: 255px;
|
|
137
138
|
--radio-card-height: 229px;
|
|
139
|
+
|
|
140
|
+
/* target size */
|
|
141
|
+
/* Note: target-size is deprecated, use --target-size-enhanced or --target-size-minimum */
|
|
142
|
+
--target-size: 44px;
|
|
143
|
+
--target-size-enhanced: var(--target-size);
|
|
144
|
+
--target-size-minimum: 24px;
|
|
138
145
|
}
|
|
139
146
|
|
|
140
147
|
.cauldron--theme-dark {
|
|
@@ -358,6 +365,7 @@ p {
|
|
|
358
365
|
padding-top: 0;
|
|
359
366
|
display: flex;
|
|
360
367
|
justify-content: center;
|
|
368
|
+
background-color: transparent;
|
|
361
369
|
}
|
|
362
370
|
|
|
363
371
|
.Alert__warning .Dialog__heading:focus {
|
|
@@ -872,12 +880,18 @@ a.IconButton {
|
|
|
872
880
|
}
|
|
873
881
|
|
|
874
882
|
:root {
|
|
875
|
-
--dialog-background-color:
|
|
876
|
-
--dialog-border-color:
|
|
877
|
-
--dialog-header-background-color: var(--
|
|
883
|
+
--dialog-background-color: #fff;
|
|
884
|
+
--dialog-border-color: var(--gray-40);
|
|
885
|
+
--dialog-header-background-color: var(--gray-20);
|
|
886
|
+
--dialog-footer-background-color: var(--gray-20);
|
|
887
|
+
--dialog-heading-text-color: var(--header-text-color-dark);
|
|
878
888
|
--dialog-padding: var(--space-small);
|
|
879
|
-
--dialog-header-height:
|
|
880
|
-
--
|
|
889
|
+
--dialog-header-height: 2.625rem;
|
|
890
|
+
--dialog-close-button-size: var(--target-size-minimum);
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
.cauldron--theme-dark {
|
|
894
|
+
--dialog-heading-text-color: #fff;
|
|
881
895
|
}
|
|
882
896
|
|
|
883
897
|
.Dialog {
|
|
@@ -906,7 +920,7 @@ a.IconButton {
|
|
|
906
920
|
border: 1px solid var(--dialog-border-color);
|
|
907
921
|
z-index: var(--z-index-dialog);
|
|
908
922
|
position: relative;
|
|
909
|
-
box-shadow:
|
|
923
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
|
910
924
|
}
|
|
911
925
|
|
|
912
926
|
.Dialog__header {
|
|
@@ -915,8 +929,7 @@ a.IconButton {
|
|
|
915
929
|
border-bottom: 1px solid var(--dialog-border-color);
|
|
916
930
|
align-items: center;
|
|
917
931
|
justify-content: space-between;
|
|
918
|
-
height: var(--dialog-header-height);
|
|
919
|
-
text-transform: uppercase;
|
|
932
|
+
min-height: var(--dialog-header-height);
|
|
920
933
|
font-weight: var(--font-weight-bold);
|
|
921
934
|
}
|
|
922
935
|
|
|
@@ -924,20 +937,6 @@ a.IconButton {
|
|
|
924
937
|
.Dialog__close {
|
|
925
938
|
margin: 0;
|
|
926
939
|
font-size: var(--text-size-small);
|
|
927
|
-
height: calc(var(--dialog-header-height) - 8px);
|
|
928
|
-
border-top: 4px solid transparent;
|
|
929
|
-
border-bottom: 4px solid transparent;
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
.Dialog__heading:focus,
|
|
933
|
-
.Dialog__close:focus,
|
|
934
|
-
.Dialog__close:hover {
|
|
935
|
-
border-bottom-color: var(--text-color-base);
|
|
936
|
-
outline: none;
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
.Dialog__close:focus {
|
|
940
|
-
border-top: 4px solid transparent;
|
|
941
940
|
}
|
|
942
941
|
|
|
943
942
|
.Dialog__heading {
|
|
@@ -947,14 +946,50 @@ a.IconButton {
|
|
|
947
946
|
}
|
|
948
947
|
|
|
949
948
|
.Dialog__close {
|
|
950
|
-
color: var(--text-color
|
|
951
|
-
width: var(--dialog-header-height);
|
|
949
|
+
color: var(--dialog-heading-text-color);
|
|
952
950
|
background-color: initial;
|
|
951
|
+
border: 1px solid var(--dialog-border-color);
|
|
952
|
+
border-radius: 3px;
|
|
953
|
+
padding: 0;
|
|
954
|
+
height: var(--dialog-close-button-size);
|
|
955
|
+
width: var(--dialog-close-button-size);
|
|
956
|
+
margin-right: var(--space-smallest);
|
|
957
|
+
position: relative;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
.Dialog__close:active {
|
|
961
|
+
background-color: var(--dialog-border-color);
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
.Dialog__close:before {
|
|
965
|
+
content: '';
|
|
966
|
+
position: absolute;
|
|
967
|
+
top: -2px;
|
|
968
|
+
right: -2px;
|
|
969
|
+
bottom: -2px;
|
|
970
|
+
left: -2px;
|
|
971
|
+
border-radius: 4px;
|
|
972
|
+
pointer-events: none;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
.cauldron--theme-dark .Dialog__close:before {
|
|
976
|
+
top: -3px;
|
|
977
|
+
right: -3px;
|
|
978
|
+
bottom: -3px;
|
|
979
|
+
left: -3px;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
.Dialog__close:is(:hover, :focus):before {
|
|
983
|
+
box-shadow: 0 0 0 1px var(--dialog-heading-text-color);
|
|
953
984
|
}
|
|
954
985
|
|
|
955
986
|
.Dialog__close svg {
|
|
956
|
-
height:
|
|
957
|
-
width:
|
|
987
|
+
height: 100%;
|
|
988
|
+
width: 100%;
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
.cauldron--theme-dark .Dialog__close {
|
|
992
|
+
border-width: 2px;
|
|
958
993
|
}
|
|
959
994
|
|
|
960
995
|
.Dialog__content {
|
|
@@ -970,9 +1005,9 @@ a.IconButton {
|
|
|
970
1005
|
}
|
|
971
1006
|
|
|
972
1007
|
.Dialog__footer {
|
|
973
|
-
background-color:
|
|
1008
|
+
background-color: var(--dialog-footer-background-color);
|
|
974
1009
|
border-top: 1px solid var(--dialog-border-color);
|
|
975
|
-
padding:
|
|
1010
|
+
padding: var(--dialog-padding);
|
|
976
1011
|
}
|
|
977
1012
|
|
|
978
1013
|
/**
|
|
@@ -980,24 +1015,7 @@ a.IconButton {
|
|
|
980
1015
|
*/
|
|
981
1016
|
|
|
982
1017
|
.Modal--info .Dialog__header {
|
|
983
|
-
border: none;
|
|
984
1018
|
background-color: transparent;
|
|
985
|
-
height: auto;
|
|
986
|
-
align-items: flex-start;
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
.Modal--info .Dialog__close {
|
|
990
|
-
padding: var(--space-three-quarters);
|
|
991
|
-
height: var(--target-size);
|
|
992
|
-
width: var(--target-size);
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
.Modal--info .Dialog__heading {
|
|
996
|
-
flex: 1;
|
|
997
|
-
justify-content: center;
|
|
998
|
-
height: auto;
|
|
999
|
-
padding-top: var(--space-large);
|
|
1000
|
-
margin-left: var(--target-size);
|
|
1001
1019
|
}
|
|
1002
1020
|
|
|
1003
1021
|
.Modal--info .Dialog__content {
|
|
@@ -1009,6 +1027,7 @@ a.IconButton {
|
|
|
1009
1027
|
.Modal--info .Dialog__footer {
|
|
1010
1028
|
display: flex;
|
|
1011
1029
|
justify-content: center;
|
|
1030
|
+
background-color: transparent;
|
|
1012
1031
|
border-top: none;
|
|
1013
1032
|
padding-top: 0;
|
|
1014
1033
|
}
|
|
@@ -1022,11 +1041,11 @@ a.IconButton {
|
|
|
1022
1041
|
}
|
|
1023
1042
|
|
|
1024
1043
|
.cauldron--theme-dark .Dialog__header {
|
|
1025
|
-
border-bottom: 1px solid
|
|
1044
|
+
border-bottom: 1px solid var(--stroke-dark);
|
|
1026
1045
|
}
|
|
1027
1046
|
|
|
1028
1047
|
.cauldron--theme-dark .Dialog__footer {
|
|
1029
|
-
border-top: 1px solid
|
|
1048
|
+
border-top: 1px solid var(--stroke-dark);
|
|
1030
1049
|
}
|
|
1031
1050
|
|
|
1032
1051
|
.cauldron--theme-dark .Dialog__header,
|
|
@@ -1039,20 +1058,14 @@ a.IconButton {
|
|
|
1039
1058
|
color: var(--gray-20);
|
|
1040
1059
|
}
|
|
1041
1060
|
|
|
1042
|
-
.cauldron--theme-dark .
|
|
1043
|
-
|
|
1044
|
-
.cauldron--theme-dark .Dialog__close:hover {
|
|
1045
|
-
border-bottom-color: var(--white);
|
|
1061
|
+
.cauldron--theme-dark .Dialog__close:active {
|
|
1062
|
+
color: var(--accent-medium);
|
|
1046
1063
|
}
|
|
1047
1064
|
|
|
1048
1065
|
.cauldron--theme-dark .Modal--info .Dialog__header,
|
|
1049
1066
|
.cauldron--theme-dark .Modal--info .Dialog__content,
|
|
1050
1067
|
.cauldron--theme-dark .Modal--info .Dialog__footer {
|
|
1051
|
-
background-color:
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
.cauldron--theme-dark .Modal--info .Dialog__header {
|
|
1055
|
-
border-bottom: none;
|
|
1068
|
+
background-color: transparent;
|
|
1056
1069
|
}
|
|
1057
1070
|
|
|
1058
1071
|
.cauldron--theme-dark .Modal--info .Dialog__footer {
|
|
@@ -1425,6 +1438,21 @@ a.IconButton {
|
|
|
1425
1438
|
font-weight: var(--font-weight-ultra-bold);
|
|
1426
1439
|
}
|
|
1427
1440
|
|
|
1441
|
+
.text--align-left {
|
|
1442
|
+
text-align: left !important;
|
|
1443
|
+
justify-content: left !important;
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
.text--align-center {
|
|
1447
|
+
text-align: center !important;
|
|
1448
|
+
justify-content: center !important;
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
.text--align-right {
|
|
1452
|
+
text-align: right !important;
|
|
1453
|
+
justify-content: right !important;
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1428
1456
|
body .is--hidden {
|
|
1429
1457
|
display: none;
|
|
1430
1458
|
}
|
|
@@ -1467,7 +1495,8 @@ ul.semantic-only {
|
|
|
1467
1495
|
--field-icon-focus-color: var(--focus-light);
|
|
1468
1496
|
--field-error-text-color: var(--error);
|
|
1469
1497
|
--field-error-border-color: var(--error);
|
|
1470
|
-
--field-listbox-selected-background-color: var(--
|
|
1498
|
+
--field-listbox-selected-background-color: var(--gray-50);
|
|
1499
|
+
--field-listbox-selected-text-color: #fff;
|
|
1471
1500
|
--field-font-size: var(--text-size-small);
|
|
1472
1501
|
--input-min-width: 250px;
|
|
1473
1502
|
--checkbox-size: var(--icon-size);
|
|
@@ -1497,7 +1526,8 @@ ul.semantic-only {
|
|
|
1497
1526
|
--field-icon-focus-color: var(--focus-dark);
|
|
1498
1527
|
--field-error-text-color: var(--error);
|
|
1499
1528
|
--field-error-border-color: var(--error);
|
|
1500
|
-
--field-listbox-selected-background-color: var(--accent-
|
|
1529
|
+
--field-listbox-selected-background-color: var(--accent-light);
|
|
1530
|
+
--field-listbox-selected-text-color: var(--accent-medium);
|
|
1501
1531
|
}
|
|
1502
1532
|
|
|
1503
1533
|
input,
|
|
@@ -1634,6 +1664,7 @@ textarea.Field--has-error:focus:hover,
|
|
|
1634
1664
|
[role='listbox']
|
|
1635
1665
|
li[role='option']:is([aria-selected='true'], [aria-checked='true']) {
|
|
1636
1666
|
background-color: var(--field-listbox-selected-background-color);
|
|
1667
|
+
color: var(--field-listbox-selected-text-color);
|
|
1637
1668
|
}
|
|
1638
1669
|
|
|
1639
1670
|
.Error {
|
|
@@ -3529,12 +3560,30 @@ button.TooltipTabstop {
|
|
|
3529
3560
|
font-weight: var(--font-weight-normal);
|
|
3530
3561
|
}
|
|
3531
3562
|
|
|
3563
|
+
:root {
|
|
3564
|
+
--tag-button-icon-size: 15px;
|
|
3565
|
+
}
|
|
3566
|
+
|
|
3567
|
+
.TagButton {
|
|
3568
|
+
vertical-align: middle;
|
|
3569
|
+
}
|
|
3570
|
+
|
|
3571
|
+
.TagButton__icon {
|
|
3572
|
+
margin-left: var(--space-half);
|
|
3573
|
+
}
|
|
3574
|
+
|
|
3575
|
+
.TagButton__icon svg {
|
|
3576
|
+
width: var(--tag-button-icon-size);
|
|
3577
|
+
height: var(--tag-button-icon-size);
|
|
3578
|
+
}
|
|
3579
|
+
|
|
3532
3580
|
:root {
|
|
3533
3581
|
--table-header-text-color: var(--gray-90);
|
|
3534
3582
|
--table-header-background-color: var(--gray-20);
|
|
3535
3583
|
--table-header-sorting-background-color: #caddec;
|
|
3536
|
-
--table-header-sorting-text-color: var(--gray-90);
|
|
3537
3584
|
--table-header-background-color-hover: #dddddd;
|
|
3585
|
+
/* --table-header-sorting-text-color will be deprecated */
|
|
3586
|
+
--table-header-sorting-text-color: var(--gray-90);
|
|
3538
3587
|
--table-cell-text-color: var(--gray-60);
|
|
3539
3588
|
--table-cell-background-color: var(--white);
|
|
3540
3589
|
--table-row-border-color: var(--gray-40);
|
|
@@ -3546,8 +3595,9 @@ button.TooltipTabstop {
|
|
|
3546
3595
|
.cauldron--theme-dark {
|
|
3547
3596
|
--table-header-text-color: var(--white);
|
|
3548
3597
|
--table-header-background-color: var(--accent-dark);
|
|
3549
|
-
--table-header-sorting-
|
|
3598
|
+
/* --table-header-sorting-text-color will be deprecated */
|
|
3550
3599
|
--table-header-sorting-text-color: var(--white);
|
|
3600
|
+
--table-header-sorting-background-color: #53636e;
|
|
3551
3601
|
--table-header-background-color-hover: #53636e;
|
|
3552
3602
|
--table-cell-text-color: var(--accent-light);
|
|
3553
3603
|
--table-cell-background-color: var(--accent-medium);
|
|
@@ -3603,6 +3653,8 @@ button.TooltipTabstop {
|
|
|
3603
3653
|
border-bottom: 3px solid var(--table-header-sorting-border-color);
|
|
3604
3654
|
}
|
|
3605
3655
|
|
|
3656
|
+
/* These styles are not applying and will be deprecated */
|
|
3657
|
+
|
|
3606
3658
|
.TableHeader--sort-ascending .TableHeader__sort-button,
|
|
3607
3659
|
.TableHeader--sort-decscending .TableHeader__sort-button {
|
|
3608
3660
|
color: var(--table-header-sorting-text-color);
|
|
@@ -4801,7 +4853,12 @@ fieldset.Panel {
|
|
|
4801
4853
|
|
|
4802
4854
|
.TwoColumnPanel--hide .TwoColumnPanel__Left,
|
|
4803
4855
|
.TwoColumnPanel--show .TwoColumnPanel__Left {
|
|
4804
|
-
|
|
4856
|
+
max-width: 100%;
|
|
4857
|
+
/* This will constrain the component to the max-width of its container, as well as adjusting the offset margin to the max negative value to prevent incorrect offset when the max-width is less than the column width. */
|
|
4858
|
+
margin-left: max(
|
|
4859
|
+
calc(var(--two-column-panel-left-column-width) * -1),
|
|
4860
|
+
calc(100% * -1)
|
|
4861
|
+
);
|
|
4805
4862
|
animation: none;
|
|
4806
4863
|
opacity: 1;
|
|
4807
4864
|
}
|
|
@@ -4947,7 +5004,7 @@ button.Accordion__trigger {
|
|
|
4947
5004
|
.Notice .Notice__title,
|
|
4948
5005
|
.Notice .Notice__title > :is(h1, h2, h3, h4, h5, h6) {
|
|
4949
5006
|
display: flex;
|
|
4950
|
-
align-items:
|
|
5007
|
+
align-items: flex-start;
|
|
4951
5008
|
font-size: var(--text-size-small);
|
|
4952
5009
|
font-weight: var(--notice-title-font-weight);
|
|
4953
5010
|
margin: 0;
|
|
@@ -5181,6 +5238,7 @@ button.Accordion__trigger {
|
|
|
5181
5238
|
}
|
|
5182
5239
|
|
|
5183
5240
|
.ComboboxOption {
|
|
5241
|
+
--field-listbox-selected-text-color: var(--combobox-option-font-color);
|
|
5184
5242
|
color: var(--combobox-option-font-color);
|
|
5185
5243
|
padding: var(--space-smallest);
|
|
5186
5244
|
cursor: pointer;
|
package/package.json
CHANGED