ctc-component-library 0.1.70 → 0.1.71
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.es.js
CHANGED
|
@@ -44916,8 +44916,8 @@ const Zz = 0, PV = ({
|
|
|
44916
44916
|
onChange: e,
|
|
44917
44917
|
className: t,
|
|
44918
44918
|
disabled: n,
|
|
44919
|
-
|
|
44920
|
-
|
|
44919
|
+
selectedOption: r,
|
|
44920
|
+
selectedValue: o,
|
|
44921
44921
|
...a
|
|
44922
44922
|
}) => {
|
|
44923
44923
|
const i = nn(() => n ? { opacity: 0.5, filter: "grayscale(1)" } : {}, [n]), l = Qz.map((c) => ({
|
|
@@ -44945,7 +44945,7 @@ const Zz = 0, PV = ({
|
|
|
44945
44945
|
options: l,
|
|
44946
44946
|
placeholder: l[Zz].label,
|
|
44947
44947
|
disabled: n,
|
|
44948
|
-
selectedOption:
|
|
44948
|
+
selectedOption: r || (o ? l.find((c) => c.value === o) : void 0),
|
|
44949
44949
|
...a
|
|
44950
44950
|
}
|
|
44951
44951
|
);
|
|
@@ -2,5 +2,5 @@ import { DropdownProps } from '../../../../components/molecules/dropdowns/Dropdo
|
|
|
2
2
|
type DropdownPhoneProps = Omit<DropdownProps, 'options'> & {
|
|
3
3
|
selectedValue?: string;
|
|
4
4
|
};
|
|
5
|
-
export declare const DropdownPhone: ({ onChange, className, disabled,
|
|
5
|
+
export declare const DropdownPhone: ({ onChange, className, disabled, selectedOption, selectedValue, ...props }: DropdownPhoneProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export {};
|