@zuzjs/ui 1.0.35 → 1.0.37

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.cts CHANGED
@@ -1859,6 +1859,9 @@ type ToolTipProps = Omit<BoxProps, `title` | `ref`> & {
1859
1859
  margin?: number;
1860
1860
  title?: string | ReactNode;
1861
1861
  show?: boolean;
1862
+ variant?: ValueOf<typeof Variant>;
1863
+ /** Tooltip will be anchored to this className in children */
1864
+ anchorName?: string;
1862
1865
  };
1863
1866
 
1864
1867
  declare const ToolTip: {
@@ -1945,6 +1948,10 @@ interface ThemeConfig {
1945
1948
  duration?: number;
1946
1949
  progress?: boolean;
1947
1950
  };
1951
+ tooltip?: {
1952
+ variant?: ValueOf<typeof Variant>;
1953
+ curve: ValueOf<typeof TRANSITION_CURVES>;
1954
+ };
1948
1955
  }
1949
1956
  type ThemeProviderProps = {
1950
1957
  children: ReactNode;
@@ -1993,6 +2000,10 @@ declare const useDrawer: () => {
1993
2000
  };
1994
2001
 
1995
2002
  declare const useFx: (fx?: animationProps & {
2003
+ /** Offset when transition is activce */
2004
+ offset?: number;
2005
+ /** Offset when transition is inactive */
2006
+ margin?: number;
1996
2007
  watch?: string[];
1997
2008
  }, ref?: RefObject<HTMLElement>) => {
1998
2009
  style: any;
@@ -2073,7 +2084,7 @@ declare const buildClassString: (input: ZuzStyleString | ZuzStyleString[]) => st
2073
2084
  declare const css: (input: ZuzStyleString | ZuzStyleString[]) => string;
2074
2085
  declare const buildWithStyles: (source: dynamic) => dynamic;
2075
2086
  declare const getAnimationCurve: (curve?: string | ValueOf<typeof TRANSITION_CURVES>) => string;
2076
- declare const animationTransition: (transition: ValueOf<typeof TRANSITIONS>, offset?: number) => {
2087
+ declare const animationTransition: (transition: ValueOf<typeof TRANSITIONS>, startOffset?: number, endOffset?: number) => {
2077
2088
  from: {};
2078
2089
  to: {};
2079
2090
  };
package/dist/index.d.ts CHANGED
@@ -1859,6 +1859,9 @@ type ToolTipProps = Omit<BoxProps, `title` | `ref`> & {
1859
1859
  margin?: number;
1860
1860
  title?: string | ReactNode;
1861
1861
  show?: boolean;
1862
+ variant?: ValueOf<typeof Variant>;
1863
+ /** Tooltip will be anchored to this className in children */
1864
+ anchorName?: string;
1862
1865
  };
1863
1866
 
1864
1867
  declare const ToolTip: {
@@ -1945,6 +1948,10 @@ interface ThemeConfig {
1945
1948
  duration?: number;
1946
1949
  progress?: boolean;
1947
1950
  };
1951
+ tooltip?: {
1952
+ variant?: ValueOf<typeof Variant>;
1953
+ curve: ValueOf<typeof TRANSITION_CURVES>;
1954
+ };
1948
1955
  }
1949
1956
  type ThemeProviderProps = {
1950
1957
  children: ReactNode;
@@ -1993,6 +2000,10 @@ declare const useDrawer: () => {
1993
2000
  };
1994
2001
 
1995
2002
  declare const useFx: (fx?: animationProps & {
2003
+ /** Offset when transition is activce */
2004
+ offset?: number;
2005
+ /** Offset when transition is inactive */
2006
+ margin?: number;
1996
2007
  watch?: string[];
1997
2008
  }, ref?: RefObject<HTMLElement>) => {
1998
2009
  style: any;
@@ -2073,7 +2084,7 @@ declare const buildClassString: (input: ZuzStyleString | ZuzStyleString[]) => st
2073
2084
  declare const css: (input: ZuzStyleString | ZuzStyleString[]) => string;
2074
2085
  declare const buildWithStyles: (source: dynamic) => dynamic;
2075
2086
  declare const getAnimationCurve: (curve?: string | ValueOf<typeof TRANSITION_CURVES>) => string;
2076
- declare const animationTransition: (transition: ValueOf<typeof TRANSITIONS>, offset?: number) => {
2087
+ declare const animationTransition: (transition: ValueOf<typeof TRANSITIONS>, startOffset?: number, endOffset?: number) => {
2077
2088
  from: {};
2078
2089
  to: {};
2079
2090
  };