@instructure/ui-focusable 8.8.1-snapshot.8 → 8.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/es/Focusable/index.js +4 -17
- package/{src/Focusable/types.ts → es/Focusable/props.js} +16 -3
- package/lib/Focusable/index.js +5 -20
- package/lib/Focusable/props.js +51 -0
- package/package.json +9 -10
- package/src/Focusable/index.tsx +6 -18
- package/src/Focusable/props.ts +56 -0
- package/src/index.ts +1 -1
- package/types/Focusable/index.d.ts +9 -16
- package/types/Focusable/index.d.ts.map +1 -1
- package/types/Focusable/props.d.ts +13 -0
- package/types/Focusable/props.d.ts.map +1 -0
- package/types/index.d.ts +1 -1
- package/LICENSE.md +0 -27
- package/es/Focusable/types.js +0 -1
- package/lib/Focusable/types.js +0 -1
- package/types/Focusable/types.d.ts +0 -4
- package/types/Focusable/types.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [8.9.1](https://github.com/instructure/instructure-ui/compare/v8.9.0...v8.9.1) (2021-09-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-focusable
|
|
9
|
+
|
|
10
|
+
# [8.9.0](https://github.com/instructure/instructure-ui/compare/v8.8.0...v8.9.0) (2021-09-15)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @instructure/ui-focusable
|
|
13
|
+
|
|
6
14
|
# [8.8.0](https://github.com/instructure/instructure-ui/compare/v8.7.0...v8.8.0) (2021-08-27)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @instructure/ui-focusable
|
package/es/Focusable/index.js
CHANGED
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
import { Component } from 'react';
|
|
25
|
-
import PropTypes from 'prop-types';
|
|
26
25
|
import { addInputModeListener, addEventListener, containsActiveElement, findFocusable } from '@instructure/ui-dom-utils';
|
|
27
26
|
import { logWarn as warn } from '@instructure/console';
|
|
27
|
+
import { propTypes, allowedProps } from './props';
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
---
|
|
@@ -230,23 +230,10 @@ class Focusable extends Component {
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
Focusable.displayName = "Focusable";
|
|
233
|
-
Focusable.propTypes =
|
|
234
|
-
|
|
235
|
-
* @param {Object} renderProps
|
|
236
|
-
* @param {Boolean} renderProps.focused - Is the element focused (via keyboard only)?
|
|
237
|
-
* @param {HTMLElement} renderProps.focusable - The focusable element
|
|
238
|
-
* @param {Boolean} renderProps.focusVisible - Whether the focus state should be visible or not
|
|
239
|
-
*/
|
|
240
|
-
children: PropTypes.func,
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* Identical to children
|
|
244
|
-
*/
|
|
245
|
-
render: PropTypes.func
|
|
246
|
-
};
|
|
233
|
+
Focusable.propTypes = propTypes;
|
|
234
|
+
Focusable.allowedProps = allowedProps;
|
|
247
235
|
Focusable.defaultProps = {
|
|
248
|
-
children: null
|
|
249
|
-
render: void 0
|
|
236
|
+
children: null
|
|
250
237
|
};
|
|
251
238
|
Focusable.inputTypes = {
|
|
252
239
|
text: true,
|
|
@@ -21,7 +21,20 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
+
import PropTypes from 'prop-types';
|
|
25
|
+
const propTypes = {
|
|
26
|
+
/**
|
|
27
|
+
* @param {Object} renderProps
|
|
28
|
+
* @param {Boolean} renderProps.focused - Is the element focused (via keyboard only)?
|
|
29
|
+
* @param {HTMLElement} renderProps.focusable - The focusable element
|
|
30
|
+
* @param {Boolean} renderProps.focusVisible - Whether the focus state should be visible or not
|
|
31
|
+
*/
|
|
32
|
+
children: PropTypes.func,
|
|
24
33
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
34
|
+
/**
|
|
35
|
+
* Identical to children
|
|
36
|
+
*/
|
|
37
|
+
render: PropTypes.func
|
|
38
|
+
};
|
|
39
|
+
const allowedProps = ['children', 'render'];
|
|
40
|
+
export { propTypes, allowedProps };
|
package/lib/Focusable/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
@@ -9,8 +7,6 @@ exports.Focusable = exports.default = void 0;
|
|
|
9
7
|
|
|
10
8
|
var _react = require("react");
|
|
11
9
|
|
|
12
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
|
|
14
10
|
var _addInputModeListener = require("@instructure/ui-dom-utils/lib/addInputModeListener.js");
|
|
15
11
|
|
|
16
12
|
var _addEventListener = require("@instructure/ui-dom-utils/lib/addEventListener.js");
|
|
@@ -21,6 +17,8 @@ var _findFocusable = require("@instructure/ui-dom-utils/lib/findFocusable.js");
|
|
|
21
17
|
|
|
22
18
|
var _console = require("@instructure/console");
|
|
23
19
|
|
|
20
|
+
var _props = require("./props");
|
|
21
|
+
|
|
24
22
|
/*
|
|
25
23
|
* The MIT License (MIT)
|
|
26
24
|
*
|
|
@@ -250,23 +248,10 @@ class Focusable extends _react.Component {
|
|
|
250
248
|
|
|
251
249
|
exports.Focusable = Focusable;
|
|
252
250
|
Focusable.displayName = "Focusable";
|
|
253
|
-
Focusable.propTypes =
|
|
254
|
-
|
|
255
|
-
* @param {Object} renderProps
|
|
256
|
-
* @param {Boolean} renderProps.focused - Is the element focused (via keyboard only)?
|
|
257
|
-
* @param {HTMLElement} renderProps.focusable - The focusable element
|
|
258
|
-
* @param {Boolean} renderProps.focusVisible - Whether the focus state should be visible or not
|
|
259
|
-
*/
|
|
260
|
-
children: _propTypes.default.func,
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* Identical to children
|
|
264
|
-
*/
|
|
265
|
-
render: _propTypes.default.func
|
|
266
|
-
};
|
|
251
|
+
Focusable.propTypes = _props.propTypes;
|
|
252
|
+
Focusable.allowedProps = _props.allowedProps;
|
|
267
253
|
Focusable.defaultProps = {
|
|
268
|
-
children: null
|
|
269
|
-
render: void 0
|
|
254
|
+
children: null
|
|
270
255
|
};
|
|
271
256
|
Focusable.inputTypes = {
|
|
272
257
|
text: true,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.allowedProps = exports.propTypes = void 0;
|
|
9
|
+
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
|
|
12
|
+
/*
|
|
13
|
+
* The MIT License (MIT)
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
16
|
+
*
|
|
17
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
18
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
19
|
+
* in the Software without restriction, including without limitation the rights
|
|
20
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
21
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
22
|
+
* furnished to do so, subject to the following conditions:
|
|
23
|
+
*
|
|
24
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
25
|
+
* copies or substantial portions of the Software.
|
|
26
|
+
*
|
|
27
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
28
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
29
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
30
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
31
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
32
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
33
|
+
* SOFTWARE.
|
|
34
|
+
*/
|
|
35
|
+
const propTypes = {
|
|
36
|
+
/**
|
|
37
|
+
* @param {Object} renderProps
|
|
38
|
+
* @param {Boolean} renderProps.focused - Is the element focused (via keyboard only)?
|
|
39
|
+
* @param {HTMLElement} renderProps.focusable - The focusable element
|
|
40
|
+
* @param {Boolean} renderProps.focusVisible - Whether the focus state should be visible or not
|
|
41
|
+
*/
|
|
42
|
+
children: _propTypes.default.func,
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Identical to children
|
|
46
|
+
*/
|
|
47
|
+
render: _propTypes.default.func
|
|
48
|
+
};
|
|
49
|
+
exports.propTypes = propTypes;
|
|
50
|
+
const allowedProps = ['children', 'render'];
|
|
51
|
+
exports.allowedProps = allowedProps;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-focusable",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.9.1",
|
|
4
4
|
"description": "A utility used to identify when an element receives focus.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@instructure/ui-babel-preset": "8.
|
|
28
|
-
"@instructure/ui-test-utils": "8.
|
|
27
|
+
"@instructure/ui-babel-preset": "8.9.1",
|
|
28
|
+
"@instructure/ui-test-utils": "8.9.1"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/runtime": "^7.13.10",
|
|
32
|
-
"@instructure/console": "8.
|
|
33
|
-
"@instructure/ui-dom-utils": "8.
|
|
34
|
-
"@instructure/ui-react-utils": "8.
|
|
35
|
-
"@instructure/ui-utils": "8.
|
|
36
|
-
"@instructure/ui-view": "8.
|
|
32
|
+
"@instructure/console": "8.9.1",
|
|
33
|
+
"@instructure/ui-dom-utils": "8.9.1",
|
|
34
|
+
"@instructure/ui-react-utils": "8.9.1",
|
|
35
|
+
"@instructure/ui-utils": "8.9.1",
|
|
36
|
+
"@instructure/ui-view": "8.9.1",
|
|
37
37
|
"prop-types": "^15"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
@@ -42,6 +42,5 @@
|
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"sideEffects": false
|
|
46
|
-
"gitHead": "7b83164f4c5872f3a217e010563f59bf584ae4fc"
|
|
45
|
+
"sideEffects": false
|
|
47
46
|
}
|
package/src/Focusable/index.tsx
CHANGED
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
import { Component } from 'react'
|
|
26
|
-
import PropTypes from 'prop-types'
|
|
27
26
|
|
|
28
27
|
import {
|
|
29
28
|
addInputModeListener,
|
|
@@ -32,7 +31,9 @@ import {
|
|
|
32
31
|
findFocusable
|
|
33
32
|
} from '@instructure/ui-dom-utils'
|
|
34
33
|
import { logWarn as warn } from '@instructure/console'
|
|
35
|
-
|
|
34
|
+
|
|
35
|
+
import { propTypes, allowedProps } from './props'
|
|
36
|
+
import type { FocusableProps } from './props'
|
|
36
37
|
|
|
37
38
|
/**
|
|
38
39
|
---
|
|
@@ -40,23 +41,10 @@ category: components/utilities
|
|
|
40
41
|
---
|
|
41
42
|
**/
|
|
42
43
|
class Focusable extends Component<FocusableProps> {
|
|
43
|
-
static propTypes =
|
|
44
|
-
|
|
45
|
-
* @param {Object} renderProps
|
|
46
|
-
* @param {Boolean} renderProps.focused - Is the element focused (via keyboard only)?
|
|
47
|
-
* @param {HTMLElement} renderProps.focusable - The focusable element
|
|
48
|
-
* @param {Boolean} renderProps.focusVisible - Whether the focus state should be visible or not
|
|
49
|
-
*/
|
|
50
|
-
children: PropTypes.func,
|
|
51
|
-
/**
|
|
52
|
-
* Identical to children
|
|
53
|
-
*/
|
|
54
|
-
render: PropTypes.func
|
|
55
|
-
}
|
|
56
|
-
|
|
44
|
+
static propTypes = propTypes
|
|
45
|
+
static allowedProps = allowedProps
|
|
57
46
|
static defaultProps = {
|
|
58
|
-
children: null
|
|
59
|
-
render: undefined
|
|
47
|
+
children: null
|
|
60
48
|
}
|
|
61
49
|
|
|
62
50
|
static inputTypes = {
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The MIT License (MIT)
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2015 - present Instructure, Inc.
|
|
5
|
+
*
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
* in the Software without restriction, including without limitation the rights
|
|
9
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
* copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
* SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
import type { PropValidators } from '@instructure/shared-types'
|
|
26
|
+
import PropTypes from 'prop-types'
|
|
27
|
+
|
|
28
|
+
type FocusableOwnProps = {
|
|
29
|
+
children?: (...args: any[]) => any
|
|
30
|
+
render?: (...args: any[]) => any
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
type PropKeys = keyof FocusableOwnProps
|
|
34
|
+
|
|
35
|
+
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
36
|
+
|
|
37
|
+
type FocusableProps = FocusableOwnProps
|
|
38
|
+
|
|
39
|
+
const propTypes: PropValidators<PropKeys> = {
|
|
40
|
+
/**
|
|
41
|
+
* @param {Object} renderProps
|
|
42
|
+
* @param {Boolean} renderProps.focused - Is the element focused (via keyboard only)?
|
|
43
|
+
* @param {HTMLElement} renderProps.focusable - The focusable element
|
|
44
|
+
* @param {Boolean} renderProps.focusVisible - Whether the focus state should be visible or not
|
|
45
|
+
*/
|
|
46
|
+
children: PropTypes.func,
|
|
47
|
+
/**
|
|
48
|
+
* Identical to children
|
|
49
|
+
*/
|
|
50
|
+
render: PropTypes.func
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
const allowedProps: AllowedPropKeys = ['children', 'render']
|
|
54
|
+
|
|
55
|
+
export type { FocusableProps }
|
|
56
|
+
export { propTypes, allowedProps }
|
package/src/index.ts
CHANGED
|
@@ -1,28 +1,21 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
|
-
import
|
|
3
|
-
import { FocusableProps } from './types';
|
|
2
|
+
import type { FocusableProps } from './props';
|
|
4
3
|
/**
|
|
5
4
|
---
|
|
6
5
|
category: components/utilities
|
|
7
6
|
---
|
|
8
7
|
**/
|
|
9
8
|
declare class Focusable extends Component<FocusableProps> {
|
|
10
|
-
static propTypes: {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Identical to children
|
|
20
|
-
*/
|
|
21
|
-
render: PropTypes.Requireable<(...args: any[]) => any>;
|
|
22
|
-
};
|
|
9
|
+
static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
|
|
10
|
+
children?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
render?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
static allowedProps: readonly (keyof {
|
|
14
|
+
children?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
render?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
})[];
|
|
23
17
|
static defaultProps: {
|
|
24
18
|
children: null;
|
|
25
|
-
render: undefined;
|
|
26
19
|
};
|
|
27
20
|
static inputTypes: {
|
|
28
21
|
text: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Focusable/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Focusable/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAWjC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7C;;;;GAIG;AACH,cAAM,SAAU,SAAQ,SAAS,CAAC,cAAc,CAAC;IAC/C,MAAM,CAAC,SAAS;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;SAAe;IAClC,MAAM,CAAC,YAAY;;MAElB;IAED,MAAM,CAAC,UAAU;;;;;;;;;;;;;;MAchB;IAED,cAAc,EAAE;QAAE,MAAM,IAAI,IAAI,CAAA;KAAE,GAAG,IAAI,CAAO;IAChD,aAAa,EAAE;QAAE,MAAM,IAAI,IAAI,CAAA;KAAE,GAAG,IAAI,CAAO;IAC/C,kBAAkB,EAAE;QAClB,cAAc,IAAI,OAAO,CAAA;QACzB,MAAM,IAAI,IAAI,CAAA;KACf,GAAG,IAAI,CAAO;IAEf,KAAK;;;MAGJ;IAED,iBAAiB;IAajB,uBAAuB,CAAC,SAAS,KAAA,EAAE,SAAS,KAAA;IAU5C,kBAAkB,CAAC,SAAS,KAAA,EAAE,SAAS,KAAA;IA0BvC,oBAAoB;IASpB,qBAAqB,CAAC,SAAS,KAAA,EAAE,OAAO,KAAA;IAoBxC,wBAAwB;IAKxB,mBAAmB;IAOnB,kBAAkB;IAOlB,qBAAqB,aAEpB;IAGD,WAAW,uBAGV;IAGD,UAAU,uBAGT;IAED,IAAI,OAAO,YAEV;IAED,IAAI,SAAS,sBAkBZ;IAED,IAAI,YAAY,YAGf;IAED,KAAK;IASL,cAAc,CAAC,SAAS,KAAA,EAAE,OAAO,KAAA;IAyBjC,MAAM;CAcP;AAED,eAAe,SAAS,CAAA;AACxB,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PropValidators } from '@instructure/shared-types';
|
|
2
|
+
declare type FocusableOwnProps = {
|
|
3
|
+
children?: (...args: any[]) => any;
|
|
4
|
+
render?: (...args: any[]) => any;
|
|
5
|
+
};
|
|
6
|
+
declare type PropKeys = keyof FocusableOwnProps;
|
|
7
|
+
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
8
|
+
declare type FocusableProps = FocusableOwnProps;
|
|
9
|
+
declare const propTypes: PropValidators<PropKeys>;
|
|
10
|
+
declare const allowedProps: AllowedPropKeys;
|
|
11
|
+
export type { FocusableProps };
|
|
12
|
+
export { propTypes, allowedProps };
|
|
13
|
+
//# sourceMappingURL=props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Focusable/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAG/D,aAAK,iBAAiB,GAAG;IACvB,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IAClC,MAAM,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;CACjC,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,iBAAiB,CAAA;AAEvC,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,cAAc,GAAG,iBAAiB,CAAA;AAEvC,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAYvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAAwC,CAAA;AAE5D,YAAY,EAAE,cAAc,EAAE,CAAA;AAC9B,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
package/types/index.d.ts
CHANGED
package/LICENSE.md
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: The MIT License (MIT)
|
|
3
|
-
category: Getting Started
|
|
4
|
-
order: 9
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# The MIT License (MIT)
|
|
8
|
-
|
|
9
|
-
Copyright (c) 2015 Instructure, Inc.
|
|
10
|
-
|
|
11
|
-
**Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
-
in the Software without restriction, including without limitation the rights
|
|
14
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
-
furnished to do so, subject to the following conditions.**
|
|
17
|
-
|
|
18
|
-
The above copyright notice and this permission notice shall be included in all
|
|
19
|
-
copies or substantial portions of the Software.
|
|
20
|
-
|
|
21
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
-
SOFTWARE.
|
package/es/Focusable/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/lib/Focusable/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/Focusable/types.ts"],"names":[],"mappings":"AAwBA,oBAAY,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;CACjC,CAAA"}
|