@nanahoshi/mona-ui 0.24.10 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/README.md +9 -0
  2. package/chart/README.md +223 -77
  3. package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +11 -10
  4. package/fesm2022/nanahoshi-mona-ui-avatar.mjs +37 -20
  5. package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +239 -47
  6. package/fesm2022/nanahoshi-mona-ui-button-group.mjs +184 -31
  7. package/fesm2022/nanahoshi-mona-ui-button.mjs +47 -11
  8. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +17 -13
  9. package/fesm2022/nanahoshi-mona-ui-card.mjs +54 -30
  10. package/fesm2022/nanahoshi-mona-ui-chart.mjs +1909 -666
  11. package/fesm2022/nanahoshi-mona-ui-check-box.mjs +112 -31
  12. package/fesm2022/nanahoshi-mona-ui-chip.mjs +131 -89
  13. package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +59 -19
  14. package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +118 -41
  15. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +243 -212
  16. package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +155 -86
  17. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +161 -131
  18. package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +12 -11
  19. package/fesm2022/nanahoshi-mona-ui-common.mjs +18 -1
  20. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +10 -9
  21. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +10 -9
  22. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +2 -2
  23. package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +2 -2
  24. package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +10 -9
  25. package/fesm2022/nanahoshi-mona-ui-editor.mjs +25 -24
  26. package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +202 -33
  27. package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +31 -10
  28. package/fesm2022/nanahoshi-mona-ui-filter.mjs +1 -1
  29. package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-DhKLnW06.mjs → nanahoshi-mona-ui-grid-grid-footer-row.component-2tVhD2hK.mjs} +2 -2
  30. package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-voGbKOiB.mjs → nanahoshi-mona-ui-grid-grid-list.component-BAN70Wcn.mjs} +4 -4
  31. package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-HQ1Kv6R9.mjs → nanahoshi-mona-ui-grid-grid-row.component-C_kCaA5b.mjs} +7 -7
  32. package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-PNLJFcuH.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-BsNfrAHz.mjs} +4 -4
  33. package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BO19AVwC.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CEfVa7eo.mjs} +27 -29
  34. package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
  35. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +146 -5
  36. package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +2 -2
  37. package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +1 -1
  38. package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +5 -5
  39. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +7 -7
  40. package/fesm2022/nanahoshi-mona-ui-internal.mjs +183 -47
  41. package/fesm2022/nanahoshi-mona-ui-label.mjs +111 -15
  42. package/fesm2022/nanahoshi-mona-ui-list-box.mjs +1 -1
  43. package/fesm2022/nanahoshi-mona-ui-list-view.mjs +1 -1
  44. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +111 -5
  45. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +103 -5
  46. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +103 -5
  47. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +100 -6
  48. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +90 -5
  49. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +103 -5
  50. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +90 -5
  51. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +90 -5
  52. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +103 -5
  53. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +105 -5
  54. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +103 -5
  55. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +90 -5
  56. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +90 -5
  57. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +2 -2
  58. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +14 -13
  59. package/fesm2022/nanahoshi-mona-ui-notification.mjs +1 -1
  60. package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +13 -12
  61. package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +192 -56
  62. package/fesm2022/nanahoshi-mona-ui-pager.mjs +1 -1
  63. package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +3 -1
  64. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +2 -2
  65. package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +60 -29
  66. package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +334 -37
  67. package/fesm2022/nanahoshi-mona-ui-rating.mjs +84 -30
  68. package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +274 -108
  69. package/fesm2022/nanahoshi-mona-ui-segmented.mjs +127 -37
  70. package/fesm2022/nanahoshi-mona-ui-sheet.mjs +2 -2
  71. package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +595 -170
  72. package/fesm2022/nanahoshi-mona-ui-skeleton.mjs +3 -2
  73. package/fesm2022/nanahoshi-mona-ui-slider.mjs +323 -166
  74. package/fesm2022/nanahoshi-mona-ui-spinner.mjs +167 -82
  75. package/fesm2022/nanahoshi-mona-ui-split-button.mjs +3 -3
  76. package/fesm2022/nanahoshi-mona-ui-splitter.mjs +273 -165
  77. package/fesm2022/nanahoshi-mona-ui-stepper.mjs +219 -132
  78. package/fesm2022/nanahoshi-mona-ui-switch.mjs +84 -32
  79. package/fesm2022/nanahoshi-mona-ui-tabs.mjs +337 -116
  80. package/fesm2022/nanahoshi-mona-ui-text-area.mjs +10 -12
  81. package/fesm2022/nanahoshi-mona-ui-text-box.mjs +21 -8
  82. package/fesm2022/nanahoshi-mona-ui-theme.mjs +444 -88
  83. package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +10 -9
  84. package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +15 -14
  85. package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +17 -3
  86. package/fesm2022/nanahoshi-mona-ui-window.mjs +1 -1
  87. package/i18n/catalogs/en-US.messages.json +90 -5
  88. package/locales/ar-sa/ar-sa.messages.json +90 -5
  89. package/locales/de-de/de-de.messages.json +90 -5
  90. package/locales/es-es/es-es.messages.json +90 -5
  91. package/locales/fr-fr/fr-fr.messages.json +91 -6
  92. package/locales/id-id/id-id.messages.json +90 -5
  93. package/locales/it-it/it-it.messages.json +90 -5
  94. package/locales/ja-jp/ja-jp.messages.json +90 -5
  95. package/locales/ko-kr/ko-kr.messages.json +90 -5
  96. package/locales/pt-br/pt-br.messages.json +90 -5
  97. package/locales/ru-ru/ru-ru.messages.json +90 -5
  98. package/locales/tr-tr/tr-tr.messages.json +90 -5
  99. package/locales/zh-cn/zh-cn.messages.json +90 -5
  100. package/locales/zh-tw/zh-tw.messages.json +90 -5
  101. package/package.json +2 -1
  102. package/styles.css +156 -0
  103. package/types/nanahoshi-mona-ui-auto-complete.d.ts +1 -0
  104. package/types/nanahoshi-mona-ui-avatar.d.ts +18 -11
  105. package/types/nanahoshi-mona-ui-breadcrumb.d.ts +62 -14
  106. package/types/nanahoshi-mona-ui-button-group.d.ts +86 -16
  107. package/types/nanahoshi-mona-ui-button.d.ts +26 -3
  108. package/types/nanahoshi-mona-ui-calendar.d.ts +1 -0
  109. package/types/nanahoshi-mona-ui-card.d.ts +22 -6
  110. package/types/nanahoshi-mona-ui-chart.d.ts +519 -527
  111. package/types/nanahoshi-mona-ui-check-box.d.ts +54 -13
  112. package/types/nanahoshi-mona-ui-chip.d.ts +31 -18
  113. package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +21 -5
  114. package/types/nanahoshi-mona-ui-collapsible.d.ts +20 -11
  115. package/types/nanahoshi-mona-ui-color-gradient.d.ts +62 -36
  116. package/types/nanahoshi-mona-ui-color-palette.d.ts +65 -27
  117. package/types/nanahoshi-mona-ui-color-picker.d.ts +64 -23
  118. package/types/nanahoshi-mona-ui-combo-box.d.ts +1 -0
  119. package/types/nanahoshi-mona-ui-common.d.ts +28 -2
  120. package/types/nanahoshi-mona-ui-date-picker.d.ts +1 -0
  121. package/types/nanahoshi-mona-ui-datetime-picker.d.ts +1 -0
  122. package/types/nanahoshi-mona-ui-dropdown-list.d.ts +1 -0
  123. package/types/nanahoshi-mona-ui-editor.d.ts +1 -0
  124. package/types/nanahoshi-mona-ui-expansion-panel.d.ts +51 -7
  125. package/types/nanahoshi-mona-ui-fieldset.d.ts +18 -4
  126. package/types/nanahoshi-mona-ui-grid.d.ts +0 -1
  127. package/types/nanahoshi-mona-ui-i18n.d.ts +130 -3
  128. package/types/nanahoshi-mona-ui-internal.d.ts +95 -14
  129. package/types/nanahoshi-mona-ui-label.d.ts +17 -2
  130. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +85 -0
  131. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +85 -0
  132. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +85 -0
  133. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +85 -0
  134. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +85 -0
  135. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +85 -0
  136. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +85 -0
  137. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +85 -0
  138. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +85 -0
  139. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +85 -0
  140. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +85 -0
  141. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +85 -0
  142. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +85 -0
  143. package/types/nanahoshi-mona-ui-multi-select.d.ts +1 -0
  144. package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +1 -0
  145. package/types/nanahoshi-mona-ui-otp-input.d.ts +49 -12
  146. package/types/nanahoshi-mona-ui-placeholder.d.ts +2 -1
  147. package/types/nanahoshi-mona-ui-progress-bar.d.ts +21 -9
  148. package/types/nanahoshi-mona-ui-radio-button.d.ts +165 -20
  149. package/types/nanahoshi-mona-ui-rating.d.ts +21 -6
  150. package/types/nanahoshi-mona-ui-scroll-view.d.ts +59 -27
  151. package/types/nanahoshi-mona-ui-segmented.d.ts +52 -24
  152. package/types/nanahoshi-mona-ui-sidebar.d.ts +104 -41
  153. package/types/nanahoshi-mona-ui-skeleton.d.ts +1 -1
  154. package/types/nanahoshi-mona-ui-slider.d.ts +99 -35
  155. package/types/nanahoshi-mona-ui-spinner.d.ts +9 -5
  156. package/types/nanahoshi-mona-ui-splitter.d.ts +31 -10
  157. package/types/nanahoshi-mona-ui-stepper.d.ts +58 -12
  158. package/types/nanahoshi-mona-ui-switch.d.ts +32 -10
  159. package/types/nanahoshi-mona-ui-tabs.d.ts +75 -20
  160. package/types/nanahoshi-mona-ui-text-area.d.ts +7 -7
  161. package/types/nanahoshi-mona-ui-text-box.d.ts +2 -0
  162. package/types/nanahoshi-mona-ui-theme.d.ts +392 -15
  163. package/types/nanahoshi-mona-ui-time-picker.d.ts +1 -0
  164. package/types/nanahoshi-mona-ui-time-selector.d.ts +1 -0
  165. package/types/nanahoshi-mona-ui-tooltip.d.ts +7 -1
