@genesislcap/foundation-ui 14.341.0 → 14.343.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1730 -190
- package/dist/dts/base-components.d.ts +11 -0
- package/dist/dts/base-components.d.ts.map +1 -1
- package/dist/dts/dialog/dialog.d.ts +28 -3
- package/dist/dts/dialog/dialog.d.ts.map +1 -1
- package/dist/dts/dialog/dialog.styles.d.ts.map +1 -1
- package/dist/dts/dialog/dialog.template.d.ts.map +1 -1
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/section-navigator/index.d.ts +4 -0
- package/dist/dts/section-navigator/index.d.ts.map +1 -0
- package/dist/dts/section-navigator/section-navigator.d.ts +152 -0
- package/dist/dts/section-navigator/section-navigator.d.ts.map +1 -0
- package/dist/dts/section-navigator/section-navigator.styles.d.ts +3 -0
- package/dist/dts/section-navigator/section-navigator.styles.d.ts.map +1 -0
- package/dist/dts/section-navigator/section-navigator.template.d.ts +4 -0
- package/dist/dts/section-navigator/section-navigator.template.d.ts.map +1 -0
- package/dist/esm/base-components.js +2 -0
- package/dist/esm/dialog/dialog.js +217 -0
- package/dist/esm/dialog/dialog.styles.js +142 -0
- package/dist/esm/dialog/dialog.template.js +10 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/section-navigator/index.js +3 -0
- package/dist/esm/section-navigator/section-navigator.js +561 -0
- package/dist/esm/section-navigator/section-navigator.styles.js +195 -0
- package/dist/esm/section-navigator/section-navigator.template.js +49 -0
- package/package.json +18 -18
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"type": {
|
|
13
13
|
"text": "object"
|
|
14
14
|
},
|
|
15
|
-
"default": "{\n foundationAccordion,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumb,\n foundationBreadcrumbItem,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBanner,\n foundationErrorBoundary,\n foundationErrorDialog,\n foundationFileReader,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationPopper,\n foundationProgress,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationScheduler,\n foundationSchedulerCronBuilder,\n foundationSchedulerTimezone,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStackingIcons,\n foundationStatusPill,\n foundationEnvironmentIndicator,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationSystemHealthOverlay,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
|
|
15
|
+
"default": "{\n foundationAccordion,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumb,\n foundationBreadcrumbItem,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBanner,\n foundationErrorBoundary,\n foundationErrorDialog,\n foundationFileReader,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationPopper,\n foundationProgress,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationScheduler,\n foundationSchedulerCronBuilder,\n foundationSchedulerTimezone,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStackingIcons,\n foundationStatusPill,\n foundationEnvironmentIndicator,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationSystemHealthOverlay,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n foundationSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"exports": [
|
|
@@ -604,6 +604,14 @@
|
|
|
604
604
|
"package": "./search-bar"
|
|
605
605
|
}
|
|
606
606
|
},
|
|
607
|
+
{
|
|
608
|
+
"kind": "js",
|
|
609
|
+
"name": "*",
|
|
610
|
+
"declaration": {
|
|
611
|
+
"name": "*",
|
|
612
|
+
"package": "./section-navigator"
|
|
613
|
+
}
|
|
614
|
+
},
|
|
607
615
|
{
|
|
608
616
|
"kind": "js",
|
|
609
617
|
"name": "*",
|
|
@@ -1255,37 +1263,6 @@
|
|
|
1255
1263
|
}
|
|
1256
1264
|
]
|
|
1257
1265
|
},
|
|
1258
|
-
{
|
|
1259
|
-
"kind": "javascript-module",
|
|
1260
|
-
"path": "src/_config/index.ts",
|
|
1261
|
-
"declarations": [],
|
|
1262
|
-
"exports": [
|
|
1263
|
-
{
|
|
1264
|
-
"kind": "js",
|
|
1265
|
-
"name": "*",
|
|
1266
|
-
"declaration": {
|
|
1267
|
-
"name": "*",
|
|
1268
|
-
"package": "./styles"
|
|
1269
|
-
}
|
|
1270
|
-
},
|
|
1271
|
-
{
|
|
1272
|
-
"kind": "js",
|
|
1273
|
-
"name": "*",
|
|
1274
|
-
"declaration": {
|
|
1275
|
-
"name": "*",
|
|
1276
|
-
"package": "./tokens"
|
|
1277
|
-
}
|
|
1278
|
-
},
|
|
1279
|
-
{
|
|
1280
|
-
"kind": "js",
|
|
1281
|
-
"name": "*",
|
|
1282
|
-
"declaration": {
|
|
1283
|
-
"name": "*",
|
|
1284
|
-
"package": "./values"
|
|
1285
|
-
}
|
|
1286
|
-
}
|
|
1287
|
-
]
|
|
1288
|
-
},
|
|
1289
1266
|
{
|
|
1290
1267
|
"kind": "javascript-module",
|
|
1291
1268
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1682,158 +1659,7 @@
|
|
|
1682
1659
|
},
|
|
1683
1660
|
{
|
|
1684
1661
|
"kind": "javascript-module",
|
|
1685
|
-
"path": "src/
|
|
1686
|
-
"declarations": [
|
|
1687
|
-
{
|
|
1688
|
-
"kind": "function",
|
|
1689
|
-
"name": "foundationAccordionStyles",
|
|
1690
|
-
"return": {
|
|
1691
|
-
"type": {
|
|
1692
|
-
"text": "ElementStyles"
|
|
1693
|
-
}
|
|
1694
|
-
},
|
|
1695
|
-
"parameters": [
|
|
1696
|
-
{
|
|
1697
|
-
"name": "context",
|
|
1698
|
-
"type": {
|
|
1699
|
-
"text": "ElementDefinitionContext"
|
|
1700
|
-
}
|
|
1701
|
-
},
|
|
1702
|
-
{
|
|
1703
|
-
"name": "definition",
|
|
1704
|
-
"type": {
|
|
1705
|
-
"text": "FoundationElementDefinition"
|
|
1706
|
-
}
|
|
1707
|
-
}
|
|
1708
|
-
]
|
|
1709
|
-
}
|
|
1710
|
-
],
|
|
1711
|
-
"exports": [
|
|
1712
|
-
{
|
|
1713
|
-
"kind": "js",
|
|
1714
|
-
"name": "foundationAccordionStyles",
|
|
1715
|
-
"declaration": {
|
|
1716
|
-
"name": "foundationAccordionStyles",
|
|
1717
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1718
|
-
}
|
|
1719
|
-
}
|
|
1720
|
-
]
|
|
1721
|
-
},
|
|
1722
|
-
{
|
|
1723
|
-
"kind": "javascript-module",
|
|
1724
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1725
|
-
"declarations": [
|
|
1726
|
-
{
|
|
1727
|
-
"kind": "function",
|
|
1728
|
-
"name": "foundationAccordionTemplate",
|
|
1729
|
-
"return": {
|
|
1730
|
-
"type": {
|
|
1731
|
-
"text": "ViewTemplate<Accordion>"
|
|
1732
|
-
}
|
|
1733
|
-
},
|
|
1734
|
-
"parameters": [
|
|
1735
|
-
{
|
|
1736
|
-
"name": "context",
|
|
1737
|
-
"type": {
|
|
1738
|
-
"text": "ElementDefinitionContext"
|
|
1739
|
-
}
|
|
1740
|
-
},
|
|
1741
|
-
{
|
|
1742
|
-
"name": "definition",
|
|
1743
|
-
"type": {
|
|
1744
|
-
"text": "FoundationElementDefinition"
|
|
1745
|
-
}
|
|
1746
|
-
}
|
|
1747
|
-
]
|
|
1748
|
-
}
|
|
1749
|
-
],
|
|
1750
|
-
"exports": [
|
|
1751
|
-
{
|
|
1752
|
-
"kind": "js",
|
|
1753
|
-
"name": "foundationAccordionTemplate",
|
|
1754
|
-
"declaration": {
|
|
1755
|
-
"name": "foundationAccordionTemplate",
|
|
1756
|
-
"module": "src/accordion/accordion.template.ts"
|
|
1757
|
-
}
|
|
1758
|
-
}
|
|
1759
|
-
]
|
|
1760
|
-
},
|
|
1761
|
-
{
|
|
1762
|
-
"kind": "javascript-module",
|
|
1763
|
-
"path": "src/accordion/accordion.ts",
|
|
1764
|
-
"declarations": [
|
|
1765
|
-
{
|
|
1766
|
-
"kind": "class",
|
|
1767
|
-
"description": "",
|
|
1768
|
-
"name": "Accordion",
|
|
1769
|
-
"superclass": {
|
|
1770
|
-
"name": "FASTAccordion",
|
|
1771
|
-
"package": "@microsoft/fast-foundation"
|
|
1772
|
-
},
|
|
1773
|
-
"tagName": "%%prefix%%-accordion",
|
|
1774
|
-
"customElement": true
|
|
1775
|
-
},
|
|
1776
|
-
{
|
|
1777
|
-
"kind": "variable",
|
|
1778
|
-
"name": "foundationAccordionShadowOptions",
|
|
1779
|
-
"type": {
|
|
1780
|
-
"text": "ShadowRootInit"
|
|
1781
|
-
},
|
|
1782
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1783
|
-
},
|
|
1784
|
-
{
|
|
1785
|
-
"kind": "variable",
|
|
1786
|
-
"name": "defaultAccordionConfig",
|
|
1787
|
-
"type": {
|
|
1788
|
-
"text": "object"
|
|
1789
|
-
},
|
|
1790
|
-
"default": "{}"
|
|
1791
|
-
},
|
|
1792
|
-
{
|
|
1793
|
-
"kind": "variable",
|
|
1794
|
-
"name": "foundationAccordion",
|
|
1795
|
-
"description": "The Foundation Accordion",
|
|
1796
|
-
"privacy": "public"
|
|
1797
|
-
}
|
|
1798
|
-
],
|
|
1799
|
-
"exports": [
|
|
1800
|
-
{
|
|
1801
|
-
"kind": "js",
|
|
1802
|
-
"name": "Accordion",
|
|
1803
|
-
"declaration": {
|
|
1804
|
-
"name": "Accordion",
|
|
1805
|
-
"module": "src/accordion/accordion.ts"
|
|
1806
|
-
}
|
|
1807
|
-
},
|
|
1808
|
-
{
|
|
1809
|
-
"kind": "js",
|
|
1810
|
-
"name": "foundationAccordionShadowOptions",
|
|
1811
|
-
"declaration": {
|
|
1812
|
-
"name": "foundationAccordionShadowOptions",
|
|
1813
|
-
"module": "src/accordion/accordion.ts"
|
|
1814
|
-
}
|
|
1815
|
-
},
|
|
1816
|
-
{
|
|
1817
|
-
"kind": "js",
|
|
1818
|
-
"name": "defaultAccordionConfig",
|
|
1819
|
-
"declaration": {
|
|
1820
|
-
"name": "defaultAccordionConfig",
|
|
1821
|
-
"module": "src/accordion/accordion.ts"
|
|
1822
|
-
}
|
|
1823
|
-
},
|
|
1824
|
-
{
|
|
1825
|
-
"kind": "js",
|
|
1826
|
-
"name": "foundationAccordion",
|
|
1827
|
-
"declaration": {
|
|
1828
|
-
"name": "foundationAccordion",
|
|
1829
|
-
"module": "src/accordion/accordion.ts"
|
|
1830
|
-
}
|
|
1831
|
-
}
|
|
1832
|
-
]
|
|
1833
|
-
},
|
|
1834
|
-
{
|
|
1835
|
-
"kind": "javascript-module",
|
|
1836
|
-
"path": "src/accordion/index.ts",
|
|
1662
|
+
"path": "src/_config/index.ts",
|
|
1837
1663
|
"declarations": [],
|
|
1838
1664
|
"exports": [
|
|
1839
1665
|
{
|
|
@@ -1841,7 +1667,7 @@
|
|
|
1841
1667
|
"name": "*",
|
|
1842
1668
|
"declaration": {
|
|
1843
1669
|
"name": "*",
|
|
1844
|
-
"package": "./
|
|
1670
|
+
"package": "./styles"
|
|
1845
1671
|
}
|
|
1846
1672
|
},
|
|
1847
1673
|
{
|
|
@@ -1849,7 +1675,7 @@
|
|
|
1849
1675
|
"name": "*",
|
|
1850
1676
|
"declaration": {
|
|
1851
1677
|
"name": "*",
|
|
1852
|
-
"package": "./
|
|
1678
|
+
"package": "./tokens"
|
|
1853
1679
|
}
|
|
1854
1680
|
},
|
|
1855
1681
|
{
|
|
@@ -1857,7 +1683,7 @@
|
|
|
1857
1683
|
"name": "*",
|
|
1858
1684
|
"declaration": {
|
|
1859
1685
|
"name": "*",
|
|
1860
|
-
"package": "./
|
|
1686
|
+
"package": "./values"
|
|
1861
1687
|
}
|
|
1862
1688
|
}
|
|
1863
1689
|
]
|
|
@@ -2941,6 +2767,188 @@
|
|
|
2941
2767
|
}
|
|
2942
2768
|
]
|
|
2943
2769
|
},
|
|
2770
|
+
{
|
|
2771
|
+
"kind": "javascript-module",
|
|
2772
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
2773
|
+
"declarations": [
|
|
2774
|
+
{
|
|
2775
|
+
"kind": "function",
|
|
2776
|
+
"name": "foundationAccordionStyles",
|
|
2777
|
+
"return": {
|
|
2778
|
+
"type": {
|
|
2779
|
+
"text": "ElementStyles"
|
|
2780
|
+
}
|
|
2781
|
+
},
|
|
2782
|
+
"parameters": [
|
|
2783
|
+
{
|
|
2784
|
+
"name": "context",
|
|
2785
|
+
"type": {
|
|
2786
|
+
"text": "ElementDefinitionContext"
|
|
2787
|
+
}
|
|
2788
|
+
},
|
|
2789
|
+
{
|
|
2790
|
+
"name": "definition",
|
|
2791
|
+
"type": {
|
|
2792
|
+
"text": "FoundationElementDefinition"
|
|
2793
|
+
}
|
|
2794
|
+
}
|
|
2795
|
+
]
|
|
2796
|
+
}
|
|
2797
|
+
],
|
|
2798
|
+
"exports": [
|
|
2799
|
+
{
|
|
2800
|
+
"kind": "js",
|
|
2801
|
+
"name": "foundationAccordionStyles",
|
|
2802
|
+
"declaration": {
|
|
2803
|
+
"name": "foundationAccordionStyles",
|
|
2804
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
2805
|
+
}
|
|
2806
|
+
}
|
|
2807
|
+
]
|
|
2808
|
+
},
|
|
2809
|
+
{
|
|
2810
|
+
"kind": "javascript-module",
|
|
2811
|
+
"path": "src/accordion/accordion.template.ts",
|
|
2812
|
+
"declarations": [
|
|
2813
|
+
{
|
|
2814
|
+
"kind": "function",
|
|
2815
|
+
"name": "foundationAccordionTemplate",
|
|
2816
|
+
"return": {
|
|
2817
|
+
"type": {
|
|
2818
|
+
"text": "ViewTemplate<Accordion>"
|
|
2819
|
+
}
|
|
2820
|
+
},
|
|
2821
|
+
"parameters": [
|
|
2822
|
+
{
|
|
2823
|
+
"name": "context",
|
|
2824
|
+
"type": {
|
|
2825
|
+
"text": "ElementDefinitionContext"
|
|
2826
|
+
}
|
|
2827
|
+
},
|
|
2828
|
+
{
|
|
2829
|
+
"name": "definition",
|
|
2830
|
+
"type": {
|
|
2831
|
+
"text": "FoundationElementDefinition"
|
|
2832
|
+
}
|
|
2833
|
+
}
|
|
2834
|
+
]
|
|
2835
|
+
}
|
|
2836
|
+
],
|
|
2837
|
+
"exports": [
|
|
2838
|
+
{
|
|
2839
|
+
"kind": "js",
|
|
2840
|
+
"name": "foundationAccordionTemplate",
|
|
2841
|
+
"declaration": {
|
|
2842
|
+
"name": "foundationAccordionTemplate",
|
|
2843
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2844
|
+
}
|
|
2845
|
+
}
|
|
2846
|
+
]
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
"kind": "javascript-module",
|
|
2850
|
+
"path": "src/accordion/accordion.ts",
|
|
2851
|
+
"declarations": [
|
|
2852
|
+
{
|
|
2853
|
+
"kind": "class",
|
|
2854
|
+
"description": "",
|
|
2855
|
+
"name": "Accordion",
|
|
2856
|
+
"superclass": {
|
|
2857
|
+
"name": "FASTAccordion",
|
|
2858
|
+
"package": "@microsoft/fast-foundation"
|
|
2859
|
+
},
|
|
2860
|
+
"tagName": "%%prefix%%-accordion",
|
|
2861
|
+
"customElement": true
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"kind": "variable",
|
|
2865
|
+
"name": "foundationAccordionShadowOptions",
|
|
2866
|
+
"type": {
|
|
2867
|
+
"text": "ShadowRootInit"
|
|
2868
|
+
},
|
|
2869
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2870
|
+
},
|
|
2871
|
+
{
|
|
2872
|
+
"kind": "variable",
|
|
2873
|
+
"name": "defaultAccordionConfig",
|
|
2874
|
+
"type": {
|
|
2875
|
+
"text": "object"
|
|
2876
|
+
},
|
|
2877
|
+
"default": "{}"
|
|
2878
|
+
},
|
|
2879
|
+
{
|
|
2880
|
+
"kind": "variable",
|
|
2881
|
+
"name": "foundationAccordion",
|
|
2882
|
+
"description": "The Foundation Accordion",
|
|
2883
|
+
"privacy": "public"
|
|
2884
|
+
}
|
|
2885
|
+
],
|
|
2886
|
+
"exports": [
|
|
2887
|
+
{
|
|
2888
|
+
"kind": "js",
|
|
2889
|
+
"name": "Accordion",
|
|
2890
|
+
"declaration": {
|
|
2891
|
+
"name": "Accordion",
|
|
2892
|
+
"module": "src/accordion/accordion.ts"
|
|
2893
|
+
}
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"kind": "js",
|
|
2897
|
+
"name": "foundationAccordionShadowOptions",
|
|
2898
|
+
"declaration": {
|
|
2899
|
+
"name": "foundationAccordionShadowOptions",
|
|
2900
|
+
"module": "src/accordion/accordion.ts"
|
|
2901
|
+
}
|
|
2902
|
+
},
|
|
2903
|
+
{
|
|
2904
|
+
"kind": "js",
|
|
2905
|
+
"name": "defaultAccordionConfig",
|
|
2906
|
+
"declaration": {
|
|
2907
|
+
"name": "defaultAccordionConfig",
|
|
2908
|
+
"module": "src/accordion/accordion.ts"
|
|
2909
|
+
}
|
|
2910
|
+
},
|
|
2911
|
+
{
|
|
2912
|
+
"kind": "js",
|
|
2913
|
+
"name": "foundationAccordion",
|
|
2914
|
+
"declaration": {
|
|
2915
|
+
"name": "foundationAccordion",
|
|
2916
|
+
"module": "src/accordion/accordion.ts"
|
|
2917
|
+
}
|
|
2918
|
+
}
|
|
2919
|
+
]
|
|
2920
|
+
},
|
|
2921
|
+
{
|
|
2922
|
+
"kind": "javascript-module",
|
|
2923
|
+
"path": "src/accordion/index.ts",
|
|
2924
|
+
"declarations": [],
|
|
2925
|
+
"exports": [
|
|
2926
|
+
{
|
|
2927
|
+
"kind": "js",
|
|
2928
|
+
"name": "*",
|
|
2929
|
+
"declaration": {
|
|
2930
|
+
"name": "*",
|
|
2931
|
+
"package": "./accordion.template"
|
|
2932
|
+
}
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"kind": "js",
|
|
2936
|
+
"name": "*",
|
|
2937
|
+
"declaration": {
|
|
2938
|
+
"name": "*",
|
|
2939
|
+
"package": "./accordion.styles"
|
|
2940
|
+
}
|
|
2941
|
+
},
|
|
2942
|
+
{
|
|
2943
|
+
"kind": "js",
|
|
2944
|
+
"name": "*",
|
|
2945
|
+
"declaration": {
|
|
2946
|
+
"name": "*",
|
|
2947
|
+
"package": "./accordion"
|
|
2948
|
+
}
|
|
2949
|
+
}
|
|
2950
|
+
]
|
|
2951
|
+
},
|
|
2944
2952
|
{
|
|
2945
2953
|
"kind": "javascript-module",
|
|
2946
2954
|
"path": "src/anchored-region/anchor-region.template.ts",
|
|
@@ -14538,7 +14546,7 @@
|
|
|
14538
14546
|
"type": {
|
|
14539
14547
|
"text": "ElementStyles"
|
|
14540
14548
|
},
|
|
14541
|
-
"default": "css`\n :host {\n --dialog-close-icon-display: flex;\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n dialog[type='error'],\n dialog[type='success'] {\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);\n }\n\n dialog[type='error']::before,\n dialog[type='success']::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--design-unit) * 3px - 2px);\n height: calc(100% - (var(--design-unit) * 4px));\n width: 4px;\n border-radius: 2px;\n }\n\n dialog[type='error']::before {\n background-color: var(--error-color);\n }\n\n dialog[type='success']::before {\n background-color: var(--success-color);\n }\n\n .close-icon {\n display: var(--dialog-close-icon-display);\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 4px);\n outline: none;\n overflow: inherit;\n }\n\n :host([position='right']) dialog .content-wrapper,\n :host([position='left']) dialog .content-wrapper,\n :host([position='left']) dialog,\n :host([position='right']) dialog {\n height: 100%;\n }\n\n :host([position='left']) dialog {\n margin-left: 0;\n }\n\n :host([position='right']) dialog {\n margin-right: 0;\n }\n\n ::slotted(zero-divider) {\n width: 100%;\n }\n\n .title {\n margin-top: calc(var(--design-unit) * 2px);\n font-size: 14px;\n }\n\n .details {\n font-size: 12px;\n overflow: hidden;\n min-height: var(--notification-details-min-height);\n white-space: pre-line;\n }\n`"
|
|
14549
|
+
"default": "css`\n :host {\n --dialog-close-icon-display: flex;\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n dialog[type='error'],\n dialog[type='success'] {\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);\n }\n\n dialog[type='error']::before,\n dialog[type='success']::before {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: calc(var(--design-unit) * 3px - 2px);\n height: calc(100% - (var(--design-unit) * 4px));\n width: 4px;\n border-radius: 2px;\n }\n\n dialog[type='error']::before {\n background-color: var(--error-color);\n }\n\n dialog[type='success']::before {\n background-color: var(--success-color);\n }\n\n .close-icon {\n display: var(--dialog-close-icon-display);\n }\n\n dialog {\n background-color: var(--dialog-background, var(--fill-color));\n padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)\n calc(var(--design-unit) * 4px);\n outline: none;\n overflow: inherit;\n }\n\n :host([position='right']) dialog .content-wrapper,\n :host([position='left']) dialog .content-wrapper,\n :host([position='left']) dialog,\n :host([position='right']) dialog {\n height: 100%;\n }\n\n :host([position='left']) dialog {\n margin-left: 0;\n }\n\n :host([position='right']) dialog {\n margin-right: 0;\n }\n\n ::slotted(zero-divider) {\n width: 100%;\n }\n\n .title {\n margin-top: calc(var(--design-unit) * 2px);\n font-size: 14px;\n }\n\n .details {\n font-size: 12px;\n overflow: hidden;\n min-height: var(--notification-details-min-height);\n white-space: pre-line;\n }\n\n :host([resizable]) dialog {\n position: relative;\n box-sizing: border-box;\n }\n\n :host([resizable]) dialog .content-wrapper {\n position: relative;\n height: 100%;\n width: 100%;\n min-width: 100%;\n max-width: 100%;\n resize: none;\n }\n\n /* Resize handles */\n .resize-handle {\n position: absolute;\n z-index: 10;\n }\n\n /* Edge handles */\n .resize-handle-n,\n .resize-handle-s {\n left: 0;\n right: 0;\n height: 8px;\n cursor: ns-resize;\n }\n\n .resize-handle-n {\n top: 0;\n }\n\n .resize-handle-s {\n bottom: 0;\n }\n\n .resize-handle-e,\n .resize-handle-w {\n top: 0;\n bottom: 0;\n width: 8px;\n cursor: ew-resize;\n }\n\n .resize-handle-e {\n right: 0;\n }\n\n .resize-handle-w {\n left: 0;\n }\n\n /* Corner handles */\n .resize-handle-ne,\n .resize-handle-nw,\n .resize-handle-se,\n .resize-handle-sw {\n width: 16px;\n height: 16px;\n }\n\n .resize-handle-ne {\n top: 0;\n right: 0;\n cursor: nesw-resize;\n }\n\n .resize-handle-nw {\n top: 0;\n left: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-se {\n bottom: 0;\n right: 0;\n cursor: nwse-resize;\n }\n\n .resize-handle-sw {\n bottom: 0;\n left: 0;\n cursor: nesw-resize;\n }\n\n /* Visual indicator for corner handles */\n .resize-handle-se::after,\n .resize-handle-sw::after,\n .resize-handle-ne::after,\n .resize-handle-nw::after {\n content: '';\n position: absolute;\n width: 8px;\n height: 8px;\n border-style: solid;\n border-color: var(--neutral-stroke-divider-rest);\n opacity: 50%;\n transition: opacity 0.2s;\n margin: 2px;\n }\n\n .resize-handle-se::after {\n bottom: 2px;\n right: 2px;\n border-width: 0 3px 3px 0;\n }\n\n .resize-handle-sw::after {\n bottom: 2px;\n left: 2px;\n border-width: 0 0 3px 3px;\n }\n\n .resize-handle-ne::after {\n top: 2px;\n right: 2px;\n border-width: 3px 3px 0 0;\n }\n\n .resize-handle-nw::after {\n top: 2px;\n left: 2px;\n border-width: 3px 0 0 3px;\n }\n\n /* Hover effect */\n .resize-handle:hover::after {\n opacity: 100%;\n }\n\n /* Resizing state */\n dialog.resizing {\n user-select: none;\n pointer-events: auto;\n }\n\n /* Fixed positioning support for resizable dialogs */\n dialog[style*='position: fixed'] {\n margin: 0;\n }\n`"
|
|
14542
14550
|
}
|
|
14543
14551
|
],
|
|
14544
14552
|
"exports": [
|
|
@@ -14603,8 +14611,7 @@
|
|
|
14603
14611
|
"type": {
|
|
14604
14612
|
"text": "ShadowRootInit"
|
|
14605
14613
|
},
|
|
14606
|
-
"default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
|
|
14607
|
-
"description": "Focus trapping will be addressed as part of https://genesisglobal.atlassian.net/browse/FUI-2083"
|
|
14614
|
+
"default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
|
|
14608
14615
|
},
|
|
14609
14616
|
{
|
|
14610
14617
|
"kind": "variable",
|
|
@@ -14677,6 +14684,33 @@
|
|
|
14677
14684
|
"default": "true",
|
|
14678
14685
|
"description": "Whether or not to show the close icon"
|
|
14679
14686
|
},
|
|
14687
|
+
{
|
|
14688
|
+
"kind": "field",
|
|
14689
|
+
"name": "resizable",
|
|
14690
|
+
"type": {
|
|
14691
|
+
"text": "boolean"
|
|
14692
|
+
},
|
|
14693
|
+
"default": "false",
|
|
14694
|
+
"description": "Whether or not the dialog is resizable"
|
|
14695
|
+
},
|
|
14696
|
+
{
|
|
14697
|
+
"kind": "field",
|
|
14698
|
+
"name": "minWidth",
|
|
14699
|
+
"type": {
|
|
14700
|
+
"text": "number"
|
|
14701
|
+
},
|
|
14702
|
+
"default": "300",
|
|
14703
|
+
"description": "Minimum width for the dialog"
|
|
14704
|
+
},
|
|
14705
|
+
{
|
|
14706
|
+
"kind": "field",
|
|
14707
|
+
"name": "minHeight",
|
|
14708
|
+
"type": {
|
|
14709
|
+
"text": "number"
|
|
14710
|
+
},
|
|
14711
|
+
"default": "200",
|
|
14712
|
+
"description": "Minimum height for the dialog"
|
|
14713
|
+
},
|
|
14680
14714
|
{
|
|
14681
14715
|
"kind": "field",
|
|
14682
14716
|
"name": "onShowCallback",
|
|
@@ -14693,6 +14727,145 @@
|
|
|
14693
14727
|
},
|
|
14694
14728
|
"description": "Callback to run *after* HTMLDialogElement is closed"
|
|
14695
14729
|
},
|
|
14730
|
+
{
|
|
14731
|
+
"kind": "field",
|
|
14732
|
+
"name": "isResizing",
|
|
14733
|
+
"type": {
|
|
14734
|
+
"text": "boolean"
|
|
14735
|
+
},
|
|
14736
|
+
"privacy": "private",
|
|
14737
|
+
"default": "false"
|
|
14738
|
+
},
|
|
14739
|
+
{
|
|
14740
|
+
"kind": "field",
|
|
14741
|
+
"name": "currentResizeHandle",
|
|
14742
|
+
"type": {
|
|
14743
|
+
"text": "string"
|
|
14744
|
+
},
|
|
14745
|
+
"privacy": "private",
|
|
14746
|
+
"default": "null"
|
|
14747
|
+
},
|
|
14748
|
+
{
|
|
14749
|
+
"kind": "field",
|
|
14750
|
+
"name": "startX",
|
|
14751
|
+
"type": {
|
|
14752
|
+
"text": "number"
|
|
14753
|
+
},
|
|
14754
|
+
"privacy": "private",
|
|
14755
|
+
"default": "0"
|
|
14756
|
+
},
|
|
14757
|
+
{
|
|
14758
|
+
"kind": "field",
|
|
14759
|
+
"name": "startY",
|
|
14760
|
+
"type": {
|
|
14761
|
+
"text": "number"
|
|
14762
|
+
},
|
|
14763
|
+
"privacy": "private",
|
|
14764
|
+
"default": "0"
|
|
14765
|
+
},
|
|
14766
|
+
{
|
|
14767
|
+
"kind": "field",
|
|
14768
|
+
"name": "startWidth",
|
|
14769
|
+
"type": {
|
|
14770
|
+
"text": "number"
|
|
14771
|
+
},
|
|
14772
|
+
"privacy": "private",
|
|
14773
|
+
"default": "0"
|
|
14774
|
+
},
|
|
14775
|
+
{
|
|
14776
|
+
"kind": "field",
|
|
14777
|
+
"name": "startHeight",
|
|
14778
|
+
"type": {
|
|
14779
|
+
"text": "number"
|
|
14780
|
+
},
|
|
14781
|
+
"privacy": "private",
|
|
14782
|
+
"default": "0"
|
|
14783
|
+
},
|
|
14784
|
+
{
|
|
14785
|
+
"kind": "field",
|
|
14786
|
+
"name": "startLeft",
|
|
14787
|
+
"type": {
|
|
14788
|
+
"text": "number"
|
|
14789
|
+
},
|
|
14790
|
+
"privacy": "private",
|
|
14791
|
+
"default": "0"
|
|
14792
|
+
},
|
|
14793
|
+
{
|
|
14794
|
+
"kind": "field",
|
|
14795
|
+
"name": "startTop",
|
|
14796
|
+
"type": {
|
|
14797
|
+
"text": "number"
|
|
14798
|
+
},
|
|
14799
|
+
"privacy": "private",
|
|
14800
|
+
"default": "0"
|
|
14801
|
+
},
|
|
14802
|
+
{
|
|
14803
|
+
"kind": "field",
|
|
14804
|
+
"name": "resizeOffsetX",
|
|
14805
|
+
"type": {
|
|
14806
|
+
"text": "number"
|
|
14807
|
+
},
|
|
14808
|
+
"privacy": "private",
|
|
14809
|
+
"default": "0"
|
|
14810
|
+
},
|
|
14811
|
+
{
|
|
14812
|
+
"kind": "field",
|
|
14813
|
+
"name": "resizeOffsetY",
|
|
14814
|
+
"type": {
|
|
14815
|
+
"text": "number"
|
|
14816
|
+
},
|
|
14817
|
+
"privacy": "private",
|
|
14818
|
+
"default": "0"
|
|
14819
|
+
},
|
|
14820
|
+
{
|
|
14821
|
+
"kind": "method",
|
|
14822
|
+
"name": "setupResizeHandlers",
|
|
14823
|
+
"privacy": "private"
|
|
14824
|
+
},
|
|
14825
|
+
{
|
|
14826
|
+
"kind": "method",
|
|
14827
|
+
"name": "removeResizeHandlers",
|
|
14828
|
+
"privacy": "private"
|
|
14829
|
+
},
|
|
14830
|
+
{
|
|
14831
|
+
"kind": "method",
|
|
14832
|
+
"name": "handleResizeStart",
|
|
14833
|
+
"privacy": "private",
|
|
14834
|
+
"parameters": [
|
|
14835
|
+
{
|
|
14836
|
+
"name": "e",
|
|
14837
|
+
"type": {
|
|
14838
|
+
"text": "MouseEvent"
|
|
14839
|
+
}
|
|
14840
|
+
}
|
|
14841
|
+
]
|
|
14842
|
+
},
|
|
14843
|
+
{
|
|
14844
|
+
"kind": "method",
|
|
14845
|
+
"name": "handleResizeMove",
|
|
14846
|
+
"privacy": "private",
|
|
14847
|
+
"parameters": [
|
|
14848
|
+
{
|
|
14849
|
+
"name": "e",
|
|
14850
|
+
"type": {
|
|
14851
|
+
"text": "MouseEvent"
|
|
14852
|
+
}
|
|
14853
|
+
}
|
|
14854
|
+
]
|
|
14855
|
+
},
|
|
14856
|
+
{
|
|
14857
|
+
"kind": "method",
|
|
14858
|
+
"name": "handleResizeEnd",
|
|
14859
|
+
"privacy": "private",
|
|
14860
|
+
"parameters": [
|
|
14861
|
+
{
|
|
14862
|
+
"name": "e",
|
|
14863
|
+
"type": {
|
|
14864
|
+
"text": "MouseEvent"
|
|
14865
|
+
}
|
|
14866
|
+
}
|
|
14867
|
+
]
|
|
14868
|
+
},
|
|
14696
14869
|
{
|
|
14697
14870
|
"kind": "field",
|
|
14698
14871
|
"name": "open",
|
|
@@ -14876,6 +15049,39 @@
|
|
|
14876
15049
|
"default": "true",
|
|
14877
15050
|
"description": "Whether or not to show the close icon",
|
|
14878
15051
|
"fieldName": "showCloseIcon"
|
|
15052
|
+
},
|
|
15053
|
+
{
|
|
15054
|
+
"name": "resizable",
|
|
15055
|
+
"type": {
|
|
15056
|
+
"text": "boolean"
|
|
15057
|
+
},
|
|
15058
|
+
"default": "false",
|
|
15059
|
+
"description": "Whether or not the dialog is resizable",
|
|
15060
|
+
"fieldName": "resizable"
|
|
15061
|
+
},
|
|
15062
|
+
{
|
|
15063
|
+
"name": "min-width",
|
|
15064
|
+
"type": {
|
|
15065
|
+
"text": "number"
|
|
15066
|
+
},
|
|
15067
|
+
"default": "MIN_WIDTH",
|
|
15068
|
+
"description": "Minimum width for the dialog",
|
|
15069
|
+
"resolveInitializer": {
|
|
15070
|
+
"module": "src/dialog/dialog.ts"
|
|
15071
|
+
},
|
|
15072
|
+
"fieldName": "minWidth"
|
|
15073
|
+
},
|
|
15074
|
+
{
|
|
15075
|
+
"name": "min-height",
|
|
15076
|
+
"type": {
|
|
15077
|
+
"text": "number"
|
|
15078
|
+
},
|
|
15079
|
+
"default": "MIN_HEIGHT",
|
|
15080
|
+
"description": "Minimum height for the dialog",
|
|
15081
|
+
"resolveInitializer": {
|
|
15082
|
+
"module": "src/dialog/dialog.ts"
|
|
15083
|
+
},
|
|
15084
|
+
"fieldName": "minHeight"
|
|
14879
15085
|
}
|
|
14880
15086
|
],
|
|
14881
15087
|
"superclass": {
|
|
@@ -14992,6 +15198,45 @@
|
|
|
14992
15198
|
"module": "src/dialog/dialog.ts"
|
|
14993
15199
|
}
|
|
14994
15200
|
},
|
|
15201
|
+
{
|
|
15202
|
+
"kind": "field",
|
|
15203
|
+
"name": "resizable",
|
|
15204
|
+
"type": {
|
|
15205
|
+
"text": "boolean"
|
|
15206
|
+
},
|
|
15207
|
+
"default": "false",
|
|
15208
|
+
"description": "Whether or not the dialog is resizable",
|
|
15209
|
+
"inheritedFrom": {
|
|
15210
|
+
"name": "<local>_DialogElement",
|
|
15211
|
+
"module": "src/dialog/dialog.ts"
|
|
15212
|
+
}
|
|
15213
|
+
},
|
|
15214
|
+
{
|
|
15215
|
+
"kind": "field",
|
|
15216
|
+
"name": "minWidth",
|
|
15217
|
+
"type": {
|
|
15218
|
+
"text": "number"
|
|
15219
|
+
},
|
|
15220
|
+
"default": "300",
|
|
15221
|
+
"description": "Minimum width for the dialog",
|
|
15222
|
+
"inheritedFrom": {
|
|
15223
|
+
"name": "<local>_DialogElement",
|
|
15224
|
+
"module": "src/dialog/dialog.ts"
|
|
15225
|
+
}
|
|
15226
|
+
},
|
|
15227
|
+
{
|
|
15228
|
+
"kind": "field",
|
|
15229
|
+
"name": "minHeight",
|
|
15230
|
+
"type": {
|
|
15231
|
+
"text": "number"
|
|
15232
|
+
},
|
|
15233
|
+
"default": "200",
|
|
15234
|
+
"description": "Minimum height for the dialog",
|
|
15235
|
+
"inheritedFrom": {
|
|
15236
|
+
"name": "<local>_DialogElement",
|
|
15237
|
+
"module": "src/dialog/dialog.ts"
|
|
15238
|
+
}
|
|
15239
|
+
},
|
|
14995
15240
|
{
|
|
14996
15241
|
"kind": "field",
|
|
14997
15242
|
"name": "onShowCallback",
|
|
@@ -15016,6 +15261,205 @@
|
|
|
15016
15261
|
"module": "src/dialog/dialog.ts"
|
|
15017
15262
|
}
|
|
15018
15263
|
},
|
|
15264
|
+
{
|
|
15265
|
+
"kind": "field",
|
|
15266
|
+
"name": "isResizing",
|
|
15267
|
+
"type": {
|
|
15268
|
+
"text": "boolean"
|
|
15269
|
+
},
|
|
15270
|
+
"privacy": "private",
|
|
15271
|
+
"default": "false",
|
|
15272
|
+
"inheritedFrom": {
|
|
15273
|
+
"name": "<local>_DialogElement",
|
|
15274
|
+
"module": "src/dialog/dialog.ts"
|
|
15275
|
+
}
|
|
15276
|
+
},
|
|
15277
|
+
{
|
|
15278
|
+
"kind": "field",
|
|
15279
|
+
"name": "currentResizeHandle",
|
|
15280
|
+
"type": {
|
|
15281
|
+
"text": "string"
|
|
15282
|
+
},
|
|
15283
|
+
"privacy": "private",
|
|
15284
|
+
"default": "null",
|
|
15285
|
+
"inheritedFrom": {
|
|
15286
|
+
"name": "<local>_DialogElement",
|
|
15287
|
+
"module": "src/dialog/dialog.ts"
|
|
15288
|
+
}
|
|
15289
|
+
},
|
|
15290
|
+
{
|
|
15291
|
+
"kind": "field",
|
|
15292
|
+
"name": "startX",
|
|
15293
|
+
"type": {
|
|
15294
|
+
"text": "number"
|
|
15295
|
+
},
|
|
15296
|
+
"privacy": "private",
|
|
15297
|
+
"default": "0",
|
|
15298
|
+
"inheritedFrom": {
|
|
15299
|
+
"name": "<local>_DialogElement",
|
|
15300
|
+
"module": "src/dialog/dialog.ts"
|
|
15301
|
+
}
|
|
15302
|
+
},
|
|
15303
|
+
{
|
|
15304
|
+
"kind": "field",
|
|
15305
|
+
"name": "startY",
|
|
15306
|
+
"type": {
|
|
15307
|
+
"text": "number"
|
|
15308
|
+
},
|
|
15309
|
+
"privacy": "private",
|
|
15310
|
+
"default": "0",
|
|
15311
|
+
"inheritedFrom": {
|
|
15312
|
+
"name": "<local>_DialogElement",
|
|
15313
|
+
"module": "src/dialog/dialog.ts"
|
|
15314
|
+
}
|
|
15315
|
+
},
|
|
15316
|
+
{
|
|
15317
|
+
"kind": "field",
|
|
15318
|
+
"name": "startWidth",
|
|
15319
|
+
"type": {
|
|
15320
|
+
"text": "number"
|
|
15321
|
+
},
|
|
15322
|
+
"privacy": "private",
|
|
15323
|
+
"default": "0",
|
|
15324
|
+
"inheritedFrom": {
|
|
15325
|
+
"name": "<local>_DialogElement",
|
|
15326
|
+
"module": "src/dialog/dialog.ts"
|
|
15327
|
+
}
|
|
15328
|
+
},
|
|
15329
|
+
{
|
|
15330
|
+
"kind": "field",
|
|
15331
|
+
"name": "startHeight",
|
|
15332
|
+
"type": {
|
|
15333
|
+
"text": "number"
|
|
15334
|
+
},
|
|
15335
|
+
"privacy": "private",
|
|
15336
|
+
"default": "0",
|
|
15337
|
+
"inheritedFrom": {
|
|
15338
|
+
"name": "<local>_DialogElement",
|
|
15339
|
+
"module": "src/dialog/dialog.ts"
|
|
15340
|
+
}
|
|
15341
|
+
},
|
|
15342
|
+
{
|
|
15343
|
+
"kind": "field",
|
|
15344
|
+
"name": "startLeft",
|
|
15345
|
+
"type": {
|
|
15346
|
+
"text": "number"
|
|
15347
|
+
},
|
|
15348
|
+
"privacy": "private",
|
|
15349
|
+
"default": "0",
|
|
15350
|
+
"inheritedFrom": {
|
|
15351
|
+
"name": "<local>_DialogElement",
|
|
15352
|
+
"module": "src/dialog/dialog.ts"
|
|
15353
|
+
}
|
|
15354
|
+
},
|
|
15355
|
+
{
|
|
15356
|
+
"kind": "field",
|
|
15357
|
+
"name": "startTop",
|
|
15358
|
+
"type": {
|
|
15359
|
+
"text": "number"
|
|
15360
|
+
},
|
|
15361
|
+
"privacy": "private",
|
|
15362
|
+
"default": "0",
|
|
15363
|
+
"inheritedFrom": {
|
|
15364
|
+
"name": "<local>_DialogElement",
|
|
15365
|
+
"module": "src/dialog/dialog.ts"
|
|
15366
|
+
}
|
|
15367
|
+
},
|
|
15368
|
+
{
|
|
15369
|
+
"kind": "field",
|
|
15370
|
+
"name": "resizeOffsetX",
|
|
15371
|
+
"type": {
|
|
15372
|
+
"text": "number"
|
|
15373
|
+
},
|
|
15374
|
+
"privacy": "private",
|
|
15375
|
+
"default": "0",
|
|
15376
|
+
"inheritedFrom": {
|
|
15377
|
+
"name": "<local>_DialogElement",
|
|
15378
|
+
"module": "src/dialog/dialog.ts"
|
|
15379
|
+
}
|
|
15380
|
+
},
|
|
15381
|
+
{
|
|
15382
|
+
"kind": "field",
|
|
15383
|
+
"name": "resizeOffsetY",
|
|
15384
|
+
"type": {
|
|
15385
|
+
"text": "number"
|
|
15386
|
+
},
|
|
15387
|
+
"privacy": "private",
|
|
15388
|
+
"default": "0",
|
|
15389
|
+
"inheritedFrom": {
|
|
15390
|
+
"name": "<local>_DialogElement",
|
|
15391
|
+
"module": "src/dialog/dialog.ts"
|
|
15392
|
+
}
|
|
15393
|
+
},
|
|
15394
|
+
{
|
|
15395
|
+
"kind": "method",
|
|
15396
|
+
"name": "setupResizeHandlers",
|
|
15397
|
+
"privacy": "private",
|
|
15398
|
+
"inheritedFrom": {
|
|
15399
|
+
"name": "<local>_DialogElement",
|
|
15400
|
+
"module": "src/dialog/dialog.ts"
|
|
15401
|
+
}
|
|
15402
|
+
},
|
|
15403
|
+
{
|
|
15404
|
+
"kind": "method",
|
|
15405
|
+
"name": "removeResizeHandlers",
|
|
15406
|
+
"privacy": "private",
|
|
15407
|
+
"inheritedFrom": {
|
|
15408
|
+
"name": "<local>_DialogElement",
|
|
15409
|
+
"module": "src/dialog/dialog.ts"
|
|
15410
|
+
}
|
|
15411
|
+
},
|
|
15412
|
+
{
|
|
15413
|
+
"kind": "method",
|
|
15414
|
+
"name": "handleResizeStart",
|
|
15415
|
+
"privacy": "private",
|
|
15416
|
+
"parameters": [
|
|
15417
|
+
{
|
|
15418
|
+
"name": "e",
|
|
15419
|
+
"type": {
|
|
15420
|
+
"text": "MouseEvent"
|
|
15421
|
+
}
|
|
15422
|
+
}
|
|
15423
|
+
],
|
|
15424
|
+
"inheritedFrom": {
|
|
15425
|
+
"name": "<local>_DialogElement",
|
|
15426
|
+
"module": "src/dialog/dialog.ts"
|
|
15427
|
+
}
|
|
15428
|
+
},
|
|
15429
|
+
{
|
|
15430
|
+
"kind": "method",
|
|
15431
|
+
"name": "handleResizeMove",
|
|
15432
|
+
"privacy": "private",
|
|
15433
|
+
"parameters": [
|
|
15434
|
+
{
|
|
15435
|
+
"name": "e",
|
|
15436
|
+
"type": {
|
|
15437
|
+
"text": "MouseEvent"
|
|
15438
|
+
}
|
|
15439
|
+
}
|
|
15440
|
+
],
|
|
15441
|
+
"inheritedFrom": {
|
|
15442
|
+
"name": "<local>_DialogElement",
|
|
15443
|
+
"module": "src/dialog/dialog.ts"
|
|
15444
|
+
}
|
|
15445
|
+
},
|
|
15446
|
+
{
|
|
15447
|
+
"kind": "method",
|
|
15448
|
+
"name": "handleResizeEnd",
|
|
15449
|
+
"privacy": "private",
|
|
15450
|
+
"parameters": [
|
|
15451
|
+
{
|
|
15452
|
+
"name": "e",
|
|
15453
|
+
"type": {
|
|
15454
|
+
"text": "MouseEvent"
|
|
15455
|
+
}
|
|
15456
|
+
}
|
|
15457
|
+
],
|
|
15458
|
+
"inheritedFrom": {
|
|
15459
|
+
"name": "<local>_DialogElement",
|
|
15460
|
+
"module": "src/dialog/dialog.ts"
|
|
15461
|
+
}
|
|
15462
|
+
},
|
|
15019
15463
|
{
|
|
15020
15464
|
"kind": "field",
|
|
15021
15465
|
"name": "open",
|
|
@@ -15223,6 +15667,51 @@
|
|
|
15223
15667
|
"name": "<local>_DialogElement",
|
|
15224
15668
|
"module": "src/dialog/dialog.ts"
|
|
15225
15669
|
}
|
|
15670
|
+
},
|
|
15671
|
+
{
|
|
15672
|
+
"name": "resizable",
|
|
15673
|
+
"type": {
|
|
15674
|
+
"text": "boolean"
|
|
15675
|
+
},
|
|
15676
|
+
"default": "false",
|
|
15677
|
+
"description": "Whether or not the dialog is resizable",
|
|
15678
|
+
"fieldName": "resizable",
|
|
15679
|
+
"inheritedFrom": {
|
|
15680
|
+
"name": "<local>_DialogElement",
|
|
15681
|
+
"module": "src/dialog/dialog.ts"
|
|
15682
|
+
}
|
|
15683
|
+
},
|
|
15684
|
+
{
|
|
15685
|
+
"name": "min-width",
|
|
15686
|
+
"type": {
|
|
15687
|
+
"text": "number"
|
|
15688
|
+
},
|
|
15689
|
+
"default": "MIN_WIDTH",
|
|
15690
|
+
"description": "Minimum width for the dialog",
|
|
15691
|
+
"resolveInitializer": {
|
|
15692
|
+
"module": "src/dialog/dialog.ts"
|
|
15693
|
+
},
|
|
15694
|
+
"fieldName": "minWidth",
|
|
15695
|
+
"inheritedFrom": {
|
|
15696
|
+
"name": "<local>_DialogElement",
|
|
15697
|
+
"module": "src/dialog/dialog.ts"
|
|
15698
|
+
}
|
|
15699
|
+
},
|
|
15700
|
+
{
|
|
15701
|
+
"name": "min-height",
|
|
15702
|
+
"type": {
|
|
15703
|
+
"text": "number"
|
|
15704
|
+
},
|
|
15705
|
+
"default": "MIN_HEIGHT",
|
|
15706
|
+
"description": "Minimum height for the dialog",
|
|
15707
|
+
"resolveInitializer": {
|
|
15708
|
+
"module": "src/dialog/dialog.ts"
|
|
15709
|
+
},
|
|
15710
|
+
"fieldName": "minHeight",
|
|
15711
|
+
"inheritedFrom": {
|
|
15712
|
+
"name": "<local>_DialogElement",
|
|
15713
|
+
"module": "src/dialog/dialog.ts"
|
|
15714
|
+
}
|
|
15226
15715
|
}
|
|
15227
15716
|
]
|
|
15228
15717
|
},
|
|
@@ -27183,6 +27672,45 @@
|
|
|
27183
27672
|
"module": "src/dialog/dialog.ts"
|
|
27184
27673
|
}
|
|
27185
27674
|
},
|
|
27675
|
+
{
|
|
27676
|
+
"kind": "field",
|
|
27677
|
+
"name": "resizable",
|
|
27678
|
+
"type": {
|
|
27679
|
+
"text": "boolean"
|
|
27680
|
+
},
|
|
27681
|
+
"default": "false",
|
|
27682
|
+
"description": "Whether or not the dialog is resizable",
|
|
27683
|
+
"inheritedFrom": {
|
|
27684
|
+
"name": "<local>_DialogElement",
|
|
27685
|
+
"module": "src/dialog/dialog.ts"
|
|
27686
|
+
}
|
|
27687
|
+
},
|
|
27688
|
+
{
|
|
27689
|
+
"kind": "field",
|
|
27690
|
+
"name": "minWidth",
|
|
27691
|
+
"type": {
|
|
27692
|
+
"text": "number"
|
|
27693
|
+
},
|
|
27694
|
+
"default": "300",
|
|
27695
|
+
"description": "Minimum width for the dialog",
|
|
27696
|
+
"inheritedFrom": {
|
|
27697
|
+
"name": "<local>_DialogElement",
|
|
27698
|
+
"module": "src/dialog/dialog.ts"
|
|
27699
|
+
}
|
|
27700
|
+
},
|
|
27701
|
+
{
|
|
27702
|
+
"kind": "field",
|
|
27703
|
+
"name": "minHeight",
|
|
27704
|
+
"type": {
|
|
27705
|
+
"text": "number"
|
|
27706
|
+
},
|
|
27707
|
+
"default": "200",
|
|
27708
|
+
"description": "Minimum height for the dialog",
|
|
27709
|
+
"inheritedFrom": {
|
|
27710
|
+
"name": "<local>_DialogElement",
|
|
27711
|
+
"module": "src/dialog/dialog.ts"
|
|
27712
|
+
}
|
|
27713
|
+
},
|
|
27186
27714
|
{
|
|
27187
27715
|
"kind": "field",
|
|
27188
27716
|
"name": "onShowCallback",
|
|
@@ -27195,6 +27723,205 @@
|
|
|
27195
27723
|
"module": "src/dialog/dialog.ts"
|
|
27196
27724
|
}
|
|
27197
27725
|
},
|
|
27726
|
+
{
|
|
27727
|
+
"kind": "field",
|
|
27728
|
+
"name": "isResizing",
|
|
27729
|
+
"type": {
|
|
27730
|
+
"text": "boolean"
|
|
27731
|
+
},
|
|
27732
|
+
"privacy": "private",
|
|
27733
|
+
"default": "false",
|
|
27734
|
+
"inheritedFrom": {
|
|
27735
|
+
"name": "<local>_DialogElement",
|
|
27736
|
+
"module": "src/dialog/dialog.ts"
|
|
27737
|
+
}
|
|
27738
|
+
},
|
|
27739
|
+
{
|
|
27740
|
+
"kind": "field",
|
|
27741
|
+
"name": "currentResizeHandle",
|
|
27742
|
+
"type": {
|
|
27743
|
+
"text": "string"
|
|
27744
|
+
},
|
|
27745
|
+
"privacy": "private",
|
|
27746
|
+
"default": "null",
|
|
27747
|
+
"inheritedFrom": {
|
|
27748
|
+
"name": "<local>_DialogElement",
|
|
27749
|
+
"module": "src/dialog/dialog.ts"
|
|
27750
|
+
}
|
|
27751
|
+
},
|
|
27752
|
+
{
|
|
27753
|
+
"kind": "field",
|
|
27754
|
+
"name": "startX",
|
|
27755
|
+
"type": {
|
|
27756
|
+
"text": "number"
|
|
27757
|
+
},
|
|
27758
|
+
"privacy": "private",
|
|
27759
|
+
"default": "0",
|
|
27760
|
+
"inheritedFrom": {
|
|
27761
|
+
"name": "<local>_DialogElement",
|
|
27762
|
+
"module": "src/dialog/dialog.ts"
|
|
27763
|
+
}
|
|
27764
|
+
},
|
|
27765
|
+
{
|
|
27766
|
+
"kind": "field",
|
|
27767
|
+
"name": "startY",
|
|
27768
|
+
"type": {
|
|
27769
|
+
"text": "number"
|
|
27770
|
+
},
|
|
27771
|
+
"privacy": "private",
|
|
27772
|
+
"default": "0",
|
|
27773
|
+
"inheritedFrom": {
|
|
27774
|
+
"name": "<local>_DialogElement",
|
|
27775
|
+
"module": "src/dialog/dialog.ts"
|
|
27776
|
+
}
|
|
27777
|
+
},
|
|
27778
|
+
{
|
|
27779
|
+
"kind": "field",
|
|
27780
|
+
"name": "startWidth",
|
|
27781
|
+
"type": {
|
|
27782
|
+
"text": "number"
|
|
27783
|
+
},
|
|
27784
|
+
"privacy": "private",
|
|
27785
|
+
"default": "0",
|
|
27786
|
+
"inheritedFrom": {
|
|
27787
|
+
"name": "<local>_DialogElement",
|
|
27788
|
+
"module": "src/dialog/dialog.ts"
|
|
27789
|
+
}
|
|
27790
|
+
},
|
|
27791
|
+
{
|
|
27792
|
+
"kind": "field",
|
|
27793
|
+
"name": "startHeight",
|
|
27794
|
+
"type": {
|
|
27795
|
+
"text": "number"
|
|
27796
|
+
},
|
|
27797
|
+
"privacy": "private",
|
|
27798
|
+
"default": "0",
|
|
27799
|
+
"inheritedFrom": {
|
|
27800
|
+
"name": "<local>_DialogElement",
|
|
27801
|
+
"module": "src/dialog/dialog.ts"
|
|
27802
|
+
}
|
|
27803
|
+
},
|
|
27804
|
+
{
|
|
27805
|
+
"kind": "field",
|
|
27806
|
+
"name": "startLeft",
|
|
27807
|
+
"type": {
|
|
27808
|
+
"text": "number"
|
|
27809
|
+
},
|
|
27810
|
+
"privacy": "private",
|
|
27811
|
+
"default": "0",
|
|
27812
|
+
"inheritedFrom": {
|
|
27813
|
+
"name": "<local>_DialogElement",
|
|
27814
|
+
"module": "src/dialog/dialog.ts"
|
|
27815
|
+
}
|
|
27816
|
+
},
|
|
27817
|
+
{
|
|
27818
|
+
"kind": "field",
|
|
27819
|
+
"name": "startTop",
|
|
27820
|
+
"type": {
|
|
27821
|
+
"text": "number"
|
|
27822
|
+
},
|
|
27823
|
+
"privacy": "private",
|
|
27824
|
+
"default": "0",
|
|
27825
|
+
"inheritedFrom": {
|
|
27826
|
+
"name": "<local>_DialogElement",
|
|
27827
|
+
"module": "src/dialog/dialog.ts"
|
|
27828
|
+
}
|
|
27829
|
+
},
|
|
27830
|
+
{
|
|
27831
|
+
"kind": "field",
|
|
27832
|
+
"name": "resizeOffsetX",
|
|
27833
|
+
"type": {
|
|
27834
|
+
"text": "number"
|
|
27835
|
+
},
|
|
27836
|
+
"privacy": "private",
|
|
27837
|
+
"default": "0",
|
|
27838
|
+
"inheritedFrom": {
|
|
27839
|
+
"name": "<local>_DialogElement",
|
|
27840
|
+
"module": "src/dialog/dialog.ts"
|
|
27841
|
+
}
|
|
27842
|
+
},
|
|
27843
|
+
{
|
|
27844
|
+
"kind": "field",
|
|
27845
|
+
"name": "resizeOffsetY",
|
|
27846
|
+
"type": {
|
|
27847
|
+
"text": "number"
|
|
27848
|
+
},
|
|
27849
|
+
"privacy": "private",
|
|
27850
|
+
"default": "0",
|
|
27851
|
+
"inheritedFrom": {
|
|
27852
|
+
"name": "<local>_DialogElement",
|
|
27853
|
+
"module": "src/dialog/dialog.ts"
|
|
27854
|
+
}
|
|
27855
|
+
},
|
|
27856
|
+
{
|
|
27857
|
+
"kind": "method",
|
|
27858
|
+
"name": "setupResizeHandlers",
|
|
27859
|
+
"privacy": "private",
|
|
27860
|
+
"inheritedFrom": {
|
|
27861
|
+
"name": "<local>_DialogElement",
|
|
27862
|
+
"module": "src/dialog/dialog.ts"
|
|
27863
|
+
}
|
|
27864
|
+
},
|
|
27865
|
+
{
|
|
27866
|
+
"kind": "method",
|
|
27867
|
+
"name": "removeResizeHandlers",
|
|
27868
|
+
"privacy": "private",
|
|
27869
|
+
"inheritedFrom": {
|
|
27870
|
+
"name": "<local>_DialogElement",
|
|
27871
|
+
"module": "src/dialog/dialog.ts"
|
|
27872
|
+
}
|
|
27873
|
+
},
|
|
27874
|
+
{
|
|
27875
|
+
"kind": "method",
|
|
27876
|
+
"name": "handleResizeStart",
|
|
27877
|
+
"privacy": "private",
|
|
27878
|
+
"parameters": [
|
|
27879
|
+
{
|
|
27880
|
+
"name": "e",
|
|
27881
|
+
"type": {
|
|
27882
|
+
"text": "MouseEvent"
|
|
27883
|
+
}
|
|
27884
|
+
}
|
|
27885
|
+
],
|
|
27886
|
+
"inheritedFrom": {
|
|
27887
|
+
"name": "<local>_DialogElement",
|
|
27888
|
+
"module": "src/dialog/dialog.ts"
|
|
27889
|
+
}
|
|
27890
|
+
},
|
|
27891
|
+
{
|
|
27892
|
+
"kind": "method",
|
|
27893
|
+
"name": "handleResizeMove",
|
|
27894
|
+
"privacy": "private",
|
|
27895
|
+
"parameters": [
|
|
27896
|
+
{
|
|
27897
|
+
"name": "e",
|
|
27898
|
+
"type": {
|
|
27899
|
+
"text": "MouseEvent"
|
|
27900
|
+
}
|
|
27901
|
+
}
|
|
27902
|
+
],
|
|
27903
|
+
"inheritedFrom": {
|
|
27904
|
+
"name": "<local>_DialogElement",
|
|
27905
|
+
"module": "src/dialog/dialog.ts"
|
|
27906
|
+
}
|
|
27907
|
+
},
|
|
27908
|
+
{
|
|
27909
|
+
"kind": "method",
|
|
27910
|
+
"name": "handleResizeEnd",
|
|
27911
|
+
"privacy": "private",
|
|
27912
|
+
"parameters": [
|
|
27913
|
+
{
|
|
27914
|
+
"name": "e",
|
|
27915
|
+
"type": {
|
|
27916
|
+
"text": "MouseEvent"
|
|
27917
|
+
}
|
|
27918
|
+
}
|
|
27919
|
+
],
|
|
27920
|
+
"inheritedFrom": {
|
|
27921
|
+
"name": "<local>_DialogElement",
|
|
27922
|
+
"module": "src/dialog/dialog.ts"
|
|
27923
|
+
}
|
|
27924
|
+
},
|
|
27198
27925
|
{
|
|
27199
27926
|
"kind": "field",
|
|
27200
27927
|
"name": "open",
|
|
@@ -27403,6 +28130,51 @@
|
|
|
27403
28130
|
"name": "<local>_DialogElement",
|
|
27404
28131
|
"module": "src/dialog/dialog.ts"
|
|
27405
28132
|
}
|
|
28133
|
+
},
|
|
28134
|
+
{
|
|
28135
|
+
"name": "resizable",
|
|
28136
|
+
"type": {
|
|
28137
|
+
"text": "boolean"
|
|
28138
|
+
},
|
|
28139
|
+
"default": "false",
|
|
28140
|
+
"description": "Whether or not the dialog is resizable",
|
|
28141
|
+
"fieldName": "resizable",
|
|
28142
|
+
"inheritedFrom": {
|
|
28143
|
+
"name": "<local>_DialogElement",
|
|
28144
|
+
"module": "src/dialog/dialog.ts"
|
|
28145
|
+
}
|
|
28146
|
+
},
|
|
28147
|
+
{
|
|
28148
|
+
"name": "min-width",
|
|
28149
|
+
"type": {
|
|
28150
|
+
"text": "number"
|
|
28151
|
+
},
|
|
28152
|
+
"default": "MIN_WIDTH",
|
|
28153
|
+
"description": "Minimum width for the dialog",
|
|
28154
|
+
"resolveInitializer": {
|
|
28155
|
+
"module": "src/dialog/dialog.ts"
|
|
28156
|
+
},
|
|
28157
|
+
"fieldName": "minWidth",
|
|
28158
|
+
"inheritedFrom": {
|
|
28159
|
+
"name": "<local>_DialogElement",
|
|
28160
|
+
"module": "src/dialog/dialog.ts"
|
|
28161
|
+
}
|
|
28162
|
+
},
|
|
28163
|
+
{
|
|
28164
|
+
"name": "min-height",
|
|
28165
|
+
"type": {
|
|
28166
|
+
"text": "number"
|
|
28167
|
+
},
|
|
28168
|
+
"default": "MIN_HEIGHT",
|
|
28169
|
+
"description": "Minimum height for the dialog",
|
|
28170
|
+
"resolveInitializer": {
|
|
28171
|
+
"module": "src/dialog/dialog.ts"
|
|
28172
|
+
},
|
|
28173
|
+
"fieldName": "minHeight",
|
|
28174
|
+
"inheritedFrom": {
|
|
28175
|
+
"name": "<local>_DialogElement",
|
|
28176
|
+
"module": "src/dialog/dialog.ts"
|
|
28177
|
+
}
|
|
27406
28178
|
}
|
|
27407
28179
|
],
|
|
27408
28180
|
"superclass": {
|
|
@@ -37400,6 +38172,774 @@
|
|
|
37400
38172
|
}
|
|
37401
38173
|
]
|
|
37402
38174
|
},
|
|
38175
|
+
{
|
|
38176
|
+
"kind": "javascript-module",
|
|
38177
|
+
"path": "src/section-navigator/index.ts",
|
|
38178
|
+
"declarations": [],
|
|
38179
|
+
"exports": [
|
|
38180
|
+
{
|
|
38181
|
+
"kind": "js",
|
|
38182
|
+
"name": "*",
|
|
38183
|
+
"declaration": {
|
|
38184
|
+
"name": "*",
|
|
38185
|
+
"package": "./section-navigator"
|
|
38186
|
+
}
|
|
38187
|
+
},
|
|
38188
|
+
{
|
|
38189
|
+
"kind": "js",
|
|
38190
|
+
"name": "*",
|
|
38191
|
+
"declaration": {
|
|
38192
|
+
"name": "*",
|
|
38193
|
+
"package": "./section-navigator.styles"
|
|
38194
|
+
}
|
|
38195
|
+
},
|
|
38196
|
+
{
|
|
38197
|
+
"kind": "js",
|
|
38198
|
+
"name": "*",
|
|
38199
|
+
"declaration": {
|
|
38200
|
+
"name": "*",
|
|
38201
|
+
"package": "./section-navigator.template"
|
|
38202
|
+
}
|
|
38203
|
+
}
|
|
38204
|
+
]
|
|
38205
|
+
},
|
|
38206
|
+
{
|
|
38207
|
+
"kind": "javascript-module",
|
|
38208
|
+
"path": "src/section-navigator/section-navigator.styles.ts",
|
|
38209
|
+
"declarations": [
|
|
38210
|
+
{
|
|
38211
|
+
"kind": "variable",
|
|
38212
|
+
"name": "foundationSectionNavigatorStyles",
|
|
38213
|
+
"type": {
|
|
38214
|
+
"text": "ElementStyles"
|
|
38215
|
+
},
|
|
38216
|
+
"default": "css`\n :host {\n display: block;\n width: 100%;\n height: 100%;\n min-height: 400px;\n\n /* Section link marker CSS variables to allow customization of the marker */\n --section-link-marker-width: 2px;\n --section-link-marker-height: 100%;\n --section-link-marker-left: 0;\n --section-link-marker-top: 0;\n --section-link-marker-transition: background-color 0.2s ease;\n --section-link-marker-background-color: transparent;\n --section-link-marker-background-color-hover: var(--neutral-layer-hover);\n --section-link-marker-background-color-active: var(--accent-fill-rest);\n\n /* Section link CSS variables to allow customization of the link */\n --section-link-text-align: left;\n --section-link-text-white-space: initial;\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 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 white-space: inherit;\n }\n\n .section-link::before {\n content: '';\n position: absolute;\n top: var(--section-link-marker-top);\n left: var(--section-link-marker-left);\n width: var(--section-link-marker-width);\n height: var(--section-link-marker-height);\n background-color: var(--section-link-marker-background-color);\n transition: var(--section-link-marker-transition);\n z-index: 1;\n }\n\n .section-link:hover::before {\n background-color: var(--section-link-marker-background-color-hover);\n }\n\n .section-link.active::before {\n background-color: var(--section-link-marker-background-color-active);\n }\n\n .section-link::part(content) {\n padding: 0;\n text-align: var(--section-link-text-align);\n white-space: var(--section-link-text-white-space);\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`"
|
|
38217
|
+
}
|
|
38218
|
+
],
|
|
38219
|
+
"exports": [
|
|
38220
|
+
{
|
|
38221
|
+
"kind": "js",
|
|
38222
|
+
"name": "foundationSectionNavigatorStyles",
|
|
38223
|
+
"declaration": {
|
|
38224
|
+
"name": "foundationSectionNavigatorStyles",
|
|
38225
|
+
"module": "src/section-navigator/section-navigator.styles.ts"
|
|
38226
|
+
}
|
|
38227
|
+
}
|
|
38228
|
+
]
|
|
38229
|
+
},
|
|
38230
|
+
{
|
|
38231
|
+
"kind": "javascript-module",
|
|
38232
|
+
"path": "src/section-navigator/section-navigator.template.ts",
|
|
38233
|
+
"declarations": [
|
|
38234
|
+
{
|
|
38235
|
+
"kind": "variable",
|
|
38236
|
+
"name": "foundationSectionNavigatorTemplate",
|
|
38237
|
+
"type": {
|
|
38238
|
+
"text": "ViewTemplate<SectionNavigator>"
|
|
38239
|
+
},
|
|
38240
|
+
"default": "html<SectionNavigator>`\n ${(x) => getPrefixedSectionNavigatorTemplate(getPrefix(x))}\n`"
|
|
38241
|
+
}
|
|
38242
|
+
],
|
|
38243
|
+
"exports": [
|
|
38244
|
+
{
|
|
38245
|
+
"kind": "js",
|
|
38246
|
+
"name": "foundationSectionNavigatorTemplate",
|
|
38247
|
+
"declaration": {
|
|
38248
|
+
"name": "foundationSectionNavigatorTemplate",
|
|
38249
|
+
"module": "src/section-navigator/section-navigator.template.ts"
|
|
38250
|
+
}
|
|
38251
|
+
}
|
|
38252
|
+
]
|
|
38253
|
+
},
|
|
38254
|
+
{
|
|
38255
|
+
"kind": "javascript-module",
|
|
38256
|
+
"path": "src/section-navigator/section-navigator.ts",
|
|
38257
|
+
"declarations": [
|
|
38258
|
+
{
|
|
38259
|
+
"kind": "variable",
|
|
38260
|
+
"name": "SECTION_NAVIGATOR_EVENTS",
|
|
38261
|
+
"type": {
|
|
38262
|
+
"text": "{\n setState: `${EVENT_PREFIX}-set-state`,\n setStates: `${EVENT_PREFIX}-set-states`,\n clearState: `${EVENT_PREFIX}-clear-state`,\n clearAllStates: `${EVENT_PREFIX}-clear-all-states`,\n}"
|
|
38263
|
+
},
|
|
38264
|
+
"default": "{\n setState: `${EVENT_PREFIX}-set-state`,\n setStates: `${EVENT_PREFIX}-set-states`,\n clearState: `${EVENT_PREFIX}-clear-state`,\n clearAllStates: `${EVENT_PREFIX}-clear-all-states`,\n}"
|
|
38265
|
+
},
|
|
38266
|
+
{
|
|
38267
|
+
"kind": "class",
|
|
38268
|
+
"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.",
|
|
38269
|
+
"name": "SectionNavigator",
|
|
38270
|
+
"slots": [
|
|
38271
|
+
{
|
|
38272
|
+
"type": {
|
|
38273
|
+
"text": "sectionName"
|
|
38274
|
+
},
|
|
38275
|
+
"description": "Content for each section (slot name matches section name)",
|
|
38276
|
+
"name": ""
|
|
38277
|
+
}
|
|
38278
|
+
],
|
|
38279
|
+
"members": [
|
|
38280
|
+
{
|
|
38281
|
+
"kind": "field",
|
|
38282
|
+
"name": "sections",
|
|
38283
|
+
"type": {
|
|
38284
|
+
"text": "SectionItem[]"
|
|
38285
|
+
},
|
|
38286
|
+
"default": "[]"
|
|
38287
|
+
},
|
|
38288
|
+
{
|
|
38289
|
+
"kind": "field",
|
|
38290
|
+
"name": "scrollBehavior",
|
|
38291
|
+
"type": {
|
|
38292
|
+
"text": "'view' | 'top'"
|
|
38293
|
+
},
|
|
38294
|
+
"default": "'top'"
|
|
38295
|
+
},
|
|
38296
|
+
{
|
|
38297
|
+
"kind": "field",
|
|
38298
|
+
"name": "stateTooltips",
|
|
38299
|
+
"type": {
|
|
38300
|
+
"text": "Record<SectionItemStateName, string>"
|
|
38301
|
+
},
|
|
38302
|
+
"default": "{\n active: 'Active',\n inactive: 'Inactive',\n pending: 'Pending',\n disabled: 'Disabled',\n error: 'Error',\n completed: 'Completed',\n}"
|
|
38303
|
+
},
|
|
38304
|
+
{
|
|
38305
|
+
"kind": "field",
|
|
38306
|
+
"name": "stateIcons",
|
|
38307
|
+
"type": {
|
|
38308
|
+
"text": "Record<SectionItemStateName, SectionItemStateIcon>"
|
|
38309
|
+
},
|
|
38310
|
+
"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}"
|
|
38311
|
+
},
|
|
38312
|
+
{
|
|
38313
|
+
"kind": "field",
|
|
38314
|
+
"name": "disableAutoScrollDetection",
|
|
38315
|
+
"type": {
|
|
38316
|
+
"text": "boolean"
|
|
38317
|
+
},
|
|
38318
|
+
"default": "false"
|
|
38319
|
+
},
|
|
38320
|
+
{
|
|
38321
|
+
"kind": "field",
|
|
38322
|
+
"name": "handleSetStateRef",
|
|
38323
|
+
"type": {
|
|
38324
|
+
"text": "(event: CustomEvent<SetStateEventDetail>) => void | undefined"
|
|
38325
|
+
},
|
|
38326
|
+
"privacy": "private"
|
|
38327
|
+
},
|
|
38328
|
+
{
|
|
38329
|
+
"kind": "field",
|
|
38330
|
+
"name": "handleSetStatesRef",
|
|
38331
|
+
"type": {
|
|
38332
|
+
"text": "(event: CustomEvent<SetStatesEventDetail>) => void | undefined"
|
|
38333
|
+
},
|
|
38334
|
+
"privacy": "private"
|
|
38335
|
+
},
|
|
38336
|
+
{
|
|
38337
|
+
"kind": "field",
|
|
38338
|
+
"name": "handleClearStateRef",
|
|
38339
|
+
"type": {
|
|
38340
|
+
"text": "(event: CustomEvent<ClearStateEventDetail>) => void | undefined"
|
|
38341
|
+
},
|
|
38342
|
+
"privacy": "private"
|
|
38343
|
+
},
|
|
38344
|
+
{
|
|
38345
|
+
"kind": "field",
|
|
38346
|
+
"name": "handleClearAllStatesRef",
|
|
38347
|
+
"type": {
|
|
38348
|
+
"text": "(event: CustomEvent<ClearAllStatesEventDetail>) => void | undefined"
|
|
38349
|
+
},
|
|
38350
|
+
"privacy": "private"
|
|
38351
|
+
},
|
|
38352
|
+
{
|
|
38353
|
+
"kind": "field",
|
|
38354
|
+
"name": "handleGenericStateEventRef",
|
|
38355
|
+
"type": {
|
|
38356
|
+
"text": "(event: CustomEvent<any>) => void | undefined"
|
|
38357
|
+
},
|
|
38358
|
+
"privacy": "private"
|
|
38359
|
+
},
|
|
38360
|
+
{
|
|
38361
|
+
"kind": "field",
|
|
38362
|
+
"name": "userClickedSection",
|
|
38363
|
+
"type": {
|
|
38364
|
+
"text": "boolean"
|
|
38365
|
+
},
|
|
38366
|
+
"privacy": "private",
|
|
38367
|
+
"default": "false"
|
|
38368
|
+
},
|
|
38369
|
+
{
|
|
38370
|
+
"kind": "field",
|
|
38371
|
+
"name": "scrollEndHandler",
|
|
38372
|
+
"type": {
|
|
38373
|
+
"text": "() => void | undefined"
|
|
38374
|
+
},
|
|
38375
|
+
"privacy": "private"
|
|
38376
|
+
},
|
|
38377
|
+
{
|
|
38378
|
+
"kind": "field",
|
|
38379
|
+
"name": "isUserScrolling",
|
|
38380
|
+
"type": {
|
|
38381
|
+
"text": "boolean"
|
|
38382
|
+
},
|
|
38383
|
+
"privacy": "private",
|
|
38384
|
+
"default": "false"
|
|
38385
|
+
},
|
|
38386
|
+
{
|
|
38387
|
+
"kind": "field",
|
|
38388
|
+
"name": "scrollCheckHandler",
|
|
38389
|
+
"type": {
|
|
38390
|
+
"text": "() => void | undefined"
|
|
38391
|
+
},
|
|
38392
|
+
"privacy": "private"
|
|
38393
|
+
},
|
|
38394
|
+
{
|
|
38395
|
+
"kind": "field",
|
|
38396
|
+
"name": "scrollDebounceTimeout",
|
|
38397
|
+
"type": {
|
|
38398
|
+
"text": "number | undefined"
|
|
38399
|
+
},
|
|
38400
|
+
"privacy": "private"
|
|
38401
|
+
},
|
|
38402
|
+
{
|
|
38403
|
+
"kind": "field",
|
|
38404
|
+
"name": "SCROLL_END_TIMEOUT",
|
|
38405
|
+
"type": {
|
|
38406
|
+
"text": "number"
|
|
38407
|
+
},
|
|
38408
|
+
"privacy": "private",
|
|
38409
|
+
"static": true,
|
|
38410
|
+
"readonly": true,
|
|
38411
|
+
"default": "150"
|
|
38412
|
+
},
|
|
38413
|
+
{
|
|
38414
|
+
"kind": "field",
|
|
38415
|
+
"name": "SCROLL_DEBOUNCE_TIMEOUT",
|
|
38416
|
+
"type": {
|
|
38417
|
+
"text": "number"
|
|
38418
|
+
},
|
|
38419
|
+
"privacy": "private",
|
|
38420
|
+
"static": true,
|
|
38421
|
+
"readonly": true,
|
|
38422
|
+
"default": "100"
|
|
38423
|
+
},
|
|
38424
|
+
{
|
|
38425
|
+
"kind": "method",
|
|
38426
|
+
"name": "sectionsChanged"
|
|
38427
|
+
},
|
|
38428
|
+
{
|
|
38429
|
+
"kind": "method",
|
|
38430
|
+
"name": "disableAutoScrollDetectionChanged"
|
|
38431
|
+
},
|
|
38432
|
+
{
|
|
38433
|
+
"kind": "method",
|
|
38434
|
+
"name": "scrollBehaviorChanged"
|
|
38435
|
+
},
|
|
38436
|
+
{
|
|
38437
|
+
"kind": "field",
|
|
38438
|
+
"name": "sectionItems",
|
|
38439
|
+
"type": {
|
|
38440
|
+
"text": "SectionItem[]"
|
|
38441
|
+
},
|
|
38442
|
+
"default": "[]"
|
|
38443
|
+
},
|
|
38444
|
+
{
|
|
38445
|
+
"kind": "field",
|
|
38446
|
+
"name": "activeSection",
|
|
38447
|
+
"type": {
|
|
38448
|
+
"text": "string"
|
|
38449
|
+
},
|
|
38450
|
+
"default": "''"
|
|
38451
|
+
},
|
|
38452
|
+
{
|
|
38453
|
+
"kind": "field",
|
|
38454
|
+
"name": "sectionNavigatorContainer",
|
|
38455
|
+
"type": {
|
|
38456
|
+
"text": "HTMLElement"
|
|
38457
|
+
}
|
|
38458
|
+
},
|
|
38459
|
+
{
|
|
38460
|
+
"kind": "field",
|
|
38461
|
+
"name": "sectionContent",
|
|
38462
|
+
"type": {
|
|
38463
|
+
"text": "HTMLElement"
|
|
38464
|
+
}
|
|
38465
|
+
},
|
|
38466
|
+
{
|
|
38467
|
+
"kind": "field",
|
|
38468
|
+
"name": "spacerElement",
|
|
38469
|
+
"type": {
|
|
38470
|
+
"text": "HTMLElement | undefined"
|
|
38471
|
+
},
|
|
38472
|
+
"privacy": "private"
|
|
38473
|
+
},
|
|
38474
|
+
{
|
|
38475
|
+
"kind": "method",
|
|
38476
|
+
"name": "setSectionItems",
|
|
38477
|
+
"privacy": "private"
|
|
38478
|
+
},
|
|
38479
|
+
{
|
|
38480
|
+
"kind": "method",
|
|
38481
|
+
"name": "setActiveSection",
|
|
38482
|
+
"privacy": "private"
|
|
38483
|
+
},
|
|
38484
|
+
{
|
|
38485
|
+
"kind": "method",
|
|
38486
|
+
"name": "handleSectionClick",
|
|
38487
|
+
"privacy": "public",
|
|
38488
|
+
"parameters": [
|
|
38489
|
+
{
|
|
38490
|
+
"name": "sectionName",
|
|
38491
|
+
"type": {
|
|
38492
|
+
"text": "string"
|
|
38493
|
+
}
|
|
38494
|
+
}
|
|
38495
|
+
]
|
|
38496
|
+
},
|
|
38497
|
+
{
|
|
38498
|
+
"kind": "method",
|
|
38499
|
+
"name": "updateSpacer",
|
|
38500
|
+
"privacy": "private"
|
|
38501
|
+
},
|
|
38502
|
+
{
|
|
38503
|
+
"kind": "method",
|
|
38504
|
+
"name": "scrollToSection",
|
|
38505
|
+
"privacy": "private",
|
|
38506
|
+
"parameters": [
|
|
38507
|
+
{
|
|
38508
|
+
"name": "sectionName",
|
|
38509
|
+
"type": {
|
|
38510
|
+
"text": "string"
|
|
38511
|
+
}
|
|
38512
|
+
}
|
|
38513
|
+
]
|
|
38514
|
+
},
|
|
38515
|
+
{
|
|
38516
|
+
"kind": "method",
|
|
38517
|
+
"name": "updateScrollDetection",
|
|
38518
|
+
"privacy": "private"
|
|
38519
|
+
},
|
|
38520
|
+
{
|
|
38521
|
+
"kind": "method",
|
|
38522
|
+
"name": "setupScrollDetection",
|
|
38523
|
+
"privacy": "private"
|
|
38524
|
+
},
|
|
38525
|
+
{
|
|
38526
|
+
"kind": "method",
|
|
38527
|
+
"name": "updateActiveSectionBasedOnScrollPosition",
|
|
38528
|
+
"privacy": "private"
|
|
38529
|
+
},
|
|
38530
|
+
{
|
|
38531
|
+
"kind": "method",
|
|
38532
|
+
"name": "setupScrollEndDetection",
|
|
38533
|
+
"privacy": "private"
|
|
38534
|
+
},
|
|
38535
|
+
{
|
|
38536
|
+
"kind": "method",
|
|
38537
|
+
"name": "cleanupScrollEndDetection",
|
|
38538
|
+
"privacy": "private"
|
|
38539
|
+
},
|
|
38540
|
+
{
|
|
38541
|
+
"kind": "method",
|
|
38542
|
+
"name": "cleanupScrollDetection",
|
|
38543
|
+
"privacy": "private"
|
|
38544
|
+
},
|
|
38545
|
+
{
|
|
38546
|
+
"kind": "method",
|
|
38547
|
+
"name": "setupStateEventListeners",
|
|
38548
|
+
"privacy": "private"
|
|
38549
|
+
},
|
|
38550
|
+
{
|
|
38551
|
+
"kind": "method",
|
|
38552
|
+
"name": "updateSectionStates",
|
|
38553
|
+
"privacy": "private",
|
|
38554
|
+
"parameters": [
|
|
38555
|
+
{
|
|
38556
|
+
"name": "sectionName",
|
|
38557
|
+
"type": {
|
|
38558
|
+
"text": "string"
|
|
38559
|
+
}
|
|
38560
|
+
},
|
|
38561
|
+
{
|
|
38562
|
+
"name": "newStates",
|
|
38563
|
+
"type": {
|
|
38564
|
+
"text": "SectionItemStateName[]"
|
|
38565
|
+
}
|
|
38566
|
+
}
|
|
38567
|
+
]
|
|
38568
|
+
},
|
|
38569
|
+
{
|
|
38570
|
+
"kind": "method",
|
|
38571
|
+
"name": "addState",
|
|
38572
|
+
"privacy": "private",
|
|
38573
|
+
"parameters": [
|
|
38574
|
+
{
|
|
38575
|
+
"name": "sectionName",
|
|
38576
|
+
"type": {
|
|
38577
|
+
"text": "string"
|
|
38578
|
+
}
|
|
38579
|
+
},
|
|
38580
|
+
{
|
|
38581
|
+
"name": "stateName",
|
|
38582
|
+
"type": {
|
|
38583
|
+
"text": "SectionItemStateName"
|
|
38584
|
+
}
|
|
38585
|
+
}
|
|
38586
|
+
]
|
|
38587
|
+
},
|
|
38588
|
+
{
|
|
38589
|
+
"kind": "method",
|
|
38590
|
+
"name": "addStates",
|
|
38591
|
+
"privacy": "private",
|
|
38592
|
+
"parameters": [
|
|
38593
|
+
{
|
|
38594
|
+
"name": "sectionName",
|
|
38595
|
+
"type": {
|
|
38596
|
+
"text": "string"
|
|
38597
|
+
}
|
|
38598
|
+
},
|
|
38599
|
+
{
|
|
38600
|
+
"name": "stateNames",
|
|
38601
|
+
"type": {
|
|
38602
|
+
"text": "SectionItemStateName[]"
|
|
38603
|
+
}
|
|
38604
|
+
}
|
|
38605
|
+
]
|
|
38606
|
+
},
|
|
38607
|
+
{
|
|
38608
|
+
"kind": "method",
|
|
38609
|
+
"name": "clearState",
|
|
38610
|
+
"privacy": "private",
|
|
38611
|
+
"parameters": [
|
|
38612
|
+
{
|
|
38613
|
+
"name": "sectionName",
|
|
38614
|
+
"type": {
|
|
38615
|
+
"text": "string"
|
|
38616
|
+
}
|
|
38617
|
+
},
|
|
38618
|
+
{
|
|
38619
|
+
"name": "stateName",
|
|
38620
|
+
"type": {
|
|
38621
|
+
"text": "SectionItemStateName"
|
|
38622
|
+
}
|
|
38623
|
+
}
|
|
38624
|
+
]
|
|
38625
|
+
},
|
|
38626
|
+
{
|
|
38627
|
+
"kind": "method",
|
|
38628
|
+
"name": "clearAllStates",
|
|
38629
|
+
"privacy": "private",
|
|
38630
|
+
"parameters": [
|
|
38631
|
+
{
|
|
38632
|
+
"name": "sectionName",
|
|
38633
|
+
"type": {
|
|
38634
|
+
"text": "string"
|
|
38635
|
+
}
|
|
38636
|
+
}
|
|
38637
|
+
]
|
|
38638
|
+
},
|
|
38639
|
+
{
|
|
38640
|
+
"kind": "method",
|
|
38641
|
+
"name": "clearAllStatesInAllSections",
|
|
38642
|
+
"privacy": "private"
|
|
38643
|
+
},
|
|
38644
|
+
{
|
|
38645
|
+
"kind": "method",
|
|
38646
|
+
"name": "getStateTooltip",
|
|
38647
|
+
"privacy": "public",
|
|
38648
|
+
"return": {
|
|
38649
|
+
"type": {
|
|
38650
|
+
"text": "string"
|
|
38651
|
+
}
|
|
38652
|
+
},
|
|
38653
|
+
"parameters": [
|
|
38654
|
+
{
|
|
38655
|
+
"name": "stateName",
|
|
38656
|
+
"type": {
|
|
38657
|
+
"text": "SectionItemStateName"
|
|
38658
|
+
}
|
|
38659
|
+
}
|
|
38660
|
+
]
|
|
38661
|
+
},
|
|
38662
|
+
{
|
|
38663
|
+
"kind": "method",
|
|
38664
|
+
"name": "getSectionStateClass",
|
|
38665
|
+
"privacy": "public",
|
|
38666
|
+
"return": {
|
|
38667
|
+
"type": {
|
|
38668
|
+
"text": "string"
|
|
38669
|
+
}
|
|
38670
|
+
},
|
|
38671
|
+
"parameters": [
|
|
38672
|
+
{
|
|
38673
|
+
"name": "section",
|
|
38674
|
+
"type": {
|
|
38675
|
+
"text": "SectionItem"
|
|
38676
|
+
}
|
|
38677
|
+
}
|
|
38678
|
+
]
|
|
38679
|
+
},
|
|
38680
|
+
{
|
|
38681
|
+
"kind": "method",
|
|
38682
|
+
"name": "getStateIcon",
|
|
38683
|
+
"privacy": "public",
|
|
38684
|
+
"return": {
|
|
38685
|
+
"type": {
|
|
38686
|
+
"text": "SectionItemStateIcon"
|
|
38687
|
+
}
|
|
38688
|
+
},
|
|
38689
|
+
"parameters": [
|
|
38690
|
+
{
|
|
38691
|
+
"name": "stateName",
|
|
38692
|
+
"type": {
|
|
38693
|
+
"text": "SectionItemStateName"
|
|
38694
|
+
}
|
|
38695
|
+
}
|
|
38696
|
+
]
|
|
38697
|
+
},
|
|
38698
|
+
{
|
|
38699
|
+
"kind": "field",
|
|
38700
|
+
"name": "_presentation",
|
|
38701
|
+
"type": {
|
|
38702
|
+
"text": "ComponentPresentation | null | undefined"
|
|
38703
|
+
},
|
|
38704
|
+
"privacy": "private",
|
|
38705
|
+
"default": "void 0",
|
|
38706
|
+
"inheritedFrom": {
|
|
38707
|
+
"name": "FoundationElement",
|
|
38708
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38709
|
+
}
|
|
38710
|
+
},
|
|
38711
|
+
{
|
|
38712
|
+
"kind": "field",
|
|
38713
|
+
"name": "$presentation",
|
|
38714
|
+
"type": {
|
|
38715
|
+
"text": "ComponentPresentation | null"
|
|
38716
|
+
},
|
|
38717
|
+
"privacy": "public",
|
|
38718
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
38719
|
+
"inheritedFrom": {
|
|
38720
|
+
"name": "FoundationElement",
|
|
38721
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38722
|
+
}
|
|
38723
|
+
},
|
|
38724
|
+
{
|
|
38725
|
+
"kind": "field",
|
|
38726
|
+
"name": "template",
|
|
38727
|
+
"type": {
|
|
38728
|
+
"text": "ElementViewTemplate | void | null"
|
|
38729
|
+
},
|
|
38730
|
+
"privacy": "public",
|
|
38731
|
+
"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.",
|
|
38732
|
+
"inheritedFrom": {
|
|
38733
|
+
"name": "FoundationElement",
|
|
38734
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38735
|
+
}
|
|
38736
|
+
},
|
|
38737
|
+
{
|
|
38738
|
+
"kind": "method",
|
|
38739
|
+
"name": "templateChanged",
|
|
38740
|
+
"privacy": "protected",
|
|
38741
|
+
"return": {
|
|
38742
|
+
"type": {
|
|
38743
|
+
"text": "void"
|
|
38744
|
+
}
|
|
38745
|
+
},
|
|
38746
|
+
"inheritedFrom": {
|
|
38747
|
+
"name": "FoundationElement",
|
|
38748
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38749
|
+
}
|
|
38750
|
+
},
|
|
38751
|
+
{
|
|
38752
|
+
"kind": "field",
|
|
38753
|
+
"name": "styles",
|
|
38754
|
+
"type": {
|
|
38755
|
+
"text": "ElementStyles | void | null"
|
|
38756
|
+
},
|
|
38757
|
+
"privacy": "public",
|
|
38758
|
+
"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.",
|
|
38759
|
+
"inheritedFrom": {
|
|
38760
|
+
"name": "FoundationElement",
|
|
38761
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38762
|
+
}
|
|
38763
|
+
},
|
|
38764
|
+
{
|
|
38765
|
+
"kind": "method",
|
|
38766
|
+
"name": "stylesChanged",
|
|
38767
|
+
"privacy": "protected",
|
|
38768
|
+
"return": {
|
|
38769
|
+
"type": {
|
|
38770
|
+
"text": "void"
|
|
38771
|
+
}
|
|
38772
|
+
},
|
|
38773
|
+
"inheritedFrom": {
|
|
38774
|
+
"name": "FoundationElement",
|
|
38775
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38776
|
+
}
|
|
38777
|
+
},
|
|
38778
|
+
{
|
|
38779
|
+
"kind": "method",
|
|
38780
|
+
"name": "compose",
|
|
38781
|
+
"privacy": "public",
|
|
38782
|
+
"static": true,
|
|
38783
|
+
"return": {
|
|
38784
|
+
"type": {
|
|
38785
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
38786
|
+
}
|
|
38787
|
+
},
|
|
38788
|
+
"parameters": [
|
|
38789
|
+
{
|
|
38790
|
+
"name": "this",
|
|
38791
|
+
"type": {
|
|
38792
|
+
"text": "K"
|
|
38793
|
+
}
|
|
38794
|
+
},
|
|
38795
|
+
{
|
|
38796
|
+
"name": "elementDefinition",
|
|
38797
|
+
"type": {
|
|
38798
|
+
"text": "T"
|
|
38799
|
+
},
|
|
38800
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
38801
|
+
}
|
|
38802
|
+
],
|
|
38803
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
38804
|
+
"inheritedFrom": {
|
|
38805
|
+
"name": "FoundationElement",
|
|
38806
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38807
|
+
}
|
|
38808
|
+
}
|
|
38809
|
+
],
|
|
38810
|
+
"attributes": [
|
|
38811
|
+
{
|
|
38812
|
+
"description": "Array of section items to display",
|
|
38813
|
+
"name": "sections"
|
|
38814
|
+
},
|
|
38815
|
+
{
|
|
38816
|
+
"description": "Scroll behavior: 'view' or 'top' (default: 'top')",
|
|
38817
|
+
"name": "scroll-behavior"
|
|
38818
|
+
},
|
|
38819
|
+
{
|
|
38820
|
+
"description": "Custom tooltips for state icons",
|
|
38821
|
+
"name": "state-tooltips"
|
|
38822
|
+
},
|
|
38823
|
+
{
|
|
38824
|
+
"description": "Custom icons for state types",
|
|
38825
|
+
"name": "state-icons"
|
|
38826
|
+
},
|
|
38827
|
+
{
|
|
38828
|
+
"description": "Disable automatic active section detection during scrolling (default: false) When enabled, automatically updates active section based on scroll position. User clicks are prioritized - clicked section remains active until scroll ends.",
|
|
38829
|
+
"name": "disable-auto-scroll-detection"
|
|
38830
|
+
},
|
|
38831
|
+
{
|
|
38832
|
+
"name": "scroll-behavior",
|
|
38833
|
+
"type": {
|
|
38834
|
+
"text": "'view' | 'top'"
|
|
38835
|
+
},
|
|
38836
|
+
"default": "'top'",
|
|
38837
|
+
"fieldName": "scrollBehavior"
|
|
38838
|
+
},
|
|
38839
|
+
{
|
|
38840
|
+
"name": "state-tooltips",
|
|
38841
|
+
"type": {
|
|
38842
|
+
"text": "Record<SectionItemStateName, string>"
|
|
38843
|
+
},
|
|
38844
|
+
"default": "DEFAULT_SECTION_STATES_TOOLTIPS",
|
|
38845
|
+
"resolveInitializer": {
|
|
38846
|
+
"module": "src/section-navigator/section-navigator.ts"
|
|
38847
|
+
},
|
|
38848
|
+
"fieldName": "stateTooltips"
|
|
38849
|
+
},
|
|
38850
|
+
{
|
|
38851
|
+
"name": "state-icons",
|
|
38852
|
+
"type": {
|
|
38853
|
+
"text": "Record<SectionItemStateName, SectionItemStateIcon>"
|
|
38854
|
+
},
|
|
38855
|
+
"default": "DEFAULT_SECTION_STATES_ICONS",
|
|
38856
|
+
"resolveInitializer": {
|
|
38857
|
+
"module": "src/section-navigator/section-navigator.ts"
|
|
38858
|
+
},
|
|
38859
|
+
"fieldName": "stateIcons"
|
|
38860
|
+
},
|
|
38861
|
+
{
|
|
38862
|
+
"name": "disable-auto-scroll-detection",
|
|
38863
|
+
"type": {
|
|
38864
|
+
"text": "boolean"
|
|
38865
|
+
},
|
|
38866
|
+
"default": "false",
|
|
38867
|
+
"fieldName": "disableAutoScrollDetection"
|
|
38868
|
+
}
|
|
38869
|
+
],
|
|
38870
|
+
"superclass": {
|
|
38871
|
+
"name": "FoundationElement",
|
|
38872
|
+
"package": "@microsoft/fast-foundation"
|
|
38873
|
+
},
|
|
38874
|
+
"tagName": "%%prefix%%-section-navigator",
|
|
38875
|
+
"customElement": true
|
|
38876
|
+
},
|
|
38877
|
+
{
|
|
38878
|
+
"kind": "variable",
|
|
38879
|
+
"name": "foundationSectionNavigatorShadowOptions",
|
|
38880
|
+
"type": {
|
|
38881
|
+
"text": "ShadowRootInit"
|
|
38882
|
+
},
|
|
38883
|
+
"default": "{\n mode: 'open',\n}"
|
|
38884
|
+
},
|
|
38885
|
+
{
|
|
38886
|
+
"kind": "variable",
|
|
38887
|
+
"name": "defaultSectionNavigatorConfig",
|
|
38888
|
+
"type": {
|
|
38889
|
+
"text": "object"
|
|
38890
|
+
},
|
|
38891
|
+
"default": "{}"
|
|
38892
|
+
},
|
|
38893
|
+
{
|
|
38894
|
+
"kind": "variable",
|
|
38895
|
+
"name": "foundationSectionNavigator",
|
|
38896
|
+
"description": "The Foundation SectionNavigator",
|
|
38897
|
+
"privacy": "public"
|
|
38898
|
+
}
|
|
38899
|
+
],
|
|
38900
|
+
"exports": [
|
|
38901
|
+
{
|
|
38902
|
+
"kind": "js",
|
|
38903
|
+
"name": "SECTION_NAVIGATOR_EVENTS",
|
|
38904
|
+
"declaration": {
|
|
38905
|
+
"name": "SECTION_NAVIGATOR_EVENTS",
|
|
38906
|
+
"module": "src/section-navigator/section-navigator.ts"
|
|
38907
|
+
}
|
|
38908
|
+
},
|
|
38909
|
+
{
|
|
38910
|
+
"kind": "js",
|
|
38911
|
+
"name": "SectionNavigator",
|
|
38912
|
+
"declaration": {
|
|
38913
|
+
"name": "SectionNavigator",
|
|
38914
|
+
"module": "src/section-navigator/section-navigator.ts"
|
|
38915
|
+
}
|
|
38916
|
+
},
|
|
38917
|
+
{
|
|
38918
|
+
"kind": "js",
|
|
38919
|
+
"name": "foundationSectionNavigatorShadowOptions",
|
|
38920
|
+
"declaration": {
|
|
38921
|
+
"name": "foundationSectionNavigatorShadowOptions",
|
|
38922
|
+
"module": "src/section-navigator/section-navigator.ts"
|
|
38923
|
+
}
|
|
38924
|
+
},
|
|
38925
|
+
{
|
|
38926
|
+
"kind": "js",
|
|
38927
|
+
"name": "defaultSectionNavigatorConfig",
|
|
38928
|
+
"declaration": {
|
|
38929
|
+
"name": "defaultSectionNavigatorConfig",
|
|
38930
|
+
"module": "src/section-navigator/section-navigator.ts"
|
|
38931
|
+
}
|
|
38932
|
+
},
|
|
38933
|
+
{
|
|
38934
|
+
"kind": "js",
|
|
38935
|
+
"name": "foundationSectionNavigator",
|
|
38936
|
+
"declaration": {
|
|
38937
|
+
"name": "foundationSectionNavigator",
|
|
38938
|
+
"module": "src/section-navigator/section-navigator.ts"
|
|
38939
|
+
}
|
|
38940
|
+
}
|
|
38941
|
+
]
|
|
38942
|
+
},
|
|
37403
38943
|
{
|
|
37404
38944
|
"kind": "javascript-module",
|
|
37405
38945
|
"path": "src/segmented-control/index.ts",
|