@nanahoshi/mona-ui 0.42.0 → 0.43.1

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.
Files changed (90) hide show
  1. package/README.md +2 -0
  2. package/docs/api/alert.json +1 -0
  3. package/docs/api/auto-complete.json +1 -0
  4. package/docs/api/avatar.json +1 -0
  5. package/docs/api/badge.json +1 -0
  6. package/docs/api/breadcrumb.json +1 -0
  7. package/docs/api/button-group.json +1 -0
  8. package/docs/api/button.json +1 -0
  9. package/docs/api/calendar.json +1 -0
  10. package/docs/api/card.json +1 -0
  11. package/docs/api/chart.json +1 -0
  12. package/docs/api/check-box.json +1 -0
  13. package/docs/api/chip.json +1 -0
  14. package/docs/api/circular-progress-bar.json +1 -0
  15. package/docs/api/collapsible.json +1 -0
  16. package/docs/api/color-gradient.json +1 -0
  17. package/docs/api/color-palette.json +1 -0
  18. package/docs/api/color-picker.json +1 -0
  19. package/docs/api/combo-box.json +1 -0
  20. package/docs/api/command.json +1 -0
  21. package/docs/api/common.json +1 -0
  22. package/docs/api/contextmenu.json +1 -0
  23. package/docs/api/date-input.json +1 -0
  24. package/docs/api/date-picker.json +1 -0
  25. package/docs/api/date-range-picker.json +1 -0
  26. package/docs/api/datetime-picker.json +1 -0
  27. package/docs/api/dialog.json +1 -0
  28. package/docs/api/dropdown-button.json +1 -0
  29. package/docs/api/dropdown-list.json +1 -0
  30. package/docs/api/dropdown-tree.json +1 -0
  31. package/docs/api/dropdowns.json +1 -0
  32. package/docs/api/editor.json +1 -0
  33. package/docs/api/expansion-panel.json +1 -0
  34. package/docs/api/fieldset.json +1 -0
  35. package/docs/api/file-upload.json +1 -0
  36. package/docs/api/filter.json +1 -0
  37. package/docs/api/form-field.json +1 -0
  38. package/docs/api/grid.json +1 -0
  39. package/docs/api/i18n.json +1 -0
  40. package/docs/api/index.json +1 -0
  41. package/docs/api/kanban.json +1 -0
  42. package/docs/api/label.json +1 -0
  43. package/docs/api/list-box.json +1 -0
  44. package/docs/api/list-view.json +1 -0
  45. package/docs/api/list.json +1 -0
  46. package/docs/api/locales.json +1 -0
  47. package/docs/api/masked-text-box.json +1 -0
  48. package/docs/api/menubar.json +1 -0
  49. package/docs/api/multi-select-tree.json +1 -0
  50. package/docs/api/multi-select.json +1 -0
  51. package/docs/api/notification.json +1 -0
  52. package/docs/api/numeric-text-box.json +1 -0
  53. package/docs/api/otp-input.json +1 -0
  54. package/docs/api/pager.json +1 -0
  55. package/docs/api/placeholder.json +1 -0
  56. package/docs/api/popover.json +1 -0
  57. package/docs/api/popup-menu.json +1 -0
  58. package/docs/api/popup.json +1 -0
  59. package/docs/api/progress-bar.json +1 -0
  60. package/docs/api/qr-code.json +1 -0
  61. package/docs/api/query.json +1 -0
  62. package/docs/api/radio-button.json +1 -0
  63. package/docs/api/rating.json +1 -0
  64. package/docs/api/scroll-view.json +1 -0
  65. package/docs/api/segmented.json +1 -0
  66. package/docs/api/separator.json +1 -0
  67. package/docs/api/sheet.json +1 -0
  68. package/docs/api/sidebar.json +1 -0
  69. package/docs/api/skeleton.json +1 -0
  70. package/docs/api/slider.json +1 -0
  71. package/docs/api/sortable.json +1 -0
  72. package/docs/api/sparkline.json +1 -0
  73. package/docs/api/spinner.json +1 -0
  74. package/docs/api/split-button.json +1 -0
  75. package/docs/api/splitter.json +1 -0
  76. package/docs/api/stepper.json +1 -0
  77. package/docs/api/switch.json +1 -0
  78. package/docs/api/tabs.json +1 -0
  79. package/docs/api/text-area.json +1 -0
  80. package/docs/api/text-box.json +1 -0
  81. package/docs/api/theme.json +1 -0
  82. package/docs/api/time-picker.json +1 -0
  83. package/docs/api/time-selector.json +1 -0
  84. package/docs/api/toolbar.json +1 -0
  85. package/docs/api/tooltip.json +1 -0
  86. package/docs/api/tree-view.json +1 -0
  87. package/docs/api/window.json +1 -0
  88. package/docs/installation.md +8 -0
  89. package/docs/manifest.json +1 -0
  90. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"links":{"DropdownGroupableDirective":"dropdowns","DropdownVirtualScrollDirective":"dropdowns","GridGroupableDirective":"grid","GridSelectableDirective":"grid","GridVirtualScrollDirective":"grid","GroupableOptions":"list-view","ListKeySelector":"list","ListViewComponent":"list-view","ListViewFooterTemplateDirective":"list-view","ListViewGroupHeaderTemplateContext":"list-view","ListViewGroupHeaderTemplateDirective":"list-view","ListViewGroupableDirective":"list-view","ListViewHeaderTemplateDirective":"list-view","ListViewItemTemplateContext":"list-view","ListViewItemTemplateDirective":"list-view","ListViewNavigableDirective":"list-view","ListViewNoDataTemplateDirective":"list-view","ListViewPageableDirective":"list-view","ListViewSelectableDirective":"list-view","ListViewVirtualScrollDirective":"list-view","NavigableOptions":"list-view","NavigationMode":"list-view","OrderByOptions":"list-view","PageSizeChangeEvent":"pager","PagerSettings":"list-view","SelectableOptions":"list-view","TreeViewSelectableDirective":"tree-view","VirtualScrollOptions":"list-view"},"name":"list-view","pages":[{"path":"list-view","title":"List View"}],"symbols":[{"description":"","kind":"component","name":"ListViewComponent","selector":"mona-list-view","typeParameters":["T = unknown"],"inputs":[{"alias":"aria-label","defaultValue":"\"\"","description":"Accessible name for the list view's `listbox` element. Describe what the list represents.","name":"ariaLabel","type":"string"},{"alias":"aria-labelledby","defaultValue":"\"\"","description":"Id of the element that names the list view's list, as an alternative to `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":"\"\"","description":"Property name or predicate that marks an item as disabled. Disabled items can't be selected,\nactivated or reached by typeahead.","name":"disabledBy","type":"string | Predicate<T> | null | undefined"},{"defaultValue":"\"100%\"","description":"Sets the height of the list view. With virtual scrolling, the viewport takes this height, so a\npercentage needs a parent with a height; `\"\"` sizes the viewport to its items instead.","name":"height","type":"string | number"},{"defaultValue":"[]","description":"Collection of items to render.","name":"items","type":"Iterable<T>"},{"defaultValue":"\"\"","description":"Sets the classes of the inner UL element.","name":"listClass","type":"string"},{"defaultValue":"\"\"","description":"Sets the classes of the list items.","name":"listItemClass","type":"string"},{"defaultValue":"{}","description":"Sets the style of the list items.","name":"listItemStyle","type":"Partial<CSSStyleDeclaration>"},{"defaultValue":"{}","description":"Sets the style of the list.","name":"listStyle","type":"Partial<CSSStyleDeclaration>"},{"defaultValue":"false","description":"Marks the list as loading: it gets `aria-busy` and a polite \"Loading\" status.","name":"loading","type":"boolean"},{"defaultValue":"\"\"","description":"Sets the maximum height of the list.","name":"maxHeight","type":"string | number"},{"defaultValue":"\"\"","description":"Sets the maximum width of the list.","name":"maxWidth","type":"string | number"},{"defaultValue":"\"\"","description":"Accessible name of the pager. Defaults to \"{name} pagination\" from the list view's `aria-label`,\nso two paged list views on a page have different landmarks.","name":"pagerAriaLabel","type":"string"},{"defaultValue":"\"medium\"","description":"Border-radius preset applied to the component.","name":"rounded","type":"\"large\" | \"medium\" | \"none\" | \"small\""},{"defaultValue":"\"medium\"","description":"Size preset controlling the component's dimensions.","name":"size","type":"\"large\" | \"medium\" | \"small\""},{"defaultValue":"\"\"","description":"Property name or accessor used to derive the display text from a data item.","name":"textField","type":"ListKeySelector<T, string> | undefined"},{"defaultValue":"\"100%\"","description":"Sets the width of the list view.","name":"width","type":"string | number"}],"methods":[],"outputs":[{"description":"Emitted with the data item when the user activates an enabled item by clicking it or pressing\nEnter on it. Fires whether or not the list view is selectable.","name":"itemActivate","type":"T"},{"description":"Emitted once each time the list is scrolled to its end, when the list view isn't paged. Scrolling\naway and back emits again, as does reaching the new end after more items are added.","name":"scrollBottom","type":"Event"}],"properties":[],"page":{"path":"list-view","title":"List View"}},{"description":"","kind":"directive","name":"ListViewPageableDirective","selector":"mona-list-view[monaListViewPageable]","inputs":[{"alias":"monaListViewPageable","defaultValue":"\"\"","description":"Enables pagination. An empty string enables pagination with default settings (`type: \"numeric\"`,\n`previousNext: true`, `pageSize: 10`, `pageSizeValues: [5, 10, 20, 25, 50, 100]`, `visiblePages: 5`); pass an\nobject to override any field. Has no visible effect while `monaListViewVirtualScroll` is enabled — see Pagination\nand virtualization don't combine.","name":"options","type":"Partial<PagerSettings> | \"\""},{"defaultValue":"1","description":"The current page. Supports two-way binding via `[(page)]`; updates when the user navigates the pager and can be set to navigate programmatically.","name":"page","twoWay":true,"type":"number"},{"defaultValue":"undefined","description":"Items per page. Supports two-way binding via `[(pageSize)]`: it updates when the user picks a size\nin the pager. While unset, the options' `pageSize` applies. A new size keeps the first item of the current\npage in view.","name":"pageSize","twoWay":true,"type":"number | undefined"}],"methods":[],"outputs":[{"description":"Emitted when the user picks a page size, before it is applied. Call `preventDefault()` on the\nevent to keep the current size.","name":"pageSizeSelect","type":"PageSizeChangeEvent"}],"properties":[],"page":{"path":"list-view","title":"List View"}},{"description":"","kind":"directive","name":"ListViewSelectableDirective","selector":"mona-list-view[monaListViewSelectable]","typeParameters":["T","K = unknown"],"inputs":[{"alias":"monaListViewSelectable","defaultValue":"\"\"","description":"Enables selection. An empty string enables single selection with default settings; pass an object to\nconfigure `mode` (`\"single\"` or `\"multiple\"`), `toggleable`, and `checkboxes`.","name":"options","type":"Partial<SelectableOptions> | \"\""},{"defaultValue":"\"\"","description":"Property name or accessor used to derive the selection key from a data item. When omitted, the data\nitem itself is used as the key.","name":"selectBy","type":"ListKeySelector<T, K> | undefined"},{"defaultValue":"[]","description":"The selection, expressed as keys rather than items. Bind `[(selectedKeys)]` to keep it in sync.","name":"selectedKeys","type":"Iterable<K>"}],"methods":[],"outputs":[{"description":"Emitted with the selected keys when the user selects or deselects an item. Not emitted for keys set\nthrough `selectedKeys`.","name":"selectedKeysChange","type":"K[]"}],"properties":[],"page":{"path":"list-view","title":"List View"}},{"description":"","kind":"directive","name":"ListViewGroupableDirective","selector":"mona-list-view[monaListViewGroupable]","typeParameters":["T","K = T"],"inputs":[{"defaultValue":"\"\"","description":"Property name or accessor used to derive the group key from a data item.","name":"groupBy","type":"ListKeySelector<T, K> | undefined"},{"alias":"monaListViewGroupable","defaultValue":"\"\"","description":"Enables grouping. An empty string enables grouping with default settings; pass an object to\nconfigure `headerOrder`, `headerText`, `orderBy`, and `orderByDirection`.","name":"options","type":"GroupableOptions<T, K> | \"\""}],"methods":[],"outputs":[],"properties":[],"page":{"path":"list-view","title":"List View"}},{"description":"Template for each item of a list view. The data item is the template's implicit value (`let-item`). Bind the list\nview's items to `monaListViewItemTemplateOf` to type it; without it, the item is `any` in templates.","kind":"directive","name":"ListViewItemTemplateDirective","selector":"ng-template[monaListViewItemTemplate]","templateContext":{"members":[{"description":"The data item (`let-item`), or the group's value (`let-group`).","name":"$implicit","type":"T"}],"type":"ListViewItemTemplateContext<T>"},"typeParameters":["T = any"],"inputs":[{"defaultValue":"null","description":"The list view's items, used only to type the template's item. Optional.","name":"monaListViewItemTemplateOf","type":"Iterable<T> | null | undefined"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"list-view","title":"List View"}},{"description":"","kind":"directive","name":"ListViewNavigableDirective","selector":"mona-list-view[monaListViewNavigable]","typeParameters":["T"],"inputs":[{"alias":"monaListViewNavigable","defaultValue":"\"\"","description":"Configures keyboard navigation, which is on without the directive. An empty string keeps the\ndefaults (`enabled: true`, `mode: \"select\"`, `wrap: false`); pass an object to override any field.","name":"options","type":"Partial<NavigableOptions> | \"\""}],"methods":[],"outputs":[],"properties":[],"page":{"path":"list-view","title":"List View"}},{"description":"","kind":"directive","name":"ListViewVirtualScrollDirective","selector":"mona-list-view[monaListViewVirtualScroll]","typeParameters":["T"],"inputs":[{"alias":"monaListViewVirtualScroll","description":"Enables virtual scrolling. `height` is the fixed row height, in pixels, used to measure the\nviewport; when omitted, a `28`px row height is assumed.","name":"options","required":true,"type":"VirtualScrollOptions"}],"methods":[],"outputs":[],"properties":[],"page":{"path":"list-view","title":"List View"}},{"description":"","kind":"directive","name":"ListViewFooterTemplateDirective","selector":"ng-template[monaListViewFooterTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"list-view","title":"List View"}},{"description":"Template for the header of each group. The group's value is the template's implicit value (`let-group`); see\n`ListViewGroupHeaderTemplateContext`. The context isn't type-checked, so templates written against the value's own\ntype keep compiling.","kind":"directive","name":"ListViewGroupHeaderTemplateDirective","selector":"ng-template[monaListViewGroupHeaderTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"list-view","title":"List View"}},{"description":"","kind":"directive","name":"ListViewHeaderTemplateDirective","selector":"ng-template[monaListViewHeaderTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"list-view","title":"List View"}},{"description":"","kind":"directive","name":"ListViewNoDataTemplateDirective","selector":"ng-template[monaListViewNoDataTemplate]","inputs":[],"methods":[],"outputs":[],"properties":[],"page":{"path":"list-view","title":"List View"}},{"description":"The context of a `monaListViewGroupHeaderTemplate`: the group's value (what `groupBy` returned for its items), as\n`let-group`.","extends":[],"kind":"interface","methods":[],"name":"ListViewGroupHeaderTemplateContext","properties":[{"description":"","name":"$implicit","readonly":true,"type":"G"}],"typeParameters":["G = unknown"],"page":{"path":"list-view","title":"List View"}},{"description":"The context of a `monaListViewItemTemplate`: the data item, as `let-item`.","extends":[],"kind":"interface","methods":[],"name":"ListViewItemTemplateContext","properties":[{"description":"The data item (`let-item`), or the group's value (`let-group`).","name":"$implicit","readonly":true,"type":"T"}],"typeParameters":["T = unknown"],"page":{"path":"list-view","title":"List View"}},{"description":"","extends":[],"kind":"interface","methods":[],"name":"NavigableOptions","properties":[{"description":"Whether keyboard navigation is active.","name":"enabled","type":"boolean"},{"description":"Whether navigation only moves a visual highlight (`\"highlight\"`) or also changes selection (`\"select\"`).","name":"mode","type":"NavigationMode"},{"description":"Whether navigating past the last (or before the first) item cycles to the other end.","name":"wrap","type":"boolean"}],"page":{"path":"list-view","title":"List View"},"usedBy":["ListViewNavigableDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"PagerSettings","properties":[{"description":"Whether the pager is active.","name":"enabled","type":"boolean"},{"description":"Whether first/last page buttons are shown.","name":"firstLast","type":"boolean"},{"description":"Number of items shown per page.","name":"pageSize","type":"number"},{"description":"Page size options shown in the pager, or `false`/`true` to hide/show a default set.","name":"pageSizeValues","type":"number[] | boolean"},{"description":"Whether previous/next page buttons are shown.","name":"previousNext","type":"boolean"},{"description":"Whether a page summary (e.g. \"1-10 of 50\") is shown.","name":"showInfo","type":"boolean"},{"description":"Whether pages are selected via numbered buttons or a page-number input.","name":"type","type":"\"numeric\" | \"input\""},{"description":"Number of numeric page buttons shown at once, when `type` is `\"numeric\"`.","name":"visiblePages","type":"number"}],"page":{"path":"list-view","title":"List View"},"usedBy":["ListViewPageableDirective"]},{"description":"","extends":[],"kind":"interface","methods":[],"name":"VirtualScrollOptions","properties":[{"description":"Whether virtual scrolling is active.","name":"enabled","type":"boolean"},{"description":"Fixed row height, in pixels, used to measure the virtual scroll viewport.","name":"height","optional":true,"type":"number"}],"page":{"path":"list-view","title":"List View"},"usedBy":["DropdownVirtualScrollDirective","GridVirtualScrollDirective","ListViewVirtualScrollDirective"]},{"description":"","kind":"type","name":"GroupableOptions","signature":"type GroupableOptions<T = unknown, R = unknown> = { enabled?: boolean; headerOrder?: \"asc\" | \"desc\"; headerText?: (value: unknown) => string; } & OrderByOptions<T, R>;","page":{"path":"list-view","title":"List View"},"usedBy":["DropdownGroupableDirective","GridGroupableDirective","ListViewGroupableDirective"]},{"description":"Whether arrow keys only highlight an item, or select it as well.","kind":"type","name":"NavigationMode","signature":"type NavigationMode = \"highlight\" | \"select\";","page":{"path":"list-view","title":"List View"},"usedBy":["NavigableOptions"]},{"description":"How the items within each group are ordered. Leave both out to keep their order.","kind":"type","name":"OrderByOptions","signature":"type OrderByOptions<T, R> = | { orderBy?: never; orderByDirection?: never } | { orderBy: string | Selector<T, R>; orderByDirection?: \"asc\" | \"desc\"; };","page":{"path":"list-view","title":"List View"},"usedBy":["GroupableOptions"]},{"description":"","kind":"type","name":"SelectableOptions","signature":"type SelectableOptions = | { checkboxes?: boolean; enabled?: boolean; mode: \"single\"; toggleable?: boolean; } | { checkboxes?: boolean; enabled?: boolean; mode: \"multiple\"; };","page":{"path":"list-view","title":"List View"},"usedBy":["GridSelectableDirective","ListViewSelectableDirective","TreeViewSelectableDirective"]}]}
