@things-factory/context-ui 5.0.0-zeta.7 → 5.0.0
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/client/bootstrap.js
CHANGED
|
@@ -4,9 +4,9 @@ import './layouts/context-toolbar'
|
|
|
4
4
|
|
|
5
5
|
import { html } from 'lit-html'
|
|
6
6
|
|
|
7
|
+
import { appendViewpart, TOOL_POSITION, VIEWPART_POSITION } from '@operato/layout'
|
|
7
8
|
import { APPEND_APP_TOOL } from '@things-factory/apptool-base'
|
|
8
9
|
import { APPEND_CONTEXT_TOOL } from '@things-factory/context-base'
|
|
9
|
-
import { appendViewpart, TOOL_POSITION, VIEWPART_POSITION } from '@things-factory/layout-base'
|
|
10
10
|
import { store } from '@things-factory/shell'
|
|
11
11
|
|
|
12
12
|
export default function bootstrap() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '@material/mwc-icon'
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { css, html, LitElement } from 'lit'
|
|
4
4
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
5
5
|
|
|
6
|
-
import { TOOL_POSITION } from '@
|
|
6
|
+
import { TOOL_POSITION } from '@operato/layout'
|
|
7
7
|
import { store } from '@things-factory/shell'
|
|
8
8
|
|
|
9
9
|
class ContextToolbar extends connect(store)(LitElement) {
|
|
@@ -6,9 +6,9 @@ import { css, html, LitElement } from 'lit'
|
|
|
6
6
|
import throttle from 'lodash-es/throttle'
|
|
7
7
|
import { connect } from 'pwa-helpers/connect-mixin'
|
|
8
8
|
|
|
9
|
+
import { openOverlay } from '@operato/layout'
|
|
9
10
|
import { store } from '@operato/shell'
|
|
10
11
|
import { sleep } from '@operato/utils'
|
|
11
|
-
import { openOverlay } from '@things-factory/layout-base'
|
|
12
12
|
|
|
13
13
|
class PageActionContextBar extends connect(store)(LitElement) {
|
|
14
14
|
static get properties() {
|
|
@@ -56,6 +56,15 @@ class PageActionContextBar extends connect(store)(LitElement) {
|
|
|
56
56
|
--mdc-button-horizontal-padding: var(--padding-default);
|
|
57
57
|
--mdc-shape-small: var(--context-action-bar-more-button-border-radius);
|
|
58
58
|
}
|
|
59
|
+
[more] {
|
|
60
|
+
position: fixed;
|
|
61
|
+
margin-top: -10px;
|
|
62
|
+
-webkit-border-top-left-radius: 10px;
|
|
63
|
+
-moz-border-radius-topleft: 10px;
|
|
64
|
+
border-top-left-radius: 10px;
|
|
65
|
+
padding: var(--padding-default);
|
|
66
|
+
font-size: 2rem;
|
|
67
|
+
}
|
|
59
68
|
}
|
|
60
69
|
|
|
61
70
|
@keyframes rotate {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/context-ui",
|
|
3
|
-
"version": "5.0.0
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@material/mwc-icon": "^0.
|
|
28
|
-
"@operato/help": "1.0.0
|
|
29
|
-
"@things-factory/apptool-base": "^5.0.0
|
|
30
|
-
"@things-factory/context-base": "^5.0.0
|
|
31
|
-
"@things-factory/layout-ui": "^5.0.0
|
|
27
|
+
"@material/mwc-icon": "^0.26.1",
|
|
28
|
+
"@operato/help": "^1.0.0",
|
|
29
|
+
"@things-factory/apptool-base": "^5.0.0",
|
|
30
|
+
"@things-factory/context-base": "^5.0.0",
|
|
31
|
+
"@things-factory/layout-ui": "^5.0.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "32cb91663e38de9ab1bb7a72af923c3bf8ac187b"
|
|
34
34
|
}
|