@pixpilot/shadcn-ui 3.5.1 → 3.6.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/absolute-fill/AbsoluteFill.d.ts +2 -2
- package/dist/button/Button.d.cts +2 -2
- package/dist/button/Button.d.ts +2 -2
- package/dist/button-extended/ButtonExtended.d.cts +2 -2
- package/dist/button-extended/ButtonExtended.d.ts +2 -2
- package/dist/card/Card.d.cts +3 -3
- package/dist/card/Card.d.ts +3 -3
- package/dist/color-select/ColorSelect.d.ts +2 -2
- package/dist/content-card/ContentCard.d.cts +2 -2
- package/dist/date-picker/DatePicker.d.cts +2 -2
- package/dist/date-picker/DatePicker.d.ts +2 -2
- package/dist/dialog/Dialog.d.cts +5 -5
- package/dist/dialog/Dialog.d.ts +5 -5
- package/dist/drawer/Drawer.cjs +3 -3
- package/dist/drawer/Drawer.d.cts +6 -6
- package/dist/drawer/Drawer.js +3 -3
- package/dist/file-upload/FileUpload.d.cts +2 -2
- package/dist/file-upload/FileUpload.d.ts +2 -2
- package/dist/file-upload-inline/FileUploadInline.d.cts +2 -2
- package/dist/file-upload-root/FileUploadRoot.d.cts +2 -2
- package/dist/input/Input.d.cts +2 -2
- package/dist/input/Input.d.ts +2 -2
- package/dist/rating/Rating.d.cts +4 -4
- package/dist/rating/Rating.d.ts +4 -4
- package/dist/rich-text-editor/RichTextEditor.cjs +4 -1
- package/dist/rich-text-editor/RichTextEditor.d.cts +6 -3
- package/dist/rich-text-editor/RichTextEditor.d.ts +6 -3
- package/dist/rich-text-editor/RichTextEditor.js +4 -1
- package/dist/rich-text-editor/mcp.js +51 -8
- package/dist/select/Select.d.cts +2 -2
- package/dist/select/Select.d.ts +2 -2
- package/dist/tags-input/TagsInput.d.ts +2 -2
- package/dist/tags-input/TagsInputInline.d.ts +2 -2
- package/dist/theme-toggle/ThemeModeDropdown.d.cts +2 -2
- package/dist/theme-toggle/ThemeModeDropdown.d.ts +2 -2
- package/dist/theme-toggle/ThemeModeSwitchInside.d.ts +2 -2
- package/dist/theme-toggle/ThemeModeSwitchOutside.d.cts +2 -2
- package/dist/theme-toggle/ThemeModeSwitchOutside.d.ts +2 -2
- package/dist/theme-toggle/ThemeModeToggleButton.d.cts +2 -2
- package/dist/theme-toggle/ThemeModeToggleButton.d.ts +2 -2
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/absolute-fill/AbsoluteFill.d.ts
|
|
5
5
|
|
|
@@ -10,7 +10,7 @@ import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
|
10
10
|
*/
|
|
11
11
|
declare function AbsoluteFill(props: React.HTMLAttributes<HTMLDivElement> & {
|
|
12
12
|
ref?: React.Ref<HTMLDivElement>;
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
14
14
|
declare namespace AbsoluteFill {
|
|
15
15
|
var displayName: string;
|
|
16
16
|
}
|
package/dist/button/Button.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import { Button, Tooltip, TooltipContent, TooltipTrigger, buttonVariants } from "@pixpilot/shadcn";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
@@ -27,7 +27,7 @@ interface ButtonProps extends React.ComponentProps<typeof Button>, VariantProps<
|
|
|
27
27
|
}
|
|
28
28
|
declare function Button$1(props: ButtonProps & {
|
|
29
29
|
ref?: React.Ref<HTMLButtonElement>;
|
|
30
|
-
}):
|
|
30
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
31
31
|
declare namespace Button$1 {
|
|
32
32
|
var displayName: string;
|
|
33
33
|
}
|
package/dist/button/Button.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Button, Tooltip, TooltipContent, TooltipTrigger, buttonVariants } from "@pixpilot/shadcn";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
6
|
//#region src/button/Button.d.ts
|
|
@@ -27,7 +27,7 @@ interface ButtonProps extends React.ComponentProps<typeof Button>, VariantProps<
|
|
|
27
27
|
}
|
|
28
28
|
declare function Button$1(props: ButtonProps & {
|
|
29
29
|
ref?: React.Ref<HTMLButtonElement>;
|
|
30
|
-
}):
|
|
30
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
31
31
|
declare namespace Button$1 {
|
|
32
32
|
var displayName: string;
|
|
33
33
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
2
2
|
import { Button, Tooltip, TooltipContent, TooltipTrigger, buttonVariants } from "@pixpilot/shadcn";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
@@ -50,7 +50,7 @@ interface ButtonExtendedProps extends React.ComponentProps<typeof Button>, Varia
|
|
|
50
50
|
}
|
|
51
51
|
declare function ButtonExtended(props: ButtonExtendedProps & {
|
|
52
52
|
ref?: React.Ref<HTMLButtonElement>;
|
|
53
|
-
}):
|
|
53
|
+
}): react_jsx_runtime9.JSX.Element;
|
|
54
54
|
declare namespace ButtonExtended {
|
|
55
55
|
var displayName: string;
|
|
56
56
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Button, Tooltip, TooltipContent, TooltipTrigger, buttonVariants } from "@pixpilot/shadcn";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
6
|
//#region src/button-extended/ButtonExtended.d.ts
|
|
@@ -50,7 +50,7 @@ interface ButtonExtendedProps extends React.ComponentProps<typeof Button>, Varia
|
|
|
50
50
|
}
|
|
51
51
|
declare function ButtonExtended(props: ButtonExtendedProps & {
|
|
52
52
|
ref?: React.Ref<HTMLButtonElement>;
|
|
53
|
-
}):
|
|
53
|
+
}): react_jsx_runtime2.JSX.Element;
|
|
54
54
|
declare namespace ButtonExtended {
|
|
55
55
|
var displayName: string;
|
|
56
56
|
}
|
package/dist/card/Card.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
2
2
|
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@pixpilot/shadcn";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
@@ -6,10 +6,10 @@ import React from "react";
|
|
|
6
6
|
declare function CardTitle$1({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof CardTitle>):
|
|
9
|
+
}: React.ComponentProps<typeof CardTitle>): react_jsx_runtime10.JSX.Element;
|
|
10
10
|
declare function CardHeader$1({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof CardHeader>):
|
|
13
|
+
}: React.ComponentProps<typeof CardHeader>): react_jsx_runtime10.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader$1 as CardHeader, CardTitle$1 as CardTitle };
|
package/dist/card/Card.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@pixpilot/shadcn";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/card/Card.d.ts
|
|
6
6
|
declare function CardTitle$1({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof CardTitle>):
|
|
9
|
+
}: React.ComponentProps<typeof CardTitle>): react_jsx_runtime3.JSX.Element;
|
|
10
10
|
declare function CardHeader$1({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof CardHeader>):
|
|
13
|
+
}: React.ComponentProps<typeof CardHeader>): react_jsx_runtime3.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader$1 as CardHeader, CardTitle$1 as CardTitle };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Select, SelectContent } from "@pixpilot/shadcn";
|
|
2
2
|
import React, { ComponentProps } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/color-select/ColorSelect.d.ts
|
|
6
6
|
interface ColorSelectOption {
|
|
@@ -17,6 +17,6 @@ type BaseColorSelectProps = {
|
|
|
17
17
|
keyboardMode?: 'cycle' | 'dropdown';
|
|
18
18
|
className?: string;
|
|
19
19
|
} & Omit<ComponentProps<typeof Select>, 'value' | 'onValueChange' | 'children'>;
|
|
20
|
-
declare function ColorSelect(props: BaseColorSelectProps):
|
|
20
|
+
declare function ColorSelect(props: BaseColorSelectProps): react_jsx_runtime5.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { BaseColorSelectProps, ColorSelect, ColorSelectOption };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Card } from "../card/Card.cjs";
|
|
2
2
|
import "../card/index.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/content-card/ContentCard.d.ts
|
|
@@ -9,7 +9,7 @@ interface SectionCardProps extends React.ComponentProps<typeof Card> {
|
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
marginBottom?: boolean;
|
|
11
11
|
}
|
|
12
|
-
declare function ContentCard(props: SectionCardProps):
|
|
12
|
+
declare function ContentCard(props: SectionCardProps): react_jsx_runtime16.JSX.Element;
|
|
13
13
|
declare namespace ContentCard {
|
|
14
14
|
var displayName: string;
|
|
15
15
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
2
2
|
import { Calendar } from "@pixpilot/shadcn";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
4
|
|
|
@@ -10,7 +10,7 @@ type DatePickerProps = {
|
|
|
10
10
|
placeholder?: string;
|
|
11
11
|
showClearButton?: boolean;
|
|
12
12
|
} & Omit<ComponentProps<typeof Calendar>, 'selected' | 'onSelect' | 'mode'>;
|
|
13
|
-
declare function DatePicker(props: DatePickerProps):
|
|
13
|
+
declare function DatePicker(props: DatePickerProps): react_jsx_runtime21.JSX.Element;
|
|
14
14
|
declare namespace DatePicker {
|
|
15
15
|
var displayName: string;
|
|
16
16
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Calendar } from "@pixpilot/shadcn";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/date-picker/DatePicker.d.ts
|
|
6
6
|
type DatePickerProps = {
|
|
@@ -10,7 +10,7 @@ type DatePickerProps = {
|
|
|
10
10
|
placeholder?: string;
|
|
11
11
|
showClearButton?: boolean;
|
|
12
12
|
} & Omit<ComponentProps<typeof Calendar>, 'selected' | 'onSelect' | 'mode'>;
|
|
13
|
-
declare function DatePicker(props: DatePickerProps):
|
|
13
|
+
declare function DatePicker(props: DatePickerProps): react_jsx_runtime11.JSX.Element;
|
|
14
14
|
declare namespace DatePicker {
|
|
15
15
|
var displayName: string;
|
|
16
16
|
}
|
package/dist/dialog/Dialog.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
2
2
|
import { DialogClose, DialogContent } from "@pixpilot/shadcn";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
|
|
@@ -10,18 +10,18 @@ declare const DialogContent$1: React$1.ForwardRefExoticComponent<DialogContentPr
|
|
|
10
10
|
declare function DialogHeader({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React$1.HTMLAttributes<HTMLDivElement>):
|
|
13
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime17.JSX.Element;
|
|
14
14
|
declare function DialogBody({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.HTMLAttributes<HTMLDivElement>):
|
|
17
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime17.JSX.Element;
|
|
18
18
|
declare function DialogFooter({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React$1.HTMLAttributes<HTMLDivElement>):
|
|
21
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime17.JSX.Element;
|
|
22
22
|
declare function DialogClose$1({
|
|
23
23
|
className,
|
|
24
24
|
...props
|
|
25
|
-
}: React$1.ComponentPropsWithoutRef<typeof DialogClose>):
|
|
25
|
+
}: React$1.ComponentPropsWithoutRef<typeof DialogClose>): react_jsx_runtime17.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { DialogBody, DialogClose$1 as DialogClose, DialogContent$1 as DialogContent, DialogContentProps, DialogFooter, DialogHeader };
|
package/dist/dialog/Dialog.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DialogClose, DialogContent } from "@pixpilot/shadcn";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/dialog/Dialog.d.ts
|
|
6
6
|
interface DialogContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogContent> {
|
|
@@ -10,18 +10,18 @@ declare const DialogContent$1: React$1.ForwardRefExoticComponent<DialogContentPr
|
|
|
10
10
|
declare function DialogHeader$1({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React$1.HTMLAttributes<HTMLDivElement>):
|
|
13
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime7.JSX.Element;
|
|
14
14
|
declare function DialogBody({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.HTMLAttributes<HTMLDivElement>):
|
|
17
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime7.JSX.Element;
|
|
18
18
|
declare function DialogFooter$1({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React$1.HTMLAttributes<HTMLDivElement>):
|
|
21
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime7.JSX.Element;
|
|
22
22
|
declare function DialogClose$1({
|
|
23
23
|
className,
|
|
24
24
|
...props
|
|
25
|
-
}: React$1.ComponentPropsWithoutRef<typeof DialogClose>):
|
|
25
|
+
}: React$1.ComponentPropsWithoutRef<typeof DialogClose>): react_jsx_runtime7.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { DialogBody, DialogClose$1 as DialogClose, DialogContent$1 as DialogContent, DialogContentProps, DialogFooter$1 as DialogFooter, DialogHeader$1 as DialogHeader };
|
package/dist/drawer/Drawer.cjs
CHANGED
|
@@ -62,7 +62,7 @@ const DrawerContent = react.forwardRef(({ className, floating = true, showCloseB
|
|
|
62
62
|
DrawerContent.displayName = "DrawerContent";
|
|
63
63
|
function DrawerHeader({ className, noDrag,...props }) {
|
|
64
64
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
65
|
-
"data-slot": "header",
|
|
65
|
+
"data-slot": "drawer-header",
|
|
66
66
|
className: (0, __pixpilot_shadcn.cn)("flex shrink-0 flex-col gap-2.5", className),
|
|
67
67
|
...useNoDragProps(noDrag),
|
|
68
68
|
...props
|
|
@@ -70,7 +70,7 @@ function DrawerHeader({ className, noDrag,...props }) {
|
|
|
70
70
|
}
|
|
71
71
|
function DrawerBody({ className, noDrag,...props }) {
|
|
72
72
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
73
|
-
"data-slot": "body",
|
|
73
|
+
"data-slot": "drawer-body",
|
|
74
74
|
className: (0, __pixpilot_shadcn.cn)("min-h-0 flex-1 overflow-auto -mx-6 px-6", className),
|
|
75
75
|
...useNoDragProps(noDrag),
|
|
76
76
|
...props
|
|
@@ -78,7 +78,7 @@ function DrawerBody({ className, noDrag,...props }) {
|
|
|
78
78
|
}
|
|
79
79
|
function DrawerFooter({ className, noDrag,...props }) {
|
|
80
80
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
81
|
-
"data-slot": "footer",
|
|
81
|
+
"data-slot": "drawer-footer",
|
|
82
82
|
className: (0, __pixpilot_shadcn.cn)("flex shrink-0 justify-end space-x-2", className),
|
|
83
83
|
...useNoDragProps(noDrag),
|
|
84
84
|
...props
|
package/dist/drawer/Drawer.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
2
2
|
import { Drawer, DrawerClose, DrawerContent } from "@pixpilot/shadcn";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import * as _radix_ui_react_dialog0 from "@radix-ui/react-dialog";
|
|
@@ -22,7 +22,7 @@ type DrawerProps = React$1.ComponentProps<typeof Drawer> & NoDragProps;
|
|
|
22
22
|
declare function Drawer$1({
|
|
23
23
|
noDrag,
|
|
24
24
|
...props
|
|
25
|
-
}: DrawerProps):
|
|
25
|
+
}: DrawerProps): react_jsx_runtime2.JSX.Element;
|
|
26
26
|
type DrawerContentProps = React$1.ComponentPropsWithoutRef<typeof DrawerContent> & NoDragProps & {
|
|
27
27
|
/**
|
|
28
28
|
* Detach the drawer from the viewport edges: adds a gap on every side and
|
|
@@ -45,21 +45,21 @@ declare function DrawerHeader({
|
|
|
45
45
|
className,
|
|
46
46
|
noDrag,
|
|
47
47
|
...props
|
|
48
|
-
}: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps):
|
|
48
|
+
}: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps): react_jsx_runtime2.JSX.Element;
|
|
49
49
|
declare function DrawerBody({
|
|
50
50
|
className,
|
|
51
51
|
noDrag,
|
|
52
52
|
...props
|
|
53
|
-
}: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps):
|
|
53
|
+
}: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps): react_jsx_runtime2.JSX.Element;
|
|
54
54
|
declare function DrawerFooter({
|
|
55
55
|
className,
|
|
56
56
|
noDrag,
|
|
57
57
|
...props
|
|
58
|
-
}: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps):
|
|
58
|
+
}: React$1.HTMLAttributes<HTMLDivElement> & NoDragProps): react_jsx_runtime2.JSX.Element;
|
|
59
59
|
declare function DrawerClose$1({
|
|
60
60
|
className,
|
|
61
61
|
noDrag,
|
|
62
62
|
...props
|
|
63
|
-
}: React$1.ComponentPropsWithoutRef<typeof DrawerClose> & NoDragProps):
|
|
63
|
+
}: React$1.ComponentPropsWithoutRef<typeof DrawerClose> & NoDragProps): react_jsx_runtime2.JSX.Element;
|
|
64
64
|
//#endregion
|
|
65
65
|
export { Drawer$1 as Drawer, DrawerBody, DrawerClose$1 as DrawerClose, DrawerContent$1 as DrawerContent, DrawerContentProps, DrawerFooter, DrawerHeader, DrawerProps };
|
package/dist/drawer/Drawer.js
CHANGED
|
@@ -57,7 +57,7 @@ const DrawerContent$1 = React$1.forwardRef(({ className, floating = true, showCl
|
|
|
57
57
|
DrawerContent$1.displayName = "DrawerContent";
|
|
58
58
|
function DrawerHeader({ className, noDrag,...props }) {
|
|
59
59
|
return /* @__PURE__ */ jsx("div", {
|
|
60
|
-
"data-slot": "header",
|
|
60
|
+
"data-slot": "drawer-header",
|
|
61
61
|
className: cn("flex shrink-0 flex-col gap-2.5", className),
|
|
62
62
|
...useNoDragProps(noDrag),
|
|
63
63
|
...props
|
|
@@ -65,7 +65,7 @@ function DrawerHeader({ className, noDrag,...props }) {
|
|
|
65
65
|
}
|
|
66
66
|
function DrawerBody({ className, noDrag,...props }) {
|
|
67
67
|
return /* @__PURE__ */ jsx("div", {
|
|
68
|
-
"data-slot": "body",
|
|
68
|
+
"data-slot": "drawer-body",
|
|
69
69
|
className: cn("min-h-0 flex-1 overflow-auto -mx-6 px-6", className),
|
|
70
70
|
...useNoDragProps(noDrag),
|
|
71
71
|
...props
|
|
@@ -73,7 +73,7 @@ function DrawerBody({ className, noDrag,...props }) {
|
|
|
73
73
|
}
|
|
74
74
|
function DrawerFooter({ className, noDrag,...props }) {
|
|
75
75
|
return /* @__PURE__ */ jsx("div", {
|
|
76
|
-
"data-slot": "footer",
|
|
76
|
+
"data-slot": "drawer-footer",
|
|
77
77
|
className: cn("flex shrink-0 justify-end space-x-2", className),
|
|
78
78
|
...useNoDragProps(noDrag),
|
|
79
79
|
...props
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FileUploadProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/file-upload/FileUpload.d.ts
|
|
5
|
-
declare function FileUpload(props: FileUploadProps):
|
|
5
|
+
declare function FileUpload(props: FileUploadProps): react_jsx_runtime13.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { FileUpload };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FileUploadProps } from "./types/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/file-upload/FileUpload.d.ts
|
|
5
|
-
declare function FileUpload(props: FileUploadProps):
|
|
5
|
+
declare function FileUpload(props: FileUploadProps): react_jsx_runtime0.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { FileUpload };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FileUploadInlineProps } from "./types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/file-upload-inline/FileUploadInline.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* FileUploadInline - An inline file upload component using FileUpload primitives
|
|
7
7
|
*/
|
|
8
|
-
declare function FileUploadInline(props: FileUploadInlineProps):
|
|
8
|
+
declare function FileUploadInline(props: FileUploadInlineProps): react_jsx_runtime7.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadInline };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FileUploadRootProps } from "./types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/file-upload-root/FileUploadRoot.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* FileUploadInline - An inline file upload component using FileUpload primitives
|
|
7
7
|
*/
|
|
8
|
-
declare function FileUploadRoot(props: FileUploadRootProps):
|
|
8
|
+
declare function FileUploadRoot(props: FileUploadRootProps): react_jsx_runtime8.JSX.Element;
|
|
9
9
|
declare namespace FileUploadRoot {
|
|
10
10
|
var displayName: string;
|
|
11
11
|
}
|
package/dist/input/Input.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
2
2
|
import { InputProps } from "@pixpilot/shadcn";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
|
|
@@ -10,6 +10,6 @@ type InputProps$1 = InputProps & {
|
|
|
10
10
|
prefixClassName?: string;
|
|
11
11
|
suffixClassName?: string;
|
|
12
12
|
};
|
|
13
|
-
declare function Input(props: InputProps$1):
|
|
13
|
+
declare function Input(props: InputProps$1): react_jsx_runtime12.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Input, InputProps$1 as InputProps };
|
package/dist/input/Input.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InputProps } from "@pixpilot/shadcn";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/input/Input.d.ts
|
|
6
6
|
type InputProps$1 = InputProps & {
|
|
@@ -10,6 +10,6 @@ type InputProps$1 = InputProps & {
|
|
|
10
10
|
prefixClassName?: string;
|
|
11
11
|
suffixClassName?: string;
|
|
12
12
|
};
|
|
13
|
-
declare function Input$1(props: InputProps$1):
|
|
13
|
+
declare function Input$1(props: InputProps$1): react_jsx_runtime19.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Input$1 as Input, InputProps$1 as InputProps };
|
package/dist/rating/Rating.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
@@ -10,7 +10,7 @@ interface RatingOption {
|
|
|
10
10
|
value: number;
|
|
11
11
|
}
|
|
12
12
|
declare const ratingVariants: (props?: ({
|
|
13
|
-
size?: "
|
|
13
|
+
size?: "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
14
14
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
15
15
|
type RatingSize = VariantProps<typeof ratingVariants>['size'];
|
|
16
16
|
type IconType = 'star' | 'circle';
|
|
@@ -35,7 +35,7 @@ declare function RatingButton({
|
|
|
35
35
|
index,
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: RatingButtonProps):
|
|
38
|
+
}: RatingButtonProps): react_jsx_runtime14.JSX.Element;
|
|
39
39
|
declare function Rating({
|
|
40
40
|
value: valueProp,
|
|
41
41
|
defaultValue,
|
|
@@ -53,6 +53,6 @@ declare function Rating({
|
|
|
53
53
|
children,
|
|
54
54
|
id,
|
|
55
55
|
...props
|
|
56
|
-
}: React$1.PropsWithChildren<RatingProps>):
|
|
56
|
+
}: React$1.PropsWithChildren<RatingProps>): react_jsx_runtime14.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps };
|
package/dist/rating/Rating.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
5
|
|
|
@@ -10,7 +10,7 @@ interface RatingOption {
|
|
|
10
10
|
value: number;
|
|
11
11
|
}
|
|
12
12
|
declare const ratingVariants: (props?: ({
|
|
13
|
-
size?: "
|
|
13
|
+
size?: "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
14
14
|
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
15
15
|
type RatingSize = VariantProps<typeof ratingVariants>['size'];
|
|
16
16
|
type IconType = 'star' | 'circle';
|
|
@@ -35,7 +35,7 @@ declare function RatingButton({
|
|
|
35
35
|
index,
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: RatingButtonProps):
|
|
38
|
+
}: RatingButtonProps): react_jsx_runtime21.JSX.Element;
|
|
39
39
|
declare function Rating({
|
|
40
40
|
value: valueProp,
|
|
41
41
|
defaultValue,
|
|
@@ -53,6 +53,6 @@ declare function Rating({
|
|
|
53
53
|
children,
|
|
54
54
|
id,
|
|
55
55
|
...props
|
|
56
|
-
}: React$1.PropsWithChildren<RatingProps>):
|
|
56
|
+
}: React$1.PropsWithChildren<RatingProps>): react_jsx_runtime21.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps };
|
|
@@ -135,7 +135,10 @@ const RichTextEditor = ({ value, onChange, extensions = defaultExtensions, edita
|
|
|
135
135
|
allowLinkTarget
|
|
136
136
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
137
137
|
className: "flex-1 min-h-0 overflow-y-auto",
|
|
138
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__tiptap_react.EditorContent, {
|
|
138
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__tiptap_react.EditorContent, {
|
|
139
|
+
editor: editorInstance,
|
|
140
|
+
"data-slot": "editor-content"
|
|
141
|
+
})
|
|
139
142
|
})]
|
|
140
143
|
});
|
|
141
144
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ToolbarButtonTooltipMode } from "./ToolbarButton.cjs";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { Editor,
|
|
3
|
+
import { Editor, Extensions } from "@tiptap/core";
|
|
4
4
|
import { UseEditorOptions } from "@tiptap/react";
|
|
5
5
|
|
|
6
6
|
//#region src/rich-text-editor/RichTextEditor.d.ts
|
|
@@ -39,9 +39,12 @@ interface RichTextEditorProps {
|
|
|
39
39
|
*/
|
|
40
40
|
onChange?: (content: string) => void;
|
|
41
41
|
/**
|
|
42
|
-
* Additional extensions to add to the editor
|
|
42
|
+
* Additional TipTap extensions to add to the editor. These are appended to
|
|
43
|
+
* the built-in extensions (StarterKit, Link, TextAlign, Placeholder), so you
|
|
44
|
+
* can plug in any TipTap `Extension`, `Node`, or `Mark` — official packages
|
|
45
|
+
* (e.g. `@tiptap/extension-highlight`) or your own custom ones.
|
|
43
46
|
*/
|
|
44
|
-
extensions?:
|
|
47
|
+
extensions?: Extensions;
|
|
45
48
|
/**
|
|
46
49
|
* Whether the editor is editable
|
|
47
50
|
* @default true
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ToolbarButtonTooltipMode } from "./ToolbarButton.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { UseEditorOptions } from "@tiptap/react";
|
|
4
|
-
import { Editor,
|
|
4
|
+
import { Editor, Extensions } from "@tiptap/core";
|
|
5
5
|
|
|
6
6
|
//#region src/rich-text-editor/RichTextEditor.d.ts
|
|
7
7
|
type EditorProps = Editor['options']['editorProps'];
|
|
@@ -39,9 +39,12 @@ interface RichTextEditorProps {
|
|
|
39
39
|
*/
|
|
40
40
|
onChange?: (content: string) => void;
|
|
41
41
|
/**
|
|
42
|
-
* Additional extensions to add to the editor
|
|
42
|
+
* Additional TipTap extensions to add to the editor. These are appended to
|
|
43
|
+
* the built-in extensions (StarterKit, Link, TextAlign, Placeholder), so you
|
|
44
|
+
* can plug in any TipTap `Extension`, `Node`, or `Mark` — official packages
|
|
45
|
+
* (e.g. `@tiptap/extension-highlight`) or your own custom ones.
|
|
43
46
|
*/
|
|
44
|
-
extensions?:
|
|
47
|
+
extensions?: Extensions;
|
|
45
48
|
/**
|
|
46
49
|
* Whether the editor is editable
|
|
47
50
|
* @default true
|
|
@@ -126,7 +126,10 @@ const RichTextEditor = ({ value, onChange, extensions = defaultExtensions, edita
|
|
|
126
126
|
allowLinkTarget
|
|
127
127
|
}), /* @__PURE__ */ jsx("div", {
|
|
128
128
|
className: "flex-1 min-h-0 overflow-y-auto",
|
|
129
|
-
children: /* @__PURE__ */ jsx(EditorContent, {
|
|
129
|
+
children: /* @__PURE__ */ jsx(EditorContent, {
|
|
130
|
+
editor: editorInstance,
|
|
131
|
+
"data-slot": "editor-content"
|
|
132
|
+
})
|
|
130
133
|
})]
|
|
131
134
|
});
|
|
132
135
|
};
|
|
@@ -25,7 +25,7 @@ const meta = {
|
|
|
25
25
|
defaultValue: "true"
|
|
26
26
|
},
|
|
27
27
|
toolbarItems: "Explicit toolbar items: predefined command strings, \"|\" separators, or custom button objects.",
|
|
28
|
-
extensions: "Additional TipTap extensions to
|
|
28
|
+
extensions: "Additional TipTap extensions appended to the built-in ones (StarterKit, Link, TextAlign, Placeholder). Accepts any TipTap Extension, Node, or Mark — official packages or your own custom ones. See the \"Add a custom extension\" example.",
|
|
29
29
|
editorProps: "Custom TipTap editorProps merged into the defaults.",
|
|
30
30
|
slots: "Class overrides for the root, toolbar (and its buttons/separators), and content area.",
|
|
31
31
|
placeholder: "Placeholder text shown when the editor is empty.",
|
|
@@ -58,13 +58,56 @@ const meta = {
|
|
|
58
58
|
name: "@tiptap/starter-kit",
|
|
59
59
|
type: "peer"
|
|
60
60
|
}],
|
|
61
|
-
examples: [
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
61
|
+
examples: [
|
|
62
|
+
{
|
|
63
|
+
title: "Basic editor",
|
|
64
|
+
code: "<RichTextEditor value={html} onChange={setHtml} placeholder=\"Write something…\" />"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
title: "Custom toolbar",
|
|
68
|
+
code: "<RichTextEditor value={html} onChange={setHtml} toolbarItems={[\"bold\", \"italic\", \"|\", \"bulletList\"]} />"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
title: "Add an official extension",
|
|
72
|
+
code: `// npm i @tiptap/extension-highlight
|
|
73
|
+
import Highlight from '@tiptap/extension-highlight';
|
|
74
|
+
|
|
75
|
+
// Extensions are appended to the built-in ones (StarterKit, Link, TextAlign, Placeholder).
|
|
76
|
+
<RichTextEditor value={html} onChange={setHtml} extensions={[Highlight]} />`
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
title: "Add a custom extension (Mark/Node/Extension) with a toolbar button",
|
|
80
|
+
code: `import { Mark, mergeAttributes } from '@tiptap/core';
|
|
81
|
+
|
|
82
|
+
// Any Mark.create / Node.create / Extension.create result can be passed to \`extensions\`.
|
|
83
|
+
const Highlight = Mark.create({
|
|
84
|
+
name: 'highlight',
|
|
85
|
+
parseHTML() {
|
|
86
|
+
return [{ tag: 'mark' }];
|
|
87
|
+
},
|
|
88
|
+
renderHTML({ HTMLAttributes }) {
|
|
89
|
+
return ['mark', mergeAttributes(HTMLAttributes), 0];
|
|
90
|
+
},
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
<RichTextEditor
|
|
94
|
+
value={html}
|
|
95
|
+
onChange={setHtml}
|
|
96
|
+
extensions={[Highlight]}
|
|
97
|
+
toolbarItems={[
|
|
98
|
+
'bold',
|
|
99
|
+
'italic',
|
|
100
|
+
'|',
|
|
101
|
+
{
|
|
102
|
+
icon: '🖍️',
|
|
103
|
+
tooltip: 'Highlight',
|
|
104
|
+
onClick: (editor) => editor.chain().focus().toggleMark('highlight').run(),
|
|
105
|
+
isActive: (editor) => editor.isActive('highlight'),
|
|
106
|
+
},
|
|
107
|
+
]}
|
|
108
|
+
/>`
|
|
109
|
+
}
|
|
110
|
+
],
|
|
68
111
|
keywords: [
|
|
69
112
|
"rich text",
|
|
70
113
|
"editor",
|
package/dist/select/Select.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
2
2
|
import { Select, SelectContent, SelectTrigger } from "@pixpilot/shadcn";
|
|
3
3
|
import React, { ComponentProps } from "react";
|
|
4
4
|
|
|
@@ -60,6 +60,6 @@ type BaseSelectProps = {
|
|
|
60
60
|
/** Styles the visible trigger. */
|
|
61
61
|
className?: string;
|
|
62
62
|
} & Omit<ComponentProps<typeof SelectTrigger>, 'onChange' | 'value'>;
|
|
63
|
-
declare function Select$1(props: BaseSelectProps):
|
|
63
|
+
declare function Select$1(props: BaseSelectProps): react_jsx_runtime22.JSX.Element;
|
|
64
64
|
//#endregion
|
|
65
65
|
export { BaseSelectProps, Select$1 as Select, SelectContentProps, SelectOption };
|
package/dist/select/Select.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Select, SelectContent, SelectTrigger } from "@pixpilot/shadcn";
|
|
2
2
|
import React, { ComponentProps } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/select/Select.d.ts
|
|
6
6
|
interface SelectOption {
|
|
@@ -60,6 +60,6 @@ type BaseSelectProps = {
|
|
|
60
60
|
/** Styles the visible trigger. */
|
|
61
61
|
className?: string;
|
|
62
62
|
} & Omit<ComponentProps<typeof SelectTrigger>, 'onChange' | 'value'>;
|
|
63
|
-
declare function Select$1(props: BaseSelectProps):
|
|
63
|
+
declare function Select$1(props: BaseSelectProps): react_jsx_runtime20.JSX.Element;
|
|
64
64
|
//#endregion
|
|
65
65
|
export { BaseSelectProps, Select$1 as Select, SelectContentProps, SelectOption };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CommandOptionListItem } from "../command-option-list/CommandOptionList.js";
|
|
2
2
|
import { TagsInputInline } from "./TagsInputInline.js";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/tags-input/TagsInput.d.ts
|
|
7
7
|
interface TagsInputProps extends Omit<ComponentProps<typeof TagsInputInline>, 'onChange' | 'value' | 'onValueChange' | 'onValidate' | 'items' | 'max' | 'inputRef' | 'inputPlaceholder' | 'inputValue' | 'onInputFocus' | 'onInputChange' | 'onInputKeyDown' | 'onInputMouseDown' | 'onListClick' | 'canAddCurrentValue' | 'onAddCurrentInput' | 'showClear'> {
|
|
@@ -32,6 +32,6 @@ interface TagsInputProps extends Omit<ComponentProps<typeof TagsInputInline>, 'o
|
|
|
32
32
|
* - Options support with dropdown (like Select)
|
|
33
33
|
* - freeSolo mode for custom tags (like MUI Autocomplete)
|
|
34
34
|
*/
|
|
35
|
-
declare function TagsInput(props: TagsInputProps):
|
|
35
|
+
declare function TagsInput(props: TagsInputProps): react_jsx_runtime24.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { TagsInput, TagsInputProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeEventHandler, FocusEventHandler, KeyboardEventHandler, MouseEventHandler, Ref } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/tags-input/TagsInputInline.d.ts
|
|
5
5
|
interface TagsInputInlineItem {
|
|
@@ -77,6 +77,6 @@ declare function TagsInputInline({
|
|
|
77
77
|
canAddCurrentValue,
|
|
78
78
|
onAddCurrentInput,
|
|
79
79
|
showClear
|
|
80
|
-
}: TagsInputInlineProps):
|
|
80
|
+
}: TagsInputInlineProps): react_jsx_runtime23.JSX.Element;
|
|
81
81
|
//#endregion
|
|
82
82
|
export { TagsInputInline, TagsInputInlineItem, TagsInputInlineProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/theme-toggle/ThemeModeDropdown.d.ts
|
|
4
4
|
interface ThemeModeDropdownProps {
|
|
@@ -18,7 +18,7 @@ interface ThemeModeDropdownProps {
|
|
|
18
18
|
* Provides Light / Dark / System options.
|
|
19
19
|
* Pure component - requires themeValue and onChange props.
|
|
20
20
|
*/
|
|
21
|
-
declare function ThemeModeDropdown(props: ThemeModeDropdownProps):
|
|
21
|
+
declare function ThemeModeDropdown(props: ThemeModeDropdownProps): react_jsx_runtime25.JSX.Element;
|
|
22
22
|
declare namespace ThemeModeDropdown {
|
|
23
23
|
var displayName: string;
|
|
24
24
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/theme-toggle/ThemeModeDropdown.d.ts
|
|
4
4
|
interface ThemeModeDropdownProps {
|
|
@@ -18,7 +18,7 @@ interface ThemeModeDropdownProps {
|
|
|
18
18
|
* Provides Light / Dark / System options.
|
|
19
19
|
* Pure component - requires themeValue and onChange props.
|
|
20
20
|
*/
|
|
21
|
-
declare function ThemeModeDropdown(props: ThemeModeDropdownProps):
|
|
21
|
+
declare function ThemeModeDropdown(props: ThemeModeDropdownProps): react_jsx_runtime26.JSX.Element;
|
|
22
22
|
declare namespace ThemeModeDropdown {
|
|
23
23
|
var displayName: string;
|
|
24
24
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/theme-toggle/ThemeModeSwitchInside.d.ts
|
|
4
4
|
type ThemeModeSwitchInsideSize = 'sm' | 'md' | 'lg';
|
|
@@ -26,7 +26,7 @@ interface ThemeModeSwitchInsideProps {
|
|
|
26
26
|
* Icons are embedded within the switch control.
|
|
27
27
|
* Pure component - requires value and onChange props.
|
|
28
28
|
*/
|
|
29
|
-
declare function ThemeModeSwitchInside(props: ThemeModeSwitchInsideProps):
|
|
29
|
+
declare function ThemeModeSwitchInside(props: ThemeModeSwitchInsideProps): react_jsx_runtime27.JSX.Element;
|
|
30
30
|
declare namespace ThemeModeSwitchInside {
|
|
31
31
|
var displayName: string;
|
|
32
32
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/theme-toggle/ThemeModeSwitchOutside.d.ts
|
|
4
4
|
interface ThemeModeSwitchOutsideProps {
|
|
@@ -23,7 +23,7 @@ interface ThemeModeSwitchOutsideProps {
|
|
|
23
23
|
* Icons flank the switch control on either side.
|
|
24
24
|
* Pure component - requires value and onChange props.
|
|
25
25
|
*/
|
|
26
|
-
declare function ThemeModeSwitchOutside(props: ThemeModeSwitchOutsideProps):
|
|
26
|
+
declare function ThemeModeSwitchOutside(props: ThemeModeSwitchOutsideProps): react_jsx_runtime26.JSX.Element;
|
|
27
27
|
declare namespace ThemeModeSwitchOutside {
|
|
28
28
|
var displayName: string;
|
|
29
29
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/theme-toggle/ThemeModeSwitchOutside.d.ts
|
|
4
4
|
interface ThemeModeSwitchOutsideProps {
|
|
@@ -23,7 +23,7 @@ interface ThemeModeSwitchOutsideProps {
|
|
|
23
23
|
* Icons flank the switch control on either side.
|
|
24
24
|
* Pure component - requires value and onChange props.
|
|
25
25
|
*/
|
|
26
|
-
declare function ThemeModeSwitchOutside(props: ThemeModeSwitchOutsideProps):
|
|
26
|
+
declare function ThemeModeSwitchOutside(props: ThemeModeSwitchOutsideProps): react_jsx_runtime28.JSX.Element;
|
|
27
27
|
declare namespace ThemeModeSwitchOutside {
|
|
28
28
|
var displayName: string;
|
|
29
29
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/theme-toggle/ThemeModeToggleButton.d.ts
|
|
4
4
|
interface ThemeModeToggleButtonProps {
|
|
@@ -14,7 +14,7 @@ interface ThemeModeToggleButtonProps {
|
|
|
14
14
|
* Light/Dark toggle button.
|
|
15
15
|
* Pure component - toggles between light and dark.
|
|
16
16
|
*/
|
|
17
|
-
declare function ThemeModeToggleButton(props: ThemeModeToggleButtonProps):
|
|
17
|
+
declare function ThemeModeToggleButton(props: ThemeModeToggleButtonProps): react_jsx_runtime28.JSX.Element;
|
|
18
18
|
declare namespace ThemeModeToggleButton {
|
|
19
19
|
var displayName: string;
|
|
20
20
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/theme-toggle/ThemeModeToggleButton.d.ts
|
|
4
4
|
interface ThemeModeToggleButtonProps {
|
|
@@ -14,7 +14,7 @@ interface ThemeModeToggleButtonProps {
|
|
|
14
14
|
* Light/Dark toggle button.
|
|
15
15
|
* Pure component - toggles between light and dark.
|
|
16
16
|
*/
|
|
17
|
-
declare function ThemeModeToggleButton(props: ThemeModeToggleButtonProps):
|
|
17
|
+
declare function ThemeModeToggleButton(props: ThemeModeToggleButtonProps): react_jsx_runtime25.JSX.Element;
|
|
18
18
|
declare namespace ThemeModeToggleButton {
|
|
19
19
|
var displayName: string;
|
|
20
20
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixpilot/shadcn-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.6.1",
|
|
5
5
|
"description": "Custom UI components and utilities built with shadcn/ui.",
|
|
6
6
|
"author": "m.doaie <m.doaie@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@iconify-json/mdi": "^1.2.3",
|
|
38
38
|
"@iconify/react": "^6.0.2",
|
|
39
39
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
40
|
-
"@pixpilot/hash": "^0.2.
|
|
40
|
+
"@pixpilot/hash": "^0.2.1",
|
|
41
41
|
"@pixpilot/string": "^3.0.1",
|
|
42
42
|
"@radix-ui/react-slot": "^1.2.4",
|
|
43
43
|
"@tailwindcss/typography": "^0.5.19",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@tiptap/react": "^3.22.3",
|
|
50
50
|
"@tiptap/starter-kit": "^3.22.3",
|
|
51
51
|
"class-variance-authority": "^0.7.1",
|
|
52
|
-
"lucide-react": "
|
|
52
|
+
"lucide-react": "1.25.0",
|
|
53
53
|
"next-themes": "0.4.6",
|
|
54
54
|
"pretty-bytes": "^7.1.0",
|
|
55
55
|
"react-responsive": "^10.0.1",
|
|
@@ -65,17 +65,17 @@
|
|
|
65
65
|
"eslint": "^9.39.4",
|
|
66
66
|
"jsdom": "^27.4.0",
|
|
67
67
|
"postcss": "^8.5.14",
|
|
68
|
-
"react": "19.2.
|
|
69
|
-
"react-dom": "19.2.
|
|
68
|
+
"react": "19.2.8",
|
|
69
|
+
"react-dom": "19.2.8",
|
|
70
70
|
"tailwindcss": "^4.2.2",
|
|
71
71
|
"tsdown": "^0.15.12",
|
|
72
72
|
"tsx": "^4.21.0",
|
|
73
73
|
"typescript": "^5.9.3",
|
|
74
74
|
"@internal/eslint-config": "0.3.0",
|
|
75
|
-
"@internal/hooks": "0.0.0",
|
|
76
75
|
"@internal/mcp": "0.0.0",
|
|
77
76
|
"@internal/prettier-config": "0.0.1",
|
|
78
77
|
"@internal/tsconfig": "0.1.0",
|
|
78
|
+
"@internal/hooks": "0.0.0",
|
|
79
79
|
"@internal/tsdown-config": "0.1.0",
|
|
80
80
|
"@internal/vitest-config": "0.1.0"
|
|
81
81
|
},
|