@farmzone/fz-react-ui 1.1.4 → 1.1.5
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 +12 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +12 -6
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7927,7 +7927,8 @@ function PageFilter(props) {
|
|
|
7927
7927
|
onKeyDown: (e) => {
|
|
7928
7928
|
if (e.key === "Enter") handleSubmit();
|
|
7929
7929
|
},
|
|
7930
|
-
leftIcon: option.leftIcon !== false ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { size: 16 }) : void 0
|
|
7930
|
+
leftIcon: option.leftIcon !== false ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { size: 16 }) : void 0,
|
|
7931
|
+
className: option.className
|
|
7931
7932
|
}
|
|
7932
7933
|
) }, String(optionKey));
|
|
7933
7934
|
case "select":
|
|
@@ -7939,7 +7940,8 @@ function PageFilter(props) {
|
|
|
7939
7940
|
options: option.options,
|
|
7940
7941
|
placeholder: option.placeholder || "\uC120\uD0DD",
|
|
7941
7942
|
canReset: option.canReset ?? true,
|
|
7942
|
-
containerClassName: option.containerClassName ?? "w-30"
|
|
7943
|
+
containerClassName: option.containerClassName ?? "w-30",
|
|
7944
|
+
className: option.className
|
|
7943
7945
|
}
|
|
7944
7946
|
) }, String(optionKey));
|
|
7945
7947
|
case "radio":
|
|
@@ -7950,7 +7952,8 @@ function PageFilter(props) {
|
|
|
7950
7952
|
value: currentValue,
|
|
7951
7953
|
onChange: handleRadioChange(optionKey, option.autoSubmit),
|
|
7952
7954
|
options: option.options,
|
|
7953
|
-
direction: "horizontal"
|
|
7955
|
+
direction: "horizontal",
|
|
7956
|
+
containerClassName: option.className
|
|
7954
7957
|
}
|
|
7955
7958
|
) }, String(optionKey));
|
|
7956
7959
|
case "date":
|
|
@@ -7960,7 +7963,8 @@ function PageFilter(props) {
|
|
|
7960
7963
|
value: currentValue,
|
|
7961
7964
|
onChange: handleDateChange(optionKey),
|
|
7962
7965
|
placeholder: option.placeholder,
|
|
7963
|
-
onKeyDownEnter: handleSubmit
|
|
7966
|
+
onKeyDownEnter: handleSubmit,
|
|
7967
|
+
className: option.className
|
|
7964
7968
|
}
|
|
7965
7969
|
) }, String(optionKey));
|
|
7966
7970
|
case "date-range":
|
|
@@ -7970,7 +7974,8 @@ function PageFilter(props) {
|
|
|
7970
7974
|
startValue: currentValue,
|
|
7971
7975
|
endValue: String(values[option.endKey] ?? ""),
|
|
7972
7976
|
onRangeChange: handleRangeChangeCurried(optionKey, option.endKey),
|
|
7973
|
-
onKeyDownEnter: handleSubmit
|
|
7977
|
+
onKeyDownEnter: handleSubmit,
|
|
7978
|
+
className: option.className
|
|
7974
7979
|
}
|
|
7975
7980
|
) }, String(optionKey));
|
|
7976
7981
|
case "checkbox":
|
|
@@ -7981,7 +7986,8 @@ function PageFilter(props) {
|
|
|
7981
7986
|
name: String(optionKey),
|
|
7982
7987
|
value: currentValue,
|
|
7983
7988
|
label: option.label,
|
|
7984
|
-
onChange: handleCheckboxChange(optionKey, option.autoSubmit)
|
|
7989
|
+
onChange: handleCheckboxChange(optionKey, option.autoSubmit),
|
|
7990
|
+
className: option.className
|
|
7985
7991
|
}
|
|
7986
7992
|
) }, String(optionKey));
|
|
7987
7993
|
default: {
|