ketekny-ui-kit 1.0.109 → 1.0.110

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ketekny-ui-kit",
3
3
  "type": "module",
4
- "version": "1.0.109",
4
+ "version": "1.0.110",
5
5
  "description": "A Vue 3 UI component library with Tailwind CSS styling",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -3,7 +3,7 @@
3
3
  <div
4
4
  v-if="showHeaderExtraBeforeTitle"
5
5
  class="sticky z-30 border-b border-t border-slate-200 bg-slate-50 px-4 backdrop-blur sm:px-6 lg:px-8"
6
- :style="{ top: headerExtraTop }"
6
+ :style="{ top: resolvedHeaderExtraTop }"
7
7
  >
8
8
  <div class="mx-auto flex w-full max-w-none items-center">
9
9
  <slot name="header-extra" />
@@ -47,7 +47,7 @@
47
47
  <div
48
48
  v-if="showHeaderExtraAfterTitle"
49
49
  class="sticky z-30 border-b border-t border-slate-200 bg-slate-50 px-4 backdrop-blur sm:px-6 lg:px-8"
50
- :style="{ top: headerExtraTop }"
50
+ :style="{ top: resolvedHeaderExtraTop }"
51
51
  >
52
52
  <div class="mx-auto flex w-full max-w-none items-center">
53
53
  <slot name="header-extra" />
@@ -110,6 +110,9 @@ export default {
110
110
  showHeaderExtraAfterTitle() {
111
111
  return !this.headerExtraBeforeTitle && Boolean(this.$slots['header-extra'])
112
112
  },
113
+ resolvedHeaderExtraTop() {
114
+ return this.hasTopSection ? this.headerExtraTop : '0px'
115
+ },
113
116
  externalUrlLabel() {
114
117
  const target = String(this.externalUrl || '').trim()
115
118
  if (!target) return ''