@kando-env/kando-ui 1.0.26 → 1.0.28-alpha.1

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 (65) hide show
  1. package/lib/DashboardV2/AreaDashboard/AreaDashboard.js +129 -0
  2. package/lib/DashboardV2/AreaDashboard/Dashboard/Dashboard.js +89 -0
  3. package/lib/DashboardV2/AreaDashboard/Dashboard/EventsCarousel/EventsCarousel.js +107 -0
  4. package/lib/DashboardV2/AreaDashboard/Dashboard/LineChart/LineChart.js +68 -0
  5. package/lib/DashboardV2/AreaDashboard/Dashboard/LineChart/options/options.js +103 -0
  6. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/Sites.js +121 -0
  7. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/SitesBox/PieChart/PieChart.js +123 -0
  8. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/SitesBox/SiteBox.js +58 -0
  9. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/SitesBox/styles.js +26 -0
  10. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/SitesResponse.interface.js +6 -0
  11. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/factories.mock.js +4297 -0
  12. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/styles.js +25 -0
  13. package/lib/DashboardV2/Header/InfoBar/InfoBar.js +3 -2
  14. package/lib/DashboardV2/Notifications/EditNotificationModal/Buttons/MultiChoiceTabs.js +67 -0
  15. package/lib/DashboardV2/Notifications/EditNotificationModal/Buttons/RadioTabs.js +49 -0
  16. package/lib/DashboardV2/Notifications/EditNotificationModal/Buttons/SeverityButtons.js +30 -0
  17. package/lib/DashboardV2/Notifications/EditNotificationModal/EditNotificationModal.js +229 -0
  18. package/lib/DashboardV2/Notifications/EditNotificationModal/EditNotificationModal.stories.js +33 -0
  19. package/lib/DashboardV2/Notifications/Notification/Notification.js +93 -0
  20. package/lib/DashboardV2/Notifications/Notifications.interface.js +6 -0
  21. package/lib/DashboardV2/Notifications/Notifications.js +100 -0
  22. package/lib/DashboardV2/Notifications/Notifications.mock.js +45 -0
  23. package/lib/DashboardV2/Notifications/Notifications.stories.js +38 -0
  24. package/lib/DashboardV2/Notifications/assets/alert1.svg +5 -0
  25. package/lib/DashboardV2/Notifications/assets/chat.svg +5 -0
  26. package/lib/DashboardV2/Notifications/assets/close.svg +3 -0
  27. package/lib/DashboardV2/Notifications/assets/index.js +78 -0
  28. package/lib/DashboardV2/Notifications/assets/mail.svg +7 -0
  29. package/lib/DashboardV2/Notifications/assets/monitor.svg +3 -0
  30. package/lib/DashboardV2/Notifications/assets/right.svg +3 -0
  31. package/lib/DashboardV2/Notifications/assets/spill1.svg +3 -0
  32. package/lib/DashboardV2/Notifications/assets/telegram.svg +7 -0
  33. package/lib/DashboardV2/Notifications/assets/trash-del.svg +6 -0
  34. package/lib/DashboardV2/Profile/PasswordModal/PasswordModal.js +99 -0
  35. package/lib/DashboardV2/Profile/Profile.js +225 -0
  36. package/lib/DashboardV2/Profile/pen.svg +3 -0
  37. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.stories.js +1 -1
  38. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/AreaBox.js +4 -3
  39. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/Map/Map.js +1 -1
  40. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/PieChart/PieChart.js +2 -2
  41. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/areas.mock.js +25 -9
  42. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/PieChart/PieChart.js +4 -4
  43. package/lib/DashboardV2/UtilityDashboard/MostPolluting/MostPolluting.js +5 -5
  44. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Tabs/Tabs.js +3 -3
  45. package/lib/DashboardV2/UtilityDashboard/MostPolluting/components/ChangePercent.js +6 -8
  46. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.js +12 -6
  47. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/SevereEvent.js +3 -2
  48. package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/MostCommon.js +7 -3
  49. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PieChart/LegendMenu/LegendMenu.js +1 -1
  50. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PieChart/PieChart.js +5 -5
  51. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/QualitySummary.js +8 -3
  52. package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/UtilityInformation.js +15 -5
  53. package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/styles.js +2 -2
  54. package/lib/DashboardV2/index.js +2 -2
  55. package/lib/EventsView/views/components/events/events_list/Filter/FilterContainer.js +4 -4
  56. package/lib/Router.js +7 -1
  57. package/lib/macros/getVersion.js +2 -2
  58. package/lib/shared/components/PasswordInput/PasswordInput.js +54 -0
  59. package/lib/shared/components/PasswordInput/show.svg +4 -0
  60. package/lib/shared/components/PopupModal/PopupModal.js +18 -6
  61. package/lib/shared/components/PrimaryButton/PrimaryButton.js +21 -0
  62. package/lib/shared/components/Select/Select.js +8 -4
  63. package/lib/shared/utilities/custom_hooks/useMap.js +10 -5
  64. package/lib/styles.scss +14 -13
  65. package/package.json +2 -1
package/lib/styles.scss CHANGED
@@ -5,36 +5,37 @@
5
5
  font-style: normal;
6
6
  }
7
7
 
8
- @font-face {
8
+ @font-face {
9
9
  font-family: 'Gilroy';
10
10
  src: url('./fonts/Gilroy-ExtraBold.otf') format('opentype');
11
11
  font-weight: 700;
12
12
  font-style: normal;
13
- }
13
+ }
14
14
 
15
15
  @font-face {
16
16
  font-family: 'Gilroy';
17
17
  src: url('./fonts/Gilroy-Regular.otf') format('opentype');
18
18
  font-weight: 400;
19
19
  font-style: normal;
20
- }
20
+ }
21
21
 
22
22
  @font-face {
23
23
  font-family: 'Gilroy';
24
24
  src: url('./fonts/Gilroy-SemiBold.otf') format('opentype');
25
25
  font-weight: 600;
26
26
  font-style: normal;
27
- }
28
-
27
+ }
29
28
 
30
- [dir=rtl] ,.rtl {
29
+ [dir='rtl'],
30
+ .rtl {
31
31
  text-align: right;
32
32
  }
33
33
 
34
- *,*::after,*::before {
35
- font-family: Gilroy, Arial, Helvetica, sans-serif ;
36
- box-sizing: border-box;
37
- margin: 0;
38
- padding: 0;
39
-
40
- }
34
+ *,
35
+ *::after,
36
+ *::before {
37
+ font-family: Gilroy, Arial, Helvetica, sans-serif;
38
+ box-sizing: border-box;
39
+ margin: 0;
40
+ padding: 0;
41
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kando-env/kando-ui",
3
- "version": "1.0.26",
3
+ "version": "1.0.28-alpha.1",
4
4
  "main": "lib/index.js",
5
5
  "author": "Nadav(Private) <nadavk72@gmail.com>",
6
6
  "scripts": {
@@ -58,6 +58,7 @@
58
58
  "react-dom": "^16.13.0",
59
59
  "react-full-screen": "^0.2.3",
60
60
  "react-on-rails": "11.1.7",
61
+ "react-phone-input-2": "^2.14.0",
61
62
  "react-redux": "^7.2.0",
62
63
  "react-responsive-carousel": "^3.2.18",
63
64
  "react-responsive-modal": "^6.1.0",