@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20261103045814 → 0.8.1-dev.20261119092426

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/index.mjs CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-TKDSRAM6.mjs";
6
6
  import {
7
7
  OdataBuilder
8
- } from "./chunk-RSUG2VPX.mjs";
8
+ } from "./chunk-4Y2KBXMJ.mjs";
9
9
  import "./chunk-JDX47MFV.mjs";
10
10
  import {
11
11
  COUNTRY_CODES,
@@ -21,6 +21,7 @@ import {
21
21
  OtpInput_default,
22
22
  PercentageInput_default,
23
23
  PhoneInput_default,
24
+ PicklistInput_default,
24
25
  RadioInput_default,
25
26
  SelectWithSearchInput_default,
26
27
  Select_default,
@@ -31,13 +32,13 @@ import {
31
32
  getDialCodeByCountryCode,
32
33
  resolveCountry,
33
34
  splitPhoneNumber
34
- } from "./chunk-GNIFUHGR.mjs";
35
+ } from "./chunk-RTUD2GCR.mjs";
35
36
  import {
36
37
  Constants,
37
38
  Hyperlink,
38
39
  Icon_default,
39
40
  InputControlType_default
40
- } from "./chunk-N3EYMPAJ.mjs";
41
+ } from "./chunk-W4RXVJJ7.mjs";
41
42
  import {
42
43
  Button_default,
43
44
  ClientButton_default,
@@ -481,7 +482,7 @@ var ViewControl_default = ViewControl;
481
482
 
482
483
  // src/components/controls/edit/InputControl.tsx
483
484
  import dynamic7 from "next/dynamic";
484
- var InputControl = dynamic7(() => import("./InputControlClient-IKQYB764.mjs"), {
485
+ var InputControl = dynamic7(() => import("./InputControlClient-57F6TZ7E.mjs"), {
485
486
  ssr: false
486
487
  });
487
488
  var InputControl_default = InputControl;
@@ -1773,6 +1774,23 @@ var ImageGalleryNode = (props) => {
1773
1774
  }
1774
1775
  const staticSources = staticImages.filter((img) => !!img.device);
1775
1776
  const staticFallback = staticImages.find((img) => !img.device) ?? null;
1777
+ const primaryStatic = staticFallback ?? staticImages[0];
1778
+ const primaryStaticResolved = primaryStatic ? resolveImage(primaryStatic) : void 0;
1779
+ const staticIntrinsicWidth = parseMaybeNumber(
1780
+ primaryStaticResolved?.intrinsicWidth ?? primaryStatic?.intrinsicWidth
1781
+ );
1782
+ const staticIntrinsicHeight = parseMaybeNumber(
1783
+ primaryStaticResolved?.intrinsicHeight ?? primaryStatic?.intrinsicHeight
1784
+ );
1785
+ const staticStyles = {};
1786
+ if (primaryStatic?.height) staticStyles.height = primaryStatic.height;
1787
+ if (primaryStatic?.width) staticStyles.width = primaryStatic.width;
1788
+ if (staticIntrinsicWidth && staticIntrinsicHeight) {
1789
+ staticStyles.aspectRatio = `${staticIntrinsicWidth} / ${staticIntrinsicHeight}`;
1790
+ }
1791
+ if (primaryStatic?.borderRadius) {
1792
+ staticStyles.borderRadius = primaryStatic.borderRadius;
1793
+ }
1776
1794
  const FormatClass = {
1777
1795
  center: "justify-center",
1778
1796
  left: "justify-start",
@@ -1795,7 +1813,7 @@ var ImageGalleryNode = (props) => {
1795
1813
  styles: hlsStyles
1796
1814
  }
1797
1815
  ) }) }),
