@inntechcorp/it-design 2.0.83 → 2.0.85
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/dist/index.cjs.js +3 -3
- package/dist/index.d.ts +5 -4
- package/dist/index.esm.js +12 -12
- package/dist/{output-DjWTgiS1.css → output-BwpNST6S.css} +29 -29
- package/dist/select/option/Option.d.ts +4 -4
- package/dist/select/toggle/Toggle.d.ts +1 -1
- package/dist/select/toggle/label/single/SingleLabel.d.ts +1 -0
- package/dist/stories/select.styled.d.ts +3 -0
- package/dist/types/SelectProps.d.ts +1 -0
- package/dist/utils/GetSizeBySizeSlug.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -325,6 +325,9 @@ type IconProps = {
|
|
|
325
325
|
};
|
|
326
326
|
declare const NoData: ({ className, height, width }: IconProps) => react_jsx_runtime.JSX.Element;
|
|
327
327
|
|
|
328
|
+
type OptionsRefProps = {
|
|
329
|
+
getValue: () => string;
|
|
330
|
+
};
|
|
328
331
|
type OptionsProps = {
|
|
329
332
|
icon?: string;
|
|
330
333
|
image?: string;
|
|
@@ -334,10 +337,7 @@ type OptionsProps = {
|
|
|
334
337
|
onChange?: (value: string, checked: boolean, children: ChildrenProps$1) => null;
|
|
335
338
|
children?: ChildrenProps$1;
|
|
336
339
|
};
|
|
337
|
-
declare const _default$3: react.MemoExoticComponent<
|
|
338
|
-
({ icon, image, value, mode, checked, onChange, children }: OptionsProps): react_jsx_runtime.JSX.Element;
|
|
339
|
-
displayName: string;
|
|
340
|
-
}>;
|
|
340
|
+
declare const _default$3: react.MemoExoticComponent<react.ForwardRefExoticComponent<OptionsProps & react.RefAttributes<OptionsRefProps>>>;
|
|
341
341
|
|
|
342
342
|
type SelectSubComponentProps = {
|
|
343
343
|
Option: typeof _default$3;
|
|
@@ -783,6 +783,7 @@ type SelectToggleProps = {
|
|
|
783
783
|
onFocus: () => void;
|
|
784
784
|
onBlur: () => void;
|
|
785
785
|
onShow: (value: boolean) => void;
|
|
786
|
+
onFilter: (value: string) => void;
|
|
786
787
|
onChange: (open: boolean) => void;
|
|
787
788
|
};
|
|
788
789
|
type SelectVariant = "default" | "solid" | "filled" | "outline" | "custom";
|