@cronocode/react-box 0.3.1 → 0.3.4
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/box.d.ts +2 -4
- package/box.js +4600 -4664
- package/components/{button.d.ts → buttonCore.d.ts} +0 -0
- package/components/{button.js → buttonCore.js} +0 -0
- package/components/uncontrolledTextboxCore.d.ts +13 -0
- package/components/uncontrolledTextboxCore.js +34 -0
- package/css.variables.d.ts +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/box.d.ts
CHANGED
|
@@ -108,9 +108,6 @@ interface BoxColors {
|
|
|
108
108
|
borderColorHover?: ColorType;
|
|
109
109
|
bColorHover?: ColorType;
|
|
110
110
|
}
|
|
111
|
-
interface BoxLineHeightSize {
|
|
112
|
-
lineHeight?: SizeType;
|
|
113
|
-
}
|
|
114
111
|
interface BoxCursor {
|
|
115
112
|
cursor?: CursorType;
|
|
116
113
|
}
|
|
@@ -127,6 +124,7 @@ interface BoxOpacity {
|
|
|
127
124
|
}
|
|
128
125
|
interface BoxFont {
|
|
129
126
|
fontSize?: FontSizeType;
|
|
127
|
+
lineHeight?: FontSizeType;
|
|
130
128
|
fontWeight?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
|
131
129
|
letterSpacing?: SizeType;
|
|
132
130
|
}
|
|
@@ -150,7 +148,7 @@ interface BoxFlex {
|
|
|
150
148
|
flexShrink?: SizeType;
|
|
151
149
|
alignSelf?: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
|
|
152
150
|
}
|
|
153
|
-
interface Props<TTag extends keyof React.ReactHTML> extends BoxDisplay, BoxPosition, BoxSize, BoxMargin, BoxBorder, BoxPadding, BoxColors,
|
|
151
|
+
interface Props<TTag extends keyof React.ReactHTML> extends BoxDisplay, BoxPosition, BoxSize, BoxMargin, BoxBorder, BoxPadding, BoxColors, BoxCursor, BoxZIndex, BoxOverflow, BoxOpacity, BoxFont, BoxText, BoxFlex {
|
|
154
152
|
children?: React.ReactNode | ((props: {
|
|
155
153
|
isHover: boolean;
|
|
156
154
|
}) => React.ReactNode);
|