@cagatayfdn/flora-components 0.0.158 → 0.0.159

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.
@@ -1,13 +1,13 @@
1
1
  import { j as n } from "../../jsx-runtime-BcAkpsdy.js";
2
- import { c as r } from "../../index-BHf7G3IG.js";
3
- import i from "../Icon/index.js";
4
- import '../../IconBox.css';const x = "_iconBox_jz84k_2", a = "_iconBox__primary_jz84k_2", t = "_iconBox__secondary_jz84k_2", c = {
5
- iconBox: x,
6
- iconBox__primary: a,
7
- iconBox__secondary: t
8
- }, j = ({ icon: s, onClick: _, type: o = "secondary" }) => /* @__PURE__ */ n.jsx("button", { className: r(c.iconBox, {
2
+ import { c as i } from "../../index-BHf7G3IG.js";
3
+ import x from "../Icon/index.js";
4
+ import '../../IconBox.css';const a = "_iconBox_jz84k_2", t = "_iconBox__primary_jz84k_2", m = "_iconBox__secondary_jz84k_2", c = {
5
+ iconBox: a,
6
+ iconBox__primary: t,
7
+ iconBox__secondary: m
8
+ }, p = ({ icon: s, onClick: _, type: o = "secondary", className: r }) => /* @__PURE__ */ n.jsx("button", { className: i(c.iconBox, r, {
9
9
  [c[`iconBox__${o}`]]: o
10
- }), onClick: _, children: /* @__PURE__ */ n.jsx(i, { name: s }) });
10
+ }), onClick: _, children: /* @__PURE__ */ n.jsx(x, { name: s }) });
11
11
  export {
12
- j as default
12
+ p as default
13
13
  };
package/dist/index.d.mts CHANGED
@@ -730,12 +730,13 @@ export { i18n }
730
730
 
731
731
  export declare const Icon: (props: IconProps) => JSX.Element;
732
732
 
733
- export declare const IconBox: ({ icon, onClick, type }: IconBoxProps) => JSX_2.Element;
733
+ export declare const IconBox: ({ icon, onClick, type, className }: IconBoxProps) => JSX_2.Element;
734
734
 
735
735
  export declare type IconBoxProps = {
736
736
  icon: FloraIcons;
737
737
  onClick?: () => void;
738
738
  type?: "primary" | "secondary";
739
+ className?: string;
739
740
  };
740
741
 
741
742
  export declare type IconProps = {
package/dist/index.d.ts CHANGED
@@ -730,12 +730,13 @@ export { i18n }
730
730
 
731
731
  export declare const Icon: (props: IconProps) => JSX.Element;
732
732
 
733
- export declare const IconBox: ({ icon, onClick, type }: IconBoxProps) => JSX_2.Element;
733
+ export declare const IconBox: ({ icon, onClick, type, className }: IconBoxProps) => JSX_2.Element;
734
734
 
735
735
  export declare type IconBoxProps = {
736
736
  icon: FloraIcons;
737
737
  onClick?: () => void;
738
738
  type?: "primary" | "secondary";
739
+ className?: string;
739
740
  };
740
741
 
741
742
  export declare type IconProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cagatayfdn/flora-components",
3
- "version": "0.0.158",
3
+ "version": "0.0.159",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",