@quantinuum/quantinuum-ui 3.6.0-release-input-group.1 → 3.6.1

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.
Files changed (78) hide show
  1. package/dist/src/custom/docs/QuantinuumLogo.js +1 -1
  2. package/dist/src/custom/docs/QuantinuumLogo.js.map +1 -1
  3. package/dist/src/custom/docs/components/footer/index.js +1 -1
  4. package/dist/src/custom/docs/components/header/CodeCopy.js +1 -1
  5. package/dist/src/custom/docs/components/header/index.js +1 -1
  6. package/dist/src/custom/docs/components/header/index.js.map +1 -1
  7. package/dist/src/custom/docs/components/helpcard/index.js +1 -1
  8. package/dist/src/custom/docs/components/helpcard/index.js.map +1 -1
  9. package/dist/src/custom/docs/components/navmenu/MobileMenu.js +1 -1
  10. package/dist/src/custom/docs/components/navmenu/MobileMenu.js.map +1 -1
  11. package/dist/src/custom/docs/components/navmenu/ModeSelector.js +1 -1
  12. package/dist/src/custom/docs/components/navmenu/ModeSelector.js.map +1 -1
  13. package/dist/src/custom/docs/components/navmenu/index.js +1 -1
  14. package/dist/src/custom/docs/components/triplecard/Card.js +1 -1
  15. package/dist/src/custom/docs/components/triplecard/Card.js.map +1 -1
  16. package/dist/src/custom/icons.js +1 -1
  17. package/dist/src/custom/icons.js.map +1 -1
  18. package/dist/src/index.js +1 -1
  19. package/dist/src/shadcn/ui/accordion.js +1 -1
  20. package/dist/src/shadcn/ui/alert.js +1 -1
  21. package/dist/src/shadcn/ui/alert.js.map +1 -1
  22. package/dist/src/shadcn/ui/avatar.js +1 -1
  23. package/dist/src/shadcn/ui/badge.js +1 -1
  24. package/dist/src/shadcn/ui/badge.js.map +1 -1
  25. package/dist/src/shadcn/ui/breadcrumb.js +1 -1
  26. package/dist/src/shadcn/ui/breadcrumb.js.map +1 -1
  27. package/dist/src/shadcn/ui/button.js +1 -1
  28. package/dist/src/shadcn/ui/button.js.map +1 -1
  29. package/dist/src/shadcn/ui/calendar.js +1 -1
  30. package/dist/src/shadcn/ui/card.js +1 -1
  31. package/dist/src/shadcn/ui/card.js.map +1 -1
  32. package/dist/src/shadcn/ui/checkbox.js +1 -1
  33. package/dist/src/shadcn/ui/command.js +1 -1
  34. package/dist/src/shadcn/ui/dialog.js +1 -1
  35. package/dist/src/shadcn/ui/dropdown-menu.js +1 -1
  36. package/dist/src/shadcn/ui/form.js +1 -1
  37. package/dist/src/shadcn/ui/hover-card.js +1 -1
  38. package/dist/src/shadcn/ui/input-group.js +1 -1
  39. package/dist/src/shadcn/ui/input-otp.js +1 -1
  40. package/dist/src/shadcn/ui/input.js +1 -1
  41. package/dist/src/shadcn/ui/input.js.map +1 -1
  42. package/dist/src/shadcn/ui/label.js +1 -1
  43. package/dist/src/shadcn/ui/navigation-menu.js +1 -1
  44. package/dist/src/shadcn/ui/navigation-menu.js.map +1 -1
  45. package/dist/src/shadcn/ui/pagination.js +1 -1
  46. package/dist/src/shadcn/ui/pagination.js.map +1 -1
  47. package/dist/src/shadcn/ui/popover.js +1 -1
  48. package/dist/src/shadcn/ui/progress.js +1 -1
  49. package/dist/src/shadcn/ui/radio-group.js +1 -1
  50. package/dist/src/shadcn/ui/scroll-area.js +1 -1
  51. package/dist/src/shadcn/ui/select.js +1 -1
  52. package/dist/src/shadcn/ui/separator.js +1 -1
  53. package/dist/src/shadcn/ui/sheet.js +1 -1
  54. package/dist/src/shadcn/ui/skeleton.js +1 -1
  55. package/dist/src/shadcn/ui/skeleton.js.map +1 -1
  56. package/dist/src/shadcn/ui/sonner.js +1 -1
  57. package/dist/src/shadcn/ui/switch.js +1 -1
  58. package/dist/src/shadcn/ui/table.js +1 -1
  59. package/dist/src/shadcn/ui/table.js.map +1 -1
  60. package/dist/src/shadcn/ui/tabs.js +1 -1
  61. package/dist/src/shadcn/ui/textarea.js +1 -1
  62. package/dist/src/shadcn/ui/textarea.js.map +1 -1
  63. package/dist/src/shadcn/ui/toggle-group.js +1 -1
  64. package/dist/src/shadcn/ui/toggle.js +1 -1
  65. package/dist/src/shadcn/ui/tooltip.js +1 -1
  66. package/dist/src/utils/{index.js → cn.js} +1 -1
  67. package/dist/src/utils/cn.js.map +1 -0
  68. package/dist/tailwind-manifest.js +18077 -18077
  69. package/dist/types/src/custom/docs/components/header/index.d.ts +1 -1
  70. package/dist/types/src/custom/docs/components/triplecard/Card.d.ts +1 -1
  71. package/dist/types/src/shadcn/ui/button.d.ts +1 -1
  72. package/dist/types/src/shadcn/ui/command.d.ts +5 -5
  73. package/dist/types/src/shadcn/ui/dropdown-menu.d.ts +2 -2
  74. package/dist/types/src/shadcn/ui/input-otp.d.ts +1 -1
  75. package/dist/types/src/utils/cn.d.ts +2 -0
  76. package/dist/types/src/utils/index.d.ts +1 -2
  77. package/package.json +11 -4
  78. package/dist/src/utils/index.js.map +0 -1
