nectiasw 0.0.71 → 0.0.72
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.es.js
CHANGED
|
@@ -19143,6 +19143,7 @@ const Checkbox = ({
|
|
|
19143
19143
|
right,
|
|
19144
19144
|
name,
|
|
19145
19145
|
label,
|
|
19146
|
+
hidden,
|
|
19146
19147
|
filter: filter2,
|
|
19147
19148
|
checked,
|
|
19148
19149
|
disabled,
|
|
@@ -19156,7 +19157,7 @@ const Checkbox = ({
|
|
|
19156
19157
|
onChange2 == null ? void 0 : onChange2(!checked);
|
|
19157
19158
|
};
|
|
19158
19159
|
if (filter2) {
|
|
19159
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx$1(classes$l.container.root, className && className), children: [
|
|
19160
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx$1(classes$l.container.root, className && className, hidden && "collapse"), children: [
|
|
19160
19161
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19161
19162
|
StyledCheckbox,
|
|
19162
19163
|
{
|
|
@@ -19165,14 +19166,14 @@ const Checkbox = ({
|
|
|
19165
19166
|
checked: filter2,
|
|
19166
19167
|
disabled,
|
|
19167
19168
|
onClick: handleClick,
|
|
19168
|
-
className: classes$l.container.input
|
|
19169
|
+
className: clsx$1(classes$l.container.input, hidden && "collapse")
|
|
19169
19170
|
}
|
|
19170
19171
|
),
|
|
19171
19172
|
/* @__PURE__ */ jsxRuntimeExports.jsx(CheckboxIconFilter, { top, right, left, status: filter2, onClick: handleClick }),
|
|
19172
|
-
label && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { htmlFor: id, className: classes$l.container.label, children: label })
|
|
19173
|
+
label && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { htmlFor: id, className: clsx$1(classes$l.container.label, hidden && "collapse"), children: label })
|
|
19173
19174
|
] });
|
|
19174
19175
|
}
|
|
19175
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx$1(classes$l.container.root, className && className), children: [
|
|
19176
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx$1(classes$l.container.root, className && className, hidden && "collapse"), children: [
|
|
19176
19177
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19177
19178
|
StyledCheckbox,
|
|
19178
19179
|
{
|
|
@@ -19181,11 +19182,11 @@ const Checkbox = ({
|
|
|
19181
19182
|
checked,
|
|
19182
19183
|
disabled,
|
|
19183
19184
|
onClick: handleClick,
|
|
19184
|
-
className: classes$l.container.input
|
|
19185
|
+
className: clsx$1(classes$l.container.input, hidden && "collapse")
|
|
19185
19186
|
}
|
|
19186
19187
|
),
|
|
19187
19188
|
/* @__PURE__ */ jsxRuntimeExports.jsx(CheckboxIcon, { top, right, left, status: checked, onClick: handleClick }),
|
|
19188
|
-
label && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { htmlFor: id, className: classes$l.container.label, children: label })
|
|
19189
|
+
label && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { htmlFor: id, className: clsx$1(classes$l.container.label, hidden && "collapse"), children: label })
|
|
19189
19190
|
] });
|
|
19190
19191
|
};
|
|
19191
19192
|
const classes$k = {
|