@deque/cauldron-styles 6.16.0-canary.40460de2 → 6.16.0-canary.55673e4b

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 +135 -14
  2. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -579,7 +579,8 @@ textarea:focus,
579
579
  [role='spinbutton']:focus {
580
580
  outline: 0;
581
581
  border: 1px solid var(--field-border-color-focus);
582
- box-shadow: 0 0 0 1px var(--field-border-color-focus),
582
+ box-shadow:
583
+ 0 0 0 1px var(--field-border-color-focus),
583
584
  0 0 5px var(--field-border-color-focus-glow),
584
585
  inset 0 1px 2px rgba(0, 0, 0, 0.05);
585
586
  }
@@ -604,7 +605,8 @@ textarea:focus:hover,
604
605
  [role='listbox']:focus:hover,
605
606
  [role='spinbutton']:focus:hover {
606
607
  border: 1px solid var(--field-border-color-focus-hover);
607
- box-shadow: 0 0 0 1px var(--field-border-color-focus-hover),
608
+ box-shadow:
609
+ 0 0 0 1px var(--field-border-color-focus-hover),
608
610
  0 0 5px var(--field-border-color-focus-glow),
609
611
  inset 0 1px 2px rgba(0, 0, 0, 0.05);
610
612
  }
@@ -651,7 +653,8 @@ textarea.Field--has-error:hover,
651
653
  [role='listbox'].Field--has-error:hover,
652
654
  [role='spinbutton'].Field--has-error:hover {
653
655
  border-color: var(--field-border-color-error-hover);
654
- box-shadow: 0 0 0 1px var(--field-border-color-error),
656
+ box-shadow:
657
+ 0 0 0 1px var(--field-border-color-error),
655
658
  inset 0 1px 2px rgba(0, 0, 0, 0.05);
656
659
  }
657
660
 
@@ -664,7 +667,8 @@ textarea.Field--has-error:focus,
664
667
  [role='listbox'].Field--has-error:focus,
665
668
  [role='spinbutton'].Field--has-error:focus {
666
669
  border: 1px solid var(--field-border-color-error);
667
- box-shadow: 0 0 0 1px var(--field-border-color-error),
670
+ box-shadow:
671
+ 0 0 0 1px var(--field-border-color-error),
668
672
  0 0 5px var(--field-border-color-error-focus-glow),
669
673
  inset 0 1px 2px rgba(0, 0, 0, 0.05);
670
674
  }
@@ -696,13 +700,22 @@ textarea.Field--has-error:focus:hover,
696
700
  color: var(--field-listbox-selected-text-color);
697
701
  }
698
702
 
