asma-core-ui 2.17.0 → 2.17.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/CHANGELOG.md +15 -0
- package/dist/asma-core-ui.es.js +21 -21
- package/dist/src/components/data-display/chip/StyledChip.d.ts +2 -0
- package/dist/src/components/data-display/chip/index.d.ts +1 -0
- package/dist/src/components/data-display/icons/empty-page-icon/EmptyPageIcon.d.ts +3 -0
- package/dist/src/components/data-display/icons/empty-page-icon/index.d.ts +1 -0
- package/dist/src/components/data-display/icons/index.d.ts +1 -0
- package/dist/src/components/inputs/input/StyledInput.d.ts +45 -2
- package/dist/src/components/inputs/textarea/StyledTextarea.d.ts +4 -2
- package/dist/src/components/navigation/link/StyledLink.d.ts +20 -0
- package/dist/src/components/navigation/link/index.d.ts +1 -0
- package/dist/src/components/table/StyledTable.d.ts +2 -3
- package/dist/src/components/table/types.d.ts +4 -1
- package/dist/src/components/utils/popover/StyledPopover.d.ts +2 -0
- package/dist/src/components/utils/popover/index.d.ts +1 -0
- package/dist/src/index.d.ts +6 -4
- package/dist/style.css +2 -2
- package/package.json +16 -16
- package/dist/src/components/inputs/input-field/StyledInputField.d.ts +0 -50
- package/dist/src/components/inputs/input-field/index.d.ts +0 -1
- package/dist/src/components/inputs/text-field/StyledTextField.d.ts +0 -10
- package/dist/src/components/inputs/text-field/index.d.ts +0 -1
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { type FormControlProps, type FormHelperTextProps, type InputLabelProps, type InputBaseProps } from '@mui/material';
|
|
2
|
-
import { type ReactNode } from 'react';
|
|
3
|
-
type StyledInputFieldProps = InputBaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* The maximum number of characters allowed in the input field.
|
|
6
|
-
*/
|
|
7
|
-
characterLimit?: number;
|
|
8
|
-
/**
|
|
9
|
-
* If `true`, a character counter will be displayed inside the input field (multiline).
|
|
10
|
-
*/
|
|
11
|
-
counter?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* The description message to display between the textarea and its label.
|
|
14
|
-
*/
|
|
15
|
-
descriptionMessage?: string;
|
|
16
|
-
/**
|
|
17
|
-
* The helper text to display below the input field.
|
|
18
|
-
*/
|
|
19
|
-
helperText?: ReactNode;
|
|
20
|
-
/**
|
|
21
|
-
* The label to display above the input field.
|
|
22
|
-
*/
|
|
23
|
-
label?: string;
|
|
24
|
-
/**
|
|
25
|
-
* For numeric input fields, pass `inputProps={{inputMode: 'numeric', pattern: '[0-9]*'}}` to validate numbers.
|
|
26
|
-
*/
|
|
27
|
-
value?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Props applied to the internal FormHelperText used for the description message.
|
|
30
|
-
*/
|
|
31
|
-
DescriptionMessageProps?: FormHelperTextProps;
|
|
32
|
-
/**
|
|
33
|
-
* Props applied to the [`FormControl`](https://mui.com/material-ui/api/form-control/) element.
|
|
34
|
-
*/
|
|
35
|
-
FormControlProps?: FormControlProps;
|
|
36
|
-
/**
|
|
37
|
-
* Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
|
|
38
|
-
*/
|
|
39
|
-
FormHelperTextProps?: FormHelperTextProps;
|
|
40
|
-
/**
|
|
41
|
-
* Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
|
|
42
|
-
* Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
|
|
43
|
-
*/
|
|
44
|
-
InputLabelProps?: InputLabelProps;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* A customizable input field that is built on top of the InputBase component from Material-UI.
|
|
48
|
-
*/
|
|
49
|
-
export declare const StyledInputField: import("react").ForwardRefExoticComponent<Omit<StyledInputFieldProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
50
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './StyledInputField';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type FormControlProps, type TextFieldProps } from '@mui/material';
|
|
2
|
-
type StyledTextFieldProps = TextFieldProps & {
|
|
3
|
-
FormControlProps?: FormControlProps;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated This component is deprecated. Please use the `StyledInputField` component instead.
|
|
7
|
-
* This component will be removed in the next major version, so please update your code accordingly.
|
|
8
|
-
*/
|
|
9
|
-
export declare const StyledTextField: ({ FormControlProps, InputLabelProps, label, size, ...props }: StyledTextFieldProps) => JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './StyledTextField';
|