@factorialco/f0-react-native 0.24.0 → 0.25.0
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/module/icons/app/New.js +2 -0
- package/lib/module/icons/app/New.js.map +1 -0
- package/lib/module/icons/app/QuestionCircle.js +2 -0
- package/lib/module/icons/app/QuestionCircle.js.map +1 -0
- package/lib/module/icons/app/index.js +1 -1
- package/lib/module/icons/app/index.js.map +1 -1
- package/lib/typescript/icons/app/New.d.ts +5 -0
- package/lib/typescript/icons/app/New.d.ts.map +1 -0
- package/lib/typescript/icons/app/QuestionCircle.d.ts +5 -0
- package/lib/typescript/icons/app/QuestionCircle.d.ts.map +1 -0
- package/lib/typescript/icons/app/index.d.ts +2 -0
- package/lib/typescript/icons/app/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/icons/app/New.tsx +19 -0
- package/src/icons/app/QuestionCircle.tsx +21 -0
- package/src/icons/app/index.ts +2 -0
- package/lib/module/components/Activity/ActivityItem/__snapshots__/index.spec.tsx.snap +0 -62
- package/lib/module/components/Avatars/CompanyAvatar/__snapshots__/index.spec.tsx.snap +0 -25
- package/lib/module/components/Avatars/DateAvatar/__snapshots__/index.spec.tsx.snap +0 -18
- package/lib/module/components/Avatars/EmojiAvatar/__snapshots__/index.spec.tsx.snap +0 -37
- package/lib/module/components/Avatars/FileAvatar/__snapshots__/index.spec.tsx.snap +0 -261
- package/lib/module/components/Avatars/IconAvatar/__snapshots__/index.spec.tsx.snap +0 -265
- package/lib/module/components/Avatars/PersonAvatar/__snapshots__/index.spec.tsx.snap +0 -25
- package/lib/module/components/Avatars/TeamAvatar/__snapshots__/index.spec.tsx.snap +0 -25
- package/lib/module/components/Button/__snapshots__/index.spec.tsx.snap +0 -517
- package/lib/module/components/Counter/__snapshots__/index.spec.tsx.snap +0 -113
- package/lib/module/components/Navigation/PageHeader/__snapshots__/index.spec.tsx.snap +0 -242
- package/lib/module/components/OneChip/__snapshots__/index.spec.tsx.snap +0 -480
- package/lib/module/components/OnePreset/__snapshots__/index.spec.tsx.snap +0 -227
- package/lib/module/components/PressableFeedback/__snapshots__/index.spec.tsx.snap +0 -597
- package/lib/module/components/Tags/AlertTab/__snapshots__/index.spec.tsx.snap +0 -337
- package/lib/module/components/Tags/DotTag/__snapshots__/index.spec.tsx.snap +0 -1255
- package/lib/module/components/Tags/RawTag/__snapshots__/index.spec.tsx.snap +0 -252
- package/lib/module/components/experimental/Lists/DetailsItem/__snapshots__/index.spec.tsx.snap +0 -783
- package/lib/module/components/experimental/Lists/DetailsItemsList/__snapshots__/index.spec.tsx.snap +0 -695
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
-
|
|
3
|
-
exports[`OnePreset Snapshot 1`] = `
|
|
4
|
-
<View
|
|
5
|
-
className="flex items-start"
|
|
6
|
-
>
|
|
7
|
-
<View
|
|
8
|
-
accessibilityState={
|
|
9
|
-
{
|
|
10
|
-
"busy": undefined,
|
|
11
|
-
"checked": undefined,
|
|
12
|
-
"disabled": undefined,
|
|
13
|
-
"expanded": undefined,
|
|
14
|
-
"selected": undefined,
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
accessibilityValue={
|
|
18
|
-
{
|
|
19
|
-
"max": undefined,
|
|
20
|
-
"min": undefined,
|
|
21
|
-
"now": undefined,
|
|
22
|
-
"text": undefined,
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
accessible={true}
|
|
26
|
-
className="overflow-hidden flex grow-0 flex-row items-center gap-2 rounded border px-2.5 py-1.5 font-medium border-f1-border text-f1-foreground"
|
|
27
|
-
collapsable={false}
|
|
28
|
-
focusable={true}
|
|
29
|
-
onBlur={[Function]}
|
|
30
|
-
onClick={[Function]}
|
|
31
|
-
onFocus={[Function]}
|
|
32
|
-
onResponderGrant={[Function]}
|
|
33
|
-
onResponderMove={[Function]}
|
|
34
|
-
onResponderRelease={[Function]}
|
|
35
|
-
onResponderTerminate={[Function]}
|
|
36
|
-
onResponderTerminationRequest={[Function]}
|
|
37
|
-
onStartShouldSetResponder={[Function]}
|
|
38
|
-
style={
|
|
39
|
-
[
|
|
40
|
-
{
|
|
41
|
-
"transform": [
|
|
42
|
-
{
|
|
43
|
-
"scale": 1,
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
},
|
|
47
|
-
undefined,
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
>
|
|
51
|
-
<View
|
|
52
|
-
className="absolute inset-0"
|
|
53
|
-
pointerEvents="none"
|
|
54
|
-
style={
|
|
55
|
-
[
|
|
56
|
-
{
|
|
57
|
-
"opacity": 0,
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"backgroundColor": "rgba(0, 0, 0, 1)",
|
|
61
|
-
},
|
|
62
|
-
]
|
|
63
|
-
}
|
|
64
|
-
/>
|
|
65
|
-
<Text
|
|
66
|
-
className="whitespace-nowrap text-f1-foreground"
|
|
67
|
-
>
|
|
68
|
-
label
|
|
69
|
-
</Text>
|
|
70
|
-
</View>
|
|
71
|
-
</View>
|
|
72
|
-
`;
|
|
73
|
-
|
|
74
|
-
exports[`OnePreset Snapshot with number 1`] = `
|
|
75
|
-
<View
|
|
76
|
-
className="flex items-start"
|
|
77
|
-
>
|
|
78
|
-
<View
|
|
79
|
-
accessibilityState={
|
|
80
|
-
{
|
|
81
|
-
"busy": undefined,
|
|
82
|
-
"checked": undefined,
|
|
83
|
-
"disabled": undefined,
|
|
84
|
-
"expanded": undefined,
|
|
85
|
-
"selected": undefined,
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
accessibilityValue={
|
|
89
|
-
{
|
|
90
|
-
"max": undefined,
|
|
91
|
-
"min": undefined,
|
|
92
|
-
"now": undefined,
|
|
93
|
-
"text": undefined,
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
accessible={true}
|
|
97
|
-
className="overflow-hidden flex grow-0 flex-row items-center gap-2 rounded border px-2.5 py-1.5 font-medium pr-1.5 border-f1-border text-f1-foreground"
|
|
98
|
-
collapsable={false}
|
|
99
|
-
focusable={true}
|
|
100
|
-
onBlur={[Function]}
|
|
101
|
-
onClick={[Function]}
|
|
102
|
-
onFocus={[Function]}
|
|
103
|
-
onResponderGrant={[Function]}
|
|
104
|
-
onResponderMove={[Function]}
|
|
105
|
-
onResponderRelease={[Function]}
|
|
106
|
-
onResponderTerminate={[Function]}
|
|
107
|
-
onResponderTerminationRequest={[Function]}
|
|
108
|
-
onStartShouldSetResponder={[Function]}
|
|
109
|
-
style={
|
|
110
|
-
[
|
|
111
|
-
{
|
|
112
|
-
"transform": [
|
|
113
|
-
{
|
|
114
|
-
"scale": 1,
|
|
115
|
-
},
|
|
116
|
-
],
|
|
117
|
-
},
|
|
118
|
-
undefined,
|
|
119
|
-
]
|
|
120
|
-
}
|
|
121
|
-
>
|
|
122
|
-
<View
|
|
123
|
-
className="absolute inset-0"
|
|
124
|
-
pointerEvents="none"
|
|
125
|
-
style={
|
|
126
|
-
[
|
|
127
|
-
{
|
|
128
|
-
"opacity": 0,
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"backgroundColor": "rgba(0, 0, 0, 1)",
|
|
132
|
-
},
|
|
133
|
-
]
|
|
134
|
-
}
|
|
135
|
-
/>
|
|
136
|
-
<Text
|
|
137
|
-
className="whitespace-nowrap text-f1-foreground"
|
|
138
|
-
>
|
|
139
|
-
label
|
|
140
|
-
</Text>
|
|
141
|
-
<View
|
|
142
|
-
className="flex items-start"
|
|
143
|
-
>
|
|
144
|
-
<View
|
|
145
|
-
className="flex items-center justify-center rounded-xs grow-0 px-0.5 min-w-5 h-5 bg-f1-background-secondary border border-f1-border"
|
|
146
|
-
>
|
|
147
|
-
<Text
|
|
148
|
-
className="text-center text-sm font-medium tabular-nums whitespace-nowrap text-f1-foreground"
|
|
149
|
-
>
|
|
150
|
-
42
|
|
151
|
-
</Text>
|
|
152
|
-
</View>
|
|
153
|
-
</View>
|
|
154
|
-
</View>
|
|
155
|
-
</View>
|
|
156
|
-
`;
|
|
157
|
-
|
|
158
|
-
exports[`OnePreset renders correctly with selected props 1`] = `
|
|
159
|
-
<View
|
|
160
|
-
className="flex items-start"
|
|
161
|
-
>
|
|
162
|
-
<View
|
|
163
|
-
accessibilityState={
|
|
164
|
-
{
|
|
165
|
-
"busy": undefined,
|
|
166
|
-
"checked": undefined,
|
|
167
|
-
"disabled": undefined,
|
|
168
|
-
"expanded": undefined,
|
|
169
|
-
"selected": undefined,
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
accessibilityValue={
|
|
173
|
-
{
|
|
174
|
-
"max": undefined,
|
|
175
|
-
"min": undefined,
|
|
176
|
-
"now": undefined,
|
|
177
|
-
"text": undefined,
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
accessible={true}
|
|
181
|
-
className="overflow-hidden flex grow-0 flex-row items-center gap-2 rounded border px-2.5 py-1.5 font-medium border-f1-border-selected bg-f1-background-selected-secondary text-f1-foreground-selected"
|
|
182
|
-
collapsable={false}
|
|
183
|
-
focusable={true}
|
|
184
|
-
onBlur={[Function]}
|
|
185
|
-
onClick={[Function]}
|
|
186
|
-
onFocus={[Function]}
|
|
187
|
-
onResponderGrant={[Function]}
|
|
188
|
-
onResponderMove={[Function]}
|
|
189
|
-
onResponderRelease={[Function]}
|
|
190
|
-
onResponderTerminate={[Function]}
|
|
191
|
-
onResponderTerminationRequest={[Function]}
|
|
192
|
-
onStartShouldSetResponder={[Function]}
|
|
193
|
-
style={
|
|
194
|
-
[
|
|
195
|
-
{
|
|
196
|
-
"transform": [
|
|
197
|
-
{
|
|
198
|
-
"scale": 1,
|
|
199
|
-
},
|
|
200
|
-
],
|
|
201
|
-
},
|
|
202
|
-
undefined,
|
|
203
|
-
]
|
|
204
|
-
}
|
|
205
|
-
>
|
|
206
|
-
<View
|
|
207
|
-
className="absolute inset-0"
|
|
208
|
-
pointerEvents="none"
|
|
209
|
-
style={
|
|
210
|
-
[
|
|
211
|
-
{
|
|
212
|
-
"opacity": 0,
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"backgroundColor": "rgba(0, 0, 0, 1)",
|
|
216
|
-
},
|
|
217
|
-
]
|
|
218
|
-
}
|
|
219
|
-
/>
|
|
220
|
-
<Text
|
|
221
|
-
className="whitespace-nowrap text-f1-foreground-selected"
|
|
222
|
-
>
|
|
223
|
-
label
|
|
224
|
-
</Text>
|
|
225
|
-
</View>
|
|
226
|
-
</View>
|
|
227
|
-
`;
|