@@ -3,7 +3,8 @@
3
3
  "clear": "清除"
4
4
  },
5
5
  "breadcrumb": {
6
- "breadcrumb": "階層連結導航"
6
+ "breadcrumb": "階層連結導航",
7
+ "showFullPath": "顯示完整路徑"
7
8
  },
8
9
  "buttonGroup": {
9
10
  "buttonGroup": "按鈕群組"
@@ -29,59 +30,129 @@
29
30
  "actionsLabel": "卡片動作"
30
31
  },
31
32
  "chart": {
33
+ "announcementSeparator": ",",
34
+ "brushApplied": "{count, plural, other {已套用框選,# 個點}}",
35
+ "brushCleared": "已清除框選",
36
+ "brushRange": "框選 {from} 至 {to}",
37
+ "category": "類別",
38
+ "categoryFallbackName": "類別 {index}",
39
+ "categoryRange": "從 {from} 到 {to}。",
32
40
  "change": "變動",
41
+ "changeValue": "變動 {change}",
33
42
  "chart": "圖表",
34
43
  "chartLegend": "圖例",
44
+ "chartRoleDescription": "圖表",
35
45
  "close": "收盤價",
36
46
  "closeAbbreviation": "收",
37
47
  "colorScale": "色標",
38
48
  "conversion": "轉換",
49
+ "conversionOfPrevious": "相對上一階段的轉換率 {rate}",
50
+ "dataTableTruncated": "顯示 {total} 列中的前 {shown} 列。",
51
+ "decrease": "減少",
52
+ "decreaseAnnouncement": "減少 {delta},累計從 {from} 到 {to}",
39
53
  "divergingRangeDescription": "{title},{minimum} 至 {midpoint} 至 {maximum}",
40
54
  "dropOff": "流失",
55
+ "dropOffValue": "流失 {value}",
41
56
  "falling": "下跌",
57
+ "gaugeRange": "範圍 {minimum} 至 {maximum}",
42
58
  "high": "最高價",
43
59
  "highAbbreviation": "高",
60
+ "increase": "增加",
61
+ "increaseAnnouncement": "增加 {delta},累計從 {from} 到 {to}",
62
+ "itemDeselected": "{item},已取消選取",
63
+ "itemFallbackName": "項目 {index}",
64
+ "itemSelected": "{item},已選取",
65
+ "keyboardHelp": "使用方向鍵在資料點之間移動,Home 和 End 跳到第一個和最後一個,Enter 或空白鍵啟用,Escape 清除。",
44
66
  "labelValueSeparator": ":",
67
+ "labeledValue": "{label}:{value}",
45
68
  "low": "最低價",
46
69
  "lowAbbreviation": "低",
70
+ "noChange": "無變化",
71
+ "noChangeAnnouncement": "無變化,累計 {value}",
47
72
  "noData": "沒有可用資料",
73
+ "ohlcValues": "開盤價 {open},最高價 {high},最低價 {low},收盤價 {close}",
48
74
  "open": "開盤價",
49
75
  "openAbbreviation": "開",
50
76
  "overall": "整體",
77
+ "overallConversion": "整體轉換率 {rate}",
78
+ "pannedDown": "已向下平移",
79
+ "pannedLeft": "已向左平移",
80
+ "pannedRight": "已向右平移",
81
+ "pannedUp": "已向上平移",
82
+ "pathSeparator": " / ",
83
+ "pointPosition": "第 {position} 個,共 {total} 個",
51
84
  "range": "範圍",
52
85
  "rangeDescription": "{title},{minimum} 至 {maximum}",
86
+ "rangeValue": "{from} 至 {to}",
53
87
  "rising": "上漲",
54
88
  "runningTotal": "累計",
89
+ "seriesFallbackName": "數列 {index}",
90
+ "seriesHidden": "已隱藏{series}",
91
+ "seriesShown": "已顯示{series}",
92
+ "seriesSummary": "{count, plural, other {# 個數列:{names}。}}",
93
+ "seriesValueRange": "{series}:最低 {minimum},最高 {maximum}。",
94
+ "shareOfTotal": "佔總計的 {share}",
55
95
  "size": "大小",
96
+ "sizeValue": "大小 {size}",
97
+ "stackShare": "堆疊占比 {share}",
98
+ "stageFallbackName": "階段 {index}",
99
+ "stagePosition": "第 {position} 階段,共 {total} 個",
100
+ "stepFallbackName": "步驟 {index}",
101
+ "stepPosition": "第 {position} 步,共 {total} 步",
102
+ "subtotal": "小計",
103
+ "subtotalAnnouncement": "小計 {value}",
104
+ "total": "總計",
105
+ "totalAnnouncement": "總計 {value}",
106
+ "treemapGroup": "{count, plural, other {群組(# 個子項目)}}",
107
+ "treemapLeaf": "葉節點",
56
108
  "unchanged": "持平",
57
109
  "value": "數值",
58
- "visualIndicatorClamped": "視覺指示器已達極限"
110
+ "valueRange": "{from} – {to}",
111
+ "viewportResetToDefault": "檢視已重設為預設範圍",
112
+ "viewportResetToFull": "檢視已重設為完整範圍",
113
+ "visualIndicatorClamped": "視覺指示器已達極限",
114
+ "zoomedIn": "已放大",
115
+ "zoomedOut": "已縮小"
59
116
  },
