@factorialco/f0-react 1.325.0 → 1.327.0

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.
@@ -1540,6 +1540,8 @@ export declare type CoCreationFormProps = {
1540
1540
 
1541
1541
  declare type ColId = string;
1542
1542
 
1543
+ export declare type CollapsibleMenuVariant = "dark" | "light";
1544
+
1543
1545
  /**
1544
1546
  * Props for the Collection component.
1545
1547
  * @template Record - The type of records in the collection
@@ -2971,7 +2973,7 @@ export declare const F0Callout: ForwardRefExoticComponent<CalloutInternalProps &
2971
2973
 
2972
2974
  export declare type F0CalloutProps = CalloutInternalProps;
2973
2975
 
2974
- export declare function F0CollapsibleMenu({ title, items, className, activeItem, collapsible, showChildrenCounter, barsAlign, size, popupAlign, }: F0CollapsibleMenuProps): JSX_2.Element;
2976
+ export declare function F0CollapsibleMenu({ title, items, className, activeItem, collapsible, showChildrenCounter, barsAlign, size, popupAlign, variant, }: F0CollapsibleMenuProps): JSX_2.Element;
2975
2977
 
2976
2978
  export declare interface F0CollapsibleMenuProps extends Omit<TOCProps, "sortable" | "onReorder" | "showSearchBox" | "title" | "hideChildrenCounter"> {
2977
2979
  /** Optional title displayed at the top of the menu popup */
@@ -2986,6 +2988,8 @@ export declare interface F0CollapsibleMenuProps extends Omit<TOCProps, "sortable
2986
2988
  size?: PopupSize;
2987
2989
  /** Alignment of the popup content */
2988
2990
  popupAlign?: "center" | "start" | "end";
2991
+ /** Visual variant: "dark" for light backgrounds (default), "light" for dark backgrounds */
2992
+ variant?: CollapsibleMenuVariant;
2989
2993
  }
2990
2994
 
2991
2995
  declare interface F0IconProps extends SVGProps<SVGSVGElement>, VariantProps<typeof iconVariants> {
@@ -6435,23 +6439,6 @@ declare global {
6435
6439
  }
6436
6440
  }
6437
6441
 
6438
- declare module "gridstack" {
6439
- interface GridStackWidget {
6440
- id?: string;
6441
- allowedSizes?: Array<{
6442
- w: number;
6443
- h: number;
6444
- }>;
6445
- meta?: Record<string, unknown>;
6446
- }
6447
- interface GridStackNode {
6448
- allowedSizes?: Array<{
6449
- w: number;
6450
- h: number;
6451
- }>;
6452
- }
6453
- }
6454
-
6455
6442
 
6456
6443
  declare module "@tiptap/core" {
6457
6444
  interface Commands<ReturnType> {
@@ -6479,6 +6466,23 @@ declare module "@tiptap/core" {
6479
6466
  }
6480
6467
  }
6481
6468
 
6469
+ declare module "gridstack" {
6470
+ interface GridStackWidget {
6471
+ id?: string;
6472
+ allowedSizes?: Array<{
6473
+ w: number;
6474
+ h: number;
6475
+ }>;
6476
+ meta?: Record<string, unknown>;
6477
+ }
6478
+ interface GridStackNode {
6479
+ allowedSizes?: Array<{
6480
+ w: number;
6481
+ h: number;
6482
+ }>;
6483
+ }
6484
+ }
6485
+
6482
6486
 
6483
6487
  declare module "@tiptap/core" {
6484
6488
  interface Commands<ReturnType> {