@turystack/ui 0.0.26 → 0.0.28

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
@@ -436,7 +436,7 @@ declare function Content_2({ children }: PropsWithChildren): JSX.Element;
436
436
 
437
437
  declare function Content_3({ children }: PropsWithChildren<CardContentProps>): JSX.Element;
438
438
 
439
- declare function Content_4({ side, align, sideOffset, children, }: PropsWithChildren<DropdownMenuContentProps>): JSX.Element;
439
+ declare function Content_4({ width, side, align, sideOffset, children, }: PropsWithChildren<DropdownMenuContentProps>): JSX.Element;
440
440
 
441
441
  declare function Content_5({ children }: PropsWithChildren): JSX.Element;
442
442
 
@@ -586,6 +586,7 @@ export declare type DropdownMenuConfig = {
586
586
  };
587
587
 
588
588
  export declare type DropdownMenuContentProps = {
589
+ width?: React.CSSProperties['width'];
589
590
  side?: DropdownMenuSide;
590
591
  align?: DropdownMenuAlign;
591
592
  sideOffset?: number;
@@ -671,7 +672,7 @@ declare function Field({ children, label, labelFloating, name, description, erro
671
672
 
672
673
  declare function FieldSet({ legend, tooltip, children, }: PropsWithChildren<FormFieldSetProps>): JSX.Element;
673
674
 
674
- export declare function Flex({ direction, justify, align, gap, wrap, inline, minHeight, children, }: PropsWithChildren<FlexProps>): JSX.Element;
675
+ export declare function Flex({ direction, justify, align, gap, wrap, inline, minHeight, block, children, }: PropsWithChildren<FlexProps>): JSX.Element;
675
676
 
676
677
  export declare type FlexAlign = 'start' | 'end' | 'center' | 'baseline' | 'stretch';
677
678
 
@@ -691,6 +692,7 @@ export declare type FlexProps = {
691
692
  wrap?: FlexWrap;
692
693
  inline?: boolean;
693
694
  minHeight?: FlexMinHeight;
695
+ block?: boolean;
694
696
  };
695
697
 
696
698
  export declare type FlexSlots = 'root';
@@ -1950,6 +1952,10 @@ export declare type UploaderSlots = 'root' | 'fileList' | 'fileItem' | 'fileName
1950
1952
 
1951
1953
  export declare const useColorScheme: () => ColorSchemeContextValue;
1952
1954
 
1955
+ export declare function useDebounceFn<T extends (...args: Parameters<T>) => void>(callback: T, delay?: number): T;
1956
+
1957
+ export declare function useIsMobile(): boolean;
1958
+
1953
1959
  export declare function useSidebar(): SidebarContextValue;
1954
1960
 
1955
1961
  export declare const useTheme: () => ThemeContextValue;