@woobee/ui 0.2.0 → 0.2.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/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +271 -175
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +197 -101
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -15,8 +15,9 @@ interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'typ
|
|
|
15
15
|
leftIcon?: ReactNode;
|
|
16
16
|
rightIcon?: ReactNode;
|
|
17
17
|
compact?: boolean;
|
|
18
|
+
darkMode?: boolean;
|
|
18
19
|
}
|
|
19
|
-
declare function Button({ children, onClick, placeholder, variant, size, className, type, loading, disabled, leftIcon, rightIcon, compact, ...props }: ButtonProps): React.JSX.Element;
|
|
20
|
+
declare function Button({ children, onClick, placeholder, variant, size, className, type, loading, disabled, leftIcon, rightIcon, compact, darkMode, ...props }: ButtonProps): React.JSX.Element;
|
|
20
21
|
|
|
21
22
|
type TagSize = 'small' | 'medium';
|
|
22
23
|
interface TagProps {
|
package/dist/index.d.ts
CHANGED
|
@@ -15,8 +15,9 @@ interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'typ
|
|
|
15
15
|
leftIcon?: ReactNode;
|
|
16
16
|
rightIcon?: ReactNode;
|
|
17
17
|
compact?: boolean;
|
|
18
|
+
darkMode?: boolean;
|
|
18
19
|
}
|
|
19
|
-
declare function Button({ children, onClick, placeholder, variant, size, className, type, loading, disabled, leftIcon, rightIcon, compact, ...props }: ButtonProps): React.JSX.Element;
|
|
20
|
+
declare function Button({ children, onClick, placeholder, variant, size, className, type, loading, disabled, leftIcon, rightIcon, compact, darkMode, ...props }: ButtonProps): React.JSX.Element;
|
|
20
21
|
|
|
21
22
|
type TagSize = 'small' | 'medium';
|
|
22
23
|
interface TagProps {
|