@adia-ai/web-components 0.8.42 → 0.8.44
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/CHANGELOG.md +44 -0
- package/MIGRATION.md +130 -80
- package/USAGE.md +1 -1
- package/color/index.js +1 -1
- package/components/action-list/action-item.a2ui.json +3 -8
- package/components/action-list/action-item.yaml +10 -16
- package/components/action-list/action-list.class.js +5 -61
- package/components/action-list/action-list.d.ts +1 -3
- package/components/avatar/avatar.class.js +12 -1
- package/components/button/button.d.ts +4 -0
- package/components/button/button.yaml +1 -1
- package/components/calendar-picker/calendar-picker.a2ui.json +1 -1
- package/components/calendar-picker/calendar-picker.class.js +2 -3
- package/components/calendar-picker/calendar-picker.css +16 -18
- package/components/calendar-picker/calendar-picker.yaml +2 -2
- package/components/card/card.css +3 -3
- package/components/chart/chart.a2ui.json +29 -18
- package/components/chart/chart.class.js +1308 -266
- package/components/chart/chart.css +151 -1
- package/components/chart/chart.d.ts +9 -9
- package/components/chart/chart.yaml +63 -31
- package/components/chart-legend/chart-legend.a2ui.json +20 -14
- package/components/chart-legend/chart-legend.class.js +79 -58
- package/components/chart-legend/chart-legend.css +65 -1
- package/components/chart-legend/chart-legend.d.ts +5 -5
- package/components/chart-legend/chart-legend.examples.md +4 -4
- package/components/chart-legend/chart-legend.yaml +50 -20
- package/components/check/check.css +9 -0
- package/components/color-area/color-area.a2ui.json +1 -1
- package/components/color-area/color-area.class.js +2 -2
- package/components/color-area/color-area.css +4 -7
- package/components/color-area/color-area.d.ts +1 -1
- package/components/color-area/color-area.yaml +3 -3
- package/components/color-input/color-input.a2ui.json +1 -1
- package/components/color-input/color-input.class.js +1 -1
- package/components/color-input/color-input.yaml +2 -2
- package/components/combobox/combobox.a2ui.json +3 -0
- package/components/combobox/combobox.class.js +9 -8
- package/components/combobox/combobox.css +25 -4
- package/components/combobox/combobox.yaml +6 -0
- package/components/command/command.css +17 -1
- package/components/context-menu/context-menu.d.ts +2 -0
- package/components/drilldown/drilldown.a2ui.json +3 -0
- package/components/drilldown/drilldown.css +8 -1
- package/components/drilldown/drilldown.yaml +2 -0
- package/components/field/field.class.js +5 -5
- package/components/heatmap/heatmap.a2ui.json +5 -0
- package/components/heatmap/heatmap.d.ts +2 -0
- package/components/heatmap/heatmap.yaml +8 -0
- package/components/index.js +0 -4
- package/components/input/input.a2ui.json +4 -4
- package/components/input/input.class.js +20 -7
- package/components/input/input.css +6 -0
- package/components/input/input.yaml +15 -11
- package/components/integration-card/integration-card.d.ts +2 -0
- package/components/menu/menu-item.a2ui.json +3 -8
- package/components/menu/menu-item.yaml +13 -21
- package/components/menu/menu.class.js +5 -27
- package/components/menu/menu.d.ts +1 -3
- package/components/noodles/noodles.a2ui.json +0 -15
- package/components/noodles/noodles.yaml +0 -12
- package/components/number-format/number-format.class.js +10 -0
- package/components/pagination/pagination.class.js +88 -4
- package/components/pane/pane.a2ui.json +2 -12
- package/components/pane/pane.class.js +5 -30
- package/components/pane/pane.d.ts +3 -5
- package/components/pane/pane.yaml +7 -19
- package/components/popover/popover.d.ts +2 -0
- package/components/progress/progress.a2ui.json +1 -1
- package/components/progress/progress.class.js +13 -8
- package/components/progress/progress.d.ts +1 -1
- package/components/progress/progress.yaml +2 -2
- package/components/radio/radio.css +7 -0
- package/components/range/range.class.js +9 -1
- package/components/search/search.css +10 -1
- package/components/segment/segment.a2ui.json +1 -2
- package/components/segment/segment.css +10 -0
- package/components/segment/segment.yaml +1 -2
- package/components/segmented/segmented.a2ui.json +1 -3
- package/components/segmented/segmented.class.js +2 -2
- package/components/segmented/segmented.yaml +2 -4
- package/components/select/select.a2ui.json +5 -1
- package/components/select/select.class.js +14 -14
- package/components/select/select.css +20 -1
- package/components/select/select.yaml +7 -1
- package/components/step-progress/step-progress.yaml +1 -1
- package/components/stream/stream.d.ts +2 -0
- package/components/switch/switch.css +8 -0
- package/components/table/table.a2ui.json +6 -1
- package/components/table/table.class.js +18 -1
- package/components/table/table.css +31 -6
- package/components/table/table.d.ts +3 -1
- package/components/table/table.examples.md +2 -2
- package/components/table/table.yaml +9 -1
- package/components/table-toolbar/table-toolbar.a2ui.json +67 -2
- package/components/table-toolbar/table-toolbar.class.js +492 -17
- package/components/table-toolbar/table-toolbar.css +311 -0
- package/components/table-toolbar/table-toolbar.d.ts +17 -1
- package/components/table-toolbar/table-toolbar.yaml +220 -15
- package/components/tag/tag.class.js +13 -1
- package/components/text/text.a2ui.json +3 -3
- package/components/text/text.d.ts +5 -3
- package/components/text/text.yaml +3 -3
- package/components/textarea/textarea.class.js +9 -1
- package/components/textarea/textarea.css +4 -0
- package/components/time-picker/time-picker.yaml +3 -2
- package/components/tour/tour.d.ts +10 -0
- package/components/tree/tree.yaml +1 -1
- package/components/upload/upload.class.js +16 -0
- package/components/upload/upload.d.ts +7 -0
- package/components/upload/upload.yaml +7 -3
- package/core/a11y.d.ts +22 -0
- package/core/a11y.js +64 -0
- package/core/anchor.js +9 -5
- package/core/element.js +1 -1
- package/core/icons.js +2 -5
- package/custom-elements.json +142 -594
- package/dist/host.min.css +1 -1
- package/dist/host.sheet.js +1 -1
- package/dist/theme-provider.min.js +1 -1
- package/dist/web-components.min.css +1 -1
- package/dist/web-components.min.js +122 -119
- package/dist/web-components.sheet.js +1 -1
- package/index.d.ts +0 -15
- package/package.json +1 -1
- package/patterns/access-requests/access-requests.examples.html +1 -1
- package/patterns/admin-keys-and-export/admin-keys-and-export.examples.html +7 -7
- package/patterns/agent-cost/agent-cost.examples.html +6 -6
- package/patterns/agent-memory/agent-memory.examples.html +3 -3
- package/patterns/agent-prompt-library/agent-prompt-library.examples.html +8 -8
- package/patterns/agent-tool-call/agent-tool-call.examples.html +1 -1
- package/patterns/approvals/approvals.examples.html +6 -6
- package/patterns/audit-log/audit-log.examples.html +1 -1
- package/patterns/bulk-action-toolbar/bulk-action-toolbar.examples.html +4 -4
- package/patterns/chart-in-card/chart-in-card.examples.html +124 -10
- package/patterns/chart-in-card/chart-in-card.examples.js +37 -0
- package/patterns/comments-and-collaboration/comments-and-collaboration.examples.html +5 -5
- package/patterns/conversion-funnel/conversion-funnel.html +2 -2
- package/patterns/data-tables-inline-edit-and-tree/data-tables-inline-edit-and-tree.examples.html +2 -2
- package/patterns/diff-review/diff-review.examples.html +6 -6
- package/patterns/editor-shell/editor-shell.examples.html +3 -3
- package/patterns/export-flow/export-flow.examples.html +2 -2
- package/patterns/filter-bar/filter-bar.examples.html +2 -2
- package/patterns/forms-conditional-and-autocomplete/forms-conditional-and-autocomplete.examples.html +2 -2
- package/patterns/inline-dialog/inline-dialog.examples.html +2 -2
- package/patterns/marketing-engagement/marketing-engagement.examples.html +4 -4
- package/patterns/notifications-bell-and-digest/notifications-bell-and-digest.examples.html +1 -1
- package/patterns/permissions-matrix/permissions-matrix.examples.html +1 -1
- package/patterns/permissions-sharing/permissions-sharing.examples.html +2 -2
- package/patterns/profile-public-and-verification/profile-public-and-verification.examples.html +4 -4
- package/patterns/search-discovery/search-discovery.examples.html +2 -2
- package/styles/colors/semantics/features.css +8 -1
- package/styles/components.css +0 -4
- package/styles/type/roles.css +29 -9
- package/traits/arrow-grid-nav/arrow-grid-nav.js +1 -1
- package/traits/resize-observer/resize-observer.js +1 -1
- package/components/color-picker/color-picker.a2ui.json +0 -148
- package/components/color-picker/color-picker.class.js +0 -46
- package/components/color-picker/color-picker.css +0 -14
- package/components/color-picker/color-picker.d.ts +0 -99
- package/components/color-picker/color-picker.examples.md +0 -19
- package/components/color-picker/color-picker.js +0 -17
- package/components/color-picker/color-picker.yaml +0 -175
- package/components/datetime-picker/datetime-picker.a2ui.json +0 -256
- package/components/datetime-picker/datetime-picker.class.js +0 -58
- package/components/datetime-picker/datetime-picker.css +0 -11
- package/components/datetime-picker/datetime-picker.d.ts +0 -87
- package/components/datetime-picker/datetime-picker.examples.md +0 -25
- package/components/datetime-picker/datetime-picker.js +0 -17
- package/components/datetime-picker/datetime-picker.yaml +0 -254
- package/components/progress-row/progress-row.a2ui.json +0 -107
- package/components/progress-row/progress-row.class.js +0 -118
- package/components/progress-row/progress-row.css +0 -60
- package/components/progress-row/progress-row.d.ts +0 -24
- package/components/progress-row/progress-row.examples.md +0 -7
- package/components/progress-row/progress-row.js +0 -17
- package/components/progress-row/progress-row.yaml +0 -85
- package/components/toggle-group/toggle-group.a2ui.json +0 -148
- package/components/toggle-group/toggle-group.class.js +0 -195
- package/components/toggle-group/toggle-group.css +0 -127
- package/components/toggle-group/toggle-group.d.ts +0 -50
- package/components/toggle-group/toggle-group.examples.md +0 -33
- package/components/toggle-group/toggle-group.js +0 -18
- package/components/toggle-group/toggle-group.yaml +0 -135
- package/components/toggle-group/toggle-option.a2ui.json +0 -86
- package/components/toggle-group/toggle-option.yaml +0 -75
package/custom-elements.json
CHANGED
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"declarations": [
|
|
138
138
|
{
|
|
139
139
|
"kind": "class",
|
|
140
|
-
"description": "Child of <action-list-ui>. One actionable row — icon + label + optional description, forwards activation to the parent action-list. Row contract converges on <menu-item-ui>: icon/text/description/value/variant/disabled props and icon/text/subtitle/trailing slot overrides (#1363 C5). (`subtitle`
|
|
140
|
+
"description": "Child of <action-list-ui>. One actionable row — icon + label + optional description, forwards activation to the parent action-list. Row contract converges on <menu-item-ui>: icon/text/description/value/variant/disabled props and icon/text/subtitle/trailing slot overrides (#1363 C5). (The deprecated `subtitle` prop alias for `description` was cut in 0.8.43 — ADR-0063, gh#1571/gh#1617.)",
|
|
141
141
|
"name": "UIActionItem",
|
|
142
142
|
"tagName": "action-item-ui",
|
|
143
143
|
"superclass": {
|
|
@@ -159,19 +159,12 @@
|
|
|
159
159
|
},
|
|
160
160
|
"description": "Action label."
|
|
161
161
|
},
|
|
162
|
-
{
|
|
163
|
-
"name": "subtitle",
|
|
164
|
-
"type": {
|
|
165
|
-
"text": "string"
|
|
166
|
-
},
|
|
167
|
-
"description": "DEPRECATED (ADR-0063, gh#1571) — use `description` instead. Same type/default/rendered position; kept working as a dual-read compat shim (one-time console.warn when it's the name that resolves). Removed in 0.9.0. (The `subtitle` SLOT below is a separate surface, deliberately left unrenamed in this pass — see its own description.)"
|
|
168
|
-
},
|
|
169
162
|
{
|
|
170
163
|
"name": "description",
|
|
171
164
|
"type": {
|
|
172
165
|
"text": "string"
|
|
173
166
|
},
|
|
174
|
-
"description": "Optional secondary description line rendered under the label. Canonical spelling (ADR-0063, gh#1571) replacing `subtitle` — converges action-item onto the same spelling <menu-item-ui> adopted under gh#1563."
|
|
167
|
+
"description": "Optional secondary description line rendered under the label. Canonical spelling (ADR-0063, gh#1571) replacing `subtitle` — converges action-item onto the same spelling <menu-item-ui> adopted under gh#1563. The deprecated `subtitle` prop alias was cut in 0.8.43 (gh#1617)."
|
|
175
168
|
},
|
|
176
169
|
{
|
|
177
170
|
"name": "value",
|
|
@@ -208,7 +201,7 @@
|
|
|
208
201
|
},
|
|
209
202
|
{
|
|
210
203
|
"name": "subtitle",
|
|
211
|
-
"description": "Custom secondary-line content override; falls through to the [description] prop (
|
|
204
|
+
"description": "Custom secondary-line content override; falls through to the [description] prop if not slotted (ADR-0063, gh#1571 — the deprecated [subtitle] prop alias was cut in 0.8.43, gh#1617). The slot's own name is unchanged by that rename — this is a distinct, deliberately-unrenamed surface."
|
|
212
205
|
},
|
|
213
206
|
{
|
|
214
207
|
"name": "trailing",
|
|
@@ -1588,7 +1581,7 @@
|
|
|
1588
1581
|
"declarations": [
|
|
1589
1582
|
{
|
|
1590
1583
|
"kind": "class",
|
|
1591
|
-
"description": "Date (and, per `[precision]`, date+time) picker with trigger button and popover panel. Form-associated input emitting an ISO date (or, when `precision` is `minute`/`second`, ISO datetime) string via change events; supports min/max and disabled-date masks. Use for single-date or single-datetime input in forms; for date ranges use <date-range-picker-ui> instead of composing two calendar-picker instances. gh#1372 (#1363 C3c) folded <datetime-picker-ui>'s surface into this widened `precision` axis —
|
|
1584
|
+
"description": "Date (and, per `[precision]`, date+time) picker with trigger button and popover panel. Form-associated input emitting an ISO date (or, when `precision` is `minute`/`second`, ISO datetime) string via change events; supports min/max and disabled-date masks. Use for single-date or single-datetime input in forms; for date ranges use <date-range-picker-ui> instead of composing two calendar-picker instances. gh#1372 (#1363 C3c) folded <datetime-picker-ui>'s surface into this widened `precision` axis — that thin alias component was cut in 0.8.43 (gh#1617); this is the sole tag now.",
|
|
1592
1585
|
"name": "UICalendarPicker",
|
|
1593
1586
|
"tagName": "calendar-picker-ui",
|
|
1594
1587
|
"superclass": {
|
|
@@ -1775,195 +1768,6 @@
|
|
|
1775
1768
|
}
|
|
1776
1769
|
]
|
|
1777
1770
|
},
|
|
1778
|
-
{
|
|
1779
|
-
"kind": "javascript-module",
|
|
1780
|
-
"path": "components/calendar-picker/calendar-picker.test.js",
|
|
1781
|
-
"declarations": [
|
|
1782
|
-
{
|
|
1783
|
-
"kind": "class",
|
|
1784
|
-
"description": "DEPRECATED (gh#1372, widened `precision` axis. `<datetime-picker-ui>` is now a thin `UICalendarPicker` subclass (see datetime-picker.class.js) rather than an independent implementation: `precision` defaults to `\"minute\"` (not `\"date\"`) and `placeholder` defaults to `\"Select date and time\"`; every other prop/event/token is inherited unchanged from <calendar-picker-ui>. Existing markup keeps working, but new markup should reach for `<calendar-picker-ui precision=\"minute\">` (or `precision=\"second\"`) directly. See <calendar-picker-ui> for the full contract.",
|
|
1785
|
-
"name": "UIDatetimePicker",
|
|
1786
|
-
"tagName": "datetime-picker-ui",
|
|
1787
|
-
"superclass": {
|
|
1788
|
-
"name": "UIElement",
|
|
1789
|
-
"module": "/core/element.js"
|
|
1790
|
-
},
|
|
1791
|
-
"attributes": [
|
|
1792
|
-
{
|
|
1793
|
-
"name": "name",
|
|
1794
|
-
"type": {
|
|
1795
|
-
"text": "string"
|
|
1796
|
-
},
|
|
1797
|
-
"description": "Form field name. The ISO 8601 datetime is submitted under this key when the picker is inside a `<form>`."
|
|
1798
|
-
},
|
|
1799
|
-
{
|
|
1800
|
-
"name": "value",
|
|
1801
|
-
"type": {
|
|
1802
|
-
"text": "string"
|
|
1803
|
-
},
|
|
1804
|
-
"description": "Current value as ISO 8601 datetime (\"YYYY-MM-DDTHH:mm\" or \"YYYY-MM-DDTHH:mm:ss\"). Empty when no value selected."
|
|
1805
|
-
},
|
|
1806
|
-
{
|
|
1807
|
-
"name": "min",
|
|
1808
|
-
"type": {
|
|
1809
|
-
"text": "string"
|
|
1810
|
-
},
|
|
1811
|
-
"description": "Earliest selectable ISO 8601 datetime (inclusive). Days before are disabled in the calendar pane; times before are rejected by the time pane on the same day."
|
|
1812
|
-
},
|
|
1813
|
-
{
|
|
1814
|
-
"name": "max",
|
|
1815
|
-
"type": {
|
|
1816
|
-
"text": "string"
|
|
1817
|
-
},
|
|
1818
|
-
"description": "Latest selectable ISO 8601 datetime (inclusive). Days after are disabled in the calendar pane; times after are rejected by the time pane on the same day."
|
|
1819
|
-
},
|
|
1820
|
-
{
|
|
1821
|
-
"name": "step",
|
|
1822
|
-
"type": {
|
|
1823
|
-
"text": "number"
|
|
1824
|
-
},
|
|
1825
|
-
"default": "60",
|
|
1826
|
-
"description": "Per-Arrow-keypress increment in seconds for the time pane. 60 = minute precision (default), 900 = 15-minute, 1 = second precision."
|
|
1827
|
-
},
|
|
1828
|
-
{
|
|
1829
|
-
"name": "precision",
|
|
1830
|
-
"type": {
|
|
1831
|
-
"text": "string"
|
|
1832
|
-
},
|
|
1833
|
-
"default": "minute",
|
|
1834
|
-
"description": "Time-pane precision. `minute` (default HERE — `date` on the base `<calendar-picker-ui>`) emits `HH:mm`; `second` exposes the seconds segment and emits `HH:mm:ss`; `date` drops the time pane entirely (identical to the base class's own default)."
|
|
1835
|
-
},
|
|
1836
|
-
{
|
|
1837
|
-
"name": "hour-cycle",
|
|
1838
|
-
"type": {
|
|
1839
|
-
"text": "string"
|
|
1840
|
-
},
|
|
1841
|
-
"description": "Hour cycle for the time pane. Empty (default) derives from the document locale. `h12` forces a 12-hour cycle with an AM/PM (meridiem) segment; `h23` forces 24-hour cycle."
|
|
1842
|
-
},
|
|
1843
|
-
{
|
|
1844
|
-
"name": "disabled",
|
|
1845
|
-
"type": {
|
|
1846
|
-
"text": "boolean"
|
|
1847
|
-
},
|
|
1848
|
-
"default": "false",
|
|
1849
|
-
"description": "Block all interaction. Trigger remains rendered but does not open the popover."
|
|
1850
|
-
},
|
|
1851
|
-
{
|
|
1852
|
-
"name": "readonly",
|
|
1853
|
-
"type": {
|
|
1854
|
-
"text": "boolean"
|
|
1855
|
-
},
|
|
1856
|
-
"default": "false",
|
|
1857
|
-
"description": "Block edits; allow keyboard navigation for screen-reader inspection."
|
|
1858
|
-
},
|
|
1859
|
-
{
|
|
1860
|
-
"name": "required",
|
|
1861
|
-
"type": {
|
|
1862
|
-
"text": "boolean"
|
|
1863
|
-
},
|
|
1864
|
-
"default": "false",
|
|
1865
|
-
"description": "Required for validation when inside a `<form>`."
|
|
1866
|
-
},
|
|
1867
|
-
{
|
|
1868
|
-
"name": "open",
|
|
1869
|
-
"type": {
|
|
1870
|
-
"text": "boolean"
|
|
1871
|
-
},
|
|
1872
|
-
"default": "false",
|
|
1873
|
-
"description": "Whether the popover is currently open."
|
|
1874
|
-
},
|
|
1875
|
-
{
|
|
1876
|
-
"name": "placeholder",
|
|
1877
|
-
"type": {
|
|
1878
|
-
"text": "string"
|
|
1879
|
-
},
|
|
1880
|
-
"default": "Select date and time",
|
|
1881
|
-
"description": "Text shown in the trigger when the value is empty. Defaults to \"Select date and time\" HERE (vs. \"Select date...\" on the base `<calendar-picker-ui>`)."
|
|
1882
|
-
},
|
|
1883
|
-
{
|
|
1884
|
-
"name": "format",
|
|
1885
|
-
"type": {
|
|
1886
|
-
"text": "string"
|
|
1887
|
-
},
|
|
1888
|
-
"default": "short",
|
|
1889
|
-
"description": "Trigger button date format. `short`: `Jan 1, 2026 14:30`; `long`: `January 1, 2026 14:30`; `iso`: full ISO string."
|
|
1890
|
-
},
|
|
1891
|
-
{
|
|
1892
|
-
"name": "locale",
|
|
1893
|
-
"type": {
|
|
1894
|
-
"text": "string"
|
|
1895
|
-
},
|
|
1896
|
-
"description": "BCP-47 locale tag used to derive hour-cycle when `hour-cycle` is empty. Falls back to `<html lang>` then to browser default."
|
|
1897
|
-
},
|
|
1898
|
-
{
|
|
1899
|
-
"name": "placement",
|
|
1900
|
-
"type": {
|
|
1901
|
-
"text": "string"
|
|
1902
|
-
},
|
|
1903
|
-
"default": "bottom",
|
|
1904
|
-
"description": "Popover placement relative to the trigger. Default `bottom` centers the calendar+time panel under the trigger (ADR-0034 Rule 2 — ~600px panel >> trigger)."
|
|
1905
|
-
}
|
|
1906
|
-
],
|
|
1907
|
-
"slots": [
|
|
1908
|
-
{
|
|
1909
|
-
"name": "trigger",
|
|
1910
|
-
"description": "Custom trigger replacement. When omitted, a default trigger is stamped (a plain clickable span, per the base `<calendar-picker-ui>` — NOT the old standalone datetime-picker's `<button-ui>` trigger; see the Consequences note below)."
|
|
1911
|
-
},
|
|
1912
|
-
{
|
|
1913
|
-
"name": "footer",
|
|
1914
|
-
"description": "Optional Apply / Cancel buttons for explicit-commit flows. Spans both panes below the calendar + time area."
|
|
1915
|
-
}
|
|
1916
|
-
],
|
|
1917
|
-
"events": [
|
|
1918
|
-
{
|
|
1919
|
-
"name": "change",
|
|
1920
|
-
"type": {
|
|
1921
|
-
"text": "CustomEvent"
|
|
1922
|
-
},
|
|
1923
|
-
"description": "Fired when the value commits (date picked + time edited, OR Apply clicked in explicit-commit mode)."
|
|
1924
|
-
},
|
|
1925
|
-
{
|
|
1926
|
-
"name": "input",
|
|
1927
|
-
"type": {
|
|
1928
|
-
"text": "CustomEvent"
|
|
1929
|
-
},
|
|
1930
|
-
"description": "Fired during partial selection (date picked but time still pending, or vice versa)."
|
|
1931
|
-
},
|
|
1932
|
-
{
|
|
1933
|
-
"name": "open",
|
|
1934
|
-
"type": {
|
|
1935
|
-
"text": "CustomEvent"
|
|
1936
|
-
},
|
|
1937
|
-
"description": "Popover opened (user clicked the trigger or pressed Enter / Space)."
|
|
1938
|
-
},
|
|
1939
|
-
{
|
|
1940
|
-
"name": "close",
|
|
1941
|
-
"type": {
|
|
1942
|
-
"text": "CustomEvent"
|
|
1943
|
-
},
|
|
1944
|
-
"description": "Popover closed (without commit, or after commit)."
|
|
1945
|
-
},
|
|
1946
|
-
{
|
|
1947
|
-
"name": "invalid",
|
|
1948
|
-
"type": {
|
|
1949
|
-
"text": "CustomEvent"
|
|
1950
|
-
},
|
|
1951
|
-
"description": "A constraint failed (out of range, parse error)."
|
|
1952
|
-
}
|
|
1953
|
-
]
|
|
1954
|
-
}
|
|
1955
|
-
],
|
|
1956
|
-
"exports": [
|
|
1957
|
-
{
|
|
1958
|
-
"kind": "custom-element-definition",
|
|
1959
|
-
"name": "datetime-picker-ui",
|
|
1960
|
-
"declaration": {
|
|
1961
|
-
"name": "UIDatetimePicker",
|
|
1962
|
-
"module": "./components/calendar-picker/calendar-picker.test.js"
|
|
1963
|
-
}
|
|
1964
|
-
}
|
|
1965
|
-
]
|
|
1966
|
-
},
|
|
1967
1771
|
{
|
|
1968
1772
|
"kind": "javascript-module",
|
|
1969
1773
|
"path": "components/canvas/canvas.js",
|
|
@@ -2134,7 +1938,7 @@
|
|
|
2134
1938
|
"type": {
|
|
2135
1939
|
"text": "string"
|
|
2136
1940
|
},
|
|
2137
|
-
"description": "JSON array of {key, label, slot?, pct?} legend items. Takes precedence over [for] when both are provided."
|
|
1941
|
+
"description": "JSON array of {key, label, slot?, pct?, deemphasized?} legend items. Takes precedence over [for] when both are provided. `deemphasized` (REQ-R-007) mutes the row's swatch/label to the same muted-neutral tier chart-ui's own internal legend uses for a de-emphasized series (e.g. `composed@1:1`'s secondary line) — mirrored automatically from a `[for]`-bound chart's own `.legendData`, or settable explicitly here."
|
|
2138
1942
|
},
|
|
2139
1943
|
{
|
|
2140
1944
|
"name": "shape",
|
|
@@ -2150,15 +1954,14 @@
|
|
|
2150
1954
|
"text": "string"
|
|
2151
1955
|
},
|
|
2152
1956
|
"default": "bottom",
|
|
2153
|
-
"description": "Layout hint — drives flex-direction. Actual placement follows DOM order."
|
|
1957
|
+
"description": "Layout hint — drives flex-direction. Actual placement follows DOM order. Superseded by a resolved `ratio` bucket (below) whenever one is in effect; this is the pre-ADR-0074 fallback for a legend with neither an explicit `ratio` nor a `[for]`-bound chart."
|
|
2154
1958
|
},
|
|
2155
1959
|
{
|
|
2156
|
-
"name": "
|
|
1960
|
+
"name": "ratio",
|
|
2157
1961
|
"type": {
|
|
2158
|
-
"text": "
|
|
1962
|
+
"text": "string"
|
|
2159
1963
|
},
|
|
2160
|
-
"
|
|
2161
|
-
"description": "DEPRECATED (ADR-0063, gh#1563) — use `interactive` instead. When set (and `interactive` is absent), rows are non-interactive <span>s (no click, no toggle). Kept working as a dual-read compat shim (one-time console.warn when it's the name that resolves). Removed in 0.9.0."
|
|
1964
|
+
"description": "Chart 2.0 legend layout bucket (ADR-0074, gh#1624 plan step 5, REQ-R-005): 3:2 renders a horizontal row, 1:1 a wrapped 2-column grid, 2:3 a vertical stacked list. An explicit value PINS the bucket regardless of any bound chart. Unset (default) auto-mirrors the `[for]`-bound chart's own resolved `data-ratio-resolved` bucket — the legend never runs its own container-query classification, since its own box is typically a thin strip with no studied aspect of its own. With neither a pin nor a bound chart, no bucket resolves and `position`'s flex-direction rules apply unchanged. The resolved bucket reflects read-only onto the host as `data-ratio-resolved`, mirroring chart-ui's own convention."
|
|
2162
1965
|
},
|
|
2163
1966
|
{
|
|
2164
1967
|
"name": "interactive",
|
|
@@ -2166,7 +1969,7 @@
|
|
|
2166
1969
|
"text": "boolean"
|
|
2167
1970
|
},
|
|
2168
1971
|
"default": "true",
|
|
2169
|
-
"description": "Canonical opt-in spelling (ADR-0063, gh#1563)
|
|
1972
|
+
"description": "Canonical opt-in spelling (ADR-0063, gh#1563) — the deprecated `static` opt-out alias was cut in 0.8.43 (gh#1617). Rows are interactive <button>-role badges by default — this default stays `true` (deliberately NOT flipped yet; the 0.9.0 cut inverts it to `false` after a full consumer scan of every `<chart-legend-ui>` tag per the ADR)."
|
|
2170
1973
|
},
|
|
2171
1974
|
{
|
|
2172
1975
|
"name": "on-toggle",
|
|
@@ -2189,7 +1992,7 @@
|
|
|
2189
1992
|
"type": {
|
|
2190
1993
|
"text": "CustomEvent"
|
|
2191
1994
|
},
|
|
2192
|
-
"description": "Fires on row click
|
|
1995
|
+
"description": "Fires on row click when interactive. Detail: {key, active, mode}. `active` is the new state (true=visible). Consumers (or chart-ui via [for]) wire this to series visibility."
|
|
2193
1996
|
}
|
|
2194
1997
|
]
|
|
2195
1998
|
}
|
|
@@ -2242,29 +2045,13 @@
|
|
|
2242
2045
|
},
|
|
2243
2046
|
"description": "Color scheme"
|
|
2244
2047
|
},
|
|
2245
|
-
{
|
|
2246
|
-
"name": "hide-average",
|
|
2247
|
-
"type": {
|
|
2248
|
-
"text": "boolean"
|
|
2249
|
-
},
|
|
2250
|
-
"default": "false",
|
|
2251
|
-
"description": "DEPRECATED (ADR-0063, gh#1563) — use `noAverage` instead. Same meaning, same default; kept working as a dual-read compat shim (one- time console.warn when it's the name that resolves). Removed in 0.9.0."
|
|
2252
|
-
},
|
|
2253
2048
|
{
|
|
2254
2049
|
"name": "no-average",
|
|
2255
2050
|
"type": {
|
|
2256
2051
|
"text": "boolean"
|
|
2257
2052
|
},
|
|
2258
2053
|
"default": "false",
|
|
2259
|
-
"description": "When true, suppress the overlaid average line. Canonical spelling (ADR-0063, gh#1563)
|
|
2260
|
-
},
|
|
2261
|
-
{
|
|
2262
|
-
"name": "hide-grid",
|
|
2263
|
-
"type": {
|
|
2264
|
-
"text": "boolean"
|
|
2265
|
-
},
|
|
2266
|
-
"default": "false",
|
|
2267
|
-
"description": "DEPRECATED (ADR-0063, gh#1563) — use `noGrid` instead. Same meaning, same default; kept working as a dual-read compat shim (one-time console.warn when it's the name that resolves). Removed in 0.9.0."
|
|
2054
|
+
"description": "When true, suppress the overlaid average line. Canonical spelling (ADR-0063, gh#1563) — the deprecated `hideAverage` dual-read shim was cut in 0.8.43 (gh#1617)."
|
|
2268
2055
|
},
|
|
2269
2056
|
{
|
|
2270
2057
|
"name": "no-grid",
|
|
@@ -2272,15 +2059,7 @@
|
|
|
2272
2059
|
"text": "boolean"
|
|
2273
2060
|
},
|
|
2274
2061
|
"default": "false",
|
|
2275
|
-
"description": "Hide gridlines. Canonical spelling (ADR-0063, gh#1563)
|
|
2276
|
-
},
|
|
2277
|
-
{
|
|
2278
|
-
"name": "hide-values",
|
|
2279
|
-
"type": {
|
|
2280
|
-
"text": "boolean"
|
|
2281
|
-
},
|
|
2282
|
-
"default": "false",
|
|
2283
|
-
"description": "DEPRECATED (ADR-0063, gh#1563) — use `noValues` instead. Same meaning, same default; kept working as a dual-read compat shim (one- time console.warn when it's the name that resolves). Removed in 0.9.0."
|
|
2062
|
+
"description": "Hide gridlines. Canonical spelling (ADR-0063, gh#1563) — the deprecated `hideGrid` dual-read shim was cut in 0.8.43 (gh#1617)."
|
|
2284
2063
|
},
|
|
2285
2064
|
{
|
|
2286
2065
|
"name": "no-values",
|
|
@@ -2288,7 +2067,7 @@
|
|
|
2288
2067
|
"text": "boolean"
|
|
2289
2068
|
},
|
|
2290
2069
|
"default": "false",
|
|
2291
|
-
"description": "Hide value labels. Canonical spelling (ADR-0063, gh#1563)
|
|
2070
|
+
"description": "Hide value labels. Canonical spelling (ADR-0063, gh#1563) — the deprecated `hideValues` dual-read shim was cut in 0.8.43 (gh#1617)."
|
|
2292
2071
|
},
|
|
2293
2072
|
{
|
|
2294
2073
|
"name": "corner-radius",
|
|
@@ -2305,6 +2084,13 @@
|
|
|
2305
2084
|
},
|
|
2306
2085
|
"description": "Chart size"
|
|
2307
2086
|
},
|
|
2087
|
+
{
|
|
2088
|
+
"name": "ratio",
|
|
2089
|
+
"type": {
|
|
2090
|
+
"text": "string"
|
|
2091
|
+
},
|
|
2092
|
+
"description": "Chart 2.0 aspect-ratio bucket (ADR-0074). Unset (default) auto-snaps to the nearest of the three studied ratios by comparing the chart's own live box aspect against two midpoint boundaries (5:4 between 3:2/1:1, 4:5 between 1:1/2:3) — never interpolated; the resolved bucket reflects onto the host as `data-ratio-resolved`. Setting `ratio` explicitly pins that bucket regardless of the box's actual aspect, overriding the auto-snap. Orthogonal to `size` (overall scale) and `type`/`color` (ADR-0064's family axis) — this attribute lands the grammar + snap plumbing only; per-type studied renderings per bucket are later waves (gh#1624 plan steps 2-4)."
|
|
2093
|
+
},
|
|
2308
2094
|
{
|
|
2309
2095
|
"name": "smooth",
|
|
2310
2096
|
"type": {
|
|
@@ -2336,6 +2122,22 @@
|
|
|
2336
2122
|
"default": "false",
|
|
2337
2123
|
"description": "Show a skeleton placeholder instead of the chart body. Set to true while data is being fetched; clear once data arrives. Preserves the element's aspect-ratio dimensions so the skeleton occupies the same space the chart will fill. Parity with stat-ui[loading] and table-ui[loading] (§FB-12, v0.6.27)."
|
|
2338
2124
|
},
|
|
2125
|
+
{
|
|
2126
|
+
"name": "y-min",
|
|
2127
|
+
"type": {
|
|
2128
|
+
"text": "number"
|
|
2129
|
+
},
|
|
2130
|
+
"default": "null",
|
|
2131
|
+
"description": "Pins the value-axis domain floor for cartesian types (bar, line, area, scatter, multi-line, stacked-bar, grouped-bar, composed). Unset (default, null) already floors a positive series at 0 (the pre-1690 behavior, unchanged) — a migrating d3 consumer's own \"pin the floor to 0\" habit is the built-in default, not something to configure. Pin `y-min` explicitly for three OTHER cases: (1) zooming a narrow window — e.g. `y-min=\"0.9\" y-max=\"1\"` magnifies a percent series clustered near 92-95%, which reads flatter against the full auto-scaled [0,1] domain; (2) a mixed-sign series, where the unpinned floor never goes below 0 and negative values clip at the axis; (3) aligning two charts to one shared scale for a fair comparison. N/A for radial/part-to-whole types (pie, donut, radar, radial-bar, gauge, funnel, treemap, sankey, segments, sparkline) — those never read a shared linear value axis, so this prop is a no-op there (gh#1690). A datum outside the pinned domain is CLAMPED to the nearest edge for rendering (the value label/tooltip still shows the real value) rather than escaping the plot box."
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
"name": "y-max",
|
|
2135
|
+
"type": {
|
|
2136
|
+
"text": "number"
|
|
2137
|
+
},
|
|
2138
|
+
"default": "null",
|
|
2139
|
+
"description": "Pins the value-axis domain ceiling for cartesian types (bar, line, area, scatter, multi-line, stacked-bar, grouped-bar, composed). Unset (default, null) keeps today's auto-scale ceiling (the data max). Pairs with `yMin` to pin the full domain; either may be set alone. N/A for radial/part-to-whole types — see `yMin` (gh#1690). A datum outside the pinned domain is CLAMPED to the nearest edge for rendering (the value label/tooltip still shows the real value) rather than escaping the plot box."
|
|
2140
|
+
},
|
|
2339
2141
|
{
|
|
2340
2142
|
"name": "x",
|
|
2341
2143
|
"type": {
|
|
@@ -2889,7 +2691,7 @@
|
|
|
2889
2691
|
"declarations": [
|
|
2890
2692
|
{
|
|
2891
2693
|
"kind": "class",
|
|
2892
|
-
"description": "OKLCH-native color picker with 2D area and H/C/L sliders. Form-associated input emitting OKLCH color strings; canonical color authoring surface in the AdiaUI token system. Use for color input in design tools or theming UIs; for simple color swatches use <swatch-ui> or <color-input-ui> instead. Renamed from `<color-picker-ui>` (ADR-0063, gh#1563 — `-picker` is reserved for the outer trigger + popover composite shape; this is the inline substrate, mirroring <calendar-grid-ui>'s naming precedent). `<color-picker-ui>`
|
|
2694
|
+
"description": "OKLCH-native color picker with 2D area and H/C/L sliders. Form-associated input emitting OKLCH color strings; canonical color authoring surface in the AdiaUI token system. Use for color input in design tools or theming UIs; for simple color swatches use <swatch-ui> or <color-input-ui> instead. Renamed from `<color-picker-ui>` (ADR-0063, gh#1563 — `-picker` is reserved for the outer trigger + popover composite shape; this is the inline substrate, mirroring <calendar-grid-ui>'s naming precedent). `<color-picker-ui>` was cut in 0.8.43 (gh#1617) — this is the sole tag now.",
|
|
2893
2695
|
"name": "UIColorArea",
|
|
2894
2696
|
"tagName": "color-area-ui",
|
|
2895
2697
|
"superclass": {
|
|
@@ -3011,7 +2813,7 @@
|
|
|
3011
2813
|
"declarations": [
|
|
3012
2814
|
{
|
|
3013
2815
|
"kind": "class",
|
|
3014
|
-
"description": "Compact form-bearing color input — opens a popover-anchored `<color-area-ui>` from an inline swatch button. §302 (v0.5.12, FEEDBACK-29 re-bucket from v0.6.0). Canonicalizes the USAGE.md §221f Option B recipe (popover + button + color-area) into a single form-associated tag for inline form contexts (settings drawer \"source color\" field, swatch-row inline-edit, etc.). Composes `<color-area-ui>` (ADR-0063, gh#1563 — renamed from `<color-picker-ui>`,
|
|
2816
|
+
"description": "Compact form-bearing color input — opens a popover-anchored `<color-area-ui>` from an inline swatch button. §302 (v0.5.12, FEEDBACK-29 re-bucket from v0.6.0). Canonicalizes the USAGE.md §221f Option B recipe (popover + button + color-area) into a single form-associated tag for inline form contexts (settings drawer \"source color\" field, swatch-row inline-edit, etc.). Composes `<color-area-ui>` (ADR-0063, gh#1563 — renamed from `<color-picker-ui>`, cut in 0.8.43, gh#1617); `color-input-ui`'s own tag/name is unaffected.",
|
|
3015
2817
|
"name": "UIColorInput",
|
|
3016
2818
|
"tagName": "color-input-ui",
|
|
3017
2819
|
"superclass": {
|
|
@@ -3120,129 +2922,7 @@
|
|
|
3120
2922
|
"type": {
|
|
3121
2923
|
"text": "CustomEvent"
|
|
3122
2924
|
},
|
|
3123
|
-
"description": "Fired during continuous drag of the inner picker. Bubbles from inner picker."
|
|
3124
|
-
}
|
|
3125
|
-
]
|
|
3126
|
-
}
|
|
3127
|
-
],
|
|
3128
|
-
"exports": [
|
|
3129
|
-
{
|
|
3130
|
-
"kind": "custom-element-definition",
|
|
3131
|
-
"name": "color-input-ui",
|
|
3132
|
-
"declaration": {
|
|
3133
|
-
"name": "UIColorInput",
|
|
3134
|
-
"module": "./components/color-input/color-input.js"
|
|
3135
|
-
}
|
|
3136
|
-
}
|
|
3137
|
-
]
|
|
3138
|
-
},
|
|
3139
|
-
{
|
|
3140
|
-
"kind": "javascript-module",
|
|
3141
|
-
"path": "components/color-picker/color-picker.js",
|
|
3142
|
-
"declarations": [
|
|
3143
|
-
{
|
|
3144
|
-
"kind": "class",
|
|
3145
|
-
"description": "DEPRECATED (ADR-0063, gh#1563, gh#1377 B11) — `-picker` is reserved for the outer, trigger + popover, form-associated composite shape (`calendar-picker-ui` / `date-range-picker-ui` / `datetime-picker-ui` / `time-picker-ui`); `color-picker-ui` was the sole violator, playing `calendar-grid-ui`'s inline-substrate role under a `-picker` name. `<color-picker-ui>` is now a thin `UIColorArea` subclass (see color-picker.class.js) rather than an independent implementation — every prop/event/token is inherited unchanged from `<color-area-ui>`. Existing markup keeps working, but new markup should reach for `<color-area-ui>` directly. See `<color-area-ui>` for the full contract.",
|
|
3146
|
-
"name": "UIColorPicker",
|
|
3147
|
-
"tagName": "color-picker-ui",
|
|
3148
|
-
"superclass": {
|
|
3149
|
-
"name": "UIElement",
|
|
3150
|
-
"module": "/core/element.js"
|
|
3151
|
-
},
|
|
3152
|
-
"attributes": [
|
|
3153
|
-
{
|
|
3154
|
-
"name": "name",
|
|
3155
|
-
"type": {
|
|
3156
|
-
"text": "string"
|
|
3157
|
-
},
|
|
3158
|
-
"description": "Form field name"
|
|
3159
|
-
},
|
|
3160
|
-
{
|
|
3161
|
-
"name": "disabled",
|
|
3162
|
-
"type": {
|
|
3163
|
-
"text": "boolean"
|
|
3164
|
-
},
|
|
3165
|
-
"default": "false",
|
|
3166
|
-
"description": "Disables all interaction"
|
|
3167
|
-
},
|
|
3168
|
-
{
|
|
3169
|
-
"name": "format",
|
|
3170
|
-
"type": {
|
|
3171
|
-
"text": "string"
|
|
3172
|
-
},
|
|
3173
|
-
"default": "hex",
|
|
3174
|
-
"description": "Output format for the value property"
|
|
3175
|
-
},
|
|
3176
|
-
{
|
|
3177
|
-
"name": "value",
|
|
3178
|
-
"type": {
|
|
3179
|
-
"text": "string"
|
|
3180
|
-
},
|
|
3181
|
-
"default": "#3b82f6",
|
|
3182
|
-
"description": "Current color as hex string"
|
|
3183
|
-
},
|
|
3184
|
-
{
|
|
3185
|
-
"name": "maxChroma",
|
|
3186
|
-
"type": {
|
|
3187
|
-
"text": "number"
|
|
3188
|
-
},
|
|
3189
|
-
"default": "Infinity",
|
|
3190
|
-
"description": "Generation constraint (v0.4.9 §99h, FEEDBACK-02 OKLCH chroma channel to at most this value before commit. Out-of- bound mutations round-trip to the nearest in-bound equivalent + fire `constraint-clamp`. Default Infinity (no constraint)."
|
|
3191
|
-
},
|
|
3192
|
-
{
|
|
3193
|
-
"name": "maxL",
|
|
3194
|
-
"type": {
|
|
3195
|
-
"text": "number"
|
|
3196
|
-
},
|
|
3197
|
-
"default": "1",
|
|
3198
|
-
"description": "Generation constraint — clamp OKLCH lightness to at most this value (0..1). Default 1 (no constraint)."
|
|
3199
|
-
},
|
|
3200
|
-
{
|
|
3201
|
-
"name": "minL",
|
|
3202
|
-
"type": {
|
|
3203
|
-
"text": "number"
|
|
3204
|
-
},
|
|
3205
|
-
"default": "0",
|
|
3206
|
-
"description": "Generation constraint — clamp OKLCH lightness to at least this value (0..1). Default 0 (no constraint)."
|
|
3207
|
-
},
|
|
3208
|
-
{
|
|
3209
|
-
"name": "hueDriftMax",
|
|
3210
|
-
"type": {
|
|
3211
|
-
"text": "number"
|
|
3212
|
-
},
|
|
3213
|
-
"default": "NaN",
|
|
3214
|
-
"description": "Generation constraint — maximum allowed signed-shortest-path hue deviation (degrees) from [base-hue] (or the first-committed hue if [base-hue] is unset). Default NaN (no constraint). Wrap-aware so a drift of 350 degrees resolves as -10."
|
|
3215
|
-
},
|
|
3216
|
-
{
|
|
3217
|
-
"name": "baseHue",
|
|
3218
|
-
"type": {
|
|
3219
|
-
"text": "number"
|
|
3220
|
-
},
|
|
3221
|
-
"default": "NaN",
|
|
3222
|
-
"description": "Reference hue (degrees) for the [hue-drift-max] constraint. Default NaN — falls back to the picker's hue at first commit so the consumer can pre-seed the picker and constrain drift from that initial value."
|
|
3223
|
-
}
|
|
3224
|
-
],
|
|
3225
|
-
"events": [
|
|
3226
|
-
{
|
|
3227
|
-
"name": "change",
|
|
3228
|
-
"type": {
|
|
3229
|
-
"text": "CustomEvent"
|
|
3230
|
-
},
|
|
3231
|
-
"description": "Fired on every color change"
|
|
3232
|
-
},
|
|
3233
|
-
{
|
|
3234
|
-
"name": "input",
|
|
3235
|
-
"type": {
|
|
3236
|
-
"text": "CustomEvent"
|
|
3237
|
-
},
|
|
3238
|
-
"description": "Fired during continuous interaction (drag)"
|
|
3239
|
-
},
|
|
3240
|
-
{
|
|
3241
|
-
"name": "constraint-clamp",
|
|
3242
|
-
"type": {
|
|
3243
|
-
"text": "CustomEvent"
|
|
3244
|
-
},
|
|
3245
|
-
"description": "Fired immediately before `change` / `input` when one or more consumer-declared constraints (max-chroma / max-l / min-l / hue-drift-max) clamped a channel away from the user-requested value. detail.clamps is an array of axis-specific clamp records."
|
|
2925
|
+
"description": "Fired during continuous drag of the inner picker. Bubbles from inner picker."
|
|
3246
2926
|
}
|
|
3247
2927
|
]
|
|
3248
2928
|
}
|
|
@@ -3250,10 +2930,10 @@
|
|
|
3250
2930
|
"exports": [
|
|
3251
2931
|
{
|
|
3252
2932
|
"kind": "custom-element-definition",
|
|
3253
|
-
"name": "color-
|
|
2933
|
+
"name": "color-input-ui",
|
|
3254
2934
|
"declaration": {
|
|
3255
|
-
"name": "
|
|
3256
|
-
"module": "./components/color-
|
|
2935
|
+
"name": "UIColorInput",
|
|
2936
|
+
"module": "./components/color-input/color-input.js"
|
|
3257
2937
|
}
|
|
3258
2938
|
}
|
|
3259
2939
|
]
|
|
@@ -4914,6 +4594,13 @@
|
|
|
4914
4594
|
"default": "wide",
|
|
4915
4595
|
"description": "Aspect ratio"
|
|
4916
4596
|
},
|
|
4597
|
+
{
|
|
4598
|
+
"name": "data",
|
|
4599
|
+
"type": {
|
|
4600
|
+
"text": "string"
|
|
4601
|
+
},
|
|
4602
|
+
"description": "Cell data as a JSON array of `{ r, c, v, label? }` objects, or set the `.data` property directly with an already-parsed array. Parsed on connect if the attribute is present and `.data` hasn't already been set programmatically."
|
|
4603
|
+
},
|
|
4917
4604
|
{
|
|
4918
4605
|
"name": "color-scheme",
|
|
4919
4606
|
"type": {
|
|
@@ -5361,7 +5048,7 @@
|
|
|
5361
5048
|
"text": "string"
|
|
5362
5049
|
},
|
|
5363
5050
|
"default": "text",
|
|
5364
|
-
"description": "Input type. `password` wraps a native `<input>` for disc masking; `number` renders a contenteditable + stepper buttons (no native input). `text`/`email`/`tel`/`url` use plain contenteditable. input-ui does NOT implement date/time/color/search affordances — those HTML5 type values render as a plain contenteditable with no calendar, clock, swatch, or search affordance (first-pass-VALID against this enum historically, but functionally broken generation output). Use the owning primitive instead — CalendarPicker for date (+ month/week, no dedicated granularity primitive exists),
|
|
5051
|
+
"description": "Input type. `password` wraps a native `<input>` for disc masking; `number` renders a contenteditable + stepper buttons (no native input). `text`/`email`/`tel`/`url` use plain contenteditable. input-ui does NOT implement date/time/color/search affordances — those HTML5 type values render as a plain contenteditable with no calendar, clock, swatch, or search affordance (first-pass-VALID against this enum historically, but functionally broken generation output). Use the owning primitive instead — CalendarPicker for date (+ month/week, no dedicated granularity primitive exists), CalendarPicker precision=\"minute\" for datetime-local, TimePicker for time, ColorInput/ColorArea for color, Search for search. See anti_patterns."
|
|
5365
5052
|
},
|
|
5366
5053
|
{
|
|
5367
5054
|
"name": "required",
|
|
@@ -6314,7 +6001,7 @@
|
|
|
6314
6001
|
},
|
|
6315
6002
|
{
|
|
6316
6003
|
"kind": "class",
|
|
6317
|
-
"description": "Child of `<menu-ui>`. One actionable row inside a menu, with optional leading icon + label + description + value. (`subtitle`
|
|
6004
|
+
"description": "Child of `<menu-ui>`. One actionable row inside a menu, with optional leading icon + label + description + value. (The deprecated `subtitle` prop alias for `description` was cut in 0.8.43 — ADR-0063, gh#1563/gh#1617.)",
|
|
6318
6005
|
"name": "UIMenuItem",
|
|
6319
6006
|
"tagName": "menu-item-ui",
|
|
6320
6007
|
"superclass": {
|
|
@@ -6336,19 +6023,12 @@
|
|
|
6336
6023
|
},
|
|
6337
6024
|
"description": "Item label text."
|
|
6338
6025
|
},
|
|
6339
|
-
{
|
|
6340
|
-
"name": "subtitle",
|
|
6341
|
-
"type": {
|
|
6342
|
-
"text": "string"
|
|
6343
|
-
},
|
|
6344
|
-
"description": "DEPRECATED (ADR-0063, gh#1563) — use `description` instead. Same type/default/rendered position; kept working as a dual-read compat shim (one-time console.warn when it's the name that resolves). Removed in 0.9.0. (The `subtitle` SLOT below is a separate surface, deliberately left unrenamed in this pass — see its own description.)"
|
|
6345
|
-
},
|
|
6346
6026
|
{
|
|
6347
6027
|
"name": "description",
|
|
6348
6028
|
"type": {
|
|
6349
6029
|
"text": "string"
|
|
6350
6030
|
},
|
|
6351
|
-
"description": "Optional secondary description line rendered under the label. Canonical spelling (ADR-0063, gh#1563) replacing `subtitle` — converges menu-item onto the ~20-component corpus majority that already names this concept `description`."
|
|
6031
|
+
"description": "Optional secondary description line rendered under the label. Canonical spelling (ADR-0063, gh#1563) replacing `subtitle` — converges menu-item onto the ~20-component corpus majority that already names this concept `description`. The deprecated `subtitle` prop alias was cut in 0.8.43 (gh#1617)."
|
|
6352
6032
|
},
|
|
6353
6033
|
{
|
|
6354
6034
|
"name": "value",
|
|
@@ -6385,7 +6065,7 @@
|
|
|
6385
6065
|
},
|
|
6386
6066
|
{
|
|
6387
6067
|
"name": "subtitle",
|
|
6388
|
-
"description": "Custom secondary-line content override; falls through to the `[description]` prop (
|
|
6068
|
+
"description": "Custom secondary-line content override; falls through to the `[description]` prop if not slotted (ADR-0063, gh#1563 — the deprecated `[subtitle]` prop alias was cut in 0.8.43, gh#1617). The slot's own name is unchanged by that rename — this is a distinct, deliberately-unrenamed surface."
|
|
6389
6069
|
},
|
|
6390
6070
|
{
|
|
6391
6071
|
"name": "trailing",
|
|
@@ -6923,14 +6603,6 @@
|
|
|
6923
6603
|
"default": "false",
|
|
6924
6604
|
"description": "Allow interactive creation/deletion of connections via drag"
|
|
6925
6605
|
},
|
|
6926
|
-
{
|
|
6927
|
-
"name": "port-size",
|
|
6928
|
-
"type": {
|
|
6929
|
-
"text": "number"
|
|
6930
|
-
},
|
|
6931
|
-
"default": "10",
|
|
6932
|
-
"description": "Port indicator dot size in pixels"
|
|
6933
|
-
},
|
|
6934
6606
|
{
|
|
6935
6607
|
"name": "port-size",
|
|
6936
6608
|
"type": {
|
|
@@ -6947,14 +6619,6 @@
|
|
|
6947
6619
|
"default": "false",
|
|
6948
6620
|
"description": "View-only mode; disables drag/edit while keeping connections visible"
|
|
6949
6621
|
},
|
|
6950
|
-
{
|
|
6951
|
-
"name": "show-ports",
|
|
6952
|
-
"type": {
|
|
6953
|
-
"text": "boolean"
|
|
6954
|
-
},
|
|
6955
|
-
"default": "false",
|
|
6956
|
-
"description": "Show port indicator dots. Defaults to true when editable"
|
|
6957
|
-
},
|
|
6958
6622
|
{
|
|
6959
6623
|
"name": "show-ports",
|
|
6960
6624
|
"type": {
|
|
@@ -6963,14 +6627,6 @@
|
|
|
6963
6627
|
"default": "false",
|
|
6964
6628
|
"description": "Show port indicators"
|
|
6965
6629
|
},
|
|
6966
|
-
{
|
|
6967
|
-
"name": "stroke-width",
|
|
6968
|
-
"type": {
|
|
6969
|
-
"text": "number"
|
|
6970
|
-
},
|
|
6971
|
-
"default": "2",
|
|
6972
|
-
"description": "Stroke width in pixels"
|
|
6973
|
-
},
|
|
6974
6630
|
{
|
|
6975
6631
|
"name": "stroke-width",
|
|
6976
6632
|
"type": {
|
|
@@ -7505,7 +7161,7 @@
|
|
|
7505
7161
|
"declarations": [
|
|
7506
7162
|
{
|
|
7507
7163
|
"kind": "class",
|
|
7508
|
-
"description": "Collapsible, resizable content panel — drag-resize handle on the inner edge when [
|
|
7164
|
+
"description": "Collapsible, resizable content panel — drag-resize handle on the inner edge when [edge=\"leading\"] / [edge=\"trailing\"], [resizable] opt-in. Used standalone for resizable two-pane layouts, or wrapped by <editor-sidebar> / <admin-sidebar> which DELEGATE drag to the inner pane-ui rather than reimplementing it. See pane.yaml's a2ui.rules for the full composition contract.",
|
|
7509
7165
|
"name": "UIPane",
|
|
7510
7166
|
"tagName": "pane-ui",
|
|
7511
7167
|
"superclass": {
|
|
@@ -7545,13 +7201,6 @@
|
|
|
7545
7201
|
"default": "false",
|
|
7546
7202
|
"description": "Component property: resizable."
|
|
7547
7203
|
},
|
|
7548
|
-
{
|
|
7549
|
-
"name": "side",
|
|
7550
|
-
"type": {
|
|
7551
|
-
"text": "string"
|
|
7552
|
-
},
|
|
7553
|
-
"description": "DEPRECATED (ADR-0063, gh#1563) — use `edge` instead. Same type/default/enum; kept working as a dual-read compat shim (one-time console.warn when it's the name that resolves). Removed in 0.9.0."
|
|
7554
|
-
},
|
|
7555
7204
|
{
|
|
7556
7205
|
"name": "edge",
|
|
7557
7206
|
"type": {
|
|
@@ -7857,81 +7506,13 @@
|
|
|
7857
7506
|
}
|
|
7858
7507
|
]
|
|
7859
7508
|
},
|
|
7860
|
-
{
|
|
7861
|
-
"kind": "javascript-module",
|
|
7862
|
-
"path": "components/progress-row/progress-row.js",
|
|
7863
|
-
"declarations": [
|
|
7864
|
-
{
|
|
7865
|
-
"kind": "class",
|
|
7866
|
-
"description": "DEPRECATED (gh#1363 C4) — absorbed into <progress-ui>: set `label` (and optional `meta`) directly on <progress-ui> instead, which activates the identical row layout in place. progress-row-ui keeps working (still composes <progress-ui> internally, unchanged behavior) for existing back-compat markup, but is no longer taught or generated for new work. Was: inline labeled progress row with label, progress bar, and meta text — storage quotas, capacity breakdowns, usage indicators.",
|
|
7867
|
-
"name": "UIProgressRow",
|
|
7868
|
-
"tagName": "progress-row-ui",
|
|
7869
|
-
"superclass": {
|
|
7870
|
-
"name": "UIElement",
|
|
7871
|
-
"module": "/core/element.js"
|
|
7872
|
-
},
|
|
7873
|
-
"attributes": [
|
|
7874
|
-
{
|
|
7875
|
-
"name": "label",
|
|
7876
|
-
"type": {
|
|
7877
|
-
"text": "string"
|
|
7878
|
-
},
|
|
7879
|
-
"description": "Left-hand label text"
|
|
7880
|
-
},
|
|
7881
|
-
{
|
|
7882
|
-
"name": "meta",
|
|
7883
|
-
"type": {
|
|
7884
|
-
"text": "string"
|
|
7885
|
-
},
|
|
7886
|
-
"description": "Right-hand meta text (e.g. '32 GB', '4.2k / 10k')"
|
|
7887
|
-
},
|
|
7888
|
-
{
|
|
7889
|
-
"name": "value",
|
|
7890
|
-
"type": {
|
|
7891
|
-
"text": "number"
|
|
7892
|
-
},
|
|
7893
|
-
"default": "null",
|
|
7894
|
-
"description": "Progress value 0-100 (null = indeterminate; legacy -1 accepted for back-compat)"
|
|
7895
|
-
},
|
|
7896
|
-
{
|
|
7897
|
-
"name": "variant",
|
|
7898
|
-
"type": {
|
|
7899
|
-
"text": "string"
|
|
7900
|
-
},
|
|
7901
|
-
"default": "default",
|
|
7902
|
-
"description": "Color variant for the progress fill"
|
|
7903
|
-
}
|
|
7904
|
-
],
|
|
7905
|
-
"slots": [
|
|
7906
|
-
{
|
|
7907
|
-
"name": "label",
|
|
7908
|
-
"description": "Label region — control label."
|
|
7909
|
-
},
|
|
7910
|
-
{
|
|
7911
|
-
"name": "meta",
|
|
7912
|
-
"description": "Child content region for the `meta` slot."
|
|
7913
|
-
}
|
|
7914
|
-
]
|
|
7915
|
-
}
|
|
7916
|
-
],
|
|
7917
|
-
"exports": [
|
|
7918
|
-
{
|
|
7919
|
-
"kind": "custom-element-definition",
|
|
7920
|
-
"name": "progress-row-ui",
|
|
7921
|
-
"declaration": {
|
|
7922
|
-
"name": "UIProgressRow",
|
|
7923
|
-
"module": "./components/progress-row/progress-row.js"
|
|
7924
|
-
}
|
|
7925
|
-
}
|
|
7926
|
-
]
|
|
7927
|
-
},
|
|
7928
7509
|
{
|
|
7929
7510
|
"kind": "javascript-module",
|
|
7930
7511
|
"path": "components/progress/progress.js",
|
|
7931
7512
|
"declarations": [
|
|
7932
7513
|
{
|
|
7933
7514
|
"kind": "class",
|
|
7934
|
-
"description": "Linear progress bar indicator. Value < 0 marks indeterminate state showing animated activity instead of a fill. Bar-only — for circular loading indicators use <spinner-ui> instead (the former `variant=\"spinner\"` render mode was retired; spinner-ui owns circular). Set `label` for a labeled task-list row (label + bar + optional `meta` text in one row, e.g. storage quotas, capacity breakdowns) — absorbed <progress-row-ui>'s row layout directly; that component
|
|
7515
|
+
"description": "Linear progress bar indicator. Value < 0 marks indeterminate state showing animated activity instead of a fill. Bar-only — for circular loading indicators use <spinner-ui> instead (the former `variant=\"spinner\"` render mode was retired; spinner-ui owns circular). Set `label` for a labeled task-list row (label + bar + optional `meta` text in one row, e.g. storage quotas, capacity breakdowns) — absorbed <progress-row-ui>'s row layout directly; that component was cut in 0.8.43 (gh#1617). Omit `label` for a standalone bar (global loading indicators); for percent-complete inline displays use <stat-ui> instead.",
|
|
7935
7516
|
"name": "UIProgress",
|
|
7936
7517
|
"tagName": "progress-ui",
|
|
7937
7518
|
"superclass": {
|
|
@@ -8833,7 +8414,7 @@
|
|
|
8833
8414
|
"text": "boolean"
|
|
8834
8415
|
},
|
|
8835
8416
|
"default": "false",
|
|
8836
|
-
"description": "Enables multi-select — value becomes a comma-separated set, the sliding indicator is suppressed (each selected segment carries its own background instead), and Space/Enter toggles a focused segment instead of arrow-move selecting it. Positive polarity, matching select-ui[multiple]. Absorbs the role of the
|
|
8417
|
+
"description": "Enables multi-select — value becomes a comma-separated set, the sliding indicator is suppressed (each selected segment carries its own background instead), and Space/Enter toggles a focused segment instead of arrow-move selecting it. Positive polarity, matching select-ui[multiple]. Absorbs the role of the <toggle-group-ui> + <toggle-option-ui> pair (gh#1369, #1363 C1) — those components were cut in 0.8.43 (gh#1617). Unlike the former <toggle-group-ui single>, re-clicking an already-selected segment does NOT clear the selection — segmented-ui's single-select is standard radiogroup semantics (always exactly one selected once a value is set)."
|
|
8837
8418
|
},
|
|
8838
8419
|
{
|
|
8839
8420
|
"name": "allow-empty",
|
|
@@ -10322,7 +9903,7 @@
|
|
|
10322
9903
|
"declarations": [
|
|
10323
9904
|
{
|
|
10324
9905
|
"kind": "class",
|
|
10325
|
-
"description": "Header / companion bar for a sibling table-ui. Renders title + count badge, filter / sort / columns popovers,
|
|
9906
|
+
"description": "Header / companion bar for a sibling table-ui. Renders an optional leading [slot=\"scope\"] region, title + count badge, an optional \"Showing X–Y of N\" range summary, filter / sort / columns popovers, a search input, an optional [slot=\"actions-leading\"] region, an optional page-size select, and a trailing [slot=\"actions\"] region — all wired to the target table via an [for] id-ref. Modeled on chart-legend-ui's [for] binding pattern. Drop next to (or above) any table-ui to add the standard data-grid toolbar without re-implementing search, filter, sort, column visibility, or pagination summary/page-size. Filter rows auto-pick a primitive per column: ≤ 50 distinct values → multi-select (searchable when ≥ 12 options), id-like keys → free-text contains. The column descriptor's `filter` field overrides the auto-detect: `'select'` forces multi-select even on high-cardinality columns; `'text'` forces a contains input even on small enums.",
|
|
10326
9907
|
"name": "UITableToolbar",
|
|
10327
9908
|
"tagName": "table-toolbar-ui",
|
|
10328
9909
|
"superclass": {
|
|
@@ -10351,6 +9932,46 @@
|
|
|
10351
9932
|
},
|
|
10352
9933
|
"description": "Optional count badge value shown next to the title. When unset, falls back to the row count of the bound table."
|
|
10353
9934
|
},
|
|
9935
|
+
{
|
|
9936
|
+
"name": "range-start",
|
|
9937
|
+
"type": {
|
|
9938
|
+
"text": "number"
|
|
9939
|
+
},
|
|
9940
|
+
"default": "0",
|
|
9941
|
+
"description": "1-indexed first row number of the current page, for the \"Showing X–Y of N\" range summary (e.g. `1` in \"Showing 1–25 of 320\"). Renders alongside — never in place of — [text]/[count]; the range summary is its own cluster, independent of the title cluster. All three of rangeStart/rangeEnd/rangeTotal must be set (> 0) for the summary to render; omit all three (the default) to opt out entirely."
|
|
9942
|
+
},
|
|
9943
|
+
{
|
|
9944
|
+
"name": "range-end",
|
|
9945
|
+
"type": {
|
|
9946
|
+
"text": "number"
|
|
9947
|
+
},
|
|
9948
|
+
"default": "0",
|
|
9949
|
+
"description": "1-indexed last row number of the current page, for the range summary (e.g. `25` in \"Showing 1–25 of 320\"). See rangeStart."
|
|
9950
|
+
},
|
|
9951
|
+
{
|
|
9952
|
+
"name": "range-total",
|
|
9953
|
+
"type": {
|
|
9954
|
+
"text": "number"
|
|
9955
|
+
},
|
|
9956
|
+
"default": "0",
|
|
9957
|
+
"description": "Total row count across all pages, for the range summary (e.g. `320` in \"Showing 1–25 of 320\"). Distinct from pagination-ui's `total` (total PAGES) — this is total ROWS; deliberately not spelled `total` to avoid that cross-sibling name collision (ADR-0063 B5). See rangeStart."
|
|
9958
|
+
},
|
|
9959
|
+
{
|
|
9960
|
+
"name": "page-size",
|
|
9961
|
+
"type": {
|
|
9962
|
+
"text": "number"
|
|
9963
|
+
},
|
|
9964
|
+
"default": "0",
|
|
9965
|
+
"description": "Current rows-per-page value, shown as the selected option in the page-size select. Falls back to the first entry of pageSizeOptions when unset (0) or not present among the options. Applied directly to the bound table's own [paginate] prop (rows-per-page), the same way filter/sort/columns changes are applied to the target — mirror this prop only to reflect state to URL / persistence / analytics."
|
|
9966
|
+
},
|
|
9967
|
+
{
|
|
9968
|
+
"name": "pageSizeOptions",
|
|
9969
|
+
"type": {
|
|
9970
|
+
"text": "array"
|
|
9971
|
+
},
|
|
9972
|
+
"default": "[]",
|
|
9973
|
+
"description": "Rows-per-page choices rendered as `<option>`s in the page-size select (e.g. `[10, 25, 50, 100]`). JS property (`.pageSizeOptions = [...]`), or a declarative JSON-array `page-size-options=\"[10,25,50]\"` attribute hydrated once at connect — the same dynamic-array pattern table-ui's own `columns`/`data` props use. Empty (the default) hides the page-size select entirely — additive opt-in, no footprint on existing consumers."
|
|
9974
|
+
},
|
|
10354
9975
|
{
|
|
10355
9976
|
"name": "no-filter",
|
|
10356
9977
|
"type": {
|
|
@@ -10383,6 +10004,21 @@
|
|
|
10383
10004
|
"default": "false",
|
|
10384
10005
|
"description": "Hide the search input. Search is shown by default; set to opt out."
|
|
10385
10006
|
},
|
|
10007
|
+
{
|
|
10008
|
+
"name": "stage",
|
|
10009
|
+
"type": {
|
|
10010
|
+
"text": "string"
|
|
10011
|
+
},
|
|
10012
|
+
"description": "Explicit compaction-stage override (ADR-0076). Unset (the default, empty string) means auto-snap: the toolbar's own inline-size container query picks the nearest stage from its live width against the three --table-toolbar-bp-* breakpoints, snapping discretely, never interpolating. Setting stage explicitly pins that stage's rendering regardless of the container's actual width — overriding the container query, mirroring chart-ui's ratio override shape. Primary use: visual-eval fixtures that need a deterministic stage without resizing a real container, and a consumer embedding the toolbar inside a known-narrow panel who wants to skip auto-detection entirely. All four stages' CSS is now live (ADR-0076): search-tight steps the search field down (step 2); icon-only drops control labels and compacts/hides the range summary (steps 3+4); overflow collapses Filter/Sort/Columns into one \"More\" trigger routed through the same menu-ui/menu-item-ui pattern used elsewhere in the corpus (step 5). The resolved stage — the pin if set, otherwise the live width classification — also reflects onto the host as `data-stage-resolved` (step 7, informational only, mirrors chart-ui's `data-ratio-resolved` convention — never drives table-toolbar's own rendering, which stays 100% CSS-driven)."
|
|
10013
|
+
},
|
|
10014
|
+
{
|
|
10015
|
+
"name": "chrome-only",
|
|
10016
|
+
"type": {
|
|
10017
|
+
"text": "boolean"
|
|
10018
|
+
},
|
|
10019
|
+
"default": "false",
|
|
10020
|
+
"description": "Suppress all four native controls/search at once (filter, sort, columns, search) as additive sugar over noFilter/noSort/noColumns/ noSearch (ADR-0076, ADIA2-9123). Precedence is pure, absolute OR — while set, all four stay off regardless of any individual no-* attribute's own value, with no partial re-enable path; to re-enable one control, remove chrome-only entirely and set the other three no-* attributes explicitly instead. The four granular attributes are not deprecated or removed — they remain the independently-addressable shipped API; chrome-only never replaces them, it's a convenience preset on top."
|
|
10021
|
+
},
|
|
10386
10022
|
{
|
|
10387
10023
|
"name": "placeholder",
|
|
10388
10024
|
"type": {
|
|
@@ -10401,9 +10037,21 @@
|
|
|
10401
10037
|
}
|
|
10402
10038
|
],
|
|
10403
10039
|
"slots": [
|
|
10040
|
+
{
|
|
10041
|
+
"name": "scope",
|
|
10042
|
+
"description": "Leading region rendered BEFORE the [text]/[count] title cluster — e.g. a scope/view-switcher menu (an org's teams, a saved view). Positioning is CSS by DOM order, mirroring how [slot=\"actions\"] is a real, author-fillable insertion point rather than template-stamped content."
|
|
10043
|
+
},
|
|
10044
|
+
{
|
|
10045
|
+
"name": "empty",
|
|
10046
|
+
"description": "Renders in place of the range-summary text — the same [data-summary] region — when [range-total] is EXPLICITLY present and equal to \"0\" (checked via hasAttribute, never the computed value alone, so an unset range-total during loading never flashes this content; ADR-0076, REQ-E-001). Mutually exclusive with a positive [range-total]: the normal \"Showing X-Y of N\" text always wins whenever range-total is a positive number. Empty (the default) preserves today's exact behavior — [data-summary] hides on a confirmed range-total=\"0\" exactly as before this slot existed. Plain author-supplied markup (text, an empty-state-ui composite, an icon+text pair) — table-toolbar does not template or constrain its shape. Naming matches chart-ui's own existing `empty` slot convention."
|
|
10047
|
+
},
|
|
10048
|
+
{
|
|
10049
|
+
"name": "actions-leading",
|
|
10050
|
+
"description": "Region rendered AFTER the search input and BEFORE the native page-size select (gh#1649) — for app-owned trigger buttons (e.g. custom Filter / Columns triggers that open the consumer's own drawer instead of the native filter/columns popovers) that must land ahead of the page-size select rather than after it, unlike [slot=\"actions\"]. Same real-insertion-point pattern as [slot=\"scope\"] / [slot=\"actions\"] — positioning is CSS by DOM order, not a template stamp. Empty (the default) has zero footprint on existing consumers."
|
|
10051
|
+
},
|
|
10404
10052
|
{
|
|
10405
10053
|
"name": "actions",
|
|
10406
|
-
"description": "Trailing action area — primary buttons (e.g. \"New row\") rendered after the search input."
|
|
10054
|
+
"description": "Trailing action area — primary buttons (e.g. \"New row\") rendered after the search input, [slot=\"actions-leading\"], and the page-size select."
|
|
10407
10055
|
}
|
|
10408
10056
|
],
|
|
10409
10057
|
"events": [
|
|
@@ -10434,6 +10082,13 @@
|
|
|
10434
10082
|
"text": "CustomEvent"
|
|
10435
10083
|
},
|
|
10436
10084
|
"description": "Column visibility changed. Detail: { hiddenColumns }."
|
|
10085
|
+
},
|
|
10086
|
+
{
|
|
10087
|
+
"name": "page-size-change",
|
|
10088
|
+
"type": {
|
|
10089
|
+
"text": "CustomEvent"
|
|
10090
|
+
},
|
|
10091
|
+
"description": "Page-size select changed. Detail: { pageSize }."
|
|
10437
10092
|
}
|
|
10438
10093
|
]
|
|
10439
10094
|
}
|
|
@@ -10469,7 +10124,7 @@
|
|
|
10469
10124
|
"text": "array"
|
|
10470
10125
|
},
|
|
10471
10126
|
"default": "[]",
|
|
10472
|
-
"description": "Column definitions. Array of {key, label, type?, width?, minWidth?, maxWidth?, flex?, sortable?, resizable?, filterable?, pinned?, hidden?, wrap?, valign?, accessor?, format?, render?, sortFn?, filterType?, meta?}. `valign` ('top'|'center') overrides the host [valign] for that column's body cells only — header cells always stay centered. Alternative to declarative <col-def> children (<col-def valign=\"top\">); col-def also accepts `meta` as a JSON attribute (gh#925) — e.g. <col-def type=\"badge\" meta='{\"variants\":{\"Online\":\"success\"}}'> — so cell-type meta (badge variant maps, currency codes) is expressible in static HTML."
|
|
10127
|
+
"description": "Column definitions. Array of {key, label, type?, width?, minWidth?, maxWidth?, flex?, sortable?, resizable?, filterable?, pinned?, hidden?, wrap?, valign?, accessor?, format?, render?, sortFn?, filterType?, meta?}. `valign` ('top'|'center') overrides the host [valign] for that column's body cells only — header cells always stay centered. Alternative to declarative <col-def> children (<col-def valign=\"top\">); col-def also accepts `meta` as a JSON attribute (gh#925) — e.g. <col-def type=\"badge\" meta='{\"variants\":{\"Online\":\"success\"}}'> — so cell-type meta (badge variant maps, currency codes) is expressible in static HTML. Truncation contract for `render` cells (gh#1681) — a `render(value, row, cell, dataIndex)` function's returned markup isn't guaranteed to be a bare <span>/<a> the way built-in cell types are, so single-line ellipsis truncation isn't automatic; set `data-truncate` on whichever rendered element (any tag, including a custom element) should single-line-ellipsis to opt it into the same contract built-in cells get for free. `[wrap]` (host) / `[data-wrap]` (per-column) override it back to multi-line, matching built-in cells."
|
|
10473
10128
|
},
|
|
10474
10129
|
{
|
|
10475
10130
|
"name": "data",
|
|
@@ -10526,6 +10181,14 @@
|
|
|
10526
10181
|
"default": "false",
|
|
10527
10182
|
"description": "Show checkbox column for row selection. Select-all checkbox in header. Shift+click for"
|
|
10528
10183
|
},
|
|
10184
|
+
{
|
|
10185
|
+
"name": "clickable-rows",
|
|
10186
|
+
"type": {
|
|
10187
|
+
"text": "boolean"
|
|
10188
|
+
},
|
|
10189
|
+
"default": "false",
|
|
10190
|
+
"description": "Renders body rows with `cursor: pointer`. `row-click` fires unconditionally whether or not a listener is attached, so the cursor can't be inferred from listener presence — set this explicitly when row-click behavior is wired up (master-detail, open-flyout, navigation) so rows read as actionable."
|
|
10191
|
+
},
|
|
10529
10192
|
{
|
|
10530
10193
|
"name": "sortable",
|
|
10531
10194
|
"type": {
|
|
@@ -11775,121 +11438,6 @@
|
|
|
11775
11438
|
}
|
|
11776
11439
|
]
|
|
11777
11440
|
},
|
|
11778
|
-
{
|
|
11779
|
-
"kind": "javascript-module",
|
|
11780
|
-
"path": "components/toggle-group/toggle-group.js",
|
|
11781
|
-
"declarations": [
|
|
11782
|
-
{
|
|
11783
|
-
"kind": "class",
|
|
11784
|
-
"description": "DEPRECATED (gh#1369) — use <segmented-ui multiple> + <segment-ui> instead. Multi-select button group (unlike <segmented-ui> which is single-select by default). Hosts <toggle-option-ui> children, each independently toggleable; emits change events with the active value set.",
|
|
11785
|
-
"name": "UIToggleGroup",
|
|
11786
|
-
"tagName": "toggle-group-ui",
|
|
11787
|
-
"superclass": {
|
|
11788
|
-
"name": "UIElement",
|
|
11789
|
-
"module": "/core/element.js"
|
|
11790
|
-
},
|
|
11791
|
-
"attributes": [
|
|
11792
|
-
{
|
|
11793
|
-
"name": "single",
|
|
11794
|
-
"type": {
|
|
11795
|
-
"text": "boolean"
|
|
11796
|
-
},
|
|
11797
|
-
"default": "false",
|
|
11798
|
-
"description": "When true, restrict to one active option (single-select) — clicking the already-selected option again CLEARS it (empty value), unlike a native radiogroup. Migration (gh#1369): [single]=true maps to plain <segmented-ui> (no [multiple]) — note segmented-ui's single-select never clears on re-click, it's standard radiogroup semantics; the default (false, multi-select) maps to <segmented-ui multiple>."
|
|
11799
|
-
},
|
|
11800
|
-
{
|
|
11801
|
-
"name": "value",
|
|
11802
|
-
"type": {
|
|
11803
|
-
"text": "string"
|
|
11804
|
-
},
|
|
11805
|
-
"description": "Comma-separated selected values"
|
|
11806
|
-
}
|
|
11807
|
-
],
|
|
11808
|
-
"slots": [
|
|
11809
|
-
{
|
|
11810
|
-
"name": "default",
|
|
11811
|
-
"description": "Default slot — primary child content."
|
|
11812
|
-
}
|
|
11813
|
-
],
|
|
11814
|
-
"events": [
|
|
11815
|
-
{
|
|
11816
|
-
"name": "change",
|
|
11817
|
-
"type": {
|
|
11818
|
-
"text": "CustomEvent"
|
|
11819
|
-
},
|
|
11820
|
-
"description": "Fired when selection changes. detail: { value }"
|
|
11821
|
-
}
|
|
11822
|
-
]
|
|
11823
|
-
},
|
|
11824
|
-
{
|
|
11825
|
-
"kind": "class",
|
|
11826
|
-
"description": "DEPRECATED (gh#1369) — use `<segment-ui>` inside `<segmented-ui multiple>` instead. Child of `<toggle-group-ui>`. One toggleable option inside a single-select or multi-select group. Pressed state mirrors `value` against the parent's selection.",
|
|
11827
|
-
"name": "UIToggleOption",
|
|
11828
|
-
"tagName": "toggle-option-ui",
|
|
11829
|
-
"superclass": {
|
|
11830
|
-
"name": "UIElement",
|
|
11831
|
-
"module": "/core/element.js"
|
|
11832
|
-
},
|
|
11833
|
-
"attributes": [
|
|
11834
|
-
{
|
|
11835
|
-
"name": "value",
|
|
11836
|
-
"type": {
|
|
11837
|
-
"text": "string"
|
|
11838
|
-
},
|
|
11839
|
-
"description": "Stable identifier matched against the parent group's `value`."
|
|
11840
|
-
},
|
|
11841
|
-
{
|
|
11842
|
-
"name": "text",
|
|
11843
|
-
"type": {
|
|
11844
|
-
"text": "string"
|
|
11845
|
-
},
|
|
11846
|
-
"description": "Visible label text."
|
|
11847
|
-
},
|
|
11848
|
-
{
|
|
11849
|
-
"name": "icon",
|
|
11850
|
-
"type": {
|
|
11851
|
-
"text": "string"
|
|
11852
|
-
},
|
|
11853
|
-
"description": "Optional Phosphor icon name; renders as a leading icon."
|
|
11854
|
-
},
|
|
11855
|
-
{
|
|
11856
|
-
"name": "disabled",
|
|
11857
|
-
"type": {
|
|
11858
|
-
"text": "boolean"
|
|
11859
|
-
},
|
|
11860
|
-
"default": "false",
|
|
11861
|
-
"description": "Disabled state — blocks pointer + keyboard activation."
|
|
11862
|
-
},
|
|
11863
|
-
{
|
|
11864
|
-
"name": "selected",
|
|
11865
|
-
"type": {
|
|
11866
|
-
"text": "boolean"
|
|
11867
|
-
},
|
|
11868
|
-
"default": "false",
|
|
11869
|
-
"description": "Whether this option is currently selected. Managed by the parent <toggle-group-ui> container (ADR-0056) — don't set directly; the group's `value` is the single source of truth. Converges onto <segment-ui>'s declared reflected-prop mechanism."
|
|
11870
|
-
}
|
|
11871
|
-
]
|
|
11872
|
-
}
|
|
11873
|
-
],
|
|
11874
|
-
"exports": [
|
|
11875
|
-
{
|
|
11876
|
-
"kind": "custom-element-definition",
|
|
11877
|
-
"name": "toggle-group-ui",
|
|
11878
|
-
"declaration": {
|
|
11879
|
-
"name": "UIToggleGroup",
|
|
11880
|
-
"module": "./components/toggle-group/toggle-group.js"
|
|
11881
|
-
}
|
|
11882
|
-
},
|
|
11883
|
-
{
|
|
11884
|
-
"kind": "custom-element-definition",
|
|
11885
|
-
"name": "toggle-option-ui",
|
|
11886
|
-
"declaration": {
|
|
11887
|
-
"name": "UIToggleOption",
|
|
11888
|
-
"module": "./components/toggle-group/toggle-group.js"
|
|
11889
|
-
}
|
|
11890
|
-
}
|
|
11891
|
-
]
|
|
11892
|
-
},
|
|
11893
11441
|
{
|
|
11894
11442
|
"kind": "javascript-module",
|
|
11895
11443
|
"path": "components/toggle-scheme/toggle-scheme.js",
|