fix: prevent asset conflicts between React and Grid.js versions

Add coexistence checks to all enqueue methods to prevent loading
both React and Grid.js assets simultaneously.

Changes:
- ReactAdmin.php: Only enqueue React assets when ?react=1
- Init.php: Skip Grid.js when React active on admin pages
- Form.php, Coupon.php, Access.php: Restore classic assets when ?react=0
- Customer.php, Product.php, License.php: Add coexistence checks

Now the toggle between Classic and React versions works correctly.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
dwindown
2026-04-18 17:02:14 +07:00
parent bd9cdac02e
commit e8fbfb14c1
74973 changed files with 6658406 additions and 71 deletions

6
node_modules/reakit/.eslintignore generated vendored Normal file
View File

@@ -0,0 +1,6 @@
dist
es
lib
ts
coverage
node_modules

8
node_modules/reakit/Box/Box/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Box/Box",
"private": true,
"sideEffects": false,
"main": "../../lib/Box/Box",
"module": "../../es/Box/Box",
"types": "../../ts/Box/Box"
}

8
node_modules/reakit/Box/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Box",
"private": true,
"sideEffects": false,
"main": "../lib/Box",
"module": "../es/Box",
"types": "../ts/Box"
}

8
node_modules/reakit/Button/Button/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Button/Button",
"private": true,
"sideEffects": false,
"main": "../../lib/Button/Button",
"module": "../../es/Button/Button",
"types": "../../ts/Button/Button"
}

8
node_modules/reakit/Button/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Button",
"private": true,
"sideEffects": false,
"main": "../lib/Button",
"module": "../es/Button",
"types": "../ts/Button"
}

1061
node_modules/reakit/CHANGELOG.md generated vendored Normal file

File diff suppressed because it is too large Load Diff

8
node_modules/reakit/Checkbox/Checkbox/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Checkbox/Checkbox",
"private": true,
"sideEffects": false,
"main": "../../lib/Checkbox/Checkbox",
"module": "../../es/Checkbox/Checkbox",
"types": "../../ts/Checkbox/Checkbox"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Checkbox/CheckboxState",
"private": true,
"sideEffects": false,
"main": "../../lib/Checkbox/CheckboxState",
"module": "../../es/Checkbox/CheckboxState",
"types": "../../ts/Checkbox/CheckboxState"
}

8
node_modules/reakit/Checkbox/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Checkbox",
"private": true,
"sideEffects": false,
"main": "../lib/Checkbox",
"module": "../es/Checkbox",
"types": "../ts/Checkbox"
}

8
node_modules/reakit/Clickable/Clickable/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Clickable/Clickable",
"private": true,
"sideEffects": false,
"main": "../../lib/Clickable/Clickable",
"module": "../../es/Clickable/Clickable",
"types": "../../ts/Clickable/Clickable"
}

8
node_modules/reakit/Clickable/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Clickable",
"private": true,
"sideEffects": false,
"main": "../lib/Clickable",
"module": "../es/Clickable",
"types": "../ts/Clickable"
}

