@nanahoshi/mona-ui 0.1.0 → 0.2.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/auto-complete/package.json +4 -0
- package/avatar/package.json +4 -0
- package/breadcrumb/package.json +4 -0
- package/button/package.json +4 -0
- package/button-group/package.json +4 -0
- package/calendar/package.json +4 -0
- package/check-box/package.json +4 -0
- package/chip/package.json +4 -0
- package/circular-progress-bar/package.json +4 -0
- package/color-gradient/package.json +4 -0
- package/color-palette/package.json +4 -0
- package/color-picker/package.json +4 -0
- package/combo-box/package.json +4 -0
- package/common/package.json +4 -0
- package/contextmenu/package.json +4 -0
- package/date-input/package.json +4 -0
- package/date-picker/package.json +4 -0
- package/datetime-picker/package.json +4 -0
- package/dialog/package.json +4 -0
- package/dropdown-button/package.json +4 -0
- package/dropdown-list/package.json +4 -0
- package/dropdowns/package.json +4 -0
- package/editor/package.json +4 -0
- package/expansion-panel/package.json +4 -0
- package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +40 -55
- package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +24 -58
- package/fesm2022/nanahoshi-mona-ui-button-group.mjs +37 -48
- package/fesm2022/nanahoshi-mona-ui-button.mjs +130 -129
- package/fesm2022/nanahoshi-mona-ui-calendar.mjs +69 -165
- package/fesm2022/nanahoshi-mona-ui-check-box.mjs +81 -128
- package/fesm2022/nanahoshi-mona-ui-chip.mjs +102 -112
- package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +11 -25
- package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +41 -92
- package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +27 -49
- package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +64 -65
- package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +39 -61
- package/fesm2022/nanahoshi-mona-ui-date-input.mjs +12 -15
- package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +44 -33
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +58 -60
- package/fesm2022/nanahoshi-mona-ui-dialog.mjs +52 -165
- package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +36 -59
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +56 -61
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +302 -81
- package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +33 -84
- package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +12 -45
- package/fesm2022/nanahoshi-mona-ui-filter.mjs +18 -48
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-cell.component-B9SQH5N-.mjs → nanahoshi-mona-ui-grid-grid-footer-cell.component-B6FBLtrr.mjs} +14 -14
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-table-cell.directive-DlLwcCFT.mjs → nanahoshi-mona-ui-grid-grid-footer-table-cell.directive-OJe4UYuw.mjs} +4 -8
- package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-DCd8K6ng.mjs +121 -0
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-toggle.component-DIUutx9s.mjs → nanahoshi-mona-ui-grid-grid-toggle.component-Dl8Hlkhj.mjs} +26 -55
- package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-C5FRZlvv.mjs +231 -0
- package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-C3eZIaJK.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BRZUd8cE.mjs} +167 -451
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +10 -28
- package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +57 -87
- package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +48 -139
- package/fesm2022/nanahoshi-mona-ui-internal.mjs +29 -1
- package/fesm2022/nanahoshi-mona-ui-list-box.mjs +10 -32
- package/fesm2022/nanahoshi-mona-ui-list-view.mjs +8 -21
- package/fesm2022/nanahoshi-mona-ui-menubar.mjs +50 -156
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +40 -69
- package/fesm2022/nanahoshi-mona-ui-notification.mjs +32 -116
- package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +81 -107
- package/fesm2022/nanahoshi-mona-ui-pager.mjs +33 -85
- package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +12 -34
- package/fesm2022/nanahoshi-mona-ui-popover.mjs +31 -52
- package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +38 -110
- package/fesm2022/nanahoshi-mona-ui-popup.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +21 -62
- package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +66 -111
- package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +60 -151
- package/fesm2022/nanahoshi-mona-ui-slider.mjs +117 -173
- package/fesm2022/nanahoshi-mona-ui-split-button.mjs +32 -45
- package/fesm2022/nanahoshi-mona-ui-splitter.mjs +29 -64
- package/fesm2022/nanahoshi-mona-ui-stepper.mjs +38 -101
- package/fesm2022/nanahoshi-mona-ui-switch.mjs +58 -79
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +42 -118
- package/fesm2022/nanahoshi-mona-ui-text-area.mjs +29 -37
- package/fesm2022/nanahoshi-mona-ui-text-box.mjs +60 -81
- package/fesm2022/nanahoshi-mona-ui-theme.mjs +1111 -269
- package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +45 -39
- package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +45 -109
- package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +54 -82
- package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-window.mjs +35 -115
- package/fieldset/package.json +4 -0
- package/filter/package.json +4 -0
- package/grid/package.json +4 -0
- package/internal/filter-input/package.json +4 -0
- package/internal/indicator-icon/package.json +4 -0
- package/internal/list/package.json +4 -0
- package/internal/package.json +4 -0
- package/internal/tree/package.json +4 -0
- package/list/package.json +4 -0
- package/list-box/package.json +4 -0
- package/list-view/package.json +4 -0
- package/menubar/package.json +4 -0
- package/multi-select/package.json +4 -0
- package/notification/package.json +4 -0
- package/numeric-text-box/package.json +4 -0
- package/package.json +31 -5
- package/pager/package.json +4 -0
- package/placeholder/package.json +4 -0
- package/popover/package.json +4 -0
- package/popup/package.json +4 -0
- package/popup-menu/package.json +4 -0
- package/progress-bar/package.json +4 -0
- package/query/package.json +4 -0
- package/radio-button/package.json +4 -0
- package/scroll-view/package.json +4 -0
- package/slider/package.json +4 -0
- package/split-button/package.json +4 -0
- package/splitter/package.json +4 -0
- package/stepper/package.json +4 -0
- package/switch/package.json +4 -0
- package/tabs/package.json +4 -0
- package/text-area/package.json +4 -0
- package/text-box/package.json +4 -0
- package/theme/package.json +4 -0
- package/time-picker/package.json +4 -0
- package/time-selector/package.json +4 -0
- package/tooltip/package.json +4 -0
- package/tree-view/package.json +4 -0
- package/types/nanahoshi-mona-ui-auto-complete.d.ts +6 -7
- package/types/nanahoshi-mona-ui-breadcrumb.d.ts +4 -6
- package/types/nanahoshi-mona-ui-button-group.d.ts +2 -3
- package/types/nanahoshi-mona-ui-button.d.ts +6 -6
- package/types/nanahoshi-mona-ui-calendar.d.ts +21 -22
- package/types/nanahoshi-mona-ui-check-box.d.ts +6 -9
- package/types/nanahoshi-mona-ui-chip.d.ts +2 -3
- package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +2 -4
- package/types/nanahoshi-mona-ui-color-gradient.d.ts +10 -11
- package/types/nanahoshi-mona-ui-color-palette.d.ts +4 -5
- package/types/nanahoshi-mona-ui-color-picker.d.ts +6 -8
- package/types/nanahoshi-mona-ui-combo-box.d.ts +6 -7
- package/types/nanahoshi-mona-ui-date-input.d.ts +2 -3
- package/types/nanahoshi-mona-ui-date-picker.d.ts +2 -3
- package/types/nanahoshi-mona-ui-dialog.d.ts +7 -8
- package/types/nanahoshi-mona-ui-dropdown-list.d.ts +6 -7
- package/types/nanahoshi-mona-ui-dropdowns.d.ts +2 -3
- package/types/nanahoshi-mona-ui-editor.d.ts +17 -17
- package/types/nanahoshi-mona-ui-expansion-panel.d.ts +8 -10
- package/types/nanahoshi-mona-ui-fieldset.d.ts +6 -8
- package/types/nanahoshi-mona-ui-filter.d.ts +3 -4
- package/types/nanahoshi-mona-ui-grid.d.ts +16 -17
- package/types/nanahoshi-mona-ui-internal-indicator-icon.d.ts +0 -1
- package/types/nanahoshi-mona-ui-internal-tree.d.ts +16 -16
- package/types/nanahoshi-mona-ui-internal.d.ts +8 -1
- package/types/nanahoshi-mona-ui-list-box.d.ts +4 -5
- package/types/nanahoshi-mona-ui-list-view.d.ts +2 -3
- package/types/nanahoshi-mona-ui-menubar.d.ts +7 -8
- package/types/nanahoshi-mona-ui-multi-select.d.ts +8 -9
- package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +2 -3
- package/types/nanahoshi-mona-ui-pager.d.ts +6 -7
- package/types/nanahoshi-mona-ui-placeholder.d.ts +4 -6
- package/types/nanahoshi-mona-ui-popover.d.ts +8 -9
- package/types/nanahoshi-mona-ui-popup-menu.d.ts +12 -13
- package/types/nanahoshi-mona-ui-progress-bar.d.ts +8 -9
- package/types/nanahoshi-mona-ui-radio-button.d.ts +8 -11
- package/types/nanahoshi-mona-ui-scroll-view.d.ts +18 -20
- package/types/nanahoshi-mona-ui-slider.d.ts +18 -18
- package/types/nanahoshi-mona-ui-split-button.d.ts +2 -3
- package/types/nanahoshi-mona-ui-splitter.d.ts +6 -8
- package/types/nanahoshi-mona-ui-stepper.d.ts +13 -14
- package/types/nanahoshi-mona-ui-switch.d.ts +6 -7
- package/types/nanahoshi-mona-ui-tabs.d.ts +15 -17
- package/types/nanahoshi-mona-ui-text-area.d.ts +2 -4
- package/types/nanahoshi-mona-ui-text-box.d.ts +4 -6
- package/types/nanahoshi-mona-ui-theme.d.ts +111 -12
- package/types/nanahoshi-mona-ui-time-picker.d.ts +2 -3
- package/types/nanahoshi-mona-ui-time-selector.d.ts +10 -11
- package/types/nanahoshi-mona-ui-tooltip.d.ts +4 -5
- package/types/nanahoshi-mona-ui-window.d.ts +16 -17
- package/window/package.json +4 -0
- package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-Dgea-O0X.mjs +0 -130
- package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-DRHycGIh.mjs +0 -240
|
@@ -9,10 +9,9 @@ import { PopupCloseEvent } from '@nanahoshi/mona-ui/popup';
|
|
|
9
9
|
import { Subject } from 'rxjs';
|
|
10
10
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
11
11
|
import { VariantProps } from 'class-variance-authority';
|
|
12
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
13
12
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
14
13
|
|
|
15
|
-
declare const autoCompleteBaseThemeVariants: (
|
|
14
|
+
declare const autoCompleteBaseThemeVariants: (props?: ({
|
|
16
15
|
disabled?: boolean | null | undefined;
|
|
17
16
|
expanded?: boolean | null | undefined;
|
|
18
17
|
focused?: boolean | null | undefined;
|
|
@@ -20,15 +19,15 @@ declare const autoCompleteBaseThemeVariants: (theme: ThemeStyle) => (props?: ({
|
|
|
20
19
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
21
20
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
22
21
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
23
|
-
declare const autoCompleteTextInputThemeVariants: (
|
|
22
|
+
declare const autoCompleteTextInputThemeVariants: (props?: ({
|
|
24
23
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
25
24
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
26
|
-
declare const autoCompleteAffixContainerThemeVariants: (
|
|
27
|
-
type AutoCompleteBaseVariantProps = VariantProps<
|
|
25
|
+
declare const autoCompleteAffixContainerThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
26
|
+
type AutoCompleteBaseVariantProps = VariantProps<typeof autoCompleteBaseThemeVariants>;
|
|
28
27
|
type AutoCompleteBaseVariantInput = VariantInputs<AutoCompleteBaseVariantProps>;
|
|
29
|
-
type AutoCompleteTextInputVariantProps = VariantProps<
|
|
28
|
+
type AutoCompleteTextInputVariantProps = VariantProps<typeof autoCompleteTextInputThemeVariants>;
|
|
30
29
|
type AutoCompleteTextInputVariantInput = VariantInputs<AutoCompleteTextInputVariantProps>;
|
|
31
|
-
type AutoCompleteAffixContainerVariantProps = VariantProps<
|
|
30
|
+
type AutoCompleteAffixContainerVariantProps = VariantProps<typeof autoCompleteAffixContainerThemeVariants>;
|
|
32
31
|
type AutoCompleteAffixContainerVariantInput = VariantInputs<AutoCompleteAffixContainerVariantProps>;
|
|
33
32
|
type AutoCompleteVariantInput = Omit<AutoCompleteBaseVariantInput, "expanded" | "focused" | "invalid"> & AutoCompleteTextInputVariantInput & AutoCompleteAffixContainerVariantInput;
|
|
34
33
|
|
|
@@ -2,19 +2,18 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { TemplateRef } from '@angular/core';
|
|
3
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
6
5
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
7
6
|
|
|
8
|
-
declare const breadcrumbListThemeVariants: (
|
|
7
|
+
declare const breadcrumbListThemeVariants: (props?: ({
|
|
9
8
|
disabled?: boolean | null | undefined;
|
|
10
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
-
declare const breadcrumbListItemThemeVariants: (
|
|
10
|
+
declare const breadcrumbListItemThemeVariants: (props?: ({
|
|
12
11
|
disabled?: boolean | null | undefined;
|
|
13
12
|
listDisabled?: boolean | null | undefined;
|
|
14
13
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
|
-
type BreadcrumbListVariantProps = VariantProps<
|
|
14
|
+
type BreadcrumbListVariantProps = VariantProps<typeof breadcrumbListThemeVariants>;
|
|
16
15
|
type BreadcrumbListVariantInput = VariantInputs<BreadcrumbListVariantProps>;
|
|
17
|
-
type BreadcrumbListItemVariantProps = VariantProps<
|
|
16
|
+
type BreadcrumbListItemVariantProps = VariantProps<typeof breadcrumbListItemThemeVariants>;
|
|
18
17
|
type BreadcrumbListItemVariantInput = VariantInputs<BreadcrumbListItemVariantProps>;
|
|
19
18
|
type BreadcrumbVariantInput = BreadcrumbListVariantInput & Omit<BreadcrumbListItemVariantInput, "listDisabled">;
|
|
20
19
|
|
|
@@ -36,7 +35,6 @@ declare class BreadcrumbItemComponent {
|
|
|
36
35
|
}
|
|
37
36
|
|
|
38
37
|
declare class BreadcrumbComponent implements BreadcrumbVariantInput {
|
|
39
|
-
#private;
|
|
40
38
|
protected readonly itemComponents: _angular_core.Signal<readonly BreadcrumbItemComponent[]>;
|
|
41
39
|
protected readonly currentItemClass: _angular_core.Signal<string>;
|
|
42
40
|
protected readonly listClass: _angular_core.Signal<string>;
|
|
@@ -3,15 +3,14 @@ import { ButtonDirective } from '@nanahoshi/mona-ui/button';
|
|
|
3
3
|
import { SelectionMode } from '@nanahoshi/mona-ui/common';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
7
6
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
8
7
|
|
|
9
|
-
declare const buttonGroupThemeVariants: (
|
|
8
|
+
declare const buttonGroupThemeVariants: (props?: ({
|
|
10
9
|
look?: "default" | "error" | "ghost" | "info" | "outline" | "primary" | "secondary" | "success" | "warning" | null | undefined;
|
|
11
10
|
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
12
11
|
size?: "large" | "medium" | "small" | null | undefined;
|
|
13
12
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
14
|
-
type ButtonGroupVariantProps = VariantProps<
|
|
13
|
+
type ButtonGroupVariantProps = VariantProps<typeof buttonGroupThemeVariants>;
|
|
15
14
|
type ButtonGroupVariantsInput = VariantInputs<ButtonGroupVariantProps>;
|
|
16
15
|
|
|
17
16
|
declare class ButtonGroupComponent implements ButtonGroupVariantsInput {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
3
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
5
|
-
import {
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
6
5
|
import { Subject } from 'rxjs';
|
|
7
6
|
|
|
8
|
-
declare const buttonThemeVariants: (
|
|
7
|
+
declare const buttonThemeVariants: (props?: ({
|
|
9
8
|
disabled?: boolean | null | undefined;
|
|
10
9
|
iconOnly?: boolean | null | undefined;
|
|
11
10
|
loading?: boolean | null | undefined;
|
|
@@ -14,11 +13,12 @@ declare const buttonThemeVariants: (theme: ThemeStyle) => (props?: ({
|
|
|
14
13
|
size?: "large" | "medium" | "small" | null | undefined;
|
|
15
14
|
selected?: boolean | null | undefined;
|
|
16
15
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
17
|
-
type ButtonVariantProps = VariantProps<
|
|
16
|
+
type ButtonVariantProps = VariantProps<typeof buttonThemeVariants>;
|
|
18
17
|
type ButtonVariantsInput = VariantInputs<ButtonVariantProps>;
|
|
19
18
|
|
|
20
19
|
declare class ButtonDirective implements ButtonVariantsInput {
|
|
21
20
|
#private;
|
|
21
|
+
protected readonly displaysPressedState: _angular_core.Signal<boolean>;
|
|
22
22
|
protected readonly effectiveDisabled: _angular_core.Signal<boolean>;
|
|
23
23
|
protected readonly effectiveLook: _angular_core.Signal<"default" | "primary" | "success" | "error" | "warning" | "info" | "outline" | "secondary" | "ghost" | "link" | "clear" | null | undefined>;
|
|
24
24
|
protected readonly effectiveRounded: _angular_core.Signal<"full" | "large" | "medium" | "none" | "small" | null | undefined>;
|
|
@@ -83,9 +83,9 @@ declare class ButtonDirective implements ButtonVariantsInput {
|
|
|
83
83
|
/**
|
|
84
84
|
* @description Enables toggle behavior — each click flips the `selected` state and `aria-pressed` is managed.
|
|
85
85
|
* Must use `[toggleable]="true"` binding syntax, not bare attribute form.
|
|
86
|
-
* @default
|
|
86
|
+
* @default undefined
|
|
87
87
|
*/
|
|
88
|
-
readonly toggleable: _angular_core.InputSignal<boolean>;
|
|
88
|
+
readonly toggleable: _angular_core.InputSignal<boolean | undefined>;
|
|
89
89
|
/**
|
|
90
90
|
* @description Additional CSS classes merged onto the host element via `tailwind-merge`.
|
|
91
91
|
* @default ""
|
|
@@ -5,7 +5,6 @@ import { FormValueControl } from '@angular/forms/signals';
|
|
|
5
5
|
import { CalendarView, DateDisabledType } from '@nanahoshi/mona-ui/date-input';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
7
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
8
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
9
8
|
import { VariantProps } from 'class-variance-authority';
|
|
10
9
|
|
|
11
10
|
interface DecadeCellTemplateContext {
|
|
@@ -57,18 +56,13 @@ type CalendarSelection = "multiple" | "range" | "single";
|
|
|
57
56
|
|
|
58
57
|
type FirstDayOfWeek = "monday" | "sunday";
|
|
59
58
|
|
|
60
|
-
declare const calendarBaseThemeVariants: (
|
|
59
|
+
declare const calendarBaseThemeVariants: (props?: ({
|
|
61
60
|
disabled?: boolean | null | undefined;
|
|
62
61
|
readonly?: boolean | null | undefined;
|
|
63
62
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
64
63
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
65
|
-
declare const calendarHeaderThemeVariants: (
|
|
66
|
-
declare const
|
|
67
|
-
declare const calendarDecadeViewCellThemeVariants: (theme: ThemeStyle) => (props?: ({
|
|
68
|
-
focused?: boolean | null | undefined;
|
|
69
|
-
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
70
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
71
|
-
declare const calendarMonthViewDayThemeVariants: (theme: ThemeStyle) => (props?: ({
|
|
64
|
+
declare const calendarHeaderThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
65
|
+
declare const calendarMonthViewDayThemeVariants: (props?: ({
|
|
72
66
|
disabled?: boolean | null | undefined;
|
|
73
67
|
focused?: boolean | null | undefined;
|
|
74
68
|
outside?: boolean | null | undefined;
|
|
@@ -77,30 +71,35 @@ declare const calendarMonthViewDayThemeVariants: (theme: ThemeStyle) => (props?:
|
|
|
77
71
|
selected?: boolean | null | undefined;
|
|
78
72
|
today?: boolean | null | undefined;
|
|
79
73
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
80
|
-
declare const calendarMonthViewGridThemeVariants: (
|
|
81
|
-
declare const calendarMonthViewGridHeaderThemeVariants: (
|
|
82
|
-
declare const calendarYearViewGridThemeVariants: (
|
|
83
|
-
declare const calendarYearViewCellThemeVariants: (
|
|
74
|
+
declare const calendarMonthViewGridThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
75
|
+
declare const calendarMonthViewGridHeaderThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
76
|
+
declare const calendarYearViewGridThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
77
|
+
declare const calendarYearViewCellThemeVariants: (props?: ({
|
|
78
|
+
focused?: boolean | null | undefined;
|
|
79
|
+
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
80
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
81
|
+
declare const calendarDecadeViewGridThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
82
|
+
declare const calendarDecadeViewCellThemeVariants: (props?: ({
|
|
84
83
|
focused?: boolean | null | undefined;
|
|
85
84
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
86
85
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
87
|
-
type CalendarBaseVariantProps = VariantProps<
|
|
86
|
+
type CalendarBaseVariantProps = VariantProps<typeof calendarBaseThemeVariants>;
|
|
88
87
|
type CalendarBaseVariantInput = VariantInputs<CalendarBaseVariantProps>;
|
|
89
|
-
type CalendarHeaderVariantProps = VariantProps<
|
|
88
|
+
type CalendarHeaderVariantProps = VariantProps<typeof calendarHeaderThemeVariants>;
|
|
90
89
|
type CalendarHeaderVariantInput = VariantInputs<CalendarHeaderVariantProps>;
|
|
91
|
-
type CalendarDecadeViewGridVariantProps = VariantProps<
|
|
90
|
+
type CalendarDecadeViewGridVariantProps = VariantProps<typeof calendarDecadeViewGridThemeVariants>;
|
|
92
91
|
type CalendarDecadeViewGridVariantInput = VariantInputs<CalendarDecadeViewGridVariantProps>;
|
|
93
|
-
type CalendarDecadeViewCellVariantProps = VariantProps<
|
|
92
|
+
type CalendarDecadeViewCellVariantProps = VariantProps<typeof calendarDecadeViewCellThemeVariants>;
|
|
94
93
|
type CalendarDecadeViewCellVariantInput = VariantInputs<CalendarDecadeViewCellVariantProps>;
|
|
95
|
-
type CalendarMonthViewDayVariantProps = VariantProps<
|
|
94
|
+
type CalendarMonthViewDayVariantProps = VariantProps<typeof calendarMonthViewDayThemeVariants>;
|
|
96
95
|
type CalendarMonthViewDayVariantInput = VariantInputs<CalendarMonthViewDayVariantProps>;
|
|
97
|
-
type CalendarMonthViewGridVariantProps = VariantProps<
|
|
96
|
+
type CalendarMonthViewGridVariantProps = VariantProps<typeof calendarMonthViewGridThemeVariants>;
|
|
98
97
|
type CalendarMonthViewGridVariantInput = VariantInputs<CalendarMonthViewGridVariantProps>;
|
|
99
|
-
type CalendarMonthViewGridHeaderVariantProps = VariantProps<
|
|
98
|
+
type CalendarMonthViewGridHeaderVariantProps = VariantProps<typeof calendarMonthViewGridHeaderThemeVariants>;
|
|
100
99
|
type CalendarMonthViewGridHeaderVariantInput = VariantInputs<CalendarMonthViewGridHeaderVariantProps>;
|
|
101
|
-
type CalendarYearViewGridVariantProps = VariantProps<
|
|
100
|
+
type CalendarYearViewGridVariantProps = VariantProps<typeof calendarYearViewGridThemeVariants>;
|
|
102
101
|
type CalendarYearViewGridVariantInput = VariantInputs<CalendarYearViewGridVariantProps>;
|
|
103
|
-
type CalendarYearViewCellVariantProps = VariantProps<
|
|
102
|
+
type CalendarYearViewCellVariantProps = VariantProps<typeof calendarYearViewCellThemeVariants>;
|
|
104
103
|
type CalendarYearViewCellVariantInput = VariantInputs<CalendarYearViewCellVariantProps>;
|
|
105
104
|
type CalendarVariantProps = CalendarBaseVariantProps & CalendarHeaderVariantProps & CalendarDecadeViewGridVariantProps & CalendarDecadeViewCellVariantProps & CalendarMonthViewDayVariantProps & CalendarMonthViewGridVariantProps & CalendarMonthViewGridHeaderVariantProps & CalendarYearViewGridVariantProps & CalendarYearViewCellVariantProps;
|
|
106
105
|
type CalendarVariantInput = CalendarBaseVariantInput & CalendarHeaderVariantInput & CalendarDecadeViewGridVariantInput & Omit<CalendarDecadeViewCellVariantInput, "focused"> & Omit<CalendarMonthViewDayVariantInput, "disabled" | "focused" | "outside" | "rangePreview" | "selected" | "today"> & CalendarMonthViewGridVariantInput & CalendarMonthViewGridHeaderVariantInput & CalendarYearViewGridVariantInput & Omit<CalendarYearViewCellVariantInput, "focused">;
|
|
@@ -2,27 +2,25 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { FormCheckboxControl } from '@angular/forms/signals';
|
|
3
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
4
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
5
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
6
5
|
import { VariantProps } from 'class-variance-authority';
|
|
7
6
|
|
|
8
|
-
declare const checkmarkThemeVariants: (
|
|
7
|
+
declare const checkmarkThemeVariants: (props?: ({
|
|
9
8
|
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
10
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
-
declare const checkboxContainerLabelThemeVariants: (
|
|
10
|
+
declare const checkboxContainerLabelThemeVariants: (props?: ({
|
|
12
11
|
labelSize?: "large" | "medium" | "small" | null | undefined;
|
|
13
12
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
14
|
-
declare const checkboxDirectiveThemeVariants: (
|
|
13
|
+
declare const checkboxDirectiveThemeVariants: (props?: ({
|
|
15
14
|
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
16
15
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
17
|
-
type CheckboxVariantProps = VariantProps<
|
|
16
|
+
type CheckboxVariantProps = VariantProps<typeof checkboxContainerLabelThemeVariants>;
|
|
18
17
|
type CheckboxVariantInput = VariantInputs<CheckboxVariantProps>;
|
|
19
|
-
type CheckmarkVariantProps = VariantProps<
|
|
18
|
+
type CheckmarkVariantProps = VariantProps<typeof checkmarkThemeVariants>;
|
|
20
19
|
type CheckmarkVariantInput = VariantInputs<CheckmarkVariantProps>;
|
|
21
|
-
type CheckboxDirectiveVariantProps = VariantProps<
|
|
20
|
+
type CheckboxDirectiveVariantProps = VariantProps<typeof checkboxDirectiveThemeVariants>;
|
|
22
21
|
type CheckboxDirectiveVariantInput = VariantInputs<CheckboxDirectiveVariantProps>;
|
|
23
22
|
|
|
24
23
|
declare class CheckBoxComponent implements CheckboxVariantInput, CheckmarkVariantInput, FormCheckboxControl {
|
|
25
|
-
#private;
|
|
26
24
|
protected readonly checkBoxClasses: _angular_core.Signal<string>;
|
|
27
25
|
protected readonly checkMarkClasses: _angular_core.Signal<string>;
|
|
28
26
|
protected readonly containerLabelClasses: _angular_core.Signal<string>;
|
|
@@ -113,7 +111,6 @@ declare class CheckBoxComponent implements CheckboxVariantInput, CheckmarkVarian
|
|
|
113
111
|
}
|
|
114
112
|
|
|
115
113
|
declare class CheckboxDirective implements CheckboxDirectiveVariantInput {
|
|
116
|
-
#private;
|
|
117
114
|
protected readonly classes: _angular_core.Signal<string>;
|
|
118
115
|
/**
|
|
119
116
|
* @description Border-radius preset applied to the checkbox.
|
|
@@ -2,17 +2,16 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { TemplateRef } from '@angular/core';
|
|
3
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
4
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
5
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
6
5
|
import { VariantProps } from 'class-variance-authority';
|
|
7
6
|
|
|
8
|
-
declare const chipThemeVariants: (
|
|
7
|
+
declare const chipThemeVariants: (props?: ({
|
|
9
8
|
disabled?: boolean | null | undefined;
|
|
10
9
|
look?: "default" | "primary" | "success" | "error" | "warning" | "info" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
11
10
|
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
12
11
|
size?: "large" | "medium" | "small" | null | undefined;
|
|
13
12
|
selected?: boolean | null | undefined;
|
|
14
13
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
|
-
type ChipVariantProps = VariantProps<
|
|
14
|
+
type ChipVariantProps = VariantProps<typeof chipThemeVariants>;
|
|
16
15
|
type ChipVariantInputs = VariantInputs<ChipVariantProps>;
|
|
17
16
|
|
|
18
17
|
declare class ChipComponent implements ChipVariantInputs {
|
|
@@ -2,7 +2,6 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { TemplateRef } from '@angular/core';
|
|
3
3
|
import { VariantInputs, Action } from '@nanahoshi/mona-ui/internal';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
6
5
|
import { VariantProps } from 'class-variance-authority';
|
|
7
6
|
|
|
8
7
|
interface LabelTemplateContext {
|
|
@@ -18,14 +17,13 @@ declare class CircularProgressBarLabelTemplateDirective {
|
|
|
18
17
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CircularProgressBarLabelTemplateDirective, "ng-template[monaCircularProgressBarLabelTemplate]", never, {}, {}, never, never, true, never>;
|
|
19
18
|
}
|
|
20
19
|
|
|
21
|
-
declare const circularProgressBarBaseThemeVariants: (
|
|
20
|
+
declare const circularProgressBarBaseThemeVariants: (props?: ({
|
|
22
21
|
disabled?: boolean | null | undefined;
|
|
23
22
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
24
|
-
type CircularProgressBarBaseVariantProps = VariantProps<
|
|
23
|
+
type CircularProgressBarBaseVariantProps = VariantProps<typeof circularProgressBarBaseThemeVariants>;
|
|
25
24
|
type CircularProgressBarBaseVariantInput = VariantInputs<CircularProgressBarBaseVariantProps>;
|
|
26
25
|
|
|
27
26
|
declare class CircularProgressBarComponent implements CircularProgressBarBaseVariantInput {
|
|
28
|
-
#private;
|
|
29
27
|
protected readonly baseClasses: _angular_core.Signal<string>;
|
|
30
28
|
protected readonly center: _angular_core.Signal<{
|
|
31
29
|
x: number;
|
|
@@ -6,7 +6,6 @@ import { ColorMode, ColorOutputFormat } from '@nanahoshi/mona-ui/common';
|
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
7
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
8
8
|
import { VariantProps } from 'class-variance-authority';
|
|
9
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
10
9
|
|
|
11
10
|
interface ColorInput {
|
|
12
11
|
key: string;
|
|
@@ -17,26 +16,26 @@ interface ColorInput {
|
|
|
17
16
|
change: (value: number | null) => void;
|
|
18
17
|
}
|
|
19
18
|
|
|
20
|
-
declare const colorGradientBaseThemeVariants: (
|
|
21
|
-
declare const colorGradientHsvRectangleThemeVariants: (
|
|
19
|
+
declare const colorGradientBaseThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
20
|
+
declare const colorGradientHsvRectangleThemeVariants: (props?: ({
|
|
22
21
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
23
22
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
24
|
-
declare const colorGradientHsvRectangleHandleThemeVariants: (
|
|
23
|
+
declare const colorGradientHsvRectangleHandleThemeVariants: (props?: ({
|
|
25
24
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
26
25
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
27
|
-
declare const colorGradientPreviewThemeVariants: (
|
|
26
|
+
declare const colorGradientPreviewThemeVariants: (props?: ({
|
|
28
27
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
29
28
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
30
|
-
declare const colorGradientSliderHandleThemeVariants: (
|
|
31
|
-
type ColorGradientBaseVariantProps = VariantProps<
|
|
29
|
+
declare const colorGradientSliderHandleThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
30
|
+
type ColorGradientBaseVariantProps = VariantProps<typeof colorGradientBaseThemeVariants>;
|
|
32
31
|
type ColorGradientVaseVariantInput = VariantInputs<ColorGradientBaseVariantProps>;
|
|
33
|
-
type ColorGradientHsvRectangleVariantProps = VariantProps<
|
|
32
|
+
type ColorGradientHsvRectangleVariantProps = VariantProps<typeof colorGradientHsvRectangleThemeVariants>;
|
|
34
33
|
type ColorGradientHsvRectangleVariantInput = VariantInputs<ColorGradientHsvRectangleVariantProps>;
|
|
35
|
-
type ColorGradientHsvRectangleHandleVariantProps = VariantProps<
|
|
34
|
+
type ColorGradientHsvRectangleHandleVariantProps = VariantProps<typeof colorGradientHsvRectangleHandleThemeVariants>;
|
|
36
35
|
type ColorGradientHsvRectangleHandleVariantInput = VariantInputs<ColorGradientHsvRectangleHandleVariantProps>;
|
|
37
|
-
type ColorGradientPreviewVariantProps = VariantProps<
|
|
36
|
+
type ColorGradientPreviewVariantProps = VariantProps<typeof colorGradientPreviewThemeVariants>;
|
|
38
37
|
type ColorGradientPreviewVariantInput = VariantInputs<ColorGradientPreviewVariantProps>;
|
|
39
|
-
type ColorGradientSliderHandleVariantProps = VariantProps<
|
|
38
|
+
type ColorGradientSliderHandleVariantProps = VariantProps<typeof colorGradientSliderHandleThemeVariants>;
|
|
40
39
|
type ColorGradientSliderHandleVariantInput = VariantInputs<ColorGradientSliderHandleVariantProps>;
|
|
41
40
|
type ColorGradientVariantProps = ColorGradientBaseVariantProps & ColorGradientHsvRectangleVariantProps & ColorGradientHsvRectangleHandleVariantProps & ColorGradientPreviewVariantProps & ColorGradientSliderHandleVariantProps;
|
|
42
41
|
type ColorGradientVariantInputs = ColorGradientVaseVariantInput & ColorGradientHsvRectangleVariantInput & ColorGradientHsvRectangleHandleVariantInput & ColorGradientPreviewVariantInput & ColorGradientSliderHandleVariantInput;
|
|
@@ -4,16 +4,15 @@ import { FormValueControl } from '@angular/forms/signals';
|
|
|
4
4
|
import { PaletteType } from '@nanahoshi/mona-ui/common';
|
|
5
5
|
import { VariantInputs, ColorScheme } from '@nanahoshi/mona-ui/internal';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
8
7
|
import { VariantProps } from 'class-variance-authority';
|
|
9
8
|
|
|
10
|
-
declare const colorPaletteBaseThemeVariants: (
|
|
11
|
-
declare const colorPaletteItemThemeVariants: (
|
|
9
|
+
declare const colorPaletteBaseThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
10
|
+
declare const colorPaletteItemThemeVariants: (props?: ({
|
|
12
11
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
13
12
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
14
|
-
type ColorPaletteBaseVariantProps = VariantProps<
|
|
13
|
+
type ColorPaletteBaseVariantProps = VariantProps<typeof colorPaletteBaseThemeVariants>;
|
|
15
14
|
type ColorPaletteBaseVariantInput = VariantInputs<ColorPaletteBaseVariantProps>;
|
|
16
|
-
type ColorPaletteItemVariantProps = VariantProps<
|
|
15
|
+
type ColorPaletteItemVariantProps = VariantProps<typeof colorPaletteItemThemeVariants>;
|
|
17
16
|
type ColorPaletteItemVariantInput = VariantInputs<ColorPaletteItemVariantProps>;
|
|
18
17
|
type ColorPaletteVariantProps = ColorPaletteBaseVariantProps & ColorPaletteItemVariantProps;
|
|
19
18
|
type ColorPaletteVariantInput = ColorPaletteBaseVariantInput & ColorPaletteItemVariantInput;
|
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { OnInit, Signal, TemplateRef } from '@angular/core';
|
|
3
|
-
import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types';
|
|
4
3
|
import { FormValueControl } from '@angular/forms/signals';
|
|
5
4
|
import { PaletteType } from '@nanahoshi/mona-ui/common';
|
|
6
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
6
|
import { VariantProps } from 'class-variance-authority';
|
|
8
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
9
7
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
10
8
|
|
|
11
9
|
type ColorPickerView = "gradient" | "palette";
|
|
12
10
|
|
|
13
|
-
declare const colorPickerBaseThemeVariants: (
|
|
11
|
+
declare const colorPickerBaseThemeVariants: (props?: ({
|
|
14
12
|
expanded?: boolean | null | undefined;
|
|
15
13
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
16
14
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
17
15
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
|
-
declare const colorPickerColorThemeVariants: (
|
|
16
|
+
declare const colorPickerColorThemeVariants: (props?: ({
|
|
19
17
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
20
18
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
21
19
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
22
|
-
type ColorPickerBaseVariantProps = VariantProps<
|
|
20
|
+
type ColorPickerBaseVariantProps = VariantProps<typeof colorPickerBaseThemeVariants>;
|
|
23
21
|
type ColorPickerBaseVariantInput = VariantInputs<ColorPickerBaseVariantProps>;
|
|
24
|
-
type ColorPickerColorVariantProps = VariantProps<
|
|
22
|
+
type ColorPickerColorVariantProps = VariantProps<typeof colorPickerColorThemeVariants>;
|
|
25
23
|
type ColorPickerColorVariantInput = VariantInputs<ColorPickerColorVariantProps>;
|
|
26
24
|
type ColorPickerVariantProps = ColorPickerBaseVariantProps & ColorPickerColorVariantProps;
|
|
27
25
|
type ColorPickerVariantInput = Omit<ColorPickerBaseVariantInput, "expanded"> & ColorPickerColorVariantInput;
|
|
@@ -32,8 +30,8 @@ declare class ColorPickerComponent implements OnInit, ColorPickerVariantInput, F
|
|
|
32
30
|
protected readonly colorClasses: Signal<string>;
|
|
33
31
|
protected readonly expanded: Signal<boolean>;
|
|
34
32
|
protected readonly invalidState: Signal<boolean>;
|
|
35
|
-
protected readonly
|
|
36
|
-
protected readonly
|
|
33
|
+
protected readonly gradientPopupClasses = "\n [background-color:var(--mona-effect-overlay-background-color,var(--color-surface-overlay))]\n \n [background-image:var(--mona-effect-overlay-background-image,none)]\n [backdrop-filter:var(--mona-effect-overlay-backdrop-filter,none)]\n [-webkit-backdrop-filter:var(--mona-effect-overlay-backdrop-filter,none)]\n\n border border-border shadow-(--shadow-overlay)";
|
|
34
|
+
protected readonly palettePopupClasses = "flex flex-col p-0.5 \n [background-color:var(--mona-effect-overlay-background-color,var(--color-surface-overlay))]\n \n [background-image:var(--mona-effect-overlay-background-image,none)]\n [backdrop-filter:var(--mona-effect-overlay-backdrop-filter,none)]\n [-webkit-backdrop-filter:var(--mona-effect-overlay-backdrop-filter,none)]\n\n border border-border shadow-(--shadow-overlay) outline-none";
|
|
37
35
|
protected readonly popupId: string;
|
|
38
36
|
protected readonly popupTemplate: Signal<TemplateRef<any>>;
|
|
39
37
|
protected readonly valueTemplate: Signal<TemplateRef<any> | undefined>;
|
|
@@ -9,25 +9,24 @@ import { PopupCloseEvent } from '@nanahoshi/mona-ui/popup';
|
|
|
9
9
|
import { Subject } from 'rxjs';
|
|
10
10
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
11
11
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
12
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
13
12
|
import { VariantProps } from 'class-variance-authority';
|
|
14
13
|
|
|
15
|
-
declare const comboBoxBaseThemeVariants: (
|
|
14
|
+
declare const comboBoxBaseThemeVariants: (props?: ({
|
|
16
15
|
disabled?: boolean | null | undefined;
|
|
17
16
|
focused?: boolean | null | undefined;
|
|
18
17
|
invalid?: boolean | null | undefined;
|
|
19
18
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
20
19
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
21
20
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
22
|
-
declare const comboBoxTextInputThemeVariants: (
|
|
21
|
+
declare const comboBoxTextInputThemeVariants: (props?: ({
|
|
23
22
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
24
23
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
25
|
-
declare const comboBoxAffixContainerThemeVariants: (
|
|
26
|
-
type ComboBoxBaseVariantProps = VariantProps<
|
|
24
|
+
declare const comboBoxAffixContainerThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
25
|
+
type ComboBoxBaseVariantProps = VariantProps<typeof comboBoxBaseThemeVariants>;
|
|
27
26
|
type ComboBoxBaseVariantInput = VariantInputs<ComboBoxBaseVariantProps>;
|
|
28
|
-
type ComboBoxTextInputVariantProps = VariantProps<
|
|
27
|
+
type ComboBoxTextInputVariantProps = VariantProps<typeof comboBoxTextInputThemeVariants>;
|
|
29
28
|
type ComboBoxTextInputVariantInput = VariantInputs<ComboBoxTextInputVariantProps>;
|
|
30
|
-
type ComboBoxAffixContainerVariantProps = VariantProps<
|
|
29
|
+
type ComboBoxAffixContainerVariantProps = VariantProps<typeof comboBoxAffixContainerThemeVariants>;
|
|
31
30
|
type ComboBoxAffixContainerVariantInput = VariantInputs<ComboBoxAffixContainerVariantProps>;
|
|
32
31
|
type ComboBoxVariantProps = ComboBoxBaseVariantProps & ComboBoxTextInputVariantProps & ComboBoxAffixContainerVariantProps;
|
|
33
32
|
type ComboBoxVariantInput = Omit<ComboBoxBaseVariantInput, "focused" | "invalid"> & ComboBoxTextInputVariantInput & ComboBoxAffixContainerVariantInput;
|
|
@@ -4,7 +4,6 @@ import { Predicate, ImmutableSet } from '@mirei/ts-collections';
|
|
|
4
4
|
import { DateTime } from 'luxon';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
6
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
7
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
8
7
|
import { VariantProps } from 'class-variance-authority';
|
|
9
8
|
import { Subject } from 'rxjs';
|
|
10
9
|
import { PreventableEvent } from '@nanahoshi/mona-ui/common';
|
|
@@ -33,11 +32,11 @@ declare class TimeLimiterPipe implements PipeTransform {
|
|
|
33
32
|
static ɵpipe: i0.ɵɵPipeDeclaration<TimeLimiterPipe, "timeLimiter", true>;
|
|
34
33
|
}
|
|
35
34
|
|
|
36
|
-
declare const datePopupThemeVariants: (
|
|
35
|
+
declare const datePopupThemeVariants: (props?: ({
|
|
37
36
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
38
37
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
39
38
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
40
|
-
type DatePopupVariantProps = VariantProps<
|
|
39
|
+
type DatePopupVariantProps = VariantProps<typeof datePopupThemeVariants>;
|
|
41
40
|
type DatePopupVariantInput = VariantInputs<DatePopupVariantProps>;
|
|
42
41
|
|
|
43
42
|
declare class CalendarService {
|
|
@@ -10,15 +10,14 @@ import { VariantInputs, AttributeConfig } from '@nanahoshi/mona-ui/internal';
|
|
|
10
10
|
import { ListSizeInputType } from '@nanahoshi/mona-ui/internal/list';
|
|
11
11
|
import { PopupCloseEvent } from '@nanahoshi/mona-ui/popup';
|
|
12
12
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
13
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
14
13
|
import { VariantProps } from 'class-variance-authority';
|
|
15
14
|
|
|
16
|
-
declare const datePickerBaseThemeVariants: (
|
|
15
|
+
declare const datePickerBaseThemeVariants: (props?: ({
|
|
17
16
|
focused?: boolean | null | undefined;
|
|
18
17
|
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
19
18
|
size?: "large" | "medium" | "small" | null | undefined;
|
|
20
19
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
21
|
-
type DatePickerBaseVariantProps = VariantProps<
|
|
20
|
+
type DatePickerBaseVariantProps = VariantProps<typeof datePickerBaseThemeVariants>;
|
|
22
21
|
type DatePickerBaseVariantInput = VariantInputs<DatePickerBaseVariantProps>;
|
|
23
22
|
type DatePickerVariantProps = DatePickerBaseVariantProps;
|
|
24
23
|
type DatePickerVariantInput = Omit<DatePickerBaseVariantInput, "focused">;
|
|
@@ -4,9 +4,8 @@ import { PopupCloseEvent, PopupRef } from '@nanahoshi/mona-ui/popup';
|
|
|
4
4
|
import { ButtonVariantProps } from '@nanahoshi/mona-ui/button';
|
|
5
5
|
import { PreventableEvent } from '@nanahoshi/mona-ui/common';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
|
-
import { VariantProps } from 'class-variance-authority';
|
|
8
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
9
7
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
8
|
+
import { VariantProps } from 'class-variance-authority';
|
|
10
9
|
import { Observable } from 'rxjs';
|
|
11
10
|
|
|
12
11
|
type ActionsLayout = "end" | "center" | "start" | "stretched";
|
|
@@ -32,18 +31,18 @@ declare class DialogActionEvent<T = unknown> extends PreventableEvent {
|
|
|
32
31
|
get action(): DialogAction<T>;
|
|
33
32
|
}
|
|
34
33
|
|
|
35
|
-
declare const dialogBaseThemeVariants: (
|
|
34
|
+
declare const dialogBaseThemeVariants: (props?: ({
|
|
36
35
|
rounded?: "large" | "medium" | "none" | "small" | null | undefined;
|
|
37
36
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
38
|
-
declare const
|
|
37
|
+
declare const dialogIconContainerThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
38
|
+
declare const dialogIconThemeVariants: (props?: ({
|
|
39
39
|
type?: "success" | "error" | "warning" | "info" | "confirm" | null | undefined;
|
|
40
40
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
41
|
-
|
|
42
|
-
type DialogBaseVariantProps = VariantProps<ReturnType<typeof dialogBaseThemeVariants>>;
|
|
41
|
+
type DialogBaseVariantProps = VariantProps<typeof dialogBaseThemeVariants>;
|
|
43
42
|
type DialogBaseVariantInput = VariantInputs<DialogBaseVariantProps>;
|
|
44
|
-
type DialogIconContainerVariantProps = VariantProps<
|
|
43
|
+
type DialogIconContainerVariantProps = VariantProps<typeof dialogIconContainerThemeVariants>;
|
|
45
44
|
type DialogIconContainerVariantInput = VariantInputs<DialogIconContainerVariantProps>;
|
|
46
|
-
type DialogIconVariantProps = VariantProps<
|
|
45
|
+
type DialogIconVariantProps = VariantProps<typeof dialogIconThemeVariants>;
|
|
47
46
|
type DialogIconVariantInput = VariantInputs<DialogIconVariantProps>;
|
|
48
47
|
type DialogVariantProps = DialogBaseVariantProps & DialogIconContainerVariantProps & DialogIconVariantProps;
|
|
49
48
|
type DialogVariantInput = DialogBaseVariantInput & DialogIconContainerVariantInput & DialogIconVariantInput;
|
|
@@ -9,11 +9,9 @@ import { DropdownDataInput, DropdownPopupInput, DropdownFieldPredicateType, Drop
|
|
|
9
9
|
import { PopupCloseEvent } from '@nanahoshi/mona-ui/popup';
|
|
10
10
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
11
11
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
12
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
13
12
|
import { VariantProps } from 'class-variance-authority';
|
|
14
13
|
|
|
15
|
-
declare const
|
|
16
|
-
declare const dropdownListInputThemeVariants: (theme: ThemeStyle) => (props?: ({
|
|
14
|
+
declare const dropdownListInputThemeVariants: (props?: ({
|
|
17
15
|
disabled?: boolean | null | undefined;
|
|
18
16
|
expanded?: boolean | null | undefined;
|
|
19
17
|
hasPrefix?: boolean | null | undefined;
|
|
@@ -21,14 +19,15 @@ declare const dropdownListInputThemeVariants: (theme: ThemeStyle) => (props?: ({
|
|
|
21
19
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
22
20
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
23
21
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
24
|
-
declare const dropdownListValueContainerThemeVariants: (
|
|
22
|
+
declare const dropdownListValueContainerThemeVariants: (props?: ({
|
|
25
23
|
hasTemplate?: boolean | null | undefined;
|
|
26
24
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
27
|
-
|
|
25
|
+
declare const dropdownListAffixContainerThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
26
|
+
type DropdownListInputVariantProps = VariantProps<typeof dropdownListInputThemeVariants>;
|
|
28
27
|
type DropdownListInputVariantInput = VariantInputs<DropdownListInputVariantProps>;
|
|
29
|
-
type DropdownListAffixContainerVariantProps = VariantProps<
|
|
28
|
+
type DropdownListAffixContainerVariantProps = VariantProps<typeof dropdownListAffixContainerThemeVariants>;
|
|
30
29
|
type DropdownListAffixContainerVariantInput = VariantInputs<DropdownListAffixContainerVariantProps>;
|
|
31
|
-
type DropdownListValueContainerVariantProps = VariantProps<
|
|
30
|
+
type DropdownListValueContainerVariantProps = VariantProps<typeof dropdownListValueContainerThemeVariants>;
|
|
32
31
|
type DropdownListValueContainerVariantInput = VariantInputs<DropdownListValueContainerVariantProps>;
|
|
33
32
|
type DropDownListVariantProps = DropdownListInputVariantProps & DropdownListAffixContainerVariantProps & DropdownListValueContainerVariantProps;
|
|
34
33
|
type DropDownListVariantInput = Omit<DropdownListInputVariantInput, "expanded" | "hasPrefix" | "invalid"> & DropdownListAffixContainerVariantInput & Omit<DropdownListValueContainerVariantInput, "hasTemplate">;
|