@turquoisehealth/pit-viper 2.94.2-dev.1 → 2.94.2-dev.3

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 (117) hide show
  1. package/_site/assets/css/pit-viper-v2-scoped.css +33 -19
  2. package/_site/assets/css/pit-viper-v2.css +37 -21
  3. package/_site/assets/css/pit-viper.css +37 -21
  4. package/package.json +11 -38
  5. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -3
  6. package/pv-components/dist/vue/base/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +48 -0
  7. package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +15 -0
  8. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +1 -1
  9. package/pv-components/dist/vue/base/components/base/PvToggleGroup/PvToggleGroup.vue.d.ts +12 -0
  10. package/pv-components/dist/vue/base/components/base/PvToggleGroup/types.d.ts +12 -0
  11. package/pv-components/dist/vue/base/components/base/PvTooltipV2/PvTooltipV2.vue.d.ts +28 -0
  12. package/pv-components/dist/vue/base/components/base/PvTooltipV2/types.d.ts +10 -0
  13. package/pv-components/dist/vue/base/components/base/baseProps.d.ts +1 -0
  14. package/pv-components/dist/vue/base/components/base/index.d.ts +3 -0
  15. package/pv-components/dist/vue/base/pv-components-base.js +1546 -0
  16. package/pv-components/dist/vue/base/pv-components-base.mjs +6099 -2851
  17. package/pv-components/dist/vue/base/pv-components-base.umd.js +1546 -0
  18. package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +176 -0
  19. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +5821 -3307
  20. package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +176 -0
  21. package/pv-components/dist/web/pv-components.iife.js +35 -35
  22. package/pv-components/dist/stats/vue/base/stats.html +0 -4949
  23. package/pv-components/dist/stats/vue/visualizations/stats.html +0 -4949
  24. package/pv-components/dist/stats/web/pv-accordion-stats.html +0 -4949
  25. package/pv-components/dist/stats/web/pv-action-bar-stats.html +0 -4949
  26. package/pv-components/dist/stats/web/pv-avatar-group-stats.html +0 -4949
  27. package/pv-components/dist/stats/web/pv-avatar-stats.html +0 -4949
  28. package/pv-components/dist/stats/web/pv-banner-stats.html +0 -4949
  29. package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +0 -4949
  30. package/pv-components/dist/stats/web/pv-button-stats.html +0 -4949
  31. package/pv-components/dist/stats/web/pv-card-stats.html +0 -4949
  32. package/pv-components/dist/stats/web/pv-checkbox-stats.html +0 -4949
  33. package/pv-components/dist/stats/web/pv-company-label-stats.html +0 -4949
  34. package/pv-components/dist/stats/web/pv-company-logo-stats.html +0 -4949
  35. package/pv-components/dist/stats/web/pv-company-tag-stats.html +0 -4949
  36. package/pv-components/dist/stats/web/pv-counter-badge-stats.html +0 -4949
  37. package/pv-components/dist/stats/web/pv-date-picker-stats.html +0 -4949
  38. package/pv-components/dist/stats/web/pv-date-time-stats.html +0 -4949
  39. package/pv-components/dist/stats/web/pv-drawer-stats.html +0 -4949
  40. package/pv-components/dist/stats/web/pv-dropdown-stats.html +0 -4949
  41. package/pv-components/dist/stats/web/pv-expandable-content-stats.html +0 -4949
  42. package/pv-components/dist/stats/web/pv-ghost-input-stats.html +0 -4949
  43. package/pv-components/dist/stats/web/pv-icon-stats.html +0 -4949
  44. package/pv-components/dist/stats/web/pv-input-stats.html +0 -4949
  45. package/pv-components/dist/stats/web/pv-insight-card-stats.html +0 -4949
  46. package/pv-components/dist/stats/web/pv-modal-stats.html +0 -4949
  47. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +0 -4949
  48. package/pv-components/dist/stats/web/pv-pagination-stats.html +0 -4949
  49. package/pv-components/dist/stats/web/pv-pill-stats.html +0 -4949
  50. package/pv-components/dist/stats/web/pv-popover-stats.html +0 -4949
  51. package/pv-components/dist/stats/web/pv-rating-stats.html +0 -4949
  52. package/pv-components/dist/stats/web/pv-release-badge-stats.html +0 -4949
  53. package/pv-components/dist/stats/web/pv-search-input-stats.html +0 -4949
  54. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +0 -4949
  55. package/pv-components/dist/stats/web/pv-select-button-stats.html +0 -4949
  56. package/pv-components/dist/stats/web/pv-selectable-card-stats.html +0 -4949
  57. package/pv-components/dist/stats/web/pv-side-panel-stats.html +0 -4949
  58. package/pv-components/dist/stats/web/pv-skeleton-stats.html +0 -4949
  59. package/pv-components/dist/stats/web/pv-spinner-stats.html +0 -4949
  60. package/pv-components/dist/stats/web/pv-sprite-stats.html +0 -4949
  61. package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +0 -4949
  62. package/pv-components/dist/stats/web/pv-switch-stats.html +0 -4949
  63. package/pv-components/dist/stats/web/pv-tab-list-stats.html +0 -4949
  64. package/pv-components/dist/stats/web/pv-tabs-stats.html +0 -4949
  65. package/pv-components/dist/stats/web/pv-tag-stats.html +0 -4949
  66. package/pv-components/dist/stats/web/pv-text-area-stats.html +0 -4949
  67. package/pv-components/dist/stats/web/pv-toast-stats.html +0 -4949
  68. package/pv-components/dist/stats/web/pv-toggle-button-stats.html +0 -4949
  69. package/pv-components/dist/stats/web/pv-tooltip-stats.html +0 -4949
  70. package/pv-components/dist/stats/web/pv-widget-stats.html +0 -4949
  71. package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +0 -20
  72. package/pv-components/dist/web/components/pv-action-bar/pv-action-bar.js +0 -20
  73. package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +0 -20
  74. package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +0 -20
  75. package/pv-components/dist/web/components/pv-banner/pv-banner.js +0 -20
  76. package/pv-components/dist/web/components/pv-breadcrumbs/pv-breadcrumbs.js +0 -20
  77. package/pv-components/dist/web/components/pv-button/pv-button.js +0 -20
  78. package/pv-components/dist/web/components/pv-card/pv-card.js +0 -20
  79. package/pv-components/dist/web/components/pv-checkbox/pv-checkbox.js +0 -20
  80. package/pv-components/dist/web/components/pv-company-label/pv-company-label.js +0 -20
  81. package/pv-components/dist/web/components/pv-company-logo/pv-company-logo.js +0 -20
  82. package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +0 -20
  83. package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +0 -20
  84. package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +0 -1509
  85. package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +0 -20
  86. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +0 -20
  87. package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +0 -25
  88. package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +0 -20
  89. package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +0 -20
  90. package/pv-components/dist/web/components/pv-icon/pv-icon.js +0 -20
  91. package/pv-components/dist/web/components/pv-input/pv-input.js +0 -20
  92. package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +0 -20
  93. package/pv-components/dist/web/components/pv-modal/pv-modal.js +0 -20
  94. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +0 -25
  95. package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +0 -20
  96. package/pv-components/dist/web/components/pv-pill/pv-pill.js +0 -20
  97. package/pv-components/dist/web/components/pv-popover/pv-popover.js +0 -25
  98. package/pv-components/dist/web/components/pv-rating/pv-rating.js +0 -20
  99. package/pv-components/dist/web/components/pv-release-badge/pv-release-badge.js +0 -20
  100. package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +0 -20
  101. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +0 -20
  102. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +0 -25
  103. package/pv-components/dist/web/components/pv-selectable-card/pv-selectable-card.js +0 -20
  104. package/pv-components/dist/web/components/pv-side-panel/pv-side-panel.js +0 -20
  105. package/pv-components/dist/web/components/pv-skeleton/pv-skeleton.js +0 -214
  106. package/pv-components/dist/web/components/pv-spinner/pv-spinner.js +0 -20
  107. package/pv-components/dist/web/components/pv-sprite/pv-sprite.js +0 -20
  108. package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +0 -20
  109. package/pv-components/dist/web/components/pv-switch/pv-switch.js +0 -20
  110. package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +0 -20
  111. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +0 -20
  112. package/pv-components/dist/web/components/pv-tag/pv-tag.js +0 -20
  113. package/pv-components/dist/web/components/pv-text-area/pv-text-area.js +0 -20
  114. package/pv-components/dist/web/components/pv-toast/pv-toast.js +0 -20
  115. package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +0 -20
  116. package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +0 -20
  117. package/pv-components/dist/web/components/pv-widget/pv-widget.js +0 -20
