Skip to content

Commit

Permalink
fix automatically recompile style
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestkirby committed Jul 2, 2024
1 parent ca94237 commit 65f47f3
Show file tree
Hide file tree
Showing 80 changed files with 124 additions and 90 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,19 @@

- justify grid parallax option to slideshow grid element
- aria label for range slider in image comparison element
- expand to title grid width option to flipcard, slidehow grid and timeline elements
- expand content option to slideshow grid element
- height expand option to flipcard element
- text color option for transparent header to flipcard, image comparison and timeline elements

### Changed

- replace UIkit `isVisible` function by `IntersectionObserver` in counter and lottie element
- raised minimum YOOtheme Pro version to 4.3.0

### Fixed

- automatically recompile style

## 1.8.0

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Herzog Dupont Elements for YOOtheme Pro is an extension for the [YOOtheme Pro page builder](https://yootheme.com/page-builder) which adds more elements to the element library.

Copyright (C) 2021-2023 Thomas Weidlich
Copyright (C) 2021-2024 Thomas Weidlich

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -17,7 +17,7 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.

The Timeline element is based on the Grid element, Copyright (C) 2016-2023 YOOtheme GmbH. The Flipcard element is based on the Panel element, Copyright (C) 2016-2023 YOOtheme GmbH. The Slideshow Grid element is based on the Grid and Slideshow elements, Copyright (C) 2016-2023 YOOtheme GmbH.
The Timeline element is based on the Grid element, Copyright (C) 2016-2024 YOOtheme GmbH. The Flipcard element is based on the Panel element, Copyright (C) 2016-2024 YOOtheme GmbH. The Slideshow Grid element is based on the Grid and Slideshow elements, Copyright (C) 2016-2024 YOOtheme GmbH.

## Description

Expand Down
2 changes: 1 addition & 1 deletion assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion herzogdupont.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @package Herzog Dupont for YOOtheme Pro
* @author Thomas Weidlich
* @copyright Copyright (C) 2021-2023 Thomas Weidlich
* @copyright Copyright (C) 2021-2024 Thomas Weidlich
* @license GNU General Public License version 3, see LICENSE
*/

Expand Down
8 changes: 4 additions & 4 deletions herzogdupont.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!--
@package Herzog Dupont for YOOtheme Pro
@author Thomas Weidlich
@copyright Copyright (C) 2021-2023 Thomas Weidlich
@copyright Copyright (C) 2021-2024 Thomas Weidlich
@license GNU General Public License version 3, see LICENSE
-->

Expand All @@ -12,10 +12,10 @@
<author>Thomas Weidlich</author>
<authorEmail>[email protected]</authorEmail>
<authorUrl>https://herzog-dupont.de</authorUrl>
<copyright>Copyright (C) 2021-2023 Thomas Weidlich</copyright>
<copyright>Copyright (C) 2021-2024 Thomas Weidlich</copyright>
<license>GNU General Public License version 3, see LICENSE</license>
<creationDate>November 01, 2023</creationDate>
<version>1.8.0</version>
<creationDate>July 03, 2024</creationDate>
<version>1.9.0</version>
<description>PLG_SYSTEM_HERZOGDUPONT_XML_DESC</description>
<scriptfile>script.php</scriptfile>
<files>
Expand Down
2 changes: 1 addition & 1 deletion language/de-DE/de-DE.plg_system_herzogdupont.sys.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;; @package Herzog Dupont for YOOtheme Pro
;; @author Thomas Weidlich
;; @copyright Copyright (C) 2021-2023 Thomas Weidlich
;; @copyright Copyright (C) 2021-2024 Thomas Weidlich
;; @license GNU General Public License version 3 or later, see LICENSE

PLG_SYSTEM_HERZOGDUPONT="System - Herzog Dupont for YOOtheme Pro"
Expand Down
2 changes: 1 addition & 1 deletion language/en-GB/en-GB.plg_system_herzogdupont.sys.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;; @package Herzog Dupont for YOOtheme Pro
;; @author Thomas Weidlich
;; @copyright Copyright (C) 2021-2023 Thomas Weidlich
;; @copyright Copyright (C) 2021-2024 Thomas Weidlich
;; @license GNU General Public License version 3 or later, see LICENSE

PLG_SYSTEM_HERZOGDUPONT="System - Herzog Dupont for YOOtheme Pro"
Expand Down
2 changes: 1 addition & 1 deletion modules/elements/assets/less/hd-timeline.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2024 Thomas Weidlich GNU GPL v3 */

// Name: HD Timeline
// Description: Herzog Dupont Timeline Element
Expand Down
9 changes: 7 additions & 2 deletions modules/elements/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2021-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2021-2024 Thomas Weidlich GNU GPL v3 */

namespace HerzogDupont;

Expand All @@ -10,8 +10,10 @@
use YOOtheme\Builder;
use YOOtheme\Config;
use YOOtheme\Path;
use YOOtheme\Theme\Styler\StylerConfig;

include_once __DIR__ . '/src/SettingsListener.php';
include_once __DIR__ . '/src/StyleListener.php';

return [

Expand All @@ -28,7 +30,10 @@
// Add settings Panels
'customizer.init' => [
SettingsListener::class => 'initCustomizer',
]
],

// Recompile LESS style on installation
StylerConfig::class => [StyleListener::class => 'config'],

],

