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,4 +1,5 @@
1
1
  import { type BaseOption, type BasicConfig } from '../basic-config';
2
+ import type { CustomElement } from '..';
2
3
  export interface SegmentedProps {
3
4
  /** 自定义类名 */
4
5
  class?: string;
@@ -1,6 +1,6 @@
1
1
  import { type JSXElement } from 'solid-js';
2
2
  import { type DropdownMultipleProps, type DropdownProps } from '../dropdown';
3
- import type { MenuOption } from '..';
3
+ import type { CustomElement, MenuOption } from '..';
4
4
  declare function Select(props: SelectProps): import("solid-js").JSX.Element;
5
5
  /** 通用API */
6
6
  interface SelectBaseProps {
@@ -1,4 +1,5 @@
1
1
  import { type JSX } from 'solid-js';
2
+ import type { CustomElement } from '..';
2
3
  export interface SkeletonProps extends Omit<JSX.HTMLAttributes<HTMLDivElement>, 'title'> {
3
4
  /** 自定义样式表 */
4
5
  css?: string;
@@ -1,4 +1,5 @@
1
1
  import { type JSX } from 'solid-js';
2
+ import type { CustomElement } from '..';
2
3
  export interface SpinProps extends Omit<JSX.HTMLAttributes<HTMLDivElement>, 'onChange'> {
3
4
  /** 自定义样式表 */
4
5
  css?: string;
@@ -1,3 +1,4 @@
1
+ import type { CustomElement } from '..';
1
2
  export interface SwitchProps {
2
3
  /** 自定义类名 */
3
4
  class?: string;
@@ -1,5 +1,5 @@
1
1
  import { type JSXElement } from 'solid-js';
2
- import type { BasicConfig, PaginationProps } from '..';
2
+ import type { BasicConfig, CustomElement, PaginationProps } from '..';
3
3
  declare function Table(_: TableProps): import("solid-js").JSX.Element;
4
4
  /** API
5
5
  * @since 2.1.0
@@ -1,5 +1,5 @@
1
1
  import { type JSXElement } from 'solid-js';
2
- import type { BaseOption, BasicConfig } from '..';
2
+ import type { BaseOption, BasicConfig, CustomElement } from '..';
3
3
  export interface TabsProps {
4
4
  /** 自定义类名 */
5
5
  class?: string;
@@ -1,4 +1,5 @@
1
1
  import { type JSX, type JSXElement } from 'solid-js';
2
+ import type { CustomElement } from '..';
2
3
  export interface TagProps extends Omit<JSX.HTMLAttributes<HTMLSpanElement>, 'onChange'> {
3
4
  /** 自定义样式表 */
4
5
  css?: string;
@@ -1,6 +1,6 @@
1
1
  import { type JSXElement } from 'solid-js';
2
2
  import { type Schema } from '../from-schema';
3
- import type { BasicConfig } from '../index';
3
+ import type { BasicConfig, CustomElement } from '..';
4
4
  export interface TreeBaseProp {
5
5
  /** 自定义类名 */
6
6
  class?: string;
@@ -1,4 +1,5 @@
1
1
  import { type JSX } from 'solid-js';
2
+ import type { CustomElement } from '..';
2
3
  export interface TypographyProps extends Omit<JSX.HTMLAttributes<HTMLDivElement>, 'onChange'> {
3
4
  /** 自定义类名 */
4
5
  class?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neko-ui",
3
- "version": "2.3.1",
3
+ "version": "2.3.3",
4
4
  "description": "Web Components UI Libraries",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -36,21 +36,23 @@
36
36
  "ui libraries"
37
37
  ],
38
38
  "devDependencies": {
39
- "@commitlint/cli": "17.6.6",
40
- "@commitlint/config-conventional": "17.6.6",
41
- "@moneko/cli": "2.0.0-beta.18",
39
+ "@commitlint/cli": "17.7.1",
40
+ "@commitlint/config-conventional": "17.7.0",
41
+ "@moneko/cli": "2.0.2",
42
42
  "@moneko/common": "1.2.0",
43
- "@moneko/core": "3.0.0-beta.117",
43
+ "@moneko/core": "3.0.1",
44
44
  "@moneko/css": "1.0.5",
45
45
  "@moneko/postcss": "1.0.30",
46
- "@moneko/solid": "1.0.2",
46
+ "@moneko/solid": "1.1.0",
47
47
  "@solidjs/testing-library": "0.8.4",
48
48
  "@swc/jest": "0.2.27",
49
49
  "@testing-library/jest-dom": "5.17.0",
50
50
  "@types/jest": "29.5.3",
51
51
  "babel-loader": "9.1.3",
52
52
  "dayjs": "1.11.9",
53
- "eslint-config-neko": "1.1.2",
53
+ "eslint-config-neko": "2.0.0",
54
+ "eslint-plugin-mdx": "2.2.0",
55
+ "eslint-plugin-solid": "0.13.0",
54
56
  "husky": "8.0.3",
55
57
  "jest": "29.6.1",
56
58
  "jest-environment-jsdom": "29.6.1",
@@ -60,7 +62,7 @@
60
62
  "shadow-dom-testing-library": "1.11.0",
61
63
  "solid-element": "1.7.1",
62
64
  "solid-js": "1.7.11",
63
- "stylelint-config-moneko": "1.0.17",
65
+ "stylelint-config-moneko": "1.0.18",
64
66
  "ts-node": "10.9.1"
65
67
  },
66
68
  "files": [