@wavy/react-ui 0.0.45 → 0.0.47
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 +24 -3
- package/dist/main.js +8 -8
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -1487,6 +1487,24 @@ interface DebounceProps {
|
|
|
1487
1487
|
}
|
|
1488
1488
|
declare function Debounce(props: DebounceProps): react_jsx_runtime.JSX.Element;
|
|
1489
1489
|
|
|
1490
|
+
interface ProgressBarProps extends BasicDivProps {
|
|
1491
|
+
/** The percent of the progress, coerced between 0 and 1 */
|
|
1492
|
+
value: number;
|
|
1493
|
+
/**@default "full" */
|
|
1494
|
+
width?: BasicDivProps["width"];
|
|
1495
|
+
/**@default ".7rem" */
|
|
1496
|
+
height?: BasicDivProps["height"];
|
|
1497
|
+
/**@default "md" */
|
|
1498
|
+
corners?: BasicDivProps["corners"];
|
|
1499
|
+
/**@default "seed" */
|
|
1500
|
+
accentColor?: BasicColor$1;
|
|
1501
|
+
/**@default "onSurface[0.1]" */
|
|
1502
|
+
borderColor?: BasicDivProps["borderColor"];
|
|
1503
|
+
/**@default "hidden" */
|
|
1504
|
+
spill?: BasicDivProps["spill"];
|
|
1505
|
+
}
|
|
1506
|
+
declare function ProgressBar(props: ProgressBarProps): react_jsx_runtime.JSX.Element;
|
|
1507
|
+
|
|
1490
1508
|
interface AvatarGroupProps {
|
|
1491
1509
|
stacking?: AvatarGroupProps$1["stacking"];
|
|
1492
1510
|
children: JSX$1.Element | JSX$1.Element[];
|
|
@@ -3125,6 +3143,7 @@ interface UserProfileProps {
|
|
|
3125
3143
|
fontWeight?: BasicSpanProps["fontWeight"];
|
|
3126
3144
|
fade?: BasicSpanProps["fade"];
|
|
3127
3145
|
lineHeight?: keyof typeof FontSize | (string & {});
|
|
3146
|
+
style?: BasicDivProps["style"];
|
|
3128
3147
|
}>>>;
|
|
3129
3148
|
}
|
|
3130
3149
|
declare function UserProfile(props: UserProfileProps): react_jsx_runtime.JSX.Element;
|
|
@@ -3281,8 +3300,10 @@ declare function useComputedStyle(elementTag: keyof HTMLElementTagNameMap, props
|
|
|
3281
3300
|
};
|
|
3282
3301
|
};
|
|
3283
3302
|
|
|
3284
|
-
declare function useManagedRef<T extends NonFunction<
|
|
3285
|
-
onChange: (
|
|
3303
|
+
declare function useManagedRef<T extends NonFunction<any>>(initialValue: CastFn<T>, options?: Partial<{
|
|
3304
|
+
onChange: (currentValue: T, previousValue: T) => void;
|
|
3305
|
+
/** Transform the updated value before the onChange method is called*/
|
|
3306
|
+
transform: (value: T) => T;
|
|
3286
3307
|
}>): {
|
|
3287
3308
|
debug: () => Record<"difference" | "from" | "to", T | T[]>;
|
|
3288
3309
|
upsert: (value: T | ((value: T) => T)) => void;
|
|
@@ -3404,4 +3425,4 @@ declare function remAsPx(rem: number): string;
|
|
|
3404
3425
|
declare function isOverflown(element: HTMLElement): boolean;
|
|
3405
3426
|
declare function computedCssVariable(cssVariable: string): string;
|
|
3406
3427
|
|
|
3407
|
-
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, _default as Calendar, CalendarDialog, 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, 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, ReceiptCard, SaveButton, SearchTextField, SegmentedControls, type SegmentedControlsProps, SendButton, Separator, type SeparatorProps, SignInWidget, SimpleFormDialog, type SimpleFormDialogProps, Spinner, type SpinnerProps, Status, type StatusProps, Stepper, type StepperProps, SubmitButton, 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, useAsyncEffect, useComputedStyle, useEvent, useManagedRef, useModalControls, usePageSliderController, usePopoverContext, usePostRenderEffect, useRerender, useSessionStorage, useSmartState };
|
|
3428
|
+
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, _default as Calendar, CalendarDialog, 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, 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, SearchTextField, SegmentedControls, type SegmentedControlsProps, SendButton, Separator, type SeparatorProps, SignInWidget, SimpleFormDialog, type SimpleFormDialogProps, Spinner, type SpinnerProps, Status, type StatusProps, Stepper, type StepperProps, SubmitButton, 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, useAsyncEffect, useComputedStyle, useEvent, useManagedRef, useModalControls, usePageSliderController, usePopoverContext, usePostRenderEffect, useRerender, useSessionStorage, useSmartState };
|