1798
- (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx35(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs13("picture", { children: [
1816
+ (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx35("div", { style: staticStyles, children: staticFallback ? /* @__PURE__ */ jsxs13("picture", { children: [
1799
1817
  DEVICE_ORDER.map((deviceKey) => {
1800
1818
  const match = staticSources.find(
1801
1819
  (img) => img.device === deviceKey
@@ -2590,7 +2608,7 @@ var MediaAccordionNode_default = MediaAccordionNode;
2590
2608
 
2591
2609
  // src/components/pageRenderingEngine/nodes/DivContainer.tsx
2592
2610
  import { jsx as jsx39, jsxs as jsxs15 } from "react/jsx-runtime";
2593
- var Pagination = dynamic16(() => import("./Pagination-6R4XZLF6.mjs"), { ssr: true });
2611
+ var Pagination = dynamic16(() => import("./Pagination-LXNPTR2H.mjs"), { ssr: true });
2594
2612
  var DataBindingControls = dynamic16(() => import("./DataBindingControls-VSLL4WV2.mjs"), {
2595
2613
  ssr: true
2596
2614
  });
@@ -4818,6 +4836,7 @@ export {
4818
4836
  PageBodyRenderer_default as PageBodyRenderer,
4819
4837
  PercentageInput_default as PercentageInput,
4820
4838
  PhoneInput_default as PhoneInput,
4839
+ PicklistInput_default as PicklistInput,
4821
4840
  RadioInput_default as RadioInput,
4822
4841
  Select_default as Select,
4823
4842
  TimeInput_default as TimeInput,
package/dist/server.js CHANGED
@@ -7097,6 +7097,23 @@ var ImageGalleryNode = (props) => {
7097
7097
  }
7098
7098
  const staticSources = staticImages.filter((img) => !!img.device);
7099
7099
  const staticFallback = staticImages.find((img) => !img.device) ?? null;
7100
+ const primaryStatic = staticFallback ?? staticImages[0];
7101
+ const primaryStaticResolved = primaryStatic ? resolveImage(primaryStatic) : void 0;
7102
+ const staticIntrinsicWidth = parseMaybeNumber(
7103
+ primaryStaticResolved?.intrinsicWidth ?? primaryStatic?.intrinsicWidth
7104
+ );
7105
+ const staticIntrinsicHeight = parseMaybeNumber(
7106
+ primaryStaticResolved?.intrinsicHeight ?? primaryStatic?.intrinsicHeight
7107
+ );
7108
+ const staticStyles = {};
7109
+ if (primaryStatic?.height) staticStyles.height = primaryStatic.height;
7110
+ if (primaryStatic?.width) staticStyles.width = primaryStatic.width;
7111
+ if (staticIntrinsicWidth && staticIntrinsicHeight) {
7112
+ staticStyles.aspectRatio = `${staticIntrinsicWidth} / ${staticIntrinsicHeight}`;
7113
+ }
7114
+ if (primaryStatic?.borderRadius) {
7115
+ staticStyles.borderRadius = primaryStatic.borderRadius;
7116
+ }
7100
7117
  const FormatClass = {
7101
7118
  center: "justify-center",
7102
7119
  left: "justify-start",
@@ -7119,7 +7136,7 @@ var ImageGalleryNode = (props) => {
7119
7136
  styles: hlsStyles
7120
7137
  }
7121
7138
  ) }) }),
7122
- (staticFallback || staticSources.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_jsx_runtime58.Fragment, { children: staticFallback ? /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("picture", { children: [
7139
+ (staticFallback || staticSources.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { style: staticStyles, children: staticFallback ? /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("picture", { children: [
7123
7140
  DEVICE_ORDER.map((deviceKey) => {
7124
7141
  const match = staticSources.find(
7125
7142
  (img) => img.device === deviceKey
package/dist/server.mjs CHANGED
@@ -1729,6 +1729,23 @@ var ImageGalleryNode = (props) => {
1729
1729
  }
1730
1730
  const staticSources = staticImages.filter((img) => !!img.device);
1731
1731
  const staticFallback = staticImages.find((img) => !img.device) ?? null;
1732
+ const primaryStatic = staticFallback ?? staticImages[0];
1733
+ const primaryStaticResolved = primaryStatic ? resolveImage(primaryStatic) : void 0;
1734
+ const staticIntrinsicWidth = parseMaybeNumber(
1735
+ primaryStaticResolved?.intrinsicWidth ?? primaryStatic?.intrinsicWidth
1736
+ );
1737
+ const staticIntrinsicHeight = parseMaybeNumber(
1738
+ primaryStaticResolved?.intrinsicHeight ?? primaryStatic?.intrinsicHeight
1739
+ );
1740
+ const staticStyles = {};
1741
+ if (primaryStatic?.height) staticStyles.height = primaryStatic.height;
1742
+ if (primaryStatic?.width) staticStyles.width = primaryStatic.width;
1743
+ if (staticIntrinsicWidth && staticIntrinsicHeight) {
1744
+ staticStyles.aspectRatio = `${staticIntrinsicWidth} / ${staticIntrinsicHeight}`;
1745
+ }
1746
+ if (primaryStatic?.borderRadius) {
1747
+ staticStyles.borderRadius = primaryStatic.borderRadius;
1748
+ }
1732
1749
  const FormatClass = {
1733
1750
  center: "justify-center",
1734
1751
  left: "justify-start",
@@ -1751,7 +1768,7 @@ var ImageGalleryNode = (props) => {
1751
1768
  styles: hlsStyles
1752
1769
  }
1753
1770
  ) }) }),
1754
- (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx35(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs13("picture", { children: [
1771
+ (staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx35("div", { style: staticStyles, children: staticFallback ? /* @__PURE__ */ jsxs13("picture", { children: [
1755
1772
  DEVICE_ORDER.map((deviceKey) => {
1756
1773
  const match = staticSources.find(
1757
1774
  (img) => img.device === deviceKey
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clyrex-digital/clyrex-controls-dev",
3
- "version": "0.8.1-dev.20261103045814",
3
+ "version": "0.8.1-dev.20261119092426",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",