@genesislcap/foundation-zero 14.114.1 → 14.114.2-alpha-a278302.0

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.
@@ -808,6 +808,194 @@
808
808
  }
809
809
  ]
810
810
  },
811
+ {
812
+ "kind": "javascript-module",
813
+ "path": "src/accordion/accordion.stories.ts",
814
+ "declarations": [
815
+ {
816
+ "kind": "variable",
817
+ "name": "meta",
818
+ "type": {
819
+ "text": "Meta"
820
+ },
821
+ "default": "{\n title: 'Accordion',\n component: 'zero-accordion',\n}"
822
+ },
823
+ {
824
+ "kind": "variable",
825
+ "name": "Primary",
826
+ "type": {
827
+ "text": "StoryObj"
828
+ },
829
+ "default": "{\n render: () => html`\n <zero-accordion>\n <zero-accordion-item slot=\"item\" id=\"accordion-1\">\n Accordion one content\n <div slot=\"heading\">Accordion one</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-2\">\n Accordion two content\n <div slot=\"heading\">Accordion two</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-3\">\n Accordion three content\n <div slot=\"heading\">Accordion three</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-4\">\n Accordion four content\n <div slot=\"heading\">Accordion four</div>\n </zero-accordion-item>\n </zero-accordion>\n `,\n}"
830
+ }
831
+ ],
832
+ "exports": [
833
+ {
834
+ "kind": "js",
835
+ "name": "default",
836
+ "declaration": {
837
+ "name": "meta",
838
+ "module": "src/accordion/accordion.stories.ts"
839
+ }
840
+ },
841
+ {
842
+ "kind": "js",
843
+ "name": "Primary",
844
+ "declaration": {
845
+ "name": "Primary",
846
+ "module": "src/accordion/accordion.stories.ts"
847
+ }
848
+ }
849
+ ]
850
+ },
851
+ {
852
+ "kind": "javascript-module",
853
+ "path": "src/accordion/accordion.styles.ts",
854
+ "declarations": [
855
+ {
856
+ "kind": "function",
857
+ "name": "zeroAccordionStyles",
858
+ "return": {
859
+ "type": {
860
+ "text": "ElementStyles"
861
+ }
862
+ },
863
+ "parameters": [
864
+ {
865
+ "name": "context",
866
+ "type": {
867
+ "text": "ElementDefinitionContext"
868
+ }
869
+ },
870
+ {
871
+ "name": "definition",
872
+ "type": {
873
+ "text": "FoundationElementDefinition"
874
+ }
875
+ }
876
+ ]
877
+ }
878
+ ],
879
+ "exports": [
880
+ {
881
+ "kind": "js",
882
+ "name": "zeroAccordionStyles",
883
+ "declaration": {
884
+ "name": "zeroAccordionStyles",
885
+ "module": "src/accordion/accordion.styles.ts"
886
+ }
887
+ }
888
+ ]
889
+ },
890
+ {
891
+ "kind": "javascript-module",
892
+ "path": "src/accordion/accordion.template.ts",
893
+ "declarations": [
894
+ {
895
+ "kind": "function",
896
+ "name": "zeroAccordionTemplate",
897
+ "return": {
898
+ "type": {
899
+ "text": "ViewTemplate<Accordion>"
900
+ }
901
+ },
902
+ "parameters": [
903
+ {
904
+ "name": "context",
905
+ "type": {
906
+ "text": "ElementDefinitionContext"
907
+ }
908
+ },
909
+ {
910
+ "name": "definition",
911
+ "type": {
912
+ "text": "FoundationElementDefinition"
913
+ }
914
+ }
915
+ ]
916
+ }
917
+ ],
918
+ "exports": [
919
+ {
920
+ "kind": "js",
921
+ "name": "zeroAccordionTemplate",
922
+ "declaration": {
923
+ "name": "zeroAccordionTemplate",
924
+ "module": "src/accordion/accordion.template.ts"
925
+ }
926
+ }
927
+ ]
928
+ },
929
+ {
930
+ "kind": "javascript-module",
931
+ "path": "src/accordion/accordion.ts",
932
+ "declarations": [
933
+ {
934
+ "kind": "class",
935
+ "description": "",
936
+ "name": "Accordion",
937
+ "superclass": {
938
+ "name": "FoundationAccordion",
939
+ "package": "@genesislcap/foundation-ui"
940
+ },
941
+ "tagName": "%%prefix%%-card",
942
+ "customElement": true
943
+ },
944
+ {
945
+ "kind": "variable",
946
+ "name": "zeroAccordion"
947
+ }
948
+ ],
949
+ "exports": [
950
+ {
951
+ "kind": "js",
952
+ "name": "Accordion",
953
+ "declaration": {
954
+ "name": "Accordion",
955
+ "module": "src/accordion/accordion.ts"
956
+ }
957
+ },
958
+ {
959
+ "kind": "js",
960
+ "name": "zeroAccordion",
961
+ "declaration": {
962
+ "name": "zeroAccordion",
963
+ "module": "src/accordion/accordion.ts"
964
+ }
965
+ }
966
+ ]
967
+ },
968
+ {
969
+ "kind": "javascript-module",
970
+ "path": "src/accordion/index.ts",
971
+ "declarations": [],
972
+ "exports": [
973
+ {
974
+ "kind": "js",
975
+ "name": "*",
976
+ "declaration": {
977
+ "name": "*",
978
+ "package": "./accordion"
979
+ }
980
+ },
981
+ {
982
+ "kind": "js",
983
+ "name": "*",
984
+ "declaration": {
985
+ "name": "*",
986
+ "package": "./accordion.styles"
987
+ }
988
+ },
989
+ {
990
+ "kind": "js",
991
+ "name": "*",
992
+ "declaration": {
993
+ "name": "*",
994
+ "package": "./accordion.template"
995
+ }
996
+ }
997
+ ]
998
+ },
811
999
  {
812
1000
  "kind": "javascript-module",
813
1001
  "path": "src/_config/index.ts",
@@ -1201,7 +1389,7 @@
1201
1389
  },
