@kinetixui/ui 0.4.3 → 0.5.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 (76) hide show
  1. package/dist/index.js +7 -3
  2. package/package.json +4 -4
  3. package/src/components/chart.tsx +15 -3
  4. package/src/stories/Accordion.stories.tsx +2 -2
  5. package/src/stories/Alert.stories.tsx +2 -2
  6. package/src/stories/AlertDialog.stories.tsx +2 -2
  7. package/src/stories/AspectRatio.stories.tsx +2 -2
  8. package/src/stories/AudioPlayer.stories.tsx +2 -2
  9. package/src/stories/Avatar.stories.tsx +2 -2
  10. package/src/stories/AvatarGroup.stories.tsx +2 -2
  11. package/src/stories/Badge.stories.tsx +2 -2
  12. package/src/stories/Breadcrumb.stories.tsx +2 -2
  13. package/src/stories/Button.stories.tsx +1 -1
  14. package/src/stories/Calendar.stories.tsx +2 -2
  15. package/src/stories/Card.stories.tsx +2 -2
  16. package/src/stories/Carousel.stories.tsx +2 -2
  17. package/src/stories/Chart.stories.tsx +2 -2
  18. package/src/stories/Checkbox.stories.tsx +2 -2
  19. package/src/stories/CircularProgress.stories.tsx +2 -2
  20. package/src/stories/CodeBlock.stories.tsx +2 -2
  21. package/src/stories/Collapsible.stories.tsx +2 -2
  22. package/src/stories/Combobox.stories.tsx +2 -2
  23. package/src/stories/Command.stories.tsx +2 -2
  24. package/src/stories/ContextMenu.stories.tsx +2 -2
  25. package/src/stories/DataTable.stories.tsx +2 -2
  26. package/src/stories/DatePicker.stories.tsx +2 -2
  27. package/src/stories/Dialog.stories.tsx +2 -2
  28. package/src/stories/Drawer.stories.tsx +2 -2
  29. package/src/stories/DropdownMenu.stories.tsx +2 -2
  30. package/src/stories/Fab.stories.tsx +2 -2
  31. package/src/stories/Field.stories.tsx +2 -2
  32. package/src/stories/FileUpload.stories.tsx +2 -2
  33. package/src/stories/Footer.stories.tsx +2 -2
  34. package/src/stories/Form.stories.tsx +2 -2
  35. package/src/stories/HoverCard.stories.tsx +2 -2
  36. package/src/stories/Image.stories.tsx +2 -2
  37. package/src/stories/Inform.stories.tsx +2 -2
  38. package/src/stories/Input.stories.tsx +1 -1
  39. package/src/stories/InputGroup.stories.tsx +2 -2
  40. package/src/stories/InputOTP.stories.tsx +2 -2
  41. package/src/stories/Label.stories.tsx +2 -2
  42. package/src/stories/List.stories.tsx +2 -2
  43. package/src/stories/Menubar.stories.tsx +2 -2
  44. package/src/stories/Metric.stories.tsx +2 -2
  45. package/src/stories/Modal.stories.tsx +2 -2
  46. package/src/stories/NavigationBar.stories.tsx +2 -2
  47. package/src/stories/NavigationMenu.stories.tsx +2 -2
  48. package/src/stories/NumberInput.stories.tsx +2 -2
  49. package/src/stories/Pagination.stories.tsx +2 -2
  50. package/src/stories/PasswordInput.stories.tsx +2 -2
  51. package/src/stories/Popover.stories.tsx +2 -2
  52. package/src/stories/Progress.stories.tsx +2 -2
  53. package/src/stories/Quote.stories.tsx +2 -2
  54. package/src/stories/RadioGroup.stories.tsx +2 -2
  55. package/src/stories/Rating.stories.tsx +2 -2
  56. package/src/stories/Resizable.stories.tsx +2 -2
  57. package/src/stories/ScrollArea.stories.tsx +2 -2
  58. package/src/stories/Select.stories.tsx +2 -2
  59. package/src/stories/Separator.stories.tsx +2 -2
  60. package/src/stories/Sheet.stories.tsx +2 -2
  61. package/src/stories/Sidebar.stories.tsx +2 -2
  62. package/src/stories/Skeleton.stories.tsx +2 -2
  63. package/src/stories/Slider.stories.tsx +2 -2
  64. package/src/stories/Sonner.stories.tsx +2 -2
  65. package/src/stories/Spinner.stories.tsx +2 -2
  66. package/src/stories/Stepper.stories.tsx +2 -2
  67. package/src/stories/Switch.stories.tsx +2 -2
  68. package/src/stories/TabBar.stories.tsx +2 -2
  69. package/src/stories/Table.stories.tsx +2 -2
  70. package/src/stories/TableOfContents.stories.tsx +2 -2
  71. package/src/stories/Tabs.stories.tsx +2 -2
  72. package/src/stories/Tag.stories.tsx +2 -2
  73. package/src/stories/Textarea.stories.tsx +1 -1
  74. package/src/stories/Toggle.stories.tsx +2 -2
  75. package/src/stories/ToggleGroup.stories.tsx +2 -2
  76. package/src/stories/Tooltip.stories.tsx +2 -2
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Field, FieldControl, FieldDescription, FieldLabel, FieldMessage, Input } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => {
@@ -26,7 +26,7 @@ const meta = {
26
26
  title: "Form Inputs/Field",
27
27
  parameters: {
28
28
  layout: "centered",
29
- docs: { source: { code: `<Field invalid={!!error}>\n <FieldLabel>Email</FieldLabel>\n <FieldControl><Input type="email" {...register("email")} /></FieldControl>\n <FieldDescription>We'll only use it to send receipts.</FieldDescription>\n {error && <FieldMessage intent="error">{error.message}</FieldMessage>}\n</Field>`, language: "tsx" } },
29
+ docs: { source: { code: "<Field invalid={!!error}>\\n <FieldLabel>Email</FieldLabel>\\n <FieldControl><Input type=\"email\" {...register(\"email\")} /></FieldControl>\\n <FieldDescription>We'll only use it to send receipts.</FieldDescription>\\n {error && <FieldMessage intent=\"error\">{error.message}</FieldMessage>}\\n</Field>", language: "tsx" } },
30
30
  },
31
31
  } satisfies Meta;
32
32
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { FileUpload } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => {
@@ -27,7 +27,7 @@ const meta = {
27
27
  title: "Form Inputs/FileUpload",
28
28
  parameters: {
29
29
  layout: "centered",
30
- docs: { source: { code: `<FileUpload\n multiple\n files={files}\n onFilesSelected={(picked) => upload(picked)}\n onRemove={(id) => removeFile(id)}\n/>`, language: "tsx" } },
30
+ docs: { source: { code: "<FileUpload\\n multiple\\n files={files}\\n onFilesSelected={(picked) => upload(picked)}\\n onRemove={(id) => removeFile(id)}\\n/>", language: "tsx" } },
31
31
  },
32
32
  } satisfies Meta;
33
33
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Footer, FooterBottom, FooterColumn, FooterLink } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -30,7 +30,7 @@ const meta = {
30
30
  title: "Data Display/Footer",
31
31
  parameters: {
32
32
  layout: "padded",
33
- docs: { source: { code: `<Footer>\n <div className="grid grid-cols-2 gap-6">\n <FooterColumn title="Product">\n <FooterLink href="/pricing">Pricing</FooterLink>\n </FooterColumn>\n </div>\n <FooterBottom>© 2026 Acme Inc.</FooterBottom>\n</Footer>`, language: "tsx" } },
33
+ docs: { source: { code: "<Footer>\\n <div className=\"grid grid-cols-2 gap-6\">\\n <FooterColumn title=\"Product\">\\n <FooterLink href=\"/pricing\">Pricing</FooterLink>\\n </FooterColumn>\\n </div>\\n <FooterBottom>© 2026 Acme Inc.</FooterBottom>\\n</Footer>", language: "tsx" } },
34
34
  },
35
35
  } satisfies Meta;
36
36
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Button, Input } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -19,7 +19,7 @@ const meta = {
19
19
  title: "Form Inputs/Form",
20
20
  parameters: {
21
21
  layout: "centered",
22
- docs: { source: { code: `const form = useForm<z.infer<typeof schema>>({ resolver: zodResolver(schema) })\n\n<Form {...form}>\n <form onSubmit={form.handleSubmit(onSubmit)}>\n <FormField control={form.control} name="username" render={({ field }) => (\n <FormItem>\n <FormLabel>Username</FormLabel>\n <FormControl><Input {...field} /></FormControl>\n <FormMessage />\n </FormItem>\n )} />\n <Button type="submit">Submit</Button>\n </form>\n</Form>`, language: "tsx" } },
22
+ docs: { source: { code: "const form = useForm<z.infer<typeof schema>>({ resolver: zodResolver(schema) })\\n\\n<Form {...form}>\\n <form onSubmit={form.handleSubmit(onSubmit)}>\\n <FormField control={form.control} name=\"username\" render={({ field }) => (\\n <FormItem>\\n <FormLabel>Username</FormLabel>\\n <FormControl><Input {...field} /></FormControl>\\n <FormMessage />\\n </FormItem>\\n )} />\\n <Button type=\"submit\">Submit</Button>\\n </form>\\n</Form>", language: "tsx" } },
23
23
  },
24
24
  } satisfies Meta;
