@mvr-ui/components 1.0.61 → 1.0.62

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/page.d.mts CHANGED
@@ -147,27 +147,14 @@ type ComboBoxProps<T, V extends AllowedComboValue<T>> = CommonProps<T> & {
147
147
  value?: V;
148
148
  onChange?: (e: ChangeEvent<V>) => void;
149
149
  };
150
- declare const ComboBoxPrimitive: (props: Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "value" | "type" | "onChange"> & {
151
- label?: string;
152
- required?: boolean;
153
- name: string;
154
- placeholder?: string;
155
- labelKey: never;
156
- valueKey: never;
157
- options: unknown[];
158
- typeSet?: TypeSet;
159
- mode?: Mode;
160
- disabled?: boolean;
161
- ClearEnabled?: boolean;
162
- helperText?: string;
163
- error?: boolean;
164
- className?: string;
165
- } & {
166
- value?: unknown;
167
- onChange?: ((e: ChangeEvent<unknown>) => void) | undefined;
168
- } & {
169
- ref?: React__default.Ref<HTMLInputElement>;
170
- }) => react_jsx_runtime.JSX.Element;
150
+ type ComboBoxComponent = {
151
+ <T, V extends AllowedComboValue<T>>(props: ComboBoxProps<T, V> & {
152
+ ref?: React__default.Ref<HTMLInputElement>;
153
+ }): JSX.Element;
154
+ displayName?: string;
155
+ };
156
+ declare const ComboBox: ComboBoxComponent;
157
+ declare const ComboBoxPrimitive: typeof ComboBox;
171
158
 
172
159
  interface SwitchHTMLCustomAttributes {
173
160
  label?: string;
package/dist/page.d.ts CHANGED
@@ -147,27 +147,14 @@ type ComboBoxProps<T, V extends AllowedComboValue<T>> = CommonProps<T> & {
147
147
  value?: V;
148
148
  onChange?: (e: ChangeEvent<V>) => void;
149
149
  };
150
- declare const ComboBoxPrimitive: (props: Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "value" | "type" | "onChange"> & {
151
- label?: string;
152
- required?: boolean;
153
- name: string;
154
- placeholder?: string;
155
- labelKey: never;
156
- valueKey: never;
157
- options: unknown[];
158
- typeSet?: TypeSet;
159
- mode?: Mode;
160
- disabled?: boolean;
161
- ClearEnabled?: boolean;
162
- helperText?: string;
163
- error?: boolean;
164
- className?: string;
165
- } & {
166
- value?: unknown;
167
- onChange?: ((e: ChangeEvent<unknown>) => void) | undefined;
168
- } & {
169
- ref?: React__default.Ref<HTMLInputElement>;
170
- }) => react_jsx_runtime.JSX.Element;
150
+ type ComboBoxComponent = {
151
+ <T, V extends AllowedComboValue<T>>(props: ComboBoxProps<T, V> & {
152
+ ref?: React__default.Ref<HTMLInputElement>;
153
+ }): JSX.Element;
154
+ displayName?: string;
155
+ };
156
+ declare const ComboBox: ComboBoxComponent;
157
+ declare const ComboBoxPrimitive: typeof ComboBox;
171
158
 
172
159
  interface SwitchHTMLCustomAttributes {
173
160
  label?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mvr-ui/components",
3
- "version": "1.0.61",
3
+ "version": "1.0.62",
4
4
  "sideEffects": false,
5
5
  "main": "dist/page.cjs",
6
6
  "module": "dist/page.js",