@liner-fe/prism 1.10.27 → 1.10.28
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/lib/index.mjs +18 -2
- package/lib/index.mjs.map +2 -2
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -6134,9 +6134,25 @@ var DefaultButton = forwardRef(
|
|
|
6134
6134
|
className: clsx2(defaultButtonVariants({ level, fill, align, size, width }), className),
|
|
6135
6135
|
ref,
|
|
6136
6136
|
children: /* @__PURE__ */ jsxs89("span", { className: clsx2(defaultButtonChildrenVariants({ size })), children: [
|
|
6137
|
-
!!leftIcon && /* @__PURE__ */ jsx126(
|
|
6137
|
+
!!leftIcon && /* @__PURE__ */ jsx126(
|
|
6138
|
+
Icon,
|
|
6139
|
+
{
|
|
6140
|
+
name: leftIcon.name,
|
|
6141
|
+
size: buttonIconSizeMap[size],
|
|
6142
|
+
thick: buttonSizeIconThickMap[size],
|
|
6143
|
+
fill: leftIcon.fill
|
|
6144
|
+
}
|
|
6145
|
+
),
|
|
6138
6146
|
/* @__PURE__ */ jsx126("p", { className: style_module_default.content, children }),
|
|
6139
|
-
!!rightIcon && /* @__PURE__ */ jsx126(
|
|
6147
|
+
!!rightIcon && /* @__PURE__ */ jsx126(
|
|
6148
|
+
Icon,
|
|
6149
|
+
{
|
|
6150
|
+
name: rightIcon.name,
|
|
6151
|
+
size: buttonIconSizeMap[size],
|
|
6152
|
+
thick: buttonSizeIconThickMap[size],
|
|
6153
|
+
fill: rightIcon.fill
|
|
6154
|
+
}
|
|
6155
|
+
)
|
|
6140
6156
|
] })
|
|
6141
6157
|
}
|
|
6142
6158
|
);
|