@bagelink/vue 1.15.15 → 1.15.26

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 (151) hide show
  1. package/dist/components/AccordionItem.vue.d.ts.map +1 -1
  2. package/dist/components/Avatar.vue.d.ts.map +1 -1
  3. package/dist/components/Badge.vue.d.ts.map +1 -1
  4. package/dist/components/BglVideo.vue.d.ts.map +1 -1
  5. package/dist/components/Btn.vue.d.ts.map +1 -1
  6. package/dist/components/Card.vue.d.ts.map +1 -1
  7. package/dist/components/DataPreview.vue.d.ts.map +1 -1
  8. package/dist/components/DragOver.vue.d.ts.map +1 -1
  9. package/dist/components/Dropdown.vue.d.ts.map +1 -1
  10. package/dist/components/FieldSetVue.vue.d.ts.map +1 -1
  11. package/dist/components/FilterQuery.vue.d.ts.map +1 -1
  12. package/dist/components/Image.vue.d.ts.map +1 -1
  13. package/dist/components/ListItem.vue.d.ts.map +1 -1
  14. package/dist/components/ListView.vue.d.ts.map +1 -1
  15. package/dist/components/MapEmbed/Index.vue.d.ts.map +1 -1
  16. package/dist/components/Menu.vue.d.ts.map +1 -1
  17. package/dist/components/NavBar.vue.d.ts.map +1 -1
  18. package/dist/components/PageTitle.vue.d.ts.map +1 -1
  19. package/dist/components/RouterWrapper.vue.d.ts.map +1 -1
  20. package/dist/components/Spreadsheet/Index.vue.d.ts.map +1 -1
  21. package/dist/components/Spreadsheet/SpreadsheetTable.vue.d.ts.map +1 -1
  22. package/dist/components/Swiper.vue.d.ts.map +1 -1
  23. package/dist/components/Toast.vue.d.ts.map +1 -1
  24. package/dist/components/analytics/BarChart.vue.d.ts.map +1 -1
  25. package/dist/components/analytics/LineChart.vue.d.ts.map +1 -1
  26. package/dist/components/analytics/PieChart.vue.d.ts.map +1 -1
  27. package/dist/components/calendar/CalendarPopover.vue.d.ts.map +1 -1
  28. package/dist/components/calendar/Index.vue.d.ts.map +1 -1
  29. package/dist/components/calendar/views/AgendaView.vue.d.ts.map +1 -1
  30. package/dist/components/calendar/views/DayView.vue.d.ts.map +1 -1
  31. package/dist/components/calendar/views/MonthView.vue.d.ts.map +1 -1
  32. package/dist/components/calendar/views/WeekView.vue.d.ts.map +1 -1
  33. package/dist/components/dataTable/DataTable.vue.d.ts.map +1 -1
  34. package/dist/components/form/inputs/ArrayInput.vue.d.ts.map +1 -1
  35. package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
  36. package/dist/components/form/inputs/Checkbox.vue.d.ts.map +1 -1
  37. package/dist/components/form/inputs/CodeEditor/Index.vue.d.ts.map +1 -1
  38. package/dist/components/form/inputs/ColorInput.vue.d.ts.map +1 -1
  39. package/dist/components/form/inputs/DateInput.vue.d.ts.map +1 -1
  40. package/dist/components/form/inputs/DatePicker.vue.d.ts.map +1 -1
  41. package/dist/components/form/inputs/EmailInput.vue.d.ts.map +1 -1
  42. package/dist/components/form/inputs/JSONInput.vue.d.ts.map +1 -1
  43. package/dist/components/form/inputs/MarkdownEditor.vue.d.ts.map +1 -1
  44. package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
  45. package/dist/components/form/inputs/OTP.vue.d.ts.map +1 -1
  46. package/dist/components/form/inputs/PasswordInput.vue.d.ts.map +1 -1
  47. package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
  48. package/dist/components/form/inputs/RangeInput.vue.d.ts.map +1 -1
  49. package/dist/components/form/inputs/RichText/components/EditorToolbar.vue.d.ts.map +1 -1
  50. package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
  51. package/dist/components/form/inputs/SelectBtn.vue.d.ts.map +1 -1
  52. package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
  53. package/dist/components/form/inputs/SignaturePad.vue.d.ts.map +1 -1
  54. package/dist/components/form/inputs/TableField.vue.d.ts.map +1 -1
  55. package/dist/components/form/inputs/TelInput.vue.d.ts.map +1 -1
  56. package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
  57. package/dist/components/form/inputs/ToggleInput.vue.d.ts.map +1 -1
  58. package/dist/components/layout/AppContent.vue.d.ts.map +1 -1
  59. package/dist/components/layout/AppLayout.vue.d.ts.map +1 -1
  60. package/dist/components/layout/AppSidebar.vue.d.ts.map +1 -1
  61. package/dist/components/layout/BottomMenu.vue.d.ts.map +1 -1
  62. package/dist/components/layout/Resizable.vue.d.ts.map +1 -1
  63. package/dist/components/layout/SidebarMenu.vue.d.ts.map +1 -1
  64. package/dist/components/layout/Skeleton.vue.d.ts.map +1 -1
  65. package/dist/components/layout/TabbedLayout.vue.d.ts.map +1 -1
  66. package/dist/components/layout/TabsNav.vue.d.ts.map +1 -1
  67. package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
  68. package/dist/dialog/Dialog.vue.d.ts.map +1 -1
  69. package/dist/form-flow/MultiStepForm.vue.d.ts.map +1 -1
  70. package/dist/index.cjs +141 -166
  71. package/dist/index.mjs +33696 -27776
  72. package/dist/style.css +2 -2
  73. package/package.json +1 -1
  74. package/src/components/AccordionItem.vue +32 -28
  75. package/src/components/Avatar.vue +12 -10
  76. package/src/components/Badge.vue +15 -13
  77. package/src/components/BglVideo.vue +13 -11
  78. package/src/components/Btn.vue +90 -89
  79. package/src/components/Card.vue +33 -31
  80. package/src/components/DataPreview.vue +17 -15
  81. package/src/components/DragOver.vue +2 -0
  82. package/src/components/Dropdown.vue +38 -36
  83. package/src/components/FieldSetVue.vue +7 -5
  84. package/src/components/FilterQuery.vue +28 -24
  85. package/src/components/Image.vue +7 -5
  86. package/src/components/JSONSchema.vue +45 -43
  87. package/src/components/JsonBuilder.vue +10 -8
  88. package/src/components/ListItem.vue +41 -39
  89. package/src/components/ListView.vue +3 -1
  90. package/src/components/MapEmbed/Index.vue +4 -2
  91. package/src/components/Menu.vue +17 -13
  92. package/src/components/NavBar.vue +198 -196
  93. package/src/components/PageTitle.vue +2 -0
  94. package/src/components/RouterWrapper.vue +3 -1
  95. package/src/components/Spreadsheet/Index.vue +8 -6
  96. package/src/components/Spreadsheet/SpreadsheetTable.vue +100 -98
  97. package/src/components/Swiper.vue +33 -30
  98. package/src/components/Toast.vue +2 -0
  99. package/src/components/analytics/BarChart.vue +10 -8
  100. package/src/components/analytics/LineChart.vue +27 -23
  101. package/src/components/analytics/PieChart.vue +32 -28
  102. package/src/components/calendar/CalendarPopover.vue +19 -17
  103. package/src/components/calendar/Index.vue +6 -4
  104. package/src/components/calendar/views/AgendaView.vue +19 -17
  105. package/src/components/calendar/views/DayView.vue +44 -42
  106. package/src/components/calendar/views/MonthView.vue +85 -83
  107. package/src/components/calendar/views/WeekView.vue +55 -53
  108. package/src/components/dataTable/DataTable.vue +140 -139
  109. package/src/components/form/inputs/ArrayInput.vue +28 -26
  110. package/src/components/form/inputs/CheckInput.vue +32 -30
  111. package/src/components/form/inputs/Checkbox.vue +4 -2
  112. package/src/components/form/inputs/CodeEditor/Index.vue +49 -45
  113. package/src/components/form/inputs/ColorInput.vue +37 -35
  114. package/src/components/form/inputs/DateInput.vue +3 -1
  115. package/src/components/form/inputs/DatePicker.vue +42 -40
  116. package/src/components/form/inputs/EmailInput.vue +67 -63
  117. package/src/components/form/inputs/JSONInput.vue +4 -2
  118. package/src/components/form/inputs/MarkdownEditor.vue +3 -1
  119. package/src/components/form/inputs/NumberInput.vue +53 -51
  120. package/src/components/form/inputs/OTP.vue +45 -43
  121. package/src/components/form/inputs/PasswordInput.vue +11 -9
  122. package/src/components/form/inputs/RadioGroup.vue +19 -18
  123. package/src/components/form/inputs/RangeInput.vue +23 -21
  124. package/src/components/form/inputs/RichText/components/EditorToolbar.vue +14 -12
  125. package/src/components/form/inputs/RichText/components/gridBox.vue +10 -8
  126. package/src/components/form/inputs/RichText/index.vue +218 -212
  127. package/src/components/form/inputs/SelectBtn.vue +3 -1
  128. package/src/components/form/inputs/SelectInput.vue +61 -57
  129. package/src/components/form/inputs/SignaturePad.vue +19 -17
  130. package/src/components/form/inputs/TableField.vue +71 -67
  131. package/src/components/form/inputs/TelInput.vue +84 -82
  132. package/src/components/form/inputs/TextInput.vue +38 -34
  133. package/src/components/form/inputs/ToggleInput.vue +31 -29
  134. package/src/components/layout/AppContent.vue +21 -17
  135. package/src/components/layout/AppLayout.vue +25 -23
  136. package/src/components/layout/AppSidebar.vue +71 -72
  137. package/src/components/layout/BottomMenu.vue +7 -3
  138. package/src/components/layout/Resizable.vue +8 -6
  139. package/src/components/layout/SidebarMenu.vue +16 -12
  140. package/src/components/layout/Skeleton.vue +17 -15
  141. package/src/components/layout/TabbedLayout.vue +6 -5
  142. package/src/components/layout/TabsNav.vue +112 -108
  143. package/src/components/lightbox/Lightbox.vue +147 -145
  144. package/src/dialog/Dialog.vue +142 -140
  145. package/src/form-flow/MultiStepForm.vue +88 -86
  146. package/src/styles/appearance.css +115 -115
  147. package/src/styles/bagel.css +30 -31
  148. package/src/styles/layout.css +977 -971
  149. package/src/styles/mobilLayout.css +754 -754
  150. package/src/styles/text.css +630 -630
  151. package/vite.config.ts +0 -31