@@ -3073,6 +3073,39 @@
3073
3073
  color: #121313;
3074
3074
  padding: 1rem;
3075
3075
  }
3076
+ .pv-v2 .pv-tooltip-v2-content {
3077
+ --max-width: 320px;
3078
+ max-width: var(--max-width);
3079
+ width: max-content;
3080
+ padding: 0.5rem;
3081
+ border: 1px solid transparent;
3082
+ border-radius: 4px;
3083
+ font-size: 0.6875rem;
3084
+ line-height: 1.45454545;
3085
+ box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
3086
+ background-color: #242626;
3087
+ color: #FFFFFF;
3088
+ }
3089
+ .pv-v2 .pv-tooltip-v2-content-small {
3090
+ padding: 0.25rem 0.5rem;
3091
+ font-size: 12px;
3092
+ }
3093
+ .pv-v2 .pv-tooltip[data-style=white] .pv-tooltip-v2-content {
3094
+ background-color: white;
3095
+ color: #121313;
3096
+ border-color: #E3E7EA;
3097
+ }
3098
+ .pv-v2 .pv-tooltip[data-style=white] .pv-tooltip-v2-content a {
3099
+ color: #16696D;
3100
+ }
3101
+ .pv-v2 .pv-tooltip[data-style=dark] .pv-tooltip-v2-content {
3102
+ background-color: #242626;
3103
+ color: #FFFFFF;
3104
+ border-color: transparent;
3105
+ }
3106
+ .pv-v2 .pv-tooltip[data-style=dark] .pv-tooltip-v2-content a {
3107
+ color: #E4F8F6;
3108
+ }
3076
3109
  .pv-v2 [class*=pv-accordion] summary,
