@wordpress/components
Version:
UI components for WordPress.
8 lines (7 loc) • 1.34 kB
Source Map (JSON)
{
"version": 3,
"sources": ["../../src/tree-grid/item.tsx"],
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { forwardRef } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\nimport RovingTabIndexItem from './roving-tab-index-item';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction UnforwardedTreeGridItem({\n children,\n ...props\n}, ref) {\n return /*#__PURE__*/_jsx(RovingTabIndexItem, {\n ref: ref,\n ...props,\n children: children\n });\n}\n\n/**\n * `TreeGridItem` is used to create a tree hierarchy.\n * It is not a visually styled component, but instead helps with adding\n * keyboard navigation and roving tab index behaviors to tree grid structures.\n *\n * @see {@link https://www.w3.org/TR/wai-aria-practices/examples/treegrid/treegrid-1.html}\n */\nexport const TreeGridItem = forwardRef(UnforwardedTreeGridItem);\nTreeGridItem.displayName = 'TreeGridItem';\nexport default TreeGridItem;"],
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,qBAA2B;AAK3B,mCAA+B;AAC/B,yBAA4B;AAC5B,SAAS,wBAAwB;AAAA,EAC/B;AAAA,EACA,GAAG;AACL,GAAG,KAAK;AACN,SAAoB,uCAAAA,KAAK,6BAAAC,SAAoB;AAAA,IAC3C;AAAA,IACA,GAAG;AAAA,IACH;AAAA,EACF,CAAC;AACH;AASO,IAAM,mBAAe,2BAAW,uBAAuB;AAC9D,aAAa,cAAc;AAC3B,IAAO,eAAQ;",
"names": ["_jsx", "RovingTabIndexItem"]
}