@@ -203,281 +203,282 @@ const showLoading = computed(() => loading.value)
203
203
  </template>
204
204
 
205
205
  <style scoped>
206
+
206
207
  .col-drag {
207
- width: 2.5rem;
208
- padding: 0 0.25rem;
208
+ width: 2.5rem;
209
+ padding: 0 0.25rem;
209
210
  }
210
211
 
211
212
  .col-drag .bgl_icon-font {
212
- color: var(--bgl-black-tint);
213
- opacity: 0.5;
214
- transition: opacity 0.15s;
213
+ color: var(--bgl-black-tint);
214
+ opacity: 0.5;
215
+ transition: opacity 0.15s;
215
216
  }
216
217
 
217
218
  .row-item:hover .col-drag .bgl_icon-font {
218
- opacity: 0.8;
219
+ opacity: 0.8;
219
220
  }
220
221
 
221
222
  .grab {
222
- cursor: grab;
223
+ cursor: grab;
223
224
  }
224
225
 
225
226
  .table-list-wrap {
226
- min-height: 150px;
227
+ min-height: 150px;
227
228
  }
228
229
 
229
230
  .selected {
230
- background: var(--bgl-primary-tint);
231
+ background: var(--bgl-primary-tint);
231
232
  }
232
233
 
233
234
  tbody tr.selected:hover {
234
- background: var(--bgl-primary-light);
235
+ background: var(--bgl-primary-light);
235
236
  }
