jekyll-webawesome 0.22.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1cb8eddf8f4d4315a3830f3cf5703a487418ea02cd56d24763f19dd82713aa6
4
- data.tar.gz: 479e8f0e52929d625f2e3de1120ccc692c573b041c3c1e4072add1b0ad4086ae
3
+ metadata.gz: a331c1a80dbf2259aef8d3aac16a3ab51a753497b46c84f3745d178cafe00ec7
4
+ data.tar.gz: 56d23f826fb42a58aa56b52b9711e0aa22eafa42887089517de69284d90bc29b
5
5
  SHA512:
6
- metadata.gz: 1d7a953b33ab397050e35fc8086515e32d5c1a2e23cc3a0731e5c9971bc9bca37ad489df671cb565442df43127f24b0c5486ae32dc97707f4d27b5745b83ef23
7
- data.tar.gz: 8e74b834dc51e1f2129463cd53eca8eb578faaa1c35d82dc8bdd282efcbd866d5bbe7a95db77423ef5ab5e7519872bd9b264e15f1e48d084e13eaab3ac180db9
6
+ metadata.gz: bf3f137678380fe957df5308a6ce9688ff673343b92dd1dc7e2601782d8d2778bef2d74a95889c77c81b6515c9af8c4b076b42c621ea1e88fa31e403f23f4074
7
+ data.tar.gz: 92b1ddc31ab880b11ef092f1e447e5bc9957003f961adefad8d10f4685ab9f3045abc83606f733bea87e998ba80292bf5f1a4688701f9763c3352ee993cd8ec9
data/CHANGELOG.md CHANGED
@@ -4,6 +4,36 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
6
6
 
