@ehfuse/mui-form-controls 1.2.2 → 1.3.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.
@@ -0,0 +1,9 @@
1
+ /**
2
+ * ButtonGroup.tsx
3
+ *
4
+ * @license MIT
5
+ * @copyright 2025 a8ud10a8uc601uc9c4 (Kim Young Jin)
6
+ * @author a8ud10a8uc601uc9c4 (ehfuse@gmail.com)
7
+ */
8
+ import type { ButtonGroupProps as MuiButtonGroupProps } from "@mui/material/ButtonGroup";
9
+ export declare const ButtonGroup: import("react").ForwardRefExoticComponent<Omit<MuiButtonGroupProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * NumberField.tsx
3
+ *
4
+ * @license MIT
5
+ * @copyright 2025 김영진 (Kim Young Jin)
6
+ * @author 김영진 (ehfuse@gmail.com)
7
+ */
8
+ export { default as NumberField } from "./components/NumberField";
9
+ export { default as NumberSpinner } from "./components/NumberSpinner";
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Rating.tsx
3
+ *
4
+ * @license MIT
5
+ * @copyright 2025 a8ud10a8uc601uc9c4 (Kim Young Jin)
6
+ * @author a8ud10a8uc601uc9c4 (ehfuse@gmail.com)
7
+ */
8
+ import React from "react";
9
+ import type { RatingProps } from "./types";
10
+ export declare const Rating: React.ForwardRefExoticComponent<Omit<RatingProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Stepper.tsx
3
+ *
4
+ * @license MIT
5
+ * @copyright 2025 a8ud10a8uc601uc9c4 (Kim Young Jin)
6
+ * @author a8ud10a8uc601uc9c4 (ehfuse@gmail.com)
7
+ */
8
+ import type { StepperProps } from "./types";
9
+ export declare const Stepper: import("react").ForwardRefExoticComponent<Omit<StepperProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * TextField.tsx
3
+ *
4
+ * @license MIT
5
+ * @copyright 2025 a8ud10a8uc601uc9c4 (Kim Young Jin)
6
+ * @author a8ud10a8uc601uc9c4 (ehfuse@gmail.com)
7
+ */
8
+ import React from "react";
9
+ import type { BaseTextFieldProps } from "./types";
10
+ export declare const TextField: React.ForwardRefExoticComponent<(Omit<import("@mui/material").FilledTextFieldProps & BaseTextFieldProps, "ref"> | Omit<import("@mui/material").OutlinedTextFieldProps & BaseTextFieldProps, "ref"> | Omit<import("@mui/material").StandardTextFieldProps & BaseTextFieldProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * ToggleButton.tsx
3
+ *
4
+ * @license MIT
5
+ * @copyright 2025 a8ud10a8uc601uc9c4 (Kim Young Jin)
6
+ * @author a8ud10a8uc601uc9c4 (ehfuse@gmail.com)
7
+ */
8
+ import React from "react";
9
+ import type { ToggleButtonProps } from "./types";
10
+ export declare const ToggleButton: React.ForwardRefExoticComponent<Omit<ToggleButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import { NumberField as BaseNumberField } from "@base-ui/react/number-field";
3
+ export default function NumberField({ id: idProp, label, error, size, ...other }: BaseNumberField.Root.Props & {
4
+ label?: React.ReactNode;
5
+ size?: "small" | "medium";
6
+ error?: boolean;
7
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import { NumberField as BaseNumberField } from "@base-ui/react/number-field";
3
+ export default function NumberSpinner({ id: idProp, label, error, size, ...other }: BaseNumberField.Root.Props & {
4
+ label?: React.ReactNode;
5
+ size?: "small" | "medium";
6
+ error?: boolean;
7
+ }): import("react/jsx-runtime").JSX.Element;
@@ -2,3 +2,5 @@ export { GroupedInputWrapper } from "./GroupedInputWrapper";
2
2
  export type { GroupedInputWrapperProps } from "./GroupedInputWrapper";
3
3
  export { ColonBox } from "./ColonBox";
4
4
  export type { ColonBoxProps } from "./ColonBox";
5
+ export { default as NumberField } from "./NumberField";
6
+ export { default as NumberSpinner } from "./NumberSpinner";
package/dist/index.d.ts CHANGED
@@ -8,12 +8,18 @@
8
8
  export { SearchTextField } from "./SearchTextField";
9
9
  export { ClearTextField } from "./ClearTextField";
10
10
  export { PasswordTextField } from "./PasswordTextField";
11
+ export { TextField } from "./TextField";
11
12
  export { TextArea } from "./TextArea";
12
13
  export { Checkbox } from "./Checkbox";
13
14
  export { RadioGroup } from "./RadioGroup";
14
15
  export { Switch } from "./Switch";
16
+ export { Rating } from "./Rating";
17
+ export { ToggleButton } from "./ToggleButton";
18
+ export { ButtonGroup } from "./ButtonGroup";
15
19
  export { DateRange } from "./DateRange";
16
20
  export { Slider } from "./Slider";
21
+ export { Stepper } from "./Stepper";
22
+ export { NumberField, NumberSpinner } from "./NumberField";
17
23
  export { Autocomplete } from "./Autocomplete";
18
24
  export { Select } from "./Select";
19
25
  export { LabelSelect } from "./LabelSelect";
@@ -30,4 +36,4 @@ export { BizNumTextField } from "./BizNumTextField";
30
36
  export { CardNumTextField } from "./CardNumTextField";
31
37
  export { useKoreanHolidays, useKoreanHolidaysRange } from "./hooks";
32
38
  export { CardIcon, VisaIcon, MastercardIcon, AmexIcon, JcbIcon, DinersIcon, DiscoverIcon, UnionPayIcon, BcIcon, } from "./icons";
33
- export type { SearchTextFieldProps, ClearTextFieldProps, PasswordTextFieldProps, TextAreaProps, CheckboxProps, SwitchProps, RadioGroupProps, RadioOption, DateRangeProps, SliderProps, AutocompleteProps, AutocompleteOption, SelectProps, SelectOption, LabelSelectProps, LabelSelectOption, PasswordValidationRules, PasswordValidationResult, PhoneTextFieldProps, PhoneFormat, AddressTextFieldProps, DaumPostcodeData, NumberTextFieldProps, JuminTextFieldProps, JuminInfo, VerificationCodeTextFieldProps, VerificationCodeType, EmailTextFieldProps, CustomDomain, DateTextFieldProps, DateFormat, TimeTextFieldProps, TimeFormat, DateTimeTextFieldProps, DateTimeFormat, BizNumTextFieldProps, CardNumTextFieldProps, SelectChangeEvent, } from "./types";
39
+ export type { SearchTextFieldProps, ClearTextFieldProps, PasswordTextFieldProps, TextFieldProps, TextAreaProps, CheckboxProps, SwitchProps, RadioGroupProps, RadioOption, DateRangeProps, SliderProps, RatingProps, ToggleButtonProps, ButtonGroupProps, StepperProps, AutocompleteProps, AutocompleteOption, SelectProps, SelectOption, LabelSelectProps, LabelSelectOption, PasswordValidationRules, PasswordValidationResult, PhoneTextFieldProps, PhoneFormat, AddressTextFieldProps, DaumPostcodeData, NumberTextFieldProps, JuminTextFieldProps, JuminInfo, VerificationCodeTextFieldProps, VerificationCodeType, EmailTextFieldProps, CustomDomain, DateTextFieldProps, DateFormat, TimeTextFieldProps, TimeFormat, DateTimeTextFieldProps, DateTimeFormat, BizNumTextFieldProps, CardNumTextFieldProps, SelectChangeEvent, } from "./types";