fiboui 2.8.1 → 2.8.2

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/index.d.ts CHANGED
@@ -978,6 +978,11 @@ declare abstract class FiboBuilder {
978
978
  justifyContent(justify: "start" | "center" | "end" | "between" | "around" | "evenly" | "space-between" | "space-around" | "space-evenly" | "spaceBetween" | "spaceAround" | "spaceEvenly"): this;
979
979
  /** True when flexDirection is column / column-reverse (default is row). */
980
980
  protected isVerticalFlex(): boolean;
981
+ /**
982
+ * Both screen axes. `.align(Align.center)` and `.align('center')` do the same.
983
+ * `between` packs the main axis and starts the cross axis.
984
+ */
985
+ align(alignment: AlignAxis): this;
981
986
  /**
982
987
  * Horizontal (screen X) alignment. Same meaning on Row and Column:
983
988
  * left / center / right of the container — not “main axis”.
@@ -1046,6 +1051,13 @@ declare abstract class FiboBuilder {
1046
1051
  rounded(value: string | number): this;
1047
1052
  borderRadius(value: string | number): this;
1048
1053
  borderColor(value: string): this;
1054
+ /**
1055
+ * A passed size is a lock: `min-*` plus `flex-shrink: 0`, so a flex parent
1056
+ * (the Scaffold body) cannot divide the viewport across these children.
1057
+ * `400`, `'320px'`, `Size.full`, and `Space.md` all count. `flex(1)` afterwards
1058
+ * opts back into sharing space.
1059
+ */
1060
+ private lockAxis;
1049
1061
  width(value: string | number): this;
1050
1062
  paint(property: string, value: string): this;
1051
1063
  height(value: string | number): this;
@@ -2441,6 +2453,499 @@ export declare class PluginManager implements FiboContext {
2441
2453
  getTopbarActions(): (() => FiboBuilder)[];
2442
2454
  getOverlays(): (() => FiboBuilder)[];
2443
2455
  }
2456
+ /** `.animate(Motion.fadeIn)`. Preset list lives in `motionCss`. */
2457
+ export declare const Motion: {
2458
+ readonly pop: "pop";
2459
+ readonly blur: "blur";
2460
+ readonly fadeIn: "fadeIn";
2461
+ readonly fadeOut: "fadeOut";
2462
+ readonly fade: "fade";
2463
+ readonly slideUp: "slideUp";
2464
+ readonly slideDown: "slideDown";
2465
+ readonly slideLeft: "slideLeft";
2466
+ readonly slideRight: "slideRight";
2467
+ readonly scaleIn: "scaleIn";
2468
+ readonly scaleOut: "scaleOut";
2469
+ readonly scale: "scale";
2470
+ readonly blurIn: "blurIn";
2471
+ readonly blurOut: "blurOut";
2472
+ readonly bounce: "bounce";
2473
+ };
2474
+ export type Motion = (typeof Motion)[keyof typeof Motion];
2475
+ /** `.hover(h => h.effect(Effect.sweepToRight))`. */
2476
+ declare const Effect$1: {
2477
+ readonly pop: "pop";
2478
+ readonly push: "push";
2479
+ readonly trim: "trim";
2480
+ readonly fade: "fade";
2481
+ readonly rotate: "rotate";
2482
+ readonly grow: "grow";
2483
+ readonly shrink: "shrink";
2484
+ readonly pulse: "pulse";
2485
+ readonly pulseGrow: "pulseGrow";
2486
+ readonly pulseShrink: "pulseShrink";
2487
+ readonly bounceIn: "bounceIn";
2488
+ readonly bounceOut: "bounceOut";
2489
+ readonly growRotate: "growRotate";
2490
+ readonly float: "float";
2491
+ readonly sink: "sink";
2492
+ readonly bob: "bob";
2493
+ readonly hang: "hang";
2494
+ readonly skew: "skew";
2495
+ readonly skewForward: "skewForward";
2496
+ readonly skewBackward: "skewBackward";
2497
+ readonly wobbleHorizontal: "wobbleHorizontal";
2498
+ readonly wobbleVertical: "wobbleVertical";
2499
+ readonly wobbleToBottomRight: "wobbleToBottomRight";
2500
+ readonly wobbleToTopRight: "wobbleToTopRight";
2501
+ readonly wobbleTop: "wobbleTop";
2502
+ readonly wobbleBottom: "wobbleBottom";
2503
+ readonly wobbleSkew: "wobbleSkew";
2504
+ readonly buzz: "buzz";
2505
+ readonly buzzOut: "buzzOut";
2506
+ readonly forward: "forward";
2507
+ readonly backward: "backward";
2508
+ readonly nudge: "nudge";
2509
+ readonly backPulse: "backPulse";
2510
+ readonly sweepToRight: "sweepToRight";
2511
+ readonly sweepToLeft: "sweepToLeft";
2512
+ readonly sweepToBottom: "sweepToBottom";
2513
+ readonly sweepToTop: "sweepToTop";
2514
+ readonly bounceToRight: "bounceToRight";
2515
+ readonly bounceToLeft: "bounceToLeft";
2516
+ readonly bounceToBottom: "bounceToBottom";
2517
+ readonly bounceToTop: "bounceToTop";
2518
+ readonly radialOut: "radialOut";
2519
+ readonly radialIn: "radialIn";
2520
+ readonly rectangleIn: "rectangleIn";
2521
+ readonly rectangleOut: "rectangleOut";
2522
+ readonly shutterInHorizontal: "shutterInHorizontal";
2523
+ readonly shutterOutHorizontal: "shutterOutHorizontal";
2524
+ readonly shutterInVertical: "shutterInVertical";
2525
+ readonly shutterOutVertical: "shutterOutVertical";
2526
+ readonly iconBack: "iconBack";
2527
+ readonly iconForward: "iconForward";
2528
+ readonly iconDown: "iconDown";
2529
+ readonly iconUp: "iconUp";
2530
+ readonly iconSpin: "iconSpin";
2531
+ readonly iconDrop: "iconDrop";
2532
+ readonly iconFade: "iconFade";
2533
+ readonly iconFloatAway: "iconFloatAway";
2534
+ readonly iconSinkAway: "iconSinkAway";
2535
+ readonly iconGrow: "iconGrow";
2536
+ readonly iconShrink: "iconShrink";
2537
+ readonly iconPulse: "iconPulse";
2538
+ readonly iconPulseGrow: "iconPulseGrow";
2539
+ readonly iconPulseShrink: "iconPulseShrink";
2540
+ readonly iconPush: "iconPush";
2541
+ readonly iconPop: "iconPop";
2542
+ readonly iconBounce: "iconBounce";
2543
+ readonly iconRotate: "iconRotate";
2544
+ readonly iconGrowRotate: "iconGrowRotate";
2545
+ readonly iconFloat: "iconFloat";
2546
+ readonly iconSink: "iconSink";
2547
+ readonly iconBob: "iconBob";
2548
+ readonly iconHang: "iconHang";
2549
+ readonly iconWobbleHorizontal: "iconWobbleHorizontal";
2550
+ readonly iconWobbleVertical: "iconWobbleVertical";
2551
+ readonly iconBuzz: "iconBuzz";
2552
+ readonly iconBuzzOut: "iconBuzzOut";
2553
+ readonly borderFade: "borderFade";
2554
+ readonly hollow: "hollow";
2555
+ readonly rippleOut: "rippleOut";
2556
+ readonly rippleIn: "rippleIn";
2557
+ readonly outlineOut: "outlineOut";
2558
+ readonly outlineIn: "outlineIn";
2559
+ readonly roundCorners: "roundCorners";
2560
+ readonly underlineFromLeft: "underlineFromLeft";
2561
+ readonly underlineFromCenter: "underlineFromCenter";
2562
+ readonly underlineFromRight: "underlineFromRight";
2563
+ readonly reveal: "reveal";
2564
+ readonly underlineReveal: "underlineReveal";
2565
+ readonly overlineFromLeft: "overlineFromLeft";
2566
+ readonly overlineFromCenter: "overlineFromCenter";
2567
+ readonly overlineFromRight: "overlineFromRight";
2568
+ readonly overlineReveal: "overlineReveal";
2569
+ readonly shadowGrow: "shadowGrow";
2570
+ readonly shadowFloat: "shadowFloat";
2571
+ readonly shadowGlow: "shadowGlow";
2572
+ readonly shadowRadial: "shadowRadial";
2573
+ readonly boxShadowOutset: "boxShadowOutset";
2574
+ readonly boxShadowInset: "boxShadowInset";
2575
+ readonly lift: "lift";
2576
+ readonly glow: "glow";
2577
+ readonly bubbleTop: "bubbleTop";
2578
+ readonly bubbleRight: "bubbleRight";
2579
+ readonly bubbleBottom: "bubbleBottom";
2580
+ readonly bubbleLeft: "bubbleLeft";
2581
+ readonly bubbleFloatTop: "bubbleFloatTop";
2582
+ readonly bubbleFloatRight: "bubbleFloatRight";
2583
+ readonly bubbleFloatBottom: "bubbleFloatBottom";
2584
+ readonly bubbleFloatLeft: "bubbleFloatLeft";
2585
+ readonly curlTopLeft: "curlTopLeft";
2586
+ readonly curlTopRight: "curlTopRight";
2587
+ readonly curlBottomRight: "curlBottomRight";
2588
+ readonly curlBottomLeft: "curlBottomLeft";
2589
+ };
2590
+ type Effect$1 = (typeof Effect$1)[keyof typeof Effect$1];
2591
+ export declare const Align: {
2592
+ readonly start: "start";
2593
+ readonly center: "center";
2594
+ readonly end: "end";
2595
+ readonly stretch: "stretch";
2596
+ readonly baseline: "baseline";
2597
+ readonly between: "between";
2598
+ readonly around: "around";
2599
+ readonly evenly: "evenly";
2600
+ };
2601
+ export type Align = (typeof Align)[keyof typeof Align];
2602
+ /** Words `.width()` / `.height()` already accept. A number or `'320px'` skips this. */
2603
+ export declare const Size: {
2604
+ readonly full: "full";
2605
+ readonly screen: "screen";
2606
+ readonly fit: "fit";
2607
+ readonly min: "min";
2608
+ readonly max: "max";
2609
+ };
2610
+ export type Size = (typeof Size)[keyof typeof Size];
2611
+ /** Theme spacing. `.padding(Space.md)`, `.gap(Space.sm)`, `.height(Space.xl)`. */
2612
+ export declare const Space: {
2613
+ readonly xs: "var(--fibo-space-xs)";
2614
+ readonly sm: "var(--fibo-space-sm)";
2615
+ readonly md: "var(--fibo-space-md)";
2616
+ readonly lg: "var(--fibo-space-lg)";
2617
+ readonly xl: "var(--fibo-space-xl)";
2618
+ };
2619
+ export type Space = (typeof Space)[keyof typeof Space];
2620
+ /** Theme radii. `.borderRadius(Radius.md)`. */
2621
+ export declare const Radius: {
2622
+ readonly xs: "var(--fibo-radius-xs)";
2623
+ readonly sm: "var(--fibo-radius-sm)";
2624
+ readonly md: "var(--fibo-radius-md)";
2625
+ readonly lg: "var(--fibo-radius-lg)";
2626
+ readonly xl: "var(--fibo-radius-xl)";
2627
+ readonly full: "var(--fibo-radius-full)";
2628
+ };
2629
+ export type Radius = (typeof Radius)[keyof typeof Radius];
2630
+ /**
2631
+ * Theme colors. `.bg(Color.primary)` and `.color(Color.onSurface)` resolve to
2632
+ * `--fibo-*`. A hex, `rgb()`, or any other string still paints as-is.
2633
+ */
2634
+ export declare const Color: {
2635
+ readonly primary: "var(--fibo-primary)";
2636
+ readonly onPrimary: "var(--fibo-on-primary)";
2637
+ readonly primaryContainer: "var(--fibo-primary-container)";
2638
+ readonly onPrimaryContainer: "var(--fibo-on-primary-container)";
2639
+ readonly secondary: "var(--fibo-secondary)";
2640
+ readonly onSecondary: "var(--fibo-on-secondary)";
2641
+ readonly secondaryContainer: "var(--fibo-secondary-container)";
2642
+ readonly onSecondaryContainer: "var(--fibo-on-secondary-container)";
2643
+ readonly tertiary: "var(--fibo-tertiary)";
2644
+ readonly onTertiary: "var(--fibo-on-tertiary)";
2645
+ readonly background: "var(--fibo-background)";
2646
+ readonly onBackground: "var(--fibo-on-background)";
2647
+ readonly surface: "var(--fibo-surface)";
2648
+ readonly onSurface: "var(--fibo-on-surface)";
2649
+ readonly error: "var(--fibo-error)";
2650
+ readonly onError: "var(--fibo-on-error)";
2651
+ readonly outline: "var(--fibo-outline)";
2652
+ };
2653
+ export type Color = (typeof Color)[keyof typeof Color];
2654
+ /** Scroll direction for `.horizontal()` / `.vertical()`, or pass the word itself. */
2655
+ export declare const Axis: {
2656
+ readonly horizontal: "horizontal";
2657
+ readonly vertical: "vertical";
2658
+ };
2659
+ export type Axis = (typeof Axis)[keyof typeof Axis];
2660
+ /** `.scrollbar(Bar.hidden)`. */
2661
+ export declare const Bar: {
2662
+ readonly hidden: "hidden";
2663
+ readonly visible: "visible";
2664
+ readonly auto: "auto";
2665
+ };
2666
+ export type Bar = (typeof Bar)[keyof typeof Bar];
2667
+ export declare const FlexDirection: {
2668
+ readonly row: "row";
2669
+ readonly column: "column";
2670
+ readonly rowReverse: "row-reverse";
2671
+ readonly columnReverse: "column-reverse";
2672
+ };
2673
+ export type FlexDirection = (typeof FlexDirection)[keyof typeof FlexDirection];
2674
+ export declare const TextDirection: {
2675
+ readonly ltr: "ltr";
2676
+ readonly rtl: "rtl";
2677
+ };
2678
+ export type TextDirection = (typeof TextDirection)[keyof typeof TextDirection];
2679
+ export declare const AxisSize: {
2680
+ readonly min: "min";
2681
+ readonly max: "max";
2682
+ };
2683
+ export type AxisSize = (typeof AxisSize)[keyof typeof AxisSize];
2684
+ export declare const Clip: {
2685
+ readonly none: "none";
2686
+ readonly hardEdge: "hardEdge";
2687
+ readonly antiAlias: "antiAlias";
2688
+ };
2689
+ export type Clip = (typeof Clip)[keyof typeof Clip];
2690
+ export declare const StackAlign: {
2691
+ readonly center: "center";
2692
+ readonly top: "top";
2693
+ readonly bottom: "bottom";
2694
+ readonly left: "left";
2695
+ readonly right: "right";
2696
+ readonly topLeft: "topLeft";
2697
+ readonly topRight: "topRight";
2698
+ readonly bottomLeft: "bottomLeft";
2699
+ readonly bottomRight: "bottomRight";
2700
+ };
2701
+ export type StackAlign = (typeof StackAlign)[keyof typeof StackAlign];
2702
+ export declare const Theme: {
2703
+ readonly material: "material";
2704
+ readonly cupertino: "cupertino";
2705
+ readonly web: "web";
2706
+ readonly noir: "noir";
2707
+ };
2708
+ export type Theme = (typeof Theme)[keyof typeof Theme];
2709
+ export declare const Scheme: {
2710
+ readonly light: "light";
2711
+ readonly dark: "dark";
2712
+ readonly system: "system";
2713
+ readonly lightDark: "light dark";
2714
+ };
2715
+ export type Scheme = (typeof Scheme)[keyof typeof Scheme];
2716
+ export declare const TextRole: {
2717
+ readonly h1: "h1";
2718
+ readonly h2: "h2";
2719
+ readonly h3: "h3";
2720
+ readonly h4: "h4";
2721
+ readonly h5: "h5";
2722
+ readonly h6: "h6";
2723
+ readonly body: "body";
2724
+ readonly caption: "caption";
2725
+ readonly label: "label";
2726
+ };
2727
+ export type TextRole = (typeof TextRole)[keyof typeof TextRole];
2728
+ export declare const TextAlign: {
2729
+ readonly left: "left";
2730
+ readonly center: "center";
2731
+ readonly right: "right";
2732
+ readonly justify: "justify";
2733
+ readonly start: "start";
2734
+ readonly end: "end";
2735
+ };
2736
+ export type TextAlign = (typeof TextAlign)[keyof typeof TextAlign];
2737
+ /** Theme-facing weights. `.fontWeight(Weight.bold)` or `.fontWeight(700)`. */
2738
+ export declare const Weight: {
2739
+ readonly thin: "100";
2740
+ readonly light: "300";
2741
+ readonly regular: "400";
2742
+ readonly medium: "500";
2743
+ readonly semibold: "600";
2744
+ readonly bold: "700";
2745
+ readonly black: "900";
2746
+ };
2747
+ export type Weight = (typeof Weight)[keyof typeof Weight];
2748
+ export declare const ButtonSize: {
2749
+ readonly xs: "xs";
2750
+ readonly sm: "sm";
2751
+ readonly md: "md";
2752
+ readonly lg: "lg";
2753
+ };
2754
+ export type ButtonSize = (typeof ButtonSize)[keyof typeof ButtonSize];
2755
+ export declare const ButtonShape: {
2756
+ readonly default: "default";
2757
+ readonly pill: "pill";
2758
+ readonly square: "square";
2759
+ readonly rect: "rect";
2760
+ readonly rounded: "rounded";
2761
+ readonly sharp: "sharp";
2762
+ };
2763
+ export type ButtonShape = (typeof ButtonShape)[keyof typeof ButtonShape];
2764
+ export declare const ButtonTone: {
2765
+ readonly default: "default";
2766
+ readonly inverse: "inverse";
2767
+ };
2768
+ export type ButtonTone = (typeof ButtonTone)[keyof typeof ButtonTone];
2769
+ export declare const ButtonType: {
2770
+ readonly button: "button";
2771
+ readonly submit: "submit";
2772
+ readonly reset: "reset";
2773
+ };
2774
+ export type ButtonType = (typeof ButtonType)[keyof typeof ButtonType];
2775
+ export declare const FieldType: {
2776
+ readonly text: "text";
2777
+ readonly password: "password";
2778
+ readonly email: "email";
2779
+ readonly number: "number";
2780
+ readonly tel: "tel";
2781
+ };
2782
+ export type FieldType = (typeof FieldType)[keyof typeof FieldType];
2783
+ export declare const FieldVariant: {
2784
+ readonly filled: "filled";
2785
+ readonly outlined: "outlined";
2786
+ };
2787
+ export type FieldVariant = (typeof FieldVariant)[keyof typeof FieldVariant];
2788
+ export declare const Resize: {
2789
+ readonly none: "none";
2790
+ readonly vertical: "vertical";
2791
+ readonly horizontal: "horizontal";
2792
+ readonly both: "both";
2793
+ };
2794
+ export type Resize = (typeof Resize)[keyof typeof Resize];
2795
+ export declare const ListVariant: {
2796
+ readonly default: "default";
2797
+ readonly card: "card";
2798
+ readonly floating: "floating";
2799
+ };
2800
+ export type ListVariant = (typeof ListVariant)[keyof typeof ListVariant];
2801
+ export declare const GridVariant: {
2802
+ readonly standard: "standard";
2803
+ readonly masonry: "masonry";
2804
+ readonly bento: "bento";
2805
+ };
2806
+ export type GridVariant = (typeof GridVariant)[keyof typeof GridVariant];
2807
+ export declare const TableVariant: {
2808
+ readonly default: "default";
2809
+ readonly clean: "clean";
2810
+ };
2811
+ export type TableVariant = (typeof TableVariant)[keyof typeof TableVariant];
2812
+ export declare const BadgeVariant: {
2813
+ readonly neutral: "neutral";
2814
+ readonly accent: "accent";
2815
+ readonly outline: "outline";
2816
+ readonly glass: "glass";
2817
+ readonly solid: "solid";
2818
+ readonly dot: "dot";
2819
+ };
2820
+ export type BadgeVariant = (typeof BadgeVariant)[keyof typeof BadgeVariant];
2821
+ export declare const Intent: {
2822
+ readonly none: "none";
2823
+ readonly success: "success";
2824
+ readonly warning: "warning";
2825
+ readonly error: "error";
2826
+ readonly info: "info";
2827
+ };
2828
+ export type Intent = (typeof Intent)[keyof typeof Intent];
2829
+ export declare const Fit: {
2830
+ readonly cover: "cover";
2831
+ readonly contain: "contain";
2832
+ readonly fill: "fill";
2833
+ readonly none: "none";
2834
+ readonly scaleDown: "scale-down";
2835
+ };
2836
+ export type Fit = (typeof Fit)[keyof typeof Fit];
2837
+ export declare const Ease: {
2838
+ readonly linear: "linear";
2839
+ readonly ease: "ease";
2840
+ readonly easeIn: "ease-in";
2841
+ readonly easeOut: "ease-out";
2842
+ readonly easeInOut: "ease-in-out";
2843
+ readonly spring: "spring";
2844
+ };
2845
+ export type Ease = (typeof Ease)[keyof typeof Ease];
2846
+ export declare const Curve: {
2847
+ readonly linear: "linear";
2848
+ readonly easeIn: "easeIn";
2849
+ readonly easeOut: "easeOut";
2850
+ readonly easeInOut: "easeInOut";
2851
+ readonly spring: "spring";
2852
+ };
2853
+ export type Curve = (typeof Curve)[keyof typeof Curve];
2854
+ export declare const Snap: {
2855
+ readonly start: "start";
2856
+ readonly center: "center";
2857
+ readonly end: "end";
2858
+ };
2859
+ export type Snap = (typeof Snap)[keyof typeof Snap];
2860
+ export declare const SnapAxis: {
2861
+ readonly x: "x";
2862
+ readonly y: "y";
2863
+ readonly both: "both";
2864
+ };
2865
+ export type SnapAxis = (typeof SnapAxis)[keyof typeof SnapAxis];
2866
+ export declare const Timeline: {
2867
+ readonly view: "view";
2868
+ readonly scroll: "scroll";
2869
+ };
2870
+ export type Timeline = (typeof Timeline)[keyof typeof Timeline];
2871
+ export declare const ReducedMotion: {
2872
+ readonly reduce: "reduce";
2873
+ readonly never: "never";
2874
+ };
2875
+ export type ReducedMotion = (typeof ReducedMotion)[keyof typeof ReducedMotion];
2876
+ export declare const Shadow: {
2877
+ readonly none: "none";
2878
+ readonly soft: "soft";
2879
+ readonly sm: "sm";
2880
+ readonly md: "md";
2881
+ readonly lg: "lg";
2882
+ };
2883
+ export type Shadow = (typeof Shadow)[keyof typeof Shadow];
2884
+ export declare const Position: {
2885
+ readonly static: "static";
2886
+ readonly sticky: "sticky";
2887
+ readonly fixed: "fixed";
2888
+ };
2889
+ export type Position = (typeof Position)[keyof typeof Position];
2890
+ export declare const Mode: {
2891
+ readonly side: "side";
2892
+ readonly over: "over";
2893
+ };
2894
+ export type Mode = (typeof Mode)[keyof typeof Mode];
2895
+ export declare const Behavior: {
2896
+ readonly fixed: "fixed";
2897
+ readonly scroll: "scroll";
2898
+ };
2899
+ export type Behavior = (typeof Behavior)[keyof typeof Behavior];
2900
+ export declare const Side: {
2901
+ readonly start: "start";
2902
+ readonly end: "end";
2903
+ };
2904
+ export type Side = (typeof Side)[keyof typeof Side];
2905
+ export declare const Place: {
2906
+ readonly leading: "leading";
2907
+ readonly principal: "principal";
2908
+ readonly trailing: "trailing";
2909
+ };
2910
+ export type Place = (typeof Place)[keyof typeof Place];
2911
+ export declare const FormMethod: {
2912
+ readonly get: "get";
2913
+ readonly post: "post";
2914
+ };
2915
+ export type FormMethod = (typeof FormMethod)[keyof typeof FormMethod];
2916
+ export declare const Trend: {
2917
+ readonly up: "up";
2918
+ readonly down: "down";
2919
+ readonly neutral: "neutral";
2920
+ };
2921
+ export type Trend = (typeof Trend)[keyof typeof Trend];
2922
+ export declare const Stroke: {
2923
+ readonly butt: "butt";
2924
+ readonly round: "round";
2925
+ readonly square: "square";
2926
+ };
2927
+ export type Stroke = (typeof Stroke)[keyof typeof Stroke];
2928
+ export declare const Join: {
2929
+ readonly miter: "miter";
2930
+ readonly round: "round";
2931
+ readonly bevel: "bevel";
2932
+ };
2933
+ export type Join = (typeof Join)[keyof typeof Join];
2934
+ export declare const Scale: {
2935
+ readonly small: "small";
2936
+ readonly medium: "medium";
2937
+ readonly large: "large";
2938
+ };
2939
+ export type Scale = (typeof Scale)[keyof typeof Scale];
2940
+ export declare const Density: {
2941
+ readonly small: "small";
2942
+ readonly medium: "medium";
2943
+ readonly large: "large";
2944
+ };
2945
+ export type Density = Scale;
2946
+ export declare function isSizeWord(value: string): value is Size;
2947
+ /** CSS length a size word locks to, so a flex parent cannot squash it. */
2948
+ export declare function sizeWordCss(word: string, axis: "width" | "height"): string | undefined;
2444
2949
  interface FiboThemeContextValue {
2445
2950
  theme: FiboTheme;
2446
2951
  themeName: string;
@@ -29671,7 +30176,7 @@ export declare const Avatar: () => AvatarBuilder & LogicalAxes & {
29671
30176
  colorRendering: (value: import("csstype").Property.ColorRendering | undefined) => AvatarBuilder & LogicalAxes & /*elided*/ any & React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
29672
30177
  glyphOrientationVertical: (value: import("csstype").Property.GlyphOrientationVertical | undefined) => AvatarBuilder & LogicalAxes & /*elided*/ any & React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
29673
30178
  } & React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
29674
- type BadgeVariant = "neutral" | "accent" | "outline" | "glass" | "solid" | "dot";
30179
+ type BadgeVariant$1 = "neutral" | "accent" | "outline" | "glass" | "solid" | "dot";
29675
30180
  type BadgeIntent = "none" | "success" | "warning" | "error" | "info";
29676
30181
  type BadgeShape = "pill" | "rounded";
29677
30182
  declare class BadgeBuilder extends FiboBuilder {
@@ -29682,7 +30187,7 @@ declare class BadgeBuilder extends FiboBuilder {
29682
30187
  private _shape;
29683
30188
  text(value: string): this;
29684
30189
  icon(icon: React$1.ReactNode): this;
29685
- variant(variant: BadgeVariant): this;
30190
+ variant(variant: BadgeVariant$1): this;
29686
30191
  intent(intent: BadgeIntent): this;
29687
30192
  shape(shape: BadgeShape): this;
29688
30193
  build(): React$1.ReactElement;
@@ -30550,6 +31055,7 @@ type TextTruncation = "clip" | "ellipsis" | "head" | "middle" | "tail";
30550
31055
  type TextCase = "uppercase" | "lowercase" | "capitalize" | "none";
30551
31056
  declare class TextBuilder extends FiboBuilder {
30552
31057
  private _text;
31058
+ private _live;
30553
31059
  private _nodes?;
30554
31060
  private _type;
30555
31061
  private _lineLimit?;
@@ -49924,12 +50430,13 @@ export declare const MapView: () => MapViewBuilder & LogicalAxes & {
49924
50430
  glyphOrientationVertical: (value: import("csstype").Property.GlyphOrientationVertical | undefined) => MapViewBuilder & LogicalAxes & /*elided*/ any & React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
49925
50431
  } & React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
49926
50432
  type ExtendedButtonVariant = ButtonVariant | "ghost" | "soft" | "outline" | "text" | "raw" | "solid";
49927
- type ButtonSize = "xs" | "sm" | "md" | "lg";
49928
- type ButtonShape = "default" | "pill" | "square" | "rect" | "rounded" | "sharp";
49929
- type ButtonTone = "default" | "inverse";
50433
+ type ButtonSize$1 = "xs" | "sm" | "md" | "lg";
50434
+ type ButtonShape$1 = "default" | "pill" | "square" | "rect" | "rounded" | "sharp";
50435
+ type ButtonTone$1 = "default" | "inverse";
49930
50436
  type ButtonMotion = "default" | "none";
49931
50437
  declare class ButtonBuilder extends FiboBuilder {
49932
50438
  private _text;
50439
+ private _live;
49933
50440
  private _variant;
49934
50441
  private _size;
49935
50442
  private _onPress?;
@@ -49948,14 +50455,14 @@ declare class ButtonBuilder extends FiboBuilder {
49948
50455
  children(children: FiboChildren): this;
49949
50456
  variant(variant: ExtendedButtonVariant): this;
49950
50457
  clean(): this;
49951
- size(size: ButtonSize): this;
50458
+ size(size: ButtonSize$1): this;
49952
50459
  onPress(handler: () => void): this;
49953
50460
  onHover(handler: () => void): this;
49954
50461
  disabled(value?: boolean): this;
49955
50462
  icon(icon: React$1.ReactNode): this;
49956
- shape(value: ButtonShape): this;
50463
+ shape(value: ButtonShape$1): this;
49957
50464
  shadow(value: "none" | "soft"): this;
49958
- tone(value: ButtonTone): this;
50465
+ tone(value: ButtonTone$1): this;
49959
50466
  motion(value: ButtonMotion): this;
49960
50467
  expand(value?: boolean): this;
49961
50468
  /**
@@ -83319,7 +83826,7 @@ declare class ListItemStyleBuilder extends CssStyleStore {
83319
83826
  css(property: string, value: string | number): this;
83320
83827
  style(extra: React$1.CSSProperties): this;
83321
83828
  }
83322
- type ListVariant = "default" | "card" | "floating";
83829
+ type ListVariant$1 = "default" | "card" | "floating";
83323
83830
  declare class ListBuilder<T = any> extends FiboBuilder {
83324
83831
  private _items;
83325
83832
  /** Live source (`listSignal` / `signal`). Read on each rebuild. */
@@ -83386,7 +83893,7 @@ declare class ListBuilder<T = any> extends FiboBuilder {
83386
83893
  * ```
83387
83894
  */
83388
83895
  empty(content: FiboChild | (() => FiboChild)): this;
83389
- variant(variant: ListVariant): this;
83896
+ variant(variant: ListVariant$1): this;
83390
83897
  separator(show?: boolean): this;
83391
83898
  onEndReached(handler: () => void): this;
83392
83899
  loading(isLoading: boolean): this;
@@ -97325,7 +97832,7 @@ export declare const ListTile: () => ListTileBuilder & LogicalAxes & {
97325
97832
  colorRendering: (value: import("csstype").Property.ColorRendering | undefined) => ListTileBuilder & LogicalAxes & /*elided*/ any & React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
97326
97833
  glyphOrientationVertical: (value: import("csstype").Property.GlyphOrientationVertical | undefined) => ListTileBuilder & LogicalAxes & /*elided*/ any & React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
97327
97834
  } & React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
97328
- type TableVariant = "default" | "clean";
97835
+ type TableVariant$1 = "default" | "clean";
97329
97836
  type TableDensity = "compact" | "standard" | "relaxed";
97330
97837
  interface TableColumn<T = any> {
97331
97838
  header: string;
@@ -97348,7 +97855,7 @@ declare class TableBuilder<T = any> extends FiboBuilder {
97348
97855
  private _sortable;
97349
97856
  data(items: T[] | BindableSignal<T[]>): this;
97350
97857
  columns(cols: TableColumn<T>[]): this;
97351
- variant(variant: TableVariant): this;
97858
+ variant(variant: TableVariant$1): this;
97352
97859
  density(density: TableDensity): this;
97353
97860
  striped(enable?: boolean): this;
97354
97861
  width(value: string | number): this;
@@ -100831,7 +101338,7 @@ export declare const Collapse: () => CollapseBuilder & LogicalAxes & {
100831
101338
  colorRendering: (value: import("csstype").Property.ColorRendering | undefined) => CollapseBuilder & LogicalAxes & /*elided*/ any & React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
100832
101339
  glyphOrientationVertical: (value: import("csstype").Property.GlyphOrientationVertical | undefined) => CollapseBuilder & LogicalAxes & /*elided*/ any & React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
100833
101340
  } & React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
100834
- type GridVariant = "standard" | "masonry" | "bento";
101341
+ type GridVariant$1 = "standard" | "masonry" | "bento";
100835
101342
  type GridGap = "none" | "sm" | "md" | "lg" | "xl" | number;
100836
101343
  type GridCols = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
100837
101344
  type GridAutoFlow = "row" | "column" | "dense";
@@ -100851,7 +101358,7 @@ declare class GridBuilder extends FiboBuilder {
100851
101358
  private _templateColumns?;
100852
101359
  private _templateRows?;
100853
101360
  private _autoFlow?;
100854
- variant(v: GridVariant): this;
101361
+ variant(v: GridVariant$1): this;
100855
101362
  columns(cols: GridCols | ResponsiveCols): this;
100856
101363
  rows(count: number): this;
100857
101364
  gap(g: GridGap): this;
@@ -121199,6 +121706,7 @@ export declare function clearPersistedState(key: string, storage?: StorageAdapte
121199
121706
  export declare function getPersistedState<T>(key: string, storage?: StorageAdapter): T | null;
121200
121707
 
121201
121708
  export {
121709
+ Effect$1 as Effect,
121202
121710
  Image$1 as Image,
121203
121711
  ScrollToOptions$1 as ScrollToOptions,
121204
121712
  Store as ReactiveStore,