zds-pickers 4.0.19 → 4.0.20

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.
@@ -22,6 +22,9 @@ declare const KnobPicker: import("react").ForwardRefExoticComponent<Partial<impo
22
22
  }) => React.ReactNode;
23
23
  isSearchable?: boolean;
24
24
  label?: string;
25
+ menuPortalTarget?: HTMLElement | null;
26
+ menuPosition?: "fixed" | "absolute";
27
+ menuShouldScrollIntoView?: boolean;
25
28
  onChange: (value: number) => void;
26
29
  options: Option<number>[] | {
27
30
  entries: Option<number>[];
@@ -17,6 +17,9 @@ declare const ResponseCurvePicker: import("react").ForwardRefExoticComponent<Par
17
17
  }) => React.ReactNode;
18
18
  isSearchable?: boolean;
19
19
  label?: string;
20
+ menuPortalTarget?: HTMLElement | null;
21
+ menuPosition?: "fixed" | "absolute";
22
+ menuShouldScrollIntoView?: boolean;
20
23
  onChange: (value: Curve) => void;
21
24
  options: Option<Curve>[] | {
22
25
  entries: Option<Curve>[];
@@ -19,6 +19,9 @@ type SelectProps<T> = SelectComponentsConfig<Option<T>, false, GroupBase<Option<
19
19
  }) => React.ReactNode;
20
20
  isSearchable?: boolean;
21
21
  label?: string;
22
+ menuPortalTarget?: HTMLElement | null;
23
+ menuPosition?: 'fixed' | 'absolute';
24
+ menuShouldScrollIntoView?: boolean;
22
25
  onChange: (value: Option<T>['value']) => void;
23
26
  options: Option<T>[] | {
24
27
  entries: Option<T>[];
@@ -102,6 +102,9 @@ type SelectProps<T> = SelectComponentsConfig<
102
102
  ) => React.ReactNode
103
103
  isSearchable?: boolean
104
104
  label?: string
105
+ menuPortalTarget?: HTMLElement | null
106
+ menuPosition?: 'fixed' | 'absolute'
107
+ menuShouldScrollIntoView?: boolean
105
108
  onChange: (value: Option<T>['value']) => void
106
109
  options: Option<T>[] | { entries: Option<T>[] }[]
107
110
  preserveMenuWidth?: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zds-pickers",
3
- "version": "4.0.19",
3
+ "version": "4.0.20",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "types": "./dist/types/index.d.ts",