@nanahoshi/mona-ui 0.48.0 → 0.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/api/breadcrumb.json +1 -1
- package/docs/api/breadcrumb.md +5 -1
- package/docs/api/index.json +1 -1
- package/docs/api/tabs.json +1 -1
- package/docs/api/tabs.md +53 -6
- package/docs/breadcrumb.md +58 -4
- package/docs/manifest.json +1 -1
- package/docs/tabs.md +185 -12
- package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +116 -32
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +653 -107
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/types/nanahoshi-mona-ui-breadcrumb.d.ts +18 -4
- package/types/nanahoshi-mona-ui-tabs.d.ts +217 -16
package/docs/api/tabs.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"links":{"MonaTabsMessages":"i18n","PreventableEvent":"common","TABS_DEFAULT_MESSAGES":"tabs","TabCloseEvent":"tabs","TabComponent":"tabs","TabContentTemplateDirective":"tabs","TabReorderEvent":"tabs","TabSelectEvent":"tabs","TabTitleTemplateDirective":"tabs","TabsComponent":"tabs","TabsPosition":"tabs"},"name":"tabs","pages":[{"path":"tabs","title":"Tabs"}],"symbols":[{"description":"","kind":"component","name":"TabsComponent","selector":"mona-tabs","inputs":[{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible name for the tab list.","name":"ariaLabel","type":"string"},{"alias":"aria-labelledby","defaultValue":"\"\"","description":"The id of an element that names the tab list. Takes precedence over `aria-label`.","name":"ariaLabelledBy","type":"string"},{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"string"},{"defaultValue":"false","description":"Displays a close button on each tab. A tab's own `closable` can add a button, not remove this one.","name":"closable","type":"boolean"},{"defaultValue":"false","description":"Renders every tab with reduced visual emphasis and removes pointer and keyboard interaction.","name":"disabled","type":"boolean"},{"defaultValue":"true","description":"Keeps a tab's content in the DOM after it is deselected instead of removing it.","name":"keepTabContent","type":"boolean"},{"defaultValue":"\"top\"","description":"Placement of the tab list relative to the tab content.","name":"position","type":"\"bottom\" | \"left\" | \"right\" | \"top\""},{"defaultValue":"0","description":"The zero-based index of the selected tab. Writing it selects that tab, unless it's disabled or out of\nrange, in which case the value goes back to the selected tab's index. It also changes when the component moves the\nselection itself, such as when the selected tab is removed.","name":"selectedIndex","twoWay":true,"type":"number"},{"defaultValue":"\"medium\"","description":"Size preset controlling the tabs' dimensions.","name":"size","type":"\"large\" | \"medium\" | \"small\""},{"defaultValue":"false","description":"Lets the user reorder the tabs: by dragging them, or with Control+Shift and the arrow keys along the\nstrip, Home or End (Command+Shift on macOS). The component emits `tabReorder` and doesn't move the tabs itself.","name":"sortable","type":"boolean"}],"methods":[],"outputs":[{"description":"Emitted with a {@link TabCloseEvent} when a close is requested. The component doesn't remove the tab:\nremove it from whatever renders the `mona-tab` elements.","name":"tabClose","type":"TabCloseEvent"},{"description":"Emitted with a {@link TabReorderEvent} when a tab of a `sortable` strip is moved. The component doesn't\nreorder the tabs: move the tab in whatever renders the `mona-tab` elements. The selected tab stays selected.","name":"tabReorder","type":"TabReorderEvent"},{"description":"Emitted with a {@link TabSelectEvent} before a click or key selects a tab. This event is preventable.\nIt doesn't fire for selections made through `selectedIndex` or `selected`, or when the selected tab is removed.","name":"tabSelect","type":"TabSelectEvent"}],"properties":[],"page":{"path":"tabs","title":"Tabs"}},{"description":"","kind":"component","name":"TabComponent","selector":"mona-tab","inputs":[{"defaultValue":"false","description":"Displays a close button on this tab. Turning it on here shows the button even when the parent\n`mona-tabs` has `closable` off; turning it off here doesn't hide a button the parent asked for.","name":"closable","type":"boolean"},{"defaultValue":"false","description":"Renders this tab with reduced visual emphasis and removes pointer and keyboard interaction. A tab is\ndisabled when this or the parent `mona-tabs` component's `disabled` input is on.","name":"disabled","type":"boolean"},{"defaultValue":"false","description":"Whether the tab is selected. Setting it to `true` selects the tab unless it's disabled, and it\nfollows the selection, so `[(selected)]` stays current. Setting it to `false` doesn't clear the selection, because\na group of tabs always keeps one selected.","name":"selected","twoWay":true,"type":"boolean"},{"defaultValue":"\"\"","description":"Title text displayed on the tab.","name":"title","type":"string"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"tabs","title":"Tabs"}},{"description":"","kind":"directive","name":"TabContentTemplateDirective","selector":"ng-template[monaTabContentTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"tabs","title":"Tabs"}},{"description":"","kind":"directive","name":"TabTitleTemplateDirective","selector":"ng-template[monaTabTitleTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"tabs","title":"Tabs"}},{"description":"","extends":["PreventableEvent"],"kind":"class","name":"TabCloseEvent","inputs":[],"methods":[],"outputs":[],"properties":[{"description":"Index of the tab a close was requested for.","name":"index","readonly":true,"type":"number"},{"description":"Whether the tab a close was requested for was the selected tab.","name":"selected","readonly":true,"type":"boolean"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"tabs","title":"Tabs"},"usedBy":["TabsComponent"]},{"description":"A tab dragged, or moved with Control+Shift and an arrow key, Home or End, to a new place in a sortable tab strip.\nThe component doesn't reorder the tabs: move the tab in whatever renders the `mona-tab` elements, such as with\n`moveItem` from `@nanahoshi/mona-ui/sortable`.","kind":"class","name":"TabReorderEvent","inputs":[],"methods":[],"outputs":[],"properties":[{"description":"The index the tab moves to.","name":"currentIndex","readonly":true,"type":"number"},{"description":"The DOM event that moved the tab: the key press, or the pointer release that dropped it.","name":"originalEvent","readonly":true,"type":"Event | undefined"},{"description":"The index the tab had.","name":"previousIndex","readonly":true,"type":"number"}],"page":{"path":"tabs","title":"Tabs"},"usedBy":["TabsComponent"]},{"description":"","extends":["PreventableEvent"],"kind":"class","name":"TabSelectEvent","inputs":[],"methods":[],"outputs":[],"properties":[{"description":"Index of the tab being selected.","name":"index","readonly":true,"type":"number"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"tabs","title":"Tabs"},"usedBy":["TabsComponent"]},{"description":"","kind":"constant","name":"TABS_DEFAULT_MESSAGES","signature":"const TABS_DEFAULT_MESSAGES: MonaTabsMessages;","page":{"path":"tabs","title":"Tabs"}},{"description":"","kind":"type","name":"TabsPosition","signature":"type TabsPosition = \"top\" | \"bottom\" | \"left\" | \"right\";","page":{"path":"tabs","title":"Tabs"}}]}
|
|
1
|
+
{"links":{"MonaTabsMessages":"i18n","PreventableEvent":"common","TABS_DEFAULT_MESSAGES":"tabs","TabCloseEvent":"tabs","TabComponent":"tabs","TabContentTemplateDirective":"tabs","TabReorderEvent":"tabs","TabSelectEvent":"tabs","TabStripComponent":"tabs","TabTitleTemplateDirective":"tabs","TabsComponent":"tabs","TabsLook":"tabs","TabsPosition":"tabs"},"name":"tabs","pages":[{"path":"tabs","title":"Tabs"}],"symbols":[{"description":"","kind":"component","name":"TabsComponent","selector":"mona-tabs","inputs":[{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible name for the tab list.","name":"ariaLabel","type":"string"},{"alias":"aria-labelledby","defaultValue":"\"\"","description":"The id of an element that names the tab list. Takes precedence over `aria-label`.","name":"ariaLabelledBy","type":"string"},{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"string"},{"defaultValue":"false","description":"Displays a close button on each tab. A tab's own `closable` can add a button, not remove this one.","name":"closable","type":"boolean"},{"defaultValue":"false","description":"Renders every tab with reduced visual emphasis and removes pointer and keyboard interaction.","name":"disabled","type":"boolean"},{"defaultValue":"true","description":"Keeps a tab's content in the DOM after it is deselected instead of removing it.","name":"keepTabContent","type":"boolean"},{"defaultValue":"\"line\"","description":"How the selected tab is marked: `\"line\"` draws an indicator along the strip's edge, and `\"pill\"`\nraises the tab on a rounded background, `--mona-tab-pill-background` when it's set.","name":"look","type":"\"line\" | \"pill\""},{"defaultValue":"\"top\"","description":"Placement of the tab list relative to the tab content.","name":"position","type":"\"bottom\" | \"left\" | \"right\" | \"top\""},{"defaultValue":"0","description":"The zero-based index of the selected tab. Writing it selects that tab, unless it's disabled or out of\nrange, in which case the value goes back to the selected tab's index. It also changes when the component moves the\nselection itself, such as when the selected tab is removed.","name":"selectedIndex","twoWay":true,"type":"number"},{"defaultValue":"\"medium\"","description":"Size preset controlling the tabs' dimensions.","name":"size","type":"\"large\" | \"medium\" | \"small\""},{"defaultValue":"false","description":"Lets the user reorder the tabs: by dragging them, or with Control+Shift and the arrow keys along the\nstrip, Home or End (Command+Shift on macOS). The component emits `tabReorder` and doesn't move the tabs itself.","name":"sortable","type":"boolean"}],"methods":[],"outputs":[{"description":"Emitted with a {@link TabCloseEvent} when a close is requested: by the close button, Delete or\nBackspace, or a middle-click on the tab. The component doesn't remove the tab: remove it from whatever renders the\n`mona-tab` elements.","name":"tabClose","type":"TabCloseEvent"},{"description":"Emitted with a {@link TabReorderEvent} when a tab of a `sortable` strip is moved. The component doesn't\nreorder the tabs: move the tab in whatever renders the `mona-tab` elements. The selected tab stays selected.","name":"tabReorder","type":"TabReorderEvent"},{"description":"Emitted with a {@link TabSelectEvent} before a click or key selects a tab. This event is preventable.\nIt doesn't fire for selections made through `selectedIndex` or `selected`, or when the selected tab is removed.","name":"tabSelect","type":"TabSelectEvent"}],"properties":[],"page":{"path":"tabs","title":"Tabs"}},{"description":"Only the tab list of a set of tabs, for when each tab's panel is somewhere else on the page, as with the tabs in a\nwindow's titlebar. You render the panel: give it `role=\"tabpanel\"`, name its id in the tab's `panelId`, and point its\n`aria-labelledby` at the tab's `tabId`.","kind":"component","name":"TabStripComponent","selector":"mona-tab-strip","inputs":[{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible name for the tab list.","name":"ariaLabel","type":"string"},{"alias":"aria-labelledby","defaultValue":"\"\"","description":"The id of an element that names the tab list. Takes precedence over `aria-label`.","name":"ariaLabelledBy","type":"string"},{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the host element via `tailwind-merge`.","name":"userClass","type":"string"},{"defaultValue":"false","description":"Displays a close button on each tab. A tab's own `closable` can add a button, not remove this one.","name":"closable","type":"boolean"},{"defaultValue":"false","description":"Renders every tab with reduced visual emphasis and removes pointer and keyboard interaction.","name":"disabled","type":"boolean"},{"defaultValue":"\"line\"","description":"How the selected tab is marked: `\"line\"` draws an indicator under it, and `\"pill\"` raises it on a\nrounded background, `--mona-tab-pill-background` when it's set.","name":"look","type":"\"line\" | \"pill\""},{"defaultValue":"0","description":"The zero-based index of the selected tab. Writing it selects that tab, unless it's disabled or out of\nrange, in which case the value goes back to the selected tab's index. It also changes when the component moves the\nselection itself, such as when the selected tab is removed.","name":"selectedIndex","twoWay":true,"type":"number"},{"defaultValue":"\"medium\"","description":"Size preset controlling the tabs' dimensions.","name":"size","type":"\"large\" | \"medium\" | \"small\""},{"defaultValue":"false","description":"Lets the user reorder the tabs: by dragging them, or with Control+Shift and the arrow keys, Home or\nEnd (Command+Shift on macOS). The component emits `tabReorder` and doesn't move the tabs itself.","name":"sortable","type":"boolean"}],"methods":[],"outputs":[{"description":"Emitted with a {@link TabCloseEvent} when a close is requested: by the close button, Delete or\nBackspace, or a middle-click on the tab. The component doesn't remove the tab: remove it from whatever renders the\n`mona-tab` elements.","name":"tabClose","type":"TabCloseEvent"},{"description":"Emitted with a {@link TabReorderEvent} when a tab of a `sortable` strip is moved. The component doesn't\nreorder the tabs: move the tab in whatever renders the `mona-tab` elements. The selected tab stays selected.","name":"tabReorder","type":"TabReorderEvent"},{"description":"Emitted with a {@link TabSelectEvent} before a click or key selects a tab. This event is preventable.\nIt doesn't fire for selections made through `selectedIndex` or `selected`, or when the selected tab is removed.","name":"tabSelect","type":"TabSelectEvent"}],"properties":[],"page":{"path":"tabs","title":"Tabs"}},{"description":"","kind":"component","name":"TabComponent","selector":"mona-tab","inputs":[{"defaultValue":"false","description":"Displays a close button on this tab. Turning it on here shows the button even when the parent\n`mona-tabs` or `mona-tab-strip` has `closable` off; turning it off here doesn't hide a button the parent asked for.","name":"closable","type":"boolean"},{"defaultValue":"false","description":"Renders this tab with reduced visual emphasis and removes pointer and keyboard interaction. A tab is\ndisabled when this or the parent's `disabled` input is on.","name":"disabled","type":"boolean"},{"defaultValue":"\"\"","description":"The id of the panel this tab controls, which the tab names in `aria-controls`. In a `mona-tab-strip`,\nit's the panel you render: give it `role=\"tabpanel\"` and label it with the tab's `tabId`. Without it, a strip's tab\ncontrols nothing. In `mona-tabs`, the component renders the panel with this id, and generates one when it's empty.","name":"panelId","type":"string"},{"defaultValue":"false","description":"Whether the tab is selected. Setting it to `true` selects the tab unless it's disabled, and it\nfollows the selection, so `[(selected)]` stays current. Setting it to `false` doesn't clear the selection, because\na group of tabs always keeps one selected.","name":"selected","twoWay":true,"type":"boolean"},{"defaultValue":"generated","description":"The id of the tab element, the one with `role=\"tab\"`. Point a panel's `aria-labelledby` at it. A unique\nid is generated when it isn't set, and reading the input gives it back.","name":"tabId","type":"string"},{"defaultValue":"\"\"","description":"Title text displayed on the tab.","name":"title","type":"string"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"tabs","title":"Tabs"}},{"description":"","kind":"directive","name":"TabContentTemplateDirective","selector":"ng-template[monaTabContentTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"tabs","title":"Tabs"}},{"description":"","kind":"directive","name":"TabTitleTemplateDirective","selector":"ng-template[monaTabTitleTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"tabs","title":"Tabs"}},{"description":"","extends":["PreventableEvent"],"kind":"class","name":"TabCloseEvent","inputs":[],"methods":[],"outputs":[],"properties":[{"description":"Index of the tab a close was requested for.","name":"index","readonly":true,"type":"number"},{"description":"Whether the tab a close was requested for was the selected tab.","name":"selected","readonly":true,"type":"boolean"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"tabs","title":"Tabs"},"usedBy":["TabsComponent","TabStripComponent"]},{"description":"A tab dragged, or moved with Control+Shift and an arrow key, Home or End, to a new place in a sortable tab strip.\nThe component doesn't reorder the tabs: move the tab in whatever renders the `mona-tab` elements, such as with\n`moveItem` from `@nanahoshi/mona-ui/sortable`.","kind":"class","name":"TabReorderEvent","inputs":[],"methods":[],"outputs":[],"properties":[{"description":"The index the tab moves to.","name":"currentIndex","readonly":true,"type":"number"},{"description":"The DOM event that moved the tab: the key press, or the pointer release that dropped it.","name":"originalEvent","readonly":true,"type":"Event | undefined"},{"description":"The index the tab had.","name":"previousIndex","readonly":true,"type":"number"}],"page":{"path":"tabs","title":"Tabs"},"usedBy":["TabsComponent","TabStripComponent"]},{"description":"","extends":["PreventableEvent"],"kind":"class","name":"TabSelectEvent","inputs":[],"methods":[],"outputs":[],"properties":[{"description":"Index of the tab being selected.","name":"index","readonly":true,"type":"number"}],"inherited":[{"from":"PreventableEvent","inputs":[],"methods":[{"description":"Whether `preventDefault()` was called.","name":"isDefaultPrevented","signature":"isDefaultPrevented(): boolean"},{"description":"Cancels what the event announces, such as opening or closing a popup, or closing a dialog.","name":"preventDefault","signature":"preventDefault(): void"}],"outputs":[],"properties":[{"description":"The DOM event that caused this one, when there is one.","name":"originalEvent","readonly":true,"type":"E | undefined"},{"description":"A name for the kind of event, when the component that emits it sets one.","name":"type","readonly":true,"type":"string | undefined"}]}],"page":{"path":"tabs","title":"Tabs"},"usedBy":["TabsComponent","TabStripComponent"]},{"description":"","kind":"constant","name":"TABS_DEFAULT_MESSAGES","signature":"const TABS_DEFAULT_MESSAGES: MonaTabsMessages;","page":{"path":"tabs","title":"Tabs"}},{"description":"How a tab strip marks the selected tab. `\"line\"` draws an indicator line along the strip's edge. `\"pill\"` raises the\nselected tab on a rounded background, as the tabs in a browser's or a file manager's titlebar do.","kind":"type","name":"TabsLook","signature":"type TabsLook = \"line\" | \"pill\";","page":{"path":"tabs","title":"Tabs"}},{"description":"","kind":"type","name":"TabsPosition","signature":"type TabsPosition = \"top\" | \"bottom\" | \"left\" | \"right\";","page":{"path":"tabs","title":"Tabs"}}]}
|
package/docs/api/tabs.md
CHANGED
|
@@ -20,6 +20,7 @@ Component.
|
|
|
20
20
|
| `closable` | `boolean` | `false` | Displays a close button on each tab. A tab's own `closable` can add a button, not remove this one. |
|
|
21
21
|
| `disabled` | `boolean` | `false` | Renders every tab with reduced visual emphasis and removes pointer and keyboard interaction. |
|
|
22
22
|
| `keepTabContent` | `boolean` | `true` | Keeps a tab's content in the DOM after it is deselected instead of removing it. |
|
|
23
|
+
| `look` | `"line" \| "pill"` | `"line"` | How the selected tab is marked: `"line"` draws an indicator along the strip's edge, and `"pill"` raises the tab on a rounded background, `--mona-tab-pill-background` when it's set. |
|
|
23
24
|
| `position` | `"bottom" \| "left" \| "right" \| "top"` | `"top"` | Placement of the tab list relative to the tab content. |
|
|
24
25
|
| `selectedIndex` (two-way) | `number` | `0` | The zero-based index of the selected tab. Writing it selects that tab, unless it's disabled or out of range, in which case the value goes back to the selected tab's index. It also changes when the component moves the selection itself, such as when the selected tab is removed. |
|
|
25
26
|
| `size` | `"large" \| "medium" \| "small"` | `"medium"` | Size preset controlling the tabs' dimensions. |
|
|
@@ -30,7 +31,40 @@ Component.
|
|
|
30
31
|
| Name | Type | Description |
|
|
31
32
|
| --- | --- | --- |
|
|
32
33
|
| `selectedIndexChange` | `number` | Emitted when `selectedIndex` changes. |
|
|
33
|
-
| `tabClose` | `TabCloseEvent` | Emitted with a `TabCloseEvent` when a close is requested. The component doesn't remove the tab: remove it from whatever renders the `mona-tab` elements. |
|
|
34
|
+
| `tabClose` | `TabCloseEvent` | Emitted with a `TabCloseEvent` when a close is requested: by the close button, Delete or Backspace, or a middle-click on the tab. The component doesn't remove the tab: remove it from whatever renders the `mona-tab` elements. |
|
|
35
|
+
| `tabReorder` | `TabReorderEvent` | Emitted with a `TabReorderEvent` when a tab of a `sortable` strip is moved. The component doesn't reorder the tabs: move the tab in whatever renders the `mona-tab` elements. The selected tab stays selected. |
|
|
36
|
+
| `tabSelect` | `TabSelectEvent` | Emitted with a `TabSelectEvent` before a click or key selects a tab. This event is preventable. It doesn't fire for selections made through `selectedIndex` or `selected`, or when the selected tab is removed. |
|
|
37
|
+
|
|
38
|
+
## `TabStripComponent`
|
|
39
|
+
|
|
40
|
+
Component.
|
|
41
|
+
|
|
42
|
+
Only the tab list of a set of tabs, for when each tab's panel is somewhere else on the page, as with the tabs in a
|
|
43
|
+
window's titlebar. You render the panel: give it `role="tabpanel"`, name its id in the tab's `panelId`, and point its
|
|
44
|
+
`aria-labelledby` at the tab's `tabId`.
|
|
45
|
+
|
|
46
|
+
**Selector:** `mona-tab-strip`
|
|
47
|
+
|
|
48
|
+
### Inputs
|
|
49
|
+
|
|
50
|
+
| Name | Type | Default | Description |
|
|
51
|
+
| --- | --- | --- | --- |
|
|
52
|
+
| `aria-label` | `string` | `""` | Accessible name for the tab list. |
|
|
53
|
+
| `aria-labelledby` | `string` | `""` | The id of an element that names the tab list. Takes precedence over `aria-label`. |
|
|
54
|
+
| `class` | `string` | `""` | Additional CSS classes merged onto the host element via `tailwind-merge`. |
|
|
55
|
+
| `closable` | `boolean` | `false` | Displays a close button on each tab. A tab's own `closable` can add a button, not remove this one. |
|
|
56
|
+
| `disabled` | `boolean` | `false` | Renders every tab with reduced visual emphasis and removes pointer and keyboard interaction. |
|
|
57
|
+
| `look` | `"line" \| "pill"` | `"line"` | How the selected tab is marked: `"line"` draws an indicator under it, and `"pill"` raises it on a rounded background, `--mona-tab-pill-background` when it's set. |
|
|
58
|
+
| `selectedIndex` (two-way) | `number` | `0` | The zero-based index of the selected tab. Writing it selects that tab, unless it's disabled or out of range, in which case the value goes back to the selected tab's index. It also changes when the component moves the selection itself, such as when the selected tab is removed. |
|
|
59
|
+
| `size` | `"large" \| "medium" \| "small"` | `"medium"` | Size preset controlling the tabs' dimensions. |
|
|
60
|
+
| `sortable` | `boolean` | `false` | Lets the user reorder the tabs: by dragging them, or with Control+Shift and the arrow keys, Home or End (Command+Shift on macOS). The component emits `tabReorder` and doesn't move the tabs itself. |
|
|
61
|
+
|
|
62
|
+
### Outputs
|
|
63
|
+
|
|
64
|
+
| Name | Type | Description |
|
|
65
|
+
| --- | --- | --- |
|
|
66
|
+
| `selectedIndexChange` | `number` | Emitted when `selectedIndex` changes. |
|
|
67
|
+
| `tabClose` | `TabCloseEvent` | Emitted with a `TabCloseEvent` when a close is requested: by the close button, Delete or Backspace, or a middle-click on the tab. The component doesn't remove the tab: remove it from whatever renders the `mona-tab` elements. |
|
|
34
68
|
| `tabReorder` | `TabReorderEvent` | Emitted with a `TabReorderEvent` when a tab of a `sortable` strip is moved. The component doesn't reorder the tabs: move the tab in whatever renders the `mona-tab` elements. The selected tab stays selected. |
|
|
35
69
|
| `tabSelect` | `TabSelectEvent` | Emitted with a `TabSelectEvent` before a click or key selects a tab. This event is preventable. It doesn't fire for selections made through `selectedIndex` or `selected`, or when the selected tab is removed. |
|
|
36
70
|
|
|
@@ -44,9 +78,11 @@ Component.
|
|
|
44
78
|
|
|
45
79
|
| Name | Type | Default | Description |
|
|
46
80
|
| --- | --- | --- | --- |
|
|
47
|
-
| `closable` | `boolean` | `false` | Displays a close button on this tab. Turning it on here shows the button even when the parent `mona-tabs` has `closable` off; turning it off here doesn't hide a button the parent asked for. |
|
|
48
|
-
| `disabled` | `boolean` | `false` | Renders this tab with reduced visual emphasis and removes pointer and keyboard interaction. A tab is disabled when this or the parent
|
|
81
|
+
| `closable` | `boolean` | `false` | Displays a close button on this tab. Turning it on here shows the button even when the parent `mona-tabs` or `mona-tab-strip` has `closable` off; turning it off here doesn't hide a button the parent asked for. |
|
|
82
|
+
| `disabled` | `boolean` | `false` | Renders this tab with reduced visual emphasis and removes pointer and keyboard interaction. A tab is disabled when this or the parent's `disabled` input is on. |
|
|
83
|
+
| `panelId` | `string` | `""` | The id of the panel this tab controls, which the tab names in `aria-controls`. In a `mona-tab-strip`, it's the panel you render: give it `role="tabpanel"` and label it with the tab's `tabId`. Without it, a strip's tab controls nothing. In `mona-tabs`, the component renders the panel with this id, and generates one when it's empty. |
|
|
49
84
|
| `selected` (two-way) | `boolean` | `false` | Whether the tab is selected. Setting it to `true` selects the tab unless it's disabled, and it follows the selection, so `[(selected)]` stays current. Setting it to `false` doesn't clear the selection, because a group of tabs always keeps one selected. |
|
|
85
|
+
| `tabId` | `string` | `generated` | The id of the tab element, the one with `role="tab"`. Point a panel's `aria-labelledby` at it. A unique id is generated when it isn't set, and reading the input gives it back. |
|
|
50
86
|
| `title` | `string` | `""` | Title text displayed on the tab. |
|
|
51
87
|
|
|
52
88
|
### Outputs
|
|
@@ -94,7 +130,7 @@ Class.
|
|
|
94
130
|
| `isDefaultPrevented(): boolean` | Whether `preventDefault()` was called. |
|
|
95
131
|
| `preventDefault(): void` | Cancels what the event announces, such as opening or closing a popup, or closing a dialog. |
|
|
96
132
|
|
|
97
|
-
**Used by:** [`TabsComponent`](tabs.md#tabscomponent)
|
|
133
|
+
**Used by:** [`TabsComponent`](tabs.md#tabscomponent), [`TabStripComponent`](tabs.md#tabstripcomponent)
|
|
98
134
|
|
|
99
135
|
## `TabReorderEvent`
|
|
100
136
|
|
|
@@ -112,7 +148,7 @@ The component doesn't reorder the tabs: move the tab in whatever renders the `mo
|
|
|
112
148
|
| `originalEvent` (read-only) | `Event \| undefined` | The DOM event that moved the tab: the key press, or the pointer release that dropped it. |
|
|
113
149
|
| `previousIndex` (read-only) | `number` | The index the tab had. |
|
|
114
150
|
|
|
115
|
-
**Used by:** [`TabsComponent`](tabs.md#tabscomponent)
|
|
151
|
+
**Used by:** [`TabsComponent`](tabs.md#tabscomponent), [`TabStripComponent`](tabs.md#tabstripcomponent)
|
|
116
152
|
|
|
117
153
|
## `TabSelectEvent`
|
|
118
154
|
|
|
@@ -140,7 +176,7 @@ Class.
|
|
|
140
176
|
| `isDefaultPrevented(): boolean` | Whether `preventDefault()` was called. |
|
|
141
177
|
| `preventDefault(): void` | Cancels what the event announces, such as opening or closing a popup, or closing a dialog. |
|
|
142
178
|
|
|
143
|
-
**Used by:** [`TabsComponent`](tabs.md#tabscomponent)
|
|
179
|
+
**Used by:** [`TabsComponent`](tabs.md#tabscomponent), [`TabStripComponent`](tabs.md#tabstripcomponent)
|
|
144
180
|
|
|
145
181
|
## `TABS_DEFAULT_MESSAGES`
|
|
146
182
|
|
|
@@ -150,6 +186,17 @@ Constant.
|
|
|
150
186
|
const TABS_DEFAULT_MESSAGES: MonaTabsMessages;
|
|
151
187
|
```
|
|
152
188
|
|
|
189
|
+
## `TabsLook`
|
|
190
|
+
|
|
191
|
+
Type alias.
|
|
192
|
+
|
|
193
|
+
How a tab strip marks the selected tab. `"line"` draws an indicator line along the strip's edge. `"pill"` raises the
|
|
194
|
+
selected tab on a rounded background, as the tabs in a browser's or a file manager's titlebar do.
|
|
195
|
+
|
|
196
|
+
```typescript
|
|
197
|
+
type TabsLook = "line" | "pill";
|
|
198
|
+
```
|
|
199
|
+
|
|
153
200
|
## `TabsPosition`
|
|
154
201
|
|
|
155
202
|
Type alias.
|
package/docs/breadcrumb.md
CHANGED
|
@@ -6,7 +6,7 @@ Entry point: `@nanahoshi/mona-ui/breadcrumb`
|
|
|
6
6
|
|
|
7
7
|
**Selector:** `mona-breadcrumb`
|
|
8
8
|
|
|
9
|
-
`BreadcrumbComponent` renders a navigational hierarchy trail as an accessible navigation landmark, with items that are real links or buttons, a
|
|
9
|
+
`BreadcrumbComponent` renders a navigational hierarchy trail as an accessible navigation landmark, with items that are real links or buttons, a trail that folds its middle to fit its width, and an optional custom separator template.
|
|
10
10
|
|
|
11
11
|
## Overview
|
|
12
12
|
|
|
@@ -54,7 +54,11 @@ The anchor is yours, so `href`, `routerLink`, `target` and `rel` all work, and s
|
|
|
54
54
|
|
|
55
55
|
The last `<mona-breadcrumb-item>` never emits `itemClick` — it is non-interactive regardless of whether you bind the output. Only non-last items are clickable. When a trail stops before the page you're on, set `[lastItemCurrent]="false"` and the last item becomes a normal one, with no `aria-current`.
|
|
56
56
|
|
|
57
|
-
**Long trails:**
|
|
57
|
+
**Long trails:** when the trail is wider than its box, its middle folds behind a button, the items nearest the start first, until the rest fit at their full width, as in [Folding to fit](#folding-to-fit). The first item and the current page always stay. When even those two don't fit, the first item gives up its width before the current page truncates with an ellipsis. The trail measures itself again whenever the breadcrumb or one of its items changes size, and a new trail is folded before the browser paints it.
|
|
58
|
+
|
|
59
|
+
To fold the middle to a count as well, whatever the width, set `maxItems`, as in [Collapsing a long trail](#collapsing-a-long-trail). The trail then folds whichever asks for more.
|
|
60
|
+
|
|
61
|
+
The button shows the whole trail and moves focus to the first item it revealed that can take focus. The trail then stays whole, truncating its items if it has to, until its items change, and then folds again. The button's name comes from `showFullPath` in the `breadcrumb` messages.
|
|
58
62
|
|
|
59
63
|
Truncation needs text to work on. An item whose content is its own flex container, such as `<div class="flex">`, gets clipped without the ellipsis.
|
|
60
64
|
|
|
@@ -133,9 +137,53 @@ export class BreadcrumbButtonsExampleComponent {
|
|
|
133
137
|
</div>
|
|
134
138
|
```
|
|
135
139
|
|
|
140
|
+
### Folding to fit
|
|
141
|
+
|
|
142
|
+
Drag the box's corner to narrow it. The folders in the middle fold behind the button, nearest the start first, and come back as the box widens.
|
|
143
|
+
|
|
144
|
+
`fit-example.component.ts`
|
|
145
|
+
|
|
146
|
+
```typescript
|
|
147
|
+
import { Component, signal } from "@angular/core";
|
|
148
|
+
import { BreadcrumbComponent, BreadcrumbItemComponent } from "@nanahoshi/mona-ui/breadcrumb";
|
|
149
|
+
|
|
150
|
+
@Component({
|
|
151
|
+
selector: "app-breadcrumb-fit-example",
|
|
152
|
+
imports: [BreadcrumbComponent, BreadcrumbItemComponent],
|
|
153
|
+
templateUrl: "./fit-example.component.html"
|
|
154
|
+
})
|
|
155
|
+
export class BreadcrumbFitExampleComponent {
|
|
156
|
+
protected readonly opened = signal("none");
|
|
157
|
+
protected readonly path = [
|
|
158
|
+
"Local Disk (C:)",
|
|
159
|
+
"Users",
|
|
160
|
+
"Public",
|
|
161
|
+
"Documents",
|
|
162
|
+
"Projects",
|
|
163
|
+
"Mona Explorer",
|
|
164
|
+
"Release notes for the next version"
|
|
165
|
+
];
|
|
166
|
+
}
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
`fit-example.component.html`
|
|
170
|
+
|
|
171
|
+
```html
|
|
172
|
+
<div class="flex flex-col gap-3">
|
|
173
|
+
<div class="w-[36rem] min-w-24 max-w-full resize-x overflow-hidden rounded-md border border-border">
|
|
174
|
+
<mona-breadcrumb aria-label="Location">
|
|
175
|
+
@for (folder of path; track $index) {
|
|
176
|
+
<mona-breadcrumb-item (itemClick)="opened.set(folder)">{{ folder }}</mona-breadcrumb-item>
|
|
177
|
+
}
|
|
178
|
+
</mona-breadcrumb>
|
|
179
|
+
</div>
|
|
180
|
+
<p aria-live="polite" class="text-sm">Last opened: {{ opened() }}</p>
|
|
181
|
+
</div>
|
|
182
|
+
```
|
|
183
|
+
|
|
136
184
|
### Collapsing a long trail
|
|
137
185
|
|
|
138
|
-
With `maxItems` set to 4, the middle of the trail collapses behind a button that shows it again.
|
|
186
|
+
With `maxItems` set to 4, the middle of the trail collapses behind a button that shows it again, even where there's room for all of it.
|
|
139
187
|
|
|
140
188
|
`collapsed-example.component.ts`
|
|
141
189
|
|
|
@@ -236,9 +284,13 @@ Add extra styles to the breadcrumb list via the `class` input on `<mona-breadcru
|
|
|
236
284
|
|
|
237
285
|
The host is a block with `max-width: 100%` and `min-width: 0`, and in a flex parent it needs both. `min-width: 0` lets it shrink along a row, and `max-width: 100%` keeps it inside a column that sizes to fit. Without them it would never get narrower than the trail's text, and nothing inside it would truncate.
|
|
238
286
|
|
|
287
|
+
The trail folds to the width the breadcrumb gets with every item shown. In a row where something beside it shrinks too, such as a search box, give the breadcrumb a width that doesn't depend on its content, such as `flex: 1`. Otherwise it measures more room than it keeps once folded, and the current page can truncate a little.
|
|
288
|
+
|
|
239
289
|
## Behavior
|
|
240
290
|
|
|
241
291
|
- **Content projection:** accepts `<mona-breadcrumb-item>` children and an optional `<ng-template monaBreadcrumbSeparatorTemplate>`.
|
|
292
|
+
- **Folding:** a `ResizeObserver` watches the list and each of its entries. A change in size measures every entry at its natural width and folds the fewest middle items for the rest to fit. Folded items and their separators stay in the list with the `hidden` attribute, so a test that counts items should skip `[hidden]` ones.
|
|
293
|
+
- **Focus while folding:** focus on an item that folds moves to the button that now stands for it. Focus on the button, once everything fits again, moves to the first item it gave back.
|
|
242
294
|
|
|
243
295
|
## Accessibility
|
|
244
296
|
|
|
@@ -246,6 +298,8 @@ The host is a block with `max-width: 100%` and `min-width: 0`, and in a flex par
|
|
|
246
298
|
|
|
247
299
|
The item list is announced as a list by assistive technology. The last item automatically receives `aria-current="page"`. Separators are hidden from assistive technology.
|
|
248
300
|
|
|
301
|
+
Folded items are hidden, so they leave the accessibility tree and the tab order. The button in their place is a native button named by the `showFullPath` message, "Show full path" in English.
|
|
302
|
+
|
|
249
303
|
Items are native buttons, or the anchors you project. A disabled item is removed from the tab order and cannot be activated by keyboard or pointer. A disabled link gets `aria-disabled` and `tabindex="-1"`, and a click on it stops before `routerLink` sees it.
|
|
250
304
|
|
|
251
305
|
When multiple breadcrumbs appear on the same page, each should have a distinct `aria-label` so screen reader users can distinguish the landmarks.
|
|
@@ -256,7 +310,7 @@ Everything below is imported from `@nanahoshi/mona-ui/breadcrumb`. Each name lin
|
|
|
256
310
|
|
|
257
311
|
| Name | Kind | Description |
|
|
258
312
|
| --- | --- | --- |
|
|
259
|
-
| [`BreadcrumbComponent`](api/breadcrumb.md#breadcrumbcomponent) | Component |
|
|
313
|
+
| [`BreadcrumbComponent`](api/breadcrumb.md#breadcrumbcomponent) | Component | A trail of `mona-breadcrumb-item`s that leads to the current page. |
|
|
260
314
|
| [`BreadcrumbItemComponent`](api/breadcrumb.md#breadcrumbitemcomponent) | Component | Use as a direct child of `<mona-breadcrumb>`. |
|
|
261
315
|
| [`BreadcrumbLinkDirective`](api/breadcrumb.md#breadcrumblinkdirective) | Directive | Makes a projected anchor the item's link, so the browser and the router treat it as one: ctrl-click, copy link, `href`, `routerLink`, `target`. |
|
|
262
316
|
| [`BreadcrumbSeparatorTemplateDirective`](api/breadcrumb.md#breadcrumbseparatortemplatedirective) | Directive | Apply to an `<ng-template>` directly inside `<mona-breadcrumb>` to replace the default `ChevronRight` separator. |
|
package/docs/manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"essentials":"Mona UI is an Angular component library styled with Tailwind CSS 4. Its components are standalone and signal based: inputs are `input()` and `model()`, events are `output()`.\n\n## Essentials\n\n- Install with `npm install @nanahoshi/mona-ui`. The application needs Tailwind CSS 4.\n- Import the styles in the main stylesheet, after Tailwind: `@import \"tailwindcss\";` then `@import \"@nanahoshi/mona-ui/styles.css\";`. Without it, components render unstyled.\n- Import every symbol from its entry point, such as `import { ButtonDirective } from \"@nanahoshi/mona-ui/button\";`. Each page below names its entry point. The root `@nanahoshi/mona-ui` exports nothing.\n- Add what you import to the standalone component's `imports` array. There are no NgModules.\n- No provider is required. Optional ones: `provideThemeOptions` (`@nanahoshi/mona-ui/theme`) to pick a theme, `provideMonaI18n` (`@nanahoshi/mona-ui/i18n`) for locale and messages, `provideNotificationDefaults` (`@nanahoshi/mona-ui/notification`) and `provideSidebarStorage` (`@nanahoshi/mona-ui/sidebar`).\n- Form controls implement `FormValueControl` from `@angular/forms/signals`: bind them with `[formField]`. They have no `ControlValueAccessor`, but `[(ngModel)]` and `[formControl]` still work, because Angular binds a control's `value` and `touch` directly.\n\n## Common mistakes\n\n- Importing from `@nanahoshi/mona-ui` instead of an entry point such as `@nanahoshi/mona-ui/grid`.\n- Leaving out `@nanahoshi/mona-ui/styles.css`, or importing it before Tailwind.\n- Treating a `placeholder` as a label. Give each control a name: a `<label for>` pointed at its input id, `aria-label` or `aria-labelledby`. Those two are inputs on every component that takes a name, and the component moves them to the element that has the role.\n- Expecting the grid, list box or tabs to change their data. They report the change through an event, and you write it back to the data you bound.\n- Putting `[disabled]` on a `monaTooltip` that sits on a button: it disables the button too. Use `[tooltipDisabled]`.\n- Using the rich text editor without its packages and styles. Mona UI doesn't install them: add `@tiptap/core`, `@tiptap/pm`, `@tiptap/starter-kit`, `@tiptap/extension-highlight`, `@tiptap/extension-image`, `@tiptap/extension-list`, `@tiptap/extension-subscript`, `@tiptap/extension-superscript`, `@tiptap/extension-table`, `@tiptap/extension-text-align`, `@tiptap/extension-text-style`, `remixicon` and `@tailwindcss/typography`, then `@import \"remixicon/fonts/remixicon.css\";` and `@plugin \"@tailwindcss/typography\";` to the global stylesheet.\n- Exporting a chart without its packages. `exportChart` and `downloadChart` need `jspdf`, `svg2pdf.js` and `html2canvas-pro`, which Mona UI doesn't install.","pages":[{"category":"Get Started","description":"What Mona UI is, what it includes and how it is built.","file":"docs/introduction.md","kind":"guide","path":"introduction","slug":"introduction","title":"Introduction"},{"category":"Get Started","description":"Install the package, set up its styles and choose a theme.","file":"docs/installation.md","kind":"guide","path":"installation","slug":"installation","title":"Installation"},{"category":"Get Started","description":"Choose and switch themes, follow the system's dark mode, and use theme tokens in your own styles.","entryPoint":"theme","file":"docs/theming.md","kind":"guide","path":"theming","slug":"theming","title":"Theming"},{"category":"Get Started","description":"Mona, Luna, Anna and Rena side by side, and when to use each one.","file":"docs/theming-built-in-themes.md","kind":"guide","path":"theming/built-in-themes","slug":"theming-built-in-themes","title":"Built-in Themes"},{"category":"Get Started","description":"Generate a palette from brand colors, override tokens, or let users choose a color.","file":"docs/theming-custom-colors.md","kind":"guide","path":"theming/custom-colors","slug":"theming-custom-colors","title":"Custom Colors"},{"category":"Get Started","description":"Register a theme of your own, from scratch or based on a built-in theme.","file":"docs/theming-custom-themes.md","kind":"guide","path":"theming/custom-themes","slug":"theming-custom-themes","title":"Custom Themes"},{"category":"Get Started","description":"Turn on a ripple that spreads from where a button is pressed, and add it to your own elements.","entryPoint":"ripple","file":"docs/ripple.md","kind":"guide","path":"ripple","slug":"ripple","title":"Ripple"},{"category":"Get Started","description":"Connect Mona UI controls to Angular signal forms.","file":"docs/forms.md","kind":"guide","path":"forms","slug":"forms","title":"Forms"},{"category":"Actions","description":"Styles a native button and adds loading, toggle and disabled behavior.","entryPoint":"button","file":"docs/button.md","kind":"component","path":"button","slug":"button","title":"Button"},{"category":"Actions","description":"Joins related buttons into one control with a shared look and size.","entryPoint":"button-group","file":"docs/button-group.md","kind":"component","path":"button-group","slug":"button-group","title":"Button Group"},{"category":"Actions","description":"A single button that opens a menu of actions.","entryPoint":"dropdown-button","file":"docs/dropdown-button.md","kind":"component","path":"dropdown-button","slug":"dropdown-button","title":"Dropdown Button"},{"category":"Actions","description":"A primary action button paired with a menu of secondary actions.","entryPoint":"split-button","file":"docs/split-button.md","kind":"component","path":"split-button","slug":"split-button","title":"Split Button"},{"category":"Actions","description":"A row of controls that is one Tab stop, moving what doesn't fit into a More menu.","entryPoint":"toolbar","file":"docs/toolbar.md","kind":"component","path":"toolbar","slug":"toolbar","title":"Toolbar"},{"category":"Form Fields","description":"A numeric input whose value is a decimal string, for exact values like money.","entryPoint":"numeric-text-box","file":"docs/decimal-textbox.md","kind":"component","path":"decimal-textbox","slug":"decimal-textbox","title":"Decimal Text Box"},{"category":"Form Fields","description":"A rich text editor with a configurable toolbar and an HTML value.","entryPoint":"editor","file":"docs/editor.md","kind":"component","path":"editor","slug":"editor","title":"Editor"},{"category":"Form Fields","description":"Groups related form controls under a labelled border.","entryPoint":"fieldset","file":"docs/fieldset.md","kind":"component","path":"fieldset","slug":"fieldset","title":"Fieldset"},{"category":"Form Fields","description":"Picks files from a drop zone or the file dialog, checks them, and uploads them with progress.","entryPoint":"file-upload","file":"docs/file-upload.md","kind":"component","path":"file-upload","slug":"file-upload","title":"File Upload"},{"category":"Form Fields","description":"Labels one form control, describes it with a hint and shows its validation errors.","entryPoint":"form-field","file":"docs/form-field.md","kind":"component","path":"form-field","slug":"form-field","title":"Form Field"},{"category":"Form Fields","description":"Styles a native input element and keeps its browser behavior.","entryPoint":"text-box","file":"docs/input.md","kind":"component","path":"input","slug":"input","title":"Input"},{"category":"Form Fields","description":"Styled, accessible labels associated with form controls.","entryPoint":"label","file":"docs/label.md","kind":"component","path":"label","slug":"label","title":"Label"},{"category":"Form Fields","description":"A text input for values in a fixed format, such as phone numbers, that fills in the format as you type.","entryPoint":"masked-text-box","file":"docs/masked-textbox.md","kind":"component","path":"masked-textbox","slug":"masked-textbox","title":"Masked Text Box"},{"category":"Form Fields","description":"A number input with spinner buttons, bounds and decimal formatting.","entryPoint":"numeric-text-box","file":"docs/numeric-textbox.md","kind":"component","path":"numeric-textbox","slug":"numeric-textbox","title":"Numeric Text Box"},{"category":"Form Fields","description":"A segmented input for one-time passwords and verification codes.","entryPoint":"otp-input","file":"docs/otp-input.md","kind":"component","path":"otp-input","slug":"otp-input","title":"OTP Input"},{"category":"Form Fields","description":"Styles a native textarea element and keeps its browser behavior.","entryPoint":"text-area","file":"docs/textarea.md","kind":"component","path":"textarea","slug":"textarea","title":"Text Area"},{"category":"Form Fields","description":"A text input with prefix and suffix slots and an optional clear button.","entryPoint":"text-box","file":"docs/textbox.md","kind":"component","path":"textbox","slug":"textbox","title":"Text Box"},{"category":"Selection","description":"A text input that suggests matching options as the user types.","entryPoint":"auto-complete","file":"docs/auto-complete.md","kind":"component","path":"auto-complete","slug":"auto-complete","title":"Auto Complete"},{"category":"Selection","description":"A checkbox with label handling and an indeterminate state.","entryPoint":"check-box","file":"docs/checkbox.md","kind":"component","path":"checkbox","slug":"checkbox","title":"Checkbox"},{"category":"Selection","description":"A text input that resolves typed text to one item from a collection.","entryPoint":"combo-box","file":"docs/combo-box.md","kind":"component","path":"combo-box","slug":"combo-box","title":"Combo Box"},{"category":"Selection","description":"A closed control that opens a list for choosing exactly one option.","entryPoint":"dropdown-list","file":"docs/dropdown-list.md","kind":"component","path":"dropdown-list","slug":"dropdown-list","title":"Dropdown List"},{"category":"Selection","description":"A closed control that opens a tree for choosing one item from a hierarchy.","entryPoint":"dropdown-tree","file":"docs/dropdown-tree.md","kind":"component","path":"dropdown-tree","slug":"dropdown-tree","title":"Dropdown Tree"},{"category":"Selection","description":"A control that shows selected options as removable tags.","entryPoint":"multi-select","file":"docs/multi-select.md","kind":"component","path":"multi-select","slug":"multi-select","title":"Multi Select"},{"category":"Selection","description":"A control that opens a tree with checkboxes and shows the checked items as removable tags.","entryPoint":"multi-select-tree","file":"docs/multi-select-tree.md","kind":"component","path":"multi-select-tree","slug":"multi-select-tree","title":"Multi Select Tree"},{"category":"Selection","description":"Radio buttons and groups for choosing one option from several.","entryPoint":"radio-button","file":"docs/radio-button.md","kind":"component","path":"radio-button","slug":"radio-button","title":"Radio Button"},{"category":"Selection","description":"A two-handle slider for selecting a numeric interval.","entryPoint":"slider","file":"docs/range-slider.md","kind":"component","path":"range-slider","slug":"range-slider","title":"Range Slider"},{"category":"Selection","description":"Choose a value from a visual scale of icons, in whole or half steps.","entryPoint":"rating","file":"docs/rating.md","kind":"component","path":"rating","slug":"rating","title":"Rating"},{"category":"Selection","description":"A compact set of mutually exclusive options.","entryPoint":"segmented","file":"docs/segmented.md","kind":"component","path":"segmented","slug":"segmented","title":"Segmented"},{"category":"Selection","description":"A single-handle slider for selecting a numeric value.","entryPoint":"slider","file":"docs/slider.md","kind":"component","path":"slider","slug":"slider","title":"Slider"},{"category":"Selection","description":"A binary on and off toggle with optional state labels.","entryPoint":"switch","file":"docs/switch.md","kind":"component","path":"switch","slug":"switch","title":"Switch"},{"category":"Date, Time & Color","description":"Date selection in single, multiple and range modes across month, year and decade views.","entryPoint":"calendar","file":"docs/calendar.md","kind":"component","path":"calendar","slug":"calendar","title":"Calendar"},{"category":"Date, Time & Color","description":"A color editor for saturation, value, hue and alpha.","entryPoint":"color-gradient","file":"docs/color-gradient.md","kind":"component","path":"color-gradient","slug":"color-gradient","title":"Color Gradient"},{"category":"Date, Time & Color","description":"A grid of selectable color swatches from a built-in or custom scheme.","entryPoint":"color-palette","file":"docs/color-palette.md","kind":"component","path":"color-palette","slug":"color-palette","title":"Color Palette"},{"category":"Date, Time & Color","description":"A compact control that opens a color palette or gradient editor.","entryPoint":"color-picker","file":"docs/color-picker.md","kind":"component","path":"color-picker","slug":"color-picker","title":"Color Picker"},{"category":"Date, Time & Color","description":"A date input that opens a calendar popup.","entryPoint":"date-picker","file":"docs/date-picker.md","kind":"component","path":"date-picker","slug":"date-picker","title":"Date Picker"},{"category":"Date, Time & Color","description":"Two date inputs for a range of days, with a calendar popup that shows two months.","entryPoint":"date-range-picker","file":"docs/date-range-picker.md","kind":"component","path":"date-range-picker","slug":"date-range-picker","title":"Date Range Picker"},{"category":"Date, Time & Color","description":"An input for choosing a date and a time together.","entryPoint":"datetime-picker","file":"docs/datetime-picker.md","kind":"component","path":"datetime-picker","slug":"datetime-picker","title":"Date Time Picker"},{"category":"Date, Time & Color","description":"A time input that opens a time selector popup.","entryPoint":"time-picker","file":"docs/time-picker.md","kind":"component","path":"time-picker","slug":"time-picker","title":"Time Picker"},{"category":"Data","description":"Shows a person or entity as an image, text label or projected content, alone or stacked in a group.","entryPoint":"avatar","file":"docs/avatar.md","kind":"component","path":"avatar","slug":"avatar","title":"Avatar"},{"category":"Data","description":"A small filled or outlined label for a count or a status.","entryPoint":"badge","file":"docs/badge.md","kind":"component","path":"badge","slug":"badge","title":"Badge"},{"category":"Data","description":"A compact label that can be selected, removed or given a prefix.","entryPoint":"chip","file":"docs/chip.md","kind":"component","path":"chip","slug":"chip","title":"Chip"},{"category":"Data","description":"A board of columns that cards move between by dragging or with the keyboard, with column limits.","entryPoint":"kanban","file":"docs/kanban.md","kind":"component","path":"kanban","slug":"kanban","title":"Kanban"},{"category":"Data","description":"A selectable list with a toolbar for moving items and transferring them between lists.","entryPoint":"list-box","file":"docs/list-box.md","kind":"component","path":"list-box","slug":"list-box","title":"List Box"},{"category":"Data","description":"Renders a collection as a list, with optional selection, grouping and paging.","entryPoint":"list-view","file":"docs/list-view.md","kind":"component","path":"list-view","slug":"list-view","title":"List View"},{"category":"Data","description":"Pagination controls with page buttons, a page-size selector and a page-jump input.","entryPoint":"pager","file":"docs/pager.md","kind":"component","path":"pager","slug":"pager","title":"Pager"},{"category":"Data","description":"Encodes text or a URL as a scannable QR code, with logo overlays and PNG, SVG and PDF export.","entryPoint":"qr-code","file":"docs/qr-code.md","kind":"component","path":"qr-code","slug":"qr-code","title":"QR Code"},{"category":"Data","description":"Lets users reorder any list by dragging or with the keyboard, and move items between connected lists.","entryPoint":"sortable","file":"docs/sortable.md","kind":"component","path":"sortable","slug":"sortable","title":"Sortable"},{"category":"Data","description":"Dated events along a line, down the page or across it, with cards that can open and close.","entryPoint":"timeline","file":"docs/timeline.md","kind":"component","path":"timeline","slug":"timeline","title":"Timeline"},{"category":"Data","description":"Hierarchical data as an expandable, keyboard-navigable tree.","entryPoint":"tree-view","file":"docs/tree-view.md","kind":"component","path":"tree-view","slug":"tree-view","title":"Tree View"},{"category":"Conversation","description":"A conversation with people or an assistant: message bubbles by day and author, a message box that sends files, and replies that stream in.","entryPoint":"chat","file":"docs/chat.md","kind":"component","path":"chat","slug":"chat","title":"Chat"},{"category":"Grid","description":"Tabular data in typed columns with paging, templates and a toolbar, extended by feature directives.","entryPoint":"grid","file":"docs/grid.md","kind":"component","path":"grid","slug":"grid","title":"Grid Overview"},{"category":"Grid","description":"Sort rows by column headers and filter them from a header menu or a filter row.","entryPoint":"grid","file":"docs/grid-sorting-filtering.md","kind":"component","path":"grid-sorting-filtering","slug":"grid-sorting-filtering","title":"Sorting & Filtering"},{"category":"Grid","description":"Group rows by column values and show sums, averages and other aggregates in footers.","entryPoint":"grid","file":"docs/grid-grouping.md","kind":"component","path":"grid-grouping","slug":"grid-grouping","title":"Grouping & Aggregates"},{"category":"Grid","description":"Show hierarchical rows in a grid, nested or linked by a parent key, with expandable levels.","entryPoint":"grid","file":"docs/grid-tree.md","kind":"component","path":"grid-tree","slug":"grid-tree","title":"Tree List"},{"category":"Grid","description":"Select rows by key with checkboxes, clicks and the keyboard, or a range of cells to copy and paste.","entryPoint":"grid","file":"docs/grid-selection.md","kind":"component","path":"grid-selection","slug":"grid-selection","title":"Selection"},{"category":"Grid","description":"Edit cells or rows inline with Signal Forms, and add, save, cancel and remove rows.","entryPoint":"grid","file":"docs/grid-editing.md","kind":"component","path":"grid-editing","slug":"grid-editing","title":"Editing"},{"category":"Grid","description":"Group, resize, reorder, lock and hide columns, by pointer, keyboard or the column chooser.","entryPoint":"grid","file":"docs/grid-columns.md","kind":"component","path":"grid-columns","slug":"grid-columns","title":"Columns"},{"category":"Grid","description":"Expandable detail rows, row reordering by drag or keyboard, row classes and row sizing.","entryPoint":"grid","file":"docs/grid-rows.md","kind":"component","path":"grid-rows","slug":"grid-rows","title":"Rows"},{"category":"Grid","description":"Load pages from a server, or render only the visible rows of a large data set.","entryPoint":"grid","file":"docs/grid-server.md","kind":"component","path":"grid-server","slug":"grid-server","title":"Server Binding & Virtualization"},{"category":"Grid","description":"Save and restore the grid's columns, sort, filter, groups and page size, and export rows as CSV, Excel or PDF.","entryPoint":"grid","file":"docs/grid-state-export.md","kind":"component","path":"grid-state-export","slug":"grid-state-export","title":"State & Export"},{"category":"Charts","description":"High-performance Canvas charts composed from series, axes and interaction parts.","entryPoint":"chart","file":"docs/chart.md","kind":"component","path":"chart","slug":"chart","title":"Chart Overview"},{"category":"Charts","description":"Line, area and range area series for values that change across a continuous or category axis.","entryPoint":"chart","file":"docs/chart-line-area.md","kind":"component","path":"chart-line-area","slug":"chart-line-area","title":"Line & Area"},{"category":"Charts","description":"Bar, range bar and waterfall series for comparing values, intervals and running totals.","entryPoint":"chart","file":"docs/chart-bar.md","kind":"component","path":"chart-bar","slug":"chart-bar","title":"Bar & Waterfall"},{"category":"Charts","description":"Scatter and bubble series for the relationship between two or three numeric values.","entryPoint":"chart","file":"docs/chart-scatter.md","kind":"component","path":"chart-scatter","slug":"chart-scatter","title":"Scatter & Bubble"},{"category":"Charts","description":"Candlestick and OHLC series for open, high, low and close prices.","entryPoint":"chart","file":"docs/chart-financial.md","kind":"component","path":"chart-financial","slug":"chart-financial","title":"Financial"},{"category":"Charts","description":"A heatmap series that colors a grid of cells by value, with a color legend.","entryPoint":"chart","file":"docs/chart-heatmap.md","kind":"component","path":"chart-heatmap","slug":"chart-heatmap","title":"Heatmap"},{"category":"Charts","description":"Pie and donut series for the parts of a whole, with slice labels and a donut center.","entryPoint":"chart","file":"docs/chart-pie.md","kind":"component","path":"chart-pie","slug":"chart-pie","title":"Pie & Donut"},{"category":"Charts","description":"A funnel series for stages that narrow, with conversion and drop-off between them.","entryPoint":"chart","file":"docs/chart-funnel.md","kind":"component","path":"chart-funnel","slug":"chart-funnel","title":"Funnel"},{"category":"Charts","description":"A treemap series that tiles hierarchical data by value.","entryPoint":"chart","file":"docs/chart-treemap.md","kind":"component","path":"chart-treemap","slug":"chart-treemap","title":"Treemap"},{"category":"Charts","description":"Radar and polar series on angular and radial axes, for comparing metrics or directions.","entryPoint":"chart","file":"docs/chart-radar.md","kind":"component","path":"chart-radar","slug":"chart-radar","title":"Radar & Polar"},{"category":"Charts","description":"Radial bar, rose and gauge series that draw values as arcs around a center.","entryPoint":"chart","file":"docs/chart-radial.md","kind":"component","path":"chart-radial","slug":"chart-radial","title":"Radial"},{"category":"Charts","description":"A word-sized line, area, column or win-loss chart, for a table cell or a line of text.","entryPoint":"sparkline","file":"docs/sparkline.md","kind":"component","path":"sparkline","slug":"sparkline","title":"Sparkline"},{"category":"Navigation","description":"A navigation trail showing where the current page sits in a hierarchy.","entryPoint":"breadcrumb","file":"docs/breadcrumb.md","kind":"component","path":"breadcrumb","slug":"breadcrumb","title":"Breadcrumb"},{"category":"Navigation","description":"A searchable list of actions or options, operated from one input, inline or in a dialog.","entryPoint":"command","file":"docs/command.md","kind":"component","path":"command","slug":"command","title":"Command Menu"},{"category":"Navigation","description":"A popup menu attached to an element, opened by right-click or keyboard.","entryPoint":"contextmenu","file":"docs/contextmenu.md","kind":"component","path":"contextmenu","slug":"contextmenu","title":"Context Menu"},{"category":"Navigation","description":"A persistent horizontal bar of top-level menus.","entryPoint":"menubar","file":"docs/menubar.md","kind":"component","path":"menubar","slug":"menubar","title":"Menubar"},{"category":"Navigation","description":"Opens a menu from an element you already have, such as an icon button or a row action.","entryPoint":"popup-menu","file":"docs/popup-menu.md","kind":"component","path":"popup-menu","slug":"popup-menu","title":"Popup Menu"},{"category":"Navigation","description":"A composable application shell with collapsible side panels.","entryPoint":"sidebar","file":"docs/sidebar.md","kind":"component","path":"sidebar","slug":"sidebar","title":"Sidebar"},{"category":"Navigation","description":"Groups, menus, rows, submenus, badges, actions and loading rows inside a sidebar.","entryPoint":"sidebar","file":"docs/sidebar-menus.md","kind":"component","path":"sidebar/menus","slug":"sidebar-menus","title":"Sidebar Menus"},{"category":"Navigation","description":"Collapsing, controlled and remembered state, the drawer on small screens, and reading a sidebar from code.","entryPoint":"sidebar","file":"docs/sidebar-state.md","kind":"component","path":"sidebar/state","slug":"sidebar-state","title":"Sidebar State & Behavior"},{"category":"Navigation","description":"Guides users through a sequential, multi-step process.","entryPoint":"stepper","file":"docs/stepper.md","kind":"component","path":"stepper","slug":"stepper","title":"Stepper"},{"category":"Navigation","description":"Switches between panels of related content.","entryPoint":"tabs","file":"docs/tabs.md","kind":"component","path":"tabs","slug":"tabs","title":"Tabs"},{"category":"Overlays","description":"Modal or non-modal messages, confirmations and content dialogs.","entryPoint":"dialog","file":"docs/dialog.md","kind":"component","path":"dialog","slug":"dialog","title":"Dialog"},{"category":"Overlays","description":"A floating panel anchored to a target and opened by a configurable trigger.","entryPoint":"popover","file":"docs/popover.md","kind":"component","path":"popover","slug":"popover","title":"Popover"},{"category":"Overlays","description":"Positions arbitrary content relative to an anchor, a point or the viewport.","entryPoint":"popup","file":"docs/popup.md","kind":"component","path":"popup","slug":"popup","title":"Popup"},{"category":"Overlays","description":"A modal panel attached to an edge of the viewport.","entryPoint":"sheet","file":"docs/sheet.md","kind":"component","path":"sheet","slug":"sheet","title":"Sheet"},{"category":"Overlays","description":"A floating tooltip with projected content, anchored to a separate target.","entryPoint":"tooltip","file":"docs/tooltip.md","kind":"component","path":"tooltip","slug":"tooltip","title":"Tooltip"},{"category":"Overlays","description":"Replaces a native title attribute with a styled tooltip.","entryPoint":"tooltip","file":"docs/tooltip-directive.md","kind":"component","path":"tooltip-directive","slug":"tooltip-directive","title":"Tooltip Directive"},{"category":"Overlays","description":"A draggable, resizable floating window that can be minimized and maximized.","entryPoint":"window","file":"docs/window.md","kind":"component","path":"window","slug":"window","title":"Window"},{"category":"Layout","description":"Groups related content and actions on one raised surface.","entryPoint":"card","file":"docs/card.md","kind":"component","path":"card","slug":"card","title":"Card"},{"category":"Layout","description":"A headless disclosure primitive for expandable regions.","entryPoint":"collapsible","file":"docs/collapsible.md","kind":"component","path":"collapsible","slug":"collapsible","title":"Collapsible"},{"category":"Layout","description":"A header that shows and hides its content, designed to stack with other panels.","entryPoint":"expansion-panel","file":"docs/expansion-panel.md","kind":"component","path":"expansion-panel","slug":"expansion-panel","title":"Expansion Panel"},{"category":"Layout","description":"A fixed-size carousel that pages through a collection one item at a time.","entryPoint":"scroll-view","file":"docs/scroll-view.md","kind":"component","path":"scroll-view","slug":"scroll-view","title":"Scroll View"},{"category":"Layout","description":"A thin line between groups of content, across or down, with an optional label.","entryPoint":"separator","file":"docs/separator.md","kind":"component","path":"separator","slug":"separator","title":"Separator"},{"category":"Layout","description":"Lays out panes in a row or column that can be resized and collapsed.","entryPoint":"splitter","file":"docs/splitter.md","kind":"component","path":"splitter","slug":"splitter","title":"Splitter"},{"category":"Feedback","description":"A message that stays on the page, tinted for what it means, with optional actions and dismissal.","entryPoint":"alert","file":"docs/alert.md","kind":"component","path":"alert","slug":"alert","title":"Alert"},{"category":"Feedback","description":"A circular progress indicator with an optional custom label.","entryPoint":"circular-progress-bar","file":"docs/circular-progress-bar.md","kind":"component","path":"circular-progress-bar","slug":"circular-progress-bar","title":"Circular Progress Bar"},{"category":"Feedback","description":"Transient toast notifications with optional auto-dismiss.","entryPoint":"notification","file":"docs/notification.md","kind":"component","path":"notification","slug":"notification","title":"Notification"},{"category":"Feedback","description":"Fills an empty area with a muted label or projected content.","entryPoint":"placeholder","file":"docs/placeholder.md","kind":"component","path":"placeholder","slug":"placeholder","title":"Placeholder"},{"category":"Feedback","description":"A horizontal progress indicator with determinate and indeterminate modes.","entryPoint":"progress-bar","file":"docs/progress-bar.md","kind":"component","path":"progress-bar","slug":"progress-bar","title":"Progress Bar"},{"category":"Feedback","description":"A decorative placeholder block for content that is still loading.","entryPoint":"skeleton","file":"docs/skeleton.md","kind":"component","path":"skeleton","slug":"skeleton","title":"Skeleton"},{"category":"Feedback","description":"An animated loading indicator and a service for loading overlays.","entryPoint":"spinner","file":"docs/spinner.md","kind":"component","path":"spinner","slug":"spinner","title":"Spinner"}],"schemaVersion":1,"version":"0.48.0"}
|
|
1
|
+
{"essentials":"Mona UI is an Angular component library styled with Tailwind CSS 4. Its components are standalone and signal based: inputs are `input()` and `model()`, events are `output()`.\n\n## Essentials\n\n- Install with `npm install @nanahoshi/mona-ui`. The application needs Tailwind CSS 4.\n- Import the styles in the main stylesheet, after Tailwind: `@import \"tailwindcss\";` then `@import \"@nanahoshi/mona-ui/styles.css\";`. Without it, components render unstyled.\n- Import every symbol from its entry point, such as `import { ButtonDirective } from \"@nanahoshi/mona-ui/button\";`. Each page below names its entry point. The root `@nanahoshi/mona-ui` exports nothing.\n- Add what you import to the standalone component's `imports` array. There are no NgModules.\n- No provider is required. Optional ones: `provideThemeOptions` (`@nanahoshi/mona-ui/theme`) to pick a theme, `provideMonaI18n` (`@nanahoshi/mona-ui/i18n`) for locale and messages, `provideNotificationDefaults` (`@nanahoshi/mona-ui/notification`) and `provideSidebarStorage` (`@nanahoshi/mona-ui/sidebar`).\n- Form controls implement `FormValueControl` from `@angular/forms/signals`: bind them with `[formField]`. They have no `ControlValueAccessor`, but `[(ngModel)]` and `[formControl]` still work, because Angular binds a control's `value` and `touch` directly.\n\n## Common mistakes\n\n- Importing from `@nanahoshi/mona-ui` instead of an entry point such as `@nanahoshi/mona-ui/grid`.\n- Leaving out `@nanahoshi/mona-ui/styles.css`, or importing it before Tailwind.\n- Treating a `placeholder` as a label. Give each control a name: a `<label for>` pointed at its input id, `aria-label` or `aria-labelledby`. Those two are inputs on every component that takes a name, and the component moves them to the element that has the role.\n- Expecting the grid, list box or tabs to change their data. They report the change through an event, and you write it back to the data you bound.\n- Putting `[disabled]` on a `monaTooltip` that sits on a button: it disables the button too. Use `[tooltipDisabled]`.\n- Using the rich text editor without its packages and styles. Mona UI doesn't install them: add `@tiptap/core`, `@tiptap/pm`, `@tiptap/starter-kit`, `@tiptap/extension-highlight`, `@tiptap/extension-image`, `@tiptap/extension-list`, `@tiptap/extension-subscript`, `@tiptap/extension-superscript`, `@tiptap/extension-table`, `@tiptap/extension-text-align`, `@tiptap/extension-text-style`, `remixicon` and `@tailwindcss/typography`, then `@import \"remixicon/fonts/remixicon.css\";` and `@plugin \"@tailwindcss/typography\";` to the global stylesheet.\n- Exporting a chart without its packages. `exportChart` and `downloadChart` need `jspdf`, `svg2pdf.js` and `html2canvas-pro`, which Mona UI doesn't install.","pages":[{"category":"Get Started","description":"What Mona UI is, what it includes and how it is built.","file":"docs/introduction.md","kind":"guide","path":"introduction","slug":"introduction","title":"Introduction"},{"category":"Get Started","description":"Install the package, set up its styles and choose a theme.","file":"docs/installation.md","kind":"guide","path":"installation","slug":"installation","title":"Installation"},{"category":"Get Started","description":"Choose and switch themes, follow the system's dark mode, and use theme tokens in your own styles.","entryPoint":"theme","file":"docs/theming.md","kind":"guide","path":"theming","slug":"theming","title":"Theming"},{"category":"Get Started","description":"Mona, Luna, Anna and Rena side by side, and when to use each one.","file":"docs/theming-built-in-themes.md","kind":"guide","path":"theming/built-in-themes","slug":"theming-built-in-themes","title":"Built-in Themes"},{"category":"Get Started","description":"Generate a palette from brand colors, override tokens, or let users choose a color.","file":"docs/theming-custom-colors.md","kind":"guide","path":"theming/custom-colors","slug":"theming-custom-colors","title":"Custom Colors"},{"category":"Get Started","description":"Register a theme of your own, from scratch or based on a built-in theme.","file":"docs/theming-custom-themes.md","kind":"guide","path":"theming/custom-themes","slug":"theming-custom-themes","title":"Custom Themes"},{"category":"Get Started","description":"Turn on a ripple that spreads from where a button is pressed, and add it to your own elements.","entryPoint":"ripple","file":"docs/ripple.md","kind":"guide","path":"ripple","slug":"ripple","title":"Ripple"},{"category":"Get Started","description":"Connect Mona UI controls to Angular signal forms.","file":"docs/forms.md","kind":"guide","path":"forms","slug":"forms","title":"Forms"},{"category":"Actions","description":"Styles a native button and adds loading, toggle and disabled behavior.","entryPoint":"button","file":"docs/button.md","kind":"component","path":"button","slug":"button","title":"Button"},{"category":"Actions","description":"Joins related buttons into one control with a shared look and size.","entryPoint":"button-group","file":"docs/button-group.md","kind":"component","path":"button-group","slug":"button-group","title":"Button Group"},{"category":"Actions","description":"A single button that opens a menu of actions.","entryPoint":"dropdown-button","file":"docs/dropdown-button.md","kind":"component","path":"dropdown-button","slug":"dropdown-button","title":"Dropdown Button"},{"category":"Actions","description":"A primary action button paired with a menu of secondary actions.","entryPoint":"split-button","file":"docs/split-button.md","kind":"component","path":"split-button","slug":"split-button","title":"Split Button"},{"category":"Actions","description":"A row of controls that is one Tab stop, moving what doesn't fit into a More menu.","entryPoint":"toolbar","file":"docs/toolbar.md","kind":"component","path":"toolbar","slug":"toolbar","title":"Toolbar"},{"category":"Form Fields","description":"A numeric input whose value is a decimal string, for exact values like money.","entryPoint":"numeric-text-box","file":"docs/decimal-textbox.md","kind":"component","path":"decimal-textbox","slug":"decimal-textbox","title":"Decimal Text Box"},{"category":"Form Fields","description":"A rich text editor with a configurable toolbar and an HTML value.","entryPoint":"editor","file":"docs/editor.md","kind":"component","path":"editor","slug":"editor","title":"Editor"},{"category":"Form Fields","description":"Groups related form controls under a labelled border.","entryPoint":"fieldset","file":"docs/fieldset.md","kind":"component","path":"fieldset","slug":"fieldset","title":"Fieldset"},{"category":"Form Fields","description":"Picks files from a drop zone or the file dialog, checks them, and uploads them with progress.","entryPoint":"file-upload","file":"docs/file-upload.md","kind":"component","path":"file-upload","slug":"file-upload","title":"File Upload"},{"category":"Form Fields","description":"Labels one form control, describes it with a hint and shows its validation errors.","entryPoint":"form-field","file":"docs/form-field.md","kind":"component","path":"form-field","slug":"form-field","title":"Form Field"},{"category":"Form Fields","description":"Styles a native input element and keeps its browser behavior.","entryPoint":"text-box","file":"docs/input.md","kind":"component","path":"input","slug":"input","title":"Input"},{"category":"Form Fields","description":"Styled, accessible labels associated with form controls.","entryPoint":"label","file":"docs/label.md","kind":"component","path":"label","slug":"label","title":"Label"},{"category":"Form Fields","description":"A text input for values in a fixed format, such as phone numbers, that fills in the format as you type.","entryPoint":"masked-text-box","file":"docs/masked-textbox.md","kind":"component","path":"masked-textbox","slug":"masked-textbox","title":"Masked Text Box"},{"category":"Form Fields","description":"A number input with spinner buttons, bounds and decimal formatting.","entryPoint":"numeric-text-box","file":"docs/numeric-textbox.md","kind":"component","path":"numeric-textbox","slug":"numeric-textbox","title":"Numeric Text Box"},{"category":"Form Fields","description":"A segmented input for one-time passwords and verification codes.","entryPoint":"otp-input","file":"docs/otp-input.md","kind":"component","path":"otp-input","slug":"otp-input","title":"OTP Input"},{"category":"Form Fields","description":"Styles a native textarea element and keeps its browser behavior.","entryPoint":"text-area","file":"docs/textarea.md","kind":"component","path":"textarea","slug":"textarea","title":"Text Area"},{"category":"Form Fields","description":"A text input with prefix and suffix slots and an optional clear button.","entryPoint":"text-box","file":"docs/textbox.md","kind":"component","path":"textbox","slug":"textbox","title":"Text Box"},{"category":"Selection","description":"A text input that suggests matching options as the user types.","entryPoint":"auto-complete","file":"docs/auto-complete.md","kind":"component","path":"auto-complete","slug":"auto-complete","title":"Auto Complete"},{"category":"Selection","description":"A checkbox with label handling and an indeterminate state.","entryPoint":"check-box","file":"docs/checkbox.md","kind":"component","path":"checkbox","slug":"checkbox","title":"Checkbox"},{"category":"Selection","description":"A text input that resolves typed text to one item from a collection.","entryPoint":"combo-box","file":"docs/combo-box.md","kind":"component","path":"combo-box","slug":"combo-box","title":"Combo Box"},{"category":"Selection","description":"A closed control that opens a list for choosing exactly one option.","entryPoint":"dropdown-list","file":"docs/dropdown-list.md","kind":"component","path":"dropdown-list","slug":"dropdown-list","title":"Dropdown List"},{"category":"Selection","description":"A closed control that opens a tree for choosing one item from a hierarchy.","entryPoint":"dropdown-tree","file":"docs/dropdown-tree.md","kind":"component","path":"dropdown-tree","slug":"dropdown-tree","title":"Dropdown Tree"},{"category":"Selection","description":"A control that shows selected options as removable tags.","entryPoint":"multi-select","file":"docs/multi-select.md","kind":"component","path":"multi-select","slug":"multi-select","title":"Multi Select"},{"category":"Selection","description":"A control that opens a tree with checkboxes and shows the checked items as removable tags.","entryPoint":"multi-select-tree","file":"docs/multi-select-tree.md","kind":"component","path":"multi-select-tree","slug":"multi-select-tree","title":"Multi Select Tree"},{"category":"Selection","description":"Radio buttons and groups for choosing one option from several.","entryPoint":"radio-button","file":"docs/radio-button.md","kind":"component","path":"radio-button","slug":"radio-button","title":"Radio Button"},{"category":"Selection","description":"A two-handle slider for selecting a numeric interval.","entryPoint":"slider","file":"docs/range-slider.md","kind":"component","path":"range-slider","slug":"range-slider","title":"Range Slider"},{"category":"Selection","description":"Choose a value from a visual scale of icons, in whole or half steps.","entryPoint":"rating","file":"docs/rating.md","kind":"component","path":"rating","slug":"rating","title":"Rating"},{"category":"Selection","description":"A compact set of mutually exclusive options.","entryPoint":"segmented","file":"docs/segmented.md","kind":"component","path":"segmented","slug":"segmented","title":"Segmented"},{"category":"Selection","description":"A single-handle slider for selecting a numeric value.","entryPoint":"slider","file":"docs/slider.md","kind":"component","path":"slider","slug":"slider","title":"Slider"},{"category":"Selection","description":"A binary on and off toggle with optional state labels.","entryPoint":"switch","file":"docs/switch.md","kind":"component","path":"switch","slug":"switch","title":"Switch"},{"category":"Date, Time & Color","description":"Date selection in single, multiple and range modes across month, year and decade views.","entryPoint":"calendar","file":"docs/calendar.md","kind":"component","path":"calendar","slug":"calendar","title":"Calendar"},{"category":"Date, Time & Color","description":"A color editor for saturation, value, hue and alpha.","entryPoint":"color-gradient","file":"docs/color-gradient.md","kind":"component","path":"color-gradient","slug":"color-gradient","title":"Color Gradient"},{"category":"Date, Time & Color","description":"A grid of selectable color swatches from a built-in or custom scheme.","entryPoint":"color-palette","file":"docs/color-palette.md","kind":"component","path":"color-palette","slug":"color-palette","title":"Color Palette"},{"category":"Date, Time & Color","description":"A compact control that opens a color palette or gradient editor.","entryPoint":"color-picker","file":"docs/color-picker.md","kind":"component","path":"color-picker","slug":"color-picker","title":"Color Picker"},{"category":"Date, Time & Color","description":"A date input that opens a calendar popup.","entryPoint":"date-picker","file":"docs/date-picker.md","kind":"component","path":"date-picker","slug":"date-picker","title":"Date Picker"},{"category":"Date, Time & Color","description":"Two date inputs for a range of days, with a calendar popup that shows two months.","entryPoint":"date-range-picker","file":"docs/date-range-picker.md","kind":"component","path":"date-range-picker","slug":"date-range-picker","title":"Date Range Picker"},{"category":"Date, Time & Color","description":"An input for choosing a date and a time together.","entryPoint":"datetime-picker","file":"docs/datetime-picker.md","kind":"component","path":"datetime-picker","slug":"datetime-picker","title":"Date Time Picker"},{"category":"Date, Time & Color","description":"A time input that opens a time selector popup.","entryPoint":"time-picker","file":"docs/time-picker.md","kind":"component","path":"time-picker","slug":"time-picker","title":"Time Picker"},{"category":"Data","description":"Shows a person or entity as an image, text label or projected content, alone or stacked in a group.","entryPoint":"avatar","file":"docs/avatar.md","kind":"component","path":"avatar","slug":"avatar","title":"Avatar"},{"category":"Data","description":"A small filled or outlined label for a count or a status.","entryPoint":"badge","file":"docs/badge.md","kind":"component","path":"badge","slug":"badge","title":"Badge"},{"category":"Data","description":"A compact label that can be selected, removed or given a prefix.","entryPoint":"chip","file":"docs/chip.md","kind":"component","path":"chip","slug":"chip","title":"Chip"},{"category":"Data","description":"A board of columns that cards move between by dragging or with the keyboard, with column limits.","entryPoint":"kanban","file":"docs/kanban.md","kind":"component","path":"kanban","slug":"kanban","title":"Kanban"},{"category":"Data","description":"A selectable list with a toolbar for moving items and transferring them between lists.","entryPoint":"list-box","file":"docs/list-box.md","kind":"component","path":"list-box","slug":"list-box","title":"List Box"},{"category":"Data","description":"Renders a collection as a list, with optional selection, grouping and paging.","entryPoint":"list-view","file":"docs/list-view.md","kind":"component","path":"list-view","slug":"list-view","title":"List View"},{"category":"Data","description":"Pagination controls with page buttons, a page-size selector and a page-jump input.","entryPoint":"pager","file":"docs/pager.md","kind":"component","path":"pager","slug":"pager","title":"Pager"},{"category":"Data","description":"Encodes text or a URL as a scannable QR code, with logo overlays and PNG, SVG and PDF export.","entryPoint":"qr-code","file":"docs/qr-code.md","kind":"component","path":"qr-code","slug":"qr-code","title":"QR Code"},{"category":"Data","description":"Lets users reorder any list by dragging or with the keyboard, and move items between connected lists.","entryPoint":"sortable","file":"docs/sortable.md","kind":"component","path":"sortable","slug":"sortable","title":"Sortable"},{"category":"Data","description":"Dated events along a line, down the page or across it, with cards that can open and close.","entryPoint":"timeline","file":"docs/timeline.md","kind":"component","path":"timeline","slug":"timeline","title":"Timeline"},{"category":"Data","description":"Hierarchical data as an expandable, keyboard-navigable tree.","entryPoint":"tree-view","file":"docs/tree-view.md","kind":"component","path":"tree-view","slug":"tree-view","title":"Tree View"},{"category":"Conversation","description":"A conversation with people or an assistant: message bubbles by day and author, a message box that sends files, and replies that stream in.","entryPoint":"chat","file":"docs/chat.md","kind":"component","path":"chat","slug":"chat","title":"Chat"},{"category":"Grid","description":"Tabular data in typed columns with paging, templates and a toolbar, extended by feature directives.","entryPoint":"grid","file":"docs/grid.md","kind":"component","path":"grid","slug":"grid","title":"Grid Overview"},{"category":"Grid","description":"Sort rows by column headers and filter them from a header menu or a filter row.","entryPoint":"grid","file":"docs/grid-sorting-filtering.md","kind":"component","path":"grid-sorting-filtering","slug":"grid-sorting-filtering","title":"Sorting & Filtering"},{"category":"Grid","description":"Group rows by column values and show sums, averages and other aggregates in footers.","entryPoint":"grid","file":"docs/grid-grouping.md","kind":"component","path":"grid-grouping","slug":"grid-grouping","title":"Grouping & Aggregates"},{"category":"Grid","description":"Show hierarchical rows in a grid, nested or linked by a parent key, with expandable levels.","entryPoint":"grid","file":"docs/grid-tree.md","kind":"component","path":"grid-tree","slug":"grid-tree","title":"Tree List"},{"category":"Grid","description":"Select rows by key with checkboxes, clicks and the keyboard, or a range of cells to copy and paste.","entryPoint":"grid","file":"docs/grid-selection.md","kind":"component","path":"grid-selection","slug":"grid-selection","title":"Selection"},{"category":"Grid","description":"Edit cells or rows inline with Signal Forms, and add, save, cancel and remove rows.","entryPoint":"grid","file":"docs/grid-editing.md","kind":"component","path":"grid-editing","slug":"grid-editing","title":"Editing"},{"category":"Grid","description":"Group, resize, reorder, lock and hide columns, by pointer, keyboard or the column chooser.","entryPoint":"grid","file":"docs/grid-columns.md","kind":"component","path":"grid-columns","slug":"grid-columns","title":"Columns"},{"category":"Grid","description":"Expandable detail rows, row reordering by drag or keyboard, row classes and row sizing.","entryPoint":"grid","file":"docs/grid-rows.md","kind":"component","path":"grid-rows","slug":"grid-rows","title":"Rows"},{"category":"Grid","description":"Load pages from a server, or render only the visible rows of a large data set.","entryPoint":"grid","file":"docs/grid-server.md","kind":"component","path":"grid-server","slug":"grid-server","title":"Server Binding & Virtualization"},{"category":"Grid","description":"Save and restore the grid's columns, sort, filter, groups and page size, and export rows as CSV, Excel or PDF.","entryPoint":"grid","file":"docs/grid-state-export.md","kind":"component","path":"grid-state-export","slug":"grid-state-export","title":"State & Export"},{"category":"Charts","description":"High-performance Canvas charts composed from series, axes and interaction parts.","entryPoint":"chart","file":"docs/chart.md","kind":"component","path":"chart","slug":"chart","title":"Chart Overview"},{"category":"Charts","description":"Line, area and range area series for values that change across a continuous or category axis.","entryPoint":"chart","file":"docs/chart-line-area.md","kind":"component","path":"chart-line-area","slug":"chart-line-area","title":"Line & Area"},{"category":"Charts","description":"Bar, range bar and waterfall series for comparing values, intervals and running totals.","entryPoint":"chart","file":"docs/chart-bar.md","kind":"component","path":"chart-bar","slug":"chart-bar","title":"Bar & Waterfall"},{"category":"Charts","description":"Scatter and bubble series for the relationship between two or three numeric values.","entryPoint":"chart","file":"docs/chart-scatter.md","kind":"component","path":"chart-scatter","slug":"chart-scatter","title":"Scatter & Bubble"},{"category":"Charts","description":"Candlestick and OHLC series for open, high, low and close prices.","entryPoint":"chart","file":"docs/chart-financial.md","kind":"component","path":"chart-financial","slug":"chart-financial","title":"Financial"},{"category":"Charts","description":"A heatmap series that colors a grid of cells by value, with a color legend.","entryPoint":"chart","file":"docs/chart-heatmap.md","kind":"component","path":"chart-heatmap","slug":"chart-heatmap","title":"Heatmap"},{"category":"Charts","description":"Pie and donut series for the parts of a whole, with slice labels and a donut center.","entryPoint":"chart","file":"docs/chart-pie.md","kind":"component","path":"chart-pie","slug":"chart-pie","title":"Pie & Donut"},{"category":"Charts","description":"A funnel series for stages that narrow, with conversion and drop-off between them.","entryPoint":"chart","file":"docs/chart-funnel.md","kind":"component","path":"chart-funnel","slug":"chart-funnel","title":"Funnel"},{"category":"Charts","description":"A treemap series that tiles hierarchical data by value.","entryPoint":"chart","file":"docs/chart-treemap.md","kind":"component","path":"chart-treemap","slug":"chart-treemap","title":"Treemap"},{"category":"Charts","description":"Radar and polar series on angular and radial axes, for comparing metrics or directions.","entryPoint":"chart","file":"docs/chart-radar.md","kind":"component","path":"chart-radar","slug":"chart-radar","title":"Radar & Polar"},{"category":"Charts","description":"Radial bar, rose and gauge series that draw values as arcs around a center.","entryPoint":"chart","file":"docs/chart-radial.md","kind":"component","path":"chart-radial","slug":"chart-radial","title":"Radial"},{"category":"Charts","description":"A word-sized line, area, column or win-loss chart, for a table cell or a line of text.","entryPoint":"sparkline","file":"docs/sparkline.md","kind":"component","path":"sparkline","slug":"sparkline","title":"Sparkline"},{"category":"Navigation","description":"A navigation trail showing where the current page sits in a hierarchy.","entryPoint":"breadcrumb","file":"docs/breadcrumb.md","kind":"component","path":"breadcrumb","slug":"breadcrumb","title":"Breadcrumb"},{"category":"Navigation","description":"A searchable list of actions or options, operated from one input, inline or in a dialog.","entryPoint":"command","file":"docs/command.md","kind":"component","path":"command","slug":"command","title":"Command Menu"},{"category":"Navigation","description":"A popup menu attached to an element, opened by right-click or keyboard.","entryPoint":"contextmenu","file":"docs/contextmenu.md","kind":"component","path":"contextmenu","slug":"contextmenu","title":"Context Menu"},{"category":"Navigation","description":"A persistent horizontal bar of top-level menus.","entryPoint":"menubar","file":"docs/menubar.md","kind":"component","path":"menubar","slug":"menubar","title":"Menubar"},{"category":"Navigation","description":"Opens a menu from an element you already have, such as an icon button or a row action.","entryPoint":"popup-menu","file":"docs/popup-menu.md","kind":"component","path":"popup-menu","slug":"popup-menu","title":"Popup Menu"},{"category":"Navigation","description":"A composable application shell with collapsible side panels.","entryPoint":"sidebar","file":"docs/sidebar.md","kind":"component","path":"sidebar","slug":"sidebar","title":"Sidebar"},{"category":"Navigation","description":"Groups, menus, rows, submenus, badges, actions and loading rows inside a sidebar.","entryPoint":"sidebar","file":"docs/sidebar-menus.md","kind":"component","path":"sidebar/menus","slug":"sidebar-menus","title":"Sidebar Menus"},{"category":"Navigation","description":"Collapsing, controlled and remembered state, the drawer on small screens, and reading a sidebar from code.","entryPoint":"sidebar","file":"docs/sidebar-state.md","kind":"component","path":"sidebar/state","slug":"sidebar-state","title":"Sidebar State & Behavior"},{"category":"Navigation","description":"Guides users through a sequential, multi-step process.","entryPoint":"stepper","file":"docs/stepper.md","kind":"component","path":"stepper","slug":"stepper","title":"Stepper"},{"category":"Navigation","description":"Switches between panels of related content.","entryPoint":"tabs","file":"docs/tabs.md","kind":"component","path":"tabs","slug":"tabs","title":"Tabs"},{"category":"Overlays","description":"Modal or non-modal messages, confirmations and content dialogs.","entryPoint":"dialog","file":"docs/dialog.md","kind":"component","path":"dialog","slug":"dialog","title":"Dialog"},{"category":"Overlays","description":"A floating panel anchored to a target and opened by a configurable trigger.","entryPoint":"popover","file":"docs/popover.md","kind":"component","path":"popover","slug":"popover","title":"Popover"},{"category":"Overlays","description":"Positions arbitrary content relative to an anchor, a point or the viewport.","entryPoint":"popup","file":"docs/popup.md","kind":"component","path":"popup","slug":"popup","title":"Popup"},{"category":"Overlays","description":"A modal panel attached to an edge of the viewport.","entryPoint":"sheet","file":"docs/sheet.md","kind":"component","path":"sheet","slug":"sheet","title":"Sheet"},{"category":"Overlays","description":"A floating tooltip with projected content, anchored to a separate target.","entryPoint":"tooltip","file":"docs/tooltip.md","kind":"component","path":"tooltip","slug":"tooltip","title":"Tooltip"},{"category":"Overlays","description":"Replaces a native title attribute with a styled tooltip.","entryPoint":"tooltip","file":"docs/tooltip-directive.md","kind":"component","path":"tooltip-directive","slug":"tooltip-directive","title":"Tooltip Directive"},{"category":"Overlays","description":"A draggable, resizable floating window that can be minimized and maximized.","entryPoint":"window","file":"docs/window.md","kind":"component","path":"window","slug":"window","title":"Window"},{"category":"Layout","description":"Groups related content and actions on one raised surface.","entryPoint":"card","file":"docs/card.md","kind":"component","path":"card","slug":"card","title":"Card"},{"category":"Layout","description":"A headless disclosure primitive for expandable regions.","entryPoint":"collapsible","file":"docs/collapsible.md","kind":"component","path":"collapsible","slug":"collapsible","title":"Collapsible"},{"category":"Layout","description":"A header that shows and hides its content, designed to stack with other panels.","entryPoint":"expansion-panel","file":"docs/expansion-panel.md","kind":"component","path":"expansion-panel","slug":"expansion-panel","title":"Expansion Panel"},{"category":"Layout","description":"A fixed-size carousel that pages through a collection one item at a time.","entryPoint":"scroll-view","file":"docs/scroll-view.md","kind":"component","path":"scroll-view","slug":"scroll-view","title":"Scroll View"},{"category":"Layout","description":"A thin line between groups of content, across or down, with an optional label.","entryPoint":"separator","file":"docs/separator.md","kind":"component","path":"separator","slug":"separator","title":"Separator"},{"category":"Layout","description":"Lays out panes in a row or column that can be resized and collapsed.","entryPoint":"splitter","file":"docs/splitter.md","kind":"component","path":"splitter","slug":"splitter","title":"Splitter"},{"category":"Feedback","description":"A message that stays on the page, tinted for what it means, with optional actions and dismissal.","entryPoint":"alert","file":"docs/alert.md","kind":"component","path":"alert","slug":"alert","title":"Alert"},{"category":"Feedback","description":"A circular progress indicator with an optional custom label.","entryPoint":"circular-progress-bar","file":"docs/circular-progress-bar.md","kind":"component","path":"circular-progress-bar","slug":"circular-progress-bar","title":"Circular Progress Bar"},{"category":"Feedback","description":"Transient toast notifications with optional auto-dismiss.","entryPoint":"notification","file":"docs/notification.md","kind":"component","path":"notification","slug":"notification","title":"Notification"},{"category":"Feedback","description":"Fills an empty area with a muted label or projected content.","entryPoint":"placeholder","file":"docs/placeholder.md","kind":"component","path":"placeholder","slug":"placeholder","title":"Placeholder"},{"category":"Feedback","description":"A horizontal progress indicator with determinate and indeterminate modes.","entryPoint":"progress-bar","file":"docs/progress-bar.md","kind":"component","path":"progress-bar","slug":"progress-bar","title":"Progress Bar"},{"category":"Feedback","description":"A decorative placeholder block for content that is still loading.","entryPoint":"skeleton","file":"docs/skeleton.md","kind":"component","path":"skeleton","slug":"skeleton","title":"Skeleton"},{"category":"Feedback","description":"An animated loading indicator and a service for loading overlays.","entryPoint":"spinner","file":"docs/spinner.md","kind":"component","path":"spinner","slug":"spinner","title":"Spinner"}],"schemaVersion":1,"version":"0.50.0"}
|