@deque/cauldron-styles 5.0.0-canary.c1a938fb → 5.0.0-canary.ca042373

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 +52 -18
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -37,7 +37,7 @@
37
37
  --accent-primary-active: #316091;
38
38
  --accent-secondary: var(--gray-20);
39
39
  --accent-secondary-active: var(--gray-30);
40
- --focus-light: #c11bde;
40
+ --focus-light: #b51ad1;
41
41
  --focus-dark: #eb94ff;
42
42
  --issue-critical: var(--accent-danger);
43
43
  --issue-serious: var(--accent-warning);
@@ -94,6 +94,9 @@
94
94
  --text-size-smaller: 13px;
95
95
  --text-size-smallest: 12px;
96
96
 
97
+ /* fonts */
98
+ --base-font-family: 'Roboto', Helvetica, Arial, sans-serif;
99
+
97
100
  /* font weight */
98
101
  --font-weight-thin: 100;
99
102
  --font-weight-light: 300;
@@ -102,6 +105,9 @@
102
105
  --font-weight-bold: 700;
103
106
  --font-weight-ultra-bold: 900;
104
107
 
108
+ /* icon sizes */
109
+ --icon-size: 24px;
110
+
105
111
  /* dimensions */
106
112
  --border-width: 6px;
107
113
  --layout-padding: 9px;
@@ -157,7 +163,7 @@ html {
157
163
  }
158
164
 
