@deque/cauldron-styles 6.27.0-canary.7d2e326a → 6.27.0-canary.7fd2f1e5

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 +58 -16
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -265,7 +265,8 @@ button,
265
265
  line-height: normal;
266
266
  vertical-align: middle;
267
267
  text-align: center;
268
- user-select: none;
268
+ -moz-user-select: none;
269
+ user-select: none;
269
270
  -webkit-user-drag: none;
270
271
  box-sizing: border-box;
271
272
  border: 0;
@@ -601,6 +602,11 @@ textarea:focus:hover,
601
602
  inset 0 1px 2px rgba(0, 0, 0, 0.05);
602
603
  }
603
604
 
605
+ input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
606
+ color: var(--field-placeholder-color);
607
+ font-style: italic;
608
+ }
609
+
604
610
  input::placeholder,
605
611
  textarea::placeholder {
606
612
  color: var(--field-placeholder-color);
@@ -919,7 +925,9 @@ textarea.Field--has-error:focus:hover,
919
925
  opacity: 0;
920
926
  top: 8px;
921
927
  left: 8px;
922
- appearance: none;
928
+ -webkit-appearance: none;
929
+ -moz-appearance: none;
930
+ appearance: none;
923
931
  }
924
932
 
925
933
  .Checkbox input[type='checkbox']:indeterminate ~ .Checkbox__overlay.Icon {
@@ -988,7 +996,9 @@ textarea.Field--has-error:focus:hover,
988
996
  opacity: 0;
989
997
  top: 8px;
990
998
  left: 8px;
991
- appearance: none;
999
+ -webkit-appearance: none;
1000
+ -moz-appearance: none;
1001
+ appearance: none;
992
1002
  }
993
1003
 
994
1004
  .Field__label:hover ~ .Checkbox__overlay:not(.Checkbox__overlay--disabled),
@@ -1242,6 +1252,7 @@ textarea.Field--has-error:focus:hover,
1242
1252
  justify-items: center;
1243
1253
  justify-content: center;
1244
1254
  gap: var(--space-smallest);
1255
+ min-width: -moz-max-content;
1245
1256
  min-width: max-content;
1246
1257
  }
1247
1258
 
@@ -1465,11 +1476,13 @@ button.Link {
1465
1476
  font-size: inherit;
1466
1477
  vertical-align: baseline;
1467
1478
  cursor: auto;
1468
- user-select: text;
1479
+ -moz-user-select: text;
1480
+ user-select: text;
1469
1481
  }
1470
1482
 
