ferns-ui 0.45.5 → 0.46.0

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.
@@ -22,13 +22,13 @@ export declare function humanDateAndTime(date: string, { timezone, showTimezone
22
22
  showTimezone?: boolean;
23
23
  }): string;
24
24
  export declare const printDate: (date?: string, { timezone, showTimezone, ignoreTime, defaultValue, }?: {
25
- timezone?: string | undefined;
26
- showTimezone?: boolean | undefined;
27
- ignoreTime?: boolean | undefined;
28
- defaultValue?: string | undefined;
25
+ timezone?: string;
26
+ showTimezone?: boolean;
27
+ ignoreTime?: boolean;
28
+ defaultValue?: string;
29
29
  }) => string;
30
30
  export declare const printOnlyDate: (date?: string, { defaultValue, }?: {
31
- defaultValue?: string | undefined;
31
+ defaultValue?: string;
32
32
  }) => string;
33
33
  export declare function printTime(date?: string, { timezone, showTimezone, defaultValue, }?: {
34
34
  timezone: string;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
2
  export declare const FernsProvider: ({ children, openAPISpecUrl, }: {
3
3
  children: React.ReactNode;
4
- openAPISpecUrl?: string | undefined;
4
+ openAPISpecUrl?: string;
5
5
  }) => React.ReactElement;
@@ -1 +1 @@
1
- export declare const useStoredState: <T>(key: string, initialValue?: T | undefined) => [T | undefined, (value: T | undefined) => Promise<void>];
1
+ export declare const useStoredState: <T>(key: string, initialValue?: T) => [T | undefined, (value: T | undefined) => Promise<void>];
package/package.json CHANGED
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "name": "ferns-ui",
3
- "version": "0.45.5",
3
+ "version": "0.46.0",
4
4
  "main": "dist/index.js",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
7
7
  "local": "tsc-watch --onSuccess \"cp -a dist/* ../flourish/node_modules/ferns-ui/dist\"",
8
- "lint": "eslint \"src/**/*.ts*\"",
9
- "lintfix": "eslint --fix \"src/**/*.ts*\"",
8
+ "lint": "eslint",
9
+ "lintfix": "eslint --fix",
10
10
  "build": "tsc",
11
11
  "dev": "tsc -w",
12
12
  "deps": "node checkDeps.js",
13
13
  "test": "TZ=America/New_York jest --watchAll",
14
- "test:ci": "TZ=America/New_York jest --ci"
14
+ "test:ci": "TZ=America/New_York jest --ci",
15
+ "postinstall": "cd ../.. && patch-package"
15
16
  },
16
17
  "babel": {
17
18
  "presets": [
@@ -80,19 +81,20 @@
80
81
  "src/**/*"
81
82
  ],
82
83
  "devDependencies": {
83
- "@expo/config-plugins": "~7.8.0",
84
+ "@expo/config-plugins": "~7.9.1",
84
85
  "@types/jest": "^29.5.12",
86
+ "@types/lodash": "^4.17.0",
85
87
  "@types/luxon": "^3.4.2",
86
- "@types/mdurl": "^1.0.4",
87
- "@types/react": "~18.2.57",
88
+ "@types/mdurl": "^2.0.0",
89
+ "@types/react": "~18.2.45",
88
90
  "@types/react-datetime-picker": "^5.0.0",
89
91
  "@types/react-signature-canvas": "^1.0.5",
90
92
  "@types/react-time-picker": "^6.0.0",
91
- "@typescript-eslint/eslint-plugin": "^7.0.2",
92
- "@typescript-eslint/parser": "^7.0.2",
93
+ "@typescript-eslint/eslint-plugin": "^7.8.0",
94
+ "@typescript-eslint/parser": "^7.8.0",
93
95
  "babel-jest": "^29.7.0",
94
96
  "babel-preset-react-app": "^10.0.1",
95
- "eslint": "^8.56.0",
97
+ "eslint": "^8.57.0",
96
98
  "eslint-config-prettier": "^9.1.0",
97
99
  "eslint-plugin-ban": "^1.6.0",
98
100
  "eslint-plugin-comment-length": "^1.7.3",
@@ -100,13 +102,13 @@
100
102
  "eslint-plugin-import": "^2.29.1",
101
103
  "eslint-plugin-lodash": "^7.1.0",
102
104
  "eslint-plugin-prettier": "^5.1.3",
103
- "eslint-plugin-react": "^7.33.2",
104
- "eslint-plugin-react-hooks": "^4.6.0",
105
+ "eslint-plugin-react": "^7.34.1",
106
+ "eslint-plugin-react-hooks": "^4.6.2",
105
107
  "eslint-plugin-react-native": "^4.1.0",
106
- "eslint-plugin-simple-import-sort": "^12.0.0",
107
- "eslint-plugin-unused-imports": "3.1.0",
108
+ "eslint-plugin-simple-import-sort": "^12.1.0",
109
+ "eslint-plugin-unused-imports": "3.2.0",
108
110
  "jest": "^29.7.0",
109
- "jest-expo": "~50.0.0",
111
+ "jest-expo": "~50.0.4",
110
112
  "jest-github-actions-reporter": "^1.0.3",
111
113
  "mdurl": "^2.0.0",
112
114
  "prettier": "^3.2.5",
@@ -115,15 +117,15 @@
115
117
  "react-router": "^6.22.1",
116
118
  "react-router-dom": "^6.22.1",
117
119
  "tsc-watch": "^6.0.4",
118
- "typescript": "^5.3.3"
120
+ "typescript": "^5.4.5"
119
121
  },
120
122
  "peerDependencies": {
121
- "react": "^18.0.0",
122
- "react-router": "^6.17.0",
123
- "react-router-dom": "^6.17.0"
123
+ "react": "18.2.0",
124
+ "react-router": "^6.22.1",
125
+ "react-router-dom": "^6.22.1"
124
126
  },
125
127
  "dependencies": {
126
- "@expo/vector-icons": "^14.0.0",
128
+ "@expo/vector-icons": "^14.0.1",
127
129
  "@react-native-async-storage/async-storage": "1.21.0",
128
130
  "@react-native-community/blur": "^4.4.0",
129
131
  "@react-native-community/datetimepicker": "7.6.1",
@@ -133,32 +135,33 @@
133
135
  "expo-haptics": "~12.8.1",
134
136
  "expo-image-manipulator": "~11.8.0",
135
137
  "expo-image-picker": "~14.7.1",
136
- "expo-localization": "~14.8.3",
137
- "libphonenumber-js": "^1.10.56",
138
+ "expo-localization": "~14.8.4",
139
+ "libphonenumber-js": "^1.10.61",
138
140
  "lodash": "^4.17.21",
139
141
  "luxon": "^3.4.4",
142
+ "patch-package": "^8.0.0",
140
143
  "react-app-polyfill": "^3.0.0",
141
- "react-date-picker": "^10.5.2",
142
- "react-datetime-picker": "^5.5.3",
144
+ "react-date-picker": "^11.0.0",
145
+ "react-datetime-picker": "^6.0.1",
143
146
  "react-dev-utils": "^12.0.1",
144
147
  "react-dom": "18.2.0",
145
- "react-native": "0.73.4",
146
- "react-native-actions-sheet": "^0.9.2",
147
- "react-native-calendars": "^1.1301.0",
148
- "react-native-drawer-layout": "3.2.2",
148
+ "react-native": "0.73.6",
149
+ "react-native-actions-sheet": "^0.9.3",
150
+ "react-native-calendars": "^1.1304.1",
151
+ "react-native-drawer-layout": "3.3.0",
149
152
  "react-native-gesture-handler": "~2.14.0",
150
153
  "react-native-google-places-autocomplete": "^2.5.6",
151
154
  "react-native-modalize": "^2.1.1",
152
- "react-native-permissions": "^4.1.2",
153
- "react-native-picker-select": "^9.0.1",
155
+ "react-native-permissions": "^4.1.5",
156
+ "react-native-picker-select": "^9.1.3",
154
157
  "react-native-portalize": "^1.0.7",
155
158
  "react-native-reanimated": "~3.6.2",
156
- "react-native-signature-canvas": "^4.7.1",
159
+ "react-native-signature-canvas": "^4.7.2",
157
160
  "react-native-svg": "14.1.0",
158
- "react-native-swiper-flatlist": "^3.2.3",
161
+ "react-native-swiper-flatlist": "^3.2.4",
159
162
  "react-native-toast-notifications": "^3.4.0",
160
163
  "react-native-webview": "13.6.4",
161
164
  "react-signature-canvas": "^1.0.6",
162
- "react-time-picker": "^6.5.2"
165
+ "react-time-picker": "^7.0.0"
163
166
  }
164
167
  }