godown 1.1.3 → 1.1.4

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.
@@ -40,10 +40,10 @@ NavLayout.styles = [STD.styles, css `:host{
40
40
  ${navstyle}
41
41
  ${cssvar}--nav-height:2.4em;
42
42
  ${cssvar}--nav-h1-size:calc(var(${cssvar}--nav-height)/2);
43
- color: var(${cssvar}--nav-text);
44
43
  width: 100%;display: flex;flex-flow: column nowrap;justify-content: space-between;align-items: center;min-height: 100%;
45
44
  }
46
45
  nav,.option {
46
+ color: var(${cssvar}--nav-text);
47
47
  background: var(${cssvar}--nav-background);
48
48
  }
49
49
  .option a:hover {
package/package.json CHANGED
@@ -1,17 +1,21 @@
1
1
  {
2
2
  "name": "godown",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "main": "./index.js",
5
5
  "type": "module",
6
6
  "scripts": {
7
- "dev": "wds --node-resolve --watch",
7
+ "dev": "node ./dev.js",
8
8
  "build": "tsc --watch",
9
9
  "pub": "node ./pub.js",
10
10
  "roll": "rollup -c"
11
11
  },
12
12
  "keywords": [
13
13
  "godown",
14
- "components"
14
+ "components",
15
+ "lit",
16
+ "html",
17
+ "react",
18
+ "custom elements"
15
19
  ],
16
20
  "author": "startracex",
17
21
  "license": "MIT",
package/react/items.js CHANGED
@@ -18,7 +18,7 @@ export const AlertItem = createComponent({
18
18
  react: React
19
19
  });
20
20
  export const DialogItem = createComponent({
21
- tagName: "dailog-item",
21
+ tagName: "dialog-item",
22
22
  elementClass: X.DialogItem,
23
23
  react: React
24
24
  });
@@ -226,7 +226,7 @@ let RouteView = RouteView_1 = class RouteView extends LitElement {
226
226
  }
227
227
  static updateAll() {
228
228
  const routeViewTagName = conf.namemap.get("route-view");
229
- const routeViewArray = document.querySelectorAll(routeViewTagName + ":not([override])");
229
+ const routeViewArray = document.querySelectorAll(`${routeViewTagName}:not([override])`);
230
230
  for (let index = 0, ArrayItem; ArrayItem = routeViewArray[index]; index++) {
231
231
  ArrayItem.path = window.location.pathname;
232
232
  }