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 +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +40 -1
- data/jekyll-webawesome.gemspec +1 -1
- data/lib/jekyll/webawesome/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b54cfbaeca69a4a2c50d6b5da23ba58ac0af58f03f9c812f10ea165cedf31d5c
|
|
4
|
+
data.tar.gz: ac81039d7f111315bc44919f6c482141d9f0ce02e4e28187a992178567d29c2c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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"
|
|
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:
|
data/jekyll-webawesome.gemspec
CHANGED
|
@@ -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.
|
|
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'
|
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.
|
|
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.
|
|
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.
|
|
45
|
+
version: '0.7'
|
|
46
46
|
- !ruby/object:Gem::Dependency
|
|
47
47
|
name: bundler
|
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|