@deque/cauldron-styles 4.0.0 → 4.1.0-canary.1d6f49de
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 +366 -10
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -381,7 +381,7 @@ p {
|
|
|
381
381
|
position: relative;
|
|
382
382
|
text-align: center;
|
|
383
383
|
text-transform: uppercase;
|
|
384
|
-
height: 36px;
|
|
384
|
+
min-height: 36px;
|
|
385
385
|
min-width: 100px;
|
|
386
386
|
display: inline-grid;
|
|
387
387
|
grid-auto-flow: column;
|
|
@@ -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,
|
|
@@ -1581,7 +1583,6 @@ textarea.Field--has-error:focus:hover,
|
|
|
1581
1583
|
}
|
|
1582
1584
|
|
|
1583
1585
|
.Error {
|
|
1584
|
-
min-height: var(--space-large);
|
|
1585
1586
|
color: var(--error);
|
|
1586
1587
|
text-align: left;
|
|
1587
1588
|
font-size: var(--text-size-smallest);
|
|
@@ -1593,7 +1594,7 @@ textarea.Field--has-error:focus:hover,
|
|
|
1593
1594
|
display: block;
|
|
1594
1595
|
position: relative;
|
|
1595
1596
|
box-sizing: border-box;
|
|
1596
|
-
margin-bottom: var(--space-
|
|
1597
|
+
margin-bottom: var(--space-small);
|
|
1597
1598
|
}
|
|
1598
1599
|
|
|
1599
1600
|
.Field.is--flex-row {
|
|
@@ -1611,6 +1612,7 @@ textarea.Field--has-error:focus:hover,
|
|
|
1611
1612
|
margin-bottom: 0;
|
|
1612
1613
|
flex-direction: row-reverse;
|
|
1613
1614
|
justify-content: flex-end;
|
|
1615
|
+
flex-wrap: wrap;
|
|
1614
1616
|
}
|
|
1615
1617
|
|
|
1616
1618
|
.Checkbox {
|
|
@@ -1634,7 +1636,7 @@ textarea.Field--has-error:focus:hover,
|
|
|
1634
1636
|
text-align: left;
|
|
1635
1637
|
color: var(--field-label-text-color);
|
|
1636
1638
|
font-size: var(--text-size-small);
|
|
1637
|
-
font-weight: var(--font-weight-
|
|
1639
|
+
font-weight: var(--font-weight-medium);
|
|
1638
1640
|
padding-bottom: var(--space-half);
|
|
1639
1641
|
cursor: default;
|
|
1640
1642
|
}
|
|
@@ -1694,6 +1696,28 @@ textarea.Field--has-error:focus:hover,
|
|
|
1694
1696
|
border: 1px solid var(--field-border-color);
|
|
1695
1697
|
}
|
|
1696
1698
|
|
|
1699
|
+
.Field__labelDescription {
|
|
1700
|
+
flex-basis: 100%;
|
|
1701
|
+
color: var(--field-label-description-text-color);
|
|
1702
|
+
font-size: var(--text-size-small);
|
|
1703
|
+
font-weight: var(--font-weight-normal);
|
|
1704
|
+
line-height: 1;
|
|
1705
|
+
margin-left: calc(24px + 2px + var(--space-half));
|
|
1706
|
+
cursor: default;
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
.Icon + .Error {
|
|
1710
|
+
flex-basis: 100%;
|
|
1711
|
+
margin-top: var(--space-smallest);
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
.Field__labelDescription + .Error {
|
|
1715
|
+
border-top: 1px solid var(--error);
|
|
1716
|
+
margin-left: calc(24px + 2px + var(--space-half));
|
|
1717
|
+
padding: 4px 0;
|
|
1718
|
+
margin-top: 4px;
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1697
1721
|
.Radio__overlay,
|
|
1698
1722
|
.Checkbox__overlay {
|
|
1699
1723
|
border: 1px solid transparent;
|
|
@@ -1965,7 +1989,7 @@ p .Link {
|
|
|
1965
1989
|
.Field__select {
|
|
1966
1990
|
display: flex;
|
|
1967
1991
|
flex-direction: column;
|
|
1968
|
-
margin-bottom: var(--space-
|
|
1992
|
+
margin-bottom: var(--space-small);
|
|
1969
1993
|
}
|
|
1970
1994
|
|
|
1971
1995
|
.Field__select--disabled {
|
|
@@ -2246,10 +2270,6 @@ p .Link {
|
|
|
2246
2270
|
box-sizing: border-box;
|
|
2247
2271
|
}
|
|
2248
2272
|
|
|
2249
|
-
.Card__content ul li {
|
|
2250
|
-
border-bottom: 1px solid var(--list-separator);
|
|
2251
|
-
}
|
|
2252
|
-
|
|
2253
2273
|
.Card__footer {
|
|
2254
2274
|
padding: var(--space-small);
|
|
2255
2275
|
text-align: center;
|
|
@@ -2294,6 +2314,7 @@ p .Link {
|
|
|
2294
2314
|
background: transparent;
|
|
2295
2315
|
border: 0;
|
|
2296
2316
|
height: calc(var(--text-size-small) + 9px);
|
|
2317
|
+
color: currentColor;
|
|
2297
2318
|
}
|
|
2298
2319
|
|
|
2299
2320
|
.Toast__dismiss:focus {
|
|
@@ -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,34 @@ 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);
|
|
3293
|
+
--table-header-background-color-hover: #dddddd;
|
|
3268
3294
|
--table-cell-text-color: var(--gray-60);
|
|
3269
3295
|
--table-cell-background-color: var(--white);
|
|
3270
3296
|
--table-row-border-color: var(--gray-40);
|
|
3271
3297
|
--table-space: 11px;
|
|
3298
|
+
--table-header-sorting-border-color: var(--gray-90);
|
|
3272
3299
|
}
|
|
3273
3300
|
|
|
3274
3301
|
.cauldron--theme-dark {
|
|
3275
3302
|
--table-header-text-color: var(--white);
|
|
3276
3303
|
--table-header-background-color: var(--accent-dark);
|
|
3304
|
+
--table-header-sorting-background-color: #53636e;
|
|
3305
|
+
--table-header-sorting-text-color: var(--white);
|
|
3306
|
+
--table-header-background-color-hover: #53636e;
|
|
3277
3307
|
--table-cell-text-color: var(--accent-light);
|
|
3278
3308
|
--table-cell-background-color: var(--accent-medium);
|
|
3309
|
+
--table-row-border-color: #5d676f;
|
|
3310
|
+
--table-header-sorting-border-color: var(--accent-info);
|
|
3279
3311
|
}
|
|
3280
3312
|
|
|
3281
3313
|
.Table {
|
|
3314
|
+
table-layout: auto;
|
|
3282
3315
|
font-size: var(--text-size-small);
|
|
3283
3316
|
border-collapse: collapse;
|
|
3284
3317
|
text-align: left;
|
|
3285
3318
|
width: 100%;
|
|
3286
|
-
table-layout: fixed;
|
|
3287
3319
|
overflow-wrap: break-word;
|
|
3288
3320
|
}
|
|
3289
3321
|
|
|
@@ -3294,6 +3326,49 @@ button.TooltipTabstop {
|
|
|
3294
3326
|
border-bottom: 2px solid var(--table-row-border-color);
|
|
3295
3327
|
}
|
|
3296
3328
|
|
|
3329
|
+
.TableHeader[aria-sort] {
|
|
3330
|
+
padding: 0;
|
|
3331
|
+
}
|
|
3332
|
+
|
|
3333
|
+
.TableHeader .TableHeader__sort-button {
|
|
3334
|
+
background-color: transparent;
|
|
3335
|
+
font-family: inherit;
|
|
3336
|
+
width: 100%;
|
|
3337
|
+
font-size: var(--text-size-small);
|
|
3338
|
+
font-weight: var(--font-weight-medium);
|
|
3339
|
+
color: var(--table-header-text-color);
|
|
3340
|
+
display: flex;
|
|
3341
|
+
align-items: center;
|
|
3342
|
+
justify-content: space-between;
|
|
3343
|
+
padding: var(--table-space) var(--space-smallest);
|
|
3344
|
+
}
|
|
3345
|
+
|
|
3346
|
+
.TableHeader__sort-button:hover {
|
|
3347
|
+
cursor: pointer;
|
|
3348
|
+
background-color: var(--table-header-background-color-hover);
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3351
|
+
.TableHeader__sort-button:focus {
|
|
3352
|
+
outline-offset: unset;
|
|
3353
|
+
}
|
|
3354
|
+
|
|
3355
|
+
.TableHeader--sort-ascending,
|
|
3356
|
+
.TableHeader--sort-descending {
|
|
3357
|
+
background: var(--table-header-sorting-background-color);
|
|
3358
|
+
border-bottom: 2px solid var(--table-header-sorting-border-color);
|
|
3359
|
+
}
|
|
3360
|
+
|
|
3361
|
+
.TableHeader--sort-ascending .TableHeader__sort-button,
|
|
3362
|
+
.TableHeader--sort-decscending .TableHeader__sort-button {
|
|
3363
|
+
color: var(--table-header-sorting-text-color);
|
|
3364
|
+
}
|
|
3365
|
+
|
|
3366
|
+
/* compensate the gap in height between TableHeader and Icon */
|
|
3367
|
+
|
|
3368
|
+
.TableHeader__sort-button span {
|
|
3369
|
+
margin: calc(var(--space-half) * -1) 0;
|
|
3370
|
+
}
|
|
3371
|
+
|
|
3297
3372
|
.TableCell {
|
|
3298
3373
|
background: var(--table-cell-background-color);
|
|
3299
3374
|
color: var(--table-cell-text-color);
|
|
@@ -3927,9 +4002,290 @@ fieldset.Panel {
|
|
|
3927
4002
|
|
|
3928
4003
|
.Breadcrumb__Link {
|
|
3929
4004
|
font-weight: 400;
|
|
4005
|
+
padding: 0;
|
|
3930
4006
|
}
|
|
3931
4007
|
|
|
3932
4008
|
.Breadcrumb__Item {
|
|
3933
4009
|
font-weight: 500;
|
|
3934
4010
|
color: var(--link-text-color);
|
|
3935
4011
|
}
|
|
4012
|
+
|
|
4013
|
+
:root {
|
|
4014
|
+
--two-column-panel-border-color: var(--gray-40);
|
|
4015
|
+
--two-column-panel-background-color: #fff;
|
|
4016
|
+
--two-column-panel-border-radius: 3px;
|
|
4017
|
+
--two-column-panel-header-height: 3.125rem;
|
|
4018
|
+
--two-column-panel-animation-timing: 0.25s;
|
|
4019
|
+
--two-column-panel-left-column-width: 17.5rem;
|
|
4020
|
+
--two-column-panel-header-text-color: var(--gray-90);
|
|
4021
|
+
--two-column-panel-accent-text-color: var(--text-color-base);
|
|
4022
|
+
--two-column-panel-list-background-color: var(
|
|
4023
|
+
--two-column-panel-background-color
|
|
4024
|
+
);
|
|
4025
|
+
--two-column-panel-group-heading-background-color: var(--accent-secondary);
|
|
4026
|
+
--two-column-panel-group-heading-text-color: var(--text-base);
|
|
4027
|
+
}
|
|
4028
|
+
|
|
4029
|
+
.cauldron--theme-dark {
|
|
4030
|
+
--two-column-panel-border-color: #5d676f;
|
|
4031
|
+
--two-column-panel-background-color: var(--accent-medium);
|
|
4032
|
+
--two-column-panel-header-text-color: #fff;
|
|
4033
|
+
--two-column-panel-accent-text-color: #fff;
|
|
4034
|
+
--two-column-panel-list-background-color: var(--accent-dark);
|
|
4035
|
+
--two-column-panel-group-heading-background-color: #b3bfc6;
|
|
4036
|
+
--two-column-panel-group-heading-text-color: var(--accent-dark);
|
|
4037
|
+
}
|
|
4038
|
+
|
|
4039
|
+
.TwoColumnPanel {
|
|
4040
|
+
display: flex;
|
|
4041
|
+
border: 1px solid var(--two-column-panel-border-color);
|
|
4042
|
+
background-color: var(--two-column-panel-background-color);
|
|
4043
|
+
border-radius: var(--two-column-panel-border-radius);
|
|
4044
|
+
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
|
|
4045
|
+
}
|
|
4046
|
+
|
|
4047
|
+
.TwoColumnPanel__Header {
|
|
4048
|
+
padding: 0 var(--space-small);
|
|
4049
|
+
border-bottom: 1px solid var(--two-column-panel-border-color);
|
|
4050
|
+
height: var(--two-column-panel-header-height);
|
|
4051
|
+
line-height: var(--two-column-panel-header-height);
|
|
4052
|
+
font-weight: 500;
|
|
4053
|
+
color: var(--two-column-panel-header-text-color);
|
|
4054
|
+
flex: 1;
|
|
4055
|
+
}
|
|
4056
|
+
|
|
4057
|
+
.TwoColumnPanel__Left {
|
|
4058
|
+
position: relative;
|
|
4059
|
+
width: var(--two-column-panel-left-column-width);
|
|
4060
|
+
border-right: 1px solid var(--two-column-panel-border-color);
|
|
4061
|
+
background-color: var(--two-column-panel-background-color);
|
|
4062
|
+
border-top-left-radius: var(--two-column-panel-border-radius);
|
|
4063
|
+
border-bottom-left-radius: var(--two-column-panel-border-radius);
|
|
4064
|
+
align-content: start;
|
|
4065
|
+
}
|
|
4066
|
+
|
|
4067
|
+
.TwoColumnPanel__Right {
|
|
4068
|
+
flex: 1;
|
|
4069
|
+
align-content: flex-start;
|
|
4070
|
+
}
|
|
4071
|
+
|
|
4072
|
+
.TwoColumnPanel__Left,
|
|
4073
|
+
.TwoColumnPanel__Right {
|
|
4074
|
+
display: flex;
|
|
4075
|
+
flex-direction: row;
|
|
4076
|
+
flex-wrap: wrap;
|
|
4077
|
+
}
|
|
4078
|
+
|
|
4079
|
+
.TwoColumnPanel__Right .TwoColumnPanel__Header {
|
|
4080
|
+
flex: 1;
|
|
4081
|
+
font-size: var(--text-size-normal);
|
|
4082
|
+
}
|
|
4083
|
+
|
|
4084
|
+
.TwoColumnPanel__Left .TwoColumnPanel__Header ~ * {
|
|
4085
|
+
flex-basis: 100%;
|
|
4086
|
+
}
|
|
4087
|
+
|
|
4088
|
+
.TwoColumnPanel__Left ul li {
|
|
4089
|
+
list-style-type: none;
|
|
4090
|
+
color: var(--gray-90);
|
|
4091
|
+
font-weight: 500;
|
|
4092
|
+
text-decoration: none;
|
|
4093
|
+
background-color: var(--two-column-panel-list-background-color);
|
|
4094
|
+
transition: ease-in-out 100ms background-color;
|
|
4095
|
+
height: 4.1875rem;
|
|
4096
|
+
flex-direction: column;
|
|
4097
|
+
align-items: flex-start;
|
|
4098
|
+
border-top: 1px solid var(--two-column-panel-border-color);
|
|
4099
|
+
}
|
|
4100
|
+
|
|
4101
|
+
.TwoColumnPanel__Left ul li a {
|
|
4102
|
+
display: flex;
|
|
4103
|
+
flex-direction: column;
|
|
4104
|
+
padding: var(--space-small);
|
|
4105
|
+
text-decoration: none;
|
|
4106
|
+
height: 100%;
|
|
4107
|
+
}
|
|
4108
|
+
|
|
4109
|
+
.TwoColumnPanel__Left ul li a:last-child {
|
|
4110
|
+
box-shadow: 0px 1px 0px 0px var(--two-column-panel-border-color);
|
|
4111
|
+
}
|
|
4112
|
+
|
|
4113
|
+
.TwoColumnPanel__Left ul li a[aria-current]:not([aria-current='false']) {
|
|
4114
|
+
box-shadow: inset 4px 0 0 var(--tab-shadow-color);
|
|
4115
|
+
}
|
|
4116
|
+
|
|
4117
|
+
.TwoColumnPanel__Left
|
|
4118
|
+
ul
|
|
4119
|
+
li
|
|
4120
|
+
a[aria-current]:not([aria-current='false']):last-child {
|
|
4121
|
+
box-shadow: inset 4px 0 0 var(--tab-shadow-color),
|
|
4122
|
+
0px 1px 0px 0px var(--two-column-panel-border-color);
|
|
4123
|
+
}
|
|
4124
|
+
|
|
4125
|
+
.TwoColumnPanel__Left ul li em {
|
|
4126
|
+
color: var(--two-column-panel-accent-text-color);
|
|
4127
|
+
font-size: var(--text-size-smaller);
|
|
4128
|
+
font-style: normal;
|
|
4129
|
+
font-weight: 300;
|
|
4130
|
+
display: block;
|
|
4131
|
+
}
|
|
4132
|
+
|
|
4133
|
+
.TwoColumnPanel__Left ul li:hover {
|
|
4134
|
+
background-color: var(--tab-inactive-background-color);
|
|
4135
|
+
}
|
|
4136
|
+
|
|
4137
|
+
.TwoColumnPanel__Left ul li:first-child {
|
|
4138
|
+
border-top: none;
|
|
4139
|
+
}
|
|
4140
|
+
|
|
4141
|
+
.TwoColumnPanel__Left ul li:last-child {
|
|
4142
|
+
border-bottom: none;
|
|
4143
|
+
}
|
|
4144
|
+
|
|
4145
|
+
.TwoColumnPanel__GroupHeader {
|
|
4146
|
+
border-top: 1px solid var(--two-column-panel-border-color);
|
|
4147
|
+
border-bottom: 1px solid var(--two-column-panel-border-color);
|
|
4148
|
+
background: var(--two-column-panel-group-heading-background-color);
|
|
4149
|
+
text-transform: uppercase;
|
|
4150
|
+
font-size: var(--text-size-smaller);
|
|
4151
|
+
font-weight: 500;
|
|
4152
|
+
padding: var(--space-smallest) var(--space-small);
|
|
4153
|
+
color: var(--two-column-panel-group-heading-text-color);
|
|
4154
|
+
position: sticky;
|
|
4155
|
+
top: 0;
|
|
4156
|
+
}
|
|
4157
|
+
|
|
4158
|
+
.TwoColumnPanel__GroupHeader h1,
|
|
4159
|
+
.TwoColumnPanel__GroupHeader h2,
|
|
4160
|
+
.TwoColumnPanel__GroupHeader h3,
|
|
4161
|
+
.TwoColumnPanel__GroupHeader h4,
|
|
4162
|
+
.TwoColumnPanel__GroupHeader h5,
|
|
4163
|
+
.TwoColumnPanel__GroupHeader h6 {
|
|
4164
|
+
color: inherit;
|
|
4165
|
+
font-size: var(--text-size-smaller);
|
|
4166
|
+
font-weight: 500;
|
|
4167
|
+
margin: 0;
|
|
4168
|
+
padding: 0;
|
|
4169
|
+
}
|
|
4170
|
+
|
|
4171
|
+
.TwoColumnPanel__Header + .TwoColumnPanel__GroupHeader,
|
|
4172
|
+
.TwoColumnPanel__GroupHeader:first-child {
|
|
4173
|
+
border-top: none;
|
|
4174
|
+
}
|
|
4175
|
+
|
|
4176
|
+
.TwoColumnPanel__Right .TwoColumnPanel__Header ~ * {
|
|
4177
|
+
display: flex;
|
|
4178
|
+
flex-direction: column;
|
|
4179
|
+
width: unset;
|
|
4180
|
+
min-height: unset;
|
|
4181
|
+
flex-basis: 100%;
|
|
4182
|
+
border: none;
|
|
4183
|
+
padding: var(--space-small);
|
|
4184
|
+
}
|
|
4185
|
+
|
|
4186
|
+
.TwoColumnPanel__Right .TwoColumnPanel__Header ~ * > :last-child {
|
|
4187
|
+
padding-bottom: 0;
|
|
4188
|
+
margin-bottom: 0;
|
|
4189
|
+
}
|
|
4190
|
+
|
|
4191
|
+
.TwoColumnPanel__ButtonToggle button,
|
|
4192
|
+
.TwoColumnPanel__Close button {
|
|
4193
|
+
background-color: transparent;
|
|
4194
|
+
border: none;
|
|
4195
|
+
border-bottom: 1px solid var(--two-column-panel-border-color);
|
|
4196
|
+
height: var(--two-column-panel-header-height);
|
|
4197
|
+
width: var(--two-column-panel-header-height);
|
|
4198
|
+
}
|
|
4199
|
+
|
|
4200
|
+
.TwoColumnPanel__ButtonToggle button {
|
|
4201
|
+
border-right: 1px solid var(--two-column-panel-border-color);
|
|
4202
|
+
}
|
|
4203
|
+
|
|
4204
|
+
.TwoColumnPanel__Close {
|
|
4205
|
+
position: absolute;
|
|
4206
|
+
top: 0;
|
|
4207
|
+
right: 0;
|
|
4208
|
+
display: none;
|
|
4209
|
+
}
|
|
4210
|
+
|
|
4211
|
+
.TwoColumnPanel__ButtonToggle button:focus,
|
|
4212
|
+
.TwoColumnPanel__Close button:focus {
|
|
4213
|
+
position: relative;
|
|
4214
|
+
/* TODO: fix this z-index */
|
|
4215
|
+
z-index: 2;
|
|
4216
|
+
}
|
|
4217
|
+
|
|
4218
|
+
.TwoColumnPanel__ButtonToggle button:hover {
|
|
4219
|
+
background-color: var(--tab-inactive-background-color);
|
|
4220
|
+
}
|
|
4221
|
+
|
|
4222
|
+
/* Panel show/hide transitions */
|
|
4223
|
+
|
|
4224
|
+
.TwoColumnPanel__Left {
|
|
4225
|
+
transition: opacity ease-in-out var(--two-column-panel-animation-timing);
|
|
4226
|
+
}
|
|
4227
|
+
|
|
4228
|
+
.TwoColumnPanel--hide .TwoColumnPanel__Left {
|
|
4229
|
+
opacity: 0;
|
|
4230
|
+
}
|
|
4231
|
+
|
|
4232
|
+
.TwoColumnPanel--show .TwoColumnPanel__Left {
|
|
4233
|
+
opacity: 1;
|
|
4234
|
+
animation: TwoColumnPanel--fade-in ease-in-out
|
|
4235
|
+
var(--two-column-panel-animation-timing);
|
|
4236
|
+
}
|
|
4237
|
+
|
|
4238
|
+
@keyframes TwoColumnPanel--fade-in {
|
|
4239
|
+
from {
|
|
4240
|
+
opacity: 0;
|
|
4241
|
+
}
|
|
4242
|
+
to {
|
|
4243
|
+
opacity: 1;
|
|
4244
|
+
}
|
|
4245
|
+
}
|
|
4246
|
+
|
|
4247
|
+
@media (prefers-reduced-motion) {
|
|
4248
|
+
.TwoColumnPanel__Left {
|
|
4249
|
+
transition: none !important;
|
|
4250
|
+
animation: none !important;
|
|
4251
|
+
}
|
|
4252
|
+
}
|
|
4253
|
+
|
|
4254
|
+
@media (max-width: 45rem) {
|
|
4255
|
+
.TwoColumnPanel__Close {
|
|
4256
|
+
display: block;
|
|
4257
|
+
}
|
|
4258
|
+
|
|
4259
|
+
.TwoColumnPanel__Left {
|
|
4260
|
+
position: relative;
|
|
4261
|
+
z-index: 1;
|
|
4262
|
+
box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
|
|
4263
|
+
transition: transform cubic-bezier(0.5, 0.5, 0, 1)
|
|
4264
|
+
var(--two-column-panel-animation-timing);
|
|
4265
|
+
}
|
|
4266
|
+
|
|
4267
|
+
.TwoColumnPanel--hide .TwoColumnPanel__Left,
|
|
4268
|
+
.TwoColumnPanel--show .TwoColumnPanel__Left {
|
|
4269
|
+
margin-left: calc(var(--two-column-panel-left-column-width) * -1);
|
|
4270
|
+
animation: none;
|
|
4271
|
+
opacity: 1;
|
|
4272
|
+
}
|
|
4273
|
+
|
|
4274
|
+
.TwoColumnPanel__Right .TwoColumnPanel__Header {
|
|
4275
|
+
border-top: 1px solid var(--two-column-panel-border-color);
|
|
4276
|
+
flex-basis: 100%;
|
|
4277
|
+
font-size: var(--text-size-small);
|
|
4278
|
+
}
|
|
4279
|
+
|
|
4280
|
+
.TwoColumnPanel__ButtonToggle button {
|
|
4281
|
+
border-bottom: none;
|
|
4282
|
+
}
|
|
4283
|
+
|
|
4284
|
+
.TwoColumnPanel--show .TwoColumnPanel__Left {
|
|
4285
|
+
transform: translateX(100%);
|
|
4286
|
+
}
|
|
4287
|
+
|
|
4288
|
+
.TwoColumnPanel--hide .TwoColumnPanel__Left {
|
|
4289
|
+
transform: translateX(-10vw);
|
|
4290
|
+
}
|
|
4291
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deque/cauldron-styles",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.1.0-canary.1d6f49de",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "deque cauldron pattern library styles",
|
|
6
6
|
"repository": "https://github.com/dequelabs/cauldron",
|
|
@@ -22,4 +22,4 @@
|
|
|
22
22
|
"postcss-cli": "^7.1.1",
|
|
23
23
|
"postcss-import": "^12.0.1"
|
|
24
24
|
}
|
|
25
|
-
}
|
|
25
|
+
}
|