=== Pagewick ===
Contributors: pagewick
Requires at least: 6.8
Requires PHP: 8.0
Stable tag: 0.11.0-beta.9
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

An independent visual page builder. This is an early working prototype.

== Description ==
Create responsive WordPress pages using nested layouts and a designed block library covering text, media, galleries, navigation, pricing, collections, search and forms. Twelve column presets support equal and unequal widths and can nest inside other structures. The editor includes a structure panel, responsive settings, undo/redo, private recovery copies, saved versions, WordPress media selection, drafts and publishing.

This beta adds Theme Builder templates, page layouts, shared colours and typography, heading defaults, dynamic content, single/archive templates, real collections, form submissions and linked reusable components. General-purpose custom content types and bounded responsive design rules extend native authoring. It remains a beta rather than a complete professional page-building suite. Commerce, migration and advanced popup targeting are not yet included. The HTTPS release channel integrates with the WordPress Plugins screen and verifies every update package before installation.

== Installation ==
1. Use a local or staging WordPress site with WordPress 6.8+ and PHP 8.0+.
2. In Plugins > Add New Plugin > Upload Plugin, choose the ZIP and activate Pagewick.
3. Open Pagewick in the WordPress admin sidebar.
4. Create a blank page. Add a layout or use the editable starter.
5. Add blocks, adjust settings, then Save draft and Preview.
6. Publish when ready. Publishing makes the page public.

Existing WordPress content is not imported. Saving on a page with existing content asks before replacing its displayed content. The original post_content is retained in _pagewick_original_content metadata. Use a blank page for initial testing.

== Frequently Asked Questions ==
= Does it require a paid account? =
No account, subscription or license server is used by this prototype.

= How do responsive styles work? =
Desktop is the base. Tablet overrides apply up to 1024px; mobile overrides up to 767px. Clear a field to inherit. Style adds directly searchable controls and named width ranges, including wide screens; later matching rules win and block CSS stays last. Desktop preview fills the available workspace by default. Choose fixed desktop widths of 1200px, 1440px or 1920px, tablet at 820px, or mobile at 390px for viewport checks. Fixed previews scale to fit; preview choices stay in this browser and do not change the saved page layout.

= What happens if I deactivate it? =
Pagewick retains its documents and original-content backups. Saved semantic content remains in the WordPress page, but builder styling, blank canvas template and editing require the plugin. Uninstall does not erase content or metadata.

= Is the displayed page my theme's layout? =
The editor previews the Pagewick content. Page settings offers Theme layout, Pagewick layout and Blank canvas, with independent header/footer visibility and content width. Theme layout keeps the active theme frame. Pagewick layout uses matching enabled Pagewick header/footer templates. Blank canvas shows content alone. Preview is authoritative for the final theme integration.

= Are changes saved automatically? =
Pagewick keeps private recovery copies after idle edits, but recovery never changes the live page. Use Save draft/Save changes or Ctrl/Command S to save explicitly. History lists up to twenty saved versions and five recovery sessions for your account. Preview shows the saved document only. Editing a published page and saving changes updates the public page immediately.

= Can I reuse a layout? =
Save a selected block or layout as a reusable component when every linked instance should follow one master. Components can be inserted by click or drag, detached into independent content and managed with usage protection and saved versions. For portable copies, export a whole document or selected section as JSON. Imports are validated and undoable before reload; media URLs still point to the original files.

= What are the media and layout limits? =
Audio/video use direct media file URLs. Streaming embeds are not included. Gallery supports image carousels and optional full-screen viewing; Carousel holds editable nested content. Pages support up to 500 blocks and 12 nested levels; galleries support up to 50 images and content carousels up to 50 slides. Presets stack on mobile by default; responsive proportions can be changed in Style.

= Can I add custom CSS? =
Select any block and open CSS. Start each rule with selector to target that block; descendant/child selectors, hover/focus states, before/after and min/max-width media queries are supported. Valid rules preview immediately and save with the document. Maximum 8 KB per block. Global/sibling selectors, URLs, imports, font faces, keyframes and nested CSS beyond width media queries are excluded. Custom CSS overrides visual settings.

= Where are the design options? =
Select a block and open Style. The visual composition picker offers several treatments for each visible content block; Space has four height presets. Existing simpler variants remain available. Bodoni Moda and Manrope are self-hosted. Administrators can register local TTF, OTF, WOFF and WOFF2 font faces in Pagewick > Settings > Font catalogue and select them in shared typography or block styles; fonts do not require an external service.

