@oliasoft-open-source/react-ui-library 10.6.2 → 10.7.0-beta-1
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/global.css +239 -202
- package/dist/index.d.ts +9 -2
- package/dist/index.js +262 -227
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -315,6 +315,7 @@ export declare interface IButtonProps {
|
|
|
315
315
|
small?: boolean;
|
|
316
316
|
styles?: string;
|
|
317
317
|
width?: TStringOrNumber;
|
|
318
|
+
fontWeight?: default_2.CSSProperties['fontWeight'];
|
|
318
319
|
title?: string;
|
|
319
320
|
type?: TButtonType | string;
|
|
320
321
|
error?: string;
|
|
@@ -732,6 +733,7 @@ export declare interface IInputGroupAddonProps {
|
|
|
732
733
|
children: ReactNode;
|
|
733
734
|
groupOrder?: TGroupOrder;
|
|
734
735
|
small?: boolean;
|
|
736
|
+
borderless?: boolean;
|
|
735
737
|
}
|
|
736
738
|
|
|
737
739
|
export declare interface IInputGroupProps {
|
|
@@ -748,6 +750,8 @@ export declare interface IInputProps {
|
|
|
748
750
|
name?: string;
|
|
749
751
|
type?: string;
|
|
750
752
|
icon?: ReactNode;
|
|
753
|
+
leftSlot?: ReactNode;
|
|
754
|
+
rightSlot?: ReactNode;
|
|
751
755
|
onChange?: TChangeEventHandler;
|
|
752
756
|
onKeyPress?: KeyboardEventHandler<HTMLInputElement>;
|
|
753
757
|
onFocus?: (evt: FocusEvent_2<HTMLInputElement>) => void;
|
|
@@ -999,6 +1003,7 @@ export declare interface IMenuSection {
|
|
|
999
1003
|
selected?: boolean;
|
|
1000
1004
|
disabled?: boolean;
|
|
1001
1005
|
inline?: boolean;
|
|
1006
|
+
align?: 'left' | 'right';
|
|
1002
1007
|
title?: string;
|
|
1003
1008
|
download?: boolean;
|
|
1004
1009
|
onChange?: TChangeEventHandler;
|
|
@@ -1111,7 +1116,7 @@ export declare const Input: default_2.ForwardRefExoticComponent<IInputProps & de
|
|
|
1111
1116
|
|
|
1112
1117
|
export declare const InputGroup: ({ children, small, width, isInTable: isInTableProp, }: IInputGroupProps) => ReactElement;
|
|
1113
1118
|
|
|
1114
|
-
export declare const InputGroupAddon: ({ children, groupOrder, small }: IInputGroupAddonProps) => default_2.ReactElement;
|
|
1119
|
+
export declare const InputGroupAddon: ({ children, groupOrder, small, borderless, }: IInputGroupAddonProps) => default_2.ReactElement;
|
|
1115
1120
|
|
|
1116
1121
|
export declare enum InputReaderMethods {
|
|
1117
1122
|
READ_AS_TEXT = "readAsText",
|
|
@@ -1178,6 +1183,8 @@ export declare interface INumberInputProps {
|
|
|
1178
1183
|
roundDisplayValue?: (args: TStringOrNumber) => TStringOrNumber;
|
|
1179
1184
|
disableInternalErrorValidationMessages?: boolean;
|
|
1180
1185
|
disableValidationOnFocus?: boolean;
|
|
1186
|
+
leftSlot?: ReactNode;
|
|
1187
|
+
rightSlot?: ReactNode;
|
|
1181
1188
|
}
|
|
1182
1189
|
|
|
1183
1190
|
declare interface IOnRowClickFunction {
|
|
@@ -2161,7 +2168,7 @@ declare interface NavigationEventArgs {
|
|
|
2161
2168
|
endTime: number;
|
|
2162
2169
|
}
|
|
2163
2170
|
|
|
2164
|
-
export declare const NumberInput: ({ name, placeholder, disabled, error, left, small, width, value, onChange, onFocus, onBlur, selectOnFocus, tabIndex, testId, tooltip, warning, validationCallback, allowEmpty, isInTable, groupOrder, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, disableInternalErrorValidationMessages, disableValidationOnFocus, }: INumberInputProps) => JSX.Element;
|
|
2171
|
+
export declare const NumberInput: ({ name, placeholder, disabled, error, left, small, width, value, onChange, onFocus, onBlur, selectOnFocus, tabIndex, testId, tooltip, warning, validationCallback, allowEmpty, isInTable, groupOrder, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, disableInternalErrorValidationMessages, disableValidationOnFocus, leftSlot, rightSlot, }: INumberInputProps) => JSX.Element;
|
|
2165
2172
|
|
|
2166
2173
|
export declare const OptionDropdown: ({ name, disabled, label, options, onChange, small, showHeader, maxHeight, testId, }: IOptionDropdownProps) => ReactElement;
|
|
2167
2174
|
|