@box/unified-share-modal 2.17.13 → 3.1.1
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/chunks/collaboration-section.js +1 -1
- package/dist/chunks/collaborator-list.js +1 -1
- package/dist/esm/lib/contexts/shared-link-settings-context.js +1 -1
- package/dist/esm/lib/contexts/unified-share-form-context.js +1 -1
- package/dist/esm/lib/contexts/unified-share-modal-context.js +1 -1
- package/package.json +10 -10
|
@@ -141,7 +141,7 @@ function b() {
|
|
|
141
141
|
})]
|
|
142
142
|
}), F]
|
|
143
143
|
}),
|
|
144
|
-
W && T &&
|
|
144
|
+
W && T && /*#__PURE__*/ ue(/* @__PURE__ */ _(le, { children: [!I && /* @__PURE__ */ _(d.Footer, { children: [/* @__PURE__ */ g(d.Footer.SecondaryButton, {
|
|
145
145
|
disabled: L,
|
|
146
146
|
onClick: Me,
|
|
147
147
|
children: b(i.cancelButton)
|
|
@@ -62,7 +62,7 @@ function b() {
|
|
|
62
62
|
})
|
|
63
63
|
})
|
|
64
64
|
}),
|
|
65
|
-
N &&
|
|
65
|
+
N && /*#__PURE__*/ v(/* @__PURE__ */ _(h, { children: [!T && /* @__PURE__ */ g(u.Footer, { children: /* @__PURE__ */ g(u.Footer.SecondaryButton, {
|
|
66
66
|
onClick: () => P(!1),
|
|
67
67
|
children: b(r.doneButton)
|
|
68
68
|
}) }), !M && /* @__PURE__ */ g(u.Close, {
|
|
@@ -3,7 +3,7 @@ import { formatDateFromTimestampToCalendarDate as t } from "../utils/date.js";
|
|
|
3
3
|
import { useLinkSettingsForm as n } from "../hooks/use-link-settings-form.js";
|
|
4
4
|
import { createContext as r, useContext as i, useMemo as a, useState as o } from "react";
|
|
5
5
|
import { jsx as s } from "react/jsx-runtime";
|
|
6
|
-
var c =
|
|
6
|
+
var c = /*#__PURE__*/ r(null), l = () => {
|
|
7
7
|
let e = i(c);
|
|
8
8
|
if (!e) throw Error("useSharedLinkSettingsContext must be used with SharedLinkSettingsProvider");
|
|
9
9
|
return e;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useUnifiedShareModalContext as e } from "./unified-share-modal-context.js";
|
|
2
2
|
import { createContext as t, useCallback as n, useContext as r, useEffect as i, useMemo as a, useRef as o, useState as s } from "react";
|
|
3
3
|
import { jsx as c } from "react/jsx-runtime";
|
|
4
|
-
var l =
|
|
4
|
+
var l = /*#__PURE__*/ t(null), u = () => {
|
|
5
5
|
let e = r(l);
|
|
6
6
|
if (!e) throw Error("useUnifiedShareFormContext must be used with UnifiedShareFormProvider");
|
|
7
7
|
return e;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DEFAULT_CONFIGURATION as e } from "../constants.js";
|
|
2
2
|
import { createContext as t, useContext as n, useEffect as r, useMemo as i, useState as a } from "react";
|
|
3
3
|
import { jsx as o } from "react/jsx-runtime";
|
|
4
|
-
var s =
|
|
4
|
+
var s = /*#__PURE__*/ t(null), c = () => {
|
|
5
5
|
let e = n(s);
|
|
6
6
|
if (!e) throw Error("useUnifiedShareModalContext must be used with UnifiedShareModalContext.Provider");
|
|
7
7
|
return e;
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/unified-share-modal",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@box/blueprint-web": "^
|
|
7
|
-
"@box/blueprint-web-assets": "^
|
|
8
|
-
"@box/copy-input": "^1.
|
|
9
|
-
"@box/user-selector": "^1.
|
|
6
|
+
"@box/blueprint-web": "^16.1.1",
|
|
7
|
+
"@box/blueprint-web-assets": "^5.1.1",
|
|
8
|
+
"@box/copy-input": "^2.1.1",
|
|
9
|
+
"@box/user-selector": "^2.1.1",
|
|
10
10
|
"lodash": "^4.17.15",
|
|
11
11
|
"react": "^18.0.0",
|
|
12
12
|
"react-dom": "^18.0.0",
|
|
13
13
|
"react-intl": "^6.4.2"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@box/blueprint-web": "^
|
|
17
|
-
"@box/blueprint-web-assets": "^
|
|
18
|
-
"@box/copy-input": "^1.
|
|
19
|
-
"@box/eslint-plugin-blueprint": "1.
|
|
20
|
-
"@box/storybook-utils": "
|
|
16
|
+
"@box/blueprint-web": "^16.1.1",
|
|
17
|
+
"@box/blueprint-web-assets": "^5.1.1",
|
|
18
|
+
"@box/copy-input": "^2.1.1",
|
|
19
|
+
"@box/eslint-plugin-blueprint": "2.1.1",
|
|
20
|
+
"@box/storybook-utils": "1.1.1",
|
|
21
21
|
"react-intl": "^6.4.2"
|
|
22
22
|
},
|
|
23
23
|
"publishConfig": {
|