25
25
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx · controls: scripts/gen-stories.mjs CONTROLS */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Button, HoverCard, HoverCardContent, HoverCardTrigger } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -23,7 +23,7 @@ const meta = {
23
23
  },
24
24
  parameters: {
25
25
  layout: "centered",
26
- docs: { source: { code: `<HoverCard>\n <HoverCardTrigger>@kinetixui</HoverCardTrigger>\n <HoverCardContent>…</HoverCardContent>\n</HoverCard>`, language: "tsx" } },
26
+ docs: { source: { code: "<HoverCard>\\n <HoverCardTrigger>@kinetixui</HoverCardTrigger>\\n <HoverCardContent>…</HoverCardContent>\\n</HoverCard>", language: "tsx" } },
27
27
  },
28
28
  } satisfies Meta;
29
29
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx · controls: scripts/gen-stories.mjs CONTROLS */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Image } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -22,7 +22,7 @@ const meta = {
22
22
  },
23
23
  parameters: {
24
24
  layout: "centered",
25
- docs: { source: { code: `<Image ratio="1:1" src="/photo.jpg" alt="" />\n<Image ratio="4:3" src="/photo.jpg" alt="" />\n<Image ratio="16:9" src="/photo.jpg" alt="" rounded={false} />`, language: "tsx" } },
25
+ docs: { source: { code: "<Image ratio=\"1:1\" src=\"/photo.jpg\" alt=\"\" />\\n<Image ratio=\"4:3\" src=\"/photo.jpg\" alt=\"\" />\\n<Image ratio=\"16:9\" src=\"/photo.jpg\" alt=\"\" rounded={false} />", language: "tsx" } },
26
26
  },
