array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'title' => 'Alert', 'apiVersion' => 3, 'name' => 'mediaron/alerts-dlx-alert', 'category' => 'singular-alerts', 'icon' => '', 'description' => 'Create one alert and choose its design.', 'keywords' => array( 'alert', 'info', 'success', 'error', 'notice', 'notification', 'warning' ), 'version' => '1.0.0', 'textdomain' => 'alerts-dlx', 'attributes' => array( 'align' => array( 'type' => 'string', 'default' => 'center' ), 'alertType' => array( 'type' => 'string', 'default' => 'success' ), 'purpose' => array( 'type' => 'string', 'default' => 'success' ), 'alertTitle' => array( 'type' => 'string', 'default' => '' ), 'alertDescription' => array( 'type' => 'string', 'default' => '' ), 'descriptionEnabled' => array( 'type' => 'boolean', 'default' => true ), 'titleEnabled' => array( 'type' => 'boolean', 'default' => true ), 'buttonEnabled' => array( 'type' => 'boolean', 'default' => false ), 'iconEnabled' => array( 'type' => 'boolean', 'default' => true ), 'innerBlocksEnabled' => array( 'type' => 'boolean', 'default' => false ), 'closeButtonEnabled' => array( 'type' => 'boolean', 'default' => false ), 'closeButtonExpiration' => array( 'type' => 'number', 'default' => 0 ), 'colorPrimary' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-primary, #084298)' ), 'colorBorder' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-border, #b6d4fe)' ), 'colorAccent' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-accent, #26559c)' ), 'colorAlt' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-alt, #084298)' ), 'colorAltHover' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-alt-hover, #084298)' ), 'colorAltText' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-alt-text, #ffffff)' ), 'colorAltTextHover' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-alt-text-hover, #ffffff)' ), 'colorSecondary' => array( 'type' => 'string', 'default' => '' ), 'colorSecondaryHover' => array( 'type' => 'string', 'default' => '' ), 'colorSecondaryText' => array( 'type' => 'string', 'default' => '' ), 'colorSecondaryTextHover' => array( 'type' => 'string', 'default' => '' ), 'colorBold' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-bold, #084298)' ), 'colorLight' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-light, #cfe2ff)' ), 'buttonText' => array( 'type' => 'string', 'default' => '' ), 'buttonUrl' => array( 'type' => 'string', 'default' => '' ), 'buttonHasUrl' => array( 'type' => 'boolean', 'default' => false ), 'buttonTarget' => array( 'type' => 'boolean', 'default' => false ), 'buttonRelNoFollow' => array( 'type' => 'boolean', 'default' => false ), 'buttonRelSponsored' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonEnabled' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonText' => array( 'type' => 'string', 'default' => '' ), 'secondaryButtonUrl' => array( 'type' => 'string', 'default' => '' ), 'secondaryButtonHasUrl' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonTarget' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonRelNoFollow' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonRelSponsored' => array( 'type' => 'boolean', 'default' => false ), 'maximumWidthUnit' => array( 'type' => 'string', 'default' => 'px' ), 'maximumWidth' => array( 'type' => 'string', 'default' => '650' ), 'marginSpacing' => array( 'type' => 'string', 'default' => 'spacious' ), 'marginSpacingTarget' => array( 'type' => 'string', 'default' => 'both' ), 'baseFontSize' => array( 'type' => 'number', 'default' => 18 ), 'icon' => array( 'type' => 'string', 'default' => 'check' ), 'enableCustomFonts' => array( 'type' => 'boolean', 'default' => true ), 'variant' => array( 'type' => 'string', 'default' => 'default' ), 'mode' => array( 'type' => 'string', 'default' => 'light' ), 'enableDropShadow' => array( 'type' => 'boolean', 'default' => false ), 'iconVerticalAlignment' => array( 'type' => 'string', 'default' => 'top' ), 'uniqueId' => array( 'type' => 'string', 'default' => '' ), 'alertGroup' => array( 'type' => 'string', 'default' => 'bootstrap' ), 'isBlockAdminOnly' => array( 'type' => 'boolean', 'default' => false ), 'adminOnlyBlockExpiresEnabled' => array( 'type' => 'boolean', 'default' => false ), 'adminOnlyBlockExpires' => array( 'type' => 'string', 'default' => null ), 'isBlockEditorialOnly' => array( 'type' => 'boolean', 'default' => false ), 'isBlockReadOnly' => array( 'type' => 'boolean', 'default' => false ), 'iconSource' => array( 'type' => 'string', 'default' => 'icon' ), 'imageUrl' => array( 'type' => 'string', 'default' => '' ), 'imageId' => array( 'type' => 'number', 'default' => 0 ), 'iconAppearance' => array( 'type' => 'string', 'default' => 'rounded' ), 'iconSize' => array( 'type' => 'string', 'default' => 'default' ), 'conditionsEnabled' => array( 'type' => 'boolean', 'default' => false ), 'startDate' => array( 'type' => 'string', 'default' => '' ), 'endDate' => array( 'type' => 'string', 'default' => '' ), 'daysOfWeek' => array( 'type' => 'string', 'default' => '' ), 'urlParams' => array( 'type' => 'array', 'default' => array( ) ), 'requireLogin' => array( 'type' => 'boolean', 'default' => false ), 'requiredRoles' => array( 'type' => 'string', 'default' => '' ), 'globalStyleId' => array( 'type' => 'number', 'default' => 0 ) ), 'example' => array( 'attributes' => array( 'alertType' => 'success', 'alertTitle' => 'Sample alert title', 'descriptionEnabled' => true, 'titleEnabled' => true, 'iconEnabled' => true, 'alertDescription' => '
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
' ) ), 'supports' => array( 'anchor' => true, 'align' => array( 'center', 'wide', 'full' ), 'className' => true ), 'editorScript' => 'alerts-dlx-block', 'editorStyle' => array( 'alerts-dlx-block-editor-styles', 'alerts-dlx-bootstrap-styles', 'alerts-dlx-chakra-styles', 'alerts-dlx-material-styles', 'alerts-dlx-shoelace-styles', 'alerts-dlx-block-editor-styles-lato' ) ), 'bootstrap' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'title' => 'Bootstrap Alert', 'apiVersion' => 3, 'name' => 'mediaron/alerts-dlx-bootstrap', 'category' => 'alertsdlx-legacy', 'icon' => '', 'description' => 'An alert and notification block inspired by Bootstrap.', 'keywords' => array( 'alert', 'info', 'hint', 'success', 'error', 'notice', 'notification', 'warning', 'bootstrap' ), 'version' => '1.0.0', 'textdomain' => 'alerts-dlx', 'attributes' => array( 'align' => array( 'type' => 'string', 'default' => 'center' ), 'alertType' => array( 'type' => 'string', 'default' => 'success' ), 'alertTitle' => array( 'type' => 'string', 'default' => '' ), 'alertDescription' => array( 'type' => 'string', 'default' => '' ), 'descriptionEnabled' => array( 'type' => 'boolean', 'default' => true ), 'titleEnabled' => array( 'type' => 'boolean', 'default' => true ), 'buttonEnabled' => array( 'type' => 'boolean', 'default' => false ), 'iconEnabled' => array( 'type' => 'boolean', 'default' => true ), 'innerBlocksEnabled' => array( 'type' => 'boolean', 'default' => false ), 'closeButtonEnabled' => array( 'type' => 'boolean', 'default' => false ), 'closeButtonExpiration' => array( 'type' => 'number', 'default' => 0 ), 'colorPrimary' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-primary, #084298)' ), 'colorBorder' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-border, #b6d4fe)' ), 'colorAccent' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-accent, #26559c)' ), 'colorAlt' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-alt, #084298)' ), 'colorAltHover' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-alt-hover, #084298)' ), 'colorAltText' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-alt-text, #ffffff)' ), 'colorAltTextHover' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-alt-text-hover, #ffffff)' ), 'colorSecondary' => array( 'type' => 'string', 'default' => '' ), 'colorSecondaryHover' => array( 'type' => 'string', 'default' => '' ), 'colorSecondaryText' => array( 'type' => 'string', 'default' => '' ), 'colorSecondaryTextHover' => array( 'type' => 'string', 'default' => '' ), 'colorBold' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-bold, #084298)' ), 'colorLight' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-bootstrap-color-light, #cfe2ff)' ), 'buttonText' => array( 'type' => 'string', 'default' => '' ), 'buttonUrl' => array( 'type' => 'string', 'default' => '' ), 'buttonHasUrl' => array( 'type' => 'boolean', 'default' => false ), 'buttonTarget' => array( 'type' => 'boolean', 'default' => false ), 'buttonRelNoFollow' => array( 'type' => 'boolean', 'default' => false ), 'buttonRelSponsored' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonEnabled' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonText' => array( 'type' => 'string', 'default' => '' ), 'secondaryButtonUrl' => array( 'type' => 'string', 'default' => '' ), 'secondaryButtonHasUrl' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonTarget' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonRelNoFollow' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonRelSponsored' => array( 'type' => 'boolean', 'default' => false ), 'maximumWidthUnit' => array( 'type' => 'string', 'default' => 'px' ), 'maximumWidth' => array( 'type' => 'string', 'default' => '650' ), 'marginSpacing' => array( 'type' => 'string', 'default' => 'spacious' ), 'marginSpacingTarget' => array( 'type' => 'string', 'default' => 'both' ), 'baseFontSize' => array( 'type' => 'number', 'default' => 18 ), 'icon' => array( 'type' => 'string', 'default' => 'check' ), 'enableCustomFonts' => array( 'type' => 'boolean', 'default' => true ), 'variant' => array( 'type' => 'string', 'default' => 'default' ), 'mode' => array( 'type' => 'string', 'default' => 'light' ), 'enableDropShadow' => array( 'type' => 'boolean', 'default' => false ), 'iconVerticalAlignment' => array( 'type' => 'string', 'default' => 'top' ), 'uniqueId' => array( 'type' => 'string', 'default' => '' ), 'alertGroup' => array( 'type' => 'string', 'default' => 'bootstrap' ), 'isBlockAdminOnly' => array( 'type' => 'boolean', 'default' => false ), 'adminOnlyBlockExpiresEnabled' => array( 'type' => 'boolean', 'default' => false ), 'adminOnlyBlockExpires' => array( 'type' => 'string', 'default' => null ), 'conditionsEnabled' => array( 'type' => 'boolean', 'default' => false ), 'startDate' => array( 'type' => 'string', 'default' => '' ), 'endDate' => array( 'type' => 'string', 'default' => '' ), 'daysOfWeek' => array( 'type' => 'string', 'default' => '' ), 'urlParams' => array( 'type' => 'array', 'default' => array( ) ), 'requireLogin' => array( 'type' => 'boolean', 'default' => false ), 'requiredRoles' => array( 'type' => 'string', 'default' => '' ), 'isBlockEditorialOnly' => array( 'type' => 'boolean', 'default' => false ), 'isBlockReadOnly' => array( 'type' => 'boolean', 'default' => false ), 'iconSource' => array( 'type' => 'string', 'default' => 'icon' ), 'imageUrl' => array( 'type' => 'string', 'default' => '' ), 'imageId' => array( 'type' => 'number', 'default' => 0 ), 'iconSize' => array( 'type' => 'string', 'default' => 'default' ) ), 'example' => array( 'attributes' => array( 'alertType' => 'success', 'alertTitle' => 'Sample alert title', 'alertDescription' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.
', 'buttonEnabled' => true, 'baseFontSize' => 14, 'buttonText' => 'Learn More', 'icon' => '' ) ), 'styles' => array( array( 'name' => 'primary', 'label' => 'Primary', 'isDefault' => true ), array( 'name' => 'secondary', 'label' => 'Secondary' ), array( 'name' => 'success', 'label' => 'Success' ), array( 'name' => 'danger', 'label' => 'Danger' ), array( 'name' => 'warning', 'label' => 'Warning' ), array( 'name' => 'info', 'label' => 'Info' ), array( 'name' => 'light', 'label' => 'Light' ), array( 'name' => 'dark', 'label' => 'Dark' ), array( 'name' => 'custom', 'label' => 'Custom' ) ), 'supports' => array( 'anchor' => true, 'align' => array( 'center', 'wide', 'full' ), 'className' => true, 'inserter' => false ), 'editorScript' => 'alerts-dlx-block', 'editorStyle' => array( 'alerts-dlx-block-editor-styles', 'alerts-dlx-bootstrap-styles', 'alerts-dlx-block-editor-styles-lato' ) ), 'chakraui' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'title' => 'Chakra Alert', 'apiVersion' => 3, 'name' => 'mediaron/alerts-dlx-chakra', 'category' => 'alertsdlx-legacy', 'icon' => '', 'description' => 'An alert and notification block inspired by Chakra UI.', 'keywords' => array( 'alert', 'info', 'hint', 'success', 'error', 'notice', 'notification', 'warning', 'chakra' ), 'version' => '1.0.0', 'textdomain' => 'alerts-dlx', 'attributes' => array( 'align' => array( 'type' => 'string', 'default' => 'center' ), 'alertType' => array( 'type' => 'string', 'default' => 'success' ), 'alertTitle' => array( 'type' => 'string', 'default' => '' ), 'alertDescription' => array( 'type' => 'string', 'default' => '' ), 'descriptionEnabled' => array( 'type' => 'boolean', 'default' => true ), 'titleEnabled' => array( 'type' => 'boolean', 'default' => true ), 'buttonEnabled' => array( 'type' => 'boolean', 'default' => false ), 'iconEnabled' => array( 'type' => 'boolean', 'default' => true ), 'buttonText' => array( 'type' => 'string', 'default' => '' ), 'buttonUrl' => array( 'type' => 'string', 'default' => '' ), 'buttonHasUrl' => array( 'type' => 'boolean', 'default' => false ), 'buttonTarget' => array( 'type' => 'boolean', 'default' => false ), 'buttonRelNoFollow' => array( 'type' => 'boolean', 'default' => false ), 'buttonRelSponsored' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonEnabled' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonText' => array( 'type' => 'string', 'default' => '' ), 'secondaryButtonUrl' => array( 'type' => 'string', 'default' => '' ), 'secondaryButtonHasUrl' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonTarget' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonRelNoFollow' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonRelSponsored' => array( 'type' => 'boolean', 'default' => false ), 'maximumWidthUnit' => array( 'type' => 'string', 'default' => 'px' ), 'maximumWidth' => array( 'type' => 'string', 'default' => '650' ), 'marginSpacing' => array( 'type' => 'string', 'default' => 'spacious' ), 'marginSpacingTarget' => array( 'type' => 'string', 'default' => 'both' ), 'baseFontSize' => array( 'type' => 'number', 'default' => 18 ), 'icon' => array( 'type' => 'string', 'default' => 'check' ), 'enableCustomFonts' => array( 'type' => 'boolean', 'default' => true ), 'variant' => array( 'type' => 'string', 'default' => 'subtle' ), 'mode' => array( 'type' => 'string', 'default' => 'light' ), 'enableDropShadow' => array( 'type' => 'boolean', 'default' => false ), 'iconVerticalAlignment' => array( 'type' => 'string', 'default' => 'top' ), 'uniqueId' => array( 'type' => 'string', 'default' => '' ), 'alertGroup' => array( 'type' => 'string', 'default' => 'chakra' ), 'closeButtonEnabled' => array( 'type' => 'boolean', 'default' => false ), 'closeButtonExpiration' => array( 'type' => 'number', 'default' => 0 ), 'innerBlocksEnabled' => array( 'type' => 'boolean', 'default' => false ), 'colorPrimary' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-chakra-color-primary, #014361)' ), 'colorBorder' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-chakra-color-border, #014361)' ), 'colorAccent' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-chakra-color-accent, #3182ce)' ), 'colorAlt' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-chakra-color-alt, #2d76bb)' ), 'colorAltHover' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-chakra-color-alt-hover, #2d76bb)' ), 'colorAltText' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-chakra-color-alt-text, #ffffff)' ), 'colorAltTextHover' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-chakra-color-alt-text-hover, #ffffff)' ), 'colorSecondary' => array( 'type' => 'string', 'default' => '' ), 'colorSecondaryHover' => array( 'type' => 'string', 'default' => '' ), 'colorSecondaryText' => array( 'type' => 'string', 'default' => '' ), 'colorSecondaryTextHover' => array( 'type' => 'string', 'default' => '' ), 'colorBold' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-chakra-color-bold, #2d76bb)' ), 'colorLight' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-chakra-color-light, #bee3f8)' ), 'conditionsEnabled' => array( 'type' => 'boolean', 'default' => false ), 'startDate' => array( 'type' => 'string', 'default' => '' ), 'endDate' => array( 'type' => 'string', 'default' => '' ), 'daysOfWeek' => array( 'type' => 'string', 'default' => '' ), 'urlParams' => array( 'type' => 'array', 'default' => array( ) ), 'requireLogin' => array( 'type' => 'boolean', 'default' => false ), 'requiredRoles' => array( 'type' => 'string', 'default' => '' ), 'isBlockEditorialOnly' => array( 'type' => 'boolean', 'default' => false ), 'isBlockReadOnly' => array( 'type' => 'boolean', 'default' => false ), 'iconSource' => array( 'type' => 'string', 'default' => 'icon' ), 'imageUrl' => array( 'type' => 'string', 'default' => '' ), 'imageId' => array( 'type' => 'number', 'default' => 0 ), 'iconSize' => array( 'type' => 'string', 'default' => 'default' ) ), 'example' => array( 'attributes' => array( 'alertType' => 'info', 'alertTitle' => 'Sample alert title', 'alertDescription' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.
', 'buttonEnabled' => true, 'baseFontSize' => 14, 'buttonText' => 'Learn More', 'icon' => '' ) ), 'styles' => array( array( 'name' => 'success', 'label' => 'Success', 'isDefault' => true ), array( 'name' => 'info', 'label' => 'Info' ), array( 'name' => 'warning', 'label' => 'Warning' ), array( 'name' => 'error', 'label' => 'Error' ), array( 'name' => 'custom', 'label' => 'Custom' ) ), 'supports' => array( 'anchor' => true, 'align' => array( 'center', 'wide', 'full' ), 'className' => true, 'inserter' => false ), 'editorScript' => 'alerts-dlx-block', 'editorStyle' => array( 'alerts-dlx-block-editor-styles', 'alerts-dlx-chakra-styles', 'alerts-dlx-block-editor-styles-lato' ) ), 'material' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'title' => 'Material UI Alert', 'apiVersion' => 3, 'name' => 'mediaron/alerts-dlx-material', 'category' => 'alertsdlx-legacy', 'icon' => '', 'description' => 'An alert and notification block inspired by Material UI.', 'keywords' => array( 'alert', 'info', 'hint', 'success', 'error', 'notice', 'notification', 'warning', 'material' ), 'version' => '1.0.0', 'textdomain' => 'alerts-dlx', 'attributes' => array( 'align' => array( 'type' => 'string', 'default' => 'center' ), 'alertType' => array( 'type' => 'string', 'default' => 'success' ), 'alertTitle' => array( 'type' => 'string', 'default' => '' ), 'alertDescription' => array( 'type' => 'string', 'default' => '' ), 'descriptionEnabled' => array( 'type' => 'boolean', 'default' => true ), 'titleEnabled' => array( 'type' => 'boolean', 'default' => true ), 'buttonEnabled' => array( 'type' => 'boolean', 'default' => false ), 'iconEnabled' => array( 'type' => 'boolean', 'default' => true ), 'buttonText' => array( 'type' => 'string', 'default' => '' ), 'buttonUrl' => array( 'type' => 'string', 'default' => '' ), 'buttonHasUrl' => array( 'type' => 'boolean', 'default' => false ), 'buttonTarget' => array( 'type' => 'boolean', 'default' => false ), 'buttonRelNoFollow' => array( 'type' => 'boolean', 'default' => false ), 'buttonRelSponsored' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonEnabled' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonText' => array( 'type' => 'string', 'default' => '' ), 'secondaryButtonUrl' => array( 'type' => 'string', 'default' => '' ), 'secondaryButtonHasUrl' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonTarget' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonRelNoFollow' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonRelSponsored' => array( 'type' => 'boolean', 'default' => false ), 'maximumWidthUnit' => array( 'type' => 'string', 'default' => 'px' ), 'maximumWidth' => array( 'type' => 'string', 'default' => '650' ), 'marginSpacing' => array( 'type' => 'string', 'default' => 'spacious' ), 'marginSpacingTarget' => array( 'type' => 'string', 'default' => 'both' ), 'baseFontSize' => array( 'type' => 'number', 'default' => 18 ), 'icon' => array( 'type' => 'string', 'default' => 'done' ), 'enableCustomFonts' => array( 'type' => 'boolean', 'default' => true ), 'variant' => array( 'type' => 'string', 'default' => 'default' ), 'mode' => array( 'type' => 'string', 'default' => 'light' ), 'enableDropShadow' => array( 'type' => 'boolean', 'default' => false ), 'iconVerticalAlignment' => array( 'type' => 'string', 'default' => 'top' ), 'uniqueId' => array( 'type' => 'string', 'default' => '' ), 'alertGroup' => array( 'type' => 'string', 'default' => 'material' ), 'closeButtonEnabled' => array( 'type' => 'boolean', 'default' => false ), 'closeButtonExpiration' => array( 'type' => 'number', 'default' => 0 ), 'innerBlocksEnabled' => array( 'type' => 'boolean', 'default' => false ), 'colorPrimary' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-material-color-primary, #014361)' ), 'colorBorder' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-material-color-border, #014361)' ), 'colorAccent' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-material-color-accent, #3182ce)' ), 'colorAlt' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-material-color-alt, #2d76bb)' ), 'colorAltHover' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-material-color-alt-hover, #2d76bb)' ), 'colorAltText' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-material-color-alt-text, #ffffff)' ), 'colorAltTextHover' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-material-color-alt-text-hover, #ffffff)' ), 'colorSecondary' => array( 'type' => 'string', 'default' => '' ), 'colorSecondaryHover' => array( 'type' => 'string', 'default' => '' ), 'colorSecondaryText' => array( 'type' => 'string', 'default' => '' ), 'colorSecondaryTextHover' => array( 'type' => 'string', 'default' => '' ), 'colorBold' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-material-color-bold, #2d76bb)' ), 'colorLight' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-material-color-light, #bee3f8)' ), 'conditionsEnabled' => array( 'type' => 'boolean', 'default' => false ), 'startDate' => array( 'type' => 'string', 'default' => '' ), 'endDate' => array( 'type' => 'string', 'default' => '' ), 'daysOfWeek' => array( 'type' => 'string', 'default' => '' ), 'urlParams' => array( 'type' => 'array', 'default' => array( ) ), 'requireLogin' => array( 'type' => 'boolean', 'default' => false ), 'requiredRoles' => array( 'type' => 'string', 'default' => '' ), 'isBlockEditorialOnly' => array( 'type' => 'boolean', 'default' => false ), 'isBlockReadOnly' => array( 'type' => 'boolean', 'default' => false ), 'iconSource' => array( 'type' => 'string', 'default' => 'icon' ), 'imageUrl' => array( 'type' => 'string', 'default' => '' ), 'imageId' => array( 'type' => 'number', 'default' => 0 ), 'iconSize' => array( 'type' => 'string', 'default' => 'default' ) ), 'example' => array( 'attributes' => array( 'alertType' => 'info', 'alertTitle' => 'Sample alert title', 'alertDescription' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.
', 'buttonEnabled' => true, 'baseFontSize' => 14, 'buttonText' => 'Learn More', 'icon' => '' ) ), 'styles' => array( array( 'name' => 'success', 'label' => 'Success', 'isDefault' => true ), array( 'name' => 'info', 'label' => 'Info' ), array( 'name' => 'warning', 'label' => 'Warning' ), array( 'name' => 'error', 'label' => 'Error' ), array( 'name' => 'custom', 'label' => 'Custom' ) ), 'supports' => array( 'anchor' => true, 'align' => array( 'center', 'wide', 'full' ), 'className' => true, 'inserter' => false ), 'editorScript' => 'alerts-dlx-block', 'editorStyle' => array( 'alerts-dlx-block-editor-styles', 'alerts-dlx-material-styles', 'alerts-dlx-block-editor-styles-lato' ) ), 'shoelace' => array( '$schema' => 'https://schemas.wp.org/trunk/block.json', 'title' => 'Shoelace Alert', 'apiVersion' => 3, 'name' => 'mediaron/alerts-dlx-shoelace', 'category' => 'alertsdlx-legacy', 'icon' => '', 'description' => 'An alert and notification block inspired by Shoelace.', 'keywords' => array( 'alert', 'info', 'hint', 'success', 'error', 'notice', 'notification', 'warning', 'shoelace' ), 'version' => '1.0.0', 'textdomain' => 'alerts-dlx', 'attributes' => array( 'align' => array( 'type' => 'string', 'default' => 'center' ), 'alertType' => array( 'type' => 'string', 'default' => 'success' ), 'alertTitle' => array( 'type' => 'string', 'default' => '' ), 'alertDescription' => array( 'type' => 'string', 'default' => '' ), 'descriptionEnabled' => array( 'type' => 'boolean', 'default' => true ), 'titleEnabled' => array( 'type' => 'boolean', 'default' => true ), 'buttonEnabled' => array( 'type' => 'boolean', 'default' => false ), 'iconEnabled' => array( 'type' => 'boolean', 'default' => true ), 'buttonText' => array( 'type' => 'string', 'default' => '' ), 'buttonUrl' => array( 'type' => 'string', 'default' => '' ), 'buttonHasUrl' => array( 'type' => 'boolean', 'default' => false ), 'buttonTarget' => array( 'type' => 'boolean', 'default' => false ), 'buttonRelNoFollow' => array( 'type' => 'boolean', 'default' => false ), 'buttonRelSponsored' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonEnabled' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonText' => array( 'type' => 'string', 'default' => '' ), 'secondaryButtonUrl' => array( 'type' => 'string', 'default' => '' ), 'secondaryButtonHasUrl' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonTarget' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonRelNoFollow' => array( 'type' => 'boolean', 'default' => false ), 'secondaryButtonRelSponsored' => array( 'type' => 'boolean', 'default' => false ), 'maximumWidthUnit' => array( 'type' => 'string', 'default' => 'px' ), 'maximumWidth' => array( 'type' => 'string', 'default' => '650' ), 'marginSpacing' => array( 'type' => 'string', 'default' => 'spacious' ), 'marginSpacingTarget' => array( 'type' => 'string', 'default' => 'both' ), 'baseFontSize' => array( 'type' => 'number', 'default' => 18 ), 'icon' => array( 'type' => 'string', 'default' => 'check' ), 'enableCustomFonts' => array( 'type' => 'boolean', 'default' => true ), 'variant' => array( 'type' => 'string', 'default' => 'top-accent' ), 'iconAppearance' => array( 'type' => 'string', 'default' => 'rounded' ), 'mode' => array( 'type' => 'string', 'default' => 'light' ), 'enableDropShadow' => array( 'type' => 'boolean', 'default' => false ), 'iconVerticalAlignment' => array( 'type' => 'string', 'default' => 'top' ), 'uniqueId' => array( 'type' => 'string', 'default' => '' ), 'alertGroup' => array( 'type' => 'string', 'default' => 'shoelace' ), 'innerBlocksEnabled' => array( 'type' => 'boolean', 'default' => false ), 'closeButtonEnabled' => array( 'type' => 'boolean', 'default' => false ), 'closeButtonExpiration' => array( 'type' => 'number', 'default' => 0 ), 'colorPrimary' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-shoelace-color-primary, #084298)' ), 'colorBorder' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-shoelace-color-border, #b6d4fe)' ), 'colorAccent' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-shoelace-color-accent, #26559c)' ), 'colorAlt' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-shoelace-color-alt, #084298)' ), 'colorAltHover' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-shoelace-color-alt-hover, #084298)' ), 'colorAltText' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-shoelace-color-alt-text, #ffffff)' ), 'colorAltTextHover' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-shoelace-color-alt-text-hover, #ffffff)' ), 'colorSecondary' => array( 'type' => 'string', 'default' => '' ), 'colorSecondaryHover' => array( 'type' => 'string', 'default' => '' ), 'colorSecondaryText' => array( 'type' => 'string', 'default' => '' ), 'colorSecondaryTextHover' => array( 'type' => 'string', 'default' => '' ), 'colorBold' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-shoelace-color-bold, #084298)' ), 'colorLight' => array( 'type' => 'string', 'default' => 'var(--alerts-dlx-shoelace-color-light, #cfe2ff)' ), 'conditionsEnabled' => array( 'type' => 'boolean', 'default' => false ), 'startDate' => array( 'type' => 'string', 'default' => '' ), 'endDate' => array( 'type' => 'string', 'default' => '' ), 'daysOfWeek' => array( 'type' => 'string', 'default' => '' ), 'urlParams' => array( 'type' => 'array', 'default' => array( ) ), 'requireLogin' => array( 'type' => 'boolean', 'default' => false ), 'requiredRoles' => array( 'type' => 'string', 'default' => '' ), 'isBlockEditorialOnly' => array( 'type' => 'boolean', 'default' => false ), 'isBlockReadOnly' => array( 'type' => 'boolean', 'default' => false ), 'iconSource' => array( 'type' => 'string', 'default' => 'icon' ), 'imageUrl' => array( 'type' => 'string', 'default' => '' ), 'imageId' => array( 'type' => 'number', 'default' => 0 ), 'iconSize' => array( 'type' => 'string', 'default' => 'default' ) ), 'example' => array( 'attributes' => array( 'alertType' => 'success', 'alertTitle' => 'Sample alert title', 'alertDescription' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.
', 'buttonEnabled' => true, 'baseFontSize' => 14, 'buttonText' => 'Learn More', 'icon' => '' ) ), 'styles' => array( array( 'name' => 'primary', 'label' => 'Primary', 'isDefault' => true ), array( 'name' => 'success', 'label' => 'Success' ), array( 'name' => 'neutral', 'label' => 'Neutral' ), array( 'name' => 'warning', 'label' => 'Warning' ), array( 'name' => 'danger', 'label' => 'Danger' ), array( 'name' => 'custom', 'label' => 'Custom' ) ), 'supports' => array( 'anchor' => true, 'align' => array( 'center', 'wide', 'full' ), 'className' => true, 'inserter' => false ), 'editorScript' => 'alerts-dlx-block', 'editorStyle' => array( 'alerts-dlx-block-editor-styles', 'alerts-dlx-shoelace-styles', 'alerts-dlx-block-editor-styles-lato' ) ) );