@nanahoshi/mona-ui 0.45.0 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.md +34 -0
- package/alert/package.json +3 -2
- package/auto-complete/package.json +3 -2
- package/avatar/package.json +3 -2
- package/badge/package.json +3 -2
- package/breadcrumb/package.json +3 -2
- package/button/package.json +3 -2
- package/button-group/package.json +3 -2
- package/calendar/package.json +3 -2
- package/card/package.json +3 -2
- package/chart/package.json +3 -2
- package/chat/package.json +3 -2
- package/check-box/package.json +3 -2
- package/chip/package.json +3 -2
- package/circular-progress-bar/package.json +3 -2
- package/collapsible/package.json +3 -2
- package/color-gradient/package.json +3 -2
- package/color-palette/package.json +3 -2
- package/color-picker/package.json +3 -2
- package/combo-box/package.json +3 -2
- package/command/package.json +3 -2
- package/common/package.json +3 -2
- package/contextmenu/package.json +3 -2
- package/date-input/package.json +3 -2
- package/date-picker/package.json +3 -2
- package/date-range-picker/package.json +3 -2
- package/datetime-picker/package.json +3 -2
- package/dialog/package.json +3 -2
- package/docs/api/index.json +1 -1
- package/docs/api/theme.json +1 -1
- package/docs/api/theme.md +14 -6
- package/docs/installation.md +1 -1
- package/docs/manifest.json +1 -1
- package/docs/theming-built-in-themes.md +25 -12
- package/docs/theming-custom-themes.md +19 -0
- package/docs/theming.md +2 -1
- package/dropdown-button/package.json +3 -2
- package/dropdown-list/package.json +3 -2
- package/dropdown-tree/package.json +3 -2
- package/dropdowns/package.json +3 -2
- package/editor/package.json +3 -2
- package/expansion-panel/package.json +3 -2
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-colgroup.component-DpszxgFY.mjs → grid-colgroup.component-B4jx10Yi.mjs} +5 -5
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-CpvzAcX8.mjs → grid-footer-row.component-CVUltI39.mjs} +12 -12
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-tRmEWiQR.mjs → grid-list.component-Cv1KB5VQ.mjs} +14 -14
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-eET6dh2Q.mjs → grid-row.component-BauMmps5.mjs} +42 -42
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-8h2EMexB.mjs → grid-virtual-list.component-DNjoZfHq.mjs} +10 -10
- package/fesm2022/{nanahoshi-mona-ui-grid-grid.styles-wAf6jsT9.mjs → grid.styles-BJHVTT_v.mjs} +27 -27
- package/fesm2022/nanahoshi-mona-ui-alert.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +15 -15
- package/fesm2022/nanahoshi-mona-ui-avatar.mjs +7 -7
- package/fesm2022/nanahoshi-mona-ui-badge.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +15 -15
- package/fesm2022/nanahoshi-mona-ui-button-group.mjs +7 -7
- package/fesm2022/nanahoshi-mona-ui-button.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-calendar.mjs +32 -32
- package/fesm2022/nanahoshi-mona-ui-card.mjs +25 -25
- package/fesm2022/nanahoshi-mona-ui-chart.mjs +170 -170
- package/fesm2022/nanahoshi-mona-ui-chat.mjs +19 -19
- package/fesm2022/nanahoshi-mona-ui-check-box.mjs +12 -12
- package/fesm2022/nanahoshi-mona-ui-chip.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +7 -7
- package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +13 -13
- package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +5 -5
- package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +20 -20
- package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +15 -15
- package/fesm2022/nanahoshi-mona-ui-command.mjs +48 -48
- package/fesm2022/nanahoshi-mona-ui-common.mjs +12 -12
- package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +37 -37
- package/fesm2022/nanahoshi-mona-ui-date-input.mjs +14 -14
- package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +16 -16
- package/fesm2022/nanahoshi-mona-ui-date-range-picker.mjs +16 -16
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +20 -20
- package/fesm2022/nanahoshi-mona-ui-dialog.mjs +33 -33
- package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +38 -38
- package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +16 -16
- package/fesm2022/nanahoshi-mona-ui-dropdown-tree.mjs +12 -12
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +68 -68
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +100 -100
- package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +18 -18
- package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +8 -8
- package/fesm2022/nanahoshi-mona-ui-file-upload.mjs +6 -6
- package/fesm2022/nanahoshi-mona-ui-filter.mjs +19 -19
- package/fesm2022/nanahoshi-mona-ui-form-field.mjs +14 -14
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +154 -154
- package/fesm2022/nanahoshi-mona-ui-i18n.mjs +7 -7
- package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +6 -6
- package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +35 -35
- package/fesm2022/nanahoshi-mona-ui-internal-live-announcer.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +39 -39
- package/fesm2022/nanahoshi-mona-ui-internal.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-kanban.mjs +17 -17
- package/fesm2022/nanahoshi-mona-ui-label.mjs +8 -8
- package/fesm2022/nanahoshi-mona-ui-list-box.mjs +20 -20
- package/fesm2022/nanahoshi-mona-ui-list-view.mjs +38 -38
- package/fesm2022/nanahoshi-mona-ui-locales.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-masked-text-box.mjs +13 -13
- package/fesm2022/nanahoshi-mona-ui-menubar.mjs +51 -51
- package/fesm2022/nanahoshi-mona-ui-multi-select-tree.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +26 -26
- package/fesm2022/nanahoshi-mona-ui-notification.mjs +18 -18
- package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +20 -20
- package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +11 -11
- package/fesm2022/nanahoshi-mona-ui-pager.mjs +22 -22
- package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-popover.mjs +14 -14
- package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +145 -64
- package/fesm2022/nanahoshi-mona-ui-popup.mjs +19 -19
- package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +6 -6
- package/fesm2022/nanahoshi-mona-ui-qr-code.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-query.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +16 -16
- package/fesm2022/nanahoshi-mona-ui-rating.mjs +14 -14
- package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +15 -15
- package/fesm2022/nanahoshi-mona-ui-segmented.mjs +8 -8
- package/fesm2022/nanahoshi-mona-ui-separator.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-sheet.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +85 -85
- package/fesm2022/nanahoshi-mona-ui-skeleton.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-slider.mjs +31 -31
- package/fesm2022/nanahoshi-mona-ui-sortable.mjs +16 -16
- package/fesm2022/nanahoshi-mona-ui-sparkline.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-spinner.mjs +10 -10
- package/fesm2022/nanahoshi-mona-ui-split-button.mjs +44 -44
- package/fesm2022/nanahoshi-mona-ui-splitter.mjs +21 -21
- package/fesm2022/nanahoshi-mona-ui-stepper.mjs +19 -19
- package/fesm2022/nanahoshi-mona-ui-switch.mjs +17 -17
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +26 -26
- package/fesm2022/nanahoshi-mona-ui-text-area.mjs +6 -6
- package/fesm2022/nanahoshi-mona-ui-text-box.mjs +19 -19
- package/fesm2022/nanahoshi-mona-ui-theme.mjs +302 -58
- package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +15 -15
- package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +14 -14
- package/fesm2022/nanahoshi-mona-ui-timeline.mjs +17 -17
- package/fesm2022/nanahoshi-mona-ui-toolbar.mjs +8 -8
- package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +13 -13
- package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +27 -27
- package/fesm2022/nanahoshi-mona-ui-window.mjs +40 -40
- package/fesm2022/nanahoshi-mona-ui.mjs +2 -0
- package/fieldset/package.json +3 -2
- package/file-upload/package.json +3 -2
- package/filter/package.json +3 -2
- package/form-field/package.json +3 -2
- package/grid/package.json +3 -2
- package/i18n/icu/package.json +3 -2
- package/i18n/package.json +3 -2
- package/internal/filter-input/package.json +3 -2
- package/internal/indicator-icon/package.json +3 -2
- package/internal/list/package.json +3 -2
- package/internal/live-announcer/package.json +3 -2
- package/internal/package.json +3 -2
- package/internal/popup-menu/package.json +3 -2
- package/internal/tree/package.json +3 -2
- package/kanban/package.json +3 -2
- package/label/package.json +3 -2
- package/list/package.json +3 -2
- package/list-box/package.json +3 -2
- package/list-view/package.json +3 -2
- package/llms.txt +2 -2
- package/locales/ar-sa/package.json +3 -2
- package/locales/de-de/package.json +3 -2
- package/locales/es-es/package.json +3 -2
- package/locales/fr-fr/package.json +3 -2
- package/locales/id-id/package.json +3 -2
- package/locales/it-it/package.json +3 -2
- package/locales/ja-jp/package.json +3 -2
- package/locales/ko-kr/package.json +3 -2
- package/locales/package.json +3 -2
- package/locales/pl-pl/package.json +3 -2
- package/locales/pt-br/package.json +3 -2
- package/locales/ru-ru/package.json +3 -2
- package/locales/tr-tr/package.json +3 -2
- package/locales/zh-cn/package.json +3 -2
- package/locales/zh-tw/package.json +3 -2
- package/masked-text-box/package.json +3 -2
- package/menubar/package.json +3 -2
- package/multi-select/package.json +3 -2
- package/multi-select-tree/package.json +3 -2
- package/notification/package.json +3 -2
- package/numeric-text-box/package.json +3 -2
- package/otp-input/package.json +3 -2
- package/package.json +170 -169
- package/pager/package.json +3 -2
- package/placeholder/package.json +3 -2
- package/popover/package.json +3 -2
- package/popup/package.json +3 -2
- package/popup-menu/package.json +3 -2
- package/progress-bar/package.json +3 -2
- package/qr-code/package.json +3 -2
- package/query/package.json +3 -2
- package/radio-button/package.json +3 -2
- package/rating/package.json +3 -2
- package/scroll-view/package.json +3 -2
- package/segmented/package.json +3 -2
- package/separator/package.json +3 -2
- package/sheet/package.json +3 -2
- package/sidebar/package.json +3 -2
- package/skeleton/package.json +3 -2
- package/slider/package.json +3 -2
- package/sortable/package.json +3 -2
- package/sparkline/package.json +3 -2
- package/spinner/package.json +3 -2
- package/split-button/package.json +3 -2
- package/splitter/package.json +3 -2
- package/stepper/package.json +3 -2
- package/switch/package.json +3 -2
- package/tabs/package.json +3 -2
- package/text-area/package.json +3 -2
- package/text-box/package.json +3 -2
- package/theme/package.json +3 -2
- package/time-picker/package.json +3 -2
- package/time-selector/package.json +3 -2
- package/timeline/package.json +3 -2
- package/toolbar/package.json +3 -2
- package/tooltip/package.json +3 -2
- package/tree-view/package.json +3 -2
- package/types/nanahoshi-mona-ui-alert.d.ts +2 -2
- package/types/nanahoshi-mona-ui-auto-complete.d.ts +9 -9
- package/types/nanahoshi-mona-ui-badge.d.ts +7 -7
- package/types/nanahoshi-mona-ui-breadcrumb.d.ts +2 -2
- package/types/nanahoshi-mona-ui-button-group.d.ts +9 -9
- package/types/nanahoshi-mona-ui-button.d.ts +15 -15
- package/types/nanahoshi-mona-ui-calendar.d.ts +9 -9
- package/types/nanahoshi-mona-ui-card.d.ts +5 -5
- package/types/nanahoshi-mona-ui-chart.d.ts +7 -7
- package/types/nanahoshi-mona-ui-chat.d.ts +2 -2
- package/types/nanahoshi-mona-ui-check-box.d.ts +7 -7
- package/types/nanahoshi-mona-ui-chip.d.ts +9 -9
- package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +1 -1
- package/types/nanahoshi-mona-ui-collapsible.d.ts +2 -2
- package/types/nanahoshi-mona-ui-color-gradient.d.ts +7 -7
- package/types/nanahoshi-mona-ui-color-palette.d.ts +6 -6
- package/types/nanahoshi-mona-ui-color-picker.d.ts +9 -9
- package/types/nanahoshi-mona-ui-combo-box.d.ts +10 -10
- package/types/nanahoshi-mona-ui-command.d.ts +2 -2
- package/types/nanahoshi-mona-ui-contextmenu.d.ts +2 -2
- package/types/nanahoshi-mona-ui-date-input.d.ts +7 -7
- package/types/nanahoshi-mona-ui-date-picker.d.ts +12 -12
- package/types/nanahoshi-mona-ui-date-range-picker.d.ts +12 -12
- package/types/nanahoshi-mona-ui-datetime-picker.d.ts +13 -13
- package/types/nanahoshi-mona-ui-dialog.d.ts +8 -8
- package/types/nanahoshi-mona-ui-dropdown-button.d.ts +4 -4
- package/types/nanahoshi-mona-ui-dropdown-list.d.ts +9 -9
- package/types/nanahoshi-mona-ui-dropdown-tree.d.ts +9 -9
- package/types/nanahoshi-mona-ui-dropdowns.d.ts +9 -9
- package/types/nanahoshi-mona-ui-editor.d.ts +3 -3
- package/types/nanahoshi-mona-ui-expansion-panel.d.ts +4 -4
- package/types/nanahoshi-mona-ui-fieldset.d.ts +4 -4
- package/types/nanahoshi-mona-ui-file-upload.d.ts +1 -1
- package/types/nanahoshi-mona-ui-filter.d.ts +8 -8
- package/types/nanahoshi-mona-ui-grid.d.ts +50 -49
- package/types/nanahoshi-mona-ui-i18n.d.ts +2 -2
- package/types/nanahoshi-mona-ui-internal-filter-input.d.ts +1 -1
- package/types/nanahoshi-mona-ui-internal-list.d.ts +5 -5
- package/types/nanahoshi-mona-ui-internal-popup-menu.d.ts +1 -1
- package/types/nanahoshi-mona-ui-internal-tree.d.ts +2 -2
- package/types/nanahoshi-mona-ui-internal.d.ts +2 -2
- package/types/nanahoshi-mona-ui-kanban.d.ts +2 -2
- package/types/nanahoshi-mona-ui-list-box.d.ts +7 -7
- package/types/nanahoshi-mona-ui-list-view.d.ts +9 -9
- package/types/nanahoshi-mona-ui-locales.d.ts +1 -1
- package/types/nanahoshi-mona-ui-masked-text-box.d.ts +6 -6
- package/types/nanahoshi-mona-ui-menubar.d.ts +8 -8
- package/types/nanahoshi-mona-ui-multi-select-tree.d.ts +8 -8
- package/types/nanahoshi-mona-ui-multi-select.d.ts +11 -11
- package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +9 -9
- package/types/nanahoshi-mona-ui-otp-input.d.ts +7 -7
- package/types/nanahoshi-mona-ui-pager.d.ts +7 -7
- package/types/nanahoshi-mona-ui-placeholder.d.ts +2 -2
- package/types/nanahoshi-mona-ui-popover.d.ts +5 -5
- package/types/nanahoshi-mona-ui-popup-menu.d.ts +9 -9
- package/types/nanahoshi-mona-ui-popup.d.ts +4 -4
- package/types/nanahoshi-mona-ui-progress-bar.d.ts +5 -5
- package/types/nanahoshi-mona-ui-qr-code.d.ts +1 -1
- package/types/nanahoshi-mona-ui-radio-button.d.ts +8 -8
- package/types/nanahoshi-mona-ui-rating.d.ts +10 -10
- package/types/nanahoshi-mona-ui-scroll-view.d.ts +6 -6
- package/types/nanahoshi-mona-ui-segmented.d.ts +9 -9
- package/types/nanahoshi-mona-ui-separator.d.ts +1 -1
- package/types/nanahoshi-mona-ui-sheet.d.ts +4 -4
- package/types/nanahoshi-mona-ui-sidebar.d.ts +5 -5
- package/types/nanahoshi-mona-ui-skeleton.d.ts +3 -3
- package/types/nanahoshi-mona-ui-slider.d.ts +8 -8
- package/types/nanahoshi-mona-ui-sortable.d.ts +2 -2
- package/types/nanahoshi-mona-ui-sparkline.d.ts +1 -1
- package/types/nanahoshi-mona-ui-spinner.d.ts +6 -6
- package/types/nanahoshi-mona-ui-split-button.d.ts +10 -10
- package/types/nanahoshi-mona-ui-splitter.d.ts +3 -3
- package/types/nanahoshi-mona-ui-stepper.d.ts +6 -6
- package/types/nanahoshi-mona-ui-switch.d.ts +7 -7
- package/types/nanahoshi-mona-ui-tabs.d.ts +13 -13
- package/types/nanahoshi-mona-ui-text-area.d.ts +4 -4
- package/types/nanahoshi-mona-ui-text-box.d.ts +9 -9
- package/types/nanahoshi-mona-ui-theme.d.ts +107 -37
- package/types/nanahoshi-mona-ui-time-picker.d.ts +12 -12
- package/types/nanahoshi-mona-ui-time-selector.d.ts +8 -8
- package/types/nanahoshi-mona-ui-toolbar.d.ts +3 -3
- package/types/nanahoshi-mona-ui-tooltip.d.ts +6 -6
- package/types/nanahoshi-mona-ui-tree-view.d.ts +2 -2
- package/types/nanahoshi-mona-ui-window.d.ts +7 -7
- package/types/nanahoshi-mona-ui.d.ts +2 -1
- package/window/package.json +3 -2
package/time-picker/package.json
CHANGED
package/timeline/package.json
CHANGED
package/toolbar/package.json
CHANGED
package/tooltip/package.json
CHANGED
package/tree-view/package.json
CHANGED
|
@@ -50,7 +50,7 @@ export declare class AlertComponent {
|
|
|
50
50
|
* shape alone don't reach everyone.
|
|
51
51
|
* @default "info"
|
|
52
52
|
*/
|
|
53
|
-
readonly look: import("@angular/core").InputSignal<"error" | "info" | "
|
|
53
|
+
readonly look: import("@angular/core").InputSignal<"error" | "info" | "success" | "warning" | "neutral" | null | undefined>;
|
|
54
54
|
/**
|
|
55
55
|
* @description Shows the look's icon before the text. A `monaAlertIconTemplate` replaces the icon.
|
|
56
56
|
* @default true
|
|
@@ -138,7 +138,7 @@ export declare class AlertIconTemplateDirective {
|
|
|
138
138
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AlertIconTemplateDirective, "ng-template[monaAlertIconTemplate]", never, {}, {}, never, never, true, never>;
|
|
139
139
|
}
|
|
140
140
|
declare const alertThemeVariants: (props?: ({
|
|
141
|
-
look?: "error" | "info" | "
|
|
141
|
+
look?: "error" | "info" | "success" | "warning" | "neutral" | null | undefined;
|
|
142
142
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
143
143
|
type AlertVariantProps = VariantProps<typeof alertThemeVariants>;
|
|
144
144
|
export type { AlertAnnouncement, AlertVariantProps };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
+
import { MonaAutoCompleteMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { TemplateRef } from "@angular/core";
|
|
3
|
-
import { FormValueControl } from "@angular/forms/signals";
|
|
4
4
|
import { PreventableEvent } from "@nanahoshi/mona-ui/common";
|
|
5
|
+
import { VariantProps } from "class-variance-authority";
|
|
6
|
+
import { FormValueControl } from "@angular/forms/signals";
|
|
5
7
|
import { ListSizeInputType, SelectableOptions, SelectionChangeEvent } from "@nanahoshi/mona-ui/internal/list";
|
|
6
8
|
import * as i1 from "@nanahoshi/mona-ui/dropdowns";
|
|
7
9
|
import { AdaptiveMode, DropdownDataInput, DropdownFieldPredicateType, DropdownFieldSelectorType, DropdownPopupInput, DropdownPopupVariantInput } from "@nanahoshi/mona-ui/dropdowns";
|
|
8
10
|
import { PopupCloseEvent } from "@nanahoshi/mona-ui/popup";
|
|
9
11
|
import { Subject } from "rxjs";
|
|
10
|
-
import { VariantProps } from "class-variance-authority";
|
|
11
12
|
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
12
|
-
import { MonaAutoCompleteMessages } from "@nanahoshi/mona-ui/i18n";
|
|
13
13
|
declare const autoCompleteBaseThemeVariants: (props?: ({
|
|
14
14
|
disabled?: boolean | null | undefined;
|
|
15
15
|
expanded?: boolean | null | undefined;
|
|
16
16
|
focused?: boolean | null | undefined;
|
|
17
17
|
invalid?: boolean | null | undefined;
|
|
18
|
-
rounded?: "
|
|
19
|
-
size?: "small" | "
|
|
18
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
19
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
20
20
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
21
21
|
declare const autoCompleteTextInputThemeVariants: (props?: ({
|
|
22
|
-
rounded?: "
|
|
22
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
23
23
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
24
24
|
declare const autoCompleteAffixContainerThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
25
25
|
type AutoCompleteBaseVariantProps = VariantProps<typeof autoCompleteBaseThemeVariants>;
|
|
@@ -56,7 +56,7 @@ export declare class AutoCompleteComponent<TData = unknown> implements FormValue
|
|
|
56
56
|
protected readonly listId: string;
|
|
57
57
|
protected readonly listPopupClass: import("@angular/core").Signal<string>;
|
|
58
58
|
/** The list's size: large in a bottom sheet, for touch. */
|
|
59
|
-
protected readonly listSize: import("@angular/core").Signal<"small" | "
|
|
59
|
+
protected readonly listSize: import("@angular/core").Signal<"small" | "large" | "medium" | null | undefined>;
|
|
60
60
|
protected readonly messages: import("@angular/core").Signal<import("@nanahoshi/mona-ui/i18n").MonaAutoCompleteMessages>;
|
|
61
61
|
protected readonly noDataTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
62
62
|
protected readonly popupTemplate: import("@angular/core").Signal<TemplateRef<unknown>>;
|
|
@@ -187,7 +187,7 @@ export declare class AutoCompleteComponent<TData = unknown> implements FormValue
|
|
|
187
187
|
* @description Border-radius preset applied to the component.
|
|
188
188
|
* @default "medium"
|
|
189
189
|
*/
|
|
190
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
190
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
191
191
|
/**
|
|
192
192
|
* @description Displays a button that clears the current value when clicked. Unlike the other dropdowns, this
|
|
193
193
|
* defaults to `true`.
|
|
@@ -198,7 +198,7 @@ export declare class AutoCompleteComponent<TData = unknown> implements FormValue
|
|
|
198
198
|
* @description Size preset controlling the component's dimensions.
|
|
199
199
|
* @default "medium"
|
|
200
200
|
*/
|
|
201
|
-
readonly size: import("@angular/core").InputSignal<"small" | "
|
|
201
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
202
202
|
/**
|
|
203
203
|
* @description Property name or accessor used to derive the display text from a data item.
|
|
204
204
|
* If null, the item itself is used as the display text.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
import { ClassInputType } from "@nanahoshi/mona-ui/common";
|
|
2
3
|
import { VariantProps } from "class-variance-authority";
|
|
3
4
|
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* The shape every badge shares, the sidebar's included. The transparent border keeps the badge's edge in forced colors,
|
|
7
7
|
* where its fill doesn't paint.
|
|
@@ -10,9 +10,9 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
export declare const BADGE_BASE_CLASSES = "\n inline-flex w-fit shrink-0 items-center justify-center gap-1 whitespace-nowrap\n border border-transparent font-medium tabular-nums\n forced-colors:border-[CanvasText]\n [&>svg]:pointer-events-none [&>svg]:shrink-0\n";
|
|
11
11
|
declare const badgeThemeVariants: (props?: ({
|
|
12
12
|
fill?: "outline" | "solid" | "subtle" | null | undefined;
|
|
13
|
-
look?: "error" | "info" | "
|
|
14
|
-
rounded?: "
|
|
15
|
-
size?: "
|
|
13
|
+
look?: "error" | "info" | "success" | "warning" | "primary" | "secondary" | null | undefined;
|
|
14
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
15
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
16
16
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
17
17
|
type BadgeVariantProps = VariantProps<typeof badgeThemeVariants>;
|
|
18
18
|
type BadgeVariantInputs = VariantInputs<BadgeVariantProps>;
|
|
@@ -34,17 +34,17 @@ export declare class BadgeDirective implements BadgeVariantInputs {
|
|
|
34
34
|
* that in its text too, since color alone doesn't reach everyone.
|
|
35
35
|
* @default "secondary"
|
|
36
36
|
*/
|
|
37
|
-
readonly look: import("@angular/core").InputSignal<"error" | "info" | "
|
|
37
|
+
readonly look: import("@angular/core").InputSignal<"error" | "info" | "success" | "warning" | "primary" | "secondary" | null | undefined>;
|
|
38
38
|
/**
|
|
39
39
|
* @description Border-radius preset. `full` makes a pill, and a round dot for a single digit.
|
|
40
40
|
* @default "medium"
|
|
41
41
|
*/
|
|
42
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
42
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
43
43
|
/**
|
|
44
44
|
* @description Size preset controlling the badge's height, padding, text and icon size.
|
|
45
45
|
* @default "medium"
|
|
46
46
|
*/
|
|
47
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
47
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
48
48
|
/**
|
|
49
49
|
* @description Additional CSS classes merged onto the host element via `tailwind-merge`.
|
|
50
50
|
* @default ""
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { MonaBreadcrumbMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { ElementRef, TemplateRef } from "@angular/core";
|
|
3
|
-
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import {
|
|
5
|
+
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
6
6
|
declare const breadcrumbListThemeVariants: (props?: ({
|
|
7
7
|
disabled?: boolean | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ButtonDirective } from "@nanahoshi/mona-ui/button";
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
3
2
|
import { SelectionMode } from "@nanahoshi/mona-ui/common";
|
|
4
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
import { FormValueControl } from "@angular/forms/signals";
|
|
5
5
|
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
6
|
-
import
|
|
6
|
+
import { ButtonDirective } from "@nanahoshi/mona-ui/button";
|
|
7
7
|
/**
|
|
8
8
|
* What `mona-button-group` reports about a clicked button.
|
|
9
9
|
*/
|
|
@@ -16,9 +16,9 @@ interface ButtonGroupClickEvent<T = unknown> {
|
|
|
16
16
|
readonly value: T | undefined;
|
|
17
17
|
}
|
|
18
18
|
declare const buttonGroupThemeVariants: (props?: ({
|
|
19
|
-
look?: "
|
|
20
|
-
rounded?: "
|
|
21
|
-
size?: "
|
|
19
|
+
look?: "error" | "info" | "success" | "warning" | "default" | "primary" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
20
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
21
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
22
22
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
23
23
|
type ButtonGroupVariantProps = VariantProps<typeof buttonGroupThemeVariants>;
|
|
24
24
|
type ButtonGroupVariantsInput = VariantInputs<ButtonGroupVariantProps>;
|
|
@@ -86,7 +86,7 @@ export declare class ButtonGroupComponent<T = unknown> implements ButtonGroupVar
|
|
|
86
86
|
* Also controls container-level divider and border behavior.
|
|
87
87
|
* @default "outline"
|
|
88
88
|
*/
|
|
89
|
-
readonly look: import("@angular/core").InputSignal<"
|
|
89
|
+
readonly look: import("@angular/core").InputSignal<"error" | "info" | "success" | "warning" | "default" | "primary" | "outline" | "secondary" | "ghost" | null | undefined>;
|
|
90
90
|
/**
|
|
91
91
|
* @description Prevents selection changes while the buttons stay focusable. Buttons that aren't toggleable keep
|
|
92
92
|
* working. When bound to a signal form field via `[formField]`, this is written by the `FormField` directive.
|
|
@@ -97,7 +97,7 @@ export declare class ButtonGroupComponent<T = unknown> implements ButtonGroupVar
|
|
|
97
97
|
* @description Border-radius preset applied to the container and the outer corners of the first and last child button.
|
|
98
98
|
* @default "medium"
|
|
99
99
|
*/
|
|
100
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
100
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
101
101
|
/**
|
|
102
102
|
* @description Whether one button can be selected at a time (`"single"`) or each toggles on its own (`"multiple"`).
|
|
103
103
|
* The buttons stay toggle buttons with `aria-pressed` in both. For a choice that must always hold one value, use
|
|
@@ -109,7 +109,7 @@ export declare class ButtonGroupComponent<T = unknown> implements ButtonGroupVar
|
|
|
109
109
|
* @description Size preset propagated to all child buttons, overriding their individual `size` inputs.
|
|
110
110
|
* @default "medium"
|
|
111
111
|
*/
|
|
112
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
112
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
113
113
|
/**
|
|
114
114
|
* @description Emitted when a user changes the selection or focus leaves the group.
|
|
115
115
|
* The `FormField` directive listens to this to mark the field as touched.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
2
|
-
import { VariantProps } from "class-variance-authority";
|
|
3
1
|
import * as i0 from "@angular/core";
|
|
4
2
|
import { InjectionToken, Signal } from "@angular/core";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
4
|
import { Subject } from "rxjs";
|
|
5
|
+
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
6
6
|
/**
|
|
7
7
|
* Values accepted by the `aria-haspopup` input of `ButtonDirective`. `"false"` (the default) omits the attribute.
|
|
8
8
|
*/
|
|
@@ -11,9 +11,9 @@ declare const buttonThemeVariants: (props?: ({
|
|
|
11
11
|
disabled?: boolean | null | undefined;
|
|
12
12
|
iconOnly?: boolean | null | undefined;
|
|
13
13
|
loading?: boolean | null | undefined;
|
|
14
|
-
look?: "
|
|
15
|
-
rounded?: "
|
|
16
|
-
size?: "
|
|
14
|
+
look?: "clear" | "error" | "info" | "success" | "warning" | "link" | "default" | "primary" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
15
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
16
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
17
17
|
selected?: boolean | null | undefined;
|
|
18
18
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
19
19
|
type ButtonVariantProps = VariantProps<typeof buttonThemeVariants>;
|
|
@@ -21,14 +21,14 @@ type ButtonVariantsInput = VariantInputs<ButtonVariantProps>;
|
|
|
21
21
|
export declare class ButtonDirective implements ButtonVariantsInput {
|
|
22
22
|
#private;
|
|
23
23
|
protected readonly baseClass: import("@angular/core").Signal<string>;
|
|
24
|
-
protected readonly effectiveLook: import("@angular/core").Signal<"
|
|
25
|
-
protected readonly effectiveRounded: import("@angular/core").Signal<"
|
|
26
|
-
protected readonly effectiveSize: import("@angular/core").Signal<"
|
|
24
|
+
protected readonly effectiveLook: import("@angular/core").Signal<"clear" | "error" | "info" | "success" | "warning" | "link" | "default" | "primary" | "outline" | "secondary" | "ghost" | null | undefined>;
|
|
25
|
+
protected readonly effectiveRounded: import("@angular/core").Signal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
26
|
+
protected readonly effectiveSize: import("@angular/core").Signal<"small" | "large" | "medium" | null | undefined>;
|
|
27
27
|
/**
|
|
28
28
|
* A read-only group's toggle buttons keep focus, so they can't be natively disabled.
|
|
29
29
|
*/
|
|
30
30
|
protected readonly groupReadonly: import("@angular/core").Signal<boolean>;
|
|
31
|
-
protected readonly loadingSize: import("@angular/core").Signal<12 |
|
|
31
|
+
protected readonly loadingSize: import("@angular/core").Signal<12 | 14 | 16>;
|
|
32
32
|
/**
|
|
33
33
|
* @description Value forwarded to the `aria-haspopup` attribute. Set when this button triggers a popup, menu,
|
|
34
34
|
* listbox, tree, grid, or dialog. Omit or leave as `"false"` for plain action buttons.
|
|
@@ -72,13 +72,13 @@ export declare class ButtonDirective implements ButtonVariantsInput {
|
|
|
72
72
|
* toggle buttons.
|
|
73
73
|
* @default "default"
|
|
74
74
|
*/
|
|
75
|
-
readonly look: import("@angular/core").ModelSignal<"
|
|
75
|
+
readonly look: import("@angular/core").ModelSignal<"clear" | "error" | "info" | "success" | "warning" | "link" | "default" | "primary" | "outline" | "secondary" | "ghost" | null | undefined>;
|
|
76
76
|
/**
|
|
77
77
|
* @description Border-radius preset applied to the component.
|
|
78
78
|
* When inside a `ButtonGroup`, the group's value takes precedence.
|
|
79
79
|
* @default "medium"
|
|
80
80
|
*/
|
|
81
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
81
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
82
82
|
/**
|
|
83
83
|
* @description Whether the button is in the selected/pressed state. Drives `aria-pressed` when the button is toggleable.
|
|
84
84
|
* Managed by `toggleable` click handling or by `ButtonGroup` selection policy.
|
|
@@ -90,7 +90,7 @@ export declare class ButtonDirective implements ButtonVariantsInput {
|
|
|
90
90
|
* When inside a `ButtonGroup`, the group's value takes precedence.
|
|
91
91
|
* @default "medium"
|
|
92
92
|
*/
|
|
93
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
93
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
94
94
|
/**
|
|
95
95
|
* @description Tab index of the host element. Automatically overridden to `-1` when the button is disabled.
|
|
96
96
|
* Accepts a numeric string and converts it to a number; a value that is not a number falls back to `0`.
|
|
@@ -228,13 +228,13 @@ export declare class ButtonService {
|
|
|
228
228
|
/** Whether the group is disabled. Members are disabled while it is `true`, whatever their own `disabled` input. */
|
|
229
229
|
readonly groupDisabled: import("@angular/core").WritableSignal<boolean>;
|
|
230
230
|
/** The group's `look`, which members use in place of their own while it is set. */
|
|
231
|
-
readonly groupLook: import("@angular/core").WritableSignal<"
|
|
231
|
+
readonly groupLook: import("@angular/core").WritableSignal<"clear" | "error" | "info" | "success" | "warning" | "link" | "default" | "primary" | "outline" | "secondary" | "ghost" | null | undefined>;
|
|
232
232
|
/** Whether the group is read-only. Toggleable members then report `aria-disabled` and keep their selection. */
|
|
233
233
|
readonly groupReadonly: import("@angular/core").WritableSignal<boolean>;
|
|
234
234
|
/** The group's `rounded`, which members use in place of their own while it is set. */
|
|
235
|
-
readonly groupRounded: import("@angular/core").WritableSignal<"
|
|
235
|
+
readonly groupRounded: import("@angular/core").WritableSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
236
236
|
/** The group's `size`, which members use in place of their own while it is set. */
|
|
237
|
-
readonly groupSize: import("@angular/core").WritableSignal<"
|
|
237
|
+
readonly groupSize: import("@angular/core").WritableSignal<"small" | "large" | "medium" | null | undefined>;
|
|
238
238
|
/**
|
|
239
239
|
* Every click on a member, toggleable or not, reported after the group has applied its selection.
|
|
240
240
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CalendarView, DateDisabledType } from "@nanahoshi/mona-ui/date-input";
|
|
1
|
+
import { MonaCalendarMessages } from "@nanahoshi/mona-ui/i18n";
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
import { TemplateRef } from "@angular/core";
|
|
5
|
-
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
6
4
|
import { VariantProps } from "class-variance-authority";
|
|
7
|
-
import {
|
|
5
|
+
import { FormValueControl } from "@angular/forms/signals";
|
|
6
|
+
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
7
|
+
import { CalendarView, DateDisabledType } from "@nanahoshi/mona-ui/date-input";
|
|
8
8
|
interface DecadeCellTemplateContext {
|
|
9
9
|
/**
|
|
10
10
|
* @description The year interval of per decade.
|
|
@@ -82,7 +82,7 @@ interface MonthGrid {
|
|
|
82
82
|
declare const calendarBaseThemeVariants: (props?: ({
|
|
83
83
|
disabled?: boolean | null | undefined;
|
|
84
84
|
readonly?: boolean | null | undefined;
|
|
85
|
-
rounded?: "
|
|
85
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
86
86
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
87
87
|
declare const calendarHeaderThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
88
88
|
declare const calendarMonthViewDayThemeVariants: (props?: ({
|
|
@@ -91,7 +91,7 @@ declare const calendarMonthViewDayThemeVariants: (props?: ({
|
|
|
91
91
|
outside?: boolean | null | undefined;
|
|
92
92
|
rangeMiddle?: boolean | null | undefined;
|
|
93
93
|
rangePreview?: boolean | null | undefined;
|
|
94
|
-
rounded?: "
|
|
94
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
95
95
|
selected?: boolean | null | undefined;
|
|
96
96
|
today?: boolean | null | undefined;
|
|
97
97
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -100,12 +100,12 @@ declare const calendarMonthViewGridHeaderThemeVariants: (props?: import("class-v
|
|
|
100
100
|
declare const calendarYearViewGridThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
101
101
|
declare const calendarYearViewCellThemeVariants: (props?: ({
|
|
102
102
|
focused?: boolean | null | undefined;
|
|
103
|
-
rounded?: "
|
|
103
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
104
104
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
105
105
|
declare const calendarDecadeViewGridThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
106
106
|
declare const calendarDecadeViewCellThemeVariants: (props?: ({
|
|
107
107
|
focused?: boolean | null | undefined;
|
|
108
|
-
rounded?: "
|
|
108
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
109
109
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
110
110
|
type CalendarBaseVariantProps = VariantProps<typeof calendarBaseThemeVariants>;
|
|
111
111
|
type CalendarBaseVariantInput = VariantInputs<CalendarBaseVariantProps>;
|
|
@@ -248,7 +248,7 @@ export declare class CalendarComponent implements CalendarVariantInput, FormValu
|
|
|
248
248
|
* @description Sets the border radius of the calendar.
|
|
249
249
|
* @default "medium"
|
|
250
250
|
*/
|
|
251
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
251
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
252
252
|
/**
|
|
253
253
|
* @description Sets the selection mode of the calendar.
|
|
254
254
|
* @default "single"
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { TemplateRef } from "@angular/core";
|
|
3
|
-
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
4
|
-
import { VariantProps } from "class-variance-authority";
|
|
5
3
|
import { ClassInputType } from "@nanahoshi/mona-ui/common";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
6
6
|
export declare class CardContentDirective {
|
|
7
7
|
readonly templateRef: TemplateRef<any>;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardContentDirective, never>;
|
|
9
9
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CardContentDirective, "ng-template[monaCardContent]", never, {}, {}, never, never, true, never>;
|
|
10
10
|
}
|
|
11
11
|
declare const cardBaseThemeVariants: (props?: ({
|
|
12
|
-
rounded?: "small" | "
|
|
12
|
+
rounded?: "small" | "none" | "large" | "medium" | "xlarge" | "xxlarge" | null | undefined;
|
|
13
13
|
hasFooter?: boolean | null | undefined;
|
|
14
14
|
hasHeader?: boolean | null | undefined;
|
|
15
15
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -42,12 +42,12 @@ export declare class CardComponent implements CardVariantInput {
|
|
|
42
42
|
* content or `region` for a landmark.
|
|
43
43
|
* @default "group"
|
|
44
44
|
*/
|
|
45
|
-
readonly role: import("@angular/core").InputSignal<"
|
|
45
|
+
readonly role: import("@angular/core").InputSignal<"group" | "region" | "article">;
|
|
46
46
|
/**
|
|
47
47
|
* @description Controls the border radius applied to the card and its header/footer regions.
|
|
48
48
|
* @default "medium"
|
|
49
49
|
*/
|
|
50
|
-
readonly rounded: import("@angular/core").InputSignal<"small" | "
|
|
50
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "large" | "medium" | "xlarge" | "xxlarge" | null | undefined>;
|
|
51
51
|
/**
|
|
52
52
|
* @description Additional CSS classes merged onto the host element via `tailwind-merge`.
|
|
53
53
|
* @default ""
|
|
@@ -4189,7 +4189,7 @@ export declare class ChartComponent implements AfterContentChecked {
|
|
|
4189
4189
|
protected readonly normalizedDownsampling: Signal<NormalizedChartDownsamplingOptions>;
|
|
4190
4190
|
protected readonly normalizedNavigation: Signal<NormalizedChartNavigationOptions>;
|
|
4191
4191
|
protected readonly normalizedSynchronization: Signal<NormalizedChartSynchronizationOptions | null>;
|
|
4192
|
-
protected readonly plotOrder: Signal<
|
|
4192
|
+
protected readonly plotOrder: Signal<0 | 1>;
|
|
4193
4193
|
protected readonly plotSurfaceElement: Signal<ElementRef<HTMLElement> | undefined>;
|
|
4194
4194
|
protected readonly polarArcScene: Signal<PolarArcChartScene | null>;
|
|
4195
4195
|
protected readonly polarAxisScene: Signal<{
|
|
@@ -4408,13 +4408,13 @@ export declare class ChartComponent implements AfterContentChecked {
|
|
|
4408
4408
|
protected referenceLineLabelTop(line: SceneReferenceLine): number;
|
|
4409
4409
|
protected referenceLineLabelTransform(line: SceneReferenceLine): string;
|
|
4410
4410
|
protected resolveAnnotationRegistration(annId: string): ChartAnnotationRegistration | undefined;
|
|
4411
|
-
protected resolveAnnotationTemplate(annId: string):
|
|
4411
|
+
protected resolveAnnotationTemplate(annId: string): ChartAnnotationLabelTemplateDirective | undefined;
|
|
4412
4412
|
protected resolveAxisLabelTemplate(axisScene: ChartAxisScene): ChartAxisLabelTemplateDirective | undefined;
|
|
4413
4413
|
protected resolveCrosshairRegistration(): ChartCrosshairRegistration | null;
|
|
4414
4414
|
protected resolveReferenceBandRegistration(bandId: string): ChartReferenceBandRegistration | undefined;
|
|
4415
|
-
protected resolveReferenceBandTemplate(bandId: string):
|
|
4415
|
+
protected resolveReferenceBandTemplate(bandId: string): ChartReferenceLabelTemplateDirective | undefined;
|
|
4416
4416
|
protected resolveReferenceLineRegistration(lineId: string): ChartReferenceLineRegistration | undefined;
|
|
4417
|
-
protected resolveReferenceLineTemplate(lineId: string):
|
|
4417
|
+
protected resolveReferenceLineTemplate(lineId: string): ChartReferenceLabelTemplateDirective | undefined;
|
|
4418
4418
|
protected shouldShowSliceLabel(slice: SceneSectorSlice): boolean;
|
|
4419
4419
|
protected sliceContrastColor(slice: SceneSectorSlice): string;
|
|
4420
4420
|
protected sliceLabelContext(slice: SceneSectorSlice): ChartSliceLabelTemplateContext;
|
|
@@ -6813,7 +6813,7 @@ export declare class ChartLegendComponent implements OnInit {
|
|
|
6813
6813
|
protected readonly containerClasses: import("@angular/core").Signal<string>;
|
|
6814
6814
|
protected readonly gradientCss: import("@angular/core").Signal<string>;
|
|
6815
6815
|
protected readonly hostClasses: import("@angular/core").Signal<"flex flex-col justify-center flex-shrink-0" | "block w-full flex-shrink-0">;
|
|
6816
|
-
protected readonly hostOrder: import("@angular/core").Signal<
|
|
6816
|
+
protected readonly hostOrder: import("@angular/core").Signal<0 | 1>;
|
|
6817
6817
|
protected readonly isColorScaleMode: import("@angular/core").Signal<boolean>;
|
|
6818
6818
|
protected readonly isVertical: import("@angular/core").Signal<boolean>;
|
|
6819
6819
|
protected readonly itemTemplate: import("@angular/core").Signal<ChartLegendItemTemplateDirective | undefined>;
|
|
@@ -6888,8 +6888,8 @@ export declare class ChartTooltipComponent implements OnInit {
|
|
|
6888
6888
|
protected readonly placement: import("@angular/core").Signal<ChartTooltipPlacement>;
|
|
6889
6889
|
protected readonly tooltipClasses: import("@angular/core").Signal<string>;
|
|
6890
6890
|
protected readonly tooltipContainer: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
6891
|
-
protected readonly tooltipContext: import("@angular/core").Signal<
|
|
6892
|
-
protected readonly tooltipPosition: import("@angular/core").Signal<
|
|
6891
|
+
protected readonly tooltipContext: import("@angular/core").Signal<ChartTooltipTemplateContext<unknown> | null>;
|
|
6892
|
+
protected readonly tooltipPosition: import("@angular/core").Signal<ChartPoint | null>;
|
|
6893
6893
|
/**
|
|
6894
6894
|
* @description Whether the tooltip is enabled and will appear during interaction.
|
|
6895
6895
|
* @default true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { MonaChatMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { ElementRef, TemplateRef } from "@angular/core";
|
|
3
|
-
import { MonaChatMessages } from "@nanahoshi/mona-ui/i18n";
|
|
4
4
|
/** Someone taking part in a chat: the user, or someone they're talking to, a person or an assistant. */
|
|
5
5
|
interface ChatUser {
|
|
6
6
|
/** A picture of them, shown beside their messages. Without one, their initials are. */
|
|
@@ -109,7 +109,7 @@ declare class ChatComposerComponent {
|
|
|
109
109
|
#private;
|
|
110
110
|
protected readonly canSend: import("@angular/core").Signal<boolean>;
|
|
111
111
|
protected readonly composerClass = "flex flex-col gap-2 p-3";
|
|
112
|
-
protected readonly fieldClass = "\n flex items-end gap-1 rounded-xl p-1\n \n [background-color:var(--mona-effect-control-background-color,var(--color-input-background))]\n \n [background-image:var(--mona-effect-control-background-image,none)]\n [backdrop-filter:var(--mona-effect-control-backdrop-filter,none)]\n [-webkit-backdrop-filter:var(--mona-effect-control-backdrop-filter,none)]\n\n\n border border-input-border shadow-(--shadow-control)\n transition-[color,box-shadow,border] duration-(--mona-motion-standard) ease-in-out\n focus-within:border-focus-indicator focus-within:ring-
|
|
112
|
+
protected readonly fieldClass = "\n flex items-end gap-1 rounded-xl p-1\n \n [background-color:var(--mona-effect-control-background-color,var(--color-input-background))]\n \n [background-image:var(--mona-effect-control-background-image,none)]\n [backdrop-filter:var(--mona-effect-control-backdrop-filter,none)]\n [-webkit-backdrop-filter:var(--mona-effect-control-backdrop-filter,none)]\n\n\n border border-input-border shadow-(--shadow-control)\n transition-[color,box-shadow,border] duration-(--mona-motion-standard) ease-in-out\n focus-within:border-focus-indicator focus-within:ring-(length:--mona-focus-ring-width,2px) focus-within:ring-focus-indicator/(--mona-focus-ring-opacity,35%)\n data-[disabled]:cursor-not-allowed data-[disabled]:border-disabled-border data-[disabled]:bg-disabled-background\n data-[disabled]:shadow-none\n";
|
|
113
113
|
protected readonly fileClass = "\n flex max-w-full min-w-0 items-center gap-1.5 rounded-md border border-border bg-surface-muted\n py-0.5 ps-2 pe-0.5 text-xs\n";
|
|
114
114
|
protected readonly fileNameClass = "min-w-0 truncate";
|
|
115
115
|
protected readonly files: import("@angular/core").WritableSignal<readonly File[]>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { ElementRef } from "@angular/core";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
3
4
|
import { FormCheckboxControl } from "@angular/forms/signals";
|
|
4
5
|
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
5
|
-
import { VariantProps } from "class-variance-authority";
|
|
6
6
|
declare const checkmarkThemeVariants: (props?: ({
|
|
7
|
-
rounded?: "
|
|
7
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
9
|
declare const checkboxContainerLabelThemeVariants: (props?: ({
|
|
10
|
-
labelSize?: "
|
|
10
|
+
labelSize?: "small" | "large" | "medium" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
12
|
declare const checkboxDirectiveThemeVariants: (props?: ({
|
|
13
|
-
rounded?: "
|
|
13
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
14
14
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
15
|
type CheckboxVariantProps = VariantProps<typeof checkboxContainerLabelThemeVariants>;
|
|
16
16
|
type CheckboxVariantInput = VariantInputs<CheckboxVariantProps>;
|
|
@@ -103,7 +103,7 @@ export declare class CheckBoxComponent implements CheckboxVariantInput, Checkmar
|
|
|
103
103
|
* @description Controls the font size of the label text.
|
|
104
104
|
* @default "medium"
|
|
105
105
|
*/
|
|
106
|
-
readonly labelSize: import("@angular/core").InputSignal<"
|
|
106
|
+
readonly labelSize: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
107
107
|
/**
|
|
108
108
|
* @description Name of the native checkbox input, used in native form submission. When bound to a signal form field
|
|
109
109
|
* via `[formField]`, this is written by the `FormField` directive.
|
|
@@ -125,7 +125,7 @@ export declare class CheckBoxComponent implements CheckboxVariantInput, Checkmar
|
|
|
125
125
|
* @description Border-radius preset applied to the checkmark box.
|
|
126
126
|
* @default "medium"
|
|
127
127
|
*/
|
|
128
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
128
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
129
129
|
/**
|
|
130
130
|
* @description Tab index of the native checkbox input.
|
|
131
131
|
* @default 0
|
|
@@ -271,7 +271,7 @@ export declare class CheckboxDirective implements CheckboxDirectiveVariantInput
|
|
|
271
271
|
* @description Border-radius preset applied to the checkbox.
|
|
272
272
|
* @default "medium"
|
|
273
273
|
*/
|
|
274
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
274
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
275
275
|
/**
|
|
276
276
|
* @description Marks the checkbox as touched. Error styling is only shown when both `invalid` and `touched` are `true`.
|
|
277
277
|
* @default false
|