@onsvisual/svelte-components 1.1.10 → 1.1.11
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.
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
},
|
|
83
83
|
print: {
|
|
84
84
|
d: "M17 4H3C1.3 4 0 5.2 0 6.8v5.5h4V16h12v-3.7h4V6.8C20 5.2 18.7 4 17 4zm-3 10H6V9h8v5zm3-6a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm-1-8H4v3h12V0z",
|
|
85
|
-
viewBox: "4
|
|
85
|
+
viewBox: "4 0 16 16"
|
|
86
86
|
},
|
|
87
87
|
search: {
|
|
88
88
|
d: "M11.86 10.23 8.62 6.99a4.63 4.63 0 1 0-6.34 1.64 4.55 4.55 0 0 0 2.36.64 4.65 4.65 0 0 0 2.33-.65l3.24 3.23a.46.46 0 0 0 .65 0l1-1a.48.48 0 0 0 0-.62Zm-5-3.32a3.28 3.28 0 0 1-2.31.93 3.22 3.22 0 1 1 2.35-.93Z",
|
|
@@ -117,3 +117,9 @@
|
|
|
117
117
|
<path d={svgPath || paths[type].d}></path>
|
|
118
118
|
</svg>
|
|
119
119
|
{/if}
|
|
120
|
+
|
|
121
|
+
<style>
|
|
122
|
+
.ons-icon {
|
|
123
|
+
overflow: visible;
|
|
124
|
+
}
|
|
125
|
+
</style>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* A label for the page contents nav
|
|
23
23
|
* @type {string}
|
|
24
24
|
*/
|
|
25
|
-
export let contentsLabel = "
|
|
25
|
+
export let contentsLabel = "Contents";
|
|
26
26
|
/**
|
|
27
27
|
* Don't include table of contents (allows for custom uses of nav panel)
|
|
28
28
|
* @type {boolean}
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
{#if !noContents}
|
|
109
109
|
<nav class="ons-table-of-contents" aria-label="Sections in this page">
|
|
110
110
|
{#if contentsLabel}
|
|
111
|
-
<h2 class="ons-table-of-contents__title ons-u-fs-r--b ons-u-mb-s">
|
|
111
|
+
<h2 class="ons-table-of-contents__title ons-u-fs-r--b ons-u-mb-s">{contentsLabel}</h2>
|
|
112
112
|
{/if}
|
|
113
113
|
<ol class="ons-list ons-u-mb-l ons-list--dashed">
|
|
114
114
|
{#each formatSections($sections) as section}
|