@dxos/plugin-space 0.6.9 → 0.6.10-main.48c066e

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.
@@ -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 fg-description"
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 fg-description"
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 fg-description"
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
- const personalSpaceCollection = create2(CollectionType, {
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: 516,
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.properties.name ?? translations_default[0]["en-US"][SPACE_PLUGIN]["unnamed collection label"],
2098
- data: node.properties.name ?? translations_default[0]["en-US"][SPACE_PLUGIN]["unnamed collection label"],
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) => {