@cagatayfdn/flora-components 0.0.78 → 0.0.80

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,14 +1,14 @@
1
1
  import { j as e } from "./jsx-runtime-BcAkpsdy.js";
2
2
  import { useState as x, useEffect as G } from "react";
3
3
  import { c as m } from "./index-BHf7G3IG.js";
4
- import { FormFieldAppearance as b, AppearanceButton as R } from "./enums/appearance.js";
4
+ import { FormFieldAppearance as w, AppearanceButton as R } from "./enums/appearance.js";
5
5
  import P from "./components/Button/Button.js";
6
6
  import L from "./components/Heading/Heading.js";
7
7
  import k from "./components/Pager/Pager.js";
8
- import { S as f } from "./Select-DcLZCXNo.js";
8
+ import { S as b } from "./Select-DcLZCXNo.js";
9
9
  import { u as z } from "./useTranslation-CnCPcxVj.js";
10
10
  import { T as F } from "./Trans-B4ILpbwK.js";
11
- import './TableHeader.css';const B = "_wrapper_1n4i1_1", D = "_header_1n4i1_4", S = "_title_1n4i1_7", K = "_subTitle_1n4i1_13", M = "_table_1n4i1_18", Y = "_fixed_1n4i1_24", q = "_light_1n4i1_50", C = "_fixedHeader_1n4i1_55", J = "_dark_1n4i1_65", Q = "_tableWrap_1n4i1_68", U = "_actionWrap_1n4i1_113", V = "_tableLoading_1n4i1_117", X = "_selectedAction_1n4i1_127", Z = "_rightGroup_1n4i1_134", $ = "_pageSizeWrap_1n4i1_138", I = "_pager_1n4i1_148", O = "_size_1n4i1_152", ee = "_noResult_1n4i1_156", se = "_scrollWrap_1n4i1_165", te = "_justifyContentEnd_1n4i1_169", ae = "_width100_1n4i1_173", s = {
11
+ import './TableHeader.css';const B = "_wrapper_1tluw_1", D = "_header_1tluw_4", S = "_title_1tluw_7", K = "_subTitle_1tluw_13", M = "_table_1tluw_18", Y = "_fixed_1tluw_24", q = "_light_1tluw_50", C = "_fixedHeader_1tluw_55", J = "_dark_1tluw_65", Q = "_tableWrap_1tluw_71", U = "_actionWrap_1tluw_116", V = "_tableLoading_1tluw_120", X = "_selectedAction_1tluw_130", Z = "_rightGroup_1tluw_137", $ = "_pageSizeWrap_1tluw_141", I = "_pager_1tluw_151", O = "_size_1tluw_155", ee = "_noResult_1tluw_159", te = "_scrollWrap_1tluw_168", se = "_justifyContentEnd_1tluw_172", ae = "_width100_1tluw_176", t = {
12
12
  wrapper: B,
13
13
  header: D,
14
14
  title: S,
@@ -27,56 +27,56 @@ import './TableHeader.css';const B = "_wrapper_1n4i1_1", D = "_header_1n4i1_4",
27
27
  pager: I,
28
28
  size: O,
29
29
  noResult: ee,
30
- scrollWrap: se,
31
- justifyContentEnd: te,
30
+ scrollWrap: te,
31
+ justifyContentEnd: se,
32
32
  width100: ae
33
- }, ne = [
33
+ }, le = [
34
34
  { value: "10", label: "10" },
35
35
  { value: "20", label: "20" },
36
36
  { value: "50", label: "50" },
37
37
  { value: "100", label: "100" },
38
38
  { value: "250", label: "250" }
39
39
  ], me = ({
40
- totalCount: l = 0,
41
- currentPage: h,
42
- title: n,
43
- actionOnChange: i,
44
- className: j,
45
- pagerOnChange: g,
40
+ totalCount: i = 0,
41
+ currentPage: f,
42
+ title: l,
43
+ actionOnChange: r,
44
+ className: h,
45
+ pagerOnChange: j,
46
46
  pageSizeOnChange: d,
47
- pagerVisible: v = !0,
48
- pageSizeVisible: W = !0,
47
+ pagerVisible: g = !0,
48
+ pageSizeVisible: v = !0,
49
49
  pageSize: a = 10,
50
50
  actionItems: o,
51
- pageSizeItems: T = ne,
52
- headerLeftItem: r,
51
+ pageSizeItems: W = le,
52
+ headerLeftItem: n,
53
53
  customItem: c,
54
- appearance: w,
54
+ appearance: T,
55
55
  showItemsText: N
56
56
  }) => {
57
- const { t: _ } = z(), [y, p] = x(!0), [A, u] = x({
57
+ const { t: _ } = z(), [y, u] = x(!0), [A, p] = x({
58
58
  label: a,
59
59
  value: a
60
- }), H = (t) => [
61
- { value: "exportexel", label: t("text.excel_export") }
62
- ], E = (t) => {
63
- p(!t), i && i(t);
60
+ }), H = (s) => [
61
+ { value: "exportexel", label: s("text.excel_export") }
62
+ ], E = (s) => {
63
+ u(!s), r && r(s);
64
64
  };
65
65
  return o = o || H(_), G(() => {
66
- u({ label: a, value: a });
66
+ p({ label: a, value: a });
67
67
  }, [a]), /* @__PURE__ */ e.jsxs(
68
68
  "div",
69
69
  {
70
70
  "data-testid": "tableheader-container",
71
- className: m(s.header, j, {
72
- "d-flex justify-content-between": n && !i || c,
73
- "d-flex justify-content-end": !n && !i
71
+ className: m(t.header, h, {
72
+ "d-flex justify-content-between": l && !r || c,
73
+ "d-flex justify-content-end": !l && !r
74
74
  }),
75
75
  children: [
76
- n && /* @__PURE__ */ e.jsxs("div", { children: [
77
- /* @__PURE__ */ e.jsx(L, { className: s.title, children: n }),
78
- /* @__PURE__ */ e.jsxs("p", { className: s.subTitle, children: [
79
- l,
76
+ l && /* @__PURE__ */ e.jsxs("div", { children: [
77
+ /* @__PURE__ */ e.jsx(L, { className: t.title, children: l }),
78
+ /* @__PURE__ */ e.jsxs("p", { className: t.subTitle, children: [
79
+ i,
80
80
  " ",
81
81
  _("text.results_listing")
82
82
  ] })
@@ -85,18 +85,18 @@ import './TableHeader.css';const B = "_wrapper_1n4i1_1", D = "_header_1n4i1_4",
85
85
  /* @__PURE__ */ e.jsx(
86
86
  "div",
87
87
  {
88
- className: m(s.actionWrap, {
89
- [s.justifyContentEnd]: !r,
90
- [s.width100]: r
88
+ className: m(t.actionWrap, {
89
+ [t.justifyContentEnd]: !n,
90
+ [t.width100]: n
91
91
  }),
92
92
  children: /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
93
- i && /* @__PURE__ */ e.jsxs("div", { className: s.selectedAction, children: [
93
+ r && /* @__PURE__ */ e.jsxs("div", { className: t.selectedAction, children: [
94
94
  /* @__PURE__ */ e.jsx(
95
- f,
95
+ b,
96
96
  {
97
97
  name: "action",
98
98
  items: o,
99
- appearance: b.LIGHT,
99
+ appearance: w.LIGHT,
100
100
  onChange: E
101
101
  }
102
102
  ),
@@ -109,40 +109,40 @@ import './TableHeader.css';const B = "_wrapper_1n4i1_1", D = "_header_1n4i1_4",
109
109
  }
110
110
  )
111
111
  ] }),
112
- r && r,
113
- /* @__PURE__ */ e.jsxs("div", { className: s.rightGroup, children: [
114
- W && /* @__PURE__ */ e.jsxs("div", { className: s.pageSizeWrap, children: [
112
+ n && n,
113
+ /* @__PURE__ */ e.jsxs("div", { className: t.rightGroup, children: [
114
+ v && /* @__PURE__ */ e.jsxs("div", { className: t.pageSizeWrap, children: [
115
115
  /* @__PURE__ */ e.jsx(
116
- f,
116
+ b,
117
117
  {
118
118
  name: "action",
119
119
  value: A,
120
- items: T,
121
- className: s.size,
120
+ items: W,
121
+ className: t.size,
122
122
  showPlaceholder: !1,
123
- onAddItem: ({ item: t }) => {
124
- u(t), d && d(t.value);
123
+ onAddItem: ({ item: s }) => {
124
+ p(s), d && d(s.value);
125
125
  },
126
- appearance: b.LIGHT
126
+ appearance: w.LIGHT
127
127
  }
128
128
  ),
129
129
  /* @__PURE__ */ e.jsx("span", { children: /* @__PURE__ */ e.jsx(
130
130
  F,
131
131
  {
132
132
  i18nKey: "text.show",
133
- values: { title: N || n }
133
+ values: { title: N || l }
134
134
  }
135
135
  ) })
136
136
  ] }),
137
- v && l > 0 && /* @__PURE__ */ e.jsx(
137
+ g && i > 0 && /* @__PURE__ */ e.jsx(
138
138
  k,
139
139
  {
140
- currentPage: h,
140
+ currentPage: f,
141
141
  pageSize: a,
142
- totalCount: l,
143
- onChange: g,
144
- appearance: w,
145
- className: s.pager
142
+ totalCount: i,
143
+ onChange: j,
144
+ appearance: T,
145
+ className: t.pager
146
146
  }
147
147
  )
148
148
  ] })
@@ -155,5 +155,5 @@ import './TableHeader.css';const B = "_wrapper_1n4i1_1", D = "_header_1n4i1_4",
155
155
  };
156
156
  export {
157
157
  me as T,
158
- s
158
+ t as s
159
159
  };
@@ -1 +1 @@
1
- ._wrapper_1n4i1_1{position:relative}._wrapper_1n4i1_1 ._header_1n4i1_4{padding:20px}._wrapper_1n4i1_1 ._header_1n4i1_4 ._title_1n4i1_7{font-size:18px;font-weight:500;color:#062a4a;margin:0}._wrapper_1n4i1_1 ._header_1n4i1_4 ._subTitle_1n4i1_13{margin:0;font-weight:400;color:#788195}._wrapper_1n4i1_1 ._table_1n4i1_18{width:100%;text-align:left;border-spacing:0px;border-collapse:collapse}._wrapper_1n4i1_1 ._table_1n4i1_18._fixed_1n4i1_24{position:relative}._wrapper_1n4i1_1 ._table_1n4i1_18._fixed_1n4i1_24 th{position:sticky;box-shadow:0 2px 2px -1px #00000080;top:0;background:#333b57;z-index:999}._wrapper_1n4i1_1 ._table_1n4i1_18 thead{background-color:#f1f3f9}._wrapper_1n4i1_1 ._table_1n4i1_18 td,._wrapper_1n4i1_1 ._table_1n4i1_18 th{padding:10px 20px;border:1px solid #eef0f2;color:#3f4b5c}._wrapper_1n4i1_1 ._table_1n4i1_18 th{font-weight:500;font-size:12px}._wrapper_1n4i1_1 ._table_1n4i1_18 td{font-weight:400}._wrapper_1n4i1_1._light_1n4i1_50{background-color:#fff;color:#000;border-radius:10px}._wrapper_1n4i1_1._light_1n4i1_50 ._table_1n4i1_18._fixedHeader_1n4i1_55 th{top:0;background:#fff}._wrapper_1n4i1_1._light_1n4i1_50 ._table_1n4i1_18 tbody td{padding:20px}._wrapper_1n4i1_1._light_1n4i1_50 ._table_1n4i1_18 tbody tr:nth-child(2n) td{background-color:#fdfdfd}._wrapper_1n4i1_1._dark_1n4i1_65 ._header_1n4i1_4{padding:20px 12px}._wrapper_1n4i1_1._dark_1n4i1_65>._tableWrap_1n4i1_68{position:relative;border-radius:10px;box-shadow:0 2px 4px #0003;background-color:#333b57;padding:30px;height:100%}._wrapper_1n4i1_1._dark_1n4i1_65 ._table_1n4i1_18 thead{background:none}._wrapper_1n4i1_1._dark_1n4i1_65 ._table_1n4i1_18 thead th{border:none}._wrapper_1n4i1_1._dark_1n4i1_65 ._table_1n4i1_18 td,._wrapper_1n4i1_1._dark_1n4i1_65 ._table_1n4i1_18 th{border:none;color:#3f4b5c}._wrapper_1n4i1_1._dark_1n4i1_65 ._table_1n4i1_18 td:first-child,._wrapper_1n4i1_1._dark_1n4i1_65 ._table_1n4i1_18 th:first-child{padding-left:0}._wrapper_1n4i1_1._dark_1n4i1_65 ._table_1n4i1_18 td:last-child,._wrapper_1n4i1_1._dark_1n4i1_65 ._table_1n4i1_18 th:last-child{padding-right:0}._wrapper_1n4i1_1._dark_1n4i1_65 ._table_1n4i1_18 th{color:#9b9b9b;font-size:11px;font-weight:600;letter-spacing:.39px;text-transform:uppercase;padding-top:0}._wrapper_1n4i1_1._dark_1n4i1_65 ._table_1n4i1_18 td{color:#eef0f2;font-size:16px;font-weight:500;border-bottom:1px solid #3f4b5c}._wrapper_1n4i1_1._dark_1n4i1_65 ._table_1n4i1_18 tbody tr:last-child td{border-bottom:none;padding-bottom:0}._wrapper_1n4i1_1._dark_1n4i1_65 ._actionWrap_1n4i1_113{margin-top:0}._tableLoading_1n4i1_117{border-radius:10px}._actionWrap_1n4i1_113{display:flex;justify-content:space-between;margin-top:10px}._selectedAction_1n4i1_127{display:flex}._selectedAction_1n4i1_127 button{margin-left:15px}._rightGroup_1n4i1_134{display:flex}._pageSizeWrap_1n4i1_138{display:inline-flex;align-items:center}._pageSizeWrap_1n4i1_138 span{margin-left:10px;font-weight:500;color:#788195}._pager_1n4i1_148{margin-left:35px}._size_1n4i1_152{max-width:75px}._noResult_1n4i1_156{text-align:left;display:flex;font-weight:500;font-size:15px;min-height:60px;align-items:center}._scrollWrap_1n4i1_165{max-height:100%!important}._justifyContentEnd_1n4i1_169{justify-content:flex-end}._width100_1n4i1_173{width:100%}
1
+ ._wrapper_1tluw_1{position:relative}._wrapper_1tluw_1 ._header_1tluw_4{padding:20px}._wrapper_1tluw_1 ._header_1tluw_4 ._title_1tluw_7{font-size:18px;font-weight:500;color:#062a4a;margin:0}._wrapper_1tluw_1 ._header_1tluw_4 ._subTitle_1tluw_13{margin:0;font-weight:400;color:#788195}._wrapper_1tluw_1 ._table_1tluw_18{width:100%;text-align:left;border-spacing:0px;border-collapse:collapse}._wrapper_1tluw_1 ._table_1tluw_18._fixed_1tluw_24{position:relative}._wrapper_1tluw_1 ._table_1tluw_18._fixed_1tluw_24 th{position:sticky;box-shadow:0 2px 2px -1px #00000080;top:0;background:#333b57;z-index:999}._wrapper_1tluw_1 ._table_1tluw_18 thead{background-color:#f1f3f9}._wrapper_1tluw_1 ._table_1tluw_18 td,._wrapper_1tluw_1 ._table_1tluw_18 th{padding:10px 20px;border:1px solid #eef0f2;color:#3f4b5c}._wrapper_1tluw_1 ._table_1tluw_18 th{font-weight:500;font-size:12px}._wrapper_1tluw_1 ._table_1tluw_18 td{font-weight:400}._wrapper_1tluw_1._light_1tluw_50{background-color:#fff;color:#000;border-radius:10px}._wrapper_1tluw_1._light_1tluw_50 ._table_1tluw_18._fixedHeader_1tluw_55 th{top:0;background:#fff}._wrapper_1tluw_1._light_1tluw_50 ._table_1tluw_18 tbody td{padding:20px}._wrapper_1tluw_1._light_1tluw_50 ._table_1tluw_18 tbody tr:nth-child(2n) td{background-color:#fdfdfd}._wrapper_1tluw_1._dark_1tluw_65 ._header_1tluw_4{padding:20px 12px}._wrapper_1tluw_1._dark_1tluw_65 ._header_1tluw_4 ._title_1tluw_7{color:#fff}._wrapper_1tluw_1._dark_1tluw_65>._tableWrap_1tluw_71{position:relative;border-radius:10px;box-shadow:0 2px 4px #0003;background-color:#333b57;padding:30px;height:100%}._wrapper_1tluw_1._dark_1tluw_65 ._table_1tluw_18 thead{background:none}._wrapper_1tluw_1._dark_1tluw_65 ._table_1tluw_18 thead th{border:none}._wrapper_1tluw_1._dark_1tluw_65 ._table_1tluw_18 td,._wrapper_1tluw_1._dark_1tluw_65 ._table_1tluw_18 th{border:none;color:#3f4b5c}._wrapper_1tluw_1._dark_1tluw_65 ._table_1tluw_18 td:first-child,._wrapper_1tluw_1._dark_1tluw_65 ._table_1tluw_18 th:first-child{padding-left:0}._wrapper_1tluw_1._dark_1tluw_65 ._table_1tluw_18 td:last-child,._wrapper_1tluw_1._dark_1tluw_65 ._table_1tluw_18 th:last-child{padding-right:0}._wrapper_1tluw_1._dark_1tluw_65 ._table_1tluw_18 th{color:#9b9b9b;font-size:11px;font-weight:600;letter-spacing:.39px;text-transform:uppercase;padding-top:0}._wrapper_1tluw_1._dark_1tluw_65 ._table_1tluw_18 td{color:#eef0f2;font-size:16px;font-weight:500;border-bottom:1px solid #3f4b5c}._wrapper_1tluw_1._dark_1tluw_65 ._table_1tluw_18 tbody tr:last-child td{border-bottom:none;padding-bottom:0}._wrapper_1tluw_1._dark_1tluw_65 ._actionWrap_1tluw_116{margin-top:0}._tableLoading_1tluw_120{border-radius:10px}._actionWrap_1tluw_116{display:flex;justify-content:space-between;margin-top:10px}._selectedAction_1tluw_130{display:flex}._selectedAction_1tluw_130 button{margin-left:15px}._rightGroup_1tluw_137{display:flex}._pageSizeWrap_1tluw_141{display:inline-flex;align-items:center}._pageSizeWrap_1tluw_141 span{margin-left:10px;font-weight:500;color:#788195}._pager_1tluw_151{margin-left:35px}._size_1tluw_155{max-width:75px}._noResult_1tluw_159{text-align:left;display:flex;font-weight:500;font-size:15px;min-height:60px;align-items:center}._scrollWrap_1tluw_168{max-height:100%!important}._justifyContentEnd_1tluw_172{justify-content:flex-end}._width100_1tluw_176{width:100%}
@@ -2,7 +2,7 @@ import { j as s } from "../../jsx-runtime-BcAkpsdy.js";
2
2
  import { useState as Q, useEffect as Y } from "react";
3
3
  import Z from "../NoResult/NoResult.js";
4
4
  import { c as g } from "../../index-BHf7G3IG.js";
5
- import { s as c, T as H } from "../../TableHeader-B91BXue0.js";
5
+ import { s as c, T as H } from "../../TableHeader-Cjx9ZwYH.js";
6
6
  import { ThemeAppearance as L, AppearanceSpinner as T } from "../../enums/appearance.js";
7
7
  import A from "../Checkbox/Checkbox.js";
8
8
  import I from "../Loading/Loading.js";
@@ -1,7 +1,7 @@
1
1
  import "../../jsx-runtime-BcAkpsdy.js";
2
2
  import "react";
3
3
  import "../../index-BHf7G3IG.js";
4
- import { T as u } from "../../TableHeader-B91BXue0.js";
4
+ import { T as u } from "../../TableHeader-Cjx9ZwYH.js";
5
5
  import "../../enums/appearance.js";
6
6
  import "../Button/Button.js";
7
7
  import "../Heading/Heading.js";
@@ -53,7 +53,7 @@ import { default as oe } from "./Stepper/Stepper.js";
53
53
  import { default as re } from "./Switch/Switch.js";
54
54
  import { default as ae } from "./Tab/Tab.js";
55
55
  import { default as le } from "./Table/Table.js";
56
- import { T as pe } from "../TableHeader-B91BXue0.js";
56
+ import { T as pe } from "../TableHeader-Cjx9ZwYH.js";
57
57
  import { default as xe } from "./Textarea/Textarea.js";
58
58
  import { default as ue } from "./Tooltip/Tooltip.js";
59
59
  import { default as ne } from "./TypographyText/TypographyText.js";
@@ -1,9 +1,11 @@
1
- import { AuthProvider as r, useAuth as u } from "./useAauth.js";
1
+ import { AuthProvider as o, useAuth as u } from "./useAauth.js";
2
2
  import { default as t } from "./useDisclosure.js";
3
3
  import { default as f } from "./useNiceModal.js";
4
+ import { default as l } from "./useMediaQuery.js";
4
5
  export {
5
- r as AuthProvider,
6
+ o as AuthProvider,
6
7
  u as useAuth,
7
8
  t as useDisclosure,
9
+ l as useMediaQuery,
8
10
  f as useNiceModal
9
11
  };
package/dist/index.d.mts CHANGED
@@ -782,6 +782,12 @@ export declare type LoadingProps = {
782
782
  layer?: boolean;
783
783
  };
784
784
 
785
+ declare type MediaQueryProps = {
786
+ query: string;
787
+ onMatch?: () => void;
788
+ onUnmatch?: () => void;
789
+ };
790
+
785
791
  export declare const MenuItem: ({ icon, title, to, visibleTooltip, }: MenuItemProps) => JSX.Element;
786
792
 
787
793
  export declare type MenuItemProps = {
@@ -1330,6 +1336,8 @@ export declare function useDisclosure(isOpenInit?: boolean): {
1330
1336
  onToggle: () => void;
1331
1337
  };
1332
1338
 
1339
+ export declare const useMediaQuery: ({ query, onMatch, onUnmatch }: MediaQueryProps) => boolean;
1340
+
1333
1341
  declare type UseNiceModal = [() => void, () => void, string];
1334
1342
 
1335
1343
  export declare function useNiceModal(modalId?: string): UseNiceModal;
package/dist/index.d.ts CHANGED
@@ -782,6 +782,12 @@ export declare type LoadingProps = {
782
782
  layer?: boolean;
783
783
  };
784
784
 
785
+ declare type MediaQueryProps = {
786
+ query: string;
787
+ onMatch?: () => void;
788
+ onUnmatch?: () => void;
789
+ };
790
+
785
791
  export declare const MenuItem: ({ icon, title, to, visibleTooltip, }: MenuItemProps) => JSX.Element;
786
792
 
787
793
  export declare type MenuItemProps = {
@@ -1330,6 +1336,8 @@ export declare function useDisclosure(isOpenInit?: boolean): {
1330
1336
  onToggle: () => void;
1331
1337
  };
1332
1338
 
1339
+ export declare const useMediaQuery: ({ query, onMatch, onUnmatch }: MediaQueryProps) => boolean;
1340
+
1333
1341
  declare type UseNiceModal = [() => void, () => void, string];
1334
1342
 
1335
1343
  export declare function useNiceModal(modalId?: string): UseNiceModal;
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import { AppAndServicesStatusApperenceType as r, AppearanceAlertCard as a, AppearanceButton as t, AppearanceDirection as f, AppearanceSpinner as p, AppearanceTag as l, DividerAppearance as d, FormFieldAppearance as m, ModalAppearanceType as u, NotificationAppearanceType as s, ThemeAppearance as x } from "./enums/appearance.js";
1
+ import { AppAndServicesStatusApperenceType as r, AppearanceAlertCard as a, AppearanceButton as t, AppearanceDirection as f, AppearanceSpinner as p, AppearanceTag as l, DividerAppearance as d, FormFieldAppearance as u, ModalAppearanceType as m, NotificationAppearanceType as s, ThemeAppearance as x } from "./enums/appearance.js";
2
2
  import { ApplicationTypeSlug as i } from "./enums/applicationTypeSlug.js";
3
3
  import { isActiveColor as A } from "./enums/isActiveColor.js";
4
4
  import { Size as E } from "./enums/size.js";
5
- import { AppTypeEnum as C, CopyTextStatusEnum as R, PodStatusEnum as I, ReportStatus as M, StatusEnum as D, StatusType as S } from "./enums/status.js";
5
+ import { AppTypeEnum as C, CopyTextStatusEnum as M, PodStatusEnum as R, ReportStatus as I, StatusEnum as D, StatusType as S } from "./enums/status.js";
6
6
  import { default as N } from "./components/Button/Button.js";
7
7
  import { N as F } from "./index-H7XbDVmH.js";
8
8
  import { PermFallBack as y, getAuth as P } from "./components/AuthUserCan/index.js";
@@ -12,22 +12,22 @@ import { default as H } from "./components/AlertCard/AlertCard.js";
12
12
  import { default as V } from "./components/AuthUserCan/Permission.js";
13
13
  import { default as j } from "./components/Autocomplete/Autocomplete.js";
14
14
  import { default as K } from "./components/Card/Card.js";
15
- import { default as q } from "./components/Charts/index.js";
16
- import { default as J } from "./components/Checkbox/Checkbox.js";
15
+ import { default as Y } from "./components/Charts/index.js";
16
+ import { default as G } from "./components/Checkbox/Checkbox.js";
17
17
  import { default as X } from "./components/Config/Config.js";
18
18
  import { default as $ } from "./components/Confirm/Confirm.js";
19
19
  import { default as oe } from "./components/ContentHeader/ContentHeader.js";
20
20
  import { default as ae } from "./components/ContentLoader/ContentLoader.js";
21
21
  import { default as fe } from "./components/Countdown/Countdown.js";
22
22
  import { default as le } from "./components/Datepicker/Datepicker.js";
23
- import { default as me } from "./components/Divider/Divider.js";
23
+ import { default as ue } from "./components/Divider/Divider.js";
24
24
  import { default as se } from "./components/Dropdown/DropdownList.js";
25
25
  import { default as ne } from "./components/FileUpload/FileUpload.js";
26
26
  import { default as Te } from "./components/FileUpload/ImagePreview.js";
27
27
  import { default as ce } from "./components/FileUpload/LengthCard.js";
28
28
  import { default as _e } from "./components/FileUpload/PreviewModal.js";
29
- import { default as Re } from "./components/Grid/Column.js";
30
- import { default as Me } from "./components/Grid/Row.js";
29
+ import { default as Me } from "./components/Grid/Column.js";
30
+ import { default as Ie } from "./components/Grid/Row.js";
31
31
  import { default as Se } from "./components/Heading/Heading.js";
32
32
  import { default as Ne } from "./components/Icon/index.js";
33
33
  import { default as Fe } from "./components/InfiniteScroll/InfiniteScroll.js";
@@ -39,37 +39,38 @@ import { default as He } from "./components/Input/Input.js";
39
39
  import { default as Ve } from "./components/Label/Label.js";
40
40
  import { default as je } from "./components/Loading/Loading.js";
41
41
  import { default as Ke } from "./components/Modal/Modal.js";
42
- import { default as qe } from "./components/NavigatorCard/index.js";
43
- import { default as Je } from "./components/NoResult/NoResult.js";
42
+ import { default as Ye } from "./components/NavigatorCard/index.js";
43
+ import { default as Ge } from "./components/NoResult/NoResult.js";
44
44
  import { Notification as Xe } from "./components/Notification/Notification.js";
45
45
  import { default as $e } from "./components/PageWrapper/PageWrap.js";
46
46
  import { default as oo } from "./components/Pager/Pager.js";
47
47
  import { default as ao } from "./components/Panel/Panel.js";
48
48
  import { default as fo } from "./components/PermaLink/PermaLink.js";
49
- import { default as lo, RadioList as mo } from "./components/Radio/Radio.js";
49
+ import { default as lo, RadioList as uo } from "./components/Radio/Radio.js";
50
50
  import { default as so } from "./components/ResultError/ResultError.js";
51
51
  import { default as no } from "./components/ScrollContainer/ScrollContainer.js";
52
52
  import { default as To } from "./components/Select/NoData.js";
53
53
  import { S as co } from "./Select-DcLZCXNo.js";
54
54
  import { default as _o } from "./components/Sidebar/index.js";
55
- import { M as Ro } from "./MenuItem-DAf7NU3h.js";
56
- import { default as Mo } from "./components/StatusTypography/StatusTypography.js";
55
+ import { M as Mo } from "./MenuItem-DAf7NU3h.js";
56
+ import { default as Io } from "./components/StatusTypography/StatusTypography.js";
57
57
  import { default as So } from "./components/Stepper/Stepper.js";
58
58
  import { default as No } from "./components/Switch/Switch.js";
59
59
  import { default as Fo } from "./components/Tab/Tab.js";
60
60
  import { default as yo } from "./components/Table/Table.js";
61
- import { T as ho } from "./TableHeader-B91BXue0.js";
61
+ import { T as ho } from "./TableHeader-Cjx9ZwYH.js";
62
62
  import { default as bo } from "./components/Textarea/Textarea.js";
63
63
  import { default as ko } from "./components/Tooltip/Tooltip.js";
64
64
  import { default as Ho } from "./components/TypographyText/TypographyText.js";
65
65
  import { default as Vo } from "./components/ValidationError/ValidationError.js";
66
66
  import { AuthProvider as jo, useAuth as zo } from "./hooks/useAauth.js";
67
- import { default as Yo } from "./hooks/useDisclosure.js";
68
- import { default as Go } from "./hooks/useNiceModal.js";
69
- import { default as Qo, t as Xo } from "./locales/i18n.js";
70
- import { CLIENT_DATE_AND_TIME_FORMAT as $o, CLIENT_DATE_AND_TIME_SHORT_FORMAT as er, CLIENT_DATE_COMPARE_FORMAT as or, CLIENT_DATE_FILTER_FORMAT as rr, CLIENT_DATE_SHORT_FORMAT as ar, CLIENT_TIME_FORMAT as tr, CLIENT_TIME_FORMAT_PICKER as fr, DateFormats as pr, MIN_DATE_TODAY as lr, MIN_DATE_TOMORROW as dr, SERVER_DATE_AND_TIME_FORMAT as mr, SERVER_DATE_FORMAT as ur, default as sr, friendlyDate as xr } from "./utils/date.js";
71
- import { changeLanguage as ir, getCurrentLanguage as Tr, getDatepickerLocale as Ar } from "./utils/language.js";
72
- import { default as Er } from "./prodivers.js";
67
+ import { default as Qo } from "./hooks/useDisclosure.js";
68
+ import { default as qo } from "./hooks/useNiceModal.js";
69
+ import { default as Jo } from "./hooks/useMediaQuery.js";
70
+ import { default as Zo, t as $o } from "./locales/i18n.js";
71
+ import { CLIENT_DATE_AND_TIME_FORMAT as or, CLIENT_DATE_AND_TIME_SHORT_FORMAT as rr, CLIENT_DATE_COMPARE_FORMAT as ar, CLIENT_DATE_FILTER_FORMAT as tr, CLIENT_DATE_SHORT_FORMAT as fr, CLIENT_TIME_FORMAT as pr, CLIENT_TIME_FORMAT_PICKER as lr, DateFormats as dr, MIN_DATE_TODAY as ur, MIN_DATE_TOMORROW as mr, SERVER_DATE_AND_TIME_FORMAT as sr, SERVER_DATE_FORMAT as xr, default as nr, friendlyDate as ir } from "./utils/date.js";
72
+ import { changeLanguage as Ar, getCurrentLanguage as cr, getDatepickerLocale as Er } from "./utils/language.js";
73
+ import { default as Cr } from "./prodivers.js";
73
74
  export {
74
75
  v as Accordion,
75
76
  b as AccordionItem,
@@ -86,33 +87,33 @@ export {
86
87
  jo as AuthProvider,
87
88
  j as Autocomplete,
88
89
  N as Button,
89
- $o as CLIENT_DATE_AND_TIME_FORMAT,
90
- er as CLIENT_DATE_AND_TIME_SHORT_FORMAT,
91
- or as CLIENT_DATE_COMPARE_FORMAT,
92
- rr as CLIENT_DATE_FILTER_FORMAT,
93
- ar as CLIENT_DATE_SHORT_FORMAT,
94
- tr as CLIENT_TIME_FORMAT,
95
- fr as CLIENT_TIME_FORMAT_PICKER,
90
+ or as CLIENT_DATE_AND_TIME_FORMAT,
91
+ rr as CLIENT_DATE_AND_TIME_SHORT_FORMAT,
92
+ ar as CLIENT_DATE_COMPARE_FORMAT,
93
+ tr as CLIENT_DATE_FILTER_FORMAT,
94
+ fr as CLIENT_DATE_SHORT_FORMAT,
95
+ pr as CLIENT_TIME_FORMAT,
96
+ lr as CLIENT_TIME_FORMAT_PICKER,
96
97
  K as Card,
97
- q as Chart,
98
- J as Checkbox,
99
- Re as Column,
98
+ Y as Chart,
99
+ G as Checkbox,
100
+ Me as Column,
100
101
  X as Config,
101
102
  $ as Confirm,
102
103
  oe as ContentHeader,
103
104
  ae as ContentLoader,
104
- R as CopyTextStatusEnum,
105
+ M as CopyTextStatusEnum,
105
106
  fe as Countdown,
106
- pr as DateFormats,
107
+ dr as DateFormats,
107
108
  le as Datepicker,
108
- me as Divider,
109
+ ue as Divider,
109
110
  d as DividerAppearance,
110
111
  se as DropdownList,
111
112
  ne as FileUpload,
112
113
  Te as FileUploadImagePreview,
113
114
  ce as FileUploadLengthCard,
114
115
  _e as FileUploadPreviewModal,
115
- m as FormFieldAppearance,
116
+ u as FormFieldAppearance,
116
117
  Se as Heading,
117
118
  Ne as Icon,
118
119
  Fe as InfiniteScroll,
@@ -122,15 +123,15 @@ export {
122
123
  He as Input,
123
124
  Ve as Label,
124
125
  je as Loading,
125
- lr as MIN_DATE_TODAY,
126
- dr as MIN_DATE_TOMORROW,
127
- Ro as MenuItem,
126
+ ur as MIN_DATE_TODAY,
127
+ mr as MIN_DATE_TOMORROW,
128
+ Mo as MenuItem,
128
129
  Ke as Modal,
129
- u as ModalAppearanceType,
130
- qe as NavigatorCard,
130
+ m as ModalAppearanceType,
131
+ Ye as NavigatorCard,
131
132
  F as NiceModal,
132
133
  To as NoData,
133
- Je as NoResult,
134
+ Ge as NoResult,
134
135
  Xe as Notification,
135
136
  s as NotificationAppearanceType,
136
137
  $e as PageWrapper,
@@ -139,22 +140,22 @@ export {
139
140
  y as PermFallBack,
140
141
  fo as PermaLink,
141
142
  V as Permission,
142
- I as PodStatusEnum,
143
- Er as Provider,
143
+ R as PodStatusEnum,
144
+ Cr as Provider,
144
145
  lo as Radio,
145
- mo as RadioList,
146
- M as ReportStatus,
146
+ uo as RadioList,
147
+ I as ReportStatus,
147
148
  so as ResultError,
148
- Me as Row,
149
- mr as SERVER_DATE_AND_TIME_FORMAT,
150
- ur as SERVER_DATE_FORMAT,
149
+ Ie as Row,
150
+ sr as SERVER_DATE_AND_TIME_FORMAT,
151
+ xr as SERVER_DATE_FORMAT,
151
152
  no as ScrollContainer,
152
153
  co as Select,
153
154
  _o as Sidebar,
154
155
  E as Size,
155
156
  D as StatusEnum,
156
157
  S as StatusType,
157
- Mo as StatusTypography,
158
+ Io as StatusTypography,
158
159
  So as Stepper,
159
160
  No as Switch,
160
161
  Fo as Tab,
@@ -165,17 +166,18 @@ export {
165
166
  ko as Tooltip,
166
167
  Ho as TypographyText,
167
168
  Vo as ValidationError,
168
- ir as changeLanguage,
169
+ Ar as changeLanguage,
169
170
  he as createConnectedService,
170
- sr as dayjs,
171
- xr as friendlyDate,
171
+ nr as dayjs,
172
+ ir as friendlyDate,
172
173
  P as getAuth,
173
- Tr as getCurrentLanguage,
174
- Ar as getDatepickerLocale,
175
- Qo as i18n,
174
+ cr as getCurrentLanguage,
175
+ Er as getDatepickerLocale,
176
+ Zo as i18n,
176
177
  A as isActiveColor,
177
- Xo as t,
178
+ $o as t,
178
179
  zo as useAuth,
179
- Yo as useDisclosure,
180
- Go as useNiceModal
180
+ Qo as useDisclosure,
181
+ Jo as useMediaQuery,
182
+ qo as useNiceModal
181
183
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cagatayfdn/flora-components",
3
- "version": "0.0.78",
3
+ "version": "0.0.80",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",