1202
1390
  {
1203
1391
  "kind": "javascript-module",
1204
- "path": "src/accordion/accordion.stories.ts",
1392
+ "path": "src/actions-menu/actions-menu.stories.ts",
1205
1393
  "declarations": [
1206
1394
  {
1207
1395
  "kind": "variable",
@@ -1209,15 +1397,23 @@
1209
1397
  "type": {
1210
1398
  "text": "Meta"
1211
1399
  },
1212
- "default": "{\n title: 'Accordion',\n component: 'zero-accordion',\n}"
1400
+ "default": "{\n title: 'Actions Menu',\n component: 'zero-actions-menu',\n}"
1213
1401
  },
1214
1402
  {
1215
1403
  "kind": "variable",
1216
- "name": "Primary",
1404
+ "name": "Horizontal",
1217
1405
  "type": {
1218
1406
  "text": "StoryObj"
1219
1407
  },
1220
- "default": "{\n render: () => html`\n <zero-accordion>\n <zero-accordion-item slot=\"item\" id=\"accordion-1\">\n Accordion one content\n <div slot=\"heading\">Accordion one</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-2\">\n Accordion two content\n <div slot=\"heading\">Accordion two</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-3\">\n Accordion three content\n <div slot=\"heading\">Accordion three</div>\n </zero-accordion-item>\n <zero-accordion-item slot=\"item\" id=\"accordion-4\">\n Accordion four content\n <div slot=\"heading\">Accordion four</div>\n </zero-accordion-item>\n </zero-accordion>\n `,\n}"
1408
+ "default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Horizontal Actions',\n },\n render: (args) => html`\n <div style=\"${horizontalStyle}\">\n <zero-actions-menu\n name=\"${args.actionsOpenerText}\"\n .actions=${args.actions}\n ></zero-actions-menu>\n </div>\n `,\n}"
1409
+ },
1410
+ {
1411
+ "kind": "variable",
1412
+ "name": "Vertical",
1413
+ "type": {
1414
+ "text": "StoryObj"
1415
+ },
1416
+ "default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Vertical Actions',\n },\n render: ({ actionsOpenerText, actions }) => html`\n <div style=\"${verticalStyle}\">\n <zero-actions-menu\n name=\"${actionsOpenerText}\"\n .actions=${actions}\n is-vertical\n ></zero-actions-menu>\n </div>\n `,\n}"
1221
1417
  }
1222
1418
  ],
1223
1419
  "exports": [
@@ -1226,26 +1422,34 @@
1226
1422
  "name": "default",
1227
1423
  "declaration": {
1228
1424
  "name": "meta",
1229
- "module": "src/accordion/accordion.stories.ts"
1425
+ "module": "src/actions-menu/actions-menu.stories.ts"
1230
1426
  }
1231
1427
  },
1232
1428
  {
1233
1429
  "kind": "js",
1234
- "name": "Primary",
1430
+ "name": "Horizontal",
1235
1431
  "declaration": {
1236
- "name": "Primary",
1237
- "module": "src/accordion/accordion.stories.ts"
1432
+ "name": "Horizontal",
1433
+ "module": "src/actions-menu/actions-menu.stories.ts"
1434
+ }
1435
+ },
1436
+ {
1437
+ "kind": "js",
1438
+ "name": "Vertical",
1439
+ "declaration": {
1440
+ "name": "Vertical",
1441
+ "module": "src/actions-menu/actions-menu.stories.ts"
1238
1442
  }
1239
1443
  }
1240
1444
  ]
1241
1445
  },
