benivo-ui-library 1.8.21 → 1.8.23

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.
@@ -1,3 +1,5 @@
1
+ @menu-width: 280px;
2
+
1
3
  .assignment-option {
2
4
  position: relative;
3
5
  padding: 10px 0;
@@ -78,3 +80,129 @@
78
80
  }
79
81
  }
80
82
 
83
+ .assignment-select-box-custom-menu{
84
+ .assignments-filter-wrapper {
85
+ padding: 15px 12px;
86
+
87
+ .form-select__control {
88
+ cursor: pointer;
89
+ }
90
+
91
+ .form-group {
92
+ margin-bottom: 0;
93
+ width: 70%;
94
+
95
+ @media (min-width: 768px) and (max-width: 991px) {
96
+ width: 80% !important;
97
+ }
98
+
99
+ &:before {
100
+ content: '\e9da';
101
+ font-family: 'icomoon';
102
+ color: @extra-light-gray-text;
103
+ display: block;
104
+ position: absolute;
105
+ top: 50%;
106
+ left: @input-pad-x;
107
+ transform: translateY(-50%);
108
+ }
109
+
110
+ input {
111
+ padding-left: 38px;
112
+ width: 100%;
113
+ margin-right: 12px;
114
+ }
115
+ }
116
+
117
+ .assignments-filter {
118
+ display: inline-flex;
119
+ align-items: center;
120
+ cursor: pointer;
121
+ position: relative;
122
+ flex-shrink: 0;
123
+
124
+ .assignments-filter-statuses {
125
+ position: absolute;
126
+ top: 100%;
127
+ right: 0;
128
+ background-color: #ffffff;
129
+ border: solid 1px rgba(0, 0, 0, 0.15);
130
+ .border-radius(4px);
131
+ z-index: @zindex-dropdown;
132
+ width: 256px;
133
+ margin-top: 10px;
134
+
135
+ &.horizontal{
136
+ &__right{
137
+ @media @lg {
138
+ left: 0;
139
+ right: unset;
140
+ }
141
+ }
142
+ &__left{
143
+ @media @lg {
144
+ left: unset;
145
+ right: 0;
146
+ }
147
+ }
148
+ }
149
+
150
+ &.vertical{
151
+ &__bottom{
152
+ @media @lg {
153
+ top: 100%;
154
+ bottom: unset;
155
+ }
156
+ }
157
+ &__top{
158
+ @media @lg {
159
+ top: unset;
160
+ bottom: 100%;
161
+ }
162
+ }
163
+ }
164
+
165
+ li {
166
+ padding: 12px;
167
+
168
+ &:hover {
169
+ background-color: @form-select-option-bg-selected;
170
+ }
171
+
172
+ &:before {
173
+ left: 42px;
174
+ }
175
+
176
+ .form-check {
177
+ margin-bottom: 0;
178
+ padding-left: 46px;
179
+ }
180
+ }
181
+ }
182
+
183
+ span {
184
+ &,
185
+ &:before {
186
+ color: @primary-color;
187
+ }
188
+
189
+ &:last-child {
190
+ margin-left: 8px;
191
+ font-size: @small-font-size;
192
+ }
193
+ }
194
+ }
195
+ }
196
+ }
197
+
198
+ .form-select__menu:has(> .assignment-select-box-custom-menu){
199
+ --menu-width: @menu-width;
200
+
201
+ width: 100%;
202
+ right: 0;
203
+
204
+ @media @lg {
205
+ width: var(--menu-width, @menu-width);
206
+ }
207
+ }
208
+
package/autoComplete.less CHANGED
@@ -131,5 +131,15 @@
131
131
  .form-control {
132
132
  margin: 0;
133
133
  }
134
+
135
+ .required-point {
136
+ color: @error-color;
137
+ }
138
+ }
139
+
140
+ .form-control {
141
+ white-space: nowrap;
142
+ overflow: hidden;
143
+ text-overflow: ellipsis;
134
144
  }
135
145
  }
package/checkbox.less CHANGED
@@ -215,7 +215,6 @@
215
215
  }
