seat-editor 3.2.19 → 3.2.20

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.
@@ -214,7 +214,7 @@ const TouchScrollDetect = () => {
214
214
  ]} eventMatchTable={[
215
215
  {
216
216
  event: "mouseenter",
217
- properties: { strokeWidth: 5 },
217
+ properties: { strokeWidth: 5, filter: "drop-shadow(0px 0px 5px red)" },
218
218
  },
219
219
  {
220
220
  event: "dragenter",
@@ -145,6 +145,11 @@ const Layers = ({ components, selectedTable, iconTags, eventMatchTable, onHighli
145
145
  eventMatchTable === null || eventMatchTable === void 0 ? void 0 : eventMatchTable.forEach((styleConfig) => {
146
146
  if (styleConfig.event === eventType) {
147
147
  properties = omit(styleConfig.properties || {}, "points");
148
+ const hasStroke = properties === null || properties === void 0 ? void 0 : properties.stroke;
149
+ const hasStrokeWidth = properties === null || properties === void 0 ? void 0 : properties.strokeWidth;
150
+ if (hasStrokeWidth && !hasStroke) {
151
+ properties.stroke = "#E1E3EA";
152
+ }
148
153
  }
149
154
  });
150
155
  if (isEmpty(properties))
@@ -562,6 +562,7 @@ const LayerView = (props) => {
562
562
  touchAction: "none",
563
563
  userSelect: "none",
564
564
  }} {...props.svgProps}>
565
+
565
566
  {hasBoundingBox && (<defs>
566
567
  <clipPath id="contentCrop">
567
568
  <rect x={boundingBox.minX} y={boundingBox.minY} width={boundingBox.width} height={boundingBox.height}/>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seat-editor",
3
- "version": "3.2.19",
3
+ "version": "3.2.20",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",