@solid-design-system/components 1.8.0 → 1.10.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/components/es/button.js +1 -6
- package/dist/components/es/drawer.js +1 -0
- package/dist/components/es/dropdown.js +1 -1
- package/dist/components/es/solid-components2.js +1 -1
- package/dist/components/es/solid-element.js +4 -4
- package/dist/components/es/static.js +6 -0
- package/dist/components/es/tabbable.js +1 -0
- package/dist/components/es/tag.js +1 -0
- package/dist/components/umd/solid-components.js +10 -10
- package/dist/custom-elements.json +1 -1
- package/dist/package/components/drawer/drawer.d.ts +34 -0
- package/dist/package/components/drawer/drawer.js +283 -0
- package/dist/package/components/icon/library.system.d.ts +1 -0
- package/dist/package/components/icon/library.system.js +6 -1
- package/dist/package/components/tag/tag.d.ts +24 -0
- package/dist/package/components/tag/tag.js +110 -0
- package/dist/package/internal/modal.d.ts +12 -0
- package/dist/package/internal/modal.js +52 -0
- package/dist/package/internal/scroll.js +23 -1
- package/dist/package/internal/string.d.ts +1 -0
- package/dist/package/internal/string.js +6 -0
- package/dist/package/solid-components.d.ts +2 -0
- package/dist/package/solid-components.js +18 -14
- package/dist/package/styles/tailwind.css.js +1 -1
- package/dist/versioned-components/es/accordion-group.js +1 -1
- package/dist/versioned-components/es/accordion.js +1 -1
- package/dist/versioned-components/es/badge.js +1 -1
- package/dist/versioned-components/es/brandshape.js +1 -1
- package/dist/versioned-components/es/button.js +1 -6
- package/dist/versioned-components/es/divider.js +1 -1
- package/dist/versioned-components/es/drawer.js +1 -0
- package/dist/versioned-components/es/dropdown.js +1 -1
- package/dist/versioned-components/es/icon.js +1 -1
- package/dist/versioned-components/es/include.js +1 -1
- package/dist/versioned-components/es/link.js +1 -1
- package/dist/versioned-components/es/popup.js +1 -1
- package/dist/versioned-components/es/solid-components2.js +1 -1
- package/dist/versioned-components/es/solid-element.js +4 -4
- package/dist/versioned-components/es/spinner.js +1 -1
- package/dist/versioned-components/es/static.js +6 -0
- package/dist/versioned-components/es/tabbable.js +1 -0
- package/dist/versioned-components/es/tag.js +1 -0
- package/dist/versioned-components/es/teaser.js +1 -1
- package/dist/versioned-package/components/accordion/accordion.d.ts +1 -1
- package/dist/versioned-package/components/accordion/accordion.js +2 -2
- package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist/versioned-package/components/accordion-group/accordion-group.js +3 -3
- package/dist/versioned-package/components/badge/badge.d.ts +1 -1
- package/dist/versioned-package/components/badge/badge.js +1 -1
- package/dist/versioned-package/components/brandshape/brandshape.d.ts +1 -1
- package/dist/versioned-package/components/brandshape/brandshape.js +1 -1
- package/dist/versioned-package/components/button/button.d.ts +1 -1
- package/dist/versioned-package/components/button/button.js +4 -4
- package/dist/versioned-package/components/divider/divider.d.ts +1 -1
- package/dist/versioned-package/components/divider/divider.js +2 -2
- package/dist/versioned-package/components/drawer/drawer.d.ts +34 -0
- package/dist/versioned-package/components/drawer/drawer.js +283 -0
- package/dist/versioned-package/components/dropdown/dropdown.d.ts +1 -1
- package/dist/versioned-package/components/dropdown/dropdown.js +6 -6
- package/dist/versioned-package/components/icon/icon.d.ts +1 -1
- package/dist/versioned-package/components/icon/icon.js +1 -1
- package/dist/versioned-package/components/icon/library.system.d.ts +1 -0
- package/dist/versioned-package/components/icon/library.system.js +6 -1
- package/dist/versioned-package/components/include/include.d.ts +1 -1
- package/dist/versioned-package/components/include/include.js +1 -1
- package/dist/versioned-package/components/link/link.d.ts +1 -1
- package/dist/versioned-package/components/link/link.js +2 -2
- package/dist/versioned-package/components/popup/popup.d.ts +1 -1
- package/dist/versioned-package/components/popup/popup.js +1 -1
- package/dist/versioned-package/components/spinner/spinner.d.ts +1 -1
- package/dist/versioned-package/components/spinner/spinner.js +1 -1
- package/dist/versioned-package/components/tag/tag.d.ts +24 -0
- package/dist/versioned-package/components/tag/tag.js +110 -0
- package/dist/versioned-package/components/teaser/teaser.js +1 -1
- package/dist/versioned-package/internal/form.js +1 -1
- package/dist/versioned-package/internal/modal.d.ts +12 -0
- package/dist/versioned-package/internal/modal.js +52 -0
- package/dist/versioned-package/internal/scroll.js +23 -1
- package/dist/versioned-package/internal/string.d.ts +1 -0
- package/dist/versioned-package/internal/string.js +6 -0
- package/dist/versioned-package/solid-components.d.ts +2 -0
- package/dist/versioned-package/solid-components.js +18 -14
- package/dist/versioned-package/styles/tailwind.css.js +1 -1
- package/dist/vscode.html-custom-data.json +215 -13
- package/dist/web-types.json +612 -14
- package/package.json +3 -3
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@solid-design-system/components",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.10.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework-config": {
|
|
7
7
|
"enable-when": {
|
|
@@ -648,6 +648,159 @@
|
|
|
648
648
|
}
|
|
649
649
|
]
|
|
650
650
|
},
|
|
651
|
+
{
|
|
652
|
+
"name": "sd-drawer",
|
|
653
|
+
"description": "",
|
|
654
|
+
"doc-url": "https://solid.union-investment.com/[storybook-link]/drawer",
|
|
655
|
+
"js": {
|
|
656
|
+
"properties": [
|
|
657
|
+
{
|
|
658
|
+
"name": "hasSlotController",
|
|
659
|
+
"value": {}
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"name": "localize",
|
|
663
|
+
"value": {}
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"name": "modal",
|
|
667
|
+
"value": {}
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"name": "open",
|
|
671
|
+
"description": "Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.",
|
|
672
|
+
"value": {
|
|
673
|
+
"type": "boolean"
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"name": "label",
|
|
678
|
+
"description": "You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility.",
|
|
679
|
+
"value": {
|
|
680
|
+
"type": "string"
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"name": "placement",
|
|
685
|
+
"description": "The direction from which the drawer will open.",
|
|
686
|
+
"value": {
|
|
687
|
+
"type": "'end' | 'start'"
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"name": "contained",
|
|
692
|
+
"description": "By default, the drawer slides out of its containing block (the viewport). Contained is a hidden feature used only for testing purposes. Please do not use it in production as it will likely change.",
|
|
693
|
+
"value": {
|
|
694
|
+
"type": "boolean"
|
|
695
|
+
}
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"name": "noHeader",
|
|
699
|
+
"description": "Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.",
|
|
700
|
+
"value": {
|
|
701
|
+
"type": "boolean"
|
|
702
|
+
}
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"name": "requestClose",
|
|
706
|
+
"value": {}
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"name": "addOpenListeners",
|
|
710
|
+
"value": {}
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"name": "removeOpenListeners",
|
|
714
|
+
"value": {}
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"name": "handleDocumentKeyDown",
|
|
718
|
+
"value": {}
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"name": "handleOpenChange",
|
|
722
|
+
"value": {}
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"name": "handleNoModalChange",
|
|
726
|
+
"value": {}
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"name": "show",
|
|
730
|
+
"description": "Shows the drawer.",
|
|
731
|
+
"value": {}
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"name": "hide",
|
|
735
|
+
"description": "Hides the drawer",
|
|
736
|
+
"value": {}
|
|
737
|
+
}
|
|
738
|
+
],
|
|
739
|
+
"events": [
|
|
740
|
+
{
|
|
741
|
+
"name": "sd-show",
|
|
742
|
+
"description": "Emitted when the drawer opens."
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"name": "sd-after-show",
|
|
746
|
+
"description": "Emitted after the drawer opens and all animations are complete."
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"name": "sd-hide",
|
|
750
|
+
"description": "Emitted when the drawer closes."
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"name": "sd-after-hide",
|
|
754
|
+
"description": "Emitted after the drawer closes and all animations are complete."
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"name": "sd-initial-focus",
|
|
758
|
+
"description": "Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input."
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"name": "sd-request-close",
|
|
762
|
+
"description": "Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss."
|
|
763
|
+
}
|
|
764
|
+
]
|
|
765
|
+
},
|
|
766
|
+
"attributes": [
|
|
767
|
+
{
|
|
768
|
+
"name": "open",
|
|
769
|
+
"description": "Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.",
|
|
770
|
+
"value": {
|
|
771
|
+
"type": "boolean"
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"name": "label",
|
|
776
|
+
"description": "You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility.",
|
|
777
|
+
"value": {
|
|
778
|
+
"type": "string"
|
|
779
|
+
}
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"name": "placement",
|
|
783
|
+
"description": "The direction from which the drawer will open.",
|
|
784
|
+
"value": {
|
|
785
|
+
"type": "'end' | 'start'"
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"name": "contained",
|
|
790
|
+
"description": "By default, the drawer slides out of its containing block (the viewport). Contained is a hidden feature used only for testing purposes. Please do not use it in production as it will likely change.",
|
|
791
|
+
"value": {
|
|
792
|
+
"type": "boolean"
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"name": "no-header",
|
|
797
|
+
"description": "Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.",
|
|
798
|
+
"value": {
|
|
799
|
+
"type": "boolean"
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
]
|
|
803
|
+
},
|
|
651
804
|
{
|
|
652
805
|
"name": "sd-dropdown",
|
|
653
806
|
"description": "",
|
|
@@ -1651,6 +1804,152 @@
|
|
|
1651
1804
|
}
|
|
1652
1805
|
]
|
|
1653
1806
|
},
|
|
1807
|
+
{
|
|
1808
|
+
"name": "sd-tag",
|
|
1809
|
+
"description": "",
|
|
1810
|
+
"doc-url": "https://solid.union-investment.com/[storybook-link]/tag",
|
|
1811
|
+
"js": {
|
|
1812
|
+
"properties": [
|
|
1813
|
+
{
|
|
1814
|
+
"name": "size",
|
|
1815
|
+
"description": "The tag's size.",
|
|
1816
|
+
"value": {
|
|
1817
|
+
"type": "'lg' | 'sm'"
|
|
1818
|
+
}
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
"name": "selected",
|
|
1822
|
+
"description": "Displays the tag in a selected state.",
|
|
1823
|
+
"value": {
|
|
1824
|
+
"type": "boolean"
|
|
1825
|
+
}
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
"name": "removable",
|
|
1829
|
+
"description": "Displays the tag with a removability indicator.",
|
|
1830
|
+
"value": {
|
|
1831
|
+
"type": "boolean"
|
|
1832
|
+
}
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"name": "disabled",
|
|
1836
|
+
"description": "Displays the tag in a disabled state.",
|
|
1837
|
+
"value": {
|
|
1838
|
+
"type": "boolean"
|
|
1839
|
+
}
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
"name": "href",
|
|
1843
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
1844
|
+
"value": {
|
|
1845
|
+
"type": "string"
|
|
1846
|
+
}
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
"name": "target",
|
|
1850
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
1851
|
+
"value": {
|
|
1852
|
+
"type": "'_blank' | '_parent' | '_self' | '_top'"
|
|
1853
|
+
}
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
"name": "download",
|
|
1857
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
1858
|
+
"value": {
|
|
1859
|
+
"type": "string | undefined"
|
|
1860
|
+
}
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
"name": "handleBlur",
|
|
1864
|
+
"value": {}
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"name": "handleFocus",
|
|
1868
|
+
"value": {}
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
"name": "isLink",
|
|
1872
|
+
"value": {}
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"name": "click",
|
|
1876
|
+
"description": "Simulates a click on the tag.",
|
|
1877
|
+
"value": {}
|
|
1878
|
+
},
|
|
1879
|
+
{
|
|
1880
|
+
"name": "focus",
|
|
1881
|
+
"description": "Sets focus on the tag.",
|
|
1882
|
+
"value": {}
|
|
1883
|
+
},
|
|
1884
|
+
{
|
|
1885
|
+
"name": "blur",
|
|
1886
|
+
"description": "Removes focus from the tag.",
|
|
1887
|
+
"value": {}
|
|
1888
|
+
}
|
|
1889
|
+
],
|
|
1890
|
+
"events": [
|
|
1891
|
+
{
|
|
1892
|
+
"name": "sd-blur",
|
|
1893
|
+
"description": "Emitted when the tag loses focus."
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
"name": "sd-focus",
|
|
1897
|
+
"description": "Emitted when the tag gains focus."
|
|
1898
|
+
}
|
|
1899
|
+
]
|
|
1900
|
+
},
|
|
1901
|
+
"attributes": [
|
|
1902
|
+
{
|
|
1903
|
+
"name": "size",
|
|
1904
|
+
"description": "The tag's size.",
|
|
1905
|
+
"value": {
|
|
1906
|
+
"type": "'lg' | 'sm'"
|
|
1907
|
+
}
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
"name": "selected",
|
|
1911
|
+
"description": "Displays the tag in a selected state.",
|
|
1912
|
+
"value": {
|
|
1913
|
+
"type": "boolean"
|
|
1914
|
+
}
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
"name": "removable",
|
|
1918
|
+
"description": "Displays the tag with a removability indicator.",
|
|
1919
|
+
"value": {
|
|
1920
|
+
"type": "boolean"
|
|
1921
|
+
}
|
|
1922
|
+
},
|
|
1923
|
+
{
|
|
1924
|
+
"name": "disabled",
|
|
1925
|
+
"description": "Displays the tag in a disabled state.",
|
|
1926
|
+
"value": {
|
|
1927
|
+
"type": "boolean"
|
|
1928
|
+
}
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"name": "href",
|
|
1932
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
1933
|
+
"value": {
|
|
1934
|
+
"type": "string"
|
|
1935
|
+
}
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"name": "target",
|
|
1939
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
1940
|
+
"value": {
|
|
1941
|
+
"type": "'_blank' | '_parent' | '_self' | '_top'"
|
|
1942
|
+
}
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
"name": "download",
|
|
1946
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
1947
|
+
"value": {
|
|
1948
|
+
"type": "string | undefined"
|
|
1949
|
+
}
|
|
1950
|
+
}
|
|
1951
|
+
]
|
|
1952
|
+
},
|
|
1654
1953
|
{
|
|
1655
1954
|
"name": "sd-teaser",
|
|
1656
1955
|
"description": "",
|
|
@@ -1724,7 +2023,7 @@
|
|
|
1724
2023
|
]
|
|
1725
2024
|
},
|
|
1726
2025
|
{
|
|
1727
|
-
"name": "sd-1-
|
|
2026
|
+
"name": "sd-1-10-0-accordion-group",
|
|
1728
2027
|
"description": "",
|
|
1729
2028
|
"doc-url": "https://solid.union-investment.com/[storybook-link]/accordion-group",
|
|
1730
2029
|
"js": {
|
|
@@ -1754,7 +2053,7 @@
|
|
|
1754
2053
|
]
|
|
1755
2054
|
},
|
|
1756
2055
|
{
|
|
1757
|
-
"name": "sd-1-
|
|
2056
|
+
"name": "sd-1-10-0-accordion",
|
|
1758
2057
|
"description": "",
|
|
1759
2058
|
"doc-url": "https://solid.union-investment.com/[storybook-link]/accordion",
|
|
1760
2059
|
"js": {
|
|
@@ -1837,7 +2136,7 @@
|
|
|
1837
2136
|
]
|
|
1838
2137
|
},
|
|
1839
2138
|
{
|
|
1840
|
-
"name": "sd-1-
|
|
2139
|
+
"name": "sd-1-10-0-badge",
|
|
1841
2140
|
"description": "",
|
|
1842
2141
|
"doc-url": "https://solid.union-investment.com/[storybook-link]/badge",
|
|
1843
2142
|
"js": {
|
|
@@ -1891,7 +2190,7 @@
|
|
|
1891
2190
|
]
|
|
1892
2191
|
},
|
|
1893
2192
|
{
|
|
1894
|
-
"name": "sd-1-
|
|
2193
|
+
"name": "sd-1-10-0-brandshape",
|
|
1895
2194
|
"description": "",
|
|
1896
2195
|
"doc-url": "https://solid.union-investment.com/[storybook-link]/brandshape",
|
|
1897
2196
|
"js": {
|
|
@@ -1980,7 +2279,7 @@
|
|
|
1980
2279
|
]
|
|
1981
2280
|
},
|
|
1982
2281
|
{
|
|
1983
|
-
"name": "sd-1-
|
|
2282
|
+
"name": "sd-1-10-0-button",
|
|
1984
2283
|
"description": "",
|
|
1985
2284
|
"doc-url": "https://solid.union-investment.com/[storybook-link]/button",
|
|
1986
2285
|
"js": {
|
|
@@ -2319,7 +2618,7 @@
|
|
|
2319
2618
|
]
|
|
2320
2619
|
},
|
|
2321
2620
|
{
|
|
2322
|
-
"name": "sd-1-
|
|
2621
|
+
"name": "sd-1-10-0-divider",
|
|
2323
2622
|
"description": "",
|
|
2324
2623
|
"doc-url": "https://solid.union-investment.com/[storybook-link]/divider",
|
|
2325
2624
|
"js": {
|
|
@@ -2359,7 +2658,160 @@
|
|
|
2359
2658
|
]
|
|
2360
2659
|
},
|
|
2361
2660
|
{
|
|
2362
|
-
"name": "sd-1-
|
|
2661
|
+
"name": "sd-1-10-0-drawer",
|
|
2662
|
+
"description": "",
|
|
2663
|
+
"doc-url": "https://solid.union-investment.com/[storybook-link]/drawer",
|
|
2664
|
+
"js": {
|
|
2665
|
+
"properties": [
|
|
2666
|
+
{
|
|
2667
|
+
"name": "hasSlotController",
|
|
2668
|
+
"value": {}
|
|
2669
|
+
},
|
|
2670
|
+
{
|
|
2671
|
+
"name": "localize",
|
|
2672
|
+
"value": {}
|
|
2673
|
+
},
|
|
2674
|
+
{
|
|
2675
|
+
"name": "modal",
|
|
2676
|
+
"value": {}
|
|
2677
|
+
},
|
|
2678
|
+
{
|
|
2679
|
+
"name": "open",
|
|
2680
|
+
"description": "Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.",
|
|
2681
|
+
"value": {
|
|
2682
|
+
"type": "boolean"
|
|
2683
|
+
}
|
|
2684
|
+
},
|
|
2685
|
+
{
|
|
2686
|
+
"name": "label",
|
|
2687
|
+
"description": "You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility.",
|
|
2688
|
+
"value": {
|
|
2689
|
+
"type": "string"
|
|
2690
|
+
}
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
"name": "placement",
|
|
2694
|
+
"description": "The direction from which the drawer will open.",
|
|
2695
|
+
"value": {
|
|
2696
|
+
"type": "'end' | 'start'"
|
|
2697
|
+
}
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
"name": "contained",
|
|
2701
|
+
"description": "By default, the drawer slides out of its containing block (the viewport). Contained is a hidden feature used only for testing purposes. Please do not use it in production as it will likely change.",
|
|
2702
|
+
"value": {
|
|
2703
|
+
"type": "boolean"
|
|
2704
|
+
}
|
|
2705
|
+
},
|
|
2706
|
+
{
|
|
2707
|
+
"name": "noHeader",
|
|
2708
|
+
"description": "Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.",
|
|
2709
|
+
"value": {
|
|
2710
|
+
"type": "boolean"
|
|
2711
|
+
}
|
|
2712
|
+
},
|
|
2713
|
+
{
|
|
2714
|
+
"name": "requestClose",
|
|
2715
|
+
"value": {}
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"name": "addOpenListeners",
|
|
2719
|
+
"value": {}
|
|
2720
|
+
},
|
|
2721
|
+
{
|
|
2722
|
+
"name": "removeOpenListeners",
|
|
2723
|
+
"value": {}
|
|
2724
|
+
},
|
|
2725
|
+
{
|
|
2726
|
+
"name": "handleDocumentKeyDown",
|
|
2727
|
+
"value": {}
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
"name": "handleOpenChange",
|
|
2731
|
+
"value": {}
|
|
2732
|
+
},
|
|
2733
|
+
{
|
|
2734
|
+
"name": "handleNoModalChange",
|
|
2735
|
+
"value": {}
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
"name": "show",
|
|
2739
|
+
"description": "Shows the drawer.",
|
|
2740
|
+
"value": {}
|
|
2741
|
+
},
|
|
2742
|
+
{
|
|
2743
|
+
"name": "hide",
|
|
2744
|
+
"description": "Hides the drawer",
|
|
2745
|
+
"value": {}
|
|
2746
|
+
}
|
|
2747
|
+
],
|
|
2748
|
+
"events": [
|
|
2749
|
+
{
|
|
2750
|
+
"name": "sd-show",
|
|
2751
|
+
"description": "Emitted when the drawer opens."
|
|
2752
|
+
},
|
|
2753
|
+
{
|
|
2754
|
+
"name": "sd-after-show",
|
|
2755
|
+
"description": "Emitted after the drawer opens and all animations are complete."
|
|
2756
|
+
},
|
|
2757
|
+
{
|
|
2758
|
+
"name": "sd-hide",
|
|
2759
|
+
"description": "Emitted when the drawer closes."
|
|
2760
|
+
},
|
|
2761
|
+
{
|
|
2762
|
+
"name": "sd-after-hide",
|
|
2763
|
+
"description": "Emitted after the drawer closes and all animations are complete."
|
|
2764
|
+
},
|
|
2765
|
+
{
|
|
2766
|
+
"name": "sd-initial-focus",
|
|
2767
|
+
"description": "Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input."
|
|
2768
|
+
},
|
|
2769
|
+
{
|
|
2770
|
+
"name": "sd-request-close",
|
|
2771
|
+
"description": "Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss."
|
|
2772
|
+
}
|
|
2773
|
+
]
|
|
2774
|
+
},
|
|
2775
|
+
"attributes": [
|
|
2776
|
+
{
|
|
2777
|
+
"name": "open",
|
|
2778
|
+
"description": "Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.",
|
|
2779
|
+
"value": {
|
|
2780
|
+
"type": "boolean"
|
|
2781
|
+
}
|
|
2782
|
+
},
|
|
2783
|
+
{
|
|
2784
|
+
"name": "label",
|
|
2785
|
+
"description": "You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility.",
|
|
2786
|
+
"value": {
|
|
2787
|
+
"type": "string"
|
|
2788
|
+
}
|
|
2789
|
+
},
|
|
2790
|
+
{
|
|
2791
|
+
"name": "placement",
|
|
2792
|
+
"description": "The direction from which the drawer will open.",
|
|
2793
|
+
"value": {
|
|
2794
|
+
"type": "'end' | 'start'"
|
|
2795
|
+
}
|
|
2796
|
+
},
|
|
2797
|
+
{
|
|
2798
|
+
"name": "contained",
|
|
2799
|
+
"description": "By default, the drawer slides out of its containing block (the viewport). Contained is a hidden feature used only for testing purposes. Please do not use it in production as it will likely change.",
|
|
2800
|
+
"value": {
|
|
2801
|
+
"type": "boolean"
|
|
2802
|
+
}
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
"name": "no-header",
|
|
2806
|
+
"description": "Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.",
|
|
2807
|
+
"value": {
|
|
2808
|
+
"type": "boolean"
|
|
2809
|
+
}
|
|
2810
|
+
}
|
|
2811
|
+
]
|
|
2812
|
+
},
|
|
2813
|
+
{
|
|
2814
|
+
"name": "sd-1-10-0-dropdown",
|
|
2363
2815
|
"description": "",
|
|
2364
2816
|
"doc-url": "https://solid.union-investment.com/[storybook-link]/dropdown",
|
|
2365
2817
|
"js": {
|
|
@@ -2613,7 +3065,7 @@
|
|
|
2613
3065
|
]
|
|
2614
3066
|
},
|
|
2615
3067
|
{
|
|
2616
|
-
"name": "sd-1-
|
|
3068
|
+
"name": "sd-1-10-0-icon",
|
|
2617
3069
|
"description": "",
|
|
2618
3070
|
"doc-url": "https://solid.union-investment.com/[storybook-link]/icon",
|
|
2619
3071
|
"js": {
|
|
@@ -2722,7 +3174,7 @@
|
|
|
2722
3174
|
]
|
|
2723
3175
|
},
|
|
2724
3176
|
{
|
|
2725
|
-
"name": "sd-1-
|
|
3177
|
+
"name": "sd-1-10-0-include",
|
|
2726
3178
|
"description": "",
|
|
2727
3179
|
"doc-url": "https://solid.union-investment.com/[storybook-link]/include",
|
|
2728
3180
|
"js": {
|
|
@@ -2793,7 +3245,7 @@
|
|
|
2793
3245
|
]
|
|
2794
3246
|
},
|
|
2795
3247
|
{
|
|
2796
|
-
"name": "sd-1-
|
|
3248
|
+
"name": "sd-1-10-0-link",
|
|
2797
3249
|
"description": "",
|
|
2798
3250
|
"doc-url": "https://solid.union-investment.com/[storybook-link]/link",
|
|
2799
3251
|
"js": {
|
|
@@ -2920,7 +3372,7 @@
|
|
|
2920
3372
|
]
|
|
2921
3373
|
},
|
|
2922
3374
|
{
|
|
2923
|
-
"name": "sd-1-
|
|
3375
|
+
"name": "sd-1-10-0-popup",
|
|
2924
3376
|
"description": "",
|
|
2925
3377
|
"doc-url": "https://solid.union-investment.com/[storybook-link]/popup",
|
|
2926
3378
|
"js": {
|
|
@@ -3254,7 +3706,7 @@
|
|
|
3254
3706
|
]
|
|
3255
3707
|
},
|
|
3256
3708
|
{
|
|
3257
|
-
"name": "sd-1-
|
|
3709
|
+
"name": "sd-1-10-0-spinner",
|
|
3258
3710
|
"description": "",
|
|
3259
3711
|
"doc-url": "https://solid.union-investment.com/[storybook-link]/spinner",
|
|
3260
3712
|
"js": {
|
|
@@ -3284,7 +3736,153 @@
|
|
|
3284
3736
|
]
|
|
3285
3737
|
},
|
|
3286
3738
|
{
|
|
3287
|
-
"name": "sd-1-
|
|
3739
|
+
"name": "sd-1-10-0-tag",
|
|
3740
|
+
"description": "",
|
|
3741
|
+
"doc-url": "https://solid.union-investment.com/[storybook-link]/tag",
|
|
3742
|
+
"js": {
|
|
3743
|
+
"properties": [
|
|
3744
|
+
{
|
|
3745
|
+
"name": "size",
|
|
3746
|
+
"description": "The tag's size.",
|
|
3747
|
+
"value": {
|
|
3748
|
+
"type": "'lg' | 'sm'"
|
|
3749
|
+
}
|
|
3750
|
+
},
|
|
3751
|
+
{
|
|
3752
|
+
"name": "selected",
|
|
3753
|
+
"description": "Displays the tag in a selected state.",
|
|
3754
|
+
"value": {
|
|
3755
|
+
"type": "boolean"
|
|
3756
|
+
}
|
|
3757
|
+
},
|
|
3758
|
+
{
|
|
3759
|
+
"name": "removable",
|
|
3760
|
+
"description": "Displays the tag with a removability indicator.",
|
|
3761
|
+
"value": {
|
|
3762
|
+
"type": "boolean"
|
|
3763
|
+
}
|
|
3764
|
+
},
|
|
3765
|
+
{
|
|
3766
|
+
"name": "disabled",
|
|
3767
|
+
"description": "Displays the tag in a disabled state.",
|
|
3768
|
+
"value": {
|
|
3769
|
+
"type": "boolean"
|
|
3770
|
+
}
|
|
3771
|
+
},
|
|
3772
|
+
{
|
|
3773
|
+
"name": "href",
|
|
3774
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
3775
|
+
"value": {
|
|
3776
|
+
"type": "string"
|
|
3777
|
+
}
|
|
3778
|
+
},
|
|
3779
|
+
{
|
|
3780
|
+
"name": "target",
|
|
3781
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
3782
|
+
"value": {
|
|
3783
|
+
"type": "'_blank' | '_parent' | '_self' | '_top'"
|
|
3784
|
+
}
|
|
3785
|
+
},
|
|
3786
|
+
{
|
|
3787
|
+
"name": "download",
|
|
3788
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
3789
|
+
"value": {
|
|
3790
|
+
"type": "string | undefined"
|
|
3791
|
+
}
|
|
3792
|
+
},
|
|
3793
|
+
{
|
|
3794
|
+
"name": "handleBlur",
|
|
3795
|
+
"value": {}
|
|
3796
|
+
},
|
|
3797
|
+
{
|
|
3798
|
+
"name": "handleFocus",
|
|
3799
|
+
"value": {}
|
|
3800
|
+
},
|
|
3801
|
+
{
|
|
3802
|
+
"name": "isLink",
|
|
3803
|
+
"value": {}
|
|
3804
|
+
},
|
|
3805
|
+
{
|
|
3806
|
+
"name": "click",
|
|
3807
|
+
"description": "Simulates a click on the tag.",
|
|
3808
|
+
"value": {}
|
|
3809
|
+
},
|
|
3810
|
+
{
|
|
3811
|
+
"name": "focus",
|
|
3812
|
+
"description": "Sets focus on the tag.",
|
|
3813
|
+
"value": {}
|
|
3814
|
+
},
|
|
3815
|
+
{
|
|
3816
|
+
"name": "blur",
|
|
3817
|
+
"description": "Removes focus from the tag.",
|
|
3818
|
+
"value": {}
|
|
3819
|
+
}
|
|
3820
|
+
],
|
|
3821
|
+
"events": [
|
|
3822
|
+
{
|
|
3823
|
+
"name": "sd-blur",
|
|
3824
|
+
"description": "Emitted when the tag loses focus."
|
|
3825
|
+
},
|
|
3826
|
+
{
|
|
3827
|
+
"name": "sd-focus",
|
|
3828
|
+
"description": "Emitted when the tag gains focus."
|
|
3829
|
+
}
|
|
3830
|
+
]
|
|
3831
|
+
},
|
|
3832
|
+
"attributes": [
|
|
3833
|
+
{
|
|
3834
|
+
"name": "size",
|
|
3835
|
+
"description": "The tag's size.",
|
|
3836
|
+
"value": {
|
|
3837
|
+
"type": "'lg' | 'sm'"
|
|
3838
|
+
}
|
|
3839
|
+
},
|
|
3840
|
+
{
|
|
3841
|
+
"name": "selected",
|
|
3842
|
+
"description": "Displays the tag in a selected state.",
|
|
3843
|
+
"value": {
|
|
3844
|
+
"type": "boolean"
|
|
3845
|
+
}
|
|
3846
|
+
},
|
|
3847
|
+
{
|
|
3848
|
+
"name": "removable",
|
|
3849
|
+
"description": "Displays the tag with a removability indicator.",
|
|
3850
|
+
"value": {
|
|
3851
|
+
"type": "boolean"
|
|
3852
|
+
}
|
|
3853
|
+
},
|
|
3854
|
+
{
|
|
3855
|
+
"name": "disabled",
|
|
3856
|
+
"description": "Displays the tag in a disabled state.",
|
|
3857
|
+
"value": {
|
|
3858
|
+
"type": "boolean"
|
|
3859
|
+
}
|
|
3860
|
+
},
|
|
3861
|
+
{
|
|
3862
|
+
"name": "href",
|
|
3863
|
+
"description": "When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.",
|
|
3864
|
+
"value": {
|
|
3865
|
+
"type": "string"
|
|
3866
|
+
}
|
|
3867
|
+
},
|
|
3868
|
+
{
|
|
3869
|
+
"name": "target",
|
|
3870
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
3871
|
+
"value": {
|
|
3872
|
+
"type": "'_blank' | '_parent' | '_self' | '_top'"
|
|
3873
|
+
}
|
|
3874
|
+
},
|
|
3875
|
+
{
|
|
3876
|
+
"name": "download",
|
|
3877
|
+
"description": "Tells the browser to download the linked file as this filename. Only used when `href` is present.",
|
|
3878
|
+
"value": {
|
|
3879
|
+
"type": "string | undefined"
|
|
3880
|
+
}
|
|
3881
|
+
}
|
|
3882
|
+
]
|
|
3883
|
+
},
|
|
3884
|
+
{
|
|
3885
|
+
"name": "sd-1-10-0-teaser",
|
|
3288
3886
|
"description": "",
|
|
3289
3887
|
"doc-url": "https://solid.union-investment.com/[storybook-link]/teaser",
|
|
3290
3888
|
"js": {
|