@turquoisehealth/pit-viper 2.114.0 → 2.114.2

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 (60) hide show
  1. package/_site/assets/js/pit-viper.js +9 -11
  2. package/package.json +1 -1
  3. package/pv-components/dist/stats/vue/base/stats.html +4949 -0
  4. package/pv-components/dist/stats/vue/visualizations/stats.html +4949 -0
  5. package/pv-components/dist/stats/web/pv-accordion-stats.html +4949 -0
  6. package/pv-components/dist/stats/web/pv-action-bar-stats.html +4949 -0
  7. package/pv-components/dist/stats/web/pv-ai-button-stats.html +4949 -0
  8. package/pv-components/dist/stats/web/pv-avatar-group-stats.html +4949 -0
  9. package/pv-components/dist/stats/web/pv-avatar-stats.html +4949 -0
  10. package/pv-components/dist/stats/web/pv-banner-stats.html +4949 -0
  11. package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +4949 -0
  12. package/pv-components/dist/stats/web/pv-button-stats.html +4949 -0
  13. package/pv-components/dist/stats/web/pv-card-stats.html +4949 -0
  14. package/pv-components/dist/stats/web/pv-checkbox-stats.html +4949 -0
  15. package/pv-components/dist/stats/web/pv-company-label-stats.html +4949 -0
  16. package/pv-components/dist/stats/web/pv-company-logo-stats.html +4949 -0
  17. package/pv-components/dist/stats/web/pv-company-tag-stats.html +4949 -0
  18. package/pv-components/dist/stats/web/pv-counter-badge-stats.html +4949 -0
  19. package/pv-components/dist/stats/web/pv-date-picker-stats.html +4949 -0
  20. package/pv-components/dist/stats/web/pv-date-time-stats.html +4949 -0
  21. package/pv-components/dist/stats/web/pv-drawer-stats.html +4949 -0
  22. package/pv-components/dist/stats/web/pv-dropdown-stats.html +4949 -0
  23. package/pv-components/dist/stats/web/pv-expandable-content-stats.html +4949 -0
  24. package/pv-components/dist/stats/web/pv-ghost-input-stats.html +4949 -0
  25. package/pv-components/dist/stats/web/pv-icon-stats.html +4949 -0
  26. package/pv-components/dist/stats/web/pv-input-stats.html +4949 -0
  27. package/pv-components/dist/stats/web/pv-insight-card-stats.html +4949 -0
  28. package/pv-components/dist/stats/web/pv-modal-stats.html +4949 -0
  29. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +4949 -0
  30. package/pv-components/dist/stats/web/pv-option-stats.html +4949 -0
  31. package/pv-components/dist/stats/web/pv-pagination-stats.html +4949 -0
  32. package/pv-components/dist/stats/web/pv-pill-stats.html +4949 -0
  33. package/pv-components/dist/stats/web/pv-popover-menu-stats.html +4949 -0
  34. package/pv-components/dist/stats/web/pv-popover-stats.html +4949 -0
  35. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +4949 -0
  36. package/pv-components/dist/stats/web/pv-rating-stats.html +4949 -0
  37. package/pv-components/dist/stats/web/pv-release-badge-stats.html +4949 -0
  38. package/pv-components/dist/stats/web/pv-search-input-stats.html +4949 -0
  39. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +4949 -0
  40. package/pv-components/dist/stats/web/pv-select-button-stats.html +4949 -0
  41. package/pv-components/dist/stats/web/pv-selectable-card-stats.html +4949 -0
  42. package/pv-components/dist/stats/web/pv-side-panel-stats.html +4949 -0
  43. package/pv-components/dist/stats/web/pv-skeleton-stats.html +4949 -0
  44. package/pv-components/dist/stats/web/pv-spinner-stats.html +4949 -0
  45. package/pv-components/dist/stats/web/pv-sprite-stats.html +4949 -0
  46. package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +4949 -0
  47. package/pv-components/dist/stats/web/pv-switch-stats.html +4949 -0
  48. package/pv-components/dist/stats/web/pv-tab-list-stats.html +4949 -0
  49. package/pv-components/dist/stats/web/pv-tabs-stats.html +4949 -0
  50. package/pv-components/dist/stats/web/pv-tag-stats.html +4949 -0
  51. package/pv-components/dist/stats/web/pv-text-area-stats.html +4949 -0
  52. package/pv-components/dist/stats/web/pv-toast-stats.html +4949 -0
  53. package/pv-components/dist/stats/web/pv-toggle-button-stats.html +4949 -0
  54. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +4949 -0
  55. package/pv-components/dist/stats/web/pv-tooltip-stats.html +4949 -0
  56. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +4949 -0
  57. package/pv-components/dist/stats/web/pv-widget-stats.html +4949 -0
  58. package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +9 -9
  59. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +811 -807
  60. package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +10 -10
@@ -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;
@@ -243,7 +243,7 @@ class PVAutoClose extends HTMLElement {
243
243
  updateIcons(button, isExpanded) {
244
244
  const use = button.querySelector('svg use');
245
245
  const tooltip = document.getElementById('description');
246
- use.setAttributeNS('http://www.w3.org/1999/xlink', 'href', isExpanded ? '#panel-left-close' : '#panel-left-open');
246
+ use.setAttribute('href', isExpanded ? '#panel-left-close' : '#panel-left-open');
247
247
  if (tooltip) tooltip.querySelector('p').textContent = isExpanded ? 'Close Sidebar' : 'Open Sidebar';
248
248
  }
249
249
 
@@ -311,25 +311,23 @@ class PVAutoClose extends HTMLElement {
311
311
  }
312
312
  });
313
313
  this.toggleMenu(clickedMenu);
314
- this.style.overflowX = 'initial';
315
314
  if (!this.layout.hasAttribute('data-expanded')) {
316
315
  this.hoverExpandState();
317
316
  }
318
317
  return;
319
318
  }
319
+ // clicked outside any menu, close all menus
320
+ allMenus.forEach(menu => menu.removeAttribute('data-active'));
321
+
320
322
  // if outside sidebar, remove 'data-floating;
321
323
  if (!inSidebar) {
322
324
  this.layout.removeAttribute('data-floating');
323
- }
324
-
325
- // clicked outside any menu, close all menus
326
- allMenus.forEach(menu => menu.removeAttribute('data-active'));
327
- this.style.overflowX = 'hidden';
328
- if (!this.layout.hasAttribute('data-collapsed') && !this.layout.hasAttribute('data-expanded')) {
329
- this.hoverCollapseState();
325
+ if (!this.layout.hasAttribute('data-collapsed') && !this.layout.hasAttribute('data-expanded')) {
326
+ this.hoverCollapseState();
327
+ }
330
328
  }
331
329
  }
332
330
  }
333
331
 
334
- customElements.define('pv-global-nav', PvGlobalNav, { extends: 'aside' });
332
+ customElements.define('pv-global-nav', PvGlobalNav);
335
333
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turquoisehealth/pit-viper",
3
- "version": "2.114.0",
3
+ "version": "2.114.2",
4
4
  "description": "Turquoise Health's design system.",
5
5
  "main": "README.md",
6
6
  "publishConfig": {