@almadar/ui 6.17.0 → 6.19.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.
@@ -22251,6 +22251,7 @@ var init_CodeBlock = __esm({
22251
22251
  ref: scrollRef,
22252
22252
  onCopy: handleSelectionCopy,
22253
22253
  dir: "ltr",
22254
+ className: "[&_code]:!bg-transparent [&_code]:!p-0 [&_code]:!border-0 [&_code]:!shadow-none [&_span]:!bg-transparent",
22254
22255
  style: {
22255
22256
  flex: 1,
22256
22257
  minHeight: 0,
@@ -22408,7 +22409,12 @@ var init_MermaidDiagram = __esm({
22408
22409
  mermaid.initialize({
22409
22410
  startOnLoad: false,
22410
22411
  securityLevel: "strict",
22411
- theme: resolvedMode === "dark" ? "dark" : "default"
22412
+ theme: resolvedMode === "dark" ? "dark" : "default",
22413
+ // Mermaid's default is to append its "Syntax error in text" bomb
22414
+ // graphic to <body> on a failed parse, outside any error boundary —
22415
+ // the catch below owns failure presentation (source + log), so the
22416
+ // library must not paint its own.
22417
+ suppressErrorRendering: true
22412
22418
  });
22413
22419
  const domId = `mermaid-${reactId.replace(/[^a-zA-Z0-9]/g, "")}`;
22414
22420
  let firstError = null;
@@ -54999,6 +55005,11 @@ function renderPatternChildren(children, onDismiss, parentId = "root", parentPat
54999
55005
  if (_childChildren !== void 0 && nestedProps === void 0) {
55000
55006
  resolvedProps.children = _childChildren;
55001
55007
  }
55008
+ const childKids = resolvedProps.children;
55009
+ const childlessStack = (_childType === "stack" || _childType === "vstack" || _childType === "hstack") && resolvedProps.className === void 0 && resolvedProps.style === void 0 && (childKids === void 0 || childKids === null || Array.isArray(childKids) && !childKids.length);
55010
+ if (childlessStack) {
55011
+ return null;
55012
+ }
55002
55013
  const childContent = {
55003
55014
  id: childId,
55004
55015
  pattern: child.type,
package/dist/avl/index.js CHANGED
@@ -22175,6 +22175,7 @@ var init_CodeBlock = __esm({
22175
22175
  ref: scrollRef,
22176
22176
  onCopy: handleSelectionCopy,
22177
22177
  dir: "ltr",
22178
+ className: "[&_code]:!bg-transparent [&_code]:!p-0 [&_code]:!border-0 [&_code]:!shadow-none [&_span]:!bg-transparent",
22178
22179
  style: {
22179
22180
  flex: 1,
22180
22181
  minHeight: 0,
@@ -22332,7 +22333,12 @@ var init_MermaidDiagram = __esm({
22332
22333
  mermaid.initialize({
22333
22334
  startOnLoad: false,
22334
22335
  securityLevel: "strict",
22335
- theme: resolvedMode === "dark" ? "dark" : "default"
22336
+ theme: resolvedMode === "dark" ? "dark" : "default",
22337
+ // Mermaid's default is to append its "Syntax error in text" bomb
22338
+ // graphic to <body> on a failed parse, outside any error boundary —
22339
+ // the catch below owns failure presentation (source + log), so the
22340
+ // library must not paint its own.
22341
+ suppressErrorRendering: true
22336
22342
  });
22337
22343
  const domId = `mermaid-${reactId.replace(/[^a-zA-Z0-9]/g, "")}`;
22338
22344
  let firstError = null;
@@ -54923,6 +54929,11 @@ function renderPatternChildren(children, onDismiss, parentId = "root", parentPat
54923
54929
  if (_childChildren !== void 0 && nestedProps === void 0) {
54924
54930
  resolvedProps.children = _childChildren;
54925
54931
  }
54932
+ const childKids = resolvedProps.children;
54933
+ const childlessStack = (_childType === "stack" || _childType === "vstack" || _childType === "hstack") && resolvedProps.className === void 0 && resolvedProps.style === void 0 && (childKids === void 0 || childKids === null || Array.isArray(childKids) && !childKids.length);
54934
+ if (childlessStack) {
54935
+ return null;
54936
+ }
54926
54937
  const childContent = {
54927
54938
  id: childId,
54928
54939
  pattern: child.type,
@@ -15495,6 +15495,7 @@ var init_CodeBlock = __esm({
15495
15495
  ref: scrollRef,
15496
15496
  onCopy: handleSelectionCopy,
15497
15497
  dir: "ltr",
15498
+ className: "[&_code]:!bg-transparent [&_code]:!p-0 [&_code]:!border-0 [&_code]:!shadow-none [&_span]:!bg-transparent",
15498
15499
  style: {
15499
15500
  flex: 1,
15500
15501
  minHeight: 0,
@@ -15652,7 +15653,12 @@ var init_MermaidDiagram = __esm({
15652
15653
  mermaid.initialize({
15653
15654
  startOnLoad: false,
15654
15655
  securityLevel: "strict",
15655
- theme: resolvedMode === "dark" ? "dark" : "default"
15656
+ theme: resolvedMode === "dark" ? "dark" : "default",
15657
+ // Mermaid's default is to append its "Syntax error in text" bomb
15658
+ // graphic to <body> on a failed parse, outside any error boundary —
15659
+ // the catch below owns failure presentation (source + log), so the
15660
+ // library must not paint its own.
15661
+ suppressErrorRendering: true
15656
15662
  });
15657
15663
  const domId = `mermaid-${reactId.replace(/[^a-zA-Z0-9]/g, "")}`;
15658
15664
  let firstError = null;
@@ -54118,6 +54124,11 @@ function renderPatternChildren(children, onDismiss, parentId = "root", parentPat
54118
54124
  if (_childChildren !== void 0 && nestedProps === void 0) {
54119
54125
  resolvedProps.children = _childChildren;
54120
54126
  }
54127
+ const childKids = resolvedProps.children;
54128
+ const childlessStack = (_childType === "stack" || _childType === "vstack" || _childType === "hstack") && resolvedProps.className === void 0 && resolvedProps.style === void 0 && (childKids === void 0 || childKids === null || Array.isArray(childKids) && !childKids.length);
54129
+ if (childlessStack) {
54130
+ return null;
54131
+ }
54121
54132
  const childContent = {
54122
54133
  id: childId,
54123
54134
  pattern: child.type,
@@ -7942,7 +7942,7 @@ interface DataGridProps extends DataDndProps {
7942
7942
  * field whose type is relation. Same contract DetailPanel takes. */
7943
7943
  relationsData?: Record<string, readonly RelationOption[]>;
7944
7944
  }
7945
- declare function DataGrid({ entity, fields, columns, itemActions, maxInlineActions, scrollX, cols, gap, minCardWidth, className, isLoading, error, imageField, selectable, selectionEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, renderItem: schemaRenderItem, dragGroup, accepts, sortable, dropEvent, reorderEvent, positionEvent, dndItemIdField, dndRoot, look, relationsData, }: DataGridProps): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | React__default.JSX.Element | null | undefined;
7945
+ declare function DataGrid({ entity, fields, columns, itemActions, maxInlineActions, scrollX, cols, gap, minCardWidth, className, isLoading, error, imageField, selectable, selectionEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, renderItem: schemaRenderItem, dragGroup, accepts, sortable, dropEvent, reorderEvent, positionEvent, dndItemIdField, dndRoot, look, relationsData, }: DataGridProps): string | number | bigint | boolean | React__default.JSX.Element | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | null | undefined;
7946
7946
  declare namespace DataGrid {
7947
7947
  var displayName: string;
7948
7948
  }
@@ -8104,7 +8104,7 @@ interface DataListProps extends DataDndProps {
8104
8104
  * field whose type is relation. Same contract DetailPanel takes. */
8105
8105
  relationsData?: Record<string, readonly RelationOption[]>;
8106
8106
  }
8107
- declare function DataList({ entity, fields, columns, itemActions, maxInlineActions, itemClickEvent, gap, variant, groupBy, senderField, senderLabelField, currentUser, emptyMessage, className, isLoading, error, reorderable: _reorderable, reorderEvent: _reorderEvent, swipeLeftEvent: _swipeLeftEvent, swipeLeftActions: _swipeLeftActions, swipeRightEvent: _swipeRightEvent, swipeRightActions: _swipeRightActions, longPressEvent: _longPressEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, sortBy, sortDirection, renderItem: schemaRenderItem, dragGroup, accepts, sortable: sortableProp, dropEvent, reorderEvent: dndReorderEvent, positionEvent, dndItemIdField, dndRoot, look, relationsData, }: DataListProps): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | React__default.JSX.Element | null | undefined;
8107
+ declare function DataList({ entity, fields, columns, itemActions, maxInlineActions, itemClickEvent, gap, variant, groupBy, senderField, senderLabelField, currentUser, emptyMessage, className, isLoading, error, reorderable: _reorderable, reorderEvent: _reorderEvent, swipeLeftEvent: _swipeLeftEvent, swipeLeftActions: _swipeLeftActions, swipeRightEvent: _swipeRightEvent, swipeRightActions: _swipeRightActions, longPressEvent: _longPressEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, sortBy, sortDirection, renderItem: schemaRenderItem, dragGroup, accepts, sortable: sortableProp, dropEvent, reorderEvent: dndReorderEvent, positionEvent, dndItemIdField, dndRoot, look, relationsData, }: DataListProps): string | number | bigint | boolean | React__default.JSX.Element | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | null | undefined;
8108
8108
  declare namespace DataList {
8109
8109
  var displayName: string;
8110
8110
  }
@@ -7942,7 +7942,7 @@ interface DataGridProps extends DataDndProps {
7942
7942
  * field whose type is relation. Same contract DetailPanel takes. */
7943
7943
  relationsData?: Record<string, readonly RelationOption[]>;
7944
7944
  }
7945
- declare function DataGrid({ entity, fields, columns, itemActions, maxInlineActions, scrollX, cols, gap, minCardWidth, className, isLoading, error, imageField, selectable, selectionEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, renderItem: schemaRenderItem, dragGroup, accepts, sortable, dropEvent, reorderEvent, positionEvent, dndItemIdField, dndRoot, look, relationsData, }: DataGridProps): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | React__default.JSX.Element | null | undefined;
7945
+ declare function DataGrid({ entity, fields, columns, itemActions, maxInlineActions, scrollX, cols, gap, minCardWidth, className, isLoading, error, imageField, selectable, selectionEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, renderItem: schemaRenderItem, dragGroup, accepts, sortable, dropEvent, reorderEvent, positionEvent, dndItemIdField, dndRoot, look, relationsData, }: DataGridProps): string | number | bigint | boolean | React__default.JSX.Element | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | null | undefined;
7946
7946
  declare namespace DataGrid {
7947
7947
  var displayName: string;
7948
7948
  }
@@ -8104,7 +8104,7 @@ interface DataListProps extends DataDndProps {
8104
8104
  * field whose type is relation. Same contract DetailPanel takes. */
8105
8105
  relationsData?: Record<string, readonly RelationOption[]>;
8106
8106
  }
8107
- declare function DataList({ entity, fields, columns, itemActions, maxInlineActions, itemClickEvent, gap, variant, groupBy, senderField, senderLabelField, currentUser, emptyMessage, className, isLoading, error, reorderable: _reorderable, reorderEvent: _reorderEvent, swipeLeftEvent: _swipeLeftEvent, swipeLeftActions: _swipeLeftActions, swipeRightEvent: _swipeRightEvent, swipeRightActions: _swipeRightActions, longPressEvent: _longPressEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, sortBy, sortDirection, renderItem: schemaRenderItem, dragGroup, accepts, sortable: sortableProp, dropEvent, reorderEvent: dndReorderEvent, positionEvent, dndItemIdField, dndRoot, look, relationsData, }: DataListProps): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | React__default.JSX.Element | null | undefined;
8107
+ declare function DataList({ entity, fields, columns, itemActions, maxInlineActions, itemClickEvent, gap, variant, groupBy, senderField, senderLabelField, currentUser, emptyMessage, className, isLoading, error, reorderable: _reorderable, reorderEvent: _reorderEvent, swipeLeftEvent: _swipeLeftEvent, swipeLeftActions: _swipeLeftActions, swipeRightEvent: _swipeRightEvent, swipeRightActions: _swipeRightActions, longPressEvent: _longPressEvent, infiniteScroll, loadMoreEvent, hasMore, children, pageSize, sortBy, sortDirection, renderItem: schemaRenderItem, dragGroup, accepts, sortable: sortableProp, dropEvent, reorderEvent: dndReorderEvent, positionEvent, dndItemIdField, dndRoot, look, relationsData, }: DataListProps): string | number | bigint | boolean | React__default.JSX.Element | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | null | undefined;
8108
8108
  declare namespace DataList {
8109
8109
  var displayName: string;
8110
8110
  }
@@ -15420,6 +15420,7 @@ var init_CodeBlock = __esm({
15420
15420
  ref: scrollRef,
15421
15421
  onCopy: handleSelectionCopy,
15422
15422
  dir: "ltr",
15423
+ className: "[&_code]:!bg-transparent [&_code]:!p-0 [&_code]:!border-0 [&_code]:!shadow-none [&_span]:!bg-transparent",
15423
15424
  style: {
15424
15425
  flex: 1,
15425
15426
  minHeight: 0,
@@ -15577,7 +15578,12 @@ var init_MermaidDiagram = __esm({
15577
15578
  mermaid.initialize({
15578
15579
  startOnLoad: false,
15579
15580
  securityLevel: "strict",
15580
- theme: resolvedMode === "dark" ? "dark" : "default"
15581
+ theme: resolvedMode === "dark" ? "dark" : "default",
15582
+ // Mermaid's default is to append its "Syntax error in text" bomb
15583
+ // graphic to <body> on a failed parse, outside any error boundary —
15584
+ // the catch below owns failure presentation (source + log), so the
15585
+ // library must not paint its own.
15586
+ suppressErrorRendering: true
15581
15587
  });
15582
15588
  const domId = `mermaid-${reactId.replace(/[^a-zA-Z0-9]/g, "")}`;
15583
15589
  let firstError = null;
@@ -54043,6 +54049,11 @@ function renderPatternChildren(children, onDismiss, parentId = "root", parentPat
54043
54049
  if (_childChildren !== void 0 && nestedProps === void 0) {
54044
54050
  resolvedProps.children = _childChildren;
54045
54051
  }
54052
+ const childKids = resolvedProps.children;
54053
+ const childlessStack = (_childType === "stack" || _childType === "vstack" || _childType === "hstack") && resolvedProps.className === void 0 && resolvedProps.style === void 0 && (childKids === void 0 || childKids === null || Array.isArray(childKids) && !childKids.length);
54054
+ if (childlessStack) {
54055
+ return null;
54056
+ }
54046
54057
  const childContent = {
54047
54058
  id: childId,
54048
54059
  pattern: child.type,
@@ -19700,6 +19700,7 @@ var init_CodeBlock = __esm({
19700
19700
  ref: scrollRef,
19701
19701
  onCopy: handleSelectionCopy,
19702
19702
  dir: "ltr",
19703
+ className: "[&_code]:!bg-transparent [&_code]:!p-0 [&_code]:!border-0 [&_code]:!shadow-none [&_span]:!bg-transparent",
19703
19704
  style: {
19704
19705
  flex: 1,
19705
19706
  minHeight: 0,
@@ -19857,7 +19858,12 @@ var init_MermaidDiagram = __esm({
19857
19858
  mermaid.initialize({
19858
19859
  startOnLoad: false,
19859
19860
  securityLevel: "strict",
19860
- theme: resolvedMode === "dark" ? "dark" : "default"
19861
+ theme: resolvedMode === "dark" ? "dark" : "default",
19862
+ // Mermaid's default is to append its "Syntax error in text" bomb
19863
+ // graphic to <body> on a failed parse, outside any error boundary —
19864
+ // the catch below owns failure presentation (source + log), so the
19865
+ // library must not paint its own.
19866
+ suppressErrorRendering: true
19861
19867
  });
19862
19868
  const domId = `mermaid-${reactId.replace(/[^a-zA-Z0-9]/g, "")}`;
19863
19869
  let firstError = null;
@@ -52838,6 +52844,11 @@ function renderPatternChildren(children, onDismiss, parentId = "root", parentPat
52838
52844
  if (_childChildren !== void 0 && nestedProps === void 0) {
52839
52845
  resolvedProps.children = _childChildren;
52840
52846
  }
52847
+ const childKids = resolvedProps.children;
52848
+ const childlessStack = (_childType === "stack" || _childType === "vstack" || _childType === "hstack") && resolvedProps.className === void 0 && resolvedProps.style === void 0 && (childKids === void 0 || childKids === null || Array.isArray(childKids) && !childKids.length);
52849
+ if (childlessStack) {
52850
+ return null;
52851
+ }
52841
52852
  const childContent = {
52842
52853
  id: childId,
52843
52854
  pattern: child.type,
@@ -19626,6 +19626,7 @@ var init_CodeBlock = __esm({
19626
19626
  ref: scrollRef,
19627
19627
  onCopy: handleSelectionCopy,
19628
19628
  dir: "ltr",
19629
+ className: "[&_code]:!bg-transparent [&_code]:!p-0 [&_code]:!border-0 [&_code]:!shadow-none [&_span]:!bg-transparent",
19629
19630
  style: {
19630
19631
  flex: 1,
19631
19632
  minHeight: 0,
@@ -19783,7 +19784,12 @@ var init_MermaidDiagram = __esm({
19783
19784
  mermaid.initialize({
19784
19785
  startOnLoad: false,
19785
19786
  securityLevel: "strict",
19786
- theme: resolvedMode === "dark" ? "dark" : "default"
19787
+ theme: resolvedMode === "dark" ? "dark" : "default",
19788
+ // Mermaid's default is to append its "Syntax error in text" bomb
19789
+ // graphic to <body> on a failed parse, outside any error boundary —
19790
+ // the catch below owns failure presentation (source + log), so the
19791
+ // library must not paint its own.
19792
+ suppressErrorRendering: true
19787
19793
  });
19788
19794
  const domId = `mermaid-${reactId.replace(/[^a-zA-Z0-9]/g, "")}`;
19789
19795
  let firstError = null;
@@ -52764,6 +52770,11 @@ function renderPatternChildren(children, onDismiss, parentId = "root", parentPat
52764
52770
  if (_childChildren !== void 0 && nestedProps === void 0) {
52765
52771
  resolvedProps.children = _childChildren;
52766
52772
  }
52773
+ const childKids = resolvedProps.children;
52774
+ const childlessStack = (_childType === "stack" || _childType === "vstack" || _childType === "hstack") && resolvedProps.className === void 0 && resolvedProps.style === void 0 && (childKids === void 0 || childKids === null || Array.isArray(childKids) && !childKids.length);
52775
+ if (childlessStack) {
52776
+ return null;
52777
+ }
52767
52778
  const childContent = {
52768
52779
  id: childId,
52769
52780
  pattern: child.type,
@@ -19779,6 +19779,7 @@ var init_CodeBlock = __esm({
19779
19779
  ref: scrollRef,
19780
19780
  onCopy: handleSelectionCopy,
19781
19781
  dir: "ltr",
19782
+ className: "[&_code]:!bg-transparent [&_code]:!p-0 [&_code]:!border-0 [&_code]:!shadow-none [&_span]:!bg-transparent",
19782
19783
  style: {
19783
19784
  flex: 1,
19784
19785
  minHeight: 0,
@@ -19936,7 +19937,12 @@ var init_MermaidDiagram = __esm({
19936
19937
  mermaid.initialize({
19937
19938
  startOnLoad: false,
19938
19939
  securityLevel: "strict",
19939
- theme: resolvedMode === "dark" ? "dark" : "default"
19940
+ theme: resolvedMode === "dark" ? "dark" : "default",
19941
+ // Mermaid's default is to append its "Syntax error in text" bomb
19942
+ // graphic to <body> on a failed parse, outside any error boundary —
19943
+ // the catch below owns failure presentation (source + log), so the
19944
+ // library must not paint its own.
19945
+ suppressErrorRendering: true
19940
19946
  });
19941
19947
  const domId = `mermaid-${reactId.replace(/[^a-zA-Z0-9]/g, "")}`;
19942
19948
  let firstError = null;
@@ -52497,6 +52503,11 @@ function renderPatternChildren(children, onDismiss, parentId = "root", parentPat
52497
52503
  if (_childChildren !== void 0 && nestedProps === void 0) {
52498
52504
  resolvedProps.children = _childChildren;
52499
52505
  }
52506
+ const childKids = resolvedProps.children;
52507
+ const childlessStack = (_childType === "stack" || _childType === "vstack" || _childType === "hstack") && resolvedProps.className === void 0 && resolvedProps.style === void 0 && (childKids === void 0 || childKids === null || Array.isArray(childKids) && !childKids.length);
52508
+ if (childlessStack) {
52509
+ return null;
52510
+ }
52500
52511
  const childContent = {
52501
52512
  id: childId,
52502
52513
  pattern: child.type,
@@ -19705,6 +19705,7 @@ var init_CodeBlock = __esm({
19705
19705
  ref: scrollRef,
19706
19706
  onCopy: handleSelectionCopy,
19707
19707
  dir: "ltr",
19708
+ className: "[&_code]:!bg-transparent [&_code]:!p-0 [&_code]:!border-0 [&_code]:!shadow-none [&_span]:!bg-transparent",
19708
19709
  style: {
19709
19710
  flex: 1,
19710
19711
  minHeight: 0,
@@ -19862,7 +19863,12 @@ var init_MermaidDiagram = __esm({
19862
19863
  mermaid.initialize({
19863
19864
  startOnLoad: false,
19864
19865
  securityLevel: "strict",
19865
- theme: resolvedMode === "dark" ? "dark" : "default"
19866
+ theme: resolvedMode === "dark" ? "dark" : "default",
19867
+ // Mermaid's default is to append its "Syntax error in text" bomb
19868
+ // graphic to <body> on a failed parse, outside any error boundary —
19869
+ // the catch below owns failure presentation (source + log), so the
19870
+ // library must not paint its own.
19871
+ suppressErrorRendering: true
19866
19872
  });
19867
19873
  const domId = `mermaid-${reactId.replace(/[^a-zA-Z0-9]/g, "")}`;
19868
19874
  let firstError = null;
@@ -52423,6 +52429,11 @@ function renderPatternChildren(children, onDismiss, parentId = "root", parentPat
52423
52429
  if (_childChildren !== void 0 && nestedProps === void 0) {
52424
52430
  resolvedProps.children = _childChildren;
52425
52431
  }
52432
+ const childKids = resolvedProps.children;
52433
+ const childlessStack = (_childType === "stack" || _childType === "vstack" || _childType === "hstack") && resolvedProps.className === void 0 && resolvedProps.style === void 0 && (childKids === void 0 || childKids === null || Array.isArray(childKids) && !childKids.length);
52434
+ if (childlessStack) {
52435
+ return null;
52436
+ }
52426
52437
  const childContent = {
52427
52438
  id: childId,
52428
52439
  pattern: child.type,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "6.17.0",
3
+ "version": "6.19.0",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -122,7 +122,7 @@
122
122
  "@almadar/evaluator": "^2.45.0",
123
123
  "@almadar/logger": "^1.12.0",
124
124
  "@almadar/runtime": "^6.78.0",
125
- "@almadar/std": "^16.213.0",
125
+ "@almadar/std": "^16.216.0",
126
126
  "@almadar/syntax": "^1.17.0",
127
127
  "@dnd-kit/core": "^6.3.1",
128
128
  "@dnd-kit/sortable": "^10.0.0",
package/themes/index.css CHANGED
@@ -83,6 +83,18 @@
83
83
  border-color: var(--color-border, #e5e7eb);
84
84
  }
85
85
 
86
+ /**
87
+ * currentColor anchor. A nested [data-theme] container re-scopes every
88
+ * var-based color utility, but the raw `color` property inherits straight
89
+ * through from the outer theme — `text-current` icons painted the outer
90
+ * theme's foreground on the inner theme's surface (white-on-white when a
91
+ * behavior pins a light theme inside a dark shell). Re-anchor `color` to
92
+ * the innermost theme's foreground so currentColor always matches.
93
+ */
94
+ [data-theme] {
95
+ color: var(--color-foreground, inherit);
96
+ }
97
+
86
98
  /**
87
99
  * Font inheritance for headings.
88
100
  *