@cagatayfdn/flora-components 0.0.158 → 0.0.160

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.Share = "share", 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.CircleCheck = "circle-check", 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",
@@ -12,60 +12,61 @@ const i = {
12
12
  check: "61706",
13
13
  "chevron-left": "61707",
14
14
  "chevron-right": "61708",
15
- "circle-minus": "61709",
16
- "circle-plus": "61710",
17
- clock: "61711",
18
- "close-window": "61712",
19
- close: "61713",
20
- copy: "61714",
21
- "credit-card": "61715",
22
- deployments: "61716",
23
- document: "61717",
24
- "domain-registration": "61718",
25
- domains: "61719",
26
- "down-arrow": "61720",
27
- "down-square": "61721",
28
- down: "61722",
29
- download: "61723",
30
- "edit-outline": "61724",
31
- edit: "61725",
32
- email: "61726",
33
- environment: "61727",
34
- "error-fill": "61728",
35
- error: "61729",
36
- "expand-window": "61730",
37
- expand: "61731",
38
- fileTextOutlined: "61732",
39
- group: "61733",
40
- info: "61734",
41
- install: "61735",
42
- link: "61736",
43
- log: "61737",
44
- "menu-close": "61738",
45
- "menu-open": "61739",
46
- monitoring: "61740",
47
- network: "61741",
48
- "no-results": "61742",
49
- "not-edit": "61743",
50
- order_down: "61744",
51
- order_up: "61745",
52
- out: "61746",
53
- path: "61747",
54
- plus: "61748",
55
- preview: "61749",
56
- profile: "61750",
57
- "project-list": "61751",
58
- projects: "61752",
59
- regex: "61753",
60
- reload: "61754",
61
- retry: "61755",
62
- search: "61756",
63
- settings: "61757",
64
- share: "61758",
65
- support: "61759",
66
- trash: "61760",
67
- users: "61761",
68
- warning: "61762"
15
+ "circle-check": "61709",
16
+ "circle-minus": "61710",
17
+ "circle-plus": "61711",
18
+ clock: "61712",
19
+ "close-window": "61713",
20
+ close: "61714",
21
+ copy: "61715",
22
+ "credit-card": "61716",
23
+ deployments: "61717",
24
+ document: "61718",
25
+ "domain-registration": "61719",
26
+ domains: "61720",
27
+ "down-arrow": "61721",
28
+ "down-square": "61722",
29
+ down: "61723",
30
+ download: "61724",
31
+ "edit-outline": "61725",
32
+ edit: "61726",
33
+ email: "61727",
34
+ environment: "61728",
35
+ "error-fill": "61729",
36
+ error: "61730",
37
+ "expand-window": "61731",
38
+ expand: "61732",
39
+ fileTextOutlined: "61733",
40
+ group: "61734",
41
+ info: "61735",
42
+ install: "61736",
43
+ link: "61737",
44
+ log: "61738",
45
+ "menu-close": "61739",
46
+ "menu-open": "61740",
47
+ monitoring: "61741",
48
+ network: "61742",
49
+ "no-results": "61743",
50
+ "not-edit": "61744",
51
+ order_down: "61745",
52
+ order_up: "61746",
53
+ out: "61747",
54
+ path: "61748",
55
+ plus: "61749",
56
+ preview: "61750",
57
+ profile: "61751",
58
+ "project-list": "61752",
59
+ projects: "61753",
60
+ regex: "61754",
61
+ reload: "61755",
62
+ retry: "61756",
63
+ search: "61757",
64
+ settings: "61758",
65
+ share: "61759",
66
+ support: "61760",
67
+ trash: "61761",
68
+ users: "61762",
69
+ warning: "61763"
69
70
  };
