UNPKG

@wordpress/block-editor

Version:
8 lines (7 loc) 1.24 kB
{ "version": 3, "sources": ["../../../src/components/inserter-listbox/index.js"], "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { Composite } from '@wordpress/components';\nimport { Fragment } from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\n\nexport { default as InserterListboxGroup } from './group';\nexport { default as InserterListboxRow } from './row';\nexport { default as InserterListboxItem } from './item';\n\nfunction InserterListBoxWrapper( { key, children } ) {\n\treturn <Fragment key={ key }>{ children }</Fragment>;\n}\n\nfunction InserterListbox( { children } ) {\n\treturn (\n\t\t<Composite\n\t\t\tfocusShift\n\t\t\tfocusWrap=\"horizontal\"\n\t\t\trender={ InserterListBoxWrapper }\n\t\t>\n\t\t\t{ children }\n\t\t</Composite>\n\t);\n}\n\nexport default InserterListbox;\n"], "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,wBAA0B;AAC1B,qBAAyB;AAMzB,mBAAgD;AAChD,iBAA8C;AAC9C,kBAA+C;AAGvC;AADR,SAAS,uBAAwB,EAAE,KAAK,SAAS,GAAI;AACpD,SAAO,4CAAC,2BAAuB,YAAR,GAAkB;AAC1C;AAEA,SAAS,gBAAiB,EAAE,SAAS,GAAI;AACxC,SACC;AAAA,IAAC;AAAA;AAAA,MACA,YAAU;AAAA,MACV,WAAU;AAAA,MACV,QAAS;AAAA,MAEP;AAAA;AAAA,EACH;AAEF;AAEA,IAAO,2BAAQ;", "names": [] }