@iyulab/desktop-patterns 0.1.1 → 0.1.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/toolbar.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { css as p, LitElement as g, nothing as h, html as d } from "lit";
|
|
2
2
|
import { property as s, customElement as v } from "lit/decorators.js";
|
|
3
|
-
var f = Object.defineProperty, b = Object.getOwnPropertyDescriptor, o = (
|
|
4
|
-
for (var e = a > 1 ? void 0 : a ? b(r,
|
|
5
|
-
(c =
|
|
6
|
-
return a && e && f(r,
|
|
3
|
+
var f = Object.defineProperty, b = Object.getOwnPropertyDescriptor, o = (l, r, i, a) => {
|
|
4
|
+
for (var e = a > 1 ? void 0 : a ? b(r, i) : r, n = l.length - 1, c; n >= 0; n--)
|
|
5
|
+
(c = l[n]) && (e = (a ? c(r, i, e) : c(e)) || e);
|
|
6
|
+
return a && e && f(r, i, e), e;
|
|
7
7
|
};
|
|
8
8
|
class u extends Event {
|
|
9
9
|
constructor() {
|
|
@@ -14,6 +14,9 @@ let t = class extends g {
|
|
|
14
14
|
constructor() {
|
|
15
15
|
super(...arguments), this.heading = "", this.subtitle = "", this.showToggle = !1, this.dragRegion = !1;
|
|
16
16
|
}
|
|
17
|
+
connectedCallback() {
|
|
18
|
+
super.connectedCallback(), this.setAttribute("role", "banner");
|
|
19
|
+
}
|
|
17
20
|
render() {
|
|
18
21
|
return d`
|
|
19
22
|
<div class="start">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iyulab/desktop-patterns",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -16,27 +16,33 @@
|
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
18
18
|
"types": "./dist/index.d.ts",
|
|
19
|
-
"import": "./dist/index.js"
|
|
19
|
+
"import": "./dist/index.js",
|
|
20
|
+
"default": "./dist/index.js"
|
|
20
21
|
},
|
|
21
22
|
"./page": {
|
|
22
23
|
"types": "./dist/components/page/dp-page.d.ts",
|
|
23
|
-
"import": "./dist/page.js"
|
|
24
|
+
"import": "./dist/page.js",
|
|
25
|
+
"default": "./dist/page.js"
|
|
24
26
|
},
|
|
25
27
|
"./sidebar": {
|
|
26
28
|
"types": "./dist/components/sidebar/dp-sidebar.d.ts",
|
|
27
|
-
"import": "./dist/sidebar.js"
|
|
29
|
+
"import": "./dist/sidebar.js",
|
|
30
|
+
"default": "./dist/sidebar.js"
|
|
28
31
|
},
|
|
29
32
|
"./toolbar": {
|
|
30
33
|
"types": "./dist/components/toolbar/dp-toolbar.d.ts",
|
|
31
|
-
"import": "./dist/toolbar.js"
|
|
34
|
+
"import": "./dist/toolbar.js",
|
|
35
|
+
"default": "./dist/toolbar.js"
|
|
32
36
|
},
|
|
33
37
|
"./shell": {
|
|
34
38
|
"types": "./dist/components/shell/dp-shell.d.ts",
|
|
35
|
-
"import": "./dist/shell.js"
|
|
39
|
+
"import": "./dist/shell.js",
|
|
40
|
+
"default": "./dist/shell.js"
|
|
36
41
|
},
|
|
37
42
|
"./shortcut-overlay": {
|
|
38
43
|
"types": "./dist/components/shortcut-overlay/dp-shortcut-overlay.d.ts",
|
|
39
|
-
"import": "./dist/shortcut-overlay.js"
|
|
44
|
+
"import": "./dist/shortcut-overlay.js",
|
|
45
|
+
"default": "./dist/shortcut-overlay.js"
|
|
40
46
|
},
|
|
41
47
|
"./tokens.css": "./tokens.css"
|
|
42
48
|
},
|