@deque/cauldron-styles 4.0.0 → 4.1.0-canary.2e36990f
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 +76 -0
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -1441,6 +1441,7 @@ ul.semantic-only {
|
|
|
1441
1441
|
--field-background-color-disabled: #f7f7f7;
|
|
1442
1442
|
--field-required-text-color: var(--gray-60);
|
|
1443
1443
|
--field-label-text-color: var(--gray-90);
|
|
1444
|
+
--field-label-description-text-color: var(--gray-60);
|
|
1444
1445
|
--input-min-width: 250px;
|
|
1445
1446
|
}
|
|
1446
1447
|
|
|
@@ -1456,6 +1457,7 @@ ul.semantic-only {
|
|
|
1456
1457
|
--field-background-color-disabled: #5d676f;
|
|
1457
1458
|
--field-required-text-color: var(--white);
|
|
1458
1459
|
--field-label-text-color: var(--white);
|
|
1460
|
+
--field-label-description-text-color: rgba(255, 255, 255, 0.8);
|
|
1459
1461
|
}
|
|
1460
1462
|
|
|
1461
1463
|
input,
|
|
@@ -1611,6 +1613,7 @@ textarea.Field--has-error:focus:hover,
|
|
|
1611
1613
|
margin-bottom: 0;
|
|
1612
1614
|
flex-direction: row-reverse;
|
|
1613
1615
|
justify-content: flex-end;
|
|
1616
|
+
flex-wrap: wrap;
|
|
1614
1617
|
}
|
|
1615
1618
|
|
|
1616
1619
|
.Checkbox {
|
|
@@ -1694,6 +1697,28 @@ textarea.Field--has-error:focus:hover,
|
|
|
1694
1697
|
border: 1px solid var(--field-border-color);
|
|
1695
1698
|
}
|
|
1696
1699
|
|
|
1700
|
+
.Field__labelDescription {
|
|
1701
|
+
flex-basis: 100%;
|
|
1702
|
+
color: var(--field-label-description-text-color);
|
|
1703
|
+
font-size: var(--text-size-small);
|
|
1704
|
+
font-weight: var(--font-weight-normal);
|
|
1705
|
+
line-height: 1;
|
|
1706
|
+
margin-left: calc(24px + 2px + var(--space-half));
|
|
1707
|
+
cursor: default;
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
.Icon + .Error {
|
|
1711
|
+
flex-basis: 100%;
|
|
1712
|
+
margin-top: var(--space-smallest);
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
.Field__labelDescription + .Error {
|
|
1716
|
+
border-top: 1px solid var(--error);
|
|
1717
|
+
margin-left: calc(24px + 2px + var(--space-half));
|
|
1718
|
+
padding: 4px 0;
|
|
1719
|
+
margin-top: 4px;
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1697
1722
|
.Radio__overlay,
|
|
1698
1723
|
.Checkbox__overlay {
|
|
1699
1724
|
border: 1px solid transparent;
|
|
@@ -2362,6 +2387,8 @@ p .Link {
|
|
|
2362
2387
|
|
|
2363
2388
|
.Tooltip--hidden {
|
|
2364
2389
|
visibility: hidden;
|
|
2390
|
+
/* Take the tooltip out of the DOM layout flow so it doesn't reserve space when hidden */
|
|
2391
|
+
position: fixed !important;
|
|
2365
2392
|
}
|
|
2366
2393
|
|
|
2367
2394
|
.TooltipInfo {
|
|
@@ -3265,17 +3292,24 @@ button.TooltipTabstop {
|
|
|
3265
3292
|
:root {
|
|
3266
3293
|
--table-header-text-color: var(--gray-90);
|
|
3267
3294
|
--table-header-background-color: var(--gray-20);
|
|
3295
|
+
--table-header-sorting-background-color: #caddec;
|
|
3296
|
+
--table-header-sorting-text-color: var(--gray-90);
|
|
3268
3297
|
--table-cell-text-color: var(--gray-60);
|
|
3269
3298
|
--table-cell-background-color: var(--white);
|
|
3270
3299
|
--table-row-border-color: var(--gray-40);
|
|
3271
3300
|
--table-space: 11px;
|
|
3301
|
+
--table-header-sorting-border-color: var(--gray-90);
|
|
3272
3302
|
}
|
|
3273
3303
|
|
|
3274
3304
|
.cauldron--theme-dark {
|
|
3275
3305
|
--table-header-text-color: var(--white);
|
|
3276
3306
|
--table-header-background-color: var(--accent-dark);
|
|
3307
|
+
--table-header-sorting-background-color: #53636e;
|
|
3308
|
+
--table-header-sorting-text-color: var(--white);
|
|
3277
3309
|
--table-cell-text-color: var(--accent-light);
|
|
3278
3310
|
--table-cell-background-color: var(--accent-medium);
|
|
3311
|
+
--table-row-border-color: #5d676f;
|
|
3312
|
+
--table-header-sorting-border-color: var(--accent-info);
|
|
3279
3313
|
}
|
|
3280
3314
|
|
|
3281
3315
|
.Table {
|
|
@@ -3294,6 +3328,48 @@ button.TooltipTabstop {
|
|
|
3294
3328
|
border-bottom: 2px solid var(--table-row-border-color);
|
|
3295
3329
|
}
|
|
3296
3330
|
|
|
3331
|
+
.TableHeader[aria-sort] {
|
|
3332
|
+
padding: 0;
|
|
3333
|
+
}
|
|
3334
|
+
|
|
3335
|
+
.TableHeader .TableHeader__sort-button {
|
|
3336
|
+
background-color: transparent;
|
|
3337
|
+
font-family: inherit;
|
|
3338
|
+
width: 100%;
|
|
3339
|
+
font-size: var(--text-size-small);
|
|
3340
|
+
font-weight: var(--font-weight-medium);
|
|
3341
|
+
color: var(--table-header-text-color);
|
|
3342
|
+
display: flex;
|
|
3343
|
+
align-items: center;
|
|
3344
|
+
justify-content: space-between;
|
|
3345
|
+
padding: var(--table-space) var(--space-smallest);
|
|
3346
|
+
}
|
|
3347
|
+
|
|
3348
|
+
.TableHeader__sort-button:hover {
|
|
3349
|
+
cursor: pointer;
|
|
3350
|
+
}
|
|
3351
|
+
|
|
3352
|
+
.TableHeader__sort-button:focus {
|
|
3353
|
+
outline-offset: unset;
|
|
3354
|
+
}
|
|
3355
|
+
|
|
3356
|
+
.TableHeader--sort-ascending,
|
|
3357
|
+
.TableHeader--sort-descending {
|
|
3358
|
+
background: var(--table-header-sorting-background-color);
|
|
3359
|
+
border-bottom: 2px solid var(--table-header-sorting-border-color);
|
|
3360
|
+
}
|
|
3361
|
+
|
|
3362
|
+
.TableHeader--sort-ascending .TableHeader__sort-button,
|
|
3363
|
+
.TableHeader--sort-decscending .TableHeader__sort-button {
|
|
3364
|
+
color: var(--table-header-sorting-text-color);
|
|
3365
|
+
}
|
|
3366
|
+
|
|
3367
|
+
/* compensate the gap in height between TableHeader and Icon */
|
|
3368
|
+
|
|
3369
|
+
.TableHeader__sort-button span {
|
|
3370
|
+
margin: calc(var(--space-half) * -1) 0;
|
|
3371
|
+
}
|
|
3372
|
+
|
|
3297
3373
|
.TableCell {
|
|
3298
3374
|
background: var(--table-cell-background-color);
|
|
3299
3375
|
color: var(--table-cell-text-color);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deque/cauldron-styles",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.1.0-canary.2e36990f",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "deque cauldron pattern library styles",
|
|
6
6
|
"repository": "https://github.com/dequelabs/cauldron",
|
|
@@ -22,4 +22,4 @@
|
|
|
22
22
|
"postcss-cli": "^7.1.1",
|
|
23
23
|
"postcss-import": "^12.0.1"
|
|
24
24
|
}
|
|
25
|
-
}
|
|
25
|
+
}
|