@algorithm-shift/design-system 1.2.26 → 1.2.27
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.css +0 -3
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +6 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -119,18 +119,16 @@ import { jsx as jsx6 } from "react/jsx-runtime";
|
|
|
119
119
|
var ButtonComponent = ({
|
|
120
120
|
className,
|
|
121
121
|
style,
|
|
122
|
-
textContent = "Button"
|
|
122
|
+
textContent = "Button",
|
|
123
|
+
type = "button",
|
|
124
|
+
...props
|
|
123
125
|
}) => {
|
|
124
|
-
const classNames = cn(
|
|
125
|
-
"inline-flex items-center justify-center rounded-md px-4 py-2 text-sm font-medium",
|
|
126
|
-
"bg-[#000000] text-white transition-colors disabled:opacity-50",
|
|
127
|
-
className
|
|
128
|
-
);
|
|
129
126
|
return /* @__PURE__ */ jsx6(
|
|
130
127
|
Button,
|
|
131
128
|
{
|
|
132
|
-
|
|
133
|
-
|
|
129
|
+
...props,
|
|
130
|
+
type,
|
|
131
|
+
className,
|
|
134
132
|
style,
|
|
135
133
|
children: textContent
|
|
136
134
|
}
|