basecoat-css 0.2.8 → 0.3.1

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.
@@ -1043,61 +1043,61 @@
1043
1043
  justify-content: flex-end;
1044
1044
  }
1045
1045
  }
1046
- > form[method='dialog'] {
1046
+ > button, > form[method='dialog'] {
1047
1047
  position: absolute;
1048
1048
  top: calc(var(--spacing) * 4);
1049
1049
  right: calc(var(--spacing) * 4);
1050
- > button {
1051
- border-radius: var(--radius-xs);
1052
- opacity: 70%;
1053
- --tw-ring-offset-color: var(--color-background);
1054
- transition-property: opacity;
1055
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1056
- transition-duration: var(--tw-duration, var(--default-transition-duration));
1057
- &:hover {
1058
- @media (hover: hover) {
1059
- opacity: 100%;
1060
- }
1061
- }
1062
- &:focus {
1063
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1064
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1065
- }
1066
- &:focus {
1067
- --tw-ring-color: var(--color-ring);
1068
- }
1069
- &:focus {
1070
- --tw-ring-offset-width: 2px;
1071
- --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1072
- }
1073
- &:focus {
1074
- --tw-outline-style: none;
1075
- outline-style: none;
1076
- @media (forced-colors: active) {
1077
- outline: 2px solid transparent;
1078
- outline-offset: 2px;
1079
- }
1080
- }
1081
- &:disabled {
1082
- pointer-events: none;
1083
- }
1084
- &[data-state="open"] {
1085
- background-color: var(--color-accent);
1086
- }
1087
- &[data-state="open"] {
1088
- color: var(--color-muted-foreground);
1089
- }
1090
- & svg {
1091
- pointer-events: none;
1092
- }
1093
- & svg {
1094
- flex-shrink: 0;
1050
+ }
1051
+ > button, > form[method='dialog'] > button {
1052
+ border-radius: var(--radius-xs);
1053
+ opacity: 70%;
1054
+ --tw-ring-offset-color: var(--color-background);
1055
+ transition-property: opacity;
1056
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1057
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
1058
+ &:hover {
1059
+ @media (hover: hover) {
1060
+ opacity: 100%;
1095
1061
  }
1096
- & svg:not([class*='size-']) {
1097
- width: calc(var(--spacing) * 4);
1098
- height: calc(var(--spacing) * 4);
1062
+ }
1063
+ &:focus {
1064
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
1065
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1066
+ }
1067
+ &:focus {
1068
+ --tw-ring-color: var(--color-ring);
1069
+ }
1070
+ &:focus {
1071
+ --tw-ring-offset-width: 2px;
1072
+ --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1073
+ }
1074
+ &:focus {
1075
+ --tw-outline-style: none;
1076
+ outline-style: none;
1077
+ @media (forced-colors: active) {
1078
+ outline: 2px solid transparent;
1079
+ outline-offset: 2px;
1099
1080
  }
1100
1081
  }
1082
+ &:disabled {
1083
+ pointer-events: none;
1084
+ }
1085
+ &[data-state="open"] {
1086
+ background-color: var(--color-accent);
1087
+ }
1088
+ &[data-state="open"] {
1089
+ color: var(--color-muted-foreground);
1090
+ }
1091
+ & svg {
1092
+ pointer-events: none;
1093
+ }
1094
+ & svg {
1095
+ flex-shrink: 0;
1096
+ }
1097
+ & svg:not([class*='size-']) {
1098
+ width: calc(var(--spacing) * 4);
1099
+ height: calc(var(--spacing) * 4);
1100
+ }
1101
1101
  }
1102
1102
  }
1103
1103
  }
@@ -2712,7 +2712,7 @@
2712
2712
  pointer-events: none;
2713
2713
  visibility: hidden;
2714
2714
  position: absolute;
2715
- z-index: 50;
2715
+ z-index: 60;
2716
2716
  width: fit-content;
2717
2717
  max-width: var(--container-xs);
2718
2718
  --tw-scale-x: 95%;