@omnitend/dashboard-for-laravel 0.47.3 → 0.47.4

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,8 +1,8 @@
1
1
  {
2
- "generated": "2026-10-22T13:35:28.310Z",
2
+ "generated": "2026-10-22T13:54:28.981Z",
3
3
  "package": {
4
4
  "name": "@omnitend/dashboard-for-laravel",
5
- "version": "0.47.3"
5
+ "version": "0.47.4"
6
6
  },
7
7
  "components": {
8
8
  "base": [
@@ -2668,7 +2668,7 @@
2668
2668
  "slots": [
2669
2669
  {
2670
2670
  "name": "`tab-content(${tab.key})`",
2671
- "description": "Replaces the entire body of a tab, keyed by tab (slot name `tab-content(<tabKey>)`).",
2671
+ "description": "Replaces the entire body of a tab, keyed by tab (slot name `tab-content(<tabKey>)`). Without a card (`:card-tabs=\"false\"`) the body is spaced 1rem below the tab bar, as a field tab's is; in card mode the card's own padding is the only spacing.",
2672
2672
  "bindings": [
2673
2673
  {
2674
2674
  "name": "name",
@@ -1,7 +1,7 @@
1
1
  # Documentation Map
2
2
 
3
3
  > Auto-generated hierarchical overview of all documentation
4
- > Last updated: 2026-10-22T13:35:28.377Z
4
+ > Last updated: 2026-10-22T13:54:29.048Z
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnitend/dashboard-for-laravel",
3
- "version": "0.47.3",
3
+ "version": "0.47.4",
4
4
  "description": "Vue 3 dashboard components for Laravel with Bootstrap Vue Next",
5
5
  "type": "module",
6
6
  "main": "./dist/dashboard-for-laravel.umd.cjs",
@@ -69,17 +69,25 @@
69
69
  :titleLinkAttrs="tabButtonAttrs(tab.key)"
70
70
  :onClick="tabControlsFor(tab.key).onClick"
71
71
  >
72
- <!--
73
- @slot Replaces the entire body of a tab, keyed by tab (slot name `tab-content(<tabKey>)`).
74
- @binding {FormTab} tab The tab definition being rendered.
75
- @binding {object} model Live form data merged with `context`, for predicates.
76
- -->
77
- <slot
72
+ <!-- A custom body gets the same top spacing as a field
73
+ body (`pt-3`) when there is no card. In card mode
74
+ `.card-body` already pads the pane, so it gets
75
+ nothing extra. -->
76
+ <div
78
77
  v-if="$slots[`tab-content(${tab.key})`]"
79
- :name="`tab-content(${tab.key})`"
80
- :tab="tab"
81
- :model="model"
82
- />
78
+ :class="{ 'pt-3': !tabsInCard }"
79
+ >
80
+ <!--
81
+ @slot Replaces the entire body of a tab, keyed by tab (slot name `tab-content(<tabKey>)`). Without a card (`:card-tabs="false"`) the body is spaced 1rem below the tab bar, as a field tab's is; in card mode the card's own padding is the only spacing.
82
+ @binding {FormTab} tab The tab definition being rendered.
83
+ @binding {object} model Live form data merged with `context`, for predicates.
84
+ -->
85
+ <slot
86
+ :name="`tab-content(${tab.key})`"
87
+ :tab="tab"
88
+ :model="model"
89
+ />
90
+ </div>
83
91
 
84
92
  <div v-else class="pt-3">
85
93
  <!--