@turquoisehealth/pit-viper 2.7.0 → 2.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turquoisehealth/pit-viper",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
4
4
  "description": "Turquoise Health's design system.",
5
5
  "main": "README.md",
6
6
  "publishConfig": {
@@ -147,7 +147,72 @@ useTeleport: boolean;
147
147
  teleportLocation: string;
148
148
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
149
149
  triggerRef: HTMLButtonElement;
150
- popoverRef: HTMLDivElement;
150
+ popoverRef: ({
151
+ $: ComponentInternalInstance;
152
+ $data: {};
153
+ $props: {
154
+ readonly alignment?: "top" | "right" | "top right" | undefined | undefined;
155
+ readonly cssCustomProperties?: CSSProperties | undefined;
156
+ readonly isList?: boolean | undefined;
157
+ readonly isSortable?: boolean | undefined;
158
+ readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
159
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
160
+ $attrs: {
161
+ [x: string]: unknown;
162
+ };
163
+ $refs: {
164
+ [x: string]: unknown;
165
+ } & {
166
+ popoverList: HTMLUListElement;
167
+ };
168
+ $slots: Readonly<{
169
+ [name: string]: Slot<any> | undefined;
170
+ }>;
171
+ $root: ComponentPublicInstance | null;
172
+ $parent: ComponentPublicInstance | null;
173
+ $host: Element | null;
174
+ $emit: (event: "list-order-updated", value: string[]) => void;
175
+ $el: HTMLDivElement;
176
+ $options: ComponentOptionsBase<Readonly<PvPopoverProps> & Readonly<{
177
+ "onList-order-updated"?: ((value: string[]) => any) | undefined;
178
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
179
+ "list-order-updated": (value: string[]) => any;
180
+ }, string, {
181
+ alignment: "top" | "right" | "top right";
182
+ cssCustomProperties: CSSProperties;
183
+ isList: boolean;
184
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
185
+ beforeCreate?: (() => void) | (() => void)[];
186
+ created?: (() => void) | (() => void)[];
187
+ beforeMount?: (() => void) | (() => void)[];
188
+ mounted?: (() => void) | (() => void)[];
189
+ beforeUpdate?: (() => void) | (() => void)[];
190
+ updated?: (() => void) | (() => void)[];
191
+ activated?: (() => void) | (() => void)[];
192
+ deactivated?: (() => void) | (() => void)[];
193
+ beforeDestroy?: (() => void) | (() => void)[];
194
+ beforeUnmount?: (() => void) | (() => void)[];
195
+ destroyed?: (() => void) | (() => void)[];
196
+ unmounted?: (() => void) | (() => void)[];
197
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
198
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
199
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
200
+ };
201
+ $forceUpdate: () => void;
202
+ $nextTick: nextTick;
203
+ $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
+ } & Readonly<{
205
+ alignment: "top" | "right" | "top right";
206
+ cssCustomProperties: CSSProperties;
207
+ isList: boolean;
208
+ }> & Omit<Readonly<PvPopoverProps> & Readonly<{
209
+ "onList-order-updated"?: ((value: string[]) => any) | undefined;
210
+ }>, "alignment" | "cssCustomProperties" | "isList"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
211
+ $slots: {
212
+ default?(_: {}): any;
213
+ default?(_: {}): any;
214
+ };
215
+ }) | null;
151
216
  }, HTMLDivElement>, {
152
217
  trigger?(_: {}): any;
153
218
  default?(_: {}): any;
@@ -257,7 +322,72 @@ $refs: {
257
322
  [x: string]: unknown;
258
323
  } & {
259
324
  triggerRef: HTMLButtonElement;
260
- popoverRef: HTMLDivElement;
325
+ popoverRef: ({
326
+ $: ComponentInternalInstance;
327
+ $data: {};
328
+ $props: {
329
+ readonly alignment?: "top" | "right" | "top right" | undefined | undefined;
330
+ readonly cssCustomProperties?: CSSProperties | undefined;
331
+ readonly isList?: boolean | undefined;
332
+ readonly isSortable?: boolean | undefined;
333
+ readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
334
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
335
+ $attrs: {
336
+ [x: string]: unknown;
337
+ };
338
+ $refs: {
339
+ [x: string]: unknown;
340
+ } & {
341
+ popoverList: HTMLUListElement;
342
+ };
343
+ $slots: Readonly<{
344
+ [name: string]: Slot<any> | undefined;
345
+ }>;
346
+ $root: ComponentPublicInstance | null;
347
+ $parent: ComponentPublicInstance | null;
348
+ $host: Element | null;
349
+ $emit: (event: "list-order-updated", value: string[]) => void;
350
+ $el: HTMLDivElement;
351
+ $options: ComponentOptionsBase<Readonly<PvPopoverProps> & Readonly<{
352
+ "onList-order-updated"?: ((value: string[]) => any) | undefined;
353
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
354
+ "list-order-updated": (value: string[]) => any;
355
+ }, string, {
356
+ alignment: "top" | "right" | "top right";
357
+ cssCustomProperties: CSSProperties;
358
+ isList: boolean;
359
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
360
+ beforeCreate?: (() => void) | (() => void)[];
361
+ created?: (() => void) | (() => void)[];
362
+ beforeMount?: (() => void) | (() => void)[];
363
+ mounted?: (() => void) | (() => void)[];
364
+ beforeUpdate?: (() => void) | (() => void)[];
365
+ updated?: (() => void) | (() => void)[];
366
+ activated?: (() => void) | (() => void)[];
367
+ deactivated?: (() => void) | (() => void)[];
368
+ beforeDestroy?: (() => void) | (() => void)[];
369
+ beforeUnmount?: (() => void) | (() => void)[];
370
+ destroyed?: (() => void) | (() => void)[];
371
+ unmounted?: (() => void) | (() => void)[];
372
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
373
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
374
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
375
+ };
376
+ $forceUpdate: () => void;
377
+ $nextTick: nextTick;
378
+ $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;
379
+ } & Readonly<{
380
+ alignment: "top" | "right" | "top right";
381
+ cssCustomProperties: CSSProperties;
382
+ isList: boolean;
383
+ }> & Omit<Readonly<PvPopoverProps> & Readonly<{
384
+ "onList-order-updated"?: ((value: string[]) => any) | undefined;
385
+ }>, "alignment" | "cssCustomProperties" | "isList"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
386
+ $slots: {
387
+ default?(_: {}): any;
388
+ default?(_: {}): any;
389
+ };
390
+ }) | null;
261
391
  };
262
392
  $slots: Readonly<{
263
393
  [name: string]: Slot<any> | undefined;