@bagelink/vue 0.0.245 → 0.0.247

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.
@@ -2,8 +2,10 @@
2
2
  <div class="pb-1">
3
3
  <label :for="id">
4
4
  {{ label }}
5
- <Multiselect ref="multiselect" :id="id" label="label" trackBy="value" :options="optionList" :required="required"
6
- :placeholder="placeholder" v-model="seletValue" />
5
+ <Multiselect
6
+ ref="multiselect" :id="id" label="label" trackBy="value" :options="optionList" :required="required"
7
+ :placeholder="placeholder" v-model="seletValue"
8
+ />
7
9
  </label>
8
10
  </div>
9
11
  </template>
@@ -125,7 +127,7 @@ fieldset[disabled] .multiselect {
125
127
  width: 100%;
126
128
  min-height: var(--input-height);
127
129
  text-align: left;
128
- color: #35495e;
130
+ color: var(--input-color);
129
131
  }
130
132
 
131
133
  .multiselect * {
@@ -172,21 +174,21 @@ fieldset[disabled] .multiselect {
172
174
  .multiselect__single {
173
175
  position: relative;
174
176
  display: inline-block;
175
- min-height: 20px;
176
- line-height: 20px;
177
177
  border: none;
178
- border-radius: var(--input-border-radius);
179
178
  background: var(--input-bg);
180
- padding: 0 0 0 5px;
181
179
  width: calc(100%);
182
180
  transition: border 0.1s ease;
183
181
  box-sizing: border-box;
184
- margin-bottom: 8px;
185
182
  vertical-align: top;
183
+ font-size: var(--input-font-size);
184
+ padding-inline-start: 0rem;
185
+ }
186
+ .multiselect--active .multiselect__input {
187
+ margin-top: -0.5rem;
186
188
  }
187
189
 
188
190
  .multiselect__input::placeholder {
189
- color: #35495e;
191
+ color: var(--input-color);
190
192
  }
191
193
 
192
194
  .multiselect__tag~.multiselect__input,
@@ -206,7 +208,7 @@ fieldset[disabled] .multiselect {
206
208
  }
207
209
 
208
210
  .multiselect__single {
209
- padding-left: 5px;
211
+ /* padding-left: 5px; */
210
212
  margin-bottom: 8px;
211
213
  }
212
214
 
@@ -215,12 +217,17 @@ fieldset[disabled] .multiselect {
215
217
  }
216
218
 
217
219
  .multiselect__tags {
218
- min-height: 40px;
220
+ /* min-height: 40px; */
219
221
  display: block;
220
- padding: 8px 40px 0 8px;
222
+ /* padding: 0.7rem 40px 0.7rem 8px; */
221
223
  border-radius: var(--input-border-radius);
222
224
  background: var(--input-bg);
223
225
  font-size: var(--input-font-size);
226
+ height: var(--input-height);
227
+ line-height: 0;
228
+ padding: calc(var(--input-height) / 2);
229
+ padding-inline-end: 40px;
230
+ padding-inline-start: 0.7rem;
224
231
  }
225
232
 
226
233
  .multiselect__tag {
@@ -293,8 +300,8 @@ fieldset[disabled] .multiselect {
293
300
  display: block;
294
301
  position: absolute;
295
302
  box-sizing: border-box;
296
- width: 40px;
297
- height: 38px;
303
+ /* width: 40px; */
304
+ /* height: 38px; */
298
305
  right: 1px;
299
306
  top: 1px;
300
307
  padding: 4px 8px;
@@ -303,22 +310,23 @@ fieldset[disabled] .multiselect {
303
310
  text-align: center;
304
311
  cursor: pointer;
305
312
  transition: transform 0.2s ease;
313
+ padding-top: calc(var(--input-height) / 2 - 0.7rem);
314
+
306
315
  }
307
316
 
308
317
  .multiselect__select::before {
309
318
  position: relative;
310
319
  background-size: contain;
311
320
  transform: scale(0.5);
312
- top: 4px;
313
321
  color: var(--bgl-black);
314
- content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%23b7b7b7' height='24' viewBox='0 -960 960 960' width='24'><path d='M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z'/></svg>")
322
+ content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%23b7b7b7' height='24' viewBox='0 -960 960 960' width='24'><path d='M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z'/></svg>");
315
323
  }
316
324
 
317
325
  .multiselect__placeholder {
318
- color: #adadad;
326
+ color: var(--placeholder-color);
319
327
  display: inline-block;
320
328
  margin-bottom: 10px;
321
- padding-top: 2px;
329
+
322
330
  }
323
331
 
324
332
  .multiselect--active .multiselect__placeholder {
@@ -427,16 +435,16 @@ fieldset[disabled] .multiselect {
427
435
 
428
436
  .multiselect__option--group {
429
437
  background: #ededed;
430
- color: #35495e;
438
+ color: var(--input-color);
431
439
  }
432
440
 
433
441
  .multiselect__option--group.multiselect__option--highlight {
434
- background: #35495e;
442
+ background: var(--input-color);
435
443
  color: #fff;
436
444
  }
437
445
 
438
446
  .multiselect__option--group.multiselect__option--highlight::after {
439
- background: #35495e;
447
+ background: var(--input-color);
440
448
  }
441
449
 
442
450
  .multiselect__option--disabled.multiselect__option--highlight {
@@ -481,7 +489,9 @@ fieldset[disabled] .multiselect {
481
489
  }
482
490
 
483
491
  *[dir="rtl"] .multiselect__tags {
484
- padding: 8px 8px 0 40px;
492
+ padding: calc(var(--input-height) / 2);
493
+ padding-inline-end: 40px;
494
+ padding-inline-start: 0.7rem;
485
495
  }
486
496
 
487
497
  *[dir="rtl"] .multiselect__content {
@@ -272,6 +272,22 @@
272
272
  flex: 1 1 33.33333%;
273
273
  }
274
274
 
275
+ .mb-0 {
276
+ margin-bottom: 0rem !important;
277
+ }
278
+
279
+ .mb-025 {
280
+ margin-bottom: 0.25rem !important;
281
+ }
282
+
283
+ .mb-05 {
284
+ margin-bottom: 0.5rem !important;
285
+ }
286
+
287
+ .mb-075 {
288
+ margin-bottom: 0.75rem !important;
289
+ }
290
+
275
291
  .mb-1 {
276
292
  margin-bottom: 1rem !important;
277
293
  }
@@ -284,6 +300,26 @@
284
300
  margin-bottom: 3rem !important;
285
301
  }
286
302
 
303
+ .mb-4 {
304
+ margin-bottom: 4rem !important;
305
+ }
306
+
307
+ .mt-0 {
308
+ margin-top: 0rem !important;
309
+ }
310
+
311
+ .mt-025 {
312
+ margin-top: 0.25rem !important;
313
+ }
314
+
315
+ .mt-05 {
316
+ margin-top: 0.5rem !important;
317
+ }
318
+
319
+ .mt-075 {
320
+ margin-top: 0.75rem !important;
321
+ }
322
+
287
323
  .mt-1 {
288
324
  margin-top: 1rem !important;
289
325
  }
@@ -296,6 +332,26 @@
296
332
  margin-top: 3rem !important;
297
333
  }
298
334
 
335
+ .mt-4 {
336
+ margin-top: 4rem !important;
337
+ }
338
+
339
+ .ms-0 {
340
+ margin-inline-start: 0rem !important;
341
+ }
342
+
343
+ .ms-025 {
344
+ margin-inline-start: 0.25rem !important;
345
+ }
346
+
347
+ .ms-05 {
348
+ margin-inline-start: 0.5rem !important;
349
+ }
350
+
351
+ .ms-075 {
352
+ margin-inline-start: 0.75rem !important;
353
+ }
354
+
299
355
  .ms-1 {
300
356
  margin-inline-start: 1rem !important;
301
357
  }
@@ -308,6 +364,26 @@
308
364
  margin-inline-start: 3rem !important;
309
365
  }
310
366
 
367
+ .ms-4 {
368
+ margin-inline-start: 4rem !important;
369
+ }
370
+
371
+ .me-0 {
372
+ margin-inline-end: 0rem !important;
373
+ }
374
+
375
+ .me-025 {
376
+ margin-inline-end: 0.25rem !important;
377
+ }
378
+
379
+ .me-05 {
380
+ margin-inline-end: 0.5rem !important;
381
+ }
382
+
383
+ .me-075 {
384
+ margin-inline-end: 0.75rem !important;
385
+ }
386
+
311
387
  .me-1 {
312
388
  margin-inline-end: 1rem !important;
313
389
  }
@@ -320,86 +396,125 @@
320
396
  margin-inline-end: 3rem !important;
321
397
  }
322
398
 
323
- .mb-0 {
324
- margin-bottom: 0rem !important;
399
+ .me-4 {
400
+ margin-inline-end: 4rem !important;
325
401
  }
326
402
 
327
- .mb-4 {
328
- margin-bottom: 4rem !important;
403
+
404
+ .-mb-025 {
405
+ margin-bottom: -0.25rem !important;
329
406
  }
330
407
 
331
- .mb-075 {
332
- margin-bottom: 0.75rem !important;
408
+ .-mb-05 {
409
+ margin-bottom: -0.5rem !important;
333
410
  }
334
411
 
335
- .mb-05 {
336
- margin-bottom: 0.5rem !important;
412
+ .-mb-075 {
413
+ margin-bottom: -0.75rem !important;
337
414
  }
338
415
 
339
- .mb-025 {
340
- margin-bottom: 0.25rem !important;
416
+ .-mb-1 {
417
+ margin-bottom: -1rem !important;
341
418
  }
342
419
 
343
- .mt-0 {
344
- margin-top: 0rem !important;
420
+ .-mb-2 {
421
+ margin-bottom: -2rem !important;
345
422
  }
346
423
 
347
- .mt-4 {
348
- margin-top: 4rem !important;
424
+ .-mb-3 {
425
+ margin-bottom: -3rem !important;
349
426
  }
350
427
 
351
- .mt-075 {
428
+ .-mb-4 {
429
+ margin-bottom: -4rem !important;
430
+ }
431
+
432
+ .-mt-025 {
433
+ margin-top: -0.25rem !important;
434
+ }
435
+
436
+ .-mt-05 {
437
+ margin-top: -0.5rem !important;
438
+ }
439
+
440
+ .-mt-075 {
352
441
  margin-top: 0.75rem !important;
353
442
  }
354
443
 
355
- .mt-05 {
356
- margin-top: 0.5rem !important;
444
+ .-mt-1 {
445
+ margin-top: -1rem !important;
357
446
  }
358
447
 
359
- .mt-025 {
360
- margin-top: 0.25rem !important;
448
+ .-mt-2 {
449
+ margin-top: -2rem !important;
361
450
  }
362
451
 
363
- .ms-0 {
364
- margin-inline-start: 0rem !important;
452
+ .-mt-3 {
453
+ margin-top: -3rem !important;
365
454
  }
366
455
 
367
- .ms-4 {
368
- margin-inline-start: 4rem !important;
456
+ .-mt-4 {
457
+ margin-top: -4rem !important;
369
458
  }
370
459
 
371
- .ms-075 {
372
- margin-inline-start: 0.75rem !important;
460
+ .-ms-025 {
461
+ margin-inline-start: -0.25rem !important;
373
462
  }
374
463
 
375
- .ms-05 {
376
- margin-inline-start: 0.5rem !important;
464
+ .-ms-05 {
465
+ margin-inline-start: -0.5rem !important;
377
466
  }
378
467
 
379
- .ms-025 {
380
- margin-inline-start: 0.25rem !important;
468
+ .-ms-075 {
469
+ margin-inline-start: -0.75rem !important;
381
470
  }
382
471
 
383
- .me-0 {
384
- margin-inline-end: 0rem !important;
472
+ .-ms-1 {
473
+ margin-inline-start: -1rem !important;
385
474
  }
386
475
 
387
- .me-4 {
388
- margin-inline-end: 4rem !important;
476
+ .-ms-2 {
477
+ margin-inline-start: -2rem !important;
389
478
  }
390
479
 
391
- .me-075 {
392
- margin-inline-end: 0.75rem !important;
480
+ .-ms-3 {
481
+ margin-inline-start: -3rem !important;
393
482
  }
394
483
 
395
- .me-05 {
396
- margin-inline-end: 0.5rem !important;
484
+ .-ms-4 {
485
+ margin-inline-start: -4rem !important;
397
486
  }
398
487
 
399
- .me-025 {
400
- margin-inline-end: 0.25rem !important;
488
+
489
+ .-me-025 {
490
+ margin-inline-end: -0.25rem !important;
401
491
  }
402
492
 
493
+ .-me-05 {
494
+ margin-inline-end: -0.5rem !important;
495
+ }
496
+
497
+ .-me-075 {
498
+ margin-inline-end: -0.75rem !important;
499
+ }
500
+
501
+ .-me-1 {
502
+ margin-inline-end: -1rem !important;
503
+ }
504
+
505
+ .-me-2 {
506
+ margin-inline-end: -2rem !important;
507
+ }
508
+
509
+ .-me-3 {
510
+ margin-inline-end: -3rem !important;
511
+ }
512
+
513
+ .-me-4 {
514
+ margin-inline-end: -4rem !important;
515
+ }
516
+
517
+
403
518
  .pb-0 {
404
519
  padding-bottom: 0rem !important;
405
520
  }
@@ -85,6 +85,10 @@ h6 {}
85
85
  font-weight: 700;
86
86
  }
87
87
 
88
+ .line-height-1 {
89
+ line-height: 1;
90
+ }
91
+
88
92
  .ellipsis {
89
93
  overflow: hidden;
90
94
  display: block;