236
237
 
237
238
  .list-arrows {
238
- opacity: 0;
239
+ opacity: 0;
239
240
  }
240
241
 
241
242
  .list-arrows .bgl_icon-font {
242
- transition: all ease-in-out 0.2s;
243
+ transition: all ease-in-out 0.2s;
243
244
  }
244
245
 
245
246
  .list-arrows.sorted {
246
- opacity: 1;
247
+ opacity: 1;
247
248
  }
248
249
 
249
250
  .col img {
250
- height: 35px;
251
- margin-top: -14px;
252
- margin-bottom: -14px;
253
- border-radius: 5px;
254
- object-fit: cover;
251
+ height: 35px;
252
+ margin-top: -14px;
253
+ margin-bottom: -14px;
254
+ border-radius: 5px;
255
+ object-fit: cover;
255
256
  }
256
257
 
257
258
  .col:has(img) {
258
- padding-inline-end: 0.5rem;
259
+ padding-inline-end: 0.5rem;
259
260
  }
260
261
 
261
262
  .selecting .col {
262
- user-select: none;
263
+ user-select: none;
263
264
  }
264
265
 
265
266
  .overflowHiddenLoading {
266
- overflow: hidden !important;
267
+ overflow: hidden !important;
267
268
  }
268
269
 
269
270
  .list-arrows.sorted .desc {
270
- transform: rotate(180deg);
271
- display: inline-block;
271
+ transform: rotate(180deg);
272
+ display: inline-block;
272
273
  }
