@turquoisehealth/pit-viper 2.221.0 → 2.222.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 (101) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +13 -12
  2. package/_site/assets/css/pit-viper-consumer.css +11 -0
  3. package/_site/assets/css/pit-viper-v2-scoped.css +9 -0
  4. package/_site/assets/css/pit-viper-v2.css +51 -20
  5. package/_site/assets/css/pit-viper.css +11 -0
  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/ai/stats.html +1 -1
  10. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  11. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-accordion-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-file-input-stats.html +4950 -0
  15. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-progress-bar-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  26. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  27. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  28. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  29. package/pv-components/dist/stats/web/pv-tool-stats.html +1 -1
  30. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  31. package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
  32. package/pv-components/dist/vue/ai/components/base/PvAccordion/PvAccordion.vue.d.ts +2 -0
  33. package/pv-components/dist/vue/ai/components/base/PvFileInput/PvFileInput.vue.d.ts +33 -0
  34. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -0
  35. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/types.d.ts +16 -1
  36. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/useHoverPopoverGroup.d.ts +16 -0
  37. package/pv-components/dist/vue/ai/components/base/PvProgressBar/PvProgressBar.vue.d.ts +5 -0
  38. package/pv-components/dist/vue/ai/components/base/PvTree/PvSimpleNestedTree.vue.d.ts +6 -0
  39. package/pv-components/dist/vue/ai/components/base/PvTree/PvSimpleNestedTreeItem.vue.d.ts +0 -1
  40. package/pv-components/dist/vue/ai/components/base/PvTree/PvTreeConnector.vue.d.ts +7 -0
  41. package/pv-components/dist/vue/ai/components/base/PvTree/PvTreeConnectorGroup.vue.d.ts +24 -0
  42. package/pv-components/dist/vue/ai/components/base/PvTree/PvTreeItem.vue.d.ts +7 -1
  43. package/pv-components/dist/vue/ai/components/base/PvTree/composables/useTreeIndentation.d.ts +18 -0
  44. package/pv-components/dist/vue/ai/components/base/PvTree/constants.d.ts +4 -0
  45. package/pv-components/dist/vue/ai/components/base/index.d.ts +1 -0
  46. package/pv-components/dist/vue/ai/pv-components-ai.mjs +13 -12
  47. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  48. package/pv-components/dist/vue/base/components/base/PvAccordion/PvAccordion.vue.d.ts +2 -0
  49. package/pv-components/dist/vue/base/components/base/PvFileInput/PvFileInput.vue.d.ts +33 -0
  50. package/pv-components/dist/vue/base/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -0
  51. package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +16 -1
  52. package/pv-components/dist/vue/base/components/base/PvPopoverV2/useHoverPopoverGroup.d.ts +16 -0
  53. package/pv-components/dist/vue/base/components/base/PvProgressBar/PvProgressBar.vue.d.ts +5 -0
  54. package/pv-components/dist/vue/base/components/base/PvTree/PvSimpleNestedTree.vue.d.ts +6 -0
  55. package/pv-components/dist/vue/base/components/base/PvTree/PvSimpleNestedTreeItem.vue.d.ts +0 -1
  56. package/pv-components/dist/vue/base/components/base/PvTree/PvTreeConnector.vue.d.ts +7 -0
  57. package/pv-components/dist/vue/base/components/base/PvTree/PvTreeConnectorGroup.vue.d.ts +24 -0
  58. package/pv-components/dist/vue/base/components/base/PvTree/PvTreeItem.vue.d.ts +7 -1
  59. package/pv-components/dist/vue/base/components/base/PvTree/composables/useTreeIndentation.d.ts +18 -0
  60. package/pv-components/dist/vue/base/components/base/PvTree/constants.d.ts +4 -0
  61. package/pv-components/dist/vue/base/components/base/index.d.ts +1 -0
  62. package/pv-components/dist/vue/base/pv-components-base.mjs +1836 -1603
  63. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  64. package/pv-components/dist/vue/visualizations/components/base/PvAccordion/PvAccordion.vue.d.ts +2 -0
  65. package/pv-components/dist/vue/visualizations/components/base/PvFileInput/PvFileInput.vue.d.ts +33 -0
  66. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -0
  67. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +16 -1
  68. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/useHoverPopoverGroup.d.ts +16 -0
  69. package/pv-components/dist/vue/visualizations/components/base/PvProgressBar/PvProgressBar.vue.d.ts +5 -0
  70. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvSimpleNestedTree.vue.d.ts +6 -0
  71. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvSimpleNestedTreeItem.vue.d.ts +0 -1
  72. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeConnector.vue.d.ts +7 -0
  73. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeConnectorGroup.vue.d.ts +24 -0
  74. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeItem.vue.d.ts +7 -1
  75. package/pv-components/dist/vue/visualizations/components/base/PvTree/composables/useTreeIndentation.d.ts +18 -0
  76. package/pv-components/dist/vue/visualizations/components/base/PvTree/constants.d.ts +4 -0
  77. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +1 -0
  78. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1116 -1038
  79. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  80. package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +408 -407
  81. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +506 -479
  82. package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +6447 -0
  83. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +1417 -1390
  84. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +1091 -1064
  85. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +737 -710
  86. package/pv-components/dist/web/components/pv-menu/pv-menu.js +1448 -1421
  87. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1693 -1666
  88. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +827 -801
  89. package/pv-components/dist/web/components/pv-progress-bar/pv-progress-bar.js +415 -404
  90. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +712 -685
  91. package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +424 -423
  92. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +938 -911
  93. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1624 -1597
  94. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +689 -621
  95. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +495 -469
  96. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +719 -692
  97. package/pv-components/dist/web/components/pv-tool/pv-tool.js +426 -425
  98. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +829 -802
  99. package/pv-components/dist/web/components/pv-tree/pv-tree.js +1510 -1420
  100. package/pv-components/dist/web/pv-components.iife.js +39 -39
  101. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1336,6 +1336,17 @@ label:has(input:not(:disabled)).pv-label-hover:hover {
1336
1336
  position: absolute;
1337
1337
  }
