@nanahoshi/mona-ui 0.27.0 → 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 +413 -0
  140. package/docs/sidebar-state.md +401 -0
  141. package/docs/sidebar.md +32 -876
  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 +76 -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/chart-bar.md CHANGED
@@ -473,242 +473,24 @@ The rest of the keys, including selection, brushing and navigation, are listed o
473
473
 
474
474
  ## API
475
475
 
476
- Everything below is imported from `@nanahoshi/mona-ui/chart`.
477
-
478
- ### `WaterfallSeriesComponent`
479
-
480
- Renders financial cash-flow and contribution movements with positive delta increases, negative delta decreases,
481
- zero-change neutral bars, intermediate subtotals, and cumulative grand totals.
482
-
483
- **Selector:** `mona-waterfall-series`
484
-
485
- #### Inputs
486
-
487
- | Name | Type | Default | Description |
488
- | --- | --- | --- | --- |
489
- | `borderRadius` | `number \| undefined` | `undefined` | Corner radius in pixels applied to the four corners of waterfall bars. |
490
- | `class` | `string` | `""` | CSS class name applied to the hidden series host element for custom styling hooks. |
491
- | `connectorColor` | `string` | `""` | Color of the horizontal connector lines joining consecutive bars. |
492
- | `connectorWidth` | `number \| undefined` | `undefined` | Line width in pixels of the connector lines between steps. |
493
- | `data` | `readonly unknown[] \| undefined` | `undefined` | Array of step data items overriding chart-level root data. |
494
- | `decreaseColor` | `string` | `""` | Fill color for negative change steps (decreases). |
495
- | `field` | `ChartField` | `"value"` | Property key or accessor function extracting the numeric value/delta for each step. |
496
- | `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity applied to waterfall bars (0 to 1). |
497
- | `increaseColor` | `string` | `""` | Fill color for positive change steps (increases). |
498
- | `keyField` | `ChartField \| undefined` | `undefined` | Unique identifier key field for datums. |
499
- | `kindField` | `ChartField \| undefined` | `"kind"` | Property key or accessor extracting step kind ('change' \| 'subtotal' \| 'total'). |
500
- | `maxBarWidth` | `number \| undefined` | `undefined` | Maximum width in pixels for waterfall bars. |
501
- | `maxLabels` | `number` | `100` | Maximum number of visible step labels rendered simultaneously. |
502
- | `minLabelWidth` | `number \| undefined` | `undefined` | Minimum bar width in pixels required to render its value label. |
503
- | `name` | `string` | `"Waterfall"` | Descriptive series name displayed in chart legend and tooltips. |
504
- | `neutralColor` | `string` | `""` | Fill color for zero-change steps. |
505
- | `showConnectors` | `boolean` | `true` | Controls whether horizontal connector lines are drawn between steps. |
506
- | `showLabels` | `boolean` | `false` | Controls whether built-in value text labels are rendered. |
507
- | `startValue` | `number` | `0` | Starting cumulative baseline value before the first step. |
508
- | `strokeColor` | `string` | `""` | Stroke outline color for waterfall bars. |
509
- | `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for waterfall bars. |
510
- | `subtotalColor` | `string` | `""` | Fill color for subtotal steps that anchor to baseline without resetting cumulative count. |
511
- | `totalColor` | `string` | `""` | Fill color for final total summary steps. |
512
- | `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Custom formatter function for numeric values. |
513
- | `visible` (two-way) | `boolean` | `true` | Controls overall visibility of the waterfall series. |
514
- | `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting category / step names. |
515
-
516
- #### Outputs
517
-
518
- | Name | Type | Description |
519
- | --- | --- | --- |
520
- | `visibleChange` | `boolean` | Emitted when `visible` changes. |
521
-
522
- ### `BarSeriesComponent`
523
-
524
- Renders a Cartesian bar series supporting standalone bars, grouped slots, stacked segments, and 100% normalized
525
- stacks.
526
-
527
- **Selector:** `mona-bar-series`
528
-
529
- #### Inputs
530
-
531
- | Name | Type | Default | Description |
532
- | --- | --- | --- | --- |
533
- | `borderRadius` | `number \| undefined` | `undefined` | Corner radius in pixels for the bar caps. |
534
- | `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
535
- | `color` | `string` | `""` | Explicit fill color override for the series bars. |
536
- | `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
537
- | `dataLabels` | `ChartDataLabelsInput` | `false` | Data label display options or boolean flag enabling default labels. |
538
- | `field` | `ChartField` | `""` | Property key or accessor extracting the Y/value for each bar. |
539
- | `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity applied to the bars. |
540
- | `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
541
- | `maxBarWidth` | `number \| undefined` | `undefined` | Maximum width in pixels for each individual bar. |
542
- | `name` | `string` | `""` | Name of the series displayed in legends and tooltips. |
543
- | `orientation` | `ChartBarOrientation` | `"vertical"` | Orientation of the bars ('vertical' for column bars, 'horizontal' for row bars). |
544
- | `seriesKey` | `string \| undefined` | `undefined` | Optional stable key identifying this series for mark identity and selection across updates. |
545
- | `stack` | `string \| undefined` | `undefined` | Named stack group to participate in. Series with matching trimmed stack names stack together. |
546
- | `stackMode` | `ChartStackMode` | `"normal"` | Stacking mode used when stack is specified: 'normal' for raw cumulative values, or 'percent' for 100% normalized segments. |
547
- | `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Custom formatter for raw Y/data values in tooltips and live region announcements. |
548
- | `visible` (two-way) | `boolean` | `true` | Whether the series is currently visible on the chart and in calculations. |
549
- | `xAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used. |
550
- | `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the X/category value, overriding the root chart X field. |
551
- | `yAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian Y axis this series binds to. When omitted, the primary Y axis is used. |
552
-
553
- #### Outputs
554
-
555
- | Name | Type | Description |
556
- | --- | --- | --- |
557
- | `visibleChange` | `boolean` | Emitted when `visible` changes. |
558
-
559
- ### `RangeBarSeriesComponent`
560
-
561
- Renders floating Cartesian range bars spanning between a lower value and an upper value (e.g. min/max temperatures,
562
- price spans, or SLA tolerances).
563
-
564
- **Selector:** `mona-range-bar-series`
565
-
566
- #### Inputs
567
-
568
- | Name | Type | Default | Description |
569
- | --- | --- | --- | --- |
570
- | `borderRadius` | `number \| undefined` | `undefined` | Corner radius in pixels for the floating bar caps. |
571
- | `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
572
- | `color` | `string` | `""` | Explicit fill color override for the range bars. |
573
- | `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
574
- | `dataLabels` | `ChartDataLabelsInput` | `false` | Data label display options or boolean flag enabling default labels. |
575
- | `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity applied to the range bars. |
576
- | `fromField` (required) | `ChartField` | — | Property key or accessor extracting the starting range value for each bar. |
577
- | `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
578
- | `maxBarWidth` | `number \| undefined` | `undefined` | Maximum width in pixels for each individual range bar. |
579
- | `name` | `string` | `"Range Bar"` | Name of the series displayed in legends, tooltips, and live region announcements. |
580
- | `orientation` | `ChartBarOrientation` | `"vertical"` | Orientation of the range bars ('vertical' for vertical spans, 'horizontal' for horizontal intervals). |
581
- | `seriesKey` | `string \| undefined` | `undefined` | Optional stable key identifying this series for mark identity and selection across updates. |
582
- | `toField` (required) | `ChartField` | — | Property key or accessor extracting the ending range value for each bar. |
583
- | `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Custom formatter for raw range values in tooltips and live region announcements. |
584
- | `visible` (two-way) | `boolean` | `true` | Whether the series is currently visible on the chart and in calculations. |
585
- | `xAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used. |
586
- | `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the X/category value, overriding the root chart X field. |
587
- | `yAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian Y axis this series binds to. When omitted, the primary Y axis is used. |
588
-
589
- #### Outputs
590
-
591
- | Name | Type | Description |
592
- | --- | --- | --- |
593
- | `visibleChange` | `boolean` | Emitted when `visible` changes. |
594
-
595
- ### `ChartWaterfallLabelTemplateDirective`
596
-
597
- **Selector:** `ng-template[monaChartWaterfallLabelTemplate]`
598
-
599
- #### Template context
476
+ Everything below is imported from `@nanahoshi/mona-ui/chart`. Each name links to its reference page, with every input, output, property and method.
600
477
 
