@stll/ui 0.34.0 → 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?: "default" | "chip" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "lg" | "row" | "sm" | "xl" | "xs" | null | undefined;
17
- variant?: "link" | "default" | "destructive" | "destructive-outline" | "destructive-ghost" | "ghost" | "muted" | "outline" | "secondary" | null | undefined;
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"];
@@ -83,7 +83,7 @@ declare const SidebarMenu: ({ className, ...props }: React.ComponentProps<"ul">)
83
83
  declare const SidebarMenuItem: ({ className, ...props }: React.ComponentProps<"li">) => import("react").JSX.Element;
84
84
  declare const sidebarMenuButtonVariants: (props?: ({
85
85
  variant?: "default" | "outline" | null | undefined;
86
- size?: "default" | "lg" | "sm" | "rail" | null | undefined;
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"> & {
89
89
  asChild?: boolean;
@@ -5,6 +5,6 @@ declare const CONTROL_SIZE: Readonly<{
5
5
  readonly lg: "lg";
6
6
  }>;
7
7
  type ControlSize = (typeof CONTROL_SIZE)[keyof typeof CONTROL_SIZE];
8
- declare const CONTROL_SIZES: readonly ("default" | "lg" | "sm")[];
8
+ declare const CONTROL_SIZES: readonly ("sm" | "default" | "lg")[];
9
9
  //#endregion
10
10
  export { CONTROL_SIZE, CONTROL_SIZES, type ControlSize };
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stll/ui",
3
- "version": "0.34.0",
3
+ "version": "0.34.2",
4
4
  "description": "Stella's design system: bidi-aware React primitives built on Base UI, the dockable inspector pane, and the Tailwind v4 theme they are styled with.",
5
5
  "keywords": [
6
6
  "base-ui",
@@ -630,7 +630,7 @@
630
630
  "@playwright/test": "^1.63.0",
631
631
  "@stll/typescript-config": "0.0.0",
632
632
  "@tailwindcss/vite": "4.3.3",
633
- "@tanstack/react-virtual": "^3.14.12",
633
+ "@tanstack/react-virtual": "^3.14.13",
634
634
  "@types/react": "^19.2.17",
635
635
  "@types/react-dom": "^19.2.7",
636
636
  "bun-types": "1.4.2",
@@ -646,7 +646,7 @@
646
646
  "@base-ui/react": "^1.7.0",
647
647
  "@dnd-kit/core": "^6.3.1",
648
648
  "@dnd-kit/sortable": "^10.0.0",
649
- "@tanstack/react-virtual": "^3.14.12",
649
+ "@tanstack/react-virtual": "^3.14.13",
650
650
  "react": ">=19",
651
651
  "react-dom": ">=19",
652
652
  "tailwindcss": "^4.3.0"