synos-helena 22.0.1 → 22.0.2-3.beta

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 (99) hide show
  1. package/lib/dark.css +25736 -0
  2. package/lib/dark.js +61 -0
  3. package/lib/helena.css +25739 -0
  4. package/lib/helena.js +61 -0
  5. package/lib/helena.less +1 -0
  6. package/lib/icons/exception.svg +1 -0
  7. package/lib/icons/export.svg +3 -0
  8. package/lib/icons/field-time.svg +4 -0
  9. package/lib/icons/file-calculator.svg +13 -0
  10. package/lib/icons/hand-service.svg +5 -0
  11. package/lib/icons/import.svg +4 -0
  12. package/lib/icons/package.svg +3 -0
  13. package/lib/icons/process-config.svg +8 -0
  14. package/lib/icons/transmission.svg +6 -0
  15. package/lib/images/empty-notification.svg +17 -0
  16. package/lib/images/micro-download.svg +40 -0
  17. package/lib/images/micro-gerproc.svg +43 -0
  18. package/lib/images/micro-insight.svg +42 -0
  19. package/lib/images/synchro-logo.svg +11 -0
  20. package/lib/index.css +4372 -0
  21. package/lib/index.js +34826 -0
  22. package/lib/light.css +25736 -0
  23. package/lib/light.js +61 -0
  24. package/lib/src/HLAlert/HLAlert.d.ts +4 -0
  25. package/lib/src/HLArticle/HLArticle.d.ts +4 -0
  26. package/lib/src/HLBadge/HLBadge.d.ts +4 -0
  27. package/lib/src/HLButton/HLButton.d.ts +4 -0
  28. package/lib/src/HLCard/HLCard.d.ts +7 -0
  29. package/lib/src/HLCheckbox/HLCheckbox.d.ts +5 -0
  30. package/lib/src/HLCode/HLCode.d.ts +4 -0
  31. package/lib/src/HLCollapse/HLCollapse.d.ts +7 -0
  32. package/lib/src/HLCollapse/Panel/Panel.d.ts +4 -0
  33. package/lib/src/HLCollapseInfoPanel/HLCollapseInfoPanel.d.ts +4 -0
  34. package/lib/src/HLContext/HLContext.d.ts +3 -0
  35. package/lib/src/HLCpfCnpj/HLCpfCnpj.d.ts +4 -0
  36. package/lib/src/HLDatePicker/DatePicker.d.ts +8 -0
  37. package/lib/src/HLDatePicker/HLDatePicker.d.ts +6 -0
  38. package/lib/src/HLDatePicker/MonthPicker/MonthPicker.d.ts +6 -0
  39. package/lib/src/HLDatePicker/RangePicker/RangePicker.d.ts +6 -0
  40. package/lib/src/HLDatePicker/utils.d.ts +5 -0
  41. package/lib/src/HLDeferredRender/HLDeferredRender.d.ts +4 -0
  42. package/lib/src/HLDescriptions/HLDescriptions.d.ts +4 -0
  43. package/lib/src/HLDiffViewer/HLDiffViewer.d.ts +4 -0
  44. package/lib/src/HLDivider/HLDivider.d.ts +4 -0
  45. package/lib/src/HLDrawer/HLDrawer.d.ts +4 -0
  46. package/lib/src/HLDropdown/HLDropdown.d.ts +4 -0
  47. package/lib/src/HLDropdownButton/HLDropdownButton.d.ts +4 -0
  48. package/lib/src/HLEditTable/HLEditTable.d.ts +4 -0
  49. package/lib/src/HLErrorBoundary/HLErrorBoundary.d.ts +13 -0
  50. package/lib/src/HLException/Error/Error.d.ts +4 -0
  51. package/lib/src/HLException/HLException.d.ts +6 -0
  52. package/lib/src/HLException/Page500/Page500.d.ts +4 -0
  53. package/lib/src/HLForm/HLForm.d.ts +7 -0
  54. package/lib/src/HLFromTo/HLFromTo.d.ts +7 -0
  55. package/lib/src/HLHeader/HLHeader.d.ts +7 -0
  56. package/lib/src/HLHeaderButton/HLHeaderButton.d.ts +4 -0
  57. package/lib/src/HLHeaderSearch/HLHeaderSearch.d.ts +4 -0
  58. package/lib/src/HLInput/HLInput.d.ts +5 -0
  59. package/lib/src/HLInput/Password/Password.d.ts +5 -0
  60. package/lib/src/HLInputMonetary/HLInputMonetary.d.ts +5 -0
  61. package/lib/src/HLMain/HLMain.d.ts +4 -0
  62. package/lib/src/HLMarkdown/HLMarkdown.d.ts +4 -0
  63. package/lib/src/HLModulesMenu/HLModulesMenu.d.ts +4 -0
  64. package/lib/src/HLNotification/HLNotification.d.ts +7 -0
  65. package/lib/src/HLNotification/notificationList/NotificationList.d.ts +7 -0
  66. package/lib/src/HLPageHeader/HLPageHeader.d.ts +4 -0
  67. package/lib/src/HLPopover/HLPopover.d.ts +4 -0
  68. package/lib/src/HLPowerSearch/lib/SelectStoreInterface.d.ts +11 -0
  69. package/lib/src/HLProgress/HLProgress.d.ts +4 -0
  70. package/lib/src/HLRadio/HLRadio.d.ts +5 -0
  71. package/lib/src/HLSelect/HLSelect.d.ts +5 -0
  72. package/lib/src/HLSideMenu/HLSideMenu.d.ts +4 -0
  73. package/lib/src/HLSpin/HLSpin.d.ts +4 -0
  74. package/lib/src/HLSwitch/HLSwitch.d.ts +4 -0
  75. package/lib/src/HLTable/HLTable.d.ts +65 -0
  76. package/lib/src/HLTextArea/HLTextArea.d.ts +5 -0
  77. package/lib/src/HLTooltip/HLTootip.d.ts +4 -0
  78. package/lib/src/HLTotalizer/HLTotalizer.d.ts +4 -0
  79. package/lib/src/HLUserBox/HLUserBox.d.ts +4 -0
  80. package/lib/src/index.d.ts +72 -0
  81. package/lib/src/util/CustomHooks.d.ts +2 -0
  82. package/lib/src/util/Permissions.d.ts +19 -0
  83. package/lib/src/util/constants.d.ts +15 -0
  84. package/lib/themes/colors/ant-blues.less +17 -0
  85. package/lib/themes/colors/ant-yellows.less +17 -0
  86. package/lib/themes/colors/blues.less +17 -0
  87. package/lib/themes/colors/dark-olive-greens.less +17 -0
  88. package/lib/themes/colors/gray.less +19 -0
  89. package/lib/themes/colors/greens.less +17 -0
  90. package/lib/themes/colors/pinks.less +17 -0
  91. package/lib/themes/colors/purples.less +17 -0
  92. package/lib/themes/colors/reds.less +17 -0
  93. package/lib/themes/colors/yellows.less +17 -0
  94. package/lib/themes/dark.less +38 -0
  95. package/lib/themes/default.less +46 -0
  96. package/lib/themes/general_custom.less +25 -0
  97. package/lib/themes/light.less +38 -0
  98. package/package.json +7 -4
  99. package/CHANGELOG.md +0 -837
