@cagatayfdn/flora-components 0.0.164 → 0.0.166

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,32 +1,45 @@
1
- import { CLIENT_DATE_AND_TIME_FORMAT as E, CLIENT_DATE_AND_TIME_SHORT_FORMAT as e, CLIENT_DATE_COMPARE_FORMAT as a, CLIENT_DATE_FILTER_FORMAT as r, CLIENT_DATE_SHORT_FORMAT as A, CLIENT_TIME_FORMAT as t, CLIENT_TIME_FORMAT_PICKER as R, DateFormats as o, MIN_DATE_TODAY as I, MIN_DATE_TOMORROW as M, SERVER_DATE_AND_TIME_FORMAT as O, SERVER_DATE_FORMAT as D, default as s, friendlyDate as F } from "./date.js";
2
- import { startFetcher as C, startFormFetcher as L } from "./fetcher.js";
3
- import { changeLanguage as m, getCurrentLanguage as p, getDatepickerLocale as n } from "./language.js";
4
- import { T as g, a as l } from "../ErrorLogModal-CQFdcFKP.js";
5
- import { IconTestIds as u } from "./test.js";
6
- import { f as d, p as h } from "../helper-1SQ9SI45.js";
1
+ import { CLIENT_DATE_AND_TIME_FORMAT as T, CLIENT_DATE_AND_TIME_SHORT_FORMAT as t, CLIENT_DATE_COMPARE_FORMAT as o, CLIENT_DATE_FILTER_FORMAT as _, CLIENT_DATE_SHORT_FORMAT as a, CLIENT_TIME_FORMAT as E, CLIENT_TIME_FORMAT_PICKER as A, DateFormats as R, MIN_DATE_TODAY as I, MIN_DATE_TOMORROW as F, SERVER_DATE_AND_TIME_FORMAT as M, SERVER_DATE_FORMAT as s, default as O, friendlyDate as m } from "./date.js";
2
+ import { startFetcher as c, startFormFetcher as f } from "./fetcher.js";
3
+ import { changeLanguage as C, getCurrentLanguage as l, getDatepickerLocale as n } from "./language.js";
4
+ import { createFetchClient as N } from "./http/createFetchClient.js";
5
+ import { FetchError as x, FetchErrorCode as g, isCancel as u, isFetchError as d } from "./http/errors.js";
6
+ import { InterceptorManager as S } from "./http/interceptorManager.js";
7
+ import { buildFullURL as P, combineURLs as y, defaultParamsSerializer as H } from "./http/helpers.js";
8
+ import { T as V, a as j } from "../ErrorLogModal-DJd2j2Qz.js";
9
+ import { IconTestIds as z } from "./test.js";
10
+ import { f as W, p as Y } from "../helper-1SQ9SI45.js";
7
11
  export {
8
- E as CLIENT_DATE_AND_TIME_FORMAT,
9
- e as CLIENT_DATE_AND_TIME_SHORT_FORMAT,
10
- a as CLIENT_DATE_COMPARE_FORMAT,
11
- r as CLIENT_DATE_FILTER_FORMAT,
12
- A as CLIENT_DATE_SHORT_FORMAT,
13
- t as CLIENT_TIME_FORMAT,
14
- R as CLIENT_TIME_FORMAT_PICKER,
15
- o as DateFormats,
16
- u as IconTestIds,
12
+ T as CLIENT_DATE_AND_TIME_FORMAT,
13
+ t as CLIENT_DATE_AND_TIME_SHORT_FORMAT,
14
+ o as CLIENT_DATE_COMPARE_FORMAT,
15
+ _ as CLIENT_DATE_FILTER_FORMAT,
16
+ a as CLIENT_DATE_SHORT_FORMAT,
17
+ E as CLIENT_TIME_FORMAT,
18
+ A as CLIENT_TIME_FORMAT_PICKER,
19
+ R as DateFormats,
20
+ x as FetchError,
21
+ g as FetchErrorCode,
22
+ z as IconTestIds,
23
+ S as InterceptorManager,
17
24
  I as MIN_DATE_TODAY,
18
- M as MIN_DATE_TOMORROW,
19
- O as SERVER_DATE_AND_TIME_FORMAT,
20
- D as SERVER_DATE_FORMAT,
21
- g as TableActions,
22
- l as TableColumns,
23
- m as changeLanguage,
24
- s as dayjs,
25
- d as format,
26
- F as friendlyDate,
27
- p as getCurrentLanguage,
25
+ F as MIN_DATE_TOMORROW,
26
+ M as SERVER_DATE_AND_TIME_FORMAT,
27
+ s as SERVER_DATE_FORMAT,
28
+ V as TableActions,
29
+ j as TableColumns,
30
+ P as buildFullURL,
31
+ C as changeLanguage,
32
+ y as combineURLs,
33
+ N as createFetchClient,
34
+ O as dayjs,
35
+ H as defaultParamsSerializer,
36
+ W as format,
37
+ m as friendlyDate,
38
+ l as getCurrentLanguage,
28
39
  n as getDatepickerLocale,
29
- h as parseISO,
30
- C as startFetcher,
31
- L as startFormFetcher
40
+ u as isCancel,
41
+ d as isFetchError,
42
+ Y as parseISO,
43
+ c as startFetcher,
44
+ f as startFormFetcher
32
45
  };
