vpt-sebraeds 0.0.71 → 0.0.73
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/components/Accordion/index.jsx +3 -1
- package/components/CNAESelectItem/CNAESelectItem.stories.jsx +195 -0
- package/components/CNAESelectItem/index.jsx +259 -0
- package/components/CNAESelectItem/padrao.js +1145 -0
- package/components/ListItem/index.jsx +7 -4
- package/components/NotificationDialog/NotificationDialog.stories.jsx +170 -0
- package/components/NotificationDialog/README.md +79 -0
- package/components/NotificationDialog/index.jsx +196 -0
- package/dist/components/Accordion/index.d.ts +3 -1
- package/dist/components/Accordion/index.d.ts.map +1 -1
- package/dist/components/Accordion/index.js +3 -2
- package/dist/components/CNAESelectItem/index.d.ts +27 -0
- package/dist/components/CNAESelectItem/index.d.ts.map +1 -0
- package/dist/components/CNAESelectItem/index.js +210 -0
- package/dist/components/CNAESelectItem/padrao.d.ts +7 -0
- package/dist/components/CNAESelectItem/padrao.d.ts.map +1 -0
- package/dist/components/CNAESelectItem/padrao.js +893 -0
- package/dist/components/Header/components/Context.d.ts +8 -0
- package/dist/components/Header/components/Context.d.ts.map +1 -0
- package/dist/components/Header/components/Context.js +21 -0
- package/dist/components/Header/components/Information.d.ts +7 -0
- package/dist/components/Header/components/Information.d.ts.map +1 -0
- package/dist/components/Header/components/Information.js +72 -0
- package/dist/components/Header/components/Shortcut.d.ts +6 -0
- package/dist/components/Header/components/Shortcut.d.ts.map +1 -0
- package/dist/components/Header/components/Shortcut.js +25 -0
- package/dist/components/Header/components/SwitchAccount.d.ts +9 -0
- package/dist/components/Header/components/SwitchAccount.d.ts.map +1 -0
- package/dist/components/Header/components/SwitchAccount.js +170 -0
- package/dist/components/Header/components/Variants.d.ts +23 -0
- package/dist/components/Header/components/Variants.d.ts.map +1 -0
- package/dist/components/Header/components/Variants.js +371 -0
- package/dist/components/Header/components/index.d.ts +34 -0
- package/dist/components/Header/components/index.d.ts.map +1 -0
- package/dist/components/Header/components/index.js +10 -0
- package/dist/components/ListItem/index.d.ts +2 -1
- package/dist/components/ListItem/index.d.ts.map +1 -1
- package/dist/components/ListItem/index.js +5 -4
- package/dist/components/NotificationDialog/index.d.ts +21 -0
- package/dist/components/NotificationDialog/index.d.ts.map +1 -0
- package/dist/components/NotificationDialog/index.js +155 -0
- package/dist/components/Search/Search.d.ts +15 -0
- package/dist/components/Search/Search.d.ts.map +1 -0
- package/dist/components/Search/Search.js +272 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -0
- package/package.json +1 -1
- package/src/index.ts +3 -0
|
@@ -79,6 +79,7 @@ const AccordionHeader = ({
|
|
|
79
79
|
icon,
|
|
80
80
|
backgroundColor = '#F7F9FF',
|
|
81
81
|
style,
|
|
82
|
+
titleStyle: customTitleStyle,
|
|
82
83
|
...props
|
|
83
84
|
}) => {
|
|
84
85
|
const { isOpen, toggle, animation } = useAccordion();
|
|
@@ -178,7 +179,7 @@ const AccordionHeader = ({
|
|
|
178
179
|
{label}
|
|
179
180
|
</SEText>
|
|
180
181
|
) : (
|
|
181
|
-
<SEText style={[styles.title, { color: getTextColor() }]} type="ns-heading-5">
|
|
182
|
+
<SEText style={[styles.title, { color: getTextColor() }, customTitleStyle]} type="ns-heading-5">
|
|
182
183
|
{title || children}
|
|
183
184
|
</SEText>
|
|
184
185
|
)}
|
|
@@ -327,6 +328,7 @@ AccordionHeader.propTypes = {
|
|
|
327
328
|
icon: PropTypes.string,
|
|
328
329
|
backgroundColor: PropTypes.string,
|
|
329
330
|
style: PropTypes.object,
|
|
331
|
+
titleStyle: PropTypes.object,
|
|
330
332
|
};
|
|
331
333
|
|
|
332
334
|
export default Accordion;
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
import { ScrollView, StyleSheet, Text, View } from 'react-native';
|
|
3
|
+
import CNAESelectItem from '.';
|
|
4
|
+
|
|
5
|
+
const SAMPLE_SEGMENTO = [
|
|
6
|
+
'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
|
|
7
|
+
'Quisque rhoncus arcu id orci venenatis, elementum varius elit viverra.',
|
|
8
|
+
'Ut condimentum sit amet risus sed interdum.',
|
|
9
|
+
'Cras fringilla enim metus, a convallis enim fringilla eu.',
|
|
10
|
+
'Curabitur pellentesque cursus turpis, a pulvinar odio eleifend vel.',
|
|
11
|
+
'Maecenas ornare faucibus rutrum. Vestibulum mi mi.',
|
|
12
|
+
].join(';');
|
|
13
|
+
|
|
14
|
+
const SAMPLE_NAO_INCLUSAS = [
|
|
15
|
+
'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
|
|
16
|
+
'Quisque rhoncus arcu id orci venenatis, elementum varius elit viverra.',
|
|
17
|
+
'Ut condimentum sit amet risus sed interdum.',
|
|
18
|
+
'Cras fringilla enim metus, a convallis enim fringilla eu.',
|
|
19
|
+
'Curabitur pellentesque cursus turpis, a pulvinar odio eleifend vel.',
|
|
20
|
+
'Maecenas ornare faucibus rutrum. Vestibulum mi mi.',
|
|
21
|
+
].join(';');
|
|
22
|
+
|
|
23
|
+
const meta = {
|
|
24
|
+
title: 'Atom/CNAESelectItem',
|
|
25
|
+
component: CNAESelectItem,
|
|
26
|
+
tags: ['autodocs'],
|
|
27
|
+
parameters: {
|
|
28
|
+
layout: 'fullscreen',
|
|
29
|
+
backgrounds: {
|
|
30
|
+
default: 'light',
|
|
31
|
+
values: [{ name: 'light', value: '#F5F7FF' }],
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
argTypes: {
|
|
35
|
+
code: { control: 'text' },
|
|
36
|
+
title: { control: 'text' },
|
|
37
|
+
segmento: { control: 'text' },
|
|
38
|
+
naoInclusas: { control: 'text' },
|
|
39
|
+
checked: { control: 'boolean' },
|
|
40
|
+
expanded: { control: 'boolean' },
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export default meta;
|
|
45
|
+
|
|
46
|
+
export const Default = {
|
|
47
|
+
args: {
|
|
48
|
+
code: '1234-5/67',
|
|
49
|
+
title: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque rhoncus arcu id orci venenatis',
|
|
50
|
+
checked: false,
|
|
51
|
+
expanded: false,
|
|
52
|
+
},
|
|
53
|
+
render: (args) => (
|
|
54
|
+
<View style={styles.stage}>
|
|
55
|
+
<CNAESelectItem {...args} onPress={() => {}} />
|
|
56
|
+
</View>
|
|
57
|
+
),
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export const Checked = {
|
|
61
|
+
args: {
|
|
62
|
+
code: '1234-5/67',
|
|
63
|
+
title: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque rhoncus arcu id orci venenatis',
|
|
64
|
+
checked: true,
|
|
65
|
+
expanded: false,
|
|
66
|
+
},
|
|
67
|
+
render: (args) => (
|
|
68
|
+
<View style={styles.stage}>
|
|
69
|
+
<CNAESelectItem {...args} onPress={() => {}} />
|
|
70
|
+
</View>
|
|
71
|
+
),
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export const Expanded = {
|
|
75
|
+
args: {
|
|
76
|
+
code: '1234-5/67',
|
|
77
|
+
title: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque rhoncus arcu id orci venenatis',
|
|
78
|
+
checked: true,
|
|
79
|
+
expanded: true,
|
|
80
|
+
segmento: SAMPLE_SEGMENTO,
|
|
81
|
+
naoInclusas: SAMPLE_NAO_INCLUSAS,
|
|
82
|
+
},
|
|
83
|
+
render: (args) => {
|
|
84
|
+
const [checked, setChecked] = useState(!!args.checked);
|
|
85
|
+
const [expanded, setExpanded] = useState(!!args.expanded);
|
|
86
|
+
|
|
87
|
+
return (
|
|
88
|
+
<View style={styles.stage}>
|
|
89
|
+
<CNAESelectItem {...args}
|
|
90
|
+
checked={checked}
|
|
91
|
+
expanded={expanded}
|
|
92
|
+
onPress={() => setChecked((prev) => !prev)}
|
|
93
|
+
onToggleExpand={() => setExpanded((prev) => !prev)}
|
|
94
|
+
/>
|
|
95
|
+
</View>
|
|
96
|
+
);
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
export const Interactive = {
|
|
101
|
+
args: {
|
|
102
|
+
code: '1234-5/67',
|
|
103
|
+
title: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque rhoncus arcu id orci venenatis',
|
|
104
|
+
segmento: SAMPLE_SEGMENTO,
|
|
105
|
+
naoInclusas: SAMPLE_NAO_INCLUSAS,
|
|
106
|
+
checked: false,
|
|
107
|
+
expanded: false,
|
|
108
|
+
},
|
|
109
|
+
render: (args) => {
|
|
110
|
+
const [checked, setChecked] = useState(!!args.checked);
|
|
111
|
+
const [expanded, setExpanded] = useState(!!args.expanded);
|
|
112
|
+
|
|
113
|
+
return (
|
|
114
|
+
<View style={styles.stage}>
|
|
115
|
+
<CNAESelectItem
|
|
116
|
+
{...args}
|
|
117
|
+
checked={checked}
|
|
118
|
+
expanded={expanded}
|
|
119
|
+
onPress={() => setChecked((prev) => !prev)}
|
|
120
|
+
onToggleExpand={() => setExpanded((prev) => !prev)}
|
|
121
|
+
/>
|
|
122
|
+
</View>
|
|
123
|
+
);
|
|
124
|
+
},
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
export const AllVariants = {
|
|
128
|
+
render: () => (
|
|
129
|
+
<ScrollView style={styles.page} contentContainerStyle={{ gap: 16, paddingBottom: 40 }}>
|
|
130
|
+
<Text style={styles.sectionTitle}>Variants</Text>
|
|
131
|
+
|
|
132
|
+
<View style={{ gap: 12 }}>
|
|
133
|
+
<View style={styles.stage}>
|
|
134
|
+
<CNAESelectItem
|
|
135
|
+
code="1234-5/67"
|
|
136
|
+
title="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque rhoncus arcu id orci venenatis"
|
|
137
|
+
checked={false}
|
|
138
|
+
expanded={true}
|
|
139
|
+
onPress={() => {}}
|
|
140
|
+
/>
|
|
141
|
+
</View>
|
|
142
|
+
<Text style={styles.variantLabel}>default</Text>
|
|
143
|
+
</View>
|
|
144
|
+
|
|
145
|
+
<View style={{ gap: 12 }}>
|
|
146
|
+
<View style={styles.stage}>
|
|
147
|
+
<CNAESelectItem
|
|
148
|
+
code="1234-5/67"
|
|
149
|
+
title="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque rhoncus arcu id orci venenatis"
|
|
150
|
+
checked
|
|
151
|
+
expanded={true}
|
|
152
|
+
onPress={() => {}}
|
|
153
|
+
/>
|
|
154
|
+
</View>
|
|
155
|
+
<Text style={styles.variantLabel}>checked</Text>
|
|
156
|
+
</View>
|
|
157
|
+
|
|
158
|
+
<View style={{ gap: 12 }}>
|
|
159
|
+
<View style={styles.stage}>
|
|
160
|
+
<CNAESelectItem
|
|
161
|
+
code="1234-5/67"
|
|
162
|
+
title="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque rhoncus arcu id orci venenatis"
|
|
163
|
+
segmento={SAMPLE_SEGMENTO}
|
|
164
|
+
naoInclusas={SAMPLE_NAO_INCLUSAS}
|
|
165
|
+
checked
|
|
166
|
+
expanded
|
|
167
|
+
onPress={() => {}}
|
|
168
|
+
onToggleExpand={() => {}}
|
|
169
|
+
/>
|
|
170
|
+
</View>
|
|
171
|
+
<Text style={styles.variantLabel}>expanded</Text>
|
|
172
|
+
</View>
|
|
173
|
+
</ScrollView>
|
|
174
|
+
),
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
const styles = StyleSheet.create({
|
|
178
|
+
page: { width: '100%' },
|
|
179
|
+
stage: {
|
|
180
|
+
width: '100%',
|
|
181
|
+
paddingHorizontal: 16,
|
|
182
|
+
},
|
|
183
|
+
sectionTitle: {
|
|
184
|
+
fontSize: 18,
|
|
185
|
+
fontWeight: '700',
|
|
186
|
+
color: '#081032',
|
|
187
|
+
marginBottom: 8,
|
|
188
|
+
},
|
|
189
|
+
variantLabel: {
|
|
190
|
+
fontSize: 12,
|
|
191
|
+
fontWeight: '600',
|
|
192
|
+
color: '#687499',
|
|
193
|
+
marginTop: -8,
|
|
194
|
+
},
|
|
195
|
+
});
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { Pressable, StyleSheet, View } from 'react-native';
|
|
4
|
+
import SEIcon from '../SEIcon';
|
|
5
|
+
import SEText from '../SEText';
|
|
6
|
+
|
|
7
|
+
const COLORS = {
|
|
8
|
+
white: '#FFFFFF',
|
|
9
|
+
blue: '#2D50DA',
|
|
10
|
+
textMuted: '#1B244B',
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
function CNAESelectItem({
|
|
14
|
+
code,
|
|
15
|
+
title,
|
|
16
|
+
segmento,
|
|
17
|
+
naoInclusas,
|
|
18
|
+
checked = false,
|
|
19
|
+
expanded = false,
|
|
20
|
+
onPress,
|
|
21
|
+
onToggleExpand,
|
|
22
|
+
style,
|
|
23
|
+
}) {
|
|
24
|
+
const hasDetails = !!segmento;
|
|
25
|
+
const hasNaoInclusas = !!naoInclusas;
|
|
26
|
+
const [isPressingLeft, setIsPressingLeft] = useState(false);
|
|
27
|
+
const [isPressingRight, setIsPressingRight] = useState(false);
|
|
28
|
+
|
|
29
|
+
return (
|
|
30
|
+
<View style={[styles.resultCardWrap, style]}>
|
|
31
|
+
<View style={styles.resultCardHeaderRow}>
|
|
32
|
+
<Pressable
|
|
33
|
+
onPress={onPress}
|
|
34
|
+
onPressIn={() => setIsPressingLeft(true)}
|
|
35
|
+
onPressOut={() => setIsPressingLeft(false)}
|
|
36
|
+
style={({ pressed }) => [
|
|
37
|
+
styles.leftArea,
|
|
38
|
+
isPressingLeft && styles.pressedBg,
|
|
39
|
+
pressed && { opacity: 0.96 },
|
|
40
|
+
]}
|
|
41
|
+
accessibilityRole="button"
|
|
42
|
+
>
|
|
43
|
+
<View style={[styles.checkbox, checked && styles.checkboxChecked]}>
|
|
44
|
+
{checked ? (
|
|
45
|
+
<SEIcon type="Remix" name="check-line" size={16} color={COLORS.white} />
|
|
46
|
+
) : null}
|
|
47
|
+
</View>
|
|
48
|
+
|
|
49
|
+
<SEText type="ns-xs-body-bold" style={styles.resultCode}>
|
|
50
|
+
{code}
|
|
51
|
+
</SEText>
|
|
52
|
+
</Pressable>
|
|
53
|
+
|
|
54
|
+
<View style={styles.headerDivider} />
|
|
55
|
+
|
|
56
|
+
<Pressable
|
|
57
|
+
onPress={hasDetails ? onToggleExpand : undefined}
|
|
58
|
+
onPressIn={() => setIsPressingRight(true)}
|
|
59
|
+
onPressOut={() => setIsPressingRight(false)}
|
|
60
|
+
style={({ pressed }) => [
|
|
61
|
+
styles.rightArea,
|
|
62
|
+
isPressingRight && styles.pressedBg,
|
|
63
|
+
pressed && { opacity: 0.98 },
|
|
64
|
+
]}
|
|
65
|
+
accessibilityRole={hasDetails ? 'button' : undefined}
|
|
66
|
+
>
|
|
67
|
+
<SEText type="ns-xs-body" style={styles.resultTitle} numberOfLines={3}>
|
|
68
|
+
{title}
|
|
69
|
+
</SEText>
|
|
70
|
+
|
|
71
|
+
{hasDetails ? (
|
|
72
|
+
<View style={styles.expandButton}>
|
|
73
|
+
<SEIcon
|
|
74
|
+
type="Remix"
|
|
75
|
+
name={expanded ? 'arrow-up-s-line' : 'arrow-down-s-line'}
|
|
76
|
+
size={20}
|
|
77
|
+
color={"#2A4FDA"}
|
|
78
|
+
/>
|
|
79
|
+
</View>
|
|
80
|
+
) : null}
|
|
81
|
+
</Pressable>
|
|
82
|
+
</View>
|
|
83
|
+
|
|
84
|
+
{expanded && hasDetails ? (
|
|
85
|
+
<View style={styles.detailsContainer}>
|
|
86
|
+
<View style={styles.detailsSectionBox}>
|
|
87
|
+
<SEText type="ns-xxxs-body-bold" style={styles.detailsTitle}>
|
|
88
|
+
Estão inclusas as atividades de:
|
|
89
|
+
</SEText>
|
|
90
|
+
<View style={styles.detailsList}>
|
|
91
|
+
{segmento
|
|
92
|
+
.split(';')
|
|
93
|
+
.filter((s) => s.trim())
|
|
94
|
+
.map((line, idx) => (
|
|
95
|
+
<View key={idx} style={styles.bulletRow}>
|
|
96
|
+
<View style={styles.bulletDot} />
|
|
97
|
+
<SEText type="ns-xxxs-body" style={styles.detailsText}>
|
|
98
|
+
{line.trim()}
|
|
99
|
+
</SEText>
|
|
100
|
+
</View>
|
|
101
|
+
))}
|
|
102
|
+
</View>
|
|
103
|
+
</View>
|
|
104
|
+
|
|
105
|
+
{hasNaoInclusas ? (
|
|
106
|
+
<View style={styles.detailsSectionBox}>
|
|
107
|
+
<SEText type="ns-xxxs-body-bold" style={styles.detailsTitle}>
|
|
108
|
+
Não estão inclusas:
|
|
109
|
+
</SEText>
|
|
110
|
+
<View style={styles.detailsList}>
|
|
111
|
+
{naoInclusas
|
|
112
|
+
.split(';')
|
|
113
|
+
.filter((s) => s.trim())
|
|
114
|
+
.map((line, idx) => (
|
|
115
|
+
<View key={idx} style={styles.bulletRow}>
|
|
116
|
+
<View style={styles.bulletDot} />
|
|
117
|
+
<SEText type="ns-xxxs-body" style={styles.detailsText}>
|
|
118
|
+
{line.trim()}
|
|
119
|
+
</SEText>
|
|
120
|
+
</View>
|
|
121
|
+
))}
|
|
122
|
+
</View>
|
|
123
|
+
</View>
|
|
124
|
+
) : null}
|
|
125
|
+
</View>
|
|
126
|
+
) : null}
|
|
127
|
+
</View>
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
CNAESelectItem.propTypes = {
|
|
132
|
+
code: PropTypes.string.isRequired,
|
|
133
|
+
title: PropTypes.string.isRequired,
|
|
134
|
+
segmento: PropTypes.string,
|
|
135
|
+
naoInclusas: PropTypes.string,
|
|
136
|
+
checked: PropTypes.bool,
|
|
137
|
+
expanded: PropTypes.bool,
|
|
138
|
+
onPress: PropTypes.func,
|
|
139
|
+
onToggleExpand: PropTypes.func,
|
|
140
|
+
style: PropTypes.any,
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
const styles = StyleSheet.create({
|
|
144
|
+
resultCardWrap: {
|
|
145
|
+
width: '100%',
|
|
146
|
+
alignSelf: 'stretch',
|
|
147
|
+
borderRadius: 12,
|
|
148
|
+
overflow: 'hidden',
|
|
149
|
+
backgroundColor: '#FFFFFF',
|
|
150
|
+
borderWidth: 1,
|
|
151
|
+
borderColor: '#E6EAFF',
|
|
152
|
+
},
|
|
153
|
+
resultCardHeaderRow: {
|
|
154
|
+
flexDirection: 'row',
|
|
155
|
+
alignItems: 'stretch',
|
|
156
|
+
backgroundColor: '#FFFFFF',
|
|
157
|
+
},
|
|
158
|
+
pressedBg: {
|
|
159
|
+
backgroundColor: '#E3E9FF',
|
|
160
|
+
},
|
|
161
|
+
|
|
162
|
+
leftArea: {
|
|
163
|
+
flexDirection: 'row',
|
|
164
|
+
alignItems: 'center',
|
|
165
|
+
gap: 12,
|
|
166
|
+
paddingLeft: 16,
|
|
167
|
+
paddingRight: 12,
|
|
168
|
+
paddingVertical: 16,
|
|
169
|
+
},
|
|
170
|
+
rightArea: {
|
|
171
|
+
flex: 1,
|
|
172
|
+
flexDirection: 'row',
|
|
173
|
+
alignItems: 'center',
|
|
174
|
+
gap: 12,
|
|
175
|
+
paddingLeft: 12,
|
|
176
|
+
paddingRight: 16,
|
|
177
|
+
paddingVertical: 16,
|
|
178
|
+
},
|
|
179
|
+
checkbox: {
|
|
180
|
+
width: 20,
|
|
181
|
+
height: 20,
|
|
182
|
+
borderRadius: 6,
|
|
183
|
+
borderWidth: 2,
|
|
184
|
+
borderColor: '#96ACFF',
|
|
185
|
+
alignItems: 'center',
|
|
186
|
+
justifyContent: 'center',
|
|
187
|
+
backgroundColor: COLORS.white,
|
|
188
|
+
},
|
|
189
|
+
checkboxChecked: {
|
|
190
|
+
borderColor: COLORS.blue,
|
|
191
|
+
backgroundColor: '#2A4FDA',
|
|
192
|
+
},
|
|
193
|
+
resultCode: {
|
|
194
|
+
fontSize: 12,
|
|
195
|
+
minWidth: 30,
|
|
196
|
+
color: '#1B244B',
|
|
197
|
+
},
|
|
198
|
+
headerDivider: {
|
|
199
|
+
width: 1,
|
|
200
|
+
backgroundColor: '#E3E9FF',
|
|
201
|
+
alignSelf: 'stretch',
|
|
202
|
+
marginVertical: 12,
|
|
203
|
+
},
|
|
204
|
+
resultTitle: {
|
|
205
|
+
fontSize: 12,
|
|
206
|
+
flex: 1,
|
|
207
|
+
color: '#1B244B',
|
|
208
|
+
lineHeight: 18,
|
|
209
|
+
},
|
|
210
|
+
expandButton: {
|
|
211
|
+
paddingLeft: 10,
|
|
212
|
+
paddingTop: 4,
|
|
213
|
+
paddingBottom: 4,
|
|
214
|
+
marginLeft: 8,
|
|
215
|
+
},
|
|
216
|
+
|
|
217
|
+
detailsContainer: {
|
|
218
|
+
marginTop: 12,
|
|
219
|
+
paddingHorizontal: 16,
|
|
220
|
+
paddingBottom: 16,
|
|
221
|
+
backgroundColor: '#FFFFFF',
|
|
222
|
+
},
|
|
223
|
+
detailsSectionBox: {
|
|
224
|
+
backgroundColor: '#F7F9FF',
|
|
225
|
+
borderRadius: 10,
|
|
226
|
+
paddingHorizontal: 16,
|
|
227
|
+
paddingVertical: 12,
|
|
228
|
+
marginBottom: 8,
|
|
229
|
+
},
|
|
230
|
+
detailsTitle: {
|
|
231
|
+
color: '#1B244B',
|
|
232
|
+
marginBottom: 8,
|
|
233
|
+
fontSize: 12,
|
|
234
|
+
},
|
|
235
|
+
detailsList: {
|
|
236
|
+
gap: 8,
|
|
237
|
+
},
|
|
238
|
+
bulletRow: {
|
|
239
|
+
flexDirection: 'row',
|
|
240
|
+
alignItems: 'flex-start',
|
|
241
|
+
gap: 8,
|
|
242
|
+
},
|
|
243
|
+
bulletDot: {
|
|
244
|
+
width: 4,
|
|
245
|
+
height: 4,
|
|
246
|
+
borderRadius: 2,
|
|
247
|
+
marginTop: 7,
|
|
248
|
+
backgroundColor: '#1B244B',
|
|
249
|
+
opacity: 0.7,
|
|
250
|
+
},
|
|
251
|
+
detailsText: {
|
|
252
|
+
flex: 1,
|
|
253
|
+
color: '#1B244B',
|
|
254
|
+
lineHeight: 16,
|
|
255
|
+
fontSize: 12,
|
|
256
|
+
},
|
|
257
|
+
});
|
|
258
|
+
|
|
259
|
+
export default CNAESelectItem;
|