@bigbinary/neeto-atoms 1.0.71 → 1.0.72

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.
@@ -6,9 +6,9 @@ require('react');
6
6
  require('react-i18next');
7
7
  require('react-colorful');
8
8
  require('../primitives/Button.js');
9
+ require('../utils-BhM0B89p.js');
9
10
  require('../button-CMl9rLXi.js');
10
11
  require('../index-vioSzJOw.js');
11
- require('../utils-BhM0B89p.js');
12
12
  require('../index-DuNgWCXZ.js');
13
13
  require('../index-D-iDn9RI.js');
14
14
  require('../primitives/Popover.js');
@@ -2,13 +2,24 @@
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
4
  var React = require('react');
5
+ var utils = require('../utils-BhM0B89p.js');
5
6
  var button = require('../button-CMl9rLXi.js');
6
7
  require('../index-vioSzJOw.js');
7
- require('../utils-BhM0B89p.js');
8
8
  require('../index-DuNgWCXZ.js');
9
9
  require('../index-D-iDn9RI.js');
10
10
 
11
- const Button = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(button.Button, { ref, ...props }));
11
+ const Button = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
12
+ button.Button,
13
+ {
14
+ ref,
15
+ className: utils.cn(
16
+ "cursor-pointer disabled:cursor-not-allowed",
17
+ "data-[variant=default]:hover:bg-primary/90",
18
+ className
19
+ ),
20
+ ...props
21
+ }
22
+ ));
12
23
  Button.displayName = "Button";
13
24
 
14
25
  exports.buttonVariants = button.buttonVariants;
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sources":["../../../src/primitives/Button.tsx"],"sourcesContent":["import { forwardRef, type ComponentProps } from \"react\";\nimport { Button as ShadcnButton } from \"src/shadcn/components/button\";\n\nconst Button = forwardRef<\n HTMLButtonElement,\n ComponentProps<typeof ShadcnButton>\n>((props, ref) => <ShadcnButton ref={ref} {...props} />);\n\nButton.displayName = \"Button\";\n\nexport { Button };\nexport { buttonVariants } from \"src/shadcn/components/button\";\n"],"names":["forwardRef","ShadcnButton"],"mappings":";;;;;;;;;;AAGA,MAAM,MAAA,GAASA,gBAAA,CAGb,CAAC,KAAA,EAAO,GAAA,oCAASC,aAAA,EAAA,EAAa,GAAA,EAAW,GAAG,KAAA,EAAO,CAAE;AAEvD,MAAA,CAAO,WAAA,GAAc,QAAA;;;;;"}
1
+ {"version":3,"file":"Button.js","sources":["../../../src/primitives/Button.tsx"],"sourcesContent":["import { forwardRef, type ComponentProps } from \"react\";\nimport { cn } from \"src/shadcn/lib/utils\";\nimport { Button as ShadcnButton } from \"src/shadcn/components/button\";\n\nconst Button = forwardRef<\n HTMLButtonElement,\n ComponentProps<typeof ShadcnButton>\n>(({ className, ...props }, ref) => (\n <ShadcnButton\n ref={ref}\n className={cn(\n \"cursor-pointer disabled:cursor-not-allowed\",\n \"data-[variant=default]:hover:bg-primary/90\",\n className\n )}\n {...props}\n />\n));\n\nButton.displayName = \"Button\";\n\nexport { Button };\nexport { buttonVariants } from \"src/shadcn/components/button\";\n"],"names":["forwardRef","jsx","ShadcnButton","cn"],"mappings":";;;;;;;;;;AAIA,MAAM,MAAA,GAASA,iBAGb,CAAC,EAAE,WAAW,GAAG,KAAA,IAAS,GAAA,qBAC1BC,cAAA;AAAA,EAACC,aAAA;AAAA,EAAA;AAAA,IACC,GAAA;AAAA,IACA,SAAA,EAAWC,QAAA;AAAA,MACT,4CAAA;AAAA,MACA,4CAAA;AAAA,MACA;AAAA,KACF;AAAA,IACC,GAAG;AAAA;AACN,CACD;AAED,MAAA,CAAO,WAAA,GAAc,QAAA;;;;;"}
@@ -4,9 +4,9 @@ import 'react';
4
4
  import 'react-i18next';
