@pos-360/horizon 0.32.0 → 0.32.2

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.
@@ -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,9 +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
- option.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: option.icon }),
1079
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: option.label })
1079
+ )
1080
1080
  ]
1081
1081
  },
1082
1082
  option.value
@@ -1090,17 +1090,17 @@ var SelectBar = React11__namespace.forwardRef(({
1090
1090
  disabled: option.disabled,
1091
1091
  onClick: () => handleSingleSelect(option.value),
1092
1092
  className: chunkD2BLWOWK_js.cn(
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
+ "relative flex w-full cursor-default select-none items-center gap-2 rounded-hz-md py-1.5 px-2 text-left text-sm outline-none transition-colors",
1094
1094
  "hover:bg-black/5 dark:hover:bg-white/10",
1095
1095
  option.disabled && "pointer-events-none opacity-50"
1096
1096
  ),
1097
1097
  children: [
1098
+ option.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: option.icon }),
1099
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate flex-1 text-left", children: option.label }),
1098
1100
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunkD2BLWOWK_js.cn(
1099
1101
  "h-4 w-4 shrink-0 flex items-center justify-center",
1100
1102
  selected ? "text-blue-600 dark:text-blue-400" : "text-transparent"
1101
- ), children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "h-4 w-4" }) }),
1102
- option.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0", children: option.icon }),
1103
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: option.label })
1103
+ ), children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "h-4 w-4" }) })
1104
1104
  ]
1105
1105
  },
1106
1106
  option.value
@@ -3801,5 +3801,5 @@ exports.useColumnVisibility = useColumnVisibility;
3801
3801
  exports.useFormContext = useFormContext;
3802
3802
  exports.useFormFieldContext = useFormFieldContext;
3803
3803
  exports.useTableSelection = useTableSelection;
3804
- //# sourceMappingURL=chunk-B5WFOKDT.js.map
3805
- //# sourceMappingURL=chunk-B5WFOKDT.js.map
3804
+ //# sourceMappingURL=chunk-CKPG4Y3W.js.map
3805
+ //# sourceMappingURL=chunk-CKPG4Y3W.js.map