601
- | Name | Type |
602
- | --- | --- |
603
- | `$implicit` | `ChartWaterfallPointContext<unknown>` |
604
- | `barEnd` | `number` |
605
- | `barStart` | `number` |
606
- | `bounds` | `ChartRect` |
607
- | `category` | `unknown` |
608
- | `color` | `string` |
609
- | `cumulativeAfter` | `number` |
610
- | `cumulativeBefore` | `number` |
611
- | `dataIndex` | `number` |
612
- | `datum` | `unknown` |
613
- | `deltaValue?` | `number \| undefined` |
614
- | `formattedCategory` | `string` |
615
- | `formattedCumulativeAfter` | `string` |
616
- | `formattedCumulativeBefore` | `string` |
617
- | `formattedDelta?` | `string \| undefined` |
618
- | `formattedValue` | `string` |
619
- | `kind` | `ChartWaterfallDatumKind` |
620
- | `step` | `ChartWaterfallPointContext<unknown>` |
621
- | `textColor?` | `string \| undefined` |
622
- | `value` | `number` |
623
- | `visualKind` | `ChartWaterfallVisualKind` |
478
+ | Name | Kind | Description |
479
+ | --- | --- | --- |
480
+ | [`WaterfallSeriesComponent`](api/chart.md#waterfallseriescomponent) | Component | Renders financial cash-flow and contribution movements with positive delta increases, negative delta decreases, zero-change neutral bars, intermediate subtotals, and cumulative grand totals. |
481
+ | [`BarSeriesComponent`](api/chart.md#barseriescomponent) | Component | Renders a Cartesian bar series supporting standalone bars, grouped slots, stacked segments, and 100% normalized stacks. |
482
+ | [`RangeBarSeriesComponent`](api/chart.md#rangebarseriescomponent) | Component | Renders floating Cartesian range bars spanning between a lower value and an upper value (e.g. min/max temperatures, price spans, or SLA tolerances). |
483
+ | [`ChartWaterfallLabelTemplateDirective`](api/chart.md#chartwaterfalllabeltemplatedirective) | Directive | |
624
484
 
625
485
  ### Types
626
486
 
627
- #### `ChartWaterfallLabelTemplateContext`
628
-
629
- **Type parameters:** `T = unknown`
630
-
631
- | Name | Type |
632
- | --- | --- |
633
- | `$implicit` (read-only) | `ChartWaterfallPointContext<T>` |
634
- | `barEnd` (read-only) | `number` |
635
- | `barStart` (read-only) | `number` |
636
- | `bounds` (read-only) | `ChartRect` |
637
- | `category` (read-only) | `unknown` |
638
- | `color` (read-only) | `string` |
639
- | `cumulativeAfter` (read-only) | `number` |
640
- | `cumulativeBefore` (read-only) | `number` |
641
- | `dataIndex` (read-only) | `number` |
642
- | `datum` (read-only) | `T` |
643
- | `deltaValue?` (read-only) | `number` |
644
- | `formattedCategory` (read-only) | `string` |
645
- | `formattedCumulativeAfter` (read-only) | `string` |
646
- | `formattedCumulativeBefore` (read-only) | `string` |
647
- | `formattedDelta?` (read-only) | `string` |
648
- | `formattedValue` (read-only) | `string` |
649
- | `kind` (read-only) | `ChartWaterfallDatumKind` |
650
- | `step` (read-only) | `ChartWaterfallPointContext<T>` |
651
- | `textColor?` (read-only) | `string` |
652
- | `value` (read-only) | `number` |
653
- | `visualKind` (read-only) | `ChartWaterfallVisualKind` |
654
-
655
- #### `ChartWaterfallPointContext`
656
-
657
- **Type parameters:** `T = unknown`
658
-
659
- | Name | Type |
660
- | --- | --- |
661
- | `barEnd` (read-only) | `number` |
662
- | `barStart` (read-only) | `number` |
663
- | `bounds` (read-only) | `ChartRect` |
664
- | `category` (read-only) | `unknown` |
665
- | `color` (read-only) | `string` |
666
- | `cumulativeAfter` (read-only) | `number` |
667
- | `cumulativeBefore` (read-only) | `number` |
668
- | `dataIndex` (read-only) | `number` |
669
- | `datum` (read-only) | `T` |
670
- | `deltaValue?` (read-only) | `number` |
671
- | `formattedCategory` (read-only) | `string` |
672
- | `formattedCumulativeAfter` (read-only) | `string` |
673
- | `formattedCumulativeBefore` (read-only) | `string` |
674
- | `formattedDelta?` (read-only) | `string` |
675
- | `formattedValue` (read-only) | `string` |
676
- | `kind` (read-only) | `ChartWaterfallDatumKind` |
677
- | `textColor?` (read-only) | `string` |
678
- | `value` (read-only) | `number` |
679
- | `visualKind` (read-only) | `ChartWaterfallVisualKind` |
680
-
681
- #### `ChartWaterfallPointValue`
682
-
683
- | Name | Type |
487
+ | Type | Kind |
684
488
  | --- | --- |
685
- | `barEnd` (read-only) | `number` |
686
- | `barStart` (read-only) | `number` |
687
- | `cumulativeAfter` (read-only) | `number` |
688
- | `cumulativeBefore` (read-only) | `number` |
689
- | `deltaValue?` (read-only) | `number` |
690
- | `formattedCumulativeAfter` (read-only) | `string` |
691
- | `formattedCumulativeBefore` (read-only) | `string` |
692
- | `formattedDelta?` (read-only) | `string` |
693
- | `kind` (read-only) | `ChartWaterfallDatumKind` |
694
- | `valueKind` (read-only) | `"waterfall"` |
695
-
696
- #### `ChartBarOrientation`
697
-
698
- ```typescript
699
- type ChartBarOrientation = "horizontal" | "vertical";
700
- ```
701
-
702
- #### `ChartWaterfallDatumKind`
703
-
704
- ```typescript
705
- type ChartWaterfallDatumKind = "change" | "subtotal" | "total";
706
- ```
707
-
708
- #### `ChartWaterfallVisualKind`
709
-
710
- ```typescript
711
- type ChartWaterfallVisualKind = "decrease" | "increase" | "neutral" | "subtotal" | "total";
712
- ```
713
-
714
- **Documented elsewhere:** [`ChartDataLabelsInput`](chart.md), [`ChartField`](chart.md), [`ChartRect`](chart.md), [`ChartStackMode`](chart.md), [`ChartValueFormatter`](chart.md)
489
+ | [`ChartWaterfallLabelTemplateContext`](api/chart.md#chartwaterfalllabeltemplatecontext) | Interface |
490
+ | [`ChartWaterfallPointContext`](api/chart.md#chartwaterfallpointcontext) | Interface |
491
+ | [`ChartWaterfallPointValue`](api/chart.md#chartwaterfallpointvalue) | Interface |
492
+ | [`ChartBarOrientation`](api/chart.md#chartbarorientation) | Type alias |
493
+ | [`ChartWaterfallDatumKind`](api/chart.md#chartwaterfalldatumkind) | Type alias |
494
+ | [`ChartWaterfallVisualKind`](api/chart.md#chartwaterfallvisualkind) | Type alias |
495
+
496
+ **Related types:** [`ChartDataLabelsInput`](api/chart.md#chartdatalabelsinput), [`ChartField`](api/chart.md#chartfield), [`ChartRect`](api/chart.md#chartrect), [`ChartStackMode`](api/chart.md#chartstackmode), [`ChartValueFormatter`](api/chart.md#chartvalueformatter)
@@ -438,130 +438,19 @@ The rest of the keys, including selection, brushing and navigation, are listed o
438
438
 
439
439
  ## API
440
440
 
441
- Everything below is imported from `@nanahoshi/mona-ui/chart`.
442
-
443
- ### `OhlcSeriesComponent`
444
-
445
- Renders traditional financial OHLC (Open-High-Low-Close) bar series with vertical high/low price spans, left-facing
446
- open ticks, right-facing close ticks, and directional color coding.
447
-
448
- **Selector:** `mona-ohlc-series`
449
-
450
- #### Inputs
451
-
452
- | Name | Type | Default | Description |
453
- | --- | --- | --- | --- |
454
- | `bodyWidth` | `number \| undefined` | `undefined` | Explicit total width in pixels for open/close tick arms. |
455
- | `bodyWidthRatio` | `number` | `0.7` | Ratio of available category slot or mark spacing allocated to open/close tick arms (0.0 to 1.0). |
456
- | `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
457
- | `closeField` (required) | `ChartField` | — | Property key or accessor extracting the closing price for each data item. |
458
- | `color` | `string \| undefined` | `undefined` | Optional color override applied uniformly across all OHLC ticks and stems. |
459
- | `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
460
- | `dataLabels` | `ChartDataLabelsInput` | `false` | Data label display options or boolean flag enabling default labels. |
461
- | `fallingColor` | `string` | `""` | Color for falling / bearish bars (close < open). |
462
- | `fillOpacity` | `number \| undefined` | `undefined` | Fill and stroke opacity ratio (0 to 1). |
463
- | `highField` (required) | `ChartField` | — | Property key or accessor extracting the highest price for each data item. |
464
- | `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
465
- | `lowField` (required) | `ChartField` | — | Property key or accessor extracting the lowest price for each data item. |
466
- | `maxBodyWidth` | `number` | `32` | Maximum total tick width in pixels. |
467
- | `name` | `string` | `"OHLC"` | Name of the series displayed in legends, tooltips, and live region announcements. |
468
- | `neutralColor` | `string` | `""` | Color for neutral / flat bars (close === open). |
469
- | `opacity` | `number \| undefined` | `undefined` | **Deprecated.** Use `fillOpacity`, as on the other series. Overall opacity multiplier applied to OHLC stems and tick arms. |
470
- | `openField` (required) | `ChartField` | — | Property key or accessor extracting the opening price for each data item. |
471
- | `risingColor` | `string` | `""` | Color for rising / bullish bars (close > open). |
472
- | `seriesKey` | `string \| undefined` | `undefined` | Optional stable key identifying this series for mark identity and selection across updates. |
473
- | `tickLength` | `number \| undefined` | `undefined` | Length in pixels for horizontal open and close tick arms. |
474
- | `tickWidth` | `number \| undefined` | `undefined` | Backward-compatible alias for tickLength. |
475
- | `valueFormatter` | `ChartAxisFormatter \| undefined` | `undefined` | Formatter callback transforming financial numeric values into custom display strings. |
476
- | `visible` (two-way) | `boolean` | `true` | Whether the series is currently visible on the chart and in calculations. |
477
- | `wickColor` | `string` | `""` | Explicit stroke color for the central vertical stem. |
478
- | `wickWidth` | `number \| undefined` | `undefined` | Pixel stroke width for OHLC stems and tick arms. When unset, the series reads `--mona-chart-financial-wick-width`, or uses `1`. |
479
- | `xAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used. |
480
- | `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the X coordinate, overriding the root chart X field. |
481
- | `yAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian Y axis this series binds to. When omitted, the primary Y axis is used. |
482
-
483
- #### Outputs
484
-
485
- | Name | Type | Description |
486
- | --- | --- | --- |
487
- | `visibleChange` | `boolean` | Emitted when `visible` changes. |
488
-
489
- ### `CandlestickSeriesComponent`
490
-
491
- Renders financial Japanese candlestick series with central high/low wicks, rectangular open/close bodies,
492
- rising/falling/neutral color coding, and solid or hollow rising bodies.
493
-
494
- **Selector:** `mona-candlestick-series`
495
-
496
- #### Inputs
497
-
498
- | Name | Type | Default | Description |
499
- | --- | --- | --- | --- |
500
- | `bodyWidth` | `number \| undefined` | `undefined` | Explicit body width in pixels for candlestick candles. |
501
- | `bodyWidthRatio` | `number` | `0.7` | Ratio of available category slot or mark spacing allocated to candle bodies (0.0 to 1.0). |
502
- | `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
503
- | `closeField` (required) | `ChartField` | — | Property key or accessor extracting the closing price for each data item. |
504
- | `color` | `string \| undefined` | `undefined` | Optional color override applied uniformly across all candle bodies. |
505
- | `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
506
- | `dataLabels` | `ChartDataLabelsInput` | `false` | Data label display options or boolean flag enabling default labels. |
507
- | `fallingColor` | `string` | `""` | Color for falling / bearish candles (close < open). |
508
- | `fillMode` | `ChartFinancialFillMode` | `"hollow"` | Visual fill mode for candle bodies: 'filled' (solid fill) or 'hollow' (rising hollow, falling filled). |
509
- | `fillOpacity` | `number \| undefined` | `undefined` | Fill and stroke opacity ratio (0 to 1). |
510
- | `highField` (required) | `ChartField` | — | Property key or accessor extracting the highest price for each data item. |
511
- | `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
512
- | `lowField` (required) | `ChartField` | — | Property key or accessor extracting the lowest price for each data item. |
513
- | `maxBodyWidth` | `number` | `32` | Maximum candle body width in pixels. |
514
- | `name` | `string` | `"Candlestick"` | Name of the series displayed in legends, tooltips, and live region announcements. |
515
- | `neutralColor` | `string` | `""` | Color for neutral / flat candles (close === open). |
516
- | `opacity` | `number \| undefined` | `undefined` | **Deprecated.** Use `fillOpacity`, as on the other series. Overall opacity multiplier applied to candle wicks and bodies. |
517
- | `openField` (required) | `ChartField` | — | Property key or accessor extracting the opening price for each data item. |
518
- | `risingColor` | `string` | `""` | Color for rising / bullish candles (close > open). |
519
- | `seriesKey` | `string \| undefined` | `undefined` | Optional stable key identifying this series for mark identity and selection across updates. |
520
- | `valueFormatter` | `ChartAxisFormatter \| undefined` | `undefined` | Formatter callback transforming financial numeric values into custom display strings. |
521
- | `visible` (two-way) | `boolean` | `true` | Whether the series is currently visible on the chart and in calculations. |
522
- | `wickColor` | `string` | `""` | Explicit stroke color for the upper and lower wicks. |
523
- | `wickWidth` | `number \| undefined` | `undefined` | Pixel stroke width for candle wicks. When unset, the series reads `--mona-chart-financial-wick-width`, or uses `1`. |
524
- | `xAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used. |
525
- | `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the X coordinate, overriding the root chart X field. |
526
- | `yAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian Y axis this series binds to. When omitted, the primary Y axis is used. |
527
-
528
- #### Outputs
529
-
530
- | Name | Type | Description |
441
+ Everything below is imported from `@nanahoshi/mona-ui/chart`. Each name links to its reference page, with every input, output, property and method.
442
+
443
+ | Name | Kind | Description |
531
444
  | --- | --- | --- |
532
- | `visibleChange` | `boolean` | Emitted when `visible` changes. |
445
+ | [`OhlcSeriesComponent`](api/chart.md#ohlcseriescomponent) | Component | Renders traditional financial OHLC (Open-High-Low-Close) bar series with vertical high/low price spans, left-facing open ticks, right-facing close ticks, and directional color coding. |
446
+ | [`CandlestickSeriesComponent`](api/chart.md#candlestickseriescomponent) | Component | Renders financial Japanese candlestick series with central high/low wicks, rectangular open/close bodies, rising/falling/neutral color coding, and solid or hollow rising bodies. |
533
447
 
534
448
  ### Types
535
449
 
536
- #### `ChartOhlcPointValue`
537
-
538
- | Name | Type |
450
+ | Type | Kind |
539
451
  | --- | --- |
540
- | `change?` (read-only) | `number` |
541
- | `changePercentage?` (read-only) | `number` |
542
- | `close` (read-only) | `number` |
543
- | `direction` (read-only) | `ChartFinancialDirection` |
544
- | `formattedChange?` (read-only) | `string` |
545
- | `formattedChangePercentage?` (read-only) | `string` |
546
- | `formattedClose?` (read-only) | `string` |
547
- | `formattedHigh?` (read-only) | `string` |
548
- | `formattedLow?` (read-only) | `string` |
549
- | `formattedOpen?` (read-only) | `string` |
550
- | `high` (read-only) | `number` |
551
- | `low` (read-only) | `number` |
552
- | `open` (read-only) | `number` |
553
- | `valueKind` (read-only) | `"ohlc"` |
554
-
555
- #### `ChartFinancialDirection`
556
-
557
- ```typescript
558
- type ChartFinancialDirection = "falling" | "neutral" | "rising";
559
- ```
560
-
561
- #### `ChartFinancialFillMode`
562
-
563
- ```typescript
564
- type ChartFinancialFillMode = "filled" | "hollow";
565
- ```
452
+ | [`ChartOhlcPointValue`](api/chart.md#chartohlcpointvalue) | Interface |
453
+ | [`ChartFinancialDirection`](api/chart.md#chartfinancialdirection) | Type alias |
454
+ | [`ChartFinancialFillMode`](api/chart.md#chartfinancialfillmode) | Type alias |
566
455
 
567
- **Documented elsewhere:** [`ChartAxisFormatter`](chart.md), [`ChartDataLabelsInput`](chart.md), [`ChartField`](chart.md)
456
+ **Related types:** [`ChartAxisFormatter`](api/chart.md#chartaxisformatter), [`ChartDataLabelsInput`](api/chart.md#chartdatalabelsinput), [`ChartField`](api/chart.md#chartfield)
@@ -362,185 +362,22 @@ The legend toggles stages with `Enter` and `Space`. The rest of the keys, includ
362
362
 
363
363
  ## API
364
364
 
365
- Everything below is imported from `@nanahoshi/mona-ui/chart`.
365
+ Everything below is imported from `@nanahoshi/mona-ui/chart`. Each name links to its reference page, with every input, output, property and method.
366
366
 
367
- ### `FunnelSeriesComponent`
368
-
369
- Renders conversion pipeline and sales funnel visualizations using connected trapezoidal stages. Supports vertical and
370
- horizontal layouts, custom stage colors, inscribed DOM labels, widening stages (>100% conversion), and dynamic stage
371
- visibility toggling.
372
-
373
- **Selector:** `mona-funnel-series`
374
-
375
- #### Inputs
376
-
377
- | Name | Type | Default | Description |
378
- | --- | --- | --- | --- |
379
- | `categoryField` | `ChartField` | `"category"` | Property key or accessor extracting stage names. |
380
- | `categoryFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Optional custom formatter for category names. |
381
- | `class` | `string` | `""` | CSS class name applied to the hidden series host element. |
382
- | `color` | `string` | `""` | Uniform fill color for all funnel stages. |
383
- | `colorField` | `ChartField \| undefined` | `undefined` | Property key extracting discrete colors per datum. |
384
- | `colors` | `readonly string[] \| undefined` | `undefined` | Palette array of colors cycled across stages. |
385
- | `data` | `readonly unknown[] \| undefined` | `undefined` | Array of stage data items overriding chart-level root data. |
386
- | `field` | `ChartField` | `"value"` | Property key or accessor function extracting numeric values. |
387
- | `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity applied to stage trapezoids (0 to 1). |
388
- | `gap` | `number` | `2` | Spacing in pixels between consecutive funnel stages. |
389
- | `hiddenStageIds` (two-way) | `readonly string[]` | `[]` | The hidden stage IDs. Bind `[(hiddenStageIds)]` for two-way binding; legend toggles write to it. Build an ID with `chartItemKeyId(key)` when `keyField` is set, or with `chartItemIndexId(index)`. |
390
- | `keyField` | `ChartField \| undefined` | `undefined` | Unique identifier key field for datums. |
391
- | `labelContent` | `ChartFunnelLabelContent` | `"category-value"` | Content format for automatic stage labels. |
392
- | `maxLabels` | `number` | `100` | Maximum number of visible stage labels rendered simultaneously. |
393
- | `minLabelHeight` | `number \| undefined` | `undefined` | Minimum stage height required in vertical orientation to render label. |
394
- | `minLabelWidth` | `number \| undefined` | `undefined` | Minimum stage width required in horizontal orientation to render label. |
395
- | `name` | `string` | `"Funnel"` | Descriptive series name displayed in chart legend and tooltips. |
396
- | `orientation` | `ChartFunnelOrientation` | `"vertical"` | Layout orientation of the funnel ('vertical' or 'horizontal'). |
397
- | `showLabels` | `boolean` | `true` | Controls whether built-in stage text labels are rendered. |
398
- | `strokeColor` | `string` | `""` | Stroke outline color for stage trapezoids. |
399
- | `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for stage trapezoids. |
400
- | `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Custom formatter function for numeric values. |
401
- | `visible` (two-way) | `boolean` | `true` | Controls overall visibility of the funnel series. |
402
- | `widthRatio` | `number` | `0.9` | Maximum width ratio (0 to 1) for the funnel's widest stage relative to plot area. |
403
-
404
- #### Outputs
405
-
406
- | Name | Type | Description |
367
+ | Name | Kind | Description |
407
368
  | --- | --- | --- |
408
- | `hiddenStageIdsChange` | `readonly string[]` | Emitted when `hiddenStageIds` changes. |
409
- | `stageVisibilityChange` | `ChartFunnelStageVisibilityEvent<unknown>` | Emits when a stage's visibility is toggled via legend or API. |
410
- | `visibleChange` | `boolean` | Emitted when `visible` changes. |
411
-
412
- #### Methods
413
-
414
- | Signature | Description |
415
- | --- | --- |
416
- | `isDatumVisible(stageId: string): boolean` | Whether the stage with this id is visible. |
417
- | `resetVisibility(): void` | Shows every stage again. |
418
- | `setDatumVisibility(stageId: string, visible: boolean): void` | Shows or hides the stage with this id. |
419
- | `toggleDatumVisibility(stageId: string): boolean` | Shows or hides the stage with this id, and returns whether it's now visible. |
420
-
421
- ### `ChartFunnelLabelTemplateDirective`
422
-
423
- **Selector:** `ng-template[monaChartFunnelLabelTemplate]`
424
-
425
- #### Template context
426
-
427
- | Name | Type |
428
- | --- | --- |
429
- | `$implicit` | `ChartFunnelStageContext<unknown>` |
430
- | `bounds` | `ChartRect` |
431
- | `category` | `unknown` |
432
- | `color` | `string` |
433
- | `conversionRate?` | `number \| undefined` |
434
- | `dataIndex` | `number` |
435
- | `datum` | `unknown` |
436
- | `dropOff?` | `number \| undefined` |
437
- | `formattedCategory` | `string` |
438
- | `formattedConversionRate?` | `string \| undefined` |
439
- | `formattedOverallConversionRate?` | `string \| undefined` |
440
- | `formattedValue` | `string` |
441
- | `overallConversionRate?` | `number \| undefined` |
442
- | `previousValue?` | `number \| undefined` |
443
- | `stage` | `ChartFunnelStageContext<unknown>` |
444
- | `stageId` | `string` |
445
- | `stageIndex` | `number` |
446
- | `textColor?` | `string \| undefined` |
447
- | `value` | `number` |
369
+ | [`FunnelSeriesComponent`](api/chart.md#funnelseriescomponent) | Component | Renders conversion pipeline and sales funnel visualizations using connected trapezoidal stages. |
370
+ | [`ChartFunnelLabelTemplateDirective`](api/chart.md#chartfunnellabeltemplatedirective) | Directive | |
448
371
 
449
372
  ### Types
450
373
 
451
- #### `ChartFunnelLabelTemplateContext`
452
-
453
- **Type parameters:** `T = unknown`
454
-
455
- | Name | Type |
456
- | --- | --- |
457
- | `$implicit` (read-only) | `ChartFunnelStageContext<T>` |
458
- | `bounds` (read-only) | `ChartRect` |
459
- | `category` (read-only) | `unknown` |
460
- | `color` (read-only) | `string` |
461
- | `conversionRate?` (read-only) | `number` |
462
- | `dataIndex` (read-only) | `number` |
463
- | `datum` (read-only) | `T` |
464
- | `dropOff?` (read-only) | `number` |
465
- | `formattedCategory` (read-only) | `string` |
466
- | `formattedConversionRate?` (read-only) | `string` |
467
- | `formattedOverallConversionRate?` (read-only) | `string` |
468
- | `formattedValue` (read-only) | `string` |
469
- | `overallConversionRate?` (read-only) | `number` |
470
- | `previousValue?` (read-only) | `number` |
471
- | `stage` (read-only) | `ChartFunnelStageContext<T>` |
472
- | `stageId` (read-only) | `string` |
473
- | `stageIndex` (read-only) | `number` |
474
- | `textColor?` (read-only) | `string` |
475
- | `value` (read-only) | `number` |
476
-
477
- #### `ChartFunnelPointMetadata`
478
-
479
- | Name | Type |
480
- | --- | --- |
481
- | `category` (read-only) | `unknown` |
482
- | `conversionRate?` (read-only) | `number` |
483
- | `dropOff?` (read-only) | `number` |
484
- | `formattedCategory` (read-only) | `string` |
485
- | `formattedConversionRate?` (read-only) | `string` |
486
- | `formattedOverallConversionRate?` (read-only) | `string` |
487
- | `formattedValue` (read-only) | `string` |
488
- | `overallConversionRate?` (read-only) | `number` |
489
- | `previousValue?` (read-only) | `number` |
490
- | `stageId` (read-only) | `string` |
491
- | `stageIndex` (read-only) | `number` |
492
- | `value` (read-only) | `number` |
493
-
494
- #### `ChartFunnelStageContext`
495
-
496
- **Type parameters:** `T = unknown`
497
-
498
- | Name | Type |
374
+ | Type | Kind |
499
375
  | --- | --- |
500
- | `bounds` (read-only) | `ChartRect` |
501
- | `category` (read-only) | `unknown` |
502
- | `color` (read-only) | `string` |
503
- | `conversionRate?` (read-only) | `number` |
504
- | `dataIndex` (read-only) | `number` |
505
- | `datum` (read-only) | `T` |
506
- | `dropOff?` (read-only) | `number` |
507
- | `formattedCategory` (read-only) | `string` |
508
- | `formattedConversionRate?` (read-only) | `string` |
509
- | `formattedOverallConversionRate?` (read-only) | `string` |
510
- | `formattedValue` (read-only) | `string` |
511
- | `overallConversionRate?` (read-only) | `number` |
512
- | `previousValue?` (read-only) | `number` |
513
- | `stageId` (read-only) | `string` |
514
- | `stageIndex` (read-only) | `number` |
515
- | `textColor?` (read-only) | `string` |
516
- | `value` (read-only) | `number` |
517
-
518
- #### `ChartFunnelStageVisibilityEvent`
519
-
520
- **Type parameters:** `T = unknown`
521
-
522
- | Name | Type |
523
- | --- | --- |
524
- | `category` (read-only) | `unknown` |
525
- | `dataIndex` (read-only) | `number` |
526
- | `datum` (read-only) | `T` |
527
- | `formattedCategory` (read-only) | `string` |
528
- | `seriesId` (read-only) | `string` |
529
- | `seriesName` (read-only) | `string` |
530
- | `seriesType` (read-only) | `"funnel"` |
531
- | `stageId` (read-only) | `string` |
532
- | `visible` (read-only) | `boolean` |
533
-
534
- #### `ChartFunnelLabelContent`
535
-
536
- ```typescript
537
- type ChartFunnelLabelContent = "category" | "category-value" | "category-value-conversion" | "value";
538
- ```
539
-
540
- #### `ChartFunnelOrientation`
541
-
542
- ```typescript
543
- type ChartFunnelOrientation = "horizontal" | "vertical";
544
- ```
545
-
546
- **Documented elsewhere:** [`ChartField`](chart.md), [`ChartRect`](chart.md), [`ChartValueFormatter`](chart.md)
376
+ | [`ChartFunnelLabelTemplateContext`](api/chart.md#chartfunnellabeltemplatecontext) | Interface |
377
+ | [`ChartFunnelPointMetadata`](api/chart.md#chartfunnelpointmetadata) | Interface |
378
+ | [`ChartFunnelStageContext`](api/chart.md#chartfunnelstagecontext) | Interface |
379
+ | [`ChartFunnelStageVisibilityEvent`](api/chart.md#chartfunnelstagevisibilityevent) | Interface |
380
+ | [`ChartFunnelLabelContent`](api/chart.md#chartfunnellabelcontent) | Type alias |
381
+ | [`ChartFunnelOrientation`](api/chart.md#chartfunnelorientation) | Type alias |
382
+
383
+ **Related types:** [`ChartField`](api/chart.md#chartfield), [`ChartRect`](api/chart.md#chartrect), [`ChartValueFormatter`](api/chart.md#chartvalueformatter)