tenjin-ui-kit 0.2.101 → 0.2.103

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 (106) hide show
  1. package/{dist/components → components}/browsingTestCaseLayout/DetailsViewLayout/DetailsViewHeader/index.js +4 -4
  2. package/{dist/components → components}/browsingTestCaseLayout/TreeViewLayout/TreeViewHeader/Index.js +6 -5
  3. package/{dist/components → components}/tree/index.js +60 -60
  4. package/package.json +1 -1
  5. package/.dockerignore +0 -6
  6. package/.storybook/main.js +0 -16
  7. package/.storybook/preview.js +0 -11
  8. package/Dockerfile +0 -17
  9. package/Jenkinsfile +0 -69
  10. package/dist/README.md +0 -13
  11. package/dist/package.json +0 -117
  12. package/public/favicon.ico +0 -0
  13. package/public/index.html +0 -43
  14. package/public/logo192.png +0 -0
  15. package/public/logo512.png +0 -0
  16. package/public/manifest.json +0 -25
  17. package/public/robots.txt +0 -3
  18. package/public/tenjinLogo.png +0 -0
  19. /package/{dist/common → common}/hooks/apiHooks.js +0 -0
  20. /package/{dist/common → common}/hooks/newApiHook.js +0 -0
  21. /package/{dist/common → common}/utils/security/index.js +0 -0
  22. /package/{dist/common → common}/utils/security/securityConfig.js +0 -0
  23. /package/{dist/components → components}/Canvas.js +0 -0
  24. /package/{dist/components → components}/DragBox/index.js +0 -0
  25. /package/{dist/components → components}/InputWithChip/index.js +0 -0
  26. /package/{dist/components → components}/RightContext/index.css +0 -0
  27. /package/{dist/components → components}/RightContext/index.js +0 -0
  28. /package/{dist/components → components}/WorkFlow.js +0 -0
  29. /package/{dist/components → components}/WorkFlowBuilder.js +0 -0
  30. /package/{dist/components → components}/alert/Style.js +0 -0
  31. /package/{dist/components → components}/alert/index.js +0 -0
  32. /package/{dist/components → components}/authenticationProvider/AuthError.js +0 -0
  33. /package/{dist/components → components}/authenticationProvider/AuthLoader.js +0 -0
  34. /package/{dist/components → components}/authenticationProvider/index.js +0 -0
  35. /package/{dist/components → components}/avatar/index.js +0 -0
  36. /package/{dist/components → components}/avatar/styles.js +0 -0
  37. /package/{dist/components → components}/breadCrumbs/index.js +0 -0
  38. /package/{dist/components → components}/breadCrumbs/style.js +0 -0
  39. /package/{dist/components → components}/browsingTestCaseLayout/DetailsViewLayout/DetailsViewContent/index.js +0 -0
  40. /package/{dist/components → components}/browsingTestCaseLayout/DetailsViewLayout/DetailsViewContent/style.js +0 -0
  41. /package/{dist/components → components}/browsingTestCaseLayout/TreeViewLayout/TreeViewContent/Index.js +0 -0
  42. /package/{dist/components → components}/browsingTestCaseLayout/TreeViewLayout/TreeViewHeader/style.js +0 -0
  43. /package/{dist/components → components}/browsingTestCaseLayout/index.js +0 -0
  44. /package/{dist/components → components}/browsingTestCaseLayout/style.css +0 -0
  45. /package/{dist/components → components}/button/index.js +0 -0
  46. /package/{dist/components → components}/checkBox/index.js +0 -0
  47. /package/{dist/components → components}/divider/index.js +0 -0
  48. /package/{dist/components → components}/editableField/index.js +0 -0
  49. /package/{dist/components → components}/errorBoundary/Error.jpg +0 -0
  50. /package/{dist/components → components}/errorBoundary/index.js +0 -0
  51. /package/{dist/components → components}/fileUploader/index.js +0 -0
  52. /package/{dist/components → components}/fileUploader/style.js +0 -0
  53. /package/{dist/components → components}/iconButton/index.js +0 -0
  54. /package/{dist/components → components}/iconButton/style.js +0 -0
  55. /package/{dist/components → components}/input/index.js +0 -0
  56. /package/{dist/components → components}/layout/index.js +0 -0
  57. /package/{dist/components → components}/layout/main/index.js +0 -0
  58. /package/{dist/components → components}/layout/main/style.js +0 -0
  59. /package/{dist/components → components}/layout/pageContent/index.js +0 -0
  60. /package/{dist/components → components}/layout/sidebar/FlatMenu.js +0 -0
  61. /package/{dist/components → components}/layout/sidebar/GroupedMenu.js +0 -0
  62. /package/{dist/components → components}/layout/sidebar/ProjectMenu.js +0 -0
  63. /package/{dist/components → components}/layout/sidebar/index.js +0 -0
  64. /package/{dist/components → components}/layout/sidebar/style.js +0 -0
  65. /package/{dist/components → components}/layout/topBar/ProjectTopbar.js +0 -0
  66. /package/{dist/components → components}/layout/topBar/UserAvatar.js +0 -0
  67. /package/{dist/components → components}/layout/topBar/index.js +0 -0
  68. /package/{dist/components → components}/loader/index.js +0 -0
  69. /package/{dist/components → components}/modal/Modal.js +0 -0
  70. /package/{dist/components → components}/modal/index.js +0 -0
  71. /package/{dist/components → components}/modal/style.js +0 -0
  72. /package/{dist/components → components}/pagination/index.js +0 -0
  73. /package/{dist/components → components}/pagination/style.js +0 -0
  74. /package/{dist/components → components}/paper/index.js +0 -0
  75. /package/{dist/components → components}/paper/style.js +0 -0
  76. /package/{dist/components → components}/richTextEditor/index.js +0 -0
  77. /package/{dist/components → components}/richTextEditor/style.js +0 -0
  78. /package/{dist/components → components}/select/index.js +0 -0
  79. /package/{dist/components → components}/switch/index.js +0 -0
  80. /package/{dist/components → components}/switch/style.js +0 -0
  81. /package/{dist/components → components}/switch/switch.js +0 -0
  82. /package/{dist/components → components}/table/index.js +0 -0
  83. /package/{dist/components → components}/text/index.js +0 -0
  84. /package/{dist/components → components}/timeStamp/index.js +0 -0
  85. /package/{dist/components → components}/timeStamp/style.js +0 -0
  86. /package/{dist/components → components}/topBar/index.js +0 -0
  87. /package/{dist/components → components}/tree/style.js +0 -0
  88. /package/{dist/components → components}/valuePicker/ValueSelector.js +0 -0
  89. /package/{dist/components → components}/valuePicker/index.js +0 -0
  90. /package/{dist/components → components}/wrapperLayout/layout/index.js +0 -0
  91. /package/{dist/components → components}/wrapperLayout/layout/style.js +0 -0
  92. /package/{dist/components → components}/wrapperLayout/main/index.js +0 -0
  93. /package/{dist/components → components}/wrapperLayout/main/pageContainer/index.js +0 -0
  94. /package/{dist/components → components}/wrapperLayout/main/sideBar/index.js +0 -0
  95. /package/{dist/components → components}/wrapperLayout/main/sideBar/style.js +0 -0
  96. /package/{dist/components → components}/wrapperLayout/topBar/UserAvatar.js +0 -0
  97. /package/{dist/components → components}/wrapperLayout/topBar/avatar.js +0 -0
  98. /package/{dist/components → components}/wrapperLayout/topBar/index.js +0 -0
  99. /package/{dist/components → components}/wrapperLayout/topBar/menuIcon.js +0 -0
  100. /package/{dist/components → components}/wrapperLayout/topBar/style.js +0 -0
  101. /package/{dist/http → http}/index.js +0 -0
  102. /package/{dist/index.js → index.js} +0 -0
  103. /package/{dist/templates → templates}/listPage/index.js +0 -0
  104. /package/{dist/themes → themes}/default.js +0 -0
  105. /package/{dist/themes → themes}/defaultSmall.js +0 -0
  106. /package/{dist/themes → themes}/responsiveTheme.js +0 -0
