neko-ui 2.3.1 → 2.3.3

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.
@@ -1,5 +1,5 @@
1
1
  import { type JSXElement } from 'solid-js';
2
- import type { BasicConfig } from '../index';
2
+ import type { BasicConfig, CustomElement } from '..';
3
3
  export interface InputProps {
4
4
  /** 自定义类名 */
5
5
  class?: string;
@@ -1,4 +1,5 @@
1
1
  import { type InputProps } from '../input';
2
+ import type { CustomElement } from '..';
2
3
  /** API
3
4
  * @since 2.0.0
4
5
  */
package/lib/md/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { type JSX } from 'solid-js';
2
2
  import '../code';
3
3
  import '../img';
4
+ import type { CustomElement } from '..';
4
5
  declare function MD(_props: MdProps): JSX.Element;
5
6
  export interface MdProps extends JSX.HTMLAttributes<HTMLDivElement> {
6
7
  /** 自定义类名 */
@@ -1,5 +1,6 @@
1
1
  import { type JSXElement } from 'solid-js';
2
2
  import { type BaseOption, type BasicConfig } from '../basic-config';
3
+ import type { CustomElement } from '..';
3
4
  declare function Menu(props: MenuProps | MenuMultipleProps): import("solid-js").JSX.Element;
4
5
  export interface BaseMenuProps {
5
6
  /** 自定义类名 */
@@ -1,5 +1,5 @@
1
1
  import { type JSXElement } from 'solid-js';
2
- import type { BasicConfig } from '..';
2
+ import type { BasicConfig, CustomElement } from '..';
3
3
  declare function Pagination(_: PaginationProps): import("solid-js").JSX.Element;
4
4
  /** API */
5
5
  export interface PaginationProps {
@@ -1,5 +1,5 @@
1
1
  import { type JSX, type JSXElement } from 'solid-js';
2
- import type { BasicConfig } from '..';
2
+ import type { BasicConfig, CustomElement } from '..';
3
3
  export interface PopoverProps extends Omit<JSX.HTMLAttributes<HTMLDivElement>, 'onChange'> {
4
4
  /** 自定义类名 */
5
5
  class?: string;
@@ -1,5 +1,6 @@
1
1
  import { type JSXElement } from 'solid-js';
2
2
  import { ColorScheme } from '../theme';
3
+ import type { CustomElement } from '..';
3
4
  declare function Provider(props: ProviderProps): import("solid-js").JSX.Element;
4
5
  export interface ProviderProps {
5
6
  /** 包裹的子项 */
@@ -1,4 +1,5 @@
1
1
  import { type BaseOption, type BasicConfig } from '../basic-config';
2
+ import type { CustomElement } from '..';
2
3
  export interface RadioOption extends Omit<BaseOption, 'icon'> {
3
4
  /** 值 */
4
5
  value?: string;