=== Sityn Enhancer for Bricks Builder ===
Contributors: aerqzs
Tags: bricks, builder, bem, css, enhancer
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.2
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A modular enhancer addon for Bricks Builder — adds powerful productivity tools to the builder interface.

== Description ==

Sityn Enhancer for Bricks Builder supercharges the Bricks Builder experience with a massive suite of workflow features, custom conditions, dynamic tags, and interaction enhancements:

= Productivity & Workflow =
* **BEM Class Generator:** One-click BEM class generation and application. Select a parent element and instantly generate properly structured Block__Element classes for all children.
* **Auto Complete var():** Automatically wraps CSS custom properties (--name) in var() when pressing Enter or semicolon in the builder.
* **Auto Complete calc():** Automatically wraps arithmetic expressions in calc() dynamically.

= Advanced Conditions =
Unlock new possibilities for element visibility with new Bricks Conditions:
* Archive Types & Category Archives
* Search Results pages
* Post Authored by the current logged-in user
* Author has published CPT entries
* Body Classes include or exclude specific text
* Current Day, Month, and Year checks
* CPT has at least one published entry

= Dynamic Tags =
Inject powerful data directly into your elements:
* **User Data:** IP Address, Browser, OS, Device Type, Session Duration, Visit Count.
* **Post Data:** Reading Time estimation, Time Ago formatting, Post View Count.
* **String Manipulation:** Uppercase, Lowercase, Truncate.
* **Utility Data:** Current URL, URL Parameters, Random Numbers, Random Strings, WP Version.
* **Media:** Image Alt Text, Image Caption, Media File Size.

= Custom Actions & Triggers (Interactions) =
Expands the native Bricks Interactions API with custom javascript triggers and actions:
* **Triggers:** Scroll offset, Resize, Tab Active, Double Click, Context Menu, Focus Within, Theme Change (dark/light), Checkbox Checked/Unchecked, Paste, Network Online/Offline, Before Print.
* **Actions:** Copy to Clipboard, Media (Play/Pause/Mute Video/Audio), Submit Form, Focus Element, Disable Element, Navigate Back/Forward, Print Page, Reload Page, Remove Element, Toggle Password Visibility.

Each feature can be independently enabled or disabled from the Sityn Enhancer for Bricks Builder settings page to maintain optimal performance.

== Installation ==

1. Upload the `sityn-enhancer` folder to `wp-content/plugins/`.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Ensure **Bricks Builder** is installed and active.
4. Navigate to **Sityn Enhancer for Bricks Builder** in the admin menu to configure feature toggles.

== Frequently Asked Questions ==

= Does this plugin require Bricks Builder? =

Yes. Sityn Enhancer for Bricks Builder is an addon specifically designed for Bricks Builder and will not function without it.

= Can I enable only specific features? =

Yes. Each feature has an independent toggle on the Sityn Enhancer for Bricks Builder settings page.

== Changelog ==

= 1.2 =
* Added a toggle to copy styles for BEM classes.
* Added enable all and disable all toggles to the plugin admin page.
* Fixed Auto Complete var() incorrectly wrapping classes in var().

= 1.1.2 =
* HOTFIX: Fixed a fatal error caused by mixed-case file paths when updating via FTP, specifically affecting the Conditions feature on case-sensitive Linux servers.

= 1.1.1 =
* HOTFIX: Fixed a fatal error caused by a case-sensitive file path autoloader resolution issue strictly on Unix server environments (e.g. Settings_Page class).

= 1.1.0 =
* HUGE UPDATE: Added comprehensive Condition rules (Archives, Authors, Dates, Body Classes).
* HUGE UPDATE: Added 20+ Dynamic Tags for User Data, Post Reading Time, String Manipulations, and more.
* HUGE UPDATE: Added 11+ custom Bricks Interaction Triggers (Scroll, Resize, Network, Paste, Double Click).
* HUGE UPDATE: Added 10+ custom Bricks Interaction Actions (Copy Content, Media Controls, Tabs/Focus Management).
* Fixed text-domain consistency and achieved 100% WPCS standards compliance.

= 1.0.0 =
* Initial release.
* BEM Class Generator with re-entry mode support and skip toggle.
* Auto Complete var() for CSS custom properties.
* Auto Complete calc() for arithmetic expressions.
* CodeMirror integration for Custom CSS editor.

== Upgrade Notice ==

= 1.1.0 =
Massive expansion pack including Custom Conditions, Interaction Triggers/Actions, and Dynamic Tags! Update to supercharge your Bricks Builder setup.

= 1.0.0 =
Initial release of Sityn Enhancer for Bricks Builder.
