Граф коммитов

28 Коммитов

Автор SHA1 Сообщение Дата
Andrew Coates 6164473627
Update to RN 0.73 (#3543)
* Update to RN 0.73

* Change files

* RN 73 requires node 18

* Add 72 profile

* Update wdio/appium etc to get it running on node 18

* fix

* fix

* Update podfile locks

* fix

* fix

* fix

* see if building fixes resolution of focus-zone by e2e tests

* Try specifying reports dir with full path

* Try debug level reporting to identify error creating logs

* try enabling more logs

* alternate way to specify logfile.

* downgrade @wdio/appium-service to move before https://github.com/webdriverio/webdriverio/pull/12095

* Test no-packager

* yarn init-test-app  (With cleanup)

* Try install Java18

* fix

* fix

* Android E2E fixes

* fix?

* fix

* fix

* Add more logging for E2E android test failure

* more logs

* more log

* Use actual scroll region, to avoid OS swipe gestures

* Increase android time out to navigate to page

* fix

* remove extra try/catch and logging

* Fix windows build

* test windows PR without node install

---------

Co-authored-by: Saad Najmi <sanajmi@microsoft.com>
2024-04-11 10:32:42 -07:00
Saad Najmi 95cf797983
[CI] Fix react-native-test-app and react-native-macos not upgrading (#3406)
* [CI] Fix react-native-test-app and react-native-macos not upgrading

* Change files

* Use RNTA 3.1.1
2024-02-02 11:40:26 -08:00
Saad Najmi 7816839224
Update to react-native-test-app 3.0.0 (#3353)
* Update to react-native-test-app 3.0.0

* Change files
2024-01-10 11:55:55 -08:00
Saad Najmi 4b647a7b04
[Apple] Remove Run Metro hook, update minimum OS dependency (#3322)
* [Apple] Various podfile fixes

* Change files

* fix typo
2023-12-20 14:15:38 -06:00
Saad Najmi a55dd40020
[CI] Refactor Apple CI (#3118)
* [CI] Update to macOS 13 / Xcode 15

* Dont pre boot simulator

* yarn dedupe

* (test) Determine iOS SDK version

* Degrade to iOS 16.4

* Test

* no boot

* macos too

* Back to iOS 17.0

* Update to react-native 0.71.14

* Downgrade to Xcode 14.2

* Undo yarn lock and package json changes

* more downgrade

* Switch back to internal

* more slight changes

* No android update.. again
2023-10-20 06:37:11 +00:00
Anindit K 426330058b
Native DatePicker Android (#3083)
* Android native module

* Call datepickerdialog show()

* refactor

* Wrap params

* Android native module

* Call datepickerdialog show()

* refactor

* Wrap params

* datetime

* date time calculations

* PR comments + refactor types

* Change files

* prettier fix

* import type fix
2023-09-19 12:01:59 -07:00
Ayush Singh 08baf35e97
[iOS] Tokenize Radio Group / Checkbox (#2969)
* Init commit

* Fix radio

* Fix radio

* Update tests

* Change files

* Fix depcheck
2023-08-16 14:33:51 -07:00
Saad Najmi 8c0f9d27e3
Update to React Native 0.71 (#2754)
* align-deps: Fix warnigns and issues

* Upgrade react-native-test-app

* Update align-deps to 0.71

* Fix JS build issues

* Try build apple

* Change files

* babel runtime classic

* resolve react-native-svg to 13.9.0

* Fix more bundling errors

* Change files

* tests

* update package versions

* Get jest tests working

* Change files

* Bump rnwin32 version and clean up imports

* fix issue which caused a ts-ignore to inserted

* Try using a specific image for windows PR

* Updated yml

* try OE-OfficePublic

* update pool

* another pipeline fix

* Update adapters

* Fix UWP tester app

* Fix android PR

* bump RNW version, and use AutomationProperties.AutomationId for mapping from AccessibilityLabel

* Revert back to name - and bump rn-macos

* bump RNW

* bump @office-iss/rex-win32 version

* Try a accessibilty fix for RNW...

* undo previous UWP fix attempt

* Update react-native-windows

* fix

* Change files

* align-deps on drawer

* Move new components to classic runtime

* Test

* Update iOS wdio config

* Revert change that broke windows e2e tests

* Use iOS 16.2

* Match iPhone simulators

* Fix ActivityIndicator

* Disable Drawer test

* Specify simulator in CI

* Fix yml

* Update snapshot

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

---------

Co-authored-by: Andrew Coates <30809111+acoates-ms@users.noreply.github.com>
Co-authored-by: Andrew Coates <acoates@microsoft.com>
2023-06-05 11:49:06 -07:00
Mike Schreiber 607657baed
Update native modules to FUA 0.13 (#2634)
* Update native modules to FUA 0.13

* Change files

* Update macOS Podfile.lock
2023-02-16 21:53:07 -08:00
Mike Schreiber 6b1449d565
Adding FRNAppearanceAdditions native module (#2554)
* Adding a new native module, `AppearanceAdditions`

* Change IAppearanceAdditions

* Update lock files

* Change files
2023-01-26 09:13:58 -08:00
Adam Gleitman f9e474adc4
Use a V2 variant style for Notification's action button (#2472)
* Use V2 font variant for notification action button

* Update Podfile

* Change files

Co-authored-by: Adam Gleitman <adgleitm@microsoft.com>
2022-12-30 15:28:46 -08:00
huwilkes 57ea8967c4
Update Fluent UI Apple to version 0.10.0 (#2455)
### Platforms Impacted
- [x] iOS
- [x] macOS
- [ ] win32 (Office)
- [ ] windows
- [ ] android

### Description of changes

Updated Fluent UI Apple to 0.10.0. Going from 0.9 to 0.10 didn't really have any impact, but we seem to have missed the bump to 0.9, which had some changes to the Avatar.

### Verification

| Before                                       | After                                      |
|----------------------------------------------|--------------------------------------------|
| ![FURN_Avatar_Mac_Before](https://user-images.githubusercontent.com/67026548/209225085-fdfd3f3e-077d-45b2-adb7-f9d4ab4258cb.png) | ![FURN_Avatar_Mac_After](https://user-images.githubusercontent.com/67026548/209224857-25bc970d-d241-4519-b45e-6b75ed2a7ced.png) |
| ![FURN_Avatar_iOS_Before](https://user-images.githubusercontent.com/67026548/209224875-b1520df6-90fc-42a2-8fc0-c9b55cd0eeab.png) | ![FURN_Avatar_iOS_After](https://user-images.githubusercontent.com/67026548/209224885-f77caee8-ee6a-4342-b5cf-6e3581114e3b.png) |

### Pull request checklist

This PR has considered (when applicable):
- [ ] Automated Tests
- [ ] Documentation and examples
- [ ] Keyboard Accessibility
- [ ] Voiceover
- [ ] Internationalization and Right-to-left Layouts
2022-12-27 20:56:40 +00:00
Adam Gleitman 2e9c3b75cb
Clarify V2Usage on iOS (#2426)
* Clarify V2Usage on iOS

* Change files

Co-authored-by: Adam Gleitman <adgleitm@microsoft.com>
2022-12-22 13:49:18 -08:00
Adam Gleitman ac1a77d965
Add maximumFontSize (#2389)
* Add maximumSize

* Remove extra LimitedDisplay customization

* Change files

* Simplify maximumFontSize math

* grammar

* Add comment about iOS-only FontStyleTokens props

* Add documentation for custom TextTokens

* TODO(#2268) -> GH #2268

* Add MaximumFontSize test element

* Organize imports

* Change files

Co-authored-by: Adam Gleitman <adgleitm@microsoft.com>
2022-12-15 06:22:37 -08:00
Adam Gleitman bb56215afe
Allow V2 variants to be used in V1-style Text elements and still respect Dynamic Type (#2376)
* Move `dynamicTypeRamp` definitions

* Update Podfile.lock

* Allow V1 usage of V2 variants

* Change files

* Clarify a comment

* Typescript type stuff

Co-authored-by: Adam Gleitman <adgleitm@microsoft.com>
2022-12-05 15:32:57 -08:00
Adam Gleitman 1b0f4b66f9
Use FRNFontMetrics module in `Text` (#2269)
* Add FRNFontMetrics module

* Remove debugging `console.log` statements

* Use a hook to access font metrics

* Add NativeFontMetrics package

* Remove unneeded API

* Fix spacing

* Change files

* Add @types/use-subscription dependency

* Update yarn.lock

* Add use-subscription as a dependency

* Update yarn.lock again

* NativeFontMetrics.tsx -> NativeFontMetrics.ts

* Make NativeFontMetrics iOS only, part 1

* Stub out NativeFontMetrics for non-iOS platforms

* Keep use-subscription version consistent with react-native and react-native-macos

* Remove core-android capability

* id -> UIFontTextStyle

* Delete old changefile

* Regenerate lockfiles

* Delete duplicate NativeFontMetrics.tsx file

* Change files

* allScaleFactors -> currentScaleFactors

* Use pure events to update font metrics

* Update package.nuspec

* Use pure JS hook to make V2 Texts rerender

* Change files

* Update snapshot

* Remove unneeded dependency

* Move fontMetrics to iOS specific file

* Better isolation of iOS-specific code

* Add useFontMetrics.ios.ts

* Remove useFontMetricsScaleFactors warning on non-iOS platforms

* Move fontMetrics accesses outside of continuation, and improve typing

* Fix Text rerender shallow equality test

* Handle case when NativeFontMetrics isn't defined

* IFontMetrics -> FontMetrics

* Keep `mergedProps` spreads next to each other

Co-authored-by: Adam Gleitman <adgleitm@microsoft.com>
2022-11-28 11:29:22 -08:00
Tommy Nguyen 2ff72a287c
chore: address Android build issues (#2304)
A recent publishing mistake is breaking all Android build regardless of
React Native version. This patch release works around the issue. For more
details, see https://github.com/facebook/react-native/issues/35210.
2022-11-07 16:13:29 +01:00
Tommy Nguyen 31bcec5128
fix(ios): fix autolinking FRNAvatar and FRNDatePicker (#2225) 2022-10-12 14:49:40 +02:00
Adam Gleitman 3547a335f4
Add iOS spacing tokens (#2197)
* Add new spacing tokens

* Add iOS test page

* Change files
2022-10-11 15:20:23 -07:00
Adam Gleitman 6706e18d88
Add iOS typography tokens (#2141)
* fix typo in line height name

* Add FURN iOS typography token support

* Move V2 test examples to TextExperimental

* Use null for unavailable V2 text types

* Separate V2Usage by platform

* Update Podfile.lock

* Use null coalescing so non-nullish falsy values are accepted

* Use optional chaining for `variants[variant]`

* Change files

* Update snapshots

* Change files
2022-09-21 13:38:54 -07:00
Sophia Lee 259b0a7324
Bumping FluentUI Apple version (0.8.3) (#2142) 2022-09-20 16:11:15 -07:00
Saad Najmi 757b02b2c8
Fluent Tester: App Icons + iPad multitasking support + app icons (#1952)
### Platforms Impacted
- [x] iOS
- [x] macOS
- [ ] win32 (Office)
- [ ] windows
- [x] android

### Description of changes

Let's bump us to the latest release of react-native-test-app, which gets us a lot of goodies :) 

1) Turbomodule support. https://github.com/microsoft/react-native-test-app/pull/843
2) App icon support. https://github.com/microsoft/react-native-test-app/pull/1022
3) iPad Slide Over window / multi-tasking support. https://github.com/microsoft/react-native-test-app/pull/1032

We also got a designer to make us icons =). I chose the blue set over the pink set.


### Verification

I didn't test building with turbo modules, we don't quite support this yet anyway. 

Verified that SlideOver windows work on iOS. Some additional JS fixes are needed to make layout act properly though.

Android icon:
![Screen Shot 2022-08-03 at 11 54 53 AM](https://user-images.githubusercontent.com/6722175/182688353-ecc6d603-88de-42f6-8c4e-8141aecd0dc3.png)

macOS icon (dock):
![image](https://user-images.githubusercontent.com/6722175/182688427-30fcd29a-2fe4-48b8-a720-96202a2e36e2.png)


iOS icon
![Screen Shot 2022-08-03 at 10 45 12 AM](https://user-images.githubusercontent.com/6722175/182688298-3925cd20-eb9b-4d64-adb6-7dd74662b84d.png)


### Pull request checklist

This PR has considered (when applicable):
- [ ] Automated Tests
- [ ] Documentation and examples
- [ ] Keyboard Accessibility
- [ ] Voiceover
- [ ] Internationalization and Right-to-left Layouts
2022-08-07 20:22:44 +00:00
Harrie Shin 1e36771980
update fluentuiapple version (#1963)
* update fua version

* Change files
2022-08-05 12:42:10 -07:00
Saad Najmi 9eefb3b9da
Fix Apple nuget by disabling flipper (#1920)
* disable flipper

* Change files
2022-07-28 18:57:58 -07:00
Saad Najmi 0772c56749
Combine platform specific test apps (except win32) (#1535)
* update fluent-tester

* delete others

* move FluentTester src

* yarn build works

* rnx-bundle works

* autolinking bug workaround + android

* windows works

* Update Apple CI

* More CI updates

* Update more CI

* update

* more updates

* More updates

* Change files

* maybe fix android

* fix ci?

* fix ci?

* ci

* setup emulator

* Remove expander

* More fixes

* The final countdown

* more fixes

* fix more links

* derp

* Change files

* Rearrange jobs and more fixes

* JS PR back to top

* remove flag that doesn't work

* Update android bundle name, enable single app mode

* forgot some

* Remove extra space

* update lock

* Update CI

* Remove Drawer from Fluent tester for now

* remove drawer again

* Change files

* Fix metro configs

* rerun `yarn configure-test-app` and add back some more metro config changes

* no expander

* update react dep + fix pipeline maybe

* delete duplicate job

* update yarn lock

* add back rnta

* Change files

* Move new tests

* Fix bundle

* update links + Podfile + delete podfile locks temporarily

* remove drawer again, add back locks

* Update apps/fluent-tester/package.json

Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>

* Update apps/win32/package.json

Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>

* Update apps/fluent-tester/metro.config.js

Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>

* updates

* back to windows-2019

* merge

* remove --use-nuget

* Update .ado/azure-pipelines.yml

* Add back auto-lauch packager to ios/macos

Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-07-25 14:08:05 -07:00
Jason Morse 1d2b333a0d
Update RN to 0.62 and make app folders platform specific (#181)
* bump beachball version to one with prepublish fix

* update beachball hook to use new prepublish strategy

* add 0.62 version of windows code

* ignore build artifacts

* remove ios and android files from windows directory

* remove expo playground

* lockfile update after expo removal

* pare down packages in scripts

* remove bundle from core library

* remove metro config for unused bundle

* separate app and tester for win32

* remove bundle from fluent-tester

* remove some hard dependencies

* update RNW to 0.62 version

* bump react native to 0.62

* get a working windows bundle command

* expose watch folders routine for use in windows applet

* update react versions to match

* yarn upgrade results

* more package version updates

* fix windows bundle to point to tester

* fix build errors from version update

* rebuild yarn lock with yarnpkg.com instead of npmjs.org

* update yarn lock file

* remove last docs project from merge conflict

* remove unused packages

* remove dedent package, it was unused

* remove even more packages

* get just command that works with cli

* add apps/mobile to replace expo

* Change files

* align react versions to try to fix hooks issue in tests

* remove a few more unused files

* align jest versions in repo

* get rid of npmjs references in lockfile

* get windows tester up and running

* directly pin react and react-native versions

* update yarn lock file
2020-04-24 12:32:32 -07:00
Christopher Hogan b1ebe2deef Stand up the iOS FluentUI-React-Native project 2020-04-13 17:40:22 -07:00
Jason Morse 0e94324d2a
Bundling, jest improvements, adding windows tester (#145)
* add initial windows template

* minor updates to configuration

* rename tester package

* update fluent-tester deps

* pull experiments/tester out of the compilation

* move tester sources to fluent-tester

* more file changes

* switch the bin name from just-script to fluent-scripts to disambiguate names

* get bundling working in fluent-tester for win32

* unhoist RN to unblock win32

* move last few files from experiments/tester

* Change files

* add .DS_Store to root gitignore

* more config and babel updates

* fix build/bundling errors after syncing master

* fixed metro bundling and start to build rn tools package

* restore checkbox test

* move checkbox test to match pattern from other components

* clean up unused files in scripts

* fix build errors from merge and script transfer

* fix final bundling issues

* Change files

* more updates to fix configurations

* remove demo and experimental web controls

* add pressability from RN 0.63 and rework interactive hooks

* remove win32 references from the tester

* move metro task to build tools

* rename file

* fix windows and win32 bundles

* improve overall bundling task workflow

* fix some win32 build errors

* add some configuration versatility

* add server option to metro task

* add postinstall script to update caches

* attempts to make XAML version reference the right bundle

* enable jest tests for Text and Separator

* Change files

* update yarn.lock

* write windows bundle to dist
2020-04-03 13:21:30 -07:00