@factorialco/f0-react-native 0.33.0 → 0.35.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.
Files changed (71) hide show
  1. package/README.md +7 -5
  2. package/lib/module/components/Badge/index.js +1 -1
  3. package/lib/module/components/Badge/index.js.map +1 -1
  4. package/lib/module/components/Button/index.js +1 -1
  5. package/lib/module/components/Button/index.js.map +1 -1
  6. package/lib/module/components/F0Badge/F0Badge.js +2 -0
  7. package/lib/module/components/F0Badge/F0Badge.js.map +1 -0
  8. package/lib/module/components/F0Badge/F0Badge.md +67 -0
  9. package/lib/module/components/F0Badge/F0Badge.styles.js +2 -0
  10. package/lib/module/components/F0Badge/F0Badge.styles.js.map +1 -0
  11. package/lib/module/components/F0Badge/F0Badge.types.js +2 -0
  12. package/lib/module/components/F0Badge/F0Badge.types.js.map +1 -0
  13. package/lib/module/components/F0Badge/index.js +2 -0
  14. package/lib/module/components/F0Badge/index.js.map +1 -0
  15. package/lib/module/components/F0Button/F0Button.js +2 -0
  16. package/lib/module/components/F0Button/F0Button.js.map +1 -0
  17. package/lib/module/components/F0Button/F0Button.md +163 -0
  18. package/lib/module/components/F0Button/F0Button.styles.js +2 -0
  19. package/lib/module/components/F0Button/F0Button.styles.js.map +1 -0
  20. package/lib/module/components/F0Button/F0Button.types.js +2 -0
  21. package/lib/module/components/F0Button/F0Button.types.js.map +1 -0
  22. package/lib/module/components/F0Button/index.js +2 -0
  23. package/lib/module/components/F0Button/index.js.map +1 -0
  24. package/lib/module/components/Icon/index.js.map +1 -1
  25. package/lib/module/components/exports.js +1 -1
  26. package/lib/module/components/exports.js.map +1 -1
  27. package/lib/typescript/components/Badge/index.d.ts +28 -54
  28. package/lib/typescript/components/Badge/index.d.ts.map +1 -1
  29. package/lib/typescript/components/Button/index.d.ts +18 -0
  30. package/lib/typescript/components/Button/index.d.ts.map +1 -1
  31. package/lib/typescript/components/F0Badge/F0Badge.d.ts +5 -0
  32. package/lib/typescript/components/F0Badge/F0Badge.d.ts.map +1 -0
  33. package/lib/typescript/components/F0Badge/F0Badge.styles.d.ts +57 -0
  34. package/lib/typescript/components/F0Badge/F0Badge.styles.d.ts.map +1 -0
  35. package/lib/typescript/components/F0Badge/F0Badge.types.d.ts +19 -0
  36. package/lib/typescript/components/F0Badge/F0Badge.types.d.ts.map +1 -0
  37. package/lib/typescript/components/F0Badge/index.d.ts +4 -0
  38. package/lib/typescript/components/F0Badge/index.d.ts.map +1 -0
  39. package/lib/typescript/components/F0Button/F0Button.d.ts +6 -0
  40. package/lib/typescript/components/F0Button/F0Button.d.ts.map +1 -0
  41. package/lib/typescript/components/F0Button/F0Button.styles.d.ts +161 -0
  42. package/lib/typescript/components/F0Button/F0Button.styles.d.ts.map +1 -0
  43. package/lib/typescript/components/F0Button/F0Button.types.d.ts +47 -0
  44. package/lib/typescript/components/F0Button/F0Button.types.d.ts.map +1 -0
  45. package/lib/typescript/components/F0Button/index.d.ts +4 -0
  46. package/lib/typescript/components/F0Button/index.d.ts.map +1 -0
  47. package/lib/typescript/components/Icon/index.d.ts +5 -0
  48. package/lib/typescript/components/Icon/index.d.ts.map +1 -1
  49. package/lib/typescript/components/exports.d.ts +2 -0
  50. package/lib/typescript/components/exports.d.ts.map +1 -1
  51. package/package.json +1 -1
  52. package/src/components/Badge/__tests__/index.spec.tsx +29 -0
  53. package/src/components/Badge/index.tsx +38 -40
  54. package/src/components/Button/__snapshots__/index.spec.tsx.snap +11 -11
  55. package/src/components/Button/index.tsx +22 -2
  56. package/src/components/F0Badge/F0Badge.md +67 -0
  57. package/src/components/F0Badge/F0Badge.styles.ts +28 -0
  58. package/src/components/F0Badge/F0Badge.tsx +24 -0
  59. package/src/components/F0Badge/F0Badge.types.ts +34 -0
  60. package/src/components/F0Badge/__tests__/F0Badge.spec.tsx +63 -0
  61. package/src/components/F0Badge/__tests__/__snapshots__/F0Badge.spec.tsx.snap +651 -0
  62. package/src/components/F0Badge/index.ts +7 -0
  63. package/src/components/F0Button/F0Button.md +163 -0
  64. package/src/components/F0Button/F0Button.styles.ts +141 -0
  65. package/src/components/F0Button/F0Button.tsx +228 -0
  66. package/src/components/F0Button/F0Button.types.ts +82 -0
  67. package/src/components/F0Button/__tests__/F0Button.spec.tsx +285 -0
  68. package/src/components/F0Button/__tests__/__snapshots__/F0Button.spec.tsx.snap +966 -0
  69. package/src/components/F0Button/index.ts +7 -0
  70. package/src/components/Icon/index.tsx +5 -0
  71. package/src/components/exports.ts +2 -0
