@chekinapp/ui 0.0.76 → 0.0.77
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 +31 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +31 -23
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4439,20 +4439,20 @@ var HALO_ICON_STATUS = {
|
|
|
4439
4439
|
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
4440
4440
|
var statusStyles = {
|
|
4441
4441
|
[HALO_ICON_STATUS.inactive]: {
|
|
4442
|
-
background: "bg-[
|
|
4443
|
-
color: "text-[
|
|
4442
|
+
background: "bg-[#f4f6f8]",
|
|
4443
|
+
color: "text-[#9696b9]"
|
|
4444
4444
|
},
|
|
4445
4445
|
[HALO_ICON_STATUS.active]: {
|
|
4446
|
-
background: "bg-[
|
|
4447
|
-
color: "text-[
|
|
4446
|
+
background: "bg-[#eff6ff]",
|
|
4447
|
+
color: "text-[#385cf8]"
|
|
4448
4448
|
},
|
|
4449
4449
|
[HALO_ICON_STATUS.success]: {
|
|
4450
4450
|
background: "bg-[#e8fcf7]",
|
|
4451
4451
|
color: "text-[#2bc29f]"
|
|
4452
4452
|
},
|
|
4453
4453
|
[HALO_ICON_STATUS.danger]: {
|
|
4454
|
-
background: "bg-[#
|
|
4455
|
-
color: "text-[
|
|
4454
|
+
background: "bg-[#fff5f9]",
|
|
4455
|
+
color: "text-[#ff2467]"
|
|
4456
4456
|
}
|
|
4457
4457
|
};
|
|
4458
4458
|
var HaloIcon = (0, import_react42.forwardRef)(
|
|
@@ -8589,7 +8589,7 @@ var SignatureCanvas = (0, import_react69.forwardRef)(
|
|
|
8589
8589
|
type: "button",
|
|
8590
8590
|
className: cn(
|
|
8591
8591
|
"absolute left-0 top-0 z-10 flex h-[174px] w-[250px] flex-col items-center",
|
|
8592
|
-
"justify-between rounded border-0 bg-[var(--signature-canvas-placeholder-bg)] px-0 pb-
|
|
8592
|
+
"justify-between rounded border-0 bg-[var(--signature-canvas-placeholder-bg)] px-0 pb-7 pt-10",
|
|
8593
8593
|
"cursor-pointer select-none"
|
|
8594
8594
|
),
|
|
8595
8595
|
onClick: onEnable,
|
|
@@ -8600,7 +8600,7 @@ var SignatureCanvas = (0, import_react69.forwardRef)(
|
|
|
8600
8600
|
"span",
|
|
8601
8601
|
{
|
|
8602
8602
|
className: cn(
|
|
8603
|
-
"mx-auto max-w-[154px] break-words text-center text-sm font-medium uppercase",
|
|
8603
|
+
"mx-auto mt-2 max-w-[154px] break-words text-center text-sm font-medium uppercase",
|
|
8604
8604
|
"text-[var(--signature-canvas-placeholder-text)] opacity-[0.55]"
|
|
8605
8605
|
),
|
|
8606
8606
|
children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_react_i18next16.Trans, { i18nKey: "signature_placeholder_text" })
|
|
@@ -10234,15 +10234,15 @@ function UploadedFilesList({
|
|
|
10234
10234
|
return /* @__PURE__ */ (0, import_jsx_runtime131.jsx)("div", { className: cn("flex flex-wrap gap-2.5", className), children: files.map((file, index) => /* @__PURE__ */ (0, import_jsx_runtime131.jsxs)(
|
|
10235
10235
|
"div",
|
|
10236
10236
|
{
|
|
10237
|
-
className: "flex cursor-default items-center gap-2 rounded border border-[
|
|
10237
|
+
className: "flex cursor-default items-center gap-2 rounded border border-[#acacd5] bg-[#f0f0f8] py-1.5 pl-3 pr-1.5",
|
|
10238
10238
|
children: [
|
|
10239
|
-
/* @__PURE__ */ (0, import_jsx_runtime131.jsx)("span", { className: "text-nowrap text-sm font-medium leading-5 text-[
|
|
10239
|
+
/* @__PURE__ */ (0, import_jsx_runtime131.jsx)("span", { className: "text-nowrap text-sm font-medium leading-5 text-[#161643]", children: file.name }),
|
|
10240
10240
|
/* @__PURE__ */ (0, import_jsx_runtime131.jsx)(
|
|
10241
10241
|
"button",
|
|
10242
10242
|
{
|
|
10243
10243
|
type: "button",
|
|
10244
10244
|
onClick: () => onRemoveFile(file.name),
|
|
10245
|
-
className: "flex h-[18px] w-[18px] shrink-0 cursor-pointer items-center justify-center rounded bg-[
|
|
10245
|
+
className: "flex h-[18px] w-[18px] shrink-0 cursor-pointer items-center justify-center rounded bg-[#6b6b95] transition-all hover:shadow-md active:opacity-95",
|
|
10246
10246
|
"aria-label": `Remove ${file.name}`,
|
|
10247
10247
|
children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(import_lucide_react37.X, { className: "h-3.5 w-3.5 text-white", strokeWidth: 3 })
|
|
10248
10248
|
}
|
|
@@ -14823,7 +14823,9 @@ function DashboardMultiSelectInternal({
|
|
|
14823
14823
|
}, [isOpen, filteredOptions]);
|
|
14824
14824
|
React58.useEffect(() => {
|
|
14825
14825
|
if (!isOpen || !isMobile2) return;
|
|
14826
|
-
const frame = window.requestAnimationFrame(
|
|
14826
|
+
const frame = window.requestAnimationFrame(
|
|
14827
|
+
() => mobileSearchInputRef.current?.focus()
|
|
14828
|
+
);
|
|
14827
14829
|
return () => window.cancelAnimationFrame(frame);
|
|
14828
14830
|
}, [isOpen, isMobile2]);
|
|
14829
14831
|
const openMenu = () => {
|
|
@@ -16756,7 +16758,13 @@ var DashboardDateRangePicker = React66.forwardRef(function DashboardDateRangePic
|
|
|
16756
16758
|
const normalizedMaxDate = React66.useMemo(() => toDate(maxDate), [maxDate]);
|
|
16757
16759
|
const formatter = React66.useMemo(() => formatDate(displayFormat), [displayFormat]);
|
|
16758
16760
|
const parser = React66.useMemo(() => parseDate(displayFormat), [displayFormat]);
|
|
16759
|
-
const { fromText, toText, setFromText, setToText, handleFromBlur, handleToBlur } = useRangeTextInputs({
|
|
16761
|
+
const { fromText, toText, setFromText, setToText, handleFromBlur, handleToBlur } = useRangeTextInputs({
|
|
16762
|
+
value,
|
|
16763
|
+
format: formatter,
|
|
16764
|
+
parse: parser,
|
|
16765
|
+
onCommit: commit,
|
|
16766
|
+
onBlur
|
|
16767
|
+
});
|
|
16760
16768
|
const { month, setMonth, syncMonthToValue } = useRangeMonthSync(value);
|
|
16761
16769
|
const [isOpen, setIsOpen] = React66.useState(false);
|
|
16762
16770
|
const [focusedInput, setFocusedInput] = React66.useState(null);
|
|
@@ -16839,7 +16847,15 @@ var DashboardDateRangePicker = React66.forwardRef(function DashboardDateRangePic
|
|
|
16839
16847
|
open: openCalendar,
|
|
16840
16848
|
close: closeCalendar
|
|
16841
16849
|
}),
|
|
16842
|
-
[
|
|
16850
|
+
[
|
|
16851
|
+
closeCalendar,
|
|
16852
|
+
commit,
|
|
16853
|
+
formatter,
|
|
16854
|
+
openCalendar,
|
|
16855
|
+
setFromText,
|
|
16856
|
+
setToText,
|
|
16857
|
+
syncMonthToValue
|
|
16858
|
+
]
|
|
16843
16859
|
);
|
|
16844
16860
|
return /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(
|
|
16845
16861
|
"div",
|
|
@@ -17266,15 +17282,7 @@ var DashboardFileInput = React69.forwardRef(
|
|
|
17266
17282
|
onClick: handleClear,
|
|
17267
17283
|
className: "ml-2 flex h-[15px] w-[15px] items-center justify-center rounded-[3px] border-0 bg-transparent p-0 text-[#9696b9] outline-none hover:shadow-[0_3px_3px_#0f477734]",
|
|
17268
17284
|
"aria-label": t("remove_file"),
|
|
17269
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
|
|
17270
|
-
import_lucide_react53.SquareX,
|
|
17271
|
-
{
|
|
17272
|
-
size: 15,
|
|
17273
|
-
fill: "#9696b9",
|
|
17274
|
-
color: "#f8f8f8",
|
|
17275
|
-
strokeWidth: 1.8
|
|
17276
|
-
}
|
|
17277
|
-
)
|
|
17285
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(import_lucide_react53.SquareX, { size: 15, fill: "#9696b9", color: "#f8f8f8", strokeWidth: 1.8 })
|
|
17278
17286
|
}
|
|
17279
17287
|
)
|
|
17280
17288
|
]
|