@electroplix/components 0.5.0-alpha.11 → 0.5.0-alpha.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/CHANGELOG.md +10 -0
- package/dist/index.esm.js +211 -148
- package/dist/package.json +1 -1
- package/dist/src/components/hero/CTAOverlayHero.d.ts.map +1 -1
- package/dist/src/components/hero/CarouselHero.d.ts.map +1 -1
- package/dist/src/components/hero/HeroShell.d.ts.map +1 -1
- package/dist/src/components/hero/PatternedHero.d.ts.map +1 -1
- package/dist/src/components/hero/SplitHero.d.ts.map +1 -1
- package/dist/src/components/hero/StaticHero.d.ts.map +1 -1
- package/dist/src/components/hero/VideoHeaderHero.d.ts.map +1 -1
- package/metadata/hero.json +257 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@electroplix/components",
|
|
3
|
-
"version": "0.5.0-alpha.
|
|
3
|
+
"version": "0.5.0-alpha.11",
|
|
4
4
|
"description": "Parametric, config-driven UI components by Electroplix. 159 components across 18 categories — navigation, hero, buttons, forms, content, data display, ecommerce, lists/cards, marketing, media, miscellaneous, modals, onboarding, search, site-identity, social, user-accounts, and blog. AI-builder-ready metadata included.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CTAOverlayHero.d.ts","sourceRoot":"","sources":["../../../../src/components/hero/CTAOverlayHero.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CTAOverlayHero.d.ts","sourceRoot":"","sources":["../../../../src/components/hero/CTAOverlayHero.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,mBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC,EAAE,UAAU,CAAC;IACnE,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,KAAK,IAAI,CAAC;IAC9D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AASD,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,2CAyTxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselHero.d.ts","sourceRoot":"","sources":["../../../../src/components/hero/CarouselHero.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CarouselHero.d.ts","sourceRoot":"","sources":["../../../../src/components/hero/CarouselHero.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,MAAM,KAAK,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC;IAClF,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAWD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,2CAmTpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeroShell.d.ts","sourceRoot":"","sources":["../../../../src/components/hero/HeroShell.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"HeroShell.d.ts","sourceRoot":"","sources":["../../../../src/components/hero/HeroShell.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC;IAC/E,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAQD,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,2CAwG9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PatternedHero.d.ts","sourceRoot":"","sources":["../../../../src/components/hero/PatternedHero.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PatternedHero.d.ts","sourceRoot":"","sources":["../../../../src/components/hero/PatternedHero.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,KAAK,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;AA2BhD,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC;IACnF,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAeD,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAyOtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SplitHero.d.ts","sourceRoot":"","sources":["../../../../src/components/hero/SplitHero.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SplitHero.d.ts","sourceRoot":"","sources":["../../../../src/components/hero/SplitHero.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC;IAC/E,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAWD,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,2CAyR9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StaticHero.d.ts","sourceRoot":"","sources":["../../../../src/components/hero/StaticHero.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"StaticHero.d.ts","sourceRoot":"","sources":["../../../../src/components/hero/StaticHero.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC;IAChF,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAUD,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,2CA4MhD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoHeaderHero.d.ts","sourceRoot":"","sources":["../../../../src/components/hero/VideoHeaderHero.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"VideoHeaderHero.d.ts","sourceRoot":"","sources":["../../../../src/components/hero/VideoHeaderHero.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,oBAAqB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,SAAS,CAAC;IACrF,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AASD,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CAsK1D"}
|
package/metadata/hero.json
CHANGED
|
@@ -1396,6 +1396,263 @@
|
|
|
1396
1396
|
"maxPerPage": 1,
|
|
1397
1397
|
"isContainer": false
|
|
1398
1398
|
}
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
"id": "hero.ImageHero",
|
|
1402
|
+
"name": "ImageHero",
|
|
1403
|
+
"description": "Responsive hero with background image, overlay, eyebrow, headline, CTAs, and stats. Supports 3 layout variants: split, centered, and minimal.",
|
|
1404
|
+
"whenToUse": "Use for hero sections that need a background image with text overlay, dual CTAs, and stats. Ideal for business landing pages. The most feature-rich hero with built-in responsive design.",
|
|
1405
|
+
"isShell": false,
|
|
1406
|
+
"props": [
|
|
1407
|
+
{
|
|
1408
|
+
"name": "as",
|
|
1409
|
+
"type": "ElementType",
|
|
1410
|
+
"required": false,
|
|
1411
|
+
"default": "\"section\"",
|
|
1412
|
+
"description": "HTML element or component to render as"
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"name": "eyebrow",
|
|
1416
|
+
"type": "string",
|
|
1417
|
+
"required": false,
|
|
1418
|
+
"default": "\"Welcome\"",
|
|
1419
|
+
"description": "Eyebrow label above the headline"
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
"name": "title",
|
|
1423
|
+
"type": "string",
|
|
1424
|
+
"required": false,
|
|
1425
|
+
"default": "\"Build Something Amazing\"",
|
|
1426
|
+
"description": "Main headline text"
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
"name": "titleAccent",
|
|
1430
|
+
"type": "string",
|
|
1431
|
+
"required": false,
|
|
1432
|
+
"default": null,
|
|
1433
|
+
"description": "Accent text within the headline"
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"name": "titleSuffix",
|
|
1437
|
+
"type": "string",
|
|
1438
|
+
"required": false,
|
|
1439
|
+
"default": null,
|
|
1440
|
+
"description": "Text appended after the headline"
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
"name": "subtitle",
|
|
1444
|
+
"type": "string",
|
|
1445
|
+
"required": false,
|
|
1446
|
+
"default": null,
|
|
1447
|
+
"description": "Subtitle text below the headline"
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
"name": "ctaLabel",
|
|
1451
|
+
"type": "string",
|
|
1452
|
+
"required": false,
|
|
1453
|
+
"default": "\"Get Started\"",
|
|
1454
|
+
"description": "Primary CTA button text"
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"name": "ctaHref",
|
|
1458
|
+
"type": "string",
|
|
1459
|
+
"required": false,
|
|
1460
|
+
"default": "\"#\"",
|
|
1461
|
+
"description": "Primary CTA button link"
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"name": "ctaSecondaryLabel",
|
|
1465
|
+
"type": "string",
|
|
1466
|
+
"required": false,
|
|
1467
|
+
"default": null,
|
|
1468
|
+
"description": "Secondary CTA button text"
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"name": "ctaSecondaryHref",
|
|
1472
|
+
"type": "string",
|
|
1473
|
+
"required": false,
|
|
1474
|
+
"default": "\"#\"",
|
|
1475
|
+
"description": "Secondary CTA button link"
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
"name": "imageSrc",
|
|
1479
|
+
"type": "string",
|
|
1480
|
+
"required": false,
|
|
1481
|
+
"default": null,
|
|
1482
|
+
"description": "Background image URL"
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
"name": "imageAlt",
|
|
1486
|
+
"type": "string",
|
|
1487
|
+
"required": false,
|
|
1488
|
+
"default": "\"Hero image\"",
|
|
1489
|
+
"description": "Alt text for background image"
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"name": "stats",
|
|
1493
|
+
"type": "Array<{ value: string; label: string }>",
|
|
1494
|
+
"required": false,
|
|
1495
|
+
"default": null,
|
|
1496
|
+
"description": "Stats to display below CTAs"
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
"name": "layout",
|
|
1500
|
+
"type": "enum",
|
|
1501
|
+
"values": ["split", "centered", "minimal"],
|
|
1502
|
+
"required": false,
|
|
1503
|
+
"default": "\"split\"",
|
|
1504
|
+
"description": "Layout variant"
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"name": "align",
|
|
1508
|
+
"type": "enum",
|
|
1509
|
+
"values": ["left", "center", "right"],
|
|
1510
|
+
"required": false,
|
|
1511
|
+
"default": "\"left\"",
|
|
1512
|
+
"description": "Text alignment"
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
"name": "titleSize",
|
|
1516
|
+
"type": "number",
|
|
1517
|
+
"required": false,
|
|
1518
|
+
"default": "48",
|
|
1519
|
+
"description": "Title font size in pixels"
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
"name": "subtitleSize",
|
|
1523
|
+
"type": "number",
|
|
1524
|
+
"required": false,
|
|
1525
|
+
"default": "18",
|
|
1526
|
+
"description": "Subtitle font size in pixels"
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
"name": "bgColor",
|
|
1530
|
+
"type": "string",
|
|
1531
|
+
"required": false,
|
|
1532
|
+
"default": "theme",
|
|
1533
|
+
"description": "Background color override"
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"name": "textColor",
|
|
1537
|
+
"type": "string",
|
|
1538
|
+
"required": false,
|
|
1539
|
+
"default": "theme",
|
|
1540
|
+
"description": "Text color override"
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"name": "accentColor",
|
|
1544
|
+
"type": "string",
|
|
1545
|
+
"required": false,
|
|
1546
|
+
"default": "theme",
|
|
1547
|
+
"description": "Accent color override"
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
"name": "fontFamily",
|
|
1551
|
+
"type": "string",
|
|
1552
|
+
"required": false,
|
|
1553
|
+
"default": "theme",
|
|
1554
|
+
"description": "Font family override"
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"name": "minH",
|
|
1558
|
+
"type": "string | number",
|
|
1559
|
+
"required": false,
|
|
1560
|
+
"default": "\"100vh\"",
|
|
1561
|
+
"description": "Minimum height"
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
"name": "maxW",
|
|
1565
|
+
"type": "number",
|
|
1566
|
+
"required": false,
|
|
1567
|
+
"default": "1200",
|
|
1568
|
+
"description": "Maximum width"
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
"name": "px",
|
|
1572
|
+
"type": "number",
|
|
1573
|
+
"required": false,
|
|
1574
|
+
"default": "24",
|
|
1575
|
+
"description": "Horizontal padding"
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
"name": "py",
|
|
1579
|
+
"type": "number",
|
|
1580
|
+
"required": false,
|
|
1581
|
+
"default": "48",
|
|
1582
|
+
"description": "Vertical padding"
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
"name": "radius",
|
|
1586
|
+
"type": "number",
|
|
1587
|
+
"required": false,
|
|
1588
|
+
"default": "theme",
|
|
1589
|
+
"description": "Border radius"
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
"name": "gap",
|
|
1593
|
+
"type": "number",
|
|
1594
|
+
"required": false,
|
|
1595
|
+
"default": "24",
|
|
1596
|
+
"description": "Gap between elements"
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
"name": "style",
|
|
1600
|
+
"type": "CSSProperties",
|
|
1601
|
+
"required": false,
|
|
1602
|
+
"default": null,
|
|
1603
|
+
"description": "Custom inline styles"
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
"name": "className",
|
|
1607
|
+
"type": "string",
|
|
1608
|
+
"required": false,
|
|
1609
|
+
"default": null,
|
|
1610
|
+
"description": "Custom CSS class"
|
|
1611
|
+
}
|
|
1612
|
+
],
|
|
1613
|
+
"themeTokens": [
|
|
1614
|
+
"bgColor",
|
|
1615
|
+
"textColor",
|
|
1616
|
+
"accentColor",
|
|
1617
|
+
"borderColor",
|
|
1618
|
+
"fontFamily",
|
|
1619
|
+
"radius",
|
|
1620
|
+
"spacing",
|
|
1621
|
+
"cardBg",
|
|
1622
|
+
"cardRadius",
|
|
1623
|
+
"cardBorder",
|
|
1624
|
+
"minH",
|
|
1625
|
+
"maxW",
|
|
1626
|
+
"px",
|
|
1627
|
+
"py",
|
|
1628
|
+
"gap"
|
|
1629
|
+
],
|
|
1630
|
+
"aiHints": {
|
|
1631
|
+
"pageTypes": [
|
|
1632
|
+
"landing",
|
|
1633
|
+
"marketing",
|
|
1634
|
+
"ecommerce",
|
|
1635
|
+
"saas",
|
|
1636
|
+
"portfolio",
|
|
1637
|
+
"restaurant",
|
|
1638
|
+
"salon",
|
|
1639
|
+
"clinic",
|
|
1640
|
+
"real-estate",
|
|
1641
|
+
"event"
|
|
1642
|
+
],
|
|
1643
|
+
"placement": "header",
|
|
1644
|
+
"priority": 10,
|
|
1645
|
+
"sequenceOrder": 1,
|
|
1646
|
+
"pairsWellWith": [
|
|
1647
|
+
"navigation.PrimaryNav",
|
|
1648
|
+
"navigation.Footer",
|
|
1649
|
+
"content.HeadingSection",
|
|
1650
|
+
"dataDisplay.Badge",
|
|
1651
|
+
"ecommerce.ProductCard"
|
|
1652
|
+
],
|
|
1653
|
+
"maxPerPage": 1,
|
|
1654
|
+
"isContainer": false
|
|
1655
|
+
}
|
|
1399
1656
|
}
|
|
1400
1657
|
]
|
|
1401
1658
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@electroplix/components",
|
|
3
|
-
"version": "0.5.0-alpha.
|
|
3
|
+
"version": "0.5.0-alpha.12",
|
|
4
4
|
"description": "Parametric, config-driven UI components by Electroplix. 159 components across 18 categories — navigation, hero, buttons, forms, content, data display, ecommerce, lists/cards, marketing, media, miscellaneous, modals, onboarding, search, site-identity, social, user-accounts, and blog. AI-builder-ready metadata included.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|