@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.mjs
CHANGED
|
@@ -153,6 +153,7 @@ var ModalIllustration = ({
|
|
|
153
153
|
type: "button",
|
|
154
154
|
appearance: primaryButton.appearance || "primary",
|
|
155
155
|
onClick: primaryButton.onClick,
|
|
156
|
+
shape: "circular",
|
|
156
157
|
children: primaryButton.text
|
|
157
158
|
}
|
|
158
159
|
),
|
|
@@ -163,6 +164,7 @@ var ModalIllustration = ({
|
|
|
163
164
|
type: "button",
|
|
164
165
|
appearance: secondaryButton.appearance || "outline",
|
|
165
166
|
onClick: secondaryButton.onClick,
|
|
167
|
+
shape: "circular",
|
|
166
168
|
children: secondaryButton.text
|
|
167
169
|
}
|
|
168
170
|
)
|
|
@@ -3526,7 +3528,25 @@ var InputDynamic = ({
|
|
|
3526
3528
|
{
|
|
3527
3529
|
style: { display: "flex", alignItems: "center", gap: "8px" },
|
|
3528
3530
|
children: [
|
|
3529
|
-
options && options.length > 0 ? option.flag ? option.flag.startsWith("http") ? /* @__PURE__ */ jsx(
|
|
3531
|
+
options && options.length > 0 ? option.flag ? option.flag.startsWith("http") ? /* @__PURE__ */ jsx(
|
|
3532
|
+
"img",
|
|
3533
|
+
{
|
|
3534
|
+
alt: option.label,
|
|
3535
|
+
src: option.flag,
|
|
3536
|
+
height: 20,
|
|
3537
|
+
width: 20,
|
|
3538
|
+
style: { objectFit: "contain" },
|
|
3539
|
+
onError: (e) => {
|
|
3540
|
+
const target = e.currentTarget;
|
|
3541
|
+
target.src = "/assets/images/helper/error.svg";
|
|
3542
|
+
target.style.objectFit = "fill";
|
|
3543
|
+
target.style.scale = "0.7";
|
|
3544
|
+
if (target.parentElement) {
|
|
3545
|
+
target.parentElement.style.backgroundColor = tokens.colorNeutralStroke1;
|
|
3546
|
+
}
|
|
3547
|
+
}
|
|
3548
|
+
}
|
|
3549
|
+
) : /* @__PURE__ */ jsx(Icon, { icon: option.flag, width: 20, height: 20 }) : null : option.flag ? /* @__PURE__ */ jsx(Icon, { icon: option.flag, width: 20, height: 20 }) : null,
|
|
3530
3550
|
/* @__PURE__ */ jsx("span", { children: option.label })
|
|
3531
3551
|
]
|
|
3532
3552
|
}
|