@ulu/frontend-vue 0.1.1-beta.7 → 0.1.1-beta.8

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,4 +1,4 @@
1
- import { l as o, r as h, a as p, g as v } from "./index-WvoUVf2D.js";
1
+ import { l as o, r as h, a as p, g as v } from "./index-DygmGRgT.js";
2
2
  const k = {
3
3
  iconClassClose: "css-icon css-icon--close",
4
4
  iconClassDragX: "css-icon css-icon--drag-x",
@@ -1 +1 @@
1
- .toast-animation-move,.toast-animation-enter-active,.toast-animation-leave-active{transition:all .3s ease}.toast-animation-enter-from,.toast-animation-leave-to{opacity:0;transform:translate(30px)}.toast-animation-leave-active{position:absolute;width:100%}.facets-dropdown-filters{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.facets-dropdown-filters__group{display:flex;gap:.5rem;align-items:center}.facets-header-layout__header{display:flex;gap:1rem;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap}.facets-results__list{list-style:none;padding:0}.facets-fade-enter-active,.facets-fade-leave-active{transition:opacity .25s ease}.facets-fade-enter-from,.facets-fade-leave-to{opacity:0}.facets-sidebar-layout__body{display:grid;grid-template-columns:250px 1fr;gap:2rem}.facets-sidebar-layout--filters-hidden .facets-sidebar-layout__body{grid-template-columns:1fr}.scroll-anchors__rail{border-left:3px solid rgb(220,220,220);padding-left:1rem}.scroll-anchors__indicator{position:absolute;top:0;left:0;width:3px;background-color:#000}.scroll-anchors__indicator--can-transition{transition-property:height,transform;transition-timing-function:ease-in-out;transition-duration:.25s}
1
+ .toast-animation-move,.toast-animation-enter-active,.toast-animation-leave-active{transition:all .3s ease}.toast-animation-enter-from,.toast-animation-leave-to{opacity:0;transform:translate(30px)}.toast-animation-leave-active{position:absolute;width:100%}.facets-dropdown-filters{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.facets-dropdown-filters__group{display:flex;gap:.5rem;align-items:center}.facets-header-layout__header{display:flex;gap:1rem;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap}.facets-results__list{list-style:none;padding:0}.facets-fade-enter-active,.facets-fade-leave-active{transition:opacity .25s ease}.facets-fade-enter-from,.facets-fade-leave-to{opacity:0}.facets-sidebar__body{display:grid;grid-template-columns:250px 1fr;gap:2rem}.facets-sidebar--filters-hidden .facets-sidebar__body{grid-template-columns:1fr}.scroll-anchors__rail{border-left:3px solid rgb(220,220,220);padding-left:1rem}.scroll-anchors__indicator{position:absolute;top:0;left:0;width:3px;background-color:#000}.scroll-anchors__indicator--can-transition{transition-property:height,transform;transition-timing-function:ease-in-out;transition-duration:.25s}
@@ -1,4 +1,4 @@
1
- import { _ as l, N as e, s as u, a1 as U, t, u as o, Q as i, v as r, w as n, x as c, y as S, h as d, W as F, O as p, z as b, j as m, X as k, Y as T, A as g, a5 as P, a6 as h, a7 as w, a8 as y, ad as A, a9 as L, aa as v, ab as M, ac as x, H as B, I as C, J as R, K as f, L as D, B as I, am as N, C as E, D as j, R as q, S as G, U as V, T as z, k as H, Z as O, $ as W, a2 as J, a3 as K, a0 as Q, ae as X, af as Y, ag as Z, ah as _, M as $, G as aa, ai as sa, aj as la, ak as ea, al as ua, V as Ua, an as ta, ao as oa, E as ia, m as ra, n as na, o as ca, p as Sa, q as da, ap as Fa, aq as pa, ar as ba, F as ma, P as ka, f as Ta, b as ga, d as Pa, c as ha, e as wa, aw as ya, ay as Aa, a4 as La, as as va, at as Ma, ax as xa, av as Ba, au as Ca, i as Ra } from "./index-WvoUVf2D.js";
1
+ import { _ as l, N as e, s as u, a1 as U, t, u as o, Q as i, v as r, w as n, x as c, y as S, h as d, W as F, O as p, z as b, j as m, X as k, Y as T, A as g, a5 as P, a6 as h, a7 as w, a8 as y, ad as A, a9 as L, aa as v, ab as M, ac as x, H as B, I as C, J as R, K as f, L as D, B as I, am as N, C as E, D as j, R as q, S as G, U as V, T as z, k as H, Z as O, $ as W, a2 as J, a3 as K, a0 as Q, ae as X, af as Y, ag as Z, ah as _, M as $, G as aa, ai as sa, aj as la, ak as ea, al as ua, V as Ua, an as ta, ao as oa, E as ia, m as ra, n as na, o as ca, p as Sa, q as da, ap as Fa, aq as pa, ar as ba, F as ma, P as ka, f as Ta, b as ga, d as Pa, c as ha, e as wa, aw as ya, ay as Aa, a4 as La, as as va, at as Ma, ax as xa, av as Ba, au as Ca, i as Ra } from "./index-DygmGRgT.js";
2
2
  export {
3
3
  l as UluAccordion,
4
4
  e as UluAdaptiveLayout,
@@ -1,4 +1,4 @@
1
- import { reactive as qt, ref as I, computed as w, resolveDirective as Gn, createElementBlock as d, openBlock as u, Fragment as E, withDirectives as Oe, createElementVNode as h, unref as A, normalizeClass as m, renderSlot as g, createTextVNode as $, toDisplayString as b, withKeys as Zn, normalizeStyle as H, createCommentVNode as p, nextTick as Qn, toRef as Ws, createBlock as _, Teleport as dt, resolveDynamicComponent as V, mergeProps as le, inject as ft, watchEffect as ht, defineAsyncComponent as Xs, markRaw as xe, toRefs as Ys, toValue as ot, resolveComponent as N, withModifiers as qs, createVNode as z, useSlots as Ks, renderList as x, TransitionGroup as Jn, withCtx as S, onMounted as mt, onBeforeUnmount as es, watch as We, isRef as Gs, hasInjectionContext as Zs, getCurrentInstance as Qs, onDeactivated as Js, onActivated as eo, onUnmounted as ts, normalizeProps as ee, guardReactiveProps as te, vModelText as to, vShow as Mt, createSlots as Ae } from "vue";
1
+ import { reactive as qt, ref as I, computed as w, resolveDirective as Gn, createElementBlock as d, openBlock as u, Fragment as E, withDirectives as Oe, createElementVNode as h, unref as A, normalizeClass as m, renderSlot as g, createTextVNode as $, toDisplayString as p, withKeys as Zn, normalizeStyle as H, createCommentVNode as b, nextTick as Qn, toRef as Ws, createBlock as _, Teleport as dt, resolveDynamicComponent as V, mergeProps as le, inject as ft, watchEffect as ht, defineAsyncComponent as Xs, markRaw as xe, toRefs as Ys, toValue as ot, resolveComponent as N, withModifiers as qs, createVNode as z, useSlots as Ks, renderList as x, TransitionGroup as Jn, withCtx as S, onMounted as mt, onBeforeUnmount as es, watch as We, isRef as Gs, hasInjectionContext as Zs, getCurrentInstance as Qs, onDeactivated as Js, onActivated as eo, onUnmounted as ts, normalizeProps as ee, guardReactiveProps as te, vModelText as to, vShow as Mt, createSlots as Ae } from "vue";
2
2
  import { inline as ns, offset as ss, flip as os, shift as is, arrow as rs, useFloating as ls, autoUpdate as as } from "@floating-ui/vue";
3
3
  import { useRoute as cs, useRouter as no, RouterLink as gt } from "vue-router";
4
4
  import { Tab as so, TabGroup as oo, TabList as io, TabPanel as ro, TabPanels as lo } from "@headlessui/vue";
@@ -351,7 +351,7 @@ const po = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], b
351
351
  toggle: Me,
352
352
  close: de
353
353
  }, () => [
354
- $(b(e.triggerText), 1)
354
+ $(p(e.triggerText), 1)
355
355
  ])
356
356
  ], 10, po)), [
357
357
  [ke, e.tooltip ? e.tooltip : null]
@@ -383,7 +383,7 @@ const po = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], b
383
383
  ]),
