@turquoisehealth/pit-viper 2.30.0 → 2.31.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.30.0",
3
+ "version": "2.31.0",
4
4
  "description": "Turquoise Health's design system.",
5
5
  "main": "README.md",
6
6
  "publishConfig": {
@@ -113,6 +113,12 @@ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
113
113
  };
114
114
  };
115
115
 
116
+ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
117
+ new (): {
118
+ $slots: S;
119
+ };
120
+ };
121
+
116
122
  declare type BannerOrientations = `${BannerOrientationsEnum}`;
117
123
 
118
124
  declare enum BannerOrientationsEnum {
@@ -391,6 +397,34 @@ declare interface PvDateTimeProps {
391
397
  size?: DateTimeSize;
392
398
  }
393
399
 
400
+ export declare const PvDrawer: __VLS_WithTemplateSlots_8<DefineComponent< {
401
+ "search-input"?: string;
402
+ modelValue: boolean;
403
+ } & PvDrawer_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
404
+ "update:modelValue": (value: boolean) => any;
405
+ "update:search-input": (value: string) => any;
406
+ }, string, PublicProps, Readonly<{
407
+ "search-input"?: string;
408
+ modelValue: boolean;
409
+ } & PvDrawer_2> & Readonly<{
410
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
411
+ "onUpdate:search-input"?: ((value: string) => any) | undefined;
412
+ }>, {
413
+ closeOnClickOutside: boolean;
414
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
415
+ sidePanel: HTMLDivElement;
416
+ }, HTMLDivElement>, {
417
+ default?(_: {}): any;
418
+ }>;
419
+
420
+ declare interface PvDrawer_2 {
421
+ header: string;
422
+ subheader?: string;
423
+ showSearchbar?: boolean;
424
+ closeOnClickOutside?: boolean;
425
+ searchInputProps?: PvSearchInputProps;
426
+ }
427
+
394
428
  export declare const PvDropdown: __VLS_WithTemplateSlots_2<DefineComponent<PvDropdownProps, {
395
429
  closeDropdown: () => void;
396
430
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
@@ -772,6 +806,7 @@ declare interface PvSelectProps {
772
806
  options: Option_2[] | OptionWithIcon[];
773
807
  defaultText?: string;
774
808
  disabled?: boolean;
809
+ triggerCssProperties?: CSSProperties;
775
810
  }
776
811
 
777
812
  declare type PvSize = (typeof PvSizes)[number];