159
165
  body {
160
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
166
+ font-family: var(--base-font-family);
161
167
  font-style: normal;
162
168
  font-weight: 400;
163
169
  color: var(--text-color-base);
@@ -193,6 +199,11 @@ ul {
193
199
  padding: 0;
194
200
  }
195
201
 
202
+ button {
203
+ font-family: var(--base-font-family);
204
+ font-weight: 500;
205
+ }
206
+
196
207
  button,
197
208
  [role='button'] {
198
209
  display: inline-block;
@@ -942,8 +953,8 @@ a.IconButton {
942
953
  }
943
954
 
944
955
  .Dialog__close svg {
945
- height: 24px;
946
- width: 24px;
956
+ height: var(--icon-size);
957
+ width: var(--icon-size);
947
958
  }
948
959
 
949
960
  .Dialog__content {
@@ -1205,8 +1216,8 @@ a.IconButton {
1205
1216
  .Pointout__dismiss .Icon svg,
1206
1217
  .Pointout__next .Icon svg,
1207
1218
  .Pointout__previous .Icon svg {
1208
- height: 24px;
1209
- width: 24px;
1219
+ height: var(--icon-size);
1220
+ width: var(--icon-size);
1210
1221
  }
1211
1222
 
1212
1223
  .Pointout__dismiss:hover {
@@ -1829,7 +1840,7 @@ textarea.Field--has-error:focus:hover,
1829
1840
 
1830
1841
  :root {
1831
1842
  --link-text-color: var(--gray-90);
1832
- --link-text-color-hover: var(--accent-primary);
1843
+ --link-text-color-hover: #3873a3;
1833
1844
  --link-text-color-light: rgba(60, 122, 174, 0.1);
1834
1845
  }
1835
1846
 
@@ -1862,7 +1873,7 @@ p .Link {
1862
1873
  margin: 0 2px;
1863
1874
  display: inline;
1864
1875
  text-decoration: underline;
1865
- color: var(--gray-90);
1876
+ color: var(--link-text-color);
1866
1877
  font-weight: var(--font-weight-normal);
1867
1878
  }
1868
1879
 
@@ -2031,7 +2042,8 @@ p .Link {
2031
2042
 
2032
2043
  .Field__select--wrapper {
2033
2044
  position: relative;
2034
- min-width: var(--select-width);
2045
+ width: var(--select-width);
2046
+ max-width: 100%;
2035
2047
  }
2036
2048
 
2037
2049
  .arrow-down {
@@ -2526,6 +2538,8 @@ p .Link {
2526
2538
  border-radius: 3px;
2527
2539
  z-index: var(--z-index-tooltip);
2528
2540
  text-align: center;
2541
+ max-width: calc(100vw - 16px);
2542
+ word-break: break-word;
2529
2543
  }
2530
2544
 
2531
2545
  .Tooltip--hidden {
@@ -3395,11 +3409,10 @@ button.TooltipTabstop {
3395
3409
  font-size: var(--text-size-smaller);
3396
3410
  border: 1px solid var(--tag-border-color);
3397
3411
  border-radius: 11px;
3398
- display: flex;
3412
+ display: inline-flex;
3399
3413
  justify-content: center;
3400
3414
  align-items: center;
3401
3415
  padding: 2px 8px;
3402
- width: 90px;
3403
3416
  font-weight: var(--font-weight-medium);
3404
3417
  }
3405
3418
 
@@ -3477,7 +3490,6 @@ button.TooltipTabstop {
3477
3490
  outline-offset: unset;
3478
3491
  }
3479
3492
 
3480
- .TableHeader,
3481
3493
  .TableHeader--sort-ascending,
3482
3494
  .TableHeader--sort-descending {
3483
3495
  background: var(--table-header-sorting-background-color);
@@ -3788,10 +3800,11 @@ button.TooltipTabstop {
3788
3800
  --panel-border-color: var(--gray-40);
3789
3801
  --panel-background-color: var(--white);
3790
3802
  --panel-heading-color: var(--gray-90);
3803
+ --panel-padding: var(--space-small);
3791
3804
  }
3792
3805
 
3793
3806
  .Panel {
3794
- padding: var(--space-small);
3807
+ padding: var(--panel-padding);
3795
3808
  border: 1px solid var(--panel-border-color);
3796
3809
  border-radius: 3px;
3797
3810
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15);
@@ -3820,7 +3833,7 @@ fieldset.Panel {
3820
3833
  }
3821
3834
 
3822
3835
  .Panel--collapsed {
3823
- padding: 12px;
3836
+ --panel-padding: 12px;
3824
3837
  }
3825
3838
 
3826
3839
  .Panel--collapsed .Panel__Heading {
@@ -3944,6 +3957,18 @@ fieldset.Panel {
3944
3957
  transition: background-color 0.3s ease;
3945
3958
  }
3946
3959
 
3960
+ .NavBar > ul > .NavItem {
3961
+ font-weight: var(--font-weight-normal);
3962
+ }
3963
+
3964
+ .NavBar > ul > .NavItem--active {
3965
+ font-weight: var(--font-weight-medium);
3966
+ }
3967
+
3968
+ .NavBar > ul > .NavItem a {
3969
+ font-weight: inherit;
3970
+ }
3971
+
3947
3972
  .NavBar > ul > li:first-child:not(.NavBar__trigger) {
3948
3973
  border-left: 1px solid var(--top-nav-box-shadow-color);
3949
3974
  }
@@ -4177,6 +4202,7 @@ fieldset.Panel {
4177
4202
  list-style-type: none;
4178
4203
  padding: 0;
4179
4204
  margin: 0;
4205
+ flex-wrap: wrap;
4180
4206
  }
4181
4207
 
4182
4208
  .Breadcrumb__Separator {
@@ -4192,6 +4218,8 @@ fieldset.Panel {
4192
4218
  .Breadcrumb__Item {
4193
4219
  font-weight: 500;
4194
4220
  color: var(--link-text-color);
4221
+ display: flex;
4222
+ flex-wrap: nowrap;
4195
4223
  }
4196
4224
 
4197
4225
  :root {
@@ -4229,13 +4257,15 @@ fieldset.Panel {
4229
4257
  }
4230
4258
 
4231
4259
  .TwoColumnPanel__Header {
4232
- padding: 0 var(--space-small);
4260
+ /* The -2px is to account for the borders that are outside of the element and will make it line up with the left panel when there's only one line of text */
4261
+ padding: calc(var(--space-small) - 2px);
4233
4262
  border-bottom: 1px solid var(--two-column-panel-border-color);
4234
- height: var(--two-column-panel-header-height);
4235
- line-height: var(--two-column-panel-header-height);
4263
+ min-height: var(--two-column-panel-header-height);
4236
4264
  font-weight: 500;
4237
4265
  color: var(--two-column-panel-header-text-color);
4238
4266
  flex: 1;
4267
+ display: flex;
4268
+ align-items: center;
4239
4269
  }
4240
4270
 
4241
4271
  .TwoColumnPanel__Left {
@@ -4372,12 +4402,16 @@ fieldset.Panel {
4372
4402
  margin-bottom: 0;
4373
4403
  }
4374
4404
 
4405
+ .TwoColumnPanel__ButtonToggle {
4406
+ display: flex;
4407
+ }
4408
+
4375
4409
  .TwoColumnPanel__ButtonToggle button,
4376
4410
  .TwoColumnPanel__Close button {
4377
4411
  background-color: transparent;
4378
4412
  border: none;
4379
4413
  border-bottom: 1px solid var(--two-column-panel-border-color);
4380
- height: var(--two-column-panel-header-height);
4414
+ min-height: var(--two-column-panel-header-height);
4381
4415
  width: var(--two-column-panel-header-height);
4382
4416
  }
4383
4417
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "5.0.0-canary.c1a938fb",
3
+ "version": "5.0.0-canary.ca042373",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",