@nanahoshi/mona-ui 0.27.1 → 0.27.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/docs/api/auto-complete.md +67 -0
  2. package/docs/api/avatar.md +31 -0
  3. package/docs/api/breadcrumb.md +74 -0
  4. package/docs/api/button-group.md +71 -0
  5. package/docs/api/button.md +84 -0
  6. package/docs/api/calendar.md +123 -0
  7. package/docs/api/card.md +97 -0
  8. package/docs/api/chart.md +4380 -0
  9. package/docs/api/check-box.md +70 -0
  10. package/docs/api/chip.md +55 -0
  11. package/docs/api/circular-progress-bar.md +71 -0
  12. package/docs/api/collapsible.md +71 -0
  13. package/docs/api/color-gradient.md +54 -0
  14. package/docs/api/color-palette.md +52 -0
  15. package/docs/api/color-picker.md +89 -0
  16. package/docs/api/combo-box.md +69 -0
  17. package/docs/api/command.md +282 -0
  18. package/docs/api/common.md +599 -0
  19. package/docs/api/contextmenu.md +239 -0
  20. package/docs/api/date-input.md +119 -0
  21. package/docs/api/date-picker.md +67 -0
  22. package/docs/api/datetime-picker.md +72 -0
  23. package/docs/api/dialog.md +291 -0
  24. package/docs/api/dropdown-button.md +248 -0
  25. package/docs/api/dropdown-list.md +72 -0
  26. package/docs/api/dropdowns.md +172 -0
  27. package/docs/api/editor.md +117 -0
  28. package/docs/api/expansion-panel.md +85 -0
  29. package/docs/api/fieldset.md +33 -0
  30. package/docs/api/filter.md +116 -0
  31. package/docs/api/grid.md +1445 -0
  32. package/docs/api/i18n.md +1699 -0
  33. package/docs/api/label.md +58 -0
  34. package/docs/api/list-box.md +301 -0
  35. package/docs/api/list-view.md +294 -0
  36. package/docs/api/list.md +119 -0
  37. package/docs/api/locales.md +134 -0
  38. package/docs/api/menubar.md +275 -0
  39. package/docs/api/multi-select.md +92 -0
  40. package/docs/api/notification.md +164 -0
  41. package/docs/api/numeric-text-box.md +130 -0
  42. package/docs/api/otp-input.md +100 -0
  43. package/docs/api/pager.md +371 -0
  44. package/docs/api/placeholder.md +18 -0
  45. package/docs/api/popover.md +170 -0
  46. package/docs/api/popup-menu.md +328 -0
  47. package/docs/api/popup.md +299 -0
  48. package/docs/api/progress-bar.md +79 -0
  49. package/docs/api/query.md +367 -0
  50. package/docs/api/radio-button.md +113 -0
  51. package/docs/api/rating.md +187 -0
  52. package/docs/api/scroll-view.md +93 -0
  53. package/docs/api/segmented.md +114 -0
  54. package/docs/api/sheet.md +65 -0
  55. package/docs/api/sidebar.md +583 -0
  56. package/docs/api/skeleton.md +26 -0
  57. package/docs/api/slider.md +173 -0
  58. package/docs/api/spinner.md +132 -0
  59. package/docs/api/split-button.md +261 -0
  60. package/docs/api/splitter.md +57 -0
  61. package/docs/api/stepper.md +148 -0
  62. package/docs/api/switch.md +78 -0
  63. package/docs/api/tabs.md +139 -0
  64. package/docs/api/text-area.md +20 -0
  65. package/docs/api/text-box.md +106 -0
  66. package/docs/api/theme.md +627 -0
  67. package/docs/api/time-picker.md +69 -0
  68. package/docs/api/time-selector.md +54 -0
  69. package/docs/api/tooltip.md +112 -0
  70. package/docs/api/tree-view.md +631 -0
  71. package/docs/api/window.md +245 -0
  72. package/docs/auto-complete.md +28 -329
  73. package/docs/avatar.md +4 -24
  74. package/docs/breadcrumb.md +10 -65
  75. package/docs/button-group.md +7 -60
  76. package/docs/button.md +8 -67
  77. package/docs/calendar.md +16 -121
  78. package/docs/card.md +16 -79
  79. package/docs/chart-bar.md +16 -234
  80. package/docs/chart-financial.md +10 -121
  81. package/docs/chart-funnel.md +13 -176
  82. package/docs/chart-heatmap.md +15 -131
  83. package/docs/chart-line-area.md +12 -137
  84. package/docs/chart-pie.md +17 -221
  85. package/docs/chart-radar.md +13 -129
  86. package/docs/chart-radial.md +13 -211
  87. package/docs/chart-scatter.md +6 -74
  88. package/docs/chart-treemap.md +14 -196
  89. package/docs/chart.md +154 -1892
  90. package/docs/checkbox.md +5 -61
  91. package/docs/chip.md +7 -42
  92. package/docs/circular-progress-bar.md +9 -61
  93. package/docs/collapsible.md +5 -87
  94. package/docs/color-gradient.md +8 -81
  95. package/docs/color-palette.md +7 -69
  96. package/docs/color-picker.md +9 -105
  97. package/docs/combo-box.md +28 -331
  98. package/docs/command.md +25 -236
  99. package/docs/contextmenu.md +15 -140
  100. package/docs/date-picker.md +7 -110
  101. package/docs/datetime-picker.md +7 -129
  102. package/docs/decimal-textbox.md +6 -69
  103. package/docs/dialog.md +23 -263
  104. package/docs/dropdown-button.md +15 -146
  105. package/docs/dropdown-list.md +29 -332
  106. package/docs/editor.md +8 -164
  107. package/docs/expansion-panel.md +7 -69
  108. package/docs/fieldset.md +5 -24
  109. package/docs/grid-columns.md +12 -92
  110. package/docs/grid-editing.md +29 -291
  111. package/docs/grid-grouping.md +11 -50
  112. package/docs/grid-rows.md +10 -74
  113. package/docs/grid-selection.md +7 -36
  114. package/docs/grid-server.md +8 -293
  115. package/docs/grid-sorting-filtering.md +10 -333
  116. package/docs/grid-state-export.md +17 -228
  117. package/docs/grid.md +23 -216
  118. package/docs/input.md +7 -19
  119. package/docs/label.md +8 -39
  120. package/docs/list-box.md +21 -253
  121. package/docs/list-view.md +25 -232
  122. package/docs/menubar.md +21 -167
  123. package/docs/multi-select.md +31 -350
  124. package/docs/notification.md +17 -116
  125. package/docs/numeric-textbox.md +9 -78
  126. package/docs/otp-input.md +9 -95
  127. package/docs/pager.md +19 -239
  128. package/docs/placeholder.md +5 -18
  129. package/docs/popover.md +13 -123
  130. package/docs/popup-menu.md +22 -243
  131. package/docs/popup.md +24 -248
  132. package/docs/progress-bar.md +10 -75
  133. package/docs/radio-button.md +8 -96
  134. package/docs/range-slider.md +9 -82
  135. package/docs/rating.md +15 -163
  136. package/docs/scroll-view.md +9 -86
  137. package/docs/segmented.md +8 -90
  138. package/docs/sheet.md +10 -74
  139. package/docs/sidebar-menus.md +20 -155
  140. package/docs/sidebar-state.md +16 -134
  141. package/docs/sidebar.md +18 -218
  142. package/docs/skeleton.md +5 -26
  143. package/docs/slider.md +9 -97
  144. package/docs/spinner.md +15 -95
  145. package/docs/split-button.md +21 -166
  146. package/docs/splitter.md +9 -56
  147. package/docs/stepper.md +13 -127
  148. package/docs/switch.md +8 -58
  149. package/docs/tabs.md +13 -111
  150. package/docs/textarea.md +4 -13
  151. package/docs/textbox.md +10 -77
  152. package/docs/time-picker.md +7 -112
  153. package/docs/tooltip-directive.md +12 -96
  154. package/docs/tooltip.md +12 -96
  155. package/docs/tree-view.md +42 -495
  156. package/docs/window.md +19 -230
  157. package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +1 -0
  158. package/fesm2022/nanahoshi-mona-ui-common.mjs +3 -0
  159. package/fesm2022/nanahoshi-mona-ui-date-input.mjs +13 -1
  160. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +5 -0
  161. package/fesm2022/nanahoshi-mona-ui-i18n.mjs +9 -0
  162. package/llms.txt +74 -0
  163. package/package.json +1 -1
  164. package/types/nanahoshi-mona-ui-collapsible.d.ts +2 -0
  165. package/types/nanahoshi-mona-ui-common.d.ts +6 -0
  166. package/types/nanahoshi-mona-ui-date-input.d.ts +18 -1
  167. package/types/nanahoshi-mona-ui-dropdowns.d.ts +6 -0
  168. package/types/nanahoshi-mona-ui-i18n.d.ts +12 -0