273
274
 
274
275
  table {
275
- border-spacing: 0 15px;
276
- border-collapse: collapse;
277
- width: 100%;
276
+ border-spacing: 0 15px;
277
+ border-collapse: collapse;
278
+ width: 100%;
278
279
  }
279
280
 
280
281
  th {
281
- font-size: 0.8rem;
282
- color: var(--bgl-black-tint);
283
- position: sticky;
284
- top: 0;
285
- z-index: 2;
286
- background: var(--bgl-box-bg);
287
- height: v-bind(computedItemHeight);
288
- vertical-align: bottom;
289
- font-weight: 400;
290
- text-align: start;
282
+ font-size: 0.8rem;
283
+ color: var(--bgl-black-tint);
284
+ position: sticky;
285
+ top: 0;
286
+ z-index: 2;
287
+ background: var(--bgl-box-bg);
288
+ height: v-bind(computedItemHeight);
289
+ vertical-align: bottom;
290
+ font-weight: 400;
291
+ text-align: start;
291
292
  }
292
293
 
293
294
  .embedded-field {
294
- margin-bottom: -0.2rem;
295
- margin-top: -0.2rem;
295
+ margin-bottom: -0.2rem;
296
+ margin-top: -0.2rem;
296
297
  }
297
298
 
298
299
  .row {
299
- border-bottom: 1px solid var(--bgl-border-color);
300
- cursor: pointer;
300
+ border-bottom: 1px solid var(--bgl-border-color);
301
+ cursor: pointer;
301
302
  }
302
303
 
303
304
  .row.first-row {
304
- font-size: 0.8rem;
305
- color: var(--bgl-black-tint);
306
- position: sticky;
307
- top: 0;
308
- z-index: 2;
309
- background: var(--bgl-box-bg);
310
- vertical-align: bottom;
305
+ font-size: 0.8rem;
306
+ color: var(--bgl-black-tint);
307
+ position: sticky;
308
+ top: 0;
309
+ z-index: 2;
310
+ background: var(--bgl-box-bg);
311
+ vertical-align: bottom;
311
312
  }
