@masters-union/union-stack 0.3.1 → 0.3.3
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/README.md +119 -0
- package/dist/cdn/loader.v1.global.js +1 -1
- package/dist/cdn/loader.v1.global.js.map +1 -1
- package/dist/{chunk-JHANJOHS.js → chunk-NGCMFOZO.js} +3 -3
- package/dist/{chunk-JHANJOHS.js.map → chunk-NGCMFOZO.js.map} +1 -1
- package/dist/{chunk-FFNVWHSR.cjs → chunk-QNU6GP55.cjs} +3 -3
- package/dist/{chunk-FFNVWHSR.cjs.map → chunk-QNU6GP55.cjs.map} +1 -1
- package/dist/{client-C3JZYYpA.d.cts → client-I6TadQ-m.d.cts} +2 -1
- package/dist/{client-C3JZYYpA.d.ts → client-I6TadQ-m.d.ts} +2 -1
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/picker.cjs +1 -0
- package/dist/picker.cjs.map +1 -1
- package/dist/picker.d.cts +2 -2
- package/dist/picker.d.ts +2 -2
- package/dist/picker.js +1 -0
- package/dist/picker.js.map +1 -1
- package/dist/react.cjs +2 -2
- package/dist/react.d.cts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.js +1 -1
- package/package.json +1 -1
package/dist/react.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQNU6GP55_cjs = require('./chunk-QNU6GP55.cjs');
|
|
4
4
|
var React3 = require('react');
|
|
5
5
|
|
|
6
6
|
function _interopNamespace(e) {
|
|
@@ -26,7 +26,7 @@ var React3__namespace = /*#__PURE__*/_interopNamespace(React3);
|
|
|
26
26
|
var UnionStackContext = React3__namespace.createContext(null);
|
|
27
27
|
function UnionStackProvider({ children, ...cfg }) {
|
|
28
28
|
const client = React3__namespace.useMemo(
|
|
29
|
-
() => new
|
|
29
|
+
() => new chunkQNU6GP55_cjs.UnionStackClient(cfg),
|
|
30
30
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
31
31
|
[cfg.apiKey, cfg.chunkSize]
|
|
32
32
|
);
|
package/dist/react.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { C as ClientConfig, U as UnionStackClient, f as UploadedFile, a as PickedFile, c as UploadError, B as BatchUploadOptions, P as PickResponse, g as PickerOptions } from './client-
|
|
3
|
-
export { i as PickerBranding, h as PickerHandle, j as PickerTheme, b as ProgressEvent, d as UploadErrorCode, e as UploadOptions } from './client-
|
|
2
|
+
import { C as ClientConfig, U as UnionStackClient, f as UploadedFile, a as PickedFile, c as UploadError, B as BatchUploadOptions, P as PickResponse, g as PickerOptions } from './client-I6TadQ-m.cjs';
|
|
3
|
+
export { i as PickerBranding, h as PickerHandle, j as PickerTheme, b as ProgressEvent, d as UploadErrorCode, e as UploadOptions } from './client-I6TadQ-m.cjs';
|
|
4
4
|
|
|
5
5
|
interface UnionStackProviderProps extends ClientConfig {
|
|
6
6
|
children: React.ReactNode;
|
package/dist/react.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { C as ClientConfig, U as UnionStackClient, f as UploadedFile, a as PickedFile, c as UploadError, B as BatchUploadOptions, P as PickResponse, g as PickerOptions } from './client-
|
|
3
|
-
export { i as PickerBranding, h as PickerHandle, j as PickerTheme, b as ProgressEvent, d as UploadErrorCode, e as UploadOptions } from './client-
|
|
2
|
+
import { C as ClientConfig, U as UnionStackClient, f as UploadedFile, a as PickedFile, c as UploadError, B as BatchUploadOptions, P as PickResponse, g as PickerOptions } from './client-I6TadQ-m.js';
|
|
3
|
+
export { i as PickerBranding, h as PickerHandle, j as PickerTheme, b as ProgressEvent, d as UploadErrorCode, e as UploadOptions } from './client-I6TadQ-m.js';
|
|
4
4
|
|
|
5
5
|
interface UnionStackProviderProps extends ClientConfig {
|
|
6
6
|
children: React.ReactNode;
|
package/dist/react.js
CHANGED
package/package.json
CHANGED