dune-react 0.0.11 → 0.0.13

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 (84) hide show
  1. package/dist/components/puck-base/core/fields.d.ts +25 -96
  2. package/dist/components/puck-base/core/fields.js +4 -10
  3. package/dist/components/puck-base/core/icon-catalog.d.ts +14 -0
  4. package/dist/components/puck-base/core/icon-catalog.js +193 -0
  5. package/dist/components/puck-base/fields/action-field.d.ts +23 -1
  6. package/dist/components/puck-base/fields/action-field.js +174 -130
  7. package/dist/components/puck-base/gradient-text.js +1 -1
  8. package/dist/components/puck-base/icon-picker-field.d.ts +8 -0
  9. package/dist/components/puck-base/icon-picker-field.js +153 -0
  10. package/dist/components/puck-base/index.d.ts +1 -1
  11. package/dist/components/puck-block/banner-sections/announcement-banner-1/index.js +1 -1
  12. package/dist/components/puck-block/banner-sections/marquee-1/index.js +6 -4
  13. package/dist/components/puck-block/contact-sections/contact-us-1/index.js +18 -8
  14. package/dist/components/puck-block/contact-sections/contact-us-2/contact-us-2.js +1 -1
  15. package/dist/components/puck-block/contact-sections/contact-us-2/index.js +7 -7
  16. package/dist/components/puck-block/contact-sections/contact-us-3/index.js +2 -2
  17. package/dist/components/puck-block/cta-sections/banner-cta-1/index.js +4 -4
  18. package/dist/components/puck-block/cta-sections/cta-1/index.js +9 -9
  19. package/dist/components/puck-block/cta-sections/gradient-cta-1/index.js +3 -3
  20. package/dist/components/puck-block/cta-sections/newsletter-signup-1/index.js +1 -1
  21. package/dist/components/puck-block/cta-sections/promo-section-1/index.js +5 -5
  22. package/dist/components/puck-block/faq-sections/accordion-1/index.js +7 -3
  23. package/dist/components/puck-block/faq-sections/faq-1/index.js +16 -4
  24. package/dist/components/puck-block/faq-sections/faq-2/index.js +11 -11
  25. package/dist/components/puck-block/feature-sections/bento-1/bento.js +16 -7
  26. package/dist/components/puck-block/feature-sections/bento-1/index.js +19 -6
  27. package/dist/components/puck-block/feature-sections/feature-cards-1/index.js +11 -10
  28. package/dist/components/puck-block/feature-sections/feature-showcase-1/index.js +10 -10
  29. package/dist/components/puck-block/feature-sections/icon-grid-1/index.js +13 -18
  30. package/dist/components/puck-block/feature-sections/product-features-1/index.js +18 -23
  31. package/dist/components/puck-block/footer-sections/footer-1/index.js +17 -22
  32. package/dist/components/puck-block/gallery-sections/gallery-1/index.js +12 -8
  33. package/dist/components/puck-block/gallery-sections/gallery-2/index.js +10 -9
  34. package/dist/components/puck-block/gallery-sections/gallery-3/index.js +17 -14
  35. package/dist/components/puck-block/header-sections/header-1/index.js +56 -40
  36. package/dist/components/puck-block/header-sections/sticky-nav-1/index.js +4 -3
  37. package/dist/components/puck-block/hero-sections/fullscreen-hero-1/index.js +4 -3
  38. package/dist/components/puck-block/hero-sections/gradient-hero-1/index.js +4 -4
  39. package/dist/components/puck-block/hero-sections/hero-1/index.js +16 -12
  40. package/dist/components/puck-block/hero-sections/image-hero-1/index.js +2 -2
  41. package/dist/components/puck-block/hero-sections/props.d.ts +1 -12
  42. package/dist/components/puck-block/hero-sections/split-hero-1/index.js +7 -7
  43. package/dist/components/puck-block/hero-sections/video-hero-1/index.js +5 -5
  44. package/dist/components/puck-block/index.d.ts +0 -1
  45. package/dist/components/puck-block/location-sections/location-1/index.js +4 -4
  46. package/dist/components/puck-block/location-sections/location-1/location.js +1 -1
  47. package/dist/components/puck-block/location-sections/location-2/index.js +4 -4
  48. package/dist/components/puck-block/location-sections/location-2/location.js +1 -1
  49. package/dist/components/puck-block/location-sections/location-3/index.js +15 -14
  50. package/dist/components/puck-block/location-sections/location-3/location.d.ts +1 -0
  51. package/dist/components/puck-block/location-sections/location-3/location.js +2 -2
  52. package/dist/components/puck-block/metrics-sections/stats-1/index.js +13 -13
  53. package/dist/components/puck-block/metrics-sections/stats-2/index.js +8 -8
  54. package/dist/components/puck-block/metrics-sections/stats-3/index.js +13 -13
  55. package/dist/components/puck-block/pricing-sections/comparison-1/index.js +2 -2
  56. package/dist/components/puck-block/pricing-sections/pricing-1/index.js +39 -19
  57. package/dist/components/puck-block/pricing-sections/pricing-2/index.js +30 -30
  58. package/dist/components/puck-block/showcase-sections/before-after-1/index.js +12 -12
  59. package/dist/components/puck-block/showcase-sections/case-study-1/index.js +7 -7
  60. package/dist/components/puck-block/showcase-sections/step-by-step-1/index.js +8 -8
  61. package/dist/components/puck-block/team-sections/team-grid-1/index.js +9 -9
  62. package/dist/components/puck-block/team-sections/team-grid-2/index.js +12 -12
  63. package/dist/components/puck-block/team-sections/team-profiles-1/index.js +11 -9
  64. package/dist/components/puck-block/testimonial-sections/customers-1/index.js +18 -7
  65. package/dist/components/puck-block/testimonial-sections/logo-marquee-1/index.js +1 -1
  66. package/dist/components/puck-block/testimonial-sections/logo-wall-1/index.js +7 -7
  67. package/dist/components/puck-block/testimonial-sections/review-section-1/index.js +27 -12
  68. package/dist/components/puck-block/testimonial-sections/testimonials-1/index.js +17 -7
  69. package/dist/components/puck-block/text-sections/articles-1/articles.d.ts +3 -2
  70. package/dist/components/puck-block/text-sections/articles-1/articles.js +6 -4
  71. package/dist/components/puck-block/text-sections/articles-1/index.js +46 -18
  72. package/dist/components/puck-block/text-sections/content-section-1/index.js +6 -6
  73. package/dist/components/puck-block/text-sections/rich-text-1/index.js +1 -1
  74. package/dist/components/puck-block/text-sections/rich-text-1/rich-text.js +6 -1
  75. package/dist/components/puck-block/text-sections/tab-section-1/index.js +12 -12
  76. package/dist/components/puck-block/text-sections/timeline-1/index.js +17 -7
  77. package/dist/components/puck-block/text-sections/two-column-1/index.js +10 -10
  78. package/dist/index.js +69 -63
  79. package/dist/node_modules/.pnpm/lucide-react@0.540.0_react@19.2.4/node_modules/lucide-react/dist/esm/DynamicIcon.js +1 -3
  80. package/package.json +2 -1
  81. package/dist/components/puck-block/hero-sections/grid-hero-1/grid-hero.d.ts +0 -26
  82. package/dist/components/puck-block/hero-sections/grid-hero-1/grid-hero.js +0 -125
  83. package/dist/components/puck-block/hero-sections/grid-hero-1/index.d.ts +0 -5
  84. package/dist/components/puck-block/hero-sections/grid-hero-1/index.js +0 -71
