@genesislcap/foundation-ui 14.336.2-alpha-7eb86ca.0 → 14.336.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +947 -1580
- package/dist/dts/base-components.d.ts +0 -11
- package/dist/dts/base-components.d.ts.map +1 -1
- package/dist/dts/index.d.ts +0 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/esm/base-components.js +0 -2
- package/dist/esm/index.js +0 -1
- package/package.json +18 -18
- package/dist/dts/section-navigator/index.d.ts +0 -4
- package/dist/dts/section-navigator/index.d.ts.map +0 -1
- package/dist/dts/section-navigator/section-navigator.d.ts +0 -120
- package/dist/dts/section-navigator/section-navigator.d.ts.map +0 -1
- package/dist/dts/section-navigator/section-navigator.styles.d.ts +0 -3
- package/dist/dts/section-navigator/section-navigator.styles.d.ts.map +0 -1
- package/dist/dts/section-navigator/section-navigator.template.d.ts +0 -4
- package/dist/dts/section-navigator/section-navigator.template.d.ts.map +0 -1
- package/dist/esm/section-navigator/index.js +0 -3
- package/dist/esm/section-navigator/section-navigator.js +0 -289
- package/dist/esm/section-navigator/section-navigator.styles.js +0 -179
- package/dist/esm/section-navigator/section-navigator.template.js +0 -37
|
@@ -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
|
|
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}"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"exports": [
|
|
@@ -604,14 +604,6 @@
|
|
|
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
|
-
},
|
|
615
607
|
{
|
|
616
608
|
"kind": "js",
|
|
617
609
|
"name": "*",
|
|
@@ -1657,37 +1649,6 @@
|
|
|
1657
1649
|
}
|
|
1658
1650
|
]
|
|
1659
1651
|
},
|
|
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
|
-
},
|
|
1691
1652
|
{
|
|
1692
1653
|
"kind": "javascript-module",
|
|
1693
1654
|
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
@@ -2249,11 +2210,11 @@
|
|
|
2249
2210
|
},
|
|
2250
2211
|
{
|
|
2251
2212
|
"kind": "javascript-module",
|
|
2252
|
-
"path": "src/
|
|
2213
|
+
"path": "src/anchor/anchor.styles.ts",
|
|
2253
2214
|
"declarations": [
|
|
2254
2215
|
{
|
|
2255
2216
|
"kind": "function",
|
|
2256
|
-
"name": "
|
|
2217
|
+
"name": "foundationAnchorStyles",
|
|
2257
2218
|
"return": {
|
|
2258
2219
|
"type": {
|
|
2259
2220
|
"text": "ElementStyles"
|
|
@@ -2278,24 +2239,24 @@
|
|
|
2278
2239
|
"exports": [
|
|
2279
2240
|
{
|
|
2280
2241
|
"kind": "js",
|
|
2281
|
-
"name": "
|
|
2242
|
+
"name": "foundationAnchorStyles",
|
|
2282
2243
|
"declaration": {
|
|
2283
|
-
"name": "
|
|
2284
|
-
"module": "src/
|
|
2244
|
+
"name": "foundationAnchorStyles",
|
|
2245
|
+
"module": "src/anchor/anchor.styles.ts"
|
|
2285
2246
|
}
|
|
2286
2247
|
}
|
|
2287
2248
|
]
|
|
2288
2249
|
},
|
|
2289
2250
|
{
|
|
2290
2251
|
"kind": "javascript-module",
|
|
2291
|
-
"path": "src/
|
|
2252
|
+
"path": "src/anchor/anchor.template.ts",
|
|
2292
2253
|
"declarations": [
|
|
2293
2254
|
{
|
|
2294
2255
|
"kind": "function",
|
|
2295
|
-
"name": "
|
|
2256
|
+
"name": "foundationAnchorTemplate",
|
|
2296
2257
|
"return": {
|
|
2297
2258
|
"type": {
|
|
2298
|
-
"text": "ViewTemplate<
|
|
2259
|
+
"text": "ViewTemplate<Anchor>"
|
|
2299
2260
|
}
|
|
2300
2261
|
},
|
|
2301
2262
|
"parameters": [
|
|
@@ -2317,32 +2278,370 @@
|
|
|
2317
2278
|
"exports": [
|
|
2318
2279
|
{
|
|
2319
2280
|
"kind": "js",
|
|
2320
|
-
"name": "
|
|
2281
|
+
"name": "foundationAnchorTemplate",
|
|
2321
2282
|
"declaration": {
|
|
2322
|
-
"name": "
|
|
2323
|
-
"module": "src/
|
|
2283
|
+
"name": "foundationAnchorTemplate",
|
|
2284
|
+
"module": "src/anchor/anchor.template.ts"
|
|
2324
2285
|
}
|
|
2325
2286
|
}
|
|
2326
2287
|
]
|
|
2327
2288
|
},
|
|
2328
2289
|
{
|
|
2329
2290
|
"kind": "javascript-module",
|
|
2330
|
-
"path": "src/
|
|
2291
|
+
"path": "src/anchor/anchor.ts",
|
|
2331
2292
|
"declarations": [
|
|
2332
2293
|
{
|
|
2333
2294
|
"kind": "class",
|
|
2334
2295
|
"description": "",
|
|
2335
|
-
"name": "
|
|
2296
|
+
"name": "Anchor",
|
|
2336
2297
|
"superclass": {
|
|
2337
|
-
"name": "
|
|
2338
|
-
"package": "@microsoft/fast-
|
|
2298
|
+
"name": "FASTAnchor",
|
|
2299
|
+
"package": "@microsoft/fast-components"
|
|
2339
2300
|
},
|
|
2340
|
-
"tagName": "%%prefix%%-
|
|
2341
|
-
"customElement": true
|
|
2301
|
+
"tagName": "%%prefix%%-anchor",
|
|
2302
|
+
"customElement": true,
|
|
2303
|
+
"attributes": [
|
|
2304
|
+
{
|
|
2305
|
+
"name": "download",
|
|
2306
|
+
"type": {
|
|
2307
|
+
"text": "string"
|
|
2308
|
+
},
|
|
2309
|
+
"description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
2310
|
+
"fieldName": "download",
|
|
2311
|
+
"inheritedFrom": {
|
|
2312
|
+
"name": "Anchor",
|
|
2313
|
+
"module": "src/anchor/anchor.ts"
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"name": "href",
|
|
2318
|
+
"type": {
|
|
2319
|
+
"text": "string"
|
|
2320
|
+
},
|
|
2321
|
+
"description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
2322
|
+
"fieldName": "href",
|
|
2323
|
+
"inheritedFrom": {
|
|
2324
|
+
"name": "Anchor",
|
|
2325
|
+
"module": "src/anchor/anchor.ts"
|
|
2326
|
+
}
|
|
2327
|
+
},
|
|
2328
|
+
{
|
|
2329
|
+
"name": "hreflang",
|
|
2330
|
+
"type": {
|
|
2331
|
+
"text": "string"
|
|
2332
|
+
},
|
|
2333
|
+
"description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
2334
|
+
"fieldName": "hreflang",
|
|
2335
|
+
"inheritedFrom": {
|
|
2336
|
+
"name": "Anchor",
|
|
2337
|
+
"module": "src/anchor/anchor.ts"
|
|
2338
|
+
}
|
|
2339
|
+
},
|
|
2340
|
+
{
|
|
2341
|
+
"name": "ping",
|
|
2342
|
+
"type": {
|
|
2343
|
+
"text": "string"
|
|
2344
|
+
},
|
|
2345
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
2346
|
+
"fieldName": "ping",
|
|
2347
|
+
"inheritedFrom": {
|
|
2348
|
+
"name": "Anchor",
|
|
2349
|
+
"module": "src/anchor/anchor.ts"
|
|
2350
|
+
}
|
|
2351
|
+
},
|
|
2352
|
+
{
|
|
2353
|
+
"name": "referrerpolicy",
|
|
2354
|
+
"type": {
|
|
2355
|
+
"text": "string"
|
|
2356
|
+
},
|
|
2357
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
2358
|
+
"fieldName": "referrerpolicy",
|
|
2359
|
+
"inheritedFrom": {
|
|
2360
|
+
"name": "Anchor",
|
|
2361
|
+
"module": "src/anchor/anchor.ts"
|
|
2362
|
+
}
|
|
2363
|
+
},
|
|
2364
|
+
{
|
|
2365
|
+
"name": "rel",
|
|
2366
|
+
"type": {
|
|
2367
|
+
"text": "string"
|
|
2368
|
+
},
|
|
2369
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
2370
|
+
"fieldName": "rel",
|
|
2371
|
+
"inheritedFrom": {
|
|
2372
|
+
"name": "Anchor",
|
|
2373
|
+
"module": "src/anchor/anchor.ts"
|
|
2374
|
+
}
|
|
2375
|
+
},
|
|
2376
|
+
{
|
|
2377
|
+
"name": "target",
|
|
2378
|
+
"type": {
|
|
2379
|
+
"text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
|
|
2380
|
+
},
|
|
2381
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
2382
|
+
"fieldName": "target",
|
|
2383
|
+
"inheritedFrom": {
|
|
2384
|
+
"name": "Anchor",
|
|
2385
|
+
"module": "src/anchor/anchor.ts"
|
|
2386
|
+
}
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"name": "type",
|
|
2390
|
+
"type": {
|
|
2391
|
+
"text": "string"
|
|
2392
|
+
},
|
|
2393
|
+
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
2394
|
+
"fieldName": "type",
|
|
2395
|
+
"inheritedFrom": {
|
|
2396
|
+
"name": "Anchor",
|
|
2397
|
+
"module": "src/anchor/anchor.ts"
|
|
2398
|
+
}
|
|
2399
|
+
}
|
|
2400
|
+
],
|
|
2401
|
+
"members": [
|
|
2402
|
+
{
|
|
2403
|
+
"kind": "field",
|
|
2404
|
+
"name": "download",
|
|
2405
|
+
"type": {
|
|
2406
|
+
"text": "string"
|
|
2407
|
+
},
|
|
2408
|
+
"privacy": "public",
|
|
2409
|
+
"description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
|
|
2410
|
+
"inheritedFrom": {
|
|
2411
|
+
"name": "Anchor",
|
|
2412
|
+
"module": "src/anchor/anchor.ts"
|
|
2413
|
+
}
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
"kind": "field",
|
|
2417
|
+
"name": "href",
|
|
2418
|
+
"type": {
|
|
2419
|
+
"text": "string"
|
|
2420
|
+
},
|
|
2421
|
+
"privacy": "public",
|
|
2422
|
+
"description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
|
|
2423
|
+
"inheritedFrom": {
|
|
2424
|
+
"name": "Anchor",
|
|
2425
|
+
"module": "src/anchor/anchor.ts"
|
|
2426
|
+
}
|
|
2427
|
+
},
|
|
2428
|
+
{
|
|
2429
|
+
"kind": "field",
|
|
2430
|
+
"name": "hreflang",
|
|
2431
|
+
"type": {
|
|
2432
|
+
"text": "string"
|
|
2433
|
+
},
|
|
2434
|
+
"privacy": "public",
|
|
2435
|
+
"description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
|
|
2436
|
+
"inheritedFrom": {
|
|
2437
|
+
"name": "Anchor",
|
|
2438
|
+
"module": "src/anchor/anchor.ts"
|
|
2439
|
+
}
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
"kind": "field",
|
|
2443
|
+
"name": "ping",
|
|
2444
|
+
"type": {
|
|
2445
|
+
"text": "string"
|
|
2446
|
+
},
|
|
2447
|
+
"privacy": "public",
|
|
2448
|
+
"description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
|
|
2449
|
+
"inheritedFrom": {
|
|
2450
|
+
"name": "Anchor",
|
|
2451
|
+
"module": "src/anchor/anchor.ts"
|
|
2452
|
+
}
|
|
2453
|
+
},
|
|
2454
|
+
{
|
|
2455
|
+
"kind": "field",
|
|
2456
|
+
"name": "referrerpolicy",
|
|
2457
|
+
"type": {
|
|
2458
|
+
"text": "string"
|
|
2459
|
+
},
|
|
2460
|
+
"privacy": "public",
|
|
2461
|
+
"description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
|
|
2462
|
+
"inheritedFrom": {
|
|
2463
|
+
"name": "Anchor",
|
|
2464
|
+
"module": "src/anchor/anchor.ts"
|
|
2465
|
+
}
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
"kind": "field",
|
|
2469
|
+
"name": "rel",
|
|
2470
|
+
"type": {
|
|
2471
|
+
"text": "string"
|
|
2472
|
+
},
|
|
2473
|
+
"privacy": "public",
|
|
2474
|
+
"description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
|
|
2475
|
+
"inheritedFrom": {
|
|
2476
|
+
"name": "Anchor",
|
|
2477
|
+
"module": "src/anchor/anchor.ts"
|
|
2478
|
+
}
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
"kind": "field",
|
|
2482
|
+
"name": "target",
|
|
2483
|
+
"type": {
|
|
2484
|
+
"text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
|
|
2485
|
+
},
|
|
2486
|
+
"privacy": "public",
|
|
2487
|
+
"description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
|
|
2488
|
+
"inheritedFrom": {
|
|
2489
|
+
"name": "Anchor",
|
|
2490
|
+
"module": "src/anchor/anchor.ts"
|
|
2491
|
+
}
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
"kind": "field",
|
|
2495
|
+
"name": "type",
|
|
2496
|
+
"type": {
|
|
2497
|
+
"text": "string"
|
|
2498
|
+
},
|
|
2499
|
+
"privacy": "public",
|
|
2500
|
+
"description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
|
|
2501
|
+
"inheritedFrom": {
|
|
2502
|
+
"name": "Anchor",
|
|
2503
|
+
"module": "src/anchor/anchor.ts"
|
|
2504
|
+
}
|
|
2505
|
+
},
|
|
2506
|
+
{
|
|
2507
|
+
"kind": "field",
|
|
2508
|
+
"name": "control",
|
|
2509
|
+
"type": {
|
|
2510
|
+
"text": "HTMLAnchorElement | undefined"
|
|
2511
|
+
},
|
|
2512
|
+
"privacy": "public",
|
|
2513
|
+
"description": "References the root element",
|
|
2514
|
+
"inheritedFrom": {
|
|
2515
|
+
"name": "Anchor",
|
|
2516
|
+
"module": "src/anchor/anchor.ts"
|
|
2517
|
+
}
|
|
2518
|
+
},
|
|
2519
|
+
{
|
|
2520
|
+
"kind": "field",
|
|
2521
|
+
"name": "handleUnsupportedDelegatesFocus",
|
|
2522
|
+
"privacy": "private",
|
|
2523
|
+
"description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
|
|
2524
|
+
"inheritedFrom": {
|
|
2525
|
+
"name": "Anchor",
|
|
2526
|
+
"module": "src/anchor/anchor.ts"
|
|
2527
|
+
}
|
|
2528
|
+
},
|
|
2529
|
+
{
|
|
2530
|
+
"kind": "field",
|
|
2531
|
+
"name": "_presentation",
|
|
2532
|
+
"type": {
|
|
2533
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2534
|
+
},
|
|
2535
|
+
"privacy": "private",
|
|
2536
|
+
"default": "void 0",
|
|
2537
|
+
"inheritedFrom": {
|
|
2538
|
+
"name": "FoundationElement",
|
|
2539
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2540
|
+
}
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
"kind": "field",
|
|
2544
|
+
"name": "$presentation",
|
|
2545
|
+
"type": {
|
|
2546
|
+
"text": "ComponentPresentation | null"
|
|
2547
|
+
},
|
|
2548
|
+
"privacy": "public",
|
|
2549
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2550
|
+
"inheritedFrom": {
|
|
2551
|
+
"name": "FoundationElement",
|
|
2552
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2553
|
+
}
|
|
2554
|
+
},
|
|
2555
|
+
{
|
|
2556
|
+
"kind": "field",
|
|
2557
|
+
"name": "template",
|
|
2558
|
+
"type": {
|
|
2559
|
+
"text": "ElementViewTemplate | void | null"
|
|
2560
|
+
},
|
|
2561
|
+
"privacy": "public",
|
|
2562
|
+
"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.",
|
|
2563
|
+
"inheritedFrom": {
|
|
2564
|
+
"name": "FoundationElement",
|
|
2565
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2566
|
+
}
|
|
2567
|
+
},
|
|
2568
|
+
{
|
|
2569
|
+
"kind": "method",
|
|
2570
|
+
"name": "templateChanged",
|
|
2571
|
+
"privacy": "protected",
|
|
2572
|
+
"return": {
|
|
2573
|
+
"type": {
|
|
2574
|
+
"text": "void"
|
|
2575
|
+
}
|
|
2576
|
+
},
|
|
2577
|
+
"inheritedFrom": {
|
|
2578
|
+
"name": "FoundationElement",
|
|
2579
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2580
|
+
}
|
|
2581
|
+
},
|
|
2582
|
+
{
|
|
2583
|
+
"kind": "field",
|
|
2584
|
+
"name": "styles",
|
|
2585
|
+
"type": {
|
|
2586
|
+
"text": "ElementStyles | void | null"
|
|
2587
|
+
},
|
|
2588
|
+
"privacy": "public",
|
|
2589
|
+
"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.",
|
|
2590
|
+
"inheritedFrom": {
|
|
2591
|
+
"name": "FoundationElement",
|
|
2592
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2593
|
+
}
|
|
2594
|
+
},
|
|
2595
|
+
{
|
|
2596
|
+
"kind": "method",
|
|
2597
|
+
"name": "stylesChanged",
|
|
2598
|
+
"privacy": "protected",
|
|
2599
|
+
"return": {
|
|
2600
|
+
"type": {
|
|
2601
|
+
"text": "void"
|
|
2602
|
+
}
|
|
2603
|
+
},
|
|
2604
|
+
"inheritedFrom": {
|
|
2605
|
+
"name": "FoundationElement",
|
|
2606
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2607
|
+
}
|
|
2608
|
+
},
|
|
2609
|
+
{
|
|
2610
|
+
"kind": "method",
|
|
2611
|
+
"name": "compose",
|
|
2612
|
+
"privacy": "public",
|
|
2613
|
+
"static": true,
|
|
2614
|
+
"return": {
|
|
2615
|
+
"type": {
|
|
2616
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2617
|
+
}
|
|
2618
|
+
},
|
|
2619
|
+
"parameters": [
|
|
2620
|
+
{
|
|
2621
|
+
"name": "this",
|
|
2622
|
+
"type": {
|
|
2623
|
+
"text": "K"
|
|
2624
|
+
}
|
|
2625
|
+
},
|
|
2626
|
+
{
|
|
2627
|
+
"name": "elementDefinition",
|
|
2628
|
+
"type": {
|
|
2629
|
+
"text": "T"
|
|
2630
|
+
},
|
|
2631
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
2632
|
+
}
|
|
2633
|
+
],
|
|
2634
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2635
|
+
"inheritedFrom": {
|
|
2636
|
+
"name": "FoundationElement",
|
|
2637
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2638
|
+
}
|
|
2639
|
+
}
|
|
2640
|
+
]
|
|
2342
2641
|
},
|
|
2343
2642
|
{
|
|
2344
2643
|
"kind": "variable",
|
|
2345
|
-
"name": "
|
|
2644
|
+
"name": "foundationAnchorShadowOptions",
|
|
2346
2645
|
"type": {
|
|
2347
2646
|
"text": "ShadowRootInit"
|
|
2348
2647
|
},
|
|
@@ -2350,7 +2649,7 @@
|
|
|
2350
2649
|
},
|
|
2351
2650
|
{
|
|
2352
2651
|
"kind": "variable",
|
|
2353
|
-
"name": "
|
|
2652
|
+
"name": "defaultAnchorConfig",
|
|
2354
2653
|
"type": {
|
|
2355
2654
|
"text": "object"
|
|
2356
2655
|
},
|
|
@@ -2358,49 +2657,49 @@
|
|
|
2358
2657
|
},
|
|
2359
2658
|
{
|
|
2360
2659
|
"kind": "variable",
|
|
2361
|
-
"name": "
|
|
2362
|
-
"description": "The Foundation
|
|
2660
|
+
"name": "foundationAnchor",
|
|
2661
|
+
"description": "The Foundation Anchor",
|
|
2363
2662
|
"privacy": "public"
|
|
2364
2663
|
}
|
|
2365
2664
|
],
|
|
2366
2665
|
"exports": [
|
|
2367
2666
|
{
|
|
2368
2667
|
"kind": "js",
|
|
2369
|
-
"name": "
|
|
2668
|
+
"name": "Anchor",
|
|
2370
2669
|
"declaration": {
|
|
2371
|
-
"name": "
|
|
2372
|
-
"module": "src/
|
|
2670
|
+
"name": "Anchor",
|
|
2671
|
+
"module": "src/anchor/anchor.ts"
|
|
2373
2672
|
}
|
|
2374
2673
|
},
|
|
2375
2674
|
{
|
|
2376
2675
|
"kind": "js",
|
|
2377
|
-
"name": "
|
|
2676
|
+
"name": "foundationAnchorShadowOptions",
|
|
2378
2677
|
"declaration": {
|
|
2379
|
-
"name": "
|
|
2380
|
-
"module": "src/
|
|
2678
|
+
"name": "foundationAnchorShadowOptions",
|
|
2679
|
+
"module": "src/anchor/anchor.ts"
|
|
2381
2680
|
}
|
|
2382
2681
|
},
|
|
2383
2682
|
{
|
|
2384
2683
|
"kind": "js",
|
|
2385
|
-
"name": "
|
|
2684
|
+
"name": "defaultAnchorConfig",
|
|
2386
2685
|
"declaration": {
|
|
2387
|
-
"name": "
|
|
2388
|
-
"module": "src/
|
|
2686
|
+
"name": "defaultAnchorConfig",
|
|
2687
|
+
"module": "src/anchor/anchor.ts"
|
|
2389
2688
|
}
|
|
2390
2689
|
},
|
|
2391
2690
|
{
|
|
2392
2691
|
"kind": "js",
|
|
2393
|
-
"name": "
|
|
2692
|
+
"name": "foundationAnchor",
|
|
2394
2693
|
"declaration": {
|
|
2395
|
-
"name": "
|
|
2396
|
-
"module": "src/
|
|
2694
|
+
"name": "foundationAnchor",
|
|
2695
|
+
"module": "src/anchor/anchor.ts"
|
|
2397
2696
|
}
|
|
2398
2697
|
}
|
|
2399
2698
|
]
|
|
2400
2699
|
},
|
|
2401
2700
|
{
|
|
2402
2701
|
"kind": "javascript-module",
|
|
2403
|
-
"path": "src/
|
|
2702
|
+
"path": "src/anchor/index.ts",
|
|
2404
2703
|
"declarations": [],
|
|
2405
2704
|
"exports": [
|
|
2406
2705
|
{
|
|
@@ -2408,7 +2707,7 @@
|
|
|
2408
2707
|
"name": "*",
|
|
2409
2708
|
"declaration": {
|
|
2410
2709
|
"name": "*",
|
|
2411
|
-
"package": "./
|
|
2710
|
+
"package": "./anchor.template"
|
|
2412
2711
|
}
|
|
2413
2712
|
},
|
|
2414
2713
|
{
|
|
@@ -2416,7 +2715,7 @@
|
|
|
2416
2715
|
"name": "*",
|
|
2417
2716
|
"declaration": {
|
|
2418
2717
|
"name": "*",
|
|
2419
|
-
"package": "./
|
|
2718
|
+
"package": "./anchor.styles"
|
|
2420
2719
|
}
|
|
2421
2720
|
},
|
|
2422
2721
|
{
|
|
@@ -2424,541 +2723,21 @@
|
|
|
2424
2723
|
"name": "*",
|
|
2425
2724
|
"declaration": {
|
|
2426
2725
|
"name": "*",
|
|
2427
|
-
"package": "./
|
|
2726
|
+
"package": "./anchor"
|
|
2428
2727
|
}
|
|
2429
2728
|
}
|
|
2430
2729
|
]
|
|
2431
2730
|
},
|
|
2432
2731
|
{
|
|
2433
2732
|
"kind": "javascript-module",
|
|
2434
|
-
"path": "src/
|
|
2733
|
+
"path": "src/anchored-region/anchor-region.template.ts",
|
|
2435
2734
|
"declarations": [
|
|
2436
2735
|
{
|
|
2437
2736
|
"kind": "function",
|
|
2438
|
-
"name": "
|
|
2737
|
+
"name": "foundationAnchoredRegionTemplate",
|
|
2439
2738
|
"return": {
|
|
2440
2739
|
"type": {
|
|
2441
|
-
"text": "
|
|
2442
|
-
}
|
|
2443
|
-
},
|
|
2444
|
-
"parameters": [
|
|
2445
|
-
{
|
|
2446
|
-
"name": "context",
|
|
2447
|
-
"type": {
|
|
2448
|
-
"text": "ElementDefinitionContext"
|
|
2449
|
-
}
|
|
2450
|
-
},
|
|
2451
|
-
{
|
|
2452
|
-
"name": "definition",
|
|
2453
|
-
"type": {
|
|
2454
|
-
"text": "FoundationElementDefinition"
|
|
2455
|
-
}
|
|
2456
|
-
}
|
|
2457
|
-
]
|
|
2458
|
-
}
|
|
2459
|
-
],
|
|
2460
|
-
"exports": [
|
|
2461
|
-
{
|
|
2462
|
-
"kind": "js",
|
|
2463
|
-
"name": "foundationAnchorStyles",
|
|
2464
|
-
"declaration": {
|
|
2465
|
-
"name": "foundationAnchorStyles",
|
|
2466
|
-
"module": "src/anchor/anchor.styles.ts"
|
|
2467
|
-
}
|
|
2468
|
-
}
|
|
2469
|
-
]
|
|
2470
|
-
},
|
|
2471
|
-
{
|
|
2472
|
-
"kind": "javascript-module",
|
|
2473
|
-
"path": "src/anchor/anchor.template.ts",
|
|
2474
|
-
"declarations": [
|
|
2475
|
-
{
|
|
2476
|
-
"kind": "function",
|
|
2477
|
-
"name": "foundationAnchorTemplate",
|
|
2478
|
-
"return": {
|
|
2479
|
-
"type": {
|
|
2480
|
-
"text": "ViewTemplate<Anchor>"
|
|
2481
|
-
}
|
|
2482
|
-
},
|
|
2483
|
-
"parameters": [
|
|
2484
|
-
{
|
|
2485
|
-
"name": "context",
|
|
2486
|
-
"type": {
|
|
2487
|
-
"text": "ElementDefinitionContext"
|
|
2488
|
-
}
|
|
2489
|
-
},
|
|
2490
|
-
{
|
|
2491
|
-
"name": "definition",
|
|
2492
|
-
"type": {
|
|
2493
|
-
"text": "FoundationElementDefinition"
|
|
2494
|
-
}
|
|
2495
|
-
}
|
|
2496
|
-
]
|
|
2497
|
-
}
|
|
2498
|
-
],
|
|
2499
|
-
"exports": [
|
|
2500
|
-
{
|
|
2501
|
-
"kind": "js",
|
|
2502
|
-
"name": "foundationAnchorTemplate",
|
|
2503
|
-
"declaration": {
|
|
2504
|
-
"name": "foundationAnchorTemplate",
|
|
2505
|
-
"module": "src/anchor/anchor.template.ts"
|
|
2506
|
-
}
|
|
2507
|
-
}
|
|
2508
|
-
]
|
|
2509
|
-
},
|
|
2510
|
-
{
|
|
2511
|
-
"kind": "javascript-module",
|
|
2512
|
-
"path": "src/anchor/anchor.ts",
|
|
2513
|
-
"declarations": [
|
|
2514
|
-
{
|
|
2515
|
-
"kind": "class",
|
|
2516
|
-
"description": "",
|
|
2517
|
-
"name": "Anchor",
|
|
2518
|
-
"superclass": {
|
|
2519
|
-
"name": "FASTAnchor",
|
|
2520
|
-
"package": "@microsoft/fast-components"
|
|
2521
|
-
},
|
|
2522
|
-
"tagName": "%%prefix%%-anchor",
|
|
2523
|
-
"customElement": true,
|
|
2524
|
-
"attributes": [
|
|
2525
|
-
{
|
|
2526
|
-
"name": "download",
|
|
2527
|
-
"type": {
|
|
2528
|
-
"text": "string"
|
|
2529
|
-
},
|
|
2530
|
-
"description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
2531
|
-
"fieldName": "download",
|
|
2532
|
-
"inheritedFrom": {
|
|
2533
|
-
"name": "Anchor",
|
|
2534
|
-
"module": "src/anchor/anchor.ts"
|
|
2535
|
-
}
|
|
2536
|
-
},
|
|
2537
|
-
{
|
|
2538
|
-
"name": "href",
|
|
2539
|
-
"type": {
|
|
2540
|
-
"text": "string"
|
|
2541
|
-
},
|
|
2542
|
-
"description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
2543
|
-
"fieldName": "href",
|
|
2544
|
-
"inheritedFrom": {
|
|
2545
|
-
"name": "Anchor",
|
|
2546
|
-
"module": "src/anchor/anchor.ts"
|
|
2547
|
-
}
|
|
2548
|
-
},
|
|
2549
|
-
{
|
|
2550
|
-
"name": "hreflang",
|
|
2551
|
-
"type": {
|
|
2552
|
-
"text": "string"
|
|
2553
|
-
},
|
|
2554
|
-
"description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
2555
|
-
"fieldName": "hreflang",
|
|
2556
|
-
"inheritedFrom": {
|
|
2557
|
-
"name": "Anchor",
|
|
2558
|
-
"module": "src/anchor/anchor.ts"
|
|
2559
|
-
}
|
|
2560
|
-
},
|
|
2561
|
-
{
|
|
2562
|
-
"name": "ping",
|
|
2563
|
-
"type": {
|
|
2564
|
-
"text": "string"
|
|
2565
|
-
},
|
|
2566
|
-
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
2567
|
-
"fieldName": "ping",
|
|
2568
|
-
"inheritedFrom": {
|
|
2569
|
-
"name": "Anchor",
|
|
2570
|
-
"module": "src/anchor/anchor.ts"
|
|
2571
|
-
}
|
|
2572
|
-
},
|
|
2573
|
-
{
|
|
2574
|
-
"name": "referrerpolicy",
|
|
2575
|
-
"type": {
|
|
2576
|
-
"text": "string"
|
|
2577
|
-
},
|
|
2578
|
-
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
2579
|
-
"fieldName": "referrerpolicy",
|
|
2580
|
-
"inheritedFrom": {
|
|
2581
|
-
"name": "Anchor",
|
|
2582
|
-
"module": "src/anchor/anchor.ts"
|
|
2583
|
-
}
|
|
2584
|
-
},
|
|
2585
|
-
{
|
|
2586
|
-
"name": "rel",
|
|
2587
|
-
"type": {
|
|
2588
|
-
"text": "string"
|
|
2589
|
-
},
|
|
2590
|
-
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
2591
|
-
"fieldName": "rel",
|
|
2592
|
-
"inheritedFrom": {
|
|
2593
|
-
"name": "Anchor",
|
|
2594
|
-
"module": "src/anchor/anchor.ts"
|
|
2595
|
-
}
|
|
2596
|
-
},
|
|
2597
|
-
{
|
|
2598
|
-
"name": "target",
|
|
2599
|
-
"type": {
|
|
2600
|
-
"text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
|
|
2601
|
-
},
|
|
2602
|
-
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
2603
|
-
"fieldName": "target",
|
|
2604
|
-
"inheritedFrom": {
|
|
2605
|
-
"name": "Anchor",
|
|
2606
|
-
"module": "src/anchor/anchor.ts"
|
|
2607
|
-
}
|
|
2608
|
-
},
|
|
2609
|
-
{
|
|
2610
|
-
"name": "type",
|
|
2611
|
-
"type": {
|
|
2612
|
-
"text": "string"
|
|
2613
|
-
},
|
|
2614
|
-
"description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
|
|
2615
|
-
"fieldName": "type",
|
|
2616
|
-
"inheritedFrom": {
|
|
2617
|
-
"name": "Anchor",
|
|
2618
|
-
"module": "src/anchor/anchor.ts"
|
|
2619
|
-
}
|
|
2620
|
-
}
|
|
2621
|
-
],
|
|
2622
|
-
"members": [
|
|
2623
|
-
{
|
|
2624
|
-
"kind": "field",
|
|
2625
|
-
"name": "download",
|
|
2626
|
-
"type": {
|
|
2627
|
-
"text": "string"
|
|
2628
|
-
},
|
|
2629
|
-
"privacy": "public",
|
|
2630
|
-
"description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
|
|
2631
|
-
"inheritedFrom": {
|
|
2632
|
-
"name": "Anchor",
|
|
2633
|
-
"module": "src/anchor/anchor.ts"
|
|
2634
|
-
}
|
|
2635
|
-
},
|
|
2636
|
-
{
|
|
2637
|
-
"kind": "field",
|
|
2638
|
-
"name": "href",
|
|
2639
|
-
"type": {
|
|
2640
|
-
"text": "string"
|
|
2641
|
-
},
|
|
2642
|
-
"privacy": "public",
|
|
2643
|
-
"description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
|
|
2644
|
-
"inheritedFrom": {
|
|
2645
|
-
"name": "Anchor",
|
|
2646
|
-
"module": "src/anchor/anchor.ts"
|
|
2647
|
-
}
|
|
2648
|
-
},
|
|
2649
|
-
{
|
|
2650
|
-
"kind": "field",
|
|
2651
|
-
"name": "hreflang",
|
|
2652
|
-
"type": {
|
|
2653
|
-
"text": "string"
|
|
2654
|
-
},
|
|
2655
|
-
"privacy": "public",
|
|
2656
|
-
"description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
|
|
2657
|
-
"inheritedFrom": {
|
|
2658
|
-
"name": "Anchor",
|
|
2659
|
-
"module": "src/anchor/anchor.ts"
|
|
2660
|
-
}
|
|
2661
|
-
},
|
|
2662
|
-
{
|
|
2663
|
-
"kind": "field",
|
|
2664
|
-
"name": "ping",
|
|
2665
|
-
"type": {
|
|
2666
|
-
"text": "string"
|
|
2667
|
-
},
|
|
2668
|
-
"privacy": "public",
|
|
2669
|
-
"description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
|
|
2670
|
-
"inheritedFrom": {
|
|
2671
|
-
"name": "Anchor",
|
|
2672
|
-
"module": "src/anchor/anchor.ts"
|
|
2673
|
-
}
|
|
2674
|
-
},
|
|
2675
|
-
{
|
|
2676
|
-
"kind": "field",
|
|
2677
|
-
"name": "referrerpolicy",
|
|
2678
|
-
"type": {
|
|
2679
|
-
"text": "string"
|
|
2680
|
-
},
|
|
2681
|
-
"privacy": "public",
|
|
2682
|
-
"description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
|
|
2683
|
-
"inheritedFrom": {
|
|
2684
|
-
"name": "Anchor",
|
|
2685
|
-
"module": "src/anchor/anchor.ts"
|
|
2686
|
-
}
|
|
2687
|
-
},
|
|
2688
|
-
{
|
|
2689
|
-
"kind": "field",
|
|
2690
|
-
"name": "rel",
|
|
2691
|
-
"type": {
|
|
2692
|
-
"text": "string"
|
|
2693
|
-
},
|
|
2694
|
-
"privacy": "public",
|
|
2695
|
-
"description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
|
|
2696
|
-
"inheritedFrom": {
|
|
2697
|
-
"name": "Anchor",
|
|
2698
|
-
"module": "src/anchor/anchor.ts"
|
|
2699
|
-
}
|
|
2700
|
-
},
|
|
2701
|
-
{
|
|
2702
|
-
"kind": "field",
|
|
2703
|
-
"name": "target",
|
|
2704
|
-
"type": {
|
|
2705
|
-
"text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
|
|
2706
|
-
},
|
|
2707
|
-
"privacy": "public",
|
|
2708
|
-
"description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
|
|
2709
|
-
"inheritedFrom": {
|
|
2710
|
-
"name": "Anchor",
|
|
2711
|
-
"module": "src/anchor/anchor.ts"
|
|
2712
|
-
}
|
|
2713
|
-
},
|
|
2714
|
-
{
|
|
2715
|
-
"kind": "field",
|
|
2716
|
-
"name": "type",
|
|
2717
|
-
"type": {
|
|
2718
|
-
"text": "string"
|
|
2719
|
-
},
|
|
2720
|
-
"privacy": "public",
|
|
2721
|
-
"description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
|
|
2722
|
-
"inheritedFrom": {
|
|
2723
|
-
"name": "Anchor",
|
|
2724
|
-
"module": "src/anchor/anchor.ts"
|
|
2725
|
-
}
|
|
2726
|
-
},
|
|
2727
|
-
{
|
|
2728
|
-
"kind": "field",
|
|
2729
|
-
"name": "control",
|
|
2730
|
-
"type": {
|
|
2731
|
-
"text": "HTMLAnchorElement | undefined"
|
|
2732
|
-
},
|
|
2733
|
-
"privacy": "public",
|
|
2734
|
-
"description": "References the root element",
|
|
2735
|
-
"inheritedFrom": {
|
|
2736
|
-
"name": "Anchor",
|
|
2737
|
-
"module": "src/anchor/anchor.ts"
|
|
2738
|
-
}
|
|
2739
|
-
},
|
|
2740
|
-
{
|
|
2741
|
-
"kind": "field",
|
|
2742
|
-
"name": "handleUnsupportedDelegatesFocus",
|
|
2743
|
-
"privacy": "private",
|
|
2744
|
-
"description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
|
|
2745
|
-
"inheritedFrom": {
|
|
2746
|
-
"name": "Anchor",
|
|
2747
|
-
"module": "src/anchor/anchor.ts"
|
|
2748
|
-
}
|
|
2749
|
-
},
|
|
2750
|
-
{
|
|
2751
|
-
"kind": "field",
|
|
2752
|
-
"name": "_presentation",
|
|
2753
|
-
"type": {
|
|
2754
|
-
"text": "ComponentPresentation | null | undefined"
|
|
2755
|
-
},
|
|
2756
|
-
"privacy": "private",
|
|
2757
|
-
"default": "void 0",
|
|
2758
|
-
"inheritedFrom": {
|
|
2759
|
-
"name": "FoundationElement",
|
|
2760
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2761
|
-
}
|
|
2762
|
-
},
|
|
2763
|
-
{
|
|
2764
|
-
"kind": "field",
|
|
2765
|
-
"name": "$presentation",
|
|
2766
|
-
"type": {
|
|
2767
|
-
"text": "ComponentPresentation | null"
|
|
2768
|
-
},
|
|
2769
|
-
"privacy": "public",
|
|
2770
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2771
|
-
"inheritedFrom": {
|
|
2772
|
-
"name": "FoundationElement",
|
|
2773
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2774
|
-
}
|
|
2775
|
-
},
|
|
2776
|
-
{
|
|
2777
|
-
"kind": "field",
|
|
2778
|
-
"name": "template",
|
|
2779
|
-
"type": {
|
|
2780
|
-
"text": "ElementViewTemplate | void | null"
|
|
2781
|
-
},
|
|
2782
|
-
"privacy": "public",
|
|
2783
|
-
"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.",
|
|
2784
|
-
"inheritedFrom": {
|
|
2785
|
-
"name": "FoundationElement",
|
|
2786
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2787
|
-
}
|
|
2788
|
-
},
|
|
2789
|
-
{
|
|
2790
|
-
"kind": "method",
|
|
2791
|
-
"name": "templateChanged",
|
|
2792
|
-
"privacy": "protected",
|
|
2793
|
-
"return": {
|
|
2794
|
-
"type": {
|
|
2795
|
-
"text": "void"
|
|
2796
|
-
}
|
|
2797
|
-
},
|
|
2798
|
-
"inheritedFrom": {
|
|
2799
|
-
"name": "FoundationElement",
|
|
2800
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2801
|
-
}
|
|
2802
|
-
},
|
|
2803
|
-
{
|
|
2804
|
-
"kind": "field",
|
|
2805
|
-
"name": "styles",
|
|
2806
|
-
"type": {
|
|
2807
|
-
"text": "ElementStyles | void | null"
|
|
2808
|
-
},
|
|
2809
|
-
"privacy": "public",
|
|
2810
|
-
"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.",
|
|
2811
|
-
"inheritedFrom": {
|
|
2812
|
-
"name": "FoundationElement",
|
|
2813
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2814
|
-
}
|
|
2815
|
-
},
|
|
2816
|
-
{
|
|
2817
|
-
"kind": "method",
|
|
2818
|
-
"name": "stylesChanged",
|
|
2819
|
-
"privacy": "protected",
|
|
2820
|
-
"return": {
|
|
2821
|
-
"type": {
|
|
2822
|
-
"text": "void"
|
|
2823
|
-
}
|
|
2824
|
-
},
|
|
2825
|
-
"inheritedFrom": {
|
|
2826
|
-
"name": "FoundationElement",
|
|
2827
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2828
|
-
}
|
|
2829
|
-
},
|
|
2830
|
-
{
|
|
2831
|
-
"kind": "method",
|
|
2832
|
-
"name": "compose",
|
|
2833
|
-
"privacy": "public",
|
|
2834
|
-
"static": true,
|
|
2835
|
-
"return": {
|
|
2836
|
-
"type": {
|
|
2837
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2838
|
-
}
|
|
2839
|
-
},
|
|
2840
|
-
"parameters": [
|
|
2841
|
-
{
|
|
2842
|
-
"name": "this",
|
|
2843
|
-
"type": {
|
|
2844
|
-
"text": "K"
|
|
2845
|
-
}
|
|
2846
|
-
},
|
|
2847
|
-
{
|
|
2848
|
-
"name": "elementDefinition",
|
|
2849
|
-
"type": {
|
|
2850
|
-
"text": "T"
|
|
2851
|
-
},
|
|
2852
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
2853
|
-
}
|
|
2854
|
-
],
|
|
2855
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2856
|
-
"inheritedFrom": {
|
|
2857
|
-
"name": "FoundationElement",
|
|
2858
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2859
|
-
}
|
|
2860
|
-
}
|
|
2861
|
-
]
|
|
2862
|
-
},
|
|
2863
|
-
{
|
|
2864
|
-
"kind": "variable",
|
|
2865
|
-
"name": "foundationAnchorShadowOptions",
|
|
2866
|
-
"type": {
|
|
2867
|
-
"text": "ShadowRootInit"
|
|
2868
|
-
},
|
|
2869
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2870
|
-
},
|
|
2871
|
-
{
|
|
2872
|
-
"kind": "variable",
|
|
2873
|
-
"name": "defaultAnchorConfig",
|
|
2874
|
-
"type": {
|
|
2875
|
-
"text": "object"
|
|
2876
|
-
},
|
|
2877
|
-
"default": "{}"
|
|
2878
|
-
},
|
|
2879
|
-
{
|
|
2880
|
-
"kind": "variable",
|
|
2881
|
-
"name": "foundationAnchor",
|
|
2882
|
-
"description": "The Foundation Anchor",
|
|
2883
|
-
"privacy": "public"
|
|
2884
|
-
}
|
|
2885
|
-
],
|
|
2886
|
-
"exports": [
|
|
2887
|
-
{
|
|
2888
|
-
"kind": "js",
|
|
2889
|
-
"name": "Anchor",
|
|
2890
|
-
"declaration": {
|
|
2891
|
-
"name": "Anchor",
|
|
2892
|
-
"module": "src/anchor/anchor.ts"
|
|
2893
|
-
}
|
|
2894
|
-
},
|
|
2895
|
-
{
|
|
2896
|
-
"kind": "js",
|
|
2897
|
-
"name": "foundationAnchorShadowOptions",
|
|
2898
|
-
"declaration": {
|
|
2899
|
-
"name": "foundationAnchorShadowOptions",
|
|
2900
|
-
"module": "src/anchor/anchor.ts"
|
|
2901
|
-
}
|
|
2902
|
-
},
|
|
2903
|
-
{
|
|
2904
|
-
"kind": "js",
|
|
2905
|
-
"name": "defaultAnchorConfig",
|
|
2906
|
-
"declaration": {
|
|
2907
|
-
"name": "defaultAnchorConfig",
|
|
2908
|
-
"module": "src/anchor/anchor.ts"
|
|
2909
|
-
}
|
|
2910
|
-
},
|
|
2911
|
-
{
|
|
2912
|
-
"kind": "js",
|
|
2913
|
-
"name": "foundationAnchor",
|
|
2914
|
-
"declaration": {
|
|
2915
|
-
"name": "foundationAnchor",
|
|
2916
|
-
"module": "src/anchor/anchor.ts"
|
|
2917
|
-
}
|
|
2918
|
-
}
|
|
2919
|
-
]
|
|
2920
|
-
},
|
|
2921
|
-
{
|
|
2922
|
-
"kind": "javascript-module",
|
|
2923
|
-
"path": "src/anchor/index.ts",
|
|
2924
|
-
"declarations": [],
|
|
2925
|
-
"exports": [
|
|
2926
|
-
{
|
|
2927
|
-
"kind": "js",
|
|
2928
|
-
"name": "*",
|
|
2929
|
-
"declaration": {
|
|
2930
|
-
"name": "*",
|
|
2931
|
-
"package": "./anchor.template"
|
|
2932
|
-
}
|
|
2933
|
-
},
|
|
2934
|
-
{
|
|
2935
|
-
"kind": "js",
|
|
2936
|
-
"name": "*",
|
|
2937
|
-
"declaration": {
|
|
2938
|
-
"name": "*",
|
|
2939
|
-
"package": "./anchor.styles"
|
|
2940
|
-
}
|
|
2941
|
-
},
|
|
2942
|
-
{
|
|
2943
|
-
"kind": "js",
|
|
2944
|
-
"name": "*",
|
|
2945
|
-
"declaration": {
|
|
2946
|
-
"name": "*",
|
|
2947
|
-
"package": "./anchor"
|
|
2948
|
-
}
|
|
2949
|
-
}
|
|
2950
|
-
]
|
|
2951
|
-
},
|
|
2952
|
-
{
|
|
2953
|
-
"kind": "javascript-module",
|
|
2954
|
-
"path": "src/anchored-region/anchor-region.template.ts",
|
|
2955
|
-
"declarations": [
|
|
2956
|
-
{
|
|
2957
|
-
"kind": "function",
|
|
2958
|
-
"name": "foundationAnchoredRegionTemplate",
|
|
2959
|
-
"return": {
|
|
2960
|
-
"type": {
|
|
2961
|
-
"text": "ViewTemplate<AnchoredRegion>"
|
|
2740
|
+
"text": "ViewTemplate<AnchoredRegion>"
|
|
2962
2741
|
}
|
|
2963
2742
|
},
|
|
2964
2743
|
"parameters": [
|
|
@@ -4539,6 +4318,219 @@
|
|
|
4539
4318
|
}
|
|
4540
4319
|
]
|
|
4541
4320
|
},
|
|
4321
|
+
{
|
|
4322
|
+
"kind": "javascript-module",
|
|
4323
|
+
"path": "src/_config/index.ts",
|
|
4324
|
+
"declarations": [],
|
|
4325
|
+
"exports": [
|
|
4326
|
+
{
|
|
4327
|
+
"kind": "js",
|
|
4328
|
+
"name": "*",
|
|
4329
|
+
"declaration": {
|
|
4330
|
+
"name": "*",
|
|
4331
|
+
"package": "./styles"
|
|
4332
|
+
}
|
|
4333
|
+
},
|
|
4334
|
+
{
|
|
4335
|
+
"kind": "js",
|
|
4336
|
+
"name": "*",
|
|
4337
|
+
"declaration": {
|
|
4338
|
+
"name": "*",
|
|
4339
|
+
"package": "./tokens"
|
|
4340
|
+
}
|
|
4341
|
+
},
|
|
4342
|
+
{
|
|
4343
|
+
"kind": "js",
|
|
4344
|
+
"name": "*",
|
|
4345
|
+
"declaration": {
|
|
4346
|
+
"name": "*",
|
|
4347
|
+
"package": "./values"
|
|
4348
|
+
}
|
|
4349
|
+
}
|
|
4350
|
+
]
|
|
4351
|
+
},
|
|
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
|
+
},
|
|
4542
4534
|
{
|
|
4543
4535
|
"kind": "javascript-module",
|
|
4544
4536
|
"path": "src/avatar/avatar.styles.ts",
|
|
@@ -37401,631 +37393,6 @@
|
|
|
37401
37393
|
}
|
|
37402
37394
|
]
|
|
37403
37395
|
},
|
|
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
|
-
},
|
|
38029
37396
|
{
|
|
38030
37397
|
"kind": "javascript-module",
|
|
38031
37398
|
"path": "src/segmented-control/index.ts",
|
|
@@ -46575,361 +45942,6 @@
|
|
|
46575
45942
|
}
|
|
46576
45943
|
]
|
|
46577
45944
|
},
|
|
46578
|
-
{
|
|
46579
|
-
"kind": "javascript-module",
|
|
46580
|
-
"path": "src/toast/index.ts",
|
|
46581
|
-
"declarations": [],
|
|
46582
|
-
"exports": [
|
|
46583
|
-
{
|
|
46584
|
-
"kind": "js",
|
|
46585
|
-
"name": "*",
|
|
46586
|
-
"declaration": {
|
|
46587
|
-
"name": "*",
|
|
46588
|
-
"package": "./toast.styles"
|
|
46589
|
-
}
|
|
46590
|
-
},
|
|
46591
|
-
{
|
|
46592
|
-
"kind": "js",
|
|
46593
|
-
"name": "*",
|
|
46594
|
-
"declaration": {
|
|
46595
|
-
"name": "*",
|
|
46596
|
-
"package": "./toast.template"
|
|
46597
|
-
}
|
|
46598
|
-
},
|
|
46599
|
-
{
|
|
46600
|
-
"kind": "js",
|
|
46601
|
-
"name": "*",
|
|
46602
|
-
"declaration": {
|
|
46603
|
-
"name": "*",
|
|
46604
|
-
"package": "./toast"
|
|
46605
|
-
}
|
|
46606
|
-
}
|
|
46607
|
-
]
|
|
46608
|
-
},
|
|
46609
|
-
{
|
|
46610
|
-
"kind": "javascript-module",
|
|
46611
|
-
"path": "src/toast/toast.styles.ts",
|
|
46612
|
-
"declarations": [
|
|
46613
|
-
{
|
|
46614
|
-
"kind": "variable",
|
|
46615
|
-
"name": "foundationToastStyles",
|
|
46616
|
-
"type": {
|
|
46617
|
-
"text": "ElementStyles"
|
|
46618
|
-
},
|
|
46619
|
-
"default": "css`\n @keyframes append-animate {\n from {\n transform: translateX(100%);\n opacity: 0%;\n }\n\n to {\n transform: translateX(0%);\n opacity: 100%;\n }\n }\n\n @keyframes delete-animate {\n from {\n transform: translateX(0%);\n opacity: 100%;\n }\n\n to {\n transform: translateX(100%);\n opacity: 0%;\n }\n }\n\n :host {\n --toast-min-width: 356px;\n --toast-min-height: 128px;\n --toast-max-width: 356px;\n --toast-max-height: 272px;\n }\n\n .toast {\n animation: append-animate 0.3s linear;\n max-width: var(--toast-max-width);\n min-width: var(--toast-min-width);\n background-color: var(--fill-color);\n border-radius: calc(var(--control-corner-radius) * 1px);\n border-width: thin;\n border-color: var(--neutral-fill-rest);\n box-shadow: 0 2px 15px 0 rgb(0 0 0 / 35%);\n display: flex;\n position: relative;\n flex-direction: row;\n padding: 8px 8px 8px 15px;\n margin: 5px;\n }\n\n .toast-delete {\n animation: delete-animate 0.3s linear;\n opacity: 0%;\n }\n\n .toast::after {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: 5px;\n height: calc(100% - 10px);\n width: 4px;\n border-radius: 2px;\n background-color: red;\n }\n\n .content-wrapper {\n height: fit-content;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: stretch;\n }\n\n .bottom {\n width: 70%;\n }\n\n .top {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n }\n\n .content {\n width: 85%;\n font-size: 12px;\n overflow-wrap: break-word;\n }\n\n ::slotted(*) {\n white-space: pre-line;\n }\n\n .date {\n color: var(--neutral-foreground-hint);\n font-size: 12px;\n margin: 0 0 5px;\n }\n\n .notification-icon {\n margin-right: 6px;\n }\n\n .close-icon {\n cursor: pointer;\n margin-left: auto;\n color: #879ba6;\n }\n`"
|
|
46620
|
-
}
|
|
46621
|
-
],
|
|
46622
|
-
"exports": [
|
|
46623
|
-
{
|
|
46624
|
-
"kind": "js",
|
|
46625
|
-
"name": "foundationToastStyles",
|
|
46626
|
-
"declaration": {
|
|
46627
|
-
"name": "foundationToastStyles",
|
|
46628
|
-
"module": "src/toast/toast.styles.ts"
|
|
46629
|
-
}
|
|
46630
|
-
}
|
|
46631
|
-
]
|
|
46632
|
-
},
|
|
46633
|
-
{
|
|
46634
|
-
"kind": "javascript-module",
|
|
46635
|
-
"path": "src/toast/toast.template.ts",
|
|
46636
|
-
"declarations": [
|
|
46637
|
-
{
|
|
46638
|
-
"kind": "function",
|
|
46639
|
-
"name": "getPrefixedToast",
|
|
46640
|
-
"return": {
|
|
46641
|
-
"type": {
|
|
46642
|
-
"text": "ViewTemplate<Toast>"
|
|
46643
|
-
}
|
|
46644
|
-
},
|
|
46645
|
-
"parameters": [
|
|
46646
|
-
{
|
|
46647
|
-
"name": "prefix",
|
|
46648
|
-
"default": "'zero'"
|
|
46649
|
-
}
|
|
46650
|
-
]
|
|
46651
|
-
},
|
|
46652
|
-
{
|
|
46653
|
-
"kind": "variable",
|
|
46654
|
-
"name": "foundationToastTemplate",
|
|
46655
|
-
"default": "html<Icon>`\n ${(x) => getPrefixedToast(getPrefix(x))}\n`"
|
|
46656
|
-
}
|
|
46657
|
-
],
|
|
46658
|
-
"exports": [
|
|
46659
|
-
{
|
|
46660
|
-
"kind": "js",
|
|
46661
|
-
"name": "getPrefixedToast",
|
|
46662
|
-
"declaration": {
|
|
46663
|
-
"name": "getPrefixedToast",
|
|
46664
|
-
"module": "src/toast/toast.template.ts"
|
|
46665
|
-
}
|
|
46666
|
-
},
|
|
46667
|
-
{
|
|
46668
|
-
"kind": "js",
|
|
46669
|
-
"name": "foundationToastTemplate",
|
|
46670
|
-
"declaration": {
|
|
46671
|
-
"name": "foundationToastTemplate",
|
|
46672
|
-
"module": "src/toast/toast.template.ts"
|
|
46673
|
-
}
|
|
46674
|
-
}
|
|
46675
|
-
]
|
|
46676
|
-
},
|
|
46677
|
-
{
|
|
46678
|
-
"kind": "javascript-module",
|
|
46679
|
-
"path": "src/toast/toast.ts",
|
|
46680
|
-
"declarations": [
|
|
46681
|
-
{
|
|
46682
|
-
"kind": "variable",
|
|
46683
|
-
"name": "foundationToastShadowOptions",
|
|
46684
|
-
"type": {
|
|
46685
|
-
"text": "ShadowRootInit"
|
|
46686
|
-
},
|
|
46687
|
-
"default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
|
|
46688
|
-
},
|
|
46689
|
-
{
|
|
46690
|
-
"kind": "variable",
|
|
46691
|
-
"name": "defaultToastConfig",
|
|
46692
|
-
"type": {
|
|
46693
|
-
"text": "object"
|
|
46694
|
-
},
|
|
46695
|
-
"default": "{}"
|
|
46696
|
-
},
|
|
46697
|
-
{
|
|
46698
|
-
"kind": "class",
|
|
46699
|
-
"description": "",
|
|
46700
|
-
"name": "Toast",
|
|
46701
|
-
"members": [
|
|
46702
|
-
{
|
|
46703
|
-
"kind": "field",
|
|
46704
|
-
"name": "toast",
|
|
46705
|
-
"type": {
|
|
46706
|
-
"text": "HTMLElement"
|
|
46707
|
-
},
|
|
46708
|
-
"privacy": "public"
|
|
46709
|
-
},
|
|
46710
|
-
{
|
|
46711
|
-
"kind": "field",
|
|
46712
|
-
"name": "deleteAnimation",
|
|
46713
|
-
"type": {
|
|
46714
|
-
"text": "string"
|
|
46715
|
-
},
|
|
46716
|
-
"default": "''"
|
|
46717
|
-
},
|
|
46718
|
-
{
|
|
46719
|
-
"kind": "field",
|
|
46720
|
-
"name": "closeTimeout",
|
|
46721
|
-
"type": {
|
|
46722
|
-
"text": "number"
|
|
46723
|
-
},
|
|
46724
|
-
"default": "10000"
|
|
46725
|
-
},
|
|
46726
|
-
{
|
|
46727
|
-
"kind": "field",
|
|
46728
|
-
"name": "autoClose",
|
|
46729
|
-
"type": {
|
|
46730
|
-
"text": "boolean"
|
|
46731
|
-
},
|
|
46732
|
-
"default": "false"
|
|
46733
|
-
},
|
|
46734
|
-
{
|
|
46735
|
-
"kind": "field",
|
|
46736
|
-
"name": "notificationIcon",
|
|
46737
|
-
"type": {
|
|
46738
|
-
"text": "string"
|
|
46739
|
-
}
|
|
46740
|
-
},
|
|
46741
|
-
{
|
|
46742
|
-
"kind": "method",
|
|
46743
|
-
"name": "close",
|
|
46744
|
-
"privacy": "public",
|
|
46745
|
-
"description": "Remove the toast from display."
|
|
46746
|
-
},
|
|
46747
|
-
{
|
|
46748
|
-
"kind": "field",
|
|
46749
|
-
"name": "_presentation",
|
|
46750
|
-
"type": {
|
|
46751
|
-
"text": "ComponentPresentation | null | undefined"
|
|
46752
|
-
},
|
|
46753
|
-
"privacy": "private",
|
|
46754
|
-
"default": "void 0",
|
|
46755
|
-
"inheritedFrom": {
|
|
46756
|
-
"name": "FoundationElement",
|
|
46757
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
46758
|
-
}
|
|
46759
|
-
},
|
|
46760
|
-
{
|
|
46761
|
-
"kind": "field",
|
|
46762
|
-
"name": "$presentation",
|
|
46763
|
-
"type": {
|
|
46764
|
-
"text": "ComponentPresentation | null"
|
|
46765
|
-
},
|
|
46766
|
-
"privacy": "public",
|
|
46767
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
46768
|
-
"inheritedFrom": {
|
|
46769
|
-
"name": "FoundationElement",
|
|
46770
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
46771
|
-
}
|
|
46772
|
-
},
|
|
46773
|
-
{
|
|
46774
|
-
"kind": "field",
|
|
46775
|
-
"name": "template",
|
|
46776
|
-
"type": {
|
|
46777
|
-
"text": "ElementViewTemplate | void | null"
|
|
46778
|
-
},
|
|
46779
|
-
"privacy": "public",
|
|
46780
|
-
"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.",
|
|
46781
|
-
"inheritedFrom": {
|
|
46782
|
-
"name": "FoundationElement",
|
|
46783
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
46784
|
-
}
|
|
46785
|
-
},
|
|
46786
|
-
{
|
|
46787
|
-
"kind": "method",
|
|
46788
|
-
"name": "templateChanged",
|
|
46789
|
-
"privacy": "protected",
|
|
46790
|
-
"return": {
|
|
46791
|
-
"type": {
|
|
46792
|
-
"text": "void"
|
|
46793
|
-
}
|
|
46794
|
-
},
|
|
46795
|
-
"inheritedFrom": {
|
|
46796
|
-
"name": "FoundationElement",
|
|
46797
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
46798
|
-
}
|
|
46799
|
-
},
|
|
46800
|
-
{
|
|
46801
|
-
"kind": "field",
|
|
46802
|
-
"name": "styles",
|
|
46803
|
-
"type": {
|
|
46804
|
-
"text": "ElementStyles | void | null"
|
|
46805
|
-
},
|
|
46806
|
-
"privacy": "public",
|
|
46807
|
-
"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.",
|
|
46808
|
-
"inheritedFrom": {
|
|
46809
|
-
"name": "FoundationElement",
|
|
46810
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
46811
|
-
}
|
|
46812
|
-
},
|
|
46813
|
-
{
|
|
46814
|
-
"kind": "method",
|
|
46815
|
-
"name": "stylesChanged",
|
|
46816
|
-
"privacy": "protected",
|
|
46817
|
-
"return": {
|
|
46818
|
-
"type": {
|
|
46819
|
-
"text": "void"
|
|
46820
|
-
}
|
|
46821
|
-
},
|
|
46822
|
-
"inheritedFrom": {
|
|
46823
|
-
"name": "FoundationElement",
|
|
46824
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
46825
|
-
}
|
|
46826
|
-
},
|
|
46827
|
-
{
|
|
46828
|
-
"kind": "method",
|
|
46829
|
-
"name": "compose",
|
|
46830
|
-
"privacy": "public",
|
|
46831
|
-
"static": true,
|
|
46832
|
-
"return": {
|
|
46833
|
-
"type": {
|
|
46834
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
46835
|
-
}
|
|
46836
|
-
},
|
|
46837
|
-
"parameters": [
|
|
46838
|
-
{
|
|
46839
|
-
"name": "this",
|
|
46840
|
-
"type": {
|
|
46841
|
-
"text": "K"
|
|
46842
|
-
}
|
|
46843
|
-
},
|
|
46844
|
-
{
|
|
46845
|
-
"name": "elementDefinition",
|
|
46846
|
-
"type": {
|
|
46847
|
-
"text": "T"
|
|
46848
|
-
},
|
|
46849
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
46850
|
-
}
|
|
46851
|
-
],
|
|
46852
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
46853
|
-
"inheritedFrom": {
|
|
46854
|
-
"name": "FoundationElement",
|
|
46855
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
46856
|
-
}
|
|
46857
|
-
}
|
|
46858
|
-
],
|
|
46859
|
-
"attributes": [
|
|
46860
|
-
{
|
|
46861
|
-
"name": "close-timeout",
|
|
46862
|
-
"type": {
|
|
46863
|
-
"text": "number"
|
|
46864
|
-
},
|
|
46865
|
-
"default": "10000",
|
|
46866
|
-
"fieldName": "closeTimeout"
|
|
46867
|
-
},
|
|
46868
|
-
{
|
|
46869
|
-
"name": "auto-close",
|
|
46870
|
-
"type": {
|
|
46871
|
-
"text": "boolean"
|
|
46872
|
-
},
|
|
46873
|
-
"default": "false",
|
|
46874
|
-
"fieldName": "autoClose"
|
|
46875
|
-
},
|
|
46876
|
-
{
|
|
46877
|
-
"name": "notification-icon",
|
|
46878
|
-
"type": {
|
|
46879
|
-
"text": "string"
|
|
46880
|
-
},
|
|
46881
|
-
"fieldName": "notificationIcon"
|
|
46882
|
-
}
|
|
46883
|
-
],
|
|
46884
|
-
"superclass": {
|
|
46885
|
-
"name": "FoundationElement",
|
|
46886
|
-
"package": "@microsoft/fast-foundation"
|
|
46887
|
-
},
|
|
46888
|
-
"tagName": "%%prefix%%-toast",
|
|
46889
|
-
"customElement": true
|
|
46890
|
-
},
|
|
46891
|
-
{
|
|
46892
|
-
"kind": "variable",
|
|
46893
|
-
"name": "foundationToast",
|
|
46894
|
-
"description": "The Foundation Toast",
|
|
46895
|
-
"privacy": "public"
|
|
46896
|
-
}
|
|
46897
|
-
],
|
|
46898
|
-
"exports": [
|
|
46899
|
-
{
|
|
46900
|
-
"kind": "js",
|
|
46901
|
-
"name": "foundationToastShadowOptions",
|
|
46902
|
-
"declaration": {
|
|
46903
|
-
"name": "foundationToastShadowOptions",
|
|
46904
|
-
"module": "src/toast/toast.ts"
|
|
46905
|
-
}
|
|
46906
|
-
},
|
|
46907
|
-
{
|
|
46908
|
-
"kind": "js",
|
|
46909
|
-
"name": "defaultToastConfig",
|
|
46910
|
-
"declaration": {
|
|
46911
|
-
"name": "defaultToastConfig",
|
|
46912
|
-
"module": "src/toast/toast.ts"
|
|
46913
|
-
}
|
|
46914
|
-
},
|
|
46915
|
-
{
|
|
46916
|
-
"kind": "js",
|
|
46917
|
-
"name": "Toast",
|
|
46918
|
-
"declaration": {
|
|
46919
|
-
"name": "Toast",
|
|
46920
|
-
"module": "src/toast/toast.ts"
|
|
46921
|
-
}
|
|
46922
|
-
},
|
|
46923
|
-
{
|
|
46924
|
-
"kind": "js",
|
|
46925
|
-
"name": "foundationToast",
|
|
46926
|
-
"declaration": {
|
|
46927
|
-
"name": "foundationToast",
|
|
46928
|
-
"module": "src/toast/toast.ts"
|
|
46929
|
-
}
|
|
46930
|
-
}
|
|
46931
|
-
]
|
|
46932
|
-
},
|
|
46933
45945
|
{
|
|
46934
45946
|
"kind": "javascript-module",
|
|
46935
45947
|
"path": "src/toolbar/index.ts",
|
|
@@ -48134,6 +47146,361 @@
|
|
|
48134
47146
|
}
|
|
48135
47147
|
]
|
|
48136
47148
|
},
|
|
47149
|
+
{
|
|
47150
|
+
"kind": "javascript-module",
|
|
47151
|
+
"path": "src/toast/index.ts",
|
|
47152
|
+
"declarations": [],
|
|
47153
|
+
"exports": [
|
|
47154
|
+
{
|
|
47155
|
+
"kind": "js",
|
|
47156
|
+
"name": "*",
|
|
47157
|
+
"declaration": {
|
|
47158
|
+
"name": "*",
|
|
47159
|
+
"package": "./toast.styles"
|
|
47160
|
+
}
|
|
47161
|
+
},
|
|
47162
|
+
{
|
|
47163
|
+
"kind": "js",
|
|
47164
|
+
"name": "*",
|
|
47165
|
+
"declaration": {
|
|
47166
|
+
"name": "*",
|
|
47167
|
+
"package": "./toast.template"
|
|
47168
|
+
}
|
|
47169
|
+
},
|
|
47170
|
+
{
|
|
47171
|
+
"kind": "js",
|
|
47172
|
+
"name": "*",
|
|
47173
|
+
"declaration": {
|
|
47174
|
+
"name": "*",
|
|
47175
|
+
"package": "./toast"
|
|
47176
|
+
}
|
|
47177
|
+
}
|
|
47178
|
+
]
|
|
47179
|
+
},
|
|
47180
|
+
{
|
|
47181
|
+
"kind": "javascript-module",
|
|
47182
|
+
"path": "src/toast/toast.styles.ts",
|
|
47183
|
+
"declarations": [
|
|
47184
|
+
{
|
|
47185
|
+
"kind": "variable",
|
|
47186
|
+
"name": "foundationToastStyles",
|
|
47187
|
+
"type": {
|
|
47188
|
+
"text": "ElementStyles"
|
|
47189
|
+
},
|
|
47190
|
+
"default": "css`\n @keyframes append-animate {\n from {\n transform: translateX(100%);\n opacity: 0%;\n }\n\n to {\n transform: translateX(0%);\n opacity: 100%;\n }\n }\n\n @keyframes delete-animate {\n from {\n transform: translateX(0%);\n opacity: 100%;\n }\n\n to {\n transform: translateX(100%);\n opacity: 0%;\n }\n }\n\n :host {\n --toast-min-width: 356px;\n --toast-min-height: 128px;\n --toast-max-width: 356px;\n --toast-max-height: 272px;\n }\n\n .toast {\n animation: append-animate 0.3s linear;\n max-width: var(--toast-max-width);\n min-width: var(--toast-min-width);\n background-color: var(--fill-color);\n border-radius: calc(var(--control-corner-radius) * 1px);\n border-width: thin;\n border-color: var(--neutral-fill-rest);\n box-shadow: 0 2px 15px 0 rgb(0 0 0 / 35%);\n display: flex;\n position: relative;\n flex-direction: row;\n padding: 8px 8px 8px 15px;\n margin: 5px;\n }\n\n .toast-delete {\n animation: delete-animate 0.3s linear;\n opacity: 0%;\n }\n\n .toast::after {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: 5px;\n height: calc(100% - 10px);\n width: 4px;\n border-radius: 2px;\n background-color: red;\n }\n\n .content-wrapper {\n height: fit-content;\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: stretch;\n }\n\n .bottom {\n width: 70%;\n }\n\n .top {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n }\n\n .content {\n width: 85%;\n font-size: 12px;\n overflow-wrap: break-word;\n }\n\n ::slotted(*) {\n white-space: pre-line;\n }\n\n .date {\n color: var(--neutral-foreground-hint);\n font-size: 12px;\n margin: 0 0 5px;\n }\n\n .notification-icon {\n margin-right: 6px;\n }\n\n .close-icon {\n cursor: pointer;\n margin-left: auto;\n color: #879ba6;\n }\n`"
|
|
47191
|
+
}
|
|
47192
|
+
],
|
|
47193
|
+
"exports": [
|
|
47194
|
+
{
|
|
47195
|
+
"kind": "js",
|
|
47196
|
+
"name": "foundationToastStyles",
|
|
47197
|
+
"declaration": {
|
|
47198
|
+
"name": "foundationToastStyles",
|
|
47199
|
+
"module": "src/toast/toast.styles.ts"
|
|
47200
|
+
}
|
|
47201
|
+
}
|
|
47202
|
+
]
|
|
47203
|
+
},
|
|
47204
|
+
{
|
|
47205
|
+
"kind": "javascript-module",
|
|
47206
|
+
"path": "src/toast/toast.template.ts",
|
|
47207
|
+
"declarations": [
|
|
47208
|
+
{
|
|
47209
|
+
"kind": "function",
|
|
47210
|
+
"name": "getPrefixedToast",
|
|
47211
|
+
"return": {
|
|
47212
|
+
"type": {
|
|
47213
|
+
"text": "ViewTemplate<Toast>"
|
|
47214
|
+
}
|
|
47215
|
+
},
|
|
47216
|
+
"parameters": [
|
|
47217
|
+
{
|
|
47218
|
+
"name": "prefix",
|
|
47219
|
+
"default": "'zero'"
|
|
47220
|
+
}
|
|
47221
|
+
]
|
|
47222
|
+
},
|
|
47223
|
+
{
|
|
47224
|
+
"kind": "variable",
|
|
47225
|
+
"name": "foundationToastTemplate",
|
|
47226
|
+
"default": "html<Icon>`\n ${(x) => getPrefixedToast(getPrefix(x))}\n`"
|
|
47227
|
+
}
|
|
47228
|
+
],
|
|
47229
|
+
"exports": [
|
|
47230
|
+
{
|
|
47231
|
+
"kind": "js",
|
|
47232
|
+
"name": "getPrefixedToast",
|
|
47233
|
+
"declaration": {
|
|
47234
|
+
"name": "getPrefixedToast",
|
|
47235
|
+
"module": "src/toast/toast.template.ts"
|
|
47236
|
+
}
|
|
47237
|
+
},
|
|
47238
|
+
{
|
|
47239
|
+
"kind": "js",
|
|
47240
|
+
"name": "foundationToastTemplate",
|
|
47241
|
+
"declaration": {
|
|
47242
|
+
"name": "foundationToastTemplate",
|
|
47243
|
+
"module": "src/toast/toast.template.ts"
|
|
47244
|
+
}
|
|
47245
|
+
}
|
|
47246
|
+
]
|
|
47247
|
+
},
|
|
47248
|
+
{
|
|
47249
|
+
"kind": "javascript-module",
|
|
47250
|
+
"path": "src/toast/toast.ts",
|
|
47251
|
+
"declarations": [
|
|
47252
|
+
{
|
|
47253
|
+
"kind": "variable",
|
|
47254
|
+
"name": "foundationToastShadowOptions",
|
|
47255
|
+
"type": {
|
|
47256
|
+
"text": "ShadowRootInit"
|
|
47257
|
+
},
|
|
47258
|
+
"default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
|
|
47259
|
+
},
|
|
47260
|
+
{
|
|
47261
|
+
"kind": "variable",
|
|
47262
|
+
"name": "defaultToastConfig",
|
|
47263
|
+
"type": {
|
|
47264
|
+
"text": "object"
|
|
47265
|
+
},
|
|
47266
|
+
"default": "{}"
|
|
47267
|
+
},
|
|
47268
|
+
{
|
|
47269
|
+
"kind": "class",
|
|
47270
|
+
"description": "",
|
|
47271
|
+
"name": "Toast",
|
|
47272
|
+
"members": [
|
|
47273
|
+
{
|
|
47274
|
+
"kind": "field",
|
|
47275
|
+
"name": "toast",
|
|
47276
|
+
"type": {
|
|
47277
|
+
"text": "HTMLElement"
|
|
47278
|
+
},
|
|
47279
|
+
"privacy": "public"
|
|
47280
|
+
},
|
|
47281
|
+
{
|
|
47282
|
+
"kind": "field",
|
|
47283
|
+
"name": "deleteAnimation",
|
|
47284
|
+
"type": {
|
|
47285
|
+
"text": "string"
|
|
47286
|
+
},
|
|
47287
|
+
"default": "''"
|
|
47288
|
+
},
|
|
47289
|
+
{
|
|
47290
|
+
"kind": "field",
|
|
47291
|
+
"name": "closeTimeout",
|
|
47292
|
+
"type": {
|
|
47293
|
+
"text": "number"
|
|
47294
|
+
},
|
|
47295
|
+
"default": "10000"
|
|
47296
|
+
},
|
|
47297
|
+
{
|
|
47298
|
+
"kind": "field",
|
|
47299
|
+
"name": "autoClose",
|
|
47300
|
+
"type": {
|
|
47301
|
+
"text": "boolean"
|
|
47302
|
+
},
|
|
47303
|
+
"default": "false"
|
|
47304
|
+
},
|
|
47305
|
+
{
|
|
47306
|
+
"kind": "field",
|
|
47307
|
+
"name": "notificationIcon",
|
|
47308
|
+
"type": {
|
|
47309
|
+
"text": "string"
|
|
47310
|
+
}
|
|
47311
|
+
},
|
|
47312
|
+
{
|
|
47313
|
+
"kind": "method",
|
|
47314
|
+
"name": "close",
|
|
47315
|
+
"privacy": "public",
|
|
47316
|
+
"description": "Remove the toast from display."
|
|
47317
|
+
},
|
|
47318
|
+
{
|
|
47319
|
+
"kind": "field",
|
|
47320
|
+
"name": "_presentation",
|
|
47321
|
+
"type": {
|
|
47322
|
+
"text": "ComponentPresentation | null | undefined"
|
|
47323
|
+
},
|
|
47324
|
+
"privacy": "private",
|
|
47325
|
+
"default": "void 0",
|
|
47326
|
+
"inheritedFrom": {
|
|
47327
|
+
"name": "FoundationElement",
|
|
47328
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
47329
|
+
}
|
|
47330
|
+
},
|
|
47331
|
+
{
|
|
47332
|
+
"kind": "field",
|
|
47333
|
+
"name": "$presentation",
|
|
47334
|
+
"type": {
|
|
47335
|
+
"text": "ComponentPresentation | null"
|
|
47336
|
+
},
|
|
47337
|
+
"privacy": "public",
|
|
47338
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
47339
|
+
"inheritedFrom": {
|
|
47340
|
+
"name": "FoundationElement",
|
|
47341
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
47342
|
+
}
|
|
47343
|
+
},
|
|
47344
|
+
{
|
|
47345
|
+
"kind": "field",
|
|
47346
|
+
"name": "template",
|
|
47347
|
+
"type": {
|
|
47348
|
+
"text": "ElementViewTemplate | void | null"
|
|
47349
|
+
},
|
|
47350
|
+
"privacy": "public",
|
|
47351
|
+
"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.",
|
|
47352
|
+
"inheritedFrom": {
|
|
47353
|
+
"name": "FoundationElement",
|
|
47354
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
47355
|
+
}
|
|
47356
|
+
},
|
|
47357
|
+
{
|
|
47358
|
+
"kind": "method",
|
|
47359
|
+
"name": "templateChanged",
|
|
47360
|
+
"privacy": "protected",
|
|
47361
|
+
"return": {
|
|
47362
|
+
"type": {
|
|
47363
|
+
"text": "void"
|
|
47364
|
+
}
|
|
47365
|
+
},
|
|
47366
|
+
"inheritedFrom": {
|
|
47367
|
+
"name": "FoundationElement",
|
|
47368
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
47369
|
+
}
|
|
47370
|
+
},
|
|
47371
|
+
{
|
|
47372
|
+
"kind": "field",
|
|
47373
|
+
"name": "styles",
|
|
47374
|
+
"type": {
|
|
47375
|
+
"text": "ElementStyles | void | null"
|
|
47376
|
+
},
|
|
47377
|
+
"privacy": "public",
|
|
47378
|
+
"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.",
|
|
47379
|
+
"inheritedFrom": {
|
|
47380
|
+
"name": "FoundationElement",
|
|
47381
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
47382
|
+
}
|
|
47383
|
+
},
|
|
47384
|
+
{
|
|
47385
|
+
"kind": "method",
|
|
47386
|
+
"name": "stylesChanged",
|
|
47387
|
+
"privacy": "protected",
|
|
47388
|
+
"return": {
|
|
47389
|
+
"type": {
|
|
47390
|
+
"text": "void"
|
|
47391
|
+
}
|
|
47392
|
+
},
|
|
47393
|
+
"inheritedFrom": {
|
|
47394
|
+
"name": "FoundationElement",
|
|
47395
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
47396
|
+
}
|
|
47397
|
+
},
|
|
47398
|
+
{
|
|
47399
|
+
"kind": "method",
|
|
47400
|
+
"name": "compose",
|
|
47401
|
+
"privacy": "public",
|
|
47402
|
+
"static": true,
|
|
47403
|
+
"return": {
|
|
47404
|
+
"type": {
|
|
47405
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
47406
|
+
}
|
|
47407
|
+
},
|
|
47408
|
+
"parameters": [
|
|
47409
|
+
{
|
|
47410
|
+
"name": "this",
|
|
47411
|
+
"type": {
|
|
47412
|
+
"text": "K"
|
|
47413
|
+
}
|
|
47414
|
+
},
|
|
47415
|
+
{
|
|
47416
|
+
"name": "elementDefinition",
|
|
47417
|
+
"type": {
|
|
47418
|
+
"text": "T"
|
|
47419
|
+
},
|
|
47420
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
47421
|
+
}
|
|
47422
|
+
],
|
|
47423
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
47424
|
+
"inheritedFrom": {
|
|
47425
|
+
"name": "FoundationElement",
|
|
47426
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
47427
|
+
}
|
|
47428
|
+
}
|
|
47429
|
+
],
|
|
47430
|
+
"attributes": [
|
|
47431
|
+
{
|
|
47432
|
+
"name": "close-timeout",
|
|
47433
|
+
"type": {
|
|
47434
|
+
"text": "number"
|
|
47435
|
+
},
|
|
47436
|
+
"default": "10000",
|
|
47437
|
+
"fieldName": "closeTimeout"
|
|
47438
|
+
},
|
|
47439
|
+
{
|
|
47440
|
+
"name": "auto-close",
|
|
47441
|
+
"type": {
|
|
47442
|
+
"text": "boolean"
|
|
47443
|
+
},
|
|
47444
|
+
"default": "false",
|
|
47445
|
+
"fieldName": "autoClose"
|
|
47446
|
+
},
|
|
47447
|
+
{
|
|
47448
|
+
"name": "notification-icon",
|
|
47449
|
+
"type": {
|
|
47450
|
+
"text": "string"
|
|
47451
|
+
},
|
|
47452
|
+
"fieldName": "notificationIcon"
|
|
47453
|
+
}
|
|
47454
|
+
],
|
|
47455
|
+
"superclass": {
|
|
47456
|
+
"name": "FoundationElement",
|
|
47457
|
+
"package": "@microsoft/fast-foundation"
|
|
47458
|
+
},
|
|
47459
|
+
"tagName": "%%prefix%%-toast",
|
|
47460
|
+
"customElement": true
|
|
47461
|
+
},
|
|
47462
|
+
{
|
|
47463
|
+
"kind": "variable",
|
|
47464
|
+
"name": "foundationToast",
|
|
47465
|
+
"description": "The Foundation Toast",
|
|
47466
|
+
"privacy": "public"
|
|
47467
|
+
}
|
|
47468
|
+
],
|
|
47469
|
+
"exports": [
|
|
47470
|
+
{
|
|
47471
|
+
"kind": "js",
|
|
47472
|
+
"name": "foundationToastShadowOptions",
|
|
47473
|
+
"declaration": {
|
|
47474
|
+
"name": "foundationToastShadowOptions",
|
|
47475
|
+
"module": "src/toast/toast.ts"
|
|
47476
|
+
}
|
|
47477
|
+
},
|
|
47478
|
+
{
|
|
47479
|
+
"kind": "js",
|
|
47480
|
+
"name": "defaultToastConfig",
|
|
47481
|
+
"declaration": {
|
|
47482
|
+
"name": "defaultToastConfig",
|
|
47483
|
+
"module": "src/toast/toast.ts"
|
|
47484
|
+
}
|
|
47485
|
+
},
|
|
47486
|
+
{
|
|
47487
|
+
"kind": "js",
|
|
47488
|
+
"name": "Toast",
|
|
47489
|
+
"declaration": {
|
|
47490
|
+
"name": "Toast",
|
|
47491
|
+
"module": "src/toast/toast.ts"
|
|
47492
|
+
}
|
|
47493
|
+
},
|
|
47494
|
+
{
|
|
47495
|
+
"kind": "js",
|
|
47496
|
+
"name": "foundationToast",
|
|
47497
|
+
"declaration": {
|
|
47498
|
+
"name": "foundationToast",
|
|
47499
|
+
"module": "src/toast/toast.ts"
|
|
47500
|
+
}
|
|
47501
|
+
}
|
|
47502
|
+
]
|
|
47503
|
+
},
|
|
48137
47504
|
{
|
|
48138
47505
|
"kind": "javascript-module",
|
|
48139
47506
|
"path": "src/tree-item/index.ts",
|