@asdp/ferryui 0.1.22-dev.9194 → 0.1.22-dev.9201
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 +21 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -162,6 +162,7 @@ var ModalIllustration = ({
|
|
|
162
162
|
type: "button",
|
|
163
163
|
appearance: primaryButton.appearance || "primary",
|
|
164
164
|
onClick: primaryButton.onClick,
|
|
165
|
+
shape: "circular",
|
|
165
166
|
children: primaryButton.text
|
|
166
167
|
}
|
|
167
168
|
),
|
|
@@ -172,6 +173,7 @@ var ModalIllustration = ({
|
|
|
172
173
|
type: "button",
|
|
173
174
|
appearance: secondaryButton.appearance || "outline",
|
|
174
175
|
onClick: secondaryButton.onClick,
|
|
176
|
+
shape: "circular",
|
|
175
177
|
children: secondaryButton.text
|
|
176
178
|
}
|
|
177
179
|
)
|
|
@@ -3535,7 +3537,25 @@ var InputDynamic = ({
|
|
|
3535
3537
|
{
|
|
3536
3538
|
style: { display: "flex", alignItems: "center", gap: "8px" },
|
|
3537
3539
|
children: [
|
|
3538
|
-
options && options.length > 0 ? option.flag ? option.flag.startsWith("http") ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3540
|
+
options && options.length > 0 ? option.flag ? option.flag.startsWith("http") ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3541
|
+
"img",
|
|
3542
|
+
{
|
|
3543
|
+
alt: option.label,
|
|
3544
|
+
src: option.flag,
|
|
3545
|
+
height: 20,
|
|
3546
|
+
width: 20,
|
|
3547
|
+
style: { objectFit: "contain" },
|
|
3548
|
+
onError: (e) => {
|
|
3549
|
+
const target = e.currentTarget;
|
|
3550
|
+
target.src = "/assets/images/helper/error.svg";
|
|
3551
|
+
target.style.objectFit = "fill";
|
|
3552
|
+
target.style.scale = "0.7";
|
|
3553
|
+
if (target.parentElement) {
|
|
3554
|
+
target.parentElement.style.backgroundColor = reactComponents.tokens.colorNeutralStroke1;
|
|
3555
|
+
}
|
|
3556
|
+
}
|
|
3557
|
+
}
|
|
3558
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(react.Icon, { icon: option.flag, width: 20, height: 20 }) : null : option.flag ? /* @__PURE__ */ jsxRuntime.jsx(react.Icon, { icon: option.flag, width: 20, height: 20 }) : null,
|
|
3539
3559
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: option.label })
|
|
3540
3560
|
]
|
|
3541
3561
|
}
|