@nanahoshi/mona-ui 0.1.1 → 0.2.1
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 +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 +54 -150
- package/fesm2022/nanahoshi-mona-ui-check-box.mjs +67 -99
- 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 +27 -78
- package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +17 -39
- package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +39 -48
- package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +34 -54
- package/fesm2022/nanahoshi-mona-ui-date-input.mjs +9 -12
- package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +42 -29
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +53 -53
- package/fesm2022/nanahoshi-mona-ui-dialog.mjs +40 -153
- package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +33 -54
- 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 +27 -57
- 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 +36 -63
- package/fesm2022/nanahoshi-mona-ui-notification.mjs +24 -108
- package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +38 -64
- 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 +78 -98
- 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 -59
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +35 -107
- package/fesm2022/nanahoshi-mona-ui-text-area.mjs +19 -31
- package/fesm2022/nanahoshi-mona-ui-text-box.mjs +60 -65
- package/fesm2022/nanahoshi-mona-ui-theme.mjs +1111 -269
- package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +43 -29
- package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +40 -102
- 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 +18 -10
- 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 +28 -13
- 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 +16 -7
- 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 +11 -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
|
@@ -2,35 +2,34 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { FormValueControl } 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 radioButtonCircleThemeVariants: (
|
|
7
|
+
declare const radioButtonCircleThemeVariants: (props?: ({
|
|
9
8
|
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
10
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
-
declare const radioButtonIndicatorThemeVariants: (
|
|
10
|
+
declare const radioButtonIndicatorThemeVariants: (props?: ({
|
|
12
11
|
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
13
12
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
14
|
-
declare const radioButtonContainerLabelThemeVariants: (
|
|
13
|
+
declare const radioButtonContainerLabelThemeVariants: (props?: ({
|
|
15
14
|
labelSize?: "large" | "medium" | "small" | null | undefined;
|
|
16
15
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
17
|
-
declare const radioButtonDirectiveThemeVariants: (
|
|
16
|
+
declare const radioButtonDirectiveThemeVariants: (props?: ({
|
|
18
17
|
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
19
18
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
20
|
-
type RadioButtonContainerLabelVariantProps = VariantProps<
|
|
19
|
+
type RadioButtonContainerLabelVariantProps = VariantProps<typeof radioButtonContainerLabelThemeVariants>;
|
|
21
20
|
type RadioButtonContainerLabelVariantInput = VariantInputs<RadioButtonContainerLabelVariantProps>;
|
|
22
|
-
type RadioButtonCircleVariantProps = VariantProps<
|
|
21
|
+
type RadioButtonCircleVariantProps = VariantProps<typeof radioButtonCircleThemeVariants>;
|
|
23
22
|
type RadioButtonCircleVariantInput = VariantInputs<RadioButtonCircleVariantProps>;
|
|
24
|
-
type RadioButtonIndicatorVariantProps = VariantProps<
|
|
23
|
+
type RadioButtonIndicatorVariantProps = VariantProps<typeof radioButtonIndicatorThemeVariants>;
|
|
25
24
|
type RadioButtonIndicatorVariantInput = VariantInputs<RadioButtonIndicatorVariantProps>;
|
|
26
25
|
type RadioButtonVariantProps = RadioButtonContainerLabelVariantProps & RadioButtonCircleVariantProps & RadioButtonIndicatorVariantProps;
|
|
27
26
|
type RadioButtonVariantInput = RadioButtonContainerLabelVariantInput & RadioButtonCircleVariantInput & RadioButtonIndicatorVariantInput;
|
|
28
|
-
type RadioButtonDirectiveProps = VariantProps<
|
|
27
|
+
type RadioButtonDirectiveProps = VariantProps<typeof radioButtonDirectiveThemeVariants>;
|
|
29
28
|
type RadioButtonDirectiveInput = VariantInputs<RadioButtonDirectiveProps>;
|
|
30
29
|
|
|
31
30
|
declare class RadioButtonComponent implements RadioButtonVariantInput, FormValueControl<unknown> {
|
|
32
|
-
#private;
|
|
33
31
|
protected readonly containerLabelClasses: _angular_core.Signal<string>;
|
|
32
|
+
protected readonly invalidState: _angular_core.Signal<boolean>;
|
|
34
33
|
protected readonly radioButtonCircleClasses: _angular_core.Signal<string>;
|
|
35
34
|
protected readonly radioButtonClasses: _angular_core.Signal<string>;
|
|
36
35
|
protected readonly radioButtonIndicatorClasses: _angular_core.Signal<string>;
|
|
@@ -94,6 +93,12 @@ declare class RadioButtonComponent implements RadioButtonVariantInput, FormValue
|
|
|
94
93
|
*/
|
|
95
94
|
readonly rounded: _angular_core.InputSignal<"full" | "large" | "medium" | "none" | "small" | null | undefined>;
|
|
96
95
|
readonly touch: _angular_core.OutputEmitterRef<void>;
|
|
96
|
+
/**
|
|
97
|
+
* @description Marks the radio button as touched. Error styling requires both `invalid` and `touched` to be `true`.
|
|
98
|
+
* When bound to a signal form field via `[field]`, this is written by the signal forms `Field` directive.
|
|
99
|
+
* @default false
|
|
100
|
+
*/
|
|
101
|
+
readonly touched: _angular_core.InputSignal<boolean>;
|
|
97
102
|
/**
|
|
98
103
|
* @description Additional CSS classes merged onto the label container element via `tailwind-merge`.
|
|
99
104
|
* @default ""
|
|
@@ -109,19 +114,29 @@ declare class RadioButtonComponent implements RadioButtonVariantInput, FormValue
|
|
|
109
114
|
protected onBlur(event: FocusEvent): void;
|
|
110
115
|
protected onSelectionChange(): void;
|
|
111
116
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
|
|
112
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioButtonComponent, "mona-radio-button", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "labelSize": { "alias": "labelSize"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "radioValue": { "alias": "radioValue"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "inputBlur": "inputBlur"; "inputClick": "inputClick"; "inputFocus": "inputFocus"; "touch": "touch"; "value": "valueChange"; }, never, ["*"], true, never>;
|
|
117
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioButtonComponent, "mona-radio-button", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "labelSize": { "alias": "labelSize"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "radioValue": { "alias": "radioValue"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "inputBlur": "inputBlur"; "inputClick": "inputClick"; "inputFocus": "inputFocus"; "touch": "touch"; "value": "valueChange"; }, never, ["*"], true, never>;
|
|
113
118
|
}
|
|
114
119
|
|
|
115
120
|
declare class RadioButtonDirective implements RadioButtonDirectiveInput {
|
|
116
|
-
#private;
|
|
117
121
|
protected readonly classes: _angular_core.Signal<string>;
|
|
122
|
+
protected readonly inputInvalid: _angular_core.Signal<boolean>;
|
|
123
|
+
/**
|
|
124
|
+
* @description Marks the radio button as invalid, triggering error border and ring styling.
|
|
125
|
+
* @default false
|
|
126
|
+
*/
|
|
127
|
+
readonly invalid: _angular_core.InputSignal<boolean>;
|
|
118
128
|
/**
|
|
119
129
|
* @description Sets the border radius of the radio button.
|
|
120
130
|
* @default "none"
|
|
121
131
|
*/
|
|
122
132
|
readonly rounded: _angular_core.InputSignal<"full" | "large" | "medium" | "none" | "small" | null | undefined>;
|
|
133
|
+
/**
|
|
134
|
+
* @description Marks the radio button as touched. Error styling is only shown when both `invalid` and `touched` are `true`.
|
|
135
|
+
* @default false
|
|
136
|
+
*/
|
|
137
|
+
readonly touched: _angular_core.InputSignal<boolean>;
|
|
123
138
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadioButtonDirective, never>;
|
|
124
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RadioButtonDirective, "input[type='radio'][monaRadioButton]", never, { "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
139
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RadioButtonDirective, "input[type='radio'][monaRadioButton]", never, { "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
125
140
|
}
|
|
126
141
|
|
|
127
142
|
export { RadioButtonComponent, RadioButtonDirective };
|
|
@@ -3,7 +3,6 @@ import * as _angular_core from '@angular/core';
|
|
|
3
3
|
import { TemplateRef, ElementRef } from '@angular/core';
|
|
4
4
|
import { ScrollDirection } from '@nanahoshi/mona-ui/common';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
7
6
|
import { VariantProps } from 'class-variance-authority';
|
|
8
7
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
9
8
|
|
|
@@ -13,43 +12,43 @@ interface ScrollViewListItem {
|
|
|
13
12
|
data: unknown;
|
|
14
13
|
}
|
|
15
14
|
|
|
16
|
-
declare const scrollViewBaseThemeVariants: (
|
|
15
|
+
declare const scrollViewBaseThemeVariants: (props?: ({
|
|
17
16
|
rounded?: "small" | "medium" | "large" | "none" | null | undefined;
|
|
18
17
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
19
|
-
declare const scrollViewContentThemeVariants: (
|
|
20
|
-
declare const scrollViewListThemeVariants: (
|
|
21
|
-
declare const scrollViewArrowThemeVariants: (
|
|
18
|
+
declare const scrollViewContentThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
19
|
+
declare const scrollViewListThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
20
|
+
declare const scrollViewArrowThemeVariants: (props?: ({
|
|
22
21
|
hidden?: boolean | null | undefined;
|
|
23
22
|
left?: boolean | null | undefined;
|
|
24
23
|
right?: boolean | null | undefined;
|
|
25
24
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
26
|
-
declare const scrollViewPagerThemeVariants: (
|
|
25
|
+
declare const scrollViewPagerThemeVariants: (props?: ({
|
|
27
26
|
pagerOverlay?: "none" | "dark" | "light" | null | undefined;
|
|
28
27
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
29
|
-
declare const scrollViewPagerListContainerThemeVariants: (
|
|
30
|
-
declare const scrollViewPagerListThemeVariants: (
|
|
31
|
-
declare const scrollViewPagerListItemThemeVariants: (
|
|
28
|
+
declare const scrollViewPagerListContainerThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
29
|
+
declare const scrollViewPagerListThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
30
|
+
declare const scrollViewPagerListItemThemeVariants: (props?: ({
|
|
32
31
|
active?: boolean | null | undefined;
|
|
33
32
|
pagerRounded?: "small" | "medium" | "large" | "none" | "full" | null | undefined;
|
|
34
33
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
35
|
-
declare const scrollViewPagerArrowThemeVariants: (
|
|
36
|
-
type ScrollViewBaseVariantProps = VariantProps<
|
|
34
|
+
declare const scrollViewPagerArrowThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
35
|
+
type ScrollViewBaseVariantProps = VariantProps<typeof scrollViewBaseThemeVariants>;
|
|
37
36
|
type ScrollViewBaseVariantInput = VariantInputs<ScrollViewBaseVariantProps>;
|
|
38
|
-
type ScrollViewContentVariantProps = VariantProps<
|
|
37
|
+
type ScrollViewContentVariantProps = VariantProps<typeof scrollViewContentThemeVariants>;
|
|
39
38
|
type ScrollViewContentVariantInput = VariantInputs<ScrollViewContentVariantProps>;
|
|
40
|
-
type ScrollViewListVariantProps = VariantProps<
|
|
39
|
+
type ScrollViewListVariantProps = VariantProps<typeof scrollViewListThemeVariants>;
|
|
41
40
|
type ScrollViewListVariantInput = VariantInputs<ScrollViewListVariantProps>;
|
|
42
|
-
type ScrollViewPagerVariantProps = VariantProps<
|
|
41
|
+
type ScrollViewPagerVariantProps = VariantProps<typeof scrollViewPagerThemeVariants>;
|
|
43
42
|
type ScrollViewPagerVariantInput = VariantInputs<ScrollViewPagerVariantProps>;
|
|
44
|
-
type ScrollViewPagerListContainerVariantProps = VariantProps<
|
|
43
|
+
type ScrollViewPagerListContainerVariantProps = VariantProps<typeof scrollViewPagerListContainerThemeVariants>;
|
|
45
44
|
type ScrollViewPagerListContainerVariantInput = VariantInputs<ScrollViewPagerListContainerVariantProps>;
|
|
46
|
-
type ScrollViewPagerListVariantProps = VariantProps<
|
|
45
|
+
type ScrollViewPagerListVariantProps = VariantProps<typeof scrollViewPagerListThemeVariants>;
|
|
47
46
|
type ScrollViewPagerListVariantInput = VariantInputs<ScrollViewPagerListVariantProps>;
|
|
48
|
-
type ScrollViewPagerListItemVariantProps = VariantProps<
|
|
47
|
+
type ScrollViewPagerListItemVariantProps = VariantProps<typeof scrollViewPagerListItemThemeVariants>;
|
|
49
48
|
type ScrollViewPagerListItemVariantInput = VariantInputs<ScrollViewPagerListItemVariantProps>;
|
|
50
|
-
type ScrollViewArrowVariantProps = VariantProps<
|
|
49
|
+
type ScrollViewArrowVariantProps = VariantProps<typeof scrollViewArrowThemeVariants>;
|
|
51
50
|
type ScrollViewArrowVariantInput = VariantInputs<ScrollViewArrowVariantProps>;
|
|
52
|
-
type ScrollViewPagerArrowVariantProps = VariantProps<
|
|
51
|
+
type ScrollViewPagerArrowVariantProps = VariantProps<typeof scrollViewPagerArrowThemeVariants>;
|
|
53
52
|
type ScrollViewPagerArrowVariantInput = VariantInputs<ScrollViewPagerArrowVariantProps>;
|
|
54
53
|
type ScrollViewVariantInput = ScrollViewBaseVariantInput & ScrollViewContentVariantInput & ScrollViewListVariantInput & Omit<ScrollViewArrowVariantInput, "hidden" | "left" | "right"> & ScrollViewPagerVariantInput & ScrollViewPagerListContainerVariantInput & ScrollViewPagerListVariantInput & Omit<ScrollViewPagerListItemVariantInput, "active"> & ScrollViewPagerArrowVariantInput;
|
|
55
54
|
|
|
@@ -154,7 +153,6 @@ declare class ScrollViewComponent implements ScrollViewVariantInput {
|
|
|
154
153
|
}
|
|
155
154
|
|
|
156
155
|
declare class ScrollViewActivePageDirective {
|
|
157
|
-
#private;
|
|
158
156
|
protected readonly pageItemClass: _angular_core.Signal<string>;
|
|
159
157
|
readonly active: _angular_core.InputSignal<boolean>;
|
|
160
158
|
readonly rounded: _angular_core.InputSignal<"small" | "medium" | "large" | "none" | "full" | null | undefined>;
|
|
@@ -4,7 +4,6 @@ import { FormValueControl } from '@angular/forms/signals';
|
|
|
4
4
|
import { Orientation } from '@nanahoshi/mona-ui/common';
|
|
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
|
|
|
10
9
|
declare class SliderTickDirective {
|
|
@@ -37,37 +36,38 @@ interface TickStyleArgs {
|
|
|
37
36
|
smallTickStep: number;
|
|
38
37
|
}
|
|
39
38
|
|
|
40
|
-
declare const sliderBaseThemeVariants: (
|
|
41
|
-
declare const sliderTrackThemeVariants: (
|
|
42
|
-
declare const sliderSelectionThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
43
|
-
declare const sliderTickListThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
44
|
-
declare const sliderTickThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
45
|
-
declare const sliderTickLabelListThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
46
|
-
declare const sliderTickLabelThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
47
|
-
declare const sliderHandleThemeVariants: (theme: ThemeStyle) => (props?: ({
|
|
39
|
+
declare const sliderBaseThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
40
|
+
declare const sliderTrackThemeVariants: (props?: ({
|
|
48
41
|
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
49
42
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
50
|
-
|
|
43
|
+
declare const sliderSelectionThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
44
|
+
declare const sliderTickListThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
45
|
+
declare const sliderTickThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
46
|
+
declare const sliderTickLabelListThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
47
|
+
declare const sliderTickLabelThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
48
|
+
declare const sliderHandleThemeVariants: (props?: ({
|
|
49
|
+
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
50
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
51
|
+
type SliderBaseVariantProps = VariantProps<typeof sliderBaseThemeVariants>;
|
|
51
52
|
type SliderBaseVariantInputs = VariantInputs<SliderBaseVariantProps>;
|
|
52
|
-
type SliderTrackVariantProps = VariantProps<
|
|
53
|
+
type SliderTrackVariantProps = VariantProps<typeof sliderTrackThemeVariants>;
|
|
53
54
|
type SliderTrackVariantInputs = VariantInputs<SliderTrackVariantProps>;
|
|
54
|
-
type SliderSelectionVariantProps = VariantProps<
|
|
55
|
+
type SliderSelectionVariantProps = VariantProps<typeof sliderSelectionThemeVariants>;
|
|
55
56
|
type SliderSelectionVariantInputs = VariantInputs<SliderSelectionVariantProps>;
|
|
56
|
-
type SliderTickListVariantProps = VariantProps<
|
|
57
|
+
type SliderTickListVariantProps = VariantProps<typeof sliderTickListThemeVariants>;
|
|
57
58
|
type SliderTickListVariantInputs = VariantInputs<SliderTickListVariantProps>;
|
|
58
|
-
type SliderTickVariantProps = VariantProps<
|
|
59
|
+
type SliderTickVariantProps = VariantProps<typeof sliderTickThemeVariants>;
|
|
59
60
|
type SliderTickVariantInputs = VariantInputs<SliderTickVariantProps>;
|
|
60
|
-
type SliderTickLabelListVariantProps = VariantProps<
|
|
61
|
+
type SliderTickLabelListVariantProps = VariantProps<typeof sliderTickLabelListThemeVariants>;
|
|
61
62
|
type SliderTickLabelListVariantInputs = VariantInputs<SliderTickLabelListVariantProps>;
|
|
62
|
-
type SliderTickLabelVariantProps = VariantProps<
|
|
63
|
+
type SliderTickLabelVariantProps = VariantProps<typeof sliderTickLabelThemeVariants>;
|
|
63
64
|
type SliderTickLabelVariantInputs = VariantInputs<SliderTickLabelVariantProps>;
|
|
64
|
-
type SliderHandleVariantProps = VariantProps<
|
|
65
|
+
type SliderHandleVariantProps = VariantProps<typeof sliderHandleThemeVariants>;
|
|
65
66
|
type SliderHandleVariantInputs = VariantInputs<SliderHandleVariantProps>;
|
|
66
67
|
type SliderVariantProps = SliderBaseVariantProps & SliderTrackVariantProps & SliderSelectionVariantProps & SliderTickListVariantProps & SliderTickVariantProps & SliderTickLabelListVariantProps & SliderTickLabelVariantProps & SliderHandleVariantProps;
|
|
67
68
|
type SliderVariantInputs = SliderBaseVariantInputs & SliderTrackVariantInputs & SliderSelectionVariantInputs & SliderTickListVariantInputs & SliderTickVariantInputs & SliderTickLabelListVariantInputs & SliderTickLabelVariantInputs & SliderHandleVariantInputs;
|
|
68
69
|
|
|
69
70
|
declare abstract class SliderBaseComponent implements SliderVariantInputs {
|
|
70
|
-
#private;
|
|
71
71
|
protected readonly destroyRef: DestroyRef;
|
|
72
72
|
protected readonly dragging: _angular_core.WritableSignal<boolean>;
|
|
73
73
|
protected readonly hostElementRef: ElementRef<HTMLDivElement>;
|
|
@@ -3,16 +3,15 @@ import { PopupMenuComponent, PopupMenuItemClickEvent, PopupMenuCheckboxItemCompo
|
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { ElementRef, TemplateRef } from '@angular/core';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
7
6
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
8
7
|
import { VariantProps } from 'class-variance-authority';
|
|
9
8
|
|
|
10
|
-
declare const splitButtonThemeVariants: (
|
|
9
|
+
declare const splitButtonThemeVariants: (props?: ({
|
|
11
10
|
look?: "default" | "error" | "ghost" | "info" | "outline" | "primary" | "secondary" | "success" | "warning" | null | undefined;
|
|
12
11
|
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
13
12
|
size?: "large" | "medium" | "small" | null | undefined;
|
|
14
13
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
|
-
type SplitButtonVariantProps = VariantProps<
|
|
14
|
+
type SplitButtonVariantProps = VariantProps<typeof splitButtonThemeVariants>;
|
|
16
15
|
type SplitButtonVariantInputs = VariantInputs<SplitButtonVariantProps>;
|
|
17
16
|
|
|
18
17
|
declare class SplitButtonComponent implements SplitButtonVariantInputs {
|
|
@@ -2,24 +2,23 @@ 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 splitterBaseThemeVariants: (
|
|
7
|
+
declare const splitterBaseThemeVariants: (props?: ({
|
|
9
8
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
10
9
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
-
declare const splitterResizerThemeVariants: (
|
|
10
|
+
declare const splitterResizerThemeVariants: (props?: ({
|
|
12
11
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
13
12
|
resizing?: boolean | null | undefined;
|
|
14
13
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
|
-
declare const splitterResizerHandleThemeVariants: (
|
|
14
|
+
declare const splitterResizerHandleThemeVariants: (props?: ({
|
|
16
15
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
17
16
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
18
|
-
type SplitterBaseVariantProps = VariantProps<
|
|
17
|
+
type SplitterBaseVariantProps = VariantProps<typeof splitterBaseThemeVariants>;
|
|
19
18
|
type SplitterBaseVariantInput = VariantInputs<SplitterBaseVariantProps>;
|
|
20
|
-
type SplitterResizerVariantProps = VariantProps<
|
|
19
|
+
type SplitterResizerVariantProps = VariantProps<typeof splitterResizerThemeVariants>;
|
|
21
20
|
type SplitterResizerVariantInput = VariantInputs<SplitterResizerVariantProps>;
|
|
22
|
-
type SplitterResizerHandleVariantProps = VariantProps<
|
|
21
|
+
type SplitterResizerHandleVariantProps = VariantProps<typeof splitterResizerHandleThemeVariants>;
|
|
23
22
|
type SplitterResizerHandleVariantInput = VariantInputs<SplitterResizerHandleVariantProps>;
|
|
24
23
|
type SplitterVariantInput = SplitterBaseVariantInput & Omit<SplitterResizerVariantInput, "resizing"> & SplitterResizerHandleVariantInput;
|
|
25
24
|
|
|
@@ -55,7 +54,6 @@ declare class SplitterPaneComponent {
|
|
|
55
54
|
}
|
|
56
55
|
|
|
57
56
|
declare class SplitterComponent implements SplitterVariantInput {
|
|
58
|
-
#private;
|
|
59
57
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
60
58
|
protected readonly paneList: _angular_core.Signal<readonly SplitterPaneComponent[]>;
|
|
61
59
|
/**
|
|
@@ -3,7 +3,6 @@ import { Signal, TemplateRef } from '@angular/core';
|
|
|
3
3
|
import * as _mirei_ts_collections from '@mirei/ts-collections';
|
|
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 StepOptions<T = unknown> {
|
|
@@ -62,37 +61,37 @@ declare class StepperStepTemplateDirective {
|
|
|
62
61
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<StepperStepTemplateDirective, "ng-template[monaStepperStepTemplate]", never, {}, {}, never, never, true, never>;
|
|
63
62
|
}
|
|
64
63
|
|
|
65
|
-
declare const stepperBaseThemeVariants: (
|
|
64
|
+
declare const stepperBaseThemeVariants: (props?: ({
|
|
66
65
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
67
66
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
68
|
-
declare const stepperStepListThemeVariants: (
|
|
67
|
+
declare const stepperStepListThemeVariants: (props?: ({
|
|
69
68
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
70
69
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
71
|
-
declare const stepperStepListItemThemeVariants: (
|
|
70
|
+
declare const stepperStepListItemThemeVariants: (props?: ({
|
|
72
71
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
73
72
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
74
|
-
declare const stepperStepIndicatorThemeVariants: (
|
|
73
|
+
declare const stepperStepIndicatorThemeVariants: (props?: ({
|
|
75
74
|
active?: boolean | null | undefined;
|
|
76
75
|
focused?: boolean | null | undefined;
|
|
77
76
|
rounded?: "small" | "medium" | "large" | "full" | "none" | null | undefined;
|
|
78
77
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
79
|
-
declare const stepperTrackThemeVariants: (
|
|
78
|
+
declare const stepperTrackThemeVariants: (props?: ({
|
|
80
79
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
81
80
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
82
|
-
declare const stepperTrackLineThemeVariants: (
|
|
81
|
+
declare const stepperTrackLineThemeVariants: (props?: ({
|
|
83
82
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
84
83
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
85
|
-
type StepperBaseVariantProps = VariantProps<
|
|
84
|
+
type StepperBaseVariantProps = VariantProps<typeof stepperBaseThemeVariants>;
|
|
86
85
|
type StepperBaseVariantInput = VariantInputs<StepperBaseVariantProps>;
|
|
87
|
-
type StepperStepListVariantProps = VariantProps<
|
|
86
|
+
type StepperStepListVariantProps = VariantProps<typeof stepperStepListThemeVariants>;
|
|
88
87
|
type StepperStepListVariantInput = VariantInputs<StepperStepListVariantProps>;
|
|
89
|
-
type StepperStepListItemVariantProps = VariantProps<
|
|
88
|
+
type StepperStepListItemVariantProps = VariantProps<typeof stepperStepListItemThemeVariants>;
|
|
90
89
|
type StepperStepListItemVariantInput = VariantInputs<StepperStepListItemVariantProps>;
|
|
91
|
-
type StepperStepIndicatorVariantProps = VariantProps<
|
|
90
|
+
type StepperStepIndicatorVariantProps = VariantProps<typeof stepperStepIndicatorThemeVariants>;
|
|
92
91
|
type StepperStepIndicatorVariantInput = VariantInputs<StepperStepIndicatorVariantProps>;
|
|
93
|
-
type StepperTrackVariantProps = VariantProps<
|
|
92
|
+
type StepperTrackVariantProps = VariantProps<typeof stepperTrackThemeVariants>;
|
|
94
93
|
type StepperTrackVariantInput = VariantInputs<StepperTrackVariantProps>;
|
|
95
|
-
type StepperTrackLineVariantProps = VariantProps<
|
|
94
|
+
type StepperTrackLineVariantProps = VariantProps<typeof stepperTrackLineThemeVariants>;
|
|
96
95
|
type StepperTrackLineVariantInput = VariantInputs<StepperTrackLineVariantProps>;
|
|
97
96
|
type StepperVariantInput = StepperBaseVariantInput & StepperStepListVariantInput & StepperStepListItemVariantInput & Omit<StepperStepIndicatorVariantInput, "active" | "focused"> & StepperTrackVariantInput & StepperTrackLineVariantInput;
|
|
98
97
|
|
|
@@ -3,23 +3,22 @@ import { TemplateRef } from '@angular/core';
|
|
|
3
3
|
import { FormCheckboxControl } from '@angular/forms/signals';
|
|
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
|
-
declare const switchThemeVariants: (
|
|
8
|
+
declare const switchThemeVariants: (props?: ({
|
|
10
9
|
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
11
10
|
size?: "large" | "medium" | "small" | null | undefined;
|
|
12
11
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
13
|
-
declare const switchHandleThemeVariants: (
|
|
12
|
+
declare const switchHandleThemeVariants: (props?: ({
|
|
14
13
|
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
15
14
|
size?: "large" | "medium" | "small" | null | undefined;
|
|
16
15
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
17
|
-
declare const switchLabelThemeVariants: (
|
|
18
|
-
type SwitchBaseVariantProps = VariantProps<
|
|
16
|
+
declare const switchLabelThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
17
|
+
type SwitchBaseVariantProps = VariantProps<typeof switchThemeVariants>;
|
|
19
18
|
type SwitchBaseVariantInput = VariantInputs<SwitchBaseVariantProps>;
|
|
20
|
-
type SwitchHandleVariantProps = VariantProps<
|
|
19
|
+
type SwitchHandleVariantProps = VariantProps<typeof switchHandleThemeVariants>;
|
|
21
20
|
type SwitchHandleVariantInput = VariantInputs<SwitchHandleVariantProps>;
|
|
22
|
-
type SwitchLabelVariantProps = VariantProps<
|
|
21
|
+
type SwitchLabelVariantProps = VariantProps<typeof switchLabelThemeVariants>;
|
|
23
22
|
type SwitchLabelVariantInput = VariantInputs<SwitchLabelVariantProps>;
|
|
24
23
|
type SwitchVariantProps = SwitchBaseVariantProps & SwitchHandleVariantProps & SwitchLabelVariantProps;
|
|
25
24
|
type SwitchVariantInputs = SwitchBaseVariantInput & SwitchHandleVariantInput & SwitchLabelVariantInput;
|
|
@@ -4,7 +4,6 @@ import { TemplateRef } from '@angular/core';
|
|
|
4
4
|
import { ImmutableSet } from '@mirei/ts-collections';
|
|
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
|
|
|
10
9
|
declare class TabCloseEvent extends PreventableEvent {
|
|
@@ -41,41 +40,40 @@ interface TabItem {
|
|
|
41
40
|
titleTemplate?: TemplateRef<unknown>;
|
|
42
41
|
}
|
|
43
42
|
|
|
44
|
-
declare const tabListBaseThemeVariants: (
|
|
43
|
+
declare const tabListBaseThemeVariants: (props?: ({
|
|
45
44
|
rounded?: "small" | "medium" | "large" | "full" | "none" | null | undefined;
|
|
46
45
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
47
46
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
48
|
-
declare const tabListListWrapperThemeVariants: (
|
|
49
|
-
declare const tabListListThemeVariants: (
|
|
50
|
-
declare const tabListListItemThemeVariants: (
|
|
47
|
+
declare const tabListListWrapperThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
48
|
+
declare const tabListListThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
49
|
+
declare const tabListListItemThemeVariants: (props?: ({
|
|
51
50
|
active?: boolean | null | undefined;
|
|
52
51
|
disabled?: boolean | null | undefined;
|
|
53
52
|
rounded?: "small" | "medium" | "large" | "full" | "none" | null | undefined;
|
|
54
53
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
55
|
-
declare const tabListScrollButtonThemeVariants: (
|
|
56
|
-
declare const tabContentThemeVariants: (
|
|
54
|
+
declare const tabListScrollButtonThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
55
|
+
declare const tabContentThemeVariants: (props?: ({
|
|
57
56
|
rounded?: "small" | "medium" | "large" | "full" | "none" | null | undefined;
|
|
58
57
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
59
|
-
declare const tabsBaseThemeVariants: (
|
|
60
|
-
type TabListBaseVariantProps = VariantProps<
|
|
58
|
+
declare const tabsBaseThemeVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
59
|
+
type TabListBaseVariantProps = VariantProps<typeof tabListBaseThemeVariants>;
|
|
61
60
|
type TabListBaseVariantInput = VariantInputs<TabListBaseVariantProps>;
|
|
62
|
-
type TabListListWrapperVariantProps = VariantProps<
|
|
61
|
+
type TabListListWrapperVariantProps = VariantProps<typeof tabListListWrapperThemeVariants>;
|
|
63
62
|
type TabListListWrapperVariantInput = VariantInputs<TabListListWrapperVariantProps>;
|
|
64
|
-
type TabListListVariantProps = VariantProps<
|
|
63
|
+
type TabListListVariantProps = VariantProps<typeof tabListListThemeVariants>;
|
|
65
64
|
type TabListListVariantInput = VariantInputs<TabListListVariantProps>;
|
|
66
|
-
type TabListListItemVariantProps = VariantProps<
|
|
65
|
+
type TabListListItemVariantProps = VariantProps<typeof tabListListItemThemeVariants>;
|
|
67
66
|
type TabListListItemVariantInput = VariantInputs<TabListListItemVariantProps>;
|
|
68
|
-
type TabListScrollButtonVariantProps = VariantProps<
|
|
67
|
+
type TabListScrollButtonVariantProps = VariantProps<typeof tabListScrollButtonThemeVariants>;
|
|
69
68
|
type TabListScrollButtonVariantInput = VariantInputs<TabListScrollButtonVariantProps>;
|
|
70
|
-
type TabContentVariantProps = VariantProps<
|
|
69
|
+
type TabContentVariantProps = VariantProps<typeof tabContentThemeVariants>;
|
|
71
70
|
type TabContentVariantInput = VariantInputs<TabContentVariantProps>;
|
|
72
|
-
type TabsBaseVariantProps = VariantProps<
|
|
71
|
+
type TabsBaseVariantProps = VariantProps<typeof tabsBaseThemeVariants>;
|
|
73
72
|
type TabsBaseVariantInput = VariantInputs<TabsBaseVariantProps>;
|
|
74
73
|
type TabListVariantInput = TabListBaseVariantInput & TabListListWrapperVariantInput & TabListListVariantInput & Omit<TabListListItemVariantInput, "active" | "disabled"> & TabListScrollButtonVariantInput;
|
|
75
74
|
type TabsVariantInput = TabsBaseVariantInput & TabListVariantInput & TabContentVariantInput;
|
|
76
75
|
|
|
77
76
|
declare class TabsComponent implements TabsVariantInput {
|
|
78
|
-
#private;
|
|
79
77
|
private readonly tabListComponent;
|
|
80
78
|
private readonly tabs;
|
|
81
79
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
3
|
import { VariantInputs } from '@nanahoshi/mona-ui/internal';
|
|
4
|
-
import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
|
|
5
4
|
import { VariantProps } from 'class-variance-authority';
|
|
6
5
|
|
|
7
|
-
declare const textAreaThemeVariants: (
|
|
6
|
+
declare const textAreaThemeVariants: (props?: ({
|
|
8
7
|
rounded?: "large" | "medium" | "none" | "small" | null | undefined;
|
|
9
8
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
-
type TextAreaVariantProps = VariantProps<
|
|
9
|
+
type TextAreaVariantProps = VariantProps<typeof textAreaThemeVariants>;
|
|
11
10
|
type TextAreaVariantInput = VariantInputs<TextAreaVariantProps>;
|
|
12
11
|
|
|
13
12
|
declare class TextAreaDirective implements TextAreaVariantInput {
|
|
14
|
-
#private;
|
|
15
13
|
protected readonly baseClass: _angular_core.Signal<string>;
|
|
16
14
|
protected readonly inputInvalid: _angular_core.Signal<boolean>;
|
|
17
15
|
/**
|
|
@@ -4,21 +4,20 @@ import { FormValueControl } from '@angular/forms/signals';
|
|
|
4
4
|
import { VariantInputs, AttributeConfig } from '@nanahoshi/mona-ui/internal';
|
|
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
|
|
|
9
8
|
type InputType = "email" | "password" | "text";
|
|
10
9
|
|
|
11
|
-
declare const textBoxThemeVariants: (
|
|
10
|
+
declare const textBoxThemeVariants: (props?: ({
|
|
12
11
|
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
13
12
|
size?: "large" | "medium" | "small" | null | undefined;
|
|
14
13
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
|
-
declare const inputThemeVariants: (
|
|
14
|
+
declare const inputThemeVariants: (props?: ({
|
|
16
15
|
rounded?: "full" | "large" | "medium" | "none" | "small" | null | undefined;
|
|
17
16
|
size?: "large" | "medium" | "small" | null | undefined;
|
|
18
17
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
19
|
-
type TextBoxVariantProps = VariantProps<
|
|
18
|
+
type TextBoxVariantProps = VariantProps<typeof textBoxThemeVariants>;
|
|
20
19
|
type TextBoxVariantInput = VariantInputs<TextBoxVariantProps>;
|
|
21
|
-
type InputVariantProps = VariantProps<
|
|
20
|
+
type InputVariantProps = VariantProps<typeof inputThemeVariants>;
|
|
22
21
|
type InputVariantInput = VariantInputs<InputVariantProps>;
|
|
23
22
|
|
|
24
23
|
declare class TextBoxComponent implements TextBoxVariantInput, FormValueControl<string> {
|
|
@@ -129,8 +128,13 @@ declare class TextBoxComponent implements TextBoxVariantInput, FormValueControl<
|
|
|
129
128
|
}
|
|
130
129
|
|
|
131
130
|
declare class TextBoxDirective implements InputVariantInput {
|
|
132
|
-
#private;
|
|
133
131
|
protected readonly classes: _angular_core.Signal<string>;
|
|
132
|
+
protected readonly inputInvalid: _angular_core.Signal<boolean>;
|
|
133
|
+
/**
|
|
134
|
+
* @description Marks the input as invalid, triggering error border and ring styling.
|
|
135
|
+
* @default false
|
|
136
|
+
*/
|
|
137
|
+
readonly invalid: _angular_core.InputSignal<boolean>;
|
|
134
138
|
/**
|
|
135
139
|
* @description Border-radius preset applied to the component.
|
|
136
140
|
* @default "medium"
|
|
@@ -141,13 +145,18 @@ declare class TextBoxDirective implements InputVariantInput {
|
|
|
141
145
|
* @default "medium"
|
|
142
146
|
*/
|
|
143
147
|
readonly size: _angular_core.InputSignal<"large" | "medium" | "small" | null | undefined>;
|
|
148
|
+
/**
|
|
149
|
+
* @description Marks the input as touched. Error styling is only shown when both `invalid` and `touched` are `true`.
|
|
150
|
+
* @default false
|
|
151
|
+
*/
|
|
152
|
+
readonly touched: _angular_core.InputSignal<boolean>;
|
|
144
153
|
/**
|
|
145
154
|
* @description Additional CSS classes merged onto the host element via `tailwind-merge`.
|
|
146
155
|
* @default ""
|
|
147
156
|
*/
|
|
148
157
|
readonly userClass: _angular_core.InputSignal<string>;
|
|
149
158
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextBoxDirective, never>;
|
|
150
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TextBoxDirective, "input[monaTextBox]", never, { "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
159
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TextBoxDirective, "input[monaTextBox]", never, { "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
151
160
|
}
|
|
152
161
|
|
|
153
162
|
declare class TextBoxPrefixTemplateDirective {
|