jfs-components 0.0.52 → 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.
- package/lib/commonjs/components/Drawer/Drawer.js +3 -1
- package/lib/commonjs/components/Section/Section.js +6 -2
- package/lib/commonjs/icons/registry.js +1 -1
- package/lib/module/components/Drawer/Drawer.js +4 -2
- package/lib/module/components/Section/Section.js +7 -3
- package/lib/module/icons/registry.js +1 -1
- package/lib/typescript/src/icons/registry.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/Drawer/Drawer.tsx +2 -2
- package/src/components/Section/Section.tsx +3 -3
- package/src/icons/registry.ts +1 -1
|
@@ -263,7 +263,9 @@ function Drawer({
|
|
|
263
263
|
rowGap: drawerGap
|
|
264
264
|
}, sheetStyle, animatedStyle],
|
|
265
265
|
accessible: true,
|
|
266
|
-
|
|
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
|
-
|
|
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
|
-
|
|
263
|
+
...(_reactNative.Platform.OS === 'web' ? {
|
|
264
|
+
accessibilityRole: 'region'
|
|
265
|
+
} : undefined),
|
|
262
266
|
accessibilityLabel: undefined,
|
|
263
267
|
accessibilityHint: accessibilityHint,
|
|
264
268
|
...rest,
|