@pos-360/horizon 0.31.6 → 0.32.1
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/{chunk-MPODJZUU.js → chunk-JZNDF5NR.js} +12 -7
- package/dist/chunk-JZNDF5NR.js.map +1 -0
- package/dist/{chunk-YG23UX2C.mjs → chunk-K6HNMRFK.mjs} +12 -7
- package/dist/chunk-K6HNMRFK.mjs.map +1 -0
- package/dist/index.js +107 -107
- package/dist/index.mjs +1 -1
- package/dist/primitives.d.mts +1 -0
- package/dist/primitives.d.ts +1 -0
- package/dist/primitives.js +107 -107
- package/dist/primitives.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-MPODJZUU.js.map +0 -1
- package/dist/chunk-YG23UX2C.mjs.map +0 -1
|
@@ -1065,6 +1065,8 @@ var SelectBar = React11__namespace.forwardRef(({
|
|
|
1065
1065
|
option.disabled && "pointer-events-none opacity-50"
|
|
1066
1066
|
),
|
|
1067
1067
|
children: [
|
|
1068
|
+
option.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: option.icon }),
|
|
1069
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate flex-1", children: option.label }),
|
|
1068
1070
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1069
1071
|
"div",
|
|
1070
1072
|
{
|
|
@@ -1074,8 +1076,7 @@ var SelectBar = React11__namespace.forwardRef(({
|
|
|
1074
1076
|
),
|
|
1075
1077
|
children: checked && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "h-3.5 w-3.5", strokeWidth: 3 })
|
|
1076
1078
|
}
|
|
1077
|
-
)
|
|
1078
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: option.label })
|
|
1079
|
+
)
|
|
1079
1080
|
]
|
|
1080
1081
|
},
|
|
1081
1082
|
option.value
|
|
@@ -1089,13 +1090,17 @@ var SelectBar = React11__namespace.forwardRef(({
|
|
|
1089
1090
|
disabled: option.disabled,
|
|
1090
1091
|
onClick: () => handleSingleSelect(option.value),
|
|
1091
1092
|
className: chunkD2BLWOWK_js.cn(
|
|
1092
|
-
"relative flex w-full cursor-default select-none items-center rounded-hz-md py-1.5
|
|
1093
|
+
"relative flex w-full cursor-default select-none items-center gap-2 rounded-hz-md py-1.5 px-2 text-sm outline-none transition-colors",
|
|
1093
1094
|
"hover:bg-black/5 dark:hover:bg-white/10",
|
|
1094
1095
|
option.disabled && "pointer-events-none opacity-50"
|
|
1095
1096
|
),
|
|
1096
1097
|
children: [
|
|
1097
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "
|
|
1098
|
-
|
|
1098
|
+
option.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: option.icon }),
|
|
1099
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate flex-1", children: option.label }),
|
|
1100
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkD2BLWOWK_js.cn(
|
|
1101
|
+
"h-4 w-4 shrink-0 flex items-center justify-center",
|
|
1102
|
+
selected ? "text-blue-600 dark:text-blue-400" : "text-transparent"
|
|
1103
|
+
), children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "h-4 w-4" }) })
|
|
1099
1104
|
]
|
|
1100
1105
|
},
|
|
1101
1106
|
option.value
|
|
@@ -3796,5 +3801,5 @@ exports.useColumnVisibility = useColumnVisibility;
|
|
|
3796
3801
|
exports.useFormContext = useFormContext;
|
|
3797
3802
|
exports.useFormFieldContext = useFormFieldContext;
|
|
3798
3803
|
exports.useTableSelection = useTableSelection;
|
|
3799
|
-
//# sourceMappingURL=chunk-
|
|
3800
|
-
//# sourceMappingURL=chunk-
|
|
3804
|
+
//# sourceMappingURL=chunk-JZNDF5NR.js.map
|
|
3805
|
+
//# sourceMappingURL=chunk-JZNDF5NR.js.map
|