@butternutbox/pawprint-native 0.10.10 → 0.10.11
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/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +13 -0
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/NumberField/NumberField.tsx +5 -1
package/package.json
CHANGED
|
@@ -41,7 +41,7 @@ const StyledRoot = styled(View)<{
|
|
|
41
41
|
fullWidth?: boolean
|
|
42
42
|
}>(({ rootGap, fullWidth }) => ({
|
|
43
43
|
gap: rootGap,
|
|
44
|
-
...(fullWidth
|
|
44
|
+
...(fullWidth ? { width: "100%" } : { alignItems: "center" })
|
|
45
45
|
}))
|
|
46
46
|
|
|
47
47
|
const StyledLabelGroup = styled(View)<{
|
|
@@ -134,6 +134,7 @@ export const NumberField = React.forwardRef<View, NumberFieldProps>(
|
|
|
134
134
|
<Typography
|
|
135
135
|
token={typoTokens.label}
|
|
136
136
|
color={tokens.colour.text.label}
|
|
137
|
+
align="center"
|
|
137
138
|
>
|
|
138
139
|
{label}
|
|
139
140
|
</Typography>
|
|
@@ -142,6 +143,7 @@ export const NumberField = React.forwardRef<View, NumberFieldProps>(
|
|
|
142
143
|
<Typography
|
|
143
144
|
token={typoTokens.smallLabel}
|
|
144
145
|
color={tokens.colour.text.description}
|
|
146
|
+
align="center"
|
|
145
147
|
>
|
|
146
148
|
{smallLabel}
|
|
147
149
|
</Typography>
|
|
@@ -172,6 +174,7 @@ export const NumberField = React.forwardRef<View, NumberFieldProps>(
|
|
|
172
174
|
: tokens.typography.small.smallLabel
|
|
173
175
|
}
|
|
174
176
|
color={tokens.colour.text.description}
|
|
177
|
+
align="center"
|
|
175
178
|
>
|
|
176
179
|
{description}
|
|
177
180
|
</Typography>
|
|
@@ -184,6 +187,7 @@ export const NumberField = React.forwardRef<View, NumberFieldProps>(
|
|
|
184
187
|
: tokens.typography.small.smallLabel
|
|
185
188
|
}
|
|
186
189
|
color={theme.tokens.components.inputs.colour.description.error}
|
|
190
|
+
align="center"
|
|
187
191
|
>
|
|
188
192
|
{error}
|
|
189
193
|
</Typography>
|