3077
3110
  .pv-v2 .pv-details summary {
3078
3111
  list-style: none;
@@ -3271,29 +3304,10 @@
3271
3304
  line-height: 1.33333333;
3272
3305
  font-weight: 500;
3273
3306
  }
3274
- .pv-v2 .pv-action-bar-container > ::slotted(*) {
3275
- display: flex;
3276
- align-items: center;
3277
- white-space: nowrap;
3278
- justify-content: unset;
3279
- gap: 0.5rem;
3280
- background-color: #242626;
3281
- color: #FFFFFF;
3282
- padding: 0.5rem 0.75rem;
3283
- box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
3284
- border-radius: 8px;
3285
- font-size: 0.75rem;
3286
- line-height: 1.33333333;
3287
- font-weight: 500;
3288
- }
3289
3307
  .pv-v2 .pv-action-bar-container[data-style=white] > div {
3290
3308
  background-color: #FFFFFF;
3291
3309
  color: #121313;
3292
3310
  }
3293
- .pv-v2 .pv-action-bar-container[data-style=white] > ::slotted(*) {
3294
- background-color: #FFFFFF;
3295
- color: #121313;
3296
- }
3297
3311
  .pv-v2 .pv-card {
3298
3312
  position: relative;
3299
3313
  border: 1px solid var(--card-border-color, #E3E7EA);
@@ -3333,6 +3333,43 @@ pv-dropdown-auto-close.pv-dropdown > [class*=pv-button][data-dropdown] {
3333
3333
  padding: 1rem;
3334
3334
  }
3335
3335
 
3336
+ .pv-tooltip-v2-content {
3337
+ --max-width: 320px;
3338
+ max-width: var(--max-width);
3339
+ width: max-content;
3340
+ padding: 0.5rem;
3341
+ border: 1px solid transparent;
3342
+ border-radius: 4px;
3343
+ font-size: 0.6875rem;
3344
+ line-height: 1.45454545;
3345
+ box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
3346
+ background-color: #242626;
3347
+ color: #FFFFFF;
3348
+ }
3349
+
3350
+ .pv-tooltip-v2-content-small {
3351
+ padding: 0.25rem 0.5rem;
3352
+ font-size: 12px;
3353
+ }
3354
+
3355
+ .pv-tooltip[data-style=white] .pv-tooltip-v2-content {
3356
+ background-color: white;
3357
+ color: #121313;
3358
+ border-color: #E3E7EA;
3359
+ }
3360
+ .pv-tooltip[data-style=white] .pv-tooltip-v2-content a {
3361
+ color: #16696D;
3362
+ }
3363
+
3364
+ .pv-tooltip[data-style=dark] .pv-tooltip-v2-content {
3365
+ background-color: #242626;
3366
+ color: #FFFFFF;
3367
+ border-color: transparent;
3368
+ }
3369
+ .pv-tooltip[data-style=dark] .pv-tooltip-v2-content a {
3370
+ color: #E4F8F6;
3371
+ }
3372
+
3336
3373
  [class*=pv-accordion] summary,
3337
3374
  .pv-details summary {
3338
3375
  list-style: none;
@@ -3541,32 +3578,11 @@ pv-dropdown-auto-close.pv-dropdown > [class*=pv-button][data-dropdown] {
3541
3578
  font-weight: 500;
3542
3579
  }
3543
3580
 
3544
- .pv-action-bar-container > ::slotted(*) {
3545
- display: flex;
3546
- align-items: center;
3547
- white-space: nowrap;
3548
- justify-content: unset;
3549
- gap: 0.5rem;
3550
- background-color: #242626;
3551
- color: #FFFFFF;
3552
- padding: 0.5rem 0.75rem;
3553
- box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
3554
- border-radius: 8px;
3555
- font-size: 0.75rem;
3556
- line-height: 1.33333333;
3557
- font-weight: 500;
3558
- }
3559
-
3560
3581
  .pv-action-bar-container[data-style=white] > div {
3561
3582
  background-color: #FFFFFF;
3562
3583
  color: #121313;
3563
3584
  }
3564
3585
 
3565
- .pv-action-bar-container[data-style=white] > ::slotted(*) {
3566
- background-color: #FFFFFF;
3567
- color: #121313;
3568
- }
3569
-
3570
3586
  .pv-card {
3571
3587
  position: relative;
3572
3588
  border: 1px solid var(--card-border-color, #E3E7EA);
@@ -3338,6 +3338,43 @@ pv-dropdown-auto-close.pv-dropdown > [class*=pv-button][data-dropdown] {
3338
3338
  padding: 1rem;
3339
3339
  }
3340
3340
 
3341
+ .pv-tooltip-v2-content {
3342
+ --max-width: 320px;
3343
+ max-width: var(--max-width);
3344
+ width: max-content;
3345
+ padding: 0.5rem 0.75rem;
3346
+ border: 1px solid transparent;
3347
+ border-radius: 0.25rem;
3348
+ font-size: 0.875rem;
3349
+ line-height: 1.42857143;
3350
+ box-shadow: 0px 12px 16px 0px rgba(0, 0, 0, 0.1), 0px 8px 12px -4px rgba(0, 0, 0, 0.08), 0px 0px 1px 0px rgba(0, 0, 0, 0.3);
3351
+ background-color: #011214;
3352
+ color: #FFFFFF;
3353
+ }
3354
+
3355
+ .pv-tooltip-v2-content-small {
3356
+ padding: 0.5rem 0.25rem;
3357
+ font-size: 12px;
3358
+ }
3359
+
3360
+ .pv-tooltip[data-style=white] .pv-tooltip-v2-content {
3361
+ background-color: white;
3362
+ color: #02363D;
3363
+ border-color: #DCDFE4;
3364
+ }
3365
+ .pv-tooltip[data-style=white] .pv-tooltip-v2-content a {
3366
+ color: #176F6F;
3367
+ }
3368
+
3369
+ .pv-tooltip[data-style=dark] .pv-tooltip-v2-content {
3370
+ background-color: #011214;
3371
+ color: #FFFFFF;
3372
+ border-color: transparent;
3373
+ }
3374
+ .pv-tooltip[data-style=dark] .pv-tooltip-v2-content a {
3375
+ color: #A8E6E1;
3376
+ }
3377
+
3341
3378
  [class*=pv-accordion] summary,
3342
3379
  .pv-details summary {
3343
3380
  list-style: none;
@@ -3546,32 +3583,11 @@ pv-dropdown-auto-close.pv-dropdown > [class*=pv-button][data-dropdown] {
3546
3583
  font-weight: 500;
3547
3584
  }
3548
3585
 
3549
- .pv-action-bar-container > ::slotted(*) {
3550
- display: flex;
3551
- align-items: center;
3552
- white-space: nowrap;
3553
- justify-content: space-between;
3554
- gap: 0.5rem;
3555
- background-color: #02363D;
3556
- color: #FFFFFF;
3557
- padding: 0;
3558
- box-shadow: 0 8px 32px rgba(2, 54, 61, 0.24);
3559
- border-radius: 4px;
3560
- font-size: 1.125rem;
3561
- line-height: 1.55555555;
3562
- font-weight: 500;
3563
- }
3564
-
3565
3586
  .pv-action-bar-container[data-style=white] > div {
3566
3587
  background-color: #02363D;
3567
3588
  color: #02363D;
3568
3589
  }
3569
3590
 
3570
- .pv-action-bar-container[data-style=white] > ::slotted(*) {
3571
- background-color: #02363D;
3572
- color: #02363D;
3573
- }
3574
-
3575
3591
  .pv-card {
3576
3592
  position: relative;
3577
3593
  border: 1px solid var(--card-border-color, #DCDFE4);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turquoisehealth/pit-viper",
3
- "version": "2.94.2-dev.1",
3
+ "version": "2.94.2-dev.3",
4
4
  "description": "Turquoise Health's design system.",
5
5
  "main": "README.md",
6
6
  "publishConfig": {
@@ -31,6 +31,10 @@
31
31
  "types": "./pv-components/dist/vue/visualizations/components/visualizations/index.d.ts",
32
32
  "import": "./pv-components/dist/vue/visualizations/pv-components-visualizations.mjs",
33
33
  "require": "./pv-components/dist/vue/visualizations/pv-components-visualizations.js"
34
+ },
35
+ "./web_components": {
36
+ "types": "./pv-components/dist/src/web-components.d.ts",
37
+ "default": "./pv-components/dist/web/pv-components.iife.js"
34
38
  }
35
39
  },
36
40
  "scripts": {
@@ -43,6 +47,7 @@
43
47
  "prepublishOnly": "npm install && npm run test && npm run build",
44
48
  "start": "npm-run-all build:sass --parallel watch:*",
45
49
  "build": "npm-run-all build:*",
50
+ "postbuild": "eleventy --quiet",
46
51
  "prepare": "husky",
47
52
  "test": "npm run test --workspace=pv-components",
48
53
  "create_pr": "tsx ./scripts/createPR.ts",
@@ -63,37 +68,13 @@
63
68
  },
64
69
  "homepage": "https://github.com/turquoisehealth/pit-viper/",
65
70
  "peerDependencies": {
66
- "@floating-ui/vue": "^1.1.9",
67
- "@primeuix/themes": "^1.1.1",
68
- "@vueuse/components": "^13.0.0",
69
- "@vueuse/core": "^13.0.0",
70
- "@vueuse/integrations": "^13.1.0",
71
71
  "ag-charts-enterprise": "^12.1.0",
72
72
  "ag-charts-vue3": "^12.1.0",
73
73
  "ag-grid-community": "^33.2.1",
74
74
  "ag-grid-enterprise": "^33.2.1",
75
- "ag-grid-vue3": "^33.2.1",
76
- "papaparse": "^5.5.2",
77
- "primevue": "^4.3.5",
78
- "sortablejs": "^1.15.6",
79
- "vue": "^3.5.13"
75
+ "ag-grid-vue3": "^33.2.1"
80
76
  },
81
77
  "peerDependenciesMeta": {
82
- "@floating-ui/vue": {
83
- "optional": false
84
- },
85
- "@primeuix/themes": {
86
- "optional": false
87
- },
88
- "@vueuse/components": {
89
- "optional": false
90
- },
91
- "@vueuse/core": {
92
- "optional": false
93
- },
94
- "@vueuse/integrations": {
95
- "optional": false
96
- },
97
78
  "ag-charts-enterprise": {
98
79
  "optional": true
99
80
  },
@@ -108,18 +89,6 @@
108
89
  },
109
90
  "ag-grid-vue3": {
110
91
  "optional": true
111
- },
112
- "papaparse": {
113
- "optional": false
114
- },
115
- "primevue": {
116
- "optional": false
117
- },
118
- "sortablejs": {
119
- "optional": false
120
- },
121
- "vue": {
122
- "optional": false
123
92
  }
124
93
  },
125
94
  "dependencies": {
@@ -138,6 +107,10 @@
138
107
  },
139
108
  "devDependencies": {
140
109
  "@changesets/cli": "^2.29.4",
110
+ "@vue/eslint-config-prettier": "^10.1.0",
111
+ "@vue/eslint-config-typescript": "^14.3.0",
112
+ "chokidar-cli": "^3.0.0",
113
+ "eslint-plugin-vue": "^9.32.0",
141
114
  "pagefind": "^1.3.0",
142
115
  "tsx": "^4.0.0"
143
116
  }
@@ -31,7 +31,7 @@ export interface PvMultiSelectButtonProps {
31
31
  searchPlaceholder?: string;
32
32
  overlayTrigger?: boolean;
33
33
  optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
34
- options?: MenuOption[];
34
+ options: MenuOption[];
35
35
  useTeleport?: boolean;
36
36
  }
37
37
  declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
@@ -58,6 +58,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
58
58
  showClear: boolean;
59
59
  useTeleport: boolean;
60
60
  teleportLocation: string;
61
+ options: MenuOption[];
61
62
  counterPosition: "left" | "right" | "none";
62
63
  showDropdown: boolean;
63
64
  optionsVariant: Exclude<MenuOptionsVariant, "radio">;
@@ -292,7 +293,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
292
293
  searchPlaceholder?: string;
293
294
  overlayTrigger?: boolean;
294
295
  optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
295
- options?: MenuOption[];
296
+ options: MenuOption[];
296
297
  useTeleport?: boolean;
297
298
  "onDropdown-open"?: (() => any) | undefined;
298
299
  "onDropdown-closed"?: (() => any) | undefined;
@@ -335,7 +336,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
335
336
  searchPlaceholder?: string;
336
337
  overlayTrigger?: boolean;
337
338
  optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
338
- options?: MenuOption[];
339
+ options: MenuOption[];
339
340
  useTeleport?: boolean;
340
341
  "onDropdown-open"?: (() => any) | undefined;
341
342
  "onDropdown-closed"?: (() => any) | undefined;
@@ -0,0 +1,48 @@
1
+ import { PvPopoverV2Props } from './types.ts';
2
+ import { PvAlignmentPositions } from '../baseProps.ts';
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
+ import { Strategy } from '@floating-ui/utils';
5
+ type __VLS_Props = PvPopoverV2Props;
6
+ type __VLS_PublicProps = {
7
+ modelValue?: boolean;
8
+ } & __VLS_Props;
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ trigger?(_: {}): any;
13
+ content?(_: {}): any;
14
+ };
15
+ refs: {
16
+ triggerWrapper: HTMLDivElement;
17
+ floating: HTMLDivElement;
18
+ };
19
+ rootEl: HTMLDivElement;
20
+ };
21
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
+ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
23
+ "update:modelValue": (value: boolean) => any;
24
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
25
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
26
+ }>, {
27
+ delay: number;
28
+ useTeleport: boolean;
29
+ position: PvAlignmentPositions;
30
+ disableAutoPlacement: boolean;
31
+ allowedAutoPlacements: PvAlignmentPositions[];
32
+ positioningStrategy: Strategy;
33
+ showOnHover: boolean;
34
+ disableInteractive: boolean;
35
+ disableClickOutsideToClose: boolean;
36
+ zIndex: number;
37
+ interactionBuffer: number;
38
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
39
+ triggerWrapper: HTMLDivElement;
40
+ floating: HTMLDivElement;
41
+ }, HTMLDivElement>;
42
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
43
+ export default _default;
44
+ type __VLS_WithTemplateSlots<T, S> = T & {
45
+ new (): {
46
+ $slots: S;
47
+ };
48
+ };
@@ -0,0 +1,15 @@
1
+ import { Strategy } from '@floating-ui/vue';
2
+ import { PvAlignmentPositions } from '../baseProps.ts';
3
+ export interface PvPopoverV2Props {
4
+ disableAutoPlacement?: boolean;
5
+ allowedAutoPlacements?: PvAlignmentPositions[];
6
+ position?: PvAlignmentPositions;
7
+ positioningStrategy?: Strategy;
8
+ showOnHover?: boolean;
9
+ disableInteractive?: boolean;
10
+ useTeleport?: boolean;
11
+ disableClickOutsideToClose?: boolean;
12
+ delay?: number;
13
+ zIndex?: number;
14
+ interactionBuffer?: number;
15
+ }
@@ -22,7 +22,7 @@ export interface PvSelectButton {
22
22
  showSearchInput?: boolean;
23
23
  searchPlaceholder?: string;
24
24
  optionsVariant?: Exclude<MenuOptionsVariant, "checkbox">;
25
- options?: MenuOption[];
25
+ options: MenuOption[];
26
26
  useTeleport?: boolean;
27
27
  allowDeselect?: boolean;
28
28
  counterPosition?: "left" | "right";
@@ -0,0 +1,12 @@
1
+ import { PvToggleGroupOption, PvToggleGroupProps } from './types.ts';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type __VLS_Props = PvToggleGroupProps;
4
+ type __VLS_PublicProps = {
5
+ modelValue?: PvToggleGroupOption | null;
6
+ } & __VLS_Props;
7
+ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
+ "update:modelValue": (value: PvToggleGroupOption | null) => any;
9
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
10
+ "onUpdate:modelValue"?: ((value: PvToggleGroupOption | null) => any) | undefined;
11
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
12
+ export default _default;
@@ -0,0 +1,12 @@
1
+ export interface PvToggleGroupOption {
2
+ label: string;
3
+ value: string;
4
+ icon?: string;
5
+ disabled?: boolean;
6
+ }
7
+ export interface PvToggleGroupProps {
8
+ disabled?: boolean;
9
+ allowDeselect?: boolean;
10
+ hideLabels?: boolean;
11
+ options?: PvToggleGroupOption[];
12
+ }
@@ -0,0 +1,28 @@
1
+ import { PvTooltipV2Props, PvTooltipSize, PvTooltipVariants } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ import { PvAlignmentPositions } from '../baseProps';
4
+ declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
6
+ slots: {
7
+ trigger?(_: {}): any;
8
+ content?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLDivElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: DefineComponent<PvTooltipV2Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvTooltipV2Props> & Readonly<{}>, {
15
+ delay: number;
16
+ size: PvTooltipSize;
17
+ variant: PvTooltipVariants;
18
+ position: PvAlignmentPositions;
19
+ showOnHover: boolean;
20
+ disableInteractive: boolean;
21
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
+ export default _default;
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,10 @@
1
+ import { PvSize } from '../baseProps';
2
+ import { PvPopoverV2Props } from '../PvPopoverV2/types.ts';
3
+ export type PvTooltipVariants = "white" | "dark";
4
+ export type PvTooltipSize = Extract<PvSize, "sm" | "md">;
5
+ export interface PvTooltipV2Props extends PvPopoverV2Props {
6
+ variant?: PvTooltipVariants;
7
+ label?: string;
8
+ description?: string;
9
+ size?: PvTooltipSize;
10
+ }
@@ -13,3 +13,4 @@ export type PvTextInputColors = (typeof PvTextInputColors)[number];
13
13
  export declare const sizeMap: Record<PvSize, string>;
14
14
  export declare const PvIconSizes: readonly [undefined, 10, 12, 20, 24, 32, 64];
15
15
  export type PvIconSize = (typeof PvIconSizes)[number];
16
+ export type PvAlignmentPositions = "bottom-left" | "bottom-center" | "bottom-right" | "top-left" | "top-center" | "top-right" | "center-left" | "center-right";
@@ -7,6 +7,7 @@ export { default as PvPill } from './PvPill/PvPill.vue';
7
7
  export { default as PvDropdown } from './PvDropdown/PvDropdown.vue';
8
8
  export { default as PvIcon } from './PvIcon/PvIcon.vue';
9
9
  export { default as PvPopover } from './PvPopover/PvPopover.vue';
10
+ export { default as PvPopoverV2 } from './PvPopoverV2/PvPopoverV2.vue';
10
11
  export { default as PvSegmentedControl } from './PvSegmentedControl/PvSegmentedControl.vue';
11
12
  export { default as PvTabList } from './PvTabList/PvTabList.vue';
12
13
  export { default as PvCompanyLogo } from './PvCompanyLogo/PvCompanyLogo.vue';
@@ -20,6 +21,7 @@ export { default as PvDatePicker } from './PvDatePicker/PvDatePicker.vue';
20
21
  export { default as PvDateTime } from './PvDateTime/PvDateTime.vue';
21
22
  export { default as PvDrawer } from './PvDrawer/PvDrawer.vue';
22
23
  export { default as PvTooltip } from './PvTooltip/PvTooltip.vue';
24
+ export { default as PvTooltipV2 } from './PvTooltipV2/PvTooltipV2.vue';
23
25
  export { default as PvTabs } from './PvTabs/PvTabs.vue';
24
26
  export { default as PvBreadcrumbs } from './PvBreadcrumbs/PvBreadcrumbs.vue';
25
27
  export { default as PvMultiSelectButton } from './PvMultiSelectButton/PvMultiSelectButton.vue';
@@ -32,6 +34,7 @@ export { default as PvCompanyLabel } from './PvCompanyLabel/PvCompanyLabel.vue';
32
34
  export { default as PvAvatar } from './PvAvatar/PvAvatar.vue';
33
35
  export { default as PvAvatarGroup } from './PvAvatarGroup/PvAvatarGroup.vue';
34
36
  export { default as PvToggleButton } from './PvToggleButton/PvToggleButton.vue';
37
+ export { default as PvToggleGroup } from './PvToggleGroup/PvToggleGroup.vue';
35
38
  export { default as PvCheckbox } from './PvCheckbox/PvCheckbox.vue';
36
39
  export { default as PvSprite } from './PvSprite/PvSprite.vue';
37
40
  export { default as PvSkeleton } from './PvSkeleton/PvSkeleton.vue';