312
313
 
313
314
  .row.first-row::after {
314
- content: '';
315
- border-bottom: 1px solid var(--bgl-border-color);
316
- position: absolute;
317
- left: 0;
318
- right: 0;
319
- bottom: -1px;
315
+ content: '';
316
+ border-bottom: 1px solid var(--bgl-border-color);
317
+ position: absolute;
318
+ left: 0;
319
+ right: 0;
320
+ bottom: -1px;
320
321
  }
321
322
 
322
323
  .first-row .col {
323
- cursor: pointer;
324
- background: var(--bgl-box-bg);
324
+ cursor: pointer;
325
+ background: var(--bgl-box-bg);
325
326
  }
326
327
 
327
328
  .col {
328
- white-space: nowrap;
329
- padding: 0.75rem 1rem;
330
- transition: var(--bgl-transition);
331
- line-height: 1;
332
- align-items: center;
333
- text-overflow: ellipsis;
334
- overflow: hidden;
335
- max-width: 30vw;
329
+ white-space: nowrap;
330
+ padding: 0.75rem 1rem;
331
+ transition: var(--bgl-transition);
332
+ line-height: 1;
333
+ align-items: center;
334
+ text-overflow: ellipsis;
335
+ overflow: hidden;
336
+ max-width: 30vw;
336
337
  }
337
338
 
338
339
  .col:has(.bagel-input) {
339
- padding: 0rem 0.25rem;
340
+ padding: 0rem 0.25rem;
340
341
  }
341
342
 
342
343
  .col>div {
343
- display: flex;
344
- gap: 0.5rem;
344
+ display: flex;
345
+ gap: 0.5rem;
345
346
  }
346
347
 
347
348
  .max-col-width {
348
- max-width: 30vw;
349
- overflow: hidden;
350
- text-overflow: ellipsis;
349
+ max-width: 30vw;
350
+ overflow: hidden;
351
+ text-overflow: ellipsis;
351
352
  }
352
353
 
353
354
  .col.check .bgl_icon-font {
354
- border-radius: 100%;
355
- background: var(--bgl-blue-tint);
356
- color: var(--bgl-primary);
357
- width: 20px;
358
- height: 20px;
359
- display: flex;
360
- align-items: center;
361
- justify-content: center;
362
- margin-top: -2px;
355
+ border-radius: 100%;
356
+ background: var(--bgl-blue-tint);
357
+ color: var(--bgl-primary);
358
+ width: 20px;
359
+ height: 20px;
360
+ display: flex;
361
+ align-items: center;
362
+ justify-content: center;
363
+ margin-top: -2px;
363
364
  }
364
365
 
365
366
  .rows {
366
- font-size: 0.88em;
367
+ font-size: 0.88em;
367
368
  }
368
369
 
369
370
  .table-list {
370
- height: 100%;
371
- position: relative;
372
- padding-left: 0 !important;
373
- padding-right: 0 !important;
374
- overflow: auto;
371
+ height: 100%;
372
+ position: relative;
373
+ padding-left: 0 !important;
374
+ padding-right: 0 !important;
375
+ overflow: auto;
375
376
  }
376
377
 
377
378
  .BagelTable .table-list {
378
- overflow: unset;
379
+ overflow: unset;
379
380
  }
380
381
 
381
382
  .row-item {
382
- height: v-bind(computedItemHeight);
383
- transition: all 200ms ease;
383
+ height: v-bind(computedItemHeight);
384
+ transition: all 200ms ease;
384
385
  }
385
386
 
386
387
  .row-item:hover {
387
- background: var(--bgl-gray-light);
388
+ background: var(--bgl-gray-light);
388
389
  }
389
390
 
390
391
  .row-item input[type='checkbox'] {
391
- margin-top: 0.45rem !important;
392
- accent-color: var(--bgl-accent-color);
392
+ margin-top: 0.45rem !important;
393
+ accent-color: var(--bgl-accent-color);
393
394
  }
