@onesaz/ui 0.3.22 → 0.3.24

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.js CHANGED
@@ -3752,7 +3752,7 @@ function OptionItem({
3752
3752
  disabled: option.disabled,
3753
3753
  onClick: onSelect,
3754
3754
  className: cn(
3755
- "relative flex w-full cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none",
3755
+ "relative flex w-full cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm text-left outline-none",
3756
3756
  "hover:bg-muted hover:text-foreground",
3757
3757
  "focus:bg-muted focus:text-foreground",
3758
3758
  "disabled:pointer-events-none disabled:opacity-50",
@@ -4529,33 +4529,35 @@ var DataGridPagination = ({
4529
4529
  const currentPage = table.getState().pagination.pageIndex;
4530
4530
  const totalRows = paginationMode === "server" && rowCount ? rowCount : table.getFilteredRowModel().rows.length;
4531
4531
  const pageSize = table.getState().pagination.pageSize;
4532
- const getPageNumbers = () => {
4532
+ const getPageNumbers = (maxVisible) => {
4533
4533
  const pages = [];
4534
- const maxVisible = 5;
4535
4534
  if (pageCount <= maxVisible) {
4536
4535
  for (let i = 0; i < pageCount; i++) pages.push(i);
4537
4536
  } else {
4537
+ const half = Math.floor(maxVisible / 2);
4538
+ const start = Math.max(1, currentPage - half);
4539
+ const end = Math.min(pageCount - 2, currentPage + half);
4538
4540
  pages.push(0);
4539
- if (currentPage > 2) {
4540
- pages.push("ellipsis");
4541
- }
4542
- const start = Math.max(1, currentPage - 1);
4543
- const end = Math.min(pageCount - 2, currentPage + 1);
4544
- for (let i = start; i <= end; i++) {
4545
- if (!pages.includes(i)) pages.push(i);
4546
- }
4547
- if (currentPage < pageCount - 3) {
4548
- pages.push("ellipsis");
4549
- }
4550
- if (!pages.includes(pageCount - 1)) {
4551
- pages.push(pageCount - 1);
4552
- }
4541
+ if (start > 1) pages.push("ellipsis");
4542
+ for (let i = start; i <= end; i++) pages.push(i);
4543
+ if (end < pageCount - 2) pages.push("ellipsis");
4544
+ pages.push(pageCount - 1);
4553
4545
  }
4554
4546
  return pages;
4555
4547
  };
4556
4548
  const startRow = currentPage * pageSize + 1;
4557
4549
  const endRow = Math.min((currentPage + 1) * pageSize, totalRows);
4558
- return /* @__PURE__ */ jsxs22("div", { className: "flex items-center justify-end gap-4 px-4 py-3 border-t border-border bg-background", children: [
4550
+ const renderPageNumbers = (maxVisible) => getPageNumbers(maxVisible).map(
4551
+ (page, idx) => page === "ellipsis" ? /* @__PURE__ */ jsx36(PaginationItem, { children: /* @__PURE__ */ jsx36(PaginationEllipsis, {}) }, `ellipsis-${idx}`) : /* @__PURE__ */ jsx36(PaginationItem, { children: /* @__PURE__ */ jsx36(
4552
+ PaginationLink,
4553
+ {
4554
+ isActive: page === currentPage,
4555
+ onClick: () => table.setPageIndex(page),
4556
+ children: page + 1
4557
+ }
4558
+ ) }, page)
4559
+ );
4560
+ const infoSection = /* @__PURE__ */ jsxs22("div", { className: "flex items-center gap-4 flex-wrap", children: [
4559
4561
  /* @__PURE__ */ jsxs22("div", { className: "flex items-center gap-2 text-xs text-muted-foreground whitespace-nowrap", children: [
4560
4562
  /* @__PURE__ */ jsx36("span", { children: "Rows per page:" }),
4561
4563
  /* @__PURE__ */ jsx36(
@@ -4570,67 +4572,62 @@ var DataGridPagination = ({
4570
4572
  ] }),
4571
4573
  /* @__PURE__ */ jsxs22("span", { className: "text-xs text-muted-foreground whitespace-nowrap", children: [
4572
4574
  startRow,
4573
- "-",
4575
+ "\u2013",
4574
4576
  endRow,
4575
4577
  " of ",
4576
4578
  totalRows
4577
- ] }),
4578
- /* @__PURE__ */ jsx36(PaginationNamespace, { className: "mx-0 w-auto", children: /* @__PURE__ */ jsxs22(PaginationContent, { children: [
4579
- /* @__PURE__ */ jsx36(PaginationItem, { children: /* @__PURE__ */ jsx36(
4580
- Button,
4581
- {
4582
- variant: "outline",
4583
- size: "icon",
4584
- className: "h-8 w-8",
4585
- onClick: () => table.setPageIndex(0),
4586
- disabled: !table.getCanPreviousPage(),
4587
- children: /* @__PURE__ */ jsx36("svg", { className: "h-4 w-4", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ jsx36("path", { d: "M11 17l-5-5 5-5M18 17l-5-5 5-5" }) })
4588
- }
4589
- ) }),
4590
- /* @__PURE__ */ jsx36(PaginationItem, { children: /* @__PURE__ */ jsx36(
4591
- Button,
4592
- {
4593
- variant: "outline",
4594
- size: "icon",
4595
- className: "h-8 w-8",
4596
- onClick: () => table.previousPage(),
4597
- disabled: !table.getCanPreviousPage(),
4598
- children: /* @__PURE__ */ jsx36("svg", { className: "h-4 w-4", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ jsx36("path", { d: "M15 18l-6-6 6-6" }) })
4599
- }
4600
- ) }),
4601
- getPageNumbers().map(
4602
- (page, idx) => page === "ellipsis" ? /* @__PURE__ */ jsx36(PaginationItem, { children: /* @__PURE__ */ jsx36(PaginationEllipsis, {}) }, `ellipsis-${idx}`) : /* @__PURE__ */ jsx36(PaginationItem, { children: /* @__PURE__ */ jsx36(
4603
- PaginationLink,
4604
- {
4605
- isActive: page === currentPage,
4606
- onClick: () => table.setPageIndex(page),
4607
- children: page + 1
4608
- }
4609
- ) }, page)
4610
- ),
4611
- /* @__PURE__ */ jsx36(PaginationItem, { children: /* @__PURE__ */ jsx36(
4612
- Button,
4613
- {
4614
- variant: "outline",
4615
- size: "icon",
4616
- className: "h-8 w-8",
4617
- onClick: () => table.nextPage(),
4618
- disabled: !table.getCanNextPage(),
4619
- children: /* @__PURE__ */ jsx36("svg", { className: "h-4 w-4", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ jsx36("path", { d: "M9 18l6-6-6-6" }) })
4620
- }
4621
- ) }),
4622
- /* @__PURE__ */ jsx36(PaginationItem, { children: /* @__PURE__ */ jsx36(
4623
- Button,
4624
- {
4625
- variant: "outline",
4626
- size: "icon",
4627
- className: "h-8 w-8",
4628
- onClick: () => table.setPageIndex(pageCount - 1),
4629
- disabled: !table.getCanNextPage(),
4630
- children: /* @__PURE__ */ jsx36("svg", { className: "h-4 w-4", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ jsx36("path", { d: "M13 17l5-5-5-5M6 17l5-5-5-5" }) })
4631
- }
4632
- ) })
4633
- ] }) })
4579
+ ] })
4580
+ ] });
4581
+ const navSection = (maxVisible) => /* @__PURE__ */ jsx36(PaginationNamespace, { className: "mx-0 w-auto", children: /* @__PURE__ */ jsxs22(PaginationContent, { children: [
4582
+ /* @__PURE__ */ jsx36(PaginationItem, { children: /* @__PURE__ */ jsx36(
4583
+ Button,
4584
+ {
4585
+ variant: "outline",
4586
+ size: "icon",
4587
+ className: "h-8 w-8",
4588
+ onClick: () => table.setPageIndex(0),
4589
+ disabled: !table.getCanPreviousPage(),
4590
+ children: /* @__PURE__ */ jsx36("svg", { className: "h-4 w-4", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ jsx36("path", { d: "M11 17l-5-5 5-5M18 17l-5-5 5-5" }) })
4591
+ }
4592
+ ) }),
4593
+ /* @__PURE__ */ jsx36(PaginationItem, { children: /* @__PURE__ */ jsx36(
4594
+ Button,
4595
+ {
4596
+ variant: "outline",
4597
+ size: "icon",
4598
+ className: "h-8 w-8",
4599
+ onClick: () => table.previousPage(),
4600
+ disabled: !table.getCanPreviousPage(),
4601
+ children: /* @__PURE__ */ jsx36("svg", { className: "h-4 w-4", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ jsx36("path", { d: "M15 18l-6-6 6-6" }) })
4602
+ }
4603
+ ) }),
4604
+ renderPageNumbers(maxVisible),
4605
+ /* @__PURE__ */ jsx36(PaginationItem, { children: /* @__PURE__ */ jsx36(
4606
+ Button,
4607
+ {
4608
+ variant: "outline",
4609
+ size: "icon",
4610
+ className: "h-8 w-8",
4611
+ onClick: () => table.nextPage(),
4612
+ disabled: !table.getCanNextPage(),
4613
+ children: /* @__PURE__ */ jsx36("svg", { className: "h-4 w-4", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ jsx36("path", { d: "M9 18l6-6-6-6" }) })
4614
+ }
4615
+ ) }),
4616
+ /* @__PURE__ */ jsx36(PaginationItem, { children: /* @__PURE__ */ jsx36(
4617
+ Button,
4618
+ {
4619
+ variant: "outline",
4620
+ size: "icon",
4621
+ className: "h-8 w-8",
4622
+ onClick: () => table.setPageIndex(pageCount - 1),
4623
+ disabled: !table.getCanNextPage(),
4624
+ children: /* @__PURE__ */ jsx36("svg", { className: "h-4 w-4", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: /* @__PURE__ */ jsx36("path", { d: "M13 17l5-5-5-5M6 17l5-5-5-5" }) })
4625
+ }
4626
+ ) })
4627
+ ] }) });
4628
+ return /* @__PURE__ */ jsxs22("div", { className: "flex flex-wrap items-center gap-x-4 gap-y-2 px-4 py-2 border-t border-border bg-background", children: [
4629
+ infoSection,
4630
+ /* @__PURE__ */ jsx36("div", { className: "ml-auto", children: navSection(5) })
4634
4631
  ] });
4635
4632
  };
4636
4633
  var ExportDropdown = ({
@@ -4809,16 +4806,16 @@ var DataGridToolbar = ({
4809
4806
  customButtons,
4810
4807
  moreOptions = []
4811
4808
  }) => {
4812
- return /* @__PURE__ */ jsxs22("div", { className: "flex items-center justify-between px-4 py-3 border-b border-border bg-background", children: [
4813
- title && /* @__PURE__ */ jsx36("h3", { className: "text-lg font-semibold text-foreground", children: title }),
4814
- /* @__PURE__ */ jsxs22("div", { className: "flex items-center gap-2 ml-auto", children: [
4809
+ return /* @__PURE__ */ jsxs22("div", { className: "flex flex-wrap items-center gap-2 px-4 py-3 border-b border-border bg-background", children: [
4810
+ title && /* @__PURE__ */ jsx36("h3", { className: "text-sm font-semibold text-foreground shrink-0", children: title }),
4811
+ /* @__PURE__ */ jsxs22("div", { className: "flex flex-wrap items-center gap-2 ml-auto", children: [
4815
4812
  showQuickFilter && /* @__PURE__ */ jsx36(
4816
4813
  Input,
4817
4814
  {
4818
4815
  placeholder: "Search...",
4819
4816
  value: globalFilter ?? "",
4820
4817
  onChange: (e) => setGlobalFilter(e.target.value),
4821
- className: "h-9 w-64"
4818
+ className: "h-9 min-w-[120px] flex-1"
4822
4819
  }
4823
4820
  ),
4824
4821
  showColumnSelector && /* @__PURE__ */ jsx36(ColumnVisibilityDropdown, { table }),
@@ -4904,7 +4901,9 @@ var RowRenderer = ({
4904
4901
  pinnedColumnOffsets,
4905
4902
  isPinnedRow = false,
4906
4903
  rowSpanMap,
4907
- gridColumns
4904
+ gridColumns,
4905
+ measureRef,
4906
+ dataIndex
4908
4907
  }) => {
4909
4908
  const customClassName = getRowClassName?.({ row: row.original, rowIndex });
4910
4909
  const visibleCells = row.getVisibleCells();
@@ -4935,6 +4934,8 @@ var RowRenderer = ({
4935
4934
  return /* @__PURE__ */ jsx36(
4936
4935
  "tr",
4937
4936
  {
4937
+ ref: measureRef,
4938
+ "data-index": dataIndex,
4938
4939
  className: cn(
4939
4940
  "border-b border-border transition-colors hover:bg-muted/50",
4940
4941
  row.getIsSelected() && "bg-accent/10",
@@ -5056,6 +5057,9 @@ var VirtualizedTableBody = ({
5056
5057
  count: rows.length,
5057
5058
  getScrollElement: () => parentRef.current,
5058
5059
  estimateSize: () => rowHeight,
5060
+ // measureElement lets the virtualizer read actual rendered row heights,
5061
+ // which makes variable-height rows (wrapText, JSX cells) work correctly.
5062
+ measureElement: (el) => el.getBoundingClientRect().height,
5059
5063
  overscan
5060
5064
  });
5061
5065
  const virtualRows = virtualizer.getVirtualItems();
@@ -5095,7 +5099,9 @@ var VirtualizedTableBody = ({
5095
5099
  columnWidths,
5096
5100
  pinnedColumnOffsets,
5097
5101
  rowSpanMap,
5098
- gridColumns
5102
+ gridColumns,
5103
+ measureRef: virtualizer.measureElement,
5104
+ dataIndex: virtualRow.index
5099
5105
  },
5100
5106
  row.id
5101
5107
  );
@@ -5650,6 +5656,7 @@ function DataGrid({
5650
5656
  return /* @__PURE__ */ jsxs22(
5651
5657
  "th",
5652
5658
  {
5659
+ title: meta?.headerName,
5653
5660
  className: cn(
5654
5661
  "px-4 text-left text-xs font-medium text-muted-foreground border-b border-border bg-muted overflow-hidden relative",
5655
5662
  showColumnVerticalBorder && "border-r last:border-r-0",
@@ -5674,12 +5681,12 @@ function DataGrid({
5674
5681
  },
5675
5682
  onClick: header.column.getToggleSortingHandler(),
5676
5683
  children: [
5677
- /* @__PURE__ */ jsxs22("div", { className: cn(
5678
- "flex items-center gap-1 truncate",
5679
- align === "center" && "justify-center",
5680
- align === "right" && "justify-end"
5681
- ), children: [
5682
- header.isPlaceholder ? null : flexRender(header.column.columnDef.header, header.getContext()),
5684
+ /* @__PURE__ */ jsxs22("div", { className: "flex items-center gap-1 min-w-0", children: [
5685
+ /* @__PURE__ */ jsx36("div", { className: cn(
5686
+ "flex-1 truncate min-w-0",
5687
+ align === "center" && "text-center",
5688
+ align === "right" && "text-right"
5689
+ ), children: header.isPlaceholder ? null : flexRender(header.column.columnDef.header, header.getContext()) }),
5683
5690
  header.column.getCanSort() && /* @__PURE__ */ jsx36(SortIcon, { direction: header.column.getIsSorted() })
5684
5691
  ] }),
5685
5692
  resizableColumns && header.column.id !== "__select__" && /* @__PURE__ */ jsx36(
@@ -6055,8 +6062,121 @@ function VirtualList({
6055
6062
  );
6056
6063
  }
6057
6064
 
6058
- // src/components/charts.tsx
6065
+ // src/components/data-list.tsx
6059
6066
  import * as React38 from "react";
6067
+ import { jsx as jsx38 } from "react/jsx-runtime";
6068
+ var DataListContext = React38.createContext({
6069
+ orientation: "horizontal",
6070
+ size: "2"
6071
+ });
6072
+ var sizeStyles = {
6073
+ "1": "text-xs gap-y-1",
6074
+ "2": "text-sm gap-y-2",
6075
+ "3": "text-base gap-y-3"
6076
+ };
6077
+ var DataList = React38.forwardRef(
6078
+ ({ className, orientation = "horizontal", size = "2", children, ...props }, ref) => {
6079
+ return /* @__PURE__ */ jsx38(DataListContext.Provider, { value: { orientation, size }, children: /* @__PURE__ */ jsx38(
6080
+ "dl",
6081
+ {
6082
+ ref,
6083
+ className: cn("grid", sizeStyles[size], className),
6084
+ ...props,
6085
+ children
6086
+ }
6087
+ ) });
6088
+ }
6089
+ );
6090
+ DataList.displayName = "DataList";
6091
+ var alignStyles = {
6092
+ start: "items-start",
6093
+ center: "items-center",
6094
+ end: "items-end",
6095
+ baseline: "items-baseline",
6096
+ stretch: "items-stretch"
6097
+ };
6098
+ var DataListItem = React38.forwardRef(
6099
+ ({ className, align = "baseline", children, ...props }, ref) => {
6100
+ const { orientation } = React38.useContext(DataListContext);
6101
+ return /* @__PURE__ */ jsx38(
6102
+ "div",
6103
+ {
6104
+ ref,
6105
+ className: cn(
6106
+ "flex gap-2 min-w-0",
6107
+ orientation === "horizontal" ? [alignStyles[align], "flex-row"] : "flex-col gap-0.5",
6108
+ className
6109
+ ),
6110
+ ...props,
6111
+ children
6112
+ }
6113
+ );
6114
+ }
6115
+ );
6116
+ DataListItem.displayName = "DataListItem";
6117
+ var colorStyles = {
6118
+ default: "text-foreground",
6119
+ muted: "text-muted-foreground",
6120
+ primary: "text-primary",
6121
+ success: "text-green-600 dark:text-green-400",
6122
+ warning: "text-yellow-600 dark:text-yellow-400",
6123
+ error: "text-destructive",
6124
+ info: "text-blue-600 dark:text-blue-400"
6125
+ };
6126
+ var DataListLabel = React38.forwardRef(
6127
+ ({
6128
+ className,
6129
+ style,
6130
+ width,
6131
+ minWidth,
6132
+ maxWidth,
6133
+ color = "muted",
6134
+ highContrast = false,
6135
+ children,
6136
+ ...props
6137
+ }, ref) => {
6138
+ const { orientation } = React38.useContext(DataListContext);
6139
+ const resolvedColor = highContrast ? "text-foreground" : colorStyles[color];
6140
+ return /* @__PURE__ */ jsx38(
6141
+ "dt",
6142
+ {
6143
+ ref,
6144
+ className: cn(
6145
+ "font-medium shrink-0 leading-snug",
6146
+ resolvedColor,
6147
+ orientation === "horizontal" && "pt-px",
6148
+ className
6149
+ ),
6150
+ style: {
6151
+ width: orientation === "horizontal" ? width : void 0,
6152
+ minWidth: orientation === "horizontal" ? minWidth : void 0,
6153
+ maxWidth: orientation === "horizontal" ? maxWidth : void 0,
6154
+ ...style
6155
+ },
6156
+ ...props,
6157
+ children
6158
+ }
6159
+ );
6160
+ }
6161
+ );
6162
+ DataListLabel.displayName = "DataListLabel";
6163
+ var DataListValue = React38.forwardRef(
6164
+ ({ className, children, ...props }, ref) => {
6165
+ return /* @__PURE__ */ jsx38(
6166
+ "dd",
6167
+ {
6168
+ ref,
6169
+ className: cn("min-w-0 flex-1 leading-snug text-foreground", className),
6170
+ ...props,
6171
+ children
6172
+ }
6173
+ );
6174
+ }
6175
+ );
6176
+ DataListValue.displayName = "DataListValue";
6177
+
6178
+ // src/components/charts.tsx
6179
+ import * as React39 from "react";
6060
6180
  import {
6061
6181
  BarChart as RechartsBarChart,
6062
6182
  Bar,
@@ -6083,7 +6203,7 @@ import {
6083
6203
  LabelList
6084
6204
  } from "recharts";
6085
6205
  import { accentColors as accentColors2 } from "@onesaz/tokens";
6086
- import { Fragment as Fragment5, jsx as jsx38, jsxs as jsxs24 } from "react/jsx-runtime";
6206
+ import { Fragment as Fragment5, jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
6087
6207
  var BarChart = ({
6088
6208
  data,
6089
6209
  dataKey,
@@ -6116,7 +6236,7 @@ var BarChart = ({
6116
6236
  accentColors2[accentColor][1]
6117
6237
  ];
6118
6238
  const chartColors = colors || defaultColors;
6119
- const bars = dataKeys ? dataKeys.map((keyConfig, index) => /* @__PURE__ */ jsx38(
6239
+ const bars = dataKeys ? dataKeys.map((keyConfig, index) => /* @__PURE__ */ jsx39(
6120
6240
  Bar,
6121
6241
  {
6122
6242
  dataKey: keyConfig.dataKey,
@@ -6125,7 +6245,7 @@ var BarChart = ({
6125
6245
  radius: barProps.radius,
6126
6246
  maxBarSize: barProps.maxBarSize,
6127
6247
  ...barProps.minPointSize !== void 0 && { minPointSize: barProps.minPointSize },
6128
- children: labelList && /* @__PURE__ */ jsx38(
6248
+ children: labelList && /* @__PURE__ */ jsx39(
6129
6249
  LabelList,
6130
6250
  {
6131
6251
  dataKey: labelList.dataKey || keyConfig.dataKey,
@@ -6146,7 +6266,7 @@ var BarChart = ({
6146
6266
  maxBarSize: barProps.maxBarSize,
6147
6267
  ...barProps.minPointSize !== void 0 && { minPointSize: barProps.minPointSize },
6148
6268
  children: [
6149
- labelList && /* @__PURE__ */ jsx38(
6269
+ labelList && /* @__PURE__ */ jsx39(
6150
6270
  LabelList,
6151
6271
  {
6152
6272
  dataKey: labelList.dataKey || dataKey,
@@ -6155,7 +6275,7 @@ var BarChart = ({
6155
6275
  formatter: labelList.formatter
6156
6276
  }
6157
6277
  ),
6158
- data.map((_entry, index) => /* @__PURE__ */ jsx38(
6278
+ data.map((_entry, index) => /* @__PURE__ */ jsx39(
6159
6279
  Cell,
6160
6280
  {
6161
6281
  fill: chartColors[index % chartColors.length]
@@ -6165,7 +6285,7 @@ var BarChart = ({
6165
6285
  ]
6166
6286
  }
6167
6287
  );
6168
- const customTooltip = tooltip ? /* @__PURE__ */ jsx38(
6288
+ const customTooltip = tooltip ? /* @__PURE__ */ jsx39(
6169
6289
  Tooltip2,
6170
6290
  {
6171
6291
  formatter: tooltip.formatter,
@@ -6173,8 +6293,8 @@ var BarChart = ({
6173
6293
  labelStyle: tooltip.labelStyle,
6174
6294
  contentStyle: tooltip.contentStyle
6175
6295
  }
6176
- ) : showTooltip ? /* @__PURE__ */ jsx38(Tooltip2, { contentStyle: { backgroundColor: "hsl(var(--background))", border: "1px solid hsl(var(--border))", borderRadius: "6px", color: "hsl(var(--foreground))" } }) : null;
6177
- return /* @__PURE__ */ jsx38("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx38(ResponsiveContainer, { width, height, children: /* @__PURE__ */ jsxs24(
6296
+ ) : showTooltip ? /* @__PURE__ */ jsx39(Tooltip2, { contentStyle: { backgroundColor: "hsl(var(--background))", border: "1px solid hsl(var(--border))", borderRadius: "6px", color: "hsl(var(--foreground))" } }) : null;
6297
+ return /* @__PURE__ */ jsx39("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx39(ResponsiveContainer, { width, height, children: /* @__PURE__ */ jsxs24(
6178
6298
  RechartsBarChart,
6179
6299
  {
6180
6300
  data,
@@ -6182,8 +6302,8 @@ var BarChart = ({
6182
6302
  barCategoryGap: barProps.barCategoryGap,
6183
6303
  barGap: barProps.barGap,
6184
6304
  children: [
6185
- showGrid && /* @__PURE__ */ jsx38(CartesianGrid, { strokeDasharray: "3 3", stroke: "hsl(var(--muted-foreground))", opacity: 0.3 }),
6186
- xAxis && !xAxis.hide && /* @__PURE__ */ jsx38(
6305
+ showGrid && /* @__PURE__ */ jsx39(CartesianGrid, { strokeDasharray: "3 3", stroke: "hsl(var(--muted-foreground))", opacity: 0.3 }),
6306
+ xAxis && !xAxis.hide && /* @__PURE__ */ jsx39(
6187
6307
  XAxis,
6188
6308
  {
6189
6309
  dataKey: xAxis.dataKey,
@@ -6197,7 +6317,7 @@ var BarChart = ({
6197
6317
  label: xAxis.label ? { value: xAxis.label, position: "insideBottom", offset: -5 } : void 0
6198
6318
  }
6199
6319
  ),
6200
- yAxis && !yAxis.hide && /* @__PURE__ */ jsx38(
6320
+ yAxis && !yAxis.hide && /* @__PURE__ */ jsx39(
6201
6321
  YAxis,
6202
6322
  {
6203
6323
  type: yAxis.type,
@@ -6208,7 +6328,7 @@ var BarChart = ({
6208
6328
  }
6209
6329
  ),
6210
6330
  customTooltip,
6211
- showLegend && /* @__PURE__ */ jsx38(Legend, {}),
6331
+ showLegend && /* @__PURE__ */ jsx39(Legend, {}),
6212
6332
  bars
6213
6333
  ]
6214
6334
  }
@@ -6241,7 +6361,7 @@ var LineChart = ({
6241
6361
  accentColors2[accentColor][12],
6242
6362
  accentColors2[accentColor][1]
6243
6363
  ];
6244
- const lines = dataKeys ? dataKeys.map((keyConfig, index) => /* @__PURE__ */ jsx38(
6364
+ const lines = dataKeys ? dataKeys.map((keyConfig, index) => /* @__PURE__ */ jsx39(
6245
6365
  Line,
6246
6366
  {
6247
6367
  type: "monotone",
@@ -6251,7 +6371,7 @@ var LineChart = ({
6251
6371
  name: keyConfig.name || keyConfig.dataKey
6252
6372
  },
6253
6373
  keyConfig.dataKey
6254
- )) : /* @__PURE__ */ jsx38(
6374
+ )) : /* @__PURE__ */ jsx39(
6255
6375
  Line,
6256
6376
  {
6257
6377
  type: "monotone",
@@ -6261,9 +6381,9 @@ var LineChart = ({
6261
6381
  name: name || dataKey
6262
6382
  }
6263
6383
  );
6264
- return /* @__PURE__ */ jsx38("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx38(ResponsiveContainer, { width, height, children: /* @__PURE__ */ jsxs24(RechartsLineChart, { data, margin, children: [
6265
- showGrid && /* @__PURE__ */ jsx38(CartesianGrid, { strokeDasharray: "3 3", stroke: "hsl(var(--muted-foreground))", opacity: 0.3 }),
6266
- xAxis && !xAxis.hide && /* @__PURE__ */ jsx38(
6384
+ return /* @__PURE__ */ jsx39("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx39(ResponsiveContainer, { width, height, children: /* @__PURE__ */ jsxs24(RechartsLineChart, { data, margin, children: [
6385
+ showGrid && /* @__PURE__ */ jsx39(CartesianGrid, { strokeDasharray: "3 3", stroke: "hsl(var(--muted-foreground))", opacity: 0.3 }),
6386
+ xAxis && !xAxis.hide && /* @__PURE__ */ jsx39(
6267
6387
  XAxis,
6268
6388
  {
6269
6389
  dataKey: xAxis.dataKey,
@@ -6273,7 +6393,7 @@ var LineChart = ({
6273
6393
  label: xAxis.label ? { value: xAxis.label, position: "insideBottom", offset: -5 } : void 0
6274
6394
  }
6275
6395
  ),
6276
- yAxis && !yAxis.hide && /* @__PURE__ */ jsx38(
6396
+ yAxis && !yAxis.hide && /* @__PURE__ */ jsx39(
6277
6397
  YAxis,
6278
6398
  {
6279
6399
  type: yAxis.type,
@@ -6282,8 +6402,8 @@ var LineChart = ({
6282
6402
  label: yAxis.label ? { value: yAxis.label, angle: -90, position: "insideLeft" } : void 0
6283
6403
  }
6284
6404
  ),
6285
- showTooltip && /* @__PURE__ */ jsx38(Tooltip2, { contentStyle: { backgroundColor: "hsl(var(--background))", border: "1px solid hsl(var(--border))", borderRadius: "6px", color: "hsl(var(--foreground))" } }),
6286
- showLegend && /* @__PURE__ */ jsx38(Legend, {}),
6405
+ showTooltip && /* @__PURE__ */ jsx39(Tooltip2, { contentStyle: { backgroundColor: "hsl(var(--background))", border: "1px solid hsl(var(--border))", borderRadius: "6px", color: "hsl(var(--foreground))" } }),
6406
+ showLegend && /* @__PURE__ */ jsx39(Legend, {}),
6287
6407
  lines
6288
6408
  ] }) }) });
6289
6409
  };
@@ -6314,8 +6434,8 @@ var PieChart = ({
6314
6434
  accentColors2[accentColor][1]
6315
6435
  ];
6316
6436
  const chartColors = colors || defaultColors;
6317
- return /* @__PURE__ */ jsx38("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx38(ResponsiveContainer, { width, height, children: /* @__PURE__ */ jsxs24(RechartsPieChart, { children: [
6318
- /* @__PURE__ */ jsx38(
6437
+ return /* @__PURE__ */ jsx39("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx39(ResponsiveContainer, { width, height, children: /* @__PURE__ */ jsxs24(RechartsPieChart, { children: [
6438
+ /* @__PURE__ */ jsx39(
6319
6439
  Pie,
6320
6440
  {
6321
6441
  data,
@@ -6326,11 +6446,11 @@ var PieChart = ({
6326
6446
  fill: "#8884d8",
6327
6447
  dataKey,
6328
6448
  nameKey,
6329
- children: data.map((_entry, index) => /* @__PURE__ */ jsx38(Cell, { fill: chartColors[index % chartColors.length] }, `cell-${index}`))
6449
+ children: data.map((_entry, index) => /* @__PURE__ */ jsx39(Cell, { fill: chartColors[index % chartColors.length] }, `cell-${index}`))
6330
6450
  }
6331
6451
  ),
6332
- showTooltip && /* @__PURE__ */ jsx38(Tooltip2, { contentStyle: { backgroundColor: "hsl(var(--background))", border: "1px solid hsl(var(--border))", borderRadius: "6px", color: "hsl(var(--foreground))" } }),
6333
- showLegend && /* @__PURE__ */ jsx38(Legend, {})
6452
+ showTooltip && /* @__PURE__ */ jsx39(Tooltip2, { contentStyle: { backgroundColor: "hsl(var(--background))", border: "1px solid hsl(var(--border))", borderRadius: "6px", color: "hsl(var(--foreground))" } }),
6453
+ showLegend && /* @__PURE__ */ jsx39(Legend, {})
6334
6454
  ] }) }) });
6335
6455
  };
6336
6456
  var AreaChart = ({
@@ -6362,7 +6482,7 @@ var AreaChart = ({
6362
6482
  accentColors2[accentColor][12],
6363
6483
  accentColors2[accentColor][1]
6364
6484
  ];
6365
- const areas = dataKeys ? dataKeys.map((keyConfig, index) => /* @__PURE__ */ jsx38(
6485
+ const areas = dataKeys ? dataKeys.map((keyConfig, index) => /* @__PURE__ */ jsx39(
6366
6486
  Area,
6367
6487
  {
6368
6488
  type: "monotone",
@@ -6373,7 +6493,7 @@ var AreaChart = ({
6373
6493
  name: keyConfig.name || keyConfig.dataKey
6374
6494
  },
6375
6495
  keyConfig.dataKey
6376
- )) : /* @__PURE__ */ jsx38(
6496
+ )) : /* @__PURE__ */ jsx39(
6377
6497
  Area,
6378
6498
  {
6379
6499
  type: "monotone",
@@ -6383,9 +6503,9 @@ var AreaChart = ({
6383
6503
  name: name || dataKey
6384
6504
  }
6385
6505
  );
6386
- return /* @__PURE__ */ jsx38("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx38(ResponsiveContainer, { width, height, children: /* @__PURE__ */ jsxs24(RechartsAreaChart, { data, margin, children: [
6387
- showGrid && /* @__PURE__ */ jsx38(CartesianGrid, { strokeDasharray: "3 3", stroke: "hsl(var(--muted-foreground))", opacity: 0.3 }),
6388
- xAxis && !xAxis.hide && /* @__PURE__ */ jsx38(
6506
+ return /* @__PURE__ */ jsx39("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx39(ResponsiveContainer, { width, height, children: /* @__PURE__ */ jsxs24(RechartsAreaChart, { data, margin, children: [
6507
+ showGrid && /* @__PURE__ */ jsx39(CartesianGrid, { strokeDasharray: "3 3", stroke: "hsl(var(--muted-foreground))", opacity: 0.3 }),
6508
+ xAxis && !xAxis.hide && /* @__PURE__ */ jsx39(
6389
6509
  XAxis,
6390
6510
  {
6391
6511
  dataKey: xAxis.dataKey,
@@ -6395,7 +6515,7 @@ var AreaChart = ({
6395
6515
  label: xAxis.label ? { value: xAxis.label, position: "insideBottom", offset: -5 } : void 0
6396
6516
  }
6397
6517
  ),
6398
- yAxis && !yAxis.hide && /* @__PURE__ */ jsx38(
6518
+ yAxis && !yAxis.hide && /* @__PURE__ */ jsx39(
6399
6519
  YAxis,
6400
6520
  {
6401
6521
  type: yAxis.type,
@@ -6404,8 +6524,8 @@ var AreaChart = ({
6404
6524
  label: yAxis.label ? { value: yAxis.label, angle: -90, position: "insideLeft" } : void 0
6405
6525
  }
6406
6526
  ),
6407
- showTooltip && /* @__PURE__ */ jsx38(Tooltip2, { contentStyle: { backgroundColor: "hsl(var(--background))", border: "1px solid hsl(var(--border))", borderRadius: "6px", color: "hsl(var(--foreground))" } }),
6408
- showLegend && /* @__PURE__ */ jsx38(Legend, {}),
6527
+ showTooltip && /* @__PURE__ */ jsx39(Tooltip2, { contentStyle: { backgroundColor: "hsl(var(--background))", border: "1px solid hsl(var(--border))", borderRadius: "6px", color: "hsl(var(--foreground))" } }),
6528
+ showLegend && /* @__PURE__ */ jsx39(Legend, {}),
6409
6529
  areas
6410
6530
  ] }) }) });
6411
6531
  };
@@ -6426,9 +6546,9 @@ var ScatterChart = ({
6426
6546
  className
6427
6547
  }) => {
6428
6548
  const { accentColor } = useTheme();
6429
- return /* @__PURE__ */ jsx38("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx38(ResponsiveContainer, { width, height, children: /* @__PURE__ */ jsxs24(RechartsScatterChart, { data, margin, children: [
6430
- showGrid && /* @__PURE__ */ jsx38(CartesianGrid, { strokeDasharray: "3 3", stroke: "hsl(var(--muted-foreground))", opacity: 0.3 }),
6431
- xAxis && !xAxis.hide && /* @__PURE__ */ jsx38(
6549
+ return /* @__PURE__ */ jsx39("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx39(ResponsiveContainer, { width, height, children: /* @__PURE__ */ jsxs24(RechartsScatterChart, { data, margin, children: [
6550
+ showGrid && /* @__PURE__ */ jsx39(CartesianGrid, { strokeDasharray: "3 3", stroke: "hsl(var(--muted-foreground))", opacity: 0.3 }),
6551
+ xAxis && !xAxis.hide && /* @__PURE__ */ jsx39(
6432
6552
  XAxis,
6433
6553
  {
6434
6554
  dataKey: xDataKey,
@@ -6438,7 +6558,7 @@ var ScatterChart = ({
6438
6558
  label: xAxis.label ? { value: xAxis.label, position: "insideBottom", offset: -5 } : void 0
6439
6559
  }
6440
6560
  ),
6441
- yAxis && !yAxis.hide && /* @__PURE__ */ jsx38(
6561
+ yAxis && !yAxis.hide && /* @__PURE__ */ jsx39(
6442
6562
  YAxis,
6443
6563
  {
6444
6564
  dataKey: yDataKey,
@@ -6448,9 +6568,9 @@ var ScatterChart = ({
6448
6568
  label: yAxis.label ? { value: yAxis.label, angle: -90, position: "insideLeft" } : void 0
6449
6569
  }
6450
6570
  ),
6451
- showTooltip && /* @__PURE__ */ jsx38(Tooltip2, { contentStyle: { backgroundColor: "hsl(var(--background))", border: "1px solid hsl(var(--border))", borderRadius: "6px", color: "hsl(var(--foreground))" } }),
6452
- showLegend && /* @__PURE__ */ jsx38(Legend, {}),
6453
- /* @__PURE__ */ jsx38(Scatter, { name, dataKey: yDataKey, fill: fill || accentColors2[accentColor][6] })
6571
+ showTooltip && /* @__PURE__ */ jsx39(Tooltip2, { contentStyle: { backgroundColor: "hsl(var(--background))", border: "1px solid hsl(var(--border))", borderRadius: "6px", color: "hsl(var(--foreground))" } }),
6572
+ showLegend && /* @__PURE__ */ jsx39(Legend, {}),
6573
+ /* @__PURE__ */ jsx39(Scatter, { name, dataKey: yDataKey, fill: fill || accentColors2[accentColor][6] })
6454
6574
  ] }) }) });
6455
6575
  };
6456
6576
  var RadarChart = ({
@@ -6467,11 +6587,11 @@ var RadarChart = ({
6467
6587
  className
6468
6588
  }) => {
6469
6589
  const { accentColor } = useTheme();
6470
- return /* @__PURE__ */ jsx38("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx38(ResponsiveContainer, { width, height, children: /* @__PURE__ */ jsxs24(RechartsRadarChart, { data, children: [
6471
- /* @__PURE__ */ jsx38(PolarGrid, {}),
6472
- /* @__PURE__ */ jsx38(PolarAngleAxis, { dataKey: nameKey }),
6473
- /* @__PURE__ */ jsx38(PolarRadiusAxis, {}),
6474
- /* @__PURE__ */ jsx38(
6590
+ return /* @__PURE__ */ jsx39("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx39(ResponsiveContainer, { width, height, children: /* @__PURE__ */ jsxs24(RechartsRadarChart, { data, children: [
6591
+ /* @__PURE__ */ jsx39(PolarGrid, {}),
6592
+ /* @__PURE__ */ jsx39(PolarAngleAxis, { dataKey: nameKey }),
6593
+ /* @__PURE__ */ jsx39(PolarRadiusAxis, {}),
6594
+ /* @__PURE__ */ jsx39(
6475
6595
  Radar,
6476
6596
  {
6477
6597
  name: name || dataKey,
@@ -6481,8 +6601,8 @@ var RadarChart = ({
6481
6601
  fillOpacity: 0.6
6482
6602
  }
6483
6603
  ),
6484
- showTooltip && /* @__PURE__ */ jsx38(Tooltip2, { contentStyle: { backgroundColor: "hsl(var(--background))", border: "1px solid hsl(var(--border))", borderRadius: "6px", color: "hsl(var(--foreground))" } }),
6485
- showLegend && /* @__PURE__ */ jsx38(Legend, {})
6604
+ showTooltip && /* @__PURE__ */ jsx39(Tooltip2, { contentStyle: { backgroundColor: "hsl(var(--background))", border: "1px solid hsl(var(--border))", borderRadius: "6px", color: "hsl(var(--foreground))" } }),
6605
+ showLegend && /* @__PURE__ */ jsx39(Legend, {})
6486
6606
  ] }) }) });
6487
6607
  };
6488
6608
  var DonutChart = ({
@@ -6539,9 +6659,9 @@ var DonutChart = ({
6539
6659
  width: "200%",
6540
6660
  height: "200%",
6541
6661
  children: [
6542
- /* @__PURE__ */ jsx38("feOffset", { dx: "0", dy: "2" }),
6543
- /* @__PURE__ */ jsx38("feGaussianBlur", { stdDeviation: "2", result: "offsetBlur" }),
6544
- /* @__PURE__ */ jsx38(
6662
+ /* @__PURE__ */ jsx39("feOffset", { dx: "0", dy: "2" }),
6663
+ /* @__PURE__ */ jsx39("feGaussianBlur", { stdDeviation: "2", result: "offsetBlur" }),
6664
+ /* @__PURE__ */ jsx39(
6545
6665
  "feComposite",
6546
6666
  {
6547
6667
  in: "SourceAlpha",
@@ -6550,8 +6670,8 @@ var DonutChart = ({
6550
6670
  result: "innerShadow"
6551
6671
  }
6552
6672
  ),
6553
- /* @__PURE__ */ jsx38("feFlood", { floodColor: "hsl(var(--muted))", floodOpacity: "0.9", result: "color" }),
6554
- /* @__PURE__ */ jsx38(
6673
+ /* @__PURE__ */ jsx39("feFlood", { floodColor: "hsl(var(--muted))", floodOpacity: "0.9", result: "color" }),
6674
+ /* @__PURE__ */ jsx39(
6555
6675
  "feComposite",
6556
6676
  {
6557
6677
  in: "color",
@@ -6560,7 +6680,7 @@ var DonutChart = ({
6560
6680
  result: "shadow"
6561
6681
  }
6562
6682
  ),
6563
- /* @__PURE__ */ jsx38(
6683
+ /* @__PURE__ */ jsx39(
6564
6684
  "feComposite",
6565
6685
  {
6566
6686
  in: "shadow",
@@ -6571,7 +6691,7 @@ var DonutChart = ({
6571
6691
  ]
6572
6692
  }
6573
6693
  ),
6574
- styling.enableShadows && /* @__PURE__ */ jsx38(
6694
+ styling.enableShadows && /* @__PURE__ */ jsx39(
6575
6695
  "filter",
6576
6696
  {
6577
6697
  id: "dropShadow",
@@ -6579,7 +6699,7 @@ var DonutChart = ({
6579
6699
  y: "-10%",
6580
6700
  width: "120%",
6581
6701
  height: "120%",
6582
- children: /* @__PURE__ */ jsx38(
6702
+ children: /* @__PURE__ */ jsx39(
6583
6703
  "feDropShadow",
6584
6704
  {
6585
6705
  dx: "0",
@@ -6600,14 +6720,14 @@ var DonutChart = ({
6600
6720
  x2: gradient.x2 || "100%",
6601
6721
  y2: gradient.y2 || "100%",
6602
6722
  children: [
6603
- /* @__PURE__ */ jsx38("stop", { offset: "0%", stopColor: gradient.colors[0] }),
6604
- /* @__PURE__ */ jsx38("stop", { offset: "100%", stopColor: gradient.colors[1] })
6723
+ /* @__PURE__ */ jsx39("stop", { offset: "0%", stopColor: gradient.colors[0] }),
6724
+ /* @__PURE__ */ jsx39("stop", { offset: "100%", stopColor: gradient.colors[1] })
6605
6725
  ]
6606
6726
  },
6607
6727
  gradient.id
6608
6728
  ))
6609
6729
  ] }) : null;
6610
- const customTooltip = tooltip ? /* @__PURE__ */ jsx38(
6730
+ const customTooltip = tooltip ? /* @__PURE__ */ jsx39(
6611
6731
  Tooltip2,
6612
6732
  {
6613
6733
  formatter: tooltip.formatter,
@@ -6615,10 +6735,10 @@ var DonutChart = ({
6615
6735
  labelStyle: tooltip.labelStyle,
6616
6736
  contentStyle: tooltip.contentStyle
6617
6737
  }
6618
- ) : showTooltip ? /* @__PURE__ */ jsx38(Tooltip2, { contentStyle: { backgroundColor: "hsl(var(--background))", border: "1px solid hsl(var(--border))", borderRadius: "6px", color: "hsl(var(--foreground))" } }) : null;
6619
- return /* @__PURE__ */ jsx38("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx38(ResponsiveContainer, { width, height, children: /* @__PURE__ */ jsxs24(RechartsPieChart, { children: [
6738
+ ) : showTooltip ? /* @__PURE__ */ jsx39(Tooltip2, { contentStyle: { backgroundColor: "hsl(var(--background))", border: "1px solid hsl(var(--border))", borderRadius: "6px", color: "hsl(var(--foreground))" } }) : null;
6739
+ return /* @__PURE__ */ jsx39("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx39(ResponsiveContainer, { width, height, children: /* @__PURE__ */ jsxs24(RechartsPieChart, { children: [
6620
6740
  gradientDefs,
6621
- /* @__PURE__ */ jsx38(
6741
+ /* @__PURE__ */ jsx39(
6622
6742
  Pie,
6623
6743
  {
6624
6744
  data,
@@ -6631,7 +6751,7 @@ var DonutChart = ({
6631
6751
  nameKey,
6632
6752
  strokeLinecap: styling.progressArc.strokeLinecap,
6633
6753
  filter: styling.progressArc.filter,
6634
- children: data.map((_entry, index) => /* @__PURE__ */ jsx38(
6754
+ children: data.map((_entry, index) => /* @__PURE__ */ jsx39(
6635
6755
  Cell,
6636
6756
  {
6637
6757
  fill: chartColors[index % chartColors.length]
@@ -6641,7 +6761,7 @@ var DonutChart = ({
6641
6761
  }
6642
6762
  ),
6643
6763
  customTooltip,
6644
- showLegend && /* @__PURE__ */ jsx38(Legend, {})
6764
+ showLegend && /* @__PURE__ */ jsx39(Legend, {})
6645
6765
  ] }) }) });
6646
6766
  };
6647
6767
  var ProgressCard = ({
@@ -6689,13 +6809,13 @@ var ProgressCard = ({
6689
6809
  onClick: () => onClick?.(questionNum),
6690
6810
  children: [
6691
6811
  /* @__PURE__ */ jsxs24("div", { className: "flex flex-col items-center", children: [
6692
- /* @__PURE__ */ jsx38("span", { className: cn("font-bold", typography.questionFontSize, typography.questionColor), children: questionNum }),
6812
+ /* @__PURE__ */ jsx39("span", { className: cn("font-bold", typography.questionFontSize, typography.questionColor), children: questionNum }),
6693
6813
  /* @__PURE__ */ jsxs24("span", { className: cn("font-bold", typography.percentageFontSize, percentageTextColor), children: [
6694
6814
  normalizedPercentage.toFixed(1),
6695
6815
  "%"
6696
6816
  ] })
6697
6817
  ] }),
6698
- /* @__PURE__ */ jsx38("div", { className: "flex items-center", style: { width: `${donutSize + 10}px`, height: `${donutSize + 10}px` }, children: /* @__PURE__ */ jsxs24("svg", { width: donutSize + 10, height: donutSize + 10, viewBox: "0 0 100 100", children: [
6818
+ /* @__PURE__ */ jsx39("div", { className: "flex items-center", style: { width: `${donutSize + 10}px`, height: `${donutSize + 10}px` }, children: /* @__PURE__ */ jsxs24("svg", { width: donutSize + 10, height: donutSize + 10, viewBox: "0 0 100 100", children: [
6699
6819
  /* @__PURE__ */ jsxs24("defs", { children: [
6700
6820
  enableGradients && /* @__PURE__ */ jsxs24(
6701
6821
  "linearGradient",
@@ -6706,8 +6826,8 @@ var ProgressCard = ({
6706
6826
  x2: "100%",
6707
6827
  y2: "100%",
6708
6828
  children: [
6709
- /* @__PURE__ */ jsx38("stop", { offset: "0%", stopColor: startColor }),
6710
- /* @__PURE__ */ jsx38("stop", { offset: "100%", stopColor: endColor })
6829
+ /* @__PURE__ */ jsx39("stop", { offset: "0%", stopColor: startColor }),
6830
+ /* @__PURE__ */ jsx39("stop", { offset: "100%", stopColor: endColor })
6711
6831
  ]
6712
6832
  }
6713
6833
  ),
@@ -6721,9 +6841,9 @@ var ProgressCard = ({
6721
6841
  width: "200%",
6722
6842
  height: "200%",
6723
6843
  children: [
6724
- /* @__PURE__ */ jsx38("feOffset", { dx: "0", dy: "2" }),
6725
- /* @__PURE__ */ jsx38("feGaussianBlur", { stdDeviation: "2", result: "offsetBlur" }),
6726
- /* @__PURE__ */ jsx38(
6844
+ /* @__PURE__ */ jsx39("feOffset", { dx: "0", dy: "2" }),
6845
+ /* @__PURE__ */ jsx39("feGaussianBlur", { stdDeviation: "2", result: "offsetBlur" }),
6846
+ /* @__PURE__ */ jsx39(
6727
6847
  "feComposite",
6728
6848
  {
6729
6849
  in: "SourceAlpha",
@@ -6732,8 +6852,8 @@ var ProgressCard = ({
6732
6852
  result: "innerShadow"
6733
6853
  }
6734
6854
  ),
6735
- /* @__PURE__ */ jsx38("feFlood", { floodColor: "#c0c0c0", floodOpacity: "0.9", result: "color" }),
6736
- /* @__PURE__ */ jsx38(
6855
+ /* @__PURE__ */ jsx39("feFlood", { floodColor: "#c0c0c0", floodOpacity: "0.9", result: "color" }),
6856
+ /* @__PURE__ */ jsx39(
6737
6857
  "feComposite",
6738
6858
  {
6739
6859
  in: "color",
@@ -6742,7 +6862,7 @@ var ProgressCard = ({
6742
6862
  result: "shadow"
6743
6863
  }
6744
6864
  ),
6745
- /* @__PURE__ */ jsx38(
6865
+ /* @__PURE__ */ jsx39(
6746
6866
  "feComposite",
6747
6867
  {
6748
6868
  in: "shadow",
@@ -6753,7 +6873,7 @@ var ProgressCard = ({
6753
6873
  ]
6754
6874
  }
6755
6875
  ),
6756
- /* @__PURE__ */ jsx38(
6876
+ /* @__PURE__ */ jsx39(
6757
6877
  "filter",
6758
6878
  {
6759
6879
  id: shadowId,
@@ -6761,7 +6881,7 @@ var ProgressCard = ({
6761
6881
  y: "-10%",
6762
6882
  width: "120%",
6763
6883
  height: "120%",
6764
- children: /* @__PURE__ */ jsx38(
6884
+ children: /* @__PURE__ */ jsx39(
6765
6885
  "feDropShadow",
6766
6886
  {
6767
6887
  dx: "0",
@@ -6775,7 +6895,7 @@ var ProgressCard = ({
6775
6895
  )
6776
6896
  ] })
6777
6897
  ] }),
6778
- /* @__PURE__ */ jsx38(
6898
+ /* @__PURE__ */ jsx39(
6779
6899
  "circle",
6780
6900
  {
6781
6901
  cx: "50",
@@ -6787,7 +6907,7 @@ var ProgressCard = ({
6787
6907
  filter: enableShadows ? `url(#${bgShadowId})` : void 0
6788
6908
  }
6789
6909
  ),
6790
- /* @__PURE__ */ jsx38(
6910
+ /* @__PURE__ */ jsx39(
6791
6911
  "circle",
6792
6912
  {
6793
6913
  cx: "50",
@@ -6841,10 +6961,10 @@ var ProgressDonut = ({
6841
6961
  accentColors2[accentColor][1]
6842
6962
  ];
6843
6963
  if (!data || data.length === 0) {
6844
- return /* @__PURE__ */ jsx38("div", { className: cn("text-gray-500", className), children: "No data provided" });
6964
+ return /* @__PURE__ */ jsx39("div", { className: cn("text-gray-500", className), children: "No data provided" });
6845
6965
  }
6846
- return /* @__PURE__ */ jsx38("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx38(ResponsiveContainer, { width, height, children: /* @__PURE__ */ jsxs24(RechartsPieChart, { children: [
6847
- /* @__PURE__ */ jsx38(
6966
+ return /* @__PURE__ */ jsx39("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsx39(ResponsiveContainer, { width, height, children: /* @__PURE__ */ jsxs24(RechartsPieChart, { children: [
6967
+ /* @__PURE__ */ jsx39(
6848
6968
  Pie,
6849
6969
  {
6850
6970
  data,
@@ -6858,12 +6978,12 @@ var ProgressDonut = ({
6858
6978
  children: data.map((_entry, index) => {
6859
6979
  const percentage = Math.min(100, Math.max(0, _entry.value));
6860
6980
  const fillColor = colorFn(percentage) || defaultColors[index % defaultColors.length];
6861
- return /* @__PURE__ */ jsx38(Cell, { fill: fillColor }, `cell-${index}`);
6981
+ return /* @__PURE__ */ jsx39(Cell, { fill: fillColor }, `cell-${index}`);
6862
6982
  })
6863
6983
  }
6864
6984
  ),
6865
- showTooltip && /* @__PURE__ */ jsx38(Tooltip2, { contentStyle: { backgroundColor: "hsl(var(--background))", border: "1px solid hsl(var(--border))", borderRadius: "6px", color: "hsl(var(--foreground))" } }),
6866
- showLegend && /* @__PURE__ */ jsx38(Legend, {})
6985
+ showTooltip && /* @__PURE__ */ jsx39(Tooltip2, { contentStyle: { backgroundColor: "hsl(var(--background))", border: "1px solid hsl(var(--border))", borderRadius: "6px", color: "hsl(var(--foreground))" } }),
6986
+ showLegend && /* @__PURE__ */ jsx39(Legend, {})
6867
6987
  ] }) }) });
6868
6988
  };
6869
6989
  var MultiProgressDonut = ({
@@ -6890,16 +7010,16 @@ var MultiProgressDonut = ({
6890
7010
  };
6891
7011
  const colorFn = getColor || defaultGetColor;
6892
7012
  if (!data || data.length === 0) {
6893
- return /* @__PURE__ */ jsx38("div", { className: cn("text-gray-500", className), children: "No data provided" });
7013
+ return /* @__PURE__ */ jsx39("div", { className: cn("text-gray-500", className), children: "No data provided" });
6894
7014
  }
6895
- return /* @__PURE__ */ jsx38("div", { className: cn("flex flex-wrap gap-4", className), children: data.map((item, index) => {
7015
+ return /* @__PURE__ */ jsx39("div", { className: cn("flex flex-wrap gap-4", className), children: data.map((item, index) => {
6896
7016
  const percentage = Math.min(100, Math.max(0, item.value));
6897
7017
  const gradientId = `progress-gradient-${index}`;
6898
7018
  const shadowId = `progress-shadow-${index}`;
6899
7019
  const bgShadowId = `progress-bg-shadow-${index}`;
6900
7020
  const [startColor, endColor] = colorFn(percentage);
6901
7021
  return /* @__PURE__ */ jsxs24("div", { className: "flex flex-col items-center gap-2", children: [
6902
- item.label && /* @__PURE__ */ jsx38("div", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: item.label }),
7022
+ item.label && /* @__PURE__ */ jsx39("div", { className: "text-sm font-medium text-gray-700 dark:text-gray-300", children: item.label }),
6903
7023
  /* @__PURE__ */ jsxs24("div", { className: "relative", children: [
6904
7024
  /* @__PURE__ */ jsxs24("svg", { width: size, height: size, viewBox: "0 0 100 100", children: [
6905
7025
  /* @__PURE__ */ jsxs24("defs", { children: [
@@ -6912,8 +7032,8 @@ var MultiProgressDonut = ({
6912
7032
  x2: "100%",
6913
7033
  y2: "100%",
6914
7034
  children: [
6915
- /* @__PURE__ */ jsx38("stop", { offset: "0%", stopColor: startColor }),
6916
- /* @__PURE__ */ jsx38("stop", { offset: "100%", stopColor: endColor })
7035
+ /* @__PURE__ */ jsx39("stop", { offset: "0%", stopColor: startColor }),
7036
+ /* @__PURE__ */ jsx39("stop", { offset: "100%", stopColor: endColor })
6917
7037
  ]
6918
7038
  }
6919
7039
  ),
@@ -6927,9 +7047,9 @@ var MultiProgressDonut = ({
6927
7047
  width: "200%",
6928
7048
  height: "200%",
6929
7049
  children: [
6930
- /* @__PURE__ */ jsx38("feOffset", { dx: "0", dy: "2" }),
6931
- /* @__PURE__ */ jsx38("feGaussianBlur", { stdDeviation: "2", result: "offsetBlur" }),
6932
- /* @__PURE__ */ jsx38(
7050
+ /* @__PURE__ */ jsx39("feOffset", { dx: "0", dy: "2" }),
7051
+ /* @__PURE__ */ jsx39("feGaussianBlur", { stdDeviation: "2", result: "offsetBlur" }),
7052
+ /* @__PURE__ */ jsx39(
6933
7053
  "feComposite",
6934
7054
  {
6935
7055
  in: "SourceAlpha",
@@ -6938,8 +7058,8 @@ var MultiProgressDonut = ({
6938
7058
  result: "innerShadow"
6939
7059
  }
6940
7060
  ),
6941
- /* @__PURE__ */ jsx38("feFlood", { floodColor: "#c0c0c0", floodOpacity: "0.9", result: "color" }),
6942
- /* @__PURE__ */ jsx38(
7061
+ /* @__PURE__ */ jsx39("feFlood", { floodColor: "#c0c0c0", floodOpacity: "0.9", result: "color" }),
7062
+ /* @__PURE__ */ jsx39(
6943
7063
  "feComposite",
6944
7064
  {
6945
7065
  in: "color",
@@ -6948,7 +7068,7 @@ var MultiProgressDonut = ({
6948
7068
  result: "shadow"
6949
7069
  }
6950
7070
  ),
6951
- /* @__PURE__ */ jsx38(
7071
+ /* @__PURE__ */ jsx39(
6952
7072
  "feComposite",
6953
7073
  {
6954
7074
  in: "shadow",
@@ -6959,7 +7079,7 @@ var MultiProgressDonut = ({
6959
7079
  ]
6960
7080
  }
6961
7081
  ),
6962
- /* @__PURE__ */ jsx38(
7082
+ /* @__PURE__ */ jsx39(
6963
7083
  "filter",
6964
7084
  {
6965
7085
  id: shadowId,
@@ -6967,7 +7087,7 @@ var MultiProgressDonut = ({
6967
7087
  y: "-10%",
6968
7088
  width: "120%",
6969
7089
  height: "120%",
6970
- children: /* @__PURE__ */ jsx38(
7090
+ children: /* @__PURE__ */ jsx39(
6971
7091
  "feDropShadow",
6972
7092
  {
6973
7093
  dx: "0",
@@ -6981,7 +7101,7 @@ var MultiProgressDonut = ({
6981
7101
  )
6982
7102
  ] })
6983
7103
  ] }),
6984
- /* @__PURE__ */ jsx38(
7104
+ /* @__PURE__ */ jsx39(
6985
7105
  "circle",
6986
7106
  {
6987
7107
  cx: "50",
@@ -6993,7 +7113,7 @@ var MultiProgressDonut = ({
6993
7113
  filter: enableShadows ? `url(#${bgShadowId})` : void 0
6994
7114
  }
6995
7115
  ),
6996
- /* @__PURE__ */ jsx38(
7116
+ /* @__PURE__ */ jsx39(
6997
7117
  "circle",
6998
7118
  {
6999
7119
  cx: "50",
@@ -7010,7 +7130,7 @@ var MultiProgressDonut = ({
7010
7130
  }
7011
7131
  )
7012
7132
  ] }),
7013
- showPercentage && /* @__PURE__ */ jsx38("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsxs24("span", { className: "text-xs font-bold text-gray-700 dark:text-gray-300", children: [
7133
+ showPercentage && /* @__PURE__ */ jsx39("div", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsxs24("span", { className: "text-xs font-bold text-gray-700 dark:text-gray-300", children: [
7014
7134
  percentage.toFixed(1),
7015
7135
  "%"
7016
7136
  ] }) })
@@ -7081,10 +7201,10 @@ var PackedBubbleChart = ({
7081
7201
  titleStyle,
7082
7202
  className
7083
7203
  }) => {
7084
- const containerRef = React38.useRef(null);
7085
- const [dimensions, setDimensions] = React38.useState({ width: 400, height: 300 });
7086
- const [bubbles, setBubbles] = React38.useState([]);
7087
- React38.useEffect(() => {
7204
+ const containerRef = React39.useRef(null);
7205
+ const [dimensions, setDimensions] = React39.useState({ width: 400, height: 300 });
7206
+ const [bubbles, setBubbles] = React39.useState([]);
7207
+ React39.useEffect(() => {
7088
7208
  const updateDimensions = () => {
7089
7209
  if (containerRef.current) {
7090
7210
  const rect = containerRef.current.getBoundingClientRect();
@@ -7098,7 +7218,7 @@ var PackedBubbleChart = ({
7098
7218
  window.addEventListener("resize", updateDimensions);
7099
7219
  return () => window.removeEventListener("resize", updateDimensions);
7100
7220
  }, [height]);
7101
- React38.useEffect(() => {
7221
+ React39.useEffect(() => {
7102
7222
  if (data.length === 0) {
7103
7223
  setBubbles([]);
7104
7224
  return;
@@ -7120,7 +7240,7 @@ var PackedBubbleChart = ({
7120
7240
  className: cn("relative w-full", className),
7121
7241
  style: { height: typeof height === "number" ? `${height}px` : height },
7122
7242
  children: [
7123
- title && /* @__PURE__ */ jsx38(
7243
+ title && /* @__PURE__ */ jsx39(
7124
7244
  "div",
7125
7245
  {
7126
7246
  className: "text-center text-sm font-bold text-[#31456A] dark:text-slate-200",
@@ -7128,13 +7248,13 @@ var PackedBubbleChart = ({
7128
7248
  children: title
7129
7249
  }
7130
7250
  ),
7131
- /* @__PURE__ */ jsx38("svg", { width: "100%", height: "100%", className: "overflow-visible", children: bubbles.map((bubble, index) => /* @__PURE__ */ jsxs24(
7251
+ /* @__PURE__ */ jsx39("svg", { width: "100%", height: "100%", className: "overflow-visible", children: bubbles.map((bubble, index) => /* @__PURE__ */ jsxs24(
7132
7252
  "g",
7133
7253
  {
7134
7254
  onClick: () => onBubbleClick?.(bubble.data),
7135
7255
  style: { cursor: onBubbleClick ? "pointer" : "default" },
7136
7256
  children: [
7137
- /* @__PURE__ */ jsx38(
7257
+ /* @__PURE__ */ jsx39(
7138
7258
  "circle",
7139
7259
  {
7140
7260
  cx: bubble.x,
@@ -7145,7 +7265,7 @@ var PackedBubbleChart = ({
7145
7265
  className: "transition-all duration-200 hover:opacity-100"
7146
7266
  }
7147
7267
  ),
7148
- showLabels && /* @__PURE__ */ jsx38(
7268
+ showLabels && /* @__PURE__ */ jsx39(
7149
7269
  "text",
7150
7270
  {
7151
7271
  x: bubble.x,
@@ -7161,7 +7281,7 @@ var PackedBubbleChart = ({
7161
7281
  children: bubble.data.name
7162
7282
  }
7163
7283
  ),
7164
- showValues && /* @__PURE__ */ jsx38(
7284
+ showValues && /* @__PURE__ */ jsx39(
7165
7285
  "text",
7166
7286
  {
7167
7287
  x: bubble.x,
@@ -7177,7 +7297,7 @@ var PackedBubbleChart = ({
7177
7297
  children: bubble.data.value
7178
7298
  }
7179
7299
  ),
7180
- /* @__PURE__ */ jsx38("title", { children: `${bubble.data.name}: ${bubble.data.value}` })
7300
+ /* @__PURE__ */ jsx39("title", { children: `${bubble.data.name}: ${bubble.data.value}` })
7181
7301
  ]
7182
7302
  },
7183
7303
  `bubble-${index}-${bubble.data.name}`
@@ -7187,10 +7307,93 @@ var PackedBubbleChart = ({
7187
7307
  );
7188
7308
  };
7189
7309
 
7310
+ // src/components/bottom-navigation.tsx
7311
+ import * as React40 from "react";
7312
+ import { jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
7313
+ var BottomNavigationContext = React40.createContext({
7314
+ value: null,
7315
+ onChange: () => {
7316
+ },
7317
+ showLabels: false
7318
+ });
7319
+ var BottomNavigation = React40.forwardRef(
7320
+ ({ className, value, onChange = () => {
7321
+ }, showLabels = false, children, ...props }, ref) => {
7322
+ return /* @__PURE__ */ jsx40(BottomNavigationContext.Provider, { value: { value, onChange, showLabels }, children: /* @__PURE__ */ jsx40(
7323
+ "div",
7324
+ {
7325
+ ref,
7326
+ role: "navigation",
7327
+ className: cn(
7328
+ "flex h-14 w-full items-stretch bg-background border-t border-border",
7329
+ className
7330
+ ),
7331
+ ...props,
7332
+ children
7333
+ }
7334
+ ) });
7335
+ }
7336
+ );
7337
+ BottomNavigation.displayName = "BottomNavigation";
7338
+ var BottomNavigationAction = React40.forwardRef(
7339
+ ({ className, label, icon, value, showLabel, disabled, onClick, ...props }, ref) => {
7340
+ const ctx = React40.useContext(BottomNavigationContext);
7341
+ const selected = ctx.value !== void 0 && ctx.value !== null && ctx.value === value;
7342
+ const labelVisible = showLabel ?? ctx.showLabels ?? selected;
7343
+ const handleClick = (e) => {
7344
+ ctx.onChange(e, value);
7345
+ onClick?.(e);
7346
+ };
7347
+ return /* @__PURE__ */ jsxs25(
7348
+ "button",
7349
+ {
7350
+ ref,
7351
+ type: "button",
7352
+ role: "tab",
7353
+ "aria-selected": selected,
7354
+ disabled,
7355
+ onClick: handleClick,
7356
+ className: cn(
7357
+ "flex flex-1 flex-col items-center justify-center gap-0.5 px-2 py-1",
7358
+ "text-xs font-medium transition-colors duration-150",
7359
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",
7360
+ "disabled:pointer-events-none disabled:opacity-40",
7361
+ selected ? "text-accent" : "text-muted-foreground hover:text-foreground",
7362
+ className
7363
+ ),
7364
+ ...props,
7365
+ children: [
7366
+ icon && /* @__PURE__ */ jsx40(
7367
+ "span",
7368
+ {
7369
+ className: cn(
7370
+ "transition-transform duration-150",
7371
+ selected && "scale-110"
7372
+ ),
7373
+ children: icon
7374
+ }
7375
+ ),
7376
+ label !== void 0 && /* @__PURE__ */ jsx40(
7377
+ "span",
7378
+ {
7379
+ className: cn(
7380
+ "transition-all duration-150 leading-none",
7381
+ labelVisible ? "opacity-100 max-h-4" : "opacity-0 max-h-0 overflow-hidden"
7382
+ ),
7383
+ children: label
7384
+ }
7385
+ )
7386
+ ]
7387
+ }
7388
+ );
7389
+ }
7390
+ );
7391
+ BottomNavigationAction.displayName = "BottomNavigationAction";
7392
+
7190
7393
  // src/components/breadcrumbs.tsx
7191
- import * as React39 from "react";
7192
- import { jsx as jsx39, jsxs as jsxs25 } from "react/jsx-runtime";
7193
- var Breadcrumbs = React39.forwardRef(
7394
+ import * as React41 from "react";
7395
+ import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
7396
+ var Breadcrumbs = React41.forwardRef(
7194
7397
  ({
7195
7398
  separator,
7196
7399
  maxItems,
@@ -7200,9 +7403,9 @@ var Breadcrumbs = React39.forwardRef(
7200
7403
  children,
7201
7404
  ...props
7202
7405
  }, ref) => {
7203
- const childArray = React39.Children.toArray(children);
7406
+ const childArray = React41.Children.toArray(children);
7204
7407
  const totalItems = childArray.length;
7205
- const separatorElement = separator ?? /* @__PURE__ */ jsx39(
7408
+ const separatorElement = separator ?? /* @__PURE__ */ jsx41(
7206
7409
  "svg",
7207
7410
  {
7208
7411
  xmlns: "http://www.w3.org/2000/svg",
@@ -7215,7 +7418,7 @@ var Breadcrumbs = React39.forwardRef(
7215
7418
  strokeLinecap: "round",
7216
7419
  strokeLinejoin: "round",
7217
7420
  className: "text-muted-foreground",
7218
- children: /* @__PURE__ */ jsx39("path", { d: "m9 18 6-6-6-6" })
7421
+ children: /* @__PURE__ */ jsx41("path", { d: "m9 18 6-6-6-6" })
7219
7422
  }
7220
7423
  );
7221
7424
  const shouldCollapse = maxItems && totalItems > maxItems;
@@ -7225,20 +7428,20 @@ var Breadcrumbs = React39.forwardRef(
7225
7428
  const endItems = childArray.slice(-itemsAfterCollapse);
7226
7429
  displayedItems = [
7227
7430
  ...startItems,
7228
- /* @__PURE__ */ jsx39(BreadcrumbEllipsis, {}, "ellipsis"),
7431
+ /* @__PURE__ */ jsx41(BreadcrumbEllipsis, {}, "ellipsis"),
7229
7432
  ...endItems
7230
7433
  ];
7231
7434
  } else {
7232
7435
  displayedItems = childArray;
7233
7436
  }
7234
- return /* @__PURE__ */ jsx39("nav", { ref, "aria-label": "Breadcrumb", className, ...props, children: /* @__PURE__ */ jsx39("ol", { className: "flex items-center gap-1.5 flex-wrap", children: displayedItems.map((child, index) => /* @__PURE__ */ jsxs25("li", { className: "flex items-center gap-1.5", children: [
7235
- index > 0 && /* @__PURE__ */ jsx39("span", { className: "flex items-center", "aria-hidden": "true", children: separatorElement }),
7437
+ return /* @__PURE__ */ jsx41("nav", { ref, "aria-label": "Breadcrumb", className, ...props, children: /* @__PURE__ */ jsx41("ol", { className: "flex items-center gap-1.5 flex-wrap", children: displayedItems.map((child, index) => /* @__PURE__ */ jsxs26("li", { className: "flex items-center gap-1.5", children: [
7438
+ index > 0 && /* @__PURE__ */ jsx41("span", { className: "flex items-center", "aria-hidden": "true", children: separatorElement }),
7236
7439
  child
7237
7440
  ] }, index)) }) });
7238
7441
  }
7239
7442
  );
7240
7443
  Breadcrumbs.displayName = "Breadcrumbs";
7241
- var BreadcrumbItem = React39.forwardRef(
7444
+ var BreadcrumbItem = React41.forwardRef(
7242
7445
  ({ current = false, href, onClick, className, children, ...props }, ref) => {
7243
7446
  const baseClasses = cn(
7244
7447
  "text-sm transition-colors",
@@ -7247,7 +7450,7 @@ var BreadcrumbItem = React39.forwardRef(
7247
7450
  className
7248
7451
  );
7249
7452
  if (current) {
7250
- return /* @__PURE__ */ jsx39(
7453
+ return /* @__PURE__ */ jsx41(
7251
7454
  "span",
7252
7455
  {
7253
7456
  ref,
@@ -7259,7 +7462,7 @@ var BreadcrumbItem = React39.forwardRef(
7259
7462
  );
7260
7463
  }
7261
7464
  if (href) {
7262
- return /* @__PURE__ */ jsx39(
7465
+ return /* @__PURE__ */ jsx41(
7263
7466
  "a",
7264
7467
  {
7265
7468
  href,
@@ -7269,7 +7472,7 @@ var BreadcrumbItem = React39.forwardRef(
7269
7472
  }
7270
7473
  );
7271
7474
  }
7272
- return /* @__PURE__ */ jsx39(
7475
+ return /* @__PURE__ */ jsx41(
7273
7476
  "span",
7274
7477
  {
7275
7478
  ref,
@@ -7290,8 +7493,8 @@ var BreadcrumbItem = React39.forwardRef(
7290
7493
  }
7291
7494
  );
7292
7495
  BreadcrumbItem.displayName = "BreadcrumbItem";
7293
- var BreadcrumbLink = React39.forwardRef(
7294
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx39(
7496
+ var BreadcrumbLink = React41.forwardRef(
7497
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7295
7498
  "a",
7296
7499
  {
7297
7500
  ref,
@@ -7304,8 +7507,8 @@ var BreadcrumbLink = React39.forwardRef(
7304
7507
  )
7305
7508
  );
7306
7509
  BreadcrumbLink.displayName = "BreadcrumbLink";
7307
- var BreadcrumbSeparator = React39.forwardRef(
7308
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx39(
7510
+ var BreadcrumbSeparator = React41.forwardRef(
7511
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx41(
7309
7512
  "span",
7310
7513
  {
7311
7514
  ref,
@@ -7313,7 +7516,7 @@ var BreadcrumbSeparator = React39.forwardRef(
7313
7516
  "aria-hidden": "true",
7314
7517
  className: cn("text-muted-foreground", className),
7315
7518
  ...props,
7316
- children: children ?? /* @__PURE__ */ jsx39(
7519
+ children: children ?? /* @__PURE__ */ jsx41(
7317
7520
  "svg",
7318
7521
  {
7319
7522
  xmlns: "http://www.w3.org/2000/svg",
@@ -7325,15 +7528,15 @@ var BreadcrumbSeparator = React39.forwardRef(
7325
7528
  strokeWidth: "2",
7326
7529
  strokeLinecap: "round",
7327
7530
  strokeLinejoin: "round",
7328
- children: /* @__PURE__ */ jsx39("path", { d: "m9 18 6-6-6-6" })
7531
+ children: /* @__PURE__ */ jsx41("path", { d: "m9 18 6-6-6-6" })
7329
7532
  }
7330
7533
  )
7331
7534
  }
7332
7535
  )
7333
7536
  );
7334
7537
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
7335
- var BreadcrumbEllipsis = React39.forwardRef(
7336
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx39(
7538
+ var BreadcrumbEllipsis = React41.forwardRef(
7539
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7337
7540
  "span",
7338
7541
  {
7339
7542
  ref,
@@ -7341,7 +7544,7 @@ var BreadcrumbEllipsis = React39.forwardRef(
7341
7544
  "aria-hidden": "true",
7342
7545
  className: cn("text-sm text-muted-foreground", className),
7343
7546
  ...props,
7344
- children: /* @__PURE__ */ jsxs25(
7547
+ children: /* @__PURE__ */ jsxs26(
7345
7548
  "svg",
7346
7549
  {
7347
7550
  xmlns: "http://www.w3.org/2000/svg",
@@ -7354,9 +7557,9 @@ var BreadcrumbEllipsis = React39.forwardRef(
7354
7557
  strokeLinecap: "round",
7355
7558
  strokeLinejoin: "round",
7356
7559
  children: [
7357
- /* @__PURE__ */ jsx39("circle", { cx: "12", cy: "12", r: "1" }),
7358
- /* @__PURE__ */ jsx39("circle", { cx: "19", cy: "12", r: "1" }),
7359
- /* @__PURE__ */ jsx39("circle", { cx: "5", cy: "12", r: "1" })
7560
+ /* @__PURE__ */ jsx41("circle", { cx: "12", cy: "12", r: "1" }),
7561
+ /* @__PURE__ */ jsx41("circle", { cx: "19", cy: "12", r: "1" }),
7562
+ /* @__PURE__ */ jsx41("circle", { cx: "5", cy: "12", r: "1" })
7360
7563
  ]
7361
7564
  }
7362
7565
  )
@@ -7364,8 +7567,8 @@ var BreadcrumbEllipsis = React39.forwardRef(
7364
7567
  )
7365
7568
  );
7366
7569
  BreadcrumbEllipsis.displayName = "BreadcrumbEllipsis";
7367
- var BreadcrumbPage = React39.forwardRef(
7368
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx39(
7570
+ var BreadcrumbPage = React41.forwardRef(
7571
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7369
7572
  "span",
7370
7573
  {
7371
7574
  ref,
@@ -7378,16 +7581,16 @@ var BreadcrumbPage = React39.forwardRef(
7378
7581
  BreadcrumbPage.displayName = "BreadcrumbPage";
7379
7582
 
7380
7583
  // src/components/dropdown-menu.tsx
7381
- import * as React40 from "react";
7584
+ import * as React42 from "react";
7382
7585
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
7383
- import { jsx as jsx40, jsxs as jsxs26 } from "react/jsx-runtime";
7586
+ import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
7384
7587
  var DropdownMenu = DropdownMenuPrimitive.Root;
7385
7588
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
7386
7589
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
7387
7590
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
7388
7591
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
7389
7592
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
7390
- var DropdownMenuSubTrigger = React40.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs26(
7593
+ var DropdownMenuSubTrigger = React42.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs27(
7391
7594
  DropdownMenuPrimitive.SubTrigger,
7392
7595
  {
7393
7596
  ref,
@@ -7401,7 +7604,7 @@ var DropdownMenuSubTrigger = React40.forwardRef(({ className, inset, children, .
7401
7604
  ...props,
7402
7605
  children: [
7403
7606
  children,
7404
- /* @__PURE__ */ jsx40(
7607
+ /* @__PURE__ */ jsx42(
7405
7608
  "svg",
7406
7609
  {
7407
7610
  className: "ml-auto h-4 w-4",
@@ -7412,14 +7615,14 @@ var DropdownMenuSubTrigger = React40.forwardRef(({ className, inset, children, .
7412
7615
  strokeWidth: "2",
7413
7616
  strokeLinecap: "round",
7414
7617
  strokeLinejoin: "round",
7415
- children: /* @__PURE__ */ jsx40("path", { d: "m9 18 6-6-6-6" })
7618
+ children: /* @__PURE__ */ jsx42("path", { d: "m9 18 6-6-6-6" })
7416
7619
  }
7417
7620
  )
7418
7621
  ]
7419
7622
  }
7420
7623
  ));
7421
7624
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
7422
- var DropdownMenuSubContent = React40.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx40(
7625
+ var DropdownMenuSubContent = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx42(
7423
7626
  DropdownMenuPrimitive.SubContent,
7424
7627
  {
7425
7628
  ref,
@@ -7436,7 +7639,7 @@ var DropdownMenuSubContent = React40.forwardRef(({ className, ...props }, ref) =
7436
7639
  }
7437
7640
  ));
7438
7641
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
7439
- var DropdownMenuContent = React40.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx40(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx40(
7642
+ var DropdownMenuContent = React42.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx42(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx42(
7440
7643
  DropdownMenuPrimitive.Content,
7441
7644
  {
7442
7645
  ref,
@@ -7454,7 +7657,7 @@ var DropdownMenuContent = React40.forwardRef(({ className, sideOffset = 4, ...pr
7454
7657
  }
7455
7658
  ) }));
7456
7659
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
7457
- var DropdownMenuItem = React40.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx40(
7660
+ var DropdownMenuItem = React42.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx42(
7458
7661
  DropdownMenuPrimitive.Item,
7459
7662
  {
7460
7663
  ref,
@@ -7470,7 +7673,7 @@ var DropdownMenuItem = React40.forwardRef(({ className, inset, ...props }, ref)
7470
7673
  }
7471
7674
  ));
7472
7675
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
7473
- var DropdownMenuCheckboxItem = React40.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs26(
7676
+ var DropdownMenuCheckboxItem = React42.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs27(
7474
7677
  DropdownMenuPrimitive.CheckboxItem,
7475
7678
  {
7476
7679
  ref,
@@ -7483,7 +7686,7 @@ var DropdownMenuCheckboxItem = React40.forwardRef(({ className, children, checke
7483
7686
  checked,
7484
7687
  ...props,
7485
7688
  children: [
7486
- /* @__PURE__ */ jsx40("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx40(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx40(
7689
+ /* @__PURE__ */ jsx42("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx42(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx42(
7487
7690
  "svg",
7488
7691
  {
7489
7692
  className: "h-4 w-4",
@@ -7494,7 +7697,7 @@ var DropdownMenuCheckboxItem = React40.forwardRef(({ className, children, checke
7494
7697
  strokeWidth: "2",
7495
7698
  strokeLinecap: "round",
7496
7699
  strokeLinejoin: "round",
7497
- children: /* @__PURE__ */ jsx40("path", { d: "M20 6 9 17l-5-5" })
7700
+ children: /* @__PURE__ */ jsx42("path", { d: "M20 6 9 17l-5-5" })
7498
7701
  }
7499
7702
  ) }) }),
7500
7703
  children
@@ -7502,7 +7705,7 @@ var DropdownMenuCheckboxItem = React40.forwardRef(({ className, children, checke
7502
7705
  }
7503
7706
  ));
7504
7707
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
7505
- var DropdownMenuRadioItem = React40.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs26(
7708
+ var DropdownMenuRadioItem = React42.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs27(
7506
7709
  DropdownMenuPrimitive.RadioItem,
7507
7710
  {
7508
7711
  ref,
@@ -7514,13 +7717,13 @@ var DropdownMenuRadioItem = React40.forwardRef(({ className, children, ...props
7514
7717
  ),
7515
7718
  ...props,
7516
7719
  children: [
7517
- /* @__PURE__ */ jsx40("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx40(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx40(
7720
+ /* @__PURE__ */ jsx42("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx42(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx42(
7518
7721
  "svg",
7519
7722
  {
7520
7723
  className: "h-2 w-2 fill-current",
7521
7724
  xmlns: "http://www.w3.org/2000/svg",
7522
7725
  viewBox: "0 0 24 24",
7523
- children: /* @__PURE__ */ jsx40("circle", { cx: "12", cy: "12", r: "10" })
7726
+ children: /* @__PURE__ */ jsx42("circle", { cx: "12", cy: "12", r: "10" })
7524
7727
  }
7525
7728
  ) }) }),
7526
7729
  children
@@ -7528,7 +7731,7 @@ var DropdownMenuRadioItem = React40.forwardRef(({ className, children, ...props
7528
7731
  }
7529
7732
  ));
7530
7733
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
7531
- var DropdownMenuLabel = React40.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx40(
7734
+ var DropdownMenuLabel = React42.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx42(
7532
7735
  DropdownMenuPrimitive.Label,
7533
7736
  {
7534
7737
  ref,
@@ -7541,7 +7744,7 @@ var DropdownMenuLabel = React40.forwardRef(({ className, inset, ...props }, ref)
7541
7744
  }
7542
7745
  ));
7543
7746
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
7544
- var DropdownMenuSeparator = React40.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx40(
7747
+ var DropdownMenuSeparator = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx42(
7545
7748
  DropdownMenuPrimitive.Separator,
7546
7749
  {
7547
7750
  ref,
@@ -7554,7 +7757,7 @@ var DropdownMenuShortcut = ({
7554
7757
  className,
7555
7758
  ...props
7556
7759
  }) => {
7557
- return /* @__PURE__ */ jsx40(
7760
+ return /* @__PURE__ */ jsx42(
7558
7761
  "span",
7559
7762
  {
7560
7763
  className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className),
@@ -7565,14 +7768,14 @@ var DropdownMenuShortcut = ({
7565
7768
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
7566
7769
 
7567
7770
  // src/components/drawer.tsx
7568
- import * as React41 from "react";
7771
+ import * as React43 from "react";
7569
7772
  import * as DialogPrimitive2 from "@radix-ui/react-dialog";
7570
- import { jsx as jsx41, jsxs as jsxs27 } from "react/jsx-runtime";
7773
+ import { jsx as jsx43, jsxs as jsxs28 } from "react/jsx-runtime";
7571
7774
  var Drawer = DialogPrimitive2.Root;
7572
7775
  var DrawerTrigger = DialogPrimitive2.Trigger;
7573
7776
  var DrawerClose = DialogPrimitive2.Close;
7574
7777
  var DrawerPortal = DialogPrimitive2.Portal;
7575
- var DrawerOverlay = React41.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7778
+ var DrawerOverlay = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx43(
7576
7779
  DialogPrimitive2.Overlay,
7577
7780
  {
7578
7781
  ref,
@@ -7592,9 +7795,9 @@ var slideVariants = {
7592
7795
  top: "inset-x-0 top-0 w-full data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
7593
7796
  bottom: "inset-x-0 bottom-0 w-full data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom"
7594
7797
  };
7595
- var DrawerContent = React41.forwardRef(({ side = "right", showClose = true, className, children, ...props }, ref) => /* @__PURE__ */ jsxs27(DrawerPortal, { children: [
7596
- /* @__PURE__ */ jsx41(DrawerOverlay, {}),
7597
- /* @__PURE__ */ jsxs27(
7798
+ var DrawerContent = React43.forwardRef(({ side = "right", showClose = true, className, children, ...props }, ref) => /* @__PURE__ */ jsxs28(DrawerPortal, { children: [
7799
+ /* @__PURE__ */ jsx43(DrawerOverlay, {}),
7800
+ /* @__PURE__ */ jsxs28(
7598
7801
  DialogPrimitive2.Content,
7599
7802
  {
7600
7803
  ref,
@@ -7608,7 +7811,7 @@ var DrawerContent = React41.forwardRef(({ side = "right", showClose = true, clas
7608
7811
  ...props,
7609
7812
  children: [
7610
7813
  children,
7611
- showClose && /* @__PURE__ */ jsxs27(
7814
+ showClose && /* @__PURE__ */ jsxs28(
7612
7815
  DrawerClose,
7613
7816
  {
7614
7817
  className: cn(
@@ -7618,7 +7821,7 @@ var DrawerContent = React41.forwardRef(({ side = "right", showClose = true, clas
7618
7821
  "disabled:pointer-events-none"
7619
7822
  ),
7620
7823
  children: [
7621
- /* @__PURE__ */ jsx41(
7824
+ /* @__PURE__ */ jsx43(
7622
7825
  "svg",
7623
7826
  {
7624
7827
  xmlns: "http://www.w3.org/2000/svg",
@@ -7631,10 +7834,10 @@ var DrawerContent = React41.forwardRef(({ side = "right", showClose = true, clas
7631
7834
  strokeLinecap: "round",
7632
7835
  strokeLinejoin: "round",
7633
7836
  className: "h-4 w-4",
7634
- children: /* @__PURE__ */ jsx41("path", { d: "M18 6 6 18M6 6l12 12" })
7837
+ children: /* @__PURE__ */ jsx43("path", { d: "M18 6 6 18M6 6l12 12" })
7635
7838
  }
7636
7839
  ),
7637
- /* @__PURE__ */ jsx41("span", { className: "sr-only", children: "Close" })
7840
+ /* @__PURE__ */ jsx43("span", { className: "sr-only", children: "Close" })
7638
7841
  ]
7639
7842
  }
7640
7843
  )
@@ -7643,8 +7846,8 @@ var DrawerContent = React41.forwardRef(({ side = "right", showClose = true, clas
7643
7846
  )
7644
7847
  ] }));
7645
7848
  DrawerContent.displayName = "DrawerContent";
7646
- var DrawerHeader = React41.forwardRef(
7647
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7849
+ var DrawerHeader = React43.forwardRef(
7850
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx43(
7648
7851
  "div",
7649
7852
  {
7650
7853
  ref,
@@ -7654,7 +7857,7 @@ var DrawerHeader = React41.forwardRef(
7654
7857
  )
7655
7858
  );
7656
7859
  DrawerHeader.displayName = "DrawerHeader";
7657
- var DrawerTitle = React41.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7860
+ var DrawerTitle = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx43(
7658
7861
  DialogPrimitive2.Title,
7659
7862
  {
7660
7863
  ref,
@@ -7663,7 +7866,7 @@ var DrawerTitle = React41.forwardRef(({ className, ...props }, ref) => /* @__PUR
7663
7866
  }
7664
7867
  ));
7665
7868
  DrawerTitle.displayName = DialogPrimitive2.Title.displayName;
7666
- var DrawerDescription = React41.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7869
+ var DrawerDescription = React43.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx43(
7667
7870
  DialogPrimitive2.Description,
7668
7871
  {
7669
7872
  ref,
@@ -7672,8 +7875,8 @@ var DrawerDescription = React41.forwardRef(({ className, ...props }, ref) => /*
7672
7875
  }
7673
7876
  ));
7674
7877
  DrawerDescription.displayName = DialogPrimitive2.Description.displayName;
7675
- var DrawerBody = React41.forwardRef(
7676
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7878
+ var DrawerBody = React43.forwardRef(
7879
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx43(
7677
7880
  "div",
7678
7881
  {
7679
7882
  ref,
@@ -7683,8 +7886,8 @@ var DrawerBody = React41.forwardRef(
7683
7886
  )
7684
7887
  );
7685
7888
  DrawerBody.displayName = "DrawerBody";
7686
- var DrawerFooter = React41.forwardRef(
7687
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7889
+ var DrawerFooter = React43.forwardRef(
7890
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx43(
7688
7891
  "div",
7689
7892
  {
7690
7893
  ref,
@@ -7710,16 +7913,16 @@ var SheetBody = DrawerBody;
7710
7913
  var SheetFooter = DrawerFooter;
7711
7914
 
7712
7915
  // src/components/topbar.tsx
7713
- import * as React42 from "react";
7714
- import { Fragment as Fragment6, jsx as jsx42, jsxs as jsxs28 } from "react/jsx-runtime";
7916
+ import * as React44 from "react";
7917
+ import { Fragment as Fragment6, jsx as jsx44, jsxs as jsxs29 } from "react/jsx-runtime";
7715
7918
  var sizeClasses5 = {
7716
7919
  sm: "h-12",
7717
7920
  md: "h-14",
7718
7921
  lg: "h-16"
7719
7922
  };
7720
- var TopBar = React42.forwardRef(
7923
+ var TopBar = React44.forwardRef(
7721
7924
  ({ className, bordered = true, sticky = false, size = "md", children, ...props }, ref) => {
7722
- return /* @__PURE__ */ jsx42(
7925
+ return /* @__PURE__ */ jsx44(
7723
7926
  "header",
7724
7927
  {
7725
7928
  ref,
@@ -7737,23 +7940,23 @@ var TopBar = React42.forwardRef(
7737
7940
  }
7738
7941
  );
7739
7942
  TopBar.displayName = "TopBar";
7740
- var TopBarBrand = React42.forwardRef(
7943
+ var TopBarBrand = React44.forwardRef(
7741
7944
  ({ className, logo, name, href, children, ...props }, ref) => {
7742
- const content = /* @__PURE__ */ jsxs28(Fragment6, { children: [
7743
- logo && /* @__PURE__ */ jsx42("span", { className: "shrink-0", children: logo }),
7744
- name && /* @__PURE__ */ jsx42("span", { className: "font-semibold text-lg", children: name }),
7945
+ const content = /* @__PURE__ */ jsxs29(Fragment6, { children: [
7946
+ logo && /* @__PURE__ */ jsx44("span", { className: "shrink-0", children: logo }),
7947
+ name && /* @__PURE__ */ jsx44("span", { className: "font-semibold text-lg", children: name }),
7745
7948
  children
7746
7949
  ] });
7747
7950
  if (href) {
7748
- return /* @__PURE__ */ jsx42("div", { ref, className: cn("flex items-center gap-2", className), ...props, children: /* @__PURE__ */ jsx42("a", { href, className: "flex items-center gap-2 hover:opacity-80 transition-opacity", children: content }) });
7951
+ return /* @__PURE__ */ jsx44("div", { ref, className: cn("flex items-center gap-2", className), ...props, children: /* @__PURE__ */ jsx44("a", { href, className: "flex items-center gap-2 hover:opacity-80 transition-opacity", children: content }) });
7749
7952
  }
7750
- return /* @__PURE__ */ jsx42("div", { ref, className: cn("flex items-center gap-2", className), ...props, children: content });
7953
+ return /* @__PURE__ */ jsx44("div", { ref, className: cn("flex items-center gap-2", className), ...props, children: content });
7751
7954
  }
7752
7955
  );
7753
7956
  TopBarBrand.displayName = "TopBarBrand";
7754
- var TopBarNav = React42.forwardRef(
7957
+ var TopBarNav = React44.forwardRef(
7755
7958
  ({ className, children, ...props }, ref) => {
7756
- return /* @__PURE__ */ jsx42(
7959
+ return /* @__PURE__ */ jsx44(
7757
7960
  "nav",
7758
7961
  {
7759
7962
  ref,
@@ -7765,9 +7968,9 @@ var TopBarNav = React42.forwardRef(
7765
7968
  }
7766
7969
  );
7767
7970
  TopBarNav.displayName = "TopBarNav";
7768
- var TopBarNavItem = React42.forwardRef(
7971
+ var TopBarNavItem = React44.forwardRef(
7769
7972
  ({ className, active, children, ...props }, ref) => {
7770
- return /* @__PURE__ */ jsx42(
7973
+ return /* @__PURE__ */ jsx44(
7771
7974
  "a",
7772
7975
  {
7773
7976
  ref,
@@ -7783,9 +7986,9 @@ var TopBarNavItem = React42.forwardRef(
7783
7986
  }
7784
7987
  );
7785
7988
  TopBarNavItem.displayName = "TopBarNavItem";
7786
- var TopBarSection = React42.forwardRef(
7989
+ var TopBarSection = React44.forwardRef(
7787
7990
  ({ className, align = "left", children, ...props }, ref) => {
7788
- return /* @__PURE__ */ jsx42(
7991
+ return /* @__PURE__ */ jsx44(
7789
7992
  "div",
7790
7993
  {
7791
7994
  ref,
@@ -7805,9 +8008,9 @@ var TopBarSection = React42.forwardRef(
7805
8008
  }
7806
8009
  );
7807
8010
  TopBarSection.displayName = "TopBarSection";
7808
- var TopBarDivider = React42.forwardRef(
8011
+ var TopBarDivider = React44.forwardRef(
7809
8012
  ({ className, ...props }, ref) => {
7810
- return /* @__PURE__ */ jsx42(
8013
+ return /* @__PURE__ */ jsx44(
7811
8014
  "div",
7812
8015
  {
7813
8016
  ref,
@@ -7820,17 +8023,17 @@ var TopBarDivider = React42.forwardRef(
7820
8023
  TopBarDivider.displayName = "TopBarDivider";
7821
8024
 
7822
8025
  // src/components/sidebar.tsx
7823
- import * as React43 from "react";
7824
- import { Fragment as Fragment7, jsx as jsx43, jsxs as jsxs29 } from "react/jsx-runtime";
7825
- var SidebarContext = React43.createContext(void 0);
8026
+ import * as React45 from "react";
8027
+ import { Fragment as Fragment7, jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
8028
+ var SidebarContext = React45.createContext(void 0);
7826
8029
  var useSidebar = () => {
7827
- const context = React43.useContext(SidebarContext);
8030
+ const context = React45.useContext(SidebarContext);
7828
8031
  if (!context) {
7829
8032
  throw new Error("useSidebar must be used within a Sidebar");
7830
8033
  }
7831
8034
  return context;
7832
8035
  };
7833
- var Sidebar = React43.forwardRef(
8036
+ var Sidebar = React45.forwardRef(
7834
8037
  ({
7835
8038
  className,
7836
8039
  collapsed: controlledCollapsed,
@@ -7842,10 +8045,10 @@ var Sidebar = React43.forwardRef(
7842
8045
  children,
7843
8046
  ...props
7844
8047
  }, ref) => {
7845
- const [uncontrolledCollapsed, setUncontrolledCollapsed] = React43.useState(defaultCollapsed);
8048
+ const [uncontrolledCollapsed, setUncontrolledCollapsed] = React45.useState(defaultCollapsed);
7846
8049
  const isControlled = controlledCollapsed !== void 0;
7847
8050
  const collapsed = isControlled ? controlledCollapsed : uncontrolledCollapsed;
7848
- const setCollapsed = React43.useCallback(
8051
+ const setCollapsed = React45.useCallback(
7849
8052
  (value) => {
7850
8053
  if (!isControlled) {
7851
8054
  setUncontrolledCollapsed(value);
@@ -7854,7 +8057,7 @@ var Sidebar = React43.forwardRef(
7854
8057
  },
7855
8058
  [isControlled, onCollapsedChange]
7856
8059
  );
7857
- return /* @__PURE__ */ jsx43(SidebarContext.Provider, { value: { collapsed, setCollapsed }, children: /* @__PURE__ */ jsx43(
8060
+ return /* @__PURE__ */ jsx45(SidebarContext.Provider, { value: { collapsed, setCollapsed }, children: /* @__PURE__ */ jsx45(
7858
8061
  "aside",
7859
8062
  {
7860
8063
  ref,
@@ -7874,9 +8077,9 @@ var Sidebar = React43.forwardRef(
7874
8077
  }
7875
8078
  );
7876
8079
  Sidebar.displayName = "Sidebar";
7877
- var SidebarHeader = React43.forwardRef(
8080
+ var SidebarHeader = React45.forwardRef(
7878
8081
  ({ className, children, ...props }, ref) => {
7879
- return /* @__PURE__ */ jsx43(
8082
+ return /* @__PURE__ */ jsx45(
7880
8083
  "div",
7881
8084
  {
7882
8085
  ref,
@@ -7888,9 +8091,9 @@ var SidebarHeader = React43.forwardRef(
7888
8091
  }
7889
8092
  );
7890
8093
  SidebarHeader.displayName = "SidebarHeader";
7891
- var SidebarContent = React43.forwardRef(
8094
+ var SidebarContent = React45.forwardRef(
7892
8095
  ({ className, children, ...props }, ref) => {
7893
- return /* @__PURE__ */ jsx43(
8096
+ return /* @__PURE__ */ jsx45(
7894
8097
  "div",
7895
8098
  {
7896
8099
  ref,
@@ -7902,9 +8105,9 @@ var SidebarContent = React43.forwardRef(
7902
8105
  }
7903
8106
  );
7904
8107
  SidebarContent.displayName = "SidebarContent";
7905
- var SidebarFooter = React43.forwardRef(
8108
+ var SidebarFooter = React45.forwardRef(
7906
8109
  ({ className, children, ...props }, ref) => {
7907
- return /* @__PURE__ */ jsx43(
8110
+ return /* @__PURE__ */ jsx45(
7908
8111
  "div",
7909
8112
  {
7910
8113
  ref,
@@ -7916,25 +8119,25 @@ var SidebarFooter = React43.forwardRef(
7916
8119
  }
7917
8120
  );
7918
8121
  SidebarFooter.displayName = "SidebarFooter";
7919
- var SidebarGroup = React43.forwardRef(
8122
+ var SidebarGroup = React45.forwardRef(
7920
8123
  ({ className, label, children, ...props }, ref) => {
7921
8124
  const { collapsed } = useSidebar();
7922
- return /* @__PURE__ */ jsxs29("div", { ref, className: cn("px-2 py-2", className), ...props, children: [
7923
- label && !collapsed && /* @__PURE__ */ jsx43("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wider", children: label }),
7924
- label && collapsed && /* @__PURE__ */ jsx43("div", { className: "flex justify-center py-1.5", children: /* @__PURE__ */ jsx43("div", { className: "h-px w-4 bg-border" }) }),
7925
- /* @__PURE__ */ jsx43("div", { className: "space-y-1", children })
8125
+ return /* @__PURE__ */ jsxs30("div", { ref, className: cn("px-2 py-2", className), ...props, children: [
8126
+ label && !collapsed && /* @__PURE__ */ jsx45("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wider", children: label }),
8127
+ label && collapsed && /* @__PURE__ */ jsx45("div", { className: "flex justify-center py-1.5", children: /* @__PURE__ */ jsx45("div", { className: "h-px w-4 bg-border" }) }),
8128
+ /* @__PURE__ */ jsx45("div", { className: "space-y-1", children })
7926
8129
  ] });
7927
8130
  }
7928
8131
  );
7929
8132
  SidebarGroup.displayName = "SidebarGroup";
7930
- var SidebarItem = React43.forwardRef(
8133
+ var SidebarItem = React45.forwardRef(
7931
8134
  ({ className, icon, active, disabled, badge, onClick, href, children, ...props }, ref) => {
7932
8135
  const { collapsed } = useSidebar();
7933
- const content = /* @__PURE__ */ jsxs29(Fragment7, { children: [
7934
- icon && /* @__PURE__ */ jsx43("span", { className: cn("shrink-0", collapsed ? "mx-auto" : ""), children: icon }),
7935
- !collapsed && /* @__PURE__ */ jsxs29(Fragment7, { children: [
7936
- /* @__PURE__ */ jsx43("span", { className: "flex-1 truncate", children }),
7937
- badge && /* @__PURE__ */ jsx43("span", { className: "shrink-0", children: badge })
8136
+ const content = /* @__PURE__ */ jsxs30(Fragment7, { children: [
8137
+ icon && /* @__PURE__ */ jsx45("span", { className: cn("shrink-0", collapsed ? "mx-auto" : ""), children: icon }),
8138
+ !collapsed && /* @__PURE__ */ jsxs30(Fragment7, { children: [
8139
+ /* @__PURE__ */ jsx45("span", { className: "flex-1 truncate", children }),
8140
+ badge && /* @__PURE__ */ jsx45("span", { className: "shrink-0", children: badge })
7938
8141
  ] })
7939
8142
  ] });
7940
8143
  const itemClasses = cn(
@@ -7945,9 +8148,9 @@ var SidebarItem = React43.forwardRef(
7945
8148
  className
7946
8149
  );
7947
8150
  if (href) {
7948
- return /* @__PURE__ */ jsx43("div", { ref, ...props, children: /* @__PURE__ */ jsx43("a", { href, className: itemClasses, children: content }) });
8151
+ return /* @__PURE__ */ jsx45("div", { ref, ...props, children: /* @__PURE__ */ jsx45("a", { href, className: itemClasses, children: content }) });
7949
8152
  }
7950
- return /* @__PURE__ */ jsx43(
8153
+ return /* @__PURE__ */ jsx45(
7951
8154
  "div",
7952
8155
  {
7953
8156
  ref,
@@ -7962,20 +8165,20 @@ var SidebarItem = React43.forwardRef(
7962
8165
  }
7963
8166
  );
7964
8167
  SidebarItem.displayName = "SidebarItem";
7965
- var SidebarSubMenu = React43.forwardRef(
8168
+ var SidebarSubMenu = React45.forwardRef(
7966
8169
  ({ className, icon, label, defaultOpen = false, children, ...props }, ref) => {
7967
- const [open, setOpen] = React43.useState(defaultOpen);
8170
+ const [open, setOpen] = React45.useState(defaultOpen);
7968
8171
  const { collapsed } = useSidebar();
7969
- React43.useEffect(() => {
8172
+ React45.useEffect(() => {
7970
8173
  if (collapsed) {
7971
8174
  setOpen(false);
7972
8175
  }
7973
8176
  }, [collapsed]);
7974
8177
  if (collapsed) {
7975
- return /* @__PURE__ */ jsx43(SidebarItem, { icon, className, children: label });
8178
+ return /* @__PURE__ */ jsx45(SidebarItem, { icon, className, children: label });
7976
8179
  }
7977
- return /* @__PURE__ */ jsxs29("div", { ref, className, ...props, children: [
7978
- /* @__PURE__ */ jsxs29(
8180
+ return /* @__PURE__ */ jsxs30("div", { ref, className, ...props, children: [
8181
+ /* @__PURE__ */ jsxs30(
7979
8182
  "div",
7980
8183
  {
7981
8184
  className: cn(
@@ -7986,9 +8189,9 @@ var SidebarSubMenu = React43.forwardRef(
7986
8189
  role: "button",
7987
8190
  tabIndex: 0,
7988
8191
  children: [
7989
- icon && /* @__PURE__ */ jsx43("span", { className: "shrink-0", children: icon }),
7990
- /* @__PURE__ */ jsx43("span", { className: "flex-1 truncate", children: label }),
7991
- /* @__PURE__ */ jsx43(
8192
+ icon && /* @__PURE__ */ jsx45("span", { className: "shrink-0", children: icon }),
8193
+ /* @__PURE__ */ jsx45("span", { className: "flex-1 truncate", children: label }),
8194
+ /* @__PURE__ */ jsx45(
7992
8195
  "svg",
7993
8196
  {
7994
8197
  className: cn("h-4 w-4 shrink-0 transition-transform", open && "rotate-90"),
@@ -7999,21 +8202,21 @@ var SidebarSubMenu = React43.forwardRef(
7999
8202
  strokeWidth: "2",
8000
8203
  strokeLinecap: "round",
8001
8204
  strokeLinejoin: "round",
8002
- children: /* @__PURE__ */ jsx43("path", { d: "m9 18 6-6-6-6" })
8205
+ children: /* @__PURE__ */ jsx45("path", { d: "m9 18 6-6-6-6" })
8003
8206
  }
8004
8207
  )
8005
8208
  ]
8006
8209
  }
8007
8210
  ),
8008
- open && /* @__PURE__ */ jsx43("div", { className: "ml-4 pl-3 border-l border-border space-y-1 mt-1", children })
8211
+ open && /* @__PURE__ */ jsx45("div", { className: "ml-4 pl-3 border-l border-border space-y-1 mt-1", children })
8009
8212
  ] });
8010
8213
  }
8011
8214
  );
8012
8215
  SidebarSubMenu.displayName = "SidebarSubMenu";
8013
- var SidebarToggle = React43.forwardRef(
8216
+ var SidebarToggle = React45.forwardRef(
8014
8217
  ({ className, children, ...props }, ref) => {
8015
8218
  const { collapsed, setCollapsed } = useSidebar();
8016
- return /* @__PURE__ */ jsx43(
8219
+ return /* @__PURE__ */ jsx45(
8017
8220
  "button",
8018
8221
  {
8019
8222
  ref,
@@ -8027,7 +8230,7 @@ var SidebarToggle = React43.forwardRef(
8027
8230
  ),
8028
8231
  "aria-label": collapsed ? "Expand sidebar" : "Collapse sidebar",
8029
8232
  ...props,
8030
- children: children || /* @__PURE__ */ jsxs29(
8233
+ children: children || /* @__PURE__ */ jsxs30(
8031
8234
  "svg",
8032
8235
  {
8033
8236
  className: cn("h-5 w-5 transition-transform", collapsed && "rotate-180"),
@@ -8039,9 +8242,9 @@ var SidebarToggle = React43.forwardRef(
8039
8242
  strokeLinecap: "round",
8040
8243
  strokeLinejoin: "round",
8041
8244
  children: [
8042
- /* @__PURE__ */ jsx43("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
8043
- /* @__PURE__ */ jsx43("path", { d: "M9 3v18" }),
8044
- /* @__PURE__ */ jsx43("path", { d: "m14 9 3 3-3 3" })
8245
+ /* @__PURE__ */ jsx45("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
8246
+ /* @__PURE__ */ jsx45("path", { d: "M9 3v18" }),
8247
+ /* @__PURE__ */ jsx45("path", { d: "m14 9 3 3-3 3" })
8045
8248
  ]
8046
8249
  }
8047
8250
  )
@@ -8052,17 +8255,17 @@ var SidebarToggle = React43.forwardRef(
8052
8255
  SidebarToggle.displayName = "SidebarToggle";
8053
8256
 
8054
8257
  // src/components/sidebar-rail.tsx
8055
- import * as React44 from "react";
8056
- import { Fragment as Fragment8, jsx as jsx44, jsxs as jsxs30 } from "react/jsx-runtime";
8057
- var SidebarRailContext = React44.createContext(void 0);
8258
+ import * as React46 from "react";
8259
+ import { Fragment as Fragment8, jsx as jsx46, jsxs as jsxs31 } from "react/jsx-runtime";
8260
+ var SidebarRailContext = React46.createContext(void 0);
8058
8261
  var useSidebarRail = () => {
8059
- const context = React44.useContext(SidebarRailContext);
8262
+ const context = React46.useContext(SidebarRailContext);
8060
8263
  if (!context) {
8061
8264
  throw new Error("useSidebarRail must be used within a SidebarRail");
8062
8265
  }
8063
8266
  return context;
8064
8267
  };
8065
- var SidebarRail = React44.forwardRef(
8268
+ var SidebarRail = React46.forwardRef(
8066
8269
  ({
8067
8270
  className,
8068
8271
  defaultActiveRail = null,
@@ -8080,14 +8283,14 @@ var SidebarRail = React44.forwardRef(
8080
8283
  children,
8081
8284
  ...props
8082
8285
  }, ref) => {
8083
- const [uncontrolledActiveRail, setUncontrolledActiveRail] = React44.useState(defaultActiveRail);
8084
- const [expanded, setExpanded] = React44.useState(!!defaultActiveRail);
8085
- const [uncontrolledRailExpanded, setUncontrolledRailExpanded] = React44.useState(defaultRailExpanded);
8286
+ const [uncontrolledActiveRail, setUncontrolledActiveRail] = React46.useState(defaultActiveRail);
8287
+ const [expanded, setExpanded] = React46.useState(!!defaultActiveRail);
8288
+ const [uncontrolledRailExpanded, setUncontrolledRailExpanded] = React46.useState(defaultRailExpanded);
8086
8289
  const isControlled = controlledActiveRail !== void 0;
8087
8290
  const activeRail = isControlled ? controlledActiveRail : uncontrolledActiveRail;
8088
8291
  const isRailControlled = controlledRailExpanded !== void 0;
8089
8292
  const railExpanded = isRailControlled ? controlledRailExpanded : uncontrolledRailExpanded;
8090
- const setActiveRail = React44.useCallback(
8293
+ const setActiveRail = React46.useCallback(
8091
8294
  (rail) => {
8092
8295
  if (!isControlled) {
8093
8296
  setUncontrolledActiveRail(rail);
@@ -8097,7 +8300,7 @@ var SidebarRail = React44.forwardRef(
8097
8300
  },
8098
8301
  [isControlled, onActiveRailChange]
8099
8302
  );
8100
- const setRailExpanded = React44.useCallback(
8303
+ const setRailExpanded = React46.useCallback(
8101
8304
  (value) => {
8102
8305
  if (!isRailControlled) {
8103
8306
  setUncontrolledRailExpanded(value);
@@ -8106,7 +8309,7 @@ var SidebarRail = React44.forwardRef(
8106
8309
  },
8107
8310
  [isRailControlled, onRailExpandedChange]
8108
8311
  );
8109
- return /* @__PURE__ */ jsx44(
8312
+ return /* @__PURE__ */ jsx46(
8110
8313
  SidebarRailContext.Provider,
8111
8314
  {
8112
8315
  value: {
@@ -8120,7 +8323,7 @@ var SidebarRail = React44.forwardRef(
8120
8323
  overlayRail: overlayRail && expandableRail,
8121
8324
  expandableRail
8122
8325
  },
8123
- children: /* @__PURE__ */ jsx44(
8326
+ children: /* @__PURE__ */ jsx46(
8124
8327
  "div",
8125
8328
  {
8126
8329
  ref,
@@ -8143,11 +8346,11 @@ var SidebarRail = React44.forwardRef(
8143
8346
  }
8144
8347
  );
8145
8348
  SidebarRail.displayName = "SidebarRail";
8146
- var IconRail = React44.forwardRef(
8349
+ var IconRail = React46.forwardRef(
8147
8350
  ({ className, children, ...props }, ref) => {
8148
8351
  const { railExpanded, overlayRail, expandableRail } = useSidebarRail();
8149
8352
  const isExpanded = expandableRail && railExpanded;
8150
- return /* @__PURE__ */ jsx44(
8353
+ return /* @__PURE__ */ jsx46(
8151
8354
  "div",
8152
8355
  {
8153
8356
  ref,
@@ -8156,7 +8359,7 @@ var IconRail = React44.forwardRef(
8156
8359
  isExpanded && !overlayRail ? "w-[var(--rail-expanded-width)]" : "w-[var(--rail-width)]"
8157
8360
  ),
8158
8361
  ...props,
8159
- children: /* @__PURE__ */ jsx44(
8362
+ children: /* @__PURE__ */ jsx46(
8160
8363
  "div",
8161
8364
  {
8162
8365
  className: cn(
@@ -8173,9 +8376,9 @@ var IconRail = React44.forwardRef(
8173
8376
  }
8174
8377
  );
8175
8378
  IconRail.displayName = "IconRail";
8176
- var IconRailHeader = React44.forwardRef(
8379
+ var IconRailHeader = React46.forwardRef(
8177
8380
  ({ className, children, ...props }, ref) => {
8178
- return /* @__PURE__ */ jsx44(
8381
+ return /* @__PURE__ */ jsx46(
8179
8382
  "div",
8180
8383
  {
8181
8384
  ref,
@@ -8190,9 +8393,9 @@ var IconRailHeader = React44.forwardRef(
8190
8393
  }
8191
8394
  );
8192
8395
  IconRailHeader.displayName = "IconRailHeader";
8193
- var IconRailContent = React44.forwardRef(
8396
+ var IconRailContent = React46.forwardRef(
8194
8397
  ({ className, children, ...props }, ref) => {
8195
- return /* @__PURE__ */ jsx44(
8398
+ return /* @__PURE__ */ jsx46(
8196
8399
  "div",
8197
8400
  {
8198
8401
  ref,
@@ -8204,9 +8407,9 @@ var IconRailContent = React44.forwardRef(
8204
8407
  }
8205
8408
  );
8206
8409
  IconRailContent.displayName = "IconRailContent";
8207
- var IconRailFooter = React44.forwardRef(
8410
+ var IconRailFooter = React46.forwardRef(
8208
8411
  ({ className, children, ...props }, ref) => {
8209
- return /* @__PURE__ */ jsx44(
8412
+ return /* @__PURE__ */ jsx46(
8210
8413
  "div",
8211
8414
  {
8212
8415
  ref,
@@ -8221,7 +8424,7 @@ var IconRailFooter = React44.forwardRef(
8221
8424
  }
8222
8425
  );
8223
8426
  IconRailFooter.displayName = "IconRailFooter";
8224
- var IconRailItem = React44.forwardRef(
8427
+ var IconRailItem = React46.forwardRef(
8225
8428
  ({ className, railId, icon, label, asButton = false, toggleRail = false, onClick, ...props }, ref) => {
8226
8429
  const {
8227
8430
  activeRail,
@@ -8247,7 +8450,7 @@ var IconRailItem = React44.forwardRef(
8247
8450
  setActiveRail(railId);
8248
8451
  }
8249
8452
  };
8250
- return /* @__PURE__ */ jsxs30(
8453
+ return /* @__PURE__ */ jsxs31(
8251
8454
  "button",
8252
8455
  {
8253
8456
  ref,
@@ -8266,14 +8469,14 @@ var IconRailItem = React44.forwardRef(
8266
8469
  ...props,
8267
8470
  children: [
8268
8471
  icon,
8269
- isRailExpanded && label && /* @__PURE__ */ jsx44("span", { className: "text-sm font-medium truncate", children: label })
8472
+ isRailExpanded && label && /* @__PURE__ */ jsx46("span", { className: "text-sm font-medium truncate", children: label })
8270
8473
  ]
8271
8474
  }
8272
8475
  );
8273
8476
  }
8274
8477
  );
8275
8478
  IconRailItem.displayName = "IconRailItem";
8276
- var RailPanel = React44.forwardRef(
8479
+ var RailPanel = React46.forwardRef(
8277
8480
  ({ className, railId, title, children, ...props }, ref) => {
8278
8481
  const { activeRail, setActiveRail, hoverExpand } = useSidebarRail();
8279
8482
  const isVisible = activeRail === railId;
@@ -8283,7 +8486,7 @@ var RailPanel = React44.forwardRef(
8283
8486
  }
8284
8487
  };
8285
8488
  if (!isVisible) return null;
8286
- return /* @__PURE__ */ jsxs30(
8489
+ return /* @__PURE__ */ jsxs31(
8287
8490
  "div",
8288
8491
  {
8289
8492
  ref,
@@ -8296,16 +8499,16 @@ var RailPanel = React44.forwardRef(
8296
8499
  onMouseLeave: handleMouseLeave,
8297
8500
  ...props,
8298
8501
  children: [
8299
- title && /* @__PURE__ */ jsxs30("div", { className: "flex items-center justify-between h-14 px-4 border-b border-border shrink-0", children: [
8300
- /* @__PURE__ */ jsx44("span", { className: "font-semibold text-sm", children: title }),
8301
- /* @__PURE__ */ jsx44(
8502
+ title && /* @__PURE__ */ jsxs31("div", { className: "flex items-center justify-between h-14 px-4 border-b border-border shrink-0", children: [
8503
+ /* @__PURE__ */ jsx46("span", { className: "font-semibold text-sm", children: title }),
8504
+ /* @__PURE__ */ jsx46(
8302
8505
  "button",
8303
8506
  {
8304
8507
  type: "button",
8305
8508
  onClick: () => setActiveRail(null),
8306
8509
  className: "p-1 rounded hover:bg-muted text-muted-foreground hover:text-foreground cursor-pointer",
8307
8510
  "aria-label": "Close panel",
8308
- children: /* @__PURE__ */ jsxs30(
8511
+ children: /* @__PURE__ */ jsxs31(
8309
8512
  "svg",
8310
8513
  {
8311
8514
  className: "h-4 w-4",
@@ -8317,36 +8520,36 @@ var RailPanel = React44.forwardRef(
8317
8520
  strokeLinecap: "round",
8318
8521
  strokeLinejoin: "round",
8319
8522
  children: [
8320
- /* @__PURE__ */ jsx44("path", { d: "M18 6 6 18" }),
8321
- /* @__PURE__ */ jsx44("path", { d: "m6 6 12 12" })
8523
+ /* @__PURE__ */ jsx46("path", { d: "M18 6 6 18" }),
8524
+ /* @__PURE__ */ jsx46("path", { d: "m6 6 12 12" })
8322
8525
  ]
8323
8526
  }
8324
8527
  )
8325
8528
  }
8326
8529
  )
8327
8530
  ] }),
8328
- /* @__PURE__ */ jsx44("div", { className: "flex-1 overflow-y-auto", children })
8531
+ /* @__PURE__ */ jsx46("div", { className: "flex-1 overflow-y-auto", children })
8329
8532
  ]
8330
8533
  }
8331
8534
  );
8332
8535
  }
8333
8536
  );
8334
8537
  RailPanel.displayName = "RailPanel";
8335
- var RailPanelGroup = React44.forwardRef(
8538
+ var RailPanelGroup = React46.forwardRef(
8336
8539
  ({ className, label, children, ...props }, ref) => {
8337
- return /* @__PURE__ */ jsxs30("div", { ref, className: cn("px-2 py-2", className), ...props, children: [
8338
- label && /* @__PURE__ */ jsx44("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wider", children: label }),
8339
- /* @__PURE__ */ jsx44("div", { className: "space-y-1", children })
8540
+ return /* @__PURE__ */ jsxs31("div", { ref, className: cn("px-2 py-2", className), ...props, children: [
8541
+ label && /* @__PURE__ */ jsx46("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wider", children: label }),
8542
+ /* @__PURE__ */ jsx46("div", { className: "space-y-1", children })
8340
8543
  ] });
8341
8544
  }
8342
8545
  );
8343
8546
  RailPanelGroup.displayName = "RailPanelGroup";
8344
- var RailPanelItem = React44.forwardRef(
8547
+ var RailPanelItem = React46.forwardRef(
8345
8548
  ({ className, icon, active, disabled, badge, href, children, onClick, ...props }, ref) => {
8346
- const content = /* @__PURE__ */ jsxs30(Fragment8, { children: [
8347
- icon && /* @__PURE__ */ jsx44("span", { className: "shrink-0", children: icon }),
8348
- /* @__PURE__ */ jsx44("span", { className: "flex-1 truncate", children }),
8349
- badge && /* @__PURE__ */ jsx44("span", { className: "shrink-0", children: badge })
8549
+ const content = /* @__PURE__ */ jsxs31(Fragment8, { children: [
8550
+ icon && /* @__PURE__ */ jsx46("span", { className: "shrink-0", children: icon }),
8551
+ /* @__PURE__ */ jsx46("span", { className: "flex-1 truncate", children }),
8552
+ badge && /* @__PURE__ */ jsx46("span", { className: "shrink-0", children: badge })
8350
8553
  ] });
8351
8554
  const itemClasses = cn(
8352
8555
  "flex items-center gap-3 px-3 py-2 rounded-md text-sm transition-colors cursor-pointer",
@@ -8355,9 +8558,9 @@ var RailPanelItem = React44.forwardRef(
8355
8558
  className
8356
8559
  );
8357
8560
  if (href) {
8358
- return /* @__PURE__ */ jsx44("div", { ref, ...props, children: /* @__PURE__ */ jsx44("a", { href, className: itemClasses, children: content }) });
8561
+ return /* @__PURE__ */ jsx46("div", { ref, ...props, children: /* @__PURE__ */ jsx46("a", { href, className: itemClasses, children: content }) });
8359
8562
  }
8360
- return /* @__PURE__ */ jsx44(
8563
+ return /* @__PURE__ */ jsx46(
8361
8564
  "div",
8362
8565
  {
8363
8566
  ref,
@@ -8374,34 +8577,34 @@ var RailPanelItem = React44.forwardRef(
8374
8577
  RailPanelItem.displayName = "RailPanelItem";
8375
8578
 
8376
8579
  // src/playground.tsx
8377
- import * as React45 from "react";
8378
- import { jsx as jsx45, jsxs as jsxs31 } from "react/jsx-runtime";
8379
- var Section = ({ title, children }) => /* @__PURE__ */ jsxs31("div", { className: "mb-8", children: [
8380
- /* @__PURE__ */ jsx45("h2", { className: "text-xl font-semibold mb-4 text-foreground", children: title }),
8381
- /* @__PURE__ */ jsx45("div", { className: "p-4 border border-border rounded-lg bg-background", children })
8580
+ import * as React47 from "react";
8581
+ import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
8582
+ var Section = ({ title, children }) => /* @__PURE__ */ jsxs32("div", { className: "mb-8", children: [
8583
+ /* @__PURE__ */ jsx47("h2", { className: "text-xl font-semibold mb-4 text-foreground", children: title }),
8584
+ /* @__PURE__ */ jsx47("div", { className: "p-4 border border-border rounded-lg bg-background", children })
8382
8585
  ] });
8383
8586
  var ThemeToggle = () => {
8384
8587
  const { theme, setTheme } = useTheme();
8385
- return /* @__PURE__ */ jsxs31("div", { className: "flex items-center gap-2", children: [
8386
- /* @__PURE__ */ jsx45(Label, { children: "Theme:" }),
8387
- /* @__PURE__ */ jsxs31(SelectNamespace, { value: theme, onValueChange: (value) => setTheme(value), children: [
8388
- /* @__PURE__ */ jsx45(SelectTrigger, { className: "w-32", children: /* @__PURE__ */ jsx45(SelectValue, { placeholder: "Select theme" }) }),
8389
- /* @__PURE__ */ jsxs31(SelectContent, { children: [
8390
- /* @__PURE__ */ jsx45(SelectItem, { value: "light", children: "Light" }),
8391
- /* @__PURE__ */ jsx45(SelectItem, { value: "dark", children: "Dark" }),
8392
- /* @__PURE__ */ jsx45(SelectItem, { value: "system", children: "System" })
8588
+ return /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-2", children: [
8589
+ /* @__PURE__ */ jsx47(Label, { children: "Theme:" }),
8590
+ /* @__PURE__ */ jsxs32(SelectNamespace, { value: theme, onValueChange: (value) => setTheme(value), children: [
8591
+ /* @__PURE__ */ jsx47(SelectTrigger, { className: "w-32", children: /* @__PURE__ */ jsx47(SelectValue, { placeholder: "Select theme" }) }),
8592
+ /* @__PURE__ */ jsxs32(SelectContent, { children: [
8593
+ /* @__PURE__ */ jsx47(SelectItem, { value: "light", children: "Light" }),
8594
+ /* @__PURE__ */ jsx47(SelectItem, { value: "dark", children: "Dark" }),
8595
+ /* @__PURE__ */ jsx47(SelectItem, { value: "system", children: "System" })
8393
8596
  ] })
8394
8597
  ] })
8395
8598
  ] });
8396
8599
  };
8397
8600
  var PlaygroundContent = () => {
8398
- const [dialogOpen, setDialogOpen] = React45.useState(false);
8399
- const [checkboxChecked, setCheckboxChecked] = React45.useState(false);
8400
- const [switchChecked, setSwitchChecked] = React45.useState(false);
8401
- const [inputValue, setInputValue] = React45.useState("");
8402
- const [textareaValue, setTextareaValue] = React45.useState("");
8403
- const [selectValue, setSelectValue] = React45.useState("");
8404
- const [comboboxValue, setComboboxValue] = React45.useState(null);
8601
+ const [dialogOpen, setDialogOpen] = React47.useState(false);
8602
+ const [checkboxChecked, setCheckboxChecked] = React47.useState(false);
8603
+ const [switchChecked, setSwitchChecked] = React47.useState(false);
8604
+ const [inputValue, setInputValue] = React47.useState("");
8605
+ const [textareaValue, setTextareaValue] = React47.useState("");
8606
+ const [selectValue, setSelectValue] = React47.useState("");
8607
+ const [comboboxValue, setComboboxValue] = React47.useState(null);
8405
8608
  const comboboxOptions = [
8406
8609
  { value: "react", label: "React" },
8407
8610
  { value: "vue", label: "Vue" },
@@ -8409,35 +8612,35 @@ var PlaygroundContent = () => {
8409
8612
  { value: "svelte", label: "Svelte" },
8410
8613
  { value: "solid", label: "SolidJS" }
8411
8614
  ];
8412
- return /* @__PURE__ */ jsx45("div", { className: "min-h-screen bg-background p-8", children: /* @__PURE__ */ jsxs31("div", { className: "max-w-4xl mx-auto", children: [
8413
- /* @__PURE__ */ jsxs31("div", { className: "flex items-center justify-between mb-8", children: [
8414
- /* @__PURE__ */ jsx45("h1", { className: "text-3xl font-bold text-foreground", children: "@onesaz/ui Playground" }),
8415
- /* @__PURE__ */ jsx45(ThemeToggle, {})
8615
+ return /* @__PURE__ */ jsx47("div", { className: "min-h-screen bg-background p-8", children: /* @__PURE__ */ jsxs32("div", { className: "max-w-4xl mx-auto", children: [
8616
+ /* @__PURE__ */ jsxs32("div", { className: "flex items-center justify-between mb-8", children: [
8617
+ /* @__PURE__ */ jsx47("h1", { className: "text-3xl font-bold text-foreground", children: "@onesaz/ui Playground" }),
8618
+ /* @__PURE__ */ jsx47(ThemeToggle, {})
8416
8619
  ] }),
8417
- /* @__PURE__ */ jsxs31(Section, { title: "Button", children: [
8418
- /* @__PURE__ */ jsxs31("div", { className: "flex flex-wrap gap-4", children: [
8419
- /* @__PURE__ */ jsx45(Button, { variant: "default", children: "Default" }),
8420
- /* @__PURE__ */ jsx45(Button, { variant: "destructive", children: "Destructive" }),
8421
- /* @__PURE__ */ jsx45(Button, { variant: "outline", children: "Outline" }),
8422
- /* @__PURE__ */ jsx45(Button, { variant: "secondary", children: "Secondary" }),
8423
- /* @__PURE__ */ jsx45(Button, { variant: "ghost", children: "Ghost" }),
8424
- /* @__PURE__ */ jsx45(Button, { variant: "link", children: "Link" })
8620
+ /* @__PURE__ */ jsxs32(Section, { title: "Button", children: [
8621
+ /* @__PURE__ */ jsxs32("div", { className: "flex flex-wrap gap-4", children: [
8622
+ /* @__PURE__ */ jsx47(Button, { variant: "default", children: "Default" }),
8623
+ /* @__PURE__ */ jsx47(Button, { variant: "destructive", children: "Destructive" }),
8624
+ /* @__PURE__ */ jsx47(Button, { variant: "outline", children: "Outline" }),
8625
+ /* @__PURE__ */ jsx47(Button, { variant: "secondary", children: "Secondary" }),
8626
+ /* @__PURE__ */ jsx47(Button, { variant: "ghost", children: "Ghost" }),
8627
+ /* @__PURE__ */ jsx47(Button, { variant: "link", children: "Link" })
8425
8628
  ] }),
8426
- /* @__PURE__ */ jsxs31("div", { className: "flex flex-wrap gap-4 mt-4", children: [
8427
- /* @__PURE__ */ jsx45(Button, { size: "sm", children: "Small" }),
8428
- /* @__PURE__ */ jsx45(Button, { size: "default", children: "Default" }),
8429
- /* @__PURE__ */ jsx45(Button, { size: "lg", children: "Large" }),
8430
- /* @__PURE__ */ jsx45(Button, { size: "icon", children: "\u{1F514}" })
8629
+ /* @__PURE__ */ jsxs32("div", { className: "flex flex-wrap gap-4 mt-4", children: [
8630
+ /* @__PURE__ */ jsx47(Button, { size: "sm", children: "Small" }),
8631
+ /* @__PURE__ */ jsx47(Button, { size: "default", children: "Default" }),
8632
+ /* @__PURE__ */ jsx47(Button, { size: "lg", children: "Large" }),
8633
+ /* @__PURE__ */ jsx47(Button, { size: "icon", children: "\u{1F514}" })
8431
8634
  ] }),
8432
- /* @__PURE__ */ jsxs31("div", { className: "flex flex-wrap gap-4 mt-4", children: [
8433
- /* @__PURE__ */ jsx45(Button, { disabled: true, children: "Disabled" }),
8434
- /* @__PURE__ */ jsx45(Button, { variant: "outline", disabled: true, children: "Disabled Outline" })
8635
+ /* @__PURE__ */ jsxs32("div", { className: "flex flex-wrap gap-4 mt-4", children: [
8636
+ /* @__PURE__ */ jsx47(Button, { disabled: true, children: "Disabled" }),
8637
+ /* @__PURE__ */ jsx47(Button, { variant: "outline", disabled: true, children: "Disabled Outline" })
8435
8638
  ] })
8436
8639
  ] }),
8437
- /* @__PURE__ */ jsx45(Section, { title: "Input", children: /* @__PURE__ */ jsxs31("div", { className: "space-y-4 max-w-md", children: [
8438
- /* @__PURE__ */ jsxs31("div", { children: [
8439
- /* @__PURE__ */ jsx45(Label, { htmlFor: "input-default", children: "Default Input" }),
8440
- /* @__PURE__ */ jsx45(
8640
+ /* @__PURE__ */ jsx47(Section, { title: "Input", children: /* @__PURE__ */ jsxs32("div", { className: "space-y-4 max-w-md", children: [
8641
+ /* @__PURE__ */ jsxs32("div", { children: [
8642
+ /* @__PURE__ */ jsx47(Label, { htmlFor: "input-default", children: "Default Input" }),
8643
+ /* @__PURE__ */ jsx47(
8441
8644
  Input,
8442
8645
  {
8443
8646
  id: "input-default",
@@ -8447,19 +8650,19 @@ var PlaygroundContent = () => {
8447
8650
  }
8448
8651
  )
8449
8652
  ] }),
8450
- /* @__PURE__ */ jsxs31("div", { children: [
8451
- /* @__PURE__ */ jsx45(Label, { htmlFor: "input-disabled", children: "Disabled Input" }),
8452
- /* @__PURE__ */ jsx45(Input, { id: "input-disabled", placeholder: "Disabled...", disabled: true })
8653
+ /* @__PURE__ */ jsxs32("div", { children: [
8654
+ /* @__PURE__ */ jsx47(Label, { htmlFor: "input-disabled", children: "Disabled Input" }),
8655
+ /* @__PURE__ */ jsx47(Input, { id: "input-disabled", placeholder: "Disabled...", disabled: true })
8453
8656
  ] }),
8454
- /* @__PURE__ */ jsxs31("div", { children: [
8455
- /* @__PURE__ */ jsx45(Label, { htmlFor: "input-type", children: "Email Input" }),
8456
- /* @__PURE__ */ jsx45(Input, { id: "input-type", type: "email", placeholder: "email@example.com" })
8657
+ /* @__PURE__ */ jsxs32("div", { children: [
8658
+ /* @__PURE__ */ jsx47(Label, { htmlFor: "input-type", children: "Email Input" }),
8659
+ /* @__PURE__ */ jsx47(Input, { id: "input-type", type: "email", placeholder: "email@example.com" })
8457
8660
  ] })
8458
8661
  ] }) }),
8459
- /* @__PURE__ */ jsx45(Section, { title: "Textarea", children: /* @__PURE__ */ jsxs31("div", { className: "space-y-4 max-w-md", children: [
8460
- /* @__PURE__ */ jsxs31("div", { children: [
8461
- /* @__PURE__ */ jsx45(Label, { htmlFor: "textarea-default", children: "Default Textarea" }),
8462
- /* @__PURE__ */ jsx45(
8662
+ /* @__PURE__ */ jsx47(Section, { title: "Textarea", children: /* @__PURE__ */ jsxs32("div", { className: "space-y-4 max-w-md", children: [
8663
+ /* @__PURE__ */ jsxs32("div", { children: [
8664
+ /* @__PURE__ */ jsx47(Label, { htmlFor: "textarea-default", children: "Default Textarea" }),
8665
+ /* @__PURE__ */ jsx47(
8463
8666
  Textarea,
8464
8667
  {
8465
8668
  id: "textarea-default",
@@ -8469,52 +8672,52 @@ var PlaygroundContent = () => {
8469
8672
  }
8470
8673
  )
8471
8674
  ] }),
8472
- /* @__PURE__ */ jsxs31("div", { children: [
8473
- /* @__PURE__ */ jsx45(Label, { htmlFor: "textarea-disabled", children: "Disabled Textarea" }),
8474
- /* @__PURE__ */ jsx45(Textarea, { id: "textarea-disabled", placeholder: "Disabled...", disabled: true })
8675
+ /* @__PURE__ */ jsxs32("div", { children: [
8676
+ /* @__PURE__ */ jsx47(Label, { htmlFor: "textarea-disabled", children: "Disabled Textarea" }),
8677
+ /* @__PURE__ */ jsx47(Textarea, { id: "textarea-disabled", placeholder: "Disabled...", disabled: true })
8475
8678
  ] })
8476
8679
  ] }) }),
8477
- /* @__PURE__ */ jsx45(Section, { title: "Select", children: /* @__PURE__ */ jsxs31("div", { className: "space-y-4 max-w-md", children: [
8478
- /* @__PURE__ */ jsxs31("div", { children: [
8479
- /* @__PURE__ */ jsx45(Label, { children: "Default Select" }),
8480
- /* @__PURE__ */ jsxs31(SelectNamespace, { value: selectValue, onValueChange: setSelectValue, children: [
8481
- /* @__PURE__ */ jsx45(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx45(SelectValue, { placeholder: "Select an option..." }) }),
8482
- /* @__PURE__ */ jsxs31(SelectContent, { children: [
8483
- /* @__PURE__ */ jsx45(SelectItem, { value: "option1", children: "Option 1" }),
8484
- /* @__PURE__ */ jsx45(SelectItem, { value: "option2", children: "Option 2" }),
8485
- /* @__PURE__ */ jsx45(SelectItem, { value: "option3", children: "Option 3" })
8680
+ /* @__PURE__ */ jsx47(Section, { title: "Select", children: /* @__PURE__ */ jsxs32("div", { className: "space-y-4 max-w-md", children: [
8681
+ /* @__PURE__ */ jsxs32("div", { children: [
8682
+ /* @__PURE__ */ jsx47(Label, { children: "Default Select" }),
8683
+ /* @__PURE__ */ jsxs32(SelectNamespace, { value: selectValue, onValueChange: setSelectValue, children: [
8684
+ /* @__PURE__ */ jsx47(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx47(SelectValue, { placeholder: "Select an option..." }) }),
8685
+ /* @__PURE__ */ jsxs32(SelectContent, { children: [
8686
+ /* @__PURE__ */ jsx47(SelectItem, { value: "option1", children: "Option 1" }),
8687
+ /* @__PURE__ */ jsx47(SelectItem, { value: "option2", children: "Option 2" }),
8688
+ /* @__PURE__ */ jsx47(SelectItem, { value: "option3", children: "Option 3" })
8486
8689
  ] })
8487
8690
  ] })
8488
8691
  ] }),
8489
- /* @__PURE__ */ jsxs31("div", { children: [
8490
- /* @__PURE__ */ jsx45(Label, { children: "Grouped Select" }),
8491
- /* @__PURE__ */ jsxs31(SelectNamespace, { children: [
8492
- /* @__PURE__ */ jsx45(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx45(SelectValue, { placeholder: "Select a food..." }) }),
8493
- /* @__PURE__ */ jsxs31(SelectContent, { children: [
8494
- /* @__PURE__ */ jsxs31(SelectGroup, { children: [
8495
- /* @__PURE__ */ jsx45(SelectLabel, { children: "Fruits" }),
8496
- /* @__PURE__ */ jsx45(SelectItem, { value: "apple", children: "Apple" }),
8497
- /* @__PURE__ */ jsx45(SelectItem, { value: "banana", children: "Banana" })
8692
+ /* @__PURE__ */ jsxs32("div", { children: [
8693
+ /* @__PURE__ */ jsx47(Label, { children: "Grouped Select" }),
8694
+ /* @__PURE__ */ jsxs32(SelectNamespace, { children: [
8695
+ /* @__PURE__ */ jsx47(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx47(SelectValue, { placeholder: "Select a food..." }) }),
8696
+ /* @__PURE__ */ jsxs32(SelectContent, { children: [
8697
+ /* @__PURE__ */ jsxs32(SelectGroup, { children: [
8698
+ /* @__PURE__ */ jsx47(SelectLabel, { children: "Fruits" }),
8699
+ /* @__PURE__ */ jsx47(SelectItem, { value: "apple", children: "Apple" }),
8700
+ /* @__PURE__ */ jsx47(SelectItem, { value: "banana", children: "Banana" })
8498
8701
  ] }),
8499
- /* @__PURE__ */ jsxs31(SelectGroup, { children: [
8500
- /* @__PURE__ */ jsx45(SelectLabel, { children: "Vegetables" }),
8501
- /* @__PURE__ */ jsx45(SelectItem, { value: "carrot", children: "Carrot" }),
8502
- /* @__PURE__ */ jsx45(SelectItem, { value: "potato", children: "Potato" })
8702
+ /* @__PURE__ */ jsxs32(SelectGroup, { children: [
8703
+ /* @__PURE__ */ jsx47(SelectLabel, { children: "Vegetables" }),
8704
+ /* @__PURE__ */ jsx47(SelectItem, { value: "carrot", children: "Carrot" }),
8705
+ /* @__PURE__ */ jsx47(SelectItem, { value: "potato", children: "Potato" })
8503
8706
  ] })
8504
8707
  ] })
8505
8708
  ] })
8506
8709
  ] }),
8507
- /* @__PURE__ */ jsxs31("div", { children: [
8508
- /* @__PURE__ */ jsx45(Label, { children: "Disabled Select" }),
8509
- /* @__PURE__ */ jsxs31(SelectNamespace, { disabled: true, children: [
8510
- /* @__PURE__ */ jsx45(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx45(SelectValue, { placeholder: "Disabled..." }) }),
8511
- /* @__PURE__ */ jsx45(SelectContent, { children: /* @__PURE__ */ jsx45(SelectItem, { value: "none", children: "None" }) })
8710
+ /* @__PURE__ */ jsxs32("div", { children: [
8711
+ /* @__PURE__ */ jsx47(Label, { children: "Disabled Select" }),
8712
+ /* @__PURE__ */ jsxs32(SelectNamespace, { disabled: true, children: [
8713
+ /* @__PURE__ */ jsx47(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx47(SelectValue, { placeholder: "Disabled..." }) }),
8714
+ /* @__PURE__ */ jsx47(SelectContent, { children: /* @__PURE__ */ jsx47(SelectItem, { value: "none", children: "None" }) })
8512
8715
  ] })
8513
8716
  ] })
8514
8717
  ] }) }),
8515
- /* @__PURE__ */ jsx45(Section, { title: "Combobox (Searchable Select)", children: /* @__PURE__ */ jsx45("div", { className: "space-y-4 max-w-md", children: /* @__PURE__ */ jsxs31("div", { children: [
8516
- /* @__PURE__ */ jsx45(Label, { children: "Framework" }),
8517
- /* @__PURE__ */ jsx45(
8718
+ /* @__PURE__ */ jsx47(Section, { title: "Combobox (Searchable Select)", children: /* @__PURE__ */ jsx47("div", { className: "space-y-4 max-w-md", children: /* @__PURE__ */ jsxs32("div", { children: [
8719
+ /* @__PURE__ */ jsx47(Label, { children: "Framework" }),
8720
+ /* @__PURE__ */ jsx47(
8518
8721
  Combobox,
8519
8722
  {
8520
8723
  options: comboboxOptions,
@@ -8526,9 +8729,9 @@ var PlaygroundContent = () => {
8526
8729
  }
8527
8730
  )
8528
8731
  ] }) }) }),
8529
- /* @__PURE__ */ jsx45(Section, { title: "Checkbox & Switch", children: /* @__PURE__ */ jsxs31("div", { className: "space-y-4", children: [
8530
- /* @__PURE__ */ jsxs31("div", { className: "flex items-center gap-2", children: [
8531
- /* @__PURE__ */ jsx45(
8732
+ /* @__PURE__ */ jsx47(Section, { title: "Checkbox & Switch", children: /* @__PURE__ */ jsxs32("div", { className: "space-y-4", children: [
8733
+ /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-2", children: [
8734
+ /* @__PURE__ */ jsx47(
8532
8735
  Checkbox,
8533
8736
  {
8534
8737
  id: "checkbox",
@@ -8536,15 +8739,15 @@ var PlaygroundContent = () => {
8536
8739
  onChange: (e) => setCheckboxChecked(e.target.checked)
8537
8740
  }
8538
8741
  ),
8539
- /* @__PURE__ */ jsx45(Label, { htmlFor: "checkbox", children: "Accept terms and conditions" })
8742
+ /* @__PURE__ */ jsx47(Label, { htmlFor: "checkbox", children: "Accept terms and conditions" })
8540
8743
  ] }),
8541
- /* @__PURE__ */ jsxs31("div", { className: "flex items-center gap-2", children: [
8542
- /* @__PURE__ */ jsx45(Checkbox, { id: "checkbox-disabled", disabled: true }),
8543
- /* @__PURE__ */ jsx45(Label, { htmlFor: "checkbox-disabled", children: "Disabled checkbox" })
8744
+ /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-2", children: [
8745
+ /* @__PURE__ */ jsx47(Checkbox, { id: "checkbox-disabled", disabled: true }),
8746
+ /* @__PURE__ */ jsx47(Label, { htmlFor: "checkbox-disabled", children: "Disabled checkbox" })
8544
8747
  ] }),
8545
- /* @__PURE__ */ jsx45(Separator, {}),
8546
- /* @__PURE__ */ jsxs31("div", { className: "flex items-center gap-2", children: [
8547
- /* @__PURE__ */ jsx45(
8748
+ /* @__PURE__ */ jsx47(Separator, {}),
8749
+ /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-2", children: [
8750
+ /* @__PURE__ */ jsx47(
8548
8751
  Switch,
8549
8752
  {
8550
8753
  id: "switch",
@@ -8552,160 +8755,160 @@ var PlaygroundContent = () => {
8552
8755
  onChange: (e) => setSwitchChecked(e.target.checked)
8553
8756
  }
8554
8757
  ),
8555
- /* @__PURE__ */ jsx45(Label, { htmlFor: "switch", children: "Enable notifications" })
8758
+ /* @__PURE__ */ jsx47(Label, { htmlFor: "switch", children: "Enable notifications" })
8556
8759
  ] }),
8557
- /* @__PURE__ */ jsxs31("div", { className: "flex items-center gap-2", children: [
8558
- /* @__PURE__ */ jsx45(Switch, { id: "switch-disabled", disabled: true }),
8559
- /* @__PURE__ */ jsx45(Label, { htmlFor: "switch-disabled", children: "Disabled switch" })
8760
+ /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-2", children: [
8761
+ /* @__PURE__ */ jsx47(Switch, { id: "switch-disabled", disabled: true }),
8762
+ /* @__PURE__ */ jsx47(Label, { htmlFor: "switch-disabled", children: "Disabled switch" })
8560
8763
  ] })
8561
8764
  ] }) }),
8562
- /* @__PURE__ */ jsx45(Section, { title: "Badge", children: /* @__PURE__ */ jsxs31("div", { className: "flex flex-wrap gap-4", children: [
8563
- /* @__PURE__ */ jsx45(Badge, { children: "Default" }),
8564
- /* @__PURE__ */ jsx45(Badge, { variant: "secondary", children: "Secondary" }),
8565
- /* @__PURE__ */ jsx45(Badge, { variant: "destructive", children: "Destructive" }),
8566
- /* @__PURE__ */ jsx45(Badge, { variant: "outline", children: "Outline" })
8765
+ /* @__PURE__ */ jsx47(Section, { title: "Badge", children: /* @__PURE__ */ jsxs32("div", { className: "flex flex-wrap gap-4", children: [
8766
+ /* @__PURE__ */ jsx47(Badge, { children: "Default" }),
8767
+ /* @__PURE__ */ jsx47(Badge, { variant: "secondary", children: "Secondary" }),
8768
+ /* @__PURE__ */ jsx47(Badge, { variant: "destructive", children: "Destructive" }),
8769
+ /* @__PURE__ */ jsx47(Badge, { variant: "outline", children: "Outline" })
8567
8770
  ] }) }),
8568
- /* @__PURE__ */ jsx45(Section, { title: "Card", children: /* @__PURE__ */ jsxs31("div", { className: "grid gap-4 md:grid-cols-2", children: [
8569
- /* @__PURE__ */ jsxs31(Card, { children: [
8570
- /* @__PURE__ */ jsxs31(CardHeader, { children: [
8571
- /* @__PURE__ */ jsx45(CardTitle, { children: "Card Title" }),
8572
- /* @__PURE__ */ jsx45(CardDescription, { children: "Card description goes here" })
8771
+ /* @__PURE__ */ jsx47(Section, { title: "Card", children: /* @__PURE__ */ jsxs32("div", { className: "grid gap-4 md:grid-cols-2", children: [
8772
+ /* @__PURE__ */ jsxs32(Card, { children: [
8773
+ /* @__PURE__ */ jsxs32(CardHeader, { children: [
8774
+ /* @__PURE__ */ jsx47(CardTitle, { children: "Card Title" }),
8775
+ /* @__PURE__ */ jsx47(CardDescription, { children: "Card description goes here" })
8573
8776
  ] }),
8574
- /* @__PURE__ */ jsx45(CardContent, { children: /* @__PURE__ */ jsx45("p", { className: "text-foreground", children: "This is the card content area." }) }),
8575
- /* @__PURE__ */ jsxs31(CardFooter, { children: [
8576
- /* @__PURE__ */ jsx45(Button, { variant: "outline", className: "mr-2", children: "Cancel" }),
8577
- /* @__PURE__ */ jsx45(Button, { children: "Submit" })
8777
+ /* @__PURE__ */ jsx47(CardContent, { children: /* @__PURE__ */ jsx47("p", { className: "text-foreground", children: "This is the card content area." }) }),
8778
+ /* @__PURE__ */ jsxs32(CardFooter, { children: [
8779
+ /* @__PURE__ */ jsx47(Button, { variant: "outline", className: "mr-2", children: "Cancel" }),
8780
+ /* @__PURE__ */ jsx47(Button, { children: "Submit" })
8578
8781
  ] })
8579
8782
  ] }),
8580
- /* @__PURE__ */ jsxs31(Card, { children: [
8581
- /* @__PURE__ */ jsxs31(CardHeader, { children: [
8582
- /* @__PURE__ */ jsx45(CardTitle, { children: "Another Card" }),
8583
- /* @__PURE__ */ jsx45(CardDescription, { children: "With different content" })
8783
+ /* @__PURE__ */ jsxs32(Card, { children: [
8784
+ /* @__PURE__ */ jsxs32(CardHeader, { children: [
8785
+ /* @__PURE__ */ jsx47(CardTitle, { children: "Another Card" }),
8786
+ /* @__PURE__ */ jsx47(CardDescription, { children: "With different content" })
8584
8787
  ] }),
8585
- /* @__PURE__ */ jsx45(CardContent, { children: /* @__PURE__ */ jsxs31("div", { className: "space-y-2", children: [
8586
- /* @__PURE__ */ jsx45(Label, { htmlFor: "card-input", children: "Name" }),
8587
- /* @__PURE__ */ jsx45(Input, { id: "card-input", placeholder: "Enter name..." })
8788
+ /* @__PURE__ */ jsx47(CardContent, { children: /* @__PURE__ */ jsxs32("div", { className: "space-y-2", children: [
8789
+ /* @__PURE__ */ jsx47(Label, { htmlFor: "card-input", children: "Name" }),
8790
+ /* @__PURE__ */ jsx47(Input, { id: "card-input", placeholder: "Enter name..." })
8588
8791
  ] }) }),
8589
- /* @__PURE__ */ jsx45(CardFooter, { children: /* @__PURE__ */ jsx45(Button, { className: "w-full", children: "Save" }) })
8792
+ /* @__PURE__ */ jsx47(CardFooter, { children: /* @__PURE__ */ jsx47(Button, { className: "w-full", children: "Save" }) })
8590
8793
  ] })
8591
8794
  ] }) }),
8592
- /* @__PURE__ */ jsxs31(Section, { title: "Dialog", children: [
8593
- /* @__PURE__ */ jsx45(Button, { onClick: () => setDialogOpen(true), children: "Open Dialog" }),
8594
- /* @__PURE__ */ jsx45(DialogNamespace, { open: dialogOpen, onOpenChange: setDialogOpen, children: /* @__PURE__ */ jsxs31(DialogContent, { children: [
8595
- /* @__PURE__ */ jsxs31(DialogHeader, { children: [
8596
- /* @__PURE__ */ jsx45(DialogTitle, { children: "Create New Zone" }),
8597
- /* @__PURE__ */ jsx45(DialogDescription, { children: "Fill in the details below to create a new zone." })
8795
+ /* @__PURE__ */ jsxs32(Section, { title: "Dialog", children: [
8796
+ /* @__PURE__ */ jsx47(Button, { onClick: () => setDialogOpen(true), children: "Open Dialog" }),
8797
+ /* @__PURE__ */ jsx47(DialogNamespace, { open: dialogOpen, onOpenChange: setDialogOpen, children: /* @__PURE__ */ jsxs32(DialogContent, { children: [
8798
+ /* @__PURE__ */ jsxs32(DialogHeader, { children: [
8799
+ /* @__PURE__ */ jsx47(DialogTitle, { children: "Create New Zone" }),
8800
+ /* @__PURE__ */ jsx47(DialogDescription, { children: "Fill in the details below to create a new zone." })
8598
8801
  ] }),
8599
- /* @__PURE__ */ jsxs31("div", { className: "space-y-4 py-4", children: [
8600
- /* @__PURE__ */ jsxs31("div", { className: "grid grid-cols-2 gap-4", children: [
8601
- /* @__PURE__ */ jsxs31("div", { children: [
8602
- /* @__PURE__ */ jsx45(Label, { htmlFor: "zone-name", children: "Zone Name *" }),
8603
- /* @__PURE__ */ jsx45(Input, { id: "zone-name", placeholder: "eg:hyderabad" })
8802
+ /* @__PURE__ */ jsxs32("div", { className: "space-y-4 py-4", children: [
8803
+ /* @__PURE__ */ jsxs32("div", { className: "grid grid-cols-2 gap-4", children: [
8804
+ /* @__PURE__ */ jsxs32("div", { children: [
8805
+ /* @__PURE__ */ jsx47(Label, { htmlFor: "zone-name", children: "Zone Name *" }),
8806
+ /* @__PURE__ */ jsx47(Input, { id: "zone-name", placeholder: "eg:hyderabad" })
8604
8807
  ] }),
8605
- /* @__PURE__ */ jsxs31("div", { children: [
8606
- /* @__PURE__ */ jsx45(Label, { htmlFor: "zone-code", children: "Zone Code *" }),
8607
- /* @__PURE__ */ jsx45(Input, { id: "zone-code", placeholder: "eg :hyd022" })
8808
+ /* @__PURE__ */ jsxs32("div", { children: [
8809
+ /* @__PURE__ */ jsx47(Label, { htmlFor: "zone-code", children: "Zone Code *" }),
8810
+ /* @__PURE__ */ jsx47(Input, { id: "zone-code", placeholder: "eg :hyd022" })
8608
8811
  ] })
8609
8812
  ] }),
8610
- /* @__PURE__ */ jsxs31("div", { className: "grid grid-cols-2 gap-4", children: [
8611
- /* @__PURE__ */ jsxs31("div", { children: [
8612
- /* @__PURE__ */ jsx45(Label, { children: "State *" }),
8613
- /* @__PURE__ */ jsxs31(SelectNamespace, { children: [
8614
- /* @__PURE__ */ jsx45(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx45(SelectValue, { placeholder: "Select state" }) }),
8615
- /* @__PURE__ */ jsxs31(SelectContent, { children: [
8616
- /* @__PURE__ */ jsx45(SelectItem, { value: "telangana", children: "TELANGANA" }),
8617
- /* @__PURE__ */ jsx45(SelectItem, { value: "andhra", children: "ANDHRA PRADESH" })
8813
+ /* @__PURE__ */ jsxs32("div", { className: "grid grid-cols-2 gap-4", children: [
8814
+ /* @__PURE__ */ jsxs32("div", { children: [
8815
+ /* @__PURE__ */ jsx47(Label, { children: "State *" }),
8816
+ /* @__PURE__ */ jsxs32(SelectNamespace, { children: [
8817
+ /* @__PURE__ */ jsx47(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx47(SelectValue, { placeholder: "Select state" }) }),
8818
+ /* @__PURE__ */ jsxs32(SelectContent, { children: [
8819
+ /* @__PURE__ */ jsx47(SelectItem, { value: "telangana", children: "TELANGANA" }),
8820
+ /* @__PURE__ */ jsx47(SelectItem, { value: "andhra", children: "ANDHRA PRADESH" })
8618
8821
  ] })
8619
8822
  ] })
8620
8823
  ] }),
8621
- /* @__PURE__ */ jsxs31("div", { children: [
8622
- /* @__PURE__ */ jsx45(Label, { children: "District *" }),
8623
- /* @__PURE__ */ jsxs31(SelectNamespace, { children: [
8624
- /* @__PURE__ */ jsx45(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx45(SelectValue, { placeholder: "Select District" }) }),
8625
- /* @__PURE__ */ jsxs31(SelectContent, { children: [
8626
- /* @__PURE__ */ jsx45(SelectItem, { value: "hyderabad", children: "HYDERABAD" }),
8627
- /* @__PURE__ */ jsx45(SelectItem, { value: "rangareddy", children: "RANGAREDDY" })
8824
+ /* @__PURE__ */ jsxs32("div", { children: [
8825
+ /* @__PURE__ */ jsx47(Label, { children: "District *" }),
8826
+ /* @__PURE__ */ jsxs32(SelectNamespace, { children: [
8827
+ /* @__PURE__ */ jsx47(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx47(SelectValue, { placeholder: "Select District" }) }),
8828
+ /* @__PURE__ */ jsxs32(SelectContent, { children: [
8829
+ /* @__PURE__ */ jsx47(SelectItem, { value: "hyderabad", children: "HYDERABAD" }),
8830
+ /* @__PURE__ */ jsx47(SelectItem, { value: "rangareddy", children: "RANGAREDDY" })
8628
8831
  ] })
8629
8832
  ] })
8630
8833
  ] })
8631
8834
  ] })
8632
8835
  ] }),
8633
- /* @__PURE__ */ jsxs31(DialogFooter, { children: [
8634
- /* @__PURE__ */ jsx45(Button, { variant: "outline", onClick: () => setDialogOpen(false), children: "CANCEL" }),
8635
- /* @__PURE__ */ jsx45(Button, { onClick: () => setDialogOpen(false), children: "Create" })
8836
+ /* @__PURE__ */ jsxs32(DialogFooter, { children: [
8837
+ /* @__PURE__ */ jsx47(Button, { variant: "outline", onClick: () => setDialogOpen(false), children: "CANCEL" }),
8838
+ /* @__PURE__ */ jsx47(Button, { onClick: () => setDialogOpen(false), children: "Create" })
8636
8839
  ] })
8637
8840
  ] }) })
8638
8841
  ] }),
8639
- /* @__PURE__ */ jsx45(Section, { title: "Table", children: /* @__PURE__ */ jsxs31(TableNamespace, { children: [
8640
- /* @__PURE__ */ jsx45(TableCaption, { children: "A list of recent invoices" }),
8641
- /* @__PURE__ */ jsx45(TableHeader, { children: /* @__PURE__ */ jsxs31(TableRow, { children: [
8642
- /* @__PURE__ */ jsx45(TableHead, { children: "Invoice" }),
8643
- /* @__PURE__ */ jsx45(TableHead, { children: "Status" }),
8644
- /* @__PURE__ */ jsx45(TableHead, { children: "Method" }),
8645
- /* @__PURE__ */ jsx45(TableHead, { className: "text-right", children: "Amount" })
8842
+ /* @__PURE__ */ jsx47(Section, { title: "Table", children: /* @__PURE__ */ jsxs32(TableNamespace, { children: [
8843
+ /* @__PURE__ */ jsx47(TableCaption, { children: "A list of recent invoices" }),
8844
+ /* @__PURE__ */ jsx47(TableHeader, { children: /* @__PURE__ */ jsxs32(TableRow, { children: [
8845
+ /* @__PURE__ */ jsx47(TableHead, { children: "Invoice" }),
8846
+ /* @__PURE__ */ jsx47(TableHead, { children: "Status" }),
8847
+ /* @__PURE__ */ jsx47(TableHead, { children: "Method" }),
8848
+ /* @__PURE__ */ jsx47(TableHead, { className: "text-right", children: "Amount" })
8646
8849
  ] }) }),
8647
- /* @__PURE__ */ jsxs31(TableBody, { children: [
8648
- /* @__PURE__ */ jsxs31(TableRow, { children: [
8649
- /* @__PURE__ */ jsx45(TableCell, { children: "INV001" }),
8650
- /* @__PURE__ */ jsx45(TableCell, { children: /* @__PURE__ */ jsx45(Badge, { children: "Paid" }) }),
8651
- /* @__PURE__ */ jsx45(TableCell, { children: "Credit Card" }),
8652
- /* @__PURE__ */ jsx45(TableCell, { className: "text-right", children: "$250.00" })
8850
+ /* @__PURE__ */ jsxs32(TableBody, { children: [
8851
+ /* @__PURE__ */ jsxs32(TableRow, { children: [
8852
+ /* @__PURE__ */ jsx47(TableCell, { children: "INV001" }),
8853
+ /* @__PURE__ */ jsx47(TableCell, { children: /* @__PURE__ */ jsx47(Badge, { children: "Paid" }) }),
8854
+ /* @__PURE__ */ jsx47(TableCell, { children: "Credit Card" }),
8855
+ /* @__PURE__ */ jsx47(TableCell, { className: "text-right", children: "$250.00" })
8653
8856
  ] }),
8654
- /* @__PURE__ */ jsxs31(TableRow, { children: [
8655
- /* @__PURE__ */ jsx45(TableCell, { children: "INV002" }),
8656
- /* @__PURE__ */ jsx45(TableCell, { children: /* @__PURE__ */ jsx45(Badge, { variant: "secondary", children: "Pending" }) }),
8657
- /* @__PURE__ */ jsx45(TableCell, { children: "PayPal" }),
8658
- /* @__PURE__ */ jsx45(TableCell, { className: "text-right", children: "$150.00" })
8857
+ /* @__PURE__ */ jsxs32(TableRow, { children: [
8858
+ /* @__PURE__ */ jsx47(TableCell, { children: "INV002" }),
8859
+ /* @__PURE__ */ jsx47(TableCell, { children: /* @__PURE__ */ jsx47(Badge, { variant: "secondary", children: "Pending" }) }),
8860
+ /* @__PURE__ */ jsx47(TableCell, { children: "PayPal" }),
8861
+ /* @__PURE__ */ jsx47(TableCell, { className: "text-right", children: "$150.00" })
8659
8862
  ] }),
8660
- /* @__PURE__ */ jsxs31(TableRow, { children: [
8661
- /* @__PURE__ */ jsx45(TableCell, { children: "INV003" }),
8662
- /* @__PURE__ */ jsx45(TableCell, { children: /* @__PURE__ */ jsx45(Badge, { variant: "destructive", children: "Failed" }) }),
8663
- /* @__PURE__ */ jsx45(TableCell, { children: "Bank Transfer" }),
8664
- /* @__PURE__ */ jsx45(TableCell, { className: "text-right", children: "$350.00" })
8863
+ /* @__PURE__ */ jsxs32(TableRow, { children: [
8864
+ /* @__PURE__ */ jsx47(TableCell, { children: "INV003" }),
8865
+ /* @__PURE__ */ jsx47(TableCell, { children: /* @__PURE__ */ jsx47(Badge, { variant: "destructive", children: "Failed" }) }),
8866
+ /* @__PURE__ */ jsx47(TableCell, { children: "Bank Transfer" }),
8867
+ /* @__PURE__ */ jsx47(TableCell, { className: "text-right", children: "$350.00" })
8665
8868
  ] })
8666
8869
  ] })
8667
8870
  ] }) }),
8668
- /* @__PURE__ */ jsx45(Section, { title: "Pagination", children: /* @__PURE__ */ jsx45(PaginationNamespace, { children: /* @__PURE__ */ jsxs31(PaginationContent, { children: [
8669
- /* @__PURE__ */ jsx45(PaginationItem, { children: /* @__PURE__ */ jsx45(PaginationPrevious, { onClick: () => console.log("Previous") }) }),
8670
- /* @__PURE__ */ jsx45(PaginationItem, { children: /* @__PURE__ */ jsx45(PaginationLink, { isActive: true, children: "1" }) }),
8671
- /* @__PURE__ */ jsx45(PaginationItem, { children: /* @__PURE__ */ jsx45(PaginationLink, { children: "2" }) }),
8672
- /* @__PURE__ */ jsx45(PaginationItem, { children: /* @__PURE__ */ jsx45(PaginationLink, { children: "3" }) }),
8673
- /* @__PURE__ */ jsx45(PaginationItem, { children: /* @__PURE__ */ jsx45(PaginationEllipsis, {}) }),
8674
- /* @__PURE__ */ jsx45(PaginationItem, { children: /* @__PURE__ */ jsx45(PaginationNext, { onClick: () => console.log("Next") }) })
8871
+ /* @__PURE__ */ jsx47(Section, { title: "Pagination", children: /* @__PURE__ */ jsx47(PaginationNamespace, { children: /* @__PURE__ */ jsxs32(PaginationContent, { children: [
8872
+ /* @__PURE__ */ jsx47(PaginationItem, { children: /* @__PURE__ */ jsx47(PaginationPrevious, { onClick: () => console.log("Previous") }) }),
8873
+ /* @__PURE__ */ jsx47(PaginationItem, { children: /* @__PURE__ */ jsx47(PaginationLink, { isActive: true, children: "1" }) }),
8874
+ /* @__PURE__ */ jsx47(PaginationItem, { children: /* @__PURE__ */ jsx47(PaginationLink, { children: "2" }) }),
8875
+ /* @__PURE__ */ jsx47(PaginationItem, { children: /* @__PURE__ */ jsx47(PaginationLink, { children: "3" }) }),
8876
+ /* @__PURE__ */ jsx47(PaginationItem, { children: /* @__PURE__ */ jsx47(PaginationEllipsis, {}) }),
8877
+ /* @__PURE__ */ jsx47(PaginationItem, { children: /* @__PURE__ */ jsx47(PaginationNext, { onClick: () => console.log("Next") }) })
8675
8878
  ] }) }) }),
8676
- /* @__PURE__ */ jsx45(Section, { title: "Spinner", children: /* @__PURE__ */ jsxs31("div", { className: "flex items-center gap-8", children: [
8677
- /* @__PURE__ */ jsxs31("div", { className: "text-center", children: [
8678
- /* @__PURE__ */ jsx45(Spinner, { size: "sm" }),
8679
- /* @__PURE__ */ jsx45("p", { className: "text-sm text-muted-foreground mt-2", children: "Small" })
8879
+ /* @__PURE__ */ jsx47(Section, { title: "Spinner", children: /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-8", children: [
8880
+ /* @__PURE__ */ jsxs32("div", { className: "text-center", children: [
8881
+ /* @__PURE__ */ jsx47(Spinner, { size: "sm" }),
8882
+ /* @__PURE__ */ jsx47("p", { className: "text-sm text-muted-foreground mt-2", children: "Small" })
8680
8883
  ] }),
8681
- /* @__PURE__ */ jsxs31("div", { className: "text-center", children: [
8682
- /* @__PURE__ */ jsx45(Spinner, { size: "default" }),
8683
- /* @__PURE__ */ jsx45("p", { className: "text-sm text-muted-foreground mt-2", children: "Default" })
8884
+ /* @__PURE__ */ jsxs32("div", { className: "text-center", children: [
8885
+ /* @__PURE__ */ jsx47(Spinner, { size: "default" }),
8886
+ /* @__PURE__ */ jsx47("p", { className: "text-sm text-muted-foreground mt-2", children: "Default" })
8684
8887
  ] }),
8685
- /* @__PURE__ */ jsxs31("div", { className: "text-center", children: [
8686
- /* @__PURE__ */ jsx45(Spinner, { size: "lg" }),
8687
- /* @__PURE__ */ jsx45("p", { className: "text-sm text-muted-foreground mt-2", children: "Large" })
8888
+ /* @__PURE__ */ jsxs32("div", { className: "text-center", children: [
8889
+ /* @__PURE__ */ jsx47(Spinner, { size: "lg" }),
8890
+ /* @__PURE__ */ jsx47("p", { className: "text-sm text-muted-foreground mt-2", children: "Large" })
8688
8891
  ] })
8689
8892
  ] }) }),
8690
- /* @__PURE__ */ jsx45(Section, { title: "Separator", children: /* @__PURE__ */ jsxs31("div", { className: "space-y-4", children: [
8691
- /* @__PURE__ */ jsx45("p", { className: "text-foreground", children: "Content above separator" }),
8692
- /* @__PURE__ */ jsx45(Separator, {}),
8693
- /* @__PURE__ */ jsx45("p", { className: "text-foreground", children: "Content below separator" }),
8694
- /* @__PURE__ */ jsxs31("div", { className: "flex items-center h-10", children: [
8695
- /* @__PURE__ */ jsx45("span", { className: "text-foreground", children: "Left" }),
8696
- /* @__PURE__ */ jsx45(Separator, { orientation: "vertical", className: "mx-4" }),
8697
- /* @__PURE__ */ jsx45("span", { className: "text-foreground", children: "Right" })
8893
+ /* @__PURE__ */ jsx47(Section, { title: "Separator", children: /* @__PURE__ */ jsxs32("div", { className: "space-y-4", children: [
8894
+ /* @__PURE__ */ jsx47("p", { className: "text-foreground", children: "Content above separator" }),
8895
+ /* @__PURE__ */ jsx47(Separator, {}),
8896
+ /* @__PURE__ */ jsx47("p", { className: "text-foreground", children: "Content below separator" }),
8897
+ /* @__PURE__ */ jsxs32("div", { className: "flex items-center h-10", children: [
8898
+ /* @__PURE__ */ jsx47("span", { className: "text-foreground", children: "Left" }),
8899
+ /* @__PURE__ */ jsx47(Separator, { orientation: "vertical", className: "mx-4" }),
8900
+ /* @__PURE__ */ jsx47("span", { className: "text-foreground", children: "Right" })
8698
8901
  ] })
8699
8902
  ] }) }),
8700
- /* @__PURE__ */ jsx45(Section, { title: "Typography & Colors", children: /* @__PURE__ */ jsxs31("div", { className: "space-y-2", children: [
8701
- /* @__PURE__ */ jsx45("p", { className: "text-foreground", children: "text-foreground - Primary text color" }),
8702
- /* @__PURE__ */ jsx45("p", { className: "text-muted-foreground", children: "text-muted-foreground - Muted text color" }),
8703
- /* @__PURE__ */ jsx45("p", { className: "text-accent", children: "text-accent - Accent color" }),
8704
- /* @__PURE__ */ jsx45("p", { className: "text-destructive", children: "text-destructive - Destructive color" })
8903
+ /* @__PURE__ */ jsx47(Section, { title: "Typography & Colors", children: /* @__PURE__ */ jsxs32("div", { className: "space-y-2", children: [
8904
+ /* @__PURE__ */ jsx47("p", { className: "text-foreground", children: "text-foreground - Primary text color" }),
8905
+ /* @__PURE__ */ jsx47("p", { className: "text-muted-foreground", children: "text-muted-foreground - Muted text color" }),
8906
+ /* @__PURE__ */ jsx47("p", { className: "text-accent", children: "text-accent - Accent color" }),
8907
+ /* @__PURE__ */ jsx47("p", { className: "text-destructive", children: "text-destructive - Destructive color" })
8705
8908
  ] }) })
8706
8909
  ] }) });
8707
8910
  };
8708
- var Playground = () => /* @__PURE__ */ jsx45(ThemeProvider, { defaultTheme: "light", children: /* @__PURE__ */ jsx45(PlaygroundContent, {}) });
8911
+ var Playground = () => /* @__PURE__ */ jsx47(ThemeProvider, { defaultTheme: "light", children: /* @__PURE__ */ jsx47(PlaygroundContent, {}) });
8709
8912
  export {
8710
8913
  Accordion,
8711
8914
  AccordionContent,
@@ -8730,6 +8933,8 @@ export {
8730
8933
  AvatarGroup,
8731
8934
  Badge,
8732
8935
  BarChart,
8936
+ BottomNavigation,
8937
+ BottomNavigationAction,
8733
8938
  Box,
8734
8939
  BreadcrumbEllipsis,
8735
8940
  BreadcrumbItem,
@@ -8752,6 +8957,10 @@ export {
8752
8957
  Combobox,
8753
8958
  DataGrid,
8754
8959
  DataGrid as DataGridV0,
8960
+ DataList,
8961
+ DataListItem,
8962
+ DataListLabel,
8963
+ DataListValue,
8755
8964
  DialogNamespace as Dialog,
8756
8965
  DialogClose,
8757
8966
  DialogContent,