@dxos/plugin-space 0.6.9 → 0.6.10-main.bbdfaa4
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/lib/browser/index.mjs +7 -7
- package/dist/lib/browser/index.mjs.map +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node/index.cjs +7 -7
- package/dist/lib/node/index.cjs.map +2 -2
- package/dist/lib/node/meta.json +1 -1
- package/dist/types/src/components/ShareSpaceButton.stories.d.ts +1 -1
- package/dist/types/src/components/ShareSpaceButton.stories.d.ts.map +1 -1
- package/dist/types/src/components/SpacePresence.stories.d.ts +1 -1
- package/dist/types/src/components/SpacePresence.stories.d.ts.map +1 -1
- package/dist/types/src/types/thread.d.ts +3 -3
- package/package.json +28 -28
- package/src/SpacePlugin.tsx +4 -4
- package/src/components/ShareSpaceButton.stories.tsx +1 -1
- package/src/components/SpaceMain/SpaceMembersSection.tsx +3 -3
- package/src/components/SpacePresence.stories.tsx +1 -1
|
@@ -1122,7 +1122,7 @@ var SpaceMembersSection = ({ space }) => {
|
|
|
1122
1122
|
}), /* @__PURE__ */ React13.createElement("span", {
|
|
1123
1123
|
className: "text-lg col-span-2"
|
|
1124
1124
|
}, t("space members label"))), /* @__PURE__ */ React13.createElement("h3", {
|
|
1125
|
-
className: "col-start-2 col-span-3 text-sm italic
|
|
1125
|
+
className: "col-start-2 col-span-3 text-sm italic text-description"
|
|
1126
1126
|
}, t("invitations heading")), invitations.length > 0 && /* @__PURE__ */ React13.createElement(List, {
|
|
1127
1127
|
classNames: "col-start-2 col-span-2 gap-y-2 grid grid-cols-[var(--rail-size)_1fr_var(--rail-action)_var(--rail-action)]"
|
|
1128
1128
|
}, invitations.map((invitation) => /* @__PURE__ */ React13.createElement(InvitationListItem, {
|
|
@@ -1179,13 +1179,13 @@ var SpaceMembersSection = ({ space }) => {
|
|
|
1179
1179
|
}, t("empty space members message", {
|
|
1180
1180
|
ns: "os"
|
|
1181
1181
|
})) : /* @__PURE__ */ React13.createElement(React13.Fragment, null, /* @__PURE__ */ React13.createElement("h3", {
|
|
1182
|
-
className: "col-start-2 col-end-5 text-sm italic
|
|
1182
|
+
className: "col-start-2 col-end-5 text-sm italic text-description"
|
|
1183
1183
|
}, t("active space members heading", {
|
|
1184
1184
|
count: members[Presence.ONLINE].length
|
|
1185
1185
|
})), /* @__PURE__ */ React13.createElement(SpaceMemberList, {
|
|
1186
1186
|
members: members[Presence.ONLINE]
|
|
1187
1187
|
}), /* @__PURE__ */ React13.createElement("h3", {
|
|
1188
|
-
className: "col-start-2 col-end-5 text-sm italic
|
|
1188
|
+
className: "col-start-2 col-end-5 text-sm italic text-description"
|
|
1189
1189
|
}, t("inactive space members heading", {
|
|
1190
1190
|
count: members[Presence.OFFLINE].length
|
|
1191
1191
|
})), /* @__PURE__ */ React13.createElement(SpaceMemberList, {
|
|
@@ -2075,8 +2075,8 @@ var SpacePlugin = ({ firstRun, onFirstRun } = {}) => {
|
|
|
2075
2075
|
inputType: SPACE_TYPE,
|
|
2076
2076
|
outputType: DIRECTORY_TYPE,
|
|
2077
2077
|
serialize: (node) => ({
|
|
2078
|
-
name: node.properties.name ?? translations_default[0]["en-US"][SPACE_PLUGIN]["unnamed space label"],
|
|
2079
|
-
data: node.properties.name ?? translations_default[0]["en-US"][SPACE_PLUGIN]["unnamed space label"],
|
|
2078
|
+
name: node.data.properties.name ?? translations_default[0]["en-US"][SPACE_PLUGIN]["unnamed space label"],
|
|
2079
|
+
data: node.data.properties.name ?? translations_default[0]["en-US"][SPACE_PLUGIN]["unnamed space label"],
|
|
2080
2080
|
type: DIRECTORY_TYPE
|
|
2081
2081
|
}),
|
|
2082
2082
|
deserialize: async (data) => {
|
|
@@ -2094,8 +2094,8 @@ var SpacePlugin = ({ firstRun, onFirstRun } = {}) => {
|
|
|
2094
2094
|
inputType: CollectionType.typename,
|
|
2095
2095
|
outputType: DIRECTORY_TYPE,
|
|
2096
2096
|
serialize: (node) => ({
|
|
2097
|
-
name: node.
|
|
2098
|
-
data: node.
|
|
2097
|
+
name: node.data.name ?? translations_default[0]["en-US"][SPACE_PLUGIN]["unnamed collection label"],
|
|
2098
|
+
data: node.data.name ?? translations_default[0]["en-US"][SPACE_PLUGIN]["unnamed collection label"],
|
|
2099
2099
|
type: DIRECTORY_TYPE
|
|
2100
2100
|
}),
|
|
2101
2101
|
deserialize: async (data, ancestors) => {
|