@@ -0,0 +1,15 @@
1
+ export declare const DATE_BRAZILIAN = "DD/MM/YYYY";
2
+ export declare const DATE_BRAZILIAN_DASHED = "DD-MM-YYYY";
3
+ export declare const DATE_TIME = "YYYY-MM-DDTHH:mm:ss";
4
+ export declare const DATE = "YYYY-MM-DD";
5
+ export declare const ERROR_BOUNDARY_TEMPLATES: {
6
+ GERPROC: string;
7
+ INSIGHT: string;
8
+ DOWNLOAD: string;
9
+ };
10
+ export declare const ERROR_SIZES: {
11
+ SMALL: string;
12
+ BIG: string;
13
+ PAGE: string;
14
+ DEFAULT: string;
15
+ };
@@ -0,0 +1,17 @@
1
+ @color-ab100: #B7E7FD;
2
+
3
+ @color-ab200: #8DD6FB;
4
+
5
+ @color-ab300: #63C1FA;
6
+
7
+ @color-ab400: #38AAF9;
8
+
9
+ @color-ab500: #0992F8;
10
+
11
+ @color-ab600: #036FD2;
12
+
13
+ @color-ab700: #0052AD;
14
+
15
+ @color-ab800: #013B87;
16
+
17
+ @color-ab900: #012862;
@@ -0,0 +1,17 @@
1
+ @color-ay100: #FFFFB4;
2
+
3
+ @color-ay200: #FFFB8C;
4
+
5
+ @color-ay300: #FFF567;
6
+
7
+ @color-ay400: #FFEA49;
8
+
9
+ @color-ay500: #FAD732;
10
+
11
+ @color-ay600: #CFA926;
12
+
13
+ @color-ay700: #A5811C;
14
+
15
+ @color-ay800: #7D5E14;
16
+
17
+ @color-ay900: #573F0E;
@@ -0,0 +1,17 @@
1
+ @color-b100: #DFFBFE;
2
+
3
+ @color-b200: #C0F3FE;
4
+
5
+ @color-b300: #A0E6FC;
6
+
7
+ @color-b400: #88D7F9;
8
+
9
+ @color-b500: #61C0F6;
10
+
11
+ @color-b600: #4A97D3;
12
+
13
+ @color-b700: #3572B0;
14
+
15
+ @color-b800: #23528D;
16
+
17
+ @color-b900: #173B74;
@@ -0,0 +1,17 @@
1
+ @color-dog100: #F1F7DB;
2
+
3
+ @color-dog200: #E2F0BA;
4
+
5
+ @color-dog300: #BDD28B;
6
+
7
+ @color-dog400: #8FA660;
8
+
9
+ @color-dog500: #556B2F;
10
+
11
+ @color-dog600: #445C22;
12
+
13
+ @color-dog700: #354D17;
14
+
15
+ @color-dog800: #273E0E;
16
+
17
+ @color-dog900: #1D3309;
@@ -0,0 +1,19 @@
1
+ @color-g100: #FFFFFF;
2
+
3
+ @color-g200: #FAFAFA;
4
+
5
+ @color-g300: #F5F5F5;
6
+
7
+ @color-g400: #E8E8E8;
8
+
9
+ @color-g500: #D9D9D9;
10
+
11
+ @color-g600: #BFBFBF;
12
+
13
+ @color-g700: #8C8C8C;
14
+
15
+ @color-g800: #595959;
16
+
17
+ @color-g900: #262626;
18
+
19
+ @color-g1000: #000000;
@@ -0,0 +1,17 @@
1
+ @color-gr100: #E0FBE1;
2
+
3
+ @color-gr200: #C2F8CB;
4
+
5
+ @color-gr300: #A4F0B8;
6
+
7
+ @color-gr400: #8DE6AD;
8
+
9
+ @color-gr500: #72D99F;
10
+
11
+ @color-gr600: #5EBB92;
12
+
13
+ @color-gr700: #4C9C83;
14
+
15
+ @color-gr800: #3A7E72;
16
+
17
+ @color-gr900: #2E6866;
@@ -0,0 +1,17 @@
1
+ @color-pk100: #FCE4E9;
2
+
3
+ @color-pk200: #FAC9D9;
4
+
5
+ @color-pk300: #F1AAC8;
6
+
7
+ @color-pk400: #E390BC;
8
+
9
+ @color-pk500: #D16BAB;
10
+
11
+ @color-pk600: #B34E97;
12
+
13
+ @color-pk700: #963585;
14
+
15
+ @color-pk800: #792272;
16
+
17
+ @color-pk900: #621464;
@@ -0,0 +1,17 @@
1
+ @color-p100: #DED9F6;
2
+
3
+ @color-p200: #BCB5EF;
4
+
5
+ @color-p300: #9289D8;
6
+
7
+ @color-p400: #6B63B8;
8
+
9
+ @color-p500: #3C368F;
10
+
11
+ @color-p600: #2D287A;
12
+
13
+ @color-p700: #1F1D66;
14
+
15
+ @color-p800: #131351;
16
+
17
+ @color-p900: #0B0C44;
@@ -0,0 +1,17 @@
1
+ @color-r100: #F9E5D2;
2
+
3
+ @color-r200: #F4C6A7;
4
+
5
+ @color-r300: #EA9E7A;
6
+
7
+ @color-r400: #DF7A59;
8
+
9
+ @color-r500: #D3472C;
10
+
11
+ @color-r600: #B53122;
12
+
13
+ @color-r700: #97221A;
14
+
15
+ @color-r800: #791919;
16
+
17
+ @color-r900: #641218;
@@ -0,0 +1,17 @@
1
+ @color-y100: #FDF8DC;
2
+
3
+ @color-y200: #FBEFBB;
4
+
5
+ @color-y300: #F8E499;
6
+
7
+ @color-y400: #F3D880;
8
+
9
+ @color-y500: #ECC55D;
10
+
11
+ @color-y600: #F8C34A;
12
+
13
+ @color-y700: #EBAA25;
14
+
15
+ @color-y800: #FF9D0B;
16
+
17
+ @color-y900: #EF8304;
@@ -0,0 +1,38 @@
1
+ @import '~antd/dist/antd.less';
2
+
3
+ @primary-color: #153f6a; // primary color for all components
4
+ @text-color: #595959;
5
+
6
+ @secondary-color: #0992f8; //secondary color
7
+ @secondary-1: color(~`colorPalette('@{secondary-color}', 1) `);
8
+ @secondary-2: color(~`colorPalette('@{secondary-color}', 2) `);
9
+ @secondary-5: color(~`colorPalette('@{secondary-color}', 5) `);
10
+ @secondary-7: color(~`colorPalette('@{secondary-color}', 7) `);
11
+
12
+ @link-color: #61c0f6; // link color
13
+ @success-color: #72d99f; // success state color
14
+ @warning-color: #ecc55d; // warning state color
15
+ @error-color: #d3472c; // error state color
16
+
17
+ // Header style variables
18
+ @header-color: #ffffff;
19
+ @header-button-color: #ffffff;
20
+ @header-button-icon-color: #5c5c5c;
21
+ @header-text-color: #5c5c5c;
22
+
23
+ // BUTTONS
24
+ @btn-default-border: #d9d9d9;
25
+
26
+ @btn-danger-bg: #d3472c;
27
+
28
+ // The background colors for active and hover states for things like
29
+ // list items or table cells.
30
+ @item-active-bg: #e5f7fe;
31
+ @item-hover-bg: #e5f7fe;
32
+
33
+ //General
34
+ .ant-divider {
35
+ color: #e0e0e0;
36
+ }
37
+
38
+ @import 'general_custom.less';
@@ -0,0 +1,46 @@
1
+ @import '~antd/dist/antd.less';
2
+
3
+ @primary-color: #1890ff; // primary color for all components
4
+ @text-color: #595959;
5
+
6
+ @secondary-color: #0992f8; //secondary color
7
+ @secondary-1: color(~`colorPalette('@{secondary-color}', 1) `);
8
+ @secondary-2: color(~`colorPalette('@{secondary-color}', 2) `);
9
+ @secondary-5: color(~`colorPalette('@{secondary-color}', 5) `);
10
+ @secondary-7: color(~`colorPalette('@{secondary-color}', 7) `);
11
+
12
+ @link-color: #61c0f6; // link color
13
+
14
+ // Header style variables
15
+ @layout-header-background: #ffffff;
16
+ @layout-header-color: #5c5c5c;
17
+
18
+ @header-color: #ffffff;
19
+ @header-button-color: #ffffff;
20
+ @header-button-icon-color: #5c5c5c;
21
+ @header-text-color: #5c5c5c;
22
+
23
+ // BUTTONS
24
+ @btn-default-border: #d9d9d9;
25
+
26
+ @btn-danger-bg: #d3472c;
27
+
28
+ // The background colors for active and hover states for things like
29
+ // list items or table cells.
30
+ @item-active-bg: #e5f7fe;
31
+ @item-hover-bg: #e5f7fe;
32
+
33
+ @menu-dark-bg: #004271;
34
+
35
+ @menu-dark-item-active-bg: #dba111;
36
+
37
+ //General
38
+ .ant-divider {
39
+ color: #e0e0e0;
40
+ }
41
+
42
+ .ant-legacy-form-item {
43
+ margin-bottom: 0px !important;
44
+ }
45
+
46
+ @import 'general_custom.less';
@@ -0,0 +1,25 @@
1
+ // BUTTONS
2
+ @btn-primary-bg: @secondary-color;
3
+
4
+ // LINK
5
+ @link-color: @secondary-color;
6
+
7
+ //TABS
8
+ @tabs-card-active-color: @secondary-color;
9
+ @tabs-ink-bar-color: @secondary-color;
10
+ @tabs-highlight-color: @secondary-color;
11
+ @tabs-hover-color: @secondary-5;
12
+ @tabs-active-color: @secondary-7;
13
+
14
+ // SCSideMenu
15
+
16
+ @animation-time: 0.1s;
17
+ @logo-animation-time: 0.1s;
18
+
19
+ .ant-layout-sider {
20
+ transition: all @animation-time ease-in-out;
21
+ }
22
+
23
+ .text-hl-header > h1 {
24
+ color: @header-text-color;
25
+ }
@@ -0,0 +1,38 @@
1
+ @import '~antd/dist/antd.less';
2
+
3
+ @primary-color: #153f6a; // primary color for all components
4
+ @text-color: #595959;
5
+
6
+ @secondary-color: #0992f8; //secondary color
7
+ @secondary-1: color(~`colorPalette('@{secondary-color}', 1) `);
8
+ @secondary-2: color(~`colorPalette('@{secondary-color}', 2) `);
9
+ @secondary-5: color(~`colorPalette('@{secondary-color}', 5) `);
10
+ @secondary-7: color(~`colorPalette('@{secondary-color}', 7) `);
11
+
12
+ @link-color: #61c0f6; // link color
13
+ @success-color: #72d99f; // success state color
14
+ @warning-color: #ecc55d; // warning state color
15
+ @error-color: #d3472c; // error state color
16
+
17
+ // Header style variables
18
+ @header-color: #ffffff;
19
+ @header-button-color: #ffffff;
20
+ @header-button-icon-color: #5c5c5c;
21
+ @header-text-color: #5c5c5c;
22
+
23
+ // BUTTONS
24
+ @btn-default-border: #d9d9d9;
25
+
26
+ @btn-danger-bg: #d3472c;
27
+
28
+ // The background colors for active and hover states for things like
29
+ // list items or table cells.
30
+ @item-active-bg: #e5f7fe;
31
+ @item-hover-bg: #e5f7fe;
32
+
33
+ //General
34
+ .ant-divider {
35
+ color: #e0e0e0;
36
+ }
37
+
38
+ @import 'general_custom.less';
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "synos-helena",
3
- "version": "22.0.1",
3
+ "version": "22.0.23.beta",
4
4
  "description": "A set of components of the helena project",
