@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
@@ -290,46 +290,47 @@ onMounted(initializeCountry)
290
290
  </template>
291
291
 
292
292
  <style scoped>
293
+
293
294
  .tel-input {
294
- direction: ltr;
295
- text-align: left;
296
- background: var(--bgl-input-bg);
297
- border: none;
298
- padding-inline-start: 0.7rem;
299
- border-radius: var(--bgl-input-border-radius);
300
- color: var(--bgl-input-color);
301
- min-width: calc(var(--bgl-input-height) * 3);
302
- width: 100%;
303
- display: flex;
304
- align-items: center;
295
+ direction: ltr;
296
+ text-align: left;
297
+ background: var(--bgl-input-bg);
298
+ border: none;
299
+ padding-inline-start: 0.7rem;
300
+ border-radius: var(--bgl-input-border-radius);
301
+ color: var(--bgl-input-color);
302
+ min-width: calc(var(--bgl-input-height) * 3);
303
+ width: 100%;
304
+ display: flex;
305
+ align-items: center;
305
306
  }
306
307
 
307
308
  .tel-input:focus-within {
308
- outline: none;
309
- box-shadow: inset 0 0 10px #00000012;
309
+ outline: none;
310
+ box-shadow: inset 0 0 10px #00000012;
310
311
  }
311
312
 
312
313
  /* In frame mode, remove the solid background from .tel-input wrapper */
313
314
  .bagel-input.frame .tel-input {
314
- background: transparent !important;
315
+ background: transparent !important;
315
316
  }
316
317
 
317
318
  /* frame variant: outline on the tel-input wrapper */
318
319
  .bagel-input.frame .tel-input {
319
- outline: 1.5px solid var(--bgl-border-color);
320
- outline-offset: -1px;
321
- transition: outline-color 0.2s ease, box-shadow 0.2s ease;
320
+ outline: 1.5px solid var(--bgl-border-color);
321
+ outline-offset: -1px;
322
+ transition: outline-color 0.2s ease, box-shadow 0.2s ease;
322
323
  }
323
324
 
324
325
  .bagel-input.frame .tel-input:focus-within {
325
- outline-color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
326
- box-shadow: 0 0 0 3px color-mix(in srgb, var(--bgl-input-label-active-color, var(--bgl-primary)) 12%, transparent) !important;
326
+ outline-color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
327
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--bgl-input-label-active-color, var(--bgl-primary)) 12%, transparent) !important;
327
328
  }
328
329
 
329
330
  /* bgl-outline variant: outline on the tel-input wrapper */
330
331
  .bagel-input.bgl-outline .tel-input {
331
- outline: 1.5px solid var(--bgl-border-color);
332
- outline-offset: -1px;
332
+ outline: 1.5px solid var(--bgl-border-color);
333
+ outline-offset: -1px;
333
334
  }
334
335
 
335
336
  /* Prevent the global frame/outline rules from hitting the inner inputs */
@@ -337,130 +338,131 @@ onMounted(initializeCountry)
337
338
  .bagel-input.bgl-outline .tel-input input,
338
339
  .bagel-input.frame .tel-input input:focus,
339
340
  .bagel-input.frame .tel-input input:focus-visible {
340
- outline: none !important;
341
- box-shadow: none !important;
342
- background: transparent;
341
+ outline: none !important;
342
+ box-shadow: none !important;
343
+ background: transparent;
343
344
  }
344
345
 
345
346
  .tel-input input {
346
- background: transparent;
347
- text-align: left;
348
- flex: 1;
347
+ background: transparent;
348
+ text-align: left;
349
+ flex: 1;
349
350
  }
350
351
 
351
352
  .tel-input input:focus,
352
353
  .tel-input input:focus-visible {
353
- outline: none !important;
354
- box-shadow: none !important;
354
+ outline: none !important;
355
+ box-shadow: none !important;
355
356
  }
356
357
 
