admin-panel-ui-components 0.1.4 → 0.1.5

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/Button.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import "./index.css";
2
3
  interface ButtonProps {
3
4
  children: React.ReactNode;
4
5
  variant?: "primary" | "secondary";
package/dist/Button.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { twMerge } from "tailwind-merge";
3
+ import "./index.css";
3
4
  var Button = function (_a) {
4
5
  var children = _a.children, _b = _a.variant, variant = _b === void 0 ? "primary" : _b, onClick = _a.onClick, className = _a.className;
5
6
  var baseClasses = "text-base font-semibold rounded-lg transition px-6 py-3";
@@ -0,0 +1,7 @@
1
+ @import "tailwindcss";
2
+
3
+ @source inline(
4
+ "text-base font-semibold rounded-lg transition px-6 py-3",
5
+ "bg-blue-600 text-white hover:bg-blue-700",
6
+ "bg-gray-600 text-white hover:bg-gray-700"
7
+ );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "admin-panel-ui-components",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/Button.tsx CHANGED
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
2
  import { twMerge } from "tailwind-merge";
3
+ import "./index.css";
3
4
 
4
5
  interface ButtonProps {
5
6
  children: React.ReactNode;
package/src/styles.css ADDED
@@ -0,0 +1,7 @@
1
+ @import "tailwindcss";
2
+
3
+ @source inline(
4
+ "text-base font-semibold rounded-lg transition px-6 py-3",
5
+ "bg-blue-600 text-white hover:bg-blue-700",
6
+ "bg-gray-600 text-white hover:bg-gray-700"
7
+ );