@@ -15,7 +15,7 @@ import "../components/Checkbox/Checkbox.js";
15
15
  import "../components/Confirm/Confirm.js";
16
16
  import "../components/Datepicker/Datepicker.js";
17
17
  import "../components/Drawer/Provider.js";
18
- import { T as w, a as y } from "../ErrorLogModal-CQFdcFKP.js";
18
+ import { T as w, a as y } from "../ErrorLogModal-DJd2j2Qz.js";
19
19
  import "../components/FileUpload/FileUpload.js";
20
20
  import "../components/IconBox/IconBox.js";
21
21
  import "../components/InfoDate/InfoDate.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cagatayfdn/flora-components",
3
- "version": "0.0.164",
3
+ "version": "0.0.166",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -31,25 +31,24 @@
31
31
  "storybook": "storybook dev -p 6006",
32
32
  "build-storybook": "storybook build"
33
33
  },
34
+ "peerDependencies": {
35
+ "react": ">=18.0.0",
36
+ "react-dom": ">=18.0.0"
37
+ },
34
38
  "dependencies": {
35
39
  "@ebay/nice-modal-react": "1.2.13",
36
40
  "@hookform/resolvers": "2.8.2",
37
- "@tailwindcss/vite": "^4.1.17",
38
- "@types/node": "18.7.6",
39
- "@types/yup": "0.29.13",
40
41
  "axios": "0.21.0",
41
42
  "bootstrap": "5.1.3",
42
43
  "chart.js": "3.9.1",
43
44
  "classnames": "2.2.6",
44
45
  "date-fns": "2.16.1",
45
46
  "dayjs": "1.11.0",
46
- "flatpickr": "4.6.9",
47
+ "flatpickr": "4.6.13",
47
48
  "i18next": "19.8.4",
48
49
  "ramda": "0.27.1",
49
- "react": "^18.2.0",
50
50
  "react-chartjs-2": "4.3.1",
51
51
  "react-content-loader": "5.1.4",
52
- "react-dom": "^18.2.0",
53
52
  "react-dropdown-select": "4.8.0",
54
53
  "react-hook-form": "7.17.3",
55
54
  "react-i18next": "14.0.3",
@@ -57,49 +56,56 @@
57
56
  "react-toastify": "8.1.0",
58
57
  "react-tooltip": "4.2.21",
59
58
  "react-virtuoso": "4.14.1",
60
- "tailwindcss": "^4.1.17",
61
- "vite-plugin-dts": "^3.7.3",
62
- "vite-plugin-lib-inject-css": "^2.2.2",
63
- "vite-tsconfig-paths": "^5.1.4",
64
59
  "yup": "0.32.11"
65
60
  },
