@storybook/react-native-ui-common 10.2.2-alpha.2 → 10.2.2-alpha.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.
package/dist/index.js CHANGED
@@ -109,6 +109,7 @@ var Button = (0, import_react.forwardRef)(
109
109
  animating: isAnimating,
110
110
  animation,
111
111
  onPress: handleClick,
112
+ accessibilityRole: "button",
112
113
  ...props,
113
114
  children: [
114
115
  Icon && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ButtonIcon, { Icon, variant, active }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-native-ui-common",
3
- "version": "10.2.2-alpha.2",
3
+ "version": "10.2.2-alpha.3",
4
4
  "description": "common ui components for react native storybook",
5
5
  "keywords": [
6
6
  "react",
@@ -39,7 +39,7 @@
39
39
  "dependencies": {
40
40
  "@nozbe/microfuzz": "^1.0.0",
41
41
  "@storybook/react": "^10.2.2",
42
- "@storybook/react-native-theming": "^10.2.2-alpha.2",
42
+ "@storybook/react-native-theming": "^10.2.2-alpha.3",
43
43
  "es-toolkit": "^1.41.0",
44
44
  "memoizerific": "^1.11.3",
45
45
  "ts-dedent": "^2.2.0"
@@ -55,5 +55,5 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "gitHead": "af294af11927af3754f6958f0f6f2a358897f7b9"
58
+ "gitHead": "b996f5156b78ae94b967434130a6af1bee2876a2"
59
59
  }
package/src/Button.tsx CHANGED
@@ -64,6 +64,7 @@ export const Button = forwardRef<any, ButtonProps>(
64
64
  animating={isAnimating}
65
65
  animation={animation}
66
66
  onPress={handleClick}
67
+ accessibilityRole="button"
67
68
  {...props}
68
69
  >
69
70
  {Icon && <ButtonIcon Icon={Icon} variant={variant} active={active} />}