mirror of
https://ghproxy.net/https://github.com/AlxMedia/bigvisual.git
synced 2025-08-26 08:23:11 +08:00
Update to Kirki 4.2.0
This commit is contained in:
parent
4b8c2b8a96
commit
46c65ae254
440 changed files with 6230 additions and 5211 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2019 Ari Stathopoulos (@aristath)
|
||||
Copyright (c) 2023 Themeum
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
|
@ -1,91 +0,0 @@
|
|||
# Kirki Customizer Framework #
|
||||
**Contributors:** [davidvongries](https://profiles.wordpress.org/davidvongries), [aristath](https://profiles.wordpress.org/aristath), [dannycooper](https://profiles.wordpress.org/dannycooper), [wplemon](https://profiles.wordpress.org/wplemon), [igmoweb](https://profiles.wordpress.org/igmoweb)
|
||||
**Tags:** customizer, options framework, theme, mods, toolkit, gutenberg
|
||||
**Requires at least:** 5.2
|
||||
**Tested up to:** 6
|
||||
**Stable tag:** 4.0.24
|
||||
**License:** MIT
|
||||
**License URI:** https://opensource.org/licenses/MIT
|
||||
|
||||
The ultimate customizer framework for WordPress theme developers.
|
||||
|
||||
## Description ##
|
||||
|
||||
[](https://travis-ci.org/aristath/kirki) [](https://codeclimate.com/github/aristath/kirki) [](https://opensource.org/licenses/MIT) [](https://www.codacy.com/app/aristath/kirki?utm_source=github.com&utm_medium=referral&utm_content=aristath/kirki&utm_campaign=Badge_Grade) [](https://scrutinizer-ci.com/g/aristath/kirki/?branch=develop)
|
||||
|
||||
[Kirki](https://kirki.org/?utm_source=repo&utm_medium=description&utm_campaign=kirki) allows theme developers to build themes quicker & more easily.
|
||||
|
||||
With over **30 custom controls** ranging from simple sliders to complex typography controls with Google-Fonts integration and features like automatic CSS & `postMessage` script generation, Kirki makes theme development a breeze.
|
||||
|
||||
### Features ###
|
||||
* Increased Performance
|
||||
* Simplified API
|
||||
* Automatic CSS Generation
|
||||
* Automatic postMessage Generation
|
||||
* Partial Refresh
|
||||
* Conditional Logic
|
||||
* GDPR Compliance
|
||||
* Improved Page Speed
|
||||
* & more!
|
||||
|
||||
### Controls ###
|
||||
|
||||
* [Background Customizer Control](https://kirki.org/docs/controls/background)
|
||||
* [Code Customizer Control](https://kirki.org/docs/controls/code)
|
||||
* [Checkbox Customizer Control](https://kirki.org/docs/controls/checkbox)
|
||||
* [Color Customizer Control](https://kirki.org/docs/controls/color)
|
||||
* [Color Palette Customizer Control](https://kirki.org/docs/controls/color-palette)
|
||||
* [Custom Customizer Control](https://kirki.org/docs/controls/custom)
|
||||
* [Dashicons Customizer Control](https://kirki.org/docs/controls/dashicons)
|
||||
* [Date Customizer Control](https://kirki.org/docs/controls/date)
|
||||
* [Dimension Customizer Control](https://kirki.org/docs/controls/dimension)
|
||||
* [Dimensions Customizer Control](https://kirki.org/docs/controls/dimensions)
|
||||
* [Dropdown Pages Customizer Control](https://kirki.org/docs/controls/dropdown-pages)
|
||||
* [Editor Customizer Control](https://kirki.org/docs/controls/editor)
|
||||
* [Generic Customizer Control](https://kirki.org/docs/controls/generic)
|
||||
* [Image Customizer Control](https://kirki.org/docs/controls/image)
|
||||
* [Link Customizer Control](https://kirki.org/docs/controls/link)
|
||||
* [Multiple Checkbox Customizer Control](https://kirki.org/docs/controls/multicheck)
|
||||
* [Multicolor Customizer Control](https://kirki.org/docs/controls/multicolor)
|
||||
* [Number Customizer Control](https://kirki.org/docs/controls/number)
|
||||
* [Radio Customizer Control](https://kirki.org/docs/controls/radio)
|
||||
* [Radio Buttonset Customizer Control](https://kirki.org/docs/controls/radio-buttonset)
|
||||
* [Radio Image Customizer Control](https://kirki.org/docs/controls/radio-image)
|
||||
* [Repeater Customizer Control](https://kirki.org/docs/controls/repeater)
|
||||
* [Select Customizer Control](https://kirki.org/docs/controls/select)
|
||||
* [Slider Customizer Control](https://kirki.org/docs/controls/slider)
|
||||
* [Sortable Customizer Control](https://kirki.org/docs/controls/sortable)
|
||||
* [Switch Customizer Control](https://kirki.org/docs/controls/switch)
|
||||
* [Text Customizer Control](https://kirki.org/docs/controls/text)
|
||||
* [Textarea Customizer Control](https://kirki.org/docs/controls/textarea)
|
||||
* [Toggle Customizer Control](https://kirki.org/docs/controls/toggle)
|
||||
* [Typography Customizer Control](https://kirki.org/docs/controls/typography)
|
||||
* [Upload Customizer Control](https://kirki.org/docs/controls/upload)
|
||||
|
||||
### Theme Example ###
|
||||
|
||||
[Page Builder Framework](https://wp-pagebuilderframework.com?utm_source=kirki&utm_medium=repo&utm_campaign=wpbf)'s customizer settings are a prime example of what can be achieved with Kirki.
|
||||
|
||||
Conditional Logic, Partial Refresh, postMessage and a variety of controls - It has all of it.
|
||||
|
||||
### Documentation ###
|
||||
|
||||
You can find detailed documentation on how to use Kirki on [kirki.org](https://kirki.org/?utm_source=repo&utm_medium=description&utm_campaign=kirki)
|
||||
|
||||
### Kirki PRO ###
|
||||
|
||||
Kirki PRO is currently in development. You can [sign up for the waiting list](https://kirki.org/pricing/?utm_source=repo&utm_medium=description&utm_campaign=kirki) here to be notified about updates.
|
||||
|
||||
### Disclaimer ###
|
||||
|
||||
Theme developers should be familiar with the Customizer API before starting to build a theme using Kirki. An excellent handbook for the WordPress Customizer can be found on the [developer.wordpress.org](https://developer.wordpress.org/themes/customize-api/) website.
|
||||
|
||||
## Installation ##
|
||||
|
||||
Simply install as a normal WordPress plugin and activate.
|
||||
|
||||
If you want to integrate Kirki in your theme or plugin, please read the instructions on [our documentation site](https://kirki.org/docs/integration).
|
||||
|
||||
## Changelog ##
|
||||
|
||||
[See the previous changelogs here](https://github.com/kirki-framework/kirki/blob/master/CHANGELOG.md).
|
BIN
functions/kirki/assets/images/featured-plugin-banner.jpg
Normal file
BIN
functions/kirki/assets/images/featured-plugin-banner.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 342 KiB |
BIN
functions/kirki/assets/images/kirki-logo-rounded.png
Normal file
BIN
functions/kirki/assets/images/kirki-logo-rounded.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
functions/kirki/assets/images/kirki-logo-square-white.png
Normal file
BIN
functions/kirki/assets/images/kirki-logo-square-white.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
BIN
functions/kirki/assets/images/kirki-logo-square.png
Normal file
BIN
functions/kirki/assets/images/kirki-logo-square.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
107
functions/kirki/composer.json
Normal file
107
functions/kirki/composer.json
Normal file
|
@ -0,0 +1,107 @@
|
|||
{
|
||||
"name": "kirki-framework/kirki",
|
||||
"type": "library",
|
||||
"version": "4.2.0",
|
||||
"keywords": [
|
||||
"WordPress",
|
||||
"Customizer"
|
||||
],
|
||||
"description": "Extending the WordPress customizer",
|
||||
"homepage": "https://kirki.org",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Kirki Framework",
|
||||
"email": "connect@mapsteps.com"
|
||||
}
|
||||
],
|
||||
"config": {
|
||||
"vendor-dir": "kirki-composer",
|
||||
"allow-plugins": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": true,
|
||||
"composer/installers": true
|
||||
}
|
||||
},
|
||||
"include-path": [
|
||||
".",
|
||||
"core"
|
||||
],
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Kirki\\Compatibility\\": [
|
||||
"kirki-packages/compatibility/src"
|
||||
],
|
||||
"Kirki\\Data\\": [
|
||||
"kirki-packages/data-option/src"
|
||||
],
|
||||
"Kirki\\Field\\": [
|
||||
"kirki-packages/field/src/Field",
|
||||
"kirki-packages/field-background/src",
|
||||
"kirki-packages/field-dimensions/src",
|
||||
"kirki-packages/field-fontawesome/src",
|
||||
"kirki-packages/field-multicolor/src/Field",
|
||||
"kirki-packages/field-multicolor/src",
|
||||
"kirki-packages/field-typography/src/Field",
|
||||
"kirki-packages/field-typography/src"
|
||||
],
|
||||
"Kirki\\Module\\": [
|
||||
"kirki-packages/module-css/src",
|
||||
"kirki-packages/module-editor-styles/src",
|
||||
"kirki-packages/module-field-dependencies/src",
|
||||
"kirki-packages/module-postmessage/src",
|
||||
"kirki-packages/module-preset/src",
|
||||
"kirki-packages/module-section-icons/src",
|
||||
"kirki-packages/module-selective-refresh/src",
|
||||
"kirki-packages/module-tooltips/src",
|
||||
"kirki-packages/module-webfonts/src"
|
||||
],
|
||||
"Kirki\\Util\\": [
|
||||
"kirki-packages/util/src"
|
||||
],
|
||||
"Kirki\\Settings\\": [
|
||||
"kirki-packages/settings/src"
|
||||
],
|
||||
"Kirki\\": [
|
||||
"kirki-packages/control-base/src",
|
||||
"kirki-packages/control-checkbox/src",
|
||||
"kirki-packages/control-code/src",
|
||||
"kirki-packages/control-color/src",
|
||||
"kirki-packages/control-color-palette/src",
|
||||
"kirki-packages/control-cropped-image/src",
|
||||
"kirki-packages/control-custom/src",
|
||||
"kirki-packages/control-dashicons/src",
|
||||
"kirki-packages/control-date/src",
|
||||
"kirki-packages/control-dimension/src",
|
||||
"kirki-packages/control-editor/src",
|
||||
"kirki-packages/control-generic/src",
|
||||
"kirki-packages/control-image/src",
|
||||
"kirki-packages/control-multicheck/src",
|
||||
"kirki-packages/control-palette/src",
|
||||
"kirki-packages/control-radio/src",
|
||||
"kirki-packages/control-react-colorful/src",
|
||||
"kirki-packages/control-react-select/src",
|
||||
"kirki-packages/control-repeater/src",
|
||||
"kirki-packages/control-select/src",
|
||||
"kirki-packages/control-slider/src",
|
||||
"kirki-packages/control-sortable/src",
|
||||
"kirki-packages/control-upload/src",
|
||||
"kirki-packages/field/src",
|
||||
"kirki-packages/googlefonts/src",
|
||||
"kirki-packages/l10n/src",
|
||||
"kirki-packages/module-panels/src",
|
||||
"kirki-packages/module-sections/src",
|
||||
"kirki-packages/url-getter/src"
|
||||
]
|
||||
}
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"composer/installers": "*",
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "*",
|
||||
"wp-coding-standards/wpcs": "*",
|
||||
"phpcompatibility/phpcompatibility-wp": "*",
|
||||
"wptrt/wpthemereview": "dev-develop"
|
||||
}
|
||||
}
|
605
functions/kirki/composer.lock
generated
Normal file
605
functions/kirki/composer.lock
generated
Normal file
|
@ -0,0 +1,605 @@
|
|||
{
|
||||
"_readme": [
|
||||
"This file locks the dependencies of your project to a known state",
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "1cdc638108e6a3cc36d943f05ad417c4",
|
||||
"packages": [],
|
||||
"packages-dev": [
|
||||
{
|
||||
"name": "composer/installers",
|
||||
"version": "v2.2.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/composer/installers.git",
|
||||
"reference": "c29dc4b93137acb82734f672c37e029dfbd95b35"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/composer/installers/zipball/c29dc4b93137acb82734f672c37e029dfbd95b35",
|
||||
"reference": "c29dc4b93137acb82734f672c37e029dfbd95b35",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"composer-plugin-api": "^1.0 || ^2.0",
|
||||
"php": "^7.2 || ^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"composer/composer": "1.6.* || ^2.0",
|
||||
"composer/semver": "^1 || ^3",
|
||||
"phpstan/phpstan": "^0.12.55",
|
||||
"phpstan/phpstan-phpunit": "^0.12.16",
|
||||
"symfony/phpunit-bridge": "^5.3",
|
||||
"symfony/process": "^5"
|
||||
},
|
||||
"type": "composer-plugin",
|
||||
"extra": {
|
||||
"class": "Composer\\Installers\\Plugin",
|
||||
"branch-alias": {
|
||||
"dev-main": "2.x-dev"
|
||||
},
|
||||
"plugin-modifies-install-path": true
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Composer\\Installers\\": "src/Composer/Installers"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Kyle Robinson Young",
|
||||
"email": "kyle@dontkry.com",
|
||||
"homepage": "https://github.com/shama"
|
||||
}
|
||||
],
|
||||
"description": "A multi-framework Composer library installer",
|
||||
"homepage": "https://composer.github.io/installers/",
|
||||
"keywords": [
|
||||
"Dolibarr",
|
||||
"Eliasis",
|
||||
"Hurad",
|
||||
"ImageCMS",
|
||||
"Kanboard",
|
||||
"Lan Management System",
|
||||
"MODX Evo",
|
||||
"MantisBT",
|
||||
"Mautic",
|
||||
"Maya",
|
||||
"OXID",
|
||||
"Plentymarkets",
|
||||
"Porto",
|
||||
"RadPHP",
|
||||
"SMF",
|
||||
"Starbug",
|
||||
"Thelia",
|
||||
"Whmcs",
|
||||
"WolfCMS",
|
||||
"agl",
|
||||
"annotatecms",
|
||||
"attogram",
|
||||
"bitrix",
|
||||
"cakephp",
|
||||
"chef",
|
||||
"cockpit",
|
||||
"codeigniter",
|
||||
"concrete5",
|
||||
"croogo",
|
||||
"dokuwiki",
|
||||
"drupal",
|
||||
"eZ Platform",
|
||||
"elgg",
|
||||
"expressionengine",
|
||||
"fuelphp",
|
||||
"grav",
|
||||
"installer",
|
||||
"itop",
|
||||
"known",
|
||||
"kohana",
|
||||
"laravel",
|
||||
"lavalite",
|
||||
"lithium",
|
||||
"magento",
|
||||
"majima",
|
||||
"mako",
|
||||
"matomo",
|
||||
"mediawiki",
|
||||
"miaoxing",
|
||||
"modulework",
|
||||
"modx",
|
||||
"moodle",
|
||||
"osclass",
|
||||
"pantheon",
|
||||
"phpbb",
|
||||
"piwik",
|
||||
"ppi",
|
||||
"processwire",
|
||||
"puppet",
|
||||
"pxcms",
|
||||
"reindex",
|
||||
"roundcube",
|
||||
"shopware",
|
||||
"silverstripe",
|
||||
"sydes",
|
||||
"sylius",
|
||||
"tastyigniter",
|
||||
"wordpress",
|
||||
"yawik",
|
||||
"zend",
|
||||
"zikula"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/composer/installers/issues",
|
||||
"source": "https://github.com/composer/installers/tree/v2.2.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://packagist.com",
|
||||
"type": "custom"
|
||||
},
|
||||
{
|
||||
"url": "https://github.com/composer",
|
||||
"type": "github"
|
||||
},
|
||||
{
|
||||
"url": "https://tidelift.com/funding/github/packagist/composer/composer",
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-08-20T06:45:11+00:00"
|
||||
},
|
||||
{
|
||||
"name": "dealerdirect/phpcodesniffer-composer-installer",
|
||||
"version": "v1.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/PHPCSStandards/composer-installer.git",
|
||||
"reference": "4be43904336affa5c2f70744a348312336afd0da"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/4be43904336affa5c2f70744a348312336afd0da",
|
||||
"reference": "4be43904336affa5c2f70744a348312336afd0da",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"composer-plugin-api": "^1.0 || ^2.0",
|
||||
"php": ">=5.4",
|
||||
"squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"composer/composer": "*",
|
||||
"ext-json": "*",
|
||||
"ext-zip": "*",
|
||||
"php-parallel-lint/php-parallel-lint": "^1.3.1",
|
||||
"phpcompatibility/php-compatibility": "^9.0",
|
||||
"yoast/phpunit-polyfills": "^1.0"
|
||||
},
|
||||
"type": "composer-plugin",
|
||||
"extra": {
|
||||
"class": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Franck Nijhof",
|
||||
"email": "franck.nijhof@dealerdirect.com",
|
||||
"homepage": "http://www.frenck.nl",
|
||||
"role": "Developer / IT Manager"
|
||||
},
|
||||
{
|
||||
"name": "Contributors",
|
||||
"homepage": "https://github.com/PHPCSStandards/composer-installer/graphs/contributors"
|
||||
}
|
||||
],
|
||||
"description": "PHP_CodeSniffer Standards Composer Installer Plugin",
|
||||
"homepage": "http://www.dealerdirect.com",
|
||||
"keywords": [
|
||||
"PHPCodeSniffer",
|
||||
"PHP_CodeSniffer",
|
||||
"code quality",
|
||||
"codesniffer",
|
||||
"composer",
|
||||
"installer",
|
||||
"phpcbf",
|
||||
"phpcs",
|
||||
"plugin",
|
||||
"qa",
|
||||
"quality",
|
||||
"standard",
|
||||
"standards",
|
||||
"style guide",
|
||||
"stylecheck",
|
||||
"tests"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/PHPCSStandards/composer-installer/issues",
|
||||
"source": "https://github.com/PHPCSStandards/composer-installer"
|
||||
},
|
||||
"time": "2023-01-05T11:28:13+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpcompatibility/php-compatibility",
|
||||
"version": "9.3.5",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
|
||||
"reference": "9fb324479acf6f39452e0655d2429cc0d3914243"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243",
|
||||
"reference": "9fb324479acf6f39452e0655d2429cc0d3914243",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3",
|
||||
"squizlabs/php_codesniffer": "^2.3 || ^3.0.2"
|
||||
},
|
||||
"conflict": {
|
||||
"squizlabs/php_codesniffer": "2.6.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0"
|
||||
},
|
||||
"suggest": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.",
|
||||
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
|
||||
},
|
||||
"type": "phpcodesniffer-standard",
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"LGPL-3.0-or-later"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Wim Godden",
|
||||
"homepage": "https://github.com/wimg",
|
||||
"role": "lead"
|
||||
},
|
||||
{
|
||||
"name": "Juliette Reinders Folmer",
|
||||
"homepage": "https://github.com/jrfnl",
|
||||
"role": "lead"
|
||||
},
|
||||
{
|
||||
"name": "Contributors",
|
||||
"homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors"
|
||||
}
|
||||
],
|
||||
"description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.",
|
||||
"homepage": "http://techblog.wimgodden.be/tag/codesniffer/",
|
||||
"keywords": [
|
||||
"compatibility",
|
||||
"phpcs",
|
||||
"standards"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
|
||||
"source": "https://github.com/PHPCompatibility/PHPCompatibility"
|
||||
},
|
||||
"time": "2019-12-27T09:44:58+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpcompatibility/phpcompatibility-paragonie",
|
||||
"version": "1.3.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git",
|
||||
"reference": "bba5a9dfec7fcfbd679cfaf611d86b4d3759da26"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/bba5a9dfec7fcfbd679cfaf611d86b4d3759da26",
|
||||
"reference": "bba5a9dfec7fcfbd679cfaf611d86b4d3759da26",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"phpcompatibility/php-compatibility": "^9.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
|
||||
"paragonie/random_compat": "dev-master",
|
||||
"paragonie/sodium_compat": "dev-master"
|
||||
},
|
||||
"suggest": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
|
||||
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
|
||||
},
|
||||
"type": "phpcodesniffer-standard",
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"LGPL-3.0-or-later"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Wim Godden",
|
||||
"role": "lead"
|
||||
},
|
||||
{
|
||||
"name": "Juliette Reinders Folmer",
|
||||
"role": "lead"
|
||||
}
|
||||
],
|
||||
"description": "A set of rulesets for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by the Paragonie polyfill libraries.",
|
||||
"homepage": "http://phpcompatibility.com/",
|
||||
"keywords": [
|
||||
"compatibility",
|
||||
"paragonie",
|
||||
"phpcs",
|
||||
"polyfill",
|
||||
"standards",
|
||||
"static analysis"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues",
|
||||
"source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie"
|
||||
},
|
||||
"time": "2022-10-25T01:46:02+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpcompatibility/phpcompatibility-wp",
|
||||
"version": "2.1.4",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git",
|
||||
"reference": "b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5",
|
||||
"reference": "b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"phpcompatibility/php-compatibility": "^9.0",
|
||||
"phpcompatibility/phpcompatibility-paragonie": "^1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.7"
|
||||
},
|
||||
"suggest": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
|
||||
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
|
||||
},
|
||||
"type": "phpcodesniffer-standard",
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"LGPL-3.0-or-later"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Wim Godden",
|
||||
"role": "lead"
|
||||
},
|
||||
{
|
||||
"name": "Juliette Reinders Folmer",
|
||||
"role": "lead"
|
||||
}
|
||||
],
|
||||
"description": "A ruleset for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.",
|
||||
"homepage": "http://phpcompatibility.com/",
|
||||
"keywords": [
|
||||
"compatibility",
|
||||
"phpcs",
|
||||
"standards",
|
||||
"static analysis",
|
||||
"wordpress"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues",
|
||||
"source": "https://github.com/PHPCompatibility/PHPCompatibilityWP"
|
||||
},
|
||||
"time": "2022-10-24T09:00:36+00:00"
|
||||
},
|
||||
{
|
||||
"name": "squizlabs/php_codesniffer",
|
||||
"version": "3.7.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
|
||||
"reference": "1359e176e9307e906dc3d890bcc9603ff6d90619"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/1359e176e9307e906dc3d890bcc9603ff6d90619",
|
||||
"reference": "1359e176e9307e906dc3d890bcc9603ff6d90619",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-simplexml": "*",
|
||||
"ext-tokenizer": "*",
|
||||
"ext-xmlwriter": "*",
|
||||
"php": ">=5.4.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
|
||||
},
|
||||
"bin": [
|
||||
"bin/phpcs",
|
||||
"bin/phpcbf"
|
||||
],
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "3.x-dev"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"BSD-3-Clause"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Greg Sherwood",
|
||||
"role": "lead"
|
||||
}
|
||||
],
|
||||
"description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
|
||||
"homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
|
||||
"keywords": [
|
||||
"phpcs",
|
||||
"standards"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
|
||||
"source": "https://github.com/squizlabs/PHP_CodeSniffer",
|
||||
"wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
|
||||
},
|
||||
"time": "2022-06-18T07:21:10+00:00"
|
||||
},
|
||||
{
|
||||
"name": "wp-coding-standards/wpcs",
|
||||
"version": "2.3.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/WordPress/WordPress-Coding-Standards.git",
|
||||
"reference": "7da1894633f168fe244afc6de00d141f27517b62"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7da1894633f168fe244afc6de00d141f27517b62",
|
||||
"reference": "7da1894633f168fe244afc6de00d141f27517b62",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.4",
|
||||
"squizlabs/php_codesniffer": "^3.3.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.5 || ^0.6",
|
||||
"phpcompatibility/php-compatibility": "^9.0",
|
||||
"phpcsstandards/phpcsdevtools": "^1.0",
|
||||
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
|
||||
},
|
||||
"suggest": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.6 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically."
|
||||
},
|
||||
"type": "phpcodesniffer-standard",
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Contributors",
|
||||
"homepage": "https://github.com/WordPress/WordPress-Coding-Standards/graphs/contributors"
|
||||
}
|
||||
],
|
||||
"description": "PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions",
|
||||
"keywords": [
|
||||
"phpcs",
|
||||
"standards",
|
||||
"wordpress"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/WordPress/WordPress-Coding-Standards/issues",
|
||||
"source": "https://github.com/WordPress/WordPress-Coding-Standards",
|
||||
"wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki"
|
||||
},
|
||||
"time": "2020-05-13T23:57:56+00:00"
|
||||
},
|
||||
{
|
||||
"name": "wptrt/wpthemereview",
|
||||
"version": "dev-develop",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/WPTT/WPThemeReview.git",
|
||||
"reference": "15684d0852fe90d807c2ae7746dea1302b74b4bd"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/WPTT/WPThemeReview/zipball/15684d0852fe90d807c2ae7746dea1302b74b4bd",
|
||||
"reference": "15684d0852fe90d807c2ae7746dea1302b74b4bd",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.4",
|
||||
"phpcompatibility/phpcompatibility-wp": "^2.0",
|
||||
"squizlabs/php_codesniffer": "^3.3.1",
|
||||
"wp-coding-standards/wpcs": "^2.2.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
|
||||
"php-parallel-lint/php-console-highlighter": "^0.5",
|
||||
"php-parallel-lint/php-parallel-lint": "^1.0",
|
||||
"phpcompatibility/php-compatibility": "^9.0",
|
||||
"phpcsstandards/phpcsdevtools": "^1.0",
|
||||
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0",
|
||||
"roave/security-advisories": "dev-master"
|
||||
},
|
||||
"suggest": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically."
|
||||
},
|
||||
"default-branch": true,
|
||||
"type": "phpcodesniffer-standard",
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Theme Review Team",
|
||||
"homepage": "https://make.wordpress.org/themes/handbook/",
|
||||
"role": "Strategy and rule setting"
|
||||
},
|
||||
{
|
||||
"name": "Ulrich Pogson",
|
||||
"homepage": "https://github.com/grappler",
|
||||
"role": "Lead developer"
|
||||
},
|
||||
{
|
||||
"name": "Juliette Reinders Folmer",
|
||||
"homepage": "https://github.com/jrfnl",
|
||||
"role": "Lead developer"
|
||||
},
|
||||
{
|
||||
"name": "Denis Žoljom",
|
||||
"homepage": "https://github.com/dingo-d",
|
||||
"role": "Plugin integration lead"
|
||||
},
|
||||
{
|
||||
"name": "Contributors",
|
||||
"homepage": "https://github.com/WPTRT/WPThemeReview/graphs/contributors"
|
||||
}
|
||||
],
|
||||
"description": "PHP_CodeSniffer rules (sniffs) to verify theme compliance with the rules for theme hosting on wordpress.org",
|
||||
"homepage": "https://make.wordpress.org/themes/handbook/review/",
|
||||
"keywords": [
|
||||
"phpcs",
|
||||
"standards",
|
||||
"themes",
|
||||
"wordpress"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/WPTRT/WPThemeReview/issues",
|
||||
"source": "https://github.com/WPTRT/WPThemeReview"
|
||||
},
|
||||
"time": "2021-06-22T06:10:49+00:00"
|
||||
}
|
||||
],
|
||||
"aliases": [],
|
||||
"minimum-stability": "stable",
|
||||
"stability-flags": {
|
||||
"wptrt/wpthemereview": 20
|
||||
},
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
"platform": {
|
||||
"php": ">=7.0"
|
||||
},
|
||||
"platform-dev": [],
|
||||
"plugin-api-version": "2.3.0"
|
||||
}
|
File diff suppressed because it is too large
Load diff
|
@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
|
|||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInitc56aa391ac498061f8d648878e0e6144::getLoader();
|
||||
return ComposerAutoloaderInit734b74506bf23405b8270b65bdba2dd6::getLoader();
|
|
@ -28,7 +28,7 @@ class InstalledVersions
|
|||
{
|
||||
/**
|
||||
* @var mixed[]|null
|
||||
* @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
|
||||
* @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
|
||||
*/
|
||||
private static $installed;
|
||||
|
||||
|
@ -39,7 +39,7 @@ class InstalledVersions
|
|||
|
||||
/**
|
||||
* @var array[]
|
||||
* @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
|
||||
* @psalm-var array<string, array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
|
||||
*/
|
||||
private static $installedByVendor = array();
|
||||
|
||||
|
@ -243,7 +243,7 @@ class InstalledVersions
|
|||
|
||||
/**
|
||||
* @return array
|
||||
* @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
|
||||
* @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
|
||||
*/
|
||||
public static function getRootPackage()
|
||||
{
|
||||
|
@ -257,7 +257,7 @@ class InstalledVersions
|
|||
*
|
||||
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
|
||||
* @return array[]
|
||||
* @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
|
||||
* @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}
|
||||
*/
|
||||
public static function getRawData()
|
||||
{
|
||||
|
@ -280,7 +280,7 @@ class InstalledVersions
|
|||
* Returns the raw data of all installed.php which are currently loaded for custom implementations
|
||||
*
|
||||
* @return array[]
|
||||
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
|
||||
* @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
|
||||
*/
|
||||
public static function getAllRawData()
|
||||
{
|
||||
|
@ -303,7 +303,7 @@ class InstalledVersions
|
|||
* @param array[] $data A vendor/composer/installed.php data set
|
||||
* @return void
|
||||
*
|
||||
* @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
|
||||
* @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $data
|
||||
*/
|
||||
public static function reload($data)
|
||||
{
|
||||
|
@ -313,7 +313,7 @@ class InstalledVersions
|
|||
|
||||
/**
|
||||
* @return array[]
|
||||
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
|
||||
* @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
|
||||
*/
|
||||
private static function getInstalled()
|
||||
{
|
16
functions/kirki/kirki-composer/composer/autoload_psr4.php
Normal file
16
functions/kirki/kirki-composer/composer/autoload_psr4.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
// autoload_psr4.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(__DIR__);
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
||||
return array(
|
||||
'Kirki\\Util\\' => array($baseDir . '/kirki-packages/util/src'),
|
||||
'Kirki\\Settings\\' => array($baseDir . '/kirki-packages/settings/src'),
|
||||
'Kirki\\Module\\' => array($baseDir . '/kirki-packages/module-css/src', $baseDir . '/kirki-packages/module-editor-styles/src', $baseDir . '/kirki-packages/module-field-dependencies/src', $baseDir . '/kirki-packages/module-postmessage/src', $baseDir . '/kirki-packages/module-preset/src', $baseDir . '/kirki-packages/module-section-icons/src', $baseDir . '/kirki-packages/module-selective-refresh/src', $baseDir . '/kirki-packages/module-tooltips/src', $baseDir . '/kirki-packages/module-webfonts/src'),
|
||||
'Kirki\\Field\\' => array($baseDir . '/kirki-packages/field/src/Field', $baseDir . '/kirki-packages/field-background/src', $baseDir . '/kirki-packages/field-dimensions/src', $baseDir . '/kirki-packages/field-fontawesome/src', $baseDir . '/kirki-packages/field-multicolor/src/Field', $baseDir . '/kirki-packages/field-multicolor/src', $baseDir . '/kirki-packages/field-typography/src/Field', $baseDir . '/kirki-packages/field-typography/src'),
|
||||
'Kirki\\Data\\' => array($baseDir . '/kirki-packages/data-option/src'),
|
||||
'Kirki\\Compatibility\\' => array($baseDir . '/kirki-packages/compatibility/src'),
|
||||
'Kirki\\' => array($baseDir . '/kirki-packages/control-base/src', $baseDir . '/kirki-packages/control-checkbox/src', $baseDir . '/kirki-packages/control-code/src', $baseDir . '/kirki-packages/control-color/src', $baseDir . '/kirki-packages/control-color-palette/src', $baseDir . '/kirki-packages/control-cropped-image/src', $baseDir . '/kirki-packages/control-custom/src', $baseDir . '/kirki-packages/control-dashicons/src', $baseDir . '/kirki-packages/control-date/src', $baseDir . '/kirki-packages/control-dimension/src', $baseDir . '/kirki-packages/control-editor/src', $baseDir . '/kirki-packages/control-generic/src', $baseDir . '/kirki-packages/control-image/src', $baseDir . '/kirki-packages/control-multicheck/src', $baseDir . '/kirki-packages/control-palette/src', $baseDir . '/kirki-packages/control-radio/src', $baseDir . '/kirki-packages/control-react-colorful/src', $baseDir . '/kirki-packages/control-react-select/src', $baseDir . '/kirki-packages/control-repeater/src', $baseDir . '/kirki-packages/control-select/src', $baseDir . '/kirki-packages/control-slider/src', $baseDir . '/kirki-packages/control-sortable/src', $baseDir . '/kirki-packages/control-upload/src', $baseDir . '/kirki-packages/field/src', $baseDir . '/kirki-packages/googlefonts/src', $baseDir . '/kirki-packages/l10n/src', $baseDir . '/kirki-packages/module-panels/src', $baseDir . '/kirki-packages/module-sections/src', $baseDir . '/kirki-packages/url-getter/src'),
|
||||
);
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInitc56aa391ac498061f8d648878e0e6144
|
||||
class ComposerAutoloaderInit734b74506bf23405b8270b65bdba2dd6
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
|
@ -24,16 +24,16 @@ class ComposerAutoloaderInitc56aa391ac498061f8d648878e0e6144
|
|||
|
||||
require __DIR__ . '/platform_check.php';
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitc56aa391ac498061f8d648878e0e6144', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInit734b74506bf23405b8270b65bdba2dd6', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitc56aa391ac498061f8d648878e0e6144', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit734b74506bf23405b8270b65bdba2dd6', 'loadClassLoader'));
|
||||
|
||||
$includePaths = require __DIR__ . '/include_paths.php';
|
||||
$includePaths[] = get_include_path();
|
||||
set_include_path(implode(PATH_SEPARATOR, $includePaths));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitc56aa391ac498061f8d648878e0e6144::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit734b74506bf23405b8270b65bdba2dd6::getInitializer($loader));
|
||||
|
||||
$loader->register(true);
|
||||
|
109
functions/kirki/kirki-composer/composer/autoload_static.php
Normal file
109
functions/kirki/kirki-composer/composer/autoload_static.php
Normal file
|
@ -0,0 +1,109 @@
|
|||
<?php
|
||||
|
||||
// autoload_static.php @generated by Composer
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit734b74506bf23405b8270b65bdba2dd6
|
||||
{
|
||||
public static $prefixLengthsPsr4 = array (
|
||||
'K' =>
|
||||
array (
|
||||
'Kirki\\Util\\' => 11,
|
||||
'Kirki\\Settings\\' => 15,
|
||||
'Kirki\\Module\\' => 13,
|
||||
'Kirki\\Field\\' => 12,
|
||||
'Kirki\\Data\\' => 11,
|
||||
'Kirki\\Compatibility\\' => 20,
|
||||
'Kirki\\' => 6,
|
||||
),
|
||||
);
|
||||
|
||||
public static $prefixDirsPsr4 = array (
|
||||
'Kirki\\Util\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/../..' . '/kirki-packages/util/src',
|
||||
),
|
||||
'Kirki\\Settings\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/../..' . '/kirki-packages/settings/src',
|
||||
),
|
||||
'Kirki\\Module\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/../..' . '/kirki-packages/module-css/src',
|
||||
1 => __DIR__ . '/../..' . '/kirki-packages/module-editor-styles/src',
|
||||
2 => __DIR__ . '/../..' . '/kirki-packages/module-field-dependencies/src',
|
||||
3 => __DIR__ . '/../..' . '/kirki-packages/module-postmessage/src',
|
||||
4 => __DIR__ . '/../..' . '/kirki-packages/module-preset/src',
|
||||
5 => __DIR__ . '/../..' . '/kirki-packages/module-section-icons/src',
|
||||
6 => __DIR__ . '/../..' . '/kirki-packages/module-selective-refresh/src',
|
||||
7 => __DIR__ . '/../..' . '/kirki-packages/module-tooltips/src',
|
||||
8 => __DIR__ . '/../..' . '/kirki-packages/module-webfonts/src',
|
||||
),
|
||||
'Kirki\\Field\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/../..' . '/kirki-packages/field/src/Field',
|
||||
1 => __DIR__ . '/../..' . '/kirki-packages/field-background/src',
|
||||
2 => __DIR__ . '/../..' . '/kirki-packages/field-dimensions/src',
|
||||
3 => __DIR__ . '/../..' . '/kirki-packages/field-fontawesome/src',
|
||||
4 => __DIR__ . '/../..' . '/kirki-packages/field-multicolor/src/Field',
|
||||
5 => __DIR__ . '/../..' . '/kirki-packages/field-multicolor/src',
|
||||
6 => __DIR__ . '/../..' . '/kirki-packages/field-typography/src/Field',
|
||||
7 => __DIR__ . '/../..' . '/kirki-packages/field-typography/src',
|
||||
),
|
||||
'Kirki\\Data\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/../..' . '/kirki-packages/data-option/src',
|
||||
),
|
||||
'Kirki\\Compatibility\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/../..' . '/kirki-packages/compatibility/src',
|
||||
),
|
||||
'Kirki\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/../..' . '/kirki-packages/control-base/src',
|
||||
1 => __DIR__ . '/../..' . '/kirki-packages/control-checkbox/src',
|
||||
2 => __DIR__ . '/../..' . '/kirki-packages/control-code/src',
|
||||
3 => __DIR__ . '/../..' . '/kirki-packages/control-color/src',
|
||||
4 => __DIR__ . '/../..' . '/kirki-packages/control-color-palette/src',
|
||||
5 => __DIR__ . '/../..' . '/kirki-packages/control-cropped-image/src',
|
||||
6 => __DIR__ . '/../..' . '/kirki-packages/control-custom/src',
|
||||
7 => __DIR__ . '/../..' . '/kirki-packages/control-dashicons/src',
|
||||
8 => __DIR__ . '/../..' . '/kirki-packages/control-date/src',
|
||||
9 => __DIR__ . '/../..' . '/kirki-packages/control-dimension/src',
|
||||
10 => __DIR__ . '/../..' . '/kirki-packages/control-editor/src',
|
||||
11 => __DIR__ . '/../..' . '/kirki-packages/control-generic/src',
|
||||
12 => __DIR__ . '/../..' . '/kirki-packages/control-image/src',
|
||||
13 => __DIR__ . '/../..' . '/kirki-packages/control-multicheck/src',
|
||||
14 => __DIR__ . '/../..' . '/kirki-packages/control-palette/src',
|
||||
15 => __DIR__ . '/../..' . '/kirki-packages/control-radio/src',
|
||||
16 => __DIR__ . '/../..' . '/kirki-packages/control-react-colorful/src',
|
||||
17 => __DIR__ . '/../..' . '/kirki-packages/control-react-select/src',
|
||||
18 => __DIR__ . '/../..' . '/kirki-packages/control-repeater/src',
|
||||
19 => __DIR__ . '/../..' . '/kirki-packages/control-select/src',
|
||||
20 => __DIR__ . '/../..' . '/kirki-packages/control-slider/src',
|
||||
21 => __DIR__ . '/../..' . '/kirki-packages/control-sortable/src',
|
||||
22 => __DIR__ . '/../..' . '/kirki-packages/control-upload/src',
|
||||
23 => __DIR__ . '/../..' . '/kirki-packages/field/src',
|
||||
24 => __DIR__ . '/../..' . '/kirki-packages/googlefonts/src',
|
||||
25 => __DIR__ . '/../..' . '/kirki-packages/l10n/src',
|
||||
26 => __DIR__ . '/../..' . '/kirki-packages/module-panels/src',
|
||||
27 => __DIR__ . '/../..' . '/kirki-packages/module-sections/src',
|
||||
28 => __DIR__ . '/../..' . '/kirki-packages/url-getter/src',
|
||||
),
|
||||
);
|
||||
|
||||
public static $classMap = array (
|
||||
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
|
||||
);
|
||||
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit734b74506bf23405b8270b65bdba2dd6::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit734b74506bf23405b8270b65bdba2dd6::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit734b74506bf23405b8270b65bdba2dd6::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
}
|
5
functions/kirki/kirki-composer/composer/installed.json
Normal file
5
functions/kirki/kirki-composer/composer/installed.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"packages": [],
|
||||
"dev": false,
|
||||
"dev-package-names": []
|
||||
}
|
23
functions/kirki/kirki-composer/composer/installed.php
Normal file
23
functions/kirki/kirki-composer/composer/installed.php
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?php return array(
|
||||
'root' => array(
|
||||
'name' => 'kirki-framework/kirki',
|
||||
'pretty_version' => '4.2.0',
|
||||
'version' => '4.2.0.0',
|
||||
'reference' => NULL,
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../../',
|
||||
'aliases' => array(),
|
||||
'dev' => false,
|
||||
),
|
||||
'versions' => array(
|
||||
'kirki-framework/kirki' => array(
|
||||
'pretty_version' => '4.2.0',
|
||||
'version' => '4.2.0.0',
|
||||
'reference' => NULL,
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../../',
|
||||
'aliases' => array(),
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
),
|
||||
);
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* @package Kirki
|
||||
* @category Core
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2020, David Vongries
|
||||
* @author Themeum
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 0.1
|
||||
*/
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* @package Kirki
|
||||
* @category Compatibility
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2020, David Vongries
|
||||
* @author Themeum
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* @package Kirki
|
||||
* @category Core
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2020, David Vongries
|
||||
* @author Themeum
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* @package Kirki
|
||||
* @category Core
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2020, David Vongries
|
||||
* @author Themeum
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* @package Kirki
|
||||
* @category Core
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2020, David Vongries
|
||||
* @author Themeum
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
||||
|
@ -26,7 +26,13 @@ class Field {
|
|||
* @access protected
|
||||
* @var array
|
||||
*/
|
||||
protected $args = [];
|
||||
public $label;
|
||||
public $row_label;
|
||||
public $button_label;
|
||||
public $description;
|
||||
public $help;
|
||||
|
||||
protected $args = array();
|
||||
|
||||
/**
|
||||
* The ID of the kirki_config we're using.
|
||||
|
@ -61,7 +67,7 @@ class Field {
|
|||
* @access protected
|
||||
* @var array
|
||||
*/
|
||||
protected $input_attrs = [];
|
||||
protected $input_attrs = array();
|
||||
|
||||
/**
|
||||
* Preset choices.
|
||||
|
@ -69,7 +75,7 @@ class Field {
|
|||
* @access protected
|
||||
* @var array
|
||||
*/
|
||||
protected $preset = [];
|
||||
protected $preset = array();
|
||||
|
||||
/**
|
||||
* CSS Variables.
|
||||
|
@ -77,7 +83,7 @@ class Field {
|
|||
* @access protected
|
||||
* @var array
|
||||
*/
|
||||
protected $css_vars = [];
|
||||
protected $css_vars = array();
|
||||
|
||||
/**
|
||||
* Use "theme_mod" or "option".
|
||||
|
@ -119,7 +125,7 @@ class Field {
|
|||
* @access protected
|
||||
* @var array
|
||||
*/
|
||||
protected $choices = [];
|
||||
protected $choices = array();
|
||||
|
||||
/**
|
||||
* Assign this field to a section.
|
||||
|
@ -163,7 +169,7 @@ class Field {
|
|||
* @access protected
|
||||
* @var array
|
||||
*/
|
||||
protected $output = [];
|
||||
protected $output = array();
|
||||
|
||||
/**
|
||||
* Use to automatically generate postMessage scripts.
|
||||
|
@ -174,7 +180,7 @@ class Field {
|
|||
* @access protected
|
||||
* @var array
|
||||
*/
|
||||
protected $js_vars = [];
|
||||
protected $js_vars = array();
|
||||
|
||||
/**
|
||||
* If you want to use a CSS compiler, then use this to set the variable names.
|
||||
|
@ -183,7 +189,7 @@ class Field {
|
|||
* @access protected
|
||||
* @var array
|
||||
*/
|
||||
protected $variables = [];
|
||||
protected $variables = array();
|
||||
|
||||
/**
|
||||
* Text that will be used in a tooltip to provide extra info for this field.
|
||||
|
@ -224,7 +230,7 @@ class Field {
|
|||
* @access protected
|
||||
* @var array
|
||||
*/
|
||||
protected $required = [];
|
||||
protected $required = array();
|
||||
|
||||
/**
|
||||
* Partial Refreshes array.
|
||||
|
@ -232,7 +238,7 @@ class Field {
|
|||
* @access protected
|
||||
* @var array
|
||||
*/
|
||||
protected $partial_refresh = [];
|
||||
protected $partial_refresh = array();
|
||||
|
||||
/**
|
||||
* The class constructor.
|
||||
|
@ -245,7 +251,7 @@ class Field {
|
|||
* Configs are handled by the Kirki\Compatibility\Config class.
|
||||
* @param array $args The arguments of the field.
|
||||
*/
|
||||
public function __construct( $config_id = 'global', $args = [] ) {
|
||||
public function __construct( $config_id = 'global', $args = array() ) {
|
||||
|
||||
/**
|
||||
* In case the user only provides 1 argument,
|
||||
|
@ -277,13 +283,13 @@ class Field {
|
|||
$defaults = get_class_vars( __CLASS__ );
|
||||
|
||||
// Get the config arguments, and merge them with the defaults.
|
||||
$config_defaults = ( isset( Kirki::$config['global'] ) ) ? Kirki::$config['global'] : [];
|
||||
$config_defaults = ( isset( Kirki::$config['global'] ) ) ? Kirki::$config['global'] : array();
|
||||
|
||||
if ( 'global' !== $this->kirki_config && isset( Kirki::$config[ $this->kirki_config ] ) ) {
|
||||
$config_defaults = Kirki::$config[ $this->kirki_config ];
|
||||
}
|
||||
|
||||
$config_defaults = ( is_array( $config_defaults ) ) ? $config_defaults : [];
|
||||
$config_defaults = ( is_array( $config_defaults ) ) ? $config_defaults : array();
|
||||
|
||||
foreach ( $config_defaults as $key => $value ) {
|
||||
if ( isset( $defaults[ $key ] ) && ! empty( $value ) && $value !== $defaults[ $key ] ) {
|
||||
|
@ -323,7 +329,7 @@ class Field {
|
|||
|
||||
// Sanitize the properties, skipping the ones that have already run above.
|
||||
foreach ( array_keys( $properties ) as $property ) {
|
||||
if ( in_array( $property, [ 'option_name', 'option_type', 'settings' ], true ) ) {
|
||||
if ( in_array( $property, array( 'option_name', 'option_type', 'settings' ), true ) ) {
|
||||
continue;
|
||||
}
|
||||
if ( method_exists( $this, 'set_' . $property ) ) {
|
||||
|
@ -380,7 +386,7 @@ class Field {
|
|||
*/
|
||||
protected function set_partial_refresh() {
|
||||
if ( ! is_array( $this->partial_refresh ) ) {
|
||||
$this->partial_refresh = [];
|
||||
$this->partial_refresh = array();
|
||||
}
|
||||
foreach ( $this->partial_refresh as $id => $args ) {
|
||||
if ( ! is_array( $args ) || ! isset( $args['selector'] ) || ! isset( $args['render_callback'] ) || ! is_callable( $args['render_callback'] ) ) {
|
||||
|
@ -408,11 +414,11 @@ class Field {
|
|||
// This is just to allow us to process everything the same way and avoid code duplication.
|
||||
// if settings is not an array then it will not be set as an array in the end.
|
||||
if ( ! is_array( $this->settings ) ) {
|
||||
$this->settings = [
|
||||
$this->settings = array(
|
||||
'kirki_placeholder_setting' => $this->settings,
|
||||
];
|
||||
);
|
||||
}
|
||||
$settings = [];
|
||||
$settings = array();
|
||||
foreach ( $this->settings as $setting_key => $setting_value ) {
|
||||
$settings[ $setting_key ] = $setting_value;
|
||||
|
||||
|
@ -487,7 +493,7 @@ class Field {
|
|||
*/
|
||||
protected function set_choices() {
|
||||
if ( ! is_array( $this->choices ) ) {
|
||||
$this->choices = [];
|
||||
$this->choices = array();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -512,18 +518,18 @@ class Field {
|
|||
if ( ! is_array( $this->output ) ) {
|
||||
/* translators: The field ID where the error occurs. */
|
||||
_doing_it_wrong( __METHOD__, sprintf( esc_html__( '"output" invalid format in field %s. The "output" argument should be defined as an array of arrays.', 'kirki' ), esc_html( $this->settings ) ), '3.0.10' );
|
||||
$this->output = [
|
||||
[
|
||||
$this->output = array(
|
||||
array(
|
||||
'element' => $this->output,
|
||||
],
|
||||
];
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
// Convert to array of arrays if needed.
|
||||
if ( isset( $this->output['element'] ) ) {
|
||||
/* translators: The field ID where the error occurs. */
|
||||
_doing_it_wrong( __METHOD__, sprintf( esc_html__( '"output" invalid format in field %s. The "output" argument should be defined as an array of arrays.', 'kirki' ), esc_html( $this->settings ) ), '3.0.10' );
|
||||
$this->output = [ $this->output ];
|
||||
$this->output = array( $this->output );
|
||||
}
|
||||
|
||||
foreach ( $this->output as $key => $output ) {
|
||||
|
@ -548,7 +554,7 @@ class Field {
|
|||
}
|
||||
|
||||
// Fix for https://github.com/aristath/kirki/issues/1659#issuecomment-346229751.
|
||||
$this->output[ $key ]['element'] = str_replace( [ "\t", "\n", "\r", "\0", "\x0B" ], ' ', $this->output[ $key ]['element'] );
|
||||
$this->output[ $key ]['element'] = str_replace( array( "\t", "\n", "\r", "\0", "\x0B" ), ' ', $this->output[ $key ]['element'] );
|
||||
$this->output[ $key ]['element'] = trim( preg_replace( '/\s+/', ' ', $this->output[ $key ]['element'] ) );
|
||||
}
|
||||
}
|
||||
|
@ -560,7 +566,7 @@ class Field {
|
|||
*/
|
||||
protected function set_js_vars() {
|
||||
if ( ! is_array( $this->js_vars ) ) {
|
||||
$this->js_vars = [];
|
||||
$this->js_vars = array();
|
||||
}
|
||||
|
||||
// Check if transport is set to auto.
|
||||
|
@ -573,7 +579,7 @@ class Field {
|
|||
// Serves as a fallback in case we failt to auto-calculate js_vars.
|
||||
$this->transport = 'refresh';
|
||||
|
||||
$js_vars = [];
|
||||
$js_vars = array();
|
||||
|
||||
// Try to auto-generate js_vars.
|
||||
// First we need to check if js_vars are empty, and that output is not empty.
|
||||
|
@ -618,7 +624,7 @@ class Field {
|
|||
protected function set_variables() {
|
||||
if ( ! is_array( $this->variables ) ) {
|
||||
$variable = ( is_string( $this->variables ) && ! empty( $this->variables ) ) ? $this->variables : false;
|
||||
$this->variables = [];
|
||||
$this->variables = array();
|
||||
if ( $variable && empty( $this->variables ) ) {
|
||||
$this->variables[0]['name'] = $variable;
|
||||
}
|
||||
|
@ -643,7 +649,7 @@ class Field {
|
|||
*/
|
||||
protected function set_required() {
|
||||
if ( ! is_array( $this->required ) ) {
|
||||
$this->required = [];
|
||||
$this->required = array();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -663,10 +669,10 @@ class Field {
|
|||
*/
|
||||
protected function set_css_vars() {
|
||||
if ( is_string( $this->css_vars ) ) {
|
||||
$this->css_vars = [ $this->css_vars ];
|
||||
$this->css_vars = array( $this->css_vars );
|
||||
}
|
||||
if ( isset( $this->css_vars[0] ) && is_string( $this->css_vars[0] ) ) {
|
||||
$this->css_vars = [ $this->css_vars ];
|
||||
$this->css_vars = array( $this->css_vars );
|
||||
}
|
||||
foreach ( $this->css_vars as $key => $val ) {
|
||||
if ( ! isset( $val[1] ) ) {
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* @package Kirki
|
||||
* @category Core
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2020, David Vongries
|
||||
* @author Themeum
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
||||
|
@ -21,7 +21,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
* Singleton class
|
||||
*/
|
||||
final class Framework {
|
||||
|
||||
public $modules;
|
||||
/**
|
||||
* Holds the one, true instance of this object.
|
||||
*
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* @package Kirki
|
||||
* @category Core
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2020, David Vongries
|
||||
* @author Themeum
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
|
@ -6,8 +6,8 @@
|
|||
*
|
||||
* @package Kirki
|
||||
* @category Core
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2020, David Vongries
|
||||
* @author Themeum
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
||||
|
@ -172,7 +172,7 @@ class Kirki extends Init {
|
|||
*/
|
||||
public static function remove_section( $id = '' ) {
|
||||
|
||||
$section = new \Kirki\Section( $id, $args );
|
||||
$section = new \Kirki\Section( $id );
|
||||
$section->remove();
|
||||
|
||||
}
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* @package Kirki
|
||||
* @category Modules
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2020, David Vongries
|
||||
* @author Themeum
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 3.0.0
|
||||
*/
|
||||
|
@ -17,6 +17,7 @@ namespace Kirki\Compatibility;
|
|||
*/
|
||||
class Modules {
|
||||
|
||||
|
||||
/**
|
||||
* An array of available modules.
|
||||
*
|
|
@ -5,8 +5,8 @@
|
|||
*
|
||||
* @package Kirki
|
||||
* @category Core
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2020, David Vongries
|
||||
* @author Themeum
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* @package Kirki
|
||||
* @category Core
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2020, David Vongries
|
||||
* @author Themeum
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 0.1
|
||||
*/
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* @package Kirki
|
||||
* @category Core
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2020, David Vongries
|
||||
* @author Themeum
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
|
@ -8,8 +8,8 @@
|
|||
*
|
||||
* @package Kirki
|
||||
* @category Core
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2020, David Vongries
|
||||
* @author Themeum
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
1
functions/kirki/kirki-packages/control-base/dist/control.css.map
vendored
Normal file
1
functions/kirki/kirki-packages/control-base/dist/control.css.map
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"mappings":"AACE,qCACE,+BAEE,aAAA,CADA,kBCCJ,CCDA,0BACE,iBDMF,CALF,CCGA,qDACE,gBDKF,CCFA,yBACE,WDKF,CCFA,kCACE,eDKF,CCFA,YACE,UDKF,CCFA,WACE,SDKF,CCFA,WACE,SDKF,CCFA,WACE,SDKF,CCFA,WACE,cDKF,CCFA,WACE,SDKF,CCFA,WACE,SDKF,CCFA,WACE,SDKF,CCFA,WACE,SDKF,CCFA,WACE,SDKF,CCFA,UACE,QDKF,CCFA,4DAEE,eDKF,CCFA,iCACE,iBDKF,CCFA,8BACE,eDKF,CCFA,sCAEE,QAAA,CADA,eDMF,CCFA,oDAEE,qBDKF,CCFA,0CACE,UDKF,CCFA,kBAEE,UAAA,CADA,UAAA,CAEA,gBAAA,CACA,iBDKF,CCHE,oCACE,cAAA,CACA,iBDKJ,CCFE,sEAEE,gBAAA,CACA,eDGJ,CCCI,wCAKE,UAAA,CAJA,UAAA,CACA,aAAA,CAEA,QAAA,CADA,UDGN,CCIA,yBACE,iBDDF,CCGE,qGAEE,aDDJ,CCIE,6CACE,iBDFJ,CCII,sDACE,aAAA,CACA,UDFN","sources":["src/rtl.scss","%3Cinput%20css%20N7IR_2%3E","src/control.scss"],"sourcesContent":[".rtl {\n @media screen and (min-width: 1667px) {\n .wp-full-overlay.expanded {\n margin-right: 300px;\n margin-left: 0;\n }\n }\n}\n","@media screen and (min-width: 1667px) {\n .rtl .wp-full-overlay.expanded {\n margin-right: 300px;\n margin-left: 0;\n }\n}\n\n@media screen and (min-width: 1667px) {\n .wp-full-overlay.expanded {\n margin-left: 300px;\n }\n}\n#customize-theme-controls .customize-pane-child.open {\n overflow: visible;\n}\n\n.wp-full-overlay-sidebar {\n width: 300px;\n}\n\n.expanded .wp-full-overlay-footer {\n max-width: 299px;\n}\n\n.kirki-w100 {\n width: 100%;\n}\n\n.kirki-w50 {\n width: 50%;\n}\n\n.kirki-w45 {\n width: 45%;\n}\n\n.kirki-w40 {\n width: 40%;\n}\n\n.kirki-w33 {\n width: 33.3333%;\n}\n\n.kirki-w30 {\n width: 30%;\n}\n\n.kirki-w25 {\n width: 25%;\n}\n\n.kirki-w20 {\n width: 20%;\n}\n\n.kirki-w15 {\n width: 15%;\n}\n\n.kirki-w10 {\n width: 10%;\n}\n\n.kirki-w5 {\n width: 5%;\n}\n\n.control-section-kirki-default,\n.control-section-kirki-outer {\n min-height: 100%;\n}\n\n.customize-control-has-small-gap {\n margin-bottom: 9px;\n}\n\n.customize-control-is-gapless {\n margin-bottom: 0;\n}\n\n.customize-control-kirki-hidden-field {\n margin-bottom: 0;\n height: 0;\n}\n\n.customize-control-kirki,\n.customize-control-kirki * {\n box-sizing: border-box;\n}\n\n.customize-control-kirki.kirki-group-item {\n clear: none;\n}\n\n.kirki-group-item {\n float: left;\n clear: none;\n padding-left: 3px;\n padding-right: 3px;\n}\n.kirki-group-item.kirki-group-start {\n padding-left: 0;\n padding-right: 3px;\n}\n.kirki-group-item.kirki-group-break, .kirki-group-item.kirki-group-end {\n padding-left: 3px;\n padding-right: 0;\n}\n.kirki-group-item.kirki-group-end::after {\n content: \"\";\n display: block;\n width: 100%;\n height: 0;\n clear: both;\n}\n\n.customize-control-kirki {\n position: relative;\n}\n.customize-control-kirki .kirki-control-label,\n.customize-control-kirki label.customize-control-title {\n display: block;\n}\n.customize-control-kirki .kirki-control-form {\n position: relative;\n}\n.customize-control-kirki .kirki-control-form textarea {\n display: block;\n width: 100%;\n}\n/*# sourceMappingURL=control.css.map */\n","@import \"rtl.scss\";\n\n@media screen and (min-width: 1667px) {\n .wp-full-overlay.expanded {\n margin-left: 300px;\n }\n}\n\n#customize-theme-controls .customize-pane-child.open {\n overflow: visible;\n}\n\n.wp-full-overlay-sidebar {\n width: 300px;\n}\n\n.expanded .wp-full-overlay-footer {\n max-width: 299px;\n}\n\n.kirki-w100 {\n width: 100%;\n}\n\n.kirki-w50 {\n width: 50%;\n}\n\n.kirki-w45 {\n width: 45%;\n}\n\n.kirki-w40 {\n width: 40%;\n}\n\n.kirki-w33 {\n width: 33.3333%;\n}\n\n.kirki-w30 {\n width: 30%;\n}\n\n.kirki-w25 {\n width: 25%;\n}\n\n.kirki-w20 {\n width: 20%;\n}\n\n.kirki-w15 {\n width: 15%;\n}\n\n.kirki-w10 {\n width: 10%;\n}\n\n.kirki-w5 {\n width: 5%;\n}\n\n.control-section-kirki-default,\n.control-section-kirki-outer {\n min-height: 100%;\n}\n\n.customize-control-has-small-gap {\n margin-bottom: 9px;\n}\n\n.customize-control-is-gapless {\n margin-bottom: 0;\n}\n\n.customize-control-kirki-hidden-field {\n margin-bottom: 0;\n height: 0;\n}\n\n.customize-control-kirki,\n.customize-control-kirki * {\n box-sizing: border-box;\n}\n\n.customize-control-kirki.kirki-group-item {\n clear: none; // Override WordPress.\n}\n\n.kirki-group-item {\n float: left;\n clear: none;\n padding-left: 3px;\n padding-right: 3px;\n\n &.kirki-group-start {\n padding-left: 0;\n padding-right: 3px;\n }\n\n &.kirki-group-break,\n &.kirki-group-end {\n padding-left: 3px;\n padding-right: 0;\n }\n\n &.kirki-group-end {\n &::after {\n content: \"\";\n display: block;\n width: 100%;\n height: 0;\n clear: both;\n }\n }\n}\n\n.customize-control-kirki {\n position: relative;\n\n .kirki-control-label,\n label.customize-control-title {\n display: block;\n }\n\n .kirki-control-form {\n position: relative;\n\n textarea {\n display: block;\n width: 100%;\n }\n }\n}\n"],"names":[],"version":3,"file":"control.css.map"}
|
1
functions/kirki/kirki-packages/control-base/dist/control.js.map
vendored
Normal file
1
functions/kirki/kirki-packages/control-base/dist/control.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -5,7 +5,7 @@
|
|||
* Extend this in other controls.
|
||||
*
|
||||
* @package kirki-framework/control-base
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
136
functions/kirki/kirki-packages/control-base/src/control.scss
Normal file
136
functions/kirki/kirki-packages/control-base/src/control.scss
Normal file
|
@ -0,0 +1,136 @@
|
|||
@import "rtl.scss";
|
||||
|
||||
@media screen and (min-width: 1667px) {
|
||||
.wp-full-overlay.expanded {
|
||||
margin-left: 300px;
|
||||
}
|
||||
}
|
||||
|
||||
#customize-theme-controls .customize-pane-child.open {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.wp-full-overlay-sidebar {
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.expanded .wp-full-overlay-footer {
|
||||
max-width: 299px;
|
||||
}
|
||||
|
||||
.kirki-w100 {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.kirki-w50 {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.kirki-w45 {
|
||||
width: 45%;
|
||||
}
|
||||
|
||||
.kirki-w40 {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.kirki-w33 {
|
||||
width: 33.3333%;
|
||||
}
|
||||
|
||||
.kirki-w30 {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.kirki-w25 {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.kirki-w20 {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.kirki-w15 {
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
.kirki-w10 {
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
.kirki-w5 {
|
||||
width: 5%;
|
||||
}
|
||||
|
||||
.control-section-kirki-default,
|
||||
.control-section-kirki-outer {
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.customize-control-has-small-gap {
|
||||
margin-bottom: 9px;
|
||||
}
|
||||
|
||||
.customize-control-is-gapless {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.customize-control-kirki-hidden-field {
|
||||
margin-bottom: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.customize-control-kirki,
|
||||
.customize-control-kirki * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.customize-control-kirki.kirki-group-item {
|
||||
clear: none; // Override WordPress.
|
||||
}
|
||||
|
||||
.kirki-group-item {
|
||||
float: left;
|
||||
clear: none;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
|
||||
&.kirki-group-start {
|
||||
padding-left: 0;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
&.kirki-group-break,
|
||||
&.kirki-group-end {
|
||||
padding-left: 3px;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
&.kirki-group-end {
|
||||
&::after {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 0;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.customize-control-kirki {
|
||||
position: relative;
|
||||
|
||||
.kirki-control-label,
|
||||
label.customize-control-title {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.kirki-control-form {
|
||||
position: relative;
|
||||
|
||||
textarea {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
8
functions/kirki/kirki-packages/control-base/src/rtl.scss
Normal file
8
functions/kirki/kirki-packages/control-base/src/rtl.scss
Normal file
|
@ -0,0 +1,8 @@
|
|||
.rtl {
|
||||
@media screen and (min-width: 1667px) {
|
||||
.wp-full-overlay.expanded {
|
||||
margin-right: 300px;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
1
functions/kirki/kirki-packages/control-checkbox/dist/control.css.map
vendored
Normal file
1
functions/kirki/kirki-packages/control-checkbox/dist/control.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
functions/kirki/kirki-packages/control-checkbox/dist/control.js.map
vendored
Normal file
1
functions/kirki/kirki-packages/control-checkbox/dist/control.js.map
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"mappings":"YAEA,IAAIA,EAAsB,CAEzBC,iBAAkB,SAAUC,IAC3BA,EAAUA,GAAWC,MACbC,UAAUC,GAAI,SAAU,SAAS,WACxCH,EAAQI,QAAQC,IAAKC,OAAQL,MAAOM,GAAI,kBAK3CC,GAAGC,UAAUC,mBAAmB,kBAAoBF,GAAGC,UAAUE,oBAAoBC,OAAQd,GAC7FU,GAAGC,UAAUC,mBAAmB,gBAAoBF,GAAGC,UAAUE,oBAAoBC,OAAQd,GAC7FU,GAAGC,UAAUC,mBAAmB,gBAAoBF,GAAGC,UAAUE,oBAAoBC,OAAQd","sources":["src/control.js"],"sourcesContent":["import \"./control.scss\";\n\nvar kirkiCheckboxScript = {\n\n\tinitKirkiControl: function( control ) {\n\t\tcontrol = control || this;\n\t\tcontrol.container.on( 'change', 'input', function() {\n\t\t\tcontrol.setting.set( jQuery( this ).is( ':checked' ) );\n\t\t} );\n\t}\n};\n\nwp.customize.controlConstructor['kirki-checkbox'] = wp.customize.kirkiDynamicControl.extend( kirkiCheckboxScript );\nwp.customize.controlConstructor['kirki-switch'] = wp.customize.kirkiDynamicControl.extend( kirkiCheckboxScript );\nwp.customize.controlConstructor['kirki-toggle'] = wp.customize.kirkiDynamicControl.extend( kirkiCheckboxScript );\n"],"names":["$1abc80d3e2df1201$var$kirkiCheckboxScript","initKirkiControl","control","this","container","on","setting","set","jQuery","is","wp","customize","controlConstructor","kirkiDynamicControl","extend"],"version":3,"file":"control.js.map"}
|
|
@ -6,7 +6,7 @@
|
|||
* Custom controls contains all background-related options.
|
||||
*
|
||||
* @package kirki-framework/control-checkbox
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
|
@ -3,7 +3,7 @@
|
|||
* Customizer Control: switch.
|
||||
*
|
||||
* @package kirki-framework/checkbox
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
|
@ -3,7 +3,7 @@
|
|||
* Customizer Control: toggle.
|
||||
*
|
||||
* @package kirki-framework/checkbox
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
|
@ -3,7 +3,7 @@
|
|||
* Override field methods
|
||||
*
|
||||
* @package kirki-framework/checkbox
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
|
@ -3,7 +3,7 @@
|
|||
* Override field methods
|
||||
*
|
||||
* @package kirki-framework/checkbox
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
|
@ -0,0 +1,15 @@
|
|||
import "./control.scss";
|
||||
|
||||
var kirkiCheckboxScript = {
|
||||
|
||||
initKirkiControl: function( control ) {
|
||||
control = control || this;
|
||||
control.container.on( 'change', 'input', function() {
|
||||
control.setting.set( jQuery( this ).is( ':checked' ) );
|
||||
} );
|
||||
}
|
||||
};
|
||||
|
||||
wp.customize.controlConstructor['kirki-checkbox'] = wp.customize.kirkiDynamicControl.extend( kirkiCheckboxScript );
|
||||
wp.customize.controlConstructor['kirki-switch'] = wp.customize.kirkiDynamicControl.extend( kirkiCheckboxScript );
|
||||
wp.customize.controlConstructor['kirki-toggle'] = wp.customize.kirkiDynamicControl.extend( kirkiCheckboxScript );
|
126
functions/kirki/kirki-packages/control-checkbox/src/control.scss
Normal file
126
functions/kirki/kirki-packages/control-checkbox/src/control.scss
Normal file
|
@ -0,0 +1,126 @@
|
|||
@import "scss/vars";
|
||||
|
||||
.customize-control-kirki-toggle {
|
||||
.kirki-toggle {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
|
||||
.kirki-control-label {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.kirki-control-form {
|
||||
text-align: right;
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.kirki-toggle-switch-label {
|
||||
width: 100%;
|
||||
|
||||
&::before {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
&::after {
|
||||
right: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.customize-control-kirki-switch {
|
||||
.kirki-switch {
|
||||
.kirki-toggle-switch-label {
|
||||
padding: 10px 0 12px 44px;
|
||||
text-align: left;
|
||||
|
||||
&::before {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
&::after {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.toggle-on,
|
||||
.toggle-off {
|
||||
position: relative;
|
||||
bottom: -2px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.toggle-on {
|
||||
display: none;
|
||||
color: $color-wp-blue;
|
||||
}
|
||||
|
||||
.toggle-off {
|
||||
display: inline-block;
|
||||
color: $color-dark-silver-gray;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.kirki-toggle-switch-label {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
box-sizing: border-box;
|
||||
content: "";
|
||||
position: absolute;
|
||||
margin: 0;
|
||||
outline: 0;
|
||||
top: 50%;
|
||||
transform: translate3d(0, -50%, 0);
|
||||
transition: all 350ms cubic-bezier(0, 0.95, 0.38, 0.98),
|
||||
background-color 150ms ease;
|
||||
}
|
||||
|
||||
&::before {
|
||||
width: 37px;
|
||||
height: 14px;
|
||||
// background-color: $color-silver-gray;
|
||||
background-color: $color-light-silver-gray;
|
||||
border: 1px solid $color-light-silver-gray;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
&::after {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
background-color: $color-medium-gray;
|
||||
border-radius: 50%;
|
||||
// box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
}
|
||||
|
||||
.kirki-toggle-switch-input {
|
||||
opacity: 0;
|
||||
|
||||
&:checked {
|
||||
+ .kirki-toggle-switch-label {
|
||||
&::before {
|
||||
// background-color: desaturate(lighten($color-wp-blue, 40%), 40%);
|
||||
}
|
||||
|
||||
&::after {
|
||||
background-color: $color-wp-blue;
|
||||
transform: translate3d(100%, -50%, 0);
|
||||
}
|
||||
|
||||
.toggle-on {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.toggle-off {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,100 @@
|
|||
// See https://make.wordpress.org/design/handbook/design-guide/foundations/colors/
|
||||
// Colors copied from https://codepen.io/hugobaeta/pen/RNOzoV
|
||||
|
||||
$color-wp-blue: #0073aa;
|
||||
$color-medium-blue: #00a0d2;
|
||||
$color-light-blue: #00b9eb;
|
||||
|
||||
$color-ultra-dark-gray: #191e23;
|
||||
$color-dark-gray: #23282d;
|
||||
$color-base-gray: #32373c;
|
||||
$color-dark-medium-gray: lighten($color-base-gray,15%);
|
||||
$color-dark-silver-gray: #82878c;
|
||||
$color-silver-gray: #a0a5aa;
|
||||
$color-light-silver-gray: #b4b9be;
|
||||
// $color-medium-gray: mix($color-base-gray,$color-dark-silver-gray,20%);
|
||||
$color-medium-gray: #999;
|
||||
|
||||
$color-gray-900: $color-ultra-dark-gray;
|
||||
$color-gray-800: $color-dark-gray;
|
||||
$color-gray-700: $color-base-gray;
|
||||
$color-gray-600: lighten($color-base-gray,6%);
|
||||
$color-gray-500: lighten($color-base-gray,15%);
|
||||
$color-gray-400: lighten($color-base-gray,20%);
|
||||
$color-gray-300: lighten($color-base-gray,25%);
|
||||
$color-gray-200: lighten($color-base-gray,32%);
|
||||
$color-gray-100: lighten($color-base-gray,38%);
|
||||
|
||||
$color--gray-light-900: lighten($color-base-gray,45%);
|
||||
$color--gray-light-800: lighten($color-base-gray,52%);
|
||||
$color--gray-light-700: lighten($color-base-gray,60%);
|
||||
$color--gray-light-600: lighten($color-base-gray,64%);
|
||||
$color--gray-light-500: lighten($color-base-gray,68%);
|
||||
$color--gray-light-400: lighten($color-base-gray,70%);
|
||||
$color--gray-light-300: lighten($color-base-gray,72%);
|
||||
$color--gray-light-200: lighten($color-base-gray,74%);
|
||||
$color--gray-light-100: lighten($color-base-gray,77%);
|
||||
|
||||
$color-accent-red: #dc3232;
|
||||
$color-accent-fire-orange: #d54e21;
|
||||
$color-accent-orange: #f56e28;
|
||||
$color-accent-yellow: #ffb900;
|
||||
$color-accent-green: #46b450; //old #64b450;
|
||||
$color-accent-blue: $color-medium-blue;
|
||||
$color-accent-purple: #826eb4;
|
||||
|
||||
|
||||
//Tints and Tones and Shades - Oh My!
|
||||
|
||||
$color-accent-red-shade30: shade($color-accent-red,30%);
|
||||
$color-accent-red-shade20: shade($color-accent-red,20%);
|
||||
$color-accent-red-shade10: shade($color-accent-red,10%);
|
||||
$color-accent-red-tint20: tint($color-accent-red,20%);
|
||||
$color-accent-red-tint40: tint($color-accent-red,40%);
|
||||
$color-accent-red-tint60: tint($color-accent-red,60%);
|
||||
$color-accent-red-tint90: tint($color-accent-red,90%);
|
||||
|
||||
$color-accent-fire-orange-shade10: shade($color-accent-fire-orange,10%);
|
||||
$color-accent-fire-orange-shade5: shade($color-accent-fire-orange,5%);
|
||||
$color-accent-orange-tint20: tint($color-accent-orange,20%);
|
||||
$color-accent-orange-tint40: tint($color-accent-orange,40%);
|
||||
$color-accent-orange-tint60: tint($color-accent-orange,60%);
|
||||
$color-accent-orange-tint90: tint($color-accent-orange,90%);
|
||||
|
||||
$color-accent-yellow-tonefire40: mix($color-accent-fire-orange,$color-accent-yellow,40%);
|
||||
$color-accent-yellow-tonefire20: mix($color-accent-fire-orange,$color-accent-yellow,20%);
|
||||
$color-accent-yellow-tint20: tint($color-accent-yellow,20%);
|
||||
$color-accent-yellow-tint40: tint($color-accent-yellow,40%);
|
||||
$color-accent-yellow-tint60: tint($color-accent-yellow,60%);
|
||||
$color-accent-yellow-tint90: tint($color-accent-yellow,90%);
|
||||
|
||||
$color-accent-green-toneblue5shade25: shade(mix($color-wp-blue, $color-accent-green,5%),25%);
|
||||
$color-accent-green-toneblue5shade15: shade(mix($color-wp-blue, $color-accent-green,5%),15%);
|
||||
$color-accent-green-tint20: tint($color-accent-green,20%);
|
||||
$color-accent-green-tint40: tint($color-accent-green,40%);
|
||||
$color-accent-green-tint60: tint($color-accent-green,60%);
|
||||
$color-accent-green-tint70: tint($color-accent-green,70%);
|
||||
$color-accent-green-tint90: tint($color-accent-green,90%);
|
||||
|
||||
$color-accent-wp-blue-shade10: shade($color-wp-blue,10%);
|
||||
$color-accent-blue-toneblue80: mix($color-wp-blue,$color-accent-blue,80%);
|
||||
$color-accent-blue-toneblue60: mix($color-wp-blue,$color-accent-blue,60%);
|
||||
$color-accent-blue-toneblue40: mix($color-wp-blue,$color-accent-blue,40%);
|
||||
$color-accent-blue-tint20: tint($color-accent-blue,20%);
|
||||
$color-accent-blue-tint40: tint($color-accent-blue,40%);
|
||||
$color-accent-blue-tint60: tint($color-accent-blue,60%);
|
||||
$color-accent-blue-tint75: tint($color-accent-blue,75%);
|
||||
$color-accent-blue-tint90: tint($color-accent-blue,90%);
|
||||
|
||||
$color-accent-purple-shade40: shade($color-accent-purple,40%);
|
||||
$color-accent-purple-shade20: shade($color-accent-purple,20%);
|
||||
$color-accent-purple-tint20: tint($color-accent-purple,20%);
|
||||
$color-accent-purple-tint40: tint($color-accent-purple,40%);
|
||||
$color-accent-purple-tint60: tint($color-accent-purple,60%);
|
||||
$color-accent-purple-tint90: tint($color-accent-purple,90%);
|
||||
|
||||
//Text Colors
|
||||
$textcolor-dark: rgba($color-base-gray,.8);
|
||||
$textcolor-dark-mid: rgba($color-base-gray,.5);
|
||||
$textcolor-light: rgba(#fff,.8);
|
||||
$textcolor-light-mid: rgba(#fff,.5);
|
|
@ -3,7 +3,7 @@
|
|||
* Override field methods
|
||||
*
|
||||
* @package kirki-framework/control-code
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
1
functions/kirki/kirki-packages/control-color-palette/dist/control.css.map
vendored
Normal file
1
functions/kirki/kirki-packages/control-color-palette/dist/control.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
functions/kirki/kirki-packages/control-color-palette/dist/control.js.map
vendored
Normal file
1
functions/kirki/kirki-packages/control-color-palette/dist/control.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,115 @@
|
|||
// Color palette control.
|
||||
.customize-control-kirki-color-palette,
|
||||
.customize-control-kirki-color-palette * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.customize-control-kirki-color-palette {
|
||||
.kirki-control-label {
|
||||
position: relative;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.kirki-control-form {
|
||||
position: relative;
|
||||
margin-bottom: 6px;
|
||||
|
||||
&:hover {
|
||||
.kirki-control-reset {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.kirki-control-reset {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
right: 0;
|
||||
top: 0;
|
||||
position: absolute;
|
||||
padding: 0;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
color: #50575e;
|
||||
background-color: transparent;
|
||||
border-radius: 50%;
|
||||
border-width: 0;
|
||||
opacity: 0;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s;
|
||||
z-index: 3;
|
||||
|
||||
// a11y: support tab focus.
|
||||
&:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.kirki-control-reset:hover i {
|
||||
color: #f00;
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
|
||||
.kirki-control-reset i {
|
||||
font-size: 12px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
transform: rotate(45deg);
|
||||
transition: transform 0.3s;
|
||||
}
|
||||
|
||||
.kirki-colors {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
|
||||
&.kirki-round-colors {
|
||||
.kirki-color {
|
||||
div {
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.kirki-color {
|
||||
position: relative;
|
||||
display: block;
|
||||
margin: 0 11px 11px 0;
|
||||
padding: 0;
|
||||
|
||||
&:last-child {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
> div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #dedede;
|
||||
transform: scale(1);
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s;
|
||||
|
||||
&:hover {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
}
|
||||
|
||||
&.is-selected {
|
||||
> div {
|
||||
border-color: #2271b1;
|
||||
border-width: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -6,7 +6,7 @@
|
|||
* callbacks and any usother properties we may need.
|
||||
*
|
||||
* @package kirki-framework/control-color
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
|
@ -3,7 +3,7 @@
|
|||
* Customizer Control: cropped-image.
|
||||
*
|
||||
* @package kirki-framework/control-cropped-image
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
|
@ -6,7 +6,7 @@
|
|||
* Custom controls accept raw HTML/JS.
|
||||
*
|
||||
* @package kirki-framework/control-custom
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
|
@ -3,7 +3,7 @@
|
|||
* Override field methods when used with the Kirki API.
|
||||
*
|
||||
* @package kirki-framework/control-custom
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
1
functions/kirki/kirki-packages/control-dashicons/dist/control.css.map
vendored
Normal file
1
functions/kirki/kirki-packages/control-dashicons/dist/control.css.map
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"mappings":"AAAA,mCACE,iBCCF,CDCE,yCAEE,oBAAA,CADA,iBCEJ,CDEE,kDACE,gBAAA,CACA,iBCAJ,CDEI,qDACE,eAAA,CACA,aCAN,CDGI,6DAKE,4BAAA,CAHA,cAAA,CAEA,WAAA,CAHA,WAAA,CAEA,UCCN,CDII,wDACE,YCFN,CDMU,iFACE,wBAAA,CACA,UCJZ","sources":["src/control.scss","%3Cinput%20css%20xiOUbS%3E"],"sourcesContent":[".customize-control-kirki-dashicons {\r\n position: relative;\r\n\r\n label {\r\n position: relative;\r\n display: inline-block;\r\n }\r\n\r\n .icons-wrapper {\r\n max-height: 300px;\r\n overflow-y: scroll;\r\n\r\n h4 {\r\n font-weight: 300;\r\n margin: 0.7em 0;\r\n }\r\n\r\n .dashicons {\r\n padding: 3px;\r\n font-size: 25px;\r\n width: 25px;\r\n height: 25px;\r\n border: 1px solid transparent;\r\n }\r\n\r\n input {\r\n display: none;\r\n\r\n &:checked {\r\n + label {\r\n .dashicons {\r\n border: 1px solid #3498DB;\r\n color: #000;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n}\r\n",".customize-control-kirki-dashicons {\n position: relative;\n}\n.customize-control-kirki-dashicons label {\n position: relative;\n display: inline-block;\n}\n.customize-control-kirki-dashicons .icons-wrapper {\n max-height: 300px;\n overflow-y: scroll;\n}\n.customize-control-kirki-dashicons .icons-wrapper h4 {\n font-weight: 300;\n margin: 0.7em 0;\n}\n.customize-control-kirki-dashicons .icons-wrapper .dashicons {\n padding: 3px;\n font-size: 25px;\n width: 25px;\n height: 25px;\n border: 1px solid transparent;\n}\n.customize-control-kirki-dashicons .icons-wrapper input {\n display: none;\n}\n.customize-control-kirki-dashicons .icons-wrapper input:checked + label .dashicons {\n border: 1px solid #3498DB;\n color: #000;\n}\n/*# sourceMappingURL=control.css.map */\n"],"names":[],"version":3,"file":"control.css.map"}
|
1
functions/kirki/kirki-packages/control-dashicons/dist/control.js.map
vendored
Normal file
1
functions/kirki/kirki-packages/control-dashicons/dist/control.js.map
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"mappings":"AAEAA,GAAGC,UAAUC,mBAAkB,mBAAsBF,GAAGC,UAAUE,oBAAoBC,OAAM","sources":["src/control.js"],"sourcesContent":["import \"./control.scss\";\n\nwp.customize.controlConstructor['kirki-dashicons'] = wp.customize.kirkiDynamicControl.extend( {} );\n"],"names":["wp","customize","controlConstructor","kirkiDynamicControl","extend"],"version":3,"file":"control.js.map"}
|
|
@ -3,7 +3,7 @@
|
|||
* Customizer Control: dashicons.
|
||||
*
|
||||
* @package kirki-framework/control-dashicons
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
|
@ -3,7 +3,7 @@
|
|||
* Override field methods
|
||||
*
|
||||
* @package kirki-framework/control-dashicons
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
|
@ -4,8 +4,8 @@
|
|||
*
|
||||
* @package kirki-framework/control-dashicons
|
||||
* @category Core
|
||||
* @author Ari Stathopoulos (@aristath)
|
||||
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
|
||||
* @author Themeum
|
||||
* @copyright Copyright (c) 2023, Themeum
|
||||
* @license https://opensource.org/licenses/MIT
|
||||
* @since 1.0
|
||||
*/
|
|
@ -0,0 +1,39 @@
|
|||
.customize-control-kirki-dashicons {
|
||||
position: relative;
|
||||
|
||||
label {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.icons-wrapper {
|
||||
max-height: 300px;
|
||||
overflow-y: scroll;
|
||||
|
||||
h4 {
|
||||
font-weight: 300;
|
||||
margin: 0.7em 0;
|
||||
}
|
||||
|
||||
.dashicons {
|
||||
padding: 3px;
|
||||
font-size: 25px;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
input {
|
||||
display: none;
|
||||
|
||||
&:checked {
|
||||
+ label {
|
||||
.dashicons {
|
||||
border: 1px solid #3498DB;
|
||||
color: #000;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1
functions/kirki/kirki-packages/control-date/dist/control.css.map
vendored
Normal file
1
functions/kirki/kirki-packages/control-date/dist/control.css.map
vendored
Normal file
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue