@ojiepermana/angular-component 22.0.36 → 22.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/alert-dialog/README.md +14 -14
- package/checkbox/README.md +16 -15
- package/command/README.md +4 -4
- package/dialog/README.md +12 -12
- package/drawer/README.md +1 -1
- package/fesm2022/ojiepermana-angular-component-accordion.mjs +16 -4
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +11 -3
- package/fesm2022/ojiepermana-angular-component-alert.mjs +13 -3
- package/fesm2022/ojiepermana-angular-component-avatar.mjs +13 -3
- package/fesm2022/ojiepermana-angular-component-badge.mjs +16 -4
- package/fesm2022/ojiepermana-angular-component-button.mjs +13 -3
- package/fesm2022/ojiepermana-angular-component-calendar.mjs +2 -2
- package/fesm2022/ojiepermana-angular-component-card.mjs +13 -3
- package/fesm2022/ojiepermana-angular-component-dialog.mjs +18 -6
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +13 -3
- package/fesm2022/ojiepermana-angular-component-input.mjs +16 -4
- package/fesm2022/ojiepermana-angular-component-item.mjs +14 -4
- package/fesm2022/ojiepermana-angular-component-kanban.mjs +1 -1
- package/fesm2022/ojiepermana-angular-component-popover.mjs +16 -4
- package/fesm2022/ojiepermana-angular-component-select.mjs +22 -5
- package/fesm2022/ojiepermana-angular-component-sheet.mjs +18 -6
- package/fesm2022/ojiepermana-angular-component-table.mjs +16 -4
- package/fesm2022/ojiepermana-angular-component-tabs.mjs +13 -3
- package/fesm2022/ojiepermana-angular-component-textarea.mjs +16 -4
- package/fesm2022/ojiepermana-angular-component-timeline.mjs +2 -2
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs +44 -4
- package/fesm2022/ojiepermana-angular-component-utils.mjs +51 -1
- package/form/README.md +13 -13
- package/hover-card/README.md +1 -1
- package/package.json +1 -1
- package/radio/README.md +11 -11
- package/scroll-area/README.md +4 -2
- package/sheet/README.md +11 -11
- package/slider/README.md +2 -2
- package/switch/README.md +10 -10
- package/toast/README.md +59 -210
- package/tooltip/README.md +13 -8
- package/types/ojiepermana-angular-component-accordion.d.ts +5 -1
- package/types/ojiepermana-angular-component-alert-dialog.d.ts +3 -1
- package/types/ojiepermana-angular-component-alert.d.ts +5 -1
- package/types/ojiepermana-angular-component-avatar.d.ts +5 -1
- package/types/ojiepermana-angular-component-badge.d.ts +5 -1
- package/types/ojiepermana-angular-component-button.d.ts +5 -1
- package/types/ojiepermana-angular-component-card.d.ts +5 -1
- package/types/ojiepermana-angular-component-dialog.d.ts +5 -1
- package/types/ojiepermana-angular-component-dropdown-menu.d.ts +5 -1
- package/types/ojiepermana-angular-component-input.d.ts +5 -1
- package/types/ojiepermana-angular-component-item.d.ts +5 -1
- package/types/ojiepermana-angular-component-popover.d.ts +5 -1
- package/types/ojiepermana-angular-component-select.d.ts +11 -5
- package/types/ojiepermana-angular-component-sheet.d.ts +5 -1
- package/types/ojiepermana-angular-component-table.d.ts +5 -1
- package/types/ojiepermana-angular-component-tabs.d.ts +5 -1
- package/types/ojiepermana-angular-component-textarea.d.ts +5 -1
- package/types/ojiepermana-angular-component-tooltip.d.ts +13 -1
- package/types/ojiepermana-angular-component-utils.d.ts +34 -2
package/toast/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Toast
|
|
2
2
|
|
|
3
|
-
Imperative notification service
|
|
3
|
+
Imperative, dependency-free notification service that renders toasts into a live region (`role="status"`, `aria-live="polite"`) with shadcn styling and a Sonner-style API surface.
|
|
4
4
|
|
|
5
5
|
## Import
|
|
6
6
|
|
|
@@ -10,18 +10,7 @@ import { ToastService } from '@ojiepermana/angular-component/toast';
|
|
|
10
10
|
|
|
11
11
|
## Application Setup
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
```ts
|
|
16
|
-
import { bootstrapApplication } from '@angular/platform-browser';
|
|
17
|
-
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
|
|
18
|
-
|
|
19
|
-
bootstrapApplication(AppComponent, {
|
|
20
|
-
providers: [provideAnimationsAsync()],
|
|
21
|
-
});
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
Use `provideNoopAnimations()` instead when the host application intentionally disables animations.
|
|
13
|
+
No special bootstrap providers are required. `ToastService` is a dependency-free, `providedIn: 'root'` service that injects `DOCUMENT` and renders its own live-region container, so you can inject and use it directly.
|
|
25
14
|
|
|
26
15
|
## Basic Usage
|
|
27
16
|
|
|
@@ -68,6 +57,28 @@ this.toast.show({
|
|
|
68
57
|
});
|
|
69
58
|
```
|
|
70
59
|
|
|
60
|
+
### Persistent action
|
|
61
|
+
|
|
62
|
+
For an important action, keep the toast open (`durationMs: null`) and handle the result from the returned `ToastRef`.
|
|
63
|
+
|
|
64
|
+
```ts
|
|
65
|
+
const ref = this.toast.show({
|
|
66
|
+
title: 'Event archived',
|
|
67
|
+
description: 'Restore it from the calendar within the next minute.',
|
|
68
|
+
action: 'Undo',
|
|
69
|
+
durationMs: null,
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
void ref.afterDismissed.then(({ dismissedByAction }) => {
|
|
73
|
+
if (dismissedByAction) {
|
|
74
|
+
this.toast.info({
|
|
75
|
+
title: 'Archive cancelled',
|
|
76
|
+
description: 'The event is back on the calendar.',
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
```
|
|
81
|
+
|
|
71
82
|
### Promise State
|
|
72
83
|
|
|
73
84
|
```ts
|
|
@@ -84,15 +95,22 @@ The loading toast uses `durationMs: null` internally so it stays visible until t
|
|
|
84
95
|
|
|
85
96
|
### `ToastService`
|
|
86
97
|
|
|
87
|
-
| Method | Returns
|
|
88
|
-
| ---------------------------------- |
|
|
89
|
-
| `show(options: ToastOptions)` | `
|
|
90
|
-
| `success(options)` | `
|
|
91
|
-
| `info(options)` | `
|
|
92
|
-
| `warning(options)` | `
|
|
93
|
-
| `error(options)` | `
|
|
94
|
-
| `promise(taskOrFactory, messages)` | `Promise<T>`
|
|
95
|
-
| `dismiss()` | `void`
|
|
98
|
+
| Method | Returns |
|
|
99
|
+
| ---------------------------------- | ------------ |
|
|
100
|
+
| `show(options: ToastOptions)` | `ToastRef` |
|
|
101
|
+
| `success(options)` | `ToastRef` |
|
|
102
|
+
| `info(options)` | `ToastRef` |
|
|
103
|
+
| `warning(options)` | `ToastRef` |
|
|
104
|
+
| `error(options)` | `ToastRef` |
|
|
105
|
+
| `promise(taskOrFactory, messages)` | `Promise<T>` |
|
|
106
|
+
| `dismiss()` | `void` |
|
|
107
|
+
|
|
108
|
+
### `ToastRef`
|
|
109
|
+
|
|
110
|
+
| Member | Type | Notes |
|
|
111
|
+
| ---------------- | ----------------------------------------- | ----------------------------------------------------- |
|
|
112
|
+
| `dismiss()` | `void` | Dismisses this toast. |
|
|
113
|
+
| `afterDismissed` | `Promise<{ dismissedByAction: boolean }>` | Resolves with `dismissedByAction: true` via `action`. |
|
|
96
114
|
|
|
97
115
|
### `ToastOptions`
|
|
98
116
|
|
|
@@ -100,11 +118,11 @@ The loading toast uses `durationMs: null` internally so it stays visible until t
|
|
|
100
118
|
| -------------------- | ---------------------------------------------------------------- | ----------- |
|
|
101
119
|
| `title` | `string` | — |
|
|
102
120
|
| `description` | `string` | — |
|
|
103
|
-
| `action` | `string` |
|
|
121
|
+
| `action` | `string` | — |
|
|
104
122
|
| `variant` | `'default' \| 'destructive' \| 'success' \| 'info' \| 'warning'` | `'default'` |
|
|
105
123
|
| `durationMs` | `number \| null` | `5000` |
|
|
106
|
-
| `horizontalPosition` | `
|
|
107
|
-
| `verticalPosition` | `
|
|
124
|
+
| `horizontalPosition` | `'start' \| 'center' \| 'end' \| 'left' \| 'right'` | `'end'` |
|
|
125
|
+
| `verticalPosition` | `'top' \| 'bottom'` | `'bottom'` |
|
|
108
126
|
|
|
109
127
|
Set `durationMs` to `null` when the toast should stay visible until `dismiss()` is called.
|
|
110
128
|
|
|
@@ -118,204 +136,35 @@ Set `durationMs` to `null` when the toast should stay visible until `dismiss()`
|
|
|
118
136
|
|
|
119
137
|
## Styling And Theming
|
|
120
138
|
|
|
121
|
-
The service applies `toast-panel` plus `toast-<variant>`
|
|
139
|
+
The service applies `toast-panel` plus `toast-<variant>` classes to each toast `<div>`.
|
|
122
140
|
|
|
123
|
-
- `default` keeps the background
|
|
124
|
-
- `success` uses
|
|
125
|
-
- `info` uses
|
|
126
|
-
- `warning` uses
|
|
127
|
-
- `error` maps to the destructive tokens.
|
|
141
|
+
- `default` keeps the `background`/`foreground` tokens from the active theme.
|
|
142
|
+
- `success` uses emerald tokens (`bg-emerald-600 text-white`).
|
|
143
|
+
- `info` uses sky tokens (`bg-sky-600 text-white`).
|
|
144
|
+
- `warning` uses amber tokens (`bg-amber-500 text-black`).
|
|
145
|
+
- `destructive` (used by `error()`) maps to the destructive tokens.
|
|
128
146
|
|
|
129
|
-
If you need to override a variant, target the
|
|
147
|
+
If you need to override a variant, target the toast class directly:
|
|
130
148
|
|
|
131
149
|
```css
|
|
132
|
-
.
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
--mat-snack-bar-button-color: hsl(var(--warning-foreground));
|
|
150
|
+
.toast-panel.toast-warning {
|
|
151
|
+
background-color: hsl(var(--warning));
|
|
152
|
+
color: hsl(var(--warning-foreground));
|
|
136
153
|
}
|
|
137
154
|
```
|
|
138
155
|
|
|
139
156
|
## Accessibility
|
|
140
157
|
|
|
141
|
-
`
|
|
142
|
-
|
|
143
|
-
## Angular Notes
|
|
144
|
-
|
|
145
|
-
Inject the service where the interaction starts instead of creating a global host component. `MatSnackBar` shows one visible toast at a time, so `promise()` dismisses the loading state before showing its success or error follow-up.
|
|
146
|
-
|
|
147
|
-
## Source Parity
|
|
148
|
-
|
|
149
|
-
This entrypoint is the local Angular mapping for shadcn Sonner as well as the simpler toast examples in the demo. It intentionally preserves the imperative API mental model, variant coverage, and placement controls while staying honest about the implementation boundary: the runtime surface is still a focused `MatSnackBar` wrapper, not Sonner's stacked multi-toast viewport.
|
|
150
|
-
|
|
151
|
-
# Toast
|
|
152
|
-
|
|
153
|
-
Imperative notification service backed by `MatSnackBar`, styled for the local shadcn-inspired theme.
|
|
154
|
-
|
|
155
|
-
The upstream shadcn toast page is deprecated in favor of Sonner. This entrypoint remains useful for lightweight single-message flows in Angular apps, while richer stacked notification workflows can move to a future Sonner-style surface.
|
|
156
|
-
|
|
157
|
-
## Import
|
|
158
|
-
|
|
159
|
-
```ts
|
|
160
|
-
import { ToastService } from '@ojiepermana/angular-component/toast';
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
## App setup
|
|
164
|
-
|
|
165
|
-
Enable browser or noop animations so the underlying snackbar overlay can render correctly.
|
|
166
|
-
|
|
167
|
-
```ts
|
|
168
|
-
import type { ApplicationConfig } from '@angular/core';
|
|
169
|
-
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
|
|
170
|
-
|
|
171
|
-
export const appConfig: ApplicationConfig = {
|
|
172
|
-
providers: [provideAnimationsAsync()],
|
|
173
|
-
};
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
Use `provideNoopAnimations()` instead when the host application deliberately disables animations.
|
|
177
|
-
|
|
178
|
-
## Structure
|
|
179
|
-
|
|
180
|
-
This entrypoint exports a service rather than a component tree. `ToastService` keeps the API at the same event-handling layer as your save, delete, archive, or publish action, while rendering is delegated to Angular Material overlays.
|
|
181
|
-
|
|
182
|
-
## Basic usage
|
|
183
|
-
|
|
184
|
-
```ts
|
|
185
|
-
import { inject } from '@angular/core';
|
|
186
|
-
import { ToastService } from '@ojiepermana/angular-component/toast';
|
|
187
|
-
|
|
188
|
-
export class SaveButton {
|
|
189
|
-
private readonly toast = inject(ToastService);
|
|
190
|
-
|
|
191
|
-
save(): void {
|
|
192
|
-
this.toast.success({
|
|
193
|
-
title: 'Saved',
|
|
194
|
-
description: 'Your changes have been saved.',
|
|
195
|
-
});
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
## Common patterns
|
|
201
|
-
|
|
202
|
-
### Status shortcuts
|
|
203
|
-
|
|
204
|
-
```ts
|
|
205
|
-
this.toast.show({
|
|
206
|
-
title: 'Deployment queued',
|
|
207
|
-
description: 'We will notify you when the build is ready.',
|
|
208
|
-
});
|
|
209
|
-
|
|
210
|
-
this.toast.success({
|
|
211
|
-
title: 'Saved',
|
|
212
|
-
description: 'Your changes have been saved.',
|
|
213
|
-
});
|
|
214
|
-
|
|
215
|
-
this.toast.info({
|
|
216
|
-
title: 'Heads up',
|
|
217
|
-
description: 'The deployment window starts in 10 minutes.',
|
|
218
|
-
});
|
|
219
|
-
|
|
220
|
-
this.toast.warning({
|
|
221
|
-
title: 'Storage almost full',
|
|
222
|
-
description: 'Archive older uploads before the next sync.',
|
|
223
|
-
});
|
|
224
|
-
|
|
225
|
-
this.toast.error({
|
|
226
|
-
title: 'Failed to save',
|
|
227
|
-
description: 'Network error. Please retry.',
|
|
228
|
-
});
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
### Persistent action
|
|
232
|
-
|
|
233
|
-
For an important action, keep the toast open and handle the snackbar action from the returned reference.
|
|
234
|
-
|
|
235
|
-
```ts
|
|
236
|
-
const ref = this.toast.show({
|
|
237
|
-
title: 'Event archived',
|
|
238
|
-
description: 'Restore it from the calendar within the next minute.',
|
|
239
|
-
action: 'Undo',
|
|
240
|
-
durationMs: null,
|
|
241
|
-
});
|
|
242
|
-
|
|
243
|
-
ref.onAction().subscribe(() => {
|
|
244
|
-
this.toast.info({
|
|
245
|
-
title: 'Archive cancelled',
|
|
246
|
-
description: 'The event is back on the calendar.',
|
|
247
|
-
});
|
|
248
|
-
});
|
|
249
|
-
```
|
|
250
|
-
|
|
251
|
-
### Promise helper
|
|
252
|
-
|
|
253
|
-
Use `toast.promise()` when one async task should produce loading, success, and failure feedback in sequence.
|
|
254
|
-
|
|
255
|
-
```ts
|
|
256
|
-
await this.toast.promise(
|
|
257
|
-
() =>
|
|
258
|
-
new Promise<{ name: string }>((resolve) => {
|
|
259
|
-
window.setTimeout(() => resolve({ name: 'Summer launch checklist' }), 900);
|
|
260
|
-
}),
|
|
261
|
-
{
|
|
262
|
-
loading: 'Archiving draft...',
|
|
263
|
-
success: (draft) => `${draft.name} archived`,
|
|
264
|
-
error: 'Unable to archive draft',
|
|
265
|
-
},
|
|
266
|
-
);
|
|
267
|
-
```
|
|
268
|
-
|
|
269
|
-
## API Reference
|
|
270
|
-
|
|
271
|
-
### `ToastService`
|
|
272
|
-
|
|
273
|
-
| Method | Returns | Notes |
|
|
274
|
-
| ---------------------------------- | ------------------------- | ---------------------------------------------------------- |
|
|
275
|
-
| `show(options)` | `MatSnackBarRef<unknown>` | Lowest-level method with full option control. |
|
|
276
|
-
| `success(options)` | `MatSnackBarRef<unknown>` | Shortcut for `variant: 'success'`. |
|
|
277
|
-
| `info(options)` | `MatSnackBarRef<unknown>` | Angular-local semantic shortcut. |
|
|
278
|
-
| `warning(options)` | `MatSnackBarRef<unknown>` | Angular-local semantic shortcut. |
|
|
279
|
-
| `error(options)` | `MatSnackBarRef<unknown>` | Shortcut for `variant: 'destructive'`. |
|
|
280
|
-
| `promise(taskOrFactory, messages)` | `Promise<T>` | Shows loading first, then success or destructive feedback. |
|
|
281
|
-
| `dismiss()` | `void` | Closes the active toast. |
|
|
282
|
-
|
|
283
|
-
### `ToastOptions`
|
|
284
|
-
|
|
285
|
-
| Field | Type | Default | Notes |
|
|
286
|
-
| -------------------- | ---------------------------------------------------------------- | ----------- | ------------------------------------------------------- |
|
|
287
|
-
| `title` | `string` | unset | Primary message line. |
|
|
288
|
-
| `description` | `string` | unset | Optional secondary line. |
|
|
289
|
-
| `action` | `string` | `''` | Single action label shown by the snackbar. |
|
|
290
|
-
| `variant` | `'default' \| 'destructive' \| 'success' \| 'info' \| 'warning'` | `'default'` | Visual variant applied through `toast-*` panel classes. |
|
|
291
|
-
| `durationMs` | `number \| null` | `5000` | Set to `null` to keep the toast open until dismissed. |
|
|
292
|
-
| `horizontalPosition` | `MatSnackBarConfig['horizontalPosition']` | `'end'` | Snackbar x-axis placement. |
|
|
293
|
-
| `verticalPosition` | `MatSnackBarConfig['verticalPosition']` | `'bottom'` | Snackbar y-axis placement. |
|
|
294
|
-
|
|
295
|
-
### `ToastPromiseMessages<T>`
|
|
296
|
-
|
|
297
|
-
| Field | Type | Notes |
|
|
298
|
-
| --------- | ---------------------------------------- | --------------------------------------------------- |
|
|
299
|
-
| `loading` | `string` | Required loading message while the task is pending. |
|
|
300
|
-
| `success` | `string \| ((value: T) => string)` | Static or data-derived success copy. |
|
|
301
|
-
| `error` | `string \| ((error: unknown) => string)` | Static or error-derived destructive copy. |
|
|
302
|
-
|
|
303
|
-
## Styling and theming
|
|
304
|
-
|
|
305
|
-
The service applies `toast-panel` and `toast-<variant>` classes on the snackbar container. The shared Material integration maps those classes to the local semantic tokens for default, destructive, success, info, and warning states, and preserves line breaks between `title` and `description`.
|
|
306
|
-
|
|
307
|
-
## Accessibility
|
|
308
|
-
|
|
309
|
-
`MatSnackBar` manages live-region announcements automatically. Keep toast copy short, reserve it for transient status updates, and prefer `durationMs: null` when the action button must stay available long enough for keyboard and assistive-technology users.
|
|
158
|
+
The service renders toasts into a `role="status"`, `aria-live="polite"` live region so screen readers announce them automatically. Keep titles short, use `action` for a single primary follow-up, and avoid moving focus into the toast.
|
|
310
159
|
|
|
311
160
|
## Keyboard interactions
|
|
312
161
|
|
|
313
|
-
The toast body itself is not a roving-focus widget. Keyboard interaction is limited to the optional action button
|
|
162
|
+
The toast body itself is not a roving-focus widget. Keyboard interaction is limited to the optional action button rendered when `action` is present.
|
|
314
163
|
|
|
315
|
-
## Angular
|
|
164
|
+
## Angular Notes
|
|
316
165
|
|
|
317
|
-
|
|
166
|
+
Inject the service where the interaction starts instead of creating a global host component. Toasts stack in the live-region container, and `promise()` dismisses the loading toast before showing its success or error follow-up.
|
|
318
167
|
|
|
319
|
-
## Source
|
|
168
|
+
## Source Parity
|
|
320
169
|
|
|
321
|
-
|
|
170
|
+
This entrypoint is the local Angular mapping for shadcn Sonner as well as the simpler toast examples in the demo. It intentionally preserves the imperative API mental model, variant coverage, and placement controls while staying honest about the implementation boundary: the runtime surface is a focused, dependency-free live-region renderer, not Sonner's full multi-toast viewport.
|
package/tooltip/README.md
CHANGED
|
@@ -149,6 +149,12 @@ Export the trigger as `TooltipTrigger` when a flow needs to open or close the co
|
|
|
149
149
|
| `closeDelay` | `number` | Overrides the root close delay for this trigger. |
|
|
150
150
|
| `disabled` | `boolean` | Suppresses tooltip opening for the trigger. |
|
|
151
151
|
|
|
152
|
+
### `TooltipTriggerDirective` outputs
|
|
153
|
+
|
|
154
|
+
| Output | Type | Notes |
|
|
155
|
+
| -------------- | --------- | ------------------------------------------------------ |
|
|
156
|
+
| `openedChange` | `boolean` | Emits `true` when the tooltip opens, `false` on close. |
|
|
157
|
+
|
|
152
158
|
### `TooltipTriggerDirective` methods
|
|
153
159
|
|
|
154
160
|
- `open()`: opens the composed tooltip.
|
|
@@ -161,14 +167,13 @@ Export the trigger as `TooltipTrigger` when a flow needs to open or close the co
|
|
|
161
167
|
|
|
162
168
|
### `TooltipDirective`
|
|
163
169
|
|
|
164
|
-
| Input
|
|
165
|
-
|
|
|
166
|
-
| `Tooltip`
|
|
167
|
-
| `TooltipPosition`
|
|
168
|
-
| `TooltipDisabled`
|
|
169
|
-
| `TooltipShowDelay`
|
|
170
|
-
| `TooltipHideDelay`
|
|
171
|
-
| `TooltipTouchGestures` | `'auto' \| 'on' \| 'off'` | Controls touch gesture behavior on mobile devices. |
|
|
170
|
+
| Input | Type | Notes |
|
|
171
|
+
| ------------------ | ----------------- | -------------------------------------------------------- |
|
|
172
|
+
| `Tooltip` | `string` | Message rendered inside the tooltip overlay. |
|
|
173
|
+
| `TooltipPosition` | `TooltipPosition` | `left`, `right`, `above`, `below`, `before`, or `after`. |
|
|
174
|
+
| `TooltipDisabled` | `boolean` | Temporarily suppresses tooltip display. |
|
|
175
|
+
| `TooltipShowDelay` | `number` | Delay in milliseconds before the tooltip opens. |
|
|
176
|
+
| `TooltipHideDelay` | `number` | Delay in milliseconds before the tooltip closes. |
|
|
172
177
|
|
|
173
178
|
For the original primitive contract, see the Radix Tooltip API: <https://www.radix-ui.com/primitives/docs/components/tooltip#api-reference>.
|
|
174
179
|
|
|
@@ -12,12 +12,16 @@ declare class AccordionComponent extends AccordionContextBase {
|
|
|
12
12
|
readonly collapsible: _angular_core.InputSignal<boolean>;
|
|
13
13
|
readonly value: _angular_core.ModelSignal<string | string[] | null>;
|
|
14
14
|
readonly class: _angular_core.InputSignal<string>;
|
|
15
|
+
readonly radius: _angular_core.InputSignal<"inherit" | "none" | "sm" | "md" | "lg" | "xl" | "full">;
|
|
16
|
+
readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
15
17
|
protected readonly classes: _angular_core.Signal<string>;
|
|
18
|
+
protected readonly radiusBase: _angular_core.Signal<string | null>;
|
|
19
|
+
protected readonly densityBase: _angular_core.Signal<string | null>;
|
|
16
20
|
private readonly openSet;
|
|
17
21
|
isOpen(value: string): boolean;
|
|
18
22
|
toggle(value: string): void;
|
|
19
23
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
20
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionComponent, "Accordion", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["*"], true, never>;
|
|
24
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionComponent, "Accordion", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["*"], true, never>;
|
|
21
25
|
}
|
|
22
26
|
declare class AccordionItemComponent {
|
|
23
27
|
protected readonly ctx: AccordionContextBase;
|
|
@@ -12,6 +12,8 @@ declare class AlertDialogComponent {
|
|
|
12
12
|
readonly labelledBy: _angular_core.InputSignal<string | null>;
|
|
13
13
|
readonly describedBy: _angular_core.InputSignal<string | null>;
|
|
14
14
|
readonly class: _angular_core.InputSignal<string>;
|
|
15
|
+
readonly radius: _angular_core.InputSignal<"sm" | "inherit" | "none" | "md" | "lg" | "xl" | "full">;
|
|
16
|
+
readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
15
17
|
readonly openedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
16
18
|
private readonly contentSize;
|
|
17
19
|
readonly resolvedSize: _angular_core.Signal<AlertDialogSize>;
|
|
@@ -19,7 +21,7 @@ declare class AlertDialogComponent {
|
|
|
19
21
|
setContentSize(size: AlertDialogSize): void;
|
|
20
22
|
close(): void;
|
|
21
23
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertDialogComponent, never>;
|
|
22
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogComponent, "AlertDialog", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "closeOnBackdropClick": { "alias": "closeOnBackdropClick"; "required": false; "isSignal": true; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; "isSignal": true; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; "isSignal": true; }; "labelledBy": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "describedBy": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "openedChange": "openedChange"; }, never, ["*"], true, never>;
|
|
24
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertDialogComponent, "AlertDialog", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "closeOnBackdropClick": { "alias": "closeOnBackdropClick"; "required": false; "isSignal": true; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; "isSignal": true; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; "isSignal": true; }; "labelledBy": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "describedBy": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "openedChange": "openedChange"; }, never, ["*"], true, never>;
|
|
23
25
|
}
|
|
24
26
|
|
|
25
27
|
declare class AlertDialogContentComponent {
|
|
@@ -10,9 +10,13 @@ type AlertVariant = NonNullable<VariantProps<typeof alertVariants>['variant']>;
|
|
|
10
10
|
declare class AlertComponent {
|
|
11
11
|
readonly variant: _angular_core.InputSignal<AlertVariant>;
|
|
12
12
|
readonly class: _angular_core.InputSignal<string>;
|
|
13
|
+
readonly radius: _angular_core.InputSignal<"inherit" | "none" | "sm" | "md" | "lg" | "xl" | "full">;
|
|
14
|
+
readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
13
15
|
protected readonly classes: _angular_core.Signal<string>;
|
|
16
|
+
protected readonly radiusBase: _angular_core.Signal<string | null>;
|
|
17
|
+
protected readonly densityBase: _angular_core.Signal<string | null>;
|
|
14
18
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
15
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertComponent, "Alert", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
19
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertComponent, "Alert", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
16
20
|
}
|
|
17
21
|
declare class AlertTitleComponent {
|
|
18
22
|
readonly class: _angular_core.InputSignal<string>;
|
|
@@ -9,9 +9,13 @@ type AvatarSize = keyof typeof avatarSizeClasses;
|
|
|
9
9
|
declare class AvatarComponent {
|
|
10
10
|
readonly size: _angular_core.InputSignal<"default" | "sm" | "lg">;
|
|
11
11
|
readonly class: _angular_core.InputSignal<string>;
|
|
12
|
+
readonly radius: _angular_core.InputSignal<"sm" | "lg" | "inherit" | "none" | "md" | "xl" | "full">;
|
|
13
|
+
readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
12
14
|
protected readonly classes: _angular_core.Signal<string>;
|
|
15
|
+
protected readonly radiusBase: _angular_core.Signal<string | null>;
|
|
16
|
+
protected readonly densityBase: _angular_core.Signal<string | null>;
|
|
13
17
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
14
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarComponent, "Avatar", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
18
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarComponent, "Avatar", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
15
19
|
}
|
|
16
20
|
declare class AvatarImageComponent {
|
|
17
21
|
readonly src: _angular_core.InputSignal<string>;
|
|
@@ -10,9 +10,13 @@ type BadgeVariant = NonNullable<VariantProps<typeof badgeVariants>['variant']>;
|
|
|
10
10
|
declare class BadgeComponent {
|
|
11
11
|
readonly variant: _angular_core.InputSignal<BadgeVariant>;
|
|
12
12
|
readonly class: _angular_core.InputSignal<string>;
|
|
13
|
+
readonly radius: _angular_core.InputSignal<"inherit" | "none" | "sm" | "md" | "lg" | "xl" | "full">;
|
|
14
|
+
readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
13
15
|
protected readonly classes: _angular_core.Signal<string>;
|
|
16
|
+
protected readonly radiusBase: _angular_core.Signal<string | null>;
|
|
17
|
+
protected readonly densityBase: _angular_core.Signal<string | null>;
|
|
14
18
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
15
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BadgeComponent, "Badge, [Badge]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
19
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BadgeComponent, "Badge, [Badge]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
16
20
|
}
|
|
17
21
|
|
|
18
22
|
export { BadgeComponent, badgeVariants };
|
|
@@ -13,9 +13,13 @@ declare class ButtonComponent {
|
|
|
13
13
|
readonly variant: _angular_core.InputSignal<ButtonVariant>;
|
|
14
14
|
readonly size: _angular_core.InputSignal<ButtonSize>;
|
|
15
15
|
readonly class: _angular_core.InputSignal<string>;
|
|
16
|
+
readonly radius: _angular_core.InputSignal<"sm" | "lg" | "inherit" | "none" | "md" | "xl" | "full">;
|
|
17
|
+
readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
16
18
|
protected readonly classes: _angular_core.Signal<string>;
|
|
19
|
+
protected readonly radiusBase: _angular_core.Signal<string | null>;
|
|
20
|
+
protected readonly densityBase: _angular_core.Signal<string | null>;
|
|
17
21
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
18
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "button[Button], a[Button]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
22
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "button[Button], a[Button]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
19
23
|
}
|
|
20
24
|
|
|
21
25
|
export { ButtonComponent, buttonVariants };
|
|
@@ -4,9 +4,13 @@ type CardSize = 'default' | 'sm';
|
|
|
4
4
|
declare class CardComponent {
|
|
5
5
|
readonly size: _angular_core.InputSignal<CardSize>;
|
|
6
6
|
readonly class: _angular_core.InputSignal<string>;
|
|
7
|
+
readonly radius: _angular_core.InputSignal<"sm" | "inherit" | "none" | "md" | "lg" | "xl" | "full">;
|
|
8
|
+
readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
7
9
|
protected readonly classes: _angular_core.Signal<string>;
|
|
10
|
+
protected readonly radiusBase: _angular_core.Signal<string | null>;
|
|
11
|
+
protected readonly densityBase: _angular_core.Signal<string | null>;
|
|
8
12
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
9
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardComponent, "Card", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
13
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardComponent, "Card", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
10
14
|
}
|
|
11
15
|
|
|
12
16
|
declare class CardHeaderComponent {
|
|
@@ -31,19 +31,23 @@ declare class DialogComponent {
|
|
|
31
31
|
readonly labelledBy: _angular_core.InputSignal<string | null>;
|
|
32
32
|
readonly describedBy: _angular_core.InputSignal<string | null>;
|
|
33
33
|
readonly class: _angular_core.InputSignal<string>;
|
|
34
|
+
readonly radius: _angular_core.InputSignal<"inherit" | "none" | "sm" | "md" | "lg" | "xl" | "full">;
|
|
35
|
+
readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
34
36
|
readonly openedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
35
37
|
private readonly tpl;
|
|
36
38
|
private overlayRef;
|
|
37
39
|
private focusTrap;
|
|
38
40
|
private previousFocus;
|
|
39
41
|
protected readonly surfaceClasses: _angular_core.Signal<string>;
|
|
42
|
+
protected readonly radiusBase: _angular_core.Signal<string | null>;
|
|
43
|
+
protected readonly densityBase: _angular_core.Signal<string | null>;
|
|
40
44
|
constructor();
|
|
41
45
|
private attach;
|
|
42
46
|
private detach;
|
|
43
47
|
private requestClose;
|
|
44
48
|
close(): void;
|
|
45
49
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
46
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DialogComponent, "Dialog", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "closeOnBackdropClick": { "alias": "closeOnBackdropClick"; "required": false; "isSignal": true; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; "isSignal": true; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; "isSignal": true; }; "labelledBy": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "describedBy": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "openedChange": "openedChange"; }, never, ["*"], true, never>;
|
|
50
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DialogComponent, "Dialog", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "closeOnBackdropClick": { "alias": "closeOnBackdropClick"; "required": false; "isSignal": true; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; "isSignal": true; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; "isSignal": true; }; "labelledBy": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "describedBy": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "openedChange": "openedChange"; }, never, ["*"], true, never>;
|
|
47
51
|
}
|
|
48
52
|
|
|
49
53
|
declare class DialogCloseDirective {
|
|
@@ -86,9 +86,13 @@ declare class MenuShortcutComponent {
|
|
|
86
86
|
*/
|
|
87
87
|
declare class MenuSurfaceComponent implements AfterContentInit {
|
|
88
88
|
readonly class: _angular_core.InputSignal<string>;
|
|
89
|
+
readonly radius: _angular_core.InputSignal<"inherit" | "none" | "sm" | "md" | "lg" | "xl" | "full">;
|
|
90
|
+
readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
89
91
|
private readonly items;
|
|
90
92
|
readonly closeRequested: _angular_core.OutputEmitterRef<void>;
|
|
91
93
|
private keyManager;
|
|
94
|
+
protected readonly radiusBase: _angular_core.Signal<string | null>;
|
|
95
|
+
protected readonly densityBase: _angular_core.Signal<string | null>;
|
|
92
96
|
protected readonly classes: _angular_core.Signal<string>;
|
|
93
97
|
ngAfterContentInit(): void;
|
|
94
98
|
protected onArrow(e: KeyboardEvent, delta: number): void;
|
|
@@ -96,7 +100,7 @@ declare class MenuSurfaceComponent implements AfterContentInit {
|
|
|
96
100
|
protected onEnd(e: KeyboardEvent): void;
|
|
97
101
|
protected onTab(e: KeyboardEvent): void;
|
|
98
102
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MenuSurfaceComponent, never>;
|
|
99
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MenuSurfaceComponent, "MenuSurface", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, { "closeRequested": "closeRequested"; }, ["items"], ["*"], true, never>;
|
|
103
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MenuSurfaceComponent, "MenuSurface", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; }, { "closeRequested": "closeRequested"; }, ["items"], ["*"], true, never>;
|
|
100
104
|
}
|
|
101
105
|
/**
|
|
102
106
|
* Wraps an `<ng-template>` that holds `<MenuSurface>` + items.
|
|
@@ -7,10 +7,14 @@ import * as _angular_core from '@angular/core';
|
|
|
7
7
|
declare class InputComponent {
|
|
8
8
|
private readonly el;
|
|
9
9
|
readonly class: _angular_core.InputSignal<string>;
|
|
10
|
+
readonly radius: _angular_core.InputSignal<"inherit" | "none" | "sm" | "md" | "lg" | "xl" | "full">;
|
|
11
|
+
readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
10
12
|
protected readonly classes: _angular_core.Signal<string>;
|
|
13
|
+
protected readonly radiusBase: _angular_core.Signal<string | null>;
|
|
14
|
+
protected readonly densityBase: _angular_core.Signal<string | null>;
|
|
11
15
|
focus(): void;
|
|
12
16
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
13
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputComponent, "input[Input]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputComponent, "input[Input]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
18
|
}
|
|
15
19
|
|
|
16
20
|
export { InputComponent };
|
|
@@ -19,11 +19,15 @@ declare class ItemComponent {
|
|
|
19
19
|
readonly variant: _angular_core.InputSignal<ItemVariant>;
|
|
20
20
|
readonly size: _angular_core.InputSignal<ItemSize>;
|
|
21
21
|
readonly class: _angular_core.InputSignal<string>;
|
|
22
|
+
readonly radius: _angular_core.InputSignal<"sm" | "inherit" | "none" | "md" | "lg" | "xl" | "full">;
|
|
23
|
+
readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
24
|
+
protected readonly radiusBase: _angular_core.Signal<string | null>;
|
|
25
|
+
protected readonly densityBase: _angular_core.Signal<string | null>;
|
|
22
26
|
private readonly host;
|
|
23
27
|
protected readonly interactive: boolean;
|
|
24
28
|
protected readonly classes: _angular_core.Signal<string>;
|
|
25
29
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ItemComponent, never>;
|
|
26
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ItemComponent, "Item, [Item]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
30
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ItemComponent, "Item, [Item]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
27
31
|
}
|
|
28
32
|
declare class ItemGroupComponent {
|
|
29
33
|
readonly class: _angular_core.InputSignal<string>;
|
|
@@ -4,8 +4,12 @@ import { OverlaySide, OverlayAlign } from '@ojiepermana/angular-component/utils'
|
|
|
4
4
|
|
|
5
5
|
declare class PopoverContentDirective {
|
|
6
6
|
readonly template: TemplateRef<unknown>;
|
|
7
|
+
readonly radius: _angular_core.InputSignal<"inherit" | "none" | "sm" | "md" | "lg" | "xl" | "full">;
|
|
8
|
+
readonly density: _angular_core.InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
9
|
+
protected readonly radiusBase: _angular_core.Signal<string | null>;
|
|
10
|
+
protected readonly densityBase: _angular_core.Signal<string | null>;
|
|
7
11
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PopoverContentDirective, never>;
|
|
8
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PopoverContentDirective, "ng-template[PopoverContent]", ["PopoverContent"], {}, {}, never, never, true, never>;
|
|
12
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PopoverContentDirective, "ng-template[PopoverContent]", ["PopoverContent"], { "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
13
|
}
|
|
10
14
|
|
|
11
15
|
type PopoverSide = OverlaySide;
|