@noya-app/noya-designsystem 0.1.20 → 0.1.21
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 +7 -7
- package/CHANGELOG.md +7 -0
- package/dist/index.js +13 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/Chip.tsx +2 -2
- package/src/components/InputField.tsx +8 -2
- package/src/theme/light.ts +2 -1
package/dist/index.mjs
CHANGED
|
@@ -679,7 +679,8 @@ var textStyles = {
|
|
|
679
679
|
fontFamily: fonts.normal,
|
|
680
680
|
fontSize: `${typeScale[6]}rem`,
|
|
681
681
|
fontWeight: 400,
|
|
682
|
-
lineHeight: "
|
|
682
|
+
lineHeight: "19px"
|
|
683
|
+
// lineHeight: "1.4",
|
|
683
684
|
},
|
|
684
685
|
button: {
|
|
685
686
|
fontFamily: fonts.normal,
|
|
@@ -1977,7 +1978,11 @@ var InputElement = styled12(TextInput_default)(({
|
|
|
1977
1978
|
// },
|
|
1978
1979
|
};
|
|
1979
1980
|
});
|
|
1980
|
-
var InputFieldInput = forwardRef9(function InputFieldInput2(
|
|
1981
|
+
var InputFieldInput = forwardRef9(function InputFieldInput2({
|
|
1982
|
+
textAlign,
|
|
1983
|
+
variant,
|
|
1984
|
+
...rest
|
|
1985
|
+
}, forwardedRef) {
|
|
1981
1986
|
const {
|
|
1982
1987
|
labelPosition,
|
|
1983
1988
|
labelSize,
|
|
@@ -2005,8 +2010,10 @@ var InputFieldInput = forwardRef9(function InputFieldInput2(props, forwardedRef)
|
|
|
2005
2010
|
$hasLabel: hasLabel,
|
|
2006
2011
|
$hasDropdown: hasDropdown,
|
|
2007
2012
|
$size: size2,
|
|
2013
|
+
$variant: variant,
|
|
2014
|
+
$textAlign: textAlign,
|
|
2008
2015
|
onFocusChange: handleFocusChange,
|
|
2009
|
-
...
|
|
2016
|
+
...rest
|
|
2010
2017
|
}
|
|
2011
2018
|
);
|
|
2012
2019
|
});
|
|
@@ -2531,15 +2538,15 @@ var ChipElement = styled14.span(({ theme, $colorScheme, $size, $variant, $monosp
|
|
|
2531
2538
|
userSelect: "none",
|
|
2532
2539
|
display: "inline-flex",
|
|
2533
2540
|
alignItems: "center",
|
|
2534
|
-
lineHeight: "1.4",
|
|
2541
|
+
// lineHeight: "1.4",
|
|
2542
|
+
lineHeight: "15px",
|
|
2535
2543
|
whiteSpace: "pre",
|
|
2536
2544
|
...$size === "medium" ? {
|
|
2537
2545
|
fontSize: "11px",
|
|
2538
2546
|
padding: "4px 8px"
|
|
2539
2547
|
} : {
|
|
2540
2548
|
fontSize: "9px",
|
|
2541
|
-
padding: "0px 4px"
|
|
2542
|
-
lineHeight: "15px"
|
|
2549
|
+
padding: "0px 4px"
|
|
2543
2550
|
},
|
|
2544
2551
|
...$monospace && {
|
|
2545
2552
|
fontFamily: theme.fonts.monospace
|