@raqm/ui 0.0.0-stage → 0.1.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 (178) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/LICENSE +21 -0
  3. package/NOTICE.md +28 -0
  4. package/README.md +125 -3
  5. package/combobox/README.md +17 -0
  6. package/fesm2022/raqm-ui-accordion.mjs +414 -0
  7. package/fesm2022/raqm-ui-accordion.mjs.map +1 -0
  8. package/fesm2022/raqm-ui-alert-dialog.mjs +457 -0
  9. package/fesm2022/raqm-ui-alert-dialog.mjs.map +1 -0
  10. package/fesm2022/raqm-ui-alert.mjs +195 -0
  11. package/fesm2022/raqm-ui-alert.mjs.map +1 -0
  12. package/fesm2022/raqm-ui-aspect-ratio.mjs +66 -0
  13. package/fesm2022/raqm-ui-aspect-ratio.mjs.map +1 -0
  14. package/fesm2022/raqm-ui-attachment.mjs +435 -0
  15. package/fesm2022/raqm-ui-attachment.mjs.map +1 -0
  16. package/fesm2022/raqm-ui-avatar.mjs +337 -0
  17. package/fesm2022/raqm-ui-avatar.mjs.map +1 -0
  18. package/fesm2022/raqm-ui-badge.mjs +68 -0
  19. package/fesm2022/raqm-ui-badge.mjs.map +1 -0
  20. package/fesm2022/raqm-ui-breadcrumb.mjs +309 -0
  21. package/fesm2022/raqm-ui-breadcrumb.mjs.map +1 -0
  22. package/fesm2022/raqm-ui-button-group.mjs +138 -0
  23. package/fesm2022/raqm-ui-button-group.mjs.map +1 -0
  24. package/fesm2022/raqm-ui-button.mjs +295 -0
  25. package/fesm2022/raqm-ui-button.mjs.map +1 -0
  26. package/fesm2022/raqm-ui-calendar.mjs +1394 -0
  27. package/fesm2022/raqm-ui-calendar.mjs.map +1 -0
  28. package/fesm2022/raqm-ui-card.mjs +331 -0
  29. package/fesm2022/raqm-ui-card.mjs.map +1 -0
  30. package/fesm2022/raqm-ui-carousel.mjs +410 -0
  31. package/fesm2022/raqm-ui-carousel.mjs.map +1 -0
  32. package/fesm2022/raqm-ui-checkbox.mjs +86 -0
  33. package/fesm2022/raqm-ui-checkbox.mjs.map +1 -0
  34. package/fesm2022/raqm-ui-collapsible.mjs +266 -0
  35. package/fesm2022/raqm-ui-collapsible.mjs.map +1 -0
  36. package/fesm2022/raqm-ui-combobox.mjs +1584 -0
  37. package/fesm2022/raqm-ui-combobox.mjs.map +1 -0
  38. package/fesm2022/raqm-ui-command.mjs +1210 -0
  39. package/fesm2022/raqm-ui-command.mjs.map +1 -0
  40. package/fesm2022/raqm-ui-context-menu.mjs +723 -0
  41. package/fesm2022/raqm-ui-context-menu.mjs.map +1 -0
  42. package/fesm2022/raqm-ui-dialog.mjs +1214 -0
  43. package/fesm2022/raqm-ui-dialog.mjs.map +1 -0
  44. package/fesm2022/raqm-ui-drawer.mjs +687 -0
  45. package/fesm2022/raqm-ui-drawer.mjs.map +1 -0
  46. package/fesm2022/raqm-ui-dropdown-menu.mjs +1168 -0
  47. package/fesm2022/raqm-ui-dropdown-menu.mjs.map +1 -0
  48. package/fesm2022/raqm-ui-empty.mjs +272 -0
  49. package/fesm2022/raqm-ui-empty.mjs.map +1 -0
  50. package/fesm2022/raqm-ui-field.mjs +517 -0
  51. package/fesm2022/raqm-ui-field.mjs.map +1 -0
  52. package/fesm2022/raqm-ui-hover-card.mjs +828 -0
  53. package/fesm2022/raqm-ui-hover-card.mjs.map +1 -0
  54. package/fesm2022/raqm-ui-input-group.mjs +270 -0
  55. package/fesm2022/raqm-ui-input-group.mjs.map +1 -0
  56. package/fesm2022/raqm-ui-input-otp.mjs +788 -0
  57. package/fesm2022/raqm-ui-input-otp.mjs.map +1 -0
  58. package/fesm2022/raqm-ui-input.mjs +73 -0
  59. package/fesm2022/raqm-ui-input.mjs.map +1 -0
  60. package/fesm2022/raqm-ui-item.mjs +495 -0
  61. package/fesm2022/raqm-ui-item.mjs.map +1 -0
  62. package/fesm2022/raqm-ui-kbd.mjs +80 -0
  63. package/fesm2022/raqm-ui-kbd.mjs.map +1 -0
  64. package/fesm2022/raqm-ui-label.mjs +44 -0
  65. package/fesm2022/raqm-ui-label.mjs.map +1 -0
  66. package/fesm2022/raqm-ui-menubar.mjs +536 -0
  67. package/fesm2022/raqm-ui-menubar.mjs.map +1 -0
  68. package/fesm2022/raqm-ui-native-select.mjs +131 -0
  69. package/fesm2022/raqm-ui-native-select.mjs.map +1 -0
  70. package/fesm2022/raqm-ui-navigation-menu.mjs +1399 -0
  71. package/fesm2022/raqm-ui-navigation-menu.mjs.map +1 -0
  72. package/fesm2022/raqm-ui-overlay-internal.mjs +185 -0
  73. package/fesm2022/raqm-ui-overlay-internal.mjs.map +1 -0
  74. package/fesm2022/raqm-ui-pagination.mjs +440 -0
  75. package/fesm2022/raqm-ui-pagination.mjs.map +1 -0
  76. package/fesm2022/raqm-ui-popover.mjs +1495 -0
  77. package/fesm2022/raqm-ui-popover.mjs.map +1 -0
  78. package/fesm2022/raqm-ui-progress.mjs +369 -0
  79. package/fesm2022/raqm-ui-progress.mjs.map +1 -0
  80. package/fesm2022/raqm-ui-questionnaire.mjs +1005 -0
  81. package/fesm2022/raqm-ui-questionnaire.mjs.map +1 -0
  82. package/fesm2022/raqm-ui-radio-group.mjs +151 -0
  83. package/fesm2022/raqm-ui-radio-group.mjs.map +1 -0
  84. package/fesm2022/raqm-ui-resizable.mjs +439 -0
  85. package/fesm2022/raqm-ui-resizable.mjs.map +1 -0
  86. package/fesm2022/raqm-ui-scroll-area.mjs +510 -0
  87. package/fesm2022/raqm-ui-scroll-area.mjs.map +1 -0
  88. package/fesm2022/raqm-ui-select.mjs +1073 -0
  89. package/fesm2022/raqm-ui-select.mjs.map +1 -0
  90. package/fesm2022/raqm-ui-separator.mjs +103 -0
  91. package/fesm2022/raqm-ui-separator.mjs.map +1 -0
  92. package/fesm2022/raqm-ui-sheet.mjs +411 -0
  93. package/fesm2022/raqm-ui-sheet.mjs.map +1 -0
  94. package/fesm2022/raqm-ui-sidebar.mjs +1784 -0
  95. package/fesm2022/raqm-ui-sidebar.mjs.map +1 -0
  96. package/fesm2022/raqm-ui-skeleton.mjs +50 -0
  97. package/fesm2022/raqm-ui-skeleton.mjs.map +1 -0
  98. package/fesm2022/raqm-ui-slider.mjs +609 -0
  99. package/fesm2022/raqm-ui-slider.mjs.map +1 -0
  100. package/fesm2022/raqm-ui-spinner.mjs +137 -0
  101. package/fesm2022/raqm-ui-spinner.mjs.map +1 -0
  102. package/fesm2022/raqm-ui-switch.mjs +109 -0
  103. package/fesm2022/raqm-ui-switch.mjs.map +1 -0
  104. package/fesm2022/raqm-ui-table.mjs +271 -0
  105. package/fesm2022/raqm-ui-table.mjs.map +1 -0
  106. package/fesm2022/raqm-ui-tabs.mjs +536 -0
  107. package/fesm2022/raqm-ui-tabs.mjs.map +1 -0
  108. package/fesm2022/raqm-ui-textarea.mjs +37 -0
  109. package/fesm2022/raqm-ui-textarea.mjs.map +1 -0
  110. package/fesm2022/raqm-ui-toast.mjs +918 -0
  111. package/fesm2022/raqm-ui-toast.mjs.map +1 -0
  112. package/fesm2022/raqm-ui-toggle-group.mjs +462 -0
  113. package/fesm2022/raqm-ui-toggle-group.mjs.map +1 -0
  114. package/fesm2022/raqm-ui-toggle.mjs +158 -0
  115. package/fesm2022/raqm-ui-toggle.mjs.map +1 -0
  116. package/fesm2022/raqm-ui-tooltip.mjs +1226 -0
  117. package/fesm2022/raqm-ui-tooltip.mjs.map +1 -0
  118. package/fesm2022/raqm-ui.mjs +50 -0
  119. package/input-otp/README.md +12 -0
  120. package/package.json +275 -3
  121. package/styles/theme.css +4322 -0
  122. package/types/raqm-ui-accordion.d.ts +124 -0
  123. package/types/raqm-ui-alert-dialog.d.ts +81 -0
  124. package/types/raqm-ui-alert.d.ts +29 -0
  125. package/types/raqm-ui-aspect-ratio.d.ts +13 -0
  126. package/types/raqm-ui-attachment.d.ts +72 -0
  127. package/types/raqm-ui-avatar.d.ts +67 -0
  128. package/types/raqm-ui-badge.d.ts +20 -0
  129. package/types/raqm-ui-breadcrumb.d.ts +35 -0
  130. package/types/raqm-ui-button-group.d.ts +27 -0
  131. package/types/raqm-ui-button.d.ts +80 -0
  132. package/types/raqm-ui-calendar.d.ts +359 -0
  133. package/types/raqm-ui-card.d.ts +34 -0
  134. package/types/raqm-ui-carousel.d.ts +81 -0
  135. package/types/raqm-ui-checkbox.d.ts +24 -0
  136. package/types/raqm-ui-collapsible.d.ts +72 -0
  137. package/types/raqm-ui-combobox.d.ts +405 -0
  138. package/types/raqm-ui-command.d.ts +256 -0
  139. package/types/raqm-ui-context-menu.d.ts +196 -0
  140. package/types/raqm-ui-dialog.d.ts +232 -0
  141. package/types/raqm-ui-drawer.d.ts +121 -0
  142. package/types/raqm-ui-dropdown-menu.d.ts +319 -0
  143. package/types/raqm-ui-empty.d.ts +35 -0
  144. package/types/raqm-ui-field.d.ts +88 -0
  145. package/types/raqm-ui-hover-card.d.ts +139 -0
  146. package/types/raqm-ui-input-group.d.ts +45 -0
  147. package/types/raqm-ui-input-otp.d.ts +197 -0
  148. package/types/raqm-ui-input.d.ts +16 -0
  149. package/types/raqm-ui-item.d.ts +71 -0
  150. package/types/raqm-ui-kbd.d.ts +12 -0
  151. package/types/raqm-ui-label.d.ts +6 -0
  152. package/types/raqm-ui-menubar.d.ts +159 -0
  153. package/types/raqm-ui-native-select.d.ts +23 -0
  154. package/types/raqm-ui-navigation-menu.d.ts +230 -0
  155. package/types/raqm-ui-overlay-internal.d.ts +5 -0
  156. package/types/raqm-ui-pagination.d.ts +84 -0
  157. package/types/raqm-ui-popover.d.ts +235 -0
  158. package/types/raqm-ui-progress.d.ts +79 -0
  159. package/types/raqm-ui-questionnaire.d.ts +217 -0
  160. package/types/raqm-ui-radio-group.d.ts +48 -0
  161. package/types/raqm-ui-resizable.d.ts +98 -0
  162. package/types/raqm-ui-scroll-area.d.ts +132 -0
  163. package/types/raqm-ui-select.d.ts +205 -0
  164. package/types/raqm-ui-separator.d.ts +21 -0
  165. package/types/raqm-ui-sheet.d.ts +79 -0
  166. package/types/raqm-ui-sidebar.d.ts +285 -0
  167. package/types/raqm-ui-skeleton.d.ts +6 -0
  168. package/types/raqm-ui-slider.d.ts +129 -0
  169. package/types/raqm-ui-spinner.d.ts +32 -0
  170. package/types/raqm-ui-switch.d.ts +32 -0
  171. package/types/raqm-ui-table.d.ts +36 -0
  172. package/types/raqm-ui-tabs.d.ts +154 -0
  173. package/types/raqm-ui-textarea.d.ts +6 -0
  174. package/types/raqm-ui-toast.d.ts +190 -0
  175. package/types/raqm-ui-toggle-group.d.ts +167 -0
  176. package/types/raqm-ui-toggle.d.ts +42 -0
  177. package/types/raqm-ui-tooltip.d.ts +207 -0
  178. package/types/raqm-ui.d.ts +50 -0
