neko-ui 2.1.0 → 2.1.2
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/img/index.d.ts +4 -0
- package/lib/index.d.ts +9 -2
- package/lib/index.js +1 -1
- package/lib/table/index.d.ts +14 -0
- package/package.json +2 -2
package/lib/img/index.d.ts
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export { default as Select, type SelectElement, type SelectMultipleElement, type
|
|
|
28
28
|
export { default as Skeleton, type SkeletonElement, type SkeletonProps } from './skeleton';
|
|
29
29
|
export { default as Spin, type SpinElement, type SpinProps } from './spin';
|
|
30
30
|
export { default as Switch, type SwitchElement, type SwitchProps } from './switch';
|
|
31
|
+
export { default as Table, type TableElement, type TableProps } from './table';
|
|
31
32
|
export { default as Tabs, type TabOption, type TabsElement, type TabsProps } from './tabs';
|
|
32
33
|
export { default as Tag, type TagElement, type TagProps } from './tag';
|
|
33
34
|
export { default as theme, type ColorScheme, type ThemeOption, generateTheme, toneColor, } from './theme';
|
|
@@ -35,7 +36,7 @@ export { default as Tree, type TreeElement, type TreeMultipleElement, type TreeM
|
|
|
35
36
|
export { default as Typography, type TypographyElement, type TypographyProps } from './typography';
|
|
36
37
|
import { css, cx, injectGlobal } from '@moneko/css';
|
|
37
38
|
import { FieldName, Size, Status, fromSchema, generateTheme, getOptions, toneColor } from 'neko-ui';
|
|
38
|
-
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, TabsElement, TagElement, TreeElement, TreeMultipleElement, TreeMultipleSchemaElement, TreeMultipleStringElement, TreeSchemaElement, TreeStringElement, TypographyElement } from '.';
|
|
39
|
+
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 '.';
|
|
39
40
|
declare const normal: {
|
|
40
41
|
FieldName: typeof FieldName;
|
|
41
42
|
Size: typeof Size;
|
|
@@ -51,6 +52,7 @@ declare const normal: {
|
|
|
51
52
|
};
|
|
52
53
|
export default normal;
|
|
53
54
|
/** 组件列表
|
|
55
|
+
* @author monako97
|
|
54
56
|
* @ignore optional
|
|
55
57
|
*/
|
|
56
58
|
interface CustomElementTags {
|
|
@@ -114,10 +116,15 @@ interface CustomElementTags {
|
|
|
114
116
|
'n-menu': MenuElement | MenuMultipleElement;
|
|
115
117
|
/** Cron表达式编辑器 */
|
|
116
118
|
'n-cron': CronElement;
|
|
117
|
-
/**
|
|
119
|
+
/** 日期选择器
|
|
118
120
|
* @since 2.1.0
|
|
119
121
|
*/
|
|
120
122
|
'n-data-picker': DatePickerElement;
|
|
123
|
+
/** 数据表格
|
|
124
|
+
* @since 2.2.0
|
|
125
|
+
* @author monako97 <poi.nyaa@qq.com>
|
|
126
|
+
*/
|
|
127
|
+
'n-table': TableElement;
|
|
121
128
|
}
|
|
122
129
|
declare module 'solid-js' {
|
|
123
130
|
namespace JSX {
|