@kiva/kv-components 6.56.0 → 6.56.1

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 +1 @@
1
- .kv-secondary-nav-holder[data-v-a09aec27]{height:62px}.kv-secondary-nav[data-v-a09aec27]{min-height:62px}
1
+ .kv-secondary-nav-holder[data-v-b0827053]{height:62px}.kv-secondary-nav[data-v-b0827053]{min-height:62px}
@@ -1,4 +1,4 @@
1
- import { toRefs as N, ref as _, computed as v, resolveComponent as w, openBlock as o, createBlock as u, withCtx as c, createElementVNode as l, normalizeClass as i, createVNode as p, createElementBlock as f, resolveDynamicComponent as b, createTextVNode as x, toDisplayString as C, createCommentVNode as j, Fragment as O, renderList as S } from "vue";
1
+ import { toRefs as N, ref as _, computed as w, resolveComponent as v, openBlock as o, createBlock as u, withCtx as c, createElementVNode as l, normalizeClass as i, createVNode as p, createElementBlock as f, resolveDynamicComponent as b, createTextVNode as x, toDisplayString as C, createCommentVNode as j, Fragment as O, renderList as S } from "vue";
2
2
  import { defaultTheme as A, greenDarkTheme as E } from "@kiva/kv-tokens";
3
3
  import { mdiChevronUp as P, mdiChevronDown as D } from "@mdi/js";
4
4
  import H from "./KvThemeProvider.js";
@@ -23,7 +23,7 @@ const B = {
23
23
  required: !1,
24
24
  default: () => ({}),
25
25
  validator(n) {
26
- return Object.prototype.hasOwnProperty.call(n, "text") && Object.prototype.hasOwnProperty.call(n, "href");
26
+ return !n || Object.keys(n).length === 0 ? !0 : Object.prototype.hasOwnProperty.call(n, "text") && Object.prototype.hasOwnProperty.call(n, "href");
27
27
  }
28
28
  },
29
29
  links: {
@@ -58,7 +58,7 @@ const B = {
58
58
  heading: t,
59
59
  linkAlignment: e,
60
60
  theme: h
61
- } = N(n), g = _(null), d = _(!1), s = v(() => n.headingLink && n.headingLink.href), m = v(() => e.value === "right" ? t.value && t.value.length > 0 ? "tw-justify-between" : "tw-justify-between md:tw-justify-end" : e.value === "left" ? "tw-justify-between md:tw-justify-start" : e.value === "center" ? "tw-justify-between md:tw-justify-center" : ""), a = v(() => ({
61
+ } = N(n), g = _(null), d = _(!1), s = w(() => n.headingLink && n.headingLink.href), m = w(() => e.value === "right" ? t.value && t.value.length > 0 ? "tw-justify-between" : "tw-justify-between md:tw-justify-end" : e.value === "left" ? "tw-justify-between md:tw-justify-start" : e.value === "center" ? "tw-justify-between md:tw-justify-center" : ""), a = w(() => ({
62
62
  default: A,
63
63
  dark: E
64
64
  })[h.value]);
@@ -80,7 +80,7 @@ const B = {
80
80
  }
81
81
  }, I = { class: "kv-secondary-nav__links tw-flex tw-flex-col md:tw-flex-row tw-items-center tw-gap-3" };
82
82
  function M(n, r, t, e, h, g) {
83
- const d = w("kv-material-icon"), s = w("kv-page-container"), m = w("kv-theme-provider");
83
+ const d = v("kv-material-icon"), s = v("kv-page-container"), m = v("kv-theme-provider");
84
84
  return o(), u(m, {
85
85
  theme: e.themeStyle,
86
86
  class: "kv-tailwind"
@@ -159,7 +159,7 @@ function M(n, r, t, e, h, g) {
159
159
  _: 1
160
160
  }, 8, ["theme"]);
161
161
  }
162
- const W = /* @__PURE__ */ V(B, [["render", M], ["__scopeId", "data-v-a09aec27"]]);
162
+ const W = /* @__PURE__ */ V(B, [["render", M], ["__scopeId", "data-v-b0827053"]]);
163
163
  export {
164
164
  W as default
165
165
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "6.56.0",
3
+ "version": "6.56.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -114,5 +114,5 @@
114
114
  "embla-carousel-fade",
115
115
  "popper.js"
116
116
  ],
117
- "gitHead": "748bc6129c1a7d46951196cf89a39cce7dae8f5c"
117
+ "gitHead": "2f61b45ca5c74f7ce4ce26ee2db566ad70a7fe3e"
118
118
  }