@chekinapp/ui 0.0.93 → 0.0.94
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/dist/index.cjs +11 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -334,11 +334,14 @@ __export(index_exports, {
|
|
|
334
334
|
buttonVariants: () => buttonVariants,
|
|
335
335
|
calendarClassNames: () => calendarClassNames,
|
|
336
336
|
cn: () => cn,
|
|
337
|
+
compressFile: () => compressFile,
|
|
338
|
+
compressImage: () => compressImage,
|
|
337
339
|
copyToClipboard: () => copyToClipboard,
|
|
338
340
|
createDisabledMatchers: () => createDisabledMatchers,
|
|
339
341
|
emptyMediaVariants: () => emptyMediaVariants,
|
|
340
342
|
formatDate: () => formatDate,
|
|
341
343
|
getErrorMessage: () => getErrorMessage,
|
|
344
|
+
getFileSizeMB: () => getFileSizeMB,
|
|
342
345
|
getScrollableAreaState: () => getScrollableAreaState,
|
|
343
346
|
getSidebarState: () => getSidebarState,
|
|
344
347
|
isDayBlocked: () => isDayBlocked,
|
|
@@ -11169,7 +11172,11 @@ async function compressImage(image) {
|
|
|
11169
11172
|
},
|
|
11170
11173
|
error: (error) => {
|
|
11171
11174
|
if (error.message.includes("Failed to load the image")) {
|
|
11172
|
-
reject(
|
|
11175
|
+
reject(
|
|
11176
|
+
new Error(
|
|
11177
|
+
"Unable to process the selected image. Please try a different image."
|
|
11178
|
+
)
|
|
11179
|
+
);
|
|
11173
11180
|
return;
|
|
11174
11181
|
}
|
|
11175
11182
|
reject(error);
|
|
@@ -19157,11 +19164,14 @@ AirbnbSearchInput.displayName = "AirbnbSearchInput";
|
|
|
19157
19164
|
buttonVariants,
|
|
19158
19165
|
calendarClassNames,
|
|
19159
19166
|
cn,
|
|
19167
|
+
compressFile,
|
|
19168
|
+
compressImage,
|
|
19160
19169
|
copyToClipboard,
|
|
19161
19170
|
createDisabledMatchers,
|
|
19162
19171
|
emptyMediaVariants,
|
|
19163
19172
|
formatDate,
|
|
19164
19173
|
getErrorMessage,
|
|
19174
|
+
getFileSizeMB,
|
|
19165
19175
|
getScrollableAreaState,
|
|
19166
19176
|
getSidebarState,
|
|
19167
19177
|
isDayBlocked,
|