react-native/Libraries/Inspector
Jared Forsyth 51e76fd166 [ReactNative] refactor the inspector
Summary:
The `InspectorOverlay` component was getting unwieldy, so I broke it into three components:

- Inspector
- InspectorOverlay
- InspectorPanel

and added @flow types.

The inspector was also living under the `ReactIOS` directory, and I moved it
up into the `Libraries` directory, as the inspector will soon be usable [on
Android](https://phabricator.fb.com/D2138319).

All features of the inspector should remain functional, with the addition of
one feature:

- you can toggle "touch to inspect" by tapping the "Inspect" button at the
  bottom of the inspection panel. When inspection is disabled, the panel remains, but you can interact with
  the app normally without touches being intercepted

@public

Test Plan:
Open the inspector:

- touch to inspect things, verify that margin, padding, size and position are
  reported correctly, and that the component hierarchy is navigable.
- tap the "Inspect" button, and verify that you can interact with the app
  normally.

{F22548949}

[Video of toggling inspection](https://www.latest.facebook.com/pxlcld/mrs9)
2015-06-12 14:04:28 -07:00
..
BorderBox.js [ReactNative] refactor the inspector 2015-06-12 14:04:28 -07:00
BoxInspector.js [ReactNative] refactor the inspector 2015-06-12 14:04:28 -07:00
ElementBox.js [ReactNative] refactor the inspector 2015-06-12 14:04:28 -07:00
ElementProperties.js [ReactNative] refactor the inspector 2015-06-12 14:04:28 -07:00
Inspector.js [ReactNative] refactor the inspector 2015-06-12 14:04:28 -07:00
InspectorOverlay.js [ReactNative] refactor the inspector 2015-06-12 14:04:28 -07:00
InspectorPanel.js [ReactNative] refactor the inspector 2015-06-12 14:04:28 -07:00
InspectorUtils.js [ReactNative] refactor the inspector 2015-06-12 14:04:28 -07:00
StyleInspector.js [ReactNative] refactor the inspector 2015-06-12 14:04:28 -07:00
resolveBoxStyle.js [ReactNative] refactor the inspector 2015-06-12 14:04:28 -07:00