Expand Down
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-counter/css/hd-counter.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2024 Thomas Weidlich GNU GPL v3 */

.el-circle {
transform: rotate(-90deg);
Expand Down
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-counter/element.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2024 Thomas Weidlich GNU GPL v3 */

namespace YOOtheme;

Expand Down
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-counter/images/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-counter/images/iconSmall.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-counter/js/hd-counter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2024 Thomas Weidlich GNU GPL v3 */

function countUp(el, start, end, duration, separatorLocale) {
let range = end - start;
Expand Down
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-counter/templates/content.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2024 Thomas Weidlich GNU GPL v3 */

if ($props['number']) : ?>
<div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2024 Thomas Weidlich GNU GPL v3 */

$cx = $cy = $props['circle_radius'] * 1.1;
$circleWidth = $circleHeight = $cx * 2;
Expand Down
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-flipcard/css/hd-flipcard.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2024 Thomas Weidlich GNU GPL v3 */

/* 3D effect */
.hd-flipcard-3d {
Expand Down
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-flipcard/element.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2024 Thomas Weidlich GNU GPL v3 */

namespace YOOtheme;

Expand Down
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-flipcard/images/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-flipcard/images/iconSmall.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-flipcard/js/hd-flipcard.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2024 Thomas Weidlich GNU GPL v3 */

function setBackSize() {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2016-2023 YOOtheme GmbH, 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2016-2024 YOOtheme GmbH, 2019-2024 Thomas Weidlich GNU GPL v3 */

if ($props['image'] || $props['title'] || $props['meta'] || $props['content'] || $props['link']) : ?>
<div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2016-2023 YOOtheme GmbH, 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2016-2024 YOOtheme GmbH, 2019-2024 Thomas Weidlich GNU GPL v3 */

// Title
$title = $this->el($props['title_element'], [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2016-2023 YOOtheme GmbH, 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2016-2024 YOOtheme GmbH, 2019-2024 Thomas Weidlich GNU GPL v3 */

// Title
$title_back = $this->el($props['title_back_element'], [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2016-2023 YOOtheme GmbH, 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2016-2024 YOOtheme GmbH, 2019-2024 Thomas Weidlich GNU GPL v3 */

// Image
if ($props['image']) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2016-2023 YOOtheme GmbH, 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2016-2024 YOOtheme GmbH, 2019-2024 Thomas Weidlich GNU GPL v3 */

// Image
if ($props['image_back']) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2016-2023 YOOtheme GmbH, 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2016-2024 YOOtheme GmbH, 2019-2024 Thomas Weidlich GNU GPL v3 */

$link = $props['link_text'] ? $this->el('p', [
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2016-2023 YOOtheme GmbH, 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2016-2024 YOOtheme GmbH, 2019-2024 Thomas Weidlich GNU GPL v3 */

$link_back = $props['link_back'] ? $this->el('a', [
'href' => ['{link_back}'],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2016-2023 YOOtheme GmbH, 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2016-2024 YOOtheme GmbH, 2019-2024 Thomas Weidlich GNU GPL v3 */

// Front
// Resets
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2020-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2020-2024 Thomas Weidlich GNU GPL v3 */

.hd-image-comparison {
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-image-comparison/element.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2020-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2020-2024 Thomas Weidlich GNU GPL v3 */

namespace YOOtheme;

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2020-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2020-2024 Thomas Weidlich GNU GPL v3 */

class hdImgComp {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2020-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2020-2024 Thomas Weidlich GNU GPL v3 */

if ($props['image_before']) : ?>
<figure>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2020-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2020-2024 Thomas Weidlich GNU GPL v3 */

$uniqid = uniqid('hd-');

Expand Down
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-lottie/element.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2024 Thomas Weidlich GNU GPL v3 */

namespace YOOtheme;

Expand Down
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-lottie/images/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-lottie/images/iconSmall.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-lottie/js/hd-lottie.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2024 Thomas Weidlich GNU GPL v3 */

class hdLottie {

Expand Down
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-lottie/templates/content.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2024 Thomas Weidlich GNU GPL v3 */

if ($props['path']) : ?>
<?php
Expand Down
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-lottie/templates/template.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2019-2024 Thomas Weidlich GNU GPL v3 */

$el = $this->el('div', [

Expand Down
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-progress/element.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2018-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2018-2024 Thomas Weidlich GNU GPL v3 */

namespace YOOtheme;

Expand Down
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-progress/images/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-progress/images/iconSmall.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion modules/elements/elements/hd-progress/js/hd-progress.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2018-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2018-2024 Thomas Weidlich GNU GPL v3 */

UIkit.util.ready(() => {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/* Herzog Dupont for YOOtheme Pro Copyright (C) 2018-2023 Thomas Weidlich GNU GPL v3 */
/* Herzog Dupont for YOOtheme Pro Copyright (C) 2018-2024 Thomas Weidlich GNU GPL v3 */

if ($props['content']) : ?>
<div><?= $props['content'] ?></div>
Expand Down
Loading

0 comments on commit 65f47f3

Please sign in to comment.