@epilot/base-elements 3.9.8 → 3.9.9

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,4 +1,5 @@
1
1
  import React from 'react';
2
- export declare const TreeView: React.MemoExoticComponent<(props: any) => JSX.Element>;
3
- export declare const TreeItem: React.MemoExoticComponent<(props: any) => JSX.Element>;
2
+ declare const TreeItem: React.MemoExoticComponent<(props: any) => JSX.Element>;
3
+ declare const TreeView: React.MemoExoticComponent<(props: any) => JSX.Element>;
4
4
  export declare const useTreeItemStyles: (props?: any) => Record<"group" | "label" | "root" | "selected" | "content" | "expanded", string>;
5
+ export { TreeItem, TreeView };
package/dist/Tree/Tree.js CHANGED
@@ -1,14 +1,11 @@
1
1
  "use strict";
2
2
  exports.__esModule = true;
3
- exports.useTreeItemStyles = exports.TreeItem = exports.TreeView = void 0;
3
+ exports.TreeView = exports.TreeItem = exports.useTreeItemStyles = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var core_1 = require("@material-ui/core");
6
6
  var lab_1 = require("@material-ui/lab");
7
7
  var react_1 = tslib_1.__importStar(require("react"));
8
- exports.TreeView = react_1.memo(function (props) {
9
- return react_1["default"].createElement(lab_1.TreeView, tslib_1.__assign({}, props));
10
- });
11
- exports.TreeItem = react_1.memo(function (props) {
8
+ var TreeItem = react_1.memo(function (props) {
12
9
  var classes = exports.useTreeItemStyles();
13
10
  return (react_1["default"].createElement(lab_1.TreeItem, tslib_1.__assign({ classes: {
14
11
  root: classes.root,
@@ -19,6 +16,13 @@ exports.TreeItem = react_1.memo(function (props) {
19
16
  label: classes.label
20
17
  } }, props)));
21
18
  });
19
+ exports.TreeItem = TreeItem;
20
+ TreeItem.displayName = 'TreeItem';
21
+ var TreeView = react_1.memo(function (props) {
22
+ return react_1["default"].createElement(lab_1.TreeView, tslib_1.__assign({}, props));
23
+ });
24
+ exports.TreeView = TreeView;
25
+ TreeView.displayName = 'TreeView';
22
26
  exports.useTreeItemStyles = core_1.makeStyles(function (theme) {
23
27
  return core_1.createStyles({
24
28
  root: {
@@ -55,6 +59,4 @@ exports.useTreeItemStyles = core_1.makeStyles(function (theme) {
55
59
  }
56
60
  });
57
61
  });
58
- exports.TreeView.displayName = 'TreeView';
59
- exports.TreeItem.displayName = 'TreeItem';
60
62
  //# sourceMappingURL=Tree.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tree.js","sourceRoot":"","sources":["../../src/Tree/Tree.tsx"],"names":[],"mappings":";;;;AAAA,0CAA4D;AAC5D,wCAGyB;AACzB,qDAAmC;AAEtB,QAAA,QAAQ,GAAG,YAAI,CAAC,UAAC,KAAU;IACtC,OAAO,iCAAC,cAAW,uBAAK,KAAK,EAAI,CAAA;AACnC,CAAC,CAAC,CAAA;AAEW,QAAA,QAAQ,GAAG,YAAI,CAAC,UAAC,KAAU;IACtC,IAAM,OAAO,GAAG,yBAAiB,EAAE,CAAA;IAEnC,OAAO,CACL,iCAAC,cAAW,qBACV,OAAO,EAAE;YACP,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,QAAQ,EAAE,OAAO,CAAC,QAAQ;YAC1B,QAAQ,EAAE,OAAO,CAAC,QAAQ;YAC1B,KAAK,EAAE,OAAO,CAAC,KAAK;YACpB,KAAK,EAAE,OAAO,CAAC,KAAK;SACrB,IACG,KAAK,EACT,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEW,QAAA,iBAAiB,GAAG,iBAAU,CAAC,UAAA,KAAK;IAC/C,OAAA,mBAAY,CAAC;QACX,IAAI,EAAE;YACJ,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO;YACjC,oFAAoF,EAClF;gBACE,eAAe,EAAE,wBAAwB;aAC1C;SACJ;QACD,OAAO,EAAE;YACP,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO;YACjC,oBAAoB,EAAE,KAAK,CAAC,OAA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CACH,CAAA"}
@@ -1 +1 @@
1
- export { TreeItem, TreeView } from './Tree';
1
+ export * from './Tree';
@@ -1,14 +1,5 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
2
  exports.__esModule = true;
10
- exports.TreeView = exports.TreeItem = void 0;
11
- var Tree_1 = require("./Tree");
12
- __createBinding(exports, Tree_1, "TreeItem");
13
- __createBinding(exports, Tree_1, "TreeView");
3
+ var tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Tree"), exports);
14
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Tree/index.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,+BAA2C;AAAlC,6CAAQ;AAAE,6CAAQ"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Tree/index.ts"],"names":[],"mappings":";;;AAAA,iDAAsB"}