GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [react-ui] Move experimental event+a11y work to react-ui package (#16… · react/react@494300b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages
    • react-reconciler/src/__tests__
      • ReactScope-test.internal.js
    • react-ui
      • README.md
      • accessibility/src
        • FocusGrid.js
        • ReactTabFocus.js
        • TabbableScope.js
        • __tests__
          • FocusGrid-test.internal.js
          • TabFocusController-test.internal.js
          • TabbableScope-test.internal.js
      • events
        • README.md
        • context-menu.js
        • docs
          • ContextMenu.md
          • Focus.md
          • FocusWithin.md
          • Hover.md
          • Press.md
        • drag.js
        • focus.js
        • hover.js
        • input.js
        • keyboard.js
        • press.js
        • scroll.js
        • src
          • dom
            • ContextMenu.js
            • Drag.js
            • Focus.js
            • Hover.js
            • Input.js
            • Keyboard.js
            • Press.js
            • Scroll.js
            • Swipe.js
            • Tap.js
            • __tests__
              • ContextMenu-test.internal.js
              • Drag-test.internal.js
              • Focus-test.internal.js
              • FocusWithin-test.internal.js
              • Hover-test.internal.js
              • Input-test.internal.js
              • Keyboard-test.internal.js
              • MixedResponders-test-internal.js
              • Press-test.internal.js
              • Scroll-test.internal.js
              • Tap-test.internal.js
            • shared
              • index.js
            • testing-library
              • domEnvironment.js
              • domEventSequences.js
              • domEvents.js
              • index.js
          • rn
            • Press.js
        • swipe.js
        • tap.js
      • npm
        • drag.js
        • focus.js
        • hover.js
        • input.js
        • keyboard.js
        • press.js
        • scroll.js
        • swipe.js
        • tap.js
      • package.json
  • scripts
    • rollup
      • bundles.js
    • shared
      • pathsByLanguageVersion.js

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/react-reconciler/src/__tests__/ReactScope-test.internal.js‎

Copy file name to clipboardExpand all lines: packages/react-reconciler/src/__tests__/ReactScope-test.internal.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
'use strict';
1111

12-
import {createEventTarget} from 'react-events/src/dom/testing-library';
12+
import {createEventTarget} from 'react-ui/events/src/dom/testing-library';
1313

1414
let React;
1515
let ReactFeatureFlags;
@@ -204,7 +204,7 @@ describe('ReactScope', () => {
204204
let onKeyDown = jest.fn();
205205
const TestScope = React.unstable_createScope((type, props) => true);
206206
const ref = React.createRef();
207-
const useKeyboard = require('react-events/keyboard').useKeyboard;
207+
const useKeyboard = require('react-ui/events/keyboard').useKeyboard;
208208
let Component = () => {
209209
const listener = useKeyboard({
210210
onKeyDown,
Expand file

‎packages/react-ui/README.md‎

Copy file name to clipboard
+4Lines changed: 4 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Collapse file

‎…/react-dom/src/client/focus/FocusGrid.js‎ ‎…/react-ui/accessibility/src/FocusGrid.js‎packages/react-dom/src/client/focus/FocusGrid.js renamed to packages/react-ui/accessibility/src/FocusGrid.js packages/react-dom/src/client/focus/FocusGrid.js renamed to packages/react-ui/accessibility/src/FocusGrid.js

Copy file name to clipboardExpand all lines: packages/react-ui/accessibility/src/FocusGrid.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
* @flow
88
*/
99

10-
import type {KeyboardEvent} from 'react-events/src/dom/Keyboard';
10+
import type {KeyboardEvent} from 'react-ui/events/src/dom/Keyboard';
1111

1212
import React from 'react';
1313
import {tabFocusableImpl} from './TabbableScope';
14-
import {useKeyboard} from 'react-events/keyboard';
14+
import {useKeyboard} from '../../events/keyboard';
1515

1616
type GridComponentProps = {
1717
children: React.Node,
Collapse file

‎…ct-dom/src/client/focus/ReactTabFocus.js‎ ‎…ct-ui/accessibility/src/ReactTabFocus.js‎packages/react-dom/src/client/focus/ReactTabFocus.js renamed to packages/react-ui/accessibility/src/ReactTabFocus.js packages/react-dom/src/client/focus/ReactTabFocus.js renamed to packages/react-ui/accessibility/src/ReactTabFocus.js

Copy file name to clipboardExpand all lines: packages/react-ui/accessibility/src/ReactTabFocus.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
*/
99

1010
import type {ReactScopeMethods} from 'shared/ReactTypes';
11-
import type {KeyboardEvent} from 'react-events/src/dom/Keyboard';
11+
import type {KeyboardEvent} from 'react-ui/events/src/dom/Keyboard';
1212

1313
import React from 'react';
1414
import {TabbableScope} from './TabbableScope';
15-
import {useKeyboard} from 'react-events/keyboard';
15+
import {useKeyboard} from '../../events/keyboard';
1616

1717
type TabFocusControllerProps = {
1818
children: React.Node,
Collapse file

‎…ct-dom/src/client/focus/TabbableScope.js‎ ‎…ct-ui/accessibility/src/TabbableScope.js‎packages/react-dom/src/client/focus/TabbableScope.js renamed to packages/react-ui/accessibility/src/TabbableScope.js packages/react-dom/src/client/focus/TabbableScope.js renamed to packages/react-ui/accessibility/src/TabbableScope.js

Copy file name to clipboard
File renamed without changes.
Collapse file

‎…cus/__tests__/FocusGrid-test.internal.js‎ ‎…src/__tests__/FocusGrid-test.internal.js‎packages/react-dom/src/client/focus/__tests__/FocusGrid-test.internal.js renamed to packages/react-ui/accessibility/src/__tests__/FocusGrid-test.internal.js packages/react-dom/src/client/focus/__tests__/FocusGrid-test.internal.js renamed to packages/react-ui/accessibility/src/__tests__/FocusGrid-test.internal.js

Copy file name to clipboardExpand all lines: packages/react-ui/accessibility/src/__tests__/FocusGrid-test.internal.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @flow
88
*/
99

10-
import {createEventTarget} from 'react-events/src/dom/testing-library';
10+
import {createEventTarget} from 'react-ui/events/src/dom/testing-library';
1111

1212
let React;
1313
let ReactFeatureFlags;
Collapse file

‎…ts__/TabFocusController-test.internal.js‎ ‎…ts__/TabFocusController-test.internal.js‎packages/react-dom/src/client/focus/__tests__/TabFocusController-test.internal.js renamed to packages/react-ui/accessibility/src/__tests__/TabFocusController-test.internal.js packages/react-dom/src/client/focus/__tests__/TabFocusController-test.internal.js renamed to packages/react-ui/accessibility/src/__tests__/TabFocusController-test.internal.js

Copy file name to clipboardExpand all lines: packages/react-ui/accessibility/src/__tests__/TabFocusController-test.internal.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @flow
88
*/
99

10-
import {createEventTarget} from 'react-events/src/dom/testing-library';
10+
import {createEventTarget} from 'react-ui/events/src/dom/testing-library';
1111

1212
let React;
1313
let ReactFeatureFlags;
Collapse file

‎…__tests__/TabbableScope-test.internal.js‎ ‎…__tests__/TabbableScope-test.internal.js‎packages/react-dom/src/client/focus/__tests__/TabbableScope-test.internal.js renamed to packages/react-ui/accessibility/src/__tests__/TabbableScope-test.internal.js packages/react-dom/src/client/focus/__tests__/TabbableScope-test.internal.js renamed to packages/react-ui/accessibility/src/__tests__/TabbableScope-test.internal.js

Copy file name to clipboard
File renamed without changes.
Expand file

‎packages/react-events/README.md‎ ‎packages/react-ui/events/README.md‎packages/react-events/README.md renamed to packages/react-ui/events/README.md

Copy file name to clipboardExpand all lines: packages/react-ui/events/README.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Collapse file

‎packages/react-events/context-menu.js‎ ‎packages/react-ui/events/context-menu.js‎packages/react-events/context-menu.js renamed to packages/react-ui/events/context-menu.js

Copy file name to clipboard
File renamed without changes.

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.