utopia-ui 3.0.0-alpha.230 → 3.0.0-alpha.231
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -3151,8 +3151,8 @@ function FilterControl() {
|
|
3151
3151
|
var toggleVisibleGroupType = useToggleVisibleGroupType();
|
3152
3152
|
var addVisibleGroupType = useAddVisibleGroupType();
|
3153
3153
|
var visibleGroupTypes = useVisibleGroupType();
|
3154
|
-
return (jsx("div", __assign({ className: "tw-card tw-bg-base-100 tw-shadow-xl tw-mt-2 tw-w-fit
|
3155
|
-
jsxs("div", __assign({ className: "tw-card-body tw-p-2 tw-w-fit tw-transition-all tw-duration-300" }, { children: [jsx("label", __assign({ className: "tw-btn tw-btn-sm tw-rounded-2xl tw-btn-circle tw-btn-ghost hover:tw-bg-transparent tw-absolute tw-right-0 tw-top-0 tw-text-gray-600", onClick: function () {
|
3154
|
+
return (jsx("div", __assign({ className: "tw-card tw-bg-base-100 tw-shadow-xl tw-mt-2 tw-w-fit" }, { children: open ?
|
3155
|
+
jsxs("div", __assign({ className: "tw-card-body tw-pr-4 tw-p-2 tw-w-fit tw-transition-all tw-duration-300" }, { children: [jsx("label", __assign({ className: "tw-btn tw-btn-sm tw-rounded-2xl tw-btn-circle tw-btn-ghost hover:tw-bg-transparent tw-absolute tw-right-0 tw-top-0 tw-text-gray-600", onClick: function () {
|
3156
3156
|
setOpen(false);
|
3157
3157
|
} }, { children: jsx("p", __assign({ className: 'tw-text-center ' }, { children: "\u2715" })) })), jsx("ul", __assign({ className: 'tw-flex-row' }, { children: groupTypes.map(function (groupType) {
|
3158
3158
|
return jsx("li", { children: jsxs("label", __assign({ htmlFor: groupType.value, className: "tw-label tw-justify-normal tw-pt-1 tw-pb-1" }, { children: [jsx("input", { id: groupType.value, onChange: function () { return toggleVisibleGroupType(groupType.value); }, type: "checkbox", className: "tw-checkbox tw-checkbox-xs tw-checkbox-success", checked: isGroupTypeVisible(groupType.value) }), jsx("span", __assign({ className: 'tw-text-sm tw-label-text tw-mx-2 tw-cursor-pointer' }, { children: groupType.text }))] })) }, groupType.value);
|