@deque/cauldron-styles 7.7.0 → 7.8.0-canary.3bc609bf

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 +18 -10
  2. package/package.json +2 -2
package/dist/index.css CHANGED
@@ -3146,7 +3146,7 @@ button.TooltipTabstop {
3146
3146
  .cauldron--theme-dark {
3147
3147
  --top-bar-background-color: var(--accent-dark);
3148
3148
  --top-bar-menuitem-separator: #5d676f;
3149
- --top-bar-border-bottom-color: var(--gray-70);
3149
+ --top-bar-border-bottom-color: var(--stroke-dark);
3150
3150
  --top-bar-text-color: var(--accent-light);
3151
3151
  --top-bar-background-color-active: #0b0e11;
3152
3152
  --top-bar-border-bottom: none;
@@ -3174,6 +3174,7 @@ button.TooltipTabstop {
3174
3174
  --skip-link-background-color: rgba(255, 255, 255, 0.95);
3175
3175
  --skip-link-focus-color: var(--focus-light);
3176
3176
  --skip-link-text-color: var(--text-color-base);
3177
+ --skip-link-offset: 11px;
3177
3178
  }
3178
3179
 
3179
3180
  .SkipLink {
@@ -3181,14 +3182,20 @@ button.TooltipTabstop {
3181
3182
  box-sizing: border-box;
3182
3183
  padding: var(--space-smallest);
3183
3184
  top: -999px;
3184
- left: 11px;
3185
+ left: var(--skip-link-offset);
3186
+ /* Never wider than the containing block, even with enlarged text. */
3187
+ min-width: min(
3188
+ calc(13rem + 2 * var(--space-smallest)),
3189
+ calc(100% - 2 * var(--skip-link-offset))
3190
+ );
3191
+ max-width: calc(100% - 2 * var(--skip-link-offset));
3185
3192
  opacity: 0;
3186
3193
  transition: 250ms opacity;
3187
3194
  z-index: var(--z-index-skip-container);
3188
3195
  }
3189
3196
 
3190
3197
  .SkipLink.SkipLink--active {
3191
- top: 11px;
3198
+ top: var(--skip-link-offset);
3192
3199
  }
3193
3200
 
3194
3201
  .SkipLink.SkipLink--fade {
@@ -3197,7 +3204,6 @@ button.TooltipTabstop {
3197
3204
  }
3198
3205
 
3199
3206
  .SkipLink a {
3200
- min-width: 13rem;
3201
3207
  background-color: var(--skip-link-background-color);
3202
3208
  display: block;
3203
3209
  color: var(--skip-link-text-color);
@@ -4007,11 +4013,6 @@ button.TooltipTabstop {
4007
4013
  border-bottom: 1px solid var(--gray-40);
4008
4014
  }
4009
4015
 
4010
- .Table--border .TableBody .TableHeader {
4011
- border-bottom-width: 1px;
4012
- border-right: 1px solid var(--table-row-border-color);
4013
- }
4014
-
4015
4016
  .cauldron--theme-dark .Table--border,
4016
4017
  .cauldron--theme-dark .Table--border .TableHeader,
4017
4018
  .cauldron--theme-dark .Table--border .TableFooter,
@@ -5448,7 +5449,7 @@ button.Accordion__trigger {
5448
5449
  margin-top: var(--space-smallest);
5449
5450
  }
5450
5451
 
5451
- .Notice .Icon > svg {
5452
+ .Notice .Notice__icon > svg {
5452
5453
  height: var(--notice-icon-size);
5453
5454
  width: var(--notice-icon-size);
5454
5455
  color: var(--notice-icon-color);
@@ -6357,6 +6358,13 @@ button.Accordion__trigger {
6357
6358
  --action-list-item-description-color: var(--action-list-text-color);
6358
6359
  }
6359
6360
 
6361
+ /* accent-error on the gray-20 hover background is only 4.15:1. :where() keeps
6362
+ this at the base rule's specificity so the dark theme overrides still win. */
6363
+ .ActionListItem--danger:where(:hover:not([aria-disabled='true'])) {
6364
+ --action-list-text-color: var(--accent-error-active);
6365
+ --action-list-item-icon-color: var(--accent-error-active);
6366
+ }
6367
+
6360
6368
  :where(.cauldron--theme-dark) .ActionListItem--danger {
6361
6369
  --action-list-text-color: #fff;
6362
6370
  --action-list-item-icon-color: #fff;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "7.7.0",
3
+ "version": "7.8.0-canary.3bc609bf",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",
@@ -15,7 +15,7 @@
15
15
  "devDependencies": {
16
16
  "autoprefixer": "^10.5.0",
17
17
  "postcss": "^8.5.28",
18
- "postcss-cli": "^11.0.1",
18
+ "postcss-cli": "^12.0.0",
19
19
  "postcss-import": "^16.1.1"
20
20
  },
21
21
  "scripts": {