@brosco/ui 0.0.13 → 0.0.14

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/brosco-ui.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { Button as e } from "@base-ui/react/button";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
3
  //#region src/button/button.tsx
4
- var n = ({ children: n, qwerty: r, ...i }) => /* @__PURE__ */ t(e, {
5
- ...i,
6
- children: r || n
4
+ var n = ({ children: n, ...r }) => /* @__PURE__ */ t(e, {
5
+ ...r,
6
+ children: n
7
7
  });
8
8
  //#endregion
9
9
  export { n as Button };
@@ -1,2 +1,2 @@
1
- import type { Props } from "./button.types";
2
- export declare const Button: ({ children, qwerty, ...props }: Props) => import("react").JSX.Element;
1
+ import type { ButtonProps } from "./button.types";
2
+ export declare const Button: ({ children, ...props }: ButtonProps) => import("react").JSX.Element;
@@ -1,4 +1,6 @@
1
- import type { ButtonProps } from "@base-ui/react";
2
- export type Props = ButtonProps & {
3
- qwerty?: string;
1
+ import type { ButtonProps as BaseButtonProps } from "@base-ui/react";
2
+ import type { ReactNode } from "react";
3
+ export type ButtonProps = BaseButtonProps & {
4
+ icon?: ReactNode;
5
+ isPending?: boolean;
4
6
  };
@@ -1 +1,2 @@
1
1
  export * from "./button";
2
+ export * from "./button.types";
package/dist/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { Button } from "./button";
1
+ export * from "./button";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brosco/ui",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"