@stll/ui 0.34.1 → 0.34.2
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.
|
@@ -13,8 +13,8 @@ import { VariantProps } from "class-variance-authority";
|
|
|
13
13
|
*/
|
|
14
14
|
declare const buttonAccessibleDisabledClass = "cursor-not-allowed opacity-64";
|
|
15
15
|
declare const buttonVariants: (props?: ({
|
|
16
|
-
size?: "
|
|
17
|
-
variant?: "
|
|
16
|
+
size?: "sm" | "default" | "lg" | "row" | "icon" | "chip" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "xl" | "xs" | null | undefined;
|
|
17
|
+
variant?: "link" | "default" | "muted" | "destructive" | "destructive-outline" | "destructive-ghost" | "ghost" | "outline" | "secondary" | null | undefined;
|
|
18
18
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
19
19
|
type ButtonProps = {
|
|
20
20
|
variant?: VariantProps<typeof buttonVariants>["variant"];
|
|
@@ -82,7 +82,7 @@ declare const SidebarGroupContent: ({ className, ...props }: React.ComponentProp
|
|
|
82
82
|
declare const SidebarMenu: ({ className, ...props }: React.ComponentProps<"ul">) => import("react").JSX.Element;
|
|
83
83
|
declare const SidebarMenuItem: ({ className, ...props }: React.ComponentProps<"li">) => import("react").JSX.Element;
|
|
84
84
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
85
|
-
variant?: "
|
|
85
|
+
variant?: "default" | "outline" | null | undefined;
|
|
86
86
|
size?: "sm" | "default" | "lg" | "rail" | null | undefined;
|
|
87
87
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
88
88
|
declare const SidebarMenuButton: ({ asChild, isActive, variant, size, tooltip, className, ...props }: React.ComponentProps<"button"> & {
|
package/dist/styles/theme.css
CHANGED
|
@@ -1105,6 +1105,13 @@
|
|
|
1105
1105
|
* in dark mode, so they read as bright strips against the dark surface. */
|
|
1106
1106
|
color-scheme: light;
|
|
1107
1107
|
}
|
|
1108
|
+
/* WorkspaceShell owns the viewport and its content scroller. Keep the
|
|
1109
|
+
* document locked so modal overlays cannot reserve a browser scrollbar
|
|
1110
|
+
* gutter and pull the inline-end inspector away from the viewport edge. */
|
|
1111
|
+
html:has([data-slot="workspace-shell"]) {
|
|
1112
|
+
overflow: hidden;
|
|
1113
|
+
scrollbar-gutter: auto !important;
|
|
1114
|
+
}
|
|
1108
1115
|
html.dark {
|
|
1109
1116
|
color-scheme: dark;
|
|
1110
1117
|
}
|
package/package.json
CHANGED