knight-ui 1.0.0 → 1.0.2

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
@@ -129,7 +129,7 @@ createRoot(document.getElementById("root")!).render(<App />);
129
129
  同时引入样式 Token(CSS 变量):
130
130
 
131
131
  ```tsx
132
- import "knight-ui/component/_tokens/tokens.css";
132
+ import "knight-ui/tokens.css";
133
133
  ```
134
134
 
135
135
  ## 主题定制
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { AbstractUI, type UIProps, type UIState } from "../../base";
3
- import type { ComponentSize, ButtonVariant, ButtonTheme } from "../_types";
3
+ import type { ComponentSize, ButtonVariant, ButtonTheme } from "../types";
4
4
  declare class ButtonGroup extends AbstractUI<ButtonGroupProps, UIState> {
5
5
  static displayName: string;
6
6
  protected OnRenderContent(): React.ReactElement;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { AbstractUI, type UIProps, type UIState } from "../../base";
3
- import type { ValidateStatus } from "../_types";
3
+ import type { ValidateStatus } from "../types";
4
4
  export interface AutoCompleteOption {
5
5
  value: string;
6
6
  label?: React.ReactNode;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { AbstractUI, type UIProps, type UIState } from "../../base";
3
- import type { ValidateStatus } from "../_types";
3
+ import type { ValidateStatus } from "../types";
4
4
  declare class TextArea extends AbstractUI<TextAreaProps, TextAreaState> {
5
5
  static displayName: string;
6
6
  private textareaRef;