@deque/cauldron-styles 4.0.0-canary.5854bd2a → 4.0.0-canary.78d6a743

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.
Files changed (2) hide show
  1. package/dist/index.css +62 -0
  2. 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,16 @@ 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
+
1697
1710
  .Radio__overlay,
1698
1711
  .Checkbox__overlay {
1699
1712
  border: 1px solid transparent;
@@ -3265,17 +3278,24 @@ button.TooltipTabstop {
3265
3278
  :root {
3266
3279
  --table-header-text-color: var(--gray-90);
3267
3280
  --table-header-background-color: var(--gray-20);
3281
+ --table-header-sorting-background-color: #caddec;
3282
+ --table-header-sorting-text-color: var(--gray-90);
3268
3283
  --table-cell-text-color: var(--gray-60);
3269
3284
  --table-cell-background-color: var(--white);
3270
3285
  --table-row-border-color: var(--gray-40);
3271
3286
  --table-space: 11px;
3287
+ --table-header-sorting-border-color: var(--gray-90);
3272
3288
  }
3273
3289
 
3274
3290
  .cauldron--theme-dark {
3275
3291
  --table-header-text-color: var(--white);
3276
3292
  --table-header-background-color: var(--accent-dark);
3293
+ --table-header-sorting-background-color: #53636e;
3294
+ --table-header-sorting-text-color: var(--white);
3277
3295
  --table-cell-text-color: var(--accent-light);
3278
3296
  --table-cell-background-color: var(--accent-medium);
3297
+ --table-row-border-color: #5d676f;
3298
+ --table-header-sorting-border-color: var(--accent-info);
3279
3299
  }
3280
3300
 
3281
3301
  .Table {
@@ -3294,6 +3314,48 @@ button.TooltipTabstop {
3294
3314
  border-bottom: 2px solid var(--table-row-border-color);
3295
3315
  }
3296
3316
 
3317
+ .TableHeader[aria-sort] {
3318
+ padding: 0;
3319
+ }
3320
+
3321
+ .TableHeader .TableHeader__sort-button {
3322
+ background-color: transparent;
3323
+ font-family: inherit;
3324
+ width: 100%;
3325
+ font-size: var(--text-size-small);
3326
+ font-weight: var(--font-weight-medium);
3327
+ color: var(--table-header-text-color);
3328
+ display: flex;
3329
+ align-items: center;
3330
+ justify-content: space-between;
3331
+ padding: var(--table-space) var(--space-smallest);
3332
+ }
3333
+
3334
+ .TableHeader__sort-button:hover {
3335
+ cursor: pointer;
3336
+ }
3337
+
3338
+ .TableHeader__sort-button:focus {
3339
+ outline-offset: unset;
3340
+ }
3341
+
3342
+ .TableHeader--sort-ascending,
3343
+ .TableHeader--sort-descending {
3344
+ background: var(--table-header-sorting-background-color);
3345
+ border-bottom: 2px solid var(--table-header-sorting-border-color);
3346
+ }
3347
+
3348
+ .TableHeader--sort-ascending .TableHeader__sort-button,
3349
+ .TableHeader--sort-decscending .TableHeader__sort-button {
3350
+ color: var(--table-header-sorting-text-color);
3351
+ }
3352
+
3353
+ /* compensate the gap in height between TableHeader and Icon */
3354
+
3355
+ .TableHeader__sort-button span {
3356
+ margin: calc(var(--space-half) * -1) 0;
3357
+ }
3358
+
3297
3359
  .TableCell {
3298
3360
  background: var(--table-cell-background-color);
3299
3361
  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.0-canary.5854bd2a",
3
+ "version": "4.0.0-canary.78d6a743",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",