384
384
  W.$slots.footer ? (u(), d("span", wo, [
385
385
  g(W.$slots, "footer", { close: de })
386
- ])) : p("", !0),
386
+ ])) : b("", !0),
387
387
  A(r).arrow ? (u(), d("span", {
388
388
  key: 1,
389
389
  class: "popover__arrow",
@@ -391,7 +391,7 @@ const po = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], b
391
391
  ref: f,
392
392
  style: H(Je.value),
393
393
  "data-ulu-popover-arrow": ""
394
- }, null, 4)) : p("", !0)
394
+ }, null, 4)) : b("", !0)
395
395
  ], 46, bo)
396
396
  ], 64);
397
397
  };
@@ -441,14 +441,14 @@ const po = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], b
441
441
  key: 0,
442
442
  class: "popover__inner",
443
443
  innerHTML: e.config.content
444
- }, null, 8, ko)) : (u(), d("span", $o, b(e.config.content), 1)),
444
+ }, null, 8, ko)) : (u(), d("span", $o, p(e.config.content), 1)),
445
445
  e.config.arrow ? (u(), d("span", {
446
446
  key: 2,
447
447
  class: "popover__arrow",
448
448
  ref_key: "contentArrow",
449
449
  ref: s,
450
450
  style: H(y.value)
451
- }, null, 4)) : p("", !0)
451
+ }, null, 4)) : b("", !0)
452
452
  ], 14, So));
453
453
  }
454
454
  }, To = {
@@ -460,7 +460,7 @@ const po = ["id", "disabled", "aria-expanded", "aria-controls", "aria-label"], b
460
460
  A(Kt) ? (u(), _(Co, {
461
461
  key: 0,
462
462
  config: A(Gt)
463
- }, null, 8, ["config"])) : p("", !0)
463
+ }, null, 8, ["config"])) : b("", !0)
464
464
  ], 8, ["to"]));
465
465
  }
466
466
  };
@@ -519,7 +519,7 @@ function Oo(e, n, t, s, o, i) {
519
519
  "onUpdate:modelValue": n[0] || (n[0] = (r) => o.open = r),
520
520
  onVnodeMounted: i.modalMounted,
521
521
  onVnodeUnmounted: i.modalUnmounted
522
- }), null, 16, ["modelValue", "onVnodeMounted", "onVnodeUnmounted"])) : p("", !0);
522
+ }), null, 16, ["modelValue", "onVnodeMounted", "onVnodeUnmounted"])) : b("", !0);
523
523
  }
524
524
  const xo = /* @__PURE__ */ R(Ao, [["render", Oo]]);
525
525
  function Ro() {
@@ -586,7 +586,7 @@ const D = {
586
586
  key: 2,
587
587
  class: m([k.value, j.value]),
588
588
  "aria-hidden": "true"
589
- }, null, 2)) : p("", !0);
589
+ }, null, 2)) : b("", !0);
590
590
  }
591
591
  };
592
592
  function Ut(e) {
@@ -1208,8 +1208,8 @@ function Do(e, n, t, s, o, i) {
1208
1208
  key: 0,
1209
1209
  class: "modal__title-icon",
1210
1210
  icon: t.titleIcon
1211
- }, null, 8, ["icon"])) : p("", !0),
1212
- h("span", Ho, b(t.title), 1)
1211
+ }, null, 8, ["icon"])) : b("", !0),
1212
+ h("span", Ho, p(t.title), 1)
1213
1213
  ])
1214
1214
  ], 10, Fo),
1215
1215
  h("button", {
@@ -1225,7 +1225,7 @@ function Do(e, n, t, s, o, i) {
1225
1225
  }, null, 8, ["icon"])
1226
1226
  ])
1227
1227
  ])
1228
- ], 2)) : p("", !0),
1228
+ ], 2)) : b("", !0),
1229
1229
  h("div", {
1230
1230
  class: m(["modal__body", t.classes.body])
1231
1231
  }, [
@@ -1236,7 +1236,7 @@ function Do(e, n, t, s, o, i) {
1236
1236
  class: m(["site-modal__footer", t.classes.footer])
1237
1237
  }, [
1238
1238
  g(e.$slots, "footer", { close: i.close })
1239
- ], 2)) : p("", !0),
1239
+ ], 2)) : b("", !0),
1240
1240
  s.resizerEnabled ? (u(), d("button", No, [
1241
1241
  g(e.$slots, "resizerIcon", {}, () => [
1242
1242
  z(r, {
@@ -1244,7 +1244,7 @@ function Do(e, n, t, s, o, i) {
1244
1244
  icon: t.resizerIcon || s.resizerIconType
1245
1245
  }, null, 8, ["icon"])
1246
1246
  ])
1247
- ], 512)) : p("", !0)
1247
+ ], 512)) : b("", !0)
1248
1248
  ], 46, Vo)
1249
1249
  ], 8, ["to", "disabled"]);
1250
1250
  }
@@ -1363,9 +1363,9 @@ function Go(e, n, t, s, o, i) {
1363
1363
  t.toast.icon ? (u(), _(r, {
1364
1364
  key: 0,
1365
1365
  icon: t.toast.icon
1366
- }, null, 8, ["icon"])) : p("", !0)
1366
+ }, null, 8, ["icon"])) : b("", !0)
1367
1367
  ])
1368
- ], 2)) : p("", !0),
1368
+ ], 2)) : b("", !0),
1369
1369
  h("div", {
1370
1370
  class: m(["toast__content", t.classes.content])
1371
1371
  }, [
@@ -1376,16 +1376,16 @@ function Go(e, n, t, s, o, i) {
1376
1376
  }, [
1377
1377
  h("strong", {
1378
1378
  class: m(["toast__title", t.classes.title])
1379
- }, b(t.toast.title), 3),
1379
+ }, p(t.toast.title), 3),
1380
1380
  t.toast.date ? (u(), d("span", {
1381
1381
  key: 0,
1382
1382
  class: m(["toast__date", t.classes.date])
1383
- }, b(t.toast.date), 3)) : p("", !0)
1384
- ], 2)) : p("", !0),
1383
+ }, p(t.toast.date), 3)) : b("", !0)
1384
+ ], 2)) : b("", !0),
1385
1385
  t.toast.description ? (u(), d("div", {
1386
1386
  key: 1,
1387
1387
  class: m(["toast__body", t.classes.body])
1388
- }, b(t.toast.description), 3)) : p("", !0)
1388
+ }, p(t.toast.description), 3)) : b("", !0)
1389
1389
  ])
1390
1390
  ], 2),
1391
1391
  t.toast.actions?.length ? (u(), d("div", {
@@ -1396,8 +1396,8 @@ function Go(e, n, t, s, o, i) {
1396
1396
  key: a,
1397
1397
  class: m(["toast__action", t.classes.action]),
1398
1398
  onClick: (c) => i.handleAction(c, l)
1399
- }, b(l.label), 11, Ko))), 128))
1400
- ], 2)) : p("", !0),
1399
+ }, p(l.label), 11, Ko))), 128))
1400
+ ], 2)) : b("", !0),
1401
1401
  h("button", {
1402
1402
  class: m(["toast__close", t.classes.closeButton]),
1403
1403
  onClick: n[0] || (n[0] = (...l) => t.toast.close && t.toast.close(...l))
@@ -1541,7 +1541,7 @@ function ni(e) {
1541
1541
  await new Promise((f) => {
1542
1542
  document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", () => f()) : f();
1543
1543
  });
1544
- const r = await import("./breakpoints-CgRM_Raf.js"), { BreakpointManager: l } = r, a = xe(new l(n.plugin));
1544
+ const r = await import("./breakpoints-D4qCPIvM.js"), { BreakpointManager: l } = r, a = xe(new l(n.plugin));
1545
1545
  t.value = xe(a);
1546
1546
  const c = () => {
1547
1547
  s.value = a.active, o.value = a.resizeDirection;
@@ -2058,7 +2058,7 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2058
2058
  isOpen: c.value,
2059
2059
  toggle: k
2060
2060
  }, () => [
2061
- $(b(e.triggerText), 1)
2061
+ $(p(e.triggerText), 1)
2062
2062
  ])
2063
2063
  ], 10, bi),
