@turquoisehealth/pit-viper 2.267.0 → 2.267.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.
@@ -1146,7 +1146,8 @@ function Re(e, n = {}) {
1146
1146
  //#region src/components/base/PvHeader/PvHeader.vue?vue&type=script&setup=true&lang.ts
1147
1147
  var ze = {
1148
1148
  key: 0,
1149
- class: "pv-heading-2"
1149
+ class: "pv-heading-2 pv-flex",
1150
+ style: { "min-height": "2rem" }
1150
1151
  }, Be = ["id"], Ve = { class: "pv-flex" }, He = ["id"], Ue = /* @__PURE__ */ s({
1151
1152
  __name: "PvHeader",
1152
1153
  props: {
@@ -1208,37 +1209,42 @@ var ze = {
1208
1209
  "background-color": "#fdfdfc"
1209
1210
  }
1210
1211
  }, {
1211
- default: ee(() => [e.title ? (_(), i("span", ze, C(e.title), 1)) : (_(), i("div", {
1212
- key: 1,
1213
- id: e.headerTitleId,
1214
- class: "pv-flex"
1215
- }, [x(t.$slots, "left")], 8, Be)), a("div", Ve, [a("div", {
1216
- id: e.headerActionsId,
1217
- class: "pv-flex"
1218
- }, [x(t.$slots, "right")], 8, He), e.showAskTqButton ? (_(), i("div", {
1219
- key: 0,
1220
- class: f({ "pv-border-left": w(l) }),
1221
- style: { "padding-inline-start": "0.5rem" }
1222
- }, [o(je, {
1223
- id: e.askTqButtonId,
1224
- label: "AskTQ",
1225
- size: "xl",
1226
- buddy: e.askTqButtonBuddy,
1227
- "buddy-animated": e.askTqButtonBuddyAnimated,
1228
- "buddy-emote": e.askTqButtonBuddyEmote,
1229
- "buddy-theme": e.askTqButtonBuddyTheme,
1230
- "buddy-variant": e.askTqButtonBuddyVariant,
1231
- "hide-icon": !e.askTqButtonBuddy,
1232
- onClick: s[0] ||= (e) => u("ask-tq-click", e)
1233
- }, null, 8, [
1234
- "id",
1235
- "buddy",
1236
- "buddy-animated",
1237
- "buddy-emote",
1238
- "buddy-theme",
1239
- "buddy-variant",
1240
- "hide-icon"
1241
- ])], 2)) : r("v-if", !0)])]),
1212
+ default: ee(() => [
1213
+ r(" min-height matches a large button, so the header is the same height with or without actions "),
1214
+ e.title ? (_(), i("span", ze, C(e.title), 1)) : (_(), i("div", {
1215
+ key: 1,
1216
+ id: e.headerTitleId,
1217
+ class: "pv-flex",
1218
+ style: { "min-height": "2rem" }
1219
+ }, [x(t.$slots, "left")], 8, Be)),
1220
+ a("div", Ve, [a("div", {
1221
+ id: e.headerActionsId,
1222
+ class: "pv-flex"
1223
+ }, [x(t.$slots, "right")], 8, He), e.showAskTqButton ? (_(), i("div", {
1224
+ key: 0,
1225
+ class: f({ "pv-border-left": w(l) }),
1226
+ style: { "padding-inline-start": "0.5rem" }
1227
+ }, [o(je, {
1228
+ id: e.askTqButtonId,
1229
+ label: "AskTQ",
1230
+ size: "xl",
1231
+ buddy: e.askTqButtonBuddy,
1232
+ "buddy-animated": e.askTqButtonBuddyAnimated,
1233
+ "buddy-emote": e.askTqButtonBuddyEmote,
1234
+ "buddy-theme": e.askTqButtonBuddyTheme,
1235
+ "buddy-variant": e.askTqButtonBuddyVariant,
1236
+ "hide-icon": !e.askTqButtonBuddy,
1237
+ onClick: s[0] ||= (e) => u("ask-tq-click", e)
1238
+ }, null, 8, [
1239
+ "id",
1240
+ "buddy",
1241
+ "buddy-animated",
1242
+ "buddy-emote",
1243
+ "buddy-theme",
1244
+ "buddy-variant",
1245
+ "hide-icon"
1246
+ ])], 2)) : r("v-if", !0)])
1247
+ ]),
1242
1248
  _: 3
1243
1249
  }, 8, ["class"]));
1244
1250
  }