@@ -2,9 +2,21 @@ import React from "react";
2
2
  import { View } from "react-native";
3
3
  import { type VariantProps } from "tailwind-variants";
4
4
  import { type IconType } from "../primitives/F0Icon";
5
+ /**
6
+ * @deprecated Use `F0Button` from `../F0Button` instead.
7
+ */
5
8
  export declare const variants: readonly ["default", "outline", "critical", "neutral", "ghost", "promote"];
9
+ /**
10
+ * @deprecated Use `F0ButtonVariant` from `../F0Button` instead.
11
+ */
6
12
  export type ButtonVariant = (typeof variants)[number];
13
+ /**
14
+ * @deprecated Use `BUTTON_SIZES` from `../F0Button` instead.
15
+ */
7
16
  export declare const sizes: readonly ["sm", "md", "lg"];
17
+ /**
18
+ * @deprecated Use `F0ButtonSize` from `../F0Button` instead.
19
+ */
8
20
  export type ButtonSize = (typeof sizes)[number];
9
21
  declare const buttonVariants: import("tailwind-variants").TVReturnType<{
10
22
  variant: {
@@ -73,6 +85,9 @@ declare const buttonVariants: import("tailwind-variants").TVReturnType<{
73
85
  false: string;
74
86
  };
75
87
  }, undefined, "flex-row items-center justify-center rounded border-none grow-0", unknown, unknown, undefined>>;
88
+ /**
89
+ * @deprecated Use `F0ButtonProps` from `../F0Button` instead.
90
+ */
76
91
  export interface ButtonProps extends VariantProps<typeof buttonVariants> {
77
92
  label: string;
78
93
  onPress?: () => void | Promise<unknown>;
@@ -86,6 +101,9 @@ export interface ButtonProps extends VariantProps<typeof buttonVariants> {
86
101
  showBadge?: boolean;
87
102
  fullWidth?: boolean;
88
103
  }
104
+ /**
105
+ * @deprecated Use `F0Button` from `../F0Button` instead.
106
+ */
89
107
  export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<View>>;
90
108
  export {};
91
109
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAA;AACnD,OAAO,EAAmB,IAAI,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAGzD,OAAO,EAAU,KAAK,QAAQ,EAAkB,MAAM,sBAAsB,CAAA;AAE5E,eAAO,MAAM,QAAQ,4EAOX,CAAA;AACV,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAA;AAErD,eAAO,MAAM,KAAK,6BAA8B,CAAA;AAChD,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAA;AAE/C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8GA+BlB,CAAA;AAkEF,MAAM,WAAW,WAAY,SAAQ,YAAY,CAAC,OAAO,cAAc,CAAC;IACtE,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,MAAM,0EA4GjB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAA;AACnD,OAAO,EAAmB,IAAI,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAGzD,OAAO,EAA0B,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAE5E;;GAEG;AACH,eAAO,MAAM,QAAQ,4EAOX,CAAA;AAEV;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAA;AAErD;;GAEG;AACH,eAAO,MAAM,KAAK,6BAA8B,CAAA;AAEhD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAA;AAE/C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8GA+BlB,CAAA;AAkEF;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,YAAY,CAAC,OAAO,cAAc,CAAC;IACtE,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,MAAM,0EA4GjB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { type F0BadgeProps } from "./F0Badge.types";
3
+ declare const F0Badge: React.NamedExoticComponent<F0BadgeProps>;
4
+ export { F0Badge };
5
+ //# sourceMappingURL=F0Badge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"F0Badge.d.ts","sourceRoot":"","sources":["../../../../src/components/F0Badge/F0Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAExE,QAAA,MAAM,OAAO,0CAYX,CAAA;AAIF,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -0,0 +1,57 @@
1
+ export declare const badgeVariantClasses: {
2
+ readonly neutral: "bg-transparent text-f0-icon";
3
+ readonly highlight: "text-f0-special-highlight";
4
+ readonly positive: "bg-f0-background-positive-bold text-f0-foreground-inverse";
5
+ readonly critical: "bg-f0-icon-critical text-f0-foreground-inverse";
6
+ readonly warning: "bg-f0-background-warning-bold text-f0-foreground-inverse";
7
+ };
8
+ export declare const badgeSizeClasses: {
9
+ readonly xs: "h-2.5 w-2.5";
10
+ readonly sm: "h-3 w-3";
11
+ readonly md: "h-5 w-5";
12
+ readonly lg: "h-6 w-6";
13
+ };
14
+ export declare const badgeVariants: import("tailwind-variants").TVReturnType<{
15
+ variant: {
16
+ readonly neutral: "bg-transparent text-f0-icon";
17
+ readonly highlight: "text-f0-special-highlight";
18
+ readonly positive: "bg-f0-background-positive-bold text-f0-foreground-inverse";
19
+ readonly critical: "bg-f0-icon-critical text-f0-foreground-inverse";
20
+ readonly warning: "bg-f0-background-warning-bold text-f0-foreground-inverse";
21
+ };
22
+ size: {
23
+ readonly xs: "h-2.5 w-2.5";
24
+ readonly sm: "h-3 w-3";
25
+ readonly md: "h-5 w-5";
26
+ readonly lg: "h-6 w-6";
27
+ };
28
+ }, undefined, "flex shrink-0 items-center justify-center rounded-full", {
29
+ variant: {
30
+ readonly neutral: "bg-transparent text-f0-icon";
31
+ readonly highlight: "text-f0-special-highlight";
32
+ readonly positive: "bg-f0-background-positive-bold text-f0-foreground-inverse";
33
+ readonly critical: "bg-f0-icon-critical text-f0-foreground-inverse";
34
+ readonly warning: "bg-f0-background-warning-bold text-f0-foreground-inverse";
35
+ };
36
+ size: {
37
+ readonly xs: "h-2.5 w-2.5";
38
+ readonly sm: "h-3 w-3";
39
+ readonly md: "h-5 w-5";
40
+ readonly lg: "h-6 w-6";
41
+ };
42
+ }, undefined, import("tailwind-variants").TVReturnType<{
43
+ variant: {
44
+ readonly neutral: "bg-transparent text-f0-icon";
45
+ readonly highlight: "text-f0-special-highlight";
46
+ readonly positive: "bg-f0-background-positive-bold text-f0-foreground-inverse";
47
+ readonly critical: "bg-f0-icon-critical text-f0-foreground-inverse";
48
+ readonly warning: "bg-f0-background-warning-bold text-f0-foreground-inverse";
49
+ };
50
+ size: {
51
+ readonly xs: "h-2.5 w-2.5";
52
+ readonly sm: "h-3 w-3";
53
+ readonly md: "h-5 w-5";
54
+ readonly lg: "h-6 w-6";
55
+ };
56
+ }, undefined, "flex shrink-0 items-center justify-center rounded-full", unknown, unknown, undefined>>;
57
+ //# sourceMappingURL=F0Badge.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"F0Badge.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/F0Badge/F0Badge.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB;;;;;;CAMtB,CAAA;AAEV,eAAO,MAAM,gBAAgB;;;;;CAKnB,CAAA;AAEV,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAUxB,CAAA"}
@@ -0,0 +1,19 @@
1
+ import type { VariantProps } from "tailwind-variants";
2
+ import type { IconType } from "../primitives/F0Icon";
3
+ import { badgeSizeClasses, badgeVariantClasses, type badgeVariants } from "./F0Badge.styles";
4
+ export type F0BadgeVariant = keyof typeof badgeVariantClasses;
5
+ export declare const F0_BADGE_VARIANTS: ReadonlyArray<F0BadgeVariant>;
6
+ export type F0BadgeSize = keyof typeof badgeSizeClasses;
7
+ export declare const F0_BADGE_SIZES: ReadonlyArray<F0BadgeSize>;
8
+ export declare const F0_BADGE_ICON_SIZES: {
9
+ readonly xs: "xs";
10
+ readonly sm: "xs";
11
+ readonly md: "sm";
12
+ readonly lg: "md";
13
+ };
14
+ export interface F0BadgeProps extends VariantProps<typeof badgeVariants> {
15
+ icon: IconType;
16
+ variant?: F0BadgeVariant;
17
+ size?: F0BadgeSize;
18
+ }
19
+ //# sourceMappingURL=F0Badge.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"F0Badge.types.d.ts","sourceRoot":"","sources":["../../../../src/components/F0Badge/F0Badge.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAErD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEpD,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,KAAK,aAAa,EACnB,MAAM,kBAAkB,CAAA;AAEzB,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,mBAAmB,CAAA;AAE7D,eAAO,MAAM,iBAAiB,EAEzB,aAAa,CAAC,cAAc,CAAC,CAAA;AAElC,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,gBAAgB,CAAA;AAEvD,eAAO,MAAM,cAAc,EAEtB,aAAa,CAAC,WAAW,CAAC,CAAA;AAE/B,eAAO,MAAM,mBAAmB;;;;;CAKtB,CAAA;AAEV,MAAM,WAAW,YAAa,SAAQ,YAAY,CAAC,OAAO,aAAa,CAAC;IACtE,IAAI,EAAE,QAAQ,CAAA;IACd,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,IAAI,CAAC,EAAE,WAAW,CAAA;CACnB"}
@@ -0,0 +1,4 @@
1
+ export { F0Badge } from "./F0Badge";
2
+ export { F0_BADGE_SIZES, F0_BADGE_VARIANTS, F0_BADGE_ICON_SIZES, } from "./F0Badge.types";
3
+ export type { F0BadgeProps, F0BadgeSize, F0BadgeVariant } from "./F0Badge.types";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/F0Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,iBAAiB,CAAA;AACxB,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA"}
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import { View } from "react-native";
3
+ import { type F0ButtonProps } from "./F0Button.types";
4
+ declare const F0Button: React.MemoExoticComponent<React.ForwardRefExoticComponent<F0ButtonProps & React.RefAttributes<View>>>;
5
+ export { F0Button };
6
+ //# sourceMappingURL=F0Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"F0Button.d.ts","sourceRoot":"","sources":["../../../../src/components/F0Button/F0Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAA;AACd,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAwBnC,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,kBAAkB,CAAA;AAEzB,QAAA,MAAM,QAAQ,uGA2Lb,CAAA;AAID,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -0,0 +1,161 @@
1
+ import type { IconColor } from "../primitives/F0Icon";
2
+ import type { TextColor } from "../primitives/F0Text";
3
+ import type { ButtonVariant } from "./F0Button.types";
4
+ export declare const buttonVariants: import("tailwind-variants").TVReturnType<{
5
+ variant: {
6
+ default: string;
7
+ outline: string;
8
+ neutral: string;
9
+ critical: string;
10
+ ghost: string;
11
+ promote: string;
12
+ };
13
+ size: {
14
+ sm: string;
15
+ md: string;
16
+ lg: string;
17
+ };
18
+ disabled: {
19
+ true: string;
20
+ false: string;
21
+ };
22
+ round: {
23
+ true: string;
24
+ false: string;
25
+ };
26
+ }, undefined, "flex-row items-center justify-center rounded border-none grow-0", {
27
+ variant: {
28
+ default: string;
29
+ outline: string;
30
+ neutral: string;
31
+ critical: string;
32
+ ghost: string;
33
+ promote: string;
34
+ };
35
+ size: {
36
+ sm: string;
37
+ md: string;
38
+ lg: string;
39
+ };
40
+ disabled: {
41
+ true: string;
42
+ false: string;
43
+ };
44
+ round: {
45
+ true: string;
46
+ false: string;
47
+ };
48
+ }, undefined, import("tailwind-variants").TVReturnType<{
49
+ variant: {
50
+ default: string;
51
+ outline: string;
52
+ neutral: string;
53
+ critical: string;
54
+ ghost: string;
55
+ promote: string;
56
+ };
57
+ size: {
58
+ sm: string;
59
+ md: string;
60
+ lg: string;
61
+ };
62
+ disabled: {
63
+ true: string;
64
+ false: string;
65
+ };
66
+ round: {
67
+ true: string;
68
+ false: string;
69
+ };
70
+ }, undefined, "flex-row items-center justify-center rounded border-none grow-0", unknown, unknown, undefined>>;
71
+ export declare const pressedVariants: import("tailwind-variants").TVReturnType<{
72
+ variant: {
73
+ default: string;
74
+ outline: string;
75
+ neutral: string;
76
+ critical: string;
77
+ ghost: string;
78
+ promote: string;
79
+ };
80
+ }, undefined, "", {
81
+ variant: {
82
+ default: string;
83
+ outline: string;
84
+ neutral: string;
85
+ critical: string;
86
+ ghost: string;
87
+ promote: string;
88
+ };
89
+ }, undefined, import("tailwind-variants").TVReturnType<{
90
+ variant: {
91
+ default: string;
92
+ outline: string;
93
+ neutral: string;
94
+ critical: string;
95
+ ghost: string;
96
+ promote: string;
97
+ };
98
+ }, undefined, "", unknown, unknown, undefined>>;
99
+ export declare const loadingContentVariants: import("tailwind-variants").TVReturnType<{
100
+ loading: {
101
+ true: string;
102
+ false: string;
103
+ };
104
+ }, undefined, undefined, {
105
+ loading: {
106
+ true: string;
107
+ false: string;
108
+ };
109
+ }, undefined, import("tailwind-variants").TVReturnType<{
110
+ loading: {
111
+ true: string;
112
+ false: string;
113
+ };
114
+ }, undefined, undefined, unknown, unknown, undefined>>;
115
+ export declare const loadingIndicatorVariants: import("tailwind-variants").TVReturnType<{
116
+ variant: {
117
+ default: string;
118
+ outline: string;
119
+ neutral: string;
120
+ critical: string;
121
+ ghost: string;
122
+ promote: string;
123
+ };
124
+ size: {
125
+ sm: string;
126
+ md: string;
127
+ lg: string;
128
+ };
129
+ }, undefined, "rounded-full border-solid border-t-transparent", {
130
+ variant: {
131
+ default: string;
132
+ outline: string;
133
+ neutral: string;
134
+ critical: string;
135
+ ghost: string;
136
+ promote: string;
137
+ };
138
+ size: {
139
+ sm: string;
140
+ md: string;
141
+ lg: string;
142
+ };
143
+ }, undefined, import("tailwind-variants").TVReturnType<{
144
+ variant: {
145
+ default: string;
146
+ outline: string;
147
+ neutral: string;
148
+ critical: string;
149
+ ghost: string;
150
+ promote: string;
151
+ };
152
+ size: {
153
+ sm: string;
154
+ md: string;
155
+ lg: string;
156
+ };
157
+ }, undefined, "rounded-full border-solid border-t-transparent", unknown, unknown, undefined>>;
158
+ export declare const getIconColor: (variant: ButtonVariant, isPressed: boolean) => IconColor;
159
+ export declare const getIconOnlyColor: (variant: ButtonVariant, isPressed: boolean) => IconColor;
160
+ export declare const getTextColor: (variant: ButtonVariant, isPressed: boolean) => TextColor;
161
+ //# sourceMappingURL=F0Button.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"F0Button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/F0Button/F0Button.styles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAErD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8GA+BzB,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;+CAe1B,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;sDAUjC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6FAqBnC,CAAA;AAEF,eAAO,MAAM,YAAY,GACvB,SAAS,aAAa,EACtB,WAAW,OAAO,KACjB,SASF,CAAA;AAED,eAAO,MAAM,gBAAgB,GAC3B,SAAS,aAAa,EACtB,WAAW,OAAO,KACjB,SAaF,CAAA;AAED,eAAO,MAAM,YAAY,GACvB,SAAS,aAAa,EACtB,WAAW,OAAO,KACjB,SAaF,CAAA"}
@@ -0,0 +1,47 @@
1
+ import type { IconType } from "../primitives/F0Icon";
2
+ import type { PressableFeedbackProps, PressableFeedbackVariant } from "../primitives/PressableFeedback";
3
+ /**
4
+ * Button variant types
5
+ */
6
+ export declare const BUTTON_VARIANTS: readonly ["default", "outline", "critical", "neutral", "ghost", "promote"];
7
+ export type ButtonVariant = (typeof BUTTON_VARIANTS)[number];
8
+ export type F0ButtonVariant = ButtonVariant;
9
+ /**
10
+ * Button size types
11
+ */
12
+ export declare const BUTTON_SIZES: readonly ["sm", "md", "lg"];
13
+ export type ButtonSize = (typeof BUTTON_SIZES)[number];
14
+ export type F0ButtonSize = ButtonSize;
15
+ /**
16
+ * Props that are controlled by F0Button and must not be passed through.
17
+ * This preserves F0Button press-state behavior and accessibility contract.
18
+ */
19
+ declare const F0_BUTTON_CONTROLLED_PASSTHROUGH_PROPS: readonly ["onPressIn", "onPressOut", "accessibilityLabel", "accessibilityRole", "accessibilityState"];
20
+ export declare const F0_BUTTON_BANNED_PROPS: readonly ["style", "className"];
21
+ export declare const F0_BUTTON_BLOCKED_FORWARD_PROPS: readonly ["onPressIn", "onPressOut", "accessibilityLabel", "accessibilityRole", "accessibilityState", "style", "className"];
22
+ interface F0ButtonPropsInternal extends Omit<PressableFeedbackProps, "children" | "variant" | "disabled" | (typeof F0_BUTTON_CONTROLLED_PASSTHROUGH_PROPS)[number]> {
23
+ label: string;
24
+ onPress?: () => void | Promise<unknown>;
25
+ variant?: ButtonVariant;
26
+ size?: ButtonSize;
27
+ disabled?: boolean;
28
+ loading?: boolean;
29
+ icon?: IconType;
30
+ emoji?: string;
31
+ hideLabel?: boolean;
32
+ round?: boolean;
33
+ showBadge?: boolean;
34
+ fullWidth?: boolean;
35
+ accessibilityHint?: string;
36
+ testID?: string;
37
+ feedback?: PressableFeedbackVariant;
38
+ }
39
+ /**
40
+ * Public props for the F0Button component.
41
+ *
42
+ * Note: `className` and `style` props are NOT available.
43
+ * Use semantic props (variant, size, etc.) for styling.
44
+ */
45
+ export type F0ButtonProps = Omit<F0ButtonPropsInternal, (typeof F0_BUTTON_BANNED_PROPS)[number]>;
46
+ export {};
47
+ //# sourceMappingURL=F0Button.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"F0Button.types.d.ts","sourceRoot":"","sources":["../../../../src/components/F0Button/F0Button.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACzB,MAAM,iCAAiC,CAAA;AAExC;;GAEG;AACH,eAAO,MAAM,eAAe,4EAOlB,CAAA;AAEV,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAA;AAC5D,MAAM,MAAM,eAAe,GAAG,aAAa,CAAA;AAE3C;;GAEG;AACH,eAAO,MAAM,YAAY,6BAA8B,CAAA;AAEvD,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAA;AACtD,MAAM,MAAM,YAAY,GAAG,UAAU,CAAA;AAErC;;;GAGG;AACH,QAAA,MAAM,sCAAsC,uGAMlC,CAAA;AAEV,eAAO,MAAM,sBAAsB,iCAAkC,CAAA;AAErE,eAAO,MAAM,+BAA+B,6HAGlC,CAAA;AAEV,UAAU,qBAAsB,SAAQ,IAAI,CAC1C,sBAAsB,EACpB,UAAU,GACV,SAAS,GACT,UAAU,GACV,CAAC,OAAO,sCAAsC,CAAC,CAAC,MAAM,CAAC,CAC1D;IACC,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IACvC,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,wBAAwB,CAAA;CACpC;AAED;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,CAC9B,qBAAqB,EACrB,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CACxC,CAAA"}
@@ -0,0 +1,4 @@
1
+ export { F0Button } from "./F0Button";
2
+ export { BUTTON_VARIANTS, BUTTON_SIZES } from "./F0Button.types";
3
+ export type { F0ButtonProps, F0ButtonVariant, F0ButtonSize, } from "./F0Button.types";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/F0Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAChE,YAAY,EACV,aAAa,EACb,eAAe,EACf,YAAY,GACb,MAAM,kBAAkB,CAAA"}
@@ -27,6 +27,11 @@ declare const iconVariants: import("tailwind-variants").TVReturnType<{
27
27
  xs: string;
28
28
  };
29
29
  }, undefined, "shrink-0", unknown, unknown, undefined>>;
30
+ /**
31
+ * @deprecated Use `F0IconProps` from `../primitives/F0Icon` instead.
32
+ * Migration: Replace `IconProps` with `F0IconProps`.
33
+ * `F0Icon` supports `icon`, `size`, `testID`, and `className`, and adds semantic `color` variants.
34
+ */
30
35
  export interface IconProps extends SvgProps, VariantProps<typeof iconVariants> {
31
36
  icon: IconType;
32
37
  testID?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAGzD,OAAO,EAAoB,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEtE,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;uDAchB,CAAA;AAEF,MAAM,WAAW,SAAU,SAAQ,QAAQ,EAAE,YAAY,CAAC,OAAO,YAAY,CAAC;IAC5E,IAAI,EAAE,QAAQ,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAA;IAC9E,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED;;;;GAIG;AACH,eAAO,MAAM,IAAI,uEAiBf,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAGzD,OAAO,EAAoB,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEtE,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;uDAchB,CAAA;AAEF;;;;GAIG;AACH,MAAM,WAAW,SAAU,SAAQ,QAAQ,EAAE,YAAY,CAAC,OAAO,YAAY,CAAC;IAC5E,IAAI,EAAE,QAAQ,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAA;IAC9E,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED;;;;GAIG;AACH,eAAO,MAAM,IAAI,uEAiBf,CAAA"}
@@ -2,6 +2,8 @@ export * from "./Activity/ActivityItem";
2
2
  export * from "./Avatars/exports";
3
3
  export * from "./Badge";
4
4
  export * from "./Button";
5
+ export * from "./F0Button";
6
+ export * from "./F0Badge";
5
7
  export * from "./Counter";
6
8
  export * from "./ExampleComponent";
7
9
  export { Icon, type IconProps } from "./Icon";
@@ -1 +1 @@
1
- {"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../../src/components/exports.ts"],"names":[],"mappings":"AACA,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAA;AAC7C,cAAc,yBAAyB,CAAA;AACvC,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,+BAA+B,CAAA;AAC7C,cAAc,kCAAkC,CAAA;AAChD,cAAc,uCAAuC,CAAA;AAGrD,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,gCAAgC,CAAA"}
1
+ {"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../../src/components/exports.ts"],"names":[],"mappings":"AACA,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAA;AAC7C,cAAc,yBAAyB,CAAA;AACvC,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,+BAA+B,CAAA;AAC7C,cAAc,kCAAkC,CAAA;AAChD,cAAc,uCAAuC,CAAA;AAGrD,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,gCAAgC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react-native",
3
- "version": "0.33.0",
3
+ "version": "0.35.0",
4
4
  "type": "module",
5
5
  "description": "React Native components for F0 Design System",
6
6
  "main": "expo-router/entry",
@@ -0,0 +1,29 @@
1
+ import { render } from "@testing-library/react-native"
2
+ import React from "react"
3
+
4
+ import { Add } from "../../../icons/app"
5
+ import { Badge } from "../index"
6
+
7
+ const getClassName = (
8
+ json: ReturnType<ReturnType<typeof render>["toJSON"]>
9
+ ) => {
10
+ if (!json || Array.isArray(json)) return ""
11
+ return String(json.props.className ?? "")
12
+ }
13
+
14
+ describe("Badge (deprecated wrapper)", () => {
15
+ it("renders by delegating to F0Badge", () => {
16
+ const { toJSON } = render(<Badge icon={Add} />)
17
+ expect(toJSON()).toBeTruthy()
18
+ })
19
+
20
+ it("maps `type` to F0Badge `variant`", () => {
21
+ const { toJSON } = render(<Badge icon={Add} type="critical" />)
22
+ expect(getClassName(toJSON())).toContain("bg-f0-icon-critical")
23
+ })
24
+
25
+ it("preserves size mapping contract", () => {
26
+ const { toJSON } = render(<Badge icon={Add} size="lg" />)
27
+ expect(getClassName(toJSON())).toContain("stroke-md")
28
+ })
29
+ })
@@ -1,48 +1,46 @@
1
- import { tv, type VariantProps } from "tailwind-variants"
1
+ import { F0Badge } from "../F0Badge"
2
+ import type { IconType } from "../primitives/F0Icon"
2
3
 
3
- import { F0Icon, type IconType } from "../primitives/F0Icon"
4
+ /**
5
+ * @deprecated Use `F0_BADGE_VARIANTS` from `../F0Badge` instead.
6
+ */
7
+ export const BADGE_TYPES = [
8
+ "neutral",
9
+ "highlight",
10
+ "positive",
11
+ "critical",
12
+ "warning",
13
+ ] as const
4
14
 
5
- const badgeVariants = tv({
6
- base: "flex shrink-0 items-center justify-center rounded-full",
7
- variants: {
8
- type: {
9
- neutral: "bg-transparent text-f0-icon",
10
- highlight: "text-f0-special-highlight",
11
- positive: "bg-f0-background-positive-bold text-f0-foreground-inverse",
12
- critical: "bg-f0-icon-critical text-f0-foreground-inverse",
13
- warning: "bg-f0-background-warning-bold text-f0-foreground-inverse",
14
- },
15
- size: {
16
- xs: "h-2.5 w-2.5",
17
- sm: "h-3 w-3",
18
- md: "h-5 w-5",
19
- lg: "h-6 w-6",
20
- },
21
- },
22
- defaultVariants: {
23
- type: "neutral",
24
- size: "md",
25
- },
26
- })
15
+ /**
16
+ * @deprecated Use `F0BadgeVariant` from `../F0Badge` instead.
17
+ */
18
+ export type BadgeType = (typeof BADGE_TYPES)[number]
27
19
 
28
- const iconSizes = {
29
- xs: "xs",
30
- sm: "xs",
31
- md: "sm",
32
- lg: "md",
33
- } as const
20
+ /**
21
+ * @deprecated Use `F0BadgeSize` from `../F0Badge` instead.
22
+ */
23
+ export const BADGE_SIZES = ["xs", "sm", "md", "lg"] as const
34
24
 
35
- export interface BadgeProps extends VariantProps<typeof badgeVariants> {
25
+ /**
26
+ * @deprecated Use `F0BadgeSize` from `../F0Badge` instead.
27
+ */
28
+ export type BadgeSize = (typeof BADGE_SIZES)[number]
29
+
30
+ /**
31
+ * @deprecated Use `F0BadgeProps` from `../F0Badge` instead.
32
+ * Migration: replace `type` with `variant`.
33
+ */
34
+ export interface BadgeProps {
36
35
  icon: IconType
37
- size?: keyof typeof iconSizes
36
+ type?: BadgeType
37
+ size?: BadgeSize
38
38
  }
39
39
 
40
- export const Badge = ({ type, size = "md", icon }: BadgeProps) => {
41
- return (
42
- <F0Icon
43
- className={badgeVariants({ type, size })}
44
- icon={icon}
45
- size={iconSizes[size]}
46
- />
47
- )
40
+ /**
41
+ * @deprecated Use `F0Badge` from `../F0Badge` instead.
42
+ * Migration: replace `type` with `variant`.
43
+ */
44
+ export const Badge = ({ type = "neutral", size = "md", icon }: BadgeProps) => {
45
+ return <F0Badge icon={icon} variant={type} size={size} />
48
46
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  exports[`Button Snapshot - critical variant 1`] = `
4
4
  <View
5
- className="flex item-start"
5
+ className="flex items-start"
6
6
  >
7
7
  <View
8
8
  accessibilityLabel="Test Button"
@@ -49,7 +49,7 @@ exports[`Button Snapshot - critical variant 1`] = `
49
49
 
50
50
  exports[`Button Snapshot - default button 1`] = `
51
51
  <View
52
- className="flex item-start"
52
+ className="flex items-start"
53
53
  >
54
54
  <View
55
55
  accessibilityLabel="Test Button"
@@ -96,7 +96,7 @@ exports[`Button Snapshot - default button 1`] = `
96
96
 
97
97
  exports[`Button Snapshot - different sizes 1`] = `
98
98
  <View
99
- className="flex item-start"
99
+ className="flex items-start"
100
100
  >
101
101
  <View
102
102
  accessibilityLabel="Test Button"
@@ -143,7 +143,7 @@ exports[`Button Snapshot - different sizes 1`] = `
143
143
 
144
144
  exports[`Button Snapshot - different sizes 2`] = `
145
145
  <View
146
- className="flex item-start"
146
+ className="flex items-start"
147
147
  >
148
148
  <View
149
149
  accessibilityLabel="Test Button"
@@ -190,7 +190,7 @@ exports[`Button Snapshot - different sizes 2`] = `
190
190
 
191
191
  exports[`Button Snapshot - different sizes 3`] = `
192
192
  <View
193
- className="flex item-start"
193
+ className="flex items-start"
194
194
  >
195
195
  <View
196
196
  accessibilityLabel="Test Button"
@@ -237,7 +237,7 @@ exports[`Button Snapshot - different sizes 3`] = `
237
237
 
238
238
  exports[`Button Snapshot - disabled state 1`] = `
239
239
  <View
240
- className="flex item-start"
240
+ className="flex items-start"
241
241
  >
242
242
  <View
243
243
  accessibilityLabel="Test Button, disabled"
@@ -284,7 +284,7 @@ exports[`Button Snapshot - disabled state 1`] = `
284
284
 
285
285
  exports[`Button Snapshot - loading state 1`] = `
286
286
  <View
287
- className="flex item-start"
287
+ className="flex items-start"
288
288
  >
289
289
  <View
290
290
  accessibilityLabel="Test Button, disabled, loading"
@@ -331,7 +331,7 @@ exports[`Button Snapshot - loading state 1`] = `
331
331
 
332
332
  exports[`Button Snapshot - outline variant 1`] = `
333
333
  <View
334
- className="flex item-start"
334
+ className="flex items-start"
335
335
  >
336
336
  <View
337
337
  accessibilityLabel="Test Button"
@@ -378,7 +378,7 @@ exports[`Button Snapshot - outline variant 1`] = `
378
378
 
379
379
  exports[`Button Snapshot - round button with hidden label 1`] = `
380
380
  <View
381
- className="flex item-start"
381
+ className="flex items-start"
382
382
  >
383
383
  <View
384
384
  accessibilityLabel="Test Button"
@@ -419,7 +419,7 @@ exports[`Button Snapshot - round button with hidden label 1`] = `
419
419
 
420
420
  exports[`Button Snapshot - with emoji 1`] = `
421
421
  <View
422
- className="flex item-start"
422
+ className="flex items-start"
423
423
  >
424
424
  <View
425
425
  accessibilityLabel="Test Button"
@@ -471,7 +471,7 @@ exports[`Button Snapshot - with emoji 1`] = `
471
471
 
472
472
  exports[`Button Snapshot - with icon 1`] = `
473
473
  <View
474
- className="flex item-start"
474
+ className="flex items-start"
475
475
  >
476
476
  <View
477
477
  accessibilityLabel="Test Button"