index.mjs 553 B

1234567891011121314151617181920212223242526
  1. import { buildProps } from "../../utils/vue/props/runtime.mjs";
  2. import { pick } from "lodash-unified";
  3. //#region ../../packages/hooks/use-aria/index.ts
  4. /**
  5. * @deprecated Removed after 3.0.0, Use `AriaProps` instead.
  6. */
  7. const ariaProps = buildProps({
  8. ariaLabel: String,
  9. ariaOrientation: {
  10. type: String,
  11. values: [
  12. "horizontal",
  13. "vertical",
  14. "undefined"
  15. ]
  16. },
  17. ariaControls: String
  18. });
  19. const useAriaProps = (arias) => {
  20. return pick(ariaProps, arias);
  21. };
  22. //#endregion
  23. export { ariaProps, useAriaProps };
  24. //# sourceMappingURL=index.mjs.map