@deque/cauldron-styles 5.0.0-canary.48d33924 → 5.0.0-canary.4c176db1

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 +41 -17
  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 {
@@ -3639,6 +3661,7 @@ button.TooltipTabstop {
3639
3661
  color: var(--data-list-value-text-color);
3640
3662
  background-color: var(--data-list-value-background-color);
3641
3663
  font-weight: var(--font-weight-normal);
3664
+ word-break: break-word;
3642
3665
  }
3643
3666
 
3644
3667
  .DescriptionList__term,
@@ -4194,12 +4217,12 @@ fieldset.Panel {
4194
4217
  }
4195
4218
 
4196
4219
  .Breadcrumb ol {
4197
- display: flex;
4220
+ display: block;
4221
+ word-break: break-all;
4198
4222
  align-items: center;
4199
4223
  list-style-type: none;
4200
4224
  padding: 0;
4201
4225
  margin: 0;
4202
- flex-wrap: wrap;
4203
4226
  }
4204
4227
 
4205
4228
  .Breadcrumb__Separator {
@@ -4210,13 +4233,13 @@ fieldset.Panel {
4210
4233
  .Breadcrumb__Link {
4211
4234
  font-weight: 400;
4212
4235
  padding: 0;
4236
+ display: inline;
4213
4237
  }
4214
4238
 
4215
4239
  .Breadcrumb__Item {
4216
4240
  font-weight: 500;
4217
4241
  color: var(--link-text-color);
4218
- display: flex;
4219
- flex-wrap: nowrap;
4242
+ display: inline;
4220
4243
  }
4221
4244
 
4222
4245
  :root {
@@ -4254,13 +4277,15 @@ fieldset.Panel {
4254
4277
  }
4255
4278
 
4256
4279
  .TwoColumnPanel__Header {
4257
- 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);
4258
4282
  border-bottom: 1px solid var(--two-column-panel-border-color);
4259
- height: var(--two-column-panel-header-height);
4260
- line-height: var(--two-column-panel-header-height);
4283
+ min-height: var(--two-column-panel-header-height);
4261
4284
  font-weight: 500;
4262
4285
  color: var(--two-column-panel-header-text-color);
4263
4286
  flex: 1;
4287
+ display: flex;
4288
+ align-items: center;
4264
4289
  }
4265
4290
 
4266
4291
  .TwoColumnPanel__Left {
@@ -4276,11 +4301,6 @@ fieldset.Panel {
4276
4301
  .TwoColumnPanel__Right {
4277
4302
  flex: 1;
4278
4303
  align-content: flex-start;
4279
- overflow-x: auto;
4280
- }
4281
-
4282
- .TwoColumnPanel__Right > *:not(.TwoColumnPanel__Header) {
4283
- overflow-x: auto;
4284
4304
  }
4285
4305
 
4286
4306
  .TwoColumnPanel__Left,
@@ -4402,12 +4422,16 @@ fieldset.Panel {
4402
4422
  margin-bottom: 0;
4403
4423
  }
4404
4424
 
4425
+ .TwoColumnPanel__ButtonToggle {
4426
+ display: flex;
4427
+ }
4428
+
4405
4429
  .TwoColumnPanel__ButtonToggle button,
4406
4430
  .TwoColumnPanel__Close button {
4407
4431
  background-color: transparent;
4408
4432
  border: none;
4409
4433
  border-bottom: 1px solid var(--two-column-panel-border-color);
4410
- height: var(--two-column-panel-header-height);
4434
+ min-height: var(--two-column-panel-header-height);
4411
4435
  width: var(--two-column-panel-header-height);
4412
4436
  }
4413
4437
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "5.0.0-canary.48d33924",
3
+ "version": "5.0.0-canary.4c176db1",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",