index.js 783 B

1234567891011121314151617181920212223242526272829
  1. Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  2. const require_runtime = require('../../_virtual/_rolldown/runtime.js');
  3. const require_runtime$1 = require('../../utils/vue/props/runtime.js');
  4. let lodash_unified = require("lodash-unified");
  5. //#region ../../packages/hooks/use-aria/index.ts
  6. /**
  7. * @deprecated Removed after 3.0.0, Use `AriaProps` instead.
  8. */
  9. const ariaProps = require_runtime$1.buildProps({
  10. ariaLabel: String,
  11. ariaOrientation: {
  12. type: String,
  13. values: [
  14. "horizontal",
  15. "vertical",
  16. "undefined"
  17. ]
  18. },
  19. ariaControls: String
  20. });
  21. const useAriaProps = (arias) => {
  22. return (0, lodash_unified.pick)(ariaProps, arias);
  23. };
  24. //#endregion
  25. exports.ariaProps = ariaProps;
  26. exports.useAriaProps = useAriaProps;
  27. //# sourceMappingURL=index.js.map