neko-ui 2.1.4 → 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 +6 -2
- 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 +10 -7
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';
|
|
@@ -37,7 +38,7 @@ export { default as Typography, type TypographyElement, type TypographyProps } f
|
|
|
37
38
|
export { default as dayjs } from './date-picker/dayjs';
|
|
38
39
|
import { css, cx, injectGlobal } from '@moneko/css';
|
|
39
40
|
import { FieldName, Size, Status, dayjs, fromSchema, generateTheme, getOptions, toneColor } from 'neko-ui';
|
|
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
|
+
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 '.';
|
|
41
42
|
declare const normal: {
|
|
42
43
|
FieldName: typeof FieldName;
|
|
43
44
|
Size: typeof Size;
|
|
@@ -124,9 +125,12 @@ interface CustomElementTags {
|
|
|
124
125
|
'n-data-picker': DatePickerElement;
|
|
125
126
|
/** 数据表格
|
|
126
127
|
* @since 2.2.0
|
|
127
|
-
* @author monako97 <poi.nyaa@qq.com>
|
|
128
128
|
*/
|
|
129
129
|
'n-table': TableElement;
|
|
130
|
+
/** 分页器
|
|
131
|
+
* @since 2.2.0
|
|
132
|
+
*/
|
|
133
|
+
'n-pagination': PaginationElement;
|
|
130
134
|
}
|
|
131
135
|
declare module 'solid-js' {
|
|
132
136
|
namespace JSX {
|