@turquoisehealth/pit-viper 2.109.2 → 2.110.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.
Files changed (59) hide show
  1. package/_site/assets/js/pit-viper.js +8 -10
  2. package/package.json +1 -1
  3. package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +12 -12
  4. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1823 -1812
  5. package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +12 -12
  6. package/pv-components/dist/stats/vue/base/stats.html +0 -4949
  7. package/pv-components/dist/stats/vue/visualizations/stats.html +0 -4949
  8. package/pv-components/dist/stats/web/pv-accordion-stats.html +0 -4949
  9. package/pv-components/dist/stats/web/pv-action-bar-stats.html +0 -4949
  10. package/pv-components/dist/stats/web/pv-avatar-group-stats.html +0 -4949
  11. package/pv-components/dist/stats/web/pv-avatar-stats.html +0 -4949
  12. package/pv-components/dist/stats/web/pv-banner-stats.html +0 -4949
  13. package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +0 -4949
  14. package/pv-components/dist/stats/web/pv-button-stats.html +0 -4949
  15. package/pv-components/dist/stats/web/pv-card-stats.html +0 -4949
  16. package/pv-components/dist/stats/web/pv-checkbox-stats.html +0 -4949
  17. package/pv-components/dist/stats/web/pv-company-label-stats.html +0 -4949
  18. package/pv-components/dist/stats/web/pv-company-logo-stats.html +0 -4949
  19. package/pv-components/dist/stats/web/pv-company-tag-stats.html +0 -4949
  20. package/pv-components/dist/stats/web/pv-counter-badge-stats.html +0 -4949
  21. package/pv-components/dist/stats/web/pv-date-picker-stats.html +0 -4949
  22. package/pv-components/dist/stats/web/pv-date-time-stats.html +0 -4949
  23. package/pv-components/dist/stats/web/pv-drawer-stats.html +0 -4949
  24. package/pv-components/dist/stats/web/pv-dropdown-stats.html +0 -4949
  25. package/pv-components/dist/stats/web/pv-expandable-content-stats.html +0 -4949
  26. package/pv-components/dist/stats/web/pv-ghost-input-stats.html +0 -4949
  27. package/pv-components/dist/stats/web/pv-icon-stats.html +0 -4949
  28. package/pv-components/dist/stats/web/pv-input-stats.html +0 -4949
  29. package/pv-components/dist/stats/web/pv-insight-card-stats.html +0 -4949
  30. package/pv-components/dist/stats/web/pv-modal-stats.html +0 -4949
  31. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +0 -4949
  32. package/pv-components/dist/stats/web/pv-option-stats.html +0 -4949
  33. package/pv-components/dist/stats/web/pv-pagination-stats.html +0 -4949
  34. package/pv-components/dist/stats/web/pv-pill-stats.html +0 -4949
  35. package/pv-components/dist/stats/web/pv-popover-menu-stats.html +0 -4949
  36. package/pv-components/dist/stats/web/pv-popover-stats.html +0 -4949
  37. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +0 -4949
  38. package/pv-components/dist/stats/web/pv-rating-stats.html +0 -4949
  39. package/pv-components/dist/stats/web/pv-release-badge-stats.html +0 -4949
  40. package/pv-components/dist/stats/web/pv-search-input-stats.html +0 -4949
  41. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +0 -4949
  42. package/pv-components/dist/stats/web/pv-select-button-stats.html +0 -4949
  43. package/pv-components/dist/stats/web/pv-selectable-card-stats.html +0 -4949
  44. package/pv-components/dist/stats/web/pv-side-panel-stats.html +0 -4949
  45. package/pv-components/dist/stats/web/pv-skeleton-stats.html +0 -4949
  46. package/pv-components/dist/stats/web/pv-spinner-stats.html +0 -4949
  47. package/pv-components/dist/stats/web/pv-sprite-stats.html +0 -4949
  48. package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +0 -4949
  49. package/pv-components/dist/stats/web/pv-switch-stats.html +0 -4949
  50. package/pv-components/dist/stats/web/pv-tab-list-stats.html +0 -4949
  51. package/pv-components/dist/stats/web/pv-tabs-stats.html +0 -4949
  52. package/pv-components/dist/stats/web/pv-tag-stats.html +0 -4949
  53. package/pv-components/dist/stats/web/pv-text-area-stats.html +0 -4949
  54. package/pv-components/dist/stats/web/pv-toast-stats.html +0 -4949
  55. package/pv-components/dist/stats/web/pv-toggle-button-stats.html +0 -4949
  56. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +0 -4949
  57. package/pv-components/dist/stats/web/pv-tooltip-stats.html +0 -4949
  58. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +0 -4949
  59. package/pv-components/dist/stats/web/pv-widget-stats.html +0 -4949
@@ -179,7 +179,7 @@ class PVAutoClose extends HTMLElement {
179
179
  }
180
180
  customElements.define('pv-data-grid', PVDataGrid);
181
181
 
182
- class PvGlobalNav extends HTMLElement {
182
+ class PvGlobalNav extends HTMLElement {
183
183
  constructor() {
184
184
  super();
185
185
  this.hoverTimeout = null;
@@ -288,7 +288,7 @@ class PVAutoClose extends HTMLElement {
288
288
  if (isActive) {
289
289
  menu.removeAttribute('data-active');
290
290
  } else {
291
- menu.setAttribute('data-active', '');
291
+ menu.setAttribute('data-active', '');
292
292
  }
293
293
  }
294
294
 
@@ -315,20 +315,18 @@ class PVAutoClose extends HTMLElement {
315
315
  if (!this.layout.hasAttribute('data-expanded')) {
316
316
  this.hoverExpandState();
317
317
  }
318
- // exit early since we want to keep the menu and sidebar open
319
318
  return;
320
319
  }
320
+ // if outside sidebar, remove 'data-floating;
321
+ if (!inSidebar) {
322
+ this.layout.removeAttribute('data-floating');
323
+ }
321
324
 
322
325
  // clicked outside any menu, close all menus
323
326
  allMenus.forEach(menu => menu.removeAttribute('data-active'));
324
327
  this.style.overflowX = 'hidden';
325
-
326
- // if outside sidebar, remove 'data-floating' and reset hover state
327
- if (!inSidebar) {
328
- this.layout.removeAttribute('data-floating');
329
- if (!this.layout.hasAttribute('data-collapsed') && !this.layout.hasAttribute('data-expanded')) {
330
- this.hoverCollapseState();
331
- }
328
+ if (!this.layout.hasAttribute('data-collapsed') && !this.layout.hasAttribute('data-expanded')) {
329
+ this.hoverCollapseState();
332
330
  }
333
331
  }
334
332
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turquoisehealth/pit-viper",
3
- "version": "2.109.2",
3
+ "version": "2.110.0",
4
4
  "description": "Turquoise Health's design system.",
5
5
  "main": "README.md",
6
6
  "publishConfig": {