@grafloria/element 0.4.5 → 0.4.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafloria/element",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -37,7 +37,7 @@ const CSS = `
37
37
  .grafloria-html-layer > .grafloria-node-host:focus-visible {
38
38
  outline: 2px solid #3b52d9;
39
39
  outline-offset: 2px;
40
- border-radius: var(--axdb-rs-radius, 6px);
40
+ border-radius: var(--axdb-rs-radius, 3px);
41
41
  }
42
42
 
43
43
  /* ===== the held tile: transition-exempt ghost, above everything ===== */
@@ -55,7 +55,7 @@ const CSS = `
55
55
  /* ===== the placeholder: dashed slab, truthful, never animated ===== */
56
56
  .grafloria-html-layer > .axdb-ph {
57
57
  position: absolute;
58
- border-radius: var(--axdb-rs-radius, 6px);
58
+ border-radius: var(--axdb-rs-radius, 3px);
59
59
  background: rgba(30, 34, 45, .14);
60
60
  border: 2px dashed rgba(30, 34, 45, .28);
61
61
  box-sizing: border-box;
@@ -77,7 +77,7 @@ const CSS = `
77
77
  cursor: nwse-resize;
78
78
  border-right: 3px solid rgba(120, 130, 148, .55);
79
79
  border-bottom: 3px solid rgba(120, 130, 148, .55);
80
- border-bottom-right-radius: var(--axdb-rs-radius, 6px);
80
+ border-bottom-right-radius: var(--axdb-rs-radius, 3px);
81
81
  opacity: 0;
82
82
  transition: opacity .12s;
83
83
  z-index: 5;
@@ -95,7 +95,7 @@ const CSS = `
95
95
  border-right: none;
96
96
  border-left: 3px solid rgba(120, 130, 148, .55);
97
97
  border-bottom-right-radius: 0;
98
- border-bottom-left-radius: var(--axdb-rs-radius, 6px);
98
+ border-bottom-left-radius: var(--axdb-rs-radius, 3px);
99
99
  }
100
100
 
101
101
  /* ===== palette drag-in chip (screen-space clone following the cursor) ===== */
@@ -144,7 +144,7 @@ const CSS = `
144
144
  padding: 13px 15px 12px;
145
145
  background: var(--axdb-card);
146
146
  border: 1px solid var(--axdb-line);
147
- border-radius: var(--axdb-rs-radius, 6px);
147
+ border-radius: var(--axdb-rs-radius, 3px);
148
148
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .05);
149
149
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
150
150
  color: var(--axdb-ink);