@@ -0,0 +1,359 @@
1
+ import * as i0 from "@angular/core";
2
+ import { SimpleChanges, TemplateRef } from "@angular/core";
3
+ /** Gregorian local civil dates; time-of-day is ignored, without UTC conversion. */
4
+ interface RaqmDateRange {
5
+ from: Date | undefined;
6
+ to?: Date;
7
+ }
8
+ type RaqmCalendarValue = Date | Date[] | RaqmDateRange | undefined;
9
+ type RaqmDateMatcher = boolean | Date | Date[] | {
10
+ before: Date;
11
+ } | {
12
+ after: Date;
13
+ } | {
14
+ before: Date;
15
+ after: Date;
16
+ } | {
17
+ from: Date;
18
+ to: Date;
19
+ } | {
20
+ dayOfWeek: number[];
21
+ } | ((date: Date) => boolean);
22
+ type RaqmDateMatchers = RaqmDateMatcher | RaqmDateMatcher[];
23
+ type RaqmCalendarModifiers = Readonly<Record<string, boolean>>;
24
+ interface RaqmCalendarDayContext {
25
+ $implicit: Date;
26
+ date: Date;
27
+ modifiers: RaqmCalendarModifiers;
28
+ }
29
+ /** Angular-native formatter hooks, not the arbitrary DayPicker extension API. */
30
+ interface RaqmCalendarFormatters {
31
+ formatCaption?: (month: Date) => string;
32
+ formatMonthDropdown?: (month: Date) => string;
33
+ formatYearDropdown?: (month: Date) => string;
34
+ formatDay?: (date: Date) => string;
35
+ formatWeekdayName?: (date: Date) => string;
36
+ formatWeekNumber?: (week: number) => string;
37
+ }
38
+ interface RaqmCalendarLabels {
39
+ /** Accessible name of the internal navigation landmark; app-owned. */
40
+ navigation?: string;
41
+ previous?: string;
42
+ next?: string;
43
+ monthDropdown?: string;
44
+ yearDropdown?: string;
45
+ weekNumber?: string;
46
+ day?: (date: Date, modifiers: RaqmCalendarModifiers) => string;
47
+ }
48
+ type CalendarButtonAppearance = 'default' | 'outline' | 'secondary' | 'ghost' | 'destructive' | 'link';
49
+ interface CalendarDay {
50
+ date: Date;
51
+ key: string;
52
+ modifiers: RaqmCalendarModifiers;
53
+ classes: string;
54
+ }
55
+ /**
56
+ * A native Gregorian grid of real day buttons.
57
+ *
58
+ * @remarks
59
+ * `selected` and `month` are controlled bindings; `defaultSelected`/`defaultMonth` seed the internal
60
+ * state once. There is no `ControlValueAccessor`, so the app owns the value. The grid is a real
61
+ * `<table role="grid">` with roving tabindex, and every accessible name comes from `labels`.
62
+ */
63
+ export declare class RaqmCalendarComponent {
64
+ private readonly host;
65
+ readonly mode: import("@angular/core").InputSignal<"single" | "multiple" | "range">;
66
+ readonly defaultSelected: import("@angular/core").InputSignal<RaqmCalendarValue>;
67
+ readonly defaultMonth: import("@angular/core").InputSignal<Date | undefined>;
68
+ readonly selected: import("@angular/core").InputSignal<RaqmCalendarValue>;
69
+ readonly selectedChange: import("@angular/core").OutputEmitterRef<RaqmCalendarValue>;
70
+ readonly month: import("@angular/core").InputSignal<Date | undefined>;
71
+ readonly monthChange: import("@angular/core").OutputEmitterRef<Date>;
72
+ readonly numberOfMonths: import("@angular/core").InputSignal<number>;
73
+ readonly startMonth: import("@angular/core").InputSignal<Date | undefined>;
74
+ readonly endMonth: import("@angular/core").InputSignal<Date | undefined>;
75
+ readonly disableNavigation: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
76
+ readonly hideNavigation: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
77
+ readonly pagedNavigation: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
78
+ readonly captionLayout: import("@angular/core").InputSignal<"label" | "dropdown" | "dropdown-months" | "dropdown-years">;
79
+ readonly appearance: import("@angular/core").InputSignal<"" | CalendarButtonAppearance>;
80
+ protected readonly navAppearance: import("@angular/core").Signal<CalendarButtonAppearance>;
81
+ readonly locale: import("@angular/core").InputSignal<string>;
82
+ readonly dir: import("@angular/core").InputSignal<"ltr" | "rtl" | undefined>;
83
+ readonly weekStartsOn: import("@angular/core").InputSignal<number | undefined>;
84
+ readonly firstWeekContainsDate: import("@angular/core").InputSignal<number | undefined>;
85
+ readonly ISOWeek: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
86
+ readonly fixedWeeks: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
87
+ readonly showOutsideDays: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
88
+ readonly showWeekNumber: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
89
+ readonly disabled: import("@angular/core").InputSignal<RaqmDateMatchers | undefined>;
90
+ readonly hidden: import("@angular/core").InputSignal<RaqmDateMatchers | undefined>;
91
+ readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
92
+ /** Multiple: day count. Range: night count. */
93
+ readonly min: import("@angular/core").InputSignal<number | undefined>;
94
+ readonly max: import("@angular/core").InputSignal<number | undefined>;
95
+ readonly excludeDisabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
96
+ readonly today: import("@angular/core").InputSignal<Date>;
97
+ readonly modifiers: import("@angular/core").InputSignal<Record<string, RaqmDateMatchers>>;
98
+ readonly modifiersClassNames: import("@angular/core").InputSignal<Record<string, string>>;
99
+ /** Custom cell content, rendered in its declaring view so Calendar styles do not cross in. */
100
+ private readonly dayTemplateDirective;
101
+ readonly dayContent: import("@angular/core").Signal<TemplateRef<RaqmCalendarDayContext> | undefined>;
102
+ readonly formatters: import("@angular/core").InputSignal<RaqmCalendarFormatters>;
103
+ readonly labels: import("@angular/core").InputSignal<RaqmCalendarLabels>;
104
+ readonly footer: import("@angular/core").InputSignal<string>;
105
+ private readonly view;
106
+ readonly selection: import("@angular/core").Signal<RaqmCalendarValue>;
107
+ readonly count: import("@angular/core").Signal<number>;
108
+ readonly lower: import("@angular/core").Signal<Date>;
109
+ readonly upper: import("@angular/core").Signal<Date>;
110
+ readonly displayedMonth: import("@angular/core").Signal<Date>;
111
+ readonly weekStart: import("@angular/core").Signal<number>;
112
+ readonly weekdays: import("@angular/core").Signal<Date[]>;
113
+ readonly years: import("@angular/core").Signal<number[]>;
114
+ readonly months: import("@angular/core").Signal<{
115
+ date: Date;
116
+ key: string;
117
+ weeks: {
118
+ key: string;
119
+ number: number;
120
+ days: CalendarDay[];
121
+ }[];
122
+ }[]>;
123
+ readonly availableDays: import("@angular/core").Signal<CalendarDay[]>;
124
+ readonly tabDay: import("@angular/core").Signal<CalendarDay>;
125
+ readonly monthOptions: number[];
126
+ readonly selectionAnnouncement: import("@angular/core").Signal<string>;
127
+ private readonly formats;
128
+ private readonly selectionControl;
129
+ private readonly navigation;
130
+ private readonly keyboard;
131
+ constructor();
132
+ ngOnChanges(changes: SimpleChanges): void;
133
+ ngOnInit(): void;
134
+ isDisabled(date: Date): boolean;
135
+ format(date: Date, options: Intl.DateTimeFormatOptions): string;
136
+ caption(date: Date): string;
137
+ monthLabel(date: Date, month: number): string;
138
+ yearLabel(year: number): string;
139
+ weekday(date: Date): string;
140
+ dayLabel(day: CalendarDay): string;
141
+ dayText(date: Date): string;
142
+ weekText(week: number): string;
143
+ context(day: CalendarDay): RaqmCalendarDayContext;
144
+ isTabDay(day: CalendarDay): boolean;
145
+ canNavigate(direction: number): boolean;
146
+ navigate(direction: number): void;
147
+ dropdown(date: Date, index: number, event: Event, year: boolean): void;
148
+ monthDisabled(date: Date, month: number): boolean;
149
+ selectDay(day: CalendarDay): void;
150
+ focusIn(event: FocusEvent): void;
151
+ focusOut(event: FocusEvent): void;
152
+ keydown(event: KeyboardEvent, day: CalendarDay): void;
153
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCalendarComponent, never>;
154
+ static ɵcmp: i0.ɵɵComponentDeclaration<RaqmCalendarComponent, "raqm-calendar", never, {
155
+ "mode": {
156
+ "alias": "mode";
157
+ "required": false;
158
+ "isSignal": true;
159
+ };
160
+ "defaultSelected": {
161
+ "alias": "defaultSelected";
162
+ "required": false;
163
+ "isSignal": true;
164
+ };
165
+ "defaultMonth": {
166
+ "alias": "defaultMonth";
167
+ "required": false;
168
+ "isSignal": true;
169
+ };
170
+ "selected": {
171
+ "alias": "selected";
172
+ "required": false;
173
+ "isSignal": true;
174
+ };
175
+ "month": {
176
+ "alias": "month";
177
+ "required": false;
178
+ "isSignal": true;
179
+ };
180
+ "numberOfMonths": {
181
+ "alias": "numberOfMonths";
182
+ "required": false;
183
+ "isSignal": true;
184
+ };
185
+ "startMonth": {
186
+ "alias": "startMonth";
187
+ "required": false;
188
+ "isSignal": true;
189
+ };
190
+ "endMonth": {
191
+ "alias": "endMonth";
192
+ "required": false;
193
+ "isSignal": true;
194
+ };
195
+ "disableNavigation": {
196
+ "alias": "disableNavigation";
197
+ "required": false;
198
+ "isSignal": true;
199
+ };
200
+ "hideNavigation": {
201
+ "alias": "hideNavigation";
202
+ "required": false;
203
+ "isSignal": true;
204
+ };
205
+ "pagedNavigation": {
206
+ "alias": "pagedNavigation";
207
+ "required": false;
208
+ "isSignal": true;
209
+ };
210
+ "captionLayout": {
211
+ "alias": "captionLayout";
212
+ "required": false;
213
+ "isSignal": true;
214
+ };
215
+ "appearance": {
216
+ "alias": "appearance";
217
+ "required": false;
218
+ "isSignal": true;
219
+ };
220
+ "locale": {
221
+ "alias": "locale";
222
+ "required": false;
223
+ "isSignal": true;
224
+ };
225
+ "dir": {
226
+ "alias": "dir";
227
+ "required": false;
228
+ "isSignal": true;
229
+ };
230
+ "weekStartsOn": {
231
+ "alias": "weekStartsOn";
232
+ "required": false;
233
+ "isSignal": true;
234
+ };
235
+ "firstWeekContainsDate": {
236
+ "alias": "firstWeekContainsDate";
237
+ "required": false;
238
+ "isSignal": true;
239
+ };
240
+ "ISOWeek": {
241
+ "alias": "ISOWeek";
242
+ "required": false;
243
+ "isSignal": true;
244
+ };
245
+ "fixedWeeks": {
246
+ "alias": "fixedWeeks";
247
+ "required": false;
248
+ "isSignal": true;
249
+ };
250
+ "showOutsideDays": {
251
+ "alias": "showOutsideDays";
252
+ "required": false;
253
+ "isSignal": true;
254
+ };
255
+ "showWeekNumber": {
256
+ "alias": "showWeekNumber";
257
+ "required": false;
258
+ "isSignal": true;
259
+ };
260
+ "disabled": {
261
+ "alias": "disabled";
262
+ "required": false;
263
+ "isSignal": true;
264
+ };
265
+ "hidden": {
266
+ "alias": "hidden";
267
+ "required": false;
268
+ "isSignal": true;
269
+ };
270
+ "required": {
271
+ "alias": "required";
272
+ "required": false;
273
+ "isSignal": true;
274
+ };
275
+ "min": {
276
+ "alias": "min";
277
+ "required": false;
278
+ "isSignal": true;
279
+ };
280
+ "max": {
281
+ "alias": "max";
282
+ "required": false;
283
+ "isSignal": true;
284
+ };
285
+ "excludeDisabled": {
286
+ "alias": "excludeDisabled";
287
+ "required": false;
288
+ "isSignal": true;
289
+ };
290
+ "today": {
291
+ "alias": "today";
292
+ "required": false;
293
+ "isSignal": true;
294
+ };
295
+ "modifiers": {
296
+ "alias": "modifiers";
297
+ "required": false;
298
+ "isSignal": true;
299
+ };
300
+ "modifiersClassNames": {
301
+ "alias": "modifiersClassNames";
302
+ "required": false;
303
+ "isSignal": true;
304
+ };
305
+ "formatters": {
306
+ "alias": "formatters";
307
+ "required": false;
308
+ "isSignal": true;
309
+ };
310
+ "labels": {
311
+ "alias": "labels";
312
+ "required": false;
313
+ "isSignal": true;
314
+ };
315
+ "footer": {
316
+ "alias": "footer";
317
+ "required": false;
318
+ "isSignal": true;
319
+ };
320
+ }, {
321
+ "selectedChange": "selectedChange";
322
+ "monthChange": "monthChange";
323
+ }, ["dayTemplateDirective"], never, true, never>;
324
+ }
325
+ /**
326
+ * Projected day-cell template; renders with the day context (`$implicit`/`date`, `modifiers`) and
327
+ * must stay noninteractive — the day button remains the focus stop and accessible name.
328
+ */
329
+ export declare class RaqmCalendarDayDirective {
330
+ readonly template: TemplateRef<RaqmCalendarDayContext>;
331
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCalendarDayDirective, never>;
332
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RaqmCalendarDayDirective, "ng-template[raqm-calendar-day]", never, {}, {}, never, never, true, never>;
333
+ }
334
+ /** Compose with native Button; disabled, tabindex, name, focus and activation stay caller-owned. */
335
+ export declare class RaqmCalendarDayButtonDirective {
336
+ readonly date: import("@angular/core").InputSignal<Date>;
337
+ readonly locale: import("@angular/core").InputSignal<string>;
338
+ readonly modifiers: import("@angular/core").InputSignal<Readonly<Record<string, boolean>>>;
339
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCalendarDayButtonDirective, never>;
340
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RaqmCalendarDayButtonDirective, "button[raqm-calendar-day-button]", never, {
341
+ "date": {
342
+ "alias": "date";
343
+ "required": true;
344
+ "isSignal": true;
345
+ };
346
+ "locale": {
347
+ "alias": "locale";
348
+ "required": false;
349
+ "isSignal": true;
350
+ };
351
+ "modifiers": {
352
+ "alias": "modifiers";
353
+ "required": false;
354
+ "isSignal": true;
355
+ };
356
+ }, {}, never, never, true, never>;
357
+ }
358
+ export declare const RaqmCalendar: readonly [typeof RaqmCalendarComponent, typeof RaqmCalendarDayButtonDirective, typeof RaqmCalendarDayDirective];
359
+ export type { RaqmCalendarDayContext, RaqmCalendarFormatters, RaqmCalendarLabels, RaqmCalendarModifiers, RaqmCalendarValue, RaqmDateMatcher, RaqmDateMatchers, RaqmDateRange };
@@ -0,0 +1,34 @@
1
+ import * as i0 from "@angular/core";
2
+ /** Passive surface; no role, tab stop, click output or state. */
3
+ export declare class RaqmCardComponent {
4
+ /** Direct children only, so a nested card's footer cannot affect this layout. */
5
+ protected readonly footers: import("@angular/core").Signal<readonly RaqmCardFooterComponent[]>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCardComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<RaqmCardComponent, "raqm-card", never, {}, {}, ["footers"], ["*"], true, never>;
8
+ }
9
+ export declare class RaqmCardHeaderComponent {
10
+ protected readonly actions: import("@angular/core").Signal<readonly RaqmCardActionComponent[]>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCardHeaderComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<RaqmCardHeaderComponent, "raqm-card-header", never, {}, {}, ["actions"], ["*"], true, never>;
13
+ }
14
+ export declare class RaqmCardTitleComponent {
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCardTitleComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<RaqmCardTitleComponent, "raqm-card-title, h1[raqm-card-title], h2[raqm-card-title], h3[raqm-card-title], h4[raqm-card-title], h5[raqm-card-title], h6[raqm-card-title]", never, {}, {}, never, ["*"], true, never>;
17
+ }
18
+ export declare class RaqmCardDescriptionComponent {
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCardDescriptionComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<RaqmCardDescriptionComponent, "raqm-card-description, p[raqm-card-description]", never, {}, {}, never, ["*"], true, never>;
21
+ }
22
+ export declare class RaqmCardContentComponent {
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCardContentComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<RaqmCardContentComponent, "raqm-card-content", never, {}, {}, never, ["*"], true, never>;
25
+ }
26
+ export declare class RaqmCardFooterComponent {
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCardFooterComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<RaqmCardFooterComponent, "raqm-card-footer", never, {}, {}, never, ["*"], true, never>;
29
+ }
30
+ export declare class RaqmCardActionComponent {
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCardActionComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<RaqmCardActionComponent, "raqm-card-action", never, {}, {}, never, ["*"], true, never>;
33
+ }
34
+ export declare const RaqmCard: readonly [typeof RaqmCardComponent, typeof RaqmCardHeaderComponent, typeof RaqmCardTitleComponent, typeof RaqmCardDescriptionComponent, typeof RaqmCardContentComponent, typeof RaqmCardFooterComponent, typeof RaqmCardActionComponent];
@@ -0,0 +1,81 @@
1
+ import * as i0 from "@angular/core";
2
+ import { ElementRef, InputSignal, OnDestroy } from "@angular/core";
3
+ import { EmblaCarouselType, EmblaOptionsType, EmblaPluginType } from "embla-carousel";
4
+ type RaqmCarouselOptions = EmblaOptionsType;
5
+ /** Raqm carousel item — a slide carrying `role="group"` and `aria-roledescription="slide"`; the app authors its accessible name. */
6
+ export declare class RaqmCarouselItemDirective {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCarouselItemDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RaqmCarouselItemDirective, "[raqm-carousel-item]", never, {}, {}, never, never, true, never>;
9
+ }
10
+ /** Raqm carousel content — the viewport that clips the track; track rules ship from the relationship partial. */
11
+ export declare class RaqmCarouselContentComponent {
12
+ readonly element: ElementRef<HTMLElement>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCarouselContentComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<RaqmCarouselContentComponent, "[raqm-carousel-content]", never, {}, {}, never, ["*"], true, never>;
15
+ }
16
+ /** Carousel root; `role="region"` with an app-authored accessible name, and an authored `disabled` is never cleared. */
17
+ export declare class RaqmCarouselComponent implements OnDestroy {
18
+ /** A horizontal track by default; a bare `vertical` attribute selects the Y axis. */
19
+ readonly vertical: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
20
+ readonly options: InputSignal<RaqmCarouselOptions>;
21
+ readonly plugins: InputSignal<EmblaPluginType[]>;
22
+ readonly apiReady: import("@angular/core").OutputEmitterRef<EmblaCarouselType>;
23
+ readonly selectedIndexChange: import("@angular/core").OutputEmitterRef<number>;
24
+ readonly content: import("@angular/core").Signal<RaqmCarouselContentComponent | undefined>;
25
+ readonly api: import("@angular/core").WritableSignal<EmblaCarouselType | undefined>;
26
+ readonly index: import("@angular/core").WritableSignal<number>;
27
+ private readonly previousAvailable;
28
+ private readonly nextAvailable;
29
+ private viewport;
30
+ private readonly update;
31
+ constructor();
32
+ ngOnDestroy(): void;
33
+ canPrevious(): boolean;
34
+ canNext(): boolean;
35
+ previous(): void;
36
+ next(): void;
37
+ go(index: number): void;
38
+ selectedScrollSnap(): number;
39
+ scrollSnapList(): number[];
40
+ protected onKey(event: KeyboardEvent): void;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCarouselComponent, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<RaqmCarouselComponent, "raqm-carousel", never, {
43
+ "vertical": {
44
+ "alias": "vertical";
45
+ "required": false;
46
+ "isSignal": true;
47
+ };
48
+ "options": {
49
+ "alias": "options";
50
+ "required": false;
51
+ "isSignal": true;
52
+ };
53
+ "plugins": {
54
+ "alias": "plugins";
55
+ "required": false;
56
+ "isSignal": true;
57
+ };
58
+ }, {
59
+ "apiReady": "apiReady";
60
+ "selectedIndexChange": "selectedIndexChange";
61
+ }, ["content"], ["*"], true, never>;
62
+ }
63
+ /** Raqm carousel previous — adds `type="button"` and availability only; an authored `disabled` is never cleared and the accessible name stays app-owned. */
64
+ export declare class RaqmCarouselPreviousDirective {
65
+ protected readonly carousel: RaqmCarouselComponent;
66
+ private readonly host;
67
+ private readonly authoredDisabled;
68
+ protected readonly unavailable: import("@angular/core").Signal<boolean>;
69
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCarouselPreviousDirective, never>;
70
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RaqmCarouselPreviousDirective, "button[raqm-carousel-previous]", never, {}, {}, never, never, true, never>;
71
+ }
72
+ export declare class RaqmCarouselNextDirective {
73
+ protected readonly carousel: RaqmCarouselComponent;
74
+ private readonly host;
75
+ private readonly authoredDisabled;
76
+ protected readonly unavailable: import("@angular/core").Signal<boolean>;
77
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCarouselNextDirective, never>;
78
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RaqmCarouselNextDirective, "button[raqm-carousel-next]", never, {}, {}, never, never, true, never>;
79
+ }
80
+ export declare const RaqmCarousel: readonly [typeof RaqmCarouselComponent, typeof RaqmCarouselContentComponent, typeof RaqmCarouselItemDirective, typeof RaqmCarouselPreviousDirective, typeof RaqmCarouselNextDirective];
81
+ export type { RaqmCarouselOptions };
@@ -0,0 +1,24 @@
1
+ import { ControlValueAccessor } from "@angular/forms";
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Attaches the `raqm-checkbox` class to a native `<input>` and sets `type="checkbox"` when absent.
5
+ *
6
+ * @remarks
7
+ * Because the static `type` attribute is absent, Angular's checkbox validator does not match: with
8
+ * Forms, use `Validators.requiredTrue` for a required checkbox.
9
+ */
10
+ export declare class RaqmCheckbox implements ControlValueAccessor {
11
+ private readonly host;
12
+ private onChange;
13
+ private onTouched;
14
+ private disabledStateFired;
15
+ constructor();
16
+ writeValue(value: boolean | null | undefined): void;
17
+ registerOnChange(fn: (value: boolean) => void): void;
18
+ registerOnTouched(fn: () => void): void;
19
+ setDisabledState(isDisabled: boolean): void;
20
+ protected handleChange(event: Event): void;
21
+ protected handleBlur(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCheckbox, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RaqmCheckbox, "input[raqm-checkbox]", never, {}, {}, never, never, true, never>;
24
+ }
@@ -0,0 +1,72 @@
1
+ import * as i0 from "@angular/core";
2
+ import { InjectionToken, Signal } from "@angular/core";
3
+ interface RaqmCollapsibleContext {
4
+ /** The model when set, otherwise the seed. */
5
+ readonly open: Signal<boolean>;
6
+ readonly disabled: Signal<boolean>;
7
+ readonly triggerId: string;
8
+ readonly contentId: string;
9
+ toggle(): void;
10
+ }
11
+ /** Root token; injected optionally so a misplaced part renders and only logs a dev-mode error. */
12
+ declare const RAQM_COLLAPSIBLE: InjectionToken<RaqmCollapsibleContext>;
13
+ /** Collapsible root; carries no ARIA role. `open` is the only change channel and the seed stays silent until interaction. */
14
+ export declare class RaqmCollapsibleComponent implements RaqmCollapsibleContext {
15
+ /** `undefined` lets the seed apply; any boolean (including `false`) takes over permanently. */
16
+ readonly openValue: import("@angular/core").ModelSignal<boolean | undefined>;
17
+ readonly defaultOpen: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
18
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
19
+ private readonly instanceId;
20
+ readonly triggerId: string;
21
+ readonly contentId: string;
22
+ readonly open: Signal<boolean>;
23
+ /** A disabled root is a no-op; a seeded `defaultOpen` closes on first activation. */
24
+ toggle(): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCollapsibleComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<RaqmCollapsibleComponent, "raqm-collapsible", never, {
27
+ "openValue": {
28
+ "alias": "open";
29
+ "required": false;
30
+ "isSignal": true;
31
+ };
32
+ "defaultOpen": {
33
+ "alias": "defaultOpen";
34
+ "required": false;
35
+ "isSignal": true;
36
+ };
37
+ "disabled": {
38
+ "alias": "disabled";
39
+ "required": false;
40
+ "isSignal": true;
41
+ };
42
+ }, {
43
+ "openValue": "openChange";
44
+ }, never, ["*"], true, never>;
45
+ }
46
+ /** Collapsible trigger on the real `<button>`; a disabled root publishes the native `disabled` attribute. */
47
+ export declare class RaqmCollapsibleTriggerDirective {
48
+ private readonly host;
49
+ private readonly authoredDisabled;
50
+ private readonly collapsible;
51
+ protected readonly open: Signal<boolean>;
52
+ protected readonly isDisabled: Signal<boolean>;
53
+ protected readonly disabledAttribute: Signal<"" | null>;
54
+ protected readonly triggerId: Signal<string | null>;
55
+ protected readonly contentId: Signal<string | null>;
56
+ constructor();
57
+ protected onClick(): void;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCollapsibleTriggerDirective, never>;
59
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RaqmCollapsibleTriggerDirective, "button[raqm-collapsible-trigger]", never, {}, {}, never, never, true, never>;
60
+ }
61
+ /** Collapsible panel; no role or inputs, paired by `aria-labelledby`, mounted always and hidden with `hidden` while closed. */
62
+ export declare class RaqmCollapsibleContentComponent {
63
+ private readonly collapsible;
64
+ protected readonly open: Signal<boolean>;
65
+ protected readonly contentId: Signal<string | null>;
66
+ protected readonly triggerId: Signal<string | null>;
67
+ constructor();
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<RaqmCollapsibleContentComponent, never>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<RaqmCollapsibleContentComponent, "raqm-collapsible-content", never, {}, {}, never, ["*"], true, never>;
70
+ }
71
+ export declare const RaqmCollapsible: readonly [typeof RaqmCollapsibleComponent, typeof RaqmCollapsibleTriggerDirective, typeof RaqmCollapsibleContentComponent];
72
+ export {};