@@ -5,4 +5,4 @@ declare const DocsHeaderSubtitle: React.ForwardRefExoticComponent<React.InputHTM
5
5
  declare const DocsHeaderLeft: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLDivElement>>;
6
6
  declare const DocsHeaderRight: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLDivElement>>;
7
7
  declare const DocsHeaderWrapper: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLDivElement>>;
8
- export { DocsHeaderWrapper, DocsHeaderRight, DocsHeaderLeft, DocsHeaderTitle, DocsHeaderSubtitle, CodeCopy };
8
+ export { CodeCopy, DocsHeaderLeft, DocsHeaderRight, DocsHeaderSubtitle, DocsHeaderTitle, DocsHeaderWrapper };
@@ -2,4 +2,4 @@ import React from 'react';
2
2
  declare const CardTitle: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
3
3
  declare const CardSubtitle: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
4
4
  declare const Card: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
5
- export { Card, CardTitle, CardSubtitle };
5
+ export { Card, CardSubtitle, CardTitle };
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import { type VariantProps } from "class-variance-authority";
2
+ import * as React from "react";
3
3
  declare const buttonVariants: (props?: ({
4
4
  variant?: "link" | "secondary" | "destructive" | "default" | "outline" | "ghost" | null | undefined;
5
5
  size?: "sm" | "lg" | "default" | "icon" | null | undefined;
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import { type DialogProps } from "@radix-ui/react-dialog";
2
+ import * as React from "react";
3
3
  declare const Command: React.ForwardRefExoticComponent<Omit<{
4
4
  children?: React.ReactNode;
5
5
  } & React.HTMLAttributes<HTMLDivElement> & {
@@ -11,7 +11,7 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
11
11
  loop?: boolean | undefined;
12
12
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
13
  declare const CommandDialog: ({ children, ...props }: DialogProps) => import("react/jsx-runtime").JSX.Element;
14
- declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type"> & {
14
+ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "type" | "value"> & {
15
15
  value?: string | undefined;
16
16
  onValueChange?: ((search: string) => void) | undefined;
17
17
  } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -23,7 +23,7 @@ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
23
23
  } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
24
24
  declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
25
25
  children?: React.ReactNode;
26
- } & Omit<React.HTMLAttributes<HTMLDivElement>, "value" | "heading"> & {
26
+ } & Omit<React.HTMLAttributes<HTMLDivElement>, "heading" | "value"> & {
27
27
  heading?: React.ReactNode;
28
28
  value?: string | undefined;
29
29
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -32,7 +32,7 @@ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<React.HTMLA
32
32
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
33
33
  declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
34
34
  children?: React.ReactNode;
35
- } & Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect" | "value" | "disabled"> & {
35
+ } & Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect" | "disabled" | "value"> & {
36
36
  disabled?: boolean | undefined;
37
37
  onSelect?: ((value: string) => void) | undefined;
38
38
  value?: string | undefined;
@@ -41,4 +41,4 @@ declare const CommandShortcut: {
41
41
  ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
42
42
  displayName: string;
43
43
  };
44
- export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
44
+ export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
@@ -1,5 +1,5 @@
1
- import * as React from "react";
2
1
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
2
+ import * as React from "react";
3
3
  declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
4
4
  declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
5
  declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
@@ -24,4 +24,4 @@ declare const DropdownMenuShortcut: {
24
24
  ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
25
25
  displayName: string;
26
26
  };
27
- export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup, };
27
+ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
@@ -31,4 +31,4 @@ declare const InputOTPSlot: React.ForwardRefExoticComponent<Omit<React.DetailedH
31
31
  index: number;
