neko-ui 2.1.4 → 2.3.0
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/README.md +1 -1
- package/lib/index.d.ts +11 -23
- package/lib/index.js +1 -1
- package/lib/pagination/index.d.ts +37 -0
- package/lib/pagination/styles.d.ts +1 -0
- package/lib/provider/index.d.ts +13 -0
- package/lib/table/index.d.ts +85 -1
- package/lib/table/styles.d.ts +1 -0
- package/package.json +14 -11
package/README.md
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export { default as Input, type InputElement, type InputProps } from './input';
|
|
|
21
21
|
export { default as InputNumber, type InputNumberElement, type InputNumberProps, } from './input-number';
|
|
22
22
|
export { default as Md, type MdElement, type MdProps } from './md';
|
|
23
23
|
export { default as Menu, type MenuElement, type MenuMultipleElement, type MenuMultipleProps, type MenuOption, type MenuProps, } from './menu';
|
|
24
|
+
export { default as Pagination, type PaginationProps, type PaginationElement } from './pagination';
|
|
24
25
|
export { default as Popover, type PopoverElement, type PopoverProps } from './popover';
|
|
25
26
|
export { default as Radio, type RadioElement, type RadioOption, type RadioProps } from './radio';
|
|
26
27
|
export { default as Segmented, type SegmentedElement, type SegmentedProps } from './segmented';
|
|
@@ -35,24 +36,8 @@ export { default as theme, type ColorScheme, type ThemeOption, generateTheme, to
|
|
|
35
36
|
export { default as Tree, type TreeElement, type TreeMultipleElement, type TreeMultipleProps, type TreeMultipleSchemaElement, type TreeMultipleSchemaProps, type TreeMultipleStringElement, type TreeMultipleStringProps, type TreeProps, type TreeSchemaElement, type TreeSchemaProps, type TreeStringElement, type TreeStringProps, } from './tree';
|
|
36
37
|
export { default as Typography, type TypographyElement, type TypographyProps } from './typography';
|
|
37
38
|
export { default as dayjs } from './date-picker/dayjs';
|
|
38
|
-
|
|
39
|
-
import {
|
|
40
|
-
import type { AvatarElement, AvatarGroupElement, BackTopElement, ButtonElement, CaptureScreenElement, CarouselElement, CheckboxBoolElement, CheckboxGroupElement, CodeElement, ColorPaletteElement, ColorPickerElement, CronElement, DatePickerElement, DropdownElement, DropdownMultipleElement, EmptyElement, HighlightTextElement, ImgElement, InputElement, InputNumberElement, MdElement, MenuElement, MenuMultipleElement, PopoverElement, RadioElement, SegmentedElement, SelectElement, SelectMultipleElement, SkeletonElement, SpinElement, SwitchElement, TableElement, TabsElement, TagElement, TreeElement, TreeMultipleElement, TreeMultipleSchemaElement, TreeMultipleStringElement, TreeSchemaElement, TreeStringElement, TypographyElement } from '.';
|
|
41
|
-
declare const normal: {
|
|
42
|
-
FieldName: typeof FieldName;
|
|
43
|
-
Size: typeof Size;
|
|
44
|
-
Status: typeof Status;
|
|
45
|
-
dayjs: typeof dayjs;
|
|
46
|
-
fromSchema: typeof fromSchema;
|
|
47
|
-
generateTheme: typeof generateTheme;
|
|
48
|
-
getOptions: typeof getOptions;
|
|
49
|
-
theme: import("./theme").Theme;
|
|
50
|
-
toneColor: typeof toneColor;
|
|
51
|
-
css: typeof css;
|
|
52
|
-
cx: typeof cx;
|
|
53
|
-
injectGlobal: typeof injectGlobal;
|
|
54
|
-
};
|
|
55
|
-
export default normal;
|
|
39
|
+
export { default as Provider, type ProviderElement, type ProviderProps } from './provider';
|
|
40
|
+
import { AvatarElement, AvatarGroupElement, BackTopElement, ButtonElement, CaptureScreenElement, CarouselElement, CheckboxBoolElement, CheckboxGroupElement, CodeElement, ColorPaletteElement, ColorPickerElement, CronElement, DatePickerElement, DropdownElement, DropdownMultipleElement, EmptyElement, HighlightTextElement, ImgElement, InputElement, InputNumberElement, MdElement, MenuElement, MenuMultipleElement, PaginationElement, PopoverElement, ProviderElement, RadioElement, SegmentedElement, SelectElement, SelectMultipleElement, SkeletonElement, SpinElement, SwitchElement, TableElement, TabsElement, TagElement, TreeElement, TreeMultipleElement, TreeMultipleSchemaElement, TreeMultipleStringElement, TreeSchemaElement, TreeStringElement, TypographyElement } from '.';
|
|
56
41
|
/** 组件列表
|
|
57
42
|
* @author monako97
|
|
58
43
|
* @ignore optional
|
|
@@ -124,9 +109,16 @@ interface CustomElementTags {
|
|
|
124
109
|
'n-data-picker': DatePickerElement;
|
|
125
110
|
/** 数据表格
|
|
126
111
|
* @since 2.2.0
|
|
127
|
-
* @author monako97 <poi.nyaa@qq.com>
|
|
128
112
|
*/
|
|
129
113
|
'n-table': TableElement;
|
|
114
|
+
/** 分页器
|
|
115
|
+
* @since 2.2.0
|
|
116
|
+
*/
|
|
117
|
+
'n-pagination': PaginationElement;
|
|
118
|
+
/** 响应内部变化
|
|
119
|
+
* @since 2.3.0
|
|
120
|
+
*/
|
|
121
|
+
'n-provider': ProviderElement;
|
|
130
122
|
}
|
|
131
123
|
declare module 'solid-js' {
|
|
132
124
|
namespace JSX {
|
|
@@ -143,8 +135,4 @@ declare global {
|
|
|
143
135
|
}
|
|
144
136
|
interface HTMLElementTagNameMap extends CustomElementTags {
|
|
145
137
|
}
|
|
146
|
-
interface window {
|
|
147
|
-
NekoUI: typeof normal;
|
|
148
|
-
}
|
|
149
|
-
const NekoUI: window['NekoUI'];
|
|
150
138
|
}
|