@pixpilot/shadcn-ui 0.46.0 → 0.47.0
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/AbsoluteFill.d.ts +2 -2
- package/dist/Button.cjs +1 -1
- package/dist/Button.d.ts +2 -2
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.cjs +37 -0
- package/dist/ButtonGroup.d.cts +24 -0
- package/dist/ButtonGroup.d.ts +24 -0
- package/dist/ButtonGroup.js +31 -0
- package/dist/ColorSelect.d.ts +2 -2
- package/dist/ContentCard.d.ts +2 -2
- package/dist/DatePicker.d.ts +2 -2
- package/dist/Rating.cjs +9 -9
- package/dist/Rating.d.ts +3 -3
- package/dist/Rating.js +9 -9
- package/dist/Select.d.ts +2 -2
- package/dist/TagsInput.d.ts +2 -2
- package/dist/ToggleGroup.cjs +3 -0
- package/dist/ToggleGroup.d.cts +6 -0
- package/dist/ToggleGroup.d.ts +6 -0
- package/dist/ToggleGroup.js +3 -0
- package/dist/dialog/Dialog.d.ts +4 -4
- package/dist/file-upload/FileUpload.d.ts +2 -2
- package/dist/file-upload-inline/FileUploadInline.d.cts +2 -2
- package/dist/index.cjs +17 -0
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/input/Input.d.cts +2 -2
- package/dist/input/Input.d.ts +2 -2
- package/dist/theme-toggle/ThemeModeToggleButton.d.ts +2 -2
- package/package.json +2 -2
package/dist/AbsoluteFill.d.ts
CHANGED
|
@@ -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/AbsoluteFill.d.ts
|
|
5
5
|
|
|
@@ -10,7 +10,7 @@ import * as react_jsx_runtime3 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.cjs
CHANGED
|
@@ -17,7 +17,7 @@ const LOADER_SIZE_LG = 20;
|
|
|
17
17
|
* Get loader size based on button size
|
|
18
18
|
*/
|
|
19
19
|
function getLoaderSize(size) {
|
|
20
|
-
if (size === "sm" || size === "icon-sm") return LOADER_SIZE_SM;
|
|
20
|
+
if (size === "xs" || size === "sm" || size === "icon-xs" || size === "icon-sm") return LOADER_SIZE_SM;
|
|
21
21
|
if (size === "lg" || size === "icon-lg") return LOADER_SIZE_LG;
|
|
22
22
|
return LOADER_SIZE_DEFAULT;
|
|
23
23
|
}
|
package/dist/Button.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Button, Tooltip, buttonVariants } from "@pixpilot/shadcn";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
6
|
//#region src/Button.d.ts
|
|
@@ -39,7 +39,7 @@ interface ButtonProps extends React.ComponentProps<typeof Button>, VariantProps<
|
|
|
39
39
|
}
|
|
40
40
|
declare function Button$1(props: ButtonProps & {
|
|
41
41
|
ref?: React.Ref<HTMLButtonElement>;
|
|
42
|
-
}):
|
|
42
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
43
43
|
declare namespace Button$1 {
|
|
44
44
|
var displayName: string;
|
|
45
45
|
}
|
package/dist/Button.js
CHANGED
|
@@ -12,7 +12,7 @@ const LOADER_SIZE_LG = 20;
|
|
|
12
12
|
* Get loader size based on button size
|
|
13
13
|
*/
|
|
14
14
|
function getLoaderSize(size) {
|
|
15
|
-
if (size === "sm" || size === "icon-sm") return LOADER_SIZE_SM;
|
|
15
|
+
if (size === "xs" || size === "sm" || size === "icon-xs" || size === "icon-sm") return LOADER_SIZE_SM;
|
|
16
16
|
if (size === "lg" || size === "icon-lg") return LOADER_SIZE_LG;
|
|
17
17
|
return LOADER_SIZE_DEFAULT;
|
|
18
18
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let __pixpilot_shadcn = require("@pixpilot/shadcn");
|
|
3
|
+
__pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
|
|
4
|
+
let react = require("react");
|
|
5
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
+
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
8
|
+
|
|
9
|
+
//#region src/ButtonGroup.tsx
|
|
10
|
+
/**
|
|
11
|
+
* A simple container component that groups buttons together visually.
|
|
12
|
+
* Renders child Button components with proper styling to create a cohesive button group.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* <ButtonGroup>
|
|
17
|
+
* <Button variant="outline">First</Button>
|
|
18
|
+
* <Button variant="outline">Second</Button>
|
|
19
|
+
* <Button variant="outline">Third</Button>
|
|
20
|
+
* </ButtonGroup>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
const ButtonGroup = react.forwardRef(({ orientation,...props }, ref) => {
|
|
24
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.ButtonGroup, {
|
|
25
|
+
ref,
|
|
26
|
+
orientation,
|
|
27
|
+
...props
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
ButtonGroup.displayName = "ButtonGroup";
|
|
31
|
+
const ButtonGroupSeparator = __pixpilot_shadcn.ButtonGroupSeparator;
|
|
32
|
+
const ButtonGroupText = __pixpilot_shadcn.ButtonGroupText;
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
exports.ButtonGroup = ButtonGroup;
|
|
36
|
+
exports.ButtonGroupSeparator = ButtonGroupSeparator;
|
|
37
|
+
exports.ButtonGroupText = ButtonGroupText;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants } from "@pixpilot/shadcn";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
|
|
5
|
+
//#region src/ButtonGroup.d.ts
|
|
6
|
+
type ButtonGroupProps = React$1.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>;
|
|
7
|
+
/**
|
|
8
|
+
* A simple container component that groups buttons together visually.
|
|
9
|
+
* Renders child Button components with proper styling to create a cohesive button group.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <ButtonGroup>
|
|
14
|
+
* <Button variant="outline">First</Button>
|
|
15
|
+
* <Button variant="outline">Second</Button>
|
|
16
|
+
* <Button variant="outline">Third</Button>
|
|
17
|
+
* </ButtonGroup>
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
declare const ButtonGroup: React$1.ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
declare const ButtonGroupSeparator$1: typeof ButtonGroupSeparator;
|
|
22
|
+
declare const ButtonGroupText$1: typeof ButtonGroupText;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { ButtonGroup, ButtonGroupProps, ButtonGroupSeparator$1 as ButtonGroupSeparator, ButtonGroupText$1 as ButtonGroupText };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants } from "@pixpilot/shadcn";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
|
|
5
|
+
//#region src/ButtonGroup.d.ts
|
|
6
|
+
type ButtonGroupProps = React$1.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>;
|
|
7
|
+
/**
|
|
8
|
+
* A simple container component that groups buttons together visually.
|
|
9
|
+
* Renders child Button components with proper styling to create a cohesive button group.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <ButtonGroup>
|
|
14
|
+
* <Button variant="outline">First</Button>
|
|
15
|
+
* <Button variant="outline">Second</Button>
|
|
16
|
+
* <Button variant="outline">Third</Button>
|
|
17
|
+
* </ButtonGroup>
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
declare const ButtonGroup$1: React$1.ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
declare const ButtonGroupSeparator$1: typeof ButtonGroupSeparator;
|
|
22
|
+
declare const ButtonGroupText$1: typeof ButtonGroupText;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { ButtonGroup$1 as ButtonGroup, ButtonGroupProps, ButtonGroupSeparator$1 as ButtonGroupSeparator, ButtonGroupText$1 as ButtonGroupText };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ButtonGroup, ButtonGroupSeparator, ButtonGroupText } from "@pixpilot/shadcn";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/ButtonGroup.tsx
|
|
6
|
+
/**
|
|
7
|
+
* A simple container component that groups buttons together visually.
|
|
8
|
+
* Renders child Button components with proper styling to create a cohesive button group.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* <ButtonGroup>
|
|
13
|
+
* <Button variant="outline">First</Button>
|
|
14
|
+
* <Button variant="outline">Second</Button>
|
|
15
|
+
* <Button variant="outline">Third</Button>
|
|
16
|
+
* </ButtonGroup>
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
const ButtonGroup$1 = React$1.forwardRef(({ orientation,...props }, ref) => {
|
|
20
|
+
return /* @__PURE__ */ jsx(ButtonGroup, {
|
|
21
|
+
ref,
|
|
22
|
+
orientation,
|
|
23
|
+
...props
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
ButtonGroup$1.displayName = "ButtonGroup";
|
|
27
|
+
const ButtonGroupSeparator$1 = ButtonGroupSeparator;
|
|
28
|
+
const ButtonGroupText$1 = ButtonGroupText;
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
export { ButtonGroup$1 as ButtonGroup, ButtonGroupSeparator$1 as ButtonGroupSeparator, ButtonGroupText$1 as ButtonGroupText };
|
package/dist/ColorSelect.d.ts
CHANGED
|
@@ -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_runtime1 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/ColorSelect.d.ts
|
|
6
6
|
interface ColorSelectOption {
|
|
@@ -15,6 +15,6 @@ type BaseColorSelectProps = {
|
|
|
15
15
|
placeholder?: string;
|
|
16
16
|
keyboardMode?: 'cycle' | 'dropdown';
|
|
17
17
|
} & Omit<ComponentProps<typeof Select>, 'value' | 'onValueChange' | 'children'>;
|
|
18
|
-
declare function ColorSelect(props: BaseColorSelectProps):
|
|
18
|
+
declare function ColorSelect(props: BaseColorSelectProps): react_jsx_runtime1.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { BaseColorSelectProps, ColorSelect, ColorSelectOption };
|
package/dist/ContentCard.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Card } from "@pixpilot/shadcn";
|
|
2
2
|
import React, { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/ContentCard.d.ts
|
|
6
6
|
interface SectionCardProps extends React.ComponentProps<typeof Card> {
|
|
@@ -8,7 +8,7 @@ interface SectionCardProps extends React.ComponentProps<typeof Card> {
|
|
|
8
8
|
children: ReactNode;
|
|
9
9
|
marginBottom?: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare function ContentCard(props: SectionCardProps):
|
|
11
|
+
declare function ContentCard(props: SectionCardProps): react_jsx_runtime2.JSX.Element;
|
|
12
12
|
declare namespace ContentCard {
|
|
13
13
|
var displayName: string;
|
|
14
14
|
}
|
package/dist/DatePicker.d.ts
CHANGED
|
@@ -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_runtime3 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/DatePicker.d.ts
|
|
6
6
|
type DatePickerProps = {
|
|
@@ -8,7 +8,7 @@ type DatePickerProps = {
|
|
|
8
8
|
onChange?: (date: Date | undefined) => void;
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
} & Omit<ComponentProps<typeof Calendar>, 'selected' | 'onSelect' | 'mode'>;
|
|
11
|
-
declare function DatePicker(props: DatePickerProps):
|
|
11
|
+
declare function DatePicker(props: DatePickerProps): react_jsx_runtime3.JSX.Element;
|
|
12
12
|
declare namespace DatePicker {
|
|
13
13
|
var displayName: string;
|
|
14
14
|
}
|
package/dist/Rating.cjs
CHANGED
|
@@ -28,14 +28,14 @@ const sizePixels = {
|
|
|
28
28
|
xl: 28
|
|
29
29
|
};
|
|
30
30
|
const colorClasses = {
|
|
31
|
-
default: "
|
|
32
|
-
primary: "
|
|
33
|
-
secondary: "
|
|
34
|
-
destructive: "
|
|
35
|
-
foreground: "
|
|
36
|
-
accent: "
|
|
37
|
-
muted: "
|
|
38
|
-
ring: "
|
|
31
|
+
default: "text-yellow-400 dark:text-yellow-500",
|
|
32
|
+
primary: "text-primary",
|
|
33
|
+
secondary: "text-secondary",
|
|
34
|
+
destructive: "text-destructive",
|
|
35
|
+
foreground: "text-foreground",
|
|
36
|
+
accent: "text-accent",
|
|
37
|
+
muted: "text-muted",
|
|
38
|
+
ring: "text-ring"
|
|
39
39
|
};
|
|
40
40
|
const RatingContext = react.createContext(null);
|
|
41
41
|
function useRating() {
|
|
@@ -115,7 +115,7 @@ function RatingButton({ index, className,...props }) {
|
|
|
115
115
|
className: (0, __pixpilot_shadcn.cn)("inline-flex items-center justify-center transition-all outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 rounded-sm", readOnly && "cursor-default", !readOnly && !disabled && "cursor-pointer hover:scale-110", disabled && "opacity-50 cursor-not-allowed", colorClassName, className),
|
|
116
116
|
...props,
|
|
117
117
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Icon, {
|
|
118
|
-
className: (0, __pixpilot_shadcn.cn)("transition-all", isFilled ? "fill-current
|
|
118
|
+
className: (0, __pixpilot_shadcn.cn)("transition-all", isFilled ? "fill-current" : "fill-transparent text-muted-foreground/50"),
|
|
119
119
|
size,
|
|
120
120
|
"aria-hidden": "true"
|
|
121
121
|
}), hasLabelText ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
package/dist/Rating.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime4 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
|
|
|
@@ -35,7 +35,7 @@ declare function RatingButton({
|
|
|
35
35
|
index,
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: RatingButtonProps):
|
|
38
|
+
}: RatingButtonProps): react_jsx_runtime4.JSX.Element;
|
|
39
39
|
declare function Rating({
|
|
40
40
|
value: valueProp,
|
|
41
41
|
defaultValue,
|
|
@@ -52,6 +52,6 @@ declare function Rating({
|
|
|
52
52
|
className,
|
|
53
53
|
children,
|
|
54
54
|
...props
|
|
55
|
-
}: React$1.PropsWithChildren<RatingProps>):
|
|
55
|
+
}: React$1.PropsWithChildren<RatingProps>): react_jsx_runtime4.JSX.Element;
|
|
56
56
|
//#endregion
|
|
57
57
|
export { Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps };
|
package/dist/Rating.js
CHANGED
|
@@ -22,14 +22,14 @@ const sizePixels = {
|
|
|
22
22
|
xl: 28
|
|
23
23
|
};
|
|
24
24
|
const colorClasses = {
|
|
25
|
-
default: "
|
|
26
|
-
primary: "
|
|
27
|
-
secondary: "
|
|
28
|
-
destructive: "
|
|
29
|
-
foreground: "
|
|
30
|
-
accent: "
|
|
31
|
-
muted: "
|
|
32
|
-
ring: "
|
|
25
|
+
default: "text-yellow-400 dark:text-yellow-500",
|
|
26
|
+
primary: "text-primary",
|
|
27
|
+
secondary: "text-secondary",
|
|
28
|
+
destructive: "text-destructive",
|
|
29
|
+
foreground: "text-foreground",
|
|
30
|
+
accent: "text-accent",
|
|
31
|
+
muted: "text-muted",
|
|
32
|
+
ring: "text-ring"
|
|
33
33
|
};
|
|
34
34
|
const RatingContext = React$1.createContext(null);
|
|
35
35
|
function useRating() {
|
|
@@ -109,7 +109,7 @@ function RatingButton({ index, className,...props }) {
|
|
|
109
109
|
className: cn("inline-flex items-center justify-center transition-all outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 rounded-sm", readOnly && "cursor-default", !readOnly && !disabled && "cursor-pointer hover:scale-110", disabled && "opacity-50 cursor-not-allowed", colorClassName, className),
|
|
110
110
|
...props,
|
|
111
111
|
children: [/* @__PURE__ */ jsx(Icon, {
|
|
112
|
-
className: cn("transition-all", isFilled ? "fill-current
|
|
112
|
+
className: cn("transition-all", isFilled ? "fill-current" : "fill-transparent text-muted-foreground/50"),
|
|
113
113
|
size,
|
|
114
114
|
"aria-hidden": "true"
|
|
115
115
|
}), hasLabelText ? /* @__PURE__ */ jsx("span", {
|
package/dist/Select.d.ts
CHANGED
|
@@ -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_runtime6 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/Select.d.ts
|
|
6
6
|
interface SelectOption {
|
|
@@ -46,6 +46,6 @@ type BaseSelectProps = {
|
|
|
46
46
|
*/
|
|
47
47
|
clearable?: boolean;
|
|
48
48
|
} & Omit<ComponentProps<typeof Select>, 'value' | 'onValueChange' | 'children'>;
|
|
49
|
-
declare function Select$1(props: BaseSelectProps):
|
|
49
|
+
declare function Select$1(props: BaseSelectProps): react_jsx_runtime6.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { Select$1 as Select, SelectContentProps, SelectOption };
|
package/dist/TagsInput.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommandOptionListItem } from "./CommandOptionList.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/TagsInput.d.ts
|
|
5
5
|
interface TagsInputProps {
|
|
@@ -55,6 +55,6 @@ declare function TagsInput({
|
|
|
55
55
|
addOnPaste,
|
|
56
56
|
addOnTab,
|
|
57
57
|
onValidate
|
|
58
|
-
}: TagsInputProps):
|
|
58
|
+
}: TagsInputProps): react_jsx_runtime7.JSX.Element;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { TagsInput, TagsInputProps };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps } from "@pixpilot/shadcn";
|
|
2
|
+
|
|
3
|
+
//#region src/ToggleGroup.d.ts
|
|
4
|
+
type ToggleGroupValue = string | number;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, ToggleGroupValue };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps } from "@pixpilot/shadcn";
|
|
2
|
+
|
|
3
|
+
//#region src/ToggleGroup.d.ts
|
|
4
|
+
type ToggleGroupValue = string | number;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, ToggleGroupValue };
|
package/dist/dialog/Dialog.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
3
3
|
import * as _radix_ui_react_dialog0 from "@radix-ui/react-dialog";
|
|
4
4
|
|
|
5
5
|
//#region src/dialog/Dialog.d.ts
|
|
@@ -9,14 +9,14 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<_radix_ui_re
|
|
|
9
9
|
declare function DialogHeader({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React$1.HTMLAttributes<HTMLDivElement>):
|
|
12
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime9.JSX.Element;
|
|
13
13
|
declare function DialogBody({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React$1.HTMLAttributes<HTMLDivElement>):
|
|
16
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime9.JSX.Element;
|
|
17
17
|
declare function DialogFooter({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React$1.HTMLAttributes<HTMLDivElement>):
|
|
20
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime9.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { DialogBody, DialogContent, DialogFooter, DialogHeader };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FileUploadProps } from "./types/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime8 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_runtime8.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_runtime12 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_runtime12.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadInline };
|
package/dist/index.cjs
CHANGED
|
@@ -6,6 +6,7 @@ const require_Alert = require('./Alert.cjs');
|
|
|
6
6
|
const require_AvatarUpload = require('./avatar-upload/AvatarUpload.cjs');
|
|
7
7
|
require('./avatar-upload/index.cjs');
|
|
8
8
|
const require_Button = require('./Button.cjs');
|
|
9
|
+
const require_ButtonGroup = require('./ButtonGroup.cjs');
|
|
9
10
|
const require_circle_loader = require('./circle-loader/circle-loader.cjs');
|
|
10
11
|
require('./circle-loader/index.cjs');
|
|
11
12
|
const require_CloseButtonRounded = require('./CloseButtonRounded.cjs');
|
|
@@ -68,6 +69,7 @@ require('./theme-toggle/index.cjs');
|
|
|
68
69
|
const require_toast = require('./toast/toast.cjs');
|
|
69
70
|
const require_ToastProvider = require('./toast/ToastProvider.cjs');
|
|
70
71
|
require('./toast/index.cjs');
|
|
72
|
+
require('./ToggleGroup.cjs');
|
|
71
73
|
let __pixpilot_shadcn = require("@pixpilot/shadcn");
|
|
72
74
|
__pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
|
|
73
75
|
let next_themes = require("next-themes");
|
|
@@ -77,6 +79,9 @@ exports.AbsoluteFill = require_AbsoluteFill.AbsoluteFill;
|
|
|
77
79
|
exports.Alert = require_Alert.Alert;
|
|
78
80
|
exports.AvatarUpload = require_AvatarUpload.AvatarUpload;
|
|
79
81
|
exports.Button = require_Button.Button;
|
|
82
|
+
exports.ButtonGroup = require_ButtonGroup.ButtonGroup;
|
|
83
|
+
exports.ButtonGroupSeparator = require_ButtonGroup.ButtonGroupSeparator;
|
|
84
|
+
exports.ButtonGroupText = require_ButtonGroup.ButtonGroupText;
|
|
80
85
|
exports.CircleLoader = require_circle_loader.CircleLoader;
|
|
81
86
|
exports.CloseButtonAbsolute = require_CloseButtonAbsolute.CloseButtonAbsolute;
|
|
82
87
|
exports.CloseButtonRounded = require_CloseButtonRounded.CloseButtonRounded;
|
|
@@ -132,6 +137,18 @@ exports.ThemeModeSwitchOutside = require_ThemeModeSwitchOutside.ThemeModeSwitchO
|
|
|
132
137
|
exports.ThemeModeToggleButton = require_ThemeModeToggleButton.ThemeModeToggleButton;
|
|
133
138
|
exports.ThemeProvider = require_ThemeProvider.ThemeProvider;
|
|
134
139
|
exports.Toaster = require_ToastProvider.Toaster;
|
|
140
|
+
Object.defineProperty(exports, 'ToggleGroup', {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
get: function () {
|
|
143
|
+
return __pixpilot_shadcn.ToggleGroup;
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
Object.defineProperty(exports, 'ToggleGroupItem', {
|
|
147
|
+
enumerable: true,
|
|
148
|
+
get: function () {
|
|
149
|
+
return __pixpilot_shadcn.ToggleGroupItem;
|
|
150
|
+
}
|
|
151
|
+
});
|
|
135
152
|
exports.cn = __pixpilot_shadcn.cn;
|
|
136
153
|
exports.isSvgMarkupString = require_svg.isSvgMarkupString;
|
|
137
154
|
exports.showConfirmDialog = require_confirmation_dialogs.showConfirmDialog;
|
package/dist/index.d.cts
CHANGED
|
@@ -6,6 +6,7 @@ import { Alert, AlertBaseProps, AlertProps, AlertVariant } from "./Alert.cjs";
|
|
|
6
6
|
import { AvatarUpload, AvatarUploadProps } from "./avatar-upload/AvatarUpload.cjs";
|
|
7
7
|
import "./avatar-upload/index.cjs";
|
|
8
8
|
import { Button, ButtonLoaderProps, ButtonProps } from "./Button.cjs";
|
|
9
|
+
import { ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText } from "./ButtonGroup.cjs";
|
|
9
10
|
import { CircleLoader, CircleLoaderProps } from "./circle-loader/circle-loader.cjs";
|
|
10
11
|
import "./circle-loader/index.cjs";
|
|
11
12
|
import { CloseButtonRounded, CloseButtonRoundedProps } from "./CloseButtonRounded.cjs";
|
|
@@ -72,6 +73,7 @@ import "./theme-toggle/index.cjs";
|
|
|
72
73
|
import { DEFAULT_ALERT_DURATION, ToastMessage, toast, toastError, toastInfo, toastSuccess, toastWarning } from "./toast/toast.cjs";
|
|
73
74
|
import { Toaster } from "./toast/ToastProvider.cjs";
|
|
74
75
|
import "./toast/index.cjs";
|
|
76
|
+
import { ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupValue } from "./ToggleGroup.cjs";
|
|
75
77
|
import { isSvgMarkupString, svgMarkupToMaskUrl } from "./utils/svg.cjs";
|
|
76
78
|
import { cn } from "@pixpilot/shadcn";
|
|
77
|
-
export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonLoaderProps, ButtonProps, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerBase, ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ConfirmationDialogProps, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogProvider, DialogProviderProps, DialogTitle, DialogTrigger, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, IconToggle, IconToggleProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoaderProps, LoadingOverlay, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverCloseButtonProps, PopoverContent, PopoverContentProps, PopoverTrigger, PresetColor, Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps, RichTextEditor, RichTextEditorProps, RichTextEditorSlots, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectContentProps, SelectOption, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputProps, ThemeModeDropdown, ThemeModeDropdownProps, ThemeModeSwitchInside, ThemeModeSwitchInsideProps, ThemeModeSwitchInsideSize, ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps, ThemeModeToggleButton, ThemeModeToggleButtonProps, ThemeProvider, ThemeProviderProps, ToastMessage, Toaster, ToolbarItems, cn, isSvgMarkupString, showConfirmDialog, svgMarkupToMaskUrl, toast, toastError, toastInfo, toastSuccess, toastWarning, useMediaQuery, useSelectKeyboard, useTabsContext, useTheme };
|
|
79
|
+
export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText, ButtonLoaderProps, ButtonProps, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerBase, ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ConfirmationDialogProps, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogProvider, DialogProviderProps, DialogTitle, DialogTrigger, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, IconToggle, IconToggleProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoaderProps, LoadingOverlay, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverCloseButtonProps, PopoverContent, PopoverContentProps, PopoverTrigger, PresetColor, Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps, RichTextEditor, RichTextEditorProps, RichTextEditorSlots, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectContentProps, SelectOption, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputProps, ThemeModeDropdown, ThemeModeDropdownProps, ThemeModeSwitchInside, ThemeModeSwitchInsideProps, ThemeModeSwitchInsideSize, ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps, ThemeModeToggleButton, ThemeModeToggleButtonProps, ThemeProvider, ThemeProviderProps, ToastMessage, Toaster, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupValue, ToolbarItems, cn, isSvgMarkupString, showConfirmDialog, svgMarkupToMaskUrl, toast, toastError, toastInfo, toastSuccess, toastWarning, useMediaQuery, useSelectKeyboard, useTabsContext, useTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { Alert, AlertBaseProps, AlertProps, AlertVariant } from "./Alert.js";
|
|
|
6
6
|
import { AvatarUpload, AvatarUploadProps } from "./avatar-upload/AvatarUpload.js";
|
|
7
7
|
import "./avatar-upload/index.js";
|
|
8
8
|
import { Button, ButtonLoaderProps, ButtonProps } from "./Button.js";
|
|
9
|
+
import { ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText } from "./ButtonGroup.js";
|
|
9
10
|
import { CircleLoader, CircleLoaderProps } from "./circle-loader/circle-loader.js";
|
|
10
11
|
import "./circle-loader/index.js";
|
|
11
12
|
import { CloseButtonRounded, CloseButtonRoundedProps } from "./CloseButtonRounded.js";
|
|
@@ -74,6 +75,7 @@ import "./theme-toggle/index.js";
|
|
|
74
75
|
import { DEFAULT_ALERT_DURATION, ToastMessage, toast, toastError, toastInfo, toastSuccess, toastWarning } from "./toast/toast.js";
|
|
75
76
|
import { Toaster } from "./toast/ToastProvider.js";
|
|
76
77
|
import "./toast/index.js";
|
|
78
|
+
import { ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupValue } from "./ToggleGroup.js";
|
|
77
79
|
import { isSvgMarkupString, svgMarkupToMaskUrl } from "./utils/svg.js";
|
|
78
80
|
import { cn } from "@pixpilot/shadcn";
|
|
79
|
-
export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonLoaderProps, ButtonProps, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerBase, ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ConfirmationDialogProps, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogProvider, DialogProviderProps, DialogTitle, DialogTrigger, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, IconToggle, IconToggleProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoaderProps, LoadingOverlay, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverCloseButtonProps, PopoverContent, PopoverContentProps, PopoverTrigger, PresetColor, Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps, RichTextEditor, RichTextEditorProps, RichTextEditorSlots, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectContentProps, SelectOption, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputProps, ThemeModeDropdown, ThemeModeDropdownProps, ThemeModeSwitchInside, ThemeModeSwitchInsideProps, ThemeModeSwitchInsideSize, ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps, ThemeModeToggleButton, ThemeModeToggleButtonProps, ThemeProvider, ThemeProviderProps, ToastMessage, Toaster, ToolbarItems, cn, isSvgMarkupString, showConfirmDialog, svgMarkupToMaskUrl, toast, toastError, toastInfo, toastSuccess, toastWarning, useMediaQuery, useSelectKeyboard, useTabsContext, useTheme };
|
|
81
|
+
export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText, ButtonLoaderProps, ButtonProps, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerBase, ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ConfirmationDialogProps, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogProvider, DialogProviderProps, DialogTitle, DialogTrigger, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, IconToggle, IconToggleProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoaderProps, LoadingOverlay, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverCloseButtonProps, PopoverContent, PopoverContentProps, PopoverTrigger, PresetColor, Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps, RichTextEditor, RichTextEditorProps, RichTextEditorSlots, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectContentProps, SelectOption, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputProps, ThemeModeDropdown, ThemeModeDropdownProps, ThemeModeSwitchInside, ThemeModeSwitchInsideProps, ThemeModeSwitchInsideSize, ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps, ThemeModeToggleButton, ThemeModeToggleButtonProps, ThemeProvider, ThemeProviderProps, ToastMessage, Toaster, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupValue, ToolbarItems, cn, isSvgMarkupString, showConfirmDialog, svgMarkupToMaskUrl, toast, toastError, toastInfo, toastSuccess, toastWarning, useMediaQuery, useSelectKeyboard, useTabsContext, useTheme };
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,7 @@ import { Alert } from "./Alert.js";
|
|
|
5
5
|
import { AvatarUpload } from "./avatar-upload/AvatarUpload.js";
|
|
6
6
|
import "./avatar-upload/index.js";
|
|
7
7
|
import { Button } from "./Button.js";
|
|
8
|
+
import { ButtonGroup, ButtonGroupSeparator, ButtonGroupText } from "./ButtonGroup.js";
|
|
8
9
|
import { CircleLoader } from "./circle-loader/circle-loader.js";
|
|
9
10
|
import "./circle-loader/index.js";
|
|
10
11
|
import { CloseButtonRounded } from "./CloseButtonRounded.js";
|
|
@@ -69,6 +70,7 @@ import "./theme-toggle/index.js";
|
|
|
69
70
|
import { DEFAULT_ALERT_DURATION, toast, toastError, toastInfo, toastSuccess, toastWarning } from "./toast/toast.js";
|
|
70
71
|
import { Toaster } from "./toast/ToastProvider.js";
|
|
71
72
|
import "./toast/index.js";
|
|
73
|
+
import { ToggleGroup, ToggleGroupItem } from "./ToggleGroup.js";
|
|
72
74
|
import { cn } from "@pixpilot/shadcn";
|
|
73
75
|
|
|
74
|
-
export { AbsoluteFill, Alert, AvatarUpload, Button, CircleLoader, CloseButtonAbsolute, CloseButtonRounded, ColorPicker, ColorPickerBase, ColorSelect, Combobox, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogProvider, DialogTitle, DialogTrigger, FileUpload, FileUploadInline, IconPicker, IconToggle, Input, Layout, LayoutFooter, LayoutHeader, LayoutMain, LoadingOverlay, Pagination, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Rating, RatingButton, RichTextEditor, ScaledPreview, Select, Slider, SliderInput, SliderSelect, Tabs, TabsContent, TabsContext, TabsList, TabsTrigger, TagsInput, ThemeModeDropdown, ThemeModeSwitchInside, ThemeModeSwitchOutside, ThemeModeToggleButton, ThemeProvider, Toaster, cn, isSvgMarkupString, showConfirmDialog, svgMarkupToMaskUrl, toast, toastError, toastInfo, toastSuccess, toastWarning, useMediaQuery, useSelectKeyboard, useTabsContext, useTheme };
|
|
76
|
+
export { AbsoluteFill, Alert, AvatarUpload, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CircleLoader, CloseButtonAbsolute, CloseButtonRounded, ColorPicker, ColorPickerBase, ColorSelect, Combobox, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogProvider, DialogTitle, DialogTrigger, FileUpload, FileUploadInline, IconPicker, IconToggle, Input, Layout, LayoutFooter, LayoutHeader, LayoutMain, LoadingOverlay, Pagination, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Rating, RatingButton, RichTextEditor, ScaledPreview, Select, Slider, SliderInput, SliderSelect, Tabs, TabsContent, TabsContext, TabsList, TabsTrigger, TagsInput, ThemeModeDropdown, ThemeModeSwitchInside, ThemeModeSwitchOutside, ThemeModeToggleButton, ThemeProvider, Toaster, ToggleGroup, ToggleGroupItem, cn, isSvgMarkupString, showConfirmDialog, svgMarkupToMaskUrl, toast, toastError, toastInfo, toastSuccess, toastWarning, useMediaQuery, useSelectKeyboard, useTabsContext, useTheme };
|
package/dist/input/Input.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime13 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_runtime13.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_runtime13 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_runtime13.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Input$1 as Input, InputProps$1 as InputProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/theme-toggle/ThemeModeToggleButton.d.ts
|
|
4
4
|
interface ThemeModeToggleButtonProps {
|
|
@@ -13,7 +13,7 @@ interface ThemeModeToggleButtonProps {
|
|
|
13
13
|
* Light/Dark toggle button.
|
|
14
14
|
* Pure component - toggles between light and dark.
|
|
15
15
|
*/
|
|
16
|
-
declare function ThemeModeToggleButton(props: ThemeModeToggleButtonProps):
|
|
16
|
+
declare function ThemeModeToggleButton(props: ThemeModeToggleButtonProps): react_jsx_runtime17.JSX.Element;
|
|
17
17
|
declare namespace ThemeModeToggleButton {
|
|
18
18
|
var displayName: string;
|
|
19
19
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixpilot/shadcn-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.47.0",
|
|
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",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"pretty-bytes": "^7.1.0",
|
|
48
48
|
"react-responsive": "^10.0.1",
|
|
49
49
|
"sonner": "2.0.7",
|
|
50
|
-
"@pixpilot/shadcn": "0.
|
|
50
|
+
"@pixpilot/shadcn": "0.9.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@storybook/react": "^8.6.14",
|