@pixerate/editor-svelte 0.211.0 → 0.212.0

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.
@@ -226,10 +226,10 @@
226
226
  y1={l.from.y}
227
227
  x2={l.to.x}
228
228
  y2={l.to.y}
229
- stroke={l.kind === 'symmetry' ? '#22d3ee' : l.kind === 'stencil' ? '#fbbf24' : l.kind === 'stroke' || l.kind === 'sticker' ? '#818cf8' : '#f472b6'}
230
- stroke-opacity={l.kind === 'symmetry' || l.kind === 'stencil' || l.kind === 'stroke' || l.kind === 'sticker' ? 0.8 : 0.35}
231
- stroke-width={1 / snap.view.zoom}
232
- stroke-dasharray={l.kind === 'symmetry' ? `${6 / snap.view.zoom} ${4 / snap.view.zoom}` : undefined}
229
+ stroke={l.kind === 'symmetry' ? '#22d3ee' : l.kind === 'stencil' ? '#fbbf24' : l.kind === 'stroke' || l.kind === 'sticker' ? '#818cf8' : l.kind === 'vortex' || l.kind === 'vortex-reach' ? '#38bdf8' : '#f472b6'}
230
+ stroke-opacity={l.kind === 'vortex' ? 0.9 : l.kind === 'symmetry' || l.kind === 'stencil' || l.kind === 'stroke' || l.kind === 'sticker' ? 0.8 : l.kind === 'vortex-reach' ? 0.45 : 0.35}
231
+ stroke-width={(l.kind === 'vortex' ? 1.5 : 1) / snap.view.zoom}
232
+ stroke-dasharray={l.kind === 'symmetry' ? `${6 / snap.view.zoom} ${4 / snap.view.zoom}` : l.kind === 'vortex-reach' ? `${4 / snap.view.zoom} ${4 / snap.view.zoom}` : undefined}
233
233
  />
234
234
  {/each}
235
235
  {#each agentLines.strokes as s (s.id)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixerate/editor-svelte",
3
- "version": "0.211.0",
3
+ "version": "0.212.0",
4
4
  "description": "Svelte bindings and prompt/rich-text components for @pixerate/editor",
5
5
  "author": "Pixerate",
6
6
  "license": "MIT",
@@ -184,7 +184,7 @@
184
184
  "**/*.css"
185
185
  ],
186
186
  "dependencies": {
187
- "@pixerate/editor": "0.283.0"
187
+ "@pixerate/editor": "0.284.0"
188
188
  },
189
189
  "peerDependencies": {
190
190
  "@dagrejs/dagre": "^1.1.4",