Remove react-aria-tabpanel as we've modified and included it
This commit is contained in:
parent
13fc233136
commit
8c4194fc0f
5 changed files with 4102 additions and 3248 deletions
|
@ -3,9 +3,9 @@ import * as React from 'react'
|
||||||
import {ReactNode} from 'react'
|
import {ReactNode} from 'react'
|
||||||
import {TabManagerParent} from "./abstract_tabcomponent_state";
|
import {TabManagerParent} from "./abstract_tabcomponent_state";
|
||||||
import {observer} from 'mobx-react';
|
import {observer} from 'mobx-react';
|
||||||
|
import specialAssign from "./specialAssign";
|
||||||
|
|
||||||
const PropTypes = require('prop-types');
|
import PropTypes = require('prop-types');
|
||||||
const specialAssign = require('react-aria-tabpanel/lib/specialAssign');
|
|
||||||
|
|
||||||
interface WrapperProps {
|
interface WrapperProps {
|
||||||
manager: TabManagerParent
|
manager: TabManagerParent
|
||||||
|
|
File diff suppressed because it is too large
Load diff
5894
package-lock.json
generated
5894
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -64,7 +64,6 @@
|
||||||
"postcss-import": "^9.1.0",
|
"postcss-import": "^9.1.0",
|
||||||
"postcss-loader": "^2.1.1",
|
"postcss-loader": "^2.1.1",
|
||||||
"react": "^16.2.0",
|
"react": "^16.2.0",
|
||||||
"react-aria-tabpanel": "^4.3.0",
|
|
||||||
"react-autocomplete": "^1.8.1",
|
"react-autocomplete": "^1.8.1",
|
||||||
"react-dom": "^16.3.1",
|
"react-dom": "^16.3.1",
|
||||||
"react-intl": "^2.4.0",
|
"react-intl": "^2.4.0",
|
||||||
|
@ -85,6 +84,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/jsdom": "^11.0.4",
|
"@types/jsdom": "^11.0.4",
|
||||||
|
"@types/prop-types": "^15.5.5",
|
||||||
"@types/sinon": "^4.3.3",
|
"@types/sinon": "^4.3.3",
|
||||||
"attr-binder": "0.3.1",
|
"attr-binder": "0.3.1",
|
||||||
"aws-sdk": "2.2.39",
|
"aws-sdk": "2.2.39",
|
||||||
|
@ -109,6 +109,7 @@
|
||||||
"flyd-ajax": "0.2.0",
|
"flyd-ajax": "0.2.0",
|
||||||
"flyd-url": "0.0.1",
|
"flyd-url": "0.0.1",
|
||||||
"flyd-zip": "0.0.1",
|
"flyd-zip": "0.0.1",
|
||||||
|
"focus-group": "^0.3.1",
|
||||||
"form-serialize": "0.7.0",
|
"form-serialize": "0.7.0",
|
||||||
"format-number": "2.0.2",
|
"format-number": "2.0.2",
|
||||||
"i18n-js": "^3.0.3",
|
"i18n-js": "^3.0.3",
|
||||||
|
|
57
types/react-aria-tabpanel/index.d.ts
vendored
57
types/react-aria-tabpanel/index.d.ts
vendored
|
@ -1,57 +0,0 @@
|
||||||
// License: LGPL-3.0-or-later
|
|
||||||
import {Component} from "react";
|
|
||||||
|
|
||||||
export interface WrapperProps {
|
|
||||||
onChange?: Function<string>
|
|
||||||
letterNavigation?: boolean
|
|
||||||
activeTabId?: string
|
|
||||||
tag?: string
|
|
||||||
|
|
||||||
[prop: string]: any
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
interface TabListProps {
|
|
||||||
tag?: string
|
|
||||||
|
|
||||||
[prop: string]: any
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
interface TabProps {
|
|
||||||
id: string
|
|
||||||
active?: boolean
|
|
||||||
letterNavigationText?: string
|
|
||||||
tag?: string
|
|
||||||
|
|
||||||
[prop: string]: any
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
interface TabPanelProps {
|
|
||||||
tabId: string
|
|
||||||
active?: boolean
|
|
||||||
tag?: string
|
|
||||||
|
|
||||||
[prop: string]: any
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export class TabPanel extends Component<TabPanelProps, {}> {
|
|
||||||
}
|
|
||||||
export class Tab extends Component<TabProps, {}> {
|
|
||||||
}
|
|
||||||
|
|
||||||
export class TabList extends Component<TabListProps, {}> {
|
|
||||||
}
|
|
||||||
|
|
||||||
export class Wrapper<T> extends Component<WrapperProps & T, {}> {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue