You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
'use strict';
|
|
|
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
var props = require('../../../utils/props.js');
|
|
require('../../collection/index.js');
|
|
var collection = require('../../collection/src/collection.js');
|
|
|
|
const rovingFocusGroupProps = props.buildProps({
|
|
style: { type: props.definePropType([String, Array, Object]) },
|
|
currentTabId: {
|
|
type: props.definePropType(String)
|
|
},
|
|
defaultCurrentTabId: String,
|
|
loop: Boolean,
|
|
dir: {
|
|
type: String,
|
|
values: ["ltr", "rtl"],
|
|
default: "ltr"
|
|
},
|
|
orientation: {
|
|
type: props.definePropType(String)
|
|
},
|
|
onBlur: Function,
|
|
onFocus: Function,
|
|
onMousedown: Function
|
|
});
|
|
const {
|
|
ElCollection,
|
|
ElCollectionItem,
|
|
COLLECTION_INJECTION_KEY,
|
|
COLLECTION_ITEM_INJECTION_KEY
|
|
} = collection.createCollectionWithScope("RovingFocusGroup");
|
|
|
|
exports.ElCollection = ElCollection;
|
|
exports.ElCollectionItem = ElCollectionItem;
|
|
exports.ROVING_FOCUS_COLLECTION_INJECTION_KEY = COLLECTION_INJECTION_KEY;
|
|
exports.ROVING_FOCUS_ITEM_COLLECTION_INJECTION_KEY = COLLECTION_ITEM_INJECTION_KEY;
|
|
exports.rovingFocusGroupProps = rovingFocusGroupProps;
|
|
//# sourceMappingURL=roving-focus-group.js.map
|