dune-react 0.0.6 → 0.0.7

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 (63) hide show
  1. package/dist/components/puck-base/action-field.js +1 -0
  2. package/dist/components/puck-base/button.js +1 -0
  3. package/dist/components/puck-base/core/with-editable.js +1 -0
  4. package/dist/components/puck-base/editor-context.js +1 -0
  5. package/dist/components/puck-base/error-boundary.js +1 -0
  6. package/dist/components/puck-base/image-upload-field.js +1 -0
  7. package/dist/components/puck-base/image.js +1 -0
  8. package/dist/components/puck-base/inline-editable.js +1 -0
  9. package/dist/components/puck-block/contact-sections/contact-us-1/contact-us.js +1 -0
  10. package/dist/components/puck-block/faq-sections/accordion-1/accordion.js +1 -0
  11. package/dist/components/puck-block/header-sections/header-1/header.js +1 -0
  12. package/dist/components/puck-block/hero-sections/hero-1/hero.js +1 -0
  13. package/dist/components/puck-block/testimonial-sections/customers-1/customers.js +1 -0
  14. package/dist/components/puck-block/testimonial-sections/testimonials-1/testimonials.js +1 -0
  15. package/dist/components/puck-block/text-sections/tab-section-1/tab-section.js +1 -0
  16. package/dist/components/shadcn/accordion.js +1 -0
  17. package/dist/components/shadcn/alert-dialog.js +1 -0
  18. package/dist/components/shadcn/animated-theme-toggler.js +1 -0
  19. package/dist/components/shadcn/avatar.js +1 -0
  20. package/dist/components/shadcn/button.js +1 -0
  21. package/dist/components/shadcn/calendar.js +1 -0
  22. package/dist/components/shadcn/carousel.js +1 -0
  23. package/dist/components/shadcn/chart.js +1 -0
  24. package/dist/components/shadcn/checkbox.js +1 -0
  25. package/dist/components/shadcn/collapsible.js +1 -0
  26. package/dist/components/shadcn/combobox.js +1 -0
  27. package/dist/components/shadcn/command.js +1 -0
  28. package/dist/components/shadcn/context-menu.js +1 -0
  29. package/dist/components/shadcn/dialog.js +1 -0
  30. package/dist/components/shadcn/drawer.js +1 -0
  31. package/dist/components/shadcn/dropdown-menu.js +1 -0
  32. package/dist/components/shadcn/field.js +1 -0
  33. package/dist/components/shadcn/form.js +1 -0
  34. package/dist/components/shadcn/hover-card.js +1 -0
  35. package/dist/components/shadcn/input-group.js +1 -0
  36. package/dist/components/shadcn/input-otp.js +1 -0
  37. package/dist/components/shadcn/label.js +1 -0
  38. package/dist/components/shadcn/layout-text-flip.js +1 -0
  39. package/dist/components/shadcn/menubar.js +1 -0
  40. package/dist/components/shadcn/popover.js +1 -0
  41. package/dist/components/shadcn/progress.js +1 -0
  42. package/dist/components/shadcn/radio-group.js +1 -0
  43. package/dist/components/shadcn/resizable-navbar.js +1 -0
  44. package/dist/components/shadcn/resizable.js +1 -0
  45. package/dist/components/shadcn/scroll-area.js +1 -0
  46. package/dist/components/shadcn/select.js +1 -0
  47. package/dist/components/shadcn/separator.js +1 -0
  48. package/dist/components/shadcn/sheet.js +1 -0
  49. package/dist/components/shadcn/sidebar.js +1 -0
  50. package/dist/components/shadcn/slider.js +1 -0
  51. package/dist/components/shadcn/sonner.js +1 -0
  52. package/dist/components/shadcn/switch.js +1 -0
  53. package/dist/components/shadcn/table.js +1 -0
  54. package/dist/components/shadcn/tabs.js +1 -0
  55. package/dist/components/shadcn/toggle-group.js +1 -0
  56. package/dist/components/shadcn/toggle.js +1 -0
  57. package/dist/components/shadcn/tooltip.js +1 -0
  58. package/dist/components/shadcn/tweet-card-client.js +1 -0
  59. package/dist/components/ui-block/cover/index.js +1 -0
  60. package/dist/components/ui-block/sparkles/index.js +1 -0
  61. package/dist/node_modules/.pnpm/lucide-react@0.540.0_react@19.2.4/node_modules/lucide-react/dist/esm/DynamicIcon.js +2 -0
  62. package/dist/node_modules/.pnpm/react-error-boundary@6.1.1_react@19.2.4/node_modules/react-error-boundary/dist/react-error-boundary.js +1 -0
  63. package/package.json +2 -1
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
3
  import { Input } from "../shadcn/input.js";
3
4
  import { Label } from "../shadcn/label.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
3
  import { useState, useCallback } from "react";
3
4
  import { Button, buttonVariants } from "../shadcn/button.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { useRef, useEffect, useMemo, useCallback } from "react";
3
4
  import { registerOverlayPortal } from "@puckeditor/core";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { createContext, useContext } from "react";
