@pixpilot/shadcn-ui 1.30.0 → 1.31.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/Card.cjs +0 -20
- package/dist/Card.d.cts +2 -18
- package/dist/Card.d.ts +2 -18
- package/dist/Card.js +1 -19
- package/dist/ColorSelect.d.cts +2 -2
- package/dist/ColorSelect.d.ts +2 -2
- package/dist/ContentCard.cjs +4 -2
- package/dist/ContentCard.d.cts +2 -2
- package/dist/ContentCard.d.ts +2 -2
- package/dist/DatePicker.d.cts +2 -2
- package/dist/DatePicker.d.ts +2 -2
- package/dist/Rating.d.cts +3 -3
- package/dist/Rating.d.ts +3 -3
- package/dist/Select.d.cts +2 -2
- package/dist/Select.d.ts +2 -2
- package/dist/dialog/Dialog.cjs +5 -5
- package/dist/dialog/Dialog.d.cts +8 -11
- package/dist/dialog/Dialog.d.ts +8 -11
- package/dist/dialog/Dialog.js +5 -5
- 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-inline/FileUploadInline.d.ts +2 -2
- package/dist/file-upload-root/FileUploadRoot.d.cts +2 -2
- package/dist/file-upload-root/FileUploadRoot.d.ts +2 -2
- package/dist/index.cjs +2 -2
- package/dist/input/Input.d.cts +2 -2
- package/dist/input/Input.d.ts +2 -2
- package/dist/tags-input/TagsInput.d.cts +2 -2
- package/dist/tags-input/TagsInput.d.ts +2 -2
- package/dist/tags-input/TagsInputInline.d.cts +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.cts +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 +1 -1
package/dist/Card.cjs
CHANGED
|
@@ -7,21 +7,6 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
7
7
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
8
8
|
|
|
9
9
|
//#region src/Card.tsx
|
|
10
|
-
function Card(props) {
|
|
11
|
-
const { title, children, className, marginBottom,...other } = props;
|
|
12
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.Card, {
|
|
13
|
-
className: (0, __pixpilot_shadcn.cn)("py-4 sm:py-5 gap-4", { "mb-2 sm:mb-4": marginBottom }, className),
|
|
14
|
-
...other,
|
|
15
|
-
children
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
function CardContent(props) {
|
|
19
|
-
const { className,...other } = props;
|
|
20
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.CardContent, {
|
|
21
|
-
className: (0, __pixpilot_shadcn.cn)("px-4 sm:px-6", className),
|
|
22
|
-
...other
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
10
|
function CardTitle({ className,...props }) {
|
|
26
11
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.CardTitle, {
|
|
27
12
|
className: (0, __pixpilot_shadcn.cn)("text-lg font-semibold tracking-tight", className),
|
|
@@ -34,12 +19,7 @@ function CardHeader({ className,...props }) {
|
|
|
34
19
|
...props
|
|
35
20
|
});
|
|
36
21
|
}
|
|
37
|
-
Card.displayName = "Card";
|
|
38
|
-
CardContent.displayName = "CardContent";
|
|
39
|
-
CardTitle.displayName = "CardTitle";
|
|
40
22
|
|
|
41
23
|
//#endregion
|
|
42
|
-
exports.Card = Card;
|
|
43
|
-
exports.CardContent = CardContent;
|
|
44
24
|
exports.CardHeader = CardHeader;
|
|
45
25
|
exports.CardTitle = CardTitle;
|
package/dist/Card.d.cts
CHANGED
|
@@ -1,31 +1,15 @@
|
|
|
1
1
|
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
2
2
|
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@pixpilot/shadcn";
|
|
3
|
-
import React
|
|
3
|
+
import React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/Card.d.ts
|
|
6
|
-
interface SectionCardProps extends React.ComponentProps<typeof Card> {
|
|
7
|
-
title?: string;
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
marginBottom?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare function Card$1(props: SectionCardProps): react_jsx_runtime2.JSX.Element;
|
|
12
|
-
declare namespace Card$1 {
|
|
13
|
-
var displayName: string;
|
|
14
|
-
}
|
|
15
|
-
declare function CardContent$1(props: React.ComponentProps<typeof CardContent>): react_jsx_runtime2.JSX.Element;
|
|
16
|
-
declare namespace CardContent$1 {
|
|
17
|
-
var displayName: string;
|
|
18
|
-
}
|
|
19
6
|
declare function CardTitle$1({
|
|
20
7
|
className,
|
|
21
8
|
...props
|
|
22
9
|
}: React.ComponentProps<typeof CardTitle>): react_jsx_runtime2.JSX.Element;
|
|
23
|
-
declare namespace CardTitle$1 {
|
|
24
|
-
var displayName: string;
|
|
25
|
-
}
|
|
26
10
|
declare function CardHeader$1({
|
|
27
11
|
className,
|
|
28
12
|
...props
|
|
29
13
|
}: React.ComponentProps<typeof CardHeader>): react_jsx_runtime2.JSX.Element;
|
|
30
14
|
//#endregion
|
|
31
|
-
export { Card
|
|
15
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader$1 as CardHeader, CardTitle$1 as CardTitle };
|
package/dist/Card.d.ts
CHANGED
|
@@ -1,31 +1,15 @@
|
|
|
1
1
|
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@pixpilot/shadcn";
|
|
2
|
-
import React
|
|
2
|
+
import React from "react";
|
|
3
3
|
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/Card.d.ts
|
|
6
|
-
interface SectionCardProps extends React.ComponentProps<typeof Card> {
|
|
7
|
-
title?: string;
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
marginBottom?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare function Card$1(props: SectionCardProps): react_jsx_runtime2.JSX.Element;
|
|
12
|
-
declare namespace Card$1 {
|
|
13
|
-
var displayName: string;
|
|
14
|
-
}
|
|
15
|
-
declare function CardContent$1(props: React.ComponentProps<typeof CardContent>): react_jsx_runtime2.JSX.Element;
|
|
16
|
-
declare namespace CardContent$1 {
|
|
17
|
-
var displayName: string;
|
|
18
|
-
}
|
|
19
6
|
declare function CardTitle$1({
|
|
20
7
|
className,
|
|
21
8
|
...props
|
|
22
9
|
}: React.ComponentProps<typeof CardTitle>): react_jsx_runtime2.JSX.Element;
|
|
23
|
-
declare namespace CardTitle$1 {
|
|
24
|
-
var displayName: string;
|
|
25
|
-
}
|
|
26
10
|
declare function CardHeader$1({
|
|
27
11
|
className,
|
|
28
12
|
...props
|
|
29
13
|
}: React.ComponentProps<typeof CardHeader>): react_jsx_runtime2.JSX.Element;
|
|
30
14
|
//#endregion
|
|
31
|
-
export { Card
|
|
15
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader$1 as CardHeader, CardTitle$1 as CardTitle };
|
package/dist/Card.js
CHANGED
|
@@ -3,21 +3,6 @@ import React from "react";
|
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/Card.tsx
|
|
6
|
-
function Card$1(props) {
|
|
7
|
-
const { title, children, className, marginBottom,...other } = props;
|
|
8
|
-
return /* @__PURE__ */ jsx(Card, {
|
|
9
|
-
className: cn("py-4 sm:py-5 gap-4", { "mb-2 sm:mb-4": marginBottom }, className),
|
|
10
|
-
...other,
|
|
11
|
-
children
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
function CardContent$1(props) {
|
|
15
|
-
const { className,...other } = props;
|
|
16
|
-
return /* @__PURE__ */ jsx(CardContent, {
|
|
17
|
-
className: cn("px-4 sm:px-6", className),
|
|
18
|
-
...other
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
6
|
function CardTitle$1({ className,...props }) {
|
|
22
7
|
return /* @__PURE__ */ jsx(CardTitle, {
|
|
23
8
|
className: cn("text-lg font-semibold tracking-tight", className),
|
|
@@ -30,9 +15,6 @@ function CardHeader$1({ className,...props }) {
|
|
|
30
15
|
...props
|
|
31
16
|
});
|
|
32
17
|
}
|
|
33
|
-
Card$1.displayName = "Card";
|
|
34
|
-
CardContent$1.displayName = "CardContent";
|
|
35
|
-
CardTitle$1.displayName = "CardTitle";
|
|
36
18
|
|
|
37
19
|
//#endregion
|
|
38
|
-
export { Card
|
|
20
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader$1 as CardHeader, CardTitle$1 as CardTitle };
|
package/dist/ColorSelect.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
2
|
import { Select, SelectContent } from "@pixpilot/shadcn";
|
|
3
3
|
import React, { ComponentProps } from "react";
|
|
4
4
|
|
|
@@ -16,6 +16,6 @@ type BaseColorSelectProps = {
|
|
|
16
16
|
placeholder?: string;
|
|
17
17
|
keyboardMode?: 'cycle' | 'dropdown';
|
|
18
18
|
} & Omit<ComponentProps<typeof Select>, 'value' | 'onValueChange' | 'children'>;
|
|
19
|
-
declare function ColorSelect(props: BaseColorSelectProps):
|
|
19
|
+
declare function ColorSelect(props: BaseColorSelectProps): react_jsx_runtime4.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { BaseColorSelectProps, ColorSelect, ColorSelectOption };
|
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_runtime4 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/ColorSelect.d.ts
|
|
6
6
|
interface ColorSelectOption {
|
|
@@ -16,6 +16,6 @@ type BaseColorSelectProps = {
|
|
|
16
16
|
placeholder?: string;
|
|
17
17
|
keyboardMode?: 'cycle' | 'dropdown';
|
|
18
18
|
} & Omit<ComponentProps<typeof Select>, 'value' | 'onValueChange' | 'children'>;
|
|
19
|
-
declare function ColorSelect(props: BaseColorSelectProps):
|
|
19
|
+
declare function ColorSelect(props: BaseColorSelectProps): react_jsx_runtime4.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { BaseColorSelectProps, ColorSelect, ColorSelectOption };
|
package/dist/ContentCard.cjs
CHANGED
|
@@ -4,13 +4,15 @@ let react = require("react");
|
|
|
4
4
|
react = require_rolldown_runtime.__toESM(react);
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
6
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
7
|
+
let __pixpilot_shadcn = require("@pixpilot/shadcn");
|
|
8
|
+
__pixpilot_shadcn = require_rolldown_runtime.__toESM(__pixpilot_shadcn);
|
|
7
9
|
|
|
8
10
|
//#region src/ContentCard.tsx
|
|
9
11
|
function ContentCard(props) {
|
|
10
12
|
const { title, children,...other } = props;
|
|
11
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(
|
|
13
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(__pixpilot_shadcn.Card, {
|
|
12
14
|
...other,
|
|
13
|
-
children: [title != null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Card.CardHeader, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Card.CardTitle, { children: title }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
15
|
+
children: [title != null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Card.CardHeader, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Card.CardTitle, { children: title }) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.CardContent, { children })]
|
|
14
16
|
});
|
|
15
17
|
}
|
|
16
18
|
ContentCard.displayName = "ContentBox";
|
package/dist/ContentCard.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Card } from "./Card.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
3
3
|
import React, { ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/ContentCard.d.ts
|
|
@@ -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_runtime5.JSX.Element;
|
|
12
12
|
declare namespace ContentCard {
|
|
13
13
|
var displayName: string;
|
|
14
14
|
}
|
package/dist/ContentCard.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Card } from "./Card.js";
|
|
2
2
|
import React, { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime5 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_runtime5.JSX.Element;
|
|
12
12
|
declare namespace ContentCard {
|
|
13
13
|
var displayName: string;
|
|
14
14
|
}
|
package/dist/DatePicker.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
2
2
|
import { Calendar } from "@pixpilot/shadcn";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
4
|
|
|
@@ -9,7 +9,7 @@ type DatePickerProps = {
|
|
|
9
9
|
onChange?: (date: Date | undefined) => void;
|
|
10
10
|
placeholder?: string;
|
|
11
11
|
} & Omit<ComponentProps<typeof Calendar>, 'selected' | 'onSelect' | 'mode'>;
|
|
12
|
-
declare function DatePicker(props: DatePickerProps):
|
|
12
|
+
declare function DatePicker(props: DatePickerProps): react_jsx_runtime6.JSX.Element;
|
|
13
13
|
declare namespace DatePicker {
|
|
14
14
|
var displayName: string;
|
|
15
15
|
}
|
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_runtime6 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/DatePicker.d.ts
|
|
6
6
|
type DatePickerProps = {
|
|
@@ -9,7 +9,7 @@ type DatePickerProps = {
|
|
|
9
9
|
onChange?: (date: Date | undefined) => void;
|
|
10
10
|
placeholder?: string;
|
|
11
11
|
} & Omit<ComponentProps<typeof Calendar>, 'selected' | 'onSelect' | 'mode'>;
|
|
12
|
-
declare function DatePicker(props: DatePickerProps):
|
|
12
|
+
declare function DatePicker(props: DatePickerProps): react_jsx_runtime6.JSX.Element;
|
|
13
13
|
declare namespace DatePicker {
|
|
14
14
|
var displayName: string;
|
|
15
15
|
}
|
package/dist/Rating.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime7 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";
|
|
@@ -35,7 +35,7 @@ declare function RatingButton({
|
|
|
35
35
|
index,
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: RatingButtonProps):
|
|
38
|
+
}: RatingButtonProps): react_jsx_runtime7.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_runtime7.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps };
|
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_runtime7 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_runtime7.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_runtime7.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps };
|
package/dist/Select.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
2
2
|
import { Select, SelectContent } from "@pixpilot/shadcn";
|
|
3
3
|
import React, { ComponentProps } from "react";
|
|
4
4
|
|
|
@@ -51,6 +51,6 @@ type BaseSelectProps = {
|
|
|
51
51
|
required?: boolean;
|
|
52
52
|
className?: string;
|
|
53
53
|
} & Omit<ComponentProps<typeof Select>, 'value' | 'onValueChange' | 'children' | 'disabled' | 'name' | 'required'>;
|
|
54
|
-
declare function Select$1(props: BaseSelectProps):
|
|
54
|
+
declare function Select$1(props: BaseSelectProps): react_jsx_runtime9.JSX.Element;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { Select$1 as Select, SelectContentProps, SelectOption };
|
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_runtime9 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/Select.d.ts
|
|
6
6
|
interface SelectOption {
|
|
@@ -51,6 +51,6 @@ type BaseSelectProps = {
|
|
|
51
51
|
required?: boolean;
|
|
52
52
|
className?: string;
|
|
53
53
|
} & Omit<ComponentProps<typeof Select>, 'value' | 'onValueChange' | 'children' | 'disabled' | 'name' | 'required'>;
|
|
54
|
-
declare function Select$1(props: BaseSelectProps):
|
|
54
|
+
declare function Select$1(props: BaseSelectProps): react_jsx_runtime9.JSX.Element;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { Select$1 as Select, SelectContentProps, SelectOption };
|
package/dist/dialog/Dialog.cjs
CHANGED
|
@@ -7,30 +7,30 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
7
7
|
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
8
8
|
|
|
9
9
|
//#region src/dialog/Dialog.tsx
|
|
10
|
-
const DialogContent = react.forwardRef(({ className,...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.DialogContent, {
|
|
10
|
+
const DialogContent = react.forwardRef(({ className, fullscreen = false,...props }, ref) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__pixpilot_shadcn.DialogContent, {
|
|
11
11
|
ref,
|
|
12
|
-
className: (0, __pixpilot_shadcn.cn)("max-h-[
|
|
12
|
+
className: (0, __pixpilot_shadcn.cn)("max-h-[calc(100%-2rem)] sm:max-h-[calc(100%-2rem)] w-fit max-w-[calc(100%-2rem)] sm:max-w-[calc(100%-2rem)] flex min-h-0 flex-col p-0 gap-0", fullscreen && "h-[calc(100%-2rem)] w-[calc(100%-2rem)] max-w-none sm:max-w-none", className),
|
|
13
13
|
...props
|
|
14
14
|
}));
|
|
15
15
|
DialogContent.displayName = "DialogContent";
|
|
16
16
|
function DialogHeader({ className,...props }) {
|
|
17
17
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18
18
|
"data-slot": "header",
|
|
19
|
-
className: (0, __pixpilot_shadcn.cn)("flex flex-col space-y-1.5 px-6 py-4", className),
|
|
19
|
+
className: (0, __pixpilot_shadcn.cn)("flex shrink-0 flex-col space-y-1.5 px-6 py-4", className),
|
|
20
20
|
...props
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
function DialogBody({ className,...props }) {
|
|
24
24
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
25
25
|
"data-slot": "body",
|
|
26
|
-
className: (0, __pixpilot_shadcn.cn)("flex-1 overflow-
|
|
26
|
+
className: (0, __pixpilot_shadcn.cn)("min-h-0 flex-1 overflow-auto px-6 py-2", className),
|
|
27
27
|
...props
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
function DialogFooter({ className,...props }) {
|
|
31
31
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
32
32
|
"data-slot": "footer",
|
|
33
|
-
className: (0, __pixpilot_shadcn.cn)("flex justify-end space-x-2 px-6 py-4", className),
|
|
33
|
+
className: (0, __pixpilot_shadcn.cn)("flex shrink-0 justify-end space-x-2 px-6 py-4", className),
|
|
34
34
|
...props
|
|
35
35
|
});
|
|
36
36
|
}
|
package/dist/dialog/Dialog.d.cts
CHANGED
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
2
2
|
import { DialogContent } from "@pixpilot/shadcn";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
import * as _radix_ui_react_dialog0 from "@radix-ui/react-dialog";
|
|
5
4
|
|
|
6
5
|
//#region src/dialog/Dialog.d.ts
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
container?: HTMLElement | null;
|
|
12
|
-
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
interface DialogContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogContent> {
|
|
7
|
+
fullscreen?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const DialogContent$1: React$1.ForwardRefExoticComponent<DialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
13
10
|
declare function DialogHeader({
|
|
14
11
|
className,
|
|
15
12
|
...props
|
|
16
|
-
}: React$1.HTMLAttributes<HTMLDivElement>):
|
|
13
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime20.JSX.Element;
|
|
17
14
|
declare function DialogBody({
|
|
18
15
|
className,
|
|
19
16
|
...props
|
|
20
|
-
}: React$1.HTMLAttributes<HTMLDivElement>):
|
|
17
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime20.JSX.Element;
|
|
21
18
|
declare function DialogFooter({
|
|
22
19
|
className,
|
|
23
20
|
...props
|
|
24
|
-
}: React$1.HTMLAttributes<HTMLDivElement>):
|
|
21
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime20.JSX.Element;
|
|
25
22
|
//#endregion
|
|
26
23
|
export { DialogBody, DialogContent$1 as DialogContent, DialogContentProps, DialogFooter, DialogHeader };
|
package/dist/dialog/Dialog.d.ts
CHANGED
|
@@ -1,26 +1,23 @@
|
|
|
1
1
|
import { DialogContent } from "@pixpilot/shadcn";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
4
|
-
import * as _radix_ui_react_dialog0 from "@radix-ui/react-dialog";
|
|
3
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
5
4
|
|
|
6
5
|
//#region src/dialog/Dialog.d.ts
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
container?: HTMLElement | null;
|
|
12
|
-
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
interface DialogContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogContent> {
|
|
7
|
+
fullscreen?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const DialogContent$1: React$1.ForwardRefExoticComponent<DialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
13
10
|
declare function DialogHeader$1({
|
|
14
11
|
className,
|
|
15
12
|
...props
|
|
16
|
-
}: React$1.HTMLAttributes<HTMLDivElement>):
|
|
13
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime11.JSX.Element;
|
|
17
14
|
declare function DialogBody({
|
|
18
15
|
className,
|
|
19
16
|
...props
|
|
20
|
-
}: React$1.HTMLAttributes<HTMLDivElement>):
|
|
17
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime11.JSX.Element;
|
|
21
18
|
declare function DialogFooter$1({
|
|
22
19
|
className,
|
|
23
20
|
...props
|
|
24
|
-
}: React$1.HTMLAttributes<HTMLDivElement>):
|
|
21
|
+
}: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime11.JSX.Element;
|
|
25
22
|
//#endregion
|
|
26
23
|
export { DialogBody, DialogContent$1 as DialogContent, DialogContentProps, DialogFooter$1 as DialogFooter, DialogHeader$1 as DialogHeader };
|
package/dist/dialog/Dialog.js
CHANGED
|
@@ -3,30 +3,30 @@ import * as React$1 from "react";
|
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/dialog/Dialog.tsx
|
|
6
|
-
const DialogContent$1 = React$1.forwardRef(({ className,...props }, ref) => /* @__PURE__ */ jsx(DialogContent, {
|
|
6
|
+
const DialogContent$1 = React$1.forwardRef(({ className, fullscreen = false,...props }, ref) => /* @__PURE__ */ jsx(DialogContent, {
|
|
7
7
|
ref,
|
|
8
|
-
className: cn("max-h-[
|
|
8
|
+
className: cn("max-h-[calc(100%-2rem)] sm:max-h-[calc(100%-2rem)] w-fit max-w-[calc(100%-2rem)] sm:max-w-[calc(100%-2rem)] flex min-h-0 flex-col p-0 gap-0", fullscreen && "h-[calc(100%-2rem)] w-[calc(100%-2rem)] max-w-none sm:max-w-none", className),
|
|
9
9
|
...props
|
|
10
10
|
}));
|
|
11
11
|
DialogContent$1.displayName = "DialogContent";
|
|
12
12
|
function DialogHeader$1({ className,...props }) {
|
|
13
13
|
return /* @__PURE__ */ jsx("div", {
|
|
14
14
|
"data-slot": "header",
|
|
15
|
-
className: cn("flex flex-col space-y-1.5 px-6 py-4", className),
|
|
15
|
+
className: cn("flex shrink-0 flex-col space-y-1.5 px-6 py-4", className),
|
|
16
16
|
...props
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
function DialogBody({ className,...props }) {
|
|
20
20
|
return /* @__PURE__ */ jsx("div", {
|
|
21
21
|
"data-slot": "body",
|
|
22
|
-
className: cn("flex-1 overflow-
|
|
22
|
+
className: cn("min-h-0 flex-1 overflow-auto px-6 py-2", className),
|
|
23
23
|
...props
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
function DialogFooter$1({ className,...props }) {
|
|
27
27
|
return /* @__PURE__ */ jsx("div", {
|
|
28
28
|
"data-slot": "footer",
|
|
29
|
-
className: cn("flex justify-end space-x-2 px-6 py-4", className),
|
|
29
|
+
className: cn("flex shrink-0 justify-end space-x-2 px-6 py-4", className),
|
|
30
30
|
...props
|
|
31
31
|
});
|
|
32
32
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FileUploadProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime10 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_runtime10.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_runtime10 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_runtime10.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_runtime19 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_runtime19.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadInline };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FileUploadInlineProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime15 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_runtime15.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_runtime11 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_runtime11.JSX.Element;
|
|
9
9
|
declare namespace FileUploadRoot {
|
|
10
10
|
var displayName: string;
|
|
11
11
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FileUploadRootProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 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_runtime16.JSX.Element;
|
|
9
9
|
declare namespace FileUploadRoot {
|
|
10
10
|
var displayName: string;
|
|
11
11
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -108,9 +108,9 @@ exports.ButtonGroupSeparator = require_ButtonGroup.ButtonGroupSeparator;
|
|
|
108
108
|
exports.ButtonGroupText = require_ButtonGroup.ButtonGroupText;
|
|
109
109
|
exports.COLOR_PICKER_PALETTE_BUTTON_CLASSES = require_PaletteButton.COLOR_PICKER_PALETTE_BUTTON_CLASSES;
|
|
110
110
|
exports.COMMON_COLORS = require_ColorPalette.COMMON_COLORS;
|
|
111
|
-
exports.Card =
|
|
111
|
+
exports.Card = __pixpilot_shadcn.Card;
|
|
112
112
|
exports.CardAction = __pixpilot_shadcn.CardAction;
|
|
113
|
-
exports.CardContent =
|
|
113
|
+
exports.CardContent = __pixpilot_shadcn.CardContent;
|
|
114
114
|
exports.CardDescription = __pixpilot_shadcn.CardDescription;
|
|
115
115
|
exports.CardFooter = __pixpilot_shadcn.CardFooter;
|
|
116
116
|
exports.CardHeader = require_Card.CardHeader;
|
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_runtime14 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_runtime14.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Input$1 as Input, InputProps$1 as InputProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommandOptionListItem } from "../CommandOptionList.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/tags-input/TagsInput.d.ts
|
|
5
5
|
interface TagsInputProps {
|
|
@@ -59,6 +59,6 @@ declare function TagsInput({
|
|
|
59
59
|
addOnTab,
|
|
60
60
|
onValidate,
|
|
61
61
|
addButtonVisibility
|
|
62
|
-
}: TagsInputProps):
|
|
62
|
+
}: TagsInputProps): react_jsx_runtime13.JSX.Element;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { TagsInput, TagsInputProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommandOptionListItem } from "../CommandOptionList.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/tags-input/TagsInput.d.ts
|
|
5
5
|
interface TagsInputProps {
|
|
@@ -59,6 +59,6 @@ declare function TagsInput({
|
|
|
59
59
|
addOnTab,
|
|
60
60
|
onValidate,
|
|
61
61
|
addButtonVisibility
|
|
62
|
-
}: TagsInputProps):
|
|
62
|
+
}: TagsInputProps): react_jsx_runtime18.JSX.Element;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { TagsInput, TagsInputProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
2
2
|
import { ChangeEventHandler, FocusEventHandler, KeyboardEventHandler, MouseEventHandler, Ref } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/tags-input/TagsInputInline.d.ts
|
|
@@ -77,6 +77,6 @@ declare function TagsInputInline({
|
|
|
77
77
|
canAddCurrentValue,
|
|
78
78
|
onAddCurrentInput,
|
|
79
79
|
showClear
|
|
80
|
-
}: TagsInputInlineProps):
|
|
80
|
+
}: TagsInputInlineProps): react_jsx_runtime14.JSX.Element;
|
|
81
81
|
//#endregion
|
|
82
82
|
export { TagsInputInline, TagsInputInlineItem, TagsInputInlineProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeEventHandler, FocusEventHandler, KeyboardEventHandler, MouseEventHandler, Ref } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime17 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_runtime17.JSX.Element;
|
|
81
81
|
//#endregion
|
|
82
82
|
export { TagsInputInline, TagsInputInlineItem, TagsInputInlineProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime15 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_runtime15.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_runtime20 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_runtime20.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_runtime16 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_runtime16.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_runtime21 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_runtime21.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_runtime17 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_runtime17.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_runtime22 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_runtime22.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_runtime18 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_runtime18.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_runtime19 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_runtime19.JSX.Element;
|
|
18
18
|
declare namespace ThemeModeToggleButton {
|
|
19
19
|
var displayName: string;
|
|
20
20
|
}
|
package/package.json
CHANGED