@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,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MonaTabsMessages } from "@nanahoshi/mona-ui/i18n";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { ElementRef, TemplateRef } from "@angular/core";
|
|
4
|
-
import {
|
|
5
|
-
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
4
|
+
import { PreventableEvent } from "@nanahoshi/mona-ui/common";
|
|
6
5
|
import { VariantProps } from "class-variance-authority";
|
|
6
|
+
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
7
|
+
import { ImmutableSet } from "@mirei/ts-collections";
|
|
7
8
|
import { SortableMoveEvent } from "@nanahoshi/mona-ui/sortable";
|
|
8
|
-
import { MonaTabsMessages } from "@nanahoshi/mona-ui/i18n";
|
|
9
9
|
export declare class TabCloseEvent extends PreventableEvent {
|
|
10
10
|
#private;
|
|
11
11
|
constructor(index: number, selected: boolean, originalEvent?: Event);
|
|
@@ -55,23 +55,23 @@ interface TabItem {
|
|
|
55
55
|
titleTemplate?: TemplateRef<unknown>;
|
|
56
56
|
}
|
|
57
57
|
declare const tabListBaseThemeVariants: (props?: ({
|
|
58
|
-
position?: "top" | "
|
|
58
|
+
position?: "top" | "left" | "right" | "bottom" | null | undefined;
|
|
59
59
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
60
60
|
declare const tabListListWrapperThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
61
61
|
declare const tabListListThemeVariants: (props?: ({
|
|
62
|
-
position?: "top" | "
|
|
62
|
+
position?: "top" | "left" | "right" | "bottom" | null | undefined;
|
|
63
63
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
64
64
|
/** A tab being dragged to a new place floats as a raised copy of itself. */
|
|
65
65
|
declare const tabListListItemThemeVariants: (props?: ({
|
|
66
66
|
active?: boolean | null | undefined;
|
|
67
67
|
disabled?: boolean | null | undefined;
|
|
68
|
-
position?: "top" | "
|
|
69
|
-
size?: "small" | "
|
|
68
|
+
position?: "top" | "left" | "right" | "bottom" | null | undefined;
|
|
69
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
70
70
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
71
71
|
declare const tabListScrollButtonThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
72
72
|
declare const tabContentThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
73
73
|
declare const tabsBaseThemeVariants: (props?: ({
|
|
74
|
-
position?: "top" | "
|
|
74
|
+
position?: "top" | "left" | "right" | "bottom" | null | undefined;
|
|
75
75
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
76
76
|
type TabListBaseVariantProps = VariantProps<typeof tabListBaseThemeVariants>;
|
|
77
77
|
type TabListBaseVariantInput = VariantInputs<TabListBaseVariantProps>;
|
|
@@ -115,13 +115,13 @@ declare class TabListComponent implements TabListVariantInput {
|
|
|
115
115
|
* @description Placement of the tab list relative to the tab content.
|
|
116
116
|
* @default "top"
|
|
117
117
|
*/
|
|
118
|
-
readonly position: import("@angular/core").InputSignal<"top" | "
|
|
118
|
+
readonly position: import("@angular/core").InputSignal<"top" | "left" | "right" | "bottom" | null | undefined>;
|
|
119
119
|
readonly selectedTabId: import("@angular/core").ModelSignal<string | null>;
|
|
120
120
|
/**
|
|
121
121
|
* @description Size preset controlling the tabs' dimensions.
|
|
122
122
|
* @default "medium"
|
|
123
123
|
*/
|
|
124
|
-
readonly size: import("@angular/core").InputSignal<"small" | "
|
|
124
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
125
125
|
readonly sortable: import("@angular/core").InputSignal<boolean>;
|
|
126
126
|
readonly tabClose: import("@angular/core").OutputEmitterRef<TabCloseEvent>;
|
|
127
127
|
readonly tabList: import("@angular/core").InputSignal<Iterable<TabItem>>;
|
|
@@ -315,7 +315,7 @@ export declare class TabsComponent implements TabsVariantInput {
|
|
|
315
315
|
* @description Placement of the tab list relative to the tab content.
|
|
316
316
|
* @default "top"
|
|
317
317
|
*/
|
|
318
|
-
readonly position: import("@angular/core").InputSignal<"top" | "
|
|
318
|
+
readonly position: import("@angular/core").InputSignal<"top" | "left" | "right" | "bottom" | null | undefined>;
|
|
319
319
|
/**
|
|
320
320
|
* @description The zero-based index of the selected tab. Writing it selects that tab, unless it's disabled or out of
|
|
321
321
|
* range, in which case the value goes back to the selected tab's index. It also changes when the component moves the
|
|
@@ -327,7 +327,7 @@ export declare class TabsComponent implements TabsVariantInput {
|
|
|
327
327
|
* @description Size preset controlling the tabs' dimensions.
|
|
328
328
|
* @default "medium"
|
|
329
329
|
*/
|
|
330
|
-
readonly size: import("@angular/core").InputSignal<"small" | "
|
|
330
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
331
331
|
/**
|
|
332
332
|
* @description Lets the user reorder the tabs: by dragging them, or with Control+Shift and the arrow keys along the
|
|
333
333
|
* strip, Home or End (Command+Shift on macOS). The component emits `tabReorder` and doesn't move the tabs itself.
|
|
@@ -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";
|
|
2
|
+
import { VariantProps } from "class-variance-authority";
|
|
3
|
+
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
4
4
|
declare const textAreaThemeVariants: (props?: ({
|
|
5
|
-
rounded?: "
|
|
5
|
+
rounded?: "small" | "none" | "large" | "medium" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
type TextAreaVariantProps = VariantProps<typeof textAreaThemeVariants>;
|
|
8
8
|
type TextAreaVariantInput = VariantInputs<TextAreaVariantProps>;
|
|
@@ -18,7 +18,7 @@ export declare class TextAreaDirective implements TextAreaVariantInput {
|
|
|
18
18
|
* @description Sets the border radius of the textarea.
|
|
19
19
|
* @default "medium"
|
|
20
20
|
*/
|
|
21
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
21
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "large" | "medium" | null | undefined>;
|
|
22
22
|
/**
|
|
23
23
|
* @description Marks the textarea as touched. Error styling is only shown when both `invalid` and `touched` are `true`.
|
|
24
24
|
* @default false
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { ElementRef, TemplateRef } from "@angular/core";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
3
4
|
import { FormValueControl } from "@angular/forms/signals";
|
|
4
5
|
import { AttributeConfig, VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
5
|
-
import { VariantProps } from "class-variance-authority";
|
|
6
6
|
export type InputType = "email" | "password" | "search" | "tel" | "text" | "url";
|
|
7
7
|
declare const textBoxThemeVariants: (props?: ({
|
|
8
|
-
rounded?: "
|
|
9
|
-
size?: "
|
|
8
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
9
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
10
10
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
11
|
declare const inputThemeVariants: (props?: ({
|
|
12
|
-
rounded?: "
|
|
13
|
-
size?: "
|
|
12
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
13
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
14
14
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
15
|
type TextBoxVariantProps = VariantProps<typeof textBoxThemeVariants>;
|
|
16
16
|
type TextBoxVariantInput = VariantInputs<TextBoxVariantProps>;
|
|
@@ -130,12 +130,12 @@ export declare class TextBoxComponent implements TextBoxVariantInput, FormValueC
|
|
|
130
130
|
* @description Border-radius preset applied to the component.
|
|
131
131
|
* @default "medium"
|
|
132
132
|
*/
|
|
133
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
133
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
134
134
|
/**
|
|
135
135
|
* @description Size preset controlling the component's dimensions.
|
|
136
136
|
* @default "medium"
|
|
137
137
|
*/
|
|
138
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
138
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
139
139
|
/**
|
|
140
140
|
* @description Emitted when focus leaves the text box, including its clear button and prefix and suffix content.
|
|
141
141
|
* Form directives (`[formField]`, `ngModel`, `formControl`) listen to this to mark the field as touched.
|
|
@@ -302,12 +302,12 @@ export declare class TextBoxDirective implements InputVariantInput {
|
|
|
302
302
|
* @description Border-radius preset applied to the component.
|
|
303
303
|
* @default "medium"
|
|
304
304
|
*/
|
|
305
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
305
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
306
306
|
/**
|
|
307
307
|
* @description Size preset controlling the component's dimensions.
|
|
308
308
|
* @default "medium"
|
|
309
309
|
*/
|
|
310
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
310
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
311
311
|
/**
|
|
312
312
|
* @description Marks the input as touched. Error styling is only shown when both `invalid` and `touched` are `true`.
|
|
313
313
|
* @default false
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { EnvironmentProviders, InjectionToken, Signal } from "@angular/core";
|
|
3
3
|
import "culori/css";
|
|
4
|
-
export type BuiltInThemeName = "anna" | "luna" | "mona";
|
|
4
|
+
export type BuiltInThemeName = "anna" | "luna" | "mona" | "rena";
|
|
5
5
|
export type ThemeName = string;
|
|
6
6
|
export type ThemeVariant = "light" | "dark";
|
|
7
7
|
/** A variant, or `"system"` to follow the operating system's light or dark setting. */
|
|
@@ -162,28 +162,28 @@ export declare const annaTheme: Readonly<{
|
|
|
162
162
|
variants: {
|
|
163
163
|
light: Readonly<{
|
|
164
164
|
colors: Readonly<Record<`--color-${string}`, string>>;
|
|
165
|
-
components: Readonly<Record<
|
|
165
|
+
components: Readonly<Record<ThemeComponentVariable, string>>;
|
|
166
166
|
custom: Readonly<{
|
|
167
167
|
"--mona-indicator-color": "var(--color-primary)";
|
|
168
168
|
"--mona-indicator-foreground": "var(--color-primary-foreground)";
|
|
169
169
|
"--mona-primary-text-color": "var(--color-primary)";
|
|
170
170
|
}>;
|
|
171
|
-
effects: Readonly<Record<
|
|
172
|
-
motion: Readonly<Record<
|
|
173
|
-
shape: Readonly<Record<
|
|
171
|
+
effects: Readonly<Record<ThemeEffectVariable, string>>;
|
|
172
|
+
motion: Readonly<Record<ThemeMotionVariable, string>>;
|
|
173
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
174
174
|
shadows: Readonly<Record<`--shadow-${string}`, string>>;
|
|
175
175
|
}>;
|
|
176
176
|
dark: Readonly<{
|
|
177
177
|
colors: Readonly<Record<`--color-${string}`, string>>;
|
|
178
|
-
components: Readonly<Record<
|
|
178
|
+
components: Readonly<Record<ThemeComponentVariable, string>>;
|
|
179
179
|
custom: Readonly<{
|
|
180
180
|
"--mona-indicator-color": "var(--color-primary-border)";
|
|
181
181
|
"--mona-indicator-foreground": "#161718";
|
|
182
182
|
"--mona-primary-text-color": "var(--color-focus-indicator)";
|
|
183
183
|
}>;
|
|
184
|
-
effects: Readonly<Record<
|
|
185
|
-
motion: Readonly<Record<
|
|
186
|
-
shape: Readonly<Record<
|
|
184
|
+
effects: Readonly<Record<ThemeEffectVariable, string>>;
|
|
185
|
+
motion: Readonly<Record<ThemeMotionVariable, string>>;
|
|
186
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
187
187
|
shadows: Readonly<Record<`--shadow-${string}`, string>>;
|
|
188
188
|
}>;
|
|
189
189
|
};
|
|
@@ -194,28 +194,28 @@ export declare const builtInThemes: Readonly<{
|
|
|
194
194
|
variants: {
|
|
195
195
|
light: Readonly<{
|
|
196
196
|
colors: Readonly<Record<`--color-${string}`, string>>;
|
|
197
|
-
components: Readonly<Record<
|
|
197
|
+
components: Readonly<Record<ThemeComponentVariable, string>>;
|
|
198
198
|
custom: Readonly<{
|
|
199
199
|
"--mona-indicator-color": "var(--color-primary)";
|
|
200
200
|
"--mona-indicator-foreground": "var(--color-primary-foreground)";
|
|
201
201
|
"--mona-primary-text-color": "var(--color-primary)";
|
|
202
202
|
}>;
|
|
203
|
-
effects: Readonly<Record<
|
|
204
|
-
motion: Readonly<Record<
|
|
205
|
-
shape: Readonly<Record<
|
|
203
|
+
effects: Readonly<Record<ThemeEffectVariable, string>>;
|
|
204
|
+
motion: Readonly<Record<ThemeMotionVariable, string>>;
|
|
205
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
206
206
|
shadows: Readonly<Record<`--shadow-${string}`, string>>;
|
|
207
207
|
}>;
|
|
208
208
|
dark: Readonly<{
|
|
209
209
|
colors: Readonly<Record<`--color-${string}`, string>>;
|
|
210
|
-
components: Readonly<Record<
|
|
210
|
+
components: Readonly<Record<ThemeComponentVariable, string>>;
|
|
211
211
|
custom: Readonly<{
|
|
212
212
|
"--mona-indicator-color": "var(--color-primary-border)";
|
|
213
213
|
"--mona-indicator-foreground": "#161718";
|
|
214
214
|
"--mona-primary-text-color": "var(--color-focus-indicator)";
|
|
215
215
|
}>;
|
|
216
|
-
effects: Readonly<Record<
|
|
217
|
-
motion: Readonly<Record<
|
|
218
|
-
shape: Readonly<Record<
|
|
216
|
+
effects: Readonly<Record<ThemeEffectVariable, string>>;
|
|
217
|
+
motion: Readonly<Record<ThemeMotionVariable, string>>;
|
|
218
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
219
219
|
shadows: Readonly<Record<`--shadow-${string}`, string>>;
|
|
220
220
|
}>;
|
|
221
221
|
};
|
|
@@ -244,7 +244,7 @@ export declare const builtInThemes: Readonly<{
|
|
|
244
244
|
"--mona-effect-overlay-background-image": "none";
|
|
245
245
|
"--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
|
|
246
246
|
}>;
|
|
247
|
-
shape: Readonly<Record<
|
|
247
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
248
248
|
custom: Readonly<{
|
|
249
249
|
"--mona-date-popup-calendar-backdrop-filter": "none";
|
|
250
250
|
"--mona-date-popup-calendar-background": "transparent";
|
|
@@ -291,7 +291,7 @@ export declare const builtInThemes: Readonly<{
|
|
|
291
291
|
"--mona-effect-overlay-background-image": "none";
|
|
292
292
|
"--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
|
|
293
293
|
}>;
|
|
294
|
-
shape: Readonly<Record<
|
|
294
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
295
295
|
custom: Readonly<{
|
|
296
296
|
"--mona-date-popup-calendar-backdrop-filter": "none";
|
|
297
297
|
"--mona-date-popup-calendar-background": "transparent";
|
|
@@ -322,18 +322,53 @@ export declare const builtInThemes: Readonly<{
|
|
|
322
322
|
variants: {
|
|
323
323
|
light: Readonly<{
|
|
324
324
|
colors: Readonly<Record<`--color-${string}`, string>>;
|
|
325
|
-
components: Readonly<Record<
|
|
326
|
-
effects: Readonly<Record<
|
|
327
|
-
motion: Readonly<Record<
|
|
328
|
-
shape: Readonly<Record<
|
|
325
|
+
components: Readonly<Record<ThemeComponentVariable, string>>;
|
|
326
|
+
effects: Readonly<Record<ThemeEffectVariable, string>>;
|
|
327
|
+
motion: Readonly<Record<ThemeMotionVariable, string>>;
|
|
328
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
329
329
|
shadows: Readonly<Record<`--shadow-${string}`, string>>;
|
|
330
330
|
}>;
|
|
331
331
|
dark: Readonly<{
|
|
332
332
|
colors: Readonly<Record<`--color-${string}`, string>>;
|
|
333
|
-
components: Readonly<Record<
|
|
334
|
-
effects: Readonly<Record<
|
|
335
|
-
motion: Readonly<Record<
|
|
336
|
-
shape: Readonly<Record<
|
|
333
|
+
components: Readonly<Record<ThemeComponentVariable, string>>;
|
|
334
|
+
effects: Readonly<Record<ThemeEffectVariable, string>>;
|
|
335
|
+
motion: Readonly<Record<ThemeMotionVariable, string>>;
|
|
336
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
337
|
+
shadows: Readonly<Record<`--shadow-${string}`, string>>;
|
|
338
|
+
}>;
|
|
339
|
+
};
|
|
340
|
+
}>;
|
|
341
|
+
rena: Readonly<{
|
|
342
|
+
name: string;
|
|
343
|
+
variants: {
|
|
344
|
+
light: Readonly<{
|
|
345
|
+
colors: Readonly<Record<`--color-${string}`, string>>;
|
|
346
|
+
components: Readonly<Record<ThemeComponentVariable, string>>;
|
|
347
|
+
custom: Readonly<{
|
|
348
|
+
"--mona-indicator-color": "var(--color-primary)";
|
|
349
|
+
"--mona-indicator-foreground": "var(--color-primary-foreground)";
|
|
350
|
+
"--mona-primary-text-color": "var(--color-primary)";
|
|
351
|
+
"--mona-focus-ring-opacity": "100%";
|
|
352
|
+
"--mona-focus-ring-width": "1px";
|
|
353
|
+
}>;
|
|
354
|
+
effects: Readonly<Record<ThemeEffectVariable, string>>;
|
|
355
|
+
motion: Readonly<Record<ThemeMotionVariable, string>>;
|
|
356
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
357
|
+
shadows: Readonly<Record<`--shadow-${string}`, string>>;
|
|
358
|
+
}>;
|
|
359
|
+
dark: Readonly<{
|
|
360
|
+
colors: Readonly<Record<`--color-${string}`, string>>;
|
|
361
|
+
components: Readonly<Record<ThemeComponentVariable, string>>;
|
|
362
|
+
custom: Readonly<{
|
|
363
|
+
"--mona-indicator-color": "var(--color-focus-indicator)";
|
|
364
|
+
"--mona-indicator-foreground": "#111827";
|
|
365
|
+
"--mona-primary-text-color": "var(--color-focus-indicator)";
|
|
366
|
+
"--mona-focus-ring-opacity": "100%";
|
|
367
|
+
"--mona-focus-ring-width": "1px";
|
|
368
|
+
}>;
|
|
369
|
+
effects: Readonly<Record<ThemeEffectVariable, string>>;
|
|
370
|
+
motion: Readonly<Record<ThemeMotionVariable, string>>;
|
|
371
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
337
372
|
shadows: Readonly<Record<`--shadow-${string}`, string>>;
|
|
338
373
|
}>;
|
|
339
374
|
};
|
|
@@ -363,7 +398,7 @@ export declare const lunaTheme: Readonly<{
|
|
|
363
398
|
"--mona-effect-overlay-background-image": "none";
|
|
364
399
|
"--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
|
|
365
400
|
}>;
|
|
366
|
-
shape: Readonly<Record<
|
|
401
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
367
402
|
custom: Readonly<{
|
|
368
403
|
"--mona-date-popup-calendar-backdrop-filter": "none";
|
|
369
404
|
"--mona-date-popup-calendar-background": "transparent";
|
|
@@ -410,7 +445,7 @@ export declare const lunaTheme: Readonly<{
|
|
|
410
445
|
"--mona-effect-overlay-background-image": "none";
|
|
411
446
|
"--mona-effect-overlay-backdrop-filter": "blur(28px) saturate(115%)";
|
|
412
447
|
}>;
|
|
413
|
-
shape: Readonly<Record<
|
|
448
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
414
449
|
custom: Readonly<{
|
|
415
450
|
"--mona-date-popup-calendar-backdrop-filter": "none";
|
|
416
451
|
"--mona-date-popup-calendar-background": "transparent";
|
|
@@ -441,18 +476,53 @@ export declare const monaTheme: Readonly<{
|
|
|
441
476
|
variants: {
|
|
442
477
|
light: Readonly<{
|
|
443
478
|
colors: Readonly<Record<`--color-${string}`, string>>;
|
|
444
|
-
components: Readonly<Record<
|
|
445
|
-
effects: Readonly<Record<
|
|
446
|
-
motion: Readonly<Record<
|
|
447
|
-
shape: Readonly<Record<
|
|
479
|
+
components: Readonly<Record<ThemeComponentVariable, string>>;
|
|
480
|
+
effects: Readonly<Record<ThemeEffectVariable, string>>;
|
|
481
|
+
motion: Readonly<Record<ThemeMotionVariable, string>>;
|
|
482
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
448
483
|
shadows: Readonly<Record<`--shadow-${string}`, string>>;
|
|
449
484
|
}>;
|
|
450
485
|
dark: Readonly<{
|
|
451
486
|
colors: Readonly<Record<`--color-${string}`, string>>;
|
|
452
|
-
components: Readonly<Record<
|
|
453
|
-
effects: Readonly<Record<
|
|
454
|
-
motion: Readonly<Record<
|
|
455
|
-
shape: Readonly<Record<
|
|
487
|
+
components: Readonly<Record<ThemeComponentVariable, string>>;
|
|
488
|
+
effects: Readonly<Record<ThemeEffectVariable, string>>;
|
|
489
|
+
motion: Readonly<Record<ThemeMotionVariable, string>>;
|
|
490
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
491
|
+
shadows: Readonly<Record<`--shadow-${string}`, string>>;
|
|
492
|
+
}>;
|
|
493
|
+
};
|
|
494
|
+
}>;
|
|
495
|
+
export declare const renaTheme: Readonly<{
|
|
496
|
+
name: string;
|
|
497
|
+
variants: {
|
|
498
|
+
light: Readonly<{
|
|
499
|
+
colors: Readonly<Record<`--color-${string}`, string>>;
|
|
500
|
+
components: Readonly<Record<ThemeComponentVariable, string>>;
|
|
501
|
+
custom: Readonly<{
|
|
502
|
+
"--mona-indicator-color": "var(--color-primary)";
|
|
503
|
+
"--mona-indicator-foreground": "var(--color-primary-foreground)";
|
|
504
|
+
"--mona-primary-text-color": "var(--color-primary)";
|
|
505
|
+
"--mona-focus-ring-opacity": "100%";
|
|
506
|
+
"--mona-focus-ring-width": "1px";
|
|
507
|
+
}>;
|
|
508
|
+
effects: Readonly<Record<ThemeEffectVariable, string>>;
|
|
509
|
+
motion: Readonly<Record<ThemeMotionVariable, string>>;
|
|
510
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
511
|
+
shadows: Readonly<Record<`--shadow-${string}`, string>>;
|
|
512
|
+
}>;
|
|
513
|
+
dark: Readonly<{
|
|
514
|
+
colors: Readonly<Record<`--color-${string}`, string>>;
|
|
515
|
+
components: Readonly<Record<ThemeComponentVariable, string>>;
|
|
516
|
+
custom: Readonly<{
|
|
517
|
+
"--mona-indicator-color": "var(--color-focus-indicator)";
|
|
518
|
+
"--mona-indicator-foreground": "#111827";
|
|
519
|
+
"--mona-primary-text-color": "var(--color-focus-indicator)";
|
|
520
|
+
"--mona-focus-ring-opacity": "100%";
|
|
521
|
+
"--mona-focus-ring-width": "1px";
|
|
522
|
+
}>;
|
|
523
|
+
effects: Readonly<Record<ThemeEffectVariable, string>>;
|
|
524
|
+
motion: Readonly<Record<ThemeMotionVariable, string>>;
|
|
525
|
+
shape: Readonly<Record<ThemeShapeVariable, string>>;
|
|
456
526
|
shadows: Readonly<Record<`--shadow-${string}`, string>>;
|
|
457
527
|
}>;
|
|
458
528
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
+
import { MonaTimePickerMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { Signal, TemplateRef } from "@angular/core";
|
|
3
|
-
import { FormValueControl } from "@angular/forms/signals";
|
|
4
4
|
import { PreventableEvent } from "@nanahoshi/mona-ui/common";
|
|
5
|
-
import {
|
|
5
|
+
import { VariantProps } from "class-variance-authority";
|
|
6
|
+
import { FormValueControl } from "@angular/forms/signals";
|
|
7
|
+
import { ListSizeInputType } from "@nanahoshi/mona-ui/internal/list";
|
|
6
8
|
import * as i1 from "@nanahoshi/mona-ui/dropdowns";
|
|
7
9
|
import { AdaptiveMode, DropdownPopupInput } from "@nanahoshi/mona-ui/dropdowns";
|
|
8
|
-
import { AttributeConfig, VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
9
|
-
import { ListSizeInputType } from "@nanahoshi/mona-ui/internal/list";
|
|
10
10
|
import { PopupCloseEvent } from "@nanahoshi/mona-ui/popup";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
11
|
+
import { AttributeConfig as AttributeConfig$1, VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
12
|
+
import { HourFormat, TypedDateInput } from "@nanahoshi/mona-ui/date-input";
|
|
13
13
|
declare const timePickerBaseThemeVariants: (props?: ({
|
|
14
14
|
focused?: boolean | null | undefined;
|
|
15
|
-
rounded?: "
|
|
16
|
-
size?: "
|
|
15
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
16
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
17
17
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
18
18
|
type TimePickerBaseVariantProps = VariantProps<typeof timePickerBaseThemeVariants>;
|
|
19
19
|
type TimePickerBaseVariantInput = VariantInputs<TimePickerBaseVariantProps>;
|
|
@@ -27,7 +27,7 @@ export declare class TimePickerComponent implements FormValueControl<Date | null
|
|
|
27
27
|
protected readonly effectiveFormat: Signal<string>;
|
|
28
28
|
protected readonly effectiveHourFormat: Signal<HourFormat>;
|
|
29
29
|
protected readonly expanded: Signal<boolean>;
|
|
30
|
-
protected readonly inputAttributes: Signal<AttributeConfig>;
|
|
30
|
+
protected readonly inputAttributes: Signal<AttributeConfig$1>;
|
|
31
31
|
protected readonly invalidState: Signal<boolean>;
|
|
32
32
|
protected readonly labelledBy: Signal<string | null>;
|
|
33
33
|
protected readonly messages: Signal<import("@nanahoshi/mona-ui/i18n").MonaTimePickerMessages>;
|
|
@@ -37,7 +37,7 @@ export declare class TimePickerComponent implements FormValueControl<Date | null
|
|
|
37
37
|
protected readonly sheet: Signal<boolean>;
|
|
38
38
|
protected readonly timePopupTemplateRef: Signal<TemplateRef<unknown>>;
|
|
39
39
|
/** The time selector's size: large in a bottom sheet, for touch. */
|
|
40
|
-
protected readonly timeSelectorSize: Signal<"
|
|
40
|
+
protected readonly timeSelectorSize: Signal<"small" | "large" | "medium" | null | undefined>;
|
|
41
41
|
/** Set in the constructor, which runs after the `value` model it writes to exists. */
|
|
42
42
|
protected readonly typedInput: TypedDateInput;
|
|
43
43
|
/**
|
|
@@ -173,7 +173,7 @@ export declare class TimePickerComponent implements FormValueControl<Date | null
|
|
|
173
173
|
/**
|
|
174
174
|
* @description Sets the border radius of the time picker.
|
|
175
175
|
*/
|
|
176
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
176
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
177
177
|
/**
|
|
178
178
|
* @description Sets the second step of the time picker.
|
|
179
179
|
* @default 1
|
|
@@ -192,7 +192,7 @@ export declare class TimePickerComponent implements FormValueControl<Date | null
|
|
|
192
192
|
/**
|
|
193
193
|
* @description Sets the size of the time picker.
|
|
194
194
|
*/
|
|
195
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
195
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
196
196
|
/**
|
|
197
197
|
* @description Emitted when focus leaves the time picker and its popup.
|
|
198
198
|
* The `FormField` directive listens to this to mark the field as touched.
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
+
import { MonaTimeSelectorMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { ElementRef, Signal } from "@angular/core";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
3
5
|
import { FormValueControl } from "@angular/forms/signals";
|
|
6
|
+
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
4
7
|
import { HourFormat, Meridiem, TimeUnit } from "@nanahoshi/mona-ui/date-input";
|
|
5
8
|
import { DateTime } from "luxon";
|
|
6
|
-
import { VariantProps } from "class-variance-authority";
|
|
7
|
-
import { VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
8
|
-
import { MonaTimeSelectorMessages } from "@nanahoshi/mona-ui/i18n";
|
|
9
9
|
type TimeListType = "hours" | "minutes" | "seconds" | "meridiem";
|
|
10
10
|
declare const timeSelectorBaseThemeVariants: (props?: ({
|
|
11
11
|
disabled?: boolean | null | undefined;
|
|
12
|
-
size?: "small" | "
|
|
12
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
13
13
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
14
|
declare const timeSelectorHeaderThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
15
15
|
declare const timeSelectorInfoContainerThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
16
16
|
declare const timeSelectorListThemeVariants: (props?: ({
|
|
17
|
-
size?: "small" | "
|
|
17
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
18
18
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
19
19
|
declare const timeSelectorListItemThemeVariants: (props?: ({
|
|
20
20
|
selected?: boolean | null | undefined;
|
|
21
|
-
size?: "small" | "
|
|
21
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
22
22
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
23
23
|
type TimeSelectorBaseVariantProps = VariantProps<typeof timeSelectorBaseThemeVariants>;
|
|
24
24
|
type TimeSelectorBaseVariantInput = VariantInputs<TimeSelectorBaseVariantProps>;
|
|
@@ -115,10 +115,10 @@ export declare class TimeSelectorComponent implements FormValueControl<Date | nu
|
|
|
115
115
|
* @default false
|
|
116
116
|
*/
|
|
117
117
|
readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
118
|
-
readonly rounded: import("@angular/core").InputSignal<"small" | "
|
|
118
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
119
119
|
readonly secondStep: import("@angular/core").InputSignal<number>;
|
|
120
120
|
readonly showSeconds: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
121
|
-
readonly size: import("@angular/core").InputSignal<"small" | "
|
|
121
|
+
readonly size: import("@angular/core").InputSignal<"small" | "large" | "medium" | null | undefined>;
|
|
122
122
|
/**
|
|
123
123
|
* @description Emitted when focus leaves the time selector, as a native input is touched on blur. Moving between
|
|
124
124
|
* its lists and buttons doesn't count. The `FormField` directive listens to this to mark the field as touched.
|
|
@@ -2,8 +2,8 @@ import { MonaToolbarMessages } from "@nanahoshi/mona-ui/i18n";
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { ElementRef } from "@angular/core";
|
|
4
4
|
import { ClassInputType, PreventableEvent } from "@nanahoshi/mona-ui/common";
|
|
5
|
-
import { MenuItem, PopupMenuItemClickEvent } from "@nanahoshi/mona-ui/popup-menu";
|
|
6
5
|
import { VariantProps } from "class-variance-authority";
|
|
6
|
+
import { MenuItem, PopupMenuItemClickEvent } from "@nanahoshi/mona-ui/popup-menu";
|
|
7
7
|
export declare const TOOLBAR_DEFAULT_MESSAGES: MonaToolbarMessages;
|
|
8
8
|
/** Whether a toolbar item moves into the More menu when there's no room for it (`auto`) or stays (`never`). */
|
|
9
9
|
type ToolbarItemOverflow = "auto" | "never";
|
|
@@ -129,7 +129,7 @@ export declare class ToolbarComponent {
|
|
|
129
129
|
* @description The space between controls and the size of the More button. Match it to the controls' size.
|
|
130
130
|
* @default "medium"
|
|
131
131
|
*/
|
|
132
|
-
readonly size: import("@angular/core").InputSignal<NonNullable<"small" | "
|
|
132
|
+
readonly size: import("@angular/core").InputSignal<NonNullable<"small" | "large" | "medium" | null | undefined>>;
|
|
133
133
|
/**
|
|
134
134
|
* @description Additional CSS classes merged onto the host element via `tailwind-merge`.
|
|
135
135
|
* @default ""
|
|
@@ -177,7 +177,7 @@ export declare class ToolbarComponent {
|
|
|
177
177
|
/** Children keep their width, so what doesn't fit overflows and can be measured, instead of squeezing. */
|
|
178
178
|
declare const toolbarThemeVariants: (props?: ({
|
|
179
179
|
overflow?: "menu" | "wrap" | null | undefined;
|
|
180
|
-
size?: "small" | "
|
|
180
|
+
size?: "small" | "large" | "medium" | null | undefined;
|
|
181
181
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
182
182
|
type ToolbarVariantProps = VariantProps<typeof toolbarThemeVariants>;
|
|
183
183
|
export type { ToolbarItemOverflow, ToolbarOverflow, ToolbarVariantProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { TemplateRef } from "@angular/core";
|
|
3
|
-
import { OverlaySide, OverlaySide as OverlaySide$1, PhysicalOverlaySide, VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
4
|
-
import { ConnectionPoint, PopupAnchor, PopupOffset } from "@nanahoshi/mona-ui/popup";
|
|
5
|
-
import { VariantProps } from "class-variance-authority";
|
|
6
3
|
import { Position } from "@nanahoshi/mona-ui/common";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import { ConnectionPoint, PopupAnchor, PopupOffset } from "@nanahoshi/mona-ui/popup";
|
|
6
|
+
import { OverlaySide, OverlaySide as OverlaySide$1, PhysicalOverlaySide, VariantInputs } from "@nanahoshi/mona-ui/internal";
|
|
7
7
|
declare const tooltipBaseThemeVariants: (props?: ({
|
|
8
|
-
rounded?: "
|
|
8
|
+
rounded?: "small" | "none" | "full" | "large" | "medium" | null | undefined;
|
|
9
9
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
10
10
|
export declare const tooltipArrowThemeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
11
11
|
type TooltipBaseVariantProps = VariantProps<typeof tooltipBaseThemeVariants>;
|
|
@@ -42,7 +42,7 @@ export declare class TooltipComponent implements TooltipVariantInputs {
|
|
|
42
42
|
/**
|
|
43
43
|
* @description The border radius of the tooltip.
|
|
44
44
|
*/
|
|
45
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
45
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
46
46
|
/**
|
|
47
47
|
* @description The delay in milliseconds before showing the tooltip after the trigger event.
|
|
48
48
|
*/
|
|
@@ -148,7 +148,7 @@ export declare class TooltipDirective implements TooltipVariantInputs {
|
|
|
148
148
|
* @description The border radius of the tooltip.
|
|
149
149
|
* @default "medium"
|
|
150
150
|
*/
|
|
151
|
-
readonly rounded: import("@angular/core").InputSignal<"
|
|
151
|
+
readonly rounded: import("@angular/core").InputSignal<"small" | "none" | "full" | "large" | "medium" | null | undefined>;
|
|
152
152
|
/**
|
|
153
153
|
* @description The delay in milliseconds before showing the tooltip after the trigger event.
|
|
154
154
|
* @default 0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { MonaTreeViewMessages } from "@nanahoshi/mona-ui/i18n";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
import { TemplateRef } from "@angular/core";
|
|
3
4
|
import { FilterChangeEvent, FilterableOptions } from "@nanahoshi/mona-ui/common";
|
|
4
|
-
import { CheckableOptions, CheckableOptions as CheckableOptions$1, ChildrenLoadErrorEvent, ChildrenLoadErrorEvent as ChildrenLoadErrorEvent$1, ChildrenSelector, ChildrenSelector as ChildrenSelector$1, DataStructure, DataStructure as DataStructure$1, DisableOptions, DisableOptions as DisableOptions$1, DraggableOptions, DraggableOptions as DraggableOptions$1, DropPosition, DropPosition as DropPosition$1, DropPositionChangeEvent, ExpandableOptions, ExpandableOptions as ExpandableOptions$1, ITreeView, ITreeView as ITreeView$1, MultipleSelectionConfig, NodeCheckEvent, NodeCheckEvent as NodeCheckEvent$1, NodeClickEvent, NodeClickEvent as NodeClickEvent$1, NodeDragEndEvent, NodeDragEndEvent as NodeDragEndEvent$1, NodeDragEvent, NodeDragEvent as NodeDragEvent$1, NodeDragStartEvent, NodeDragStartEvent as NodeDragStartEvent$1, NodeDropEvent, NodeDropEvent as NodeDropEvent$1, NodeDropOriginalEvent, NodeItem, NodeItem as NodeItem$1, NodeKeySelector, NodeKeySelector as NodeKeySelector$1, NodeMoveSnapshot, NodeMoveSnapshot as NodeMoveSnapshot$1, NodeSelectEvent, NodeSelectEvent as NodeSelectEvent$1, SelectableOptions, SelectableOptions as SelectableOptions$1, SingleSelectionConfig, TreeNode, TreeService, moveFlatTreeNode, moveTreeNode } from "@nanahoshi/mona-ui/internal/tree";
|
|
5
5
|
import { Predicate, Selector } from "@mirei/ts-collections";
|
|
6
|
-
import {
|
|
6
|
+
import { CheckableOptions, CheckableOptions as CheckableOptions$1, ChildrenLoadErrorEvent, ChildrenLoadErrorEvent as ChildrenLoadErrorEvent$1, ChildrenSelector, ChildrenSelector as ChildrenSelector$1, DataStructure, DataStructure as DataStructure$1, DisableOptions, DisableOptions as DisableOptions$1, DraggableOptions, DraggableOptions as DraggableOptions$1, DropPosition, DropPosition as DropPosition$1, DropPositionChangeEvent, ExpandableOptions, ExpandableOptions as ExpandableOptions$1, ITreeView, ITreeView as ITreeView$1, MultipleSelectionConfig, NodeCheckEvent, NodeCheckEvent as NodeCheckEvent$1, NodeClickEvent, NodeClickEvent as NodeClickEvent$1, NodeDragEndEvent, NodeDragEndEvent as NodeDragEndEvent$1, NodeDragEvent, NodeDragEvent as NodeDragEvent$1, NodeDragStartEvent, NodeDragStartEvent as NodeDragStartEvent$1, NodeDropEvent, NodeDropEvent as NodeDropEvent$1, NodeDropOriginalEvent, NodeItem, NodeItem as NodeItem$1, NodeKeySelector, NodeKeySelector as NodeKeySelector$1, NodeMoveSnapshot, NodeMoveSnapshot as NodeMoveSnapshot$1, NodeSelectEvent, NodeSelectEvent as NodeSelectEvent$1, SelectableOptions, SelectableOptions as SelectableOptions$1, SingleSelectionConfig, TreeNode, TreeService, moveFlatTreeNode, moveTreeNode } from "@nanahoshi/mona-ui/internal/tree";
|
|
7
7
|
/** The context of a `monaTreeViewNodeTemplate`. */
|
|
8
8
|
interface TreeViewNodeTemplateContext<T> {
|
|
9
9
|
/** The node's data item (`let-dataItem`). */
|