32
32
  } & React.RefAttributes<HTMLDivElement>>;
33
33
  declare const InputOTPSeparator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
34
- export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator };
34
+ export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
@@ -0,0 +1,2 @@
1
+ import { type ClassValue } from "clsx";
2
+ export declare function cn(...inputs: ClassValue[]): string;
@@ -1,3 +1,2 @@
1
- import { type ClassValue } from "clsx";
1
+ export * from "./cn";
2
2
  export * from "./darkMode";
3
- export declare function cn(...inputs: ClassValue[]): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantinuum/quantinuum-ui",
3
- "version": "3.6.0-release-input-group.1",
3
+ "version": "3.6.1",
4
4
  "description": "Quantinuum design tokens and React components",
5
5
  "private": false,
6
6
  "author": {
@@ -11,14 +11,15 @@
11
11
  "scripts": {
12
12
  "storybook": "storybook dev -p 6006",
13
13
  "build-storybook": "rm -rf ./dist && rollup -c && storybook build && cp ./dist/src/utils/syncTheme.js ./storybook-static/syncTheme.js",
14
- "lint": "tsc",
15
- "build": "rm -rf ./dist && rollup -c"
14
+ "lint": "tsc && eslint src",
15
+ "build": "rm -rf ./dist && rollup -c",
16
+ "prepare": "husky"
16
17
  },
17
18
  "release": {
18
19
  "branches": [
19
20
  "main",
20
21
  {
21
- "name": "release-input-group",
22
+ "name": "NRP-2803-fix-circular-dependencies",
22
23
  "prerelease": true
23
24
  }
24
25
  ]
@@ -54,6 +55,7 @@
54
55
  "homepage": "https://github.com/Quantinuum/quantinuum-ui#readme",
55
56
  "devDependencies": {
56
57
  "@chromatic-com/storybook": "^4.1.1",
58
+ "@eslint/compat": "^2.0.2",
57
59
  "@rollup/plugin-commonjs": "^22.0.0",
58
60
  "@rollup/plugin-node-resolve": "^13.3.0",
59
61
  "@rollup/plugin-typescript": "^8.3.3",
@@ -63,9 +65,14 @@
63
65
  "@storybook/react-vite": "^9.1.10",
64
66
  "@tailwindcss/typography": "^0.5.15",
65
67
  "@types/react-dom": "^18.2.22",
68
+ "@typescript-eslint/parser": "^8.55.0",
66
69
  "@vitejs/plugin-react": "^4.3.4",
67
70
  "autoprefixer": "^10.4.16",
68
71
  "date-fns": "^3.6.0",
72
+ "eslint": "^9.39.2",
73
+ "eslint-import-resolver-typescript": "^4.4.4",
74
+ "eslint-plugin-import": "^2.32.0",
75
+ "husky": "^9.1.7",
69
76
  "postcss": "^8.4.32",
70
77
  "prop-types": "^15.8.1",
71
78
  "rollup": "^2.79.2",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/utils/index.ts"],"sourcesContent":[null],"names":["cn","inputs","twMerge","clsx"],"mappings":"mJAGgB,SAAAA,KAAMC,GACpB,OAAOC,EAAQC,EAAKF,GACtB"}