@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/breadcrumb.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"links":{"BREADCRUMB_DEFAULT_MESSAGES":"breadcrumb","BreadcrumbComponent":"breadcrumb","BreadcrumbItemComponent":"breadcrumb","BreadcrumbLinkDirective":"breadcrumb","BreadcrumbSeparatorTemplateDirective":"breadcrumb","MonaBreadcrumbMessages":"i18n"},"name":"breadcrumb","pages":[{"path":"breadcrumb","title":"Breadcrumb"}],"symbols":[{"description":"","kind":"component","name":"BreadcrumbComponent","selector":"mona-breadcrumb","inputs":[{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible name for the breadcrumb navigation landmark.\nOverride when multiple breadcrumb components appear on the same page.","name":"ariaLabel","type":"string"},{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the breadcrumb list via `tailwind-merge`.","name":"userClass","type":"string"},{"defaultValue":"false","description":"Renders the entire breadcrumb with reduced visual emphasis and removes pointer interaction from all items.","name":"disabled","type":"boolean"},{"defaultValue":"true","description":"Treats the last item as the current page: not a button, and marked `aria-current=\"page\"`. Turn it off\nfor a trail that ends before the page you're on.","name":"lastItemCurrent","type":"boolean"},{"defaultValue":"null","description":"The most items to show before the middle of the trail collapses behind a button that shows it again.\nThe first and last items always stay, so
|
|
1
|
+
{"links":{"BREADCRUMB_DEFAULT_MESSAGES":"breadcrumb","BreadcrumbComponent":"breadcrumb","BreadcrumbItemComponent":"breadcrumb","BreadcrumbLinkDirective":"breadcrumb","BreadcrumbSeparatorTemplateDirective":"breadcrumb","MonaBreadcrumbMessages":"i18n"},"name":"breadcrumb","pages":[{"path":"breadcrumb","title":"Breadcrumb"}],"symbols":[{"description":"A trail of `mona-breadcrumb-item`s that leads to the current page. When the trail is wider than its box, its middle\nfolds behind a button that shows it again, the items nearest the start first, so the first item and the current page\nstay readable.","kind":"component","name":"BreadcrumbComponent","selector":"mona-breadcrumb","inputs":[{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible name for the breadcrumb navigation landmark.\nOverride when multiple breadcrumb components appear on the same page.","name":"ariaLabel","type":"string"},{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the breadcrumb list via `tailwind-merge`.","name":"userClass","type":"string"},{"defaultValue":"false","description":"Renders the entire breadcrumb with reduced visual emphasis and removes pointer interaction from all items.","name":"disabled","type":"boolean"},{"defaultValue":"true","description":"Treats the last item as the current page: not a button, and marked `aria-current=\"page\"`. Turn it off\nfor a trail that ends before the page you're on.","name":"lastItemCurrent","type":"boolean"},{"defaultValue":"null","description":"The most items to show before the middle of the trail collapses behind a button that shows it again.\nThe trail also folds whatever doesn't fit its width, with or without it. The first and last items always stay, so\nanything below 2 counts as 2. `null` sets no count.","name":"maxItems","type":"number | null"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"breadcrumb","title":"Breadcrumb"}},{"description":"Use as a direct child of `<mona-breadcrumb>`. Project any Angular content — text, icons, or elements — into the\ndefault slot.","kind":"component","name":"BreadcrumbItemComponent","selector":"mona-breadcrumb-item","inputs":[{"defaultValue":"false","description":"Renders this item with reduced visual emphasis and removes pointer interaction.\nHas no visual effect when the parent breadcrumb is also disabled.","name":"disabled","type":"boolean"}],"methods":[],"outputs":[{"description":"Emitted with the click when the item is clicked or activated via keyboard.\nNot emitted when this is the current-page item or when the item is disabled.","name":"itemClick","type":"MouseEvent"}],"properties":[],"page":{"path":"breadcrumb","title":"Breadcrumb"}},{"description":"Makes a projected anchor the item's link, so the browser and the router treat it as one: ctrl-click, copy link, `href`,\n`routerLink`, `target`. The item then renders no button around it.","kind":"directive","name":"BreadcrumbLinkDirective","selector":"a[monaBreadcrumbLink]","inputs":[{"alias":"class","defaultValue":"\"\"","description":"Additional CSS classes merged onto the link via `tailwind-merge`.","name":"userClass","type":"string"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"breadcrumb","title":"Breadcrumb"}},{"description":"Apply to an `<ng-template>` directly inside `<mona-breadcrumb>` to replace the default `ChevronRight` separator. One\ndirective per breadcrumb — the first match is used.","kind":"directive","name":"BreadcrumbSeparatorTemplateDirective","selector":"ng-template[monaBreadcrumbSeparatorTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"breadcrumb","title":"Breadcrumb"}},{"description":"","kind":"constant","name":"BREADCRUMB_DEFAULT_MESSAGES","signature":"const BREADCRUMB_DEFAULT_MESSAGES: MonaBreadcrumbMessages;","page":{"path":"breadcrumb","title":"Breadcrumb"}}]}
|
package/docs/api/breadcrumb.md
CHANGED
|
@@ -8,6 +8,10 @@ Everything `@nanahoshi/mona-ui/breadcrumb` exports.
|
|
|
8
8
|
|
|
9
9
|
Component.
|
|
10
10
|
|
|
11
|
+
A trail of `mona-breadcrumb-item`s that leads to the current page. When the trail is wider than its box, its middle
|
|
12
|
+
folds behind a button that shows it again, the items nearest the start first, so the first item and the current page
|
|
13
|
+
stay readable.
|
|
14
|
+
|
|
11
15
|
**Selector:** `mona-breadcrumb`
|
|
12
16
|
|
|
13
17
|
### Inputs
|
|
@@ -18,7 +22,7 @@ Component.
|
|
|
18
22
|
| `class` | `string` | `""` | Additional CSS classes merged onto the breadcrumb list via `tailwind-merge`. |
|
|
19
23
|
| `disabled` | `boolean` | `false` | Renders the entire breadcrumb with reduced visual emphasis and removes pointer interaction from all items. |
|
|
20
24
|
| `lastItemCurrent` | `boolean` | `true` | Treats the last item as the current page: not a button, and marked `aria-current="page"`. Turn it off for a trail that ends before the page you're on. |
|
|
21
|
-
| `maxItems` | `number \| null` | `null` | The most items to show before the middle of the trail collapses behind a button that shows it again. The first and last items always stay, so anything below 2 counts as 2. `null`
|
|
25
|
+
| `maxItems` | `number \| null` | `null` | The most items to show before the middle of the trail collapses behind a button that shows it again. The trail also folds whatever doesn't fit its width, with or without it. The first and last items always stay, so anything below 2 counts as 2. `null` sets no count. |
|
|
22
26
|
|
|
23
27
|
## `BreadcrumbItemComponent`
|
|
24
28
|
|