neko-ui 2.2.0 → 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/lib/index.d.ts +6 -22
- package/lib/index.js +1 -1
- package/lib/provider/index.d.ts +13 -0
- package/package.json +8 -8
package/lib/index.d.ts
CHANGED
|
@@ -36,24 +36,8 @@ export { default as theme, type ColorScheme, type ThemeOption, generateTheme, to
|
|
|
36
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';
|
|
37
37
|
export { default as Typography, type TypographyElement, type TypographyProps } from './typography';
|
|
38
38
|
export { default as dayjs } from './date-picker/dayjs';
|
|
39
|
-
|
|
40
|
-
import {
|
|
41
|
-
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, PaginationElement, PopoverElement, RadioElement, SegmentedElement, SelectElement, SelectMultipleElement, SkeletonElement, SpinElement, SwitchElement, TableElement, TabsElement, TagElement, TreeElement, TreeMultipleElement, TreeMultipleSchemaElement, TreeMultipleStringElement, TreeSchemaElement, TreeStringElement, TypographyElement } from '.';
|
|
42
|
-
declare const normal: {
|
|
43
|
-
FieldName: typeof FieldName;
|
|
44
|
-
Size: typeof Size;
|
|
45
|
-
Status: typeof Status;
|
|
46
|
-
dayjs: typeof dayjs;
|
|
47
|
-
fromSchema: typeof fromSchema;
|
|
48
|
-
generateTheme: typeof generateTheme;
|
|
49
|
-
getOptions: typeof getOptions;
|
|
50
|
-
theme: import("./theme").Theme;
|
|
51
|
-
toneColor: typeof toneColor;
|
|
52
|
-
css: typeof css;
|
|
53
|
-
cx: typeof cx;
|
|
54
|
-
injectGlobal: typeof injectGlobal;
|
|
55
|
-
};
|
|
56
|
-
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 '.';
|
|
57
41
|
/** 组件列表
|
|
58
42
|
* @author monako97
|
|
59
43
|
* @ignore optional
|
|
@@ -131,6 +115,10 @@ interface CustomElementTags {
|
|
|
131
115
|
* @since 2.2.0
|
|
132
116
|
*/
|
|
133
117
|
'n-pagination': PaginationElement;
|
|
118
|
+
/** 响应内部变化
|
|
119
|
+
* @since 2.3.0
|
|
120
|
+
*/
|
|
121
|
+
'n-provider': ProviderElement;
|
|
134
122
|
}
|
|
135
123
|
declare module 'solid-js' {
|
|
136
124
|
namespace JSX {
|
|
@@ -147,8 +135,4 @@ declare global {
|
|
|
147
135
|
}
|
|
148
136
|
interface HTMLElementTagNameMap extends CustomElementTags {
|
|
149
137
|
}
|
|
150
|
-
interface window {
|
|
151
|
-
NekoUI: typeof normal;
|
|
152
|
-
}
|
|
153
|
-
const NekoUI: window['NekoUI'];
|
|
154
138
|
}
|