@deque/cauldron-styles 4.0.0-canary.c3398f14 → 4.1.0-canary.30f2d0e2
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 +77 -5
- package/package.json +1 -1
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;
|
|
@@ -2246,10 +2271,6 @@ p .Link {
|
|
|
2246
2271
|
box-sizing: border-box;
|
|
2247
2272
|
}
|
|
2248
2273
|
|
|
2249
|
-
.Card__content ul li {
|
|
2250
|
-
border-bottom: 1px solid var(--list-separator);
|
|
2251
|
-
}
|
|
2252
|
-
|
|
2253
2274
|
.Card__footer {
|
|
2254
2275
|
padding: var(--space-small);
|
|
2255
2276
|
text-align: center;
|
|
@@ -2362,6 +2383,8 @@ p .Link {
|
|
|
2362
2383
|
|
|
2363
2384
|
.Tooltip--hidden {
|
|
2364
2385
|
visibility: hidden;
|
|
2386
|
+
/* Take the tooltip out of the DOM layout flow so it doesn't reserve space when hidden */
|
|
2387
|
+
position: fixed !important;
|
|
2365
2388
|
}
|
|
2366
2389
|
|
|
2367
2390
|
.TooltipInfo {
|
|
@@ -3265,25 +3288,32 @@ button.TooltipTabstop {
|
|
|
3265
3288
|
:root {
|
|
3266
3289
|
--table-header-text-color: var(--gray-90);
|
|
3267
3290
|
--table-header-background-color: var(--gray-20);
|
|
3291
|
+
--table-header-sorting-background-color: #caddec;
|
|
3292
|
+
--table-header-sorting-text-color: var(--gray-90);
|
|
3268
3293
|
--table-cell-text-color: var(--gray-60);
|
|
3269
3294
|
--table-cell-background-color: var(--white);
|
|
3270
3295
|
--table-row-border-color: var(--gray-40);
|
|
3271
3296
|
--table-space: 11px;
|
|
3297
|
+
--table-header-sorting-border-color: var(--gray-90);
|
|
3272
3298
|
}
|
|
3273
3299
|
|
|
3274
3300
|
.cauldron--theme-dark {
|
|
3275
3301
|
--table-header-text-color: var(--white);
|
|
3276
3302
|
--table-header-background-color: var(--accent-dark);
|
|
3303
|
+
--table-header-sorting-background-color: #53636e;
|
|
3304
|
+
--table-header-sorting-text-color: var(--white);
|
|
3277
3305
|
--table-cell-text-color: var(--accent-light);
|
|
3278
3306
|
--table-cell-background-color: var(--accent-medium);
|
|
3307
|
+
--table-row-border-color: #5d676f;
|
|
3308
|
+
--table-header-sorting-border-color: var(--accent-info);
|
|
3279
3309
|
}
|
|
3280
3310
|
|
|
3281
3311
|
.Table {
|
|
3312
|
+
table-layout: auto;
|
|
3282
3313
|
font-size: var(--text-size-small);
|
|
3283
3314
|
border-collapse: collapse;
|
|
3284
3315
|
text-align: left;
|
|
3285
3316
|
width: 100%;
|
|
3286
|
-
table-layout: fixed;
|
|
3287
3317
|
overflow-wrap: break-word;
|
|
3288
3318
|
}
|
|
3289
3319
|
|
|
@@ -3294,6 +3324,48 @@ button.TooltipTabstop {
|
|
|
3294
3324
|
border-bottom: 2px solid var(--table-row-border-color);
|
|
3295
3325
|
}
|
|
3296
3326
|
|
|
3327
|
+
.TableHeader[aria-sort] {
|
|
3328
|
+
padding: 0;
|
|
3329
|
+
}
|
|
3330
|
+
|
|
3331
|
+
.TableHeader .TableHeader__sort-button {
|
|
3332
|
+
background-color: transparent;
|
|
3333
|
+
font-family: inherit;
|
|
3334
|
+
width: 100%;
|
|
3335
|
+
font-size: var(--text-size-small);
|
|
3336
|
+
font-weight: var(--font-weight-medium);
|
|
3337
|
+
color: var(--table-header-text-color);
|
|
3338
|
+
display: flex;
|
|
3339
|
+
align-items: center;
|
|
3340
|
+
justify-content: space-between;
|
|
3341
|
+
padding: var(--table-space) var(--space-smallest);
|
|
3342
|
+
}
|
|
3343
|
+
|
|
3344
|
+
.TableHeader__sort-button:hover {
|
|
3345
|
+
cursor: pointer;
|
|
3346
|
+
}
|
|
3347
|
+
|
|
3348
|
+
.TableHeader__sort-button:focus {
|
|
3349
|
+
outline-offset: unset;
|
|
3350
|
+
}
|
|
3351
|
+
|
|
3352
|
+
.TableHeader--sort-ascending,
|
|
3353
|
+
.TableHeader--sort-descending {
|
|
3354
|
+
background: var(--table-header-sorting-background-color);
|
|
3355
|
+
border-bottom: 2px solid var(--table-header-sorting-border-color);
|
|
3356
|
+
}
|
|
3357
|
+
|
|
3358
|
+
.TableHeader--sort-ascending .TableHeader__sort-button,
|
|
3359
|
+
.TableHeader--sort-decscending .TableHeader__sort-button {
|
|
3360
|
+
color: var(--table-header-sorting-text-color);
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3363
|
+
/* compensate the gap in height between TableHeader and Icon */
|
|
3364
|
+
|
|
3365
|
+
.TableHeader__sort-button span {
|
|
3366
|
+
margin: calc(var(--space-half) * -1) 0;
|
|
3367
|
+
}
|
|
3368
|
+
|
|
3297
3369
|
.TableCell {
|
|
3298
3370
|
background: var(--table-cell-background-color);
|
|
3299
3371
|
color: var(--table-cell-text-color);
|
package/package.json
CHANGED