@deque/cauldron-styles 7.4.0 → 7.5.0-canary.1f6a3445
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 +51 -9
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -52,7 +52,15 @@
|
|
|
52
52
|
--issue-minor: var(--gray-20);
|
|
53
53
|
|
|
54
54
|
/* radius */
|
|
55
|
+
--radius-0: 0;
|
|
56
|
+
--radius-4: 4px;
|
|
57
|
+
--radius-8: 8px;
|
|
58
|
+
--radius-12: 12px;
|
|
55
59
|
--radius-16: 16px;
|
|
60
|
+
--radius-20: 20px;
|
|
61
|
+
--radius-24: 24px;
|
|
62
|
+
--radius-32: 32px;
|
|
63
|
+
--radius-9999: 9999px;
|
|
56
64
|
|
|
57
65
|
/* text colours */
|
|
58
66
|
--text-color-base: var(--gray-60);
|
|
@@ -3908,6 +3916,26 @@ button.TooltipTabstop {
|
|
|
3908
3916
|
overflow-wrap: break-word;
|
|
3909
3917
|
}
|
|
3910
3918
|
|
|
3919
|
+
/* Outer corners, for a table whose container publishes one — see
|
|
3920
|
+
--content-start-corner-radius. A collapsed table ignores border-radius, so
|
|
3921
|
+
the edge cells carry it. */
|
|
3922
|
+
|
|
3923
|
+
.Table:first-child > :first-child > .TableRow:first-child > :first-child {
|
|
3924
|
+
border-start-start-radius: var(--content-start-corner-radius, 0);
|
|
3925
|
+
}
|
|
3926
|
+
|
|
3927
|
+
.Table:first-child > :first-child > .TableRow:first-child > :last-child {
|
|
3928
|
+
border-start-end-radius: var(--content-start-corner-radius, 0);
|
|
3929
|
+
}
|
|
3930
|
+
|
|
3931
|
+
.Table:last-child > :last-child > .TableRow:last-child > :first-child {
|
|
3932
|
+
border-end-start-radius: var(--content-end-corner-radius, 0);
|
|
3933
|
+
}
|
|
3934
|
+
|
|
3935
|
+
.Table:last-child > :last-child > .TableRow:last-child > :last-child {
|
|
3936
|
+
border-end-end-radius: var(--content-end-corner-radius, 0);
|
|
3937
|
+
}
|
|
3938
|
+
|
|
3911
3939
|
.TableGrid {
|
|
3912
3940
|
display: grid;
|
|
3913
3941
|
grid-template-columns: var(--table-grid-template-columns, auto);
|
|
@@ -3941,6 +3969,9 @@ button.TooltipTabstop {
|
|
|
3941
3969
|
}
|
|
3942
3970
|
|
|
3943
3971
|
.TableHeader .TableHeader__sort-button {
|
|
3972
|
+
/* Fills the cell edge to edge, so its focus ring follows any corner the cell
|
|
3973
|
+
takes. Cells with no corner pass down 0. */
|
|
3974
|
+
border-radius: inherit;
|
|
3944
3975
|
background-color: transparent;
|
|
3945
3976
|
font-family: inherit;
|
|
3946
3977
|
width: 100%;
|
|
@@ -4387,7 +4418,7 @@ button.TooltipTabstop {
|
|
|
4387
4418
|
|
|
4388
4419
|
:root {
|
|
4389
4420
|
--panel-border-color: var(--gray-40);
|
|
4390
|
-
--panel-border-radius: var(--radius-
|
|
4421
|
+
--panel-border-radius: var(--radius-12);
|
|
4391
4422
|
--panel-border-width: 1px;
|
|
4392
4423
|
--panel-background-color: var(--white);
|
|
4393
4424
|
--panel-heading-color: var(--gray-90);
|
|
@@ -4399,6 +4430,11 @@ button.TooltipTabstop {
|
|
|
4399
4430
|
}
|
|
4400
4431
|
|
|
4401
4432
|
.Panel {
|
|
4433
|
+
/* Not on :root, so a per-instance --panel-border-radius recomputes it. */
|
|
4434
|
+
--panel-inner-border-radius: max(
|
|
4435
|
+
0px,
|
|
4436
|
+
calc(var(--panel-border-radius) - var(--panel-border-width))
|
|
4437
|
+
);
|
|
4402
4438
|
padding: var(--panel-padding);
|
|
4403
4439
|
margin: 0;
|
|
4404
4440
|
border: var(--panel-border);
|
|
@@ -4437,14 +4473,20 @@ button.TooltipTabstop {
|
|
|
4437
4473
|
.Panel__Header {
|
|
4438
4474
|
margin: calc(var(--panel-padding) * -1) calc(var(--panel-padding) * -1) 0
|
|
4439
4475
|
calc(var(--panel-padding) * -1);
|
|
4440
|
-
border-start-start-radius:
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
);
|
|
4476
|
+
border-start-start-radius: var(--panel-inner-border-radius);
|
|
4477
|
+
border-start-end-radius: var(--panel-inner-border-radius);
|
|
4478
|
+
}
|
|
4479
|
+
|
|
4480
|
+
.Panel--no-padding > :first-child {
|
|
4481
|
+
--content-start-corner-radius: var(--panel-inner-border-radius);
|
|
4482
|
+
border-start-start-radius: var(--panel-inner-border-radius);
|
|
4483
|
+
border-start-end-radius: var(--panel-inner-border-radius);
|
|
4484
|
+
}
|
|
4485
|
+
|
|
4486
|
+
.Panel--no-padding > :last-child {
|
|
4487
|
+
--content-end-corner-radius: var(--panel-inner-border-radius);
|
|
4488
|
+
border-end-start-radius: var(--panel-inner-border-radius);
|
|
4489
|
+
border-end-end-radius: var(--panel-inner-border-radius);
|
|
4448
4490
|
}
|
|
4449
4491
|
|
|
4450
4492
|
.Panel--no-padding > :is(.Panel__Heading, .Panel__Header, .Panel__Content) {
|