neko-ui 2.0.4 → 2.0.6

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 CHANGED
@@ -35,7 +35,7 @@ export { default as Typography, type TypographyElement, type TypographyProps } f
35
35
  import { css, cx, injectGlobal } from '@moneko/css';
36
36
  import { FieldName, Size, Status, fromSchema, generateTheme, getOptions, toneColor } from 'neko-ui';
37
37
  import type { AvatarElement, AvatarGroupElement, BackTopElement, ButtonElement, CaptureScreenElement, CarouselElement, CheckboxBoolElement, CheckboxGroupElement, CodeElement, ColorPaletteElement, ColorPickerElement, CronElement, 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 '.';
38
- declare const _default: {
38
+ declare const normal: {
39
39
  FieldName: typeof FieldName;
40
40
  Size: typeof Size;
41
41
  Status: typeof Status;
@@ -48,7 +48,7 @@ declare const _default: {
48
48
  cx: typeof cx;
49
49
  injectGlobal: typeof injectGlobal;
50
50
  };
51
- export default _default;
51
+ export default normal;
52
52
  interface CustomElementTags {
53
53
  /** 头像 */
54
54
  'n-avatar': AvatarElement;
@@ -126,4 +126,8 @@ declare global {
126
126
  }
127
127
  interface HTMLElementTagNameMap extends CustomElementTags {
128
128
  }
129
+ interface window {
130
+ NekoUI: typeof normal;
131
+ }
132
+ const NekoUI: window['NekoUI'];
129
133
  }