@umami/react-zen 1.0.3 → 1.0.5

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/index.mjs CHANGED
@@ -36,6 +36,7 @@ import { Toolbar as Toolbar$1 } from '@base-ui/react/toolbar';
36
36
  import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
37
37
  import { Avatar as Avatar$1 } from '@base-ui/react/avatar';
38
38
  import useEmblaCarousel from 'embla-carousel-react';
39
+ import * as RechartsPrimitive from 'recharts';
39
40
  import { Collapsible as Collapsible$1 } from '@base-ui/react/collapsible';
40
41
  import { Combobox as Combobox$1 } from '@base-ui/react';
41
42
  import { Command as Command$1 } from 'cmdk';
@@ -51,7 +52,7 @@ import { RadioGroup as RadioGroup$1 } from '@base-ui/react/radio-group';
51
52
  import * as ResizablePrimitive from 'react-resizable-panels';
52
53
  import { ScrollArea as ScrollArea$1 } from '@base-ui/react/scroll-area';
53
54
  import { Select as Select$1 } from '@base-ui/react/select';
54
- import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
55
+ import { Tooltip } from '@base-ui/react/tooltip';
55
56
  import { Slider as Slider$1 } from '@base-ui/react/slider';
56
57
  import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
57
58
  import { ToggleGroup as ToggleGroup$1 } from '@base-ui/react/toggle-group';
@@ -5485,11 +5486,16 @@ function useToast() {
5485
5486
  return { toast, toasts };
5486
5487
  }
5487
5488
  var sizeMap2 = {
5488
- xs: "w-3 h-3",
5489
- sm: "w-4 h-4",
5490
- md: "w-5 h-5",
5491
- lg: "w-6 h-6",
5492
- xl: "w-8 h-8"
5489
+ xs: "size-3",
5490
+ // 12px
5491
+ sm: "size-3.5",
5492
+ // 14px
5493
+ md: "size-4",
5494
+ // 16px
5495
+ lg: "size-4.5",
5496
+ // 18px
5497
+ xl: "size-5"
5498
+ // 20px
5493
5499
  };
