@turquoisehealth/pit-viper 2.236.2 → 2.237.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.
@@ -5312,22 +5312,23 @@ var za = {
5312
5312
  }, Qo = ["id"], $o = { class: "pv-flex" }, es = ["id"], ts = /* @__PURE__ */ d({
5313
5313
  __name: "PvHeader",
5314
5314
  props: {
5315
- title: {},
5316
- showAskTqButton: { type: Boolean },
5315
+ as: { default: "div" },
5317
5316
  askTqButtonId: { default: "asktq-launch-button" },
5318
- headerTitleId: { default: "header-title" },
5319
5317
  headerActionsId: { default: "header-actions" },
5318
+ headerTitleId: { default: "header-title" },
5319
+ showAskTqButton: { type: Boolean },
5320
5320
  sticky: {
5321
5321
  type: Boolean,
5322
5322
  default: !1
5323
- }
5323
+ },
5324
+ title: {}
5324
5325
  },
5325
5326
  setup(e) {
5326
5327
  let t = H("rootRef"), { present: n } = Xn("right", { host: r(() => {
5327
5328
  let e = t.value?.getRootNode();
5328
5329
  return e instanceof ShadowRoot ? e.host : null;
5329
5330
  }) });
5330
- return (r, i) => (D(), o("div", {
5331
+ return (r, c) => (D(), i(N(e.as), {
5331
5332
  ref_key: "rootRef",
5332
5333
  ref: t,
5333
5334
  class: y(["pv-inset-square pv-flex pv-space-between pv-surface pv-border-bottom", { "pv-sticky": e.sticky }]),
@@ -5335,23 +5336,26 @@ var za = {
5335
5336
  "--inset-size": "0.75rem 1rem",
5336
5337
  "background-color": "#fdfdfc"
5337
5338
  }
5338
- }, [e.title ? (D(), o("span", Zo, I(e.title), 1)) : (D(), o("div", {
5339
- key: 1,
5340
- id: e.headerTitleId,
5341
- class: "pv-flex"
5342
- }, [j(r.$slots, "left")], 8, Qo)), s("div", $o, [s("div", {
5343
- id: e.headerActionsId,
5344
- class: "pv-flex"
5345
- }, [j(r.$slots, "right")], 8, es), e.showAskTqButton ? (D(), o("div", {
5346
- key: 0,
5347
- class: y({ "pv-border-left": L(n) }),
5348
- style: { "padding-inline-start": "0.5rem" }
5349
- }, [u(lr, {
5350
- id: e.askTqButtonId,
5351
- label: "AskTQ",
5352
- size: "xl",
5353
- "hide-icon": ""
5354
- }, null, 8, ["id"])], 2)) : a("", !0)])], 2));
5339
+ }, {
5340
+ default: q(() => [e.title ? (D(), o("span", Zo, I(e.title), 1)) : (D(), o("div", {
5341
+ key: 1,
5342
+ id: e.headerTitleId,
5343
+ class: "pv-flex"
5344
+ }, [j(r.$slots, "left")], 8, Qo)), s("div", $o, [s("div", {
5345
+ id: e.headerActionsId,
5346
+ class: "pv-flex"
5347
+ }, [j(r.$slots, "right")], 8, es), e.showAskTqButton ? (D(), o("div", {
5348
+ key: 0,
5349
+ class: y({ "pv-border-left": L(n) }),
5350
+ style: { "padding-inline-start": "0.5rem" }
5351
+ }, [u(lr, {
5352
+ id: e.askTqButtonId,
5353
+ label: "AskTQ",
5354
+ size: "xl",
5355
+ "hide-icon": ""
5356
+ }, null, 8, ["id"])], 2)) : a("", !0)])]),
5357
+ _: 3
5358
+ }, 8, ["class"]));
5355
5359
  }
5356
5360
  }), ns = ["data-more"], rs = ["src", "alt"], is = /* @__PURE__ */ d({
5357
5361
  __name: "PvAvatarGroup",