lkt-menu 2.0.0 → 2.0.2
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/build.css +1 -1
- package/package.json +4 -4
- package/theme/default.css +10 -4
package/dist/build.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.lkt-menu{background:var(--lkt-menu--bg);padding:var(--lkt-menu--padding);max-width:var(--lkt-menu--max-width);width:var(--lkt-menu--width);height:100%;display:
|
|
1
|
+
.lkt-menu{background:var(--lkt-menu--bg);padding:var(--lkt-menu--padding);max-width:var(--lkt-menu--max-width);width:var(--lkt-menu--width);height:100%;display:var(--lkt-menu--display);flex-direction:var(--lkt-menu--flex-direction);align-items:var(--lkt-menu--align-items);gap:var(--lkt-menu--entry--gap)}.lkt-menu-entry-toggle-inner{transition:all linear .2s}.lkt-menu-entry-toggle-inner.is-opened{transform:rotate(180deg)}.lkt-entry-content{display:inline-flex;flex-direction:row;gap:var(--lkt-menu--gap)}.lkt-menu-entry-toggle{display:inline-flex;flex-direction:row;align-items:center;justify-content:center}.lkt-menu-entry{padding:var(--lkt-menu--entry--padding)}.lkt-menu-entry .lkt-anchor{width:100%}.lkt-menu-entry-main{display:flex;justify-content:space-between;position:relative}.lkt-entry-content{font-size:var(--lkt-menu--font-size);width:100%}.lkt-menu-outside{position:fixed;top:64px;right:0;left:0;bottom:0;background:var(--lkt-menu--outside--bg);z-index:-1}.lkt-menu-entry-children{padding:var(--lkt-menu--children--padding)}.lkt-menu-entry-text{padding:var(--lkt-menu--text-without-icon--padding)}.lkt-menu.has-icon .lkt-menu-entry-text{padding:var(--lkt-menu--text--padding)}.lkt-menu.has-icon .lkt-menu-entry-icon+.lkt-menu-entry-text{padding:var(--lkt-menu--text-with-icon--padding)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lkt-menu",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lkt",
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"vue-tsc": "^2.2.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"lkt-anchor": "^
|
|
53
|
+
"lkt-anchor": "^2.0.1",
|
|
54
54
|
"lkt-data-state": "^1.0.11",
|
|
55
55
|
"lkt-http-client": "^1.0.34",
|
|
56
|
-
"lkt-i18n": "^1.0
|
|
57
|
-
"lkt-vue-kernel": "^1.0.
|
|
56
|
+
"lkt-i18n": "^1.1.0",
|
|
57
|
+
"lkt-vue-kernel": "^1.0.51",
|
|
58
58
|
"vue": "^3.3.0",
|
|
59
59
|
"vue-router": "^4.3.3"
|
|
60
60
|
}
|
package/theme/default.css
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
.lkt-menu {
|
|
2
|
+
--lkt-menu--display: display;
|
|
3
|
+
--lkt-menu--flex-direction: column;
|
|
4
|
+
--lkt-menu--align-items: stretch;
|
|
5
|
+
|
|
2
6
|
/** Font */
|
|
3
7
|
--lkt-menu--font-family: system-ui, Helvetica;
|
|
4
8
|
--lkt-menu--font-size: 16px;
|
|
@@ -6,7 +10,6 @@
|
|
|
6
10
|
--lkt-menu--line-height: 1;
|
|
7
11
|
--lkt-menu--text-align: left;
|
|
8
12
|
--lkt-menu--text-decoration: none;
|
|
9
|
-
--lkt-menu--text-decoration--hover: none;
|
|
10
13
|
|
|
11
14
|
/** Sizing */
|
|
12
15
|
--lkt-menu--width: 100%;
|
|
@@ -18,7 +21,7 @@
|
|
|
18
21
|
--lkt-menu--entry--gap: 0;
|
|
19
22
|
|
|
20
23
|
/** Colors */
|
|
21
|
-
--lkt-menu--
|
|
24
|
+
--lkt-menu--background: #ffffff;
|
|
22
25
|
--lkt-menu--toggle--color: #444444;
|
|
23
26
|
|
|
24
27
|
/** Sizing: Entries */
|
|
@@ -31,5 +34,8 @@
|
|
|
31
34
|
--lkt-menu--children--padding: 0 0 0 10px;
|
|
32
35
|
|
|
33
36
|
/** Colors: Outside */
|
|
34
|
-
--lkt-menu--outside--
|
|
37
|
+
--lkt-menu--outside--background: rgba(255, 255, 255, 0.75);
|
|
38
|
+
|
|
39
|
+
/** Event: Hover */
|
|
40
|
+
--lkt-menu--hover--text-decoration: none;
|
|
35
41
|
}
|