@pos-360/horizon 0.29.0 → 0.30.0
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-U2XUN4SS.js → chunk-6LDS7PWF.js} +2 -2
- package/dist/chunk-6LDS7PWF.js.map +1 -0
- package/dist/{chunk-TINY76JI.js → chunk-MOCMPGHB.js} +3 -3
- package/dist/chunk-MOCMPGHB.js.map +1 -0
- package/dist/{chunk-PXBJSQUY.mjs → chunk-OWU2ABN4.mjs} +3 -3
- package/dist/chunk-OWU2ABN4.mjs.map +1 -0
- package/dist/{chunk-6O2HW4YY.mjs → chunk-PQN73YBV.mjs} +2 -2
- package/dist/chunk-PQN73YBV.mjs.map +1 -0
- package/dist/enhanced.d.mts +2 -2
- package/dist/enhanced.d.ts +2 -2
- package/dist/enhanced.js +31 -31
- package/dist/enhanced.mjs +1 -1
- package/dist/index.js +137 -137
- package/dist/index.mjs +2 -2
- package/dist/primitives.d.mts +1 -1
- package/dist/primitives.d.ts +1 -1
- package/dist/primitives.js +106 -106
- package/dist/primitives.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-6O2HW4YY.mjs.map +0 -1
- package/dist/chunk-PXBJSQUY.mjs.map +0 -1
- package/dist/chunk-TINY76JI.js.map +0 -1
- package/dist/chunk-U2XUN4SS.js.map +0 -1
|
@@ -3118,7 +3118,7 @@ function MobileDataCard({
|
|
|
3118
3118
|
] });
|
|
3119
3119
|
const hasStats = stats && stats.length > 0 || !!statsRenderer;
|
|
3120
3120
|
const hasDetails = details && details.length > 0;
|
|
3121
|
-
const cols = statColumns ?? stats?.length ?? 2;
|
|
3121
|
+
const cols = statColumns ?? Math.max(2, Math.min(stats?.length ?? 2, 5));
|
|
3122
3122
|
return /* @__PURE__ */ jsxs(
|
|
3123
3123
|
"div",
|
|
3124
3124
|
{
|
|
@@ -3319,5 +3319,5 @@ function PeriodComparisonSelector({
|
|
|
3319
3319
|
}
|
|
3320
3320
|
|
|
3321
3321
|
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, 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 };
|
|
3322
|
-
//# sourceMappingURL=chunk-
|
|
3323
|
-
//# sourceMappingURL=chunk-
|
|
3322
|
+
//# sourceMappingURL=chunk-OWU2ABN4.mjs.map
|
|
3323
|
+
//# sourceMappingURL=chunk-OWU2ABN4.mjs.map
|