woocommerce/plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss

403 lines
13 KiB
SCSS
Raw Normal View History

@import "@wordpress/base-styles/_colors.native.scss";
@import "../../stylesheets/_variables.scss";
@mixin content-width {
max-width: calc(100vw - (2 * #{$grid-unit-20}));
@media screen and (min-width: 783px) {
2023-11-22 12:43:49 +00:00
max-width: calc(100vw - (2 * #{$grid-unit-40}) - $admin-menu-width-collapsed);
}
@media screen and (min-width: 960px) {
max-width: calc(100vw - (2 * #{$grid-unit-40}) - $admin-menu-width);
}
}
.woocommerce-marketplace__my-subscriptions__header {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: stretch;
@include content-width;
.woocommerce-marketplace__my-subscriptions__header-content,
.woocommerce-marketplace__my-subscriptions__header-refresh {
width: 100%;
}
.woocommerce-marketplace__my-subscriptions__header-content {
order: 2;
}
.woocommerce-marketplace__my-subscriptions__header-refresh {
display: flex;
justify-content: end;
order: 1;
}
@media screen and (min-width: $breakpoint-medium) {
align-items: center;
justify-content: space-between;
flex-direction: row;
.woocommerce-marketplace__my-subscriptions__header-content,
.woocommerce-marketplace__my-subscriptions__header-refresh {
width: auto;
}
.woocommerce-marketplace__my-subscriptions__header-content {
order: 1;
}
.woocommerce-marketplace__my-subscriptions__header-refresh {
order: 2;
}
}
}
2023-09-22 10:05:42 +00:00
.woocommerce-marketplace__refresh-subscriptions {
text-decoration: none;
color: #007cba;
.woocommerce-marketplace__refresh-subscriptions-icon {
margin-right: $grid-unit-05;
}
}
2023-09-22 10:05:42 +00:00
.woocommerce-marketplace__my-subscriptions__available {
margin-top: $grid-unit-50;
2023-09-22 10:28:57 +00:00
}
.woocommerce-marketplace__my-subscriptions__heading {
font-size: 20px;
color: $gray-900;
font-weight: 400;
margin: 0;
line-height: 28px;
}
.woocommerce-marketplace__notice--error {
&:last-child {
margin-bottom: $grid-unit-50;
}
}
.woocommerce-marketplace__my-subscriptions__table-description {
font-size: 13px;
margin: 1em 0;
line-height: 20px;
color: $gray-700;
a {
display: inline-flex;
align-items: center;
text-decoration: none;
}
svg {
fill: #007cba;
margin-left: 2px;
width: 16px;
height: 16px;
}
}
.woocommerce-marketplace__my-subscriptions__table-wrapper {
position: relative;
overflow: hidden;
}
.woocommerce-marketplace__my-subscriptions__table {
font-size: 13px;
line-height: 20px;
margin-top: $grid-unit-30;
color: $gray-900;
@include content-width;
}
.woocommerce-marketplace__my-subscriptions__product {
$product-icon-size: 40px;
min-width: 400px;
display: flex;
align-items: center;
&-name {
margin-left: $grid-unit-15;
line-height: 18px;
font-weight: 600;
color: $gray-900;
text-decoration: none;
}
&-icon img {
border-radius: 4px;
width: $product-icon-size;
}
&-icon {
width: $product-icon-size;
height: $product-icon-size;
svg {
border-radius: 4px;
padding: $grid-unit-10;
fill: $gray-600;
background-color: $gray-200;
width: $product-icon-size;
height: $product-icon-size;
}
}
}
.woocommerce-table__item {
.woocommerce-marketplace__my-subscriptions__product-name {
&:active,
&:hover,
&:visited {
color: $gray-900;
}
}
}
.woocommerce-marketplace__my-subscriptions__product-status {
display: flex;
align-items: center;
border-radius: 2px;
border: none;
padding: 2px $grid-unit-10;
margin-left: $grid-unit-15;
text-align: left;
white-space: nowrap;
&--error {
color: var(--wp-red-red-70, #8a2424);
background: var(--wp-red-red-0, #fcf0f1);
& > svg {
margin-right: 2px;
fill: var(--wp-red-red-70, #8a2424);
}
}
&--warning {
color: var(--wp-yellow-yellow-70, #614200);
background: var(--wp-yellow-yellow-0, #fcf9e8);
& > svg {
margin-right: 2px;
color: var(--wp-yellow-yellow-70, #614200);
}
}
}
.woocommerce-marketplace__my-subscriptions__popover {
top: -8px !important;
.components-popover__content {
border: none;
width: 300px;
border-radius: 2px;
padding: $grid-unit-15;
color: $gray-900;
a {
text-decoration: none;
}
}
}
.components-base-control.woocommerce-marketplace__my-subscriptions__activation {
margin-bottom: 0;
}
My subscription product updates (#40752) * Marketplace: Populate the table rows with components * Marketplace: add links to dropdown menu and fix fallback product icons * Marketplace: fix popover width * Add My subscriptions install (#40630) * Marketplace: add plugin install from the subscriptions page Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com> * Marketplace: Use the activation function to show install button --------- Co-authored-by: raicem <unalancem@gmail.com> * Add WP updates script to the extensions page * Add update button * Add update data to subscriptions * Update plugins * Prevent update if license unavailable * Add changefile(s) from automation for the following project(s): woocommerce * Remove all data from API * Linter fixes * Linter fixes * Remove merge string * Update link style * Add comment for updates.js * Prevent updates if required data is missing * Return removed slug code * My subscriptions action modals (#40934) * Add renew modal * Update install to run until new data loaded * Add activate modal * Add connect modal * Add renew button * Renewal button * Rename activate to connect * Add subscribe button * Add action buttons * Remove unused const * Add changefile(s) from automation for the following project(s): woocommerce * Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss Co-authored-by: And Finally <andfinally@users.noreply.github.com> * Update import path --------- Co-authored-by: And Finally <andfinally@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> --------- Co-authored-by: raicem <unalancem@gmail.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-10-27 04:08:27 +00:00
.woocommerce-marketplace__my-subscriptions-version {
padding: 6px 12px;
}
.woocommerce-marketplace__my-subscriptions__table__header--version > span {
display: inline-block;
padding: 0 12px;
}
.woocommerce-marketplace__my-subscriptions {
.woocommerce-table__empty-item,
.woocommerce-table__header,
.woocommerce-table__item {
padding: $grid-unit-10 $grid-unit-30;
align-items: center;
}
.woocommerce-table__table tr:hover {
background: #f8f9fa;
}
.woocommerce-table.is-empty {
background: none;
border: 1px solid var(--gutenberg-gray-100, #f0f0f0);
flex-direction: column;
gap: $grid-unit-15;
margin-top: $grid-unit-30;
}
}
.woocommerce-marketplace__my-subscriptions .components-button {
&.is-link {
text-decoration: none;
padding: 6px 12px;
}
My subscription product updates (#40752) * Marketplace: Populate the table rows with components * Marketplace: add links to dropdown menu and fix fallback product icons * Marketplace: fix popover width * Add My subscriptions install (#40630) * Marketplace: add plugin install from the subscriptions page Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com> * Marketplace: Use the activation function to show install button --------- Co-authored-by: raicem <unalancem@gmail.com> * Add WP updates script to the extensions page * Add update button * Add update data to subscriptions * Update plugins * Prevent update if license unavailable * Add changefile(s) from automation for the following project(s): woocommerce * Remove all data from API * Linter fixes * Linter fixes * Remove merge string * Update link style * Add comment for updates.js * Prevent updates if required data is missing * Return removed slug code * My subscriptions action modals (#40934) * Add renew modal * Update install to run until new data loaded * Add activate modal * Add connect modal * Add renew button * Renewal button * Rename activate to connect * Add subscribe button * Add action buttons * Remove unused const * Add changefile(s) from automation for the following project(s): woocommerce * Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss Co-authored-by: And Finally <andfinally@users.noreply.github.com> * Update import path --------- Co-authored-by: And Finally <andfinally@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> --------- Co-authored-by: raicem <unalancem@gmail.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-10-27 04:08:27 +00:00
}
2023-11-22 13:00:20 +00:00
.woocommerce-marketplace__my-subscriptions
.components-button.is-secondary:hover:not(:disabled) {
2023-11-22 12:43:49 +00:00
color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
My subscriptions error notices (#41124) * Marketplace: Populate the table rows with components * Marketplace: add links to dropdown menu and fix fallback product icons * Marketplace: fix popover width * Add My subscriptions install (#40630) * Marketplace: add plugin install from the subscriptions page Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com> * Marketplace: Use the activation function to show install button --------- Co-authored-by: raicem <unalancem@gmail.com> * Add WP updates script to the extensions page * Add update button * Add update data to subscriptions * Update plugins * Prevent update if license unavailable * Add changefile(s) from automation for the following project(s): woocommerce * Remove all data from API * Linter fixes * Linter fixes * Remove merge string * Update link style * Add comment for updates.js * Prevent updates if required data is missing * Return removed slug code * Add renew modal * Update install to run until new data loaded * Add activate modal * Add connect modal * Add renew button * Renewal button * Rename activate to connect * Add subscribe button * Add action buttons * Remove unused const * Add changefile(s) from automation for the following project(s): woocommerce * Switch to WP installer * Use WP installer * Remove install endpoint * Fix php warning * Add download_link if subscription exists * My subscriptions action modals (#40934) * Add renew modal * Update install to run until new data loaded * Add activate modal * Add connect modal * Add renew button * Renewal button * Rename activate to connect * Add subscribe button * Add action buttons * Remove unused const * Add changefile(s) from automation for the following project(s): woocommerce * Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss Co-authored-by: And Finally <andfinally@users.noreply.github.com> * Update import path --------- Co-authored-by: And Finally <andfinally@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> * Use product slugs for installing * Add store for installing state * Add theme install support * Product activate endpoint * Activate after install * PHP warning * Update context * Debugging * Install context * Linter * Simplify context * Use Redux instead of context * Add changefile(s) from automation for the following project(s): woocommerce * Replace ~ with relative paths * Add error notices * Move update to functions * Add notice store * Fix linter errors * Remove temp file * Add changefile(s) from automation for the following project(s): woocommerce * Don't autoremove notices * Add status to notices * Send just required path field * Subvscribe hover color * Css linter fix * Fix error notice style * Update manage button text * Linter fixes --------- Co-authored-by: raicem <unalancem@gmail.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-07 08:21:12 +00:00
}
My subscription product updates (#40752) * Marketplace: Populate the table rows with components * Marketplace: add links to dropdown menu and fix fallback product icons * Marketplace: fix popover width * Add My subscriptions install (#40630) * Marketplace: add plugin install from the subscriptions page Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com> * Marketplace: Use the activation function to show install button --------- Co-authored-by: raicem <unalancem@gmail.com> * Add WP updates script to the extensions page * Add update button * Add update data to subscriptions * Update plugins * Prevent update if license unavailable * Add changefile(s) from automation for the following project(s): woocommerce * Remove all data from API * Linter fixes * Linter fixes * Remove merge string * Update link style * Add comment for updates.js * Prevent updates if required data is missing * Return removed slug code * My subscriptions action modals (#40934) * Add renew modal * Update install to run until new data loaded * Add activate modal * Add connect modal * Add renew button * Renewal button * Rename activate to connect * Add subscribe button * Add action buttons * Remove unused const * Add changefile(s) from automation for the following project(s): woocommerce * Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss Co-authored-by: And Finally <andfinally@users.noreply.github.com> * Update import path --------- Co-authored-by: And Finally <andfinally@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> --------- Co-authored-by: raicem <unalancem@gmail.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-10-27 04:08:27 +00:00
.woocommerce-marketplace__my-subscriptions--connect {
display: flex;
flex-direction: column;
align-items: center;
max-width: 495px;
padding: $grid-unit-80 $grid-unit-40;
margin: 0 auto;
.woocommerce-marketplace__my-subscriptions__icon {
width: 80px;
height: 80px;
Remove the ability to update Woo.com extensions not available in WP.org plugin directory (#44279) * Remove the hook for updating update_plugins transient with data fetched from Woo.com This prevents the WP core from updating Woo.com plugins. * Remove the hook for updating update_themes transient with data fetched from Woo.com This prevents the WP core from updating Woo.com themes. * Remove the class hand hooks used for updating the API response of WP.org with update URI's from Woo.com. * Add change log file. * Add update_plugins and themes transient update hooks back while removing the package from Woo.com extensions. When a Woo hosted plugin has an update, this will allow showing the update message but block the ability to update. * Adding a hook to modify the plugin update notification on plugins.php. When a Woo.com hosted plugin has an update available it will show a message to install Woo Marketplace plugin, if it's not installed. * Utility class for Woo Marketplace plugin. * Check wether the Woo marketplace plugin is already installed before modifying update notice. * Update docblocks. * Add status end point for wccom-site API. * Check the existence of marketplace plugin only after the plugins are loaded. * Add WP.org plugin api response updater back to core. * Function to identify if the market-place plugin is installed. * Update status API response with installation status. * Update the status variable push to store admin frontend with information about market-place plugin. * Styles for woo-connect-plugin component. * Component for displaying the message to install Woo Connect plugin based on the installation status. * Add Woo Connect plugin notice to my-subscriptions page. * Add Woo connect plugin message to discover page. * Add Woo Connect install/download urls to constants file. * Add a modal for asking the user to install Woo Connect plugin. * Update strings with constants. * Show the Woo Connect modal when user updating plugins without Woo Connect installed. * Show Woo Connect install notifications only when the site is connected. * Update plugin management page messaging. * Update notification on connect screen. * Update notifications on plugin management page. * Remove additional spacing in Plugin Install Notice and spacing in the discover page results and the notice. * Use notice component instead of Card. * Minor improvements to readability. * Add translation support for messages displayed on plugins.php. * Update woo connect plugin installation URL (#45127) * Ad functions for generating WooConnect plugin install URLs. * Make WooConnect install url to available to marketplace components. * Make WooConnect install url to available to marketplace components. * Link install buttons to install URL with access_token and secret. * Update Woo Update Manager download url. * Show admin notice to install Woo Update Manager on plugins.php. * Adding the view for admin notice for installing woo_update_manager. * Show woo update manager installation notice on WC admin pages and make the notice dissmisable. * Update the install url for Woo Update Manager by adding the product ID and introduce a filter to override the product ID. * Change the plugin name to Woo Update Manager. * Change the download url for woo update manager * Fix the margin below the Woo Update plugin install notice. * Rename Woo Connect to Woo Update Manager. * Rename wccom-site status endpoint response variables based on plugin name changes. * Update the plugin main file name for Woo Update Manager. * Updating the download URL. * Updating css class names and file names from `woo-connect-plugin` to `woo-update-manager`. * Change wooConnect variables to wooUpdateManager. * Rename WC_Helper_Plugin to WC_Woo_Update_Manager_Plugin and remove references to market place plugin. * Extract and reuse the logic for creating the signature. * Use WC built-in method to check if the current page is a WC page. * Add source parameter for installer. * Update text copies based on flows for in-app Woo Update Manager install message. * Update admin notice based on the flows. * Update connect store message. * Update the text based on the latest flow and show a different message when WUM is installed but not activated. * Use html text for install notice message. * Implement the bubble showing number of updates available on WooCommerce -> Extensions menu. Add one to available Woo.com updates if WUM is not installed or activated. * Update install url to new structure. * Update download url for WUM. * Add a method to get the id of the WUM. * Remove WUM from available to install list of extensions on my-subscriptions tab. * Remove the hard coded ID of the Woo Update Manager and use the slug to get the ID of the plugin based on update-check response. * Fixing the notice generated due to empty body. * Update CTA and image for the not connected screen. * Increasing the left margin of the install notice to match admin notices. * Add close button to modal with message to activate WUM. * Add install/activate notice to Browse and Themes tabs. * Add the view for showing admin notice for activating the plugin. * Update plugin name on install admin notice. * Show install or activate admin notice based on the context. * Update comment * Make the linked text shorter in plugin update message. * Generate a signed auto-install URL for woo hosted plugins without helper API (#45313) * Generate a signed auto-install URL for woo hosted plugins without helper API * Use product slug in auto-install URL instead of product id. * Update activate Woo Update Manager modal buttons. * Change install url from Woo Update Manager ID to slug. * Allow defining the menu title and page title separately for when adding menus and sub menus in WooCommerce Admin. * Set the page title separately for WooCommerce Extensions menu. * Fix the update count issue. * Update the download URL for Woo Update Manager. * Update the download link for WUM in admin notices. * Show WUM admin notices on WC Admin pages only when the site is connected. * Remove additional slash in plugin admin url. * Add wum-installed parameter to the connect URL (#45702) * Add wum-installed parameter to the connect URL * Send status of Woo Update Manager installation on connection init. * Revert "Add wum-installed parameter to the connect URL" This reverts commit 4c55038b0315370a800aa463ca391dbdae02bbf7. --------- Co-authored-by: Denis Dvali <denis.dvali@automattic.com> * Fix lint errors. * Fix lint error. * Fix lint errors. * Fix js lint issues. * Update Woo Update manager admin notice. --------- Co-authored-by: Muhammad Anas <anastts.pk@gmail.com> Co-authored-by: Denis Dvali <denis.dvali@automattic.com>
2024-03-20 14:02:23 +00:00
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODAiIGhlaWdodD0iODAiIHZpZXdCb3g9IjAgMCA4MCA4MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzM4NV80Njc4KSI+CjxwYXRoIGQ9Ik0xMC43NTcgNDguNzI2N0M3LjkwMzE2IDUxLjU4MDUgNi42NjMxOCA1NC42ODk3IDcuMDc3NzQgNTcuOTY1NUM3LjQyOTM4IDYwLjc1MjcgOC45NjkxOCA2My40ODQzIDExLjc3ODYgNjYuMzA4NUMxMS43OTcxIDY2LjMyNyAxNC4zNCA2OC44Njk5IDE0LjM1ODUgNjguODg4NEMxNy4xODY0IDcxLjcwMTUgM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MC4zNDc0IDMwLjMxOTNIMTMuNjg0OFYzMy42NTA2SDIwLjM0NzRIMjMuNjc4N1YzMC4zMTkzSDIwLjM0NzRaIiBmaWxsPSIjRTBFMEUwIi8+CjxwYXRoIGQ9Ik00Ni43OTA1IDYwLjQ0OTVWNjcuMTEyMUg1MC4xMTgxVjYwLjQ0OTVWNTcuMTE4Mkg0Ni43OTA1VjYwLjQ0OTVaIiBmaWxsPSIjRTBFMEUwIi8+CjxwYXRoIGQ9Ik01NS40MTEyIDU3Ljk2Nkw2MC4xMjMyIDYyLjY3OEw2Mi40NzczIDYwLjMyMzlMNTcuNzY1NCA1NS42MTE5TDU1LjQxMTIgNTMuMjU3OEw1My4wNTcxIDU1LjYxMTlMNTUuNDExMiA1Ny45NjZaIiBmaWxsPSIjRTBFMEUwIi8+CjxwYXRoIGQ9Ik02MC4yNDkgNTAuMzE4Nkg2Ni45MTUzVjQ2Ljk4NzNINjAuMjQ5SDU2L
}
.woocommerce-marketplace__my-subscriptions__header {
margin-top: $grid-unit-20;
margin-bottom: $grid-unit-10;
font-size: $default-font-size;
}
.woocommerce-marketplace__my-subscriptions__description {
text-align: center;
font-size: $default-font-size;
line-height: 20px;
font-weight: 400;
color: var(--gutenberg-gray-700);
margin-top: 0;
margin-bottom: $grid-unit-30;
}
}
My subscription product updates (#40752) * Marketplace: Populate the table rows with components * Marketplace: add links to dropdown menu and fix fallback product icons * Marketplace: fix popover width * Add My subscriptions install (#40630) * Marketplace: add plugin install from the subscriptions page Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com> * Marketplace: Use the activation function to show install button --------- Co-authored-by: raicem <unalancem@gmail.com> * Add WP updates script to the extensions page * Add update button * Add update data to subscriptions * Update plugins * Prevent update if license unavailable * Add changefile(s) from automation for the following project(s): woocommerce * Remove all data from API * Linter fixes * Linter fixes * Remove merge string * Update link style * Add comment for updates.js * Prevent updates if required data is missing * Return removed slug code * My subscriptions action modals (#40934) * Add renew modal * Update install to run until new data loaded * Add activate modal * Add connect modal * Add renew button * Renewal button * Rename activate to connect * Add subscribe button * Add action buttons * Remove unused const * Add changefile(s) from automation for the following project(s): woocommerce * Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss Co-authored-by: And Finally <andfinally@users.noreply.github.com> * Update import path --------- Co-authored-by: And Finally <andfinally@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> --------- Co-authored-by: raicem <unalancem@gmail.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-10-27 04:08:27 +00:00
.woocommerce-marketplace__my-subscriptions__table__header--actions {
text-align: right;
justify-content: flex-end;
My subscription product updates (#40752) * Marketplace: Populate the table rows with components * Marketplace: add links to dropdown menu and fix fallback product icons * Marketplace: fix popover width * Add My subscriptions install (#40630) * Marketplace: add plugin install from the subscriptions page Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com> * Marketplace: Use the activation function to show install button --------- Co-authored-by: raicem <unalancem@gmail.com> * Add WP updates script to the extensions page * Add update button * Add update data to subscriptions * Update plugins * Prevent update if license unavailable * Add changefile(s) from automation for the following project(s): woocommerce * Remove all data from API * Linter fixes * Linter fixes * Remove merge string * Update link style * Add comment for updates.js * Prevent updates if required data is missing * Return removed slug code * My subscriptions action modals (#40934) * Add renew modal * Update install to run until new data loaded * Add activate modal * Add connect modal * Add renew button * Renewal button * Rename activate to connect * Add subscribe button * Add action buttons * Remove unused const * Add changefile(s) from automation for the following project(s): woocommerce * Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss Co-authored-by: And Finally <andfinally@users.noreply.github.com> * Update import path --------- Co-authored-by: And Finally <andfinally@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> --------- Co-authored-by: raicem <unalancem@gmail.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-10-27 04:08:27 +00:00
}
.woocommerce-marketplace__my-subscriptions__actions {
display: flex;
justify-content: end;
.components-button {
margin-right: $grid-unit-10;
}
a:hover {
color: #007cba;
}
My subscription product updates (#40752) * Marketplace: Populate the table rows with components * Marketplace: add links to dropdown menu and fix fallback product icons * Marketplace: fix popover width * Add My subscriptions install (#40630) * Marketplace: add plugin install from the subscriptions page Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com> * Marketplace: Use the activation function to show install button --------- Co-authored-by: raicem <unalancem@gmail.com> * Add WP updates script to the extensions page * Add update button * Add update data to subscriptions * Update plugins * Prevent update if license unavailable * Add changefile(s) from automation for the following project(s): woocommerce * Remove all data from API * Linter fixes * Linter fixes * Remove merge string * Update link style * Add comment for updates.js * Prevent updates if required data is missing * Return removed slug code * My subscriptions action modals (#40934) * Add renew modal * Update install to run until new data loaded * Add activate modal * Add connect modal * Add renew button * Renewal button * Rename activate to connect * Add subscribe button * Add action buttons * Remove unused const * Add changefile(s) from automation for the following project(s): woocommerce * Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss Co-authored-by: And Finally <andfinally@users.noreply.github.com> * Update import path --------- Co-authored-by: And Finally <andfinally@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> --------- Co-authored-by: raicem <unalancem@gmail.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-10-27 04:08:27 +00:00
}
My subscriptions error notices (#41124) * Marketplace: Populate the table rows with components * Marketplace: add links to dropdown menu and fix fallback product icons * Marketplace: fix popover width * Add My subscriptions install (#40630) * Marketplace: add plugin install from the subscriptions page Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com> * Marketplace: Use the activation function to show install button --------- Co-authored-by: raicem <unalancem@gmail.com> * Add WP updates script to the extensions page * Add update button * Add update data to subscriptions * Update plugins * Prevent update if license unavailable * Add changefile(s) from automation for the following project(s): woocommerce * Remove all data from API * Linter fixes * Linter fixes * Remove merge string * Update link style * Add comment for updates.js * Prevent updates if required data is missing * Return removed slug code * Add renew modal * Update install to run until new data loaded * Add activate modal * Add connect modal * Add renew button * Renewal button * Rename activate to connect * Add subscribe button * Add action buttons * Remove unused const * Add changefile(s) from automation for the following project(s): woocommerce * Switch to WP installer * Use WP installer * Remove install endpoint * Fix php warning * Add download_link if subscription exists * My subscriptions action modals (#40934) * Add renew modal * Update install to run until new data loaded * Add activate modal * Add connect modal * Add renew button * Renewal button * Rename activate to connect * Add subscribe button * Add action buttons * Remove unused const * Add changefile(s) from automation for the following project(s): woocommerce * Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss Co-authored-by: And Finally <andfinally@users.noreply.github.com> * Update import path --------- Co-authored-by: And Finally <andfinally@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> * Use product slugs for installing * Add store for installing state * Add theme install support * Product activate endpoint * Activate after install * PHP warning * Update context * Debugging * Install context * Linter * Simplify context * Use Redux instead of context * Add changefile(s) from automation for the following project(s): woocommerce * Replace ~ with relative paths * Add error notices * Move update to functions * Add notice store * Fix linter errors * Remove temp file * Add changefile(s) from automation for the following project(s): woocommerce * Don't autoremove notices * Add status to notices * Send just required path field * Subvscribe hover color * Css linter fix * Fix error notice style * Update manage button text * Linter fixes --------- Co-authored-by: raicem <unalancem@gmail.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-07 08:21:12 +00:00
.woocommerce-marketplace__my-subscriptions__notices {
.components-notice {
margin-left: 0;
margin-right: 0;
background-color: #fff;
box-shadow: 0 2px 6px 0 rgba($gray-100, 0.05);
border: 1px solid var(--gutenberg-gray-100, #f0f0f0);
padding-right: $grid-unit-15;
position: relative;
My subscriptions error notices (#41124) * Marketplace: Populate the table rows with components * Marketplace: add links to dropdown menu and fix fallback product icons * Marketplace: fix popover width * Add My subscriptions install (#40630) * Marketplace: add plugin install from the subscriptions page Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com> * Marketplace: Use the activation function to show install button --------- Co-authored-by: raicem <unalancem@gmail.com> * Add WP updates script to the extensions page * Add update button * Add update data to subscriptions * Update plugins * Prevent update if license unavailable * Add changefile(s) from automation for the following project(s): woocommerce * Remove all data from API * Linter fixes * Linter fixes * Remove merge string * Update link style * Add comment for updates.js * Prevent updates if required data is missing * Return removed slug code * Add renew modal * Update install to run until new data loaded * Add activate modal * Add connect modal * Add renew button * Renewal button * Rename activate to connect * Add subscribe button * Add action buttons * Remove unused const * Add changefile(s) from automation for the following project(s): woocommerce * Switch to WP installer * Use WP installer * Remove install endpoint * Fix php warning * Add download_link if subscription exists * My subscriptions action modals (#40934) * Add renew modal * Update install to run until new data loaded * Add activate modal * Add connect modal * Add renew button * Renewal button * Rename activate to connect * Add subscribe button * Add action buttons * Remove unused const * Add changefile(s) from automation for the following project(s): woocommerce * Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss Co-authored-by: And Finally <andfinally@users.noreply.github.com> * Update import path --------- Co-authored-by: And Finally <andfinally@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> * Use product slugs for installing * Add store for installing state * Add theme install support * Product activate endpoint * Activate after install * PHP warning * Update context * Debugging * Install context * Linter * Simplify context * Use Redux instead of context * Add changefile(s) from automation for the following project(s): woocommerce * Replace ~ with relative paths * Add error notices * Move update to functions * Add notice store * Fix linter errors * Remove temp file * Add changefile(s) from automation for the following project(s): woocommerce * Don't autoremove notices * Add status to notices * Send just required path field * Subvscribe hover color * Css linter fix * Fix error notice style * Update manage button text * Linter fixes --------- Co-authored-by: raicem <unalancem@gmail.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-07 08:21:12 +00:00
&::before {
content: "";
My subscriptions error notices (#41124) * Marketplace: Populate the table rows with components * Marketplace: add links to dropdown menu and fix fallback product icons * Marketplace: fix popover width * Add My subscriptions install (#40630) * Marketplace: add plugin install from the subscriptions page Co-authored-by: berislav grgičak <berislav.grgicak@gmail.com> * Marketplace: Use the activation function to show install button --------- Co-authored-by: raicem <unalancem@gmail.com> * Add WP updates script to the extensions page * Add update button * Add update data to subscriptions * Update plugins * Prevent update if license unavailable * Add changefile(s) from automation for the following project(s): woocommerce * Remove all data from API * Linter fixes * Linter fixes * Remove merge string * Update link style * Add comment for updates.js * Prevent updates if required data is missing * Return removed slug code * Add renew modal * Update install to run until new data loaded * Add activate modal * Add connect modal * Add renew button * Renewal button * Rename activate to connect * Add subscribe button * Add action buttons * Remove unused const * Add changefile(s) from automation for the following project(s): woocommerce * Switch to WP installer * Use WP installer * Remove install endpoint * Fix php warning * Add download_link if subscription exists * My subscriptions action modals (#40934) * Add renew modal * Update install to run until new data loaded * Add activate modal * Add connect modal * Add renew button * Renewal button * Rename activate to connect * Add subscribe button * Add action buttons * Remove unused const * Add changefile(s) from automation for the following project(s): woocommerce * Update plugins/woocommerce-admin/client/marketplace/components/my-subscriptions/my-subscriptions.scss Co-authored-by: And Finally <andfinally@users.noreply.github.com> * Update import path --------- Co-authored-by: And Finally <andfinally@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> * Use product slugs for installing * Add store for installing state * Add theme install support * Product activate endpoint * Activate after install * PHP warning * Update context * Debugging * Install context * Linter * Simplify context * Use Redux instead of context * Add changefile(s) from automation for the following project(s): woocommerce * Replace ~ with relative paths * Add error notices * Move update to functions * Add notice store * Fix linter errors * Remove temp file * Add changefile(s) from automation for the following project(s): woocommerce * Don't autoremove notices * Add status to notices * Send just required path field * Subvscribe hover color * Css linter fix * Fix error notice style * Update manage button text * Linter fixes --------- Co-authored-by: raicem <unalancem@gmail.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-11-07 08:21:12 +00:00
display: block;
width: 4px;
height: 100%;
background-color: var(--wp-admin-theme-color, #007cba);
position: absolute;
left: 0;
top: 0;
bottom: 0;
}
&.is-error::before {
background-color: $alert-red;
}
.components-notice__content {
display: flex;
align-items: center;
gap: $grid-unit-15;
}
.components-notice__dismiss.has-icon {
width: 24px;
min-width: 24px;
height: 24px;
align-self: center;
padding: $grid-unit-05;
> svg {
fill: $gray-900;
}
}
}
.components-notice__action.components-button.is-link {
margin: 0;
padding: 0;
}
}
.woocommerce-marketplace__header-account-modal-overlay {
.components-modal__header {
padding-bottom: $grid-unit-20;
.components-modal__header-heading {
font-weight: 400;
font-size: 20px;
line-height: 28px;
}
}
.components-notice {
Marketplace: Add "Add to Store" button for free and WordPress.org products #43616 (#43983) * Marketplace: Add "Add to Store" button for free and WordPress.org products (#43616) * Marketplace: Install free .org plugins with Add to Store button * Marketplace: addressed feedback for the the new install free products flow - Moved notices to the top of the modal - Updated notice styles slightly - Updated the CreateOrderSuccessResponse to reflect API changes * Marketplace: Require the Helper orders API file * Marketplace: fix linter errors * Marketplace: form encode when submitting the request The body is encoded anyways by the WordPress core. However, if I don't do it here, I can't create a valid signature to be verified by Woo.com. I could have just submitted a JSON too, but this seamed easier since the body is parsed on Woo.com automatically when it's in this form. * Add changefile(s) from automation for the following project(s): woocommerce * Marketplace: remove "~" character in imports and use relative paths * Marketplace: fix margins in the product with the Add to Store button * Marketplace: Add conditions to hide the button We hide it if: - the product is already installed - user doesn't have the right capability - if the product is just installed using our flow and there is no page refresh * Marketplace: don't show Add to Store button on Themes and on Discover * Marketplace: fix linting * Marketplace: hide ratings from the product if "is-small" class exists * Marketplace: fix linting errors --------- Co-authored-by: github-actions <github-actions@github.com>
2024-01-24 20:02:20 +00:00
color: $gray-900;
padding: $grid-unit-15 $grid-unit-20;
border-left: none;
margin: $grid-unit-20 0;
Marketplace: Add "Add to Store" button for free and WordPress.org products #43616 (#43983) * Marketplace: Add "Add to Store" button for free and WordPress.org products (#43616) * Marketplace: Install free .org plugins with Add to Store button * Marketplace: addressed feedback for the the new install free products flow - Moved notices to the top of the modal - Updated notice styles slightly - Updated the CreateOrderSuccessResponse to reflect API changes * Marketplace: Require the Helper orders API file * Marketplace: fix linter errors * Marketplace: form encode when submitting the request The body is encoded anyways by the WordPress core. However, if I don't do it here, I can't create a valid signature to be verified by Woo.com. I could have just submitted a JSON too, but this seamed easier since the body is parsed on Woo.com automatically when it's in this form. * Add changefile(s) from automation for the following project(s): woocommerce * Marketplace: remove "~" character in imports and use relative paths * Marketplace: fix margins in the product with the Add to Store button * Marketplace: Add conditions to hide the button We hide it if: - the product is already installed - user doesn't have the right capability - if the product is just installed using our flow and there is no page refresh * Marketplace: don't show Add to Store button on Themes and on Discover * Marketplace: fix linting * Marketplace: hide ratings from the product if "is-small" class exists * Marketplace: fix linting errors --------- Co-authored-by: github-actions <github-actions@github.com>
2024-01-24 20:02:20 +00:00
&.is-error {
background-color: var(--wp-red-red-0, #fcf0f1);
}
&.is-warning {
background-color: var(--wp-yellow-yellow-0, #fcf9e8);
Marketplace: Add "Add to Store" button for free and WordPress.org products #43616 (#43983) * Marketplace: Add "Add to Store" button for free and WordPress.org products (#43616) * Marketplace: Install free .org plugins with Add to Store button * Marketplace: addressed feedback for the the new install free products flow - Moved notices to the top of the modal - Updated notice styles slightly - Updated the CreateOrderSuccessResponse to reflect API changes * Marketplace: Require the Helper orders API file * Marketplace: fix linter errors * Marketplace: form encode when submitting the request The body is encoded anyways by the WordPress core. However, if I don't do it here, I can't create a valid signature to be verified by Woo.com. I could have just submitted a JSON too, but this seamed easier since the body is parsed on Woo.com automatically when it's in this form. * Add changefile(s) from automation for the following project(s): woocommerce * Marketplace: remove "~" character in imports and use relative paths * Marketplace: fix margins in the product with the Add to Store button * Marketplace: Add conditions to hide the button We hide it if: - the product is already installed - user doesn't have the right capability - if the product is just installed using our flow and there is no page refresh * Marketplace: don't show Add to Store button on Themes and on Discover * Marketplace: fix linting * Marketplace: hide ratings from the product if "is-small" class exists * Marketplace: fix linting errors --------- Co-authored-by: github-actions <github-actions@github.com>
2024-01-24 20:02:20 +00:00
}
&.is-error,
&.is-warning, {
align-items: start;
Marketplace: Add "Add to Store" button for free and WordPress.org products #43616 (#43983) * Marketplace: Add "Add to Store" button for free and WordPress.org products (#43616) * Marketplace: Install free .org plugins with Add to Store button * Marketplace: addressed feedback for the the new install free products flow - Moved notices to the top of the modal - Updated notice styles slightly - Updated the CreateOrderSuccessResponse to reflect API changes * Marketplace: Require the Helper orders API file * Marketplace: fix linter errors * Marketplace: form encode when submitting the request The body is encoded anyways by the WordPress core. However, if I don't do it here, I can't create a valid signature to be verified by Woo.com. I could have just submitted a JSON too, but this seamed easier since the body is parsed on Woo.com automatically when it's in this form. * Add changefile(s) from automation for the following project(s): woocommerce * Marketplace: remove "~" character in imports and use relative paths * Marketplace: fix margins in the product with the Add to Store button * Marketplace: Add conditions to hide the button We hide it if: - the product is already installed - user doesn't have the right capability - if the product is just installed using our flow and there is no page refresh * Marketplace: don't show Add to Store button on Themes and on Discover * Marketplace: fix linting * Marketplace: hide ratings from the product if "is-small" class exists * Marketplace: fix linting errors --------- Co-authored-by: github-actions <github-actions@github.com>
2024-01-24 20:02:20 +00:00
.components-notice__content {
margin: 0;
}
&::before {
content: "";
/* stylelint-disable-next-line function-url-quotes */
background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z' stroke='%23614200' stroke-width='1.5'/%3E%3Cpath d='M13 7H11V13H13V7Z' fill='%23614200'/%3E%3Cpath d='M13 15H11V17H13V15Z' fill='%23614200'/%3E%3C/svg%3E");
Marketplace: Add "Add to Store" button for free and WordPress.org products #43616 (#43983) * Marketplace: Add "Add to Store" button for free and WordPress.org products (#43616) * Marketplace: Install free .org plugins with Add to Store button * Marketplace: addressed feedback for the the new install free products flow - Moved notices to the top of the modal - Updated notice styles slightly - Updated the CreateOrderSuccessResponse to reflect API changes * Marketplace: Require the Helper orders API file * Marketplace: fix linter errors * Marketplace: form encode when submitting the request The body is encoded anyways by the WordPress core. However, if I don't do it here, I can't create a valid signature to be verified by Woo.com. I could have just submitted a JSON too, but this seamed easier since the body is parsed on Woo.com automatically when it's in this form. * Add changefile(s) from automation for the following project(s): woocommerce * Marketplace: remove "~" character in imports and use relative paths * Marketplace: fix margins in the product with the Add to Store button * Marketplace: Add conditions to hide the button We hide it if: - the product is already installed - user doesn't have the right capability - if the product is just installed using our flow and there is no page refresh * Marketplace: don't show Add to Store button on Themes and on Discover * Marketplace: fix linting * Marketplace: hide ratings from the product if "is-small" class exists * Marketplace: fix linting errors --------- Co-authored-by: github-actions <github-actions@github.com>
2024-01-24 20:02:20 +00:00
background-repeat: no-repeat;
margin-right: $grid-unit-15;
Marketplace: Add "Add to Store" button for free and WordPress.org products #43616 (#43983) * Marketplace: Add "Add to Store" button for free and WordPress.org products (#43616) * Marketplace: Install free .org plugins with Add to Store button * Marketplace: addressed feedback for the the new install free products flow - Moved notices to the top of the modal - Updated notice styles slightly - Updated the CreateOrderSuccessResponse to reflect API changes * Marketplace: Require the Helper orders API file * Marketplace: fix linter errors * Marketplace: form encode when submitting the request The body is encoded anyways by the WordPress core. However, if I don't do it here, I can't create a valid signature to be verified by Woo.com. I could have just submitted a JSON too, but this seamed easier since the body is parsed on Woo.com automatically when it's in this form. * Add changefile(s) from automation for the following project(s): woocommerce * Marketplace: remove "~" character in imports and use relative paths * Marketplace: fix margins in the product with the Add to Store button * Marketplace: Add conditions to hide the button We hide it if: - the product is already installed - user doesn't have the right capability - if the product is just installed using our flow and there is no page refresh * Marketplace: don't show Add to Store button on Themes and on Discover * Marketplace: fix linting * Marketplace: hide ratings from the product if "is-small" class exists * Marketplace: fix linting errors --------- Co-authored-by: github-actions <github-actions@github.com>
2024-01-24 20:02:20 +00:00
min-width: 24px;
height: 24px;
}
}
}
.components-button-group .components-button {
&.is-primary {
box-shadow: none;
}
&.is-secondary {
box-shadow: inset 0 0 0 1px var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
}
}
.woocommerce-marketplace__product-card {
margin: $grid-unit-20 0;
}
}