27
27
  } satisfies Meta;
28
28
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx · controls: scripts/gen-stories.mjs CONTROLS */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Inform } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -26,7 +26,7 @@ const meta = {
26
26
  },
27
27
  parameters: {
28
28
  layout: "centered",
29
- docs: { source: { code: `<Inform variant="information" onDismiss={close}>\n A new software update is available.\n</Inform>\n\n<Inform variant="error" action={{ label: "Retry", onClick: retry }}>\n We couldn't process your payment.\n</Inform>`, language: "tsx" } },
29
+ docs: { source: { code: "<Inform variant=\"information\" onDismiss={close}>\\n A new software update is available.\\n</Inform>\\n\\n<Inform variant=\"error\" action={{ label: \"Retry\", onClick: retry }}>\\n We couldn't process your payment.\\n</Inform>", language: "tsx" } },
30
30
  },
31
31
  } satisfies Meta;
32
32
 
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-vite";
2
2
  import { Input } from "../components/input";
3
3
 
4
4
  const STATES = ["Default", "Focus", "Error", "Disabled"] as const;
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText } from "@kinetixui/ui";
6
6
  import { Search } from "lucide-react";
7
7
 
@@ -27,7 +27,7 @@ const meta = {
27
27
  title: "Form Inputs/InputGroup",
28
28
  parameters: {
29
29
  layout: "centered",
30
- docs: { source: { code: `<InputGroup>\n <InputGroupText>https://</InputGroupText>\n <InputGroupInput placeholder="kinetixui.com" />\n</InputGroup>\n\n<InputGroup>\n <InputGroupAddon align="start">$</InputGroupAddon>\n <InputGroupInput placeholder="0.00" />\n <InputGroupText>USD</InputGroupText>\n</InputGroup>`, language: "tsx" } },
30
+ docs: { source: { code: "<InputGroup>\\n <InputGroupText>https://</InputGroupText>\\n <InputGroupInput placeholder=\"kinetixui.com\" />\\n</InputGroup>\\n\\n<InputGroup>\\n <InputGroupAddon align=\"start\">$</InputGroupAddon>\\n <InputGroupInput placeholder=\"0.00\" />\\n <InputGroupText>USD</InputGroupText>\\n</InputGroup>", language: "tsx" } },
31
31
  },
32
32
  } satisfies Meta;