= Where do I edit site-wide fonts and colours? =
Open Pagewick > Settings for shared colours, heading colour defaults, typography presets and uploaded font faces. From an editor, choose Edit site settings in Page settings to open the same controls in a modal. Save shared styles applies the values to linked blocks across the site; saving the page is separate. Closing the modal retains unsaved shared-style previews. Registering a font saves that face immediately.

= Which icon libraries are included? =
The Icon block includes Lucide, Bootstrap Icons and Heroicons in outline and solid styles: over 4,800 selectable entries, plus Pagewick originals. Search by name (or Lucide tags), filter by library and preview before applying. Icons and licences are bundled locally; no icon-service account or CDN is needed. Existing saved icons and their designs remain unchanged. See THIRD-PARTY.md for attribution.

= Can I change the panel layout? =
Drag the settings panel edge to resize it, or focus that edge and use Left/Right arrow keys. Home restores 320px. Use the toolbar Settings control to hide/show the panel. The bottom shelf supports compact, expanded and hidden states. Preferences stay in this browser. Page settings includes Reset panel layout. Small screens use Blocks, Canvas and Settings views independently of desktop panel preferences.

= Can I animate a block? =
Open its Motion tab. Choose from sixteen entrances, four hover/focus responses, whole-block or word/line text choreography, and content sequences suited to layouts, steps, galleries, rules, gauges and panels. Configure duration, delay, easing, travel and intensity; replay in the canvas. Mobile and viewport replay are optional. New blocks start still, including Tally. Space is invisible and has no motion. Reduced-motion preferences override decorative effects. Motion's free MIT core is bundled locally; no account or remote service is used.

= How do I create a slideshow? =
Choose Gallery and select Panoramic stage, Caption folio or Contact sheet in Style. Content offers proportions, first slide, wrap, thumbnails and optional autoplay. Every gallery design can open images in the full-screen viewer. Add Carousel for slides with nested blocks; choose Open stage, Editorial frame or Card rail, then add/reorder slides and edit their content. Autoplay starts off, pauses on interaction and respects reduced motion. The editor does not start it automatically. Keyboard, touch and mouse navigation are included; content remains readable without JavaScript.

= How do pricing and countdown blocks work? =
Pricing includes Editorial folio, Spotlight plan and Split proposal. Enter a price, currency, period, up to 50 features and an action link. Optionally enable separate monthly/yearly prices and links. Prices are authored display text, not calculated discounts or payments. A blank yearly link uses the main link; without JavaScript both offers remain readable.

Price Menu displays up to 50 named items with descriptions and prices. Add, reorder and remove items in Content. Choose Service ledger, Service panels or Compact rate sheet in Style.

Countdown counts to a fixed date/time with an explicit UTC offset. Choose the offset in effect at the event, including daylight saving. All visitors use the same endpoint; accuracy depends on their device clock. Show/hide days and seconds. On completion show an authored message with or without zero digits. New countdowns have no preset deadline. Date line, Departure board and Event banner are available. Without JavaScript the deadline remains readable. Supported years are 2000–2099, with quarter-hour offsets up to ±14:00. Motion remains optional and off by default.

All three blocks have shared icon controls, responsive settings and scoped CSS.

= How do I build navigation? =
Add Navigation for a site menu or Link Menu for grouped footer/sidebar links. Each offers three designs in Style. Content supports custom links or a classic WordPress menu, up to 100 links across three levels. Add descriptions, icons and new-tab settings to custom links; reorder or choose a parent. Field edits commit when focus leaves the field. Parent destinations remain links beside separate disclosure buttons.

Navigation can collapse below a chosen block or page viewport width, with a configurable threshold from 0 to 2400 pixels. Custom links can also open reusable content in labelled dialogs. Keyboard controls, Escape/focus return, current-page marking and visible no-script links are included. WordPress menu sources update on render; Refresh menus updates the editor. Switching sources retains custom links. Pagewick Theme Builder can place Navigation in a header template. Block-theme Navigation entities and arbitrary nested-content mega menus remain future work.

== Changelog ==

= 0.11.0-beta.9 =
Adds precise compact-navigation geometry: a panel top gap alongside percentage positioning, independent panel/link padding edges, compact-list and divider controls, and featured-action minimum height and top spacing. Per-edge settings override shorthands independently of saved field order.

Adds an editable dialog label above the heading, accessible icon-only corner Close, a shared-library footer icon with before/after placement, responsive surface/button padding edges, heading margins and line height, backdrop colour and blur, and separate Close/Done hover and focus settings. Corrects canvas-only dialog preview height while retaining native dismissal, focus return and readable no-script content.

