@helixui/library 0.3.0 → 0.3.2
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/custom-elements.json +1413 -943
- package/dist/components/hx-action-bar/hx-action-bar.d.ts +3 -1
- package/dist/components/hx-action-bar/hx-action-bar.d.ts.map +1 -1
- package/dist/components/hx-action-bar/index.js +1 -1
- package/dist/components/hx-badge/hx-badge.d.ts +8 -0
- package/dist/components/hx-badge/hx-badge.d.ts.map +1 -1
- package/dist/components/hx-badge/hx-badge.styles.d.ts.map +1 -1
- package/dist/components/hx-badge/index.d.ts +1 -0
- package/dist/components/hx-badge/index.d.ts.map +1 -1
- package/dist/components/hx-badge/index.js +1 -1
- package/dist/components/hx-breadcrumb/hx-breadcrumb-item.styles.d.ts.map +1 -1
- package/dist/components/hx-breadcrumb/hx-breadcrumb.d.ts +0 -25
- package/dist/components/hx-breadcrumb/hx-breadcrumb.d.ts.map +1 -1
- package/dist/components/hx-breadcrumb/index.js +1 -1
- package/dist/components/hx-button/hx-button.styles.d.ts.map +1 -1
- package/dist/components/hx-button/index.js +1 -1
- package/dist/components/hx-button-group/hx-button-group.d.ts +3 -1
- package/dist/components/hx-button-group/hx-button-group.d.ts.map +1 -1
- package/dist/components/hx-button-group/index.js +1 -1
- package/dist/components/hx-checkbox-group/hx-checkbox-group.d.ts +3 -1
- package/dist/components/hx-checkbox-group/hx-checkbox-group.d.ts.map +1 -1
- package/dist/components/hx-checkbox-group/index.js +1 -1
- package/dist/components/hx-container/hx-container.d.ts +12 -0
- package/dist/components/hx-container/hx-container.d.ts.map +1 -1
- package/dist/components/hx-container/hx-container.styles.d.ts.map +1 -1
- package/dist/components/hx-container/index.d.ts +1 -0
- package/dist/components/hx-container/index.d.ts.map +1 -1
- package/dist/components/hx-container/index.js +1 -1
- package/dist/components/hx-copy-button/hx-copy-button.d.ts +7 -0
- package/dist/components/hx-copy-button/hx-copy-button.d.ts.map +1 -1
- package/dist/components/hx-drawer/hx-drawer.d.ts +1 -1
- package/dist/components/hx-drawer/index.js +1 -1
- package/dist/components/hx-icon-button/hx-icon-button.d.ts +87 -0
- package/dist/components/hx-icon-button/hx-icon-button.d.ts.map +1 -0
- package/dist/components/hx-icon-button/hx-icon-button.styles.d.ts +2 -0
- package/dist/components/hx-icon-button/hx-icon-button.styles.d.ts.map +1 -0
- package/dist/components/hx-icon-button/index.d.ts +2 -0
- package/dist/components/hx-icon-button/index.d.ts.map +1 -0
- package/dist/components/hx-icon-button/index.js +5 -0
- package/dist/components/hx-icon-button/index.js.map +1 -0
- package/dist/components/hx-image/index.js +1 -1
- package/dist/components/hx-number-input/hx-number-input.d.ts +2 -2
- package/dist/components/hx-number-input/hx-number-input.d.ts.map +1 -1
- package/dist/components/hx-pagination/hx-pagination.d.ts +2 -0
- package/dist/components/hx-pagination/hx-pagination.d.ts.map +1 -1
- package/dist/components/hx-pagination/index.d.ts +1 -0
- package/dist/components/hx-pagination/index.d.ts.map +1 -1
- package/dist/components/hx-prose/index.js +1 -1
- package/dist/components/hx-radio-group/hx-radio-group.d.ts +31 -10
- package/dist/components/hx-radio-group/hx-radio-group.d.ts.map +1 -1
- package/dist/components/hx-radio-group/hx-radio.styles.d.ts.map +1 -1
- package/dist/components/hx-radio-group/index.js +1 -1
- package/dist/components/hx-slider/hx-slider.d.ts +6 -4
- package/dist/components/hx-slider/hx-slider.d.ts.map +1 -1
- package/dist/components/hx-slider/index.js +1 -1
- package/dist/components/hx-spinner/hx-spinner.d.ts +12 -6
- package/dist/components/hx-spinner/hx-spinner.d.ts.map +1 -1
- package/dist/components/hx-spinner/index.d.ts +1 -0
- package/dist/components/hx-spinner/index.d.ts.map +1 -1
- package/dist/components/hx-stack/hx-stack.d.ts +20 -0
- package/dist/components/hx-stack/hx-stack.d.ts.map +1 -1
- package/dist/components/hx-stack/index.js +1 -1
- package/dist/components/hx-steps/hx-step.d.ts +8 -0
- package/dist/components/hx-steps/hx-step.d.ts.map +1 -1
- package/dist/components/hx-structured-list/index.js +1 -1
- package/dist/components/hx-switch/hx-switch.d.ts +2 -2
- package/dist/components/hx-switch/hx-switch.d.ts.map +1 -1
- package/dist/components/hx-tag/index.d.ts +3 -0
- package/dist/components/hx-tag/index.d.ts.map +1 -1
- package/dist/components/hx-text/hx-text.d.ts +0 -2
- package/dist/components/hx-text/hx-text.d.ts.map +1 -1
- package/dist/components/hx-textarea/hx-textarea.d.ts +7 -0
- package/dist/components/hx-textarea/hx-textarea.d.ts.map +1 -1
- package/dist/components/hx-textarea/index.js +1 -1
- package/dist/components/hx-theme/hx-theme.d.ts +4 -0
- package/dist/components/hx-theme/hx-theme.d.ts.map +1 -1
- package/dist/components/hx-theme/index.d.ts +3 -1
- package/dist/components/hx-theme/index.d.ts.map +1 -1
- package/dist/components/hx-toggle-button/hx-toggle-button.d.ts +2 -2
- package/dist/components/hx-toggle-button/hx-toggle-button.d.ts.map +1 -1
- package/dist/components/hx-toggle-button/index.js +1 -1
- package/dist/components/hx-tree-view/hx-tree-item.d.ts +29 -10
- package/dist/components/hx-tree-view/hx-tree-item.d.ts.map +1 -1
- package/dist/components/hx-tree-view/hx-tree-item.styles.d.ts.map +1 -1
- package/dist/components/hx-tree-view/hx-tree-view.d.ts +22 -2
- package/dist/components/hx-tree-view/hx-tree-view.d.ts.map +1 -1
- package/dist/components/hx-tree-view/hx-tree-view.styles.d.ts.map +1 -1
- package/dist/components/hx-tree-view/index.d.ts +6 -1
- package/dist/components/hx-tree-view/index.d.ts.map +1 -1
- package/dist/components/hx-tree-view/index.js +1 -1
- package/dist/index.d.ts +13 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +107 -105
- package/dist/index.js.map +1 -1
- package/dist/shared/{hx-action-bar-D43v5rA2.js → hx-action-bar-B4i9tBCP.js} +71 -61
- package/dist/shared/hx-action-bar-B4i9tBCP.js.map +1 -0
- package/dist/shared/{hx-badge-DYB1Pnym.js → hx-badge-CjT0d8NK.js} +9 -2
- package/dist/shared/hx-badge-CjT0d8NK.js.map +1 -0
- package/dist/shared/{hx-breadcrumb-item-TKRcrMYc.js → hx-breadcrumb-item-DtSxRZ_W.js} +25 -18
- package/dist/shared/hx-breadcrumb-item-DtSxRZ_W.js.map +1 -0
- package/dist/shared/{hx-button-SAbf4_jC.js → hx-button-CtiJsmOg.js} +31 -29
- package/dist/shared/hx-button-CtiJsmOg.js.map +1 -0
- package/dist/shared/{hx-button-group-DET_Pkxt.js → hx-button-group-BMV5qFs4.js} +19 -13
- package/dist/shared/{hx-button-group-DET_Pkxt.js.map → hx-button-group-BMV5qFs4.js.map} +1 -1
- package/dist/shared/{hx-checkbox-group-CIIijwmc.js → hx-checkbox-group-DTS9iT4b.js} +26 -20
- package/dist/shared/hx-checkbox-group-DTS9iT4b.js.map +1 -0
- package/dist/shared/{hx-container-BXZBaOGG.js → hx-container-DLUKnTi9.js} +9 -8
- package/dist/shared/hx-container-DLUKnTi9.js.map +1 -0
- package/dist/shared/hx-copy-button-BXL1xkxb.js.map +1 -1
- package/dist/shared/{hx-drawer-CenIAGuR.js → hx-drawer-bTF0nbrg.js} +2 -2
- package/dist/shared/hx-drawer-bTF0nbrg.js.map +1 -0
- package/dist/shared/hx-icon-button-C_fsUJW4.js +257 -0
- package/dist/shared/hx-icon-button-C_fsUJW4.js.map +1 -0
- package/dist/shared/{hx-image-CzkOEeO4.js → hx-image-xyb_tHCR.js} +2 -2
- package/dist/shared/hx-image-xyb_tHCR.js.map +1 -0
- package/dist/shared/hx-number-input-CS6_w1lT.js.map +1 -1
- package/dist/shared/hx-pagination-DNFgXQm3.js.map +1 -1
- package/dist/shared/{hx-prose-BUkZ8rB3.js → hx-prose-DZh2KrMb.js} +10 -7
- package/dist/shared/{hx-prose-BUkZ8rB3.js.map → hx-prose-DZh2KrMb.js.map} +1 -1
- package/dist/shared/{hx-radio-reSaVmIB.js → hx-radio-CGtFKls2.js} +42 -14
- package/dist/shared/hx-radio-CGtFKls2.js.map +1 -0
- package/dist/shared/{hx-slider-CzHOl3Ur.js → hx-slider-Duzmuid9.js} +12 -8
- package/dist/shared/hx-slider-Duzmuid9.js.map +1 -0
- package/dist/shared/hx-spinner-BOApJ-g9.js.map +1 -1
- package/dist/shared/{hx-stack-C3xUwi6-.js → hx-stack-CfoW7jU7.js} +21 -1
- package/dist/shared/{hx-stack-C3xUwi6-.js.map → hx-stack-CfoW7jU7.js.map} +1 -1
- package/dist/shared/hx-step-nMT0fHEn.js.map +1 -1
- package/dist/shared/{hx-structured-list-DKborM60.js → hx-structured-list-CMja1VXz.js} +5 -5
- package/dist/shared/{hx-structured-list-DKborM60.js.map → hx-structured-list-CMja1VXz.js.map} +1 -1
- package/dist/shared/hx-switch-BPvIcDpM.js.map +1 -1
- package/dist/shared/hx-text-NjKoQATI.js.map +1 -1
- package/dist/shared/{hx-textarea-BLcReynr.js → hx-textarea-B_nmxzhC.js} +12 -8
- package/dist/shared/hx-textarea-B_nmxzhC.js.map +1 -0
- package/dist/shared/hx-theme-6GDoUG8j.js.map +1 -1
- package/dist/shared/{hx-toggle-button---Z4zvmn.js → hx-toggle-button--xCXWRJW.js} +3 -3
- package/dist/shared/{hx-toggle-button---Z4zvmn.js.map → hx-toggle-button--xCXWRJW.js.map} +1 -1
- package/dist/shared/{hx-tree-item-CIo3ek2M.js → hx-tree-item-Cesh_du5.js} +170 -148
- package/dist/shared/hx-tree-item-Cesh_du5.js.map +1 -0
- package/package.json +8 -2
- package/dist/shared/hx-action-bar-D43v5rA2.js.map +0 -1
- package/dist/shared/hx-badge-DYB1Pnym.js.map +0 -1
- package/dist/shared/hx-breadcrumb-item-TKRcrMYc.js.map +0 -1
- package/dist/shared/hx-button-SAbf4_jC.js.map +0 -1
- package/dist/shared/hx-checkbox-group-CIIijwmc.js.map +0 -1
- package/dist/shared/hx-container-BXZBaOGG.js.map +0 -1
- package/dist/shared/hx-drawer-CenIAGuR.js.map +0 -1
- package/dist/shared/hx-image-CzkOEeO4.js.map +0 -1
- package/dist/shared/hx-radio-reSaVmIB.js.map +0 -1
- package/dist/shared/hx-slider-CzHOl3Ur.js.map +0 -1
- package/dist/shared/hx-textarea-BLcReynr.js.map +0 -1
- package/dist/shared/hx-tree-item-CIo3ek2M.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -507,11 +507,19 @@
|
|
|
507
507
|
"type": {
|
|
508
508
|
"text": "boolean"
|
|
509
509
|
},
|
|
510
|
-
"default": "false",
|
|
511
510
|
"deprecated": "Use `position=\"sticky\"` instead.\nWhen true, the bar sticks to the top of its scroll container.",
|
|
512
511
|
"attribute": "sticky",
|
|
513
512
|
"reflects": true
|
|
514
513
|
},
|
|
514
|
+
{
|
|
515
|
+
"kind": "field",
|
|
516
|
+
"name": "_sticky",
|
|
517
|
+
"type": {
|
|
518
|
+
"text": "boolean"
|
|
519
|
+
},
|
|
520
|
+
"privacy": "private",
|
|
521
|
+
"default": "false"
|
|
522
|
+
},
|
|
515
523
|
{
|
|
516
524
|
"kind": "field",
|
|
517
525
|
"name": "ariaLabel",
|
|
@@ -659,7 +667,6 @@
|
|
|
659
667
|
"type": {
|
|
660
668
|
"text": "boolean"
|
|
661
669
|
},
|
|
662
|
-
"default": "false",
|
|
663
670
|
"deprecated": "Use `position=\"sticky\"` instead.\nWhen true, the bar sticks to the top of its scroll container.",
|
|
664
671
|
"fieldName": "sticky",
|
|
665
672
|
"attribute": "sticky"
|
|
@@ -1824,363 +1831,241 @@
|
|
|
1824
1831
|
"name": "HelixBadge",
|
|
1825
1832
|
"module": "./hx-badge.js"
|
|
1826
1833
|
}
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
"kind": "js",
|
|
1837
|
+
"name": "HxBadge",
|
|
1838
|
+
"declaration": {
|
|
1839
|
+
"name": "HxBadge",
|
|
1840
|
+
"module": "./hx-badge.js"
|
|
1841
|
+
}
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
"kind": "js",
|
|
1845
|
+
"name": "WcBadge",
|
|
1846
|
+
"declaration": {
|
|
1847
|
+
"name": "WcBadge",
|
|
1848
|
+
"module": "./hx-badge.js"
|
|
1849
|
+
}
|
|
1827
1850
|
}
|
|
1828
1851
|
]
|
|
1829
1852
|
},
|
|
1830
1853
|
{
|
|
1831
1854
|
"kind": "javascript-module",
|
|
1832
|
-
"path": "src/components/hx-
|
|
1855
|
+
"path": "src/components/hx-button/hx-button.ts",
|
|
1833
1856
|
"declarations": [
|
|
1834
1857
|
{
|
|
1835
1858
|
"kind": "class",
|
|
1836
|
-
"description": "A
|
|
1837
|
-
"name": "
|
|
1859
|
+
"description": "A production-grade button component for user interaction. Supports multiple\nvisual variants, sizes, loading state, prefix/suffix slots, anchor rendering,\nand full ElementInternals form association.",
|
|
1860
|
+
"name": "HelixButton",
|
|
1838
1861
|
"cssProperties": [
|
|
1839
1862
|
{
|
|
1840
|
-
"description": "
|
|
1841
|
-
"name": "--hx-
|
|
1842
|
-
"default": "var(--hx-color-primary-
|
|
1863
|
+
"description": "Button background color.",
|
|
1864
|
+
"name": "--hx-button-bg",
|
|
1865
|
+
"default": "var(--hx-color-primary-500)"
|
|
1843
1866
|
},
|
|
1844
1867
|
{
|
|
1845
|
-
"description": "
|
|
1846
|
-
"name": "--hx-
|
|
1847
|
-
"default": "var(--hx-color-
|
|
1868
|
+
"description": "Button text color.",
|
|
1869
|
+
"name": "--hx-button-color",
|
|
1870
|
+
"default": "var(--hx-color-neutral-0)"
|
|
1848
1871
|
},
|
|
1849
1872
|
{
|
|
1850
|
-
"description": "
|
|
1851
|
-
"name": "--hx-
|
|
1852
|
-
"default": "
|
|
1873
|
+
"description": "Button border color.",
|
|
1874
|
+
"name": "--hx-button-border-color",
|
|
1875
|
+
"default": "transparent"
|
|
1853
1876
|
},
|
|
1854
1877
|
{
|
|
1855
|
-
"description": "
|
|
1856
|
-
"name": "--hx-
|
|
1857
|
-
"default": "
|
|
1878
|
+
"description": "Button border radius.",
|
|
1879
|
+
"name": "--hx-button-border-radius",
|
|
1880
|
+
"default": "var(--hx-border-radius-md)"
|
|
1858
1881
|
},
|
|
1859
1882
|
{
|
|
1860
|
-
"description": "
|
|
1861
|
-
"name": "--hx-
|
|
1862
|
-
"default": "var(--hx-
|
|
1883
|
+
"description": "Button font family.",
|
|
1884
|
+
"name": "--hx-button-font-family",
|
|
1885
|
+
"default": "var(--hx-font-family-sans)"
|
|
1863
1886
|
},
|
|
1864
1887
|
{
|
|
1865
|
-
"description": "
|
|
1866
|
-
"name": "--hx-
|
|
1867
|
-
"default": "var(--hx-
|
|
1888
|
+
"description": "Button font weight.",
|
|
1889
|
+
"name": "--hx-button-font-weight",
|
|
1890
|
+
"default": "var(--hx-font-weight-semibold)"
|
|
1868
1891
|
},
|
|
1869
1892
|
{
|
|
1870
|
-
"description": "
|
|
1871
|
-
"name": "--hx-
|
|
1893
|
+
"description": "Focus ring color.",
|
|
1894
|
+
"name": "--hx-button-focus-ring-color",
|
|
1895
|
+
"default": "var(--hx-focus-ring-color)"
|
|
1872
1896
|
}
|
|
1873
1897
|
],
|
|
1874
1898
|
"cssParts": [
|
|
1875
1899
|
{
|
|
1876
|
-
"description": "
|
|
1877
|
-
"name": "
|
|
1900
|
+
"description": "The native button or anchor element.",
|
|
1901
|
+
"name": "button"
|
|
1878
1902
|
},
|
|
1879
1903
|
{
|
|
1880
|
-
"description": "The
|
|
1881
|
-
"name": "
|
|
1904
|
+
"description": "The label text wrapper span.",
|
|
1905
|
+
"name": "label"
|
|
1882
1906
|
},
|
|
1883
1907
|
{
|
|
1884
|
-
"description": "The
|
|
1885
|
-
"name": "
|
|
1908
|
+
"description": "The prefix slot container span.",
|
|
1909
|
+
"name": "prefix"
|
|
1886
1910
|
},
|
|
1887
1911
|
{
|
|
1888
|
-
"description": "The
|
|
1889
|
-
"name": "
|
|
1912
|
+
"description": "The suffix slot container span.",
|
|
1913
|
+
"name": "suffix"
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
"description": "The loading spinner SVG element.",
|
|
1917
|
+
"name": "spinner"
|
|
1890
1918
|
}
|
|
1891
1919
|
],
|
|
1892
1920
|
"slots": [
|
|
1893
1921
|
{
|
|
1894
|
-
"description": "
|
|
1922
|
+
"description": "Default slot for button label text or content.",
|
|
1895
1923
|
"name": ""
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"description": "Icon or content rendered before the label.",
|
|
1927
|
+
"name": "prefix"
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
"description": "Icon or content rendered after the label.",
|
|
1931
|
+
"name": "suffix"
|
|
1896
1932
|
}
|
|
1897
1933
|
],
|
|
1898
1934
|
"members": [
|
|
1899
1935
|
{
|
|
1900
1936
|
"kind": "field",
|
|
1901
|
-
"name": "
|
|
1937
|
+
"name": "formAssociated",
|
|
1902
1938
|
"type": {
|
|
1903
|
-
"text": "
|
|
1939
|
+
"text": "boolean"
|
|
1904
1940
|
},
|
|
1905
|
-
"
|
|
1906
|
-
"
|
|
1907
|
-
"attribute": "href",
|
|
1908
|
-
"reflects": true
|
|
1941
|
+
"static": true,
|
|
1942
|
+
"default": "true"
|
|
1909
1943
|
},
|
|
1910
1944
|
{
|
|
1911
1945
|
"kind": "field",
|
|
1912
|
-
"name": "
|
|
1946
|
+
"name": "_internals",
|
|
1913
1947
|
"type": {
|
|
1914
|
-
"text": "
|
|
1948
|
+
"text": "ElementInternals"
|
|
1915
1949
|
},
|
|
1916
|
-
"
|
|
1917
|
-
|
|
1918
|
-
|
|
1950
|
+
"privacy": "private"
|
|
1951
|
+
},
|
|
1952
|
+
{
|
|
1953
|
+
"kind": "field",
|
|
1954
|
+
"name": "variant",
|
|
1955
|
+
"type": {
|
|
1956
|
+
"text": "'primary' | 'secondary' | 'tertiary' | 'danger' | 'ghost' | 'outline'"
|
|
1957
|
+
},
|
|
1958
|
+
"default": "'primary'",
|
|
1959
|
+
"description": "Visual style variant of the button.",
|
|
1960
|
+
"attribute": "variant",
|
|
1919
1961
|
"reflects": true
|
|
1920
|
-
}
|
|
1921
|
-
],
|
|
1922
|
-
"attributes": [
|
|
1962
|
+
},
|
|
1923
1963
|
{
|
|
1924
|
-
"
|
|
1964
|
+
"kind": "field",
|
|
1965
|
+
"name": "size",
|
|
1925
1966
|
"type": {
|
|
1926
|
-
"text": "
|
|
1967
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
1927
1968
|
},
|
|
1928
|
-
"default": "
|
|
1929
|
-
"description": "
|
|
1930
|
-
"
|
|
1931
|
-
"
|
|
1969
|
+
"default": "'md'",
|
|
1970
|
+
"description": "Size of the button.",
|
|
1971
|
+
"attribute": "hx-size",
|
|
1972
|
+
"reflects": true
|
|
1932
1973
|
},
|
|
1933
1974
|
{
|
|
1934
|
-
"
|
|
1975
|
+
"kind": "field",
|
|
1976
|
+
"name": "disabled",
|
|
1935
1977
|
"type": {
|
|
1936
1978
|
"text": "boolean"
|
|
1937
1979
|
},
|
|
1938
1980
|
"default": "false",
|
|
1939
|
-
"description": "
|
|
1940
|
-
"
|
|
1941
|
-
"
|
|
1942
|
-
}
|
|
1943
|
-
],
|
|
1944
|
-
"superclass": {
|
|
1945
|
-
"name": "LitElement",
|
|
1946
|
-
"package": "lit"
|
|
1947
|
-
},
|
|
1948
|
-
"tagName": "hx-breadcrumb-item",
|
|
1949
|
-
"customElement": true,
|
|
1950
|
-
"summary": "A navigation item within an hx-breadcrumb component. Renders as a link when `href` is\nprovided, or as static text for the current page item. The current page item is determined by\nthe `current` attribute (set explicitly or automatically by the parent `hx-breadcrumb`)."
|
|
1951
|
-
}
|
|
1952
|
-
],
|
|
1953
|
-
"exports": [
|
|
1954
|
-
{
|
|
1955
|
-
"kind": "js",
|
|
1956
|
-
"name": "HelixBreadcrumbItem",
|
|
1957
|
-
"declaration": {
|
|
1958
|
-
"name": "HelixBreadcrumbItem",
|
|
1959
|
-
"module": "src/components/hx-breadcrumb/hx-breadcrumb-item.ts"
|
|
1960
|
-
}
|
|
1961
|
-
},
|
|
1962
|
-
{
|
|
1963
|
-
"kind": "custom-element-definition",
|
|
1964
|
-
"name": "hx-breadcrumb-item",
|
|
1965
|
-
"declaration": {
|
|
1966
|
-
"name": "HelixBreadcrumbItem",
|
|
1967
|
-
"module": "src/components/hx-breadcrumb/hx-breadcrumb-item.ts"
|
|
1968
|
-
}
|
|
1969
|
-
}
|
|
1970
|
-
]
|
|
1971
|
-
},
|
|
1972
|
-
{
|
|
1973
|
-
"kind": "javascript-module",
|
|
1974
|
-
"path": "src/components/hx-breadcrumb/hx-breadcrumb.ts",
|
|
1975
|
-
"declarations": [
|
|
1976
|
-
{
|
|
1977
|
-
"kind": "class",
|
|
1978
|
-
"description": "Hierarchical page path navigation showing current location in site structure.",
|
|
1979
|
-
"name": "HelixBreadcrumb",
|
|
1980
|
-
"cssProperties": [
|
|
1981
|
+
"description": "Whether the button is disabled. Prevents all interaction and form actions.",
|
|
1982
|
+
"attribute": "disabled",
|
|
1983
|
+
"reflects": true
|
|
1984
|
+
},
|
|
1981
1985
|
{
|
|
1982
|
-
"
|
|
1983
|
-
"name": "
|
|
1984
|
-
"
|
|
1986
|
+
"kind": "field",
|
|
1987
|
+
"name": "loading",
|
|
1988
|
+
"type": {
|
|
1989
|
+
"text": "boolean"
|
|
1990
|
+
},
|
|
1991
|
+
"default": "false",
|
|
1992
|
+
"description": "Whether the button is in a loading state. Shows spinner, prevents interaction,\nand sets aria-busy. Does not set the disabled attribute.",
|
|
1993
|
+
"attribute": "loading",
|
|
1994
|
+
"reflects": true
|
|
1985
1995
|
},
|
|
1986
1996
|
{
|
|
1987
|
-
"
|
|
1988
|
-
"name": "
|
|
1989
|
-
"
|
|
1997
|
+
"kind": "field",
|
|
1998
|
+
"name": "type",
|
|
1999
|
+
"type": {
|
|
2000
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
2001
|
+
},
|
|
2002
|
+
"default": "'button'",
|
|
2003
|
+
"description": "The type attribute for the underlying button element. Ignored when href is set.",
|
|
2004
|
+
"attribute": "type"
|
|
1990
2005
|
},
|
|
1991
2006
|
{
|
|
1992
|
-
"
|
|
1993
|
-
"name": "
|
|
1994
|
-
"
|
|
2007
|
+
"kind": "field",
|
|
2008
|
+
"name": "href",
|
|
2009
|
+
"type": {
|
|
2010
|
+
"text": "string | undefined"
|
|
2011
|
+
},
|
|
2012
|
+
"default": "undefined",
|
|
2013
|
+
"description": "When set, renders an anchor element instead of a button.",
|
|
2014
|
+
"attribute": "href"
|
|
1995
2015
|
},
|
|
1996
2016
|
{
|
|
1997
|
-
"
|
|
1998
|
-
"name": "
|
|
1999
|
-
"
|
|
2017
|
+
"kind": "field",
|
|
2018
|
+
"name": "target",
|
|
2019
|
+
"type": {
|
|
2020
|
+
"text": "string | undefined"
|
|
2021
|
+
},
|
|
2022
|
+
"default": "undefined",
|
|
2023
|
+
"description": "Anchor target attribute. Only used when href is set.",
|
|
2024
|
+
"attribute": "target"
|
|
2000
2025
|
},
|
|
2001
2026
|
{
|
|
2002
|
-
"
|
|
2003
|
-
"name": "
|
|
2004
|
-
"
|
|
2027
|
+
"kind": "field",
|
|
2028
|
+
"name": "name",
|
|
2029
|
+
"type": {
|
|
2030
|
+
"text": "string | undefined"
|
|
2031
|
+
},
|
|
2032
|
+
"default": "undefined",
|
|
2033
|
+
"description": "Form field name submitted via ElementInternals.setFormValue on submit.",
|
|
2034
|
+
"attribute": "name"
|
|
2005
2035
|
},
|
|
2006
2036
|
{
|
|
2007
|
-
"
|
|
2008
|
-
"name": "
|
|
2009
|
-
"
|
|
2037
|
+
"kind": "field",
|
|
2038
|
+
"name": "value",
|
|
2039
|
+
"type": {
|
|
2040
|
+
"text": "string | undefined"
|
|
2041
|
+
},
|
|
2042
|
+
"default": "undefined",
|
|
2043
|
+
"description": "Form field value submitted via ElementInternals.setFormValue on submit.",
|
|
2044
|
+
"attribute": "value"
|
|
2010
2045
|
},
|
|
2011
|
-
{
|
|
2012
|
-
"description": "Current page text color.",
|
|
2013
|
-
"name": "--hx-breadcrumb-text-color",
|
|
2014
|
-
"default": "var(--hx-color-neutral-700)"
|
|
2015
|
-
},
|
|
2016
|
-
{
|
|
2017
|
-
"description": "Max-width for item text truncation (e.g. `12rem`).",
|
|
2018
|
-
"name": "--hx-breadcrumb-item-max-width"
|
|
2019
|
-
}
|
|
2020
|
-
],
|
|
2021
|
-
"cssParts": [
|
|
2022
|
-
{
|
|
2023
|
-
"description": "The nav landmark element.",
|
|
2024
|
-
"name": "nav"
|
|
2025
|
-
},
|
|
2026
|
-
{
|
|
2027
|
-
"description": "The ordered list containing items.",
|
|
2028
|
-
"name": "list"
|
|
2029
|
-
}
|
|
2030
|
-
],
|
|
2031
|
-
"slots": [
|
|
2032
|
-
{
|
|
2033
|
-
"description": "Default slot for hx-breadcrumb-item children.",
|
|
2034
|
-
"name": ""
|
|
2035
|
-
},
|
|
2036
|
-
{
|
|
2037
|
-
"description": "Optional separator element. Its text content overrides the `separator` property.",
|
|
2038
|
-
"name": "separator"
|
|
2039
|
-
}
|
|
2040
|
-
],
|
|
2041
|
-
"members": [
|
|
2042
2046
|
{
|
|
2043
2047
|
"kind": "field",
|
|
2044
|
-
"name": "
|
|
2045
|
-
"type": {
|
|
2046
|
-
"text": "number"
|
|
2047
|
-
},
|
|
2048
|
-
"privacy": "private",
|
|
2049
|
-
"static": true,
|
|
2050
|
-
"default": "0",
|
|
2051
|
-
"description": "Per-instance counter used to generate stable, deterministic IDs for the\ninjected JSON-LD script tags. Deterministic IDs (vs Math.random()) allow\nSSR frameworks to match server-rendered script tags during hydration."
|
|
2052
|
-
},
|
|
2053
|
-
{
|
|
2054
|
-
"kind": "field",
|
|
2055
|
-
"name": "separator",
|
|
2056
|
-
"type": {
|
|
2057
|
-
"text": "string"
|
|
2058
|
-
},
|
|
2059
|
-
"default": "'/'",
|
|
2060
|
-
"description": "The separator character displayed between breadcrumb items.",
|
|
2061
|
-
"attribute": "separator"
|
|
2062
|
-
},
|
|
2063
|
-
{
|
|
2064
|
-
"kind": "field",
|
|
2065
|
-
"name": "label",
|
|
2066
|
-
"type": {
|
|
2067
|
-
"text": "string"
|
|
2068
|
-
},
|
|
2069
|
-
"default": "'Breadcrumb'",
|
|
2070
|
-
"description": "The accessible label for the nav landmark.",
|
|
2071
|
-
"attribute": "label"
|
|
2072
|
-
},
|
|
2073
|
-
{
|
|
2074
|
-
"kind": "field",
|
|
2075
|
-
"name": "maxItems",
|
|
2076
|
-
"type": {
|
|
2077
|
-
"text": "number"
|
|
2078
|
-
},
|
|
2079
|
-
"default": "0",
|
|
2080
|
-
"description": "Maximum number of items to show before collapsing middle items with an ellipsis.\nSet to 0 (default) to show all items. The ellipsis is a keyboard-accessible\nbutton; activating it expands the full breadcrumb by setting maxItems to 0.",
|
|
2081
|
-
"attribute": "max-items"
|
|
2082
|
-
},
|
|
2083
|
-
{
|
|
2084
|
-
"kind": "field",
|
|
2085
|
-
"name": "jsonLd",
|
|
2086
|
-
"type": {
|
|
2087
|
-
"text": "boolean"
|
|
2088
|
-
},
|
|
2089
|
-
"default": "false",
|
|
2090
|
-
"description": "When true, injects a JSON-LD BreadcrumbList structured data script into the document head.\n\nNOTE: Drupal manages `<head>` content via its own render pipeline. Injecting a\n`<script>` directly via `document.head.appendChild()` in a Drupal context:\n1. Bypasses Drupal's deduplication and `hook_html_head_alter()` hook.\n2. Is not cacheable by Drupal's page cache.\n3. Will be wiped on BigPipe partial page replacements.\n\nFor Drupal integrations, leave `json-ld` false and use the structured data\nTwig template instead (see `hx-breadcrumb.twig` in the component directory).",
|
|
2091
|
-
"attribute": "json-ld"
|
|
2092
|
-
},
|
|
2093
|
-
{
|
|
2094
|
-
"kind": "field",
|
|
2095
|
-
"name": "_ellipsisItem",
|
|
2096
|
-
"type": {
|
|
2097
|
-
"text": "Element | null"
|
|
2098
|
-
},
|
|
2099
|
-
"privacy": "private",
|
|
2100
|
-
"default": "null"
|
|
2101
|
-
},
|
|
2102
|
-
{
|
|
2103
|
-
"kind": "field",
|
|
2104
|
-
"name": "_jsonLdScript",
|
|
2105
|
-
"type": {
|
|
2106
|
-
"text": "HTMLScriptElement | null"
|
|
2107
|
-
},
|
|
2108
|
-
"privacy": "private",
|
|
2109
|
-
"default": "null"
|
|
2110
|
-
},
|
|
2111
|
-
{
|
|
2112
|
-
"kind": "field",
|
|
2113
|
-
"name": "_boundEllipsisClick",
|
|
2048
|
+
"name": "ariaLabel",
|
|
2114
2049
|
"type": {
|
|
2115
|
-
"text": "
|
|
2050
|
+
"text": "string | null"
|
|
2116
2051
|
},
|
|
2117
|
-
"
|
|
2052
|
+
"default": "null",
|
|
2053
|
+
"description": "Accessible label forwarded to the inner button/anchor. Required for icon-only usage.",
|
|
2054
|
+
"attribute": "aria-label",
|
|
2055
|
+
"reflects": true
|
|
2118
2056
|
},
|
|
2119
2057
|
{
|
|
2120
2058
|
"kind": "field",
|
|
2121
|
-
"name": "
|
|
2059
|
+
"name": "form",
|
|
2122
2060
|
"type": {
|
|
2123
|
-
"text": "
|
|
2124
|
-
},
|
|
2125
|
-
"privacy": "private"
|
|
2126
|
-
},
|
|
2127
|
-
{
|
|
2128
|
-
"kind": "field",
|
|
2129
|
-
"name": "_managedCurrentItems",
|
|
2130
|
-
"privacy": "private",
|
|
2131
|
-
"readonly": true,
|
|
2132
|
-
"default": "new WeakSet<Element>()",
|
|
2133
|
-
"description": "Tracks which items had their `current` attribute set by this component\n(as opposed to set by a consumer/Drupal template). This lets us re-evaluate\npositional current-page detection on each slotchange without incorrectly\ntreating a previously component-set `current` attribute as a consumer-set\nexplicit override."
|
|
2134
|
-
},
|
|
2135
|
-
{
|
|
2136
|
-
"kind": "field",
|
|
2137
|
-
"name": "_jsonLdId",
|
|
2138
|
-
"privacy": "private",
|
|
2139
|
-
"readonly": true,
|
|
2140
|
-
"default": "`hx-breadcrumb-ld-${++HelixBreadcrumb._instanceCounter}`",
|
|
2141
|
-
"description": "Stable per-instance ID used to tag the injected script element so that\nmultiple hx-breadcrumb instances on the same page don't produce conflicting\nor duplicate structured-data blocks. Each instance owns exactly one script\ntag identified by this ID; any stale tag from a previous render cycle is\nremoved before a new one is inserted.\n\nUses a static counter (not Math.random()) so IDs are deterministic across\nserver and client renders, enabling SSR hydration matching."
|
|
2142
|
-
},
|
|
2143
|
-
{
|
|
2144
|
-
"kind": "method",
|
|
2145
|
-
"name": "_getBreadcrumbItems",
|
|
2146
|
-
"privacy": "private",
|
|
2147
|
-
"return": {
|
|
2148
|
-
"type": {
|
|
2149
|
-
"text": "Element[]"
|
|
2150
|
-
}
|
|
2151
|
-
},
|
|
2152
|
-
"parameters": [
|
|
2153
|
-
{
|
|
2154
|
-
"name": "slot",
|
|
2155
|
-
"type": {
|
|
2156
|
-
"text": "HTMLSlotElement"
|
|
2157
|
-
}
|
|
2158
|
-
}
|
|
2159
|
-
],
|
|
2160
|
-
"description": "Returns only real breadcrumb items, excluding the managed ellipsis element."
|
|
2161
|
-
},
|
|
2162
|
-
{
|
|
2163
|
-
"kind": "method",
|
|
2164
|
-
"name": "_applyItemAttributes",
|
|
2165
|
-
"privacy": "private",
|
|
2166
|
-
"return": {
|
|
2167
|
-
"type": {
|
|
2168
|
-
"text": "void"
|
|
2169
|
-
}
|
|
2061
|
+
"text": "HTMLFormElement | null"
|
|
2170
2062
|
},
|
|
2171
|
-
"
|
|
2172
|
-
|
|
2173
|
-
"name": "items",
|
|
2174
|
-
"type": {
|
|
2175
|
-
"text": "Element[]"
|
|
2176
|
-
}
|
|
2177
|
-
}
|
|
2178
|
-
],
|
|
2179
|
-
"description": "Applies aria/state attributes to the item list.\n\nCurrent-page detection: if any item has an explicit `current` attribute\n(e.g. set by a Drupal Twig template), that item is treated as the current\npage. Otherwise the last item is the current page (default behaviour).\n\nThis separation allows Drupal to control current-page marking without\nrelying on item order."
|
|
2063
|
+
"description": "Returns the associated form element, if any.",
|
|
2064
|
+
"readonly": true
|
|
2180
2065
|
},
|
|
2181
2066
|
{
|
|
2182
2067
|
"kind": "method",
|
|
2183
|
-
"name": "
|
|
2068
|
+
"name": "_handleClick",
|
|
2184
2069
|
"privacy": "private",
|
|
2185
2070
|
"return": {
|
|
2186
2071
|
"type": {
|
|
@@ -2191,479 +2076,479 @@
|
|
|
2191
2076
|
{
|
|
2192
2077
|
"name": "e",
|
|
2193
2078
|
"type": {
|
|
2194
|
-
"text": "
|
|
2079
|
+
"text": "MouseEvent"
|
|
2195
2080
|
}
|
|
2196
2081
|
}
|
|
2197
2082
|
]
|
|
2198
2083
|
},
|
|
2199
2084
|
{
|
|
2200
2085
|
"kind": "method",
|
|
2201
|
-
"name": "
|
|
2086
|
+
"name": "_renderSpinner",
|
|
2202
2087
|
"privacy": "private",
|
|
2203
2088
|
"return": {
|
|
2204
2089
|
"type": {
|
|
2205
|
-
"text": "
|
|
2206
|
-
}
|
|
2207
|
-
},
|
|
2208
|
-
"parameters": [
|
|
2209
|
-
{
|
|
2210
|
-
"name": "e",
|
|
2211
|
-
"type": {
|
|
2212
|
-
"text": "Event"
|
|
2213
|
-
}
|
|
2090
|
+
"text": "TemplateResult"
|
|
2214
2091
|
}
|
|
2215
|
-
|
|
2092
|
+
}
|
|
2216
2093
|
},
|
|
2217
2094
|
{
|
|
2218
2095
|
"kind": "method",
|
|
2219
|
-
"name": "
|
|
2096
|
+
"name": "_renderInner",
|
|
2220
2097
|
"privacy": "private",
|
|
2221
2098
|
"return": {
|
|
2222
2099
|
"type": {
|
|
2223
|
-
"text": "
|
|
2100
|
+
"text": "TemplateResult"
|
|
2224
2101
|
}
|
|
2102
|
+
}
|
|
2103
|
+
}
|
|
2104
|
+
],
|
|
2105
|
+
"events": [
|
|
2106
|
+
{
|
|
2107
|
+
"name": "hx-click",
|
|
2108
|
+
"type": {
|
|
2109
|
+
"text": "CustomEvent<{originalEvent: MouseEvent}>"
|
|
2225
2110
|
},
|
|
2226
|
-
"
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
"text": "Element[]"
|
|
2231
|
-
}
|
|
2232
|
-
}
|
|
2233
|
-
]
|
|
2234
|
-
},
|
|
2111
|
+
"description": "Dispatched when the button is clicked and is neither disabled nor loading."
|
|
2112
|
+
}
|
|
2113
|
+
],
|
|
2114
|
+
"attributes": [
|
|
2235
2115
|
{
|
|
2236
|
-
"
|
|
2237
|
-
"
|
|
2238
|
-
|
|
2239
|
-
"return": {
|
|
2240
|
-
"type": {
|
|
2241
|
-
"text": "void"
|
|
2242
|
-
}
|
|
2116
|
+
"name": "variant",
|
|
2117
|
+
"type": {
|
|
2118
|
+
"text": "'primary' | 'secondary' | 'tertiary' | 'danger' | 'ghost' | 'outline'"
|
|
2243
2119
|
},
|
|
2244
|
-
"
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
"text": "Element[]"
|
|
2249
|
-
}
|
|
2250
|
-
}
|
|
2251
|
-
]
|
|
2120
|
+
"default": "'primary'",
|
|
2121
|
+
"description": "Visual style variant of the button.",
|
|
2122
|
+
"fieldName": "variant",
|
|
2123
|
+
"attribute": "variant"
|
|
2252
2124
|
},
|
|
2253
2125
|
{
|
|
2254
|
-
"
|
|
2255
|
-
"
|
|
2256
|
-
|
|
2257
|
-
"return": {
|
|
2258
|
-
"type": {
|
|
2259
|
-
"text": "void"
|
|
2260
|
-
}
|
|
2126
|
+
"name": "hx-size",
|
|
2127
|
+
"type": {
|
|
2128
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
2261
2129
|
},
|
|
2262
|
-
"
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
"text": "Event"
|
|
2267
|
-
}
|
|
2268
|
-
}
|
|
2269
|
-
]
|
|
2130
|
+
"default": "'md'",
|
|
2131
|
+
"description": "Size of the button.",
|
|
2132
|
+
"fieldName": "size",
|
|
2133
|
+
"attribute": "hx-size"
|
|
2270
2134
|
},
|
|
2271
2135
|
{
|
|
2272
|
-
"
|
|
2273
|
-
"
|
|
2274
|
-
|
|
2275
|
-
"return": {
|
|
2276
|
-
"type": {
|
|
2277
|
-
"text": "void"
|
|
2278
|
-
}
|
|
2136
|
+
"name": "disabled",
|
|
2137
|
+
"type": {
|
|
2138
|
+
"text": "boolean"
|
|
2279
2139
|
},
|
|
2280
|
-
"
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
"text": "KeyboardEvent"
|
|
2285
|
-
}
|
|
2286
|
-
}
|
|
2287
|
-
]
|
|
2140
|
+
"default": "false",
|
|
2141
|
+
"description": "Whether the button is disabled. Prevents all interaction and form actions.",
|
|
2142
|
+
"fieldName": "disabled",
|
|
2143
|
+
"attribute": "disabled"
|
|
2288
2144
|
},
|
|
2289
2145
|
{
|
|
2290
|
-
"
|
|
2291
|
-
"
|
|
2292
|
-
|
|
2293
|
-
"return": {
|
|
2294
|
-
"type": {
|
|
2295
|
-
"text": "void"
|
|
2296
|
-
}
|
|
2146
|
+
"name": "loading",
|
|
2147
|
+
"type": {
|
|
2148
|
+
"text": "boolean"
|
|
2297
2149
|
},
|
|
2298
|
-
"
|
|
2150
|
+
"default": "false",
|
|
2151
|
+
"description": "Whether the button is in a loading state. Shows spinner, prevents interaction,\nand sets aria-busy. Does not set the disabled attribute.",
|
|
2152
|
+
"fieldName": "loading",
|
|
2153
|
+
"attribute": "loading"
|
|
2299
2154
|
},
|
|
2300
2155
|
{
|
|
2301
|
-
"
|
|
2302
|
-
"
|
|
2303
|
-
|
|
2304
|
-
"return": {
|
|
2305
|
-
"type": {
|
|
2306
|
-
"text": "{ '@type': string; position: number; name: string; item?: string }"
|
|
2307
|
-
}
|
|
2156
|
+
"name": "type",
|
|
2157
|
+
"type": {
|
|
2158
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
2308
2159
|
},
|
|
2309
|
-
"
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
"text": "Element"
|
|
2314
|
-
}
|
|
2315
|
-
},
|
|
2316
|
-
{
|
|
2317
|
-
"name": "position",
|
|
2318
|
-
"type": {
|
|
2319
|
-
"text": "number"
|
|
2320
|
-
}
|
|
2321
|
-
}
|
|
2322
|
-
],
|
|
2323
|
-
"description": "JSON-LD ListItem entry with typed fields to avoid Record<string, unknown>."
|
|
2160
|
+
"default": "'button'",
|
|
2161
|
+
"description": "The type attribute for the underlying button element. Ignored when href is set.",
|
|
2162
|
+
"fieldName": "type",
|
|
2163
|
+
"attribute": "type"
|
|
2324
2164
|
},
|
|
2325
2165
|
{
|
|
2326
|
-
"
|
|
2327
|
-
"
|
|
2328
|
-
|
|
2329
|
-
"return": {
|
|
2330
|
-
"type": {
|
|
2331
|
-
"text": "void"
|
|
2332
|
-
}
|
|
2166
|
+
"name": "href",
|
|
2167
|
+
"type": {
|
|
2168
|
+
"text": "string | undefined"
|
|
2333
2169
|
},
|
|
2334
|
-
"
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
"text": "Element[]"
|
|
2339
|
-
}
|
|
2340
|
-
}
|
|
2341
|
-
]
|
|
2170
|
+
"default": "undefined",
|
|
2171
|
+
"description": "When set, renders an anchor element instead of a button.",
|
|
2172
|
+
"fieldName": "href",
|
|
2173
|
+
"attribute": "href"
|
|
2342
2174
|
},
|
|
2343
2175
|
{
|
|
2344
|
-
"
|
|
2345
|
-
"name": "_removeJsonLd",
|
|
2346
|
-
"privacy": "private",
|
|
2347
|
-
"return": {
|
|
2348
|
-
"type": {
|
|
2349
|
-
"text": "void"
|
|
2350
|
-
}
|
|
2351
|
-
}
|
|
2352
|
-
}
|
|
2353
|
-
],
|
|
2354
|
-
"attributes": [
|
|
2355
|
-
{
|
|
2356
|
-
"name": "separator",
|
|
2176
|
+
"name": "target",
|
|
2357
2177
|
"type": {
|
|
2358
|
-
"text": "string"
|
|
2178
|
+
"text": "string | undefined"
|
|
2359
2179
|
},
|
|
2360
|
-
"default": "
|
|
2361
|
-
"description": "
|
|
2362
|
-
"fieldName": "
|
|
2363
|
-
"attribute": "
|
|
2180
|
+
"default": "undefined",
|
|
2181
|
+
"description": "Anchor target attribute. Only used when href is set.",
|
|
2182
|
+
"fieldName": "target",
|
|
2183
|
+
"attribute": "target"
|
|
2364
2184
|
},
|
|
2365
2185
|
{
|
|
2366
|
-
"name": "
|
|
2186
|
+
"name": "name",
|
|
2367
2187
|
"type": {
|
|
2368
|
-
"text": "string"
|
|
2188
|
+
"text": "string | undefined"
|
|
2369
2189
|
},
|
|
2370
|
-
"default": "
|
|
2371
|
-
"description": "
|
|
2372
|
-
"fieldName": "
|
|
2373
|
-
"attribute": "
|
|
2190
|
+
"default": "undefined",
|
|
2191
|
+
"description": "Form field name submitted via ElementInternals.setFormValue on submit.",
|
|
2192
|
+
"fieldName": "name",
|
|
2193
|
+
"attribute": "name"
|
|
2374
2194
|
},
|
|
2375
2195
|
{
|
|
2376
|
-
"name": "
|
|
2196
|
+
"name": "value",
|
|
2377
2197
|
"type": {
|
|
2378
|
-
"text": "
|
|
2198
|
+
"text": "string | undefined"
|
|
2379
2199
|
},
|
|
2380
|
-
"default": "
|
|
2381
|
-
"description": "
|
|
2382
|
-
"fieldName": "
|
|
2383
|
-
"attribute": "
|
|
2200
|
+
"default": "undefined",
|
|
2201
|
+
"description": "Form field value submitted via ElementInternals.setFormValue on submit.",
|
|
2202
|
+
"fieldName": "value",
|
|
2203
|
+
"attribute": "value"
|
|
2384
2204
|
},
|
|
2385
2205
|
{
|
|
2386
|
-
"name": "
|
|
2206
|
+
"name": "aria-label",
|
|
2387
2207
|
"type": {
|
|
2388
|
-
"text": "
|
|
2208
|
+
"text": "string | null"
|
|
2389
2209
|
},
|
|
2390
|
-
"default": "
|
|
2391
|
-
"description": "
|
|
2392
|
-
"fieldName": "
|
|
2393
|
-
"attribute": "
|
|
2210
|
+
"default": "null",
|
|
2211
|
+
"description": "Accessible label forwarded to the inner button/anchor. Required for icon-only usage.",
|
|
2212
|
+
"fieldName": "ariaLabel",
|
|
2213
|
+
"attribute": "aria-label"
|
|
2394
2214
|
}
|
|
2395
2215
|
],
|
|
2396
2216
|
"superclass": {
|
|
2397
2217
|
"name": "LitElement",
|
|
2398
2218
|
"package": "lit"
|
|
2399
2219
|
},
|
|
2400
|
-
"tagName": "hx-
|
|
2220
|
+
"tagName": "hx-button",
|
|
2401
2221
|
"customElement": true,
|
|
2402
|
-
"summary": "
|
|
2403
|
-
},
|
|
2404
|
-
{
|
|
2405
|
-
"kind": "variable",
|
|
2406
|
-
"name": "name"
|
|
2222
|
+
"summary": "Primary interactive element for triggering actions and form submission."
|
|
2407
2223
|
}
|
|
2408
2224
|
],
|
|
2409
2225
|
"exports": [
|
|
2410
2226
|
{
|
|
2411
2227
|
"kind": "js",
|
|
2412
|
-
"name": "
|
|
2228
|
+
"name": "HelixButton",
|
|
2413
2229
|
"declaration": {
|
|
2414
|
-
"name": "
|
|
2415
|
-
"module": "src/components/hx-
|
|
2230
|
+
"name": "HelixButton",
|
|
2231
|
+
"module": "src/components/hx-button/hx-button.ts"
|
|
2416
2232
|
}
|
|
2417
2233
|
},
|
|
2418
2234
|
{
|
|
2419
2235
|
"kind": "custom-element-definition",
|
|
2420
|
-
"name": "hx-
|
|
2236
|
+
"name": "hx-button",
|
|
2421
2237
|
"declaration": {
|
|
2422
|
-
"name": "
|
|
2423
|
-
"module": "src/components/hx-
|
|
2238
|
+
"name": "HelixButton",
|
|
2239
|
+
"module": "src/components/hx-button/hx-button.ts"
|
|
2424
2240
|
}
|
|
2425
2241
|
}
|
|
2426
2242
|
]
|
|
2427
2243
|
},
|
|
2428
2244
|
{
|
|
2429
2245
|
"kind": "javascript-module",
|
|
2430
|
-
"path": "src/components/hx-
|
|
2246
|
+
"path": "src/components/hx-button/index.ts",
|
|
2431
2247
|
"declarations": [],
|
|
2432
2248
|
"exports": [
|
|
2433
2249
|
{
|
|
2434
2250
|
"kind": "js",
|
|
2435
|
-
"name": "
|
|
2436
|
-
"declaration": {
|
|
2437
|
-
"name": "HelixBreadcrumb",
|
|
2438
|
-
"module": "./hx-breadcrumb.js"
|
|
2439
|
-
}
|
|
2440
|
-
},
|
|
2441
|
-
{
|
|
2442
|
-
"kind": "js",
|
|
2443
|
-
"name": "HelixBreadcrumbItem",
|
|
2251
|
+
"name": "HelixButton",
|
|
2444
2252
|
"declaration": {
|
|
2445
|
-
"name": "
|
|
2446
|
-
"module": "./hx-
|
|
2253
|
+
"name": "HelixButton",
|
|
2254
|
+
"module": "./hx-button.js"
|
|
2447
2255
|
}
|
|
2448
2256
|
}
|
|
2449
2257
|
]
|
|
2450
2258
|
},
|
|
2451
2259
|
{
|
|
2452
2260
|
"kind": "javascript-module",
|
|
2453
|
-
"path": "src/components/hx-
|
|
2261
|
+
"path": "src/components/hx-breadcrumb/hx-breadcrumb-item.ts",
|
|
2454
2262
|
"declarations": [
|
|
2455
2263
|
{
|
|
2456
2264
|
"kind": "class",
|
|
2457
|
-
"description": "A
|
|
2458
|
-
"name": "
|
|
2265
|
+
"description": "A single breadcrumb navigation item.",
|
|
2266
|
+
"name": "HelixBreadcrumbItem",
|
|
2459
2267
|
"cssProperties": [
|
|
2460
2268
|
{
|
|
2461
|
-
"description": "
|
|
2462
|
-
"name": "--hx-
|
|
2463
|
-
"default": "var(--hx-color-primary-
|
|
2269
|
+
"description": "Link text color.",
|
|
2270
|
+
"name": "--hx-breadcrumb-link-color",
|
|
2271
|
+
"default": "var(--hx-color-primary-600)"
|
|
2464
2272
|
},
|
|
2465
2273
|
{
|
|
2466
|
-
"description": "
|
|
2467
|
-
"name": "--hx-
|
|
2468
|
-
"default": "var(--hx-color-
|
|
2274
|
+
"description": "Link hover text color.",
|
|
2275
|
+
"name": "--hx-breadcrumb-link-hover-color",
|
|
2276
|
+
"default": "var(--hx-color-primary-700)"
|
|
2469
2277
|
},
|
|
2470
2278
|
{
|
|
2471
|
-
"description": "
|
|
2472
|
-
"name": "--hx-
|
|
2473
|
-
"default": "
|
|
2279
|
+
"description": "Current page text color.",
|
|
2280
|
+
"name": "--hx-breadcrumb-text-color",
|
|
2281
|
+
"default": "var(--hx-color-neutral-700)"
|
|
2474
2282
|
},
|
|
2475
2283
|
{
|
|
2476
|
-
"description": "
|
|
2477
|
-
"name": "--hx-
|
|
2478
|
-
"default": "
|
|
2284
|
+
"description": "Separator character displayed after non-last items.",
|
|
2285
|
+
"name": "--hx-breadcrumb-separator-content",
|
|
2286
|
+
"default": "'/'"
|
|
2479
2287
|
},
|
|
2480
2288
|
{
|
|
2481
|
-
"description": "
|
|
2482
|
-
"name": "--hx-
|
|
2483
|
-
"default": "var(--hx-
|
|
2289
|
+
"description": "Separator color.",
|
|
2290
|
+
"name": "--hx-breadcrumb-separator-color",
|
|
2291
|
+
"default": "var(--hx-color-neutral-400)"
|
|
2484
2292
|
},
|
|
2485
2293
|
{
|
|
2486
|
-
"description": "
|
|
2487
|
-
"name": "--hx-
|
|
2488
|
-
"default": "var(--hx-
|
|
2294
|
+
"description": "Horizontal margin around separator.",
|
|
2295
|
+
"name": "--hx-breadcrumb-separator-gap",
|
|
2296
|
+
"default": "var(--hx-space-1)"
|
|
2489
2297
|
},
|
|
2490
2298
|
{
|
|
2491
|
-
"description": "
|
|
2492
|
-
"name": "--hx-
|
|
2493
|
-
"default": "var(--hx-focus-ring-color)"
|
|
2299
|
+
"description": "Optional max-width for text truncation.",
|
|
2300
|
+
"name": "--hx-breadcrumb-item-max-width"
|
|
2494
2301
|
}
|
|
2495
2302
|
],
|
|
2496
2303
|
"cssParts": [
|
|
2497
2304
|
{
|
|
2498
|
-
"description": "
|
|
2499
|
-
"name": "
|
|
2500
|
-
},
|
|
2501
|
-
{
|
|
2502
|
-
"description": "The label text wrapper span.",
|
|
2503
|
-
"name": "label"
|
|
2305
|
+
"description": "Wrapper around the link or text content.",
|
|
2306
|
+
"name": "item"
|
|
2504
2307
|
},
|
|
2505
2308
|
{
|
|
2506
|
-
"description": "The
|
|
2507
|
-
"name": "
|
|
2309
|
+
"description": "The anchor element when href is provided (non-current items only).",
|
|
2310
|
+
"name": "link"
|
|
2508
2311
|
},
|
|
2509
2312
|
{
|
|
2510
|
-
"description": "The
|
|
2511
|
-
"name": "
|
|
2313
|
+
"description": "The span element for the current page or items without href.",
|
|
2314
|
+
"name": "text"
|
|
2512
2315
|
},
|
|
2513
2316
|
{
|
|
2514
|
-
"description": "The
|
|
2515
|
-
"name": "
|
|
2317
|
+
"description": "The separator element rendered after non-last items.",
|
|
2318
|
+
"name": "separator"
|
|
2516
2319
|
}
|
|
2517
2320
|
],
|
|
2518
2321
|
"slots": [
|
|
2519
2322
|
{
|
|
2520
|
-
"description": "
|
|
2323
|
+
"description": "The link or page text content. Accepts text, HTML, or icon elements.",
|
|
2521
2324
|
"name": ""
|
|
2325
|
+
}
|
|
2326
|
+
],
|
|
2327
|
+
"members": [
|
|
2328
|
+
{
|
|
2329
|
+
"kind": "field",
|
|
2330
|
+
"name": "href",
|
|
2331
|
+
"type": {
|
|
2332
|
+
"text": "string | undefined"
|
|
2333
|
+
},
|
|
2334
|
+
"default": "undefined",
|
|
2335
|
+
"description": "The URL for this breadcrumb link. Omit for the current page item.\nWhen `current` is true, this attribute is ignored and the item always\nrenders as static text per WAI-ARIA APG breadcrumb guidance.",
|
|
2336
|
+
"attribute": "href",
|
|
2337
|
+
"reflects": true
|
|
2522
2338
|
},
|
|
2523
2339
|
{
|
|
2524
|
-
"
|
|
2525
|
-
"name": "
|
|
2340
|
+
"kind": "field",
|
|
2341
|
+
"name": "current",
|
|
2342
|
+
"type": {
|
|
2343
|
+
"text": "boolean"
|
|
2344
|
+
},
|
|
2345
|
+
"default": "false",
|
|
2346
|
+
"description": "Marks this item as the current page. When set, the item always renders as\nstatic text (never a navigable link) and `aria-current=\"page\"` is placed on\nthe inner text element per WAI-ARIA APG breadcrumb guidance, yielding the\ncanonical AT announcement (\"current page, Patient Records\").\n\nCan be set explicitly by consumers (e.g. Drupal Twig templates) to override\nthe default positional last-item detection in `hx-breadcrumb`. When any item\nin the breadcrumb has an explicit `current` attribute, the parent will not\noverride it.",
|
|
2347
|
+
"attribute": "current",
|
|
2348
|
+
"reflects": true
|
|
2349
|
+
}
|
|
2350
|
+
],
|
|
2351
|
+
"attributes": [
|
|
2352
|
+
{
|
|
2353
|
+
"name": "href",
|
|
2354
|
+
"type": {
|
|
2355
|
+
"text": "string | undefined"
|
|
2356
|
+
},
|
|
2357
|
+
"default": "undefined",
|
|
2358
|
+
"description": "The URL for this breadcrumb link. Omit for the current page item.\nWhen `current` is true, this attribute is ignored and the item always\nrenders as static text per WAI-ARIA APG breadcrumb guidance.",
|
|
2359
|
+
"fieldName": "href",
|
|
2360
|
+
"attribute": "href"
|
|
2526
2361
|
},
|
|
2527
2362
|
{
|
|
2528
|
-
"
|
|
2529
|
-
"
|
|
2363
|
+
"name": "current",
|
|
2364
|
+
"type": {
|
|
2365
|
+
"text": "boolean"
|
|
2366
|
+
},
|
|
2367
|
+
"default": "false",
|
|
2368
|
+
"description": "Marks this item as the current page. When set, the item always renders as\nstatic text (never a navigable link) and `aria-current=\"page\"` is placed on\nthe inner text element per WAI-ARIA APG breadcrumb guidance, yielding the\ncanonical AT announcement (\"current page, Patient Records\").\n\nCan be set explicitly by consumers (e.g. Drupal Twig templates) to override\nthe default positional last-item detection in `hx-breadcrumb`. When any item\nin the breadcrumb has an explicit `current` attribute, the parent will not\noverride it.",
|
|
2369
|
+
"fieldName": "current",
|
|
2370
|
+
"attribute": "current"
|
|
2530
2371
|
}
|
|
2531
2372
|
],
|
|
2373
|
+
"superclass": {
|
|
2374
|
+
"name": "LitElement",
|
|
2375
|
+
"package": "lit"
|
|
2376
|
+
},
|
|
2377
|
+
"tagName": "hx-breadcrumb-item",
|
|
2378
|
+
"customElement": true,
|
|
2379
|
+
"summary": "A navigation item within an hx-breadcrumb component. Renders as a link when `href` is\nprovided, or as static text for the current page item. The current page item is determined by\nthe `current` attribute (set explicitly or automatically by the parent `hx-breadcrumb`)."
|
|
2380
|
+
}
|
|
2381
|
+
],
|
|
2382
|
+
"exports": [
|
|
2383
|
+
{
|
|
2384
|
+
"kind": "js",
|
|
2385
|
+
"name": "HelixBreadcrumbItem",
|
|
2386
|
+
"declaration": {
|
|
2387
|
+
"name": "HelixBreadcrumbItem",
|
|
2388
|
+
"module": "src/components/hx-breadcrumb/hx-breadcrumb-item.ts"
|
|
2389
|
+
}
|
|
2390
|
+
},
|
|
2391
|
+
{
|
|
2392
|
+
"kind": "custom-element-definition",
|
|
2393
|
+
"name": "hx-breadcrumb-item",
|
|
2394
|
+
"declaration": {
|
|
2395
|
+
"name": "HelixBreadcrumbItem",
|
|
2396
|
+
"module": "src/components/hx-breadcrumb/hx-breadcrumb-item.ts"
|
|
2397
|
+
}
|
|
2398
|
+
}
|
|
2399
|
+
]
|
|
2400
|
+
},
|
|
2401
|
+
{
|
|
2402
|
+
"kind": "javascript-module",
|
|
2403
|
+
"path": "src/components/hx-breadcrumb/hx-breadcrumb.ts",
|
|
2404
|
+
"declarations": [
|
|
2405
|
+
{
|
|
2406
|
+
"kind": "class",
|
|
2407
|
+
"description": "",
|
|
2408
|
+
"name": "HelixBreadcrumb",
|
|
2532
2409
|
"members": [
|
|
2533
2410
|
{
|
|
2534
2411
|
"kind": "field",
|
|
2535
|
-
"name": "
|
|
2412
|
+
"name": "_instanceCounter",
|
|
2536
2413
|
"type": {
|
|
2537
|
-
"text": "
|
|
2414
|
+
"text": "number"
|
|
2538
2415
|
},
|
|
2416
|
+
"privacy": "private",
|
|
2539
2417
|
"static": true,
|
|
2540
|
-
"default": "
|
|
2418
|
+
"default": "0",
|
|
2419
|
+
"description": "Per-instance counter used to generate stable, deterministic IDs for the\ninjected JSON-LD script tags. Deterministic IDs (vs Math.random()) allow\nSSR frameworks to match server-rendered script tags during hydration."
|
|
2541
2420
|
},
|
|
2542
2421
|
{
|
|
2543
2422
|
"kind": "field",
|
|
2544
|
-
"name": "
|
|
2423
|
+
"name": "separator",
|
|
2545
2424
|
"type": {
|
|
2546
|
-
"text": "
|
|
2425
|
+
"text": "string"
|
|
2547
2426
|
},
|
|
2548
|
-
"
|
|
2427
|
+
"default": "'/'",
|
|
2428
|
+
"description": "The separator character displayed between breadcrumb items.",
|
|
2429
|
+
"attribute": "separator"
|
|
2549
2430
|
},
|
|
2550
2431
|
{
|
|
2551
2432
|
"kind": "field",
|
|
2552
|
-
"name": "
|
|
2433
|
+
"name": "label",
|
|
2553
2434
|
"type": {
|
|
2554
|
-
"text": "
|
|
2435
|
+
"text": "string"
|
|
2555
2436
|
},
|
|
2556
|
-
"default": "'
|
|
2557
|
-
"description": "
|
|
2558
|
-
"attribute": "
|
|
2559
|
-
"reflects": true
|
|
2437
|
+
"default": "'Breadcrumb'",
|
|
2438
|
+
"description": "The accessible label for the nav landmark.",
|
|
2439
|
+
"attribute": "label"
|
|
2560
2440
|
},
|
|
2561
2441
|
{
|
|
2562
2442
|
"kind": "field",
|
|
2563
|
-
"name": "
|
|
2443
|
+
"name": "maxItems",
|
|
2564
2444
|
"type": {
|
|
2565
|
-
"text": "
|
|
2445
|
+
"text": "number"
|
|
2566
2446
|
},
|
|
2567
|
-
"default": "
|
|
2568
|
-
"description": "
|
|
2569
|
-
"attribute": "
|
|
2570
|
-
"reflects": true
|
|
2447
|
+
"default": "0",
|
|
2448
|
+
"description": "Maximum number of items to show before collapsing middle items with an ellipsis.\nSet to 0 (default) to show all items. The ellipsis is a keyboard-accessible\nbutton; activating it expands the full breadcrumb by setting maxItems to 0.",
|
|
2449
|
+
"attribute": "max-items"
|
|
2571
2450
|
},
|
|
2572
2451
|
{
|
|
2573
2452
|
"kind": "field",
|
|
2574
|
-
"name": "
|
|
2453
|
+
"name": "jsonLd",
|
|
2575
2454
|
"type": {
|
|
2576
2455
|
"text": "boolean"
|
|
2577
2456
|
},
|
|
2578
2457
|
"default": "false",
|
|
2579
|
-
"description": "
|
|
2580
|
-
"attribute": "
|
|
2581
|
-
"reflects": true
|
|
2458
|
+
"description": "When true, injects a JSON-LD BreadcrumbList structured data script into the document head.\n\nNOTE: Drupal manages `<head>` content via its own render pipeline. Injecting a\n`<script>` directly via `document.head.appendChild()` in a Drupal context:\n1. Bypasses Drupal's deduplication and `hook_html_head_alter()` hook.\n2. Is not cacheable by Drupal's page cache.\n3. Will be wiped on BigPipe partial page replacements.\n\nFor Drupal integrations, leave `json-ld` false and use the structured data\nTwig template instead (see `hx-breadcrumb.twig` in the component directory).",
|
|
2459
|
+
"attribute": "json-ld"
|
|
2582
2460
|
},
|
|
2583
2461
|
{
|
|
2584
2462
|
"kind": "field",
|
|
2585
|
-
"name": "
|
|
2463
|
+
"name": "_ellipsisItem",
|
|
2586
2464
|
"type": {
|
|
2587
|
-
"text": "
|
|
2465
|
+
"text": "Element | null"
|
|
2588
2466
|
},
|
|
2589
|
-
"
|
|
2590
|
-
"
|
|
2591
|
-
"attribute": "loading",
|
|
2592
|
-
"reflects": true
|
|
2467
|
+
"privacy": "private",
|
|
2468
|
+
"default": "null"
|
|
2593
2469
|
},
|
|
2594
2470
|
{
|
|
2595
2471
|
"kind": "field",
|
|
2596
|
-
"name": "
|
|
2472
|
+
"name": "_jsonLdScript",
|
|
2597
2473
|
"type": {
|
|
2598
|
-
"text": "
|
|
2474
|
+
"text": "HTMLScriptElement | null"
|
|
2599
2475
|
},
|
|
2600
|
-
"
|
|
2601
|
-
"
|
|
2602
|
-
"attribute": "type"
|
|
2476
|
+
"privacy": "private",
|
|
2477
|
+
"default": "null"
|
|
2603
2478
|
},
|
|
2604
2479
|
{
|
|
2605
2480
|
"kind": "field",
|
|
2606
|
-
"name": "
|
|
2481
|
+
"name": "_boundEllipsisClick",
|
|
2607
2482
|
"type": {
|
|
2608
|
-
"text": "
|
|
2483
|
+
"text": "(e: Event) => void"
|
|
2609
2484
|
},
|
|
2610
|
-
"
|
|
2611
|
-
"description": "When set, renders an anchor element instead of a button.",
|
|
2612
|
-
"attribute": "href"
|
|
2485
|
+
"privacy": "private"
|
|
2613
2486
|
},
|
|
2614
2487
|
{
|
|
2615
2488
|
"kind": "field",
|
|
2616
|
-
"name": "
|
|
2489
|
+
"name": "_boundEllipsisKeydown",
|
|
2617
2490
|
"type": {
|
|
2618
|
-
"text": "
|
|
2491
|
+
"text": "(e: KeyboardEvent) => void"
|
|
2619
2492
|
},
|
|
2620
|
-
"
|
|
2621
|
-
"description": "Anchor target attribute. Only used when href is set.",
|
|
2622
|
-
"attribute": "target"
|
|
2493
|
+
"privacy": "private"
|
|
2623
2494
|
},
|
|
2624
2495
|
{
|
|
2625
2496
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2627
|
-
"
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
"
|
|
2631
|
-
"description": "Form field name submitted via ElementInternals.setFormValue on submit.",
|
|
2632
|
-
"attribute": "name"
|
|
2497
|
+
"name": "_managedCurrentItems",
|
|
2498
|
+
"privacy": "private",
|
|
2499
|
+
"readonly": true,
|
|
2500
|
+
"default": "new WeakSet<Element>()",
|
|
2501
|
+
"description": "Tracks which items had their `current` attribute set by this component\n(as opposed to set by a consumer/Drupal template). This lets us re-evaluate\npositional current-page detection on each slotchange without incorrectly\ntreating a previously component-set `current` attribute as a consumer-set\nexplicit override."
|
|
2633
2502
|
},
|
|
2634
2503
|
{
|
|
2635
2504
|
"kind": "field",
|
|
2636
|
-
"name": "
|
|
2637
|
-
"
|
|
2638
|
-
|
|
2639
|
-
},
|
|
2640
|
-
"
|
|
2641
|
-
"description": "Form field value submitted via ElementInternals.setFormValue on submit.",
|
|
2642
|
-
"attribute": "value"
|
|
2505
|
+
"name": "_jsonLdId",
|
|
2506
|
+
"privacy": "private",
|
|
2507
|
+
"readonly": true,
|
|
2508
|
+
"default": "`hx-breadcrumb-ld-${++HelixBreadcrumb._instanceCounter}`",
|
|
2509
|
+
"description": "Stable per-instance ID used to tag the injected script element so that\nmultiple hx-breadcrumb instances on the same page don't produce conflicting\nor duplicate structured-data blocks. Each instance owns exactly one script\ntag identified by this ID; any stale tag from a previous render cycle is\nremoved before a new one is inserted.\n\nUses a static counter (not Math.random()) so IDs are deterministic across\nserver and client renders, enabling SSR hydration matching."
|
|
2643
2510
|
},
|
|
2644
2511
|
{
|
|
2645
|
-
"kind": "
|
|
2646
|
-
"name": "
|
|
2647
|
-
"
|
|
2648
|
-
|
|
2512
|
+
"kind": "method",
|
|
2513
|
+
"name": "_getBreadcrumbItems",
|
|
2514
|
+
"privacy": "private",
|
|
2515
|
+
"return": {
|
|
2516
|
+
"type": {
|
|
2517
|
+
"text": "Element[]"
|
|
2518
|
+
}
|
|
2649
2519
|
},
|
|
2650
|
-
"
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2520
|
+
"parameters": [
|
|
2521
|
+
{
|
|
2522
|
+
"name": "slot",
|
|
2523
|
+
"type": {
|
|
2524
|
+
"text": "HTMLSlotElement"
|
|
2525
|
+
}
|
|
2526
|
+
}
|
|
2527
|
+
],
|
|
2528
|
+
"description": "Returns only real breadcrumb items, excluding the managed ellipsis element."
|
|
2654
2529
|
},
|
|
2655
2530
|
{
|
|
2656
|
-
"kind": "
|
|
2657
|
-
"name": "
|
|
2658
|
-
"
|
|
2659
|
-
|
|
2531
|
+
"kind": "method",
|
|
2532
|
+
"name": "_applyItemAttributes",
|
|
2533
|
+
"privacy": "private",
|
|
2534
|
+
"return": {
|
|
2535
|
+
"type": {
|
|
2536
|
+
"text": "void"
|
|
2537
|
+
}
|
|
2660
2538
|
},
|
|
2661
|
-
"
|
|
2662
|
-
|
|
2539
|
+
"parameters": [
|
|
2540
|
+
{
|
|
2541
|
+
"name": "items",
|
|
2542
|
+
"type": {
|
|
2543
|
+
"text": "Element[]"
|
|
2544
|
+
}
|
|
2545
|
+
}
|
|
2546
|
+
],
|
|
2547
|
+
"description": "Applies aria/state attributes to the item list.\n\nCurrent-page detection: if any item has an explicit `current` attribute\n(e.g. set by a Drupal Twig template), that item is treated as the current\npage. Otherwise the last item is the current page (default behaviour).\n\nThis separation allows Drupal to control current-page marking without\nrelying on item order."
|
|
2663
2548
|
},
|
|
2664
2549
|
{
|
|
2665
2550
|
"kind": "method",
|
|
2666
|
-
"name": "
|
|
2551
|
+
"name": "_handleSlotChange",
|
|
2667
2552
|
"privacy": "private",
|
|
2668
2553
|
"return": {
|
|
2669
2554
|
"type": {
|
|
@@ -2674,182 +2559,258 @@
|
|
|
2674
2559
|
{
|
|
2675
2560
|
"name": "e",
|
|
2676
2561
|
"type": {
|
|
2677
|
-
"text": "
|
|
2562
|
+
"text": "Event"
|
|
2678
2563
|
}
|
|
2679
2564
|
}
|
|
2680
2565
|
]
|
|
2681
2566
|
},
|
|
2682
2567
|
{
|
|
2683
2568
|
"kind": "method",
|
|
2684
|
-
"name": "
|
|
2569
|
+
"name": "_handleSeparatorSlotChange",
|
|
2685
2570
|
"privacy": "private",
|
|
2686
2571
|
"return": {
|
|
2687
2572
|
"type": {
|
|
2688
|
-
"text": "
|
|
2573
|
+
"text": "void"
|
|
2689
2574
|
}
|
|
2690
|
-
}
|
|
2575
|
+
},
|
|
2576
|
+
"parameters": [
|
|
2577
|
+
{
|
|
2578
|
+
"name": "e",
|
|
2579
|
+
"type": {
|
|
2580
|
+
"text": "Event"
|
|
2581
|
+
}
|
|
2582
|
+
}
|
|
2583
|
+
]
|
|
2691
2584
|
},
|
|
2692
2585
|
{
|
|
2693
2586
|
"kind": "method",
|
|
2694
|
-
"name": "
|
|
2587
|
+
"name": "_applyCollapse",
|
|
2695
2588
|
"privacy": "private",
|
|
2696
2589
|
"return": {
|
|
2697
2590
|
"type": {
|
|
2698
|
-
"text": "
|
|
2591
|
+
"text": "void"
|
|
2699
2592
|
}
|
|
2700
|
-
}
|
|
2701
|
-
}
|
|
2702
|
-
],
|
|
2703
|
-
"events": [
|
|
2704
|
-
{
|
|
2705
|
-
"name": "hx-click",
|
|
2706
|
-
"type": {
|
|
2707
|
-
"text": "CustomEvent<{originalEvent: MouseEvent}>"
|
|
2708
2593
|
},
|
|
2709
|
-
"
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2594
|
+
"parameters": [
|
|
2595
|
+
{
|
|
2596
|
+
"name": "items",
|
|
2597
|
+
"type": {
|
|
2598
|
+
"text": "Element[]"
|
|
2599
|
+
}
|
|
2600
|
+
}
|
|
2601
|
+
]
|
|
2602
|
+
},
|
|
2713
2603
|
{
|
|
2714
|
-
"
|
|
2715
|
-
"
|
|
2716
|
-
|
|
2604
|
+
"kind": "method",
|
|
2605
|
+
"name": "_removeCollapse",
|
|
2606
|
+
"privacy": "private",
|
|
2607
|
+
"return": {
|
|
2608
|
+
"type": {
|
|
2609
|
+
"text": "void"
|
|
2610
|
+
}
|
|
2717
2611
|
},
|
|
2718
|
-
"
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2612
|
+
"parameters": [
|
|
2613
|
+
{
|
|
2614
|
+
"name": "items",
|
|
2615
|
+
"type": {
|
|
2616
|
+
"text": "Element[]"
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2619
|
+
]
|
|
2722
2620
|
},
|
|
2723
2621
|
{
|
|
2724
|
-
"
|
|
2725
|
-
"
|
|
2726
|
-
|
|
2622
|
+
"kind": "method",
|
|
2623
|
+
"name": "_handleEllipsisClick",
|
|
2624
|
+
"privacy": "private",
|
|
2625
|
+
"return": {
|
|
2626
|
+
"type": {
|
|
2627
|
+
"text": "void"
|
|
2628
|
+
}
|
|
2727
2629
|
},
|
|
2728
|
-
"
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2630
|
+
"parameters": [
|
|
2631
|
+
{
|
|
2632
|
+
"name": "e",
|
|
2633
|
+
"type": {
|
|
2634
|
+
"text": "Event"
|
|
2635
|
+
}
|
|
2636
|
+
}
|
|
2637
|
+
]
|
|
2732
2638
|
},
|
|
2733
2639
|
{
|
|
2734
|
-
"
|
|
2735
|
-
"
|
|
2736
|
-
|
|
2640
|
+
"kind": "method",
|
|
2641
|
+
"name": "_handleEllipsisKeydown",
|
|
2642
|
+
"privacy": "private",
|
|
2643
|
+
"return": {
|
|
2644
|
+
"type": {
|
|
2645
|
+
"text": "void"
|
|
2646
|
+
}
|
|
2737
2647
|
},
|
|
2738
|
-
"
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2648
|
+
"parameters": [
|
|
2649
|
+
{
|
|
2650
|
+
"name": "e",
|
|
2651
|
+
"type": {
|
|
2652
|
+
"text": "KeyboardEvent"
|
|
2653
|
+
}
|
|
2654
|
+
}
|
|
2655
|
+
]
|
|
2742
2656
|
},
|
|
2743
2657
|
{
|
|
2744
|
-
"
|
|
2745
|
-
"
|
|
2746
|
-
|
|
2658
|
+
"kind": "method",
|
|
2659
|
+
"name": "_expandBreadcrumb",
|
|
2660
|
+
"privacy": "private",
|
|
2661
|
+
"return": {
|
|
2662
|
+
"type": {
|
|
2663
|
+
"text": "void"
|
|
2664
|
+
}
|
|
2747
2665
|
},
|
|
2748
|
-
"
|
|
2749
|
-
"description": "Whether the button is in a loading state. Shows spinner, prevents interaction,\nand sets aria-busy. Does not set the disabled attribute.",
|
|
2750
|
-
"fieldName": "loading",
|
|
2751
|
-
"attribute": "loading"
|
|
2666
|
+
"description": "Expands a collapsed breadcrumb by resetting maxItems to 0.\nCalled by the ellipsis expand button (click or Enter/Space)."
|
|
2752
2667
|
},
|
|
2753
2668
|
{
|
|
2754
|
-
"
|
|
2755
|
-
"
|
|
2756
|
-
|
|
2669
|
+
"kind": "method",
|
|
2670
|
+
"name": "_buildListItem",
|
|
2671
|
+
"privacy": "private",
|
|
2672
|
+
"return": {
|
|
2673
|
+
"type": {
|
|
2674
|
+
"text": "JsonLdListItem"
|
|
2675
|
+
}
|
|
2757
2676
|
},
|
|
2758
|
-
"
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2677
|
+
"parameters": [
|
|
2678
|
+
{
|
|
2679
|
+
"name": "item",
|
|
2680
|
+
"type": {
|
|
2681
|
+
"text": "Element"
|
|
2682
|
+
}
|
|
2683
|
+
},
|
|
2684
|
+
{
|
|
2685
|
+
"name": "position",
|
|
2686
|
+
"type": {
|
|
2687
|
+
"text": "number"
|
|
2688
|
+
}
|
|
2689
|
+
}
|
|
2690
|
+
],
|
|
2691
|
+
"description": "JSON-LD ListItem entry with typed fields to avoid Record<string, unknown>."
|
|
2762
2692
|
},
|
|
2763
2693
|
{
|
|
2764
|
-
"
|
|
2765
|
-
"
|
|
2766
|
-
|
|
2694
|
+
"kind": "method",
|
|
2695
|
+
"name": "_updateJsonLd",
|
|
2696
|
+
"privacy": "private",
|
|
2697
|
+
"return": {
|
|
2698
|
+
"type": {
|
|
2699
|
+
"text": "void"
|
|
2700
|
+
}
|
|
2767
2701
|
},
|
|
2768
|
-
"
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2702
|
+
"parameters": [
|
|
2703
|
+
{
|
|
2704
|
+
"name": "items",
|
|
2705
|
+
"type": {
|
|
2706
|
+
"text": "Element[]"
|
|
2707
|
+
}
|
|
2708
|
+
}
|
|
2709
|
+
]
|
|
2772
2710
|
},
|
|
2773
2711
|
{
|
|
2774
|
-
"
|
|
2712
|
+
"kind": "method",
|
|
2713
|
+
"name": "_removeJsonLd",
|
|
2714
|
+
"privacy": "private",
|
|
2715
|
+
"return": {
|
|
2716
|
+
"type": {
|
|
2717
|
+
"text": "void"
|
|
2718
|
+
}
|
|
2719
|
+
}
|
|
2720
|
+
}
|
|
2721
|
+
],
|
|
2722
|
+
"attributes": [
|
|
2723
|
+
{
|
|
2724
|
+
"name": "separator",
|
|
2775
2725
|
"type": {
|
|
2776
|
-
"text": "string
|
|
2777
|
-
},
|
|
2778
|
-
"default": "
|
|
2779
|
-
"description": "
|
|
2780
|
-
"fieldName": "
|
|
2781
|
-
"attribute": "
|
|
2726
|
+
"text": "string"
|
|
2727
|
+
},
|
|
2728
|
+
"default": "'/'",
|
|
2729
|
+
"description": "The separator character displayed between breadcrumb items.",
|
|
2730
|
+
"fieldName": "separator",
|
|
2731
|
+
"attribute": "separator"
|
|
2782
2732
|
},
|
|
2783
2733
|
{
|
|
2784
|
-
"name": "
|
|
2734
|
+
"name": "label",
|
|
2785
2735
|
"type": {
|
|
2786
|
-
"text": "string
|
|
2736
|
+
"text": "string"
|
|
2787
2737
|
},
|
|
2788
|
-
"default": "
|
|
2789
|
-
"description": "
|
|
2790
|
-
"fieldName": "
|
|
2791
|
-
"attribute": "
|
|
2738
|
+
"default": "'Breadcrumb'",
|
|
2739
|
+
"description": "The accessible label for the nav landmark.",
|
|
2740
|
+
"fieldName": "label",
|
|
2741
|
+
"attribute": "label"
|
|
2792
2742
|
},
|
|
2793
2743
|
{
|
|
2794
|
-
"name": "
|
|
2744
|
+
"name": "max-items",
|
|
2795
2745
|
"type": {
|
|
2796
|
-
"text": "
|
|
2746
|
+
"text": "number"
|
|
2797
2747
|
},
|
|
2798
|
-
"default": "
|
|
2799
|
-
"description": "
|
|
2800
|
-
"fieldName": "
|
|
2801
|
-
"attribute": "
|
|
2748
|
+
"default": "0",
|
|
2749
|
+
"description": "Maximum number of items to show before collapsing middle items with an ellipsis.\nSet to 0 (default) to show all items. The ellipsis is a keyboard-accessible\nbutton; activating it expands the full breadcrumb by setting maxItems to 0.",
|
|
2750
|
+
"fieldName": "maxItems",
|
|
2751
|
+
"attribute": "max-items"
|
|
2802
2752
|
},
|
|
2803
2753
|
{
|
|
2804
|
-
"name": "
|
|
2754
|
+
"name": "json-ld",
|
|
2805
2755
|
"type": {
|
|
2806
|
-
"text": "
|
|
2756
|
+
"text": "boolean"
|
|
2807
2757
|
},
|
|
2808
|
-
"default": "
|
|
2809
|
-
"description": "
|
|
2810
|
-
"fieldName": "
|
|
2811
|
-
"attribute": "
|
|
2758
|
+
"default": "false",
|
|
2759
|
+
"description": "When true, injects a JSON-LD BreadcrumbList structured data script into the document head.\n\nNOTE: Drupal manages `<head>` content via its own render pipeline. Injecting a\n`<script>` directly via `document.head.appendChild()` in a Drupal context:\n1. Bypasses Drupal's deduplication and `hook_html_head_alter()` hook.\n2. Is not cacheable by Drupal's page cache.\n3. Will be wiped on BigPipe partial page replacements.\n\nFor Drupal integrations, leave `json-ld` false and use the structured data\nTwig template instead (see `hx-breadcrumb.twig` in the component directory).",
|
|
2760
|
+
"fieldName": "jsonLd",
|
|
2761
|
+
"attribute": "json-ld"
|
|
2812
2762
|
}
|
|
2813
2763
|
],
|
|
2814
2764
|
"superclass": {
|
|
2815
2765
|
"name": "LitElement",
|
|
2816
2766
|
"package": "lit"
|
|
2817
2767
|
},
|
|
2818
|
-
"tagName": "hx-
|
|
2819
|
-
"customElement": true
|
|
2820
|
-
|
|
2768
|
+
"tagName": "hx-breadcrumb",
|
|
2769
|
+
"customElement": true
|
|
2770
|
+
},
|
|
2771
|
+
{
|
|
2772
|
+
"kind": "variable",
|
|
2773
|
+
"name": "name"
|
|
2821
2774
|
}
|
|
2822
2775
|
],
|
|
2823
2776
|
"exports": [
|
|
2824
2777
|
{
|
|
2825
2778
|
"kind": "js",
|
|
2826
|
-
"name": "
|
|
2779
|
+
"name": "HelixBreadcrumb",
|
|
2827
2780
|
"declaration": {
|
|
2828
|
-
"name": "
|
|
2829
|
-
"module": "src/components/hx-
|
|
2781
|
+
"name": "HelixBreadcrumb",
|
|
2782
|
+
"module": "src/components/hx-breadcrumb/hx-breadcrumb.ts"
|
|
2830
2783
|
}
|
|
2831
2784
|
},
|
|
2832
2785
|
{
|
|
2833
2786
|
"kind": "custom-element-definition",
|
|
2834
|
-
"name": "hx-
|
|
2787
|
+
"name": "hx-breadcrumb",
|
|
2835
2788
|
"declaration": {
|
|
2836
|
-
"name": "
|
|
2837
|
-
"module": "src/components/hx-
|
|
2789
|
+
"name": "HelixBreadcrumb",
|
|
2790
|
+
"module": "src/components/hx-breadcrumb/hx-breadcrumb.ts"
|
|
2838
2791
|
}
|
|
2839
2792
|
}
|
|
2840
2793
|
]
|
|
2841
2794
|
},
|
|
2842
2795
|
{
|
|
2843
2796
|
"kind": "javascript-module",
|
|
2844
|
-
"path": "src/components/hx-
|
|
2797
|
+
"path": "src/components/hx-breadcrumb/index.ts",
|
|
2845
2798
|
"declarations": [],
|
|
2846
2799
|
"exports": [
|
|
2847
2800
|
{
|
|
2848
2801
|
"kind": "js",
|
|
2849
|
-
"name": "
|
|
2802
|
+
"name": "HelixBreadcrumb",
|
|
2850
2803
|
"declaration": {
|
|
2851
|
-
"name": "
|
|
2852
|
-
"module": "./hx-
|
|
2804
|
+
"name": "HelixBreadcrumb",
|
|
2805
|
+
"module": "./hx-breadcrumb.js"
|
|
2806
|
+
}
|
|
2807
|
+
},
|
|
2808
|
+
{
|
|
2809
|
+
"kind": "js",
|
|
2810
|
+
"name": "HelixBreadcrumbItem",
|
|
2811
|
+
"declaration": {
|
|
2812
|
+
"name": "HelixBreadcrumbItem",
|
|
2813
|
+
"module": "./hx-breadcrumb-item.js"
|
|
2853
2814
|
}
|
|
2854
2815
|
}
|
|
2855
2816
|
]
|
|
@@ -2896,11 +2857,19 @@
|
|
|
2896
2857
|
"type": {
|
|
2897
2858
|
"text": "'horizontal' | 'vertical'"
|
|
2898
2859
|
},
|
|
2899
|
-
"default": "'horizontal'",
|
|
2900
2860
|
"description": "Layout orientation of the button group.",
|
|
2901
2861
|
"attribute": "orientation",
|
|
2902
2862
|
"reflects": true
|
|
2903
2863
|
},
|
|
2864
|
+
{
|
|
2865
|
+
"kind": "field",
|
|
2866
|
+
"name": "_orientation",
|
|
2867
|
+
"type": {
|
|
2868
|
+
"text": "'horizontal' | 'vertical'"
|
|
2869
|
+
},
|
|
2870
|
+
"privacy": "private",
|
|
2871
|
+
"default": "'horizontal'"
|
|
2872
|
+
},
|
|
2904
2873
|
{
|
|
2905
2874
|
"kind": "field",
|
|
2906
2875
|
"name": "size",
|
|
@@ -2937,7 +2906,6 @@
|
|
|
2937
2906
|
"type": {
|
|
2938
2907
|
"text": "'horizontal' | 'vertical'"
|
|
2939
2908
|
},
|
|
2940
|
-
"default": "'horizontal'",
|
|
2941
2909
|
"description": "Layout orientation of the button group.",
|
|
2942
2910
|
"fieldName": "orientation",
|
|
2943
2911
|
"attribute": "orientation"
|
|
@@ -4990,11 +4958,19 @@
|
|
|
4990
4958
|
"type": {
|
|
4991
4959
|
"text": "'vertical' | 'horizontal'"
|
|
4992
4960
|
},
|
|
4993
|
-
"default": "'vertical'",
|
|
4994
4961
|
"description": "Layout orientation of the checkbox items.",
|
|
4995
4962
|
"attribute": "orientation",
|
|
4996
4963
|
"reflects": true
|
|
4997
4964
|
},
|
|
4965
|
+
{
|
|
4966
|
+
"kind": "field",
|
|
4967
|
+
"name": "_orientation",
|
|
4968
|
+
"type": {
|
|
4969
|
+
"text": "'vertical' | 'horizontal'"
|
|
4970
|
+
},
|
|
4971
|
+
"privacy": "private",
|
|
4972
|
+
"default": "'vertical'"
|
|
4973
|
+
},
|
|
4998
4974
|
{
|
|
4999
4975
|
"kind": "field",
|
|
5000
4976
|
"name": "_hasErrorSlot",
|
|
@@ -5300,7 +5276,6 @@
|
|
|
5300
5276
|
"type": {
|
|
5301
5277
|
"text": "'vertical' | 'horizontal'"
|
|
5302
5278
|
},
|
|
5303
|
-
"default": "'vertical'",
|
|
5304
5279
|
"description": "Layout orientation of the checkbox items.",
|
|
5305
5280
|
"fieldName": "orientation",
|
|
5306
5281
|
"attribute": "orientation"
|
|
@@ -7516,7 +7491,7 @@
|
|
|
7516
7491
|
"declarations": [
|
|
7517
7492
|
{
|
|
7518
7493
|
"kind": "class",
|
|
7519
|
-
"description": "A layout container that constrains content width and provides\nconsistent vertical spacing and horizontal gutters.\n\nUses a two-layer model: the outer host spans full width (background,\nvertical padding), while the inner wrapper constrains max-width,\ncenters content, and applies horizontal gutters.",
|
|
7494
|
+
"description": "A layout container that constrains content width and provides\nconsistent vertical spacing and horizontal gutters.\n\nUses a two-layer model: the outer host spans full width (background,\nvertical padding), while the inner wrapper constrains max-width,\ncenters content, and applies horizontal gutters.\n\n## Accessibility\n\n`hx-container` is a purely visual layout primitive with no semantic meaning.\nIt carries no ARIA role and is intentionally transparent to assistive\ntechnologies. Screen readers announce the container's children directly,\nnot the container itself.\n\nThe inner wrapper always centers content horizontally (via `margin: auto`).\nThis is by design for page-layout use cases. If you need non-centered\nalignment at a specific breakpoint, override `margin-left` and\n`margin-right` on `::part(inner)` from your stylesheet.",
|
|
7520
7495
|
"name": "HelixContainer",
|
|
7521
7496
|
"cssProperties": [
|
|
7522
7497
|
{
|
|
@@ -7662,6 +7637,14 @@
|
|
|
7662
7637
|
"name": "HelixContainer",
|
|
7663
7638
|
"module": "./hx-container.js"
|
|
7664
7639
|
}
|
|
7640
|
+
},
|
|
7641
|
+
{
|
|
7642
|
+
"kind": "js",
|
|
7643
|
+
"name": "WcContainer",
|
|
7644
|
+
"declaration": {
|
|
7645
|
+
"name": "WcContainer",
|
|
7646
|
+
"module": "./hx-container.js"
|
|
7647
|
+
}
|
|
7665
7648
|
}
|
|
7666
7649
|
]
|
|
7667
7650
|
},
|
|
@@ -7762,7 +7745,7 @@
|
|
|
7762
7745
|
"text": "'sm' | 'md' | 'lg'"
|
|
7763
7746
|
},
|
|
7764
7747
|
"default": "'md'",
|
|
7765
|
-
"description": "Visual size of the button. Maps to fixed height and padding tokens.\nAccepts: 'sm' | 'md' | 'lg'. Invalid values are silently coerced to 'md'.",
|
|
7748
|
+
"description": "Visual size of the button. Maps to fixed height and padding tokens.\nAccepts: 'sm' | 'md' | 'lg'. Invalid values are silently coerced to 'md'.\n\n**Accessibility (WCAG 2.5.8):** The `sm` variant uses `--hx-size-8` for\nits minimum width and height. Ensure this token resolves to at least 24×24 px\n(WCAG 2.5.8 AA minimum target size). For touch-primary interfaces such as\nmobile clinical apps, prefer `md` or `lg` to meet the 44×44 px recommended\ntarget size (WCAG 2.5.5 AAA / Apple HIG / Android guidelines).",
|
|
7766
7749
|
"attribute": "hx-size",
|
|
7767
7750
|
"reflects": true
|
|
7768
7751
|
},
|
|
@@ -7933,7 +7916,7 @@
|
|
|
7933
7916
|
"text": "'sm' | 'md' | 'lg'"
|
|
7934
7917
|
},
|
|
7935
7918
|
"default": "'md'",
|
|
7936
|
-
"description": "Visual size of the button. Maps to fixed height and padding tokens.\nAccepts: 'sm' | 'md' | 'lg'. Invalid values are silently coerced to 'md'.",
|
|
7919
|
+
"description": "Visual size of the button. Maps to fixed height and padding tokens.\nAccepts: 'sm' | 'md' | 'lg'. Invalid values are silently coerced to 'md'.\n\n**Accessibility (WCAG 2.5.8):** The `sm` variant uses `--hx-size-8` for\nits minimum width and height. Ensure this token resolves to at least 24×24 px\n(WCAG 2.5.8 AA minimum target size). For touch-primary interfaces such as\nmobile clinical apps, prefer `md` or `lg` to meet the 44×44 px recommended\ntarget size (WCAG 2.5.5 AAA / Apple HIG / Android guidelines).",
|
|
7937
7920
|
"fieldName": "size",
|
|
7938
7921
|
"attribute": "hx-size"
|
|
7939
7922
|
},
|
|
@@ -10328,7 +10311,7 @@
|
|
|
10328
10311
|
},
|
|
10329
10312
|
{
|
|
10330
10313
|
"description": "The built-in close button.",
|
|
10331
|
-
"name": "close-
|
|
10314
|
+
"name": "close-btn"
|
|
10332
10315
|
},
|
|
10333
10316
|
{
|
|
10334
10317
|
"description": "The scrollable body region.",
|
|
@@ -13870,455 +13853,793 @@
|
|
|
13870
13853
|
"name": "LitElement",
|
|
13871
13854
|
"package": "lit"
|
|
13872
13855
|
},
|
|
13873
|
-
"tagName": "hx-grid-item",
|
|
13856
|
+
"tagName": "hx-grid-item",
|
|
13857
|
+
"customElement": true,
|
|
13858
|
+
"summary": "Grid item with explicit column/row placement."
|
|
13859
|
+
}
|
|
13860
|
+
],
|
|
13861
|
+
"exports": [
|
|
13862
|
+
{
|
|
13863
|
+
"kind": "js",
|
|
13864
|
+
"name": "HelixGrid",
|
|
13865
|
+
"declaration": {
|
|
13866
|
+
"name": "HelixGrid",
|
|
13867
|
+
"module": "src/components/hx-grid/hx-grid.ts"
|
|
13868
|
+
}
|
|
13869
|
+
},
|
|
13870
|
+
{
|
|
13871
|
+
"kind": "custom-element-definition",
|
|
13872
|
+
"name": "hx-grid",
|
|
13873
|
+
"declaration": {
|
|
13874
|
+
"name": "HelixGrid",
|
|
13875
|
+
"module": "src/components/hx-grid/hx-grid.ts"
|
|
13876
|
+
}
|
|
13877
|
+
},
|
|
13878
|
+
{
|
|
13879
|
+
"kind": "js",
|
|
13880
|
+
"name": "HelixGridItem",
|
|
13881
|
+
"declaration": {
|
|
13882
|
+
"name": "HelixGridItem",
|
|
13883
|
+
"module": "src/components/hx-grid/hx-grid.ts"
|
|
13884
|
+
}
|
|
13885
|
+
},
|
|
13886
|
+
{
|
|
13887
|
+
"kind": "custom-element-definition",
|
|
13888
|
+
"name": "hx-grid-item",
|
|
13889
|
+
"declaration": {
|
|
13890
|
+
"name": "HelixGridItem",
|
|
13891
|
+
"module": "src/components/hx-grid/hx-grid.ts"
|
|
13892
|
+
}
|
|
13893
|
+
}
|
|
13894
|
+
]
|
|
13895
|
+
},
|
|
13896
|
+
{
|
|
13897
|
+
"kind": "javascript-module",
|
|
13898
|
+
"path": "src/components/hx-grid/index.ts",
|
|
13899
|
+
"declarations": [],
|
|
13900
|
+
"exports": [
|
|
13901
|
+
{
|
|
13902
|
+
"kind": "js",
|
|
13903
|
+
"name": "HelixGrid",
|
|
13904
|
+
"declaration": {
|
|
13905
|
+
"name": "HelixGrid",
|
|
13906
|
+
"module": "./hx-grid.js"
|
|
13907
|
+
}
|
|
13908
|
+
},
|
|
13909
|
+
{
|
|
13910
|
+
"kind": "js",
|
|
13911
|
+
"name": "HelixGridItem",
|
|
13912
|
+
"declaration": {
|
|
13913
|
+
"name": "HelixGridItem",
|
|
13914
|
+
"module": "./hx-grid.js"
|
|
13915
|
+
}
|
|
13916
|
+
}
|
|
13917
|
+
]
|
|
13918
|
+
},
|
|
13919
|
+
{
|
|
13920
|
+
"kind": "javascript-module",
|
|
13921
|
+
"path": "src/components/hx-help-text/hx-help-text.ts",
|
|
13922
|
+
"declarations": [
|
|
13923
|
+
{
|
|
13924
|
+
"kind": "class",
|
|
13925
|
+
"description": "Standardized help/hint text displayed below form fields.\nUsed by hx-field as a consistent sub-component for guidance and validation messages.\n\nNon-default variants render an inline icon alongside the text to satisfy\nWCAG 1.4.1 (color is not the sole visual indicator). The `error` variant\nuses `role=\"alert\"` for immediate screen-reader announcement; `warning`\nand `success` use `aria-live=\"polite\"` for non-intrusive announcements.",
|
|
13926
|
+
"name": "HelixHelpText",
|
|
13927
|
+
"cssProperties": [
|
|
13928
|
+
{
|
|
13929
|
+
"description": "Text color.",
|
|
13930
|
+
"name": "--hx-help-text-color",
|
|
13931
|
+
"default": "var(--hx-color-neutral-500)"
|
|
13932
|
+
},
|
|
13933
|
+
{
|
|
13934
|
+
"description": "Font family.",
|
|
13935
|
+
"name": "--hx-help-text-font-family",
|
|
13936
|
+
"default": "var(--hx-font-family-sans)"
|
|
13937
|
+
},
|
|
13938
|
+
{
|
|
13939
|
+
"description": "Font size.",
|
|
13940
|
+
"name": "--hx-help-text-font-size",
|
|
13941
|
+
"default": "var(--hx-font-size-sm)"
|
|
13942
|
+
},
|
|
13943
|
+
{
|
|
13944
|
+
"description": "Font weight.",
|
|
13945
|
+
"name": "--hx-help-text-font-weight",
|
|
13946
|
+
"default": "var(--hx-font-weight-normal)"
|
|
13947
|
+
},
|
|
13948
|
+
{
|
|
13949
|
+
"description": "Line height.",
|
|
13950
|
+
"name": "--hx-help-text-line-height",
|
|
13951
|
+
"default": "var(--hx-line-height-normal)"
|
|
13952
|
+
},
|
|
13953
|
+
{
|
|
13954
|
+
"description": "Gap between icon and text.",
|
|
13955
|
+
"name": "--hx-help-text-icon-gap",
|
|
13956
|
+
"default": "0.375rem"
|
|
13957
|
+
}
|
|
13958
|
+
],
|
|
13959
|
+
"cssParts": [
|
|
13960
|
+
{
|
|
13961
|
+
"description": "The root element of the help text.",
|
|
13962
|
+
"name": "base"
|
|
13963
|
+
},
|
|
13964
|
+
{
|
|
13965
|
+
"description": "The icon wrapper (only rendered for non-default variants).",
|
|
13966
|
+
"name": "icon"
|
|
13967
|
+
},
|
|
13968
|
+
{
|
|
13969
|
+
"description": "The text wrapper around the default slot.",
|
|
13970
|
+
"name": "text"
|
|
13971
|
+
}
|
|
13972
|
+
],
|
|
13973
|
+
"slots": [
|
|
13974
|
+
{
|
|
13975
|
+
"description": "The help text content.",
|
|
13976
|
+
"name": ""
|
|
13977
|
+
}
|
|
13978
|
+
],
|
|
13979
|
+
"members": [
|
|
13980
|
+
{
|
|
13981
|
+
"kind": "field",
|
|
13982
|
+
"name": "variant",
|
|
13983
|
+
"type": {
|
|
13984
|
+
"text": "'default' | 'error' | 'warning' | 'success'"
|
|
13985
|
+
},
|
|
13986
|
+
"default": "'default'",
|
|
13987
|
+
"description": "Visual variant that determines the text color and icon.\nUse `error` for validation errors, `warning` for cautions, `success` for confirmation.",
|
|
13988
|
+
"attribute": "variant",
|
|
13989
|
+
"reflects": true
|
|
13990
|
+
}
|
|
13991
|
+
],
|
|
13992
|
+
"attributes": [
|
|
13993
|
+
{
|
|
13994
|
+
"name": "variant",
|
|
13995
|
+
"type": {
|
|
13996
|
+
"text": "'default' | 'error' | 'warning' | 'success'"
|
|
13997
|
+
},
|
|
13998
|
+
"default": "'default'",
|
|
13999
|
+
"description": "Visual variant that determines the text color and icon.\nUse `error` for validation errors, `warning` for cautions, `success` for confirmation.",
|
|
14000
|
+
"fieldName": "variant",
|
|
14001
|
+
"attribute": "variant"
|
|
14002
|
+
}
|
|
14003
|
+
],
|
|
14004
|
+
"superclass": {
|
|
14005
|
+
"name": "LitElement",
|
|
14006
|
+
"package": "lit"
|
|
14007
|
+
},
|
|
14008
|
+
"tagName": "hx-help-text",
|
|
13874
14009
|
"customElement": true,
|
|
13875
|
-
"summary": "
|
|
14010
|
+
"summary": "Help text displayed below form controls for guidance or validation feedback."
|
|
13876
14011
|
}
|
|
13877
14012
|
],
|
|
13878
14013
|
"exports": [
|
|
13879
14014
|
{
|
|
13880
14015
|
"kind": "js",
|
|
13881
|
-
"name": "
|
|
13882
|
-
"declaration": {
|
|
13883
|
-
"name": "HelixGrid",
|
|
13884
|
-
"module": "src/components/hx-grid/hx-grid.ts"
|
|
13885
|
-
}
|
|
13886
|
-
},
|
|
13887
|
-
{
|
|
13888
|
-
"kind": "custom-element-definition",
|
|
13889
|
-
"name": "hx-grid",
|
|
13890
|
-
"declaration": {
|
|
13891
|
-
"name": "HelixGrid",
|
|
13892
|
-
"module": "src/components/hx-grid/hx-grid.ts"
|
|
13893
|
-
}
|
|
13894
|
-
},
|
|
13895
|
-
{
|
|
13896
|
-
"kind": "js",
|
|
13897
|
-
"name": "HelixGridItem",
|
|
14016
|
+
"name": "HelixHelpText",
|
|
13898
14017
|
"declaration": {
|
|
13899
|
-
"name": "
|
|
13900
|
-
"module": "src/components/hx-
|
|
14018
|
+
"name": "HelixHelpText",
|
|
14019
|
+
"module": "src/components/hx-help-text/hx-help-text.ts"
|
|
13901
14020
|
}
|
|
13902
14021
|
},
|
|
13903
14022
|
{
|
|
13904
14023
|
"kind": "custom-element-definition",
|
|
13905
|
-
"name": "hx-
|
|
14024
|
+
"name": "hx-help-text",
|
|
13906
14025
|
"declaration": {
|
|
13907
|
-
"name": "
|
|
13908
|
-
"module": "src/components/hx-
|
|
14026
|
+
"name": "HelixHelpText",
|
|
14027
|
+
"module": "src/components/hx-help-text/hx-help-text.ts"
|
|
13909
14028
|
}
|
|
13910
14029
|
}
|
|
13911
14030
|
]
|
|
13912
14031
|
},
|
|
13913
14032
|
{
|
|
13914
14033
|
"kind": "javascript-module",
|
|
13915
|
-
"path": "src/components/hx-
|
|
14034
|
+
"path": "src/components/hx-help-text/index.ts",
|
|
13916
14035
|
"declarations": [],
|
|
13917
14036
|
"exports": [
|
|
13918
14037
|
{
|
|
13919
14038
|
"kind": "js",
|
|
13920
|
-
"name": "
|
|
13921
|
-
"declaration": {
|
|
13922
|
-
"name": "HelixGrid",
|
|
13923
|
-
"module": "./hx-grid.js"
|
|
13924
|
-
}
|
|
13925
|
-
},
|
|
13926
|
-
{
|
|
13927
|
-
"kind": "js",
|
|
13928
|
-
"name": "HelixGridItem",
|
|
14039
|
+
"name": "HelixHelpText",
|
|
13929
14040
|
"declaration": {
|
|
13930
|
-
"name": "
|
|
13931
|
-
"module": "./hx-
|
|
14041
|
+
"name": "HelixHelpText",
|
|
14042
|
+
"module": "./hx-help-text.js"
|
|
13932
14043
|
}
|
|
13933
14044
|
}
|
|
13934
14045
|
]
|
|
13935
14046
|
},
|
|
13936
14047
|
{
|
|
13937
14048
|
"kind": "javascript-module",
|
|
13938
|
-
"path": "src/components/hx-
|
|
14049
|
+
"path": "src/components/hx-icon/hx-icon.ts",
|
|
13939
14050
|
"declarations": [
|
|
13940
14051
|
{
|
|
13941
14052
|
"kind": "class",
|
|
13942
|
-
"description": "
|
|
13943
|
-
"name": "
|
|
14053
|
+
"description": "An icon component that supports inline SVG fetching and SVG sprite sheet references.\nDecorative icons are automatically hidden from assistive technology.\nWhen a label is provided the icon is announced as an image with that label.\n\n**Render modes:**\n- **Sprite mode** (recommended for Drupal/SSR): Set `name` and optionally `sprite-url`.\n Renders an `<svg><use href=\"...#name\">` — works server-side without JavaScript.\n- **Inline mode**: Set `src` to a URL of a standalone SVG file. The component fetches,\n sanitizes, and embeds the SVG markup. Requires JavaScript; not server-side renderable.\n For Drupal/Twig templates use sprite mode to avoid content shift before hydration.",
|
|
14054
|
+
"name": "HelixIcon",
|
|
13944
14055
|
"cssProperties": [
|
|
13945
14056
|
{
|
|
13946
|
-
"description": "
|
|
13947
|
-
"name": "--hx-
|
|
13948
|
-
"default": "var(--hx-
|
|
14057
|
+
"description": "Width and height of the icon.",
|
|
14058
|
+
"name": "--hx-icon-size",
|
|
14059
|
+
"default": "var(--hx-size-6,1.5rem)"
|
|
13949
14060
|
},
|
|
13950
14061
|
{
|
|
13951
|
-
"description": "
|
|
13952
|
-
"name": "--hx-
|
|
13953
|
-
"default": "
|
|
14062
|
+
"description": "Icon color.",
|
|
14063
|
+
"name": "--hx-icon-color",
|
|
14064
|
+
"default": "currentColor"
|
|
14065
|
+
}
|
|
14066
|
+
],
|
|
14067
|
+
"cssParts": [
|
|
14068
|
+
{
|
|
14069
|
+
"description": "The SVG element rendered in sprite mode, or the inline SVG container in inline mode. In sprite mode this is an `<svg>` element; in inline mode it is a `<span>` element wrapping the fetched SVG. Both expose the same `part` name for consistent external styling via `::part(svg)`.",
|
|
14070
|
+
"name": "svg"
|
|
14071
|
+
}
|
|
14072
|
+
],
|
|
14073
|
+
"members": [
|
|
14074
|
+
{
|
|
14075
|
+
"kind": "field",
|
|
14076
|
+
"name": "name",
|
|
14077
|
+
"type": {
|
|
14078
|
+
"text": "string"
|
|
14079
|
+
},
|
|
14080
|
+
"default": "''",
|
|
14081
|
+
"description": "Icon name used as the fragment identifier when referencing a sprite sheet.\nFor sprite mode provide the bare symbol id (e.g. `check`). The component\nwill build the full href as `${spriteUrl}#${name}`. If `name` already\nstarts with `#` it is used as-is (inline sprite reference without a base\nURL).",
|
|
14082
|
+
"attribute": "name"
|
|
13954
14083
|
},
|
|
13955
14084
|
{
|
|
13956
|
-
"
|
|
13957
|
-
"name": "
|
|
13958
|
-
"
|
|
14085
|
+
"kind": "field",
|
|
14086
|
+
"name": "src",
|
|
14087
|
+
"type": {
|
|
14088
|
+
"text": "string | undefined"
|
|
14089
|
+
},
|
|
14090
|
+
"default": "undefined",
|
|
14091
|
+
"description": "URL of a standalone SVG file to fetch and render inline. Takes precedence\nover sprite mode when both `src` and `spriteUrl`/`name` are set.\n\n**Note:** Inline mode requires browser JavaScript (`fetch` + `DOMParser`).\nIt is not server-side renderable. For Drupal/Twig use sprite mode instead.",
|
|
14092
|
+
"attribute": "src"
|
|
13959
14093
|
},
|
|
13960
14094
|
{
|
|
13961
|
-
"
|
|
13962
|
-
"name": "
|
|
13963
|
-
"
|
|
14095
|
+
"kind": "field",
|
|
14096
|
+
"name": "spriteUrl",
|
|
14097
|
+
"type": {
|
|
14098
|
+
"text": "string | undefined"
|
|
14099
|
+
},
|
|
14100
|
+
"default": "undefined",
|
|
14101
|
+
"description": "Base URL of the SVG sprite sheet. Used together with `name` to construct\nthe `<use>` href: `${spriteUrl}#${name}`.",
|
|
14102
|
+
"attribute": "sprite-url"
|
|
13964
14103
|
},
|
|
13965
14104
|
{
|
|
13966
|
-
"
|
|
13967
|
-
"name": "
|
|
13968
|
-
"
|
|
14105
|
+
"kind": "field",
|
|
14106
|
+
"name": "size",
|
|
14107
|
+
"type": {
|
|
14108
|
+
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
14109
|
+
},
|
|
14110
|
+
"default": "'md'",
|
|
14111
|
+
"description": "Size variant of the icon.\n\nSet via the `hx-size` HTML attribute (e.g. `hx-size=\"lg\"`) or via the\n`size` JavaScript property (e.g. `el.size = 'lg'`). Both are equivalent —\nthe `attribute: 'hx-size'` mapping is used to avoid colliding with the\nnative `<input>` `size` attribute in Drupal attribute-passthrough scenarios.\nThe CEM exposes both the JS property name (`size`) and the HTML attribute\nname (`hx-size`).",
|
|
14112
|
+
"attribute": "hx-size",
|
|
14113
|
+
"reflects": true
|
|
13969
14114
|
},
|
|
13970
14115
|
{
|
|
13971
|
-
"
|
|
13972
|
-
"name": "
|
|
13973
|
-
"
|
|
13974
|
-
|
|
13975
|
-
|
|
13976
|
-
|
|
14116
|
+
"kind": "field",
|
|
14117
|
+
"name": "label",
|
|
14118
|
+
"type": {
|
|
14119
|
+
"text": "string"
|
|
14120
|
+
},
|
|
14121
|
+
"default": "''",
|
|
14122
|
+
"description": "Accessible label for the icon. When non-empty, `role=\"img\"` and\n`aria-label` are applied so assistive technology announces the icon.\nWhen empty the icon is treated as decorative and `aria-hidden=\"true\"` is\napplied.",
|
|
14123
|
+
"attribute": "label"
|
|
14124
|
+
},
|
|
13977
14125
|
{
|
|
13978
|
-
"
|
|
13979
|
-
"name": "
|
|
14126
|
+
"kind": "field",
|
|
14127
|
+
"name": "_inlineSvg",
|
|
14128
|
+
"type": {
|
|
14129
|
+
"text": "string"
|
|
14130
|
+
},
|
|
14131
|
+
"privacy": "private",
|
|
14132
|
+
"default": "''",
|
|
14133
|
+
"description": "Stores the sanitized inner markup of an externally fetched SVG."
|
|
13980
14134
|
},
|
|
13981
14135
|
{
|
|
13982
|
-
"
|
|
13983
|
-
"name": "
|
|
14136
|
+
"kind": "field",
|
|
14137
|
+
"name": "_fetchedSrc",
|
|
14138
|
+
"type": {
|
|
14139
|
+
"text": "string | undefined"
|
|
14140
|
+
},
|
|
14141
|
+
"privacy": "private",
|
|
14142
|
+
"default": "undefined",
|
|
14143
|
+
"description": "Tracks the `src` URL that was last successfully fetched so that we only\nrefetch when it genuinely changes."
|
|
13984
14144
|
},
|
|
13985
14145
|
{
|
|
13986
|
-
"
|
|
13987
|
-
"name": "
|
|
13988
|
-
|
|
13989
|
-
|
|
13990
|
-
|
|
14146
|
+
"kind": "field",
|
|
14147
|
+
"name": "_fetchSeq",
|
|
14148
|
+
"type": {
|
|
14149
|
+
"text": "number"
|
|
14150
|
+
},
|
|
14151
|
+
"privacy": "private",
|
|
14152
|
+
"default": "0",
|
|
14153
|
+
"description": "Monotonically-increasing sequence number. Incremented before each fetch so\nthat stale out-of-order responses can be discarded."
|
|
14154
|
+
},
|
|
13991
14155
|
{
|
|
13992
|
-
"
|
|
13993
|
-
"name": ""
|
|
14156
|
+
"kind": "method",
|
|
14157
|
+
"name": "_fetchInlineSvg",
|
|
14158
|
+
"privacy": "private",
|
|
14159
|
+
"return": {
|
|
14160
|
+
"type": {
|
|
14161
|
+
"text": "Promise<void>"
|
|
14162
|
+
}
|
|
14163
|
+
},
|
|
14164
|
+
"parameters": [
|
|
14165
|
+
{
|
|
14166
|
+
"name": "url",
|
|
14167
|
+
"type": {
|
|
14168
|
+
"text": "string | undefined"
|
|
14169
|
+
}
|
|
14170
|
+
}
|
|
14171
|
+
]
|
|
14172
|
+
},
|
|
14173
|
+
{
|
|
14174
|
+
"kind": "method",
|
|
14175
|
+
"name": "_sanitizeSvg",
|
|
14176
|
+
"privacy": "private",
|
|
14177
|
+
"return": {
|
|
14178
|
+
"type": {
|
|
14179
|
+
"text": "string"
|
|
14180
|
+
}
|
|
14181
|
+
},
|
|
14182
|
+
"parameters": [
|
|
14183
|
+
{
|
|
14184
|
+
"name": "raw",
|
|
14185
|
+
"type": {
|
|
14186
|
+
"text": "string"
|
|
14187
|
+
}
|
|
14188
|
+
}
|
|
14189
|
+
],
|
|
14190
|
+
"description": "Parses the raw SVG text, strips dangerous content (script elements,\nforeignObject, on* event-handler attributes, javascript:/data: URIs,\nand style attributes that could carry CSS injection payloads), and\nreturns the outer SVG markup safe for rendering via `unsafeHTML`.\n\nAdditionally injects `focusable=\"false\"` on the root SVG element to\nprevent IE11/old-Edge from making the SVG keyboard-focusable, and strips\nany ARIA attributes from the inner SVG to prevent conflicts with the\nwrapper's own ARIA semantics."
|
|
14191
|
+
},
|
|
14192
|
+
{
|
|
14193
|
+
"kind": "method",
|
|
14194
|
+
"name": "_spriteHref",
|
|
14195
|
+
"privacy": "private",
|
|
14196
|
+
"return": {
|
|
14197
|
+
"type": {
|
|
14198
|
+
"text": "string"
|
|
14199
|
+
}
|
|
14200
|
+
},
|
|
14201
|
+
"description": "Returns the href used in the `<use>` element for sprite mode.\nIf `name` already begins with `#` it is treated as an inline reference."
|
|
14202
|
+
},
|
|
14203
|
+
{
|
|
14204
|
+
"kind": "method",
|
|
14205
|
+
"name": "_renderSprite",
|
|
14206
|
+
"privacy": "private"
|
|
14207
|
+
},
|
|
14208
|
+
{
|
|
14209
|
+
"kind": "method",
|
|
14210
|
+
"name": "_renderInline",
|
|
14211
|
+
"privacy": "private"
|
|
13994
14212
|
}
|
|
13995
14213
|
],
|
|
13996
|
-
"
|
|
14214
|
+
"attributes": [
|
|
14215
|
+
{
|
|
14216
|
+
"name": "name",
|
|
14217
|
+
"type": {
|
|
14218
|
+
"text": "string"
|
|
14219
|
+
},
|
|
14220
|
+
"default": "''",
|
|
14221
|
+
"description": "Icon name used as the fragment identifier when referencing a sprite sheet.\nFor sprite mode provide the bare symbol id (e.g. `check`). The component\nwill build the full href as `${spriteUrl}#${name}`. If `name` already\nstarts with `#` it is used as-is (inline sprite reference without a base\nURL).",
|
|
14222
|
+
"fieldName": "name",
|
|
14223
|
+
"attribute": "name"
|
|
14224
|
+
},
|
|
14225
|
+
{
|
|
14226
|
+
"name": "src",
|
|
14227
|
+
"type": {
|
|
14228
|
+
"text": "string | undefined"
|
|
14229
|
+
},
|
|
14230
|
+
"default": "undefined",
|
|
14231
|
+
"description": "URL of a standalone SVG file to fetch and render inline. Takes precedence\nover sprite mode when both `src` and `spriteUrl`/`name` are set.\n\n**Note:** Inline mode requires browser JavaScript (`fetch` + `DOMParser`).\nIt is not server-side renderable. For Drupal/Twig use sprite mode instead.",
|
|
14232
|
+
"fieldName": "src",
|
|
14233
|
+
"attribute": "src"
|
|
14234
|
+
},
|
|
14235
|
+
{
|
|
14236
|
+
"name": "sprite-url",
|
|
14237
|
+
"type": {
|
|
14238
|
+
"text": "string | undefined"
|
|
14239
|
+
},
|
|
14240
|
+
"default": "undefined",
|
|
14241
|
+
"description": "Base URL of the SVG sprite sheet. Used together with `name` to construct\nthe `<use>` href: `${spriteUrl}#${name}`.",
|
|
14242
|
+
"fieldName": "spriteUrl",
|
|
14243
|
+
"attribute": "sprite-url"
|
|
14244
|
+
},
|
|
13997
14245
|
{
|
|
13998
|
-
"
|
|
13999
|
-
"name": "variant",
|
|
14246
|
+
"name": "hx-size",
|
|
14000
14247
|
"type": {
|
|
14001
|
-
"text": "'
|
|
14248
|
+
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
14002
14249
|
},
|
|
14003
|
-
"default": "'
|
|
14004
|
-
"description": "
|
|
14005
|
-
"
|
|
14006
|
-
"
|
|
14007
|
-
}
|
|
14008
|
-
],
|
|
14009
|
-
"attributes": [
|
|
14250
|
+
"default": "'md'",
|
|
14251
|
+
"description": "Size variant of the icon.\n\nSet via the `hx-size` HTML attribute (e.g. `hx-size=\"lg\"`) or via the\n`size` JavaScript property (e.g. `el.size = 'lg'`). Both are equivalent —\nthe `attribute: 'hx-size'` mapping is used to avoid colliding with the\nnative `<input>` `size` attribute in Drupal attribute-passthrough scenarios.\nThe CEM exposes both the JS property name (`size`) and the HTML attribute\nname (`hx-size`).",
|
|
14252
|
+
"fieldName": "size",
|
|
14253
|
+
"attribute": "hx-size"
|
|
14254
|
+
},
|
|
14010
14255
|
{
|
|
14011
|
-
"name": "
|
|
14256
|
+
"name": "label",
|
|
14012
14257
|
"type": {
|
|
14013
|
-
"text": "
|
|
14258
|
+
"text": "string"
|
|
14014
14259
|
},
|
|
14015
|
-
"default": "'
|
|
14016
|
-
"description": "
|
|
14017
|
-
"fieldName": "
|
|
14018
|
-
"attribute": "
|
|
14260
|
+
"default": "''",
|
|
14261
|
+
"description": "Accessible label for the icon. When non-empty, `role=\"img\"` and\n`aria-label` are applied so assistive technology announces the icon.\nWhen empty the icon is treated as decorative and `aria-hidden=\"true\"` is\napplied.",
|
|
14262
|
+
"fieldName": "label",
|
|
14263
|
+
"attribute": "label"
|
|
14019
14264
|
}
|
|
14020
14265
|
],
|
|
14021
14266
|
"superclass": {
|
|
14022
14267
|
"name": "LitElement",
|
|
14023
14268
|
"package": "lit"
|
|
14024
14269
|
},
|
|
14025
|
-
"tagName": "hx-
|
|
14270
|
+
"tagName": "hx-icon",
|
|
14026
14271
|
"customElement": true,
|
|
14027
|
-
"summary": "
|
|
14272
|
+
"summary": "SVG icon with sprite and inline fetch modes for healthcare applications."
|
|
14028
14273
|
}
|
|
14029
14274
|
],
|
|
14030
14275
|
"exports": [
|
|
14031
14276
|
{
|
|
14032
14277
|
"kind": "js",
|
|
14033
|
-
"name": "
|
|
14278
|
+
"name": "HelixIcon",
|
|
14034
14279
|
"declaration": {
|
|
14035
|
-
"name": "
|
|
14036
|
-
"module": "src/components/hx-
|
|
14280
|
+
"name": "HelixIcon",
|
|
14281
|
+
"module": "src/components/hx-icon/hx-icon.ts"
|
|
14037
14282
|
}
|
|
14038
14283
|
},
|
|
14039
14284
|
{
|
|
14040
14285
|
"kind": "custom-element-definition",
|
|
14041
|
-
"name": "hx-
|
|
14286
|
+
"name": "hx-icon",
|
|
14042
14287
|
"declaration": {
|
|
14043
|
-
"name": "
|
|
14044
|
-
"module": "src/components/hx-
|
|
14288
|
+
"name": "HelixIcon",
|
|
14289
|
+
"module": "src/components/hx-icon/hx-icon.ts"
|
|
14045
14290
|
}
|
|
14046
14291
|
}
|
|
14047
14292
|
]
|
|
14048
14293
|
},
|
|
14049
14294
|
{
|
|
14050
14295
|
"kind": "javascript-module",
|
|
14051
|
-
"path": "src/components/hx-
|
|
14296
|
+
"path": "src/components/hx-icon/index.ts",
|
|
14052
14297
|
"declarations": [],
|
|
14053
14298
|
"exports": [
|
|
14054
14299
|
{
|
|
14055
14300
|
"kind": "js",
|
|
14056
|
-
"name": "
|
|
14301
|
+
"name": "HelixIcon",
|
|
14057
14302
|
"declaration": {
|
|
14058
|
-
"name": "
|
|
14059
|
-
"module": "./hx-
|
|
14303
|
+
"name": "HelixIcon",
|
|
14304
|
+
"module": "./hx-icon.js"
|
|
14060
14305
|
}
|
|
14061
14306
|
}
|
|
14062
14307
|
]
|
|
14063
14308
|
},
|
|
14064
14309
|
{
|
|
14065
14310
|
"kind": "javascript-module",
|
|
14066
|
-
"path": "src/components/hx-icon/hx-icon.ts",
|
|
14311
|
+
"path": "src/components/hx-icon-button/hx-icon-button.ts",
|
|
14067
14312
|
"declarations": [
|
|
14068
14313
|
{
|
|
14069
14314
|
"kind": "class",
|
|
14070
|
-
"description": "An icon component
|
|
14071
|
-
"name": "
|
|
14315
|
+
"description": "An icon-only button component for compact, accessible actions.\nRenders a square button or anchor element containing a single icon.\nThe `label` property is required and provides the accessible name\nvia `aria-label` and a native tooltip via the `title` attribute.",
|
|
14316
|
+
"name": "HelixIconButton",
|
|
14072
14317
|
"cssProperties": [
|
|
14073
14318
|
{
|
|
14074
|
-
"description": "
|
|
14075
|
-
"name": "--hx-icon-
|
|
14076
|
-
"default": "
|
|
14319
|
+
"description": "Button background color.",
|
|
14320
|
+
"name": "--hx-icon-button-bg",
|
|
14321
|
+
"default": "transparent"
|
|
14077
14322
|
},
|
|
14078
14323
|
{
|
|
14079
14324
|
"description": "Icon color.",
|
|
14080
|
-
"name": "--hx-icon-color",
|
|
14081
|
-
"default": "
|
|
14325
|
+
"name": "--hx-icon-button-color",
|
|
14326
|
+
"default": "var(--hx-color-primary-500)"
|
|
14327
|
+
},
|
|
14328
|
+
{
|
|
14329
|
+
"description": "Button border color.",
|
|
14330
|
+
"name": "--hx-icon-button-border-color",
|
|
14331
|
+
"default": "transparent"
|
|
14332
|
+
},
|
|
14333
|
+
{
|
|
14334
|
+
"description": "Button border radius.",
|
|
14335
|
+
"name": "--hx-icon-button-border-radius",
|
|
14336
|
+
"default": "var(--hx-border-radius-md)"
|
|
14337
|
+
},
|
|
14338
|
+
{
|
|
14339
|
+
"description": "Explicit width and height override for the button.",
|
|
14340
|
+
"name": "--hx-icon-button-size"
|
|
14341
|
+
},
|
|
14342
|
+
{
|
|
14343
|
+
"description": "Focus ring color.",
|
|
14344
|
+
"name": "--hx-icon-button-focus-ring-color",
|
|
14345
|
+
"default": "var(--hx-focus-ring-color)"
|
|
14082
14346
|
}
|
|
14083
14347
|
],
|
|
14084
14348
|
"cssParts": [
|
|
14085
14349
|
{
|
|
14086
|
-
"description": "The
|
|
14087
|
-
"name": "
|
|
14350
|
+
"description": "The native button or anchor element.",
|
|
14351
|
+
"name": "button"
|
|
14352
|
+
},
|
|
14353
|
+
{
|
|
14354
|
+
"description": "The icon container span wrapping the default slot.",
|
|
14355
|
+
"name": "icon"
|
|
14356
|
+
}
|
|
14357
|
+
],
|
|
14358
|
+
"slots": [
|
|
14359
|
+
{
|
|
14360
|
+
"description": "Icon element to display (hx-icon, svg, or img).",
|
|
14361
|
+
"name": ""
|
|
14088
14362
|
}
|
|
14089
14363
|
],
|
|
14090
14364
|
"members": [
|
|
14091
14365
|
{
|
|
14092
14366
|
"kind": "field",
|
|
14093
|
-
"name": "
|
|
14367
|
+
"name": "label",
|
|
14094
14368
|
"type": {
|
|
14095
14369
|
"text": "string"
|
|
14096
14370
|
},
|
|
14097
14371
|
"default": "''",
|
|
14098
|
-
"description": "
|
|
14099
|
-
"attribute": "
|
|
14372
|
+
"description": "Accessible name for the button. Required. Rendered as `aria-label` and\n`title` on the underlying element. The component renders nothing when absent,\nand a console warning is emitted to alert developers during authoring.",
|
|
14373
|
+
"attribute": "label"
|
|
14100
14374
|
},
|
|
14101
14375
|
{
|
|
14102
14376
|
"kind": "field",
|
|
14103
|
-
"name": "
|
|
14377
|
+
"name": "variant",
|
|
14104
14378
|
"type": {
|
|
14105
|
-
"text": "
|
|
14379
|
+
"text": "'primary' | 'secondary' | 'tertiary' | 'danger' | 'ghost'"
|
|
14106
14380
|
},
|
|
14107
|
-
"default": "
|
|
14108
|
-
"description": "
|
|
14109
|
-
"attribute": "
|
|
14381
|
+
"default": "'ghost'",
|
|
14382
|
+
"description": "Visual style variant of the button.",
|
|
14383
|
+
"attribute": "variant",
|
|
14384
|
+
"reflects": true
|
|
14110
14385
|
},
|
|
14111
14386
|
{
|
|
14112
14387
|
"kind": "field",
|
|
14113
|
-
"name": "
|
|
14388
|
+
"name": "size",
|
|
14114
14389
|
"type": {
|
|
14115
|
-
"text": "
|
|
14390
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
14116
14391
|
},
|
|
14117
|
-
"default": "
|
|
14118
|
-
"description": "
|
|
14119
|
-
"attribute": "
|
|
14392
|
+
"default": "'md'",
|
|
14393
|
+
"description": "Size of the button.",
|
|
14394
|
+
"attribute": "hx-size",
|
|
14395
|
+
"reflects": true
|
|
14120
14396
|
},
|
|
14121
14397
|
{
|
|
14122
14398
|
"kind": "field",
|
|
14123
|
-
"name": "
|
|
14399
|
+
"name": "type",
|
|
14124
14400
|
"type": {
|
|
14125
|
-
"text": "'
|
|
14401
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
14126
14402
|
},
|
|
14127
|
-
"default": "'
|
|
14128
|
-
"description": "
|
|
14129
|
-
"attribute": "
|
|
14403
|
+
"default": "'button'",
|
|
14404
|
+
"description": "The type attribute for the underlying button element.\nHas no effect when `href` is set.",
|
|
14405
|
+
"attribute": "type"
|
|
14406
|
+
},
|
|
14407
|
+
{
|
|
14408
|
+
"kind": "field",
|
|
14409
|
+
"name": "disabled",
|
|
14410
|
+
"type": {
|
|
14411
|
+
"text": "boolean"
|
|
14412
|
+
},
|
|
14413
|
+
"default": "false",
|
|
14414
|
+
"description": "Whether the button is disabled.",
|
|
14415
|
+
"attribute": "disabled",
|
|
14130
14416
|
"reflects": true
|
|
14131
14417
|
},
|
|
14132
14418
|
{
|
|
14133
14419
|
"kind": "field",
|
|
14134
|
-
"name": "
|
|
14420
|
+
"name": "href",
|
|
14135
14421
|
"type": {
|
|
14136
|
-
"text": "string"
|
|
14422
|
+
"text": "string | undefined"
|
|
14137
14423
|
},
|
|
14138
|
-
"default": "
|
|
14139
|
-
"description": "
|
|
14140
|
-
"attribute": "
|
|
14424
|
+
"default": "undefined",
|
|
14425
|
+
"description": "When set, renders an `<a>` element instead of a `<button>`.",
|
|
14426
|
+
"attribute": "href"
|
|
14141
14427
|
},
|
|
14142
14428
|
{
|
|
14143
14429
|
"kind": "field",
|
|
14144
|
-
"name": "
|
|
14430
|
+
"name": "name",
|
|
14145
14431
|
"type": {
|
|
14146
|
-
"text": "string"
|
|
14432
|
+
"text": "string | undefined"
|
|
14147
14433
|
},
|
|
14148
|
-
"
|
|
14149
|
-
"
|
|
14150
|
-
"
|
|
14434
|
+
"default": "undefined",
|
|
14435
|
+
"description": "Name submitted with form data. Only applicable when rendering as a button.",
|
|
14436
|
+
"attribute": "name"
|
|
14151
14437
|
},
|
|
14152
14438
|
{
|
|
14153
14439
|
"kind": "field",
|
|
14154
|
-
"name": "
|
|
14440
|
+
"name": "value",
|
|
14155
14441
|
"type": {
|
|
14156
14442
|
"text": "string | undefined"
|
|
14157
14443
|
},
|
|
14158
|
-
"privacy": "private",
|
|
14159
14444
|
"default": "undefined",
|
|
14160
|
-
"description": "
|
|
14445
|
+
"description": "Value submitted with form data. Only applicable when rendering as a button.",
|
|
14446
|
+
"attribute": "value"
|
|
14161
14447
|
},
|
|
14162
14448
|
{
|
|
14163
14449
|
"kind": "field",
|
|
14164
|
-
"name": "
|
|
14450
|
+
"name": "formAssociated",
|
|
14165
14451
|
"type": {
|
|
14166
|
-
"text": "
|
|
14452
|
+
"text": "boolean"
|
|
14167
14453
|
},
|
|
14168
|
-
"
|
|
14169
|
-
"default": "
|
|
14170
|
-
"description": "Monotonically-increasing sequence number. Incremented before each fetch so\nthat stale out-of-order responses can be discarded."
|
|
14454
|
+
"static": true,
|
|
14455
|
+
"default": "true"
|
|
14171
14456
|
},
|
|
14172
14457
|
{
|
|
14173
|
-
"kind": "
|
|
14174
|
-
"name": "
|
|
14175
|
-
"
|
|
14176
|
-
|
|
14177
|
-
"type": {
|
|
14178
|
-
"text": "Promise<void>"
|
|
14179
|
-
}
|
|
14458
|
+
"kind": "field",
|
|
14459
|
+
"name": "_internals",
|
|
14460
|
+
"type": {
|
|
14461
|
+
"text": "ElementInternals"
|
|
14180
14462
|
},
|
|
14181
|
-
"
|
|
14182
|
-
|
|
14183
|
-
|
|
14184
|
-
|
|
14185
|
-
|
|
14186
|
-
|
|
14187
|
-
|
|
14188
|
-
|
|
14463
|
+
"privacy": "private"
|
|
14464
|
+
},
|
|
14465
|
+
{
|
|
14466
|
+
"kind": "field",
|
|
14467
|
+
"name": "form",
|
|
14468
|
+
"type": {
|
|
14469
|
+
"text": "HTMLFormElement | null"
|
|
14470
|
+
},
|
|
14471
|
+
"description": "Returns the associated form element, if any.",
|
|
14472
|
+
"readonly": true
|
|
14189
14473
|
},
|
|
14190
14474
|
{
|
|
14191
14475
|
"kind": "method",
|
|
14192
|
-
"name": "
|
|
14476
|
+
"name": "_handleClick",
|
|
14193
14477
|
"privacy": "private",
|
|
14194
14478
|
"return": {
|
|
14195
14479
|
"type": {
|
|
14196
|
-
"text": "
|
|
14480
|
+
"text": "void"
|
|
14197
14481
|
}
|
|
14198
14482
|
},
|
|
14199
14483
|
"parameters": [
|
|
14200
14484
|
{
|
|
14201
|
-
"name": "
|
|
14485
|
+
"name": "e",
|
|
14202
14486
|
"type": {
|
|
14203
|
-
"text": "
|
|
14487
|
+
"text": "MouseEvent"
|
|
14204
14488
|
}
|
|
14205
14489
|
}
|
|
14206
|
-
]
|
|
14207
|
-
"description": "Parses the raw SVG text, strips dangerous content (script elements,\nforeignObject, on* event-handler attributes, javascript:/data: URIs,\nand style attributes that could carry CSS injection payloads), and\nreturns the outer SVG markup safe for rendering via `unsafeHTML`.\n\nAdditionally injects `focusable=\"false\"` on the root SVG element to\nprevent IE11/old-Edge from making the SVG keyboard-focusable, and strips\nany ARIA attributes from the inner SVG to prevent conflicts with the\nwrapper's own ARIA semantics."
|
|
14490
|
+
]
|
|
14208
14491
|
},
|
|
14209
14492
|
{
|
|
14210
14493
|
"kind": "method",
|
|
14211
|
-
"name": "
|
|
14494
|
+
"name": "_normalizedLabel",
|
|
14212
14495
|
"privacy": "private",
|
|
14213
14496
|
"return": {
|
|
14214
14497
|
"type": {
|
|
14215
14498
|
"text": "string"
|
|
14216
14499
|
}
|
|
14217
|
-
}
|
|
14218
|
-
"description": "Returns the href used in the `<use>` element for sprite mode.\nIf `name` already begins with `#` it is treated as an inline reference."
|
|
14500
|
+
}
|
|
14219
14501
|
},
|
|
14220
14502
|
{
|
|
14221
14503
|
"kind": "method",
|
|
14222
|
-
"name": "
|
|
14504
|
+
"name": "_classes",
|
|
14223
14505
|
"privacy": "private"
|
|
14224
14506
|
},
|
|
14225
14507
|
{
|
|
14226
14508
|
"kind": "method",
|
|
14227
|
-
"name": "
|
|
14509
|
+
"name": "_iconSlot",
|
|
14228
14510
|
"privacy": "private"
|
|
14229
14511
|
}
|
|
14230
14512
|
],
|
|
14513
|
+
"events": [
|
|
14514
|
+
{
|
|
14515
|
+
"name": "hx-click",
|
|
14516
|
+
"type": {
|
|
14517
|
+
"text": "CustomEvent<{originalEvent: MouseEvent}>"
|
|
14518
|
+
},
|
|
14519
|
+
"description": "Dispatched when the button is clicked (not disabled)."
|
|
14520
|
+
}
|
|
14521
|
+
],
|
|
14231
14522
|
"attributes": [
|
|
14232
14523
|
{
|
|
14233
|
-
"name": "
|
|
14524
|
+
"name": "label",
|
|
14234
14525
|
"type": {
|
|
14235
14526
|
"text": "string"
|
|
14236
14527
|
},
|
|
14237
14528
|
"default": "''",
|
|
14238
|
-
"description": "
|
|
14239
|
-
"fieldName": "
|
|
14240
|
-
"attribute": "
|
|
14529
|
+
"description": "Accessible name for the button. Required. Rendered as `aria-label` and\n`title` on the underlying element. The component renders nothing when absent,\nand a console warning is emitted to alert developers during authoring.",
|
|
14530
|
+
"fieldName": "label",
|
|
14531
|
+
"attribute": "label"
|
|
14241
14532
|
},
|
|
14242
14533
|
{
|
|
14243
|
-
"name": "
|
|
14534
|
+
"name": "variant",
|
|
14535
|
+
"type": {
|
|
14536
|
+
"text": "'primary' | 'secondary' | 'tertiary' | 'danger' | 'ghost'"
|
|
14537
|
+
},
|
|
14538
|
+
"default": "'ghost'",
|
|
14539
|
+
"description": "Visual style variant of the button.",
|
|
14540
|
+
"fieldName": "variant",
|
|
14541
|
+
"attribute": "variant"
|
|
14542
|
+
},
|
|
14543
|
+
{
|
|
14544
|
+
"name": "hx-size",
|
|
14545
|
+
"type": {
|
|
14546
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
14547
|
+
},
|
|
14548
|
+
"default": "'md'",
|
|
14549
|
+
"description": "Size of the button.",
|
|
14550
|
+
"fieldName": "size",
|
|
14551
|
+
"attribute": "hx-size"
|
|
14552
|
+
},
|
|
14553
|
+
{
|
|
14554
|
+
"name": "type",
|
|
14555
|
+
"type": {
|
|
14556
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
14557
|
+
},
|
|
14558
|
+
"default": "'button'",
|
|
14559
|
+
"description": "The type attribute for the underlying button element.\nHas no effect when `href` is set.",
|
|
14560
|
+
"fieldName": "type",
|
|
14561
|
+
"attribute": "type"
|
|
14562
|
+
},
|
|
14563
|
+
{
|
|
14564
|
+
"name": "disabled",
|
|
14244
14565
|
"type": {
|
|
14245
|
-
"text": "
|
|
14566
|
+
"text": "boolean"
|
|
14246
14567
|
},
|
|
14247
|
-
"default": "
|
|
14248
|
-
"description": "
|
|
14249
|
-
"fieldName": "
|
|
14250
|
-
"attribute": "
|
|
14568
|
+
"default": "false",
|
|
14569
|
+
"description": "Whether the button is disabled.",
|
|
14570
|
+
"fieldName": "disabled",
|
|
14571
|
+
"attribute": "disabled"
|
|
14251
14572
|
},
|
|
14252
14573
|
{
|
|
14253
|
-
"name": "
|
|
14574
|
+
"name": "href",
|
|
14254
14575
|
"type": {
|
|
14255
14576
|
"text": "string | undefined"
|
|
14256
14577
|
},
|
|
14257
14578
|
"default": "undefined",
|
|
14258
|
-
"description": "
|
|
14259
|
-
"fieldName": "
|
|
14260
|
-
"attribute": "
|
|
14579
|
+
"description": "When set, renders an `<a>` element instead of a `<button>`.",
|
|
14580
|
+
"fieldName": "href",
|
|
14581
|
+
"attribute": "href"
|
|
14261
14582
|
},
|
|
14262
14583
|
{
|
|
14263
|
-
"name": "
|
|
14584
|
+
"name": "name",
|
|
14264
14585
|
"type": {
|
|
14265
|
-
"text": "
|
|
14586
|
+
"text": "string | undefined"
|
|
14266
14587
|
},
|
|
14267
|
-
"default": "
|
|
14268
|
-
"description": "
|
|
14269
|
-
"fieldName": "
|
|
14270
|
-
"attribute": "
|
|
14588
|
+
"default": "undefined",
|
|
14589
|
+
"description": "Name submitted with form data. Only applicable when rendering as a button.",
|
|
14590
|
+
"fieldName": "name",
|
|
14591
|
+
"attribute": "name"
|
|
14271
14592
|
},
|
|
14272
14593
|
{
|
|
14273
|
-
"name": "
|
|
14594
|
+
"name": "value",
|
|
14274
14595
|
"type": {
|
|
14275
|
-
"text": "string"
|
|
14596
|
+
"text": "string | undefined"
|
|
14276
14597
|
},
|
|
14277
|
-
"default": "
|
|
14278
|
-
"description": "
|
|
14279
|
-
"fieldName": "
|
|
14280
|
-
"attribute": "
|
|
14598
|
+
"default": "undefined",
|
|
14599
|
+
"description": "Value submitted with form data. Only applicable when rendering as a button.",
|
|
14600
|
+
"fieldName": "value",
|
|
14601
|
+
"attribute": "value"
|
|
14281
14602
|
}
|
|
14282
14603
|
],
|
|
14283
14604
|
"superclass": {
|
|
14284
14605
|
"name": "LitElement",
|
|
14285
14606
|
"package": "lit"
|
|
14286
14607
|
},
|
|
14287
|
-
"tagName": "hx-icon",
|
|
14608
|
+
"tagName": "hx-icon-button",
|
|
14288
14609
|
"customElement": true,
|
|
14289
|
-
"summary": "
|
|
14610
|
+
"summary": "Icon-only action button with full accessibility support."
|
|
14290
14611
|
}
|
|
14291
14612
|
],
|
|
14292
14613
|
"exports": [
|
|
14293
14614
|
{
|
|
14294
14615
|
"kind": "js",
|
|
14295
|
-
"name": "
|
|
14616
|
+
"name": "HelixIconButton",
|
|
14296
14617
|
"declaration": {
|
|
14297
|
-
"name": "
|
|
14298
|
-
"module": "src/components/hx-icon/hx-icon.ts"
|
|
14618
|
+
"name": "HelixIconButton",
|
|
14619
|
+
"module": "src/components/hx-icon-button/hx-icon-button.ts"
|
|
14299
14620
|
}
|
|
14300
14621
|
},
|
|
14301
14622
|
{
|
|
14302
14623
|
"kind": "custom-element-definition",
|
|
14303
|
-
"name": "hx-icon",
|
|
14624
|
+
"name": "hx-icon-button",
|
|
14304
14625
|
"declaration": {
|
|
14305
|
-
"name": "
|
|
14306
|
-
"module": "src/components/hx-icon/hx-icon.ts"
|
|
14626
|
+
"name": "HelixIconButton",
|
|
14627
|
+
"module": "src/components/hx-icon-button/hx-icon-button.ts"
|
|
14307
14628
|
}
|
|
14308
14629
|
}
|
|
14309
14630
|
]
|
|
14310
14631
|
},
|
|
14311
14632
|
{
|
|
14312
14633
|
"kind": "javascript-module",
|
|
14313
|
-
"path": "src/components/hx-icon/index.ts",
|
|
14634
|
+
"path": "src/components/hx-icon-button/index.ts",
|
|
14314
14635
|
"declarations": [],
|
|
14315
14636
|
"exports": [
|
|
14316
14637
|
{
|
|
14317
14638
|
"kind": "js",
|
|
14318
|
-
"name": "
|
|
14639
|
+
"name": "HelixIconButton",
|
|
14319
14640
|
"declaration": {
|
|
14320
|
-
"name": "
|
|
14321
|
-
"module": "./hx-icon.js"
|
|
14641
|
+
"name": "HelixIconButton",
|
|
14642
|
+
"module": "./hx-icon-button.js"
|
|
14322
14643
|
}
|
|
14323
14644
|
}
|
|
14324
14645
|
]
|
|
@@ -17326,7 +17647,7 @@
|
|
|
17326
17647
|
"kind": "field",
|
|
17327
17648
|
"name": "_input",
|
|
17328
17649
|
"type": {
|
|
17329
|
-
"text": "HTMLInputElement"
|
|
17650
|
+
"text": "HTMLInputElement | null"
|
|
17330
17651
|
},
|
|
17331
17652
|
"privacy": "private"
|
|
17332
17653
|
},
|
|
@@ -18807,6 +19128,14 @@
|
|
|
18807
19128
|
"name": "HelixPagination",
|
|
18808
19129
|
"module": "./hx-pagination.js"
|
|
18809
19130
|
}
|
|
19131
|
+
},
|
|
19132
|
+
{
|
|
19133
|
+
"kind": "js",
|
|
19134
|
+
"name": "HxPagination",
|
|
19135
|
+
"declaration": {
|
|
19136
|
+
"name": "HxPagination",
|
|
19137
|
+
"module": "./hx-pagination.js"
|
|
19138
|
+
}
|
|
18810
19139
|
}
|
|
18811
19140
|
]
|
|
18812
19141
|
},
|
|
@@ -20534,6 +20863,11 @@
|
|
|
20534
20863
|
"description": "Error message color.",
|
|
20535
20864
|
"name": "--hx-radio-group-error-color",
|
|
20536
20865
|
"default": "var(--hx-color-error-500, #dc3545)"
|
|
20866
|
+
},
|
|
20867
|
+
{
|
|
20868
|
+
"description": "Help text color.",
|
|
20869
|
+
"name": "--hx-radio-group-help-text-color",
|
|
20870
|
+
"default": "var(--hx-color-neutral-500, #6c757d)"
|
|
20537
20871
|
}
|
|
20538
20872
|
],
|
|
20539
20873
|
"cssParts": [
|
|
@@ -20799,6 +21133,11 @@
|
|
|
20799
21133
|
"text": "HTMLFormElement | null"
|
|
20800
21134
|
},
|
|
20801
21135
|
"description": "Returns the associated form element, if any.",
|
|
21136
|
+
"return": {
|
|
21137
|
+
"type": {
|
|
21138
|
+
"text": ""
|
|
21139
|
+
}
|
|
21140
|
+
},
|
|
20802
21141
|
"readonly": true
|
|
20803
21142
|
},
|
|
20804
21143
|
{
|
|
@@ -20808,6 +21147,11 @@
|
|
|
20808
21147
|
"text": "string"
|
|
20809
21148
|
},
|
|
20810
21149
|
"description": "Returns the validation message.",
|
|
21150
|
+
"return": {
|
|
21151
|
+
"type": {
|
|
21152
|
+
"text": ""
|
|
21153
|
+
}
|
|
21154
|
+
},
|
|
20811
21155
|
"readonly": true
|
|
20812
21156
|
},
|
|
20813
21157
|
{
|
|
@@ -20817,6 +21161,11 @@
|
|
|
20817
21161
|
"text": "ValidityState"
|
|
20818
21162
|
},
|
|
20819
21163
|
"description": "Returns the ValidityState object.",
|
|
21164
|
+
"return": {
|
|
21165
|
+
"type": {
|
|
21166
|
+
"text": ""
|
|
21167
|
+
}
|
|
21168
|
+
},
|
|
20820
21169
|
"readonly": true
|
|
20821
21170
|
},
|
|
20822
21171
|
{
|
|
@@ -20824,7 +21173,7 @@
|
|
|
20824
21173
|
"name": "checkValidity",
|
|
20825
21174
|
"return": {
|
|
20826
21175
|
"type": {
|
|
20827
|
-
"text": "
|
|
21176
|
+
"text": ""
|
|
20828
21177
|
}
|
|
20829
21178
|
},
|
|
20830
21179
|
"description": "Checks whether the group satisfies its constraints."
|
|
@@ -20834,7 +21183,7 @@
|
|
|
20834
21183
|
"name": "reportValidity",
|
|
20835
21184
|
"return": {
|
|
20836
21185
|
"type": {
|
|
20837
|
-
"text": "
|
|
21186
|
+
"text": ""
|
|
20838
21187
|
}
|
|
20839
21188
|
},
|
|
20840
21189
|
"description": "Reports validity and shows the browser's constraint validation UI."
|
|
@@ -20872,13 +21221,15 @@
|
|
|
20872
21221
|
"name": "state",
|
|
20873
21222
|
"type": {
|
|
20874
21223
|
"text": "string | File | FormData"
|
|
20875
|
-
}
|
|
21224
|
+
},
|
|
21225
|
+
"description": "The saved form state value."
|
|
20876
21226
|
},
|
|
20877
21227
|
{
|
|
20878
21228
|
"name": "_mode",
|
|
20879
21229
|
"type": {
|
|
20880
21230
|
"text": "'restore' | 'autocomplete'"
|
|
20881
|
-
}
|
|
21231
|
+
},
|
|
21232
|
+
"description": "The restore mode: `'restore'` or `'autocomplete'`."
|
|
20882
21233
|
}
|
|
20883
21234
|
],
|
|
20884
21235
|
"description": "Called when the form restores state (e.g., back/forward navigation)."
|
|
@@ -20886,11 +21237,12 @@
|
|
|
20886
21237
|
],
|
|
20887
21238
|
"events": [
|
|
20888
21239
|
{
|
|
20889
|
-
"
|
|
20890
|
-
"text": "CustomEvent<{value: string, checked: boolean}>"
|
|
20891
|
-
},
|
|
20892
|
-
"description": "Dispatched when the selected radio changes.",
|
|
21240
|
+
"description": "Dispatched when the selected radio changes (detail: `{value: string, checked: boolean}`).",
|
|
20893
21241
|
"name": "hx-change"
|
|
21242
|
+
},
|
|
21243
|
+
{
|
|
21244
|
+
"description": "Internal event dispatched by `hx-radio` when selected; consumed by the group (detail: `{value: string}`).",
|
|
21245
|
+
"name": "hx-radio-select"
|
|
20894
21246
|
}
|
|
20895
21247
|
],
|
|
20896
21248
|
"attributes": [
|
|
@@ -23582,7 +23934,7 @@
|
|
|
23582
23934
|
"kind": "field",
|
|
23583
23935
|
"name": "_input",
|
|
23584
23936
|
"type": {
|
|
23585
|
-
"text": "HTMLInputElement"
|
|
23937
|
+
"text": "HTMLInputElement | null"
|
|
23586
23938
|
},
|
|
23587
23939
|
"privacy": "private",
|
|
23588
23940
|
"description": "Reference to the native range `<input>` inside shadow DOM."
|
|
@@ -23639,9 +23991,18 @@
|
|
|
23639
23991
|
}
|
|
23640
23992
|
}
|
|
23641
23993
|
},
|
|
23994
|
+
{
|
|
23995
|
+
"kind": "field",
|
|
23996
|
+
"name": "_cachedTicks",
|
|
23997
|
+
"type": {
|
|
23998
|
+
"text": "number[]"
|
|
23999
|
+
},
|
|
24000
|
+
"privacy": "private",
|
|
24001
|
+
"default": "[]"
|
|
24002
|
+
},
|
|
23642
24003
|
{
|
|
23643
24004
|
"kind": "method",
|
|
23644
|
-
"name": "
|
|
24005
|
+
"name": "_computeTicks",
|
|
23645
24006
|
"privacy": "private",
|
|
23646
24007
|
"return": {
|
|
23647
24008
|
"type": {
|
|
@@ -23718,7 +24079,7 @@
|
|
|
23718
24079
|
{
|
|
23719
24080
|
"name": "state",
|
|
23720
24081
|
"type": {
|
|
23721
|
-
"text": "string"
|
|
24082
|
+
"text": "string | File | FormData | null"
|
|
23722
24083
|
},
|
|
23723
24084
|
"description": "The serialized value to restore."
|
|
23724
24085
|
},
|
|
@@ -24074,10 +24435,10 @@
|
|
|
24074
24435
|
"kind": "field",
|
|
24075
24436
|
"name": "size",
|
|
24076
24437
|
"type": {
|
|
24077
|
-
"text": "
|
|
24438
|
+
"text": "SpinnerSize | string"
|
|
24078
24439
|
},
|
|
24079
24440
|
"default": "'md'",
|
|
24080
|
-
"description": "Size of the spinner. Accepts 'sm' | 'md' | 'lg'
|
|
24441
|
+
"description": "Size of the spinner. Accepts `SpinnerSize` token values ('sm' | 'md' | 'lg'),\nor any valid CSS size string (e.g. \"3rem\", \"48px\") for custom dimensions.\n\nThe type is `SpinnerSize | string` which widens to `string` at the TypeScript\nlevel — this is intentional to support CSS size overrides. Use `SpinnerSize`\nvalues for standard sizing; custom strings bypass token-based scaling.",
|
|
24081
24442
|
"attribute": "size",
|
|
24082
24443
|
"reflects": true
|
|
24083
24444
|
},
|
|
@@ -24120,7 +24481,7 @@
|
|
|
24120
24481
|
"privacy": "private",
|
|
24121
24482
|
"return": {
|
|
24122
24483
|
"type": {
|
|
24123
|
-
"text": "
|
|
24484
|
+
"text": "this is { size: SpinnerSize }"
|
|
24124
24485
|
}
|
|
24125
24486
|
}
|
|
24126
24487
|
}
|
|
@@ -24129,10 +24490,10 @@
|
|
|
24129
24490
|
{
|
|
24130
24491
|
"name": "size",
|
|
24131
24492
|
"type": {
|
|
24132
|
-
"text": "
|
|
24493
|
+
"text": "SpinnerSize | string"
|
|
24133
24494
|
},
|
|
24134
24495
|
"default": "'md'",
|
|
24135
|
-
"description": "Size of the spinner. Accepts 'sm' | 'md' | 'lg'
|
|
24496
|
+
"description": "Size of the spinner. Accepts `SpinnerSize` token values ('sm' | 'md' | 'lg'),\nor any valid CSS size string (e.g. \"3rem\", \"48px\") for custom dimensions.\n\nThe type is `SpinnerSize | string` which widens to `string` at the TypeScript\nlevel — this is intentional to support CSS size overrides. Use `SpinnerSize`\nvalues for standard sizing; custom strings bypass token-based scaling.",
|
|
24136
24497
|
"fieldName": "size",
|
|
24137
24498
|
"attribute": "size"
|
|
24138
24499
|
},
|
|
@@ -24207,6 +24568,14 @@
|
|
|
24207
24568
|
"name": "HelixSpinner",
|
|
24208
24569
|
"module": "./hx-spinner.js"
|
|
24209
24570
|
}
|
|
24571
|
+
},
|
|
24572
|
+
{
|
|
24573
|
+
"kind": "js",
|
|
24574
|
+
"name": "SpinnerSize",
|
|
24575
|
+
"declaration": {
|
|
24576
|
+
"name": "SpinnerSize",
|
|
24577
|
+
"module": "./hx-spinner.js"
|
|
24578
|
+
}
|
|
24210
24579
|
}
|
|
24211
24580
|
]
|
|
24212
24581
|
},
|
|
@@ -27681,6 +28050,22 @@
|
|
|
27681
28050
|
"name": "HelixTag",
|
|
27682
28051
|
"module": "./hx-tag.js"
|
|
27683
28052
|
}
|
|
28053
|
+
},
|
|
28054
|
+
{
|
|
28055
|
+
"kind": "js",
|
|
28056
|
+
"name": "HxTag",
|
|
28057
|
+
"declaration": {
|
|
28058
|
+
"name": "HxTag",
|
|
28059
|
+
"module": "./hx-tag.js"
|
|
28060
|
+
}
|
|
28061
|
+
},
|
|
28062
|
+
{
|
|
28063
|
+
"kind": "js",
|
|
28064
|
+
"name": "WcTag",
|
|
28065
|
+
"declaration": {
|
|
28066
|
+
"name": "WcTag",
|
|
28067
|
+
"module": "./hx-tag.js"
|
|
28068
|
+
}
|
|
27684
28069
|
}
|
|
27685
28070
|
]
|
|
27686
28071
|
},
|
|
@@ -28739,6 +29124,17 @@
|
|
|
28739
29124
|
"description": "Maximum number of characters allowed.",
|
|
28740
29125
|
"attribute": "maxlength"
|
|
28741
29126
|
},
|
|
29127
|
+
{
|
|
29128
|
+
"kind": "field",
|
|
29129
|
+
"name": "readonly",
|
|
29130
|
+
"type": {
|
|
29131
|
+
"text": "boolean"
|
|
29132
|
+
},
|
|
29133
|
+
"default": "false",
|
|
29134
|
+
"description": "Whether the textarea is read-only. Read-only fields are visible but\ncannot be edited by the user. Common in healthcare for displaying\nnon-editable patient data inline with editable fields.",
|
|
29135
|
+
"attribute": "readonly",
|
|
29136
|
+
"reflects": true
|
|
29137
|
+
},
|
|
28742
29138
|
{
|
|
28743
29139
|
"kind": "field",
|
|
28744
29140
|
"name": "resize",
|
|
@@ -29000,6 +29396,16 @@
|
|
|
29000
29396
|
"fieldName": "maxlength",
|
|
29001
29397
|
"attribute": "maxlength"
|
|
29002
29398
|
},
|
|
29399
|
+
{
|
|
29400
|
+
"name": "readonly",
|
|
29401
|
+
"type": {
|
|
29402
|
+
"text": "boolean"
|
|
29403
|
+
},
|
|
29404
|
+
"default": "false",
|
|
29405
|
+
"description": "Whether the textarea is read-only. Read-only fields are visible but\ncannot be edited by the user. Common in healthcare for displaying\nnon-editable patient data inline with editable fields.",
|
|
29406
|
+
"fieldName": "readonly",
|
|
29407
|
+
"attribute": "readonly"
|
|
29408
|
+
},
|
|
29003
29409
|
{
|
|
29004
29410
|
"name": "resize",
|
|
29005
29411
|
"type": {
|
|
@@ -29235,6 +29641,22 @@
|
|
|
29235
29641
|
"name": "TokenEntry",
|
|
29236
29642
|
"module": "./hx-theme.js"
|
|
29237
29643
|
}
|
|
29644
|
+
},
|
|
29645
|
+
{
|
|
29646
|
+
"kind": "js",
|
|
29647
|
+
"name": "HxTheme",
|
|
29648
|
+
"declaration": {
|
|
29649
|
+
"name": "HxTheme",
|
|
29650
|
+
"module": "./hx-theme.js"
|
|
29651
|
+
}
|
|
29652
|
+
},
|
|
29653
|
+
{
|
|
29654
|
+
"kind": "js",
|
|
29655
|
+
"name": "WcTheme",
|
|
29656
|
+
"declaration": {
|
|
29657
|
+
"name": "WcTheme",
|
|
29658
|
+
"module": "./hx-theme.js"
|
|
29659
|
+
}
|
|
29238
29660
|
}
|
|
29239
29661
|
]
|
|
29240
29662
|
},
|
|
@@ -30766,7 +31188,13 @@
|
|
|
30766
31188
|
{
|
|
30767
31189
|
"name": "state",
|
|
30768
31190
|
"type": {
|
|
30769
|
-
"text": "string"
|
|
31191
|
+
"text": "string | File | FormData | null"
|
|
31192
|
+
}
|
|
31193
|
+
},
|
|
31194
|
+
{
|
|
31195
|
+
"name": "_mode",
|
|
31196
|
+
"type": {
|
|
31197
|
+
"text": "'restore' | 'autocomplete'"
|
|
30770
31198
|
}
|
|
30771
31199
|
}
|
|
30772
31200
|
],
|
|
@@ -31524,56 +31952,65 @@
|
|
|
31524
31952
|
},
|
|
31525
31953
|
{
|
|
31526
31954
|
"kind": "field",
|
|
31527
|
-
"name": "
|
|
31955
|
+
"name": "_level",
|
|
31528
31956
|
"type": {
|
|
31529
|
-
"text": "
|
|
31957
|
+
"text": "number"
|
|
31530
31958
|
},
|
|
31531
|
-
"
|
|
31532
|
-
"
|
|
31959
|
+
"privacy": "private",
|
|
31960
|
+
"default": "1",
|
|
31961
|
+
"description": "Cached ARIA position metadata. Computed once on connect and on slotchange\nof the parent container, avoiding repeated DOM traversal on every render."
|
|
31533
31962
|
},
|
|
31534
31963
|
{
|
|
31535
|
-
"kind": "
|
|
31536
|
-
"name": "
|
|
31537
|
-
"
|
|
31538
|
-
|
|
31539
|
-
"type": {
|
|
31540
|
-
"text": "number"
|
|
31541
|
-
}
|
|
31964
|
+
"kind": "field",
|
|
31965
|
+
"name": "_posInSet",
|
|
31966
|
+
"type": {
|
|
31967
|
+
"text": "number"
|
|
31542
31968
|
},
|
|
31543
|
-
"
|
|
31969
|
+
"privacy": "private",
|
|
31970
|
+
"default": "1"
|
|
31544
31971
|
},
|
|
31545
31972
|
{
|
|
31546
|
-
"kind": "
|
|
31547
|
-
"name": "
|
|
31548
|
-
"
|
|
31549
|
-
|
|
31550
|
-
"type": {
|
|
31551
|
-
"text": "number"
|
|
31552
|
-
}
|
|
31973
|
+
"kind": "field",
|
|
31974
|
+
"name": "_setSize",
|
|
31975
|
+
"type": {
|
|
31976
|
+
"text": "number"
|
|
31553
31977
|
},
|
|
31554
|
-
"
|
|
31978
|
+
"privacy": "private",
|
|
31979
|
+
"default": "1"
|
|
31555
31980
|
},
|
|
31556
31981
|
{
|
|
31557
|
-
"kind": "
|
|
31558
|
-
"name": "
|
|
31982
|
+
"kind": "field",
|
|
31983
|
+
"name": "_selectable",
|
|
31984
|
+
"type": {
|
|
31985
|
+
"text": "boolean"
|
|
31986
|
+
},
|
|
31559
31987
|
"privacy": "private",
|
|
31988
|
+
"default": "false"
|
|
31989
|
+
},
|
|
31990
|
+
{
|
|
31991
|
+
"kind": "field",
|
|
31992
|
+
"name": "hasChildItems",
|
|
31993
|
+
"type": {
|
|
31994
|
+
"text": "boolean"
|
|
31995
|
+
},
|
|
31996
|
+
"description": "Whether this item has slotted children.",
|
|
31560
31997
|
"return": {
|
|
31561
31998
|
"type": {
|
|
31562
|
-
"text": "
|
|
31999
|
+
"text": ""
|
|
31563
32000
|
}
|
|
31564
32001
|
},
|
|
31565
|
-
"
|
|
32002
|
+
"readonly": true
|
|
31566
32003
|
},
|
|
31567
32004
|
{
|
|
31568
32005
|
"kind": "method",
|
|
31569
|
-
"name": "
|
|
32006
|
+
"name": "_updateAriaMetadata",
|
|
31570
32007
|
"privacy": "private",
|
|
31571
32008
|
"return": {
|
|
31572
32009
|
"type": {
|
|
31573
|
-
"text": "
|
|
32010
|
+
"text": "void"
|
|
31574
32011
|
}
|
|
31575
32012
|
},
|
|
31576
|
-
"description": "
|
|
32013
|
+
"description": "Recompute all cached ARIA metadata in a single DOM pass.\nCalled on connect, slotchange, and whenever structural context may change."
|
|
31577
32014
|
},
|
|
31578
32015
|
{
|
|
31579
32016
|
"kind": "method",
|
|
@@ -31659,8 +32096,9 @@
|
|
|
31659
32096
|
{
|
|
31660
32097
|
"name": "hx-tree-item-select",
|
|
31661
32098
|
"type": {
|
|
31662
|
-
"text": "CustomEvent"
|
|
31663
|
-
}
|
|
32099
|
+
"text": "CustomEvent<HxTreeItemSelectDetail>"
|
|
32100
|
+
},
|
|
32101
|
+
"description": "Dispatched when this item is clicked or activated via keyboard."
|
|
31664
32102
|
}
|
|
31665
32103
|
],
|
|
31666
32104
|
"attributes": [
|
|
@@ -31720,14 +32158,6 @@
|
|
|
31720
32158
|
"name": "HelixTreeItem",
|
|
31721
32159
|
"module": "src/components/hx-tree-view/hx-tree-item.ts"
|
|
31722
32160
|
}
|
|
31723
|
-
},
|
|
31724
|
-
{
|
|
31725
|
-
"kind": "js",
|
|
31726
|
-
"name": "WcTreeItem",
|
|
31727
|
-
"declaration": {
|
|
31728
|
-
"name": "HelixTreeItem",
|
|
31729
|
-
"module": "src/components/hx-tree-view/hx-tree-item.ts"
|
|
31730
|
-
}
|
|
31731
32161
|
}
|
|
31732
32162
|
]
|
|
31733
32163
|
},
|
|
@@ -31737,7 +32167,7 @@
|
|
|
31737
32167
|
"declarations": [
|
|
31738
32168
|
{
|
|
31739
32169
|
"kind": "class",
|
|
31740
|
-
"description": "A hierarchical tree component for navigating nested data structures.\nUsed in healthcare applications for org charts, ICD-10 code hierarchies, and department navigation.\n\nImplements WAI-ARIA tree view pattern with `role=\"tree\"` on the container\nand `role=\"treeitem\"` on each item. Supports `aria-label` via the `label` property\nfor screen reader identification. Full keyboard navigation: Arrow keys for movement,\nEnter/Space for selection, Home/End for first/last item.",
|
|
32170
|
+
"description": "A hierarchical tree component for navigating nested data structures.\nUsed in healthcare applications for org charts, ICD-10 code hierarchies, and department navigation.\n\nImplements WAI-ARIA tree view pattern with `role=\"tree\"` on the container\nand `role=\"treeitem\"` on each item. Supports `aria-label` via the `label` property\nfor screen reader identification. Full keyboard navigation: Arrow keys for movement,\nEnter/Space for selection, Home/End for first/last item.\n\n## Scale Limits\n\nThis component renders all tree items simultaneously in the DOM. It is suitable for\ntrees with up to ~500 visible items. For large taxonomies (e.g., ICD-10 with 70,000+\ncodes), use async/lazy loading: only render top-level nodes initially and populate\nchild nodes on `hx-select` or expand events. The component exposes the `expanded`\nproperty on `hx-tree-item` for programmatic control of subtrees, enabling consumer-level\nvirtualization strategies without requiring changes to this component.",
|
|
31741
32171
|
"name": "HelixTreeView",
|
|
31742
32172
|
"cssProperties": [
|
|
31743
32173
|
{
|
|
@@ -31906,7 +32336,7 @@
|
|
|
31906
32336
|
{
|
|
31907
32337
|
"name": "hx-select",
|
|
31908
32338
|
"type": {
|
|
31909
|
-
"text": "CustomEvent<
|
|
32339
|
+
"text": "CustomEvent<HxSelectDetail>"
|
|
31910
32340
|
},
|
|
31911
32341
|
"description": "Dispatched when a tree item is selected or deselected."
|
|
31912
32342
|
}
|
|
@@ -31958,14 +32388,6 @@
|
|
|
31958
32388
|
"name": "HelixTreeView",
|
|
31959
32389
|
"module": "src/components/hx-tree-view/hx-tree-view.ts"
|
|
31960
32390
|
}
|
|
31961
|
-
},
|
|
31962
|
-
{
|
|
31963
|
-
"kind": "js",
|
|
31964
|
-
"name": "WcTreeView",
|
|
31965
|
-
"declaration": {
|
|
31966
|
-
"name": "HelixTreeView",
|
|
31967
|
-
"module": "src/components/hx-tree-view/hx-tree-view.ts"
|
|
31968
|
-
}
|
|
31969
32391
|
}
|
|
31970
32392
|
]
|
|
31971
32393
|
},
|
|
@@ -31997,6 +32419,54 @@
|
|
|
31997
32419
|
"name": "TreeSelection",
|
|
31998
32420
|
"module": "./hx-tree-view.js"
|
|
31999
32421
|
}
|
|
32422
|
+
},
|
|
32423
|
+
{
|
|
32424
|
+
"kind": "js",
|
|
32425
|
+
"name": "HxTreeView",
|
|
32426
|
+
"declaration": {
|
|
32427
|
+
"name": "HxTreeView",
|
|
32428
|
+
"module": "./hx-tree-view.js"
|
|
32429
|
+
}
|
|
32430
|
+
},
|
|
32431
|
+
{
|
|
32432
|
+
"kind": "js",
|
|
32433
|
+
"name": "HxSelectDetail",
|
|
32434
|
+
"declaration": {
|
|
32435
|
+
"name": "HxSelectDetail",
|
|
32436
|
+
"module": "./hx-tree-view.js"
|
|
32437
|
+
}
|
|
32438
|
+
},
|
|
32439
|
+
{
|
|
32440
|
+
"kind": "js",
|
|
32441
|
+
"name": "HxTreeItem",
|
|
32442
|
+
"declaration": {
|
|
32443
|
+
"name": "HxTreeItem",
|
|
32444
|
+
"module": "./hx-tree-item.js"
|
|
32445
|
+
}
|
|
32446
|
+
},
|
|
32447
|
+
{
|
|
32448
|
+
"kind": "js",
|
|
32449
|
+
"name": "HxTreeItemSelectDetail",
|
|
32450
|
+
"declaration": {
|
|
32451
|
+
"name": "HxTreeItemSelectDetail",
|
|
32452
|
+
"module": "./hx-tree-item.js"
|
|
32453
|
+
}
|
|
32454
|
+
},
|
|
32455
|
+
{
|
|
32456
|
+
"kind": "js",
|
|
32457
|
+
"name": "WcTreeView",
|
|
32458
|
+
"declaration": {
|
|
32459
|
+
"name": "WcTreeView",
|
|
32460
|
+
"module": "./hx-tree-view.js"
|
|
32461
|
+
}
|
|
32462
|
+
},
|
|
32463
|
+
{
|
|
32464
|
+
"kind": "js",
|
|
32465
|
+
"name": "WcTreeItem",
|
|
32466
|
+
"declaration": {
|
|
32467
|
+
"name": "WcTreeItem",
|
|
32468
|
+
"module": "./hx-tree-item.js"
|
|
32469
|
+
}
|
|
32000
32470
|
}
|
|
32001
32471
|
]
|
|
32002
32472
|
},
|