2064
2064
  c.value ? (u(), d("div", {
@@ -2077,7 +2077,7 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2077
2077
  toggle: k
2078
2078
  })
2079
2079
  ], 2)
2080
- ], 10, _i)) : p("", !0)
2080
+ ], 10, _i)) : b("", !0)
2081
2081
  ], 34));
2082
2082
  }
2083
2083
  }, Gf = {
@@ -2155,7 +2155,7 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2155
2155
  }, () => [
2156
2156
  (u(), _(V(e.triggerTextElement), null, {
2157
2157
  default: S(() => [
2158
- $(b(e.triggerText), 1)
2158
+ $(p(e.triggerText), 1)
2159
2159
  ]),
2160
2160
  _: 1
2161
2161
  }))
@@ -2225,9 +2225,9 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2225
2225
  key: 0,
2226
2226
  icon: e.icon,
2227
2227
  spaced: ""
2228
- }, null, 8, ["icon"])) : p("", !0),
2228
+ }, null, 8, ["icon"])) : b("", !0),
2229
2229
  g(s.$slots, "default", {}, () => [
2230
- h("span", null, b(e.text), 1)
2230
+ h("span", null, p(e.text), 1)
2231
2231
  ])
2232
2232
  ], 2));
2233
2233
  }
@@ -2319,14 +2319,14 @@ function Si(e, n, t, s, o, i) {
2319
2319
  key: 0,
2320
2320
  icon: f.icon,
2321
2321
  class: m([t.classes.linkIcon, f?.classes?.linkIcon])
2322
- }, null, 8, ["icon", "class"])) : p("", !0),
2322
+ }, null, 8, ["icon", "class"])) : b("", !0),
2323
2323
  h("span", {
2324
2324
  class: m([t.classes.linkText, f?.classes?.linkText])
2325
- }, b(f.title), 3),
2325
+ }, p(f.title), 3),
2326
2326
  f.tag ? (u(), _(l, le({
2327
2327
  key: 1,
2328
2328
  ref_for: !0
2329
- }, f.tag), null, 16)) : p("", !0)
2329
+ }, f.tag), null, 16)) : b("", !0)
2330
2330
  ])
2331
2331
  ]),
2332
2332
  _: 2
@@ -2338,9 +2338,9 @@ function Si(e, n, t, s, o, i) {
2338
2338
  iconOnly: t.iconOnly,
2339
2339
  classes: t.classes,
2340
2340
  items: f.children
2341
- }, null, 8, ["iconOnly", "classes", "items"])) : p("", !0)
2341
+ }, null, 8, ["iconOnly", "classes", "items"])) : b("", !0)
2342
2342
  ], 2))), 128))
2343
- ], 2)) : p("", !0);
2343
+ ], 2)) : b("", !0);
2344
2344
  }
2345
2345
  const _s = /* @__PURE__ */ R(wi, [["render", Si]]), ki = {
2346
2346
  __name: "UluMenuStack",
@@ -2428,7 +2428,7 @@ const _s = /* @__PURE__ */ R(wi, [["render", Si]]), ki = {
2428
2428
  return (n, t) => (u(), _(vt, { classes: e.popoverClasses }, {
2429
2429
  trigger: S(({ isOpen: s }) => [
2430
2430
  g(n.$slots, "trigger", { isOpen: s }, () => [
2431
- h("span", null, b(e.triggerText), 1),
2431
+ h("span", null, p(e.triggerText), 1),
2432
2432
  z(D, {
2433
2433
  class: "button__icon",
2434
2434
  icon: "type:dropdownExpand",
@@ -2762,7 +2762,7 @@ const Vi = { class: "layout-flex-baseline" }, Fi = { class: "type-word-break" },
2762
2762
  ])
2763
2763
  ]),
2764
2764
  _: 3
2765
- })) : p("", !0)
2765
+ })) : b("", !0)
2766
2766
  ]));
2767
2767
  }
2768
2768
  }, th = {
@@ -2962,17 +2962,17 @@ function Di(e, n, t, s, o, i) {
2962
2962
  key: 0,
2963
2963
  icon: t.icon,
2964
2964
  class: "button__icon"
2965
- }, null, 8, ["icon"])) : p("", !0),
2965
+ }, null, 8, ["icon"])) : b("", !0),
2966
2966
  (e.$slots.default || t.text) && !t.iconOnly ? (u(), d("span", Ni, [
2967
2967
  g(e.$slots, "default", {}, () => [
2968
- $(b(t.text), 1)
2968
+ $(p(t.text), 1)
2969
2969
  ])
2970
- ])) : p("", !0),
2970
+ ])) : b("", !0),
2971
2971
  t.icon && !t.iconBefore && !t.iconOnly ? (u(), _(r, {
2972
2972
  key: 2,
2973
2973
  icon: t.icon,
2974
2974
  class: "button__icon"
2975
- }, null, 8, ["icon"])) : p("", !0),
2975
+ }, null, 8, ["icon"])) : b("", !0),
2976
2976
  g(e.$slots, "after")
2977
2977
  ]),
2978
2978
  _: 3
@@ -3041,18 +3041,18 @@ function Gi(e, n, t, s, o, i) {
3041
3041
  h("div", qi, [
3042
3042
  h("div", null, [
3043
3043
  g(e.$slots, "title", {}, () => [
3044
- h("strong", null, b(t.title), 1)
3044
+ h("strong", null, p(t.title), 1)
3045
3045
  ])
3046
3046
  ]),
3047
3047
  h("div", null, [
3048
3048
  g(e.$slots, "description", {}, () => [
3049
- $(b(t.description), 1)
3049
+ $(p(t.description), 1)
3050
3050
  ])
3051
3051
  ])
3052
3052
  ]),
3053
3053
  e.$slots.action ? (u(), d("div", Ki, [
3054
3054
  g(e.$slots, "action")
3055
- ])) : p("", !0)
3055
+ ])) : b("", !0)
3056
3056
  ])
3057
3057
  ], 2);
3058
3058
  }
@@ -3117,8 +3117,8 @@ const rh = /* @__PURE__ */ R(Xi, [["render", Gi]]), Zi = ["aria-hidden"], Qi = {
3117
3117
  e.text ? (u(), d("span", {
3118
3118
  key: 0,
3119
3119
  "aria-hidden": e.alt ? "true" : null
3120
- }, b(e.text), 9, Zi)) : g(o.$slots, "default", { key: 1 }),
3121
- e.alt ? (u(), d("span", Qi, b(e.alt), 1)) : p("", !0)
3120
+ }, p(e.text), 9, Zi)) : g(o.$slots, "default", { key: 1 }),
3121
+ e.alt ? (u(), d("span", Qi, p(e.alt), 1)) : b("", !0)
3122
3122
  ], 2)
3123
3123
  ]),
3124
3124
  _: 3
