@jamsrui/button 0.0.7 → 0.0.8
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.
|
@@ -8,7 +8,7 @@ declare const useButton: (props: useButton.Props) => {
|
|
|
8
8
|
endContent: react.ReactNode;
|
|
9
9
|
isLoading: boolean | undefined;
|
|
10
10
|
spinner: react.ReactNode;
|
|
11
|
-
spinnerPlacement: "
|
|
11
|
+
spinnerPlacement: "end" | "start";
|
|
12
12
|
disableRipple: boolean | undefined;
|
|
13
13
|
};
|
|
14
14
|
declare namespace useButton {
|
package/dist/button-config.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as Button } from './button-
|
|
1
|
+
import { B as Button } from './button-Dm01AUgs.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import { GlobalConfigProps } from '@jamsrui/core';
|
|
4
4
|
import 'react';
|
|
@@ -7,8 +7,9 @@ import './styles.mjs';
|
|
|
7
7
|
import 'tailwind-variants';
|
|
8
8
|
|
|
9
9
|
declare const useButtonConfig: () => ButtonConfig.Props;
|
|
10
|
-
declare const ButtonConfig: (props: ButtonConfig.Props & {
|
|
10
|
+
declare const ButtonConfig: (props: Omit<Partial<ButtonConfig.Props>, "children"> & {
|
|
11
11
|
merge?: boolean;
|
|
12
|
+
children: React.ReactNode;
|
|
12
13
|
}) => react_jsx_runtime.JSX.Element;
|
|
13
14
|
declare namespace ButtonConfig {
|
|
14
15
|
interface Props extends Button.Props, GlobalConfigProps<Button.Props> {
|
package/dist/button.d.mts
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/use-button.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/button",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19",
|
|
6
6
|
"react-dom": ">=19"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@jamsrui/hooks": "^0.0.
|
|
9
|
+
"@jamsrui/hooks": "^0.0.8",
|
|
10
10
|
"@jamsrui/core": "^0.0.7",
|
|
11
|
-
"@jamsrui/utils": "^0.0.
|
|
11
|
+
"@jamsrui/utils": "^0.0.8"
|
|
12
12
|
},
|
|
13
13
|
"exports": {
|
|
14
14
|
".": {
|