@butternutbox/pawprint-native 0.16.0 → 0.16.1
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
CHANGED
|
@@ -7119,7 +7119,11 @@ var NumberFieldInput = React66.forwardRef(
|
|
|
7119
7119
|
style: {
|
|
7120
7120
|
position: "absolute",
|
|
7121
7121
|
bottom: 4,
|
|
7122
|
-
width
|
|
7122
|
+
// Span the full field (not the min-width) so the help text
|
|
7123
|
+
// centres and never wraps into the value when the field is
|
|
7124
|
+
// wider than its min-width (e.g. fullWidth) or the copy is long.
|
|
7125
|
+
left: 0,
|
|
7126
|
+
right: 0,
|
|
7123
7127
|
display: "flex",
|
|
7124
7128
|
justifyContent: "center",
|
|
7125
7129
|
alignItems: "center"
|
|
@@ -7127,7 +7131,7 @@ var NumberFieldInput = React66.forwardRef(
|
|
|
7127
7131
|
children: /* @__PURE__ */ jsx(
|
|
7128
7132
|
Typography,
|
|
7129
7133
|
{
|
|
7130
|
-
token:
|
|
7134
|
+
token: isLarge ? tokens3.typography.large.secondaryContent : tokens3.typography.small.smallLabel,
|
|
7131
7135
|
color: inputTokens3.colour.description.default,
|
|
7132
7136
|
children: inlineHelpText
|
|
7133
7137
|
}
|