Adds statistic icon-row self-alignment, independent row/column gaps and bounded outline stroke width. Native shadow controls now support explicit None. Preserves existing omitted choices, authored responsive ranges, scoped CSS and PHP/editor validation parity.

= 0.11.0-beta.8 =
Rebuilds the block inspector with direct visual controls, setting search, width-range selection, clear inheritance/reset, background/overlay media settings and visible block actions. Replaces the shallow Structure shelf with an optional searchable full-height tree and a dedicated mobile view.

Improves existing-block dragging with a selected canvas move handle, labelled overlay drop targets that do not alter grid/flex geometry, sibling/inside placement, tree handles and autoscroll. Retains nested content, Undo and explicit save/reload.

Adds native statistic cell/artwork and caption geometry; disclosure summary/icon/state styling and optional Plus-to-cross rotation; navigation root/brand spacing, icon order, featured padding precedence, toggle borders and positioned compact panels; named-range focal points, spread shadows, inline/baseline modes, hover underline controls and ordered dialogs with independently styled Close/Done actions. Existing saved choices and scoped CSS remain compatible.


= 0.11.0-beta.7 =
Adds general-purpose custom content types with editable names, URL slugs, bundled menu icons, public/archive/search settings, topic groups and scalar custom fields. Entries work with Pagewick editing, collections, dynamic content and single/archive templates. New types start blank without a preset; fixes the WordPress sidebar icon and clarifies locally bundled, system and uploaded site fonts.

Adds native responsive design rules with authored width ranges, fluid sizing and shared typography, mixed grid tracks, advanced typography, multi-stop alpha gradients, independent media/overlay regions, edge borders, focus styling and internal component-part controls. Preserves saved designs and authored CSS, with inheritance and adjacent possible-override hints.

Adds sanitized custom SVG statistic artwork with outlined/fractional fill, configurable statistic composition, portalled dialog styling and dismiss labels, decorative action rows without duplicate keyboard stops, immediate/smooth fragment scrolling and featured navigation items. Retains accessible modal/menu controls and reduced-motion behaviour.

= 0.11.0-beta.6 =
Desktop preview now fills the available workspace by default, with optional fixed desktop, tablet and mobile checks stored as browser preferences. Moves site-wide colours, heading defaults, typography and fonts to Pagewick Settings, with an editor modal shortcut and shared-style save controls kept visible while scrolling.

Repairs the font catalogue controls with accurate upload/refresh progress, success and error feedback, retained files after failed uploads and cleared inputs after successful registration. Preserves separate site-wide/page saves, draft previews, revision checks and administrator permissions. Modal focus and keyboard controls protect the underlying page, and its header remains available during mobile field focus.

= 0.11.0-beta.5 =
Fixes stale update discovery after manual plugin replacement and makes WordPress Check again refresh the Pagewick manifest. Restores structural custom CSS spacing in the idle canvas and transparent whole-card dialog actions. Places block search beside category filters and allows scrolling the page from the surrounding canvas workspace.

Adds responsive hover/focus colour controls, media brightness, contrast, saturation, grayscale and blur, plus configurable action icon movement. Adds an icon-statistic Tally design with authored values, units, totals and selectable library icons. Renames the block-management section to Block tools and prevents unchanged numeric fields from adding Undo entries. New visual effects remain optional, with keyboard focus and reduced-motion support.

= 0.11.0-beta.4 =
Adds a validated uploaded-font catalogue shared by the editor and frontend; semantic inline bold, italic, underline and colour formatting; unique section anchors with keyboard focus; reusable-content dialog actions for buttons, images, layouts and custom menu links; image destinations and whole-card actions with independent nested controls. Decorative background videos defer loading until visibility and playback preferences permit it. Navigation supports configurable viewport/container thresholds. Repeated dialog content scopes nested controls and resolves forms against the published saved host, preserving stale-form feedback.

= 0.11.0-beta.3 =
Adds responsive Layout image and video backgrounds with poster fallbacks, focal positioning, fit controls, safe playback choices and solid, directional, two-colour linear and radial overlays. Adds responsive flow-preserving visual offsets, bounded stack levels and explicit overflow controls for composed layered sections. Future Pagewick update checks use the product-specific manifest while the compatibility endpoint remains available to existing beta installations.

= 0.11.0-beta.2 =
Adds a native WordPress update channel with plugin details, strict HTTPS manifest validation, six-hour cache isolation and SHA-256 verification before an update ZIP can be installed. The public release host remains configurable so it can move without changing saved Pagewick documents.

