Commit Graph

1903 Commits

Author SHA1 Message Date
Nicolas Gallagher 831f59e003 [change] Deprecate 'transform' style array syntax
Use space-separated values per W3C standard.

Ref #2379
2023-03-20 12:25:50 -07:00
Nicolas Gallagher 5bc51420a8 [change] W3C verticalAlign style
* Add support for verticalAlign style.
* Deprecate textAlignVertical style.

Ref #2379
2023-03-20 12:25:50 -07:00
Nicolas Gallagher c6e77c36af [change] W3C fontVariant style values
* Add support for space-separated values.
* Deprecate array values.

Ref #2379
2023-03-20 12:25:50 -07:00
Nicolas Gallagher 72f9d4d05c Rewrite docs about company usage 2023-03-20 12:25:50 -07:00
Nicolas Gallagher 42bf402929 [change] Support W3C props on TextInput
* Add support for 'enterKeyHint' prop.
* Add support for 'inputMode' prop.
* Add support for 'readOnly' prop.
* Add support for 'rows' prop.
* Deprecate 'keyboardType' prop.
* Deprecate 'returnKeyType' prop.
* Deprecate 'editable' prop.
* Deprecate 'numberOfLines' prop.

Ref #2379
2023-03-20 12:25:50 -07:00
Nicolas Gallagher 67d52a43a9 [change] Support W3C ARIA props and styles
* Add support for 'aria-*' and 'role' props.
* Add support for 'id' and 'tabIndex' props.
* Add support for 'pointerEvents' and 'userSelect' styles.
* Deprecate 'accessibility*' props.
* Deprecate 'nativeId' and 'focusable' props.
* Deprecate 'pointerEvents' and 'selectable' props.

Ref #2379
2023-03-20 12:25:50 -07:00
Nicolas Gallagher 2874b281ff [change] Port ScrollView to Class Component
Port ScrollView from legacy createReactClass to ES6 Class syntax.
2023-03-20 12:25:50 -07:00
Nicolas Gallagher a33c322152 [change] Deprecate Touchables and Button components
These components have been replaced by Pressable and will be removed
from React Native.

Fix #2382
2023-03-20 12:25:50 -07:00
Nicolas Gallagher e8a0cbc60a [change] Map 'button' and 'paragraph' role to HTML elements
Fix #1899
Close #1944
2023-03-20 12:25:50 -07:00
Nicolas Gallagher 95c8a545a7 [change] Image deprecate resizeMode and tintColor styles
The resizeMode and tintColor props should be used instead. The styles
will be removed in a future release.

Fix #2383
2023-03-20 12:25:47 -07:00
Nicolas Gallagher 1f5d0925a5 [fix] Animated works with compiled styles
Animated should now work with compiled and extracted styles. The
original styles are passed to components, rather than being flattened
into a new object that cannot be used by the style runtime to either
lookup the results of StyleSheet.create calls or consume extracted
styles. Inline styles that use AnimatedValue are moved into a seperate
object that is appended to the original styles.

Fix #2387
2023-03-20 12:25:14 -07:00
Nicolas Gallagher e68c327707 [change] Remove setNativeProps API
Previously deprecated, and not supported in the React Native Fabric
architecture.

Close #1935
2023-03-20 12:25:14 -07:00
Nicolas Gallagher f3138931af [change] Update Animated to support React 18
And remove deprecated AppState.removeListener API

Fix #2378
2023-03-20 12:25:14 -07:00
Nicolas Gallagher fc0d84fba4 [change] StyleSheet.compose() deprecation
Encourage use of existing array syntax for multiple styles. Eventually
we'll want to remove the compose() API to simplify the overall styling API.
2023-03-20 12:25:14 -07:00
Eddie Kimmel 9868738604 [change] React 18 support
* Support React 18 concurrency and constraints.
* Add new render / hydrate functions.
* Remove uses of findNodeHandle.
* Expose ability to unmount an application once ran.

Fix #1529
Close #2330
2023-03-20 12:25:10 -07:00
Nicolas Gallagher 3a024ee308 [change] Remove platform-specific exports 2023-03-20 12:24:17 -07:00
dependabot[bot] bf24fb5a3a Bump webpack from 5.73.0 to 5.76.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.73.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 11:10:32 -07:00
Nicolas Gallagher e8098fd029 Fix label workflow actions 2023-01-27 10:45:27 -08:00
Bartosz Kaszubowski 9e3efa77e3 Fix actions used in workflows
Close #2461
2023-01-27 10:45:27 -08:00
dependabot[bot] 030023c4b4 Bump ua-parser-js from 0.7.31 to 0.7.33
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.31 to 0.7.33.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.31...0.7.33)

---
updated-dependencies:
- dependency-name: ua-parser-js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-27 10:10:29 -08:00
Nicolas Gallagher 57e2482eef 0.18.12 0.18.12 2023-01-25 14:07:01 -08:00
Abdelhafidh Belalia 77f6fba03d [fix] Avoid setting focus tabIndex on <body>
Also don't modify the tabIndex on contenteditable elements when using
programmatic focus APIs.

