logitude-dashboard-library 1.2.13 → 1.2.16

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.
@@ -6,6 +6,122 @@ $yellow: #FBC445;
6
6
  $red: #F74E49;
7
7
  $dark-grey: #717585;
8
8
 
9
+ .dl-dashboard-body {
10
+ background: $bg-color;
11
+ height: 100%;
12
+ padding: 2px;
13
+ margin: 0;
14
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
15
+ 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
16
+ sans-serif;
17
+ -webkit-font-smoothing: antialiased;
18
+ -moz-osx-font-smoothing: grayscale;
19
+ border-radius: 12px;
20
+ box-shadow: -1px 1px 24px -2px rgba(94, 94, 94, 0.84);
21
+ -webkit-box-shadow: -1px 1px 24px -2px rgba(94, 94, 94, 0.84);
22
+ -moz-box-shadow: -1px 1px 24px -2px rgba(94, 94, 94, 0.84);
23
+ }
24
+
25
+
26
+ .dl-dashboard-header {
27
+ display: flex;
28
+ justify-content: space-between;
29
+
30
+ }
31
+
32
+ .dl-heder-row{
33
+ width: 100%;
34
+ display: flex;
35
+ padding: 0px 11px;
36
+ flex-direction: row-reverse;
37
+ }
38
+
39
+ .dl-full-hight{
40
+ height: 100%;
41
+ }
42
+
43
+ .dl-grid {
44
+ display: grid;
45
+ grid-template-columns: repeat(12, 1fr);
46
+ grid-column-gap: 10px;
47
+ grid-row-gap: 10px;
48
+ height: fit-content;
49
+ padding: 10px;
50
+
51
+ >div {
52
+ box-sizing: border-box;
53
+ border-radius: 7px;
54
+ }
55
+
56
+ }
57
+ .dl-grid-container {
58
+ position: relative;
59
+
60
+ .react-grid-layout {
61
+ position: absolute;
62
+ top: 0;
63
+ width: 100%;
64
+ }
65
+ }
66
+ .dl-relativ-container{
67
+
68
+ position: relative;
69
+ width: 100%;
70
+ height: 100%;
71
+
72
+ }
73
+ .dl-scroll-container{
74
+ position: absolute;
75
+ left: 0;
76
+ top: 0;
77
+ width: 100%;
78
+ height: 100%;
79
+ overflow-y: scroll;
80
+ }
81
+
82
+ .dl-flex-stretch{
83
+ height: 100%;
84
+ flex-direction: row;
85
+ box-sizing: border-box;
86
+ display: flex;
87
+ place-content: stretch;
88
+ align-items: stretch;
89
+ max-height: 100%;
90
+ }
91
+
92
+ .dl-box {
93
+ display: flex;
94
+ flex-flow: column;
95
+ height: 100%;
96
+ }
97
+
98
+ .dl-box .dl-row {
99
+ border: 1px dotted grey;
100
+ }
101
+
102
+ .dl-box .dl-row.dl-header {
103
+ flex: 0 1 auto;
104
+ /* The above is shorthand for:
105
+ flex-grow: 0,
106
+ flex-shrink: 1,
107
+ flex-basis: auto
108
+ */
109
+ }
110
+
111
+ .dl-box .dl-row.dl-content {
112
+ flex: 1 1 auto;
113
+ overflow-y: scroll;
114
+ }
115
+
116
+ .dl-box .dl-row.dl-footer {
117
+ flex: 0 1 40px;
118
+ }
119
+
120
+
121
+
122
+
123
+
124
+
9
125
  .form-field {
10
126
  display: flex;
11
127
  align-items: baseline;
@@ -39,44 +155,12 @@ $dark-grey: #717585;
39
155
  height: 100%;
40
156
  }
41
157
 
42
- .dashboard-body {
43
- background: $bg-color;
44
- height: 100%;
45
-
46
- margin: 0;
47
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
48
- 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
49
- sans-serif;
50
- -webkit-font-smoothing: antialiased;
51
- -moz-osx-font-smoothing: grayscale;
52
158
 
53
- }
54
159
 
55
160
  .App {
56
161
  margin: 0 50px;
57
162
  }
58
163
 
59
- .dashboard-header {
60
- display: flex;
61
- justify-content: space-between;
62
-
63
- >div {
64
- align-items: center;
65
- display: flex;
66
- }
67
-
68
- >div>* {
69
- margin-right: 15px;
70
- }
71
-
72
- .p-button-icon,
73
- i {
74
- font-size: 28px !important;
75
- color: black;
76
- }
77
-
78
- }
79
-
80
164
 
81
165
 
82
166
  .App-link {
@@ -142,36 +226,15 @@ $dark-grey: #717585;
142
226
  }
143
227
 
144
228
 
145
- .grid-container {
146
- position: relative;
147
229
 
148
- .react-grid-layout {
149
- position: absolute;
150
- top: 0;
151
- width: 100%;
152
- }
153
- }
154
230
 
155
- .grid {
156
- display: grid;
157
- grid-template-columns: repeat(12, 1fr);
158
- grid-column-gap: 10px;
159
- grid-row-gap: 10px;
160
- height: fit-content;
161
- padding: 10px;
162
231
 
163
- >div {
164
- box-sizing: border-box;
165
- border-radius: 7px;
166
- }
167
-
168
- }
169
232
 
