jekyll-webawesome 0.21.0 → 0.22.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: 25a526401b8eb686097d354c75428eafd60dd2ea7ba35c3293ac393573c5f4bd
4
- data.tar.gz: f3d8d6533c249bffefcc0a88b60eb29167f7db38ef1cf8898624a954b4e01bf1
3
+ metadata.gz: a1cb8eddf8f4d4315a3830f3cf5703a487418ea02cd56d24763f19dd82713aa6
4
+ data.tar.gz: 479e8f0e52929d625f2e3de1120ccc692c573b041c3c1e4072add1b0ad4086ae
5
5
  SHA512:
6
- metadata.gz: cfc7e9c8b52ef424ca2aff190c153c2a8bad32f51f4f7fdb16aedf05a5b2b2b168849c1797d314a48b11c3efa65d1dc7051a95c8a18697e343400d3e30d2b8f5
7
- data.tar.gz: f9024f9d5645b18dabb0aa47a6abb5e3ebc22caba3636c6f93b9a33014dc25e20e7fc661d0e03dd38f890754bac4de6acc1fba184a562d2491a3b7dbbc7f7ee5
6
+ metadata.gz: 1d7a953b33ab397050e35fc8086515e32d5c1a2e23cc3a0731e5c9971bc9bca37ad489df671cb565442df43127f24b0c5486ae32dc97707f4d27b5745b83ef23
7
+ data.tar.gz: 8e74b834dc51e1f2129463cd53eca8eb578faaa1c35d82dc8bdd282efcbd866d5bbe7a95db77423ef5ab5e7519872bd9b264e15f1e48d084e13eaab3ac180db9
data/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@ 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
+ ## [0.22.0] - 2026-06-25
8
+
9
+ ### Added
10
+
11
+ - Copy-button tooltip mode, via markawesome 0.16.0. A `tooltip:full|copy|none` token on the copy-button line controls *when* the built-in tooltip appears, distinct from the existing `tooltip-placement`: `full` (Web Awesome's default — tooltip on hover/focus plus the brief copy-success/error feedback), `copy` (silent on hover/focus; the tooltip appears only to confirm a copy), and `none` (no tooltip in any state). Combine it with a placement, e.g. `<<<top tooltip:copy`. The token is order-independent with the other copy-button parameters; invalid values are dropped and fall back to Web Awesome's default.
12
+ - Example site's `## Copy Buttons` section gains a `### Tooltip Mode` subsection exercising `full`, `copy`, `none`, and a placement combination (`<<<top tooltip:copy`). Validated live in the browser against the examples kit (WA 3.9.0, ≥ 3.6 so `tooltip` is supported): the `tooltip` attribute reflects onto the upgraded `<wa-copy-button>`, and the rendered behavior differs as expected — `full` builds an internal `<wa-tooltip trigger="hover focus">` (opens on hover/focus, shown opening on hover in the live DOM), `copy` builds `<wa-tooltip trigger="manual">` (silent on hover/focus, copy-feedback only), `none` renders no internal tooltip at all (none on hover, confirmed live), and `<<<top tooltip:copy` carries both `tooltip-placement="top"` and `tooltip="copy"`.
13
+
14
+ ### Changed
15
+
16
+ - Updated `markawesome` dependency to `~> 0.16`.
17
+
7
18
  ## [0.21.0] - 2026-06-25
8
19
 
9
20
  ### Added
data/README.md CHANGED
@@ -20,7 +20,7 @@ This plugin focuses on the most commonly used Web Awesome components for Jekyll
20
20
  | **Card** | `===appearance? orientation?` | `:::wa-card appearance? orientation?` | `<wa-card appearance="filled" orientation="horizontal">content</wa-card>` |
21
21
  | **Carousel** | `~~~~~~` | `:::wa-carousel` | `<wa-carousel>` with carousel items |
22
22
  | **Comparison** | `\|\|\|` or `\|\|\|25` | `:::wa-comparison` or `:::wa-comparison 25` | `<wa-comparison>` with before/after slots |
23
- | **Copy Button** | `<<<placement? disabled? duration? labels?` | `:::wa-copy-button attributes?` | `<wa-copy-button value="content" tooltip-placement="right" disabled>` |
23
+ | **Copy Button** | `<<<placement? tooltip:mode? disabled? duration? labels?` | `:::wa-copy-button attributes?` | `<wa-copy-button value="content" tooltip-placement="right" tooltip="copy" disabled>` |
24
24
  | **Details** | `^^^appearance? icon-placement?` | `:::wa-details appearance? icon-placement?` | `<wa-details appearance="..." icon-placement="...">content</wa-details>` |
25
25
  | **Dialog** | `???params?` | `:::wa-dialog params?` | `<wa-dialog>` with trigger button and content |
26
26
  | **Icon** | `$$$icon-name` | `:::wa-icon name` | `<wa-icon name="icon-name" variant="solid"></wa-icon>` |
@@ -722,6 +722,27 @@ Copy with tooltip on left
722
722
  <<<
723
723
  ```
724
724
 
725
+ **Tooltip Mode:**
726
+
727
+ Control *when* the built-in tooltip appears (`full`, `copy`, or `none`):
728
+ ```markdown
729
+ <<<tooltip:full
730
+ Full (default): tooltip on hover/focus plus copy feedback
731
+ <<<
732
+
733
+ <<<tooltip:copy
734
+ Copy: silent on hover/focus; tooltip only on copy feedback
735
+ <<<
736
+
737
+ <<<tooltip:none
738
+ None: no tooltip in any state
739
+ <<<
740
+
741
+ <<<top tooltip:copy
742
+ Combined with a tooltip placement
743
+ <<<
744
+ ```
745
+
725
746
  **Custom Labels:**
726
747
  ```markdown
727
748
  <<<copy-label="Click to copy" success-label="Copied!" error-label="Failed"
@@ -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.15'
36
+ spec.add_dependency 'markawesome', '~> 0.16'
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.21.0'
5
+ VERSION = '0.22.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.21.0
4
+ version: 0.22.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.15'
38
+ version: '0.16'
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.15'
45
+ version: '0.16'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: rake
48
48
  requirement: !ruby/object:Gem::Requirement