@@ -3231,22 +3231,22 @@ function sr(e, n, t, s, o, i) {
3231
3231
  }, {
3232
3232
  default: S(() => [
3233
3233
  g(e.$slots, "title", {}, () => [
3234
- $(b(t.title), 1)
3234
+ $(p(t.title), 1)
3235
3235
  ])
3236
3236
  ]),
3237
3237
  _: 3
3238
- })) : p("", !0),
3238
+ })) : b("", !0),
3239
3239
  e.$slots.default || t.body ? (u(), d("span", nr, [
3240
3240
  g(e.$slots, "default", {}, () => [
3241
- $(b(t.body), 1)
3241
+ $(p(t.body), 1)
3242
3242
  ])
3243
- ])) : p("", !0),
3243
+ ])) : b("", !0),
3244
3244
  t.icon ? (u(), _(r, {
3245
3245
  key: 2,
3246
3246
  icon: t.icon,
3247
3247
  class: "button-verbose__icon",
3248
3248
  "aria-hidden": "true"
3249
- }, null, 8, ["icon"])) : p("", !0)
3249
+ }, null, 8, ["icon"])) : b("", !0)
3250
3250
  ]),
3251
3251
  _: 3
3252
3252
  }, 16, ["class"]);
@@ -3461,7 +3461,7 @@ function hr(e, n, t, s, o, i) {
3461
3461
  }, {
3462
3462
  default: S(() => [
3463
3463
  g(e.$slots, "title", {}, () => [
3464
- $(b(t.title), 1)
3464
+ $(p(t.title), 1)
3465
3465
  ])
3466
3466
  ]),
3467
3467
  _: 3
@@ -3473,10 +3473,10 @@ function hr(e, n, t, s, o, i) {
3473
3473
  ref: "link"
3474
3474
  }, [
3475
3475
  g(e.$slots, "title", {}, () => [
3476
- $(b(t.title), 1)
3476
+ $(p(t.title), 1)
3477
3477
  ])
3478
3478
  ], 8, cr)) : g(e.$slots, "title", { key: 2 }, () => [
3479
- $(b(t.title), 1)
3479
+ $(p(t.title), 1)
3480
3480
  ])
3481
3481
  ]),
3482
3482
  _: 3
@@ -3485,7 +3485,7 @@ function hr(e, n, t, s, o, i) {
3485
3485
  ]),
3486
3486
  e.$slots.aside ? (u(), d("div", ur, [
3487
3487
  g(e.$slots, "aside")
3488
- ])) : p("", !0)
3488
+ ])) : b("", !0)
3489
3489
  ]),
3490
3490
  e.$slots.image || t.imageSrc ? (u(), d("div", {
3491
3491
  key: 0,
@@ -3500,10 +3500,10 @@ function hr(e, n, t, s, o, i) {
3500
3500
  alt: t.imageAlt
3501
3501
  }, null, 8, dr)
3502
3502
  ])
3503
- ], 2)) : p("", !0),
3503
+ ], 2)) : b("", !0),
3504
3504
  e.$slots.footer ? (u(), d("div", fr, [
3505
3505
  g(e.$slots, "footer")
3506
- ])) : p("", !0)
3506
+ ])) : b("", !0)
3507
3507
  ]),
3508
3508
  _: 3
3509
3509
  }, 40, ["onMousedown", "onMouseup", "class", "style", "target", "to", "href", "data-ulu-proxy-click-init"]);
@@ -3539,7 +3539,7 @@ const uh = /* @__PURE__ */ R(rr, [["render", hr]]), dh = {
3539
3539
  item: s,
3540
3540
  index: o
3541
3541
  }, () => [
3542
- $(b(s.term), 1)
3542
+ $(p(s.term), 1)
3543
3543
  ])
3544
3544
  ], 2),
3545
3545
  h("dd", {
@@ -3549,7 +3549,7 @@ const uh = /* @__PURE__ */ R(rr, [["render", hr]]), dh = {
3549
3549
  item: s,
3550
3550
  index: o
3551
3551
  }, () => [
3552
- $(b(s.description), 1)
3552
+ $(p(s.description), 1)
3553
3553
  ])
3554
3554
  ], 2)
3555
3555
  ], 2))), 128))
@@ -3586,7 +3586,7 @@ const uh = /* @__PURE__ */ R(rr, [["render", hr]]), dh = {
3586
3586
  }, [
3587
3587
  h("span", gr, [
3588
3588
  g(n.$slots, "default", {}, () => [
3589
- $(b(e.text), 1)
3589
+ $(p(e.text), 1)
3590
3590
  ])
3591
3591
  ]),
3592
3592
  z(D, {
@@ -3671,7 +3671,7 @@ const uh = /* @__PURE__ */ R(rr, [["render", hr]]), dh = {
3671
3671
  item: i,
3672
3672
  index: r
3673
3673
  }, () => [
3674
- $(b(i), 1)
3674
+ $(p(i), 1)
3675
3675
  ])
3676
3676
  ], 2))), 128))
3677
3677
  ]),
@@ -3748,7 +3748,7 @@ const mh = /* @__PURE__ */ R(vr, [["render", pr]]), br = { class: "spoke-spinner
3748
3748
  key: 0,
3749
3749
  id: i.value,
3750
3750
  class: "hidden-visually"
3751
- }, b(e.legend), 9, wr)) : p("", !0),
3751
+ }, p(e.legend), 9, wr)) : b("", !0),
3752
3752
  h("ul", Sr, [
3753
3753
  (u(!0), d(E, null, x(e.options, (v) => (u(), d("li", {
3754
3754
  class: "menu-stack__item",
@@ -3767,7 +3767,7 @@ const mh = /* @__PURE__ */ R(vr, [["render", pr]]), br = { class: "spoke-spinner
3767
3767
  for: l(v)
3768
3768
  }, [
3769
3769
  g(f.$slots, "default", { option: v }, () => [
3770
- $(b(v?.label || v?.title || v?.text), 1)
3770
+ $(p(v?.label || v?.title || v?.text), 1)
3771
3771
  ])
3772
3772
  ], 8, Cr)
3773
3773
  ])
@@ -3816,8 +3816,8 @@ const mh = /* @__PURE__ */ R(vr, [["render", pr]]), br = { class: "spoke-spinner
3816
3816
  icon: e.icon
3817
3817
  }, null, 8, ["icon"]),
3818
3818
  h("span", Ar, [
3819
- $(b(e.file.name) + " ", 1),
3820
- e.noFileSize ? p("", !0) : (u(), _(bs, {
3819
+ $(p(e.file.name) + " ", 1),
3820
+ e.noFileSize ? b("", !0) : (u(), _(bs, {
3821
3821
  key: 0,
3822
3822
  text: s.value,
3823
3823
  small: "",
@@ -3868,7 +3868,7 @@ const mh = /* @__PURE__ */ R(vr, [["render", pr]]), br = { class: "spoke-spinner
3868
3868
  for: A(o)
3869
3869
  }, [
3870
3870
  g(r.$slots, "label", {}, () => [
3871
- $(b(e.label), 1)
3871
+ $(p(e.label), 1)
3872
3872
  ])
3873
3873
  ], 10, xr),
3874
3874
  h("input", le({
@@ -3901,7 +3901,7 @@ const mh = /* @__PURE__ */ R(vr, [["render", pr]]), br = { class: "spoke-spinner
3901
3901
  e.error || e.warning ? (u(), _(D, {
3902
3902
  key: 0,
3903
3903
  icon: `type:${e.error ? "error" : "warning"}`
3904
- }, null, 8, ["icon"])) : p("", !0),
3904
+ }, null, 8, ["icon"])) : b("", !0),
3905
3905
  g(n.$slots, "default")
3906
3906
  ], 2));
3907
3907
  }
@@ -3937,7 +3937,7 @@ const mh = /* @__PURE__ */ R(vr, [["render", pr]]), br = { class: "spoke-spinner
3937
3937
  for: A(t)
3938
3938
  }, [
3939
3939
  g(s.$slots, "default", {}, () => [
3940
- $(b(e.label), 1)
3940
+ $(p(e.label), 1)
3941
3941
  ])
3942
3942
  ], 10, jr),
3943
3943
  h("select", {
@@ -3952,7 +3952,7 @@ const mh = /* @__PURE__ */ R(vr, [["render", pr]]), br = { class: "spoke-spinner
3952
3952
  (u(!0), d(E, null, x(e.options, (i, r) => (u(), d("option", {
3953
3953
  key: r,
3954
3954
  value: i.value
3955
- }, b(i.text), 9, zr))), 128))
3955
+ }, p(i.text), 9, zr))), 128))
3956
3956
  ], 40, Ir)
3957
3957
  ]));
