@edu-tosel/design 1.0.36 → 1.0.37
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/html/design/Select.design.js +3 -3
- package/html/widget/CheckBox.js +0 -1
- package/package.json +1 -1
- package/version.txt +1 -1
|
@@ -42,7 +42,7 @@ export default function SelectDesign({ state, selectOptions, placeholder, option
|
|
|
42
42
|
}, [search, selectOptions]);
|
|
43
43
|
const isLong = selectOptions && selectOptions.length >= 4;
|
|
44
44
|
const container = {
|
|
45
|
-
positions: "relative",
|
|
45
|
+
positions: "relative ",
|
|
46
46
|
displays: "flex flex-col",
|
|
47
47
|
};
|
|
48
48
|
const button = {
|
|
@@ -52,12 +52,12 @@ export default function SelectDesign({ state, selectOptions, placeholder, option
|
|
|
52
52
|
shadow: isOpen || isHover ? "box-shadow" : "shadow-none",
|
|
53
53
|
};
|
|
54
54
|
const input = {
|
|
55
|
-
positions: "absolute",
|
|
55
|
+
positions: "absolute z-30",
|
|
56
56
|
layouts: cn(button),
|
|
57
57
|
styles: "focus:outline-none text-xs pl-1.5",
|
|
58
58
|
};
|
|
59
59
|
const body = {
|
|
60
|
-
positions: "absolute z-
|
|
60
|
+
positions: "absolute z-30",
|
|
61
61
|
displays: "flex flex-col gap-1",
|
|
62
62
|
sizes: `${widthSize[options?.width ?? "md"]} min-h-6.5 max-h-23.75`,
|
|
63
63
|
paddings: "pl-1 py-1",
|
package/html/widget/CheckBox.js
CHANGED
|
@@ -15,6 +15,5 @@ export default function Checkbox({ state: [checked, setChecked], labels, options
|
|
|
15
15
|
green: "checked:bg-[#DFE6E5]",
|
|
16
16
|
};
|
|
17
17
|
const { disabled } = options ?? {};
|
|
18
|
-
console.log(checked);
|
|
19
18
|
return (_jsxs("div", { className: "w-auto h-6 flex items-center ", children: [_jsx("input", { type: "checkbox", className: `check-box mr-2 appearance-none w-6 h-6 border-2 border-[#E8EBF3] rounded-md ${checkBoxColor[color]} hover:box-shadow`, disabled: typeof disabled === "boolean" && disabled, checked: checked, onChange: (e) => setChecked(e.target.checked) }), _jsx("label", { htmlFor: "checkbox1", children: labels })] }));
|
|
20
19
|
}
|
package/package.json
CHANGED
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.37
|