jfs-components 0.0.1 → 0.0.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/lib/commonjs/components/ActionFooter/ActionFooter.js +124 -0
- package/lib/commonjs/components/ActionFooter/ActionFooter.js.map +1 -0
- package/lib/commonjs/components/ActionFooter/ActionFooter.mdx +101 -0
- package/lib/commonjs/components/Button/Button.js +1 -1
- package/lib/commonjs/components/Button/Button.js.map +1 -1
- package/lib/commonjs/components/Button/Button.mdx +2 -2
- package/lib/commonjs/components/CardFeedback/CardFeedback.js +47 -11
- package/lib/commonjs/components/CardFeedback/CardFeedback.js.map +1 -1
- package/lib/commonjs/components/CardFeedback/CardFeedback.mdx +1 -0
- package/lib/commonjs/components/Divider/Divider.js +63 -0
- package/lib/commonjs/components/Divider/Divider.js.map +1 -0
- package/lib/commonjs/components/Divider/Divider.mdx +91 -0
- package/lib/commonjs/components/ListItem/ListItem.js +24 -13
- package/lib/commonjs/components/ListItem/ListItem.js.map +1 -1
- package/lib/commonjs/components/ListItem/ListItem.mdx +46 -5
- package/lib/commonjs/components/MerchantProfile/MerchantProfile.js +133 -0
- package/lib/commonjs/components/MerchantProfile/MerchantProfile.js.map +1 -0
- package/lib/commonjs/components/MerchantProfile/MerchantProfile.mdx +139 -0
- package/lib/commonjs/components/MoneyValue/MoneyValue.js +36 -4
- package/lib/commonjs/components/MoneyValue/MoneyValue.js.map +1 -1
- package/lib/commonjs/components/MoneyValue/MoneyValue.mdx +4 -0
- package/lib/commonjs/components/NavArrow/NavArrow.js +90 -0
- package/lib/commonjs/components/NavArrow/NavArrow.js.map +1 -0
- package/lib/commonjs/components/NavArrow/NavArrow.mdx +123 -0
- package/lib/commonjs/components/Section/Section.mdx +4 -4
- package/lib/commonjs/components/Stepper/Step.mdx +1 -1
- package/lib/commonjs/components/index.js +28 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/design-tokens/JFS Variables-variables-full.json +18633 -1
- package/lib/commonjs/design-tokens/figma-variables-resolver.js.map +1 -2
- package/lib/commonjs/icons/registry.js +1 -1
- package/lib/module/components/ActionFooter/ActionFooter.js +119 -0
- package/lib/module/components/ActionFooter/ActionFooter.js.map +1 -0
- package/lib/module/components/ActionFooter/ActionFooter.mdx +101 -0
- package/lib/module/components/Button/Button.js +1 -1
- package/lib/module/components/Button/Button.js.map +1 -1
- package/lib/module/components/Button/Button.mdx +2 -2
- package/lib/module/components/CardFeedback/CardFeedback.js +46 -11
- package/lib/module/components/CardFeedback/CardFeedback.js.map +1 -1
- package/lib/module/components/CardFeedback/CardFeedback.mdx +1 -0
- package/lib/module/components/Divider/Divider.js +58 -0
- package/lib/module/components/Divider/Divider.js.map +1 -0
- package/lib/module/components/Divider/Divider.mdx +91 -0
- package/lib/module/components/ListItem/ListItem.js +24 -13
- package/lib/module/components/ListItem/ListItem.js.map +1 -1
- package/lib/module/components/ListItem/ListItem.mdx +46 -5
- package/lib/module/components/MerchantProfile/MerchantProfile.js +128 -0
- package/lib/module/components/MerchantProfile/MerchantProfile.js.map +1 -0
- package/lib/module/components/MerchantProfile/MerchantProfile.mdx +139 -0
- package/lib/module/components/MoneyValue/MoneyValue.js +36 -4
- package/lib/module/components/MoneyValue/MoneyValue.js.map +1 -1
- package/lib/module/components/MoneyValue/MoneyValue.mdx +4 -0
- package/lib/module/components/NavArrow/NavArrow.js +84 -0
- package/lib/module/components/NavArrow/NavArrow.js.map +1 -0
- package/lib/module/components/NavArrow/NavArrow.mdx +123 -0
- package/lib/module/components/Section/Section.mdx +4 -4
- package/lib/module/components/Stepper/Step.mdx +1 -1
- package/lib/module/components/index.js +4 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/design-tokens/JFS Variables-variables-full.json +18633 -1
- package/lib/module/icons/registry.js +1 -1
- package/lib/typescript/components/ActionFooter/ActionFooter.d.ts +58 -0
- package/lib/typescript/components/ActionFooter/ActionFooter.d.ts.map +1 -0
- package/lib/typescript/components/CardFeedback/CardFeedback.d.ts +4 -3
- package/lib/typescript/components/CardFeedback/CardFeedback.d.ts.map +1 -1
- package/lib/typescript/components/Divider/Divider.d.ts +50 -0
- package/lib/typescript/components/Divider/Divider.d.ts.map +1 -0
- package/lib/typescript/components/ListItem/ListItem.d.ts +4 -3
- package/lib/typescript/components/ListItem/ListItem.d.ts.map +1 -1
- package/lib/typescript/components/MerchantProfile/MerchantProfile.d.ts +68 -0
- package/lib/typescript/components/MerchantProfile/MerchantProfile.d.ts.map +1 -0
- package/lib/typescript/components/MoneyValue/MoneyValue.d.ts +9 -2
- package/lib/typescript/components/MoneyValue/MoneyValue.d.ts.map +1 -1
- package/lib/typescript/components/NavArrow/NavArrow.d.ts +35 -0
- package/lib/typescript/components/NavArrow/NavArrow.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +4 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/icons/registry.d.ts +1 -1
- package/package.json +2 -2
- package/src/components/.token-metadata.json +99 -11
- package/src/components/ActionFooter/ActionFooter.mdx +101 -0
- package/src/components/ActionFooter/ActionFooter.tsx +142 -0
- package/src/components/Button/Button.mdx +2 -2
- package/src/components/Button/Button.tsx +1 -1
- package/src/components/CardFeedback/CardFeedback.mdx +1 -0
- package/src/components/CardFeedback/CardFeedback.tsx +37 -12
- package/src/components/Divider/Divider.mdx +91 -0
- package/src/components/Divider/Divider.tsx +91 -0
- package/src/components/ListItem/ListItem.mdx +46 -5
- package/src/components/ListItem/ListItem.tsx +22 -11
- package/src/components/MerchantProfile/MerchantProfile.mdx +139 -0
- package/src/components/MerchantProfile/MerchantProfile.tsx +174 -0
- package/src/components/MoneyValue/MoneyValue.mdx +4 -0
- package/src/components/MoneyValue/MoneyValue.tsx +39 -3
- package/src/components/NavArrow/NavArrow.mdx +123 -0
- package/src/components/NavArrow/NavArrow.tsx +108 -0
- package/src/components/Section/Section.mdx +4 -4
- package/src/components/Stepper/Step.mdx +1 -1
- package/src/components/index.ts +4 -0
- package/src/design-tokens/JFS Variables-variables-full.json +18633 -1
- package/src/icons/registry.ts +1 -1
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { View } from 'react-native';
|
|
5
|
+
import Svg, { Path } from 'react-native-svg';
|
|
6
|
+
import { getVariableByName } from '../../design-tokens/figma-variables-resolver';
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
/**
|
|
9
|
+
* NavArrow component that displays a small chevron arrow for navigation.
|
|
10
|
+
*
|
|
11
|
+
* This component uses design tokens for all visual properties:
|
|
12
|
+
* - navArrow/icon/color - chevron stroke color
|
|
13
|
+
* - navArrow/icon/width - icon width
|
|
14
|
+
* - navArrow/icon/height - icon height
|
|
15
|
+
* - navArrow/icon/strokeWeight - stroke width
|
|
16
|
+
* - navArrow/width - container width
|
|
17
|
+
* - navArrow/height - container height
|
|
18
|
+
* - navArrow/radius - border radius
|
|
19
|
+
* - navArrow/background - background color
|
|
20
|
+
*
|
|
21
|
+
* @component
|
|
22
|
+
* @param {Object} props
|
|
23
|
+
* @param {'Back'|'Forward'} [props.direction='Back'] - Arrow direction
|
|
24
|
+
* @param {Object} [props.modes={}] - Modes for design token resolution
|
|
25
|
+
* @param {Object} [props.style] - Additional container styles
|
|
26
|
+
*/
|
|
27
|
+
function NavArrow({
|
|
28
|
+
direction = 'Back',
|
|
29
|
+
modes = {},
|
|
30
|
+
style,
|
|
31
|
+
accessibilityLabel,
|
|
32
|
+
...rest
|
|
33
|
+
}) {
|
|
34
|
+
// Resolve design tokens
|
|
35
|
+
const iconColor = getVariableByName('navArrow/icon/color', modes) || '#24262b';
|
|
36
|
+
const iconWidth = Number(getVariableByName('navArrow/icon/width', modes)) || 4;
|
|
37
|
+
const iconHeight = Number(getVariableByName('navArrow/icon/height', modes)) || 8;
|
|
38
|
+
const strokeWeight = Number(getVariableByName('navArrow/icon/strokeWeight', modes)) || 2;
|
|
39
|
+
const containerWidth = Number(getVariableByName('navArrow/width', modes)) || 6;
|
|
40
|
+
const containerHeight = Number(getVariableByName('navArrow/height', modes)) || 10;
|
|
41
|
+
const borderRadius = Number(getVariableByName('navArrow/radius', modes)) || 0;
|
|
42
|
+
const backgroundColor = getVariableByName('navArrow/background', modes) || 'transparent';
|
|
43
|
+
const containerStyle = {
|
|
44
|
+
width: containerWidth,
|
|
45
|
+
height: containerHeight,
|
|
46
|
+
borderRadius,
|
|
47
|
+
backgroundColor,
|
|
48
|
+
alignItems: 'center',
|
|
49
|
+
justifyContent: 'center',
|
|
50
|
+
...(style || {})
|
|
51
|
+
};
|
|
52
|
+
const defaultAccessibilityLabel = accessibilityLabel || (direction === 'Back' ? 'Go back' : 'Go forward');
|
|
53
|
+
|
|
54
|
+
// SVG path for chevron - draws a simple ">" shape
|
|
55
|
+
// For Back direction, we flip horizontally with scaleX(-1)
|
|
56
|
+
// The path creates a chevron pointing right by default
|
|
57
|
+
const chevronPath = `M1 1L${iconWidth - 1} ${iconHeight / 2}L1 ${iconHeight - 1}`;
|
|
58
|
+
return /*#__PURE__*/_jsx(View, {
|
|
59
|
+
style: containerStyle,
|
|
60
|
+
accessibilityRole: "image",
|
|
61
|
+
accessibilityLabel: defaultAccessibilityLabel,
|
|
62
|
+
...rest,
|
|
63
|
+
children: /*#__PURE__*/_jsx(Svg, {
|
|
64
|
+
width: iconWidth,
|
|
65
|
+
height: iconHeight,
|
|
66
|
+
viewBox: `0 0 ${iconWidth} ${iconHeight}`,
|
|
67
|
+
style: direction === 'Back' ? {
|
|
68
|
+
transform: [{
|
|
69
|
+
scaleX: -1
|
|
70
|
+
}]
|
|
71
|
+
} : undefined,
|
|
72
|
+
children: /*#__PURE__*/_jsx(Path, {
|
|
73
|
+
d: chevronPath,
|
|
74
|
+
stroke: iconColor,
|
|
75
|
+
strokeWidth: strokeWeight,
|
|
76
|
+
strokeLinecap: "round",
|
|
77
|
+
strokeLinejoin: "round",
|
|
78
|
+
fill: "none"
|
|
79
|
+
})
|
|
80
|
+
})
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
export default NavArrow;
|
|
84
|
+
//# sourceMappingURL=NavArrow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Svg","Path","getVariableByName","jsx","_jsx","NavArrow","direction","modes","style","accessibilityLabel","rest","iconColor","iconWidth","Number","iconHeight","strokeWeight","containerWidth","containerHeight","borderRadius","backgroundColor","containerStyle","width","height","alignItems","justifyContent","defaultAccessibilityLabel","chevronPath","accessibilityRole","children","viewBox","transform","scaleX","undefined","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin","fill"],"sourceRoot":"../../../../src","sources":["components/NavArrow/NavArrow.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAwB,cAAc;AACnD,OAAOC,GAAG,IAAIC,IAAI,QAAQ,kBAAkB;AAC5C,SAASC,iBAAiB,QAAQ,8CAA8C;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAehF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,QAAQA,CAAC;EAChBC,SAAS,GAAG,MAAM;EAClBC,KAAK,GAAG,CAAC,CAAC;EACVC,KAAK;EACLC,kBAAkB;EAClB,GAAGC;AACU,CAAC,EAAE;EAChB;EACA,MAAMC,SAAS,GACZT,iBAAiB,CAAC,qBAAqB,EAAEK,KAAK,CAAC,IAAe,SAAS;EAC1E,MAAMK,SAAS,GACbC,MAAM,CAACX,iBAAiB,CAAC,qBAAqB,EAAEK,KAAK,CAAC,CAAC,IAAI,CAAC;EAC9D,MAAMO,UAAU,GACdD,MAAM,CAACX,iBAAiB,CAAC,sBAAsB,EAAEK,KAAK,CAAC,CAAC,IAAI,CAAC;EAC/D,MAAMQ,YAAY,GAChBF,MAAM,CAACX,iBAAiB,CAAC,4BAA4B,EAAEK,KAAK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AE,CAAC,GAAGC,SAAU;MAAAJ,QAAA,eAE1ExB,IAAA,CAACH,IAAI;QACHgC,CAAC,EAAEP,WAAY;QACfQ,MAAM,EAAEvB,SAAU;QAClBwB,WAAW,EAAEpB,YAAa;QAC1BqB,aAAa,EAAC,OAAO;QACrBC,cAAc,EAAC,OAAO;QACtBC,IAAI,EAAC;MAAM,CACZ;IAAC,CACC;EAAC,CACF,CAAC;AAEX;AAEA,eAAejC,QAAQ","ignoreList":[]}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { Meta, Story, Canvas, PureArgsTable as ArgsTable } from '@storybook/addon-docs/blocks';
|
|
2
|
+
import * as NavArrowStories from './NavArrow.stories';
|
|
3
|
+
import NavArrow from './NavArrow';
|
|
4
|
+
|
|
5
|
+
<Meta of={NavArrowStories} />
|
|
6
|
+
|
|
7
|
+
# NavArrow
|
|
8
|
+
|
|
9
|
+
A small navigation arrow component that displays a chevron for Back or Forward navigation. Commonly used in navigation headers, list items, or anywhere directional navigation cues are needed.
|
|
10
|
+
|
|
11
|
+
## Available Collections and Modes
|
|
12
|
+
|
|
13
|
+
This component uses the following design token collections. Each collection supports multiple modes that can be configured via the `modes` prop.
|
|
14
|
+
|
|
15
|
+
### Color Mode
|
|
16
|
+
- **Modes:** Light | Dark
|
|
17
|
+
- **Default:** Light
|
|
18
|
+
|
|
19
|
+
### Context2
|
|
20
|
+
- **Modes:** Default | AppBar
|
|
21
|
+
- **Default:** Default
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
### Basic Usage
|
|
25
|
+
|
|
26
|
+
<Canvas>
|
|
27
|
+
<Story of={NavArrowStories.Default} />
|
|
28
|
+
</Canvas>
|
|
29
|
+
|
|
30
|
+
### Direction Variants
|
|
31
|
+
|
|
32
|
+
The NavArrow supports two directions:
|
|
33
|
+
|
|
34
|
+
- **Back** — Left-pointing chevron (‹) for backward navigation
|
|
35
|
+
- **Forward** — Right-pointing chevron (›) for forward navigation
|
|
36
|
+
|
|
37
|
+
<Canvas>
|
|
38
|
+
<Story of={NavArrowStories.AllDirections} />
|
|
39
|
+
</Canvas>
|
|
40
|
+
|
|
41
|
+
### Usage Examples
|
|
42
|
+
|
|
43
|
+
```jsx
|
|
44
|
+
import { NavArrow } from 'jfs-components';
|
|
45
|
+
|
|
46
|
+
// Basic back arrow
|
|
47
|
+
<NavArrow direction="Back" />
|
|
48
|
+
|
|
49
|
+
// Forward arrow
|
|
50
|
+
<NavArrow direction="Forward" />
|
|
51
|
+
|
|
52
|
+
// With custom modes (for theming)
|
|
53
|
+
<NavArrow direction="Back" modes={{ 'Color Mode': 'Dark' }} />
|
|
54
|
+
|
|
55
|
+
// With accessibility label
|
|
56
|
+
<NavArrow
|
|
57
|
+
direction="Back"
|
|
58
|
+
accessibilityLabel="Navigate to previous screen"
|
|
59
|
+
/>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Usage in a Header
|
|
63
|
+
|
|
64
|
+
```jsx
|
|
65
|
+
import { View, Text, Pressable } from 'react-native';
|
|
66
|
+
import { NavArrow } from 'jfs-components';
|
|
67
|
+
|
|
68
|
+
function Header({ title, onBack }) {
|
|
69
|
+
return (
|
|
70
|
+
<View style={{ flexDirection: 'row', alignItems: 'center', padding: 16 }}>
|
|
71
|
+
<Pressable onPress={onBack} style={{ padding: 8 }}>
|
|
72
|
+
<NavArrow direction="Back" />
|
|
73
|
+
</Pressable>
|
|
74
|
+
<Text style={{ marginLeft: 8, fontSize: 18, fontWeight: '600' }}>
|
|
75
|
+
{title}
|
|
76
|
+
</Text>
|
|
77
|
+
</View>
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Usage in a List Item
|
|
83
|
+
|
|
84
|
+
```jsx
|
|
85
|
+
import { View, Text, Pressable } from 'react-native';
|
|
86
|
+
import { NavArrow } from 'jfs-components';
|
|
87
|
+
|
|
88
|
+
function NavigableListItem({ label, onPress }) {
|
|
89
|
+
return (
|
|
90
|
+
<Pressable
|
|
91
|
+
onPress={onPress}
|
|
92
|
+
style={{
|
|
93
|
+
flexDirection: 'row',
|
|
94
|
+
alignItems: 'center',
|
|
95
|
+
justifyContent: 'space-between',
|
|
96
|
+
padding: 16
|
|
97
|
+
}}
|
|
98
|
+
>
|
|
99
|
+
<Text>{label}</Text>
|
|
100
|
+
<NavArrow direction="Forward" />
|
|
101
|
+
</Pressable>
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## Props
|
|
107
|
+
|
|
108
|
+
<ArgsTable of={NavArrow} />
|
|
109
|
+
|
|
110
|
+
## Design Tokens
|
|
111
|
+
|
|
112
|
+
This component uses the following design tokens, resolved through `getVariableByName`:
|
|
113
|
+
|
|
114
|
+
- **`navArrow/background`**
|
|
115
|
+
- **`navArrow/height`**
|
|
116
|
+
- **`navArrow/icon/color`**
|
|
117
|
+
- **`navArrow/icon/height`**
|
|
118
|
+
- **`navArrow/icon/strokeWeight`**
|
|
119
|
+
- **`navArrow/icon/width`**
|
|
120
|
+
- **`navArrow/radius`**
|
|
121
|
+
- **`navArrow/width`**
|
|
122
|
+
|
|
123
|
+
All tokens support mode-based theming through the `modes` prop.
|
|
@@ -13,6 +13,10 @@ Section component that mirrors the Figma "Section" component.
|
|
|
13
13
|
|
|
14
14
|
This component uses the following design token collections. Each collection supports multiple modes that can be configured via the `modes` prop.
|
|
15
15
|
|
|
16
|
+
### Color Mode
|
|
17
|
+
- **Modes:** Light | Dark
|
|
18
|
+
- **Default:** Light
|
|
19
|
+
|
|
16
20
|
### Padding
|
|
17
21
|
- **Modes:** Default | None
|
|
18
22
|
- **Default:** Default
|
|
@@ -20,10 +24,6 @@ This component uses the following design token collections. Each collection supp
|
|
|
20
24
|
### Appearance.Brand
|
|
21
25
|
- **Modes:** Primary | Secondary | Neutral
|
|
22
26
|
- **Default:** Primary
|
|
23
|
-
|
|
24
|
-
### Color Mode
|
|
25
|
-
- **Modes:** Light | Dark
|
|
26
|
-
- **Default:** Light
|
|
27
27
|
## Usage
|
|
28
28
|
|
|
29
29
|
<Canvas>
|
|
@@ -12,7 +12,7 @@ A component representing a single step within a Stepper process. It displays an
|
|
|
12
12
|
|
|
13
13
|
This component uses the following design token collections. Each collection supports multiple modes that can be configured via the `modes` prop.
|
|
14
14
|
|
|
15
|
-
### Status
|
|
15
|
+
### Step Status
|
|
16
16
|
- **Modes:** active | inactive | complete | error | warning
|
|
17
17
|
- **Default:** active
|
|
18
18
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
export { default as ActionFooter } from './ActionFooter/ActionFooter';
|
|
3
4
|
export { default as AppBar } from './AppBar/AppBar';
|
|
4
5
|
export { default as Avatar } from './Avatar/Avatar';
|
|
5
6
|
export { default as AvatarGroup } from './AvatarGroup/AvatarGroup';
|
|
@@ -10,6 +11,7 @@ export { default as Button } from './Button/Button';
|
|
|
10
11
|
export { default as Card } from './Card/Card';
|
|
11
12
|
export { default as CardFeedback } from './CardFeedback/CardFeedback';
|
|
12
13
|
export { default as Disclaimer } from './Disclaimer/Disclaimer';
|
|
14
|
+
export { default as Divider } from './Divider/Divider';
|
|
13
15
|
export { default as Drawer } from './Drawer/Drawer';
|
|
14
16
|
export { default as FilterBar } from './FilterBar/FilterBar';
|
|
15
17
|
export { default as IconButton } from './IconButton/IconButton';
|
|
@@ -18,7 +20,9 @@ export { default as LazyList } from './LazyList/LazyList';
|
|
|
18
20
|
export { default as ListGroup } from './ListGroup/ListGroup';
|
|
19
21
|
export { default as ListItem } from './ListItem/ListItem';
|
|
20
22
|
export { default as MediaCard } from './MediaCard/MediaCard';
|
|
23
|
+
export { default as MerchantProfile } from './MerchantProfile/MerchantProfile';
|
|
21
24
|
export { default as MoneyValue } from './MoneyValue/MoneyValue';
|
|
25
|
+
export { default as NavArrow } from './NavArrow/NavArrow';
|
|
22
26
|
export { default as PageTitle } from './PageTitle/PageTitle';
|
|
23
27
|
export { default as Section } from './Section/Section';
|
|
24
28
|
export { default as Stepper } from './Stepper/Stepper';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["default","AppBar","Avatar","AvatarGroup","Badge","BottomNav","BottomNavItem","Button","Card","CardFeedback","Disclaimer","Drawer","FilterBar","IconButton","IconCapsule","LazyList","ListGroup","ListItem","MediaCard","MoneyValue","PageTitle","Section","Stepper","Step","StepLabel","TextInput","Tooltip","UpiHandle"],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":";;AAAA,SAASA,OAAO,IAAIC,MAAM,QAAQ,iBAAiB;AACnD,
|
|
1
|
+
{"version":3,"names":["default","ActionFooter","AppBar","Avatar","AvatarGroup","Badge","BottomNav","BottomNavItem","Button","Card","CardFeedback","Disclaimer","Divider","Drawer","FilterBar","IconButton","IconCapsule","LazyList","ListGroup","ListItem","MediaCard","MerchantProfile","MoneyValue","NavArrow","PageTitle","Section","Stepper","Step","StepLabel","TextInput","Tooltip","UpiHandle"],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":";;AAAA,SAASA,OAAO,IAAIC,YAAY,QAAgC,6BAA6B;AAC7F,SAASD,OAAO,IAAIE,MAAM,QAAQ,iBAAiB;AACnD,SAASF,OAAO,IAAIG,MAAM,QAA0B,iBAAiB;AACrE,SAASH,OAAO,IAAII,WAAW,QAAQ,2BAA2B;AAClE,SAASJ,OAAO,IAAIK,KAAK,QAAQ,eAAe;AAChD,SAASL,OAAO,IAAIM,SAAS,QAAQ,uBAAuB;AAC5D,SAASN,OAAO,IAAIO,aAAa,QAAQ,+BAA+B;AACxE,SAASP,OAAO,IAAIQ,MAAM,QAA0B,iBAAiB;AACrE,SAASR,OAAO,IAAIS,IAAI,QAAQ,aAAa;AAC7C,SAAST,OAAO,IAAIU,YAAY,QAAQ,6BAA6B;AACrE,SAASV,OAAO,IAAIW,UAAU,QAAQ,yBAAyB;AAC/D,SAASX,OAAO,IAAIY,OAAO,QAAkD,mBAAmB;AAChG,SAASZ,OA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