UNPKG

@wordpress/block-library

Version:
1 lines • 945 B
{"version":3,"file":"index.cjs","names":["metadata","__","initBlock"],"sources":["../../src/post-author/index.js"],"sourcesContent":["import { __ } from '@wordpress/i18n';\nimport { postAuthor as icon } from '@wordpress/icons';\nimport initBlock from '../utils/init-block';\nimport metadata from './block.json';\nimport edit from './edit';\n\nconst { name } = metadata;\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tviewportWidth: 350,\n\t\tattributes: {\n\t\t\tshowBio: true,\n\t\t\tbyline: __( 'Posted by' ),\n\t\t},\n\t},\n\tedit,\n};\n\nexport const init = () => initBlock( { name, metadata, settings } );\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,MAAM,EAAE,SAASA,aAAAA;AAGjB,MAAa,WAAW;CACvB,MAAA,iBAAA;CACA,SAAS;EACR,eAAe;EACf,YAAY;GACX,SAAS;GACT,SAAA,GAAQC,gBAAAA,GAAAA,CAAI,WAAY;EACzB;CACD;CACA,MAAA,WAAA;AACD;AAEA,MAAa,cAAA,GAAaC,uBAAAA,QAAAA,CAAW;CAAE;CAAM,UAAA,aAAA;CAAU;AAAS,CAAE"}