8
node_modules/reakit/Combobox/Combobox/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Combobox/Combobox",
"private": true,
"sideEffects": false,
"main": "../../lib/Combobox/Combobox",
"module": "../../es/Combobox/Combobox",
"types": "../../ts/Combobox/Combobox"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Combobox/ComboboxGridCell",
"private": true,
"sideEffects": false,
"main": "../../lib/Combobox/ComboboxGridCell",
"module": "../../es/Combobox/ComboboxGridCell",
"types": "../../ts/Combobox/ComboboxGridCell"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Combobox/ComboboxGridRow",
"private": true,
"sideEffects": false,
"main": "../../lib/Combobox/ComboboxGridRow",
"module": "../../es/Combobox/ComboboxGridRow",
"types": "../../ts/Combobox/ComboboxGridRow"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Combobox/ComboboxGridState",
"private": true,
"sideEffects": false,
"main": "../../lib/Combobox/ComboboxGridState",
"module": "../../es/Combobox/ComboboxGridState",
"types": "../../ts/Combobox/ComboboxGridState"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Combobox/ComboboxItem",
"private": true,
"sideEffects": false,
"main": "../../lib/Combobox/ComboboxItem",
"module": "../../es/Combobox/ComboboxItem",
"types": "../../ts/Combobox/ComboboxItem"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Combobox/ComboboxList",
"private": true,
"sideEffects": false,
"main": "../../lib/Combobox/ComboboxList",
"module": "../../es/Combobox/ComboboxList",
"types": "../../ts/Combobox/ComboboxList"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Combobox/ComboboxListGridState",
"private": true,
"sideEffects": false,
"main": "../../lib/Combobox/ComboboxListGridState",
"module": "../../es/Combobox/ComboboxListGridState",
"types": "../../ts/Combobox/ComboboxListGridState"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Combobox/ComboboxListState",
"private": true,
"sideEffects": false,
"main": "../../lib/Combobox/ComboboxListState",
"module": "../../es/Combobox/ComboboxListState",
"types": "../../ts/Combobox/ComboboxListState"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Combobox/ComboboxOption",
"private": true,
"sideEffects": false,
"main": "../../lib/Combobox/ComboboxOption",
"module": "../../es/Combobox/ComboboxOption",
"types": "../../ts/Combobox/ComboboxOption"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Combobox/ComboboxPopover",
"private": true,
"sideEffects": false,
"main": "../../lib/Combobox/ComboboxPopover",
"module": "../../es/Combobox/ComboboxPopover",
"types": "../../ts/Combobox/ComboboxPopover"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Combobox/ComboboxState",
"private": true,
"sideEffects": false,
"main": "../../lib/Combobox/ComboboxState",
"module": "../../es/Combobox/ComboboxState",
"types": "../../ts/Combobox/ComboboxState"
}

8
node_modules/reakit/Combobox/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Combobox",
"private": true,
"sideEffects": false,
"main": "../lib/Combobox",
"module": "../es/Combobox",
"types": "../ts/Combobox"
}

8
node_modules/reakit/Composite/Composite/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Composite/Composite",
"private": true,
"sideEffects": false,
"main": "../../lib/Composite/Composite",
"module": "../../es/Composite/Composite",
"types": "../../ts/Composite/Composite"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Composite/CompositeGroup",
"private": true,
"sideEffects": false,
"main": "../../lib/Composite/CompositeGroup",
"module": "../../es/Composite/CompositeGroup",
"types": "../../ts/Composite/CompositeGroup"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Composite/CompositeItem",
"private": true,
"sideEffects": false,
"main": "../../lib/Composite/CompositeItem",
"module": "../../es/Composite/CompositeItem",
"types": "../../ts/Composite/CompositeItem"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Composite/CompositeItemWidget",
"private": true,
"sideEffects": false,
"main": "../../lib/Composite/CompositeItemWidget",
"module": "../../es/Composite/CompositeItemWidget",
"types": "../../ts/Composite/CompositeItemWidget"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Composite/CompositeState",
"private": true,
"sideEffects": false,
"main": "../../lib/Composite/CompositeState",
"module": "../../es/Composite/CompositeState",
"types": "../../ts/Composite/CompositeState"
}

8
node_modules/reakit/Composite/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Composite",
"private": true,
"sideEffects": false,
"main": "../lib/Composite",
"module": "../es/Composite",
"types": "../ts/Composite"
}

8
node_modules/reakit/Dialog/Dialog/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Dialog/Dialog",
"private": true,
"sideEffects": false,
"main": "../../lib/Dialog/Dialog",
"module": "../../es/Dialog/Dialog",
"types": "../../ts/Dialog/Dialog"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Dialog/DialogBackdrop",
"private": true,
"sideEffects": false,
"main": "../../lib/Dialog/DialogBackdrop",
"module": "../../es/Dialog/DialogBackdrop",
"types": "../../ts/Dialog/DialogBackdrop"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Dialog/DialogDisclosure",
"private": true,
"sideEffects": false,
"main": "../../lib/Dialog/DialogDisclosure",
"module": "../../es/Dialog/DialogDisclosure",
"types": "../../ts/Dialog/DialogDisclosure"
}