3958
3958
  }
@@ -3984,7 +3984,7 @@ const mh = /* @__PURE__ */ R(vr, [["render", pr]]), br = { class: "spoke-spinner
3984
3984
  for: A(t)
3985
3985
  }, [
3986
3986
  g(s.$slots, "default", {}, () => [
3987
- $(b(e.label), 1)
3987
+ $(p(e.label), 1)
3988
3988
  ])
3989
3989
  ], 10, Ur),
3990
3990
  h("input", {
@@ -4134,9 +4134,9 @@ function qr(e, n, t, s, o, i) {
4134
4134
  key: 0,
4135
4135
  class: m(t.classes.icon),
4136
4136
  icon: t.icon
4137
- }, null, 8, ["class", "icon"])) : p("", !0),
4137
+ }, null, 8, ["class", "icon"])) : b("", !0),
4138
4138
  g(e.$slots, "default", {}, () => [
4139
- $(b(t.title), 1)
4139
+ $(p(t.title), 1)
4140
4140
  ])
4141
4141
  ]),
4142
4142
  _: 3
@@ -4144,7 +4144,7 @@ function qr(e, n, t, s, o, i) {
4144
4144
  ], 2),
4145
4145
  e.$slots.end ? (u(), d("div", Yr, [
4146
4146
  g(e.$slots, "end")
4147
- ])) : p("", !0)
4147
+ ])) : b("", !0)
4148
4148
  ], 2);
4149
4149
  }
4150
4150
  const $h = /* @__PURE__ */ R(Xr, [["render", qr]]), Kr = {
@@ -4201,7 +4201,7 @@ function Gr(e, n, t, s, o, i) {
4201
4201
  class: m(a.current)
4202
4202
  }, [
4203
4203
  g(e.$slots, "default", { item: a }, () => [
4204
- $(b(a.title), 1)
4204
+ $(p(a.title), 1)
4205
4205
  ])
4206
4206
  ], 2)) : (u(), _(r, {
4207
4207
  key: 0,
@@ -4211,7 +4211,7 @@ function Gr(e, n, t, s, o, i) {
4211
4211
  }, {
4212
4212
  default: S(() => [
4213
4213
  g(e.$slots, "default", { item: a }, () => [
4214
- $(b(a.title), 1)
4214
+ $(p(a.title), 1)
4215
4215
  ])
4216
4216
  ]),
4217
4217
  _: 2
@@ -4221,10 +4221,10 @@ function Gr(e, n, t, s, o, i) {
4221
4221
  class: m(t.classes.separator),
4222
4222
  icon: t.separatorIcon || "type:pathSeparator"
4223
4223
  }, null, 8, ["class", "icon"])
4224
- ]) : p("", !0)
4224
+ ]) : b("", !0)
4225
4225
  ], 2))), 128))
4226
4226
  ], 2)
4227
- ], 2)) : p("", !0);
4227
+ ], 2)) : b("", !0);
4228
4228
  }
4229
4229
  const Ch = /* @__PURE__ */ R(Kr, [["render", Gr]]), Zr = {
4230
4230
  name: "UluNavStrip",
@@ -4296,10 +4296,10 @@ const Ah = /* @__PURE__ */ R(Jr, [["render", tl]]), nl = {
4296
4296
  function sl(e, n, t, s, o, i) {
4297
4297
  return t.text != null ? (u(), _(V(t.element), { key: 0 }, {
4298
4298
  default: S(() => [
4299
- $(b(t.text), 1)
4299
+ $(p(t.text), 1)
4300
4300
  ]),
4301
4301
  _: 1
4302
- })) : p("", !0);
4302
+ })) : b("", !0);
4303
4303
  }
4304
4304
  const Oh = /* @__PURE__ */ R(nl, [["render", sl]]), ol = {}, il = { style: { display: "none" } };
4305
4305
  function rl(e, n) {
@@ -4433,7 +4433,7 @@ function gl(e, n, t, s, o, i) {
4433
4433
  tabindex: "-1",
4434
4434
  class: "hidden-visually",
4435
4435
  ref: "el"
4436
- }, b(i.title), 513)) : p("", !0);
4436
+ }, p(i.title), 513)) : b("", !0);
4437
4437
  }
4438
4438
  const Ih = /* @__PURE__ */ R(ml, [["render", gl]]), vl = {
4439
4439
  name: "AnimateNumber",
@@ -4463,7 +4463,7 @@ const Ih = /* @__PURE__ */ R(ml, [["render", gl]]), vl = {
4463
4463
  function yl(e, n, t, s, o, i) {
4464
4464
  return u(), d("span", null, [
4465
4465
  g(e.$slots, "default", { currentValue: o.currentValue }, () => [
4466
- $(b(o.currentValue), 1)
4466
+ $(p(o.currentValue), 1)
4467
4467
  ])
4468
4468
  ]);
4469
4469
  }
@@ -4586,21 +4586,21 @@ const zh = /* @__PURE__ */ R(vl, [["render", yl]]), pl = {
4586
4586
  }, {
4587
4587
  default: S(() => [
4588
4588
  g(r.$slots, "label", {}, () => [
4589
- $(b(e.label), 1)
4589
+ $(p(e.label), 1)
4590
4590
  ])
4591
4591
  ]),
4592
4592
  _: 3
4593
- }, 8, ["class"])) : p("", !0),
4593
+ }, 8, ["class"])) : b("", !0),
4594
4594
  e.amountInHeader ? (u(), d("div", bl, [
4595
4595
  l[0] || (l[0] = h("strong", { class: "hidden-visually" }, "Amount:", -1)),
4596
4596
  g(r.$slots, "valueAmount", { value: e.amount }, () => [
4597
- $(b(e.formatValue(e.amount, "amount")), 1)
4597
+ $(p(e.formatValue(e.amount, "amount")), 1)
4598
4598
  ])
4599
- ])) : p("", !0),
4599
+ ])) : b("", !0),
4600
4600
  r.$slots.icon ? (u(), d("div", _l, [
4601
4601
  g(r.$slots, "icon")
4602
- ])) : p("", !0)
4603
- ])) : p("", !0),
4602
+ ])) : b("", !0)
4603
+ ])) : b("", !0),
4604
4604
  h("div", wl, [
4605
4605
  h("div", {
4606
4606
  class: "progress-bar__bar",
@@ -4610,28 +4610,28 @@ const zh = /* @__PURE__ */ R(vl, [["render", yl]]), pl = {
4610
4610
  key: 0,
4611
4611
  class: "progress-bar__bar--deficit",
4612
4612
  style: H({ width: o.value })
4613
- }, null, 4)) : p("", !0)
4613
+ }, null, 4)) : b("", !0)
4614
4614
  ]),
4615
4615
  !e.noValues && !e.amountInHeader && !e.loader && !e.indeterminate ? (u(), d("div", Sl, [
4616
4616
  h("div", kl, [
4617
4617
  l[1] || (l[1] = h("strong", { class: "hidden-visually" }, "Amount:", -1)),
4618
4618
  g(r.$slots, "valueAmount", { value: e.amount }, () => [
4619
- $(b(e.formatValue(e.amount, "amount")), 1)
4619
+ $(p(e.formatValue(e.amount, "amount")), 1)
4620
4620
  ])
4621
4621
  ]),
4622
4622
  e.deficit > 0 ? (u(), d("div", $l, [
4623
4623
  l[2] || (l[2] = h("strong", { class: "hidden-visually" }, "Deficit: ", -1)),
4624
4624
  g(r.$slots, "valueDeficit", { value: e.deficit }, () => [
4625
- $("-" + b(e.formatValue(e.deficit, "deficit")), 1)
4625
+ $("-" + p(e.formatValue(e.deficit, "deficit")), 1)
4626
4626
  ])
4627
- ])) : p("", !0),
4627
+ ])) : b("", !0),
4628
4628
  h("div", Cl, [
4629
4629
  l[3] || (l[3] = h("strong", { class: "hidden-visually" }, "Total:", -1)),
4630
4630
  g(r.$slots, "valueTotal", { value: e.total }, () => [
4631
- $(b(e.formatValue(e.total, "total")), 1)
4631
+ $(p(e.formatValue(e.total, "total")), 1)
4632
4632
  ])
4633
4633
  ])
