@obosbbl/grunnmuren-react 2.0.0-canary.25 → 2.0.0-canary.26
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.mjs +10 -4
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -396,8 +396,10 @@ function Checkbox(props, ref) {
|
|
|
396
396
|
}),
|
|
397
397
|
description && /*#__PURE__*/ jsx(Description, {
|
|
398
398
|
className: "block",
|
|
399
|
-
|
|
400
|
-
|
|
399
|
+
children: /*#__PURE__*/ jsx("div", {
|
|
400
|
+
id: descriptionId,
|
|
401
|
+
children: description
|
|
402
|
+
})
|
|
401
403
|
}),
|
|
402
404
|
errorMessage && /*#__PURE__*/ jsx(ErrorMessage, {
|
|
403
405
|
className: "mt-2 block",
|
|
@@ -706,7 +708,9 @@ function TextField(props, ref) {
|
|
|
706
708
|
children: description
|
|
707
709
|
}),
|
|
708
710
|
leftAddon || rightAddon ? /*#__PURE__*/ jsxs(Group, {
|
|
709
|
-
className: inputGroup,
|
|
711
|
+
className: cx(inputGroup, {
|
|
712
|
+
'w-fit': !!size
|
|
713
|
+
}),
|
|
710
714
|
children: [
|
|
711
715
|
leftAddon,
|
|
712
716
|
withAddonDivider && leftAddon && /*#__PURE__*/ jsx(InputAddonDivider, {}),
|
|
@@ -767,7 +771,9 @@ function NumberField(props, ref) {
|
|
|
767
771
|
children: description
|
|
768
772
|
}),
|
|
769
773
|
leftAddon || rightAddon ? /*#__PURE__*/ jsxs(Group, {
|
|
770
|
-
className: inputGroup,
|
|
774
|
+
className: cx(inputGroup, {
|
|
775
|
+
'w-fit': !!size
|
|
776
|
+
}),
|
|
771
777
|
children: [
|
|
772
778
|
leftAddon,
|
|
773
779
|
withAddonDivider && leftAddon && /*#__PURE__*/ jsx(InputAddonDivider, {}),
|