@pixpilot/shadcn-ui 3.4.0 → 3.5.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.cts +2 -2
- 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/dialog/Dialog.d.cts +5 -5
- package/dist/drawer/Drawer.cjs +39 -5
- package/dist/drawer/Drawer.d.cts +32 -9
- package/dist/drawer/Drawer.d.ts +31 -8
- package/dist/drawer/Drawer.js +40 -7
- package/dist/drawer/index.d.cts +3 -3
- package/dist/drawer/index.d.ts +3 -3
- package/dist/drawer/index.js +3 -3
- package/dist/drawer/mcp.js +5 -0
- 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/generated/mcp-registry.js +20 -18
- package/dist/index.cjs +3 -1
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +4 -3
- 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 +2 -2
- package/dist/rich-text-editor/RichTextEditor.d.cts +1 -0
- package/dist/rich-text-editor/RichTextEditor.d.ts +1 -0
- package/dist/rich-text-editor/RichTextEditor.js +2 -2
- package/dist/rich-text-editor/mcp.js +2 -1
- package/dist/select/Select.d.cts +2 -2
- package/dist/select/Select.d.ts +2 -2
- package/dist/shake-styles/ShakeStyles.cjs +15 -0
- package/dist/shake-styles/ShakeStyles.d.cts +11 -0
- package/dist/shake-styles/ShakeStyles.d.ts +11 -0
- package/dist/shake-styles/ShakeStyles.js +12 -0
- package/dist/shake-styles/index.d.cts +1 -0
- package/dist/shake-styles/index.d.ts +1 -0
- package/dist/shake-styles/mcp.js +26 -0
- 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/ThemeModeSwitchInside.d.cts +2 -2
- package/dist/theme-toggle/ThemeModeSwitchOutside.d.cts +2 -2
- package/dist/theme-toggle/ThemeModeToggleButton.d.cts +2 -2
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FileUploadRootProps } from "./types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime15 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_runtime15.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_runtime18 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_runtime18.JSX.Element;
|
|
9
9
|
declare namespace FileUploadRoot {
|
|
10
10
|
var displayName: string;
|
|
11
11
|
}
|
|
@@ -34,15 +34,16 @@ import { meta as meta$32 } from "../drawer-registry/mcp.js";
|
|
|
34
34
|
import { meta as meta$33 } from "../rich-text-editor/mcp.js";
|
|
35
35
|
import { meta as meta$34 } from "../scaled-preview/mcp.js";
|
|
36
36
|
import { meta as meta$35 } from "../select/mcp.js";
|
|
37
|
-
import { meta as meta$36 } from "../
|
|
38
|
-
import { meta as meta$37 } from "../
|
|
39
|
-
import { meta as meta$38 } from "../
|
|
40
|
-
import { meta as meta$39 } from "../
|
|
41
|
-
import { meta as meta$40 } from "../theme-
|
|
42
|
-
import { meta as meta$41 } from "../
|
|
43
|
-
import { meta as meta$42 } from "../
|
|
44
|
-
import { meta as meta$43 } from "../toggle-
|
|
45
|
-
import { meta as meta$44 } from "../
|
|
37
|
+
import { meta as meta$36 } from "../shake-styles/mcp.js";
|
|
38
|
+
import { meta as meta$37 } from "../slider/mcp.js";
|
|
39
|
+
import { meta as meta$38 } from "../tabs/mcp.js";
|
|
40
|
+
import { meta as meta$39 } from "../tags-input/mcp.js";
|
|
41
|
+
import { meta as meta$40 } from "../theme-toggle/mcp.js";
|
|
42
|
+
import { meta as meta$41 } from "../theme-provider/mcp.js";
|
|
43
|
+
import { meta as meta$42 } from "../toast/mcp.js";
|
|
44
|
+
import { meta as meta$43 } from "../toggle-button/mcp.js";
|
|
45
|
+
import { meta as meta$44 } from "../toggle-group/mcp.js";
|
|
46
|
+
import { meta as meta$45 } from "../tooltip/mcp.js";
|
|
46
47
|
|
|
47
48
|
//#region src/generated/mcp-registry.ts
|
|
48
49
|
function withHtmlElementNote(comp) {
|
|
@@ -90,15 +91,16 @@ const mcpRegistry = {
|
|
|
90
91
|
"RichTextEditor": withHtmlElementNote(meta$33),
|
|
91
92
|
"ScaledPreview": withHtmlElementNote(meta$34),
|
|
92
93
|
"Select": withHtmlElementNote(meta$35),
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
94
|
+
"ShakeStyles": withHtmlElementNote(meta$36),
|
|
95
|
+
"Slider": withHtmlElementNote(meta$37),
|
|
96
|
+
"Tabs": withHtmlElementNote(meta$38),
|
|
97
|
+
"TagsInput": withHtmlElementNote(meta$39),
|
|
98
|
+
"ThemeModeToggleButton": withHtmlElementNote(meta$40),
|
|
99
|
+
"ThemeProvider": withHtmlElementNote(meta$41),
|
|
100
|
+
"Toast": withHtmlElementNote(meta$42),
|
|
101
|
+
"ToggleButton": withHtmlElementNote(meta$43),
|
|
102
|
+
"ToggleGroup": withHtmlElementNote(meta$44),
|
|
103
|
+
"Tooltip": withHtmlElementNote(meta$45)
|
|
102
104
|
};
|
|
103
105
|
|
|
104
106
|
//#endregion
|
package/dist/index.cjs
CHANGED
|
@@ -63,6 +63,7 @@ const require_Rating = require('./rating/Rating.cjs');
|
|
|
63
63
|
const require_RichTextEditor = require('./rich-text-editor/RichTextEditor.cjs');
|
|
64
64
|
const require_ScaledPreview = require('./scaled-preview/ScaledPreview.cjs');
|
|
65
65
|
const require_Select = require('./select/Select.cjs');
|
|
66
|
+
const require_ShakeStyles = require('./shake-styles/ShakeStyles.cjs');
|
|
66
67
|
const require_Slider = require('./slider/Slider.cjs');
|
|
67
68
|
const require_SliderInput = require('./slider/SliderInput.cjs');
|
|
68
69
|
const require_SliderSelect = require('./slider/SliderSelect.cjs');
|
|
@@ -139,7 +140,7 @@ exports.DialogFooter = require_Dialog.DialogFooter;
|
|
|
139
140
|
exports.DialogHeader = require_Dialog.DialogHeader;
|
|
140
141
|
exports.DialogTitle = __pixpilot_shadcn.DialogTitle;
|
|
141
142
|
exports.DialogTrigger = __pixpilot_shadcn.DialogTrigger;
|
|
142
|
-
exports.Drawer =
|
|
143
|
+
exports.Drawer = require_Drawer.Drawer;
|
|
143
144
|
exports.DrawerBody = require_Drawer.DrawerBody;
|
|
144
145
|
exports.DrawerClose = require_Drawer.DrawerClose;
|
|
145
146
|
exports.DrawerContent = require_Drawer.DrawerContent;
|
|
@@ -172,6 +173,7 @@ exports.RatingButton = require_Rating.RatingButton;
|
|
|
172
173
|
exports.RichTextEditor = require_RichTextEditor.RichTextEditor;
|
|
173
174
|
exports.ScaledPreview = require_ScaledPreview.ScaledPreview;
|
|
174
175
|
exports.Select = require_Select.Select;
|
|
176
|
+
exports.ShakeStyles = require_ShakeStyles.ShakeStyles;
|
|
175
177
|
exports.Slider = require_Slider.Slider;
|
|
176
178
|
exports.SliderInput = require_SliderInput.SliderInput;
|
|
177
179
|
exports.SliderSelect = require_SliderSelect.SliderSelect;
|
package/dist/index.d.cts
CHANGED
|
@@ -60,8 +60,8 @@ import "./overlay-provider/index.cjs";
|
|
|
60
60
|
import { registerDialog } from "./dialog-registry/register-dialog.cjs";
|
|
61
61
|
import { ShowDialogProps, showDialog } from "./dialog-registry/show-dialog.cjs";
|
|
62
62
|
import "./dialog-registry/index.cjs";
|
|
63
|
-
import { DrawerBody, DrawerClose, DrawerContent, DrawerContentProps, DrawerFooter, DrawerHeader } from "./drawer/Drawer.cjs";
|
|
64
|
-
import {
|
|
63
|
+
import { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentProps, DrawerFooter, DrawerHeader, DrawerProps } from "./drawer/Drawer.cjs";
|
|
64
|
+
import { DrawerDescription, DrawerTitle, DrawerTrigger } from "./drawer/index.cjs";
|
|
65
65
|
import { drawer, useDrawer } from "./drawer-registry/drawer-registry.cjs";
|
|
66
66
|
import { registerDrawer } from "./drawer-registry/register-drawer.cjs";
|
|
67
67
|
import { ShowDrawerProps, showDrawer } from "./drawer-registry/show-drawer.cjs";
|
|
@@ -105,6 +105,8 @@ import { ScaledPreview, ScaledPreviewProps, ScaledPreviewSize } from "./scaled-p
|
|
|
105
105
|
import "./scaled-preview/index.cjs";
|
|
106
106
|
import { BaseSelectProps, Select, SelectContentProps, SelectOption } from "./select/Select.cjs";
|
|
107
107
|
import "./select/index.cjs";
|
|
108
|
+
import { ShakeStyles } from "./shake-styles/ShakeStyles.cjs";
|
|
109
|
+
import "./shake-styles/index.cjs";
|
|
108
110
|
import { Slider, SliderProps } from "./slider/Slider.cjs";
|
|
109
111
|
import { SliderInput, SliderInputProps } from "./slider/SliderInput.cjs";
|
|
110
112
|
import { SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue } from "./slider/SliderSelect.cjs";
|
|
@@ -135,4 +137,4 @@ import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./tool
|
|
|
135
137
|
import { getId } from "./utils/get-id.cjs";
|
|
136
138
|
import { isSvgMarkupString, svgMarkupToMaskUrl } from "./utils/svg.cjs";
|
|
137
139
|
import { cn } from "@pixpilot/shadcn";
|
|
138
|
-
export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertToastProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonExtended, ButtonExtendedLoaderProps, ButtonExtendedProps, ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText, ButtonProps, COLOR_PICKER_PALETTE_BUTTON_CLASSES, COMMON_COLORS, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerBase, ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerButton, ColorPickerButtonProps, ColorPickerColorPalette, ColorPickerColorPaletteProps, ColorPickerCompactControls, ColorPickerCompactControlsProps, ColorPickerContent, ColorPickerContentProps, ColorPickerContext, Consumer as ColorPickerContextContextConsumer, Provider as ColorPickerContextContextProvider, ColorPickerContextStates, ColorPickerControls, ColorPickerControlsProps, ColorPickerEyeDropper, ColorPickerFormatControls, ColorPickerFormatControlsProps, ColorPickerFormatInput, ColorPickerFormatInputProps, ColorPickerFormatSelect, ColorPickerFullControls, ColorPickerFullControlsProps, ColorPickerHueSlider, ColorPickerInput, ColorPickerInputProps, ColorPickerPaletteButton, ColorPickerPaletteButtonProps, ColorPickerPaletteSwatch, ColorPickerProps, ColorPickerResetOptions, ColorPickerRoot, ColorPickerRootProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ComboboxProps, ConfirmationDialogProps, ConfirmationDialogVariant, ContentCard, CreatedOverlay, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentProps, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, EmptyOverlayDefaultProps, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadCallbacks, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, FileUploadRoot, FileUploadRootItem, FileUploadRootItemProps, FileUploadRootProps, FileUploadRootPropsBaseProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, IconToggle, IconToggleProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoadingOverlay, LoadingOverlayProps, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, OptionalRegisteredOverlayProps, OverlayProvider, OverlayProviderProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverCloseButtonProps, PopoverContent, PopoverContentProps, PopoverContentUnstyled, PopoverTrigger, PresetColor, Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps, RegisteredOverlay, RegisteredOverlayInjectedProps, RegisteredOverlayShowProps, RichTextEditor, RichTextEditorProps, RichTextEditorSlots, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectContentProps, SelectOption, BaseSelectProps as SelectProps, ShowDialogProps, ShowDrawerProps, ShowOverlayProps, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputInline, TagsInputInlineItem, TagsInputInlineProps, TagsInputProps, ThemeModeDropdown, ThemeModeDropdownProps, ThemeModeSwitchInside, ThemeModeSwitchInsideProps, ThemeModeSwitchInsideSize, ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps, ThemeModeToggleButton, ThemeModeToggleButtonProps, ThemeProvider, ThemeProviderProps, ToastFunction, ToastMessage, Toaster, ToggleButton, ToggleButtonProps, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupValue, ToolbarItems, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UseDelayedVisibilityOptions, UseDelayedVisibilityResult, cn, confirmDialog, createOverlay, createOverlayProvider, dialog, drawer, getId, hideOverlay, isSvgMarkupString, overlayRegistry, registerDialog, registerDrawer, registerOverlay, removeOverlay, showConfirmDialog, showDialog, showDrawer, showOverlay, svgMarkupToMaskUrl, toast, unregisterOverlay, useColorPickerContext, useDelayedVisibility, useDialog, useDrawer, useMediaQuery, useOverlay, useSelectKeyboard, useTabsContext, useTheme };
|
|
140
|
+
export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertToastProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonExtended, ButtonExtendedLoaderProps, ButtonExtendedProps, ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText, ButtonProps, COLOR_PICKER_PALETTE_BUTTON_CLASSES, COMMON_COLORS, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerBase, ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerButton, ColorPickerButtonProps, ColorPickerColorPalette, ColorPickerColorPaletteProps, ColorPickerCompactControls, ColorPickerCompactControlsProps, ColorPickerContent, ColorPickerContentProps, ColorPickerContext, Consumer as ColorPickerContextContextConsumer, Provider as ColorPickerContextContextProvider, ColorPickerContextStates, ColorPickerControls, ColorPickerControlsProps, ColorPickerEyeDropper, ColorPickerFormatControls, ColorPickerFormatControlsProps, ColorPickerFormatInput, ColorPickerFormatInputProps, ColorPickerFormatSelect, ColorPickerFullControls, ColorPickerFullControlsProps, ColorPickerHueSlider, ColorPickerInput, ColorPickerInputProps, ColorPickerPaletteButton, ColorPickerPaletteButtonProps, ColorPickerPaletteSwatch, ColorPickerProps, ColorPickerResetOptions, ColorPickerRoot, ColorPickerRootProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ComboboxProps, ConfirmationDialogProps, ConfirmationDialogVariant, ContentCard, CreatedOverlay, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentProps, DrawerDescription, DrawerFooter, DrawerHeader, DrawerProps, DrawerTitle, DrawerTrigger, EmptyOverlayDefaultProps, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadCallbacks, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, FileUploadRoot, FileUploadRootItem, FileUploadRootItemProps, FileUploadRootProps, FileUploadRootPropsBaseProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, IconToggle, IconToggleProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoadingOverlay, LoadingOverlayProps, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, OptionalRegisteredOverlayProps, OverlayProvider, OverlayProviderProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverCloseButtonProps, PopoverContent, PopoverContentProps, PopoverContentUnstyled, PopoverTrigger, PresetColor, Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps, RegisteredOverlay, RegisteredOverlayInjectedProps, RegisteredOverlayShowProps, RichTextEditor, RichTextEditorProps, RichTextEditorSlots, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectContentProps, SelectOption, BaseSelectProps as SelectProps, ShakeStyles, ShowDialogProps, ShowDrawerProps, ShowOverlayProps, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputInline, TagsInputInlineItem, TagsInputInlineProps, TagsInputProps, ThemeModeDropdown, ThemeModeDropdownProps, ThemeModeSwitchInside, ThemeModeSwitchInsideProps, ThemeModeSwitchInsideSize, ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps, ThemeModeToggleButton, ThemeModeToggleButtonProps, ThemeProvider, ThemeProviderProps, ToastFunction, ToastMessage, Toaster, ToggleButton, ToggleButtonProps, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupValue, ToolbarItems, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UseDelayedVisibilityOptions, UseDelayedVisibilityResult, cn, confirmDialog, createOverlay, createOverlayProvider, dialog, drawer, getId, hideOverlay, isSvgMarkupString, overlayRegistry, registerDialog, registerDrawer, registerOverlay, removeOverlay, showConfirmDialog, showDialog, showDrawer, showOverlay, svgMarkupToMaskUrl, toast, unregisterOverlay, useColorPickerContext, useDelayedVisibility, useDialog, useDrawer, useMediaQuery, useOverlay, useSelectKeyboard, useTabsContext, useTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -60,8 +60,8 @@ import "./overlay-provider/index.js";
|
|
|
60
60
|
import { registerDialog } from "./dialog-registry/register-dialog.js";
|
|
61
61
|
import { ShowDialogProps, showDialog } from "./dialog-registry/show-dialog.js";
|
|
62
62
|
import "./dialog-registry/index.js";
|
|
63
|
-
import { DrawerBody, DrawerClose, DrawerContent, DrawerContentProps, DrawerFooter, DrawerHeader } from "./drawer/Drawer.js";
|
|
64
|
-
import {
|
|
63
|
+
import { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentProps, DrawerFooter, DrawerHeader, DrawerProps } from "./drawer/Drawer.js";
|
|
64
|
+
import { DrawerDescription, DrawerTitle, DrawerTrigger } from "./drawer/index.js";
|
|
65
65
|
import { drawer, useDrawer } from "./drawer-registry/drawer-registry.js";
|
|
66
66
|
import { registerDrawer } from "./drawer-registry/register-drawer.js";
|
|
67
67
|
import { ShowDrawerProps, showDrawer } from "./drawer-registry/show-drawer.js";
|
|
@@ -105,6 +105,8 @@ import { ScaledPreview, ScaledPreviewProps, ScaledPreviewSize } from "./scaled-p
|
|
|
105
105
|
import "./scaled-preview/index.js";
|
|
106
106
|
import { BaseSelectProps, Select, SelectContentProps, SelectOption } from "./select/Select.js";
|
|
107
107
|
import "./select/index.js";
|
|
108
|
+
import { ShakeStyles } from "./shake-styles/ShakeStyles.js";
|
|
109
|
+
import "./shake-styles/index.js";
|
|
108
110
|
import { Slider, SliderProps } from "./slider/Slider.js";
|
|
109
111
|
import { SliderInput, SliderInputProps } from "./slider/SliderInput.js";
|
|
110
112
|
import { SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue } from "./slider/SliderSelect.js";
|
|
@@ -137,4 +139,4 @@ import "./tooltip/index.js";
|
|
|
137
139
|
import { getId } from "./utils/get-id.js";
|
|
138
140
|
import { isSvgMarkupString, svgMarkupToMaskUrl } from "./utils/svg.js";
|
|
139
141
|
import { cn } from "@pixpilot/shadcn";
|
|
140
|
-
export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertToastProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonExtended, ButtonExtendedLoaderProps, ButtonExtendedProps, ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText, ButtonProps, COLOR_PICKER_PALETTE_BUTTON_CLASSES, COMMON_COLORS, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerBase, ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerButton, ColorPickerButtonProps, ColorPickerColorPalette, ColorPickerColorPaletteProps, ColorPickerCompactControls, ColorPickerCompactControlsProps, ColorPickerContent, ColorPickerContentProps, ColorPickerContext, Consumer as ColorPickerContextContextConsumer, Provider as ColorPickerContextContextProvider, ColorPickerContextStates, ColorPickerControls, ColorPickerControlsProps, ColorPickerEyeDropper, ColorPickerFormatControls, ColorPickerFormatControlsProps, ColorPickerFormatInput, ColorPickerFormatInputProps, ColorPickerFormatSelect, ColorPickerFullControls, ColorPickerFullControlsProps, ColorPickerHueSlider, ColorPickerInput, ColorPickerInputProps, ColorPickerPaletteButton, ColorPickerPaletteButtonProps, ColorPickerPaletteSwatch, ColorPickerProps, ColorPickerResetOptions, ColorPickerRoot, ColorPickerRootProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ComboboxProps, ConfirmationDialogProps, ConfirmationDialogVariant, ContentCard, CreatedOverlay, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentProps, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, EmptyOverlayDefaultProps, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadCallbacks, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, FileUploadRoot, FileUploadRootItem, FileUploadRootItemProps, FileUploadRootProps, FileUploadRootPropsBaseProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, IconToggle, IconToggleProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoadingOverlay, LoadingOverlayProps, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, OptionalRegisteredOverlayProps, OverlayProvider, OverlayProviderProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverCloseButtonProps, PopoverContent, PopoverContentProps, PopoverContentUnstyled, PopoverTrigger, PresetColor, Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps, RegisteredOverlay, RegisteredOverlayInjectedProps, RegisteredOverlayShowProps, RichTextEditor, RichTextEditorProps, RichTextEditorSlots, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectContentProps, SelectOption, BaseSelectProps as SelectProps, ShowDialogProps, ShowDrawerProps, ShowOverlayProps, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputInline, TagsInputInlineItem, TagsInputInlineProps, TagsInputProps, ThemeModeDropdown, ThemeModeDropdownProps, ThemeModeSwitchInside, ThemeModeSwitchInsideProps, ThemeModeSwitchInsideSize, ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps, ThemeModeToggleButton, ThemeModeToggleButtonProps, ThemeProvider, ThemeProviderProps, ToastFunction, ToastMessage, Toaster, ToggleButton, ToggleButtonProps, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupValue, ToolbarItems, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UseDelayedVisibilityOptions, UseDelayedVisibilityResult, cn, confirmDialog, createOverlay, createOverlayProvider, dialog, drawer, getId, hideOverlay, isSvgMarkupString, overlayRegistry, registerDialog, registerDrawer, registerOverlay, removeOverlay, showConfirmDialog, showDialog, showDrawer, showOverlay, svgMarkupToMaskUrl, toast, unregisterOverlay, useColorPickerContext, useDelayedVisibility, useDialog, useDrawer, useMediaQuery, useOverlay, useSelectKeyboard, useTabsContext, useTheme };
|
|
142
|
+
export { AbsoluteFill, Alert, AlertBaseProps, AlertProps, AlertToastProps, AlertVariant, AvatarUpload, AvatarUploadProps, BaseTabsTriggerProps, Button, ButtonExtended, ButtonExtendedLoaderProps, ButtonExtendedProps, ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupText, ButtonProps, COLOR_PICKER_PALETTE_BUTTON_CLASSES, COMMON_COLORS, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CircleLoader, CircleLoaderProps, CloseButtonAbsolute, CloseButtonRounded, CloseButtonRoundedProps, ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerBase, ColorPickerBaseProps, ColorPickerBaseSection, ColorPickerButton, ColorPickerButtonProps, ColorPickerColorPalette, ColorPickerColorPaletteProps, ColorPickerCompactControls, ColorPickerCompactControlsProps, ColorPickerContent, ColorPickerContentProps, ColorPickerContext, Consumer as ColorPickerContextContextConsumer, Provider as ColorPickerContextContextProvider, ColorPickerContextStates, ColorPickerControls, ColorPickerControlsProps, ColorPickerEyeDropper, ColorPickerFormatControls, ColorPickerFormatControlsProps, ColorPickerFormatInput, ColorPickerFormatInputProps, ColorPickerFormatSelect, ColorPickerFullControls, ColorPickerFullControlsProps, ColorPickerHueSlider, ColorPickerInput, ColorPickerInputProps, ColorPickerPaletteButton, ColorPickerPaletteButtonProps, ColorPickerPaletteSwatch, ColorPickerProps, ColorPickerResetOptions, ColorPickerRoot, ColorPickerRootProps, ColorSelect, ColorSelectOption, BaseColorSelectProps as ColorSelectProps, Combobox, ComboboxProps, ConfirmationDialogProps, ConfirmationDialogVariant, ContentCard, CreatedOverlay, DEFAULT_ALERT_DURATION, DatePicker, DatePickerProps, Dialog, DialogBody, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerContentProps, DrawerDescription, DrawerFooter, DrawerHeader, DrawerProps, DrawerTitle, DrawerTrigger, EmptyOverlayDefaultProps, type FileMetadata, FileUpload, FileUploadBaseProps, FileUploadCallbacks, FileUploadInline, FileUploadInlineBaseProps, FileUploadInlineProps, type FileUploadProgressCallBacks, type FileUploadProps, FileUploadRoot, FileUploadRootItem, FileUploadRootItemProps, FileUploadRootProps, FileUploadRootPropsBaseProps, IconPicker, IconPickerProps, IconPickerVariant, IconProvider, IconProviderLoader, IconProviderProps, IconToggle, IconToggleProps, Input, InputProps, Layout, LayoutFooter, LayoutFooterProps, LayoutHeader, LayoutHeaderProps, LayoutMain, LayoutMainProps, LayoutProps, LoadingOverlay, LoadingOverlayProps, MultiFileUploadProps, OnChangeMultipleFiles, OnChangeSingleFile, OptionalRegisteredOverlayProps, OverlayProvider, OverlayProviderProps, Pagination, PaginationProps, Popover, PopoverAnchor, PopoverCloseButtonProps, PopoverContent, PopoverContentProps, PopoverContentUnstyled, PopoverTrigger, PresetColor, Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps, RegisteredOverlay, RegisteredOverlayInjectedProps, RegisteredOverlayShowProps, RichTextEditor, RichTextEditorProps, RichTextEditorSlots, ScaledPreview, ScaledPreviewProps, ScaledPreviewSize, Select, SelectContentProps, SelectOption, BaseSelectProps as SelectProps, ShakeStyles, ShowDialogProps, ShowDrawerProps, ShowOverlayProps, SingleFileUploadProps, Slider, SliderInput, SliderInputProps, SliderProps, SliderSelect, SliderSelectOption, SliderSelectProps, SliderSelectValue, Tabs, TabsContent, TabsContext, TabsContextValue, TabsList, TabsListProps, TabsTrigger, TabsTriggerProps, TabsVariant, TagsInput, TagsInputInline, TagsInputInlineItem, TagsInputInlineProps, TagsInputProps, ThemeModeDropdown, ThemeModeDropdownProps, ThemeModeSwitchInside, ThemeModeSwitchInsideProps, ThemeModeSwitchInsideSize, ThemeModeSwitchOutside, ThemeModeSwitchOutsideProps, ThemeModeToggleButton, ThemeModeToggleButtonProps, ThemeProvider, ThemeProviderProps, ToastFunction, ToastMessage, Toaster, ToggleButton, ToggleButtonProps, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleGroupValue, ToolbarItems, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UseDelayedVisibilityOptions, UseDelayedVisibilityResult, cn, confirmDialog, createOverlay, createOverlayProvider, dialog, drawer, getId, hideOverlay, isSvgMarkupString, overlayRegistry, registerDialog, registerDrawer, registerOverlay, removeOverlay, showConfirmDialog, showDialog, showDrawer, showOverlay, svgMarkupToMaskUrl, toast, unregisterOverlay, useColorPickerContext, useDelayedVisibility, useDialog, useDrawer, useMediaQuery, useOverlay, useSelectKeyboard, useTabsContext, useTheme };
|
package/dist/index.js
CHANGED
|
@@ -39,8 +39,8 @@ import { ContentCard } from "./content-card/ContentCard.js";
|
|
|
39
39
|
import { DatePicker } from "./date-picker/DatePicker.js";
|
|
40
40
|
import { DialogBody, DialogClose, DialogContent, DialogFooter, DialogHeader } from "./dialog/Dialog.js";
|
|
41
41
|
import { Dialog, DialogDescription, DialogTitle, DialogTrigger } from "./dialog/index.js";
|
|
42
|
-
import { DrawerBody, DrawerClose, DrawerContent, DrawerFooter, DrawerHeader } from "./drawer/Drawer.js";
|
|
43
|
-
import {
|
|
42
|
+
import { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerFooter, DrawerHeader } from "./drawer/Drawer.js";
|
|
43
|
+
import { DrawerDescription, DrawerTitle, DrawerTrigger } from "./drawer/index.js";
|
|
44
44
|
import { drawer, useDrawer } from "./drawer-registry/drawer-registry.js";
|
|
45
45
|
import { registerDrawer } from "./drawer-registry/register-drawer.js";
|
|
46
46
|
import { showDrawer } from "./drawer-registry/show-drawer.js";
|
|
@@ -64,6 +64,7 @@ import { Rating, RatingButton } from "./rating/Rating.js";
|
|
|
64
64
|
import { RichTextEditor } from "./rich-text-editor/RichTextEditor.js";
|
|
65
65
|
import { ScaledPreview } from "./scaled-preview/ScaledPreview.js";
|
|
66
66
|
import { Select } from "./select/Select.js";
|
|
67
|
+
import { ShakeStyles } from "./shake-styles/ShakeStyles.js";
|
|
67
68
|
import { Slider } from "./slider/Slider.js";
|
|
68
69
|
import { SliderInput } from "./slider/SliderInput.js";
|
|
69
70
|
import { SliderSelect } from "./slider/SliderSelect.js";
|
|
@@ -86,4 +87,4 @@ import { ToggleGroup, ToggleGroupItem } from "./toggle-group/ToggleGroup.js";
|
|
|
86
87
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./tooltip/Tooltip.js";
|
|
87
88
|
import { cn } from "@pixpilot/shadcn";
|
|
88
89
|
|
|
89
|
-
export { AbsoluteFill, Alert, AvatarUpload, Button, ButtonExtended, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, COLOR_PICKER_PALETTE_BUTTON_CLASSES, COMMON_COLORS, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CircleLoader, CloseButtonAbsolute, CloseButtonRounded, ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerBase, ColorPickerButton, ColorPickerColorPalette, ColorPickerCompactControls, ColorPickerContent, ColorPickerContext, Consumer as ColorPickerContextContextConsumer, Provider as ColorPickerContextContextProvider, ColorPickerControls, ColorPickerEyeDropper, ColorPickerFormatControls, ColorPickerFormatInput, ColorPickerFormatSelect, ColorPickerFullControls, ColorPickerHueSlider, ColorPickerInput, ColorPickerPaletteButton, ColorPickerPaletteSwatch, ColorPickerRoot, ColorSelect, Combobox, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, FileUpload, FileUploadInline, FileUploadRoot, FileUploadRootItem, IconPicker, IconToggle, Input, Layout, LayoutFooter, LayoutHeader, LayoutMain, LoadingOverlay, OverlayProvider, Pagination, Popover, PopoverAnchor, PopoverContent, PopoverContentUnstyled, PopoverTrigger, Rating, RatingButton, RichTextEditor, ScaledPreview, Select, Slider, SliderInput, SliderSelect, Tabs, TabsContent, TabsContext, TabsList, TabsTrigger, TagsInput, TagsInputInline, ThemeModeDropdown, ThemeModeSwitchInside, ThemeModeSwitchOutside, ThemeModeToggleButton, ThemeProvider, Toaster, ToggleButton, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, cn, confirmDialog, createOverlay, createOverlayProvider, dialog, drawer, getId, hideOverlay, isSvgMarkupString, overlayRegistry, registerDialog, registerDrawer, registerOverlay, removeOverlay, showConfirmDialog, showDialog, showDrawer, showOverlay, svgMarkupToMaskUrl, toast, unregisterOverlay, useColorPickerContext, useDelayedVisibility, useDialog, useDrawer, useMediaQuery, useOverlay, useSelectKeyboard, useTabsContext, useTheme };
|
|
90
|
+
export { AbsoluteFill, Alert, AvatarUpload, Button, ButtonExtended, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, COLOR_PICKER_PALETTE_BUTTON_CLASSES, COMMON_COLORS, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CircleLoader, CloseButtonAbsolute, CloseButtonRounded, ColorPicker, ColorPickerAlphaSlider, ColorPickerArea, ColorPickerBase, ColorPickerButton, ColorPickerColorPalette, ColorPickerCompactControls, ColorPickerContent, ColorPickerContext, Consumer as ColorPickerContextContextConsumer, Provider as ColorPickerContextContextProvider, ColorPickerControls, ColorPickerEyeDropper, ColorPickerFormatControls, ColorPickerFormatInput, ColorPickerFormatSelect, ColorPickerFullControls, ColorPickerHueSlider, ColorPickerInput, ColorPickerPaletteButton, ColorPickerPaletteSwatch, ColorPickerRoot, ColorSelect, Combobox, ContentCard, DEFAULT_ALERT_DURATION, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, FileUpload, FileUploadInline, FileUploadRoot, FileUploadRootItem, IconPicker, IconToggle, Input, Layout, LayoutFooter, LayoutHeader, LayoutMain, LoadingOverlay, OverlayProvider, Pagination, Popover, PopoverAnchor, PopoverContent, PopoverContentUnstyled, PopoverTrigger, Rating, RatingButton, RichTextEditor, ScaledPreview, Select, ShakeStyles, Slider, SliderInput, SliderSelect, Tabs, TabsContent, TabsContext, TabsList, TabsTrigger, TagsInput, TagsInputInline, ThemeModeDropdown, ThemeModeSwitchInside, ThemeModeSwitchOutside, ThemeModeToggleButton, ThemeProvider, Toaster, ToggleButton, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, cn, confirmDialog, createOverlay, createOverlayProvider, dialog, drawer, getId, hideOverlay, isSvgMarkupString, overlayRegistry, registerDialog, registerDrawer, registerOverlay, removeOverlay, showConfirmDialog, showDialog, showDrawer, showOverlay, svgMarkupToMaskUrl, toast, unregisterOverlay, useColorPickerContext, useDelayedVisibility, useDialog, useDrawer, useMediaQuery, useOverlay, useSelectKeyboard, useTabsContext, useTheme };
|
package/dist/input/Input.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime14 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_runtime14.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_runtime28 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_runtime28.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_runtime16 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?: "sm" | "default" | "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_runtime16.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_runtime16.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_runtime19 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?: "sm" | "default" | "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_runtime19.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_runtime19.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { Rating, RatingButton, RatingButtonProps, RatingColor, RatingOption, RatingProps };
|
|
@@ -66,7 +66,7 @@ function useEditorProps(slots, customEditorProps, openOnClick = false) {
|
|
|
66
66
|
openOnClick
|
|
67
67
|
]);
|
|
68
68
|
}
|
|
69
|
-
const RichTextEditor = ({ value, onChange, extensions = defaultExtensions, editable = true, slots, showToolbar = true, toolbarItems = defaultToolbarItems, editorProps: customEditorProps, immediatelyRender = false, tooltipMode = "native", placeholder, allowLinkTarget = false, openOnClick = false }) => {
|
|
69
|
+
const RichTextEditor = ({ value, onChange, extensions = defaultExtensions, editable = true, slots, showToolbar = true, toolbarItems = defaultToolbarItems, editorProps: customEditorProps, immediatelyRender = false, tooltipMode = "native", placeholder, allowLinkTarget = false, openOnClick = false, className }) => {
|
|
70
70
|
const [renderTick, forceRender] = react.default.useReducer((x) => x + 1, 0);
|
|
71
71
|
const mergedEditorProps = useEditorProps(slots, customEditorProps, openOnClick);
|
|
72
72
|
const onChangeRef = react.default.useRef(onChange);
|
|
@@ -124,7 +124,7 @@ const RichTextEditor = ({ value, onChange, extensions = defaultExtensions, edita
|
|
|
124
124
|
})]
|
|
125
125
|
});
|
|
126
126
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
127
|
-
className: (0, __pixpilot_shadcn.cn)("flex flex-col overflow-hidden border rounded-md bg-background", slots?.root?.className),
|
|
127
|
+
className: (0, __pixpilot_shadcn.cn)("flex flex-col overflow-hidden border rounded-md bg-background", slots?.root?.className, className),
|
|
128
128
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_RichTextEditorToolbar.RichTextEditorToolbar, {
|
|
129
129
|
editor: editorInstance,
|
|
130
130
|
toolbarItems,
|
|
@@ -57,7 +57,7 @@ function useEditorProps(slots, customEditorProps, openOnClick = false) {
|
|
|
57
57
|
openOnClick
|
|
58
58
|
]);
|
|
59
59
|
}
|
|
60
|
-
const RichTextEditor = ({ value, onChange, extensions = defaultExtensions, editable = true, slots, showToolbar = true, toolbarItems = defaultToolbarItems, editorProps: customEditorProps, immediatelyRender = false, tooltipMode = "native", placeholder, allowLinkTarget = false, openOnClick = false }) => {
|
|
60
|
+
const RichTextEditor = ({ value, onChange, extensions = defaultExtensions, editable = true, slots, showToolbar = true, toolbarItems = defaultToolbarItems, editorProps: customEditorProps, immediatelyRender = false, tooltipMode = "native", placeholder, allowLinkTarget = false, openOnClick = false, className }) => {
|
|
61
61
|
const [renderTick, forceRender] = React.useReducer((x) => x + 1, 0);
|
|
62
62
|
const mergedEditorProps = useEditorProps(slots, customEditorProps, openOnClick);
|
|
63
63
|
const onChangeRef = React.useRef(onChange);
|
|
@@ -115,7 +115,7 @@ const RichTextEditor = ({ value, onChange, extensions = defaultExtensions, edita
|
|
|
115
115
|
})]
|
|
116
116
|
});
|
|
117
117
|
return /* @__PURE__ */ jsxs("div", {
|
|
118
|
-
className: cn("flex flex-col overflow-hidden border rounded-md bg-background", slots?.root?.className),
|
|
118
|
+
className: cn("flex flex-col overflow-hidden border rounded-md bg-background", slots?.root?.className, className),
|
|
119
119
|
children: [/* @__PURE__ */ jsx(RichTextEditorToolbar, {
|
|
120
120
|
editor: editorInstance,
|
|
121
121
|
toolbarItems,
|
package/dist/select/Select.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime18 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_runtime18.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_runtime21 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_runtime21.JSX.Element;
|
|
64
64
|
//#endregion
|
|
65
65
|
export { BaseSelectProps, Select$1 as Select, SelectContentProps, SelectOption };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let react = require("react");
|
|
3
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
+
react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
|
|
6
|
+
|
|
7
|
+
//#region src/shake-styles/ShakeStyles.tsx
|
|
8
|
+
/**
|
|
9
|
+
* Inline styles for shake animation
|
|
10
|
+
* Can be included in any component that needs shake effect
|
|
11
|
+
*/
|
|
12
|
+
const ShakeStyles = () => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("style", { children: `@keyframes pp-shake { 0% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } 100% { transform: translateX(0); } } .pp-shake { animation: pp-shake 220ms ease-in-out; }` });
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
exports.ShakeStyles = ShakeStyles;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/shake-styles/ShakeStyles.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Inline styles for shake animation
|
|
7
|
+
* Can be included in any component that needs shake effect
|
|
8
|
+
*/
|
|
9
|
+
declare const ShakeStyles: React.FC;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { ShakeStyles };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/shake-styles/ShakeStyles.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Inline styles for shake animation
|
|
7
|
+
* Can be included in any component that needs shake effect
|
|
8
|
+
*/
|
|
9
|
+
declare const ShakeStyles: React.FC;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { ShakeStyles };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/shake-styles/ShakeStyles.tsx
|
|
5
|
+
/**
|
|
6
|
+
* Inline styles for shake animation
|
|
7
|
+
* Can be included in any component that needs shake effect
|
|
8
|
+
*/
|
|
9
|
+
const ShakeStyles = () => /* @__PURE__ */ jsx("style", { children: `@keyframes pp-shake { 0% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } 100% { transform: translateX(0); } } .pp-shake { animation: pp-shake 220ms ease-in-out; }` });
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { ShakeStyles };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { ShakeStyles } from "./ShakeStyles.cjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { ShakeStyles } from "./ShakeStyles.js";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defineProps } from "../mcp/src/utils.js";
|
|
2
|
+
|
|
3
|
+
//#region src/shake-styles/mcp.ts
|
|
4
|
+
const meta = {
|
|
5
|
+
name: "ShakeStyles",
|
|
6
|
+
category: "Utilities",
|
|
7
|
+
description: "A props-less component that injects the CSS keyframes for the shake animation. Render it once wherever a shake effect is needed, then apply the `pp-shake` class to the element you want to shake (e.g. to signal an invalid action).",
|
|
8
|
+
props: defineProps({}),
|
|
9
|
+
notes: ["Defines the `pp-shake` animation (a 220ms horizontal wobble) and the `pp-shake` class that runs it.", "Toggle the `pp-shake` class on the target element to trigger the animation; remove and re-add it (e.g. via `key` or a state reset) to replay."],
|
|
10
|
+
examples: [{
|
|
11
|
+
title: "Shake an input on invalid submit",
|
|
12
|
+
code: "<>\n <ShakeStyles />\n <Input className={invalid ? \"pp-shake\" : \"\"} />\n</>"
|
|
13
|
+
}],
|
|
14
|
+
related: ["Input"],
|
|
15
|
+
keywords: [
|
|
16
|
+
"shake",
|
|
17
|
+
"animation",
|
|
18
|
+
"keyframes",
|
|
19
|
+
"wobble",
|
|
20
|
+
"invalid",
|
|
21
|
+
"styles"
|
|
22
|
+
]
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { meta };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CommandOptionListItem } from "../command-option-list/CommandOptionList.cjs";
|
|
2
2
|
import { TagsInputInline } from "./TagsInputInline.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
4
4
|
import { ComponentProps } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/tags-input/TagsInput.d.ts
|
|
@@ -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,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_runtime27 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_runtime27.JSX.Element;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { TagsInput, TagsInputProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime23 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_runtime23.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_runtime26 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_runtime26.JSX.Element;
|
|
81
81
|
//#endregion
|
|
82
82
|
export { TagsInputInline, TagsInputInlineItem, TagsInputInlineProps };
|
|
@@ -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
|
}
|