1338
1338
 
1339
+ .pv-input-file:has([type=file]:disabled) .pv-label {
1340
+ cursor: not-allowed;
1341
+ }
1342
+
1343
+ .pv-input-file:has([type=file]:disabled) [class*=pv-button] {
1344
+ color: var(--button-disabled-color, #4B595C);
1345
+ background-color: var(--button-disabled-background-color, #ECECEC);
1346
+ background-image: none;
1347
+ cursor: not-allowed;
1348
+ }
1349
+
1339
1350
  .pv-switch {
1340
1351
  display: flex;
1341
1352
  align-items: center;
@@ -5246,16 +5257,6 @@ pv-sidebar {
5246
5257
  border-radius: 0.5rem !important;
5247
5258
  }
5248
5259
 
5249
- .sidebar-layout-new .sidebar-toggle {
5250
- opacity: 1;
5251
- pointer-events: auto;
5252
- margin: 0px 0.25rem;
5253
- }
5254
- .sidebar-layout-new.is-collapsed .sidebar-header {
5255
- flex-direction: column;
5256
- align-items: flex-start;
5257
- }
5258
-
5259
5260
  .sidebar-panel {
5260
5261
  grid-area: sidebar;
5261
5262
  background-color: var(--layout-primary-sidebar-background-color);
@@ -5266,7 +5267,7 @@ pv-sidebar {
5266
5267
  grid-template-rows: auto 1fr;
5267
5268
  position: sticky;
5268
5269
  top: 0;
5269
- height: 100%;
5270
+ height: 100vh;
5270
5271
  z-index: 10;
5271
5272
  overflow-x: clip;
5272
5273
  transition: width 0.3s ease-in-out;
@@ -5320,7 +5321,7 @@ pv-sidebar {
5320
5321
  --layout-primary-sidebar-text-color: #121313;
5321
5322
  --layout-primary-sidebar-border-color: #8F939E;
5322
5323
  --layout-primary-sidebar-shadow: -2px 0px 10px -1px rgba(0, 0, 0, 0.04) inset;
5323
- --layout-primary-sidebar-toggle-color: #4B595C;
5324
+ --layout-primary-sidebar-toggle-color: #6E6962;
5324
5325
  --nav-list-hover-background-color: #ECE8E2;
5325
5326
  --nav-list-hover-text-color: #0D5256;
5326
5327
  --nav-list-active-background-color: #ECE8E2;
@@ -1342,6 +1342,17 @@ label:has(input:not(:disabled)).pv-label-hover:hover {
1342
1342
  position: absolute;
1343
1343
  }
1344
1344
 
1345
+ .pv-input-file:has([type=file]:disabled) .pv-label {
1346
+ cursor: not-allowed;
1347
+ }
1348
+
1349
+ .pv-input-file:has([type=file]:disabled) [class*=pv-button] {
1350
+ color: var(--button-disabled-color, #486161);
1351
+ background-color: var(--button-disabled-background-color, #ECECEC);
1352
+ background-image: none;
1353
+ cursor: not-allowed;
1354
+ }
1355
+
1345
1356
  .pv-switch {
1346
1357
  display: flex;
1347
1358
  align-items: center;
@@ -1228,6 +1228,15 @@
1228
1228
  height: 0.1rem;
1229
1229
  position: absolute;
1230
1230
  }
1231
+ .pv-v2 .pv-input-file:has([type=file]:disabled) .pv-label {
1232
+ cursor: not-allowed;
1233
+ }
1234
+ .pv-v2 .pv-input-file:has([type=file]:disabled) [class*=pv-button] {
1235
+ color: var(--button-disabled-color, #4B595C);
1236
+ background-color: var(--button-disabled-background-color, #ECECEC);
1237
+ background-image: none;
1238
+ cursor: not-allowed;
1239
+ }
1231
1240
  .pv-v2 .pv-switch {
1232
1241
  display: flex;
1233
1242
  align-items: center;
@@ -1336,6 +1336,17 @@ label:has(input:not(:disabled)).pv-label-hover:hover {
1336
1336
  position: absolute;
1337
1337
  }
1338
1338
 
1339
+ .pv-input-file:has([type=file]:disabled) .pv-label {
1340
+ cursor: not-allowed;
1341
+ }
1342
+
1343
+ .pv-input-file:has([type=file]:disabled) [class*=pv-button] {
1344
+ color: var(--button-disabled-color, #4B595C);
1345
+ background-color: var(--button-disabled-background-color, #ECECEC);
1346
+ background-image: none;
1347
+ cursor: not-allowed;
1348
+ }
1349
+
1339
1350
  .pv-switch {
1340
1351
  display: flex;
1341
1352
  align-items: center;
@@ -5303,16 +5314,6 @@ pv-sidebar {
5303
5314
  border-radius: 0.5rem !important;
5304
5315
  }
5305
5316
 
5306
- .sidebar-layout-new .sidebar-toggle {
5307
- opacity: 1;
5308
- pointer-events: auto;
5309
- margin: 0px 0.25rem;
5310
- }
5311
- .sidebar-layout-new.is-collapsed .sidebar-header {
5312
- flex-direction: column;
5313
- align-items: flex-start;
5314
- }
5315
-
5316
5317
  .sidebar-panel {
5317
5318
  grid-area: sidebar;
5318
5319
  background-color: var(--layout-primary-sidebar-background-color);
@@ -5323,7 +5324,7 @@ pv-sidebar {
5323
5324
  grid-template-rows: auto 1fr;
5324
5325
  position: sticky;
5325
5326
  top: 0;
5326
- height: 100%;
5327
+ height: 100vh;
5327
5328
  z-index: 10;
5328
5329
  overflow-x: clip;
5329
5330
  transition: width 0.3s ease-in-out;
@@ -5377,7 +5378,7 @@ pv-sidebar {
5377
5378
  --layout-primary-sidebar-text-color: #121313;
5378
5379
  --layout-primary-sidebar-border-color: #E3E7EA;
5379
5380
  --layout-primary-sidebar-shadow: -2px 0px 10px -1px rgba(0, 0, 0, 0.04) inset;
5380
- --layout-primary-sidebar-toggle-color: #4B595C;
5381
+ --layout-primary-sidebar-toggle-color: #6E6962;
5381
5382
  --nav-list-hover-background-color: #ECE8E2;
5382
5383
  --nav-list-hover-text-color: #0D5256;
5383
5384
  --nav-list-active-background-color: #ECE8E2;
@@ -5389,6 +5390,33 @@ pv-sidebar {
5389
5390
  --stroke-accordion-border-left: #D2D8DC;
5390
5391
  }
5391
5392
 
5393
+ .sidebar-layout-new {
5394
+ --nav-list-font-weight: 500;
5395
+ --nav-list-active-font-weight: 600;
5396
+ }
5397
+ .sidebar-layout-new .pv-sidebar-nav-footer .pv-popover-menu:hover .pv-nav-list-item,
5398
+ .sidebar-layout-new .pv-sidebar-nav-footer .pv-popover-menu:focus-within .pv-nav-list-item,
5399
+ .sidebar-layout-new .pv-sidebar-nav-footer .pv-popover-menu[data-active] .pv-nav-list-item {
5400
+ --sidebar-nav-icon-color: var(--sidebar-nav-hover-text);
5401
+ background-color: var(--nav-list-hover-background-color);
5402
+ }
5403
+ .sidebar-layout-new .pv-nav-list [aria-current=page] {
5404
+ font-weight: var(--nav-list-active-font-weight);
5405
+ }
5406
+ .sidebar-layout-new .sidebar-toggle {
5407
+ opacity: 1;
5408
+ pointer-events: auto;
5409
+ margin: 0px 0.25rem;
5410
+ }
5411
+ .sidebar-layout-new.is-collapsed .sidebar-header {
5412
+ flex-direction: column;
5413
+ align-items: flex-start;
5414
+ }
5415
+ .sidebar-layout-new.is-collapsed .pv-sidebar-nav li:has(.pv-floating:popover-open) summary:not([aria-current=page]) {
5416
+ background-color: var(--sidebar-nav-hover-bg);
5417
+ color: var(--sidebar-nav-hover-text);
5418
+ }
5419
+
5392
5420
  .sidebar-layout.is-collapsed:not(.is-floating) .pv-sidebar-nav a:not(.pv-popover a),
5393
5421
  .sidebar-layout.is-collapsed:not(.is-floating) .pv-sidebar-nav summary {
5394
5422
  width: 2.5rem !important;
@@ -5445,6 +5473,9 @@ pv-sidebar {
5445
5473
  .sidebar-layout-secondary .pv-sidebar-nav summary[aria-current=page] [class*=pv-icon] {
5446
5474
  color: var(--sidebar-nav-active-icon-color);
5447
5475
  }
5476
+ .sidebar-layout-secondary .pv-popover .pv-popover-list {
5477
+ background-color: #FDFDFC;
5478
+ }
5448
5479
 
5449
5480
  .pv-sidebar-nav-header {
5450
5481
  --sidebar-nav-text-color: #121313;
@@ -5463,8 +5494,7 @@ pv-sidebar {
5463
5494
  display: flex;
5464
5495
  align-items: center;
5465
5496
  gap: 0.5rem;
5466
- padding: var(--sidebar-nav-header-inset, 2px 4px 2px 0);
5467
- border-radius: 8px;
5497
+ border-radius: 2px;
5468
5498
  color: inherit;
5469
5499
  list-style: none;
5470
5500
  cursor: pointer;
@@ -5473,9 +5503,6 @@ pv-sidebar {
5473
5503
  transition-duration: 0.125s;
5474
5504
  transition-property: background-color;
5475
5505
  }
5476
- .pv-sidebar-nav-header summary:hover {
5477
- background-color: var(--sidebar-nav-hover-bg);
5478
- }
5479
5506
 
5480
5507
  .pv-sidebar-nav {
5481
5508
  --sidebar-nav-text-color: #121313;
@@ -5488,8 +5515,9 @@ pv-sidebar {
5488
5515
  display: flex;
5489
5516
  flex-direction: column;
5490
5517
  height: 100%;
5491
- padding-block-end: 1rem;
5492
5518
  padding-inline: 0.75rem;
5519
+ overflow-y: auto;
5520
+ overflow-x: hidden;
5493
5521
  gap: var(--nav-list-gap, 0.25rem);
5494
5522
  color: var(--sidebar-nav-text-color);
5495
5523
  }
@@ -5526,6 +5554,7 @@ pv-sidebar {
5526
5554
  .pv-sidebar-nav summary[aria-current=page] {
5527
5555
  background-color: var(--sidebar-nav-active-bg);
5528
5556
  color: var(--sidebar-nav-active-text);
5557
+ font-weight: var(--nav-list-active-font-weight, 600);
5529
5558
  }
5530
5559
  .pv-sidebar-nav details {
5531
5560
  position: relative;
@@ -5533,23 +5562,25 @@ pv-sidebar {
5533
5562
  .pv-sidebar-nav .pv-sidebar-nav-nested {
5534
5563
  margin-inline-start: 1.25rem;
5535
5564
  border-inline-start: 1px solid var(--sidebar-nav-nested-border);
5536
- padding-inline-start: 0.5rem;
5565
+ padding-inline-start: 0.25rem;
5537
5566
  }
5538
5567
  .pv-sidebar-nav .pv-sidebar-nav-nested a {
5539
5568
  border-radius: 8px;
5540
5569
  }
5541
5570
  .pv-sidebar-nav .pv-sidebar-nav-footer {
5542
5571
  margin-block-start: auto;
5543
- padding-block-start: 0.5rem;
5572
+ padding-block: 0.5rem;
5544
5573
  display: flex;
5545
5574
  flex-direction: column;
5546
5575
  gap: var(--nav-list-gap, 0.25rem);
5576
+ background-color: var(--layout-primary-sidebar-background-color);
5547
5577
  }
5548
5578
  .pv-sidebar-nav .pv-sidebar-nav-footer details {
5549
5579
  position: relative;
5550
5580
  }
5551
5581
  .pv-sidebar-nav .pv-popover .pv-popover-list a,
5552
5582
  .pv-sidebar-nav .pv-popover .pv-popover-list label {
5583
+ color: #121313;
5553
5584
  font-weight: 400;
5554
5585
  }
5555
5586
  .pv-sidebar-nav .pv-popover .pv-popover-list a:hover, .pv-sidebar-nav .pv-popover .pv-popover-list a:focus-visible,
@@ -1341,6 +1341,17 @@ label:has(input:not(:disabled)).pv-label-hover:hover {
1341
1341
  position: absolute;
1342
1342
  }
1343
1343
 
1344
+ .pv-input-file:has([type=file]:disabled) .pv-label {
1345
+ cursor: not-allowed;
1346
+ }
1347
+
1348
+ .pv-input-file:has([type=file]:disabled) [class*=pv-button] {
1349
+ color: var(--button-disabled-color, #6E7784);
1350
+ background-color: var(--button-disabled-background-color, #DCDFE4);
1351
+ background-image: none;
1352
+ cursor: not-allowed;
1353
+ }
1354
+
1344
1355
  .pv-switch {
1345
1356
  display: flex;
1346
1357
  align-items: center;