@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.
- package/dist/ReactToastify.css +1 -1
- package/dist/assets/icons/flora-icons.js +56 -55
- package/dist/components/IconBox/IconBox.js +9 -9
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/utils/date.js +264 -266
- package/package.json +1 -1
|
@@ -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-
|
|
16
|
-
"circle-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
close: "61713",
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"down-
|
|
28
|
-
down: "61722",
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
edit: "61725",
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
error: "61729",
|
|
36
|
-
|
|
37
|
-
expand: "61731",
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"menu-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
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
|
|
3
|
-
import
|
|
4
|
-
import '../../IconBox.css';const
|
|
5
|
-
iconBox:
|
|
6
|
-
iconBox__primary:
|
|
7
|
-
iconBox__secondary:
|
|
8
|
-
},
|
|
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(
|
|
10
|
+
}), onClick: _, children: /* @__PURE__ */ n.jsx(x, { name: s }) });
|
|
11
11
|
export {
|
|
12
|
-
|
|
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";
|