5
5
  import 'react-colorful';
6
6
  import '../primitives/Button.js';
7
+ import '../utils-BJnb9o5c.js';
7
8
  import '../button-CrEMzWKw.js';
8
9
  import '../index-Bo3AAQJp.js';
9
- import '../utils-BJnb9o5c.js';
10
10
  import '../index-CfriMyrd.js';
11
11
  import '../index-BtkPdosV.js';
12
12
  import '../primitives/Popover.js';
@@ -1,13 +1,24 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { forwardRef } from 'react';
3
+ import { c as cn } from '../utils-BJnb9o5c.js';
3
4
  import { B as Button$1 } from '../button-CrEMzWKw.js';
4
5
  export { b as buttonVariants } from '../button-CrEMzWKw.js';
5
6
  import '../index-Bo3AAQJp.js';
6
- import '../utils-BJnb9o5c.js';
7
7
  import '../index-CfriMyrd.js';
8
8
  import '../index-BtkPdosV.js';
9
9
 
10
- const Button = forwardRef((props, ref) => /* @__PURE__ */ jsx(Button$1, { ref, ...props }));
10
+ const Button = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
11
+ Button$1,
12
+ {
13
+ ref,
14
+ className: cn(
15
+ "cursor-pointer disabled:cursor-not-allowed",
16
+ "data-[variant=default]:hover:bg-primary/90",
17
+ className
18
+ ),
19
+ ...props
20
+ }
21
+ ));
11
22
  Button.displayName = "Button";
12
23
 
13
24
  export { Button };
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sources":["../../src/primitives/Button.tsx"],"sourcesContent":["import { forwardRef, type ComponentProps } from \"react\";\nimport { Button as ShadcnButton } from \"src/shadcn/components/button\";\n\nconst Button = forwardRef<\n HTMLButtonElement,\n ComponentProps<typeof ShadcnButton>\n>((props, ref) => <ShadcnButton ref={ref} {...props} />);\n\nButton.displayName = \"Button\";\n\nexport { Button };\nexport { buttonVariants } from \"src/shadcn/components/button\";\n"],"names":["ShadcnButton"],"mappings":";;;;;;;;;AAGA,MAAM,MAAA,GAAS,UAAA,CAGb,CAAC,KAAA,EAAO,GAAA,yBAASA,QAAA,EAAA,EAAa,GAAA,EAAW,GAAG,KAAA,EAAO,CAAE;AAEvD,MAAA,CAAO,WAAA,GAAc,QAAA;;;;"}
1
+ {"version":3,"file":"Button.js","sources":["../../src/primitives/Button.tsx"],"sourcesContent":["import { forwardRef, type ComponentProps } from \"react\";\nimport { cn } from \"src/shadcn/lib/utils\";\nimport { Button as ShadcnButton } from \"src/shadcn/components/button\";\n\nconst Button = forwardRef<\n HTMLButtonElement,\n ComponentProps<typeof ShadcnButton>\n>(({ className, ...props }, ref) => (\n <ShadcnButton\n ref={ref}\n className={cn(\n \"cursor-pointer disabled:cursor-not-allowed\",\n \"data-[variant=default]:hover:bg-primary/90\",\n className\n )}\n {...props}\n />\n));\n\nButton.displayName = \"Button\";\n\nexport { Button };\nexport { buttonVariants } from \"src/shadcn/components/button\";\n"],"names":["ShadcnButton"],"mappings":";;;;;;;;;AAIA,MAAM,MAAA,GAAS,WAGb,CAAC,EAAE,WAAW,GAAG,KAAA,IAAS,GAAA,qBAC1B,GAAA;AAAA,EAACA,QAAA;AAAA,EAAA;AAAA,IACC,GAAA;AAAA,IACA,SAAA,EAAW,EAAA;AAAA,MACT,4CAAA;AAAA,MACA,4CAAA;AAAA,MACA;AAAA,KACF;AAAA,IACC,GAAG;AAAA;AACN,CACD;AAED,MAAA,CAAO,WAAA,GAAc,QAAA;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-atoms",
3
- "version": "1.0.71",
3
+ "version": "1.0.72",
4
4
  "author": "BigBinary",
5
5
  "license": "MIT",
6
6
  "engines": {