@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.
Files changed (170) hide show
  1. package/auto-complete/package.json +4 -0
  2. package/avatar/package.json +4 -0
  3. package/breadcrumb/package.json +4 -0
  4. package/button/package.json +4 -0
  5. package/button-group/package.json +4 -0
  6. package/calendar/package.json +4 -0
  7. package/check-box/package.json +4 -0
  8. package/chip/package.json +4 -0
  9. package/circular-progress-bar/package.json +4 -0
  10. package/color-gradient/package.json +4 -0
  11. package/color-palette/package.json +4 -0
  12. package/color-picker/package.json +4 -0
  13. package/combo-box/package.json +4 -0
  14. package/common/package.json +4 -0
  15. package/contextmenu/package.json +4 -0
  16. package/date-input/package.json +4 -0
  17. package/date-picker/package.json +4 -0
  18. package/datetime-picker/package.json +4 -0
  19. package/dialog/package.json +4 -0
  20. package/dropdown-button/package.json +4 -0
  21. package/dropdown-list/package.json +4 -0
  22. package/dropdowns/package.json +4 -0
  23. package/editor/package.json +4 -0
  24. package/expansion-panel/package.json +4 -0
  25. package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +40 -55
  26. package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +19 -53
  27. package/fesm2022/nanahoshi-mona-ui-button-group.mjs +15 -26
  28. package/fesm2022/nanahoshi-mona-ui-button.mjs +67 -68
  29. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +54 -150
  30. package/fesm2022/nanahoshi-mona-ui-check-box.mjs +67 -99
  31. package/fesm2022/nanahoshi-mona-ui-chip.mjs +35 -45
  32. package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +9 -23
  33. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +27 -78
  34. package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +17 -39
  35. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +39 -48
  36. package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +34 -54
  37. package/fesm2022/nanahoshi-mona-ui-date-input.mjs +9 -12
  38. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +42 -29
  39. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +53 -53
  40. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +40 -153
  41. package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +33 -54
  42. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +7 -12
  43. package/fesm2022/nanahoshi-mona-ui-editor.mjs +59 -219
  44. package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +24 -75
  45. package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +11 -44
  46. package/fesm2022/nanahoshi-mona-ui-filter.mjs +11 -41
  47. 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
  48. 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
  49. package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-C7WKhhig.mjs → nanahoshi-mona-ui-grid-grid-list.component-DCd8K6ng.mjs} +9 -16
  50. package/fesm2022/{nanahoshi-mona-ui-grid-grid-toggle.component-BRiY0CDX.mjs → nanahoshi-mona-ui-grid-grid-toggle.component-Dl8Hlkhj.mjs} +15 -44
  51. package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-BrYpFMyF.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-C5FRZlvv.mjs} +11 -20
  52. package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-T9Bj98kl.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BRZUd8cE.mjs} +109 -393
  53. package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
  54. package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +10 -28
  55. package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +27 -57
  56. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +31 -122
  57. package/fesm2022/nanahoshi-mona-ui-internal.mjs +29 -1
  58. package/fesm2022/nanahoshi-mona-ui-list-box.mjs +4 -26
  59. package/fesm2022/nanahoshi-mona-ui-list-view.mjs +5 -18
  60. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +48 -154
  61. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +36 -63
  62. package/fesm2022/nanahoshi-mona-ui-notification.mjs +24 -108
  63. package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +38 -64
  64. package/fesm2022/nanahoshi-mona-ui-pager.mjs +21 -73
  65. package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +8 -30
  66. package/fesm2022/nanahoshi-mona-ui-popover.mjs +29 -50
  67. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +36 -108
  68. package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +19 -60
  69. package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +78 -98
  70. package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +53 -144
  71. package/fesm2022/nanahoshi-mona-ui-slider.mjs +54 -110
  72. package/fesm2022/nanahoshi-mona-ui-split-button.mjs +7 -20
  73. package/fesm2022/nanahoshi-mona-ui-splitter.mjs +15 -50
  74. package/fesm2022/nanahoshi-mona-ui-stepper.mjs +28 -91
  75. package/fesm2022/nanahoshi-mona-ui-switch.mjs +37 -59
  76. package/fesm2022/nanahoshi-mona-ui-tabs.mjs +35 -107
  77. package/fesm2022/nanahoshi-mona-ui-text-area.mjs +19 -31
  78. package/fesm2022/nanahoshi-mona-ui-text-box.mjs +60 -65
  79. package/fesm2022/nanahoshi-mona-ui-theme.mjs +1111 -269
  80. package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +43 -29
  81. package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +40 -102
  82. package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +13 -41
  83. package/fesm2022/nanahoshi-mona-ui-window.mjs +29 -108
  84. package/fieldset/package.json +4 -0
  85. package/filter/package.json +4 -0
  86. package/grid/package.json +4 -0
  87. package/internal/filter-input/package.json +4 -0
  88. package/internal/indicator-icon/package.json +4 -0
  89. package/internal/list/package.json +4 -0
  90. package/internal/package.json +4 -0
  91. package/internal/tree/package.json +4 -0
  92. package/list/package.json +4 -0
  93. package/list-box/package.json +4 -0
  94. package/list-view/package.json +4 -0
  95. package/menubar/package.json +4 -0
  96. package/multi-select/package.json +4 -0
  97. package/notification/package.json +4 -0
  98. package/numeric-text-box/package.json +4 -0
  99. package/package.json +2 -1
  100. package/pager/package.json +4 -0
  101. package/placeholder/package.json +4 -0
  102. package/popover/package.json +4 -0
  103. package/popup/package.json +4 -0
  104. package/popup-menu/package.json +4 -0
  105. package/progress-bar/package.json +4 -0
  106. package/query/package.json +4 -0
  107. package/radio-button/package.json +4 -0
  108. package/scroll-view/package.json +4 -0
  109. package/slider/package.json +4 -0
  110. package/split-button/package.json +4 -0
  111. package/splitter/package.json +4 -0
  112. package/stepper/package.json +4 -0
  113. package/switch/package.json +4 -0
  114. package/tabs/package.json +4 -0
  115. package/text-area/package.json +4 -0
  116. package/text-box/package.json +4 -0
  117. package/theme/package.json +4 -0
  118. package/time-picker/package.json +4 -0
  119. package/time-selector/package.json +4 -0
  120. package/tooltip/package.json +4 -0
  121. package/tree-view/package.json +4 -0
  122. package/types/nanahoshi-mona-ui-auto-complete.d.ts +6 -7
  123. package/types/nanahoshi-mona-ui-breadcrumb.d.ts +4 -6
  124. package/types/nanahoshi-mona-ui-button-group.d.ts +2 -3
  125. package/types/nanahoshi-mona-ui-button.d.ts +2 -3
  126. package/types/nanahoshi-mona-ui-calendar.d.ts +21 -22
  127. package/types/nanahoshi-mona-ui-check-box.d.ts +18 -10
  128. package/types/nanahoshi-mona-ui-chip.d.ts +2 -3
  129. package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +2 -4
  130. package/types/nanahoshi-mona-ui-color-gradient.d.ts +10 -11
  131. package/types/nanahoshi-mona-ui-color-palette.d.ts +4 -5
  132. package/types/nanahoshi-mona-ui-color-picker.d.ts +6 -5
  133. package/types/nanahoshi-mona-ui-combo-box.d.ts +6 -7
  134. package/types/nanahoshi-mona-ui-date-input.d.ts +2 -3
  135. package/types/nanahoshi-mona-ui-date-picker.d.ts +2 -3
  136. package/types/nanahoshi-mona-ui-dialog.d.ts +6 -7
  137. package/types/nanahoshi-mona-ui-dropdown-list.d.ts +6 -7
  138. package/types/nanahoshi-mona-ui-dropdowns.d.ts +2 -3
  139. package/types/nanahoshi-mona-ui-expansion-panel.d.ts +8 -10
  140. package/types/nanahoshi-mona-ui-fieldset.d.ts +6 -8
  141. package/types/nanahoshi-mona-ui-filter.d.ts +2 -3
  142. package/types/nanahoshi-mona-ui-grid.d.ts +14 -15
  143. package/types/nanahoshi-mona-ui-internal-indicator-icon.d.ts +0 -1
  144. package/types/nanahoshi-mona-ui-internal.d.ts +8 -1
  145. package/types/nanahoshi-mona-ui-list-box.d.ts +4 -5
  146. package/types/nanahoshi-mona-ui-list-view.d.ts +2 -3
  147. package/types/nanahoshi-mona-ui-menubar.d.ts +6 -7
  148. package/types/nanahoshi-mona-ui-multi-select.d.ts +8 -9
  149. package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +2 -3
  150. package/types/nanahoshi-mona-ui-pager.d.ts +6 -7
  151. package/types/nanahoshi-mona-ui-placeholder.d.ts +4 -6
  152. package/types/nanahoshi-mona-ui-popover.d.ts +8 -9
  153. package/types/nanahoshi-mona-ui-popup-menu.d.ts +12 -13
  154. package/types/nanahoshi-mona-ui-progress-bar.d.ts +8 -9
  155. package/types/nanahoshi-mona-ui-radio-button.d.ts +28 -13
  156. package/types/nanahoshi-mona-ui-scroll-view.d.ts +18 -20
  157. package/types/nanahoshi-mona-ui-slider.d.ts +18 -18
  158. package/types/nanahoshi-mona-ui-split-button.d.ts +2 -3
  159. package/types/nanahoshi-mona-ui-splitter.d.ts +6 -8
  160. package/types/nanahoshi-mona-ui-stepper.d.ts +12 -13
  161. package/types/nanahoshi-mona-ui-switch.d.ts +6 -7
  162. package/types/nanahoshi-mona-ui-tabs.d.ts +14 -16
  163. package/types/nanahoshi-mona-ui-text-area.d.ts +2 -4
  164. package/types/nanahoshi-mona-ui-text-box.d.ts +16 -7
  165. package/types/nanahoshi-mona-ui-theme.d.ts +111 -12
  166. package/types/nanahoshi-mona-ui-time-picker.d.ts +2 -3
  167. package/types/nanahoshi-mona-ui-time-selector.d.ts +11 -11
  168. package/types/nanahoshi-mona-ui-tooltip.d.ts +4 -5
  169. package/types/nanahoshi-mona-ui-window.d.ts +16 -17
  170. 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: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: ({
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<ReturnType<typeof radioButtonContainerLabelThemeVariants>>;
19
+ type RadioButtonContainerLabelVariantProps = VariantProps<typeof radioButtonContainerLabelThemeVariants>;
21
20
  type RadioButtonContainerLabelVariantInput = VariantInputs<RadioButtonContainerLabelVariantProps>;
22
- type RadioButtonCircleVariantProps = VariantProps<ReturnType<typeof radioButtonCircleThemeVariants>>;
21
+ type RadioButtonCircleVariantProps = VariantProps<typeof radioButtonCircleThemeVariants>;
23
22
  type RadioButtonCircleVariantInput = VariantInputs<RadioButtonCircleVariantProps>;
24
- type RadioButtonIndicatorVariantProps = VariantProps<ReturnType<typeof radioButtonIndicatorThemeVariants>>;
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<ReturnType<typeof radioButtonDirectiveThemeVariants>>;
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: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
20
- declare const scrollViewListThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
21
- declare const scrollViewArrowThemeVariants: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
30
- declare const scrollViewPagerListThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
31
- declare const scrollViewPagerListItemThemeVariants: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
36
- type ScrollViewBaseVariantProps = VariantProps<ReturnType<typeof scrollViewBaseThemeVariants>>;
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<ReturnType<typeof scrollViewContentThemeVariants>>;
37
+ type ScrollViewContentVariantProps = VariantProps<typeof scrollViewContentThemeVariants>;
39
38
  type ScrollViewContentVariantInput = VariantInputs<ScrollViewContentVariantProps>;
40
- type ScrollViewListVariantProps = VariantProps<ReturnType<typeof scrollViewListThemeVariants>>;
39
+ type ScrollViewListVariantProps = VariantProps<typeof scrollViewListThemeVariants>;
41
40
  type ScrollViewListVariantInput = VariantInputs<ScrollViewListVariantProps>;
42
- type ScrollViewPagerVariantProps = VariantProps<ReturnType<typeof scrollViewPagerThemeVariants>>;
41
+ type ScrollViewPagerVariantProps = VariantProps<typeof scrollViewPagerThemeVariants>;
43
42
  type ScrollViewPagerVariantInput = VariantInputs<ScrollViewPagerVariantProps>;
44
- type ScrollViewPagerListContainerVariantProps = VariantProps<ReturnType<typeof scrollViewPagerListContainerThemeVariants>>;
43
+ type ScrollViewPagerListContainerVariantProps = VariantProps<typeof scrollViewPagerListContainerThemeVariants>;
45
44
  type ScrollViewPagerListContainerVariantInput = VariantInputs<ScrollViewPagerListContainerVariantProps>;
46
- type ScrollViewPagerListVariantProps = VariantProps<ReturnType<typeof scrollViewPagerListThemeVariants>>;
45
+ type ScrollViewPagerListVariantProps = VariantProps<typeof scrollViewPagerListThemeVariants>;
47
46
  type ScrollViewPagerListVariantInput = VariantInputs<ScrollViewPagerListVariantProps>;
48
- type ScrollViewPagerListItemVariantProps = VariantProps<ReturnType<typeof scrollViewPagerListItemThemeVariants>>;
47
+ type ScrollViewPagerListItemVariantProps = VariantProps<typeof scrollViewPagerListItemThemeVariants>;
49
48
  type ScrollViewPagerListItemVariantInput = VariantInputs<ScrollViewPagerListItemVariantProps>;
50
- type ScrollViewArrowVariantProps = VariantProps<ReturnType<typeof scrollViewArrowThemeVariants>>;
49
+ type ScrollViewArrowVariantProps = VariantProps<typeof scrollViewArrowThemeVariants>;
51
50
  type ScrollViewArrowVariantInput = VariantInputs<ScrollViewArrowVariantProps>;
52
- type ScrollViewPagerArrowVariantProps = VariantProps<ReturnType<typeof scrollViewPagerArrowThemeVariants>>;
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: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
41
- declare const sliderTrackThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
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
- type SliderBaseVariantProps = VariantProps<ReturnType<typeof sliderBaseThemeVariants>>;
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<ReturnType<typeof sliderTrackThemeVariants>>;
53
+ type SliderTrackVariantProps = VariantProps<typeof sliderTrackThemeVariants>;
53
54
  type SliderTrackVariantInputs = VariantInputs<SliderTrackVariantProps>;
54
- type SliderSelectionVariantProps = VariantProps<ReturnType<typeof sliderSelectionThemeVariants>>;
55
+ type SliderSelectionVariantProps = VariantProps<typeof sliderSelectionThemeVariants>;
55
56
  type SliderSelectionVariantInputs = VariantInputs<SliderSelectionVariantProps>;
56
- type SliderTickListVariantProps = VariantProps<ReturnType<typeof sliderTickListThemeVariants>>;
57
+ type SliderTickListVariantProps = VariantProps<typeof sliderTickListThemeVariants>;
57
58
  type SliderTickListVariantInputs = VariantInputs<SliderTickListVariantProps>;
58
- type SliderTickVariantProps = VariantProps<ReturnType<typeof sliderTickThemeVariants>>;
59
+ type SliderTickVariantProps = VariantProps<typeof sliderTickThemeVariants>;
59
60
  type SliderTickVariantInputs = VariantInputs<SliderTickVariantProps>;
60
- type SliderTickLabelListVariantProps = VariantProps<ReturnType<typeof sliderTickLabelListThemeVariants>>;
61
+ type SliderTickLabelListVariantProps = VariantProps<typeof sliderTickLabelListThemeVariants>;
61
62
  type SliderTickLabelListVariantInputs = VariantInputs<SliderTickLabelListVariantProps>;
62
- type SliderTickLabelVariantProps = VariantProps<ReturnType<typeof sliderTickLabelThemeVariants>>;
63
+ type SliderTickLabelVariantProps = VariantProps<typeof sliderTickLabelThemeVariants>;
63
64
  type SliderTickLabelVariantInputs = VariantInputs<SliderTickLabelVariantProps>;
64
- type SliderHandleVariantProps = VariantProps<ReturnType<typeof sliderHandleThemeVariants>>;
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: (theme: ThemeStyle) => (props?: ({
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<ReturnType<typeof splitButtonThemeVariants>>;
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: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: ({
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<ReturnType<typeof splitterBaseThemeVariants>>;
17
+ type SplitterBaseVariantProps = VariantProps<typeof splitterBaseThemeVariants>;
19
18
  type SplitterBaseVariantInput = VariantInputs<SplitterBaseVariantProps>;
20
- type SplitterResizerVariantProps = VariantProps<ReturnType<typeof splitterResizerThemeVariants>>;
19
+ type SplitterResizerVariantProps = VariantProps<typeof splitterResizerThemeVariants>;
21
20
  type SplitterResizerVariantInput = VariantInputs<SplitterResizerVariantProps>;
22
- type SplitterResizerHandleVariantProps = VariantProps<ReturnType<typeof splitterResizerHandleThemeVariants>>;
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: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: ({
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<ReturnType<typeof stepperBaseThemeVariants>>;
84
+ type StepperBaseVariantProps = VariantProps<typeof stepperBaseThemeVariants>;
86
85
  type StepperBaseVariantInput = VariantInputs<StepperBaseVariantProps>;
87
- type StepperStepListVariantProps = VariantProps<ReturnType<typeof stepperStepListThemeVariants>>;
86
+ type StepperStepListVariantProps = VariantProps<typeof stepperStepListThemeVariants>;
88
87
  type StepperStepListVariantInput = VariantInputs<StepperStepListVariantProps>;
89
- type StepperStepListItemVariantProps = VariantProps<ReturnType<typeof stepperStepListItemThemeVariants>>;
88
+ type StepperStepListItemVariantProps = VariantProps<typeof stepperStepListItemThemeVariants>;
90
89
  type StepperStepListItemVariantInput = VariantInputs<StepperStepListItemVariantProps>;
91
- type StepperStepIndicatorVariantProps = VariantProps<ReturnType<typeof stepperStepIndicatorThemeVariants>>;
90
+ type StepperStepIndicatorVariantProps = VariantProps<typeof stepperStepIndicatorThemeVariants>;
92
91
  type StepperStepIndicatorVariantInput = VariantInputs<StepperStepIndicatorVariantProps>;
93
- type StepperTrackVariantProps = VariantProps<ReturnType<typeof stepperTrackThemeVariants>>;
92
+ type StepperTrackVariantProps = VariantProps<typeof stepperTrackThemeVariants>;
94
93
  type StepperTrackVariantInput = VariantInputs<StepperTrackVariantProps>;
95
- type StepperTrackLineVariantProps = VariantProps<ReturnType<typeof stepperTrackLineThemeVariants>>;
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: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
18
- type SwitchBaseVariantProps = VariantProps<ReturnType<typeof switchThemeVariants>>;
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<ReturnType<typeof switchHandleThemeVariants>>;
19
+ type SwitchHandleVariantProps = VariantProps<typeof switchHandleThemeVariants>;
21
20
  type SwitchHandleVariantInput = VariantInputs<SwitchHandleVariantProps>;
22
- type SwitchLabelVariantProps = VariantProps<ReturnType<typeof switchLabelThemeVariants>>;
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: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
49
- declare const tabListListThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
50
- declare const tabListListItemThemeVariants: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
56
- declare const tabContentThemeVariants: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
60
- type TabListBaseVariantProps = VariantProps<ReturnType<typeof tabListBaseThemeVariants>>;
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<ReturnType<typeof tabListListWrapperThemeVariants>>;
61
+ type TabListListWrapperVariantProps = VariantProps<typeof tabListListWrapperThemeVariants>;
63
62
  type TabListListWrapperVariantInput = VariantInputs<TabListListWrapperVariantProps>;
64
- type TabListListVariantProps = VariantProps<ReturnType<typeof tabListListThemeVariants>>;
63
+ type TabListListVariantProps = VariantProps<typeof tabListListThemeVariants>;
65
64
  type TabListListVariantInput = VariantInputs<TabListListVariantProps>;
66
- type TabListListItemVariantProps = VariantProps<ReturnType<typeof tabListListItemThemeVariants>>;
65
+ type TabListListItemVariantProps = VariantProps<typeof tabListListItemThemeVariants>;
67
66
  type TabListListItemVariantInput = VariantInputs<TabListListItemVariantProps>;
68
- type TabListScrollButtonVariantProps = VariantProps<ReturnType<typeof tabListScrollButtonThemeVariants>>;
67
+ type TabListScrollButtonVariantProps = VariantProps<typeof tabListScrollButtonThemeVariants>;
69
68
  type TabListScrollButtonVariantInput = VariantInputs<TabListScrollButtonVariantProps>;
70
- type TabContentVariantProps = VariantProps<ReturnType<typeof tabContentThemeVariants>>;
69
+ type TabContentVariantProps = VariantProps<typeof tabContentThemeVariants>;
71
70
  type TabContentVariantInput = VariantInputs<TabContentVariantProps>;
72
- type TabsBaseVariantProps = VariantProps<ReturnType<typeof tabsBaseThemeVariants>>;
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: (theme: ThemeStyle) => (props?: ({
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<ReturnType<typeof textAreaThemeVariants>>;
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: (theme: ThemeStyle) => (props?: ({
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: (theme: ThemeStyle) => (props?: ({
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<ReturnType<typeof textBoxThemeVariants>>;
18
+ type TextBoxVariantProps = VariantProps<typeof textBoxThemeVariants>;
20
19
  type TextBoxVariantInput = VariantInputs<TextBoxVariantProps>;
21
- type InputVariantProps = VariantProps<ReturnType<typeof inputThemeVariants>>;
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 {