@@ -1,71 +0,0 @@
1
- import { contentFields } from "../../../puck-base/core/fields.js";
2
- import { GridHero } from "./grid-hero.js";
3
- import { createStylesDefaults, createStylesField } from "../../../puck-base/core/styles.js";
4
- const conf = {
5
- fields: {
6
- ...contentFields,
7
- leftSidebarTitle: { type: "text", label: "Left Sidebar Title" },
8
- leftSidebar: {
9
- type: "array",
10
- max: 5,
11
- getItemSummary: (item, i = 0) => item.label || `Item ${i + 1}`,
12
- arrayFields: {
13
- label: { type: "text" },
14
- value: { type: "text" },
15
- description: { type: "text" },
16
- url: { type: "text" }
17
- },
18
- defaultItemProps: {
19
- label: "Label",
20
- value: "Value"
21
- }
22
- },
23
- rightSidebarTitle: { type: "text", label: "Right Sidebar Title" },
24
- rightSidebar: {
25
- type: "array",
26
- max: 5,
27
- getItemSummary: (item, i = 0) => item.label || `Item ${i + 1}`,
28
- arrayFields: {
29
- label: { type: "text" },
30
- value: { type: "text" },
31
- url: { type: "text" }
32
- },
33
- defaultItemProps: {
34
- label: "Link",
35
- url: "#"
36
- }
37
- },
38
- styles: createStylesField({
39
- showGridLines: {
40
- type: "radio",
41
- label: "Show Grid Lines",
42
- options: [
43
- { label: "Yes", value: true },
44
- { label: "No", value: false }
45
- ]
46
- }
47
- })
48
- },
49
- defaultProps: {
50
- heading: "Scale without lock-in. Build without limits.",
51
- description: "An AI-ready, open-source ecommerce platform that gives teams full control.",
52
- badge: { label: "ANNOUNCEMENT", url: "", variant: "default" },
53
- buttons: [
54
- { label: "Get Started", variant: "default" },
55
- { label: "Learn More", variant: "outline" }
56
- ],
57
- leftSidebar: [
58
- { label: "API Calls Hourly", value: "553,447" },
59
- { label: "24h peak", value: "1,114,099" }
60
- ],
61
- rightSidebar: [
62
- { label: "Open Source", value: "22.6k", url: "#" },
63
- { label: "Docs", url: "#" }
64
- ],
65
- styles: createStylesDefaults({ showGridLines: true })
66
- },
67
- render: GridHero
68
- };
69
- export {
70
- conf
71
- };