33
33
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { InputOTP, InputOTPGroup, InputOTPSlot } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -18,7 +18,7 @@ const meta = {
18
18
  title: "Form Inputs/InputOTP",
19
19
  parameters: {
20
20
  layout: "centered",
21
- docs: { source: { code: `<InputOTP maxLength={6}>\n <InputOTPGroup>\n <InputOTPSlot index={0} />\n ...\n <InputOTPSlot index={5} />\n </InputOTPGroup>\n</InputOTP>`, language: "tsx" } },
21
+ docs: { source: { code: "<InputOTP maxLength={6}>\\n <InputOTPGroup>\\n <InputOTPSlot index={0} />\\n ...\\n <InputOTPSlot index={5} />\\n </InputOTPGroup>\\n</InputOTP>", language: "tsx" } },
22
22
  },
23
23
  } satisfies Meta;
24
24
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Checkbox, Label } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -15,7 +15,7 @@ const meta = {
15
15
  title: "Foundations/Label",
16
16
  parameters: {
17
17
  layout: "centered",
18
- docs: { source: { code: `<Label htmlFor="email">Your email address</Label>`, language: "tsx" } },
18
+ docs: { source: { code: "<Label htmlFor=\"email\">Your email address</Label>", language: "tsx" } },
19
19
  },
20
20
  } satisfies Meta;
21
21
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Badge, List, ListItem, Switch } from "@kinetixui/ui";
6
6
  import { Bell, Settings, User } from "lucide-react";
7
7
 
@@ -17,7 +17,7 @@ const meta = {
17
17
  title: "Data Display/List",
18
18
  parameters: {
19
19
  layout: "centered",
20
- docs: { source: { code: `<List>\n <ListItem\n leading={<User />}\n title="Profile"\n description="Name, photo, and personal details"\n onSelect={() => router.push("/profile")}\n />\n <ListItem leading={<Bell />} title="Notifications" trailing={<Switch />} />\n</List>`, language: "tsx" } },
20
+ docs: { source: { code: "<List>\\n <ListItem\\n leading={<User />}\\n title=\"Profile\"\\n description=\"Name, photo, and personal details\"\\n onSelect={() => router.push(\"/profile\")}\\n />\\n <ListItem leading={<Bell />} title=\"Notifications\" trailing={<Switch />} />\\n</List>", language: "tsx" } },
21
21
  },
22
22
  } satisfies Meta;
