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 CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  🐾 🐾 🐾 🐾
17
17
 
18
- > 这是一个适用于任何技术栈的 WebComponents UI组件库
18
+ > 这是一个基于 SolidJS、Typescript 开发的适用于任何技术栈的 WebComponents 组件库, 你可以在其他任意 web 框架中像 `div` 一样使用它
19
19
 
20
20
  [![neko-ui][home-tag]][home-url]
21
21
  [![docs-ui][docs-tag]][docs-url]
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 {