8
node_modules/reakit/Dialog/DialogState/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Dialog/DialogState",
"private": true,
"sideEffects": false,
"main": "../../lib/Dialog/DialogState",
"module": "../../es/Dialog/DialogState",
"types": "../../ts/Dialog/DialogState"
}

8
node_modules/reakit/Dialog/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Dialog",
"private": true,
"sideEffects": false,
"main": "../lib/Dialog",
"module": "../es/Dialog",
"types": "../ts/Dialog"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Disclosure/Disclosure",
"private": true,
"sideEffects": false,
"main": "../../lib/Disclosure/Disclosure",
"module": "../../es/Disclosure/Disclosure",
"types": "../../ts/Disclosure/Disclosure"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Disclosure/DisclosureContent",
"private": true,
"sideEffects": false,
"main": "../../lib/Disclosure/DisclosureContent",
"module": "../../es/Disclosure/DisclosureContent",
"types": "../../ts/Disclosure/DisclosureContent"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Disclosure/DisclosureState",
"private": true,
"sideEffects": false,
"main": "../../lib/Disclosure/DisclosureState",
"module": "../../es/Disclosure/DisclosureState",
"types": "../../ts/Disclosure/DisclosureState"
}

8
node_modules/reakit/Disclosure/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Disclosure",
"private": true,
"sideEffects": false,
"main": "../lib/Disclosure",
"module": "../es/Disclosure",
"types": "../ts/Disclosure"
}

8
node_modules/reakit/Form/Form/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form/Form",
"private": true,
"sideEffects": false,
"main": "../../lib/Form/Form",
"module": "../../es/Form/Form",
"types": "../../ts/Form/Form"
}

8
node_modules/reakit/Form/FormCheckbox/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form/FormCheckbox",
"private": true,
"sideEffects": false,
"main": "../../lib/Form/FormCheckbox",
"module": "../../es/Form/FormCheckbox",
"types": "../../ts/Form/FormCheckbox"
}

8
node_modules/reakit/Form/FormGroup/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form/FormGroup",
"private": true,
"sideEffects": false,
"main": "../../lib/Form/FormGroup",
"module": "../../es/Form/FormGroup",
"types": "../../ts/Form/FormGroup"
}

8
node_modules/reakit/Form/FormInput/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form/FormInput",
"private": true,
"sideEffects": false,
"main": "../../lib/Form/FormInput",
"module": "../../es/Form/FormInput",
"types": "../../ts/Form/FormInput"
}

8
node_modules/reakit/Form/FormLabel/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form/FormLabel",
"private": true,
"sideEffects": false,
"main": "../../lib/Form/FormLabel",
"module": "../../es/Form/FormLabel",
"types": "../../ts/Form/FormLabel"
}

8
node_modules/reakit/Form/FormMessage/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form/FormMessage",
"private": true,
"sideEffects": false,
"main": "../../lib/Form/FormMessage",
"module": "../../es/Form/FormMessage",
"types": "../../ts/Form/FormMessage"
}

8
node_modules/reakit/Form/FormPushButton/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form/FormPushButton",
"private": true,
"sideEffects": false,
"main": "../../lib/Form/FormPushButton",
"module": "../../es/Form/FormPushButton",
"types": "../../ts/Form/FormPushButton"
}

8
node_modules/reakit/Form/FormRadio/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form/FormRadio",
"private": true,
"sideEffects": false,
"main": "../../lib/Form/FormRadio",
"module": "../../es/Form/FormRadio",
"types": "../../ts/Form/FormRadio"
}

8
node_modules/reakit/Form/FormRadioGroup/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form/FormRadioGroup",
"private": true,
"sideEffects": false,
"main": "../../lib/Form/FormRadioGroup",
"module": "../../es/Form/FormRadioGroup",
"types": "../../ts/Form/FormRadioGroup"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form/FormRemoveButton",
"private": true,
"sideEffects": false,
"main": "../../lib/Form/FormRemoveButton",
"module": "../../es/Form/FormRemoveButton",
"types": "../../ts/Form/FormRemoveButton"
}

