@carbon/styles 1.9.0 → 1.10.0-rc.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/css/styles.css +92 -1
- package/css/styles.min.css +1 -1
- package/index.scss +1 -0
- package/package.json +4 -4
- package/scss/__tests__/__snapshots__/type-test.js.snap +1414 -1331
- package/scss/__tests__/type-test.js +1 -0
- package/scss/components/data-table/_data-table.scss +9 -0
- package/scss/components/form/_form.scss +36 -3
- package/scss/type/_index.scss +1 -0
- package/scss/utilities/_button-reset.scss +1 -0
package/css/styles.css
CHANGED
|
@@ -3462,6 +3462,7 @@ em {
|
|
|
3462
3462
|
appearance: none;
|
|
3463
3463
|
background: none;
|
|
3464
3464
|
cursor: pointer;
|
|
3465
|
+
text-align: start;
|
|
3465
3466
|
width: 100%;
|
|
3466
3467
|
position: relative;
|
|
3467
3468
|
display: -webkit-box;
|
|
@@ -4864,12 +4865,71 @@ li.cds--accordion__item--disabled:last-of-type {
|
|
|
4864
4865
|
margin-bottom: 0;
|
|
4865
4866
|
}
|
|
4866
4867
|
|
|
4867
|
-
.cds--label .cds--
|
|
4868
|
+
.cds--label + .cds--tooltip {
|
|
4869
|
+
position: relative;
|
|
4870
|
+
top: 0.2rem;
|
|
4871
|
+
left: 0.5rem;
|
|
4872
|
+
}
|
|
4873
|
+
|
|
4874
|
+
.cds--label + .cds--tooltip .cds--tooltip__trigger {
|
|
4875
|
+
-webkit-box-sizing: border-box;
|
|
4876
|
+
box-sizing: border-box;
|
|
4877
|
+
padding: 0;
|
|
4878
|
+
border: 0;
|
|
4879
|
+
margin: 0;
|
|
4880
|
+
font-family: inherit;
|
|
4881
|
+
font-size: 100%;
|
|
4882
|
+
vertical-align: baseline;
|
|
4883
|
+
display: inline-block;
|
|
4884
|
+
padding: 0;
|
|
4885
|
+
border: 0;
|
|
4886
|
+
-webkit-appearance: none;
|
|
4887
|
+
-moz-appearance: none;
|
|
4888
|
+
appearance: none;
|
|
4889
|
+
background: none;
|
|
4890
|
+
cursor: pointer;
|
|
4891
|
+
text-align: start;
|
|
4892
|
+
width: 100%;
|
|
4893
|
+
display: -webkit-box;
|
|
4894
|
+
display: -ms-flexbox;
|
|
4895
|
+
display: flex;
|
|
4896
|
+
-webkit-box-align: center;
|
|
4897
|
+
-ms-flex-align: center;
|
|
4898
|
+
align-items: center;
|
|
4899
|
+
-webkit-box-pack: center;
|
|
4900
|
+
-ms-flex-pack: center;
|
|
4901
|
+
justify-content: center;
|
|
4868
4902
|
font-size: var(--cds-label-01-font-size, 0.75rem);
|
|
4869
4903
|
font-weight: var(--cds-label-01-font-weight, 400);
|
|
4870
4904
|
line-height: var(--cds-label-01-line-height, 1.33333);
|
|
4871
4905
|
letter-spacing: var(--cds-label-01-letter-spacing, 0.32px);
|
|
4872
4906
|
}
|
|
4907
|
+
.cds--label + .cds--tooltip .cds--tooltip__trigger *,
|
|
4908
|
+
.cds--label + .cds--tooltip .cds--tooltip__trigger *::before,
|
|
4909
|
+
.cds--label + .cds--tooltip .cds--tooltip__trigger *::after {
|
|
4910
|
+
-webkit-box-sizing: inherit;
|
|
4911
|
+
box-sizing: inherit;
|
|
4912
|
+
}
|
|
4913
|
+
.cds--label + .cds--tooltip .cds--tooltip__trigger::-moz-focus-inner {
|
|
4914
|
+
border: 0;
|
|
4915
|
+
}
|
|
4916
|
+
|
|
4917
|
+
.cds--label + .cds--tooltip .cds--tooltip__trigger:focus {
|
|
4918
|
+
outline: 1px solid var(--cds-focus, #0f62fe);
|
|
4919
|
+
}
|
|
4920
|
+
|
|
4921
|
+
.cds--label + .cds--tooltip .cds--tooltip__trigger svg {
|
|
4922
|
+
fill: var(--cds-icon-secondary, #525252);
|
|
4923
|
+
}
|
|
4924
|
+
|
|
4925
|
+
.cds--label + .cds--tooltip .cds--tooltip__trigger svg :hover {
|
|
4926
|
+
fill: var(--cds-icon-primary, #161616);
|
|
4927
|
+
}
|
|
4928
|
+
|
|
4929
|
+
.cds--label + .cds--toggletip {
|
|
4930
|
+
top: 0.2rem;
|
|
4931
|
+
left: 0.5rem;
|
|
4932
|
+
}
|
|
4873
4933
|
|
|
4874
4934
|
.cds--label.cds--skeleton {
|
|
4875
4935
|
position: relative;
|
|
@@ -7259,6 +7319,7 @@ fieldset[disabled] .cds--form__helper-text {
|
|
|
7259
7319
|
appearance: none;
|
|
7260
7320
|
background: none;
|
|
7261
7321
|
cursor: pointer;
|
|
7322
|
+
text-align: start;
|
|
7262
7323
|
width: 100%;
|
|
7263
7324
|
position: relative;
|
|
7264
7325
|
display: -webkit-inline-box;
|
|
@@ -7361,6 +7422,7 @@ fieldset[disabled] .cds--form__helper-text {
|
|
|
7361
7422
|
appearance: none;
|
|
7362
7423
|
background: none;
|
|
7363
7424
|
cursor: pointer;
|
|
7425
|
+
text-align: start;
|
|
7364
7426
|
position: absolute;
|
|
7365
7427
|
right: 1rem;
|
|
7366
7428
|
display: -webkit-box;
|
|
@@ -7421,6 +7483,7 @@ fieldset[disabled] .cds--form__helper-text {
|
|
|
7421
7483
|
appearance: none;
|
|
7422
7484
|
background: none;
|
|
7423
7485
|
cursor: pointer;
|
|
7486
|
+
text-align: start;
|
|
7424
7487
|
position: absolute;
|
|
7425
7488
|
top: 50%;
|
|
7426
7489
|
/* to preserve .5rem space between icons according to spec top/transform used to center the combobox clear selection icon in IE11 */
|
|
@@ -8120,6 +8183,16 @@ fieldset[disabled] .cds--form__helper-text {
|
|
|
8120
8183
|
letter-spacing: var(--cds-body-compact-01-letter-spacing, 0.16px);
|
|
8121
8184
|
color: var(--cds-text-secondary, #525252);
|
|
8122
8185
|
}
|
|
8186
|
+
@media (min-width: 42rem) {
|
|
8187
|
+
.cds--data-table-header__description {
|
|
8188
|
+
max-width: 50ch;
|
|
8189
|
+
}
|
|
8190
|
+
}
|
|
8191
|
+
@media (min-width: 66rem) {
|
|
8192
|
+
.cds--data-table-header__description {
|
|
8193
|
+
max-width: 80ch;
|
|
8194
|
+
}
|
|
8195
|
+
}
|
|
8123
8196
|
|
|
8124
8197
|
.cds--data-table {
|
|
8125
8198
|
width: 100%;
|
|
@@ -8972,6 +9045,7 @@ tr.cds--data-table--selected:last-of-type td {
|
|
|
8972
9045
|
appearance: none;
|
|
8973
9046
|
background: none;
|
|
8974
9047
|
cursor: pointer;
|
|
9048
|
+
text-align: start;
|
|
8975
9049
|
width: 100%;
|
|
8976
9050
|
display: -webkit-box;
|
|
8977
9051
|
display: -ms-flexbox;
|
|
@@ -9010,6 +9084,7 @@ tr.cds--data-table--selected:last-of-type td {
|
|
|
9010
9084
|
appearance: none;
|
|
9011
9085
|
background: none;
|
|
9012
9086
|
cursor: pointer;
|
|
9087
|
+
text-align: start;
|
|
9013
9088
|
width: 100%;
|
|
9014
9089
|
display: -webkit-box;
|
|
9015
9090
|
display: -ms-flexbox;
|
|
@@ -9570,6 +9645,7 @@ tr.cds--parent-row.cds--expandable-row.cds--expandable-row--hover td:first-of-ty
|
|
|
9570
9645
|
appearance: none;
|
|
9571
9646
|
background: none;
|
|
9572
9647
|
cursor: pointer;
|
|
9648
|
+
text-align: start;
|
|
9573
9649
|
display: -webkit-inline-box;
|
|
9574
9650
|
display: -ms-inline-flexbox;
|
|
9575
9651
|
display: inline-flex;
|
|
@@ -9909,6 +9985,7 @@ tr.cds--parent-row.cds--data-table--selected.cds--expandable-row--hover + tr[dat
|
|
|
9909
9985
|
appearance: none;
|
|
9910
9986
|
background: none;
|
|
9911
9987
|
cursor: pointer;
|
|
9988
|
+
text-align: start;
|
|
9912
9989
|
display: -webkit-box;
|
|
9913
9990
|
display: -ms-flexbox;
|
|
9914
9991
|
display: flex;
|
|
@@ -14294,6 +14371,7 @@ button.cds--dropdown-text:focus {
|
|
|
14294
14371
|
appearance: none;
|
|
14295
14372
|
background: none;
|
|
14296
14373
|
cursor: pointer;
|
|
14374
|
+
text-align: start;
|
|
14297
14375
|
width: 100%;
|
|
14298
14376
|
position: relative;
|
|
14299
14377
|
display: -webkit-inline-box;
|
|
@@ -14654,6 +14732,7 @@ button.cds--dropdown-text:focus {
|
|
|
14654
14732
|
appearance: none;
|
|
14655
14733
|
background: none;
|
|
14656
14734
|
cursor: pointer;
|
|
14735
|
+
text-align: start;
|
|
14657
14736
|
width: 100%;
|
|
14658
14737
|
outline: 2px solid transparent;
|
|
14659
14738
|
outline-offset: -2px;
|
|
@@ -15901,6 +15980,7 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
15901
15980
|
appearance: none;
|
|
15902
15981
|
background: none;
|
|
15903
15982
|
cursor: pointer;
|
|
15983
|
+
text-align: start;
|
|
15904
15984
|
position: relative;
|
|
15905
15985
|
display: block;
|
|
15906
15986
|
min-width: 3rem;
|
|
@@ -16552,6 +16632,7 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
16552
16632
|
appearance: none;
|
|
16553
16633
|
background: none;
|
|
16554
16634
|
cursor: pointer;
|
|
16635
|
+
text-align: start;
|
|
16555
16636
|
width: 100%;
|
|
16556
16637
|
border-bottom: 1px dotted var(--cds-border-strong);
|
|
16557
16638
|
border-radius: 0;
|
|
@@ -16793,6 +16874,7 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
16793
16874
|
appearance: none;
|
|
16794
16875
|
background: none;
|
|
16795
16876
|
cursor: pointer;
|
|
16877
|
+
text-align: start;
|
|
16796
16878
|
width: 100%;
|
|
16797
16879
|
display: -webkit-box;
|
|
16798
16880
|
display: -ms-flexbox;
|
|
@@ -17363,6 +17445,7 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
17363
17445
|
appearance: none;
|
|
17364
17446
|
background: none;
|
|
17365
17447
|
cursor: pointer;
|
|
17448
|
+
text-align: start;
|
|
17366
17449
|
outline: 2px solid transparent;
|
|
17367
17450
|
outline-offset: -2px;
|
|
17368
17451
|
position: absolute;
|
|
@@ -18453,6 +18536,7 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
18453
18536
|
appearance: none;
|
|
18454
18537
|
background: none;
|
|
18455
18538
|
cursor: pointer;
|
|
18539
|
+
text-align: start;
|
|
18456
18540
|
width: 100%;
|
|
18457
18541
|
display: -webkit-box;
|
|
18458
18542
|
display: -ms-flexbox;
|
|
@@ -18633,6 +18717,7 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
18633
18717
|
appearance: none;
|
|
18634
18718
|
background: none;
|
|
18635
18719
|
cursor: pointer;
|
|
18720
|
+
text-align: start;
|
|
18636
18721
|
outline: 2px solid transparent;
|
|
18637
18722
|
outline-offset: -2px;
|
|
18638
18723
|
font-size: var(--cds-body-compact-01-font-size, 0.875rem);
|
|
@@ -19242,6 +19327,7 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
19242
19327
|
appearance: none;
|
|
19243
19328
|
background: none;
|
|
19244
19329
|
cursor: pointer;
|
|
19330
|
+
text-align: start;
|
|
19245
19331
|
width: 100%;
|
|
19246
19332
|
position: absolute;
|
|
19247
19333
|
right: 0;
|
|
@@ -19548,6 +19634,7 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
19548
19634
|
appearance: none;
|
|
19549
19635
|
background: none;
|
|
19550
19636
|
cursor: pointer;
|
|
19637
|
+
text-align: start;
|
|
19551
19638
|
width: 100%;
|
|
19552
19639
|
display: -webkit-box;
|
|
19553
19640
|
display: -ms-flexbox;
|
|
@@ -19993,6 +20080,7 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
19993
20080
|
appearance: none;
|
|
19994
20081
|
background: none;
|
|
19995
20082
|
cursor: pointer;
|
|
20083
|
+
text-align: start;
|
|
19996
20084
|
width: 100%;
|
|
19997
20085
|
display: -webkit-inline-box;
|
|
19998
20086
|
display: -ms-inline-flexbox;
|
|
@@ -20558,6 +20646,7 @@ a.cds--header__menu-item.cds--header__menu-item--current:focus {
|
|
|
20558
20646
|
appearance: none;
|
|
20559
20647
|
background: none;
|
|
20560
20648
|
cursor: pointer;
|
|
20649
|
+
text-align: start;
|
|
20561
20650
|
width: 100%;
|
|
20562
20651
|
font-size: var(--cds-heading-compact-01-font-size, 0.875rem);
|
|
20563
20652
|
font-weight: var(--cds-heading-compact-01-font-weight, 600);
|
|
@@ -21024,6 +21113,7 @@ a.cds--side-nav__link--current::before {
|
|
|
21024
21113
|
appearance: none;
|
|
21025
21114
|
background: none;
|
|
21026
21115
|
cursor: pointer;
|
|
21116
|
+
text-align: start;
|
|
21027
21117
|
width: 100%;
|
|
21028
21118
|
display: -webkit-inline-box;
|
|
21029
21119
|
display: -ms-inline-flexbox;
|
|
@@ -21589,6 +21679,7 @@ a.cds--header__menu-item.cds--header__menu-item--current:focus {
|
|
|
21589
21679
|
appearance: none;
|
|
21590
21680
|
background: none;
|
|
21591
21681
|
cursor: pointer;
|
|
21682
|
+
text-align: start;
|
|
21592
21683
|
width: 100%;
|
|
21593
21684
|
font-size: var(--cds-heading-compact-01-font-size, 0.875rem);
|
|
21594
21685
|
font-weight: var(--cds-heading-compact-01-font-weight, 600);
|