@factorialco/f0-react-native 0.24.1 → 0.26.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/components/Activity/ActivityItem/index.js +1 -1
- package/lib/module/components/Avatars/BaseAvatar/index.js +1 -1
- package/lib/module/components/Avatars/DateAvatar/index.js +1 -1
- package/lib/module/components/Avatars/EmojiAvatar/index.js +1 -1
- package/lib/module/components/Avatars/FileAvatar/index.js +1 -1
- package/lib/module/components/Avatars/FileAvatar/utils.js +1 -1
- package/lib/module/components/Avatars/IconAvatar/index.js +1 -1
- package/lib/module/components/Avatars/ModuleAvatar/index.js +1 -1
- package/lib/module/components/Badge/index.js +1 -1
- package/lib/module/components/Button/index.js +1 -1
- package/lib/module/components/Counter/index.js +1 -1
- package/lib/module/components/ExampleComponent.js +1 -1
- package/lib/module/components/Icon/README.md +1 -1
- package/lib/module/components/Navigation/PageHeader/index.js +1 -1
- package/lib/module/components/OneChip/index.js +1 -1
- package/lib/module/components/OnePreset/index.js +1 -1
- package/lib/module/components/Tags/AlertTab/index.js +1 -1
- package/lib/module/components/Tags/BaseTag/index.js +1 -1
- package/lib/module/components/Tags/DotTag/index.js +1 -1
- package/lib/module/components/Tags/RawTag/index.js +1 -1
- package/lib/module/components/experimental/Lists/DataList/ItemContainer.js +1 -1
- package/lib/module/components/experimental/Lists/DataList/actions/CopyAction.js +1 -1
- package/lib/module/components/experimental/Lists/DataList/actions/GenericAction.js +1 -1
- package/lib/module/components/experimental/Lists/DataList/index.js +1 -1
- package/lib/module/components/experimental/Lists/DetailsItemsList/index.js +1 -1
- 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/module/icons/modules/Hub.js +1 -1
- package/lib/module/icons/modules/Hub.js.map +1 -1
- package/lib/module/styles/theme.css +308 -237
- package/lib/module/styles/tokens/colors.js +1 -1
- package/lib/module/styles/tokens/colors.js.map +1 -1
- package/lib/module/ui/avatar.js +1 -1
- package/lib/typescript/components/OneChip/index.d.ts +2 -2
- 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/lib/typescript/icons/modules/Hub.d.ts.map +1 -1
- package/lib/typescript/styles/tokens/colors.d.ts +2 -2
- package/package.json +2 -2
- package/src/components/Activity/ActivityItem/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Activity/ActivityItem/index.tsx +10 -10
- package/src/components/Avatars/BaseAvatar/index.tsx +1 -1
- package/src/components/Avatars/CompanyAvatar/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Avatars/DateAvatar/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Avatars/DateAvatar/index.tsx +3 -3
- package/src/components/Avatars/EmojiAvatar/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Avatars/EmojiAvatar/index.tsx +1 -1
- package/src/components/Avatars/FileAvatar/__snapshots__/index.spec.tsx.snap +26 -26
- package/src/components/Avatars/FileAvatar/index.tsx +2 -2
- package/src/components/Avatars/FileAvatar/utils.ts +13 -13
- package/src/components/Avatars/IconAvatar/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/Avatars/IconAvatar/index.tsx +2 -2
- package/src/components/Avatars/ModuleAvatar/index.tsx +1 -1
- package/src/components/Avatars/PersonAvatar/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Avatars/TeamAvatar/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Badge/index.tsx +5 -5
- package/src/components/Button/__snapshots__/index.spec.tsx.snap +22 -22
- package/src/components/Button/index.tsx +22 -22
- package/src/components/Counter/__snapshots__/index.spec.tsx.snap +14 -14
- package/src/components/Counter/index.tsx +6 -6
- package/src/components/ExampleComponent.tsx +2 -2
- package/src/components/Icon/README.md +1 -1
- package/src/components/Navigation/PageHeader/__snapshots__/index.spec.tsx.snap +4 -4
- package/src/components/Navigation/PageHeader/index.tsx +1 -1
- package/src/components/OneChip/__snapshots__/index.spec.tsx.snap +11 -11
- package/src/components/OneChip/index.tsx +5 -5
- package/src/components/OnePreset/__snapshots__/index.spec.tsx.snap +8 -8
- package/src/components/OnePreset/index.tsx +3 -3
- package/src/components/Tags/AlertTab/__snapshots__/index.spec.tsx.snap +9 -9
- package/src/components/Tags/AlertTab/index.tsx +9 -9
- package/src/components/Tags/BaseTag/index.tsx +2 -2
- package/src/components/Tags/DotTag/__snapshots__/index.spec.tsx.snap +38 -38
- package/src/components/Tags/DotTag/index.tsx +1 -1
- package/src/components/Tags/RawTag/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/Tags/RawTag/index.tsx +3 -3
- package/src/components/experimental/Lists/DataList/ItemContainer.tsx +2 -2
- package/src/components/experimental/Lists/DataList/actions/CopyAction.tsx +4 -4
- package/src/components/experimental/Lists/DataList/actions/GenericAction.tsx +3 -3
- package/src/components/experimental/Lists/DataList/index.tsx +1 -1
- package/src/components/experimental/Lists/DetailsItem/__snapshots__/index.spec.tsx.snap +26 -26
- package/src/components/experimental/Lists/DetailsItemsList/__snapshots__/index.spec.tsx.snap +26 -26
- package/src/components/experimental/Lists/DetailsItemsList/index.tsx +3 -3
- 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/src/icons/modules/Hub.tsx +2 -1
- package/src/styles/theme.css +308 -237
- package/src/styles/tokens/colors.ts +2 -2
- package/src/ui/avatar.tsx +1 -1
- 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,337 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
-
|
|
3
|
-
exports[`AlertTag Snapshot Critical level 1`] = `
|
|
4
|
-
<View
|
|
5
|
-
className="flex items-start"
|
|
6
|
-
>
|
|
7
|
-
<View
|
|
8
|
-
accessibilityState={
|
|
9
|
-
{
|
|
10
|
-
"busy": undefined,
|
|
11
|
-
"checked": undefined,
|
|
12
|
-
"disabled": true,
|
|
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 flex-row items-center justify-start gap-0.5 rounded-full py-0.5 pr-2 pl-0.5 bg-f1-background-critical text-f1-foreground-critical"
|
|
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
|
-
<RNSVGSvgView
|
|
52
|
-
align="xMidYMid"
|
|
53
|
-
aria-hidden={true}
|
|
54
|
-
bbHeight="100%"
|
|
55
|
-
bbWidth="100%"
|
|
56
|
-
className="shrink-0 w-5 h-5 stroke-md text-f1-foreground-critical"
|
|
57
|
-
fill="none"
|
|
58
|
-
focusable={false}
|
|
59
|
-
meetOrSlice={0}
|
|
60
|
-
minX={0}
|
|
61
|
-
minY={0}
|
|
62
|
-
style={
|
|
63
|
-
[
|
|
64
|
-
{
|
|
65
|
-
"backgroundColor": "transparent",
|
|
66
|
-
"borderWidth": 0,
|
|
67
|
-
},
|
|
68
|
-
[
|
|
69
|
-
{},
|
|
70
|
-
],
|
|
71
|
-
{
|
|
72
|
-
"flex": 0,
|
|
73
|
-
"height": "100%",
|
|
74
|
-
"width": "100%",
|
|
75
|
-
},
|
|
76
|
-
]
|
|
77
|
-
}
|
|
78
|
-
vbHeight={24}
|
|
79
|
-
vbWidth={24}
|
|
80
|
-
>
|
|
81
|
-
<RNSVGGroup
|
|
82
|
-
fill={null}
|
|
83
|
-
propList={
|
|
84
|
-
[
|
|
85
|
-
"fill",
|
|
86
|
-
]
|
|
87
|
-
}
|
|
88
|
-
>
|
|
89
|
-
<RNSVGPath
|
|
90
|
-
d="M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16m-.967-11.94a.97.97 0 1 1 1.935 0l-.303 3.9a.667.667 0 0 1-1.33 0zM13 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0"
|
|
91
|
-
fill={
|
|
92
|
-
{
|
|
93
|
-
"type": 2,
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
propList={
|
|
97
|
-
[
|
|
98
|
-
"fill",
|
|
99
|
-
]
|
|
100
|
-
}
|
|
101
|
-
/>
|
|
102
|
-
</RNSVGGroup>
|
|
103
|
-
</RNSVGSvgView>
|
|
104
|
-
<Text
|
|
105
|
-
className="line-clamp-1 text-base font-medium text-f1-foreground-critical"
|
|
106
|
-
>
|
|
107
|
-
critical
|
|
108
|
-
</Text>
|
|
109
|
-
</View>
|
|
110
|
-
</View>
|
|
111
|
-
`;
|
|
112
|
-
|
|
113
|
-
exports[`AlertTag Snapshot Ingo level 1`] = `
|
|
114
|
-
<View
|
|
115
|
-
className="flex items-start"
|
|
116
|
-
>
|
|
117
|
-
<View
|
|
118
|
-
accessibilityState={
|
|
119
|
-
{
|
|
120
|
-
"busy": undefined,
|
|
121
|
-
"checked": undefined,
|
|
122
|
-
"disabled": true,
|
|
123
|
-
"expanded": undefined,
|
|
124
|
-
"selected": undefined,
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
accessibilityValue={
|
|
128
|
-
{
|
|
129
|
-
"max": undefined,
|
|
130
|
-
"min": undefined,
|
|
131
|
-
"now": undefined,
|
|
132
|
-
"text": undefined,
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
accessible={true}
|
|
136
|
-
className="overflow-hidden flex flex-row items-center justify-start gap-0.5 rounded-full py-0.5 pr-2 pl-0.5 bg-f1-background-info text-f1-foreground-info"
|
|
137
|
-
collapsable={false}
|
|
138
|
-
focusable={true}
|
|
139
|
-
onBlur={[Function]}
|
|
140
|
-
onClick={[Function]}
|
|
141
|
-
onFocus={[Function]}
|
|
142
|
-
onResponderGrant={[Function]}
|
|
143
|
-
onResponderMove={[Function]}
|
|
144
|
-
onResponderRelease={[Function]}
|
|
145
|
-
onResponderTerminate={[Function]}
|
|
146
|
-
onResponderTerminationRequest={[Function]}
|
|
147
|
-
onStartShouldSetResponder={[Function]}
|
|
148
|
-
style={
|
|
149
|
-
[
|
|
150
|
-
{
|
|
151
|
-
"transform": [
|
|
152
|
-
{
|
|
153
|
-
"scale": 1,
|
|
154
|
-
},
|
|
155
|
-
],
|
|
156
|
-
},
|
|
157
|
-
undefined,
|
|
158
|
-
]
|
|
159
|
-
}
|
|
160
|
-
>
|
|
161
|
-
<RNSVGSvgView
|
|
162
|
-
align="xMidYMid"
|
|
163
|
-
aria-hidden={true}
|
|
164
|
-
bbHeight="100%"
|
|
165
|
-
bbWidth="100%"
|
|
166
|
-
className="shrink-0 w-5 h-5 stroke-md text-f1-foreground-info"
|
|
167
|
-
fill="none"
|
|
168
|
-
focusable={false}
|
|
169
|
-
meetOrSlice={0}
|
|
170
|
-
minX={0}
|
|
171
|
-
minY={0}
|
|
172
|
-
style={
|
|
173
|
-
[
|
|
174
|
-
{
|
|
175
|
-
"backgroundColor": "transparent",
|
|
176
|
-
"borderWidth": 0,
|
|
177
|
-
},
|
|
178
|
-
[
|
|
179
|
-
{},
|
|
180
|
-
],
|
|
181
|
-
{
|
|
182
|
-
"flex": 0,
|
|
183
|
-
"height": "100%",
|
|
184
|
-
"width": "100%",
|
|
185
|
-
},
|
|
186
|
-
]
|
|
187
|
-
}
|
|
188
|
-
vbHeight={24}
|
|
189
|
-
vbWidth={24}
|
|
190
|
-
>
|
|
191
|
-
<RNSVGGroup
|
|
192
|
-
fill={null}
|
|
193
|
-
propList={
|
|
194
|
-
[
|
|
195
|
-
"fill",
|
|
196
|
-
]
|
|
197
|
-
}
|
|
198
|
-
>
|
|
199
|
-
<RNSVGPath
|
|
200
|
-
clipRule={0}
|
|
201
|
-
d="M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0m-8.65-2.9a.65.65 0 1 0 1.3 0V9a.65.65 0 1 0-1.3 0zm0 6a.65.65 0 1 0 1.3 0v-3a.65.65 0 1 0-1.3 0z"
|
|
202
|
-
fill={
|
|
203
|
-
{
|
|
204
|
-
"type": 2,
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
fillRule={0}
|
|
208
|
-
propList={
|
|
209
|
-
[
|
|
210
|
-
"fill",
|
|
211
|
-
"fillRule",
|
|
212
|
-
]
|
|
213
|
-
}
|
|
214
|
-
/>
|
|
215
|
-
</RNSVGGroup>
|
|
216
|
-
</RNSVGSvgView>
|
|
217
|
-
<Text
|
|
218
|
-
className="line-clamp-1 text-base font-medium text-f1-foreground-info"
|
|
219
|
-
>
|
|
220
|
-
info
|
|
221
|
-
</Text>
|
|
222
|
-
</View>
|
|
223
|
-
</View>
|
|
224
|
-
`;
|
|
225
|
-
|
|
226
|
-
exports[`AlertTag Snapshot Warning level 1`] = `
|
|
227
|
-
<View
|
|
228
|
-
className="flex items-start"
|
|
229
|
-
>
|
|
230
|
-
<View
|
|
231
|
-
accessibilityState={
|
|
232
|
-
{
|
|
233
|
-
"busy": undefined,
|
|
234
|
-
"checked": undefined,
|
|
235
|
-
"disabled": true,
|
|
236
|
-
"expanded": undefined,
|
|
237
|
-
"selected": undefined,
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
accessibilityValue={
|
|
241
|
-
{
|
|
242
|
-
"max": undefined,
|
|
243
|
-
"min": undefined,
|
|
244
|
-
"now": undefined,
|
|
245
|
-
"text": undefined,
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
accessible={true}
|
|
249
|
-
className="overflow-hidden flex flex-row items-center justify-start gap-0.5 rounded-full py-0.5 pr-2 pl-0.5 bg-f1-background-warning text-f1-foreground-warning"
|
|
250
|
-
collapsable={false}
|
|
251
|
-
focusable={true}
|
|
252
|
-
onBlur={[Function]}
|
|
253
|
-
onClick={[Function]}
|
|
254
|
-
onFocus={[Function]}
|
|
255
|
-
onResponderGrant={[Function]}
|
|
256
|
-
onResponderMove={[Function]}
|
|
257
|
-
onResponderRelease={[Function]}
|
|
258
|
-
onResponderTerminate={[Function]}
|
|
259
|
-
onResponderTerminationRequest={[Function]}
|
|
260
|
-
onStartShouldSetResponder={[Function]}
|
|
261
|
-
style={
|
|
262
|
-
[
|
|
263
|
-
{
|
|
264
|
-
"transform": [
|
|
265
|
-
{
|
|
266
|
-
"scale": 1,
|
|
267
|
-
},
|
|
268
|
-
],
|
|
269
|
-
},
|
|
270
|
-
undefined,
|
|
271
|
-
]
|
|
272
|
-
}
|
|
273
|
-
>
|
|
274
|
-
<RNSVGSvgView
|
|
275
|
-
align="xMidYMid"
|
|
276
|
-
aria-hidden={true}
|
|
277
|
-
bbHeight="100%"
|
|
278
|
-
bbWidth="100%"
|
|
279
|
-
className="shrink-0 w-5 h-5 stroke-md text-f1-foreground-warning"
|
|
280
|
-
fill="none"
|
|
281
|
-
focusable={false}
|
|
282
|
-
meetOrSlice={0}
|
|
283
|
-
minX={0}
|
|
284
|
-
minY={0}
|
|
285
|
-
style={
|
|
286
|
-
[
|
|
287
|
-
{
|
|
288
|
-
"backgroundColor": "transparent",
|
|
289
|
-
"borderWidth": 0,
|
|
290
|
-
},
|
|
291
|
-
[
|
|
292
|
-
{},
|
|
293
|
-
],
|
|
294
|
-
{
|
|
295
|
-
"flex": 0,
|
|
296
|
-
"height": "100%",
|
|
297
|
-
"width": "100%",
|
|
298
|
-
},
|
|
299
|
-
]
|
|
300
|
-
}
|
|
301
|
-
vbHeight={24}
|
|
302
|
-
vbWidth={24}
|
|
303
|
-
>
|
|
304
|
-
<RNSVGGroup
|
|
305
|
-
fill={null}
|
|
306
|
-
propList={
|
|
307
|
-
[
|
|
308
|
-
"fill",
|
|
309
|
-
]
|
|
310
|
-
}
|
|
311
|
-
>
|
|
312
|
-
<RNSVGPath
|
|
313
|
-
clipRule={0}
|
|
314
|
-
d="M5.399 19c-1.525 0-2.489-1.638-1.748-2.971l6.6-11.882c.763-1.372 2.735-1.372 3.497 0l6.601 11.882c.74 1.333-.223 2.971-1.748 2.971zM12 7.5a.97.97 0 0 0-.967 1.045l.302 3.9a.667.667 0 0 0 1.33 0l.303-3.9A.97.97 0 0 0 12 7.5m0 8.987a1 1 0 1 0 0-2 1 1 0 0 0 0 2"
|
|
315
|
-
fill={
|
|
316
|
-
{
|
|
317
|
-
"type": 2,
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
fillRule={0}
|
|
321
|
-
propList={
|
|
322
|
-
[
|
|
323
|
-
"fill",
|
|
324
|
-
"fillRule",
|
|
325
|
-
]
|
|
326
|
-
}
|
|
327
|
-
/>
|
|
328
|
-
</RNSVGGroup>
|
|
329
|
-
</RNSVGSvgView>
|
|
330
|
-
<Text
|
|
331
|
-
className="line-clamp-1 text-base font-medium text-f1-foreground-warning"
|
|
332
|
-
>
|
|
333
|
-
warning
|
|
334
|
-
</Text>
|
|
335
|
-
</View>
|
|
336
|
-
</View>
|
|
337
|
-
`;
|