@htmlbricks/hb-layout-desktop 0.67.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/manifest.json CHANGED
@@ -547,7 +547,7 @@
547
547
  }
548
548
  }
549
549
  },
550
- "description": "Desktop layout with top navbar, optional left sidebar (sidebar-desktop) when navigation links are present, main page area, optional cookie-law banner, and footer. Supports one-screen height mode and forwards navigation and footer events.",
550
+ "description": "Desktop layout with top navbar, optional left sidebar (sidebar-desktop) when navigation links are present, main page area, optional cookie-law banner, and footer. The host fills at least the viewport height; only the page slot scrolls vertically by default; sidebar rail is clipped to the viewport (internal sidebar scroll remains). With onescreen, the footer stays at the bottom and the page slot does not scroll vertically.",
551
551
  "storybookArgs": {
552
552
  "pageChange": {
553
553
  "action": "pageChange"
@@ -811,9 +811,443 @@
811
811
  }
812
812
  ]
813
813
  }
814
+ },
815
+ {
816
+ "name": "onescreen",
817
+ "description": "Fills the viewport below the navbar: the footer stays at the bottom of the page area, the page slot does not scroll vertically (overflow hidden), and with footer.type auto the footer uses the compact (small) variant. Uses a long sidebar (26 links) to exercise internal sidebar scrolling.",
818
+ "data": {
819
+ "company": {
820
+ "logoUri": "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
821
+ "siteName": "testsite",
822
+ "companyName": "testcompany S.R.L.",
823
+ "registration": {
824
+ "text": "copyright"
825
+ },
826
+ "description": "testo e descrizione di esempio dell applicazione",
827
+ "vatNumber": "aa - ffffff",
828
+ "fiscalCode": "f4f5f6fff"
829
+ },
830
+ "contacts": {
831
+ "sites": [
832
+ {
833
+ "label": "dariocaruso.info",
834
+ "uri": "https://dariocaruso.info"
835
+ }
836
+ ],
837
+ "phones": [
838
+ {
839
+ "number": "6666666666666"
840
+ }
841
+ ],
842
+ "addresses": [],
843
+ "emails": []
844
+ },
845
+ "socials": {
846
+ "facebook": "fbbb",
847
+ "youtube": "yttttttt"
848
+ },
849
+ "navlinks": [
850
+ {
851
+ "label": "Home",
852
+ "key": "home",
853
+ "icon": "house-door",
854
+ "group": "main"
855
+ },
856
+ {
857
+ "label": "Dashboard",
858
+ "key": "dashboard",
859
+ "icon": "speedometer2",
860
+ "group": "main"
861
+ },
862
+ {
863
+ "label": "Inbox",
864
+ "key": "inbox",
865
+ "icon": "inbox",
866
+ "group": "main",
867
+ "badge": {
868
+ "text": "12"
869
+ }
870
+ },
871
+ {
872
+ "label": "Calendar",
873
+ "key": "calendar",
874
+ "icon": "calendar3",
875
+ "group": "main"
876
+ },
877
+ {
878
+ "label": "Tasks",
879
+ "key": "tasks",
880
+ "icon": "check2-square",
881
+ "group": "work"
882
+ },
883
+ {
884
+ "label": "Projects",
885
+ "key": "projects",
886
+ "icon": "folder",
887
+ "group": "work"
888
+ },
889
+ {
890
+ "label": "Milestones",
891
+ "key": "milestones",
892
+ "icon": "flag",
893
+ "group": "work"
894
+ },
895
+ {
896
+ "label": "Time tracking",
897
+ "key": "time",
898
+ "icon": "clock-history",
899
+ "group": "work"
900
+ },
901
+ {
902
+ "label": "Documents",
903
+ "key": "documents",
904
+ "icon": "file-earmark-text",
905
+ "group": "content"
906
+ },
907
+ {
908
+ "label": "Media library",
909
+ "key": "media",
910
+ "icon": "images",
911
+ "group": "content"
912
+ },
913
+ {
914
+ "label": "Knowledge base",
915
+ "key": "kb",
916
+ "icon": "book",
917
+ "group": "content"
918
+ },
919
+ {
920
+ "label": "Analytics",
921
+ "key": "analytics",
922
+ "icon": "graph-up-arrow",
923
+ "group": "insights"
924
+ },
925
+ {
926
+ "label": "Reports",
927
+ "key": "reports",
928
+ "icon": "clipboard-data",
929
+ "group": "insights"
930
+ },
931
+ {
932
+ "label": "Exports",
933
+ "key": "exports",
934
+ "icon": "download",
935
+ "group": "insights"
936
+ },
937
+ {
938
+ "label": "Team",
939
+ "key": "team",
940
+ "icon": "people",
941
+ "group": "org"
942
+ },
943
+ {
944
+ "label": "Directory",
945
+ "key": "directory",
946
+ "icon": "person-lines-fill",
947
+ "group": "org"
948
+ },
949
+ {
950
+ "label": "Billing",
951
+ "key": "billing",
952
+ "icon": "credit-card",
953
+ "group": "admin"
954
+ },
955
+ {
956
+ "label": "Plans",
957
+ "key": "plans",
958
+ "icon": "tags",
959
+ "group": "admin"
960
+ },
961
+ {
962
+ "label": "API keys",
963
+ "key": "api-keys",
964
+ "icon": "key",
965
+ "group": "admin"
966
+ },
967
+ {
968
+ "label": "Webhooks",
969
+ "key": "webhooks",
970
+ "icon": "link-45deg",
971
+ "group": "admin"
972
+ },
973
+ {
974
+ "label": "Integrations",
975
+ "key": "integrations",
976
+ "icon": "puzzle",
977
+ "group": "admin"
978
+ },
979
+ {
980
+ "label": "Notifications",
981
+ "key": "notifications",
982
+ "icon": "bell",
983
+ "group": "admin"
984
+ },
985
+ {
986
+ "label": "Audit log",
987
+ "key": "audit",
988
+ "icon": "journal-text",
989
+ "group": "admin"
990
+ },
991
+ {
992
+ "label": "Roles & permissions",
993
+ "key": "roles",
994
+ "icon": "shield-lock",
995
+ "group": "admin"
996
+ },
997
+ {
998
+ "label": "Settings",
999
+ "key": "settings",
1000
+ "icon": "gear",
1001
+ "group": "admin"
1002
+ },
1003
+ {
1004
+ "label": "Help center",
1005
+ "key": "help",
1006
+ "icon": "question-circle",
1007
+ "group": "support"
1008
+ }
1009
+ ],
1010
+ "usermenu": {
1011
+ "list": [
1012
+ {
1013
+ "key": "list1",
1014
+ "label": "list1"
1015
+ },
1016
+ {
1017
+ "key": "list2",
1018
+ "label": "list2"
1019
+ },
1020
+ {
1021
+ "key": "list3",
1022
+ "label": "list3",
1023
+ "group": "list1",
1024
+ "badge": 3
1025
+ },
1026
+ {
1027
+ "key": "list4",
1028
+ "label": "list4",
1029
+ "badge": 555
1030
+ }
1031
+ ],
1032
+ "imgUri": "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg"
1033
+ },
1034
+ "sidebar": {
1035
+ "title": "ciao"
1036
+ },
1037
+ "policies": [
1038
+ {
1039
+ "label": "Privacy Policy",
1040
+ "key": "privacypolicy"
1041
+ },
1042
+ {
1043
+ "label": "Cookie Policy",
1044
+ "key": "cookiepolicy"
1045
+ }
1046
+ ],
1047
+ "onescreen": true,
1048
+ "page_title": "One-screen layout"
1049
+ }
1050
+ },
1051
+ {
1052
+ "name": "navbar-only",
1053
+ "description": "Empty navlinks: top navbar and full-width content column without the left hb-sidebar-desktop rail.",
1054
+ "data": {
1055
+ "company": {
1056
+ "logoUri": "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
1057
+ "siteName": "testsite",
1058
+ "companyName": "testcompany S.R.L.",
1059
+ "registration": {
1060
+ "text": "copyright"
1061
+ },
1062
+ "description": "testo e descrizione di esempio dell applicazione",
1063
+ "vatNumber": "aa - ffffff",
1064
+ "fiscalCode": "f4f5f6fff"
1065
+ },
1066
+ "contacts": {
1067
+ "sites": [
1068
+ {
1069
+ "label": "dariocaruso.info",
1070
+ "uri": "https://dariocaruso.info"
1071
+ }
1072
+ ],
1073
+ "phones": [
1074
+ {
1075
+ "number": "6666666666666"
1076
+ }
1077
+ ],
1078
+ "addresses": [],
1079
+ "emails": []
1080
+ },
1081
+ "socials": {
1082
+ "facebook": "fbbb",
1083
+ "youtube": "yttttttt"
1084
+ },
1085
+ "navlinks": [],
1086
+ "usermenu": {
1087
+ "list": [
1088
+ {
1089
+ "key": "list1",
1090
+ "label": "list1"
1091
+ },
1092
+ {
1093
+ "key": "list2",
1094
+ "label": "list2"
1095
+ },
1096
+ {
1097
+ "key": "list3",
1098
+ "label": "list3",
1099
+ "group": "list1",
1100
+ "badge": 3
1101
+ },
1102
+ {
1103
+ "key": "list4",
1104
+ "label": "list4",
1105
+ "badge": 555
1106
+ }
1107
+ ],
1108
+ "imgUri": "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg"
1109
+ },
1110
+ "sidebar": {
1111
+ "title": "ciao"
1112
+ },
1113
+ "policies": [
1114
+ {
1115
+ "label": "Privacy Policy",
1116
+ "key": "privacypolicy"
1117
+ },
1118
+ {
1119
+ "label": "Cookie Policy",
1120
+ "key": "cookiepolicy"
1121
+ }
1122
+ ],
1123
+ "page_title": "Navbar only"
1124
+ }
1125
+ },
1126
+ {
1127
+ "name": "cookieLawBanner",
1128
+ "description": "Desktop shell with cookie banner, locale, and learn-more URI.",
1129
+ "data": {
1130
+ "company": {
1131
+ "logoUri": "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg",
1132
+ "siteName": "testsite",
1133
+ "companyName": "testcompany S.R.L.",
1134
+ "registration": {
1135
+ "text": "copyright"
1136
+ },
1137
+ "description": "testo e descrizione di esempio dell applicazione",
1138
+ "vatNumber": "aa - ffffff",
1139
+ "fiscalCode": "f4f5f6fff"
1140
+ },
1141
+ "contacts": {
1142
+ "sites": [
1143
+ {
1144
+ "label": "dariocaruso.info",
1145
+ "uri": "https://dariocaruso.info"
1146
+ }
1147
+ ],
1148
+ "phones": [
1149
+ {
1150
+ "number": "6666666666666"
1151
+ }
1152
+ ],
1153
+ "addresses": [],
1154
+ "emails": []
1155
+ },
1156
+ "socials": {
1157
+ "facebook": "fbbb",
1158
+ "youtube": "yttttttt"
1159
+ },
1160
+ "navlinks": [
1161
+ {
1162
+ "label": "Home",
1163
+ "key": "home",
1164
+ "icon": "house-door",
1165
+ "badge": {
1166
+ "text": "bbb"
1167
+ }
1168
+ },
1169
+ {
1170
+ "label": "Dashboard",
1171
+ "key": "dashboard",
1172
+ "icon": "speedometer",
1173
+ "badge": {
1174
+ "text": "bbb"
1175
+ }
1176
+ },
1177
+ {
1178
+ "label": "Settings",
1179
+ "key": "settings",
1180
+ "icon": "gear",
1181
+ "group": "admin",
1182
+ "badge": {
1183
+ "text": "bbb"
1184
+ }
1185
+ },
1186
+ {
1187
+ "label": "Users",
1188
+ "key": "users",
1189
+ "icon": "people-fill",
1190
+ "group": "admin",
1191
+ "badge": {
1192
+ "text": "uuuuu"
1193
+ }
1194
+ },
1195
+ {
1196
+ "label": "Stats",
1197
+ "key": "stats",
1198
+ "icon": "graph-up",
1199
+ "group": "stats",
1200
+ "badge": {
1201
+ "text": "bbb"
1202
+ }
1203
+ }
1204
+ ],
1205
+ "usermenu": {
1206
+ "list": [
1207
+ {
1208
+ "key": "list1",
1209
+ "label": "list1"
1210
+ },
1211
+ {
1212
+ "key": "list2",
1213
+ "label": "list2"
1214
+ },
1215
+ {
1216
+ "key": "list3",
1217
+ "label": "list3",
1218
+ "group": "list1",
1219
+ "badge": 3
1220
+ },
1221
+ {
1222
+ "key": "list4",
1223
+ "label": "list4",
1224
+ "badge": 555
1225
+ }
1226
+ ],
1227
+ "imgUri": "https://upload.wikimedia.org/wikipedia/commons/8/80/Wikipedia-logo-v2.svg"
1228
+ },
1229
+ "sidebar": {
1230
+ "title": "ciao"
1231
+ },
1232
+ "policies": [
1233
+ {
1234
+ "label": "Privacy Policy",
1235
+ "key": "privacypolicy"
1236
+ },
1237
+ {
1238
+ "label": "Cookie Policy",
1239
+ "key": "cookiepolicy"
1240
+ }
1241
+ ],
1242
+ "cookielaw": "yes",
1243
+ "cookielawlanguage": "en",
1244
+ "cookielawuri4more": "https://example.com/privacy",
1245
+ "cookielawallowdecline": true,
1246
+ "page_title": "Cookie consent demo"
1247
+ }
814
1248
  }
