markawesome 0.9.3 → 0.9.5

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: 20d0c286b0e4f28b245d541359c98b945881bafe440ec5e595102c125cb59493
4
- data.tar.gz: 774a091780c653c76d111dde625ef89b2db808119bcf72be8cb30140fd2288aa
3
+ metadata.gz: 284af0f54ea550fda282556a2e9d4cbf190a69363a408c66240bef3e69428016
4
+ data.tar.gz: 2ba7b8a239a80f4d54aff572f1681192db79a9aaafba5f88d271ff0812ab2b31
5
5
  SHA512:
6
- metadata.gz: bbb4bb808ef77a6f2b16cc8d10451c95d9bdf8f4a5d1e43f93a5743887c626a604fe60b8769fa4a44c18f6c2744167efdbf9736239682ba6a2065b7797a936fe
7
- data.tar.gz: bb55942503875f00151316b6d309ad2fc88407f31de4bcb4da6b5da069b1f961d78a47764916f55c8419a8b85b640732079153350b4ecc5389455fd7305d0d3c
6
+ metadata.gz: 83a9e33d11f03781693bd13c817710899421f757ea979eaf933dcfe83bb6872fec39018e199c379f08422b4728bcee1c28cd37d02fc38ef91f4f9645c9f29cb0
7
+ data.tar.gz: 31ff66f883de01c5dae5f9c8730937d656da05352889bebf73cdd1412640596d193c264a68c3c186c71e821bd8d5083e58cff5a2dea8e71d9e5e1c581ae79644
data/CHANGELOG.md CHANGED
@@ -4,6 +4,18 @@ 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.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.9.5] - 2026-03-18
8
+
9
+ ### Fixed
10
+
11
+ - Added `type='button'` attribute to link-style popover trigger `<button>` elements to satisfy `no-implicit-button-type` HTML validation rule
12
+
13
+ ## [0.9.4] - 2026-03-13
14
+
15
+ ### Changed
16
+
17
+ - Moved PopoverTransformer earlier in the pipeline (right after LayoutTransformer) so that inline popovers (`&&&trigger >>> content&&&`) work inside cards, callouts, details, and other block containers that markdown-process their body content. Previously, Kramdown would HTML-escape the `&&&` and `>>>` characters before PopoverTransformer had a chance to process them.
18
+
7
19
  ## [0.9.3] - 2026-03-13
8
20
 
9
21
  ### Added
@@ -8,6 +8,7 @@ module Markawesome
8
8
  class Transformer
9
9
  def self.process(content, options = {})
10
10
  content = LayoutTransformer.transform(content)
11
+ content = PopoverTransformer.transform(content)
11
12
  content = BadgeTransformer.transform(content)
12
13
  content = ButtonTransformer.transform(content)
13
14
  content = CalloutTransformer.transform(content)
@@ -24,7 +25,6 @@ module Markawesome
24
25
  end
25
26
 
26
27
  content = DialogTransformer.transform(content)
27
- content = PopoverTransformer.transform(content)
28
28
  content = IconTransformer.transform(content)
29
29
  content = TagTransformer.transform(content)
30
30
  TabsTransformer.transform(content)
@@ -167,7 +167,7 @@ module Markawesome
167
167
  'color: inherit; text-decoration: underline; ' \
168
168
  'text-decoration-style: dotted; ' \
169
169
  'cursor: pointer; font: inherit;'
170
- "<button id='#{popover_id}' class='ma-popover-trigger' style='#{link_style_attr}'>#{trigger_content}</button>"
170
+ "<button type='button' id='#{popover_id}' class='ma-popover-trigger' style='#{link_style_attr}'>#{trigger_content}</button>"
171
171
  else
172
172
  "<wa-button id='#{popover_id}' variant='text'>#{trigger_content}</wa-button>"
173
173
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Markawesome
4
- VERSION = '0.9.3'
4
+ VERSION = '0.9.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markawesome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janne Waren