@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20261119092426 → 0.8.1-dev.20261120121410
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.js +1 -18
- package/dist/index.mjs +1 -18
- package/dist/server.js +1 -18
- package/dist/server.mjs +1 -18
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9790,23 +9790,6 @@ var ImageGalleryNode = (props) => {
|
|
|
9790
9790
|
}
|
|
9791
9791
|
const staticSources = staticImages.filter((img) => !!img.device);
|
|
9792
9792
|
const staticFallback = staticImages.find((img) => !img.device) ?? null;
|
|
9793
|
-
const primaryStatic = staticFallback ?? staticImages[0];
|
|
9794
|
-
const primaryStaticResolved = primaryStatic ? resolveImage(primaryStatic) : void 0;
|
|
9795
|
-
const staticIntrinsicWidth = parseMaybeNumber(
|
|
9796
|
-
primaryStaticResolved?.intrinsicWidth ?? primaryStatic?.intrinsicWidth
|
|
9797
|
-
);
|
|
9798
|
-
const staticIntrinsicHeight = parseMaybeNumber(
|
|
9799
|
-
primaryStaticResolved?.intrinsicHeight ?? primaryStatic?.intrinsicHeight
|
|
9800
|
-
);
|
|
9801
|
-
const staticStyles = {};
|
|
9802
|
-
if (primaryStatic?.height) staticStyles.height = primaryStatic.height;
|
|
9803
|
-
if (primaryStatic?.width) staticStyles.width = primaryStatic.width;
|
|
9804
|
-
if (staticIntrinsicWidth && staticIntrinsicHeight) {
|
|
9805
|
-
staticStyles.aspectRatio = `${staticIntrinsicWidth} / ${staticIntrinsicHeight}`;
|
|
9806
|
-
}
|
|
9807
|
-
if (primaryStatic?.borderRadius) {
|
|
9808
|
-
staticStyles.borderRadius = primaryStatic.borderRadius;
|
|
9809
|
-
}
|
|
9810
9793
|
const FormatClass = {
|
|
9811
9794
|
center: "justify-center",
|
|
9812
9795
|
left: "justify-start",
|
|
@@ -9829,7 +9812,7 @@ var ImageGalleryNode = (props) => {
|
|
|
9829
9812
|
styles: hlsStyles
|
|
9830
9813
|
}
|
|
9831
9814
|
) }) }),
|
|
9832
|
-
(staticFallback || staticSources.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
9815
|
+
(staticFallback || staticSources.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_jsx_runtime85.Fragment, { children: staticFallback ? /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("picture", { children: [
|
|
9833
9816
|
DEVICE_ORDER.map((deviceKey) => {
|
|
9834
9817
|
const match = staticSources.find(
|
|
9835
9818
|
(img) => img.device === deviceKey
|
package/dist/index.mjs
CHANGED
|
@@ -1774,23 +1774,6 @@ var ImageGalleryNode = (props) => {
|
|
|
1774
1774
|
}
|
|
1775
1775
|
const staticSources = staticImages.filter((img) => !!img.device);
|
|
1776
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
|
-
}
|
|
1794
1777
|
const FormatClass = {
|
|
1795
1778
|
center: "justify-center",
|
|
1796
1779
|
left: "justify-start",
|
|
@@ -1813,7 +1796,7 @@ var ImageGalleryNode = (props) => {
|
|
|
1813
1796
|
styles: hlsStyles
|
|
1814
1797
|
}
|
|
1815
1798
|
) }) }),
|
|
1816
|
-
(staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx35(
|
|
1799
|
+
(staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx35(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs13("picture", { children: [
|
|
1817
1800
|
DEVICE_ORDER.map((deviceKey) => {
|
|
1818
1801
|
const match = staticSources.find(
|
|
1819
1802
|
(img) => img.device === deviceKey
|
package/dist/server.js
CHANGED
|
@@ -7097,23 +7097,6 @@ 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
|
-
}
|
|
7117
7100
|
const FormatClass = {
|
|
7118
7101
|
center: "justify-center",
|
|
7119
7102
|
left: "justify-start",
|
|
@@ -7136,7 +7119,7 @@ var ImageGalleryNode = (props) => {
|
|
|
7136
7119
|
styles: hlsStyles
|
|
7137
7120
|
}
|
|
7138
7121
|
) }) }),
|
|
7139
|
-
(staticFallback || staticSources.length > 0) && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
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: [
|
|
7140
7123
|
DEVICE_ORDER.map((deviceKey) => {
|
|
7141
7124
|
const match = staticSources.find(
|
|
7142
7125
|
(img) => img.device === deviceKey
|
package/dist/server.mjs
CHANGED
|
@@ -1729,23 +1729,6 @@ 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
|
-
}
|
|
1749
1732
|
const FormatClass = {
|
|
1750
1733
|
center: "justify-center",
|
|
1751
1734
|
left: "justify-start",
|
|
@@ -1768,7 +1751,7 @@ var ImageGalleryNode = (props) => {
|
|
|
1768
1751
|
styles: hlsStyles
|
|
1769
1752
|
}
|
|
1770
1753
|
) }) }),
|
|
1771
|
-
(staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx35(
|
|
1754
|
+
(staticFallback || staticSources.length > 0) && /* @__PURE__ */ jsx35(Fragment5, { children: staticFallback ? /* @__PURE__ */ jsxs13("picture", { children: [
|
|
1772
1755
|
DEVICE_ORDER.map((deviceKey) => {
|
|
1773
1756
|
const match = staticSources.find(
|
|
1774
1757
|
(img) => img.device === deviceKey
|