{"name":"react-aria","version":"3.34.0","license":"Apache-2.0","_id":"react-aria@3.34.0","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":"68ca57b54386e601798fef4580bbbaa4af2f8e34","tarball":"http://registry-npm.ywwl.com/react-aria/download/react-aria-3.34.0.tgz","fileCount":79,"integrity":"sha512-+1zr9bwkATRF+ojF2/iIX2tHuVgWBbcXKBBlfBUWgZlUPVhZz/ZOV/lQQ2blihnqW6b/VAYepQtSjy6D2PVpxA==","signatures":[{"sig":"MEQCIBop9xq89T12VBMl3kxrSaDn0iUPkDvC25iCHcKl/95NAiAyEfU4rOaRmVNBevkeBIP+n05ibJ3xag3ozNMeuyBKxw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":580849,"size":127559,"noattachment":false,"key":"/react-aria/-/react-aria-3.34.0.tgz"},"main":"dist/main.js","types":"dist/types.d.ts","module":"dist/module.js","source":"src/index.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/import.mjs","require":"./dist/main.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"}},"gitHead":"86d80e3216bc32e75108831cf3a5a720bc849206","scripts":{"prepublishOnly":"mkdir -p dist; cp src/index.ts dist/types.d.ts; grep -v '^export type' src/index.ts > dist/module.js; babel --root-mode upward src/index.ts -o dist/main.js"},"_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@v18.19.0+arm64 (darwin)","description":"Spectrum UI components in React","directories":{},"sideEffects":false,"_nodeVersion":"18.19.0","dependencies":{"@react-aria/dnd":"^3.7.0","@react-aria/ssr":"^3.9.5","@react-aria/tag":"^3.4.2","@react-aria/i18n":"^3.12.0","@react-aria/link":"^3.7.2","@react-aria/menu":"^3.15.0","@react-aria/tabs":"^3.9.2","@react-aria/focus":"^3.18.0","@react-aria/label":"^3.7.9","@react-aria/meter":"^3.4.14","@react-aria/radio":"^3.10.5","@react-aria/table":"^3.15.0","@react-aria/utils":"^3.25.0","@react-aria/button":"^3.9.6","@react-aria/dialog":"^3.5.15","@react-aria/select":"^3.14.6","@react-aria/slider":"^3.7.9","@react-aria/switch":"^3.6.5","@react-aria/listbox":"^3.13.0","@react-aria/tooltip":"^3.7.5","@react-types/shared":"^3.24.0","@react-aria/calendar":"^3.5.9","@react-aria/checkbox":"^3.14.4","@react-aria/combobox":"^3.10.0","@react-aria/gridlist":"^3.9.0","@react-aria/overlays":"^3.23.0","@react-aria/progress":"^3.4.14","@react-aria/selection":"^3.19.0","@react-aria/separator":"^3.4.0","@react-aria/textfield":"^3.14.6","@react-aria/datepicker":"^3.11.0","@react-aria/breadcrumbs":"^3.5.14","@react-aria/numberfield":"^3.11.4","@react-aria/searchfield":"^3.7.6","@react-aria/interactions":"^3.22.0","@internationalized/string":"^3.2.3","@react-aria/visually-hidden":"^3.8.13"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"react":"^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0","react-dom":"^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-aria_3.34.0_1721664828285_0.23263838855087027","host":"s3://npm-registry-packages"},"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":1721664828555,"_cnpm_publish_time":1721664828555,"dist-tags":{"latest":"3.53.1","nightly":"3.0.0-nightly-2691598d3-261008"}}