@vielzeug/codex 26.10.14 → 26.10.16
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/data/catalog.json +84 -43
- package/data/llms-full.txt +739 -2
- package/data/llms.txt +2 -1
- package/data/manifest.json +1 -1
- package/data/packages/beacon.json +51 -0
- package/data/packages/refine.json +2 -2
- package/data/refine.json +854 -416
- package/data/search.json +33 -3
- package/package.json +5 -5
- package/skills/vielzeug/SKILL.md +4 -3
package/data/refine.json
CHANGED
|
@@ -1728,6 +1728,193 @@
|
|
|
1728
1728
|
}
|
|
1729
1729
|
]
|
|
1730
1730
|
},
|
|
1731
|
+
{
|
|
1732
|
+
"kind": "variable",
|
|
1733
|
+
"name": "CARD_TAG",
|
|
1734
|
+
"type": {
|
|
1735
|
+
"text": "'ore-card'"
|
|
1736
|
+
},
|
|
1737
|
+
"default": "'ore-card'",
|
|
1738
|
+
"description": "A versatile card container with semantic slots for media, header, body, footer, and actions."
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
"kind": "class",
|
|
1742
|
+
"name": "OreCardElement",
|
|
1743
|
+
"tagName": "ore-card",
|
|
1744
|
+
"customElement": true,
|
|
1745
|
+
"description": "A versatile card container with semantic slots for media, header, body, footer, and actions.",
|
|
1746
|
+
"summary": "",
|
|
1747
|
+
"attributes": [
|
|
1748
|
+
{
|
|
1749
|
+
"name": "variant",
|
|
1750
|
+
"type": {
|
|
1751
|
+
"text": "'solid' | 'flat' | 'frost'"
|
|
1752
|
+
},
|
|
1753
|
+
"description": "Visual variant: 'solid' | 'flat' | 'frost'"
|
|
1754
|
+
},
|
|
1755
|
+
{
|
|
1756
|
+
"name": "color",
|
|
1757
|
+
"type": {
|
|
1758
|
+
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
1759
|
+
},
|
|
1760
|
+
"description": "Theme color: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"name": "padding",
|
|
1764
|
+
"type": {
|
|
1765
|
+
"text": "'none' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
1766
|
+
},
|
|
1767
|
+
"description": "Internal padding: 'none' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
"name": "rounded",
|
|
1771
|
+
"type": {
|
|
1772
|
+
"text": "'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full'"
|
|
1773
|
+
},
|
|
1774
|
+
"description": "Border radius: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full'"
|
|
1775
|
+
},
|
|
1776
|
+
{
|
|
1777
|
+
"name": "elevation",
|
|
1778
|
+
"type": {
|
|
1779
|
+
"text": "'0' | '1' | '2' | '3' | '4' | '5'"
|
|
1780
|
+
},
|
|
1781
|
+
"description": "Shadow elevation: '0' | '1' | '2' | '3' | '4' | '5'"
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
"name": "orientation",
|
|
1785
|
+
"type": {
|
|
1786
|
+
"text": "string"
|
|
1787
|
+
},
|
|
1788
|
+
"description": "Card layout: 'horizontal'"
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
"name": "interactive",
|
|
1792
|
+
"type": {
|
|
1793
|
+
"text": "boolean"
|
|
1794
|
+
},
|
|
1795
|
+
"description": "Enable pointer/keyboard activation"
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"name": "disabled",
|
|
1799
|
+
"type": {
|
|
1800
|
+
"text": "boolean"
|
|
1801
|
+
},
|
|
1802
|
+
"description": "Disable card interaction"
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
"name": "loading",
|
|
1806
|
+
"type": {
|
|
1807
|
+
"text": "boolean"
|
|
1808
|
+
},
|
|
1809
|
+
"description": "Show loading progress bar"
|
|
1810
|
+
}
|
|
1811
|
+
],
|
|
1812
|
+
"events": [
|
|
1813
|
+
{
|
|
1814
|
+
"name": "activate",
|
|
1815
|
+
"description": "Emitted when an interactive card is activated. detail: { originalEvent: MouseEvent | KeyboardEvent; trigger: 'pointer' | 'keyboard' }",
|
|
1816
|
+
"type": {
|
|
1817
|
+
"text": "CustomEvent"
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1820
|
+
],
|
|
1821
|
+
"slots": [
|
|
1822
|
+
{
|
|
1823
|
+
"name": "media",
|
|
1824
|
+
"description": "Media content displayed at top/left"
|
|
1825
|
+
},
|
|
1826
|
+
{
|
|
1827
|
+
"name": "header",
|
|
1828
|
+
"description": "Card header (title, subtitle)"
|
|
1829
|
+
},
|
|
1830
|
+
{
|
|
1831
|
+
"name": "",
|
|
1832
|
+
"description": "Main card content"
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"name": "footer",
|
|
1836
|
+
"description": "Card footer content"
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
"name": "actions",
|
|
1840
|
+
"description": "Action buttons or links"
|
|
1841
|
+
}
|
|
1842
|
+
],
|
|
1843
|
+
"cssParts": [
|
|
1844
|
+
{
|
|
1845
|
+
"name": "card",
|
|
1846
|
+
"description": "Card root container."
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
"name": "loading-bar",
|
|
1850
|
+
"description": "Loading progress bar."
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
"name": "media",
|
|
1854
|
+
"description": "Media slot container."
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
"name": "body",
|
|
1858
|
+
"description": "Body content container."
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
"name": "header",
|
|
1862
|
+
"description": "Header container."
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"name": "content",
|
|
1866
|
+
"description": "Content container."
|
|
1867
|
+
},
|
|
1868
|
+
{
|
|
1869
|
+
"name": "footer",
|
|
1870
|
+
"description": "Footer container."
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
"name": "actions",
|
|
1874
|
+
"description": "Actions slot container."
|
|
1875
|
+
}
|
|
1876
|
+
],
|
|
1877
|
+
"cssProperties": [
|
|
1878
|
+
{
|
|
1879
|
+
"name": "--card-bg",
|
|
1880
|
+
"description": "Background color"
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
"name": "--card-color",
|
|
1884
|
+
"description": "Text color"
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
"name": "--card-border",
|
|
1888
|
+
"description": "Border width"
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"name": "--card-border-color",
|
|
1892
|
+
"description": "Border color"
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
"name": "--card-radius",
|
|
1896
|
+
"description": "Border radius"
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"name": "--card-padding",
|
|
1900
|
+
"description": "Internal padding"
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
"name": "--card-shadow",
|
|
1904
|
+
"description": "Box shadow"
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
"name": "--card-hover-shadow",
|
|
1908
|
+
"description": "Shadow on hover"
|
|
1909
|
+
}
|
|
1910
|
+
],
|
|
1911
|
+
"demos": [
|
|
1912
|
+
{
|
|
1913
|
+
"url": "",
|
|
1914
|
+
"description": "```html\n<ore-card elevation=\"2\"><h3 slot=\"header\">Title</h3><p>Content</p></ore-card>\n<ore-card interactive color=\"primary\"><h3 slot=\"header\">Click me</h3></ore-card>\n<ore-card variant=\"frost\" color=\"secondary\">Frosted card</ore-card>\n```"
|
|
1915
|
+
}
|
|
1916
|
+
]
|
|
1917
|
+
},
|
|
1731
1918
|
{
|
|
1732
1919
|
"kind": "function",
|
|
1733
1920
|
"name": "syncCoverflow",
|
|
@@ -1913,263 +2100,83 @@
|
|
|
1913
2100
|
"cssParts": [
|
|
1914
2101
|
{
|
|
1915
2102
|
"name": "track",
|
|
1916
|
-
"description": "The scrolling slide track element"
|
|
1917
|
-
},
|
|
1918
|
-
{
|
|
1919
|
-
"name": "controls",
|
|
1920
|
-
"description": "The prev/next button container"
|
|
1921
|
-
},
|
|
1922
|
-
{
|
|
1923
|
-
"name": "indicators",
|
|
1924
|
-
"description": "The indicator dots container"
|
|
1925
|
-
},
|
|
1926
|
-
{
|
|
1927
|
-
"name": "prev-btn",
|
|
1928
|
-
"description": "The previous-slide button"
|
|
1929
|
-
},
|
|
1930
|
-
{
|
|
1931
|
-
"name": "next-btn",
|
|
1932
|
-
"description": "The next-slide button"
|
|
1933
|
-
}
|
|
1934
|
-
],
|
|
1935
|
-
"cssProperties": [
|
|
1936
|
-
{
|
|
1937
|
-
"name": "--carousel-bg",
|
|
1938
|
-
"description": "Slide area background"
|
|
1939
|
-
},
|
|
1940
|
-
{
|
|
1941
|
-
"name": "--carousel-radius",
|
|
1942
|
-
"description": "Border radius of the carousel"
|
|
1943
|
-
},
|
|
1944
|
-
{
|
|
1945
|
-
"name": "--carousel-dot-bg",
|
|
1946
|
-
"description": "Inactive indicator color (default: var(--color-contrast-300))"
|
|
1947
|
-
},
|
|
1948
|
-
{
|
|
1949
|
-
"name": "--carousel-dot-active-bg",
|
|
1950
|
-
"description": "Active indicator / fill color (default: var(--color-contrast-700))"
|
|
1951
|
-
},
|
|
1952
|
-
{
|
|
1953
|
-
"name": "--carousel-transition-duration",
|
|
1954
|
-
"description": "Slide transition duration (default 0.35s; 0s under prefers-reduced-motion)."
|
|
1955
|
-
},
|
|
1956
|
-
{
|
|
1957
|
-
"name": "--carousel-min-height",
|
|
1958
|
-
"description": "Minimum height when no explicit height is set (default 240px)"
|
|
1959
|
-
},
|
|
1960
|
-
{
|
|
1961
|
-
"name": "--carousel-filmstrip-inactive",
|
|
1962
|
-
"description": "Width (horizontal) or height (vertical) of inactive slides in filmstrip mode"
|
|
1963
|
-
},
|
|
1964
|
-
{
|
|
1965
|
-
"name": "--carousel-filmstrip-gap",
|
|
1966
|
-
"description": "Gap between slides in filmstrip mode"
|
|
1967
|
-
},
|
|
1968
|
-
{
|
|
1969
|
-
"name": "--carousel-gallery-thumbnail",
|
|
1970
|
-
"description": "Width (horizontal) or height (vertical) of thumbnail slides in gallery mode (default var(--size-24))"
|
|
1971
|
-
},
|
|
1972
|
-
{
|
|
1973
|
-
"name": "--carousel-gallery-gap",
|
|
1974
|
-
"description": "Gap between slides in gallery mode (default var(--size-2))"
|
|
1975
|
-
},
|
|
1976
|
-
{
|
|
1977
|
-
"name": "--carousel-coverflow-size",
|
|
1978
|
-
"description": "Card extent along the navigation axis (default var(--size-40))"
|
|
1979
|
-
},
|
|
1980
|
-
{
|
|
1981
|
-
"name": "--carousel-coverflow-spacing",
|
|
1982
|
-
"description": "Distance between cover centers (default var(--size-12))"
|
|
1983
|
-
},
|
|
1984
|
-
{
|
|
1985
|
-
"name": "--carousel-coverflow-perspective",
|
|
1986
|
-
"description": "Coverflow perspective (default calc(var(--size-64) * 4))"
|
|
1987
|
-
}
|
|
1988
|
-
],
|
|
1989
|
-
"demos": [
|
|
1990
|
-
{
|
|
1991
|
-
"url": "",
|
|
1992
|
-
"description": "```html\n<ore-carousel label=\"Product highlights\" loop>\n <ore-carousel-slide>Slide 1</ore-carousel-slide>\n <ore-carousel-slide>Slide 2</ore-carousel-slide>\n <ore-carousel-slide>Slide 3</ore-carousel-slide>\n</ore-carousel>\n```"
|
|
1993
|
-
}
|
|
1994
|
-
]
|
|
1995
|
-
},
|
|
1996
|
-
{
|
|
1997
|
-
"kind": "variable",
|
|
1998
|
-
"name": "CARD_TAG",
|
|
1999
|
-
"type": {
|
|
2000
|
-
"text": "'ore-card'"
|
|
2001
|
-
},
|
|
2002
|
-
"default": "'ore-card'",
|
|
2003
|
-
"description": "A versatile card container with semantic slots for media, header, body, footer, and actions."
|
|
2004
|
-
},
|
|
2005
|
-
{
|
|
2006
|
-
"kind": "class",
|
|
2007
|
-
"name": "OreCardElement",
|
|
2008
|
-
"tagName": "ore-card",
|
|
2009
|
-
"customElement": true,
|
|
2010
|
-
"description": "A versatile card container with semantic slots for media, header, body, footer, and actions.",
|
|
2011
|
-
"summary": "",
|
|
2012
|
-
"attributes": [
|
|
2013
|
-
{
|
|
2014
|
-
"name": "variant",
|
|
2015
|
-
"type": {
|
|
2016
|
-
"text": "'solid' | 'flat' | 'frost'"
|
|
2017
|
-
},
|
|
2018
|
-
"description": "Visual variant: 'solid' | 'flat' | 'frost'"
|
|
2019
|
-
},
|
|
2020
|
-
{
|
|
2021
|
-
"name": "color",
|
|
2022
|
-
"type": {
|
|
2023
|
-
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
2024
|
-
},
|
|
2025
|
-
"description": "Theme color: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
2026
|
-
},
|
|
2027
|
-
{
|
|
2028
|
-
"name": "padding",
|
|
2029
|
-
"type": {
|
|
2030
|
-
"text": "'none' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
2031
|
-
},
|
|
2032
|
-
"description": "Internal padding: 'none' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
2033
|
-
},
|
|
2034
|
-
{
|
|
2035
|
-
"name": "elevation",
|
|
2036
|
-
"type": {
|
|
2037
|
-
"text": "'0' | '1' | '2' | '3' | '4' | '5'"
|
|
2038
|
-
},
|
|
2039
|
-
"description": "Shadow elevation: '0' | '1' | '2' | '3' | '4' | '5'"
|
|
2040
|
-
},
|
|
2041
|
-
{
|
|
2042
|
-
"name": "orientation",
|
|
2043
|
-
"type": {
|
|
2044
|
-
"text": "string"
|
|
2045
|
-
},
|
|
2046
|
-
"description": "Card layout: 'horizontal'"
|
|
2047
|
-
},
|
|
2048
|
-
{
|
|
2049
|
-
"name": "interactive",
|
|
2050
|
-
"type": {
|
|
2051
|
-
"text": "boolean"
|
|
2052
|
-
},
|
|
2053
|
-
"description": "Enable pointer/keyboard activation"
|
|
2054
|
-
},
|
|
2055
|
-
{
|
|
2056
|
-
"name": "disabled",
|
|
2057
|
-
"type": {
|
|
2058
|
-
"text": "boolean"
|
|
2059
|
-
},
|
|
2060
|
-
"description": "Disable card interaction"
|
|
2061
|
-
},
|
|
2062
|
-
{
|
|
2063
|
-
"name": "loading",
|
|
2064
|
-
"type": {
|
|
2065
|
-
"text": "boolean"
|
|
2066
|
-
},
|
|
2067
|
-
"description": "Show loading progress bar"
|
|
2068
|
-
}
|
|
2069
|
-
],
|
|
2070
|
-
"events": [
|
|
2071
|
-
{
|
|
2072
|
-
"name": "activate",
|
|
2073
|
-
"description": "Emitted when an interactive card is activated. detail: { originalEvent: MouseEvent | KeyboardEvent; trigger: 'pointer' | 'keyboard' }",
|
|
2074
|
-
"type": {
|
|
2075
|
-
"text": "CustomEvent"
|
|
2076
|
-
}
|
|
2077
|
-
}
|
|
2078
|
-
],
|
|
2079
|
-
"slots": [
|
|
2080
|
-
{
|
|
2081
|
-
"name": "media",
|
|
2082
|
-
"description": "Media content displayed at top/left"
|
|
2103
|
+
"description": "The scrolling slide track element"
|
|
2083
2104
|
},
|
|
2084
2105
|
{
|
|
2085
|
-
"name": "
|
|
2086
|
-
"description": "
|
|
2106
|
+
"name": "controls",
|
|
2107
|
+
"description": "The prev/next button container"
|
|
2087
2108
|
},
|
|
2088
2109
|
{
|
|
2089
|
-
"name": "",
|
|
2090
|
-
"description": "
|
|
2110
|
+
"name": "indicators",
|
|
2111
|
+
"description": "The indicator dots container"
|
|
2091
2112
|
},
|
|
2092
2113
|
{
|
|
2093
|
-
"name": "
|
|
2094
|
-
"description": "
|
|
2114
|
+
"name": "prev-btn",
|
|
2115
|
+
"description": "The previous-slide button"
|
|
2095
2116
|
},
|
|
2096
2117
|
{
|
|
2097
|
-
"name": "
|
|
2098
|
-
"description": "
|
|
2118
|
+
"name": "next-btn",
|
|
2119
|
+
"description": "The next-slide button"
|
|
2099
2120
|
}
|
|
2100
2121
|
],
|
|
2101
|
-
"
|
|
2102
|
-
{
|
|
2103
|
-
"name": "card",
|
|
2104
|
-
"description": "Card root container."
|
|
2105
|
-
},
|
|
2106
|
-
{
|
|
2107
|
-
"name": "loading-bar",
|
|
2108
|
-
"description": "Loading progress bar."
|
|
2109
|
-
},
|
|
2122
|
+
"cssProperties": [
|
|
2110
2123
|
{
|
|
2111
|
-
"name": "
|
|
2112
|
-
"description": "
|
|
2124
|
+
"name": "--carousel-bg",
|
|
2125
|
+
"description": "Slide area background"
|
|
2113
2126
|
},
|
|
2114
2127
|
{
|
|
2115
|
-
"name": "
|
|
2116
|
-
"description": "
|
|
2128
|
+
"name": "--carousel-radius",
|
|
2129
|
+
"description": "Border radius of the carousel"
|
|
2117
2130
|
},
|
|
2118
2131
|
{
|
|
2119
|
-
"name": "
|
|
2120
|
-
"description": "
|
|
2132
|
+
"name": "--carousel-dot-bg",
|
|
2133
|
+
"description": "Inactive indicator color (default: var(--color-contrast-300))"
|
|
2121
2134
|
},
|
|
2122
2135
|
{
|
|
2123
|
-
"name": "
|
|
2124
|
-
"description": "
|
|
2136
|
+
"name": "--carousel-dot-active-bg",
|
|
2137
|
+
"description": "Active indicator / fill color (default: var(--color-contrast-700))"
|
|
2125
2138
|
},
|
|
2126
2139
|
{
|
|
2127
|
-
"name": "
|
|
2128
|
-
"description": "
|
|
2140
|
+
"name": "--carousel-transition-duration",
|
|
2141
|
+
"description": "Slide transition duration (default 0.35s; 0s under prefers-reduced-motion)."
|
|
2129
2142
|
},
|
|
2130
2143
|
{
|
|
2131
|
-
"name": "
|
|
2132
|
-
"description": "
|
|
2133
|
-
}
|
|
2134
|
-
],
|
|
2135
|
-
"cssProperties": [
|
|
2136
|
-
{
|
|
2137
|
-
"name": "--card-bg",
|
|
2138
|
-
"description": "Background color"
|
|
2144
|
+
"name": "--carousel-min-height",
|
|
2145
|
+
"description": "Minimum height when no explicit height is set (default 240px)"
|
|
2139
2146
|
},
|
|
2140
2147
|
{
|
|
2141
|
-
"name": "--
|
|
2142
|
-
"description": "
|
|
2148
|
+
"name": "--carousel-filmstrip-inactive",
|
|
2149
|
+
"description": "Width (horizontal) or height (vertical) of inactive slides in filmstrip mode"
|
|
2143
2150
|
},
|
|
2144
2151
|
{
|
|
2145
|
-
"name": "--
|
|
2146
|
-
"description": "
|
|
2152
|
+
"name": "--carousel-filmstrip-gap",
|
|
2153
|
+
"description": "Gap between slides in filmstrip mode"
|
|
2147
2154
|
},
|
|
2148
2155
|
{
|
|
2149
|
-
"name": "--
|
|
2150
|
-
"description": "
|
|
2156
|
+
"name": "--carousel-gallery-thumbnail",
|
|
2157
|
+
"description": "Width (horizontal) or height (vertical) of thumbnail slides in gallery mode (default var(--size-24))"
|
|
2151
2158
|
},
|
|
2152
2159
|
{
|
|
2153
|
-
"name": "--
|
|
2154
|
-
"description": "
|
|
2160
|
+
"name": "--carousel-gallery-gap",
|
|
2161
|
+
"description": "Gap between slides in gallery mode (default var(--size-2))"
|
|
2155
2162
|
},
|
|
2156
2163
|
{
|
|
2157
|
-
"name": "--
|
|
2158
|
-
"description": "
|
|
2164
|
+
"name": "--carousel-coverflow-size",
|
|
2165
|
+
"description": "Card extent along the navigation axis (default var(--size-40))"
|
|
2159
2166
|
},
|
|
2160
2167
|
{
|
|
2161
|
-
"name": "--
|
|
2162
|
-
"description": "
|
|
2168
|
+
"name": "--carousel-coverflow-spacing",
|
|
2169
|
+
"description": "Distance between cover centers (default var(--size-12))"
|
|
2163
2170
|
},
|
|
2164
2171
|
{
|
|
2165
|
-
"name": "--
|
|
2166
|
-
"description": "
|
|
2172
|
+
"name": "--carousel-coverflow-perspective",
|
|
2173
|
+
"description": "Coverflow perspective (default calc(var(--size-64) * 4))"
|
|
2167
2174
|
}
|
|
2168
2175
|
],
|
|
2169
2176
|
"demos": [
|
|
2170
2177
|
{
|
|
2171
2178
|
"url": "",
|
|
2172
|
-
"description": "```html\n<ore-
|
|
2179
|
+
"description": "```html\n<ore-carousel label=\"Product highlights\" loop>\n <ore-carousel-slide>Slide 1</ore-carousel-slide>\n <ore-carousel-slide>Slide 2</ore-carousel-slide>\n <ore-carousel-slide>Slide 3</ore-carousel-slide>\n</ore-carousel>\n```"
|
|
2173
2180
|
}
|
|
2174
2181
|
]
|
|
2175
2182
|
},
|
|
@@ -3493,7 +3500,7 @@
|
|
|
3493
3500
|
"cssProperties": [
|
|
3494
3501
|
{
|
|
3495
3502
|
"name": "--rank-number-color",
|
|
3496
|
-
"description": "Rank numeral color (default --color-contrast-
|
|
3503
|
+
"description": "Rank numeral color (default --color-contrast-600)"
|
|
3497
3504
|
},
|
|
3498
3505
|
{
|
|
3499
3506
|
"name": "--rank-number-width",
|
|
@@ -3505,7 +3512,7 @@
|
|
|
3505
3512
|
},
|
|
3506
3513
|
{
|
|
3507
3514
|
"name": "--rank-track-color",
|
|
3508
|
-
"description": "Bar track color (default --color-contrast-
|
|
3515
|
+
"description": "Bar track color (default --color-contrast-200)"
|
|
3509
3516
|
},
|
|
3510
3517
|
{
|
|
3511
3518
|
"name": "--rank-bar-height",
|
|
@@ -3644,10 +3651,10 @@
|
|
|
3644
3651
|
"kind": "variable",
|
|
3645
3652
|
"name": "SPEECH_RATES",
|
|
3646
3653
|
"type": {
|
|
3647
|
-
"text": "[1,
|
|
3654
|
+
"text": "[1, 1.15, 1.5, 0.85]"
|
|
3648
3655
|
},
|
|
3649
|
-
"default": "[1,
|
|
3650
|
-
"description": "The playback multipliers the speed control cycles through."
|
|
3656
|
+
"default": "[1, 1.15, 1.5, 0.85]",
|
|
3657
|
+
"description": "The playback multipliers the speed control cycles through, in cycle order: the first\ntap from the default 1× speeds the reading up, and the slow step returns last."
|
|
3651
3658
|
},
|
|
3652
3659
|
{
|
|
3653
3660
|
"kind": "function",
|
|
@@ -3667,6 +3674,37 @@
|
|
|
3667
3674
|
],
|
|
3668
3675
|
"description": "The entry's sentences: prose ends . ! or ?, closing quotes belong to the sentence\nthey end, and an unterminated tail is still a sentence. Consumers that highlight what\nis being read build their display from this same list, so `progress` sentence indexes\nmap onto their own."
|
|
3669
3676
|
},
|
|
3677
|
+
{
|
|
3678
|
+
"kind": "function",
|
|
3679
|
+
"name": "pickVoice",
|
|
3680
|
+
"return": {
|
|
3681
|
+
"type": {
|
|
3682
|
+
"text": "VoiceCandidate | null"
|
|
3683
|
+
}
|
|
3684
|
+
},
|
|
3685
|
+
"parameters": [
|
|
3686
|
+
{
|
|
3687
|
+
"name": "voices",
|
|
3688
|
+
"type": {
|
|
3689
|
+
"text": "VoiceCandidate[]"
|
|
3690
|
+
}
|
|
3691
|
+
},
|
|
3692
|
+
{
|
|
3693
|
+
"name": "lang",
|
|
3694
|
+
"type": {
|
|
3695
|
+
"text": "string | null"
|
|
3696
|
+
}
|
|
3697
|
+
},
|
|
3698
|
+
{
|
|
3699
|
+
"name": "name",
|
|
3700
|
+
"optional": true,
|
|
3701
|
+
"type": {
|
|
3702
|
+
"text": "string"
|
|
3703
|
+
}
|
|
3704
|
+
}
|
|
3705
|
+
],
|
|
3706
|
+
"description": "The voice to read with: an exact (then substring, case-insensitive) name match wins;\notherwise the best-ranked voice for `lang`, or `null` to leave the choice to the\nengine's own `lang` hint."
|
|
3707
|
+
},
|
|
3670
3708
|
{
|
|
3671
3709
|
"kind": "variable",
|
|
3672
3710
|
"name": "SPEECH_PLAYER_TAG",
|
|
@@ -3674,14 +3712,14 @@
|
|
|
3674
3712
|
"text": "'ore-speech-player'"
|
|
3675
3713
|
},
|
|
3676
3714
|
"default": "'ore-speech-player'",
|
|
3677
|
-
"description": "A text-to-speech player control: reads its `text` aloud through the Web Speech API.\n\nRenders
|
|
3715
|
+
"description": "A text-to-speech player control: reads its `text` aloud through the Web Speech API.\n\nRenders an icon-only play/pause toggle, a speed control cycling\n1×/1.15×/1.5×/0.85×, a stop control that appears while reading, and a\nsentence-position readout. The text is spoken sentence by sentence (long sentences\nsplit into pieces under the\nengine's truncation window), the `state` attribute reflects playback, a\n`role=\"status\"` live region announces transitions, and `progress` events name the\nsentence being read so a consumer can highlight it. While reading, the Media Session\nAPI (where available) exposes play/pause/stop to the browser's own media controls.\nOnly one player speaks at a time: starting one stops any other. `resume-at` names the\nsentence to begin from, so a persisted position makes resume mean it."
|
|
3678
3716
|
},
|
|
3679
3717
|
{
|
|
3680
3718
|
"kind": "class",
|
|
3681
3719
|
"name": "OreSpeechPlayerElement",
|
|
3682
3720
|
"tagName": "ore-speech-player",
|
|
3683
3721
|
"customElement": true,
|
|
3684
|
-
"description": "A text-to-speech player control: reads its `text` aloud through the Web Speech API.\nRenders
|
|
3722
|
+
"description": "A text-to-speech player control: reads its `text` aloud through the Web Speech API.\nRenders an icon-only play/pause toggle, a speed control cycling\n1×/1.15×/1.5×/0.85×, a stop control that appears while reading, and a\nsentence-position readout. The text is spoken sentence by sentence (long sentences\nsplit into pieces under the\nengine's truncation window), the `state` attribute reflects playback, a\n`role=\"status\"` live region announces transitions, and `progress` events name the\nsentence being read so a consumer can highlight it. While reading, the Media Session\nAPI (where available) exposes play/pause/stop to the browser's own media controls.\nOnly one player speaks at a time: starting one stops any other. `resume-at` names the\nsentence to begin from, so a persisted position makes resume mean it.\n voice for `lang` is picked automatically",
|
|
3685
3723
|
"summary": "",
|
|
3686
3724
|
"attributes": [
|
|
3687
3725
|
{
|
|
@@ -3710,7 +3748,28 @@
|
|
|
3710
3748
|
"type": {
|
|
3711
3749
|
"text": "number"
|
|
3712
3750
|
},
|
|
3713
|
-
"description": "Playback rate; the speed control cycles 1 →
|
|
3751
|
+
"description": "Playback rate; the speed control cycles 1 → 1.15 → 1.5 → 0.85"
|
|
3752
|
+
},
|
|
3753
|
+
{
|
|
3754
|
+
"name": "pitch",
|
|
3755
|
+
"type": {
|
|
3756
|
+
"text": "number"
|
|
3757
|
+
},
|
|
3758
|
+
"description": "Voice pitch passed to the engine, 0 to 2 (1 is natural)"
|
|
3759
|
+
},
|
|
3760
|
+
{
|
|
3761
|
+
"name": "volume",
|
|
3762
|
+
"type": {
|
|
3763
|
+
"text": "number"
|
|
3764
|
+
},
|
|
3765
|
+
"description": "Voice loudness passed to the engine, 0 to 1"
|
|
3766
|
+
},
|
|
3767
|
+
{
|
|
3768
|
+
"name": "voice",
|
|
3769
|
+
"type": {
|
|
3770
|
+
"text": "string"
|
|
3771
|
+
},
|
|
3772
|
+
"description": "Name of the voice to read with; unset, the most natural-sounding"
|
|
3714
3773
|
},
|
|
3715
3774
|
{
|
|
3716
3775
|
"name": "resume-at",
|
|
@@ -3771,15 +3830,15 @@
|
|
|
3771
3830
|
},
|
|
3772
3831
|
{
|
|
3773
3832
|
"name": "play",
|
|
3774
|
-
"description": "The play/pause toggle button"
|
|
3833
|
+
"description": "The play/pause toggle (an `ore-button`: style its `button` part through it)"
|
|
3775
3834
|
},
|
|
3776
3835
|
{
|
|
3777
3836
|
"name": "rate",
|
|
3778
|
-
"description": "The speed control"
|
|
3837
|
+
"description": "The speed control (an `ore-button`)"
|
|
3779
3838
|
},
|
|
3780
3839
|
{
|
|
3781
3840
|
"name": "stop",
|
|
3782
|
-
"description": "The stop button (hidden while idle)"
|
|
3841
|
+
"description": "The stop button (an `ore-button`, hidden while idle)"
|
|
3783
3842
|
}
|
|
3784
3843
|
],
|
|
3785
3844
|
"cssProperties": [
|
|
@@ -3789,16 +3848,12 @@
|
|
|
3789
3848
|
},
|
|
3790
3849
|
{
|
|
3791
3850
|
"name": "--speech-player-control-size",
|
|
3792
|
-
"description": "Each control's hit-area size
|
|
3851
|
+
"description": "Each control's hit-area size"
|
|
3793
3852
|
},
|
|
3794
3853
|
{
|
|
3795
3854
|
"name": "--speech-player-icon-color",
|
|
3796
3855
|
"description": "Control icon color at rest"
|
|
3797
3856
|
},
|
|
3798
|
-
{
|
|
3799
|
-
"name": "--speech-player-active-color",
|
|
3800
|
-
"description": "Toggle color while reading (playing or paused)"
|
|
3801
|
-
},
|
|
3802
3857
|
{
|
|
3803
3858
|
"name": "--speech-player-hover-bg",
|
|
3804
3859
|
"description": "Control background on hover"
|
|
@@ -3878,6 +3933,13 @@
|
|
|
3878
3933
|
"text": "string"
|
|
3879
3934
|
},
|
|
3880
3935
|
"description": "Read-only playback state: idle | playing | paused | ended"
|
|
3936
|
+
},
|
|
3937
|
+
{
|
|
3938
|
+
"name": "fullscreen",
|
|
3939
|
+
"type": {
|
|
3940
|
+
"text": "boolean"
|
|
3941
|
+
},
|
|
3942
|
+
"description": "Read-only; present while the reader fills the screen"
|
|
3881
3943
|
}
|
|
3882
3944
|
],
|
|
3883
3945
|
"events": [
|
|
@@ -3946,7 +4008,11 @@
|
|
|
3946
4008
|
"cssProperties": [
|
|
3947
4009
|
{
|
|
3948
4010
|
"name": "--speed-reading-font-size",
|
|
3949
|
-
"description": "
|
|
4011
|
+
"description": "Maximum display type size (default var(--text-3xl))"
|
|
4012
|
+
},
|
|
4013
|
+
{
|
|
4014
|
+
"name": "--speed-reading-fullscreen-font-size",
|
|
4015
|
+
"description": "Maximum fullscreen display type size (default min(10vw, var(--size-96)))"
|
|
3950
4016
|
},
|
|
3951
4017
|
{
|
|
3952
4018
|
"name": "--speed-reading-min-font-size",
|
|
@@ -4887,216 +4953,84 @@
|
|
|
4887
4953
|
"name": "ACCORDION_TAG",
|
|
4888
4954
|
"type": {
|
|
4889
4955
|
"text": "'ore-accordion'"
|
|
4890
|
-
},
|
|
4891
|
-
"default": "'ore-accordion'",
|
|
4892
|
-
"description": "A container for accordion items with single or multiple selection modes."
|
|
4893
|
-
},
|
|
4894
|
-
{
|
|
4895
|
-
"kind": "class",
|
|
4896
|
-
"name": "OreAccordionElement",
|
|
4897
|
-
"tagName": "ore-accordion",
|
|
4898
|
-
"customElement": true,
|
|
4899
|
-
"description": "A container for accordion items with single or multiple selection modes.",
|
|
4900
|
-
"summary": "",
|
|
4901
|
-
"attributes": [
|
|
4902
|
-
{
|
|
4903
|
-
"name": "selection-mode",
|
|
4904
|
-
"type": {
|
|
4905
|
-
"text": "'single' | 'multiple'"
|
|
4906
|
-
},
|
|
4907
|
-
"description": "Selection mode: 'single' | 'multiple'"
|
|
4908
|
-
},
|
|
4909
|
-
{
|
|
4910
|
-
"name": "size",
|
|
4911
|
-
"type": {
|
|
4912
|
-
"text": "'sm' | 'md' | 'lg'"
|
|
4913
|
-
},
|
|
4914
|
-
"description": "Size for all items: 'sm' | 'md' | 'lg' (propagated to children)"
|
|
4915
|
-
},
|
|
4916
|
-
{
|
|
4917
|
-
"name": "variant",
|
|
4918
|
-
"type": {
|
|
4919
|
-
"text": "'solid' | 'flat' | 'bordered' | 'text' | 'frost'"
|
|
4920
|
-
},
|
|
4921
|
-
"description": "Visual variant: 'solid' | 'flat' | 'bordered' | 'text' | 'frost' (propagated to children)"
|
|
4922
|
-
}
|
|
4923
|
-
],
|
|
4924
|
-
"events": [
|
|
4925
|
-
{
|
|
4926
|
-
"name": "expand",
|
|
4927
|
-
"description": "Emitted when an item expands. detail: { expanded: boolean; item: HTMLElement }",
|
|
4928
|
-
"type": {
|
|
4929
|
-
"text": "CustomEvent"
|
|
4930
|
-
}
|
|
4931
|
-
},
|
|
4932
|
-
{
|
|
4933
|
-
"name": "change",
|
|
4934
|
-
"description": "Emitted when selection changes (single mode). detail: { expandedItem: HTMLElement }",
|
|
4935
|
-
"type": {
|
|
4936
|
-
"text": "CustomEvent"
|
|
4937
|
-
}
|
|
4938
|
-
}
|
|
4939
|
-
],
|
|
4940
|
-
"slots": [
|
|
4941
|
-
{
|
|
4942
|
-
"name": "",
|
|
4943
|
-
"description": "`ore-accordion-item` elements"
|
|
4944
|
-
}
|
|
4945
|
-
],
|
|
4946
|
-
"cssProperties": [
|
|
4947
|
-
{
|
|
4948
|
-
"name": "--accordion-bg",
|
|
4949
|
-
"description": "Container background color (solid/flat/frost variants)"
|
|
4950
|
-
},
|
|
4951
|
-
{
|
|
4952
|
-
"name": "--accordion-border-color",
|
|
4953
|
-
"description": "Container border color (solid/flat variants)"
|
|
4954
|
-
},
|
|
4955
|
-
{
|
|
4956
|
-
"name": "--accordion-divider-color",
|
|
4957
|
-
"description": "Divider color between items (text variant)"
|
|
4958
|
-
},
|
|
4959
|
-
{
|
|
4960
|
-
"name": "--accordion-shadow",
|
|
4961
|
-
"description": "Container box shadow"
|
|
4962
|
-
}
|
|
4963
|
-
],
|
|
4964
|
-
"demos": [
|
|
4965
|
-
{
|
|
4966
|
-
"url": "",
|
|
4967
|
-
"description": "```html\n<ore-accordion selection-mode=\"single\">\n <ore-accordion-item>\n <span slot=\"title\">What is Refine?</span>\n <p>Refine is a headless web component library.</p>\n </ore-accordion-item>\n <ore-accordion-item>\n <span slot=\"title\">How do I install it?</span>\n <p>Run <code>npm install @vielzeug/refine</code>.</p>\n </ore-accordion-item>\n</ore-accordion>\n<ore-accordion variant=\"bordered\" selection-mode=\"multiple\">\n <ore-accordion-item expanded><span slot=\"title\">Open by default</span><p>Content</p></ore-accordion-item>\n</ore-accordion>\n```"
|
|
4968
|
-
}
|
|
4969
|
-
]
|
|
4970
|
-
},
|
|
4971
|
-
{
|
|
4972
|
-
"kind": "variable",
|
|
4973
|
-
"name": "TAB_ITEM_TAG",
|
|
4974
|
-
"type": {
|
|
4975
|
-
"text": "'ore-tab-item'"
|
|
4976
|
-
},
|
|
4977
|
-
"default": "'ore-tab-item'",
|
|
4978
|
-
"description": "Individual tab trigger. Must be placed in the `tabs` slot of `ore-tabs`."
|
|
4979
|
-
},
|
|
4980
|
-
{
|
|
4981
|
-
"kind": "class",
|
|
4982
|
-
"name": "OreTabItemElement",
|
|
4983
|
-
"tagName": "ore-tab-item",
|
|
4984
|
-
"customElement": true,
|
|
4985
|
-
"description": "Individual tab trigger. Must be placed in the `tabs` slot of `ore-tabs`.",
|
|
4986
|
-
"summary": "",
|
|
4987
|
-
"attributes": [
|
|
4988
|
-
{
|
|
4989
|
-
"name": "value",
|
|
4990
|
-
"type": {
|
|
4991
|
-
"text": "string"
|
|
4992
|
-
},
|
|
4993
|
-
"description": "Unique identifier, matches the corresponding ore-tab-panel value"
|
|
4994
|
-
},
|
|
4995
|
-
{
|
|
4996
|
-
"name": "active",
|
|
4997
|
-
"type": {
|
|
4998
|
-
"text": "boolean"
|
|
4999
|
-
},
|
|
5000
|
-
"description": "Set by the parent ore-tabs when this tab is selected"
|
|
5001
|
-
},
|
|
5002
|
-
{
|
|
5003
|
-
"name": "disabled",
|
|
5004
|
-
"type": {
|
|
5005
|
-
"text": "boolean"
|
|
5006
|
-
},
|
|
5007
|
-
"description": "Prevents selection"
|
|
5008
|
-
},
|
|
4956
|
+
},
|
|
4957
|
+
"default": "'ore-accordion'",
|
|
4958
|
+
"description": "A container for accordion items with single or multiple selection modes."
|
|
4959
|
+
},
|
|
4960
|
+
{
|
|
4961
|
+
"kind": "class",
|
|
4962
|
+
"name": "OreAccordionElement",
|
|
4963
|
+
"tagName": "ore-accordion",
|
|
4964
|
+
"customElement": true,
|
|
4965
|
+
"description": "A container for accordion items with single or multiple selection modes.",
|
|
4966
|
+
"summary": "",
|
|
4967
|
+
"attributes": [
|
|
5009
4968
|
{
|
|
5010
|
-
"name": "
|
|
4969
|
+
"name": "selection-mode",
|
|
5011
4970
|
"type": {
|
|
5012
|
-
"text": "'
|
|
4971
|
+
"text": "'single' | 'multiple'"
|
|
5013
4972
|
},
|
|
5014
|
-
"description": "
|
|
4973
|
+
"description": "Selection mode: 'single' | 'multiple'"
|
|
5015
4974
|
},
|
|
5016
4975
|
{
|
|
5017
4976
|
"name": "size",
|
|
5018
4977
|
"type": {
|
|
5019
4978
|
"text": "'sm' | 'md' | 'lg'"
|
|
5020
4979
|
},
|
|
5021
|
-
"description": "'sm' | 'md' | 'lg'"
|
|
4980
|
+
"description": "Size for all items: 'sm' | 'md' | 'lg' (propagated to children)"
|
|
5022
4981
|
},
|
|
5023
4982
|
{
|
|
5024
4983
|
"name": "variant",
|
|
5025
4984
|
"type": {
|
|
5026
|
-
"text": "'solid' | 'flat' | 'bordered' | '
|
|
5027
|
-
},
|
|
5028
|
-
"description": "Inherited from ore-tabs: 'solid' | 'flat' | 'bordered' | 'ghost' | 'frost'"
|
|
5029
|
-
},
|
|
5030
|
-
{
|
|
5031
|
-
"name": "color",
|
|
5032
|
-
"type": {
|
|
5033
|
-
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
4985
|
+
"text": "'solid' | 'flat' | 'bordered' | 'text' | 'frost'"
|
|
5034
4986
|
},
|
|
5035
|
-
"description": "
|
|
4987
|
+
"description": "Visual variant: 'solid' | 'flat' | 'bordered' | 'text' | 'frost' (propagated to children)"
|
|
5036
4988
|
}
|
|
5037
4989
|
],
|
|
5038
|
-
"
|
|
5039
|
-
{
|
|
5040
|
-
"name": "prefix",
|
|
5041
|
-
"description": "Icon or content before the label"
|
|
5042
|
-
},
|
|
4990
|
+
"events": [
|
|
5043
4991
|
{
|
|
5044
|
-
"name": "",
|
|
5045
|
-
"description": "
|
|
4992
|
+
"name": "expand",
|
|
4993
|
+
"description": "Emitted when an item expands. detail: { expanded: boolean; item: HTMLElement }",
|
|
4994
|
+
"type": {
|
|
4995
|
+
"text": "CustomEvent"
|
|
4996
|
+
}
|
|
5046
4997
|
},
|
|
5047
4998
|
{
|
|
5048
|
-
"name": "
|
|
5049
|
-
"description": "
|
|
4999
|
+
"name": "change",
|
|
5000
|
+
"description": "Emitted when selection changes (single mode). detail: { expandedItem: HTMLElement }",
|
|
5001
|
+
"type": {
|
|
5002
|
+
"text": "CustomEvent"
|
|
5003
|
+
}
|
|
5050
5004
|
}
|
|
5051
5005
|
],
|
|
5052
|
-
"
|
|
5006
|
+
"slots": [
|
|
5053
5007
|
{
|
|
5054
|
-
"name": "
|
|
5055
|
-
"description": "
|
|
5008
|
+
"name": "",
|
|
5009
|
+
"description": "`ore-accordion-item` elements"
|
|
5056
5010
|
}
|
|
5057
5011
|
],
|
|
5058
5012
|
"cssProperties": [
|
|
5059
5013
|
{
|
|
5060
|
-
"name": "--
|
|
5061
|
-
"description": "
|
|
5062
|
-
},
|
|
5063
|
-
{
|
|
5064
|
-
"name": "--tab-item-transition",
|
|
5065
|
-
"description": "Transition duration/easing"
|
|
5066
|
-
},
|
|
5067
|
-
{
|
|
5068
|
-
"name": "--tab-item-padding",
|
|
5069
|
-
"description": "Button padding"
|
|
5070
|
-
},
|
|
5071
|
-
{
|
|
5072
|
-
"name": "--tab-item-font-size",
|
|
5073
|
-
"description": "Button font size"
|
|
5074
|
-
},
|
|
5075
|
-
{
|
|
5076
|
-
"name": "--tab-item-color",
|
|
5077
|
-
"description": "Default text color"
|
|
5078
|
-
},
|
|
5079
|
-
{
|
|
5080
|
-
"name": "--tab-item-hover-bg",
|
|
5081
|
-
"description": "Background on hover"
|
|
5014
|
+
"name": "--accordion-bg",
|
|
5015
|
+
"description": "Container background color (solid/flat/frost variants)"
|
|
5082
5016
|
},
|
|
5083
5017
|
{
|
|
5084
|
-
"name": "--
|
|
5085
|
-
"description": "
|
|
5018
|
+
"name": "--accordion-border-color",
|
|
5019
|
+
"description": "Container border color (solid/flat variants)"
|
|
5086
5020
|
},
|
|
5087
5021
|
{
|
|
5088
|
-
"name": "--
|
|
5089
|
-
"description": "
|
|
5022
|
+
"name": "--accordion-divider-color",
|
|
5023
|
+
"description": "Divider color between items (text variant)"
|
|
5090
5024
|
},
|
|
5091
5025
|
{
|
|
5092
|
-
"name": "--
|
|
5093
|
-
"description": "
|
|
5026
|
+
"name": "--accordion-shadow",
|
|
5027
|
+
"description": "Container box shadow"
|
|
5094
5028
|
}
|
|
5095
5029
|
],
|
|
5096
5030
|
"demos": [
|
|
5097
5031
|
{
|
|
5098
5032
|
"url": "",
|
|
5099
|
-
"description": "```html\n<ore-
|
|
5033
|
+
"description": "```html\n<ore-accordion selection-mode=\"single\">\n <ore-accordion-item>\n <span slot=\"title\">What is Refine?</span>\n <p>Refine is a headless web component library.</p>\n </ore-accordion-item>\n <ore-accordion-item>\n <span slot=\"title\">How do I install it?</span>\n <p>Run <code>npm install @vielzeug/refine</code>.</p>\n </ore-accordion-item>\n</ore-accordion>\n<ore-accordion variant=\"bordered\" selection-mode=\"multiple\">\n <ore-accordion-item expanded><span slot=\"title\">Open by default</span><p>Content</p></ore-accordion-item>\n</ore-accordion>\n```"
|
|
5100
5034
|
}
|
|
5101
5035
|
]
|
|
5102
5036
|
},
|
|
@@ -5287,6 +5221,138 @@
|
|
|
5287
5221
|
}
|
|
5288
5222
|
]
|
|
5289
5223
|
},
|
|
5224
|
+
{
|
|
5225
|
+
"kind": "variable",
|
|
5226
|
+
"name": "TAB_ITEM_TAG",
|
|
5227
|
+
"type": {
|
|
5228
|
+
"text": "'ore-tab-item'"
|
|
5229
|
+
},
|
|
5230
|
+
"default": "'ore-tab-item'",
|
|
5231
|
+
"description": "Individual tab trigger. Must be placed in the `tabs` slot of `ore-tabs`."
|
|
5232
|
+
},
|
|
5233
|
+
{
|
|
5234
|
+
"kind": "class",
|
|
5235
|
+
"name": "OreTabItemElement",
|
|
5236
|
+
"tagName": "ore-tab-item",
|
|
5237
|
+
"customElement": true,
|
|
5238
|
+
"description": "Individual tab trigger. Must be placed in the `tabs` slot of `ore-tabs`.",
|
|
5239
|
+
"summary": "",
|
|
5240
|
+
"attributes": [
|
|
5241
|
+
{
|
|
5242
|
+
"name": "value",
|
|
5243
|
+
"type": {
|
|
5244
|
+
"text": "string"
|
|
5245
|
+
},
|
|
5246
|
+
"description": "Unique identifier, matches the corresponding ore-tab-panel value"
|
|
5247
|
+
},
|
|
5248
|
+
{
|
|
5249
|
+
"name": "active",
|
|
5250
|
+
"type": {
|
|
5251
|
+
"text": "boolean"
|
|
5252
|
+
},
|
|
5253
|
+
"description": "Set by the parent ore-tabs when this tab is selected"
|
|
5254
|
+
},
|
|
5255
|
+
{
|
|
5256
|
+
"name": "disabled",
|
|
5257
|
+
"type": {
|
|
5258
|
+
"text": "boolean"
|
|
5259
|
+
},
|
|
5260
|
+
"description": "Prevents selection"
|
|
5261
|
+
},
|
|
5262
|
+
{
|
|
5263
|
+
"name": "density",
|
|
5264
|
+
"type": {
|
|
5265
|
+
"text": "'default' | 'compact'"
|
|
5266
|
+
},
|
|
5267
|
+
"description": "Inherited spatial density: 'default' | 'compact'"
|
|
5268
|
+
},
|
|
5269
|
+
{
|
|
5270
|
+
"name": "size",
|
|
5271
|
+
"type": {
|
|
5272
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
5273
|
+
},
|
|
5274
|
+
"description": "'sm' | 'md' | 'lg'"
|
|
5275
|
+
},
|
|
5276
|
+
{
|
|
5277
|
+
"name": "variant",
|
|
5278
|
+
"type": {
|
|
5279
|
+
"text": "'solid' | 'flat' | 'bordered' | 'ghost' | 'frost'"
|
|
5280
|
+
},
|
|
5281
|
+
"description": "Inherited from ore-tabs: 'solid' | 'flat' | 'bordered' | 'ghost' | 'frost'"
|
|
5282
|
+
},
|
|
5283
|
+
{
|
|
5284
|
+
"name": "color",
|
|
5285
|
+
"type": {
|
|
5286
|
+
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
5287
|
+
},
|
|
5288
|
+
"description": "Inherited from ore-tabs: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
5289
|
+
}
|
|
5290
|
+
],
|
|
5291
|
+
"slots": [
|
|
5292
|
+
{
|
|
5293
|
+
"name": "prefix",
|
|
5294
|
+
"description": "Icon or content before the label"
|
|
5295
|
+
},
|
|
5296
|
+
{
|
|
5297
|
+
"name": "",
|
|
5298
|
+
"description": "Tab label"
|
|
5299
|
+
},
|
|
5300
|
+
{
|
|
5301
|
+
"name": "suffix",
|
|
5302
|
+
"description": "Badge or count after the label"
|
|
5303
|
+
}
|
|
5304
|
+
],
|
|
5305
|
+
"cssParts": [
|
|
5306
|
+
{
|
|
5307
|
+
"name": "tab",
|
|
5308
|
+
"description": "Tab trigger element."
|
|
5309
|
+
}
|
|
5310
|
+
],
|
|
5311
|
+
"cssProperties": [
|
|
5312
|
+
{
|
|
5313
|
+
"name": "--tab-item-radius",
|
|
5314
|
+
"description": "Button border radius"
|
|
5315
|
+
},
|
|
5316
|
+
{
|
|
5317
|
+
"name": "--tab-item-transition",
|
|
5318
|
+
"description": "Transition duration/easing"
|
|
5319
|
+
},
|
|
5320
|
+
{
|
|
5321
|
+
"name": "--tab-item-padding",
|
|
5322
|
+
"description": "Button padding"
|
|
5323
|
+
},
|
|
5324
|
+
{
|
|
5325
|
+
"name": "--tab-item-font-size",
|
|
5326
|
+
"description": "Button font size"
|
|
5327
|
+
},
|
|
5328
|
+
{
|
|
5329
|
+
"name": "--tab-item-color",
|
|
5330
|
+
"description": "Default text color"
|
|
5331
|
+
},
|
|
5332
|
+
{
|
|
5333
|
+
"name": "--tab-item-hover-bg",
|
|
5334
|
+
"description": "Background on hover"
|
|
5335
|
+
},
|
|
5336
|
+
{
|
|
5337
|
+
"name": "--tab-item-active-bg",
|
|
5338
|
+
"description": "Background when active/selected"
|
|
5339
|
+
},
|
|
5340
|
+
{
|
|
5341
|
+
"name": "--tab-item-active-color",
|
|
5342
|
+
"description": "Text color when active/selected"
|
|
5343
|
+
},
|
|
5344
|
+
{
|
|
5345
|
+
"name": "--tab-item-active-shadow",
|
|
5346
|
+
"description": "Box shadow when active/selected"
|
|
5347
|
+
}
|
|
5348
|
+
],
|
|
5349
|
+
"demos": [
|
|
5350
|
+
{
|
|
5351
|
+
"url": "",
|
|
5352
|
+
"description": "```html\n<ore-tab-item slot=\"tabs\" value=\"overview\">Overview</ore-tab-item>\n<ore-tab-item slot=\"tabs\" value=\"settings\" disabled>Settings</ore-tab-item>\n```"
|
|
5353
|
+
}
|
|
5354
|
+
]
|
|
5355
|
+
},
|
|
5290
5356
|
{
|
|
5291
5357
|
"kind": "variable",
|
|
5292
5358
|
"name": "TAB_PANEL_TAG",
|
|
@@ -6050,6 +6116,10 @@
|
|
|
6050
6116
|
{
|
|
6051
6117
|
"name": "chip",
|
|
6052
6118
|
"description": "Shadow part for the `chip` element."
|
|
6119
|
+
},
|
|
6120
|
+
{
|
|
6121
|
+
"name": "label",
|
|
6122
|
+
"description": "Text label, available for wrapping overrides."
|
|
6053
6123
|
}
|
|
6054
6124
|
],
|
|
6055
6125
|
"cssProperties": [
|
|
@@ -9746,19 +9816,20 @@
|
|
|
9746
9816
|
}
|
|
9747
9817
|
},
|
|
9748
9818
|
{
|
|
9749
|
-
"name": "key",
|
|
9819
|
+
"name": "{ key, value }",
|
|
9750
9820
|
"type": {
|
|
9751
|
-
"text": "
|
|
9821
|
+
"text": "QueryToken"
|
|
9752
9822
|
}
|
|
9753
9823
|
},
|
|
9754
9824
|
{
|
|
9755
|
-
"name": "
|
|
9825
|
+
"name": "selection",
|
|
9826
|
+
"default": "'single'",
|
|
9756
9827
|
"type": {
|
|
9757
|
-
"text": "
|
|
9828
|
+
"text": "'single' | 'multiple'"
|
|
9758
9829
|
}
|
|
9759
9830
|
}
|
|
9760
9831
|
],
|
|
9761
|
-
"description": "
|
|
9832
|
+
"description": "Adds a distinct value, or replaces a single-selection key in its existing slot."
|
|
9762
9833
|
},
|
|
9763
9834
|
{
|
|
9764
9835
|
"kind": "function",
|
|
@@ -9768,6 +9839,30 @@
|
|
|
9768
9839
|
"text": "QueryState"
|
|
9769
9840
|
}
|
|
9770
9841
|
},
|
|
9842
|
+
"parameters": [
|
|
9843
|
+
{
|
|
9844
|
+
"name": "state",
|
|
9845
|
+
"type": {
|
|
9846
|
+
"text": "QueryState"
|
|
9847
|
+
}
|
|
9848
|
+
},
|
|
9849
|
+
{
|
|
9850
|
+
"name": "token",
|
|
9851
|
+
"type": {
|
|
9852
|
+
"text": "QueryToken"
|
|
9853
|
+
}
|
|
9854
|
+
}
|
|
9855
|
+
],
|
|
9856
|
+
"description": "Removes only the exact key/value pair, preserving other values of the same key."
|
|
9857
|
+
},
|
|
9858
|
+
{
|
|
9859
|
+
"kind": "function",
|
|
9860
|
+
"name": "clearTokens",
|
|
9861
|
+
"return": {
|
|
9862
|
+
"type": {
|
|
9863
|
+
"text": "QueryState"
|
|
9864
|
+
}
|
|
9865
|
+
},
|
|
9771
9866
|
"parameters": [
|
|
9772
9867
|
{
|
|
9773
9868
|
"name": "state",
|
|
@@ -9781,14 +9876,15 @@
|
|
|
9781
9876
|
"text": "string"
|
|
9782
9877
|
}
|
|
9783
9878
|
}
|
|
9784
|
-
]
|
|
9879
|
+
],
|
|
9880
|
+
"description": "Clears all restrictions for one key."
|
|
9785
9881
|
},
|
|
9786
9882
|
{
|
|
9787
9883
|
"kind": "function",
|
|
9788
|
-
"name": "
|
|
9884
|
+
"name": "tokenValues",
|
|
9789
9885
|
"return": {
|
|
9790
9886
|
"type": {
|
|
9791
|
-
"text": "string
|
|
9887
|
+
"text": "string[]"
|
|
9792
9888
|
}
|
|
9793
9889
|
},
|
|
9794
9890
|
"parameters": [
|
|
@@ -9878,7 +9974,7 @@
|
|
|
9878
9974
|
"text": "'ore-query-bar'"
|
|
9879
9975
|
},
|
|
9880
9976
|
"default": "'ore-query-bar'",
|
|
9881
|
-
"description": "A search field that accepts free text and `key:value` tokens together, in the\ngrammar GitHub's pull-request search made familiar.
|
|
9977
|
+
"description": "A search field that accepts free text and `key:value` tokens together, in the\ngrammar GitHub's pull-request search made familiar. Applied filters stay inside\nthe field. A drawer edits filters without typing; curated quick filters toggle\nimmediately. Each vocabulary key chooses single or multiple selection; repeated\nkeys accumulate distinct values only in multiple mode. Typed suggestions and\nthe drawer share one vocabulary and state.\n\nThe bar is state-driven: `vocabulary` defines the token keys and their accepted\nvalues, `state` carries `{ text, tokens }`, and every edit emits `input` +\n`change` with the new state readable from the element's `state` property. Omit\n`state` for uncontrolled use. Equivalent external states preserve live drafts;\nactual external changes replace both text and tokens and dismiss pending edits.\n\nThe dropdown opens while the field holds focus (and reopens on typing after\nEscape) and overlays the page from the top layer. Picking a key suggestion\nstarts composing `key:`; picking a value commits its pill. Typing a complete\n`key:value` commits immediately. Backspace on an empty field removes the last\npill. A draft whose value matches nothing shows a \"searching as text\" row\ninstead of closing; on blur, a bare `key:` fragment reverts and a dead draft\ndegrades into the searched text, so the field never carries silent residue."
|
|
9882
9978
|
},
|
|
9883
9979
|
{
|
|
9884
9980
|
"kind": "variable",
|
|
@@ -10103,6 +10199,10 @@
|
|
|
10103
10199
|
{
|
|
10104
10200
|
"name": "items",
|
|
10105
10201
|
"description": "Items container."
|
|
10202
|
+
},
|
|
10203
|
+
{
|
|
10204
|
+
"name": "legend",
|
|
10205
|
+
"description": "Group label."
|
|
10106
10206
|
}
|
|
10107
10207
|
],
|
|
10108
10208
|
"cssProperties": [
|
|
@@ -14200,6 +14300,75 @@
|
|
|
14200
14300
|
],
|
|
14201
14301
|
"description": "Shared logic for floating-panel triggers (tooltip, popover).\n\nHandles:\n- Slot-based trigger element detection and rebinding\n- Event binding per trigger type (hover / focus / click)\n- Floating-element positioning via `@vielzeug/orbit`\n- Controlled mode via `openProp` watcher\n- Keyboard escape dismissal\n\nARIA binding is intentionally delegated to the caller via `bindTriggerAria`\nso that tooltip (`describedby`) and popover (`expanded`/`controls`/…) can diverge."
|
|
14202
14302
|
},
|
|
14303
|
+
{
|
|
14304
|
+
"kind": "variable",
|
|
14305
|
+
"name": "SPOTLIGHT_TAG",
|
|
14306
|
+
"type": {
|
|
14307
|
+
"text": "'ore-spotlight'"
|
|
14308
|
+
},
|
|
14309
|
+
"default": "'ore-spotlight'",
|
|
14310
|
+
"description": "A dim layer with a hole punched in it, so one region of the page stays at full\nbrightness while everything else recedes.\n\nThe dim is a single oversized box-shadow on the cutout element, so the hole\nanimates with the element's own geometry: when a tour moves to the next step,\nthe highlight slides to the new target instead of blinking out and back.\n\nThe layer never captures pointer events: a beacon shows the way, it does not\nblock the road. The element inside the cutout stays clickable, and whatever\ndialog or popover owns the moment handles interaction and announcement: this\nlayer is decorative by definition and carries `aria-hidden`."
|
|
14311
|
+
},
|
|
14312
|
+
{
|
|
14313
|
+
"kind": "class",
|
|
14314
|
+
"name": "OreSpotlightElement",
|
|
14315
|
+
"tagName": "ore-spotlight",
|
|
14316
|
+
"customElement": true,
|
|
14317
|
+
"description": "A dim layer with a hole punched in it, so one region of the page stays at full\nbrightness while everything else recedes.\nThe dim is a single oversized box-shadow on the cutout element, so the hole\nanimates with the element's own geometry: when a tour moves to the next step,\nthe highlight slides to the new target instead of blinking out and back.\nThe layer never captures pointer events: a beacon shows the way, it does not\nblock the road. The element inside the cutout stays clickable, and whatever\ndialog or popover owns the moment handles interaction and announcement: this\nlayer is decorative by definition and carries `aria-hidden`.",
|
|
14318
|
+
"summary": "",
|
|
14319
|
+
"attributes": [
|
|
14320
|
+
{
|
|
14321
|
+
"name": "radius",
|
|
14322
|
+
"type": {
|
|
14323
|
+
"text": "number"
|
|
14324
|
+
},
|
|
14325
|
+
"description": "Cutout corner radius in px (default: 8)",
|
|
14326
|
+
"default": "8"
|
|
14327
|
+
},
|
|
14328
|
+
{
|
|
14329
|
+
"name": "visible",
|
|
14330
|
+
"type": {
|
|
14331
|
+
"text": "boolean"
|
|
14332
|
+
},
|
|
14333
|
+
"description": "Show the dim layer (default: true)",
|
|
14334
|
+
"default": "true"
|
|
14335
|
+
}
|
|
14336
|
+
],
|
|
14337
|
+
"cssParts": [
|
|
14338
|
+
{
|
|
14339
|
+
"name": "overlay",
|
|
14340
|
+
"description": "The fixed dim layer."
|
|
14341
|
+
},
|
|
14342
|
+
{
|
|
14343
|
+
"name": "cutout",
|
|
14344
|
+
"description": "The highlighted rectangle."
|
|
14345
|
+
}
|
|
14346
|
+
],
|
|
14347
|
+
"cssProperties": [
|
|
14348
|
+
{
|
|
14349
|
+
"name": "--spotlight-dim",
|
|
14350
|
+
"description": "Dim color (default: var(--color-scrim))"
|
|
14351
|
+
},
|
|
14352
|
+
{
|
|
14353
|
+
"name": "--spotlight-ring",
|
|
14354
|
+
"description": "Ring drawn around the cutout (default: none)"
|
|
14355
|
+
},
|
|
14356
|
+
{
|
|
14357
|
+
"name": "--spotlight-radius",
|
|
14358
|
+
"description": "Cutout corner radius"
|
|
14359
|
+
},
|
|
14360
|
+
{
|
|
14361
|
+
"name": "--spotlight-transition",
|
|
14362
|
+
"description": "Geometry transition (default: 240ms ease)"
|
|
14363
|
+
}
|
|
14364
|
+
],
|
|
14365
|
+
"demos": [
|
|
14366
|
+
{
|
|
14367
|
+
"url": "",
|
|
14368
|
+
"description": "```html\n<ore-spotlight></ore-spotlight>\n<script type=\"module\">\n import '@vielzeug/refine/spotlight';\n const spotlight = document.querySelector('ore-spotlight');\n spotlight.rect = document.querySelector('#cta').getBoundingClientRect();\n</script>\n```"
|
|
14369
|
+
}
|
|
14370
|
+
]
|
|
14371
|
+
},
|
|
14203
14372
|
{
|
|
14204
14373
|
"kind": "variable",
|
|
14205
14374
|
"name": "TOOLTIP_TAG",
|
|
@@ -14320,5 +14489,274 @@
|
|
|
14320
14489
|
"description": "```html\n<!-- Simple text tooltip -->\n<ore-tooltip content=\"Copy to clipboard\">\n <button>Copy</button>\n</ore-tooltip>\n<!-- Placement and delay -->\n<ore-tooltip content=\"Save your work\" placement=\"right\" delay=\"300\">\n <ore-icon name=\"save\"></ore-icon>\n</ore-tooltip>\n<!-- Hover + focus trigger -->\n<ore-tooltip content=\"Required field\" trigger=\"hover,focus\" placement=\"top\">\n <ore-input label=\"Email\" type=\"email\"></ore-input>\n</ore-tooltip>\n<!-- Rich content slot -->\n<ore-tooltip>\n <ore-button>Help</ore-button>\n <div slot=\"content\">\n <strong>Keyboard shortcuts</strong>\n <p>Press Ctrl+S to save.</p>\n </div>\n</ore-tooltip>\n```"
|
|
14321
14490
|
}
|
|
14322
14491
|
]
|
|
14492
|
+
},
|
|
14493
|
+
{
|
|
14494
|
+
"kind": "variable",
|
|
14495
|
+
"name": "TOUR_PRESENTATIONS",
|
|
14496
|
+
"type": {
|
|
14497
|
+
"text": "['auto', 'bottom-sheet', 'modal', 'popover']"
|
|
14498
|
+
},
|
|
14499
|
+
"default": "['auto', 'bottom-sheet', 'modal', 'popover']"
|
|
14500
|
+
},
|
|
14501
|
+
{
|
|
14502
|
+
"kind": "variable",
|
|
14503
|
+
"name": "TOUR_TAG",
|
|
14504
|
+
"type": {
|
|
14505
|
+
"text": "'ore-tour'"
|
|
14506
|
+
},
|
|
14507
|
+
"default": "'ore-tour'",
|
|
14508
|
+
"description": "The step card of a product tour: a compact dialog with title, body, progress,\nand Skip / Back / Next actions (Skip leads the row, away from Next).\n\nThe card is deliberately dumb: it owns no step logic and no persistence. It\nrenders the step the app hands it and emits `next` / `back` / `skip` /\n`finish` / `dismiss`; a `@vielzeug/beacon` tour handle (or any state the app\nalready keeps) decides what happens. `bind(handle)` wires both directions in\none call, or the app drives the `open`, `title`, `description`,\n`step-index`, and `anchor` props and listens to the events itself.\n\nPresentations: `popover` anchors the card to `anchor` with an Orbit\npositioner in the Popover API top layer; `modal` and `bottom-sheet` render a\nnative `<dialog>` (centered panel or bottom-anchored sheet) with the\nstandard focus trap and background lock; `auto` picks bottom-sheet on narrow\nviewports and popover otherwise.\n\nKeyboard: Escape requests dismissal (native in dialog presentations, keydown\nin popover mode); ArrowLeft / ArrowRight emit `back` / `next` while open."
|
|
14509
|
+
},
|
|
14510
|
+
{
|
|
14511
|
+
"kind": "class",
|
|
14512
|
+
"name": "OreTourElement",
|
|
14513
|
+
"tagName": "ore-tour",
|
|
14514
|
+
"customElement": true,
|
|
14515
|
+
"description": "The step card of a product tour: a compact dialog with title, body, progress,\nand Skip / Back / Next actions (Skip leads the row, away from Next).\nThe card is deliberately dumb: it owns no step logic and no persistence. It\nrenders the step the app hands it and emits `next` / `back` / `skip` /\n`finish` / `dismiss`; a `@vielzeug/beacon` tour handle (or any state the app\nalready keeps) decides what happens. `bind(handle)` wires both directions in\none call, or the app drives the `open`, `title`, `description`,\n`step-index`, and `anchor` props and listens to the events itself.\nPresentations: `popover` anchors the card to `anchor` with an Orbit\npositioner in the Popover API top layer; `modal` and `bottom-sheet` render a\nnative `<dialog>` (centered panel or bottom-anchored sheet) with the\nstandard focus trap and background lock; `auto` picks bottom-sheet on narrow\nviewports and popover otherwise.\nKeyboard: Escape requests dismissal (native in dialog presentations, keydown\nin popover mode); ArrowLeft / ArrowRight emit `back` / `next` while open.\n card and route the card's actions back into it. Returns an unsubscribe.",
|
|
14516
|
+
"summary": "",
|
|
14517
|
+
"attributes": [
|
|
14518
|
+
{
|
|
14519
|
+
"name": "anchor",
|
|
14520
|
+
"type": {
|
|
14521
|
+
"text": "object"
|
|
14522
|
+
},
|
|
14523
|
+
"description": "Anchor element, virtual reference, or viewport-space rect (popover mode)"
|
|
14524
|
+
},
|
|
14525
|
+
{
|
|
14526
|
+
"name": "description",
|
|
14527
|
+
"type": {
|
|
14528
|
+
"text": "string"
|
|
14529
|
+
},
|
|
14530
|
+
"description": "Body text (replaced by the default slot)"
|
|
14531
|
+
},
|
|
14532
|
+
{
|
|
14533
|
+
"name": "dismissible",
|
|
14534
|
+
"type": {
|
|
14535
|
+
"text": "boolean"
|
|
14536
|
+
},
|
|
14537
|
+
"description": "Show a close (×) button (default true)"
|
|
14538
|
+
},
|
|
14539
|
+
{
|
|
14540
|
+
"name": "initial-focus",
|
|
14541
|
+
"type": {
|
|
14542
|
+
"text": "string"
|
|
14543
|
+
},
|
|
14544
|
+
"description": "Selector for the element to focus on open (dialog presentations)"
|
|
14545
|
+
},
|
|
14546
|
+
{
|
|
14547
|
+
"name": "offset",
|
|
14548
|
+
"type": {
|
|
14549
|
+
"text": "number"
|
|
14550
|
+
},
|
|
14551
|
+
"description": "Anchor gap in px (popover mode, default 8)"
|
|
14552
|
+
},
|
|
14553
|
+
{
|
|
14554
|
+
"name": "open",
|
|
14555
|
+
"type": {
|
|
14556
|
+
"text": "boolean"
|
|
14557
|
+
},
|
|
14558
|
+
"description": "Controlled open state"
|
|
14559
|
+
},
|
|
14560
|
+
{
|
|
14561
|
+
"name": "persistent",
|
|
14562
|
+
"type": {
|
|
14563
|
+
"text": "boolean"
|
|
14564
|
+
},
|
|
14565
|
+
"description": "Escape/backdrop do not request dismissal"
|
|
14566
|
+
},
|
|
14567
|
+
{
|
|
14568
|
+
"name": "placement",
|
|
14569
|
+
"type": {
|
|
14570
|
+
"text": "string"
|
|
14571
|
+
},
|
|
14572
|
+
"description": "Popover placement (default 'bottom')"
|
|
14573
|
+
},
|
|
14574
|
+
{
|
|
14575
|
+
"name": "presentation",
|
|
14576
|
+
"type": {
|
|
14577
|
+
"text": "'bottom-sheet' | 'modal' | 'popover'"
|
|
14578
|
+
},
|
|
14579
|
+
"description": "'auto' (default) | 'bottom-sheet' | 'modal' | 'popover'"
|
|
14580
|
+
},
|
|
14581
|
+
{
|
|
14582
|
+
"name": "return-focus",
|
|
14583
|
+
"type": {
|
|
14584
|
+
"text": "boolean"
|
|
14585
|
+
},
|
|
14586
|
+
"description": "Restore focus after the card closes (default true)"
|
|
14587
|
+
},
|
|
14588
|
+
{
|
|
14589
|
+
"name": "spotlight",
|
|
14590
|
+
"type": {
|
|
14591
|
+
"text": "boolean"
|
|
14592
|
+
},
|
|
14593
|
+
"description": "Dim the page around the anchor with an ore-spotlight cutout"
|
|
14594
|
+
},
|
|
14595
|
+
{
|
|
14596
|
+
"name": "step-index",
|
|
14597
|
+
"type": {
|
|
14598
|
+
"text": "number"
|
|
14599
|
+
},
|
|
14600
|
+
"description": "Zero-based current step (default 0)"
|
|
14601
|
+
},
|
|
14602
|
+
{
|
|
14603
|
+
"name": "title",
|
|
14604
|
+
"type": {
|
|
14605
|
+
"text": "string"
|
|
14606
|
+
},
|
|
14607
|
+
"description": "Card title"
|
|
14608
|
+
},
|
|
14609
|
+
{
|
|
14610
|
+
"name": "total-steps",
|
|
14611
|
+
"type": {
|
|
14612
|
+
"text": "number"
|
|
14613
|
+
},
|
|
14614
|
+
"description": "Total steps; >0 shows the progress bar and step counter"
|
|
14615
|
+
}
|
|
14616
|
+
],
|
|
14617
|
+
"events": [
|
|
14618
|
+
{
|
|
14619
|
+
"name": "back",
|
|
14620
|
+
"description": "Back was requested.",
|
|
14621
|
+
"type": {
|
|
14622
|
+
"text": "CustomEvent"
|
|
14623
|
+
}
|
|
14624
|
+
},
|
|
14625
|
+
{
|
|
14626
|
+
"name": "dismiss",
|
|
14627
|
+
"description": "Close was requested. detail: { reason }",
|
|
14628
|
+
"type": {
|
|
14629
|
+
"text": "CustomEvent"
|
|
14630
|
+
}
|
|
14631
|
+
},
|
|
14632
|
+
{
|
|
14633
|
+
"name": "finish",
|
|
14634
|
+
"description": "Advance was pressed on the final step.",
|
|
14635
|
+
"type": {
|
|
14636
|
+
"text": "CustomEvent"
|
|
14637
|
+
}
|
|
14638
|
+
},
|
|
14639
|
+
{
|
|
14640
|
+
"name": "next",
|
|
14641
|
+
"description": "Next was requested.",
|
|
14642
|
+
"type": {
|
|
14643
|
+
"text": "CustomEvent"
|
|
14644
|
+
}
|
|
14645
|
+
},
|
|
14646
|
+
{
|
|
14647
|
+
"name": "open-change",
|
|
14648
|
+
"description": "Open state changed. detail: { open, reason }",
|
|
14649
|
+
"type": {
|
|
14650
|
+
"text": "CustomEvent"
|
|
14651
|
+
}
|
|
14652
|
+
},
|
|
14653
|
+
{
|
|
14654
|
+
"name": "skip",
|
|
14655
|
+
"description": "Skip was requested.",
|
|
14656
|
+
"type": {
|
|
14657
|
+
"text": "CustomEvent"
|
|
14658
|
+
}
|
|
14659
|
+
}
|
|
14660
|
+
],
|
|
14661
|
+
"slots": [
|
|
14662
|
+
{
|
|
14663
|
+
"name": "media",
|
|
14664
|
+
"description": "Full-bleed media above the copy: an img, picture, video, or svg"
|
|
14665
|
+
},
|
|
14666
|
+
{
|
|
14667
|
+
"name": "",
|
|
14668
|
+
"description": "Body content (replaces `description`)"
|
|
14669
|
+
},
|
|
14670
|
+
{
|
|
14671
|
+
"name": "footer",
|
|
14672
|
+
"description": "Custom footer actions (replaces Skip/Back/Next)"
|
|
14673
|
+
}
|
|
14674
|
+
],
|
|
14675
|
+
"cssParts": [
|
|
14676
|
+
{
|
|
14677
|
+
"name": "dialog",
|
|
14678
|
+
"description": "Native dialog root (dialog presentations)."
|
|
14679
|
+
},
|
|
14680
|
+
{
|
|
14681
|
+
"name": "overlay",
|
|
14682
|
+
"description": "Dialog backdrop element."
|
|
14683
|
+
},
|
|
14684
|
+
{
|
|
14685
|
+
"name": "float",
|
|
14686
|
+
"description": "Popover-mode panel."
|
|
14687
|
+
},
|
|
14688
|
+
{
|
|
14689
|
+
"name": "panel",
|
|
14690
|
+
"description": "Dialog-mode panel."
|
|
14691
|
+
},
|
|
14692
|
+
{
|
|
14693
|
+
"name": "card",
|
|
14694
|
+
"description": "Card container inside either panel."
|
|
14695
|
+
},
|
|
14696
|
+
{
|
|
14697
|
+
"name": "media",
|
|
14698
|
+
"description": "Full-bleed media region above the copy (hidden while the slot is empty)."
|
|
14699
|
+
},
|
|
14700
|
+
{
|
|
14701
|
+
"name": "header",
|
|
14702
|
+
"description": "Header container."
|
|
14703
|
+
},
|
|
14704
|
+
{
|
|
14705
|
+
"name": "title",
|
|
14706
|
+
"description": "Title text element."
|
|
14707
|
+
},
|
|
14708
|
+
{
|
|
14709
|
+
"name": "step-count",
|
|
14710
|
+
"description": "Visible \"Step N of M\" label beside the progress bar."
|
|
14711
|
+
},
|
|
14712
|
+
{
|
|
14713
|
+
"name": "close",
|
|
14714
|
+
"description": "Close action control."
|
|
14715
|
+
},
|
|
14716
|
+
{
|
|
14717
|
+
"name": "body",
|
|
14718
|
+
"description": "Body content container."
|
|
14719
|
+
},
|
|
14720
|
+
{
|
|
14721
|
+
"name": "footer",
|
|
14722
|
+
"description": "Footer container."
|
|
14723
|
+
}
|
|
14724
|
+
],
|
|
14725
|
+
"cssProperties": [
|
|
14726
|
+
{
|
|
14727
|
+
"name": "--tour-bg",
|
|
14728
|
+
"description": "Card background color"
|
|
14729
|
+
},
|
|
14730
|
+
{
|
|
14731
|
+
"name": "--tour-border-color",
|
|
14732
|
+
"description": "Card border color"
|
|
14733
|
+
},
|
|
14734
|
+
{
|
|
14735
|
+
"name": "--tour-max-width",
|
|
14736
|
+
"description": "Card max width (default 22rem)"
|
|
14737
|
+
},
|
|
14738
|
+
{
|
|
14739
|
+
"name": "--tour-media-max-height",
|
|
14740
|
+
"description": "Media ceiling (default min(38dvh, 16rem); bottom-sheet min(26dvh, 12rem))"
|
|
14741
|
+
},
|
|
14742
|
+
{
|
|
14743
|
+
"name": "--tour-panel-blur",
|
|
14744
|
+
"description": "Backdrop blur behind the translucent card (default var(--blur-md))"
|
|
14745
|
+
},
|
|
14746
|
+
{
|
|
14747
|
+
"name": "--tour-radius",
|
|
14748
|
+
"description": "Card border radius"
|
|
14749
|
+
},
|
|
14750
|
+
{
|
|
14751
|
+
"name": "--tour-shadow",
|
|
14752
|
+
"description": "Card drop shadow"
|
|
14753
|
+
}
|
|
14754
|
+
],
|
|
14755
|
+
"demos": [
|
|
14756
|
+
{
|
|
14757
|
+
"url": "",
|
|
14758
|
+
"description": "```html\n<ore-tour open title=\"Welcome\" description=\"Start here.\" step-index=\"0\" total-steps=\"3\"></ore-tour>\n<script type=\"module\">\n import '@vielzeug/refine/tour';\n const card = document.querySelector('ore-tour');\n card.anchor = document.querySelector('#save-button');\n card.addEventListener('next', () => console.log('advance'));\n</script>\n```"
|
|
14759
|
+
}
|
|
14760
|
+
]
|
|
14323
14761
|
}
|
|
14324
14762
|
]
|