@chekinapp/ui 0.0.135 → 0.0.136
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 +7 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +81 -107
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -15122,7 +15122,7 @@ function SelectCheckboxOption(props) {
|
|
|
15122
15122
|
onHover,
|
|
15123
15123
|
innerRef
|
|
15124
15124
|
} = props;
|
|
15125
|
-
return /* @__PURE__ */ (0, import_jsx_runtime165.
|
|
15125
|
+
return /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(
|
|
15126
15126
|
"button",
|
|
15127
15127
|
{
|
|
15128
15128
|
id,
|
|
@@ -15142,23 +15142,10 @@ function SelectCheckboxOption(props) {
|
|
|
15142
15142
|
isSelected && "bg-[var(--chekin-color-surface-autocomplete)] font-semibold text-[var(--chekin-color-brand-blue)]",
|
|
15143
15143
|
isDisabled && "cursor-not-allowed text-[var(--chekin-color-gray-2)]"
|
|
15144
15144
|
),
|
|
15145
|
-
children: [
|
|
15146
|
-
/* @__PURE__ */ (0, import_jsx_runtime165.jsx)(
|
|
15147
|
-
|
|
15148
|
-
|
|
15149
|
-
checked: isSelected,
|
|
15150
|
-
disabled: isDisabled,
|
|
15151
|
-
size: "s",
|
|
15152
|
-
tabIndex: -1,
|
|
15153
|
-
className: "pointer-events-none shrink-0",
|
|
15154
|
-
onClick: (event) => event.stopPropagation()
|
|
15155
|
-
}
|
|
15156
|
-
),
|
|
15157
|
-
/* @__PURE__ */ (0, import_jsx_runtime165.jsxs)("span", { className: "flex min-w-0 flex-1 items-center justify-between gap-2", children: [
|
|
15158
|
-
/* @__PURE__ */ (0, import_jsx_runtime165.jsx)("span", { className: "block break-words", children: option.label }),
|
|
15159
|
-
option.description && /* @__PURE__ */ (0, import_jsx_runtime165.jsx)("span", { className: "shrink-0 text-[12px] font-medium italic text-[var(--chekin-color-gray-1)]", children: option.description })
|
|
15160
|
-
] })
|
|
15161
|
-
]
|
|
15145
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime165.jsxs)("span", { className: "flex min-w-0 flex-1 items-center justify-between gap-2", children: [
|
|
15146
|
+
/* @__PURE__ */ (0, import_jsx_runtime165.jsx)("span", { className: "block break-words", children: option.label }),
|
|
15147
|
+
option.description && /* @__PURE__ */ (0, import_jsx_runtime165.jsx)("span", { className: "shrink-0 text-[12px] font-medium italic text-[var(--chekin-color-gray-1)]", children: option.description })
|
|
15148
|
+
] })
|
|
15162
15149
|
}
|
|
15163
15150
|
);
|
|
15164
15151
|
}
|
|
@@ -15251,7 +15238,7 @@ function createCountTrigger(opts) {
|
|
|
15251
15238
|
// src/dashboard/select-checkboxes/SelectAllRow.tsx
|
|
15252
15239
|
var import_jsx_runtime167 = require("react/jsx-runtime");
|
|
15253
15240
|
function SelectAllRow({ label, checked, disabled, onToggle }) {
|
|
15254
|
-
return /* @__PURE__ */ (0, import_jsx_runtime167.
|
|
15241
|
+
return /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
|
|
15255
15242
|
"button",
|
|
15256
15243
|
{
|
|
15257
15244
|
type: "button",
|
|
@@ -15261,20 +15248,7 @@ function SelectAllRow({ label, checked, disabled, onToggle }) {
|
|
|
15261
15248
|
"flex w-full items-center gap-3 border-0 border-b border-[#f2f4f8] bg-white px-4 py-[14px] text-left text-[16px] font-bold leading-5 text-[var(--chekin-color-brand-navy)] outline-none transition-colors hover:bg-[var(--chekin-color-surface-pressed)]",
|
|
15262
15249
|
disabled && "cursor-default opacity-40"
|
|
15263
15250
|
),
|
|
15264
|
-
children:
|
|
15265
|
-
/* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
|
|
15266
|
-
BaseCheckbox,
|
|
15267
|
-
{
|
|
15268
|
-
checked,
|
|
15269
|
-
disabled,
|
|
15270
|
-
size: "s",
|
|
15271
|
-
tabIndex: -1,
|
|
15272
|
-
className: "pointer-events-none shrink-0",
|
|
15273
|
-
onClick: (event) => event.stopPropagation()
|
|
15274
|
-
}
|
|
15275
|
-
),
|
|
15276
|
-
/* @__PURE__ */ (0, import_jsx_runtime167.jsx)("span", { className: "flex-1", children: label })
|
|
15277
|
-
]
|
|
15251
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("span", { className: "flex-1", children: label })
|
|
15278
15252
|
}
|
|
15279
15253
|
);
|
|
15280
15254
|
}
|