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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Auto-generated from SVG files in src/icons/
|
|
5
5
|
* DO NOT EDIT MANUALLY - Run "npm run icons:generate" to regenerate
|
|
6
6
|
*
|
|
7
|
-
* Generated: 2026-04-
|
|
7
|
+
* Generated: 2026-04-13T20:33:05.821Z
|
|
8
8
|
*/
|
|
9
9
|
export declare const iconRegistry: Record<string, {
|
|
10
10
|
path: string;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useCallback, useEffect, useState, useRef } from 'react'
|
|
2
|
-
import { StyleSheet, Text, useWindowDimensions, View } from 'react-native'
|
|
2
|
+
import { Platform, StyleSheet, Text, useWindowDimensions, View } from 'react-native'
|
|
3
3
|
import {
|
|
4
4
|
Gesture,
|
|
5
5
|
GestureDetector,
|
|
@@ -314,7 +314,7 @@ function Drawer({
|
|
|
314
314
|
animatedStyle,
|
|
315
315
|
]}
|
|
316
316
|
accessible={true}
|
|
317
|
-
|
|
317
|
+
{...(Platform.OS === 'web' ? { accessibilityRole: 'dialog' as any } : undefined)}
|
|
318
318
|
accessibilityLabel={undefined}
|
|
319
319
|
accessibilityHint={accessibilityHint || 'Swipe up to expand, swipe down to collapse'}
|
|
320
320
|
>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useState } from 'react'
|
|
2
|
-
import { View, Text, Pressable, type StyleProp, type ViewStyle, type PressableStateCallbackType } from 'react-native'
|
|
2
|
+
import { View, Text, Pressable, Platform, type StyleProp, type ViewStyle, type PressableStateCallbackType } from 'react-native'
|
|
3
3
|
import { getVariableByName } from '../../design-tokens/figma-variables-resolver'
|
|
4
4
|
import NavArrow from '../NavArrow/NavArrow'
|
|
5
5
|
import { usePressableWebSupport, type WebAccessibilityProps } from '../../utils/web-platform-utils'
|
|
@@ -182,7 +182,7 @@ function Section({
|
|
|
182
182
|
return (
|
|
183
183
|
<View
|
|
184
184
|
style={[containerStyle, style]}
|
|
185
|
-
|
|
185
|
+
{...(Platform.OS === 'web' ? { accessibilityRole: 'region' as any } : undefined)}
|
|
186
186
|
accessibilityLabel={undefined}
|
|
187
187
|
accessibilityHint={accessibilityHint}
|
|
188
188
|
{...rest}
|
|
@@ -314,7 +314,7 @@ function SectionBento({
|
|
|
314
314
|
return (
|
|
315
315
|
<View
|
|
316
316
|
style={[containerStyle, style]}
|
|
317
|
-
|
|
317
|
+
{...(Platform.OS === 'web' ? { accessibilityRole: 'region' as any } : undefined)}
|
|
318
318
|
accessibilityLabel={undefined}
|
|
319
319
|
accessibilityHint={accessibilityHint}
|
|
320
320
|
{...rest}
|
package/src/icons/registry.ts
CHANGED