@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,252 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
-
|
|
3
|
-
exports[`RawTag Snapshot 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-2 border border-solid border-f1-border-secondary"
|
|
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
|
-
<Text
|
|
52
|
-
className="line-clamp-1 text-base font-medium text-f1-foreground"
|
|
53
|
-
>
|
|
54
|
-
test
|
|
55
|
-
</Text>
|
|
56
|
-
</View>
|
|
57
|
-
</View>
|
|
58
|
-
`;
|
|
59
|
-
|
|
60
|
-
exports[`RawTag Snapshot noBorder 1`] = `
|
|
61
|
-
<View
|
|
62
|
-
className="flex items-start"
|
|
63
|
-
>
|
|
64
|
-
<View
|
|
65
|
-
accessibilityState={
|
|
66
|
-
{
|
|
67
|
-
"busy": undefined,
|
|
68
|
-
"checked": undefined,
|
|
69
|
-
"disabled": true,
|
|
70
|
-
"expanded": undefined,
|
|
71
|
-
"selected": undefined,
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
accessibilityValue={
|
|
75
|
-
{
|
|
76
|
-
"max": undefined,
|
|
77
|
-
"min": undefined,
|
|
78
|
-
"now": undefined,
|
|
79
|
-
"text": undefined,
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
accessible={true}
|
|
83
|
-
className="overflow-hidden flex flex-row items-center justify-start gap-0.5 rounded-full py-0.5 pr-2 pl-2"
|
|
84
|
-
collapsable={false}
|
|
85
|
-
focusable={true}
|
|
86
|
-
onBlur={[Function]}
|
|
87
|
-
onClick={[Function]}
|
|
88
|
-
onFocus={[Function]}
|
|
89
|
-
onResponderGrant={[Function]}
|
|
90
|
-
onResponderMove={[Function]}
|
|
91
|
-
onResponderRelease={[Function]}
|
|
92
|
-
onResponderTerminate={[Function]}
|
|
93
|
-
onResponderTerminationRequest={[Function]}
|
|
94
|
-
onStartShouldSetResponder={[Function]}
|
|
95
|
-
style={
|
|
96
|
-
[
|
|
97
|
-
{
|
|
98
|
-
"transform": [
|
|
99
|
-
{
|
|
100
|
-
"scale": 1,
|
|
101
|
-
},
|
|
102
|
-
],
|
|
103
|
-
},
|
|
104
|
-
undefined,
|
|
105
|
-
]
|
|
106
|
-
}
|
|
107
|
-
>
|
|
108
|
-
<Text
|
|
109
|
-
className="line-clamp-1 text-base font-medium text-f1-foreground"
|
|
110
|
-
>
|
|
111
|
-
test
|
|
112
|
-
</Text>
|
|
113
|
-
</View>
|
|
114
|
-
</View>
|
|
115
|
-
`;
|
|
116
|
-
|
|
117
|
-
exports[`RawTag Snapshot with icon 1`] = `
|
|
118
|
-
<View
|
|
119
|
-
className="flex items-start"
|
|
120
|
-
>
|
|
121
|
-
<View
|
|
122
|
-
accessibilityState={
|
|
123
|
-
{
|
|
124
|
-
"busy": undefined,
|
|
125
|
-
"checked": undefined,
|
|
126
|
-
"disabled": true,
|
|
127
|
-
"expanded": undefined,
|
|
128
|
-
"selected": undefined,
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
accessibilityValue={
|
|
132
|
-
{
|
|
133
|
-
"max": undefined,
|
|
134
|
-
"min": undefined,
|
|
135
|
-
"now": undefined,
|
|
136
|
-
"text": undefined,
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
accessible={true}
|
|
140
|
-
className="overflow-hidden flex flex-row items-center justify-start gap-0.5 rounded-full py-0.5 pr-2 pl-1 border border-solid border-f1-border-secondary"
|
|
141
|
-
collapsable={false}
|
|
142
|
-
focusable={true}
|
|
143
|
-
onBlur={[Function]}
|
|
144
|
-
onClick={[Function]}
|
|
145
|
-
onFocus={[Function]}
|
|
146
|
-
onResponderGrant={[Function]}
|
|
147
|
-
onResponderMove={[Function]}
|
|
148
|
-
onResponderRelease={[Function]}
|
|
149
|
-
onResponderTerminate={[Function]}
|
|
150
|
-
onResponderTerminationRequest={[Function]}
|
|
151
|
-
onStartShouldSetResponder={[Function]}
|
|
152
|
-
style={
|
|
153
|
-
[
|
|
154
|
-
{
|
|
155
|
-
"transform": [
|
|
156
|
-
{
|
|
157
|
-
"scale": 1,
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
},
|
|
161
|
-
undefined,
|
|
162
|
-
]
|
|
163
|
-
}
|
|
164
|
-
>
|
|
165
|
-
<RNSVGSvgView
|
|
166
|
-
align="xMidYMid"
|
|
167
|
-
aria-hidden={true}
|
|
168
|
-
bbHeight="100%"
|
|
169
|
-
bbWidth="100%"
|
|
170
|
-
className="shrink-0 w-4 h-4 stroke-sm text-f1-icon"
|
|
171
|
-
fill="none"
|
|
172
|
-
focusable={false}
|
|
173
|
-
meetOrSlice={0}
|
|
174
|
-
minX={0}
|
|
175
|
-
minY={0}
|
|
176
|
-
style={
|
|
177
|
-
[
|
|
178
|
-
{
|
|
179
|
-
"backgroundColor": "transparent",
|
|
180
|
-
"borderWidth": 0,
|
|
181
|
-
},
|
|
182
|
-
[
|
|
183
|
-
{},
|
|
184
|
-
],
|
|
185
|
-
{
|
|
186
|
-
"flex": 0,
|
|
187
|
-
"height": "100%",
|
|
188
|
-
"width": "100%",
|
|
189
|
-
},
|
|
190
|
-
]
|
|
191
|
-
}
|
|
192
|
-
vbHeight={24}
|
|
193
|
-
vbWidth={24}
|
|
194
|
-
>
|
|
195
|
-
<RNSVGGroup
|
|
196
|
-
fill={null}
|
|
197
|
-
propList={
|
|
198
|
-
[
|
|
199
|
-
"fill",
|
|
200
|
-
]
|
|
201
|
-
}
|
|
202
|
-
>
|
|
203
|
-
<RNSVGPath
|
|
204
|
-
d="m5.55 14.121.714-4A5 5 0 0 1 11.186 6h1.628a5 5 0 0 1 4.922 4.121l.714 4A5 5 0 0 1 13.528 20h-3.056a5 5 0 0 1-4.922-5.879ZM10.326 2.5h3.348a1 1 0 0 1 .962 1.275L14 6h-4l-.636-2.225a1 1 0 0 1 .962-1.275Z"
|
|
205
|
-
fill={
|
|
206
|
-
{
|
|
207
|
-
"payload": 4278190080,
|
|
208
|
-
"type": 0,
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
propList={
|
|
212
|
-
[
|
|
213
|
-
"stroke",
|
|
214
|
-
]
|
|
215
|
-
}
|
|
216
|
-
stroke={
|
|
217
|
-
{
|
|
218
|
-
"type": 2,
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
/>
|
|
222
|
-
<RNSVGPath
|
|
223
|
-
d="M14 10h-2.5a1.5 1.5 0 0 0-1.5 1.5v0a1.5 1.5 0 0 0 1.5 1.5h1a1.5 1.5 0 0 1 1.5 1.5v0a1.5 1.5 0 0 1-1.5 1.5H10M12 16v1M12 9v1"
|
|
224
|
-
fill={
|
|
225
|
-
{
|
|
226
|
-
"payload": 4278190080,
|
|
227
|
-
"type": 0,
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
propList={
|
|
231
|
-
[
|
|
232
|
-
"stroke",
|
|
233
|
-
"strokeLinecap",
|
|
234
|
-
]
|
|
235
|
-
}
|
|
236
|
-
stroke={
|
|
237
|
-
{
|
|
238
|
-
"type": 2,
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
strokeLinecap={1}
|
|
242
|
-
/>
|
|
243
|
-
</RNSVGGroup>
|
|
244
|
-
</RNSVGSvgView>
|
|
245
|
-
<Text
|
|
246
|
-
className="line-clamp-1 text-base font-medium text-f1-foreground"
|
|
247
|
-
>
|
|
248
|
-
test
|
|
249
|
-
</Text>
|
|
250
|
-
</View>
|
|
251
|
-
</View>
|
|
252
|
-
`;
|