@almadar/ui 4.10.4 → 4.10.5

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.
@@ -46690,7 +46690,15 @@ function MaybeTraitScope({
46690
46690
  }) {
46691
46691
  const schemaCtx = useEntitySchemaOptional();
46692
46692
  const orbital = sourceTrait !== void 0 && schemaCtx !== null ? schemaCtx.orbitalsByTrait.get(sourceTrait) : void 0;
46693
- if (sourceTrait !== void 0 && orbital !== void 0) {
46693
+ const wrap = sourceTrait !== void 0 && orbital !== void 0;
46694
+ scopeWrapLog.info("decide", {
46695
+ sourceTrait,
46696
+ schemaCtxPresent: schemaCtx !== null,
46697
+ orbitalsByTraitSize: schemaCtx?.orbitalsByTrait.size ?? 0,
46698
+ orbital,
46699
+ wrap
46700
+ });
46701
+ if (wrap) {
46694
46702
  return /* @__PURE__ */ jsxRuntime.jsx(TraitScopeProvider, { orbital, trait: sourceTrait, children });
46695
46703
  }
46696
46704
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
@@ -47175,7 +47183,7 @@ function UISlotRenderer({
47175
47183
  }
47176
47184
  return wrapped;
47177
47185
  }
47178
- var TRAIT_BINDING_RE, SuspenseConfigContext, SlotContainedContext, SLOT_SKELETON_MAP, FORM_PATTERNS, PATTERNS_WITH_CHILDREN;
47186
+ var scopeWrapLog, TRAIT_BINDING_RE, SuspenseConfigContext, SlotContainedContext, SLOT_SKELETON_MAP, FORM_PATTERNS, PATTERNS_WITH_CHILDREN;
47179
47187
  var init_UISlotRenderer = __esm({
47180
47188
  "components/organisms/UISlotRenderer.tsx"() {
47181
47189
  "use client";
@@ -47191,10 +47199,12 @@ var init_UISlotRenderer = __esm({
47191
47199
  init_SlotsContext();
47192
47200
  init_cn();
47193
47201
  init_ErrorBoundary();
47202
+ init_logger();
47194
47203
  init_Skeleton();
47195
47204
  init_renderer();
47196
47205
  init_TraitFrame();
47197
47206
  init_component_registry_generated();
47207
+ scopeWrapLog = createLogger("almadar:ui:scope-wrap");
47198
47208
  TRAIT_BINDING_RE = /^@trait\.([A-Z][A-Za-z0-9]*)$/;
47199
47209
  SuspenseConfigContext = React128.createContext({ enabled: false });
47200
47210
  SlotContainedContext = React128.createContext(false);
package/dist/avl/index.js CHANGED
@@ -46644,7 +46644,15 @@ function MaybeTraitScope({
46644
46644
  }) {
46645
46645
  const schemaCtx = useEntitySchemaOptional();
46646
46646
  const orbital = sourceTrait !== void 0 && schemaCtx !== null ? schemaCtx.orbitalsByTrait.get(sourceTrait) : void 0;
46647
- if (sourceTrait !== void 0 && orbital !== void 0) {
46647
+ const wrap = sourceTrait !== void 0 && orbital !== void 0;
46648
+ scopeWrapLog.info("decide", {
46649
+ sourceTrait,
46650
+ schemaCtxPresent: schemaCtx !== null,
46651
+ orbitalsByTraitSize: schemaCtx?.orbitalsByTrait.size ?? 0,
46652
+ orbital,
46653
+ wrap
46654
+ });
46655
+ if (wrap) {
46648
46656
  return /* @__PURE__ */ jsx(TraitScopeProvider, { orbital, trait: sourceTrait, children });
46649
46657
  }
46650
46658
  return /* @__PURE__ */ jsx(Fragment, { children });
@@ -47129,7 +47137,7 @@ function UISlotRenderer({
47129
47137
  }
47130
47138
  return wrapped;
47131
47139
  }
47132
- var TRAIT_BINDING_RE, SuspenseConfigContext, SlotContainedContext, SLOT_SKELETON_MAP, FORM_PATTERNS, PATTERNS_WITH_CHILDREN;
47140
+ var scopeWrapLog, TRAIT_BINDING_RE, SuspenseConfigContext, SlotContainedContext, SLOT_SKELETON_MAP, FORM_PATTERNS, PATTERNS_WITH_CHILDREN;
47133
47141
  var init_UISlotRenderer = __esm({
47134
47142
  "components/organisms/UISlotRenderer.tsx"() {
47135
47143
  "use client";
@@ -47145,10 +47153,12 @@ var init_UISlotRenderer = __esm({
47145
47153
  init_SlotsContext();
47146
47154
  init_cn();
47147
47155
  init_ErrorBoundary();
47156
+ init_logger();
47148
47157
  init_Skeleton();
47149
47158
  init_renderer();
47150
47159
  init_TraitFrame();
47151
47160
  init_component_registry_generated();
47161
+ scopeWrapLog = createLogger("almadar:ui:scope-wrap");
47152
47162
  TRAIT_BINDING_RE = /^@trait\.([A-Z][A-Za-z0-9]*)$/;
47153
47163
  SuspenseConfigContext = createContext({ enabled: false });
47154
47164
  SlotContainedContext = createContext(false);
@@ -37377,7 +37377,15 @@ function MaybeTraitScope({
37377
37377
  }) {
37378
37378
  const schemaCtx = useEntitySchemaOptional();
37379
37379
  const orbital = sourceTrait !== void 0 && schemaCtx !== null ? schemaCtx.orbitalsByTrait.get(sourceTrait) : void 0;
37380
- if (sourceTrait !== void 0 && orbital !== void 0) {
37380
+ const wrap = sourceTrait !== void 0 && orbital !== void 0;
37381
+ scopeWrapLog.info("decide", {
37382
+ sourceTrait,
37383
+ schemaCtxPresent: schemaCtx !== null,
37384
+ orbitalsByTraitSize: schemaCtx?.orbitalsByTrait.size ?? 0,
37385
+ orbital,
37386
+ wrap
37387
+ });
37388
+ if (wrap) {
37381
37389
  return /* @__PURE__ */ jsxRuntime.jsx(providers.TraitScopeProvider, { orbital, trait: sourceTrait, children });
37382
37390
  }
37383
37391
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
@@ -37862,7 +37870,7 @@ function UISlotRenderer({
37862
37870
  }
37863
37871
  return wrapped;
37864
37872
  }
37865
- var TRAIT_BINDING_RE, SuspenseConfigContext, SlotContainedContext, SLOT_SKELETON_MAP, FORM_PATTERNS, PATTERNS_WITH_CHILDREN;
37873
+ var scopeWrapLog, TRAIT_BINDING_RE, SuspenseConfigContext, SlotContainedContext, SLOT_SKELETON_MAP, FORM_PATTERNS, PATTERNS_WITH_CHILDREN;
37866
37874
  var init_UISlotRenderer = __esm({
37867
37875
  "components/organisms/UISlotRenderer.tsx"() {
37868
37876
  "use client";
@@ -37876,10 +37884,12 @@ var init_UISlotRenderer = __esm({
37876
37884
  init_SlotsContext();
37877
37885
  init_cn();
37878
37886
  init_ErrorBoundary();
37887
+ init_logger();
37879
37888
  init_Skeleton();
37880
37889
  init_renderer();
37881
37890
  init_TraitFrame();
37882
37891
  init_component_registry_generated();
37892
+ scopeWrapLog = createLogger("almadar:ui:scope-wrap");
37883
37893
  TRAIT_BINDING_RE = /^@trait\.([A-Z][A-Za-z0-9]*)$/;
37884
37894
  SuspenseConfigContext = React111.createContext({ enabled: false });
37885
37895
  SlotContainedContext = React111.createContext(false);
@@ -37332,7 +37332,15 @@ function MaybeTraitScope({
37332
37332
  }) {
37333
37333
  const schemaCtx = useEntitySchemaOptional();
37334
37334
  const orbital = sourceTrait !== void 0 && schemaCtx !== null ? schemaCtx.orbitalsByTrait.get(sourceTrait) : void 0;
37335
- if (sourceTrait !== void 0 && orbital !== void 0) {
37335
+ const wrap = sourceTrait !== void 0 && orbital !== void 0;
37336
+ scopeWrapLog.info("decide", {
37337
+ sourceTrait,
37338
+ schemaCtxPresent: schemaCtx !== null,
37339
+ orbitalsByTraitSize: schemaCtx?.orbitalsByTrait.size ?? 0,
37340
+ orbital,
37341
+ wrap
37342
+ });
37343
+ if (wrap) {
37336
37344
  return /* @__PURE__ */ jsx(TraitScopeProvider, { orbital, trait: sourceTrait, children });
37337
37345
  }
37338
37346
  return /* @__PURE__ */ jsx(Fragment, { children });
@@ -37817,7 +37825,7 @@ function UISlotRenderer({
37817
37825
  }
37818
37826
  return wrapped;
37819
37827
  }
37820
- var TRAIT_BINDING_RE, SuspenseConfigContext, SlotContainedContext, SLOT_SKELETON_MAP, FORM_PATTERNS, PATTERNS_WITH_CHILDREN;
37828
+ var scopeWrapLog, TRAIT_BINDING_RE, SuspenseConfigContext, SlotContainedContext, SLOT_SKELETON_MAP, FORM_PATTERNS, PATTERNS_WITH_CHILDREN;
37821
37829
  var init_UISlotRenderer = __esm({
37822
37830
  "components/organisms/UISlotRenderer.tsx"() {
37823
37831
  "use client";
@@ -37831,10 +37839,12 @@ var init_UISlotRenderer = __esm({
37831
37839
  init_SlotsContext();
37832
37840
  init_cn();
37833
37841
  init_ErrorBoundary();
37842
+ init_logger();
37834
37843
  init_Skeleton();
37835
37844
  init_renderer();
37836
37845
  init_TraitFrame();
37837
37846
  init_component_registry_generated();
37847
+ scopeWrapLog = createLogger("almadar:ui:scope-wrap");
37838
37848
  TRAIT_BINDING_RE = /^@trait\.([A-Z][A-Za-z0-9]*)$/;
37839
37849
  SuspenseConfigContext = createContext({ enabled: false });
37840
37850
  SlotContainedContext = createContext(false);
@@ -37890,7 +37890,15 @@ function MaybeTraitScope({
37890
37890
  }) {
37891
37891
  const schemaCtx = useEntitySchemaOptional();
37892
37892
  const orbital = sourceTrait !== void 0 && schemaCtx !== null ? schemaCtx.orbitalsByTrait.get(sourceTrait) : void 0;
37893
- if (sourceTrait !== void 0 && orbital !== void 0) {
37893
+ const wrap = sourceTrait !== void 0 && orbital !== void 0;
37894
+ scopeWrapLog.info("decide", {
37895
+ sourceTrait,
37896
+ schemaCtxPresent: schemaCtx !== null,
37897
+ orbitalsByTraitSize: schemaCtx?.orbitalsByTrait.size ?? 0,
37898
+ orbital,
37899
+ wrap
37900
+ });
37901
+ if (wrap) {
37894
37902
  return /* @__PURE__ */ jsxRuntime.jsx(providers.TraitScopeProvider, { orbital, trait: sourceTrait, children });
37895
37903
  }
37896
37904
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
@@ -38375,7 +38383,7 @@ function UISlotRenderer({
38375
38383
  }
38376
38384
  return wrapped;
38377
38385
  }
38378
- var TRAIT_BINDING_RE, SuspenseConfigContext, SlotContainedContext, SLOT_SKELETON_MAP, FORM_PATTERNS, PATTERNS_WITH_CHILDREN;
38386
+ var scopeWrapLog, TRAIT_BINDING_RE, SuspenseConfigContext, SlotContainedContext, SLOT_SKELETON_MAP, FORM_PATTERNS, PATTERNS_WITH_CHILDREN;
38379
38387
  var init_UISlotRenderer = __esm({
38380
38388
  "components/organisms/UISlotRenderer.tsx"() {
38381
38389
  "use client";
@@ -38389,10 +38397,12 @@ var init_UISlotRenderer = __esm({
38389
38397
  init_SlotsContext();
38390
38398
  init_cn();
38391
38399
  init_ErrorBoundary();
38400
+ init_logger();
38392
38401
  init_Skeleton();
38393
38402
  init_renderer();
38394
38403
  init_TraitFrame();
38395
38404
  init_component_registry_generated();
38405
+ scopeWrapLog = createLogger("almadar:ui:scope-wrap");
38396
38406
  TRAIT_BINDING_RE = /^@trait\.([A-Z][A-Za-z0-9]*)$/;
38397
38407
  SuspenseConfigContext = React116.createContext({ enabled: false });
38398
38408
  SlotContainedContext = React116.createContext(false);
@@ -37845,7 +37845,15 @@ function MaybeTraitScope({
37845
37845
  }) {
37846
37846
  const schemaCtx = useEntitySchemaOptional();
37847
37847
  const orbital = sourceTrait !== void 0 && schemaCtx !== null ? schemaCtx.orbitalsByTrait.get(sourceTrait) : void 0;
37848
- if (sourceTrait !== void 0 && orbital !== void 0) {
37848
+ const wrap = sourceTrait !== void 0 && orbital !== void 0;
37849
+ scopeWrapLog.info("decide", {
37850
+ sourceTrait,
37851
+ schemaCtxPresent: schemaCtx !== null,
37852
+ orbitalsByTraitSize: schemaCtx?.orbitalsByTrait.size ?? 0,
37853
+ orbital,
37854
+ wrap
37855
+ });
37856
+ if (wrap) {
37849
37857
  return /* @__PURE__ */ jsx(TraitScopeProvider, { orbital, trait: sourceTrait, children });
37850
37858
  }
37851
37859
  return /* @__PURE__ */ jsx(Fragment, { children });
@@ -38330,7 +38338,7 @@ function UISlotRenderer({
38330
38338
  }
38331
38339
  return wrapped;
38332
38340
  }
38333
- var TRAIT_BINDING_RE, SuspenseConfigContext, SlotContainedContext, SLOT_SKELETON_MAP, FORM_PATTERNS, PATTERNS_WITH_CHILDREN;
38341
+ var scopeWrapLog, TRAIT_BINDING_RE, SuspenseConfigContext, SlotContainedContext, SLOT_SKELETON_MAP, FORM_PATTERNS, PATTERNS_WITH_CHILDREN;
38334
38342
  var init_UISlotRenderer = __esm({
38335
38343
  "components/organisms/UISlotRenderer.tsx"() {
38336
38344
  "use client";
@@ -38344,10 +38352,12 @@ var init_UISlotRenderer = __esm({
38344
38352
  init_SlotsContext();
38345
38353
  init_cn();
38346
38354
  init_ErrorBoundary();
38355
+ init_logger();
38347
38356
  init_Skeleton();
38348
38357
  init_renderer();
38349
38358
  init_TraitFrame();
38350
38359
  init_component_registry_generated();
38360
+ scopeWrapLog = createLogger("almadar:ui:scope-wrap");
38351
38361
  TRAIT_BINDING_RE = /^@trait\.([A-Z][A-Za-z0-9]*)$/;
38352
38362
  SuspenseConfigContext = createContext({ enabled: false });
38353
38363
  SlotContainedContext = createContext(false);
@@ -37577,7 +37577,15 @@ function MaybeTraitScope({
37577
37577
  }) {
37578
37578
  const schemaCtx = useEntitySchemaOptional();
37579
37579
  const orbital = sourceTrait !== void 0 && schemaCtx !== null ? schemaCtx.orbitalsByTrait.get(sourceTrait) : void 0;
37580
- if (sourceTrait !== void 0 && orbital !== void 0) {
37580
+ const wrap = sourceTrait !== void 0 && orbital !== void 0;
37581
+ scopeWrapLog.info("decide", {
37582
+ sourceTrait,
37583
+ schemaCtxPresent: schemaCtx !== null,
37584
+ orbitalsByTraitSize: schemaCtx?.orbitalsByTrait.size ?? 0,
37585
+ orbital,
37586
+ wrap
37587
+ });
37588
+ if (wrap) {
37581
37589
  return /* @__PURE__ */ jsxRuntime.jsx(providers.TraitScopeProvider, { orbital, trait: sourceTrait, children });
37582
37590
  }
37583
37591
  return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
@@ -38062,7 +38070,7 @@ function UISlotRenderer({
38062
38070
  }
38063
38071
  return wrapped;
38064
38072
  }
38065
- var TRAIT_BINDING_RE, SuspenseConfigContext, SlotContainedContext, SLOT_SKELETON_MAP, FORM_PATTERNS, PATTERNS_WITH_CHILDREN;
38073
+ var scopeWrapLog, TRAIT_BINDING_RE, SuspenseConfigContext, SlotContainedContext, SLOT_SKELETON_MAP, FORM_PATTERNS, PATTERNS_WITH_CHILDREN;
38066
38074
  var init_UISlotRenderer = __esm({
38067
38075
  "components/organisms/UISlotRenderer.tsx"() {
38068
38076
  "use client";
@@ -38076,10 +38084,12 @@ var init_UISlotRenderer = __esm({
38076
38084
  init_SlotsContext();
38077
38085
  init_cn();
38078
38086
  init_ErrorBoundary();
38087
+ init_logger();
38079
38088
  init_Skeleton();
38080
38089
  init_renderer();
38081
38090
  init_TraitFrame();
38082
38091
  init_component_registry_generated();
38092
+ scopeWrapLog = createLogger("almadar:ui:scope-wrap");
38083
38093
  TRAIT_BINDING_RE = /^@trait\.([A-Z][A-Za-z0-9]*)$/;
38084
38094
  SuspenseConfigContext = React115.createContext({ enabled: false });
38085
38095
  SlotContainedContext = React115.createContext(false);
@@ -37532,7 +37532,15 @@ function MaybeTraitScope({
37532
37532
  }) {
37533
37533
  const schemaCtx = useEntitySchemaOptional();
37534
37534
  const orbital = sourceTrait !== void 0 && schemaCtx !== null ? schemaCtx.orbitalsByTrait.get(sourceTrait) : void 0;
37535
- if (sourceTrait !== void 0 && orbital !== void 0) {
37535
+ const wrap = sourceTrait !== void 0 && orbital !== void 0;
37536
+ scopeWrapLog.info("decide", {
37537
+ sourceTrait,
37538
+ schemaCtxPresent: schemaCtx !== null,
37539
+ orbitalsByTraitSize: schemaCtx?.orbitalsByTrait.size ?? 0,
37540
+ orbital,
37541
+ wrap
37542
+ });
37543
+ if (wrap) {
37536
37544
  return /* @__PURE__ */ jsx(TraitScopeProvider, { orbital, trait: sourceTrait, children });
37537
37545
  }
37538
37546
  return /* @__PURE__ */ jsx(Fragment, { children });
@@ -38017,7 +38025,7 @@ function UISlotRenderer({
38017
38025
  }
38018
38026
  return wrapped;
38019
38027
  }
38020
- var TRAIT_BINDING_RE, SuspenseConfigContext, SlotContainedContext, SLOT_SKELETON_MAP, FORM_PATTERNS, PATTERNS_WITH_CHILDREN;
38028
+ var scopeWrapLog, TRAIT_BINDING_RE, SuspenseConfigContext, SlotContainedContext, SLOT_SKELETON_MAP, FORM_PATTERNS, PATTERNS_WITH_CHILDREN;
38021
38029
  var init_UISlotRenderer = __esm({
38022
38030
  "components/organisms/UISlotRenderer.tsx"() {
38023
38031
  "use client";
@@ -38031,10 +38039,12 @@ var init_UISlotRenderer = __esm({
38031
38039
  init_SlotsContext();
38032
38040
  init_cn();
38033
38041
  init_ErrorBoundary();
38042
+ init_logger();
38034
38043
  init_Skeleton();
38035
38044
  init_renderer();
38036
38045
  init_TraitFrame();
38037
38046
  init_component_registry_generated();
38047
+ scopeWrapLog = createLogger("almadar:ui:scope-wrap");
38038
38048
  TRAIT_BINDING_RE = /^@trait\.([A-Z][A-Za-z0-9]*)$/;
38039
38049
  SuspenseConfigContext = createContext({ enabled: false });
38040
38050
  SlotContainedContext = createContext(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "4.10.4",
3
+ "version": "4.10.5",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/components/index.js",