@onehat/ui 0.4.15 → 0.4.16

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.15",
3
+ "version": "0.4.16",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -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 max-h-[40px]';
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-[9px]
1291
+ top-[5px]
1289
1292
  left-[100px]
1290
1293
  w-[100px]
1291
1294
  min-w-[300px]
@@ -83,6 +83,11 @@ export default function withWindowedEditor(WrappedComponent, isTree = false) {
83
83
  {..._editor}
84
84
  parent={self}
85
85
  reference="editor"
86
+ className={`
87
+ bg-white
88
+ shadow-lg
89
+ rounded-lg
90
+ `}
86
91
  />
87
92
  </Modal>}
88
93
  </>;
@@ -92,7 +92,9 @@ function Report(props) {
92
92
  border-primary-300
93
93
  p-4
94
94
  mb-3
95
+ bg-white
95
96
  rounded-lg
97
+ shadow-sm
96
98
  `}
97
99
  >
98
100
  <HStack>