4634
- ])) : p("", !0)
4634
+ ])) : b("", !0)
4635
4635
  ], 2));
4636
4636
  }
4637
4637
  }, Tl = { class: "hidden-visually" }, Al = { class: "progress-circle__chart" }, Ol = {
@@ -4741,7 +4741,7 @@ const zh = /* @__PURE__ */ R(vl, [["render", yl]]), pl = {
4741
4741
  }), (a, c) => (u(), d("div", {
4742
4742
  class: m(l.value)
4743
4743
  }, [
4744
- h("strong", Tl, b(e.label), 1),
4744
+ h("strong", Tl, p(e.label), 1),
4745
4745
  h("div", Al, [
4746
4746
  (u(), d("svg", Ol, [
4747
4747
  c[0] || (c[0] = h("circle", {
@@ -4767,15 +4767,15 @@ const zh = /* @__PURE__ */ R(vl, [["render", yl]]), pl = {
4767
4767
  ])),
4768
4768
  !r.value && !e.noValue ? (u(), d("strong", xl, [
4769
4769
  g(a.$slots, "value", { value: e.percentage }, () => [
4770
- $(b(e.formatValue(e.percentage)), 1)
4770
+ $(p(e.formatValue(e.percentage)), 1)
4771
4771
  ])
4772
- ])) : p("", !0)
4772
+ ])) : b("", !0)
4773
4773
  ]),
4774
4774
  r.value && !e.noValue ? (u(), d("strong", Rl, [
4775
4775
  g(a.$slots, "value", { value: e.percentage }, () => [
4776
- $(b(e.formatValue(e.percentage)), 1)
4776
+ $(p(e.formatValue(e.percentage)), 1)
4777
4777
  ])
4778
- ])) : p("", !0)
4778
+ ])) : b("", !0)
4779
4779
  ], 2));
4780
4780
  }
4781
4781
  };
@@ -5016,8 +5016,8 @@ const Il = { key: 0 }, Tn = {
5016
5016
  "onUpdate:modelValue": i
5017
5017
  }, {
5018
5018
  default: S(({ option: a }) => [
5019
- $(b(a.label) + " ", 1),
5020
- a.count !== void 0 ? (u(), d("span", Il, "(" + b(a.count) + ")", 1)) : p("", !0)
5019
+ $(p(a.label) + " ", 1),
5020
+ a.count !== void 0 ? (u(), d("span", Il, "(" + p(a.count) + ")", 1)) : b("", !0)
5021
5021
  ]),
5022
5022
  _: 1
5023
5023
  }, 8, ["legend", "type", "options", "model-value"]));
@@ -5066,7 +5066,7 @@ const Il = { key: 0 }, Tn = {
5066
5066
  group: r,
5067
5067
  isOpen: l
5068
5068
  }, () => [
5069
- $(b(r.name), 1)
5069
+ $(p(r.name), 1)
5070
5070
  ])
5071
5071
  ]),
5072
5072
  default: S(() => [
@@ -5086,7 +5086,7 @@ const Il = { key: 0 }, Tn = {
5086
5086
  transitionHeight: !0
5087
5087
  }, {
5088
5088
  trigger: S(({ isOpen: l }) => [
5089
- $(b(l ? "View Less" : "Show More"), 1)
5089
+ $(p(l ? "View Less" : "Show More"), 1)
5090
5090
  ]),
5091
5091
  default: S(() => [
5092
5092
  z(Tn, {
@@ -5099,7 +5099,7 @@ const Il = { key: 0 }, Tn = {
5099
5099
  }, null, 8, ["children", "groupUid", "groupName", "type", "model-value"])
5100
5100
  ]),
5101
5101
  _: 2
5102
- }, 1032, ["class"])) : p("", !0)
5102
+ }, 1032, ["class"])) : b("", !0)
5103
5103
  ]),
5104
5104
  _: 2
5105
5105
  }, 1032, ["classes", "startOpen"]))), 128))
@@ -5181,8 +5181,8 @@ const Il = { key: 0 }, Tn = {
5181
5181
  label: i(c)
5182
5182
  }, () => [
5183
5183
  h("span", null, [
5184
- $(b(c.name) + ": ", 1),
5185
- h("strong", null, b(i(c)), 1)
5184
+ $(p(c.name) + ": ", 1),
5185
+ h("strong", null, p(i(c)), 1)
5186
5186
  ])
5187
5187
  ]),
5188
5188
  z(D, {
@@ -5235,18 +5235,18 @@ const Il = { key: 0 }, Tn = {
5235
5235
  h("label", {
5236
5236
  for: `facet-dropdown-${r.uid}`,
5237
5237
  class: "facets-dropdown-filters__label"
5238
- }, b(r.name), 9, Ul),
5238
+ }, p(r.name), 9, Ul),
5239
5239
  h("select", {
5240
5240
  id: `facet-dropdown-${r.uid}`,
5241
5241
  class: "facets-dropdown-filters__select",
5242
5242
  onChange: (l) => s(r, l)
5243
5243
  }, [
5244
- h("option", Pl, "All " + b(r.name) + "s", 1),
5244
+ h("option", Pl, "All " + p(r.name) + "s", 1),
5245
5245
  (u(!0), d(E, null, x(r.children, (l) => (u(), d("option", {
5246
5246
  key: l.uid,
5247
5247
  value: l.uid,
5248
5248
  selected: l.selected
5249
- }, b(l.label), 9, Ll))), 128))
5249
+ }, p(l.label), 9, Ll))), 128))
5250
5250
  ], 40, Bl)
5251
5251
  ]))), 128))
5252
5252
  ]));
@@ -5356,27 +5356,44 @@ const Il = { key: 0 }, Tn = {
5356
5356
  ])
5357
5357
  ]));
5358
5358
  }
