@dafaz-ui/react 4.0.7 → 4.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @dafaz-ui/react@4.0.7 build
2
+ > @dafaz-ui/react@4.0.8 build
3
3
  > tsup src/index.tsx --format esm,cjs --dts --external react
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -9,10 +9,10 @@
9
9
  ESM Build start
10
10
  CJS Build start
11
11
  ESM dist/index.mjs 19.61 KB
12
- ESM ⚡️ Build success in 51ms
12
+ ESM ⚡️ Build success in 48ms
13
13
  CJS dist/index.js 22.13 KB
14
- CJS ⚡️ Build success in 52ms
14
+ CJS ⚡️ Build success in 48ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 4624ms
17
- DTS dist/index.d.mts 103.69 KB
18
- DTS dist/index.d.ts 103.69 KB
16
+ DTS ⚡️ Build success in 4762ms
17
+ DTS dist/index.d.mts 103.71 KB
18
+ DTS dist/index.d.ts 103.71 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @dafaz-ui/react
2
2
 
3
+ ## 4.0.8
4
+
5
+ ### Patch Changes
6
+
7
+ - fix type button
8
+
3
9
  ## 4.0.7
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -448,6 +448,7 @@ interface ButtonUIProps extends ComponentProps<typeof ButtonUI> {
448
448
 
449
449
  interface ButtonProps {
450
450
  children: ReactNode;
451
+ type: string;
451
452
  }
452
453
  declare function Button({ children, variant, size, type, ...props }: ButtonUIProps & ButtonProps): react_jsx_runtime.JSX.Element;
453
454
  declare namespace Button {
package/dist/index.d.ts CHANGED
@@ -448,6 +448,7 @@ interface ButtonUIProps extends ComponentProps<typeof ButtonUI> {
448
448
 
449
449
  interface ButtonProps {
450
450
  children: ReactNode;
451
+ type: string;
451
452
  }
452
453
  declare function Button({ children, variant, size, type, ...props }: ButtonUIProps & ButtonProps): react_jsx_runtime.JSX.Element;
453
454
  declare namespace Button {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dafaz-ui/react",
3
- "version": "4.0.7",
3
+ "version": "4.0.8",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -3,6 +3,7 @@ import { ButtonUI, ButtonUIProps } from './styles'
3
3
 
4
4
  interface ButtonProps {
5
5
  children: ReactNode
6
+ type: string
6
7
  }
7
8
 
8
9
  export function Button({