@almadar/ui 5.73.0 → 5.74.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.
@@ -46791,22 +46791,27 @@ function resolveDescriptor(value, idPrefix) {
46791
46791
  }
46792
46792
  if (typeof value === "object" && value !== null) {
46793
46793
  const desc = asDescriptor(value);
46794
- if (desc !== null && patterns.getComponentForPattern(desc.type) !== null) {
46794
+ const hasComp = desc !== null && patterns.getComponentForPattern(desc.type) !== null;
46795
+ shellLog.debug("resolve", { idPrefix, type: desc?.type ?? null, hasDesc: desc !== null, render: hasComp });
46796
+ if (hasComp) {
46795
46797
  const resolvedProps = desc.props ?? {};
46796
46798
  const content = { id: desc._id ?? idPrefix, pattern: desc.type, props: resolvedProps, priority: 0 };
46797
46799
  const SCR = getSlotContentRenderer2();
46798
- return /* @__PURE__ */ jsxRuntime.jsx(SCR, { content, onDismiss: () => void 0 });
46800
+ return /* @__PURE__ */ jsxRuntime.jsx(SCR, { content, onDismiss: () => void 0 }, content.id);
46799
46801
  }
46802
+ } else {
46803
+ shellLog.debug("resolve", { idPrefix, type: null, hasDesc: false, render: false, branch: typeof value });
46800
46804
  }
46801
46805
  return null;
46802
46806
  }