@@ -0,0 +1 @@
1
+ {"links":{"AutoCompleteComponent":"auto-complete","ComboBoxComponent":"combo-box","DatePickerComponent":"date-picker","DateRangePickerComponent":"date-range-picker","DateTimePickerComponent":"datetime-picker","DropdownGroupableDirective":"dropdowns","DropdownListComponent":"dropdown-list","DropdownListService":"dropdowns","DropdownTreeComponent":"dropdown-tree","GridGroupableDirective":"grid","GridSelectableDirective":"grid","GroupableOptions":"list","LIST_DEFAULT_MESSAGES":"list","ListBoxComponent":"list-box","ListItem":"list","ListKeySelector":"list","ListSizeInputType":"list","ListSizeType":"list","ListViewComponent":"list-view","ListViewGroupableDirective":"list-view","ListViewSelectableDirective":"list-view","MonaListMessages":"i18n","MultiSelectComponent":"multi-select","MultiSelectTreeComponent":"multi-select-tree","NavigableOptions":"list-view","NavigationMode":"list","OrderByOptions":"list","SelectableOptions":"list","SelectionChangeEvent":"list","TimePickerComponent":"time-picker","TreeViewSelectableDirective":"tree-view"},"name":"list","pages":[],"symbols":[{"description":"An item of a list, wrapping its data item.","kind":"class","name":"ListItem","typeParameters":["TData"],"inputs":[],"methods":[],"outputs":[],"properties":[{"description":"","name":"data","readonly":true,"type":"TData"},{"description":"","name":"header","readonly":true,"type":"string"},{"description":"","name":"isHeader","readonly":true,"type":"boolean"},{"description":"","name":"uid","readonly":true,"type":"string"}],"usedBy":["DropdownListService","SelectionChangeEvent"]},{"description":"","kind":"constant","name":"LIST_DEFAULT_MESSAGES","signature":"const LIST_DEFAULT_MESSAGES: MonaListMessages;"},{"description":"","extends":[],"kind":"interface","methods":[],"name":"SelectionChangeEvent","properties":[{"description":"","name":"item","type":"ListItem<T>"},{"description":"","name":"source","type":"SelectionSource"}],"typeParameters":["T"]},{"description":"","kind":"type","name":"GroupableOptions","signature":"type GroupableOptions<T = unknown, R = unknown> = { enabled?: boolean; headerOrder?: \"asc\" | \"desc\"; headerText?: (value: unknown) => string; } & OrderByOptions<T, R>;","usedBy":["DropdownGroupableDirective","GridGroupableDirective","ListViewGroupableDirective"]},{"description":"","kind":"type","name":"ListKeySelector","signature":"type ListKeySelector<T, K = unknown> = string | Selector<T, K> | null;","usedBy":["ListBoxComponent","ListViewComponent","ListViewGroupableDirective","ListViewSelectableDirective"]},{"description":"","kind":"type","name":"ListSizeInputType","signature":"type ListSizeInputType = ListSizeType | number;","usedBy":["AutoCompleteComponent","ComboBoxComponent","DatePickerComponent","DateRangePickerComponent","DateTimePickerComponent","DropdownListComponent","DropdownTreeComponent","MultiSelectComponent","MultiSelectTreeComponent","TimePickerComponent"]},{"description":"A CSS length, or nothing to leave it to the stylesheet.","kind":"type","name":"ListSizeType","signature":"type ListSizeType = string | null | undefined;","usedBy":["ListSizeInputType"]},{"description":"Whether arrow keys only highlight an item, or select it as well.","kind":"type","name":"NavigationMode","signature":"type NavigationMode = \"highlight\" | \"select\";","usedBy":["NavigableOptions"]},{"description":"How the items within each group are ordered. Leave both out to keep their order.","kind":"type","name":"OrderByOptions","signature":"type OrderByOptions<T, R> = | { orderBy?: never; orderByDirection?: never } | { orderBy: string | Selector<T, R>; orderByDirection?: \"asc\" | \"desc\"; };","usedBy":["GroupableOptions"]},{"description":"","kind":"type","name":"SelectableOptions","signature":"type SelectableOptions = | { checkboxes?: boolean; enabled?: boolean; mode: \"single\"; toggleable?: boolean; } | { checkboxes?: boolean; enabled?: boolean; mode: \"multiple\"; };","usedBy":["GridSelectableDirective","ListViewSelectableDirective","TreeViewSelectableDirective"]}]}