|
@@ -8,7 +8,7 @@ exports[`telepath: wagtail.blocks.ListBlock blocks can be duplicated 1`] = `
|
|
|
</div><div class=\\"\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-count\\" data-streamfield-list-count=\\"\\" value=\\"3\\">
|
|
|
|
|
|
- <div data-streamfield-list-container=\\"\\"><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ <div data-streamfield-list-container=\\"\\"><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"11111111-1111-1111-1111-111111111111\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-0-deleted\\" value=\\"\\">
|
|
@@ -70,7 +70,7 @@ exports[`telepath: wagtail.blocks.ListBlock blocks can be duplicated 1`] = `
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"22222222-2222-2222-2222-222222222222\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-1-deleted\\" value=\\"\\">
|
|
@@ -132,7 +132,7 @@ exports[`telepath: wagtail.blocks.ListBlock blocks can be duplicated 1`] = `
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"fake-uuid-v4-value\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-2-deleted\\" value=\\"\\">
|
|
@@ -194,7 +194,7 @@ exports[`telepath: wagtail.blocks.ListBlock blocks can be duplicated 1`] = `
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button></div>
|
|
|
</div>"
|
|
@@ -208,7 +208,7 @@ exports[`telepath: wagtail.blocks.ListBlock blocks can be reordered downward 1`]
|
|
|
</div><div class=\\"\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-count\\" data-streamfield-list-count=\\"\\" value=\\"2\\">
|
|
|
|
|
|
- <div data-streamfield-list-container=\\"\\"><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ <div data-streamfield-list-container=\\"\\"><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"22222222-2222-2222-2222-222222222222\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-1-deleted\\" value=\\"\\">
|
|
@@ -270,7 +270,7 @@ exports[`telepath: wagtail.blocks.ListBlock blocks can be reordered downward 1`]
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"11111111-1111-1111-1111-111111111111\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-0-deleted\\" value=\\"\\">
|
|
@@ -332,7 +332,7 @@ exports[`telepath: wagtail.blocks.ListBlock blocks can be reordered downward 1`]
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button></div>
|
|
|
</div>"
|
|
@@ -346,7 +346,7 @@ exports[`telepath: wagtail.blocks.ListBlock blocks can be reordered upward 1`] =
|
|
|
</div><div class=\\"\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-count\\" data-streamfield-list-count=\\"\\" value=\\"2\\">
|
|
|
|
|
|
- <div data-streamfield-list-container=\\"\\"><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ <div data-streamfield-list-container=\\"\\"><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"22222222-2222-2222-2222-222222222222\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-1-deleted\\" value=\\"\\">
|
|
@@ -408,7 +408,7 @@ exports[`telepath: wagtail.blocks.ListBlock blocks can be reordered upward 1`] =
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"11111111-1111-1111-1111-111111111111\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-0-deleted\\" value=\\"\\">
|
|
@@ -470,7 +470,7 @@ exports[`telepath: wagtail.blocks.ListBlock blocks can be reordered upward 1`] =
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button></div>
|
|
|
</div>"
|
|
@@ -484,7 +484,7 @@ exports[`telepath: wagtail.blocks.ListBlock blocks can be split 1`] = `
|
|
|
</div><div class=\\"\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-count\\" data-streamfield-list-count=\\"\\" value=\\"3\\">
|
|
|
|
|
|
- <div data-streamfield-list-container=\\"\\"><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ <div data-streamfield-list-container=\\"\\"><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"11111111-1111-1111-1111-111111111111\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-0-deleted\\" value=\\"\\">
|
|
@@ -546,7 +546,7 @@ exports[`telepath: wagtail.blocks.ListBlock blocks can be split 1`] = `
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath-disabled=\\"\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-2-deleted\\" value=\\"\\">
|
|
@@ -608,7 +608,7 @@ exports[`telepath: wagtail.blocks.ListBlock blocks can be split 1`] = `
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"22222222-2222-2222-2222-222222222222\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-1-deleted\\" value=\\"\\">
|
|
@@ -670,7 +670,7 @@ exports[`telepath: wagtail.blocks.ListBlock blocks can be split 1`] = `
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button></div>
|
|
|
</div>"
|
|
@@ -684,7 +684,7 @@ exports[`telepath: wagtail.blocks.ListBlock deleteBlock() deletes a block 1`] =
|
|
|
</div><div class=\\"\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-count\\" data-streamfield-list-count=\\"\\" value=\\"2\\">
|
|
|
|
|
|
- <div data-streamfield-list-container=\\"\\"><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ <div data-streamfield-list-container=\\"\\"><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"11111111-1111-1111-1111-111111111111\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-0-deleted\\" value=\\"\\">
|
|
@@ -746,7 +746,7 @@ exports[`telepath: wagtail.blocks.ListBlock deleteBlock() deletes a block 1`] =
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\" style=\\"display: none;\\" aria-hidden=\\"true\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\" style=\\"display: none;\\" aria-hidden=\\"true\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"22222222-2222-2222-2222-222222222222\\" style=\\"display: none;\\" aria-hidden=\\"true\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-1-deleted\\" value=\\"1\\">
|
|
@@ -808,7 +808,7 @@ exports[`telepath: wagtail.blocks.ListBlock deleteBlock() deletes a block 1`] =
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button></div>
|
|
|
</div>"
|
|
@@ -822,7 +822,7 @@ exports[`telepath: wagtail.blocks.ListBlock it renders correctly 1`] = `
|
|
|
</div><div class=\\"\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-count\\" data-streamfield-list-count=\\"\\" value=\\"2\\">
|
|
|
|
|
|
- <div data-streamfield-list-container=\\"\\"><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ <div data-streamfield-list-container=\\"\\"><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"11111111-1111-1111-1111-111111111111\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-0-deleted\\" value=\\"\\">
|
|
@@ -884,7 +884,7 @@ exports[`telepath: wagtail.blocks.ListBlock it renders correctly 1`] = `
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"22222222-2222-2222-2222-222222222222\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-1-deleted\\" value=\\"\\">
|
|
@@ -946,7 +946,7 @@ exports[`telepath: wagtail.blocks.ListBlock it renders correctly 1`] = `
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button></div>
|
|
|
</div>"
|
|
@@ -960,7 +960,7 @@ exports[`telepath: wagtail.blocks.ListBlock setError passes error messages to ch
|
|
|
</div><div class=\\"\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-count\\" data-streamfield-list-count=\\"\\" value=\\"2\\">
|
|
|
|
|
|
- <div data-streamfield-list-container=\\"\\"><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ <div data-streamfield-list-container=\\"\\"><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"11111111-1111-1111-1111-111111111111\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-0-deleted\\" value=\\"\\">
|
|
@@ -1022,7 +1022,7 @@ exports[`telepath: wagtail.blocks.ListBlock setError passes error messages to ch
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"22222222-2222-2222-2222-222222222222\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-1-deleted\\" value=\\"\\">
|
|
@@ -1084,7 +1084,7 @@ exports[`telepath: wagtail.blocks.ListBlock setError passes error messages to ch
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button></div>
|
|
|
</div>"
|
|
@@ -1098,7 +1098,7 @@ exports[`telepath: wagtail.blocks.ListBlock setError renders non-block errors 1`
|
|
|
</div><div class=\\"\\"><p class=\\"help-block help-critical\\">At least three blocks are required</p>
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-count\\" data-streamfield-list-count=\\"\\" value=\\"2\\">
|
|
|
|
|
|
- <div data-streamfield-list-container=\\"\\"><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ <div data-streamfield-list-container=\\"\\"><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"11111111-1111-1111-1111-111111111111\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-0-deleted\\" value=\\"\\">
|
|
@@ -1160,7 +1160,7 @@ exports[`telepath: wagtail.blocks.ListBlock setError renders non-block errors 1`
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button><div data-contentpath=\\"22222222-2222-2222-2222-222222222222\\">
|
|
|
<input type=\\"hidden\\" name=\\"the-prefix-1-deleted\\" value=\\"\\">
|
|
@@ -1222,7 +1222,7 @@ exports[`telepath: wagtail.blocks.ListBlock setError renders non-block errors 1`
|
|
|
</div>
|
|
|
</div>
|
|
|
</section>
|
|
|
- </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button c-sf-add-button--visible\\">
|
|
|
+ </div><button type=\\"button\\" title=\\"Add\\" data-streamfield-list-add=\\"\\" class=\\"c-sf-add-button\\">
|
|
|
<svg class=\\"icon icon-plus\\" aria-hidden=\\"true\\"><use href=\\"#icon-plus\\"></use></svg>
|
|
|
</button></div>
|
|
|
</div>"
|