@vendorflow/components 2.0.49 → 2.0.50

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.
@@ -1,8 +1,4 @@
1
1
  "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
2
  var __assign = (this && this.__assign) || function () {
7
3
  __assign = Object.assign || function(t) {
8
4
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -30,8 +26,8 @@ function ActionsMenu() {
30
26
  var popupId = (0, react_2.useRef)(short_uuid_1.default.generate());
31
27
  var popupState = (0, hooks_1.usePopupState)({ variant: 'popover', popupId: popupId.current });
32
28
  return ((0, react_1.jsx)("div", null,
33
- (0, react_1.jsx)(material_1.Tooltip, { css: (0, react_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-size: 0.875rem;\n background-color: #555;\n "], ["\n font-size: 0.875rem;\n background-color: #555;\n "]))), placement: "top", title: "Actions" },
34
- (0, react_1.jsx)(material_1.IconButton, __assign({ css: (0, react_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n && {\n background-color: transparent;\n }\n "], ["\n && {\n background-color: transparent;\n }\n "]))) }, (0, hooks_1.bindTrigger)(popupState)),
29
+ (0, react_1.jsx)(material_1.Tooltip, { placement: "top", title: "Actions" },
30
+ (0, react_1.jsx)(material_1.IconButton, __assign({}, (0, hooks_1.bindTrigger)(popupState)),
35
31
  (0, react_1.jsx)(icons_material_1.MapsUgc, null))),
36
32
  (0, react_1.jsx)(material_1.Menu, __assign({}, (0, hooks_1.bindMenu)(popupState), { anchorOrigin: { vertical: 'top', horizontal: 'left' }, transformOrigin: { vertical: 'bottom', horizontal: 'right' } }),
37
33
  (0, react_1.jsx)(material_1.MenuItem, null, "Template 1"),
@@ -39,4 +35,3 @@ function ActionsMenu() {
39
35
  (0, react_1.jsx)(material_1.MenuItem, null, "Template 3"))));
40
36
  }
41
37
  exports.default = ActionsMenu;
42
- var templateObject_1, templateObject_2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendorflow/components",
3
- "version": "2.0.49",
3
+ "version": "2.0.50",
4
4
  "description": "React components for vendorflow",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",