@deque/cauldron-styles 5.0.0-canary.97d52033 → 5.0.0-canary.9b2de96a

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 +54 -14
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -2042,7 +2042,8 @@ p .Link {
2042
2042
 
2043
2043
  .Field__select--wrapper {
2044
2044
  position: relative;
2045
- min-width: var(--select-width);
2045
+ width: var(--select-width);
2046
+ max-width: 100%;
2046
2047
  }
2047
2048
 
2048
2049
  .arrow-down {
@@ -2421,6 +2422,8 @@ p .Link {
2421
2422
  .Toast {
2422
2423
  top: var(--top-bar-height);
2423
2424
  position: fixed;
2425
+ right: 0;
2426
+ left: 0;
2424
2427
  color: #0b0e11;
2425
2428
  font-size: var(--text-size-small);
2426
2429
  z-index: var(--z-index-toast);
@@ -2428,8 +2431,11 @@ p .Link {
2428
2431
  box-sizing: border-box;
2429
2432
  display: flex;
2430
2433
  padding: 4px 15px;
2431
- right: 0;
2432
- left: 0;
2434
+ }
2435
+
2436
+ .Toast.Toast--non-dismissible {
2437
+ position: static;
2438
+ margin-bottom: var(--space-small);
2433
2439
  }
2434
2440
 
2435
2441
  .TopBar--thin .Toast {
@@ -2537,6 +2543,8 @@ p .Link {
2537
2543
  border-radius: 3px;
2538
2544
  z-index: var(--z-index-tooltip);
2539
2545
  text-align: center;
2546
+ max-width: calc(100vw - 16px);
2547
+ word-break: break-word;
2540
2548
  }
2541
2549
 
2542
2550
  .Tooltip--hidden {
@@ -3096,12 +3104,26 @@ button.TooltipTabstop {
3096
3104
 
3097
3105
  .Code.hljs {
3098
3106
  display: block;
3099
- overflow-x: auto;
3100
3107
  padding: 0.5em;
3101
3108
  background: var(--gray-20);
3102
3109
  color: var(--gray-90);
3103
3110
  border: 1px solid var(--gray-40);
3104
3111
  color: var(--accent-primary-active);
3112
+ word-break: anywhere;
3113
+ }
3114
+
3115
+ .Code--scrollable {
3116
+ overflow-x: auto;
3117
+ }
3118
+
3119
+ .Code code {
3120
+ /* important needed to override inline styles */
3121
+ white-space: break-spaces !important;
3122
+ }
3123
+
3124
+ .Code--scrollable code {
3125
+ /* important needed to override inline styles */
3126
+ white-space: pre !important;
3105
3127
  }
3106
3128
 
3107
3129
  .Code .hljs-comment {
@@ -3406,11 +3428,10 @@ button.TooltipTabstop {
3406
3428
  font-size: var(--text-size-smaller);
3407
3429
  border: 1px solid var(--tag-border-color);
3408
3430
  border-radius: 11px;
3409
- display: flex;
3431
+ display: inline-flex;
3410
3432
  justify-content: center;
3411
3433
  align-items: center;
3412
3434
  padding: 2px 8px;
3413
- width: 90px;
3414
3435
  font-weight: var(--font-weight-medium);
3415
3436
  }
3416
3437
 
@@ -3640,6 +3661,7 @@ button.TooltipTabstop {
3640
3661
  color: var(--data-list-value-text-color);
3641
3662
  background-color: var(--data-list-value-background-color);
3642
3663
  font-weight: var(--font-weight-normal);
3664
+ word-break: break-word;
3643
3665
  }
3644
3666
 
3645
3667
  .DescriptionList__term,
@@ -3955,6 +3977,18 @@ fieldset.Panel {
3955
3977
  transition: background-color 0.3s ease;
3956
3978
  }
3957
3979
 
3980
+ .NavBar > ul > .NavItem {
3981
+ font-weight: var(--font-weight-normal);
3982
+ }
3983
+
3984
+ .NavBar > ul > .NavItem--active {
3985
+ font-weight: var(--font-weight-medium);
3986
+ }
3987
+
3988
+ .NavBar > ul > .NavItem a {
3989
+ font-weight: inherit;
3990
+ }
3991
+
3958
3992
  .NavBar > ul > li:first-child:not(.NavBar__trigger) {
3959
3993
  border-left: 1px solid var(--top-nav-box-shadow-color);
3960
3994
  }
@@ -4183,12 +4217,12 @@ fieldset.Panel {
4183
4217
  }
4184
4218
 
4185
4219
  .Breadcrumb ol {
4186
- display: flex;
4220
+ display: block;
4221
+ word-break: break-all;
4187
4222
  align-items: center;
4188
4223
  list-style-type: none;
4189
4224
  padding: 0;
4190
4225
  margin: 0;
4191
- flex-wrap: wrap;
4192
4226
  }
4193
4227
 
4194
4228
  .Breadcrumb__Separator {
@@ -4199,13 +4233,13 @@ fieldset.Panel {
4199
4233
  .Breadcrumb__Link {
4200
4234
  font-weight: 400;
4201
4235
  padding: 0;
4236
+ display: inline;
4202
4237
  }
4203
4238
 
4204
4239
  .Breadcrumb__Item {
4205
4240
  font-weight: 500;
4206
4241
  color: var(--link-text-color);
4207
- display: flex;
4208
- flex-wrap: nowrap;
4242
+ display: inline;
4209
4243
  }
4210
4244
 
4211
4245
  :root {
@@ -4243,13 +4277,15 @@ fieldset.Panel {
4243
4277
  }
4244
4278
 
4245
4279
  .TwoColumnPanel__Header {
4246
- padding: 0 var(--space-small);
4280
+ /* 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 */
4281
+ padding: calc(var(--space-small) - 2px);
4247
4282
  border-bottom: 1px solid var(--two-column-panel-border-color);
4248
- height: var(--two-column-panel-header-height);
4249
- line-height: var(--two-column-panel-header-height);
4283
+ min-height: var(--two-column-panel-header-height);
4250
4284
  font-weight: 500;
4251
4285
  color: var(--two-column-panel-header-text-color);
4252
4286
  flex: 1;
4287
+ display: flex;
4288
+ align-items: center;
4253
4289
  }
4254
4290
 
4255
4291
  .TwoColumnPanel__Left {
@@ -4386,12 +4422,16 @@ fieldset.Panel {
4386
4422
  margin-bottom: 0;
4387
4423
  }
4388
4424
 
4425
+ .TwoColumnPanel__ButtonToggle {
4426
+ display: flex;
4427
+ }
4428
+
4389
4429
  .TwoColumnPanel__ButtonToggle button,
4390
4430
  .TwoColumnPanel__Close button {
4391
4431
  background-color: transparent;
4392
4432
  border: none;
4393
4433
  border-bottom: 1px solid var(--two-column-panel-border-color);
4394
- height: var(--two-column-panel-header-height);
4434
+ min-height: var(--two-column-panel-header-height);
4395
4435
  width: var(--two-column-panel-header-height);
4396
4436
  }
4397
4437
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "5.0.0-canary.97d52033",
3
+ "version": "5.0.0-canary.9b2de96a",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",