@underverse-ui/underverse 0.1.38 → 0.2.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/index.cjs +511 -155
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +41 -3
- package/dist/index.d.ts +41 -3
- package/dist/index.js +545 -189
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -708,8 +708,31 @@ interface TimePickerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "
|
|
|
708
708
|
showPresets?: boolean;
|
|
709
709
|
/** Enable manual input */
|
|
710
710
|
allowManualInput?: boolean;
|
|
711
|
+
/** Custom presets with labels and times */
|
|
712
|
+
customPresets?: Array<{
|
|
713
|
+
label: string;
|
|
714
|
+
time: string;
|
|
715
|
+
}>;
|
|
716
|
+
/** Minimum allowed time (e.g., "09:00") */
|
|
717
|
+
minTime?: string;
|
|
718
|
+
/** Maximum allowed time (e.g., "18:00") */
|
|
719
|
+
maxTime?: string;
|
|
720
|
+
/** Disabled times function or array */
|
|
721
|
+
disabledTimes?: ((time: string) => boolean) | string[];
|
|
722
|
+
/** Show validation feedback */
|
|
723
|
+
error?: string;
|
|
724
|
+
/** Success state */
|
|
725
|
+
success?: boolean;
|
|
726
|
+
/** Helper text */
|
|
727
|
+
helperText?: string;
|
|
728
|
+
/** Enable smooth animations */
|
|
729
|
+
animate?: boolean;
|
|
730
|
+
/** Callback when popover opens */
|
|
731
|
+
onOpen?: () => void;
|
|
732
|
+
/** Callback when popover closes */
|
|
733
|
+
onClose?: () => void;
|
|
711
734
|
}
|
|
712
|
-
declare function TimePicker({ value, defaultValue, onChange, placeholder, disabled, size, label, required, format, includeSeconds, minuteStep, secondStep, clearable, variant, showNow, showPresets, allowManualInput, className, ...rest }: TimePickerProps): react_jsx_runtime.JSX.Element;
|
|
735
|
+
declare function TimePicker({ value, defaultValue, onChange, placeholder, disabled, size, label, required, format, includeSeconds, minuteStep, secondStep, clearable, variant, showNow, showPresets, allowManualInput, customPresets, minTime, maxTime, disabledTimes, error, success, helperText, animate, onOpen, onClose, className, ...rest }: TimePickerProps): react_jsx_runtime.JSX.Element;
|
|
713
736
|
|
|
714
737
|
type SelectMode = "single" | "multiple" | "range";
|
|
715
738
|
type Variant$3 = "default" | "bordered" | "card" | "minimal";
|
|
@@ -988,13 +1011,13 @@ interface ImageUploadProps {
|
|
|
988
1011
|
declare function ImageUpload({ onUpload, onRemove, maxSize, // Convert bytes to MB
|
|
989
1012
|
accept, multiple, disabled, className, showPreview, previewSize, dragDropText, browseText, supportedFormatsText }: ImageUploadProps): react_jsx_runtime.JSX.Element;
|
|
990
1013
|
|
|
991
|
-
type AnimationVariant = "slide" | "fade" | "scale";
|
|
1014
|
+
type AnimationVariant$1 = "slide" | "fade" | "scale";
|
|
992
1015
|
type Orientation = "horizontal" | "vertical";
|
|
993
1016
|
interface CarouselProps {
|
|
994
1017
|
children: React$1.ReactNode[];
|
|
995
1018
|
autoScroll?: boolean;
|
|
996
1019
|
autoScrollInterval?: number;
|
|
997
|
-
animation?: AnimationVariant;
|
|
1020
|
+
animation?: AnimationVariant$1;
|
|
998
1021
|
orientation?: Orientation;
|
|
999
1022
|
showArrows?: boolean;
|
|
1000
1023
|
showDots?: boolean;
|
|
@@ -1100,6 +1123,7 @@ declare const List: React$1.ForwardRefExoticComponent<ListProps & React$1.RefAtt
|
|
|
1100
1123
|
|
|
1101
1124
|
type WatermarkPreset = "confidential" | "draft" | "sample" | "copyright" | "doNotCopy" | "internal";
|
|
1102
1125
|
type WatermarkPattern = "diagonal" | "grid" | "straight";
|
|
1126
|
+
type AnimationVariant = "fade" | "slide" | "scale" | "pulse" | "none";
|
|
1103
1127
|
interface WatermarkProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1104
1128
|
text?: string | string[];
|
|
1105
1129
|
image?: string;
|
|
@@ -1128,8 +1152,22 @@ interface WatermarkProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
1128
1152
|
interactive?: boolean;
|
|
1129
1153
|
/** Animation effect */
|
|
1130
1154
|
animate?: boolean;
|
|
1155
|
+
/** Animation variant */
|
|
1156
|
+
animationVariant?: AnimationVariant;
|
|
1157
|
+
/** Enable backdrop blur */
|
|
1158
|
+
blur?: boolean;
|
|
1159
|
+
/** Blur amount in pixels */
|
|
1160
|
+
blurAmount?: number;
|
|
1161
|
+
/** Enable text shadow/glow */
|
|
1162
|
+
textShadow?: boolean;
|
|
1163
|
+
/** Text shadow color */
|
|
1164
|
+
shadowColor?: string;
|
|
1165
|
+
/** Enable dark mode auto-adjust */
|
|
1166
|
+
darkMode?: boolean;
|
|
1131
1167
|
/** Class for the overlay layer */
|
|
1132
1168
|
overlayClassName?: string;
|
|
1169
|
+
/** ARIA label for accessibility */
|
|
1170
|
+
ariaLabel?: string;
|
|
1133
1171
|
}
|
|
1134
1172
|
declare const Watermark: React$1.FC<WatermarkProps>;
|
|
1135
1173
|
|
package/dist/index.d.ts
CHANGED
|
@@ -708,8 +708,31 @@ interface TimePickerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "
|
|
|
708
708
|
showPresets?: boolean;
|
|
709
709
|
/** Enable manual input */
|
|
710
710
|
allowManualInput?: boolean;
|
|
711
|
+
/** Custom presets with labels and times */
|
|
712
|
+
customPresets?: Array<{
|
|
713
|
+
label: string;
|
|
714
|
+
time: string;
|
|
715
|
+
}>;
|
|
716
|
+
/** Minimum allowed time (e.g., "09:00") */
|
|
717
|
+
minTime?: string;
|
|
718
|
+
/** Maximum allowed time (e.g., "18:00") */
|
|
719
|
+
maxTime?: string;
|
|
720
|
+
/** Disabled times function or array */
|
|
721
|
+
disabledTimes?: ((time: string) => boolean) | string[];
|
|
722
|
+
/** Show validation feedback */
|
|
723
|
+
error?: string;
|
|
724
|
+
/** Success state */
|
|
725
|
+
success?: boolean;
|
|
726
|
+
/** Helper text */
|
|
727
|
+
helperText?: string;
|
|
728
|
+
/** Enable smooth animations */
|
|
729
|
+
animate?: boolean;
|
|
730
|
+
/** Callback when popover opens */
|
|
731
|
+
onOpen?: () => void;
|
|
732
|
+
/** Callback when popover closes */
|
|
733
|
+
onClose?: () => void;
|
|
711
734
|
}
|
|
712
|
-
declare function TimePicker({ value, defaultValue, onChange, placeholder, disabled, size, label, required, format, includeSeconds, minuteStep, secondStep, clearable, variant, showNow, showPresets, allowManualInput, className, ...rest }: TimePickerProps): react_jsx_runtime.JSX.Element;
|
|
735
|
+
declare function TimePicker({ value, defaultValue, onChange, placeholder, disabled, size, label, required, format, includeSeconds, minuteStep, secondStep, clearable, variant, showNow, showPresets, allowManualInput, customPresets, minTime, maxTime, disabledTimes, error, success, helperText, animate, onOpen, onClose, className, ...rest }: TimePickerProps): react_jsx_runtime.JSX.Element;
|
|
713
736
|
|
|
714
737
|
type SelectMode = "single" | "multiple" | "range";
|
|
715
738
|
type Variant$3 = "default" | "bordered" | "card" | "minimal";
|
|
@@ -988,13 +1011,13 @@ interface ImageUploadProps {
|
|
|
988
1011
|
declare function ImageUpload({ onUpload, onRemove, maxSize, // Convert bytes to MB
|
|
989
1012
|
accept, multiple, disabled, className, showPreview, previewSize, dragDropText, browseText, supportedFormatsText }: ImageUploadProps): react_jsx_runtime.JSX.Element;
|
|
990
1013
|
|
|
991
|
-
type AnimationVariant = "slide" | "fade" | "scale";
|
|
1014
|
+
type AnimationVariant$1 = "slide" | "fade" | "scale";
|
|
992
1015
|
type Orientation = "horizontal" | "vertical";
|
|
993
1016
|
interface CarouselProps {
|
|
994
1017
|
children: React$1.ReactNode[];
|
|
995
1018
|
autoScroll?: boolean;
|
|
996
1019
|
autoScrollInterval?: number;
|
|
997
|
-
animation?: AnimationVariant;
|
|
1020
|
+
animation?: AnimationVariant$1;
|
|
998
1021
|
orientation?: Orientation;
|
|
999
1022
|
showArrows?: boolean;
|
|
1000
1023
|
showDots?: boolean;
|
|
@@ -1100,6 +1123,7 @@ declare const List: React$1.ForwardRefExoticComponent<ListProps & React$1.RefAtt
|
|
|
1100
1123
|
|
|
1101
1124
|
type WatermarkPreset = "confidential" | "draft" | "sample" | "copyright" | "doNotCopy" | "internal";
|
|
1102
1125
|
type WatermarkPattern = "diagonal" | "grid" | "straight";
|
|
1126
|
+
type AnimationVariant = "fade" | "slide" | "scale" | "pulse" | "none";
|
|
1103
1127
|
interface WatermarkProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1104
1128
|
text?: string | string[];
|
|
1105
1129
|
image?: string;
|
|
@@ -1128,8 +1152,22 @@ interface WatermarkProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
1128
1152
|
interactive?: boolean;
|
|
1129
1153
|
/** Animation effect */
|
|
1130
1154
|
animate?: boolean;
|
|
1155
|
+
/** Animation variant */
|
|
1156
|
+
animationVariant?: AnimationVariant;
|
|
1157
|
+
/** Enable backdrop blur */
|
|
1158
|
+
blur?: boolean;
|
|
1159
|
+
/** Blur amount in pixels */
|
|
1160
|
+
blurAmount?: number;
|
|
1161
|
+
/** Enable text shadow/glow */
|
|
1162
|
+
textShadow?: boolean;
|
|
1163
|
+
/** Text shadow color */
|
|
1164
|
+
shadowColor?: string;
|
|
1165
|
+
/** Enable dark mode auto-adjust */
|
|
1166
|
+
darkMode?: boolean;
|
|
1131
1167
|
/** Class for the overlay layer */
|
|
1132
1168
|
overlayClassName?: string;
|
|
1169
|
+
/** ARIA label for accessibility */
|
|
1170
|
+
ariaLabel?: string;
|
|
1133
1171
|
}
|
|
1134
1172
|
declare const Watermark: React$1.FC<WatermarkProps>;
|
|
1135
1173
|
|