2
3
  const EditorContext = createContext({
3
4
  openFieldsPanel: () => {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { ErrorBoundary as m } from "../../node_modules/.pnpm/react-error-boundary@6.1.1_react@19.2.4/node_modules/react-error-boundary/dist/react-error-boundary.js";
3
4
  import { Button } from "../shadcn/button.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, jsx } from "react/jsx-runtime";
2
3
  import { useState, useCallback } from "react";
3
4
  import { X, Loader2, UploadCloud, ImageIcon } from "lucide-react";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
3
  import { useState, useEffect, useRef, useCallback } from "react";
3
4
  import Cropper from "react-easy-crop";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { createElement, useRef, useEffect, useCallback } from "react";
3
4
  import { registerOverlayPortal } from "@puckeditor/core";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { useState } from "react";
3
4
  import { toast } from "sonner";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, jsx } from "react/jsx-runtime";
2
3
  import { useState } from "react";
3
4
  import { cn } from "../../../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
3
  import { useState, Fragment as Fragment$1 } from "react";
3
4
  import { cn } from "../../../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
3
  import { useMemo, useState, useEffect } from "react";
3
4
  import { cn } from "../../../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { useState, useEffect } from "react";
3
4
  import { cn } from "../../../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
3
  import { useState, useEffect } from "react";
3
4
  import { Carousel, CarouselContent, CarouselItem } from "../../../shadcn/carousel.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
3
  import { useState } from "react";
3
4
  import { cn } from "../../../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { Accordion as Accordion$1 } from "@base-ui/react/accordion";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { AlertDialog as AlertDialog$1 } from "@base-ui/react/alert-dialog";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  function AnimatedThemeToggler({ className, ...props }) {
3
4
  return /* @__PURE__ */ jsx("button", { className, ...props });
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { Avatar as Avatar$1 } from "@base-ui/react/avatar";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
3
  import { Button as Button$1 } from "@base-ui/react/button";
3
4
  import { cva } from "class-variance-authority";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import * as React from "react";
3
4
  import { getDefaultClassNames, DayPicker } from "react-day-picker";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import * as React from "react";
3
4
  import useEmblaCarousel from "embla-carousel-react";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
3
  import * as React from "react";
3
4
  import * as RechartsPrimitive from "recharts";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { Collapsible as Collapsible$1 } from "@base-ui/react/collapsible";
3
4
  function Collapsible({
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, jsx } from "react/jsx-runtime";
2
3
  import * as React from "react";
3
4
  import { Combobox as Combobox$1 } from "@base-ui/react";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { Command as Command$1 } from "cmdk";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { ContextMenu as ContextMenu$1 } from "@base-ui/react/context-menu";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { Drawer as Drawer$1 } from "vaul";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { Menu } from "@base-ui/react/menu";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { useMemo } from "react";
3
4
  import { cva } from "class-variance-authority";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import * as React from "react";
3
4
  const FormFieldContext = React.createContext(
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { PreviewCard } from "@base-ui/react/preview-card";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { cva } from "class-variance-authority";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import * as React from "react";
3
4
  import { OTPInput, OTPInputContext } from "input-otp";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { cn } from "../../utils/css-utils.js";
3
4
  function Label({ className, ...props }) {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { cn } from "../../utils/css-utils.js";
3
4
  function LayoutTextFlip({
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { Menu } from "@base-ui/react/menu";
3
4
  import { Menubar as Menubar$1 } from "@base-ui/react/menubar";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { Popover as Popover$1 } from "@base-ui/react/popover";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, jsx } from "react/jsx-runtime";
2
3
  import { Progress as Progress$1 } from "@base-ui/react/progress";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { Radio } from "@base-ui/react/radio";
3
4
  import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { cn } from "../../utils/css-utils.js";
3
4
  import { X, Menu } from "lucide-react";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { PanelResizeHandle, Panel, PanelGroup } from "react-resizable-panels";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, jsx } from "react/jsx-runtime";
2
3
  import { ScrollArea as ScrollArea$1 } from "@base-ui/react/scroll-area";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { Select as Select$1 } from "@base-ui/react/select";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { Separator as Separator$1 } from "@base-ui/react/separator";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { Dialog } from "@base-ui/react/dialog";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import * as React from "react";
3
4
  import { mergeProps } from "@base-ui/react/merge-props";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import * as React from "react";
3
4
  import { Slider as Slider$1 } from "@base-ui/react/slider";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { useTheme } from "next-themes";
3
4
  import { Toaster as Toaster$1 } from "sonner";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { Switch as Switch$1 } from "@base-ui/react/switch";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { cn } from "../../utils/css-utils.js";
3
4
  function Table({ className, ...props }) {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
3
4
  import { cva } from "class-variance-authority";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import * as React from "react";
3
4
  import { ToggleGroup as ToggleGroup$1 } from "radix-ui";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
3
4
  import { cva } from "class-variance-authority";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx, jsxs } from "react/jsx-runtime";
2
3
  import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
3
4
  import { cn } from "../../utils/css-utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  function TweetCardClient({ children, ...props }) {
3
4
  return /* @__PURE__ */ jsx("div", { ...props, children });
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs, jsx } from "react/jsx-runtime";
2
3
  import { cn } from "../../../utils/css-utils.js";
3
4
  import { useState, useRef, useEffect, useId } from "react";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { cn } from "../../../utils/css-utils.js";
3
4
  import Particles, { initParticlesEngine } from "@tsparticles/react";
@@ -1,3 +1,5 @@
1
+ "use strict";
2
+ "use client";
1
3
  import { forwardRef, useState, useEffect, createElement } from "react";
2
4
  import dynamicIconImports from "./dynamicIconImports.js";
3
5
  import Icon from "./Icon.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { Component, createElement, createContext } from "react";
2
3
  const h = createContext(null), c = {
3
4
  didCatch: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dune-react",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -70,6 +70,7 @@
70
70
  "eslint-plugin-storybook": "^10.2.19",
71
71
  "motion": "12.23.12",
72
72
  "react-easy-crop": "5.5.6",
73
+ "rollup-plugin-preserve-directives": "0.4.0",
73
74
  "sass": "^1.90.0",
74
75
  "sass-loader": "^16.0.5",
75
76
  "storybook": "^10.2.19",