5494
5500
  var strokeWidthMap = {
5495
5501
  "0.5": "stroke-[0.5]",
@@ -5731,7 +5737,7 @@ function ListSection({ title, className, children, ...props }) {
5731
5737
  "aria-labelledby": title ? titleId : void 0,
5732
5738
  ...props,
5733
5739
  "data-slot": "list-section",
5734
- className: cn("flex flex-col", className),
5740
+ className: cn("flex flex-col not-first:mt-4", className),
5735
5741
  children: [
5736
5742
  title && /* @__PURE__ */ jsx(
5737
5743
  "div",
@@ -7127,6 +7133,244 @@ function CarouselNext({
7127
7133
  }
7128
7134
  );
7129
7135
  }
7136
+ var THEMES = { light: "", dark: ".dark" };
7137
+ var INITIAL_DIMENSION = { width: 320, height: 200 };
7138
+ var ChartContext = React4.createContext(null);
7139
+ function useChart() {
7140
+ const context = React4.useContext(ChartContext);
7141
+ if (!context) {
7142
+ throw new Error("useChart must be used within a <ChartContainer />");
7143
+ }
7144
+ return context;
7145
+ }
7146
+ function ChartContainer({
7147
+ id,
7148
+ className,
7149
+ children,
7150
+ config,
7151
+ initialDimension = INITIAL_DIMENSION,
7152
+ ...props
7153
+ }) {
7154
+ const uniqueId = React4.useId();
7155
+ const chartId = `chart-${id ?? uniqueId.replace(/:/g, "")}`;
7156
+ return /* @__PURE__ */ jsx(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ jsxs(
7157
+ "div",
7158
+ {
7159
+ "data-slot": "chart",
7160
+ "data-chart": chartId,
7161
+ className: cn(
7162
+ "flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",
7163
+ className
7164
+ ),
7165
+ ...props,
7166
+ children: [
7167
+ /* @__PURE__ */ jsx(ChartStyle, { id: chartId, config }),
7168
+ /* @__PURE__ */ jsx(
7169
+ RechartsPrimitive.ResponsiveContainer,
7170
+ {
7171
+ initialDimension,
7172
+ children
7173
+ }
7174
+ )
7175
+ ]
7176
+ }
7177
+ ) });
7178
+ }
7179
+ var ChartStyle = ({ id, config }) => {
7180
+ const colorConfig = Object.entries(config).filter(
7181
+ ([, config2]) => config2.theme ?? config2.color
7182
+ );
7183
+ if (!colorConfig.length) {
7184
+ return null;
7185
+ }
7186
+ return /* @__PURE__ */ jsx(
7187
+ "style",
7188
+ {
7189
+ dangerouslySetInnerHTML: {
7190
+ __html: Object.entries(THEMES).map(
7191
+ ([theme, prefix]) => `
7192
+ ${prefix} [data-chart=${id}] {
7193
+ ${colorConfig.map(([key, itemConfig]) => {
7194
+ const color = itemConfig.theme?.[theme] ?? itemConfig.color;
7195
+ return color ? ` --color-${key}: ${color};` : null;
7196
+ }).join("\n")}
7197
+ }
7198
+ `
7199
+ ).join("\n")
7200
+ }
7201
+ }
7202
+ );
7203
+ };
7204
+ var ChartTooltip = RechartsPrimitive.Tooltip;
7205
+ function ChartTooltipContent({
7206
+ active,
7207
+ payload,
7208
+ className,
7209
+ indicator = "dot",
7210
+ hideLabel = false,
7211
+ hideIndicator = false,
7212
+ label,
7213
+ labelFormatter,
7214
+ labelClassName,
7215
+ formatter,
7216
+ color,
7217
+ nameKey,
7218
+ labelKey
7219
+ }) {
7220
+ const { config } = useChart();
7221
+ const tooltipLabel = React4.useMemo(() => {
7222
+ if (hideLabel || !payload?.length) {
7223
+ return null;
7224
+ }
7225
+ const [item] = payload;
7226
+ const key = `${labelKey ?? item?.dataKey ?? item?.name ?? "value"}`;
7227
+ const itemConfig = getPayloadConfigFromPayload(config, item, key);
7228
+ const value = !labelKey && typeof label === "string" ? config[label]?.label ?? label : itemConfig?.label;
7229
+ if (labelFormatter) {
7230
+ return /* @__PURE__ */ jsx("div", { className: cn("font-medium", labelClassName), children: labelFormatter(value, payload) });
7231
+ }
7232
+ if (!value) {
7233
+ return null;
7234
+ }
7235
+ return /* @__PURE__ */ jsx("div", { className: cn("font-medium", labelClassName), children: value });
7236
+ }, [
7237
+ label,
7238
+ labelFormatter,
7239
+ payload,
7240
+ hideLabel,
7241
+ labelClassName,
7242
+ config,
7243
+ labelKey
7244
+ ]);
7245
+ if (!active || !payload?.length) {
7246
+ return null;
7247
+ }
7248
+ const nestLabel = payload.length === 1 && indicator !== "dot";
7249
+ return /* @__PURE__ */ jsxs(
7250
+ "div",
7251
+ {
7252
+ className: cn(
7253
+ "grid min-w-32 items-start gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl",
7254
+ className
7255
+ ),
7256
+ children: [
7257
+ !nestLabel ? tooltipLabel : null,
7258
+ /* @__PURE__ */ jsx("div", { className: "grid gap-1.5", children: payload.filter((item) => item.type !== "none").map((item, index) => {
7259
+ const key = `${nameKey ?? item.name ?? item.dataKey ?? "value"}`;
7260
+ const itemConfig = getPayloadConfigFromPayload(config, item, key);
7261
+ const indicatorColor = color ?? item.payload?.fill ?? item.color;
7262
+ return /* @__PURE__ */ jsx(
7263
+ "div",
7264
+ {
7265
+ className: cn(
7266
+ "flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",
7267
+ indicator === "dot" && "items-center"
7268
+ ),
7269
+ children: formatter && item?.value !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ jsxs(Fragment, { children: [
7270
+ itemConfig?.icon ? /* @__PURE__ */ jsx(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ jsx(
7271
+ "div",
7272
+ {
7273
+ className: cn(
7274
+ "shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",
7275
+ {
7276
+ "h-2.5 w-2.5": indicator === "dot",
7277
+ "w-1": indicator === "line",
7278
+ "w-0 border-[1.5px] border-dashed bg-transparent": indicator === "dashed",
7279
+ "my-0.5": nestLabel && indicator === "dashed"
7280
+ }
7281
+ ),
7282
+ style: {
7283
+ "--color-bg": indicatorColor,
7284
+ "--color-border": indicatorColor
7285
+ }
7286
+ }
7287
+ ),
7288
+ /* @__PURE__ */ jsxs(
7289
+ "div",
7290
+ {
7291
+ className: cn(
7292
+ "flex flex-1 justify-between leading-none",
7293
+ nestLabel ? "items-end" : "items-center"
7294
+ ),
7295
+ children: [
7296
+ /* @__PURE__ */ jsxs("div", { className: "grid gap-1.5", children: [
7297
+ nestLabel ? tooltipLabel : null,
7298
+ /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: itemConfig?.label ?? item.name })
7299
+ ] }),
7300
+ item.value != null && /* @__PURE__ */ jsx("span", { className: "font-mono font-medium text-foreground tabular-nums", children: typeof item.value === "number" ? item.value.toLocaleString() : String(item.value) })
7301
+ ]
7302
+ }
7303
+ )
7304
+ ] })
7305
+ },
7306
+ index
7307
+ );
7308
+ }) })
7309
+ ]
7310
+ }
7311
+ );
7312
+ }
7313
+ var ChartLegend = RechartsPrimitive.Legend;
7314
+ function ChartLegendContent({
7315
+ className,
7316
+ hideIcon = false,
7317
+ payload,
7318
+ verticalAlign = "bottom",
7319
+ nameKey
7320
+ }) {
7321
+ const { config } = useChart();
7322
+ if (!payload?.length) {
7323
+ return null;
7324
+ }
7325
+ return /* @__PURE__ */ jsx(
7326
+ "div",
7327
+ {
7328
+ className: cn(
7329
+ "flex items-center justify-center gap-4",
7330
+ verticalAlign === "top" ? "pb-3" : "pt-3",
7331
+ className
7332
+ ),
7333
+ children: payload.filter((item) => item.type !== "none").map((item, index) => {
7334
+ const key = `${nameKey ?? item.dataKey ?? "value"}`;
7335
+ const itemConfig = getPayloadConfigFromPayload(config, item, key);
7336
+ return /* @__PURE__ */ jsxs(
7337
+ "div",
7338
+ {
7339
+ className: cn(
7340
+ "flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"
7341
+ ),
7342
+ children: [
7343
+ itemConfig?.icon && !hideIcon ? /* @__PURE__ */ jsx(itemConfig.icon, {}) : /* @__PURE__ */ jsx(
7344
+ "div",
7345
+ {
7346
+ className: "h-2 w-2 shrink-0 rounded-[2px]",
7347
+ style: {
7348
+ backgroundColor: item.color
7349
+ }
7350
+ }
7351
+ ),
7352
+ itemConfig?.label
7353
+ ]
7354
+ },
7355
+ index
7356
+ );
7357
+ })
7358
+ }
7359
+ );
7360
+ }
7361
+ function getPayloadConfigFromPayload(config, payload, key) {
7362
+ if (typeof payload !== "object" || payload === null) {
7363
+ return void 0;
7364
+ }
7365
+ const payloadPayload = "payload" in payload && typeof payload.payload === "object" && payload.payload !== null ? payload.payload : void 0;
7366
+ let configLabelKey = key;
7367
+ if (key in payload && typeof payload[key] === "string") {
7368
+ configLabelKey = payload[key];
7369
+ } else if (payloadPayload && key in payloadPayload && typeof payloadPayload[key] === "string") {
7370
+ configLabelKey = payloadPayload[key];
7371
+ }
7372
+ return configLabelKey in config ? config[configLabelKey] : config[key];
7373
+ }
7130
7374
  var codeBlockVariants = cva(
7131
7375
  "group/code-block relative flex w-full min-w-0 flex-col overflow-hidden rounded-lg text-sm has-[>[data-slot=code-block-content]:focus-visible]:ring-3 has-[>[data-slot=code-block-content]:focus-visible]:ring-ring/50 data-[size=sm]:text-xs",
7132
7376
  {
@@ -8707,6 +8951,183 @@ function InputOTPSeparator({ ...props }) {
8707
8951
  }
8708
8952
  );
8709
8953
  }
8954
+ function ItemGroup({ className, ...props }) {
8955
+ return /* @__PURE__ */ jsx(
8956
+ "div",
8957
+ {
8958
+ role: "list",
8959
+ "data-slot": "item-group",
8960
+ className: cn(
8961
+ "group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2",
8962
+ className
8963
+ ),
8964
+ ...props
8965
+ }
8966
+ );
8967
+ }
8968
+ function ItemSeparator({
8969
+ className,
8970
+ ...props
8971
+ }) {
8972
+ return /* @__PURE__ */ jsx(
8973
+ Separator,
8974
+ {
8975
+ "data-slot": "item-separator",
8976
+ orientation: "horizontal",
8977
+ className: cn("my-2", className),
8978
+ ...props
8979
+ }
8980
+ );
8981
+ }
8982
+ var itemVariants = cva(
8983
+ "group/item flex w-full flex-wrap items-center rounded-md border text-sm transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-muted",
8984
+ {
8985
+ variants: {
8986
+ variant: {
8987
+ default: "border-transparent",
8988
+ outline: "border-border",
8989
+ muted: "border-transparent bg-muted/50"
8990
+ },
8991
+ size: {
8992
+ default: "gap-3.5 px-4 py-3.5",
8993
+ sm: "gap-2.5 px-3 py-2.5",
8994
+ xs: "gap-2 px-2.5 py-2 in-data-[slot=dropdown-menu-content]:p-0"
8995
+ }
8996
+ },
8997
+ defaultVariants: {
8998
+ variant: "default",
8999
+ size: "default"
9000
+ }
9001
+ }
9002
+ );
9003
+ function Item({
9004
+ className,
9005
+ variant = "default",
9006
+ size = "default",
9007
+ render,
9008
+ ...props
9009
+ }) {
9010
+ return useRender({
9011
+ defaultTagName: "div",
9012
+ props: mergeProps(
9013
+ {
9014
+ className: cn(itemVariants({ variant, size, className }))
9015
+ },
9016
+ props
9017
+ ),
9018
+ render,
9019
+ state: {
9020
+ slot: "item",
9021
+ variant,
9022
+ size
9023
+ }
9024
+ });
9025
+ }
9026
+ var itemMediaVariants = cva(
9027
+ "flex shrink-0 items-center justify-center gap-2 group-has-data-[slot=item-description]/item:translate-y-0.5 group-has-data-[slot=item-description]/item:self-start [&_svg]:pointer-events-none",
9028
+ {
9029
+ variants: {
9030
+ variant: {
9031
+ default: "bg-transparent",
9032
+ icon: "[&_svg:not([class*='size-'])]:size-4",
9033
+ image: "size-10 overflow-hidden rounded-sm group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover"
9034
+ }
9035
+ },
9036
+ defaultVariants: {
9037
+ variant: "default"
9038
+ }
9039
+ }
9040
+ );
9041
+ function ItemMedia({
9042
+ className,
9043
+ variant = "default",
9044
+ ...props
9045
+ }) {
9046
+ return /* @__PURE__ */ jsx(
9047
+ "div",
9048
+ {
9049
+ "data-slot": "item-media",
9050
+ "data-variant": variant,
9051
+ className: cn(itemMediaVariants({ variant, className })),
9052
+ ...props
9053
+ }
9054
+ );
9055
+ }
9056
+ function ItemContent({ className, ...props }) {
9057
+ return /* @__PURE__ */ jsx(
9058
+ "div",
9059
+ {
9060
+ "data-slot": "item-content",
9061
+ className: cn(
9062
+ "flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none",
9063
+ className
9064
+ ),
9065
+ ...props
9066
+ }
9067
+ );
9068
+ }
9069
+ function ItemTitle({ className, ...props }) {
9070
+ return /* @__PURE__ */ jsx(
9071
+ "div",
9072
+ {
9073
+ "data-slot": "item-title",
9074
+ className: cn(
9075
+ "line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4",
9076
+ className
9077
+ ),
9078
+ ...props
9079
+ }
9080
+ );
9081
+ }
9082
+ function ItemDescription({ className, ...props }) {
9083
+ return /* @__PURE__ */ jsx(
9084
+ "p",
9085
+ {
9086
+ "data-slot": "item-description",
9087
+ className: cn(
9088
+ "line-clamp-2 text-left text-sm leading-normal font-normal text-muted-foreground group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
9089
+ className
9090
+ ),
9091
+ ...props
9092
+ }
9093
+ );
9094
+ }
9095
+ function ItemActions({ className, ...props }) {
9096
+ return /* @__PURE__ */ jsx(
9097
+ "div",
9098
+ {
9099
+ "data-slot": "item-actions",
9100
+ className: cn("flex items-center gap-2", className),
9101
+ ...props
9102
+ }
9103
+ );
9104
+ }
9105
+ function ItemHeader({ className, ...props }) {
9106
+ return /* @__PURE__ */ jsx(
9107
+ "div",
9108
+ {
9109
+ "data-slot": "item-header",
9110
+ className: cn(
9111
+ "flex basis-full items-center justify-between gap-2",
9112
+ className
9113
+ ),
9114
+ ...props
9115
+ }
9116
+ );
9117
+ }
9118
+ function ItemFooter({ className, ...props }) {
9119
+ return /* @__PURE__ */ jsx(
9120
+ "div",
9121
+ {
9122
+ "data-slot": "item-footer",
9123
+ className: cn(
9124
+ "flex basis-full items-center justify-between gap-2",
9125
+ className
9126
+ ),
9127
+ ...props
9128
+ }
9129
+ );
9130
+ }
8710
9131
  function Kbd({ className, ...props }) {
8711
9132
  return /* @__PURE__ */ jsx(
8712
9133
  "kbd",
@@ -9565,7 +9986,7 @@ function TooltipProvider({
9565
9986
  ...props
9566
9987
  }) {
9567
9988
  return /* @__PURE__ */ jsx(
9568
- Tooltip$1.Provider,
9989
+ Tooltip.Provider,
9569
9990
  {
9570
9991
  "data-slot": "tooltip-provider",
9571
9992
  delay,
@@ -9573,11 +9994,11 @@ function TooltipProvider({
9573
9994
  }
9574
9995
  );
9575
9996
  }
9576
- function Tooltip({ ...props }) {
9577
- return /* @__PURE__ */ jsx(Tooltip$1.Root, { "data-slot": "tooltip", ...props });
9997
+ function Tooltip2({ ...props }) {
9998
+ return /* @__PURE__ */ jsx(Tooltip.Root, { "data-slot": "tooltip", ...props });
9578
9999
  }
9579
10000
  function TooltipTrigger({ ...props }) {
9580
- return /* @__PURE__ */ jsx(Tooltip$1.Trigger, { "data-slot": "tooltip-trigger", ...props });
10001
+ return /* @__PURE__ */ jsx(Tooltip.Trigger, { "data-slot": "tooltip-trigger", ...props });
9581
10002
  }
9582
10003
  function TooltipContent({
9583
10004
  className,
@@ -9588,8 +10009,8 @@ function TooltipContent({
9588
10009
  children,
9589
10010
  ...props
9590
10011
  }) {
9591
- return /* @__PURE__ */ jsx(Tooltip$1.Portal, { children: /* @__PURE__ */ jsx(
9592
- Tooltip$1.Positioner,
10012
+ return /* @__PURE__ */ jsx(Tooltip.Portal, { children: /* @__PURE__ */ jsx(
10013
+ Tooltip.Positioner,
9593
10014
  {
9594
10015
  align,
9595
10016
  alignOffset,
@@ -9597,7 +10018,7 @@ function TooltipContent({
9597
10018
  sideOffset,
9598
10019
  className: "isolate z-50",
9599
10020
  children: /* @__PURE__ */ jsxs(
9600
- Tooltip$1.Popup,
10021
+ Tooltip.Popup,
9601
10022
  {
9602
10023
  "data-slot": "tooltip-content",
9603
10024
  className: cn(
@@ -9607,7 +10028,7 @@ function TooltipContent({
9607
10028
  ...props,
9608
10029
  children: [
9609
10030
  children,
9610
- /* @__PURE__ */ jsx(Tooltip$1.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })
10031
+ /* @__PURE__ */ jsx(Tooltip.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })
9611
10032
  ]
9612
10033
  }
9613
10034
  )
@@ -10067,7 +10488,7 @@ function SidebarMenuButton({
10067
10488
  children: tooltip
10068
10489
  };
10069
10490
  }
10070
- return /* @__PURE__ */ jsxs(Tooltip, { children: [
10491
+ return /* @__PURE__ */ jsxs(Tooltip2, { children: [
10071
10492
  comp,
10072
10493
  /* @__PURE__ */ jsx(
10073
10494
  TooltipContent,
@@ -10416,6 +10837,6 @@ function ZenProvider({
10416
10837
  return /* @__PURE__ */ jsx(TooltipProvider, { ...tooltip, children: /* @__PURE__ */ jsx(ToastProvider, { ...defaultToastConfig, ...toast, children }) });
10417
10838
  }
10418
10839
 
10419
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Autocomplete, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Blockquote, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, CheckboxGroup, Code, CodeBlock, CodeBlockActions, CodeBlockContent, CodeBlockCopyButton, CodeBlockFooter, CodeBlockHeader, CodeBlockLine, CodeBlockTitle, Collapsible, CollapsibleContent, CollapsibleTrigger, Column, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmationDialog, Container, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, DataCard, DataColumn, DataTable, DatePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dots, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerSwipeHandle, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Flexbox, FloatingTooltip, Form, FormButtons, FormController, FormField, FormFieldArray, FormResetButton, FormSubmitButton, Grid, Heading, HoverCard, HoverCardContent, HoverCardTrigger, Icon, Image, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Kbd, KbdGroup, Label, List, ListItem, ListSection, ListSeparator, Loading, LoadingButton, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Meter, Navbar, NavbarItem, NavbarLink, NumberField, PALETTES, PageHeader, PageHeaderActions, PageHeaderTitle, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordField, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressCircle, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, Row, ScrollArea, ScrollBar, SearchField, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, StatusLight, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TagGroup, Text, TextField, Textarea, ThemeButton, ThemeSwitcher, Toast, ToastContext, ToastProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, ToolbarButton, ToolbarGroup, ToolbarLink, ToolbarSeparator, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, ZenProvider, badgeVariants, buttonGroupVariants, buttonVariants, getCssColorValue, isHeightPreset, isMaxHeightPreset, isMaxWidthPreset, isMinHeightPreset, isMinWidthPreset, isWidthPreset, mapAlignContent, mapAlignItems, mapAlignSelf, mapBackgroundColor, mapBorder, mapBorderColor, mapBorderRadius, mapBorderWidth, mapCursor, mapDecorationColor, mapDisplay, mapFlexDirection, mapFlexWrap, mapFontSize, mapFontWeight, mapGap, mapGridAutoFlow, mapGridColumns, mapGridRows, mapHeadingSize, mapHeight, mapJustifyContent, mapJustifyItems, mapLetterSpacing, mapLineHeight, mapMargin, mapMaxHeight, mapMaxWidth, mapMinHeight, mapMinWidth, mapOpacity, mapOverflow, mapPadding, mapPointerEvents, mapPosition, mapShadow, mapSpace, mapStateStyles, mapTextAlign, mapTextColor, mapTextDecorationStyle, mapTextIndent, mapTextTransform, mapTextWrap, mapVerticalAlign, mapWhitespace, mapWidth, mapWordBreak, removeToast, resolveRender, tabsListVariants, toggleVariants, useBreakpoint, useCarousel, useComboboxAnchor, useDebounce, useHighlightedCode, useInitTheme, useIsMobile, useSidebar, useTheme, useToast };
10840
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Autocomplete, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Blockquote, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxGroup, Code, CodeBlock, CodeBlockActions, CodeBlockContent, CodeBlockCopyButton, CodeBlockFooter, CodeBlockHeader, CodeBlockLine, CodeBlockTitle, Collapsible, CollapsibleContent, CollapsibleTrigger, Column, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmationDialog, Container, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, DataCard, DataColumn, DataTable, DatePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dots, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerSwipeHandle, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Flexbox, FloatingTooltip, Form, FormButtons, FormController, FormField, FormFieldArray, FormResetButton, FormSubmitButton, Grid, Heading, HoverCard, HoverCardContent, HoverCardTrigger, Icon, Image, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, List, ListItem, ListSection, ListSeparator, Loading, LoadingButton, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Meter, Navbar, NavbarItem, NavbarLink, NumberField, PALETTES, PageHeader, PageHeaderActions, PageHeaderTitle, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordField, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressCircle, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, Row, ScrollArea, ScrollBar, SearchField, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, StatusLight, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TagGroup, Text, TextField, Textarea, ThemeButton, ThemeSwitcher, Toast, ToastContext, ToastProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, ToolbarButton, ToolbarGroup, ToolbarLink, ToolbarSeparator, Tooltip2 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, ZenProvider, badgeVariants, buttonGroupVariants, buttonVariants, getCssColorValue, isHeightPreset, isMaxHeightPreset, isMaxWidthPreset, isMinHeightPreset, isMinWidthPreset, isWidthPreset, mapAlignContent, mapAlignItems, mapAlignSelf, mapBackgroundColor, mapBorder, mapBorderColor, mapBorderRadius, mapBorderWidth, mapCursor, mapDecorationColor, mapDisplay, mapFlexDirection, mapFlexWrap, mapFontSize, mapFontWeight, mapGap, mapGridAutoFlow, mapGridColumns, mapGridRows, mapHeadingSize, mapHeight, mapJustifyContent, mapJustifyItems, mapLetterSpacing, mapLineHeight, mapMargin, mapMaxHeight, mapMaxWidth, mapMinHeight, mapMinWidth, mapOpacity, mapOverflow, mapPadding, mapPointerEvents, mapPosition, mapShadow, mapSpace, mapStateStyles, mapTextAlign, mapTextColor, mapTextDecorationStyle, mapTextIndent, mapTextTransform, mapTextWrap, mapVerticalAlign, mapWhitespace, mapWidth, mapWordBreak, removeToast, resolveRender, tabsListVariants, toggleVariants, useBreakpoint, useCarousel, useComboboxAnchor, useDebounce, useHighlightedCode, useInitTheme, useIsMobile, useSidebar, useTheme, useToast };
10420
10841
  //# sourceMappingURL=index.mjs.map
10421
10842
  //# sourceMappingURL=index.mjs.map