Skip to content

Commit

Permalink
Spectra 2.14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bsf-zanev committed Jul 17, 2024
2 parents 694e79c + 72d3931 commit 9a8f1fd
Show file tree
Hide file tree
Showing 1,763 changed files with 595,759 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": [ "@babel/preset-react", "@babel/preset-env" ],
"plugins": [ "@babel/plugin-syntax-dynamic-import" ]
}
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extends @wordpress/browserslist-config
53 changes: 53 additions & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# A set of files you probably don't want in your WordPress.org distribution
.distignore
.editorconfig
.git
.gitignore
.gitattributes
.gitlab-ci.yml
.travis.yml
.DS_Store
.github
.wordpress-org
.eslintrc.js
.eslintignore
.prettierrc.js
.prettierignore
.browserslistrc
.babelrc
.scripts
.stylelintignore
.stylelintrc
Thumbs.db
behat.yml
bin
circle.yml
composer.json
composer.lock
Gruntfile.js
package.json
phpunit.xml
phpunit.xml.dist
multisite.xml
multisite.xml.dist
phpcs.xml
phpcs.xml.dist
phpcs-report.xml
phpunit.xml.dist
README.md
wp-cli.local.yml
tests
vendor
node_modules
*.sql
*.tar.gz
*.zip
*.neon
package-lock.json
src
eslintrc.json
scripts
config
artifact
webpack.config.js
.nvmrc
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# WordPress Coding Standards
# https://make.wordpress.org/core/handbook/coding-standards/

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
indent_size = 4

[{.jshintrc,*.json,*.yml}]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
26 changes: 26 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
**/*.min.js
**/node_modules/**
**/vendor/**
admin/bsf-analytics/
assets/css/blocks/
admin-core/assets/src/utils/whats-new-library/
lib/
dist/
build
coverage
cypress
node_modules
vendor
*.css
*.scss
*.min.js

assets/js/js_cookie.min.js
blocks-config/uagb-controls/fonts.js

**/deprecated/**

# Misc.

# AOS library files.
assets/js/aos.js
70 changes: 70 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
module.exports = {
root: true,
extends: [ 'plugin:@wordpress/eslint-plugin/recommended' ],
ignorePatterns: [ 'deprecated.js' ],
rules: {
'camelcase': 'off',
'prettier/prettier': 'off',
'@wordpress/no-global-event-listener': 'off',
'quotes': [ 'error', 'single', { allowTemplateLiterals: true, avoidEscape: true } ],
'quote-props': [ 'error', 'consistent-as-needed' ],
'space-in-parens': ['error', 'always', { exceptions: [ 'empty' ] } ],
'jsx-a11y/click-events-have-key-events': 'off',
'jsx-a11y/no-static-element-interactions': 'off',
'@wordpress/i18n-text-domain': [ 'error', { allowedTextDomain: 'ultimate-addons-for-gutenberg' }, ],
},
overrides: [
{
files: [
'src/blocks/*/styling.js',
'src/blocks/*/*/styling.js',
'src/blocks/*/inline-styles.js',
],
rules: {
// 'quotes': [ 'warn', 'single', { allowTemplateLiterals: true, avoidEscape: true } ],
'object-shorthand': ['error', 'never'],
'quote-props': [ 'error', 'always' ],
},
},
],
globals: {
uagb_blocks_info: true,
uag_admin_react: true,
UAGB_Block_Icons: true,
__webpack_public_path__: true,
jQuery: true,
uagb_deactivate_blocks: true,
uag_react: true,
uagb_data: true,
bodymovin: true,
uagb_forms_data: true,
define: true,
Cookies: true,
UAGBTableOfContents: true,
localStorage: true,
uagb_timeline_data: true,
uagb_countdown_data: true,
UAGBModal: true,
CustomEvent: true,
fetch: true,
Headers: true,
FormData: true,
UAGBCounter: true,
location: true,
IntersectionObserver: true,
navigator: true,
uagb_popup_builder_admin: true,
UAGBLottie: true,
AOS: true,
UAGBForms: true,
UAGBCountdown: true,
uagb_carousel_height: true,
scroll: true,
Swiper: true,
uagb_image_gallery: true,
Isotope: true,
imagesLoaded: true,
UAGBTabs: true,
UAGBButtonChild: true,
},
};
54 changes: 54 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Automatically normalize line endings for all text-based files
# http://git-scm.com/docs/gitattributes#_end_of_line_conversion
# Set the default behavior, in case people don't have `core.autocrlf` set.
* text=auto