package/docs/window.md CHANGED
@@ -425,239 +425,28 @@ A window without a `title`, a title template or an `aria-label` (`ariaLabel` in
425
425
 
426
426
  ## API
427
427
 
428
- Everything below is imported from `@nanahoshi/mona-ui/window`.
428
+ Everything below is imported from `@nanahoshi/mona-ui/window`. Each name links to its reference page, with every input, output, property and method.
429
429
 
430
- ### `WindowComponent`
431
-
432
- **Selector:** `mona-window`
433
-
434
- #### Inputs
435
-
436
- | Name | Type | Default | Description |
437
- | --- | --- | --- | --- |
438
- | `aria-label` | `string \| undefined` | `undefined` | Accessible name for the window when it has no `title` or title template. |
439
- | `closable` | `boolean` | `true` | Sets the visibility of the close button in the window header. |
440
- | `closeOnEscape` | `boolean` | `true` | Sets whether the window should close when the escape key is pressed. |
441
- | `draggable` | `boolean` | `true` | Sets whether the window can be dragged by the user. |
442
- | `focusedElement` | `HTMLElement \| ElementRef<HTMLElement> \| string \| null` | — | Sets the element that should receive focus when the window is opened. Accepts an element reference or a query selector string. |
443
- | `height` (two-way) | `number` | — | Sets the height of the window. |
444
- | `left` (two-way) | `number` | — | Sets the left position of the window. |
445
- | `look` | `"default" \| "primary"` | `"default"` | Sets the look of the window. |
446
- | `maxHeight` | `number` | — | Sets the maximum height of the window. |
447
- | `maximizable` | `boolean` | `true` | Sets whether the user can maximize the window. |
448
- | `maxWidth` | `number` | — | Sets the maximum width of the window. |
449
- | `messages` | `Partial<WindowMessages>` | — | Internationalization message overrides for accessible labels. |
450
- | `minHeight` | `number` | — | Sets the minimum height of the window. |
451
- | `minimizable` | `boolean` | `true` | Sets whether the user can minimize the window. |
452
- | `minWidth` | `number` | — | Sets the minimum width of the window. |
453
- | `modal` | `boolean` | `false` | Sets whether the window should have an overlay behind it. |
454
- | `resizable` | `boolean` | `false` | Sets whether the user can resize the window. |
455
- | `rounded` | `"large" \| "medium" \| "none" \| "small"` | `"medium"` | Sets the border radius of the window. |
456
- | `title` | `string` | — | Sets the title of the window. |
457
- | `top` (two-way) | `number` | — | Sets the top position of the window. |
458
- | `width` (two-way) | `number` | — | Sets the width of the window. |
459
-
460
- #### Outputs
461
-
462
- | Name | Type | Description |
463
- | --- | --- | --- |
464
- | `close` | `PopupCloseEvent<unknown>` | Emits before the window closes, whatever closes it: the close button, Escape, a programmatic close, or the component being destroyed. Call `preventDefault()` to keep it open (a close caused by destruction can't be kept). |
465
- | `closed` | `void` | Emitted after the window has fully closed (post-animation). Preventing this event has no effect. |
466
- | `dragEnd` | `void` | Emits when the window dragging ends. |
467
- | `dragStart` | `void` | Emits when the window dragging starts. |
468
- | `heightChange` | `number` | Emitted when `height` changes. |
469
- | `leftChange` | `number` | Emitted when `left` changes. |
470
- | `topChange` | `number` | Emitted when `top` changes. |
471
- | `widthChange` | `number` | Emitted when `width` changes. |
472
-
473
- #### Methods
474
-
475
- | Signature | Description |
476
- | --- | --- |
477
- | `closeWindow(): void` | Closes the window. |
478
- | `move(position: { top?: number; left?: number }): void` | Moves the window, in pixels. An axis that isn't given keeps its place. |
479
- | `openWindow(): void` | Opens the window. Called once after the first render; call it again to reopen a window that was closed. Does nothing while the window is open. |
480
- | `resize(dimensions: { width?: number; height?: number }): void` | Resizes the window, in pixels. A dimension that isn't given keeps its size. |
481
-
482
- ### `WindowActionTemplateDirective`
483
-
484
- **Selector:** `ng-template[monaWindowActionTemplate]`
485
-
486
- ### `WindowContentTemplateDirective`
487
-
488
- **Selector:** `ng-template[monaWindowContentTemplate]`
489
-
490
- ### `WindowFooterTemplateDirective`
491
-
492
- **Selector:** `ng-template[monaWindowFooterTemplate]`
493
-
494
- ### `WindowTitleTemplateDirective`
495
-
496
- **Selector:** `ng-template[monaWindowTitleTemplate]`
497
-
498
- ### `WindowService`
499
-
500
- #### Methods
501
-
502
- | Signature | Description |
503
- | --- | --- |
504
- | `open<R = unknown, D = unknown>(settings: WindowSettings<D>): WindowRef<R>` | Opens a window. |
505
-
506
- ### `WindowRef`
507
-
508
- A handle on an open window.
509
-
510
- **Type parameters:** `R = unknown`
511
-
512
- #### Properties
513
-
514
- | Name | Type | Description |
430
+ | Name | Kind | Description |
515
431
  | --- | --- | --- |
516
- | `close$` (read-only) | `Observable<PopupCloseEvent<R>>` | Emits before the window closes, whatever closes it. Call `preventDefault()` to keep it open. Completes once the window has closed. |
517
- | `closed$` (read-only) | `Observable<WindowResult<R>>` | Emits how the window closed, once it has closed, then completes. Replays to late subscribers. |
518
- | `component` (read-only) | `ComponentRef<unknown> \| null` | The hosted component, when `content` is a component rather than a `TemplateRef`. |
519
- | `drag$` (read-only) | `Observable<MoveEvent>` | Emits while the window is dragged. Completes when it closes. |
520
- | `dragEnd$` (read-only) | `Observable<void>` | Emits when a drag ends. Completes when the window closes. |
521
- | `dragStart$` (read-only) | `Observable<void>` | Emits when a drag starts. Completes when the window closes. |
522
- | `element` (read-only) | `HTMLElement` | The window's overlay element. |
523
- | `height` (read-only) | `number` | The window's current rendered height, in pixels. |
524
- | `popupRef` (read-only) | `PopupRef` | The underlying `PopupRef`, for advanced overlay access. |
525
- | `resize$` (read-only) | `Observable<ResizeEvent>` | Emits while the window is resized by the user. Completes when it closes. |
526
- | `width` (read-only) | `number` | The window's current rendered width, in pixels. |
527
-
528
- #### Methods
529
-
530
- | Signature | Description |
531
- | --- | --- |
532
- | `center(): void` | Centers the window in the viewport. It stays centered as its size changes, until it is moved. |
533
- | `close(result?: R): void` | Closes the window. `close$` can still prevent it. |
534
- | `closeWithDelay(delay: number, result?: R): void` | Closes the window after the given delay, in milliseconds. |
535
- | `move(params: { top?: number; left?: number }): void` | Moves the window, in pixels from the viewport's top-left corner. An axis that isn't given keeps its place. |
536
- | `resize(params: { width?: number; height?: number; center?: boolean }): void` | Resizes the window, in pixels. A dimension that isn't given keeps its size; `center` centers the window afterward. |
432
+ | [`WindowComponent`](api/window.md#windowcomponent) | Component | |
433
+ | [`WindowActionTemplateDirective`](api/window.md#windowactiontemplatedirective) | Directive | |
434
+ | [`WindowContentTemplateDirective`](api/window.md#windowcontenttemplatedirective) | Directive | |
435
+ | [`WindowFooterTemplateDirective`](api/window.md#windowfootertemplatedirective) | Directive | |
436
+ | [`WindowTitleTemplateDirective`](api/window.md#windowtitletemplatedirective) | Directive | |
437
+ | [`WindowService`](api/window.md#windowservice) | Service | |
438
+ | [`WindowRef`](api/window.md#windowref) | Class | A handle on an open window. |
537
439
 
538
440
  ### Types
539
441
 
540
- #### `WINDOW_DATA`
541
-
542
- The `data` a window was opened with, for a component given as its `content`.
543
-
544
- ```typescript
545
- const WINDOW_DATA: InjectionToken<unknown>;
546
- ```
547
-
548
- #### `WINDOW_DEFAULT_MESSAGES`
549
-
550
- ```typescript
551
- const WINDOW_DEFAULT_MESSAGES: MonaWindowMessages;
552
- ```
553
-
554
- #### `MoveEvent`
555
-
556
- | Name | Type |
557
- | --- | --- |
558
- | `left` | `number` |
559
- | `top` | `number` |
560
-
561
- #### `ResizeEvent`
562
-
563
- | Name | Type |
564
- | --- | --- |
565
- | `height` | `number` |
566
- | `left` | `number` |
567
- | `top` | `number` |
568
- | `width` | `number` |
569
-
570
- #### `WindowActionTemplateContext`
571
-
572
- | Name | Type | Description |
573
- | --- | --- | --- |
574
- | `$implicit` | `WindowRef` | The window's own `WindowRef`, exposed to a `monaWindowActionTemplate` via `let-windowRef`. |
575
-
576
- #### `WindowResult`
577
-
578
- How a window closed, emitted once by `WindowRef.closed$`.
579
-
580
- **Type parameters:** `R = unknown`
581
-
582
- | Name | Type | Description |
583
- | --- | --- | --- |
584
- | `value` (read-only) | `R \| undefined` | The value passed to `close(value)`; `undefined` for the close button, Escape and the host being destroyed. |
585
- | `via` (read-only) | `PopupCloseSource` | What closed the window: the close button, Escape, or a programmatic close. |
586
-
587
- #### `WindowSettings`
588
-
589
- **Type parameters:** `D = unknown`
590
-
591
- | Name | Type | Description |
592
- | --- | --- | --- |
593
- | `actionTemplate?` | `TemplateRef<WindowActionTemplateContext>` | Template rendered next to the minimize/maximize/close buttons. |
594
- | `ariaLabel?` | `string` | Accessible name for a window without a `title`. |
595
- | `closable?` | `boolean` | Whether the title bar shows a close button. |
596
- | `closeOnEscape?` | `boolean` | Whether pressing Escape closes the window. |
597
- | `content?` | `TemplateRef<unknown> \| Type<unknown>` | The window's content — a template reference or a component class. |
598
- | `data?` | `D` | Data for the content: a component injects it with `WINDOW_DATA`, a template gets it as its implicit context (`let-data`). |
599
- | `draggable?` | `boolean` | Whether the user can move the window by its title bar. Unlike the `WindowComponent` input, this defaults to `false`. |
600
- | `focusedElement?` | `HTMLElement \| ElementRef<HTMLElement> \| string \| null` | The element that receives focus when the window opens: an element, an element reference, or a CSS selector matched inside the window. |
601
- | `footerTemplate?` | `TemplateRef<unknown>` | Template rendered in the window's footer area. |
602
- | `height?` | `number` | Height in pixels. When omitted, the window fits its content. |
603
- | `injector?` | `Injector` | Parent injector for the window's content. Pass the opener's injector so a component given as `content` can inject what the opener provides. Default: the root injector. |
604
- | `left?` | `number` | Distance from the viewport's left edge in pixels. When omitted, the window is centered horizontally. |
605
- | `look?` | `"default" \| "primary"` | The title bar's color scheme. |
606
- | `maxHeight?` | `number` | Maximum height in pixels, also the limit for resizing. When omitted, the viewport's height is the limit. |
607
- | `maximizable?` | `boolean` | Whether the title bar shows a maximize button. |
608
- | `maxWidth?` | `number` | Maximum width in pixels, also the limit for resizing. When omitted, the viewport's width is the limit. |
609
- | `messages?` | `Partial<WindowMessages>` | Overrides for the window's messages, such as the title bar button labels. |
610
- | `minHeight?` | `number` | Minimum height in pixels. Resizing stops at it, or at 50 pixels when omitted. |
611
- | `minimizable?` | `boolean` | Whether the title bar shows a minimize button. |
612
- | `minWidth?` | `number` | Minimum width in pixels. Resizing stops at it, or at 50 pixels when omitted. |
613
- | `modal?` | `boolean` | Whether the window is modal: a backdrop, `aria-modal="true"`, focus kept inside, page scroll locked, and the rest of the page inert. |
614
- | `preventClose?` | `Action<PopupCloseEvent, boolean>` | Return `true` to cancel a close. See `preventClose` is service-only. |
615
- | `resizable?` | `boolean` | Whether the user can resize the window by its edges and corners, or from the title bar with the keyboard. |
616
- | `rounded?` | `"large" \| "medium" \| "none" \| "small"` | Border-radius preset for the window. |
617
- | `title?` | `string \| TemplateRef<unknown>` | The window's title — a plain string or a template reference. |
618
- | `top?` | `number` | Distance from the viewport's top edge in pixels. When omitted, the window is centered vertically. |
619
- | `width?` | `number` | Width in pixels. When omitted, the window fits its content. |
620
- | `windowClass?` | `string \| string[]` | Class(es) applied to the window's overlay element. |
621
-
622
- #### `Action`
623
-
624
- From `@nanahoshi/mona-ui/common`.
625
-
626
- A function taking a `P` and returning an `R`.
627
-
628
- ```typescript
629
- type Action<P = void, R = void> = (arg: P) => R;
630
- ```
631
-
632
- #### `MonaWindowMessages`
633
-
634
- From `@nanahoshi/mona-ui/i18n`.
635
-
636
- | Name | Type | Description |
442
+ | Type | Kind | Description |
637
443
  | --- | --- | --- |
638
- | `close` (read-only) | `string` | The close button's tooltip. |
639
- | `closeWindow` (read-only) | `string` | The close button's accessible name. |
640
- | `maximize` (read-only) | `string` | The maximize button's tooltip and accessible name while the window isn't maximized. |
641
- | `minimize` (read-only) | `string` | The minimize button's tooltip and accessible name while the window isn't minimized. |
642
- | `moveOrResizeWindow` (read-only) | `string` | The title bar's name when the window can be both dragged and resized; it says which keys do each. |
643
- | `moveWindow` (read-only) | `string` | The title bar's name when the window can be dragged but not resized. |
644
- | `resizeBottom` (read-only) | `string` | **Deprecated.** No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. |
645
- | `resizeBottomLeft` (read-only) | `string` | **Deprecated.** No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. |
646
- | `resizeBottomRight` (read-only) | `string` | **Deprecated.** No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. |
647
- | `resizeLeft` (read-only) | `string` | **Deprecated.** No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. |
648
- | `resizeRight` (read-only) | `string` | **Deprecated.** No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. |
649
- | `resizeTop` (read-only) | `string` | **Deprecated.** No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. |
650
- | `resizeTopLeft` (read-only) | `string` | **Deprecated.** No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. |
651
- | `resizeTopRight` (read-only) | `string` | **Deprecated.** No longer rendered; resize handles are for the pointer, and the title bar resizes with the keyboard. |
652
- | `resizeWindow` (read-only) | `string` | The title bar's name when the window can be resized but not dragged. |
653
- | `restore` (read-only) | `string` | The tooltip and accessible name of the minimize or maximize button while it would restore the window. |
654
-
655
- #### `WindowMessages`
656
-
657
- From `@nanahoshi/mona-ui/i18n`.
658
-
659
- ```typescript
660
- type WindowMessages = MonaWindowMessages;
661
- ```
662
-
663
- **Documented elsewhere:** [`PopupCloseEvent`](popup.md), [`PopupCloseSource`](popup.md), [`PopupRef`](popup.md)
444
+ | [`WINDOW_DATA`](api/window.md#window-data) | Constant | The `data` a window was opened with, for a component given as its `content`. |
445
+ | [`WINDOW_DEFAULT_MESSAGES`](api/window.md#window-default-messages) | Constant | |
446
+ | [`MoveEvent`](api/window.md#moveevent) | Interface | |
447
+ | [`ResizeEvent`](api/window.md#resizeevent) | Interface | |
448
+ | [`WindowActionTemplateContext`](api/window.md#windowactiontemplatecontext) | Interface | |
449
+ | [`WindowResult`](api/window.md#windowresult) | Interface | How a window closed, emitted once by `WindowRef.closed$`. |
450
+ | [`WindowSettings`](api/window.md#windowsettings) | Interface | |
451
+
452
+ **Related types:** [`Action`](api/common.md#action), [`MonaWindowMessages`](api/i18n.md#monawindowmessages), [`PopupCloseEvent`](api/popup.md#popupcloseevent), [`PopupCloseSource`](api/popup.md#popupclosesource), [`PopupRef`](api/popup.md#popupref), [`WindowMessages`](api/i18n.md#windowmessages)
@@ -2,6 +2,7 @@ import * as i0 from '@angular/core';
2
2
  import { InjectionToken, signal, computed, input, booleanAttribute, model, forwardRef, Directive, inject, ElementRef, DestroyRef, afterNextRender, effect, untracked } from '@angular/core';
3
3
  import { createElementControlId } from '@nanahoshi/mona-ui/internal';
4
4
 
5
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
5
6
  const COLLAPSIBLE_CONFIG = new InjectionToken("COLLAPSIBLE_CONFIG");
6
7
 
7
8
  /**
@@ -39,6 +39,7 @@ class FilterChangeEvent extends PreventableEvent {
39
39
  }
40
40
  }
41
41
 
42
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
42
43
  class AnyPipe {
43
44
  transform(sequence, predicate) {
44
45
  if (sequence == null) {
@@ -104,6 +105,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
104
105
  }]
105
106
  }] });
106
107
 
108
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
107
109
  class TakeFirstPipe {
108
110
  transform(value) {
109
111
  if (value == null) {
@@ -733,6 +735,7 @@ const getPercentage = (value, min, max, precision = 2) => {
733
735
  * @param max The maximum value.
734
736
  * @returns The range and the value within it, or `null` when the range itself is invalid, because `min` or `max` isn't
735
737
  * finite or `max` isn't above `min`.
738
+ * @hidden Exported for Mona UI's other entry points; applications don't need it.
736
739
  */
737
740
  const normalizeProgressRange = (value, min, max) => {
738
741
  if (!Number.isFinite(min) || !Number.isFinite(max) || max <= min) {
@@ -18,6 +18,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
18
18
  }]
19
19
  }] });
20
20
 
21
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
21
22
  class TimeLimiterPipe {
22
23
  transform(timeValues, type, currentDate, min, max) {
23
24
  if (!min && !max) {
@@ -49,6 +50,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
49
50
  }]
50
51
  }] });
51
52
 
53
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
52
54
  const datePopupThemeVariants = cva(`
53
55
  h-full overflow-auto
54
56
  [scrollbar-color:var(--color-scrollbar-thumb)_var(--color-scrollbar-track)] [scrollbar-width:thin]
@@ -81,6 +83,7 @@ const datePopupThemeVariants = cva(`
81
83
  }
82
84
  });
83
85
 
86
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
84
87
  class CalendarService {
85
88
  constructor() {
86
89
  this.keydown$ = new Subject();
@@ -92,6 +95,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
92
95
  type: Injectable
93
96
  }] });
94
97
 
98
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
95
99
  class TimeSelectorService {
96
100
  constructor() {
97
101
  this.keydown$ = new Subject();
@@ -103,6 +107,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
103
107
  type: Injectable
104
108
  }] });
105
109
 
110
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
106
111
  const generateHourSet = (hourFormat, meridiem, step = 1) => {
107
112
  if (hourFormat === "24") {
108
113
  return select(sequence(0, 23, step), h => ({ value: h, viewValue: h })).toImmutableSet();
@@ -116,9 +121,11 @@ const generateHourSet = (hourFormat, meridiem, step = 1) => {
116
121
  .prepend({ value: 12, viewValue: 12 })
117
122
  .toImmutableSet();
118
123
  };
124
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
119
125
  const generateMinuteSet = (step = 1) => {
120
126
  return select(sequence(0, 59, step), m => ({ value: m, viewValue: m })).toImmutableSet();
121
127
  };
128
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
122
129
  const generateSecondSet = (step = 1) => {
123
130
  return select(sequence(0, 59, step), s => ({ value: s, viewValue: s })).toImmutableSet();
124
131
  };
@@ -126,6 +133,7 @@ const generateSecondSet = (step = 1) => {
126
133
  /**
127
134
  * The clock a locale uses by default: "12" for en-US, ja-JP and ko-KR, "24" for de-DE, fr-FR and tr-TR. Locales that
128
135
  * mark the hour cycle explicitly (`en-US-u-hc-h23`) are honoured.
136
+ * @hidden Exported for Mona UI's other entry points; applications don't need it.
129
137
  */
130
138
  function getLocaleHourFormat(localeId) {
131
139
  try {
@@ -188,7 +196,10 @@ function parseTypedDate(text, format, localeId) {
188
196
  }
189
197
  return null;
190
198
  }
191
- /** Whether a date is one of `disabledDates`, compared by day. */
199
+ /**
200
+ * Whether a date is one of `disabledDates`, compared by day.
201
+ * @hidden Exported for Mona UI's other entry points; applications don't need it.
202
+ */
192
203
  function isDateDisabled(date, disabledDates) {
193
204
  if (!disabledDates) {
194
205
  return false;
@@ -238,6 +249,7 @@ function typedDateParseError() {
238
249
  /**
239
250
  * The typed-input pipeline of the date, time and date-time pickers. Call it in an injection context: the errors are
240
251
  * reported to the form field (signal forms, `ngModel` or a reactive form control) bound to the picker.
252
+ * @hidden Exported for Mona UI's other entry points; applications don't need it.
241
253
  */
242
254
  function createTypedDateInput(options) {
243
255
  const { constraints, format, localeId, resolve, value } = options;
@@ -11,6 +11,7 @@ import { LiveAnnouncer } from '@angular/cdk/a11y';
11
11
  import { formatNumber, MonaI18nService } from '@nanahoshi/mona-ui/i18n';
12
12
  import { cva } from 'class-variance-authority';
13
13
 
14
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
14
15
  const DROPDOWN_DATA_INPUT_TOKEN = new InjectionToken("DROPDOWN_DATA_INPUT");
15
16
  /**
16
17
  * @deprecated Use {@link DROPDOWN_DATA_INPUT_TOKEN}.
@@ -18,6 +19,7 @@ const DROPDOWN_DATA_INPUT_TOKEN = new InjectionToken("DROPDOWN_DATA_INPUT");
18
19
  // eslint-disable-next-line @typescript-eslint/naming-convention -- kept so existing imports keep working
19
20
  const DropdownDataInputToken = DROPDOWN_DATA_INPUT_TOKEN;
20
21
 
22
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
21
23
  const DROPDOWN_POPUP_INPUT_TOKEN = new InjectionToken("DROPDOWN_POPUP_INPUT");
22
24
 
23
25
  class DropdownFilterableDirective {
@@ -395,6 +397,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
395
397
  type: Injectable
396
398
  }] });
397
399
 
400
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
398
401
  class DropdownPopupHandlerDirective {
399
402
  #destroyRef = inject(DestroyRef);
400
403
  #document = inject(DOCUMENT);
@@ -683,6 +686,7 @@ const DROPDOWNS_DEFAULT_MESSAGES = {
683
686
  * The announcement goes through the CDK `LiveAnnouncer`, whose live region lives at the end of the document, so it
684
687
  * never becomes part of the combobox's content. The highlighted option isn't announced here:
685
688
  * `aria-activedescendant` already does that.
689
+ * @hidden Exported for Mona UI's other entry points; applications don't need it.
686
690
  */
687
691
  class DropdownLiveRegionDirective {
688
692
  #dropdownService = inject(DropdownService);
@@ -750,6 +754,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
750
754
  }]
751
755
  }] });
752
756
 
757
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
753
758
  const dropdownPopupThemeVariants = cva(`
754
759
  h-full max-h-64 overflow-auto
755
760
  [scrollbar-color:var(--color-scrollbar-thumb)_var(--color-scrollbar-track)] [scrollbar-width:thin]
@@ -76,6 +76,7 @@ function mergeTwo(base, source) {
76
76
  }
77
77
  return result;
78
78
  }
79
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
79
80
  function mergeMessages(fallback, localeMessages, overrideMessages) {
80
81
  const withLocale = mergeTwo(fallback, localeMessages);
81
82
  return mergeTwo(withLocale, overrideMessages);
@@ -292,6 +293,7 @@ function findNearestValidDirState(element) {
292
293
  }
293
294
  return null;
294
295
  }
296
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
295
297
  function resolveComponentDirection(hostElement, directionality) {
296
298
  const element = hostElement instanceof ElementRef ? hostElement.nativeElement : hostElement;
297
299
  // 1. Connected browser semantic direction (:dir(rtl) / :dir(ltr))
@@ -457,6 +459,7 @@ function findAutoRoot(element) {
457
459
  }
458
460
  return null;
459
461
  }
462
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
460
463
  function observeComponentDirection(hostElement, directionality, onChange) {
461
464
  const element = hostElement instanceof ElementRef ? hostElement.nativeElement : hostElement;
462
465
  const canObserve = typeof MutationObserver !== "undefined" && !!element;
@@ -688,6 +691,7 @@ function getNumberGroupingPattern(locale) {
688
691
  }
689
692
  return pattern;
690
693
  }
694
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
691
695
  function getNumberSymbols(locale) {
692
696
  const localeId = canonicalizeLocaleId(locale);
693
697
  let symbols = numberSymbolsCache.get(localeId);
@@ -731,6 +735,7 @@ function getNumberSymbols(locale) {
731
735
  }
732
736
  return symbols;
733
737
  }
738
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
734
739
  function getNumberFormatter(locale, options) {
735
740
  const cleanLocale = canonicalizeLocaleId(locale);
736
741
  const key = `${cleanLocale}:${serializeOptions(options)}`;
@@ -1071,6 +1076,7 @@ function parseLocalizedNumberParts(text, localeId, options) {
1071
1076
  return { fraction: fracPart, integer: intPart.length > 0 ? intPart : "0", negative: sign === "-" };
1072
1077
  }
1073
1078
  }
1079
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
1074
1080
  function validateLocalizedNumber(text, localeId, options) {
1075
1081
  if (text == null) {
1076
1082
  return { value: null, valid: true, fractionDigits: 0 };
@@ -1170,6 +1176,7 @@ function validateLocalizedDecimal(text, localeId, options) {
1170
1176
  return { fractionDigits, valid: true, value };
1171
1177
  }
1172
1178
  const EDIT_SYNTAX_ERROR = { complete: false, reason: "syntax", valid: false, value: null };
1179
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
1173
1180
  function validateLocalizedNumberEdit(text, localeId, options) {
1174
1181
  return validateEditInput(text, localeId, options, partsToNumber);
1175
1182
  }
@@ -1300,6 +1307,7 @@ function normalizeGregorianLocale(localeId) {
1300
1307
  /**
1301
1308
  * Creates a Luxon DateTime from a Date instance, reconfigured to the specified locale
1302
1309
  * with an explicit Gregorian output calendar.
1310
+ * @hidden Exported for Mona UI's other entry points; applications don't need it.
1303
1311
  */
1304
1312
  function gregorianDateTime(date, localeId) {
1305
1313
  const locale = normalizeGregorianLocale(localeId);
@@ -1311,6 +1319,7 @@ function gregorianDateTime(date, localeId) {
1311
1319
  /**
1312
1320
  * Creates a Luxon DateTime from object components (year, month, etc.), reconfigured to the
1313
1321
  * specified locale with an explicit Gregorian output calendar.
1322
+ * @hidden Exported for Mona UI's other entry points; applications don't need it.
1314
1323
  */
1315
1324
  function gregorianDateTimeFromObject(obj, localeId) {
1316
1325
  const locale = normalizeGregorianLocale(localeId);
package/llms.txt CHANGED
@@ -144,3 +144,77 @@ Mona UI is an Angular component library styled with Tailwind CSS 4. Its componen
144
144
  - [Progress Bar](docs/progress-bar.md): A horizontal progress indicator with determinate and indeterminate modes.
145
145
  - [Skeleton](docs/skeleton.md): A decorative placeholder block for content that is still loading.
146
146
  - [Spinner](docs/spinner.md): An animated loading indicator and a service for loading overlays.
147
+
148
+ ## API Reference
149
+
150
+ - [`@nanahoshi/mona-ui/auto-complete`](docs/api/auto-complete.md): 2 exports, in full.
151
+ - [`@nanahoshi/mona-ui/avatar`](docs/api/avatar.md): 1 export, in full.
152
+ - [`@nanahoshi/mona-ui/breadcrumb`](docs/api/breadcrumb.md): 5 exports, in full.
153
+ - [`@nanahoshi/mona-ui/button`](docs/api/button.md): 4 exports, in full.
154
+ - [`@nanahoshi/mona-ui/button-group`](docs/api/button-group.md): 3 exports, in full.
155
+ - [`@nanahoshi/mona-ui/calendar`](docs/api/calendar.md): 10 exports, in full.
156
+ - [`@nanahoshi/mona-ui/card`](docs/api/card.md): 9 exports, in full.
157
+ - [`@nanahoshi/mona-ui/chart`](docs/api/chart.md): 226 exports, in full.
158
+ - [`@nanahoshi/mona-ui/check-box`](docs/api/check-box.md): 2 exports, in full.
159
+ - [`@nanahoshi/mona-ui/chip`](docs/api/chip.md): 3 exports, in full.
160
+ - [`@nanahoshi/mona-ui/circular-progress-bar`](docs/api/circular-progress-bar.md): 4 exports, in full.
161
+ - [`@nanahoshi/mona-ui/collapsible`](docs/api/collapsible.md): 3 exports, in full.
162
+ - [`@nanahoshi/mona-ui/color-gradient`](docs/api/color-gradient.md): 2 exports, in full.
163
+ - [`@nanahoshi/mona-ui/color-palette`](docs/api/color-palette.md): 2 exports, in full.
164
+ - [`@nanahoshi/mona-ui/color-picker`](docs/api/color-picker.md): 5 exports, in full.
165
+ - [`@nanahoshi/mona-ui/combo-box`](docs/api/combo-box.md): 2 exports, in full.
166
+ - [`@nanahoshi/mona-ui/command`](docs/api/command.md): 20 exports, in full.
167
+ - [`@nanahoshi/mona-ui/common`](docs/api/common.md): 44 exports, in full.
168
+ - [`@nanahoshi/mona-ui/contextmenu`](docs/api/contextmenu.md): 11 exports, in full.
169
+ - [`@nanahoshi/mona-ui/date-input`](docs/api/date-input.md): 10 exports, in full.
170
+ - [`@nanahoshi/mona-ui/date-picker`](docs/api/date-picker.md): 2 exports, in full.
171
+ - [`@nanahoshi/mona-ui/datetime-picker`](docs/api/datetime-picker.md): 2 exports, in full.
172
+ - [`@nanahoshi/mona-ui/dialog`](docs/api/dialog.md): 18 exports, in full.
173
+ - [`@nanahoshi/mona-ui/dropdown-button`](docs/api/dropdown-button.md): 12 exports, in full.
174
+ - [`@nanahoshi/mona-ui/dropdown-list`](docs/api/dropdown-list.md): 3 exports, in full.
175
+ - [`@nanahoshi/mona-ui/dropdowns`](docs/api/dropdowns.md): 18 exports, in full.
176
+ - [`@nanahoshi/mona-ui/editor`](docs/api/editor.md): 4 exports, in full.
177
+ - [`@nanahoshi/mona-ui/expansion-panel`](docs/api/expansion-panel.md): 5 exports, in full.
178
+ - [`@nanahoshi/mona-ui/fieldset`](docs/api/fieldset.md): 2 exports, in full.
179
+ - [`@nanahoshi/mona-ui/filter`](docs/api/filter.md): 7 exports, in full.
180
+ - [`@nanahoshi/mona-ui/grid`](docs/api/grid.md): 85 exports, in full.
181
+ - [`@nanahoshi/mona-ui/i18n`](docs/api/i18n.md): 106 exports, in full.
182
+ - [`@nanahoshi/mona-ui/label`](docs/api/label.md): 4 exports, in full.
183
+ - [`@nanahoshi/mona-ui/list`](docs/api/list.md): 10 exports, in full.
184
+ - [`@nanahoshi/mona-ui/list-box`](docs/api/list-box.md): 16 exports, in full.
185
+ - [`@nanahoshi/mona-ui/list-view`](docs/api/list-view.md): 20 exports, in full.
186
+ - [`@nanahoshi/mona-ui/locales`](docs/api/locales.md): 15 exports, in full.
187
+ - [`@nanahoshi/mona-ui/menubar`](docs/api/menubar.md): 15 exports, in full.
188
+ - [`@nanahoshi/mona-ui/multi-select`](docs/api/multi-select.md): 5 exports, in full.
189
+ - [`@nanahoshi/mona-ui/notification`](docs/api/notification.md): 12 exports, in full.
190
+ - [`@nanahoshi/mona-ui/numeric-text-box`](docs/api/numeric-text-box.md): 4 exports, in full.
191
+ - [`@nanahoshi/mona-ui/otp-input`](docs/api/otp-input.md): 5 exports, in full.
192
+ - [`@nanahoshi/mona-ui/pager`](docs/api/pager.md): 14 exports, in full.
193
+ - [`@nanahoshi/mona-ui/placeholder`](docs/api/placeholder.md): 1 export, in full.
194
+ - [`@nanahoshi/mona-ui/popover`](docs/api/popover.md): 9 exports, in full.
195
+ - [`@nanahoshi/mona-ui/popup`](docs/api/popup.md): 18 exports, in full.
196
+ - [`@nanahoshi/mona-ui/popup-menu`](docs/api/popup-menu.md): 18 exports, in full.
197
+ - [`@nanahoshi/mona-ui/progress-bar`](docs/api/progress-bar.md): 5 exports, in full.
198
+ - [`@nanahoshi/mona-ui/query`](docs/api/query.md): 33 exports, in full.
199
+ - [`@nanahoshi/mona-ui/radio-button`](docs/api/radio-button.md): 4 exports, in full.
200
+ - [`@nanahoshi/mona-ui/rating`](docs/api/rating.md): 10 exports, in full.
201
+ - [`@nanahoshi/mona-ui/scroll-view`](docs/api/scroll-view.md): 5 exports, in full.
202
+ - [`@nanahoshi/mona-ui/segmented`](docs/api/segmented.md): 5 exports, in full.
203
+ - [`@nanahoshi/mona-ui/sheet`](docs/api/sheet.md): 4 exports, in full.
204
+ - [`@nanahoshi/mona-ui/sidebar`](docs/api/sidebar.md): 36 exports, in full.
205
+ - [`@nanahoshi/mona-ui/skeleton`](docs/api/skeleton.md): 1 export, in full.
206
+ - [`@nanahoshi/mona-ui/slider`](docs/api/slider.md): 8 exports, in full.
207
+ - [`@nanahoshi/mona-ui/spinner`](docs/api/spinner.md): 9 exports, in full.
208
+ - [`@nanahoshi/mona-ui/split-button`](docs/api/split-button.md): 14 exports, in full.
209
+ - [`@nanahoshi/mona-ui/splitter`](docs/api/splitter.md): 3 exports, in full.
210
+ - [`@nanahoshi/mona-ui/stepper`](docs/api/stepper.md): 9 exports, in full.
211
+ - [`@nanahoshi/mona-ui/switch`](docs/api/switch.md): 5 exports, in full.
212
+ - [`@nanahoshi/mona-ui/tabs`](docs/api/tabs.md): 8 exports, in full.
213
+ - [`@nanahoshi/mona-ui/text-area`](docs/api/text-area.md): 1 export, in full.
214
+ - [`@nanahoshi/mona-ui/text-box`](docs/api/text-box.md): 6 exports, in full.
215
+ - [`@nanahoshi/mona-ui/theme`](docs/api/theme.md): 53 exports, in full.
216
+ - [`@nanahoshi/mona-ui/time-picker`](docs/api/time-picker.md): 2 exports, in full.
217
+ - [`@nanahoshi/mona-ui/time-selector`](docs/api/time-selector.md): 2 exports, in full.
218
+ - [`@nanahoshi/mona-ui/tooltip`](docs/api/tooltip.md): 7 exports, in full.
219
+ - [`@nanahoshi/mona-ui/tree-view`](docs/api/tree-view.md): 37 exports, in full.
220
+ - [`@nanahoshi/mona-ui/window`](docs/api/window.md): 14 exports, in full.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanahoshi/mona-ui",
3
- "version": "0.27.1",
3
+ "version": "0.27.2",
4
4
  "description": "A very light Angular UI framework",
5
5
  "author": "Nanahoshi",
6
6
  "repository": {
@@ -2,9 +2,11 @@ import * as _angular_core from '@angular/core';
2
2
  import { InjectionToken, Signal } from '@angular/core';
3
3
  import * as _nanahoshi_mona_ui_collapsible from '@nanahoshi/mona-ui/collapsible';
4
4
 
5
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
5
6
  declare const COLLAPSIBLE_CONFIG: InjectionToken<CollapsibleConfig>;
6
7
  /**
7
8
  * The contract a collapsible root exposes to its trigger and content parts.
9
+ * @hidden Exported for Mona UI's other entry points; applications don't need it.
8
10
  */
9
11
  interface CollapsibleConfig {
10
12
  readonly animate: Signal<boolean>;
@@ -4,6 +4,7 @@ import { Predicate, ImmutableDictionary } from '@mirei/ts-collections';
4
4
 
5
5
  type SelectionMode = "single" | "multiple";
6
6
 
7
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
7
8
  type ScrollDirection = "left" | "right";
8
9
 
9
10
  /** A function taking a `P` and returning an `R`. */
@@ -14,6 +15,7 @@ type AttributeConfig = Record<string, unknown>;
14
15
 
15
16
  type ClassInputType = string | string[] | Record<string, unknown> | null | undefined;
16
17
 
18
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
17
19
  type ColorMode = "hsv" | "rgb";
18
20
  type ColorOutputFormat = "hex" | "rgb" | "hsl";
19
21
 
@@ -73,6 +75,7 @@ interface VirtualScrollOptions {
73
75
  height?: number;
74
76
  }
75
77
 
78
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
76
79
  declare class AnyPipe implements PipeTransform {
77
80
  transform<T>(sequence: Iterable<T> | null | undefined, predicate?: Predicate<T>): boolean;
78
81
  static ɵfac: i0.ɵɵFactoryDeclaration<AnyPipe, never>;
@@ -96,6 +99,7 @@ declare class SlicePipe implements PipeTransform {
96
99
  static ɵpipe: i0.ɵɵPipeDeclaration<SlicePipe, "monaSlice", true>;
97
100
  }
98
101
 
102
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
99
103
  declare class TakeFirstPipe implements PipeTransform {
100
104
  transform<T>(value: Iterable<T> | null | undefined): T | null;
101
105
  static ɵfac: i0.ɵɵFactoryDeclaration<TakeFirstPipe, never>;
@@ -448,6 +452,7 @@ declare const classInputToClass: (input: ClassInputType) => string;
448
452
  */
449
453
  declare const getPercentage: (value: number, min: number, max: number, precision?: number) => number;
450
454
 
455
+ /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
451
456
  interface ProgressRange {
452
457
  readonly max: number;
453
458
  readonly min: number;
@@ -461,6 +466,7 @@ interface ProgressRange {
461
466
  * @param max The maximum value.
462
467
  * @returns The range and the value within it, or `null` when the range itself is invalid, because `min` or `max` isn't
463
468
  * finite or `max` isn't above `min`.
469
+ * @hidden Exported for Mona UI's other entry points; applications don't need it.
464
470
  */
465
471
  declare const normalizeProgressRange: (value: number, min: number, max: number) => ProgressRange | null;
466
472