@genesislcap/foundation-ui 14.340.3 → 14.342.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.
@@ -1680,6 +1680,188 @@
1680
1680
  }
1681
1681
  ]
1682
1682
  },
1683
+ {
1684
+ "kind": "javascript-module",
1685
+ "path": "src/accordion/accordion.styles.ts",
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",
1837
+ "declarations": [],
1838
+ "exports": [
1839
+ {
1840
+ "kind": "js",
1841
+ "name": "*",
1842
+ "declaration": {
1843
+ "name": "*",
1844
+ "package": "./accordion.template"
1845
+ }
1846
+ },
1847
+ {
1848
+ "kind": "js",
1849
+ "name": "*",
1850
+ "declaration": {
1851
+ "name": "*",
1852
+ "package": "./accordion.styles"
1853
+ }
1854
+ },
1855
+ {
1856
+ "kind": "js",
1857
+ "name": "*",
1858
+ "declaration": {
1859
+ "name": "*",
1860
+ "package": "./accordion"
1861
+ }
1862
+ }
1863
+ ]
1864
+ },
1683
1865
  {
1684
1866
  "kind": "javascript-module",
1685
1867
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -2761,14 +2943,14 @@
2761
2943
  },
2762
2944
  {
2763
2945
  "kind": "javascript-module",
2764
- "path": "src/accordion/accordion.styles.ts",
2946
+ "path": "src/anchored-region/anchor-region.template.ts",
2765
2947
  "declarations": [
2766
2948
  {
2767
2949
  "kind": "function",
2768
- "name": "foundationAccordionStyles",
2950
+ "name": "foundationAnchoredRegionTemplate",
2769
2951
  "return": {
2770
2952
  "type": {
2771
- "text": "ElementStyles"
2953
+ "text": "ViewTemplate<AnchoredRegion>"
2772
2954
  }
2773
2955
  },
2774
2956
  "parameters": [
@@ -2790,24 +2972,24 @@
2790
2972
  "exports": [
2791
2973
  {
2792
2974
  "kind": "js",
2793
- "name": "foundationAccordionStyles",
2975
+ "name": "foundationAnchoredRegionTemplate",
2794
2976
  "declaration": {
2795
- "name": "foundationAccordionStyles",
2796
- "module": "src/accordion/accordion.styles.ts"
2977
+ "name": "foundationAnchoredRegionTemplate",
2978
+ "module": "src/anchored-region/anchor-region.template.ts"
2797
2979
  }
2798
2980
  }
2799
2981
  ]
2800
2982
  },
2801
2983
  {
2802
2984
  "kind": "javascript-module",
2803
- "path": "src/accordion/accordion.template.ts",
2985
+ "path": "src/anchored-region/anchored-region.styles.ts",
2804
2986
  "declarations": [
2805
2987
  {
2806
2988
  "kind": "function",
2807
- "name": "foundationAccordionTemplate",
2989
+ "name": "foundationAnchoredRegionStyles",
2808
2990
  "return": {
2809
2991
  "type": {
2810
- "text": "ViewTemplate<Accordion>"
2992
+ "text": "ElementStyles"
2811
2993
  }
2812
2994
  },
2813
2995
  "parameters": [
@@ -2829,207 +3011,25 @@
2829
3011
  "exports": [
2830
3012
  {
2831
3013
  "kind": "js",
2832
- "name": "foundationAccordionTemplate",
3014
+ "name": "foundationAnchoredRegionStyles",
2833
3015
  "declaration": {
2834
- "name": "foundationAccordionTemplate",
2835
- "module": "src/accordion/accordion.template.ts"
3016
+ "name": "foundationAnchoredRegionStyles",
3017
+ "module": "src/anchored-region/anchored-region.styles.ts"
2836
3018
  }
2837
3019
  }
2838
3020
  ]
2839
3021
  },
2840
3022
  {
2841
3023
  "kind": "javascript-module",
2842
- "path": "src/accordion/accordion.ts",
3024
+ "path": "src/anchored-region/anchored-region.ts",
2843
3025
  "declarations": [
2844
3026
  {
2845
3027
  "kind": "class",
2846
3028
  "description": "",
2847
- "name": "Accordion",
3029
+ "name": "AnchoredRegion",
2848
3030
  "superclass": {
2849
- "name": "FASTAccordion",
2850
- "package": "@microsoft/fast-foundation"
2851
- },
2852
- "tagName": "%%prefix%%-accordion",
2853
- "customElement": true
2854
- },
2855
- {
2856
- "kind": "variable",
2857
- "name": "foundationAccordionShadowOptions",
2858
- "type": {
2859
- "text": "ShadowRootInit"
2860
- },
2861
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2862
- },
2863
- {
2864
- "kind": "variable",
2865
- "name": "defaultAccordionConfig",
2866
- "type": {
2867
- "text": "object"
2868
- },
2869
- "default": "{}"
2870
- },
2871
- {
2872
- "kind": "variable",
2873
- "name": "foundationAccordion",
2874
- "description": "The Foundation Accordion",
2875
- "privacy": "public"
2876
- }
2877
- ],
2878
- "exports": [
2879
- {
2880
- "kind": "js",
2881
- "name": "Accordion",
2882
- "declaration": {
2883
- "name": "Accordion",
2884
- "module": "src/accordion/accordion.ts"
2885
- }
2886
- },
2887
- {
2888
- "kind": "js",
2889
- "name": "foundationAccordionShadowOptions",
2890
- "declaration": {
2891
- "name": "foundationAccordionShadowOptions",
2892
- "module": "src/accordion/accordion.ts"
2893
- }
2894
- },
2895
- {
2896
- "kind": "js",
2897
- "name": "defaultAccordionConfig",
2898
- "declaration": {
2899
- "name": "defaultAccordionConfig",
2900
- "module": "src/accordion/accordion.ts"
2901
- }
2902
- },
2903
- {
2904
- "kind": "js",
2905
- "name": "foundationAccordion",
2906
- "declaration": {
2907
- "name": "foundationAccordion",
2908
- "module": "src/accordion/accordion.ts"
2909
- }
2910
- }
2911
- ]
2912
- },
2913
- {
2914
- "kind": "javascript-module",
2915
- "path": "src/accordion/index.ts",
2916
- "declarations": [],
2917
- "exports": [
2918
- {
2919
- "kind": "js",
2920
- "name": "*",
2921
- "declaration": {
2922
- "name": "*",
2923
- "package": "./accordion.template"
2924
- }
2925
- },
2926
- {
2927
- "kind": "js",
2928
- "name": "*",
2929
- "declaration": {
2930
- "name": "*",
2931
- "package": "./accordion.styles"
2932
- }
2933
- },
2934
- {
2935
- "kind": "js",
2936
- "name": "*",
2937
- "declaration": {
2938
- "name": "*",
2939
- "package": "./accordion"
2940
- }
2941
- }
2942
- ]
2943
- },
2944
- {
2945
- "kind": "javascript-module",
2946
- "path": "src/anchored-region/anchor-region.template.ts",
2947
- "declarations": [
2948
- {
2949
- "kind": "function",
2950
- "name": "foundationAnchoredRegionTemplate",
2951
- "return": {
2952
- "type": {
2953
- "text": "ViewTemplate<AnchoredRegion>"
2954
- }
2955
- },
2956
- "parameters": [
2957
- {
2958
- "name": "context",
2959
- "type": {
2960
- "text": "ElementDefinitionContext"
2961
- }
2962
- },
2963
- {
2964
- "name": "definition",
2965
- "type": {
2966
- "text": "FoundationElementDefinition"
2967
- }
2968
- }
2969
- ]
2970
- }
2971
- ],
2972
- "exports": [
2973
- {
2974
- "kind": "js",
2975
- "name": "foundationAnchoredRegionTemplate",
2976
- "declaration": {
2977
- "name": "foundationAnchoredRegionTemplate",
2978
- "module": "src/anchored-region/anchor-region.template.ts"
2979
- }
2980
- }
2981
- ]
2982
- },
2983
- {
2984
- "kind": "javascript-module",
2985
- "path": "src/anchored-region/anchored-region.styles.ts",
2986
- "declarations": [
2987
- {
2988
- "kind": "function",
2989
- "name": "foundationAnchoredRegionStyles",
2990
- "return": {
2991
- "type": {
2992
- "text": "ElementStyles"
2993
- }
2994
- },
2995
- "parameters": [
2996
- {
2997
- "name": "context",
2998
- "type": {
2999
- "text": "ElementDefinitionContext"
3000
- }
3001
- },
3002
- {
3003
- "name": "definition",
3004
- "type": {
3005
- "text": "FoundationElementDefinition"
3006
- }
3007
- }
3008
- ]
3009
- }
3010
- ],
3011
- "exports": [
3012
- {
3013
- "kind": "js",
3014
- "name": "foundationAnchoredRegionStyles",
3015
- "declaration": {
3016
- "name": "foundationAnchoredRegionStyles",
3017
- "module": "src/anchored-region/anchored-region.styles.ts"
3018
- }
3019
- }
3020
- ]
3021
- },
3022
- {
3023
- "kind": "javascript-module",
3024
- "path": "src/anchored-region/anchored-region.ts",
3025
- "declarations": [
3026
- {
3027
- "kind": "class",
3028
- "description": "",
3029
- "name": "AnchoredRegion",
3030
- "superclass": {
3031
- "name": "FASTAnchoredRegion",
3032
- "package": "@microsoft/fast-components"
3031
+ "name": "FASTAnchoredRegion",
3032
+ "package": "@microsoft/fast-components"
3033
3033
  },
3034
3034
  "tagName": "%%prefix%%-anchored-region",
3035
3035
  "customElement": true,
@@ -14538,7 +14538,7 @@
14538
14538
  "type": {
14539
14539
  "text": "ElementStyles"
14540
14540
  },
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`"
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\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
14542
  }
14543
14543
  ],
14544
14544
  "exports": [
@@ -14603,8 +14603,7 @@
14603
14603
  "type": {
14604
14604
  "text": "ShadowRootInit"
14605
14605
  },
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"
14606
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
14608
14607
  },
14609
14608
  {
14610
14609
  "kind": "variable",
@@ -14677,6 +14676,33 @@
14677
14676
  "default": "true",
14678
14677
  "description": "Whether or not to show the close icon"
14679
14678
  },
14679
+ {
14680
+ "kind": "field",
14681
+ "name": "resizable",
14682
+ "type": {
14683
+ "text": "boolean"
14684
+ },
14685
+ "default": "false",
14686
+ "description": "Whether or not the dialog is resizable"
14687
+ },
14688
+ {
14689
+ "kind": "field",
14690
+ "name": "minWidth",
14691
+ "type": {
14692
+ "text": "number"
14693
+ },
14694
+ "default": "300",
14695
+ "description": "Minimum width for the dialog"
14696
+ },
14697
+ {
14698
+ "kind": "field",
14699
+ "name": "minHeight",
14700
+ "type": {
14701
+ "text": "number"
14702
+ },
14703
+ "default": "200",
14704
+ "description": "Minimum height for the dialog"
14705
+ },
14680
14706
  {
14681
14707
  "kind": "field",
14682
14708
  "name": "onShowCallback",
@@ -14695,96 +14721,235 @@
14695
14721
  },
14696
14722
  {
14697
14723
  "kind": "field",
14698
- "name": "open",
14724
+ "name": "isResizing",
14699
14725
  "type": {
14700
14726
  "text": "boolean"
14701
14727
  },
14702
- "description": "Determine if the dialog is showing or closed.",
14703
- "readonly": true
14728
+ "privacy": "private",
14729
+ "default": "false"
14704
14730
  },
14705
14731
  {
14706
- "kind": "method",
14707
- "name": "show",
14708
- "return": {
14709
- "type": {
14710
- "text": "void"
14711
- }
14732
+ "kind": "field",
14733
+ "name": "currentResizeHandle",
14734
+ "type": {
14735
+ "text": "string"
14712
14736
  },
14713
- "description": "Show the HTMLDialogElement and its contents"
14737
+ "privacy": "private",
14738
+ "default": "null"
14714
14739
  },
14715
14740
  {
14716
- "kind": "method",
14717
- "name": "close",
14718
- "return": {
14719
- "type": {
14720
- "text": "void"
14721
- }
14741
+ "kind": "field",
14742
+ "name": "startX",
14743
+ "type": {
14744
+ "text": "number"
14722
14745
  },
14723
- "description": "Remove the HTMLDialogElement from display"
14746
+ "privacy": "private",
14747
+ "default": "0"
14724
14748
  },
14725
14749
  {
14726
- "kind": "method",
14727
- "name": "dismiss",
14728
- "privacy": "public",
14729
- "description": "Dismiss the Dialog from display and calls the dismissing action."
14750
+ "kind": "field",
14751
+ "name": "startY",
14752
+ "type": {
14753
+ "text": "number"
14754
+ },
14755
+ "privacy": "private",
14756
+ "default": "0"
14730
14757
  },
14731
14758
  {
14732
- "kind": "method",
14733
- "name": "closeDialog",
14734
- "privacy": "public",
14735
- "return": {
14736
- "type": {
14737
- "text": "void"
14738
- }
14759
+ "kind": "field",
14760
+ "name": "startWidth",
14761
+ "type": {
14762
+ "text": "number"
14739
14763
  },
14740
- "description": "Dismiss the Dialog from display."
14764
+ "privacy": "private",
14765
+ "default": "0"
14741
14766
  },
14742
14767
  {
14743
14768
  "kind": "field",
14744
- "name": "_presentation",
14769
+ "name": "startHeight",
14745
14770
  "type": {
14746
- "text": "ComponentPresentation | null | undefined"
14771
+ "text": "number"
14747
14772
  },
14748
14773
  "privacy": "private",
14749
- "default": "void 0",
14750
- "inheritedFrom": {
14751
- "name": "FoundationElement",
14752
- "module": "src/foundation-element/foundation-element.ts"
14753
- }
14774
+ "default": "0"
14754
14775
  },
14755
14776
  {
14756
14777
  "kind": "field",
14757
- "name": "$presentation",
14778
+ "name": "startLeft",
14758
14779
  "type": {
14759
- "text": "ComponentPresentation | null"
14780
+ "text": "number"
14760
14781
  },
14761
- "privacy": "public",
14762
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
14763
- "inheritedFrom": {
14764
- "name": "FoundationElement",
14765
- "module": "src/foundation-element/foundation-element.ts"
14766
- }
14782
+ "privacy": "private",
14783
+ "default": "0"
14767
14784
  },
14768
14785
  {
14769
14786
  "kind": "field",
14770
- "name": "template",
14787
+ "name": "startTop",
14771
14788
  "type": {
14772
- "text": "ElementViewTemplate | void | null"
14789
+ "text": "number"
14773
14790
  },
14774
- "privacy": "public",
14775
- "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.",
14776
- "inheritedFrom": {
14777
- "name": "FoundationElement",
14778
- "module": "src/foundation-element/foundation-element.ts"
14779
- }
14791
+ "privacy": "private",
14792
+ "default": "0"
14780
14793
  },
14781
14794
  {
14782
- "kind": "method",
14783
- "name": "templateChanged",
14784
- "privacy": "protected",
14785
- "return": {
14786
- "type": {
14787
- "text": "void"
14795
+ "kind": "field",
14796
+ "name": "resizeOffsetX",
14797
+ "type": {
14798
+ "text": "number"
14799
+ },
14800
+ "privacy": "private",
14801
+ "default": "0"
14802
+ },
14803
+ {
14804
+ "kind": "field",
14805
+ "name": "resizeOffsetY",
14806
+ "type": {
14807
+ "text": "number"
14808
+ },
14809
+ "privacy": "private",
14810
+ "default": "0"
14811
+ },
14812
+ {
14813
+ "kind": "method",
14814
+ "name": "setupResizeHandlers",
14815
+ "privacy": "private"
14816
+ },
14817
+ {
14818
+ "kind": "method",
14819
+ "name": "removeResizeHandlers",
14820
+ "privacy": "private"
14821
+ },
14822
+ {
14823
+ "kind": "method",
14824
+ "name": "handleResizeStart",
14825
+ "privacy": "private",
14826
+ "parameters": [
14827
+ {
14828
+ "name": "e",
14829
+ "type": {
14830
+ "text": "MouseEvent"
14831
+ }
14832
+ }
14833
+ ]
14834
+ },
14835
+ {
14836
+ "kind": "method",
14837
+ "name": "handleResizeMove",
14838
+ "privacy": "private",
14839
+ "parameters": [
14840
+ {
14841
+ "name": "e",
14842
+ "type": {
14843
+ "text": "MouseEvent"
14844
+ }
14845
+ }
14846
+ ]
14847
+ },
14848
+ {
14849
+ "kind": "method",
14850
+ "name": "handleResizeEnd",
14851
+ "privacy": "private",
14852
+ "parameters": [
14853
+ {
14854
+ "name": "e",
14855
+ "type": {
14856
+ "text": "MouseEvent"
14857
+ }
14858
+ }
14859
+ ]
14860
+ },
14861
+ {
14862
+ "kind": "field",
14863
+ "name": "open",
14864
+ "type": {
14865
+ "text": "boolean"
14866
+ },
14867
+ "description": "Determine if the dialog is showing or closed.",
14868
+ "readonly": true
14869
+ },
14870
+ {
14871
+ "kind": "method",
14872
+ "name": "show",
14873
+ "return": {
14874
+ "type": {
14875
+ "text": "void"
14876
+ }
14877
+ },
14878
+ "description": "Show the HTMLDialogElement and its contents"
14879
+ },
14880
+ {
14881
+ "kind": "method",
14882
+ "name": "close",
14883
+ "return": {
14884
+ "type": {
14885
+ "text": "void"
14886
+ }
14887
+ },
14888
+ "description": "Remove the HTMLDialogElement from display"
14889
+ },
14890
+ {
14891
+ "kind": "method",
14892
+ "name": "dismiss",
14893
+ "privacy": "public",
14894
+ "description": "Dismiss the Dialog from display and calls the dismissing action."
14895
+ },
14896
+ {
14897
+ "kind": "method",
14898
+ "name": "closeDialog",
14899
+ "privacy": "public",
14900
+ "return": {
14901
+ "type": {
14902
+ "text": "void"
14903
+ }
14904
+ },
14905
+ "description": "Dismiss the Dialog from display."
14906
+ },
14907
+ {
14908
+ "kind": "field",
14909
+ "name": "_presentation",
14910
+ "type": {
14911
+ "text": "ComponentPresentation | null | undefined"
14912
+ },
14913
+ "privacy": "private",
14914
+ "default": "void 0",
14915
+ "inheritedFrom": {
14916
+ "name": "FoundationElement",
14917
+ "module": "src/foundation-element/foundation-element.ts"
14918
+ }
14919
+ },
14920
+ {
14921
+ "kind": "field",
14922
+ "name": "$presentation",
14923
+ "type": {
14924
+ "text": "ComponentPresentation | null"
14925
+ },
14926
+ "privacy": "public",
14927
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
14928
+ "inheritedFrom": {
14929
+ "name": "FoundationElement",
14930
+ "module": "src/foundation-element/foundation-element.ts"
14931
+ }
14932
+ },
14933
+ {
14934
+ "kind": "field",
14935
+ "name": "template",
14936
+ "type": {
14937
+ "text": "ElementViewTemplate | void | null"
14938
+ },
14939
+ "privacy": "public",
14940
+ "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.",
14941
+ "inheritedFrom": {
14942
+ "name": "FoundationElement",
14943
+ "module": "src/foundation-element/foundation-element.ts"
14944
+ }
14945
+ },
14946
+ {
14947
+ "kind": "method",
14948
+ "name": "templateChanged",
14949
+ "privacy": "protected",
14950
+ "return": {
14951
+ "type": {
14952
+ "text": "void"
14788
14953
  }
14789
14954
  },
14790
14955
  "inheritedFrom": {
@@ -14876,6 +15041,39 @@
14876
15041
  "default": "true",
14877
15042
  "description": "Whether or not to show the close icon",
14878
15043
  "fieldName": "showCloseIcon"
15044
+ },
15045
+ {
15046
+ "name": "resizable",
15047
+ "type": {
15048
+ "text": "boolean"
15049
+ },
15050
+ "default": "false",
15051
+ "description": "Whether or not the dialog is resizable",
15052
+ "fieldName": "resizable"
15053
+ },
15054
+ {
15055
+ "name": "min-width",
15056
+ "type": {
15057
+ "text": "number"
15058
+ },
15059
+ "default": "MIN_WIDTH",
15060
+ "description": "Minimum width for the dialog",
15061
+ "resolveInitializer": {
15062
+ "module": "src/dialog/dialog.ts"
15063
+ },
15064
+ "fieldName": "minWidth"
15065
+ },
15066
+ {
15067
+ "name": "min-height",
15068
+ "type": {
15069
+ "text": "number"
15070
+ },
15071
+ "default": "MIN_HEIGHT",
15072
+ "description": "Minimum height for the dialog",
15073
+ "resolveInitializer": {
15074
+ "module": "src/dialog/dialog.ts"
15075
+ },
15076
+ "fieldName": "minHeight"
14879
15077
  }
14880
15078
  ],
14881
15079
  "superclass": {
@@ -14992,6 +15190,45 @@
14992
15190
  "module": "src/dialog/dialog.ts"
14993
15191
  }
14994
15192
  },
15193
+ {
15194
+ "kind": "field",
15195
+ "name": "resizable",
15196
+ "type": {
15197
+ "text": "boolean"
15198
+ },
15199
+ "default": "false",
15200
+ "description": "Whether or not the dialog is resizable",
15201
+ "inheritedFrom": {
15202
+ "name": "<local>_DialogElement",
15203
+ "module": "src/dialog/dialog.ts"
15204
+ }
15205
+ },
15206
+ {
15207
+ "kind": "field",
15208
+ "name": "minWidth",
15209
+ "type": {
15210
+ "text": "number"
15211
+ },
15212
+ "default": "300",
15213
+ "description": "Minimum width for the dialog",
15214
+ "inheritedFrom": {
15215
+ "name": "<local>_DialogElement",
15216
+ "module": "src/dialog/dialog.ts"
15217
+ }
15218
+ },
15219
+ {
15220
+ "kind": "field",
15221
+ "name": "minHeight",
15222
+ "type": {
15223
+ "text": "number"
15224
+ },
15225
+ "default": "200",
15226
+ "description": "Minimum height for the dialog",
15227
+ "inheritedFrom": {
15228
+ "name": "<local>_DialogElement",
15229
+ "module": "src/dialog/dialog.ts"
15230
+ }
15231
+ },
14995
15232
  {
14996
15233
  "kind": "field",
14997
15234
  "name": "onShowCallback",
@@ -15016,6 +15253,205 @@
15016
15253
  "module": "src/dialog/dialog.ts"
15017
15254
  }
15018
15255
  },
15256
+ {
15257
+ "kind": "field",
15258
+ "name": "isResizing",
15259
+ "type": {
15260
+ "text": "boolean"
15261
+ },
15262
+ "privacy": "private",
15263
+ "default": "false",
15264
+ "inheritedFrom": {
15265
+ "name": "<local>_DialogElement",
15266
+ "module": "src/dialog/dialog.ts"
15267
+ }
15268
+ },
15269
+ {
15270
+ "kind": "field",
15271
+ "name": "currentResizeHandle",
15272
+ "type": {
15273
+ "text": "string"
15274
+ },
15275
+ "privacy": "private",
15276
+ "default": "null",
15277
+ "inheritedFrom": {
15278
+ "name": "<local>_DialogElement",
15279
+ "module": "src/dialog/dialog.ts"
15280
+ }
15281
+ },
15282
+ {
15283
+ "kind": "field",
15284
+ "name": "startX",
15285
+ "type": {
15286
+ "text": "number"
15287
+ },
15288
+ "privacy": "private",
15289
+ "default": "0",
15290
+ "inheritedFrom": {
15291
+ "name": "<local>_DialogElement",
15292
+ "module": "src/dialog/dialog.ts"
15293
+ }
15294
+ },
15295
+ {
15296
+ "kind": "field",
15297
+ "name": "startY",
15298
+ "type": {
15299
+ "text": "number"
15300
+ },
15301
+ "privacy": "private",
15302
+ "default": "0",
15303
+ "inheritedFrom": {
15304
+ "name": "<local>_DialogElement",
15305
+ "module": "src/dialog/dialog.ts"
15306
+ }
15307
+ },
15308
+ {
15309
+ "kind": "field",
15310
+ "name": "startWidth",
15311
+ "type": {
15312
+ "text": "number"
15313
+ },
15314
+ "privacy": "private",
15315
+ "default": "0",
15316
+ "inheritedFrom": {
15317
+ "name": "<local>_DialogElement",
15318
+ "module": "src/dialog/dialog.ts"
15319
+ }
15320
+ },
15321
+ {
15322
+ "kind": "field",
15323
+ "name": "startHeight",
15324
+ "type": {
15325
+ "text": "number"
15326
+ },
15327
+ "privacy": "private",
15328
+ "default": "0",
15329
+ "inheritedFrom": {
15330
+ "name": "<local>_DialogElement",
15331
+ "module": "src/dialog/dialog.ts"
15332
+ }
15333
+ },
15334
+ {
15335
+ "kind": "field",
15336
+ "name": "startLeft",
15337
+ "type": {
15338
+ "text": "number"
15339
+ },
15340
+ "privacy": "private",
15341
+ "default": "0",
15342
+ "inheritedFrom": {
15343
+ "name": "<local>_DialogElement",
15344
+ "module": "src/dialog/dialog.ts"
15345
+ }
15346
+ },
15347
+ {
15348
+ "kind": "field",
15349
+ "name": "startTop",
15350
+ "type": {
15351
+ "text": "number"
15352
+ },
15353
+ "privacy": "private",
15354
+ "default": "0",
15355
+ "inheritedFrom": {
15356
+ "name": "<local>_DialogElement",
15357
+ "module": "src/dialog/dialog.ts"
15358
+ }
15359
+ },
15360
+ {
15361
+ "kind": "field",
15362
+ "name": "resizeOffsetX",
15363
+ "type": {
15364
+ "text": "number"
15365
+ },
15366
+ "privacy": "private",
15367
+ "default": "0",
15368
+ "inheritedFrom": {
15369
+ "name": "<local>_DialogElement",
15370
+ "module": "src/dialog/dialog.ts"
15371
+ }
15372
+ },
15373
+ {
15374
+ "kind": "field",
15375
+ "name": "resizeOffsetY",
15376
+ "type": {
15377
+ "text": "number"
15378
+ },
15379
+ "privacy": "private",
15380
+ "default": "0",
15381
+ "inheritedFrom": {
15382
+ "name": "<local>_DialogElement",
15383
+ "module": "src/dialog/dialog.ts"
15384
+ }
15385
+ },
15386
+ {
15387
+ "kind": "method",
15388
+ "name": "setupResizeHandlers",
15389
+ "privacy": "private",
15390
+ "inheritedFrom": {
15391
+ "name": "<local>_DialogElement",
15392
+ "module": "src/dialog/dialog.ts"
15393
+ }
15394
+ },
15395
+ {
15396
+ "kind": "method",
15397
+ "name": "removeResizeHandlers",
15398
+ "privacy": "private",
15399
+ "inheritedFrom": {
15400
+ "name": "<local>_DialogElement",
15401
+ "module": "src/dialog/dialog.ts"
15402
+ }
15403
+ },
15404
+ {
15405
+ "kind": "method",
15406
+ "name": "handleResizeStart",
15407
+ "privacy": "private",
15408
+ "parameters": [
15409
+ {
15410
+ "name": "e",
15411
+ "type": {
15412
+ "text": "MouseEvent"
15413
+ }
15414
+ }
15415
+ ],
15416
+ "inheritedFrom": {
15417
+ "name": "<local>_DialogElement",
15418
+ "module": "src/dialog/dialog.ts"
15419
+ }
15420
+ },
15421
+ {
15422
+ "kind": "method",
15423
+ "name": "handleResizeMove",
15424
+ "privacy": "private",
15425
+ "parameters": [
15426
+ {
15427
+ "name": "e",
15428
+ "type": {
15429
+ "text": "MouseEvent"
15430
+ }
15431
+ }
15432
+ ],
15433
+ "inheritedFrom": {
15434
+ "name": "<local>_DialogElement",
15435
+ "module": "src/dialog/dialog.ts"
15436
+ }
15437
+ },
15438
+ {
15439
+ "kind": "method",
15440
+ "name": "handleResizeEnd",
15441
+ "privacy": "private",
15442
+ "parameters": [
15443
+ {
15444
+ "name": "e",
15445
+ "type": {
15446
+ "text": "MouseEvent"
15447
+ }
15448
+ }
15449
+ ],
15450
+ "inheritedFrom": {
15451
+ "name": "<local>_DialogElement",
15452
+ "module": "src/dialog/dialog.ts"
15453
+ }
15454
+ },
15019
15455
  {
15020
15456
  "kind": "field",
15021
15457
  "name": "open",
@@ -15223,6 +15659,51 @@
15223
15659
  "name": "<local>_DialogElement",
15224
15660
  "module": "src/dialog/dialog.ts"
15225
15661
  }
15662
+ },
15663
+ {
15664
+ "name": "resizable",
15665
+ "type": {
15666
+ "text": "boolean"
15667
+ },
15668
+ "default": "false",
15669
+ "description": "Whether or not the dialog is resizable",
15670
+ "fieldName": "resizable",
15671
+ "inheritedFrom": {
15672
+ "name": "<local>_DialogElement",
15673
+ "module": "src/dialog/dialog.ts"
15674
+ }
15675
+ },
15676
+ {
15677
+ "name": "min-width",
15678
+ "type": {
15679
+ "text": "number"
15680
+ },
15681
+ "default": "MIN_WIDTH",
15682
+ "description": "Minimum width for the dialog",
15683
+ "resolveInitializer": {
15684
+ "module": "src/dialog/dialog.ts"
15685
+ },
15686
+ "fieldName": "minWidth",
15687
+ "inheritedFrom": {
15688
+ "name": "<local>_DialogElement",
15689
+ "module": "src/dialog/dialog.ts"
15690
+ }
15691
+ },
15692
+ {
15693
+ "name": "min-height",
15694
+ "type": {
15695
+ "text": "number"
15696
+ },
15697
+ "default": "MIN_HEIGHT",
15698
+ "description": "Minimum height for the dialog",
15699
+ "resolveInitializer": {
15700
+ "module": "src/dialog/dialog.ts"
15701
+ },
15702
+ "fieldName": "minHeight",
15703
+ "inheritedFrom": {
15704
+ "name": "<local>_DialogElement",
15705
+ "module": "src/dialog/dialog.ts"
15706
+ }
15226
15707
  }
15227
15708
  ]
15228
15709
  },
@@ -26996,14 +27477,227 @@
26996
27477
  ]
26997
27478
  },
26998
27479
  {
26999
- "kind": "method",
27000
- "name": "show",
27001
- "return": {
27002
- "type": {
27003
- "text": "void"
27004
- }
27480
+ "kind": "method",
27481
+ "name": "show",
27482
+ "return": {
27483
+ "type": {
27484
+ "text": "void"
27485
+ }
27486
+ },
27487
+ "description": "Show the HTMLDialogElement and its contents",
27488
+ "inheritedFrom": {
27489
+ "name": "<local>_DialogElement",
27490
+ "module": "src/dialog/dialog.ts"
27491
+ }
27492
+ },
27493
+ {
27494
+ "kind": "field",
27495
+ "name": "onCloseCallback",
27496
+ "type": {
27497
+ "text": "() => void"
27498
+ },
27499
+ "description": "Callback to run *after* HTMLDialogElement is closed",
27500
+ "inheritedFrom": {
27501
+ "name": "<local>_DialogElement",
27502
+ "module": "src/dialog/dialog.ts"
27503
+ }
27504
+ },
27505
+ {
27506
+ "kind": "method",
27507
+ "name": "isEventTargetInDraggableTarget",
27508
+ "privacy": "private",
27509
+ "return": {
27510
+ "type": {
27511
+ "text": "boolean"
27512
+ }
27513
+ },
27514
+ "parameters": [
27515
+ {
27516
+ "name": "event",
27517
+ "type": {
27518
+ "text": "MouseEvent"
27519
+ }
27520
+ }
27521
+ ]
27522
+ },
27523
+ {
27524
+ "kind": "method",
27525
+ "name": "isInsideTopSlot",
27526
+ "privacy": "private",
27527
+ "return": {
27528
+ "type": {
27529
+ "text": "boolean"
27530
+ }
27531
+ },
27532
+ "parameters": [
27533
+ {
27534
+ "name": "target",
27535
+ "type": {
27536
+ "text": "Node"
27537
+ }
27538
+ }
27539
+ ]
27540
+ },
27541
+ {
27542
+ "kind": "method",
27543
+ "name": "onMouseDown",
27544
+ "privacy": "private",
27545
+ "parameters": [
27546
+ {
27547
+ "name": "event",
27548
+ "type": {
27549
+ "text": "MouseEvent"
27550
+ }
27551
+ }
27552
+ ]
27553
+ },
27554
+ {
27555
+ "kind": "method",
27556
+ "name": "onMouseMove",
27557
+ "privacy": "private",
27558
+ "parameters": [
27559
+ {
27560
+ "name": "event",
27561
+ "type": {
27562
+ "text": "MouseEvent"
27563
+ }
27564
+ }
27565
+ ]
27566
+ },
27567
+ {
27568
+ "kind": "method",
27569
+ "name": "onMouseUp",
27570
+ "privacy": "private"
27571
+ },
27572
+ {
27573
+ "kind": "method",
27574
+ "name": "removeDraggableEventListeners",
27575
+ "privacy": "private"
27576
+ },
27577
+ {
27578
+ "kind": "field",
27579
+ "name": "mainElement",
27580
+ "type": {
27581
+ "text": "HTMLDialogElement"
27582
+ },
27583
+ "description": "A reference to the dialog element\nin the component Shadow DOM.",
27584
+ "inheritedFrom": {
27585
+ "name": "<local>_DialogElement",
27586
+ "module": "src/dialog/dialog.ts"
27587
+ }
27588
+ },
27589
+ {
27590
+ "kind": "field",
27591
+ "name": "topElement",
27592
+ "type": {
27593
+ "text": "HTMLElement"
27594
+ },
27595
+ "inheritedFrom": {
27596
+ "name": "<local>_DialogElement",
27597
+ "module": "src/dialog/dialog.ts"
27598
+ }
27599
+ },
27600
+ {
27601
+ "kind": "field",
27602
+ "name": "topElementSlot",
27603
+ "type": {
27604
+ "text": "HTMLSlotElement"
27605
+ },
27606
+ "inheritedFrom": {
27607
+ "name": "<local>_DialogElement",
27608
+ "module": "src/dialog/dialog.ts"
27609
+ }
27610
+ },
27611
+ {
27612
+ "kind": "field",
27613
+ "name": "notification",
27614
+ "type": {
27615
+ "text": "NotificationStructure"
27616
+ },
27617
+ "inheritedFrom": {
27618
+ "name": "<local>_DialogElement",
27619
+ "module": "src/dialog/dialog.ts"
27620
+ }
27621
+ },
27622
+ {
27623
+ "kind": "method",
27624
+ "name": "notificationChanged",
27625
+ "inheritedFrom": {
27626
+ "name": "<local>_DialogElement",
27627
+ "module": "src/dialog/dialog.ts"
27628
+ }
27629
+ },
27630
+ {
27631
+ "kind": "field",
27632
+ "name": "type",
27633
+ "type": {
27634
+ "text": "DialogType"
27635
+ },
27636
+ "default": "'default'",
27637
+ "inheritedFrom": {
27638
+ "name": "<local>_DialogElement",
27639
+ "module": "src/dialog/dialog.ts"
27640
+ }
27641
+ },
27642
+ {
27643
+ "kind": "field",
27644
+ "name": "position",
27645
+ "type": {
27646
+ "text": "DialogPosition"
27647
+ },
27648
+ "default": "'center'",
27649
+ "inheritedFrom": {
27650
+ "name": "<local>_DialogElement",
27651
+ "module": "src/dialog/dialog.ts"
27652
+ }
27653
+ },
27654
+ {
27655
+ "kind": "field",
27656
+ "name": "showCloseIcon",
27657
+ "type": {
27658
+ "text": "boolean"
27659
+ },
27660
+ "default": "true",
27661
+ "description": "Whether or not to show the close icon",
27662
+ "inheritedFrom": {
27663
+ "name": "<local>_DialogElement",
27664
+ "module": "src/dialog/dialog.ts"
27665
+ }
27666
+ },
27667
+ {
27668
+ "kind": "field",
27669
+ "name": "resizable",
27670
+ "type": {
27671
+ "text": "boolean"
27672
+ },
27673
+ "default": "false",
27674
+ "description": "Whether or not the dialog is resizable",
27675
+ "inheritedFrom": {
27676
+ "name": "<local>_DialogElement",
27677
+ "module": "src/dialog/dialog.ts"
27678
+ }
27679
+ },
27680
+ {
27681
+ "kind": "field",
27682
+ "name": "minWidth",
27683
+ "type": {
27684
+ "text": "number"
27685
+ },
27686
+ "default": "300",
27687
+ "description": "Minimum width for the dialog",
27688
+ "inheritedFrom": {
27689
+ "name": "<local>_DialogElement",
27690
+ "module": "src/dialog/dialog.ts"
27691
+ }
27692
+ },
27693
+ {
27694
+ "kind": "field",
27695
+ "name": "minHeight",
27696
+ "type": {
27697
+ "text": "number"
27005
27698
  },
27006
- "description": "Show the HTMLDialogElement and its contents",
27699
+ "default": "200",
27700
+ "description": "Minimum height for the dialog",
27007
27701
  "inheritedFrom": {
27008
27702
  "name": "<local>_DialogElement",
27009
27703
  "module": "src/dialog/dialog.ts"
@@ -27011,95 +27705,102 @@
27011
27705
  },
27012
27706
  {
27013
27707
  "kind": "field",
27014
- "name": "onCloseCallback",
27708
+ "name": "onShowCallback",
27015
27709
  "type": {
27016
27710
  "text": "() => void"
27017
27711
  },
27018
- "description": "Callback to run *after* HTMLDialogElement is closed",
27712
+ "description": "Callback to run *before* HTMLDialogElement is shown",
27019
27713
  "inheritedFrom": {
27020
27714
  "name": "<local>_DialogElement",
27021
27715
  "module": "src/dialog/dialog.ts"
27022
27716
  }
27023
27717
  },
27024
27718
  {
27025
- "kind": "method",
27026
- "name": "isEventTargetInDraggableTarget",
27027
- "privacy": "private",
27028
- "return": {
27029
- "type": {
27030
- "text": "boolean"
27031
- }
27719
+ "kind": "field",
27720
+ "name": "isResizing",
27721
+ "type": {
27722
+ "text": "boolean"
27032
27723
  },
27033
- "parameters": [
27034
- {
27035
- "name": "event",
27036
- "type": {
27037
- "text": "MouseEvent"
27038
- }
27039
- }
27040
- ]
27724
+ "privacy": "private",
27725
+ "default": "false",
27726
+ "inheritedFrom": {
27727
+ "name": "<local>_DialogElement",
27728
+ "module": "src/dialog/dialog.ts"
27729
+ }
27041
27730
  },
27042
27731
  {
27043
- "kind": "method",
27044
- "name": "isInsideTopSlot",
27045
- "privacy": "private",
27046
- "return": {
27047
- "type": {
27048
- "text": "boolean"
27049
- }
27732
+ "kind": "field",
27733
+ "name": "currentResizeHandle",
27734
+ "type": {
27735
+ "text": "string"
27050
27736
  },
27051
- "parameters": [
27052
- {
27053
- "name": "target",
27054
- "type": {
27055
- "text": "Node"
27056
- }
27057
- }
27058
- ]
27737
+ "privacy": "private",
27738
+ "default": "null",
27739
+ "inheritedFrom": {
27740
+ "name": "<local>_DialogElement",
27741
+ "module": "src/dialog/dialog.ts"
27742
+ }
27059
27743
  },
27060
27744
  {
27061
- "kind": "method",
27062
- "name": "onMouseDown",
27745
+ "kind": "field",
27746
+ "name": "startX",
27747
+ "type": {
27748
+ "text": "number"
27749
+ },
27063
27750
  "privacy": "private",
27064
- "parameters": [
27065
- {
27066
- "name": "event",
27067
- "type": {
27068
- "text": "MouseEvent"
27069
- }
27070
- }
27071
- ]
27751
+ "default": "0",
27752
+ "inheritedFrom": {
27753
+ "name": "<local>_DialogElement",
27754
+ "module": "src/dialog/dialog.ts"
27755
+ }
27072
27756
  },
27073
27757
  {
27074
- "kind": "method",
27075
- "name": "onMouseMove",
27758
+ "kind": "field",
27759
+ "name": "startY",
27760
+ "type": {
27761
+ "text": "number"
27762
+ },
27076
27763
  "privacy": "private",
27077
- "parameters": [
27078
- {
27079
- "name": "event",
27080
- "type": {
27081
- "text": "MouseEvent"
27082
- }
27083
- }
27084
- ]
27764
+ "default": "0",
27765
+ "inheritedFrom": {
27766
+ "name": "<local>_DialogElement",
27767
+ "module": "src/dialog/dialog.ts"
27768
+ }
27085
27769
  },
27086
27770
  {
27087
- "kind": "method",
27088
- "name": "onMouseUp",
27089
- "privacy": "private"
27771
+ "kind": "field",
27772
+ "name": "startWidth",
27773
+ "type": {
27774
+ "text": "number"
27775
+ },
27776
+ "privacy": "private",
27777
+ "default": "0",
27778
+ "inheritedFrom": {
27779
+ "name": "<local>_DialogElement",
27780
+ "module": "src/dialog/dialog.ts"
27781
+ }
27090
27782
  },
27091
27783
  {
27092
- "kind": "method",
27093
- "name": "removeDraggableEventListeners",
27094
- "privacy": "private"
27784
+ "kind": "field",
27785
+ "name": "startHeight",
27786
+ "type": {
27787
+ "text": "number"
27788
+ },
27789
+ "privacy": "private",
27790
+ "default": "0",
27791
+ "inheritedFrom": {
27792
+ "name": "<local>_DialogElement",
27793
+ "module": "src/dialog/dialog.ts"
27794
+ }
27095
27795
  },
27096
27796
  {
27097
27797
  "kind": "field",
27098
- "name": "mainElement",
27798
+ "name": "startLeft",
27099
27799
  "type": {
27100
- "text": "HTMLDialogElement"
27800
+ "text": "number"
27101
27801
  },
27102
- "description": "A reference to the dialog element\nin the component Shadow DOM.",
27802
+ "privacy": "private",
27803
+ "default": "0",
27103
27804
  "inheritedFrom": {
27104
27805
  "name": "<local>_DialogElement",
27105
27806
  "module": "src/dialog/dialog.ts"
@@ -27107,10 +27808,12 @@
27107
27808
  },
27108
27809
  {
27109
27810
  "kind": "field",
27110
- "name": "topElement",
27811
+ "name": "startTop",
27111
27812
  "type": {
27112
- "text": "HTMLElement"
27813
+ "text": "number"
27113
27814
  },
27815
+ "privacy": "private",
27816
+ "default": "0",
27114
27817
  "inheritedFrom": {
27115
27818
  "name": "<local>_DialogElement",
27116
27819
  "module": "src/dialog/dialog.ts"
@@ -27118,10 +27821,12 @@
27118
27821
  },
27119
27822
  {
27120
27823
  "kind": "field",
27121
- "name": "topElementSlot",
27824
+ "name": "resizeOffsetX",
27122
27825
  "type": {
27123
- "text": "HTMLSlotElement"
27826
+ "text": "number"
27124
27827
  },
27828
+ "privacy": "private",
27829
+ "default": "0",
27125
27830
  "inheritedFrom": {
27126
27831
  "name": "<local>_DialogElement",
27127
27832
  "module": "src/dialog/dialog.ts"
@@ -27129,10 +27834,12 @@
27129
27834
  },
27130
27835
  {
27131
27836
  "kind": "field",
27132
- "name": "notification",
27837
+ "name": "resizeOffsetY",
27133
27838
  "type": {
27134
- "text": "NotificationStructure"
27839
+ "text": "number"
27135
27840
  },
27841
+ "privacy": "private",
27842
+ "default": "0",
27136
27843
  "inheritedFrom": {
27137
27844
  "name": "<local>_DialogElement",
27138
27845
  "module": "src/dialog/dialog.ts"
@@ -27140,56 +27847,68 @@
27140
27847
  },
27141
27848
  {
27142
27849
  "kind": "method",
27143
- "name": "notificationChanged",
27850
+ "name": "setupResizeHandlers",
27851
+ "privacy": "private",
27144
27852
  "inheritedFrom": {
27145
27853
  "name": "<local>_DialogElement",
27146
27854
  "module": "src/dialog/dialog.ts"
27147
27855
  }
27148
27856
  },
27149
27857
  {
27150
- "kind": "field",
27151
- "name": "type",
27152
- "type": {
27153
- "text": "DialogType"
27154
- },
27155
- "default": "'default'",
27858
+ "kind": "method",
27859
+ "name": "removeResizeHandlers",
27860
+ "privacy": "private",
27156
27861
  "inheritedFrom": {
27157
27862
  "name": "<local>_DialogElement",
27158
27863
  "module": "src/dialog/dialog.ts"
27159
27864
  }
27160
27865
  },
27161
27866
  {
27162
- "kind": "field",
27163
- "name": "position",
27164
- "type": {
27165
- "text": "DialogPosition"
27166
- },
27167
- "default": "'center'",
27867
+ "kind": "method",
27868
+ "name": "handleResizeStart",
27869
+ "privacy": "private",
27870
+ "parameters": [
27871
+ {
27872
+ "name": "e",
27873
+ "type": {
27874
+ "text": "MouseEvent"
27875
+ }
27876
+ }
27877
+ ],
27168
27878
  "inheritedFrom": {
27169
27879
  "name": "<local>_DialogElement",
27170
27880
  "module": "src/dialog/dialog.ts"
27171
27881
  }
27172
27882
  },
27173
27883
  {
27174
- "kind": "field",
27175
- "name": "showCloseIcon",
27176
- "type": {
27177
- "text": "boolean"
27178
- },
27179
- "default": "true",
27180
- "description": "Whether or not to show the close icon",
27884
+ "kind": "method",
27885
+ "name": "handleResizeMove",
27886
+ "privacy": "private",
27887
+ "parameters": [
27888
+ {
27889
+ "name": "e",
27890
+ "type": {
27891
+ "text": "MouseEvent"
27892
+ }
27893
+ }
27894
+ ],
27181
27895
  "inheritedFrom": {
27182
27896
  "name": "<local>_DialogElement",
27183
27897
  "module": "src/dialog/dialog.ts"
27184
27898
  }
27185
27899
  },
27186
27900
  {
27187
- "kind": "field",
27188
- "name": "onShowCallback",
27189
- "type": {
27190
- "text": "() => void"
27191
- },
27192
- "description": "Callback to run *before* HTMLDialogElement is shown",
27901
+ "kind": "method",
27902
+ "name": "handleResizeEnd",
27903
+ "privacy": "private",
27904
+ "parameters": [
27905
+ {
27906
+ "name": "e",
27907
+ "type": {
27908
+ "text": "MouseEvent"
27909
+ }
27910
+ }
27911
+ ],
27193
27912
  "inheritedFrom": {
27194
27913
  "name": "<local>_DialogElement",
27195
27914
  "module": "src/dialog/dialog.ts"
@@ -27403,6 +28122,51 @@
27403
28122
  "name": "<local>_DialogElement",
27404
28123
  "module": "src/dialog/dialog.ts"
27405
28124
  }
28125
+ },
28126
+ {
28127
+ "name": "resizable",
28128
+ "type": {
28129
+ "text": "boolean"
28130
+ },
28131
+ "default": "false",
28132
+ "description": "Whether or not the dialog is resizable",
28133
+ "fieldName": "resizable",
28134
+ "inheritedFrom": {
28135
+ "name": "<local>_DialogElement",
28136
+ "module": "src/dialog/dialog.ts"
28137
+ }
28138
+ },
28139
+ {
28140
+ "name": "min-width",
28141
+ "type": {
28142
+ "text": "number"
28143
+ },
28144
+ "default": "MIN_WIDTH",
28145
+ "description": "Minimum width for the dialog",
28146
+ "resolveInitializer": {
28147
+ "module": "src/dialog/dialog.ts"
28148
+ },
28149
+ "fieldName": "minWidth",
28150
+ "inheritedFrom": {
28151
+ "name": "<local>_DialogElement",
28152
+ "module": "src/dialog/dialog.ts"
28153
+ }
28154
+ },
28155
+ {
28156
+ "name": "min-height",
28157
+ "type": {
28158
+ "text": "number"
28159
+ },
28160
+ "default": "MIN_HEIGHT",
28161
+ "description": "Minimum height for the dialog",
28162
+ "resolveInitializer": {
28163
+ "module": "src/dialog/dialog.ts"
28164
+ },
28165
+ "fieldName": "minHeight",
28166
+ "inheritedFrom": {
28167
+ "name": "<local>_DialogElement",
28168
+ "module": "src/dialog/dialog.ts"
28169
+ }
27406
28170
  }
27407
28171
  ],
27408
28172
  "superclass": {
@@ -31071,6 +31835,13 @@
31071
31835
  "kind": "field",
31072
31836
  "name": "labelFormatter"
31073
31837
  },
31838
+ {
31839
+ "kind": "field",
31840
+ "name": "labelRowFormatter",
31841
+ "type": {
31842
+ "text": "(any) => string"
31843
+ }
31844
+ },
31074
31845
  {
31075
31846
  "kind": "field",
31076
31847
  "name": "initialSelectedValue",