@wavy/react-ui 0.0.46 → 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 +9 -2
- package/dist/main.js +7 -7
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -1498,6 +1498,10 @@ interface ProgressBarProps extends BasicDivProps {
|
|
|
1498
1498
|
corners?: BasicDivProps["corners"];
|
|
1499
1499
|
/**@default "seed" */
|
|
1500
1500
|
accentColor?: BasicColor$1;
|
|
1501
|
+
/**@default "onSurface[0.1]" */
|
|
1502
|
+
borderColor?: BasicDivProps["borderColor"];
|
|
1503
|
+
/**@default "hidden" */
|
|
1504
|
+
spill?: BasicDivProps["spill"];
|
|
1501
1505
|
}
|
|
1502
1506
|
declare function ProgressBar(props: ProgressBarProps): react_jsx_runtime.JSX.Element;
|
|
1503
1507
|
|
|
@@ -3139,6 +3143,7 @@ interface UserProfileProps {
|
|
|
3139
3143
|
fontWeight?: BasicSpanProps["fontWeight"];
|
|
3140
3144
|
fade?: BasicSpanProps["fade"];
|
|
3141
3145
|
lineHeight?: keyof typeof FontSize | (string & {});
|
|
3146
|
+
style?: BasicDivProps["style"];
|
|
3142
3147
|
}>>>;
|
|
3143
3148
|
}
|
|
3144
3149
|
declare function UserProfile(props: UserProfileProps): react_jsx_runtime.JSX.Element;
|
|
@@ -3295,8 +3300,10 @@ declare function useComputedStyle(elementTag: keyof HTMLElementTagNameMap, props
|
|
|
3295
3300
|
};
|
|
3296
3301
|
};
|
|
3297
3302
|
|
|
3298
|
-
declare function useManagedRef<T extends NonFunction<
|
|
3299
|
-
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;
|
|
3300
3307
|
}>): {
|
|
3301
3308
|
debug: () => Record<"difference" | "from" | "to", T | T[]>;
|
|
3302
3309
|
upsert: (value: T | ((value: T) => T)) => void;
|