@cagatayfdn/flora-components 0.0.161 → 0.0.163

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.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.Folder = "folder", 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.CheckWhite = "check-white", 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.Deactivate = "deactivate", 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.Folder = "folder", 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",
@@ -9,65 +9,67 @@ const i = {
9
9
  cart: "61703",
10
10
  "case-sensitive": "61704",
11
11
  certificate: "61705",
12
- check: "61706",
13
- "chevron-left": "61707",
14
- "chevron-right": "61708",
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
- folder: "61734",
41
- group: "61735",
42
- info: "61736",
43
- install: "61737",
44
- link: "61738",
45
- log: "61739",
46
- "menu-close": "61740",
47
- "menu-open": "61741",
48
- monitoring: "61742",
49
- network: "61743",
50
- "no-results": "61744",
51
- "not-edit": "61745",
52
- order_down: "61746",
53
- order_up: "61747",
54
- out: "61748",
55
- path: "61749",
56
- plus: "61750",
57
- preview: "61751",
58
- profile: "61752",
59
- "project-list": "61753",
60
- projects: "61754",
61
- regex: "61755",
62
- reload: "61756",
63
- retry: "61757",
64
- search: "61758",
65
- settings: "61759",
66
- share: "61760",
67
- support: "61761",
68
- trash: "61762",
69
- users: "61763",
70
- warning: "61764"
12
+ "check-white": "61706",
13
+ check: "61707",
14
+ "chevron-left": "61708",
15
+ "chevron-right": "61709",
16
+ "circle-check": "61710",
17
+ "circle-minus": "61711",
18
+ "circle-plus": "61712",
19
+ clock: "61713",
20
+ "close-window": "61714",
21
+ close: "61715",
22
+ copy: "61716",
23
+ "credit-card": "61717",
24
+ deactivate: "61718",
25
+ deployments: "61719",
26
+ document: "61720",
27
+ "domain-registration": "61721",
28
+ domains: "61722",
29
+ "down-arrow": "61723",
30
+ "down-square": "61724",
31
+ down: "61725",
32
+ download: "61726",
33
+ "edit-outline": "61727",
34
+ edit: "61728",
35
+ email: "61729",
36
+ environment: "61730",
37
+ "error-fill": "61731",
38
+ error: "61732",
39
+ "expand-window": "61733",
40
+ expand: "61734",
41
+ fileTextOutlined: "61735",
42
+ folder: "61736",
43
+ group: "61737",
44
+ info: "61738",
45
+ install: "61739",
46
+ link: "61740",
47
+ log: "61741",
48
+ "menu-close": "61742",
49
+ "menu-open": "61743",
50
+ monitoring: "61744",
51
+ network: "61745",
52
+ "no-results": "61746",
53
+ "not-edit": "61747",
54
+ order_down: "61748",
55
+ order_up: "61749",
56
+ out: "61750",
57
+ path: "61751",
58
+ plus: "61752",
59
+ preview: "61753",
60
+ profile: "61754",
61
+ "project-list": "61755",
62
+ projects: "61756",
63
+ regex: "61757",
64
+ reload: "61758",
65
+ retry: "61759",
66
+ search: "61760",
67
+ settings: "61761",
68
+ share: "61762",
69
+ support: "61763",
70
+ trash: "61764",
71
+ users: "61765",
72
+ warning: "61766"
71
73
  };
72
74
  export {
73
75
  i as FLORA_ICONS_CODEPOINTS,
@@ -1,13 +1,14 @@
1
1
  import { j as n } from "../../jsx-runtime-BcAkpsdy.js";
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,
2
+ import { c as t } from "../../index-BHf7G3IG.js";
3
+ import a from "../Icon/index.js";
4
+ import '../../IconBox.css';const x = "_iconBox_jz84k_2", e = "_iconBox__primary_jz84k_2", m = "_iconBox__secondary_jz84k_2", c = {
5
+ iconBox: x,
6
+ iconBox__primary: e,
7
7
  iconBox__secondary: m
8
- }, p = ({ icon: s, onClick: _, type: o = "secondary", className: r }) => /* @__PURE__ */ n.jsx("button", { className: i(c.iconBox, r, {
9
- [c[`iconBox__${o}`]]: o
10
- }), onClick: _, children: /* @__PURE__ */ n.jsx(x, { name: s }) });
8
+ }, j = ({ icon: s, onClick: _, isDisabled: r, type: o = "secondary", className: i }) => /* @__PURE__ */ n.jsx("button", { className: t(c.iconBox, i, {
9
+ [c[`iconBox__${o}`]]: o,
10
+ "pointer-events-none opacity-50": r
11
+ }), onClick: _, children: /* @__PURE__ */ n.jsx(a, { name: s }) });
11
12
  export {
12
- p as default
13
+ j as default
13
14
  };
