{"name":"react-aria","version":"3.52.1","license":"Apache-2.0","_id":"react-aria@3.52.1","maintainers":[{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"}],"homepage":"https://github.com/adobe/react-spectrum#readme","bugs":{"url":"https://github.com/adobe/react-spectrum/issues"},"dist":{"shasum":"2dfc540b1f97c56c7ba5c47a7ff56ba5646ef589","tarball":"http://registry-npm.ywwl.com/react-aria/download/react-aria-3.52.1.tgz","fileCount":7243,"integrity":"sha512-fdZZruC9/x/joCg0mhKGs5aHpwrXLCSZ4GOJmhhYyiE0ffyEsk9MLFt9LCOCF9tn8ErTD+UDQP4oDUSlZkmpCg==","signatures":[{"sig":"MEUCICIYXHl/NWAurvHc5PcgDDccByFrLkO/W4mwXPA2dRtfAiEAu5D3UvzvGn6Ex0fQsDqEljpF+74Z7TSUzr9IHc6FZGk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDp5aZ3yYx/ld6agzCoVIhRXFBG4+4SOsAY3ToTOm3SxAIhAKFl3o/3UfR9X9095N2tITigeEPZ0NEKcFiHGB7BGUAn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15599980,"size":2513882,"noattachment":false,"key":"/react-aria/-/react-aria-3.52.1.tgz"},"main":"./dist/exports/index.cjs","types":"./dist/types/exports/index.d.ts","module":"./dist/exports/index.js","source":"exports/index.ts","exports":{".":{"types":"./dist/types/exports/index.d.ts","import":"./dist/exports/index.mjs","source":"./exports/index.ts","require":"./dist/exports/index.cjs"},"./*":{"types":"./dist/types/exports/*.d.ts","import":"./dist/exports/*.mjs","source":"./exports/*.ts","require":"./dist/exports/*.cjs","legacy-module":"./dist/exports/*.js"},"./i18n":{"types":"./i18n/index.d.ts","import":"./i18n/index.mjs","require":"./i18n/index.js"},"./i18n/*":{"types":"./i18n/lang.d.ts","import":"./i18n/*.mjs","require":"./i18n/*.js"},"./package.json":"./package.json"},"gitHead":"4dd44e0f400636a87a9ad4390903e78c5ae6113c","targets":{"main":false,"types":false,"module":false,"exports-main":{"source":["exports/**/*.ts"],"distDir":"dist","isLibrary":true,"outputFormat":"commonjs","includeNodeModules":false},"legacy-module":{"source":["exports/**/*.ts"],"distDir":"dist","engines":{"browsers":["chrome >= 79","firefox >= 85","safari >= 13"]},"isLibrary":true,"outputFormat":"esmodule","includeNodeModules":false},"exports-module":{"source":["exports/**/*.ts"],"distDir":"dist","isLibrary":true,"outputFormat":"esmodule","includeNodeModules":false}},"_npmUser":{"name":"devongovett","email":"devongovett@gmail.com"},"repository":{"url":"git+https://github.com/adobe/react-spectrum.git","type":"git"},"_npmVersion":"lerna/3.18.1/node@v24.17.0+arm64 (darwin)","description":"Spectrum UI components in React","directories":{},"sideEffects":false,"_nodeVersion":"24.17.0","dependencies":{"clsx":"^2.0.0","aria-hidden":"^1.2.3","@swc/helpers":"^0.5.0","react-stately":"3.50.0","@react-types/shared":"^3.36.1","@internationalized/date":"^3.12.4","use-sync-external-store":"^1.6.0","@internationalized/number":"^3.6.8","@internationalized/string":"^3.2.10"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1","react-dom":"^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1","@babel/cli":"^7.24.1","@babel/core":"^7.24.3"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1","react-dom":"^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"},"_npmOperationalInternal":{"tmp":"tmp/react-aria_3.52.1_1788550180991_0.9949348161091203","host":"s3://npm-registry-packages-npm-production"},"readme":"# [React Aria](https://react-spectrum.adobe.com/react-aria/hooks.html)\n\nA library of React Hooks that provides accessible UI primitives for your design system.\n\n## Features\n\n* ♿️ **Accessible** – React Aria provides accessibility and behavior according to [WAI-ARIA Authoring Practices](https://www.w3.org/TR/wai-aria-practices-1.2/), including full screen reader and keyboard navigation support. All components have been tested across a wide variety of screen readers and devices to ensure the best experience possible for all users.\n* 📱 **Adaptive** – React Aria ensures consistent behavior, no matter the UI. It supports mouse, touch, keyboard, and screen reader interactions that have been tested across a wide variety of browsers, devices, and platforms.\n* 🌍 **International** – React Aria supports over 30 languages, including right-to-left-specific behavior, internationalized date and number formatting, and more.\n* 🎨 **Fully customizable** – React Aria doesn’t implement any rendering or impose a DOM structure, styling methodology, or design-specific details. It provides behavior, accessibility, and interactions and lets you focus on your design.\n\n## Getting started\n\nThe easiest way to start building a component library with React Aria is by following our [getting started](https://react-spectrum.adobe.com/react-aria/hooks.html) guide. It walks through all of the steps needed to install the hooks from npm, and create your first component.\n\n### Example\n\nHere is a very basic example of using React Aria.\n\n```jsx\nimport {useButton} from '@react-aria/button';\n\nfunction Button(props) {\n  let ref = React.useRef();\n  let {buttonProps} = useButton(props, ref);\n\n  return (\n    <button {...buttonProps} ref={ref}>\n      {props.children}\n    </button>\n  );\n}\n\n<Button onPress={() => alert('Button pressed!')}>Press me</Button>\n```\n\n## Learn more\n\nReact Aria is part of a family of libraries that help you build adaptive, accessible, and robust user experiences.\nLearn more about [React Spectrum](https://react-spectrum.adobe.com/react-spectrum/index.html) and [React Stately](https://react-spectrum.adobe.com/react-stately/index.html) on [our website](https://react-spectrum.adobe.com/index.html).\n","publish_time":1788550181184,"_cnpm_publish_time":1788550181184,"dist-tags":{"latest":"3.53.1","nightly":"3.0.0-nightly-2691598d3-261008"}}