@natachah/vanilla-frontend 0.1.9 → 0.1.10
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.
|
@@ -18,7 +18,7 @@ class DocLayout extends HTMLElement {
|
|
|
18
18
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pin-angle" viewBox="0 0 16 16">
|
|
19
19
|
<path d="M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a6 6 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707s.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a6 6 0 0 1 1.013.16l3.134-3.133a3 3 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146m.122 2.112v-.002zm0-.002v.002a.5.5 0 0 1-.122.51L6.293 6.878a.5.5 0 0 1-.511.12H5.78l-.014-.004a5 5 0 0 0-.288-.076 5 5 0 0 0-.765-.116c-.422-.028-.836.008-1.175.15l5.51 5.509c.141-.34.177-.753.149-1.175a5 5 0 0 0-.192-1.054l-.004-.013v-.001a.5.5 0 0 1 .12-.512l3.536-3.535a.5.5 0 0 1 .532-.115l.096.022c.087.017.208.034.344.034q.172.002.343-.04L9.927 2.028q-.042.172-.04.343a1.8 1.8 0 0 0 .062.46z"/>
|
|
20
20
|
</svg>
|
|
21
|
-
0.1.
|
|
21
|
+
0.1.10
|
|
22
22
|
</span>
|
|
23
23
|
</li>
|
|
24
24
|
<li>
|
|
@@ -19,13 +19,11 @@ doc-layout {
|
|
|
19
19
|
overflow: hidden;
|
|
20
20
|
transition: all .5s ease-in-out;
|
|
21
21
|
|
|
22
|
-
> header
|
|
23
|
-
> aside > header {
|
|
22
|
+
> header {
|
|
24
23
|
grid-area: header;
|
|
25
24
|
}
|
|
26
25
|
|
|
27
|
-
> footer
|
|
28
|
-
> aside > footer {
|
|
26
|
+
> footer {
|
|
29
27
|
grid-area: footer;
|
|
30
28
|
}
|
|
31
29
|
|
|
@@ -49,12 +47,17 @@ doc-layout {
|
|
|
49
47
|
--drawer-position: 0 auto 0 0;
|
|
50
48
|
|
|
51
49
|
// Set the grid for the sidebar based on the parent grid
|
|
52
|
-
grid-
|
|
53
|
-
grid-template-rows:
|
|
54
|
-
grid-template-areas: "
|
|
50
|
+
grid-template-columns: 1fr;
|
|
51
|
+
grid-template-rows: max-content 1fr;
|
|
52
|
+
grid-template-areas: "welcome" "menu";
|
|
53
|
+
|
|
54
|
+
> header {
|
|
55
|
+
grid-area: welcome;
|
|
56
|
+
}
|
|
55
57
|
|
|
56
58
|
// Design the nav
|
|
57
59
|
> nav {
|
|
60
|
+
grid-area: menu;
|
|
58
61
|
overflow-y: auto;
|
|
59
62
|
}
|
|
60
63
|
|
|
Binary file
|
package/package.json
CHANGED
package/scss/base/_reset.scss
CHANGED
|
@@ -82,6 +82,11 @@ summary {
|
|
|
82
82
|
&:not(:has([data-handle=sortable])),
|
|
83
83
|
[data-handle=sortable] {
|
|
84
84
|
cursor: grab;
|
|
85
|
+
user-select: none;
|
|
86
|
+
pointer-events: auto;
|
|
87
|
+
-webkit-user-drag: element;
|
|
88
|
+
-webkit-touch-callout: none;
|
|
89
|
+
touch-action: none;
|
|
85
90
|
}
|
|
86
91
|
|
|
87
92
|
&[aria-grabbed=true],
|