@deque/cauldron-styles 5.0.0-canary.4f3537bf → 5.0.0-canary.655da6e0

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 +36 -8
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -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;
@@ -160,7 +163,7 @@ html {
160
163
  }
161
164
 
162
165
  body {
163
- font-family: 'Roboto', Helvetica, Arial, sans-serif;
166
+ font-family: var(--base-font-family);
164
167
  font-style: normal;
165
168
  font-weight: 400;
166
169
  color: var(--text-color-base);
@@ -196,6 +199,11 @@ ul {
196
199
  padding: 0;
197
200
  }
198
201
 
202
+ button {
203
+ font-family: var(--base-font-family);
204
+ font-weight: 500;
205
+ }
206
+
199
207
  button,
200
208
  [role='button'] {
201
209
  display: inline-block;
@@ -2034,7 +2042,8 @@ p .Link {
2034
2042
 
2035
2043
  .Field__select--wrapper {
2036
2044
  position: relative;
2037
- min-width: var(--select-width);
2045
+ width: var(--select-width);
2046
+ max-width: 100%;
2038
2047
  }
2039
2048
 
2040
2049
  .arrow-down {
@@ -2529,6 +2538,8 @@ p .Link {
2529
2538
  border-radius: 3px;
2530
2539
  z-index: var(--z-index-tooltip);
2531
2540
  text-align: center;
2541
+ max-width: calc(100vw - 16px);
2542
+ word-break: break-word;
2532
2543
  }
2533
2544
 
2534
2545
  .Tooltip--hidden {
@@ -3398,11 +3409,10 @@ button.TooltipTabstop {
3398
3409
  font-size: var(--text-size-smaller);
3399
3410
  border: 1px solid var(--tag-border-color);
3400
3411
  border-radius: 11px;
3401
- display: flex;
3412
+ display: inline-flex;
3402
3413
  justify-content: center;
3403
3414
  align-items: center;
3404
3415
  padding: 2px 8px;
3405
- width: 90px;
3406
3416
  font-weight: var(--font-weight-medium);
3407
3417
  }
3408
3418
 
@@ -3947,6 +3957,18 @@ fieldset.Panel {
3947
3957
  transition: background-color 0.3s ease;
3948
3958
  }
3949
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
+
3950
3972
  .NavBar > ul > li:first-child:not(.NavBar__trigger) {
3951
3973
  border-left: 1px solid var(--top-nav-box-shadow-color);
3952
3974
  }
@@ -4235,13 +4257,15 @@ fieldset.Panel {
4235
4257
  }
4236
4258
 
4237
4259
  .TwoColumnPanel__Header {
4238
- 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);
4239
4262
  border-bottom: 1px solid var(--two-column-panel-border-color);
4240
- height: var(--two-column-panel-header-height);
4241
- line-height: var(--two-column-panel-header-height);
4263
+ min-height: var(--two-column-panel-header-height);
4242
4264
  font-weight: 500;
4243
4265
  color: var(--two-column-panel-header-text-color);
4244
4266
  flex: 1;
4267
+ display: flex;
4268
+ align-items: center;
4245
4269
  }
4246
4270
 
4247
4271
  .TwoColumnPanel__Left {
@@ -4378,12 +4402,16 @@ fieldset.Panel {
4378
4402
  margin-bottom: 0;
4379
4403
  }
4380
4404
 
4405
+ .TwoColumnPanel__ButtonToggle {
4406
+ display: flex;
4407
+ }
4408
+
4381
4409
  .TwoColumnPanel__ButtonToggle button,
4382
4410
  .TwoColumnPanel__Close button {
4383
4411
  background-color: transparent;
4384
4412
  border: none;
4385
4413
  border-bottom: 1px solid var(--two-column-panel-border-color);
4386
- height: var(--two-column-panel-header-height);
4414
+ min-height: var(--two-column-panel-header-height);
4387
4415
  width: var(--two-column-panel-header-height);
4388
4416
  }
4389
4417
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "5.0.0-canary.4f3537bf",
3
+ "version": "5.0.0-canary.655da6e0",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",