@sikka/hawa 0.30.16-next → 0.30.18-next

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.
@@ -925,15 +925,9 @@ var DataTable = ({
925
925
  const [expanded, setExpanded] = React10.useState({});
926
926
  const [columnVisibility, setColumnVisibility] = React10.useState({});
927
927
  const [rowSelection, setRowSelection] = React10.useState({});
928
- const visibleColumns = columns.filter(
929
- (column) => {
930
- var _a2;
931
- return ((_a2 = column.meta) == null ? void 0 : _a2.hidden) !== true;
932
- }
933
- );
934
928
  const table = useReactTable({
935
929
  data,
936
- columns: visibleColumns,
930
+ columns,
937
931
  onExpandedChange: setExpanded,
938
932
  getExpandedRowModel: getExpandedRowModel(),
939
933
  onGlobalFilterChange: setGlobalFilter,
@@ -953,15 +947,22 @@ var DataTable = ({
953
947
  rowSelection,
954
948
  expanded
955
949
  }
956
- // defaultColumn: {
957
- // maxSize: 200
958
- // }
959
950
  });
960
951
  const pageText = ((_a = props.texts) == null ? void 0 : _a.page) || "page";
961
952
  const itemsPerPageOptions = (_b = props.itemsPerPage) == null ? void 0 : _b.map((item) => ({
962
953
  label: `${item} / ${pageText}`,
963
954
  value: item
964
955
  }));
956
+ React10.useEffect(() => {
957
+ setColumnVisibility((prev) => {
958
+ let newColumnVisibility = {};
959
+ columns.forEach((column) => {
960
+ var _a2;
961
+ newColumnVisibility[column.accessorKey] = !((_a2 = column.meta) == null ? void 0 : _a2.hidden);
962
+ });
963
+ return newColumnVisibility;
964
+ });
965
+ }, [columns]);
965
966
  return /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-col hawa-gap-4" }, (enableSearch || enableHideColumns) && /* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-4" }, enableSearch && /* @__PURE__ */ React10.createElement(
966
967
  Input,
967
968
  {
@@ -1238,7 +1239,7 @@ var DataTable = ({
1238
1239
  };
1239
1240
 
1240
1241
  // elements/backToTop/BackToTop.tsx
1241
- import React11, { useState as useState3, useEffect as useEffect2, useRef as useRef2 } from "react";
1242
+ import React11, { useState as useState3, useEffect as useEffect3, useRef as useRef2 } from "react";
1242
1243
  var BackToTop = ({ ...props }) => {
1243
1244
  const [visible, setVisible] = useState3(false);
1244
1245
  const [rect, _setRect] = useState3(null);
@@ -1268,7 +1269,7 @@ var BackToTop = ({ ...props }) => {
1268
1269
  props.anchor.current.scrollTo({ top: 0, behavior: "smooth" });
1269
1270
  }
1270
1271
  };
1271
- useEffect2(() => {
1272
+ useEffect3(() => {
1272
1273
  if (!props.anchor.current)
1273
1274
  return;
1274
1275
  props.anchor.current.addEventListener("scroll", onScroll);
@@ -1352,7 +1353,6 @@ var Command = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1352
1353
  ...props
1353
1354
  }
1354
1355
  ));
1355
- Command.displayName = CommandPrimitive.displayName;
1356
1356
  var CommandDialog = ({ children, ...props }) => {
1357
1357
  return /* @__PURE__ */ React12.createElement(Dialog, { ...props }, /* @__PURE__ */ React12.createElement(DialogContent, { className: "hawa-overflow-hidden hawa-p-0 hawa-shadow-lg" }, /* @__PURE__ */ React12.createElement(Command, { className: "[&_[cmdk-group-heading]]:hawa-px-2 [&_[cmdk-group-heading]]:hawa-font-medium [&_[cmdk-group-heading]]:hawa-text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:hawa-pt-0 [&_[cmdk-group]]:hawa-px-2 [&_[cmdk-input-wrapper]_svg]:hawa-h-5 [&_[cmdk-input-wrapper]_svg]:hawa-w-5 [&_[cmdk-input]]:hawa-h-12 [&_[cmdk-item]]:hawa-px-2 [&_[cmdk-item]]:hawa-py-3 [&_[cmdk-item]_svg]:hawa-h-5 [&_[cmdk-item]_svg]:hawa-w-5" }, children)));
1358
1358
  };
@@ -1392,7 +1392,6 @@ var CommandInput = React12.forwardRef(({ className, ...props }, ref) => /* @__PU
1392
1392
  }
1393
1393
  )
1394
1394
  ));
1395
- CommandInput.displayName = CommandPrimitive.Input.displayName;
1396
1395
  var CommandList = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1397
1396
  CommandPrimitive.List,
1398
1397
  {
@@ -1404,7 +1403,6 @@ var CommandList = React12.forwardRef(({ className, ...props }, ref) => /* @__PUR
1404
1403
  ...props
1405
1404
  }
1406
1405
  ));
1407
- CommandList.displayName = CommandPrimitive.List.displayName;
1408
1406
  var CommandEmpty = React12.forwardRef((props, ref) => /* @__PURE__ */ React12.createElement(
1409
1407
  CommandPrimitive.Empty,
1410
1408
  {
@@ -1413,7 +1411,6 @@ var CommandEmpty = React12.forwardRef((props, ref) => /* @__PURE__ */ React12.cr
1413
1411
  ...props
1414
1412
  }
1415
1413
  ));
1416
- CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
1417
1414
  var CommandGroup = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1418
1415
  CommandPrimitive.Group,
1419
1416
  {
@@ -1425,7 +1422,6 @@ var CommandGroup = React12.forwardRef(({ className, ...props }, ref) => /* @__PU
1425
1422
  ...props
1426
1423
  }
1427
1424
  ));
1428
- CommandGroup.displayName = CommandPrimitive.Group.displayName;
1429
1425
  var CommandSeparator = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1430
1426
  CommandPrimitive.Separator,
1431
1427
  {
@@ -1434,7 +1430,6 @@ var CommandSeparator = React12.forwardRef(({ className, ...props }, ref) => /* @
1434
1430
  ...props
1435
1431
  }
1436
1432
  ));
1437
- CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
1438
1433
  var CommandItem = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React12.createElement(
1439
1434
  CommandPrimitive.Item,
1440
1435
  {
@@ -1446,7 +1441,6 @@ var CommandItem = React12.forwardRef(({ className, ...props }, ref) => /* @__PUR
1446
1441
  ...props
1447
1442
  }
1448
1443
  ));
1449
- CommandItem.displayName = CommandPrimitive.Item.displayName;
1450
1444
  var CommandShortcut = ({
1451
1445
  className,
1452
1446
  ...props
@@ -1463,6 +1457,13 @@ var CommandShortcut = ({
1463
1457
  );
1464
1458
  };
1465
1459
  CommandShortcut.displayName = "CommandShortcut";
1460
+ CommandItem.displayName = CommandPrimitive.Item.displayName;
1461
+ CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
1462
+ CommandGroup.displayName = CommandPrimitive.Group.displayName;
1463
+ CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
1464
+ CommandList.displayName = CommandPrimitive.List.displayName;
1465
+ Command.displayName = CommandPrimitive.displayName;
1466
+ CommandInput.displayName = CommandPrimitive.Input.displayName;
1466
1467
 
1467
1468
  // elements/combobox/Combobox.tsx
1468
1469
  var Combobox = React13.forwardRef(
@@ -1607,7 +1608,7 @@ var Combobox = React13.forwardRef(
1607
1608
  );
1608
1609
 
1609
1610
  // elements/fileDropzone/FileDropzone.tsx
1610
- import React14, { useEffect as useEffect3, useState as useState5 } from "react";
1611
+ import React14, { useEffect as useEffect4, useState as useState5 } from "react";
1611
1612
  import { useDropzone } from "react-dropzone";
1612
1613
  import clsx from "clsx";
1613
1614
  var FileDropzone = ({
@@ -1652,7 +1653,7 @@ var FileDropzone = ({
1652
1653
  );
1653
1654
  }
1654
1655
  });
1655
- useEffect3(
1656
+ useEffect4(
1656
1657
  () => () => {
1657
1658
  files == null ? void 0 : files.forEach((file) => {
1658
1659
  URL.revokeObjectURL(file.preview);
@@ -1660,7 +1661,7 @@ var FileDropzone = ({
1660
1661
  },
1661
1662
  [files]
1662
1663
  );
1663
- useEffect3(() => {
1664
+ useEffect4(() => {
1664
1665
  setFiles(acceptedFiles);
1665
1666
  }, [acceptedFiles, cmp, setFiles]);
1666
1667
  onClearFiles = () => {
@@ -1672,7 +1673,7 @@ var FileDropzone = ({
1672
1673
  acceptedFiles.length = 0;
1673
1674
  setFiles([]);
1674
1675
  };
1675
- useEffect3(() => {
1676
+ useEffect4(() => {
1676
1677
  if (maxSize > 0) {
1677
1678
  const k = 1024;
1678
1679
  const sizes = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
@@ -2000,7 +2001,7 @@ var AppStores = (props) => {
2000
2001
  };
2001
2002
 
2002
2003
  // elements/badge/Badge.tsx
2003
- import React19, { useEffect as useEffect5, useState as useState7, useRef as useRef5 } from "react";
2004
+ import React19, { useEffect as useEffect6, useState as useState7, useRef as useRef5 } from "react";
2004
2005
  var Badge = ({
2005
2006
  anchor,
2006
2007
  position = "right",
@@ -2015,7 +2016,7 @@ var Badge = ({
2015
2016
  default: { top: 4, left: 7, right: 5, classes: "hawa-w-3 hawa-h-3" },
2016
2017
  large: { top: 6, left: 12, right: 7, classes: "hawa-w-6 hawa-h-6" }
2017
2018
  };
2018
- useEffect5(() => {
2019
+ useEffect6(() => {
2019
2020
  const handlePositioning = () => {
2020
2021
  var _a;
2021
2022
  if (anchor.current && indicatorRef.current) {
@@ -2079,7 +2080,7 @@ var BadgedComponent = ({
2079
2080
  // elements/colorPicker/ColorPicker.tsx
2080
2081
  import React20, {
2081
2082
  useState as useState8,
2082
- useEffect as useEffect6
2083
+ useEffect as useEffect7
2083
2084
  } from "react";
2084
2085
  var ColorPicker = ({
2085
2086
  containerProps,
@@ -2092,7 +2093,7 @@ var ColorPicker = ({
2092
2093
  ...props
2093
2094
  }) => {
2094
2095
  const [selectedColor, setSelectedColor] = useState8(props.color);
2095
- useEffect6(() => {
2096
+ useEffect7(() => {
2096
2097
  if (selectedColor && selectedColor[0] !== "#") {
2097
2098
  setSelectedColor(`#${selectedColor}`);
2098
2099
  }
@@ -2374,7 +2375,7 @@ var Pagination = ({
2374
2375
  };
2375
2376
 
2376
2377
  // elements/passwordInput/PasswordInput.tsx
2377
- import React23, { useEffect as useEffect7, useState as useState9 } from "react";
2378
+ import React23, { useEffect as useEffect8, useState as useState9 } from "react";
2378
2379
  var PasswordStrengthIndicator = ({ strength }) => {
2379
2380
  const strengthLevels = [
2380
2381
  "none",
@@ -2422,7 +2423,7 @@ var PasswordInput = ({
2422
2423
  const [specialCharCriteriaMet, setSpecialCharCriteriaMet] = useState9(false);
2423
2424
  const [lowercaseCriteriaMet, setLowercaseCriteriaMet] = useState9(false);
2424
2425
  const [uppercaseCriteriaMet, setUppercaseCriteriaMet] = useState9(false);
2425
- useEffect7(() => {
2426
+ useEffect8(() => {
2426
2427
  const calculateStrength = () => {
2427
2428
  let strengthScore = 0;
2428
2429
  if (lengthCriteriaMet)
@@ -2605,7 +2606,7 @@ var SimpleTable = ({
2605
2606
  };
2606
2607
 
2607
2608
  // elements/scrollIndicator/ScrollIndicator.tsx
2608
- import React26, { useState as useState10, useEffect as useEffect8 } from "react";
2609
+ import React26, { useState as useState10, useEffect as useEffect9 } from "react";
2609
2610
  var ScrollIndicator = ({
2610
2611
  anchor,
2611
2612
  inContainer = false
@@ -2621,7 +2622,7 @@ var ScrollIndicator = ({
2621
2622
  setScrollPercentage(percentageScrolled);
2622
2623
  }
2623
2624
  };
2624
- useEffect8(() => {
2625
+ useEffect9(() => {
2625
2626
  if (!anchor.current)
2626
2627
  return;
2627
2628
  anchor.current.addEventListener("scroll", onScroll);
@@ -2806,7 +2807,7 @@ var CodeBlock = ({
2806
2807
  };
2807
2808
 
2808
2809
  // elements/carousel/Carousel.tsx
2809
- import React28, { useEffect as useEffect9, useState as useState12 } from "react";
2810
+ import React28, { useEffect as useEffect10, useState as useState12 } from "react";
2810
2811
  import useEmblaCarousel from "embla-carousel-react";
2811
2812
  var Carousel = ({
2812
2813
  items,
@@ -2823,7 +2824,7 @@ var Carousel = ({
2823
2824
  loop: autoplay ? true : (options == null ? void 0 : options.loop) || false
2824
2825
  });
2825
2826
  const [selectedIndex, setSelectedIndex] = useState12(0);
2826
- useEffect9(() => {
2827
+ useEffect10(() => {
2827
2828
  function selectHandler() {
2828
2829
  const index = emblaApi == null ? void 0 : emblaApi.selectedScrollSnap();
2829
2830
  setSelectedIndex(index || 0);
@@ -2833,7 +2834,7 @@ var Carousel = ({
2833
2834
  emblaApi == null ? void 0 : emblaApi.off("select", selectHandler);
2834
2835
  };
2835
2836
  }, [emblaApi]);
2836
- useEffect9(() => {
2837
+ useEffect10(() => {
2837
2838
  let autoplayTimer;
2838
2839
  if (autoplay && emblaApi) {
2839
2840
  autoplayTimer = setInterval(() => {
package/dist/index.css CHANGED
@@ -2783,9 +2783,6 @@ input[type="number"]::-webkit-inner-spin-button,
2783
2783
  .hawa-uppercase {
2784
2784
  text-transform: uppercase;
2785
2785
  }
2786
- .hawa-capitalize {
2787
- text-transform: capitalize;
2788
- }
2789
2786
  .hawa-leading-4 {
2790
2787
  line-height: 1rem;
2791
2788
  }
package/dist/index.d.mts CHANGED
@@ -700,7 +700,8 @@ declare const Input: React__default.ForwardRefExoticComponent<React__default.Inp
700
700
  prefixText?: any;
701
701
  } & React__default.RefAttributes<HTMLInputElement>>;
702
702
 
703
- type CommandProps = React$1.ComponentPropsWithoutRef<typeof Command$1>;
703
+ interface CommandProps extends React$1.ComponentPropsWithoutRef<typeof Command$1> {
704
+ }
704
705
  interface CommandDialogProps extends DialogProps {
705
706
  }
706
707
  interface CommandInputProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Input> {
@@ -717,7 +718,7 @@ interface CommandItemProps extends React$1.ComponentPropsWithoutRef<typeof Comma
717
718
  }
718
719
  interface CommandShortcutProps extends React$1.HTMLAttributes<HTMLSpanElement> {
719
720
  }
720
- declare const Command: React$1.ForwardRefExoticComponent<CommandProps & React$1.RefAttributes<React$1.ElementRef<typeof Command$1>>>;
721
+ declare const Command: React$1.ForwardRefExoticComponent<CommandProps & React$1.RefAttributes<HTMLDivElement>>;
721
722
  declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => React$1.JSX.Element;
722
723
  declare const CommandInput: React$1.ForwardRefExoticComponent<CommandInputProps & React$1.RefAttributes<HTMLInputElement>>;
723
724
  declare const CommandList: React$1.ForwardRefExoticComponent<CommandListProps & React$1.RefAttributes<HTMLDivElement>>;
@@ -983,7 +984,7 @@ type CodeBlockTypes = {
983
984
  /** Name of the file being displayed. */
984
985
  fileName?: string;
985
986
  /** Code content to be displayed within the code block.*/
986
- code?: string;
987
+ code: string;
987
988
  /** line numbers for code block */
988
989
  lineNumbers?: boolean;
989
990
  /** Wrap text in code block */
package/dist/index.d.ts CHANGED
@@ -700,7 +700,8 @@ declare const Input: React__default.ForwardRefExoticComponent<React__default.Inp
700
700
  prefixText?: any;
701
701
  } & React__default.RefAttributes<HTMLInputElement>>;
702
702
 
703
- type CommandProps = React$1.ComponentPropsWithoutRef<typeof Command$1>;
703
+ interface CommandProps extends React$1.ComponentPropsWithoutRef<typeof Command$1> {
704
+ }
704
705
  interface CommandDialogProps extends DialogProps {
705
706
  }
706
707
  interface CommandInputProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Input> {
@@ -717,7 +718,7 @@ interface CommandItemProps extends React$1.ComponentPropsWithoutRef<typeof Comma
717
718
  }
718
719
  interface CommandShortcutProps extends React$1.HTMLAttributes<HTMLSpanElement> {
719
720
  }
720
- declare const Command: React$1.ForwardRefExoticComponent<CommandProps & React$1.RefAttributes<React$1.ElementRef<typeof Command$1>>>;
721
+ declare const Command: React$1.ForwardRefExoticComponent<CommandProps & React$1.RefAttributes<HTMLDivElement>>;
721
722
  declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => React$1.JSX.Element;
722
723
  declare const CommandInput: React$1.ForwardRefExoticComponent<CommandInputProps & React$1.RefAttributes<HTMLInputElement>>;
723
724
  declare const CommandList: React$1.ForwardRefExoticComponent<CommandListProps & React$1.RefAttributes<HTMLDivElement>>;
@@ -983,7 +984,7 @@ type CodeBlockTypes = {
983
984
  /** Name of the file being displayed. */
984
985
  fileName?: string;
985
986
  /** Code content to be displayed within the code block.*/
986
- code?: string;
987
+ code: string;
987
988
  /** line numbers for code block */
988
989
  lineNumbers?: boolean;
989
990
  /** Wrap text in code block */
package/dist/index.js CHANGED
@@ -2849,15 +2849,9 @@ var DataTable = ({
2849
2849
  const [expanded, setExpanded] = React22.useState({});
2850
2850
  const [columnVisibility, setColumnVisibility] = React22.useState({});
2851
2851
  const [rowSelection, setRowSelection] = React22.useState({});
2852
- const visibleColumns = columns.filter(
2853
- (column) => {
2854
- var _a2;
2855
- return ((_a2 = column.meta) == null ? void 0 : _a2.hidden) !== true;
2856
- }
2857
- );
2858
2852
  const table = (0, import_react_table.useReactTable)({
2859
2853
  data,
2860
- columns: visibleColumns,
2854
+ columns,
2861
2855
  onExpandedChange: setExpanded,
2862
2856
  getExpandedRowModel: (0, import_react_table.getExpandedRowModel)(),
2863
2857
  onGlobalFilterChange: setGlobalFilter,
@@ -2877,15 +2871,22 @@ var DataTable = ({
2877
2871
  rowSelection,
2878
2872
  expanded
2879
2873
  }
2880
- // defaultColumn: {
2881
- // maxSize: 200
2882
- // }
2883
2874
  });
2884
2875
  const pageText = ((_a = props.texts) == null ? void 0 : _a.page) || "page";
2885
2876
  const itemsPerPageOptions = (_b = props.itemsPerPage) == null ? void 0 : _b.map((item) => ({
2886
2877
  label: `${item} / ${pageText}`,
2887
2878
  value: item
2888
2879
  }));
2880
+ React22.useEffect(() => {
2881
+ setColumnVisibility((prev) => {
2882
+ let newColumnVisibility = {};
2883
+ columns.forEach((column) => {
2884
+ var _a2;
2885
+ newColumnVisibility[column.accessorKey] = !((_a2 = column.meta) == null ? void 0 : _a2.hidden);
2886
+ });
2887
+ return newColumnVisibility;
2888
+ });
2889
+ }, [columns]);
2889
2890
  return /* @__PURE__ */ React22.createElement("div", { className: "hawa-flex hawa-w-full hawa-flex-col hawa-gap-4" }, (enableSearch || enableHideColumns) && /* @__PURE__ */ React22.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-4" }, enableSearch && /* @__PURE__ */ React22.createElement(
2890
2891
  Input,
2891
2892
  {
@@ -3482,7 +3483,6 @@ var Command = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3482
3483
  ...props
3483
3484
  }
3484
3485
  ));
3485
- Command.displayName = import_cmdk.Command.displayName;
3486
3486
  var CommandDialog = ({ children, ...props }) => {
3487
3487
  return /* @__PURE__ */ React25.createElement(Dialog, { ...props }, /* @__PURE__ */ React25.createElement(DialogContent, { className: "hawa-overflow-hidden hawa-p-0 hawa-shadow-lg" }, /* @__PURE__ */ React25.createElement(Command, { className: "[&_[cmdk-group-heading]]:hawa-px-2 [&_[cmdk-group-heading]]:hawa-font-medium [&_[cmdk-group-heading]]:hawa-text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:hawa-pt-0 [&_[cmdk-group]]:hawa-px-2 [&_[cmdk-input-wrapper]_svg]:hawa-h-5 [&_[cmdk-input-wrapper]_svg]:hawa-w-5 [&_[cmdk-input]]:hawa-h-12 [&_[cmdk-item]]:hawa-px-2 [&_[cmdk-item]]:hawa-py-3 [&_[cmdk-item]_svg]:hawa-h-5 [&_[cmdk-item]_svg]:hawa-w-5" }, children)));
3488
3488
  };
@@ -3522,7 +3522,6 @@ var CommandInput = React25.forwardRef(({ className, ...props }, ref) => /* @__PU
3522
3522
  }
3523
3523
  )
3524
3524
  ));
3525
- CommandInput.displayName = import_cmdk.Command.Input.displayName;
3526
3525
  var CommandList = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
3527
3526
  import_cmdk.Command.List,
3528
3527
  {
@@ -3534,7 +3533,6 @@ var CommandList = React25.forwardRef(({ className, ...props }, ref) => /* @__PUR
3534
3533
  ...props
3535
3534
  }
3536
3535
  ));
3537
- CommandList.displayName = import_cmdk.Command.List.displayName;
3538
3536
  var CommandEmpty = React25.forwardRef((props, ref) => /* @__PURE__ */ React25.createElement(
3539
3537
  import_cmdk.Command.Empty,
3540
3538
  {
@@ -3543,7 +3541,6 @@ var CommandEmpty = React25.forwardRef((props, ref) => /* @__PURE__ */ React25.cr
3543
3541
  ...props
3544
3542
  }
3545
3543
  ));
3546
- CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
3547
3544
  var CommandGroup = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
3548
3545
  import_cmdk.Command.Group,
3549
3546
  {
@@ -3555,7 +3552,6 @@ var CommandGroup = React25.forwardRef(({ className, ...props }, ref) => /* @__PU
3555
3552
  ...props
3556
3553
  }
3557
3554
  ));
3558
- CommandGroup.displayName = import_cmdk.Command.Group.displayName;
3559
3555
  var CommandSeparator = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
3560
3556
  import_cmdk.Command.Separator,
3561
3557
  {
@@ -3564,7 +3560,6 @@ var CommandSeparator = React25.forwardRef(({ className, ...props }, ref) => /* @
3564
3560
  ...props
3565
3561
  }
3566
3562
  ));
3567
- CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
3568
3563
  var CommandItem = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React25.createElement(
3569
3564
  import_cmdk.Command.Item,
3570
3565
  {
@@ -3576,7 +3571,6 @@ var CommandItem = React25.forwardRef(({ className, ...props }, ref) => /* @__PUR
3576
3571
  ...props
3577
3572
  }
3578
3573
  ));
3579
- CommandItem.displayName = import_cmdk.Command.Item.displayName;
3580
3574
  var CommandShortcut = ({
3581
3575
  className,
3582
3576
  ...props
@@ -3593,6 +3587,13 @@ var CommandShortcut = ({
3593
3587
  );
3594
3588
  };
3595
3589
  CommandShortcut.displayName = "CommandShortcut";
3590
+ CommandItem.displayName = import_cmdk.Command.Item.displayName;
3591
+ CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
3592
+ CommandGroup.displayName = import_cmdk.Command.Group.displayName;
3593
+ CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
3594
+ CommandList.displayName = import_cmdk.Command.List.displayName;
3595
+ Command.displayName = import_cmdk.Command.displayName;
3596
+ CommandInput.displayName = import_cmdk.Command.Input.displayName;
3596
3597
 
3597
3598
  // elements/popover/Popover.tsx
3598
3599
  var React26 = __toESM(require("react"));