@almadar/ui 2.59.1 → 2.59.3

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.
@@ -51796,6 +51796,10 @@ function prepareSchemaForPreview(input) {
51796
51796
  return { schema, mockData };
51797
51797
  }
51798
51798
  function normalizeChild(child) {
51799
+ if (typeof child === "string") return child;
51800
+ if (child === null || typeof child !== "object" || Array.isArray(child)) {
51801
+ return child;
51802
+ }
51799
51803
  const { type, children, ...rest } = child;
51800
51804
  const normalizedChildren = Array.isArray(children) ? children.map((c) => normalizeChild(c)) : children;
51801
51805
  return {
package/dist/avl/index.js CHANGED
@@ -51750,6 +51750,10 @@ function prepareSchemaForPreview(input) {
51750
51750
  return { schema, mockData };
51751
51751
  }
51752
51752
  function normalizeChild(child) {
51753
+ if (typeof child === "string") return child;
51754
+ if (child === null || typeof child !== "object" || Array.isArray(child)) {
51755
+ return child;
51756
+ }
51753
51757
  const { type, children, ...rest } = child;
51754
51758
  const normalizedChildren = Array.isArray(children) ? children.map((c) => normalizeChild(c)) : children;
51755
51759
  return {
@@ -38571,6 +38571,10 @@ function prepareSchemaForPreview(input) {
38571
38571
  return { schema, mockData };
38572
38572
  }
38573
38573
  function normalizeChild(child) {
38574
+ if (typeof child === "string") return child;
38575
+ if (child === null || typeof child !== "object" || Array.isArray(child)) {
38576
+ return child;
38577
+ }
38574
38578
  const { type, children, ...rest } = child;
38575
38579
  const normalizedChildren = Array.isArray(children) ? children.map((c) => normalizeChild(c)) : children;
38576
38580
  return {
@@ -38526,6 +38526,10 @@ function prepareSchemaForPreview(input) {
38526
38526
  return { schema, mockData };
38527
38527
  }
38528
38528
  function normalizeChild(child) {
38529
+ if (typeof child === "string") return child;
38530
+ if (child === null || typeof child !== "object" || Array.isArray(child)) {
38531
+ return child;
38532
+ }
38529
38533
  const { type, children, ...rest } = child;
38530
38534
  const normalizedChildren = Array.isArray(children) ? children.map((c) => normalizeChild(c)) : children;
38531
38535
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "2.59.1",
3
+ "version": "2.59.3",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/components/index.js",