@selectwin/kit 0.1.150 → 0.1.151
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/SelectMoneyField.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -11,8 +11,8 @@ type SelectMoneyFieldOwnProps = {
|
|
|
11
11
|
placeholder?: string;
|
|
12
12
|
name?: string;
|
|
13
13
|
disabled?: boolean;
|
|
14
|
-
/** Control density. Default `md`; use `sm` in dense surfaces and modal/card forms. */
|
|
15
|
-
size?: 'sm' | 'md';
|
|
14
|
+
/** Control density. Default `md`; use `sm` in dense surfaces and modal/card forms; `lg` when the amount IS the task. */
|
|
15
|
+
size?: 'sm' | 'md' | 'lg';
|
|
16
16
|
};
|
|
17
17
|
export type SelectMoneyFieldProps = SelectMoneyFieldOwnProps & Omit<ComponentPropsWithoutRef<'div'>, keyof SelectMoneyFieldOwnProps>;
|
|
18
18
|
export declare const SelectMoneyField: import('react').ForwardRefExoticComponent<SelectMoneyFieldOwnProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof SelectMoneyFieldOwnProps> & import('react').RefAttributes<HTMLDivElement>>;
|
package/dist/index.js
CHANGED
|
@@ -2937,7 +2937,7 @@ var Mn = r(function({ label: e, value: t, onChange: n, info: r, hint: i, error:
|
|
|
2937
2937
|
return /* @__PURE__ */ g("div", {
|
|
2938
2938
|
ref: v,
|
|
2939
2939
|
..._,
|
|
2940
|
-
className: `select-field${p === "sm" ? " select-field--sm" : ""}${m ? " " + m : ""}`,
|
|
2940
|
+
className: `select-field${p === "sm" ? " select-field--sm" : p === "lg" ? " select-field--lg" : ""}${m ? " " + m : ""}`,
|
|
2941
2941
|
children: [
|
|
2942
2942
|
e && /* @__PURE__ */ h(Sn, {
|
|
2943
2943
|
htmlFor: y,
|