@cagatayfdn/flora-components 0.0.157 → 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,4 +1,4 @@
1
- var t = /* @__PURE__ */ ((e) => (e.Applications = "applications", e.Attach = "attach", e.Attachment = "attachment", e.Billing = "billing", e.Box = "box", e.Calendar = "calendar", e.Cart = "cart", e.CaseSensitive = "case-sensitive", e.Certificate = "certificate", e.Check = "check", e.ChevronLeft = "chevron-left", e.ChevronRight = "chevron-right", e.CircleMinus = "circle-minus", e.CirclePlus = "circle-plus", e.Clock = "clock", e.CloseWindow = "close-window", e.Close = "close", e.Copy = "copy", e.CreditCard = "credit-card", e.Deployments = "deployments", e.Document = "document", e.DomainRegistration = "domain-registration", e.Domains = "domains", e.DownArrow = "down-arrow", e.DownSquare = "down-square", e.Down = "down", e.Download = "download", e.EditOutline = "edit-outline", e.Edit = "edit", e.Email = "email", e.Environment = "environment", e.ErrorFill = "error-fill", e.Error = "error", e.ExpandWindow = "expand-window", e.Expand = "expand", e.FileTextOutlined = "fileTextOutlined", e.Group = "group", e.Info = "info", e.Install = "install", e.Link = "link", e.Log = "log", e.MenuClose = "menu-close", e.MenuOpen = "menu-open", e.Monitoring = "monitoring", e.Network = "network", e.NoResults = "no-results", e.NotEdit = "not-edit", e.OrderDown = "order_down", e.OrderUp = "order_up", e.Out = "out", e.Path = "path", e.Plus = "plus", e.Preview = "preview", e.Profile = "profile", e.ProjectList = "project-list", e.Projects = "projects", e.Regex = "regex", e.Reload = "reload", e.Retry = "retry", e.Search = "search", e.Settings = "settings", e.Support = "support", e.Trash = "trash", e.Users = "users", e.Warning = "warning", e))(t || {});
1
+ var t = /* @__PURE__ */ ((e) => (e.Applications = "applications", e.Attach = "attach", e.Attachment = "attachment", e.Billing = "billing", e.Box = "box", e.Calendar = "calendar", e.Cart = "cart", e.CaseSensitive = "case-sensitive", e.Certificate = "certificate", e.Check = "check", e.ChevronLeft = "chevron-left", e.ChevronRight = "chevron-right", e.CircleMinus = "circle-minus", e.CirclePlus = "circle-plus", e.Clock = "clock", e.CloseWindow = "close-window", e.Close = "close", e.Copy = "copy", e.CreditCard = "credit-card", e.Deployments = "deployments", e.Document = "document", e.DomainRegistration = "domain-registration", e.Domains = "domains", e.DownArrow = "down-arrow", e.DownSquare = "down-square", e.Down = "down", e.Download = "download", e.EditOutline = "edit-outline", e.Edit = "edit", e.Email = "email", e.Environment = "environment", e.ErrorFill = "error-fill", e.Error = "error", e.ExpandWindow = "expand-window", e.Expand = "expand", e.FileTextOutlined = "fileTextOutlined", e.Group = "group", e.Info = "info", e.Install = "install", e.Link = "link", e.Log = "log", e.MenuClose = "menu-close", e.MenuOpen = "menu-open", e.Monitoring = "monitoring", e.Network = "network", e.NoResults = "no-results", e.NotEdit = "not-edit", e.OrderDown = "order_down", e.OrderUp = "order_up", e.Out = "out", e.Path = "path", e.Plus = "plus", e.Preview = "preview", e.Profile = "profile", e.ProjectList = "project-list", e.Projects = "projects", e.Regex = "regex", e.Reload = "reload", e.Retry = "retry", e.Search = "search", e.Settings = "settings", e.Share = "share", e.Support = "support", e.Trash = "trash", e.Users = "users", e.Warning = "warning", e))(t || {});
2
2
  const i = {
3
3
  applications: "61697",
4
4
  attach: "61698",
@@ -61,10 +61,11 @@ const i = {
61
61
  retry: "61755",
62
62
  search: "61756",
63
63
  settings: "61757",
64
- support: "61758",
65
- trash: "61759",
66
- users: "61760",
67
- warning: "61761"
64
+ share: "61758",
65
+ support: "61759",
66
+ trash: "61760",
67
+ users: "61761",
68
+ warning: "61762"
68
69
  };
69
70
  export {
70
71
  i as FLORA_ICONS_CODEPOINTS,
@@ -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
@@ -649,13 +649,14 @@ export declare enum FloraIcons {
649
649
  Retry = "retry",
650
650
  Search = "search",
651
651
  Settings = "settings",
652
+ Share = "share",
652
653
  Support = "support",
653
654
  Trash = "trash",
654
655
  Users = "users",
655
656
  Warning = "warning"
656
657
  }
657
658
 
658
- declare type FloraIconsId = 'applications' | 'attach' | 'attachment' | 'billing' | 'box' | 'calendar' | 'cart' | 'case-sensitive' | 'certificate' | 'check' | 'chevron-left' | 'chevron-right' | 'circle-minus' | 'circle-plus' | 'clock' | 'close-window' | 'close' | 'copy' | 'credit-card' | 'deployments' | 'document' | 'domain-registration' | 'domains' | 'down-arrow' | 'down-square' | 'down' | 'download' | 'edit-outline' | 'edit' | 'email' | 'environment' | 'error-fill' | 'error' | 'expand-window' | 'expand' | 'fileTextOutlined' | 'group' | 'info' | 'install' | 'link' | 'log' | 'menu-close' | 'menu-open' | 'monitoring' | 'network' | 'no-results' | 'not-edit' | 'order_down' | 'order_up' | 'out' | 'path' | 'plus' | 'preview' | 'profile' | 'project-list' | 'projects' | 'regex' | 'reload' | 'retry' | 'search' | 'settings' | 'support' | 'trash' | 'users' | 'warning';
659
+ declare type FloraIconsId = 'applications' | 'attach' | 'attachment' | 'billing' | 'box' | 'calendar' | 'cart' | 'case-sensitive' | 'certificate' | 'check' | 'chevron-left' | 'chevron-right' | 'circle-minus' | 'circle-plus' | 'clock' | 'close-window' | 'close' | 'copy' | 'credit-card' | 'deployments' | 'document' | 'domain-registration' | 'domains' | 'down-arrow' | 'down-square' | 'down' | 'download' | 'edit-outline' | 'edit' | 'email' | 'environment' | 'error-fill' | 'error' | 'expand-window' | 'expand' | 'fileTextOutlined' | 'group' | 'info' | 'install' | 'link' | 'log' | 'menu-close' | 'menu-open' | 'monitoring' | 'network' | 'no-results' | 'not-edit' | 'order_down' | 'order_up' | 'out' | 'path' | 'plus' | 'preview' | 'profile' | 'project-list' | 'projects' | 'regex' | 'reload' | 'retry' | 'search' | 'settings' | 'share' | 'support' | 'trash' | 'users' | 'warning';
659
660
 
660
661
  export { format }
661
662
 
@@ -729,12 +730,13 @@ export { i18n }
729
730
 
730
731
  export declare const Icon: (props: IconProps) => JSX.Element;
731
732
 
732
- export declare const IconBox: ({ icon, onClick, type }: IconBoxProps) => JSX_2.Element;
733
+ export declare const IconBox: ({ icon, onClick, type, className }: IconBoxProps) => JSX_2.Element;
733
734
 
734
735
  export declare type IconBoxProps = {
735
736
  icon: FloraIcons;
736
737
  onClick?: () => void;
737
738
  type?: "primary" | "secondary";
739
+ className?: string;
738
740
  };
739
741
 
740
742
  export declare type IconProps = {
@@ -1617,6 +1619,7 @@ export declare const TestIds: {
1617
1619
  readonly ICON_RETRY: "icon-retry";
1618
1620
  readonly ICON_SEARCH: "icon-search";
1619
1621
  readonly ICON_SETTINGS: "icon-settings";
1622
+ readonly ICON_SHARE: "icon-share";
1620
1623
  readonly ICON_SUPPORT: "icon-support";
1621
1624
  readonly ICON_TRASH: "icon-trash";
1622
1625
  readonly ICON_USERS: "icon-users";
package/dist/index.d.ts CHANGED
@@ -649,13 +649,14 @@ export declare enum FloraIcons {
649
649
  Retry = "retry",
650
650
  Search = "search",
651
651
  Settings = "settings",
652
+ Share = "share",
652
653
  Support = "support",
653
654
  Trash = "trash",
654
655
  Users = "users",
655
656
  Warning = "warning"
656
657
  }
657
658
 
658
- declare type FloraIconsId = 'applications' | 'attach' | 'attachment' | 'billing' | 'box' | 'calendar' | 'cart' | 'case-sensitive' | 'certificate' | 'check' | 'chevron-left' | 'chevron-right' | 'circle-minus' | 'circle-plus' | 'clock' | 'close-window' | 'close' | 'copy' | 'credit-card' | 'deployments' | 'document' | 'domain-registration' | 'domains' | 'down-arrow' | 'down-square' | 'down' | 'download' | 'edit-outline' | 'edit' | 'email' | 'environment' | 'error-fill' | 'error' | 'expand-window' | 'expand' | 'fileTextOutlined' | 'group' | 'info' | 'install' | 'link' | 'log' | 'menu-close' | 'menu-open' | 'monitoring' | 'network' | 'no-results' | 'not-edit' | 'order_down' | 'order_up' | 'out' | 'path' | 'plus' | 'preview' | 'profile' | 'project-list' | 'projects' | 'regex' | 'reload' | 'retry' | 'search' | 'settings' | 'support' | 'trash' | 'users' | 'warning';
659
+ declare type FloraIconsId = 'applications' | 'attach' | 'attachment' | 'billing' | 'box' | 'calendar' | 'cart' | 'case-sensitive' | 'certificate' | 'check' | 'chevron-left' | 'chevron-right' | 'circle-minus' | 'circle-plus' | 'clock' | 'close-window' | 'close' | 'copy' | 'credit-card' | 'deployments' | 'document' | 'domain-registration' | 'domains' | 'down-arrow' | 'down-square' | 'down' | 'download' | 'edit-outline' | 'edit' | 'email' | 'environment' | 'error-fill' | 'error' | 'expand-window' | 'expand' | 'fileTextOutlined' | 'group' | 'info' | 'install' | 'link' | 'log' | 'menu-close' | 'menu-open' | 'monitoring' | 'network' | 'no-results' | 'not-edit' | 'order_down' | 'order_up' | 'out' | 'path' | 'plus' | 'preview' | 'profile' | 'project-list' | 'projects' | 'regex' | 'reload' | 'retry' | 'search' | 'settings' | 'share' | 'support' | 'trash' | 'users' | 'warning';
659
660
 
660
661
  export { format }
661
662
 
@@ -729,12 +730,13 @@ export { i18n }
729
730
 
730
731
  export declare const Icon: (props: IconProps) => JSX.Element;
731
732
 
732
- export declare const IconBox: ({ icon, onClick, type }: IconBoxProps) => JSX_2.Element;
733
+ export declare const IconBox: ({ icon, onClick, type, className }: IconBoxProps) => JSX_2.Element;
733
734
 
734
735
  export declare type IconBoxProps = {
735
736
  icon: FloraIcons;
736
737
  onClick?: () => void;
737
738
  type?: "primary" | "secondary";
739
+ className?: string;
738
740
  };
739
741
 
740
742
  export declare type IconProps = {
@@ -1617,6 +1619,7 @@ export declare const TestIds: {
1617
1619
  readonly ICON_RETRY: "icon-retry";
1618
1620
  readonly ICON_SEARCH: "icon-search";
1619
1621
  readonly ICON_SETTINGS: "icon-settings";
1622
+ readonly ICON_SHARE: "icon-share";
1620
1623
  readonly ICON_SUPPORT: "icon-support";
1621
1624
  readonly ICON_TRASH: "icon-trash";
1622
1625
  readonly ICON_USERS: "icon-users";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cagatayfdn/flora-components",
3
- "version": "0.0.157",
3
+ "version": "0.0.159",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",