@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,62 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
-
|
|
3
|
-
exports[`ActivityItem Snapshot 1`] = `
|
|
4
|
-
<View
|
|
5
|
-
accessibilityLabel="activity-item"
|
|
6
|
-
accessibilityState={
|
|
7
|
-
{
|
|
8
|
-
"busy": undefined,
|
|
9
|
-
"checked": undefined,
|
|
10
|
-
"disabled": undefined,
|
|
11
|
-
"expanded": undefined,
|
|
12
|
-
"selected": undefined,
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
accessibilityValue={
|
|
16
|
-
{
|
|
17
|
-
"max": undefined,
|
|
18
|
-
"min": undefined,
|
|
19
|
-
"now": undefined,
|
|
20
|
-
"text": undefined,
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
accessible={true}
|
|
24
|
-
className="flex w-full flex-row gap-2 rounded-lg p-2 pr-3 "
|
|
25
|
-
collapsable={false}
|
|
26
|
-
focusable={true}
|
|
27
|
-
onBlur={[Function]}
|
|
28
|
-
onClick={[Function]}
|
|
29
|
-
onFocus={[Function]}
|
|
30
|
-
onResponderGrant={[Function]}
|
|
31
|
-
onResponderMove={[Function]}
|
|
32
|
-
onResponderRelease={[Function]}
|
|
33
|
-
onResponderTerminate={[Function]}
|
|
34
|
-
onResponderTerminationRequest={[Function]}
|
|
35
|
-
onStartShouldSetResponder={[Function]}
|
|
36
|
-
>
|
|
37
|
-
<View
|
|
38
|
-
className="flex-1"
|
|
39
|
-
>
|
|
40
|
-
<Text
|
|
41
|
-
className="line-clamp-1 text-lg font-medium text-f1-foreground"
|
|
42
|
-
>
|
|
43
|
-
Activity Title
|
|
44
|
-
</Text>
|
|
45
|
-
<Text
|
|
46
|
-
className="line-clamp-2 text-lg text-f1-foreground-secondary"
|
|
47
|
-
/>
|
|
48
|
-
<View
|
|
49
|
-
className="mt-1.5 flex flex-row"
|
|
50
|
-
>
|
|
51
|
-
<Text
|
|
52
|
-
className="text-md text-f1-foreground-secondary"
|
|
53
|
-
>
|
|
54
|
-
Time off · Today
|
|
55
|
-
</Text>
|
|
56
|
-
</View>
|
|
57
|
-
</View>
|
|
58
|
-
<View
|
|
59
|
-
className="ml-1"
|
|
60
|
-
/>
|
|
61
|
-
</View>
|
|
62
|
-
`;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
-
|
|
3
|
-
exports[`CompanyAvatar Snapshot 1`] = `
|
|
4
|
-
<View
|
|
5
|
-
className="inline-flex "
|
|
6
|
-
>
|
|
7
|
-
<View
|
|
8
|
-
className="h-fit w-fit"
|
|
9
|
-
>
|
|
10
|
-
<View
|
|
11
|
-
aria-hidden={true}
|
|
12
|
-
className="flex shrink-0 items-center justify-center overflow-hidden text-center font-semibold w-8 h-8 rounded bg-[hsl(theme(colors.viridian-50))]"
|
|
13
|
-
data-a11y-color-contrast-ignore={true}
|
|
14
|
-
role="img"
|
|
15
|
-
>
|
|
16
|
-
<Text
|
|
17
|
-
className="text-f1-foreground-inverse/90 text-md"
|
|
18
|
-
data-a11y-color-contrast-ignore={true}
|
|
19
|
-
>
|
|
20
|
-
FA
|
|
21
|
-
</Text>
|
|
22
|
-
</View>
|
|
23
|
-
</View>
|
|
24
|
-
</View>
|
|
25
|
-
`;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
-
|
|
3
|
-
exports[`DateAvatar Snapshot 1`] = `
|
|
4
|
-
<View
|
|
5
|
-
className="flex h-10 w-10 flex-col items-center justify-center rounded border border-solid border-f1-border-secondary bg-f1-background-inverse-secondary"
|
|
6
|
-
>
|
|
7
|
-
<Text
|
|
8
|
-
className="pt-0.5 text-xs leading-3 font-semibold text-f1-special-highlight uppercase dark:text-f1-foreground-inverse-secondary"
|
|
9
|
-
>
|
|
10
|
-
Jan
|
|
11
|
-
</Text>
|
|
12
|
-
<Text
|
|
13
|
-
className="flex items-center justify-center text-lg leading-tight font-medium text-f1-foreground"
|
|
14
|
-
>
|
|
15
|
-
1
|
|
16
|
-
</Text>
|
|
17
|
-
</View>
|
|
18
|
-
`;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
-
|
|
3
|
-
exports[`EmojiAvatar Snapshot - different sizes text emoji and diferent size 1`] = `
|
|
4
|
-
<View
|
|
5
|
-
className="w-6 h-6 rounded-sm flex aspect-square items-center justify-center border border-solid border-f1-border-secondary bg-f1-background dark:bg-f1-background-inverse-secondary"
|
|
6
|
-
>
|
|
7
|
-
<Text
|
|
8
|
-
className="text-xs"
|
|
9
|
-
>
|
|
10
|
-
test
|
|
11
|
-
</Text>
|
|
12
|
-
</View>
|
|
13
|
-
`;
|
|
14
|
-
|
|
15
|
-
exports[`EmojiAvatar Snapshot - different sizes text emoji and diferent size 2`] = `
|
|
16
|
-
<View
|
|
17
|
-
className="w-9 h-9 rounded-md flex aspect-square items-center justify-center border border-solid border-f1-border-secondary bg-f1-background dark:bg-f1-background-inverse-secondary"
|
|
18
|
-
>
|
|
19
|
-
<Text
|
|
20
|
-
className="text-sm"
|
|
21
|
-
>
|
|
22
|
-
test
|
|
23
|
-
</Text>
|
|
24
|
-
</View>
|
|
25
|
-
`;
|
|
26
|
-
|
|
27
|
-
exports[`EmojiAvatar Snapshot - different sizes text emoji and diferent size 3`] = `
|
|
28
|
-
<View
|
|
29
|
-
className="w-10 h-10 rounded-lg flex aspect-square items-center justify-center border border-solid border-f1-border-secondary bg-f1-background dark:bg-f1-background-inverse-secondary"
|
|
30
|
-
>
|
|
31
|
-
<Text
|
|
32
|
-
className="text-md"
|
|
33
|
-
>
|
|
34
|
-
test
|
|
35
|
-
</Text>
|
|
36
|
-
</View>
|
|
37
|
-
`;
|
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
-
|
|
3
|
-
exports[`FileAvatar Snapshot - different file types 1`] = `
|
|
4
|
-
<View
|
|
5
|
-
className="inline-flex "
|
|
6
|
-
>
|
|
7
|
-
<View
|
|
8
|
-
className="h-fit w-fit"
|
|
9
|
-
>
|
|
10
|
-
<View
|
|
11
|
-
className="flex shrink-0 items-center justify-center overflow-hidden text-center font-semibold w-8 h-8 rounded border border-solid border-f1-border-secondary bg-f1-background"
|
|
12
|
-
>
|
|
13
|
-
<Text
|
|
14
|
-
className="font-semibold text-sm text-f1-foreground-accent"
|
|
15
|
-
>
|
|
16
|
-
PDF
|
|
17
|
-
</Text>
|
|
18
|
-
</View>
|
|
19
|
-
</View>
|
|
20
|
-
</View>
|
|
21
|
-
`;
|
|
22
|
-
|
|
23
|
-
exports[`FileAvatar Snapshot - different file types 2`] = `
|
|
24
|
-
<View
|
|
25
|
-
className="inline-flex "
|
|
26
|
-
>
|
|
27
|
-
<View
|
|
28
|
-
className="h-fit w-fit"
|
|
29
|
-
>
|
|
30
|
-
<View
|
|
31
|
-
className="flex shrink-0 items-center justify-center overflow-hidden text-center font-semibold w-8 h-8 rounded border border-solid border-f1-border-secondary bg-f1-background"
|
|
32
|
-
>
|
|
33
|
-
<Text
|
|
34
|
-
className="font-semibold text-sm text-f1-foreground-info"
|
|
35
|
-
>
|
|
36
|
-
IMG
|
|
37
|
-
</Text>
|
|
38
|
-
</View>
|
|
39
|
-
</View>
|
|
40
|
-
</View>
|
|
41
|
-
`;
|
|
42
|
-
|
|
43
|
-
exports[`FileAvatar Snapshot - different file types 3`] = `
|
|
44
|
-
<View
|
|
45
|
-
className="inline-flex "
|
|
46
|
-
>
|
|
47
|
-
<View
|
|
48
|
-
className="h-fit w-fit"
|
|
49
|
-
>
|
|
50
|
-
<View
|
|
51
|
-
className="flex shrink-0 items-center justify-center overflow-hidden text-center font-semibold w-8 h-8 rounded border border-solid border-f1-border-secondary bg-f1-background"
|
|
52
|
-
>
|
|
53
|
-
<Text
|
|
54
|
-
className="font-semibold text-sm text-f1-foreground-info"
|
|
55
|
-
>
|
|
56
|
-
DOC
|
|
57
|
-
</Text>
|
|
58
|
-
</View>
|
|
59
|
-
</View>
|
|
60
|
-
</View>
|
|
61
|
-
`;
|
|
62
|
-
|
|
63
|
-
exports[`FileAvatar Snapshot - different file types 4`] = `
|
|
64
|
-
<View
|
|
65
|
-
className="inline-flex "
|
|
66
|
-
>
|
|
67
|
-
<View
|
|
68
|
-
className="h-fit w-fit"
|
|
69
|
-
>
|
|
70
|
-
<View
|
|
71
|
-
className="flex shrink-0 items-center justify-center overflow-hidden text-center font-semibold w-8 h-8 rounded border border-solid border-f1-border-secondary bg-f1-background"
|
|
72
|
-
>
|
|
73
|
-
<Text
|
|
74
|
-
className="font-semibold text-sm text-f1-foreground-positive"
|
|
75
|
-
>
|
|
76
|
-
XLS
|
|
77
|
-
</Text>
|
|
78
|
-
</View>
|
|
79
|
-
</View>
|
|
80
|
-
</View>
|
|
81
|
-
`;
|
|
82
|
-
|
|
83
|
-
exports[`FileAvatar Snapshot - different file types 5`] = `
|
|
84
|
-
<View
|
|
85
|
-
className="inline-flex "
|
|
86
|
-
>
|
|
87
|
-
<View
|
|
88
|
-
className="h-fit w-fit"
|
|
89
|
-
>
|
|
90
|
-
<View
|
|
91
|
-
className="flex shrink-0 items-center justify-center overflow-hidden text-center font-semibold w-8 h-8 rounded border border-solid border-f1-border-secondary bg-f1-background"
|
|
92
|
-
>
|
|
93
|
-
<Text
|
|
94
|
-
className="font-semibold text-sm text-f1-foreground-warning"
|
|
95
|
-
>
|
|
96
|
-
PPT
|
|
97
|
-
</Text>
|
|
98
|
-
</View>
|
|
99
|
-
</View>
|
|
100
|
-
</View>
|
|
101
|
-
`;
|
|
102
|
-
|
|
103
|
-
exports[`FileAvatar Snapshot - different file types 6`] = `
|
|
104
|
-
<View
|
|
105
|
-
className="inline-flex "
|
|
106
|
-
>
|
|
107
|
-
<View
|
|
108
|
-
className="h-fit w-fit"
|
|
109
|
-
>
|
|
110
|
-
<View
|
|
111
|
-
className="flex shrink-0 items-center justify-center overflow-hidden text-center font-semibold w-8 h-8 rounded border border-solid border-f1-border-secondary bg-f1-background"
|
|
112
|
-
>
|
|
113
|
-
<Text
|
|
114
|
-
className="font-semibold text-sm text-f1-foreground-secondary"
|
|
115
|
-
>
|
|
116
|
-
TXT
|
|
117
|
-
</Text>
|
|
118
|
-
</View>
|
|
119
|
-
</View>
|
|
120
|
-
</View>
|
|
121
|
-
`;
|
|
122
|
-
|
|
123
|
-
exports[`FileAvatar Snapshot - different file types 7`] = `
|
|
124
|
-
<View
|
|
125
|
-
className="inline-flex "
|
|
126
|
-
>
|
|
127
|
-
<View
|
|
128
|
-
className="h-fit w-fit"
|
|
129
|
-
>
|
|
130
|
-
<View
|
|
131
|
-
className="flex shrink-0 items-center justify-center overflow-hidden text-center font-semibold w-8 h-8 rounded border border-solid border-f1-border-secondary bg-f1-background"
|
|
132
|
-
>
|
|
133
|
-
<Text
|
|
134
|
-
className="font-semibold text-sm text-f1-foreground-info"
|
|
135
|
-
>
|
|
136
|
-
VID
|
|
137
|
-
</Text>
|
|
138
|
-
</View>
|
|
139
|
-
</View>
|
|
140
|
-
</View>
|
|
141
|
-
`;
|
|
142
|
-
|
|
143
|
-
exports[`FileAvatar Snapshot - different file types 8`] = `
|
|
144
|
-
<View
|
|
145
|
-
className="inline-flex "
|
|
146
|
-
>
|
|
147
|
-
<View
|
|
148
|
-
className="h-fit w-fit"
|
|
149
|
-
>
|
|
150
|
-
<View
|
|
151
|
-
className="flex shrink-0 items-center justify-center overflow-hidden text-center font-semibold w-8 h-8 rounded border border-solid border-f1-border-secondary bg-f1-background"
|
|
152
|
-
>
|
|
153
|
-
<Text
|
|
154
|
-
className="font-semibold text-sm text-f1-foreground-accent"
|
|
155
|
-
>
|
|
156
|
-
AUD
|
|
157
|
-
</Text>
|
|
158
|
-
</View>
|
|
159
|
-
</View>
|
|
160
|
-
</View>
|
|
161
|
-
`;
|
|
162
|
-
|
|
163
|
-
exports[`FileAvatar Snapshot - different file types 9`] = `
|
|
164
|
-
<View
|
|
165
|
-
className="inline-flex "
|
|
166
|
-
>
|
|
167
|
-
<View
|
|
168
|
-
className="h-fit w-fit"
|
|
169
|
-
>
|
|
170
|
-
<View
|
|
171
|
-
className="flex shrink-0 items-center justify-center overflow-hidden text-center font-semibold w-8 h-8 rounded border border-solid border-f1-border-secondary bg-f1-background"
|
|
172
|
-
>
|
|
173
|
-
<Text
|
|
174
|
-
className="font-semibold text-sm text-f1-foreground-warning"
|
|
175
|
-
>
|
|
176
|
-
ZIP
|
|
177
|
-
</Text>
|
|
178
|
-
</View>
|
|
179
|
-
</View>
|
|
180
|
-
</View>
|
|
181
|
-
`;
|
|
182
|
-
|
|
183
|
-
exports[`FileAvatar Snapshot - different file types 10`] = `
|
|
184
|
-
<View
|
|
185
|
-
className="inline-flex "
|
|
186
|
-
>
|
|
187
|
-
<View
|
|
188
|
-
className="h-fit w-fit"
|
|
189
|
-
>
|
|
190
|
-
<View
|
|
191
|
-
className="flex shrink-0 items-center justify-center overflow-hidden text-center font-semibold w-8 h-8 rounded border border-solid border-f1-border-secondary bg-f1-background"
|
|
192
|
-
>
|
|
193
|
-
<Text
|
|
194
|
-
className="font-semibold text-sm text-f1-foreground-positive"
|
|
195
|
-
>
|
|
196
|
-
CSV
|
|
197
|
-
</Text>
|
|
198
|
-
</View>
|
|
199
|
-
</View>
|
|
200
|
-
</View>
|
|
201
|
-
`;
|
|
202
|
-
|
|
203
|
-
exports[`FileAvatar Snapshot - different file types 11`] = `
|
|
204
|
-
<View
|
|
205
|
-
className="inline-flex "
|
|
206
|
-
>
|
|
207
|
-
<View
|
|
208
|
-
className="h-fit w-fit"
|
|
209
|
-
>
|
|
210
|
-
<View
|
|
211
|
-
className="flex shrink-0 items-center justify-center overflow-hidden text-center font-semibold w-8 h-8 rounded border border-solid border-f1-border-secondary bg-f1-background"
|
|
212
|
-
>
|
|
213
|
-
<Text
|
|
214
|
-
className="font-semibold text-sm text-f1-foreground-accent"
|
|
215
|
-
>
|
|
216
|
-
HTM
|
|
217
|
-
</Text>
|
|
218
|
-
</View>
|
|
219
|
-
</View>
|
|
220
|
-
</View>
|
|
221
|
-
`;
|
|
222
|
-
|
|
223
|
-
exports[`FileAvatar Snapshot - different file types 12`] = `
|
|
224
|
-
<View
|
|
225
|
-
className="inline-flex "
|
|
226
|
-
>
|
|
227
|
-
<View
|
|
228
|
-
className="h-fit w-fit"
|
|
229
|
-
>
|
|
230
|
-
<View
|
|
231
|
-
className="flex shrink-0 items-center justify-center overflow-hidden text-center font-semibold w-8 h-8 rounded border border-solid border-f1-border-secondary bg-f1-background"
|
|
232
|
-
>
|
|
233
|
-
<Text
|
|
234
|
-
className="font-semibold text-sm text-f1-foreground-secondary"
|
|
235
|
-
>
|
|
236
|
-
MD
|
|
237
|
-
</Text>
|
|
238
|
-
</View>
|
|
239
|
-
</View>
|
|
240
|
-
</View>
|
|
241
|
-
`;
|
|
242
|
-
|
|
243
|
-
exports[`FileAvatar Snapshot - different file types 13`] = `
|
|
244
|
-
<View
|
|
245
|
-
className="inline-flex "
|
|
246
|
-
>
|
|
247
|
-
<View
|
|
248
|
-
className="h-fit w-fit"
|
|
249
|
-
>
|
|
250
|
-
<View
|
|
251
|
-
className="flex shrink-0 items-center justify-center overflow-hidden text-center font-semibold w-8 h-8 rounded border border-solid border-f1-border-secondary bg-f1-background"
|
|
252
|
-
>
|
|
253
|
-
<Text
|
|
254
|
-
className="font-semibold text-sm text-f1-foreground"
|
|
255
|
-
>
|
|
256
|
-
FIL
|
|
257
|
-
</Text>
|
|
258
|
-
</View>
|
|
259
|
-
</View>
|
|
260
|
-
</View>
|
|
261
|
-
`;
|
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
-
|
|
3
|
-
exports[`IconAvatar Snapshot - different sizes 1`] = `
|
|
4
|
-
<View
|
|
5
|
-
className="flex aspect-square items-center justify-center border border-solid border-f1-border-secondary h-6 w-6 rounded-sm"
|
|
6
|
-
>
|
|
7
|
-
<RNSVGSvgView
|
|
8
|
-
align="xMidYMid"
|
|
9
|
-
bbHeight="100%"
|
|
10
|
-
bbWidth="100%"
|
|
11
|
-
className="shrink-0 w-4 h-4 stroke-sm text-f1-foreground-secondary"
|
|
12
|
-
fill="none"
|
|
13
|
-
focusable={false}
|
|
14
|
-
meetOrSlice={0}
|
|
15
|
-
minX={0}
|
|
16
|
-
minY={0}
|
|
17
|
-
style={
|
|
18
|
-
[
|
|
19
|
-
{
|
|
20
|
-
"backgroundColor": "transparent",
|
|
21
|
-
"borderWidth": 0,
|
|
22
|
-
},
|
|
23
|
-
[
|
|
24
|
-
{},
|
|
25
|
-
],
|
|
26
|
-
{
|
|
27
|
-
"flex": 0,
|
|
28
|
-
"height": "100%",
|
|
29
|
-
"width": "100%",
|
|
30
|
-
},
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
vbHeight={24}
|
|
34
|
-
vbWidth={24}
|
|
35
|
-
>
|
|
36
|
-
<RNSVGGroup
|
|
37
|
-
fill={null}
|
|
38
|
-
propList={
|
|
39
|
-
[
|
|
40
|
-
"fill",
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
>
|
|
44
|
-
<RNSVGCircle
|
|
45
|
-
cx={12}
|
|
46
|
-
cy={12}
|
|
47
|
-
fill={
|
|
48
|
-
{
|
|
49
|
-
"payload": 4278190080,
|
|
50
|
-
"type": 0,
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
propList={
|
|
54
|
-
[
|
|
55
|
-
"stroke",
|
|
56
|
-
]
|
|
57
|
-
}
|
|
58
|
-
r={8}
|
|
59
|
-
stroke={
|
|
60
|
-
{
|
|
61
|
-
"type": 2,
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
/>
|
|
65
|
-
<RNSVGPath
|
|
66
|
-
d="m17.5 6.5-11 11M17.5 17.5l-11-11"
|
|
67
|
-
fill={
|
|
68
|
-
{
|
|
69
|
-
"payload": 4278190080,
|
|
70
|
-
"type": 0,
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
propList={
|
|
74
|
-
[
|
|
75
|
-
"stroke",
|
|
76
|
-
"strokeLinejoin",
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
stroke={
|
|
80
|
-
{
|
|
81
|
-
"type": 2,
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
strokeLinejoin={1}
|
|
85
|
-
/>
|
|
86
|
-
</RNSVGGroup>
|
|
87
|
-
</RNSVGSvgView>
|
|
88
|
-
</View>
|
|
89
|
-
`;
|
|
90
|
-
|
|
91
|
-
exports[`IconAvatar Snapshot - different sizes 2`] = `
|
|
92
|
-
<View
|
|
93
|
-
className="flex aspect-square items-center justify-center border border-solid border-f1-border-secondary h-9 w-9 rounded-md"
|
|
94
|
-
>
|
|
95
|
-
<RNSVGSvgView
|
|
96
|
-
align="xMidYMid"
|
|
97
|
-
bbHeight="100%"
|
|
98
|
-
bbWidth="100%"
|
|
99
|
-
className="shrink-0 w-5 h-5 stroke-md text-f1-foreground-secondary"
|
|
100
|
-
fill="none"
|
|
101
|
-
focusable={false}
|
|
102
|
-
meetOrSlice={0}
|
|
103
|
-
minX={0}
|
|
104
|
-
minY={0}
|
|
105
|
-
style={
|
|
106
|
-
[
|
|
107
|
-
{
|
|
108
|
-
"backgroundColor": "transparent",
|
|
109
|
-
"borderWidth": 0,
|
|
110
|
-
},
|
|
111
|
-
[
|
|
112
|
-
{},
|
|
113
|
-
],
|
|
114
|
-
{
|
|
115
|
-
"flex": 0,
|
|
116
|
-
"height": "100%",
|
|
117
|
-
"width": "100%",
|
|
118
|
-
},
|
|
119
|
-
]
|
|
120
|
-
}
|
|
121
|
-
vbHeight={24}
|
|
122
|
-
vbWidth={24}
|
|
123
|
-
>
|
|
124
|
-
<RNSVGGroup
|
|
125
|
-
fill={null}
|
|
126
|
-
propList={
|
|
127
|
-
[
|
|
128
|
-
"fill",
|
|
129
|
-
]
|
|
130
|
-
}
|
|
131
|
-
>
|
|
132
|
-
<RNSVGCircle
|
|
133
|
-
cx={12}
|
|
134
|
-
cy={12}
|
|
135
|
-
fill={
|
|
136
|
-
{
|
|
137
|
-
"payload": 4278190080,
|
|
138
|
-
"type": 0,
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
propList={
|
|
142
|
-
[
|
|
143
|
-
"stroke",
|
|
144
|
-
]
|
|
145
|
-
}
|
|
146
|
-
r={8}
|
|
147
|
-
stroke={
|
|
148
|
-
{
|
|
149
|
-
"type": 2,
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
/>
|
|
153
|
-
<RNSVGPath
|
|
154
|
-
d="m17.5 6.5-11 11M17.5 17.5l-11-11"
|
|
155
|
-
fill={
|
|
156
|
-
{
|
|
157
|
-
"payload": 4278190080,
|
|
158
|
-
"type": 0,
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
propList={
|
|
162
|
-
[
|
|
163
|
-
"stroke",
|
|
164
|
-
"strokeLinejoin",
|
|
165
|
-
]
|
|
166
|
-
}
|
|
167
|
-
stroke={
|
|
168
|
-
{
|
|
169
|
-
"type": 2,
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
strokeLinejoin={1}
|
|
173
|
-
/>
|
|
174
|
-
</RNSVGGroup>
|
|
175
|
-
</RNSVGSvgView>
|
|
176
|
-
</View>
|
|
177
|
-
`;
|
|
178
|
-
|
|
179
|
-
exports[`IconAvatar Snapshot - different sizes 3`] = `
|
|
180
|
-
<View
|
|
181
|
-
className="flex aspect-square items-center justify-center border border-solid border-f1-border-secondary h-10 w-10 rounded-lg"
|
|
182
|
-
>
|
|
183
|
-
<RNSVGSvgView
|
|
184
|
-
align="xMidYMid"
|
|
185
|
-
bbHeight="100%"
|
|
186
|
-
bbWidth="100%"
|
|
187
|
-
className="shrink-0 w-6 h-6 stroke-lg text-f1-foreground-secondary"
|
|
188
|
-
fill="none"
|
|
189
|
-
focusable={false}
|
|
190
|
-
meetOrSlice={0}
|
|
191
|
-
minX={0}
|
|
192
|
-
minY={0}
|
|
193
|
-
style={
|
|
194
|
-
[
|
|
195
|
-
{
|
|
196
|
-
"backgroundColor": "transparent",
|
|
197
|
-
"borderWidth": 0,
|
|
198
|
-
},
|
|
199
|
-
[
|
|
200
|
-
{},
|
|
201
|
-
],
|
|
202
|
-
{
|
|
203
|
-
"flex": 0,
|
|
204
|
-
"height": "100%",
|
|
205
|
-
"width": "100%",
|
|
206
|
-
},
|
|
207
|
-
]
|
|
208
|
-
}
|
|
209
|
-
vbHeight={24}
|
|
210
|
-
vbWidth={24}
|
|
211
|
-
>
|
|
212
|
-
<RNSVGGroup
|
|
213
|
-
fill={null}
|
|
214
|
-
propList={
|
|
215
|
-
[
|
|
216
|
-
"fill",
|
|
217
|
-
]
|
|
218
|
-
}
|
|
219
|
-
>
|
|
220
|
-
<RNSVGCircle
|
|
221
|
-
cx={12}
|
|
222
|
-
cy={12}
|
|
223
|
-
fill={
|
|
224
|
-
{
|
|
225
|
-
"payload": 4278190080,
|
|
226
|
-
"type": 0,
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
propList={
|
|
230
|
-
[
|
|
231
|
-
"stroke",
|
|
232
|
-
]
|
|
233
|
-
}
|
|
234
|
-
r={8}
|
|
235
|
-
stroke={
|
|
236
|
-
{
|
|
237
|
-
"type": 2,
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
/>
|
|
241
|
-
<RNSVGPath
|
|
242
|
-
d="m17.5 6.5-11 11M17.5 17.5l-11-11"
|
|
243
|
-
fill={
|
|
244
|
-
{
|
|
245
|
-
"payload": 4278190080,
|
|
246
|
-
"type": 0,
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
propList={
|
|
250
|
-
[
|
|
251
|
-
"stroke",
|
|
252
|
-
"strokeLinejoin",
|
|
253
|
-
]
|
|
254
|
-
}
|
|
255
|
-
stroke={
|
|
256
|
-
{
|
|
257
|
-
"type": 2,
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
strokeLinejoin={1}
|
|
261
|
-
/>
|
|
262
|
-
</RNSVGGroup>
|
|
263
|
-
</RNSVGSvgView>
|
|
264
|
-
</View>
|
|
265
|
-
`;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
|
-
|
|
3
|
-
exports[`PersonAvatar Snapshot 1`] = `
|
|
4
|
-
<View
|
|
5
|
-
className="inline-flex "
|
|
6
|
-
>
|
|
7
|
-
<View
|
|
8
|
-
className="h-fit w-fit"
|
|
9
|
-
>
|
|
10
|
-
<View
|
|
11
|
-
aria-hidden={true}
|
|
12
|
-
className="flex shrink-0 items-center justify-center overflow-hidden text-center font-semibold w-8 h-8 rounded-full bg-[hsl(theme(colors.flubber-50))]"
|
|
13
|
-
data-a11y-color-contrast-ignore={true}
|
|
14
|
-
role="img"
|
|
15
|
-
>
|
|
16
|
-
<Text
|
|
17
|
-
className="text-f1-foreground-inverse/90 text-md"
|
|
18
|
-
data-a11y-color-contrast-ignore={true}
|
|
19
|
-
>
|
|
20
|
-
DM
|
|
21
|
-
</Text>
|
|
22
|
-
</View>
|
|
23
|
-
</View>
|
|
24
|
-
</View>
|
|
25
|
-
`;
|