23
23
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Menubar, MenubarContent, MenubarItem, MenubarMenu, MenubarSeparator, MenubarTrigger } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -29,7 +29,7 @@ const meta = {
29
29
  title: "Navigation/Menubar",
30
30
  parameters: {
31
31
  layout: "padded",
32
- docs: { source: { code: `<Menubar>\n <MenubarMenu>\n <MenubarTrigger>File</MenubarTrigger>\n <MenubarContent>\n <MenubarItem>New Tab</MenubarItem>\n </MenubarContent>\n </MenubarMenu>\n</Menubar>`, language: "tsx" } },
32
+ docs: { source: { code: "<Menubar>\\n <MenubarMenu>\\n <MenubarTrigger>File</MenubarTrigger>\\n <MenubarContent>\\n <MenubarItem>New Tab</MenubarItem>\\n </MenubarContent>\\n </MenubarMenu>\\n</Menubar>", language: "tsx" } },
33
33
  },
34
34
  } satisfies Meta;
35
35
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx · controls: scripts/gen-stories.mjs CONTROLS */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Metric } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -21,7 +21,7 @@ const meta = {
21
21
  },
22
22
  parameters: {
23
23
  layout: "centered",
24
- docs: { source: { code: `<Metric label="Active users" value="2,420" trend="up" change="12%" />`, language: "tsx" } },
24
+ docs: { source: { code: "<Metric label=\"Active users\" value=\"2,420\" trend=\"up\" change=\"12%\" />", language: "tsx" } },
25
25
  },
26
26
  } satisfies Meta;
27
27
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Button, Dialog, Modal } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -22,7 +22,7 @@ const meta = {
22
22
  title: "Overlays/Modal",
23
23
  parameters: {
24
24
  layout: "centered",
25
- docs: { source: { code: `<Modal\n type="Confirmation"\n title="Are you sure?"\n description="This action cannot be undone."\n trigger={<Button variant="Outline">Delete</Button>}\n onAction={handleDelete}\n/>`, language: "tsx" } },
25
+ docs: { source: { code: "<Modal\\n type=\"Confirmation\"\\n title=\"Are you sure?\"\\n description=\"This action cannot be undone.\"\\n trigger={<Button variant=\"Outline\">Delete</Button>}\\n onAction={handleDelete}\\n/>", language: "tsx" } },
26
26
  },
27
27
  } satisfies Meta;
28
28
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { NavigationBar } from "@kinetixui/ui";
6
6
  import { Search } from "lucide-react";
7
7
 
@@ -23,7 +23,7 @@ const meta = {
23
23
  title: "Navigation/NavigationBar",
24
24
  parameters: {
25
25
  layout: "centered",
26
- docs: { source: { code: `<NavigationBar\n title="Appointments"\n infoText="3 upcoming"\n onBack={() => router.back()}\n actions={<Button variant="Ghost" size="icon"><Search /></Button>}\n/>`, language: "tsx" } },
26
+ docs: { source: { code: "<NavigationBar\\n title=\"Appointments\"\\n infoText=\"3 upcoming\"\\n onBack={() => router.back()}\\n actions={<Button variant=\"Ghost\" size=\"icon\"><Search /></Button>}\\n/>", language: "tsx" } },
27
27
  },
28
28
  } satisfies Meta;
29
29
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -25,7 +25,7 @@ const meta = {
25
25
  title: "Navigation/NavigationMenu",
26
26
  parameters: {
27
27
  layout: "padded",
28
- docs: { source: { code: `<NavigationMenu>\n <NavigationMenuList>\n <NavigationMenuItem>\n <NavigationMenuTrigger>Getting started</NavigationMenuTrigger>\n <NavigationMenuContent>…</NavigationMenuContent>\n </NavigationMenuItem>\n </NavigationMenuList>\n</NavigationMenu>`, language: "tsx" } },
28
+ docs: { source: { code: "<NavigationMenu>\\n <NavigationMenuList>\\n <NavigationMenuItem>\\n <NavigationMenuTrigger>Getting started</NavigationMenuTrigger>\\n <NavigationMenuContent>…</NavigationMenuContent>\\n </NavigationMenuItem>\\n </NavigationMenuList>\\n</NavigationMenu>", language: "tsx" } },
29
29
  },
30
30
  } satisfies Meta;
