@chekinapp/ui 0.0.135 → 0.0.137
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 +50 -44
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +22 -16
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14745,6 +14745,7 @@ import * as React59 from "react";
|
|
|
14745
14745
|
import { useTranslation as useTranslation36 } from "react-i18next";
|
|
14746
14746
|
|
|
14747
14747
|
// src/dashboard/select-checkboxes/SelectCheckboxOption.tsx
|
|
14748
|
+
import { Check as Check7 } from "lucide-react";
|
|
14748
14749
|
import { jsx as jsx163, jsxs as jsxs102 } from "react/jsx-runtime";
|
|
14749
14750
|
function SelectCheckboxOption(props) {
|
|
14750
14751
|
const {
|
|
@@ -14780,14 +14781,16 @@ function SelectCheckboxOption(props) {
|
|
|
14780
14781
|
),
|
|
14781
14782
|
children: [
|
|
14782
14783
|
/* @__PURE__ */ jsx163(
|
|
14783
|
-
|
|
14784
|
+
"span",
|
|
14784
14785
|
{
|
|
14785
|
-
|
|
14786
|
-
|
|
14787
|
-
|
|
14788
|
-
|
|
14789
|
-
|
|
14790
|
-
|
|
14786
|
+
"aria-hidden": "true",
|
|
14787
|
+
"data-state": isSelected ? "checked" : "unchecked",
|
|
14788
|
+
className: cn(
|
|
14789
|
+
"checkbox__control pointer-events-none flex h-4 w-4 shrink-0 items-center justify-center rounded-sm border border-solid",
|
|
14790
|
+
isSelected ? "border-[var(--checkbox-checked-border)] bg-[var(--checkbox-checked-bg)] text-[var(--checkbox-check-color)]" : "border-[var(--checkbox-border)] bg-[var(--checkbox-bg)]",
|
|
14791
|
+
isDisabled && "opacity-50"
|
|
14792
|
+
),
|
|
14793
|
+
children: isSelected && /* @__PURE__ */ jsx163(Check7, { className: "checkbox__icon h-3 w-3" })
|
|
14791
14794
|
}
|
|
14792
14795
|
),
|
|
14793
14796
|
/* @__PURE__ */ jsxs102("span", { className: "flex min-w-0 flex-1 items-center justify-between gap-2", children: [
|
|
@@ -14885,6 +14888,7 @@ function createCountTrigger(opts) {
|
|
|
14885
14888
|
}
|
|
14886
14889
|
|
|
14887
14890
|
// src/dashboard/select-checkboxes/SelectAllRow.tsx
|
|
14891
|
+
import { Check as Check8 } from "lucide-react";
|
|
14888
14892
|
import { jsx as jsx165, jsxs as jsxs104 } from "react/jsx-runtime";
|
|
14889
14893
|
function SelectAllRow({ label, checked, disabled, onToggle }) {
|
|
14890
14894
|
return /* @__PURE__ */ jsxs104(
|
|
@@ -14899,14 +14903,16 @@ function SelectAllRow({ label, checked, disabled, onToggle }) {
|
|
|
14899
14903
|
),
|
|
14900
14904
|
children: [
|
|
14901
14905
|
/* @__PURE__ */ jsx165(
|
|
14902
|
-
|
|
14906
|
+
"span",
|
|
14903
14907
|
{
|
|
14904
|
-
|
|
14905
|
-
|
|
14906
|
-
|
|
14907
|
-
|
|
14908
|
-
|
|
14909
|
-
|
|
14908
|
+
"aria-hidden": "true",
|
|
14909
|
+
"data-state": checked ? "checked" : "unchecked",
|
|
14910
|
+
className: cn(
|
|
14911
|
+
"checkbox__control pointer-events-none flex h-4 w-4 shrink-0 items-center justify-center rounded-sm border border-solid",
|
|
14912
|
+
checked ? "border-[var(--checkbox-checked-border)] bg-[var(--checkbox-checked-bg)] text-[var(--checkbox-check-color)]" : "border-[var(--checkbox-border)] bg-[var(--checkbox-bg)]",
|
|
14913
|
+
disabled && "opacity-50"
|
|
14914
|
+
),
|
|
14915
|
+
children: checked && /* @__PURE__ */ jsx165(Check8, { className: "checkbox__icon h-3 w-3" })
|
|
14910
14916
|
}
|
|
14911
14917
|
),
|
|
14912
14918
|
/* @__PURE__ */ jsx165("span", { className: "flex-1", children: label })
|
|
@@ -20262,7 +20268,7 @@ AirbnbSearchInput.displayName = "AirbnbSearchInput";
|
|
|
20262
20268
|
// src/airbnb-fields/switch/Switch.tsx
|
|
20263
20269
|
import * as React83 from "react";
|
|
20264
20270
|
import * as SwitchPrimitives2 from "@radix-ui/react-switch";
|
|
20265
|
-
import { Check as
|
|
20271
|
+
import { Check as Check9 } from "lucide-react";
|
|
20266
20272
|
import { Fragment as Fragment18, jsx as jsx192, jsxs as jsxs126 } from "react/jsx-runtime";
|
|
20267
20273
|
var AirbnbSwitch = React83.forwardRef(
|
|
20268
20274
|
({
|
|
@@ -20308,7 +20314,7 @@ var AirbnbSwitch = React83.forwardRef(
|
|
|
20308
20314
|
"data-[state=checked]:translate-x-[12px] data-[state=unchecked]:translate-x-0"
|
|
20309
20315
|
),
|
|
20310
20316
|
children: /* @__PURE__ */ jsx192(
|
|
20311
|
-
|
|
20317
|
+
Check9,
|
|
20312
20318
|
{
|
|
20313
20319
|
"aria-hidden": "true",
|
|
20314
20320
|
className: "h-3 w-3 text-[#222222] opacity-0 transition-opacity duration-150 group-data-[state=checked]:opacity-100",
|