@@ -8,15 +8,15 @@ var _material = require("@mui/material");
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _reactRouterDom = require("react-router-dom");
10
10
  var _breadCrumbs = _interopRequireDefault(require("../../../breadCrumbs"));
11
- var _defaultSmall = _interopRequireDefault(require("../../../../themes/defaultSmall"));
11
+ var _default2 = _interopRequireDefault(require("../../../../themes/default"));
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
13
  var DetailsViewHeader = function DetailsViewHeader(props) {
14
14
  var breadcrumbsData = props.breadcrumbsData;
15
15
  return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_material.ThemeProvider, {
16
- theme: _defaultSmall.default
17
- }, /*#__PURE__*/_react.default.createElement(_material.CssBaseline, null), /*#__PURE__*/_react.default.createElement(_reactRouterDom.BrowserRouter, null, /*#__PURE__*/_react.default.createElement(_breadCrumbs.default, {
16
+ theme: _default2.default
17
+ }, /*#__PURE__*/_react.default.createElement(_material.CssBaseline, null), /*#__PURE__*/_react.default.createElement(_breadCrumbs.default, {
18
18
  crumbInfo: breadcrumbsData
19
- }))));
19
+ })));
20
20
  };
21
21
  DetailsViewHeader.propTypes = {};
22
22
  var _default = DetailsViewHeader;
