File tree 4 files changed +23
-3
lines changed
4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## [ 0.3.5] - 2023-11-11
4
+
5
+ - New [ API methods] ( https://github.com/swup/fragment-plugin#api-methods ) :
6
+ - ` getFragmentVisit() `
7
+ - ` prependRule() `
8
+ - ` appendRule() `
9
+ - ` getRules() `
10
+ - ` setRules() `
11
+ - Add vitest tests for many functions
12
+
3
13
## [ 0.3.4] - 2023-10-15
4
14
5
15
- Ignore fragment elements that are not children of swup's default ` containers `
47
57
48
58
- Initial Release
49
59
60
+ [ 0.3.5 ] : https://github.com/swup/fragment-plugin/releases/tag/0.3.5
50
61
[ 0.3.4 ] : https://github.com/swup/fragment-plugin/releases/tag/0.3.4
51
62
[ 0.3.3 ] : https://github.com/swup/fragment-plugin/releases/tag/0.3.3
52
63
[ 0.3.2 ] : https://github.com/swup/fragment-plugin/releases/tag/0.3.2
Original file line number Diff line number Diff line change 1
1
# Swup Fragment Plugin
2
2
3
+ <div class =" shields " >
4
+
5
+ <!-- [](https://www.npmjs.com/package/@swup/fragment-plugin) -->
6
+ [ ![ Test status] ( https://img.shields.io/github/actions/workflow/status/swup/fragment-plugin/unit-tests.yml?branch=master&label=unit%20tests )] ( https://github.com/swup/fragment-plugin/actions/workflows/unit-tests.yml )
7
+ [ ![ License] ( https://img.shields.io/github/license/swup/fragment-plugin.svg )] ( https://github.com/swup/fragment-plugin/blob/master/LICENSE )
8
+
9
+ </div >
10
+
3
11
A [ swup] ( https://swup.js.org ) plugin for dynamically replacing containers based on rules 🧩
4
12
5
13
- Selectively replace containers instead of the main swup containers, based on custom rules
@@ -40,6 +48,7 @@ https://github.com/swup/fragment-plugin/assets/869813/ecaf15d7-ec72-43e8-898a-64
40
48
- [ Skip out/in animations using ` <template> ` ] ( #skip-out-in-animations-using-template )
41
49
- [ Modals as children of ` transform ` ed parents] ( #modals-as-children-of-transformed-parents )
42
50
- [ Modals and Accessibility] ( #modals-and-accessibility )
51
+ - [ API Methods] ( #api-methods )
43
52
44
53
## Installation
45
54
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @swup/fragment-plugin" ,
3
3
"amdName" : " SwupFragmentPlugin" ,
4
- "version" : " 0.3.4 " ,
4
+ "version" : " 0.3.5 " ,
5
5
"description" : " A swup plugin for dynamically replacing containers based on rules" ,
6
6
"type" : " module" ,
7
7
"source" : " src/index.ts" ,
You can’t perform that action at this time.
0 commit comments