@edge-zuq/core 1.3.1 → 1.3.5
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/data/use-cases/remote-get-comment-list.js.map +1 -1
- package/lib/module/data/use-cases/remote-get-image-list.js.map +1 -1
- package/lib/module/infra/axios-http-client-adapter.js +2 -2
- package/lib/module/infra/axios-http-client-adapter.js.map +1 -1
- package/lib/module/infra/offline-mutation-queue.js.map +1 -1
- package/lib/module/infra/rnp-permission-manager-adapter.js.map +1 -1
- package/lib/module/presentation/components/atoms/UIIcon.js +40 -40
- package/lib/module/presentation/components/atoms/UIIcon.js.map +1 -1
- package/lib/module/presentation/components/atoms/UIProgress.js.map +1 -1
- package/lib/module/presentation/components/molecules/UIActionSheet.js.map +1 -1
- package/lib/module/presentation/components/molecules/UIButton.js +5 -5
- package/lib/module/presentation/components/molecules/UIButton.js.map +1 -1
- package/lib/module/presentation/components/molecules/UICurrencyInput.js.map +1 -1
- package/lib/module/presentation/components/molecules/UIImage.js.map +1 -1
- package/lib/module/presentation/components/molecules/UITextInput.js.map +1 -1
- package/lib/module/presentation/components/molecules/UITextInputMask.js.map +1 -1
- package/lib/module/presentation/components/organisms/UIFormButton.js.map +1 -1
- package/lib/module/presentation/components/organisms/UIFormCheckboxInput.js.map +1 -1
- package/lib/module/presentation/components/organisms/UIFormCurrencyInput.js.map +1 -1
- package/lib/module/presentation/components/organisms/UIFormDatetimeInput.js.map +1 -1
- package/lib/module/presentation/components/organisms/UIFormMultiselectInput.js.map +1 -1
- package/lib/module/presentation/components/organisms/UIFormSelectInput.js.map +1 -1
- package/lib/module/presentation/components/organisms/UIFormTextInput.js.map +1 -1
- package/lib/module/presentation/components/organisms/UIMultipleSelectChip.js +129 -0
- package/lib/module/presentation/components/organisms/UIMultipleSelectChip.js.map +1 -0
- package/lib/module/presentation/components/organisms/UISelectChip.js +33 -2
- package/lib/module/presentation/components/organisms/UISelectChip.js.map +1 -1
- package/lib/module/presentation/components/organisms/UISignature.js.map +1 -1
- package/lib/module/presentation/components/organisms/UISlideButton.js.map +1 -1
- package/lib/module/presentation/components/organisms/index.js +1 -0
- package/lib/module/presentation/components/organisms/index.js.map +1 -1
- package/lib/module/presentation/components/permissions/request-permissions.js.map +1 -1
- package/lib/module/presentation/domain/offline/use-offline-mutation.js +1 -1
- package/lib/module/presentation/domain/offline/use-offline-mutation.js.map +1 -1
- package/lib/module/presentation/domain/offline/use-offline-query.js.map +1 -1
- package/lib/module/theme.js +22 -22
- package/lib/module/theme.js.map +1 -1
- package/lib/typescript/src/presentation/components/atoms/UIIcon.d.ts.map +1 -1
- package/lib/typescript/src/presentation/components/atoms/UIProgress.d.ts.map +1 -1
- package/lib/typescript/src/presentation/components/molecules/UIActionSheet.d.ts.map +1 -1
- package/lib/typescript/src/presentation/components/molecules/UIButton.d.ts.map +1 -1
- package/lib/typescript/src/presentation/components/molecules/UIImage.d.ts.map +1 -1
- package/lib/typescript/src/presentation/components/molecules/UITextInput.d.ts.map +1 -1
- package/lib/typescript/src/presentation/components/molecules/UITextInputMask.d.ts.map +1 -1
- package/lib/typescript/src/presentation/components/organisms/UIFormMultiselectInput.d.ts.map +1 -1
- package/lib/typescript/src/presentation/components/organisms/UIFormSelectInput.d.ts.map +1 -1
- package/lib/typescript/src/presentation/components/organisms/UIMultipleSelectChip.d.ts +17 -0
- package/lib/typescript/src/presentation/components/organisms/UIMultipleSelectChip.d.ts.map +1 -0
- package/lib/typescript/src/presentation/components/organisms/UISelectChip.d.ts +6 -2
- package/lib/typescript/src/presentation/components/organisms/UISelectChip.d.ts.map +1 -1
- package/lib/typescript/src/presentation/components/organisms/UISignature.d.ts.map +1 -1
- package/lib/typescript/src/presentation/components/organisms/UISlideButton.d.ts.map +1 -1
- package/lib/typescript/src/presentation/components/organisms/index.d.ts +1 -0
- package/lib/typescript/src/presentation/components/organisms/index.d.ts.map +1 -1
- package/lib/typescript/src/presentation/components/permissions/request-permissions.d.ts.map +1 -1
- package/package.json +71 -75
- package/src/data/use-cases/remote-get-comment-list.ts +1 -1
- package/src/data/use-cases/remote-get-image-list.ts +2 -2
- package/src/infra/axios-http-client-adapter.ts +5 -5
- package/src/infra/offline-mutation-queue.ts +4 -4
- package/src/infra/rnp-permission-manager-adapter.ts +4 -4
- package/src/presentation/components/atoms/UIIcon.tsx +75 -110
- package/src/presentation/components/atoms/UIProgress.tsx +2 -3
- package/src/presentation/components/molecules/UIActionSheet.tsx +9 -13
- package/src/presentation/components/molecules/UIButton.tsx +6 -7
- package/src/presentation/components/molecules/UICurrencyInput.tsx +2 -2
- package/src/presentation/components/molecules/UIImage.tsx +3 -5
- package/src/presentation/components/molecules/UITextInput.tsx +5 -7
- package/src/presentation/components/molecules/UITextInputMask.tsx +5 -7
- package/src/presentation/components/organisms/UIFormButton.tsx +1 -1
- package/src/presentation/components/organisms/UIFormCheckboxInput.tsx +1 -1
- package/src/presentation/components/organisms/UIFormCurrencyInput.tsx +1 -1
- package/src/presentation/components/organisms/UIFormDatetimeInput.tsx +1 -1
- package/src/presentation/components/organisms/UIFormMultiselectInput.tsx +7 -9
- package/src/presentation/components/organisms/UIFormSelectInput.tsx +4 -6
- package/src/presentation/components/organisms/UIFormTextInput.tsx +1 -1
- package/src/presentation/components/organisms/UIMultipleSelectChip.tsx +139 -0
- package/src/presentation/components/organisms/UISelectChip.tsx +26 -3
- package/src/presentation/components/organisms/UISignature.tsx +4 -6
- package/src/presentation/components/organisms/UISlideButton.tsx +5 -7
- package/src/presentation/components/organisms/index.ts +1 -0
- package/src/presentation/components/permissions/request-permissions.tsx +5 -7
- package/src/presentation/domain/offline/use-offline-mutation.ts +2 -2
- package/src/presentation/domain/offline/use-offline-query.ts +1 -1
- package/src/theme.ts +22 -22
|
@@ -65,7 +65,7 @@ export class OfflineMutationQueue {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
private areDependenciesExecuted(offlineMutation: OfflineMutation) {
|
|
68
|
-
return offlineMutation.dependencies.every(
|
|
68
|
+
return offlineMutation.dependencies.every(key => {
|
|
69
69
|
let currentKey;
|
|
70
70
|
if (key instanceof IsomorphicIdManager.IsomorphicId) {
|
|
71
71
|
const isomorphicId = this.isomorphicIdManager?.get(key.getOfflineId());
|
|
@@ -139,7 +139,7 @@ export class OfflineMutationQueue {
|
|
|
139
139
|
|
|
140
140
|
private async executeRequest(key: string, offlineMutation: OfflineMutation) {
|
|
141
141
|
this.updateStatus(key, OfflineMutationStatus.EXECUTING);
|
|
142
|
-
const dependencies = offlineMutation.dependencies.map(
|
|
142
|
+
const dependencies = offlineMutation.dependencies.map(dependency =>
|
|
143
143
|
dependency instanceof IsomorphicIdManager.IsomorphicId
|
|
144
144
|
? this.queue.get(String(dependency.getOfflineId()))
|
|
145
145
|
: this.queue.get(dependency)
|
|
@@ -184,7 +184,7 @@ export class OfflineMutationQueue {
|
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
private assertOfflineMutation(key: string, offlineMutation: OfflineMutation) {
|
|
187
|
-
const isValid = offlineMutation.dependencies.every(
|
|
187
|
+
const isValid = offlineMutation.dependencies.every(dependencyKey => {
|
|
188
188
|
let dependency: OfflineMutation | undefined;
|
|
189
189
|
if (dependencyKey instanceof IsomorphicIdManager.IsomorphicId) {
|
|
190
190
|
const isomorphicId = this.isomorphicIdManager?.get(
|
|
@@ -201,7 +201,7 @@ export class OfflineMutationQueue {
|
|
|
201
201
|
}
|
|
202
202
|
if (dependency) {
|
|
203
203
|
const existsDependencyLoop = dependency.dependencies.some(
|
|
204
|
-
|
|
204
|
+
innerKey => innerKey === key
|
|
205
205
|
);
|
|
206
206
|
return !existsDependencyLoop;
|
|
207
207
|
} else {
|
|
@@ -58,7 +58,7 @@ export class RNPPermissionManagerAdapter implements PermissionManager {
|
|
|
58
58
|
permissions: PermissionManager.Permission[]
|
|
59
59
|
): Promise<PermissionManager.Result[]> {
|
|
60
60
|
return await Promise.all(
|
|
61
|
-
permissions.map(
|
|
61
|
+
permissions.map(permission => this.get(permission))
|
|
62
62
|
);
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -99,7 +99,7 @@ export class RNPPermissionManagerAdapter implements PermissionManager {
|
|
|
99
99
|
}>
|
|
100
100
|
): Promise<PermissionManager.Result[]> {
|
|
101
101
|
return await Promise.all(
|
|
102
|
-
data.map(
|
|
102
|
+
data.map(item => this.request(item.permission, item.options))
|
|
103
103
|
);
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -140,8 +140,8 @@ export class RNPPermissionManagerAdapter implements PermissionManager {
|
|
|
140
140
|
permissions: PermissionManager.Permission[]
|
|
141
141
|
): Promise<boolean> {
|
|
142
142
|
const result = await Promise.all(
|
|
143
|
-
permissions.map(async
|
|
143
|
+
permissions.map(async permission => this.has(permission))
|
|
144
144
|
);
|
|
145
|
-
return result.every(
|
|
145
|
+
return result.every(item => Boolean(item));
|
|
146
146
|
}
|
|
147
147
|
}
|
|
@@ -22,64 +22,64 @@ export const UIIcon = React.memo(({ name, ...props }: Props) => {
|
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
const icons = {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
comment: IconComment,
|
|
26
|
+
user: IconUser,
|
|
27
|
+
password: IconPassword,
|
|
28
|
+
exit: IconExit,
|
|
29
|
+
play: IconPlay,
|
|
30
|
+
eye: IconEye,
|
|
31
31
|
'eye-off': IconEyeOff,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
bell: IconBell,
|
|
33
|
+
pin: IconPin,
|
|
34
|
+
box: IconBox,
|
|
35
|
+
truck: IconTruck,
|
|
36
36
|
'chevron-right': IconChevronRight,
|
|
37
37
|
'chevron-left': IconChevronLeft,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
home: IconHome,
|
|
39
|
+
clock: IconClock,
|
|
40
|
+
info: IconInfo,
|
|
41
|
+
distance: IconDistance,
|
|
42
|
+
calendar: IconCalendar,
|
|
43
43
|
'calendar-alt': IconCalendarAlt,
|
|
44
44
|
'truck-alt': IconTruckAlt,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
close: IconClose,
|
|
46
|
+
pause: IconPause,
|
|
47
|
+
later: IconLater,
|
|
48
|
+
check: IconCheck,
|
|
49
49
|
'check-alt': IconCheckAlt,
|
|
50
50
|
'check-outlined': IconCheckOutlined,
|
|
51
|
-
|
|
51
|
+
warning: IconWarning,
|
|
52
52
|
'warning-outline': IconWarningOutline,
|
|
53
53
|
'x-circle': IconXCircle,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
returned: IconReturned,
|
|
55
|
+
waze: IconWaze,
|
|
56
|
+
camera: IconCamera,
|
|
57
|
+
battery: IconBattery,
|
|
58
58
|
'no-wifi': IconNoWifi,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
gallery: IconGallery,
|
|
60
|
+
trash: IconTrash,
|
|
61
|
+
gps: IconGPS,
|
|
62
62
|
'box-later': IconBoxLater,
|
|
63
63
|
'flash-on': IconFlashOn,
|
|
64
64
|
'flash-off': IconFlashOff,
|
|
65
65
|
'flash-auto': IconFlashAuto,
|
|
66
66
|
'flip-camera': IconFlipCamera,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
67
|
+
tool: IconTool,
|
|
68
|
+
call: IconCall,
|
|
69
|
+
block: IconBlock,
|
|
70
|
+
search: IconSearch,
|
|
71
|
+
add: IconAdd,
|
|
72
|
+
pending: IconPending,
|
|
73
|
+
settings: IconSettings,
|
|
74
|
+
menu: IconMenu,
|
|
75
|
+
number: IconNumber,
|
|
76
|
+
edit: IconEdit,
|
|
77
77
|
'chevron-up': IconChevronUp,
|
|
78
78
|
'chevron-down': IconChevronDown,
|
|
79
|
-
|
|
79
|
+
refresh: IconRefresh,
|
|
80
80
|
'qr-code': IconQRCode,
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
barcode: IconBarCode,
|
|
82
|
+
map: IconMap,
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
export const iconsNames = Object.keys(icons) as IconName[];
|
|
@@ -95,8 +95,7 @@ function IconMap({
|
|
|
95
95
|
height={size}
|
|
96
96
|
fill={color}
|
|
97
97
|
viewBox="0 -960 960 960"
|
|
98
|
-
{...props}
|
|
99
|
-
>
|
|
98
|
+
{...props}>
|
|
100
99
|
<Path d="m574-129-214-75-186 72q-10 4-19.5 2.5T137-136q-8-5-12.5-13.5T120-169v-561q0-13 7.5-23t20.5-15l186-63q6-2 12.5-3t13.5-1q7 0 13.5 1t12.5 3l214 75 186-72q10-4 19.5-2.5T823-824q8 5 12.5 13.5T840-791v561q0 13-7.5 23T812-192l-186 63q-6 2-12.5 3t-13.5 1q-7 0-13.5-1t-12.5-3Zm-14-89v-468l-160-56v468l160 56Zm80 0 120-40v-474l-120 46v468Zm-440-10 120-46v-468l-120 40v474Zm440-458v468-468Zm-320-56v468-468Z" />
|
|
101
100
|
</Svg>
|
|
102
101
|
);
|
|
@@ -113,8 +112,7 @@ function IconBarCode({
|
|
|
113
112
|
height={size}
|
|
114
113
|
fill={color}
|
|
115
114
|
viewBox="0 -960 960 960"
|
|
116
|
-
{...props}
|
|
117
|
-
>
|
|
115
|
+
{...props}>
|
|
118
116
|
<Path d="M40-200v-560h80v560H40Zm120 0v-560h80v560h-80Zm120 0v-560h40v560h-40Zm120 0v-560h80v560h-80Zm120 0v-560h120v560H520Zm160 0v-560h40v560h-40Zm120 0v-560h120v560H800Z" />
|
|
119
117
|
</Svg>
|
|
120
118
|
);
|
|
@@ -131,8 +129,7 @@ function IconQRCode({
|
|
|
131
129
|
height={size}
|
|
132
130
|
fill={color}
|
|
133
131
|
viewBox="0 -960 960 960"
|
|
134
|
-
{...props}
|
|
135
|
-
>
|
|
132
|
+
{...props}>
|
|
136
133
|
<Path d="M120-680q-17 0-28.5-11.5T80-720v-120q0-17 11.5-28.5T120-880h120q17 0 28.5 11.5T280-840q0 17-11.5 28.5T240-800h-80v80q0 17-11.5 28.5T120-680Zm0 600q-17 0-28.5-11.5T80-120v-120q0-17 11.5-28.5T120-280q17 0 28.5 11.5T160-240v80h80q17 0 28.5 11.5T280-120q0 17-11.5 28.5T240-80H120Zm600 0q-17 0-28.5-11.5T680-120q0-17 11.5-28.5T720-160h80v-80q0-17 11.5-28.5T840-280q17 0 28.5 11.5T880-240v120q0 17-11.5 28.5T840-80H720Zm120-600q-17 0-28.5-11.5T800-720v-80h-80q-17 0-28.5-11.5T680-840q0-17 11.5-28.5T720-880h120q17 0 28.5 11.5T880-840v120q0 17-11.5 28.5T840-680ZM700-200v-60h60v60h-60Zm0-120v-60h60v60h-60Zm-60 60v-60h60v60h-60Zm-60 60v-60h60v60h-60Zm-60-60v-60h60v60h-60Zm120-120v-60h60v60h-60Zm-60 60v-60h60v60h-60Zm-60-60v-60h60v60h-60Zm40-140q-17 0-28.5-11.5T520-560v-160q0-17 11.5-28.5T560-760h160q17 0 28.5 11.5T760-720v160q0 17-11.5 28.5T720-520H560ZM240-200q-17 0-28.5-11.5T200-240v-160q0-17 11.5-28.5T240-440h160q17 0 28.5 11.5T440-400v160q0 17-11.5 28.5T400-200H240Zm0-320q-17 0-28.5-11.5T200-560v-160q0-17 11.5-28.5T240-760h160q17 0 28.5 11.5T440-720v160q0 17-11.5 28.5T400-520H240Zm20 260h120v-120H260v120Zm0-320h120v-120H260v120Zm320 0h120v-120H580v120Z" />
|
|
137
134
|
</Svg>
|
|
138
135
|
);
|
|
@@ -149,8 +146,7 @@ function IconRefresh({
|
|
|
149
146
|
height={size}
|
|
150
147
|
fill={color}
|
|
151
148
|
viewBox="0 -960 960 960"
|
|
152
|
-
{...props}
|
|
153
|
-
>
|
|
149
|
+
{...props}>
|
|
154
150
|
<Path d="M480-160q-134 0-227-93t-93-227q0-134 93-227t227-93q69 0 132 28.5T720-690v-70q0-17 11.5-28.5T760-800q17 0 28.5 11.5T800-760v200q0 17-11.5 28.5T760-520H560q-17 0-28.5-11.5T520-560q0-17 11.5-28.5T560-600h128q-32-56-87.5-88T480-720q-100 0-170 70t-70 170q0 100 70 170t170 70q68 0 124.5-34.5T692-367q8-14 22.5-19.5t29.5-.5q16 5 23 21t-1 30q-41 80-117 128t-169 48Z" />
|
|
155
151
|
</Svg>
|
|
156
152
|
);
|
|
@@ -167,8 +163,7 @@ function IconEdit({
|
|
|
167
163
|
height={size}
|
|
168
164
|
fill={color}
|
|
169
165
|
viewBox="0 -960 960 960"
|
|
170
|
-
{...props}
|
|
171
|
-
>
|
|
166
|
+
{...props}>
|
|
172
167
|
<Path d="M160-120q-17 0-28.5-11.5T120-160v-97q0-16 6-30.5t17-25.5l505-504q12-11 26.5-17t30.5-6q16 0 31 6t26 18l55 56q12 11 17.5 26t5.5 30q0 16-5.5 30.5T817-647L313-143q-11 11-25.5 17t-30.5 6h-97Zm544-528 56-56-56-56-56 56 56 56Z" />
|
|
173
168
|
</Svg>
|
|
174
169
|
);
|
|
@@ -185,8 +180,7 @@ function IconNumber({
|
|
|
185
180
|
height={size}
|
|
186
181
|
fill={color}
|
|
187
182
|
viewBox="0 -960 960 960"
|
|
188
|
-
{...props}
|
|
189
|
-
>
|
|
183
|
+
{...props}>
|
|
190
184
|
<Path d="m360-320-33 131q-3 13-13 21t-24 8q-19 0-31-15t-7-33l28-112H171q-20 0-32-15.5t-7-34.5q3-14 14-22t25-8h129l40-160H231q-20 0-32-15.5t-7-34.5q3-14 14-22t25-8h129l33-131q3-13 13-21t24-8q19 0 31 15t7 33l-28 112h160l33-131q3-13 13-21t24-8q19 0 31 15t7 33l-28 112h109q20 0 32 15.5t7 34.5q-3 14-14 22t-25 8H660l-40 160h109q20 0 32 15.5t7 34.5q-3 14-14 22t-25 8H600l-33 131q-3 13-13 21t-24 8q-19 0-31-15t-7-33l28-112H360Zm20-80h160l40-160H420l-40 160Z" />
|
|
191
185
|
</Svg>
|
|
192
186
|
);
|
|
@@ -203,8 +197,7 @@ function IconMenu({
|
|
|
203
197
|
height={size}
|
|
204
198
|
fill={color}
|
|
205
199
|
viewBox="0 -960 960 960"
|
|
206
|
-
{...props}
|
|
207
|
-
>
|
|
200
|
+
{...props}>
|
|
208
201
|
<Path d="M160-240q-17 0-28.5-11.5T120-280q0-17 11.5-28.5T160-320h640q17 0 28.5 11.5T840-280q0 17-11.5 28.5T800-240H160Zm0-200q-17 0-28.5-11.5T120-480q0-17 11.5-28.5T160-520h640q17 0 28.5 11.5T840-480q0 17-11.5 28.5T800-440H160Zm0-200q-17 0-28.5-11.5T120-680q0-17 11.5-28.5T160-720h640q17 0 28.5 11.5T840-680q0 17-11.5 28.5T800-640H160Z" />
|
|
209
202
|
</Svg>
|
|
210
203
|
);
|
|
@@ -221,8 +214,7 @@ function IconSettings({
|
|
|
221
214
|
height={size}
|
|
222
215
|
fill={color}
|
|
223
216
|
viewBox="0 -960 960 960"
|
|
224
|
-
{...props}
|
|
225
|
-
>
|
|
217
|
+
{...props}>
|
|
226
218
|
<Path d="M433-80q-27 0-46.5-18T363-142l-9-66q-13-5-24.5-12T307-235l-62 26q-25 11-50 2t-39-32l-47-82q-14-23-8-49t27-43l53-40q-1-7-1-13.5v-27q0-6.5 1-13.5l-53-40q-21-17-27-43t8-49l47-82q14-23 39-32t50 2l62 26q11-8 23-15t24-12l9-66q4-26 23.5-44t46.5-18h94q27 0 46.5 18t23.5 44l9 66q13 5 24.5 12t22.5 15l62-26q25-11 50-2t39 32l47 82q14 23 8 49t-27 43l-53 40q1 7 1 13.5v27q0 6.5-2 13.5l53 40q21 17 27 43t-8 49l-48 82q-14 23-39 32t-50-2l-60-26q-11 8-23 15t-24 12l-9 66q-4 26-23.5 44T527-80h-94Zm49-260q58 0 99-41t41-99q0-58-41-99t-99-41q-59 0-99.5 41T342-480q0 58 40.5 99t99.5 41Z" />
|
|
227
219
|
</Svg>
|
|
228
220
|
);
|
|
@@ -239,8 +231,7 @@ function IconPending({
|
|
|
239
231
|
height={size}
|
|
240
232
|
fill={color}
|
|
241
233
|
viewBox="0 -960 960 960"
|
|
242
|
-
{...props}
|
|
243
|
-
>
|
|
234
|
+
{...props}>
|
|
244
235
|
<Path d="M280-420q25 0 42.5-17.5T340-480q0-25-17.5-42.5T280-540q-25 0-42.5 17.5T220-480q0 25 17.5 42.5T280-420Zm200 0q25 0 42.5-17.5T540-480q0-25-17.5-42.5T480-540q-25 0-42.5 17.5T420-480q0 25 17.5 42.5T480-420Zm200 0q25 0 42.5-17.5T740-480q0-25-17.5-42.5T680-540q-25 0-42.5 17.5T620-480q0 25 17.5 42.5T680-420ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z" />
|
|
245
236
|
</Svg>
|
|
246
237
|
);
|
|
@@ -257,8 +248,7 @@ function IconAdd({
|
|
|
257
248
|
height={size}
|
|
258
249
|
fill={color}
|
|
259
250
|
viewBox="0 -960 960 960"
|
|
260
|
-
{...props}
|
|
261
|
-
>
|
|
251
|
+
{...props}>
|
|
262
252
|
<Path d="M440-440H240q-17 0-28.5-11.5T200-480q0-17 11.5-28.5T240-520h200v-200q0-17 11.5-28.5T480-760q17 0 28.5 11.5T520-720v200h200q17 0 28.5 11.5T760-480q0 17-11.5 28.5T720-440H520v200q0 17-11.5 28.5T480-200q-17 0-28.5-11.5T440-240v-200Z" />
|
|
263
253
|
</Svg>
|
|
264
254
|
);
|
|
@@ -275,8 +265,7 @@ function IconSearch({
|
|
|
275
265
|
height={size}
|
|
276
266
|
fill={color}
|
|
277
267
|
viewBox="0 -960 960 960"
|
|
278
|
-
{...props}
|
|
279
|
-
>
|
|
268
|
+
{...props}>
|
|
280
269
|
<Path d="M380-320q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l224 224q11 11 11 28t-11 28q-11 11-28 11t-28-11L532-372q-30 24-69 38t-83 14Zm0-80q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z" />
|
|
281
270
|
</Svg>
|
|
282
271
|
);
|
|
@@ -293,8 +282,7 @@ function IconBlock({
|
|
|
293
282
|
height={size}
|
|
294
283
|
fill={color}
|
|
295
284
|
viewBox="0 -960 960 960"
|
|
296
|
-
{...props}
|
|
297
|
-
>
|
|
285
|
+
{...props}>
|
|
298
286
|
<Path d="M480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q54 0 104-17.5t92-50.5L228-676q-33 42-50.5 92T160-480q0 134 93 227t227 93Zm252-124q33-42 50.5-92T800-480q0-134-93-227t-227-93q-54 0-104 17.5T284-732l448 448Z" />
|
|
299
287
|
</Svg>
|
|
300
288
|
);
|
|
@@ -311,8 +299,7 @@ function IconCall({
|
|
|
311
299
|
height={size}
|
|
312
300
|
fill={color}
|
|
313
301
|
viewBox="0 -960 960 960"
|
|
314
|
-
{...props}
|
|
315
|
-
>
|
|
302
|
+
{...props}>
|
|
316
303
|
<Path d="M798-120q-125 0-247-54.5T329-329Q229-429 174.5-551T120-798q0-18 12-30t30-12h162q14 0 25 9.5t13 22.5l26 140q2 16-1 27t-11 19l-97 98q20 37 47.5 71.5T387-386q31 31 65 57.5t72 48.5l94-94q9-9 23.5-13.5T670-390l138 28q14 4 23 14.5t9 23.5v162q0 18-12 30t-30 12Z" />
|
|
317
304
|
</Svg>
|
|
318
305
|
);
|
|
@@ -329,8 +316,7 @@ function IconTool({
|
|
|
329
316
|
height={size}
|
|
330
317
|
fill={color}
|
|
331
318
|
viewBox="0 -960 960 960"
|
|
332
|
-
{...props}
|
|
333
|
-
>
|
|
319
|
+
{...props}>
|
|
334
320
|
<Path d="M360-360q-100 0-170-70t-70-170q0-20 3-40t11-38q5-10 12.5-15t16.5-7q9-2 18.5.5T199-689l105 105 72-72-105-105q-8-8-10.5-17.5T260-797q2-9 7-16.5t15-12.5q18-8 38-11t40-3q100 0 170 70t70 170q0 23-4 43.5T584-516l202 200q29 29 29 71t-29 71q-29 29-71 29t-71-30L444-376q-20 8-40.5 12t-43.5 4Z" />
|
|
335
321
|
</Svg>
|
|
336
322
|
);
|
|
@@ -347,8 +333,7 @@ function IconFlipCamera({
|
|
|
347
333
|
height={size}
|
|
348
334
|
fill={color}
|
|
349
335
|
viewBox="0 -960 960 960"
|
|
350
|
-
{...props}
|
|
351
|
-
>
|
|
336
|
+
{...props}>
|
|
352
337
|
<Path d="M320-280q-33 0-56.5-23.5T240-360v-240q0-33 23.5-56.5T320-680h40l40-40h160l40 40h40q33 0 56.5 23.5T720-600v240q0 33-23.5 56.5T640-280H320Zm160-120q33 0 56.5-23.5T560-480q0-33-23.5-56.5T480-560q-33 0-56.5 23.5T400-480q0 33 23.5 56.5T480-400ZM342-940q34-11 68.5-15.5T480-960q94 0 177.5 33.5t148 93Q870-774 911-693.5T960-520h-80q-7-72-38-134.5T762.5-765Q714-813 651-842.5T516-878l62 62-56 56-180-180ZM618-20Q584-9 549.5-4.5T480 0q-94 0-177.5-33.5t-148-93Q90-186 49-266.5T0-440h80q8 72 38.5 134.5t79 110.5Q246-147 309-117.5T444-82l-62-62 56-56L618-20Z" />
|
|
353
338
|
</Svg>
|
|
354
339
|
);
|
|
@@ -365,8 +350,7 @@ function IconFlashAuto({
|
|
|
365
350
|
height={size}
|
|
366
351
|
fill={color}
|
|
367
352
|
viewBox="0 -960 960 960"
|
|
368
|
-
{...props}
|
|
369
|
-
>
|
|
353
|
+
{...props}>
|
|
370
354
|
<Path d="M200-80v-320H80v-480h400l-80 280h160L200-80Zm385-440 135-360h64l137 360h-62l-32-92H679l-32 92h-62Zm112-144h110l-53-150h-2l-55 150Z" />
|
|
371
355
|
</Svg>
|
|
372
356
|
);
|
|
@@ -383,8 +367,7 @@ function IconFlashOff({
|
|
|
383
367
|
height={size}
|
|
384
368
|
fill={color}
|
|
385
369
|
viewBox="0 -960 960 960"
|
|
386
|
-
{...props}
|
|
387
|
-
>
|
|
370
|
+
{...props}>
|
|
388
371
|
<Path d="M280-880h400l-80 280h160L643-431 280-794v-86ZM400-80v-320H280v-166L55-791l57-57 736 736-57 57-241-241L400-80Z" />
|
|
389
372
|
</Svg>
|
|
390
373
|
);
|
|
@@ -401,8 +384,7 @@ function IconFlashOn({
|
|
|
401
384
|
height={size}
|
|
402
385
|
fill={color}
|
|
403
386
|
viewBox="0 -960 960 960"
|
|
404
|
-
{...props}
|
|
405
|
-
>
|
|
387
|
+
{...props}>
|
|
406
388
|
<Path d="M400-80v-320H280v-480h400l-80 280h160L400-80Z" />
|
|
407
389
|
</Svg>
|
|
408
390
|
);
|
|
@@ -460,8 +442,7 @@ function IconGallery({
|
|
|
460
442
|
height={size}
|
|
461
443
|
viewBox="0 -960 960 960"
|
|
462
444
|
fill={color}
|
|
463
|
-
{...props}
|
|
464
|
-
>
|
|
445
|
+
{...props}>
|
|
465
446
|
<Path d="M120-200q-33 0-56.5-23.5T40-280v-400q0-33 23.5-56.5T120-760h400q33 0 56.5 23.5T600-680v400q0 33-23.5 56.5T520-200H120Zm600-320q-17 0-28.5-11.5T680-560v-160q0-17 11.5-28.5T720-760h160q17 0 28.5 11.5T920-720v160q0 17-11.5 28.5T880-520H720Zm40-80h80v-80h-80v80ZM120-280h400v-400H120v400Zm40-80h320L375-500l-75 100-55-73-85 113Zm560 160q-17 0-28.5-11.5T680-240v-160q0-17 11.5-28.5T720-440h160q17 0 28.5 11.5T920-400v160q0 17-11.5 28.5T880-200H720Zm40-80h80v-80h-80v80Zm-640 0v-400 400Zm640-320v-80 80Zm0 320v-80 80Z" />
|
|
466
447
|
</Svg>
|
|
467
448
|
);
|
|
@@ -478,8 +459,7 @@ function IconCheckOutlined({
|
|
|
478
459
|
height={size + 1}
|
|
479
460
|
fill="none"
|
|
480
461
|
viewBox="0 0 80 81"
|
|
481
|
-
{...props}
|
|
482
|
-
>
|
|
462
|
+
{...props}>
|
|
483
463
|
<Path
|
|
484
464
|
fill={color}
|
|
485
465
|
d="m33.89 48.604-8.586-8.47c-.435-.436-.853-.669-1.252-.698-.4-.03-.847.202-1.342.697-.495.495-.742.947-.742 1.355 0 .409.247.86.742 1.355l8.9 8.9c.674.674 1.434 1.011 2.28 1.011.848 0 1.608-.337 2.282-1.01l20.939-20.94c.435-.435.668-.872.698-1.31.03-.439-.203-.905-.698-1.4-.495-.495-.927-.742-1.297-.742-.37 0-.802.247-1.297.742l-20.626 20.51ZM40.017 80.5c-5.479 0-10.65-1.04-15.513-3.12-4.863-2.081-9.122-4.947-12.775-8.596-3.653-3.65-6.521-7.904-8.604-12.763C1.04 51.163 0 45.994 0 40.516c0-5.556 1.04-10.747 3.12-15.571 2.081-4.825 4.947-9.064 8.596-12.717 3.65-3.653 7.904-6.521 12.763-8.604C29.337 1.541 34.506.5 39.984.5c5.556 0 10.747 1.04 15.571 3.12 4.825 2.081 9.064 4.947 12.717 8.596 3.653 3.65 6.521 7.885 8.604 12.705C78.959 29.74 80 34.928 80 40.484c0 5.479-1.04 10.65-3.12 15.513-2.081 4.864-4.947 9.122-8.596 12.775-3.65 3.653-7.885 6.521-12.705 8.604C50.76 79.46 45.571 80.5 40.016 80.5ZM40 76.78c10.078 0 18.643-3.528 25.698-10.582 7.054-7.055 10.581-15.62 10.581-25.698 0-10.078-3.527-18.643-10.581-25.698C58.643 7.748 50.078 4.221 40 4.221c-10.078 0-18.643 3.527-25.698 10.581C7.248 21.857 3.721 30.422 3.721 40.5c0 10.078 3.527 18.643 10.581 25.698C21.357 73.252 29.922 76.779 40 76.779Z"
|
|
@@ -499,8 +479,7 @@ function IconCheckAlt({
|
|
|
499
479
|
height={size}
|
|
500
480
|
fill="none"
|
|
501
481
|
viewBox="0 0 17 16"
|
|
502
|
-
{...props}
|
|
503
|
-
>
|
|
482
|
+
{...props}>
|
|
504
483
|
<Path
|
|
505
484
|
fill={color}
|
|
506
485
|
d="m6.65 10.1 5.65-5.65a.649.649 0 0 1 .475-.2c.184 0 .342.067.476.2.133.133.2.292.2.475a.649.649 0 0 1-.2.475l-6.134 6.133a.64.64 0 0 1-.466.2.64.64 0 0 1-.467-.2L3.317 8.667a.62.62 0 0 1-.191-.475.68.68 0 0 1 .208-.475.649.649 0 0 1 .475-.2c.183 0 .342.066.475.2L6.65 10.1Z"
|
|
@@ -633,8 +612,7 @@ function IconWarningOutline({
|
|
|
633
612
|
height={size}
|
|
634
613
|
fill={color}
|
|
635
614
|
viewBox="0 -960 960 960"
|
|
636
|
-
{...props}
|
|
637
|
-
>
|
|
615
|
+
{...props}>
|
|
638
616
|
<Path d="M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480v-160q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640v160q0 17 11.5 28.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" />
|
|
639
617
|
</Svg>
|
|
640
618
|
);
|
|
@@ -666,8 +644,7 @@ function IconPause({
|
|
|
666
644
|
height={size}
|
|
667
645
|
fill="none"
|
|
668
646
|
viewBox="0 0 25 24"
|
|
669
|
-
{...props}
|
|
670
|
-
>
|
|
647
|
+
{...props}>
|
|
671
648
|
<Path
|
|
672
649
|
fill={color}
|
|
673
650
|
d="M10.148 16c.283 0 .52-.096.712-.287a.968.968 0 0 0 .288-.713V9a.967.967 0 0 0-.288-.713.967.967 0 0 0-.712-.287.968.968 0 0 0-.713.287.968.968 0 0 0-.287.713v6c0 .283.096.52.287.713.192.191.43.287.713.287Zm4 0c.283 0 .52-.096.712-.287a.968.968 0 0 0 .288-.713V9a.967.967 0 0 0-.288-.713.967.967 0 0 0-.712-.287.968.968 0 0 0-.713.287.968.968 0 0 0-.287.713v6c0 .283.096.52.287.713.192.191.43.287.713.287Zm-2 6a9.737 9.737 0 0 1-3.9-.788 10.099 10.099 0 0 1-3.175-2.137c-.9-.9-1.613-1.958-2.138-3.175a9.738 9.738 0 0 1-.787-3.9c0-1.383.262-2.683.787-3.9a10.099 10.099 0 0 1 2.138-3.175c.9-.9 1.958-1.612 3.175-2.137a9.737 9.737 0 0 1 3.9-.788c1.383 0 2.683.263 3.9.788a10.098 10.098 0 0 1 3.175 2.137c.9.9 1.612 1.958 2.137 3.175a9.738 9.738 0 0 1 .788 3.9 9.738 9.738 0 0 1-.788 3.9 10.097 10.097 0 0 1-2.137 3.175c-.9.9-1.958 1.613-3.175 2.137a9.737 9.737 0 0 1-3.9.788Zm0-2c2.233 0 4.125-.775 5.675-2.325 1.55-1.55 2.325-3.442 2.325-5.675 0-2.233-.775-4.125-2.325-5.675C16.273 4.775 14.38 4 12.148 4c-2.233 0-4.125.775-5.675 2.325C4.923 7.875 4.148 9.767 4.148 12c0 2.233.775 4.125 2.325 5.675C8.023 19.225 9.915 20 12.148 20Z"
|
|
@@ -683,16 +660,14 @@ function IconTruckAlt({ size = 15, ...props }: IconProps) {
|
|
|
683
660
|
height={size}
|
|
684
661
|
fill="none"
|
|
685
662
|
viewBox="0 0 17 16"
|
|
686
|
-
{...props}
|
|
687
|
-
>
|
|
663
|
+
{...props}>
|
|
688
664
|
<Mask
|
|
689
665
|
id="a"
|
|
690
666
|
width={size + 1}
|
|
691
667
|
height={size}
|
|
692
668
|
x={0}
|
|
693
669
|
y={0}
|
|
694
|
-
maskUnits="userSpaceOnUse"
|
|
695
|
-
>
|
|
670
|
+
maskUnits="userSpaceOnUse">
|
|
696
671
|
<Path fill="#D9D9D9" d="M.568 0h16v16h-16z" />
|
|
697
672
|
</Mask>
|
|
698
673
|
<G mask="url(#a)">
|
|
@@ -731,8 +706,7 @@ function IconCalendarAlt({
|
|
|
731
706
|
height={size + 1}
|
|
732
707
|
viewBox="0 0 14 15"
|
|
733
708
|
fill="none"
|
|
734
|
-
{...props}
|
|
735
|
-
>
|
|
709
|
+
{...props}>
|
|
736
710
|
<Path
|
|
737
711
|
fill={color}
|
|
738
712
|
d="M2.917 13.334c-.321 0-.596-.115-.824-.343a1.124 1.124 0 0 1-.343-.824V4c0-.32.114-.595.343-.824.228-.228.503-.342.824-.342H3.5V2.25c0-.165.056-.303.168-.415a.564.564 0 0 1 .415-.168c.166 0 .304.056.416.168.112.112.168.25.168.415v.584h4.666V2.25c0-.165.056-.303.168-.415a.564.564 0 0 1 .416-.168c.165 0 .303.056.415.168.112.112.168.25.168.415v.584h.583c.321 0 .596.114.824.342.229.229.343.503.343.824v8.167c0 .32-.114.595-.343.824a1.124 1.124 0 0 1-.824.343H2.917Zm0-1.167h8.166V6.334H2.917v5.833ZM7 8.667a.564.564 0 0 1-.416-.168.564.564 0 0 1-.167-.415c0-.166.056-.304.167-.416A.564.564 0 0 1 7 7.5c.165 0 .304.056.416.168.111.112.167.25.167.416a.564.564 0 0 1-.167.415.564.564 0 0 1-.416.168Zm-2.333 0a.564.564 0 0 1-.416-.168.564.564 0 0 1-.168-.415c0-.166.056-.304.168-.416a.564.564 0 0 1 .416-.168c.165 0 .303.056.415.168.112.112.168.25.168.416a.564.564 0 0 1-.168.415.564.564 0 0 1-.415.168Zm4.666 0a.564.564 0 0 1-.415-.168.564.564 0 0 1-.168-.415c0-.166.056-.304.168-.416a.564.564 0 0 1 .415-.168c.166 0 .304.056.416.168.112.112.168.25.168.416a.564.564 0 0 1-.168.415.564.564 0 0 1-.416.168ZM7 11a.564.564 0 0 1-.416-.167.564.564 0 0 1-.167-.416c0-.165.056-.304.167-.416A.564.564 0 0 1 7 9.834c.165 0 .304.056.416.167.111.112.167.25.167.416a.564.564 0 0 1-.167.416A.564.564 0 0 1 7 11Zm-2.333 0a.564.564 0 0 1-.416-.167.564.564 0 0 1-.168-.416c0-.165.056-.304.168-.416a.564.564 0 0 1 .416-.167c.165 0 .303.056.415.167.112.112.168.25.168.416a.564.564 0 0 1-.168.416.564.564 0 0 1-.415.167Zm4.666 0a.564.564 0 0 1-.415-.167.564.564 0 0 1-.168-.416c0-.165.056-.304.168-.416a.564.564 0 0 1 .415-.167c.166 0 .304.056.416.167.112.112.168.25.168.416a.564.564 0 0 1-.168.416.564.564 0 0 1-.416.167Z"
|
|
@@ -799,8 +773,7 @@ function IconChevronUp({
|
|
|
799
773
|
fill={color}
|
|
800
774
|
viewBox="0 -960 960 960"
|
|
801
775
|
style={[{ transform: [{ rotateZ: '90deg' }] }, style]}
|
|
802
|
-
{...props}
|
|
803
|
-
>
|
|
776
|
+
{...props}>
|
|
804
777
|
<Path d="m432-480 156 156q11 11 11 28t-11 28q-11 11-28 11t-28-11L348-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 28-11t28 11q11 11 11 28t-11 28L432-480Z" />
|
|
805
778
|
</Svg>
|
|
806
779
|
);
|
|
@@ -819,8 +792,7 @@ function IconChevronDown({
|
|
|
819
792
|
fill={color}
|
|
820
793
|
viewBox="0 -960 960 960"
|
|
821
794
|
style={[{ transform: [{ rotateZ: '-90deg' }] }, style]}
|
|
822
|
-
{...props}
|
|
823
|
-
>
|
|
795
|
+
{...props}>
|
|
824
796
|
<Path d="m432-480 156 156q11 11 11 28t-11 28q-11 11-28 11t-28-11L348-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 28-11t28 11q11 11 11 28t-11 28L432-480Z" />
|
|
825
797
|
</Svg>
|
|
826
798
|
);
|
|
@@ -839,8 +811,7 @@ function IconChevronRight({
|
|
|
839
811
|
fill={color}
|
|
840
812
|
viewBox="0 -960 960 960"
|
|
841
813
|
style={[{ transform: [{ rotateZ: '180deg' }] }, style]}
|
|
842
|
-
{...props}
|
|
843
|
-
>
|
|
814
|
+
{...props}>
|
|
844
815
|
<Path d="m432-480 156 156q11 11 11 28t-11 28q-11 11-28 11t-28-11L348-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 28-11t28 11q11 11 11 28t-11 28L432-480Z" />
|
|
845
816
|
</Svg>
|
|
846
817
|
);
|
|
@@ -857,8 +828,7 @@ function IconChevronLeft({
|
|
|
857
828
|
height={size}
|
|
858
829
|
fill={color}
|
|
859
830
|
viewBox="0 -960 960 960"
|
|
860
|
-
{...props}
|
|
861
|
-
>
|
|
831
|
+
{...props}>
|
|
862
832
|
<Path d="m432-480 156 156q11 11 11 28t-11 28q-11 11-28 11t-28-11L348-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 28-11t28 11q11 11 11 28t-11 28L432-480Z" />
|
|
863
833
|
</Svg>
|
|
864
834
|
);
|
|
@@ -875,8 +845,7 @@ function IconTruck({
|
|
|
875
845
|
height={size + 1}
|
|
876
846
|
viewBox="0 0 28 29"
|
|
877
847
|
fill="none"
|
|
878
|
-
{...props}
|
|
879
|
-
>
|
|
848
|
+
{...props}>
|
|
880
849
|
<Path
|
|
881
850
|
fill={color}
|
|
882
851
|
d="M7.244 23.827c-.954 0-1.765-.334-2.432-1.002-.668-.668-1.002-1.479-1.002-2.432H2.665c-.324 0-.596-.11-.815-.33-.22-.219-.33-.49-.33-.815V7.8c0-.63.225-1.168.673-1.617a2.205 2.205 0 0 1 1.617-.672h13.736c.63 0 1.169.224 1.617.672.448.449.672.988.672 1.617v2.29h2.29c.362 0 .706.08 1.03.243.324.162.591.386.801.672l2.518 3.348c.077.096.134.2.172.315.038.115.057.239.057.372v4.207c0 .324-.11.596-.329.816-.22.219-.49.329-.815.329h-1.145c0 .953-.334 1.764-1.002 2.432-.667.668-1.478 1.002-2.432 1.002s-1.765-.334-2.432-1.002c-.668-.668-1.002-1.479-1.002-2.432h-6.868c0 .953-.334 1.764-1.002 2.432-.667.668-1.478 1.002-2.432 1.002Zm0-2.29c.324 0 .596-.11.816-.329.219-.22.329-.491.329-.815 0-.325-.11-.597-.33-.816-.219-.22-.49-.33-.815-.33-.324 0-.596.11-.815.33-.22.22-.33.491-.33.816 0 .324.11.596.33.815.219.22.49.33.815.33Zm13.736 0c.324 0 .596-.11.816-.329.219-.22.329-.491.329-.815 0-.325-.11-.597-.33-.816-.219-.22-.49-.33-.815-.33-.324 0-.596.11-.816.33-.219.22-.329.491-.329.816 0 .324.11.596.33.815.219.22.49.33.815.33Zm-1.145-5.723H24.7l-2.575-3.434h-2.29v3.434Z"
|
|
@@ -971,8 +940,7 @@ function IconPlay({
|
|
|
971
940
|
height={size}
|
|
972
941
|
fill="none"
|
|
973
942
|
viewBox="0 0 25 24"
|
|
974
|
-
{...props}
|
|
975
|
-
>
|
|
943
|
+
{...props}>
|
|
976
944
|
<Path
|
|
977
945
|
fill={color}
|
|
978
946
|
d="m11.39 15.75 4.875-3.125a.705.705 0 0 0 .35-.625.705.705 0 0 0-.35-.625L11.39 8.25a.688.688 0 0 0-.763-.037.705.705 0 0 0-.387.662v6.25c0 .3.129.52.387.662.259.142.513.13.763-.037ZM12.74 22a9.737 9.737 0 0 1-3.9-.788 10.099 10.099 0 0 1-3.175-2.137c-.9-.9-1.613-1.958-2.138-3.175A9.738 9.738 0 0 1 2.74 12c0-1.383.262-2.683.787-3.9a10.099 10.099 0 0 1 2.138-3.175c.9-.9 1.958-1.612 3.175-2.137A9.737 9.737 0 0 1 12.74 2c1.383 0 2.683.263 3.9.788a10.098 10.098 0 0 1 3.175 2.137c.9.9 1.612 1.958 2.137 3.175a9.738 9.738 0 0 1 .788 3.9 9.738 9.738 0 0 1-.788 3.9 10.098 10.098 0 0 1-2.137 3.175c-.9.9-1.959 1.613-3.175 2.137a9.737 9.737 0 0 1-3.9.788Zm0-2c2.233 0 4.125-.775 5.675-2.325 1.55-1.55 2.325-3.442 2.325-5.675 0-2.233-.775-4.125-2.325-5.675C16.865 4.775 14.973 4 12.74 4c-2.234 0-4.125.775-5.675 2.325C5.515 7.875 4.74 9.767 4.74 12c0 2.233.775 4.125 2.325 5.675C8.615 19.225 10.506 20 12.74 20Z"
|
|
@@ -993,8 +961,7 @@ function IconExit({
|
|
|
993
961
|
fill={color}
|
|
994
962
|
color={color}
|
|
995
963
|
viewBox="0 0 512 512"
|
|
996
|
-
{...props}
|
|
997
|
-
>
|
|
964
|
+
{...props}>
|
|
998
965
|
<Path d="M160 416H96c-17.67 0-32-14.33-32-32V128c0-17.67 14.33-32 32-32h64c17.67 0 32-14.33 32-32s-14.3-32-32-32H96C42.98 32 0 74.98 0 128v256c0 53.02 42.98 96 96 96h64c17.67 0 32-14.33 32-32s-14.3-32-32-32zm342.6-182.6-128-128c-12.51-12.51-32.76-12.49-45.25 0-12.5 12.5-12.5 32.75 0 45.25L402.8 224H192c-17.7 0-32 14.3-32 32s14.31 32 32 32h210.8l-73.38 73.38c-12.5 12.5-12.5 32.75 0 45.25s32.75 12.5 45.25 0l128-128c12.43-12.53 12.43-32.73-.07-45.23z" />
|
|
999
966
|
</Svg>
|
|
1000
967
|
);
|
|
@@ -1007,8 +974,7 @@ function IconClose({ size = 24, color = '#555', ...props }: IconProps) {
|
|
|
1007
974
|
height={size + 1}
|
|
1008
975
|
fill="none"
|
|
1009
976
|
viewBox="0 0 20 21"
|
|
1010
|
-
{...props}
|
|
1011
|
-
>
|
|
977
|
+
{...props}>
|
|
1012
978
|
<Path
|
|
1013
979
|
fill={color}
|
|
1014
980
|
d="m10 11.836-4.083 4.083a.79.79 0 0 1-.584.23.79.79 0 0 1-.583-.23.79.79 0 0 1-.23-.583.79.79 0 0 1 .23-.584l4.083-4.083L4.75 6.586a.79.79 0 0 1-.23-.584.79.79 0 0 1 .23-.583.79.79 0 0 1 .583-.23.79.79 0 0 1 .584.23L10 9.502l4.083-4.083a.79.79 0 0 1 .584-.23.79.79 0 0 1 .583.23.79.79 0 0 1 .23.583.79.79 0 0 1-.23.584l-4.083 4.083 4.083 4.083a.79.79 0 0 1 .23.584.79.79 0 0 1-.23.583.79.79 0 0 1-.583.23.79.79 0 0 1-.584-.23L10 11.836Z"
|
|
@@ -1065,8 +1031,7 @@ function IconComment({
|
|
|
1065
1031
|
height={size}
|
|
1066
1032
|
fill="none"
|
|
1067
1033
|
viewBox="0 0 25 24"
|
|
1068
|
-
{...props}
|
|
1069
|
-
>
|
|
1034
|
+
{...props}>
|
|
1070
1035
|
<Path
|
|
1071
1036
|
fill={color}
|
|
1072
1037
|
d="m6.148 18-2.3 2.3c-.317.317-.68.387-1.088.212-.408-.175-.612-.487-.612-.937V4c0-.55.196-1.02.587-1.413A1.926 1.926 0 0 1 4.148 2h16c.55 0 1.02.196 1.412.587.392.392.588.863.588 1.413v12c0 .55-.196 1.02-.588 1.413a1.926 1.926 0 0 1-1.412.587h-14Zm-.85-2h14.85V4h-16v13.125L5.298 16Zm1.85-2h6c.283 0 .52-.096.712-.287a.968.968 0 0 0 .288-.713.968.968 0 0 0-.288-.713.967.967 0 0 0-.712-.287h-6a.967.967 0 0 0-.713.287.968.968 0 0 0-.287.713c0 .283.096.52.287.713.192.191.43.287.713.287Zm0-3h10c.283 0 .52-.096.712-.287a.968.968 0 0 0 .288-.713.967.967 0 0 0-.288-.713.967.967 0 0 0-.712-.287h-10a.968.968 0 0 0-.713.287.968.968 0 0 0-.287.713c0 .283.096.52.287.713.192.191.43.287.713.287Zm0-3h10c.283 0 .52-.096.712-.287A.967.967 0 0 0 18.148 7a.967.967 0 0 0-.288-.713.967.967 0 0 0-.712-.287h-10a.968.968 0 0 0-.713.287.968.968 0 0 0-.287.713c0 .283.096.52.287.713.192.191.43.287.713.287Z"
|
|
@@ -28,9 +28,8 @@ export const UIProgress = React.memo(
|
|
|
28
28
|
return (
|
|
29
29
|
<View style={styles.wrapper}>
|
|
30
30
|
<View
|
|
31
|
-
onLayout={
|
|
32
|
-
style={[styles.outer, outerStyle]}
|
|
33
|
-
>
|
|
31
|
+
onLayout={e => setWidth(e.nativeEvent.layout.width)}
|
|
32
|
+
style={[styles.outer, outerStyle]}>
|
|
34
33
|
<Animated.View style={[styles.inner, animatedStyles, innerStyle]} />
|
|
35
34
|
</View>
|
|
36
35
|
</View>
|
|
@@ -79,7 +79,7 @@ export const UIActionSheet = ({
|
|
|
79
79
|
});
|
|
80
80
|
|
|
81
81
|
const onGesture = Gesture.Pan()
|
|
82
|
-
.onUpdate(
|
|
82
|
+
.onUpdate(e => {
|
|
83
83
|
'worklet';
|
|
84
84
|
const newPosition = e.translationY * 0.9;
|
|
85
85
|
progress.value = interpolate(
|
|
@@ -89,7 +89,7 @@ export const UIActionSheet = ({
|
|
|
89
89
|
Extrapolation.CLAMP
|
|
90
90
|
);
|
|
91
91
|
})
|
|
92
|
-
.onEnd(
|
|
92
|
+
.onEnd(e => {
|
|
93
93
|
'worklet';
|
|
94
94
|
const keepOpen = e.translationY < height.value * 0.5;
|
|
95
95
|
if (keepOpen) {
|
|
@@ -104,7 +104,7 @@ export const UIActionSheet = ({
|
|
|
104
104
|
progress.value = withTiming(0, ANIMATION_OPTIONS);
|
|
105
105
|
setOpen(true);
|
|
106
106
|
} else {
|
|
107
|
-
progress.value = withTiming(-1, ANIMATION_OPTIONS,
|
|
107
|
+
progress.value = withTiming(-1, ANIMATION_OPTIONS, finished => {
|
|
108
108
|
if (finished) {
|
|
109
109
|
runOnJS(setOpen)(false);
|
|
110
110
|
}
|
|
@@ -147,13 +147,11 @@ export const UIActionSheet = ({
|
|
|
147
147
|
{ bottom: 0, paddingBottom: Math.max(0, insets.bottom) },
|
|
148
148
|
{ zIndex: 15 + (zIndexOffset ?? 0) },
|
|
149
149
|
style,
|
|
150
|
-
]}
|
|
151
|
-
>
|
|
150
|
+
]}>
|
|
152
151
|
<UIStack
|
|
153
|
-
onLayout={
|
|
152
|
+
onLayout={e => {
|
|
154
153
|
headerHeight.value = e.nativeEvent.layout.height;
|
|
155
|
-
}}
|
|
156
|
-
>
|
|
154
|
+
}}>
|
|
157
155
|
<GestureDetector gesture={onGesture}>
|
|
158
156
|
<View style={styles.gestureBarContainer}>
|
|
159
157
|
<View style={styles.gestureBar} />
|
|
@@ -168,18 +166,16 @@ export const UIActionSheet = ({
|
|
|
168
166
|
testID="action-sheet-close"
|
|
169
167
|
accessibilityLabel="action-sheet-close"
|
|
170
168
|
onPress={onRequestClose}
|
|
171
|
-
style={styles.close}
|
|
172
|
-
>
|
|
169
|
+
style={styles.close}>
|
|
173
170
|
<UIIcon name="close" size={20} />
|
|
174
171
|
</UIButton>
|
|
175
172
|
</UIStack>
|
|
176
173
|
</UIStack>
|
|
177
174
|
<Animated.View
|
|
178
|
-
onLayout={
|
|
175
|
+
onLayout={e => {
|
|
179
176
|
bodyHeight.value = e.nativeEvent.layout.height;
|
|
180
177
|
}}
|
|
181
|
-
style={!noPaddingBottom && styles.body}
|
|
182
|
-
>
|
|
178
|
+
style={!noPaddingBottom && styles.body}>
|
|
183
179
|
{children}
|
|
184
180
|
</Animated.View>
|
|
185
181
|
</Animated.View>
|
|
@@ -159,8 +159,7 @@ export const UIButton = ({
|
|
|
159
159
|
buttonStyle,
|
|
160
160
|
]}
|
|
161
161
|
disabled={disabled || loading}
|
|
162
|
-
{...props}
|
|
163
|
-
>
|
|
162
|
+
{...props}>
|
|
164
163
|
{loading ? <UILoading color={loadingColor} size={20} /> : children}
|
|
165
164
|
</Pressable>
|
|
166
165
|
</View>
|
|
@@ -168,20 +167,20 @@ export const UIButton = ({
|
|
|
168
167
|
};
|
|
169
168
|
|
|
170
169
|
const styles = StyleSheet.create({
|
|
171
|
-
|
|
170
|
+
common: {
|
|
172
171
|
borderRadius: 16,
|
|
173
172
|
padding: 18,
|
|
174
173
|
borderWidth: 1,
|
|
175
174
|
},
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
wrapper: { overflow: 'hidden', borderRadius: 16 },
|
|
176
|
+
text: {
|
|
178
177
|
borderColor: 'transparent',
|
|
179
178
|
},
|
|
180
|
-
|
|
179
|
+
contained: {
|
|
181
180
|
backgroundColor: theme.color.brand.violet['500'],
|
|
182
181
|
borderColor: 'transparent',
|
|
183
182
|
},
|
|
184
|
-
|
|
183
|
+
outlined: { borderColor: theme.color.neutral.light['00'], borderWidth: 1 },
|
|
185
184
|
'contained-disabled': {
|
|
186
185
|
backgroundColor: theme.color.neutral.light['10'],
|
|
187
186
|
},
|
|
@@ -28,14 +28,14 @@ export const UICurrencyInput = ({
|
|
|
28
28
|
return (
|
|
29
29
|
<CurrencyInput
|
|
30
30
|
value={value}
|
|
31
|
-
onChangeValue={
|
|
31
|
+
onChangeValue={value => {
|
|
32
32
|
onChangeValue?.(value);
|
|
33
33
|
setValue(value);
|
|
34
34
|
}}
|
|
35
35
|
delimiter="."
|
|
36
36
|
separator=","
|
|
37
37
|
precision={precision}
|
|
38
|
-
renderTextInput={
|
|
38
|
+
renderTextInput={textInputProps => (
|
|
39
39
|
<UITextInput {...props} {...textInputProps} />
|
|
40
40
|
)}
|
|
41
41
|
/>
|