@wavy/react-ui 0.0.63 → 0.0.65
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/main.d.ts +14 -7
- package/dist/main.js +8 -8
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -1824,7 +1824,7 @@ declare namespace EmptyStateProps {
|
|
|
1824
1824
|
element: JSX$1.Element;
|
|
1825
1825
|
disableFade?: boolean;
|
|
1826
1826
|
}
|
|
1827
|
-
interface ContentProps {
|
|
1827
|
+
interface ContentProps extends Partial<Record<"style" | `${"title" | "description"}Style`, BasicDivProps["style"]>> {
|
|
1828
1828
|
/**@default "lg" */
|
|
1829
1829
|
titleFontSize?: BasicSpanProps["fontSize"];
|
|
1830
1830
|
descriptionFontSize?: BasicSpanProps["fontSize"];
|
|
@@ -2455,14 +2455,17 @@ interface SegmentedControlsProps<ControlType extends string> {
|
|
|
2455
2455
|
value?: ControlType;
|
|
2456
2456
|
width?: SegmentGroupRootProps["width"];
|
|
2457
2457
|
size?: SegmentGroupRootProps["size"];
|
|
2458
|
-
|
|
2458
|
+
color?: BasicColor$1;
|
|
2459
|
+
selectedColor?: BasicColor$1;
|
|
2460
|
+
indicatorColor?: BasicColor$1;
|
|
2459
2461
|
backgroundColor?: BasicColor$1;
|
|
2462
|
+
borderColor?: BasicColor$1 | 0;
|
|
2460
2463
|
fontSize?: BasicDivProps["fontSize"];
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
color?: BasicColor$1;
|
|
2464
|
+
indicatorStyle?: BasicDivProps["style"];
|
|
2465
|
+
style?: BasicDivProps["style"];
|
|
2464
2466
|
gap?: keyof typeof CssSpacing | (string & {});
|
|
2465
2467
|
padding?: keyof typeof CssSpacing | (string & {});
|
|
2468
|
+
itemStyle?: BasicDivProps["style"];
|
|
2466
2469
|
onChange?: (control: ControlType) => void;
|
|
2467
2470
|
}
|
|
2468
2471
|
declare function SegmentedControls<ControlType extends string>(props: SegmentedControlsProps<ControlType>): react_jsx_runtime.JSX.Element;
|
|
@@ -2875,6 +2878,8 @@ interface MoneyDisplayCardProps {
|
|
|
2875
2878
|
* @default "md"
|
|
2876
2879
|
*/
|
|
2877
2880
|
gap?: BasicDivProps["gap"];
|
|
2881
|
+
/**@default "1.5rem" */
|
|
2882
|
+
tileSize?: string;
|
|
2878
2883
|
slotProps?: Partial<Record<"label" | "fee" | "currency", Partial<{
|
|
2879
2884
|
fontSize: BasicDivProps["fontSize"];
|
|
2880
2885
|
}>>>;
|
|
@@ -3523,7 +3528,9 @@ declare function nativeEllipsis(style?: CSS__default.Properties, options?: {
|
|
|
3523
3528
|
}): CSS__default.Properties;
|
|
3524
3529
|
declare function getScrollParent(node: HTMLElement | null): HTMLElement;
|
|
3525
3530
|
declare function isSpanMultiLine(spanElement: HTMLElement): boolean;
|
|
3526
|
-
declare function
|
|
3531
|
+
declare function resolveFontSize(fontSize: keyof typeof FontSize | (string & {})): string;
|
|
3532
|
+
declare function resolveSpace(value: keyof typeof CssSpacing | (string & {})): string;
|
|
3533
|
+
declare function resolveBasicColor(color: BasicColor$1, options?: Partial<{
|
|
3527
3534
|
/**
|
|
3528
3535
|
* @description If the name of a color is in both ColorResources and CssColors, this determines which color mapper is used.
|
|
3529
3536
|
* @default "css"
|
|
@@ -3551,4 +3558,4 @@ declare function Scale(props: AnimationProps): React__default.ReactElement<{
|
|
|
3551
3558
|
ref: React__default.Ref<HTMLElement>;
|
|
3552
3559
|
}, string | React__default.JSXElementConstructor<any>>;
|
|
3553
3560
|
|
|
3554
|
-
export { AttachmentsButton, AttachmentsDialog, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, BasicButton, type BasicColor$1 as BasicColor, BasicDiv, BasicImg, BasicOl, BasicOption, BasicSelect, BasicSpan, type BasicStyleProps, BasicTable, BasicTableProps, Calendar, CalendarDialog, type CalendarProps, CancelButton, Card, CardProps, Checkbox, type CheckboxProps, ColorResources, type ComputedStyleProps, ConfirmationDialog, type ConfirmationDialogProps, CopyButton, CssColors, type CssProperties, CssShapes, CssSpacing, Debounce, type DebounceProps, DeleteButton, Dialog, DialogProps, Disclaimer, type DisclaimerProps, DownloadButton, Drawer, DrawerProps, EditButton, Editable, type EditableProps, EmailComposer, EmptyState, EmptyStateProps, ErrorTooltip, EventContainer, type EventContainerProps, ExpandableButton, Fade, FancyFormDialog, type FancyFormDialogProps, FileDropzone, type FileDropzoneProps, FileViewer, FileViewerProps, FontSize, Indicator, type IndicatorProps, type InlineCss, ItemInfo, type ItemInfoProps, JsonViewer, type JwtVerificationStatus, JwtVerifier, type JwtVerifierProps, MediaCard, MediaCardProps, Menu, type MenuPlacement, MoneyDisplayCard, NegativeButton, NextButton, NoButton, OpenButton, OptionsButton, PageIndicator, type PageIndicatorProps, PageSlider, type PageSliderProps, Paper, type PaperProps, PasteButton, PaymentOptionsButton, PaymentOptionsDialog, PictureUploader, Popover, type PopoverProps, PositiveButton, PreviousButton, ProfileCard, ProfileCardProps, ProgressBar, type ProgressBarProps, ReceiptCard, SaveButton, Scale, SearchTextField, SegmentedControls, type SegmentedControlsProps, SendButton, Separator, type SeparatorProps, SignInWidget, SimpleFormDialog, type SimpleFormDialogProps, Spinner, type SpinnerProps, Status, type StatusProps, Stepper, type StepperProps, SubmitButton, Switch, type SwitchProps, Tag, type TagProps, TaskLogger, TaskResultDialog, Terminal, TextField, type TextFieldProps, Timeline, TimelineProps, Tooltip, type TooltipPlacement, type TooltipProps, UploadButton, UploadReceiptButton, type UseModalControlsReturn, type UsePageSliderControllerReturn, UserProfile, VerifyButton, VerifyTextField, UiProvider as WavyUi, YesButton, YesNoButtonGroup, YesOrNoForm, applyBasicStyle, bankTransferPaymentOption, borderRadius, buildCSS, computedCssVariable, convertHexUnitTo256, cssTransition, definePaymentOption, disabledBorderRadius, dragElement, ellipsis, flexCenter, getFileIcon, getPaperDim, getScrollParent, hexToRgba, inAppPaymentOption, isOverflown, isSpanMultiLine, isValidHex, nativeEllipsis, noSpaceStyle, paperStyle, remAsPx, remToPx, resolveBasicColor, restrictLineCount, rgbToRgba, screenHasMaxWidth, screenHasMinWidth, solidBorder, stripHtml, tiledBackground, useAnimation, useAsyncEffect, useComputedStyle, useEvent, useModalControls, usePageSliderController, usePopoverContext, usePostRenderEffect, useRerender, useSessionStorage, useSmartState, useStore };
|
|
3561
|
+
export { AttachmentsButton, AttachmentsDialog, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, BasicButton, type BasicColor$1 as BasicColor, BasicDiv, BasicImg, BasicOl, BasicOption, BasicSelect, BasicSpan, type BasicStyleProps, BasicTable, BasicTableProps, Calendar, CalendarDialog, type CalendarProps, CancelButton, Card, CardProps, Checkbox, type CheckboxProps, ColorResources, type ComputedStyleProps, ConfirmationDialog, type ConfirmationDialogProps, CopyButton, CssColors, type CssProperties, CssShapes, CssSpacing, Debounce, type DebounceProps, DeleteButton, Dialog, DialogProps, Disclaimer, type DisclaimerProps, DownloadButton, Drawer, DrawerProps, EditButton, Editable, type EditableProps, EmailComposer, EmptyState, EmptyStateProps, ErrorTooltip, EventContainer, type EventContainerProps, ExpandableButton, Fade, FancyFormDialog, type FancyFormDialogProps, FileDropzone, type FileDropzoneProps, FileViewer, FileViewerProps, FontSize, Indicator, type IndicatorProps, type InlineCss, ItemInfo, type ItemInfoProps, JsonViewer, type JwtVerificationStatus, JwtVerifier, type JwtVerifierProps, MediaCard, MediaCardProps, Menu, type MenuPlacement, MoneyDisplayCard, NegativeButton, NextButton, NoButton, OpenButton, OptionsButton, PageIndicator, type PageIndicatorProps, PageSlider, type PageSliderProps, Paper, type PaperProps, PasteButton, PaymentOptionsButton, PaymentOptionsDialog, PictureUploader, Popover, type PopoverProps, PositiveButton, PreviousButton, ProfileCard, ProfileCardProps, ProgressBar, type ProgressBarProps, ReceiptCard, SaveButton, Scale, SearchTextField, SegmentedControls, type SegmentedControlsProps, SendButton, Separator, type SeparatorProps, SignInWidget, SimpleFormDialog, type SimpleFormDialogProps, Spinner, type SpinnerProps, Status, type StatusProps, Stepper, type StepperProps, SubmitButton, Switch, type SwitchProps, Tag, type TagProps, TaskLogger, TaskResultDialog, Terminal, TextField, type TextFieldProps, Timeline, TimelineProps, Tooltip, type TooltipPlacement, type TooltipProps, UploadButton, UploadReceiptButton, type UseModalControlsReturn, type UsePageSliderControllerReturn, UserProfile, VerifyButton, VerifyTextField, UiProvider as WavyUi, YesButton, YesNoButtonGroup, YesOrNoForm, applyBasicStyle, bankTransferPaymentOption, borderRadius, buildCSS, computedCssVariable, convertHexUnitTo256, cssTransition, definePaymentOption, disabledBorderRadius, dragElement, ellipsis, flexCenter, getFileIcon, getPaperDim, getScrollParent, hexToRgba, inAppPaymentOption, isOverflown, isSpanMultiLine, isValidHex, nativeEllipsis, noSpaceStyle, paperStyle, remAsPx, remToPx, resolveBasicColor, resolveFontSize, resolveSpace, restrictLineCount, rgbToRgba, screenHasMaxWidth, screenHasMinWidth, solidBorder, stripHtml, tiledBackground, useAnimation, useAsyncEffect, useComputedStyle, useEvent, useModalControls, usePageSliderController, usePopoverContext, usePostRenderEffect, useRerender, useSessionStorage, useSmartState, useStore };
|