dune-react 0.0.11 → 0.0.12
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/components/puck-base/core/fields.d.ts +25 -96
- package/dist/components/puck-base/core/fields.js +4 -10
- package/dist/components/puck-base/core/icon-catalog.d.ts +14 -0
- package/dist/components/puck-base/core/icon-catalog.js +193 -0
- package/dist/components/puck-base/fields/action-field.d.ts +23 -1
- package/dist/components/puck-base/fields/action-field.js +174 -130
- package/dist/components/puck-base/gradient-text.js +1 -1
- package/dist/components/puck-base/icon-picker-field.d.ts +8 -0
- package/dist/components/puck-base/icon-picker-field.js +153 -0
- package/dist/components/puck-base/index.d.ts +1 -1
- package/dist/components/puck-block/banner-sections/announcement-banner-1/index.js +1 -1
- package/dist/components/puck-block/banner-sections/marquee-1/index.js +6 -4
- package/dist/components/puck-block/contact-sections/contact-us-1/index.js +18 -8
- package/dist/components/puck-block/contact-sections/contact-us-2/contact-us-2.js +1 -1
- package/dist/components/puck-block/contact-sections/contact-us-2/index.js +7 -7
- package/dist/components/puck-block/contact-sections/contact-us-3/index.js +2 -2
- package/dist/components/puck-block/cta-sections/banner-cta-1/index.js +4 -4
- package/dist/components/puck-block/cta-sections/cta-1/index.js +9 -9
- package/dist/components/puck-block/cta-sections/gradient-cta-1/index.js +3 -3
- package/dist/components/puck-block/cta-sections/newsletter-signup-1/index.js +1 -1
- package/dist/components/puck-block/cta-sections/promo-section-1/index.js +5 -5
- package/dist/components/puck-block/faq-sections/accordion-1/index.js +7 -3
- package/dist/components/puck-block/faq-sections/faq-1/index.js +16 -4
- package/dist/components/puck-block/faq-sections/faq-2/index.js +11 -11
- package/dist/components/puck-block/feature-sections/bento-1/bento.js +16 -7
- package/dist/components/puck-block/feature-sections/bento-1/index.js +19 -6
- package/dist/components/puck-block/feature-sections/feature-cards-1/index.js +11 -10
- package/dist/components/puck-block/feature-sections/feature-showcase-1/index.js +10 -10
- package/dist/components/puck-block/feature-sections/icon-grid-1/index.js +13 -18
- package/dist/components/puck-block/feature-sections/product-features-1/index.js +18 -23
- package/dist/components/puck-block/footer-sections/footer-1/index.js +17 -22
- package/dist/components/puck-block/gallery-sections/gallery-1/index.js +12 -8
- package/dist/components/puck-block/gallery-sections/gallery-2/index.js +10 -9
- package/dist/components/puck-block/gallery-sections/gallery-3/index.js +17 -14
- package/dist/components/puck-block/header-sections/header-1/index.js +56 -40
- package/dist/components/puck-block/header-sections/sticky-nav-1/index.js +4 -3
- package/dist/components/puck-block/hero-sections/fullscreen-hero-1/index.js +4 -3
- package/dist/components/puck-block/hero-sections/gradient-hero-1/index.js +4 -4
- package/dist/components/puck-block/hero-sections/grid-hero-1/index.js +8 -8
- package/dist/components/puck-block/hero-sections/hero-1/index.js +16 -12
- package/dist/components/puck-block/hero-sections/image-hero-1/index.js +2 -2
- package/dist/components/puck-block/hero-sections/split-hero-1/index.js +7 -7
- package/dist/components/puck-block/hero-sections/video-hero-1/index.js +5 -5
- package/dist/components/puck-block/location-sections/location-1/index.js +4 -4
- package/dist/components/puck-block/location-sections/location-1/location.js +1 -1
- package/dist/components/puck-block/location-sections/location-2/index.js +4 -4
- package/dist/components/puck-block/location-sections/location-2/location.js +1 -1
- package/dist/components/puck-block/location-sections/location-3/index.js +15 -14
- package/dist/components/puck-block/location-sections/location-3/location.d.ts +1 -0
- package/dist/components/puck-block/location-sections/location-3/location.js +2 -2
- package/dist/components/puck-block/metrics-sections/stats-1/index.js +13 -13
- package/dist/components/puck-block/metrics-sections/stats-2/index.js +8 -8
- package/dist/components/puck-block/metrics-sections/stats-3/index.js +13 -13
- package/dist/components/puck-block/pricing-sections/comparison-1/index.js +2 -2
- package/dist/components/puck-block/pricing-sections/pricing-1/index.js +39 -19
- package/dist/components/puck-block/pricing-sections/pricing-2/index.js +30 -30
- package/dist/components/puck-block/showcase-sections/before-after-1/index.js +12 -12
- package/dist/components/puck-block/showcase-sections/case-study-1/index.js +7 -7
- package/dist/components/puck-block/showcase-sections/step-by-step-1/index.js +8 -8
- package/dist/components/puck-block/team-sections/team-grid-1/index.js +9 -9
- package/dist/components/puck-block/team-sections/team-grid-2/index.js +12 -12
- package/dist/components/puck-block/team-sections/team-profiles-1/index.js +11 -9
- package/dist/components/puck-block/testimonial-sections/customers-1/index.js +18 -7
- package/dist/components/puck-block/testimonial-sections/logo-marquee-1/index.js +1 -1
- package/dist/components/puck-block/testimonial-sections/logo-wall-1/index.js +7 -7
- package/dist/components/puck-block/testimonial-sections/review-section-1/index.js +27 -12
- package/dist/components/puck-block/testimonial-sections/testimonials-1/index.js +17 -7
- package/dist/components/puck-block/text-sections/articles-1/index.js +11 -6
- package/dist/components/puck-block/text-sections/content-section-1/index.js +6 -6
- package/dist/components/puck-block/text-sections/rich-text-1/index.js +1 -1
- package/dist/components/puck-block/text-sections/rich-text-1/rich-text.js +6 -1
- package/dist/components/puck-block/text-sections/tab-section-1/index.js +12 -12
- package/dist/components/puck-block/text-sections/timeline-1/index.js +17 -7
- package/dist/components/puck-block/text-sections/two-column-1/index.js +10 -10
- package/dist/index.js +9 -1
- package/dist/node_modules/.pnpm/lucide-react@0.540.0_react@19.2.4/node_modules/lucide-react/dist/esm/DynamicIcon.js +1 -3
- package/package.json +2 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { images, contentFieldsWithFeatures
|
|
1
|
+
import { images, contentFieldsWithFeatures } from "../../../puck-base/core/fields.js";
|
|
2
2
|
import { TwoColumn } from "./two-column.js";
|
|
3
3
|
import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
|
|
4
4
|
const conf = {
|
|
@@ -51,10 +51,10 @@ const conf = {
|
|
|
51
51
|
styles: createStylesField()
|
|
52
52
|
},
|
|
53
53
|
defaultProps: {
|
|
54
|
-
heading: "
|
|
55
|
-
description: "
|
|
54
|
+
heading: "Why leading teams trust us",
|
|
55
|
+
description: "We handle the infrastructure so you can focus on your product. From startups to enterprises, teams rely on our platform to ship with confidence.",
|
|
56
56
|
badge: {
|
|
57
|
-
label: "
|
|
57
|
+
label: "About Us",
|
|
58
58
|
url: "",
|
|
59
59
|
variant: "default"
|
|
60
60
|
},
|
|
@@ -63,18 +63,18 @@ const conf = {
|
|
|
63
63
|
border: "false",
|
|
64
64
|
images: [
|
|
65
65
|
{
|
|
66
|
-
alt: "
|
|
67
|
-
src:
|
|
66
|
+
alt: "Developer working at desk with dual monitors displaying code",
|
|
67
|
+
src: "https://images.pexels.com/photos/3861969/pexels-photo-3861969.jpeg?auto=compress&cs=tinysrgb&w=1200",
|
|
68
68
|
aspectRatio: "16x9"
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
|
-
alt: "
|
|
72
|
-
src:
|
|
71
|
+
alt: "Two developers collaborating on code at a shared workspace",
|
|
72
|
+
src: "https://images.pexels.com/photos/1181677/pexels-photo-1181677.jpeg?auto=compress&cs=tinysrgb&w=1200",
|
|
73
73
|
aspectRatio: "16x9"
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
|
-
alt: "
|
|
77
|
-
src:
|
|
76
|
+
alt: "Tech team working together at a modern office",
|
|
77
|
+
src: "https://images.pexels.com/photos/3183150/pexels-photo-3183150.jpeg?auto=compress&cs=tinysrgb&w=1200",
|
|
78
78
|
aspectRatio: "16x9"
|
|
79
79
|
}
|
|
80
80
|
],
|
package/dist/index.js
CHANGED
|
@@ -2,9 +2,9 @@ import { default as default2 } from "./components/ui-block/background/index.js";
|
|
|
2
2
|
import { default as default3 } from "./components/puck-block/header-sections/header-1/index.js";
|
|
3
3
|
import { default as default4 } from "./components/shadcn/badge-promo.js";
|
|
4
4
|
import { default as default5 } from "./components/puck-base/use-upload.js";
|
|
5
|
+
import { ACTION_TYPE_FIELD_MAP, ACTION_TYPE_OPTIONS, ActionField, DownloadActionFields, EmailActionFields, ExternalActionFields, PageActionFields, PhoneActionFields, SectionActionFields } from "./components/puck-base/fields/action-field.js";
|
|
5
6
|
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "./components/shadcn/accordion.js";
|
|
6
7
|
import { conf } from "./components/puck-block/faq-sections/accordion-1/index.js";
|
|
7
|
-
import { ActionField } from "./components/puck-base/fields/action-field.js";
|
|
8
8
|
import { Alert, AlertAction, AlertDescription, AlertTitle } from "./components/shadcn/alert.js";
|
|
9
9
|
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from "./components/shadcn/alert-dialog.js";
|
|
10
10
|
import { AnimatedThemeToggler } from "./components/shadcn/animated-theme-toggler.js";
|
|
@@ -152,6 +152,8 @@ import { resolveActionUrl } from "./components/puck-base/core/types.js";
|
|
|
152
152
|
import { usePuckAppState, usePuckConfig, usePuckDispatch, usePuckGetSelectorForId, usePuckHistory } from "./components/puck-base/core/hooks.js";
|
|
153
153
|
import { withEditable } from "./components/puck-base/core/with-editable.js";
|
|
154
154
|
export {
|
|
155
|
+
ACTION_TYPE_FIELD_MAP,
|
|
156
|
+
ACTION_TYPE_OPTIONS,
|
|
155
157
|
Accordion,
|
|
156
158
|
conf as AccordionConf,
|
|
157
159
|
AccordionContent,
|
|
@@ -293,6 +295,7 @@ export {
|
|
|
293
295
|
DialogTitle,
|
|
294
296
|
DialogTrigger,
|
|
295
297
|
DirectionProvider,
|
|
298
|
+
DownloadActionFields,
|
|
296
299
|
Drawer,
|
|
297
300
|
DrawerClose,
|
|
298
301
|
DrawerContent,
|
|
@@ -319,6 +322,7 @@ export {
|
|
|
319
322
|
DropdownMenuSubTrigger,
|
|
320
323
|
DropdownMenuTrigger,
|
|
321
324
|
EditorContextProvider,
|
|
325
|
+
EmailActionFields,
|
|
322
326
|
Empty,
|
|
323
327
|
EmptyContent,
|
|
324
328
|
EmptyDescription,
|
|
@@ -326,6 +330,7 @@ export {
|
|
|
326
330
|
EmptyMedia,
|
|
327
331
|
EmptyTitle,
|
|
328
332
|
ErrorBoundary,
|
|
333
|
+
ExternalActionFields,
|
|
329
334
|
conf15 as Faq2Conf,
|
|
330
335
|
conf16 as FaqConf,
|
|
331
336
|
conf17 as FeatureCardsConf,
|
|
@@ -433,6 +438,7 @@ export {
|
|
|
433
438
|
NavigationMenuPositioner,
|
|
434
439
|
NavigationMenuTrigger,
|
|
435
440
|
conf36 as NewsletterSignupConf,
|
|
441
|
+
PageActionFields,
|
|
436
442
|
Pagination,
|
|
437
443
|
PaginationContent,
|
|
438
444
|
PaginationEllipsis,
|
|
@@ -440,6 +446,7 @@ export {
|
|
|
440
446
|
PaginationLink,
|
|
441
447
|
PaginationNext,
|
|
442
448
|
PaginationPrevious,
|
|
449
|
+
PhoneActionFields,
|
|
443
450
|
Popover,
|
|
444
451
|
PopoverContent,
|
|
445
452
|
PopoverDescription,
|
|
@@ -464,6 +471,7 @@ export {
|
|
|
464
471
|
conf42 as RichTextConf,
|
|
465
472
|
ScrollArea,
|
|
466
473
|
ScrollBar,
|
|
474
|
+
SectionActionFields,
|
|
467
475
|
Select,
|
|
468
476
|
SelectContent,
|
|
469
477
|
SelectGroup,
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import { forwardRef, useState, useEffect, createElement } from "react";
|
|
4
4
|
import dynamicIconImports from "./dynamicIconImports.js";
|
|
5
5
|
import Icon from "./Icon.js";
|
|
6
|
-
const iconNames = Object.keys(dynamicIconImports);
|
|
7
6
|
async function getIconNode(name) {
|
|
8
7
|
if (!(name in dynamicIconImports)) {
|
|
9
8
|
throw new Error("[lucide-react]: Name in Lucide DynamicIcon not found");
|
|
@@ -33,6 +32,5 @@ const DynamicIcon = forwardRef(
|
|
|
33
32
|
}
|
|
34
33
|
);
|
|
35
34
|
export {
|
|
36
|
-
DynamicIcon as default
|
|
37
|
-
iconNames
|
|
35
|
+
DynamicIcon as default
|
|
38
36
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dune-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
"eslint-plugin-react-refresh": "^0.4.3",
|
|
70
70
|
"eslint-plugin-storybook": "^10.2.19",
|
|
71
71
|
"motion": "12.23.12",
|
|
72
|
+
"playwright": "1.58.2",
|
|
72
73
|
"react-easy-crop": "5.5.6",
|
|
73
74
|
"rollup-plugin-preserve-directives": "0.4.0",
|
|
74
75
|
"sass": "^1.90.0",
|