@almadar/ui 5.115.0 → 5.116.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.
@@ -706,7 +706,6 @@ function ModelLoader({
706
706
  box.getSize(size);
707
707
  const maxDim = Math.max(size.x, size.y, size.z);
708
708
  if (!Number.isFinite(maxDim) || maxDim < 0.05) return 1;
709
- log3.warn(`TMP-GG1 bounds ${url.split("/").pop() ?? url} size=${JSON.stringify([size.x, size.y, size.z])} scaleProp=${JSON.stringify(scale)}`);
710
709
  return 1 / maxDim;
711
710
  }, [model]);
712
711
  const scaleArray = React3.useMemo(() => {
@@ -914,11 +913,7 @@ function Sprite3D({ node, projector }) {
914
913
  node.height * projector.cellSize,
915
914
  node.width * projector.cellSize
916
915
  ];
917
- const world = projector.toWorld(node.position);
918
- if (node.position.z !== void 0) {
919
- console.warn(`TMP-GG1 sprite3d ${asset.url.split("/").pop() ?? asset.url} posZ=${node.position.z} world=${JSON.stringify(world)} scale=${JSON.stringify(scale)}`);
920
- }
921
- return /* @__PURE__ */ jsxRuntime.jsx("group", { position: world, children: /* @__PURE__ */ jsxRuntime.jsx(
916
+ return /* @__PURE__ */ jsxRuntime.jsx("group", { position: projector.toWorld(node.position), children: /* @__PURE__ */ jsxRuntime.jsx(
922
917
  ModelLoader,
923
918
  {
924
919
  url: asset.url,
@@ -682,7 +682,6 @@ function ModelLoader({
682
682
  box.getSize(size);
683
683
  const maxDim = Math.max(size.x, size.y, size.z);
684
684
  if (!Number.isFinite(maxDim) || maxDim < 0.05) return 1;
685
- log3.warn(`TMP-GG1 bounds ${url.split("/").pop() ?? url} size=${JSON.stringify([size.x, size.y, size.z])} scaleProp=${JSON.stringify(scale)}`);
686
685
  return 1 / maxDim;
687
686
  }, [model]);
688
687
  const scaleArray = useMemo(() => {
@@ -890,11 +889,7 @@ function Sprite3D({ node, projector }) {
890
889
  node.height * projector.cellSize,
891
890
  node.width * projector.cellSize
892
891
  ];
893
- const world = projector.toWorld(node.position);
894
- if (node.position.z !== void 0) {
895
- console.warn(`TMP-GG1 sprite3d ${asset.url.split("/").pop() ?? asset.url} posZ=${node.position.z} world=${JSON.stringify(world)} scale=${JSON.stringify(scale)}`);
896
- }
897
- return /* @__PURE__ */ jsx("group", { position: world, children: /* @__PURE__ */ jsx(
892
+ return /* @__PURE__ */ jsx("group", { position: projector.toWorld(node.position), children: /* @__PURE__ */ jsx(
898
893
  ModelLoader,
899
894
  {
900
895
  url: asset.url,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "5.115.0",
3
+ "version": "5.116.0",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -118,10 +118,10 @@
118
118
  },
119
119
  "dependencies": {
120
120
  "@almadar/core": "^10.29.0",
121
- "@almadar/evaluator": "^2.29.0",
121
+ "@almadar/evaluator": "^2.30.0",
122
122
  "@almadar/logger": "^1.9.0",
123
123
  "@almadar/runtime": "^6.33.0",
124
- "@almadar/std": "^16.138.0",
124
+ "@almadar/std": "^16.140.0",
125
125
  "@almadar/syntax": "^1.11.0",
126
126
  "@dnd-kit/core": "^6.3.1",
127
127
  "@dnd-kit/sortable": "^10.0.0",