170
- .grid--bordered>div {
233
+ .dl-grid--bordered>div {
171
234
  border: 2px dotted #d0d0d0;
172
235
  }
173
236
 
174
- .grid--boxes>div {
237
+ .dl-grid--boxes>div {
175
238
  background: #00000008;
176
239
  }
177
240
 
@@ -1 +1,4 @@
1
1
  @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600&family=Roboto+Flex:opsz@8..144&display=swap');
2
+ *{
3
+ font-family: 'Roboto Flex';
4
+ }
@@ -6,10 +6,10 @@
6
6
  box-shadow: 0px 0px 3px 1px #6273842b;
7
7
  }
8
8
 
9
- * {
10
- // change ReactPrime component default size
11
- font-size: 15px;
12
- }
9
+ // * {
10
+ // // change ReactPrime component default size
11
+ // font-size: 15px;
12
+ // }
13
13
 
14
14
  .container{
15
15
  position: relative;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "logitude-dashboard-library",
3
- "version": "1.2.13",
3
+ "version": "1.2.16",
4
4
  "description": "Made with create-react-library",
5
5
  "author": "logitude",
6
6
  "license": "MIT",
@@ -1,190 +0,0 @@
1
- $blue: #2C99F7;
2
- $bg-color: #F5F6FB;
3
- $gray: #F5F6FB;
4
- $green: #22D792;
5
- $yellow: #FBC445;
6
- $red: #F74E49;
7
- $dark-grey: #717585;
8
-
9
- .form-field{
10
- display: flex;
11
- align-items: baseline;
12
- margin-bottom: 5px;
13
- >label{
14
- margin-right: 15px;
15
- width: 100px;
16
- }
17
- .p-inputtext{
18
- width: 250px;
19
- }
20
- }
21
- .dialog-footer{
22
- display: flex;
23
- justify-content: flex-end;
24
- button{
25
- margin-left: 10px;
26
- }
27
- }
28
- .dialog-wrapper{
29
- min-height: 400px;
30
-
31
- display: flex;
32
- flex-direction: column;
33
- justify-content: space-between;
34
- height: 100%;
35
- }
36
-
37
-
38
-
39
- .App {
40
- margin: 0 50px;
41
- }
42
-
43
- .dashboard-header {
44
- display: flex;
45
- justify-content: space-between;
46
-
47
- >div {
48
- align-items: center;
49
- display: flex;
50
- }
51
-
52
- >div>* {
53
- margin-right: 15px;
54
- }
55
-
56
- .p-button-icon,
57
- i {
58
- font-size: 28px !important;
59
- color: black;
60
- }
61
-
62
- }
63
-
64
-
65
-
66
- .App-link {
67
- color: #61dafb;
68
- }
69
-
70
- @keyframes App-logo-spin {
71
- from {
72
- transform: rotate(0deg);
73
- }
74
-
75
- to {
76
- transform: rotate(360deg);
77
- }
78
- }
79
-
80
-
81
- #container {
82
- height: 100%;
83
- width: 100%;
84
- position: absolute;
85
- }
86
-
87
-
88
- .react-grid-item {
89
- background-color: lightblue;
90
- }
91
-
92
- .panel {
93
- background: white !important;
94
- border-radius: 7px;
95
- box-shadow: 0px 0px 3px 1px #6273842b;
96
- padding: 20px;
97
- box-sizing: border-box;
98
- position: relative;
99
- height: 100%;
100
-
101
- header {
102
- display: flex;
103
- justify-content: space-between;
104
- align-items: center;
105
-
106
- i {
107
- font-size: 18px;
108
- // color: colors.$red;
109
- cursor: pointer;
110
- }
111
- }
112
-
113
- h1 {
114
- text-transform: capitalize;
115
- font-size: 15px;
116
- font-family: 'Roboto Flex';
117
- color: #061436;
118
- }
119
- }
120
-
121
-
122
- #container {
123
- width: 100%;
124
- height: 100%;
125
- position: absolute;
126
- }
127
-
128
-
129
- .grid-container {
130
- position: relative;
131
-
132
- .react-grid-layout {
133
- position: absolute;
134
- top: 0;
135
- width: 100%;
136
- }
137
- }
138
-
139
- .grid {
140
- display: grid;
141
- grid-template-columns: repeat(12, 1fr);
142
- grid-column-gap: 10px;
143
- grid-row-gap: 10px;
144
- height: fit-content;
145
- padding: 10px;
146
-
147
- >div {
148
- box-sizing: border-box;
149
- border-radius: 7px;
150
- }
151
-
152
- }
153
-
154
- .grid--bordered>div {
155
- border: 2px dotted #d0d0d0;
156
- }
157
-
158
- .grid--boxes>div {
159
- background: #00000008;
160
- }
161
-
162
-
163
- .dashboard-widget {
164
- height: calc(100% - 40px);
165
- box-sizing: border-box;
166
- }
167
-
168
- .filter-label {
169
- font-size: 12px;
170
- color: $dark-grey;
171
- }
172
-
173
- .buttons-overlay .p-overlaypanel-content {
174
- padding: 0 !important;
175
- }
176
-
177
- .buttons-list>div {
178
- padding: 15px;
179
- width: 150px;
180
- cursor: pointer;
181
- user-select: none;
182
-
183
- &:hover {
184
- background: $bg-color;
185
- }
186
- }
187
-
188
- .hidden {
189
- display: none;
190
- }