@pos-360/horizon 0.31.1 → 0.31.3

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.
@@ -975,7 +975,7 @@ var SelectBar = React11.forwardRef(({
975
975
  }
976
976
  return /* @__PURE__ */ jsx("span", { className: "text-gray-400 dark:text-gray-500 truncate", children: placeholder });
977
977
  };
978
- return /* @__PURE__ */ jsxs("div", { className: cn("space-y-1.5", className), children: [
978
+ return /* @__PURE__ */ jsxs("div", { className: cn("space-y-1.5 h-8", className), children: [
979
979
  label && /* @__PURE__ */ jsx(Label, { className: "text-sm font-medium text-gray-900 dark:text-gray-100", children: label }),
980
980
  /* @__PURE__ */ jsxs(Popover, { open, onOpenChange: handleOpenChange, children: [
981
981
  /* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
@@ -985,10 +985,7 @@ var SelectBar = React11.forwardRef(({
985
985
  type: "button",
986
986
  disabled,
987
987
  className: cn(
988
- "flex h-[52px] min-h-[52px] w-full items-center justify-between gap-2 rounded-hz-md border border-gray-300 bg-white px-3 text-sm shadow-sm transition-colors",
989
- "hover:bg-gray-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2",
990
- "dark:border-neutral-600 dark:bg-neutral-800 dark:hover:bg-neutral-700",
991
- "disabled:pointer-events-none disabled:opacity-50"
988
+ "flex h-8 w-full items-center justify-between gap-2 text-left rounded-md border border-gray-300 bg-white px-3 py-1 text-sm text-gray-900 focus:outline-none focus:ring-0 disabled:cursor-not-allowed disabled:opacity-50 dark:border-neutral-600 dark:bg-neutral-800 dark:text-gray-100 [&>span]:line-clamp-1"
992
989
  ),
993
990
  children: [
994
991
  /* @__PURE__ */ jsx("span", { className: "flex-1 min-w-0 flex items-center", children: renderTriggerContent() }),
@@ -3665,5 +3662,5 @@ function PeriodComparisonSelector({
3665
3662
  }
3666
3663
 
3667
3664
  export { Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ColumnSelection, DEFAULT_COMPARISON_PERIODS, DEFAULT_PRESETS, DEFAULT_TIME_RANGE, DateRangePicker, DateRangePickerMobile, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormLabel, FormMessage, MobileDataCard, PeriodComparisonSelector, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, SegmentedControl, Select, SelectBar, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator3 as Separator, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonButton, SkeletonCard, SkeletonIcon, SkeletonInput, SkeletonSubtitle, SkeletonTableRow, SkeletonTableRows, SkeletonText, SkeletonTitle, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableRowCheckbox, TableSelectAll, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, buttonVariants, segmentedControlItemVariants, segmentedControlVariants, separatorVariants, switchLabelVariants, switchThumbVariants, switchTrackVariants, toggleGroupVariants, toggleItemVariants, useColumnVisibility, useFormContext, useFormFieldContext, useTableSelection };
3668
- //# sourceMappingURL=chunk-NNP7MDQI.mjs.map
3669
- //# sourceMappingURL=chunk-NNP7MDQI.mjs.map
3665
+ //# sourceMappingURL=chunk-4A5JIFYS.mjs.map
3666
+ //# sourceMappingURL=chunk-4A5JIFYS.mjs.map