@deque/cauldron-styles 6.27.0-canary.f0603405 → 7.0.0

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 +62 -19
  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);
@@ -1942,7 +1955,7 @@ a.IconButton {
1942
1955
  --dialog-footer-border: 1px solid var(--dialog-border-color);
1943
1956
  --dialog-header-height: 2.625rem;
1944
1957
  --dialog-close-button-size: var(--target-size-minimum);
1945
- --dialog-vertical-offset: 6.25rem;
1958
+ --dialog-vertical-offset: 4rem;
1946
1959
  --dialog-bottom-spacing: 1.875rem;
1947
1960
  --dialog-content-line-height: inherit;
1948
1961
  }
@@ -1962,6 +1975,7 @@ a.IconButton {
1962
1975
  overflow-x: auto;
1963
1976
  position: fixed;
1964
1977
  top: 0;
1978
+ z-index: var(--z-index-dialog-scrim);
1965
1979
  background-color: var(--scrim-background-color);
1966
1980
  }
1967
1981
 
@@ -2099,13 +2113,13 @@ a.IconButton {
2099
2113
  }
2100
2114
 
2101
2115
  @media (min-width: 20rem) {
2102
- .Dialog__inner {
2116
+ .Modal--scrollable .Dialog__inner {
2103
2117
  max-height: calc(
2104
2118
  100vh - var(--dialog-vertical-offset) - var(--dialog-bottom-spacing)
2105
2119
  );
2106
2120
  }
2107
2121
 
2108
- .Dialog__content {
2122
+ .Modal--scrollable .Dialog__content {
2109
2123
  overflow-y: auto;
2110
2124
  }
2111
2125
  }
@@ -2214,6 +2228,7 @@ a.IconButton {
2214
2228
  }
2215
2229
 
2216
2230
  .Link:where(:has(.Icon)) {
2231
+ width: -moz-fit-content;
2217
2232
  width: fit-content;
2218
2233
  display: inline-flex;
2219
2234
  align-items: center;
@@ -2423,9 +2438,12 @@ a.IconButton {
2423
2438
  font-style: normal;
2424
2439
  font-size: var(--text-size-small);
2425
2440
  color: var(--field-content-color);
2426
- text-decoration: rgb(102, 102, 102);
2441
+ -webkit-text-decoration: rgb(102, 102, 102);
2442
+ text-decoration: rgb(102, 102, 102);
2427
2443
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
2428
- appearance: none;
2444
+ -webkit-appearance: none;
2445
+ -moz-appearance: none;
2446
+ appearance: none;
2429
2447
  }
2430
2448
 
2431
2449
  .Field__select--wrapper select:not([disabled]):hover {
@@ -2444,8 +2462,6 @@ a.IconButton {
2444
2462
  border-color: var(--field-border-color-focus-hover);
2445
2463
  }
2446
2464
 
2447
- /* autoprefixer: off */
2448
-
2449
2465
  .Field__select--wrapper select:user-invalid,
2450
2466
  .Field--has-error select {
2451
2467
  border-width: 1px;
@@ -2472,8 +2488,6 @@ a.IconButton {
2472
2488
  border-color: var(--field-border-color-error-hover);
2473
2489
  }
2474
2490
 
2475
- /* autoprefixer: on */
2476
-
2477
2491
  :root {
2478
2492
  --menu-width: 257px;
2479
2493
  }
@@ -2605,7 +2619,9 @@ a.IconButton {
2605
2619
  .RadioCard input[type='radio'] {
2606
2620
  position: absolute;
2607
2621
  opacity: 0;
2608
- appearance: none;
2622
+ -webkit-appearance: none;
2623
+ -moz-appearance: none;
2624
+ appearance: none;
2609
2625
  height: 1px;
2610
2626
  width: 1px;
2611
2627
  }
@@ -2716,15 +2732,33 @@ a.IconButton {
2716
2732
  box-sizing: border-box;
2717
2733
  display: flex;
2718
2734
  padding: var(--space-smallest) var(--space-small);
2735
+ max-height: calc(100vh - var(--top-bar-height));
2719
2736
  }
2720
2737
 
2721
2738
  .Toast.Toast--non-dismissible {
2722
2739
  position: static;
2723
2740
  margin-bottom: var(--space-small);
2741
+ max-height: none;
2724
2742
  }
2725
2743
 
2726
2744
  .TopBar--thin .Toast {
2727
2745
  top: var(--top-bar-height-thin);
2746
+ max-height: calc(100vh - var(--top-bar-height-thin));
2747
+ }
2748
+
2749
+ .TopBar--thin .Toast.Toast--non-dismissible {
2750
+ max-height: none;
2751
+ }
2752
+
2753
+ .TopBar--thin .Toast .Toast__message-content {
2754
+ max-height: calc(
2755
+ 100vh - var(--top-bar-height-thin) - 2 * var(--space-smallest)
2756
+ );
2757
+ }
2758
+
2759
+ .Toast.Toast--non-dismissible .Toast__message-content {
2760
+ max-height: none;
2761
+ overflow-y: visible;
2728
2762
  }
2729
2763
 
2730
2764
  .Toast.Toast--success {
@@ -2749,6 +2783,7 @@ a.IconButton {
2749
2783
  border: 0;
2750
2784
  height: calc(var(--text-size-small) + 9px);
2751
2785
  color: currentColor;
2786
+ flex-shrink: 0;
2752
2787
  }
2753
2788
 
2754
2789
  .Toast__dismiss:focus {
@@ -2765,10 +2800,13 @@ a.IconButton {
2765
2800
  .Toast__message .Toast__message-content {
2766
2801
  border-top: 4px solid transparent;
2767
2802
  border-bottom: 4px solid transparent;
2803
+ overflow-y: auto;
2804
+ max-height: calc(100vh - var(--top-bar-height) - 2 * var(--space-smallest));
2768
2805
  }
2769
2806
 
2770
2807
  .Toast__message .Icon {
2771
2808
  margin-right: var(--space-smallest);
2809
+ flex-shrink: 0;
2772
2810
  }
2773
2811
 
2774
2812
  .Toast__message .fa {
@@ -3000,7 +3038,8 @@ button.TooltipTabstop {
3000
3038
  background-color: var(--top-bar-background-color);
3001
3039
  color: var(--top-bar-text-color);
3002
3040
  border-bottom: var(--top-bar-border-bottom);
3003
- padding-inline-start: var(--top-bar-padding-inline-start);
3041
+ -webkit-padding-start: var(--top-bar-padding-inline-start);
3042
+ padding-inline-start: var(--top-bar-padding-inline-start);
3004
3043
  }
3005
3044
 
3006
3045
  .TopBar--thin .TopBar {
@@ -3189,7 +3228,8 @@ button.TooltipTabstop {
3189
3228
  border-radius: 2px;
3190
3229
  }
3191
3230
 
3192
- .SkipLink span {
3231
+ .SkipLink .SkipLink__item--first,
3232
+ .SkipLink .SkipLink__item--second {
3193
3233
  display: block;
3194
3234
  }
3195
3235
 
@@ -5225,7 +5265,8 @@ button.Accordion__trigger {
5225
5265
  font-size: var(--text-size-small);
5226
5266
  margin-top: var(--space-small);
5227
5267
  color: var(--accordion-trigger-text-color);
5228
- text-decoration: var(--accordion-trigger-text-decoration);
5268
+ -webkit-text-decoration: var(--accordion-trigger-text-decoration);
5269
+ text-decoration: var(--accordion-trigger-text-decoration);
5229
5270
  }
5230
5271
 
5231
5272
  .Accordion__trigger[aria-expanded='true'] {
@@ -5238,7 +5279,8 @@ button.Accordion__trigger {
5238
5279
  box-shadow: inset 8px 0 0 -4px var(--accordion-trigger-box-shadow-hover);
5239
5280
  color: var(--accordion-trigger-text-color-hover);
5240
5281
  transition: all 0.2s ease-in-out;
5241
- text-decoration: underline solid var(--accordion-trigger-text-color-hover);
5282
+ -webkit-text-decoration: underline solid var(--accordion-trigger-text-color-hover);
5283
+ text-decoration: underline solid var(--accordion-trigger-text-color-hover);
5242
5284
  }
5243
5285
 
5244
5286
  .Accordion__trigger:hover .Icon {
@@ -5858,7 +5900,8 @@ button.Accordion__trigger {
5858
5900
 
5859
5901
  .TextEllipsis:where([role='button']) {
5860
5902
  text-align: inherit;
5861
- user-select: inherit;
5903
+ -moz-user-select: inherit;
5904
+ user-select: inherit;
5862
5905
  }
5863
5906
 
5864
5907
  .TextEllipsis--multiline {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "6.27.0-canary.f0603405",
3
+ "version": "7.0.0",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",