31
31
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx · controls: scripts/gen-stories.mjs CONTROLS */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { NumberInput } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => {
@@ -18,7 +18,7 @@ const meta = {
18
18
  },
19
19
  parameters: {
20
20
  layout: "centered",
21
- docs: { source: { code: `<NumberInput value={qty} onChange={setQty} min={0} max={10} />`, language: "tsx" } },
21
+ docs: { source: { code: "<NumberInput value={qty} onChange={setQty} min={0} max={10} />", language: "tsx" } },
22
22
  },
23
23
  } satisfies Meta;
24
24
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -21,7 +21,7 @@ const meta = {
21
21
  title: "Controls & Actions/Pagination",
22
22
  parameters: {
23
23
  layout: "centered",
24
- docs: { source: { code: `<Pagination>\n <PaginationContent>\n <PaginationItem><PaginationPrevious href="#" /></PaginationItem>\n <PaginationItem><PaginationLink href="#" isActive>2</PaginationLink></PaginationItem>\n <PaginationItem><PaginationNext href="#" /></PaginationItem>\n </PaginationContent>\n</Pagination>`, language: "tsx" } },
24
+ docs: { source: { code: "<Pagination>\\n <PaginationContent>\\n <PaginationItem><PaginationPrevious href=\"#\" /></PaginationItem>\\n <PaginationItem><PaginationLink href=\"#\" isActive>2</PaginationLink></PaginationItem>\\n <PaginationItem><PaginationNext href=\"#\" /></PaginationItem>\\n </PaginationContent>\\n</Pagination>", language: "tsx" } },
25
25
  },
26
26
  } satisfies Meta;
27
27
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { PasswordInput } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -14,7 +14,7 @@ const meta = {
14
14
  title: "Form Inputs/PasswordInput",
15
15
  parameters: {
16
16
  layout: "centered",
17
- docs: { source: { code: `<PasswordInput placeholder="••••••••" />`, language: "tsx" } },
17
+ docs: { source: { code: "<PasswordInput placeholder=\"••••••••\" />", language: "tsx" } },
18
18
  },
19
19
  } satisfies Meta;
20
20
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx · controls: scripts/gen-stories.mjs CONTROLS */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Button, Popover, PopoverContent, PopoverTrigger } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -26,7 +26,7 @@ const meta = {
26
26
  },
27
27
  parameters: {
28
28
  layout: "centered",
29
- docs: { source: { code: `<Popover>\n <PopoverTrigger asChild><Button variant="Outline">Open popover</Button></PopoverTrigger>\n <PopoverContent>…</PopoverContent>\n</Popover>`, language: "tsx" } },
29
+ docs: { source: { code: "<Popover>\\n <PopoverTrigger asChild><Button variant=\"Outline\">Open popover</Button></PopoverTrigger>\\n <PopoverContent>…</PopoverContent>\\n</Popover>", language: "tsx" } },
30
30
  },
31
31
  } satisfies Meta;
32
32
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx · controls: scripts/gen-stories.mjs CONTROLS */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Progress } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => {
@@ -20,7 +20,7 @@ const meta = {
20
20
  argTypes: { value: { control: { type: "range", min: 0, max: 100 } } },
21
21
  parameters: {
22
22
  layout: "centered",
23
- docs: { source: { code: `const [value, setValue] = React.useState(13)\n// ...\n<Progress value={value} />`, language: "tsx" } },
23
+ docs: { source: { code: "const [value, setValue] = React.useState(13)\\n// ...\\n<Progress value={value} />", language: "tsx" } },
24
24
  },
25
25
  } satisfies Meta;
26
26
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Avatar, AvatarFallback, Quote } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -23,7 +23,7 @@ const meta = {
23
23
  title: "Data Display/Quote",
24
24
  parameters: {
25
25
  layout: "centered",
26
- docs: { source: { code: `<Quote author="Amira K." authorTitle="Product Designer" avatar={<Avatar>...</Avatar>}>\n This is exactly the token workflow our team needed.\n</Quote>`, language: "tsx" } },
26
+ docs: { source: { code: "<Quote author=\"Amira K.\" authorTitle=\"Product Designer\" avatar={<Avatar>...</Avatar>}>\\n This is exactly the token workflow our team needed.\\n</Quote>", language: "tsx" } },
27
27
  },
28
28
  } satisfies Meta;
