@deque/cauldron-styles 5.0.0-canary.4f3537bf → 5.0.0-canary.64f05f03

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 +48 -14
  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 {
@@ -2413,6 +2422,8 @@ p .Link {
2413
2422
  .Toast {
2414
2423
  top: var(--top-bar-height);
2415
2424
  position: fixed;
2425
+ right: 0;
2426
+ left: 0;
2416
2427
  color: #0b0e11;
2417
2428
  font-size: var(--text-size-small);
2418
2429
  z-index: var(--z-index-toast);
@@ -2420,8 +2431,11 @@ p .Link {
2420
2431
  box-sizing: border-box;
2421
2432
  display: flex;
2422
2433
  padding: 4px 15px;
2423
- right: 0;
2424
- left: 0;
2434
+ }
2435
+
2436
+ .Toast.Toast--non-dismissible {
2437
+ position: static;
2438
+ margin-bottom: var(--space-small);
2425
2439
  }
2426
2440
 
2427
2441
  .TopBar--thin .Toast {
@@ -2529,6 +2543,8 @@ p .Link {
2529
2543
  border-radius: 3px;
2530
2544
  z-index: var(--z-index-tooltip);
2531
2545
  text-align: center;
2546
+ max-width: calc(100vw - 16px);
2547
+ word-break: break-word;
2532
2548
  }
2533
2549
 
2534
2550
  .Tooltip--hidden {
@@ -3398,11 +3414,10 @@ button.TooltipTabstop {
3398
3414
  font-size: var(--text-size-smaller);
3399
3415
  border: 1px solid var(--tag-border-color);
3400
3416
  border-radius: 11px;
3401
- display: flex;
3417
+ display: inline-flex;
3402
3418
  justify-content: center;
3403
3419
  align-items: center;
3404
3420
  padding: 2px 8px;
3405
- width: 90px;
3406
3421
  font-weight: var(--font-weight-medium);
3407
3422
  }
3408
3423
 
@@ -3632,6 +3647,7 @@ button.TooltipTabstop {
3632
3647
  color: var(--data-list-value-text-color);
3633
3648
  background-color: var(--data-list-value-background-color);
3634
3649
  font-weight: var(--font-weight-normal);
3650
+ word-break: break-word;
3635
3651
  }
3636
3652
 
3637
3653
  .DescriptionList__term,
@@ -3947,6 +3963,18 @@ fieldset.Panel {
3947
3963
  transition: background-color 0.3s ease;
3948
3964
  }
3949
3965
 
3966
+ .NavBar > ul > .NavItem {
3967
+ font-weight: var(--font-weight-normal);
3968
+ }
3969
+
3970
+ .NavBar > ul > .NavItem--active {
3971
+ font-weight: var(--font-weight-medium);
3972
+ }
3973
+
3974
+ .NavBar > ul > .NavItem a {
3975
+ font-weight: inherit;
3976
+ }
3977
+
3950
3978
  .NavBar > ul > li:first-child:not(.NavBar__trigger) {
3951
3979
  border-left: 1px solid var(--top-nav-box-shadow-color);
3952
3980
  }
@@ -4175,12 +4203,12 @@ fieldset.Panel {
4175
4203
  }
4176
4204
 
4177
4205
  .Breadcrumb ol {
4178
- display: flex;
4206
+ display: block;
4207
+ word-break: break-all;
4179
4208
  align-items: center;
4180
4209
  list-style-type: none;
4181
4210
  padding: 0;
4182
4211
  margin: 0;
4183
- flex-wrap: wrap;
4184
4212
  }
4185
4213
 
4186
4214
  .Breadcrumb__Separator {
@@ -4191,13 +4219,13 @@ fieldset.Panel {
4191
4219
  .Breadcrumb__Link {
4192
4220
  font-weight: 400;
4193
4221
  padding: 0;
4222
+ display: inline;
4194
4223
  }
4195
4224
 
4196
4225
  .Breadcrumb__Item {
4197
4226
  font-weight: 500;
4198
4227
  color: var(--link-text-color);
4199
- display: flex;
4200
- flex-wrap: nowrap;
4228
+ display: inline;
4201
4229
  }
4202
4230
 
4203
4231
  :root {
@@ -4235,13 +4263,15 @@ fieldset.Panel {
4235
4263
  }
4236
4264
 
4237
4265
  .TwoColumnPanel__Header {
4238
- padding: 0 var(--space-small);
4266
+ /* 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 */
4267
+ padding: calc(var(--space-small) - 2px);
4239
4268
  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);
4269
+ min-height: var(--two-column-panel-header-height);
4242
4270
  font-weight: 500;
4243
4271
  color: var(--two-column-panel-header-text-color);
4244
4272
  flex: 1;
4273
+ display: flex;
4274
+ align-items: center;
4245
4275
  }
4246
4276
 
4247
4277
  .TwoColumnPanel__Left {
@@ -4378,12 +4408,16 @@ fieldset.Panel {
4378
4408
  margin-bottom: 0;
4379
4409
  }
4380
4410
 
4411
+ .TwoColumnPanel__ButtonToggle {
4412
+ display: flex;
4413
+ }
4414
+
4381
4415
  .TwoColumnPanel__ButtonToggle button,
4382
4416
  .TwoColumnPanel__Close button {
4383
4417
  background-color: transparent;
4384
4418
  border: none;
4385
4419
  border-bottom: 1px solid var(--two-column-panel-border-color);
4386
- height: var(--two-column-panel-header-height);
4420
+ min-height: var(--two-column-panel-header-height);
4387
4421
  width: var(--two-column-panel-header-height);
4388
4422
  }
4389
4423
 
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.64f05f03",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",