60
117
  "chip": {
61
118
  "removeLabel": "{label, select, undefined {移除項目} other {移除{label}}}"
62
119
  },
63
120
  "colorGradient": {
121
+ "alpha": "透明通道",
122
+ "alphaText": "不透明度{opacity}%",
64
123
  "apply": "套用",
124
+ "blue": "藍色",
65
125
  "cancel": "取消",
66
126
  "clearColor": "清除顏色",
127
+ "colorCopied": "已複製顏色",
128
+ "colorGradient": "色彩漸層",
67
129
  "copyAsHex": "複製為 HEX",
68
130
  "copyAsRgb": "複製為 RGB",
69
131
  "copyColor": "複製顏色",
132
+ "copyFailed": "無法複製顏色",
70
133
  "currentColor": "目前顏色",
134
+ "green": "綠色",
135
+ "hexColor": "十六進位色彩",
136
+ "hue": "色相",
71
137
  "previousColor": "先前顏色",
138
+ "red": "紅色",
139
+ "saturation": "飽和度",
72
140
  "saturationAndValue": "飽和度與明度",
73
141
  "saturationAndValueText": "飽和度{saturation}%,明度{value}%",
74
- "switchColorMode": "切換色彩模式"
142
+ "switchColorMode": "切換色彩模式",
143
+ "value": "明度"
75
144
  },
