@genesislcap/foundation-ui 14.336.0 → 14.336.2-alpha-7eb86ca.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.
- package/dist/custom-elements.json +847 -214
- package/dist/dts/base-components.d.ts +11 -0
- package/dist/dts/base-components.d.ts.map +1 -1
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/section-navigator/index.d.ts +4 -0
- package/dist/dts/section-navigator/index.d.ts.map +1 -0
- package/dist/dts/section-navigator/section-navigator.d.ts +120 -0
- package/dist/dts/section-navigator/section-navigator.d.ts.map +1 -0
- package/dist/dts/section-navigator/section-navigator.styles.d.ts +3 -0
- package/dist/dts/section-navigator/section-navigator.styles.d.ts.map +1 -0
- package/dist/dts/section-navigator/section-navigator.template.d.ts +4 -0
- package/dist/dts/section-navigator/section-navigator.template.d.ts.map +1 -0
- package/dist/esm/base-components.js +2 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/section-navigator/index.js +3 -0
- package/dist/esm/section-navigator/section-navigator.js +289 -0
- package/dist/esm/section-navigator/section-navigator.styles.js +179 -0
- package/dist/esm/section-navigator/section-navigator.template.js +37 -0
- package/package.json +18 -18
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"type": {
|
|
13
13
|
"text": "object"
|
|
14
14
|
},
|
|
15
|
-
"default": "{\n foundationAccordion,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumb,\n foundationBreadcrumbItem,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBanner,\n foundationErrorBoundary,\n foundationErrorDialog,\n foundationFileReader,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationPopper,\n foundationProgress,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationScheduler,\n foundationSchedulerCronBuilder,\n foundationSchedulerTimezone,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStackingIcons,\n foundationStatusPill,\n foundationEnvironmentIndicator,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationSystemHealthOverlay,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
|
|
15
|
+
"default": "{\n foundationAccordion,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumb,\n foundationBreadcrumbItem,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBanner,\n foundationErrorBoundary,\n foundationErrorDialog,\n foundationFileReader,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationPopper,\n foundationProgress,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationScheduler,\n foundationSchedulerCronBuilder,\n foundationSchedulerTimezone,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStackingIcons,\n foundationStatusPill,\n foundationEnvironmentIndicator,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationSystemHealthOverlay,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n foundationSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"exports": [
|
|
@@ -604,6 +604,14 @@
|
|
|
604
604
|
"package": "./search-bar"
|
|
605
605
|
}
|
|
606
606
|
},
|
|
607
|
+
{
|
|
608
|
+
"kind": "js",
|
|
609
|
+
"name": "*",
|
|
610
|
+
"declaration": {
|
|
611
|
+
"name": "*",
|
|
612
|
+
"package": "./section-navigator"
|
|
613
|
+
}
|
|
614
|
+
},
|
|
607
615
|
{
|
|
608
616
|
"kind": "js",
|
|
609
617
|
"name": "*",
|
|
@@ -1255,37 +1263,6 @@
|
|
|
1255
1263
|
}
|
|
1256
1264
|
]
|
|
1257
1265
|
},
|
|
1258
|
-
{
|
|
1259
|
-
"kind": "javascript-module",
|
|
1260
|
-
"path": "src/_config/index.ts",
|
|
1261
|
-
"declarations": [],
|
|
1262
|
-
"exports": [
|
|
1263
|
-
{
|
|
1264
|
-
"kind": "js",
|
|
1265
|
-
"name": "*",
|
|
1266
|
-
"declaration": {
|
|
1267
|
-
"name": "*",
|
|
1268
|
-
"package": "./styles"
|
|
1269
|
-
}
|
|
1270
|
-
},
|
|
1271
|
-
{
|
|
1272
|
-
"kind": "js",
|
|
1273
|
-
"name": "*",
|
|
1274
|
-
"declaration": {
|
|
1275
|
-
"name": "*",
|
|
1276
|
-
"package": "./tokens"
|
|
1277
|
-
}
|
|
1278
|
-
},
|
|
1279
|
-
{
|
|
1280
|
-
"kind": "js",
|
|
1281
|
-
"name": "*",
|
|
1282
|
-
"declaration": {
|
|
1283
|
-
"name": "*",
|
|
1284
|
-
"package": "./values"
|
|
1285
|
-
}
|
|
1286
|
-
}
|
|
1287
|
-
]
|
|
1288
|
-
},
|
|
1289
1266
|
{
|
|
1290
1267
|
"kind": "javascript-module",
|
|
1291
1268
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1680,6 +1657,37 @@
|
|
|
1680
1657
|
}
|
|
1681
1658
|
]
|
|
1682
1659
|
},
|
|
1660
|
+
{
|
|
1661
|
+
"kind": "javascript-module",
|
|
1662
|
+
"path": "src/_config/index.ts",
|
|
1663
|
+
"declarations": [],
|
|
1664
|
+
"exports": [
|
|
1665
|
+
{
|
|
1666
|
+
"kind": "js",
|
|
1667
|
+
"name": "*",
|
|
1668
|
+
"declaration": {
|
|
1669
|
+
"name": "*",
|
|
1670
|
+
"package": "./styles"
|
|
1671
|
+
}
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
"kind": "js",
|
|
1675
|
+
"name": "*",
|
|
1676
|
+
"declaration": {
|
|
1677
|
+
"name": "*",
|
|
1678
|
+
"package": "./tokens"
|
|
1679
|
+
}
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
"kind": "js",
|
|
1683
|
+
"name": "*",
|
|
1684
|
+
"declaration": {
|
|
1685
|
+
"name": "*",
|
|
1686
|
+
"package": "./values"
|
|
1687
|
+
}
|
|
1688
|
+
}
|
|
1689
|
+
]
|
|
1690
|
+
},
|
|
1683
1691
|
{
|
|
1684
1692
|
"kind": "javascript-module",
|
|
1685
1693
|
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
@@ -2239,6 +2247,188 @@
|
|
|
2239
2247
|
}
|
|
2240
2248
|
]
|
|
2241
2249
|
},
|
|
2250
|
+
{
|
|
2251
|
+
"kind": "javascript-module",
|
|
2252
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2253
|
+
"declarations": [
|
|
2254
|
+
{
|
|
2255
|
+
"kind": "function",
|
|
2256
|
+
"name": "foundationAccordionStyles",
|
|
2257
|
+
"return": {
|
|
2258
|
+
"type": {
|
|
2259
|
+
"text": "ElementStyles"
|
|
2260
|
+
}
|
|
2261
|
+
},
|
|
2262
|
+
"parameters": [
|
|
2263
|
+
{
|
|
2264
|
+
"name": "context",
|
|
2265
|
+
"type": {
|
|
2266
|
+
"text": "ElementDefinitionContext"
|
|
2267
|
+
}
|
|
2268
|
+
},
|
|
2269
|
+
{
|
|
2270
|
+
"name": "definition",
|
|
2271
|
+
"type": {
|
|
2272
|
+
"text": "FoundationElementDefinition"
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
2275
|
+
]
|
|
2276
|
+
}
|
|
2277
|
+
],
|
|
2278
|
+
"exports": [
|
|
2279
|
+
{
|
|
2280
|
+
"kind": "js",
|
|
2281
|
+
"name": "foundationAccordionStyles",
|
|
2282
|
+
"declaration": {
|
|
2283
|
+
"name": "foundationAccordionStyles",
|
|
2284
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2287
|
+
]
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
"kind": "javascript-module",
|
|
2291
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2292
|
+
"declarations": [
|
|
2293
|
+
{
|
|
2294
|
+
"kind": "function",
|
|
2295
|
+
"name": "foundationAccordionTemplate",
|
|
2296
|
+
"return": {
|
|
2297
|
+
"type": {
|
|
2298
|
+
"text": "ViewTemplate<Accordion>"
|
|
2299
|
+
}
|
|
2300
|
+
},
|
|
2301
|
+
"parameters": [
|
|
2302
|
+
{
|
|
2303
|
+
"name": "context",
|
|
2304
|
+
"type": {
|
|
2305
|
+
"text": "ElementDefinitionContext"
|
|
2306
|
+
}
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
"name": "definition",
|
|
2310
|
+
"type": {
|
|
2311
|
+
"text": "FoundationElementDefinition"
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2314
|
+
]
|
|
2315
|
+
}
|
|
2316
|
+
],
|
|
2317
|
+
"exports": [
|
|
2318
|
+
{
|
|
2319
|
+
"kind": "js",
|
|
2320
|
+
"name": "foundationAccordionTemplate",
|
|
2321
|
+
"declaration": {
|
|
2322
|
+
"name": "foundationAccordionTemplate",
|
|
2323
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2324
|
+
}
|
|
2325
|
+
}
|
|
2326
|
+
]
|
|
2327
|
+
},
|
|
2328
|
+
{
|
|
2329
|
+
"kind": "javascript-module",
|
|
2330
|
+
"path": "src/accordion/accordion.ts",
|
|
2331
|
+
"declarations": [
|
|
2332
|
+
{
|
|
2333
|
+
"kind": "class",
|
|
2334
|
+
"description": "",
|
|
2335
|
+
"name": "Accordion",
|
|
2336
|
+
"superclass": {
|
|
2337
|
+
"name": "FASTAccordion",
|
|
2338
|
+
"package": "@microsoft/fast-foundation"
|
|
2339
|
+
},
|
|
2340
|
+
"tagName": "%%prefix%%-accordion",
|
|
2341
|
+
"customElement": true
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
"kind": "variable",
|
|
2345
|
+
"name": "foundationAccordionShadowOptions",
|
|
2346
|
+
"type": {
|
|
2347
|
+
"text": "ShadowRootInit"
|
|
2348
|
+
},
|
|
2349
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2350
|
+
},
|
|
2351
|
+
{
|
|
2352
|
+
"kind": "variable",
|
|
2353
|
+
"name": "defaultAccordionConfig",
|
|
2354
|
+
"type": {
|
|
2355
|
+
"text": "object"
|
|
2356
|
+
},
|
|
2357
|
+
"default": "{}"
|
|
2358
|
+
},
|
|
2359
|
+
{
|
|
2360
|
+
"kind": "variable",
|
|
2361
|
+
"name": "foundationAccordion",
|
|
2362
|
+
"description": "The Foundation Accordion",
|
|
2363
|
+
"privacy": "public"
|
|
2364
|
+
}
|
|
2365
|
+
],
|
|
2366
|
+
"exports": [
|
|
2367
|
+
{
|
|
2368
|
+
"kind": "js",
|
|
2369
|
+
"name": "Accordion",
|
|
2370
|
+
"declaration": {
|
|
2371
|
+
"name": "Accordion",
|
|
2372
|
+
"module": "src/accordion/accordion.ts"
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
{
|
|
2376
|
+
"kind": "js",
|
|
2377
|
+
"name": "foundationAccordionShadowOptions",
|
|
2378
|
+
"declaration": {
|
|
2379
|
+
"name": "foundationAccordionShadowOptions",
|
|
2380
|
+
"module": "src/accordion/accordion.ts"
|
|
2381
|
+
}
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
"kind": "js",
|
|
2385
|
+
"name": "defaultAccordionConfig",
|
|
2386
|
+
"declaration": {
|
|
2387
|
+
"name": "defaultAccordionConfig",
|
|
2388
|
+
"module": "src/accordion/accordion.ts"
|
|
2389
|
+
}
|
|
2390
|
+
},
|
|
2391
|
+
{
|
|
2392
|
+
"kind": "js",
|
|
2393
|
+
"name": "foundationAccordion",
|
|
2394
|
+
"declaration": {
|
|
2395
|
+
"name": "foundationAccordion",
|
|
2396
|
+
"module": "src/accordion/accordion.ts"
|
|
2397
|
+
}
|
|
2398
|
+
}
|
|
2399
|
+
]
|
|
2400
|
+
},
|
|
2401
|
+
{
|
|
2402
|
+
"kind": "javascript-module",
|
|
2403
|
+
"path": "src/accordion/index.ts",
|
|
2404
|
+
"declarations": [],
|
|
2405
|
+
"exports": [
|
|
2406
|
+
{
|
|
2407
|
+
"kind": "js",
|
|
2408
|
+
"name": "*",
|
|
2409
|
+
"declaration": {
|
|
2410
|
+
"name": "*",
|
|
2411
|
+
"package": "./accordion.template"
|
|
2412
|
+
}
|
|
2413
|
+
},
|
|
2414
|
+
{
|
|
2415
|
+
"kind": "js",
|
|
2416
|
+
"name": "*",
|
|
2417
|
+
"declaration": {
|
|
2418
|
+
"name": "*",
|
|
2419
|
+
"package": "./accordion.styles"
|
|
2420
|
+
}
|
|
2421
|
+
},
|
|
2422
|
+
{
|
|
2423
|
+
"kind": "js",
|
|
2424
|
+
"name": "*",
|
|
2425
|
+
"declaration": {
|
|
2426
|
+
"name": "*",
|
|
2427
|
+
"package": "./accordion"
|
|
2428
|
+
}
|
|
2429
|
+
}
|
|
2430
|
+
]
|
|
2431
|
+
},
|
|
2242
2432
|
{
|
|
2243
2433
|
"kind": "javascript-module",
|
|
2244
2434
|
"path": "src/anchor/anchor.styles.ts",
|
|
@@ -4349,188 +4539,6 @@
|
|
|
4349
4539
|
}
|
|
4350
4540
|
]
|
|
4351
4541
|
},
|
|
4352
|
-
{
|
|
4353
|
-
"kind": "javascript-module",
|
|
4354
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
4355
|
-
"declarations": [
|
|
4356
|
-
{
|
|
4357
|
-
"kind": "function",
|
|
4358
|
-
"name": "foundationAccordionStyles",
|
|
4359
|
-
"return": {
|
|
4360
|
-
"type": {
|
|
4361
|
-
"text": "ElementStyles"
|
|
4362
|
-
}
|
|
4363
|
-
},
|
|
4364
|
-
"parameters": [
|
|
4365
|
-
{
|
|
4366
|
-
"name": "context",
|
|
4367
|
-
"type": {
|
|
4368
|
-
"text": "ElementDefinitionContext"
|
|
4369
|
-
}
|
|
4370
|
-
},
|
|
4371
|
-
{
|
|
4372
|
-
"name": "definition",
|
|
4373
|
-
"type": {
|
|
4374
|
-
"text": "FoundationElementDefinition"
|
|
4375
|
-
}
|
|
4376
|
-
}
|
|
4377
|
-
]
|
|
4378
|
-
}
|
|
4379
|
-
],
|
|
4380
|
-
"exports": [
|
|
4381
|
-
{
|
|
4382
|
-
"kind": "js",
|
|
4383
|
-
"name": "foundationAccordionStyles",
|
|
4384
|
-
"declaration": {
|
|
4385
|
-
"name": "foundationAccordionStyles",
|
|
4386
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
4387
|
-
}
|
|
4388
|
-
}
|
|
4389
|
-
]
|
|
4390
|
-
},
|
|
4391
|
-
{
|
|
4392
|
-
"kind": "javascript-module",
|
|
4393
|
-
"path": "src/accordion/accordion.template.ts",
|
|
4394
|
-
"declarations": [
|
|
4395
|
-
{
|
|
4396
|
-
"kind": "function",
|
|
4397
|
-
"name": "foundationAccordionTemplate",
|
|
4398
|
-
"return": {
|
|
4399
|
-
"type": {
|
|
4400
|
-
"text": "ViewTemplate<Accordion>"
|
|
4401
|
-
}
|
|
4402
|
-
},
|
|
4403
|
-
"parameters": [
|
|
4404
|
-
{
|
|
4405
|
-
"name": "context",
|
|
4406
|
-
"type": {
|
|
4407
|
-
"text": "ElementDefinitionContext"
|
|
4408
|
-
}
|
|
4409
|
-
},
|
|
4410
|
-
{
|
|
4411
|
-
"name": "definition",
|
|
4412
|
-
"type": {
|
|
4413
|
-
"text": "FoundationElementDefinition"
|
|
4414
|
-
}
|
|
4415
|
-
}
|
|
4416
|
-
]
|
|
4417
|
-
}
|
|
4418
|
-
],
|
|
4419
|
-
"exports": [
|
|
4420
|
-
{
|
|
4421
|
-
"kind": "js",
|
|
4422
|
-
"name": "foundationAccordionTemplate",
|
|
4423
|
-
"declaration": {
|
|
4424
|
-
"name": "foundationAccordionTemplate",
|
|
4425
|
-
"module": "src/accordion/accordion.template.ts"
|
|
4426
|
-
}
|
|
4427
|
-
}
|
|
4428
|
-
]
|
|
4429
|
-
},
|
|
4430
|
-
{
|
|
4431
|
-
"kind": "javascript-module",
|
|
4432
|
-
"path": "src/accordion/accordion.ts",
|
|
4433
|
-
"declarations": [
|
|
4434
|
-
{
|
|
4435
|
-
"kind": "class",
|
|
4436
|
-
"description": "",
|
|
4437
|
-
"name": "Accordion",
|
|
4438
|
-
"superclass": {
|
|
4439
|
-
"name": "FASTAccordion",
|
|
4440
|
-
"package": "@microsoft/fast-foundation"
|
|
4441
|
-
},
|
|
4442
|
-
"tagName": "%%prefix%%-accordion",
|
|
4443
|
-
"customElement": true
|
|
4444
|
-
},
|
|
4445
|
-
{
|
|
4446
|
-
"kind": "variable",
|
|
4447
|
-
"name": "foundationAccordionShadowOptions",
|
|
4448
|
-
"type": {
|
|
4449
|
-
"text": "ShadowRootInit"
|
|
4450
|
-
},
|
|
4451
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
4452
|
-
},
|
|
4453
|
-
{
|
|
4454
|
-
"kind": "variable",
|
|
4455
|
-
"name": "defaultAccordionConfig",
|
|
4456
|
-
"type": {
|
|
4457
|
-
"text": "object"
|
|
4458
|
-
},
|
|
4459
|
-
"default": "{}"
|
|
4460
|
-
},
|
|
4461
|
-
{
|
|
4462
|
-
"kind": "variable",
|
|
4463
|
-
"name": "foundationAccordion",
|
|
4464
|
-
"description": "The Foundation Accordion",
|
|
4465
|
-
"privacy": "public"
|
|
4466
|
-
}
|
|
4467
|
-
],
|
|
4468
|
-
"exports": [
|
|
4469
|
-
{
|
|
4470
|
-
"kind": "js",
|
|
4471
|
-
"name": "Accordion",
|
|
4472
|
-
"declaration": {
|
|
4473
|
-
"name": "Accordion",
|
|
4474
|
-
"module": "src/accordion/accordion.ts"
|
|
4475
|
-
}
|
|
4476
|
-
},
|
|
4477
|
-
{
|
|
4478
|
-
"kind": "js",
|
|
4479
|
-
"name": "foundationAccordionShadowOptions",
|
|
4480
|
-
"declaration": {
|
|
4481
|
-
"name": "foundationAccordionShadowOptions",
|
|
4482
|
-
"module": "src/accordion/accordion.ts"
|
|
4483
|
-
}
|
|
4484
|
-
},
|
|
4485
|
-
{
|
|
4486
|
-
"kind": "js",
|
|
4487
|
-
"name": "defaultAccordionConfig",
|
|
4488
|
-
"declaration": {
|
|
4489
|
-
"name": "defaultAccordionConfig",
|
|
4490
|
-
"module": "src/accordion/accordion.ts"
|
|
4491
|
-
}
|
|
4492
|
-
},
|
|
4493
|
-
{
|
|
4494
|
-
"kind": "js",
|
|
4495
|
-
"name": "foundationAccordion",
|
|
4496
|
-
"declaration": {
|
|
4497
|
-
"name": "foundationAccordion",
|
|
4498
|
-
"module": "src/accordion/accordion.ts"
|
|
4499
|
-
}
|
|
4500
|
-
}
|
|
4501
|
-
]
|
|
4502
|
-
},
|
|
4503
|
-
{
|
|
4504
|
-
"kind": "javascript-module",
|
|
4505
|
-
"path": "src/accordion/index.ts",
|
|
4506
|
-
"declarations": [],
|
|
4507
|
-
"exports": [
|
|
4508
|
-
{
|
|
4509
|
-
"kind": "js",
|
|
4510
|
-
"name": "*",
|
|
4511
|
-
"declaration": {
|
|
4512
|
-
"name": "*",
|
|
4513
|
-
"package": "./accordion.template"
|
|
4514
|
-
}
|
|
4515
|
-
},
|
|
4516
|
-
{
|
|
4517
|
-
"kind": "js",
|
|
4518
|
-
"name": "*",
|
|
4519
|
-
"declaration": {
|
|
4520
|
-
"name": "*",
|
|
4521
|
-
"package": "./accordion.styles"
|
|
4522
|
-
}
|
|
4523
|
-
},
|
|
4524
|
-
{
|
|
4525
|
-
"kind": "js",
|
|
4526
|
-
"name": "*",
|
|
4527
|
-
"declaration": {
|
|
4528
|
-
"name": "*",
|
|
4529
|
-
"package": "./accordion"
|
|
4530
|
-
}
|
|
4531
|
-
}
|
|
4532
|
-
]
|
|
4533
|
-
},
|
|
4534
4542
|
{
|
|
4535
4543
|
"kind": "javascript-module",
|
|
4536
4544
|
"path": "src/avatar/avatar.styles.ts",
|
|
@@ -37393,6 +37401,631 @@
|
|
|
37393
37401
|
}
|
|
37394
37402
|
]
|
|
37395
37403
|
},
|
|
37404
|
+
{
|
|
37405
|
+
"kind": "javascript-module",
|
|
37406
|
+
"path": "src/section-navigator/index.ts",
|
|
37407
|
+
"declarations": [],
|
|
37408
|
+
"exports": [
|
|
37409
|
+
{
|
|
37410
|
+
"kind": "js",
|
|
37411
|
+
"name": "*",
|
|
37412
|
+
"declaration": {
|
|
37413
|
+
"name": "*",
|
|
37414
|
+
"package": "./section-navigator"
|
|
37415
|
+
}
|
|
37416
|
+
},
|
|
37417
|
+
{
|
|
37418
|
+
"kind": "js",
|
|
37419
|
+
"name": "*",
|
|
37420
|
+
"declaration": {
|
|
37421
|
+
"name": "*",
|
|
37422
|
+
"package": "./section-navigator.styles"
|
|
37423
|
+
}
|
|
37424
|
+
},
|
|
37425
|
+
{
|
|
37426
|
+
"kind": "js",
|
|
37427
|
+
"name": "*",
|
|
37428
|
+
"declaration": {
|
|
37429
|
+
"name": "*",
|
|
37430
|
+
"package": "./section-navigator.template"
|
|
37431
|
+
}
|
|
37432
|
+
}
|
|
37433
|
+
]
|
|
37434
|
+
},
|
|
37435
|
+
{
|
|
37436
|
+
"kind": "javascript-module",
|
|
37437
|
+
"path": "src/section-navigator/section-navigator.styles.ts",
|
|
37438
|
+
"declarations": [
|
|
37439
|
+
{
|
|
37440
|
+
"kind": "variable",
|
|
37441
|
+
"name": "foundationSectionNavigatorStyles",
|
|
37442
|
+
"type": {
|
|
37443
|
+
"text": "ElementStyles"
|
|
37444
|
+
},
|
|
37445
|
+
"default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n min-height: 400px;\n }\n\n .section-navigator-container {\n display: flex;\n height: 100%;\n max-height: 100%;\n width: 100%;\n }\n\n .section-navigation {\n background-color: var(--neutral-layer-2);\n border-right: 1px solid var(--neutral-stroke-divider);\n overflow-y: auto;\n height: 100%;\n min-width: 20%;\n }\n\n .section-link {\n position: relative;\n display: block;\n width: 100%;\n color: var(--neutral-foreground-rest);\n text-decoration: none;\n border: none;\n background: none;\n text-align: left;\n transition: all 0.2s ease;\n cursor: pointer;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n line-height: 0;\n border-radius: 0;\n vertical-align: top;\n }\n\n .section-link.active:hover {\n color: var(--neutral-foreground-rest);\n }\n\n .section-link:hover {\n color: var(--accent-foreground-rest);\n }\n\n .section-link::part(control) {\n vertical-align: top;\n }\n\n .section-link::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 2px;\n height: 100%;\n background-color: transparent;\n transition: background-color 0.2s ease;\n z-index: 1;\n }\n\n .section-link:hover::before {\n background-color: var(--neutral-layer-hover);\n }\n\n .section-link.active::before {\n background-color: var(--accent-fill-rest);\n }\n\n .section-link::part(content) {\n padding: 0;\n }\n\n .section-content-wrapper {\n flex: 1;\n height: 100%;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n }\n\n .section-content {\n flex: 1;\n overflow-y: auto;\n overflow-x: hidden;\n padding: calc(var(--design-unit) * 4px);\n background-color: var(--neutral-layer-1);\n min-height: 0;\n }\n\n .section-content::-webkit-scrollbar {\n width: var(--scrollbar-width);\n }\n\n .section-content::-webkit-scrollbar-track {\n background: var(--neutral-layer-4);\n }\n\n .section-content::-webkit-scrollbar-thumb {\n width: var(--scrollbar-thumb-width); /* 8px */\n border-radius: 10px;\n box-shadow: inset 0 0 6px rgba(0 0 0 / 30%);\n background-color: var(--neutral-layer-2);\n border: 3px solid var(--neutral-layer-4);\n }\n\n .content-section {\n background-color: var(--neutral-layer-1);\n }\n\n .state-icon {\n margin-left: calc(var(--design-unit) * 1px);\n width: 12px;\n height: 12px;\n }\n\n .state-icon[data-state='active'] {\n color: var(--accent-fill-rest);\n }\n\n .state-icon[data-state='inactive'] {\n color: var(--neutral-foreground-rest);\n }\n\n .state-icon[data-state='pending'] {\n color: var(--warning-fill-rest);\n }\n\n .state-icon[data-state='disabled'] {\n color: var(--neutral-foreground-disabled);\n }\n\n .state-icon[data-state='error'] {\n color: var(--error-fill-rest);\n }\n\n .state-icon[data-state='completed'] {\n color: var(--success-fill-rest);\n }\n\n /* Section button state colors */\n .section-link.state-active {\n color: var(--accent-foreground-rest);\n }\n\n .section-link.state-inactive {\n color: var(--neutral-foreground-hint);\n }\n\n .section-link.state-pending {\n color: var(--warning-color);\n }\n\n .section-link.state-disabled {\n color: var(--neutral-foreground-disabled);\n }\n\n .section-link.state-error {\n color: var(--error-color);\n }\n\n .section-link.state-completed {\n color: var(--success-color);\n }\n\n .section-link.state-multiple {\n color: var(--accent-foreground-rest);\n }\n\n .section-link.state-none {\n color: var(--neutral-foreground-rest);\n }\n`"
|
|
37446
|
+
}
|
|
37447
|
+
],
|
|
37448
|
+
"exports": [
|
|
37449
|
+
{
|
|
37450
|
+
"kind": "js",
|
|
37451
|
+
"name": "foundationSectionNavigatorStyles",
|
|
37452
|
+
"declaration": {
|
|
37453
|
+
"name": "foundationSectionNavigatorStyles",
|
|
37454
|
+
"module": "src/section-navigator/section-navigator.styles.ts"
|
|
37455
|
+
}
|
|
37456
|
+
}
|
|
37457
|
+
]
|
|
37458
|
+
},
|
|
37459
|
+
{
|
|
37460
|
+
"kind": "javascript-module",
|
|
37461
|
+
"path": "src/section-navigator/section-navigator.template.ts",
|
|
37462
|
+
"declarations": [
|
|
37463
|
+
{
|
|
37464
|
+
"kind": "variable",
|
|
37465
|
+
"name": "foundationSectionNavigatorTemplate",
|
|
37466
|
+
"type": {
|
|
37467
|
+
"text": "ViewTemplate<SectionNavigator>"
|
|
37468
|
+
},
|
|
37469
|
+
"default": "html<SectionNavigator>`\n <template>\n <div class=\"section-navigator-container\" part=\"container\" ${ref('sectionNavigatorContainer')}>\n <nav class=\"section-navigation\" part=\"navigation\">\n ${repeat(\n (x) => x.sectionItems,\n html`\n <foundation-button\n class=\"section-link ${(x, c) =>\n c.parent.activeSection === x.name ? 'active' : ''} ${(x, c) =>\n c.parent.getSectionStateClass(x)}\"\n part=\"section-link ${(x, c) => c.parent.getSectionStateClass(x)}\"\n @click=\"${(x, c) => c.parent.handleSectionClick(x.name)}\"\n >\n ${(x) => x.label}\n ${repeat(\n (x, c) => x.states,\n html`\n <foundation-icon\n class=\"state-icon\"\n part=\"state-icon\"\n title=\"${(stateName, ctx: ExecutionContext<SectionNavigator>) =>\n ctx.parentContext.parent.getStateTooltip(stateName)}\"\n data-state=\"${(stateName) => stateName}\"\n name=\"${(stateName, ctx: ExecutionContext<SectionNavigator>) =>\n ctx.parentContext.parent.getStateIcon(stateName).name}\"\n variant=\"${(stateName, ctx: ExecutionContext<SectionNavigator>) =>\n ctx.parentContext.parent.getStateIcon(stateName).variant}\"\n ></foundation-icon>\n `,\n )}\n </foundation-button>\n `,\n )}\n </nav>\n <div class=\"section-content-wrapper\" part=\"content-wrapper\">\n <section class=\"section-content\" part=\"content\" ${ref('sectionContent')}>\n ${repeat(\n (x) => x.sectionItems,\n html`\n <div class=\"content-section\" part=\"content-section\" data-section=\"${(x) => x.name}\">\n <slot name=\"${(x) => x.name}\"></slot>\n </div>\n `,\n )}\n </section>\n </div>\n </div>\n </template>\n`"
|
|
37470
|
+
}
|
|
37471
|
+
],
|
|
37472
|
+
"exports": [
|
|
37473
|
+
{
|
|
37474
|
+
"kind": "js",
|
|
37475
|
+
"name": "foundationSectionNavigatorTemplate",
|
|
37476
|
+
"declaration": {
|
|
37477
|
+
"name": "foundationSectionNavigatorTemplate",
|
|
37478
|
+
"module": "src/section-navigator/section-navigator.template.ts"
|
|
37479
|
+
}
|
|
37480
|
+
}
|
|
37481
|
+
]
|
|
37482
|
+
},
|
|
37483
|
+
{
|
|
37484
|
+
"kind": "javascript-module",
|
|
37485
|
+
"path": "src/section-navigator/section-navigator.ts",
|
|
37486
|
+
"declarations": [
|
|
37487
|
+
{
|
|
37488
|
+
"kind": "class",
|
|
37489
|
+
"description": "Section Navigator Component\n\nA component that provides navigation between different sections with support for state management.\nEach section can have multiple states that are displayed as icons next to the section label.",
|
|
37490
|
+
"name": "SectionNavigator",
|
|
37491
|
+
"slots": [
|
|
37492
|
+
{
|
|
37493
|
+
"type": {
|
|
37494
|
+
"text": "sectionName"
|
|
37495
|
+
},
|
|
37496
|
+
"description": "Content for each section (slot name matches section name)",
|
|
37497
|
+
"name": ""
|
|
37498
|
+
}
|
|
37499
|
+
],
|
|
37500
|
+
"members": [
|
|
37501
|
+
{
|
|
37502
|
+
"kind": "field",
|
|
37503
|
+
"name": "sections",
|
|
37504
|
+
"type": {
|
|
37505
|
+
"text": "SectionItem[]"
|
|
37506
|
+
},
|
|
37507
|
+
"default": "[]"
|
|
37508
|
+
},
|
|
37509
|
+
{
|
|
37510
|
+
"kind": "field",
|
|
37511
|
+
"name": "scrollBehavior",
|
|
37512
|
+
"type": {
|
|
37513
|
+
"text": "'view' | 'top'"
|
|
37514
|
+
},
|
|
37515
|
+
"default": "'top'"
|
|
37516
|
+
},
|
|
37517
|
+
{
|
|
37518
|
+
"kind": "field",
|
|
37519
|
+
"name": "stateTooltips",
|
|
37520
|
+
"type": {
|
|
37521
|
+
"text": "Record<SectionItemStateName, string>"
|
|
37522
|
+
},
|
|
37523
|
+
"default": "{\n active: 'Active',\n inactive: 'Inactive',\n pending: 'Pending',\n disabled: 'Disabled',\n error: 'Error',\n completed: 'Completed',\n}"
|
|
37524
|
+
},
|
|
37525
|
+
{
|
|
37526
|
+
"kind": "field",
|
|
37527
|
+
"name": "stateIcons",
|
|
37528
|
+
"type": {
|
|
37529
|
+
"text": "Record<SectionItemStateName, SectionItemStateIcon>"
|
|
37530
|
+
},
|
|
37531
|
+
"default": "{\n active: {\n name: 'circle-dot',\n variant: 'solid',\n },\n inactive: {\n name: 'times-circle',\n variant: 'regular',\n },\n pending: {\n name: 'clock',\n variant: 'solid',\n },\n disabled: {\n name: 'ban',\n variant: 'solid',\n },\n error: {\n name: 'times',\n variant: 'solid',\n },\n completed: {\n name: 'check',\n variant: 'solid',\n },\n}"
|
|
37532
|
+
},
|
|
37533
|
+
{
|
|
37534
|
+
"kind": "field",
|
|
37535
|
+
"name": "handleSetStateRef",
|
|
37536
|
+
"type": {
|
|
37537
|
+
"text": "(event: CustomEvent<SetStateEventDetail>) => void | undefined"
|
|
37538
|
+
},
|
|
37539
|
+
"privacy": "private"
|
|
37540
|
+
},
|
|
37541
|
+
{
|
|
37542
|
+
"kind": "field",
|
|
37543
|
+
"name": "handleSetStatesRef",
|
|
37544
|
+
"type": {
|
|
37545
|
+
"text": "(event: CustomEvent<SetStatesEventDetail>) => void | undefined"
|
|
37546
|
+
},
|
|
37547
|
+
"privacy": "private"
|
|
37548
|
+
},
|
|
37549
|
+
{
|
|
37550
|
+
"kind": "field",
|
|
37551
|
+
"name": "handleClearStateRef",
|
|
37552
|
+
"type": {
|
|
37553
|
+
"text": "(event: CustomEvent<ClearStateEventDetail>) => void | undefined"
|
|
37554
|
+
},
|
|
37555
|
+
"privacy": "private"
|
|
37556
|
+
},
|
|
37557
|
+
{
|
|
37558
|
+
"kind": "field",
|
|
37559
|
+
"name": "handleClearAllStatesRef",
|
|
37560
|
+
"type": {
|
|
37561
|
+
"text": "(event: CustomEvent<ClearAllStatesEventDetail>) => void | undefined"
|
|
37562
|
+
},
|
|
37563
|
+
"privacy": "private"
|
|
37564
|
+
},
|
|
37565
|
+
{
|
|
37566
|
+
"kind": "method",
|
|
37567
|
+
"name": "sectionsChanged"
|
|
37568
|
+
},
|
|
37569
|
+
{
|
|
37570
|
+
"kind": "method",
|
|
37571
|
+
"name": "scrollBehaviorChanged"
|
|
37572
|
+
},
|
|
37573
|
+
{
|
|
37574
|
+
"kind": "field",
|
|
37575
|
+
"name": "sectionItems",
|
|
37576
|
+
"type": {
|
|
37577
|
+
"text": "SectionItem[]"
|
|
37578
|
+
},
|
|
37579
|
+
"default": "[]"
|
|
37580
|
+
},
|
|
37581
|
+
{
|
|
37582
|
+
"kind": "field",
|
|
37583
|
+
"name": "activeSection",
|
|
37584
|
+
"type": {
|
|
37585
|
+
"text": "string"
|
|
37586
|
+
},
|
|
37587
|
+
"default": "''"
|
|
37588
|
+
},
|
|
37589
|
+
{
|
|
37590
|
+
"kind": "field",
|
|
37591
|
+
"name": "sectionNavigatorContainer",
|
|
37592
|
+
"type": {
|
|
37593
|
+
"text": "HTMLElement"
|
|
37594
|
+
}
|
|
37595
|
+
},
|
|
37596
|
+
{
|
|
37597
|
+
"kind": "field",
|
|
37598
|
+
"name": "sectionContent",
|
|
37599
|
+
"type": {
|
|
37600
|
+
"text": "HTMLElement"
|
|
37601
|
+
}
|
|
37602
|
+
},
|
|
37603
|
+
{
|
|
37604
|
+
"kind": "field",
|
|
37605
|
+
"name": "spacerElement",
|
|
37606
|
+
"type": {
|
|
37607
|
+
"text": "HTMLElement"
|
|
37608
|
+
}
|
|
37609
|
+
},
|
|
37610
|
+
{
|
|
37611
|
+
"kind": "method",
|
|
37612
|
+
"name": "setSectionItems",
|
|
37613
|
+
"privacy": "private"
|
|
37614
|
+
},
|
|
37615
|
+
{
|
|
37616
|
+
"kind": "method",
|
|
37617
|
+
"name": "setActiveSection",
|
|
37618
|
+
"privacy": "private"
|
|
37619
|
+
},
|
|
37620
|
+
{
|
|
37621
|
+
"kind": "method",
|
|
37622
|
+
"name": "handleSectionClick",
|
|
37623
|
+
"privacy": "public",
|
|
37624
|
+
"parameters": [
|
|
37625
|
+
{
|
|
37626
|
+
"name": "sectionName",
|
|
37627
|
+
"type": {
|
|
37628
|
+
"text": "string"
|
|
37629
|
+
}
|
|
37630
|
+
}
|
|
37631
|
+
]
|
|
37632
|
+
},
|
|
37633
|
+
{
|
|
37634
|
+
"kind": "method",
|
|
37635
|
+
"name": "updateSpacer",
|
|
37636
|
+
"privacy": "private"
|
|
37637
|
+
},
|
|
37638
|
+
{
|
|
37639
|
+
"kind": "method",
|
|
37640
|
+
"name": "scrollToSection",
|
|
37641
|
+
"privacy": "private",
|
|
37642
|
+
"parameters": [
|
|
37643
|
+
{
|
|
37644
|
+
"name": "sectionName",
|
|
37645
|
+
"type": {
|
|
37646
|
+
"text": "string"
|
|
37647
|
+
}
|
|
37648
|
+
}
|
|
37649
|
+
]
|
|
37650
|
+
},
|
|
37651
|
+
{
|
|
37652
|
+
"kind": "method",
|
|
37653
|
+
"name": "setupStateEventListeners",
|
|
37654
|
+
"privacy": "private"
|
|
37655
|
+
},
|
|
37656
|
+
{
|
|
37657
|
+
"kind": "method",
|
|
37658
|
+
"name": "updateSectionStates",
|
|
37659
|
+
"privacy": "private",
|
|
37660
|
+
"parameters": [
|
|
37661
|
+
{
|
|
37662
|
+
"name": "sectionName",
|
|
37663
|
+
"type": {
|
|
37664
|
+
"text": "string"
|
|
37665
|
+
}
|
|
37666
|
+
},
|
|
37667
|
+
{
|
|
37668
|
+
"name": "newStates",
|
|
37669
|
+
"type": {
|
|
37670
|
+
"text": "SectionItemStateName[]"
|
|
37671
|
+
}
|
|
37672
|
+
}
|
|
37673
|
+
]
|
|
37674
|
+
},
|
|
37675
|
+
{
|
|
37676
|
+
"kind": "method",
|
|
37677
|
+
"name": "addState",
|
|
37678
|
+
"privacy": "private",
|
|
37679
|
+
"parameters": [
|
|
37680
|
+
{
|
|
37681
|
+
"name": "sectionName",
|
|
37682
|
+
"type": {
|
|
37683
|
+
"text": "string"
|
|
37684
|
+
}
|
|
37685
|
+
},
|
|
37686
|
+
{
|
|
37687
|
+
"name": "stateName",
|
|
37688
|
+
"type": {
|
|
37689
|
+
"text": "SectionItemStateName"
|
|
37690
|
+
}
|
|
37691
|
+
}
|
|
37692
|
+
]
|
|
37693
|
+
},
|
|
37694
|
+
{
|
|
37695
|
+
"kind": "method",
|
|
37696
|
+
"name": "addStates",
|
|
37697
|
+
"privacy": "private",
|
|
37698
|
+
"parameters": [
|
|
37699
|
+
{
|
|
37700
|
+
"name": "sectionName",
|
|
37701
|
+
"type": {
|
|
37702
|
+
"text": "string"
|
|
37703
|
+
}
|
|
37704
|
+
},
|
|
37705
|
+
{
|
|
37706
|
+
"name": "stateNames",
|
|
37707
|
+
"type": {
|
|
37708
|
+
"text": "SectionItemStateName[]"
|
|
37709
|
+
}
|
|
37710
|
+
}
|
|
37711
|
+
]
|
|
37712
|
+
},
|
|
37713
|
+
{
|
|
37714
|
+
"kind": "method",
|
|
37715
|
+
"name": "clearState",
|
|
37716
|
+
"privacy": "private",
|
|
37717
|
+
"parameters": [
|
|
37718
|
+
{
|
|
37719
|
+
"name": "sectionName",
|
|
37720
|
+
"type": {
|
|
37721
|
+
"text": "string"
|
|
37722
|
+
}
|
|
37723
|
+
},
|
|
37724
|
+
{
|
|
37725
|
+
"name": "stateName",
|
|
37726
|
+
"type": {
|
|
37727
|
+
"text": "SectionItemStateName"
|
|
37728
|
+
}
|
|
37729
|
+
}
|
|
37730
|
+
]
|
|
37731
|
+
},
|
|
37732
|
+
{
|
|
37733
|
+
"kind": "method",
|
|
37734
|
+
"name": "clearAllStates",
|
|
37735
|
+
"privacy": "private",
|
|
37736
|
+
"parameters": [
|
|
37737
|
+
{
|
|
37738
|
+
"name": "sectionName",
|
|
37739
|
+
"type": {
|
|
37740
|
+
"text": "string"
|
|
37741
|
+
}
|
|
37742
|
+
}
|
|
37743
|
+
]
|
|
37744
|
+
},
|
|
37745
|
+
{
|
|
37746
|
+
"kind": "method",
|
|
37747
|
+
"name": "clearAllStatesInAllSections",
|
|
37748
|
+
"privacy": "private"
|
|
37749
|
+
},
|
|
37750
|
+
{
|
|
37751
|
+
"kind": "method",
|
|
37752
|
+
"name": "getStateTooltip",
|
|
37753
|
+
"privacy": "public",
|
|
37754
|
+
"return": {
|
|
37755
|
+
"type": {
|
|
37756
|
+
"text": "string"
|
|
37757
|
+
}
|
|
37758
|
+
},
|
|
37759
|
+
"parameters": [
|
|
37760
|
+
{
|
|
37761
|
+
"name": "stateName",
|
|
37762
|
+
"type": {
|
|
37763
|
+
"text": "SectionItemStateName"
|
|
37764
|
+
}
|
|
37765
|
+
}
|
|
37766
|
+
]
|
|
37767
|
+
},
|
|
37768
|
+
{
|
|
37769
|
+
"kind": "method",
|
|
37770
|
+
"name": "getSectionStateClass",
|
|
37771
|
+
"privacy": "public",
|
|
37772
|
+
"return": {
|
|
37773
|
+
"type": {
|
|
37774
|
+
"text": "string"
|
|
37775
|
+
}
|
|
37776
|
+
},
|
|
37777
|
+
"parameters": [
|
|
37778
|
+
{
|
|
37779
|
+
"name": "section",
|
|
37780
|
+
"type": {
|
|
37781
|
+
"text": "SectionItem"
|
|
37782
|
+
}
|
|
37783
|
+
}
|
|
37784
|
+
]
|
|
37785
|
+
},
|
|
37786
|
+
{
|
|
37787
|
+
"kind": "method",
|
|
37788
|
+
"name": "getStateIcon",
|
|
37789
|
+
"privacy": "public",
|
|
37790
|
+
"return": {
|
|
37791
|
+
"type": {
|
|
37792
|
+
"text": "SectionItemStateIcon"
|
|
37793
|
+
}
|
|
37794
|
+
},
|
|
37795
|
+
"parameters": [
|
|
37796
|
+
{
|
|
37797
|
+
"name": "stateName",
|
|
37798
|
+
"type": {
|
|
37799
|
+
"text": "SectionItemStateName"
|
|
37800
|
+
}
|
|
37801
|
+
}
|
|
37802
|
+
]
|
|
37803
|
+
},
|
|
37804
|
+
{
|
|
37805
|
+
"kind": "field",
|
|
37806
|
+
"name": "_presentation",
|
|
37807
|
+
"type": {
|
|
37808
|
+
"text": "ComponentPresentation | null | undefined"
|
|
37809
|
+
},
|
|
37810
|
+
"privacy": "private",
|
|
37811
|
+
"default": "void 0",
|
|
37812
|
+
"inheritedFrom": {
|
|
37813
|
+
"name": "FoundationElement",
|
|
37814
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
37815
|
+
}
|
|
37816
|
+
},
|
|
37817
|
+
{
|
|
37818
|
+
"kind": "field",
|
|
37819
|
+
"name": "$presentation",
|
|
37820
|
+
"type": {
|
|
37821
|
+
"text": "ComponentPresentation | null"
|
|
37822
|
+
},
|
|
37823
|
+
"privacy": "public",
|
|
37824
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
37825
|
+
"inheritedFrom": {
|
|
37826
|
+
"name": "FoundationElement",
|
|
37827
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
37828
|
+
}
|
|
37829
|
+
},
|
|
37830
|
+
{
|
|
37831
|
+
"kind": "field",
|
|
37832
|
+
"name": "template",
|
|
37833
|
+
"type": {
|
|
37834
|
+
"text": "ElementViewTemplate | void | null"
|
|
37835
|
+
},
|
|
37836
|
+
"privacy": "public",
|
|
37837
|
+
"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.",
|
|
37838
|
+
"inheritedFrom": {
|
|
37839
|
+
"name": "FoundationElement",
|
|
37840
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
37841
|
+
}
|
|
37842
|
+
},
|
|
37843
|
+
{
|
|
37844
|
+
"kind": "method",
|
|
37845
|
+
"name": "templateChanged",
|
|
37846
|
+
"privacy": "protected",
|
|
37847
|
+
"return": {
|
|
37848
|
+
"type": {
|
|
37849
|
+
"text": "void"
|
|
37850
|
+
}
|
|
37851
|
+
},
|
|
37852
|
+
"inheritedFrom": {
|
|
37853
|
+
"name": "FoundationElement",
|
|
37854
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
37855
|
+
}
|
|
37856
|
+
},
|
|
37857
|
+
{
|
|
37858
|
+
"kind": "field",
|
|
37859
|
+
"name": "styles",
|
|
37860
|
+
"type": {
|
|
37861
|
+
"text": "ElementStyles | void | null"
|
|
37862
|
+
},
|
|
37863
|
+
"privacy": "public",
|
|
37864
|
+
"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.",
|
|
37865
|
+
"inheritedFrom": {
|
|
37866
|
+
"name": "FoundationElement",
|
|
37867
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
37868
|
+
}
|
|
37869
|
+
},
|
|
37870
|
+
{
|
|
37871
|
+
"kind": "method",
|
|
37872
|
+
"name": "stylesChanged",
|
|
37873
|
+
"privacy": "protected",
|
|
37874
|
+
"return": {
|
|
37875
|
+
"type": {
|
|
37876
|
+
"text": "void"
|
|
37877
|
+
}
|
|
37878
|
+
},
|
|
37879
|
+
"inheritedFrom": {
|
|
37880
|
+
"name": "FoundationElement",
|
|
37881
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
37882
|
+
}
|
|
37883
|
+
},
|
|
37884
|
+
{
|
|
37885
|
+
"kind": "method",
|
|
37886
|
+
"name": "compose",
|
|
37887
|
+
"privacy": "public",
|
|
37888
|
+
"static": true,
|
|
37889
|
+
"return": {
|
|
37890
|
+
"type": {
|
|
37891
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
37892
|
+
}
|
|
37893
|
+
},
|
|
37894
|
+
"parameters": [
|
|
37895
|
+
{
|
|
37896
|
+
"name": "this",
|
|
37897
|
+
"type": {
|
|
37898
|
+
"text": "K"
|
|
37899
|
+
}
|
|
37900
|
+
},
|
|
37901
|
+
{
|
|
37902
|
+
"name": "elementDefinition",
|
|
37903
|
+
"type": {
|
|
37904
|
+
"text": "T"
|
|
37905
|
+
},
|
|
37906
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
37907
|
+
}
|
|
37908
|
+
],
|
|
37909
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
37910
|
+
"inheritedFrom": {
|
|
37911
|
+
"name": "FoundationElement",
|
|
37912
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
37913
|
+
}
|
|
37914
|
+
}
|
|
37915
|
+
],
|
|
37916
|
+
"attributes": [
|
|
37917
|
+
{
|
|
37918
|
+
"description": "Array of section items to display",
|
|
37919
|
+
"name": "sections"
|
|
37920
|
+
},
|
|
37921
|
+
{
|
|
37922
|
+
"description": "Scroll behavior: 'view' or 'top' (default: 'top')",
|
|
37923
|
+
"name": "scroll-behavior"
|
|
37924
|
+
},
|
|
37925
|
+
{
|
|
37926
|
+
"description": "Custom tooltips for state icons",
|
|
37927
|
+
"name": "state-tooltips"
|
|
37928
|
+
},
|
|
37929
|
+
{
|
|
37930
|
+
"description": "Custom icons for state types",
|
|
37931
|
+
"name": "state-icons"
|
|
37932
|
+
},
|
|
37933
|
+
{
|
|
37934
|
+
"name": "scroll-behavior",
|
|
37935
|
+
"type": {
|
|
37936
|
+
"text": "'view' | 'top'"
|
|
37937
|
+
},
|
|
37938
|
+
"default": "'top'",
|
|
37939
|
+
"fieldName": "scrollBehavior"
|
|
37940
|
+
},
|
|
37941
|
+
{
|
|
37942
|
+
"name": "state-tooltips",
|
|
37943
|
+
"type": {
|
|
37944
|
+
"text": "Record<SectionItemStateName, string>"
|
|
37945
|
+
},
|
|
37946
|
+
"default": "DEFAULT_SECTION_STATES_TOOLTIPS",
|
|
37947
|
+
"resolveInitializer": {
|
|
37948
|
+
"module": "src/section-navigator/section-navigator.ts"
|
|
37949
|
+
},
|
|
37950
|
+
"fieldName": "stateTooltips"
|
|
37951
|
+
},
|
|
37952
|
+
{
|
|
37953
|
+
"name": "state-icons",
|
|
37954
|
+
"type": {
|
|
37955
|
+
"text": "Record<SectionItemStateName, SectionItemStateIcon>"
|
|
37956
|
+
},
|
|
37957
|
+
"default": "DEFAULT_SECTION_STATES_ICONS",
|
|
37958
|
+
"resolveInitializer": {
|
|
37959
|
+
"module": "src/section-navigator/section-navigator.ts"
|
|
37960
|
+
},
|
|
37961
|
+
"fieldName": "stateIcons"
|
|
37962
|
+
}
|
|
37963
|
+
],
|
|
37964
|
+
"superclass": {
|
|
37965
|
+
"name": "FoundationElement",
|
|
37966
|
+
"package": "@microsoft/fast-foundation"
|
|
37967
|
+
},
|
|
37968
|
+
"tagName": "%%prefix%%-section-navigator",
|
|
37969
|
+
"customElement": true
|
|
37970
|
+
},
|
|
37971
|
+
{
|
|
37972
|
+
"kind": "variable",
|
|
37973
|
+
"name": "foundationSectionNavigatorShadowOptions",
|
|
37974
|
+
"type": {
|
|
37975
|
+
"text": "ShadowRootInit"
|
|
37976
|
+
},
|
|
37977
|
+
"default": "{\n mode: 'open',\n}"
|
|
37978
|
+
},
|
|
37979
|
+
{
|
|
37980
|
+
"kind": "variable",
|
|
37981
|
+
"name": "defaultSectionNavigatorConfig",
|
|
37982
|
+
"type": {
|
|
37983
|
+
"text": "object"
|
|
37984
|
+
},
|
|
37985
|
+
"default": "{}"
|
|
37986
|
+
},
|
|
37987
|
+
{
|
|
37988
|
+
"kind": "variable",
|
|
37989
|
+
"name": "foundationSectionNavigator",
|
|
37990
|
+
"description": "The Foundation SectionNavigator",
|
|
37991
|
+
"privacy": "public"
|
|
37992
|
+
}
|
|
37993
|
+
],
|
|
37994
|
+
"exports": [
|
|
37995
|
+
{
|
|
37996
|
+
"kind": "js",
|
|
37997
|
+
"name": "SectionNavigator",
|
|
37998
|
+
"declaration": {
|
|
37999
|
+
"name": "SectionNavigator",
|
|
38000
|
+
"module": "src/section-navigator/section-navigator.ts"
|
|
38001
|
+
}
|
|
38002
|
+
},
|
|
38003
|
+
{
|
|
38004
|
+
"kind": "js",
|
|
38005
|
+
"name": "foundationSectionNavigatorShadowOptions",
|
|
38006
|
+
"declaration": {
|
|
38007
|
+
"name": "foundationSectionNavigatorShadowOptions",
|
|
38008
|
+
"module": "src/section-navigator/section-navigator.ts"
|
|
38009
|
+
}
|
|
38010
|
+
},
|
|
38011
|
+
{
|
|
38012
|
+
"kind": "js",
|
|
38013
|
+
"name": "defaultSectionNavigatorConfig",
|
|
38014
|
+
"declaration": {
|
|
38015
|
+
"name": "defaultSectionNavigatorConfig",
|
|
38016
|
+
"module": "src/section-navigator/section-navigator.ts"
|
|
38017
|
+
}
|
|
38018
|
+
},
|
|
38019
|
+
{
|
|
38020
|
+
"kind": "js",
|
|
38021
|
+
"name": "foundationSectionNavigator",
|
|
38022
|
+
"declaration": {
|
|
38023
|
+
"name": "foundationSectionNavigator",
|
|
38024
|
+
"module": "src/section-navigator/section-navigator.ts"
|
|
38025
|
+
}
|
|
38026
|
+
}
|
|
38027
|
+
]
|
|
38028
|
+
},
|
|
37396
38029
|
{
|
|
37397
38030
|
"kind": "javascript-module",
|
|
37398
38031
|
"path": "src/segmented-control/index.ts",
|