laif-ds 0.1.13 → 0.1.15
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/_virtual/index2.js +2 -5
- package/dist/_virtual/index3.js +5 -5
- package/dist/_virtual/index4.js +5 -2
- package/dist/_virtual/index5.js +5 -2
- package/dist/_virtual/index6.js +2 -5
- package/dist/components/ui/app-sidebar.js +29 -0
- package/dist/components/ui/async-select.js +1 -1
- package/dist/components/ui/badge.js +5 -5
- package/dist/components/ui/breadcrumb.js +2 -2
- package/dist/components/ui/button.js +8 -8
- package/dist/components/ui/chart.js +1 -1
- package/dist/components/ui/chat-message.js +4 -4
- package/dist/components/ui/command.js +1 -1
- package/dist/components/ui/context-menu.js +1 -1
- package/dist/components/ui/drawer.js +1 -1
- package/dist/components/ui/file-preview.js +1 -1
- package/dist/components/ui/gantt/components/Chart/Chart.js +1 -1
- package/dist/components/ui/input-selector.js +9 -9
- package/dist/components/ui/input.js +12 -12
- package/dist/components/ui/popover.js +1 -1
- package/dist/components/ui/sheet.js +1 -1
- package/dist/components/ui/sidebar.js +476 -534
- package/dist/components/ui/slider.js +132 -0
- package/dist/components/ui/table.js +1 -1
- package/dist/components/ui/tabs.js +1 -1
- package/dist/components/ui/toaster.js +3 -3
- package/dist/dist/components/ui/table.js +1 -1
- package/dist/index.d.ts +77 -34
- package/dist/index.js +103 -99
- package/dist/node_modules/@radix-ui/react-slider/dist/index.js +439 -0
- package/dist/node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-collection/dist/index.js +49 -0
- package/dist/node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-primitive/dist/index.js +33 -0
- package/dist/node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +55 -0
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/node_modules/unified/lib/index.js +1 -1
- package/dist/styles.v3.css +1 -1
- package/package.json +5 -3
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as u, jsx as l, Fragment as k } from "react/jsx-runtime";
|
|
3
|
+
import * as F from "react";
|
|
4
|
+
import { Root as y, Track as M, Range as P, Thumb as b } from "../../node_modules/@radix-ui/react-slider/dist/index.js";
|
|
5
|
+
import { Badge as x } from "./badge.js";
|
|
6
|
+
import { cn as c } from "../../lib/utils.js";
|
|
7
|
+
import { cva as w } from "../../node_modules/class-variance-authority/dist/index.js";
|
|
8
|
+
const S = w(
|
|
9
|
+
"relative w-full grow overflow-hidden rounded-full bg-d-primary/20",
|
|
10
|
+
{
|
|
11
|
+
variants: {
|
|
12
|
+
size: {
|
|
13
|
+
base: "h-1.5",
|
|
14
|
+
medium: "h-2",
|
|
15
|
+
large: "h-2.5"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
defaultVariants: {
|
|
19
|
+
size: "base"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
), N = w(
|
|
23
|
+
"block rounded-full ring-d-primary bg-d-background shadow transition-colors focus-visible:outline-none focus-visible:ring-d-primary transition-all duration-200 disabled:pointer-events-none disabled:opacity-50",
|
|
24
|
+
{
|
|
25
|
+
variants: {
|
|
26
|
+
size: {
|
|
27
|
+
base: "h-4 w-4 ring-[1.5px] focus-visible:ring-[4px]",
|
|
28
|
+
medium: "h-5 w-5 ring-[1.5px] focus-visible:ring-[4.5px]",
|
|
29
|
+
large: "h-6 w-6 ring-2 focus-visible:ring-[6px]"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
defaultVariants: {
|
|
33
|
+
size: "base"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
), B = F.forwardRef(({
|
|
37
|
+
className: C,
|
|
38
|
+
size: m,
|
|
39
|
+
formatValue: i,
|
|
40
|
+
showValues: $ = !1,
|
|
41
|
+
showStickyLabel: r = !1,
|
|
42
|
+
stickyLabelSuffix: h = "",
|
|
43
|
+
fillOffset: o = !1,
|
|
44
|
+
offsetValue: v,
|
|
45
|
+
steps: d,
|
|
46
|
+
showStepMarkers: z = !1,
|
|
47
|
+
...e
|
|
48
|
+
}, R) => {
|
|
49
|
+
const s = v !== void 0 ? v : e.min !== void 0 && e.max !== void 0 ? (e.min + e.max) / 2 : 50, f = () => {
|
|
50
|
+
if (!o) return 0;
|
|
51
|
+
const a = e.min || 0, t = (e.max || 100) - a;
|
|
52
|
+
return (s - a) / t * 100;
|
|
53
|
+
}, g = (a) => d ? d.reduce((n, t) => Math.abs(t - a) < Math.abs(n - a) ? t : n) : a, T = (a) => {
|
|
54
|
+
if (!d || !e.onValueChange) {
|
|
55
|
+
e.onValueChange && e.onValueChange(a);
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
const n = g(a[0]), t = a.length > 1 ? [n, g(a[1])] : [n];
|
|
59
|
+
e.onValueChange(t);
|
|
60
|
+
}, j = (a) => {
|
|
61
|
+
const n = e.min || 0, t = e.max || 100;
|
|
62
|
+
return (a - n) / (t - n) * 100;
|
|
63
|
+
};
|
|
64
|
+
return /* @__PURE__ */ u("div", { className: "flex flex-col w-full gap-1", children: [
|
|
65
|
+
/* @__PURE__ */ u(
|
|
66
|
+
y,
|
|
67
|
+
{
|
|
68
|
+
ref: R,
|
|
69
|
+
className: c(
|
|
70
|
+
"relative flex w-full touch-none select-none items-center",
|
|
71
|
+
C
|
|
72
|
+
),
|
|
73
|
+
...e,
|
|
74
|
+
onValueChange: void 0,
|
|
75
|
+
onValueChange: d ? T : e.onValueChange,
|
|
76
|
+
children: [
|
|
77
|
+
/* @__PURE__ */ u(M, { className: c(S({ size: m })), children: [
|
|
78
|
+
d && z && /* @__PURE__ */ l("div", { className: "absolute w-full h-full", children: d.map((a, n) => /* @__PURE__ */ l(
|
|
79
|
+
"div",
|
|
80
|
+
{
|
|
81
|
+
className: "absolute w-1 h-4 -mt-1.5 bg-d-muted-foreground/50 rounded-full",
|
|
82
|
+
style: {
|
|
83
|
+
left: `calc(${j(a)}% - 2px)`,
|
|
84
|
+
top: "50%",
|
|
85
|
+
transform: "translateY(-50%)"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
n
|
|
89
|
+
)) }),
|
|
90
|
+
o && e.value ? /* @__PURE__ */ u(k, { children: [
|
|
91
|
+
/* @__PURE__ */ l("div", { className: "absolute h-full w-full bg-d-muted/30" }),
|
|
92
|
+
/* @__PURE__ */ l(
|
|
93
|
+
"div",
|
|
94
|
+
{
|
|
95
|
+
className: "absolute h-full bg-d-primary",
|
|
96
|
+
style: {
|
|
97
|
+
left: e.value[0] < s ? `${(e.value[0] - (e.min || 0)) / ((e.max || 100) - (e.min || 0)) * 100}%` : `${f()}%`,
|
|
98
|
+
right: e.value[0] > s ? `${100 - (e.value[0] - (e.min || 0)) / ((e.max || 100) - (e.min || 0)) * 100}%` : `${100 - f()}%`
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
)
|
|
102
|
+
] }) : /* @__PURE__ */ l(P, { className: "absolute h-full bg-d-primary" })
|
|
103
|
+
] }),
|
|
104
|
+
/* @__PURE__ */ l(b, { className: c(N({ size: m }), "relative"), children: r && e.value && /* @__PURE__ */ l(
|
|
105
|
+
x,
|
|
106
|
+
{
|
|
107
|
+
variant: "default",
|
|
108
|
+
className: "absolute left-1/2 -translate-x-1/2 -translate-y-1/2 -top-5 z-10",
|
|
109
|
+
children: i ? i(e.value[0]) : `${e.value[0]}${h}`
|
|
110
|
+
}
|
|
111
|
+
) }),
|
|
112
|
+
e.value && e.value.length > 1 && /* @__PURE__ */ l(b, { className: c(N({ size: m }), "relative"), children: r && /* @__PURE__ */ l(
|
|
113
|
+
x,
|
|
114
|
+
{
|
|
115
|
+
variant: "default",
|
|
116
|
+
className: "absolute left-1/2 -translate-x-1/2 -translate-y-1/2 -top-5 z-10",
|
|
117
|
+
children: i ? i(e.value[1]) : `${e.value[1]}${h}`
|
|
118
|
+
}
|
|
119
|
+
) })
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
),
|
|
123
|
+
$ && e.value && /* @__PURE__ */ u("div", { className: "flex justify-between text-xs font-medium text-d-muted-foreground", children: [
|
|
124
|
+
/* @__PURE__ */ l("span", { children: i ? i(e.value[0]) : e.value[0] }),
|
|
125
|
+
e.value.length > 1 ? /* @__PURE__ */ l("span", { children: i ? i(e.value[1]) : e.value[1] }) : e.max !== void 0 ? /* @__PURE__ */ l("span", { children: i ? i(e.max) : e.max }) : null
|
|
126
|
+
] })
|
|
127
|
+
] });
|
|
128
|
+
});
|
|
129
|
+
B.displayName = y.displayName;
|
|
130
|
+
export {
|
|
131
|
+
B as Slider
|
|
132
|
+
};
|
|
@@ -70,7 +70,7 @@ function i({ className: t, ...e }) {
|
|
|
70
70
|
{
|
|
71
71
|
"data-slot": "table-head",
|
|
72
72
|
className: o(
|
|
73
|
-
"text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
|
73
|
+
"text-d-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
|
74
74
|
t
|
|
75
75
|
),
|
|
76
76
|
...e
|
|
@@ -40,7 +40,7 @@ function g({
|
|
|
40
40
|
{
|
|
41
41
|
"data-slot": "tabs-trigger",
|
|
42
42
|
className: s(
|
|
43
|
-
"data-[state=active]:bg-d-background dark:data-[state=active]:text-d-foreground focus-visible:border-d-ring focus-visible:ring-d-ring/50 focus-visible:outline-d-ring dark:data-[state=active]:border-d-input dark:data-[state=active]:bg-d-input/30 text-d-foreground dark:text-d-secondary-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
43
|
+
"data-[state=active]:bg-d-background dark:data-[state=active]:text-d-foreground focus-visible:border-d-ring focus-visible:ring-d-ring/50 focus-visible:outline-d-ring dark:data-[state=active]:border-d-input dark:data-[state=active]:bg-d-input/30 text-d-foreground dark:text-d-secondary-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md d-border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
44
44
|
t
|
|
45
45
|
),
|
|
46
46
|
...e
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as r } from "react/jsx-runtime";
|
|
3
3
|
import { useTheme as s } from "../../node_modules/next-themes/dist/index.js";
|
|
4
4
|
import { Toaster as e } from "../../node_modules/sonner/dist/index.js";
|
|
5
|
-
const
|
|
5
|
+
const g = ({ ...o }) => {
|
|
6
6
|
const { theme: t = "system" } = s();
|
|
7
7
|
return /* @__PURE__ */ r(
|
|
8
8
|
e,
|
|
@@ -11,7 +11,7 @@ const d = ({ ...o }) => {
|
|
|
11
11
|
className: "toaster group",
|
|
12
12
|
toastOptions: {
|
|
13
13
|
classNames: {
|
|
14
|
-
toast: "group toast group-[.toaster]:bg-d-background group-[.toaster]:text-foreground group-[.toaster]:border-d-border group-[.toaster]:shadow-lg",
|
|
14
|
+
toast: "group toast group-[.toaster]:bg-d-background group-[.toaster]:text-d-foreground group-[.toaster]:border-d-border group-[.toaster]:shadow-lg",
|
|
15
15
|
description: "group-[.toast]:text-d-secondary-foreground",
|
|
16
16
|
actionButton: "group-[.toast]:bg-d-primary group-[.toast]:text-d-primary-foreground",
|
|
17
17
|
cancelButton: "group-[.toast]:bg-d-secondary group-[.toast]:text-d-secondary-foreground"
|
|
@@ -22,5 +22,5 @@ const d = ({ ...o }) => {
|
|
|
22
22
|
);
|
|
23
23
|
};
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
g as Toaster
|
|
26
26
|
};
|
|
@@ -57,7 +57,7 @@ function b({ className: a, ...e }) {
|
|
|
57
57
|
{
|
|
58
58
|
"data-slot": "table-head",
|
|
59
59
|
className: l(
|
|
60
|
-
"text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
|
60
|
+
"text-d-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
|
61
61
|
a
|
|
62
62
|
),
|
|
63
63
|
...e
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
|
2
2
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
3
3
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
4
4
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
5
|
+
import { ButtonProps as ButtonProps_2 } from './button';
|
|
5
6
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
6
7
|
import { ClassProp } from 'class-variance-authority/types';
|
|
7
8
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
@@ -21,6 +22,7 @@ import { FormProviderProps } from 'react-hook-form';
|
|
|
21
22
|
import { ForwardRefExoticComponent } from 'react';
|
|
22
23
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
23
24
|
import { HTMLAttributes } from 'react';
|
|
25
|
+
import { InputProps as InputProps_2 } from './input';
|
|
24
26
|
import { JSX } from 'react/jsx-runtime';
|
|
25
27
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
26
28
|
import * as LucideIcons from 'lucide-react';
|
|
@@ -41,6 +43,8 @@ import * as ResizablePrimitive from 'react-resizable-panels';
|
|
|
41
43
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
42
44
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
43
45
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
46
|
+
import { SeparatorProps } from '@radix-ui/react-separator';
|
|
47
|
+
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
44
48
|
import { Slot } from '@radix-ui/react-slot';
|
|
45
49
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
46
50
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
@@ -119,6 +123,17 @@ declare const alertVariants: (props?: ({
|
|
|
119
123
|
|
|
120
124
|
declare type Animation_2 = VariantProps<typeof chatBubbleVariants>["animation"];
|
|
121
125
|
|
|
126
|
+
export declare function AppSidebar({ navigation, versions, defaultVersion, headerContent, footerContent, showRail, ...props }: AppSidebarProps): JSX.Element;
|
|
127
|
+
|
|
128
|
+
declare interface AppSidebarProps extends React_2.ComponentProps<typeof Sidebar> {
|
|
129
|
+
navigation: NavGroup[];
|
|
130
|
+
versions?: string[];
|
|
131
|
+
defaultVersion?: string;
|
|
132
|
+
headerContent?: React_2.ReactNode;
|
|
133
|
+
footerContent?: React_2.ReactNode;
|
|
134
|
+
showRail?: boolean;
|
|
135
|
+
}
|
|
136
|
+
|
|
122
137
|
export declare function AspectRatio({ ...props }: AspectRatioProps): JSX.Element;
|
|
123
138
|
|
|
124
139
|
declare type AspectRatioProps = React.ComponentProps<typeof AspectRatioPrimitive.Root>;
|
|
@@ -885,6 +900,12 @@ export declare interface MultipleSelectorRef {
|
|
|
885
900
|
reset: () => void;
|
|
886
901
|
}
|
|
887
902
|
|
|
903
|
+
declare interface NavGroup {
|
|
904
|
+
title: string;
|
|
905
|
+
url?: string;
|
|
906
|
+
items: NavItem[];
|
|
907
|
+
}
|
|
908
|
+
|
|
888
909
|
export declare function NavigationMenu({ className, children, viewport, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
|
|
889
910
|
viewport?: boolean;
|
|
890
911
|
}): JSX.Element;
|
|
@@ -903,6 +924,13 @@ export declare function NavigationMenuTrigger({ className, children, ...props }:
|
|
|
903
924
|
|
|
904
925
|
export declare function NavigationMenuViewport({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): JSX.Element;
|
|
905
926
|
|
|
927
|
+
declare interface NavItem {
|
|
928
|
+
title: string;
|
|
929
|
+
url: string;
|
|
930
|
+
isActive?: boolean;
|
|
931
|
+
iconName?: IconName;
|
|
932
|
+
}
|
|
933
|
+
|
|
906
934
|
declare type NoRepeatDataType = {
|
|
907
935
|
/**
|
|
908
936
|
* Start date and time of unrepeatable bar item
|
|
@@ -1103,13 +1131,13 @@ export declare function SheetTitle({ className, ...props }: React_2.ComponentPro
|
|
|
1103
1131
|
|
|
1104
1132
|
export declare function SheetTrigger({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Trigger>): JSX.Element;
|
|
1105
1133
|
|
|
1106
|
-
export declare
|
|
1134
|
+
export declare const Sidebar: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLDivElement> & React_2.HTMLAttributes<HTMLDivElement> & {
|
|
1107
1135
|
side?: "left" | "right";
|
|
1108
1136
|
variant?: "sidebar" | "floating" | "inset";
|
|
1109
1137
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
1110
|
-
}
|
|
1138
|
+
}, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1111
1139
|
|
|
1112
|
-
export declare
|
|
1140
|
+
export declare const SidebarContent: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1113
1141
|
|
|
1114
1142
|
declare type SidebarContextProps = {
|
|
1115
1143
|
state: "expanded" | "collapsed";
|
|
@@ -1121,73 +1149,71 @@ declare type SidebarContextProps = {
|
|
|
1121
1149
|
toggleSidebar: () => void;
|
|
1122
1150
|
};
|
|
1123
1151
|
|
|
1124
|
-
export declare
|
|
1152
|
+
export declare const SidebarFooter: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1125
1153
|
|
|
1126
|
-
export declare
|
|
1154
|
+
export declare const SidebarGroup: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1127
1155
|
|
|
1128
|
-
export declare
|
|
1156
|
+
export declare const SidebarGroupAction: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLButtonElement> & React_2.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1129
1157
|
asChild?: boolean;
|
|
1130
|
-
}
|
|
1158
|
+
}, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1131
1159
|
|
|
1132
|
-
export declare
|
|
1160
|
+
export declare const SidebarGroupContent: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1133
1161
|
|
|
1134
|
-
export declare
|
|
1162
|
+
export declare const SidebarGroupLabel: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLDivElement> & React_2.HTMLAttributes<HTMLDivElement> & {
|
|
1135
1163
|
asChild?: boolean;
|
|
1136
|
-
}
|
|
1164
|
+
}, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1137
1165
|
|
|
1138
|
-
export declare
|
|
1166
|
+
export declare const SidebarHeader: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1139
1167
|
|
|
1140
|
-
export declare
|
|
1168
|
+
export declare const SidebarInput: React_2.ForwardRefExoticComponent<Omit<Omit<InputProps_2, "ref">, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
|
|
1141
1169
|
|
|
1142
|
-
export declare
|
|
1170
|
+
export declare const SidebarInset: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1143
1171
|
|
|
1144
|
-
export declare
|
|
1172
|
+
export declare const SidebarMenu: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React_2.RefAttributes<HTMLUListElement>>;
|
|
1145
1173
|
|
|
1146
|
-
export declare
|
|
1174
|
+
export declare const SidebarMenuAction: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLButtonElement> & React_2.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1147
1175
|
asChild?: boolean;
|
|
1148
1176
|
showOnHover?: boolean;
|
|
1149
|
-
}
|
|
1177
|
+
}, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1150
1178
|
|
|
1151
|
-
export declare
|
|
1179
|
+
export declare const SidebarMenuBadge: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1152
1180
|
|
|
1153
|
-
export declare
|
|
1181
|
+
export declare const SidebarMenuButton: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLButtonElement> & React_2.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
1154
1182
|
asChild?: boolean;
|
|
1155
1183
|
isActive?: boolean;
|
|
1156
1184
|
tooltip?: string | React_2.ComponentProps<typeof TooltipContent>;
|
|
1157
|
-
} & VariantProps<
|
|
1158
|
-
|
|
1159
|
-
declare const sidebarMenuButtonVariants: (props?: ({
|
|
1185
|
+
} & VariantProps<(props?: ({
|
|
1160
1186
|
variant?: "default" | "outline" | null | undefined;
|
|
1161
1187
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1162
|
-
} & ClassProp) | undefined) => string
|
|
1188
|
+
} & ClassProp) | undefined) => string>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1163
1189
|
|
|
1164
|
-
export declare
|
|
1190
|
+
export declare const SidebarMenuItem: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React_2.RefAttributes<HTMLLIElement>>;
|
|
1165
1191
|
|
|
1166
|
-
export declare
|
|
1192
|
+
export declare const SidebarMenuSkeleton: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLDivElement> & React_2.HTMLAttributes<HTMLDivElement> & {
|
|
1167
1193
|
showIcon?: boolean;
|
|
1168
|
-
}
|
|
1194
|
+
}, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1169
1195
|
|
|
1170
|
-
export declare
|
|
1196
|
+
export declare const SidebarMenuSub: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React_2.RefAttributes<HTMLUListElement>>;
|
|
1171
1197
|
|
|
1172
|
-
export declare
|
|
1198
|
+
export declare const SidebarMenuSubButton: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLAnchorElement> & React_2.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
1173
1199
|
asChild?: boolean;
|
|
1174
1200
|
size?: "sm" | "md";
|
|
1175
1201
|
isActive?: boolean;
|
|
1176
|
-
}
|
|
1202
|
+
}, "ref"> & React_2.RefAttributes<HTMLAnchorElement>>;
|
|
1177
1203
|
|
|
1178
|
-
export declare
|
|
1204
|
+
export declare const SidebarMenuSubItem: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React_2.RefAttributes<HTMLLIElement>>;
|
|
1179
1205
|
|
|
1180
|
-
export declare
|
|
1206
|
+
export declare const SidebarProvider: React_2.ForwardRefExoticComponent<Omit<React_2.ClassAttributes<HTMLDivElement> & React_2.HTMLAttributes<HTMLDivElement> & {
|
|
1181
1207
|
defaultOpen?: boolean;
|
|
1182
1208
|
open?: boolean;
|
|
1183
1209
|
onOpenChange?: (open: boolean) => void;
|
|
1184
|
-
}
|
|
1210
|
+
}, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1185
1211
|
|
|
1186
|
-
export declare
|
|
1212
|
+
export declare const SidebarRail: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1187
1213
|
|
|
1188
|
-
export declare
|
|
1214
|
+
export declare const SidebarSeparator: React_2.ForwardRefExoticComponent<Omit<SeparatorProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1189
1215
|
|
|
1190
|
-
export declare
|
|
1216
|
+
export declare const SidebarTrigger: React_2.ForwardRefExoticComponent<Omit<ButtonProps_2, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
|
|
1191
1217
|
|
|
1192
1218
|
declare const sizeMap: {
|
|
1193
1219
|
xs: number;
|
|
@@ -1199,6 +1225,23 @@ declare const sizeMap: {
|
|
|
1199
1225
|
|
|
1200
1226
|
export declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
|
|
1201
1227
|
|
|
1228
|
+
export declare const Slider: React_2.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
|
|
1229
|
+
size?: "base" | "large" | "medium" | null | undefined;
|
|
1230
|
+
} & ClassProp) | undefined) => string> & {
|
|
1231
|
+
formatValue?: (value: number) => string;
|
|
1232
|
+
showValues?: boolean;
|
|
1233
|
+
showStickyLabel?: boolean;
|
|
1234
|
+
stickyLabelSuffix?: string;
|
|
1235
|
+
fillOffset?: boolean;
|
|
1236
|
+
offsetValue?: number;
|
|
1237
|
+
/**
|
|
1238
|
+
* Valori predefiniti per la selezione a step
|
|
1239
|
+
* Es: [0, 25, 50, 75, 100]
|
|
1240
|
+
*/
|
|
1241
|
+
steps?: number[];
|
|
1242
|
+
showStepMarkers?: boolean;
|
|
1243
|
+
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
1244
|
+
|
|
1202
1245
|
declare interface SourcePart {
|
|
1203
1246
|
type: "source";
|
|
1204
1247
|
}
|