Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialog pinch zoom #7012

Open
wants to merge 300 commits into
base: main
Choose a base branch
from
Open

Dialog pinch zoom #7012

wants to merge 300 commits into from

Conversation

tomdohnal
Copy link

Closes #1898

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

snowystinger and others added 30 commits February 15, 2024 11:20
* ButtonGroup
* fix lint

* fix typescript
* initial add progress bar

* add animationIterationCount to theme

* add story decorators for static color backgrounds

* more style fixes

* more value fixes

* support classnames in field label

* cleanup

* cleanup

* address review comments

* add autodocs

* update size jsdoc

* fix label position and row gap

* use self(height) instead of new variable

* improve styles

* remove width prop

* move text static colors to FieldLabel

* use full border radius

* various color improvements

Co-authored-by: Reid Barber <[email protected]>
* Add pre commit hook for lint
* add new story with Tag links

* style cursor as pointer for links

* add Link to empty tag example

* remove errorMessage prop

* fix isEmphasized text color

* remove isRequired prop

* update field gap to match other fields

* make renderEmptyState font family sans

* remove dup key in theme

* fix WebkitTapHighlightColor for disabled tag

* remove WebkitTapHighlightColor handling

* cleanup stories

Co-authored-by: Reid Barber <[email protected]>
* renaming to picker and adding initial style macro changes

* field and input styles added

* two quick style fixes from feedback

* removing staticColor, fixing isDisabled, and improving some prop handling

* lint spacing fixes

* fixing the focusRing after menu close

* quiet style as element with rounded ends

* undid testing mode

* implementing the isQuiet focus ring more closely, but looks less correct

* chevron icon cleanup

* refining styles based on feedback

Co-authored-by: Kyle Taborski <[email protected]>
* initialize ref support

* add more ref support to components

* clean up

* more cleanup

* update refs

* remove dialog inner export, make helptext ref optional, fix ts

* more ts fixes

Co-authored-by: Yihui Liao <[email protected]>
* Fix disabled, emphasized, selected ToggleButton style

* Make it so selected quiet disabled toggle buttons are consistent with the non quiet variant

at the moment the designs show that disabled toggle buttons shouldnt have any style differences whether they are selected or not

* make forced colors match when selected/not selected and disabled
* Remove styleProps in InlineAlert

* create new styleProps with UNSAFE

* new file for styleProps

Co-authored-by: Yihui Liao <[email protected]>
Workflow icons
* Popover and Menu
* add isEmphasized to CheckboxGroup

* omits isDisabled from DropZone

* prioritize checkbox group isEmphasized

Co-authored-by: Yihui Liao <[email protected]>
yihuiliao and others added 28 commits August 20, 2024 18:23
* TS Strict Stately List
* fix various docs warnings

* typo
* Allow passing data attributes to FieldError

* Update FieldError.tsx

just fixing some lint, not sure how it passed

---------

Co-authored-by: Robert Snow <[email protected]>
Co-authored-by: Reid Barber <[email protected]>
* add RSP TreeView docs

* fix types

* address review comments

* fix typo

* add ActionGroup and ActionMenu examples

* address review comments

* remove comment

* Update packages/@react-spectrum/tree/docs/TreeView.mdx

---------

Co-authored-by: Robert Snow <[email protected]>
* Update Picker placeholder to be shorter (adobe#6796)

* feat: Support fragments in collections (adobe#6430)

Co-authored-by: Reid Barber <[email protected]>
Co-authored-by: Robert Snow <[email protected]>

* Exposing prop disabledBehavior to TableView (adobe#6832)

* fix/bug useTablist adobe#5996 (adobe#6023)

* fix/bug useTabist adobe#5996 and added tests

* Extract `ToggleStateProps` type to use only what is needed in `useToggleState` (adobe#3836)

* Extract `ToggleStateProps` type to use only what is needed in `useToggleState`

---------

Co-authored-by: Robert Snow <[email protected]>
Co-authored-by: solimant <[email protected]>
Co-authored-by: Kyle Taborski <[email protected]>
Co-authored-by: Medhashis Maiti <[email protected]>
Co-authored-by: Mateusz Burzyński <[email protected]>
* handle legacy Link API by removing a element

* handle custom link components
…ally disabled state if non-interactive and disabled (adobe#6863)

* Maintain row active/hover styles if it is interactive and do not apply disabled styles if non-interactive and disabled
Support and document preventFocusOnPress (adobe#6854)
* feat: add rounded edges and side label to progress bar

* only add margin if label exists
* feat: add subtle and outline fill to s2 badge

* update comment

* add transparent border, fix neutral outline color

* fix layout

* make props optional
* Fix lint job on CI
* remove --extensions as they are unnecessary

add is-mingw
use isMinGW to use proper slashes on windows git bash

* remove logs from preview builder

* is-mingw is a dev dep

* patching storybook-builder-parcel to solve windows forward slash issues

---------

Co-authored-by: David Coleman <[email protected]>
Co-authored-by: Daniel Lu <[email protected]>
* Fix Safari docs crash
* add Well codemod

* add migration docs for well

* add codemod for badge

* update well font

* add story for testing style macro

* add to migration docs
* add maxWidth to examples

* dedupe items
* update tokens

* fix dragged theme

* remove deprecated token

* remove comment
…obe#6966)

* Fixing Tags so they properly truncate if wider than the container

* revert story change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

useDialog: Pinch-to-zoom on iOS