tenjin-ui-kit 0.2.110 → 0.2.114

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.
Files changed (107) hide show
  1. package/README.md +13 -13
  2. package/{dist/components → components}/RightContext/index.css +20 -20
  3. package/{dist/components → components}/browsingTestCaseLayout/TreeViewLayout/TreeViewContent/Index.js +6 -2
  4. package/{dist/components → components}/browsingTestCaseLayout/style.css +82 -82
  5. package/{dist/components → components}/paper/index.js +8 -3
  6. package/{dist/components → components}/paper/style.js +15 -0
  7. package/{dist/components → components}/tree/index.js +22 -17
  8. package/package.json +118 -117
  9. package/.dockerignore +0 -6
  10. package/.storybook/main.js +0 -16
  11. package/.storybook/preview.js +0 -11
  12. package/Dockerfile +0 -17
  13. package/Jenkinsfile +0 -65
  14. package/dist/README.md +0 -13
  15. package/dist/package.json +0 -117
  16. package/public/favicon.ico +0 -0
  17. package/public/index.html +0 -43
  18. package/public/logo192.png +0 -0
  19. package/public/logo512.png +0 -0
  20. package/public/manifest.json +0 -25
  21. package/public/robots.txt +0 -3
  22. package/public/tenjinLogo.png +0 -0
  23. /package/{dist/common → common}/hooks/apiHooks.js +0 -0
  24. /package/{dist/common → common}/hooks/newApiHook.js +0 -0
  25. /package/{dist/common → common}/utils/security/index.js +0 -0
  26. /package/{dist/common → common}/utils/security/securityConfig.js +0 -0
  27. /package/{dist/components → components}/Canvas.js +0 -0
  28. /package/{dist/components → components}/DragBox/index.js +0 -0
  29. /package/{dist/components → components}/InputWithChip/index.js +0 -0
  30. /package/{dist/components → components}/RightContext/index.js +0 -0
  31. /package/{dist/components → components}/WorkFlow.js +0 -0
  32. /package/{dist/components → components}/WorkFlowBuilder.js +0 -0
  33. /package/{dist/components → components}/alert/Style.js +0 -0
  34. /package/{dist/components → components}/alert/index.js +0 -0
  35. /package/{dist/components → components}/authenticationProvider/AuthError.js +0 -0
  36. /package/{dist/components → components}/authenticationProvider/AuthLoader.js +0 -0
  37. /package/{dist/components → components}/authenticationProvider/index.js +0 -0
  38. /package/{dist/components → components}/avatar/index.js +0 -0
  39. /package/{dist/components → components}/avatar/styles.js +0 -0
  40. /package/{dist/components → components}/breadCrumbs/index.js +0 -0
  41. /package/{dist/components → components}/breadCrumbs/style.js +0 -0
  42. /package/{dist/components → components}/browsingTestCaseLayout/DetailsViewLayout/DetailsViewContent/index.js +0 -0
  43. /package/{dist/components → components}/browsingTestCaseLayout/DetailsViewLayout/DetailsViewContent/style.js +0 -0
  44. /package/{dist/components → components}/browsingTestCaseLayout/DetailsViewLayout/DetailsViewHeader/index.js +0 -0
  45. /package/{dist/components → components}/browsingTestCaseLayout/TreeViewLayout/TreeViewHeader/Index.js +0 -0
  46. /package/{dist/components → components}/browsingTestCaseLayout/TreeViewLayout/TreeViewHeader/style.js +0 -0
  47. /package/{dist/components → components}/browsingTestCaseLayout/index.js +0 -0
  48. /package/{dist/components → components}/button/index.js +0 -0
  49. /package/{dist/components → components}/checkBox/index.js +0 -0
  50. /package/{dist/components → components}/divider/index.js +0 -0
  51. /package/{dist/components → components}/editableField/index.js +0 -0
  52. /package/{dist/components → components}/errorBoundary/Error.jpg +0 -0
  53. /package/{dist/components → components}/errorBoundary/index.js +0 -0
  54. /package/{dist/components → components}/fileUploader/index.js +0 -0
  55. /package/{dist/components → components}/fileUploader/style.js +0 -0
  56. /package/{dist/components → components}/iconButton/index.js +0 -0
  57. /package/{dist/components → components}/iconButton/style.js +0 -0
  58. /package/{dist/components → components}/input/index.js +0 -0
  59. /package/{dist/components → components}/layout/index.js +0 -0
  60. /package/{dist/components → components}/layout/main/index.js +0 -0
  61. /package/{dist/components → components}/layout/main/style.js +0 -0
  62. /package/{dist/components → components}/layout/pageContent/index.js +0 -0
  63. /package/{dist/components → components}/layout/sidebar/FlatMenu.js +0 -0
  64. /package/{dist/components → components}/layout/sidebar/GroupedMenu.js +0 -0
  65. /package/{dist/components → components}/layout/sidebar/ProjectMenu.js +0 -0
  66. /package/{dist/components → components}/layout/sidebar/index.js +0 -0
  67. /package/{dist/components → components}/layout/sidebar/style.js +0 -0
  68. /package/{dist/components → components}/layout/topBar/ProjectTopbar.js +0 -0
  69. /package/{dist/components → components}/layout/topBar/UserAvatar.js +0 -0
  70. /package/{dist/components → components}/layout/topBar/index.js +0 -0
  71. /package/{dist/components → components}/loader/index.js +0 -0
  72. /package/{dist/components → components}/modal/Modal.js +0 -0
  73. /package/{dist/components → components}/modal/index.js +0 -0
  74. /package/{dist/components → components}/modal/style.js +0 -0
  75. /package/{dist/components → components}/pagination/index.js +0 -0
  76. /package/{dist/components → components}/pagination/style.js +0 -0
  77. /package/{dist/components → components}/richTextEditor/index.js +0 -0
  78. /package/{dist/components → components}/richTextEditor/style.js +0 -0
  79. /package/{dist/components → components}/select/index.js +0 -0
  80. /package/{dist/components → components}/switch/index.js +0 -0
  81. /package/{dist/components → components}/switch/style.js +0 -0
  82. /package/{dist/components → components}/switch/switch.js +0 -0
  83. /package/{dist/components → components}/table/index.js +0 -0
  84. /package/{dist/components → components}/text/index.js +0 -0
  85. /package/{dist/components → components}/timeStamp/index.js +0 -0
  86. /package/{dist/components → components}/timeStamp/style.js +0 -0
  87. /package/{dist/components → components}/topBar/index.js +0 -0
  88. /package/{dist/components → components}/tree/style.js +0 -0
  89. /package/{dist/components → components}/valuePicker/ValueSelector.js +0 -0
  90. /package/{dist/components → components}/valuePicker/index.js +0 -0
  91. /package/{dist/components → components}/wrapperLayout/layout/index.js +0 -0
  92. /package/{dist/components → components}/wrapperLayout/layout/style.js +0 -0
  93. /package/{dist/components → components}/wrapperLayout/main/index.js +0 -0
  94. /package/{dist/components → components}/wrapperLayout/main/pageContainer/index.js +0 -0
  95. /package/{dist/components → components}/wrapperLayout/main/sideBar/index.js +0 -0
  96. /package/{dist/components → components}/wrapperLayout/main/sideBar/style.js +0 -0
  97. /package/{dist/components → components}/wrapperLayout/topBar/UserAvatar.js +0 -0
  98. /package/{dist/components → components}/wrapperLayout/topBar/avatar.js +0 -0
  99. /package/{dist/components → components}/wrapperLayout/topBar/index.js +0 -0
  100. /package/{dist/components → components}/wrapperLayout/topBar/menuIcon.js +0 -0
  101. /package/{dist/components → components}/wrapperLayout/topBar/style.js +0 -0
  102. /package/{dist/http → http}/index.js +0 -0
  103. /package/{dist/index.js → index.js} +0 -0
  104. /package/{dist/templates → templates}/listPage/index.js +0 -0
  105. /package/{dist/themes → themes}/default.js +0 -0
  106. /package/{dist/themes → themes}/defaultSmall.js +0 -0
  107. /package/{dist/themes → themes}/responsiveTheme.js +0 -0
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
- # Tenjin UI Kit
2
-
3
- The Tenjin UI kit ships a set of pre-built components that can be used while building user interfaces for Tenjin.
4
-
5
- ## Installation
6
-
7
- In the project directory, you can run:
8
-
9
- npm install tenjin-ui-kit
10
-
11
- ## Usage
12
-
13
- The [Tenjin UI Kit](https://tenjin-ui-kit.netlify.app) storybook gives clear documentation on how to use the Tenjin UI Kit.
1
+ # Tenjin UI Kit
2
+
3
+ The Tenjin UI kit ships a set of pre-built components that can be used while building user interfaces for Tenjin.
4
+
5
+ ## Installation
6
+
7
+ In the project directory, you can run:
8
+
9
+ npm install tenjin-ui-kit
10
+
11
+ ## Usage
12
+
13
+ The [Tenjin UI Kit](https://tenjin-ui-kit.netlify.app) storybook gives clear documentation on how to use the Tenjin UI Kit.
@@ -1,20 +1,20 @@
1
- .contextContainer {
2
- z-index: 1;
3
- width: 100%;
4
- height: 500px;
5
- background: #673ab7;
6
- }
7
- .rightClick {
8
- z-index: 12;
9
- position: fixed;
10
- background: rgb(240, 200, 1);
11
- }
12
- .menuElement {
13
- color: #222222;
14
- cursor: pointer;
15
- padding: 17px 36px;
16
- }
17
- .menuElement:hover {
18
- color: #fff;
19
- background: #009688;
20
- }
1
+ .contextContainer {
2
+ z-index: 1;
3
+ width: 100%;
4
+ height: 500px;
5
+ background: #673ab7;
6
+ }
7
+ .rightClick {
8
+ z-index: 12;
9
+ position: fixed;
10
+ background: rgb(240, 200, 1);
11
+ }
12
+ .menuElement {
13
+ color: #222222;
14
+ cursor: pointer;
15
+ padding: 17px 36px;
16
+ }
17
+ .menuElement:hover {
18
+ color: #fff;
19
+ background: #009688;
20
+ }
@@ -10,11 +10,15 @@ var _tree = _interopRequireDefault(require("../../../tree"));
10
10
  var _default2 = _interopRequireDefault(require("../../../../themes/default"));
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
12
  var TreeViewContent = function TreeViewContent(props) {
13
- var folder = props.folder;
13
+ var folder = props.folder,
14
+ projectName = props.projectName,
15
+ apiCallFunc = props.apiCallFunc;
14
16
  return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_material.ThemeProvider, {
15
17
  theme: _default2.default
16
18
  }, /*#__PURE__*/_react.default.createElement(_material.CssBaseline, null), /*#__PURE__*/_react.default.createElement(_tree.default, {
17
- folder: folder
19
+ folder: folder,
20
+ projectName: projectName,
21
+ apiCallFunc: apiCallFunc
18
22
  })));
19
23
  };
