@turquoisehealth/pit-viper 2.260.0 → 2.262.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 (52) hide show
  1. package/_site/assets/css/pit-viper-a11y-v3.css +211 -29
  2. package/_site/assets/css/pit-viper-a11y.css +211 -29
  3. package/_site/assets/css/pit-viper-consumer.css +211 -29
  4. package/_site/assets/css/pit-viper-v2-scoped.css +195 -27
  5. package/_site/assets/css/pit-viper-v2.css +211 -29
  6. package/_site/assets/css/pit-viper-v3.css +211 -29
  7. package/_site/assets/css/pit-viper.css +210 -28
  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/ask-tq-buddy-stats.html +4950 -0
  12. package/pv-components/dist/stats/web/pv-ai-button-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-animated-icon-stats.html +4950 -0
  14. package/pv-components/dist/stats/web/pv-header-stats.html +1 -1
  15. package/pv-components/dist/vue/ai/components/base/AskTqBuddy/AskTqBuddy.vue.d.ts +25 -0
  16. package/pv-components/dist/vue/ai/components/base/AskTqBuddy/types.d.ts +23 -0
  17. package/pv-components/dist/vue/ai/components/base/PvAiButton/PvAiButton.vue.d.ts +16 -0
  18. package/pv-components/dist/vue/ai/components/base/PvAnimatedIcon/PvAnimatedIcon.vue.d.ts +6 -0
  19. package/pv-components/dist/vue/ai/components/base/PvAnimatedIcon/types.d.ts +6 -0
  20. package/pv-components/dist/vue/ai/components/base/PvIcon/PvIcon.vue.d.ts +2 -12
  21. package/pv-components/dist/vue/ai/components/base/PvIcon/types.d.ts +7 -0
  22. package/pv-components/dist/vue/ai/components/base/index.d.ts +7 -0
  23. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  24. package/pv-components/dist/vue/base/components/base/AskTqBuddy/AskTqBuddy.vue.d.ts +25 -0
  25. package/pv-components/dist/vue/base/components/base/AskTqBuddy/types.d.ts +23 -0
  26. package/pv-components/dist/vue/base/components/base/PvAiButton/PvAiButton.vue.d.ts +16 -0
  27. package/pv-components/dist/vue/base/components/base/PvAnimatedIcon/PvAnimatedIcon.vue.d.ts +6 -0
  28. package/pv-components/dist/vue/base/components/base/PvAnimatedIcon/types.d.ts +6 -0
  29. package/pv-components/dist/vue/base/components/base/PvIcon/PvIcon.vue.d.ts +2 -12
  30. package/pv-components/dist/vue/base/components/base/PvIcon/types.d.ts +7 -0
  31. package/pv-components/dist/vue/base/components/base/index.d.ts +7 -0
  32. package/pv-components/dist/vue/base/pv-components-base.mjs +2870 -2051
  33. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  34. package/pv-components/dist/vue/visualizations/components/base/AskTqBuddy/AskTqBuddy.vue.d.ts +25 -0
  35. package/pv-components/dist/vue/visualizations/components/base/AskTqBuddy/types.d.ts +23 -0
  36. package/pv-components/dist/vue/visualizations/components/base/PvAiButton/PvAiButton.vue.d.ts +16 -0
  37. package/pv-components/dist/vue/visualizations/components/base/PvAnimatedIcon/PvAnimatedIcon.vue.d.ts +6 -0
  38. package/pv-components/dist/vue/visualizations/components/base/PvAnimatedIcon/types.d.ts +6 -0
  39. package/pv-components/dist/vue/visualizations/components/base/PvIcon/PvIcon.vue.d.ts +2 -12
  40. package/pv-components/dist/vue/visualizations/components/base/PvIcon/types.d.ts +7 -0
  41. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +7 -0
  42. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/PivotTableSkeleton.vue.d.ts +3 -0
  43. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +4 -0
  44. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useGridSizing.d.ts +11 -0
  45. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2284 -2201
  46. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  47. package/pv-components/dist/web/components/ask-tq-buddy/ask-tq-buddy.js +6963 -0
  48. package/pv-components/dist/web/components/pv-ai-button/pv-ai-button.js +1301 -494
  49. package/pv-components/dist/web/components/pv-animated-icon/pv-animated-icon.js +6257 -0
  50. package/pv-components/dist/web/components/pv-header/pv-header.js +1348 -541
  51. package/pv-components/dist/web/pv-components.iife.js +39 -39
  52. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -55,6 +55,12 @@