7
+ ## [Unreleased]
8
+
9
+ ## [0.24.0] - 2026-07-04
10
+
11
+ ### Added
12
+
13
+ - Example site's new `## Random Content` section exercises markawesome's new `RandomContentTransformer` — Web Awesome's experimental `<wa-random-content>`, which shows one or more of its options at random (optionally rotating) and hides the rest, with zero authored JavaScript. Six cases: a basic tips rotator, `mode:sequence`, `items:2` (two options shown at once), `autoplay autoplay-interval:2000 animation:fade`, an option wrapping a nested `:::success`/`:::warning` callout (proving random-content runs **last** and wraps already-transformed components), and the `:::wa-random-content` block form. Requires the unreleased `markawesome` (the example site already points at the local `../markawesome` working copy); the published gem dependency stays `~> 0.17`. Validated live in the browser against WA 3.10.0: all six `<wa-random-content>` elements upgrade (`:defined`, shadow DOM present), each shows the configured number of `<div>` options (`items:2` shows two, the rest show one), the nested callout renders inside its option, and there are zero Web Awesome console errors.
14
+ - Example site's new `## Tree` section exercises markawesome's new `TreeTransformer` — a `<wa-tree>` / `<wa-tree-item>` hierarchy rendered from a nested Markdown bullet list (the `||||||` fence). Two cases: a ZIP-contents tree (`open` + folder/file icons) and a deeply nested Peppol BIS 3.0 invoice element structure (proving colon-bearing labels like `cbc:ID` render verbatim). Requires the unreleased `markawesome` (the example site already points at the local `../markawesome` working copy); the published gem dependency stays `~> 0.17`.
15
+
16
+ ### Changed
17
+
18
+ - Example site now loads Web Awesome via the **pinned 3.10.0 CDN** (`ka-p.webawesome.com/kit/…/webawesome@3.10.0/…` stylesheets + autoloader in `_layouts/default.html`) instead of the auto-updating kit script (`kit.webawesome.com/43e2fc18755d4267.js`). Pinning the version makes the rendered output deterministic and visual validation reproducible — the kit URL hid which WA version it served, so the version drifted silently. The tailspin theme / vogue palette / indigo brand and the FA Pro kit code are now set explicitly on `<html>`; the example CSS is unchanged so the appearance is preserved. Validated live in the browser against WA 3.10.0: all 695 `wa-*` elements on the example page upgrade (`:defined`) and render with correct dimensions, only `webawesome@3.10.0` assets load, and the console is clean.
19
+
20
+ ## [0.23.0] - 2026-06-26
21
+
22
+ ### Added
23
+
24
+ - Video and video playlist embedding, via markawesome's new `VideoTransformer`. A `;;;` fence wraps a single `<wa-video>` and a `;;;;;;` container wraps bare `;;;` items into a `<wa-video-playlist>` (block alternatives `:::wa-video` / `:::wa-video-playlist`). The body's first markdown link supplies the video `title`/`src` and the first image supplies the `poster`; tokens cover `controls:none|standard|full`, `preload:auto|metadata|none`, and the `autoplay`/`autoplay-muted`/`autoplay-on-visible`/`loop`/`muted` flags. The playlist's `controls` preset is forwarded to every child. Both components are Web Awesome **Pro** (experimental).
25
+ - Example site's new `## Video` section exercises a single video (`controls:full` + poster), a `controls:standard` variant with `autoplay-muted`/`loop`, the `:::wa-video` alternative, a two-item `;;;;;;` playlist, and a `:::wa-video-playlist` alternative — all driven by a compressed 720p H.264 `test_video.mp4` + JPEG poster. Validated live in the browser against the examples kit (Pro): the `<wa-video>`/`<wa-video-playlist>` elements upgrade, `getVideoElement()` returns the native `<video>`, `src`/`poster`/`controls` reflect, the poster overlay and full controls render, and the playlist shows its item sidebar with `controls` forwarded to each child.
26
+ - Declarative timestamps, via markawesome's new `DateTransformer`. The inline `[[[ <date> <tokens> ]]]` form renders an absolute, locale-formatted date (`<wa-format-date>`); a leading `relative` token renders a "3 days ago"-style phrase (`<wa-relative-time>`). A block alternative (`:::wa-format-date` / `:::wa-relative-time` … `:::`) is also accepted. The date value is baked into the Markdown at build time; the browser formats it via `Intl.DateTimeFormat` / `Intl.RelativeTimeFormat` with no JavaScript wiring or data fetching — ideal for blog post dates, changelog stamps, and "last updated".
27
+ - `style:`/`time:` presets (`short|medium|long|full`), granular overrides (`weekday`, `month`, `day`, `hour`, … plus `hour-format`, `time-zone-name`, `time-zone`), and `lang:`/`locale:` are supported; a bare date defaults to `style:long`. Relative timestamps take `format:`, `numeric:`, and a `sync` flag for live ticking. Omitting the date renders the viewer's current time.
28
+ - Example site's new `## Dates / Timestamps` section exercises the style/time presets, a datetime with `time:` + `hour-format:24`, French/German locales, a granular override, relative times (incl. `format:short` and live `sync`), both block forms, and a no-date "current time" stamp. Validated live in the browser against the examples kit (WA 3.9.0): the components upgrade and render real formatted text in their shadow DOM — e.g. `style:full` → "Friday, June 26, 2026", `lang:fr` → "vendredi 26 juin 2026", `lang:de` → "Freitag, 26. Juni 2026", `hour-format:24` → "Jun 26, 2026, 17:30", relative → "last week" / "4 wk. ago", live `sync` → "44 minutes ago", and a no-date `time:medium` → the current "12:43:56 PM". For reference, a bare `<wa-format-date>` with no format attributes renders WA's terse numeric default ("6/26/2026"), which is why a bare date here defaults to the more readable `style:long`.
29
+ - Like `<wa-icon>`, both components render generated text into shadow DOM with no light-DOM fallback — with Web Awesome's JS disabled they show nothing (the same static-site caveat noted for `<wa-tag with-remove>`).
30
+ - Aligned placements + `skidding` for popovers and tooltips, and a per-tab `disabled` flag, via markawesome's expanded `PopoverTransformer`/`TooltipTransformer`/`TabsTransformer`. `<wa-popover>`/`<wa-tooltip>` now accept all twelve Web Awesome placements (the four primary plus the eight aligned variants `top-start`, `bottom-end`, …) and a `skidding:N` token that offsets the floating element *along* its target (negative values allowed), complementing the existing `distance:N` (offset *away*). A leading `disabled` token on a `+++ ` tab item header (e.g. `+++ disabled Coming soon`) renders the tab but prevents selection, mirroring the accordion item flags.
31
+ - Example site adds cases for each: an "Aligned Placement and Skidding" subsection in both `## Popovers` and `## Tooltips`, and a "Disabled Tab" subsection in `## Tab Groups`. Validated live in the browser against the examples kit (WA 3.9.0): the components upgrade and the attributes reflect and take effect in the live DOM — `placement="bottom-start"` anchors the popover to its trigger's start edge and `bottom-end` to the end edge; toggling `skidding` from 0 to 12 shifts the rendered popup exactly 12px along the trigger axis; the tooltip parses a negative `skidding="-4"`; and `<wa-tab disabled>` renders `aria-disabled="true"` with `tabindex="-1"`, stays non-activatable on click, and leaves the first panel showing.
32
+
33
+ ### Changed
34
+
35
+ - Updated `markawesome` dependency to `~> 0.17`.
36
+
7
37
  ## [0.22.0] - 2026-06-25
8
38
 
9
39
  ### Added
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
33
33
  spec.require_paths = ['lib']
34
34
 
35
35
  spec.add_dependency 'jekyll', '>= 3.7', '< 5.0'
36
- spec.add_dependency 'markawesome', '~> 0.16'
36
+ spec.add_dependency 'markawesome', '~> 0.17'
37
37
 
38
38
  spec.add_development_dependency 'rake', '~> 13.0'
39
39
  spec.add_development_dependency 'rspec', '~> 3.0'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module WebAwesome
5
- VERSION = '0.22.0'
5
+ VERSION = '0.24.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-webawesome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janne Waren
@@ -35,14 +35,14 @@ dependencies:
35
35
  requirements:
36
36
  - - "~>"
37
37
  - !ruby/object:Gem::Version
38
- version: '0.16'
38
+ version: '0.17'
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
42
42
  requirements:
43
43
  - - "~>"
44
44
  - !ruby/object:Gem::Version
45
- version: '0.16'
45
+ version: '0.17'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: rake
48
48
  requirement: !ruby/object:Gem::Requirement