@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.mjs
CHANGED
|
@@ -7278,7 +7278,11 @@ var arrayToStyleObject = /* @__PURE__ */ __name((colorKeys2, style, prefix) => c
|
|
|
7278
7278
|
var isEmptyObject = /* @__PURE__ */ __name((obj) => Object.getOwnPropertyNames(obj).length === 0, "isEmptyObject");
|
|
7279
7279
|
|
|
7280
7280
|
// src/components/Button/index.tsx
|
|
7281
|
-
import {
|
|
7281
|
+
import {
|
|
7282
|
+
Children,
|
|
7283
|
+
cloneElement,
|
|
7284
|
+
forwardRef
|
|
7285
|
+
} from "react";
|
|
7282
7286
|
|
|
7283
7287
|
// src/components/Button/style.module.scss
|
|
7284
7288
|
var style_module_default = {
|
|
@@ -8611,7 +8615,15 @@ var TextButton = forwardRef7(
|
|
|
8611
8615
|
renderContent(parent.props.children)
|
|
8612
8616
|
);
|
|
8613
8617
|
}
|
|
8614
|
-
return /* @__PURE__ */ jsx165(
|
|
8618
|
+
return /* @__PURE__ */ jsx165(
|
|
8619
|
+
"button",
|
|
8620
|
+
{
|
|
8621
|
+
className: clsx8(textButtonVariants({ level, thick, underline, size }), className),
|
|
8622
|
+
ref,
|
|
8623
|
+
...rest,
|
|
8624
|
+
children: renderContent(children)
|
|
8625
|
+
}
|
|
8626
|
+
);
|
|
8615
8627
|
}
|
|
8616
8628
|
);
|
|
8617
8629
|
TextButton.displayName = "TextButton";
|
|
@@ -8980,7 +8992,10 @@ var Label = forwardRef11(
|
|
|
8980
8992
|
LabelPrimitive.Root,
|
|
8981
8993
|
{
|
|
8982
8994
|
ref,
|
|
8983
|
-
className: clsx12(
|
|
8995
|
+
className: clsx12(
|
|
8996
|
+
defaultLabelVariants({ level, position, size, offset, disabled, error }),
|
|
8997
|
+
className
|
|
8998
|
+
),
|
|
8984
8999
|
...props
|
|
8985
9000
|
}
|
|
8986
9001
|
);
|
|
@@ -9232,7 +9247,16 @@ var Textfield = forwardRef14((props, ref) => {
|
|
|
9232
9247
|
),
|
|
9233
9248
|
displayFooter && /* @__PURE__ */ jsxs115("div", { className: style_module_default13.footer, children: [
|
|
9234
9249
|
/* @__PURE__ */ jsx172("div", { className: style_module_default13["error-wrapper"], children: error && /* @__PURE__ */ jsxs115(Fragment9, { children: [
|
|
9235
|
-
/* @__PURE__ */ jsx172(
|
|
9250
|
+
/* @__PURE__ */ jsx172(
|
|
9251
|
+
Icon,
|
|
9252
|
+
{
|
|
9253
|
+
name: "exclamationmark-fill",
|
|
9254
|
+
fill: true,
|
|
9255
|
+
thick: true,
|
|
9256
|
+
size: "xs",
|
|
9257
|
+
type: "function-label-negative"
|
|
9258
|
+
}
|
|
9259
|
+
),
|
|
9236
9260
|
/* @__PURE__ */ jsx172(Caption, { size: 3, type: "normal", weight: "regular", className: style_module_default13["error-message"], children: error })
|
|
9237
9261
|
] }) }),
|
|
9238
9262
|
maxCharacter && /* @__PURE__ */ jsxs115(Caption, { className: style_module_default13.character, size: 3, type: "normal", weight: "regular", children: [
|