@onehat/ui 0.4.15 → 0.4.17
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onehat/ui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.17",
|
|
4
4
|
"description": "Base UI for OneHat apps",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@hookform/resolvers": "^3.3.1",
|
|
58
58
|
"@k-renwick/colour-mixer": "^1.2.1",
|
|
59
59
|
"@legendapp/motion": "^2.4.0",
|
|
60
|
-
"@onehat/data": "^1.
|
|
60
|
+
"@onehat/data": "^1.22.0",
|
|
61
61
|
"nativewind": "4.0.36",
|
|
62
62
|
"normalize-css-color": "^1.0.2",
|
|
63
63
|
"@react-native-community/slider": "^4.5.2",
|
|
@@ -1014,7 +1014,7 @@ export function ComboComponent(props) {
|
|
|
1014
1014
|
className += ' ' + props.className;
|
|
1015
1015
|
}
|
|
1016
1016
|
if (minimizeForRow) {
|
|
1017
|
-
className += ' h-auto min-h-0
|
|
1017
|
+
className += ' h-auto min-h-0';
|
|
1018
1018
|
}
|
|
1019
1019
|
|
|
1020
1020
|
if (isRendered && additionalButtons?.length && containerWidth < 500) {
|
|
@@ -299,6 +299,9 @@ function Form(props) {
|
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
let elementClassName = 'Form-ElementFromColumnsConfig';
|
|
302
|
+
if (type === 'Text') {
|
|
303
|
+
elementClassName += ' flex items-center justify-center';
|
|
304
|
+
}
|
|
302
305
|
const
|
|
303
306
|
boxFlex = configPropsToPass.flex,
|
|
304
307
|
boxW = configPropsToPass.w;
|
|
@@ -1285,7 +1288,7 @@ function Form(props) {
|
|
|
1285
1288
|
className={`
|
|
1286
1289
|
Form-inlineFooter
|
|
1287
1290
|
absolute
|
|
1288
|
-
top-[
|
|
1291
|
+
top-[5px]
|
|
1289
1292
|
left-[100px]
|
|
1290
1293
|
w-[100px]
|
|
1291
1294
|
min-w-[300px]
|