8
node_modules/reakit/Form/FormState/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form/FormState",
"private": true,
"sideEffects": false,
"main": "../../lib/Form/FormState",
"module": "../../es/Form/FormState",
"types": "../../ts/Form/FormState"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form/FormSubmitButton",
"private": true,
"sideEffects": false,
"main": "../../lib/Form/FormSubmitButton",
"module": "../../es/Form/FormSubmitButton",
"types": "../../ts/Form/FormSubmitButton"
}

8
node_modules/reakit/Form/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form",
"private": true,
"sideEffects": false,
"main": "../lib/Form",
"module": "../es/Form",
"types": "../ts/Form"
}

8
node_modules/reakit/Form/utils/getIn/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form/utils/getIn",
"private": true,
"sideEffects": false,
"main": "../../../lib/Form/utils/getIn",
"module": "../../../es/Form/utils/getIn",
"types": "../../../ts/Form/utils/getIn"
}

8
node_modules/reakit/Form/utils/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form/utils",
"private": true,
"sideEffects": false,
"main": "../../lib/Form/utils",
"module": "../../es/Form/utils",
"types": "../../ts/Form/utils"
}

8
node_modules/reakit/Form/utils/setAllIn/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form/utils/setAllIn",
"private": true,
"sideEffects": false,
"main": "../../../lib/Form/utils/setAllIn",
"module": "../../../es/Form/utils/setAllIn",
"types": "../../../ts/Form/utils/setAllIn"
}

8
node_modules/reakit/Form/utils/setIn/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Form/utils/setIn",
"private": true,
"sideEffects": false,
"main": "../../../lib/Form/utils/setIn",
"module": "../../../es/Form/utils/setIn",
"types": "../../../ts/Form/utils/setIn"
}

8
node_modules/reakit/Grid/Grid/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Grid/Grid",
"private": true,
"sideEffects": false,
"main": "../../lib/Grid/Grid",
"module": "../../es/Grid/Grid",
"types": "../../ts/Grid/Grid"
}

8
node_modules/reakit/Grid/GridCell/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Grid/GridCell",
"private": true,
"sideEffects": false,
"main": "../../lib/Grid/GridCell",
"module": "../../es/Grid/GridCell",
"types": "../../ts/Grid/GridCell"
}

8
node_modules/reakit/Grid/GridRow/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Grid/GridRow",
"private": true,
"sideEffects": false,
"main": "../../lib/Grid/GridRow",
"module": "../../es/Grid/GridRow",
"types": "../../ts/Grid/GridRow"
}

8
node_modules/reakit/Grid/GridState/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Grid/GridState",
"private": true,
"sideEffects": false,
"main": "../../lib/Grid/GridState",
"module": "../../es/Grid/GridState",
"types": "../../ts/Grid/GridState"
}

8
node_modules/reakit/Grid/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Grid",
"private": true,
"sideEffects": false,
"main": "../lib/Grid",
"module": "../es/Grid",
"types": "../ts/Grid"
}

8
node_modules/reakit/Group/Group/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Group/Group",
"private": true,
"sideEffects": false,
"main": "../../lib/Group/Group",
"module": "../../es/Group/Group",
"types": "../../ts/Group/Group"
}

8
node_modules/reakit/Group/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Group",
"private": true,
"sideEffects": false,
"main": "../lib/Group",
"module": "../es/Group",
"types": "../ts/Group"
}

8
node_modules/reakit/Id/Id/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Id/Id",
"private": true,
"sideEffects": false,
"main": "../../lib/Id/Id",
"module": "../../es/Id/Id",
"types": "../../ts/Id/Id"
}

8
node_modules/reakit/Id/IdProvider/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Id/IdProvider",
"private": true,
"sideEffects": false,
"main": "../../lib/Id/IdProvider",
"module": "../../es/Id/IdProvider",
"types": "../../ts/Id/IdProvider"
}

8
node_modules/reakit/Id/IdState/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Id/IdState",
"private": true,
"sideEffects": false,
"main": "../../lib/Id/IdState",
"module": "../../es/Id/IdState",
"types": "../../ts/Id/IdState"
}

