@visns-studio/visns-components 5.0.0 → 5.0.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 (25) hide show
  1. package/package.json +1 -1
  2. package/src/components/crm/DataGrid.jsx +1 -0
  3. package/src/components/crm/Form.jsx +6 -6
  4. package/src/components/crm/auth/styles/Login.module.scss +49 -80
  5. package/src/components/crm/auth/styles/Profile.module.scss +97 -33
  6. package/src/components/crm/auth/styles/Reset.module.scss +55 -37
  7. package/src/components/crm/auth/styles/Verify.module.scss +55 -76
  8. package/src/components/crm/generic/GenericAuth.jsx +12 -4
  9. package/src/components/crm/generic/styles/AuditLog.module.scss +0 -37
  10. package/src/components/crm/generic/styles/AuditLogs.module.scss +0 -51
  11. package/src/components/crm/generic/styles/GenericDetail.module.scss +4 -74
  12. package/src/components/crm/generic/styles/GenericDynamic.module.scss +68 -134
  13. package/src/components/crm/generic/styles/GenericFormBuilder.module.scss +59 -53
  14. package/src/components/crm/generic/styles/GenericIndex.module.scss +46 -66
  15. package/src/components/crm/generic/styles/GenericMain.module.scss +7 -7
  16. package/src/components/crm/generic/styles/GenericSort.module.scss +0 -36
  17. package/src/components/crm/generic/styles/NotificationList.module.scss +1 -32
  18. package/src/components/crm/styles/DataGrid.module.scss +4 -86
  19. package/src/components/crm/styles/Field.module.scss +67 -43
  20. package/src/components/crm/styles/Form.module.scss +148 -379
  21. package/src/components/crm/styles/Navigation.module.scss +359 -454
  22. package/src/components/crm/styles/Notification.module.scss +1 -0
  23. package/src/components/crm/styles/SwitchAccount.module.scss +0 -1
  24. package/src/components/crm/styles/TableFilter.module.scss +2 -1
  25. package/src/components/styles/global.css +73 -33
@@ -22,6 +22,7 @@
22
22
  box-sizing: border-box;
23
23
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
24
24
  z-index: 999;
25
+ font-size: 1rem;
25
26
  }
26
27
 
27
28
  .notibox .notiscrollwrap {
@@ -59,7 +59,6 @@
59
59
 
60
60
  .currentAccount {
61
61
  float: right;
62
- color: darken(#f0f0f0, 25%);
63
62
  line-height: 1.25;
64
63
  }
65
64
 
@@ -2,6 +2,7 @@
2
2
  list-style: none;
3
3
  padding: 0;
4
4
  margin: 0;
5
+ font-size: 1rem;
5
6
  }
6
7
 
7
8
  .collapsibleMenu {
@@ -34,7 +35,7 @@
34
35
  display: block;
35
36
  padding: 8px 20px;
36
37
  text-decoration: none;
37
- background: var(--item-color);
38
+ background: var(--bg-color);
38
39
  color: var(--paragraph-color);
39
40
  border-radius: 3px;
40
41
  transition: background 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
@@ -1,53 +1,84 @@
1
- @import '@fontsource/barlow/index.css';
2
- @import '@fontsource/barlow/300.css';
3
- @import '@fontsource/barlow/700.css';
1
+ *,
2
+ *::before,
3
+ *::after {
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ * {
8
+ margin: 0;
9
+ }
4
10
 
5
- /* Apply the crop mixin manually */
6
- .crop::before {
7
- content: '';
8
- display: block;
9
- height: 0;
10
- width: 0;
11
- margin-top: calc((1 - 1.25) * 0.5em);
11
+ html,
12
+ body {
13
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
14
+ height: 100%;
15
+ text-rendering: geometricPrecision;
12
16
  }
13
17
 
14
18
  body {
15
- font-size: 100%;
16
- background: var(--tertiary-color-dark, var(--tertiary-color));
17
- font-family: 'Barlow', sans-serif;
18
- font-weight: 300;
19
+ background: var(--bg-color);
20
+ font-weight: var(--para-weight);
21
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
19
22
  font-style: normal;
20
23
  letter-spacing: 0.018em;
24
+ overflow-x: hidden;
25
+ overscroll-behavior: none;
26
+ font-size: 1rem;
21
27
  }
22
28
 
23
- .loginbg {
24
- background: var(--tertiary-color);
29
+ input,
30
+ button,
31
+ textarea,
32
+ select {
33
+ font: inherit;
25
34
  }
26
35
 
27
36
  h1,
28
37
  h2,
29
38
  h3,
30
39
  h4,
31
- h5 {
32
- font-size: 1.675em;
33
- color: var(--primary-color);
34
- font-weight: 700;
35
- font-style: normal;
40
+ h5,
41
+ h6 {
42
+ color: var(--header-color);
43
+ font-weight: var(--title-weight);
44
+ line-height: var(--title-height);
45
+ letter-spacing: 0.015rem;
36
46
  }
37
47
 
38
48
  p {
39
- font-weight: 300;
40
- font-style: normal;
41
- margin: 0 0 calc(var(--padding) / 2); /* Replace with actual padding value */
49
+ font-size: clamp(1rem, 2vw, 1.25rem);
50
+ color: var(--paragraph-color);
51
+ font-weight: var(--para-weight);
52
+ line-height: var(--para-height);
53
+ margin-bottom: 1rem;
54
+
55
+ @media (max-width: 1024px) {
56
+ font-size: clamp(0.85rem, 2vw, 0.95rem);
57
+ }
58
+
59
+ strong {
60
+ font-weight: var(--title-weight);
61
+ }
62
+ }
63
+
64
+ ul {
65
+ font-size: clamp(1rem, 2vw, 1.25rem);
42
66
  color: var(--paragraph-color);
67
+ font-weight: var(--para-weight);
68
+ line-height: var(--para-height);
69
+ margin-bottom: 1rem;
70
+
71
+ @media (max-width: 1024px) {
72
+ font-size: clamp(0.85rem, 2vw, 0.95rem);
73
+ }
74
+ }
75
+
76
+ a {
77
+ outline: none;
43
78
  }
44
79
 
45
- p::before {
46
- content: '';
47
- display: block;
48
- height: 0;
49
- width: 0;
50
- margin-top: calc((1 - 1.25) * 0.5em);
80
+ .loginbg {
81
+ background: var(--tertiary-color);
51
82
  }
52
83
 
53
84
  textarea,
@@ -59,15 +90,24 @@ input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
59
90
  ):not(.inovua-react-toolkit-text-input__input):not(
60
91
  .inovua-react-toolkit-numeric-input__input
61
92
  ) {
62
- background: var(--item-color);
93
+ background: white;
63
94
  border-radius: var(--br);
64
95
  border: 1px solid rgba(var(--paragraph-color-rgb), 0.15);
65
96
  box-shadow: none;
66
97
  padding: 1rem;
67
98
  outline: none;
68
- /* width: 100%; */
69
99
  box-sizing: border-box;
70
- background: rgba(white, 0.5);
71
100
  color: var(--paragraph-color);
72
101
  transition: border 0.15s linear;
102
+ width: 100%;
103
+ line-height: 1;
104
+
105
+ &:focus {
106
+ border: 1px solid var(--primary-color);
107
+ }
73
108
  }
109
+
110
+ .popup-content {
111
+ border-radius: var(--br);
112
+ padding: 0 !important;
113
+ }