fluent-styles 1.62.1 → 1.62.3

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.
Files changed (54) hide show
  1. package/README.md +81 -3709
  2. package/lib/commonjs/circularProgress/index.js +102 -83
  3. package/lib/commonjs/circularProgress/index.js.map +1 -1
  4. package/lib/commonjs/tabBar/TabBar.js +87 -139
  5. package/lib/commonjs/tabBar/TabBar.js.map +1 -1
  6. package/lib/commonjs/utiles/styled.js +26 -5
  7. package/lib/commonjs/utiles/styled.js.map +1 -1
  8. package/lib/module/circularProgress/index.js +103 -84
  9. package/lib/module/circularProgress/index.js.map +1 -1
  10. package/lib/module/tabBar/TabBar.js +88 -140
  11. package/lib/module/tabBar/TabBar.js.map +1 -1
  12. package/lib/module/utiles/styled.js +26 -5
  13. package/lib/module/utiles/styled.js.map +1 -1
  14. package/lib/typescript/badge/index.d.ts +3 -1
  15. package/lib/typescript/badge/index.d.ts.map +1 -1
  16. package/lib/typescript/button/index.d.ts +5 -1
  17. package/lib/typescript/button/index.d.ts.map +1 -1
  18. package/lib/typescript/card/index.d.ts +3 -1
  19. package/lib/typescript/card/index.d.ts.map +1 -1
  20. package/lib/typescript/circularProgress/index.d.ts +4 -5
  21. package/lib/typescript/circularProgress/index.d.ts.map +1 -1
  22. package/lib/typescript/dialog/index.d.ts +3 -1
  23. package/lib/typescript/dialog/index.d.ts.map +1 -1
  24. package/lib/typescript/divider/index.d.ts +3 -1
  25. package/lib/typescript/divider/index.d.ts.map +1 -1
  26. package/lib/typescript/header/index.d.ts +3 -1
  27. package/lib/typescript/header/index.d.ts.map +1 -1
  28. package/lib/typescript/image/index.d.ts +3 -1
  29. package/lib/typescript/image/index.d.ts.map +1 -1
  30. package/lib/typescript/pressable/index.d.ts +3 -1
  31. package/lib/typescript/pressable/index.d.ts.map +1 -1
  32. package/lib/typescript/safeAreaProvider/index.d.ts +3 -1
  33. package/lib/typescript/safeAreaProvider/index.d.ts.map +1 -1
  34. package/lib/typescript/safeAreaView/index.d.ts +3 -1
  35. package/lib/typescript/safeAreaView/index.d.ts.map +1 -1
  36. package/lib/typescript/scrollView/index.d.ts +3 -1
  37. package/lib/typescript/scrollView/index.d.ts.map +1 -1
  38. package/lib/typescript/shape/cycle.d.ts +3 -1
  39. package/lib/typescript/shape/cycle.d.ts.map +1 -1
  40. package/lib/typescript/shape/index.d.ts +3 -1
  41. package/lib/typescript/shape/index.d.ts.map +1 -1
  42. package/lib/typescript/spacer/index.d.ts +3 -1
  43. package/lib/typescript/spacer/index.d.ts.map +1 -1
  44. package/lib/typescript/stack/index.d.ts +9 -3
  45. package/lib/typescript/stack/index.d.ts.map +1 -1
  46. package/lib/typescript/tabBar/TabBar.d.ts.map +1 -1
  47. package/lib/typescript/text/index.d.ts +3 -1
  48. package/lib/typescript/text/index.d.ts.map +1 -1
  49. package/lib/typescript/utiles/styled.d.ts +4 -2
  50. package/lib/typescript/utiles/styled.d.ts.map +1 -1
  51. package/package.json +1 -1
  52. package/src/circularProgress/index.tsx +177 -164
  53. package/src/tabBar/TabBar.tsx +120 -233
  54. package/src/utiles/styled.tsx +22 -6
