@bezdenegsvarkinet/ui-library 0.2.0 → 0.2.1

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.ts CHANGED
@@ -1,8 +1,14 @@
1
- import { Button } from './stories';
2
- import { Typography } from './stories';
1
+ import { Button } from './stories/button/button';
2
+ import { IButtonProps } from './stories/button/button';
3
+ import { ITypographyProps } from './stories/typography/typography';
4
+ import { Typography } from './stories/typography/typography';
3
5
 
4
6
  export { Button }
5
7
 
8
+ export { IButtonProps }
9
+
10
+ export { ITypographyProps }
11
+
6
12
  export { Typography }
7
13
 
8
14
  export { }
package/dist/index.js CHANGED
@@ -3247,17 +3247,17 @@ const Typography = ({ children, tag = "p", size, className, ...props }) => {
3247
3247
  const Tag = tag;
3248
3248
  return /* @__PURE__ */ jsxRuntime.jsx(Tag, { ...props, className: cn(typographyVariants({ size, className })), children });
3249
3249
  };
3250
+ const buttonBgs = {
3251
+ primary: "bg-blue-500 text-white hover:bg-blue-600",
3252
+ secondary: "bg-gray-200 text-gray-800 hover:bg-gray-300",
3253
+ outline: "bg-transparent border-2 border-blue-500 text-blue-500 hover:bg-blue-50"
3254
+ };
3250
3255
  const buttonSizes = {
3251
3256
  "32": "h-[32px]",
3252
3257
  "40": "h-[40px]",
3253
3258
  "48": "h-[48px]",
3254
3259
  "56": "h-[56px]"
3255
3260
  };
3256
- const buttonBgs = {
3257
- primary: "bg-blue-500 text-white hover:bg-blue-600",
3258
- secondary: "bg-gray-200 text-gray-800 hover:bg-gray-300",
3259
- outline: "bg-transparent border-2 border-blue-500 text-blue-500 hover:bg-blue-50"
3260
- };
3261
3261
  const buttonVariants = cva("transition-all duration-300 py-2 px-4 rounded-[8px] leading-[100%]", {
3262
3262
  variants: {
3263
3263
  bg: {