package/dist/index.d.mts CHANGED
@@ -597,6 +597,7 @@ export declare enum FloraIcons {
597
597
  Cart = "cart",
598
598
  CaseSensitive = "case-sensitive",
599
599
  Certificate = "certificate",
600
+ CheckWhite = "check-white",
600
601
  Check = "check",
601
602
  ChevronLeft = "chevron-left",
602
603
  ChevronRight = "chevron-right",
@@ -608,6 +609,7 @@ export declare enum FloraIcons {
608
609
  Close = "close",
609
610
  Copy = "copy",
610
611
  CreditCard = "credit-card",
612
+ Deactivate = "deactivate",
611
613
  Deployments = "deployments",
612
614
  Document = "document",
613
615
  DomainRegistration = "domain-registration",
@@ -658,7 +660,7 @@ export declare enum FloraIcons {
658
660
  Warning = "warning"
659
661
  }
660
662
 
661
- 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' | 'folder' | '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';
663
+ declare type FloraIconsId = 'applications' | 'attach' | 'attachment' | 'billing' | 'box' | 'calendar' | 'cart' | 'case-sensitive' | 'certificate' | 'check-white' | 'check' | 'chevron-left' | 'chevron-right' | 'circle-check' | 'circle-minus' | 'circle-plus' | 'clock' | 'close-window' | 'close' | 'copy' | 'credit-card' | 'deactivate' | 'deployments' | 'document' | 'domain-registration' | 'domains' | 'down-arrow' | 'down-square' | 'down' | 'download' | 'edit-outline' | 'edit' | 'email' | 'environment' | 'error-fill' | 'error' | 'expand-window' | 'expand' | 'fileTextOutlined' | 'folder' | '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';
662
664
 
663
665
  export { format }
664
666
 
@@ -732,12 +734,13 @@ export { i18n }
732
734
 
733
735
  export declare const Icon: (props: IconProps) => JSX.Element;
734
736
 
735
- export declare const IconBox: ({ icon, onClick, type, className }: IconBoxProps) => JSX_2.Element;
737
+ export declare const IconBox: ({ icon, onClick, isDisabled, type, className }: IconBoxProps) => JSX_2.Element;
736
738
 
737
739
  export declare type IconBoxProps = {
738
740
  icon: FloraIcons;
739
741
  onClick?: () => void;
740
742
  type?: "primary" | "secondary";
743
+ isDisabled?: boolean;
741
744
  className?: string;
742
745
  };
743
746
 
@@ -1569,6 +1572,7 @@ export declare const TestIds: {
1569
1572
  readonly ICON_CART: "icon-cart";
1570
1573
  readonly "ICON_CASE-SENSITIVE": "icon-case-sensitive";
1571
1574
  readonly ICON_CERTIFICATE: "icon-certificate";
1575
+ readonly "ICON_CHECK-WHITE": "icon-check-white";
1572
1576
  readonly ICON_CHECK: "icon-check";
1573
1577
  readonly "ICON_CHEVRON-LEFT": "icon-chevron-left";
1574
1578
  readonly "ICON_CHEVRON-RIGHT": "icon-chevron-right";
@@ -1580,6 +1584,7 @@ export declare const TestIds: {
1580
1584
  readonly ICON_CLOSE: "icon-close";
1581
1585
  readonly ICON_COPY: "icon-copy";
1582
1586
  readonly "ICON_CREDIT-CARD": "icon-credit-card";
1587
+ readonly ICON_DEACTIVATE: "icon-deactivate";
1583
1588
  readonly ICON_DEPLOYMENTS: "icon-deployments";
1584
1589
  readonly ICON_DOCUMENT: "icon-document";
1585
1590
  readonly "ICON_DOMAIN-REGISTRATION": "icon-domain-registration";
package/dist/index.d.ts CHANGED
@@ -597,6 +597,7 @@ export declare enum FloraIcons {
597
597
  Cart = "cart",
598
598
  CaseSensitive = "case-sensitive",
599
599
  Certificate = "certificate",
600
+ CheckWhite = "check-white",
600
601
  Check = "check",
601
602
  ChevronLeft = "chevron-left",
602
603
  ChevronRight = "chevron-right",
@@ -608,6 +609,7 @@ export declare enum FloraIcons {
608
609
  Close = "close",
609
610
  Copy = "copy",
610
611
  CreditCard = "credit-card",
612
+ Deactivate = "deactivate",
611
613
  Deployments = "deployments",
612
614
  Document = "document",
613
615
  DomainRegistration = "domain-registration",
@@ -658,7 +660,7 @@ export declare enum FloraIcons {
658
660
  Warning = "warning"
659
661
  }
660
662
 
661
- 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' | 'folder' | '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';
663
+ declare type FloraIconsId = 'applications' | 'attach' | 'attachment' | 'billing' | 'box' | 'calendar' | 'cart' | 'case-sensitive' | 'certificate' | 'check-white' | 'check' | 'chevron-left' | 'chevron-right' | 'circle-check' | 'circle-minus' | 'circle-plus' | 'clock' | 'close-window' | 'close' | 'copy' | 'credit-card' | 'deactivate' | 'deployments' | 'document' | 'domain-registration' | 'domains' | 'down-arrow' | 'down-square' | 'down' | 'download' | 'edit-outline' | 'edit' | 'email' | 'environment' | 'error-fill' | 'error' | 'expand-window' | 'expand' | 'fileTextOutlined' | 'folder' | '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';
662
664
 
663
665
  export { format }
664
666
 
@@ -732,12 +734,13 @@ export { i18n }
732
734
 
733
735
  export declare const Icon: (props: IconProps) => JSX.Element;
734
736
 
735
- export declare const IconBox: ({ icon, onClick, type, className }: IconBoxProps) => JSX_2.Element;
737
+ export declare const IconBox: ({ icon, onClick, isDisabled, type, className }: IconBoxProps) => JSX_2.Element;
736
738
 
737
739
  export declare type IconBoxProps = {
738
740
  icon: FloraIcons;
739
741
  onClick?: () => void;
740
742
  type?: "primary" | "secondary";
743
+ isDisabled?: boolean;
741
744
  className?: string;
742
745
  };
743
746
 
@@ -1569,6 +1572,7 @@ export declare const TestIds: {
1569
1572
  readonly ICON_CART: "icon-cart";
1570
1573
  readonly "ICON_CASE-SENSITIVE": "icon-case-sensitive";
1571
1574
  readonly ICON_CERTIFICATE: "icon-certificate";
1575
+ readonly "ICON_CHECK-WHITE": "icon-check-white";
1572
1576
  readonly ICON_CHECK: "icon-check";
1573
1577
  readonly "ICON_CHEVRON-LEFT": "icon-chevron-left";
1574
1578
  readonly "ICON_CHEVRON-RIGHT": "icon-chevron-right";
@@ -1580,6 +1584,7 @@ export declare const TestIds: {
1580
1584
  readonly ICON_CLOSE: "icon-close";
1581
1585
  readonly ICON_COPY: "icon-copy";
1582
1586
  readonly "ICON_CREDIT-CARD": "icon-credit-card";
1587
+ readonly ICON_DEACTIVATE: "icon-deactivate";
1583
1588
  readonly ICON_DEPLOYMENTS: "icon-deployments";
1584
1589
  readonly ICON_DOCUMENT: "icon-document";
1585
1590
  readonly "ICON_DOMAIN-REGISTRATION": "icon-domain-registration";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cagatayfdn/flora-components",
3
- "version": "0.0.161",
3
+ "version": "0.0.163",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",