@turquoisehealth/pit-viper 2.261.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 (48) hide show
  1. package/_site/assets/css/pit-viper-a11y-v3.css +157 -9
  2. package/_site/assets/css/pit-viper-a11y.css +157 -9
  3. package/_site/assets/css/pit-viper-consumer.css +157 -9
  4. package/_site/assets/css/pit-viper-v2-scoped.css +147 -9
  5. package/_site/assets/css/pit-viper-v2.css +157 -9
  6. package/_site/assets/css/pit-viper-v3.css +157 -9
  7. package/_site/assets/css/pit-viper.css +156 -8
  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/pv-components-visualizations.mjs.map +1 -1
  43. package/pv-components/dist/web/components/ask-tq-buddy/ask-tq-buddy.js +6963 -0
  44. package/pv-components/dist/web/components/pv-ai-button/pv-ai-button.js +1301 -494
  45. package/pv-components/dist/web/components/pv-animated-icon/pv-animated-icon.js +6257 -0
  46. package/pv-components/dist/web/components/pv-header/pv-header.js +1348 -541
  47. package/pv-components/dist/web/pv-components.iife.js +39 -39
  48. 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;
@@ -6382,6 +6466,13 @@ pv-data-grid.ag-theme-pv {
6382
6466
  border-color: var(--toggle-selected-pressed-border-color, transparent);
6383
6467
  }
6384
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
+
6385
6476
  .pv-toggle-round {
6386
6477
  border-radius: var(--toggle-round-radius, 2rem);
6387
6478
  }
@@ -7085,6 +7176,30 @@ body:has(> .pv-layout-primary) {
7085
7176
  color: var(--color-text-success, #0E6027);
7086
7177
  }
7087
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
+
7088
7203
  .pv-surface-lighten-5 {
7089
7204
  background-color: var(--color-text-secondary-lighten-5, #E0E5E4);
7090
7205
  }
@@ -7796,6 +7911,39 @@ svg.pv-text-inherit {
7796
7911
  animation: pv-shimmer 1.5s infinite linear;
7797
7912
  }
7798
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
+ }
7799
7947
  .pv-visually-hidden {
7800
7948
  width: 0;
7801
7949
  height: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turquoisehealth/pit-viper",
3
- "version": "2.261.0",
3
+ "version": "2.262.0",
4
4
  "description": "Turquoise Health's design system.",
5
5
  "main": "README.md",
6
6
  "publishConfig": {