@turquoisehealth/pit-viper 2.14.0 → 2.14.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turquoisehealth/pit-viper",
3
- "version": "2.14.0",
3
+ "version": "2.14.2",
4
4
  "description": "Turquoise Health's design system.",
5
5
  "main": "README.md",
6
6
  "publishConfig": {
@@ -14,6 +14,7 @@ import { GlobalDirectives } from 'vue';
14
14
  import { nextTick } from 'vue';
15
15
  import { OnCleanup } from '@vue/reactivity';
16
16
  import { PublicProps } from 'vue';
17
+ import { Ref } from 'vue';
17
18
  import { ShallowUnwrapRef } from 'vue';
18
19
  import { Slot } from 'vue';
19
20
  import { VNodeProps } from 'vue';
@@ -163,6 +164,7 @@ $attrs: {
163
164
  $refs: {
164
165
  [x: string]: unknown;
165
166
  } & {
167
+ popoverRoot: HTMLDivElement;
166
168
  popoverList: HTMLUListElement;
167
169
  };
168
170
  $slots: Readonly<{
@@ -175,7 +177,9 @@ $emit: (event: "list-order-updated", value: string[]) => void;
175
177
  $el: HTMLDivElement;
176
178
  $options: ComponentOptionsBase<Readonly<PvPopoverProps> & Readonly<{
177
179
  "onList-order-updated"?: ((value: string[]) => any) | undefined;
178
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
180
+ }>, {
181
+ popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
182
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
179
183
  "list-order-updated": (value: string[]) => any;
180
184
  }, string, {
181
185
  alignment: "top" | "right" | "top right";
@@ -199,7 +203,7 @@ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
199
203
  errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
200
204
  };
201
205
  $forceUpdate: () => void;
202
- $nextTick: nextTick;
206
+ $nextTick: typeof nextTick;
203
207
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
204
208
  } & Readonly<{
205
209
  alignment: "top" | "right" | "top right";
@@ -207,7 +211,9 @@ cssCustomProperties: CSSProperties;
207
211
  isList: boolean;
208
212
  }> & Omit<Readonly<PvPopoverProps> & Readonly<{
209
213
  "onList-order-updated"?: ((value: string[]) => any) | undefined;
210
- }>, "alignment" | "cssCustomProperties" | "isList"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
214
+ }>, "popoverRoot" | ("alignment" | "cssCustomProperties" | "isList")> & ShallowUnwrapRef< {
215
+ popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
216
+ }> & {} & ComponentCustomProperties & {} & {
211
217
  $slots: {
212
218
  default?(_: {}): any;
213
219
  default?(_: {}): any;
@@ -243,7 +249,9 @@ declare type PvIconSize = (typeof PvIconSizes)[number];
243
249
 
244
250
  declare const PvIconSizes: readonly [undefined, 10, 12, 20, 24, 32, 64];
245
251
 
246
- export declare const PvPopover: __VLS_WithTemplateSlots_3<DefineComponent<PvPopoverProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
252
+ export declare const PvPopover: __VLS_WithTemplateSlots_3<DefineComponent<PvPopoverProps, {
253
+ popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
254
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
247
255
  "list-order-updated": (value: string[]) => any;
248
256
  }, string, PublicProps, Readonly<PvPopoverProps> & Readonly<{
249
257
  "onList-order-updated"?: ((value: string[]) => any) | undefined;
@@ -252,6 +260,7 @@ alignment: "top" | "right" | "top right";
252
260
  cssCustomProperties: CSSProperties;
253
261
  isList: boolean;
254
262
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
263
+ popoverRoot: HTMLDivElement;
255
264
  popoverList: HTMLUListElement;
256
265
  }, HTMLDivElement>, {
257
266
  default?(_: {}): any;
@@ -338,6 +347,7 @@ $attrs: {
338
347
  $refs: {
339
348
  [x: string]: unknown;
340
349
  } & {
350
+ popoverRoot: HTMLDivElement;
341
351
  popoverList: HTMLUListElement;
342
352
  };
343
353
  $slots: Readonly<{
@@ -350,7 +360,9 @@ $emit: (event: "list-order-updated", value: string[]) => void;
350
360
  $el: HTMLDivElement;
351
361
  $options: ComponentOptionsBase<Readonly<PvPopoverProps> & Readonly<{
352
362
  "onList-order-updated"?: ((value: string[]) => any) | undefined;
353
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
363
+ }>, {
364
+ popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
365
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
354
366
  "list-order-updated": (value: string[]) => any;
355
367
  }, string, {
356
368
  alignment: "top" | "right" | "top right";
@@ -382,7 +394,9 @@ cssCustomProperties: CSSProperties;
382
394
  isList: boolean;
383
395
  }> & Omit<Readonly<PvPopoverProps> & Readonly<{
384
396
  "onList-order-updated"?: ((value: string[]) => any) | undefined;
385
- }>, "alignment" | "cssCustomProperties" | "isList"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
397
+ }>, "popoverRoot" | ("alignment" | "cssCustomProperties" | "isList")> & ShallowUnwrapRef< {
398
+ popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
399
+ }> & {} & ComponentCustomProperties & {} & {
386
400
  $slots: {
387
401
  default?(_: {}): any;
388
402
  default?(_: {}): any;