@steroidsjs/core 3.0.0-beta.35 → 3.0.0-beta.36
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/docs-autogen-result.json +506 -134
- package/hooks/useDataSelect.d.ts +1 -2
- package/hooks/useList.d.ts +1 -2
- package/package.json +1 -1
- package/ui/content/Avatar/AvatarGroup.d.ts +2 -2
- package/ui/content/Badge/Badge.d.ts +1 -1
- package/ui/content/Card/Card.d.ts +7 -6
- package/ui/form/Button/Button.d.ts +1 -1
- package/ui/form/FieldList/FieldList.d.ts +1 -1
package/hooks/useDataSelect.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface IDataSelectItem {
|
|
1
|
+
export interface IDataSelectItem {
|
|
2
2
|
id: number | string | boolean;
|
|
3
3
|
label?: string;
|
|
4
4
|
[key: string]: unknown;
|
|
@@ -57,4 +57,3 @@ export interface IDataSelectResult {
|
|
|
57
57
|
}
|
|
58
58
|
export declare const getLinearItems: (items: any, groupAttribute: any) => any[];
|
|
59
59
|
export default function useDataSelect(config: IDataSelectConfig): IDataSelectResult;
|
|
60
|
-
export {};
|
package/hooks/useList.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { IEmptyProps } from '../ui/list/Empty/Empty';
|
|
|
8
8
|
import { IFormProps } from '../ui/form/Form/Form';
|
|
9
9
|
import { Model } from '../components/MetaComponent';
|
|
10
10
|
export type ListControlPosition = 'top' | 'bottom' | 'both' | string;
|
|
11
|
-
interface ISortProps {
|
|
11
|
+
export interface ISortProps {
|
|
12
12
|
/**
|
|
13
13
|
* Включить сортировку
|
|
14
14
|
* @example false
|
|
@@ -203,4 +203,3 @@ export declare const createInitialValues: ({ paginationProps, paginationSizeProp
|
|
|
203
203
|
* Выбранные фильтры синхронизируются с адресной строкой.
|
|
204
204
|
*/
|
|
205
205
|
export default function useList(config: IListConfig): IListOutput;
|
|
206
|
-
export {};
|
package/package.json
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
import { IButtonProps } from 'src/ui/form/Button/Button';
|
|
3
3
|
import { ILinkProps } from 'src/ui/nav/Link/Link';
|
|
4
4
|
import { IAvatarProps } from '../Avatar/Avatar';
|
|
5
|
+
export interface ICardHeader {
|
|
6
|
+
avatar?: IAvatarProps;
|
|
7
|
+
menu?: boolean;
|
|
8
|
+
head?: string;
|
|
9
|
+
subhead?: string;
|
|
10
|
+
}
|
|
5
11
|
export interface ICardProps {
|
|
6
12
|
/**
|
|
7
13
|
* Дополнительный CSS-класс
|
|
@@ -24,12 +30,7 @@ export interface ICardProps {
|
|
|
24
30
|
/**
|
|
25
31
|
* Контент хедера
|
|
26
32
|
*/
|
|
27
|
-
header?:
|
|
28
|
-
avatar?: IAvatarProps;
|
|
29
|
-
menu?: boolean;
|
|
30
|
-
head?: string;
|
|
31
|
-
subhead?: string;
|
|
32
|
-
};
|
|
33
|
+
header?: ICardHeader;
|
|
33
34
|
/**
|
|
34
35
|
* Контент футера
|
|
35
36
|
*/
|
|
@@ -4,7 +4,7 @@ import { IFieldWrapperInputProps, IFieldWrapperOutputProps } from '../../form/Fi
|
|
|
4
4
|
* FieldList
|
|
5
5
|
* Создает список из сгруппированных полей формы
|
|
6
6
|
*/
|
|
7
|
-
interface IFieldListItem extends IFieldWrapperInputProps {
|
|
7
|
+
export interface IFieldListItem extends IFieldWrapperInputProps {
|
|
8
8
|
/**
|
|
9
9
|
* Будет ли отображён item ?
|
|
10
10
|
* @example true
|