@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
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MonaProgressBarMessages } from "@nanahoshi/mona-ui/i18n";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { TemplateRef } from "@angular/core";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import {
|
|
5
|
+
import { Action, VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
6
6
|
export interface LabelTemplateContext {
|
|
7
7
|
$implicit: number;
|
|
8
8
|
max: number;
|
|
@@ -21,12 +21,12 @@ export declare class ProgressBarLabelTemplateDirective {
|
|
|
21
21
|
}
|
|
22
22
|
export type LabelPosition = "start" | "center" | "end";
|
|
23
23
|
declare const progressBarBaseThemeVariants: (props?: ({
|
|
24
|
-
rounded?: "
|
|
24
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
25
25
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
26
26
|
declare const progressBarIndeterminateThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
27
27
|
declare const progressBarLabelThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
28
28
|
declare const progressBarTrackThemeVariants: (props?: ({
|
|
29
|
-
rounded?: "
|
|
29
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
30
30
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
31
31
|
type ProgressBarBaseVariantProps = VariantProps<typeof progressBarBaseThemeVariants>;
|
|
32
32
|
type ProgressBarBaseVariantInput = VariantInputs<ProgressBarBaseVariantProps>;
|
|
@@ -125,7 +125,7 @@ export declare class ProgressBarComponent implements ProgressBarVariantInput {
|
|
|
125
125
|
* @description Border-radius preset applied to the bar.
|
|
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 Additional CSS classes merged onto the host element via `tailwind-merge`.
|
|
131
131
|
* @default ""
|
|
@@ -1,23 +1,23 @@
|
|
|
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 { FormValueControl } from "@angular/forms/signals";
|
|
4
5
|
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
5
|
-
import { VariantProps } from "class-variance-authority";
|
|
6
6
|
declare const radioGroupThemeVariants: (props?: ({
|
|
7
7
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
9
|
type RadioGroupVariantProps = VariantProps<typeof radioGroupThemeVariants>;
|
|
10
10
|
declare const radioButtonCircleThemeVariants: (props?: ({
|
|
11
|
-
rounded?: "
|
|
11
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
13
|
declare const radioButtonIndicatorThemeVariants: (props?: ({
|
|
14
|
-
rounded?: "
|
|
14
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
15
15
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
16
16
|
declare const radioButtonContainerLabelThemeVariants: (props?: ({
|
|
17
|
-
labelSize?: "
|
|
17
|
+
labelSize?: "small" | "large" | "medium" | null | undefined;
|
|
18
18
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
19
19
|
declare const radioButtonDirectiveThemeVariants: (props?: ({
|
|
20
|
-
rounded?: "
|
|
20
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
21
21
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
22
22
|
type RadioButtonContainerLabelVariantProps = VariantProps<typeof radioButtonContainerLabelThemeVariants>;
|
|
23
23
|
type RadioButtonContainerLabelVariantInput = VariantInputs<RadioButtonContainerLabelVariantProps>;
|
|
@@ -107,7 +107,7 @@ export declare class RadioButtonComponent<T = unknown> implements RadioButtonVar
|
|
|
107
107
|
* @description Font size applied to the label text.
|
|
108
108
|
* @default "medium"
|
|
109
109
|
*/
|
|
110
|
-
readonly labelSize: import("@angular/core").InputSignal<"
|
|
110
|
+
readonly labelSize: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
111
111
|
/**
|
|
112
112
|
* @description HTML `name` attribute forwarded to the native input.
|
|
113
113
|
* Radio buttons that share the same `name` form a mutually exclusive group in the browser.
|
|
@@ -138,7 +138,7 @@ export declare class RadioButtonComponent<T = unknown> implements RadioButtonVar
|
|
|
138
138
|
* @description Sets the border radius of the radio button circle and indicator.
|
|
139
139
|
* @default "full"
|
|
140
140
|
*/
|
|
141
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
141
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
142
142
|
/**
|
|
143
143
|
* @description Emits when the radio button loses focus or is selected.
|
|
144
144
|
*/
|
|
@@ -427,7 +427,7 @@ export declare class RadioButtonDirective implements RadioButtonDirectiveInput {
|
|
|
427
427
|
* @description Sets the border radius of the radio button.
|
|
428
428
|
* @default "full"
|
|
429
429
|
*/
|
|
430
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
430
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
431
431
|
/**
|
|
432
432
|
* @description Marks the radio button as touched. Error styling is only shown when both `invalid` and `touched` are `true`.
|
|
433
433
|
* @default false
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { MonaRatingMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { ElementRef, TemplateRef } from "@angular/core";
|
|
3
|
-
import { FormValueControl } from "@angular/forms/signals";
|
|
4
|
-
import { LucideCircle, LucideDiamond, LucideFlame, LucideHeart, LucideStar } from "@lucide/angular";
|
|
5
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import { FormValueControl } from "@angular/forms/signals";
|
|
6
6
|
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
7
|
-
import {
|
|
7
|
+
import { LucideCircle, LucideDiamond, LucideFlame, LucideHeart, LucideStar } from "@lucide/angular";
|
|
8
8
|
/**
|
|
9
9
|
* @description Rendering context passed to the default, selected, and hovered item templates.
|
|
10
10
|
*/
|
|
@@ -57,20 +57,20 @@ type RatingPrecision = "item" | "half";
|
|
|
57
57
|
type RatingSelectionMode = "continuous" | "single";
|
|
58
58
|
declare const ratingContainerThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
59
59
|
declare const ratingControlThemeVariants: (props?: ({
|
|
60
|
-
size?: "small" | "
|
|
60
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
61
61
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
62
62
|
declare const ratingItemThemeVariants: (props?: ({
|
|
63
|
-
size?: "small" | "
|
|
63
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
64
64
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
65
65
|
declare const ratingIconThemeVariants: (props?: ({
|
|
66
|
-
size?: "small" | "
|
|
66
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
67
67
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
68
68
|
declare const ratingOverlayClipThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
69
69
|
declare const ratingOverlayContentThemeVariants: (props?: ({
|
|
70
|
-
size?: "small" | "
|
|
70
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
71
71
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
72
72
|
declare const ratingLabelThemeVariants: (props?: ({
|
|
73
|
-
size?: "small" | "
|
|
73
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
74
74
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
75
75
|
type RatingContainerVariantProps = VariantProps<typeof ratingContainerThemeVariants>;
|
|
76
76
|
type RatingContainerVariantInput = VariantInputs<RatingContainerVariantProps>;
|
|
@@ -94,7 +94,7 @@ interface RatingItemDescriptor {
|
|
|
94
94
|
}
|
|
95
95
|
export declare class RatingComponent implements RatingVariantInput, FormValueControl<number> {
|
|
96
96
|
#private;
|
|
97
|
-
protected readonly activeState: import("@angular/core").Signal<"
|
|
97
|
+
protected readonly activeState: import("@angular/core").Signal<"selected" | "hovered">;
|
|
98
98
|
protected readonly containerClasses: import("@angular/core").Signal<string>;
|
|
99
99
|
protected readonly controlClasses: import("@angular/core").Signal<string>;
|
|
100
100
|
protected readonly controlElement: import("@angular/core").Signal<ElementRef<HTMLElement>>;
|
|
@@ -225,7 +225,7 @@ export declare class RatingComponent implements RatingVariantInput, FormValueCon
|
|
|
225
225
|
* typography.
|
|
226
226
|
* @default "medium"
|
|
227
227
|
*/
|
|
228
|
-
readonly size: import("@angular/core").InputSignal<"small" | "
|
|
228
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
229
229
|
/**
|
|
230
230
|
* @description Tab index applied to the focusable rating control when not disabled. Accepts a
|
|
231
231
|
* numeric string and converts it to a number.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { MonaScrollViewMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { ElementRef, Signal, TemplateRef } from "@angular/core";
|
|
3
4
|
import { ScrollDirection } from "@nanahoshi/mona-ui/common";
|
|
4
5
|
import { VariantProps } from "class-variance-authority";
|
|
5
6
|
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
6
|
-
import { MonaScrollViewMessages } from "@nanahoshi/mona-ui/i18n";
|
|
7
7
|
export interface ScrollViewSlideContext<T = unknown> {
|
|
8
8
|
$implicit: T;
|
|
9
9
|
height: number;
|
|
@@ -36,7 +36,7 @@ interface ScrollViewListItem {
|
|
|
36
36
|
data: unknown;
|
|
37
37
|
}
|
|
38
38
|
declare const scrollViewBaseThemeVariants: (props?: ({
|
|
39
|
-
rounded?: "small" | "
|
|
39
|
+
rounded?: "small" | "none" | "large" | "medium" | null | undefined;
|
|
40
40
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
41
41
|
declare const scrollViewContentThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
42
42
|
declare const scrollViewArrowThemeVariants: (props?: ({
|
|
@@ -50,7 +50,7 @@ declare const scrollViewPagerListContainerThemeVariants: (props?: import("class-
|
|
|
50
50
|
declare const scrollViewPagerListThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
51
51
|
declare const scrollViewPagerListItemThemeVariants: (props?: ({
|
|
52
52
|
active?: boolean | null | undefined;
|
|
53
|
-
pagerRounded?: "small" | "
|
|
53
|
+
pagerRounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
54
54
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
55
55
|
declare const scrollViewPagerArrowThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
56
56
|
type ScrollViewBaseVariantProps = VariantProps<typeof scrollViewBaseThemeVariants>;
|
|
@@ -79,7 +79,7 @@ export declare class ScrollViewComponent implements ScrollViewVariantInput {
|
|
|
79
79
|
protected readonly contentElementRef: Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
80
80
|
protected readonly contentTemplate: Signal<TemplateRef<any> | undefined>;
|
|
81
81
|
protected readonly enterAnimation: Signal<"slide-in-from-right" | "slide-in-from-left">;
|
|
82
|
-
protected readonly hostRole: Signal<"
|
|
82
|
+
protected readonly hostRole: Signal<"group" | "region">;
|
|
83
83
|
protected readonly isRtl: Signal<boolean>;
|
|
84
84
|
protected readonly itemCount: Signal<number>;
|
|
85
85
|
protected readonly leaveAnimation: Signal<"slide-out-to-left" | "slide-out-to-right">;
|
|
@@ -168,12 +168,12 @@ export declare class ScrollViewComponent implements ScrollViewVariantInput {
|
|
|
168
168
|
* @description Sets the border radius of the pager items.
|
|
169
169
|
* @default "medium"
|
|
170
170
|
*/
|
|
171
|
-
readonly pagerRounded: import("@angular/core").InputSignal<"small" | "
|
|
171
|
+
readonly pagerRounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
172
172
|
/**
|
|
173
173
|
* @description Sets the border radius of the scroll view.
|
|
174
174
|
* @default "medium"
|
|
175
175
|
*/
|
|
176
|
-
readonly rounded: import("@angular/core").InputSignal<"small" | "
|
|
176
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "large" | "medium" | null | undefined>;
|
|
177
177
|
/**
|
|
178
178
|
* @description Sets custom CSS classes on the component host element. Merged with base classes via tailwind-merge.
|
|
179
179
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { ElementRef, TemplateRef } from "@angular/core";
|
|
3
|
-
import { FormValueControl } from "@angular/forms/signals";
|
|
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
6
|
interface SegmentedIndicatorGeometry {
|
|
7
7
|
height: number;
|
|
@@ -40,13 +40,13 @@ interface SegmentedItemTemplateContext<T extends SegmentedValue = SegmentedValue
|
|
|
40
40
|
readonly selected: boolean;
|
|
41
41
|
}
|
|
42
42
|
declare const segmentedContainerThemeVariants: (props?: ({
|
|
43
|
-
alignment?: "
|
|
44
|
-
rounded?: "
|
|
43
|
+
alignment?: "end" | "start" | "center" | "stretch" | null | undefined;
|
|
44
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
45
45
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
46
46
|
declare const segmentedOptionThemeVariants: (props?: ({
|
|
47
|
-
alignment?: "
|
|
48
|
-
rounded?: "
|
|
49
|
-
size?: "small" | "
|
|
47
|
+
alignment?: "end" | "start" | "center" | "stretch" | null | undefined;
|
|
48
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
49
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
50
50
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
51
51
|
type SegmentedContainerVariantProps = VariantProps<typeof segmentedContainerThemeVariants>;
|
|
52
52
|
type SegmentedContainerVariantInput = VariantInputs<SegmentedContainerVariantProps>;
|
|
@@ -79,7 +79,7 @@ export declare class SegmentedComponent<T extends SegmentedValue = SegmentedValu
|
|
|
79
79
|
* @description Controls the alignment of the items inside the segmented component.
|
|
80
80
|
* @default "stretch"
|
|
81
81
|
*/
|
|
82
|
-
readonly alignment: import("@angular/core").InputSignal<"
|
|
82
|
+
readonly alignment: import("@angular/core").InputSignal<"end" | "start" | "center" | "stretch" | null | undefined>;
|
|
83
83
|
/**
|
|
84
84
|
* @description Controls whether the selection indicator animates between selected options.
|
|
85
85
|
* When false, selection changes are applied immediately without transition.
|
|
@@ -138,12 +138,12 @@ export declare class SegmentedComponent<T extends SegmentedValue = SegmentedValu
|
|
|
138
138
|
* @description Border-radius preset applied to the segmented container and its options.
|
|
139
139
|
* @default "medium"
|
|
140
140
|
*/
|
|
141
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
141
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
142
142
|
/**
|
|
143
143
|
* @description Size preset controlling the height, horizontal padding, text size, and spacing of each option.
|
|
144
144
|
* @default "medium"
|
|
145
145
|
*/
|
|
146
|
-
readonly size: import("@angular/core").InputSignal<"small" | "
|
|
146
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
147
147
|
/**
|
|
148
148
|
* @description Emitted when the selected value changes or focus leaves the group.
|
|
149
149
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ClassInputType } from "@nanahoshi/mona-ui/common";
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
import { ClassInputType } from "@nanahoshi/mona-ui/common";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
/**
|
|
5
5
|
* A thin line between groups of content, across a column or down a row, with an optional label in its middle. Like an
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ClassInputType } from "@nanahoshi/mona-ui/common";
|
|
2
1
|
import { MonaSheetMessages } from "@nanahoshi/mona-ui/i18n";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { ClassInputType } from "@nanahoshi/mona-ui/common";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
3
5
|
import { PopupCloseEvent } from "@nanahoshi/mona-ui/popup";
|
|
4
6
|
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
5
|
-
import { VariantProps } from "class-variance-authority";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Edge the sheet opens from. `left` and `right` are physical, whatever the direction; `start` and `end` follow it
|
|
9
9
|
* (`start` is the left edge in LTR and the right edge in RTL).
|
|
@@ -17,7 +17,7 @@ type SheetPhysicalSide = "bottom" | "left" | "right" | "top";
|
|
|
17
17
|
* still has the sheet translated off-screen, which cancels the animation. `clip` cannot scroll.
|
|
18
18
|
*/
|
|
19
19
|
declare const sheetBaseVariants: (props?: ({
|
|
20
|
-
side?: "
|
|
20
|
+
side?: "top" | "left" | "right" | "bottom" | null | undefined;
|
|
21
21
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
22
22
|
type SheetVariantProps = VariantProps<typeof sheetBaseVariants>;
|
|
23
23
|
type SheetVariantInput = VariantInputs<SheetVariantProps>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MonaSidebarMessages } from "@nanahoshi/mona-ui/i18n";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { EnvironmentProviders, InjectionToken, Signal } from "@angular/core";
|
|
4
|
+
import { ClassInputType } from "@nanahoshi/mona-ui/common";
|
|
5
|
+
import * as i1 from "@nanahoshi/mona-ui/button";
|
|
4
6
|
import * as i1$2 from "@angular/cdk/a11y";
|
|
5
7
|
import * as i1$1 from "@nanahoshi/mona-ui/text-box";
|
|
6
|
-
import * as i1 from "@nanahoshi/mona-ui/button";
|
|
7
|
-
import { MonaSidebarMessages } from "@nanahoshi/mona-ui/i18n";
|
|
8
8
|
/**
|
|
9
9
|
* How the sidebar behaves when it is collapsed.
|
|
10
10
|
*
|
|
@@ -59,12 +59,12 @@ export declare class SidebarComponent {
|
|
|
59
59
|
protected readonly hidden: import("@angular/core").Signal<boolean>;
|
|
60
60
|
protected readonly iconOnly: import("@angular/core").Signal<boolean>;
|
|
61
61
|
/** Published rather than the raw input, so a `left`/`right` alias still reports as `start`/`end`. */
|
|
62
|
-
protected readonly logicalSide: import("@angular/core").Signal<
|
|
62
|
+
protected readonly logicalSide: import("@angular/core").Signal<SidebarLogicalSide>;
|
|
63
63
|
/** A drawer scoped to its layout leaves what's around that usable, so it can't claim to be modal. */
|
|
64
64
|
protected readonly modal: import("@angular/core").Signal<boolean>;
|
|
65
65
|
protected readonly offCanvasClosed: import("@angular/core").Signal<boolean>;
|
|
66
66
|
protected readonly physicalSide: import("@angular/core").Signal<"left" | "right">;
|
|
67
|
-
protected readonly railOpensToward: import("@angular/core").Signal<"
|
|
67
|
+
protected readonly railOpensToward: import("@angular/core").Signal<"end" | "start">;
|
|
68
68
|
protected readonly railTooltipText: (element: HTMLElement) => string;
|
|
69
69
|
/** A drawer is a modal surface; a docked sidebar keeps whatever role the consumer gave it. */
|
|
70
70
|
protected readonly resolvedRole: import("@angular/core").Signal<string | null>;
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
declare const skeletonBaseThemeVariants: (props?: ({
|
|
6
|
-
rounded?: "small" | "
|
|
6
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
type SkeletonVariantProps = VariantProps<typeof skeletonBaseThemeVariants>;
|
|
9
9
|
type SkeletonVariantInput = VariantInputs<SkeletonVariantProps>;
|
|
@@ -28,7 +28,7 @@ export declare class SkeletonComponent implements SkeletonVariantInput {
|
|
|
28
28
|
* @description Border-radius preset applied to the placeholder.
|
|
29
29
|
* @default "medium"
|
|
30
30
|
*/
|
|
31
|
-
readonly rounded: import("@angular/core").InputSignal<"small" | "
|
|
31
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
32
32
|
/**
|
|
33
33
|
* @description Additional CSS classes merged onto the host element via `tailwind-merge`.
|
|
34
34
|
* @default ""
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { MonaI18nService, MonaSliderMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { DestroyRef, ElementRef, NgZone, Signal, TemplateRef } from "@angular/core";
|
|
3
|
-
import { FormValueControl } from "@angular/forms/signals";
|
|
4
4
|
import { Orientation } from "@nanahoshi/mona-ui/common";
|
|
5
|
-
import { MonaI18nService, MonaSliderMessages } from "@nanahoshi/mona-ui/i18n";
|
|
6
|
-
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
7
5
|
import { VariantProps } from "class-variance-authority";
|
|
6
|
+
import { FormValueControl } from "@angular/forms/signals";
|
|
7
|
+
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
8
8
|
interface LabelStyleArgs {
|
|
9
9
|
direction: "ltr" | "rtl";
|
|
10
10
|
labelPosition: "before" | "after";
|
|
@@ -29,7 +29,7 @@ interface TickStyleArgs {
|
|
|
29
29
|
}
|
|
30
30
|
declare const sliderBaseThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
31
31
|
declare const sliderTrackThemeVariants: (props?: ({
|
|
32
|
-
rounded?: "
|
|
32
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
33
33
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
34
34
|
declare const sliderSelectionThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
35
35
|
declare const sliderTickListThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
@@ -37,7 +37,7 @@ declare const sliderTickThemeVariants: (props?: import("class-variance-authority
|
|
|
37
37
|
declare const sliderTickLabelListThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
38
38
|
declare const sliderTickLabelThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
39
39
|
declare const sliderHandleThemeVariants: (props?: ({
|
|
40
|
-
rounded?: "
|
|
40
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
41
41
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
42
42
|
type SliderBaseVariantProps = VariantProps<typeof sliderBaseThemeVariants>;
|
|
43
43
|
type SliderBaseVariantInputs = VariantInputs<SliderBaseVariantProps>;
|
|
@@ -182,7 +182,7 @@ declare abstract class SliderBaseComponent implements SliderVariantInputs {
|
|
|
182
182
|
* @description Border-radius preset applied to the slider handle.
|
|
183
183
|
* @default "full"
|
|
184
184
|
*/
|
|
185
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
185
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
186
186
|
/**
|
|
187
187
|
* @description Background color of the filled selection area between the minimum and the current value. Accepts a CSS color string or a `CSSStyleDeclaration` partial.
|
|
188
188
|
* @default null
|
|
@@ -390,7 +390,7 @@ export declare class SliderComponent extends SliderBaseComponent implements Form
|
|
|
390
390
|
protected readonly handleFocused: import("@angular/core").WritableSignal<boolean>;
|
|
391
391
|
protected readonly handlePosition: Signal<number>;
|
|
392
392
|
protected readonly handleStyle: Signal<Partial<CSSStyleDeclaration>>;
|
|
393
|
-
protected readonly messages: Signal<
|
|
393
|
+
protected readonly messages: Signal<MonaSliderMessages>;
|
|
394
394
|
protected readonly normalizedValue: Signal<number>;
|
|
395
395
|
protected readonly selectionLeft: Signal<number>;
|
|
396
396
|
protected readonly selectionRight: Signal<number>;
|
|
@@ -454,7 +454,7 @@ export declare class RangeSliderComponent extends SliderBaseComponent implements
|
|
|
454
454
|
protected readonly endLabelledBy: Signal<string | null>;
|
|
455
455
|
protected readonly handlePositions: Signal<[number, number]>;
|
|
456
456
|
protected readonly handlesOverlap: Signal<boolean>;
|
|
457
|
-
protected readonly messages: Signal<
|
|
457
|
+
protected readonly messages: Signal<MonaSliderMessages>;
|
|
458
458
|
protected readonly normalizedValue: Signal<[number, number]>;
|
|
459
459
|
protected readonly primaryHandleFocused: import("@angular/core").WritableSignal<boolean>;
|
|
460
460
|
protected readonly primaryHandlePosition: Signal<number>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MonaSortableMessages } from "@nanahoshi/mona-ui/i18n";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import { PreventableEvent } from "@nanahoshi/mona-ui/common";
|
|
3
4
|
import * as i1 from "@angular/cdk/drag-drop";
|
|
4
|
-
import { MonaSortableMessages } from "@nanahoshi/mona-ui/i18n";
|
|
5
5
|
/**
|
|
6
6
|
* A move of an item, by pointer or keyboard, within a sortable list or into another list of its group. The list the
|
|
7
7
|
* item lands in emits it. Call `preventDefault()` to refuse the move: the lists then don't emit their new items, and
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
1
|
import { MonaSparklineMessages } from "@nanahoshi/mona-ui/i18n";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* How a line or an area sparkline joins its values, as a chart's line series does: `"linear"` with straight segments,
|
|
5
5
|
* `"monotone-x"` with a smooth curve that never swings past the values, `"natural"` with a smoother curve that can,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { LucideLoader } from "@lucide/angular";
|
|
2
|
-
import { ClassInputType } from "@nanahoshi/mona-ui/common";
|
|
3
|
-
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
5
1
|
import * as i0 from "@angular/core";
|
|
6
2
|
import { ElementRef, OnDestroy } from "@angular/core";
|
|
3
|
+
import { ClassInputType } from "@nanahoshi/mona-ui/common";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
7
5
|
import { Observable } from "rxjs";
|
|
6
|
+
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
7
|
+
import { LucideLoader } from "@lucide/angular";
|
|
8
8
|
export declare const SPINNER_DEFAULT_MESSAGES: {
|
|
9
9
|
cancel: string;
|
|
10
10
|
loading: string;
|
|
@@ -12,7 +12,7 @@ export declare const SPINNER_DEFAULT_MESSAGES: {
|
|
|
12
12
|
type SpinnerAppearance = "default" | "pulsing" | "pulsing-triad" | "pulsing-ring" | "converging-spinner";
|
|
13
13
|
type SpinnerSize = "small" | "medium" | "large";
|
|
14
14
|
declare const spinnerThemeVariants: (props?: ({
|
|
15
|
-
size?: "small" | "
|
|
15
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
16
16
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
17
17
|
type SpinnerVariantProps = VariantProps<typeof spinnerThemeVariants>;
|
|
18
18
|
type SpinnerVariantInput = VariantInputs<SpinnerVariantProps>;
|
|
@@ -27,7 +27,7 @@ export declare class SpinnerComponent implements SpinnerVariantInput {
|
|
|
27
27
|
protected readonly baseClass: import("@angular/core").Signal<string>;
|
|
28
28
|
protected readonly loaderIcon: typeof LucideLoader;
|
|
29
29
|
protected readonly messages: import("@angular/core").Signal<import("@nanahoshi/mona-ui/i18n").MonaSpinnerMessages>;
|
|
30
|
-
protected readonly pixelSize: import("@angular/core").Signal<12 |
|
|
30
|
+
protected readonly pixelSize: import("@angular/core").Signal<12 | 16 | 24>;
|
|
31
31
|
/**
|
|
32
32
|
* @description Visual appearance of the spinner animation.
|
|
33
33
|
* @default "default"
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import { MonaSplitButtonMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { ElementRef, TemplateRef } from "@angular/core";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
3
6
|
import { ButtonDirective, ButtonGroupMember } from "@nanahoshi/mona-ui/button";
|
|
4
7
|
import { PopupMenuCheckboxItemComponent, PopupMenuComponent, PopupMenuGroupComponent, PopupMenuGroupTemplateDirective, PopupMenuIconTemplateDirective, PopupMenuItemClickEvent, PopupMenuItemComponent, PopupMenuRadioGroupComponent, PopupMenuRadioItemComponent, PopupMenuSeparatorComponent, PopupMenuShortcutTemplateDirective, PopupMenuTextTemplateDirective } from "@nanahoshi/mona-ui/popup-menu";
|
|
5
|
-
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
6
|
-
import { VariantProps } from "class-variance-authority";
|
|
7
8
|
import { PopupMenuOrigin, PopupMenuTemplateOrigin } from "@nanahoshi/mona-ui/internal/popup-menu";
|
|
8
|
-
import { MonaSplitButtonMessages } from "@nanahoshi/mona-ui/i18n";
|
|
9
9
|
declare const splitButtonThemeVariants: (props?: ({
|
|
10
|
-
look?: "
|
|
11
|
-
rounded?: "
|
|
12
|
-
size?: "
|
|
10
|
+
look?: "error" | "info" | "success" | "warning" | "default" | "primary" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
11
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
12
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
13
13
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
14
|
type SplitButtonVariantProps = VariantProps<typeof splitButtonThemeVariants>;
|
|
15
15
|
type SplitButtonVariantInputs = VariantInputs<SplitButtonVariantProps>;
|
|
@@ -31,7 +31,7 @@ export declare class SplitButtonComponent implements ButtonGroupMember, SplitBut
|
|
|
31
31
|
protected readonly menuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
32
32
|
protected readonly messages: import("@angular/core").Signal<import("@nanahoshi/mona-ui/i18n").MonaSplitButtonMessages>;
|
|
33
33
|
protected readonly popupMenuRef: import("@angular/core").Signal<PopupMenuComponent | undefined>;
|
|
34
|
-
protected readonly popupMenuRounded: import("@angular/core").Signal<"
|
|
34
|
+
protected readonly popupMenuRounded: import("@angular/core").Signal<"small" | "none" | "large" | "medium" | null | undefined>;
|
|
35
35
|
protected readonly shortcutTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
36
36
|
protected readonly textTemplate: import("@angular/core").Signal<TemplateRef<any> | undefined>;
|
|
37
37
|
/**
|
|
@@ -78,7 +78,7 @@ export declare class SplitButtonComponent implements ButtonGroupMember, SplitBut
|
|
|
78
78
|
* @description Visual style preset applied to the button.
|
|
79
79
|
* @default "default"
|
|
80
80
|
*/
|
|
81
|
-
readonly look: import("@angular/core").InputSignal<"
|
|
81
|
+
readonly look: import("@angular/core").InputSignal<"error" | "info" | "success" | "warning" | "default" | "primary" | "outline" | "secondary" | "ghost" | null | undefined>;
|
|
82
82
|
/**
|
|
83
83
|
* @description Accessible name for the menu toggle button.
|
|
84
84
|
* If not provided, it's the localized "More {text} options", or "Show menu options" when the main button has no
|
|
@@ -100,12 +100,12 @@ export declare class SplitButtonComponent implements ButtonGroupMember, SplitBut
|
|
|
100
100
|
* @description Border-radius preset applied to the button.
|
|
101
101
|
* @default "medium"
|
|
102
102
|
*/
|
|
103
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
103
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
104
104
|
/**
|
|
105
105
|
* @description Size preset controlling the button's dimensions.
|
|
106
106
|
* @default "medium"
|
|
107
107
|
*/
|
|
108
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
108
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
109
109
|
/**
|
|
110
110
|
* @description Primary text content displayed in the main action button.
|
|
111
111
|
* Ignored when a `monaSplitButtonTextTemplate` is provided.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { VariantProps } from "class-variance-authority";
|
|
1
|
+
import { MonaSplitterMessages } from "@nanahoshi/mona-ui/i18n";
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
import { TemplateRef } from "@angular/core";
|
|
5
|
-
import {
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
6
6
|
declare const splitterBaseThemeVariants: (props?: ({
|
|
7
7
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
8
8
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MonaStepperMessages } from "@nanahoshi/mona-ui/i18n";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { ElementRef, Signal, TemplateRef } from "@angular/core";
|
|
4
|
-
import {
|
|
4
|
+
import { PreventableEvent } from "@nanahoshi/mona-ui/common";
|
|
5
5
|
import { VariantProps } from "class-variance-authority";
|
|
6
|
-
import {
|
|
6
|
+
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
7
7
|
interface StepOptions<T = unknown> {
|
|
8
8
|
/**
|
|
9
9
|
* @description Whether the step is finished. When left unset, the steps before the current one count as completed.
|
|
@@ -96,8 +96,8 @@ declare const stepperStepListItemThemeVariants: (props?: ({
|
|
|
96
96
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
97
97
|
declare const stepperStepIndicatorThemeVariants: (props?: ({
|
|
98
98
|
invalid?: boolean | null | undefined;
|
|
99
|
-
state?: "
|
|
100
|
-
rounded?: "small" | "
|
|
99
|
+
state?: "disabled" | "current" | "completed" | "upcoming" | null | undefined;
|
|
100
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
101
101
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
102
102
|
/** Placed by the component, from the first indicator's centre to the last one's. */
|
|
103
103
|
declare const stepperTrackThemeVariants: (props?: ({
|
|
@@ -182,7 +182,7 @@ export declare class StepperComponent implements StepperVariantInput {
|
|
|
182
182
|
/**
|
|
183
183
|
* @description Sets the roundness of the stepper steps.
|
|
184
184
|
*/
|
|
185
|
-
readonly rounded: import("@angular/core").InputSignal<"small" | "
|
|
185
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
186
186
|
/**
|
|
187
187
|
* @description Sets the active step of the stepper.
|
|
188
188
|
*/
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { TemplateRef } 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 switchThemeVariants: (props?: ({
|
|
7
|
-
rounded?: "
|
|
8
|
-
size?: "
|
|
7
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
8
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
9
9
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
10
|
declare const switchHandleThemeVariants: (props?: ({
|
|
11
|
-
rounded?: "
|
|
12
|
-
size?: "
|
|
11
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
12
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
13
13
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
14
|
declare const switchLabelThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
15
15
|
type SwitchBaseVariantProps = VariantProps<typeof switchThemeVariants>;
|
|
@@ -89,12 +89,12 @@ export declare class SwitchComponent implements SwitchVariantInputs, FormCheckbo
|
|
|
89
89
|
* @description Border-radius preset applied to the component.
|
|
90
90
|
* @default "full"
|
|
91
91
|
*/
|
|
92
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
92
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
93
93
|
/**
|
|
94
94
|
* @description Size preset controlling the component's dimensions.
|
|
95
95
|
* @default "medium"
|
|
96
96
|
*/
|
|
97
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
97
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
98
98
|
/**
|
|
99
99
|
* @description Tab index of the switch while it's enabled.
|
|
100
100
|
* @default 0
|