@turquoisehealth/pit-viper 2.244.2 → 2.244.4

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.
Files changed (48) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +415 -21
  2. package/_site/assets/css/pit-viper-consumer.css +65 -9
  3. package/_site/assets/css/pit-viper-v2-scoped.css +65 -9
  4. package/_site/assets/css/pit-viper-v2.css +65 -9
  5. package/_site/assets/css/pit-viper.css +65 -9
  6. package/_src/assets/sprite-v2.svg +1 -1
  7. package/_src/assets/sprite.svg +1 -1
  8. package/package.json +1 -1
  9. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  10. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-distribution-bar-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  15. package/pv-components/dist/vue/ai/components/base/PvDistributionBar/PvDistributionBar.vue.d.ts +4 -5
  16. package/pv-components/dist/vue/ai/components/base/PvDistributionBar/types.d.ts +8 -0
  17. package/pv-components/dist/vue/ai/components/base/PvGhostInput/PvGhostInput.vue.d.ts +4 -0
  18. package/pv-components/dist/vue/ai/components/base/PvStepper/PvStepper.vue.d.ts +2 -2
  19. package/pv-components/dist/vue/ai/components/base/PvStepper/types.d.ts +2 -5
  20. package/pv-components/dist/vue/ai/components/base/PvTabs/PvTabs.vue.d.ts +4 -0
  21. package/pv-components/dist/vue/ai/components/base/PvTabs/types.d.ts +10 -2
  22. package/pv-components/dist/vue/ai/components/base/index.d.ts +1 -0
  23. package/pv-components/dist/vue/base/components/base/PvDistributionBar/PvDistributionBar.vue.d.ts +4 -5
  24. package/pv-components/dist/vue/base/components/base/PvDistributionBar/types.d.ts +8 -0
  25. package/pv-components/dist/vue/base/components/base/PvGhostInput/PvGhostInput.vue.d.ts +4 -0
  26. package/pv-components/dist/vue/base/components/base/PvStepper/PvStepper.vue.d.ts +2 -2
  27. package/pv-components/dist/vue/base/components/base/PvStepper/types.d.ts +2 -5
  28. package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.vue.d.ts +4 -0
  29. package/pv-components/dist/vue/base/components/base/PvTabs/types.d.ts +10 -2
  30. package/pv-components/dist/vue/base/components/base/index.d.ts +1 -0
  31. package/pv-components/dist/vue/base/pv-components-base.mjs +1453 -1375
  32. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  33. package/pv-components/dist/vue/visualizations/components/base/PvDistributionBar/PvDistributionBar.vue.d.ts +4 -5
  34. package/pv-components/dist/vue/visualizations/components/base/PvDistributionBar/types.d.ts +8 -0
  35. package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/PvGhostInput.vue.d.ts +4 -0
  36. package/pv-components/dist/vue/visualizations/components/base/PvStepper/PvStepper.vue.d.ts +2 -2
  37. package/pv-components/dist/vue/visualizations/components/base/PvStepper/types.d.ts +2 -5
  38. package/pv-components/dist/vue/visualizations/components/base/PvTabs/PvTabs.vue.d.ts +4 -0
  39. package/pv-components/dist/vue/visualizations/components/base/PvTabs/types.d.ts +10 -2
  40. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +1 -0
  41. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +9 -6
  42. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  43. package/pv-components/dist/web/components/pv-distribution-bar/pv-distribution-bar.js +459 -446
  44. package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +7 -4
  45. package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +424 -420
  46. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +2204 -555
  47. package/pv-components/dist/web/pv-components.iife.js +13 -13
  48. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -185,7 +185,7 @@ var A = [
185
185
  }, null, 8, ["name"])) : r("v-if", !0)
186
186
  ], 64))], 10, te));
187
187
  }
188
- }), ie = ["data-style"], ae = [
188
+ }), ie = ["data-style", "data-invalid"], ae = [
189
189
  "placeholder",
190
190
  "disabled",
191
191
  "name"
@@ -198,7 +198,9 @@ var A = [
198
198
  },
199
199
  placeholder: { type: String },
200
200
  disabled: { type: Boolean },
201
- showEditIcon: { type: Boolean }
201
+ showEditIcon: { type: Boolean },
202
+ error: { type: Boolean },
203
+ autofocus: { type: Boolean }
202
204
  }, {
203
205
  modelValue: {},
204
206
  modelModifiers: {}
@@ -227,7 +229,7 @@ var A = [
227
229
  t.value?.focus();
228
230
  };
229
231
  m(() => {
230
- l.value && l.value.length > 0 ? p(l.value) : c.placeholder ? p(c.placeholder) : d.value = 240;
232
+ l.value && l.value.length > 0 ? p(l.value) : c.placeholder ? p(c.placeholder) : d.value = 240, c.autofocus && t.value?.focus();
231
233
  }), C(() => l.value, () => {
232
234
  l.value && l.value.length > 0 ? p(l.value) : c.placeholder ? p(c.placeholder) : d.value = 240;
233
235
  });
@@ -241,7 +243,8 @@ var A = [
241
243
  return (p, m) => (h(), i("div", {
242
244
  class: "pv-ghost-input pv-full-width",
243
245
  "data-testid": "pv-ghost-input",
244
- "data-style": s[e.variant]
246
+ "data-style": s[e.variant],
247
+ "data-invalid": e.error ? !0 : void 0
245
248
  }, [
246
249
  v(p.$slots, "action"),
247
250
  w(a("input", u({