@genesislcap/foundation-ui 14.155.0 → 14.155.2-alpha-d9bfff1.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 +387 -317
- package/dist/dts/dialog/dialog.d.ts +3 -1
- 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.types.d.ts +3 -0
- package/dist/dts/dialog/dialog.types.d.ts.map +1 -0
- package/dist/esm/dialog/dialog.js +8 -1
- package/dist/esm/dialog/dialog.styles.js +25 -0
- package/dist/esm/dialog/dialog.template.js +1 -1
- package/dist/esm/dialog/dialog.types.js +1 -0
- package/dist/esm/grid-layout/grid-layout.js +3 -3
- package/package.json +15 -15
|
@@ -793,6 +793,260 @@
|
|
|
793
793
|
}
|
|
794
794
|
]
|
|
795
795
|
},
|
|
796
|
+
{
|
|
797
|
+
"kind": "javascript-module",
|
|
798
|
+
"path": "src/_common/icons.ts",
|
|
799
|
+
"declarations": [
|
|
800
|
+
{
|
|
801
|
+
"kind": "function",
|
|
802
|
+
"name": "closeIcon",
|
|
803
|
+
"parameters": [
|
|
804
|
+
{
|
|
805
|
+
"name": "slot",
|
|
806
|
+
"default": "'start'"
|
|
807
|
+
}
|
|
808
|
+
]
|
|
809
|
+
}
|
|
810
|
+
],
|
|
811
|
+
"exports": [
|
|
812
|
+
{
|
|
813
|
+
"kind": "js",
|
|
814
|
+
"name": "closeIcon",
|
|
815
|
+
"declaration": {
|
|
816
|
+
"name": "closeIcon",
|
|
817
|
+
"module": "src/_common/icons.ts"
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
]
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"kind": "javascript-module",
|
|
824
|
+
"path": "src/_common/index.ts",
|
|
825
|
+
"declarations": [],
|
|
826
|
+
"exports": [
|
|
827
|
+
{
|
|
828
|
+
"kind": "js",
|
|
829
|
+
"name": "*",
|
|
830
|
+
"declaration": {
|
|
831
|
+
"name": "*",
|
|
832
|
+
"package": "./icons"
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
]
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"kind": "javascript-module",
|
|
839
|
+
"path": "src/_config/index.ts",
|
|
840
|
+
"declarations": [],
|
|
841
|
+
"exports": [
|
|
842
|
+
{
|
|
843
|
+
"kind": "js",
|
|
844
|
+
"name": "*",
|
|
845
|
+
"declaration": {
|
|
846
|
+
"name": "*",
|
|
847
|
+
"package": "./styles"
|
|
848
|
+
}
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"kind": "js",
|
|
852
|
+
"name": "*",
|
|
853
|
+
"declaration": {
|
|
854
|
+
"name": "*",
|
|
855
|
+
"package": "./tokens"
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
"kind": "js",
|
|
860
|
+
"name": "*",
|
|
861
|
+
"declaration": {
|
|
862
|
+
"name": "*",
|
|
863
|
+
"package": "./values"
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
]
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"kind": "javascript-module",
|
|
870
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
871
|
+
"declarations": [
|
|
872
|
+
{
|
|
873
|
+
"kind": "function",
|
|
874
|
+
"name": "foundationAccordionStyles",
|
|
875
|
+
"return": {
|
|
876
|
+
"type": {
|
|
877
|
+
"text": "ElementStyles"
|
|
878
|
+
}
|
|
879
|
+
},
|
|
880
|
+
"parameters": [
|
|
881
|
+
{
|
|
882
|
+
"name": "context",
|
|
883
|
+
"type": {
|
|
884
|
+
"text": "ElementDefinitionContext"
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"name": "definition",
|
|
889
|
+
"type": {
|
|
890
|
+
"text": "FoundationElementDefinition"
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
]
|
|
894
|
+
}
|
|
895
|
+
],
|
|
896
|
+
"exports": [
|
|
897
|
+
{
|
|
898
|
+
"kind": "js",
|
|
899
|
+
"name": "foundationAccordionStyles",
|
|
900
|
+
"declaration": {
|
|
901
|
+
"name": "foundationAccordionStyles",
|
|
902
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
]
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"kind": "javascript-module",
|
|
909
|
+
"path": "src/accordion/accordion.template.ts",
|
|
910
|
+
"declarations": [
|
|
911
|
+
{
|
|
912
|
+
"kind": "function",
|
|
913
|
+
"name": "foundationAccordionTemplate",
|
|
914
|
+
"return": {
|
|
915
|
+
"type": {
|
|
916
|
+
"text": "ViewTemplate<Accordion>"
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
"parameters": [
|
|
920
|
+
{
|
|
921
|
+
"name": "context",
|
|
922
|
+
"type": {
|
|
923
|
+
"text": "ElementDefinitionContext"
|
|
924
|
+
}
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"name": "definition",
|
|
928
|
+
"type": {
|
|
929
|
+
"text": "FoundationElementDefinition"
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
]
|
|
933
|
+
}
|
|
934
|
+
],
|
|
935
|
+
"exports": [
|
|
936
|
+
{
|
|
937
|
+
"kind": "js",
|
|
938
|
+
"name": "foundationAccordionTemplate",
|
|
939
|
+
"declaration": {
|
|
940
|
+
"name": "foundationAccordionTemplate",
|
|
941
|
+
"module": "src/accordion/accordion.template.ts"
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
]
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"kind": "javascript-module",
|
|
948
|
+
"path": "src/accordion/accordion.ts",
|
|
949
|
+
"declarations": [
|
|
950
|
+
{
|
|
951
|
+
"kind": "class",
|
|
952
|
+
"description": "",
|
|
953
|
+
"name": "Accordion",
|
|
954
|
+
"superclass": {
|
|
955
|
+
"name": "FASTAccordion",
|
|
956
|
+
"package": "@microsoft/fast-foundation"
|
|
957
|
+
},
|
|
958
|
+
"tagName": "%%prefix%%-accordion",
|
|
959
|
+
"customElement": true
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"kind": "variable",
|
|
963
|
+
"name": "foundationAccordionShadowOptions",
|
|
964
|
+
"type": {
|
|
965
|
+
"text": "ShadowRootInit"
|
|
966
|
+
},
|
|
967
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"kind": "variable",
|
|
971
|
+
"name": "defaultAccordionConfig",
|
|
972
|
+
"type": {
|
|
973
|
+
"text": "object"
|
|
974
|
+
},
|
|
975
|
+
"default": "{}"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"kind": "variable",
|
|
979
|
+
"name": "foundationAccordion",
|
|
980
|
+
"description": "The Foundation Accordion",
|
|
981
|
+
"privacy": "public"
|
|
982
|
+
}
|
|
983
|
+
],
|
|
984
|
+
"exports": [
|
|
985
|
+
{
|
|
986
|
+
"kind": "js",
|
|
987
|
+
"name": "Accordion",
|
|
988
|
+
"declaration": {
|
|
989
|
+
"name": "Accordion",
|
|
990
|
+
"module": "src/accordion/accordion.ts"
|
|
991
|
+
}
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"kind": "js",
|
|
995
|
+
"name": "foundationAccordionShadowOptions",
|
|
996
|
+
"declaration": {
|
|
997
|
+
"name": "foundationAccordionShadowOptions",
|
|
998
|
+
"module": "src/accordion/accordion.ts"
|
|
999
|
+
}
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"kind": "js",
|
|
1003
|
+
"name": "defaultAccordionConfig",
|
|
1004
|
+
"declaration": {
|
|
1005
|
+
"name": "defaultAccordionConfig",
|
|
1006
|
+
"module": "src/accordion/accordion.ts"
|
|
1007
|
+
}
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"kind": "js",
|
|
1011
|
+
"name": "foundationAccordion",
|
|
1012
|
+
"declaration": {
|
|
1013
|
+
"name": "foundationAccordion",
|
|
1014
|
+
"module": "src/accordion/accordion.ts"
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
]
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"kind": "javascript-module",
|
|
1021
|
+
"path": "src/accordion/index.ts",
|
|
1022
|
+
"declarations": [],
|
|
1023
|
+
"exports": [
|
|
1024
|
+
{
|
|
1025
|
+
"kind": "js",
|
|
1026
|
+
"name": "*",
|
|
1027
|
+
"declaration": {
|
|
1028
|
+
"name": "*",
|
|
1029
|
+
"package": "./accordion.template"
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"kind": "js",
|
|
1034
|
+
"name": "*",
|
|
1035
|
+
"declaration": {
|
|
1036
|
+
"name": "*",
|
|
1037
|
+
"package": "./accordion.styles"
|
|
1038
|
+
}
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
"kind": "js",
|
|
1042
|
+
"name": "*",
|
|
1043
|
+
"declaration": {
|
|
1044
|
+
"name": "*",
|
|
1045
|
+
"package": "./accordion"
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
]
|
|
1049
|
+
},
|
|
796
1050
|
{
|
|
797
1051
|
"kind": "javascript-module",
|
|
798
1052
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1187,37 +1441,6 @@
|
|
|
1187
1441
|
}
|
|
1188
1442
|
]
|
|
1189
1443
|
},
|
|
1190
|
-
{
|
|
1191
|
-
"kind": "javascript-module",
|
|
1192
|
-
"path": "src/_config/index.ts",
|
|
1193
|
-
"declarations": [],
|
|
1194
|
-
"exports": [
|
|
1195
|
-
{
|
|
1196
|
-
"kind": "js",
|
|
1197
|
-
"name": "*",
|
|
1198
|
-
"declaration": {
|
|
1199
|
-
"name": "*",
|
|
1200
|
-
"package": "./styles"
|
|
1201
|
-
}
|
|
1202
|
-
},
|
|
1203
|
-
{
|
|
1204
|
-
"kind": "js",
|
|
1205
|
-
"name": "*",
|
|
1206
|
-
"declaration": {
|
|
1207
|
-
"name": "*",
|
|
1208
|
-
"package": "./tokens"
|
|
1209
|
-
}
|
|
1210
|
-
},
|
|
1211
|
-
{
|
|
1212
|
-
"kind": "js",
|
|
1213
|
-
"name": "*",
|
|
1214
|
-
"declaration": {
|
|
1215
|
-
"name": "*",
|
|
1216
|
-
"package": "./values"
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
|
-
]
|
|
1220
|
-
},
|
|
1221
1444
|
{
|
|
1222
1445
|
"kind": "javascript-module",
|
|
1223
1446
|
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
@@ -1666,271 +1889,89 @@
|
|
|
1666
1889
|
"fieldName": "addDefaultActions"
|
|
1667
1890
|
},
|
|
1668
1891
|
{
|
|
1669
|
-
"name": "auto-close-on-action",
|
|
1670
|
-
"type": {
|
|
1671
|
-
"text": "boolean"
|
|
1672
|
-
},
|
|
1673
|
-
"default": "true",
|
|
1674
|
-
"fieldName": "autoCloseOnAction"
|
|
1675
|
-
},
|
|
1676
|
-
{
|
|
1677
|
-
"name": "name",
|
|
1678
|
-
"type": {
|
|
1679
|
-
"text": "string"
|
|
1680
|
-
},
|
|
1681
|
-
"default": "'Actions'",
|
|
1682
|
-
"fieldName": "name"
|
|
1683
|
-
},
|
|
1684
|
-
{
|
|
1685
|
-
"name": "open",
|
|
1686
|
-
"type": {
|
|
1687
|
-
"text": "boolean"
|
|
1688
|
-
},
|
|
1689
|
-
"default": "false",
|
|
1690
|
-
"fieldName": "open"
|
|
1691
|
-
},
|
|
1692
|
-
{
|
|
1693
|
-
"name": "buttonAppearance",
|
|
1694
|
-
"type": {
|
|
1695
|
-
"text": "string"
|
|
1696
|
-
},
|
|
1697
|
-
"fieldName": "buttonAppearance"
|
|
1698
|
-
},
|
|
1699
|
-
{
|
|
1700
|
-
"name": "hide-disabled",
|
|
1701
|
-
"type": {
|
|
1702
|
-
"text": "boolean"
|
|
1703
|
-
},
|
|
1704
|
-
"default": "false",
|
|
1705
|
-
"fieldName": "hideDisabled"
|
|
1706
|
-
},
|
|
1707
|
-
{
|
|
1708
|
-
"name": "hide-menu-single-option",
|
|
1709
|
-
"type": {
|
|
1710
|
-
"text": "boolean"
|
|
1711
|
-
},
|
|
1712
|
-
"default": "false",
|
|
1713
|
-
"fieldName": "hideMenuSingleOption"
|
|
1714
|
-
}
|
|
1715
|
-
],
|
|
1716
|
-
"superclass": {
|
|
1717
|
-
"name": "FoundationElement",
|
|
1718
|
-
"package": "@microsoft/fast-foundation"
|
|
1719
|
-
},
|
|
1720
|
-
"tagName": "%%prefix%%-actions-menu",
|
|
1721
|
-
"customElement": true
|
|
1722
|
-
},
|
|
1723
|
-
{
|
|
1724
|
-
"kind": "variable",
|
|
1725
|
-
"name": "foundationActionsMenu",
|
|
1726
|
-
"description": "The Foundation Actions Menu",
|
|
1727
|
-
"privacy": "public"
|
|
1728
|
-
}
|
|
1729
|
-
],
|
|
1730
|
-
"exports": [
|
|
1731
|
-
{
|
|
1732
|
-
"kind": "js",
|
|
1733
|
-
"name": "ActionsMenu",
|
|
1734
|
-
"declaration": {
|
|
1735
|
-
"name": "ActionsMenu",
|
|
1736
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1737
|
-
}
|
|
1738
|
-
},
|
|
1739
|
-
{
|
|
1740
|
-
"kind": "js",
|
|
1741
|
-
"name": "foundationActionsMenu",
|
|
1742
|
-
"declaration": {
|
|
1743
|
-
"name": "foundationActionsMenu",
|
|
1744
|
-
"module": "src/actions-menu/actions-menu.ts"
|
|
1745
|
-
}
|
|
1746
|
-
}
|
|
1747
|
-
]
|
|
1748
|
-
},
|
|
1749
|
-
{
|
|
1750
|
-
"kind": "javascript-module",
|
|
1751
|
-
"path": "src/actions-menu/index.ts",
|
|
1752
|
-
"declarations": [],
|
|
1753
|
-
"exports": [
|
|
1754
|
-
{
|
|
1755
|
-
"kind": "js",
|
|
1756
|
-
"name": "*",
|
|
1757
|
-
"declaration": {
|
|
1758
|
-
"name": "*",
|
|
1759
|
-
"package": "./actions-menu.styles"
|
|
1760
|
-
}
|
|
1761
|
-
},
|
|
1762
|
-
{
|
|
1763
|
-
"kind": "js",
|
|
1764
|
-
"name": "*",
|
|
1765
|
-
"declaration": {
|
|
1766
|
-
"name": "*",
|
|
1767
|
-
"package": "./actions-menu.template"
|
|
1768
|
-
}
|
|
1769
|
-
},
|
|
1770
|
-
{
|
|
1771
|
-
"kind": "js",
|
|
1772
|
-
"name": "*",
|
|
1773
|
-
"declaration": {
|
|
1774
|
-
"name": "*",
|
|
1775
|
-
"package": "./actions-menu"
|
|
1776
|
-
}
|
|
1777
|
-
}
|
|
1778
|
-
]
|
|
1779
|
-
},
|
|
1780
|
-
{
|
|
1781
|
-
"kind": "javascript-module",
|
|
1782
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
1783
|
-
"declarations": [
|
|
1784
|
-
{
|
|
1785
|
-
"kind": "function",
|
|
1786
|
-
"name": "foundationAccordionStyles",
|
|
1787
|
-
"return": {
|
|
1788
|
-
"type": {
|
|
1789
|
-
"text": "ElementStyles"
|
|
1790
|
-
}
|
|
1791
|
-
},
|
|
1792
|
-
"parameters": [
|
|
1892
|
+
"name": "auto-close-on-action",
|
|
1893
|
+
"type": {
|
|
1894
|
+
"text": "boolean"
|
|
1895
|
+
},
|
|
1896
|
+
"default": "true",
|
|
1897
|
+
"fieldName": "autoCloseOnAction"
|
|
1898
|
+
},
|
|
1793
1899
|
{
|
|
1794
|
-
"name": "
|
|
1900
|
+
"name": "name",
|
|
1795
1901
|
"type": {
|
|
1796
|
-
"text": "
|
|
1797
|
-
}
|
|
1902
|
+
"text": "string"
|
|
1903
|
+
},
|
|
1904
|
+
"default": "'Actions'",
|
|
1905
|
+
"fieldName": "name"
|
|
1798
1906
|
},
|
|
1799
1907
|
{
|
|
1800
|
-
"name": "
|
|
1908
|
+
"name": "open",
|
|
1801
1909
|
"type": {
|
|
1802
|
-
"text": "
|
|
1803
|
-
}
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
],
|
|
1808
|
-
"exports": [
|
|
1809
|
-
{
|
|
1810
|
-
"kind": "js",
|
|
1811
|
-
"name": "foundationAccordionStyles",
|
|
1812
|
-
"declaration": {
|
|
1813
|
-
"name": "foundationAccordionStyles",
|
|
1814
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1815
|
-
}
|
|
1816
|
-
}
|
|
1817
|
-
]
|
|
1818
|
-
},
|
|
1819
|
-
{
|
|
1820
|
-
"kind": "javascript-module",
|
|
1821
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1822
|
-
"declarations": [
|
|
1823
|
-
{
|
|
1824
|
-
"kind": "function",
|
|
1825
|
-
"name": "foundationAccordionTemplate",
|
|
1826
|
-
"return": {
|
|
1827
|
-
"type": {
|
|
1828
|
-
"text": "ViewTemplate<Accordion>"
|
|
1829
|
-
}
|
|
1830
|
-
},
|
|
1831
|
-
"parameters": [
|
|
1910
|
+
"text": "boolean"
|
|
1911
|
+
},
|
|
1912
|
+
"default": "false",
|
|
1913
|
+
"fieldName": "open"
|
|
1914
|
+
},
|
|
1832
1915
|
{
|
|
1833
|
-
"name": "
|
|
1916
|
+
"name": "buttonAppearance",
|
|
1834
1917
|
"type": {
|
|
1835
|
-
"text": "
|
|
1836
|
-
}
|
|
1918
|
+
"text": "string"
|
|
1919
|
+
},
|
|
1920
|
+
"fieldName": "buttonAppearance"
|
|
1837
1921
|
},
|
|
1838
1922
|
{
|
|
1839
|
-
"name": "
|
|
1923
|
+
"name": "hide-disabled",
|
|
1840
1924
|
"type": {
|
|
1841
|
-
"text": "
|
|
1842
|
-
}
|
|
1925
|
+
"text": "boolean"
|
|
1926
|
+
},
|
|
1927
|
+
"default": "false",
|
|
1928
|
+
"fieldName": "hideDisabled"
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"name": "hide-menu-single-option",
|
|
1932
|
+
"type": {
|
|
1933
|
+
"text": "boolean"
|
|
1934
|
+
},
|
|
1935
|
+
"default": "false",
|
|
1936
|
+
"fieldName": "hideMenuSingleOption"
|
|
1843
1937
|
}
|
|
1844
|
-
]
|
|
1845
|
-
}
|
|
1846
|
-
],
|
|
1847
|
-
"exports": [
|
|
1848
|
-
{
|
|
1849
|
-
"kind": "js",
|
|
1850
|
-
"name": "foundationAccordionTemplate",
|
|
1851
|
-
"declaration": {
|
|
1852
|
-
"name": "foundationAccordionTemplate",
|
|
1853
|
-
"module": "src/accordion/accordion.template.ts"
|
|
1854
|
-
}
|
|
1855
|
-
}
|
|
1856
|
-
]
|
|
1857
|
-
},
|
|
1858
|
-
{
|
|
1859
|
-
"kind": "javascript-module",
|
|
1860
|
-
"path": "src/accordion/accordion.ts",
|
|
1861
|
-
"declarations": [
|
|
1862
|
-
{
|
|
1863
|
-
"kind": "class",
|
|
1864
|
-
"description": "",
|
|
1865
|
-
"name": "Accordion",
|
|
1938
|
+
],
|
|
1866
1939
|
"superclass": {
|
|
1867
|
-
"name": "
|
|
1940
|
+
"name": "FoundationElement",
|
|
1868
1941
|
"package": "@microsoft/fast-foundation"
|
|
1869
1942
|
},
|
|
1870
|
-
"tagName": "%%prefix%%-
|
|
1943
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
1871
1944
|
"customElement": true
|
|
1872
1945
|
},
|
|
1873
1946
|
{
|
|
1874
1947
|
"kind": "variable",
|
|
1875
|
-
"name": "
|
|
1876
|
-
"
|
|
1877
|
-
"text": "ShadowRootInit"
|
|
1878
|
-
},
|
|
1879
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1880
|
-
},
|
|
1881
|
-
{
|
|
1882
|
-
"kind": "variable",
|
|
1883
|
-
"name": "defaultAccordionConfig",
|
|
1884
|
-
"type": {
|
|
1885
|
-
"text": "object"
|
|
1886
|
-
},
|
|
1887
|
-
"default": "{}"
|
|
1888
|
-
},
|
|
1889
|
-
{
|
|
1890
|
-
"kind": "variable",
|
|
1891
|
-
"name": "foundationAccordion",
|
|
1892
|
-
"description": "The Foundation Accordion",
|
|
1948
|
+
"name": "foundationActionsMenu",
|
|
1949
|
+
"description": "The Foundation Actions Menu",
|
|
1893
1950
|
"privacy": "public"
|
|
1894
1951
|
}
|
|
1895
1952
|
],
|
|
1896
1953
|
"exports": [
|
|
1897
1954
|
{
|
|
1898
1955
|
"kind": "js",
|
|
1899
|
-
"name": "
|
|
1900
|
-
"declaration": {
|
|
1901
|
-
"name": "Accordion",
|
|
1902
|
-
"module": "src/accordion/accordion.ts"
|
|
1903
|
-
}
|
|
1904
|
-
},
|
|
1905
|
-
{
|
|
1906
|
-
"kind": "js",
|
|
1907
|
-
"name": "foundationAccordionShadowOptions",
|
|
1908
|
-
"declaration": {
|
|
1909
|
-
"name": "foundationAccordionShadowOptions",
|
|
1910
|
-
"module": "src/accordion/accordion.ts"
|
|
1911
|
-
}
|
|
1912
|
-
},
|
|
1913
|
-
{
|
|
1914
|
-
"kind": "js",
|
|
1915
|
-
"name": "defaultAccordionConfig",
|
|
1956
|
+
"name": "ActionsMenu",
|
|
1916
1957
|
"declaration": {
|
|
1917
|
-
"name": "
|
|
1918
|
-
"module": "src/
|
|
1958
|
+
"name": "ActionsMenu",
|
|
1959
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1919
1960
|
}
|
|
1920
1961
|
},
|
|
1921
1962
|
{
|
|
1922
1963
|
"kind": "js",
|
|
1923
|
-
"name": "
|
|
1964
|
+
"name": "foundationActionsMenu",
|
|
1924
1965
|
"declaration": {
|
|
1925
|
-
"name": "
|
|
1926
|
-
"module": "src/
|
|
1966
|
+
"name": "foundationActionsMenu",
|
|
1967
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
1927
1968
|
}
|
|
1928
1969
|
}
|
|
1929
1970
|
]
|
|
1930
1971
|
},
|
|
1931
1972
|
{
|
|
1932
1973
|
"kind": "javascript-module",
|
|
1933
|
-
"path": "src/
|
|
1974
|
+
"path": "src/actions-menu/index.ts",
|
|
1934
1975
|
"declarations": [],
|
|
1935
1976
|
"exports": [
|
|
1936
1977
|
{
|
|
@@ -1938,7 +1979,7 @@
|
|
|
1938
1979
|
"name": "*",
|
|
1939
1980
|
"declaration": {
|
|
1940
1981
|
"name": "*",
|
|
1941
|
-
"package": "./
|
|
1982
|
+
"package": "./actions-menu.styles"
|
|
1942
1983
|
}
|
|
1943
1984
|
},
|
|
1944
1985
|
{
|
|
@@ -1946,7 +1987,7 @@
|
|
|
1946
1987
|
"name": "*",
|
|
1947
1988
|
"declaration": {
|
|
1948
1989
|
"name": "*",
|
|
1949
|
-
"package": "./
|
|
1990
|
+
"package": "./actions-menu.template"
|
|
1950
1991
|
}
|
|
1951
1992
|
},
|
|
1952
1993
|
{
|
|
@@ -1954,7 +1995,7 @@
|
|
|
1954
1995
|
"name": "*",
|
|
1955
1996
|
"declaration": {
|
|
1956
1997
|
"name": "*",
|
|
1957
|
-
"package": "./
|
|
1998
|
+
"package": "./actions-menu"
|
|
1958
1999
|
}
|
|
1959
2000
|
}
|
|
1960
2001
|
]
|
|
@@ -2479,47 +2520,6 @@
|
|
|
2479
2520
|
}
|
|
2480
2521
|
]
|
|
2481
2522
|
},
|
|
2482
|
-
{
|
|
2483
|
-
"kind": "javascript-module",
|
|
2484
|
-
"path": "src/_common/icons.ts",
|
|
2485
|
-
"declarations": [
|
|
2486
|
-
{
|
|
2487
|
-
"kind": "function",
|
|
2488
|
-
"name": "closeIcon",
|
|
2489
|
-
"parameters": [
|
|
2490
|
-
{
|
|
2491
|
-
"name": "slot",
|
|
2492
|
-
"default": "'start'"
|
|
2493
|
-
}
|
|
2494
|
-
]
|
|
2495
|
-
}
|
|
2496
|
-
],
|
|
2497
|
-
"exports": [
|
|
2498
|
-
{
|
|
2499
|
-
"kind": "js",
|
|
2500
|
-
"name": "closeIcon",
|
|
2501
|
-
"declaration": {
|
|
2502
|
-
"name": "closeIcon",
|
|
2503
|
-
"module": "src/_common/icons.ts"
|
|
2504
|
-
}
|
|
2505
|
-
}
|
|
2506
|
-
]
|
|
2507
|
-
},
|
|
2508
|
-
{
|
|
2509
|
-
"kind": "javascript-module",
|
|
2510
|
-
"path": "src/_common/index.ts",
|
|
2511
|
-
"declarations": [],
|
|
2512
|
-
"exports": [
|
|
2513
|
-
{
|
|
2514
|
-
"kind": "js",
|
|
2515
|
-
"name": "*",
|
|
2516
|
-
"declaration": {
|
|
2517
|
-
"name": "*",
|
|
2518
|
-
"package": "./icons"
|
|
2519
|
-
}
|
|
2520
|
-
}
|
|
2521
|
-
]
|
|
2522
|
-
},
|
|
2523
2523
|
{
|
|
2524
2524
|
"kind": "javascript-module",
|
|
2525
2525
|
"path": "src/anchored-region/anchor-region.template.ts",
|
|
@@ -13668,7 +13668,7 @@
|
|
|
13668
13668
|
"type": {
|
|
13669
13669
|
"text": "ElementStyles"
|
|
13670
13670
|
},
|
|
13671
|
-
"default": "css`\n :host {\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n .close-icon {\n position: absolute;\n right: calc(var(--design-unit) * 2px);\n top: calc(var(--design-unit) * 2px);\n cursor: pointer;\n }\n\n .close-icon svg {\n border-radius: calc(var(--control-corner-radius) * 1px);\n padding: calc(var(--design-unit) * 2px);\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 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 }\n`"
|
|
13671
|
+
"default": "css`\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(--color-error);\n }\n\n dialog[type='success']::before {\n background-color: var(--color-success);\n }\n :host {\n --dialog-min-width: 358px;\n --notification-details-min-height: 40px;\n }\n\n .close-icon {\n position: absolute;\n right: calc(var(--design-unit) * 2px);\n top: calc(var(--design-unit) * 2px);\n cursor: pointer;\n }\n\n .close-icon svg {\n border-radius: calc(var(--control-corner-radius) * 1px);\n padding: calc(var(--design-unit) * 2px);\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 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 }\n`"
|
|
13672
13672
|
}
|
|
13673
13673
|
],
|
|
13674
13674
|
"exports": [
|
|
@@ -13767,13 +13767,21 @@
|
|
|
13767
13767
|
"kind": "method",
|
|
13768
13768
|
"name": "notificationChanged"
|
|
13769
13769
|
},
|
|
13770
|
+
{
|
|
13771
|
+
"kind": "field",
|
|
13772
|
+
"name": "type",
|
|
13773
|
+
"type": {
|
|
13774
|
+
"text": "DialogType"
|
|
13775
|
+
},
|
|
13776
|
+
"default": "'default'"
|
|
13777
|
+
},
|
|
13770
13778
|
{
|
|
13771
13779
|
"kind": "field",
|
|
13772
13780
|
"name": "position",
|
|
13773
13781
|
"type": {
|
|
13774
|
-
"text": "
|
|
13782
|
+
"text": "DialogPosition"
|
|
13775
13783
|
},
|
|
13776
|
-
"default": "'
|
|
13784
|
+
"default": "'center'"
|
|
13777
13785
|
},
|
|
13778
13786
|
{
|
|
13779
13787
|
"kind": "field",
|
|
@@ -13959,12 +13967,20 @@
|
|
|
13959
13967
|
}
|
|
13960
13968
|
],
|
|
13961
13969
|
"attributes": [
|
|
13970
|
+
{
|
|
13971
|
+
"name": "type",
|
|
13972
|
+
"type": {
|
|
13973
|
+
"text": "DialogType"
|
|
13974
|
+
},
|
|
13975
|
+
"default": "'default'",
|
|
13976
|
+
"fieldName": "type"
|
|
13977
|
+
},
|
|
13962
13978
|
{
|
|
13963
13979
|
"name": "position",
|
|
13964
13980
|
"type": {
|
|
13965
|
-
"text": "
|
|
13981
|
+
"text": "DialogPosition"
|
|
13966
13982
|
},
|
|
13967
|
-
"default": "'
|
|
13983
|
+
"default": "'center'",
|
|
13968
13984
|
"fieldName": "position"
|
|
13969
13985
|
},
|
|
13970
13986
|
{
|
|
@@ -14032,13 +14048,25 @@
|
|
|
14032
14048
|
"module": "src/dialog/dialog.ts"
|
|
14033
14049
|
}
|
|
14034
14050
|
},
|
|
14051
|
+
{
|
|
14052
|
+
"kind": "field",
|
|
14053
|
+
"name": "type",
|
|
14054
|
+
"type": {
|
|
14055
|
+
"text": "DialogType"
|
|
14056
|
+
},
|
|
14057
|
+
"default": "'default'",
|
|
14058
|
+
"inheritedFrom": {
|
|
14059
|
+
"name": "<local>_DialogElement",
|
|
14060
|
+
"module": "src/dialog/dialog.ts"
|
|
14061
|
+
}
|
|
14062
|
+
},
|
|
14035
14063
|
{
|
|
14036
14064
|
"kind": "field",
|
|
14037
14065
|
"name": "position",
|
|
14038
14066
|
"type": {
|
|
14039
|
-
"text": "
|
|
14067
|
+
"text": "DialogPosition"
|
|
14040
14068
|
},
|
|
14041
|
-
"default": "'
|
|
14069
|
+
"default": "'center'",
|
|
14042
14070
|
"inheritedFrom": {
|
|
14043
14071
|
"name": "<local>_DialogElement",
|
|
14044
14072
|
"module": "src/dialog/dialog.ts"
|
|
@@ -14252,12 +14280,24 @@
|
|
|
14252
14280
|
"tagName": "%%prefix%%-dialog",
|
|
14253
14281
|
"customElement": true,
|
|
14254
14282
|
"attributes": [
|
|
14283
|
+
{
|
|
14284
|
+
"name": "type",
|
|
14285
|
+
"type": {
|
|
14286
|
+
"text": "DialogType"
|
|
14287
|
+
},
|
|
14288
|
+
"default": "'default'",
|
|
14289
|
+
"fieldName": "type",
|
|
14290
|
+
"inheritedFrom": {
|
|
14291
|
+
"name": "<local>_DialogElement",
|
|
14292
|
+
"module": "src/dialog/dialog.ts"
|
|
14293
|
+
}
|
|
14294
|
+
},
|
|
14255
14295
|
{
|
|
14256
14296
|
"name": "position",
|
|
14257
14297
|
"type": {
|
|
14258
|
-
"text": "
|
|
14298
|
+
"text": "DialogPosition"
|
|
14259
14299
|
},
|
|
14260
|
-
"default": "'
|
|
14300
|
+
"default": "'center'",
|
|
14261
14301
|
"fieldName": "position",
|
|
14262
14302
|
"inheritedFrom": {
|
|
14263
14303
|
"name": "<local>_DialogElement",
|
|
@@ -14329,6 +14369,12 @@
|
|
|
14329
14369
|
}
|
|
14330
14370
|
]
|
|
14331
14371
|
},
|
|
14372
|
+
{
|
|
14373
|
+
"kind": "javascript-module",
|
|
14374
|
+
"path": "src/dialog/dialog.types.ts",
|
|
14375
|
+
"declarations": [],
|
|
14376
|
+
"exports": []
|
|
14377
|
+
},
|
|
14332
14378
|
{
|
|
14333
14379
|
"kind": "javascript-module",
|
|
14334
14380
|
"path": "src/dialog/index.ts",
|
|
@@ -23227,13 +23273,25 @@
|
|
|
23227
23273
|
"module": "src/dialog/dialog.ts"
|
|
23228
23274
|
}
|
|
23229
23275
|
},
|
|
23276
|
+
{
|
|
23277
|
+
"kind": "field",
|
|
23278
|
+
"name": "type",
|
|
23279
|
+
"type": {
|
|
23280
|
+
"text": "DialogType"
|
|
23281
|
+
},
|
|
23282
|
+
"default": "'default'",
|
|
23283
|
+
"inheritedFrom": {
|
|
23284
|
+
"name": "<local>_DialogElement",
|
|
23285
|
+
"module": "src/dialog/dialog.ts"
|
|
23286
|
+
}
|
|
23287
|
+
},
|
|
23230
23288
|
{
|
|
23231
23289
|
"kind": "field",
|
|
23232
23290
|
"name": "position",
|
|
23233
23291
|
"type": {
|
|
23234
|
-
"text": "
|
|
23292
|
+
"text": "DialogPosition"
|
|
23235
23293
|
},
|
|
23236
|
-
"default": "'
|
|
23294
|
+
"default": "'center'",
|
|
23237
23295
|
"inheritedFrom": {
|
|
23238
23296
|
"name": "<local>_DialogElement",
|
|
23239
23297
|
"module": "src/dialog/dialog.ts"
|
|
@@ -23447,12 +23505,24 @@
|
|
|
23447
23505
|
"tagName": "%%prefix%%-modal",
|
|
23448
23506
|
"customElement": true,
|
|
23449
23507
|
"attributes": [
|
|
23508
|
+
{
|
|
23509
|
+
"name": "type",
|
|
23510
|
+
"type": {
|
|
23511
|
+
"text": "DialogType"
|
|
23512
|
+
},
|
|
23513
|
+
"default": "'default'",
|
|
23514
|
+
"fieldName": "type",
|
|
23515
|
+
"inheritedFrom": {
|
|
23516
|
+
"name": "<local>_DialogElement",
|
|
23517
|
+
"module": "src/dialog/dialog.ts"
|
|
23518
|
+
}
|
|
23519
|
+
},
|
|
23450
23520
|
{
|
|
23451
23521
|
"name": "position",
|
|
23452
23522
|
"type": {
|
|
23453
|
-
"text": "
|
|
23523
|
+
"text": "DialogPosition"
|
|
23454
23524
|
},
|
|
23455
|
-
"default": "'
|
|
23525
|
+
"default": "'center'",
|
|
23456
23526
|
"fieldName": "position",
|
|
23457
23527
|
"inheritedFrom": {
|
|
23458
23528
|
"name": "<local>_DialogElement",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { NotificationStructure } from '@genesislcap/foundation-notifications';
|
|
2
2
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { DialogType, DialogPosition } from './dialog.types';
|
|
3
4
|
export declare const foundationDialogShadowOptions: ShadowRootInit;
|
|
4
5
|
export declare const defaultDialogConfig: {};
|
|
5
6
|
export declare abstract class DialogElement extends FoundationElement {
|
|
@@ -10,7 +11,8 @@ export declare abstract class DialogElement extends FoundationElement {
|
|
|
10
11
|
mainElement: HTMLDialogElement;
|
|
11
12
|
notification: NotificationStructure;
|
|
12
13
|
notificationChanged(): void;
|
|
13
|
-
|
|
14
|
+
type: DialogType;
|
|
15
|
+
position: DialogPosition;
|
|
14
16
|
/**
|
|
15
17
|
* Whether or not to show the close icon
|
|
16
18
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/dialog/dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/dialog/dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAK/D,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGjE,eAAO,MAAM,6BAA6B,EAAE,cAG3C,CAAC;AAEF,eAAO,MAAM,mBAAmB,IAAK,CAAC;AAEtC,8BAAsB,aAAc,SAAQ,iBAAiB;IAC3D;;;OAGG;IACH,WAAW,EAAG,iBAAiB,CAAC;IACpB,YAAY,EAAG,qBAAqB,CAAC;IACjD,mBAAmB;IAIU,IAAI,EAAE,UAAU,CAAa;IAEpD,QAAQ,EAAE,cAAc,CAAY;IAE1C;;OAEG;IACsD,aAAa,EAAE,OAAO,CAAQ;IAEvF;;OAEG;IACS,cAAc,EAAE,MAAM,IAAI,CAAC;IAEvC;;OAEG;IACS,eAAe,EAAE,MAAM,IAAI,CAAC;IAExC,iBAAiB;IAgBjB;;OAEG;IACH,IACI,IAAI,IAAI,OAAO,CAElB;IAED;;OAEG;IACH,QAAQ,CAAC,IAAI,IAAI,IAAI;IAErB;;OAEG;IACH,KAAK,IAAI,IAAI;IAIb;;OAEG;IACI,OAAO;IAOd;;OAEG;IACI,WAAW,IAAI,IAAI;CAQ3B;AAED;;GAEG;AACH,qBAAa,MAAO,SAAQ,aAAa;IACvC,IAAI,IAAI,IAAI;CAIb;AAED;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;iBAM3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.styles.d.ts","sourceRoot":"","sources":["../../../src/dialog/dialog.styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,eAAO,MAAM,sBAAsB,EAAE,
|
|
1
|
+
{"version":3,"file":"dialog.styles.d.ts","sourceRoot":"","sources":["../../../src/dialog/dialog.styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,eAAO,MAAM,sBAAsB,EAAE,aA+EpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.types.d.ts","sourceRoot":"","sources":["../../../src/dialog/dialog.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAEzD,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC"}
|
|
@@ -14,7 +14,8 @@ export const defaultDialogConfig = {};
|
|
|
14
14
|
export class DialogElement extends FoundationElement {
|
|
15
15
|
constructor() {
|
|
16
16
|
super(...arguments);
|
|
17
|
-
this.
|
|
17
|
+
this.type = 'default';
|
|
18
|
+
this.position = 'center';
|
|
18
19
|
/**
|
|
19
20
|
* Whether or not to show the close icon
|
|
20
21
|
*/
|
|
@@ -33,6 +34,9 @@ export class DialogElement extends FoundationElement {
|
|
|
33
34
|
if (this.onCloseCallback)
|
|
34
35
|
this.onCloseCallback();
|
|
35
36
|
});
|
|
37
|
+
if (this.hasAttribute('open')) {
|
|
38
|
+
this.shadowRoot.querySelector('dialog').setAttribute('open', '');
|
|
39
|
+
}
|
|
36
40
|
}
|
|
37
41
|
/**
|
|
38
42
|
* Determine if the dialog is showing or closed.
|
|
@@ -72,6 +76,9 @@ export class DialogElement extends FoundationElement {
|
|
|
72
76
|
__decorate([
|
|
73
77
|
observable
|
|
74
78
|
], DialogElement.prototype, "notification", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
attr({ attribute: 'type' })
|
|
81
|
+
], DialogElement.prototype, "type", void 0);
|
|
75
82
|
__decorate([
|
|
76
83
|
attr
|
|
77
84
|
], DialogElement.prototype, "position", void 0);
|
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
import { css } from '@microsoft/fast-element';
|
|
2
2
|
export const foundationDialogStyles = css `
|
|
3
|
+
dialog[type='error'],
|
|
4
|
+
dialog[type='success'] {
|
|
5
|
+
padding: calc(var(--design-unit) * 2px) calc(var(--design-unit) * 4px)
|
|
6
|
+
calc(var(--design-unit) * 2px) calc(var(--design-unit) * 6px);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
dialog[type='error']::before,
|
|
10
|
+
dialog[type='success']::before {
|
|
11
|
+
content: '';
|
|
12
|
+
position: absolute;
|
|
13
|
+
top: 50%;
|
|
14
|
+
transform: translateY(-50%);
|
|
15
|
+
left: calc(var(--design-unit) * 3px - 2px);
|
|
16
|
+
height: calc(100% - (var(--design-unit) * 4px));
|
|
17
|
+
width: 4px;
|
|
18
|
+
border-radius: 2px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
dialog[type='error']::before {
|
|
22
|
+
background-color: var(--color-error);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
dialog[type='success']::before {
|
|
26
|
+
background-color: var(--color-success);
|
|
27
|
+
}
|
|
3
28
|
:host {
|
|
4
29
|
--dialog-min-width: 358px;
|
|
5
30
|
--notification-details-min-height: 40px;
|
|
@@ -2,7 +2,7 @@ import { html, ref, repeat, when } from '@microsoft/fast-element';
|
|
|
2
2
|
import { closeIcon } from '../_common/icons';
|
|
3
3
|
import { getPrefix } from '../utils';
|
|
4
4
|
export const getDialogTemplate = (prefix) => html `
|
|
5
|
-
<dialog ${ref('mainElement')} part="dialog">
|
|
5
|
+
<dialog ${ref('mainElement')} part="dialog" type=${(x) => x.type}>
|
|
6
6
|
<div class="content-wrapper">
|
|
7
7
|
<div part="top" class="top">
|
|
8
8
|
<slot name="top">
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -28,7 +28,7 @@ class ResponsiveGridBehavior {
|
|
|
28
28
|
attached = true;
|
|
29
29
|
}
|
|
30
30
|
else if (!matches && attached) {
|
|
31
|
-
source.$fastController.removeStyles(this.styles);
|
|
31
|
+
this.styles && source.$fastController.removeStyles(this.styles);
|
|
32
32
|
attached = false;
|
|
33
33
|
}
|
|
34
34
|
};
|
|
@@ -42,7 +42,7 @@ class ResponsiveGridBehavior {
|
|
|
42
42
|
this.query.removeEventListener('change', listener);
|
|
43
43
|
this.listenerCache.delete(source);
|
|
44
44
|
}
|
|
45
|
-
source.$fastController.removeStyles(this.styles);
|
|
45
|
+
this.styles && source.$fastController.removeStyles(this.styles);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
@@ -79,7 +79,7 @@ export class GridLayout extends FoundationElement {
|
|
|
79
79
|
disconnectedCallback() {
|
|
80
80
|
super.disconnectedCallback();
|
|
81
81
|
this.$fastController.removeBehaviors(this.behaviors);
|
|
82
|
-
this.$fastController.removeStyles(this.baseStyles);
|
|
82
|
+
this.baseStyles && this.$fastController.removeStyles(this.baseStyles);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
__decorate([
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-ui",
|
|
3
3
|
"description": "Genesis Foundation UI",
|
|
4
|
-
"version": "14.155.0",
|
|
4
|
+
"version": "14.155.2-alpha-d9bfff1.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -74,13 +74,13 @@
|
|
|
74
74
|
"test:debug": "genx test --debug"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@genesislcap/foundation-testing": "14.155.0",
|
|
78
|
-
"@genesislcap/genx": "14.155.0",
|
|
79
|
-
"@genesislcap/rollup-builder": "14.155.0",
|
|
80
|
-
"@genesislcap/ts-builder": "14.155.0",
|
|
81
|
-
"@genesislcap/uvu-playwright-builder": "14.155.0",
|
|
82
|
-
"@genesislcap/vite-builder": "14.155.0",
|
|
83
|
-
"@genesislcap/webpack-builder": "14.155.0",
|
|
77
|
+
"@genesislcap/foundation-testing": "14.155.2-alpha-d9bfff1.0",
|
|
78
|
+
"@genesislcap/genx": "14.155.2-alpha-d9bfff1.0",
|
|
79
|
+
"@genesislcap/rollup-builder": "14.155.2-alpha-d9bfff1.0",
|
|
80
|
+
"@genesislcap/ts-builder": "14.155.2-alpha-d9bfff1.0",
|
|
81
|
+
"@genesislcap/uvu-playwright-builder": "14.155.2-alpha-d9bfff1.0",
|
|
82
|
+
"@genesislcap/vite-builder": "14.155.2-alpha-d9bfff1.0",
|
|
83
|
+
"@genesislcap/webpack-builder": "14.155.2-alpha-d9bfff1.0",
|
|
84
84
|
"copyfiles": "^2.4.1",
|
|
85
85
|
"rimraf": "^3.0.2",
|
|
86
86
|
"rxjs": "^7.5.4"
|
|
@@ -91,12 +91,12 @@
|
|
|
91
91
|
"@fortawesome/free-regular-svg-icons": "^6.2.1",
|
|
92
92
|
"@fortawesome/free-solid-svg-icons": "^6.2.1",
|
|
93
93
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^4.0.0",
|
|
94
|
-
"@genesislcap/foundation-comms": "14.155.0",
|
|
95
|
-
"@genesislcap/foundation-criteria": "14.155.0",
|
|
96
|
-
"@genesislcap/foundation-errors": "14.155.0",
|
|
97
|
-
"@genesislcap/foundation-logger": "14.155.0",
|
|
98
|
-
"@genesislcap/foundation-notifications": "14.155.0",
|
|
99
|
-
"@genesislcap/foundation-utils": "14.155.0",
|
|
94
|
+
"@genesislcap/foundation-comms": "14.155.2-alpha-d9bfff1.0",
|
|
95
|
+
"@genesislcap/foundation-criteria": "14.155.2-alpha-d9bfff1.0",
|
|
96
|
+
"@genesislcap/foundation-errors": "14.155.2-alpha-d9bfff1.0",
|
|
97
|
+
"@genesislcap/foundation-logger": "14.155.2-alpha-d9bfff1.0",
|
|
98
|
+
"@genesislcap/foundation-notifications": "14.155.2-alpha-d9bfff1.0",
|
|
99
|
+
"@genesislcap/foundation-utils": "14.155.2-alpha-d9bfff1.0",
|
|
100
100
|
"@microsoft/fast-colors": "^5.3.1",
|
|
101
101
|
"@microsoft/fast-components": "^2.30.6",
|
|
102
102
|
"@microsoft/fast-element": "^1.12.0",
|
|
@@ -118,5 +118,5 @@
|
|
|
118
118
|
"access": "public"
|
|
119
119
|
},
|
|
120
120
|
"customElements": "dist/custom-elements.json",
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "e438f9d706092a1c8b11c3a78f084b1f3c3ac091"
|
|
122
122
|
}
|