76
145
  "colorPalette": {
77
146
  "color": "顏色: {color}",
78
- "colorPalette": "調色盤"
147
+ "colorPalette": "調色盤",
148
+ "namedColor": "{name},{color}"
79
149
  },
80
150
  "colorPicker": {
81
151
  "clearColor": "清除顏色",
82
152
  "colorGradientPicker": "漸層色彩選取器",
83
153
  "colorPalettePicker": "調色盤選取器",
84
- "colorPicker": "色彩選取器"
154
+ "colorPicker": "色彩選取器",
155
+ "noColor": "無色彩"
85
156
  },
86
157
  "comboBox": {
87
158
  "clear": "清除"
@@ -271,6 +342,9 @@
271
342
  "sortOrder": "排序順序 {position}",
272
343
  "toolbar": "表格工具列"
273
344
  },
345
+ "label": {
346
+ "optional": "選填"
347
+ },
274
348
  "list": {
275
349
  "filterList": "篩選清單",
276
350
  "loading": "載入中",
@@ -336,6 +410,9 @@
336
410
  "previousPageLabel": "上一頁",
337
411
  "rangeStatus": "第 {start} - {end} 項,共 {total} 項"
338
412
  },
413
+ "progressBar": {
414
+ "label": "進度"
415
+ },
339
416
  "rating": {
340
417
  "notRated": "未評分",
341
418
  "valueText": "第 {value} 級,共 {max} 級"
@@ -345,6 +422,7 @@
345
422
  "nextPage": "下一頁",
346
423
  "page": "第 {current} 頁",
347
424
  "pageOf": "第 {current} 頁,共 {total} 頁",
425
+ "pages": "頁面",
348
426
  "previousPage": "上一頁",
349
427
  "scrollPagerNext": "向後捲動分頁器",
350
428
  "scrollPagerPrevious": "向前捲動分頁器",
@@ -353,6 +431,10 @@
353
431
  "sheet": {
354
432
  "closeSheet": "關閉面板"
355
433
  },
434
+ "sidebar": {
435
+ "drawerLabel": "側邊欄",
436
+ "rail": "顯示或隱藏側邊欄"
437
+ },
356
438
  "slider": {
357
439
  "maximumValue": "最大值",
358
440
  "minimumValue": "最小值",
@@ -375,6 +457,9 @@
375
457
  "resizer": "調整大小控點"
376
458
  },
377
459
  "stepper": {
460
+ "stepCompleted": "已完成",
461
+ "stepInvalid": "有錯誤",
462
+ "stepPosition": "第 {current} 步,共 {total} 步",
378
463
  "stepProgress": "步驟進度",
379
464
  "stepper": "步驟指示器"
380
465
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanahoshi/mona-ui",
3
- "version": "0.24.10",
3
+ "version": "0.25.0",
4
4
  "description": "A very light Angular UI framework",
5
5
  "author": "Nanahoshi",
6
6
  "repository": {
@@ -10,6 +10,7 @@
10
10
  "exports": {
11
11
  "./i18n/catalogs/*.json": "./i18n/catalogs/*.json",
12
12
  "./locales/*.json": "./locales/*.json",
13
+ "./styles.css": "./styles.css",
13
14
  "./package.json": {
14
15
  "default": "./package.json"
15
16
  },
package/styles.css ADDED
@@ -0,0 +1,156 @@
1
+ /*
2
+ * What Tailwind needs to know about Mona UI: the classes its components use, and the colors and shadows those classes
3
+ * name. Import it after Tailwind:
4
+ *
5
+ * @import "tailwindcss";
6
+ * @import "@nanahoshi/mona-ui/styles.css";
7
+ *
8
+ * The values are Mona Light, and a theme provider replaces them at runtime through the same variables.
9
+ */
10
+ @source "./fesm2022/*.mjs";
11
+
12
+ @theme {
13
+ /* Canvas and surfaces */
14
+ --color-canvas: oklch(98.5% 0 0);
15
+ --color-surface: oklch(100% 0 0);
16
+ --color-surface-muted: oklch(96.7% 0.001 286.375);
17
+ --color-surface-raised: oklch(100% 0 0);
18
+ --color-surface-overlay: oklch(100% 0 0);
19
+ --color-card: var(--color-surface-raised);
20
+ --color-card-foreground: var(--color-foreground);
21
+
22
+ --color-background: var(--color-surface);
23
+ --color-background-dark: var(--color-surface-muted);
24
+ --color-foreground: oklch(14.1% 0.005 285.823);
25
+ --color-muted-foreground: oklch(50% 0.016 285.938);
26
+ --color-hover: oklch(96.7% 0.001 286.375);
27
+ --color-active: oklch(92.2% 0.004 286.32);
28
+
29
+ --color-header-background: var(--color-surface-muted);
30
+ --color-header-foreground: var(--color-foreground);
31
+
32
+ --color-input-background: oklch(100% 0 0);
33
+ --color-input-foreground: var(--color-foreground);
34
+ --color-border-subtle: oklch(94% 0.002 286.32);
35
+ --color-border: oklch(92.2% 0.004 286.32);
36
+ --color-border-control: oklch(64% 0.01 286.067);
37
+ --color-border-control-hover: oklch(55.2% 0.01 285.938);
38
+ --color-input-border: var(--color-border-control);
39
+ --color-input-hover: var(--color-hover);
40
+ --color-input-active: var(--color-surface-raised);
41
+
42
+ --color-disabled: var(--color-disabled-foreground);
43
+ --color-disabled-foreground: oklch(46% 0.01 285.938);
44
+ --color-disabled-background: oklch(96.7% 0.001 286.375);
45
+ --color-disabled-border: oklch(92.2% 0.004 286.32);
46
+
47
+ --color-popover: var(--color-surface-overlay);
48
+ --color-popover-foreground: var(--color-foreground);
49
+
50
+ --color-primary: oklch(20.5% 0.006 285.885);
51
+ --color-primary-foreground: oklch(98.5% 0 0);
52
+ --color-primary-hover: oklch(26.9% 0.006 285.885);
53
+ --color-primary-active: oklch(14.1% 0.005 285.823);
54
+ --color-primary-selected: oklch(14.1% 0.005 285.823);
55
+ --color-primary-subtle: oklch(96.7% 0.001 286.375);
56
+ --color-primary-subtle-foreground: oklch(26.9% 0.006 285.885);
57
+ --color-primary-border: oklch(55.2% 0.01 285.938);
58
+
59
+ --color-accent: oklch(96.7% 0.001 286.375);
60
+ --color-accent-foreground: oklch(20.5% 0.006 285.885);
61
+ --color-accent-hover: oklch(92.2% 0.004 286.32);
62
+ --color-accent-active: oklch(87.1% 0.006 286.286);
63
+ --color-accent-dark: var(--color-accent-active);
64
+ --color-selected: var(--color-active);
65
+ --color-selected-foreground: var(--color-foreground);
66
+ --color-selected-hover: var(--color-active);
67
+ --color-selected-hover-foreground: var(--color-foreground);
68
+ --color-selected-active: var(--color-active);
69
+ --color-selected-active-foreground: var(--color-foreground);
70
+ --color-selected-focus: var(--color-active);
71
+ --color-selected-focus-foreground: var(--color-foreground);
72
+ --color-selected-border: var(--color-primary);
73
+ --color-focus-surface: var(--color-surface-muted);
74
+ --color-focus-indicator: var(--color-primary);
75
+
76
+ --color-secondary: oklch(92.2% 0.004 286.32);
77
+ --color-secondary-foreground: oklch(20.5% 0.006 285.885);
78
+ --color-secondary-hover: oklch(87.1% 0.006 286.286);
79
+ --color-secondary-active: oklch(80.5% 0.008 286.067);
80
+ --color-secondary-selected: oklch(80.5% 0.008 286.067);
81
+ --color-secondary-subtle: oklch(96.7% 0.001 286.375);
82
+ --color-secondary-subtle-foreground: oklch(26.9% 0.006 285.885);
83
+ --color-secondary-border: oklch(55.2% 0.01 285.938);
84
+
85
+ --color-success: oklch(48% 0.1322 150);
86
+ --color-success-foreground: oklch(98% 0.004 150);
87
+ --color-success-hover: oklch(44.5% 0.1225 150);
88
+ --color-success-active: oklch(41% 0.1129 150);
89
+ --color-success-selected: oklch(41% 0.1129 150);
90
+ --color-success-subtle: oklch(94.5% 0.0308 150);
91
+ --color-success-subtle-foreground: oklch(34% 0.0936 150);
92
+ --color-success-border: oklch(62% 0.077 150);
93
+
94
+ --color-error: oklch(48% 0.16 25);
95
+ --color-error-foreground: oklch(98% 0.004 25);
96
+ --color-error-hover: oklch(44.5% 0.16 25);
97
+ --color-error-active: oklch(41% 0.16 25);
98
+ --color-error-selected: oklch(41% 0.16 25);
99
+ --color-error-subtle: oklch(94.5% 0.0274 25);
100
+ --color-error-subtle-foreground: oklch(34% 0.12 25);
101
+ --color-error-border: oklch(63.5% 0.088 25);
102
+
103
+ --color-warning: oklch(48% 0.1012 75);
104
+ --color-warning-foreground: oklch(98% 0.004 75);
105
+ --color-warning-hover: oklch(44.5% 0.0939 75);
106
+ --color-warning-active: oklch(41% 0.0865 75);
107
+ --color-warning-selected: oklch(41% 0.0865 75);
108
+ --color-warning-subtle: oklch(94.5% 0.0308 75);
109
+ --color-warning-subtle-foreground: oklch(34% 0.0717 75);
110
+ --color-warning-border: oklch(63% 0.077 75);
111
+
112
+ --color-info: oklch(48% 0.15 255);
113
+ --color-info-foreground: oklch(98% 0.004 255);
114
+ --color-info-hover: oklch(44.5% 0.1465 255);
115
+ --color-info-active: oklch(41% 0.135 255);
116
+ --color-info-selected: oklch(41% 0.135 255);
117
+ --color-info-subtle: oklch(94.5% 0.0266 255);
118
+ --color-info-subtle-foreground: oklch(34% 0.1119 255);
119
+ --color-info-border: oklch(62.75% 0.0825 255);
120
+
121
+ /* Keep the Tailwind theme contract in parity with the complete runtime profile. Sidebar recipes use
122
+ arbitrary-variable utilities so consumers are not dependent on these named utility declarations. */
123
+ --color-sidebar: var(--color-canvas);
124
+ --color-sidebar-foreground: var(--color-foreground);
125
+ --color-sidebar-primary: var(--color-selected);
126
+ --color-sidebar-primary-foreground: var(--color-selected-foreground);
127
+ --color-sidebar-accent: var(--color-hover);
128
+ --color-sidebar-accent-foreground: var(--color-foreground);
129
+ --color-sidebar-border: var(--color-border);
130
+ --color-sidebar-ring: var(--color-focus-indicator);
131
+
132
+ --color-muted: var(--color-surface-muted);
133
+ --color-destructive: var(--color-error);
134
+ --color-destructive-foreground: var(--color-error-foreground);
135
+ --color-input: var(--color-border-control);
136
+
137
+ --shadow-control: 0 1px 2px rgb(9 9 11 / 0.03);
138
+ --shadow-raised: 0 2px 6px rgb(9 9 11 / 0.1);
139
+ --shadow-overlay: 0 8px 24px rgb(9 9 11 / 0.14);
140
+
141
+ --color-chart-1: oklch(20.5% 0.006 285.885);
142
+ --color-chart-2: oklch(34% 0.008 285.805);
143
+ --color-chart-3: oklch(46% 0.01 285.938);
144
+ --color-chart-4: oklch(55.2% 0.01 285.938);
145
+ --color-chart-5: oklch(63% 0.01 286.067);
146
+
147
+ --color-scrollbar-thumb: oklch(64% 0.01 286.067);
148
+ --color-scrollbar-thumb-hover: oklch(55.2% 0.01 285.938);
149
+ --color-scrollbar-thumb-active: oklch(46% 0.01 285.938);
150
+ --color-scrollbar-thumb-focus: var(--color-primary);
151
+ --color-scrollbar-track: var(--color-canvas);
152
+ --color-scrollbar-track-hover: var(--color-surface-muted);
153
+ --color-scrollbar-track-active: var(--color-hover);
154
+ --color-scrollbar-track-focus: var(--color-accent);
155
+ --color-scrollbar-corner: var(--color-canvas);
156
+ }
@@ -41,6 +41,7 @@ declare class AutoCompleteComponent<TData = unknown> implements FormValueControl
41
41
  protected readonly autoCompleteValue$: Subject<string | null>;
42
42
  protected readonly baseClass: _angular_core.Signal<string>;
43
43
  protected readonly clearButtonVisible: _angular_core.Signal<boolean>;
44
+ protected readonly effectiveDisabled: _angular_core.Signal<boolean>;
44
45
  protected readonly expanded: _angular_core.Signal<boolean>;
45
46
  protected readonly footerTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
46
47
  protected readonly groupHeaderTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
@@ -1,6 +1,7 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
 
3
3
  declare class AvatarComponent {
4
+ #private;
4
5
  protected readonly avatarLabelStyles: _angular_core.Signal<{
5
6
  alignItems: string;
6
7
  color: string;
@@ -555,6 +556,9 @@ declare class AvatarComponent {
555
556
  removeProperty?: ((property: string) => string) | undefined;
556
557
  setProperty?: ((property: string, value: string | null, priority?: string) => void) | undefined;
557
558
  }>;
559
+ protected readonly hostName: _angular_core.Signal<string>;
560
+ protected readonly imageAlt: _angular_core.Signal<string>;
561
+ protected readonly imageVisible: _angular_core.Signal<boolean>;
558
562
  /**
559
563
  * @description Alternative text for the avatar image. Provide a meaningful description for non-decorative images;
560
564
  * an empty string marks the image as decorative.
@@ -562,8 +566,9 @@ declare class AvatarComponent {
562
566
  */
563
567
  readonly alt: _angular_core.InputSignal<string>;
564
568
  /**
565
- * @description Accessible name for the host element. Describe what the avatar represents.
566
- * When non-empty, the host receives `role="img"` in label and projected-content modes.
569
+ * @description Accessible name of the avatar. Describe who or what it represents.
570
+ * In label and projected-content modes the host takes it with `role="img"`. While an image shows, it's the image's
571
+ * `alt` unless `alt` is set.
567
572
  * @default ""
568
573
  */
569
574
  readonly ariaLabel: _angular_core.InputSignal<string>;
@@ -601,18 +606,19 @@ declare class AvatarComponent {
601
606
  */
602
607
  readonly height: _angular_core.InputSignalWithTransform<string, string | number>;
603
608
  /**
604
- * @description Image URL. When non-empty, renders an `<img>` and suppresses `label` and projected content.
609
+ * @description Image URL. When non-empty, renders an `<img>` and suppresses `label` and projected content, until it
610
+ * fails to load. Then the avatar falls back to them, and a new URL tries again.
605
611
  * @default ""
606
612
  */
607
613
  readonly image: _angular_core.InputSignal<string>;
608
614
  /**
609
- * @description Text label displayed inside the avatar when no image is provided. Ignored when `image` is non-empty.
615
+ * @description Text label displayed inside the avatar when there's no image, or the image failed to load.
610
616
  * @default ""
611
617
  */
612
618
  readonly label: _angular_core.InputSignal<string>;
613
619
  /**
614
620
  * @description Color of the label text. Ignored in image mode.
615
- * @default "var(--color-foreground)"
621
+ * @default "var(--color-primary-foreground)"
616
622
  */
617
623
  readonly labelColor: _angular_core.InputSignal<string>;
618
624
  /**
@@ -625,18 +631,19 @@ declare class AvatarComponent {
625
631
  * @default "700"
626
632
  */
627
633
  readonly labelFontWeight: _angular_core.InputSignal<string>;
628
- /**
629
- * @description Width of the host element. A string is used as-is; a number is converted to `px`.
630
- * @default "64px"
631
- */
632
- readonly width: _angular_core.InputSignalWithTransform<string, string | number>;
633
634
  /**
634
635
  * @description Additional CSS classes applied to the host element.
635
636
  * @default ""
636
637
  */
637
638
  readonly userClass: _angular_core.InputSignal<string>;
639
+ /**
640
+ * @description Width of the host element. A string is used as-is; a number is converted to `px`.
641
+ * @default "64px"
642
+ */
643
+ readonly width: _angular_core.InputSignalWithTransform<string, string | number>;
644
+ protected onImageError(): void;
638
645
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvatarComponent, never>;
639
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarComponent, "mona-avatar", never, { "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; "isSignal": true; }; "borderColor": { "alias": "borderColor"; "required": false; "isSignal": true; }; "borderRadius": { "alias": "borderRadius"; "required": false; "isSignal": true; }; "borderWidth": { "alias": "borderWidth"; "required": false; "isSignal": true; }; "customStyles": { "alias": "customStyles"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelColor": { "alias": "labelColor"; "required": false; "isSignal": true; }; "labelFontSize": { "alias": "labelFontSize"; "required": false; "isSignal": true; }; "labelFontWeight": { "alias": "labelFontWeight"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
646
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarComponent, "mona-avatar", never, { "alt": { "alias": "alt"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; "isSignal": true; }; "borderColor": { "alias": "borderColor"; "required": false; "isSignal": true; }; "borderRadius": { "alias": "borderRadius"; "required": false; "isSignal": true; }; "borderWidth": { "alias": "borderWidth"; "required": false; "isSignal": true; }; "customStyles": { "alias": "customStyles"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelColor": { "alias": "labelColor"; "required": false; "isSignal": true; }; "labelFontSize": { "alias": "labelFontSize"; "required": false; "isSignal": true; }; "labelFontWeight": { "alias": "labelFontWeight"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
640
647
  }
641
648
 
642
649
  export { AvatarComponent };
@@ -1,46 +1,58 @@
1
1
  import * as _nanahoshi_mona_ui_i18n from '@nanahoshi/mona-ui/i18n';
2
2
  import { MonaBreadcrumbMessages } from '@nanahoshi/mona-ui/i18n';
3
3
  import * as _angular_core from '@angular/core';
4
- import { TemplateRef } from '@angular/core';
4
+ import { ElementRef, TemplateRef } from '@angular/core';
5
5
  import * as class_variance_authority_types from 'class-variance-authority/types';
6
- import { VariantProps } from 'class-variance-authority';
7
6
  import { VariantInputs } from '@nanahoshi/mona-ui/internal';
7
+ import { VariantProps } from 'class-variance-authority';
8
8
 
9
9
  declare const breadcrumbListThemeVariants: (props?: ({
10
10
  disabled?: boolean | null | undefined;
11
11
  } & class_variance_authority_types.ClassProp) | undefined) => string;
12
+ /** Inset focus, because the list clips anything outside it. */
12
13
  declare const breadcrumbListItemThemeVariants: (props?: ({
13
14
  disabled?: boolean | null | undefined;
14
- listDisabled?: boolean | null | undefined;
15
15
  } & class_variance_authority_types.ClassProp) | undefined) => string;
16
16
  type BreadcrumbListVariantProps = VariantProps<typeof breadcrumbListThemeVariants>;
17
17
  type BreadcrumbListVariantInput = VariantInputs<BreadcrumbListVariantProps>;
18
18
  type BreadcrumbListItemVariantProps = VariantProps<typeof breadcrumbListItemThemeVariants>;
19
19
  type BreadcrumbListItemVariantInput = VariantInputs<BreadcrumbListItemVariantProps>;
20
- type BreadcrumbVariantInput = BreadcrumbListVariantInput & Omit<BreadcrumbListItemVariantInput, "listDisabled">;
20
+ type BreadcrumbVariantInput = BreadcrumbListVariantInput & BreadcrumbListItemVariantInput;
21
21
 
22
22
  declare class BreadcrumbItemComponent {
23
+ #private;
23
24
  /**
24
25
  * @description Renders this item with reduced visual emphasis and removes pointer interaction.
25
26
  * Has no visual effect when the parent breadcrumb is also disabled.
26
27
  * @default false
27
28
  */
28
- readonly disabled: _angular_core.InputSignal<boolean>;
29
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
29
30
  /**
30
- * @description Emitted when the item is clicked or activated via keyboard.
31
- * Not emitted when this is the last (current-page) item or when the item is disabled.
31
+ * @description Emitted with the click when the item is clicked or activated via keyboard.
32
+ * Not emitted when this is the current-page item or when the item is disabled.
32
33
  */
33
- readonly itemClick: _angular_core.OutputEmitterRef<void>;
34
- readonly templateRef: _angular_core.Signal<TemplateRef<any>>;
34
+ readonly itemClick: _angular_core.OutputEmitterRef<MouseEvent>;
35
35
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BreadcrumbItemComponent, never>;
36
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BreadcrumbItemComponent, "mona-breadcrumb-item", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "itemClick": "itemClick"; }, never, ["*"], true, never>;
36
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BreadcrumbItemComponent, "mona-breadcrumb-item", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "itemClick": "itemClick"; }, ["link"], ["*"], true, never>;
37
37
  }
38
38
 
39
+ /** An item to render, or with no item, the collapse button. `index` is what the separator after it reports. */
40
+ interface BreadcrumbEntry {
41
+ readonly index: number;
42
+ readonly item: BreadcrumbItemComponent | null;
43
+ readonly key: unknown;
44
+ }
39
45
  declare class BreadcrumbComponent implements BreadcrumbVariantInput {
40
46
  #private;
41
47
  protected readonly currentItemClass: _angular_core.Signal<string>;
48
+ protected readonly entries: _angular_core.Signal<readonly BreadcrumbEntry[]>;
49
+ protected readonly expanded: _angular_core.WritableSignal<boolean>;
50
+ protected readonly hasItems: _angular_core.Signal<boolean>;
51
+ protected readonly hiddenCount: _angular_core.Signal<number>;
42
52
  protected readonly itemComponents: _angular_core.Signal<readonly BreadcrumbItemComponent[]>;
53
+ protected readonly itemContentClass: _angular_core.Signal<string>;
43
54
  protected readonly listClass: _angular_core.Signal<string>;
55
+ protected readonly listElement: _angular_core.Signal<ElementRef<HTMLOListElement> | undefined>;
44
56
  protected readonly messages: _angular_core.Signal<_nanahoshi_mona_ui_i18n.MonaBreadcrumbMessages>;
45
57
  protected readonly separatorTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
46
58
  /**
@@ -53,15 +65,51 @@ declare class BreadcrumbComponent implements BreadcrumbVariantInput {
53
65
  * @description Renders the entire breadcrumb with reduced visual emphasis and removes pointer interaction from all items.
54
66
  * @default false
55
67
  */
56
- readonly disabled: _angular_core.InputSignal<boolean>;
68
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
69
+ /**
70
+ * @description Treats the last item as the current page: not a button, and marked `aria-current="page"`. Turn it off
71
+ * for a trail that ends before the page you're on.
72
+ * @default true
73
+ */
74
+ readonly lastItemCurrent: _angular_core.InputSignalWithTransform<boolean, unknown>;
75
+ /**
76
+ * @description The most items to show before the middle of the trail collapses behind a button that shows it again.
77
+ * The first and last items always stay, so anything below 2 counts as 2. `null` never collapses.
78
+ * @default null
79
+ */
80
+ readonly maxItems: _angular_core.InputSignalWithTransform<number | null, unknown>;
57
81
  /**
58
82
  * @description Additional CSS classes merged onto the breadcrumb list via `tailwind-merge`.
59
83
  * @default ""
60
84
  */
61
85
  readonly userClass: _angular_core.InputSignal<string>;
62
- protected onItemClick(item: BreadcrumbItemComponent): void;
86
+ /**
87
+ * Shows the whole trail. The button that was just activated goes away, so focus moves to the first item it revealed.
88
+ */
89
+ protected expand(): void;
90
+ protected listItemClass(current: boolean): string;
91
+ protected onItemClick(item: BreadcrumbItemComponent, event: MouseEvent): void;
63
92
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
64
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<BreadcrumbComponent, "mona-breadcrumb", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, ["itemComponents", "separatorTemplate"], never, true, never>;
93
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<BreadcrumbComponent, "mona-breadcrumb", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "lastItemCurrent": { "alias": "lastItemCurrent"; "required": false; "isSignal": true; }; "maxItems": { "alias": "maxItems"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, ["itemComponents", "separatorTemplate"], never, true, never>;
94
+ }
95
+
96
+ /**
97
+ * Makes a projected anchor the item's link, so the browser and the router treat it as one: ctrl-click, copy link, `href`,
98
+ * `routerLink`, `target`. The item then renders no button around it.
99
+ */
100
+ declare class BreadcrumbLinkDirective {
101
+ #private;
102
+ protected readonly current: _angular_core.Signal<boolean>;
103
+ protected readonly disabled: _angular_core.Signal<boolean>;
104
+ protected readonly linkClass: _angular_core.Signal<string>;
105
+ /**
106
+ * @description Additional CSS classes merged onto the link via `tailwind-merge`.
107
+ * @default ""
108
+ */
109
+ readonly userClass: _angular_core.InputSignal<string>;
110
+ constructor();
111
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<BreadcrumbLinkDirective, never>;
112
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BreadcrumbLinkDirective, "a[monaBreadcrumbLink]", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
65
113
  }
66
114
 
67
115
  declare class BreadcrumbSeparatorTemplateDirective {
@@ -71,4 +119,4 @@ declare class BreadcrumbSeparatorTemplateDirective {
71
119
 
72
120
  declare const BREADCRUMB_DEFAULT_MESSAGES: MonaBreadcrumbMessages;
73
121
 
74
- export { BREADCRUMB_DEFAULT_MESSAGES, BreadcrumbComponent, BreadcrumbItemComponent, BreadcrumbSeparatorTemplateDirective };
122
+ export { BREADCRUMB_DEFAULT_MESSAGES, BreadcrumbComponent, BreadcrumbItemComponent, BreadcrumbLinkDirective, BreadcrumbSeparatorTemplateDirective };