5359
- }, Yl = { class: "facets-sidebar-layout__header" }, ql = { class: "facets-sidebar-layout__mobile-controls" }, Kl = { class: "facets-sidebar-layout__body" }, Gl = { class: "facets-sidebar-layout__main" }, Dh = {
5359
+ }, Yl = { class: "facets-sidebar__header" }, ql = { class: "facets-sidebar__mobile-controls" }, Kl = { class: "facets-sidebar__body" }, Gl = { class: "facets-sidebar__main" }, Dh = {
5360
5360
  __name: "UluFacetsSidebarLayout",
5361
+ props: {
5362
+ mobileButtonText: {
5363
+ type: String,
5364
+ default: "Filters & Sort"
5365
+ },
5366
+ /**
5367
+ * Classes for elements. See UluCollapsible for all available class keys (toggle, content, etc).
5368
+ * The 'icon' key is also available for the icon span.
5369
+ * - Any valid class binding value per element
5370
+ */
5371
+ classes: {
5372
+ type: Object,
5373
+ default: () => ({
5374
+ mobileButton: "button"
5375
+ })
5376
+ }
5377
+ },
5361
5378
  setup(e) {
5362
5379
  const n = I(!1), t = ft("uluIsMobile"), s = I(null), o = I(null), i = w(() => t.value ? o.value : s.value);
5363
5380
  return (r, l) => (u(), d("div", {
5364
- class: m(["facets-sidebar-layout", { "facets-sidebar-layout--filters-hidden": A(t) }])
5381
+ class: m(["facets-sidebar", { "facets-sidebar--filters-hidden": A(t) }])
5365
5382
  }, [
5366
5383
  h("div", Yl, [
5367
5384
  g(r.$slots, "header")
5368
5385
  ]),
5369
5386
  Oe(h("div", ql, [
5370
5387
  h("button", {
5371
- class: "button",
5388
+ class: m(e.classes.mobileButton),
5372
5389
  onClick: l[0] || (l[0] = (a) => n.value = !0)
5373
- }, "Filters & Sort")
5390
+ }, p(e.mobileButtonText), 3)
5374
5391
  ], 512), [
5375
5392
  [Mt, A(t)]
5376
5393
  ]),
5377
5394
  h("div", Kl, [
5378
5395
  Oe(h("div", {
5379
- class: "facets-sidebar-layout__sidebar",
5396
+ class: "facets-sidebar__sidebar",
5380
5397
  ref_key: "desktopTarget",
5381
5398
  ref: s
5382
5399
  }, null, 512), [
@@ -5396,19 +5413,19 @@ const Il = { key: 0 }, Tn = {
5396
5413
  }, {
5397
5414
  default: S(() => [
5398
5415
  h("div", {
5399
- class: "facets-sidebar-layout__sidebar",
5416
+ class: "facets-sidebar__sidebar",
5400
5417
  ref_key: "mobileTarget",
5401
5418
  ref: o
5402
5419
  }, null, 512)
5403
5420
  ]),
5404
5421
  _: 1
5405
- }, 8, ["modelValue"])) : p("", !0),
5422
+ }, 8, ["modelValue"])) : b("", !0),
5406
5423
  i.value ? (u(), _(dt, {
5407
5424
  key: 1,
5408
5425
  to: i.value
5409
5426
  }, [
5410
5427
  g(r.$slots, "sidebar")
5411
- ], 8, ["to"])) : p("", !0)
5428
+ ], 8, ["to"])) : b("", !0)
5412
5429
  ], 2));
5413
5430
  }
5414
5431
  }, Zl = ["for"], Ql = ["value", "id"], Jl = ["value"], Wh = {
@@ -5451,7 +5468,7 @@ const Il = { key: 0 }, Tn = {
5451
5468
  (u(!0), d(E, null, x(e.sortTypes, (l, a) => (u(), d("option", {
5452
5469
  value: a,
5453
5470
  key: a
5454
- }, b(l.text), 9, Jl))), 128))
5471
+ }, p(l.text), 9, Jl))), 128))
5455
5472
  ], 42, Ql)
5456
5473
  ], 2));
5457
5474
  }
@@ -5592,12 +5609,12 @@ function ia(e, n, t, s, o, i) {
5592
5609
  h("a", {
5593
5610
  class: m({ "is-active": r.active }),
5594
5611
  href: `#${r.titleId}`
5595
- }, b(r.title), 11, oa)
5612
+ }, p(r.title), 11, oa)
5596
5613
  ], 2))), 128))
5597
5614
  ])
5598
5615
  ]),
5599
5616
  _: 1
5600
- })) : p("", !0);
5617
+ })) : b("", !0);
5601
5618
  }
5602
5619
  const Yh = /* @__PURE__ */ R(sa, [["render", ia]]);
5603
5620
  function As(e) {
@@ -5671,7 +5688,7 @@ function ca(e, n, t, s, o, i) {
5671
5688
  ref_for: !0,
5672
5689
  ref: (a) => i.addLinkRef(l, a),
5673
5690
  href: `#${r.titleId}`
5674
- }, b(r.title), 11, aa)
5691
+ }, p(r.title), 11, aa)
5675
5692
  ], 2))), 128))
5676
5693
  ]),
5677
5694
  h("div", {
@@ -5687,7 +5704,7 @@ function ca(e, n, t, s, o, i) {
5687
5704
  }, null, 6)
5688
5705
  ]),
5689
5706
  _: 1
5690
- })) : p("", !0);
5707
+ })) : b("", !0);
5691
5708
  }
5692
5709
  const qh = /* @__PURE__ */ R(ra, [["render", ca]]), ua = {
5693
5710
  name: "ScrollAnchorsSection",
@@ -5744,7 +5761,7 @@ function da(e, n, t, s, o, i) {
5744
5761
  id: o.titleId
5745
5762
  }, {
5746
5763
  default: S(() => [
5747
- $(b(t.title), 1)
5764
+ $(p(t.title), 1)
5748
5765
  ]),
5749
5766
  _: 1
5750
5767
  }, 8, ["class", "id"])),
@@ -6101,7 +6118,7 @@ function xa(e, n, t, s, o, i) {
6101
6118
  ])
6102
6119
  ])
6103
6120
  ], 512),
6104
- t.noNav ? p("", !0) : (u(), d("ul", Ta, [
6121
+ t.noNav ? b("", !0) : (u(), d("ul", Ta, [
6105
6122
  (u(!0), d(E, null, x(o.slides, (l, a) => (u(), d("li", {
6106
6123
  class: m(["slideshow__nav-item", { "is-active": l.active }]),
6107
6124
  ref_for: !0,
@@ -6119,7 +6136,7 @@ function xa(e, n, t, s, o, i) {
6119
6136
  index: a,
6120
6137
  active: l.active
6121
6138
  }, () => [
6122
- h("span", Oa, "Item " + b(a + 1), 1)
6139
+ h("span", Oa, "Item " + p(a + 1), 1)
6123
6140
  ])
6124
6141
  ], 10, Aa)
6125
6142
  ], 2))), 128))
@@ -6180,7 +6197,7 @@ function Ma(e, n, t, s, o, i) {
6180
6197
  $(" Select ", -1)
6181
6198
  ])]),
6182
6199
  _: 1
6183
- })) : p("", !0)
6200
+ })) : b("", !0)
6184
6201
  ])
6185
6202
  ]),
6186
6203
  nav: S(({ index: a }) => [
@@ -6262,7 +6279,7 @@ function Fa(e, n, t, s, o, i) {
6262
6279
  key: 1,
6263
6280
  innerHTML: t.value({ row: r, column: a, rowIndex: l, isActual: t.isActual, foot: t.foot })
6264
6281
  }, null, 8, Va)) : (u(), d(E, { key: 2 }, [
6265
- $(b(t.value({ row: r, column: a, rowIndex: l, isActual: t.isActual, foot: t.foot })), 1)
6282
+ $(p(t.value({ row: r, column: a, rowIndex: l, isActual: t.isActual, foot: t.foot })), 1)
6266
6283
  ], 64))
6267
6284
  ]),
6268
6285
  _: 2
@@ -6365,7 +6382,7 @@ function ec(e, n, t, s, o, i) {
6365
6382
  class: m(t.resolveClasses(t.classes.table, { isActual: t.isActual })),
6366
6383
  "aria-hidden": t.isActual ? "false" : "true"
6367
6384
  }, [
6368
- t.caption ? (u(), d("caption", Wa, b(t.caption), 1)) : p("", !0),
6385
+ t.caption ? (u(), d("caption", Wa, p(t.caption), 1)) : b("", !0),
6369
6386
  h("thead", null, [
6370
6387
  (u(!0), d(E, null, x(t.headerRows, (l, a) => (u(), d("tr", {
6371
6388
  key: `hr-${a}`,
@@ -6418,7 +6435,7 @@ function ec(e, n, t, s, o, i) {
6418
6435
  key: 1,
6419
6436
  innerHTML: t.getColumnTitle({ column: c, index: f, isActual: t.isActual })
6420
6437
  }, null, 8, qa)) : (u(), d(E, { key: 2 }, [
6421
- $(b(t.getColumnTitle({ column: c, index: f, isActual: t.isActual })), 1)
6438
+ $(p(t.getColumnTitle({ column: c, index: f, isActual: t.isActual })), 1)
6422
6439
  ], 64)),
6423
6440
  h("span", Ka, [
6424
6441
  h("span", Ga, [
@@ -6439,7 +6456,7 @@ function ec(e, n, t, s, o, i) {
6439
6456
  key: 1,
6440
6457
  innerHTML: t.getColumnTitle({ column: c, index: f, isActual: t.isActual })
6441
6458
  }, null, 8, Za)) : (u(), d(E, { key: 2 }, [
6442
- $(b(t.getColumnTitle({ column: c, index: f, isActual: t.isActual })), 1)
6459
+ $(p(t.getColumnTitle({ column: c, index: f, isActual: t.isActual })), 1)
6443
6460
  ], 64))
6444
6461
  ], 64))
6445
6462
  ], 14, Ya))), 128))