@@ -6,16 +6,17 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _material = require("@mui/material");
8
8
  var _react = _interopRequireDefault(require("react"));
9
- var _defaultSmall = _interopRequireDefault(require("../../../../themes/defaultSmall"));
9
+ var _default2 = _interopRequireDefault(require("../../../../themes/default"));
10
10
  var _button = _interopRequireDefault(require("../../../button"));
11
11
  var _ai = require("react-icons/ai");
12
12
  var _style = _interopRequireDefault(require("./style"));
13
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
14
  var TreeViewHeader = function TreeViewHeader(props) {
15
- var onCreate = props.onCreate;
15
+ var title = props.title,
16
+ onCreate = props.onCreate;
16
17
  var classes = (0, _style.default)();
17
18
  return /*#__PURE__*/_react.default.createElement(_material.ThemeProvider, {
18
- theme: _defaultSmall.default
19
+ theme: _default2.default
19
20
  }, /*#__PURE__*/_react.default.createElement(_material.CssBaseline, null), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_material.Grid, {
20
21
  container: true,
21
22
  direction: "row",
@@ -27,13 +28,13 @@ var TreeViewHeader = function TreeViewHeader(props) {
27
28
  xs: 9
28
29
  }, /*#__PURE__*/_react.default.createElement(_material.Typography, {
29
30
  className: classes.headTypo
30
- }, "Tenjin 4.0 Release")), /*#__PURE__*/_react.default.createElement(_material.Grid, {
31
+ }, title)), /*#__PURE__*/_react.default.createElement(_material.Grid, {
31
32
  item: true,
32
33
  xs: 3,
33
34
  className: classes.buttonGrid
34
35
  }, /*#__PURE__*/_react.default.createElement(_button.default, {
35
36
  startIcon: /*#__PURE__*/_react.default.createElement(_ai.AiOutlinePlus, {
36
- size: '11px'
37
+ size: "11px"
37
38
  }),
38
39
  color: "primary",
39
40
  variant: "text",
@@ -83,7 +83,7 @@ function Tree(props) {
83
83
  key: nodes.nodeId
84
84
  }, /*#__PURE__*/React.createElement("div", {
85
85
  style: {
86
- marginBottom: isFirstLevel ? '8px' : null
86
+ marginBottom: isFirstLevel ? "8px" : null
87
87
  }
88
88
  }, /*#__PURE__*/React.createElement(_TreeItem.default, {
89
89
  key: nodes.nodeId,
@@ -105,62 +105,62 @@ function Tree(props) {
105
105
  },
106
106
  label: /*#__PURE__*/React.createElement("div", {
107
107
  style: {
108
- display: 'flex',
109
- alignItems: 'center'
108
+ display: "flex",
109
+ alignItems: "center"
110
110
  }
111
111
  }, /*#__PURE__*/React.createElement(_material.Typography, {
112
112
  style: {
113
- fontWeight: isFirstLevel ? 500 : 'initial',
114
- fontSize: '12px',
115
- fontFamily: 'sans-serif segoe ui'
113
+ fontWeight: isFirstLevel ? 500 : "initial",
114
+ fontSize: "16px",
115
+ fontFamily: "sans-serif segoe ui"
116
116
  }
117
- }, nodes.type === 'project' ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_fc.FcOpenedFolder, {
117
+ }, nodes.type === "project" ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_fc.FcOpenedFolder, {
118
118
  style: {
119
- marginRight: '10px'
119
+ marginRight: "10px"
120
120
  }
121
121
  }) : /*#__PURE__*/React.createElement(_fc.FcFolder, {
122
122
  style: {
123
- marginRight: '10px'
123
+ marginRight: "10px"
124
124
  }
125
- }) : nodes.type === 'module' ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_bi.BiMicrochip, {
125
+ }) : nodes.type === "module" ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_bi.BiMicrochip, {
126
126
  style: {
127
- marginRight: '10px',
128
- color: '#03c988'
127
+ marginRight: "10px",
128
+ color: "#03c988"
129
129
  }
130
130
  }) : /*#__PURE__*/React.createElement(_bi.BiMicrochip, {
131
131
  style: {
132
- marginRight: '10px',
133
- color: '#90a17d'
132
+ marginRight: "10px",
133
+ color: "#90a17d"
134
134
  }
135
- }) : nodes.type === 'bp' ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_bs.BsFillBriefcaseFill, {
135
+ }) : nodes.type === "bp" ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_bs.BsFillBriefcaseFill, {
136
136
  style: {
137
- marginRight: '10px',
138
- color: '#03c988'
137
+ marginRight: "10px",
138
+ color: "#03c988"
139
139
  }
140
140
  }) : /*#__PURE__*/React.createElement(_bs.BsFillBriefcaseFill, {
141
141
  style: {
142
- marginRight: '10px',
143
- color: '#90a17d'
142
+ marginRight: "10px",
143
+ color: "#90a17d"
144
144
  }
145
- }) : nodes.type === 'sc' ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_fa.FaClipboardList, {
145
+ }) : nodes.type === "sc" ? expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_fa.FaClipboardList, {
146
146
  style: {
147
- marginRight: '10px',
148
- color: '#03c988'
147
+ marginRight: "10px",
148
+ color: "#03c988"
149
149
  }
150
150
  }) : /*#__PURE__*/React.createElement(_fa.FaClipboardList, {
151
151
  style: {
152
- marginRight: '10px',
153
- color: '#90a17d'
152
+ marginRight: "10px",
153
+ color: "#90a17d"
154
154
  }
155
155
  }) : expandedNodeIds.includes(nodes.nodeId) ? /*#__PURE__*/React.createElement(_fi.FiFileText, {
156
156
  style: {
157
- marginRight: '10px',
158
- color: '#03c988'
157
+ marginRight: "10px",
158
+ color: "#03c988"
159
159
  }
160
160
  }) : /*#__PURE__*/React.createElement(_fi.FiFileText, {
161
161
  style: {
162
- marginRight: '10px',
163
- color: '#90a17d'
162
+ marginRight: "10px",
163
+ color: "#90a17d"
164
164
  }
165
165
  }), nodes.name)),