# For the following file types, normalize line endings to LF on
# checkin and prevent conversion to CRLF when they are checked out
# (this is required in order to prevent newline related issues like,
# for example, after the build script is run)
.* text eol=lf
*.css text eol=lf
*.html text eol=lf
*.js text eol=lf
*.json text eol=lf
*.scss text eol=lf
*.md text eol=lf
*.rs text eol=lf
*.sh text eol=lf
*.toml text eol=lf
*.txt text eol=lf
*.xml text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.php text eol=lf

# Windows bat files in mobile/android.
*.bat -text

# Denote all files that are truly binary and should not be modified.
*.aar binary
*.gif binary
*.jar binary
*.jpg binary
*.jpeg binary
*.png binary
*.ttf binary
*.gif binary
*.ico binary
*.mov binary
*.mp4 binary
*.mp3 binary
*.zip binary
*.7z binary
*.pyc binary

# Ignore Git Commands
package-lock.json -diff
composer.lock -diff
dist/** -diff
admin-core/**/build/*.css -diff
admin-core/**/build/*.js -diff
assets/css/blocks/** -diff
assets/css/custom-style-blocks.css -diff

49 changes: 49 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# ignore PHPStorm extra directories
.idea/

# Leave node_modules from git
node_modules/

# sass cache
.sass-cache

# map files
*.map

# Skip package file from versoning
*.zip

# ignore PHPCS report files
phpcs-summary.log
phpcs-full.log

# Exclude OS specific files
.DS_Store

# Exclude composer's directories
vendor/
ultimate-addons-for-gutenberg.zip

# Exclude mirror specific folder that aren't required.
.github/
.scripts/

# Exclude webpack files.
# config/webpack.config.dev.js
# config/webpack.config.prod.js
# .stylelintrc

# Auth
auth.json

# phpunit
.phpunit.result.cache

# nvmrc
.nvmrc

# VScode
.vscode

# Artifact
artifact/
31 changes: 31 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
.cache
build
build-module
build-types
packages/block-serialization-spec-parser/parser.js
packages/e2e-tests/plugins
packages/react-native-editor/bundle
vendor

admin-core
dist
.github
*.json
*.yml
composer.lock
lib/
Gruntfile.js
node_modules
*-rtl*
*.md
.distignore
font-awesome-pollyfiller.js
.eslintrc.js
*.min.js
*.min.css
*.css
blocks-config/uagb-controls/fonts.js

<!-- Libraries -->
assets/js/aos.js
assets/css/aos.css
15 changes: 15 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Import the default config file and expose it in the project root.
// Useful for editor integrations.
const config = require( '@wordpress/prettier-config' );

config.overrides = [
{
files: [ '*.scss', '*.css', '*.js' ],
options: {
printWidth: 120,
singleQuote: true,
},
},
];

module.exports = config;
36 changes: 36 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/vendor/
/node_modules/
build
coverage
cypress
node_modules
vendor

lib/
bin/
dist/

*.json
*.js
*.lock
*-invalid.*
*.min.css


assets/css/blocks/
assets/css/custom-style-blocks.css

admin/bsf-analytics/
admin/assets/images/

admin-core/assets/src/utils/whats-new-library/
admin-core/assets/build/
admin-core/assets/images/
admin-core/**/*-rtl.css

# Misc.

src/components/icon-picker/editor.lazy.scss

# AOS libary files
assets/css/aos.css
23 changes: 23 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"extends": [ "@wordpress/stylelint-config" ],
"rules": {
"selector-class-pattern": null,
"no-descending-specificity": null,
"font-weight-notation": null,
"comment-empty-line-before": null,
"selector-pseudo-class-parentheses-space-inside": null,
"rule-empty-line-before": null,
"declaration-property-unit-allowed-list": {
"line-height": [ "px", "em" ]
},
"max-line-length": [
180,
{
"ignore": "non-comments",
"ignorePattern": [
"/(https?://[0-9,a-z]*.*)|(^description\\:.+)|(^tags\\:.+)/i"
]
}
]
}
}
Binary file added .wordpress-org/banner-1544x500.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/banner-772x250.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9a8f1fd

Please sign in to comment.