@liner-fe/prism 2.1.39 → 2.1.41
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.cjs +23 -3
- package/lib/index.cjs.map +2 -2
- package/lib/index.mjs +28 -4
- package/lib/index.mjs.map +2 -2
- package/package.json +4 -10
package/lib/index.cjs
CHANGED
|
@@ -8677,7 +8677,15 @@ var TextButton = (0, import_react10.forwardRef)(
|
|
|
8677
8677
|
renderContent(parent.props.children)
|
|
8678
8678
|
);
|
|
8679
8679
|
}
|
|
8680
|
-
return /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(
|
|
8680
|
+
return /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(
|
|
8681
|
+
"button",
|
|
8682
|
+
{
|
|
8683
|
+
className: (0, import_clsx8.default)(textButtonVariants({ level, thick, underline, size }), className),
|
|
8684
|
+
ref,
|
|
8685
|
+
...rest,
|
|
8686
|
+
children: renderContent(children)
|
|
8687
|
+
}
|
|
8688
|
+
);
|
|
8681
8689
|
}
|
|
8682
8690
|
);
|
|
8683
8691
|
TextButton.displayName = "TextButton";
|
|
@@ -9046,7 +9054,10 @@ var Label = (0, import_react13.forwardRef)(
|
|
|
9046
9054
|
LabelPrimitive.Root,
|
|
9047
9055
|
{
|
|
9048
9056
|
ref,
|
|
9049
|
-
className: (0, import_clsx12.default)(
|
|
9057
|
+
className: (0, import_clsx12.default)(
|
|
9058
|
+
defaultLabelVariants({ level, position, size, offset, disabled, error }),
|
|
9059
|
+
className
|
|
9060
|
+
),
|
|
9050
9061
|
...props
|
|
9051
9062
|
}
|
|
9052
9063
|
);
|
|
@@ -9292,7 +9303,16 @@ var Textfield = (0, import_react16.forwardRef)((props, ref) => {
|
|
|
9292
9303
|
),
|
|
9293
9304
|
displayFooter && /* @__PURE__ */ (0, import_jsx_runtime172.jsxs)("div", { className: style_module_default13.footer, children: [
|
|
9294
9305
|
/* @__PURE__ */ (0, import_jsx_runtime172.jsx)("div", { className: style_module_default13["error-wrapper"], children: error && /* @__PURE__ */ (0, import_jsx_runtime172.jsxs)(import_jsx_runtime172.Fragment, { children: [
|
|
9295
|
-
/* @__PURE__ */ (0, import_jsx_runtime172.jsx)(
|
|
9306
|
+
/* @__PURE__ */ (0, import_jsx_runtime172.jsx)(
|
|
9307
|
+
Icon,
|
|
9308
|
+
{
|
|
9309
|
+
name: "exclamationmark-fill",
|
|
9310
|
+
fill: true,
|
|
9311
|
+
thick: true,
|
|
9312
|
+
size: "xs",
|
|
9313
|
+
type: "function-label-negative"
|
|
9314
|
+
}
|
|
9315
|
+
),
|
|
9296
9316
|
/* @__PURE__ */ (0, import_jsx_runtime172.jsx)(Caption, { size: 3, type: "normal", weight: "regular", className: style_module_default13["error-message"], children: error })
|
|
9297
9317
|
] }) }),
|
|
9298
9318
|
maxCharacter && /* @__PURE__ */ (0, import_jsx_runtime172.jsxs)(Caption, { className: style_module_default13.character, size: 3, type: "normal", weight: "regular", children: [
|