8
node_modules/reakit/Id/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Id",
"private": true,
"sideEffects": false,
"main": "../lib/Id",
"module": "../es/Id",
"types": "../ts/Id"
}

8
node_modules/reakit/Input/Input/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Input/Input",
"private": true,
"sideEffects": false,
"main": "../../lib/Input/Input",
"module": "../../es/Input/Input",
"types": "../../ts/Input/Input"
}

8
node_modules/reakit/Input/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Input",
"private": true,
"sideEffects": false,
"main": "../lib/Input",
"module": "../es/Input",
"types": "../ts/Input"
}

21
node_modules/reakit/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) Diego Haz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

8
node_modules/reakit/Menu/Menu/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Menu/Menu",
"private": true,
"sideEffects": false,
"main": "../../lib/Menu/Menu",
"module": "../../es/Menu/Menu",
"types": "../../ts/Menu/Menu"
}

8
node_modules/reakit/Menu/MenuArrow/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Menu/MenuArrow",
"private": true,
"sideEffects": false,
"main": "../../lib/Menu/MenuArrow",
"module": "../../es/Menu/MenuArrow",
"types": "../../ts/Menu/MenuArrow"
}

8
node_modules/reakit/Menu/MenuBar/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Menu/MenuBar",
"private": true,
"sideEffects": false,
"main": "../../lib/Menu/MenuBar",
"module": "../../es/Menu/MenuBar",
"types": "../../ts/Menu/MenuBar"
}

8
node_modules/reakit/Menu/MenuBarState/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Menu/MenuBarState",
"private": true,
"sideEffects": false,
"main": "../../lib/Menu/MenuBarState",
"module": "../../es/Menu/MenuBarState",
"types": "../../ts/Menu/MenuBarState"
}

8
node_modules/reakit/Menu/MenuButton/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Menu/MenuButton",
"private": true,
"sideEffects": false,
"main": "../../lib/Menu/MenuButton",
"module": "../../es/Menu/MenuButton",
"types": "../../ts/Menu/MenuButton"
}

8
node_modules/reakit/Menu/MenuDisclosure/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Menu/MenuDisclosure",
"private": true,
"sideEffects": false,
"main": "../../lib/Menu/MenuDisclosure",
"module": "../../es/Menu/MenuDisclosure",
"types": "../../ts/Menu/MenuDisclosure"
}

8
node_modules/reakit/Menu/MenuGroup/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Menu/MenuGroup",
"private": true,
"sideEffects": false,
"main": "../../lib/Menu/MenuGroup",
"module": "../../es/Menu/MenuGroup",
"types": "../../ts/Menu/MenuGroup"
}

8
node_modules/reakit/Menu/MenuItem/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Menu/MenuItem",
"private": true,
"sideEffects": false,
"main": "../../lib/Menu/MenuItem",
"module": "../../es/Menu/MenuItem",
"types": "../../ts/Menu/MenuItem"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Menu/MenuItemCheckbox",
"private": true,
"sideEffects": false,
"main": "../../lib/Menu/MenuItemCheckbox",
"module": "../../es/Menu/MenuItemCheckbox",
"types": "../../ts/Menu/MenuItemCheckbox"
}

8
node_modules/reakit/Menu/MenuItemRadio/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Menu/MenuItemRadio",
"private": true,
"sideEffects": false,
"main": "../../lib/Menu/MenuItemRadio",
"module": "../../es/Menu/MenuItemRadio",
"types": "../../ts/Menu/MenuItemRadio"
}

8
node_modules/reakit/Menu/MenuSeparator/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Menu/MenuSeparator",
"private": true,
"sideEffects": false,
"main": "../../lib/Menu/MenuSeparator",
"module": "../../es/Menu/MenuSeparator",
"types": "../../ts/Menu/MenuSeparator"
}

8
node_modules/reakit/Menu/MenuState/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Menu/MenuState",
"private": true,
"sideEffects": false,
"main": "../../lib/Menu/MenuState",
"module": "../../es/Menu/MenuState",
"types": "../../ts/Menu/MenuState"
}

