@xqmsg/ui-core 0.23.1 → 0.23.3
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/dist/components/input/index.d.ts +2 -2
- package/dist/ui-core.cjs.development.js +2 -1
- package/dist/ui-core.cjs.development.js.map +1 -1
- package/dist/ui-core.cjs.production.min.js +1 -1
- package/dist/ui-core.cjs.production.min.js.map +1 -1
- package/dist/ui-core.esm.js +2 -1
- package/dist/ui-core.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/banner/index.tsx +3 -1
- package/src/components/input/index.tsx +2 -2
|
@@ -13,7 +13,7 @@ export interface InputProps<T extends FieldValues> extends ValidationProps {
|
|
|
13
13
|
fullOptions?: FieldOptions;
|
|
14
14
|
maxLength?: number;
|
|
15
15
|
helperText?: React.ReactNode;
|
|
16
|
-
control: Control<T,
|
|
16
|
+
control: Control<T, any>;
|
|
17
17
|
onChange?: (value?: string) => void;
|
|
18
18
|
disabled?: boolean;
|
|
19
19
|
tooltipText?: string;
|
|
@@ -23,7 +23,7 @@ export interface InputProps<T extends FieldValues> extends ValidationProps {
|
|
|
23
23
|
leftElement?: React.ReactNode;
|
|
24
24
|
allowDefault?: boolean;
|
|
25
25
|
rightElement?: React.ReactNode;
|
|
26
|
-
variant
|
|
26
|
+
variant?: string;
|
|
27
27
|
separators?: string[];
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
@@ -231,8 +231,9 @@ var Banner = function Banner(_ref) {
|
|
|
231
231
|
}, /*#__PURE__*/React__default.createElement(react.Box, {
|
|
232
232
|
pr: "8px"
|
|
233
233
|
}, Icon), /*#__PURE__*/React__default.createElement(react.Box, {
|
|
234
|
+
flexGrow: "1",
|
|
234
235
|
pt: type === 'condensed' ? 0 : '8px'
|
|
235
|
-
},
|
|
236
|
+
}, message), onClick && buttonText && /*#__PURE__*/React__default.createElement(react.Flex, {
|
|
236
237
|
ml: type === 'condensed' ? 'auto' : '',
|
|
237
238
|
pt: type === 'condensed' ? 0 : '8px',
|
|
238
239
|
justifyContent: type === 'condensed' ? 'flex-end' : 'flex-end'
|