@selvajs/ui 6.3.0 → 6.3.1

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.
@@ -134,6 +134,8 @@
134
134
  for (const [layerName, entries] of layerGroups) {
135
135
  flat.push({
136
136
  kind: 'layer',
137
+ // Prefixed, like the object rows below: a layer row must never share a key with
138
+ // an object row whose identity happens to read like a layer name.
137
139
  key: `layer:${layerName}`,
138
140
  top,
139
141
  height: LAYER_ROW_HEIGHT,
@@ -145,7 +147,7 @@
145
147
  for (const entry of entries) {
146
148
  flat.push({
147
149
  kind: 'object',
148
- key: entry.key,
150
+ key: `obj:${entry.rowKey}`,
149
151
  top,
150
152
  height: OBJECT_ROW_HEIGHT,
151
153
  entry
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selvajs/ui",
3
- "version": "6.3.0",
3
+ "version": "6.3.1",
4
4
  "description": "Shared UI components and utilities for Selva applications",
5
5
  "license": "MIT",
6
6
  "author": "VektorNode",
@@ -60,9 +60,9 @@
60
60
  "tailwind-variants": "^3.3.1",
61
61
  "three": "^0.185.1",
62
62
  "@selvajs/compute": "^4.1.1",
63
- "@selvajs/visualization": "^1.2.0",
64
63
  "@selvajs/schemas": "^5.0.2",
65
- "@selvajs/solve": "^1.0.8"
64
+ "@selvajs/visualization": "^1.3.0",
65
+ "@selvajs/solve": "^1.1.0"
66
66
  },
67
67
  "peerDependenciesMeta": {
68
68
  "three": {
@@ -92,9 +92,9 @@
92
92
  "vitest": "^4.1.11",
93
93
  "@selvajs/compute": "4.1.1",
94
94
  "@selvajs/config": "0.0.4",
95
- "@selvajs/visualization": "1.2.0",
96
- "@selvajs/schemas": "5.0.2",
97
- "@selvajs/solve": "1.0.8"
95
+ "@selvajs/visualization": "1.3.0",
96
+ "@selvajs/solve": "1.1.0",
97
+ "@selvajs/schemas": "5.0.2"
98
98
  },
99
99
  "scripts": {
100
100
  "predev": "node ../../scripts/sync-shared-assets.js",
@@ -134,6 +134,8 @@
134
134
  for (const [layerName, entries] of layerGroups) {
135
135
  flat.push({
136
136
  kind: 'layer',
137
+ // Prefixed, like the object rows below: a layer row must never share a key with
138
+ // an object row whose identity happens to read like a layer name.
137
139
  key: `layer:${layerName}`,
138
140
  top,
139
141
  height: LAYER_ROW_HEIGHT,
@@ -145,7 +147,7 @@
145
147
  for (const entry of entries) {
146
148
  flat.push({
147
149
  kind: 'object',
148
- key: entry.key,
150
+ key: `obj:${entry.rowKey}`,
149
151
  top,
150
152
  height: OBJECT_ROW_HEIGHT,
151
153
  entry