Fix #2473
Close #2468
2023-01-25 13:58:53 -08:00
Yogendra Rawal ccfd936f27 [fix] iOS not firing resize event when keyboard opens/closes
The workaround is listening to window.visualViewport 'resize' event.

Fix #2430
Close #2438
2023-01-25 13:13:26 -08:00
Nicolas Gallagher 21b5d44c74 0.18.11 0.18.11 2023-01-24 15:49:56 -08:00
Nicolas Gallagher ca152037bf [fix] 'accessibilityRequired' sets correct 'required' value
Fix #2451
2023-01-11 12:40:30 -08:00
dependabot[bot] f34377d410 Bump socket.io-parser from 4.0.4 to 4.0.5
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.0.4...4.0.5)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 12:35:00 -08:00
dependabot[bot] 56d287be0a Bump loader-utils from 2.0.0 to 2.0.4
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.0 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.0...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 12:29:14 -08:00
dependabot[bot] 18ea5cdaf6 Bump engine.io from 6.2.0 to 6.2.1
Bumps [engine.io](https://github.com/socketio/engine.io) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.2.0...6.2.1)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 12:29:03 -08:00
dependabot[bot] cfa2625220 Bump json5 from 2.2.1 to 2.2.3
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 12:28:31 -08:00
dependabot[bot] c336e7cdb6 Bump luxon from 2.4.0 to 2.5.2
Bumps [luxon](https://github.com/moment/luxon) from 2.4.0 to 2.5.2.
- [Release notes](https://github.com/moment/luxon/releases)
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moment/luxon/compare/2.4.0...2.5.2)

---
updated-dependencies:
- dependency-name: luxon
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 12:28:15 -08:00
Nicolas Gallagher fa47f80d34 0.18.10 0.18.10 2022-11-02 11:37:01 -07:00
Nicolas Gallagher 0f692f2c2b [fix] Dimensions.get() should not call change listeners
Fixes a bug introduced by 59af091fdb

Fix #2394
2022-11-02 11:26:24 -07:00
Nicolas Gallagher dee258ae02 0.18.9 0.18.9 2022-08-30 14:41:09 -07:00
Kyle Rosenberg 9766fe6d4b [fix] Export useLocaleContext as default export
Close #2389
2022-08-30 14:39:14 -07:00
Md Neyaz Ahmad c764f96ef4 [fix] Allow TextInput to dispatch 'submit' event
Close #2371
2022-08-25 11:08:10 -07:00
dependabot[bot] b6c8da8c4b Bump terser from 5.14.1 to 5.15.0
Bumps [terser](https://github.com/terser/terser) from 5.14.1 to 5.15.0.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.14.1...v5.15.0)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-25 18:05:09 +00:00
Nicolas Gallagher bd409f6a15 0.18.8 0.18.8 2022-08-25 11:04:00 -07:00
Nicolas Gallagher 290cae2a38 [fix] Image throws error if packager asset isn't resolved
Fix #2370
2022-08-25 10:57:39 -07:00
Nicolas Gallagher 93b1d04306 [fix] CheckBox supports readOnly on native control
Fix #2359
2022-08-25 10:57:25 -07:00
Nicolas Gallagher 107c6eeb46 [fix] Allow Pressable to be programmatically focused when disabled
Fix #2357
2022-08-24 14:39:55 -07:00
Nicolas Gallagher 3fc40bdf81 Fix README examples app url
Close #2338
2022-07-19 15:04:56 -07:00
Nicolas Gallagher bac3651db3 0.18.7 0.18.7 2022-07-19 14:32:59 -07:00
Brent Vatne cc9c9f1ec8 Update react peer dependency in react-native-web
Play nicely with npm 7+ and react-native@0.69 / react@18

Close #2347
2022-07-19 14:28:11 -07:00
Ondrej Zaruba bbffe86fd6 ResponderTouchHistoryStore into instanciated class
Refactor ResponderTouchHistoryStore from singleton to class instantiated
in ResponderSystem. This is a part of greater effort to enable support
for multiple browser windows

Close #2190
2022-07-19 14:04:51 -07:00
ToyboxZach 32a4bf8e51 [fix] Improve Flow types of StyleSheet.create
Close #2342
2022-07-19 13:37:28 -07:00
yuxizhe 4a9bea27a8 [fix] Pressable prevent longpress contextmenu on Windows
Long-press with a touch on a Pressable does not suppress the contextmenu
on Windows. On iOS and Android, the contextmenu is triggered while the
pointer is down, after a certain length of time. However, on Windows,
the contextmenu is displayed after pointerup (with the same timestamp as
pointerup), whether triggered by a mouse right-click or a touch
long-press.

Fix #2296
Close #2316
2022-07-19 13:26:58 -07:00
kyletsang 07feddf300 Replace fbjs performanceNow with performance.now
Close #2337
Ref ##2333
2022-07-08 12:59:43 -07:00
Cody Rathor 8c365d9892 Replace fbjs canUseDom with inline module
Close #2336
Ref #2333
2022-07-08 12:59:11 -07:00
Nicolas Gallagher 80a72c327c 0.18.6 0.18.6 2022-07-06 16:34:00 -07:00
Nicolas Gallagher 06c14c460c Update github issue template 2022-07-06 16:32:00 -07:00