@startupjs-ui/date-time-picker 0.1.19 → 0.2.0-alpha.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.2.0-alpha.0](https://github.com/startupjs/startupjs-ui/compare/v0.1.22...v0.2.0-alpha.0) (2026-03-27)
7
+
8
+
9
+ ### Features
10
+
11
+ * fix and improve accessibility of various components. Add storybook with tests. ([#21](https://github.com/startupjs/startupjs-ui/issues/21)) ([83b6576](https://github.com/startupjs/startupjs-ui/commit/83b65767ed61b24209f71b143ba1c2986170ab58))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.1.22](https://github.com/startupjs/startupjs-ui/compare/v0.1.21...v0.1.22) (2026-03-25)
18
+
19
+ **Note:** Version bump only for package @startupjs-ui/date-time-picker
20
+
21
+
22
+
23
+
24
+
25
+ ## [0.1.21](https://github.com/startupjs/startupjs-ui/compare/v0.1.20...v0.1.21) (2026-03-25)
26
+
27
+ **Note:** Version bump only for package @startupjs-ui/date-time-picker
28
+
29
+
30
+
31
+
32
+
6
33
  ## [0.1.19](https://github.com/startupjs/startupjs-ui/compare/v0.1.18...v0.1.19) (2026-03-17)
7
34
 
8
35
  **Note:** Version bump only for package @startupjs-ui/date-time-picker
@@ -1,4 +1,4 @@
1
- import { I18nManager, Platform, Settings } from 'react-native'
1
+ import { I18nManager, NativeModules, Platform } from 'react-native'
2
2
 
3
3
  export default function getLocale (): string {
4
4
  if (Platform.OS === 'web') {
@@ -6,8 +6,9 @@ export default function getLocale (): string {
6
6
  }
7
7
 
8
8
  if (Platform.OS === 'ios') {
9
- const appleLocale = Settings.get('AppleLocale') as string | undefined
10
- const appleLanguages = Settings.get('AppleLanguages') as string[] | undefined
9
+ const settings = NativeModules.SettingsManager?.settings
10
+ const appleLocale = settings?.AppleLocale as string | undefined
11
+ const appleLanguages = settings?.AppleLanguages as string[] | undefined
11
12
  return appleLocale ?? appleLanguages?.[0] ?? 'en'
12
13
  }
13
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startupjs-ui/date-time-picker",
3
- "version": "0.1.19",
3
+ "version": "0.2.0-alpha.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -10,17 +10,17 @@
10
10
  "dependencies": {
11
11
  "@fortawesome/free-solid-svg-icons": "^7.1.0",
12
12
  "@react-native-community/datetimepicker": "^8.4.4",
13
- "@startupjs-ui/abstract-popover": "^0.1.19",
14
- "@startupjs-ui/button": "^0.1.19",
15
- "@startupjs-ui/core": "^0.1.19",
16
- "@startupjs-ui/div": "^0.1.19",
17
- "@startupjs-ui/divider": "^0.1.19",
18
- "@startupjs-ui/drawer": "^0.1.19",
19
- "@startupjs-ui/flat-list": "^0.1.19",
20
- "@startupjs-ui/icon": "^0.1.19",
21
- "@startupjs-ui/popover": "^0.1.19",
22
- "@startupjs-ui/span": "^0.1.19",
23
- "@startupjs-ui/text-input": "^0.1.19",
13
+ "@startupjs-ui/abstract-popover": "^0.2.0-alpha.0",
14
+ "@startupjs-ui/button": "^0.2.0-alpha.0",
15
+ "@startupjs-ui/core": "^0.2.0-alpha.0",
16
+ "@startupjs-ui/div": "^0.2.0-alpha.0",
17
+ "@startupjs-ui/divider": "^0.2.0-alpha.0",
18
+ "@startupjs-ui/drawer": "^0.2.0-alpha.0",
19
+ "@startupjs-ui/flat-list": "^0.2.0-alpha.0",
20
+ "@startupjs-ui/icon": "^0.2.0-alpha.0",
21
+ "@startupjs-ui/popover": "^0.2.0-alpha.0",
22
+ "@startupjs-ui/span": "^0.2.0-alpha.0",
23
+ "@startupjs-ui/text-input": "^0.2.0-alpha.0",
24
24
  "moment-timezone": "^0.5.31",
25
25
  "react-native-safe-area-context": "^5.6.0"
26
26
  },
@@ -29,5 +29,5 @@
29
29
  "react-native": "*",
30
30
  "startupjs": "*"
31
31
  },
32
- "gitHead": "bfcca786dc363f42a09b6eef4feb7ca8139302fc"
32
+ "gitHead": "a428246a18d0e7f77809043c8240253240d11d66"
33
33
  }