357
358
  .country-code-display {
358
- align-items: center;
359
- white-space: nowrap;
359
+ align-items: center;
360
+ white-space: nowrap;
360
361
  }
361
362
 
362
363
  .dial-code {
363
- font-size: var(--bgl-input-font-size);
364
- color: var(--bgl-input-color);
365
- opacity: 0.6;
364
+ font-size: var(--bgl-input-font-size);
365
+ color: var(--bgl-input-color);
366
+ opacity: 0.6;
366
367
  }
367
368
 
368
369
  .tel-country {
369
- font-size: var(--bgl-input-font-size);
370
- max-width: 200px;
371
- white-space: nowrap;
372
- text-overflow: ellipsis;
373
- overflow: hidden;
374
- margin-top: 0;
375
- margin-bottom: 0;
370
+ font-size: var(--bgl-input-font-size);
371
+ max-width: 200px;
372
+ white-space: nowrap;
373
+ text-overflow: ellipsis;
374
+ overflow: hidden;
375
+ margin-top: 0;
376
+ margin-bottom: 0;
376
377
  }
377
378
 
378
379
  .tel-countryp-dropdown {
379
- direction: ltr;
380
- text-align: left;
380
+ direction: ltr;
381
+ text-align: left;
381
382
  }
382
383
 
383
384
  .national-number-input {
384
- margin-left: 4px;
385
+ margin-left: 4px;
385
386
  }
386
387
 
387
388
  .national-number-input:focus,
388
389
  .national-number-input:focus-visible {
389
- outline: none !important;
390
- box-shadow: none !important;
390
+ outline: none !important;
391
+ box-shadow: none !important;
391
392
  }
392
393
 
393
394
  .country-changed {
394
- animation: highlight-country 1.5s ease-in-out;
395
+ animation: highlight-country 1.5s ease-in-out;
395
396
  }
396
397
 
397
398
  .invalid input {
398
- border-color: var(--error-color, red);
399
+ border-color: var(--error-color, red);
399
400
  }
400
401
 
401
402
  .bagel-input.has-error .tel-input {
402
- border: 1px solid var(--bgl-red) !important;
403
+ border: 1px solid var(--bgl-red) !important;
403
404
  }
404
405
  .bagel-input.has-error .tel-input {
405
- --bgl-border-color: var(--bgl-red) !important;
406
+ --bgl-border-color: var(--bgl-red) !important;
406
407
  }
407
408
 
408
409
  @keyframes highlight-country {
409
410
 
410
- 0%,
411
- 100% {
412
- background-color: transparent;
413
- }
411
+ 0%,
412
+ 100% {
413
+ background-color: transparent;
414
+ }
414
415
 
415
- 30% {
416
- background-color: var(--primary-color-light, rgba(0, 123, 255, 0.2));
417
- }
416
+ 30% {
417
+ background-color: var(--primary-color-light, rgba(0, 123, 255, 0.2));
418
+ }
418
419
 
419
- 70% {
420
- background-color: var(--primary-color-light, rgba(0, 123, 255, 0.2));
421
- }
420
+ 70% {
421
+ background-color: var(--primary-color-light, rgba(0, 123, 255, 0.2));
422
+ }
422
423
  }
423
424
  /* Underlined mode styling */
424
425
  .bagel-input.underlined {
425
- padding-top: 1.1rem;
426
+ padding-top: 1.1rem;
426
427
  }
427
428
 
428
429
  /* In underlined mode, always show label at top */
