jekyll-webawesome 0.12.0 → 0.13.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: aed77f29e5a3ab5d74e76d237ffdce23b1984c408c0753bbc3b73944a1d3698a
4
- data.tar.gz: 5806f68d8f8564cc51ffae8f21fcd3cf9e4c1d980131d31014660b2149018970
3
+ metadata.gz: b54cfbaeca69a4a2c50d6b5da23ba58ac0af58f03f9c812f10ea165cedf31d5c
4
+ data.tar.gz: ac81039d7f111315bc44919f6c482141d9f0ce02e4e28187a992178567d29c2c
5
5
  SHA512:
6
- metadata.gz: a31bfaa6e6c070c01f5f7d91475d495b02dee4b2b7bfca62dff6079e9e4c294c89cf5a3dc5fcb0be07f94d2308529b4d912041c313827311b5a82331e9d473e2
7
- data.tar.gz: c009c3bd6956c0d3c671c507047f80648a97ec169029b281a83bad47aa89b81e638cea5132223f89c00205ec33c9fa89ead304b028ce25f7f6bf2eed16c6e088
6
+ metadata.gz: 430ee12ec78d0c67ba7a5ac0a21eb538f9f2aaf93c8d1cec7cd8beeb9c17b1ee6c19ad21b55c6bc91cfb36db1bee54ddc62c9202e7b2bc88d57638f761548062
7
+ data.tar.gz: 23f9ebd7d40036ead017b802360dc59e387257b58fea64fa9961d0f13c26c1d834d936be427ce36e77f0af5264ede260f4d770c2ca7af06d219fe1a6abadf687
data/CHANGELOG.md CHANGED
@@ -4,6 +4,15 @@ 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.13.0] - 2026-02-16
8
+
9
+ ### Added
10
+
11
+ - **Icon sizes** — Append a size token to icons (`$$$settings:lg`, `$$$home:2x`) for predefined font-size scaling. Available sizes: `xs`, `sm`, `lg`, `xl`, `2x`, `3x`, `4x`
12
+ - **Custom SVG icons** — Use a file path (`$$$/assets/icons/shoe.svg`) to render `<wa-icon src="...">` instead of a named icon. Sizes work with custom paths too
13
+ - Icons section added to README and example site
14
+ - Updated `markawesome` dependency to `~> 0.7`
15
+
7
16
  ## [0.12.0] - 2026-02-14
8
17
 
9
18
  ### Changed
data/README.md CHANGED
@@ -23,7 +23,7 @@ This plugin focuses on the most commonly used Web Awesome components for Jekyll
23
23
  | **Copy Button** | `<<<placement? disabled? duration? labels?` | `:::wa-copy-button attributes?` | `<wa-copy-button value="content" tooltip-placement="right" 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
- | **Icon** | `$$$icon-name` | `:::wa-icon name` | `<wa-icon name="icon-name" variant="solid"></wa-icon>` |
26
+ | **Icon** | `$$$icon-name` or `$$$icon-name:size` | `:::wa-icon name [size]` | `<wa-icon name="icon-name"></wa-icon>` |
27
27
  | **Tab Group** | `++++++` | `:::wa-tabs` | `<wa-tab-group><wa-tab>content</wa-tab></wa-tab-group>` |
28
28
  | **Tag** | `@@@brand` | `:::wa-tag brand` | `<wa-tag variant="brand">content</wa-tag>` |
29
29
 
@@ -669,6 +669,45 @@ Status: @@@ warning Beta @@@ - testing in progress
669
669
  Combine inline @@@ pill small success Ready @@@ with attributes
670
670
  ```
671
671
 
672
+ ### Icons
673
+
674
+ Insert icons inline using the `$$$` syntax:
675
+
676
+ ```markdown
677
+ Click $$$settings to open settings.
678
+
679
+ A larger icon: $$$home:2x
680
+
681
+ Custom SVG: $$$/assets/icons/logo.svg
682
+ ```
683
+
684
+ #### Icon Sizes
685
+
686
+ Append a size token after `:` to control the icon size:
687
+
688
+ ```markdown
689
+ $$$star:xs Extra small (0.75em)
690
+ $$$star:sm Small (0.875em)
691
+ $$$star Default (inherits font size)
692
+ $$$star:lg Large (1.25em)
693
+ $$$star:xl Extra large (1.5em)
694
+ $$$star:2x 2x (2em)
695
+ $$$star:3x 3x (3em)
696
+ $$$star:4x 4x (4em)
697
+ ```
698
+
699
+ #### Custom SVG Icons
700
+
701
+ Use a file path starting with `/` or `./` to render a custom SVG instead of a named icon:
702
+
703
+ ```markdown
704
+ $$$/assets/icons/shoe.svg
705
+ $$$/assets/icons/shoe.svg:2x
706
+ $$$./icons/logo.svg:xl
707
+ ```
708
+
709
+ This outputs `<wa-icon src="...">` instead of `<wa-icon name="...">`.
710
+
672
711
  ### Copy Buttons
673
712
 
674
713
  Create copy-to-clipboard buttons using the `<<<` syntax:
@@ -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.6'
36
+ spec.add_dependency 'markawesome', '~> 0.7'
37
37
 
38
38
  spec.add_development_dependency 'bundler', '~> 2.0'
39
39
  spec.add_development_dependency 'rake', '~> 13.0'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module WebAwesome
5
- VERSION = '0.12.0'
5
+ VERSION = '0.13.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.12.0
4
+ version: 0.13.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.6'
38
+ version: '0.7'
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.6'
45
+ version: '0.7'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: bundler
48
48
  requirement: !ruby/object:Gem::Requirement