@onesaz/ui 0.3.21 → 0.3.23

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
@@ -865,28 +865,35 @@ Caption.displayName = "Caption";
865
865
  // src/components/button.tsx
866
866
  import * as React6 from "react";
867
867
  import { jsx as jsx6 } from "react/jsx-runtime";
868
+ var ButtonGroupContext = React6.createContext({});
869
+ var useButtonGroup = () => React6.useContext(ButtonGroupContext);
868
870
  var Button = React6.forwardRef(
869
- ({ className, variant = "default", size = "default", fullWidth = false, ...props }, ref) => {
871
+ ({ className, variant, size, fullWidth = false, disabled, ...props }, ref) => {
872
+ const groupCtx = useButtonGroup();
873
+ const resolvedVariant = variant ?? groupCtx.variant ?? "default";
874
+ const resolvedSize = size ?? groupCtx.size ?? "default";
875
+ const resolvedDisabled = disabled ?? groupCtx.disabled;
870
876
  return /* @__PURE__ */ jsx6(
871
877
  "button",
872
878
  {
879
+ disabled: resolvedDisabled,
873
880
  className: cn(
874
881
  "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors cursor-pointer",
875
882
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
876
883
  "disabled:pointer-events-none disabled:opacity-50 disabled:cursor-not-allowed",
877
884
  {
878
- "bg-accent text-accent-foreground hover:bg-accent-hover": variant === "default",
879
- "bg-destructive text-destructive-foreground hover:bg-destructive/90": variant === "destructive",
880
- "border border-input bg-background hover:bg-muted hover:text-foreground": variant === "outline",
881
- "bg-muted text-foreground hover:bg-muted/80": variant === "secondary",
882
- "hover:bg-muted hover:text-foreground": variant === "ghost",
883
- "text-accent underline-offset-4 hover:underline": variant === "link"
885
+ "bg-accent text-accent-foreground hover:bg-accent-hover": resolvedVariant === "default",
886
+ "bg-destructive text-destructive-foreground hover:bg-destructive/90": resolvedVariant === "destructive",
887
+ "border border-input bg-background hover:bg-muted hover:text-foreground": resolvedVariant === "outline",
888
+ "bg-muted text-foreground hover:bg-muted/80": resolvedVariant === "secondary",
889
+ "hover:bg-muted hover:text-foreground": resolvedVariant === "ghost",
890
+ "text-accent underline-offset-4 hover:underline": resolvedVariant === "link"
884
891
  },
885
892
  {
886
- "h-10 px-4 py-2": size === "default",
887
- "h-9 rounded-md px-3": size === "sm",
888
- "h-11 rounded-md px-8": size === "lg",
889
- "h-10 w-10": size === "icon"
893
+ "h-10 px-4 py-2": resolvedSize === "default",
894
+ "h-9 rounded-md px-3": resolvedSize === "sm",
895
+ "h-11 rounded-md px-8": resolvedSize === "lg",
896
+ "h-10 w-10": resolvedSize === "icon"
890
897
  },
891
898
  fullWidth && "w-full",
892
899
  className
@@ -932,6 +939,54 @@ var IconButton = React6.forwardRef(
932
939
  }
933
940
  );
934
941
  IconButton.displayName = "IconButton";
942
+ var ButtonGroup = React6.forwardRef(
943
+ ({
944
+ className,
945
+ variant,
946
+ size,
947
+ orientation = "horizontal",
948
+ disabled,
949
+ fullWidth = false,
950
+ children,
951
+ ...props
952
+ }, ref) => {
953
+ return /* @__PURE__ */ jsx6(ButtonGroupContext.Provider, { value: { variant, size, disabled }, children: /* @__PURE__ */ jsx6(
954
+ "div",
955
+ {
956
+ ref,
957
+ role: "group",
958
+ className: cn(
959
+ "inline-flex",
960
+ orientation === "vertical" && "flex-col",
961
+ fullWidth && "flex w-full",
962
+ // Horizontal: collapse inner borders and strip inner radius
963
+ orientation === "horizontal" && [
964
+ "[&>*:not(:first-child)]:rounded-l-none",
965
+ "[&>*:not(:last-child)]:rounded-r-none",
966
+ "[&>*:not(:first-child)]:-ml-px",
967
+ // Bring hovered/focused button's border to front
968
+ "[&>*]:relative",
969
+ "[&>*:hover]:z-10",
970
+ "[&>*:focus-visible]:z-10"
971
+ ],
972
+ // Vertical: collapse inner borders and strip inner radius
973
+ orientation === "vertical" && [
974
+ "[&>*:not(:first-child)]:rounded-t-none",
975
+ "[&>*:not(:last-child)]:rounded-b-none",
976
+ "[&>*:not(:first-child)]:-mt-px",
977
+ "[&>*]:relative",
978
+ "[&>*:hover]:z-10",
979
+ "[&>*:focus-visible]:z-10"
980
+ ],
981
+ className
982
+ ),
983
+ ...props,
984
+ children
985
+ }
986
+ ) });
987
+ }
988
+ );
989
+ ButtonGroup.displayName = "ButtonGroup";
935
990
 
936
991
  // src/components/input.tsx
937
992
  import * as React7 from "react";
@@ -3697,7 +3752,7 @@ function OptionItem({
3697
3752
  disabled: option.disabled,
3698
3753
  onClick: onSelect,
3699
3754
  className: cn(
3700
- "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",
3701
3756
  "hover:bg-muted hover:text-foreground",
3702
3757
  "focus:bg-muted focus:text-foreground",
3703
3758
  "disabled:pointer-events-none disabled:opacity-50",
@@ -4476,20 +4531,18 @@ var DataGridPagination = ({
4476
4531
  const pageSize = table.getState().pagination.pageSize;
4477
4532
  const getPageNumbers = () => {
4478
4533
  const pages = [];
4479
- const maxVisible = 5;
4534
+ const maxVisible = 3;
4480
4535
  if (pageCount <= maxVisible) {
4481
4536
  for (let i = 0; i < pageCount; i++) pages.push(i);
4482
4537
  } else {
4483
4538
  pages.push(0);
4484
- if (currentPage > 2) {
4539
+ if (currentPage > 1) {
4485
4540
  pages.push("ellipsis");
4486
4541
  }
4487
- const start = Math.max(1, currentPage - 1);
4488
- const end = Math.min(pageCount - 2, currentPage + 1);
4489
- for (let i = start; i <= end; i++) {
4490
- if (!pages.includes(i)) pages.push(i);
4542
+ if (currentPage !== 0 && currentPage !== pageCount - 1) {
4543
+ pages.push(currentPage);
4491
4544
  }
4492
- if (currentPage < pageCount - 3) {
4545
+ if (currentPage < pageCount - 2) {
4493
4546
  pages.push("ellipsis");
4494
4547
  }
4495
4548
  if (!pages.includes(pageCount - 1)) {
@@ -4500,27 +4553,29 @@ var DataGridPagination = ({
4500
4553
  };
4501
4554
  const startRow = currentPage * pageSize + 1;
4502
4555
  const endRow = Math.min((currentPage + 1) * pageSize, totalRows);
4503
- return /* @__PURE__ */ jsxs22("div", { className: "flex items-center justify-end gap-4 px-4 py-3 border-t border-border bg-background", children: [
4504
- /* @__PURE__ */ jsxs22("div", { className: "flex items-center gap-2 text-xs text-muted-foreground whitespace-nowrap", children: [
4505
- /* @__PURE__ */ jsx36("span", { children: "Rows per page:" }),
4506
- /* @__PURE__ */ jsx36(
4507
- "select",
4508
- {
4509
- value: pageSize,
4510
- onChange: (e) => table.setPageSize(Number(e.target.value)),
4511
- className: "h-8 rounded-md border border-border bg-background px-2 text-xs text-foreground focus:outline-none focus:ring-2 focus:ring-ring",
4512
- children: pageSizeOptions.map((size) => /* @__PURE__ */ jsx36("option", { value: size, children: size }, size))
4513
- }
4514
- )
4515
- ] }),
4516
- /* @__PURE__ */ jsxs22("span", { className: "text-xs text-muted-foreground whitespace-nowrap", children: [
4517
- startRow,
4518
- "-",
4519
- endRow,
4520
- " of ",
4521
- totalRows
4556
+ return /* @__PURE__ */ jsxs22("div", { className: "flex flex-col gap-1 px-4 py-2 border-t border-border bg-background", children: [
4557
+ /* @__PURE__ */ jsxs22("div", { className: "flex items-center justify-end gap-4 flex-wrap", children: [
4558
+ /* @__PURE__ */ jsxs22("div", { className: "flex items-center gap-2 text-xs text-muted-foreground whitespace-nowrap", children: [
4559
+ /* @__PURE__ */ jsx36("span", { children: "Rows per page:" }),
4560
+ /* @__PURE__ */ jsx36(
4561
+ "select",
4562
+ {
4563
+ value: pageSize,
4564
+ onChange: (e) => table.setPageSize(Number(e.target.value)),
4565
+ className: "h-8 rounded-md border border-border bg-background px-2 text-xs text-foreground focus:outline-none focus:ring-2 focus:ring-ring",
4566
+ children: pageSizeOptions.map((size) => /* @__PURE__ */ jsx36("option", { value: size, children: size }, size))
4567
+ }
4568
+ )
4569
+ ] }),
4570
+ /* @__PURE__ */ jsxs22("span", { className: "text-xs text-muted-foreground whitespace-nowrap", children: [
4571
+ startRow,
4572
+ "\u2013",
4573
+ endRow,
4574
+ " of ",
4575
+ totalRows
4576
+ ] })
4522
4577
  ] }),
4523
- /* @__PURE__ */ jsx36(PaginationNamespace, { className: "mx-0 w-auto", children: /* @__PURE__ */ jsxs22(PaginationContent, { children: [
4578
+ /* @__PURE__ */ jsx36("div", { className: "flex items-center justify-end", children: /* @__PURE__ */ jsx36(PaginationNamespace, { className: "mx-0 w-auto", children: /* @__PURE__ */ jsxs22(PaginationContent, { children: [
4524
4579
  /* @__PURE__ */ jsx36(PaginationItem, { children: /* @__PURE__ */ jsx36(
4525
4580
  Button,
4526
4581
  {
@@ -4575,7 +4630,7 @@ var DataGridPagination = ({
4575
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" }) })
4576
4631
  }
4577
4632
  ) })
4578
- ] }) })
4633
+ ] }) }) })
4579
4634
  ] });
4580
4635
  };
4581
4636
  var ExportDropdown = ({
@@ -4754,16 +4809,16 @@ var DataGridToolbar = ({
4754
4809
  customButtons,
4755
4810
  moreOptions = []
4756
4811
  }) => {
4757
- return /* @__PURE__ */ jsxs22("div", { className: "flex items-center justify-between px-4 py-3 border-b border-border bg-background", children: [
4758
- title && /* @__PURE__ */ jsx36("h3", { className: "text-lg font-semibold text-foreground", children: title }),
4759
- /* @__PURE__ */ jsxs22("div", { className: "flex items-center gap-2 ml-auto", children: [
4812
+ return /* @__PURE__ */ jsxs22("div", { className: "flex flex-wrap items-center gap-2 px-4 py-3 border-b border-border bg-background", children: [
4813
+ title && /* @__PURE__ */ jsx36("h3", { className: "text-sm font-semibold text-foreground shrink-0", children: title }),
4814
+ /* @__PURE__ */ jsxs22("div", { className: "flex flex-wrap items-center gap-2 ml-auto", children: [
4760
4815
  showQuickFilter && /* @__PURE__ */ jsx36(
4761
4816
  Input,
4762
4817
  {
4763
4818
  placeholder: "Search...",
4764
4819
  value: globalFilter ?? "",
4765
4820
  onChange: (e) => setGlobalFilter(e.target.value),
4766
- className: "h-9 w-64"
4821
+ className: "h-9 min-w-[120px] flex-1"
4767
4822
  }
4768
4823
  ),
4769
4824
  showColumnSelector && /* @__PURE__ */ jsx36(ColumnVisibilityDropdown, { table }),
@@ -4849,7 +4904,9 @@ var RowRenderer = ({
4849
4904
  pinnedColumnOffsets,
4850
4905
  isPinnedRow = false,
4851
4906
  rowSpanMap,
4852
- gridColumns
4907
+ gridColumns,
4908
+ measureRef,
4909
+ dataIndex
4853
4910
  }) => {
4854
4911
  const customClassName = getRowClassName?.({ row: row.original, rowIndex });
4855
4912
  const visibleCells = row.getVisibleCells();
@@ -4880,6 +4937,8 @@ var RowRenderer = ({
4880
4937
  return /* @__PURE__ */ jsx36(
4881
4938
  "tr",
4882
4939
  {
4940
+ ref: measureRef,
4941
+ "data-index": dataIndex,
4883
4942
  className: cn(
4884
4943
  "border-b border-border transition-colors hover:bg-muted/50",
4885
4944
  row.getIsSelected() && "bg-accent/10",
@@ -5001,6 +5060,9 @@ var VirtualizedTableBody = ({
5001
5060
  count: rows.length,
5002
5061
  getScrollElement: () => parentRef.current,
5003
5062
  estimateSize: () => rowHeight,
5063
+ // measureElement lets the virtualizer read actual rendered row heights,
5064
+ // which makes variable-height rows (wrapText, JSX cells) work correctly.
5065
+ measureElement: (el) => el.getBoundingClientRect().height,
5004
5066
  overscan
5005
5067
  });
5006
5068
  const virtualRows = virtualizer.getVirtualItems();
@@ -5040,7 +5102,9 @@ var VirtualizedTableBody = ({
5040
5102
  columnWidths,
5041
5103
  pinnedColumnOffsets,
5042
5104
  rowSpanMap,
5043
- gridColumns
5105
+ gridColumns,
5106
+ measureRef: virtualizer.measureElement,
5107
+ dataIndex: virtualRow.index
5044
5108
  },
5045
5109
  row.id
5046
5110
  );
@@ -7132,10 +7196,93 @@ var PackedBubbleChart = ({
7132
7196
  );
7133
7197
  };
7134
7198
 
7135
- // src/components/breadcrumbs.tsx
7199
+ // src/components/bottom-navigation.tsx
7136
7200
  import * as React39 from "react";
7137
7201
  import { jsx as jsx39, jsxs as jsxs25 } from "react/jsx-runtime";
7138
- var Breadcrumbs = React39.forwardRef(
7202
+ var BottomNavigationContext = React39.createContext({
7203
+ value: null,
7204
+ onChange: () => {
7205
+ },
7206
+ showLabels: false
7207
+ });
7208
+ var BottomNavigation = React39.forwardRef(
7209
+ ({ className, value, onChange = () => {
7210
+ }, showLabels = false, children, ...props }, ref) => {
7211
+ return /* @__PURE__ */ jsx39(BottomNavigationContext.Provider, { value: { value, onChange, showLabels }, children: /* @__PURE__ */ jsx39(
7212
+ "div",
7213
+ {
7214
+ ref,
7215
+ role: "navigation",
7216
+ className: cn(
7217
+ "flex h-14 w-full items-stretch bg-background border-t border-border",
7218
+ className
7219
+ ),
7220
+ ...props,
7221
+ children
7222
+ }
7223
+ ) });
7224
+ }
7225
+ );
7226
+ BottomNavigation.displayName = "BottomNavigation";
7227
+ var BottomNavigationAction = React39.forwardRef(
7228
+ ({ className, label, icon, value, showLabel, disabled, onClick, ...props }, ref) => {
7229
+ const ctx = React39.useContext(BottomNavigationContext);
7230
+ const selected = ctx.value !== void 0 && ctx.value !== null && ctx.value === value;
7231
+ const labelVisible = showLabel ?? ctx.showLabels ?? selected;
7232
+ const handleClick = (e) => {
7233
+ ctx.onChange(e, value);
7234
+ onClick?.(e);
7235
+ };
7236
+ return /* @__PURE__ */ jsxs25(
7237
+ "button",
7238
+ {
7239
+ ref,
7240
+ type: "button",
7241
+ role: "tab",
7242
+ "aria-selected": selected,
7243
+ disabled,
7244
+ onClick: handleClick,
7245
+ className: cn(
7246
+ "flex flex-1 flex-col items-center justify-center gap-0.5 px-2 py-1",
7247
+ "text-xs font-medium transition-colors duration-150",
7248
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset",
7249
+ "disabled:pointer-events-none disabled:opacity-40",
7250
+ selected ? "text-accent" : "text-muted-foreground hover:text-foreground",
7251
+ className
7252
+ ),
7253
+ ...props,
7254
+ children: [
7255
+ icon && /* @__PURE__ */ jsx39(
7256
+ "span",
7257
+ {
7258
+ className: cn(
7259
+ "transition-transform duration-150",
7260
+ selected && "scale-110"
7261
+ ),
7262
+ children: icon
7263
+ }
7264
+ ),
7265
+ label !== void 0 && /* @__PURE__ */ jsx39(
7266
+ "span",
7267
+ {
7268
+ className: cn(
7269
+ "transition-all duration-150 leading-none",
7270
+ labelVisible ? "opacity-100 max-h-4" : "opacity-0 max-h-0 overflow-hidden"
7271
+ ),
7272
+ children: label
7273
+ }
7274
+ )
7275
+ ]
7276
+ }
7277
+ );
7278
+ }
7279
+ );
7280
+ BottomNavigationAction.displayName = "BottomNavigationAction";
7281
+
7282
+ // src/components/breadcrumbs.tsx
7283
+ import * as React40 from "react";
7284
+ import { jsx as jsx40, jsxs as jsxs26 } from "react/jsx-runtime";
7285
+ var Breadcrumbs = React40.forwardRef(
7139
7286
  ({
7140
7287
  separator,
7141
7288
  maxItems,
@@ -7145,9 +7292,9 @@ var Breadcrumbs = React39.forwardRef(
7145
7292
  children,
7146
7293
  ...props
7147
7294
  }, ref) => {
7148
- const childArray = React39.Children.toArray(children);
7295
+ const childArray = React40.Children.toArray(children);
7149
7296
  const totalItems = childArray.length;
7150
- const separatorElement = separator ?? /* @__PURE__ */ jsx39(
7297
+ const separatorElement = separator ?? /* @__PURE__ */ jsx40(
7151
7298
  "svg",
7152
7299
  {
7153
7300
  xmlns: "http://www.w3.org/2000/svg",
@@ -7160,7 +7307,7 @@ var Breadcrumbs = React39.forwardRef(
7160
7307
  strokeLinecap: "round",
7161
7308
  strokeLinejoin: "round",
7162
7309
  className: "text-muted-foreground",
7163
- children: /* @__PURE__ */ jsx39("path", { d: "m9 18 6-6-6-6" })
7310
+ children: /* @__PURE__ */ jsx40("path", { d: "m9 18 6-6-6-6" })
7164
7311
  }
7165
7312
  );
7166
7313
  const shouldCollapse = maxItems && totalItems > maxItems;
@@ -7170,20 +7317,20 @@ var Breadcrumbs = React39.forwardRef(
7170
7317
  const endItems = childArray.slice(-itemsAfterCollapse);
7171
7318
  displayedItems = [
7172
7319
  ...startItems,
7173
- /* @__PURE__ */ jsx39(BreadcrumbEllipsis, {}, "ellipsis"),
7320
+ /* @__PURE__ */ jsx40(BreadcrumbEllipsis, {}, "ellipsis"),
7174
7321
  ...endItems
7175
7322
  ];
7176
7323
  } else {
7177
7324
  displayedItems = childArray;
7178
7325
  }
7179
- 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: [
7180
- index > 0 && /* @__PURE__ */ jsx39("span", { className: "flex items-center", "aria-hidden": "true", children: separatorElement }),
7326
+ return /* @__PURE__ */ jsx40("nav", { ref, "aria-label": "Breadcrumb", className, ...props, children: /* @__PURE__ */ jsx40("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: [
7327
+ index > 0 && /* @__PURE__ */ jsx40("span", { className: "flex items-center", "aria-hidden": "true", children: separatorElement }),
7181
7328
  child
7182
7329
  ] }, index)) }) });
7183
7330
  }
7184
7331
  );
7185
7332
  Breadcrumbs.displayName = "Breadcrumbs";
7186
- var BreadcrumbItem = React39.forwardRef(
7333
+ var BreadcrumbItem = React40.forwardRef(
7187
7334
  ({ current = false, href, onClick, className, children, ...props }, ref) => {
7188
7335
  const baseClasses = cn(
7189
7336
  "text-sm transition-colors",
@@ -7192,7 +7339,7 @@ var BreadcrumbItem = React39.forwardRef(
7192
7339
  className
7193
7340
  );
7194
7341
  if (current) {
7195
- return /* @__PURE__ */ jsx39(
7342
+ return /* @__PURE__ */ jsx40(
7196
7343
  "span",
7197
7344
  {
7198
7345
  ref,
@@ -7204,7 +7351,7 @@ var BreadcrumbItem = React39.forwardRef(
7204
7351
  );
7205
7352
  }
7206
7353
  if (href) {
7207
- return /* @__PURE__ */ jsx39(
7354
+ return /* @__PURE__ */ jsx40(
7208
7355
  "a",
7209
7356
  {
7210
7357
  href,
@@ -7214,7 +7361,7 @@ var BreadcrumbItem = React39.forwardRef(
7214
7361
  }
7215
7362
  );
7216
7363
  }
7217
- return /* @__PURE__ */ jsx39(
7364
+ return /* @__PURE__ */ jsx40(
7218
7365
  "span",
7219
7366
  {
7220
7367
  ref,
@@ -7235,8 +7382,8 @@ var BreadcrumbItem = React39.forwardRef(
7235
7382
  }
7236
7383
  );
7237
7384
  BreadcrumbItem.displayName = "BreadcrumbItem";
7238
- var BreadcrumbLink = React39.forwardRef(
7239
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx39(
7385
+ var BreadcrumbLink = React40.forwardRef(
7386
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx40(
7240
7387
  "a",
7241
7388
  {
7242
7389
  ref,
@@ -7249,8 +7396,8 @@ var BreadcrumbLink = React39.forwardRef(
7249
7396
  )
7250
7397
  );
7251
7398
  BreadcrumbLink.displayName = "BreadcrumbLink";
7252
- var BreadcrumbSeparator = React39.forwardRef(
7253
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx39(
7399
+ var BreadcrumbSeparator = React40.forwardRef(
7400
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx40(
7254
7401
  "span",
7255
7402
  {
7256
7403
  ref,
@@ -7258,7 +7405,7 @@ var BreadcrumbSeparator = React39.forwardRef(
7258
7405
  "aria-hidden": "true",
7259
7406
  className: cn("text-muted-foreground", className),
7260
7407
  ...props,
7261
- children: children ?? /* @__PURE__ */ jsx39(
7408
+ children: children ?? /* @__PURE__ */ jsx40(
7262
7409
  "svg",
7263
7410
  {
7264
7411
  xmlns: "http://www.w3.org/2000/svg",
@@ -7270,15 +7417,15 @@ var BreadcrumbSeparator = React39.forwardRef(
7270
7417
  strokeWidth: "2",
7271
7418
  strokeLinecap: "round",
7272
7419
  strokeLinejoin: "round",
7273
- children: /* @__PURE__ */ jsx39("path", { d: "m9 18 6-6-6-6" })
7420
+ children: /* @__PURE__ */ jsx40("path", { d: "m9 18 6-6-6-6" })
7274
7421
  }
7275
7422
  )
7276
7423
  }
7277
7424
  )
7278
7425
  );
7279
7426
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
7280
- var BreadcrumbEllipsis = React39.forwardRef(
7281
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx39(
7427
+ var BreadcrumbEllipsis = React40.forwardRef(
7428
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx40(
7282
7429
  "span",
7283
7430
  {
7284
7431
  ref,
@@ -7286,7 +7433,7 @@ var BreadcrumbEllipsis = React39.forwardRef(
7286
7433
  "aria-hidden": "true",
7287
7434
  className: cn("text-sm text-muted-foreground", className),
7288
7435
  ...props,
7289
- children: /* @__PURE__ */ jsxs25(
7436
+ children: /* @__PURE__ */ jsxs26(
7290
7437
  "svg",
7291
7438
  {
7292
7439
  xmlns: "http://www.w3.org/2000/svg",
@@ -7299,9 +7446,9 @@ var BreadcrumbEllipsis = React39.forwardRef(
7299
7446
  strokeLinecap: "round",
7300
7447
  strokeLinejoin: "round",
7301
7448
  children: [
7302
- /* @__PURE__ */ jsx39("circle", { cx: "12", cy: "12", r: "1" }),
7303
- /* @__PURE__ */ jsx39("circle", { cx: "19", cy: "12", r: "1" }),
7304
- /* @__PURE__ */ jsx39("circle", { cx: "5", cy: "12", r: "1" })
7449
+ /* @__PURE__ */ jsx40("circle", { cx: "12", cy: "12", r: "1" }),
7450
+ /* @__PURE__ */ jsx40("circle", { cx: "19", cy: "12", r: "1" }),
7451
+ /* @__PURE__ */ jsx40("circle", { cx: "5", cy: "12", r: "1" })
7305
7452
  ]
7306
7453
  }
7307
7454
  )
@@ -7309,8 +7456,8 @@ var BreadcrumbEllipsis = React39.forwardRef(
7309
7456
  )
7310
7457
  );
7311
7458
  BreadcrumbEllipsis.displayName = "BreadcrumbEllipsis";
7312
- var BreadcrumbPage = React39.forwardRef(
7313
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx39(
7459
+ var BreadcrumbPage = React40.forwardRef(
7460
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx40(
7314
7461
  "span",
7315
7462
  {
7316
7463
  ref,
@@ -7323,16 +7470,16 @@ var BreadcrumbPage = React39.forwardRef(
7323
7470
  BreadcrumbPage.displayName = "BreadcrumbPage";
7324
7471
 
7325
7472
  // src/components/dropdown-menu.tsx
7326
- import * as React40 from "react";
7473
+ import * as React41 from "react";
7327
7474
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
7328
- import { jsx as jsx40, jsxs as jsxs26 } from "react/jsx-runtime";
7475
+ import { jsx as jsx41, jsxs as jsxs27 } from "react/jsx-runtime";
7329
7476
  var DropdownMenu = DropdownMenuPrimitive.Root;
7330
7477
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
7331
7478
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
7332
7479
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
7333
7480
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
7334
7481
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
7335
- var DropdownMenuSubTrigger = React40.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs26(
7482
+ var DropdownMenuSubTrigger = React41.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs27(
7336
7483
  DropdownMenuPrimitive.SubTrigger,
7337
7484
  {
7338
7485
  ref,
@@ -7346,7 +7493,7 @@ var DropdownMenuSubTrigger = React40.forwardRef(({ className, inset, children, .
7346
7493
  ...props,
7347
7494
  children: [
7348
7495
  children,
7349
- /* @__PURE__ */ jsx40(
7496
+ /* @__PURE__ */ jsx41(
7350
7497
  "svg",
7351
7498
  {
7352
7499
  className: "ml-auto h-4 w-4",
@@ -7357,14 +7504,14 @@ var DropdownMenuSubTrigger = React40.forwardRef(({ className, inset, children, .
7357
7504
  strokeWidth: "2",
7358
7505
  strokeLinecap: "round",
7359
7506
  strokeLinejoin: "round",
7360
- children: /* @__PURE__ */ jsx40("path", { d: "m9 18 6-6-6-6" })
7507
+ children: /* @__PURE__ */ jsx41("path", { d: "m9 18 6-6-6-6" })
7361
7508
  }
7362
7509
  )
7363
7510
  ]
7364
7511
  }
7365
7512
  ));
7366
7513
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
7367
- var DropdownMenuSubContent = React40.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx40(
7514
+ var DropdownMenuSubContent = React41.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7368
7515
  DropdownMenuPrimitive.SubContent,
7369
7516
  {
7370
7517
  ref,
@@ -7381,7 +7528,7 @@ var DropdownMenuSubContent = React40.forwardRef(({ className, ...props }, ref) =
7381
7528
  }
7382
7529
  ));
7383
7530
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
7384
- var DropdownMenuContent = React40.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx40(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx40(
7531
+ var DropdownMenuContent = React41.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx41(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx41(
7385
7532
  DropdownMenuPrimitive.Content,
7386
7533
  {
7387
7534
  ref,
@@ -7399,7 +7546,7 @@ var DropdownMenuContent = React40.forwardRef(({ className, sideOffset = 4, ...pr
7399
7546
  }
7400
7547
  ) }));
7401
7548
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
7402
- var DropdownMenuItem = React40.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx40(
7549
+ var DropdownMenuItem = React41.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx41(
7403
7550
  DropdownMenuPrimitive.Item,
7404
7551
  {
7405
7552
  ref,
@@ -7415,7 +7562,7 @@ var DropdownMenuItem = React40.forwardRef(({ className, inset, ...props }, ref)
7415
7562
  }
7416
7563
  ));
7417
7564
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
7418
- var DropdownMenuCheckboxItem = React40.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs26(
7565
+ var DropdownMenuCheckboxItem = React41.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs27(
7419
7566
  DropdownMenuPrimitive.CheckboxItem,
7420
7567
  {
7421
7568
  ref,
@@ -7428,7 +7575,7 @@ var DropdownMenuCheckboxItem = React40.forwardRef(({ className, children, checke
7428
7575
  checked,
7429
7576
  ...props,
7430
7577
  children: [
7431
- /* @__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(
7578
+ /* @__PURE__ */ jsx41("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx41(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx41(
7432
7579
  "svg",
7433
7580
  {
7434
7581
  className: "h-4 w-4",
@@ -7439,7 +7586,7 @@ var DropdownMenuCheckboxItem = React40.forwardRef(({ className, children, checke
7439
7586
  strokeWidth: "2",
7440
7587
  strokeLinecap: "round",
7441
7588
  strokeLinejoin: "round",
7442
- children: /* @__PURE__ */ jsx40("path", { d: "M20 6 9 17l-5-5" })
7589
+ children: /* @__PURE__ */ jsx41("path", { d: "M20 6 9 17l-5-5" })
7443
7590
  }
7444
7591
  ) }) }),
7445
7592
  children
@@ -7447,7 +7594,7 @@ var DropdownMenuCheckboxItem = React40.forwardRef(({ className, children, checke
7447
7594
  }
7448
7595
  ));
7449
7596
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
7450
- var DropdownMenuRadioItem = React40.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs26(
7597
+ var DropdownMenuRadioItem = React41.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs27(
7451
7598
  DropdownMenuPrimitive.RadioItem,
7452
7599
  {
7453
7600
  ref,
@@ -7459,13 +7606,13 @@ var DropdownMenuRadioItem = React40.forwardRef(({ className, children, ...props
7459
7606
  ),
7460
7607
  ...props,
7461
7608
  children: [
7462
- /* @__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(
7609
+ /* @__PURE__ */ jsx41("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx41(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx41(
7463
7610
  "svg",
7464
7611
  {
7465
7612
  className: "h-2 w-2 fill-current",
7466
7613
  xmlns: "http://www.w3.org/2000/svg",
7467
7614
  viewBox: "0 0 24 24",
7468
- children: /* @__PURE__ */ jsx40("circle", { cx: "12", cy: "12", r: "10" })
7615
+ children: /* @__PURE__ */ jsx41("circle", { cx: "12", cy: "12", r: "10" })
7469
7616
  }
7470
7617
  ) }) }),
7471
7618
  children
@@ -7473,7 +7620,7 @@ var DropdownMenuRadioItem = React40.forwardRef(({ className, children, ...props
7473
7620
  }
7474
7621
  ));
7475
7622
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
7476
- var DropdownMenuLabel = React40.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx40(
7623
+ var DropdownMenuLabel = React41.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx41(
7477
7624
  DropdownMenuPrimitive.Label,
7478
7625
  {
7479
7626
  ref,
@@ -7486,7 +7633,7 @@ var DropdownMenuLabel = React40.forwardRef(({ className, inset, ...props }, ref)
7486
7633
  }
7487
7634
  ));
7488
7635
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
7489
- var DropdownMenuSeparator = React40.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx40(
7636
+ var DropdownMenuSeparator = React41.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7490
7637
  DropdownMenuPrimitive.Separator,
7491
7638
  {
7492
7639
  ref,
@@ -7499,7 +7646,7 @@ var DropdownMenuShortcut = ({
7499
7646
  className,
7500
7647
  ...props
7501
7648
  }) => {
7502
- return /* @__PURE__ */ jsx40(
7649
+ return /* @__PURE__ */ jsx41(
7503
7650
  "span",
7504
7651
  {
7505
7652
  className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className),
@@ -7510,14 +7657,14 @@ var DropdownMenuShortcut = ({
7510
7657
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
7511
7658
 
7512
7659
  // src/components/drawer.tsx
7513
- import * as React41 from "react";
7660
+ import * as React42 from "react";
7514
7661
  import * as DialogPrimitive2 from "@radix-ui/react-dialog";
7515
- import { jsx as jsx41, jsxs as jsxs27 } from "react/jsx-runtime";
7662
+ import { jsx as jsx42, jsxs as jsxs28 } from "react/jsx-runtime";
7516
7663
  var Drawer = DialogPrimitive2.Root;
7517
7664
  var DrawerTrigger = DialogPrimitive2.Trigger;
7518
7665
  var DrawerClose = DialogPrimitive2.Close;
7519
7666
  var DrawerPortal = DialogPrimitive2.Portal;
7520
- var DrawerOverlay = React41.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7667
+ var DrawerOverlay = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx42(
7521
7668
  DialogPrimitive2.Overlay,
7522
7669
  {
7523
7670
  ref,
@@ -7537,9 +7684,9 @@ var slideVariants = {
7537
7684
  top: "inset-x-0 top-0 w-full data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
7538
7685
  bottom: "inset-x-0 bottom-0 w-full data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom"
7539
7686
  };
7540
- var DrawerContent = React41.forwardRef(({ side = "right", showClose = true, className, children, ...props }, ref) => /* @__PURE__ */ jsxs27(DrawerPortal, { children: [
7541
- /* @__PURE__ */ jsx41(DrawerOverlay, {}),
7542
- /* @__PURE__ */ jsxs27(
7687
+ var DrawerContent = React42.forwardRef(({ side = "right", showClose = true, className, children, ...props }, ref) => /* @__PURE__ */ jsxs28(DrawerPortal, { children: [
7688
+ /* @__PURE__ */ jsx42(DrawerOverlay, {}),
7689
+ /* @__PURE__ */ jsxs28(
7543
7690
  DialogPrimitive2.Content,
7544
7691
  {
7545
7692
  ref,
@@ -7553,7 +7700,7 @@ var DrawerContent = React41.forwardRef(({ side = "right", showClose = true, clas
7553
7700
  ...props,
7554
7701
  children: [
7555
7702
  children,
7556
- showClose && /* @__PURE__ */ jsxs27(
7703
+ showClose && /* @__PURE__ */ jsxs28(
7557
7704
  DrawerClose,
7558
7705
  {
7559
7706
  className: cn(
@@ -7563,7 +7710,7 @@ var DrawerContent = React41.forwardRef(({ side = "right", showClose = true, clas
7563
7710
  "disabled:pointer-events-none"
7564
7711
  ),
7565
7712
  children: [
7566
- /* @__PURE__ */ jsx41(
7713
+ /* @__PURE__ */ jsx42(
7567
7714
  "svg",
7568
7715
  {
7569
7716
  xmlns: "http://www.w3.org/2000/svg",
@@ -7576,10 +7723,10 @@ var DrawerContent = React41.forwardRef(({ side = "right", showClose = true, clas
7576
7723
  strokeLinecap: "round",
7577
7724
  strokeLinejoin: "round",
7578
7725
  className: "h-4 w-4",
7579
- children: /* @__PURE__ */ jsx41("path", { d: "M18 6 6 18M6 6l12 12" })
7726
+ children: /* @__PURE__ */ jsx42("path", { d: "M18 6 6 18M6 6l12 12" })
7580
7727
  }
7581
7728
  ),
7582
- /* @__PURE__ */ jsx41("span", { className: "sr-only", children: "Close" })
7729
+ /* @__PURE__ */ jsx42("span", { className: "sr-only", children: "Close" })
7583
7730
  ]
7584
7731
  }
7585
7732
  )
@@ -7588,8 +7735,8 @@ var DrawerContent = React41.forwardRef(({ side = "right", showClose = true, clas
7588
7735
  )
7589
7736
  ] }));
7590
7737
  DrawerContent.displayName = "DrawerContent";
7591
- var DrawerHeader = React41.forwardRef(
7592
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7738
+ var DrawerHeader = React42.forwardRef(
7739
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx42(
7593
7740
  "div",
7594
7741
  {
7595
7742
  ref,
@@ -7599,7 +7746,7 @@ var DrawerHeader = React41.forwardRef(
7599
7746
  )
7600
7747
  );
7601
7748
  DrawerHeader.displayName = "DrawerHeader";
7602
- var DrawerTitle = React41.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7749
+ var DrawerTitle = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx42(
7603
7750
  DialogPrimitive2.Title,
7604
7751
  {
7605
7752
  ref,
@@ -7608,7 +7755,7 @@ var DrawerTitle = React41.forwardRef(({ className, ...props }, ref) => /* @__PUR
7608
7755
  }
7609
7756
  ));
7610
7757
  DrawerTitle.displayName = DialogPrimitive2.Title.displayName;
7611
- var DrawerDescription = React41.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7758
+ var DrawerDescription = React42.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx42(
7612
7759
  DialogPrimitive2.Description,
7613
7760
  {
7614
7761
  ref,
@@ -7617,8 +7764,8 @@ var DrawerDescription = React41.forwardRef(({ className, ...props }, ref) => /*
7617
7764
  }
7618
7765
  ));
7619
7766
  DrawerDescription.displayName = DialogPrimitive2.Description.displayName;
7620
- var DrawerBody = React41.forwardRef(
7621
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7767
+ var DrawerBody = React42.forwardRef(
7768
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx42(
7622
7769
  "div",
7623
7770
  {
7624
7771
  ref,
@@ -7628,8 +7775,8 @@ var DrawerBody = React41.forwardRef(
7628
7775
  )
7629
7776
  );
7630
7777
  DrawerBody.displayName = "DrawerBody";
7631
- var DrawerFooter = React41.forwardRef(
7632
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx41(
7778
+ var DrawerFooter = React42.forwardRef(
7779
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx42(
7633
7780
  "div",
7634
7781
  {
7635
7782
  ref,
@@ -7655,16 +7802,16 @@ var SheetBody = DrawerBody;
7655
7802
  var SheetFooter = DrawerFooter;
7656
7803
 
7657
7804
  // src/components/topbar.tsx
7658
- import * as React42 from "react";
7659
- import { Fragment as Fragment6, jsx as jsx42, jsxs as jsxs28 } from "react/jsx-runtime";
7805
+ import * as React43 from "react";
7806
+ import { Fragment as Fragment6, jsx as jsx43, jsxs as jsxs29 } from "react/jsx-runtime";
7660
7807
  var sizeClasses5 = {
7661
7808
  sm: "h-12",
7662
7809
  md: "h-14",
7663
7810
  lg: "h-16"
7664
7811
  };
7665
- var TopBar = React42.forwardRef(
7812
+ var TopBar = React43.forwardRef(
7666
7813
  ({ className, bordered = true, sticky = false, size = "md", children, ...props }, ref) => {
7667
- return /* @__PURE__ */ jsx42(
7814
+ return /* @__PURE__ */ jsx43(
7668
7815
  "header",
7669
7816
  {
7670
7817
  ref,
@@ -7682,23 +7829,23 @@ var TopBar = React42.forwardRef(
7682
7829
  }
7683
7830
  );
7684
7831
  TopBar.displayName = "TopBar";
7685
- var TopBarBrand = React42.forwardRef(
7832
+ var TopBarBrand = React43.forwardRef(
7686
7833
  ({ className, logo, name, href, children, ...props }, ref) => {
7687
- const content = /* @__PURE__ */ jsxs28(Fragment6, { children: [
7688
- logo && /* @__PURE__ */ jsx42("span", { className: "shrink-0", children: logo }),
7689
- name && /* @__PURE__ */ jsx42("span", { className: "font-semibold text-lg", children: name }),
7834
+ const content = /* @__PURE__ */ jsxs29(Fragment6, { children: [
7835
+ logo && /* @__PURE__ */ jsx43("span", { className: "shrink-0", children: logo }),
7836
+ name && /* @__PURE__ */ jsx43("span", { className: "font-semibold text-lg", children: name }),
7690
7837
  children
7691
7838
  ] });
7692
7839
  if (href) {
7693
- 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 }) });
7840
+ return /* @__PURE__ */ jsx43("div", { ref, className: cn("flex items-center gap-2", className), ...props, children: /* @__PURE__ */ jsx43("a", { href, className: "flex items-center gap-2 hover:opacity-80 transition-opacity", children: content }) });
7694
7841
  }
7695
- return /* @__PURE__ */ jsx42("div", { ref, className: cn("flex items-center gap-2", className), ...props, children: content });
7842
+ return /* @__PURE__ */ jsx43("div", { ref, className: cn("flex items-center gap-2", className), ...props, children: content });
7696
7843
  }
7697
7844
  );
7698
7845
  TopBarBrand.displayName = "TopBarBrand";
7699
- var TopBarNav = React42.forwardRef(
7846
+ var TopBarNav = React43.forwardRef(
7700
7847
  ({ className, children, ...props }, ref) => {
7701
- return /* @__PURE__ */ jsx42(
7848
+ return /* @__PURE__ */ jsx43(
7702
7849
  "nav",
7703
7850
  {
7704
7851
  ref,
@@ -7710,9 +7857,9 @@ var TopBarNav = React42.forwardRef(
7710
7857
  }
7711
7858
  );
7712
7859
  TopBarNav.displayName = "TopBarNav";
7713
- var TopBarNavItem = React42.forwardRef(
7860
+ var TopBarNavItem = React43.forwardRef(
7714
7861
  ({ className, active, children, ...props }, ref) => {
7715
- return /* @__PURE__ */ jsx42(
7862
+ return /* @__PURE__ */ jsx43(
7716
7863
  "a",
7717
7864
  {
7718
7865
  ref,
@@ -7728,9 +7875,9 @@ var TopBarNavItem = React42.forwardRef(
7728
7875
  }
7729
7876
  );
7730
7877
  TopBarNavItem.displayName = "TopBarNavItem";
7731
- var TopBarSection = React42.forwardRef(
7878
+ var TopBarSection = React43.forwardRef(
7732
7879
  ({ className, align = "left", children, ...props }, ref) => {
7733
- return /* @__PURE__ */ jsx42(
7880
+ return /* @__PURE__ */ jsx43(
7734
7881
  "div",
7735
7882
  {
7736
7883
  ref,
@@ -7750,9 +7897,9 @@ var TopBarSection = React42.forwardRef(
7750
7897
  }
7751
7898
  );
7752
7899
  TopBarSection.displayName = "TopBarSection";
7753
- var TopBarDivider = React42.forwardRef(
7900
+ var TopBarDivider = React43.forwardRef(
7754
7901
  ({ className, ...props }, ref) => {
7755
- return /* @__PURE__ */ jsx42(
7902
+ return /* @__PURE__ */ jsx43(
7756
7903
  "div",
7757
7904
  {
7758
7905
  ref,
@@ -7765,17 +7912,17 @@ var TopBarDivider = React42.forwardRef(
7765
7912
  TopBarDivider.displayName = "TopBarDivider";
7766
7913
 
7767
7914
  // src/components/sidebar.tsx
7768
- import * as React43 from "react";
7769
- import { Fragment as Fragment7, jsx as jsx43, jsxs as jsxs29 } from "react/jsx-runtime";
7770
- var SidebarContext = React43.createContext(void 0);
7915
+ import * as React44 from "react";
7916
+ import { Fragment as Fragment7, jsx as jsx44, jsxs as jsxs30 } from "react/jsx-runtime";
7917
+ var SidebarContext = React44.createContext(void 0);
7771
7918
  var useSidebar = () => {
7772
- const context = React43.useContext(SidebarContext);
7919
+ const context = React44.useContext(SidebarContext);
7773
7920
  if (!context) {
7774
7921
  throw new Error("useSidebar must be used within a Sidebar");
7775
7922
  }
7776
7923
  return context;
7777
7924
  };
7778
- var Sidebar = React43.forwardRef(
7925
+ var Sidebar = React44.forwardRef(
7779
7926
  ({
7780
7927
  className,
7781
7928
  collapsed: controlledCollapsed,
@@ -7787,10 +7934,10 @@ var Sidebar = React43.forwardRef(
7787
7934
  children,
7788
7935
  ...props
7789
7936
  }, ref) => {
7790
- const [uncontrolledCollapsed, setUncontrolledCollapsed] = React43.useState(defaultCollapsed);
7937
+ const [uncontrolledCollapsed, setUncontrolledCollapsed] = React44.useState(defaultCollapsed);
7791
7938
  const isControlled = controlledCollapsed !== void 0;
7792
7939
  const collapsed = isControlled ? controlledCollapsed : uncontrolledCollapsed;
7793
- const setCollapsed = React43.useCallback(
7940
+ const setCollapsed = React44.useCallback(
7794
7941
  (value) => {
7795
7942
  if (!isControlled) {
7796
7943
  setUncontrolledCollapsed(value);
@@ -7799,7 +7946,7 @@ var Sidebar = React43.forwardRef(
7799
7946
  },
7800
7947
  [isControlled, onCollapsedChange]
7801
7948
  );
7802
- return /* @__PURE__ */ jsx43(SidebarContext.Provider, { value: { collapsed, setCollapsed }, children: /* @__PURE__ */ jsx43(
7949
+ return /* @__PURE__ */ jsx44(SidebarContext.Provider, { value: { collapsed, setCollapsed }, children: /* @__PURE__ */ jsx44(
7803
7950
  "aside",
7804
7951
  {
7805
7952
  ref,
@@ -7819,9 +7966,9 @@ var Sidebar = React43.forwardRef(
7819
7966
  }
7820
7967
  );
7821
7968
  Sidebar.displayName = "Sidebar";
7822
- var SidebarHeader = React43.forwardRef(
7969
+ var SidebarHeader = React44.forwardRef(
7823
7970
  ({ className, children, ...props }, ref) => {
7824
- return /* @__PURE__ */ jsx43(
7971
+ return /* @__PURE__ */ jsx44(
7825
7972
  "div",
7826
7973
  {
7827
7974
  ref,
@@ -7833,9 +7980,9 @@ var SidebarHeader = React43.forwardRef(
7833
7980
  }
7834
7981
  );
7835
7982
  SidebarHeader.displayName = "SidebarHeader";
7836
- var SidebarContent = React43.forwardRef(
7983
+ var SidebarContent = React44.forwardRef(
7837
7984
  ({ className, children, ...props }, ref) => {
7838
- return /* @__PURE__ */ jsx43(
7985
+ return /* @__PURE__ */ jsx44(
7839
7986
  "div",
7840
7987
  {
7841
7988
  ref,
@@ -7847,9 +7994,9 @@ var SidebarContent = React43.forwardRef(
7847
7994
  }
7848
7995
  );
7849
7996
  SidebarContent.displayName = "SidebarContent";
7850
- var SidebarFooter = React43.forwardRef(
7997
+ var SidebarFooter = React44.forwardRef(
7851
7998
  ({ className, children, ...props }, ref) => {
7852
- return /* @__PURE__ */ jsx43(
7999
+ return /* @__PURE__ */ jsx44(
7853
8000
  "div",
7854
8001
  {
7855
8002
  ref,
@@ -7861,25 +8008,25 @@ var SidebarFooter = React43.forwardRef(
7861
8008
  }
7862
8009
  );
7863
8010
  SidebarFooter.displayName = "SidebarFooter";
7864
- var SidebarGroup = React43.forwardRef(
8011
+ var SidebarGroup = React44.forwardRef(
7865
8012
  ({ className, label, children, ...props }, ref) => {
7866
8013
  const { collapsed } = useSidebar();
7867
- return /* @__PURE__ */ jsxs29("div", { ref, className: cn("px-2 py-2", className), ...props, children: [
7868
- label && !collapsed && /* @__PURE__ */ jsx43("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wider", children: label }),
7869
- label && collapsed && /* @__PURE__ */ jsx43("div", { className: "flex justify-center py-1.5", children: /* @__PURE__ */ jsx43("div", { className: "h-px w-4 bg-border" }) }),
7870
- /* @__PURE__ */ jsx43("div", { className: "space-y-1", children })
8014
+ return /* @__PURE__ */ jsxs30("div", { ref, className: cn("px-2 py-2", className), ...props, children: [
8015
+ label && !collapsed && /* @__PURE__ */ jsx44("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wider", children: label }),
8016
+ label && collapsed && /* @__PURE__ */ jsx44("div", { className: "flex justify-center py-1.5", children: /* @__PURE__ */ jsx44("div", { className: "h-px w-4 bg-border" }) }),
8017
+ /* @__PURE__ */ jsx44("div", { className: "space-y-1", children })
7871
8018
  ] });
7872
8019
  }
7873
8020
  );
7874
8021
  SidebarGroup.displayName = "SidebarGroup";
7875
- var SidebarItem = React43.forwardRef(
8022
+ var SidebarItem = React44.forwardRef(
7876
8023
  ({ className, icon, active, disabled, badge, onClick, href, children, ...props }, ref) => {
7877
8024
  const { collapsed } = useSidebar();
7878
- const content = /* @__PURE__ */ jsxs29(Fragment7, { children: [
7879
- icon && /* @__PURE__ */ jsx43("span", { className: cn("shrink-0", collapsed ? "mx-auto" : ""), children: icon }),
7880
- !collapsed && /* @__PURE__ */ jsxs29(Fragment7, { children: [
7881
- /* @__PURE__ */ jsx43("span", { className: "flex-1 truncate", children }),
7882
- badge && /* @__PURE__ */ jsx43("span", { className: "shrink-0", children: badge })
8025
+ const content = /* @__PURE__ */ jsxs30(Fragment7, { children: [
8026
+ icon && /* @__PURE__ */ jsx44("span", { className: cn("shrink-0", collapsed ? "mx-auto" : ""), children: icon }),
8027
+ !collapsed && /* @__PURE__ */ jsxs30(Fragment7, { children: [
8028
+ /* @__PURE__ */ jsx44("span", { className: "flex-1 truncate", children }),
8029
+ badge && /* @__PURE__ */ jsx44("span", { className: "shrink-0", children: badge })
7883
8030
  ] })
7884
8031
  ] });
7885
8032
  const itemClasses = cn(
@@ -7890,9 +8037,9 @@ var SidebarItem = React43.forwardRef(
7890
8037
  className
7891
8038
  );
7892
8039
  if (href) {
7893
- return /* @__PURE__ */ jsx43("div", { ref, ...props, children: /* @__PURE__ */ jsx43("a", { href, className: itemClasses, children: content }) });
8040
+ return /* @__PURE__ */ jsx44("div", { ref, ...props, children: /* @__PURE__ */ jsx44("a", { href, className: itemClasses, children: content }) });
7894
8041
  }
7895
- return /* @__PURE__ */ jsx43(
8042
+ return /* @__PURE__ */ jsx44(
7896
8043
  "div",
7897
8044
  {
7898
8045
  ref,
@@ -7907,20 +8054,20 @@ var SidebarItem = React43.forwardRef(
7907
8054
  }
7908
8055
  );
7909
8056
  SidebarItem.displayName = "SidebarItem";
7910
- var SidebarSubMenu = React43.forwardRef(
8057
+ var SidebarSubMenu = React44.forwardRef(
7911
8058
  ({ className, icon, label, defaultOpen = false, children, ...props }, ref) => {
7912
- const [open, setOpen] = React43.useState(defaultOpen);
8059
+ const [open, setOpen] = React44.useState(defaultOpen);
7913
8060
  const { collapsed } = useSidebar();
7914
- React43.useEffect(() => {
8061
+ React44.useEffect(() => {
7915
8062
  if (collapsed) {
7916
8063
  setOpen(false);
7917
8064
  }
7918
8065
  }, [collapsed]);
7919
8066
  if (collapsed) {
7920
- return /* @__PURE__ */ jsx43(SidebarItem, { icon, className, children: label });
8067
+ return /* @__PURE__ */ jsx44(SidebarItem, { icon, className, children: label });
7921
8068
  }
7922
- return /* @__PURE__ */ jsxs29("div", { ref, className, ...props, children: [
7923
- /* @__PURE__ */ jsxs29(
8069
+ return /* @__PURE__ */ jsxs30("div", { ref, className, ...props, children: [
8070
+ /* @__PURE__ */ jsxs30(
7924
8071
  "div",
7925
8072
  {
7926
8073
  className: cn(
@@ -7931,9 +8078,9 @@ var SidebarSubMenu = React43.forwardRef(
7931
8078
  role: "button",
7932
8079
  tabIndex: 0,
7933
8080
  children: [
7934
- icon && /* @__PURE__ */ jsx43("span", { className: "shrink-0", children: icon }),
7935
- /* @__PURE__ */ jsx43("span", { className: "flex-1 truncate", children: label }),
7936
- /* @__PURE__ */ jsx43(
8081
+ icon && /* @__PURE__ */ jsx44("span", { className: "shrink-0", children: icon }),
8082
+ /* @__PURE__ */ jsx44("span", { className: "flex-1 truncate", children: label }),
8083
+ /* @__PURE__ */ jsx44(
7937
8084
  "svg",
7938
8085
  {
7939
8086
  className: cn("h-4 w-4 shrink-0 transition-transform", open && "rotate-90"),
@@ -7944,21 +8091,21 @@ var SidebarSubMenu = React43.forwardRef(
7944
8091
  strokeWidth: "2",
7945
8092
  strokeLinecap: "round",
7946
8093
  strokeLinejoin: "round",
7947
- children: /* @__PURE__ */ jsx43("path", { d: "m9 18 6-6-6-6" })
8094
+ children: /* @__PURE__ */ jsx44("path", { d: "m9 18 6-6-6-6" })
7948
8095
  }
7949
8096
  )
7950
8097
  ]
7951
8098
  }
7952
8099
  ),
7953
- open && /* @__PURE__ */ jsx43("div", { className: "ml-4 pl-3 border-l border-border space-y-1 mt-1", children })
8100
+ open && /* @__PURE__ */ jsx44("div", { className: "ml-4 pl-3 border-l border-border space-y-1 mt-1", children })
7954
8101
  ] });
7955
8102
  }
7956
8103
  );
7957
8104
  SidebarSubMenu.displayName = "SidebarSubMenu";
7958
- var SidebarToggle = React43.forwardRef(
8105
+ var SidebarToggle = React44.forwardRef(
7959
8106
  ({ className, children, ...props }, ref) => {
7960
8107
  const { collapsed, setCollapsed } = useSidebar();
7961
- return /* @__PURE__ */ jsx43(
8108
+ return /* @__PURE__ */ jsx44(
7962
8109
  "button",
7963
8110
  {
7964
8111
  ref,
@@ -7972,7 +8119,7 @@ var SidebarToggle = React43.forwardRef(
7972
8119
  ),
7973
8120
  "aria-label": collapsed ? "Expand sidebar" : "Collapse sidebar",
7974
8121
  ...props,
7975
- children: children || /* @__PURE__ */ jsxs29(
8122
+ children: children || /* @__PURE__ */ jsxs30(
7976
8123
  "svg",
7977
8124
  {
7978
8125
  className: cn("h-5 w-5 transition-transform", collapsed && "rotate-180"),
@@ -7984,9 +8131,9 @@ var SidebarToggle = React43.forwardRef(
7984
8131
  strokeLinecap: "round",
7985
8132
  strokeLinejoin: "round",
7986
8133
  children: [
7987
- /* @__PURE__ */ jsx43("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
7988
- /* @__PURE__ */ jsx43("path", { d: "M9 3v18" }),
7989
- /* @__PURE__ */ jsx43("path", { d: "m14 9 3 3-3 3" })
8134
+ /* @__PURE__ */ jsx44("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }),
8135
+ /* @__PURE__ */ jsx44("path", { d: "M9 3v18" }),
8136
+ /* @__PURE__ */ jsx44("path", { d: "m14 9 3 3-3 3" })
7990
8137
  ]
7991
8138
  }
7992
8139
  )
@@ -7997,17 +8144,17 @@ var SidebarToggle = React43.forwardRef(
7997
8144
  SidebarToggle.displayName = "SidebarToggle";
7998
8145
 
7999
8146
  // src/components/sidebar-rail.tsx
8000
- import * as React44 from "react";
8001
- import { Fragment as Fragment8, jsx as jsx44, jsxs as jsxs30 } from "react/jsx-runtime";
8002
- var SidebarRailContext = React44.createContext(void 0);
8147
+ import * as React45 from "react";
8148
+ import { Fragment as Fragment8, jsx as jsx45, jsxs as jsxs31 } from "react/jsx-runtime";
8149
+ var SidebarRailContext = React45.createContext(void 0);
8003
8150
  var useSidebarRail = () => {
8004
- const context = React44.useContext(SidebarRailContext);
8151
+ const context = React45.useContext(SidebarRailContext);
8005
8152
  if (!context) {
8006
8153
  throw new Error("useSidebarRail must be used within a SidebarRail");
8007
8154
  }
8008
8155
  return context;
8009
8156
  };
8010
- var SidebarRail = React44.forwardRef(
8157
+ var SidebarRail = React45.forwardRef(
8011
8158
  ({
8012
8159
  className,
8013
8160
  defaultActiveRail = null,
@@ -8025,14 +8172,14 @@ var SidebarRail = React44.forwardRef(
8025
8172
  children,
8026
8173
  ...props
8027
8174
  }, ref) => {
8028
- const [uncontrolledActiveRail, setUncontrolledActiveRail] = React44.useState(defaultActiveRail);
8029
- const [expanded, setExpanded] = React44.useState(!!defaultActiveRail);
8030
- const [uncontrolledRailExpanded, setUncontrolledRailExpanded] = React44.useState(defaultRailExpanded);
8175
+ const [uncontrolledActiveRail, setUncontrolledActiveRail] = React45.useState(defaultActiveRail);
8176
+ const [expanded, setExpanded] = React45.useState(!!defaultActiveRail);
8177
+ const [uncontrolledRailExpanded, setUncontrolledRailExpanded] = React45.useState(defaultRailExpanded);
8031
8178
  const isControlled = controlledActiveRail !== void 0;
8032
8179
  const activeRail = isControlled ? controlledActiveRail : uncontrolledActiveRail;
8033
8180
  const isRailControlled = controlledRailExpanded !== void 0;
8034
8181
  const railExpanded = isRailControlled ? controlledRailExpanded : uncontrolledRailExpanded;
8035
- const setActiveRail = React44.useCallback(
8182
+ const setActiveRail = React45.useCallback(
8036
8183
  (rail) => {
8037
8184
  if (!isControlled) {
8038
8185
  setUncontrolledActiveRail(rail);
@@ -8042,7 +8189,7 @@ var SidebarRail = React44.forwardRef(
8042
8189
  },
8043
8190
  [isControlled, onActiveRailChange]
8044
8191
  );
8045
- const setRailExpanded = React44.useCallback(
8192
+ const setRailExpanded = React45.useCallback(
8046
8193
  (value) => {
8047
8194
  if (!isRailControlled) {
8048
8195
  setUncontrolledRailExpanded(value);
@@ -8051,7 +8198,7 @@ var SidebarRail = React44.forwardRef(
8051
8198
  },
8052
8199
  [isRailControlled, onRailExpandedChange]
8053
8200
  );
8054
- return /* @__PURE__ */ jsx44(
8201
+ return /* @__PURE__ */ jsx45(
8055
8202
  SidebarRailContext.Provider,
8056
8203
  {
8057
8204
  value: {
@@ -8065,7 +8212,7 @@ var SidebarRail = React44.forwardRef(
8065
8212
  overlayRail: overlayRail && expandableRail,
8066
8213
  expandableRail
8067
8214
  },
8068
- children: /* @__PURE__ */ jsx44(
8215
+ children: /* @__PURE__ */ jsx45(
8069
8216
  "div",
8070
8217
  {
8071
8218
  ref,
@@ -8088,11 +8235,11 @@ var SidebarRail = React44.forwardRef(
8088
8235
  }
8089
8236
  );
8090
8237
  SidebarRail.displayName = "SidebarRail";
8091
- var IconRail = React44.forwardRef(
8238
+ var IconRail = React45.forwardRef(
8092
8239
  ({ className, children, ...props }, ref) => {
8093
8240
  const { railExpanded, overlayRail, expandableRail } = useSidebarRail();
8094
8241
  const isExpanded = expandableRail && railExpanded;
8095
- return /* @__PURE__ */ jsx44(
8242
+ return /* @__PURE__ */ jsx45(
8096
8243
  "div",
8097
8244
  {
8098
8245
  ref,
@@ -8101,7 +8248,7 @@ var IconRail = React44.forwardRef(
8101
8248
  isExpanded && !overlayRail ? "w-[var(--rail-expanded-width)]" : "w-[var(--rail-width)]"
8102
8249
  ),
8103
8250
  ...props,
8104
- children: /* @__PURE__ */ jsx44(
8251
+ children: /* @__PURE__ */ jsx45(
8105
8252
  "div",
8106
8253
  {
8107
8254
  className: cn(
@@ -8118,9 +8265,9 @@ var IconRail = React44.forwardRef(
8118
8265
  }
8119
8266
  );
8120
8267
  IconRail.displayName = "IconRail";
8121
- var IconRailHeader = React44.forwardRef(
8268
+ var IconRailHeader = React45.forwardRef(
8122
8269
  ({ className, children, ...props }, ref) => {
8123
- return /* @__PURE__ */ jsx44(
8270
+ return /* @__PURE__ */ jsx45(
8124
8271
  "div",
8125
8272
  {
8126
8273
  ref,
@@ -8135,9 +8282,9 @@ var IconRailHeader = React44.forwardRef(
8135
8282
  }
8136
8283
  );
8137
8284
  IconRailHeader.displayName = "IconRailHeader";
8138
- var IconRailContent = React44.forwardRef(
8285
+ var IconRailContent = React45.forwardRef(
8139
8286
  ({ className, children, ...props }, ref) => {
8140
- return /* @__PURE__ */ jsx44(
8287
+ return /* @__PURE__ */ jsx45(
8141
8288
  "div",
8142
8289
  {
8143
8290
  ref,
@@ -8149,9 +8296,9 @@ var IconRailContent = React44.forwardRef(
8149
8296
  }
8150
8297
  );
8151
8298
  IconRailContent.displayName = "IconRailContent";
8152
- var IconRailFooter = React44.forwardRef(
8299
+ var IconRailFooter = React45.forwardRef(
8153
8300
  ({ className, children, ...props }, ref) => {
8154
- return /* @__PURE__ */ jsx44(
8301
+ return /* @__PURE__ */ jsx45(
8155
8302
  "div",
8156
8303
  {
8157
8304
  ref,
@@ -8166,7 +8313,7 @@ var IconRailFooter = React44.forwardRef(
8166
8313
  }
8167
8314
  );
8168
8315
  IconRailFooter.displayName = "IconRailFooter";
8169
- var IconRailItem = React44.forwardRef(
8316
+ var IconRailItem = React45.forwardRef(
8170
8317
  ({ className, railId, icon, label, asButton = false, toggleRail = false, onClick, ...props }, ref) => {
8171
8318
  const {
8172
8319
  activeRail,
@@ -8192,7 +8339,7 @@ var IconRailItem = React44.forwardRef(
8192
8339
  setActiveRail(railId);
8193
8340
  }
8194
8341
  };
8195
- return /* @__PURE__ */ jsxs30(
8342
+ return /* @__PURE__ */ jsxs31(
8196
8343
  "button",
8197
8344
  {
8198
8345
  ref,
@@ -8211,14 +8358,14 @@ var IconRailItem = React44.forwardRef(
8211
8358
  ...props,
8212
8359
  children: [
8213
8360
  icon,
8214
- isRailExpanded && label && /* @__PURE__ */ jsx44("span", { className: "text-sm font-medium truncate", children: label })
8361
+ isRailExpanded && label && /* @__PURE__ */ jsx45("span", { className: "text-sm font-medium truncate", children: label })
8215
8362
  ]
8216
8363
  }
8217
8364
  );
8218
8365
  }
8219
8366
  );
8220
8367
  IconRailItem.displayName = "IconRailItem";
8221
- var RailPanel = React44.forwardRef(
8368
+ var RailPanel = React45.forwardRef(
8222
8369
  ({ className, railId, title, children, ...props }, ref) => {
8223
8370
  const { activeRail, setActiveRail, hoverExpand } = useSidebarRail();
8224
8371
  const isVisible = activeRail === railId;
@@ -8228,7 +8375,7 @@ var RailPanel = React44.forwardRef(
8228
8375
  }
8229
8376
  };
8230
8377
  if (!isVisible) return null;
8231
- return /* @__PURE__ */ jsxs30(
8378
+ return /* @__PURE__ */ jsxs31(
8232
8379
  "div",
8233
8380
  {
8234
8381
  ref,
@@ -8241,16 +8388,16 @@ var RailPanel = React44.forwardRef(
8241
8388
  onMouseLeave: handleMouseLeave,
8242
8389
  ...props,
8243
8390
  children: [
8244
- title && /* @__PURE__ */ jsxs30("div", { className: "flex items-center justify-between h-14 px-4 border-b border-border shrink-0", children: [
8245
- /* @__PURE__ */ jsx44("span", { className: "font-semibold text-sm", children: title }),
8246
- /* @__PURE__ */ jsx44(
8391
+ title && /* @__PURE__ */ jsxs31("div", { className: "flex items-center justify-between h-14 px-4 border-b border-border shrink-0", children: [
8392
+ /* @__PURE__ */ jsx45("span", { className: "font-semibold text-sm", children: title }),
8393
+ /* @__PURE__ */ jsx45(
8247
8394
  "button",
8248
8395
  {
8249
8396
  type: "button",
8250
8397
  onClick: () => setActiveRail(null),
8251
8398
  className: "p-1 rounded hover:bg-muted text-muted-foreground hover:text-foreground cursor-pointer",
8252
8399
  "aria-label": "Close panel",
8253
- children: /* @__PURE__ */ jsxs30(
8400
+ children: /* @__PURE__ */ jsxs31(
8254
8401
  "svg",
8255
8402
  {
8256
8403
  className: "h-4 w-4",
@@ -8262,36 +8409,36 @@ var RailPanel = React44.forwardRef(
8262
8409
  strokeLinecap: "round",
8263
8410
  strokeLinejoin: "round",
8264
8411
  children: [
8265
- /* @__PURE__ */ jsx44("path", { d: "M18 6 6 18" }),
8266
- /* @__PURE__ */ jsx44("path", { d: "m6 6 12 12" })
8412
+ /* @__PURE__ */ jsx45("path", { d: "M18 6 6 18" }),
8413
+ /* @__PURE__ */ jsx45("path", { d: "m6 6 12 12" })
8267
8414
  ]
8268
8415
  }
8269
8416
  )
8270
8417
  }
8271
8418
  )
8272
8419
  ] }),
8273
- /* @__PURE__ */ jsx44("div", { className: "flex-1 overflow-y-auto", children })
8420
+ /* @__PURE__ */ jsx45("div", { className: "flex-1 overflow-y-auto", children })
8274
8421
  ]
8275
8422
  }
8276
8423
  );
8277
8424
  }
8278
8425
  );
8279
8426
  RailPanel.displayName = "RailPanel";
8280
- var RailPanelGroup = React44.forwardRef(
8427
+ var RailPanelGroup = React45.forwardRef(
8281
8428
  ({ className, label, children, ...props }, ref) => {
8282
- return /* @__PURE__ */ jsxs30("div", { ref, className: cn("px-2 py-2", className), ...props, children: [
8283
- label && /* @__PURE__ */ jsx44("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wider", children: label }),
8284
- /* @__PURE__ */ jsx44("div", { className: "space-y-1", children })
8429
+ return /* @__PURE__ */ jsxs31("div", { ref, className: cn("px-2 py-2", className), ...props, children: [
8430
+ label && /* @__PURE__ */ jsx45("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wider", children: label }),
8431
+ /* @__PURE__ */ jsx45("div", { className: "space-y-1", children })
8285
8432
  ] });
8286
8433
  }
8287
8434
  );
8288
8435
  RailPanelGroup.displayName = "RailPanelGroup";
8289
- var RailPanelItem = React44.forwardRef(
8436
+ var RailPanelItem = React45.forwardRef(
8290
8437
  ({ className, icon, active, disabled, badge, href, children, onClick, ...props }, ref) => {
8291
- const content = /* @__PURE__ */ jsxs30(Fragment8, { children: [
8292
- icon && /* @__PURE__ */ jsx44("span", { className: "shrink-0", children: icon }),
8293
- /* @__PURE__ */ jsx44("span", { className: "flex-1 truncate", children }),
8294
- badge && /* @__PURE__ */ jsx44("span", { className: "shrink-0", children: badge })
8438
+ const content = /* @__PURE__ */ jsxs31(Fragment8, { children: [
8439
+ icon && /* @__PURE__ */ jsx45("span", { className: "shrink-0", children: icon }),
8440
+ /* @__PURE__ */ jsx45("span", { className: "flex-1 truncate", children }),
8441
+ badge && /* @__PURE__ */ jsx45("span", { className: "shrink-0", children: badge })
8295
8442
  ] });
8296
8443
  const itemClasses = cn(
8297
8444
  "flex items-center gap-3 px-3 py-2 rounded-md text-sm transition-colors cursor-pointer",
@@ -8300,9 +8447,9 @@ var RailPanelItem = React44.forwardRef(
8300
8447
  className
8301
8448
  );
8302
8449
  if (href) {
8303
- return /* @__PURE__ */ jsx44("div", { ref, ...props, children: /* @__PURE__ */ jsx44("a", { href, className: itemClasses, children: content }) });
8450
+ return /* @__PURE__ */ jsx45("div", { ref, ...props, children: /* @__PURE__ */ jsx45("a", { href, className: itemClasses, children: content }) });
8304
8451
  }
8305
- return /* @__PURE__ */ jsx44(
8452
+ return /* @__PURE__ */ jsx45(
8306
8453
  "div",
8307
8454
  {
8308
8455
  ref,
@@ -8319,34 +8466,34 @@ var RailPanelItem = React44.forwardRef(
8319
8466
  RailPanelItem.displayName = "RailPanelItem";
8320
8467
 
8321
8468
  // src/playground.tsx
8322
- import * as React45 from "react";
8323
- import { jsx as jsx45, jsxs as jsxs31 } from "react/jsx-runtime";
8324
- var Section = ({ title, children }) => /* @__PURE__ */ jsxs31("div", { className: "mb-8", children: [
8325
- /* @__PURE__ */ jsx45("h2", { className: "text-xl font-semibold mb-4 text-foreground", children: title }),
8326
- /* @__PURE__ */ jsx45("div", { className: "p-4 border border-border rounded-lg bg-background", children })
8469
+ import * as React46 from "react";
8470
+ import { jsx as jsx46, jsxs as jsxs32 } from "react/jsx-runtime";
8471
+ var Section = ({ title, children }) => /* @__PURE__ */ jsxs32("div", { className: "mb-8", children: [
8472
+ /* @__PURE__ */ jsx46("h2", { className: "text-xl font-semibold mb-4 text-foreground", children: title }),
8473
+ /* @__PURE__ */ jsx46("div", { className: "p-4 border border-border rounded-lg bg-background", children })
8327
8474
  ] });
8328
8475
  var ThemeToggle = () => {
8329
8476
  const { theme, setTheme } = useTheme();
8330
- return /* @__PURE__ */ jsxs31("div", { className: "flex items-center gap-2", children: [
8331
- /* @__PURE__ */ jsx45(Label, { children: "Theme:" }),
8332
- /* @__PURE__ */ jsxs31(SelectNamespace, { value: theme, onValueChange: (value) => setTheme(value), children: [
8333
- /* @__PURE__ */ jsx45(SelectTrigger, { className: "w-32", children: /* @__PURE__ */ jsx45(SelectValue, { placeholder: "Select theme" }) }),
8334
- /* @__PURE__ */ jsxs31(SelectContent, { children: [
8335
- /* @__PURE__ */ jsx45(SelectItem, { value: "light", children: "Light" }),
8336
- /* @__PURE__ */ jsx45(SelectItem, { value: "dark", children: "Dark" }),
8337
- /* @__PURE__ */ jsx45(SelectItem, { value: "system", children: "System" })
8477
+ return /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-2", children: [
8478
+ /* @__PURE__ */ jsx46(Label, { children: "Theme:" }),
8479
+ /* @__PURE__ */ jsxs32(SelectNamespace, { value: theme, onValueChange: (value) => setTheme(value), children: [
8480
+ /* @__PURE__ */ jsx46(SelectTrigger, { className: "w-32", children: /* @__PURE__ */ jsx46(SelectValue, { placeholder: "Select theme" }) }),
8481
+ /* @__PURE__ */ jsxs32(SelectContent, { children: [
8482
+ /* @__PURE__ */ jsx46(SelectItem, { value: "light", children: "Light" }),
8483
+ /* @__PURE__ */ jsx46(SelectItem, { value: "dark", children: "Dark" }),
8484
+ /* @__PURE__ */ jsx46(SelectItem, { value: "system", children: "System" })
8338
8485
  ] })
8339
8486
  ] })
8340
8487
  ] });
8341
8488
  };
8342
8489
  var PlaygroundContent = () => {
8343
- const [dialogOpen, setDialogOpen] = React45.useState(false);
8344
- const [checkboxChecked, setCheckboxChecked] = React45.useState(false);
8345
- const [switchChecked, setSwitchChecked] = React45.useState(false);
8346
- const [inputValue, setInputValue] = React45.useState("");
8347
- const [textareaValue, setTextareaValue] = React45.useState("");
8348
- const [selectValue, setSelectValue] = React45.useState("");
8349
- const [comboboxValue, setComboboxValue] = React45.useState(null);
8490
+ const [dialogOpen, setDialogOpen] = React46.useState(false);
8491
+ const [checkboxChecked, setCheckboxChecked] = React46.useState(false);
8492
+ const [switchChecked, setSwitchChecked] = React46.useState(false);
8493
+ const [inputValue, setInputValue] = React46.useState("");
8494
+ const [textareaValue, setTextareaValue] = React46.useState("");
8495
+ const [selectValue, setSelectValue] = React46.useState("");
8496
+ const [comboboxValue, setComboboxValue] = React46.useState(null);
8350
8497
  const comboboxOptions = [
8351
8498
  { value: "react", label: "React" },
8352
8499
  { value: "vue", label: "Vue" },
@@ -8354,35 +8501,35 @@ var PlaygroundContent = () => {
8354
8501
  { value: "svelte", label: "Svelte" },
8355
8502
  { value: "solid", label: "SolidJS" }
8356
8503
  ];
8357
- return /* @__PURE__ */ jsx45("div", { className: "min-h-screen bg-background p-8", children: /* @__PURE__ */ jsxs31("div", { className: "max-w-4xl mx-auto", children: [
8358
- /* @__PURE__ */ jsxs31("div", { className: "flex items-center justify-between mb-8", children: [
8359
- /* @__PURE__ */ jsx45("h1", { className: "text-3xl font-bold text-foreground", children: "@onesaz/ui Playground" }),
8360
- /* @__PURE__ */ jsx45(ThemeToggle, {})
8504
+ return /* @__PURE__ */ jsx46("div", { className: "min-h-screen bg-background p-8", children: /* @__PURE__ */ jsxs32("div", { className: "max-w-4xl mx-auto", children: [
8505
+ /* @__PURE__ */ jsxs32("div", { className: "flex items-center justify-between mb-8", children: [
8506
+ /* @__PURE__ */ jsx46("h1", { className: "text-3xl font-bold text-foreground", children: "@onesaz/ui Playground" }),
8507
+ /* @__PURE__ */ jsx46(ThemeToggle, {})
8361
8508
  ] }),
8362
- /* @__PURE__ */ jsxs31(Section, { title: "Button", children: [
8363
- /* @__PURE__ */ jsxs31("div", { className: "flex flex-wrap gap-4", children: [
8364
- /* @__PURE__ */ jsx45(Button, { variant: "default", children: "Default" }),
8365
- /* @__PURE__ */ jsx45(Button, { variant: "destructive", children: "Destructive" }),
8366
- /* @__PURE__ */ jsx45(Button, { variant: "outline", children: "Outline" }),
8367
- /* @__PURE__ */ jsx45(Button, { variant: "secondary", children: "Secondary" }),
8368
- /* @__PURE__ */ jsx45(Button, { variant: "ghost", children: "Ghost" }),
8369
- /* @__PURE__ */ jsx45(Button, { variant: "link", children: "Link" })
8509
+ /* @__PURE__ */ jsxs32(Section, { title: "Button", children: [
8510
+ /* @__PURE__ */ jsxs32("div", { className: "flex flex-wrap gap-4", children: [
8511
+ /* @__PURE__ */ jsx46(Button, { variant: "default", children: "Default" }),
8512
+ /* @__PURE__ */ jsx46(Button, { variant: "destructive", children: "Destructive" }),
8513
+ /* @__PURE__ */ jsx46(Button, { variant: "outline", children: "Outline" }),
8514
+ /* @__PURE__ */ jsx46(Button, { variant: "secondary", children: "Secondary" }),
8515
+ /* @__PURE__ */ jsx46(Button, { variant: "ghost", children: "Ghost" }),
8516
+ /* @__PURE__ */ jsx46(Button, { variant: "link", children: "Link" })
8370
8517
  ] }),
8371
- /* @__PURE__ */ jsxs31("div", { className: "flex flex-wrap gap-4 mt-4", children: [
8372
- /* @__PURE__ */ jsx45(Button, { size: "sm", children: "Small" }),
8373
- /* @__PURE__ */ jsx45(Button, { size: "default", children: "Default" }),
8374
- /* @__PURE__ */ jsx45(Button, { size: "lg", children: "Large" }),
8375
- /* @__PURE__ */ jsx45(Button, { size: "icon", children: "\u{1F514}" })
8518
+ /* @__PURE__ */ jsxs32("div", { className: "flex flex-wrap gap-4 mt-4", children: [
8519
+ /* @__PURE__ */ jsx46(Button, { size: "sm", children: "Small" }),
8520
+ /* @__PURE__ */ jsx46(Button, { size: "default", children: "Default" }),
8521
+ /* @__PURE__ */ jsx46(Button, { size: "lg", children: "Large" }),
8522
+ /* @__PURE__ */ jsx46(Button, { size: "icon", children: "\u{1F514}" })
8376
8523
  ] }),
8377
- /* @__PURE__ */ jsxs31("div", { className: "flex flex-wrap gap-4 mt-4", children: [
8378
- /* @__PURE__ */ jsx45(Button, { disabled: true, children: "Disabled" }),
8379
- /* @__PURE__ */ jsx45(Button, { variant: "outline", disabled: true, children: "Disabled Outline" })
8524
+ /* @__PURE__ */ jsxs32("div", { className: "flex flex-wrap gap-4 mt-4", children: [
8525
+ /* @__PURE__ */ jsx46(Button, { disabled: true, children: "Disabled" }),
8526
+ /* @__PURE__ */ jsx46(Button, { variant: "outline", disabled: true, children: "Disabled Outline" })
8380
8527
  ] })
8381
8528
  ] }),
8382
- /* @__PURE__ */ jsx45(Section, { title: "Input", children: /* @__PURE__ */ jsxs31("div", { className: "space-y-4 max-w-md", children: [
8383
- /* @__PURE__ */ jsxs31("div", { children: [
8384
- /* @__PURE__ */ jsx45(Label, { htmlFor: "input-default", children: "Default Input" }),
8385
- /* @__PURE__ */ jsx45(
8529
+ /* @__PURE__ */ jsx46(Section, { title: "Input", children: /* @__PURE__ */ jsxs32("div", { className: "space-y-4 max-w-md", children: [
8530
+ /* @__PURE__ */ jsxs32("div", { children: [
8531
+ /* @__PURE__ */ jsx46(Label, { htmlFor: "input-default", children: "Default Input" }),
8532
+ /* @__PURE__ */ jsx46(
8386
8533
  Input,
8387
8534
  {
8388
8535
  id: "input-default",
@@ -8392,19 +8539,19 @@ var PlaygroundContent = () => {
8392
8539
  }
8393
8540
  )
8394
8541
  ] }),
8395
- /* @__PURE__ */ jsxs31("div", { children: [
8396
- /* @__PURE__ */ jsx45(Label, { htmlFor: "input-disabled", children: "Disabled Input" }),
8397
- /* @__PURE__ */ jsx45(Input, { id: "input-disabled", placeholder: "Disabled...", disabled: true })
8542
+ /* @__PURE__ */ jsxs32("div", { children: [
8543
+ /* @__PURE__ */ jsx46(Label, { htmlFor: "input-disabled", children: "Disabled Input" }),
8544
+ /* @__PURE__ */ jsx46(Input, { id: "input-disabled", placeholder: "Disabled...", disabled: true })
8398
8545
  ] }),
8399
- /* @__PURE__ */ jsxs31("div", { children: [
8400
- /* @__PURE__ */ jsx45(Label, { htmlFor: "input-type", children: "Email Input" }),
8401
- /* @__PURE__ */ jsx45(Input, { id: "input-type", type: "email", placeholder: "email@example.com" })
8546
+ /* @__PURE__ */ jsxs32("div", { children: [
8547
+ /* @__PURE__ */ jsx46(Label, { htmlFor: "input-type", children: "Email Input" }),
8548
+ /* @__PURE__ */ jsx46(Input, { id: "input-type", type: "email", placeholder: "email@example.com" })
8402
8549
  ] })
8403
8550
  ] }) }),
8404
- /* @__PURE__ */ jsx45(Section, { title: "Textarea", children: /* @__PURE__ */ jsxs31("div", { className: "space-y-4 max-w-md", children: [
8405
- /* @__PURE__ */ jsxs31("div", { children: [
8406
- /* @__PURE__ */ jsx45(Label, { htmlFor: "textarea-default", children: "Default Textarea" }),
8407
- /* @__PURE__ */ jsx45(
8551
+ /* @__PURE__ */ jsx46(Section, { title: "Textarea", children: /* @__PURE__ */ jsxs32("div", { className: "space-y-4 max-w-md", children: [
8552
+ /* @__PURE__ */ jsxs32("div", { children: [
8553
+ /* @__PURE__ */ jsx46(Label, { htmlFor: "textarea-default", children: "Default Textarea" }),
8554
+ /* @__PURE__ */ jsx46(
8408
8555
  Textarea,
8409
8556
  {
8410
8557
  id: "textarea-default",
@@ -8414,52 +8561,52 @@ var PlaygroundContent = () => {
8414
8561
  }
8415
8562
  )
8416
8563
  ] }),
8417
- /* @__PURE__ */ jsxs31("div", { children: [
8418
- /* @__PURE__ */ jsx45(Label, { htmlFor: "textarea-disabled", children: "Disabled Textarea" }),
8419
- /* @__PURE__ */ jsx45(Textarea, { id: "textarea-disabled", placeholder: "Disabled...", disabled: true })
8564
+ /* @__PURE__ */ jsxs32("div", { children: [
8565
+ /* @__PURE__ */ jsx46(Label, { htmlFor: "textarea-disabled", children: "Disabled Textarea" }),
8566
+ /* @__PURE__ */ jsx46(Textarea, { id: "textarea-disabled", placeholder: "Disabled...", disabled: true })
8420
8567
  ] })
8421
8568
  ] }) }),
8422
- /* @__PURE__ */ jsx45(Section, { title: "Select", children: /* @__PURE__ */ jsxs31("div", { className: "space-y-4 max-w-md", children: [
8423
- /* @__PURE__ */ jsxs31("div", { children: [
8424
- /* @__PURE__ */ jsx45(Label, { children: "Default Select" }),
8425
- /* @__PURE__ */ jsxs31(SelectNamespace, { value: selectValue, onValueChange: setSelectValue, children: [
8426
- /* @__PURE__ */ jsx45(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx45(SelectValue, { placeholder: "Select an option..." }) }),
8427
- /* @__PURE__ */ jsxs31(SelectContent, { children: [
8428
- /* @__PURE__ */ jsx45(SelectItem, { value: "option1", children: "Option 1" }),
8429
- /* @__PURE__ */ jsx45(SelectItem, { value: "option2", children: "Option 2" }),
8430
- /* @__PURE__ */ jsx45(SelectItem, { value: "option3", children: "Option 3" })
8569
+ /* @__PURE__ */ jsx46(Section, { title: "Select", children: /* @__PURE__ */ jsxs32("div", { className: "space-y-4 max-w-md", children: [
8570
+ /* @__PURE__ */ jsxs32("div", { children: [
8571
+ /* @__PURE__ */ jsx46(Label, { children: "Default Select" }),
8572
+ /* @__PURE__ */ jsxs32(SelectNamespace, { value: selectValue, onValueChange: setSelectValue, children: [
8573
+ /* @__PURE__ */ jsx46(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx46(SelectValue, { placeholder: "Select an option..." }) }),
8574
+ /* @__PURE__ */ jsxs32(SelectContent, { children: [
8575
+ /* @__PURE__ */ jsx46(SelectItem, { value: "option1", children: "Option 1" }),
8576
+ /* @__PURE__ */ jsx46(SelectItem, { value: "option2", children: "Option 2" }),
8577
+ /* @__PURE__ */ jsx46(SelectItem, { value: "option3", children: "Option 3" })
8431
8578
  ] })
8432
8579
  ] })
8433
8580
  ] }),
8434
- /* @__PURE__ */ jsxs31("div", { children: [
8435
- /* @__PURE__ */ jsx45(Label, { children: "Grouped Select" }),
8436
- /* @__PURE__ */ jsxs31(SelectNamespace, { children: [
8437
- /* @__PURE__ */ jsx45(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx45(SelectValue, { placeholder: "Select a food..." }) }),
8438
- /* @__PURE__ */ jsxs31(SelectContent, { children: [
8439
- /* @__PURE__ */ jsxs31(SelectGroup, { children: [
8440
- /* @__PURE__ */ jsx45(SelectLabel, { children: "Fruits" }),
8441
- /* @__PURE__ */ jsx45(SelectItem, { value: "apple", children: "Apple" }),
8442
- /* @__PURE__ */ jsx45(SelectItem, { value: "banana", children: "Banana" })
8581
+ /* @__PURE__ */ jsxs32("div", { children: [
8582
+ /* @__PURE__ */ jsx46(Label, { children: "Grouped Select" }),
8583
+ /* @__PURE__ */ jsxs32(SelectNamespace, { children: [
8584
+ /* @__PURE__ */ jsx46(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx46(SelectValue, { placeholder: "Select a food..." }) }),
8585
+ /* @__PURE__ */ jsxs32(SelectContent, { children: [
8586
+ /* @__PURE__ */ jsxs32(SelectGroup, { children: [
8587
+ /* @__PURE__ */ jsx46(SelectLabel, { children: "Fruits" }),
8588
+ /* @__PURE__ */ jsx46(SelectItem, { value: "apple", children: "Apple" }),
8589
+ /* @__PURE__ */ jsx46(SelectItem, { value: "banana", children: "Banana" })
8443
8590
  ] }),
8444
- /* @__PURE__ */ jsxs31(SelectGroup, { children: [
8445
- /* @__PURE__ */ jsx45(SelectLabel, { children: "Vegetables" }),
8446
- /* @__PURE__ */ jsx45(SelectItem, { value: "carrot", children: "Carrot" }),
8447
- /* @__PURE__ */ jsx45(SelectItem, { value: "potato", children: "Potato" })
8591
+ /* @__PURE__ */ jsxs32(SelectGroup, { children: [
8592
+ /* @__PURE__ */ jsx46(SelectLabel, { children: "Vegetables" }),
8593
+ /* @__PURE__ */ jsx46(SelectItem, { value: "carrot", children: "Carrot" }),
8594
+ /* @__PURE__ */ jsx46(SelectItem, { value: "potato", children: "Potato" })
8448
8595
  ] })
8449
8596
  ] })
8450
8597
  ] })
8451
8598
  ] }),
8452
- /* @__PURE__ */ jsxs31("div", { children: [
8453
- /* @__PURE__ */ jsx45(Label, { children: "Disabled Select" }),
8454
- /* @__PURE__ */ jsxs31(SelectNamespace, { disabled: true, children: [
8455
- /* @__PURE__ */ jsx45(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx45(SelectValue, { placeholder: "Disabled..." }) }),
8456
- /* @__PURE__ */ jsx45(SelectContent, { children: /* @__PURE__ */ jsx45(SelectItem, { value: "none", children: "None" }) })
8599
+ /* @__PURE__ */ jsxs32("div", { children: [
8600
+ /* @__PURE__ */ jsx46(Label, { children: "Disabled Select" }),
8601
+ /* @__PURE__ */ jsxs32(SelectNamespace, { disabled: true, children: [
8602
+ /* @__PURE__ */ jsx46(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx46(SelectValue, { placeholder: "Disabled..." }) }),
8603
+ /* @__PURE__ */ jsx46(SelectContent, { children: /* @__PURE__ */ jsx46(SelectItem, { value: "none", children: "None" }) })
8457
8604
  ] })
8458
8605
  ] })
8459
8606
  ] }) }),
8460
- /* @__PURE__ */ jsx45(Section, { title: "Combobox (Searchable Select)", children: /* @__PURE__ */ jsx45("div", { className: "space-y-4 max-w-md", children: /* @__PURE__ */ jsxs31("div", { children: [
8461
- /* @__PURE__ */ jsx45(Label, { children: "Framework" }),
8462
- /* @__PURE__ */ jsx45(
8607
+ /* @__PURE__ */ jsx46(Section, { title: "Combobox (Searchable Select)", children: /* @__PURE__ */ jsx46("div", { className: "space-y-4 max-w-md", children: /* @__PURE__ */ jsxs32("div", { children: [
8608
+ /* @__PURE__ */ jsx46(Label, { children: "Framework" }),
8609
+ /* @__PURE__ */ jsx46(
8463
8610
  Combobox,
8464
8611
  {
8465
8612
  options: comboboxOptions,
@@ -8471,9 +8618,9 @@ var PlaygroundContent = () => {
8471
8618
  }
8472
8619
  )
8473
8620
  ] }) }) }),
8474
- /* @__PURE__ */ jsx45(Section, { title: "Checkbox & Switch", children: /* @__PURE__ */ jsxs31("div", { className: "space-y-4", children: [
8475
- /* @__PURE__ */ jsxs31("div", { className: "flex items-center gap-2", children: [
8476
- /* @__PURE__ */ jsx45(
8621
+ /* @__PURE__ */ jsx46(Section, { title: "Checkbox & Switch", children: /* @__PURE__ */ jsxs32("div", { className: "space-y-4", children: [
8622
+ /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-2", children: [
8623
+ /* @__PURE__ */ jsx46(
8477
8624
  Checkbox,
8478
8625
  {
8479
8626
  id: "checkbox",
@@ -8481,15 +8628,15 @@ var PlaygroundContent = () => {
8481
8628
  onChange: (e) => setCheckboxChecked(e.target.checked)
8482
8629
  }
8483
8630
  ),
8484
- /* @__PURE__ */ jsx45(Label, { htmlFor: "checkbox", children: "Accept terms and conditions" })
8631
+ /* @__PURE__ */ jsx46(Label, { htmlFor: "checkbox", children: "Accept terms and conditions" })
8485
8632
  ] }),
8486
- /* @__PURE__ */ jsxs31("div", { className: "flex items-center gap-2", children: [
8487
- /* @__PURE__ */ jsx45(Checkbox, { id: "checkbox-disabled", disabled: true }),
8488
- /* @__PURE__ */ jsx45(Label, { htmlFor: "checkbox-disabled", children: "Disabled checkbox" })
8633
+ /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-2", children: [
8634
+ /* @__PURE__ */ jsx46(Checkbox, { id: "checkbox-disabled", disabled: true }),
8635
+ /* @__PURE__ */ jsx46(Label, { htmlFor: "checkbox-disabled", children: "Disabled checkbox" })
8489
8636
  ] }),
8490
- /* @__PURE__ */ jsx45(Separator, {}),
8491
- /* @__PURE__ */ jsxs31("div", { className: "flex items-center gap-2", children: [
8492
- /* @__PURE__ */ jsx45(
8637
+ /* @__PURE__ */ jsx46(Separator, {}),
8638
+ /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-2", children: [
8639
+ /* @__PURE__ */ jsx46(
8493
8640
  Switch,
8494
8641
  {
8495
8642
  id: "switch",
@@ -8497,160 +8644,160 @@ var PlaygroundContent = () => {
8497
8644
  onChange: (e) => setSwitchChecked(e.target.checked)
8498
8645
  }
8499
8646
  ),
8500
- /* @__PURE__ */ jsx45(Label, { htmlFor: "switch", children: "Enable notifications" })
8647
+ /* @__PURE__ */ jsx46(Label, { htmlFor: "switch", children: "Enable notifications" })
8501
8648
  ] }),
8502
- /* @__PURE__ */ jsxs31("div", { className: "flex items-center gap-2", children: [
8503
- /* @__PURE__ */ jsx45(Switch, { id: "switch-disabled", disabled: true }),
8504
- /* @__PURE__ */ jsx45(Label, { htmlFor: "switch-disabled", children: "Disabled switch" })
8649
+ /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-2", children: [
8650
+ /* @__PURE__ */ jsx46(Switch, { id: "switch-disabled", disabled: true }),
8651
+ /* @__PURE__ */ jsx46(Label, { htmlFor: "switch-disabled", children: "Disabled switch" })
8505
8652
  ] })
8506
8653
  ] }) }),
8507
- /* @__PURE__ */ jsx45(Section, { title: "Badge", children: /* @__PURE__ */ jsxs31("div", { className: "flex flex-wrap gap-4", children: [
8508
- /* @__PURE__ */ jsx45(Badge, { children: "Default" }),
8509
- /* @__PURE__ */ jsx45(Badge, { variant: "secondary", children: "Secondary" }),
8510
- /* @__PURE__ */ jsx45(Badge, { variant: "destructive", children: "Destructive" }),
8511
- /* @__PURE__ */ jsx45(Badge, { variant: "outline", children: "Outline" })
8654
+ /* @__PURE__ */ jsx46(Section, { title: "Badge", children: /* @__PURE__ */ jsxs32("div", { className: "flex flex-wrap gap-4", children: [
8655
+ /* @__PURE__ */ jsx46(Badge, { children: "Default" }),
8656
+ /* @__PURE__ */ jsx46(Badge, { variant: "secondary", children: "Secondary" }),
8657
+ /* @__PURE__ */ jsx46(Badge, { variant: "destructive", children: "Destructive" }),
8658
+ /* @__PURE__ */ jsx46(Badge, { variant: "outline", children: "Outline" })
8512
8659
  ] }) }),
8513
- /* @__PURE__ */ jsx45(Section, { title: "Card", children: /* @__PURE__ */ jsxs31("div", { className: "grid gap-4 md:grid-cols-2", children: [
8514
- /* @__PURE__ */ jsxs31(Card, { children: [
8515
- /* @__PURE__ */ jsxs31(CardHeader, { children: [
8516
- /* @__PURE__ */ jsx45(CardTitle, { children: "Card Title" }),
8517
- /* @__PURE__ */ jsx45(CardDescription, { children: "Card description goes here" })
8660
+ /* @__PURE__ */ jsx46(Section, { title: "Card", children: /* @__PURE__ */ jsxs32("div", { className: "grid gap-4 md:grid-cols-2", children: [
8661
+ /* @__PURE__ */ jsxs32(Card, { children: [
8662
+ /* @__PURE__ */ jsxs32(CardHeader, { children: [
8663
+ /* @__PURE__ */ jsx46(CardTitle, { children: "Card Title" }),
8664
+ /* @__PURE__ */ jsx46(CardDescription, { children: "Card description goes here" })
8518
8665
  ] }),
8519
- /* @__PURE__ */ jsx45(CardContent, { children: /* @__PURE__ */ jsx45("p", { className: "text-foreground", children: "This is the card content area." }) }),
8520
- /* @__PURE__ */ jsxs31(CardFooter, { children: [
8521
- /* @__PURE__ */ jsx45(Button, { variant: "outline", className: "mr-2", children: "Cancel" }),
8522
- /* @__PURE__ */ jsx45(Button, { children: "Submit" })
8666
+ /* @__PURE__ */ jsx46(CardContent, { children: /* @__PURE__ */ jsx46("p", { className: "text-foreground", children: "This is the card content area." }) }),
8667
+ /* @__PURE__ */ jsxs32(CardFooter, { children: [
8668
+ /* @__PURE__ */ jsx46(Button, { variant: "outline", className: "mr-2", children: "Cancel" }),
8669
+ /* @__PURE__ */ jsx46(Button, { children: "Submit" })
8523
8670
  ] })
8524
8671
  ] }),
8525
- /* @__PURE__ */ jsxs31(Card, { children: [
8526
- /* @__PURE__ */ jsxs31(CardHeader, { children: [
8527
- /* @__PURE__ */ jsx45(CardTitle, { children: "Another Card" }),
8528
- /* @__PURE__ */ jsx45(CardDescription, { children: "With different content" })
8672
+ /* @__PURE__ */ jsxs32(Card, { children: [
8673
+ /* @__PURE__ */ jsxs32(CardHeader, { children: [
8674
+ /* @__PURE__ */ jsx46(CardTitle, { children: "Another Card" }),
8675
+ /* @__PURE__ */ jsx46(CardDescription, { children: "With different content" })
8529
8676
  ] }),
8530
- /* @__PURE__ */ jsx45(CardContent, { children: /* @__PURE__ */ jsxs31("div", { className: "space-y-2", children: [
8531
- /* @__PURE__ */ jsx45(Label, { htmlFor: "card-input", children: "Name" }),
8532
- /* @__PURE__ */ jsx45(Input, { id: "card-input", placeholder: "Enter name..." })
8677
+ /* @__PURE__ */ jsx46(CardContent, { children: /* @__PURE__ */ jsxs32("div", { className: "space-y-2", children: [
8678
+ /* @__PURE__ */ jsx46(Label, { htmlFor: "card-input", children: "Name" }),
8679
+ /* @__PURE__ */ jsx46(Input, { id: "card-input", placeholder: "Enter name..." })
8533
8680
  ] }) }),
8534
- /* @__PURE__ */ jsx45(CardFooter, { children: /* @__PURE__ */ jsx45(Button, { className: "w-full", children: "Save" }) })
8681
+ /* @__PURE__ */ jsx46(CardFooter, { children: /* @__PURE__ */ jsx46(Button, { className: "w-full", children: "Save" }) })
8535
8682
  ] })
8536
8683
  ] }) }),
8537
- /* @__PURE__ */ jsxs31(Section, { title: "Dialog", children: [
8538
- /* @__PURE__ */ jsx45(Button, { onClick: () => setDialogOpen(true), children: "Open Dialog" }),
8539
- /* @__PURE__ */ jsx45(DialogNamespace, { open: dialogOpen, onOpenChange: setDialogOpen, children: /* @__PURE__ */ jsxs31(DialogContent, { children: [
8540
- /* @__PURE__ */ jsxs31(DialogHeader, { children: [
8541
- /* @__PURE__ */ jsx45(DialogTitle, { children: "Create New Zone" }),
8542
- /* @__PURE__ */ jsx45(DialogDescription, { children: "Fill in the details below to create a new zone." })
8684
+ /* @__PURE__ */ jsxs32(Section, { title: "Dialog", children: [
8685
+ /* @__PURE__ */ jsx46(Button, { onClick: () => setDialogOpen(true), children: "Open Dialog" }),
8686
+ /* @__PURE__ */ jsx46(DialogNamespace, { open: dialogOpen, onOpenChange: setDialogOpen, children: /* @__PURE__ */ jsxs32(DialogContent, { children: [
8687
+ /* @__PURE__ */ jsxs32(DialogHeader, { children: [
8688
+ /* @__PURE__ */ jsx46(DialogTitle, { children: "Create New Zone" }),
8689
+ /* @__PURE__ */ jsx46(DialogDescription, { children: "Fill in the details below to create a new zone." })
8543
8690
  ] }),
8544
- /* @__PURE__ */ jsxs31("div", { className: "space-y-4 py-4", children: [
8545
- /* @__PURE__ */ jsxs31("div", { className: "grid grid-cols-2 gap-4", children: [
8546
- /* @__PURE__ */ jsxs31("div", { children: [
8547
- /* @__PURE__ */ jsx45(Label, { htmlFor: "zone-name", children: "Zone Name *" }),
8548
- /* @__PURE__ */ jsx45(Input, { id: "zone-name", placeholder: "eg:hyderabad" })
8691
+ /* @__PURE__ */ jsxs32("div", { className: "space-y-4 py-4", children: [
8692
+ /* @__PURE__ */ jsxs32("div", { className: "grid grid-cols-2 gap-4", children: [
8693
+ /* @__PURE__ */ jsxs32("div", { children: [
8694
+ /* @__PURE__ */ jsx46(Label, { htmlFor: "zone-name", children: "Zone Name *" }),
8695
+ /* @__PURE__ */ jsx46(Input, { id: "zone-name", placeholder: "eg:hyderabad" })
8549
8696
  ] }),
8550
- /* @__PURE__ */ jsxs31("div", { children: [
8551
- /* @__PURE__ */ jsx45(Label, { htmlFor: "zone-code", children: "Zone Code *" }),
8552
- /* @__PURE__ */ jsx45(Input, { id: "zone-code", placeholder: "eg :hyd022" })
8697
+ /* @__PURE__ */ jsxs32("div", { children: [
8698
+ /* @__PURE__ */ jsx46(Label, { htmlFor: "zone-code", children: "Zone Code *" }),
8699
+ /* @__PURE__ */ jsx46(Input, { id: "zone-code", placeholder: "eg :hyd022" })
8553
8700
  ] })
8554
8701
  ] }),
8555
- /* @__PURE__ */ jsxs31("div", { className: "grid grid-cols-2 gap-4", children: [
8556
- /* @__PURE__ */ jsxs31("div", { children: [
8557
- /* @__PURE__ */ jsx45(Label, { children: "State *" }),
8558
- /* @__PURE__ */ jsxs31(SelectNamespace, { children: [
8559
- /* @__PURE__ */ jsx45(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx45(SelectValue, { placeholder: "Select state" }) }),
8560
- /* @__PURE__ */ jsxs31(SelectContent, { children: [
8561
- /* @__PURE__ */ jsx45(SelectItem, { value: "telangana", children: "TELANGANA" }),
8562
- /* @__PURE__ */ jsx45(SelectItem, { value: "andhra", children: "ANDHRA PRADESH" })
8702
+ /* @__PURE__ */ jsxs32("div", { className: "grid grid-cols-2 gap-4", children: [
8703
+ /* @__PURE__ */ jsxs32("div", { children: [
8704
+ /* @__PURE__ */ jsx46(Label, { children: "State *" }),
8705
+ /* @__PURE__ */ jsxs32(SelectNamespace, { children: [
8706
+ /* @__PURE__ */ jsx46(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx46(SelectValue, { placeholder: "Select state" }) }),
8707
+ /* @__PURE__ */ jsxs32(SelectContent, { children: [
8708
+ /* @__PURE__ */ jsx46(SelectItem, { value: "telangana", children: "TELANGANA" }),
8709
+ /* @__PURE__ */ jsx46(SelectItem, { value: "andhra", children: "ANDHRA PRADESH" })
8563
8710
  ] })
8564
8711
  ] })
8565
8712
  ] }),
8566
- /* @__PURE__ */ jsxs31("div", { children: [
8567
- /* @__PURE__ */ jsx45(Label, { children: "District *" }),
8568
- /* @__PURE__ */ jsxs31(SelectNamespace, { children: [
8569
- /* @__PURE__ */ jsx45(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx45(SelectValue, { placeholder: "Select District" }) }),
8570
- /* @__PURE__ */ jsxs31(SelectContent, { children: [
8571
- /* @__PURE__ */ jsx45(SelectItem, { value: "hyderabad", children: "HYDERABAD" }),
8572
- /* @__PURE__ */ jsx45(SelectItem, { value: "rangareddy", children: "RANGAREDDY" })
8713
+ /* @__PURE__ */ jsxs32("div", { children: [
8714
+ /* @__PURE__ */ jsx46(Label, { children: "District *" }),
8715
+ /* @__PURE__ */ jsxs32(SelectNamespace, { children: [
8716
+ /* @__PURE__ */ jsx46(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx46(SelectValue, { placeholder: "Select District" }) }),
8717
+ /* @__PURE__ */ jsxs32(SelectContent, { children: [
8718
+ /* @__PURE__ */ jsx46(SelectItem, { value: "hyderabad", children: "HYDERABAD" }),
8719
+ /* @__PURE__ */ jsx46(SelectItem, { value: "rangareddy", children: "RANGAREDDY" })
8573
8720
  ] })
8574
8721
  ] })
8575
8722
  ] })
8576
8723
  ] })
8577
8724
  ] }),
8578
- /* @__PURE__ */ jsxs31(DialogFooter, { children: [
8579
- /* @__PURE__ */ jsx45(Button, { variant: "outline", onClick: () => setDialogOpen(false), children: "CANCEL" }),
8580
- /* @__PURE__ */ jsx45(Button, { onClick: () => setDialogOpen(false), children: "Create" })
8725
+ /* @__PURE__ */ jsxs32(DialogFooter, { children: [
8726
+ /* @__PURE__ */ jsx46(Button, { variant: "outline", onClick: () => setDialogOpen(false), children: "CANCEL" }),
8727
+ /* @__PURE__ */ jsx46(Button, { onClick: () => setDialogOpen(false), children: "Create" })
8581
8728
  ] })
8582
8729
  ] }) })
8583
8730
  ] }),
8584
- /* @__PURE__ */ jsx45(Section, { title: "Table", children: /* @__PURE__ */ jsxs31(TableNamespace, { children: [
8585
- /* @__PURE__ */ jsx45(TableCaption, { children: "A list of recent invoices" }),
8586
- /* @__PURE__ */ jsx45(TableHeader, { children: /* @__PURE__ */ jsxs31(TableRow, { children: [
8587
- /* @__PURE__ */ jsx45(TableHead, { children: "Invoice" }),
8588
- /* @__PURE__ */ jsx45(TableHead, { children: "Status" }),
8589
- /* @__PURE__ */ jsx45(TableHead, { children: "Method" }),
8590
- /* @__PURE__ */ jsx45(TableHead, { className: "text-right", children: "Amount" })
8731
+ /* @__PURE__ */ jsx46(Section, { title: "Table", children: /* @__PURE__ */ jsxs32(TableNamespace, { children: [
8732
+ /* @__PURE__ */ jsx46(TableCaption, { children: "A list of recent invoices" }),
8733
+ /* @__PURE__ */ jsx46(TableHeader, { children: /* @__PURE__ */ jsxs32(TableRow, { children: [
8734
+ /* @__PURE__ */ jsx46(TableHead, { children: "Invoice" }),
8735
+ /* @__PURE__ */ jsx46(TableHead, { children: "Status" }),
8736
+ /* @__PURE__ */ jsx46(TableHead, { children: "Method" }),
8737
+ /* @__PURE__ */ jsx46(TableHead, { className: "text-right", children: "Amount" })
8591
8738
  ] }) }),
8592
- /* @__PURE__ */ jsxs31(TableBody, { children: [
8593
- /* @__PURE__ */ jsxs31(TableRow, { children: [
8594
- /* @__PURE__ */ jsx45(TableCell, { children: "INV001" }),
8595
- /* @__PURE__ */ jsx45(TableCell, { children: /* @__PURE__ */ jsx45(Badge, { children: "Paid" }) }),
8596
- /* @__PURE__ */ jsx45(TableCell, { children: "Credit Card" }),
8597
- /* @__PURE__ */ jsx45(TableCell, { className: "text-right", children: "$250.00" })
8739
+ /* @__PURE__ */ jsxs32(TableBody, { children: [
8740
+ /* @__PURE__ */ jsxs32(TableRow, { children: [
8741
+ /* @__PURE__ */ jsx46(TableCell, { children: "INV001" }),
8742
+ /* @__PURE__ */ jsx46(TableCell, { children: /* @__PURE__ */ jsx46(Badge, { children: "Paid" }) }),
8743
+ /* @__PURE__ */ jsx46(TableCell, { children: "Credit Card" }),
8744
+ /* @__PURE__ */ jsx46(TableCell, { className: "text-right", children: "$250.00" })
8598
8745
  ] }),
8599
- /* @__PURE__ */ jsxs31(TableRow, { children: [
8600
- /* @__PURE__ */ jsx45(TableCell, { children: "INV002" }),
8601
- /* @__PURE__ */ jsx45(TableCell, { children: /* @__PURE__ */ jsx45(Badge, { variant: "secondary", children: "Pending" }) }),
8602
- /* @__PURE__ */ jsx45(TableCell, { children: "PayPal" }),
8603
- /* @__PURE__ */ jsx45(TableCell, { className: "text-right", children: "$150.00" })
8746
+ /* @__PURE__ */ jsxs32(TableRow, { children: [
8747
+ /* @__PURE__ */ jsx46(TableCell, { children: "INV002" }),
8748
+ /* @__PURE__ */ jsx46(TableCell, { children: /* @__PURE__ */ jsx46(Badge, { variant: "secondary", children: "Pending" }) }),
8749
+ /* @__PURE__ */ jsx46(TableCell, { children: "PayPal" }),
8750
+ /* @__PURE__ */ jsx46(TableCell, { className: "text-right", children: "$150.00" })
8604
8751
  ] }),
8605
- /* @__PURE__ */ jsxs31(TableRow, { children: [
8606
- /* @__PURE__ */ jsx45(TableCell, { children: "INV003" }),
8607
- /* @__PURE__ */ jsx45(TableCell, { children: /* @__PURE__ */ jsx45(Badge, { variant: "destructive", children: "Failed" }) }),
8608
- /* @__PURE__ */ jsx45(TableCell, { children: "Bank Transfer" }),
8609
- /* @__PURE__ */ jsx45(TableCell, { className: "text-right", children: "$350.00" })
8752
+ /* @__PURE__ */ jsxs32(TableRow, { children: [
8753
+ /* @__PURE__ */ jsx46(TableCell, { children: "INV003" }),
8754
+ /* @__PURE__ */ jsx46(TableCell, { children: /* @__PURE__ */ jsx46(Badge, { variant: "destructive", children: "Failed" }) }),
8755
+ /* @__PURE__ */ jsx46(TableCell, { children: "Bank Transfer" }),
8756
+ /* @__PURE__ */ jsx46(TableCell, { className: "text-right", children: "$350.00" })
8610
8757
  ] })
8611
8758
  ] })
8612
8759
  ] }) }),
8613
- /* @__PURE__ */ jsx45(Section, { title: "Pagination", children: /* @__PURE__ */ jsx45(PaginationNamespace, { children: /* @__PURE__ */ jsxs31(PaginationContent, { children: [
8614
- /* @__PURE__ */ jsx45(PaginationItem, { children: /* @__PURE__ */ jsx45(PaginationPrevious, { onClick: () => console.log("Previous") }) }),
8615
- /* @__PURE__ */ jsx45(PaginationItem, { children: /* @__PURE__ */ jsx45(PaginationLink, { isActive: true, children: "1" }) }),
8616
- /* @__PURE__ */ jsx45(PaginationItem, { children: /* @__PURE__ */ jsx45(PaginationLink, { children: "2" }) }),
8617
- /* @__PURE__ */ jsx45(PaginationItem, { children: /* @__PURE__ */ jsx45(PaginationLink, { children: "3" }) }),
8618
- /* @__PURE__ */ jsx45(PaginationItem, { children: /* @__PURE__ */ jsx45(PaginationEllipsis, {}) }),
8619
- /* @__PURE__ */ jsx45(PaginationItem, { children: /* @__PURE__ */ jsx45(PaginationNext, { onClick: () => console.log("Next") }) })
8760
+ /* @__PURE__ */ jsx46(Section, { title: "Pagination", children: /* @__PURE__ */ jsx46(PaginationNamespace, { children: /* @__PURE__ */ jsxs32(PaginationContent, { children: [
8761
+ /* @__PURE__ */ jsx46(PaginationItem, { children: /* @__PURE__ */ jsx46(PaginationPrevious, { onClick: () => console.log("Previous") }) }),
8762
+ /* @__PURE__ */ jsx46(PaginationItem, { children: /* @__PURE__ */ jsx46(PaginationLink, { isActive: true, children: "1" }) }),
8763
+ /* @__PURE__ */ jsx46(PaginationItem, { children: /* @__PURE__ */ jsx46(PaginationLink, { children: "2" }) }),
8764
+ /* @__PURE__ */ jsx46(PaginationItem, { children: /* @__PURE__ */ jsx46(PaginationLink, { children: "3" }) }),
8765
+ /* @__PURE__ */ jsx46(PaginationItem, { children: /* @__PURE__ */ jsx46(PaginationEllipsis, {}) }),
8766
+ /* @__PURE__ */ jsx46(PaginationItem, { children: /* @__PURE__ */ jsx46(PaginationNext, { onClick: () => console.log("Next") }) })
8620
8767
  ] }) }) }),
8621
- /* @__PURE__ */ jsx45(Section, { title: "Spinner", children: /* @__PURE__ */ jsxs31("div", { className: "flex items-center gap-8", children: [
8622
- /* @__PURE__ */ jsxs31("div", { className: "text-center", children: [
8623
- /* @__PURE__ */ jsx45(Spinner, { size: "sm" }),
8624
- /* @__PURE__ */ jsx45("p", { className: "text-sm text-muted-foreground mt-2", children: "Small" })
8768
+ /* @__PURE__ */ jsx46(Section, { title: "Spinner", children: /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-8", children: [
8769
+ /* @__PURE__ */ jsxs32("div", { className: "text-center", children: [
8770
+ /* @__PURE__ */ jsx46(Spinner, { size: "sm" }),
8771
+ /* @__PURE__ */ jsx46("p", { className: "text-sm text-muted-foreground mt-2", children: "Small" })
8625
8772
  ] }),
8626
- /* @__PURE__ */ jsxs31("div", { className: "text-center", children: [
8627
- /* @__PURE__ */ jsx45(Spinner, { size: "default" }),
8628
- /* @__PURE__ */ jsx45("p", { className: "text-sm text-muted-foreground mt-2", children: "Default" })
8773
+ /* @__PURE__ */ jsxs32("div", { className: "text-center", children: [
8774
+ /* @__PURE__ */ jsx46(Spinner, { size: "default" }),
8775
+ /* @__PURE__ */ jsx46("p", { className: "text-sm text-muted-foreground mt-2", children: "Default" })
8629
8776
  ] }),
8630
- /* @__PURE__ */ jsxs31("div", { className: "text-center", children: [
8631
- /* @__PURE__ */ jsx45(Spinner, { size: "lg" }),
8632
- /* @__PURE__ */ jsx45("p", { className: "text-sm text-muted-foreground mt-2", children: "Large" })
8777
+ /* @__PURE__ */ jsxs32("div", { className: "text-center", children: [
8778
+ /* @__PURE__ */ jsx46(Spinner, { size: "lg" }),
8779
+ /* @__PURE__ */ jsx46("p", { className: "text-sm text-muted-foreground mt-2", children: "Large" })
8633
8780
  ] })
8634
8781
  ] }) }),
8635
- /* @__PURE__ */ jsx45(Section, { title: "Separator", children: /* @__PURE__ */ jsxs31("div", { className: "space-y-4", children: [
8636
- /* @__PURE__ */ jsx45("p", { className: "text-foreground", children: "Content above separator" }),
8637
- /* @__PURE__ */ jsx45(Separator, {}),
8638
- /* @__PURE__ */ jsx45("p", { className: "text-foreground", children: "Content below separator" }),
8639
- /* @__PURE__ */ jsxs31("div", { className: "flex items-center h-10", children: [
8640
- /* @__PURE__ */ jsx45("span", { className: "text-foreground", children: "Left" }),
8641
- /* @__PURE__ */ jsx45(Separator, { orientation: "vertical", className: "mx-4" }),
8642
- /* @__PURE__ */ jsx45("span", { className: "text-foreground", children: "Right" })
8782
+ /* @__PURE__ */ jsx46(Section, { title: "Separator", children: /* @__PURE__ */ jsxs32("div", { className: "space-y-4", children: [
8783
+ /* @__PURE__ */ jsx46("p", { className: "text-foreground", children: "Content above separator" }),
8784
+ /* @__PURE__ */ jsx46(Separator, {}),
8785
+ /* @__PURE__ */ jsx46("p", { className: "text-foreground", children: "Content below separator" }),
8786
+ /* @__PURE__ */ jsxs32("div", { className: "flex items-center h-10", children: [
8787
+ /* @__PURE__ */ jsx46("span", { className: "text-foreground", children: "Left" }),
8788
+ /* @__PURE__ */ jsx46(Separator, { orientation: "vertical", className: "mx-4" }),
8789
+ /* @__PURE__ */ jsx46("span", { className: "text-foreground", children: "Right" })
8643
8790
  ] })
8644
8791
  ] }) }),
8645
- /* @__PURE__ */ jsx45(Section, { title: "Typography & Colors", children: /* @__PURE__ */ jsxs31("div", { className: "space-y-2", children: [
8646
- /* @__PURE__ */ jsx45("p", { className: "text-foreground", children: "text-foreground - Primary text color" }),
8647
- /* @__PURE__ */ jsx45("p", { className: "text-muted-foreground", children: "text-muted-foreground - Muted text color" }),
8648
- /* @__PURE__ */ jsx45("p", { className: "text-accent", children: "text-accent - Accent color" }),
8649
- /* @__PURE__ */ jsx45("p", { className: "text-destructive", children: "text-destructive - Destructive color" })
8792
+ /* @__PURE__ */ jsx46(Section, { title: "Typography & Colors", children: /* @__PURE__ */ jsxs32("div", { className: "space-y-2", children: [
8793
+ /* @__PURE__ */ jsx46("p", { className: "text-foreground", children: "text-foreground - Primary text color" }),
8794
+ /* @__PURE__ */ jsx46("p", { className: "text-muted-foreground", children: "text-muted-foreground - Muted text color" }),
8795
+ /* @__PURE__ */ jsx46("p", { className: "text-accent", children: "text-accent - Accent color" }),
8796
+ /* @__PURE__ */ jsx46("p", { className: "text-destructive", children: "text-destructive - Destructive color" })
8650
8797
  ] }) })
8651
8798
  ] }) });
8652
8799
  };
8653
- var Playground = () => /* @__PURE__ */ jsx45(ThemeProvider, { defaultTheme: "light", children: /* @__PURE__ */ jsx45(PlaygroundContent, {}) });
8800
+ var Playground = () => /* @__PURE__ */ jsx46(ThemeProvider, { defaultTheme: "light", children: /* @__PURE__ */ jsx46(PlaygroundContent, {}) });
8654
8801
  export {
8655
8802
  Accordion,
8656
8803
  AccordionContent,
@@ -8675,6 +8822,8 @@ export {
8675
8822
  AvatarGroup,
8676
8823
  Badge,
8677
8824
  BarChart,
8825
+ BottomNavigation,
8826
+ BottomNavigationAction,
8678
8827
  Box,
8679
8828
  BreadcrumbEllipsis,
8680
8829
  BreadcrumbItem,
@@ -8683,6 +8832,7 @@ export {
8683
8832
  BreadcrumbSeparator,
8684
8833
  Breadcrumbs,
8685
8834
  Button,
8835
+ ButtonGroup,
8686
8836
  Caption,
8687
8837
  Card,
8688
8838
  CardContent,