@omnitend/dashboard-for-laravel 0.14.0 → 0.15.0
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.
- package/dist/dashboard-for-laravel.js +3772 -3772
- package/dist/dashboard-for-laravel.js.map +1 -1
- package/dist/dashboard-for-laravel.umd.cjs +3 -3
- package/dist/dashboard-for-laravel.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/docs/public/api-reference.json +2 -2
- package/docs/public/docs-map.md +1 -1
- package/package.json +1 -1
- package/resources/js/components/base/DAutocomplete.vue +35 -0
- package/resources/js/components/extended/DXField.vue +39 -3
package/docs/public/docs-map.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Documentation Map
|
|
2
2
|
|
|
3
3
|
> Auto-generated hierarchical overview of all documentation
|
|
4
|
-
> Last updated: 2026-07-
|
|
4
|
+
> Last updated: 2026-07-05T08:20:04.705Z
|
|
5
5
|
|
|
6
6
|
This file provides a complete map of all available documentation for AI agents and developers.
|
|
7
7
|
|
package/package.json
CHANGED
|
@@ -21,3 +21,38 @@ defineOptions({
|
|
|
21
21
|
</template>
|
|
22
22
|
</BAutocomplete>
|
|
23
23
|
</template>
|
|
24
|
+
|
|
25
|
+
<style scoped>
|
|
26
|
+
/*
|
|
27
|
+
BAutocomplete renders `.input-group > .b-autocomplete-input-wrapper +
|
|
28
|
+
.b-autocomplete-trigger`. The input wrapper takes the full width, so under
|
|
29
|
+
Bootstrap's default `flex-wrap: wrap` the trigger chevron wraps onto its own
|
|
30
|
+
line below the input. Keep the group on a single row and let the input wrapper
|
|
31
|
+
flex, so the trigger sits inline as an append. (#53)
|
|
32
|
+
*/
|
|
33
|
+
:deep(.input-group) {
|
|
34
|
+
flex-wrap: nowrap;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:deep(.b-autocomplete-input-wrapper) {
|
|
38
|
+
flex: 1 1 auto;
|
|
39
|
+
min-width: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/*
|
|
43
|
+
The trigger renders as a heavy `btn btn-secondary` (dark), which reads as a
|
|
44
|
+
detached dark block. Soften it to a subtle bordered chevron that matches the
|
|
45
|
+
input and reads as a combobox affordance. Uses theme variables (no hardcoded
|
|
46
|
+
colours) and a more specific selector than `.btn-secondary` (no `!important`).
|
|
47
|
+
*/
|
|
48
|
+
:deep(.b-autocomplete-trigger) {
|
|
49
|
+
background-color: var(--bs-body-bg);
|
|
50
|
+
border-color: var(--bs-border-color);
|
|
51
|
+
color: var(--bs-secondary-color);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:deep(.b-autocomplete-trigger:hover) {
|
|
55
|
+
background-color: var(--bs-tertiary-bg);
|
|
56
|
+
color: var(--bs-body-color);
|
|
57
|
+
}
|
|
58
|
+
</style>
|
|
@@ -590,15 +590,51 @@ onBeforeUnmount(() => {
|
|
|
590
590
|
border-radius: var(--bs-border-radius);
|
|
591
591
|
}
|
|
592
592
|
|
|
593
|
-
/* Switch field:
|
|
594
|
-
|
|
593
|
+
/* Switch field: a full-width "filled box" toggle, the same height as a select
|
|
594
|
+
or text input, that colour-codes its state — a neutral box when off, a filled
|
|
595
|
+
success green when on. The label sits on the left and the toggle on the right.
|
|
596
|
+
Renders the underlying `.form-check` (from the switch checkbox) as the box. */
|
|
597
|
+
.dx-switch :deep(.form-check) {
|
|
598
|
+
display: flex;
|
|
599
|
+
align-items: center;
|
|
600
|
+
justify-content: space-between;
|
|
601
|
+
gap: 0.75rem;
|
|
602
|
+
width: 100%;
|
|
603
|
+
min-height: calc(1.5em + 0.75rem + 2px); /* match .form-control height */
|
|
604
|
+
margin: 0;
|
|
605
|
+
/* Override Bootstrap `.form-switch`'s 2.5em left padding for the floated input. */
|
|
606
|
+
padding: 0.375rem 0.75rem;
|
|
607
|
+
border: 1px solid var(--bs-border-color);
|
|
608
|
+
border-radius: var(--bs-border-radius);
|
|
609
|
+
background-color: var(--bs-body-bg);
|
|
610
|
+
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
/* Label on the left, toggle on the right (DOM order is input then label). */
|
|
595
614
|
.dx-switch :deep(.form-check-label) {
|
|
615
|
+
order: 1;
|
|
616
|
+
margin: 0;
|
|
596
617
|
color: var(--bs-secondary-color);
|
|
618
|
+
cursor: pointer;
|
|
597
619
|
transition: color 0.15s ease-in-out;
|
|
598
620
|
}
|
|
599
621
|
|
|
622
|
+
.dx-switch :deep(.form-check-input) {
|
|
623
|
+
order: 2;
|
|
624
|
+
flex-shrink: 0;
|
|
625
|
+
/* Override `.form-switch`'s negative left margin now that we're flex-laid-out. */
|
|
626
|
+
margin: 0;
|
|
627
|
+
cursor: pointer;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
/* On-state: filled success green. */
|
|
631
|
+
.dx-switch--on :deep(.form-check) {
|
|
632
|
+
background-color: var(--bs-success-bg-subtle);
|
|
633
|
+
border-color: var(--bs-success);
|
|
634
|
+
}
|
|
635
|
+
|
|
600
636
|
.dx-switch--on :deep(.form-check-label) {
|
|
601
|
-
color: var(--bs-success);
|
|
637
|
+
color: var(--bs-success-text-emphasis);
|
|
602
638
|
font-weight: 500;
|
|
603
639
|
}
|
|
604
640
|
|