@operato/process 2.0.0-alpha.147 → 2.0.0-alpha.149

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@operato/process",
3
- "version": "2.0.0-alpha.147",
3
+ "version": "2.0.0-alpha.149",
4
4
  "description": "Webcomponent for business process modeling following open-wc recommendations",
5
5
  "author": "heartyoh",
6
6
  "main": "dist/src/index.js",
@@ -68,17 +68,17 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "@open-wc/scoped-elements": "^2.1.3",
71
- "@operato/app": "^2.0.0-alpha.147",
72
- "@operato/board": "^2.0.0-alpha.147",
73
- "@operato/data-grist": "^2.0.0-alpha.146",
74
- "@operato/font": "^2.0.0-alpha.146",
71
+ "@operato/app": "^2.0.0-alpha.149",
72
+ "@operato/board": "^2.0.0-alpha.149",
73
+ "@operato/data-grist": "^2.0.0-alpha.149",
74
+ "@operato/font": "^2.0.0-alpha.149",
75
75
  "@operato/graphql": "^2.0.0-alpha.145",
76
- "@operato/i18n": "^2.0.0-alpha.111",
77
- "@operato/input": "^2.0.0-alpha.146",
78
- "@operato/markdown": "^2.0.0-alpha.142",
79
- "@operato/popup": "^2.0.0-alpha.145",
80
- "@operato/property-editor": "^2.0.0-alpha.146",
81
- "@operato/styles": "^2.0.0-alpha.142",
76
+ "@operato/i18n": "^2.0.0-alpha.148",
77
+ "@operato/input": "^2.0.0-alpha.149",
78
+ "@operato/markdown": "^2.0.0-alpha.149",
79
+ "@operato/popup": "^2.0.0-alpha.149",
80
+ "@operato/property-editor": "^2.0.0-alpha.149",
81
+ "@operato/styles": "^2.0.0-alpha.149",
82
82
  "@operato/utils": "^2.0.0-alpha.145",
83
83
  "@polymer/paper-dropdown-menu": "^3.2.0",
84
84
  "@types/file-saver": "^2.0.4",
@@ -128,5 +128,5 @@
128
128
  "prettier --write"
129
129
  ]
130
130
  },
131
- "gitHead": "d286d2574fb33eb8790d69f1cd075c7e6640a19c"
131
+ "gitHead": "ae0a8ae9e4627a09783ea436f2498bd80880a736"
132
132
  }
