@turquoisehealth/pit-viper 2.104.2-dev.0 → 2.105.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.
- package/_site/assets/css/pit-viper-v2-scoped.css +0 -19
- package/_site/assets/css/pit-viper-v2.css +0 -21
- package/_site/assets/css/pit-viper.css +0 -21
- package/_site/assets/js/pit-viper.js +133 -0
- package/package.json +11 -38
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -3
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/PvTooltipV2/PvTooltipV2.vue.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvTooltipV2/types.d.ts +1 -2
- package/pv-components/dist/vue/base/components/base/index.d.ts +1 -0
- package/pv-components/dist/vue/base/pv-components-base.js +1546 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +6653 -4387
- package/pv-components/dist/vue/base/pv-components-base.umd.js +1546 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +176 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +5920 -3407
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +176 -0
- package/pv-components/dist/web/pv-components.iife.js +31 -31
- package/pv-components/dist/stats/vue/base/stats.html +0 -4949
- package/pv-components/dist/stats/vue/visualizations/stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-accordion-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-action-bar-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-avatar-group-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-avatar-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-banner-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-button-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-card-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-checkbox-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-company-label-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-company-logo-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-company-tag-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-counter-badge-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-date-picker-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-date-time-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-drawer-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-dropdown-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-expandable-content-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-ghost-input-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-icon-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-input-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-insight-card-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-modal-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-pagination-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-pill-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-popover-menu-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-popover-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-popover-v2-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-rating-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-release-badge-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-search-input-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-segmented-control-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-select-button-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-selectable-card-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-side-panel-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-skeleton-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-spinner-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-sprite-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-switch-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-tab-list-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-tabs-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-tag-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-text-area-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-toast-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-toggle-button-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-toggle-group-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-tooltip-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-widget-stats.html +0 -4949
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +0 -186
- package/pv-components/dist/web/components/pv-action-bar/pv-action-bar.js +0 -66
- package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +0 -96
- package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +0 -102
- package/pv-components/dist/web/components/pv-banner/pv-banner.js +0 -155
- package/pv-components/dist/web/components/pv-breadcrumbs/pv-breadcrumbs.js +0 -92
- package/pv-components/dist/web/components/pv-button/pv-button.js +0 -173
- package/pv-components/dist/web/components/pv-card/pv-card.js +0 -80
- package/pv-components/dist/web/components/pv-checkbox/pv-checkbox.js +0 -77
- package/pv-components/dist/web/components/pv-company-label/pv-company-label.js +0 -153
- package/pv-components/dist/web/components/pv-company-logo/pv-company-logo.js +0 -124
- package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +0 -204
- package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +0 -89
- package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +0 -7481
- package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +0 -577
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +0 -486
- package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +0 -1724
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +0 -235
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +0 -251
- package/pv-components/dist/web/components/pv-icon/pv-icon.js +0 -81
- package/pv-components/dist/web/components/pv-input/pv-input.js +0 -123
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +0 -293
- package/pv-components/dist/web/components/pv-modal/pv-modal.js +0 -118
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +0 -2752
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +0 -286
- package/pv-components/dist/web/components/pv-pill/pv-pill.js +0 -160
- package/pv-components/dist/web/components/pv-popover/pv-popover.js +0 -1417
- package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +0 -1439
- package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +0 -1421
- package/pv-components/dist/web/components/pv-rating/pv-rating.js +0 -78
- package/pv-components/dist/web/components/pv-release-badge/pv-release-badge.js +0 -74
- package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +0 -170
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +0 -145
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +0 -2563
- package/pv-components/dist/web/components/pv-selectable-card/pv-selectable-card.js +0 -85
- package/pv-components/dist/web/components/pv-side-panel/pv-side-panel.js +0 -80
- package/pv-components/dist/web/components/pv-skeleton/pv-skeleton.js +0 -1525
- package/pv-components/dist/web/components/pv-spinner/pv-spinner.js +0 -83
- package/pv-components/dist/web/components/pv-sprite/pv-sprite.js +0 -82
- package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +0 -126
- package/pv-components/dist/web/components/pv-switch/pv-switch.js +0 -94
- package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +0 -100
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +0 -178
- package/pv-components/dist/web/components/pv-tag/pv-tag.js +0 -141
- package/pv-components/dist/web/components/pv-text-area/pv-text-area.js +0 -120
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +0 -223
- package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +0 -139
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +0 -2887
- package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +0 -90
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +0 -1489
- package/pv-components/dist/web/components/pv-widget/pv-widget.js +0 -91
- package/pv-components/dist/web/vue.runtime.esm-browser.prod.js +0 -7
|
@@ -3301,29 +3301,10 @@
|
|
|
3301
3301
|
line-height: 1.33333333;
|
|
3302
3302
|
font-weight: 500;
|
|
3303
3303
|
}
|
|
3304
|
-
.pv-v2 .pv-action-bar-container > ::slotted(*) {
|
|
3305
|
-
display: flex;
|
|
3306
|
-
align-items: center;
|
|
3307
|
-
white-space: nowrap;
|
|
3308
|
-
justify-content: unset;
|
|
3309
|
-
gap: 0.5rem;
|
|
3310
|
-
background-color: #242626;
|
|
3311
|
-
color: #FFFFFF;
|
|
3312
|
-
padding: 0.5rem 0.75rem;
|
|
3313
|
-
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
|
|
3314
|
-
border-radius: 8px;
|
|
3315
|
-
font-size: 0.75rem;
|
|
3316
|
-
line-height: 1.33333333;
|
|
3317
|
-
font-weight: 500;
|
|
3318
|
-
}
|
|
3319
3304
|
.pv-v2 .pv-action-bar-container[data-style=white] > div {
|
|
3320
3305
|
background-color: #FFFFFF;
|
|
3321
3306
|
color: #121313;
|
|
3322
3307
|
}
|
|
3323
|
-
.pv-v2 .pv-action-bar-container[data-style=white] > ::slotted(*) {
|
|
3324
|
-
background-color: #FFFFFF;
|
|
3325
|
-
color: #121313;
|
|
3326
|
-
}
|
|
3327
3308
|
.pv-v2 .pv-card {
|
|
3328
3309
|
position: relative;
|
|
3329
3310
|
border: 1px solid var(--card-border-color, #E3E7EA);
|
|
@@ -3575,32 +3575,11 @@ pv-dropdown-auto-close.pv-dropdown > [class*=pv-button][data-dropdown] {
|
|
|
3575
3575
|
font-weight: 500;
|
|
3576
3576
|
}
|
|
3577
3577
|
|
|
3578
|
-
.pv-action-bar-container > ::slotted(*) {
|
|
3579
|
-
display: flex;
|
|
3580
|
-
align-items: center;
|
|
3581
|
-
white-space: nowrap;
|
|
3582
|
-
justify-content: unset;
|
|
3583
|
-
gap: 0.5rem;
|
|
3584
|
-
background-color: #242626;
|
|
3585
|
-
color: #FFFFFF;
|
|
3586
|
-
padding: 0.5rem 0.75rem;
|
|
3587
|
-
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
|
|
3588
|
-
border-radius: 8px;
|
|
3589
|
-
font-size: 0.75rem;
|
|
3590
|
-
line-height: 1.33333333;
|
|
3591
|
-
font-weight: 500;
|
|
3592
|
-
}
|
|
3593
|
-
|
|
3594
3578
|
.pv-action-bar-container[data-style=white] > div {
|
|
3595
3579
|
background-color: #FFFFFF;
|
|
3596
3580
|
color: #121313;
|
|
3597
3581
|
}
|
|
3598
3582
|
|
|
3599
|
-
.pv-action-bar-container[data-style=white] > ::slotted(*) {
|
|
3600
|
-
background-color: #FFFFFF;
|
|
3601
|
-
color: #121313;
|
|
3602
|
-
}
|
|
3603
|
-
|
|
3604
3583
|
.pv-card {
|
|
3605
3584
|
position: relative;
|
|
3606
3585
|
border: 1px solid var(--card-border-color, #E3E7EA);
|
|
@@ -3580,32 +3580,11 @@ pv-dropdown-auto-close.pv-dropdown > [class*=pv-button][data-dropdown] {
|
|
|
3580
3580
|
font-weight: 500;
|
|
3581
3581
|
}
|
|
3582
3582
|
|
|
3583
|
-
.pv-action-bar-container > ::slotted(*) {
|
|
3584
|
-
display: flex;
|
|
3585
|
-
align-items: center;
|
|
3586
|
-
white-space: nowrap;
|
|
3587
|
-
justify-content: space-between;
|
|
3588
|
-
gap: 0.5rem;
|
|
3589
|
-
background-color: #02363D;
|
|
3590
|
-
color: #FFFFFF;
|
|
3591
|
-
padding: 0;
|
|
3592
|
-
box-shadow: 0 8px 32px rgba(2, 54, 61, 0.24);
|
|
3593
|
-
border-radius: 4px;
|
|
3594
|
-
font-size: 1.125rem;
|
|
3595
|
-
line-height: 1.55555555;
|
|
3596
|
-
font-weight: 500;
|
|
3597
|
-
}
|
|
3598
|
-
|
|
3599
3583
|
.pv-action-bar-container[data-style=white] > div {
|
|
3600
3584
|
background-color: #02363D;
|
|
3601
3585
|
color: #02363D;
|
|
3602
3586
|
}
|
|
3603
3587
|
|
|
3604
|
-
.pv-action-bar-container[data-style=white] > ::slotted(*) {
|
|
3605
|
-
background-color: #02363D;
|
|
3606
|
-
color: #02363D;
|
|
3607
|
-
}
|
|
3608
|
-
|
|
3609
3588
|
.pv-card {
|
|
3610
3589
|
position: relative;
|
|
3611
3590
|
border: 1px solid var(--card-border-color, #DCDFE4);
|
|
@@ -178,4 +178,137 @@ class PVAutoClose extends HTMLElement {
|
|
|
178
178
|
|
|
179
179
|
}
|
|
180
180
|
customElements.define('pv-data-grid', PVDataGrid);
|
|
181
|
+
|
|
182
|
+
class PvGlobalNav extends HTMLElement {
|
|
183
|
+
constructor() {
|
|
184
|
+
super();
|
|
185
|
+
this.hoverTimeout = null;
|
|
186
|
+
this.layout = document.querySelector('.pv-layout-primary');
|
|
187
|
+
this.minimizeButton = this.querySelector('#global-sidebar-toggle');
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
connectedCallback() {
|
|
191
|
+
this.minimizeButton?.addEventListener('click', (e) => this.toggleSidebar(e.currentTarget));
|
|
192
|
+
this.addEventListener('mouseenter', () => this.handleHoverIn());
|
|
193
|
+
this.addEventListener('mouseleave', () => this.handleHoverOut());
|
|
194
|
+
document.addEventListener('click', (e) => this.handleMenuClick(e));
|
|
195
|
+
this.initializeSidebar();
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
setState(attributes) {
|
|
199
|
+
Object.entries(attributes).forEach(([key, value]) => {
|
|
200
|
+
if (value) {
|
|
201
|
+
this.layout.setAttribute(key, '');
|
|
202
|
+
} else {
|
|
203
|
+
this.layout.removeAttribute(key);
|
|
204
|
+
}
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
isExpandedState() {
|
|
209
|
+
return !this.layout.hasAttribute('data-collapsed') && !this.layout.hasAttribute('data-hovering');
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
collapseState() {
|
|
213
|
+
this.setState({ 'data-collapsed': true, 'data-expanded': false, 'data-hovering': false });
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
expandState() {
|
|
217
|
+
this.setState({ 'data-collapsed': false, 'data-hovering': false, 'data-expanded': true });
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
hoverExpandState() {
|
|
221
|
+
this.setState({ 'data-collapsed': false, 'data-hovering': true });
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
hoverCollapseState() {
|
|
225
|
+
this.setState({ 'data-collapsed': true, 'data-hovering': false });
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
getSidebarMinimizeState() {
|
|
229
|
+
const stored = localStorage.getItem('global-nav-sidebar-minimize');
|
|
230
|
+
return stored === 'true';
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
setSidebarMinimizeState(value) {
|
|
234
|
+
localStorage.setItem('global-nav-sidebar-minimize', value.toString());
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
updateIcons(button, isExpanded) {
|
|
238
|
+
const use = button.querySelector('svg use');
|
|
239
|
+
const tooltip = document.getElementById('description');
|
|
240
|
+
use.setAttributeNS('http://www.w3.org/1999/xlink', 'href', isExpanded ? '#panel-left-close' : '#panel-left-open');
|
|
241
|
+
if (tooltip) tooltip.querySelector('p').textContent = isExpanded ? 'Close Sidebar' : 'Open Sidebar';
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
toggleSidebar(button) {
|
|
245
|
+
const isExpanded = this.isExpandedState();
|
|
246
|
+
if (isExpanded) {
|
|
247
|
+
this.setSidebarMinimizeState(true);
|
|
248
|
+
this.collapseState();
|
|
249
|
+
this.updateIcons(button, false);
|
|
250
|
+
} else {
|
|
251
|
+
this.setSidebarMinimizeState(false);
|
|
252
|
+
this.expandState();
|
|
253
|
+
this.updateIcons(button, true);
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
handleHoverIn() {
|
|
258
|
+
clearTimeout(this.hoverTimeout);
|
|
259
|
+
if (this.layout.hasAttribute('data-collapsed')) {
|
|
260
|
+
this.hoverTimeout = setTimeout(() => this.hoverExpandState(), 200);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
handleHoverOut() {
|
|
265
|
+
clearTimeout(this.hoverTimeout);
|
|
266
|
+
if (this.layout.hasAttribute('data-hovering') && !this.hasOpenMenu()) {
|
|
267
|
+
this.hoverCollapseState();
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
hasOpenMenu() {
|
|
272
|
+
return this.querySelector('.pv-popover-menu[data-active]') !== null;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
handleMenuClick(event) {
|
|
276
|
+
const clickedMenu = event.target.closest('.pv-popover-menu');
|
|
277
|
+
const allMenus = this.querySelectorAll('.pv-popover-menu');
|
|
278
|
+
|
|
279
|
+
if (clickedMenu && this.contains(clickedMenu)) {
|
|
280
|
+
allMenus.forEach(menu => menu.removeAttribute('data-active'));
|
|
281
|
+
clickedMenu.setAttribute('data-active', '');
|
|
282
|
+
this.style.overflow = 'initial';
|
|
283
|
+
if (!this.layout.hasAttribute('data-expanded')) {
|
|
284
|
+
this.hoverExpandState();
|
|
285
|
+
}
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
allMenus.forEach(menu => menu.removeAttribute('data-active'));
|
|
289
|
+
this.style.overflow = 'hidden';
|
|
290
|
+
if (this.layout.hasAttribute('data-hovering') && !this.layout.hasAttribute('data-expanded')) {
|
|
291
|
+
console.log('Collapsing sidebar after menu close');
|
|
292
|
+
this.hoverCollapseState();
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
initializeSidebar() {
|
|
297
|
+
const currentSidebarMinimize = this.layout.hasAttribute('data-collapsed');
|
|
298
|
+
if (currentSidebarMinimize) {
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
301
|
+
const storedValue = this.getSidebarMinimizeState();
|
|
302
|
+
|
|
303
|
+
if (storedValue) {
|
|
304
|
+
this.collapseState();
|
|
305
|
+
this.updateIcons(this.minimizeButton, false);
|
|
306
|
+
} else {
|
|
307
|
+
this.expandState();
|
|
308
|
+
this.updateIcons(this.minimizeButton, true);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
customElements.define('pv-global-nav', PvGlobalNav, { extends: 'aside' });
|
|
181
314
|
})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turquoisehealth/pit-viper",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.105.0",
|
|
4
4
|
"description": "Turquoise Health's design system.",
|
|
5
5
|
"main": "README.md",
|
|
6
6
|
"publishConfig": {
|
|
@@ -34,6 +34,10 @@
|
|
|
34
34
|
"types": "./pv-components/dist/vue/visualizations/components/visualizations/index.d.ts",
|
|
35
35
|
"import": "./pv-components/dist/vue/visualizations/pv-components-visualizations.mjs",
|
|
36
36
|
"require": "./pv-components/dist/vue/visualizations/pv-components-visualizations.js"
|
|
37
|
+
},
|
|
38
|
+
"./web_components": {
|
|
39
|
+
"types": "./pv-components/dist/src/web-components.d.ts",
|
|
40
|
+
"default": "./pv-components/dist/web/pv-components.iife.js"
|
|
37
41
|
}
|
|
38
42
|
},
|
|
39
43
|
"scripts": {
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"prepublishOnly": "npm install && npm run test && npm run build",
|
|
47
51
|
"start": "npm-run-all build:sass --parallel watch:*",
|
|
48
52
|
"build": "npm-run-all build:*",
|
|
53
|
+
"postbuild": "eleventy --quiet",
|
|
49
54
|
"prepare": "husky",
|
|
50
55
|
"test": "npm run test --workspace=pv-components",
|
|
51
56
|
"create_pr": "tsx ./scripts/createPR.ts",
|
|
@@ -66,37 +71,13 @@
|
|
|
66
71
|
},
|
|
67
72
|
"homepage": "https://github.com/turquoisehealth/pit-viper/",
|
|
68
73
|
"peerDependencies": {
|
|
69
|
-
"@floating-ui/vue": "^1.1.9",
|
|
70
|
-
"@primeuix/themes": "^1.1.1",
|
|
71
|
-
"@vueuse/components": "^13.0.0",
|
|
72
|
-
"@vueuse/core": "^13.0.0",
|
|
73
|
-
"@vueuse/integrations": "^13.1.0",
|
|
74
74
|
"ag-charts-enterprise": "^12.1.0",
|
|
75
75
|
"ag-charts-vue3": "^12.1.0",
|
|
76
76
|
"ag-grid-community": "^33.2.1",
|
|
77
77
|
"ag-grid-enterprise": "^33.2.1",
|
|
78
|
-
"ag-grid-vue3": "^33.2.1"
|
|
79
|
-
"papaparse": "^5.5.2",
|
|
80
|
-
"primevue": "^4.3.5",
|
|
81
|
-
"sortablejs": "^1.15.6",
|
|
82
|
-
"vue": "^3.5.13"
|
|
78
|
+
"ag-grid-vue3": "^33.2.1"
|
|
83
79
|
},
|
|
84
80
|
"peerDependenciesMeta": {
|
|
85
|
-
"@floating-ui/vue": {
|
|
86
|
-
"optional": false
|
|
87
|
-
},
|
|
88
|
-
"@primeuix/themes": {
|
|
89
|
-
"optional": false
|
|
90
|
-
},
|
|
91
|
-
"@vueuse/components": {
|
|
92
|
-
"optional": false
|
|
93
|
-
},
|
|
94
|
-
"@vueuse/core": {
|
|
95
|
-
"optional": false
|
|
96
|
-
},
|
|
97
|
-
"@vueuse/integrations": {
|
|
98
|
-
"optional": false
|
|
99
|
-
},
|
|
100
81
|
"ag-charts-enterprise": {
|
|
101
82
|
"optional": true
|
|
102
83
|
},
|
|
@@ -111,18 +92,6 @@
|
|
|
111
92
|
},
|
|
112
93
|
"ag-grid-vue3": {
|
|
113
94
|
"optional": true
|
|
114
|
-
},
|
|
115
|
-
"papaparse": {
|
|
116
|
-
"optional": false
|
|
117
|
-
},
|
|
118
|
-
"primevue": {
|
|
119
|
-
"optional": false
|
|
120
|
-
},
|
|
121
|
-
"sortablejs": {
|
|
122
|
-
"optional": false
|
|
123
|
-
},
|
|
124
|
-
"vue": {
|
|
125
|
-
"optional": false
|
|
126
95
|
}
|
|
127
96
|
},
|
|
128
97
|
"dependencies": {
|
|
@@ -141,6 +110,10 @@
|
|
|
141
110
|
},
|
|
142
111
|
"devDependencies": {
|
|
143
112
|
"@changesets/cli": "^2.29.4",
|
|
113
|
+
"@vue/eslint-config-prettier": "^10.1.0",
|
|
114
|
+
"@vue/eslint-config-typescript": "^14.3.0",
|
|
115
|
+
"chokidar-cli": "^3.0.0",
|
|
116
|
+
"eslint-plugin-vue": "^9.32.0",
|
|
144
117
|
"pagefind": "^1.3.0",
|
|
145
118
|
"tsx": "^4.0.0"
|
|
146
119
|
}
|
package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export interface PvMultiSelectButtonProps {
|
|
|
31
31
|
searchPlaceholder?: string;
|
|
32
32
|
overlayTrigger?: boolean;
|
|
33
33
|
optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
|
|
34
|
-
options
|
|
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
|
|
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
|
|
339
|
+
options: MenuOption[];
|
|
339
340
|
useTeleport?: boolean;
|
|
340
341
|
"onDropdown-open"?: (() => any) | undefined;
|
|
341
342
|
"onDropdown-closed"?: (() => any) | undefined;
|
|
@@ -22,7 +22,7 @@ export interface PvSelectButton {
|
|
|
22
22
|
showSearchInput?: boolean;
|
|
23
23
|
searchPlaceholder?: string;
|
|
24
24
|
optionsVariant?: Exclude<MenuOptionsVariant, "checkbox">;
|
|
25
|
-
options
|
|
25
|
+
options: MenuOption[];
|
|
26
26
|
useTeleport?: boolean;
|
|
27
27
|
allowDeselect?: boolean;
|
|
28
28
|
counterPosition?: "left" | "right";
|
|
@@ -18,7 +18,6 @@ declare const __VLS_component: DefineComponent<PvTooltipV2Props, {}, {}, {}, {},
|
|
|
18
18
|
position: PvAlignmentPositions;
|
|
19
19
|
showOnHover: boolean;
|
|
20
20
|
disableInteractive: boolean;
|
|
21
|
-
disableContent: boolean;
|
|
22
21
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
23
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PvSize } from '../baseProps';
|
|
2
|
-
import { PvPopoverV2Props } from '../PvPopoverV2/types';
|
|
2
|
+
import { PvPopoverV2Props } from '../PvPopoverV2/types.ts';
|
|
3
3
|
export type PvTooltipVariants = "white" | "dark";
|
|
4
4
|
export type PvTooltipSize = Extract<PvSize, "sm" | "md">;
|
|
5
5
|
export interface PvTooltipV2Props extends PvPopoverV2Props {
|
|
@@ -7,5 +7,4 @@ export interface PvTooltipV2Props extends PvPopoverV2Props {
|
|
|
7
7
|
label?: string;
|
|
8
8
|
description?: string;
|
|
9
9
|
size?: PvTooltipSize;
|
|
10
|
-
disableContent?: boolean;
|
|
11
10
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as PvButton } from './PvButton/PvButton.vue';
|
|
2
|
+
export { default as PvAiButton } from './PvAiButton/PvAiButton.vue';
|
|
2
3
|
export { default as PvButtonWithTooltip } from './PvButton/PvButtonWithTooltip.vue';
|
|
3
4
|
export { default as PvCounterBadge } from './PvCounterBadge/PvCounterBadge.vue';
|
|
4
5
|
export { default as PvReleaseBadge } from './PvReleaseBadge/PvReleaseBadge.vue';
|