@htmlbricks/hb-footer 0.68.1 → 0.68.2
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/main.iife.js +2 -2
- package/main.iife.js.map +1 -1
- package/manifest.json +203 -2
- package/package.json +1 -1
package/manifest.json
CHANGED
|
@@ -430,6 +430,7 @@
|
|
|
430
430
|
"examples": [
|
|
431
431
|
{
|
|
432
432
|
"name": "default",
|
|
433
|
+
"description": "Full regular footer: company, brand/contacts meta, link columns, policies, contacts, and socials.",
|
|
433
434
|
"data": {
|
|
434
435
|
"company": {
|
|
435
436
|
"logoUri": "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
|
|
@@ -499,9 +500,209 @@
|
|
|
499
500
|
"youtube": "yttttttt"
|
|
500
501
|
}
|
|
501
502
|
}
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "minimal_regular",
|
|
506
|
+
"description": "Regular layout with the company block only—no optional columns, contacts, socials, or policies.",
|
|
507
|
+
"data": {
|
|
508
|
+
"company": {
|
|
509
|
+
"logoUri": "",
|
|
510
|
+
"siteName": "Acme Shop",
|
|
511
|
+
"companyName": "Acme Commerce S.r.l.",
|
|
512
|
+
"description": "Minimal example: company column only.",
|
|
513
|
+
"vatNumber": "IT12345678901"
|
|
514
|
+
},
|
|
515
|
+
"type": "regular"
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"name": "small_layout",
|
|
520
|
+
"description": "Compact `small` bar; users can expand to the full regular layout unless `disable_expanding_small` is set.",
|
|
521
|
+
"data": {
|
|
522
|
+
"company": {
|
|
523
|
+
"logoUri": "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
|
|
524
|
+
"siteName": "testsite",
|
|
525
|
+
"companyName": "testcompany S.R.L.",
|
|
526
|
+
"description": "testo e descrizione di esempio dell applicazione",
|
|
527
|
+
"vatNumber": "aa - ffffff",
|
|
528
|
+
"fiscalCode": "f4f5f6fff"
|
|
529
|
+
},
|
|
530
|
+
"type": "small"
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"name": "small_no_expand",
|
|
535
|
+
"description": "`small` layout with expansion disabled—the footer stays as the slim bar.",
|
|
536
|
+
"data": {
|
|
537
|
+
"company": {
|
|
538
|
+
"logoUri": "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
|
|
539
|
+
"siteName": "testsite",
|
|
540
|
+
"companyName": "testcompany S.R.L.",
|
|
541
|
+
"description": "testo e descrizione di esempio dell applicazione",
|
|
542
|
+
"vatNumber": "aa - ffffff",
|
|
543
|
+
"fiscalCode": "f4f5f6fff"
|
|
544
|
+
},
|
|
545
|
+
"type": "small",
|
|
546
|
+
"disable_expanding_small": true
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "contacts_rich",
|
|
551
|
+
"description": "Phones, emails, addresses, and sites rendered via `hb-contact-item` in the contacts column.",
|
|
552
|
+
"data": {
|
|
553
|
+
"company": {
|
|
554
|
+
"logoUri": "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
|
|
555
|
+
"siteName": "testsite",
|
|
556
|
+
"companyName": "testcompany S.R.L.",
|
|
557
|
+
"description": "testo e descrizione di esempio dell applicazione",
|
|
558
|
+
"vatNumber": "aa - ffffff",
|
|
559
|
+
"fiscalCode": "f4f5f6fff"
|
|
560
|
+
},
|
|
561
|
+
"type": "regular",
|
|
562
|
+
"contacts": {
|
|
563
|
+
"phones": [
|
|
564
|
+
{
|
|
565
|
+
"_id": "phone_sales",
|
|
566
|
+
"label": "Sales",
|
|
567
|
+
"number": "+39 02 1111 2222"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"_id": "phone_support",
|
|
571
|
+
"label": "Support",
|
|
572
|
+
"number": "+39 02 3333 4444"
|
|
573
|
+
}
|
|
574
|
+
],
|
|
575
|
+
"emails": [
|
|
576
|
+
{
|
|
577
|
+
"_id": "email_info",
|
|
578
|
+
"label": "Info",
|
|
579
|
+
"address": "info@example.com"
|
|
580
|
+
}
|
|
581
|
+
],
|
|
582
|
+
"addresses": [
|
|
583
|
+
{
|
|
584
|
+
"_id": "addr_hq",
|
|
585
|
+
"address": "Via Roma 1, 20100 Milano MI, Italy",
|
|
586
|
+
"shortAddress": "Milano HQ",
|
|
587
|
+
"googleMapUri": "https://maps.google.com"
|
|
588
|
+
}
|
|
589
|
+
],
|
|
590
|
+
"sites": [
|
|
591
|
+
{
|
|
592
|
+
"_id": "site_docs",
|
|
593
|
+
"label": "Documentation",
|
|
594
|
+
"uri": "https://example.com/docs"
|
|
595
|
+
}
|
|
596
|
+
]
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"name": "socials_extended",
|
|
602
|
+
"description": "Several social presets (GitHub, Twitter, YouTube, Discord) when the matching keys are present.",
|
|
603
|
+
"data": {
|
|
604
|
+
"company": {
|
|
605
|
+
"logoUri": "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
|
|
606
|
+
"siteName": "testsite",
|
|
607
|
+
"companyName": "testcompany S.R.L.",
|
|
608
|
+
"description": "testo e descrizione di esempio dell applicazione",
|
|
609
|
+
"vatNumber": "aa - ffffff",
|
|
610
|
+
"fiscalCode": "f4f5f6fff"
|
|
611
|
+
},
|
|
612
|
+
"type": "regular",
|
|
613
|
+
"socials": {
|
|
614
|
+
"github": "https://github.com/example",
|
|
615
|
+
"twitter": "x",
|
|
616
|
+
"youtube": "yt",
|
|
617
|
+
"discord": "dc"
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"name": "columns_mixed_cells",
|
|
623
|
+
"description": "Link columns with text buttons and a column that embeds a phone row inside a cell.",
|
|
624
|
+
"data": {
|
|
625
|
+
"company": {
|
|
626
|
+
"logoUri": "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
|
|
627
|
+
"siteName": "testsite",
|
|
628
|
+
"companyName": "testcompany S.R.L.",
|
|
629
|
+
"description": "testo e descrizione di esempio dell applicazione",
|
|
630
|
+
"vatNumber": "aa - ffffff",
|
|
631
|
+
"fiscalCode": "f4f5f6fff"
|
|
632
|
+
},
|
|
633
|
+
"type": "regular",
|
|
634
|
+
"columns": [
|
|
635
|
+
{
|
|
636
|
+
"_id": "col_product",
|
|
637
|
+
"title": "Product",
|
|
638
|
+
"cells": [
|
|
639
|
+
{
|
|
640
|
+
"_id": "features",
|
|
641
|
+
"label": "Features"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"_id": "pricing",
|
|
645
|
+
"label": "Pricing"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"_id": "changelog",
|
|
649
|
+
"label": "Changelog"
|
|
650
|
+
}
|
|
651
|
+
]
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"_id": "col_legal",
|
|
655
|
+
"title": "Legal",
|
|
656
|
+
"cells": [
|
|
657
|
+
{
|
|
658
|
+
"_id": "imprint",
|
|
659
|
+
"label": "Imprint"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"_id": "phone_legal",
|
|
663
|
+
"phone": {
|
|
664
|
+
"number": "+39 06 0000000",
|
|
665
|
+
"label": "Legal dept."
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
]
|
|
669
|
+
}
|
|
670
|
+
]
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"name": "policies_external_links",
|
|
675
|
+
"description": "Policy entries with `link` render as anchors; entries without `link` dispatch `footerClick` with `key`.",
|
|
676
|
+
"data": {
|
|
677
|
+
"company": {
|
|
678
|
+
"logoUri": "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
|
|
679
|
+
"siteName": "testsite",
|
|
680
|
+
"companyName": "testcompany S.R.L.",
|
|
681
|
+
"description": "testo e descrizione di esempio dell applicazione",
|
|
682
|
+
"vatNumber": "aa - ffffff",
|
|
683
|
+
"fiscalCode": "f4f5f6fff"
|
|
684
|
+
},
|
|
685
|
+
"type": "regular",
|
|
686
|
+
"policies": [
|
|
687
|
+
{
|
|
688
|
+
"label": "Privacy Policy",
|
|
689
|
+
"key": "privacy",
|
|
690
|
+
"link": "https://example.com/privacy"
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"label": "Terms of Service",
|
|
694
|
+
"key": "terms",
|
|
695
|
+
"link": "https://example.com/terms"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"label": "Contact us (in-app)",
|
|
699
|
+
"key": "contact"
|
|
700
|
+
}
|
|
701
|
+
]
|
|
702
|
+
}
|
|
502
703
|
}
|
|
503
704
|
],
|
|
504
|
-
"iifeIntegrity": "sha384-
|
|
705
|
+
"iifeIntegrity": "sha384-dBGA+HC+teqYUUF45acq/BXlsad1DhLO6xB7/GxkmQF1Is6sxy4Ew+h9Jde1vwQ4",
|
|
505
706
|
"dependencies": [
|
|
506
707
|
{
|
|
507
708
|
"name": "hb-contact-item",
|
|
@@ -529,5 +730,5 @@
|
|
|
529
730
|
},
|
|
530
731
|
"iifePath": "main.iife.js",
|
|
531
732
|
"repoName": "@htmlbricks/hb-footer",
|
|
532
|
-
"version": "0.68.
|
|
733
|
+
"version": "0.68.2"
|
|
533
734
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-footer",
|
|
3
|
-
"version": "0.68.
|
|
3
|
+
"version": "0.68.2",
|
|
4
4
|
"contributors": [],
|
|
5
5
|
"description": "Site footer in `small`, `regular`, or `large` layouts: company block, optional brand/contacts column, link columns, social icons, `hb-contact-item` rows, and policy links—all driven by JSON props. Regular layout uses Bulma `container`, `columns` / `column`, `title`, and `button`. On small layouts the body can expand/collapse unless `disable_expanding_small` is set; slots `footerheader`, `footercontent`, and `footerbottom` wrap major regions.",
|
|
6
6
|
"licenses": [
|