@stll/ui 0.27.1 → 0.27.3
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.
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
export declare const buttonAccessibleDisabledClass = "cursor-not-allowed opacity-64";
|
|
12
12
|
export declare const buttonVariants: (props?: ({
|
|
13
|
-
size?: "
|
|
14
|
-
variant?: "
|
|
13
|
+
size?: "default" | "chip" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "lg" | "sm" | "xl" | "xs" | null | undefined;
|
|
14
|
+
variant?: "link" | "default" | "destructive" | "destructive-outline" | "ghost" | "outline" | "secondary" | null | undefined;
|
|
15
15
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
16
16
|
//#endregion
|
|
@@ -82,8 +82,8 @@ 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?: "
|
|
86
|
-
size?: "
|
|
85
|
+
variant?: "default" | "outline" | null | undefined;
|
|
86
|
+
size?: "default" | "lg" | "sm" | "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 ("
|
|
8
|
+
declare const CONTROL_SIZES: readonly ("default" | "lg" | "sm")[];
|
|
9
9
|
//#endregion
|
|
10
10
|
export { CONTROL_SIZE, CONTROL_SIZES, type ControlSize };
|
|
@@ -16,6 +16,13 @@ export declare const SHELL_CHROME_LAYER_CLASS_NAME = "z-30";
|
|
|
16
16
|
export declare const OVERLAY_LAYER_CLASS_NAMES: {
|
|
17
17
|
/** Docked composer, suggestion chips, and other in-pane floating chrome. */
|
|
18
18
|
readonly chrome: "z-[80]";
|
|
19
|
+
/**
|
|
20
|
+
* In-pane controls floating over the docked composer (a review bar, a
|
|
21
|
+
* suggestion stepper). The composer's veil blurs everything beneath it with
|
|
22
|
+
* `backdrop-filter`; one step above `chrome` keeps these controls sharp
|
|
23
|
+
* regardless of mount order.
|
|
24
|
+
*/
|
|
25
|
+
readonly "chrome-raised": "z-[81]";
|
|
19
26
|
/** Dialogs, sheets, popovers, tooltips: above chrome, below toasts. */
|
|
20
27
|
readonly default: "z-[85]";
|
|
21
28
|
/** Search sits a hair above a plain dialog so its own popup wins. */
|
|
@@ -16,6 +16,13 @@ const SHELL_CHROME_LAYER_CLASS_NAME = "z-30";
|
|
|
16
16
|
const OVERLAY_LAYER_CLASS_NAMES = {
|
|
17
17
|
/** Docked composer, suggestion chips, and other in-pane floating chrome. */
|
|
18
18
|
chrome: "z-[80]",
|
|
19
|
+
/**
|
|
20
|
+
* In-pane controls floating over the docked composer (a review bar, a
|
|
21
|
+
* suggestion stepper). The composer's veil blurs everything beneath it with
|
|
22
|
+
* `backdrop-filter`; one step above `chrome` keeps these controls sharp
|
|
23
|
+
* regardless of mount order.
|
|
24
|
+
*/
|
|
25
|
+
"chrome-raised": "z-[81]",
|
|
19
26
|
/** Dialogs, sheets, popovers, tooltips: above chrome, below toasts. */
|
|
20
27
|
default: "z-[85]",
|
|
21
28
|
/** Search sits a hair above a plain dialog so its own popup wins. */
|
package/package.json
CHANGED