20
24
  TreeViewContent.propTypes = {};
@@ -1,82 +1,82 @@
1
- :root {
2
- --box-width: 200px;
3
- }
4
-
5
- body {
6
- margin: 40px;
7
- }
8
-
9
- .wrapper {
10
- background-color: #fff;
11
- color: #444;
12
- display: flex;
13
- }
14
-
15
- .box {
16
- background-color: #444;
17
- color: #fff;
18
- border-radius: 5px;
19
- padding: 20px;
20
- font-size: 12px;
21
-
22
- box-sizing: border-box;
23
-
24
- flex: 1 1 auto;
25
- }
26
-
27
- .handler {
28
- width: 20px;
29
- padding: 0;
30
- cursor: ew-resize;
31
- flex: 0 0 auto;
32
- }
33
-
34
- .handler::before {
35
- content: "";
36
- display: block;
37
- width: 2px;
38
- height: calc(100vh - 34px);
39
- background: #c0c0c0;
40
- margin: 0 auto;
41
- }
42
-
43
- .arrowButton {
44
- display: flex;
45
- justify-content: flex-end;
46
- /* transition: 0.4s; */
47
- width: 100%;
48
- }
49
-
50
- .verticalText {
51
- display: flex;
52
- flex-direction: column;
53
- justify-content: center;
54
- writing-mode: vertical-lr;
55
- text-orientation: mixed;
56
- transform: rotate(180deg);
57
- font-size: 1.3rem;
58
- }
59
-
60
- .leftWrapper {
61
- background-color: #fff;
62
- color: black;
63
- border-radius: 5px;
64
- padding: 0rem 0.5rem;
65
- font-size: 12px;
66
- box-sizing: border-box;
67
- flex: 1 1 auto;
68
- min-width: var(--box-width);
69
- flex-grow: 0;
70
- }
71
-
72
- .rightWrapper {
73
- background-color: #fff;
74
- color: black;
75
- border-radius: 5px;
76
- padding: 0rem 0.5rem;
77
- font-size: 12px;
78
- box-sizing: border-box;
79
- flex: 1 1 auto;
80
- min-width: var(--box-width);
81
- flex-grow: 1;
82
- }
1
+ :root {
2
+ --box-width: 200px;
3
+ }
4
+
5
+ body {
6
+ margin: 40px;
7
+ }
8
+
9
+ .wrapper {
10
+ background-color: #fff;
11
+ color: #444;
12
+ display: flex;
13
+ }
14
+
15
+ .box {
16
+ background-color: #444;
17
+ color: #fff;
18
+ border-radius: 5px;
19
+ padding: 20px;
20
+ font-size: 12px;
21
+
22
+ box-sizing: border-box;
23
+
24
+ flex: 1 1 auto;
25
+ }
26
+
27
+ .handler {
28
+ width: 20px;
29
+ padding: 0;
30
+ cursor: ew-resize;
31
+ flex: 0 0 auto;
32
+ }
33
+
34
+ .handler::before {
35
+ content: "";
36
+ display: block;
37
+ width: 2px;
38
+ height: calc(100vh - 34px);
39
+ background: #c0c0c0;
40
+ margin: 0 auto;
41
+ }
42
+
43
+ .arrowButton {
44
+ display: flex;
45
+ justify-content: flex-end;
46
+ /* transition: 0.4s; */
47
+ width: 100%;
48
+ }
49
+
50
+ .verticalText {
51
+ display: flex;
52
+ flex-direction: column;
53
+ justify-content: center;
54
+ writing-mode: vertical-lr;
55
+ text-orientation: mixed;
56
+ transform: rotate(180deg);
57
+ font-size: 1.3rem;
58
+ }
59
+
60
+ .leftWrapper {
61
+ background-color: #fff;
62
+ color: black;
63
+ border-radius: 5px;
64
+ padding: 0rem 0.5rem;
65
+ font-size: 12px;
66
+ box-sizing: border-box;
67
+ flex: 1 1 auto;
68
+ min-width: var(--box-width);
69
+ flex-grow: 0;
70
+ }
71
+
72
+ .rightWrapper {
73
+ background-color: #fff;
74
+ color: black;
75
+ border-radius: 5px;
76
+ padding: 0rem 0.5rem;
77
+ font-size: 12px;
78
+ box-sizing: border-box;
79
+ flex: 1 1 auto;
80
+ min-width: var(--box-width);
81
+ flex-grow: 1;
82
+ }
@@ -11,7 +11,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
  var _clsx2 = _interopRequireDefault(require("clsx"));