29
29
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx · controls: scripts/gen-stories.mjs CONTROLS */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Label, RadioGroup, RadioGroupItem } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -25,7 +25,7 @@ const meta = {
25
25
  },
26
26
  parameters: {
27
27
  layout: "centered",
28
- docs: { source: { code: `<RadioGroup defaultValue="comfortable">\n <div className="flex items-center gap-2">\n <RadioGroupItem value="default" id="r1" />\n <Label htmlFor="r1">Default</Label>\n </div>\n</RadioGroup>`, language: "tsx" } },
28
+ docs: { source: { code: "<RadioGroup defaultValue=\"comfortable\">\\n <div className=\"flex items-center gap-2\">\\n <RadioGroupItem value=\"default\" id=\"r1\" />\\n <Label htmlFor=\"r1\">Default</Label>\\n </div>\\n</RadioGroup>", language: "tsx" } },
29
29
  },
30
30
  } satisfies Meta;
31
31
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx · controls: scripts/gen-stories.mjs CONTROLS */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Rating } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => {
@@ -24,7 +24,7 @@ const meta = {
24
24
  },
25
25
  parameters: {
26
26
  layout: "centered",
27
- docs: { source: { code: `<Rating value={value} onChange={setValue} />\n<Rating value={4} readOnly size="sm" />`, language: "tsx" } },
27
+ docs: { source: { code: "<Rating value={value} onChange={setValue} />\\n<Rating value={4} readOnly size=\"sm\" />", language: "tsx" } },
28
28
  },
29
29
  } satisfies Meta;
30
30
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -20,7 +20,7 @@ const meta = {
20
20
  title: "Data Display/Resizable",
21
21
  parameters: {
22
22
  layout: "padded",
23
- docs: { source: { code: `<ResizablePanelGroup direction="horizontal">\n <ResizablePanel defaultSize={50}>One</ResizablePanel>\n <ResizableHandle withHandle />\n <ResizablePanel defaultSize={50}>Two</ResizablePanel>\n</ResizablePanelGroup>`, language: "tsx" } },
23
+ docs: { source: { code: "<ResizablePanelGroup direction=\"horizontal\">\\n <ResizablePanel defaultSize={50}>One</ResizablePanel>\\n <ResizableHandle withHandle />\\n <ResizablePanel defaultSize={50}>Two</ResizablePanel>\\n</ResizablePanelGroup>", language: "tsx" } },
24
24
  },
25
25
  } satisfies Meta;
26
26
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { ScrollArea, Tag } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -16,7 +16,7 @@ const meta = {
16
16
  title: "Data Display/ScrollArea",
17
17
  parameters: {
18
18
  layout: "centered",
19
- docs: { source: { code: `<ScrollArea className="h-40 w-56 rounded-md border p-4">\n {tags.map((t) => <div key={t}>{t}</div>)}\n</ScrollArea>`, language: "tsx" } },
19
+ docs: { source: { code: "<ScrollArea className=\"h-40 w-56 rounded-md border p-4\">\\n {tags.map((t) => <div key={t}>{t}</div>)}\\n</ScrollArea>", language: "tsx" } },
20
20
  },
21
21
  } satisfies Meta;
22
22
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx · controls: scripts/gen-stories.mjs CONTROLS */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -24,7 +24,7 @@ const meta = {
24
24
  argTypes: { disabled: { control: "boolean" } },
25
25
  parameters: {
26
26
  layout: "centered",
27
- docs: { source: { code: `<Select>\n <SelectTrigger><SelectValue placeholder="Select a fruit" /></SelectTrigger>\n <SelectContent>\n <SelectItem value="apple">Apple</SelectItem>\n </SelectContent>\n</Select>`, language: "tsx" } },
27
+ docs: { source: { code: "<Select>\\n <SelectTrigger><SelectValue placeholder=\"Select a fruit\" /></SelectTrigger>\\n <SelectContent>\\n <SelectItem value=\"apple\">Apple</SelectItem>\\n </SelectContent>\\n</Select>", language: "tsx" } },
28
28
  },
29
29
  } satisfies Meta;