216
216
 
217
217
  &.disabled {
218
- pointer-events: none;
219
218
  .filter(grayscale(100%));
220
219
  }
221
220
  }
@@ -231,6 +230,14 @@
231
230
  input:checked + .on-off-slide {
232
231
  background-color: @primary-color;
233
232
  border-color: @primary-color;
233
+
234
+ &.not-allowed{
235
+ background-color: lighten(@primary-color, 20%);
236
+ border-color: lighten(@primary-color, 20%);
237
+ &::before{
238
+ border-color: lighten(@primary-color, 20%);
239
+ }
240
+ }
234
241
  }
235
242
 
236
243
  input:focus + .on-off-slide {
package/datePicker.less CHANGED
@@ -39,7 +39,7 @@
39
39
  right: 10px;
40
40
  top: 0;
41
41
  display: block;
42
- content: "\e938";
42
+ content: '\e938';
43
43
  height: 100%;
44
44
  width: 20px;
45
45
  color: @form-placeholder-color;
@@ -50,8 +50,7 @@
50
50
  z-index: 3;
51
51
  pointer-events: none;
52
52
 
53
- @media screen and (-ms-high-contrast: active),
54
- (-ms-high-contrast: none) {
53
+ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
55
54
  padding-top: 4px;
56
55
  }
57
56
  }
@@ -69,7 +68,7 @@
69
68
  &.field-invalid {
70
69
  .react-datepicker__input-container {
71
70
  input {
72
- border-color: @error-color !important;
71
+ border-color: @error-color !important;
73
72
  }
74
73
  }
75
74
  }
@@ -86,7 +85,7 @@
86
85
  }
87
86
  }
88
87
 
89
- input[type="date"] {
88
+ input[type='date'] {
90
89
  pointer-events: none;
91
90
  background-color: #f1f2f3;
92
91
  }
@@ -273,7 +272,6 @@
273
272
  input.native-date-picker {
274
273
  position: relative;
275
274
  background-color: @form-select-option-bg;
276
- display: flex;
277
275
 
278
276
  &.invisible {
279
277
  opacity: 0;
@@ -301,7 +299,7 @@ input.native-date-picker {
301
299
  }
302
300
  }
303
301
 
304
- &[value=""] {
302
+ &[value=''] {
305
303
  min-height: 3rem;
306
304
 
307
305
  &:before {
@@ -319,7 +317,7 @@ input.native-date-picker {
319
317
  display: flex;
320
318
  align-items: center;
321
319
  height: 100%;
322
- content: "\e938";
320
+ content: '\e938';
323
321
  height: 100%;
324
322
  width: 20px;
325
323
  color: inherit;
@@ -327,8 +325,6 @@ input.native-date-picker {
327
325
  font-size: 18px;
328
326
  }
329
327
 
330
-
331
-
332
328
  &::-webkit-calendar-picker-indicator {
333
329
  background-color: transparent;
334
330
  background-image: none;
@@ -341,7 +337,6 @@ input.native-date-picker {
341
337
  }
342
338
 
343
339
  .date-picker-year-no-option {
344
-
345
340
  div {
346
341
  display: flex;
347
342
  justify-content: space-between;
@@ -352,4 +347,4 @@ input.native-date-picker {
352
347
  font-weight: 100;
353
348
  }
354
349
  }
355
- }
350
+ }
package/frame.less ADDED
@@ -0,0 +1,24 @@
1
+ .entry-popup-frame {
2
+ position: fixed;
3
+ top: 0;
4
+ left: 0;
5
+ width: 100%;
6
+ height: 100%;
7
+ z-index: 1000;
8
+ padding: 0 24px;
9
+ pointer-events: none;
10
+
11
+ .frame-box {
12
+ display: flex;
13
+ width: 100%;
14
+ height: 100%;
15
+ gap: 10px;
16
+ align-items: end;
17
+ justify-content: end;
18
+ }
19
+
20
+ .popup-box {
21
+ width: max-content;
22
+ max-width: 502px;
23
+ }
24
+ }