429
430
  .bagel-input.underlined .label-text {
430
- position: absolute;
431
- top: -0.65rem;
432
- inset-inline-start: 0.25rem;
433
- font-size: 0.65rem;
434
- color: var(--bgl-text-color, #555);
435
- opacity: 0.8;
436
- line-height: 1;
437
- z-index: 1;
431
+ position: absolute;
432
+ top: -0.65rem;
433
+ inset-inline-start: 0.25rem;
434
+ font-size: 0.65rem;
435
+ color: var(--bgl-text-color, #555);
436
+ opacity: 0.8;
437
+ line-height: 1;
438
+ z-index: 1;
438
439
  }
439
440
 
440
441
  /* When focused in underlined mode, make label primary color */
441
442
  .bagel-input.underlined:focus-within .label-text {
442
- color: var(--bgl-input-label-active-color, var(--bgl-primary));
443
- opacity: 1;
443
+ color: var(--bgl-input-label-active-color, var(--bgl-primary));
444
+ opacity: 1;
444
445
  }
445
446
 
446
447
  .bagel-input.underlined .tel-input {
447
- outline: none !important;
448
- box-shadow: none !important;
449
- background: transparent !important;
450
- border-radius: 0 !important;
451
- border: none !important;
452
- border-bottom: 1.5px solid var(--bgl-border-color) !important;
453
- padding-inline: 0.25rem !important;
448
+ outline: none !important;
449
+ box-shadow: none !important;
450
+ background: transparent !important;
451
+ border-radius: 0 !important;
452
+ border: none !important;
453
+ border-bottom: 1.5px solid var(--bgl-border-color) !important;
454
+ padding-inline: 0.25rem !important;
454
455
  }
455
456
 
456
457
  .bagel-input.underlined .tel-input:focus-within {
457
- outline: none !important;
458
- box-shadow: none !important;
458
+ outline: none !important;
459
+ box-shadow: none !important;
459
460
  }
460
461
 
461
462
  /* Remove border from internal input to avoid double border */
462
463
  .bagel-input.underlined .tel-input input {
463
- border: none !important;
464
- border-bottom: none !important;
464
+ border: none !important;
465
+ border-bottom: none !important;
465
466
  }
467
+
466
468
  </style>
@@ -186,92 +186,96 @@ onMounted(async () => {
186
186
  </template>
187
187
 
188
188
  <style>
189
+
189
190
  .bagel-input.shrink,
190
191
  .bagel-input.shrink input {
191
- min-width: unset !important;
192
- /* width: auto; */
192
+ min-width: unset !important;
193
+ /* width: auto; */
193
194
  }
194
195
 
195
196
  .bagel-input label {
196
- font-size: var(--bgl-label-font-size);
197
+ font-size: var(--bgl-label-font-size);
197
198
  }
198
199
 
199
200
  /* multiline textarea: reset gradient, use full border */
200
201
  .bagel-input.underlined.text-input textarea {
201
- background: transparent !important;
202
- background-image: none !important;
203
- background-size: unset !important;
202
+ background: transparent !important;
203
+ background-image: none !important;
204
+ background-size: unset !important;
204
205
  }
206
+
205
207
  </style>
206
208
 
207
209
  <style scoped>
210
+
208
211
  .bagel-input textarea {
209
- min-height: unset;
210
- font-size: var(--bgl-input-font-size);
212
+ min-height: unset;
213
+ font-size: var(--bgl-input-font-size);
211
214
  }
212
215
 
213
216
  .bagel-input.text-input textarea {
214
- resize: none;
217
+ resize: none;
215
218
  }
216
219
 
217
220
  .code textarea {
218
- font-family: 'Inconsolata', monospace;
219
- background: var(--bgl-code-bg) !important;
220
- color: var(--bgl-light-text) !important;
221
+ font-family: 'Inconsolata', monospace;
222
+ background: var(--bgl-code-bg) !important;
223
+ color: var(--bgl-light-text) !important;
221
224
  }
222
225
 
223
226
  .code textarea::placeholder {
224
- color: var(--bgl-light-text) !important;
225
- opacity: 0.3;
227
+ color: var(--bgl-light-text) !important;
228
+ opacity: 0.3;
226
229
  }
227
230
 
228
231
  .bagel-input.small {
229
- margin-bottom: 0;
230
- height: 30px;
232
+ margin-bottom: 0;
233
+ height: 30px;
231
234
  }
232
235
 
233
236
  .bagel-input.dense label {
234
- display: flex;
235
- align-items: center;
236
- gap: 0.5rem;
237
+ display: flex;
238
+ align-items: center;
239
+ gap: 0.5rem;
237
240
  }
238
241
 
239
242
  .bagel-input input:disabled {
240
- background: #f5f5f5;
243
+ background: #f5f5f5;
241
244
  }
242
245
 
243
246
  .textInputIconWrap .bgl_icon-font {
244
- color: var(--bgl-input-color);
245
- position: absolute;
246
- inset-inline-end: calc(var(--bgl-input-height) / 3 - 0.25rem);
247
- margin-top: calc(var(--bgl-input-height) / 2 + 0.1rem);
248
- line-height: 0;
247
+ color: var(--bgl-input-color);
248
+ position: absolute;
249
+ inset-inline-end: calc(var(--bgl-input-height) / 3 - 0.25rem);
250
+ margin-top: calc(var(--bgl-input-height) / 2 + 0.1rem);
251
+ line-height: 0;
249
252
  }
250
253
 
251
254
  .textInputIconWrap input,
252
255
  .textInputIconWrap textarea {
253
- padding-inline-end: calc(var(--bgl-input-height) / 3 + 1.5rem);
256
+ padding-inline-end: calc(var(--bgl-input-height) / 3 + 1.5rem);
254
257
  }
255
258
 
256
259
  .txtInputIconStart .iconStart {
257
- color: var(--bgl-input-color);
258
- position: absolute;
259
- inset-inline-start: calc(var(--bgl-input-height) / 3 - 0.25rem);
260
- margin-top: calc(var(--bgl-input-height) / 2);
261
- line-height: 0;
260
+ color: var(--bgl-input-color);
261
+ position: absolute;
262
+ inset-inline-start: calc(var(--bgl-input-height) / 3 - 0.25rem);
263
+ margin-top: calc(var(--bgl-input-height) / 2);
264
+ line-height: 0;
262
265
  }
263
266
 
264
267
  .txtInputIconStart input,
265
268
  .txtInputIconStart textarea {
266
- padding-inline-start: calc(var(--bgl-input-height) / 3 + 1.5rem);
269
+ padding-inline-start: calc(var(--bgl-input-height) / 3 + 1.5rem);
267
270
  }
268
271
 
269
272
  .bagel-input.small textarea {
270
- height: 30px;
273
+ height: 30px;
271
274
  }
272
275
 
273
276
  .bagel-input.has-error input,
274
277
  .bagel-input.has-error textarea {
275
- border-color: var(--bgl-red) !important;
278
+ border-color: var(--bgl-red) !important;
276
279
  }
280
+
277
281
  </style>
@@ -51,29 +51,30 @@ onMounted(() => {
51
51
  </template>
52
52
 
53
53
  <style scoped>
54
+
54
55
  .bagel-input.bgl-toggle{
55
- display: unset !important;
56
+ display: unset !important;
56
57
  }
57
58
  .bagel-input.bgl-toggle *{
58
59
  cursor: pointer !important;
59
60
  }
60
61
  .bagel-input.bgl-toggle input{
61
- padding: unset !important;
62
- min-width: unset !important;
63
- margin: 0 !important;
62
+ padding: unset !important;
63
+ min-width: unset !important;
64
+ margin: 0 !important;
64
65
  }
65
66
  .bgl-toggle input {
66
- appearance: none;
67
- position: relative;
68
- display: inline-block;
69
- background: var(--bgl-input-bg);
70
- height: calc(var(--bgl-input-height) / 2);
71
- width: calc(var(--bgl-input-height) - 2px);
72
- vertical-align: middle;
73
- border-radius: 2rem;
74
- box-shadow: 0px 1px 3px #0003 inset;
75
- transition: 0.25s linear all;
76
- outline: 1px solid var(--bgl-border-color);
67
+ appearance: none;
68
+ position: relative;
69
+ display: inline-block;
70
+ background: var(--bgl-input-bg);
71
+ height: calc(var(--bgl-input-height) / 2);
72
+ width: calc(var(--bgl-input-height) - 2px);
73
+ vertical-align: middle;
74
+ border-radius: 2rem;
75
+ box-shadow: 0px 1px 3px #0003 inset;
76
+ transition: 0.25s linear all;
77
+ outline: 1px solid var(--bgl-border-color);
77
78
 
78
79
  }
79
80
  .bgl-toggle input::before {
@@ -109,15 +110,15 @@ onMounted(() => {
109
110
  }
110
111
 
111
112
  .bgl-toggle input:focus-visible {
112
- outline: -webkit-focus-ring-color auto 1px;
113
- outline-offset: 2px
113
+ outline: -webkit-focus-ring-color auto 1px;
114
+ outline-offset: 2px
114
115
  }
115
116
  .bgl-toggle input:focus {
116
- outline-color: transparent;
117
+ outline-color: transparent;
117
118
  }
118
119
  .bgl-toggle input:focus-visible {
119
- outline: -webkit-focus-ring-color auto 1px;
120
- outline-offset: 2px
120
+ outline: -webkit-focus-ring-color auto 1px;
121
+ outline-offset: 2px
121
122
  }
122
123
  .bgl-toggle :checked{
123
124
  background: var(--bgl-input-label-active-color, var(--bgl-primary));
@@ -126,25 +127,26 @@ onMounted(() => {
126
127
  margin-inline-start:calc(var(--bgl-input-height) / 2 - 2px) ;
127
128
  }
128
129
  .bgl-toggle input:checked + label {
129
- color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
130
+ color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
130
131
  }
131
132
 
132
133
  /* ── bgl-outline variant ── */
133
134
  .bgl-outline input {
134
- outline: 1.5px solid var(--bgl-border-color) !important;
135
- outline-offset: 2px;
135
+ outline: 1.5px solid var(--bgl-border-color) !important;
136
+ outline-offset: 2px;
136
137
  }
137
138
 
138
139
  /* ── frame variant ── */
139
140
  .frame input {
140
- outline: 1.5px solid var(--bgl-border-color) !important;
141
- outline-offset: 2px;
142
- transition: outline-color 0.2s ease, box-shadow 0.2s ease;
143
- background: transparent;
141
+ outline: 1.5px solid var(--bgl-border-color) !important;
142
+ outline-offset: 2px;
143
+ transition: outline-color 0.2s ease, box-shadow 0.2s ease;
144
+ background: transparent;
144
145
  }
145
146
 
146
147
  .frame input:checked {
147
- outline-color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
148
- box-shadow: 0 0 0 3px color-mix(in srgb, var(--bgl-input-label-active-color, var(--bgl-primary)) 12%, transparent);
148
+ outline-color: var(--bgl-input-label-active-color, var(--bgl-primary)) !important;
149
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--bgl-input-label-active-color, var(--bgl-primary)) 12%, transparent);
149
150
  }
151
+
150
152
  </style>
@@ -73,53 +73,57 @@ const { isOpen, toggleMenu, sidebarCardStyle } = useAppLayout()
73
73
  </template>
74
74
 
75
75
  <style>
76
+
76
77
  .slide-fade-enter-from:has(.app-header),
77
78
  .slide-fade-leave-to:has(.app-header) {
78
- transform: translateX(0) !important;
79
- opacity: 1 !important;
79
+ transform: translateX(0) !important;
80
+ opacity: 1 !important;
80
81
  }
81
82
 
82
83
  .slide-fade-enter-from:has(.app-header) .pageContent,
83
84
  .slide-fade-leave-to:has(.app-header) .pageContent {
84
- transform: translateX(-20px) !important;
85
- opacity: 0 !important;
85
+ transform: translateX(-20px) !important;
86
+ opacity: 0 !important;
86
87
  }
87
88
 
88
89
  .slide-fade-enter-active:has(.app-header) .pageContent,
89
90
  .slide-fade-leave-active:has(.app-header) .pageContent {
90
- transition: all 0.15s ease-in;
91
- overflow: hidden;
91
+ transition: all 0.15s ease-in;
92
+ overflow: hidden;
92
93
  }
93
94
  body:has(.cardWrapSide) .pageContent,
94
95
  body:has(.cardWrapSide) .app-header {
95
- padding-inline: 0 !important;
96
+ padding-inline: 0 !important;
96
97
  }
97
98
 
98
99
  @media screen and (max-width: 910px) {
99
100
 
100
- body:has(.cardWrapSide) .pageContent,
101
- body:has(.cardWrapSide) .app-header {
102
- padding-inline: 0.5rem !important;
103
- }
101
+ body:has(.cardWrapSide) .pageContent,
102
+ body:has(.cardWrapSide) .app-header {
103
+ padding-inline: 0.5rem !important;
104
104
  }
105
+ }
106
+
105
107
  </style>
106
108
 
107
109
  <style scoped>
110
+
108
111
  .app-content {
109
- height: 100vh;
112
+ height: 100vh;
110
113
  }
111
114
 
112
115
  .app-header {
113
- flex-shrink: 0;
116
+ flex-shrink: 0;
114
117
  }
115
118
 
116
119
  main {
117
- min-height: 0;
120
+ min-height: 0;
118
121
  }
119
122
 
120
123
  @media screen and (max-width: 910px) {
121
- .app-header {
122
- padding-inline: 0.5rem;
123
- }
124
+ .app-header {
125
+ padding-inline: 0.5rem;
124
126
  }
127
+ }
128
+
125
129
  </style>
@@ -130,44 +130,46 @@ onUnmounted(() => {
130
130
  </template>
131
131
 
132
132
  <style scoped>
133
+
133
134
  .app-layout {
134
- display: flex;
135
- height: 100vh;
136
- overflow: hidden;
135
+ display: flex;
136
+ height: 100vh;
137
+ overflow: hidden;
137
138
  }
138
139
  .app-layout:has(.cardWrapSide) {
139
- padding-inline-start: 0.5rem;
140
- padding-inline-end: 1rem;
140
+ padding-inline-start: 0.5rem;
141
+ padding-inline-end: 1rem;
141
142
  }
142
143
 
143
144
  .app-layout:has(.sidebar-collapsed .cardWrapSide) {
144
- padding-inline-start: 1.5rem;
145
+ padding-inline-start: 1.5rem;
145
146
  }
146
147
 
147
148
  /* Overlay for mobile */
148
149
  .overlay {
149
- position: fixed;
150
- inset: 0;
151
- background: rgba(0, 0, 0, 0.5);
152
- z-index: 40;
150
+ position: fixed;
151
+ inset: 0;
152
+ background: rgba(0, 0, 0, 0.5);
153
+ z-index: 40;
153
154
  }
154
155
 
155
156
  /* Main Content */
156
157
  .main-content {
157
- flex: 1;
158
- overflow: hidden;
159
- transition: margin-inline-start 400ms ease;
160
- min-height: 100vh
161
- }
158
+ flex: 1;
159
+ overflow: hidden;
160
+ transition: margin-inline-start 400ms ease;
161
+ min-height: 100vh
162
+ }
162
163
 
163
- .page-content {
164
- overflow: auto;
165
- }
164
+ .page-content {
165
+ overflow: auto;
166
+ }
166
167
  @media screen and (max-width: 910px) {
167
- .app-layout:has(.cardWrapSide),
168
- .app-layout:has(.sidebar-collapsed .cardWrapSide) {
169
- padding-inline-start: 0rem;
170
- padding-inline-end: 0rem;
171
- }
168
+ .app-layout:has(.cardWrapSide),
169
+ .app-layout:has(.sidebar-collapsed .cardWrapSide) {
170
+ padding-inline-start: 0rem;
171
+ padding-inline-end: 0rem;
172
172
  }
173
+ }
174
+
173
175
  </style>