@nanahoshi/mona-ui 0.1.0 → 0.2.0

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