@box/unified-share-modal 3.1.21 → 3.1.23
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.
|
@@ -19,13 +19,13 @@ import { Globe as de } from "@box/blueprint-web-assets/icons/Medium";
|
|
|
19
19
|
import { bpSize040 as v } from "@box/blueprint-web-assets/tokens/tokens";
|
|
20
20
|
import { UserSelectorContainer as fe } from "@box/user-selector";
|
|
21
21
|
import '../styles/collaboration-section.css';var y = {
|
|
22
|
-
container: "
|
|
23
|
-
label: "
|
|
24
|
-
modernized: "
|
|
25
|
-
security: "
|
|
26
|
-
disclosures: "
|
|
27
|
-
icon: "
|
|
28
|
-
access: "
|
|
22
|
+
container: "_container_8nyxi_27",
|
|
23
|
+
label: "_label_8nyxi_33",
|
|
24
|
+
modernized: "_modernized_8nyxi_40",
|
|
25
|
+
security: "_security_8nyxi_69",
|
|
26
|
+
disclosures: "_disclosures_8nyxi_73",
|
|
27
|
+
icon: "_icon_8nyxi_79",
|
|
28
|
+
access: "_access_8nyxi_85"
|
|
29
29
|
};
|
|
30
30
|
function b() {
|
|
31
31
|
let { formatMessage: b } = l(), [x, S] = oe(), { enableModernizedComponents: pe } = m(), { addNotification: me } = se(), { validateShieldRestriction: C } = ee(), { contactValue: w, containerRef: T, form: E, setForm: D, setUserContacts: O, shieldRestriction: k, userContacts: A } = r(), { collaborationAccess: j, collaborationNotices: M, config: N, contactService: P, invitationFormNotices: F, isFetching: I, isSubmitting: L, item: R, onOpenChange: z, sharingService: he, variant: ge } = e(), { permissions: B = {}, type: _e } = R, { getContacts: V, getContactsAvatarUrls: H } = P, { sendInvitations: ve, sendSharedLink: ye } = he, be = ge === "desktop", U = E === "default" || E === "invite", W = E === "invite" || E === "email", xe = E === "invite" && N.collaborationMessage, Se = E === "email" && N.sharedLinkEmailMessage, G = A.some((e) => e.isExternalUser), K, q;
|
|
@@ -8,8 +8,8 @@ import { Avatar as o, Text as s } from "@box/blueprint-web";
|
|
|
8
8
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
9
9
|
import { Gray10 as u } from "@box/blueprint-web-assets/tokens/tokens";
|
|
10
10
|
import '../styles/shared-with-avatars.css';var d = {
|
|
11
|
-
container: "
|
|
12
|
-
avatars: "
|
|
11
|
+
container: "_container_13wac_27",
|
|
12
|
+
avatars: "_avatars_13wac_44"
|
|
13
13
|
}, f = 3;
|
|
14
14
|
function p() {
|
|
15
15
|
let { formatMessage: p } = a(), { collaborators: m, currentUser: h, eventService: g, isSubmitting: _ } = e(), { setIsCollaboratorsOpen: v } = n(), { onCollaboratorsClick: y } = g, { id: b } = h, x = m.filter(({ isCurrentUser: e, userId: t }) => !(e || b && b === t));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._container_8nyxi_27{gap:var(--bp-space-040);flex-direction:column;display:flex}._label_8nyxi_33{padding:var(--bp-space-010) 0;color:var(--text-text-on-light);overflow-wrap:break-word;margin-block-end:var(--space-2);display:block}._label_8nyxi_33._modernized_8nyxi_40{font-weight:var(--bp-font-weight-bold);font-size:var(--bp-font-size-05);font-family:var(--bp-font-font-family), -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;font-style:normal;line-height:var(--bp-font-line-height-04);letter-spacing:var(--bp-font-letter-spacing-01)}:where(body.is-inter-font) ._label_8nyxi_33._modernized_8nyxi_40{letter-spacing:0;text-transform:none;font-family:InterVariable,-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif;font-size:.875rem;font-style:normal;font-weight:600;line-height:1.25rem;text-decoration:none}._label_8nyxi_33:not(._modernized_8nyxi_40){font-weight:var(--body-default-bold-font-weight);font-size:var(--body-default-bold-font-size);font-family:var(--body-default-bold-font-family);line-height:var(--body-default-bold-line-height);letter-spacing:var(--body-default-bold-letter-spacing);text-transform:var(--body-default-bold-text-case);-webkit-text-decoration:var(--body-default-bold-text-decoration);text-decoration:var(--body-default-bold-text-decoration)}._security_8nyxi_69{margin-top:calc(var(--bp-space-010) * -1)}._disclosures_8nyxi_73{gap:var(--bp-space-010);flex-direction:column;display:flex}._icon_8nyxi_79{height:var(--bp-size-050);margin-right:var(--bp-space-010);vertical-align:text-bottom}._access_8nyxi_85{gap:var(--bp-space-010);margin-top:var(--bp-space-030);flex-wrap:wrap;display:flex}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._container_13wac_27{gap:var(--space-2);float:right;border-radius:var(--radius-2);cursor:pointer;outline:none;align-items:center;display:flex}._container_13wac_27[aria-disabled=true]{opacity:.3;pointer-events:none}._container_13wac_27:focus-visible{box-shadow:0 0 0 var(--border-1,1px) var(--background-background), 0 0 0 var(--border-3) var(--outline-focus-on-light)}._avatars_13wac_44{gap:var(--space-1);align-items:center;display:flex}
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/unified-share-modal",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.23",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@box/blueprint-web": "^16.
|
|
7
|
-
"@box/blueprint-web-assets": "^5.4.
|
|
8
|
-
"@box/copy-input": "^2.1.
|
|
9
|
-
"@box/user-selector": "^2.1.
|
|
6
|
+
"@box/blueprint-web": "^16.7.1",
|
|
7
|
+
"@box/blueprint-web-assets": "^5.4.2",
|
|
8
|
+
"@box/copy-input": "^2.1.22",
|
|
9
|
+
"@box/user-selector": "^2.1.23",
|
|
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": "^16.
|
|
17
|
-
"@box/blueprint-web-assets": "^5.4.
|
|
18
|
-
"@box/copy-input": "^2.1.
|
|
16
|
+
"@box/blueprint-web": "^16.7.1",
|
|
17
|
+
"@box/blueprint-web-assets": "^5.4.2",
|
|
18
|
+
"@box/copy-input": "^2.1.22",
|
|
19
19
|
"@box/eslint-plugin-blueprint": "2.1.9",
|
|
20
|
-
"@box/storybook-utils": "1.1.
|
|
20
|
+
"@box/storybook-utils": "1.1.21",
|
|
21
21
|
"react-intl": "^6.4.2"
|
|
22
22
|
},
|
|
23
23
|
"publishConfig": {
|