neko-ui 2.1.2 → 2.2.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 +9 -3
- package/lib/index.js +1 -1
- package/lib/pagination/index.d.ts +37 -0
- package/lib/pagination/styles.d.ts +1 -0
- package/lib/table/index.d.ts +85 -1
- package/lib/table/styles.d.ts +1 -0
- package/package.json +11 -8
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';
|
|
@@ -34,13 +35,15 @@ export { default as Tag, type TagElement, type TagProps } from './tag';
|
|
|
34
35
|
export { default as theme, type ColorScheme, type ThemeOption, generateTheme, toneColor, } from './theme';
|
|
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';
|
|
38
|
+
export { default as dayjs } from './date-picker/dayjs';
|
|
37
39
|
import { css, cx, injectGlobal } from '@moneko/css';
|
|
38
|
-
import { FieldName, Size, Status, fromSchema, generateTheme, getOptions, toneColor } from 'neko-ui';
|
|
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 '.';
|
|
40
|
+
import { FieldName, Size, Status, dayjs, fromSchema, generateTheme, getOptions, toneColor } from 'neko-ui';
|
|
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 '.';
|
|
40
42
|
declare const normal: {
|
|
41
43
|
FieldName: typeof FieldName;
|
|
42
44
|
Size: typeof Size;
|
|
43
45
|
Status: typeof Status;
|
|
46
|
+
dayjs: typeof dayjs;
|
|
44
47
|
fromSchema: typeof fromSchema;
|
|
45
48
|
generateTheme: typeof generateTheme;
|
|
46
49
|
getOptions: typeof getOptions;
|
|
@@ -122,9 +125,12 @@ interface CustomElementTags {
|
|
|
122
125
|
'n-data-picker': DatePickerElement;
|
|
123
126
|
/** 数据表格
|
|
124
127
|
* @since 2.2.0
|
|
125
|
-
* @author monako97 <poi.nyaa@qq.com>
|
|
126
128
|
*/
|
|
127
129
|
'n-table': TableElement;
|
|
130
|
+
/** 分页器
|
|
131
|
+
* @since 2.2.0
|
|
132
|
+
*/
|
|
133
|
+
'n-pagination': PaginationElement;
|
|
128
134
|
}
|
|
129
135
|
declare module 'solid-js' {
|
|
130
136
|
namespace JSX {
|