jfs-components 0.0.24 → 0.0.26
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/Accordion/Accordion.js +1 -1
- package/lib/commonjs/components/Accordion/Accordion.js.map +1 -1
- package/lib/commonjs/components/ActionFooter/ActionFooter.js +2 -2
- package/lib/commonjs/components/ActionFooter/ActionFooter.js.map +1 -1
- package/lib/commonjs/components/AppBar/AppBar.js +4 -3
- package/lib/commonjs/components/AppBar/AppBar.js.map +1 -1
- package/lib/commonjs/components/Avatar/Avatar.js +2 -2
- package/lib/commonjs/components/Avatar/Avatar.js.map +1 -1
- package/lib/commonjs/components/Badge/Badge.js +1 -1
- package/lib/commonjs/components/Badge/Badge.js.map +1 -1
- package/lib/commonjs/components/BottomNav/BottomNav.js +2 -2
- package/lib/commonjs/components/BottomNav/BottomNav.js.map +1 -1
- package/lib/commonjs/components/BottomNavItem/BottomNavItem.js +2 -2
- package/lib/commonjs/components/BottomNavItem/BottomNavItem.js.map +1 -1
- package/lib/commonjs/components/Button/Button.js +1 -1
- package/lib/commonjs/components/Button/Button.js.map +1 -1
- package/lib/commonjs/components/Carousel/Carousel.js +2 -2
- package/lib/commonjs/components/Carousel/Carousel.js.map +1 -1
- package/lib/commonjs/components/Disclaimer/Disclaimer.js +1 -1
- package/lib/commonjs/components/Disclaimer/Disclaimer.js.map +1 -1
- package/lib/commonjs/components/Divider/Divider.js +2 -2
- package/lib/commonjs/components/Divider/Divider.js.map +1 -1
- package/lib/commonjs/components/Drawer/Drawer.js +32 -13
- package/lib/commonjs/components/Drawer/Drawer.js.map +1 -1
- package/lib/commonjs/components/FilterBar/FilterBar.js +2 -2
- package/lib/commonjs/components/FilterBar/FilterBar.js.map +1 -1
- package/lib/commonjs/components/IconButton/IconButton.js +2 -2
- package/lib/commonjs/components/IconButton/IconButton.js.map +1 -1
- package/lib/commonjs/components/IconCapsule/IconCapsule.js +2 -2
- package/lib/commonjs/components/IconCapsule/IconCapsule.js.map +1 -1
- package/lib/commonjs/components/LazyList/LazyList.js +2 -2
- package/lib/commonjs/components/LazyList/LazyList.js.map +1 -1
- package/lib/commonjs/components/ListGroup/ListGroup.js +1 -1
- package/lib/commonjs/components/ListGroup/ListGroup.js.map +1 -1
- package/lib/commonjs/components/ListItem/ListItem.js +5 -5
- package/lib/commonjs/components/ListItem/ListItem.js.map +1 -1
- package/lib/commonjs/components/MerchantProfile/MerchantProfile.js +1 -1
- package/lib/commonjs/components/MerchantProfile/MerchantProfile.js.map +1 -1
- package/lib/commonjs/components/MoneyValue/MoneyValue.js +1 -1
- package/lib/commonjs/components/MoneyValue/MoneyValue.js.map +1 -1
- package/lib/commonjs/components/NavArrow/NavArrow.js +1 -1
- package/lib/commonjs/components/NavArrow/NavArrow.js.map +1 -1
- package/lib/commonjs/components/PageTitle/PageTitle.js +1 -1
- package/lib/commonjs/components/PageTitle/PageTitle.js.map +1 -1
- package/lib/commonjs/components/RadioButton/RadioButton.mdx +1 -3
- package/lib/commonjs/components/Section/Section.js +4 -4
- package/lib/commonjs/components/Section/Section.js.map +1 -1
- package/lib/commonjs/components/TextInput/TextInput.js +1 -1
- package/lib/commonjs/components/TextInput/TextInput.js.map +1 -1
- package/lib/commonjs/components/TransactionDetails/TransactionDetails.js +2 -2
- package/lib/commonjs/components/TransactionDetails/TransactionDetails.js.map +1 -1
- package/lib/commonjs/components/UpiHandle/UpiHandle.js +1 -1
- package/lib/commonjs/components/UpiHandle/UpiHandle.js.map +1 -1
- package/lib/commonjs/icons/registry.js +1 -1
- package/lib/module/components/Accordion/Accordion.js +1 -1
- package/lib/module/components/Accordion/Accordion.js.map +1 -1
- package/lib/module/components/ActionFooter/ActionFooter.js +2 -2
- package/lib/module/components/ActionFooter/ActionFooter.js.map +1 -1
- package/lib/module/components/AppBar/AppBar.js +4 -3
- package/lib/module/components/AppBar/AppBar.js.map +1 -1
- package/lib/module/components/Avatar/Avatar.js +2 -2
- package/lib/module/components/Avatar/Avatar.js.map +1 -1
- package/lib/module/components/Badge/Badge.js +1 -1
- package/lib/module/components/Badge/Badge.js.map +1 -1
- package/lib/module/components/BottomNav/BottomNav.js +2 -2
- package/lib/module/components/BottomNav/BottomNav.js.map +1 -1
- package/lib/module/components/BottomNavItem/BottomNavItem.js +2 -2
- package/lib/module/components/BottomNavItem/BottomNavItem.js.map +1 -1
- package/lib/module/components/Button/Button.js +1 -1
- package/lib/module/components/Button/Button.js.map +1 -1
- package/lib/module/components/Carousel/Carousel.js +2 -2
- package/lib/module/components/Carousel/Carousel.js.map +1 -1
- package/lib/module/components/Disclaimer/Disclaimer.js +1 -1
- package/lib/module/components/Disclaimer/Disclaimer.js.map +1 -1
- package/lib/module/components/Divider/Divider.js +2 -2
- package/lib/module/components/Divider/Divider.js.map +1 -1
- package/lib/module/components/Drawer/Drawer.js +32 -13
- package/lib/module/components/Drawer/Drawer.js.map +1 -1
- package/lib/module/components/FilterBar/FilterBar.js +2 -2
- package/lib/module/components/FilterBar/FilterBar.js.map +1 -1
- package/lib/module/components/IconButton/IconButton.js +2 -2
- package/lib/module/components/IconButton/IconButton.js.map +1 -1
- package/lib/module/components/IconCapsule/IconCapsule.js +2 -2
- package/lib/module/components/IconCapsule/IconCapsule.js.map +1 -1
- package/lib/module/components/LazyList/LazyList.js +2 -2
- package/lib/module/components/LazyList/LazyList.js.map +1 -1
- package/lib/module/components/ListGroup/ListGroup.js +1 -1
- package/lib/module/components/ListGroup/ListGroup.js.map +1 -1
- package/lib/module/components/ListItem/ListItem.js +5 -5
- package/lib/module/components/ListItem/ListItem.js.map +1 -1
- package/lib/module/components/MerchantProfile/MerchantProfile.js +1 -1
- package/lib/module/components/MerchantProfile/MerchantProfile.js.map +1 -1
- package/lib/module/components/MoneyValue/MoneyValue.js +1 -1
- package/lib/module/components/MoneyValue/MoneyValue.js.map +1 -1
- package/lib/module/components/NavArrow/NavArrow.js +1 -1
- package/lib/module/components/NavArrow/NavArrow.js.map +1 -1
- package/lib/module/components/PageTitle/PageTitle.js +1 -1
- package/lib/module/components/PageTitle/PageTitle.js.map +1 -1
- package/lib/module/components/RadioButton/RadioButton.mdx +1 -3
- package/lib/module/components/Section/Section.js +4 -4
- package/lib/module/components/Section/Section.js.map +1 -1
- package/lib/module/components/TextInput/TextInput.js +1 -1
- package/lib/module/components/TextInput/TextInput.js.map +1 -1
- package/lib/module/components/TransactionDetails/TransactionDetails.js +2 -2
- package/lib/module/components/TransactionDetails/TransactionDetails.js.map +1 -1
- package/lib/module/components/UpiHandle/UpiHandle.js +1 -1
- package/lib/module/components/UpiHandle/UpiHandle.js.map +1 -1
- package/lib/module/design-tokens/figma-variables-resolver.js +2 -2
- package/lib/module/design-tokens/figma-variables-resolver.js.map +1 -2
- package/lib/module/icons/registry.js +1 -1
- package/lib/typescript/components/ActionFooter/ActionFooter.d.ts.map +1 -1
- package/lib/typescript/components/BottomNav/BottomNav.d.ts.map +1 -1
- package/lib/typescript/components/Drawer/Drawer.d.ts.map +1 -1
- package/lib/typescript/components/IconButton/IconButton.d.ts +1 -1
- package/lib/typescript/components/IconCapsule/IconCapsule.d.ts +1 -1
- package/lib/typescript/components/LazyList/LazyList.d.ts.map +1 -1
- package/lib/typescript/components/Section/Section.d.ts.map +1 -1
- package/lib/typescript/icons/registry.d.ts +1 -1
- package/package.json +2 -2
- package/src/components/Accordion/Accordion.tsx +1 -1
- package/src/components/ActionFooter/ActionFooter.tsx +2 -2
- package/src/components/AppBar/AppBar.tsx +5 -5
- package/src/components/Avatar/Avatar.tsx +2 -2
- package/src/components/Badge/Badge.tsx +1 -1
- package/src/components/BottomNav/BottomNav.tsx +2 -2
- package/src/components/BottomNavItem/BottomNavItem.tsx +2 -2
- package/src/components/Button/Button.tsx +1 -1
- package/src/components/Carousel/Carousel.tsx +2 -2
- package/src/components/Disclaimer/Disclaimer.tsx +1 -1
- package/src/components/Divider/Divider.tsx +2 -2
- package/src/components/Drawer/Drawer.tsx +32 -12
- package/src/components/FilterBar/FilterBar.tsx +2 -2
- package/src/components/IconButton/IconButton.tsx +2 -2
- package/src/components/IconCapsule/IconCapsule.tsx +2 -2
- package/src/components/LazyList/LazyList.tsx +2 -2
- package/src/components/ListGroup/ListGroup.tsx +1 -1
- package/src/components/ListItem/ListItem.tsx +5 -5
- package/src/components/MerchantProfile/MerchantProfile.tsx +1 -1
- package/src/components/MoneyValue/MoneyValue.tsx +1 -1
- package/src/components/NavArrow/NavArrow.tsx +1 -1
- package/src/components/PageTitle/PageTitle.tsx +1 -1
- package/src/components/RadioButton/RadioButton.mdx +1 -3
- package/src/components/Section/Section.tsx +4 -4
- package/src/components/TextInput/TextInput.tsx +1 -1
- package/src/components/TransactionDetails/TransactionDetails.tsx +2 -2
- package/src/components/UpiHandle/UpiHandle.tsx +1 -1
- package/src/icons/registry.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionFooter/ActionFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,SAAS,EAEf,MAAM,cAAc,CAAA;AAIrB,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,iBAAS,YAAY,CAAC,EACpB,QAAQ,EACR,KAAU,EACV,KAAK,EACL,
|
|
1
|
+
{"version":3,"file":"ActionFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/ActionFooter/ActionFooter.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GG;AACH,iBAAS,MAAM,CAAC,EAEd,KAAU,EACV,KAAK,EACL,KAAK,EACL,MAAM,EACN,QAAQ,EACR,eAAqB,EACrB,aAAoB,EACpB,YAA0B,EAC1B,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACrB,4BAAoC,EACpC,WAAgB,GACjB,EAAE,WAAW,2CAgRb;AA8BD,eAAe,MAAM,CAAA"}
|
|
@@ -59,7 +59,7 @@ type IconButtonProps = SafePressableProps & {
|
|
|
59
59
|
* <IconButton modes={{"Appearance": "high"}} onPress={() => console.log('pressed')} />
|
|
60
60
|
*
|
|
61
61
|
* // With accessibility label
|
|
62
|
-
* <IconButton iconName="ic_search" accessibilityLabel=
|
|
62
|
+
* <IconButton iconName="ic_search" accessibilityLabel={undefined} accessibilityHint="Opens the search screen" />
|
|
63
63
|
* ```
|
|
64
64
|
*/
|
|
65
65
|
declare function IconButton({ iconName, modes, onPress, disabled, style, accessibilityLabel, accessibilityHint, accessibilityState, webAccessibilityProps, isToggle, activeIcon, inactiveIcon, isActive, ...rest }: IconButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -31,7 +31,7 @@ type IconCapsuleProps = {
|
|
|
31
31
|
* <IconCapsule modes={{"Appearance": "Secondary"}} />
|
|
32
32
|
*
|
|
33
33
|
* // With accessibility label
|
|
34
|
-
* <IconCapsule iconName="ic_card" accessibilityLabel=
|
|
34
|
+
* <IconCapsule iconName="ic_card" accessibilityLabel={undefined} />
|
|
35
35
|
* ```
|
|
36
36
|
*/
|
|
37
37
|
declare function IconCapsule({ iconName, modes: propModes, accessibilityLabel, accessibilityRole, ...rest }: IconCapsuleProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LazyList.d.ts","sourceRoot":"","sources":["../../../../src/components/LazyList/LazyList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAA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
+
* Generated: 2026-02-11T09:26:29.409Z
|
|
8
8
|
*/
|
|
9
9
|
export declare const iconRegistry: Record<string, {
|
|
10
10
|
path: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jfs-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.26",
|
|
4
4
|
"description": "React Native Jio Finance Components Library",
|
|
5
5
|
"author": "sunshuaiqi@gmail.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -134,4 +134,4 @@
|
|
|
134
134
|
"jest": {
|
|
135
135
|
"preset": "react-native"
|
|
136
136
|
}
|
|
137
|
-
}
|
|
137
|
+
}
|
|
@@ -237,7 +237,7 @@ function Accordion({
|
|
|
237
237
|
<View style={[containerStyle, style]} {...rest}>
|
|
238
238
|
<Pressable
|
|
239
239
|
accessibilityRole="button"
|
|
240
|
-
accessibilityLabel={
|
|
240
|
+
accessibilityLabel={undefined}
|
|
241
241
|
accessibilityHint={accessibilityHint || (isExpanded ? 'Collapse accordion' : 'Expand accordion')}
|
|
242
242
|
accessibilityState={{
|
|
243
243
|
expanded: isExpanded,
|
|
@@ -66,7 +66,7 @@ function ActionFooter({
|
|
|
66
66
|
children,
|
|
67
67
|
modes = {},
|
|
68
68
|
style,
|
|
69
|
-
accessibilityLabel =
|
|
69
|
+
accessibilityLabel = undefined,
|
|
70
70
|
}: ActionFooterProps) {
|
|
71
71
|
// Resolve design tokens
|
|
72
72
|
const backgroundColor = getVariableByName('actionFooter/background', modes) ?? '#ffffff'
|
|
@@ -120,7 +120,7 @@ function ActionFooter({
|
|
|
120
120
|
<View
|
|
121
121
|
style={[containerStyle, webShadow, style]}
|
|
122
122
|
accessibilityRole="toolbar"
|
|
123
|
-
accessibilityLabel={
|
|
123
|
+
accessibilityLabel={undefined}
|
|
124
124
|
>
|
|
125
125
|
<View style={slotStyle}>
|
|
126
126
|
{childrenWithModes}
|
|
@@ -2,7 +2,7 @@ import React, { useState } from 'react'
|
|
|
2
2
|
import { View, type StyleProp, type ViewStyle, Pressable } from 'react-native'
|
|
3
3
|
import { getVariableByName } from '../../design-tokens/figma-variables-resolver'
|
|
4
4
|
import { useTokens } from '../../design-tokens/JFSThemeProvider'
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
import Avatar from '../Avatar/Avatar'
|
|
7
7
|
import NavArrow from '../NavArrow/NavArrow'
|
|
8
8
|
// We might need to import Image or Svg if we had the assets locally, but for now we'll use placeholders or standard icons for defaults.
|
|
@@ -104,7 +104,7 @@ export default function AppBar({
|
|
|
104
104
|
...rest
|
|
105
105
|
}: AppBarProps) {
|
|
106
106
|
const { modes: globalModes } = useTokens()
|
|
107
|
-
const modes = { ...globalModes, ...propModes }
|
|
107
|
+
const modes = { Context2: 'AppBar', ...globalModes, ...propModes }
|
|
108
108
|
|
|
109
109
|
const isMain = type === 'MainPage'
|
|
110
110
|
const isSub = type === 'SubPage'
|
|
@@ -149,7 +149,7 @@ export default function AppBar({
|
|
|
149
149
|
// but usually a component library provides sensible defaults.)
|
|
150
150
|
|
|
151
151
|
// Actually, let's implement the specific defaults mentioned in the plan/analysis
|
|
152
|
-
// SubPage: NavArrow props (icon, etc).
|
|
152
|
+
// SubPage: NavArrow props (icon, etc).
|
|
153
153
|
|
|
154
154
|
let defaultLeading: React.ReactNode = null
|
|
155
155
|
if (leadingSlot === undefined) {
|
|
@@ -159,7 +159,7 @@ export default function AppBar({
|
|
|
159
159
|
{...(onLeadingPress ? { onPress: onLeadingPress } : {})}
|
|
160
160
|
hitSlop={8}
|
|
161
161
|
accessibilityRole="button"
|
|
162
|
-
accessibilityLabel=
|
|
162
|
+
accessibilityLabel={undefined}
|
|
163
163
|
style={({ pressed }) => ({
|
|
164
164
|
opacity: pressed ? 0.7 : 1,
|
|
165
165
|
alignItems: 'center',
|
|
@@ -206,7 +206,7 @@ export default function AppBar({
|
|
|
206
206
|
<View
|
|
207
207
|
style={[containerStyle, style]}
|
|
208
208
|
accessibilityRole="header"
|
|
209
|
-
accessibilityLabel={
|
|
209
|
+
accessibilityLabel={undefined}
|
|
210
210
|
{...(accessibilityHint ? { accessibilityHint } : {})}
|
|
211
211
|
{...rest}
|
|
212
212
|
>
|
|
@@ -124,7 +124,7 @@ function Avatar({
|
|
|
124
124
|
<Wrapper
|
|
125
125
|
style={[containerStyle, pressedStyle, focusStyle]}
|
|
126
126
|
accessibilityRole="image"
|
|
127
|
-
accessibilityLabel={
|
|
127
|
+
accessibilityLabel={undefined}
|
|
128
128
|
onPressIn={(e: any) => {
|
|
129
129
|
setIsPressed(true)
|
|
130
130
|
; (rest as any)?.onPressIn?.(e)
|
|
@@ -173,7 +173,7 @@ function Avatar({
|
|
|
173
173
|
<Wrapper
|
|
174
174
|
style={[containerStyle, pressedStyle, focusStyle]}
|
|
175
175
|
accessibilityRole="image"
|
|
176
|
-
accessibilityLabel={
|
|
176
|
+
accessibilityLabel={undefined}
|
|
177
177
|
onPressIn={(e: any) => {
|
|
178
178
|
setIsPressed(true)
|
|
179
179
|
; (rest as any)?.onPressIn?.(e)
|
|
@@ -43,7 +43,7 @@ function BottomNav({
|
|
|
43
43
|
children,
|
|
44
44
|
modes: propModes = {},
|
|
45
45
|
style,
|
|
46
|
-
accessibilityLabel =
|
|
46
|
+
accessibilityLabel = undefined,
|
|
47
47
|
accessibilityHint,
|
|
48
48
|
...rest
|
|
49
49
|
}: BottomNavProps) {
|
|
@@ -80,7 +80,7 @@ function BottomNav({
|
|
|
80
80
|
<View
|
|
81
81
|
style={[containerStyle, style]}
|
|
82
82
|
accessibilityRole="tablist"
|
|
83
|
-
accessibilityLabel={
|
|
83
|
+
accessibilityLabel={undefined}
|
|
84
84
|
{...(accessibilityHint !== undefined ? { accessibilityHint } : {})}
|
|
85
85
|
{...rest}
|
|
86
86
|
>
|
|
@@ -136,7 +136,7 @@ function BottomNavItem({
|
|
|
136
136
|
<View
|
|
137
137
|
style={[baseContainerStyle, style]}
|
|
138
138
|
accessibilityRole="tab"
|
|
139
|
-
accessibilityLabel={
|
|
139
|
+
accessibilityLabel={undefined}
|
|
140
140
|
accessibilityHint={accessibilityHint}
|
|
141
141
|
accessibilityState={{
|
|
142
142
|
disabled,
|
|
@@ -152,7 +152,7 @@ function BottomNavItem({
|
|
|
152
152
|
return (
|
|
153
153
|
<Pressable
|
|
154
154
|
accessibilityRole="tab"
|
|
155
|
-
accessibilityLabel={
|
|
155
|
+
accessibilityLabel={undefined}
|
|
156
156
|
accessibilityHint={accessibilityHint}
|
|
157
157
|
accessibilityState={{
|
|
158
158
|
disabled,
|
|
@@ -185,7 +185,7 @@ function Button({
|
|
|
185
185
|
return (
|
|
186
186
|
<Pressable
|
|
187
187
|
accessibilityRole="button"
|
|
188
|
-
accessibilityLabel={
|
|
188
|
+
accessibilityLabel={undefined}
|
|
189
189
|
{...(accessibilityHint !== undefined ? { accessibilityHint } : {})}
|
|
190
190
|
accessibilityState={{
|
|
191
191
|
disabled,
|
|
@@ -382,7 +382,7 @@ export function Pagination({ modes: propModes, style }: PaginationProps) {
|
|
|
382
382
|
<View
|
|
383
383
|
style={[containerStyle, style]}
|
|
384
384
|
accessibilityRole="tablist"
|
|
385
|
-
accessibilityLabel=
|
|
385
|
+
accessibilityLabel={undefined}
|
|
386
386
|
>
|
|
387
387
|
{Array.from({ length: totalItems }).map((_, i) => {
|
|
388
388
|
const isActive = i === activeIndex
|
|
@@ -392,7 +392,7 @@ export function Pagination({ modes: propModes, style }: PaginationProps) {
|
|
|
392
392
|
onPress={() => goTo(i)}
|
|
393
393
|
accessibilityRole="tab"
|
|
394
394
|
accessibilityState={{ selected: isActive }}
|
|
395
|
-
accessibilityLabel={
|
|
395
|
+
accessibilityLabel={undefined}
|
|
396
396
|
>
|
|
397
397
|
<AnimatedDot
|
|
398
398
|
isActive={isActive}
|
|
@@ -58,7 +58,7 @@ function Divider({
|
|
|
58
58
|
direction = 'horizontal',
|
|
59
59
|
modes = {},
|
|
60
60
|
style,
|
|
61
|
-
accessibilityLabel =
|
|
61
|
+
accessibilityLabel = undefined,
|
|
62
62
|
}: DividerProps) {
|
|
63
63
|
// Resolve design tokens
|
|
64
64
|
const size = getVariableByName('divider/size', modes) ?? 1
|
|
@@ -82,7 +82,7 @@ function Divider({
|
|
|
82
82
|
<View
|
|
83
83
|
style={[dividerStyle, style]}
|
|
84
84
|
accessibilityRole="none"
|
|
85
|
-
accessibilityLabel={
|
|
85
|
+
accessibilityLabel={undefined}
|
|
86
86
|
/>
|
|
87
87
|
)
|
|
88
88
|
}
|
|
@@ -99,7 +99,7 @@ function Drawer({
|
|
|
99
99
|
accessibilityLabel,
|
|
100
100
|
accessibilityHint,
|
|
101
101
|
contentContainerStyle,
|
|
102
|
-
showsVerticalScrollIndicator =
|
|
102
|
+
showsVerticalScrollIndicator = false,
|
|
103
103
|
bottomInset = 80,
|
|
104
104
|
}: DrawerProps) {
|
|
105
105
|
const { height: screenHeight } = useWindowDimensions()
|
|
@@ -117,11 +117,19 @@ function Drawer({
|
|
|
117
117
|
const scrollY = useSharedValue(0)
|
|
118
118
|
const scrollRef = useRef(null)
|
|
119
119
|
|
|
120
|
-
//
|
|
121
|
-
//
|
|
122
|
-
//
|
|
120
|
+
// Whether the drawer is currently snapped to the fully-expanded position.
|
|
121
|
+
// Set in onEnd — used to gate scroll so that an upward swipe from the
|
|
122
|
+
// collapsed state only moves the drawer (scroll kicks in after expansion).
|
|
123
|
+
const isFullyExpanded = useSharedValue(initialState === 'expanded')
|
|
124
|
+
|
|
125
|
+
// Dynamically control native ScrollView props on the UI thread:
|
|
126
|
+
// • bounces: disabled at the top so a downward swipe drags the drawer
|
|
127
|
+
// instead of rubber-banding the scroll view. Bottom bounce preserved.
|
|
128
|
+
// • scrollEnabled: disabled while the drawer is not fully expanded so
|
|
129
|
+
// that an upward swipe only raises the drawer (no simultaneous scroll).
|
|
123
130
|
const animatedScrollProps = useAnimatedProps(() => ({
|
|
124
131
|
bounces: scrollY.value > 1,
|
|
132
|
+
scrollEnabled: isFullyExpanded.value,
|
|
125
133
|
}))
|
|
126
134
|
|
|
127
135
|
// We need to know if we are currently dragging the drawer or scrolling the content
|
|
@@ -224,19 +232,31 @@ function Drawer({
|
|
|
224
232
|
? (translateY.value - minTranslateY) / totalRange
|
|
225
233
|
: 0
|
|
226
234
|
|
|
227
|
-
// Fast
|
|
235
|
+
// Fast fling → always follow the fling direction
|
|
228
236
|
if (event.velocityY < -500) {
|
|
229
237
|
scrollTo(minTranslateY)
|
|
238
|
+
isFullyExpanded.value = true
|
|
230
239
|
runOnJS(updateMode)('expanded')
|
|
231
|
-
} else if (
|
|
232
|
-
// Handle position past 50% of range → collapse
|
|
240
|
+
} else if (event.velocityY > 500) {
|
|
233
241
|
scrollTo(maxTranslateY)
|
|
242
|
+
isFullyExpanded.value = false
|
|
234
243
|
runOnJS(updateMode)('collapsed')
|
|
235
244
|
} else {
|
|
236
|
-
//
|
|
237
|
-
//
|
|
238
|
-
|
|
239
|
-
|
|
245
|
+
// Slow / medium gesture → use asymmetric snap thresholds.
|
|
246
|
+
// Down stroke: must cross 75% to collapse (hard to dismiss).
|
|
247
|
+
// Up stroke: must reach top 35% to expand (35% from top).
|
|
248
|
+
const isDraggingDown = event.velocityY >= 0
|
|
249
|
+
const threshold = isDraggingDown ? 0.75 : 0.35
|
|
250
|
+
|
|
251
|
+
if (currentRatio >= threshold) {
|
|
252
|
+
scrollTo(maxTranslateY)
|
|
253
|
+
isFullyExpanded.value = false
|
|
254
|
+
runOnJS(updateMode)('collapsed')
|
|
255
|
+
} else {
|
|
256
|
+
scrollTo(minTranslateY)
|
|
257
|
+
isFullyExpanded.value = true
|
|
258
|
+
runOnJS(updateMode)('expanded')
|
|
259
|
+
}
|
|
240
260
|
}
|
|
241
261
|
})
|
|
242
262
|
|
|
@@ -295,7 +315,7 @@ function Drawer({
|
|
|
295
315
|
]}
|
|
296
316
|
accessible={true}
|
|
297
317
|
accessibilityRole={'dialog' as any}
|
|
298
|
-
accessibilityLabel={
|
|
318
|
+
accessibilityLabel={undefined}
|
|
299
319
|
accessibilityHint={accessibilityHint || 'Swipe up to expand, swipe down to collapse'}
|
|
300
320
|
>
|
|
301
321
|
{/* Handle Area */}
|
|
@@ -140,7 +140,7 @@ function FilterBar({
|
|
|
140
140
|
{...(onChangeText !== undefined && { onChangeText })}
|
|
141
141
|
modes={modes}
|
|
142
142
|
style={fullWidthStyle}
|
|
143
|
-
accessibilityLabel={
|
|
143
|
+
accessibilityLabel={undefined}
|
|
144
144
|
{...(accessibilityHint !== undefined && { accessibilityHint })}
|
|
145
145
|
onFocus={() => setIsFocused(true)}
|
|
146
146
|
onBlur={() => setIsFocused(false)}
|
|
@@ -188,7 +188,7 @@ function FilterBar({
|
|
|
188
188
|
<View
|
|
189
189
|
style={[containerStyle, focusStyle, style]}
|
|
190
190
|
accessibilityRole="search"
|
|
191
|
-
accessibilityLabel={
|
|
191
|
+
accessibilityLabel={undefined}
|
|
192
192
|
accessibilityHint={accessibilityHint}
|
|
193
193
|
{...rest}
|
|
194
194
|
>
|
|
@@ -69,7 +69,7 @@ type IconButtonProps = SafePressableProps & {
|
|
|
69
69
|
* <IconButton modes={{"Appearance": "high"}} onPress={() => console.log('pressed')} />
|
|
70
70
|
*
|
|
71
71
|
* // With accessibility label
|
|
72
|
-
* <IconButton iconName="ic_search" accessibilityLabel=
|
|
72
|
+
* <IconButton iconName="ic_search" accessibilityLabel={undefined} accessibilityHint="Opens the search screen" />
|
|
73
73
|
* ```
|
|
74
74
|
*/
|
|
75
75
|
function IconButton({
|
|
@@ -157,7 +157,7 @@ function IconButton({
|
|
|
157
157
|
return (
|
|
158
158
|
<Pressable
|
|
159
159
|
accessibilityRole="button"
|
|
160
|
-
accessibilityLabel={
|
|
160
|
+
accessibilityLabel={undefined}
|
|
161
161
|
accessibilityHint={accessibilityHint}
|
|
162
162
|
accessibilityState={{
|
|
163
163
|
disabled,
|
|
@@ -36,7 +36,7 @@ type IconCapsuleProps = {
|
|
|
36
36
|
* <IconCapsule modes={{"Appearance": "Secondary"}} />
|
|
37
37
|
*
|
|
38
38
|
* // With accessibility label
|
|
39
|
-
* <IconCapsule iconName="ic_card" accessibilityLabel=
|
|
39
|
+
* <IconCapsule iconName="ic_card" accessibilityLabel={undefined} />
|
|
40
40
|
* ```
|
|
41
41
|
*/
|
|
42
42
|
function IconCapsule({
|
|
@@ -80,7 +80,7 @@ function IconCapsule({
|
|
|
80
80
|
<View
|
|
81
81
|
style={containerStyle}
|
|
82
82
|
accessibilityRole={accessibilityRole}
|
|
83
|
-
accessibilityLabel={
|
|
83
|
+
accessibilityLabel={undefined}
|
|
84
84
|
{...rest}
|
|
85
85
|
>
|
|
86
86
|
<Icon
|
|
@@ -74,7 +74,7 @@ function LazyList({
|
|
|
74
74
|
listGroupsSlot,
|
|
75
75
|
modes = {},
|
|
76
76
|
style,
|
|
77
|
-
accessibilityLabel =
|
|
77
|
+
accessibilityLabel = undefined,
|
|
78
78
|
accessibilityHint,
|
|
79
79
|
...rest
|
|
80
80
|
}: LazyListProps) {
|
|
@@ -103,7 +103,7 @@ function LazyList({
|
|
|
103
103
|
<View
|
|
104
104
|
style={[containerStyle, style]}
|
|
105
105
|
accessibilityRole="list"
|
|
106
|
-
accessibilityLabel={
|
|
106
|
+
accessibilityLabel={undefined}
|
|
107
107
|
accessibilityHint={accessibilityHint}
|
|
108
108
|
{...rest}
|
|
109
109
|
>
|
|
@@ -211,7 +211,7 @@ function ListItem({
|
|
|
211
211
|
? processedLeading.length === 1
|
|
212
212
|
? processedLeading[0]
|
|
213
213
|
: processedLeading
|
|
214
|
-
: <IconCapsule modes={modes} accessibilityLabel={
|
|
214
|
+
: <IconCapsule modes={modes} accessibilityLabel={undefined} />
|
|
215
215
|
|
|
216
216
|
const renderSupportContent = () => {
|
|
217
217
|
if (supportSlot) {
|
|
@@ -290,7 +290,7 @@ function ListItem({
|
|
|
290
290
|
return (
|
|
291
291
|
<Pressable
|
|
292
292
|
accessibilityRole="button"
|
|
293
|
-
accessibilityLabel={
|
|
293
|
+
accessibilityLabel={undefined}
|
|
294
294
|
accessibilityHint={accessibilityHint}
|
|
295
295
|
accessibilityState={{
|
|
296
296
|
...accessibilityState
|
|
@@ -312,7 +312,7 @@ function ListItem({
|
|
|
312
312
|
return (
|
|
313
313
|
<View
|
|
314
314
|
accessibilityRole={undefined}
|
|
315
|
-
accessibilityLabel={
|
|
315
|
+
accessibilityLabel={undefined}
|
|
316
316
|
accessibilityHint={accessibilityHint}
|
|
317
317
|
style={[baseContainerStyle, sharedLayoutStyle, style]}
|
|
318
318
|
{...rest}
|
|
@@ -334,7 +334,7 @@ function ListItem({
|
|
|
334
334
|
return (
|
|
335
335
|
<Pressable
|
|
336
336
|
accessibilityRole="button"
|
|
337
|
-
accessibilityLabel={
|
|
337
|
+
accessibilityLabel={undefined}
|
|
338
338
|
accessibilityHint={accessibilityHint}
|
|
339
339
|
accessibilityState={{
|
|
340
340
|
...accessibilityState
|
|
@@ -356,7 +356,7 @@ function ListItem({
|
|
|
356
356
|
return (
|
|
357
357
|
<View
|
|
358
358
|
accessibilityRole={undefined}
|
|
359
|
-
accessibilityLabel={
|
|
359
|
+
accessibilityLabel={undefined}
|
|
360
360
|
accessibilityHint={accessibilityHint}
|
|
361
361
|
style={[baseContainerStyle, sharedLayoutStyle, style]}
|
|
362
362
|
{...rest}
|
|
@@ -15,7 +15,6 @@ This component uses the following design token collections. Each collection supp
|
|
|
15
15
|
### Colors Router
|
|
16
16
|
- **Modes:** POC | Old
|
|
17
17
|
- **Default:** POC
|
|
18
|
-
|
|
19
18
|
## Usage
|
|
20
19
|
|
|
21
20
|
# RadioButton
|
|
@@ -88,5 +87,4 @@ This component uses the following design tokens, resolved through `getVariableBy
|
|
|
88
87
|
- **`radio/selector/size`**
|
|
89
88
|
- **`radio/width`**
|
|
90
89
|
|
|
91
|
-
All tokens support mode-based theming through the `modes` prop.
|
|
92
|
-
|
|
90
|
+
All tokens support mode-based theming through the `modes` prop.
|
|
@@ -189,14 +189,14 @@ function Section({
|
|
|
189
189
|
<View
|
|
190
190
|
style={[containerStyle, style]}
|
|
191
191
|
accessibilityRole={'region' as any}
|
|
192
|
-
accessibilityLabel={
|
|
192
|
+
accessibilityLabel={undefined}
|
|
193
193
|
accessibilityHint={accessibilityHint}
|
|
194
194
|
{...rest}
|
|
195
195
|
>
|
|
196
196
|
{onPress ? (
|
|
197
197
|
<Pressable
|
|
198
198
|
accessibilityRole="button"
|
|
199
|
-
accessibilityLabel={
|
|
199
|
+
accessibilityLabel={undefined}
|
|
200
200
|
accessibilityHint={accessibilityHint || "Opens section details"}
|
|
201
201
|
onPress={onPress}
|
|
202
202
|
onPressIn={(e: any) => {
|
|
@@ -287,7 +287,7 @@ function SectionBento({
|
|
|
287
287
|
upiSlot,
|
|
288
288
|
modes = {},
|
|
289
289
|
style,
|
|
290
|
-
accessibilityLabel =
|
|
290
|
+
accessibilityLabel = undefined,
|
|
291
291
|
accessibilityHint,
|
|
292
292
|
...rest
|
|
293
293
|
}: SectionBentoProps) {
|
|
@@ -321,7 +321,7 @@ function SectionBento({
|
|
|
321
321
|
<View
|
|
322
322
|
style={[containerStyle, style]}
|
|
323
323
|
accessibilityRole={'region' as any}
|
|
324
|
-
accessibilityLabel={
|
|
324
|
+
accessibilityLabel={undefined}
|
|
325
325
|
accessibilityHint={accessibilityHint}
|
|
326
326
|
{...rest}
|
|
327
327
|
>
|
|
@@ -99,7 +99,7 @@ function Item({
|
|
|
99
99
|
<View
|
|
100
100
|
style={[containerStyle, style]}
|
|
101
101
|
accessibilityRole="text"
|
|
102
|
-
accessibilityLabel={
|
|
102
|
+
accessibilityLabel={undefined}
|
|
103
103
|
{...rest}
|
|
104
104
|
>
|
|
105
105
|
<Text
|
|
@@ -185,7 +185,7 @@ function TransactionDetails({
|
|
|
185
185
|
<View
|
|
186
186
|
style={[containerStyle, style]}
|
|
187
187
|
accessibilityRole="summary"
|
|
188
|
-
accessibilityLabel={
|
|
188
|
+
accessibilityLabel={undefined}
|
|
189
189
|
{...rest}
|
|
190
190
|
>
|
|
191
191
|
{processedChildren}
|
|
@@ -140,7 +140,7 @@ function UpiHandle({
|
|
|
140
140
|
<Wrapper
|
|
141
141
|
style={[containerStyle, pressedStyle, focusStyle]}
|
|
142
142
|
accessibilityRole="text"
|
|
143
|
-
accessibilityLabel={
|
|
143
|
+
accessibilityLabel={undefined}
|
|
144
144
|
{...(accessibilityHint !== undefined ? { accessibilityHint } : {})}
|
|
145
145
|
onPress={onPress}
|
|
146
146
|
disabled={(rest as any)?.disabled ?? disabled}
|
package/src/icons/registry.ts
CHANGED