@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
|
@@ -1035,6 +1035,8 @@ var SelectBar = React11.forwardRef(({
|
|
|
1035
1035
|
option.disabled && "pointer-events-none opacity-50"
|
|
1036
1036
|
),
|
|
1037
1037
|
children: [
|
|
1038
|
+
option.icon && /* @__PURE__ */ jsx("span", { className: "shrink-0", children: option.icon }),
|
|
1039
|
+
/* @__PURE__ */ jsx("span", { className: "truncate flex-1", children: option.label }),
|
|
1038
1040
|
/* @__PURE__ */ jsx(
|
|
1039
1041
|
"div",
|
|
1040
1042
|
{
|
|
@@ -1044,8 +1046,7 @@ var SelectBar = React11.forwardRef(({
|
|
|
1044
1046
|
),
|
|
1045
1047
|
children: checked && /* @__PURE__ */ jsx(Check, { className: "h-3.5 w-3.5", strokeWidth: 3 })
|
|
1046
1048
|
}
|
|
1047
|
-
)
|
|
1048
|
-
/* @__PURE__ */ jsx("span", { className: "truncate", children: option.label })
|
|
1049
|
+
)
|
|
1049
1050
|
]
|
|
1050
1051
|
},
|
|
1051
1052
|
option.value
|
|
@@ -1059,13 +1060,17 @@ var SelectBar = React11.forwardRef(({
|
|
|
1059
1060
|
disabled: option.disabled,
|
|
1060
1061
|
onClick: () => handleSingleSelect(option.value),
|
|
1061
1062
|
className: cn(
|
|
1062
|
-
"relative flex w-full cursor-default select-none items-center rounded-hz-md py-1.5
|
|
1063
|
+
"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",
|
|
1063
1064
|
"hover:bg-black/5 dark:hover:bg-white/10",
|
|
1064
1065
|
option.disabled && "pointer-events-none opacity-50"
|
|
1065
1066
|
),
|
|
1066
1067
|
children: [
|
|
1067
|
-
/* @__PURE__ */ jsx("span", { className: "
|
|
1068
|
-
|
|
1068
|
+
option.icon && /* @__PURE__ */ jsx("span", { className: "shrink-0", children: option.icon }),
|
|
1069
|
+
/* @__PURE__ */ jsx("span", { className: "truncate flex-1", children: option.label }),
|
|
1070
|
+
/* @__PURE__ */ jsx("span", { className: cn(
|
|
1071
|
+
"h-4 w-4 shrink-0 flex items-center justify-center",
|
|
1072
|
+
selected ? "text-blue-600 dark:text-blue-400" : "text-transparent"
|
|
1073
|
+
), children: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }) })
|
|
1069
1074
|
]
|
|
1070
1075
|
},
|
|
1071
1076
|
option.value
|
|
@@ -3661,5 +3666,5 @@ function PeriodComparisonSelector({
|
|
|
3661
3666
|
}
|
|
3662
3667
|
|
|
3663
3668
|
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 };
|
|
3664
|
-
//# sourceMappingURL=chunk-
|
|
3665
|
-
//# sourceMappingURL=chunk-
|
|
3669
|
+
//# sourceMappingURL=chunk-K6HNMRFK.mjs.map
|
|
3670
|
+
//# sourceMappingURL=chunk-K6HNMRFK.mjs.map
|