70
71
  export {
71
72
  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
@@ -600,6 +600,7 @@ export declare enum FloraIcons {
600
600
  Check = "check",
601
601
  ChevronLeft = "chevron-left",
602
602
  ChevronRight = "chevron-right",
603
+ CircleCheck = "circle-check",
603
604
  CircleMinus = "circle-minus",
604
605
  CirclePlus = "circle-plus",
605
606
  Clock = "clock",
@@ -656,7 +657,7 @@ export declare enum FloraIcons {
656
657
  Warning = "warning"
657
658
  }
658
659
 
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';
660
+ declare type FloraIconsId = 'applications' | 'attach' | 'attachment' | 'billing' | 'box' | 'calendar' | 'cart' | 'case-sensitive' | 'certificate' | 'check' | 'chevron-left' | 'chevron-right' | 'circle-check' | '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';
660
661
 
661
662
  export { format }
662
663
 
@@ -730,12 +731,13 @@ export { i18n }
730
731
 
731
732
  export declare const Icon: (props: IconProps) => JSX.Element;
732
733
 
733
- export declare const IconBox: ({ icon, onClick, type }: IconBoxProps) => JSX_2.Element;
734
+ export declare const IconBox: ({ icon, onClick, type, className }: IconBoxProps) => JSX_2.Element;
734
735
 
735
736
  export declare type IconBoxProps = {
736
737
  icon: FloraIcons;
737
738
  onClick?: () => void;
738
739
  type?: "primary" | "secondary";
740
+ className?: string;
739
741
  };
740
742
 
741
743
  export declare type IconProps = {
@@ -1569,6 +1571,7 @@ export declare const TestIds: {
1569
1571
  readonly ICON_CHECK: "icon-check";
1570
1572
  readonly "ICON_CHEVRON-LEFT": "icon-chevron-left";
1571
1573
  readonly "ICON_CHEVRON-RIGHT": "icon-chevron-right";
1574
+ readonly "ICON_CIRCLE-CHECK": "icon-circle-check";
1572
1575
  readonly "ICON_CIRCLE-MINUS": "icon-circle-minus";
1573
1576
  readonly "ICON_CIRCLE-PLUS": "icon-circle-plus";
1574
1577
  readonly ICON_CLOCK: "icon-clock";
package/dist/index.d.ts CHANGED
@@ -600,6 +600,7 @@ export declare enum FloraIcons {
600
600
  Check = "check",
601
601
  ChevronLeft = "chevron-left",
602
602
  ChevronRight = "chevron-right",
603
+ CircleCheck = "circle-check",
603
604
  CircleMinus = "circle-minus",
604
605
  CirclePlus = "circle-plus",
605
606
  Clock = "clock",
@@ -656,7 +657,7 @@ export declare enum FloraIcons {
656
657
  Warning = "warning"
657
658
  }
658
659
 
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';
660
+ declare type FloraIconsId = 'applications' | 'attach' | 'attachment' | 'billing' | 'box' | 'calendar' | 'cart' | 'case-sensitive' | 'certificate' | 'check' | 'chevron-left' | 'chevron-right' | 'circle-check' | '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';
660
661
 
661
662
  export { format }
662
663
 
@@ -730,12 +731,13 @@ export { i18n }
730
731
 
731
732
  export declare const Icon: (props: IconProps) => JSX.Element;
732
733
 
733
- export declare const IconBox: ({ icon, onClick, type }: IconBoxProps) => JSX_2.Element;
734
+ export declare const IconBox: ({ icon, onClick, type, className }: IconBoxProps) => JSX_2.Element;
734
735
 
735
736
  export declare type IconBoxProps = {
736
737
  icon: FloraIcons;
737
738
  onClick?: () => void;
738
739
  type?: "primary" | "secondary";
740
+ className?: string;
739
741
  };
740
742
 
741
743
  export declare type IconProps = {
@@ -1569,6 +1571,7 @@ export declare const TestIds: {
1569
1571
  readonly ICON_CHECK: "icon-check";
1570
1572
  readonly "ICON_CHEVRON-LEFT": "icon-chevron-left";
1571
1573
  readonly "ICON_CHEVRON-RIGHT": "icon-chevron-right";
1574
+ readonly "ICON_CIRCLE-CHECK": "icon-circle-check";
1572
1575
  readonly "ICON_CIRCLE-MINUS": "icon-circle-minus";
1573
1576
  readonly "ICON_CIRCLE-PLUS": "icon-circle-plus";
1574
1577
  readonly ICON_CLOCK: "icon-clock";