-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #312 from addonify/development
Major release 2.0.0
- Loading branch information
Showing
243 changed files
with
22,012 additions
and
28,188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?php | ||
/** | ||
* | ||
* Check if the current page is udp engine page. | ||
* | ||
* @package Addonify_Wishlist | ||
* @since 1.0.1 | ||
*/ | ||
|
||
use Kucrut\Vite; | ||
|
||
|
||
/** | ||
* | ||
* Enqueue admin scripts if the current page is addonify wishlist page. | ||
* | ||
* @since 2.0.0 | ||
*/ | ||
|
||
if ( isset( $_GET['page'] ) && 'addonify_wishlist' === $_GET['page'] ) { //phpcs:ignore | ||
$handle = 'addonify-wishlist-admin'; | ||
add_action( | ||
'admin_enqueue_scripts', | ||
function () use ( $handle ): void { | ||
Vite\enqueue_asset( | ||
dirname( __FILE__ ) . '/app/dist', | ||
'admin/app/src/main.js', | ||
array( | ||
'handle' => $handle, | ||
'dependencies' => array('lodash', 'wp-api-fetch', 'wp-i18n'), // Dependencies. | ||
'css-dependencies' => array(), // Optional style dependencies. Defaults to empty array. | ||
'css-media' => 'all', // Optional. | ||
'css-only' => false, // Optional. Set to true to only load style assets in production mode. | ||
'in-footer' => true, // Optional. Defaults to false. | ||
) | ||
); | ||
|
||
wp_localize_script( | ||
$handle, | ||
'addonify_wishlist_localizer', | ||
array( | ||
'admin_url' => admin_url( '/' ), | ||
'ajax_url' => admin_url( 'admin-ajax.php' ), | ||
'site_url' => site_url( '/' ), | ||
'rest_namespace' => 'addonify_wishlist_options_api/v2', | ||
'version_number' => ADDONIFY_WISHLIST_VERSION, | ||
) | ||
); | ||
} | ||
); | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"admin/app/src/main.css": { | ||
"file": "assets/main-30250822.css", | ||
"src": "admin/app/src/main.css" | ||
}, | ||
"admin/app/src/main.js": { | ||
"css": [ | ||
"assets/main-30250822.css" | ||
], | ||
"file": "assets/main-cf0e48b7.js", | ||
"isEntry": true, | ||
"src": "admin/app/src/main.js" | ||
} | ||
} |
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<script setup> | ||
import { onMounted } from "vue"; | ||
import Header from "@layouts/Header.vue"; | ||
import Footer from "@layouts/Footer.vue"; | ||
</script> | ||
<template> | ||
<Header /> | ||
<section id="addonify-container"> | ||
<router-view></router-view> | ||
</section> | ||
<Footer /> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
@use 'abstract/vars' as *; | ||
@use 'abstract/mixins' as *; | ||
|
||
//@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap'); | ||
|
||
@import 'base/elements'; | ||
@import 'base/typography'; | ||
@import 'base/forms'; | ||
@import 'base/buttons'; | ||
|
||
@import 'helpers/class'; | ||
|
||
@import 'components/options/index'; | ||
@import 'components/partials/hero'; | ||
@import 'components/partials/navigation'; | ||
@import 'components/partials/upsell-banner'; | ||
@import 'components/partials/quick-links'; | ||
|
||
@import 'layouts/page'; | ||
@import 'layouts/entry'; | ||
@import 'layouts/header'; | ||
@import 'layouts/footer'; | ||
@import 'layouts/sidebar'; | ||
@import 'layouts/jumbo-box'; | ||
@import 'layouts/error'; | ||
@import 'layouts/recommended'; | ||
@import 'layouts/pro'; | ||
|
||
@import 'helpers/keyframes'; |
Oops, something went wrong.