166
166
  onContextMenu: function onContextMenu(event) {
@@ -175,7 +175,7 @@ function Tree(props) {
175
175
  return handleContextMenu(event, null);
176
176
  },
177
177
  style: {
178
- cursor: 'context-menu'
178
+ cursor: "context-menu"
179
179
  }
180
180
  }, /*#__PURE__*/React.createElement(_TreeView.default, {
181
181
  "aria-label": "multi-select",
@@ -189,8 +189,8 @@ function Tree(props) {
189
189
  height: 216,
190
190
  flexGrow: 1,
191
191
  // maxWidth: 400,
192
- overflowY: 'auto',
193
- overflowX: 'hidden'
192
+ overflowY: "auto",
193
+ overflowX: "hidden"
194
194
  }
195
195
  }, folder.map(function (node) {
196
196
  return renderTree(node, true);
@@ -205,28 +205,28 @@ function Tree(props) {
205
205
  PaperProps: {
206
206
  // elevation: 3,
207
207
  sx: {
208
- overflow: 'visible',
208
+ overflow: "visible",
209
209
  filter: "drop-shadow(0 0 -1rem #667cbc)",
210
210
  mt: 1.5,
211
- '& .MuiPaper-root-MuiMenu-paper-MuiPaper-root-MuiPopover-paper': {
212
- top: '6px !important'
211
+ "& .MuiPaper-root-MuiMenu-paper-MuiPaper-root-MuiPopover-paper": {
212
+ top: "6px !important"
213
213
  },
214
- '& .MuiAvatar-root': {
214
+ "& .MuiAvatar-root": {
215
215
  width: 32,
216
216
  height: 32,
217
217
  ml: -0.5,
218
218
  mr: 1
219
219
  },
220
- '&:before': {
220
+ "&:before": {
221
221
  content: '""',
222
- display: 'block',
223
- position: 'absolute',
224
- top: '12%',
222
+ display: "block",
223
+ position: "absolute",
224
+ top: "12%",
225
225
  left: -5,
226
226
  width: 10,
227
227
  height: 8,
228
- bgcolor: 'background.paper',
229
- transform: 'translateY(-50%) rotate(45deg)',
228
+ bgcolor: "background.paper",
229
+ transform: "translateY(-50%) rotate(45deg)",
230
230
  zIndex: 0
231
231
  }
232
232
  }
@@ -235,73 +235,73 @@ function Tree(props) {
235
235
  onClick: handleClose
236
236
  }, /*#__PURE__*/React.createElement(_bi.BiMicrochip, {
237
237
  style: {
238
- marginRight: '10px'
238
+ marginRight: "10px"
239
239
  }
240
240
  }), /*#__PURE__*/React.createElement(_material.Typography, {
241
241
  style: {
242
- fontFamily: 'sans-serif seoge ui',
242
+ fontFamily: "sans-serif seoge ui",
243
243
  fontWeight: 500,
244
- fontSize: '12px'
244
+ fontSize: "12px"
245
245
  }
246
246
  }, "Module")), /*#__PURE__*/React.createElement(_MenuItem.default, {
247
247
  onClick: handleClose
248
- }, ' ', /*#__PURE__*/React.createElement(_bs.BsFillBriefcaseFill, {
248
+ }, " ", /*#__PURE__*/React.createElement(_bs.BsFillBriefcaseFill, {
249
249
  style: {
250
- marginRight: '10px'
250
+ marginRight: "10px"
251
251
  }
252
252
  }), /*#__PURE__*/React.createElement(_material.Typography, {
253
253
  style: {
254
- fontFamily: 'sans-serif seoge ui',
254
+ fontFamily: "sans-serif seoge ui",
255
255
  fontWeight: 500,
256
- fontSize: '12px'
256
+ fontSize: "12px"
257
257
  }
258
258
  }, "Business Process")), /*#__PURE__*/React.createElement(_MenuItem.default, {
259
259
  onClick: handleClose
260
260
  }, /*#__PURE__*/React.createElement(_fa.FaClipboardList, {
261
261
  style: {
262
- marginRight: '10px'
262
+ marginRight: "10px"
263
263
  }
264
264
  }), /*#__PURE__*/React.createElement(_material.Typography, {
265
265
  style: {
266
- fontFamily: 'sans-serif seoge ui',
266
+ fontFamily: "sans-serif seoge ui",
267
267
  fontWeight: 500,
268
- fontSize: '12px'
268
+ fontSize: "12px"
269
269
  }
270
270
  }, "Scenario")), /*#__PURE__*/React.createElement(_MenuItem.default, {
271
271
  onClick: handleClose
272
272
  }, /*#__PURE__*/React.createElement(_fi.FiFileText, {
273
273
  style: {
274
- marginRight: '10px'
274
+ marginRight: "10px"
275
275
  }
276
276
  }), /*#__PURE__*/React.createElement(_material.Typography, {
277
277
  style: {
278
- fontFamily: 'sans-serif seoge ui',
278
+ fontFamily: "sans-serif seoge ui",
279
279
  fontWeight: 500,
280
- fontSize: '12px'
280
+ fontSize: "12px"
281
281
  }
282
282
  }, "Test Case")), /*#__PURE__*/React.createElement(_MenuItem.default, {
283
283
  onClick: handleClose
284
284
  }, /*#__PURE__*/React.createElement(_fc.FcFolder, {
285
285
  style: {
286
- marginRight: '10px'
286
+ marginRight: "10px"
287
287
  }
288
288
  }), /*#__PURE__*/React.createElement(_material.Typography, {
289
289
  style: {
290
- fontFamily: 'sans-serif seoge ui',
290
+ fontFamily: "sans-serif seoge ui",
291
291
  fontWeight: 500,
292
- fontSize: '12px'
292
+ fontSize: "12px"
293
293
  }
294
294
  }, "Other Folder")), /*#__PURE__*/React.createElement(_MenuItem.default, {
295
295
  onClick: handleClose
296
296
  }, /*#__PURE__*/React.createElement(_ri.RiPencilFill, {
297
297
  style: {
298
- marginRight: '10px'
298
+ marginRight: "10px"
299
299
  }
300
300
  }), /*#__PURE__*/React.createElement(_material.Typography, {
301
301
  style: {
302
- fontFamily: 'sans-serif seoge ui',
302
+ fontFamily: "sans-serif seoge ui",
303
303
  fontWeight: 500,
304
- fontSize: '12px'
304
+ fontSize: "12px"
305
305
  }
306
306
  }, "Edit Folder"))));
307
307
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tenjin-ui-kit",
3
- "version": "0.2.101",
3
+ "version": "0.2.103",
4
4
  "repository": {
5
5
  "url": "https://gitlab.com/yethi/react/tenjin-ui-kit.git"
6
6
  },
package/.dockerignore DELETED
@@ -1,6 +0,0 @@
1
- node_modules
2
- build
3
- .dockerignore
4
- Dockerfile
5
- Dockerfile.prod
6
- storybook-static
@@ -1,16 +0,0 @@
1
- module.exports = {
2
- "stories": [
3
- "../src/**/*.stories.mdx",
4
- "../src/**/*.stories.@(js|jsx|ts|tsx)"
5
- ],
6
- "addons": [
7
- "@storybook/addon-links",
8
- "@storybook/addon-essentials",
9
- "@storybook/addon-interactions",
10
- "@storybook/preset-create-react-app"
11
- ],
12
- "framework": "@storybook/react",
13
- "core": {
14
- "builder": "@storybook/builder-webpack5"
15
- }
16
- }
@@ -1,11 +0,0 @@
1
- import ".././src/App.css"
2
-
3
- export const parameters = {
4
- actions: { argTypesRegex: "^on[A-Z].*" },
5
- controls: {
6
- matchers: {
7
- color: /(background|color)$/i,
8
- date: /Date$/,
9
- },
10
- },
11
- }
package/Dockerfile DELETED
@@ -1,17 +0,0 @@
1
- # build environment
2
- FROM node:16-alpine as build
3
- WORKDIR /app
4
- ENV PATH /app/node_modules/.bin:$PATH
5
- COPY package.json ./
6
- COPY package-lock.json ./
7
- COPY . ./
8
- RUN npm install
9
- RUN npm run build-storybook
10
- RUN npm run compile
11
- RUN npm version patch -m "CI patch version bump"
12
- RUN cp ./package.json ./dist
13
- RUN cp ./README.md ./dist
14
- RUN cd dist
15
- RUN npm publish
16
- # TEST COMMIT 2
17
-
package/Jenkinsfile DELETED
@@ -1,69 +0,0 @@
1
- pipeline {
2
- agent {label 'tjui-kit'}
3
-
4
- environment {
5
-
6
- TOKEN= credentials('NPM_TOKEN')
7
- }
8
-
9
-
10
- stages {
11
- stage ("Build") {
12
- steps {
13
- dir("./") {
14
- sh 'npm install'
15
- sh 'npm run compile'
16
- }
17
- }
18
- }
19
- stage ("Upgrade version") {
20
- steps {
21
- dir("./") {
22
- sh 'git restore package-lock.json'
23
-
24
- sh 'npm version patch '
25
- sh 'git remote set-url origin https://vybhavkadam:glpat-Ee-CqdVnwzURCGPzFwys@gitlab.com/yethi/react/tenjin-ui-kit.git'
26
- sh 'git push origin HEAD:main --tags'
27
- //sh 'git push --tags'
28
- }
29
- }
30
- }
31
-
32
- stage ("Publish library") {
33
- steps {
34
- dir("./") {
35
- sh 'cp ./package.json ./dist'
36
- sh 'cp ./README.md ./dist'
37
- }
38
-
39
- dir("./dist") {
40
- sh 'export NPM_TOKEN=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'
41
- sh 'echo $NPM_TOKEN'
42
- sh 'npm publish'
43
- }
44
- }
45
- }
46
-
47
- stage ("Build Storybook") {
48
- steps {
49
- dir("./") {
50
- sh 'npm run build-storybook'
51
- }
52
- }
53
- }
54
-
55
- stage ("Deploy Storybook") {
56
- steps {
57
- dir("./") {
58
- sh 'npx netlify deploy --auth xZ5gRrdcq6pPShzAcOtxCqD3e5MzwWxwBevsrQdyIl0 --site 9a55e91f-3c3e-4492-8d50-7f17ca87adeb --dir storybook-static --prod'
59
- }
60
- }
61
- }
62
- stage('CleanWorkspace') {
63
- steps {
64
- cleanWs()
65
- }
66
- }
67
- }
68
-
69
- }
package/dist/README.md DELETED
@@ -1,13 +0,0 @@
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.
package/dist/package.json DELETED
@@ -1,117 +0,0 @@
1
- {
2
- "name": "tenjin-ui-kit",
3
- "version": "0.2.101",
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
- }
Binary file
package/public/index.html DELETED
@@ -1,43 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1" />
7
- <meta name="theme-color" content="#000000" />
8
- <meta
9
- name="description"
10
- content="Web site created using create-react-app"
11
- />
12
- <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13
- <!--
14
- manifest.json provides metadata used when your web app is installed on a
15
- user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16
- -->
17
- <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18
- <!--
19
- Notice the use of %PUBLIC_URL% in the tags above.
20
- It will be replaced with the URL of the `public` folder during the build.
21
- Only files inside the `public` folder can be referenced from the HTML.
22
-
23
- Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24
- work correctly both with client-side routing and a non-root public URL.
25
- Learn how to configure a non-root public URL by running `npm run build`.
26
- -->
27
- <title>React App</title>
28
- </head>
29
- <body>
30
- <noscript>You need to enable JavaScript to run this app.</noscript>
31
- <div id="root"></div>
32
- <!--
33
- This HTML file is a template.
34
- If you open it directly in the browser, you will see an empty page.
35
-
36
- You can add webfonts, meta tags, or analytics to this file.
37
- The build step will place the bundled scripts into the <body> tag.
38
-
39
- To begin the development, run `npm start` or `yarn start`.
40
- To create a production bundle, use `npm run build` or `yarn build`.
41
- -->
42
- </body>
43
- </html>
Binary file
Binary file
@@ -1,25 +0,0 @@
1
- {
2
- "short_name": "React App",
3
- "name": "Create React App Sample",
4
- "icons": [
5
- {
6
- "src": "favicon.ico",
7
- "sizes": "64x64 32x32 24x24 16x16",
8
- "type": "image/x-icon"
9
- },
10
- {
11
- "src": "logo192.png",
12
- "type": "image/png",
13
- "sizes": "192x192"
14
- },
15
- {
16
- "src": "logo512.png",
17
- "type": "image/png",
18
- "sizes": "512x512"
19
- }
20
- ],
21
- "start_url": ".",
22
- "display": "standalone",
23
- "theme_color": "#000000",
24
- "background_color": "#ffffff"
25
- }
package/public/robots.txt DELETED
@@ -1,3 +0,0 @@
1
- # https://www.robotstxt.org/robotstxt.html
2
- User-agent: *
3
- Disallow:
Binary file
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes