@genesislcap/foundation-zero 14.107.1-alpha-2ab4599.0 → 14.107.1

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.
@@ -669,6 +669,37 @@
669
669
  }
670
670
  ]
671
671
  },
672
+ {
673
+ "kind": "javascript-module",
674
+ "path": "src/_config/index.ts",
675
+ "declarations": [],
676
+ "exports": [
677
+ {
678
+ "kind": "js",
679
+ "name": "*",
680
+ "declaration": {
681
+ "name": "*",
682
+ "package": "./styles"
683
+ }
684
+ },
685
+ {
686
+ "kind": "js",
687
+ "name": "*",
688
+ "declaration": {
689
+ "name": "*",
690
+ "package": "./tokens"
691
+ }
692
+ },
693
+ {
694
+ "kind": "js",
695
+ "name": "*",
696
+ "declaration": {
697
+ "name": "*",
698
+ "package": "./values"
699
+ }
700
+ }
701
+ ]
702
+ },
672
703
  {
673
704
  "kind": "javascript-module",
674
705
  "path": "src/_common/colors.hex.ts",
@@ -808,225 +839,6 @@
808
839
  }
809
840
  ]
810
841
  },
811
- {
812
- "kind": "javascript-module",
813
- "path": "src/_config/index.ts",
814
- "declarations": [],
815
- "exports": [
816
- {
817
- "kind": "js",
818
- "name": "*",
819
- "declaration": {
820
- "name": "*",
821
- "package": "./styles"
822
- }
823
- },
824
- {
825
- "kind": "js",
826
- "name": "*",
827
- "declaration": {
828
- "name": "*",
829
- "package": "./tokens"
830
- }
831
- },
832
- {
833
- "kind": "js",
834
- "name": "*",
835
- "declaration": {
836
- "name": "*",
837
- "package": "./values"
838
- }
839
- }
840
- ]
841
- },
842
- {
843
- "kind": "javascript-module",
844
- "path": "src/accordion/accordion.stories.ts",
845
- "declarations": [
846
- {
847
- "kind": "variable",
848
- "name": "meta",
849
- "type": {
850
- "text": "Meta"
851
- },
852
- "default": "{\n title: 'Accordion',\n component: 'zero-accordion',\n}"
853
- },
854
- {
855
- "kind": "variable",
856
- "name": "Primary",
857
- "type": {
858
- "text": "StoryObj"
859
- },
860
- "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}"
861
- }
862
- ],
863
- "exports": [
864
- {
865
- "kind": "js",
866
- "name": "default",
867
- "declaration": {
868
- "name": "meta",
869
- "module": "src/accordion/accordion.stories.ts"
870
- }
871
- },
872
- {
873
- "kind": "js",
874
- "name": "Primary",
875
- "declaration": {
876
- "name": "Primary",
877
- "module": "src/accordion/accordion.stories.ts"
878
- }
879
- }
880
- ]
881
- },
882
- {
883
- "kind": "javascript-module",
884
- "path": "src/accordion/accordion.styles.ts",
885
- "declarations": [
886
- {
887
- "kind": "function",
888
- "name": "zeroAccordionStyles",
889
- "return": {
890
- "type": {
891
- "text": "ElementStyles"
892
- }
893
- },
894
- "parameters": [
895
- {
896
- "name": "context",
897
- "type": {
898
- "text": "ElementDefinitionContext"
899
- }
900
- },
901
- {
902
- "name": "definition",
903
- "type": {
904
- "text": "FoundationElementDefinition"
905
- }
906
- }
907
- ]
908
- }
909
- ],
910
- "exports": [
911
- {
912
- "kind": "js",
913
- "name": "zeroAccordionStyles",
914
- "declaration": {
915
- "name": "zeroAccordionStyles",
916
- "module": "src/accordion/accordion.styles.ts"
917
- }
918
- }
919
- ]
920
- },
921
- {
922
- "kind": "javascript-module",
923
- "path": "src/accordion/accordion.template.ts",
924
- "declarations": [
925
- {
926
- "kind": "function",
927
- "name": "zeroAccordionTemplate",
928
- "return": {
929
- "type": {
930
- "text": "ViewTemplate<Accordion>"
931
- }
932
- },
933
- "parameters": [
934
- {
935
- "name": "context",
936
- "type": {
937
- "text": "ElementDefinitionContext"
938
- }
939
- },
940
- {
941
- "name": "definition",
942
- "type": {
943
- "text": "FoundationElementDefinition"
944
- }
945
- }
946
- ]
947
- }
948
- ],
949
- "exports": [
950
- {
951
- "kind": "js",
952
- "name": "zeroAccordionTemplate",
953
- "declaration": {
954
- "name": "zeroAccordionTemplate",
955
- "module": "src/accordion/accordion.template.ts"
956
- }
957
- }
958
- ]
959
- },
960
- {
961
- "kind": "javascript-module",
962
- "path": "src/accordion/accordion.ts",
963
- "declarations": [
964
- {
965
- "kind": "class",
966
- "description": "",
967
- "name": "Accordion",
968
- "superclass": {
969
- "name": "FoundationAccordion",
970
- "package": "@genesislcap/foundation-ui"
971
- },
972
- "tagName": "%%prefix%%-card",
973
- "customElement": true
974
- },
975
- {
976
- "kind": "variable",
977
- "name": "zeroAccordion"
978
- }
979
- ],
980
- "exports": [
981
- {
982
- "kind": "js",
983
- "name": "Accordion",
984
- "declaration": {
985
- "name": "Accordion",
986
- "module": "src/accordion/accordion.ts"
987
- }
988
- },
989
- {
990
- "kind": "js",
991
- "name": "zeroAccordion",
992
- "declaration": {
993
- "name": "zeroAccordion",
994
- "module": "src/accordion/accordion.ts"
995
- }
996
- }
997
- ]
998
- },
999
- {
1000
- "kind": "javascript-module",
1001
- "path": "src/accordion/index.ts",
1002
- "declarations": [],
1003
- "exports": [
1004
- {
1005
- "kind": "js",
1006
- "name": "*",
1007
- "declaration": {
1008
- "name": "*",
1009
- "package": "./accordion"
1010
- }
1011
- },
1012
- {
1013
- "kind": "js",
1014
- "name": "*",
1015
- "declaration": {
1016
- "name": "*",
1017
- "package": "./accordion.styles"
1018
- }
1019
- },
1020
- {
1021
- "kind": "js",
1022
- "name": "*",
1023
- "declaration": {
1024
- "name": "*",
1025
- "package": "./accordion.template"
1026
- }
1027
- }
1028
- ]
1029
- },
1030
842
  {
1031
843
  "kind": "javascript-module",
1032
844
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1389,7 +1201,7 @@
1389
1201
  },