66
61
  "devDependencies": {
67
- "@chromatic-com/storybook": "^1.2.25",
68
- "@laynezh/vite-plugin-lib-assets": "^0.5.24",
69
- "@storybook/addon-essentials": "^8.0.4",
70
- "@storybook/addon-interactions": "^8.0.4",
71
- "@storybook/addon-links": "^8.0.4",
72
- "@storybook/addon-onboarding": "^8.0.4",
73
- "@storybook/blocks": "^8.0.4",
74
- "@storybook/react": "^8.0.4",
75
- "@storybook/react-vite": "^8.0.4",
76
- "@storybook/test": "^8.0.4",
77
- "@testing-library/dom": "^9.3.4",
78
- "@testing-library/jest-dom": "^6.4.2",
79
- "@testing-library/react": "^14.2.1",
80
- "@testing-library/user-event": "^14.5.2",
62
+ "@chromatic-com/storybook": "1.2.25",
63
+ "@laynezh/vite-plugin-lib-assets": "0.5.24",
64
+ "@storybook/addon-essentials": "8.0.4",
65
+ "@storybook/addon-interactions": "8.0.4",
66
+ "@storybook/addon-links": "8.0.4",
67
+ "@storybook/addon-onboarding": "8.0.4",
68
+ "@storybook/blocks": "8.0.4",
69
+ "@storybook/react": "8.0.4",
70
+ "@storybook/react-vite": "8.0.4",
71
+ "@storybook/test": "8.0.4",
72
+ "@tailwindcss/vite": "4.1.17",
73
+ "@testing-library/dom": "9.3.4",
74
+ "@testing-library/jest-dom": "6.4.2",
75
+ "@testing-library/react": "14.2.2",
76
+ "@testing-library/user-event": "14.5.2",
81
77
  "@types/classnames": "2.2.11",
82
78
  "@types/flatpickr": "3.1.2",
83
- "@types/jest": "^29.5.12",
79
+ "@types/jest": "29.5.12",
80
+ "@types/node": "18.7.6",
84
81
  "@types/ramda": "0.27.44",
85
- "@types/react": "^18.2.66",
86
- "@types/react-dom": "^18.2.22",
87
- "@types/react-router-dom": "5.1.6",
88
- "@typescript-eslint/eslint-plugin": "^7.3.1",
89
- "@typescript-eslint/parser": "^7.3.1",
90
- "@vitejs/plugin-react": "^4.2.1",
91
- "eslint": "^7.32.0",
92
- "eslint-plugin-react-hooks": "^4.6.0",
93
- "eslint-plugin-react-refresh": "^0.4.6",
94
- "eslint-plugin-simple-import-sort": "^10.0.0",
95
- "eslint-plugin-storybook": "^0.8.0",
82
+ "@types/react": "18.2.67",
83
+ "@types/react-dom": "18.2.22",
84
+ "@types/yup": "0.29.13",
85
+ "@typescript-eslint/eslint-plugin": "7.3.1",
86
+ "@typescript-eslint/parser": "7.3.1",
87
+ "@vitejs/plugin-react": "4.2.1",
88
+ "eslint": "7.32.0",
89
+ "eslint-plugin-react-hooks": "4.6.0",
90
+ "eslint-plugin-react-refresh": "0.4.6",
91
+ "eslint-plugin-simple-import-sort": "10.0.0",
92
+ "eslint-plugin-storybook": "0.8.0",
96
93
  "fantasticon": "1.2.2",
97
- "identity-obj-proxy": "^3.0.0",
98
- "jest": "^29.7.0",
99
- "jest-environment-jsdom": "^29.7.0",
100
- "storybook": "^8.0.4",
101
- "ts-jest": "^29.1.2",
102
- "typescript": "^5.4.3",
103
- "vite": "^5.2.0"
94
+ "identity-obj-proxy": "3.0.0",
95
+ "jest": "29.7.0",
96
+ "jest-environment-jsdom": "29.7.0",
97
+ "storybook": "8.0.4",
98
+ "tailwindcss": "4.1.17",
99
+ "ts-jest": "29.1.2",
100
+ "typescript": "5.3.3",
101
+ "vite": "5.2.2",
102
+ "vite-plugin-dts": "3.7.3",
103
+ "vite-plugin-lib-inject-css": "2.2.2",
104
+ "vite-tsconfig-paths": "5.1.4"
105
+ },
106
+ "resolutions": {
107
+ "strip-ansi": "^6.0.1",
108
+ "string-width": "^4.2.3",
109
+ "cliui/wrap-ansi": "^7.0.0"
104
110
  }
105
111
  }