UNPKG

@wordpress/block-library

Version:
1 lines • 1.28 kB
{"version":3,"file":"index.cjs","names":["metadata","_x","initBlock"],"sources":["../../src/file/index.js"],"sourcesContent":["import { _x } from '@wordpress/i18n';\nimport { file as icon } from '@wordpress/icons';\nimport initBlock from '../utils/init-block';\nimport deprecated from './deprecated';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\nimport variations from './variations';\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\thref: 'https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg',\n\t\t\tfileName: _x( 'Armstrong_Small_Step', 'Name of the file' ),\n\t\t},\n\t},\n\ttransforms,\n\tdeprecated,\n\tedit,\n\tsave,\n\tvariations,\n};\n\nexport const init = () => initBlock( { name, metadata, settings } );\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,MAAM,EAAE,SAASA,aAAAA;AAIjB,MAAa,WAAW;CACvB,MAAA,iBAAA;CACA,SAAS,EACR,YAAY;EACX,MAAM;EACN,WAAA,GAAUC,gBAAAA,GAAAA,CAAI,wBAAwB,kBAAmB;CAC1D,EACD;CACA,YAAA,gBAAA;CACA,YAAA,iBAAA;CACA,MAAA,WAAA;CACA,MAAA,WAAA;CACA,YAAA,gBAAA;AACD;AAEA,MAAa,cAAA,GAAaC,uBAAAA,QAAAA,CAAW;CAAE;CAAM,UAAA,aAAA;CAAU;AAAS,CAAE"}