@@ -80,7 +80,7 @@ export class ComponentToolbar extends ScopedElementsMixin(LitElement) {
80
80
 
81
81
  updated(changes: PropertyValues<this>) {
82
82
  if (changes.has('componentGroupList')) {
83
- const color = getComputedStyle(this, null).getPropertyValue('--primary-color')
83
+ const color = getComputedStyle(this, null).getPropertyValue('--md-sys-color-primary')
84
84
 
85
85
  this.icons = (this.componentGroupList || [])
86
86
  .filter(group => group.templates?.length > 0)
@@ -131,14 +131,14 @@ export class PropertyDataBinding extends ScopedElementsMixin(AbstractProperty) {
131
131
 
132
132
  md-icon {
133
133
  margin-left: 5px;
134
- color: var(--secondary-color);
134
+ color: var(--md-sys-color-on-secondary-container);
135
135
  opacity: 0.8;
136
136
  cursor: pointer;
137
137
  --md-icon-size: 18px;
138
138
  }
139
139
 
140
140
  md-icon:hover {
141
- color: var(--primary-color);
141
+ color: var(--md-sys-color-on-primary-container);
142
142
  opacity: 1;
143
143
  }
144
144
 
@@ -21,13 +21,12 @@ export class SceneInspector extends LitElement {
21
21
 
22
22
  ox-input-search {
23
23
  --input-search-padding: 3px;
24
- --input-search-border-bottom: none;
25
24
  --input-search-focus-border-bottom: none;
26
25
  --input-search-font: normal 16px var(--theme-font);
27
26
 
28
27
  border-radius: 999px;
29
28
  box-sizing: border-box;
30
- border: 1px solid var(--secondary-color);
29
+ border: 1px solid var(--md-sys-color-on-secondary-container);
31
30
  padding: 0 10px;
32
31
  margin: 5px;
33
32
  }
@@ -25,7 +25,7 @@ export class PropertySpecific extends ScopedElementsMixin(LitElement) {
25
25
 
26
26
  text-align: right;
27
27
  font: bold 14px var(--theme-font);
28
- color: var(--primary-color);
28
+ color: var(--md-sys-color-on-primary-container);
29
29
  text-transform: uppercase;
30
30
  }
31
31
  `
@@ -38,7 +38,7 @@ class ProcessList extends LitElement {
38
38
  align-items: center;
39
39
  padding: var(--padding-default) var(--padding-wide);
40
40
  border-top: 2px solid rgba(0, 0, 0, 0.2);
41
- background-color: var(--theme-white-color);
41
+ background-color: var(--md-sys-color-surface);
42
42
  box-shadow: var(--box-shadow);
43
43
  }
44
44
 
@@ -58,7 +58,7 @@ class ProcessList extends LitElement {
58
58
  padding: var(--padding-narrow);
59
59
  font-size: 1em;
60
60
  opacity: 0.5;
61
- color: var(--primary-text-color);
61
+ color: var(--md-sys-color-on-primary-container);
62
62
  cursor: pointer;
63
63
  }
64
64
 
@@ -66,12 +66,12 @@ class ProcessList extends LitElement {
66
66
  border-radius: 9px;
67
67
  background-color: rgba(var(--primary-color-rgb), 0.05);
68
68
  opacity: 1;
69
- color: var(--secondary-text-color);
69
+ color: var(--md-sys-color-on-secondary-container);
70
70
  cursor: default;
71
71
  }
72
72
  #modes > md-icon:hover {
73
73
  opacity: 1;
74
- color: var(--secondary-text-color);
74
+ color: var(--md-sys-color-on-secondary-container);
75
75
  }
76
76
 
77
77
  #add button {
@@ -79,7 +79,8 @@ class ProcessList extends LitElement {
79
79
  align-items: center;
80
80
  justify-content: center;
81
81
 
82
- background-color: var(--primary-color);
82
+ background-color: var(--md-sys-color-primary-container);
83
+ color: var(--md-sys-color-on-primary-container);
83
84
  border: 0;
84
85
  border-radius: 50%;
85
86
  padding: 5px;
@@ -89,13 +90,13 @@ class ProcessList extends LitElement {
89
90
  }
90
91
 
91
92
  #add button:hover {
92
- background-color: var(--focus-background-color);
93
+ background-color: var(--md-sys-color-on-primary-container);
94
+ color: var(--md-sys-color-primary-container);
93
95
  box-shadow: var(--box-shadow);
94
96
  }
95
97
 
96
98
  #add button md-icon {
97
99
  font-size: 1.5em;
98
- color: var(--theme-white-color);
99
100
  }
100
101
 
101
102
  #filters {
@@ -114,10 +115,10 @@ class ProcessList extends LitElement {
114
115
  #filters md-icon {
115
116
  position: absolute;
116
117
  top: 3px;
117
- color: var(--secondary-color);
118
+ color: var(--md-sys-color-on-secondary-container);
118
119
  }
119
120
  #filters * {
120
- margin-right: var(--margin-default);
121
+ margin-right: var(--spacing-medium);
121
122
  }
122
123
 
123
124
  @media only screen and (max-width: 460px) {
@@ -98,7 +98,7 @@ export class OxProcessModeller extends ScopedElementsMixin(LitElement) {
98
98
  left: 50%;
99
99
  top: 50%;
100
100
  transform: translateX(-50%) translateY(-50%);
101
- background: var(--secondary-color, black);
101
+ background: var(--md-sys-color-on-secondary-container, black);
102
102
 
103
103
  display: flex;
104
104
  justify-content: center;
@@ -77,7 +77,7 @@ export class OxProcessTemplateList extends LitElement {
77
77
  align-items: center;
78
78
  padding: var(--padding-default) var(--padding-wide);
79
79
  border-top: 2px solid rgba(0, 0, 0, 0.2);
80
- background-color: var(--theme-white-color);
80
+ background-color: var(--md-sys-color-surface);
81
81
  box-shadow: var(--box-shadow);
82
82
  }
83
83