@cagatayfdn/flora-components 0.0.92 → 0.0.93
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/hooks/index.js +4 -2
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +37 -35
- package/package.json +1 -1
package/dist/hooks/index.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { AuthProvider as o, useAuth as t } from "./useAauth.js";
|
|
2
|
-
import { default as
|
|
2
|
+
import { default as a } from "./useDisclosure.js";
|
|
3
3
|
import { default as f } from "./useNiceModal.js";
|
|
4
4
|
import { default as x } from "./useMediaQuery.js";
|
|
5
5
|
import { useDrawerContext as m } from "../components/Drawer/Provider.js";
|
|
6
|
+
import { default as i } from "./useDrawer.js";
|
|
6
7
|
export {
|
|
7
8
|
o as AuthProvider,
|
|
8
9
|
t as useAuth,
|
|
9
|
-
|
|
10
|
+
a as useDisclosure,
|
|
11
|
+
i as useDrawer,
|
|
10
12
|
m as useDrawerContext,
|
|
11
13
|
x as useMediaQuery,
|
|
12
14
|
f as useNiceModal
|
package/dist/index.d.mts
CHANGED
|
@@ -1377,6 +1377,8 @@ export declare function useDisclosure(isOpenInit?: boolean): {
|
|
|
1377
1377
|
onToggle: () => void;
|
|
1378
1378
|
};
|
|
1379
1379
|
|
|
1380
|
+
export declare function useDrawer(): (string | ((id: string) => void))[];
|
|
1381
|
+
|
|
1380
1382
|
export declare const useDrawerContext: () => DrawerContextType;
|
|
1381
1383
|
|
|
1382
1384
|
export declare const useMediaQuery: ({ query, onMatch, onUnmatch }: MediaQueryProps) => boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -1377,6 +1377,8 @@ export declare function useDisclosure(isOpenInit?: boolean): {
|
|
|
1377
1377
|
onToggle: () => void;
|
|
1378
1378
|
};
|
|
1379
1379
|
|
|
1380
|
+
export declare function useDrawer(): (string | ((id: string) => void))[];
|
|
1381
|
+
|
|
1380
1382
|
export declare const useDrawerContext: () => DrawerContextType;
|
|
1381
1383
|
|
|
1382
1384
|
export declare const useMediaQuery: ({ query, onMatch, onUnmatch }: MediaQueryProps) => boolean;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppAndServicesStatusApperenceType as o, AppearanceAlertCard as a, AppearanceButton as t, AppearanceDirection as f, AppearanceSpinner as p, AppearanceTag as l, DividerAppearance as d, FormFieldAppearance as
|
|
1
|
+
import { AppAndServicesStatusApperenceType as o, 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";
|
|
@@ -20,7 +20,7 @@ import { default as re } 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
|
|
23
|
+
import { default as ue } from "./components/Divider/Divider.js";
|
|
24
24
|
import { default as se } from "./components/Drawer/index.js";
|
|
25
25
|
import { default as ne } from "./components/Dropdown/DropdownList.js";
|
|
26
26
|
import { default as Te } from "./components/FileUpload/FileUpload.js";
|
|
@@ -47,7 +47,7 @@ import { default as rr } from "./components/PageWrapper/PageWrap.js";
|
|
|
47
47
|
import { default as ar } from "./components/Pager/Pager.js";
|
|
48
48
|
import { default as fr } from "./components/Panel/Panel.js";
|
|
49
49
|
import { default as lr } from "./components/PermaLink/PermaLink.js";
|
|
50
|
-
import { default as
|
|
50
|
+
import { default as ur, RadioList as mr } from "./components/Radio/Radio.js";
|
|
51
51
|
import { default as xr } from "./components/ResultError/ResultError.js";
|
|
52
52
|
import { default as ir } from "./components/ScrollContainer/ScrollContainer.js";
|
|
53
53
|
import { default as Ar } from "./components/Select/NoData.js";
|
|
@@ -69,11 +69,12 @@ import { default as Yr } from "./hooks/useDisclosure.js";
|
|
|
69
69
|
import { default as Gr } from "./hooks/useNiceModal.js";
|
|
70
70
|
import { default as Xr } from "./hooks/useMediaQuery.js";
|
|
71
71
|
import { useDrawerContext as $r } from "./components/Drawer/Provider.js";
|
|
72
|
-
import { default as ro
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
72
|
+
import { default as ro } from "./hooks/useDrawer.js";
|
|
73
|
+
import { default as ao, t as to } from "./locales/i18n.js";
|
|
74
|
+
import { CLIENT_DATE_AND_TIME_FORMAT as po, CLIENT_DATE_AND_TIME_SHORT_FORMAT as lo, CLIENT_DATE_COMPARE_FORMAT as uo, CLIENT_DATE_FILTER_FORMAT as mo, CLIENT_DATE_SHORT_FORMAT as so, CLIENT_TIME_FORMAT as xo, CLIENT_TIME_FORMAT_PICKER as no, DateFormats as io, MIN_DATE_TODAY as To, MIN_DATE_TOMORROW as Ao, SERVER_DATE_AND_TIME_FORMAT as co, SERVER_DATE_FORMAT as Eo, default as _o, friendlyDate as Co } from "./utils/date.js";
|
|
75
|
+
import { changeLanguage as Io, getCurrentLanguage as Mo, getDatepickerLocale as Ro } from "./utils/language.js";
|
|
76
|
+
import { default as go } from "./prodivers.js";
|
|
77
|
+
import { f as Lo, p as Fo } from "./index-JNaMEwgt.js";
|
|
77
78
|
export {
|
|
78
79
|
v as Accordion,
|
|
79
80
|
w as AccordionItem,
|
|
@@ -90,13 +91,13 @@ export {
|
|
|
90
91
|
zr as AuthProvider,
|
|
91
92
|
j as Autocomplete,
|
|
92
93
|
N as Button,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
94
|
+
po as CLIENT_DATE_AND_TIME_FORMAT,
|
|
95
|
+
lo as CLIENT_DATE_AND_TIME_SHORT_FORMAT,
|
|
96
|
+
uo as CLIENT_DATE_COMPARE_FORMAT,
|
|
97
|
+
mo as CLIENT_DATE_FILTER_FORMAT,
|
|
98
|
+
so as CLIENT_DATE_SHORT_FORMAT,
|
|
99
|
+
xo as CLIENT_TIME_FORMAT,
|
|
100
|
+
no as CLIENT_TIME_FORMAT_PICKER,
|
|
100
101
|
K as Card,
|
|
101
102
|
Y as Chart,
|
|
102
103
|
G as Checkbox,
|
|
@@ -107,9 +108,9 @@ export {
|
|
|
107
108
|
ae as ContentLoader,
|
|
108
109
|
D as CopyTextStatusEnum,
|
|
109
110
|
fe as Countdown,
|
|
110
|
-
|
|
111
|
+
io as DateFormats,
|
|
111
112
|
le as Datepicker,
|
|
112
|
-
|
|
113
|
+
ue as Divider,
|
|
113
114
|
d as DividerAppearance,
|
|
114
115
|
se as Drawer,
|
|
115
116
|
ne as DropdownList,
|
|
@@ -117,7 +118,7 @@ export {
|
|
|
117
118
|
ce as FileUploadImagePreview,
|
|
118
119
|
_e as FileUploadLengthCard,
|
|
119
120
|
De as FileUploadPreviewModal,
|
|
120
|
-
|
|
121
|
+
u as FormFieldAppearance,
|
|
121
122
|
Ne as Heading,
|
|
122
123
|
Fe as Icon,
|
|
123
124
|
ye as InfiniteScroll,
|
|
@@ -127,11 +128,11 @@ export {
|
|
|
127
128
|
Ve as Input,
|
|
128
129
|
je as Label,
|
|
129
130
|
Ke as Loading,
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
To as MIN_DATE_TODAY,
|
|
132
|
+
Ao as MIN_DATE_TOMORROW,
|
|
132
133
|
Ir as MenuItem,
|
|
133
134
|
Ye as Modal,
|
|
134
|
-
|
|
135
|
+
m as ModalAppearanceType,
|
|
135
136
|
Ge as NavigatorCard,
|
|
136
137
|
F as NiceModal,
|
|
137
138
|
Ar as NoData,
|
|
@@ -145,14 +146,14 @@ export {
|
|
|
145
146
|
lr as PermaLink,
|
|
146
147
|
V as Permission,
|
|
147
148
|
I as PodStatusEnum,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
go as Provider,
|
|
150
|
+
ur as Radio,
|
|
151
|
+
mr as RadioList,
|
|
151
152
|
M as ReportStatus,
|
|
152
153
|
xr as ResultError,
|
|
153
154
|
Se as Row,
|
|
154
|
-
|
|
155
|
-
|
|
155
|
+
co as SERVER_DATE_AND_TIME_FORMAT,
|
|
156
|
+
Eo as SERVER_DATE_FORMAT,
|
|
156
157
|
ir as ScrollContainer,
|
|
157
158
|
Er as Select,
|
|
158
159
|
Cr as Sidebar,
|
|
@@ -170,20 +171,21 @@ export {
|
|
|
170
171
|
Br as Tooltip,
|
|
171
172
|
Ur as TypographyText,
|
|
172
173
|
Wr as ValidationError,
|
|
173
|
-
|
|
174
|
+
Io as changeLanguage,
|
|
174
175
|
we as createConnectedService,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
_o as dayjs,
|
|
177
|
+
Lo as format,
|
|
178
|
+
Co as friendlyDate,
|
|
178
179
|
P as getAuth,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
180
|
+
Mo as getCurrentLanguage,
|
|
181
|
+
Ro as getDatepickerLocale,
|
|
182
|
+
ao as i18n,
|
|
182
183
|
A as isActiveColor,
|
|
183
|
-
|
|
184
|
-
|
|
184
|
+
Fo as parseISO,
|
|
185
|
+
to as t,
|
|
185
186
|
Kr as useAuth,
|
|
186
187
|
Yr as useDisclosure,
|
|
188
|
+
ro as useDrawer,
|
|
187
189
|
$r as useDrawerContext,
|
|
188
190
|
Xr as useMediaQuery,
|
|
189
191
|
Gr as useNiceModal
|