burne-ui 1.3.4 → 1.3.6
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/components/core/Expandable/expandableStyles.d.ts +4 -1
- package/dist/components/core/SelectionIndicator/selectionIndicatorTokens.d.ts +3 -1
- package/dist/components/core/utils/motionConfig.d.ts +9 -1
- package/dist/index.cjs +6 -6
- package/dist/index.js +4407 -4397
- package/dist/ui.css +5 -0
- package/package.json +1 -1
|
@@ -18,7 +18,10 @@ export declare const EXPANDABLE_TRIGGER_LIFT_BASE_CLASS = "relative z-[1] w-full
|
|
|
18
18
|
export declare const EXPANDABLE_COMPOUND_CONTENTS_CLASS = "contents";
|
|
19
19
|
export declare const EXPANDABLE_TRIGGER_CHEVRON_WRAP_CLASS = "relative z-[1] flex shrink-0 origin-center self-center";
|
|
20
20
|
export declare const EXPANDABLE_MESSAGE_CLASS = "contents";
|
|
21
|
-
export declare const EXPANDABLE_ICON_BASE_CLASS = "shrink-0 text-primary
|
|
21
|
+
export declare const EXPANDABLE_ICON_BASE_CLASS = "inline-flex shrink-0 items-center justify-center text-primary";
|
|
22
|
+
/** Default svg size per control size — same pattern as Alert (`[&_svg]:icon-*`). */
|
|
23
|
+
export declare const EXPANDABLE_ICON_SVG_CLASS: Record<ExpandableSize, string>;
|
|
24
|
+
export declare const EXPANDABLE_ICON_GRID_CELL_CLASS = "col-start-1 row-start-1 self-center shrink-0";
|
|
22
25
|
export declare const EXPANDABLE_CONTENT_CLASS = "contents";
|
|
23
26
|
export declare const EXPANDABLE_DESCRIPTION_CLASS = "text-muted";
|
|
24
27
|
export declare const EXPANDABLE_TITLE_CLASS = "font-w-mid";
|
|
@@ -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;
|