@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/.turbo/turbo-build.log
CHANGED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
[34mCJS[39m Build start
|
|
8
8
|
[34mESM[39m Build start
|
|
9
9
|
[34mDTS[39m Build start
|
|
10
|
-
[32mESM[39m [1mdist/index.js [22m[32m1.72 MB[39m
|
|
11
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m2.70 MB[39m
|
|
12
|
-
[32mESM[39m ⚡️ Build success in 11267ms
|
|
13
10
|
[32mCJS[39m [1mdist/index.cjs [22m[32m1.80 MB[39m
|
|
14
11
|
[32mCJS[39m [1mdist/index.cjs.map [22m[32m2.70 MB[39m
|
|
15
|
-
[32mCJS[39m ⚡️ Build success in
|
|
16
|
-
[
|
|
12
|
+
[32mCJS[39m ⚡️ Build success in 11449ms
|
|
13
|
+
[32mESM[39m [1mdist/index.js [22m[32m1.73 MB[39m
|
|
14
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m2.70 MB[39m
|
|
15
|
+
[32mESM[39m ⚡️ Build success in 11453ms
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 22526ms
|
|
17
17
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m91.44 KB[39m
|
|
18
18
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m91.44 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @butternutbox/pawprint-native
|
|
2
2
|
|
|
3
|
+
## 0.10.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 27bbcb5: NumberField: center the label, small label and description/error copy over the
|
|
8
|
+
input on native.
|
|
9
|
+
|
|
10
|
+
Previously the label and help text were left-aligned across the full width of
|
|
11
|
+
the root, so they drifted away from the input group (which packs to the left
|
|
12
|
+
when not `fullWidth`). The copy now centers over the field: the root centers its
|
|
13
|
+
children when not `fullWidth`, and the label/help text use centered text so they
|
|
14
|
+
stay centered over the input in `fullWidth` mode too. Matches the Figma design.
|
|
15
|
+
|
|
3
16
|
## 0.10.10
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -10574,7 +10574,7 @@ NumberFieldInput.displayName = "NumberField.Input";
|
|
|
10574
10574
|
var parseTokenValue35 = (value) => parseFloat(value);
|
|
10575
10575
|
var StyledRoot10 = styled50__default.default(reactNative.View)(({ rootGap, fullWidth }) => __spreadValues({
|
|
10576
10576
|
gap: rootGap
|
|
10577
|
-
}, fullWidth
|
|
10577
|
+
}, fullWidth ? { width: "100%" } : { alignItems: "center" }));
|
|
10578
10578
|
var StyledLabelGroup = styled50__default.default(reactNative.View)(({ labelGap }) => ({
|
|
10579
10579
|
gap: labelGap
|
|
10580
10580
|
}));
|
|
@@ -10638,6 +10638,7 @@ var NumberField = React65__default.default.forwardRef(
|
|
|
10638
10638
|
{
|
|
10639
10639
|
token: typoTokens.label,
|
|
10640
10640
|
color: tokens3.colour.text.label,
|
|
10641
|
+
align: "center",
|
|
10641
10642
|
children: label
|
|
10642
10643
|
}
|
|
10643
10644
|
),
|
|
@@ -10646,6 +10647,7 @@ var NumberField = React65__default.default.forwardRef(
|
|
|
10646
10647
|
{
|
|
10647
10648
|
token: typoTokens.smallLabel,
|
|
10648
10649
|
color: tokens3.colour.text.description,
|
|
10650
|
+
align: "center",
|
|
10649
10651
|
children: smallLabel
|
|
10650
10652
|
}
|
|
10651
10653
|
)
|
|
@@ -10675,6 +10677,7 @@ var NumberField = React65__default.default.forwardRef(
|
|
|
10675
10677
|
{
|
|
10676
10678
|
token: size === "lg" ? tokens3.typography.large.secondaryContent : tokens3.typography.small.smallLabel,
|
|
10677
10679
|
color: tokens3.colour.text.description,
|
|
10680
|
+
align: "center",
|
|
10678
10681
|
children: description
|
|
10679
10682
|
}
|
|
10680
10683
|
),
|
|
@@ -10683,6 +10686,7 @@ var NumberField = React65__default.default.forwardRef(
|
|
|
10683
10686
|
{
|
|
10684
10687
|
token: size === "lg" ? tokens3.typography.large.secondaryContent : tokens3.typography.small.smallLabel,
|
|
10685
10688
|
color: theme2.tokens.components.inputs.colour.description.error,
|
|
10689
|
+
align: "center",
|
|
10686
10690
|
children: error
|
|
10687
10691
|
}
|
|
10688
10692
|
)
|