@@ -28,7 +28,9 @@ export interface HeaderProps extends ViewProps, ViewStyle {
28
28
  declare const Full: React.FC<{
29
29
  children?: React.ReactNode;
30
30
  }>;
31
- declare const HeaderComponent: React.ForwardRefExoticComponent<HeaderProps & React.RefAttributes<ViewProps & ViewStyle & React.RefAttributes<any>>>;
31
+ declare const HeaderComponent: React.ForwardRefExoticComponent<HeaderProps & React.RefAttributes<(ViewProps & ViewStyle & React.RefAttributes<any>) | (ViewProps & ViewStyle & {
32
+ ref?: React.Ref<any> | undefined;
33
+ })>>;
32
34
  interface HeaderComponent extends React.ForwardRefExoticComponent<HeaderProps & React.RefAttributes<View>> {
33
35
  Full: typeof Full;
34
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA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B,CAAC,EAAE,OAAO,CAAC;IACjC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAwBD,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAElD,CAAC;AAMF,QAAA,MAAM,eAAe;;IA8GpB,CAAC;AAIF,UAAU,eACR,SAAQ,KAAK,CAAC,yBAAyB,CACrC,WAAW,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,CACxC;IACD,IAAI,EAAE,OAAO,IAAI,CAAC;CACnB;AAED,QAAA,MAAM,YAAY,iBAAqC,CAAC;AAKxD,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -2,7 +2,9 @@ import { Image, ImageProps, ImageBackgroundProps, ImageStyle, DimensionValue } f
2
2
  import React from 'react';
3
3
  type StyledImageProps = ImageProps & ImageStyle;
4
4
  type StyledImageBackgroundProps = ImageBackgroundProps & ImageStyle;
5
- declare const StyledImageBackground: React.ForwardRefExoticComponent<ImageBackgroundProps & ImageStyle & React.RefAttributes<any>>;
5
+ declare const StyledImageBackground: ((props: ImageBackgroundProps & ImageStyle & {
6
+ ref?: React.Ref<any> | undefined;
7
+ }) => React.JSX.Element) | React.ForwardRefExoticComponent<ImageBackgroundProps & ImageStyle & React.RefAttributes<any>>;
6
8
  interface _StyledImageProps extends Omit<StyledImageProps, 'height' | 'width'> {
7
9
  cycle?: boolean;
8
10
  size?: DimensionValue;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/image/index.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,EAEL,UAAU,EACV,oBAAoB,EACpB,UAAU,EACV,cAAc,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,gBAAgB,GAAG,UAAU,GAA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
  import { PressableProps } from 'react-native';
3
3
  import { ViewStyle } from '../utiles/viewStyleProps';
4
4
  type StyledPressableProps = PressableProps & ViewStyle;
5
- declare const StyledPressable: import("react").ForwardRefExoticComponent<PressableProps & ViewStyle & import("react").RefAttributes<any>>;
5
+ declare const StyledPressable: ((props: PressableProps & ViewStyle & {
6
+ ref?: import("react").Ref<any> | undefined;
7
+ }) => import("react").JSX.Element) | import("react").ForwardRefExoticComponent<PressableProps & ViewStyle & import("react").RefAttributes<any>>;
6
8
  export { StyledPressable };
7
9
  export type { StyledPressableProps };
8
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pressable/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAa,cAAc,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAGrD,KAAK,oBAAoB,GAAG,cAAc,GAAG,SAAS,CAAC;AAEvD,QAAA,MAAM,eAAe,4GAOnB,CAAC;AAEH,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,YAAY,EAAE,oBAAoB,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pressable/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAa,cAAc,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAGrD,KAAK,oBAAoB,GAAG,cAAc,GAAG,SAAS,CAAC;AAEvD,QAAA,MAAM,eAAe;;+IAOnB,CAAC;AAEH,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,YAAY,EAAE,oBAAoB,EAAE,CAAC"}
@@ -1,7 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { SafeAreaProviderProps } from 'react-native-safe-area-context';
3
3
  type StyledSafeAreaProviderProps = SafeAreaProviderProps;
4
- declare const StyledSafeAreaProvider: import("react").ForwardRefExoticComponent<SafeAreaProviderProps & import("react").RefAttributes<any>>;
4
+ declare const StyledSafeAreaProvider: ((props: SafeAreaProviderProps & {
5
+ ref?: import("react").Ref<any> | undefined;
6
+ }) => import("react").JSX.Element) | import("react").ForwardRefExoticComponent<SafeAreaProviderProps & import("react").RefAttributes<any>>;
5
7
  export { StyledSafeAreaProvider };
6
8
  export type { StyledSafeAreaProviderProps };
7
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/safeAreaProvider/index.ts"],"names":[],"mappings":";AACA,OAAO,EAEH,qBAAqB,EACxB,MAAM,gCAAgC,CAAC;AAGxC,KAAK,2BAA2B,GAAG,qBAAqB,CAAC;AAEzD,QAAA,MAAM,sBAAsB,uGAG1B,CAAC;AAEH,OAAO,EAAE,sBAAsB,EAAE,CAAC;AAClC,YAAY,EAAE,2BAA2B,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/safeAreaProvider/index.ts"],"names":[],"mappings":";AACA,OAAO,EAEH,qBAAqB,EACxB,MAAM,gCAAgC,CAAC;AAGxC,KAAK,2BAA2B,GAAG,qBAAqB,CAAC;AAEzD,QAAA,MAAM,sBAAsB;;0IAG1B,CAAC;AAEH,OAAO,EAAE,sBAAsB,EAAE,CAAC;AAClC,YAAY,EAAE,2BAA2B,EAAE,CAAC"}
@@ -2,7 +2,9 @@
2
2
  import { SafeAreaViewProps } from 'react-native-safe-area-context';
3
3
  import { ViewStyleProps } from '../utiles/viewStyleProps';
4
4
  type StyledSafeAreaViewProps = SafeAreaViewProps & ViewStyleProps;
5
- declare const StyledSafeAreaView: import("react").ForwardRefExoticComponent<import("react-native-safe-area-context").NativeSafeAreaViewProps & ViewStyleProps & import("react").RefAttributes<any>>;
5
+ declare const StyledSafeAreaView: ((props: import("react-native-safe-area-context").NativeSafeAreaViewProps & ViewStyleProps & {
6
+ ref?: import("react").Ref<any> | undefined;
7
+ }) => import("react").JSX.Element) | import("react").ForwardRefExoticComponent<import("react-native-safe-area-context").NativeSafeAreaViewProps & ViewStyleProps & import("react").RefAttributes<any>>;
6
8
  export { StyledSafeAreaView };
7
9
  export type { StyledSafeAreaViewProps };
8
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/safeAreaView/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAEH,iBAAiB,EACpB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,cAAc,EAAa,MAAM,0BAA0B,CAAC;AAErE,KAAK,uBAAuB,GAAG,iBAAiB,GAAG,cAAc,CAAC;AAElE,QAAA,MAAM,kBAAkB,mKAItB,CAAC;AAEH,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,YAAY,EAAE,uBAAuB,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/safeAreaView/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAEH,iBAAiB,EACpB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,cAAc,EAAa,MAAM,0BAA0B,CAAC;AAErE,KAAK,uBAAuB,GAAG,iBAAiB,GAAG,cAAc,CAAC;AAElE,QAAA,MAAM,kBAAkB;;sMAItB,CAAC;AAEH,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,YAAY,EAAE,uBAAuB,EAAE,CAAC"}
@@ -2,7 +2,9 @@
2
2
  import { ScrollViewProps } from 'react-native';
3
3
  import { ViewStyleProps } from '../utiles/viewStyleProps';
4
4
  type StyledScrollViewProps = ScrollViewProps & ViewStyleProps;
5
- declare const StyledScrollView: import("react").ForwardRefExoticComponent<ScrollViewProps & ViewStyleProps & import("react").RefAttributes<any>>;
5
+ declare const StyledScrollView: ((props: ScrollViewProps & ViewStyleProps & {
6
+ ref?: import("react").Ref<any> | undefined;
7
+ }) => import("react").JSX.Element) | import("react").ForwardRefExoticComponent<ScrollViewProps & ViewStyleProps & import("react").RefAttributes<any>>;
6
8
  export { StyledScrollView };
7
9
  export type { StyledScrollViewProps };
8
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/scrollView/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAc,eAAe,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAa,MAAM,0BAA0B,CAAC;AAErE,KAAK,qBAAqB,GAAG,eAAe,GAAG,cAAc,CAAC;AAE9D,QAAA,MAAM,gBAAgB,kHAIpB,CAAC;AAEH,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,YAAY,EAAE,qBAAqB,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/scrollView/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAc,eAAe,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAa,MAAM,0BAA0B,CAAC;AAErE,KAAK,qBAAqB,GAAG,eAAe,GAAG,cAAc,CAAC;AAE9D,QAAA,MAAM,gBAAgB;;qJAIpB,CAAC;AAEH,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,YAAY,EAAE,qBAAqB,EAAE,CAAC"}
@@ -22,7 +22,9 @@ type CycleComponentProps = CycleVariants & ViewProps & ViewStyle;
22
22
  * Circular container with centered content
23
23
  * Default size: md (48px)
24
24
  */
25
- declare const CycleBase: React.ForwardRefExoticComponent<CycleVariants & ViewProps & ViewStyle & React.RefAttributes<any>>;
25
+ declare const CycleBase: ((props: CycleVariants & ViewProps & ViewStyle & {
26
+ ref?: React.Ref<any> | undefined;
27
+ }) => React.JSX.Element) | React.ForwardRefExoticComponent<CycleVariants & ViewProps & ViewStyle & React.RefAttributes<any>>;
26
28
  interface StyledCycleProps extends CycleComponentProps {
27
29
  children?: React.ReactNode;
28
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"cycle.d.ts","sourceRoot":"","sources":["../../../src/shape/cycle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,IAAI,EACJ,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAItB;;;;;;;;;;;GAWG;AAEH,KAAK,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7C,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,KAAK,mBAAmB,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,CAAC;AAyBjE;;;;GAIG;AACH,QAAA,MAAM,SAAS,mGAmBb,CAAC;AAEH,UAAU,gBAAiB,SAAQ,mBAAmB;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,QAAA,MAAM,WAAW,+EAYhB,CAAC;AAIF,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC;AAClC,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"cycle.d.ts","sourceRoot":"","sources":["../../../src/shape/cycle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,IAAI,EACJ,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAItB;;;;;;;;;;;GAWG;AAEH,KAAK,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7C,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,KAAK,mBAAmB,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,CAAC;AAyBjE;;;;GAIG;AACH,QAAA,MAAM,SAAS;;4HAmBb,CAAC;AAEH,UAAU,gBAAiB,SAAQ,mBAAmB;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,QAAA,MAAM,WAAW,+EAYhB,CAAC;AAIF,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC;AAClC,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,WAAW,EAAE,CAAC"}
@@ -5,7 +5,9 @@ type ShapeVariants = {
5
5
  size?: string | number | [string | number, ViewStyle];
6
6
  };
7
7
  type ShapeProps = ShapeVariants & ViewProps & ViewStyle;
8
- declare const StyleShape: import("react").ForwardRefExoticComponent<ShapeVariants & ViewProps & ViewStyle & import("react").RefAttributes<any>>;
8
+ declare const StyleShape: ((props: ShapeVariants & ViewProps & ViewStyle & {
9
+ ref?: import("react").Ref<any> | undefined;
10
+ }) => import("react").JSX.Element) | import("react").ForwardRefExoticComponent<ShapeVariants & ViewProps & ViewStyle & import("react").RefAttributes<any>>;
9
11
  export { StyleShape };
10
12
  export type { ShapeProps };
11
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shape/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAQ,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG1D,KAAK,aAAa,GAAG;IACjB,KAAK,CAAC,EAAE,OAAO,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IACvC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,SAAS,CAAC,CAAC;CACzD,CAAC;AAEF,KAAK,UAAU,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,CAAC;AAExD,QAAA,MAAM,UAAU,uHAuBd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shape/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAQ,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG1D,KAAK,aAAa,GAAG;IACjB,KAAK,CAAC,EAAE,OAAO,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IACvC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,SAAS,CAAC,CAAC;CACzD,CAAC;AAEF,KAAK,UAAU,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,CAAC;AAExD,QAAA,MAAM,UAAU;;0JAuBd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,UAAU,EAAE,CAAC"}
@@ -2,7 +2,9 @@
2
2
  import { ViewProps } from 'react-native';
3
3
  import { ViewStyleProps } from '../utiles/viewStyleProps';
4
4
  type SpacerProps = ViewProps & (Pick<ViewStyleProps, 'margin' | 'marginTop' | 'marginBottom' | 'marginLeft' | 'marginRight' | 'marginHorizontal' | 'marginVertical' | 'backgroundColor' | 'borderRadius' | 'borderWidth' | 'borderColor' | 'flex' | 'width' | 'height'>);
5
- declare const StyledSpacer: import("react").ForwardRefExoticComponent<ViewProps & Pick<ViewStyleProps, "flex" | "backgroundColor" | "borderColor" | "borderRadius" | "borderWidth" | "height" | "margin" | "marginBottom" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginTop" | "marginVertical" | "width"> & import("react").RefAttributes<any>>;
5
+ declare const StyledSpacer: ((props: ViewProps & Pick<ViewStyleProps, "flex" | "backgroundColor" | "borderColor" | "borderRadius" | "borderWidth" | "height" | "margin" | "marginBottom" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginTop" | "marginVertical" | "width"> & {
6
+ ref?: import("react").Ref<any> | undefined;
7
+ }) => import("react").JSX.Element) | import("react").ForwardRefExoticComponent<ViewProps & Pick<ViewStyleProps, "flex" | "backgroundColor" | "borderColor" | "borderRadius" | "borderWidth" | "height" | "margin" | "marginBottom" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginTop" | "marginVertical" | "width"> & import("react").RefAttributes<any>>;
6
8
  export { StyledSpacer };
7
9
  export type { SpacerProps };
8
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/spacer/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAQ,SAAS,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,cAAc,EAAa,MAAM,0BAA0B,CAAC;AAErE,KAAK,WAAW,GAAI,SAAS,GAAG,CAAC,IAAI,CAAC,cAAc,EAChD,QAAQ,GACR,WAAW,GACX,cAAc,GACd,YAAY,GACZ,aAAa,GACb,kBAAkB,GAClB,gBAAgB,GAChB,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,aAAa,GACb,MAAM,GACN,OAAO,GACP,QAAQ,CAAC,CAAC,CAAC;AAEf,QAAA,MAAM,YAAY,qUAIhB,CAAC;AAEH,OAAO,EAAG,YAAY,EAAE,CAAC;AACzB,YAAY,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/spacer/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAQ,SAAS,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,cAAc,EAAa,MAAM,0BAA0B,CAAC;AAErE,KAAK,WAAW,GAAI,SAAS,GAAG,CAAC,IAAI,CAAC,cAAc,EAChD,QAAQ,GACR,WAAW,GACX,cAAc,GACd,YAAY,GACZ,aAAa,GACb,kBAAkB,GAClB,gBAAgB,GAChB,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,aAAa,GACb,MAAM,GACN,OAAO,GACP,QAAQ,CAAC,CAAC,CAAC;AAEf,QAAA,MAAM,YAAY;;wWAIhB,CAAC;AAEH,OAAO,EAAG,YAAY,EAAE,CAAC;AACzB,YAAY,EAAE,WAAW,EAAE,CAAC"}
@@ -16,9 +16,15 @@ type StackProps = StackVariants & ViewProps & ViewStyle;
16
16
  * Default: neutral layout (no flex direction preset)
17
17
  * Use horizontal or vertical variants to set flex direction
18
18
  */
19
- declare const Stack: import("react").ForwardRefExoticComponent<StackVariants & ViewProps & ViewStyle & import("react").RefAttributes<any>>;
20
- declare const XStack: import("react").ForwardRefExoticComponent<Omit<StackProps, "horizontal" | "vertical"> & import("react").RefAttributes<any>>;
21
- declare const YStack: import("react").ForwardRefExoticComponent<Omit<StackProps, "horizontal" | "vertical"> & import("react").RefAttributes<any>>;
19
+ declare const Stack: ((props: StackVariants & ViewProps & ViewStyle & {
20
+ ref?: import("react").Ref<any> | undefined;
21
+ }) => import("react").JSX.Element) | import("react").ForwardRefExoticComponent<StackVariants & ViewProps & ViewStyle & import("react").RefAttributes<any>>;
22
+ declare const XStack: ((props: Omit<StackProps, "horizontal" | "vertical"> & {
23
+ ref?: import("react").Ref<any> | undefined;
24
+ }) => import("react").JSX.Element) | import("react").ForwardRefExoticComponent<Omit<StackProps, "horizontal" | "vertical"> & import("react").RefAttributes<any>>;
25
+ declare const YStack: ((props: Omit<StackProps, "horizontal" | "vertical"> & {
26
+ ref?: import("react").Ref<any> | undefined;
27
+ }) => import("react").JSX.Element) | import("react").ForwardRefExoticComponent<Omit<StackProps, "horizontal" | "vertical"> & import("react").RefAttributes<any>>;
22
28
  export { Stack, XStack, YStack };
23
29
  export type { StackProps };
24
30
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/stack/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAQ,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG1D;;;;;GAKG;AACH,KAAK,aAAa,GAAG;IACjB,UAAU,CAAC,EAAE,OAAO,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;CAC7C,CAAC;AAEF,KAAK,UAAU,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,CAAC;AAExD;;;;GAIG;AACH,QAAA,MAAM,KAAK,uHAkBT,CAAC;AAEH,QAAA,MAAM,MAAM,6HAKV,CAAC;AAEH,QAAA,MAAM,MAAM,6HAKV,CAAC;AAEH,OAAO,EAAG,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AAClC,YAAY,EAAE,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/stack/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAQ,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG1D;;;;;GAKG;AACH,KAAK,aAAa,GAAG;IACjB,UAAU,CAAC,EAAE,OAAO,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;CAC7C,CAAC;AAEF,KAAK,UAAU,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,CAAC;AAExD;;;;GAIG;AACH,QAAA,MAAM,KAAK;;0JAkBT,CAAC;AAEH,QAAA,MAAM,MAAM;;gKAKV,CAAC;AAEH,QAAA,MAAM,MAAM;;gKAKV,CAAC;AAEH,OAAO,EAAG,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AAClC,YAAY,EAAE,UAAU,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TabBar.d.ts","sourceRoot":"","sources":["../../../src/tabBar/TabBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAA;AAad,OAAO,EAKL,KAAK,WAAW,EAEhB,KAAK,QAAQ,EACd,MAAM,aAAa,CAAA;AAwdpB,eAAO,MAAM,MAAM,6CAEd,MAAM,GAAG,QAAQ,CAAA"}
1
+ {"version":3,"file":"TabBar.d.ts","sourceRoot":"","sources":["../../../src/tabBar/TabBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAA;AAWd,OAAO,EAKL,KAAK,WAAW,EAEhB,KAAK,QAAQ,EACd,MAAM,aAAa,CAAA;AAyWpB,eAAO,MAAM,MAAM,6CAEd,MAAM,GAAG,QAAQ,CAAA"}
@@ -10,7 +10,9 @@ type TextVariants = {
10
10
  link?: boolean;
11
11
  };
12
12
  type StyledTextProps = TextVariants & TextProps & TextStyle;
13
- declare const StyledText: import("react").ForwardRefExoticComponent<TextVariants & TextProps & TextStyle & import("react").RefAttributes<any>>;
13
+ declare const StyledText: ((props: TextVariants & TextProps & TextStyle & {
14
+ ref?: import("react").Ref<any> | undefined;
15
+ }) => import("react").JSX.Element) | import("react").ForwardRefExoticComponent<TextVariants & TextProps & TextStyle & import("react").RefAttributes<any>>;
14
16
  export { StyledText };
15
17
  export type { StyledTextProps };
16
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/text/index.ts"],"names":[],"mappings":";AACA,OAAO,EAEH,SAAS,EACT,SAAS,EACZ,MAAM,cAAc,CAAC;AAItB,KAAK,YAAY,GAAG;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAE;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,KAAK,eAAe,GAAG,YAAY,GAAG,SAAS,GAAG,SAAS,CAAC;AAE5D,QAAA,MAAM,UAAU,sHAgDd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/text/index.ts"],"names":[],"mappings":";AACA,OAAO,EAEH,SAAS,EACT,SAAS,EACZ,MAAM,cAAc,CAAC;AAItB,KAAK,YAAY,GAAG;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAE;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,KAAK,eAAe,GAAG,YAAY,GAAG,SAAS,GAAG,SAAS,CAAC;AAE5D,QAAA,MAAM,UAAU;;yJAgDd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import React, { ComponentType } from "react";
1
+ import React, { ComponentType, Ref } from "react";
2
2
  import { ViewStyle, TextStyle, ImageStyle } from "react-native";
3
3
  type Style = ViewStyle | TextStyle | ImageStyle;
4
4
  interface StyledOptions {
@@ -9,6 +9,8 @@ interface StyledOptions {
9
9
  } | ((selected: string, options: any) => Style);
10
10
  };
11
11
  }
12
- declare const styled: <P extends object>(Component: React.ComponentType<P>, { base, variants }?: StyledOptions) => React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<any>>;
12
+ declare const styled: <P extends object>(Component: React.ComponentType<P>, { base, variants }?: StyledOptions) => ((props: P & {
13
+ ref?: React.Ref<any> | undefined;
14
+ }) => React.JSX.Element) | React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<any>>;
13
15
  export { styled };
14
16
  //# sourceMappingURL=styled.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/utiles/styled.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAc,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAEhE,KAAK,KAAK,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAEhD,UAAU,aAAa;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,QAAQ,CAAC,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GAAG;YACX,CAAC,OAAO,EAAE,MAAM,GAAG,KAAK,GAAG,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,KAAK,CAAC,CAAC;SAC1E,GAAG,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,KAAK,CAAC,CAAC;KACnD,CAAC;CACL;AAED,QAAA,MAAM,MAAM,6EAEY,aAAa,yFA4BpC,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/utiles/styled.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,GAAG,EAAc,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAEhE,KAAK,KAAK,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAEhD,UAAU,aAAa;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,QAAQ,CAAC,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GAAG;YACX,CAAC,OAAO,EAAE,MAAM,GAAG,KAAK,GAAG,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,KAAK,CAAC,CAAC;SAC1E,GAAG,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,KAAK,CAAC,CAAC;KACnD,CAAC;CACL;AAKD,QAAA,MAAM,MAAM,6EAEY,aAAa;;+GAyCpC,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fluent-styles",
3
3
  "description": "Develop different styled versions of UI components.",
4
- "version": "1.62.1",
4
+ "version": "1.62.3",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
7
7
  "react-native": "src/index.ts",