@wordpress/block-library
Version:
Block library for the WordPress editor.
8 lines (7 loc) • 1.43 kB
Source Map (JSON)
{
"version": 3,
"sources": ["../../src/form/utils.js"],
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\n\nexport const formSubmissionNotificationSuccess = [\n\t'core/form-submission-notification',\n\t{\n\t\ttype: 'success',\n\t},\n\t[\n\t\t[\n\t\t\t'core/paragraph',\n\t\t\t{\n\t\t\t\tcontent:\n\t\t\t\t\t'<mark style=\"background-color:rgba(0, 0, 0, 0);color:#345C00\" class=\"has-inline-color\">' +\n\t\t\t\t\t__( 'Your form has been submitted successfully' ) +\n\t\t\t\t\t'</mark>',\n\t\t\t},\n\t\t],\n\t],\n];\nexport const formSubmissionNotificationError = [\n\t'core/form-submission-notification',\n\t{\n\t\ttype: 'error',\n\t},\n\t[\n\t\t[\n\t\t\t'core/paragraph',\n\t\t\t{\n\t\t\t\tcontent:\n\t\t\t\t\t'<mark style=\"background-color:rgba(0, 0, 0, 0);color:#CF2E2E\" class=\"has-inline-color\">' +\n\t\t\t\t\t__( 'There was an error submitting your form.' ) +\n\t\t\t\t\t'</mark>',\n\t\t\t},\n\t\t],\n\t],\n];\n"],
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,kBAAmB;AAEZ,IAAM,oCAAoC;AAAA,EAChD;AAAA,EACA;AAAA,IACC,MAAM;AAAA,EACP;AAAA,EACA;AAAA,IACC;AAAA,MACC;AAAA,MACA;AAAA,QACC,SACC,gGACA,gBAAI,2CAA4C,IAChD;AAAA,MACF;AAAA,IACD;AAAA,EACD;AACD;AACO,IAAM,kCAAkC;AAAA,EAC9C;AAAA,EACA;AAAA,IACC,MAAM;AAAA,EACP;AAAA,EACA;AAAA,IACC;AAAA,MACC;AAAA,MACA;AAAA,QACC,SACC,gGACA,gBAAI,0CAA2C,IAC/C;AAAA,MACF;AAAA,IACD;AAAA,EACD;AACD;",
"names": []
}