burne-ui 1.3.4 → 1.3.5
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.
|
@@ -3,7 +3,9 @@ export type SelectionIndicatorVariant = "base" | "secondary" | "outline" | "glos
|
|
|
3
3
|
export declare const SELECTION_INDICATOR_SIZE_CLASS: Record<SelectionIndicatorSize, string>;
|
|
4
4
|
export declare const SELECTION_INDICATOR_ICON_CLASS: Record<SelectionIndicatorSize, string>;
|
|
5
5
|
export declare const SELECTION_INDICATOR_MARK_CLASS = "pointer-events-none relative z-[2] inline-flex items-center justify-center";
|
|
6
|
-
export declare function
|
|
6
|
+
export declare function selectionIndicatorMarkCheckIconClass(size: SelectionIndicatorSize): string;
|
|
7
|
+
/** Custom mark icons: no `[&_svg]:size-full` — `icon-*` on the icon itself controls size. */
|
|
8
|
+
export declare function selectionIndicatorMarkCustomIconClass(size: SelectionIndicatorSize): string;
|
|
7
9
|
export declare const SELECTION_INDICATOR_DOT_CLASS: Record<SelectionIndicatorSize, string>;
|
|
8
10
|
export declare const SELECTION_INDICATOR_DOT_INNER_CLASS = "shrink-0 rounded-full bg-indicator-foreground";
|
|
9
11
|
export declare const SELECTION_INDICATOR_DOT_INNER_GLOSS_CLASS = "shrink-0 rounded-full bg-foreground";
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
*
|
|
9
9
|
* configureMotion({
|
|
10
10
|
* interactiveDuration: 350,
|
|
11
|
+
* selectionFillDuration: 400,
|
|
12
|
+
* selectionFillEase: "back.out(1.25)",
|
|
11
13
|
* switchThumbEase: "back.out(1.6)",
|
|
12
14
|
* });
|
|
13
15
|
*/
|
|
@@ -47,6 +49,12 @@ export interface MotionConfig {
|
|
|
47
49
|
* @default "back.out(1.25)"
|
|
48
50
|
*/
|
|
49
51
|
selectionFillEase: string;
|
|
52
|
+
/**
|
|
53
|
+
* Duration (ms) for selection fill scale animations:
|
|
54
|
+
* ToggleButton, Calendar cell, Checkbox/Radio/ListBox indicator fill, Switch thumb fill.
|
|
55
|
+
* @default 280
|
|
56
|
+
*/
|
|
57
|
+
selectionFillDuration: number;
|
|
50
58
|
/** Scale applied when a hoverable element lifts. @default 1.015 */
|
|
51
59
|
hoverLiftScale: number;
|
|
52
60
|
/** Stronger lift scale for `Badge.Anchor` children. @default 1.052 */
|
|
@@ -143,7 +151,7 @@ export declare function motionHoverLift(): {
|
|
|
143
151
|
readonly duration: number;
|
|
144
152
|
readonly ease: string;
|
|
145
153
|
};
|
|
146
|
-
/** Selection fill (ToggleButton,
|
|
154
|
+
/** Selection fill (ToggleButton, Calendar, Checkbox/Radio indicator fill). */
|
|
147
155
|
export declare function motionSelectionFill(): {
|
|
148
156
|
readonly duration: number;
|
|
149
157
|
readonly ease: string;
|