394
395
 
395
396
  .infinite-wrapper {
396
- overflow-y: auto;
397
- width: 100%;
397
+ overflow-y: auto;
398
+ width: 100%;
398
399
  }
399
400
 
400
401
  input[type='checkbox'] {
401
- margin-top: 0.3rem !important;
402
- accent-color: var(--bgl-accent-color);
403
- transform: scale(1.2);
404
- position: relative;
405
- cursor: pointer;
406
- display: flex;
407
- justify-content: center;
408
- align-items: center;
409
- height: 0.85rem;
410
- width: 0.85rem;
402
+ margin-top: 0.3rem !important;
403
+ accent-color: var(--bgl-accent-color);
404
+ transform: scale(1.2);
405
+ position: relative;
406
+ cursor: pointer;
407
+ display: flex;
408
+ justify-content: center;
409
+ align-items: center;
410
+ height: 0.85rem;
411
+ width: 0.85rem;
411
412
  }
412
413
 
413
414
  input[type='checkbox']::before {
414
- content: '';
415
- height: 0.85rem;
416
- width: 0.85rem;
417
- background: var(--bgl-primary);
418
- display: block;
419
- text-align: center;
420
- border-radius: 100%;
421
- opacity: 0;
422
- transition: all 200ms ease;
423
- transform: scale(1);
424
- position: absolute;
415
+ content: '';
416
+ height: 0.85rem;
417
+ width: 0.85rem;
418
+ background: var(--bgl-primary);
419
+ display: block;
420
+ text-align: center;
421
+ border-radius: 100%;
422
+ opacity: 0;
423
+ transition: all 200ms ease;
424
+ transform: scale(1);
425
+ position: absolute;
425
426
  }
426
427
 
427
428
  input[type='checkbox']:hover::before {
428
- opacity: 0.2;
429
- transform: scale(2);
429
+ opacity: 0.2;
430
+ transform: scale(2);
430
431
  }
431
432
 
432
433
  [lang='he'] [dir='ltr'] {
433
- text-align: right;
434
+ text-align: right;
434
435
  }
435
436
 
436
437
  th input[type='checkbox'] {
437
- transform: translateY(0.2rem) scale(1.2);
438
- accent-color: var(--bgl-accent-color);
438
+ transform: translateY(0.2rem) scale(1.2);
439
+ accent-color: var(--bgl-accent-color);
439
440
  }
440
441
 
441
442
  th::after {
442
- content: '';
443
- border-bottom: 1px solid var(--bgl-border-color);
444
- position: absolute;
445
- left: 0;
446
- right: 0;
447
- bottom: -1px;
443
+ content: '';
444
+ border-bottom: 1px solid var(--bgl-border-color);
445
+ position: absolute;
446
+ left: 0;
447
+ right: 0;
448
+ bottom: -1px;
448
449
  }
449
450
 
450
451
  tr {
451
- border-bottom: 1px solid var(--bgl-border-color);
452
- cursor: pointer;
453
- align-items: center;
452
+ border-bottom: 1px solid var(--bgl-border-color);
453
+ cursor: pointer;
454
+ align-items: center;
454
455
  }
455
456
 
456
457
  td,
457
458
  th {
458
- white-space: nowrap;
459
- padding: 0.75rem 0.65rem;
460
- transition: var(--bgl-transition);
461
- line-height: 1;
459
+ white-space: nowrap;
460
+ padding: 0.75rem 0.65rem;
461
+ transition: var(--bgl-transition);
462
+ line-height: 1;
462
463
  }
463
464
 
464
465
  tbody tr {
465
- font-size: 0.88em;
466
- height: v-bind(computedItemHeight);
467
- transition: all 200ms ease;
466
+ font-size: 0.88em;
467
+ height: v-bind(computedItemHeight);
468
+ transition: all 200ms ease;
468
469
  }
469
470
 
