cec-nuxt-lib 0.12.6 → 0.12.8

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.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cec-nuxt-lib",
3
3
  "configKey": "cec-nuxt-lib",
4
- "version": "0.12.6",
4
+ "version": "0.12.8",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
7
7
  "unbuild": "3.5.0"
@@ -79,8 +79,7 @@ const accordion = (data) => {
79
79
  </article>
80
80
  `;
81
81
  });
82
- html += "</section>";
83
- return html;
82
+ return html + "</section>";
84
83
  };
85
84
  const accordionComponent = (props2) => {
86
85
  return accordion({ ...props2.block.value, id: props2.block.id });
@@ -678,11 +677,9 @@ const renderer = createRenderer({
678
677
  });
679
678
  canvasHtml = getCanvas(canvas);
680
679
  canvasHtml = canvasHtml.replace(
681
- /<img src="|<caption|<table|<\/table>|<th>|<iframe/g,
680
+ /<caption|<table|<\/table>|<th>|<iframe/g,
682
681
  (match) => {
683
682
  switch (match) {
684
- case '<img src="':
685
- return `<img src="`;
686
683
  case "<caption":
687
684
  return "<caption class='hidden'";
688
685
  case "<table":
@@ -350,7 +350,7 @@ onMounted(() => {
350
350
  <input
351
351
  v-model="page.searchTerms"
352
352
  @keypress.enter="doSearch"
353
- placeholder="Enter keywords"
353
+ placeholder="Search our website"
354
354
  @focus="page.searchTerms = ''"
355
355
  type="text"
356
356
  id="searchTextBox"
@@ -7,7 +7,10 @@ const page = useState("page");
7
7
  <h2>Related pages</h2>
8
8
  <ul>
9
9
  <li v-for="item in page.siblings">
10
- <a :href="item.path">{{ item.displayName }}</a>
10
+ <a :href="item.path"
11
+ >{{ item.displayName }}
12
+ <span class="sr-only"> (related pages) </span></a
13
+ >
11
14
  </li>
12
15
  </ul>
13
16
  </template>
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.12.6",
2
+ "version": "0.12.8",
3
3
  "name": "cec-nuxt-lib",
4
4
  "description": "Nuxt components and assets",
5
5
  "license": "MIT",