-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Comparing changes
Open a pull request
base repository: adobe/react-spectrum
base: @react-aria/calendar@3.5.6
head repository: adobe/react-spectrum
compare: @react-aria/calendar@3.5.7
Commits on Feb 14, 2024
-
[RAC] Fix <Switch> focus events (#5830)
* fix switch focus events * add additional test assertions to checkbox/checkboxgroup focus events test --------- Co-authored-by: Robert Snow <rsnow@adobe.com> Co-authored-by: Reid Barber <reid@reidbarber.com>
1Configuration menu - View commit details
-
Copy full SHA for 370314e - Browse repository at this point
Copy the full SHA 370314eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b9e89e - Browse repository at this point
Copy the full SHA 5b9e89eView commit details -
[RAC] Rename and export
defaultSlot
and removeslotCallbackSymbol
…… from RAC (#5850) * Removed slotCallbackSymbol as it is not used anymore. * Rename defaultSlot to DEFAULT_SLOT and export it from react-aria-components * Add default slot documentation * Remove unused import * Updated DEFAULT_SLOT documentation to use ButtonContext instead of a fake IconContext * Update advanced.mdx Co-authored-by: Daniel Lu <danilu@adobe.com> --------- Co-authored-by: Daniel Lu <dl1644@gmail.com> Co-authored-by: Daniel Lu <danilu@adobe.com> Co-authored-by: Robert Snow <rsnow@adobe.com> Co-authored-by: Reid Barber <reid@reidbarber.com>
1Configuration menu - View commit details
-
Copy full SHA for 5afad49 - Browse repository at this point
Copy the full SHA 5afad49View commit details -
Turn off virtualizer when running in test env (#5192)
* rough progress on making virtualized components non-reliant on clientHeight/Width mocks * Update virtualizer to get proper mocked rect in test env * update the remaining failing tests * use mocks if provided * fix clientwidth mock check * skip problematic tests and show examples how we dont need the mocks * ugh, figured out the react 16/17 crash too many rows being rendered... not anything with the extra render cycles or broken virtualizer logic * getting rid of todos and reseting tests * adding a extra process env to make sure we always run with virtualizer enabled in CI * vscode auto updates...
1Configuration menu - View commit details
-
Copy full SHA for e845c30 - Browse repository at this point
Copy the full SHA e845c30View commit details -
Updating testing documentation and exposing some testing utils (#5508)
* progress on updating the testing docs * setup and testing of new util packages * move test utils to react-spectrum and add provider wrapper * restoring StrictModeWrapper * add desktop and mobile mock util setup * starting to remove triggerPress in favor of user event library click * remove triggerPress * fix SSR tests and react 16/17 tests * work around weird react16/17 test failure for now * get rid of triggerTouch and typeText * move stuff to aria/test-utils package * fix menutrigger tests * replacing fireEvent with userEvent equivalents in hooks tests pt1 * wrapping up hooks tests fireEvent replacements couldnt get the pointer/mouseMoves replaces, will revisit * fix some lint issues * first batch of spectrum test fireEvent -> userEvent replacement * fix tests in 16/17 again missing asyncs * updating testing docs and linking to it from various components * temporarily restore old test util package and move ssr stuff there * make react-spectrum/test-util-internal to limit what is exposed from test util package was running into build/docs issues with re-exporting @testing-library/react, this feels like it makes more sense anyways, dont think we wanna expose our render wrapper yet * adding docs for installmouseevent * add peer deps * fix combobox test * try to fix tsfork * fix ts fork pt 2 * test lower version requirements * fix tests * missed one test update * review updates * removing todo * messed up a copy paste
Configuration menu - View commit details
-
Copy full SHA for 3db98d2 - Browse repository at this point
Copy the full SHA 3db98d2View commit details
Commits on Feb 15, 2024
-
Get rid of dev/utils from website prod build (#5879)
* Get rid of dev/utils from website prod build so it doesnt complain about test util package * make package public as well * forgot to update aria test util
Configuration menu - View commit details
-
Copy full SHA for 5d9d23f - Browse repository at this point
Copy the full SHA 5d9d23fView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 36db9c7 - Browse repository at this point
Copy the full SHA 36db9c7View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 32faadd - Browse repository at this point
Copy the full SHA 32faaddView commit details
Commits on Feb 16, 2024
-
1
Configuration menu - View commit details
-
Copy full SHA for 2b09060 - Browse repository at this point
Copy the full SHA 2b09060View commit details -
fix(#5745): Allow typing in Accordion (#5888)
* Allow typing in Accordion * Remove empty line --------- Co-authored-by: Reid Barber <reid@reidbarber.com>
1Configuration menu - View commit details
-
Copy full SHA for c673f9f - Browse repository at this point
Copy the full SHA c673f9fView commit details -
Add support for hover events in ListBox Option component (#5777)
* Add support for hover events in ListBox Option component * add newline * fix: modified to original logic * fix: add action to listbox story --------- Co-authored-by: Daniel Lu <dl1644@gmail.com>
1Configuration menu - View commit details
-
Copy full SHA for f1cd495 - Browse repository at this point
Copy the full SHA f1cd495View commit details -
[Typescript] Combobox: Fix onSelectionChange type declaration (#5852)
onSelectionChange can be invoked with a null key if the user clears the input. packages/@react-stately/combobox/src/useComboBoxState.ts line 225-229 Co-authored-by: Reid Barber <reid@reidbarber.com>
1Configuration menu - View commit details
-
Copy full SHA for aa83c12 - Browse repository at this point
Copy the full SHA aa83c12View commit details
Commits on Feb 17, 2024
-
Add hrefLang attribute to Link (#5894)
Co-authored-by: Yihui Liao <44729383+yihuiliao@users.noreply.github.com>
1Configuration menu - View commit details
-
Copy full SHA for 8b7fb3e - Browse repository at this point
Copy the full SHA 8b7fb3eView commit details
Commits on Feb 20, 2024
-
Add
--trigger-width
support for DatePicker & DateRangePicker (#5895)* add --trigger-width support for DatePicker & DateRangePicker * fix comment typos * simplify width calculations * Also apply it to the range picker --------- Co-authored-by: Daniel Lu <dl1644@gmail.com> Co-authored-by: Robert Snow <rsnow@adobe.com>
Configuration menu - View commit details
-
Copy full SHA for acb7352 - Browse repository at this point
Copy the full SHA acb7352View commit details -
Fix focus going to the DropZone after closing FileTrigger (#5867)
* Fix focus going to the DropZone after closing FileTrigger * check event target * ensure that you can actually click anywhere to paste --------- Co-authored-by: Daniel Lu <dl1644@gmail.com>
1Configuration menu - View commit details
-
Copy full SHA for b5f4f6d - Browse repository at this point
Copy the full SHA b5f4f6dView commit details -
Add null type to Radiogroup
value
prop. (#5896)* add null type to RadioGroup.props.value * add a controlled RadioGroup story --------- Co-authored-by: Reid Barber <reid@reidbarber.com> Co-authored-by: Yihui Liao <44729383+yihuiliao@users.noreply.github.com>
1Configuration menu - View commit details
-
Copy full SHA for bf7071f - Browse repository at this point
Copy the full SHA bf7071fView commit details -
Fix backspace to shift focus to previous element in useDateSegment (#…
…5715) * Fix focus shift on clearing minute fields
1Configuration menu - View commit details
-
Copy full SHA for fd3f09c - Browse repository at this point
Copy the full SHA fd3f09cView commit details
Commits on Feb 22, 2024
-
fix: enhance FocusScope to support tab completion for IMEs (#5909)
* fix: Improve tab completion for IMEs
1Configuration menu - View commit details
-
Copy full SHA for fa3862e - Browse repository at this point
Copy the full SHA fa3862eView commit details
Commits on Feb 23, 2024
-
Fix escape key to close IME in useOverlay (#5923)
Co-authored-by: Daniel Lu <dl1644@gmail.com>
1Configuration menu - View commit details
-
Copy full SHA for 98477ac - Browse repository at this point
Copy the full SHA 98477acView commit details -
add allowsEmptyCollection property to interface (#5842)
Co-authored-by: John Svensson <john.svensson@btwentyfour.com> Co-authored-by: Daniel Lu <dl1644@gmail.com> Co-authored-by: Reid Barber <reid@reidbarber.com>
1Configuration menu - View commit details
-
Copy full SHA for a0f0604 - Browse repository at this point
Copy the full SHA a0f0604View commit details
Commits on Feb 27, 2024
-
Add RAC submenu to homepage and tailwind starter (#5919)
* add RAC submenu to homepage and tailwind example * revert auto formatting --------- Co-authored-by: Robert Snow <rsnow@adobe.com>
1Configuration menu - View commit details
-
Copy full SHA for 4161265 - Browse repository at this point
Copy the full SHA 4161265View commit details
Commits on Feb 28, 2024
-
Additional aria utils getOwnerDocument tests (#5573)
* Additional aria utils getOwnerDocument tests * redoing ref.current test to be within an iframe * lint fixes * fix test --------- Co-authored-by: Robert Snow <rsnow@adobe.com>
1Configuration menu - View commit details
-
Copy full SHA for 39b68eb - Browse repository at this point
Copy the full SHA 39b68ebView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 07c1c6b - Browse repository at this point
Copy the full SHA 07c1c6bView commit details -
Fix trigger onSubmit on enter for NumberField (#5951)
* Fix trigger onSubmit on enter for NumberField
Configuration menu - View commit details
-
Copy full SHA for 1452655 - Browse repository at this point
Copy the full SHA 1452655View commit details -
* Show all toasts * update Toast docs priority to show all and add bottom message
1Configuration menu - View commit details
-
Copy full SHA for 707d26e - Browse repository at this point
Copy the full SHA 707d26eView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for bc50898 - Browse repository at this point
Copy the full SHA bc50898View commit details
Commits on Feb 29, 2024
-
Add support for DropZone isDisabled prop (#5958)
* Add support for DropZone isDisabled prop
1Configuration menu - View commit details
-
Copy full SHA for 3492443 - Browse repository at this point
Copy the full SHA 3492443View commit details
Commits on Mar 1, 2024
-
fix useTreeData root move map (#5950)
Co-authored-by: Reid Barber <reid@reidbarber.com> Co-authored-by: Robert Snow <rsnow@adobe.com>
1Configuration menu - View commit details
-
Copy full SHA for 53284ab - Browse repository at this point
Copy the full SHA 53284abView commit details -
fix: css properties with undefined custom property values (#5941)
Co-authored-by: Yihui Liao <44729383+yihuiliao@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a9399fe - Browse repository at this point
Copy the full SHA a9399feView commit details -
Fix focus tracking for dynamic iframe content (#5922)
* Fix focus tracking for dynamic iframe content * fix lint error * fix lint error * fix lint error * fix lint error * Delete .tool-versions * add unit tests * fixes * fix test * fix lint --------- Co-authored-by: Rob Snow <rsnow@adobe.com> Co-authored-by: Yihui Liao <44729383+yihuiliao@users.noreply.github.com>
1Configuration menu - View commit details
-
Copy full SHA for 95180bd - Browse repository at this point
Copy the full SHA 95180bdView commit details -
* start scaffolding * some planning * got the nested rendering to work * saving progress * more musings * finally got static and dynamic working * tentative modifications to useTreeState and fix cases with static renderProps functions * updating so Content has renderProps instead * Fix dynamic case * clean up * add treegridlist hooks and convert list stuff to use it * fix expanding and collapsing * update the collection processing so that node index info ignores existence of content nodes * fix flattened row array now that we are iterating over every tree item, we need to check if a rows parent is in the expanded key AND is also in the flattened row list. This is essentially checking if every parent above it is expanded as well since that is the only way its immediate parent would be in the flattened row list * move code for expanding/collapsing and other treegrid stuff into useGridListItem this is because we need to stop the grid list keyboard navigation if we are going to perform an expand or collapse but cant do so since it is a capturing listener. An alternative is to copy all the code from useGridListItem as is to useTreeGridListItem but that can be discussed. * adding renderProps for expanded,level,etc and supporting empty state * some cleanup * fix TS strict * add a checkbox to story and get rid of row double labelling * update styles * fix some styling and lint * forgot to make the tree package not private * updating story as per testing review * add support for row expansion when clicking the row, onAction, and linkaction * first batch of tests, basic interactions common to gridlist * Add ability to set disabledBehavior and default it to selection * Add empty state test * making data-expanded only appear on rows that are actually expandable * update note from chevron focus skipping exploration and save progress * add keyboard interaction tests * clean up some todos * fix defaultSlot * fixing tests and some final cleanup * Update packages/react-aria-components/src/Tree.tsx Co-authored-by: Reid Barber <reid@reidbarber.com> * addressing some review comments added test util and updating some tests for consistency * forgot one review comment * make test file tsx --------- Co-authored-by: Reid Barber <reid@reidbarber.com>
Configuration menu - View commit details
-
Copy full SHA for 57ff24d - Browse repository at this point
Copy the full SHA 57ff24dView commit details -
Add data-focused to Tabs (#5978)
* Add data-focused to Tabs * add test --------- Co-authored-by: Daniel Lu <dl1644@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d66cf4d - Browse repository at this point
Copy the full SHA d66cf4dView commit details
Commits on Mar 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 01c394e - Browse repository at this point
Copy the full SHA 01c394eView commit details -
Update cursor style to default for Tabs in docs (#5982)
Co-authored-by: Daniel Lu <dl1644@gmail.com> Co-authored-by: Reid Barber <reid@reidbarber.com>
Configuration menu - View commit details
-
Copy full SHA for 1c6c4ad - Browse repository at this point
Copy the full SHA 1c6c4adView commit details -
Temporarily fix verdaccio docs build (#5985)
Co-authored-by: Reid Barber <reid@reidbarber.com>
1Configuration menu - View commit details
-
Copy full SHA for 361d470 - Browse repository at this point
Copy the full SHA 361d470View commit details
Commits on Mar 5, 2024
-
1
Configuration menu - View commit details
-
Copy full SHA for a1415bd - Browse repository at this point
Copy the full SHA a1415bdView commit details
Commits on Mar 6, 2024
-
1
Configuration menu - View commit details
-
Copy full SHA for 58872ae - Browse repository at this point
Copy the full SHA 58872aeView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for dd55d69 - Browse repository at this point
Copy the full SHA dd55d69View commit details -
Image: add support for onerror callback (#5945)
* Image - add support for onerror callback * Image - add support for onerror callback * chore: add test case and update image stories * chore: fix build * chore: fix lint * chore: fix lint * Update packages/@react-types/image/src/index.d.ts Co-authored-by: Reid Barber <reid@reidbarber.com> * chore: fix types * chore: doc updated * chore: fix doc examples * chore: add support for onLoad callback * chore: add support for onLoad callback * chore: add support for onLoad callback * chore: add support for onLoad callback * chore: add support for onLoad callback * Update packages/@react-types/image/src/index.d.ts Co-authored-by: Robert Snow <snowystinger@gmail.com> * Update packages/@react-types/image/src/index.d.ts Co-authored-by: Robert Snow <snowystinger@gmail.com> * chore: resolve comment- update docs * small updates * fix lint --------- Co-authored-by: Reid Barber <reid@reidbarber.com> Co-authored-by: Robert Snow <rsnow@adobe.com> Co-authored-by: Robert Snow <snowystinger@gmail.com>
1Configuration menu - View commit details
-
Copy full SHA for 716b6ba - Browse repository at this point
Copy the full SHA 716b6baView commit details -
Allow passing of inputRef to RAC Checkbox/Switch (#5967)
* Allow passing of inputRef to RAC Checkbox/Switch * make optional, add tests * merge refs * fix ts? * fix/update tests * move declaration of inputRef * add doc comments * remove defaultInputRef --------- Co-authored-by: Devon Govett <devongovett@gmail.com>
1Configuration menu - View commit details
-
Copy full SHA for a8ec966 - Browse repository at this point
Copy the full SHA a8ec966View commit details
Commits on Mar 8, 2024
-
fix onBlur in ComboBox when no Button provided (#6008)
* fix onBlur in Combobox when no Button * fix after review * fix undefined ref value * Update packages/@react-aria/combobox/test/useComboBox.test.js --------- Co-authored-by: Robert Snow <snowystinger@gmail.com>
1Configuration menu - View commit details
-
Copy full SHA for caa4a40 - Browse repository at this point
Copy the full SHA caa4a40View commit details -
Add ContextualHelp example for disabled button to Tooltip docs (#6018)
* add ContextualHelp example for disabled button to Tooltip * Update Tooltip.mdx Co-authored-by: Robert Snow <rsnow@adobe.com> * Update Tooltip.mdx Co-authored-by: Robert Snow <rsnow@adobe.com> --------- Co-authored-by: Robert Snow <rsnow@adobe.com> Co-authored-by: Daniel Lu <dl1644@gmail.com>
1Configuration menu - View commit details
-
Copy full SHA for c921b13 - Browse repository at this point
Copy the full SHA c921b13View commit details
Commits on Mar 9, 2024
-
Expose 'shouldCloseOnInteractOutside' on Modal / ModalOverlay (#5986)
Co-authored-by: Daniel Lu <dl1644@gmail.com>
1Configuration menu - View commit details
-
Copy full SHA for 89fa370 - Browse repository at this point
Copy the full SHA 89fa370View commit details
Commits on Mar 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7fb682f - Browse repository at this point
Copy the full SHA 7fb682fView commit details -
Change useMenuTrigger onPressStart to state.open (#6024)
* Change useMenuTrigger onPressStart to state.open * add test --------- Co-authored-by: Robert Snow <rsnow@adobe.com> Co-authored-by: Reid Barber <reid@reidbarber.com>
1Configuration menu - View commit details
-
Copy full SHA for b1cf605 - Browse repository at this point
Copy the full SHA b1cf605View commit details -
escape <form> in ButtonProps (#6041)
escape <form> in ButtonProps for jsdocs (#6041)
1Configuration menu - View commit details
-
Copy full SHA for 0b9f807 - Browse repository at this point
Copy the full SHA 0b9f807View commit details -
add HoverEvents type to ToggleButtonProp type (#6042)
add HoverEvents type to ToggleButtonProp type
Configuration menu - View commit details
-
Copy full SHA for 4608dc5 - Browse repository at this point
Copy the full SHA 4608dc5View commit details
Commits on Mar 12, 2024
-
export LocalizedStringFormatter type in React-Aria (#6014)
Co-authored-by: Reid Barber <reid@reidbarber.com>
1Configuration menu - View commit details
-
Copy full SHA for 9390151 - Browse repository at this point
Copy the full SHA 9390151View commit details
Commits on Mar 14, 2024
-
1
Configuration menu - View commit details
-
Copy full SHA for d8cda75 - Browse repository at this point
Copy the full SHA d8cda75View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for df1cf46 - Browse repository at this point
Copy the full SHA df1cf46View commit details
There are no files selected for viewing