12
12
  var _react = _interopRequireDefault(require("react"));
13
13
  var _style = _interopRequireDefault(require("./style"));
14
- var _excluded = ["className", "sx", "children", "loading", "fullHeight"];
14
+ var _excluded = ["className", "sx", "children", "loading", "fullHeight", "position"];
15
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
16
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
17
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
@@ -25,15 +25,20 @@ var Paper = function Paper(_ref) {
25
25
  children = _ref.children,
26
26
  loading = _ref.loading,
27
27
  fullHeight = _ref.fullHeight,
28
+ position = _ref.position,
28
29
  rest = _objectWithoutProperties(_ref, _excluded);
29
30
  var classes = (0, _style.default)();
30
31
  return /*#__PURE__*/_react.default.createElement(_material.Paper, {
31
- className: (0, _clsx2.default)((_clsx = {}, _defineProperty(_clsx, classes.paper, true), _defineProperty(_clsx, classes.fullHeight, fullHeight), _defineProperty(_clsx, className, true), _clsx)),
32
+ className: (0, _clsx2.default)((_clsx = {}, _defineProperty(_clsx, classes.paper, true), _defineProperty(_clsx, classes.fullHeight, fullHeight), _defineProperty(_clsx, className, true), _defineProperty(_clsx, classes[position], true), _clsx)),
32
33
  sx: sx
33
34
  }, loading ? /*#__PURE__*/_react.default.createElement(_loader.default, null) : children);
34
35
  };