30
30
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx · controls: scripts/gen-stories.mjs CONTROLS */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Separator } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -26,7 +26,7 @@ const meta = {
26
26
  argTypes: { orientation: { control: "inline-radio", options: ["horizontal", "vertical"] } },
27
27
  parameters: {
28
28
  layout: "centered",
29
- docs: { source: { code: `<Separator />\n<Separator orientation="vertical" />`, language: "tsx" } },
29
+ docs: { source: { code: "<Separator />\\n<Separator orientation=\"vertical\" />", language: "tsx" } },
30
30
  },
31
31
  } satisfies Meta;
32
32
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Button, Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle, SheetTrigger } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -22,7 +22,7 @@ const meta = {
22
22
  title: "Overlays/Sheet",
23
23
  parameters: {
24
24
  layout: "centered",
25
- docs: { source: { code: `<Sheet>\n <SheetTrigger asChild><Button variant="Outline">Open</Button></SheetTrigger>\n <SheetContent side="right">…</SheetContent>\n</Sheet>`, language: "tsx" } },
25
+ docs: { source: { code: "<Sheet>\\n <SheetTrigger asChild><Button variant=\"Outline\">Open</Button></SheetTrigger>\\n <SheetContent side=\"right\">…</SheetContent>\\n</Sheet>", language: "tsx" } },
26
26
  },
27
27
  } satisfies Meta;
28
28
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
 
6
6
 
7
7
  const Demo = () => (
@@ -16,7 +16,7 @@ const meta = {
16
16
  title: "Navigation/Sidebar",
17
17
  parameters: {
18
18
  layout: "padded",
19
- docs: { source: { code: `<SidebarProvider>\n <Sidebar>\n <SidebarHeader>…</SidebarHeader>\n <SidebarContent>\n <SidebarGroup>\n <SidebarMenu>\n <SidebarMenuItem>\n <SidebarMenuButton isActive>Home</SidebarMenuButton>\n </SidebarMenuItem>\n </SidebarMenu>\n </SidebarGroup>\n </SidebarContent>\n </Sidebar>\n <SidebarInset>\n <SidebarTrigger />\n {/* page content */}\n </SidebarInset>\n</SidebarProvider>`, language: "tsx" } },
19
+ docs: { source: { code: "<SidebarProvider>\\n <Sidebar>\\n <SidebarHeader>…</SidebarHeader>\\n <SidebarContent>\\n <SidebarGroup>\\n <SidebarMenu>\\n <SidebarMenuItem>\\n <SidebarMenuButton isActive>Home</SidebarMenuButton>\\n </SidebarMenuItem>\\n </SidebarMenu>\\n </SidebarGroup>\\n </SidebarContent>\\n </Sidebar>\\n <SidebarInset>\\n <SidebarTrigger />\\n {/* page content */}\\n </SidebarInset>\\n</SidebarProvider>", language: "tsx" } },
20
20
  },
21
21
  } satisfies Meta;
22
22
 
@@ -1,7 +1,7 @@
1
1
  /* AUTO-GENERATED by scripts/gen-stories.mjs — do not edit.
2
2
  Source of truth: apps/web/src/registry/demos.tsx */
3
3
  import * as React from "react";
4
- import type { Meta, StoryObj } from "@storybook/react";
4
+ import type { Meta, StoryObj } from "@storybook/react-vite";
5
5
  import { Skeleton } from "@kinetixui/ui";
6
6
 
7
7
  const Demo = () => (
@@ -18,7 +18,7 @@ const meta = {
18
18
  title: "Foundations/Skeleton",
19
19
  parameters: {
20
20
  layout: "centered",
21
- docs: { source: { code: `<Skeleton className="size-12 rounded-full" />\n<Skeleton className="h-4 w-[200px]" />`, language: "tsx" } },
21
+ docs: { source: { code: "<Skeleton className=\"size-12 rounded-full\" />\\n<Skeleton className=\"h-4 w-[200px]\" />", language: "tsx" } },
22
22
  },
23
23
  } satisfies Meta;
24
24