5
5
  "main": "lib/index.js",
6
- "typings": "lib/index.d.ts",
6
+ "typings": "src/index.d.ts",
7
7
  "scripts": {
8
8
  "publish-beta": "npm publish --tag beta",
9
9
  "postbuild": "rimraf lib/**/*.map",
@@ -108,7 +108,7 @@
108
108
  "@loadable/component": "^5.14.1",
109
109
  "@types/react-copy-to-clipboard": "^5.0.2",
110
110
  "@types/react-syntax-highlighter": "^13.5.2",
111
- "antd": "^4.18.9",
111
+ "antd": "4.18.9",
112
112
  "antd-mask-input": "^0.1.15",
113
113
  "bigdecimal": "^0.6.1",
114
114
  "cpf-cnpj-validator": "^1.0.3",
@@ -116,6 +116,7 @@
116
116
  "dayjs": "^1.10.4",
117
117
  "deepdash": "^5.3.2",
118
118
  "enquire-js": "latest",
119
+ "export-to-csv": "^0.2.1",
119
120
  "json-loader": "^0.5.7",
120
121
  "lodash": "^4.17.15",
121
122
  "mobx": "^5.15.4",
@@ -127,7 +128,9 @@
127
128
  "prop-types": "^15.6.2",
128
129
  "react-cookie": "^4.0.3",
129
130
  "react-copy-to-clipboard": "^5.0.4",
130
- "react-highlight-words": "^0.16.0",
131
+ "react-countdown": "^2.3.2",
132
+ "react-diff-viewer": "^3.1.1",
133
+ "react-highlight-words": "^0.18.0",
131
134
  "react-markdown": "^7.1.0",
132
135
  "react-resize-detector": "^5.0.7",
133
136
  "react-scripts": "^4.0.0",