@genesislcap/rapid-design-system 15.86.1-GENC-0.6 → 15.87.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.
@@ -886,11 +886,11 @@
886
886
  },
887
887
  {
888
888
  "kind": "javascript-module",
889
- "path": "src/accordion/accordion.styles.ts",
889
+ "path": "src/actions-menu/actions-menu.styles.ts",
890
890
  "declarations": [
891
891
  {
892
892
  "kind": "function",
893
- "name": "rapidAccordionStyles",
893
+ "name": "rapidActionsMenuStyles",
894
894
  "return": {
895
895
  "type": {
896
896
  "text": "ElementStyles"
@@ -915,430 +915,134 @@
915
915
  "exports": [
916
916
  {
917
917
  "kind": "js",
918
- "name": "rapidAccordionStyles",
918
+ "name": "rapidActionsMenuStyles",
919
919
  "declaration": {
920
- "name": "rapidAccordionStyles",
921
- "module": "src/accordion/accordion.styles.ts"
920
+ "name": "rapidActionsMenuStyles",
921
+ "module": "src/actions-menu/actions-menu.styles.ts"
922
922
  }
923
923
  }
924
924
  ]
925
925
  },
926
926
  {
927
927
  "kind": "javascript-module",
928
- "path": "src/accordion/accordion.template.ts",
928
+ "path": "src/actions-menu/actions-menu.ts",
929
929
  "declarations": [
930
930
  {
931
- "kind": "function",
932
- "name": "rapidAccordionTemplate",
933
- "return": {
934
- "type": {
935
- "text": "ViewTemplate<Accordion>"
936
- }
931
+ "kind": "class",
932
+ "description": "",
933
+ "name": "ActionsMenu",
934
+ "superclass": {
935
+ "name": "FoundationActionsMenu",
936
+ "package": "@genesislcap/foundation-ui"
937
937
  },
938
- "parameters": [
938
+ "tagName": "%%prefix%%-actions-menu",
939
+ "customElement": true,
940
+ "attributes": [
939
941
  {
940
- "name": "context",
942
+ "name": "is-vertical",
941
943
  "type": {
942
- "text": "ElementDefinitionContext"
944
+ "text": "boolean"
945
+ },
946
+ "default": "false",
947
+ "fieldName": "isVertical",
948
+ "inheritedFrom": {
949
+ "name": "ActionsMenu",
950
+ "module": "src/actions-menu/actions-menu.ts"
943
951
  }
944
952
  },
945
953
  {
946
- "name": "definition",
954
+ "name": "add-default-actions",
947
955
  "type": {
948
- "text": "FoundationElementDefinition"
956
+ "text": "boolean"
957
+ },
958
+ "default": "true",
959
+ "fieldName": "addDefaultActions",
960
+ "inheritedFrom": {
961
+ "name": "ActionsMenu",
962
+ "module": "src/actions-menu/actions-menu.ts"
949
963
  }
950
- }
951
- ]
952
- }
953
- ],
954
- "exports": [
955
- {
956
- "kind": "js",
957
- "name": "rapidAccordionTemplate",
958
- "declaration": {
959
- "name": "rapidAccordionTemplate",
960
- "module": "src/accordion/accordion.template.ts"
961
- }
962
- }
963
- ]
964
- },
965
- {
966
- "kind": "javascript-module",
967
- "path": "src/accordion/accordion.ts",
968
- "declarations": [
969
- {
970
- "kind": "class",
971
- "description": "",
972
- "name": "Accordion",
973
- "superclass": {
974
- "name": "foundationAccordion",
975
- "package": "@genesislcap/foundation-ui"
976
- },
977
- "tagName": "%%prefix%%-accordion",
978
- "customElement": true
979
- },
980
- {
981
- "kind": "variable",
982
- "name": "rapidAccordion"
983
- }
984
- ],
985
- "exports": [
986
- {
987
- "kind": "js",
988
- "name": "Accordion",
989
- "declaration": {
990
- "name": "Accordion",
991
- "module": "src/accordion/accordion.ts"
992
- }
993
- },
994
- {
995
- "kind": "js",
996
- "name": "rapidAccordion",
997
- "declaration": {
998
- "name": "rapidAccordion",
999
- "module": "src/accordion/accordion.ts"
1000
- }
1001
- }
1002
- ]
1003
- },
1004
- {
1005
- "kind": "javascript-module",
1006
- "path": "src/accordion/index.ts",
1007
- "declarations": [],
1008
- "exports": [
1009
- {
1010
- "kind": "js",
1011
- "name": "*",
1012
- "declaration": {
1013
- "name": "*",
1014
- "package": "./accordion"
1015
- }
1016
- },
1017
- {
1018
- "kind": "js",
1019
- "name": "*",
1020
- "declaration": {
1021
- "name": "*",
1022
- "package": "./accordion.styles"
1023
- }
1024
- },
1025
- {
1026
- "kind": "js",
1027
- "name": "*",
1028
- "declaration": {
1029
- "name": "*",
1030
- "package": "./accordion.template"
1031
- }
1032
- }
1033
- ]
1034
- },
1035
- {
1036
- "kind": "javascript-module",
1037
- "path": "src/accordion-item/accordion-item.styles.ts",
1038
- "declarations": [
1039
- {
1040
- "kind": "function",
1041
- "name": "rapidAccordionItemStyles",
1042
- "return": {
1043
- "type": {
1044
- "text": "ElementStyles"
1045
- }
1046
- },
1047
- "parameters": [
964
+ },
1048
965
  {
1049
- "name": "context",
966
+ "name": "auto-close-on-action",
1050
967
  "type": {
1051
- "text": "ElementDefinitionContext"
968
+ "text": "boolean"
969
+ },
970
+ "default": "true",
971
+ "fieldName": "autoCloseOnAction",
972
+ "inheritedFrom": {
973
+ "name": "ActionsMenu",
974
+ "module": "src/actions-menu/actions-menu.ts"
1052
975
  }
1053
976
  },
1054
977
  {
1055
- "name": "definition",
978
+ "name": "name",
1056
979
  "type": {
1057
- "text": "FoundationElementDefinition"
980
+ "text": "string"
981
+ },
982
+ "default": "'Actions'",
983
+ "fieldName": "name",
984
+ "inheritedFrom": {
985
+ "name": "ActionsMenu",
986
+ "module": "src/actions-menu/actions-menu.ts"
1058
987
  }
1059
- }
1060
- ]
1061
- }
1062
- ],
1063
- "exports": [
1064
- {
1065
- "kind": "js",
1066
- "name": "rapidAccordionItemStyles",
1067
- "declaration": {
1068
- "name": "rapidAccordionItemStyles",
1069
- "module": "src/accordion-item/accordion-item.styles.ts"
1070
- }
1071
- }
1072
- ]
1073
- },
1074
- {
1075
- "kind": "javascript-module",
1076
- "path": "src/accordion-item/accordion-item.template.ts",
1077
- "declarations": [
1078
- {
1079
- "kind": "function",
1080
- "name": "rapidAccordionItemTemplate",
1081
- "return": {
1082
- "type": {
1083
- "text": "ViewTemplate<AccordionItem>"
1084
- }
1085
- },
1086
- "parameters": [
988
+ },
1087
989
  {
1088
- "name": "context",
990
+ "name": "icon-name",
1089
991
  "type": {
1090
- "text": "ElementDefinitionContext"
992
+ "text": "string"
993
+ },
994
+ "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
995
+ "fieldName": "iconName",
996
+ "inheritedFrom": {
997
+ "name": "ActionsMenu",
998
+ "module": "src/actions-menu/actions-menu.ts"
1091
999
  }
1092
1000
  },
1093
1001
  {
1094
- "name": "definition",
1002
+ "name": "open",
1095
1003
  "type": {
1096
- "text": "FoundationElementDefinition"
1097
- }
1098
- }
1099
- ]
1100
- }
1101
- ],
1102
- "exports": [
1103
- {
1104
- "kind": "js",
1105
- "name": "rapidAccordionItemTemplate",
1106
- "declaration": {
1107
- "name": "rapidAccordionItemTemplate",
1108
- "module": "src/accordion-item/accordion-item.template.ts"
1109
- }
1110
- }
1111
- ]
1112
- },
1113
- {
1114
- "kind": "javascript-module",
1115
- "path": "src/accordion-item/accordion-item.ts",
1116
- "declarations": [
1117
- {
1118
- "kind": "class",
1119
- "description": "",
1120
- "name": "AccordionItem",
1121
- "superclass": {
1122
- "name": "foundationAccordionItem",
1123
- "package": "@genesislcap/foundation-ui"
1124
- },
1125
- "tagName": "%%prefix%%-accordion-item",
1126
- "customElement": true
1127
- },
1128
- {
1129
- "kind": "variable",
1130
- "name": "rapidAccordionItem"
1131
- }
1132
- ],
1133
- "exports": [
1134
- {
1135
- "kind": "js",
1136
- "name": "AccordionItem",
1137
- "declaration": {
1138
- "name": "AccordionItem",
1139
- "module": "src/accordion-item/accordion-item.ts"
1140
- }
1141
- },
1142
- {
1143
- "kind": "js",
1144
- "name": "rapidAccordionItem",
1145
- "declaration": {
1146
- "name": "rapidAccordionItem",
1147
- "module": "src/accordion-item/accordion-item.ts"
1148
- }
1149
- }
1150
- ]
1151
- },
1152
- {
1153
- "kind": "javascript-module",
1154
- "path": "src/accordion-item/index.ts",
1155
- "declarations": [],
1156
- "exports": [
1157
- {
1158
- "kind": "js",
1159
- "name": "*",
1160
- "declaration": {
1161
- "name": "*",
1162
- "package": "./accordion-item"
1163
- }
1164
- },
1165
- {
1166
- "kind": "js",
1167
- "name": "*",
1168
- "declaration": {
1169
- "name": "*",
1170
- "package": "./accordion-item.styles"
1171
- }
1172
- },
1173
- {
1174
- "kind": "js",
1175
- "name": "*",
1176
- "declaration": {
1177
- "name": "*",
1178
- "package": "./accordion-item.template"
1179
- }
1180
- }
1181
- ]
1182
- },
1183
- {
1184
- "kind": "javascript-module",
1185
- "path": "src/actions-menu/actions-menu.styles.ts",
1186
- "declarations": [
1187
- {
1188
- "kind": "function",
1189
- "name": "rapidActionsMenuStyles",
1190
- "return": {
1191
- "type": {
1192
- "text": "ElementStyles"
1193
- }
1194
- },
1195
- "parameters": [
1196
- {
1197
- "name": "context",
1198
- "type": {
1199
- "text": "ElementDefinitionContext"
1200
- }
1201
- },
1202
- {
1203
- "name": "definition",
1204
- "type": {
1205
- "text": "FoundationElementDefinition"
1206
- }
1207
- }
1208
- ]
1209
- }
1210
- ],
1211
- "exports": [
1212
- {
1213
- "kind": "js",
1214
- "name": "rapidActionsMenuStyles",
1215
- "declaration": {
1216
- "name": "rapidActionsMenuStyles",
1217
- "module": "src/actions-menu/actions-menu.styles.ts"
1218
- }
1219
- }
1220
- ]
1221
- },
1222
- {
1223
- "kind": "javascript-module",
1224
- "path": "src/actions-menu/actions-menu.ts",
1225
- "declarations": [
1226
- {
1227
- "kind": "class",
1228
- "description": "",
1229
- "name": "ActionsMenu",
1230
- "superclass": {
1231
- "name": "FoundationActionsMenu",
1232
- "package": "@genesislcap/foundation-ui"
1233
- },
1234
- "tagName": "%%prefix%%-actions-menu",
1235
- "customElement": true,
1236
- "attributes": [
1237
- {
1238
- "name": "is-vertical",
1239
- "type": {
1240
- "text": "boolean"
1241
- },
1242
- "default": "false",
1243
- "fieldName": "isVertical",
1244
- "inheritedFrom": {
1245
- "name": "ActionsMenu",
1246
- "module": "src/actions-menu/actions-menu.ts"
1247
- }
1248
- },
1249
- {
1250
- "name": "add-default-actions",
1251
- "type": {
1252
- "text": "boolean"
1253
- },
1254
- "default": "true",
1255
- "fieldName": "addDefaultActions",
1256
- "inheritedFrom": {
1257
- "name": "ActionsMenu",
1258
- "module": "src/actions-menu/actions-menu.ts"
1259
- }
1260
- },
1261
- {
1262
- "name": "auto-close-on-action",
1263
- "type": {
1264
- "text": "boolean"
1265
- },
1266
- "default": "true",
1267
- "fieldName": "autoCloseOnAction",
1268
- "inheritedFrom": {
1269
- "name": "ActionsMenu",
1270
- "module": "src/actions-menu/actions-menu.ts"
1271
- }
1272
- },
1273
- {
1274
- "name": "name",
1275
- "type": {
1276
- "text": "string"
1277
- },
1278
- "default": "'Actions'",
1279
- "fieldName": "name",
1280
- "inheritedFrom": {
1281
- "name": "ActionsMenu",
1282
- "module": "src/actions-menu/actions-menu.ts"
1283
- }
1284
- },
1285
- {
1286
- "name": "icon-name",
1287
- "type": {
1288
- "text": "string"
1289
- },
1290
- "description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
1291
- "fieldName": "iconName",
1292
- "inheritedFrom": {
1293
- "name": "ActionsMenu",
1294
- "module": "src/actions-menu/actions-menu.ts"
1295
- }
1296
- },
1297
- {
1298
- "name": "open",
1299
- "type": {
1300
- "text": "boolean"
1301
- },
1302
- "default": "false",
1303
- "fieldName": "open",
1304
- "inheritedFrom": {
1305
- "name": "ActionsMenu",
1306
- "module": "src/actions-menu/actions-menu.ts"
1307
- }
1308
- },
1309
- {
1310
- "name": "buttonAppearance",
1311
- "type": {
1312
- "text": "string"
1313
- },
1314
- "fieldName": "buttonAppearance",
1315
- "inheritedFrom": {
1316
- "name": "ActionsMenu",
1317
- "module": "src/actions-menu/actions-menu.ts"
1318
- }
1319
- },
1320
- {
1321
- "name": "hide-disabled",
1322
- "type": {
1323
- "text": "boolean"
1324
- },
1325
- "default": "false",
1326
- "fieldName": "hideDisabled",
1327
- "inheritedFrom": {
1328
- "name": "ActionsMenu",
1329
- "module": "src/actions-menu/actions-menu.ts"
1330
- }
1331
- },
1332
- {
1333
- "name": "hide-menu-single-option",
1334
- "type": {
1335
- "text": "boolean"
1336
- },
1337
- "default": "false",
1338
- "fieldName": "hideMenuSingleOption",
1339
- "inheritedFrom": {
1340
- "name": "ActionsMenu",
1341
- "module": "src/actions-menu/actions-menu.ts"
1004
+ "text": "boolean"
1005
+ },
1006
+ "default": "false",
1007
+ "fieldName": "open",
1008
+ "inheritedFrom": {
1009
+ "name": "ActionsMenu",
1010
+ "module": "src/actions-menu/actions-menu.ts"
1011
+ }
1012
+ },
1013
+ {
1014
+ "name": "buttonAppearance",
1015
+ "type": {
1016
+ "text": "string"
1017
+ },
1018
+ "fieldName": "buttonAppearance",
1019
+ "inheritedFrom": {
1020
+ "name": "ActionsMenu",
1021
+ "module": "src/actions-menu/actions-menu.ts"
1022
+ }
1023
+ },
1024
+ {
1025
+ "name": "hide-disabled",
1026
+ "type": {
1027
+ "text": "boolean"
1028
+ },
1029
+ "default": "false",
1030
+ "fieldName": "hideDisabled",
1031
+ "inheritedFrom": {
1032
+ "name": "ActionsMenu",
1033
+ "module": "src/actions-menu/actions-menu.ts"
1034
+ }
1035
+ },
1036
+ {
1037
+ "name": "hide-menu-single-option",
1038
+ "type": {
1039
+ "text": "boolean"
1040
+ },
1041
+ "default": "false",
1042
+ "fieldName": "hideMenuSingleOption",
1043
+ "inheritedFrom": {
1044
+ "name": "ActionsMenu",
1045
+ "module": "src/actions-menu/actions-menu.ts"
1342
1046
  }
1343
1047
  }
1344
1048
  ],
@@ -1941,23 +1645,171 @@
1941
1645
  },
1942
1646
  {
1943
1647
  "kind": "javascript-module",
1944
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1648
+ "path": "src/accordion/accordion.styles.ts",
1945
1649
  "declarations": [
1946
1650
  {
1947
- "kind": "variable",
1948
- "name": "rapidAiCriteriaSearchStyles",
1949
- "default": "css`\n ${foundationAiCriteriaSearchStyles}\n`"
1950
- }
1951
- ],
1952
- "exports": [
1953
- {
1954
- "kind": "js",
1955
- "name": "rapidAiCriteriaSearchStyles",
1956
- "declaration": {
1957
- "name": "rapidAiCriteriaSearchStyles",
1958
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1959
- }
1960
- }
1651
+ "kind": "function",
1652
+ "name": "rapidAccordionStyles",
1653
+ "return": {
1654
+ "type": {
1655
+ "text": "ElementStyles"
1656
+ }
1657
+ },
1658
+ "parameters": [
1659
+ {
1660
+ "name": "context",
1661
+ "type": {
1662
+ "text": "ElementDefinitionContext"
1663
+ }
1664
+ },
1665
+ {
1666
+ "name": "definition",
1667
+ "type": {
1668
+ "text": "FoundationElementDefinition"
1669
+ }
1670
+ }
1671
+ ]
1672
+ }
1673
+ ],
1674
+ "exports": [
1675
+ {
1676
+ "kind": "js",
1677
+ "name": "rapidAccordionStyles",
1678
+ "declaration": {
1679
+ "name": "rapidAccordionStyles",
1680
+ "module": "src/accordion/accordion.styles.ts"
1681
+ }
1682
+ }
1683
+ ]
1684
+ },
1685
+ {
1686
+ "kind": "javascript-module",
1687
+ "path": "src/accordion/accordion.template.ts",
1688
+ "declarations": [
1689
+ {
1690
+ "kind": "function",
1691
+ "name": "rapidAccordionTemplate",
1692
+ "return": {
1693
+ "type": {
1694
+ "text": "ViewTemplate<Accordion>"
1695
+ }
1696
+ },
1697
+ "parameters": [
1698
+ {
1699
+ "name": "context",
1700
+ "type": {
1701
+ "text": "ElementDefinitionContext"
1702
+ }
1703
+ },
1704
+ {
1705
+ "name": "definition",
1706
+ "type": {
1707
+ "text": "FoundationElementDefinition"
1708
+ }
1709
+ }
1710
+ ]
1711
+ }
1712
+ ],
1713
+ "exports": [
1714
+ {
1715
+ "kind": "js",
1716
+ "name": "rapidAccordionTemplate",
1717
+ "declaration": {
1718
+ "name": "rapidAccordionTemplate",
1719
+ "module": "src/accordion/accordion.template.ts"
1720
+ }
1721
+ }
1722
+ ]
1723
+ },
1724
+ {
1725
+ "kind": "javascript-module",
1726
+ "path": "src/accordion/accordion.ts",
1727
+ "declarations": [
1728
+ {
1729
+ "kind": "class",
1730
+ "description": "",
1731
+ "name": "Accordion",
1732
+ "superclass": {
1733
+ "name": "foundationAccordion",
1734
+ "package": "@genesislcap/foundation-ui"
1735
+ },
1736
+ "tagName": "%%prefix%%-accordion",
1737
+ "customElement": true
1738
+ },
1739
+ {
1740
+ "kind": "variable",
1741
+ "name": "rapidAccordion"
1742
+ }
1743
+ ],
1744
+ "exports": [
1745
+ {
1746
+ "kind": "js",
1747
+ "name": "Accordion",
1748
+ "declaration": {
1749
+ "name": "Accordion",
1750
+ "module": "src/accordion/accordion.ts"
1751
+ }
1752
+ },
1753
+ {
1754
+ "kind": "js",
1755
+ "name": "rapidAccordion",
1756
+ "declaration": {
1757
+ "name": "rapidAccordion",
1758
+ "module": "src/accordion/accordion.ts"
1759
+ }
1760
+ }
1761
+ ]
1762
+ },
1763
+ {
1764
+ "kind": "javascript-module",
1765
+ "path": "src/accordion/index.ts",
1766
+ "declarations": [],
1767
+ "exports": [
1768
+ {
1769
+ "kind": "js",
1770
+ "name": "*",
1771
+ "declaration": {
1772
+ "name": "*",
1773
+ "package": "./accordion"
1774
+ }
1775
+ },
1776
+ {
1777
+ "kind": "js",
1778
+ "name": "*",
1779
+ "declaration": {
1780
+ "name": "*",
1781
+ "package": "./accordion.styles"
1782
+ }
1783
+ },
1784
+ {
1785
+ "kind": "js",
1786
+ "name": "*",
1787
+ "declaration": {
1788
+ "name": "*",
1789
+ "package": "./accordion.template"
1790
+ }
1791
+ }
1792
+ ]
1793
+ },
1794
+ {
1795
+ "kind": "javascript-module",
1796
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1797
+ "declarations": [
1798
+ {
1799
+ "kind": "variable",
1800
+ "name": "rapidAiCriteriaSearchStyles",
1801
+ "default": "css`\n ${foundationAiCriteriaSearchStyles}\n`"
1802
+ }
1803
+ ],
1804
+ "exports": [
1805
+ {
1806
+ "kind": "js",
1807
+ "name": "rapidAiCriteriaSearchStyles",
1808
+ "declaration": {
1809
+ "name": "rapidAiCriteriaSearchStyles",
1810
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1811
+ }
1812
+ }
1961
1813
  ]
1962
1814
  },
1963
1815
  {
@@ -3483,11 +3335,11 @@
3483
3335
  },
3484
3336
  {
3485
3337
  "kind": "javascript-module",
3486
- "path": "src/anchored-region/anchored-region.styles.ts",
3338
+ "path": "src/accordion-item/accordion-item.styles.ts",
3487
3339
  "declarations": [
3488
3340
  {
3489
3341
  "kind": "function",
3490
- "name": "rapidAnchoredRegionStyles",
3342
+ "name": "rapidAccordionItemStyles",
3491
3343
  "return": {
3492
3344
  "type": {
3493
3345
  "text": "ElementStyles"
@@ -3512,24 +3364,24 @@
3512
3364
  "exports": [
3513
3365
  {
3514
3366
  "kind": "js",
3515
- "name": "rapidAnchoredRegionStyles",
3367
+ "name": "rapidAccordionItemStyles",
3516
3368
  "declaration": {
3517
- "name": "rapidAnchoredRegionStyles",
3518
- "module": "src/anchored-region/anchored-region.styles.ts"
3369
+ "name": "rapidAccordionItemStyles",
3370
+ "module": "src/accordion-item/accordion-item.styles.ts"
3519
3371
  }
3520
3372
  }
3521
3373
  ]
3522
3374
  },
3523
3375
  {
3524
3376
  "kind": "javascript-module",
3525
- "path": "src/anchored-region/anchored-region.template.ts",
3377
+ "path": "src/accordion-item/accordion-item.template.ts",
3526
3378
  "declarations": [
3527
3379
  {
3528
3380
  "kind": "function",
3529
- "name": "rapidAnchoredRegionTemplate",
3381
+ "name": "rapidAccordionItemTemplate",
3530
3382
  "return": {
3531
3383
  "type": {
3532
- "text": "ViewTemplate<AnchoredRegion>"
3384
+ "text": "ViewTemplate<AccordionItem>"
3533
3385
  }
3534
3386
  },
3535
3387
  "parameters": [
@@ -3551,92 +3403,240 @@
3551
3403
  "exports": [
3552
3404
  {
3553
3405
  "kind": "js",
3554
- "name": "rapidAnchoredRegionTemplate",
3406
+ "name": "rapidAccordionItemTemplate",
3555
3407
  "declaration": {
3556
- "name": "rapidAnchoredRegionTemplate",
3557
- "module": "src/anchored-region/anchored-region.template.ts"
3408
+ "name": "rapidAccordionItemTemplate",
3409
+ "module": "src/accordion-item/accordion-item.template.ts"
3558
3410
  }
3559
3411
  }
3560
3412
  ]
3561
3413
  },
3562
3414
  {
3563
3415
  "kind": "javascript-module",
3564
- "path": "src/anchored-region/anchored-region.ts",
3416
+ "path": "src/accordion-item/accordion-item.ts",
3565
3417
  "declarations": [
3566
3418
  {
3567
3419
  "kind": "class",
3568
3420
  "description": "",
3569
- "name": "AnchoredRegion",
3421
+ "name": "AccordionItem",
3570
3422
  "superclass": {
3571
- "name": "FoundationAnchoredRegion",
3423
+ "name": "foundationAccordionItem",
3572
3424
  "package": "@genesislcap/foundation-ui"
3573
3425
  },
3574
- "tagName": "%%prefix%%-anchored-region",
3575
- "customElement": true,
3576
- "attributes": [
3577
- {
3578
- "name": "anchor",
3579
- "type": {
3580
- "text": "string"
3581
- },
3582
- "default": "\"\"",
3583
- "description": "The HTML ID of the anchor element this region is positioned relative to",
3584
- "fieldName": "anchor",
3585
- "inheritedFrom": {
3586
- "name": "AnchoredRegion",
3587
- "module": "src/anchored-region/anchored-region.ts"
3588
- }
3589
- },
3590
- {
3591
- "name": "viewport",
3592
- "type": {
3593
- "text": "string"
3594
- },
3595
- "default": "\"\"",
3596
- "description": "The HTML ID of the viewport element this region is positioned relative to",
3597
- "fieldName": "viewport",
3598
- "inheritedFrom": {
3599
- "name": "AnchoredRegion",
3600
- "module": "src/anchored-region/anchored-region.ts"
3601
- }
3602
- },
3603
- {
3604
- "name": "horizontal-positioning-mode",
3605
- "type": {
3606
- "text": "AxisPositioningMode"
3607
- },
3608
- "default": "\"uncontrolled\"",
3609
- "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
3610
- "fieldName": "horizontalPositioningMode",
3611
- "inheritedFrom": {
3612
- "name": "AnchoredRegion",
3613
- "module": "src/anchored-region/anchored-region.ts"
3614
- }
3615
- },
3616
- {
3617
- "name": "horizontal-default-position",
3618
- "type": {
3619
- "text": "HorizontalPosition"
3620
- },
3621
- "default": "\"unset\"",
3622
- "description": "The default horizontal position of the region relative to the anchor element",
3623
- "fieldName": "horizontalDefaultPosition",
3624
- "inheritedFrom": {
3625
- "name": "AnchoredRegion",
3626
- "module": "src/anchored-region/anchored-region.ts"
3627
- }
3628
- },
3629
- {
3630
- "name": "horizontal-viewport-lock",
3631
- "type": {
3632
- "text": "boolean"
3633
- },
3634
- "default": "false",
3635
- "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
3636
- "fieldName": "horizontalViewportLock",
3637
- "inheritedFrom": {
3638
- "name": "AnchoredRegion",
3639
- "module": "src/anchored-region/anchored-region.ts"
3426
+ "tagName": "%%prefix%%-accordion-item",
3427
+ "customElement": true
3428
+ },
3429
+ {
3430
+ "kind": "variable",
3431
+ "name": "rapidAccordionItem"
3432
+ }
3433
+ ],
3434
+ "exports": [
3435
+ {
3436
+ "kind": "js",
3437
+ "name": "AccordionItem",
3438
+ "declaration": {
3439
+ "name": "AccordionItem",
3440
+ "module": "src/accordion-item/accordion-item.ts"
3441
+ }
3442
+ },
3443
+ {
3444
+ "kind": "js",
3445
+ "name": "rapidAccordionItem",
3446
+ "declaration": {
3447
+ "name": "rapidAccordionItem",
3448
+ "module": "src/accordion-item/accordion-item.ts"
3449
+ }
3450
+ }
3451
+ ]
3452
+ },
3453
+ {
3454
+ "kind": "javascript-module",
3455
+ "path": "src/accordion-item/index.ts",
3456
+ "declarations": [],
3457
+ "exports": [
3458
+ {
3459
+ "kind": "js",
3460
+ "name": "*",
3461
+ "declaration": {
3462
+ "name": "*",
3463
+ "package": "./accordion-item"
3464
+ }
3465
+ },
3466
+ {
3467
+ "kind": "js",
3468
+ "name": "*",
3469
+ "declaration": {
3470
+ "name": "*",
3471
+ "package": "./accordion-item.styles"
3472
+ }
3473
+ },
3474
+ {
3475
+ "kind": "js",
3476
+ "name": "*",
3477
+ "declaration": {
3478
+ "name": "*",
3479
+ "package": "./accordion-item.template"
3480
+ }
3481
+ }
3482
+ ]
3483
+ },
3484
+ {
3485
+ "kind": "javascript-module",
3486
+ "path": "src/anchored-region/anchored-region.styles.ts",
3487
+ "declarations": [
3488
+ {
3489
+ "kind": "function",
3490
+ "name": "rapidAnchoredRegionStyles",
3491
+ "return": {
3492
+ "type": {
3493
+ "text": "ElementStyles"
3494
+ }
3495
+ },
3496
+ "parameters": [
3497
+ {
3498
+ "name": "context",
3499
+ "type": {
3500
+ "text": "ElementDefinitionContext"
3501
+ }
3502
+ },
3503
+ {
3504
+ "name": "definition",
3505
+ "type": {
3506
+ "text": "FoundationElementDefinition"
3507
+ }
3508
+ }
3509
+ ]
3510
+ }
3511
+ ],
3512
+ "exports": [
3513
+ {
3514
+ "kind": "js",
3515
+ "name": "rapidAnchoredRegionStyles",
3516
+ "declaration": {
3517
+ "name": "rapidAnchoredRegionStyles",
3518
+ "module": "src/anchored-region/anchored-region.styles.ts"
3519
+ }
3520
+ }
3521
+ ]
3522
+ },
3523
+ {
3524
+ "kind": "javascript-module",
3525
+ "path": "src/anchored-region/anchored-region.template.ts",
3526
+ "declarations": [
3527
+ {
3528
+ "kind": "function",
3529
+ "name": "rapidAnchoredRegionTemplate",
3530
+ "return": {
3531
+ "type": {
3532
+ "text": "ViewTemplate<AnchoredRegion>"
3533
+ }
3534
+ },
3535
+ "parameters": [
3536
+ {
3537
+ "name": "context",
3538
+ "type": {
3539
+ "text": "ElementDefinitionContext"
3540
+ }
3541
+ },
3542
+ {
3543
+ "name": "definition",
3544
+ "type": {
3545
+ "text": "FoundationElementDefinition"
3546
+ }
3547
+ }
3548
+ ]
3549
+ }
3550
+ ],
3551
+ "exports": [
3552
+ {
3553
+ "kind": "js",
3554
+ "name": "rapidAnchoredRegionTemplate",
3555
+ "declaration": {
3556
+ "name": "rapidAnchoredRegionTemplate",
3557
+ "module": "src/anchored-region/anchored-region.template.ts"
3558
+ }
3559
+ }
3560
+ ]
3561
+ },
3562
+ {
3563
+ "kind": "javascript-module",
3564
+ "path": "src/anchored-region/anchored-region.ts",
3565
+ "declarations": [
3566
+ {
3567
+ "kind": "class",
3568
+ "description": "",
3569
+ "name": "AnchoredRegion",
3570
+ "superclass": {
3571
+ "name": "FoundationAnchoredRegion",
3572
+ "package": "@genesislcap/foundation-ui"
3573
+ },
3574
+ "tagName": "%%prefix%%-anchored-region",
3575
+ "customElement": true,
3576
+ "attributes": [
3577
+ {
3578
+ "name": "anchor",
3579
+ "type": {
3580
+ "text": "string"
3581
+ },
3582
+ "default": "\"\"",
3583
+ "description": "The HTML ID of the anchor element this region is positioned relative to",
3584
+ "fieldName": "anchor",
3585
+ "inheritedFrom": {
3586
+ "name": "AnchoredRegion",
3587
+ "module": "src/anchored-region/anchored-region.ts"
3588
+ }
3589
+ },
3590
+ {
3591
+ "name": "viewport",
3592
+ "type": {
3593
+ "text": "string"
3594
+ },
3595
+ "default": "\"\"",
3596
+ "description": "The HTML ID of the viewport element this region is positioned relative to",
3597
+ "fieldName": "viewport",
3598
+ "inheritedFrom": {
3599
+ "name": "AnchoredRegion",
3600
+ "module": "src/anchored-region/anchored-region.ts"
3601
+ }
3602
+ },
3603
+ {
3604
+ "name": "horizontal-positioning-mode",
3605
+ "type": {
3606
+ "text": "AxisPositioningMode"
3607
+ },
3608
+ "default": "\"uncontrolled\"",
3609
+ "description": "Sets what logic the component uses to determine horizontal placement.\n'locktodefault' forces the default position\n'dynamic' decides placement based on available space\n'uncontrolled' does not control placement on the horizontal axis",
3610
+ "fieldName": "horizontalPositioningMode",
3611
+ "inheritedFrom": {
3612
+ "name": "AnchoredRegion",
3613
+ "module": "src/anchored-region/anchored-region.ts"
3614
+ }
3615
+ },
3616
+ {
3617
+ "name": "horizontal-default-position",
3618
+ "type": {
3619
+ "text": "HorizontalPosition"
3620
+ },
3621
+ "default": "\"unset\"",
3622
+ "description": "The default horizontal position of the region relative to the anchor element",
3623
+ "fieldName": "horizontalDefaultPosition",
3624
+ "inheritedFrom": {
3625
+ "name": "AnchoredRegion",
3626
+ "module": "src/anchored-region/anchored-region.ts"
3627
+ }
3628
+ },
3629
+ {
3630
+ "name": "horizontal-viewport-lock",
3631
+ "type": {
3632
+ "text": "boolean"
3633
+ },
3634
+ "default": "false",
3635
+ "description": "Whether the region remains in the viewport (ie. detaches from the anchor) on the horizontal axis",
3636
+ "fieldName": "horizontalViewportLock",
3637
+ "inheritedFrom": {
3638
+ "name": "AnchoredRegion",
3639
+ "module": "src/anchored-region/anchored-region.ts"
3640
3640
  }
3641
3641
  },
3642
3642
  {
@@ -21367,7 +21367,7 @@
21367
21367
  },
21368
21368
  {
21369
21369
  "kind": "javascript-module",
21370
- "path": "src/modal-theme/index.ts",
21370
+ "path": "src/modal/index.ts",
21371
21371
  "declarations": [],
21372
21372
  "exports": [
21373
21373
  {
@@ -21375,7 +21375,7 @@
21375
21375
  "name": "*",
21376
21376
  "declaration": {
21377
21377
  "name": "*",
21378
- "package": "./theme-compiler"
21378
+ "package": "./modal"
21379
21379
  }
21380
21380
  },
21381
21381
  {
@@ -21383,313 +21383,22 @@
21383
21383
  "name": "*",
21384
21384
  "declaration": {
21385
21385
  "name": "*",
21386
- "package": "./modal-theme"
21386
+ "package": "./modal.styles"
21387
21387
  }
21388
21388
  }
21389
21389
  ]
21390
21390
  },
21391
21391
  {
21392
21392
  "kind": "javascript-module",
21393
- "path": "src/modal-theme/modal-theme.ts",
21393
+ "path": "src/modal/modal.styles.ts",
21394
21394
  "declarations": [
21395
21395
  {
21396
- "kind": "function",
21397
- "name": "toModalTheme",
21398
- "return": {
21399
- "type": {
21400
- "text": "ModalTheme"
21401
- }
21402
- },
21403
- "parameters": [
21404
- {
21405
- "name": "json",
21406
- "type": {
21407
- "text": "unknown"
21408
- }
21409
- }
21410
- ],
21411
- "description": "Narrow a theme loaded from JSON (or any untyped value) to a ModalTheme,\nchecking the structure a theme cannot function without. Prefer this over casting\nthe JSON module: a malformed theme fails loudly here instead of silently\nrendering unthemed.",
21412
- "privacy": "public"
21413
- },
21414
- {
21415
- "kind": "function",
21416
- "name": "resolveInitialMode",
21417
- "return": {
21418
- "type": {
21419
- "text": "string"
21420
- }
21421
- },
21422
- "parameters": [
21423
- {
21424
- "name": "theme",
21425
- "type": {
21426
- "text": "ModalTheme"
21427
- }
21428
- }
21429
- ],
21430
- "description": "The mode to start on: remembered choice for this theme, else the declared default.",
21431
- "privacy": "public"
21432
- },
21433
- {
21434
- "kind": "function",
21435
- "name": "nextMode",
21436
- "return": {
21437
- "type": {
21438
- "text": "string"
21439
- }
21440
- },
21441
- "parameters": [
21442
- {
21443
- "name": "theme",
21444
- "type": {
21445
- "text": "ModalTheme"
21446
- }
21447
- },
21448
- {
21449
- "name": "current",
21450
- "type": {
21451
- "text": "string"
21452
- }
21453
- }
21454
- ],
21455
- "description": "Cycle to the next mode (for the light/dark toggle; generalises to N modes).",
21456
- "privacy": "public"
21457
- },
21458
- {
21459
- "kind": "function",
21460
- "name": "isModeToggleEnabled",
21461
- "return": {
21462
- "type": {
21463
- "text": "boolean"
21464
- }
21465
- },
21466
- "parameters": [
21467
- {
21468
- "name": "theme",
21469
- "type": {
21470
- "text": "ModalTheme"
21471
- }
21472
- }
21473
- ],
21474
- "description": "Whether the app should offer a mode toggle. Defaults to \"more than one mode exists\";\na `showModeToggle` on the theme overrides the inference. Use to set the header's\ntoggle-button visibility.",
21475
- "privacy": "public"
21476
- },
21477
- {
21478
- "kind": "function",
21479
- "name": "injectThemeStyles",
21480
- "return": {
21481
- "type": {
21482
- "text": "void"
21483
- }
21484
- },
21485
- "parameters": [
21486
- {
21487
- "name": "provider",
21488
- "type": {
21489
- "text": "HTMLElement"
21490
- }
21491
- },
21492
- {
21493
- "name": "theme",
21494
- "type": {
21495
- "text": "ModalTheme"
21496
- }
21497
- }
21498
- ],
21499
- "description": "Compile the theme to a single mode-agnostic sheet and adopt it into the scope\nthat actually contains the provider. The sheet contains every mode; switching\nnever regenerates it.\n\nThe provider is typically rendered inside its host app's shadow root, not the\ndocument light DOM — so a document-scoped `rapid-design-system-provider { … }`\nrule would never match it. We adopt the sheet onto `provider.getRootNode()` (the\ncontaining ShadowRoot, or Document if the provider sits at document scope) so the\nselector resolves and the surface custom properties land on the provider,\ninheriting down through every nested shadow boundary.\n\nRe-entrant per root: the first call for a root adopts a new sheet; later calls\nfor the same root update it in place (`replaceSync`) rather than adopting a\nduplicate — this is what lets a hot theme edit refresh styles without a reload.\nProviders sharing one root share its sheet (the compiled CSS targets the provider\ntag), so themes applied to the same root contend — give concurrently-themed\nproviders their own shadow roots.",
21500
- "privacy": "public"
21501
- },
21502
- {
21503
- "kind": "function",
21504
- "name": "reapplyTheme",
21505
- "return": {
21506
- "type": {
21507
- "text": "void"
21508
- }
21509
- },
21510
- "parameters": [
21511
- {
21512
- "name": "theme",
21513
- "type": {
21514
- "text": "ModalTheme"
21515
- }
21516
- }
21517
- ],
21518
- "description": "Recompile and re-apply the theme after a hot edit to the theme file: updates the\nadopted sheet in place and re-runs the active mode's design tokens on the most\nrecently applied provider (falling back to the theme's initial mode if the edit\nremoved the active one). Wire to a bundler's HMR hook so theme edits show without\na full page reload.",
21519
- "privacy": "public"
21520
- },
21521
- {
21522
- "kind": "function",
21523
- "name": "applyMode",
21524
- "return": {
21525
- "type": {
21526
- "text": "void"
21527
- }
21528
- },
21529
- "parameters": [
21530
- {
21531
- "name": "provider",
21532
- "type": {
21533
- "text": "HTMLElement"
21534
- }
21535
- },
21536
- {
21537
- "name": "theme",
21538
- "type": {
21539
- "text": "ModalTheme"
21540
- }
21541
- },
21542
- {
21543
- "name": "mode",
21544
- "type": {
21545
- "text": "string"
21546
- }
21547
- }
21548
- ],
21549
- "description": "Apply a mode: design-token half via FAST, surface/parts half via the class swap.",
21550
- "privacy": "public"
21551
- }
21552
- ],
21553
- "exports": [
21554
- {
21555
- "kind": "js",
21556
- "name": "toModalTheme",
21557
- "declaration": {
21558
- "name": "toModalTheme",
21559
- "module": "src/modal-theme/modal-theme.ts"
21560
- }
21561
- },
21562
- {
21563
- "kind": "js",
21564
- "name": "resolveInitialMode",
21565
- "declaration": {
21566
- "name": "resolveInitialMode",
21567
- "module": "src/modal-theme/modal-theme.ts"
21568
- }
21569
- },
21570
- {
21571
- "kind": "js",
21572
- "name": "nextMode",
21573
- "declaration": {
21574
- "name": "nextMode",
21575
- "module": "src/modal-theme/modal-theme.ts"
21576
- }
21577
- },
21578
- {
21579
- "kind": "js",
21580
- "name": "isModeToggleEnabled",
21581
- "declaration": {
21582
- "name": "isModeToggleEnabled",
21583
- "module": "src/modal-theme/modal-theme.ts"
21584
- }
21585
- },
21586
- {
21587
- "kind": "js",
21588
- "name": "injectThemeStyles",
21589
- "declaration": {
21590
- "name": "injectThemeStyles",
21591
- "module": "src/modal-theme/modal-theme.ts"
21592
- }
21593
- },
21594
- {
21595
- "kind": "js",
21596
- "name": "reapplyTheme",
21597
- "declaration": {
21598
- "name": "reapplyTheme",
21599
- "module": "src/modal-theme/modal-theme.ts"
21600
- }
21601
- },
21602
- {
21603
- "kind": "js",
21604
- "name": "applyMode",
21605
- "declaration": {
21606
- "name": "applyMode",
21607
- "module": "src/modal-theme/modal-theme.ts"
21608
- }
21609
- }
21610
- ]
21611
- },
21612
- {
21613
- "kind": "javascript-module",
21614
- "path": "src/modal-theme/theme-compiler.ts",
21615
- "declarations": [
21616
- {
21617
- "kind": "function",
21618
- "name": "compileTheme",
21619
- "return": {
21620
- "type": {
21621
- "text": "string"
21622
- }
21623
- },
21624
- "parameters": [
21625
- {
21626
- "name": "theme",
21627
- "type": {
21628
- "text": "CompilableTheme"
21629
- },
21630
- "description": "the modal theme (shared + modes; customTokens + componentOverrides)."
21631
- },
21632
- {
21633
- "name": "{ host = HOST }",
21634
- "default": "{}",
21635
- "type": {
21636
- "text": "{ host?: string }"
21637
- }
21638
- },
21639
- {
21640
- "description": "the selector the rules nest under (default `rapid-design-system-provider`).",
21641
- "name": "host"
21642
- }
21643
- ],
21644
- "description": "Compile a modal theme into class-scoped nested CSS.",
21645
- "privacy": "public"
21646
- }
21647
- ],
21648
- "exports": [
21649
- {
21650
- "kind": "js",
21651
- "name": "compileTheme",
21652
- "declaration": {
21653
- "name": "compileTheme",
21654
- "module": "src/modal-theme/theme-compiler.ts"
21655
- }
21656
- }
21657
- ]
21658
- },
21659
- {
21660
- "kind": "javascript-module",
21661
- "path": "src/modal/index.ts",
21662
- "declarations": [],
21663
- "exports": [
21664
- {
21665
- "kind": "js",
21666
- "name": "*",
21667
- "declaration": {
21668
- "name": "*",
21669
- "package": "./modal"
21670
- }
21671
- },
21672
- {
21673
- "kind": "js",
21674
- "name": "*",
21675
- "declaration": {
21676
- "name": "*",
21677
- "package": "./modal.styles"
21678
- }
21679
- }
21680
- ]
21681
- },
21682
- {
21683
- "kind": "javascript-module",
21684
- "path": "src/modal/modal.styles.ts",
21685
- "declarations": [
21686
- {
21687
- "kind": "variable",
21688
- "name": "rapidModalStyles",
21689
- "default": "css`\n ${rapidDialogStyles}\n`"
21690
- }
21691
- ],
21692
- "exports": [
21396
+ "kind": "variable",
21397
+ "name": "rapidModalStyles",
21398
+ "default": "css`\n ${rapidDialogStyles}\n`"
21399
+ }
21400
+ ],
21401
+ "exports": [
21693
21402
  {
21694
21403
  "kind": "js",
21695
21404
  "name": "rapidModalStyles",
@@ -22719,164 +22428,455 @@
22719
22428
  }
22720
22429
  },
22721
22430
  {
22722
- "kind": "field",
22723
- "name": "_presentation",
22431
+ "kind": "field",
22432
+ "name": "_presentation",
22433
+ "type": {
22434
+ "text": "ComponentPresentation | null | undefined"
22435
+ },
22436
+ "privacy": "private",
22437
+ "default": "void 0",
22438
+ "inheritedFrom": {
22439
+ "name": "FoundationElement",
22440
+ "module": "src/foundation-element/foundation-element.ts"
22441
+ }
22442
+ },
22443
+ {
22444
+ "kind": "field",
22445
+ "name": "$presentation",
22446
+ "type": {
22447
+ "text": "ComponentPresentation | null"
22448
+ },
22449
+ "privacy": "public",
22450
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
22451
+ "inheritedFrom": {
22452
+ "name": "FoundationElement",
22453
+ "module": "src/foundation-element/foundation-element.ts"
22454
+ }
22455
+ },
22456
+ {
22457
+ "kind": "field",
22458
+ "name": "template",
22459
+ "type": {
22460
+ "text": "ElementViewTemplate | void | null"
22461
+ },
22462
+ "privacy": "public",
22463
+ "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.",
22464
+ "inheritedFrom": {
22465
+ "name": "FoundationElement",
22466
+ "module": "src/foundation-element/foundation-element.ts"
22467
+ }
22468
+ },
22469
+ {
22470
+ "kind": "method",
22471
+ "name": "templateChanged",
22472
+ "privacy": "protected",
22473
+ "return": {
22474
+ "type": {
22475
+ "text": "void"
22476
+ }
22477
+ },
22478
+ "inheritedFrom": {
22479
+ "name": "FoundationElement",
22480
+ "module": "src/foundation-element/foundation-element.ts"
22481
+ }
22482
+ },
22483
+ {
22484
+ "kind": "field",
22485
+ "name": "styles",
22486
+ "type": {
22487
+ "text": "ElementStyles | void | null"
22488
+ },
22489
+ "privacy": "public",
22490
+ "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.",
22491
+ "inheritedFrom": {
22492
+ "name": "FoundationElement",
22493
+ "module": "src/foundation-element/foundation-element.ts"
22494
+ }
22495
+ },
22496
+ {
22497
+ "kind": "method",
22498
+ "name": "stylesChanged",
22499
+ "privacy": "protected",
22500
+ "return": {
22501
+ "type": {
22502
+ "text": "void"
22503
+ }
22504
+ },
22505
+ "inheritedFrom": {
22506
+ "name": "FoundationElement",
22507
+ "module": "src/foundation-element/foundation-element.ts"
22508
+ }
22509
+ },
22510
+ {
22511
+ "kind": "method",
22512
+ "name": "compose",
22513
+ "privacy": "public",
22514
+ "static": true,
22515
+ "return": {
22516
+ "type": {
22517
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
22518
+ }
22519
+ },
22520
+ "parameters": [
22521
+ {
22522
+ "name": "this",
22523
+ "type": {
22524
+ "text": "K"
22525
+ }
22526
+ },
22527
+ {
22528
+ "name": "elementDefinition",
22529
+ "type": {
22530
+ "text": "T"
22531
+ },
22532
+ "description": "The definition of the element to create the registry\nfunction for."
22533
+ }
22534
+ ],
22535
+ "description": "Defines an element registry function with a set of element definition defaults.",
22536
+ "inheritedFrom": {
22537
+ "name": "FoundationElement",
22538
+ "module": "src/foundation-element/foundation-element.ts"
22539
+ }
22540
+ }
22541
+ ]
22542
+ },
22543
+ {
22544
+ "kind": "variable",
22545
+ "name": "rapidModal",
22546
+ "description": "The Rapid Modal",
22547
+ "privacy": "public"
22548
+ }
22549
+ ],
22550
+ "exports": [
22551
+ {
22552
+ "kind": "js",
22553
+ "name": "defaultModalConfig",
22554
+ "declaration": {
22555
+ "name": "defaultModalConfig",
22556
+ "module": "src/modal/modal.ts"
22557
+ }
22558
+ },
22559
+ {
22560
+ "kind": "js",
22561
+ "name": "rapidModalTemplate",
22562
+ "declaration": {
22563
+ "name": "rapidModalTemplate",
22564
+ "module": "src/modal/modal.ts"
22565
+ }
22566
+ },
22567
+ {
22568
+ "kind": "js",
22569
+ "name": "rapidModalShadowOptions",
22570
+ "declaration": {
22571
+ "name": "rapidModalShadowOptions",
22572
+ "module": "src/modal/modal.ts"
22573
+ }
22574
+ },
22575
+ {
22576
+ "kind": "js",
22577
+ "name": "Modal",
22578
+ "declaration": {
22579
+ "name": "Modal",
22580
+ "module": "src/modal/modal.ts"
22581
+ }
22582
+ },
22583
+ {
22584
+ "kind": "js",
22585
+ "name": "rapidModal",
22586
+ "declaration": {
22587
+ "name": "rapidModal",
22588
+ "module": "src/modal/modal.ts"
22589
+ }
22590
+ }
22591
+ ]
22592
+ },
22593
+ {
22594
+ "kind": "javascript-module",
22595
+ "path": "src/modal-theme/index.ts",
22596
+ "declarations": [],
22597
+ "exports": [
22598
+ {
22599
+ "kind": "js",
22600
+ "name": "*",
22601
+ "declaration": {
22602
+ "name": "*",
22603
+ "package": "./theme-compiler"
22604
+ }
22605
+ },
22606
+ {
22607
+ "kind": "js",
22608
+ "name": "*",
22609
+ "declaration": {
22610
+ "name": "*",
22611
+ "package": "./modal-theme"
22612
+ }
22613
+ }
22614
+ ]
22615
+ },
22616
+ {
22617
+ "kind": "javascript-module",
22618
+ "path": "src/modal-theme/modal-theme.ts",
22619
+ "declarations": [
22620
+ {
22621
+ "kind": "function",
22622
+ "name": "toModalTheme",
22623
+ "return": {
22624
+ "type": {
22625
+ "text": "ModalTheme"
22626
+ }
22627
+ },
22628
+ "parameters": [
22629
+ {
22630
+ "name": "json",
22631
+ "type": {
22632
+ "text": "unknown"
22633
+ }
22634
+ }
22635
+ ],
22636
+ "description": "Narrow a theme loaded from JSON (or any untyped value) to a ModalTheme,\nchecking the structure a theme cannot function without. Prefer this over casting\nthe JSON module: a malformed theme fails loudly here instead of silently\nrendering unthemed.",
22637
+ "privacy": "public"
22638
+ },
22639
+ {
22640
+ "kind": "function",
22641
+ "name": "resolveInitialMode",
22642
+ "return": {
22643
+ "type": {
22644
+ "text": "string"
22645
+ }
22646
+ },
22647
+ "parameters": [
22648
+ {
22649
+ "name": "theme",
22650
+ "type": {
22651
+ "text": "ModalTheme"
22652
+ }
22653
+ }
22654
+ ],
22655
+ "description": "The mode to start on: remembered choice for this theme, else the declared default.",
22656
+ "privacy": "public"
22657
+ },
22658
+ {
22659
+ "kind": "function",
22660
+ "name": "nextMode",
22661
+ "return": {
22662
+ "type": {
22663
+ "text": "string"
22664
+ }
22665
+ },
22666
+ "parameters": [
22667
+ {
22668
+ "name": "theme",
22669
+ "type": {
22670
+ "text": "ModalTheme"
22671
+ }
22672
+ },
22673
+ {
22674
+ "name": "current",
22675
+ "type": {
22676
+ "text": "string"
22677
+ }
22678
+ }
22679
+ ],
22680
+ "description": "Cycle to the next mode (for the light/dark toggle; generalises to N modes).",
22681
+ "privacy": "public"
22682
+ },
22683
+ {
22684
+ "kind": "function",
22685
+ "name": "isModeToggleEnabled",
22686
+ "return": {
22687
+ "type": {
22688
+ "text": "boolean"
22689
+ }
22690
+ },
22691
+ "parameters": [
22692
+ {
22693
+ "name": "theme",
22724
22694
  "type": {
22725
- "text": "ComponentPresentation | null | undefined"
22726
- },
22727
- "privacy": "private",
22728
- "default": "void 0",
22729
- "inheritedFrom": {
22730
- "name": "FoundationElement",
22731
- "module": "src/foundation-element/foundation-element.ts"
22695
+ "text": "ModalTheme"
22732
22696
  }
22733
- },
22697
+ }
22698
+ ],
22699
+ "description": "Whether the app should offer a mode toggle. Defaults to \"more than one mode exists\";\na `showModeToggle` on the theme overrides the inference. Use to set the header's\ntoggle-button visibility.",
22700
+ "privacy": "public"
22701
+ },
22702
+ {
22703
+ "kind": "function",
22704
+ "name": "injectThemeStyles",
22705
+ "return": {
22706
+ "type": {
22707
+ "text": "void"
22708
+ }
22709
+ },
22710
+ "parameters": [
22734
22711
  {
22735
- "kind": "field",
22736
- "name": "$presentation",
22712
+ "name": "provider",
22737
22713
  "type": {
22738
- "text": "ComponentPresentation | null"
22739
- },
22740
- "privacy": "public",
22741
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
22742
- "inheritedFrom": {
22743
- "name": "FoundationElement",
22744
- "module": "src/foundation-element/foundation-element.ts"
22714
+ "text": "HTMLElement"
22745
22715
  }
22746
22716
  },
22747
22717
  {
22748
- "kind": "field",
22749
- "name": "template",
22718
+ "name": "theme",
22750
22719
  "type": {
22751
- "text": "ElementViewTemplate | void | null"
22752
- },
22753
- "privacy": "public",
22754
- "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.",
22755
- "inheritedFrom": {
22756
- "name": "FoundationElement",
22757
- "module": "src/foundation-element/foundation-element.ts"
22720
+ "text": "ModalTheme"
22758
22721
  }
22759
- },
22722
+ }
22723
+ ],
22724
+ "description": "Compile the theme to a single mode-agnostic sheet and adopt it into the scope\nthat actually contains the provider. The sheet contains every mode; switching\nnever regenerates it.\n\nThe provider is typically rendered inside its host app's shadow root, not the\ndocument light DOM — so a document-scoped `rapid-design-system-provider { … }`\nrule would never match it. We adopt the sheet onto `provider.getRootNode()` (the\ncontaining ShadowRoot, or Document if the provider sits at document scope) so the\nselector resolves and the surface custom properties land on the provider,\ninheriting down through every nested shadow boundary.\n\nRe-entrant per root: the first call for a root adopts a new sheet; later calls\nfor the same root update it in place (`replaceSync`) rather than adopting a\nduplicate — this is what lets a hot theme edit refresh styles without a reload.\nProviders sharing one root share its sheet (the compiled CSS targets the provider\ntag), so themes applied to the same root contend — give concurrently-themed\nproviders their own shadow roots.",
22725
+ "privacy": "public"
22726
+ },
22727
+ {
22728
+ "kind": "function",
22729
+ "name": "reapplyTheme",
22730
+ "return": {
22731
+ "type": {
22732
+ "text": "void"
22733
+ }
22734
+ },
22735
+ "parameters": [
22760
22736
  {
22761
- "kind": "method",
22762
- "name": "templateChanged",
22763
- "privacy": "protected",
22764
- "return": {
22765
- "type": {
22766
- "text": "void"
22767
- }
22768
- },
22769
- "inheritedFrom": {
22770
- "name": "FoundationElement",
22771
- "module": "src/foundation-element/foundation-element.ts"
22737
+ "name": "theme",
22738
+ "type": {
22739
+ "text": "ModalTheme"
22772
22740
  }
22773
- },
22741
+ }
22742
+ ],
22743
+ "description": "Recompile and re-apply the theme after a hot edit to the theme file: updates the\nadopted sheet in place and re-runs the active mode's design tokens on the most\nrecently applied provider (falling back to the theme's initial mode if the edit\nremoved the active one). Wire to a bundler's HMR hook so theme edits show without\na full page reload.",
22744
+ "privacy": "public"
22745
+ },
22746
+ {
22747
+ "kind": "function",
22748
+ "name": "applyMode",
22749
+ "return": {
22750
+ "type": {
22751
+ "text": "void"
22752
+ }
22753
+ },
22754
+ "parameters": [
22774
22755
  {
22775
- "kind": "field",
22776
- "name": "styles",
22756
+ "name": "provider",
22777
22757
  "type": {
22778
- "text": "ElementStyles | void | null"
22779
- },
22780
- "privacy": "public",
22781
- "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.",
22782
- "inheritedFrom": {
22783
- "name": "FoundationElement",
22784
- "module": "src/foundation-element/foundation-element.ts"
22758
+ "text": "HTMLElement"
22785
22759
  }
22786
22760
  },
22787
22761
  {
22788
- "kind": "method",
22789
- "name": "stylesChanged",
22790
- "privacy": "protected",
22791
- "return": {
22792
- "type": {
22793
- "text": "void"
22794
- }
22795
- },
22796
- "inheritedFrom": {
22797
- "name": "FoundationElement",
22798
- "module": "src/foundation-element/foundation-element.ts"
22762
+ "name": "theme",
22763
+ "type": {
22764
+ "text": "ModalTheme"
22799
22765
  }
22800
22766
  },
22801
22767
  {
22802
- "kind": "method",
22803
- "name": "compose",
22804
- "privacy": "public",
22805
- "static": true,
22806
- "return": {
22807
- "type": {
22808
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
22809
- }
22810
- },
22811
- "parameters": [
22812
- {
22813
- "name": "this",
22814
- "type": {
22815
- "text": "K"
22816
- }
22817
- },
22818
- {
22819
- "name": "elementDefinition",
22820
- "type": {
22821
- "text": "T"
22822
- },
22823
- "description": "The definition of the element to create the registry\nfunction for."
22824
- }
22825
- ],
22826
- "description": "Defines an element registry function with a set of element definition defaults.",
22827
- "inheritedFrom": {
22828
- "name": "FoundationElement",
22829
- "module": "src/foundation-element/foundation-element.ts"
22768
+ "name": "mode",
22769
+ "type": {
22770
+ "text": "string"
22830
22771
  }
22831
22772
  }
22832
- ]
22833
- },
22834
- {
22835
- "kind": "variable",
22836
- "name": "rapidModal",
22837
- "description": "The Rapid Modal",
22773
+ ],
22774
+ "description": "Apply a mode: design-token half via FAST, surface/parts half via the class swap.",
22838
22775
  "privacy": "public"
22839
22776
  }
22840
22777
  ],
22841
22778
  "exports": [
22842
22779
  {
22843
22780
  "kind": "js",
22844
- "name": "defaultModalConfig",
22781
+ "name": "toModalTheme",
22845
22782
  "declaration": {
22846
- "name": "defaultModalConfig",
22847
- "module": "src/modal/modal.ts"
22783
+ "name": "toModalTheme",
22784
+ "module": "src/modal-theme/modal-theme.ts"
22848
22785
  }
22849
22786
  },
22850
22787
  {
22851
22788
  "kind": "js",
22852
- "name": "rapidModalTemplate",
22789
+ "name": "resolveInitialMode",
22853
22790
  "declaration": {
22854
- "name": "rapidModalTemplate",
22855
- "module": "src/modal/modal.ts"
22791
+ "name": "resolveInitialMode",
22792
+ "module": "src/modal-theme/modal-theme.ts"
22856
22793
  }
22857
22794
  },
22858
22795
  {
22859
22796
  "kind": "js",
22860
- "name": "rapidModalShadowOptions",
22797
+ "name": "nextMode",
22861
22798
  "declaration": {
22862
- "name": "rapidModalShadowOptions",
22863
- "module": "src/modal/modal.ts"
22799
+ "name": "nextMode",
22800
+ "module": "src/modal-theme/modal-theme.ts"
22864
22801
  }
22865
22802
  },
22866
22803
  {
22867
22804
  "kind": "js",
22868
- "name": "Modal",
22805
+ "name": "isModeToggleEnabled",
22869
22806
  "declaration": {
22870
- "name": "Modal",
22871
- "module": "src/modal/modal.ts"
22807
+ "name": "isModeToggleEnabled",
22808
+ "module": "src/modal-theme/modal-theme.ts"
22872
22809
  }
22873
22810
  },
22874
22811
  {
22875
22812
  "kind": "js",
22876
- "name": "rapidModal",
22813
+ "name": "injectThemeStyles",
22877
22814
  "declaration": {
22878
- "name": "rapidModal",
22879
- "module": "src/modal/modal.ts"
22815
+ "name": "injectThemeStyles",
22816
+ "module": "src/modal-theme/modal-theme.ts"
22817
+ }
22818
+ },
22819
+ {
22820
+ "kind": "js",
22821
+ "name": "reapplyTheme",
22822
+ "declaration": {
22823
+ "name": "reapplyTheme",
22824
+ "module": "src/modal-theme/modal-theme.ts"
22825
+ }
22826
+ },
22827
+ {
22828
+ "kind": "js",
22829
+ "name": "applyMode",
22830
+ "declaration": {
22831
+ "name": "applyMode",
22832
+ "module": "src/modal-theme/modal-theme.ts"
22833
+ }
22834
+ }
22835
+ ]
22836
+ },
22837
+ {
22838
+ "kind": "javascript-module",
22839
+ "path": "src/modal-theme/theme-compiler.ts",
22840
+ "declarations": [
22841
+ {
22842
+ "kind": "function",
22843
+ "name": "compileTheme",
22844
+ "return": {
22845
+ "type": {
22846
+ "text": "string"
22847
+ }
22848
+ },
22849
+ "parameters": [
22850
+ {
22851
+ "name": "theme",
22852
+ "type": {
22853
+ "text": "CompilableTheme"
22854
+ },
22855
+ "description": "the modal theme (shared + modes; customTokens + componentOverrides)."
22856
+ },
22857
+ {
22858
+ "name": "{ host = HOST }",
22859
+ "default": "{}",
22860
+ "type": {
22861
+ "text": "{ host?: string }"
22862
+ }
22863
+ },
22864
+ {
22865
+ "description": "the selector the rules nest under (default `rapid-design-system-provider`).",
22866
+ "name": "host"
22867
+ }
22868
+ ],
22869
+ "description": "Compile a modal theme into class-scoped nested CSS.",
22870
+ "privacy": "public"
22871
+ }
22872
+ ],
22873
+ "exports": [
22874
+ {
22875
+ "kind": "js",
22876
+ "name": "compileTheme",
22877
+ "declaration": {
22878
+ "name": "compileTheme",
22879
+ "module": "src/modal-theme/theme-compiler.ts"
22880
22880
  }
22881
22881
  }
22882
22882
  ]