@deque/cauldron-styles 5.0.0-canary.de1da7f8 → 5.0.0-canary.e2ffe2bb

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 +38 -16
  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 {
@@ -3639,6 +3647,7 @@ button.TooltipTabstop {
3639
3647
  color: var(--data-list-value-text-color);
3640
3648
  background-color: var(--data-list-value-background-color);
3641
3649
  font-weight: var(--font-weight-normal);
3650
+ word-break: break-word;
3642
3651
  }
3643
3652
 
3644
3653
  .DescriptionList__term,
@@ -3954,6 +3963,18 @@ fieldset.Panel {
3954
3963
  transition: background-color 0.3s ease;
3955
3964
  }
3956
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
+
3957
3978
  .NavBar > ul > li:first-child:not(.NavBar__trigger) {
3958
3979
  border-left: 1px solid var(--top-nav-box-shadow-color);
3959
3980
  }
@@ -4182,12 +4203,12 @@ fieldset.Panel {
4182
4203
  }
4183
4204
 
4184
4205
  .Breadcrumb ol {
4185
- display: flex;
4206
+ display: block;
4207
+ word-break: break-all;
4186
4208
  align-items: center;
4187
4209
  list-style-type: none;
4188
4210
  padding: 0;
4189
4211
  margin: 0;
4190
- flex-wrap: wrap;
4191
4212
  }
4192
4213
 
4193
4214
  .Breadcrumb__Separator {
@@ -4198,13 +4219,13 @@ fieldset.Panel {
4198
4219
  .Breadcrumb__Link {
4199
4220
  font-weight: 400;
4200
4221
  padding: 0;
4222
+ display: inline;
4201
4223
  }
4202
4224
 
4203
4225
  .Breadcrumb__Item {
4204
4226
  font-weight: 500;
4205
4227
  color: var(--link-text-color);
4206
- display: flex;
4207
- flex-wrap: nowrap;
4228
+ display: inline;
4208
4229
  }
4209
4230
 
4210
4231
  :root {
@@ -4242,13 +4263,15 @@ fieldset.Panel {
4242
4263
  }
4243
4264
 
4244
4265
  .TwoColumnPanel__Header {
4245
- 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);
4246
4268
  border-bottom: 1px solid var(--two-column-panel-border-color);
4247
- height: var(--two-column-panel-header-height);
4248
- line-height: var(--two-column-panel-header-height);
4269
+ min-height: var(--two-column-panel-header-height);
4249
4270
  font-weight: 500;
4250
4271
  color: var(--two-column-panel-header-text-color);
4251
4272
  flex: 1;
4273
+ display: flex;
4274
+ align-items: center;
4252
4275
  }
4253
4276
 
4254
4277
  .TwoColumnPanel__Left {
@@ -4264,11 +4287,6 @@ fieldset.Panel {
4264
4287
  .TwoColumnPanel__Right {
4265
4288
  flex: 1;
4266
4289
  align-content: flex-start;
4267
- overflow-x: auto;
4268
- }
4269
-
4270
- .TwoColumnPanel__Right > *:not(.TwoColumnPanel__Header) {
4271
- overflow-x: auto;
4272
4290
  }
4273
4291
 
4274
4292
  .TwoColumnPanel__Left,
@@ -4390,12 +4408,16 @@ fieldset.Panel {
4390
4408
  margin-bottom: 0;
4391
4409
  }
4392
4410
 
4411
+ .TwoColumnPanel__ButtonToggle {
4412
+ display: flex;
4413
+ }
4414
+
4393
4415
  .TwoColumnPanel__ButtonToggle button,
4394
4416
  .TwoColumnPanel__Close button {
4395
4417
  background-color: transparent;
4396
4418
  border: none;
4397
4419
  border-bottom: 1px solid var(--two-column-panel-border-color);
4398
- height: var(--two-column-panel-header-height);
4420
+ min-height: var(--two-column-panel-header-height);
4399
4421
  width: var(--two-column-panel-header-height);
4400
4422
  }
4401
4423
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "5.0.0-canary.de1da7f8",
3
+ "version": "5.0.0-canary.e2ffe2bb",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",