@deque/cauldron-styles 7.0.0 → 7.1.0-canary.038917f6
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 +75 -8
- package/package.json +10 -10
package/dist/index.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* variable naming convention:
|
|
3
|
-
* --{component name (if applicable)}-{style property}-{...modifiers (if applicable,
|
|
3
|
+
* --{component name (if applicable)}-{style property}-{...modifiers (if applicable, hyphen separated)}
|
|
4
4
|
* example: --foo-background-color-light
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -501,7 +501,7 @@ ul.semantic-only {
|
|
|
501
501
|
--field-icon-active-color: rgba(60, 122, 174, 0.25);
|
|
502
502
|
--field-icon-error-active-color: rgba(217, 50, 81, 0.25);
|
|
503
503
|
--field-icon-checked-color: var(--accent-primary);
|
|
504
|
-
--field-icon-checked-disabled-color: var(--accent-primary-
|
|
504
|
+
--field-icon-checked-disabled-color: var(--accent-primary-disabled, #78a6d8);
|
|
505
505
|
--field-icon-unchecked-disabled-color: var(--gray-40);
|
|
506
506
|
--field-icon-focus-color: var(--focus-light);
|
|
507
507
|
--field-error-text-color: var(--error);
|
|
@@ -2438,8 +2438,7 @@ a.IconButton {
|
|
|
2438
2438
|
font-style: normal;
|
|
2439
2439
|
font-size: var(--text-size-small);
|
|
2440
2440
|
color: var(--field-content-color);
|
|
2441
|
-
|
|
2442
|
-
text-decoration: rgb(102, 102, 102);
|
|
2441
|
+
text-decoration: rgb(102, 102, 102);
|
|
2443
2442
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
2444
2443
|
-webkit-appearance: none;
|
|
2445
2444
|
-moz-appearance: none;
|
|
@@ -5265,8 +5264,7 @@ button.Accordion__trigger {
|
|
|
5265
5264
|
font-size: var(--text-size-small);
|
|
5266
5265
|
margin-top: var(--space-small);
|
|
5267
5266
|
color: var(--accordion-trigger-text-color);
|
|
5268
|
-
|
|
5269
|
-
text-decoration: var(--accordion-trigger-text-decoration);
|
|
5267
|
+
text-decoration: var(--accordion-trigger-text-decoration);
|
|
5270
5268
|
}
|
|
5271
5269
|
|
|
5272
5270
|
.Accordion__trigger[aria-expanded='true'] {
|
|
@@ -5279,8 +5277,7 @@ button.Accordion__trigger {
|
|
|
5279
5277
|
box-shadow: inset 8px 0 0 -4px var(--accordion-trigger-box-shadow-hover);
|
|
5280
5278
|
color: var(--accordion-trigger-text-color-hover);
|
|
5281
5279
|
transition: all 0.2s ease-in-out;
|
|
5282
|
-
|
|
5283
|
-
text-decoration: underline solid var(--accordion-trigger-text-color-hover);
|
|
5280
|
+
text-decoration: underline solid var(--accordion-trigger-text-color-hover);
|
|
5284
5281
|
}
|
|
5285
5282
|
|
|
5286
5283
|
.Accordion__trigger:hover .Icon {
|
|
@@ -6430,6 +6427,76 @@ button.Accordion__trigger {
|
|
|
6430
6427
|
color: var(--action-list-item-disabled-text-color);
|
|
6431
6428
|
}
|
|
6432
6429
|
|
|
6430
|
+
:root {
|
|
6431
|
+
--tree-view-padding: 1rem;
|
|
6432
|
+
--tree-view-focus-ring-color: var(--focus-light);
|
|
6433
|
+
--tree-view-highlight-background: var(--accent-light);
|
|
6434
|
+
}
|
|
6435
|
+
|
|
6436
|
+
.cauldron--theme-dark {
|
|
6437
|
+
--tree-view-focus-ring-color: var(--focus-dark);
|
|
6438
|
+
--tree-view-highlight-background: var(--accent-dark);
|
|
6439
|
+
}
|
|
6440
|
+
|
|
6441
|
+
.TreeView {
|
|
6442
|
+
display: flex;
|
|
6443
|
+
flex-direction: column;
|
|
6444
|
+
gap: var(--space-quarter);
|
|
6445
|
+
overflow: auto;
|
|
6446
|
+
padding: var(--space-half);
|
|
6447
|
+
outline: none;
|
|
6448
|
+
box-sizing: border-box;
|
|
6449
|
+
}
|
|
6450
|
+
|
|
6451
|
+
.TreeView[data-focus-visible] {
|
|
6452
|
+
outline: 2px solid var(--tree-view-focus-ring-color);
|
|
6453
|
+
outline-offset: -1px;
|
|
6454
|
+
}
|
|
6455
|
+
|
|
6456
|
+
.TreeView .TreeView__item {
|
|
6457
|
+
display: flex;
|
|
6458
|
+
align-items: center;
|
|
6459
|
+
gap: 0.571rem;
|
|
6460
|
+
min-height: 28px;
|
|
6461
|
+
padding: 0.286rem 0.286rem 0.286rem 0.571rem;
|
|
6462
|
+
outline: none;
|
|
6463
|
+
position: relative;
|
|
6464
|
+
transform: translateZ(0);
|
|
6465
|
+
}
|
|
6466
|
+
|
|
6467
|
+
.TreeView .TreeView__item .TreeView__chevron {
|
|
6468
|
+
all: unset;
|
|
6469
|
+
display: flex;
|
|
6470
|
+
visibility: hidden;
|
|
6471
|
+
align-items: center;
|
|
6472
|
+
justify-content: center;
|
|
6473
|
+
width: 1.3rem;
|
|
6474
|
+
height: 100%;
|
|
6475
|
+
padding-left: calc((var(--tree-item-level) - 1) * var(--tree-view-padding));
|
|
6476
|
+
}
|
|
6477
|
+
|
|
6478
|
+
.TreeView .TreeView__item .TreeView__chevron svg {
|
|
6479
|
+
transform: rotate(0deg);
|
|
6480
|
+
transition: transform 200ms;
|
|
6481
|
+
}
|
|
6482
|
+
|
|
6483
|
+
.TreeView .TreeView__item[data-has-child-items] .TreeView__chevron {
|
|
6484
|
+
visibility: visible;
|
|
6485
|
+
}
|
|
6486
|
+
|
|
6487
|
+
.TreeView .TreeView__item[data-expanded] .TreeView__chevron svg {
|
|
6488
|
+
transform: rotate(90deg);
|
|
6489
|
+
}
|
|
6490
|
+
|
|
6491
|
+
.TreeView .TreeView__item[data-focus-visible] {
|
|
6492
|
+
outline: 2px solid var(--tree-view-focus-ring-color);
|
|
6493
|
+
outline-offset: -2px;
|
|
6494
|
+
}
|
|
6495
|
+
|
|
6496
|
+
.TreeView .TreeView__item[aria-selected='true'] {
|
|
6497
|
+
background: var(--tree-view-highlight-background);
|
|
6498
|
+
}
|
|
6499
|
+
|
|
6433
6500
|
/**
|
|
6434
6501
|
* Compact density preset for constrained viewports.
|
|
6435
6502
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deque/cauldron-styles",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.1.0-canary.038917f6",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "deque cauldron pattern library styles",
|
|
6
6
|
"repository": "https://github.com/dequelabs/cauldron",
|
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"dist/"
|
|
11
11
|
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"build": "postcss index.css --dir ./dist",
|
|
14
|
-
"dev": "npm run build -- --watch",
|
|
15
|
-
"prepublishOnly": "NODE_ENV=production yarn build"
|
|
16
|
-
},
|
|
17
12
|
"publishConfig": {
|
|
18
13
|
"access": "public"
|
|
19
14
|
},
|
|
20
15
|
"devDependencies": {
|
|
21
|
-
"autoprefixer": "^
|
|
22
|
-
"postcss
|
|
23
|
-
"postcss-
|
|
16
|
+
"autoprefixer": "^10.5.0",
|
|
17
|
+
"postcss": "^8.5.15",
|
|
18
|
+
"postcss-cli": "^11.0.1",
|
|
19
|
+
"postcss-import": "^16.1.1"
|
|
20
|
+
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "postcss index.css --dir ./dist",
|
|
23
|
+
"dev": "pnpm run build --watch"
|
|
24
24
|
}
|
|
25
|
-
}
|
|
25
|
+
}
|