diff --git a/assets/css/public/base.css b/assets/css/public/base.css index 8bffaf2..7e4928a 100644 --- a/assets/css/public/base.css +++ b/assets/css/public/base.css @@ -3,9 +3,10 @@ --wwp--color--text: #000000; --wwp--color--link: #007cba; - max-width: 340px; + max-width: 360px; max-height: 80vh; position: fixed; + z-index: 999; background-color: var(--wwp--color--background); color: var(--wwp--color--text); border: 1px solid; @@ -136,8 +137,6 @@ */ .welcomewp-message.has-excerpt .welcomewp-message__excerpt { - -webkit-padding-end: 1em; - padding-inline-end: 1em; -webkit-padding-start: 0.125em; padding-inline-start: 0.125em; -webkit-box-flex: 1; @@ -158,6 +157,7 @@ -webkit-box-align: center; -ms-flex-align: center; align-items: center; + line-height: 1.45; } /** @@ -166,9 +166,10 @@ .welcomewp-message__header { font-weight: bold; - padding: 1em; - padding: var(--wp--style--block-gap, 1em); - line-height: 1.4; + padding-block: 1em; + padding-block: var(--wp--style--block-gap, 1em); + padding-inline: 1em calc(1em + 12px); + padding-inline: var(--wp--style--block-gap, 1em) calc(var(--wp--style--block-gap, 1em) + 12px); } .welcomewp-message__header::marker { @@ -198,8 +199,8 @@ */ .welcomewp-message__content { - padding: 1em; - padding: var(--wp--style--block-gap, 1em); + padding: 1em 1em 0; + padding: var(--wp--style--block-gap, 1em) var(--wp--style--block-gap, 1em) 0; } /** @@ -258,6 +259,10 @@ color: var(--wwp--color--link); } +#welcomewp-message .welcomewp-message__close-button { + background: none; +} + /* states */ #welcomewp-message[aria-hidden="true"] { diff --git a/assets/css/public/base.min.css b/assets/css/public/base.min.css index acecd7c..46ec524 100644 --- a/assets/css/public/base.min.css +++ b/assets/css/public/base.min.css @@ -1 +1 @@ -.welcomewp-message{--wwp--color--background:#fff;--wwp--color--text:#000;--wwp--color--link:#007cba;-webkit-animation:slide .5s forwards;animation:slide .5s forwards;-webkit-animation-delay:1s;animation-delay:1s;background-color:var(--wwp--color--background);border:1px solid;color:var(--wwp--color--text);max-height:80vh;max-width:340px;overflow:scroll;overflow-x:hidden;position:fixed}[class*=welcomewp-message__]>:first-child{-webkit-margin-before:0;margin-block-start:0}[class*=welcomewp-message__]>:last-child{-webkit-margin-after:0;margin-block-end:0}.welcomewp-message>details[open]>summary{-webkit-border-after:1px solid;border-block-end:1px solid}.welcomewp-message>details:not([open])>summary{cursor:pointer}.welcomewp-message.has-thumbnail>details[open] .welcomewp-message__header{display:none}.welcomewp-message a{color:var(--wwp--color--link)}.welcomewp-message a:hover{color:inherit}.sr-only:not(:focus):not(:active){clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media screen and (max-width:782px){#welcomewp-message[data-message-position=left-bottom],#welcomewp-message[data-message-position=right-bottom]{inset:auto 1em 1em 1em;inset:auto var(--wp--style--block-gap,1em) var(--wp--style--block-gap,1em) var(--wp--style--block-gap,1em);max-width:100%}}.welcomewp-message[data-message-position=left-bottom]{inset:auto auto 1em 1em;inset:auto auto var(--wp--style--block-gap,1em) var(--wp--style--block-gap,1em)}.welcomewp-message[data-message-position=left-bottom] .welcomewp-message__footer{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}@media screen and (min-width:782px){.welcomewp-message[data-message-position=left-bottom].has-thumbnail.has-excerpt .welcomewp-message__thumb{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.welcomewp-message[data-message-position=left-bottom].has-thumbnail.has-excerpt .welcomewp-message__excerpt{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;padding-inline:1em 0}.welcomewp-message[data-message-position=left-bottom].has-thumbnail.has-excerpt .welcomewp-message__header .welcomewp-message__close-button{inset-inline:.5em auto}}.welcomewp-message[data-message-position=right-bottom]{inset:auto 1em 1em auto;inset:auto var(--wp--style--block-gap,1em) var(--wp--style--block-gap,1em) auto}.welcomewp-message[data-message-position=right-bottom] .welcomewp-message__footer{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.welcomewp-message.has-excerpt .welcomewp-message__excerpt{-webkit-padding-end:1em;-webkit-padding-start:.125em;-webkit-box-flex:1;-ms-flex:1 1 0%;flex:1 1 0%;padding-inline-end:1em;padding-inline-start:.125em}.welcomewp-message.has-thumbnail.has-excerpt .welcomewp-message__header{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;gap:1em;list-style:none}.welcomewp-message__header{font-weight:700;line-height:1.4;padding:1em;padding:var(--wp--style--block-gap,1em)}.welcomewp-message__header::marker{-webkit-margin-end:1em;margin-inline-end:1em}.welcomewp-message.has-thumbnail:not(.has-excerpt) .welcomewp-message__header{padding:.25em;padding:calc(var(--wp--style--block-gap, 1em)/4)}.welcomewp-message__header .welcomewp-message__close-button{-ms-flex-item-align:start;-webkit-margin-start:auto;align-self:flex-start;inset-block-start:.5em;inset-inline-end:.5em;margin-inline-start:auto;padding:.125em;position:absolute;z-index:10}.welcomewp-message__content,.welcomewp-message__footer{padding:1em;padding:var(--wp--style--block-gap,1em)}.welcomewp-message__footer{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;gap:.5em}.welcomewp-message.has-thumbnail .welcomewp-message__header::-webkit-details-marker{display:none}.welcomewp-message__thumb{line-height:0;margin:0}.welcomewp-message__close-button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:transparent;border:none;color:inherit;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;font-family:inherit;font-size:inherit;font-weight:bolder;gap:.5em;line-height:1;padding:0}.welcomewp-message__close-button:hover{color:var(--wwp--color--link)}#welcomewp-message[aria-hidden=true]{display:none}.admin-bar .welcomewp-message{-webkit-margin-before:calc(32px + 1em);-webkit-margin-before:calc(32px + var(--wp--style--block-gap, 1em));margin-block-start:calc(32px + 1em);margin-block-start:calc(32px + var(--wp--style--block-gap, 1em))} \ No newline at end of file +.welcomewp-message{--wwp--color--background:#fff;--wwp--color--text:#000;--wwp--color--link:#007cba;-webkit-animation:slide .5s forwards;animation:slide .5s forwards;-webkit-animation-delay:1s;animation-delay:1s;background-color:var(--wwp--color--background);border:1px solid;color:var(--wwp--color--text);max-height:80vh;max-width:360px;overflow:scroll;overflow-x:hidden;position:fixed;z-index:999}[class*=welcomewp-message__]>:first-child{-webkit-margin-before:0;margin-block-start:0}[class*=welcomewp-message__]>:last-child{-webkit-margin-after:0;margin-block-end:0}.welcomewp-message>details[open]>summary{-webkit-border-after:1px solid;border-block-end:1px solid}.welcomewp-message>details:not([open])>summary{cursor:pointer}.welcomewp-message.has-thumbnail>details[open] .welcomewp-message__header{display:none}.welcomewp-message a{color:var(--wwp--color--link)}.welcomewp-message a:hover{color:inherit}.sr-only:not(:focus):not(:active){clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media screen and (max-width:782px){#welcomewp-message[data-message-position=left-bottom],#welcomewp-message[data-message-position=right-bottom]{inset:auto 1em 1em 1em;inset:auto var(--wp--style--block-gap,1em) var(--wp--style--block-gap,1em) var(--wp--style--block-gap,1em);max-width:100%}}.welcomewp-message[data-message-position=left-bottom]{inset:auto auto 1em 1em;inset:auto auto var(--wp--style--block-gap,1em) var(--wp--style--block-gap,1em)}.welcomewp-message[data-message-position=left-bottom] .welcomewp-message__footer{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}@media screen and (min-width:782px){.welcomewp-message[data-message-position=left-bottom].has-thumbnail.has-excerpt .welcomewp-message__thumb{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.welcomewp-message[data-message-position=left-bottom].has-thumbnail.has-excerpt .welcomewp-message__excerpt{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;padding-inline:1em 0}.welcomewp-message[data-message-position=left-bottom].has-thumbnail.has-excerpt .welcomewp-message__header .welcomewp-message__close-button{inset-inline:.5em auto}}.welcomewp-message[data-message-position=right-bottom]{inset:auto 1em 1em auto;inset:auto var(--wp--style--block-gap,1em) var(--wp--style--block-gap,1em) auto}.welcomewp-message[data-message-position=right-bottom] .welcomewp-message__footer{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.welcomewp-message.has-excerpt .welcomewp-message__excerpt{-webkit-padding-start:.125em;-webkit-box-flex:1;-ms-flex:1 1 0%;flex:1 1 0%;padding-inline-start:.125em}.welcomewp-message.has-thumbnail.has-excerpt .welcomewp-message__header{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;gap:1em;line-height:1.45;list-style:none}.welcomewp-message__header{font-weight:700;padding-block:1em;padding-block:var(--wp--style--block-gap,1em);padding-inline:1em calc(1em + 12px);padding-inline:var(--wp--style--block-gap,1em) calc(var(--wp--style--block-gap, 1em) + 12px)}.welcomewp-message__header::marker{-webkit-margin-end:1em;margin-inline-end:1em}.welcomewp-message.has-thumbnail:not(.has-excerpt) .welcomewp-message__header{padding:.25em;padding:calc(var(--wp--style--block-gap, 1em)/4)}.welcomewp-message__header .welcomewp-message__close-button{-ms-flex-item-align:start;-webkit-margin-start:auto;align-self:flex-start;inset-block-start:.5em;inset-inline-end:.5em;margin-inline-start:auto;padding:.125em;position:absolute;z-index:10}.welcomewp-message__content{padding:1em 1em 0;padding:var(--wp--style--block-gap,1em) var(--wp--style--block-gap,1em) 0}.welcomewp-message__footer{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;gap:.5em;padding:1em;padding:var(--wp--style--block-gap,1em)}.welcomewp-message.has-thumbnail .welcomewp-message__header::-webkit-details-marker{display:none}.welcomewp-message__thumb{line-height:0;margin:0}.welcomewp-message__close-button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:transparent;border:none;color:inherit;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;font-family:inherit;font-size:inherit;font-weight:bolder;gap:.5em;line-height:1;padding:0}.welcomewp-message__close-button:hover{color:var(--wwp--color--link)}#welcomewp-message .welcomewp-message__close-button{background:none}#welcomewp-message[aria-hidden=true]{display:none}.admin-bar .welcomewp-message{-webkit-margin-before:calc(32px + 1em);-webkit-margin-before:calc(32px + var(--wp--style--block-gap, 1em));margin-block-start:calc(32px + 1em);margin-block-start:calc(32px + var(--wp--style--block-gap, 1em))} \ No newline at end of file diff --git a/includes/class-dashboard.php b/includes/class-dashboard.php index c27abf4..ff9849a 100644 --- a/includes/class-dashboard.php +++ b/includes/class-dashboard.php @@ -33,7 +33,7 @@ public function __construct() { add_action( 'admin_init', array( $this, 'register_settings' ) ); add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) ); - add_filter( 'welcomewp-pointerplus_list', array( $this, 'init_onboarding' ), 10, 2 ); + add_filter( 'welcomewp-pointerplus_list', array( $this, 'init_onboarding' ) ); } /** @@ -41,16 +41,19 @@ public function __construct() { * * @since 1.0.1 */ - public function init_onboarding() { - return array( - $this->slug . '_settings' => array( - 'selector' => '#menu-posts-greeter', - 'title' => esc_html__( 'WelcomeWP', 'welcomewp' ), - 'text' => esc_html__( 'The plugin is active. Now create a website welcome message using the Greeters functionality.', 'your-pointer-domain' ), - 'width' => 250, - 'icon_class' => 'dashicons-nametag', - 'pages' => array( 'plugins.php' ), - ), + public function init_onboarding( $pointers ) { + return array_merge( + $pointers, + array( + $this->slug . '_settings' => array( + 'selector' => '#menu-posts-greeter', + 'title' => esc_html__( 'WelcomeWP', 'welcomewp' ), + 'text' => esc_html__( 'The plugin is active. Use `Greeters` to create a website message.', 'welcomewp' ), + 'width' => 250, + 'icon_class' => 'dashicons-nametag', + 'pages' => array( 'plugins.php' ), + ), + ) ); } diff --git a/includes/class-greeter.php b/includes/class-greeter.php index af9943d..126ace3 100644 --- a/includes/class-greeter.php +++ b/includes/class-greeter.php @@ -105,7 +105,7 @@ public function __construct( $dashboard ) { // Display onboarding hints if no posts have been created yet. if ( ! $this->has_posts() ) { - add_filter( 'welcomewp-pointerplus_list', array( $this, 'init_onboarding' ), 10, 2 ); + add_filter( 'welcomewp-pointerplus_list', array( $this, 'init_onboarding' ) ); } } @@ -743,79 +743,82 @@ public function output_fields_option_colors( $id ) { * @since 1.0.0 * @param int $id ID of the greeter. */ - public function init_onboarding() { - return array( - $this->slug . '_new' => array( - 'selector' => '#menu-posts-greeter', - 'title' => esc_html__( 'WelcomeWP', 'welcomewp' ), - 'text' => esc_html__( 'Add New to open the Editor for a welcome message.', 'welcomewp' ), - 'post_type' => array( 'greeter' ), - 'icon_class' => 'dashicons-nametag', - 'width' => 250, - ), + public function init_onboarding( $pointers ) { + return array_merge( + $pointers, + array( + $this->slug . '_new' => array( + 'selector' => '#menu-posts-greeter', + 'title' => esc_html__( 'WelcomeWP', 'welcomewp' ), + 'text' => esc_html__( 'Click `Add New` to start creating a welcome message.', 'welcomewp' ), + 'post_type' => array( 'greeter' ), + 'icon_class' => 'dashicons-nametag', + 'width' => 250, + ), - $this->slug . '_title' => array( - 'selector' => '#titlewrap', - 'title' => esc_html__( 'WelcomeWP', 'welcomewp' ), - 'text' => esc_html__( 'Title serves as a name for your message. This title is not shown for website visitors. It is only for your own records.', 'welcomewp' ), - 'post_type' => array( 'greeter' ), - 'icon_class' => 'dashicons-nametag', - 'width' => 250, - 'edge' => 'top', - 'align' => 'left', - 'next' => $this->slug . '_content', - ), + $this->slug . '_title' => array( + 'selector' => '#titlewrap', + 'title' => esc_html__( 'WelcomeWP', 'welcomewp' ), + 'text' => esc_html__( 'Title serves as a name for your message. This title is not shown for website visitors. It is only for your own records.', 'welcomewp' ), + 'post_type' => array( 'greeter' ), + 'icon_class' => 'dashicons-nametag', + 'width' => 250, + 'edge' => 'top', + 'align' => 'left', + 'next' => $this->slug . '_content', + ), - $this->slug . '_content' => array( - 'selector' => '#wp-content-editor-container', - 'title' => esc_html__( 'WelcomeWP', 'welcomewp' ), - 'text' => esc_html__( 'This is a main content of your message. The message without main content does not appear on a website.', 'welcomewp' ), - 'post_type' => array( 'greeter' ), - 'icon_class' => 'dashicons-nametag', - 'width' => 250, - 'edge' => 'top', - 'align' => 'left', - 'next' => $this->slug . '_excerpt', - 'show' => 'close' - ), + $this->slug . '_content' => array( + 'selector' => '#wp-content-editor-container', + 'title' => esc_html__( 'WelcomeWP', 'welcomewp' ), + 'text' => esc_html__( 'This is a main content of your message. The message without main content does not appear on a website.', 'welcomewp' ), + 'post_type' => array( 'greeter' ), + 'icon_class' => 'dashicons-nametag', + 'width' => 250, + 'edge' => 'top', + 'align' => 'left', + 'next' => $this->slug . '_excerpt', + 'show' => 'close' + ), - $this->slug . '_excerpt' => array( - 'selector' => '#postexcerpt', - 'title' => esc_html__( 'WelcomeWP', 'welcomewp' ), - 'text' => esc_html__( '(Optional): This is a summary of your message. Use summary to add an accordion (toggle) functionality to a message.', 'welcomewp' ), - 'post_type' => array( 'greeter' ), - 'icon_class' => 'dashicons-nametag', - 'width' => 250, - 'edge' => 'bottom', - 'align' => 'left', - 'next' => $this->slug . '_image', - 'show' => 'close' - ), + $this->slug . '_excerpt' => array( + 'selector' => '#postexcerpt', + 'title' => esc_html__( 'WelcomeWP', 'welcomewp' ), + 'text' => esc_html__( '(Optional): This is a summary of your message. Use summary to add an accordion (toggle) functionality to a message.', 'welcomewp' ), + 'post_type' => array( 'greeter' ), + 'icon_class' => 'dashicons-nametag', + 'width' => 250, + 'edge' => 'bottom', + 'align' => 'left', + 'next' => $this->slug . '_image', + 'show' => 'close' + ), - $this->slug . '_image' => array( - 'selector' => '#postimagediv', - 'title' => esc_html__( 'WelcomeWP', 'welcomewp' ), - 'text' => esc_html__( '(Optional): This is a thumbnail of your message. Use thumbnail to add an accordion (toggle) functionality to a message.', 'welcomewp' ), - 'post_type' => array( 'greeter' ), - 'icon_class' => 'dashicons-nametag', - 'width' => 250, - 'align' => 'middle', - 'edge' => 'right', - 'next' => $this->slug . '_configuration', - 'show' => 'close' - ), + $this->slug . '_image' => array( + 'selector' => '#postimagediv', + 'title' => esc_html__( 'WelcomeWP', 'welcomewp' ), + 'text' => esc_html__( '(Optional): This is a thumbnail of your message. Use thumbnail to add an accordion (toggle) functionality to a message.', 'welcomewp' ), + 'post_type' => array( 'greeter' ), + 'icon_class' => 'dashicons-nametag', + 'width' => 250, + 'align' => 'middle', + 'edge' => 'right', + 'next' => $this->slug . '_configuration', + 'show' => 'close' + ), - $this->slug . '_configuration' => array( - 'selector' => '#welcomewp_greeter_options', - 'title' => esc_html__( 'WelcomeWP', 'welcomewp' ), - 'text' => esc_html__( 'Additional options of a message. Use them to configure visibility of your message.', 'welcomewp' ), - 'post_type' => array( 'greeter' ), - 'icon_class' => 'dashicons-nametag', - 'width' => 250, - 'edge' => 'bottom', - 'align' => 'left', - 'show' => 'close' - ), + $this->slug . '_configuration' => array( + 'selector' => '#welcomewp_greeter_options', + 'title' => esc_html__( 'WelcomeWP', 'welcomewp' ), + 'text' => esc_html__( 'Additional options of a message. Use them to configure visibility of your message.', 'welcomewp' ), + 'post_type' => array( 'greeter' ), + 'icon_class' => 'dashicons-nametag', + 'width' => 250, + 'edge' => 'bottom', + 'align' => 'left', + 'show' => 'close' + ), + ) ); } } diff --git a/includes/class-message.php b/includes/class-message.php index 8fe264f..0771b76 100644 --- a/includes/class-message.php +++ b/includes/class-message.php @@ -82,7 +82,7 @@ public function enqueue_style() { 'welcomewp-base', WELCOMEWP_PLUGIN_URL . "assets/css/public/base{$suffix}.css", array(), - '1.0.1' + '1.0.2' ); // Load custom styles of a message. diff --git a/includes/class-pointerplus.php b/includes/class-pointerplus.php index 707c6bb..5726bab 100644 --- a/includes/class-pointerplus.php +++ b/includes/class-pointerplus.php @@ -30,6 +30,7 @@ function __construct( $args = array() ) { if ( isset( $args[ 'prefix' ] ) ) { $this->prefix = $args[ 'prefix' ]; } + add_action( 'current_screen', array( $this, 'maybe_add_pointers' ) ); } @@ -41,25 +42,25 @@ function __construct( $args = array() ) { function initial_pointers() { global $pagenow; $defaults = array( - 'class' => '', - 'width' => 300, //only fixed value - 'align' => 'middle', - 'edge' => 'left', - 'post_type' => array(), - 'pages' => array(), - 'icon_class' => '' + 'class' => '', + 'width' => 300, //only fixed value + 'align' => 'middle', + 'edge' => 'left', + 'post_type' => array(), + 'pages' => array(), + 'icon_class' => '' ); - $screen = get_current_screen(); + + $screen = get_current_screen(); $current_post_type = isset( $screen->post_type ) ? $screen->post_type : false; - $search_pt = false; + $search_pt = false; - $pointers = apply_filters( $this->prefix . '-pointerplus_list', array( - // Pointers are added through the 'initial_pointerplus' filter - ), $this->prefix ); + // Pointers are added through the 'initial_pointerplus' filter + $pointers = apply_filters( $this->prefix . '-pointerplus_list', array(), $this->prefix ); foreach ( $pointers as $key => $pointer ) { $pointers[ $key ] = wp_parse_args( $pointer, $defaults ); - $search_pt = false; + $search_pt = false; // Clean from null ecc $pointers[ $key ][ 'post_type' ] = array_filter( $pointers[ $key ][ 'post_type' ] ); if ( !empty( $pointers[ $key ][ 'post_type' ] ) ) { @@ -117,18 +118,19 @@ function initial_pointers() { * @since 1.0.0 */ function maybe_add_pointers() { - // Get default pointers that we want to create + // Get default pointers that we want to create. $default_keys = $this->initial_pointers(); - // Get pointers dismissed by user + // Get pointers dismissed by user. $dismissed = explode( ',', get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) ); - // Check that our pointers haven't been dismissed already + // Check that our pointers haven't been dismissed already. $diff = array_diff_key( $default_keys, array_combine( $dismissed, $dismissed ) ); // If we have some pointers to show, save them and start enqueuing assets to display them - if ( !empty( $diff ) ) { + if ( ! empty( $diff ) ) { $this->pointers = $diff; + add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_assets' ) ); foreach ( $diff as $pointer ) { @@ -137,6 +139,7 @@ function maybe_add_pointers() { } } } + $this->pointers[ 'l10n' ] = array( 'next' => __( 'Next' ) ); } diff --git a/languages/welcomewp.pot b/languages/welcomewp.pot index 339df83..0287c1b 100644 --- a/languages/welcomewp.pot +++ b/languages/welcomewp.pot @@ -2,28 +2,28 @@ # This file is distributed under the same license as the WelcomeWP plugin. msgid "" msgstr "" -"Project-Id-Version: WelcomeWP 1.0.0\n" +"Project-Id-Version: WelcomeWP 1.0.2\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/welcomewp\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2022-07-21T02:02:22+00:00\n" +"POT-Creation-Date: 2022-08-06T19:02:21+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.6.0\n" "X-Domain: welcomewp\n" #. Plugin Name of the plugin -#: includes/class-dashboard.php:48 -#: includes/class-dashboard.php:95 +#: includes/class-dashboard.php:50 +#: includes/class-dashboard.php:98 #: includes/class-greeter.php:266 -#: includes/class-greeter.php:750 -#: includes/class-greeter.php:759 -#: includes/class-greeter.php:771 -#: includes/class-greeter.php:784 -#: includes/class-greeter.php:797 -#: includes/class-greeter.php:810 +#: includes/class-greeter.php:752 +#: includes/class-greeter.php:761 +#: includes/class-greeter.php:773 +#: includes/class-greeter.php:786 +#: includes/class-greeter.php:799 +#: includes/class-greeter.php:812 msgid "WelcomeWP" msgstr "" @@ -39,64 +39,68 @@ msgstr "" msgid "https://tarascodes.com" msgstr "" -#: includes/class-dashboard.php:94 -#: includes/class-dashboard.php:278 +#: includes/class-dashboard.php:51 +msgid "The plugin is active. Use `Greeters` to create a website message." +msgstr "" + +#: includes/class-dashboard.php:97 +#: includes/class-dashboard.php:281 msgid "WelcomeWP Settings" msgstr "" -#: includes/class-dashboard.php:124 +#: includes/class-dashboard.php:127 msgid "Greeter" msgstr "" -#: includes/class-dashboard.php:131 +#: includes/class-dashboard.php:134 msgid "Cookie expires in:" msgstr "" -#: includes/class-dashboard.php:172 +#: includes/class-dashboard.php:175 msgid "Minutes" msgstr "" -#: includes/class-dashboard.php:177 +#: includes/class-dashboard.php:180 msgid "Hours" msgstr "" -#: includes/class-dashboard.php:182 +#: includes/class-dashboard.php:185 msgid "Days" msgstr "" -#: includes/class-dashboard.php:187 +#: includes/class-dashboard.php:190 msgid "Months" msgstr "" -#: includes/class-dashboard.php:193 +#: includes/class-dashboard.php:196 msgid "What does it mean?" msgstr "" -#: includes/class-dashboard.php:194 +#: includes/class-dashboard.php:197 msgid "After closing a message, the browser uses a saved piece of data (cookie) to prevent displaying the message again for a set period of time, configured via this option." msgstr "" -#: includes/class-dashboard.php:201 +#: includes/class-dashboard.php:204 msgid "Clear cookie" msgstr "" -#: includes/class-dashboard.php:203 +#: includes/class-dashboard.php:206 msgid "Nothing found" msgstr "" -#: includes/class-dashboard.php:204 +#: includes/class-dashboard.php:207 msgid "Done" msgstr "" -#: includes/class-dashboard.php:205 +#: includes/class-dashboard.php:208 msgid "Error" msgstr "" -#: includes/class-dashboard.php:207 +#: includes/class-dashboard.php:210 msgid "This option clears message cookie only for you, and only on a browser you are currently using." msgstr "" -#: includes/class-dashboard.php:266 +#: includes/class-dashboard.php:269 msgid "Here you can set global options for a WelcomeWP greeter, which delivers a message to site visitors." msgstr "" @@ -198,27 +202,27 @@ msgstr "" msgid "Link color" msgstr "" -#: includes/class-greeter.php:751 -msgid "Add New to open the Editor for a welcome message." +#: includes/class-greeter.php:753 +msgid "Click `Add New` to start creating a welcome message." msgstr "" -#: includes/class-greeter.php:760 +#: includes/class-greeter.php:762 msgid "Title serves as a name for your message. This title is not shown for website visitors. It is only for your own records." msgstr "" -#: includes/class-greeter.php:772 +#: includes/class-greeter.php:774 msgid "This is a main content of your message. The message without main content does not appear on a website." msgstr "" -#: includes/class-greeter.php:785 +#: includes/class-greeter.php:787 msgid "(Optional): This is a summary of your message. Use summary to add an accordion (toggle) functionality to a message." msgstr "" -#: includes/class-greeter.php:798 +#: includes/class-greeter.php:800 msgid "(Optional): This is a thumbnail of your message. Use thumbnail to add an accordion (toggle) functionality to a message." msgstr "" -#: includes/class-greeter.php:811 +#: includes/class-greeter.php:813 msgid "Additional options of a message. Use them to configure visibility of your message." msgstr "" diff --git a/package-lock.json b/package-lock.json index ebd5be2..6f6fc35 100644 --- a/package-lock.json +++ b/package-lock.json @@ -606,9 +606,9 @@ } }, "node_modules/autoprefixer": { - "version": "10.4.7", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.7.tgz", - "integrity": "sha512-ypHju4Y2Oav95SipEcCcI5J7CGPuvz8oat7sUtYj3ClK44bldfvtvcxK6IEK++7rqB7YchDGzweZIBG+SD0ZAA==", + "version": "10.4.8", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.8.tgz", + "integrity": "sha512-75Jr6Q/XpTqEf6D2ltS5uMewJIx5irCU1oBYJrWjFenq/m12WRRrz6g15L1EIoYvPLXTbEry7rDOwrcYNj77xw==", "dev": true, "funding": [ { @@ -621,8 +621,8 @@ } ], "dependencies": { - "browserslist": "^4.20.3", - "caniuse-lite": "^1.0.30001335", + "browserslist": "^4.21.3", + "caniuse-lite": "^1.0.30001373", "fraction.js": "^4.2.0", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", @@ -751,9 +751,9 @@ } }, "node_modules/browserslist": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.2.tgz", - "integrity": "sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.3.tgz", + "integrity": "sha512-898rgRXLAyRkM1GryrrBHGkqA5hlpkV5MhtZwg9QXeiyLUYs2k00Un05aX5l2/yJIOObYKOpS2JNo8nJDE7fWQ==", "dev": true, "funding": [ { @@ -766,10 +766,10 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001366", - "electron-to-chromium": "^1.4.188", + "caniuse-lite": "^1.0.30001370", + "electron-to-chromium": "^1.4.202", "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.4" + "update-browserslist-db": "^1.0.5" }, "bin": { "browserslist": "cli.js" @@ -890,9 +890,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001366", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", - "integrity": "sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==", + "version": "1.0.30001373", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001373.tgz", + "integrity": "sha512-pJYArGHrPp3TUqQzFYRmP/lwJlj8RCbVe3Gd3eJQkAV8SAC6b19XS9BjMvRdvaS8RMkaTN8ZhoHP6S1y8zzwEQ==", "dev": true, "funding": [ { @@ -1115,13 +1115,10 @@ "dev": true }, "node_modules/commander": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", - "dev": true, - "engines": { - "node": ">= 10" - } + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true }, "node_modules/component-emitter": { "version": "1.3.0", @@ -1209,19 +1206,6 @@ "node": ">=4" } }, - "node_modules/cosmiconfig/node_modules/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", - "dev": true, - "dependencies": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/css-blank-pseudo": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/css-blank-pseudo/-/css-blank-pseudo-3.0.3.tgz", @@ -1645,16 +1629,10 @@ "editorconfig": "bin/editorconfig" } }, - "node_modules/editorconfig/node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, "node_modules/electron-to-chromium": { - "version": "1.4.189", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.189.tgz", - "integrity": "sha512-dQ6Zn4ll2NofGtxPXaDfY2laIa6NyCQdqXYHdwH90GJQW0LpJJib0ZU/ERtbb0XkBEmUD2eJtagbOie3pdMiPg==", + "version": "1.4.207", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.207.tgz", + "integrity": "sha512-piH7MJDJp4rJCduWbVvmUd59AUne1AFBJ8JaRQvk0KzNTSUnZrVXHCZc+eg+CGE4OujkcLJznhGKD6tuAshj5Q==", "dev": true }, "node_modules/end-of-stream": { @@ -1868,9 +1846,9 @@ } }, "node_modules/ext/node_modules/type": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/type/-/type-2.6.0.tgz", - "integrity": "sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/type/-/type-2.6.1.tgz", + "integrity": "sha512-OvgH5rB0XM+iDZGQ1Eg/o7IZn0XYJFVrN/9FQ4OWIYILyJJgVP2s1hLTOFn6UOZoDUI/HctGa0PFlE2n2HW3NQ==", "dev": true }, "node_modules/extend": { @@ -2099,6 +2077,16 @@ "node": ">= 0.10" } }, + "node_modules/fs-mkdirp-stream/node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -2165,16 +2153,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/get-stream/node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dev": true, - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, "node_modules/get-value": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", @@ -2311,6 +2289,15 @@ "node": ">=0.10.0" } }, + "node_modules/globby/node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/glogg": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/glogg/-/glogg-1.0.2.tgz", @@ -2406,16 +2393,6 @@ "node": ">=6" } }, - "node_modules/gulp-jsbeautifier/node_modules/through2": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", - "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", - "dev": true, - "dependencies": { - "inherits": "^2.0.4", - "readable-stream": "2 || 3" - } - }, "node_modules/gulp-minify": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/gulp-minify/-/gulp-minify-3.1.0.tgz", @@ -2498,6 +2475,16 @@ "node": ">=0.10.0" } }, + "node_modules/gulp-minify/node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, "node_modules/gulp-postcss": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/gulp-postcss/-/gulp-postcss-9.0.1.tgz", @@ -2549,16 +2536,6 @@ } } }, - "node_modules/gulp-zip/node_modules/through2": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", - "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", - "dev": true, - "dependencies": { - "inherits": "^2.0.4", - "readable-stream": "2 || 3" - } - }, "node_modules/gulplog": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/gulplog/-/gulplog-1.0.0.tgz", @@ -3158,6 +3135,27 @@ "node": ">=0.10.0" } }, + "node_modules/load-json-file/node_modules/parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==", + "dev": true, + "dependencies": { + "error-ex": "^1.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/load-json-file/node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", @@ -3836,15 +3834,16 @@ } }, "node_modules/parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", "dev": true, "dependencies": { - "error-ex": "^1.2.0" + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" }, "engines": { - "node": ">=0.10.0" + "node": ">=4" } }, "node_modules/parse-node-version": { @@ -3942,6 +3941,15 @@ "node": ">=0.10.0" } }, + "node_modules/path-type/node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", @@ -3949,12 +3957,12 @@ "dev": true }, "node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=4" } }, "node_modules/pinkie": { @@ -4366,15 +4374,6 @@ "postcss": "^8.4.6" } }, - "node_modules/postcss-easy-import/node_modules/pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/postcss-env-function": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/postcss-env-function/-/postcss-env-function-4.0.6.tgz", @@ -5118,9 +5117,9 @@ "dev": true }, "node_modules/pump": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", - "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", "dev": true, "dependencies": { "end-of-stream": "^1.1.0", @@ -5138,6 +5137,16 @@ "pump": "^2.0.0" } }, + "node_modules/pumpify/node_modules/pump": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", + "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "dev": true, + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, "node_modules/read-cache": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", @@ -5147,6 +5156,15 @@ "pify": "^2.3.0" } }, + "node_modules/read-cache/node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/read-pkg": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", @@ -5292,6 +5310,16 @@ "node": ">= 0.10" } }, + "node_modules/remove-bom-stream/node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, "node_modules/remove-trailing-separator": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", @@ -6014,6 +6042,15 @@ "node": ">=10.13.0" } }, + "node_modules/svgo/node_modules/commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, "node_modules/terser": { "version": "3.17.0", "resolved": "https://registry.npmjs.org/terser/-/terser-3.17.0.tgz", @@ -6031,12 +6068,6 @@ "node": ">=6.0.0" } }, - "node_modules/terser/node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, "node_modules/terser/node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -6047,13 +6078,13 @@ } }, "node_modules/through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", + "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", "dev": true, "dependencies": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" + "inherits": "^2.0.4", + "readable-stream": "2 || 3" } }, "node_modules/through2-filter": { @@ -6066,6 +6097,16 @@ "xtend": "~4.0.0" } }, + "node_modules/through2-filter/node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, "node_modules/time-stamp": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-1.1.0.tgz", @@ -6189,6 +6230,16 @@ "node": ">= 0.10" } }, + "node_modules/to-through/node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, "node_modules/type": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", @@ -6324,9 +6375,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.4.tgz", - "integrity": "sha512-jnmO2BEGUjsMOe/Fg9u0oczOe/ppIDZPebzccl1yDWGLFP16Pa1/RM5wEoKYPG2zstNcDuAStejyxsOuKINdGA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz", + "integrity": "sha512-dteFFpCyvuDdr9S/ff1ISkKt/9YZxKjI9WlRR99c180GaztJtRa/fn18FdxGVKVsnPY7/a/FDN68mcvUmP4U7Q==", "dev": true, "funding": [ { @@ -6447,6 +6498,16 @@ "node": ">= 0.10" } }, + "node_modules/vinyl-fs/node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, "node_modules/vinyl-sourcemap": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-1.1.0.tgz", @@ -6973,13 +7034,13 @@ "dev": true }, "autoprefixer": { - "version": "10.4.7", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.7.tgz", - "integrity": "sha512-ypHju4Y2Oav95SipEcCcI5J7CGPuvz8oat7sUtYj3ClK44bldfvtvcxK6IEK++7rqB7YchDGzweZIBG+SD0ZAA==", + "version": "10.4.8", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.8.tgz", + "integrity": "sha512-75Jr6Q/XpTqEf6D2ltS5uMewJIx5irCU1oBYJrWjFenq/m12WRRrz6g15L1EIoYvPLXTbEry7rDOwrcYNj77xw==", "dev": true, "requires": { - "browserslist": "^4.20.3", - "caniuse-lite": "^1.0.30001335", + "browserslist": "^4.21.3", + "caniuse-lite": "^1.0.30001373", "fraction.js": "^4.2.0", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", @@ -7086,15 +7147,15 @@ } }, "browserslist": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.2.tgz", - "integrity": "sha512-MonuOgAtUB46uP5CezYbRaYKBNt2LxP0yX+Pmj4LkcDFGkn9Cbpi83d9sCjwQDErXsIJSzY5oKGDbgOlF/LPAA==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.3.tgz", + "integrity": "sha512-898rgRXLAyRkM1GryrrBHGkqA5hlpkV5MhtZwg9QXeiyLUYs2k00Un05aX5l2/yJIOObYKOpS2JNo8nJDE7fWQ==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001366", - "electron-to-chromium": "^1.4.188", + "caniuse-lite": "^1.0.30001370", + "electron-to-chromium": "^1.4.202", "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.4" + "update-browserslist-db": "^1.0.5" } }, "buffer-crc32": { @@ -7185,9 +7246,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001366", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001366.tgz", - "integrity": "sha512-yy7XLWCubDobokgzudpkKux8e0UOOnLHE6mlNJBzT3lZJz6s5atSEzjoL+fsCPkI0G8MP5uVdDx1ur/fXEWkZA==", + "version": "1.0.30001373", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001373.tgz", + "integrity": "sha512-pJYArGHrPp3TUqQzFYRmP/lwJlj8RCbVe3Gd3eJQkAV8SAC6b19XS9BjMvRdvaS8RMkaTN8ZhoHP6S1y8zzwEQ==", "dev": true }, "chokidar": { @@ -7364,9 +7425,9 @@ "dev": true }, "commander": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", - "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", "dev": true }, "component-emitter": { @@ -7444,18 +7505,6 @@ "is-directory": "^0.3.1", "js-yaml": "^3.13.1", "parse-json": "^4.0.0" - }, - "dependencies": { - "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", - "dev": true, - "requires": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - } - } } }, "css-blank-pseudo": { @@ -7755,20 +7804,12 @@ "lru-cache": "^4.1.5", "semver": "^5.6.0", "sigmund": "^1.0.1" - }, - "dependencies": { - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - } } }, "electron-to-chromium": { - "version": "1.4.189", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.189.tgz", - "integrity": "sha512-dQ6Zn4ll2NofGtxPXaDfY2laIa6NyCQdqXYHdwH90GJQW0LpJJib0ZU/ERtbb0XkBEmUD2eJtagbOie3pdMiPg==", + "version": "1.4.207", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.207.tgz", + "integrity": "sha512-piH7MJDJp4rJCduWbVvmUd59AUne1AFBJ8JaRQvk0KzNTSUnZrVXHCZc+eg+CGE4OujkcLJznhGKD6tuAshj5Q==", "dev": true }, "end-of-stream": { @@ -7947,9 +7988,9 @@ }, "dependencies": { "type": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/type/-/type-2.6.0.tgz", - "integrity": "sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/type/-/type-2.6.1.tgz", + "integrity": "sha512-OvgH5rB0XM+iDZGQ1Eg/o7IZn0XYJFVrN/9FQ4OWIYILyJJgVP2s1hLTOFn6UOZoDUI/HctGa0PFlE2n2HW3NQ==", "dev": true } } @@ -8133,6 +8174,18 @@ "requires": { "graceful-fs": "^4.1.11", "through2": "^2.0.3" + }, + "dependencies": { + "through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + } } }, "fs.realpath": { @@ -8182,18 +8235,6 @@ "dev": true, "requires": { "pump": "^3.0.0" - }, - "dependencies": { - "pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dev": true, - "requires": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - } } }, "get-value": { @@ -8305,6 +8346,14 @@ "object-assign": "^4.0.1", "pify": "^2.0.0", "pinkie-promise": "^2.0.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true + } } }, "glogg": { @@ -8380,16 +8429,6 @@ "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", "dev": true - }, - "through2": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", - "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", - "dev": true, - "requires": { - "inherits": "^2.0.4", - "readable-stream": "2 || 3" - } } } }, @@ -8456,6 +8495,16 @@ "arr-union": "^2.0.1", "extend-shallow": "^1.1.2" } + }, + "through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } } } }, @@ -8488,18 +8537,6 @@ "through2": "^3.0.1", "vinyl": "^2.1.0", "yazl": "^2.5.1" - }, - "dependencies": { - "through2": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", - "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", - "dev": true, - "requires": { - "inherits": "^2.0.4", - "readable-stream": "2 || 3" - } - } } }, "gulplog": { @@ -8968,6 +9005,23 @@ "pify": "^2.0.0", "pinkie-promise": "^2.0.0", "strip-bom": "^2.0.0" + }, + "dependencies": { + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==", + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true + } } }, "lodash": { @@ -9509,12 +9563,13 @@ } }, "parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", "dev": true, "requires": { - "error-ex": "^1.2.0" + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" } }, "parse-node-version": { @@ -9586,6 +9641,14 @@ "graceful-fs": "^4.1.2", "pify": "^2.0.0", "pinkie-promise": "^2.0.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true + } } }, "picocolors": { @@ -9595,9 +9658,9 @@ "dev": true }, "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", "dev": true }, "pinkie": { @@ -9838,14 +9901,6 @@ "pify": "^3.0.0", "postcss-import": "^14.0.0", "resolve": "^1.1.7" - }, - "dependencies": { - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", - "dev": true - } } }, "postcss-env-function": { @@ -10303,9 +10358,9 @@ "dev": true }, "pump": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", - "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", "dev": true, "requires": { "end-of-stream": "^1.1.0", @@ -10321,6 +10376,18 @@ "duplexify": "^3.6.0", "inherits": "^2.0.3", "pump": "^2.0.0" + }, + "dependencies": { + "pump": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", + "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + } } }, "read-cache": { @@ -10330,6 +10397,14 @@ "dev": true, "requires": { "pify": "^2.3.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true + } } }, "read-pkg": { @@ -10447,6 +10522,18 @@ "remove-bom-buffer": "^3.0.0", "safe-buffer": "^5.1.0", "through2": "^2.0.3" + }, + "dependencies": { + "through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + } } }, "remove-trailing-separator": { @@ -11034,6 +11121,14 @@ "csso": "^4.2.0", "picocolors": "^1.0.0", "stable": "^0.1.8" + }, + "dependencies": { + "commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "dev": true + } } }, "terser": { @@ -11047,12 +11142,6 @@ "source-map-support": "~0.5.10" }, "dependencies": { - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -11062,13 +11151,13 @@ } }, "through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", + "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", "dev": true, "requires": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" + "inherits": "^2.0.4", + "readable-stream": "2 || 3" } }, "through2-filter": { @@ -11079,6 +11168,18 @@ "requires": { "through2": "~2.0.0", "xtend": "~4.0.0" + }, + "dependencies": { + "through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + } } }, "time-stamp": { @@ -11176,6 +11277,18 @@ "dev": true, "requires": { "through2": "^2.0.3" + }, + "dependencies": { + "through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + } } }, "type": { @@ -11289,9 +11402,9 @@ "dev": true }, "update-browserslist-db": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.4.tgz", - "integrity": "sha512-jnmO2BEGUjsMOe/Fg9u0oczOe/ppIDZPebzccl1yDWGLFP16Pa1/RM5wEoKYPG2zstNcDuAStejyxsOuKINdGA==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.5.tgz", + "integrity": "sha512-dteFFpCyvuDdr9S/ff1ISkKt/9YZxKjI9WlRR99c180GaztJtRa/fn18FdxGVKVsnPY7/a/FDN68mcvUmP4U7Q==", "dev": true, "requires": { "escalade": "^3.1.1", @@ -11378,6 +11491,18 @@ "value-or-function": "^3.0.0", "vinyl": "^2.0.0", "vinyl-sourcemap": "^1.1.0" + }, + "dependencies": { + "through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + } } }, "vinyl-sourcemap": { diff --git a/readme.txt b/readme.txt index 585d345..4813805 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Author URI: https://www.tarascodes.com Requires at Least: 5.9 Tested Up To: 6.0.1 Tags: welcome message, greeting message, modal, message, note, alert, notice message, announcements, sticky message, notification, conversion, marketing -Stable tag: 1.0.1 +Stable tag: 1.0.2 Requires PHP: 7.4 Text Domain: welcomewp License: GPLv2 or later @@ -127,6 +127,14 @@ Please use a [support forum](https://wordpress.org/support/plugin/welcomewp/). == Changelog == += 1.0.2 - August 06, 2022 = + +* Update: improve spacing in the footer area of a main content in a welcome message; +* Update: improve spacing in the header area of a welcome message; +* Fix: potential background issue in the close button of a welcome message; +* Fix: missing onboarding help when plugin is installed; +* Fix: overflow issue in a welcome message; + = 1.0.1 - July 21, 2022 = * Add: minified version for each stylesheet; diff --git a/src/styles/admin/settings.css b/src/styles/admin/settings.css index 8485869..ce0fde1 100644 --- a/src/styles/admin/settings.css +++ b/src/styles/admin/settings.css @@ -1,5 +1,3 @@ - - /* global form controls */ .wwp-form-inline-control { display: flex; diff --git a/src/styles/public/base.css b/src/styles/public/base.css index 92f1d06..493c431 100644 --- a/src/styles/public/base.css +++ b/src/styles/public/base.css @@ -3,9 +3,10 @@ --wwp--color--text: #000000; --wwp--color--link: #007cba; - max-width: 340px; + max-width: 360px; max-height: 80vh; position: fixed; + z-index: 999; background-color: var(--wwp--color--background); color: var(--wwp--color--text); border: 1px solid; @@ -112,7 +113,6 @@ * Active excerpt. */ .welcomewp-message.has-excerpt .welcomewp-message__excerpt { - padding-inline-end: 1em; padding-inline-start: 0.125em; flex: 1 1 0%; } @@ -125,6 +125,7 @@ display: flex; gap: 1em; align-items: center; + line-height: 1.45; } /** @@ -132,8 +133,8 @@ */ .welcomewp-message__header { font-weight: bold; - padding: var(--wp--style--block-gap, 1em); - line-height: 1.4; + padding-block: var(--wp--style--block-gap, 1em); + padding-inline: var(--wp--style--block-gap, 1em) calc( var(--wp--style--block-gap, 1em) + 12px ); } .welcomewp-message__header::marker { @@ -158,7 +159,7 @@ * Content */ .welcomewp-message__content { - padding: var(--wp--style--block-gap, 1em); + padding: var(--wp--style--block-gap, 1em) var(--wp--style--block-gap, 1em) 0; } /** @@ -205,6 +206,12 @@ color: var(--wwp--color--link); } +#welcomewp-message { + & .welcomewp-message__close-button { + background: none; + } +} + /* states */ #welcomewp-message[aria-hidden="true"] { display: none; diff --git a/welcomewp.php b/welcomewp.php index 0f08099..d601fd8 100644 --- a/welcomewp.php +++ b/welcomewp.php @@ -4,7 +4,7 @@ * Description: A simple WordPress plugin to create welcome messages. * Author: Taras Dashkevych * Author URI: https://tarascodes.com - * Version: 1.0.1 + * Version: 1.0.2 * Text Domain: welcomewp * Domain Path: languages * @@ -53,7 +53,7 @@ final class WelcomeWP { * @since 1.0.0 * @var sting */ - public $version = '1.0.1'; + public $version = '1.0.2'; /** * Main WelcomeWP Instance.