8
node_modules/reakit/Menu/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Menu",
"private": true,
"sideEffects": false,
"main": "../lib/Menu",
"module": "../es/Menu",
"types": "../ts/Menu"
}

8
node_modules/reakit/Popover/Popover/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Popover/Popover",
"private": true,
"sideEffects": false,
"main": "../../lib/Popover/Popover",
"module": "../../es/Popover/Popover",
"types": "../../ts/Popover/Popover"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Popover/PopoverArrow",
"private": true,
"sideEffects": false,
"main": "../../lib/Popover/PopoverArrow",
"module": "../../es/Popover/PopoverArrow",
"types": "../../ts/Popover/PopoverArrow"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Popover/PopoverBackdrop",
"private": true,
"sideEffects": false,
"main": "../../lib/Popover/PopoverBackdrop",
"module": "../../es/Popover/PopoverBackdrop",
"types": "../../ts/Popover/PopoverBackdrop"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Popover/PopoverDisclosure",
"private": true,
"sideEffects": false,
"main": "../../lib/Popover/PopoverDisclosure",
"module": "../../es/Popover/PopoverDisclosure",
"types": "../../ts/Popover/PopoverDisclosure"
}

View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Popover/PopoverState",
"private": true,
"sideEffects": false,
"main": "../../lib/Popover/PopoverState",
"module": "../../es/Popover/PopoverState",
"types": "../../ts/Popover/PopoverState"
}

8
node_modules/reakit/Popover/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Popover",
"private": true,
"sideEffects": false,
"main": "../lib/Popover",
"module": "../es/Popover",
"types": "../ts/Popover"
}

8
node_modules/reakit/Portal/Portal/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Portal/Portal",
"private": true,
"sideEffects": false,
"main": "../../lib/Portal/Portal",
"module": "../../es/Portal/Portal",
"types": "../../ts/Portal/Portal"
}

8
node_modules/reakit/Portal/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Portal",
"private": true,
"sideEffects": false,
"main": "../lib/Portal",
"module": "../es/Portal",
"types": "../ts/Portal"
}

8
node_modules/reakit/Provider/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Provider",
"private": true,
"sideEffects": false,
"main": "../lib/Provider",
"module": "../es/Provider",
"types": "../ts/Provider"
}

152
node_modules/reakit/README.md generated vendored Normal file
View File