815
1249
  ],
816
- "iifeIntegrity": "sha384-RZUrN+jgW3+yZt1VbPGWtbwSVN9LryVoBFLTTSSLikeRF1UxmTtBqXpxWiIeYopA",
1250
+ "iifeIntegrity": "sha384-pzoPRCWgbO+o9/S5GBSKmF5vlfsTycTRNVcRXnv+Usf53W46SIFpN0qNoc8M5y1f",
817
1251
  "dependencies": [
818
1252
  {
819
1253
  "name": "hb-footer",
@@ -887,5 +1321,5 @@
887
1321
  },
888
1322
  "iifePath": "main.iife.js",
889
1323
  "repoName": "@htmlbricks/hb-layout-desktop",
890
- "version": "0.67.1"
1324
+ "version": "0.68.2"
891
1325
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-layout-desktop",
3
- "version": "0.67.1",
3
+ "version": "0.68.2",
4
4
  "contributors": [],
5
- "description": "Desktop layout with top navbar, optional left sidebar (sidebar-desktop) when navigation links are present, main page area, optional cookie-law banner, and footer. Supports one-screen height mode and forwards navigation and footer events.",
5
+ "description": "Desktop layout with top navbar, optional left sidebar (sidebar-desktop) when navigation links are present, main page area, optional cookie-law banner, and footer. The host fills at least the viewport height; only the page slot scrolls vertically by default; sidebar rail is clipped to the viewport (internal sidebar scroll remains). With onescreen, the footer stays at the bottom and the page slot does not scroll vertically.",
6
6
  "licenses": [
7
7
  {
8
8
  "type": "Apache-2.0",