55
55
  --color-text-brand: #176F6F;
56
56
  --color-text-tertiary: #6E8081;
57
57
  --color-text-quaternary: #89989B;
58
+ --color-text-teal: #36C5BA;
59
+ --color-text-orange: #FF7A4E;
60
+ --color-text-purple: #C97AEB;
61
+ --color-text-gold: #F2AD0D;
62
+ --color-text-periwinkle: #7C8AF4;
63
+ --color-text-green: #95C54C;
58
64
  --color-border: #DCDFE4;
59
65
  --color-border-brand: #02363D;
60
66
  --color-background-body: #FFFFFF;
@@ -63,6 +69,21 @@
63
69
  --color-background-brand: #02363D;
64
70
  --color-background-highlight: #E4F8F6;
65
71
  --color-background-disabled: #F3F4F6;
72
+ --appear-duration: 180ms;
73
+ --appear-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
74
+ --dismiss-duration: 120ms;
75
+ --dismiss-timing-function: ease-in;
76
+ --sheen-color: #FFFFFF;
77
+ --sheen-opacity: 0.8;
78
+ --sheen-angle: 108deg;
79
+ --sheen-width: 33%;
80
+ --sheen-duration: 1.9s;
81
+ }
82
+ @media (prefers-reduced-motion: reduce) {
83
+ :root {
84
+ --appear-duration: 0s;
85
+ --dismiss-duration: 0s;
86
+ }
66
87
  }
67
88
 
