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

82 Коммитов

Автор SHA1 Сообщение Дата
Lawrence Win 4eb131d61e
Delete Tabs and Experimental Tabs (#3356)
* Delete TabsV1 code

* Remove Tabs package

* Update yarn.lock

* Change files

* Remove e2e tests

* Change files

* Remove tabs test exports

* Remove dead link to Tabs package

* Add tablist to core library
2024-01-16 16:56:21 -08: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
lenahong 4a7c99bf13
How to Style Components doc (#2561)
* add Stylingcomponent doc

* add more info to doc

* fix wording and grammar

* added link for overriding tokens

* using customized with compose

* make edits to the style doc

* fix link in doc

* Update StylingComponents.md

fix link

* Fix link for overrides

---------

Co-authored-by: REDMOND\gulnazsayed <gulnazsayed@microsoft.com>
2023-02-04 07:37:19 +09:00
Lynn Zhang 03fb14f137
Add notification example + other notes + branding todo (#2592) 2023-02-02 15:36:58 -08:00
E.J. Layne daf16c0faa
Update Basics.md with correct example (#2569)
Made an update to the Accessing theme properties example, where it was not using the stock RN styling prop, and instead trying to use a color prop that doesn't exist on stock RN Text component.
2023-02-02 05:16:46 -08:00
Adam Gleitman deddda487f
Move text documentation (#2533)
* Move Text part of typography docs to Text README

* Change files

* Fix Markdown link

* Add reference to SPEC.md

Co-authored-by: Adam Gleitman <adgleitm@microsoft.com>
2023-01-20 13:15:29 -08:00
Adam Gleitman 2b97db4a5a
Distinguish between TextV1 and V2 text elements (#2381)
* Add font and typography documentation

* Text -> TextV1

* variants in typography object

* Add note on differences between TextV1 and V2 JSX types

Co-authored-by: Adam Gleitman <adgleitm@microsoft.com>
2022-12-02 18:17:59 -08:00
Adam Gleitman ea467a62fb
Add font and typography documentation (#2363)
* Add font and typography documentation

* Text -> TextV1

* variants in typography object

Co-authored-by: Adam Gleitman <adgleitm@microsoft.com>
2022-12-01 16:22:29 -08:00
lyzhan7 14465a3978
Update token documentation: shadow, corner radius, stroke width, size (#2344)
* Update global token documentation: make it not specific to color, add examples

* Remove font documentation

* Attempt to fix repo links - add ignore pattern for fluentui-design-tokens repo

* No additions, just rearranging documentation

Moved the different types of tokens to a new section, rearranged them in alphabetical order

* Add shadow documentation + some minor edits

* Respond to comments
2022-11-21 12:32:49 -08:00
lyzhan7 b4bc2de790
Bump token packages to 0.31.0 (#2318)
* Bump all design-tokens packages to 0.29.0

* Update shadow naming

* Update font size naming (except Text)

* Update font size naming for Text

* Update naming for the color grey

* More shadow token naming updates

* Update line height naming + more font size naming updates

* Update stroke width token naming

* Forgot to save a color grey naming update

* More shadow renaming updates: missing .global, update comments

* Update snapshots affected by spacing rename

* Another shadow rename related change

* Split defaultColors.ts to fix brand color issues

* Update snapshots after previous commit

* Change files

* Bump design tokens packages from 0.29.0 to 0.31.0

* Update snapshots - no more undefined properties

 All changes are related to the updated brand color ramp, there should be no other changes.

* Update corner radius tokens (the obvious ones - everything except large/extraLarge)

corner.radius.none -> corner.radiusNone
corner.radius.small -> corner.radius20
corner.radius.medium -> corner.radius40
corner.radius.circle -> corner.radiusCircular

* Update corner radius token naming (large/extra large), all in AvatarTokens

Used large -> 60 and extraLarge -> 80, based on the old win32 values.
The old values for mobile were large -> 80 and extraLarge -> 120

* Change files

* Forgot to save apple-theme/package.json

* This line got deleted by accident

* Update brand color ramp mapping

* Just grouping the colors we want to deprecate together, no changes to token definitions

* Update snapshots after updating brand color mapping
2022-11-11 09:44:25 -08: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
Ruriko Araki 5713467a64
Token documentation (#1852)
* Rename files to be less color specific

* Global tokens

* Other documentation

* Fix typo
2022-07-18 10:43:53 -07:00
Ruriko Araki a477c2deb7
Some examples of modifying theme (#1574)
* Some examples of modifying theme

* Remove one extra brace level
2022-04-12 11:19:30 -07:00
Ruriko Araki bcd4ac6dc7
Design tokens intergration (#1563)
* Pull in design tokens

* Pull in design tokens

* Remove unnecessary files

* Remove unnecessary lines from build-tokens script

* Change files

* Update package

* Remove link

* Fix build

* Remove unnecessary files

* Some cleanup

* Fix HC

* Update things again

* Change files
2022-04-06 15:41:28 -07:00
Ruriko Araki c183b7eb02
Refactor theming (#1562)
* Move win32 alias tokens out

* Update pipeline

* Fix build

* Move apple alias tokens out

* Update tsconfig to allow for JSON files

* Move android output

* Change files

* Fix links

* Fix depcheck

* Run prettier

* Edit tsconfig
2022-04-05 12:48:55 -07:00
Ruriko Araki 0bbf3a115e
Ignore 429 error from markdown-link-check (#1534)
* Change links to point not using urls

* Ignore 429 status codes

* Change files

* Try adding a comment
2022-03-23 11:15:44 -07:00
Ruriko Araki 051e390caa
Bump eslint-plugin to 0.2.11 and fix hook-related errors (#1494)
* Bump @rnx-kit/eslint-plugin from 0.2.10 to 0.2.11

Bumps [@rnx-kit/eslint-plugin](https://github.com/microsoft/rnx-kit/tree/HEAD/packages/eslint-plugin) from 0.2.10 to 0.2.11.
- [Release notes](https://github.com/microsoft/rnx-kit/releases)
- [Changelog](https://github.com/microsoft/rnx-kit/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/microsoft/rnx-kit/commits/@rnx-kit/eslint-plugin@0.2.11/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@rnx-kit/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix build

* Fix build again

* Update doc

* Fix menubutton hooks

* Fix MenuButton component

* Tabs

* Change files

* Fix tester

* Change files

* Fix build

* Fix dependency

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-04 14:12:14 -08:00
Ruriko Araki 52745ec564
Remove dependencies in docs (#1455)
* Remove next dependency

* Rename files

* Rename links

* Rename links

* Update index

* Update index
2022-02-17 15:36:25 -08:00
Ruriko Araki a04ce397b0
Fix links (#1442)
* Change files

* Fixing links

* Fix link

* Fix link
2022-02-15 12:36:40 -08:00
Ruriko Araki 6a28406803
Update theme documentation (#1438)
* Replace some photos

* Replace some photos

* Rewrite some parts

* Some rewrite

* Better examples

* Small fixes

* Add more detail

* Edits

* Edits

* Edits

* Address feedback
2022-02-15 11:00:53 -08:00
Ruriko Araki ffd67ea594
Migrate `Button` V2 to `component` folder (#1383)
### Platforms Impacted
- [x] iOS
- [x] macOS
- [x] win32 (Office)
- [x] windows
- [x] android

### Description of changes=

This PR moves the experimental button into the component button, as we are close to finishing the Button for V2. This PR will NOT be committed until messaging and the component has had final sign off from @ejlayne.

NOTE: It may be easier to review this commit-by-commit than all at once.

1. Old Button component is moved under a deprecated folder.
2. All experimental button files have been moved to the button package. The experimental button has been (temporarily) exported as `ButtonV2` to avoid name clashing with the already existing `Button`.
3. The experimental-button package now just reexports what it used to have from the button package. This is to minimize dropping changes we make to the V2 Button while migrating, and not have duplicate code.
4. Added deprecation messages to the experimental package and the old Button component:
    - Experimental package will have the message "The @fluentui-react-native/exprimental-button package is deprecated. The contents of this package have been moved to @fluentui-react-native/button. If you need to use the Button component from this package, please use ButtonV2 from @fluentui-react-native/button."
    - The old Button components will show in intellisense "This component is deprecated in favor of ButtonV2. This Button will be removed when the package moves to 1.0.0. At that point, ButtonV2 will be renamed to Button. Please see MIGRATION.md for details on how to move to the new Button."
5. I removed default exports for each control as I was worried that they would clash. This does not affect what gets exported from the package.
6. Merged the Button test pages for both buttons to one page. The old Button tests are now at the bottom of the Button test page. E2E tests have not been merged as I can't specify a test to look for more than two components.

### Verification

Verified that deprecation message only shows on debug, not release bundle
Verified that Button still loads out of experimental button. One test still pulls the button from the experimental-button package to ensure that it hasn't been broken.
Verified that deprecation intellisense shows up.
Verified that old Button is not affected via test page.
Verified E2E tests run on both versions of the button.

### Pull request checklist

This PR has considered (when applicable):
- [x] Automated Tests
- [x] Documentation and examples
- [ ] Keyboard Accessibility
- [ ] Voiceover
- [ ] Internationalization and Right-to-left Layouts
2022-02-15 00:15:27 +00:00
Ruriko Araki dc350844d0
Updating migration documentation (#1408)
* Some edits

* migrating compose

* Change files

* Add link to migration documentation

* More details and exmaples

* More details

* Move file

* Add more details about component rename

* Change files

* Address feedback
2022-02-08 16:58:17 -08:00
Ruriko Araki 63c1592fcb
Migration details from fluentui (#1250)
* Migration details from fluentui

* Change files

* Fix link

* Edit wording
2022-01-06 11:41:13 -08:00
Ruriko Araki f4a5b4f5c9
Add repository property to our package.json files (#1280)
* Add repository property to all package.json files

* Change files

* Manually modufy change files

* Manually modufy change files
2021-12-20 13:51:29 -08:00
Ruriko Araki fb7f3720c6
Fix links (#1263) 2021-12-16 17:48:40 -08:00
Samuel Freiberg 3d845bd35d
Adding Some Missing Component Documentation (#1077)
* Yarn

* Merge

* Fixing repo

* Update package

* Merge

* Removing change file

* Add Tabs + FocusZone documentation

* Add Shimmer Documentation

* Fixing documentation

* Adding Callout documentation

* MenuButton doc isn't created yet

* Updating accessibilityPositionInSet and accessibilitySetSize props for RadioButton

* Updating format of RadioGroup tokens to a table
2021-11-15 10:24:57 -07:00
Ruriko Araki c9419d9322
Add writeup of theming testing on win32 (#1127)
### Platforms Impacted
- [ ] iOS
- [ ] macOS
- [x] win32 (Office)
- [ ] windows
- [ ] android

### Description of changes

Quick writeup of how to test theming in win32 tester

### Pull request checklist

This PR has considered (when applicable):
- [ ] Automated Tests
- [x] Documentation and examples
- [ ] Keyboard Accessibility
- [ ] Voiceover
- [ ] Internationalization and Right-to-left Layouts
2021-11-08 21:17:34 +00:00
Keven Arroyo 00b54000e8
New pipeline to test if links on the repo are working (#891)
* New pipeline to test if links on the repo are working

* Adding command

* Testing different path

* Parameter to fail test

* Reverting change

* Testing another fail condition

* Missing fail error

* Testing different test failure

* testing out xargs

* Fixing broken links to pass test

* Fix broken link

* Change name of config file

Co-authored-by: Krystal Kramer <krsiler@microsoft.com>
2021-09-30 16:04:15 -04:00
Ruriko Araki 41f6b1e982
Documentation on color tokens and usage (#1007)
* Add documentation on color tokens

* Write how to use tokens in component tokens

* Revert accidental prettier bump
2021-09-16 10:34:36 -07:00
Ruriko Araki e22376782a
Documentation to move from old to new theme provider (#911)
* Add missing pages to index

* Documentation for theme provider converstion

* Update some paths

* Address feedback
2021-08-19 11:12:10 -07:00
Keven Arroyo 7e4df7ce9a
Documentation for the Tabs Control (#904)
* Added docs for Tabs

* Update Tabs.mdx

* Update Tabs.mdx

* Update Tabs.mdx

* Adding more tokens

* Sorting tokens
2021-08-19 12:18:37 -05:00
Ruriko Araki 4aacac3e83
Custom theming documentation (#898)
### Platforms Impacted
- [ ] iOS
- [ ] macOS
- [ ] win32 (Office)
- [ ] windows
- [ ] android

### Description of changes

Adding documentation for creating custom FURN themes.

Aim is to provide clear examples of how to add custom themes. Thanks to @FalseLobster for her examples in her AccChecker example, some of this documentation was modeled off of that example.

If there are use cases missing please let me know!

### Verification

Sending documentation to some partners as a test run

### Pull request checklist

This PR has considered (when applicable):
- [ ] Automated Tests
- [x] Documentation and examples
- [ ] Keyboard Accessibility
- [ ] Voiceover
- [ ] Internationalization and Right-to-left Layouts
2021-08-17 17:49:35 +00:00
Keven Arroyo 42c85c7df1
Updating more broken links (#890)
* Updating repo links

* Change files
2021-08-12 15:58:57 -05:00
Ruriko Araki 37f7f985c8
Add Theming documentation (#880)
* Edit main documentation, start adding initial page for theme documentation

* Add basics documentation, other pages for structure

* Progress on theme documentation

* Finish basics page

* Finish basics documentation

* Clean up example

* Add more explanation

* More documentation

* Fix images?

* Add iOS image

* Revert change to index page

* Add Theming pages to index

* Address feedback

* Address feedback
2021-08-10 14:17:20 -07:00
Nabil Khalil 3511ea45d4
Adding Additional Documentation (#803)
* Reintroduced docs folder that was missing

* Specified fluentui to fluentui-react-native/docs

* Delete CONTROLS_STATUS.md

Not needed at the momment as theres no way to sync its information from the multiple sources of truth.

* Delete Pressable.mdx

* Delete Stack.mdx

* Delete counter.jsx

* Delete Text.mdx

* Removed docs not updated and fixed linking

* Removed JSX importing into MDX example

* Updated name from experimental to @fluentui/framework

* Divided theming more

* Moving to a new location

Moving this to the frameworks folder in packages

* list of docs from experimental moved to framework

* Added pages for future documentation on currently existing componenets/utilities

* Delete Seperator.mdx

* Added all componenets and utils to the index.mdx

* added missing .mdx extensions

Co-authored-by: Keven Arroyo <dake.3601@gmail.com>
Co-authored-by: sriya112 <sriyaaluru@gmail.com>
2021-08-05 14:24:09 -07:00
Patrick Boyd b1ec056884
Remove docs package (#178)
* Remove all docs content from fluentui-react-native

* add headline links to documentation

* update yarn.lock

* update yarn.lock for merge

* re-add images to new assets dir for repo readmes to reference

* refresh yarn.lock

* refresh yarn.lock cleanly after mege

* update yarn.lock

Co-authored-by: Chris Hogan <chrishog@microsoft.com>
2020-04-22 17:04:27 -07:00
UI-Fabric-RN-Bot b94dc570ad 📦 applying package updates ***NO_CI*** 2020-04-22 02:30:04 +00:00
UI-Fabric-RN-Bot ff5d63bd8f 📦 applying package updates ***NO_CI*** 2020-04-21 23:50:25 +00:00
UI-Fabric-RN-Bot 731c0c47aa 📦 applying package updates ***NO_CI*** 2020-04-21 17:03:45 +00:00
UI-Fabric-RN-Bot 76b9ad43db 📦 applying package updates ***NO_CI*** 2020-04-21 05:58:24 +00:00
UI-Fabric-RN-Bot c525b0e1fd 📦 applying package updates ***NO_CI*** 2020-04-21 00:41:10 +00:00
UI-Fabric-RN-Bot 508c3dcde9 📦 applying package updates ***NO_CI*** 2020-04-17 22:36:03 +00:00
UI-Fabric-RN-Bot f73af31be4 📦 applying package updates ***NO_CI*** 2020-04-17 16:48:18 +00:00
Krystal Siler 302097d2dc
Revert "Merge pull request #136 from ksiler/fluent-variant-support" (#164)
* Revert "Merge pull request #136 from ksiler/fluent-variant-support"

This reverts commit fbbdcfe760, reversing
changes made to cf2dc6f865.

* Change files
2020-04-17 09:15:36 -07:00
UI-Fabric-RN-Bot 4cf53496c7 📦 applying package updates ***NO_CI*** 2020-04-16 23:57:38 +00:00
UI-Fabric-RN-Bot 67afefd70a 📦 applying package updates ***NO_CI*** 2020-04-14 05:14:46 +00:00
REDMOND\krsiler 1bf89ba5e1 Merge remote-tracking branch 'upstream/master' into a11y-documentation 2020-04-13 16:50:24 -07:00
REDMOND\krsiler c8bccc9dbe Merge remote-tracking branch 'upstream/a11y-documentation' into a11y-documentation 2020-04-13 16:49:43 -07:00
UI-Fabric-RN-Bot c16353febe 📦 applying package updates ***NO_CI*** 2020-04-13 22:48:23 +00:00
REDMOND\krsiler e913c95440 restore files that should have been unchanged 2020-04-13 11:48:52 -07:00