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.
- package/dist/basecoat.cdn.css +50 -50
- package/dist/basecoat.cdn.min.css +1 -1
- package/dist/basecoat.css +6 -4
- package/dist/js/all.js +128 -108
- package/dist/js/all.min.js +1 -1
- package/dist/js/basecoat.js +99 -0
- package/dist/js/basecoat.min.js +1 -0
- package/dist/js/dropdown-menu.js +3 -15
- package/dist/js/dropdown-menu.min.js +1 -1
- package/dist/js/popover.js +3 -15
- package/dist/js/popover.min.js +1 -1
- package/dist/js/select.js +13 -26
- package/dist/js/select.min.js +1 -1
- package/dist/js/sidebar.js +3 -16
- package/dist/js/sidebar.min.js +1 -1
- package/dist/js/tabs.js +3 -16
- package/dist/js/tabs.min.js +1 -1
- package/dist/js/toast.js +4 -20
- package/dist/js/toast.min.js +1 -1
- package/package.json +1 -1
package/dist/basecoat.cdn.css
CHANGED
|
@@ -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
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
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
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
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:
|
|
2715
|
+
z-index: 60;
|
|
2716
2716
|
width: fit-content;
|
|
2717
2717
|
max-width: var(--container-xs);
|
|
2718
2718
|
--tw-scale-x: 95%;
|