35
36
  Paper.propTypes = {
36
- loading: _propTypes.default.bool
37
+ loading: _propTypes.default.bool,
38
+ position: _propTypes.default.oneOf(["static", "relative", "fixed", "absolute", "sticky"])
39
+ };
40
+ Paper.defaultProps = {
41
+ position: "static"
37
42
  };
38
43
  var _default = Paper;
39
44
  exports.default = _default;
@@ -13,6 +13,21 @@ var _default = (0, _styles.makeStyles)(function (theme) {
13
13
  },
14
14
  fullHeight: {
15
15
  height: "100%"
16
+ },
17
+ relative: {
18
+ position: "relative"
19
+ },
20
+ fixed: {
21
+ position: "fixed"
22
+ },
23
+ static: {
24
+ position: "static"
25
+ },
26
+ sticky: {
27
+ position: "sticky"
28
+ },
29
+ absolute: {
30
+ position: "absolute"
16
31
  }
17
32
  };
18
33
  });
@@ -38,7 +38,9 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
38
38
  // color: '#90a17d'
39
39
 
40
40
  function Tree(props) {
41
- var folder = props.folder;
41
+ var folder = props.folder,
42
+ projectName = props.projectName,
43
+ apiCallFunc = props.apiCallFunc;
42
44
  var _React$useState = React.useState(null),
43
45
  _React$useState2 = _slicedToArray(_React$useState, 2),
44
46
  contextMenu = _React$useState2[0],
@@ -80,26 +82,26 @@ function Tree(props) {
80
82
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_material.ThemeProvider, {
81
83
  theme: _default.default
82
84
  }, /*#__PURE__*/React.createElement(_material.CssBaseline, null), /*#__PURE__*/React.createElement(React.Fragment, {
83
- key: nodes.nodeId
85
+ key: nodes.folderId
84
86
  }, /*#__PURE__*/React.createElement("div", {
85
87
  style: {
86
88
  marginBottom: isFirstLevel ? "8px" : null
87
89
  }
88
90
  }, /*#__PURE__*/React.createElement(_TreeItem.default, {
89
- key: nodes.nodeId,
90
- nodeId: nodes.nodeId,
91
+ key: nodes.folderId,
92
+ nodeId: nodes.folderId,
91
93
  onClick: function onClick() {
92
- var isExpanded = expandedNodeIds.includes(nodes.nodeId);
94
+ var isExpanded = expandedNodeIds.includes(nodes.folderId);
93
95
  if (isExpanded) {
94
96
  setExpandedNodeIds(expandedNodeIds.filter(function (id) {
95
- return id !== nodes.nodeId;
97
+ return id !== nodes.folderId;
96
98
  }));
97
99
  } else {
98
100
  var parent = getParentNode(nodes, folder);
99
101
  if (parent) {
100
- setExpandedNodeIds([].concat(_toConsumableArray(expandedNodeIds), [parent.nodeId, nodes.nodeId]));
102
+ setExpandedNodeIds([].concat(_toConsumableArray(expandedNodeIds), [parent.folderId, nodes.folderId]));
101
103
  } else {
102
- setExpandedNodeIds([].concat(_toConsumableArray(expandedNodeIds), [nodes.nodeId]));
104
+ setExpandedNodeIds([].concat(_toConsumableArray(expandedNodeIds), [nodes.folderId]));
103
105
  }
104
106
  }
105
107
  },
@@ -111,19 +113,22 @@ function Tree(props) {
111
113
  }, /*#__PURE__*/React.createElement(_material.Typography, {
112
114
  style: {
113
115
  // fontWeight: isFirstLevel ? 500 : "initial",
114
- fontWeight: nodes.type === "project" ? 600 : nodes.type === "module" ? 600 : 500,
116
+ fontWeight: nodes.classificationType === "project" ? 600 : nodes.classificationType === "module" ? 600 : 500,
115
117
  // fontSize: "1rem",
116
- fontSize: nodes.type === "project" ? "1rem" : nodes.type === "module" ? "1rem" : "0.92rem",
118
+ fontSize: nodes.classificationType === "project" ? "1rem" : nodes.classificationType === "module" ? "1rem" : "0.92rem",
117
119
  fontFamily: "sans-serif segoe ui",
118
- padding: nodes.type === "sc" ? "inherit" : "6px"
120
+ padding: nodes.classificationType === "sc" ? "inherit" : "6px"
121
+ },
122
+ onClick: function onClick() {
123
+ return apiCallFunc(nodes.folderId);
119
124
  }
120
- }, nodes.type === "project" ? expandedNodeIds.includes(nodes.nodeId) ?
125
+ }, nodes.classificationType === "project" ? expandedNodeIds.includes(nodes.nodeId) ?
121
126
  /*#__PURE__*/
122
127
  // <FcOpenedFolder style={{ marginRight: "10px" }} />
123
128
  React.createElement(React.Fragment, null) :
124
129
  /*#__PURE__*/
125
130
  // <FcFolder style={{ marginRight: "10px" }} />
126
- React.createElement(React.Fragment, null) : nodes.type === "module" ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_bi.BiMicrochip, {
131
+ React.createElement(React.Fragment, null) : nodes.classificationType === "module" ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_bi.BiMicrochip, {
127
132
  style: {
128
133
  marginRight: "10px",
129
134
  color: "#03c988"
@@ -133,7 +138,7 @@ function Tree(props) {
133
138
  marginRight: "10px",
134
139
  color: "#90a17d"
135
140
  }
136
- }) : nodes.type === "bp" ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_bs.BsFillBriefcaseFill, {
141
+ }) : nodes.classificationType === "bp" ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_bs.BsFillBriefcaseFill, {
137
142
  style: {
138
143
  marginRight: "10px",
139
144
  color: "#03c988"
@@ -143,7 +148,7 @@ function Tree(props) {
143
148
  marginRight: "10px",
144
149
  color: "#90a17d"
145
150
  }
146
- }) : nodes.type === "sc" ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_fa.FaClipboardList, {
151
+ }) : nodes.classificationType === "sc" ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_fa.FaClipboardList, {
147
152
  style: {
148
153
  marginRight: "10px",
149
154
  color: "#03c988"
@@ -165,7 +170,7 @@ function Tree(props) {
165
170
  }
166
171
  }), nodes.name)),
167
172
  onContextMenu: function onContextMenu(event) {
168
- return handleContextMenu(event, nodes.nodeId);
173
+ return handleContextMenu(event, nodes.folderId);
169
174
  }
170
175
  }, Array.isArray(nodes.children) ? nodes.children.map(function (node) {
171
176
  return renderTree(node, false);
@@ -178,7 +183,7 @@ function Tree(props) {
178
183
  style: {
179
184
  cursor: "context-menu"
180
185
  }
181
- }, /*#__PURE__*/React.createElement(_TreeView.default, {
186
+ }, /*#__PURE__*/React.createElement("h3", null, projectName), /*#__PURE__*/React.createElement(_TreeView.default, {
182
187
  "aria-label": "multi-select",
183
188
  defaultCollapseIcon: /*#__PURE__*/React.createElement(_ExpandMore.default, null),
184
189
  defaultExpandIcon: /*#__PURE__*/React.createElement(_ChevronRight.default, null),
package/package.json CHANGED
@@ -1,117 +1,118 @@
1
- {
2
- "name": "tenjin-ui-kit",
3
- "version": "0.2.110",
4
- "repository": {
5
- "url": "https://gitlab.com/yethi/react/tenjin-ui-kit.git"
6
- },
7
- "dependencies": {
8
- "@floating-ui/dom": "^1.2.1",
9
- "@mantine/core": "^5.10.1",
10
- "@mantine/hooks": "^5.10.1",
11
- "@mantine/rte": "^5.10.1",
12
- "@mui/icons-material": "^5.11.0",
13
- "@mui/lab": "^5.0.0-alpha.116",
14
- "@mui/styles": "^5.11.2",
15
- "@testing-library/jest-dom": "^5.16.5",
16
- "@testing-library/react": "^13.4.0",
17
- "@testing-library/user-event": "^13.5.0",
18
- "aria-hidden": "^1.2.2",
19
- "axios": "^0.26.0",
20
- "clsx": "^1.2.1",
21
- "d3-hierarchy": "^3.1.2",
22
- "feather-icons": "^4.29.0",
23
- "final-form": "^4.20.9",
24
- "material-ui-popup-state": "^5.0.8",
25
- "moment": "^2.29.4",
26
- "react-beautiful-dnd": "^13.1.1",
27
- "react-dnd": "^16.0.1",
28
- "react-dnd-html5-backend": "^16.0.1",
29
- "react-dropzone": "^14.2.3",
30
- "react-feather": "^2.0.10",
31
- "react-final-form": "^6.5.9",
32
- "react-flow-renderer": "^10.3.17",
33
- "react-icons": "^4.7.1",
34
- "react-moment": "^1.1.3",
35
- "react-scripts": "5.0.1",
36
- "react-sortable-hoc": "^2.0.0",
37
- "reactflow": "^11.6.1",
38
- "storybook-react-context": "^0.6.0",
39
- "styled-components": "^5.3.9",
40
- "web-vitals": "^2.1.4"
41
- },
42
- "scripts": {
43
- "start": "react-scripts start",
44
- "build": "react-scripts build",
45
- "test": "react-scripts test",
46
- "eject": "react-scripts eject",
47
- "storybook": "start-storybook -p 6006 -s public",
48
- "build-storybook": "build-storybook -s public",
49
- "clean": "rimraf dist",
50
- "compile": "npm run clean && cross-env NODE_ENV=production babel src/package --out-dir dist --copy-files --ignore __tests__,spec.js,test.js,stories.js,__snapshots__"
51
- },
52
- "eslintConfig": {
53
- "extends": [
54
- "react-app",
55
- "react-app/jest"
56
- ],
57
- "overrides": [
58
- {
59
- "files": [
60
- "**/*.stories.*"
61
- ],
62
- "rules": {
63
- "import/no-anonymous-default-export": "off"
64
- }
65
- }
66
- ]
67
- },
68
- "browserslist": {
69
- "production": [
70
- ">0.2%",
71
- "not dead",
72
- "not op_mini all"
73
- ],
74
- "development": [
75
- "last 1 chrome version",
76
- "last 1 firefox version",
77
- "last 1 safari version"
78
- ]
79
- },
80
- "devDependencies": {
81
- "@babel/cli": "^7.20.7",
82
- "@babel/preset-env": "^7.20.2",
83
- "@babel/preset-react": "^7.18.6",
84
- "@emotion/react": "^11.10.5",
85
- "@emotion/styled": "^11.10.5",
86
- "@mui/material": "^5.11.3",
87
- "@storybook/addon-actions": "^6.5.15",
88
- "@storybook/addon-essentials": "^6.5.15",
89
- "@storybook/addon-interactions": "^6.5.15",
90
- "@storybook/addon-links": "^6.5.15",
91
- "@storybook/builder-webpack5": "^6.5.15",
92
- "@storybook/manager-webpack5": "^6.5.15",
93
- "@storybook/node-logger": "^6.5.15",
94
- "@storybook/preset-create-react-app": "^4.1.2",
95
- "@storybook/react": "^6.5.15",
96
- "@storybook/testing-library": "^0.0.13",
97
- "babel-plugin-named-exports-order": "^0.0.2",
98
- "cross-env": "^7.0.3",
99
- "prop-types": "^15.8.1",
100
- "react": "^18.2.0",
101
- "react-dom": "^18.2.0",
102
- "react-router-dom": "^6.6.1",
103
- "rimraf": "^3.0.2",
104
- "webpack": "^5.75.0"
105
- },
106
- "peerDependencies": {
107
- "@emotion/react": "^11.10.5",
108
- "@emotion/styled": "^11.10.5",
109
- "@mui/material": "^5.11.3",
110
- "@testing-library/jest-dom": "^5.16.5",
111
- "@testing-library/react": "^13.4.0",
112
- "@testing-library/user-event": "^13.5.0",
113
- "react": "^18.2.0",
114
- "react-dom": "^18.2.0",
115
- "react-router-dom": "^6.6.1"
116
- }
117
- }
1
+ {
2
+ "name": "tenjin-ui-kit",
3
+ "version": "0.2.114",
4
+ "repository": {
5
+ "url": "https://gitlab.com/yethi/react/tenjin-ui-kit.git"
6
+ },
7
+ "dependencies": {
8
+ "@floating-ui/dom": "^1.2.1",
9
+ "@mantine/core": "^5.10.1",
10
+ "@mantine/hooks": "^5.10.1",
11
+ "@mantine/rte": "^5.10.1",
12
+ "@mui/icons-material": "^5.11.0",
13
+ "@mui/lab": "^5.0.0-alpha.116",
14
+ "@mui/styles": "^5.11.2",
15
+ "@testing-library/jest-dom": "^5.16.5",
16
+ "@testing-library/react": "^13.4.0",
17
+ "@testing-library/user-event": "^13.5.0",
18
+ "aria-hidden": "^1.2.2",
19
+ "axios": "^0.26.0",
20
+ "clsx": "^1.2.1",
21
+ "d3-hierarchy": "^3.1.2",
22
+ "feather-icons": "^4.29.0",
23
+ "final-form": "^4.20.9",
24
+ "material-ui-popup-state": "^5.0.8",
25
+ "moment": "^2.29.4",
26
+ "react-beautiful-dnd": "^13.1.1",
27
+ "react-dnd": "^16.0.1",
28
+ "react-dnd-html5-backend": "^16.0.1",
29
+ "react-dropzone": "^14.2.3",
30
+ "react-feather": "^2.0.10",
31
+ "react-final-form": "^6.5.9",
32
+ "react-flow-renderer": "^10.3.17",
33
+ "react-icons": "^4.7.1",
34
+ "react-moment": "^1.1.3",
35
+ "react-scripts": "5.0.1",
36
+ "react-sortable-hoc": "^2.0.0",
37
+ "reactflow": "^11.6.1",
38
+ "storybook-react-context": "^0.6.0",
39
+ "styled-components": "^5.3.9",
40
+ "uuid": "^9.0.0",
41
+ "web-vitals": "^2.1.4"
42
+ },
43
+ "scripts": {
44
+ "start": "react-scripts start",
45
+ "build": "react-scripts build",
46
+ "test": "react-scripts test",
47
+ "eject": "react-scripts eject",
48
+ "storybook": "start-storybook -p 6006 -s public",
49
+ "build-storybook": "build-storybook -s public",
50
+ "clean": "rimraf dist",
51
+ "compile": "npm run clean && cross-env NODE_ENV=production babel src/package --out-dir dist --copy-files --ignore __tests__,spec.js,test.js,stories.js,__snapshots__"
52
+ },
53
+ "eslintConfig": {
54
+ "extends": [
55
+ "react-app",
56
+ "react-app/jest"
57
+ ],
58
+ "overrides": [
59
+ {
60
+ "files": [
61
+ "**/*.stories.*"
62
+ ],
63
+ "rules": {
64
+ "import/no-anonymous-default-export": "off"
65
+ }
66
+ }
67
+ ]
68
+ },
69
+ "browserslist": {
70
+ "production": [
71
+ ">0.2%",
72
+ "not dead",
73
+ "not op_mini all"
74
+ ],
75
+ "development": [
76
+ "last 1 chrome version",
77
+ "last 1 firefox version",
78
+ "last 1 safari version"
79
+ ]
80
+ },
81
+ "devDependencies": {
82
+ "@babel/cli": "^7.20.7",
83
+ "@babel/preset-env": "^7.20.2",
84
+ "@babel/preset-react": "^7.18.6",
85
+ "@emotion/react": "^11.10.5",
86
+ "@emotion/styled": "^11.10.5",
87
+ "@mui/material": "^5.11.3",
88
+ "@storybook/addon-actions": "^6.5.15",
89
+ "@storybook/addon-essentials": "^6.5.15",
90
+ "@storybook/addon-interactions": "^6.5.15",
91
+ "@storybook/addon-links": "^6.5.15",
92
+ "@storybook/builder-webpack5": "^6.5.15",
93
+ "@storybook/manager-webpack5": "^6.5.15",
94
+ "@storybook/node-logger": "^6.5.15",
95
+ "@storybook/preset-create-react-app": "^4.1.2",
96
+ "@storybook/react": "^6.5.15",
97
+ "@storybook/testing-library": "^0.0.13",
98
+ "babel-plugin-named-exports-order": "^0.0.2",
99
+ "cross-env": "^7.0.3",
100
+ "prop-types": "^15.8.1",
101
+ "react": "^18.2.0",
102
+ "react-dom": "^18.2.0",
103
+ "react-router-dom": "^6.6.1",
104
+ "rimraf": "^3.0.2",
105
+ "webpack": "^5.75.0"
106
+ },
107
+ "peerDependencies": {
108
+ "@emotion/react": "^11.10.5",
109
+ "@emotion/styled": "^11.10.5",
110
+ "@mui/material": "^5.11.3",
111
+ "@testing-library/jest-dom": "^5.16.5",
112
+ "@testing-library/react": "^13.4.0",
113
+ "@testing-library/user-event": "^13.5.0",
114
+ "react": "^18.2.0",
115
+ "react-dom": "^18.2.0",
116
+ "react-router-dom": "^6.6.1"
117
+ }
118
+ }
package/.dockerignore DELETED
@@ -1,6 +0,0 @@
1
- node_modules
2
- build
3
- .dockerignore
4
- Dockerfile
5
- Dockerfile.prod
6
- storybook-static