rita-workspace 0.5.25 → 0.5.27

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/index.js CHANGED
@@ -1749,6 +1749,12 @@ var DrawingsDialog = ({
1749
1749
  if (editingId || confirmDeleteId || movingDrawingId) return;
1750
1750
  setSelectedId(drawing.id);
1751
1751
  },
1752
+ onDoubleClick: (e) => {
1753
+ e.stopPropagation();
1754
+ if (editingId || confirmDeleteId || movingDrawingId) return;
1755
+ if (activeDrawing?.id === drawing.id) return;
1756
+ handleSelect(drawing);
1757
+ },
1752
1758
  style: {
1753
1759
  padding: "10px 12px",
1754
1760
  display: "flex",
@@ -2161,7 +2167,7 @@ var DrawingsDialog = ({
2161
2167
  border: "1px solid #ffc107",
2162
2168
  textTransform: "uppercase"
2163
2169
  },
2164
- title: "F\xF6rhandsvisning \u2014 funktionen \xE4r under utveckling och kan \xE4ndras",
2170
+ title: "Beta \u2014 funktionen \xE4r under utveckling och kan \xE4ndras",
2165
2171
  children: "BETA"
2166
2172
  }
2167
2173
  )
@@ -2202,7 +2208,7 @@ var DrawingsDialog = ({
2202
2208
  children: [
2203
2209
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { children: "\u26A0\uFE0F" }),
2204
2210
  /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { children: [
2205
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("strong", { children: "F\xF6rhandsvisning:" }),
2211
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("strong", { children: "Beta:" }),
2206
2212
  ' Arbetsyta \xE4r under utveckling. Ta regelbundet backup via "Spara alla ritningar".'
2207
2213
  ] })
2208
2214
  ]
package/dist/index.mjs CHANGED
@@ -1678,6 +1678,12 @@ var DrawingsDialog = ({
1678
1678
  if (editingId || confirmDeleteId || movingDrawingId) return;
1679
1679
  setSelectedId(drawing.id);
1680
1680
  },
1681
+ onDoubleClick: (e) => {
1682
+ e.stopPropagation();
1683
+ if (editingId || confirmDeleteId || movingDrawingId) return;
1684
+ if (activeDrawing?.id === drawing.id) return;
1685
+ handleSelect(drawing);
1686
+ },
1681
1687
  style: {
1682
1688
  padding: "10px 12px",
1683
1689
  display: "flex",
@@ -2090,7 +2096,7 @@ var DrawingsDialog = ({
2090
2096
  border: "1px solid #ffc107",
2091
2097
  textTransform: "uppercase"
2092
2098
  },
2093
- title: "F\xF6rhandsvisning \u2014 funktionen \xE4r under utveckling och kan \xE4ndras",
2099
+ title: "Beta \u2014 funktionen \xE4r under utveckling och kan \xE4ndras",
2094
2100
  children: "BETA"
2095
2101
  }
2096
2102
  )
@@ -2131,7 +2137,7 @@ var DrawingsDialog = ({
2131
2137
  children: [
2132
2138
  /* @__PURE__ */ jsx6("span", { children: "\u26A0\uFE0F" }),
2133
2139
  /* @__PURE__ */ jsxs4("span", { children: [
2134
- /* @__PURE__ */ jsx6("strong", { children: "F\xF6rhandsvisning:" }),
2140
+ /* @__PURE__ */ jsx6("strong", { children: "Beta:" }),
2135
2141
  ' Arbetsyta \xE4r under utveckling. Ta regelbundet backup via "Spara alla ritningar".'
2136
2142
  ] })
2137
2143
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rita-workspace",
3
- "version": "0.5.25",
3
+ "version": "0.5.27",
4
4
  "description": "Multi-drawing workspace feature for Rita (Excalidraw fork)",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",