Add workflow menu to thread lists
This CL adds a MD3 menu button to the bulk actions bar in thread lists.
The menu will display the available workflows, but as of now it just
contains random items, and clicking the items doesn't work (this will be
implemented later).
This implementation has been done using the newly added @material/web
package, so the elix package has been removed from the project. This is
because @material/web also uses Material Design like the Community
Console.
Bug: twpowertools:74
Change-Id: Ifb3712c7afc024e21c7ff83fb77658cd8d08bc8a
diff --git a/package-lock.json b/package-lock.json
index 5b8f478..38826bd 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,8 +10,8 @@
"license": "MIT",
"dependencies": {
"@material/tooltip": "^12.0.0",
+ "@material/web": "^0.1.0-alpha.0",
"async-mutex": "^0.3.2",
- "elix": "^15.0.1",
"google-protobuf": "^3.19.3",
"grpc-web": "^1.2.1",
"idb": "^6.1.2",
@@ -207,6 +207,15 @@
"tslib": "^2.1.0"
}
},
+ "node_modules/@material/web": {
+ "version": "0.1.0-alpha.0",
+ "resolved": "https://registry.npmjs.org/@material/web/-/web-0.1.0-alpha.0.tgz",
+ "integrity": "sha512-GNsNyWOtYKezXwvrD1ZBfnOHClVya31ZEQH1O83+PsPqlVZK6cBfnf1cwJmEFQ6FezB6q6q+cHGGqx0lb90Jug==",
+ "dependencies": {
+ "lit": "^2.3.0",
+ "tslib": "^2.4.0"
+ }
+ },
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -769,11 +778,6 @@
"integrity": "sha512-X/6VRCXWALzdX+RjCtBU6cyg8WZgoxm9YA02COmDOiNJEZ59WkQggDbWZ4t/giHi/3GS+cvdrP6gbLISANAGYA==",
"dev": true
},
- "node_modules/elix": {
- "version": "15.0.1",
- "resolved": "https://registry.npmjs.org/elix/-/elix-15.0.1.tgz",
- "integrity": "sha512-hgL6EDdMO/JBJLmDfaM8AL0f3zQXDIwkjQEhaLi9OTLV+3q445ErkBZuHGK9UzAoIq3I062ldDXRX48l1vfqCg=="
- },
"node_modules/enhanced-resolve": {
"version": "5.8.2",
"resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.8.2.tgz",
@@ -2132,9 +2136,9 @@
}
},
"node_modules/tslib": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz",
- "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz",
+ "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ=="
},
"node_modules/uri-js": {
"version": "4.4.1",
@@ -2523,6 +2527,15 @@
"tslib": "^2.1.0"
}
},
+ "@material/web": {
+ "version": "0.1.0-alpha.0",
+ "resolved": "https://registry.npmjs.org/@material/web/-/web-0.1.0-alpha.0.tgz",
+ "integrity": "sha512-GNsNyWOtYKezXwvrD1ZBfnOHClVya31ZEQH1O83+PsPqlVZK6cBfnf1cwJmEFQ6FezB6q6q+cHGGqx0lb90Jug==",
+ "requires": {
+ "lit": "^2.3.0",
+ "tslib": "^2.4.0"
+ }
+ },
"@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -2981,11 +2994,6 @@
"integrity": "sha512-X/6VRCXWALzdX+RjCtBU6cyg8WZgoxm9YA02COmDOiNJEZ59WkQggDbWZ4t/giHi/3GS+cvdrP6gbLISANAGYA==",
"dev": true
},
- "elix": {
- "version": "15.0.1",
- "resolved": "https://registry.npmjs.org/elix/-/elix-15.0.1.tgz",
- "integrity": "sha512-hgL6EDdMO/JBJLmDfaM8AL0f3zQXDIwkjQEhaLi9OTLV+3q445ErkBZuHGK9UzAoIq3I062ldDXRX48l1vfqCg=="
- },
"enhanced-resolve": {
"version": "5.8.2",
"resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.8.2.tgz",
@@ -3939,9 +3947,9 @@
}
},
"tslib": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz",
- "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz",
+ "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ=="
},
"uri-js": {
"version": "4.4.1",