@jamsrui/button 0.0.15 → 0.0.17
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 +16 -10
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import { B as ButtonRoot } from './button-BmD5-D8o.mjs';
|
|
3
2
|
import { ButtonConfig } from './button-config.mjs';
|
|
4
3
|
export { useButtonConfig } from './button-config.mjs';
|
|
4
|
+
export { ButtonContext } from './button-context.mjs';
|
|
5
5
|
import { ButtonLoading } from './button-loading.mjs';
|
|
6
|
+
export { ButtonVariantProps, buttonVariant } from './styles.mjs';
|
|
7
|
+
import 'react/jsx-runtime';
|
|
6
8
|
import '@jamsrui/utils';
|
|
7
|
-
import './styles.mjs';
|
|
8
9
|
import '@jamsrui/core';
|
|
10
|
+
import 'react';
|
|
9
11
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
interface Button {
|
|
13
|
+
(props: ButtonRoot.Props): React.ReactNode;
|
|
14
|
+
Loading: typeof ButtonLoading;
|
|
15
|
+
}
|
|
16
|
+
declare const Button: Button;
|
|
17
|
+
declare namespace Button {
|
|
18
|
+
interface Props extends ButtonRoot.Props {
|
|
19
|
+
}
|
|
20
|
+
interface Config extends ButtonConfig.Props {
|
|
21
|
+
}
|
|
22
|
+
}
|
|
17
23
|
|
|
18
|
-
export { Button, ButtonConfig };
|
|
24
|
+
export { Button, ButtonConfig, ButtonLoading };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ButtonRoot as o}from"./button.mjs";import{ButtonConfig as
|
|
1
|
+
import{ButtonRoot as o}from"./button.mjs";import{ButtonConfig as n,useButtonConfig as r}from"./button-config.mjs";import{ButtonContext as e}from"./button-context.mjs";import{ButtonLoading as t}from"./button-loading.mjs";import{buttonVariant as p}from"./styles.mjs";const m=Object.assign(o,{Loading:t});export{m as Button,n as ButtonConfig,e as ButtonContext,t as ButtonLoading,p as buttonVariant,r as useButtonConfig};
|