29 lines
783 B
JavaScript
29 lines
783 B
JavaScript
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
const require_runtime = require('../../_virtual/_rolldown/runtime.js');
|
|
const require_runtime$1 = require('../../utils/vue/props/runtime.js');
|
|
let lodash_unified = require("lodash-unified");
|
|
|
|
//#region ../../packages/hooks/use-aria/index.ts
|
|
/**
|
|
* @deprecated Removed after 3.0.0, Use `AriaProps` instead.
|
|
*/
|
|
const ariaProps = require_runtime$1.buildProps({
|
|
ariaLabel: String,
|
|
ariaOrientation: {
|
|
type: String,
|
|
values: [
|
|
"horizontal",
|
|
"vertical",
|
|
"undefined"
|
|
]
|
|
},
|
|
ariaControls: String
|
|
});
|
|
const useAriaProps = (arias) => {
|
|
return (0, lodash_unified.pick)(ariaProps, arias);
|
|
};
|
|
|
|
//#endregion
|
|
exports.ariaProps = ariaProps;
|
|
exports.useAriaProps = useAriaProps;
|
|
//# sourceMappingURL=index.js.map
|