@@ -6464,7 +6481,7 @@ function ec(e, n, t, s, o, i) {
6464
6481
  ])
6465
6482
  }))
6466
6483
  ]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
6467
- ])) : p("", !0),
6484
+ ])) : b("", !0),
6468
6485
  t.footerRows ? (u(), d("tfoot", Ja, [
6469
6486
  z(r, {
6470
6487
  rows: t.footerRows,
@@ -6485,7 +6502,7 @@ function ec(e, n, t, s, o, i) {
6485
6502
  ])
6486
6503
  }))
6487
6504
  ]), 1032, ["rows", "rowColumns", "optionalAttr", "resolveClasses", "getCellHeaders", "isActual", "columnWidth", "classes", "value"])
6488
- ])) : p("", !0)
6505
+ ])) : b("", !0)
6489
6506
  ], 10, Da);
6490
6507
  }
6491
6508
  const tc = /* @__PURE__ */ R(Na, [["render", ec]]);
@@ -7469,7 +7486,7 @@ function Pf(e, n, t, s, o, i) {
7469
7486
  g(e.$slots, a, ee(te(c)))
7470
7487
  ])
7471
7488
  }))
7472
- ]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])) : p("", !0)
7489
+ ]), 1032, ["classes", "caption", "resolveClasses", "getColumnTitle", "idPrefix", "headerRows", "style", "onColumnSorted"])) : b("", !0)
7473
7490
  ]),
7474
7491
  h("div", If, [
7475
7492
  Oe(h("div", {
@@ -7569,7 +7586,7 @@ function Pf(e, n, t, s, o, i) {
7569
7586
  g(e.$slots, a, ee(te(c)))
7570
7587
  ])
7571
7588
  }))
7572
- ]), 1032, ["classes", "resolveClasses", "caption", "headerRows", "columnWidth", "rows", "footerRows", "rowColumns", "idPrefix", "getRowValue", "getColumnTitle", "style", "onColumnSorted"])) : p("", !0)
7589
+ ]), 1032, ["classes", "resolveClasses", "caption", "headerRows", "columnWidth", "rows", "footerRows", "rowColumns", "idPrefix", "getRowValue", "getColumnTitle", "style", "onColumnSorted"])) : b("", !0)
7573
7590
  ], 2);
7574
7591
  }
7575
7592
  const nm = /* @__PURE__ */ R(xf, [["render", Pf]]), sm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -1,21 +1,23 @@
1
1
  <template>
2
2
  <div
3
- class="facets-sidebar-layout"
4
- :class="{ 'facets-sidebar-layout--filters-hidden' : isMobile }"
3
+ class="facets-sidebar"
4
+ :class="{ 'facets-sidebar--filters-hidden' : isMobile }"
5
5
  >
6
- <div class="facets-sidebar-layout__header">
6
+ <div class="facets-sidebar__header">
7
7
  <slot name="header"></slot>
8
8
  </div>
9
9
 
10
- <div v-show="isMobile" class="facets-sidebar-layout__mobile-controls">
11
- <button class="button" @click="showMobileFilters = true">Filters & Sort</button>
10
+ <div v-show="isMobile" class="facets-sidebar__mobile-controls">
11
+ <button :class="classes.mobileButton" @click="showMobileFilters = true">
12
+ {{ mobileButtonText }}
13
+ </button>
12
14
  </div>
13
15
 
14
- <div class="facets-sidebar-layout__body">
16
+ <div class="facets-sidebar__body">
15
17
  <!-- Desktop container for the sidebar -->
16
- <div v-show="!isMobile" class="facets-sidebar-layout__sidebar" ref="desktopTarget"></div>
18
+ <div v-show="!isMobile" class="facets-sidebar__sidebar" ref="desktopTarget"></div>
17
19
 
18
- <div class="facets-sidebar-layout__main">
20
+ <div class="facets-sidebar__main">
19
21
  <slot name="main"></slot>
20
22
  </div>
21
23
  </div>
@@ -28,7 +30,7 @@
28
30
  allowResize
29
31
  >
30
32
  <!-- Mobile container for the sidebar -->
31
- <div class="facets-sidebar-layout__sidebar" ref="mobileTarget"></div>
33
+ <div class="facets-sidebar__sidebar" ref="mobileTarget"></div>
32
34
  </UluModal>
33
35
 
34
36
  <teleport :to="teleportTarget" v-if="teleportTarget">
@@ -41,6 +43,24 @@
41
43
  import { ref, inject, computed } from 'vue';
42
44
  import UluModal from '../../collapsible/UluModal.vue';
43
45
 
46
+ defineProps({
47
+ mobileButtonText: {
48
+ type: String,
49
+ default: "Filters & Sort"
50
+ },
51
+ /**
52
+ * Classes for elements. See UluCollapsible for all available class keys (toggle, content, etc).
53
+ * The 'icon' key is also available for the icon span.
54
+ * - Any valid class binding value per element
55
+ */
56
+ classes: {
57
+ type: Object,
58
+ default: () => ({
59
+ mobileButton: 'button'
60
+ })
61
+ }
62
+ })
63
+
44
64
  const showMobileFilters = ref(false);
45
65
  const isMobile = inject("uluIsMobile");
46
66
 
@@ -57,13 +77,13 @@
57
77
  </script>
58
78
 
59
79
  <style lang="scss">
60
- .facets-sidebar-layout__body {
80
+ .facets-sidebar__body {
61
81
  display: grid;
62
82
  grid-template-columns: 250px 1fr;
63
83
  gap: 2rem;
64
84
  }
65
- .facets-sidebar-layout--filters-hidden {
66
- .facets-sidebar-layout__body {
85
+ .facets-sidebar--filters-hidden {
86
+ .facets-sidebar__body {
67
87
  grid-template-columns: 1fr;
68
88
  }
69
89
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulu/frontend-vue",
3
- "version": "0.1.1-beta.7",
3
+ "version": "0.1.1-beta.8",
4
4
  "description": "A modular and tree-shakeable Vue 3 component library for the Ulu frontend",
5
5
  "type": "module",
6
6
  "files": [
@@ -3,7 +3,11 @@ export default _default;
3
3
  type __VLS_WithSlots<T, S> = T & (new () => {
4
4
  $slots: S;
5
5
  });
6
- declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {
7
+ $props: Partial<typeof __VLS_props>;
8
+ classes: Record<string, any>;
9
+ mobileButtonText: string;
10
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
11
  type __VLS_Slots = {
8
12
  header?: ((props: {}) => any) | undefined;
9
13
  } & {
@@ -11,4 +15,8 @@ type __VLS_Slots = {
11
15
  } & {
12
16
  sidebar?: ((props: {}) => any) | undefined;
13
17
  };
18
+ declare const __VLS_props: {
19
+ readonly classes: Record<string, any>;
20
+ readonly mobileButtonText: string;
21
+ };
14
22
  //# sourceMappingURL=UluFacetsSidebarLayout.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UluFacetsSidebarLayout.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/facets/UluFacetsSidebarLayout.vue"],"names":[],"mappings":"wBAqOqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AAJzB,6SACG"}
1
+ {"version":3,"file":"UluFacetsSidebarLayout.vue.d.ts","sourceRoot":"","sources":["../../../../lib/components/systems/facets/UluFacetsSidebarLayout.vue"],"names":[],"mappings":"wBAqRqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AARzB;YAGmB,OAAO,CAAC,OAAO,WAAW,CAAC;;;2OAE3C;;;;;;;;AAtLD;;;EAgBE"}