1390
1202
  {
1391
1203
  "kind": "javascript-module",
1392
- "path": "src/actions-menu/actions-menu.stories.ts",
1204
+ "path": "src/accordion/accordion.stories.ts",
1393
1205
  "declarations": [
1394
1206
  {
1395
1207
  "kind": "variable",
@@ -1397,11 +1209,199 @@
1397
1209
  "type": {
1398
1210
  "text": "Meta"
1399
1211
  },
1400
- "default": "{\n title: 'Actions Menu',\n component: 'zero-actions-menu',\n}"
1212
+ "default": "{\n title: 'Accordion',\n component: 'zero-accordion',\n}"
1401
1213
  },
1402
1214
  {
1403
1215
  "kind": "variable",
1404
- "name": "Horizontal",
1216
+ "name": "Primary",
1217
+ "type": {
1218
+ "text": "StoryObj"
1219
+ },
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}"
1221
+ }
1222
+ ],
1223
+ "exports": [
1224
+ {
1225
+ "kind": "js",
1226
+ "name": "default",
1227
+ "declaration": {
1228
+ "name": "meta",
1229
+ "module": "src/accordion/accordion.stories.ts"
1230
+ }
1231
+ },
1232
+ {
1233
+ "kind": "js",
1234
+ "name": "Primary",
1235
+ "declaration": {
1236
+ "name": "Primary",
1237
+ "module": "src/accordion/accordion.stories.ts"
1238
+ }
1239
+ }
1240
+ ]
1241
+ },
1242
+ {
1243
+ "kind": "javascript-module",
1244
+ "path": "src/accordion/accordion.styles.ts",
1245
+ "declarations": [
1246
+ {
1247
+ "kind": "function",
1248
+ "name": "zeroAccordionStyles",
1249
+ "return": {
1250
+ "type": {
1251
+ "text": "ElementStyles"
1252
+ }
1253
+ },
1254
+ "parameters": [
1255
+ {
1256
+ "name": "context",
1257
+ "type": {
1258
+ "text": "ElementDefinitionContext"
1259
+ }
1260
+ },
1261
+ {
1262
+ "name": "definition",
1263
+ "type": {
1264
+ "text": "FoundationElementDefinition"
1265
+ }
1266
+ }
1267
+ ]
1268
+ }
1269
+ ],
1270
+ "exports": [
1271
+ {
1272
+ "kind": "js",
1273
+ "name": "zeroAccordionStyles",
1274
+ "declaration": {
1275
+ "name": "zeroAccordionStyles",
1276
+ "module": "src/accordion/accordion.styles.ts"
1277
+ }
1278
+ }
1279
+ ]
1280
+ },
1281
+ {
1282
+ "kind": "javascript-module",
1283
+ "path": "src/accordion/accordion.template.ts",
1284
+ "declarations": [
1285
+ {
1286
+ "kind": "function",
1287
+ "name": "zeroAccordionTemplate",
1288
+ "return": {
1289
+ "type": {
1290
+ "text": "ViewTemplate<Accordion>"
1291
+ }
1292
+ },
1293
+ "parameters": [
1294
+ {
1295
+ "name": "context",
1296
+ "type": {
1297
+ "text": "ElementDefinitionContext"
1298
+ }
1299
+ },
1300
+ {
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
1405
  "type": {
1406
1406
  "text": "StoryObj"
1407
1407
  },
@@ -29369,7 +29369,7 @@
29369
29369
  },
29370
29370
  {
29371
29371
  "kind": "javascript-module",
29372
- "path": "src/tabs/index.ts",
29372
+ "path": "src/tab-panel/index.ts",
29373
29373
  "declarations": [],
29374
29374
  "exports": [
29375
29375
  {
@@ -29377,7 +29377,7 @@
29377
29377
  "name": "*",
29378
29378
  "declaration": {
29379
29379
  "name": "*",
29380
- "package": "./tabs"
29380
+ "package": "./tab-panel"
29381
29381
  }
29382
29382
  },
29383
29383
  {
@@ -29385,7 +29385,7 @@
29385
29385
  "name": "*",
29386
29386
  "declaration": {
29387
29387
  "name": "*",
29388
- "package": "./tabs.styles"
29388
+ "package": "./tab-panel.styles"
29389
29389
  }
29390
29390
  },
29391
29391
  {
@@ -29393,58 +29393,18 @@
29393
29393
  "name": "*",
29394
29394
  "declaration": {
29395
29395
  "name": "*",
29396
- "package": "./tabs.template"
29397
- }
29398
- }
29399
- ]
29400
- },
29401
- {
29402
- "kind": "javascript-module",
29403
- "path": "src/tabs/tabs.stories.ts",
29404
- "declarations": [
29405
- {
29406
- "kind": "variable",
29407
- "name": "meta",
29408
- "type": {
29409
- "text": "Meta"
29410
- },
29411
- "default": "{\n title: 'Tabs',\n component: 'zero-tabs',\n}"
29412
- },
29413
- {
29414
- "kind": "variable",
29415
- "name": "Primary",
29416
- "type": {
29417
- "text": "StoryObj"
29418
- },
29419
- "default": "{\n argTypes: {\n appearance: {\n control: 'select',\n options: ['primary', 'secondary'],\n },\n orientation: {\n control: 'select',\n options: ['vertical', 'horizontal'],\n },\n },\n args: {\n appearance: 'primary',\n orientation: 'horizontal',\n },\n render: ({ appearance, orientation }) => html`\n <div style=\"min-height: 300px\">\n <zero-tabs appearance=\"${appearance}\" orientation=\"${orientation}\">\n <span part=\"start\" class=\"start\" slot=\"start\">Blotter Header</span>\n <zero-tab>Rapid Tab 1</zero-tab>\n <zero-tab slot=\"tab\">Rapid Tab 2</zero-tab>\n <zero-tab slot=\"tab\">Rapid Tab 3</zero-tab>\n <zero-tab slot=\"tab\">Rapid Tab 4</zero-tab>\n <zero-tab-panel slot=\"tabpanel\">\n <zero-tabs appearance=\"secondary\">\n <zero-tab appearance=\"secondary\" slot=\"tab\">Rapid Nested Tab 1</zero-tab>\n <zero-tab appearance=\"secondary\" slot=\"tab\">Rapid Nested Tab 2</zero-tab>\n <zero-tab-panel slot=\"tabpanel\">Rapid Nested Tab Panel 1</zero-tab-panel>\n <zero-tab-panel slot=\"tabpanel\">Rapid Nested Tab Panel 2</zero-tab-panel>\n </zero-tabs>\n </zero-tab-panel>\n <zero-tab-panel slot=\"tabpanel\">Rapid Tab Panel 2</zero-tab-panel>\n <zero-tab-panel slot=\"tabpanel\">Rapid Tab Panel 3</zero-tab-panel>\n <zero-tab-panel slot=\"tabpanel\">\n <zero-tabs appearance=\"secondary\">\n <zero-tab appearance=\"secondary\" slot=\"tab\">Rapid Nested Tab 1</zero-tab>\n <zero-tab appearance=\"secondary\" slot=\"tab\">Rapid Nested Tab 2</zero-tab>\n <zero-tab-panel slot=\"tabpanel\">Rapid Nested Tab Panel 1</zero-tab-panel>\n <zero-tab-panel slot=\"tabpanel\">Rapid Nested Tab Panel 2</zero-tab-panel>\n </zero-tabs>\n </zero-tab-panel>\n </zero-tabs>\n </div>\n `,\n}"
29420
- }
29421
- ],
29422
- "exports": [
29423
- {
29424
- "kind": "js",
29425
- "name": "default",
29426
- "declaration": {
29427
- "name": "meta",
29428
- "module": "src/tabs/tabs.stories.ts"
29429
- }
29430
- },
29431
- {
29432
- "kind": "js",
29433
- "name": "Primary",
29434
- "declaration": {
29435
- "name": "Primary",
29436
- "module": "src/tabs/tabs.stories.ts"
29396
+ "package": "./tab-panel.template"
29437
29397
  }
29438
29398
  }
29439
29399
  ]
29440
29400
  },
29441
29401
  {
29442
29402
  "kind": "javascript-module",
29443
- "path": "src/tabs/tabs.styles.ts",
29403
+ "path": "src/tab-panel/tab-panel.styles.ts",
29444
29404
  "declarations": [
29445
29405
  {
29446
29406
  "kind": "function",
29447
- "name": "zeroTabsStyles",
29407
+ "name": "zeroTabPanelStyles",
29448
29408
  "return": {
29449
29409
  "type": {
29450
29410
  "text": "ElementStyles"
@@ -29469,24 +29429,24 @@
29469
29429
  "exports": [
29470
29430
  {
29471
29431
  "kind": "js",
29472
- "name": "zeroTabsStyles",
29432
+ "name": "zeroTabPanelStyles",
29473
29433
  "declaration": {
29474
- "name": "zeroTabsStyles",
29475
- "module": "src/tabs/tabs.styles.ts"
29434
+ "name": "zeroTabPanelStyles",
29435
+ "module": "src/tab-panel/tab-panel.styles.ts"
29476
29436
  }
29477
29437
  }
29478
29438
  ]
29479
29439
  },
29480
29440
  {
29481
29441
  "kind": "javascript-module",
29482
- "path": "src/tabs/tabs.template.ts",
29442
+ "path": "src/tab-panel/tab-panel.template.ts",
29483
29443
  "declarations": [
29484
29444
  {
29485
29445
  "kind": "function",
29486
- "name": "zeroTabsTemplate",
29446
+ "name": "zeroTabPanelTemplate",
29487
29447
  "return": {
29488
29448
  "type": {
29489
- "text": "ViewTemplate<Tabs>"
29449
+ "text": "ViewTemplate<TabPanel>"
29490
29450
  }
29491
29451
  },
29492
29452
  "parameters": [
@@ -29508,10 +29468,311 @@
29508
29468
  "exports": [
29509
29469
  {
29510
29470
  "kind": "js",
29511
- "name": "zeroTabsTemplate",
29471
+ "name": "zeroTabPanelTemplate",
29512
29472
  "declaration": {
29513
- "name": "zeroTabsTemplate",
29514
- "module": "src/tabs/tabs.template.ts"
29473
+ "name": "zeroTabPanelTemplate",
29474
+ "module": "src/tab-panel/tab-panel.template.ts"
29475
+ }
29476
+ }
29477
+ ]
29478
+ },
29479
+ {
29480
+ "kind": "javascript-module",
29481
+ "path": "src/tab-panel/tab-panel.ts",
29482
+ "declarations": [
29483
+ {
29484
+ "kind": "class",
29485
+ "description": "",
29486
+ "name": "TabPanel",
29487
+ "superclass": {
29488
+ "name": "FoundationTabPanel",
29489
+ "package": "@genesislcap/foundation-ui"
29490
+ },
29491
+ "tagName": "%%prefix%%-tab-panel",
29492
+ "customElement": true,
29493
+ "members": [
29494
+ {
29495
+ "kind": "field",
29496
+ "name": "_presentation",
29497
+ "type": {
29498
+ "text": "ComponentPresentation | null | undefined"
29499
+ },
29500
+ "privacy": "private",
29501
+ "default": "void 0",
29502
+ "inheritedFrom": {
29503
+ "name": "TabPanel",
29504
+ "module": "src/tab-panel/tab-panel.ts"
29505
+ }
29506
+ },
29507
+ {
29508
+ "kind": "field",
29509
+ "name": "$presentation",
29510
+ "type": {
29511
+ "text": "ComponentPresentation | null"
29512
+ },
29513
+ "privacy": "public",
29514
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
29515
+ "inheritedFrom": {
29516
+ "name": "TabPanel",
29517
+ "module": "src/tab-panel/tab-panel.ts"
29518
+ }
29519
+ },
29520
+ {
29521
+ "kind": "field",
29522
+ "name": "template",
29523
+ "type": {
29524
+ "text": "ElementViewTemplate | void | null"
29525
+ },
29526
+ "privacy": "public",
29527
+ "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.",
29528
+ "inheritedFrom": {
29529
+ "name": "TabPanel",
29530
+ "module": "src/tab-panel/tab-panel.ts"
29531
+ }
29532
+ },
29533
+ {
29534
+ "kind": "method",
29535
+ "name": "templateChanged",
29536
+ "privacy": "protected",
29537
+ "return": {
29538
+ "type": {
29539
+ "text": "void"
29540
+ }
29541
+ },
29542
+ "inheritedFrom": {
29543
+ "name": "TabPanel",
29544
+ "module": "src/tab-panel/tab-panel.ts"
29545
+ }
29546
+ },
29547
+ {
29548
+ "kind": "field",
29549
+ "name": "styles",
29550
+ "type": {
29551
+ "text": "ElementStyles | void | null"
29552
+ },
29553
+ "privacy": "public",
29554
+ "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.",
29555
+ "inheritedFrom": {
29556
+ "name": "TabPanel",
29557
+ "module": "src/tab-panel/tab-panel.ts"
29558
+ }
29559
+ },
29560
+ {
29561
+ "kind": "method",
29562
+ "name": "stylesChanged",
29563
+ "privacy": "protected",
29564
+ "return": {
29565
+ "type": {
29566
+ "text": "void"
29567
+ }
29568
+ },
29569
+ "inheritedFrom": {
29570
+ "name": "TabPanel",
29571
+ "module": "src/tab-panel/tab-panel.ts"
29572
+ }
29573
+ },
29574
+ {
29575
+ "kind": "method",
29576
+ "name": "compose",
29577
+ "privacy": "public",
29578
+ "static": true,
29579
+ "return": {
29580
+ "type": {
29581
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
29582
+ }
29583
+ },
29584
+ "parameters": [
29585
+ {
29586
+ "name": "this",
29587
+ "type": {
29588
+ "text": "K"
29589
+ }
29590
+ },
29591
+ {
29592
+ "name": "elementDefinition",
29593
+ "type": {
29594
+ "text": "T"
29595
+ },
29596
+ "description": "The definition of the element to create the registry\nfunction for."
29597
+ }
29598
+ ],
29599
+ "description": "Defines an element registry function with a set of element definition defaults.",
29600
+ "inheritedFrom": {
29601
+ "name": "TabPanel",
29602
+ "module": "src/tab-panel/tab-panel.ts"
29603
+ }
29604
+ }
29605
+ ]
29606
+ },
29607
+ {
29608
+ "kind": "variable",
29609
+ "name": "zeroTabPanel"
29610
+ }
29611
+ ],
29612
+ "exports": [
29613
+ {
29614
+ "kind": "js",
29615
+ "name": "TabPanel",
29616
+ "declaration": {
29617
+ "name": "TabPanel",
29618
+ "module": "src/tab-panel/tab-panel.ts"
29619
+ }
29620
+ },
29621
+ {
29622
+ "kind": "js",
29623
+ "name": "zeroTabPanel",
29624
+ "declaration": {
29625
+ "name": "zeroTabPanel",
29626
+ "module": "src/tab-panel/tab-panel.ts"
29627
+ }
29628
+ }
29629
+ ]
29630
+ },
29631
+ {
29632
+ "kind": "javascript-module",
29633
+ "path": "src/tabs/index.ts",
29634
+ "declarations": [],
29635
+ "exports": [
29636
+ {
29637
+ "kind": "js",
29638
+ "name": "*",
29639
+ "declaration": {
29640
+ "name": "*",
29641
+ "package": "./tabs"
29642
+ }
29643
+ },
29644
+ {
29645
+ "kind": "js",
29646
+ "name": "*",
29647
+ "declaration": {
29648
+ "name": "*",
29649
+ "package": "./tabs.styles"
29650
+ }
29651
+ },
29652
+ {
29653
+ "kind": "js",
29654
+ "name": "*",
29655
+ "declaration": {
29656
+ "name": "*",
29657
+ "package": "./tabs.template"
29658
+ }
29659
+ }
29660
+ ]
29661
+ },
29662
+ {
29663
+ "kind": "javascript-module",
29664
+ "path": "src/tabs/tabs.stories.ts",
29665
+ "declarations": [
29666
+ {
29667
+ "kind": "variable",
29668
+ "name": "meta",
29669
+ "type": {
29670
+ "text": "Meta"
29671
+ },
29672
+ "default": "{\n title: 'Tabs',\n component: 'zero-tabs',\n}"
29673
+ },
29674
+ {
29675
+ "kind": "variable",
29676
+ "name": "Primary",
29677
+ "type": {
29678
+ "text": "StoryObj"
29679
+ },
29680
+ "default": "{\n argTypes: {\n appearance: {\n control: 'select',\n options: ['primary', 'secondary'],\n },\n orientation: {\n control: 'select',\n options: ['vertical', 'horizontal'],\n },\n },\n args: {\n appearance: 'primary',\n orientation: 'horizontal',\n },\n render: ({ appearance, orientation }) => html`\n <div style=\"min-height: 300px\">\n <zero-tabs appearance=\"${appearance}\" orientation=\"${orientation}\">\n <span part=\"start\" class=\"start\" slot=\"start\">Blotter Header</span>\n <zero-tab>Rapid Tab 1</zero-tab>\n <zero-tab slot=\"tab\">Rapid Tab 2</zero-tab>\n <zero-tab slot=\"tab\">Rapid Tab 3</zero-tab>\n <zero-tab slot=\"tab\">Rapid Tab 4</zero-tab>\n <zero-tab-panel slot=\"tabpanel\">\n <zero-tabs appearance=\"secondary\">\n <zero-tab appearance=\"secondary\" slot=\"tab\">Rapid Nested Tab 1</zero-tab>\n <zero-tab appearance=\"secondary\" slot=\"tab\">Rapid Nested Tab 2</zero-tab>\n <zero-tab-panel slot=\"tabpanel\">Rapid Nested Tab Panel 1</zero-tab-panel>\n <zero-tab-panel slot=\"tabpanel\">Rapid Nested Tab Panel 2</zero-tab-panel>\n </zero-tabs>\n </zero-tab-panel>\n <zero-tab-panel slot=\"tabpanel\">Rapid Tab Panel 2</zero-tab-panel>\n <zero-tab-panel slot=\"tabpanel\">Rapid Tab Panel 3</zero-tab-panel>\n <zero-tab-panel slot=\"tabpanel\">\n <zero-tabs appearance=\"secondary\">\n <zero-tab appearance=\"secondary\" slot=\"tab\">Rapid Nested Tab 1</zero-tab>\n <zero-tab appearance=\"secondary\" slot=\"tab\">Rapid Nested Tab 2</zero-tab>\n <zero-tab-panel slot=\"tabpanel\">Rapid Nested Tab Panel 1</zero-tab-panel>\n <zero-tab-panel slot=\"tabpanel\">Rapid Nested Tab Panel 2</zero-tab-panel>\n </zero-tabs>\n </zero-tab-panel>\n </zero-tabs>\n </div>\n `,\n}"
29681
+ }
29682
+ ],
29683
+ "exports": [
29684
+ {
29685
+ "kind": "js",
29686
+ "name": "default",
29687
+ "declaration": {
29688
+ "name": "meta",
29689
+ "module": "src/tabs/tabs.stories.ts"
29690
+ }
29691
+ },
29692
+ {
29693
+ "kind": "js",
29694
+ "name": "Primary",
29695
+ "declaration": {
29696
+ "name": "Primary",
29697
+ "module": "src/tabs/tabs.stories.ts"
29698
+ }
29699
+ }
29700
+ ]
29701
+ },
29702
+ {
29703
+ "kind": "javascript-module",
29704
+ "path": "src/tabs/tabs.styles.ts",
29705
+ "declarations": [
29706
+ {
29707
+ "kind": "function",
29708
+ "name": "zeroTabsStyles",
29709
+ "return": {
29710
+ "type": {
29711
+ "text": "ElementStyles"
29712
+ }
29713
+ },
29714
+ "parameters": [
29715
+ {
29716
+ "name": "context",
29717
+ "type": {
29718
+ "text": "ElementDefinitionContext"
29719
+ }
29720
+ },
29721
+ {
29722
+ "name": "definition",
29723
+ "type": {
29724
+ "text": "FoundationElementDefinition"
29725
+ }
29726
+ }
29727
+ ]
29728
+ }
29729
+ ],
29730
+ "exports": [
29731
+ {
29732
+ "kind": "js",
29733
+ "name": "zeroTabsStyles",
29734
+ "declaration": {
29735
+ "name": "zeroTabsStyles",
29736
+ "module": "src/tabs/tabs.styles.ts"
29737
+ }
29738
+ }
29739
+ ]
29740
+ },
29741
+ {
29742
+ "kind": "javascript-module",
29743
+ "path": "src/tabs/tabs.template.ts",
29744
+ "declarations": [
29745
+ {
29746
+ "kind": "function",
29747
+ "name": "zeroTabsTemplate",
29748
+ "return": {
29749
+ "type": {
29750
+ "text": "ViewTemplate<Tabs>"
29751
+ }
29752
+ },
29753
+ "parameters": [
29754
+ {
29755
+ "name": "context",
29756
+ "type": {
29757
+ "text": "ElementDefinitionContext"
29758
+ }
29759
+ },
29760
+ {
29761
+ "name": "definition",
29762
+ "type": {
29763
+ "text": "FoundationElementDefinition"
29764
+ }
29765
+ }
29766
+ ]
29767
+ }
29768
+ ],
29769
+ "exports": [
29770
+ {
29771
+ "kind": "js",
29772
+ "name": "zeroTabsTemplate",
29773
+ "declaration": {
29774
+ "name": "zeroTabsTemplate",
29775
+ "module": "src/tabs/tabs.template.ts"
29515
29776
  }
29516
29777
  }
29517
29778
  ]
@@ -30874,474 +31135,155 @@
30874
31135
  "description": "",
30875
31136
  "name": "TextField",
30876
31137
  "superclass": {
30877
- "name": "FoundationTextField",
30878
- "package": "@genesislcap/foundation-ui"
30879
- },
30880
- "tagName": "%%prefix%%-text-field",
30881
- "customElement": true,
30882
- "attributes": [
30883
- {
30884
- "name": "autocomplete",
30885
- "type": {
30886
- "text": "string"
30887
- },
30888
- "fieldName": "autocomplete",
30889
- "inheritedFrom": {
30890
- "name": "TextField",
30891
- "module": "src/text-field/text-field.ts"
30892
- }
30893
- },
30894
- {
30895
- "name": "autocapitalize",
30896
- "type": {
30897
- "text": "string"
30898
- },
30899
- "default": "'off'",
30900
- "fieldName": "autocapitalize",
30901
- "inheritedFrom": {
30902
- "name": "TextField",
30903
- "module": "src/text-field/text-field.ts"
30904
- }
30905
- },
30906
- {
30907
- "name": "step",
30908
- "type": {
30909
- "text": "number"
30910
- },
30911
- "fieldName": "step",
30912
- "inheritedFrom": {
30913
- "name": "TextField",
30914
- "module": "src/text-field/text-field.ts"
30915
- }
30916
- },
30917
- {
30918
- "name": "readonly",
30919
- "type": {
30920
- "text": "boolean"
30921
- },
30922
- "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
30923
- "fieldName": "readOnly",
30924
- "inheritedFrom": {
30925
- "name": "TextField",
30926
- "module": "src/text-field/text-field.ts"
30927
- }
30928
- },
30929
- {
30930
- "type": {
30931
- "text": "boolean"
30932
- },
30933
- "description": "Indicates that this element should get focus after the page finishes loading. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute for more information.",
30934
- "fieldName": "autofocus",
30935
- "inheritedFrom": {
30936
- "name": "TextField",
30937
- "module": "src/text-field/text-field.ts"
30938
- }
30939
- },
30940
- {
30941
- "name": "placeholder",
30942
- "type": {
30943
- "text": "string"
30944
- },
30945
- "description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
30946
- "fieldName": "placeholder",
30947
- "inheritedFrom": {
30948
- "name": "TextField",
30949
- "module": "src/text-field/text-field.ts"
30950
- }
30951
- },
30952
- {
30953
- "name": "type",
30954
- "type": {
30955
- "text": "TextFieldType"
30956
- },
30957
- "description": "Allows setting a type or mode of text.",
30958
- "fieldName": "type",
30959
- "inheritedFrom": {
30960
- "name": "TextField",
30961
- "module": "src/text-field/text-field.ts"
30962
- }
30963
- },
30964
- {
30965
- "name": "list",
30966
- "type": {
30967
- "text": "string"
30968
- },
30969
- "description": "Allows associating a https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist to the element by https://developer.mozilla.org/en-US/docs/Web/API/Element/id.",
30970
- "fieldName": "list",
30971
- "inheritedFrom": {
30972
- "name": "TextField",
30973
- "module": "src/text-field/text-field.ts"
30974
- }
30975
- },
30976
- {
30977
- "name": "pattern",
30978
- "type": {
30979
- "text": "string"
30980
- },
30981
- "description": "A regular expression that the value must match to pass validation.",
30982
- "fieldName": "pattern",
30983
- "inheritedFrom": {
30984
- "name": "TextField",
30985
- "module": "src/text-field/text-field.ts"
30986
- }
30987
- }
30988
- ],
30989
- "members": [
31138
+ "name": "FoundationTextField",
31139
+ "package": "@genesislcap/foundation-ui"
31140
+ },
31141
+ "tagName": "%%prefix%%-text-field",
31142
+ "customElement": true,
31143
+ "attributes": [
30990
31144
  {
30991
- "kind": "field",
30992
31145
  "name": "autocomplete",
30993
31146
  "type": {
30994
31147
  "text": "string"
30995
31148
  },
31149
+ "fieldName": "autocomplete",
30996
31150
  "inheritedFrom": {
30997
31151
  "name": "TextField",
30998
31152
  "module": "src/text-field/text-field.ts"
30999
31153
  }
31000
31154
  },
31001
31155
  {
31002
- "kind": "method",
31003
- "name": "autocompleteChanged",
31004
- "privacy": "private",
31005
- "inheritedFrom": {
31006
- "name": "TextField",
31007
- "module": "src/text-field/text-field.ts"
31008
- }
31009
- },
31010
- {
31011
- "kind": "field",
31012
31156
  "name": "autocapitalize",
31013
31157
  "type": {
31014
31158
  "text": "string"
31015
31159
  },
31016
31160
  "default": "'off'",
31161
+ "fieldName": "autocapitalize",
31017
31162
  "inheritedFrom": {
31018
31163
  "name": "TextField",
31019
31164
  "module": "src/text-field/text-field.ts"
31020
31165
  }
31021
31166
  },
31022
31167
  {
31023
- "kind": "method",
31024
- "name": "autocapitalizeChanged",
31025
- "privacy": "private",
31026
- "inheritedFrom": {
31027
- "name": "TextField",
31028
- "module": "src/text-field/text-field.ts"
31029
- }
31030
- },
31031
- {
31032
- "kind": "field",
31033
31168
  "name": "step",
31034
31169
  "type": {
31035
31170
  "text": "number"
31036
31171
  },
31172
+ "fieldName": "step",
31037
31173
  "inheritedFrom": {
31038
31174
  "name": "TextField",
31039
31175
  "module": "src/text-field/text-field.ts"
31040
31176
  }
31041
31177
  },
31042
31178
  {
31043
- "kind": "field",
31044
- "name": "readOnly",
31179
+ "name": "readonly",
31045
31180
  "type": {
31046
31181
  "text": "boolean"
31047
31182
  },
31048
- "privacy": "public",
31049
- "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.",
31050
- "inheritedFrom": {
31051
- "name": "TextField",
31052
- "module": "src/text-field/text-field.ts"
31053
- }
31054
- },
31055
- {
31056
- "kind": "method",
31057
- "name": "readOnlyChanged",
31058
- "privacy": "private",
31059
- "return": {
31060
- "type": {
31061
- "text": "void"
31062
- }
31063
- },
31183
+ "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
31184
+ "fieldName": "readOnly",
31064
31185
  "inheritedFrom": {
31065
31186
  "name": "TextField",
31066
31187
  "module": "src/text-field/text-field.ts"
31067
31188
  }
31068
31189
  },
31069
31190
  {
31070
- "kind": "field",
31071
- "name": "autofocus",
31072
31191
  "type": {
31073
31192
  "text": "boolean"
31074
31193
  },
31075
- "privacy": "public",
31076
- "description": "Indicates that this element should get focus after the page finishes loading. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute} for more information.",
31077
- "inheritedFrom": {
31078
- "name": "TextField",
31079
- "module": "src/text-field/text-field.ts"
31080
- }
31081
- },
31082
- {
31083
- "kind": "method",
31084
- "name": "autofocusChanged",
31085
- "privacy": "private",
31086
- "return": {
31087
- "type": {
31088
- "text": "void"
31089
- }
31090
- },
31194
+ "description": "Indicates that this element should get focus after the page finishes loading. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute for more information.",
31195
+ "fieldName": "autofocus",
31091
31196
  "inheritedFrom": {
31092
31197
  "name": "TextField",
31093
31198
  "module": "src/text-field/text-field.ts"
31094
31199
  }
31095
31200
  },
31096
31201
  {
31097
- "kind": "field",
31098
31202
  "name": "placeholder",
31099
31203
  "type": {
31100
31204
  "text": "string"
31101
31205
  },
31102
- "privacy": "public",
31103
31206
  "description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
31207
+ "fieldName": "placeholder",
31104
31208
  "inheritedFrom": {
31105
31209
  "name": "TextField",
31106
31210
  "module": "src/text-field/text-field.ts"
31107
31211
  }
31108
31212
  },
31109
31213
  {
31110
- "kind": "method",
31111
- "name": "placeholderChanged",
31112
- "privacy": "private",
31113
- "return": {
31114
- "type": {
31115
- "text": "void"
31116
- }
31117
- },
31118
- "inheritedFrom": {
31119
- "name": "TextField",
31120
- "module": "src/text-field/text-field.ts"
31121
- }
31122
- },
31123
- {
31124
- "kind": "field",
31125
31214
  "name": "type",
31126
31215
  "type": {
31127
31216
  "text": "TextFieldType"
31128
31217
  },
31129
- "privacy": "public",
31130
31218
  "description": "Allows setting a type or mode of text.",
31219
+ "fieldName": "type",
31131
31220
  "inheritedFrom": {
31132
31221
  "name": "TextField",
31133
31222
  "module": "src/text-field/text-field.ts"
31134
31223
  }
31135
31224
  },
31136
31225
  {
31137
- "kind": "method",
31138
- "name": "typeChanged",
31139
- "privacy": "private",
31140
- "return": {
31141
- "type": {
31142
- "text": "void"
31143
- }
31144
- },
31145
- "inheritedFrom": {
31146
- "name": "TextField",
31147
- "module": "src/text-field/text-field.ts"
31148
- }
31149
- },
31150
- {
31151
- "kind": "field",
31152
31226
  "name": "list",
31153
31227
  "type": {
31154
31228
  "text": "string"
31155
31229
  },
31156
- "privacy": "public",
31157
- "description": "Allows associating a {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist} to the element by {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/id}.",
31158
- "inheritedFrom": {
31159
- "name": "TextField",
31160
- "module": "src/text-field/text-field.ts"
31161
- }
31162
- },
31163
- {
31164
- "kind": "method",
31165
- "name": "listChanged",
31166
- "privacy": "private",
31167
- "return": {
31168
- "type": {
31169
- "text": "void"
31170
- }
31171
- },
31172
- "inheritedFrom": {
31173
- "name": "TextField",
31174
- "module": "src/text-field/text-field.ts"
31175
- }
31176
- },
31177
- {
31178
- "kind": "field",
31179
- "name": "maxlength",
31180
- "type": {
31181
- "text": "number"
31182
- },
31183
- "privacy": "public",
31184
- "description": "The maximum number of characters a user can enter.",
31185
- "inheritedFrom": {
31186
- "name": "TextField",
31187
- "module": "src/text-field/text-field.ts"
31188
- }
31189
- },
31190
- {
31191
- "kind": "method",
31192
- "name": "maxlengthChanged",
31193
- "privacy": "private",
31194
- "return": {
31195
- "type": {
31196
- "text": "void"
31197
- }
31198
- },
31199
- "inheritedFrom": {
31200
- "name": "TextField",
31201
- "module": "src/text-field/text-field.ts"
31202
- }
31203
- },
31204
- {
31205
- "kind": "field",
31206
- "name": "minlength",
31207
- "type": {
31208
- "text": "number"
31209
- },
31210
- "privacy": "public",
31211
- "description": "The minimum number of characters a user can enter.",
31212
- "inheritedFrom": {
31213
- "name": "TextField",
31214
- "module": "src/text-field/text-field.ts"
31215
- }
31216
- },
31217
- {
31218
- "kind": "method",
31219
- "name": "minlengthChanged",
31220
- "privacy": "private",
31221
- "return": {
31222
- "type": {
31223
- "text": "void"
31224
- }
31225
- },
31230
+ "description": "Allows associating a https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist to the element by https://developer.mozilla.org/en-US/docs/Web/API/Element/id.",
31231
+ "fieldName": "list",
31226
31232
  "inheritedFrom": {
31227
31233
  "name": "TextField",
31228
31234
  "module": "src/text-field/text-field.ts"
31229
31235
  }
31230
31236
  },
31231
31237
  {
31232
- "kind": "field",
31233
31238
  "name": "pattern",
31234
31239
  "type": {
31235
31240
  "text": "string"
31236
31241
  },
31237
- "privacy": "public",
31238
31242
  "description": "A regular expression that the value must match to pass validation.",
31243
+ "fieldName": "pattern",
31239
31244
  "inheritedFrom": {
31240
31245
  "name": "TextField",
31241
31246
  "module": "src/text-field/text-field.ts"
31242
31247
  }
31243
- },
31244
- {
31245
- "kind": "method",
31246
- "name": "patternChanged",
31247
- "privacy": "private",
31248
- "return": {
31249
- "type": {
31250
- "text": "void"
31251
- }
31252
- },
31253
- "inheritedFrom": {
31254
- "name": "TextField",
31255
- "module": "src/text-field/text-field.ts"
31256
- }
31257
- },
31258
- {
31259
- "kind": "field",
31260
- "name": "size",
31261
- "type": {
31262
- "text": "number"
31263
- },
31264
- "privacy": "public",
31265
- "description": "Sets the width of the element to a specified number of characters.",
31266
- "inheritedFrom": {
31267
- "name": "TextField",
31268
- "module": "src/text-field/text-field.ts"
31269
- }
31270
- },
31271
- {
31272
- "kind": "method",
31273
- "name": "sizeChanged",
31274
- "privacy": "private",
31275
- "return": {
31276
- "type": {
31277
- "text": "void"
31278
- }
31279
- },
31280
- "inheritedFrom": {
31281
- "name": "TextField",
31282
- "module": "src/text-field/text-field.ts"
31283
- }
31284
- },
31248
+ }
31249
+ ],
31250
+ "members": [
31285
31251
  {
31286
31252
  "kind": "field",
31287
- "name": "spellcheck",
31253
+ "name": "autocomplete",
31288
31254
  "type": {
31289
- "text": "boolean"
31290
- },
31291
- "privacy": "public",
31292
- "description": "Controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used.",
31293
- "inheritedFrom": {
31294
- "name": "TextField",
31295
- "module": "src/text-field/text-field.ts"
31296
- }
31297
- },
31298
- {
31299
- "kind": "method",
31300
- "name": "spellcheckChanged",
31301
- "privacy": "private",
31302
- "return": {
31303
- "type": {
31304
- "text": "void"
31305
- }
31255
+ "text": "string"
31306
31256
  },
31307
31257
  "inheritedFrom": {
31308
31258
  "name": "TextField",
31309
31259
  "module": "src/text-field/text-field.ts"
31310
31260
  }
31311
31261
  },
31312
- {
31313
- "kind": "method",
31314
- "name": "select",
31315
- "privacy": "public",
31316
- "return": {
31317
- "type": {
31318
- "text": "void"
31319
- }
31320
- },
31321
- "description": "Selects all the text in the text field",
31262
+ {
31263
+ "kind": "method",
31264
+ "name": "autocompleteChanged",
31265
+ "privacy": "private",
31322
31266
  "inheritedFrom": {
31323
31267
  "name": "TextField",
31324
31268
  "module": "src/text-field/text-field.ts"
31325
31269
  }
31326
31270
  },
31327
31271
  {
31328
- "kind": "method",
31329
- "name": "validate",
31330
- "privacy": "public",
31331
- "return": {
31332
- "type": {
31333
- "text": "void"
31334
- }
31272
+ "kind": "field",
31273
+ "name": "autocapitalize",
31274
+ "type": {
31275
+ "text": "string"
31335
31276
  },
31336
- "description": "{@inheritDoc (FormAssociated:interface).validate}",
31277
+ "default": "'off'",
31337
31278
  "inheritedFrom": {
31338
31279
  "name": "TextField",
31339
31280
  "module": "src/text-field/text-field.ts"
31340
31281
  }
31341
31282
  },
31342
31283
  {
31343
- "kind": "field",
31344
- "name": "proxy",
31284
+ "kind": "method",
31285
+ "name": "autocapitalizeChanged",
31286
+ "privacy": "private",
31345
31287
  "inheritedFrom": {
31346
31288
  "name": "TextField",
31347
31289
  "module": "src/text-field/text-field.ts"
@@ -31349,12 +31291,10 @@
31349
31291
  },
31350
31292
  {
31351
31293
  "kind": "field",
31352
- "name": "_presentation",
31294
+ "name": "step",
31353
31295
  "type": {
31354
- "text": "ComponentPresentation | null | undefined"
31296
+ "text": "number"
31355
31297
  },
31356
- "privacy": "private",
31357
- "default": "void 0",
31358
31298
  "inheritedFrom": {
31359
31299
  "name": "TextField",
31360
31300
  "module": "src/text-field/text-field.ts"
@@ -31362,12 +31302,26 @@
31362
31302
  },
31363
31303
  {
31364
31304
  "kind": "field",
31365
- "name": "$presentation",
31305
+ "name": "readOnly",
31366
31306
  "type": {
31367
- "text": "ComponentPresentation | null"
31307
+ "text": "boolean"
31368
31308
  },
31369
31309
  "privacy": "public",
31370
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
31310
+ "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.",
31311
+ "inheritedFrom": {
31312
+ "name": "TextField",
31313
+ "module": "src/text-field/text-field.ts"
31314
+ }
31315
+ },
31316
+ {
31317
+ "kind": "method",
31318
+ "name": "readOnlyChanged",
31319
+ "privacy": "private",
31320
+ "return": {
31321
+ "type": {
31322
+ "text": "void"
31323
+ }
31324
+ },
31371
31325
  "inheritedFrom": {
31372
31326
  "name": "TextField",
31373
31327
  "module": "src/text-field/text-field.ts"
@@ -31375,12 +31329,12 @@
31375
31329
  },
31376
31330
  {
31377
31331
  "kind": "field",
31378
- "name": "template",
31332
+ "name": "autofocus",
31379
31333
  "type": {
31380
- "text": "ElementViewTemplate | void | null"
31334
+ "text": "boolean"
31381
31335
  },
31382
31336
  "privacy": "public",
31383
- "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.",
31337
+ "description": "Indicates that this element should get focus after the page finishes loading. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute} for more information.",
31384
31338
  "inheritedFrom": {
31385
31339
  "name": "TextField",
31386
31340
  "module": "src/text-field/text-field.ts"
@@ -31388,8 +31342,8 @@
31388
31342
  },
31389
31343
  {
31390
31344
  "kind": "method",
31391
- "name": "templateChanged",
31392
- "privacy": "protected",
31345
+ "name": "autofocusChanged",
31346
+ "privacy": "private",
31393
31347
  "return": {
31394
31348
  "type": {
31395
31349
  "text": "void"
@@ -31402,12 +31356,12 @@
31402
31356
  },
31403
31357
  {
31404
31358
  "kind": "field",
31405
- "name": "styles",
31359
+ "name": "placeholder",
31406
31360
  "type": {
31407
- "text": "ElementStyles | void | null"
31361
+ "text": "string"
31408
31362
  },
31409
31363
  "privacy": "public",
31410
- "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.",
31364
+ "description": "Sets the placeholder value of the element, generally used to provide a hint to the user.",
31411
31365
  "inheritedFrom": {
31412
31366
  "name": "TextField",
31413
31367
  "module": "src/text-field/text-field.ts"
@@ -31415,8 +31369,8 @@
31415
31369
  },
31416
31370
  {
31417
31371
  "kind": "method",
31418
- "name": "stylesChanged",
31419
- "privacy": "protected",
31372
+ "name": "placeholderChanged",
31373
+ "privacy": "private",
31420
31374
  "return": {
31421
31375
  "type": {
31422
31376
  "text": "void"
@@ -31428,271 +31382,230 @@
31428
31382
  }
31429
31383
  },
31430
31384
  {
31431
- "kind": "method",
31432
- "name": "compose",
31433
- "privacy": "public",
31434
- "static": true,
31435
- "return": {
31436
- "type": {
31437
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
31438
- }
31385
+ "kind": "field",
31386
+ "name": "type",
31387
+ "type": {
31388
+ "text": "TextFieldType"
31439
31389
  },
31440
- "parameters": [
31441
- {
31442
- "name": "this",
31443
- "type": {
31444
- "text": "K"
31445
- }
31446
- },
31447
- {
31448
- "name": "elementDefinition",
31449
- "type": {
31450
- "text": "T"
31451
- },
31452
- "description": "The definition of the element to create the registry\nfunction for."
31453
- }
31454
- ],
31455
- "description": "Defines an element registry function with a set of element definition defaults.",
31390
+ "privacy": "public",
31391
+ "description": "Allows setting a type or mode of text.",
31456
31392
  "inheritedFrom": {
31457
31393
  "name": "TextField",
31458
31394
  "module": "src/text-field/text-field.ts"
31459
31395
  }
31460
- }
31461
- ],
31462
- "events": [
31396
+ },
31463
31397
  {
31464
- "description": "Fires a custom 'change' event when the value has changed",
31465
- "name": "change",
31398
+ "kind": "method",
31399
+ "name": "typeChanged",
31400
+ "privacy": "private",
31401
+ "return": {
31402
+ "type": {
31403
+ "text": "void"
31404
+ }
31405
+ },
31466
31406
  "inheritedFrom": {
31467
31407
  "name": "TextField",
31468
31408
  "module": "src/text-field/text-field.ts"
31469
31409
  }
31470
- }
31471
- ]
31472
- },
31473
- {
31474
- "kind": "variable",
31475
- "name": "zeroTextField"
31476
- }
31477
- ],
31478
- "exports": [
31479
- {
31480
- "kind": "js",
31481
- "name": "TextField",
31482
- "declaration": {
31483
- "name": "TextField",
31484
- "module": "src/text-field/text-field.ts"
31485
- }
31486
- },
31487
- {
31488
- "kind": "js",
31489
- "name": "zeroTextField",
31490
- "declaration": {
31491
- "name": "zeroTextField",
31492
- "module": "src/text-field/text-field.ts"
31493
- }
31494
- }
31495
- ]
31496
- },
31497
- {
31498
- "kind": "javascript-module",
31499
- "path": "src/toast/index.ts",
31500
- "declarations": [],
31501
- "exports": [
31502
- {
31503
- "kind": "js",
31504
- "name": "*",
31505
- "declaration": {
31506
- "name": "*",
31507
- "package": "./toast.styles"
31508
- }
31509
- },
31510
- {
31511
- "kind": "js",
31512
- "name": "*",
31513
- "declaration": {
31514
- "name": "*",
31515
- "package": "./toast"
31516
- }
31517
- },
31518
- {
31519
- "kind": "js",
31520
- "name": "zeroToastTemplate",
31521
- "declaration": {
31522
- "name": "foundationToastTemplate",
31523
- "package": "@genesislcap/foundation-ui"
31524
- }
31525
- }
31526
- ]
31527
- },
31528
- {
31529
- "kind": "javascript-module",
31530
- "path": "src/toast/toast.stories.ts",
31531
- "declarations": [
31532
- {
31533
- "kind": "variable",
31534
- "name": "meta",
31535
- "type": {
31536
- "text": "Meta"
31537
- },
31538
- "default": "{\n title: 'Toast',\n component: 'zero-toast',\n}"
31539
- },
31540
- {
31541
- "kind": "variable",
31542
- "name": "Primary",
31543
- "type": {
31544
- "text": "StoryObj"
31545
- },
31546
- "default": "{\n render: () => html`\n <div style=\"position: absolute; right: 0; top: 0; display: flex; flex-direction: column\">\n <zero-toast notify=\"warning\" auto-close=\"true\" close-timeout=\"5000\">\n <h6 slot=\"top\">Toast title</h6>\n <span slot=\"content\">Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet. Lorem, ipsum dolor.</span>\n <span slot=\"date\">Today 14:28</span>\n </zero-toast>\n <zero-toast notify=\"success\">\n <h6 slot=\"top\">Toast title</h6>\n <span slot=\"date\">Today 14:28</span>\n </zero-toast>\n <zero-toast>\n <h6 slot=\"top\">Toast title</h6>\n </zero-toast>\n <zero-toast>\n <h6 slot=\"top\">Toast title</h6>\n <span slot=\"content\">Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet. Lorem, ipsum dolor.</span>\n <span slot=\"date\">Today 14:28</span>\n <zero-button appearance=\"primary-gradient\" slot=\"bottom\">Close notification</zero-button>\n </foundation-toast>\n </div>\n `,\n}"
31547
- }
31548
- ],
31549
- "exports": [
31550
- {
31551
- "kind": "js",
31552
- "name": "default",
31553
- "declaration": {
31554
- "name": "meta",
31555
- "module": "src/toast/toast.stories.ts"
31556
- }
31557
- },
31558
- {
31559
- "kind": "js",
31560
- "name": "Primary",
31561
- "declaration": {
31562
- "name": "Primary",
31563
- "module": "src/toast/toast.stories.ts"
31564
- }
31565
- }
31566
- ]
31567
- },
31568
- {
31569
- "kind": "javascript-module",
31570
- "path": "src/toast/toast.styles.ts",
31571
- "declarations": [
31572
- {
31573
- "kind": "variable",
31574
- "name": "zeroToastStyles",
31575
- "default": "css`\n ${foundationToastStyles}\n .toast {\n border: calc(var(--stroke-width) * 1px) solid ${neutralLayer3};\n background-color: ${neutralLayer1};\n }\n\n .toast::after {\n background-color: ${primaryBlueWebRGBA(1)};\n }\n\n :host([notify='warning']) .toast::after {\n background-color: ${chartPinkWebRGBA(1)};\n }\n\n :host([notify='success']) .toast::after {\n background-color: ${secondaryTealWebRGBA(1)};\n }\n\n :host([notify='critical']) .toast::after {\n background-color: ${warningYellowWebRGBA(1)};\n }\n\n :host([notify='serious']) .toast::after {\n background-color: ${secondaryOrangeWebRGBA(1)};\n }\n`"
31576
- }
31577
- ],
31578
- "exports": [
31579
- {
31580
- "kind": "js",
31581
- "name": "zeroToastStyles",
31582
- "declaration": {
31583
- "name": "zeroToastStyles",
31584
- "module": "src/toast/toast.styles.ts"
31585
- }
31586
- }
31587
- ]
31588
- },
31589
- {
31590
- "kind": "javascript-module",
31591
- "path": "src/toast/toast.ts",
31592
- "declarations": [
31593
- {
31594
- "kind": "variable",
31595
- "name": "defaultToastConfig",
31596
- "default": "foundationConfig"
31597
- },
31598
- {
31599
- "kind": "variable",
31600
- "name": "zeroToastShadowOptions",
31601
- "default": "foundationToastShadowOptions"
31602
- },
31603
- {
31604
- "kind": "class",
31605
- "description": "",
31606
- "name": "Toast",
31607
- "superclass": {
31608
- "name": "FoundationToast",
31609
- "package": "@genesislcap/foundation-ui"
31610
- },
31611
- "tagName": "%%prefix%%-toast",
31612
- "customElement": true,
31613
- "attributes": [
31410
+ },
31614
31411
  {
31615
- "name": "close-timeout",
31412
+ "kind": "field",
31413
+ "name": "list",
31616
31414
  "type": {
31617
- "text": "number"
31415
+ "text": "string"
31618
31416
  },
31619
- "default": "10000",
31620
- "fieldName": "closeTimeout",
31417
+ "privacy": "public",
31418
+ "description": "Allows associating a {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist} to the element by {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/id}.",
31621
31419
  "inheritedFrom": {
31622
- "name": "Toast",
31623
- "module": "src/toast/toast.ts"
31420
+ "name": "TextField",
31421
+ "module": "src/text-field/text-field.ts"
31624
31422
  }
31625
31423
  },
31626
31424
  {
31627
- "name": "auto-close",
31425
+ "kind": "method",
31426
+ "name": "listChanged",
31427
+ "privacy": "private",
31428
+ "return": {
31429
+ "type": {
31430
+ "text": "void"
31431
+ }
31432
+ },
31433
+ "inheritedFrom": {
31434
+ "name": "TextField",
31435
+ "module": "src/text-field/text-field.ts"
31436
+ }
31437
+ },
31438
+ {
31439
+ "kind": "field",
31440
+ "name": "maxlength",
31628
31441
  "type": {
31629
- "text": "boolean"
31442
+ "text": "number"
31630
31443
  },
31631
- "default": "false",
31632
- "fieldName": "autoClose",
31444
+ "privacy": "public",
31445
+ "description": "The maximum number of characters a user can enter.",
31633
31446
  "inheritedFrom": {
31634
- "name": "Toast",
31635
- "module": "src/toast/toast.ts"
31447
+ "name": "TextField",
31448
+ "module": "src/text-field/text-field.ts"
31636
31449
  }
31637
- }
31638
- ],
31639
- "members": [
31450
+ },
31451
+ {
31452
+ "kind": "method",
31453
+ "name": "maxlengthChanged",
31454
+ "privacy": "private",
31455
+ "return": {
31456
+ "type": {
31457
+ "text": "void"
31458
+ }
31459
+ },
31460
+ "inheritedFrom": {
31461
+ "name": "TextField",
31462
+ "module": "src/text-field/text-field.ts"
31463
+ }
31464
+ },
31640
31465
  {
31641
31466
  "kind": "field",
31642
- "name": "toast",
31467
+ "name": "minlength",
31643
31468
  "type": {
31644
- "text": "HTMLElement"
31469
+ "text": "number"
31645
31470
  },
31646
31471
  "privacy": "public",
31472
+ "description": "The minimum number of characters a user can enter.",
31647
31473
  "inheritedFrom": {
31648
- "name": "Toast",
31649
- "module": "src/toast/toast.ts"
31474
+ "name": "TextField",
31475
+ "module": "src/text-field/text-field.ts"
31476
+ }
31477
+ },
31478
+ {
31479
+ "kind": "method",
31480
+ "name": "minlengthChanged",
31481
+ "privacy": "private",
31482
+ "return": {
31483
+ "type": {
31484
+ "text": "void"
31485
+ }
31486
+ },
31487
+ "inheritedFrom": {
31488
+ "name": "TextField",
31489
+ "module": "src/text-field/text-field.ts"
31650
31490
  }
31651
31491
  },
31652
31492
  {
31653
31493
  "kind": "field",
31654
- "name": "deleteAnimation",
31494
+ "name": "pattern",
31655
31495
  "type": {
31656
31496
  "text": "string"
31657
31497
  },
31658
- "default": "''",
31498
+ "privacy": "public",
31499
+ "description": "A regular expression that the value must match to pass validation.",
31659
31500
  "inheritedFrom": {
31660
- "name": "Toast",
31661
- "module": "src/toast/toast.ts"
31501
+ "name": "TextField",
31502
+ "module": "src/text-field/text-field.ts"
31503
+ }
31504
+ },
31505
+ {
31506
+ "kind": "method",
31507
+ "name": "patternChanged",
31508
+ "privacy": "private",
31509
+ "return": {
31510
+ "type": {
31511
+ "text": "void"
31512
+ }
31513
+ },
31514
+ "inheritedFrom": {
31515
+ "name": "TextField",
31516
+ "module": "src/text-field/text-field.ts"
31662
31517
  }
31663
31518
  },
31664
31519
  {
31665
31520
  "kind": "field",
31666
- "name": "closeTimeout",
31521
+ "name": "size",
31667
31522
  "type": {
31668
31523
  "text": "number"
31669
31524
  },
31670
- "default": "10000",
31525
+ "privacy": "public",
31526
+ "description": "Sets the width of the element to a specified number of characters.",
31671
31527
  "inheritedFrom": {
31672
- "name": "Toast",
31673
- "module": "src/toast/toast.ts"
31528
+ "name": "TextField",
31529
+ "module": "src/text-field/text-field.ts"
31530
+ }
31531
+ },
31532
+ {
31533
+ "kind": "method",
31534
+ "name": "sizeChanged",
31535
+ "privacy": "private",
31536
+ "return": {
31537
+ "type": {
31538
+ "text": "void"
31539
+ }
31540
+ },
31541
+ "inheritedFrom": {
31542
+ "name": "TextField",
31543
+ "module": "src/text-field/text-field.ts"
31674
31544
  }
31675
31545
  },
31676
31546
  {
31677
31547
  "kind": "field",
31678
- "name": "autoClose",
31548
+ "name": "spellcheck",
31679
31549
  "type": {
31680
31550
  "text": "boolean"
31681
31551
  },
31682
- "default": "false",
31552
+ "privacy": "public",
31553
+ "description": "Controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used.",
31683
31554
  "inheritedFrom": {
31684
- "name": "Toast",
31685
- "module": "src/toast/toast.ts"
31555
+ "name": "TextField",
31556
+ "module": "src/text-field/text-field.ts"
31686
31557
  }
31687
31558
  },
31688
31559
  {
31689
31560
  "kind": "method",
31690
- "name": "close",
31561
+ "name": "spellcheckChanged",
31562
+ "privacy": "private",
31563
+ "return": {
31564
+ "type": {
31565
+ "text": "void"
31566
+ }
31567
+ },
31568
+ "inheritedFrom": {
31569
+ "name": "TextField",
31570
+ "module": "src/text-field/text-field.ts"
31571
+ }
31572
+ },
31573
+ {
31574
+ "kind": "method",
31575
+ "name": "select",
31691
31576
  "privacy": "public",
31692
- "description": "Remove the toast from display.",
31577
+ "return": {
31578
+ "type": {
31579
+ "text": "void"
31580
+ }
31581
+ },
31582
+ "description": "Selects all the text in the text field",
31693
31583
  "inheritedFrom": {
31694
- "name": "Toast",
31695
- "module": "src/toast/toast.ts"
31584
+ "name": "TextField",
31585
+ "module": "src/text-field/text-field.ts"
31586
+ }
31587
+ },
31588
+ {
31589
+ "kind": "method",
31590
+ "name": "validate",
31591
+ "privacy": "public",
31592
+ "return": {
31593
+ "type": {
31594
+ "text": "void"
31595
+ }
31596
+ },
31597
+ "description": "{@inheritDoc (FormAssociated:interface).validate}",
31598
+ "inheritedFrom": {
31599
+ "name": "TextField",
31600
+ "module": "src/text-field/text-field.ts"
31601
+ }
31602
+ },
31603
+ {
31604
+ "kind": "field",
31605
+ "name": "proxy",
31606
+ "inheritedFrom": {
31607
+ "name": "TextField",
31608
+ "module": "src/text-field/text-field.ts"
31696
31609
  }
31697
31610
  },
31698
31611
  {
@@ -31704,8 +31617,8 @@
31704
31617
  "privacy": "private",
31705
31618
  "default": "void 0",
31706
31619
  "inheritedFrom": {
31707
- "name": "FoundationElement",
31708
- "module": "src/foundation-element/foundation-element.ts"
31620
+ "name": "TextField",
31621
+ "module": "src/text-field/text-field.ts"
31709
31622
  }
31710
31623
  },
31711
31624
  {
@@ -31717,8 +31630,8 @@
31717
31630
  "privacy": "public",
31718
31631
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
31719
31632
  "inheritedFrom": {
31720
- "name": "FoundationElement",
31721
- "module": "src/foundation-element/foundation-element.ts"
31633
+ "name": "TextField",
31634
+ "module": "src/text-field/text-field.ts"
31722
31635
  }
31723
31636
  },
31724
31637
  {
@@ -31730,8 +31643,8 @@
31730
31643
  "privacy": "public",
31731
31644
  "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.",
31732
31645
  "inheritedFrom": {
31733
- "name": "FoundationElement",
31734
- "module": "src/foundation-element/foundation-element.ts"
31646
+ "name": "TextField",
31647
+ "module": "src/text-field/text-field.ts"
31735
31648
  }
31736
31649
  },
31737
31650
  {
@@ -31744,8 +31657,8 @@
31744
31657
  }
31745
31658
  },
31746
31659
  "inheritedFrom": {
31747
- "name": "FoundationElement",
31748
- "module": "src/foundation-element/foundation-element.ts"
31660
+ "name": "TextField",
31661
+ "module": "src/text-field/text-field.ts"
31749
31662
  }
31750
31663
  },
31751
31664
  {
@@ -31757,8 +31670,8 @@
31757
31670
  "privacy": "public",
31758
31671
  "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.",
31759
31672
  "inheritedFrom": {
31760
- "name": "FoundationElement",
31761
- "module": "src/foundation-element/foundation-element.ts"
31673
+ "name": "TextField",
31674
+ "module": "src/text-field/text-field.ts"
31762
31675
  }
31763
31676
  },
31764
31677
  {
@@ -31771,8 +31684,8 @@
31771
31684
  }
31772
31685
  },
31773
31686
  "inheritedFrom": {
31774
- "name": "FoundationElement",
31775
- "module": "src/foundation-element/foundation-element.ts"
31687
+ "name": "TextField",
31688
+ "module": "src/text-field/text-field.ts"
31776
31689
  }
31777
31690
  },
31778
31691
  {
@@ -31802,57 +31715,49 @@
31802
31715
  ],
31803
31716
  "description": "Defines an element registry function with a set of element definition defaults.",
31804
31717
  "inheritedFrom": {
31805
- "name": "FoundationElement",
31806
- "module": "src/foundation-element/foundation-element.ts"
31718
+ "name": "TextField",
31719
+ "module": "src/text-field/text-field.ts"
31720
+ }
31721
+ }
31722
+ ],
31723
+ "events": [
31724
+ {
31725
+ "description": "Fires a custom 'change' event when the value has changed",
31726
+ "name": "change",
31727
+ "inheritedFrom": {
31728
+ "name": "TextField",
31729
+ "module": "src/text-field/text-field.ts"
31807
31730
  }
31808
31731
  }
31809
31732
  ]
31810
31733
  },
31811
31734
  {
31812
31735
  "kind": "variable",
31813
- "name": "zeroToast",
31814
- "description": "The Zero Toast",
31815
- "privacy": "public"
31736
+ "name": "zeroTextField"
31816
31737
  }
31817
31738
  ],
31818
31739
  "exports": [
31819
31740
  {
31820
31741
  "kind": "js",
31821
- "name": "defaultToastConfig",
31822
- "declaration": {
31823
- "name": "defaultToastConfig",
31824
- "module": "src/toast/toast.ts"
31825
- }
31826
- },
31827
- {
31828
- "kind": "js",
31829
- "name": "zeroToastShadowOptions",
31830
- "declaration": {
31831
- "name": "zeroToastShadowOptions",
31832
- "module": "src/toast/toast.ts"
31833
- }
31834
- },
31835
- {
31836
- "kind": "js",
31837
- "name": "Toast",
31742
+ "name": "TextField",
31838
31743
  "declaration": {
31839
- "name": "Toast",
31840
- "module": "src/toast/toast.ts"
31744
+ "name": "TextField",
31745
+ "module": "src/text-field/text-field.ts"
31841
31746
  }
31842
31747
  },
31843
31748
  {
31844
31749
  "kind": "js",
31845
- "name": "zeroToast",
31750
+ "name": "zeroTextField",
31846
31751
  "declaration": {
31847
- "name": "zeroToast",
31848
- "module": "src/toast/toast.ts"
31752
+ "name": "zeroTextField",
31753
+ "module": "src/text-field/text-field.ts"
31849
31754
  }
31850
31755
  }
31851
31756
  ]
31852
31757
  },
31853
31758
  {
31854
31759
  "kind": "javascript-module",
31855
- "path": "src/tab-panel/index.ts",
31760
+ "path": "src/toast/index.ts",
31856
31761
  "declarations": [],
31857
31762
  "exports": [
31858
31763
  {
@@ -31860,7 +31765,7 @@
31860
31765
  "name": "*",
31861
31766
  "declaration": {
31862
31767
  "name": "*",
31863
- "package": "./tab-panel"
31768
+ "package": "./toast.styles"
31864
31769
  }
31865
31770
  },
31866
31771
  {
@@ -31868,112 +31773,189 @@
31868
31773
  "name": "*",
31869
31774
  "declaration": {
31870
31775
  "name": "*",
31871
- "package": "./tab-panel.styles"
31776
+ "package": "./toast"
31872
31777
  }
31873
31778
  },
31874
31779
  {
31875
31780
  "kind": "js",
31876
- "name": "*",
31781
+ "name": "zeroToastTemplate",
31877
31782
  "declaration": {
31878
- "name": "*",
31879
- "package": "./tab-panel.template"
31783
+ "name": "foundationToastTemplate",
31784
+ "package": "@genesislcap/foundation-ui"
31880
31785
  }
31881
31786
  }
31882
31787
  ]
31883
31788
  },
31884
31789
  {
31885
31790
  "kind": "javascript-module",
31886
- "path": "src/tab-panel/tab-panel.styles.ts",
31791
+ "path": "src/toast/toast.stories.ts",
31887
31792
  "declarations": [
31888
31793
  {
31889
- "kind": "function",
31890
- "name": "zeroTabPanelStyles",
31891
- "return": {
31892
- "type": {
31893
- "text": "ElementStyles"
31894
- }
31794
+ "kind": "variable",
31795
+ "name": "meta",
31796
+ "type": {
31797
+ "text": "Meta"
31895
31798
  },
31896
- "parameters": [
31897
- {
31898
- "name": "context",
31899
- "type": {
31900
- "text": "ElementDefinitionContext"
31901
- }
31902
- },
31903
- {
31904
- "name": "definition",
31905
- "type": {
31906
- "text": "FoundationElementDefinition"
31907
- }
31908
- }
31909
- ]
31799
+ "default": "{\n title: 'Toast',\n component: 'zero-toast',\n}"
31800
+ },
31801
+ {
31802
+ "kind": "variable",
31803
+ "name": "Primary",
31804
+ "type": {
31805
+ "text": "StoryObj"
31806
+ },
31807
+ "default": "{\n render: () => html`\n <div style=\"position: absolute; right: 0; top: 0; display: flex; flex-direction: column\">\n <zero-toast notify=\"warning\" auto-close=\"true\" close-timeout=\"5000\">\n <h6 slot=\"top\">Toast title</h6>\n <span slot=\"content\">Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet. Lorem, ipsum dolor.</span>\n <span slot=\"date\">Today 14:28</span>\n </zero-toast>\n <zero-toast notify=\"success\">\n <h6 slot=\"top\">Toast title</h6>\n <span slot=\"date\">Today 14:28</span>\n </zero-toast>\n <zero-toast>\n <h6 slot=\"top\">Toast title</h6>\n </zero-toast>\n <zero-toast>\n <h6 slot=\"top\">Toast title</h6>\n <span slot=\"content\">Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet. Lorem, ipsum dolor.</span>\n <span slot=\"date\">Today 14:28</span>\n <zero-button appearance=\"primary-gradient\" slot=\"bottom\">Close notification</zero-button>\n </foundation-toast>\n </div>\n `,\n}"
31910
31808
  }
31911
31809
  ],
31912
31810
  "exports": [
31913
31811
  {
31914
31812
  "kind": "js",
31915
- "name": "zeroTabPanelStyles",
31813
+ "name": "default",
31916
31814
  "declaration": {
31917
- "name": "zeroTabPanelStyles",
31918
- "module": "src/tab-panel/tab-panel.styles.ts"
31815
+ "name": "meta",
31816
+ "module": "src/toast/toast.stories.ts"
31817
+ }
31818
+ },
31819
+ {
31820
+ "kind": "js",
31821
+ "name": "Primary",
31822
+ "declaration": {
31823
+ "name": "Primary",
31824
+ "module": "src/toast/toast.stories.ts"
31919
31825
  }
31920
31826
  }
31921
31827
  ]
31922
31828
  },
31923
31829
  {
31924
31830
  "kind": "javascript-module",
31925
- "path": "src/tab-panel/tab-panel.template.ts",
31831
+ "path": "src/toast/toast.styles.ts",
31926
31832
  "declarations": [
31927
31833
  {
31928
- "kind": "function",
31929
- "name": "zeroTabPanelTemplate",
31930
- "return": {
31931
- "type": {
31932
- "text": "ViewTemplate<TabPanel>"
31933
- }
31934
- },
31935
- "parameters": [
31936
- {
31937
- "name": "context",
31938
- "type": {
31939
- "text": "ElementDefinitionContext"
31940
- }
31941
- },
31942
- {
31943
- "name": "definition",
31944
- "type": {
31945
- "text": "FoundationElementDefinition"
31946
- }
31947
- }
31948
- ]
31834
+ "kind": "variable",
31835
+ "name": "zeroToastStyles",
31836
+ "default": "css`\n ${foundationToastStyles}\n .toast {\n border: calc(var(--stroke-width) * 1px) solid ${neutralLayer3};\n background-color: ${neutralLayer1};\n }\n\n .toast::after {\n background-color: ${primaryBlueWebRGBA(1)};\n }\n\n :host([notify='warning']) .toast::after {\n background-color: ${chartPinkWebRGBA(1)};\n }\n\n :host([notify='success']) .toast::after {\n background-color: ${secondaryTealWebRGBA(1)};\n }\n\n :host([notify='critical']) .toast::after {\n background-color: ${warningYellowWebRGBA(1)};\n }\n\n :host([notify='serious']) .toast::after {\n background-color: ${secondaryOrangeWebRGBA(1)};\n }\n`"
31949
31837
  }
31950
31838
  ],
31951
31839
  "exports": [
31952
31840
  {
31953
31841
  "kind": "js",
31954
- "name": "zeroTabPanelTemplate",
31842
+ "name": "zeroToastStyles",
31955
31843
  "declaration": {
31956
- "name": "zeroTabPanelTemplate",
31957
- "module": "src/tab-panel/tab-panel.template.ts"
31844
+ "name": "zeroToastStyles",
31845
+ "module": "src/toast/toast.styles.ts"
31958
31846
  }
31959
31847
  }
31960
31848
  ]
31961
31849
  },
31962
31850
  {
31963
31851
  "kind": "javascript-module",
31964
- "path": "src/tab-panel/tab-panel.ts",
31852
+ "path": "src/toast/toast.ts",
31965
31853
  "declarations": [
31854
+ {
31855
+ "kind": "variable",
31856
+ "name": "defaultToastConfig",
31857
+ "default": "foundationConfig"
31858
+ },
31859
+ {
31860
+ "kind": "variable",
31861
+ "name": "zeroToastShadowOptions",
31862
+ "default": "foundationToastShadowOptions"
31863
+ },
31966
31864
  {
31967
31865
  "kind": "class",
31968
31866
  "description": "",
31969
- "name": "TabPanel",
31867
+ "name": "Toast",
31970
31868
  "superclass": {
31971
- "name": "FoundationTabPanel",
31869
+ "name": "FoundationToast",
31972
31870
  "package": "@genesislcap/foundation-ui"
31973
31871
  },
31974
- "tagName": "%%prefix%%-tab-panel",
31872
+ "tagName": "%%prefix%%-toast",
31975
31873
  "customElement": true,
31874
+ "attributes": [
31875
+ {
31876
+ "name": "close-timeout",
31877
+ "type": {
31878
+ "text": "number"
31879
+ },
31880
+ "default": "10000",
31881
+ "fieldName": "closeTimeout",
31882
+ "inheritedFrom": {
31883
+ "name": "Toast",
31884
+ "module": "src/toast/toast.ts"
31885
+ }
31886
+ },
31887
+ {
31888
+ "name": "auto-close",
31889
+ "type": {
31890
+ "text": "boolean"
31891
+ },
31892
+ "default": "false",
31893
+ "fieldName": "autoClose",
31894
+ "inheritedFrom": {
31895
+ "name": "Toast",
31896
+ "module": "src/toast/toast.ts"
31897
+ }
31898
+ }
31899
+ ],
31976
31900
  "members": [
31901
+ {
31902
+ "kind": "field",
31903
+ "name": "toast",
31904
+ "type": {
31905
+ "text": "HTMLElement"
31906
+ },
31907
+ "privacy": "public",
31908
+ "inheritedFrom": {
31909
+ "name": "Toast",
31910
+ "module": "src/toast/toast.ts"
31911
+ }
31912
+ },
31913
+ {
31914
+ "kind": "field",
31915
+ "name": "deleteAnimation",
31916
+ "type": {
31917
+ "text": "string"
31918
+ },
31919
+ "default": "''",
31920
+ "inheritedFrom": {
31921
+ "name": "Toast",
31922
+ "module": "src/toast/toast.ts"
31923
+ }
31924
+ },
31925
+ {
31926
+ "kind": "field",
31927
+ "name": "closeTimeout",
31928
+ "type": {
31929
+ "text": "number"
31930
+ },
31931
+ "default": "10000",
31932
+ "inheritedFrom": {
31933
+ "name": "Toast",
31934
+ "module": "src/toast/toast.ts"
31935
+ }
31936
+ },
31937
+ {
31938
+ "kind": "field",
31939
+ "name": "autoClose",
31940
+ "type": {
31941
+ "text": "boolean"
31942
+ },
31943
+ "default": "false",
31944
+ "inheritedFrom": {
31945
+ "name": "Toast",
31946
+ "module": "src/toast/toast.ts"
31947
+ }
31948
+ },
31949
+ {
31950
+ "kind": "method",
31951
+ "name": "close",
31952
+ "privacy": "public",
31953
+ "description": "Remove the toast from display.",
31954
+ "inheritedFrom": {
31955
+ "name": "Toast",
31956
+ "module": "src/toast/toast.ts"
31957
+ }
31958
+ },
31977
31959
  {
31978
31960
  "kind": "field",
31979
31961
  "name": "_presentation",
@@ -31983,8 +31965,8 @@
31983
31965
  "privacy": "private",
31984
31966
  "default": "void 0",
31985
31967
  "inheritedFrom": {
31986
- "name": "TabPanel",
31987
- "module": "src/tab-panel/tab-panel.ts"
31968
+ "name": "FoundationElement",
31969
+ "module": "src/foundation-element/foundation-element.ts"
31988
31970
  }
31989
31971
  },
31990
31972
  {
@@ -31996,8 +31978,8 @@
31996
31978
  "privacy": "public",
31997
31979
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
31998
31980
  "inheritedFrom": {
31999
- "name": "TabPanel",
32000
- "module": "src/tab-panel/tab-panel.ts"
31981
+ "name": "FoundationElement",
31982
+ "module": "src/foundation-element/foundation-element.ts"
32001
31983
  }
32002
31984
  },
32003
31985
  {
@@ -32009,8 +31991,8 @@
32009
31991
  "privacy": "public",
32010
31992
  "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.",
32011
31993
  "inheritedFrom": {
32012
- "name": "TabPanel",
32013
- "module": "src/tab-panel/tab-panel.ts"
31994
+ "name": "FoundationElement",
31995
+ "module": "src/foundation-element/foundation-element.ts"
32014
31996
  }
32015
31997
  },
32016
31998
  {
@@ -32023,8 +32005,8 @@
32023
32005
  }
32024
32006
  },
32025
32007
  "inheritedFrom": {
32026
- "name": "TabPanel",
32027
- "module": "src/tab-panel/tab-panel.ts"
32008
+ "name": "FoundationElement",
32009
+ "module": "src/foundation-element/foundation-element.ts"
32028
32010
  }
32029
32011
  },
32030
32012
  {
@@ -32036,8 +32018,8 @@
32036
32018
  "privacy": "public",
32037
32019
  "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.",
32038
32020
  "inheritedFrom": {
32039
- "name": "TabPanel",
32040
- "module": "src/tab-panel/tab-panel.ts"
32021
+ "name": "FoundationElement",
32022
+ "module": "src/foundation-element/foundation-element.ts"
32041
32023
  }
32042
32024
  },
32043
32025
  {
@@ -32050,8 +32032,8 @@
32050
32032
  }
32051
32033
  },
32052
32034
  "inheritedFrom": {
32053
- "name": "TabPanel",
32054
- "module": "src/tab-panel/tab-panel.ts"
32035
+ "name": "FoundationElement",
32036
+ "module": "src/foundation-element/foundation-element.ts"
32055
32037
  }
32056
32038
  },
32057
32039
  {
@@ -32081,32 +32063,50 @@
32081
32063
  ],
32082
32064
  "description": "Defines an element registry function with a set of element definition defaults.",
32083
32065
  "inheritedFrom": {
32084
- "name": "TabPanel",
32085
- "module": "src/tab-panel/tab-panel.ts"
32066
+ "name": "FoundationElement",
32067
+ "module": "src/foundation-element/foundation-element.ts"
32086
32068
  }
32087
32069
  }
32088
32070
  ]
32089
32071
  },
32090
32072
  {
32091
32073
  "kind": "variable",
32092
- "name": "zeroTabPanel"
32074
+ "name": "zeroToast",
32075
+ "description": "The Zero Toast",
32076
+ "privacy": "public"
32093
32077
  }
32094
32078
  ],
32095
32079
  "exports": [
32096
32080
  {
32097
32081
  "kind": "js",
32098
- "name": "TabPanel",
32082
+ "name": "defaultToastConfig",
32099
32083
  "declaration": {
32100
- "name": "TabPanel",
32101
- "module": "src/tab-panel/tab-panel.ts"
32084
+ "name": "defaultToastConfig",
32085
+ "module": "src/toast/toast.ts"
32102
32086
  }
32103
32087
  },
32104
32088
  {
32105
32089
  "kind": "js",
32106
- "name": "zeroTabPanel",
32090
+ "name": "zeroToastShadowOptions",
32107
32091
  "declaration": {
32108
- "name": "zeroTabPanel",
32109
- "module": "src/tab-panel/tab-panel.ts"
32092
+ "name": "zeroToastShadowOptions",
32093
+ "module": "src/toast/toast.ts"
32094
+ }
32095
+ },
32096
+ {
32097
+ "kind": "js",
32098
+ "name": "Toast",
32099
+ "declaration": {
32100
+ "name": "Toast",
32101
+ "module": "src/toast/toast.ts"
32102
+ }
32103
+ },
32104
+ {
32105
+ "kind": "js",
32106
+ "name": "zeroToast",
32107
+ "declaration": {
32108
+ "name": "zeroToast",
32109
+ "module": "src/toast/toast.ts"
32110
32110
  }
32111
32111
  }
32112
32112
  ]