jfs-components 0.0.53 → 0.0.54

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.
@@ -263,7 +263,9 @@ function Drawer({
263
263
  rowGap: drawerGap
264
264
  }, sheetStyle, animatedStyle],
265
265
  accessible: true,
266
- accessibilityRole: 'dialog',
266
+ ...(_reactNative.Platform.OS === 'web' ? {
267
+ accessibilityRole: 'dialog'
268
+ } : undefined),
267
269
  accessibilityLabel: undefined,
268
270
  accessibilityHint: accessibilityHint || 'Swipe up to expand, swipe down to collapse',
269
271
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
@@ -158,7 +158,9 @@ function Section({
158
158
  });
159
159
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
160
160
  style: [containerStyle, style],
161
- accessibilityRole: 'region',
161
+ ...(_reactNative.Platform.OS === 'web' ? {
162
+ accessibilityRole: 'region'
163
+ } : undefined),
162
164
  accessibilityLabel: undefined,
163
165
  accessibilityHint: accessibilityHint,
164
166
  ...rest,
@@ -258,7 +260,9 @@ function SectionBento({
258
260
  const processedUpiSlot = upiSlot ? (0, _reactUtils.cloneChildrenWithModes)(_react.default.Children.toArray(upiSlot), modes) : null;
259
261
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
260
262
  style: [containerStyle, style],
261
- accessibilityRole: 'region',
263
+ ...(_reactNative.Platform.OS === 'web' ? {
264
+ accessibilityRole: 'region'
265
+ } : undefined),
262
266
  accessibilityLabel: undefined,
263
267
  accessibilityHint: accessibilityHint,
264
268
  ...rest,