470
471
  tbody tr:hover {
471
- background: var(--bgl-gray-light);
472
+ background: var(--bgl-gray-light);
472
473
  }
473
474
 
474
475
  @media (max-width: 910px) {
475
- .col {
476
- max-width: 60vw !important;
477
- }
478
- .max-col-width {
476
+ .col {
479
477
  max-width: 60vw !important;
480
478
  }
479
+ .max-col-width {
480
+ max-width: 60vw !important;
481
+ }
481
482
  }
482
483
 
483
484
  </style>
@@ -218,62 +218,64 @@ function getItemRef(i: number) {
218
218
  </template>
219
219
 
220
220
  <style>
221
+
221
222
  :root {
222
- --array-input-bg: var(--bgl-input-bg);
223
+ --array-input-bg: var(--bgl-input-bg);
223
224
  }
224
225
  .array-input-row {
225
- grid-template-columns: 1fr auto;
226
+ grid-template-columns: 1fr auto;
226
227
  }
227
228
 
228
229
  .array-collapse-enter-active,
229
230
  .array-collapse-leave-active {
230
- overflow: hidden;
231
- transition: max-height 0.2s ease, opacity 0.2s ease;
232
- max-height: 480px;
233
- opacity: 1;
231
+ overflow: hidden;
232
+ transition: max-height 0.2s ease, opacity 0.2s ease;
233
+ max-height: 480px;
234
+ opacity: 1;
234
235
  }
235
236
 
236
237
  .array-collapse-enter-from,
237
238
  .array-collapse-leave-to {
238
- max-height: 0;
239
- opacity: 0;
239
+ max-height: 0;
240
+ opacity: 0;
240
241
  }
241
242
 
242
243
  .array-list-move {
243
- transition: transform 0.25s ease;
244
+ transition: transform 0.25s ease;
244
245
  }
245
246
 
246
247
  .array-list-enter-active,
247
248
  .array-list-leave-active {
248
- transition: all 0.2s ease;
249
+ transition: all 0.2s ease;
249
250
  }
250
251
 
251
252
  .array-list-enter-from,
252
253
  .array-list-leave-to {
253
- opacity: 0;
254
- transform: scale(0.98);
254
+ opacity: 0;
255
+ transform: scale(0.98);
255
256
  }
256
257
 
257
258
  .grid-array-line {
258
- grid-template-columns: auto 1fr auto;
259
- background: var(--array-input-bg) !important;
260
- }
259
+ grid-template-columns: auto 1fr auto;
260
+ background: var(--array-input-bg) !important;
261
+ }
261
262
 
262
- .grid-array-line button:hover {
263
- filter: brightness(90%);
264
- }
263
+ .grid-array-line button:hover {
264
+ filter: brightness(90%);
265
+ }
265
266
 
266
- .grid-array-line button:active {
267
- filter: brightness(80%);
267
+ .grid-array-line button:active {
268
+ filter: brightness(80%);
268
269
  }
269
270
  .simpleArray .label-text {
270
- display: none;
271
+ display: none;
271
272
  }
272
273
  .array-item-thumb {
273
- width: 24px;
274
- height: 24px;
275
- border-radius: 50%;
276
- object-fit: cover;
277
- flex-shrink: 0;
274
+ width: 24px;
275
+ height: 24px;
276
+ border-radius: 50%;
277
+ object-fit: cover;
278
+ flex-shrink: 0;
278
279
  }
280
+
279
281
  </style>
@@ -50,61 +50,63 @@ onMounted(() => {
50
50
  </template>
51
51
 
52
52
  <style scoped>
53
+
53
54
  .bgl-checkbox {
54
- flex-direction: row;
55
- cursor: pointer;
56
- align-items: flex-start;
55
+ flex-direction: row;
56
+ cursor: pointer;
57
+ align-items: flex-start;
57
58
  }
58
59
 
59
60
  .bgl-checkbox input[type='checkbox'] {
60
- accent-color: var(--bgl-input-label-active-color, var(--bgl-accent-color));
61
- height: calc(var(--bgl-input-height) / 2.75);
62
- width: calc(var(--bgl-input-height) / 2.75);
63
- min-width: 0;
64
- display: flex;
65
- justify-content: center;
66
- align-items: center;
67
- flex-shrink: 0;
61
+ accent-color: var(--bgl-input-label-active-color, var(--bgl-accent-color));
62
+ height: calc(var(--bgl-input-height) / 2.75);
63
+ width: calc(var(--bgl-input-height) / 2.75);
64
+ min-width: 0;
65
+ display: flex;
66
+ justify-content: center;
67
+ align-items: center;
68
+ flex-shrink: 0;
68
69
  }
69
70
 
70
71
  .bgl-checkbox input[type='checkbox']::before {
71
- content: '';
72
- height: calc(var(--bgl-input-height) / 2.75);
73
- width: calc(var(--bgl-input-height) / 2.75);
74
- background: var(--bgl-input-label-active-color, var(--bgl-primary));
75
- border-radius: 100%;
76
- opacity: 0;
77
- transition: all 200ms ease;
78
- position: absolute;
72
+ content: '';
73
+ height: calc(var(--bgl-input-height) / 2.75);
74
+ width: calc(var(--bgl-input-height) / 2.75);
75
+ background: var(--bgl-input-label-active-color, var(--bgl-primary));
76
+ border-radius: 100%;
77
+ opacity: 0;
78
+ transition: all 200ms ease;
79
+ position: absolute;
79
80
  }
80
81
 
81
82
  .bgl-checkbox input[type='checkbox']:hover::before {
82
- opacity: 0.2;
83
- transform: scale(2);
83
+ opacity: 0.2;
84
+ transform: scale(2);
84
85
  }
85
86
 
86
87
  .bgl-checkbox label {
87
- cursor: pointer;
88
- user-select: none;
89
- font-size: var(--bgl-input-font-size);
90
- transition: var(--bgl-transition-400);
88
+ cursor: pointer;
89
+ user-select: none;
90
+ font-size: var(--bgl-input-font-size);
91
+ transition: var(--bgl-transition-400);
91
92
  }
92
93
 
93
94
  .bgl-checkbox:hover label {
94
- color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
95
+ color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
95
96
  }
96
97
 
97
98
  .bgl-checkbox input:checked+label {
98
- color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
99
+ color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
99
100
  }
100
101
 
101
102
  .bagel-input:focus-within.bgl-checkbox:not(:checked) label {
102
- color: var(--bgl-label-color) !important;
103
+ color: var(--bgl-label-color) !important;
103
104
  }
104
105
 
105
106
  .bgl-checkbox input:disabled+label,
106
107
  .bgl-checkbox:has(input:disabled):hover label {
107
- color: var(--bgl-input-label-color) !important;
108
- opacity: 0.5;
108
+ color: var(--bgl-input-label-color) !important;
109
+ opacity: 0.5;
109
110
  }
111
+
110
112
  </style>
@@ -11,11 +11,12 @@ const val = defineModel<boolean>('modelValue', { default: false })
11
11
  </template>
12
12
 
13
13
  <style scoped>
14
+
14
15
  .primary-checkbox input {
15
16
  appearance: none;
16
17
  accent-color: var(--bgl-accent-color);
17
- height: calc(var(--bgl-input-height) / 1.75);
18
- width: calc(var(--bgl-input-height) / 1.75);
18
+ height: calc(var(--bgl-input-height) / 1.75);
19
+ width: calc(var(--bgl-input-height) / 1.75);
19
20
  min-width: 0;
20
21
  display: flex;
21
22
  justify-content: center;
@@ -48,4 +49,5 @@ const val = defineModel<boolean>('modelValue', { default: false })
48
49
  background: var(--bgl-primary);
49
50
  box-shadow: inset 0 0 0px 2px white;
50
51
  }
52
+
51
53
  </style>