1242
1446
  {
1243
1447
  "kind": "javascript-module",
1244
- "path": "src/accordion/accordion.styles.ts",
1448
+ "path": "src/actions-menu/actions-menu.styles.ts",
1245
1449
  "declarations": [
1246
1450
  {
1247
1451
  "kind": "function",
1248
- "name": "zeroAccordionStyles",
1452
+ "name": "zeroActionsMenuStyles",
1249
1453
  "return": {
1250
1454
  "type": {
1251
1455
  "text": "ElementStyles"
@@ -1270,235 +1474,31 @@
1270
1474
  "exports": [
1271
1475
  {
1272
1476
  "kind": "js",
1273
- "name": "zeroAccordionStyles",
1477
+ "name": "zeroActionsMenuStyles",
1274
1478
  "declaration": {
1275
- "name": "zeroAccordionStyles",
1276
- "module": "src/accordion/accordion.styles.ts"
1479
+ "name": "zeroActionsMenuStyles",
1480
+ "module": "src/actions-menu/actions-menu.styles.ts"
1277
1481
  }
1278
1482
  }
1279
1483
  ]
1280
1484
  },
1281
1485
  {
1282
1486
  "kind": "javascript-module",
1283
- "path": "src/accordion/accordion.template.ts",
1487
+ "path": "src/actions-menu/actions-menu.ts",
1284
1488
  "declarations": [
1285
1489
  {
1286
- "kind": "function",
1287
- "name": "zeroAccordionTemplate",
1288
- "return": {
1289
- "type": {
1290
- "text": "ViewTemplate<Accordion>"
1291
- }
1490
+ "kind": "class",
1491
+ "description": "",
1492
+ "name": "ActionsMenu",
1493
+ "superclass": {
1494
+ "name": "FoundationActionsMenu",
1495
+ "package": "@genesislcap/foundation-ui"
1292
1496
  },
1293
- "parameters": [
1294
- {
1295
- "name": "context",
1296
- "type": {
1297
- "text": "ElementDefinitionContext"
1298
- }
1299
- },
1497
+ "tagName": "%%prefix%%-actions-menu",
1498
+ "customElement": true,
1499
+ "attributes": [
1300
1500
  {
1301
- "name": "definition",
1302
- "type": {
1303
- "text": "FoundationElementDefinition"
1304
- }
1305
- }
1306
- ]
1307
- }
1308
- ],
1309
- "exports": [
1310
- {
1311
- "kind": "js",
1312
- "name": "zeroAccordionTemplate",
1313
- "declaration": {
1314
- "name": "zeroAccordionTemplate",
1315
- "module": "src/accordion/accordion.template.ts"
1316
- }
1317
- }
1318
- ]
1319
- },
1320
- {
1321
- "kind": "javascript-module",
1322
- "path": "src/accordion/accordion.ts",
1323
- "declarations": [
1324
- {
1325
- "kind": "class",
1326
- "description": "",
1327
- "name": "Accordion",
1328
- "superclass": {
1329
- "name": "FoundationAccordion",
1330
- "package": "@genesislcap/foundation-ui"
1331
- },
1332
- "tagName": "%%prefix%%-card",
1333
- "customElement": true
1334
- },
1335
- {
1336
- "kind": "variable",
1337
- "name": "zeroAccordion"
1338
- }
1339
- ],
1340
- "exports": [
1341
- {
1342
- "kind": "js",
1343
- "name": "Accordion",
1344
- "declaration": {
1345
- "name": "Accordion",
1346
- "module": "src/accordion/accordion.ts"
1347
- }
1348
- },
1349
- {
1350
- "kind": "js",
1351
- "name": "zeroAccordion",
1352
- "declaration": {
1353
- "name": "zeroAccordion",
1354
- "module": "src/accordion/accordion.ts"
1355
- }
1356
- }
1357
- ]
1358
- },
1359
- {
1360
- "kind": "javascript-module",
1361
- "path": "src/accordion/index.ts",
1362
- "declarations": [],
1363
- "exports": [
1364
- {
1365
- "kind": "js",
1366
- "name": "*",
1367
- "declaration": {
1368
- "name": "*",
1369
- "package": "./accordion"
1370
- }
1371
- },
1372
- {
1373
- "kind": "js",
1374
- "name": "*",
1375
- "declaration": {
1376
- "name": "*",
1377
- "package": "./accordion.styles"
1378
- }
1379
- },
1380
- {
1381
- "kind": "js",
1382
- "name": "*",
1383
- "declaration": {
1384
- "name": "*",
1385
- "package": "./accordion.template"
1386
- }
1387
- }
1388
- ]
1389
- },
1390
- {
1391
- "kind": "javascript-module",
1392
- "path": "src/actions-menu/actions-menu.stories.ts",
1393
- "declarations": [
1394
- {
1395
- "kind": "variable",
1396
- "name": "meta",
1397
- "type": {
1398
- "text": "Meta"
1399
- },
1400
- "default": "{\n title: 'Actions Menu',\n component: 'zero-actions-menu',\n}"
1401
- },
1402
- {
1403
- "kind": "variable",
1404
- "name": "Horizontal",
1405
- "type": {
1406
- "text": "StoryObj"
1407
- },
1408
- "default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Horizontal Actions',\n },\n render: (args) => html`\n <div style=\"${horizontalStyle}\">\n <zero-actions-menu\n name=\"${args.actionsOpenerText}\"\n .actions=${args.actions}\n ></zero-actions-menu>\n </div>\n `,\n}"
1409
- },
1410
- {
1411
- "kind": "variable",
1412
- "name": "Vertical",
1413
- "type": {
1414
- "text": "StoryObj"
1415
- },
1416
- "default": "{\n args: {\n actions: zeroActions,\n actionsOpenerText: 'Vertical Actions',\n },\n render: ({ actionsOpenerText, actions }) => html`\n <div style=\"${verticalStyle}\">\n <zero-actions-menu\n name=\"${actionsOpenerText}\"\n .actions=${actions}\n is-vertical\n ></zero-actions-menu>\n </div>\n `,\n}"
1417
- }
1418
- ],
1419
- "exports": [
1420
- {
1421
- "kind": "js",
1422
- "name": "default",
1423
- "declaration": {
1424
- "name": "meta",
1425
- "module": "src/actions-menu/actions-menu.stories.ts"
1426
- }
1427
- },
1428
- {
1429
- "kind": "js",
1430
- "name": "Horizontal",
1431
- "declaration": {
1432
- "name": "Horizontal",
1433
- "module": "src/actions-menu/actions-menu.stories.ts"
1434
- }
1435
- },
1436
- {
1437
- "kind": "js",
1438
- "name": "Vertical",
1439
- "declaration": {
1440
- "name": "Vertical",
1441
- "module": "src/actions-menu/actions-menu.stories.ts"
1442
- }
1443
- }
1444
- ]
1445
- },
1446
- {
1447
- "kind": "javascript-module",
1448
- "path": "src/actions-menu/actions-menu.styles.ts",
1449
- "declarations": [
1450
- {
1451
- "kind": "function",
1452
- "name": "zeroActionsMenuStyles",
1453
- "return": {
1454
- "type": {
1455
- "text": "ElementStyles"
1456
- }
1457
- },
1458
- "parameters": [
1459
- {
1460
- "name": "context",
1461
- "type": {
1462
- "text": "ElementDefinitionContext"
1463
- }
1464
- },
1465
- {
1466
- "name": "definition",
1467
- "type": {
1468
- "text": "FoundationElementDefinition"
1469
- }
1470
- }
1471
- ]
1472
- }
1473
- ],
1474
- "exports": [
1475
- {
1476
- "kind": "js",
1477
- "name": "zeroActionsMenuStyles",
1478
- "declaration": {
1479
- "name": "zeroActionsMenuStyles",
1480
- "module": "src/actions-menu/actions-menu.styles.ts"
1481
- }
1482
- }
1483
- ]
1484
- },
1485
- {
1486
- "kind": "javascript-module",
1487
- "path": "src/actions-menu/actions-menu.ts",
1488
- "declarations": [
1489
- {
1490
- "kind": "class",
1491
- "description": "",
1492
- "name": "ActionsMenu",
1493
- "superclass": {
1494
- "name": "FoundationActionsMenu",
1495
- "package": "@genesislcap/foundation-ui"
1496
- },
1497
- "tagName": "%%prefix%%-actions-menu",
1498
- "customElement": true,
1499
- "attributes": [
1500
- {
1501
- "name": "is-vertical",
1501
+ "name": "is-vertical",
1502
1502
  "type": {
1503
1503
  "text": "boolean"
1504
1504
  },
@@ -6841,7 +6841,7 @@
6841
6841
  },
6842
6842
  {
6843
6843
  "kind": "javascript-module",
6844
- "path": "src/calendar/calendar.stories.ts",
6844
+ "path": "src/card/card.stories.ts",
6845
6845
  "declarations": [
6846
6846
  {
6847
6847
  "kind": "variable",
@@ -6849,7 +6849,7 @@
6849
6849
  "type": {
6850
6850
  "text": "Meta"
6851
6851
  },
6852
- "default": "{\n title: 'Calendar',\n component: 'zero-calendar',\n}"
6852
+ "default": "{\n title: 'Card',\n component: 'zero-card',\n}"
6853
6853
  },
6854
6854
  {
6855
6855
  "kind": "variable",
@@ -6857,7 +6857,7 @@
6857
6857
  "type": {
6858
6858
  "text": "StoryObj"
6859
6859
  },
6860
- "default": "{\n args: {},\n render: () => html`\n <div style=\"${wrapperStyle}\">\n <zero-calendar\n id=\"zCalendar\"\n month=\"${new Date().getMonth() + 1}\"\n year=\"${new Date().getFullYear()}\"\n month-format=\"short\"\n weekday-format=\"narrow\"\n disabled-dates=\"${new Date().getMonth() + 1}-${new Date().getDate() > 1\n ? new Date().getDate() - 1\n : new Date().getDate() + 2}-${new Date().getFullYear()}\"\n selected-dates=\"${new Date().getMonth() +\n 1}-${new Date().getDate()}-${new Date().getFullYear()}\"\n >\n <div\n slot=\"${new Date().getMonth() + 1}-${new Date().getDate()}-${new Date().getFullYear()}\"\n >\n Test slot\n </div>\n </zero-calendar>\n </div>\n `,\n}"
6860
+ "default": "{\n args: {\n cardFillColor: '#2f353a',\n cardHeading: 'Card 1',\n cardText: 'This is a Rapid Card (and the only one with without extra fui elements!)',\n },\n render: ({ cardFillColor, cardHeading, cardText }) => html`\n <div style=\"${wrapperStyle} --zero-card-fill-color:${cardFillColor};\">\n <zero-card style=\"${cardStyle}\">\n <h6>${cardHeading}</h6>\n <span>${cardText}</span>\n </zero-card>\n </div>\n `,\n}"
6861
6861
  }
6862
6862
  ],
6863
6863
  "exports": [
@@ -6866,7 +6866,7 @@
6866
6866
  "name": "default",
6867
6867
  "declaration": {
6868
6868
  "name": "meta",
6869
- "module": "src/calendar/calendar.stories.ts"
6869
+ "module": "src/card/card.stories.ts"
6870
6870
  }
6871
6871
  },
6872
6872
  {
@@ -6874,46 +6874,60 @@
6874
6874
  "name": "Primary",
6875
6875
  "declaration": {
6876
6876
  "name": "Primary",
6877
- "module": "src/calendar/calendar.stories.ts"
6877
+ "module": "src/card/card.stories.ts"
6878
6878
  }
6879
6879
  }
6880
6880
  ]
6881
6881
  },
6882
6882
  {
6883
6883
  "kind": "javascript-module",
6884
- "path": "src/calendar/calendar.styles.ts",
6884
+ "path": "src/card/card.styles.ts",
6885
6885
  "declarations": [
6886
6886
  {
6887
6887
  "kind": "function",
6888
- "name": "zeroCalendarStyles",
6888
+ "name": "zeroCardStyles",
6889
6889
  "return": {
6890
6890
  "type": {
6891
6891
  "text": "ElementStyles"
6892
6892
  }
6893
- }
6893
+ },
6894
+ "parameters": [
6895
+ {
6896
+ "name": "context",
6897
+ "type": {
6898
+ "text": "ElementDefinitionContext"
6899
+ }
6900
+ },
6901
+ {
6902
+ "name": "definition",
6903
+ "type": {
6904
+ "text": "FoundationElementDefinition"
6905
+ }
6906
+ }
6907
+ ]
6894
6908
  }
6895
6909
  ],
6896
6910
  "exports": [
6897
6911
  {
6898
6912
  "kind": "js",
6899
- "name": "zeroCalendarStyles",
6913
+ "name": "zeroCardStyles",
6900
6914
  "declaration": {
6901
- "name": "zeroCalendarStyles",
6902
- "module": "src/calendar/calendar.styles.ts"
6915
+ "name": "zeroCardStyles",
6916
+ "module": "src/card/card.styles.ts"
6903
6917
  }
6904
6918
  }
6905
6919
  ]
6906
6920
  },
6907
6921
  {
6908
6922
  "kind": "javascript-module",
6909
- "path": "src/calendar/calendar.template.ts",
6923
+ "path": "src/card/card.template.ts",
6910
6924
  "declarations": [
6911
6925
  {
6912
6926
  "kind": "function",
6913
- "name": "zeroCalendarTemplate",
6927
+ "name": "zeroCardTemplate",
6914
6928
  "return": {
6915
6929
  "type": {
6916
- "text": "ViewTemplate<Calendar>"
6930
+ "text": "ViewTemplate<Card>"
6917
6931
  }
6918
6932
  },
6919
6933
  "parameters": [
@@ -6935,161 +6949,29 @@
6935
6949
  "exports": [
6936
6950
  {
6937
6951
  "kind": "js",
6938
- "name": "zeroCalendarTemplate",
6952
+ "name": "zeroCardTemplate",
6939
6953
  "declaration": {
6940
- "name": "zeroCalendarTemplate",
6941
- "module": "src/calendar/calendar.template.ts"
6954
+ "name": "zeroCardTemplate",
6955
+ "module": "src/card/card.template.ts"
6942
6956
  }
6943
6957
  }
6944
6958
  ]
6945
6959
  },
6946
6960
  {
6947
6961
  "kind": "javascript-module",
6948
- "path": "src/calendar/calendar.ts",
6962
+ "path": "src/card/card.ts",
6949
6963
  "declarations": [
6950
6964
  {
6951
6965
  "kind": "class",
6952
6966
  "description": "",
6953
- "name": "Calendar",
6967
+ "name": "Card",
6954
6968
  "superclass": {
6955
- "name": "FoundationCalendar",
6969
+ "name": "FoundationCard",
6956
6970
  "package": "@genesislcap/foundation-ui"
6957
6971
  },
6958
- "tagName": "%%prefix%%-calendar",
6972
+ "tagName": "%%prefix%%-card",
6959
6973
  "customElement": true,
6960
6974
  "members": [
6961
- {
6962
- "kind": "field",
6963
- "name": "today",
6964
- "type": {
6965
- "text": "any"
6966
- },
6967
- "default": "new Day(null, lang)",
6968
- "inheritedFrom": {
6969
- "name": "Calendar",
6970
- "module": "src/date-picker/calendar.ts"
6971
- }
6972
- },
6973
- {
6974
- "kind": "field",
6975
- "name": "year",
6976
- "type": {
6977
- "text": "number"
6978
- },
6979
- "inheritedFrom": {
6980
- "name": "Calendar",
6981
- "module": "src/date-picker/calendar.ts"
6982
- }
6983
- },
6984
- {
6985
- "kind": "field",
6986
- "name": "month",
6987
- "type": {
6988
- "text": "any"
6989
- },
6990
- "default": "new Month(new Date(this.year, (monthNumber || this.today.monthNumber) - 1), lang)",
6991
- "inheritedFrom": {
6992
- "name": "Calendar",
6993
- "module": "src/date-picker/calendar.ts"
6994
- }
6995
- },
6996
- {
6997
- "kind": "field",
6998
- "name": "lang",
6999
- "type": {
7000
- "text": "string"
7001
- },
7002
- "default": "lang",
7003
- "inheritedFrom": {
7004
- "name": "Calendar",
7005
- "module": "src/date-picker/calendar.ts"
7006
- }
7007
- },
7008
- {
7009
- "kind": "field",
7010
- "name": "weekDays",
7011
- "inheritedFrom": {
7012
- "name": "Calendar",
7013
- "module": "src/date-picker/calendar.ts"
7014
- }
7015
- },
7016
- {
7017
- "kind": "method",
7018
- "name": "getMonth",
7019
- "parameters": [
7020
- {
7021
- "name": "monthNumber"
7022
- }
7023
- ],
7024
- "inheritedFrom": {
7025
- "name": "Calendar",
7026
- "module": "src/date-picker/calendar.ts"
7027
- }
7028
- },
7029
- {
7030
- "kind": "method",
7031
- "name": "getPreviousMonth",
7032
- "inheritedFrom": {
7033
- "name": "Calendar",
7034
- "module": "src/date-picker/calendar.ts"
7035
- }
7036
- },
7037
- {
7038
- "kind": "method",
7039
- "name": "getNextMonth",
7040
- "inheritedFrom": {
7041
- "name": "Calendar",
7042
- "module": "src/date-picker/calendar.ts"
7043
- }
7044
- },
7045
- {
7046
- "kind": "method",
7047
- "name": "goToDate",
7048
- "parameters": [
7049
- {
7050
- "name": "monthNumber"
7051
- },
7052
- {
7053
- "name": "year"
7054
- }
7055
- ],
7056
- "inheritedFrom": {
7057
- "name": "Calendar",
7058
- "module": "src/date-picker/calendar.ts"
7059
- }
7060
- },
7061
- {
7062
- "kind": "method",
7063
- "name": "goToNextYear",
7064
- "inheritedFrom": {
7065
- "name": "Calendar",
7066
- "module": "src/date-picker/calendar.ts"
7067
- }
7068
- },
7069
- {
7070
- "kind": "method",
7071
- "name": "goToPreviousYear",
7072
- "inheritedFrom": {
7073
- "name": "Calendar",
7074
- "module": "src/date-picker/calendar.ts"
7075
- }
7076
- },
7077
- {
7078
- "kind": "method",
7079
- "name": "goToNextMonth",
7080
- "inheritedFrom": {
7081
- "name": "Calendar",
7082
- "module": "src/date-picker/calendar.ts"
7083
- }
7084
- },
7085
- {
7086
- "kind": "method",
7087
- "name": "goToPreviousMonth",
7088
- "inheritedFrom": {
7089
- "name": "Calendar",
7090
- "module": "src/date-picker/calendar.ts"
7091
- }
7092
- },
7093
6975
  {
7094
6976
  "kind": "field",
7095
6977
  "name": "_presentation",
@@ -7099,8 +6981,8 @@
7099
6981
  "privacy": "private",
7100
6982
  "default": "void 0",
7101
6983
  "inheritedFrom": {
7102
- "name": "Calendar",
7103
- "module": "src/date-picker/calendar.ts"
6984
+ "name": "Card",
6985
+ "module": "src/card/card.ts"
7104
6986
  }
7105
6987
  },
7106
6988
  {
@@ -7112,8 +6994,8 @@
7112
6994
  "privacy": "public",
7113
6995
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
7114
6996
  "inheritedFrom": {
7115
- "name": "Calendar",
7116
- "module": "src/date-picker/calendar.ts"
6997
+ "name": "Card",
6998
+ "module": "src/card/card.ts"
7117
6999
  }
7118
7000
  },
7119
7001
  {
@@ -7125,8 +7007,8 @@
7125
7007
  "privacy": "public",
7126
7008
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
7127
7009
  "inheritedFrom": {
7128
- "name": "Calendar",
7129
- "module": "src/date-picker/calendar.ts"
7010
+ "name": "Card",
7011
+ "module": "src/card/card.ts"
7130
7012
  }
7131
7013
  },
7132
7014
  {
@@ -7139,8 +7021,8 @@
7139
7021
  }
7140
7022
  },
7141
7023
  "inheritedFrom": {
7142
- "name": "Calendar",
7143
- "module": "src/date-picker/calendar.ts"
7024
+ "name": "Card",
7025
+ "module": "src/card/card.ts"
7144
7026
  }
7145
7027
  },
7146
7028
  {
@@ -7152,8 +7034,8 @@
7152
7034
  "privacy": "public",
7153
7035
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
7154
7036
  "inheritedFrom": {
7155
- "name": "Calendar",
7156
- "module": "src/date-picker/calendar.ts"
7037
+ "name": "Card",
7038
+ "module": "src/card/card.ts"
7157
7039
  }
7158
7040
  },
7159
7041
  {
@@ -7166,8 +7048,8 @@
7166
7048
  }
7167
7049
  },
7168
7050
  "inheritedFrom": {
7169
- "name": "Calendar",
7170
- "module": "src/date-picker/calendar.ts"
7051
+ "name": "Card",
7052
+ "module": "src/card/card.ts"
7171
7053
  }
7172
7054
  },
7173
7055
  {
@@ -7197,39 +7079,39 @@
7197
7079
  ],
7198
7080
  "description": "Defines an element registry function with a set of element definition defaults.",
7199
7081
  "inheritedFrom": {
7200
- "name": "Calendar",
7201
- "module": "src/date-picker/calendar.ts"
7082
+ "name": "Card",
7083
+ "module": "src/card/card.ts"
7202
7084
  }
7203
7085
  }
7204
7086
  ]
7205
7087
  },
7206
7088
  {
7207
7089
  "kind": "variable",
7208
- "name": "zeroCalendar"
7090
+ "name": "zeroCard"
7209
7091
  }
7210
7092
  ],
7211
7093
  "exports": [
7212
7094
  {
7213
7095
  "kind": "js",
7214
- "name": "Calendar",
7096
+ "name": "Card",
7215
7097
  "declaration": {
7216
- "name": "Calendar",
7217
- "module": "src/calendar/calendar.ts"
7098
+ "name": "Card",
7099
+ "module": "src/card/card.ts"
7218
7100
  }
7219
7101
  },
7220
7102
  {
7221
7103
  "kind": "js",
7222
- "name": "zeroCalendar",
7104
+ "name": "zeroCard",
7223
7105
  "declaration": {
7224
- "name": "zeroCalendar",
7225
- "module": "src/calendar/calendar.ts"
7106
+ "name": "zeroCard",
7107
+ "module": "src/card/card.ts"
7226
7108
  }
7227
7109
  }
7228
7110
  ]
7229
7111
  },
7230
7112
  {
7231
7113
  "kind": "javascript-module",
7232
- "path": "src/calendar/index.ts",
7114
+ "path": "src/card/index.ts",
7233
7115
  "declarations": [],
7234
7116
  "exports": [
7235
7117
  {
@@ -7237,7 +7119,7 @@
7237
7119
  "name": "*",
7238
7120
  "declaration": {
7239
7121
  "name": "*",
7240
- "package": "./calendar"
7122
+ "package": "./card"
7241
7123
  }
7242
7124
  },
7243
7125
  {
@@ -7245,7 +7127,7 @@
7245
7127
  "name": "*",
7246
7128
  "declaration": {
7247
7129
  "name": "*",
7248
- "package": "./calendar.styles"
7130
+ "package": "./card.styles"
7249
7131
  }
7250
7132
  },
7251
7133
  {
@@ -7253,14 +7135,14 @@
7253
7135
  "name": "*",
7254
7136
  "declaration": {
7255
7137
  "name": "*",
7256
- "package": "./calendar.template"
7138
+ "package": "./card.template"
7257
7139
  }
7258
7140
  }
7259
7141
  ]
7260
7142
  },
7261
7143
  {
7262
7144
  "kind": "javascript-module",
7263
- "path": "src/card/card.stories.ts",
7145
+ "path": "src/calendar/calendar.stories.ts",
7264
7146
  "declarations": [
7265
7147
  {
7266
7148
  "kind": "variable",
@@ -7268,7 +7150,7 @@
7268
7150
  "type": {
7269
7151
  "text": "Meta"
7270
7152
  },
7271
- "default": "{\n title: 'Card',\n component: 'zero-card',\n}"
7153
+ "default": "{\n title: 'Calendar',\n component: 'zero-calendar',\n}"
7272
7154
  },
7273
7155
  {
7274
7156
  "kind": "variable",
@@ -7276,7 +7158,7 @@
7276
7158
  "type": {
7277
7159
  "text": "StoryObj"
7278
7160
  },
7279
- "default": "{\n args: {\n cardFillColor: '#2f353a',\n cardHeading: 'Card 1',\n cardText: 'This is a Rapid Card (and the only one with without extra fui elements!)',\n },\n render: ({ cardFillColor, cardHeading, cardText }) => html`\n <div style=\"${wrapperStyle} --zero-card-fill-color:${cardFillColor};\">\n <zero-card style=\"${cardStyle}\">\n <h6>${cardHeading}</h6>\n <span>${cardText}</span>\n </zero-card>\n </div>\n `,\n}"
7161
+ "default": "{\n args: {},\n render: () => html`\n <div style=\"${wrapperStyle}\">\n <zero-calendar\n id=\"zCalendar\"\n month=\"${new Date().getMonth() + 1}\"\n year=\"${new Date().getFullYear()}\"\n month-format=\"short\"\n weekday-format=\"narrow\"\n disabled-dates=\"${new Date().getMonth() + 1}-${new Date().getDate() > 1\n ? new Date().getDate() - 1\n : new Date().getDate() + 2}-${new Date().getFullYear()}\"\n selected-dates=\"${new Date().getMonth() +\n 1}-${new Date().getDate()}-${new Date().getFullYear()}\"\n >\n <div\n slot=\"${new Date().getMonth() + 1}-${new Date().getDate()}-${new Date().getFullYear()}\"\n >\n Test slot\n </div>\n </zero-calendar>\n </div>\n `,\n}"
7280
7162
  }
7281
7163
  ],
7282
7164
  "exports": [
@@ -7285,7 +7167,7 @@
7285
7167
  "name": "default",
7286
7168
  "declaration": {
7287
7169
  "name": "meta",
7288
- "module": "src/card/card.stories.ts"
7170
+ "module": "src/calendar/calendar.stories.ts"
7289
7171
  }
7290
7172
  },
7291
7173
  {
@@ -7293,60 +7175,46 @@
7293
7175
  "name": "Primary",
7294
7176
  "declaration": {
7295
7177
  "name": "Primary",
7296
- "module": "src/card/card.stories.ts"
7178
+ "module": "src/calendar/calendar.stories.ts"
7297
7179
  }
7298
7180
  }
7299
7181
  ]
7300
7182
  },
7301
7183
  {
7302
7184
  "kind": "javascript-module",
7303
- "path": "src/card/card.styles.ts",
7185
+ "path": "src/calendar/calendar.styles.ts",
7304
7186
  "declarations": [
7305
7187
  {
7306
7188
  "kind": "function",
7307
- "name": "zeroCardStyles",
7189
+ "name": "zeroCalendarStyles",
7308
7190
  "return": {
7309
7191
  "type": {
7310
7192
  "text": "ElementStyles"
7311
7193
  }
7312
- },
7313
- "parameters": [
7314
- {
7315
- "name": "context",
7316
- "type": {
7317
- "text": "ElementDefinitionContext"
7318
- }
7319
- },
7320
- {
7321
- "name": "definition",
7322
- "type": {
7323
- "text": "FoundationElementDefinition"
7324
- }
7325
- }
7326
- ]
7194
+ }
7327
7195
  }
7328
7196
  ],
7329
7197
  "exports": [
7330
7198
  {
7331
7199
  "kind": "js",
7332
- "name": "zeroCardStyles",
7200
+ "name": "zeroCalendarStyles",
7333
7201
  "declaration": {
7334
- "name": "zeroCardStyles",
7335
- "module": "src/card/card.styles.ts"
7202
+ "name": "zeroCalendarStyles",
7203
+ "module": "src/calendar/calendar.styles.ts"
7336
7204
  }
7337
7205
  }
7338
7206
  ]
7339
7207
  },
7340
7208
  {
7341
7209
  "kind": "javascript-module",
7342
- "path": "src/card/card.template.ts",
7210
+ "path": "src/calendar/calendar.template.ts",
7343
7211
  "declarations": [
7344
7212
  {
7345
7213
  "kind": "function",
7346
- "name": "zeroCardTemplate",
7214
+ "name": "zeroCalendarTemplate",
7347
7215
  "return": {
7348
7216
  "type": {
7349
- "text": "ViewTemplate<Card>"
7217
+ "text": "ViewTemplate<Calendar>"
7350
7218
  }
7351
7219
  },
7352
7220
  "parameters": [
@@ -7368,29 +7236,161 @@
7368
7236
  "exports": [
7369
7237
  {
7370
7238
  "kind": "js",
7371
- "name": "zeroCardTemplate",
7239
+ "name": "zeroCalendarTemplate",
7372
7240
  "declaration": {
7373
- "name": "zeroCardTemplate",
7374
- "module": "src/card/card.template.ts"
7241
+ "name": "zeroCalendarTemplate",
7242
+ "module": "src/calendar/calendar.template.ts"
7375
7243
  }
7376
7244
  }
7377
7245
  ]
7378
7246
  },
7379
7247
  {
7380
7248
  "kind": "javascript-module",
7381
- "path": "src/card/card.ts",
7249
+ "path": "src/calendar/calendar.ts",
7382
7250
  "declarations": [
7383
7251
  {
7384
7252
  "kind": "class",
7385
7253
  "description": "",
7386
- "name": "Card",
7254
+ "name": "Calendar",
7387
7255
  "superclass": {
7388
- "name": "FoundationCard",
7256
+ "name": "FoundationCalendar",
7389
7257
  "package": "@genesislcap/foundation-ui"
7390
7258
  },
7391
- "tagName": "%%prefix%%-card",
7259
+ "tagName": "%%prefix%%-calendar",
7392
7260
  "customElement": true,
7393
7261
  "members": [
7262
+ {
7263
+ "kind": "field",
7264
+ "name": "today",
7265
+ "type": {
7266
+ "text": "any"
7267
+ },
7268
+ "default": "new Day(null, lang)",
7269
+ "inheritedFrom": {
7270
+ "name": "Calendar",
7271
+ "module": "src/date-picker/calendar.ts"
7272
+ }
7273
+ },
7274
+ {
7275
+ "kind": "field",
7276
+ "name": "year",
7277
+ "type": {
7278
+ "text": "number"
7279
+ },
7280
+ "inheritedFrom": {
7281
+ "name": "Calendar",
7282
+ "module": "src/date-picker/calendar.ts"
7283
+ }
7284
+ },
7285
+ {
7286
+ "kind": "field",
7287
+ "name": "month",
7288
+ "type": {
7289
+ "text": "any"
7290
+ },
7291
+ "default": "new Month(new Date(this.year, (monthNumber || this.today.monthNumber) - 1), lang)",
7292
+ "inheritedFrom": {
7293
+ "name": "Calendar",
7294
+ "module": "src/date-picker/calendar.ts"
7295
+ }
7296
+ },
7297
+ {
7298
+ "kind": "field",
7299
+ "name": "lang",
7300
+ "type": {
7301
+ "text": "string"
7302
+ },
7303
+ "default": "lang",
7304
+ "inheritedFrom": {
7305
+ "name": "Calendar",
7306
+ "module": "src/date-picker/calendar.ts"
7307
+ }
7308
+ },
7309
+ {
7310
+ "kind": "field",
7311
+ "name": "weekDays",
7312
+ "inheritedFrom": {
7313
+ "name": "Calendar",
7314
+ "module": "src/date-picker/calendar.ts"
7315
+ }
7316
+ },
7317
+ {
7318
+ "kind": "method",
7319
+ "name": "getMonth",
7320
+ "parameters": [
7321
+ {
7322
+ "name": "monthNumber"
7323
+ }
7324
+ ],
7325
+ "inheritedFrom": {
7326
+ "name": "Calendar",
7327
+ "module": "src/date-picker/calendar.ts"
7328
+ }
7329
+ },
7330
+ {
7331
+ "kind": "method",
7332
+ "name": "getPreviousMonth",
7333
+ "inheritedFrom": {
7334
+ "name": "Calendar",
7335
+ "module": "src/date-picker/calendar.ts"
7336
+ }
7337
+ },
7338
+ {
7339
+ "kind": "method",
7340
+ "name": "getNextMonth",
7341
+ "inheritedFrom": {
7342
+ "name": "Calendar",
7343
+ "module": "src/date-picker/calendar.ts"
7344
+ }
7345
+ },
7346
+ {
7347
+ "kind": "method",
7348
+ "name": "goToDate",
7349
+ "parameters": [
7350
+ {
7351
+ "name": "monthNumber"
7352
+ },
7353
+ {
7354
+ "name": "year"
7355
+ }
7356
+ ],
7357
+ "inheritedFrom": {
7358
+ "name": "Calendar",
7359
+ "module": "src/date-picker/calendar.ts"
7360
+ }
7361
+ },
7362
+ {
7363
+ "kind": "method",
7364
+ "name": "goToNextYear",
7365
+ "inheritedFrom": {
7366
+ "name": "Calendar",
7367
+ "module": "src/date-picker/calendar.ts"
7368
+ }
7369
+ },
7370
+ {
7371
+ "kind": "method",
7372
+ "name": "goToPreviousYear",
7373
+ "inheritedFrom": {
7374
+ "name": "Calendar",
7375
+ "module": "src/date-picker/calendar.ts"
7376
+ }
7377
+ },
7378
+ {
7379
+ "kind": "method",
7380
+ "name": "goToNextMonth",
7381
+ "inheritedFrom": {
7382
+ "name": "Calendar",
7383
+ "module": "src/date-picker/calendar.ts"
7384
+ }
7385
+ },
7386
+ {
7387
+ "kind": "method",
7388
+ "name": "goToPreviousMonth",
7389
+ "inheritedFrom": {
7390
+ "name": "Calendar",
7391
+ "module": "src/date-picker/calendar.ts"
7392
+ }
7393
+ },
7394
7394
  {
7395
7395
  "kind": "field",
7396
7396
  "name": "_presentation",
@@ -7400,8 +7400,8 @@
7400
7400
  "privacy": "private",
7401
7401
  "default": "void 0",
7402
7402
  "inheritedFrom": {
7403
- "name": "Card",
7404
- "module": "src/card/card.ts"
7403
+ "name": "Calendar",
7404
+ "module": "src/date-picker/calendar.ts"
7405
7405
  }
7406
7406
  },
7407
7407
  {
@@ -7413,8 +7413,8 @@
7413
7413
  "privacy": "public",
7414
7414
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
7415
7415
  "inheritedFrom": {
7416
- "name": "Card",
7417
- "module": "src/card/card.ts"
7416
+ "name": "Calendar",
7417
+ "module": "src/date-picker/calendar.ts"
7418
7418
  }
7419
7419
  },
7420
7420
  {
@@ -7426,8 +7426,8 @@
7426
7426
  "privacy": "public",
7427
7427
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
7428
7428
  "inheritedFrom": {
7429
- "name": "Card",
7430
- "module": "src/card/card.ts"
7429
+ "name": "Calendar",
7430
+ "module": "src/date-picker/calendar.ts"
7431
7431
  }
7432
7432
  },
7433
7433
  {
@@ -7440,8 +7440,8 @@
7440
7440
  }
7441
7441
  },
7442
7442
  "inheritedFrom": {
7443
- "name": "Card",
7444
- "module": "src/card/card.ts"
7443
+ "name": "Calendar",
7444
+ "module": "src/date-picker/calendar.ts"
7445
7445
  }
7446
7446
  },
7447
7447
  {
@@ -7453,8 +7453,8 @@
7453
7453
  "privacy": "public",
7454
7454
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
7455
7455
  "inheritedFrom": {
7456
- "name": "Card",
7457
- "module": "src/card/card.ts"
7456
+ "name": "Calendar",
7457
+ "module": "src/date-picker/calendar.ts"
7458
7458
  }
7459
7459
  },
7460
7460
  {
@@ -7467,8 +7467,8 @@
7467
7467
  }
7468
7468
  },
7469
7469
  "inheritedFrom": {
7470
- "name": "Card",
7471
- "module": "src/card/card.ts"
7470
+ "name": "Calendar",
7471
+ "module": "src/date-picker/calendar.ts"
7472
7472
  }
7473
7473
  },
7474
7474
  {
@@ -7498,39 +7498,39 @@
7498
7498
  ],
7499
7499
  "description": "Defines an element registry function with a set of element definition defaults.",
7500
7500
  "inheritedFrom": {
7501
- "name": "Card",
7502
- "module": "src/card/card.ts"
7501
+ "name": "Calendar",
7502
+ "module": "src/date-picker/calendar.ts"
7503
7503
  }
7504
7504
  }
7505
7505
  ]
7506
7506
  },
7507
7507
  {
7508
7508
  "kind": "variable",
7509
- "name": "zeroCard"
7509
+ "name": "zeroCalendar"
7510
7510
  }
7511
7511
  ],
7512
7512
  "exports": [
7513
7513
  {
7514
7514
  "kind": "js",
7515
- "name": "Card",
7515
+ "name": "Calendar",
7516
7516
  "declaration": {
7517
- "name": "Card",
7518
- "module": "src/card/card.ts"
7517
+ "name": "Calendar",
7518
+ "module": "src/calendar/calendar.ts"
7519
7519
  }
7520
7520
  },
7521
7521
  {
7522
7522
  "kind": "js",
7523
- "name": "zeroCard",
7523
+ "name": "zeroCalendar",
7524
7524
  "declaration": {
7525
- "name": "zeroCard",
7526
- "module": "src/card/card.ts"
7525
+ "name": "zeroCalendar",
7526
+ "module": "src/calendar/calendar.ts"
7527
7527
  }
7528
7528
  }
7529
7529
  ]
7530
7530
  },
7531
7531
  {
7532
7532
  "kind": "javascript-module",
7533
- "path": "src/card/index.ts",
7533
+ "path": "src/calendar/index.ts",
7534
7534
  "declarations": [],
7535
7535
  "exports": [
7536
7536
  {
@@ -7538,7 +7538,7 @@
7538
7538
  "name": "*",
7539
7539
  "declaration": {
7540
7540
  "name": "*",
7541
- "package": "./card"
7541
+ "package": "./calendar"
7542
7542
  }
7543
7543
  },
7544
7544
  {
@@ -7546,7 +7546,7 @@
7546
7546
  "name": "*",
7547
7547
  "declaration": {
7548
7548
  "name": "*",
7549
- "package": "./card.styles"
7549
+ "package": "./calendar.styles"
7550
7550
  }
7551
7551
  },
7552
7552
  {
@@ -7554,7 +7554,7 @@
7554
7554
  "name": "*",
7555
7555
  "declaration": {
7556
7556
  "name": "*",
7557
- "package": "./card.template"
7557
+ "package": "./calendar.template"
7558
7558
  }
7559
7559
  }
7560
7560
  ]