@nanahoshi/mona-ui 0.1.1 → 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 +38 -53
- package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +19 -53
- package/fesm2022/nanahoshi-mona-ui-button-group.mjs +15 -26
- package/fesm2022/nanahoshi-mona-ui-button.mjs +67 -68
- package/fesm2022/nanahoshi-mona-ui-calendar.mjs +53 -149
- package/fesm2022/nanahoshi-mona-ui-check-box.mjs +48 -95
- package/fesm2022/nanahoshi-mona-ui-chip.mjs +35 -45
- package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +9 -23
- package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +26 -77
- package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +16 -38
- package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +41 -46
- package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +32 -52
- package/fesm2022/nanahoshi-mona-ui-date-input.mjs +9 -12
- package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +40 -27
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +51 -51
- package/fesm2022/nanahoshi-mona-ui-dialog.mjs +40 -153
- package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +32 -53
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +7 -12
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +59 -219
- package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +24 -75
- package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +11 -44
- package/fesm2022/nanahoshi-mona-ui-filter.mjs +11 -41
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-cell.component-B2ETh-uI.mjs → nanahoshi-mona-ui-grid-grid-footer-cell.component-B6FBLtrr.mjs} +2 -2
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-table-cell.directive-DZk18LJC.mjs → nanahoshi-mona-ui-grid-grid-footer-table-cell.directive-OJe4UYuw.mjs} +4 -8
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-C7WKhhig.mjs → nanahoshi-mona-ui-grid-grid-list.component-DCd8K6ng.mjs} +9 -16
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-toggle.component-BRiY0CDX.mjs → nanahoshi-mona-ui-grid-grid-toggle.component-Dl8Hlkhj.mjs} +15 -44
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-BrYpFMyF.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-C5FRZlvv.mjs} +11 -20
- package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-T9Bj98kl.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BRZUd8cE.mjs} +109 -393
- 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 +26 -56
- package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +31 -122
- package/fesm2022/nanahoshi-mona-ui-internal.mjs +29 -1
- package/fesm2022/nanahoshi-mona-ui-list-box.mjs +4 -26
- package/fesm2022/nanahoshi-mona-ui-list-view.mjs +5 -18
- package/fesm2022/nanahoshi-mona-ui-menubar.mjs +48 -154
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +35 -62
- package/fesm2022/nanahoshi-mona-ui-notification.mjs +24 -108
- package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +37 -63
- package/fesm2022/nanahoshi-mona-ui-pager.mjs +21 -73
- package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +8 -30
- package/fesm2022/nanahoshi-mona-ui-popover.mjs +29 -50
- package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +36 -108
- package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +19 -60
- package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +47 -92
- package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +53 -144
- package/fesm2022/nanahoshi-mona-ui-slider.mjs +54 -110
- package/fesm2022/nanahoshi-mona-ui-split-button.mjs +7 -20
- package/fesm2022/nanahoshi-mona-ui-splitter.mjs +15 -50
- package/fesm2022/nanahoshi-mona-ui-stepper.mjs +28 -91
- package/fesm2022/nanahoshi-mona-ui-switch.mjs +37 -58
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +35 -107
- package/fesm2022/nanahoshi-mona-ui-text-area.mjs +22 -30
- package/fesm2022/nanahoshi-mona-ui-text-box.mjs +40 -61
- package/fesm2022/nanahoshi-mona-ui-theme.mjs +1111 -269
- package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +41 -27
- package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +35 -99
- package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +13 -41
- package/fesm2022/nanahoshi-mona-ui-window.mjs +29 -108
- 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 +2 -1
- 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 +2 -3
- 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 -5
- 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 +6 -7
- 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-expansion-panel.d.ts +8 -10
- package/types/nanahoshi-mona-ui-fieldset.d.ts +6 -8
- package/types/nanahoshi-mona-ui-filter.d.ts +2 -3
- package/types/nanahoshi-mona-ui-grid.d.ts +14 -15
- package/types/nanahoshi-mona-ui-internal-indicator-icon.d.ts +0 -1
- 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 +6 -7
- 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 +12 -13
- package/types/nanahoshi-mona-ui-switch.d.ts +6 -7
- package/types/nanahoshi-mona-ui-tabs.d.ts +14 -16
- 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
|
@@ -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;
|
|
@@ -4,23 +4,22 @@ import { FormValueControl } from '@angular/forms/signals';
|
|
|
4
4
|
import { PaletteType } from '@nanahoshi/mona-ui/common';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
6
|
import { VariantProps } from 'class-variance-authority';
|
|
7
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
8
7
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
9
8
|
|
|
10
9
|
type ColorPickerView = "gradient" | "palette";
|
|
11
10
|
|
|
12
|
-
declare const colorPickerBaseThemeVariants: (
|
|
11
|
+
declare const colorPickerBaseThemeVariants: (props?: ({
|
|
13
12
|
expanded?: boolean | null | undefined;
|
|
14
13
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
15
14
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
16
15
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
17
|
-
declare const colorPickerColorThemeVariants: (
|
|
16
|
+
declare const colorPickerColorThemeVariants: (props?: ({
|
|
18
17
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
19
18
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
20
19
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
21
|
-
type ColorPickerBaseVariantProps = VariantProps<
|
|
20
|
+
type ColorPickerBaseVariantProps = VariantProps<typeof colorPickerBaseThemeVariants>;
|
|
22
21
|
type ColorPickerBaseVariantInput = VariantInputs<ColorPickerBaseVariantProps>;
|
|
23
|
-
type ColorPickerColorVariantProps = VariantProps<
|
|
22
|
+
type ColorPickerColorVariantProps = VariantProps<typeof colorPickerColorThemeVariants>;
|
|
24
23
|
type ColorPickerColorVariantInput = VariantInputs<ColorPickerColorVariantProps>;
|
|
25
24
|
type ColorPickerVariantProps = ColorPickerBaseVariantProps & ColorPickerColorVariantProps;
|
|
26
25
|
type ColorPickerVariantInput = Omit<ColorPickerBaseVariantInput, "expanded"> & ColorPickerColorVariantInput;
|
|
@@ -31,6 +30,8 @@ declare class ColorPickerComponent implements OnInit, ColorPickerVariantInput, F
|
|
|
31
30
|
protected readonly colorClasses: Signal<string>;
|
|
32
31
|
protected readonly expanded: Signal<boolean>;
|
|
33
32
|
protected readonly invalidState: Signal<boolean>;
|
|
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";
|
|
34
35
|
protected readonly popupId: string;
|
|
35
36
|
protected readonly popupTemplate: Signal<TemplateRef<any>>;
|
|
36
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">;
|
|
@@ -5,7 +5,6 @@ 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
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
|
import { Observable } from 'rxjs';
|
|
11
10
|
|
|
@@ -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">;
|
|
@@ -8,7 +8,6 @@ import { ConnectionPositionPair } from '@angular/cdk/overlay';
|
|
|
8
8
|
import { Subject } from 'rxjs';
|
|
9
9
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
10
10
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
11
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
12
11
|
import { VariantProps } from 'class-variance-authority';
|
|
13
12
|
|
|
14
13
|
type DropdownFieldSelectorType<TData> = string | Selector<TData, string> | null | undefined;
|
|
@@ -165,11 +164,11 @@ declare class DropdownListService {
|
|
|
165
164
|
static ɵprov: i0.ɵɵInjectableDeclaration<DropdownListService>;
|
|
166
165
|
}
|
|
167
166
|
|
|
168
|
-
declare const dropdownPopupThemeVariants: (
|
|
167
|
+
declare const dropdownPopupThemeVariants: (props?: ({
|
|
169
168
|
rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
|
|
170
169
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
171
170
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
172
|
-
type DropdownPopupVariantProps = VariantProps<
|
|
171
|
+
type DropdownPopupVariantProps = VariantProps<typeof dropdownPopupThemeVariants>;
|
|
173
172
|
type DropdownPopupVariantInput = VariantInputs<DropdownPopupVariantProps>;
|
|
174
173
|
|
|
175
174
|
export { DropdownDataHandlerDirective, DropdownDataInputToken, DropdownFilterableDirective, DropdownFooterTemplateDirective, DropdownGroupHeaderTemplateDirective, DropdownGroupableDirective, DropdownHeaderTemplateDirective, DropdownItemTemplateDirective, DropdownListPopupHandlerDirective, DropdownListService, DropdownLiveRegionDirective, DropdownNoDataTemplateDirective, DropdownPopupHandlerDirective, DropdownPopupInputToken, DropdownPrefixTemplateDirective, DropdownService, DropdownSuffixTemplateDirective, DropdownVirtualScrollDirective, dropdownPopupThemeVariants };
|
|
@@ -1,35 +1,33 @@
|
|
|
1
1
|
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
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
5
4
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
6
5
|
import { VariantProps } from 'class-variance-authority';
|
|
7
6
|
|
|
8
|
-
declare const expansionPanelBaseThemeVariants: (
|
|
7
|
+
declare const expansionPanelBaseThemeVariants: (props?: ({
|
|
9
8
|
rounded?: "small" | "medium" | "large" | "none" | null | undefined;
|
|
10
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
-
declare const expansionPanelHeaderThemeVariants: (
|
|
10
|
+
declare const expansionPanelHeaderThemeVariants: (props?: ({
|
|
12
11
|
collapsed?: boolean | null | undefined;
|
|
13
12
|
disabled?: boolean | null | undefined;
|
|
14
13
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
|
-
declare const expansionPanelIconContainerThemeVariants: (
|
|
14
|
+
declare const expansionPanelIconContainerThemeVariants: (props?: ({
|
|
16
15
|
hasTemplate?: boolean | null | undefined;
|
|
17
16
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
|
-
declare const expansionPanelContentThemeVariants: (
|
|
17
|
+
declare const expansionPanelContentThemeVariants: (props?: ({
|
|
19
18
|
expanded?: boolean | null | undefined;
|
|
20
19
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
21
|
-
type ExpansionPanelBaseVariantProps = VariantProps<
|
|
20
|
+
type ExpansionPanelBaseVariantProps = VariantProps<typeof expansionPanelBaseThemeVariants>;
|
|
22
21
|
type ExpansionPanelBaseVariantInput = VariantInputs<ExpansionPanelBaseVariantProps>;
|
|
23
|
-
type ExpansionPanelHeaderVariantProps = VariantProps<
|
|
22
|
+
type ExpansionPanelHeaderVariantProps = VariantProps<typeof expansionPanelHeaderThemeVariants>;
|
|
24
23
|
type ExpansionPanelHeaderVariantInput = VariantInputs<ExpansionPanelHeaderVariantProps>;
|
|
25
|
-
type ExpansionPanelContentVariantProps = VariantProps<
|
|
24
|
+
type ExpansionPanelContentVariantProps = VariantProps<typeof expansionPanelContentThemeVariants>;
|
|
26
25
|
type ExpansionPanelContentVariantInput = VariantInputs<ExpansionPanelContentVariantProps>;
|
|
27
|
-
type ExpansionPanelIconContainerVariantProps = VariantProps<
|
|
26
|
+
type ExpansionPanelIconContainerVariantProps = VariantProps<typeof expansionPanelIconContainerThemeVariants>;
|
|
28
27
|
type ExpansionPanelIconContainerVariantInput = VariantInputs<ExpansionPanelIconContainerVariantProps>;
|
|
29
28
|
type ExpansionPanelVariantInput = ExpansionPanelBaseVariantInput & Omit<ExpansionPanelHeaderVariantInput, "collapsed"> & ExpansionPanelContentVariantInput & Omit<ExpansionPanelIconContainerVariantInput, "hasTemplate">;
|
|
30
29
|
|
|
31
30
|
declare class ExpansionPanelComponent implements ExpansionPanelVariantInput {
|
|
32
|
-
#private;
|
|
33
31
|
protected readonly actionsTemplateList: _angular_core.Signal<readonly TemplateRef<any>[]>;
|
|
34
32
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
35
33
|
protected readonly contentClass: _angular_core.Signal<string>;
|
|
@@ -2,7 +2,6 @@ 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
7
|
declare class FieldsetLegendTemplateDirective {
|
|
@@ -10,25 +9,24 @@ declare class FieldsetLegendTemplateDirective {
|
|
|
10
9
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FieldsetLegendTemplateDirective, "ng-template[monaFieldsetLegendTemplate]", never, {}, {}, never, never, true, never>;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
|
-
declare const fieldsetBaseThemeVariants: (
|
|
14
|
-
declare const fieldsetThemeVariants: (
|
|
12
|
+
declare const fieldsetBaseThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
13
|
+
declare const fieldsetThemeVariants: (props?: ({
|
|
15
14
|
rounded?: "small" | "medium" | "large" | "full" | "none" | null | undefined;
|
|
16
15
|
disabled?: boolean | null | undefined;
|
|
17
16
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
|
-
declare const fieldsetLegendThemeVariants: (
|
|
17
|
+
declare const fieldsetLegendThemeVariants: (props?: ({
|
|
19
18
|
hasTemplate?: boolean | null | undefined;
|
|
20
19
|
rounded?: "small" | "medium" | "large" | "full" | "none" | null | undefined;
|
|
21
20
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
22
|
-
type FieldsetBaseVariantProps = VariantProps<
|
|
21
|
+
type FieldsetBaseVariantProps = VariantProps<typeof fieldsetBaseThemeVariants>;
|
|
23
22
|
type FieldsetBaseVariantInput = VariantInputs<FieldsetBaseVariantProps>;
|
|
24
|
-
type FieldsetFieldsetVariantProps = VariantProps<
|
|
23
|
+
type FieldsetFieldsetVariantProps = VariantProps<typeof fieldsetThemeVariants>;
|
|
25
24
|
type FieldsetFieldsetVariantInput = VariantInputs<FieldsetFieldsetVariantProps>;
|
|
26
|
-
type FieldsetLegendVariantProps = VariantProps<
|
|
25
|
+
type FieldsetLegendVariantProps = VariantProps<typeof fieldsetLegendThemeVariants>;
|
|
27
26
|
type FieldsetLegendVariantInput = VariantInputs<FieldsetLegendVariantProps>;
|
|
28
27
|
type FieldsetVariantInput = FieldsetBaseVariantInput & FieldsetFieldsetVariantInput & Omit<FieldsetLegendVariantInput, "hasTemplate">;
|
|
29
28
|
|
|
30
29
|
declare class FieldsetComponent implements FieldsetVariantInput {
|
|
31
|
-
#private;
|
|
32
30
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
33
31
|
protected readonly fieldsetClass: _angular_core.Signal<string>;
|
|
34
32
|
protected readonly legendClass: _angular_core.Signal<string>;
|
|
@@ -3,7 +3,6 @@ import * as _angular_core from '@angular/core';
|
|
|
3
3
|
import { DataType } from '@nanahoshi/mona-ui/common';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
6
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
7
6
|
import { VariantProps } from 'class-variance-authority';
|
|
8
7
|
|
|
9
8
|
interface FilterMenuDataItem {
|
|
@@ -30,11 +29,11 @@ interface FilterMenuConnectorItem {
|
|
|
30
29
|
value: FilterLogic;
|
|
31
30
|
}
|
|
32
31
|
|
|
33
|
-
declare const filterMenuBaseThemeVariants: (
|
|
32
|
+
declare const filterMenuBaseThemeVariants: (props?: ({
|
|
34
33
|
rounded?: "none" | "small" | "medium" | "large" | null | undefined;
|
|
35
34
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
36
35
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
37
|
-
type FilterMenuBaseVariantProps = VariantProps<
|
|
36
|
+
type FilterMenuBaseVariantProps = VariantProps<typeof filterMenuBaseThemeVariants>;
|
|
38
37
|
type FilterMenuBaseVariantInput = VariantInputs<FilterMenuBaseVariantProps>;
|
|
39
38
|
type FilterMenuVariantInput = FilterMenuBaseVariantInput;
|
|
40
39
|
|