@@ -0,0 +1,152 @@
<br>
<p align="center">
<a href="https://github.com/reakit/reakit/tree/master/logo">
<img src="https://user-images.githubusercontent.com/3068563/55114952-118f6b00-50c2-11e9-8879-d047e5686284.png" alt="Reakit symbol" width="80" />
</a>
</p>
<h1 align="center">Reakit</h1>
<p align="center">
Toolkit for building <a href="https://reakit.io/docs/accessibility">accessible</a> rich web apps with <a href="https://reactjs.org">React</a>.
<br>
<a href="https://reakit.io"><strong>Explore website »</strong></a>
</p>
<br>
<p align="center">
<a href="https://npmjs.org/package/reakit"><img alt="NPM version" src="https://img.shields.io/npm/v/reakit.svg" /></a>
<a href="https://npmjs.org/package/reakit"><img alt="NPM downloads" src="https://img.shields.io/npm/dm/reakit.svg"></a>
<a href="https://github.com/reakit/reakit/actions"><img alt="Build Status" src="https://github.com/reakit/reakit/workflows/ci/badge.svg?event=push&branch=master" /></a>
<a href="https://codecov.io/gh/reakit/reakit"><img src="https://codecov.io/gh/reakit/reakit/branch/master/graph/badge.svg" /></a><br>
<a href="https://opencollective.com/ariakit"><img alt="Sponsors" src="https://opencollective.com/ariakit/sponsor/badge.svg?label=sponsors" /></a>
<a href="https://opencollective.com/ariakit"><img alt="Backers" src="https://opencollective.com/ariakit/backer/badge.svg?label=backers" /></a>
<a href="https://twitter.com/reakitjs">
<img alt="Follow Reakit on Twitter" src="https://img.shields.io/twitter/follow/reakitjs.svg"></a>
</p>
## Sponsors
By donating $100 or more you [become a sponsor](https://opencollective.com/ariakit) and help in the development of this project. Thank you to all our sponsors! 🙏
<p>
<a href="https://opencollective.com/ariakit/sponsor/0/website"><img src="https://opencollective.com/ariakit/sponsor/0/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/sponsor/1/website"><img src="https://opencollective.com/ariakit/sponsor/1/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/sponsor/2/website"><img src="https://opencollective.com/ariakit/sponsor/2/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/sponsor/3/website"><img src="https://opencollective.com/ariakit/sponsor/3/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/sponsor/4/website"><img src="https://opencollective.com/ariakit/sponsor/4/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/sponsor/5/website"><img src="https://opencollective.com/ariakit/sponsor/5/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/sponsor/6/website"><img src="https://opencollective.com/ariakit/sponsor/6/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/sponsor/7/website"><img src="https://opencollective.com/ariakit/sponsor/7/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/sponsor/8/website"><img src="https://opencollective.com/ariakit/sponsor/8/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/sponsor/9/website"><img src="https://opencollective.com/ariakit/sponsor/9/avatar.svg"></a>
</p>
## Backers
By donating $5 or more you [become a backer](https://opencollective.com/ariakit) and help in the development of this project. Thank you to all our backers! 🙏
<p>
<a href="https://opencollective.com/ariakit/backer/0/website"><img src="https://opencollective.com/ariakit/backer/0/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/1/website"><img src="https://opencollective.com/ariakit/backer/1/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/2/website"><img src="https://opencollective.com/ariakit/backer/2/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/3/website"><img src="https://opencollective.com/ariakit/backer/3/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/4/website"><img src="https://opencollective.com/ariakit/backer/4/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/5/website"><img src="https://opencollective.com/ariakit/backer/5/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/6/website"><img src="https://opencollective.com/ariakit/backer/6/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/7/website"><img src="https://opencollective.com/ariakit/backer/7/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/8/website"><img src="https://opencollective.com/ariakit/backer/8/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/9/website"><img src="https://opencollective.com/ariakit/backer/9/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/10/website"><img src="https://opencollective.com/ariakit/backer/10/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/11/website"><img src="https://opencollective.com/ariakit/backer/11/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/12/website"><img src="https://opencollective.com/ariakit/backer/12/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/13/website"><img src="https://opencollective.com/ariakit/backer/13/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/14/website"><img src="https://opencollective.com/ariakit/backer/14/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/15/website"><img src="https://opencollective.com/ariakit/backer/15/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/16/website"><img src="https://opencollective.com/ariakit/backer/16/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/17/website"><img src="https://opencollective.com/ariakit/backer/17/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/18/website"><img src="https://opencollective.com/ariakit/backer/18/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/19/website"><img src="https://opencollective.com/ariakit/backer/19/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/20/website"><img src="https://opencollective.com/ariakit/backer/20/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/21/website"><img src="https://opencollective.com/ariakit/backer/21/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/22/website"><img src="https://opencollective.com/ariakit/backer/22/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/23/website"><img src="https://opencollective.com/ariakit/backer/23/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/24/website"><img src="https://opencollective.com/ariakit/backer/24/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/25/website"><img src="https://opencollective.com/ariakit/backer/25/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/26/website"><img src="https://opencollective.com/ariakit/backer/26/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/27/website"><img src="https://opencollective.com/ariakit/backer/27/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/28/website"><img src="https://opencollective.com/ariakit/backer/28/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/29/website"><img src="https://opencollective.com/ariakit/backer/29/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/30/website"><img src="https://opencollective.com/ariakit/backer/30/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/31/website"><img src="https://opencollective.com/ariakit/backer/31/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/32/website"><img src="https://opencollective.com/ariakit/backer/32/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/33/website"><img src="https://opencollective.com/ariakit/backer/33/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/34/website"><img src="https://opencollective.com/ariakit/backer/34/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/35/website"><img src="https://opencollective.com/ariakit/backer/35/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/36/website"><img src="https://opencollective.com/ariakit/backer/36/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/37/website"><img src="https://opencollective.com/ariakit/backer/37/avatar.svg"></a>
<a href="https://opencollective.com/ariakit/backer/38/website"><img src="https://opencollective.com/ariakit/backer/38/avatar.svg"></a>
</p>
## Installation
npm:
```sh
npm i reakit
```
Yarn:
```sh
yarn add reakit
```
> Thanks to [@nosebit](https://github.com/nosebit) for the package name on npm.
## Usage
```jsx
import React from "react";
import ReactDOM from "react-dom";
import { useDialogState, Dialog, DialogDisclosure } from "reakit";
function App() {
const dialog = useDialogState();
return (
<div>
<DialogDisclosure {...dialog}>Open dialog</DialogDisclosure>
<Dialog {...dialog} aria-label="Welcome">
Welcome to Reakit!
</Dialog>
</div>
);
}
ReactDOM.render(<App />, document.getElementById("root"));
```
Play with this on [CodeSandbox](https://codesandbox.io/s/m4n32vjkoj) and read the [documentation](https://reakit.io/docs) to learn more.
## Contributors
This project exists thanks to all the people who contribute. Learn more on the [contributing guide](https://github.com/reakit/reakit/blob/master/CONTRIBUTING.md).
<a href="https://github.com/reakit/reakit/graphs/contributors"><img src="https://opencollective.com/ariakit/contributors.svg?width=1227&button=false" /></a>
<img src="https://user-images.githubusercontent.com/3068563/55114952-118f6b00-50c2-11e9-8879-d047e5686284.png" alt="reakit" height="12" /> [Logo](https://github.com/reakit/reakit/tree/master/logo) by [**Leonardo Elias**](https://github.com/leonardoelias).
## Attribution
Browser testing provided by
<a href="https://www.browserstack.com" target="_blank"><img src="https://user-images.githubusercontent.com/15015324/45184727-368fbf80-b1fe-11e8-8827-08dbc80b0fb1.png" height="80" align="center"></a>
## License
MIT © [Diego Haz](https://github.com/diegohaz)

8
node_modules/reakit/Radio/Radio/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Radio/Radio",
"private": true,
"sideEffects": false,
"main": "../../lib/Radio/Radio",
"module": "../../es/Radio/Radio",
"types": "../../ts/Radio/Radio"
}

8
node_modules/reakit/Radio/RadioGroup/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Radio/RadioGroup",
"private": true,
"sideEffects": false,
"main": "../../lib/Radio/RadioGroup",
"module": "../../es/Radio/RadioGroup",
"types": "../../ts/Radio/RadioGroup"
}

8
node_modules/reakit/Radio/RadioState/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Radio/RadioState",
"private": true,
"sideEffects": false,
"main": "../../lib/Radio/RadioState",
"module": "../../es/Radio/RadioState",
"types": "../../ts/Radio/RadioState"
}

8
node_modules/reakit/Radio/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Radio",
"private": true,
"sideEffects": false,
"main": "../lib/Radio",
"module": "../es/Radio",
"types": "../ts/Radio"
}

8
node_modules/reakit/Role/Role/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Role/Role",
"private": true,
"sideEffects": false,
"main": "../../lib/Role/Role",
"module": "../../es/Role/Role",
"types": "../../ts/Role/Role"
}

8
node_modules/reakit/Role/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Role",
"private": true,
"sideEffects": false,
"main": "../lib/Role",
"module": "../es/Role",
"types": "../ts/Role"
}

8
node_modules/reakit/Rover/Rover/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Rover/Rover",
"private": true,
"sideEffects": false,
"main": "../../lib/Rover/Rover",
"module": "../../es/Rover/Rover",
"types": "../../ts/Rover/Rover"
}

8
node_modules/reakit/Rover/RoverState/package.json generated vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "reakit/Rover/RoverState",
"private": true,
"sideEffects": false,
"main": "../../lib/Rover/RoverState",
"module": "../../es/Rover/RoverState",
"types": "../../ts/Rover/RoverState"
}

Some files were not shown because too many files have changed in this diff Show More