@deneb-ui/ui 2.0.45 → 2.0.47
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/README.md +89 -20
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -72,29 +72,98 @@ export default function Page() {
|
|
|
72
72
|
|
|
73
73
|
---
|
|
74
74
|
|
|
75
|
-
## Canonical Component Aliases
|
|
75
|
+
## Canonical Component Catalog & Aliases
|
|
76
76
|
|
|
77
|
-
`@deneb-ui/ui` provides both canonical shorthand aliases (shadcn / HeroUI style) and full `Editable*` identifiers:
|
|
77
|
+
`@deneb-ui/ui` provides both canonical shorthand aliases (shadcn / HeroUI style) and full `Editable*` identifiers across all commerce categories:
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
### 1. Foundational & Layout Primitives
|
|
80
|
+
| Canonical Alias | Full Component Identifier | Visual Editing Support | Description |
|
|
81
|
+
| :--- | :--- | :--- | :--- |
|
|
82
|
+
| `Button` | `EditableButton` | `data-preview-field-path`, `style-target` | Visual action button with ripple feedback & glow variants |
|
|
83
|
+
| `Card` | `EditableCard` | `data-preview-item-path`, `style-target` | Obsidian glass container with luminous border hover effects |
|
|
84
|
+
| `Badge` | `EditableBadge` | `data-preview-field-path` | Status tags, indicator pills, and glowing metadata markers |
|
|
85
|
+
| `Heading` | `EditableHeading` | `data-preview-field-path`, `style-target` | Semantic typography heading with instant DOM sync |
|
|
86
|
+
| `Paragraph` | `EditableParagraph` | `data-preview-field-path`, `style-target` | Body text copy linked to Fivora theme tokens |
|
|
87
|
+
| `Text` | `EditableText` | `data-preview-field-path`, `style-target` | Inline editable text primitive with live typing sync |
|
|
88
|
+
| `Quote` | `EditableQuote` | `data-preview-field-path` | Editorial quotation block with left accent line |
|
|
89
|
+
| `Dialog` | `EditableDialog` | `data-preview-static` | Accessible modal dialog with backdrop blur & ESC dismiss |
|
|
90
|
+
| `Grid` | `EditableGrid` | `data-preview-list-path`, `style-target` | Auto-fit responsive grid with `minCardWidth` support |
|
|
91
|
+
| `Box` | `EditableBox` | `data-preview-field-path`, `data-preview-item-path` | Flexible layout container with style token bindings |
|
|
92
|
+
| `Section` | `EditableSection` | `data-preview-style-target` | Full-width page section wrapper with spacing presets |
|
|
93
|
+
| `List` | `EditableList` | `data-preview-list-path`, `data-preview-item-path` | Dynamic collection container with list item paths |
|
|
94
|
+
| `Image` | `EditableImage` | `data-preview-field-path` | Responsive image with aspect ratio preservation & zoom |
|
|
95
|
+
|
|
96
|
+
### 2. Commerce & Storefront Components
|
|
97
|
+
| Canonical Alias | Full Component Identifier | Visual Editing Support | Description |
|
|
98
|
+
| :--- | :--- | :--- | :--- |
|
|
99
|
+
| `ProductCard` | `EditableProductCard` | `data-preview-field-path`, `data-preview-item-path` | Product card with LKR/currency formatting, badge, & WhatsApp CTA |
|
|
100
|
+
| `ProductGrid` | `EditableProductGrid` | `data-preview-list-path`, `data-preview-item-path` | Catalog grid with quick-view modal hook & filter integration |
|
|
101
|
+
| `ProductDetail` | `EditableProductDetail` | `data-preview-page-key`, `data-preview-field-path` | Full single-product view with gallery, specs, & inquiry actions |
|
|
102
|
+
| `ProductQuickView` | `ProductQuickView` | `data-preview-field-path` | Instant lightbox modal product inspection with quantity counter |
|
|
103
|
+
| `CartDrawer` | `EditableCartDrawer` | `data-preview-list-path`, `data-preview-item-path` | Slide-over cart drawer with 1-click unified WhatsApp order compilation |
|
|
104
|
+
| `FilterSidebar` | `EditableFilterSidebar` | `data-preview-field-path`, `useSiteData` | Faceted catalog filter sidebar (categories, price range, sizes) |
|
|
105
|
+
| `CategoryPills` | `EditableCategoryPills` | `data-preview-field-path`, `useSiteData` | Scrollable horizontal filter pills for instant catalog filtering |
|
|
106
|
+
|
|
107
|
+
### 3. Hero & Marketing Sections
|
|
108
|
+
| Canonical Alias | Full Component Identifier | Visual Editing Support | Description |
|
|
109
|
+
| :--- | :--- | :--- | :--- |
|
|
110
|
+
| `Hero` | `EditableHeroCentered` | `data-preview-field-path`, `useSiteData` | High-converting centered storefront hero banner with dual CTAs |
|
|
111
|
+
| `HeroSplit` | `EditableHeroSplit` | `data-preview-field-path`, `useSiteData` | Split-layout storefront hero banner with featured image |
|
|
112
|
+
| `AnnouncementBar` | `EditableAnnouncementBar` | `data-preview-field-path`, `data-preview-static` | Top promo strip for flash sales, coupons, & free shipping |
|
|
113
|
+
| `StickyMobileBar` | `StickyMobileBar` | `data-preview-field-path`, `useSiteData` | Sticky bottom navigation bar for high-converting mobile commerce |
|
|
114
|
+
| `TrustBadges` | `TrustBadges` | `data-preview-field-path` | Security and conversion guarantee strip (SSL, delivery, returns) |
|
|
115
|
+
| `CookieConsentBanner` | `CookieConsentBanner` | `data-preview-field-path` | Regulatory cookie consent banner with live policy link |
|
|
116
|
+
|
|
117
|
+
### 4. Social Proof & Customer Reviews
|
|
118
|
+
| Canonical Alias | Full Component Identifier | Visual Editing Support | Description |
|
|
119
|
+
| :--- | :--- | :--- | :--- |
|
|
120
|
+
| `GoogleFeedback` | `EditableGoogleFeedback` | `data-preview-field-path`, `data-preview-list-path`, Dual-Layer Star Repaint | Official Google review badge, aggregate rating, & review cards |
|
|
121
|
+
| `TestimonialSection` | `EditableTestimonialSection` | `data-preview-field-path`, `data-preview-list-path`, Star Sync | Editorial critic testimonials with typography & star ratings |
|
|
122
|
+
| `Testimonials` | `EditableTestimonialSection` | `data-preview-field-path`, `data-preview-list-path` | Alias for `EditableTestimonialSection` |
|
|
123
|
+
| `TestimonialCard` | `EditableTestimonialCard` | `data-preview-item-path`, `data-preview-static` | Single customer testimonial card with avatar & 5-star rating |
|
|
124
|
+
| `CustomerReviews` | `EditableCustomerReviews` | `data-preview-page-key`, `data-preview-field-path` | Customer review summary & rating breakdown |
|
|
125
|
+
|
|
126
|
+
### 5. Services, Pricing & Navigation
|
|
127
|
+
| Canonical Alias | Full Component Identifier | Visual Editing Support | Description |
|
|
128
|
+
| :--- | :--- | :--- | :--- |
|
|
129
|
+
| `ServiceCard` | `EditableServiceCard` | `data-preview-field-path`, `data-preview-item-path` | Storefront service card with icon, price tag, & action button |
|
|
130
|
+
| `PricingCard` | `EditablePricingCard` | `data-preview-field-path`, `data-preview-item-path` | Tiered pricing card with feature list & popular tier highlight |
|
|
131
|
+
| `Accordion` / `FAQ` | `EditableFAQAccordion` | `data-preview-item-path`, `data-preview-list-path` | Collapsible FAQ accordion with Fivora list markers |
|
|
132
|
+
| `ContactForm` | `EditableContactForm` | `data-preview-field-path`, `useSiteData` | Lead generation & inquiry form with custom endpoint support |
|
|
133
|
+
| `Navbar` / `Header` | `EditableNavbar` | `data-preview-field-path`, `data-preview-static` | Storefront navigation header with mobile drawer & cart badge |
|
|
134
|
+
| `Footer` | `EditableFooter` | `data-preview-field-path`, `data-preview-static` | Multi-column storefront footer with social & policy links |
|
|
135
|
+
|
|
136
|
+
### 6. Smart Actions, Location & Business
|
|
137
|
+
| Component | Module Path | Visual Editing Support | Description |
|
|
138
|
+
| :--- | :--- | :--- | :--- |
|
|
139
|
+
| `Map` | `EditableMap` | `data-preview-field-path` | Universal Google Maps embed with automatic URL/coordinate parsing |
|
|
140
|
+
| `MapEmbed` | `location/MapEmbed` | `data-preview-field-path` | Responsive Google Maps iframe embed with fallback placeholder |
|
|
141
|
+
| `MapLink` | `location/MapLink` | `data-preview-field-path` | Direct link to Google Maps directions |
|
|
142
|
+
| `LocationCard` | `location/LocationCard` | `data-preview-static` | Storefront location card with map directions button |
|
|
143
|
+
| `LocationLink` | `location/LocationLink` | `data-preview-field-path` | Interactive map address trigger with directions |
|
|
144
|
+
| `Address` | `location/Address` | `data-preview-field-path` | Structured semantic address component |
|
|
145
|
+
| `ContactActions` | `contact/ContactActions` | `data-preview-field-path` | Multi-channel contact bar (Phone, WhatsApp, Email) |
|
|
146
|
+
| `ContactButton` | `contact/ContactButton` | `data-preview-field-path` | Configurable contact button with phone/email/WhatsApp presets |
|
|
147
|
+
| `WhatsAppButton` | `contact/WhatsAppButton` | `data-preview-field-path` | One-click WhatsApp chat launcher with dynamic link resolution |
|
|
148
|
+
| `PhoneButton` | `contact/PhoneButton` | `data-preview-field-path` | Direct call action with tel: protocol and visual editing bindings |
|
|
149
|
+
| `EmailButton` | `contact/EmailButton` | `data-preview-field-path` | Pre-formatted mailto action with subject line support |
|
|
150
|
+
| `FloatingContactWidget`| `contact/FloatingContactWidget` | `data-preview-field-path` | Sticky bottom-corner conversion widget |
|
|
151
|
+
| `BusinessHours` | `business/BusinessHours` | `data-preview-field-path` | Weekly schedule renderer with dynamic live Open/Closed badge |
|
|
152
|
+
| `HeritageCollage` | `business/HeritageCollage` | `data-preview-field-path`, `data-preview-item-path` | Visual brand story collage with historical milestone cards |
|
|
153
|
+
| `SocialLinks` | `social/SocialLinks` | `data-preview-field-path` | Filtered social channel container with brand icons |
|
|
154
|
+
| `SocialButton` | `social/SocialButton` | `data-preview-field-path` | Individual branded social media button |
|
|
155
|
+
|
|
156
|
+
### 7. Runtime State & Theming Primitives
|
|
157
|
+
| Component / Hook | Module Path | Purpose |
|
|
80
158
|
| :--- | :--- | :--- |
|
|
81
|
-
| `
|
|
82
|
-
| `
|
|
83
|
-
| `
|
|
84
|
-
| `
|
|
85
|
-
| `
|
|
86
|
-
| `
|
|
87
|
-
| `
|
|
88
|
-
| `
|
|
89
|
-
| `Hero` | `EditableHeroCentered` | High-converting split / centered storefront hero |
|
|
90
|
-
| `Footer` | `EditableFooter` | Multi-column commerce footer with social links & legal links |
|
|
91
|
-
| `CartDrawer` | `EditableCartDrawer` | Sliding visual cart drawer with item counter |
|
|
92
|
-
| `Accordion` / `FAQ`| `EditableFAQAccordion` | Collapsible FAQ accordion with Fivora list markers |
|
|
93
|
-
| `Button` | `EditableButton` | Visual button with action contract & ripple feedback |
|
|
94
|
-
| `Image` | `EditableImage` | Visual image with aspect ratio preservation & Fivora focus |
|
|
95
|
-
| `Text` | `EditableText` | Inline editable text with instant DOM sync |
|
|
96
|
-
|
|
97
|
-
---
|
|
159
|
+
| `SiteDataProvider` | `SiteDataProvider` | Real-time `BroadcastChannel` & `postMessage` state synchronizer |
|
|
160
|
+
| `useSiteData` | `SiteDataProvider` | React hook to access live synchronized `siteData` |
|
|
161
|
+
| `ThemeStyles` | `ThemeStyles` | Dynamic CSS variable injector for colors, fonts, and radii |
|
|
162
|
+
| `ResponsiveBaseStyles`| `ResponsiveBaseStyles` | Universal fluid typography & responsive baseline styles |
|
|
163
|
+
| `DenebComponentStyles`| `DenebComponentStyles` | Scoped component style definitions |
|
|
164
|
+
| `FontLoader` | `fonts/FontLoader` | Google Fonts pre-fetch & dynamic injection engine |
|
|
165
|
+
| `useDenebFonts` | `fonts/useDenebFonts` | Hook for checking active font definitions |
|
|
166
|
+
| `CartProvider` / `useCart`| `cart/useCart` | Global cart state management with persistent storage |
|
|
98
167
|
|
|
99
168
|
## Component Guides & API Reference
|
|
100
169
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deneb-ui/ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.47",
|
|
4
4
|
"description": "Visual-first React component library for editable commerce storefronts. Built for Next.js and Fivora.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
],
|
|
50
50
|
"license": "MIT",
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@deneb-ui/core": "^2.0.
|
|
52
|
+
"@deneb-ui/core": "^2.0.47"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"react": "^18.0.0 || ^19.0.0",
|