= 0.11.0-beta.1 =
First current beta package. Adds header/footer, single and archive templates with explicit display rules; Theme, Pagewick and Blank page layouts; shared colour/typography settings; dynamic content; Post Collection, Archive Heading, Search and Form blocks; private submissions; autosave recovery and twenty saved versions; and linked reusable components with usage protection, version restore and cycle validation. Includes all editor, frontend, PHP and licence assets required by these local milestones.

= 0.10.1 =
Navigation opens submenus on desktop parent-link hover and closes them after pointer exit, retaining keyboard focus and click/touch controls. Nested branches reset on close. Editor dropdowns initialise before paint. Link Menu retains its expanded directory behaviour.

= 0.10.0 =
Navigation and Link Menu add six compositions, three-level custom links, per-link library icons, descriptions and optional new tabs. Read existing classic WordPress menus as a live source. Separate parent links and disclosure controls, compact menus based on block width, keyboard focus and no-script content. Shared Motion and scoped CSS retained.
= 0.9.0 =
Pricing with optional monthly/yearly choices, Price Menu with reorderable items, and Countdown with a fixed-offset deadline and completion state. Nine compositions, shared icons, optional Motion and scoped CSS. Keyboard controls, exact deadline calculations and readable no-script content retained.

= 0.8.0 =
Three image carousel compositions and a nested-content Carousel with three designs. Optional gallery viewer with captions, thumbnails, mobile swipe, keyboard controls and focus return. Opt-in autoplay, wrap, initial slide, aspect ratios and thumbnail options; shared icons, scoped CSS, Motion and readable no-script content retained.

= 0.7.0 =
Optional Motion-powered entrances and hover responses across all visible blocks. Content sequences, animated rules and gauges, panel reveals, count preview, mobile controls and bounded viewport replay. New animations are off by default. Reduced-motion, no-script visibility and authored styles are preserved.

= 0.6.0 =
Chapters with nested tabs, linked Fold Group panels, animated Tally figures and Gauge progress indicators. Twelve new compositions with icons, responsive settings and custom CSS. Keyboard navigation, reduced-motion support and no-script content retained.

= 0.5.0 =
Shared icon settings for buttons, steps/lists, headings, callouts, quotations, rules, Reveal, galleries and audio/video controls. Per-item list overrides, before/after button placement and optional icon removal preserve existing designs.

= 0.4.0 =
* Renamed Symbol to Icon and added locally bundled Lucide, Bootstrap Icons and Heroicons with searchable, paginated selection and retained licence notices.
* Added resizable/hideable settings, a compact/collapsible shelf, browser-local panel preferences and a stable shared status bar.
* Preserved existing icons, design treatments, scoped CSS and editor/published SVG styling parity.

= 0.3.0 =
* Redesigned the editor around a wider canvas, bottom insertion shelf and focused right-hand inspector.
* Added visual composition choices across the entire library, including Screening/Feature video, Record sleeve/Broadcast audio, Folio/Portrait quotations and Mosaic/Filmstrip galleries.
* Added per-block scoped custom CSS with live preview, syntax feedback, responsive width queries and persistence.
* Added self-hosted typefaces, image/gallery captions, real filmstrip navigation and responsive spacing presets.

= 0.2.2 =
* Audited all fifteen blocks and added saved design treatments across the library.
* Smooth, frame-driven media progress with precise seeking and paused/hidden cleanup.
* Designed Video controls with fullscreen and no-JavaScript native fallback.
* Larger media touch targets and clearer Reveal state indicators.

= 0.2.1 =
* Custom Audio player with Studio, Paper and Compact designs, real progress display, seeking, volume, mute and speed controls.
* Editorial, Spotlight and Minimal Quotation designs with optional portrait and author/source details.
* Per-widget accent colours and responsive styling; native audio fallback without JavaScript.

= 0.2.0 =
* Twelve nestable column presets with responsive proportions and mobile stacking.
* Gallery, List, Quotation, Callout, Video, Audio and Reveal blocks.
* Individual edges, row/column gaps and flex positioning controls.
* Validated page and section import/export with fresh section IDs and undo.
* Stable structure-tree drag targets and insertion indicators.

= 0.1.0 =
* Initial visual editor preview with eight blocks and server-rendered output.

== Source ==
The source/ directory contains the editor source and a build script. See source/README.md to rebuild. React, React DOM and Motion are used under the MIT license. Bodoni Moda and Manrope are bundled under the SIL Open Font License. See THIRD-PARTY-NOTICES.txt and assets/fonts/ for full notices.
