@deque/cauldron-styles 5.0.0-canary.0645c1f3 → 5.0.0-canary.0769d0b5

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 +37 -11
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -2422,6 +2422,8 @@ p .Link {
2422
2422
  .Toast {
2423
2423
  top: var(--top-bar-height);
2424
2424
  position: fixed;
2425
+ right: 0;
2426
+ left: 0;
2425
2427
  color: #0b0e11;
2426
2428
  font-size: var(--text-size-small);
2427
2429
  z-index: var(--z-index-toast);
@@ -2429,8 +2431,11 @@ p .Link {
2429
2431
  box-sizing: border-box;
2430
2432
  display: flex;
2431
2433
  padding: 4px 15px;
2432
- right: 0;
2433
- left: 0;
2434
+ }
2435
+
2436
+ .Toast.Toast--non-dismissible {
2437
+ position: static;
2438
+ margin-bottom: var(--space-small);
2434
2439
  }
2435
2440
 
2436
2441
  .TopBar--thin .Toast {
@@ -3099,12 +3104,26 @@ button.TooltipTabstop {
3099
3104
 
3100
3105
  .Code.hljs {
3101
3106
  display: block;
3102
- overflow-x: auto;
3103
3107
  padding: 0.5em;
3104
3108
  background: var(--gray-20);
3105
3109
  color: var(--gray-90);
3106
3110
  border: 1px solid var(--gray-40);
3107
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;
3108
3127
  }
3109
3128
 
3110
3129
  .Code .hljs-comment {
@@ -3642,6 +3661,7 @@ button.TooltipTabstop {
3642
3661
  color: var(--data-list-value-text-color);
3643
3662
  background-color: var(--data-list-value-background-color);
3644
3663
  font-weight: var(--font-weight-normal);
3664
+ word-break: break-word;
3645
3665
  }
3646
3666
 
3647
3667
  .DescriptionList__term,
@@ -4197,12 +4217,12 @@ fieldset.Panel {
4197
4217
  }
4198
4218
 
4199
4219
  .Breadcrumb ol {
4200
- display: flex;
4220
+ display: block;
4221
+ word-break: break-all;
4201
4222
  align-items: center;
4202
4223
  list-style-type: none;
4203
4224
  padding: 0;
4204
4225
  margin: 0;
4205
- flex-wrap: wrap;
4206
4226
  }
4207
4227
 
4208
4228
  .Breadcrumb__Separator {
@@ -4213,13 +4233,13 @@ fieldset.Panel {
4213
4233
  .Breadcrumb__Link {
4214
4234
  font-weight: 400;
4215
4235
  padding: 0;
4236
+ display: inline;
4216
4237
  }
4217
4238
 
4218
4239
  .Breadcrumb__Item {
4219
4240
  font-weight: 500;
4220
4241
  color: var(--link-text-color);
4221
- display: flex;
4222
- flex-wrap: nowrap;
4242
+ display: inline;
4223
4243
  }
4224
4244
 
4225
4245
  :root {
@@ -4257,13 +4277,15 @@ fieldset.Panel {
4257
4277
  }
4258
4278
 
4259
4279
  .TwoColumnPanel__Header {
4260
- 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);
4261
4282
  border-bottom: 1px solid var(--two-column-panel-border-color);
4262
- height: var(--two-column-panel-header-height);
4263
- line-height: var(--two-column-panel-header-height);
4283
+ min-height: var(--two-column-panel-header-height);
4264
4284
  font-weight: 500;
4265
4285
  color: var(--two-column-panel-header-text-color);
4266
4286
  flex: 1;
4287
+ display: flex;
4288
+ align-items: center;
4267
4289
  }
4268
4290
 
4269
4291
  .TwoColumnPanel__Left {
@@ -4400,12 +4422,16 @@ fieldset.Panel {
4400
4422
  margin-bottom: 0;
4401
4423
  }
4402
4424
 
4425
+ .TwoColumnPanel__ButtonToggle {
4426
+ display: flex;
4427
+ }
4428
+
4403
4429
  .TwoColumnPanel__ButtonToggle button,
4404
4430
  .TwoColumnPanel__Close button {
4405
4431
  background-color: transparent;
4406
4432
  border: none;
4407
4433
  border-bottom: 1px solid var(--two-column-panel-border-color);
4408
- height: var(--two-column-panel-header-height);
4434
+ min-height: var(--two-column-panel-header-height);
4409
4435
  width: var(--two-column-panel-header-height);
4410
4436
  }
4411
4437
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "5.0.0-canary.0645c1f3",
3
+ "version": "5.0.0-canary.0769d0b5",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",