1471
1483
  .Button--thin {
1472
1484
  min-height: var(--button-thin-height);
1485
+ min-width: -moz-max-content;
1473
1486
  min-width: max-content;
1474
1487
  font-size: var(--button-thin-text-size);
1475
1488
  padding: 0 var(--space-small);
@@ -2214,6 +2227,7 @@ a.IconButton {
2214
2227
  }
2215
2228
 
2216
2229
  .Link:where(:has(.Icon)) {
2230
+ width: -moz-fit-content;
2217
2231
  width: fit-content;
2218
2232
  display: inline-flex;
2219
2233
  align-items: center;
@@ -2423,9 +2437,12 @@ a.IconButton {
2423
2437
  font-style: normal;
2424
2438
  font-size: var(--text-size-small);
2425
2439
  color: var(--field-content-color);
2426
- text-decoration: rgb(102, 102, 102);
2440
+ -webkit-text-decoration: rgb(102, 102, 102);
2441
+ text-decoration: rgb(102, 102, 102);
2427
2442
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
2428
- appearance: none;
2443
+ -webkit-appearance: none;
2444
+ -moz-appearance: none;
2445
+ appearance: none;
2429
2446
  }
2430
2447
 
2431
2448
  .Field__select--wrapper select:not([disabled]):hover {
@@ -2444,8 +2461,6 @@ a.IconButton {
2444
2461
  border-color: var(--field-border-color-focus-hover);
2445
2462
  }
2446
2463
 
2447
- /* autoprefixer: off */
2448
-
2449
2464
  .Field__select--wrapper select:user-invalid,
2450
2465
  .Field--has-error select {
2451
2466
  border-width: 1px;
@@ -2472,8 +2487,6 @@ a.IconButton {
2472
2487
  border-color: var(--field-border-color-error-hover);
2473
2488
  }
2474
2489
 
2475
- /* autoprefixer: on */
2476
-
2477
2490
  :root {
2478
2491
  --menu-width: 257px;
2479
2492
  }
@@ -2605,7 +2618,9 @@ a.IconButton {
2605
2618
  .RadioCard input[type='radio'] {
2606
2619
  position: absolute;
2607
2620
  opacity: 0;
2608
- appearance: none;
2621
+ -webkit-appearance: none;
2622
+ -moz-appearance: none;
2623
+ appearance: none;
2609
2624
  height: 1px;
2610
2625
  width: 1px;
2611
2626
  }
@@ -2716,15 +2731,33 @@ a.IconButton {
2716
2731
  box-sizing: border-box;
2717
2732
  display: flex;
2718
2733
  padding: var(--space-smallest) var(--space-small);
2734
+ max-height: calc(100vh - var(--top-bar-height));
2719
2735
  }
2720
2736
 
2721
2737
  .Toast.Toast--non-dismissible {
2722
2738
  position: static;
2723
2739
  margin-bottom: var(--space-small);
2740
+ max-height: none;
2724
2741
  }
2725
2742
 
2726
2743
  .TopBar--thin .Toast {
2727
2744
  top: var(--top-bar-height-thin);
2745
+ max-height: calc(100vh - var(--top-bar-height-thin));
2746
+ }
2747
+
2748
+ .TopBar--thin .Toast.Toast--non-dismissible {
2749
+ max-height: none;
2750
+ }
2751
+
2752
+ .TopBar--thin .Toast .Toast__message-content {
2753
+ max-height: calc(
2754
+ 100vh - var(--top-bar-height-thin) - 2 * var(--space-smallest)
2755
+ );
2756
+ }
2757
+
2758
+ .Toast.Toast--non-dismissible .Toast__message-content {
2759
+ max-height: none;
2760
+ overflow-y: visible;
2728
2761
  }
2729
2762
 
2730
2763
  .Toast.Toast--success {
@@ -2749,6 +2782,7 @@ a.IconButton {
2749
2782
  border: 0;
2750
2783
  height: calc(var(--text-size-small) + 9px);
2751
2784
  color: currentColor;
2785
+ flex-shrink: 0;
2752
2786
  }
2753
2787
 
2754
2788
  .Toast__dismiss:focus {
@@ -2765,10 +2799,13 @@ a.IconButton {
2765
2799
  .Toast__message .Toast__message-content {
2766
2800
  border-top: 4px solid transparent;
2767
2801
  border-bottom: 4px solid transparent;
2802
+ overflow-y: auto;
2803
+ max-height: calc(100vh - var(--top-bar-height) - 2 * var(--space-smallest));
2768
2804
  }
2769
2805
 
2770
2806
  .Toast__message .Icon {
2771
2807
  margin-right: var(--space-smallest);
2808
+ flex-shrink: 0;
2772
2809
  }
2773
2810
 
2774
2811
  .Toast__message .fa {
@@ -3000,7 +3037,8 @@ button.TooltipTabstop {
3000
3037
  background-color: var(--top-bar-background-color);
3001
3038
  color: var(--top-bar-text-color);
3002
3039
  border-bottom: var(--top-bar-border-bottom);
3003
- padding-inline-start: var(--top-bar-padding-inline-start);
3040
+ -webkit-padding-start: var(--top-bar-padding-inline-start);
3041
+ padding-inline-start: var(--top-bar-padding-inline-start);
3004
3042
  }
3005
3043
 
3006
3044
  .TopBar--thin .TopBar {
@@ -3189,7 +3227,8 @@ button.TooltipTabstop {
3189
3227
  border-radius: 2px;
3190
3228
  }
3191
3229
 
3192
- .SkipLink span {
3230
+ .SkipLink .SkipLink__item--first,
3231
+ .SkipLink .SkipLink__item--second {
3193
3232
  display: block;
3194
3233
  }
3195
3234
 
@@ -5225,7 +5264,8 @@ button.Accordion__trigger {
5225
5264
  font-size: var(--text-size-small);
5226
5265
  margin-top: var(--space-small);
5227
5266
  color: var(--accordion-trigger-text-color);
5228
- text-decoration: var(--accordion-trigger-text-decoration);
5267
+ -webkit-text-decoration: var(--accordion-trigger-text-decoration);
5268
+ text-decoration: var(--accordion-trigger-text-decoration);
5229
5269
  }
5230
5270
 
5231
5271
  .Accordion__trigger[aria-expanded='true'] {
@@ -5238,7 +5278,8 @@ button.Accordion__trigger {
5238
5278
  box-shadow: inset 8px 0 0 -4px var(--accordion-trigger-box-shadow-hover);
5239
5279
  color: var(--accordion-trigger-text-color-hover);
5240
5280
  transition: all 0.2s ease-in-out;
5241
- text-decoration: underline solid var(--accordion-trigger-text-color-hover);
5281
+ -webkit-text-decoration: underline solid var(--accordion-trigger-text-color-hover);
5282
+ text-decoration: underline solid var(--accordion-trigger-text-color-hover);
5242
5283
  }
5243
5284
 
5244
5285
  .Accordion__trigger:hover .Icon {
@@ -5858,7 +5899,8 @@ button.Accordion__trigger {
5858
5899
 
5859
5900
  .TextEllipsis:where([role='button']) {
5860
5901
  text-align: inherit;
5861
- user-select: inherit;
5902
+ -moz-user-select: inherit;
5903
+ user-select: inherit;
5862
5904
  }
5863
5905
 
5864
5906
  .TextEllipsis--multiline {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "6.27.0-canary.7d2e326a",
3
+ "version": "6.27.0-canary.7fd2f1e5",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",