699
- .Error {
703
+ .Error,
704
+ .Field__error {
705
+ --icon-size: var(--text-size-base);
700
706
  color: var(--field-error-text-color);
707
+ display: flex;
708
+ gap: var(--space-half);
701
709
  text-align: left;
702
710
  font-size: var(--text-size-smallest);
703
711
  font-weight: var(--font-weight-normal);
704
712
  }
705
713
 
714
+ .Field__error {
715
+ font-size: var(--text-size-small);
716
+ margin-bottom: var(--space-smallest);
717
+ }
718
+
706
719
  .Checkbox__wrap .Error {
707
720
  margin-top: var(--space-half);
708
721
  border-top: 1px solid var(--field-error-border-color);
@@ -771,12 +784,21 @@ textarea.Field--has-error:focus:hover,
771
784
  align-items: center;
772
785
  text-align: left;
773
786
  color: var(--field-label-text-color);
774
- margin-bottom: var(--space-half);
787
+ margin-bottom: var(--space-smallest);
775
788
  font-size: var(--text-size-small);
776
789
  font-weight: var(--font-weight-medium);
777
790
  cursor: default;
778
791
  }
779
792
 
793
+ .Field__description {
794
+ display: flex;
795
+ align-items: center;
796
+ text-align: left;
797
+ font-size: var(--text-size-small);
798
+ color: var(--field-label-description-text-color);
799
+ margin-bottom: var(--space-smallest);
800
+ }
801
+
780
802
  .Field__label + .Checkbox__wrap {
781
803
  margin-top: var(--space-half);
782
804
  }
@@ -1195,7 +1217,7 @@ textarea.Field--has-error:focus:hover,
1195
1217
  --button-background-color-primary-active: var(--accent-primary-active);
1196
1218
 
1197
1219
  --button-background-color-secondary: var(--gray-20);
1198
- --button-background-color-secondary-disabled: var(--gray-30);
1220
+ --button-background-color-secondary-disabled: var(--gray-20);
1199
1221
  --button-outline-color-secondary: var(--gray-90);
1200
1222
  --button-background-color-secondary-active: var(--gray-30);
1201
1223
  --button-border-color-secondary: var(--gray-40);
@@ -3982,8 +4004,8 @@ button.TooltipTabstop {
3982
4004
 
3983
4005
  --step-current-indicator-background: #fff;
3984
4006
  --step-current-indicator-color: var(--accent-dark);
3985
- --step-current-indicator-shadow: 0 0 0 2px var(--accent-dark),
3986
- 0 0 0 4px var(--accent-info);
4007
+ --step-current-indicator-shadow:
4008
+ 0 0 0 2px var(--accent-dark), 0 0 0 4px var(--accent-info);
3987
4009
  --step-current-complete-line-border-color: var(--accent-info);
3988
4010
 
3989
4011
  --step-complete-indicator-background: var(--accent-info);
@@ -4002,7 +4024,6 @@ button.TooltipTabstop {
4002
4024
  align-items: flex-start;
4003
4025
  color: var(--stepper-color);
4004
4026
  background-color: var(--stepper-background-color);
4005
- counter-reset: stepper;
4006
4027
  list-style-type: none;
4007
4028
  margin: 0 auto;
4008
4029
  }
@@ -4046,8 +4067,7 @@ button.TooltipTabstop {
4046
4067
 
4047
4068
  .Stepper__step-indicator:before {
4048
4069
  font-size: var(--text-size-small);
4049
- counter-increment: stepper;
4050
- content: counter(stepper);
4070
+ content: counter(list-item);
4051
4071
  }
4052
4072
 
4053
4073
  .Stepper__step-label {
@@ -4101,7 +4121,7 @@ button.TooltipTabstop {
4101
4121
  --panel-border-color: var(--gray-40);
4102
4122
  --panel-background-color: var(--white);
4103
4123
  --panel-heading-color: var(--gray-90);
4104
- --panel-padding: var(--space-small);
4124
+ --panel-padding: var(--space-large);
4105
4125
  --panel-divider-border-color: var(--gray-40);
4106
4126
  --panel-content-color: var(--gray-80);
4107
4127
  }
@@ -4110,7 +4130,7 @@ button.TooltipTabstop {
4110
4130
  padding: var(--panel-padding);
4111
4131
  margin: 0;
4112
4132
  border: 1px solid var(--panel-border-color);
4113
- border-radius: 3px;
4133
+ border-radius: 16px;
4114
4134
  box-shadow: var(--drop-shadow-raised);
4115
4135
  background-color: var(--panel-background-color);
4116
4136
  word-break: break-word;
@@ -5834,3 +5854,104 @@ button.Accordion__trigger {
5834
5854
  padding-bottom: var(--space-small);
5835
5855
  margin-bottom: var(--space-small);
5836
5856
  }
5857
+
5858
+ :root {
5859
+ --page-header-overline-color: var(--gray-60);
5860
+ }
5861
+
5862
+ .cauldron--theme-dark {
5863
+ --page-header-overline-color: var(--accent-light);
5864
+ }
5865
+
5866
+ .PageHeader__overline {
5867
+ margin: 0 0 var(--space-smallest) 0;
5868
+ padding: 0;
5869
+ color: var(--page-header-overline-color);
5870
+ font-size: var(--text-size-base);
5871
+ }
5872
+
5873
+ :root {
5874
+ --section-header-description-color: var(--gray-60);
5875
+ }
5876
+
5877
+ .cauldron--theme-dark {
5878
+ --section-header-description-color: var(--accent-light);
5879
+ }
5880
+
5881
+ .SectionHeader {
5882
+ container-type: inline-size;
5883
+ }
5884
+
5885
+ .SectionHeader__content {
5886
+ display: grid;
5887
+ grid-template-columns: 1fr;
5888
+ grid-template-areas:
5889
+ 'heading'
5890
+ 'description'
5891
+ 'children';
5892
+ }
5893
+
5894
+ .SectionHeader__actions {
5895
+ margin-top: var(--space-small);
5896
+ grid-area: children;
5897
+ }
5898
+
5899
+ .SectionHeader .SectionHeader__content .SectionHeader__description {
5900
+ margin: var(--space-smallest) 0 0 0;
5901
+ padding: 0;
5902
+ color: var(--section-header-description-color);
5903
+ font-size: var(--text-size-base);
5904
+ grid-area: description;
5905
+ }
5906
+
5907
+ .SectionHeader :is(h1, h2, h3, h4, h5, h6) {
5908
+ font-weight: var(--font-weight-medium);
5909
+ margin: 0;
5910
+ padding: 0;
5911
+ }
5912
+
5913
+ @container (min-width: 48rem) {
5914
+ .SectionHeader__content {
5915
+ grid-template-columns: 1fr auto;
5916
+ grid-template-areas:
5917
+ 'heading children'
5918
+ 'description children';
5919
+ align-items: start;
5920
+ }
5921
+
5922
+ .SectionHeader__actions {
5923
+ margin: 0;
5924
+ align-self: center;
5925
+ justify-self: end;
5926
+ }
5927
+ }
5928
+
5929
+ :root {
5930
+ --empty-state-border-color: var(--gray-30);
5931
+ }
5932
+
5933
+ .cauldron--theme-dark {
5934
+ --empty-state-border-color: var(--accent-light);
5935
+ }
5936
+
5937
+ .EmptyState > :where(h1, h2, h3, h4, h5, h6) {
5938
+ font-size: var(--text-size-heading-3);
5939
+ line-height: var(--line-height-heading-3);
5940
+ margin-top: 0;
5941
+ margin-bottom: 0;
5942
+ }
5943
+
5944
+ .EmptyState > :where(h1, h2, h3, h4, h5, h6) + :where(p) {
5945
+ margin-top: 0.25rem;
5946
+ margin-bottom: 0;
5947
+ }
5948
+
5949
+ .EmptyState__primary {
5950
+ padding-top: var(--space-small);
5951
+ }
5952
+
5953
+ .EmptyState__secondary {
5954
+ margin-top: var(--space-small);
5955
+ padding-top: var(--space-small);
5956
+ border-top: 1px solid var(--empty-state-border-color);
5957
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deque/cauldron-styles",
3
- "version": "6.16.0-canary.40460de2",
3
+ "version": "6.16.0-canary.55673e4b",
4
4
  "license": "MPL-2.0",
5
5
  "description": "deque cauldron pattern library styles",
6
6
  "repository": "https://github.com/dequelabs/cauldron",