46803
- var _scr, GameShell;
46807
+ var shellLog, _scr, GameShell;
46804
46808
  var init_GameShell = __esm({
46805
46809
  "components/game/templates/GameShell.tsx"() {
46806
46810
  init_cn();
46807
46811
  init_Box();
46808
46812
  init_Stack();
46809
46813
  init_Typography();
46814
+ shellLog = logger.createLogger("almadar:ui:game:game-shell");
46810
46815
  _scr = null;
46811
46816
  GameShell = ({
46812
46817
  appName = "Game",
package/dist/avl/index.js CHANGED
@@ -46744,22 +46744,27 @@ function resolveDescriptor(value, idPrefix) {
46744
46744
  }
46745
46745
  if (typeof value === "object" && value !== null) {
46746
46746
  const desc = asDescriptor(value);
46747
- if (desc !== null && getComponentForPattern(desc.type) !== null) {
46747
+ const hasComp = desc !== null && getComponentForPattern(desc.type) !== null;
46748
+ shellLog.debug("resolve", { idPrefix, type: desc?.type ?? null, hasDesc: desc !== null, render: hasComp });
46749
+ if (hasComp) {
46748
46750
  const resolvedProps = desc.props ?? {};
46749
46751
  const content = { id: desc._id ?? idPrefix, pattern: desc.type, props: resolvedProps, priority: 0 };
46750
46752
  const SCR = getSlotContentRenderer2();
46751
- return /* @__PURE__ */ jsx(SCR, { content, onDismiss: () => void 0 });
46753
+ return /* @__PURE__ */ jsx(SCR, { content, onDismiss: () => void 0 }, content.id);
46752
46754
  }
46755
+ } else {
46756
+ shellLog.debug("resolve", { idPrefix, type: null, hasDesc: false, render: false, branch: typeof value });
46753
46757
  }
46754
46758
  return null;
46755
46759
  }
46756
- var _scr, GameShell;
46760
+ var shellLog, _scr, GameShell;
46757
46761
  var init_GameShell = __esm({
46758
46762
  "components/game/templates/GameShell.tsx"() {
46759
46763
  init_cn();
46760
46764
  init_Box();
46761
46765
  init_Stack();
46762
46766
  init_Typography();
46767
+ shellLog = createLogger("almadar:ui:game:game-shell");
46763
46768
  _scr = null;
46764
46769
  GameShell = ({
46765
46770
  appName = "Game",
@@ -45567,22 +45567,27 @@ function resolveDescriptor(value, idPrefix) {
45567
45567
  }
45568
45568
  if (typeof value === "object" && value !== null) {
45569
45569
  const desc = asDescriptor(value);
45570
- if (desc !== null && patterns.getComponentForPattern(desc.type) !== null) {
45570
+ const hasComp = desc !== null && patterns.getComponentForPattern(desc.type) !== null;
45571
+ shellLog.debug("resolve", { idPrefix, type: desc?.type ?? null, hasDesc: desc !== null, render: hasComp });
45572
+ if (hasComp) {
45571
45573
  const resolvedProps = desc.props ?? {};
45572
45574
  const content = { id: desc._id ?? idPrefix, pattern: desc.type, props: resolvedProps, priority: 0 };
45573
45575
  const SCR = getSlotContentRenderer();
45574
- return /* @__PURE__ */ jsxRuntime.jsx(SCR, { content, onDismiss: () => void 0 });
45576
+ return /* @__PURE__ */ jsxRuntime.jsx(SCR, { content, onDismiss: () => void 0 }, content.id);
45575
45577
  }
45578
+ } else {
45579
+ shellLog.debug("resolve", { idPrefix, type: null, hasDesc: false, render: false, branch: typeof value });
45576
45580
  }
45577
45581
  return null;
45578
45582
  }
45579
- var _scr; exports.GameShell = void 0;
45583
+ var shellLog, _scr; exports.GameShell = void 0;
45580
45584
  var init_GameShell = __esm({
45581
45585
  "components/game/templates/GameShell.tsx"() {
45582
45586
  init_cn();
45583
45587
  init_Box();
45584
45588
  init_Stack();
45585
45589
  init_Typography();
45590
+ shellLog = logger.createLogger("almadar:ui:game:game-shell");
45586
45591
  _scr = null;
45587
45592
  exports.GameShell = ({
45588
45593
  appName = "Game",
@@ -45521,22 +45521,27 @@ function resolveDescriptor(value, idPrefix) {
45521
45521
  }
45522
45522
  if (typeof value === "object" && value !== null) {
45523
45523
  const desc = asDescriptor(value);
45524
- if (desc !== null && getComponentForPattern(desc.type) !== null) {
45524
+ const hasComp = desc !== null && getComponentForPattern(desc.type) !== null;
45525
+ shellLog.debug("resolve", { idPrefix, type: desc?.type ?? null, hasDesc: desc !== null, render: hasComp });
45526
+ if (hasComp) {
45525
45527
  const resolvedProps = desc.props ?? {};
45526
45528
  const content = { id: desc._id ?? idPrefix, pattern: desc.type, props: resolvedProps, priority: 0 };
45527
45529
  const SCR = getSlotContentRenderer();
45528
- return /* @__PURE__ */ jsx(SCR, { content, onDismiss: () => void 0 });
45530
+ return /* @__PURE__ */ jsx(SCR, { content, onDismiss: () => void 0 }, content.id);
45529
45531
  }
45532
+ } else {
45533
+ shellLog.debug("resolve", { idPrefix, type: null, hasDesc: false, render: false, branch: typeof value });
45530
45534
  }
45531
45535
  return null;
45532
45536
  }
45533
- var _scr, GameShell;
45537
+ var shellLog, _scr, GameShell;
45534
45538
  var init_GameShell = __esm({
45535
45539
  "components/game/templates/GameShell.tsx"() {
45536
45540
  init_cn();
45537
45541
  init_Box();
45538
45542
  init_Stack();
45539
45543
  init_Typography();
45544
+ shellLog = createLogger("almadar:ui:game:game-shell");
45540
45545
  _scr = null;
45541
45546
  GameShell = ({
45542
45547
  appName = "Game",
@@ -44592,22 +44592,27 @@ function resolveDescriptor(value, idPrefix) {
44592
44592
  }
44593
44593
  if (typeof value === "object" && value !== null) {
44594
44594
  const desc = asDescriptor(value);
44595
- if (desc !== null && patterns.getComponentForPattern(desc.type) !== null) {
44595
+ const hasComp = desc !== null && patterns.getComponentForPattern(desc.type) !== null;
44596
+ shellLog.debug("resolve", { idPrefix, type: desc?.type ?? null, hasDesc: desc !== null, render: hasComp });
44597
+ if (hasComp) {
44596
44598
  const resolvedProps = desc.props ?? {};
44597
44599
  const content = { id: desc._id ?? idPrefix, pattern: desc.type, props: resolvedProps, priority: 0 };
44598
44600
  const SCR = getSlotContentRenderer2();
44599
- return /* @__PURE__ */ jsxRuntime.jsx(SCR, { content, onDismiss: () => void 0 });
44601
+ return /* @__PURE__ */ jsxRuntime.jsx(SCR, { content, onDismiss: () => void 0 }, content.id);
44600
44602
  }
44603
+ } else {
44604
+ shellLog.debug("resolve", { idPrefix, type: null, hasDesc: false, render: false, branch: typeof value });
44601
44605
  }
44602
44606
  return null;
44603
44607
  }
44604
- var _scr, GameShell;
44608
+ var shellLog, _scr, GameShell;
44605
44609
  var init_GameShell = __esm({
44606
44610
  "components/game/templates/GameShell.tsx"() {
44607
44611
  init_cn();
44608
44612
  init_Box();
44609
44613
  init_Stack();
44610
44614
  init_Typography();
44615
+ shellLog = logger.createLogger("almadar:ui:game:game-shell");
44611
44616
  _scr = null;
44612
44617
  GameShell = ({
44613
44618
  appName = "Game",
@@ -44545,22 +44545,27 @@ function resolveDescriptor(value, idPrefix) {
44545
44545
  }
44546
44546
  if (typeof value === "object" && value !== null) {
44547
44547
  const desc = asDescriptor(value);
44548
- if (desc !== null && getComponentForPattern(desc.type) !== null) {
44548
+ const hasComp = desc !== null && getComponentForPattern(desc.type) !== null;
44549
+ shellLog.debug("resolve", { idPrefix, type: desc?.type ?? null, hasDesc: desc !== null, render: hasComp });
44550
+ if (hasComp) {
44549
44551
  const resolvedProps = desc.props ?? {};
44550
44552
  const content = { id: desc._id ?? idPrefix, pattern: desc.type, props: resolvedProps, priority: 0 };
44551
44553
  const SCR = getSlotContentRenderer2();
44552
- return /* @__PURE__ */ jsx(SCR, { content, onDismiss: () => void 0 });
44554
+ return /* @__PURE__ */ jsx(SCR, { content, onDismiss: () => void 0 }, content.id);
44553
44555
  }
44556
+ } else {
44557
+ shellLog.debug("resolve", { idPrefix, type: null, hasDesc: false, render: false, branch: typeof value });
44554
44558
  }
44555
44559
  return null;
44556
44560
  }
44557
- var _scr, GameShell;
44561
+ var shellLog, _scr, GameShell;
44558
44562
  var init_GameShell = __esm({
44559
44563
  "components/game/templates/GameShell.tsx"() {
44560
44564
  init_cn();
44561
44565
  init_Box();
44562
44566
  init_Stack();
44563
44567
  init_Typography();
44568
+ shellLog = createLogger("almadar:ui:game:game-shell");
44564
44569
  _scr = null;
44565
44570
  GameShell = ({
44566
44571
  appName = "Game",
@@ -44290,22 +44290,27 @@ function resolveDescriptor(value, idPrefix) {
44290
44290
  }
44291
44291
  if (typeof value === "object" && value !== null) {
44292
44292
  const desc = asDescriptor(value);
44293
- if (desc !== null && patterns.getComponentForPattern(desc.type) !== null) {
44293
+ const hasComp = desc !== null && patterns.getComponentForPattern(desc.type) !== null;
44294
+ shellLog.debug("resolve", { idPrefix, type: desc?.type ?? null, hasDesc: desc !== null, render: hasComp });
44295
+ if (hasComp) {
44294
44296
  const resolvedProps = desc.props ?? {};
44295
44297
  const content = { id: desc._id ?? idPrefix, pattern: desc.type, props: resolvedProps, priority: 0 };
44296
44298
  const SCR = getSlotContentRenderer2();
44297
- return /* @__PURE__ */ jsxRuntime.jsx(SCR, { content, onDismiss: () => void 0 });
44299
+ return /* @__PURE__ */ jsxRuntime.jsx(SCR, { content, onDismiss: () => void 0 }, content.id);
44298
44300
  }
44301
+ } else {
44302
+ shellLog.debug("resolve", { idPrefix, type: null, hasDesc: false, render: false, branch: typeof value });
44299
44303
  }
44300
44304
  return null;
44301
44305
  }
44302
- var _scr, GameShell;
44306
+ var shellLog, _scr, GameShell;
44303
44307
  var init_GameShell = __esm({
44304
44308
  "components/game/templates/GameShell.tsx"() {
44305
44309
  init_cn();
44306
44310
  init_Box();
44307
44311
  init_Stack();
44308
44312
  init_Typography();
44313
+ shellLog = logger.createLogger("almadar:ui:game:game-shell");
44309
44314
  _scr = null;
44310
44315
  GameShell = ({
44311
44316
  appName = "Game",
@@ -44243,22 +44243,27 @@ function resolveDescriptor(value, idPrefix) {
44243
44243
  }
44244
44244
  if (typeof value === "object" && value !== null) {
44245
44245
  const desc = asDescriptor(value);
44246
- if (desc !== null && getComponentForPattern(desc.type) !== null) {
44246
+ const hasComp = desc !== null && getComponentForPattern(desc.type) !== null;
44247
+ shellLog.debug("resolve", { idPrefix, type: desc?.type ?? null, hasDesc: desc !== null, render: hasComp });
44248
+ if (hasComp) {
44247
44249
  const resolvedProps = desc.props ?? {};
44248
44250
  const content = { id: desc._id ?? idPrefix, pattern: desc.type, props: resolvedProps, priority: 0 };
44249
44251
  const SCR = getSlotContentRenderer2();
44250
- return /* @__PURE__ */ jsx(SCR, { content, onDismiss: () => void 0 });
44252
+ return /* @__PURE__ */ jsx(SCR, { content, onDismiss: () => void 0 }, content.id);
44251
44253
  }
44254
+ } else {
44255
+ shellLog.debug("resolve", { idPrefix, type: null, hasDesc: false, render: false, branch: typeof value });
44252
44256
  }
44253
44257
  return null;
44254
44258
  }
44255
- var _scr, GameShell;
44259
+ var shellLog, _scr, GameShell;
44256
44260
  var init_GameShell = __esm({
44257
44261
  "components/game/templates/GameShell.tsx"() {
44258
44262
  init_cn();
44259
44263
  init_Box();
44260
44264
  init_Stack();
44261
44265
  init_Typography();
44266
+ shellLog = createLogger("almadar:ui:game:game-shell");
44262
44267
  _scr = null;
44263
44268
  GameShell = ({
44264
44269
  appName = "Game",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "5.73.0",
3
+ "version": "5.74.0",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "sideEffects": [