@almadar/ui 2.22.0 → 2.22.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.
- package/dist/components/index.cjs +12 -3
- package/dist/components/index.js +12 -3
- package/dist/runtime/index.cjs +12 -3
- package/dist/runtime/index.js +12 -3
- package/package.json +1 -1
|
@@ -32479,7 +32479,16 @@ var PATTERNS_WITH_CHILDREN = /* @__PURE__ */ new Set([
|
|
|
32479
32479
|
"dashboard-layout",
|
|
32480
32480
|
"game-shell",
|
|
32481
32481
|
"scaled-diagram",
|
|
32482
|
-
"master-detail"
|
|
32482
|
+
"master-detail",
|
|
32483
|
+
"form-field",
|
|
32484
|
+
"form-section",
|
|
32485
|
+
"form",
|
|
32486
|
+
"accordion",
|
|
32487
|
+
"tabs",
|
|
32488
|
+
"tab-content",
|
|
32489
|
+
"collapsible",
|
|
32490
|
+
"alert",
|
|
32491
|
+
"dialog"
|
|
32483
32492
|
]);
|
|
32484
32493
|
function renderContainedPortal(slot, content, onDismiss) {
|
|
32485
32494
|
const slotContent = /* @__PURE__ */ jsxRuntime.jsx(SlotContentRenderer, { content, onDismiss });
|
|
@@ -32878,9 +32887,9 @@ function SlotContentRenderer({
|
|
|
32878
32887
|
}) {
|
|
32879
32888
|
const PatternComponent = getComponentForPattern(content.pattern);
|
|
32880
32889
|
if (PatternComponent) {
|
|
32881
|
-
const supportsChildren = PATTERNS_WITH_CHILDREN.has(content.pattern);
|
|
32882
32890
|
const childrenConfig = content.props.children;
|
|
32883
|
-
const
|
|
32891
|
+
const hasChildren = PATTERNS_WITH_CHILDREN.has(content.pattern) || Array.isArray(childrenConfig) && childrenConfig.length > 0;
|
|
32892
|
+
const renderedChildren = hasChildren ? renderPatternChildren(childrenConfig, onDismiss, content.id) : void 0;
|
|
32884
32893
|
const { children: _childrenConfig, ...restProps } = content.props;
|
|
32885
32894
|
const renderedProps = renderPatternProps(restProps, onDismiss);
|
|
32886
32895
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
package/dist/components/index.js
CHANGED
|
@@ -32449,7 +32449,16 @@ var PATTERNS_WITH_CHILDREN = /* @__PURE__ */ new Set([
|
|
|
32449
32449
|
"dashboard-layout",
|
|
32450
32450
|
"game-shell",
|
|
32451
32451
|
"scaled-diagram",
|
|
32452
|
-
"master-detail"
|
|
32452
|
+
"master-detail",
|
|
32453
|
+
"form-field",
|
|
32454
|
+
"form-section",
|
|
32455
|
+
"form",
|
|
32456
|
+
"accordion",
|
|
32457
|
+
"tabs",
|
|
32458
|
+
"tab-content",
|
|
32459
|
+
"collapsible",
|
|
32460
|
+
"alert",
|
|
32461
|
+
"dialog"
|
|
32453
32462
|
]);
|
|
32454
32463
|
function renderContainedPortal(slot, content, onDismiss) {
|
|
32455
32464
|
const slotContent = /* @__PURE__ */ jsx(SlotContentRenderer, { content, onDismiss });
|
|
@@ -32848,9 +32857,9 @@ function SlotContentRenderer({
|
|
|
32848
32857
|
}) {
|
|
32849
32858
|
const PatternComponent = getComponentForPattern(content.pattern);
|
|
32850
32859
|
if (PatternComponent) {
|
|
32851
|
-
const supportsChildren = PATTERNS_WITH_CHILDREN.has(content.pattern);
|
|
32852
32860
|
const childrenConfig = content.props.children;
|
|
32853
|
-
const
|
|
32861
|
+
const hasChildren = PATTERNS_WITH_CHILDREN.has(content.pattern) || Array.isArray(childrenConfig) && childrenConfig.length > 0;
|
|
32862
|
+
const renderedChildren = hasChildren ? renderPatternChildren(childrenConfig, onDismiss, content.id) : void 0;
|
|
32854
32863
|
const { children: _childrenConfig, ...restProps } = content.props;
|
|
32855
32864
|
const renderedProps = renderPatternProps(restProps, onDismiss);
|
|
32856
32865
|
return /* @__PURE__ */ jsx(
|
package/dist/runtime/index.cjs
CHANGED
|
@@ -31388,7 +31388,16 @@ var PATTERNS_WITH_CHILDREN = /* @__PURE__ */ new Set([
|
|
|
31388
31388
|
"dashboard-layout",
|
|
31389
31389
|
"game-shell",
|
|
31390
31390
|
"scaled-diagram",
|
|
31391
|
-
"master-detail"
|
|
31391
|
+
"master-detail",
|
|
31392
|
+
"form-field",
|
|
31393
|
+
"form-section",
|
|
31394
|
+
"form",
|
|
31395
|
+
"accordion",
|
|
31396
|
+
"tabs",
|
|
31397
|
+
"tab-content",
|
|
31398
|
+
"collapsible",
|
|
31399
|
+
"alert",
|
|
31400
|
+
"dialog"
|
|
31392
31401
|
]);
|
|
31393
31402
|
function renderContainedPortal(slot, content, onDismiss) {
|
|
31394
31403
|
const slotContent = /* @__PURE__ */ jsxRuntime.jsx(SlotContentRenderer, { content, onDismiss });
|
|
@@ -31787,9 +31796,9 @@ function SlotContentRenderer({
|
|
|
31787
31796
|
}) {
|
|
31788
31797
|
const PatternComponent = getComponentForPattern(content.pattern);
|
|
31789
31798
|
if (PatternComponent) {
|
|
31790
|
-
const supportsChildren = PATTERNS_WITH_CHILDREN.has(content.pattern);
|
|
31791
31799
|
const childrenConfig = content.props.children;
|
|
31792
|
-
const
|
|
31800
|
+
const hasChildren = PATTERNS_WITH_CHILDREN.has(content.pattern) || Array.isArray(childrenConfig) && childrenConfig.length > 0;
|
|
31801
|
+
const renderedChildren = hasChildren ? renderPatternChildren(childrenConfig, onDismiss, content.id) : void 0;
|
|
31793
31802
|
const { children: _childrenConfig, ...restProps } = content.props;
|
|
31794
31803
|
const renderedProps = renderPatternProps(restProps, onDismiss);
|
|
31795
31804
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
package/dist/runtime/index.js
CHANGED
|
@@ -31358,7 +31358,16 @@ var PATTERNS_WITH_CHILDREN = /* @__PURE__ */ new Set([
|
|
|
31358
31358
|
"dashboard-layout",
|
|
31359
31359
|
"game-shell",
|
|
31360
31360
|
"scaled-diagram",
|
|
31361
|
-
"master-detail"
|
|
31361
|
+
"master-detail",
|
|
31362
|
+
"form-field",
|
|
31363
|
+
"form-section",
|
|
31364
|
+
"form",
|
|
31365
|
+
"accordion",
|
|
31366
|
+
"tabs",
|
|
31367
|
+
"tab-content",
|
|
31368
|
+
"collapsible",
|
|
31369
|
+
"alert",
|
|
31370
|
+
"dialog"
|
|
31362
31371
|
]);
|
|
31363
31372
|
function renderContainedPortal(slot, content, onDismiss) {
|
|
31364
31373
|
const slotContent = /* @__PURE__ */ jsx(SlotContentRenderer, { content, onDismiss });
|
|
@@ -31757,9 +31766,9 @@ function SlotContentRenderer({
|
|
|
31757
31766
|
}) {
|
|
31758
31767
|
const PatternComponent = getComponentForPattern(content.pattern);
|
|
31759
31768
|
if (PatternComponent) {
|
|
31760
|
-
const supportsChildren = PATTERNS_WITH_CHILDREN.has(content.pattern);
|
|
31761
31769
|
const childrenConfig = content.props.children;
|
|
31762
|
-
const
|
|
31770
|
+
const hasChildren = PATTERNS_WITH_CHILDREN.has(content.pattern) || Array.isArray(childrenConfig) && childrenConfig.length > 0;
|
|
31771
|
+
const renderedChildren = hasChildren ? renderPatternChildren(childrenConfig, onDismiss, content.id) : void 0;
|
|
31763
31772
|
const { children: _childrenConfig, ...restProps } = content.props;
|
|
31764
31773
|
const renderedProps = renderPatternProps(restProps, onDismiss);
|
|
31765
31774
|
return /* @__PURE__ */ jsx(
|