68
89
  :where(html) {
@@ -203,6 +224,50 @@
203
224
  background-color: var(--dataviz-4-background, #FCEDF3);
204
225
  }
205
226
 
227
+ .pv-animated-icon {
228
+ display: inline-grid;
229
+ place-items: center;
230
+ width: var(--size, 32px);
231
+ height: var(--size, 32px);
232
+ flex-shrink: 0;
233
+ vertical-align: middle;
234
+ }
235
+ .pv-animated-icon > .pv-icon {
236
+ grid-area: 1/1;
237
+ width: 100%;
238
+ height: 100%;
239
+ }
240
+
241
+ .pv-animated-icon-loading {
242
+ transform-origin: 50% 85%;
243
+ animation: pv-animated-icon-wobble 2.4s ease-in-out infinite;
244
+ }
245
+ .pv-animated-icon-loading > .pv-animated-icon-sheen {
246
+ --sheen-duration: 2.4s;
247
+ }
248
+
249
+ @keyframes pv-animated-icon-wobble {
250
+ 0%, 12%, 76%, 100% {
251
+ transform: translateY(0) rotate(0) scale(1);
252
+ }
253
+ 22% {
254
+ transform: translateY(-2px) rotate(-9deg) scale(0.97, 1.03);
255
+ }
256
+ 34% {
257
+ transform: translateY(-3px) rotate(8deg) scale(1.03, 0.97);
258
+ }
259
+ 46% {
260
+ transform: translateY(-1px) rotate(-5deg) scale(0.99, 1.02);
261
+ }
262
+ 58% {
263
+ transform: translateY(0) rotate(3deg) scale(1.02, 0.98);
264
+ }
265
+ }
266
+ @media (prefers-reduced-motion: reduce) {
267
+ .pv-animated-icon-loading {
268
+ animation: none;
269
+ }
270
+ }
206
271
  [class*=pv-display] {
207
272
  font-family: "Tiempos Headline", serif;
208
273
  font-weight: 600;
@@ -3690,7 +3755,7 @@ ol.pv-tab-list > li[data-active] > a, ol.pv-tab-list > li[data-active] > a:hover
3690
3755
  background-position: 50% 50%;
3691
3756
  }
3692
3757
 
3693
- [class*=pv-modal] {
3758
+ :where(dialog)[class*=pv-modal] {
3694
3759
  --max-height: 100%;
3695
3760
  --max-width: 100%;
3696
3761
  --top: 2rem;
@@ -3703,27 +3768,46 @@ ol.pv-tab-list > li[data-active] > a, ol.pv-tab-list > li[data-active] > a:hover
3703
3768
  max-height: min(100% - 2rem, var(--max-height));
3704
3769
  margin-inline: auto;
3705
3770
  opacity: 0;
3771
+ scale: 0.97;
3706
3772
  overflow-y: auto;
3707
3773
  padding: 0;
3708
3774
  position: relative;
3709
3775
  top: var(--top);
3710
3776
  width: 100%;
3711
- transition-behavior: allow-discrete;
3712
- transition-duration: 0.3s;
3713
- transition-property: opacity;
3714
- transition-timing-function: ease-in-out;
3777
+ transition: opacity var(--dismiss-duration, 120ms) var(--dismiss-timing-function, ease-in), scale var(--dismiss-duration, 120ms) var(--dismiss-timing-function, ease-in), display var(--dismiss-duration, 120ms) allow-discrete, overlay var(--dismiss-duration, 120ms) allow-discrete;
3715
3778
  }
3716
- [class*=pv-modal][open] {
3779
+ :where(dialog)[class*=pv-modal][open] {
3717
3780
  opacity: 1;
3781
+ scale: 1;
3782
+ transition-duration: var(--appear-duration, 180ms);
3783
+ transition-timing-function: var(--appear-timing-function, cubic-bezier(0.2, 0.8, 0.2, 1));
3718
3784
  }
3719
- [class*=pv-modal]::backdrop {
3785
+ :where(dialog)[class*=pv-modal]::backdrop {
3720
3786
  background-color: rgba(0, 0, 0, 0.5);
3787
+ opacity: 0;
3788
+ transition: opacity var(--dismiss-duration, 120ms) var(--dismiss-timing-function, ease-in), display var(--dismiss-duration, 120ms) allow-discrete, overlay var(--dismiss-duration, 120ms) allow-discrete;
3789
+ }
3790
+ :where(dialog)[class*=pv-modal][open]::backdrop {
3791
+ opacity: 1;
3792
+ transition-duration: var(--appear-duration, 180ms);
3793
+ transition-timing-function: var(--appear-timing-function, cubic-bezier(0.2, 0.8, 0.2, 1));
3721
3794
  }
3722
3795
 
3723
3796
  @starting-style {
3724
- [class*=pv-modal][open] {
3797
+ :where(dialog)[class*=pv-modal][open],
3798
+ :where(dialog)[class*=pv-modal][open]::backdrop {
3725
3799
  opacity: 0;
3726
3800
  }
3801
+ :where(dialog)[class*=pv-modal][open] {
3802
+ scale: 0.95;
3803
+ }
3804
+ }
3805
+ @media (prefers-reduced-motion: reduce) {
3806
+ :where(dialog)[class*=pv-modal],
3807
+ :where(dialog)[class*=pv-modal]::backdrop {
3808
+ scale: none;
3809
+ transition: none;
3810
+ }
3727
3811
  }
3728
3812
  .pv-modal-sm {
3729
3813
  --max-width: 480px;
@@ -5873,14 +5957,17 @@ pv-data-grid.ag-theme-pv {
5873
5957
  border-bottom: 1px solid var(--color-border, #DCDFE4);
5874
5958
  }
5875
5959
 
5876
- .ag-header-group-cell.pv-pivot-group {
5960
+ .ag-header-group-cell.pv-pivot-group,
5961
+ .pv-pivot-skeleton .pv-pivot-group {
5962
+ border-left: 1px solid var(--color-border, #DCDFE4);
5877
5963
  border-radius: 6px 6px 0 0;
5878
5964
  overflow: hidden;
5879
5965
  --ag-header-cell-hover-background-color: transparent;
5880
5966
  --ag-header-cell-moving-background-color: transparent;
5881
5967
  }
5882
5968
 
5883
- .ag-header-group-cell.pv-pivot-group::before {
5969
+ .ag-header-group-cell.pv-pivot-group::before,
5970
+ .pv-pivot-skeleton .pv-pivot-group::before {
5884
5971
  content: "";
5885
5972
  position: absolute;
5886
5973
  top: 0;
@@ -5890,12 +5977,49 @@ pv-data-grid.ag-theme-pv {
5890
5977
  background-color: var(--pv-pivot-group-color, transparent);
5891
5978
  }
5892
5979
 
5980
+ .pv-pivot-skeleton {
5981
+ max-height: 100%;
5982
+ overflow: hidden;
5983
+ }
5984
+
5985
+ .pv-pivot-skeleton__row {
5986
+ display: grid;
5987
+ }
5988
+
5989
+ .pv-pivot-skeleton__tabs {
5990
+ margin-inline: 1px;
5991
+ }
5992
+
5993
+ .pv-pivot-skeleton__bar {
5994
+ width: 60%;
5995
+ height: 12px;
5996
+ border-radius: 4px;
5997
+ background-color: var(--p-skeleton-background, #F0F2F2);
5998
+ }
5999
+
5893
6000
  .pv-data-table--pivot .ag-root-wrapper {
5894
- border-top-color: transparent;
5895
- border-left-color: transparent;
6001
+ border-width: 0 1px 1px;
6002
+ border-color: transparent;
5896
6003
  border-top-left-radius: 0;
5897
6004
  }
5898
6005
 
6006
+ .pv-data-table--pivot {
6007
+ position: relative;
6008
+ }
6009
+
6010
+ .pv-data-table--pivot::after {
6011
+ --pv-pivot-hole: calc(var(--pv-pivot-corner-height) + 8px);
6012
+ content: "";
6013
+ position: absolute;
6014
+ inset: 0;
6015
+ z-index: 2;
6016
+ pointer-events: none;
6017
+ border: solid var(--color-border, #DCDFE4);
6018
+ border-width: 0 1px 1px;
6019
+ border-radius: 0 8px 8px;
6020
+ clip-path: polygon(0 100%, 0 var(--pv-pivot-hole), 2px var(--pv-pivot-hole), 2px 0, 100% 0, 100% 100%);
6021
+ }
6022
+
5899
6023
  .pv-data-table--pivot .ag-header-group-cell-no-group,
5900
6024
  .pv-data-table--pivot .ag-header-group-cell-no-group:hover {
5901
6025
  background-color: transparent;
@@ -5910,35 +6034,29 @@ pv-data-grid.ag-theme-pv {
5910
6034
  border-top-left-radius: var(--ag-wrapper-border-radius, 8px);
5911
6035
  }
5912
6036
 
5913
- .pv-data-table--pivot .ag-pinned-left-cols-container .ag-row-last {
5914
- border-bottom-left-radius: var(--ag-wrapper-border-radius, 8px);
5915
- }
5916
-
5917
- .pv-data-table--pivot .ag-pinned-left-cols-container .ag-cell-last-left-pinned {
6037
+ .pv-data-table--pivot .ag-pinned-left-cols-container .ag-cell-last-left-pinned:not(.ag-cell-focus, .ag-cell-range-single-cell) {
5918
6038
  border-right-color: transparent !important;
5919
6039
  }
5920
6040
 
5921
- .pv-data-table--pivot .ag-pinned-left-header .ag-header-cell,
5922
- .pv-data-table--pivot .ag-pinned-left-cols-container .ag-row {
5923
- border-left: var(--ag-wrapper-border);
5924
- }
5925
-
5926
6041
  .ag-header-group-cell.pv-pivot-group--highlight {
5927
6042
  background-color: var(--color-background-accent, #F8F8FA);
5928
6043
  }
5929
6044
 
5930
6045
  .ag-header-cell.pv-pivot-column-header {
5931
6046
  background-color: var(--color-background-accent, #F8F8FA);
6047
+ border-left: 1px solid var(--color-border, #DCDFE4);
5932
6048
  }
5933
6049
 
5934
- .ag-header-cell.pv-pivot-column-header + .ag-header-cell.pv-pivot-column-header {
5935
- border-left: 1px solid var(--color-border, #DCDFE4);
6050
+ .pv-data-table--pivot .ag-center-cols-container .ag-cell {
6051
+ background-image: linear-gradient(var(--color-border, #DCDFE4), var(--color-border, #DCDFE4));
6052
+ background-position: left;
6053
+ background-size: 1px 100%;
6054
+ background-repeat: no-repeat;
6055
+ background-origin: border-box;
5936
6056
  }
5937
6057
 
5938
- .ag-header-group-cell.pv-pivot-group,
5939
- .ag-header-cell.pv-pivot-group-start,
5940
- .ag-cell.pv-pivot-group-start {
5941
- border-left: 1px solid var(--color-border, #DCDFE4);
6058
+ .pv-data-table--pivot .ag-row-last {
6059
+ border-bottom-width: 0;
5942
6060
  }
5943
6061
 
5944
6062
  .pv-table-overlay {
@@ -6348,6 +6466,13 @@ pv-data-grid.ag-theme-pv {
6348
6466
  border-color: var(--toggle-selected-pressed-border-color, transparent);
6349
6467
  }
6350
6468
 
6469
+ [class*=pv-toggle]:has(:checked:disabled) {
6470
+ background-color: var(--toggle-disabled-background-color, #DCDFE4);
6471
+ border-color: var(--toggle-disabled-border-color, transparent);
6472
+ box-shadow: var(--toggle-selected-disabled-outline, inset 0 0 0 1px #C2BBB2);
6473
+ color: var(--toggle-disabled-color, #6E7784);
6474
+ }
6475
+
6351
6476
  .pv-toggle-round {
6352
6477
  border-radius: var(--toggle-round-radius, 2rem);
6353
6478
  }
@@ -7051,6 +7176,30 @@ body:has(> .pv-layout-primary) {
7051
7176
  color: var(--color-text-success, #0E6027);
7052
7177
  }
7053
7178
 
7179
+ .pv-text-teal {
7180
+ color: var(--color-text-teal, #36C5BA);
7181
+ }
7182
+
7183
+ .pv-text-orange {
7184
+ color: var(--color-text-orange, #FF7A4E);
7185
+ }
7186
+
7187
+ .pv-text-purple {
7188
+ color: var(--color-text-purple, #C97AEB);
7189
+ }
7190
+
7191
+ .pv-text-gold {
7192
+ color: var(--color-text-gold, #F2AD0D);
7193
+ }
7194
+
7195
+ .pv-text-periwinkle {
7196
+ color: var(--color-text-periwinkle, #7C8AF4);
7197
+ }
7198
+
7199
+ .pv-text-green {
7200
+ color: var(--color-text-green, #95C54C);
7201
+ }
7202
+
7054
7203
  .pv-surface-lighten-5 {
7055
7204
  background-color: var(--color-text-secondary-lighten-5, #E0E5E4);
7056
7205
  }
@@ -7762,6 +7911,39 @@ svg.pv-text-inherit {
7762
7911
  animation: pv-shimmer 1.5s infinite linear;
7763
7912
  }
7764
7913
 
7914
+ @keyframes pv-sheen {
7915
+ from {
7916
+ -webkit-mask-position: 100% 0;
7917
+ mask-position: 100% 0;
7918
+ }
7919
+ to {
7920
+ -webkit-mask-position: 0 0;
7921
+ mask-position: 0 0;
7922
+ }
7923
+ }
7924
+ .pv-sheen {
7925
+ --sheen-band: linear-gradient(
7926
+ var(--sheen-angle, 108deg),
7927
+ transparent calc(50% - var(--sheen-width, 33%) / 6),
7928
+ rgba(0, 0, 0, var(--sheen-opacity, 0.8)) 50%,
7929
+ transparent calc(50% + var(--sheen-width, 33%) / 6)
7930
+ );
7931
+ color: var(--sheen-color, #FFFFFF);
7932
+ -webkit-mask-image: var(--sheen-band);
7933
+ mask-image: var(--sheen-band);
7934
+ -webkit-mask-size: 300% 100%;
7935
+ mask-size: 300% 100%;
7936
+ -webkit-mask-repeat: no-repeat;
7937
+ mask-repeat: no-repeat;
7938
+ animation: pv-sheen var(--sheen-duration, 1.9s) linear infinite;
7939
+ }
7940
+
7941
+ @media (prefers-reduced-motion: reduce) {
7942
+ .pv-sheen {
7943
+ visibility: hidden;
7944
+ animation: none;
7945
+ }
7946
+ }
7765
7947
  .pv-visually-hidden {
7766
7948
  width: 0;
7767
7949
  height: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turquoisehealth/pit-viper",
3
- "version": "2.260.0",
3
+ "version": "2.262.0",
4
4
  "description": "Turquoise Health's design system.",
5
5
  "main": "README.md",
6
6
  "publishConfig": {