@dxos/plugin-space 0.6.9 → 0.6.10-main.3cfcc89
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 +9 -10
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node/index.cjs +9 -10
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/types/src/SpacePlugin.d.ts.map +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 +6 -8
- package/src/components/ShareSpaceButton.stories.tsx +1 -1
- package/src/components/SpaceMain/SpaceMain.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, {
|
|
@@ -1644,11 +1644,10 @@ var SpacePlugin = ({ firstRun, onFirstRun } = {}) => {
|
|
|
1644
1644
|
const dispatch = intentPlugin.provides.intent.dispatch;
|
|
1645
1645
|
const handleFirstRun = async () => {
|
|
1646
1646
|
const defaultSpace = client.spaces.default;
|
|
1647
|
-
|
|
1647
|
+
defaultSpace.properties[CollectionType.typename] = create2(CollectionType, {
|
|
1648
1648
|
objects: [],
|
|
1649
1649
|
views: {}
|
|
1650
1650
|
});
|
|
1651
|
-
defaultSpace.properties[CollectionType.typename] = personalSpaceCollection;
|
|
1652
1651
|
if (Migrations2.versionProperty) {
|
|
1653
1652
|
defaultSpace.properties[Migrations2.versionProperty] = Migrations2.targetVersion;
|
|
1654
1653
|
}
|
|
@@ -1861,7 +1860,7 @@ var SpacePlugin = ({ firstRun, onFirstRun } = {}) => {
|
|
|
1861
1860
|
} else {
|
|
1862
1861
|
log2.warn("spaces order object not found", void 0, {
|
|
1863
1862
|
F: __dxlog_file3,
|
|
1864
|
-
L:
|
|
1863
|
+
L: 514,
|
|
1865
1864
|
S: void 0,
|
|
1866
1865
|
C: (f, a) => f(...a)
|
|
1867
1866
|
});
|
|
@@ -2075,8 +2074,8 @@ var SpacePlugin = ({ firstRun, onFirstRun } = {}) => {
|
|
|
2075
2074
|
inputType: SPACE_TYPE,
|
|
2076
2075
|
outputType: DIRECTORY_TYPE,
|
|
2077
2076
|
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"],
|
|
2077
|
+
name: node.data.properties.name ?? translations_default[0]["en-US"][SPACE_PLUGIN]["unnamed space label"],
|
|
2078
|
+
data: node.data.properties.name ?? translations_default[0]["en-US"][SPACE_PLUGIN]["unnamed space label"],
|
|
2080
2079
|
type: DIRECTORY_TYPE
|
|
2081
2080
|
}),
|
|
2082
2081
|
deserialize: async (data) => {
|
|
@@ -2094,8 +2093,8 @@ var SpacePlugin = ({ firstRun, onFirstRun } = {}) => {
|
|
|
2094
2093
|
inputType: CollectionType.typename,
|
|
2095
2094
|
outputType: DIRECTORY_TYPE,
|
|
2096
2095
|
serialize: (node) => ({
|
|
2097
|
-
name: node.
|
|
2098
|
-
data: node.
|
|
2096
|
+
name: node.data.name ?? translations_default[0]["en-US"][SPACE_PLUGIN]["unnamed collection label"],
|
|
2097
|
+
data: node.data.name ?? translations_default[0]["en-US"][SPACE_PLUGIN]["unnamed collection label"],
|
|
2099
2098
|
type: DIRECTORY_TYPE
|
|
2100
2099
|
}),
|
|
2101
2100
|
deserialize: async (data, ancestors) => {
|