ngwr 14.6.0 → 14.8.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.
- package/alert/styles/_index.scss +14 -3
- package/avatar/styles/_index.scss +44 -0
- package/bar-chart/styles/_index.scss +1 -0
- package/calendar-heatmap/styles/_index.scss +1 -0
- package/cascader/styles/_rules.scss +86 -18
- package/collapse/styles/_index.scss +0 -1
- package/date-picker/styles/_index.scss +30 -0
- package/density/styles/_index.scss +4 -2
- package/donut-chart/styles/_index.scss +10 -0
- package/dropdown/styles/_index.scss +67 -5
- package/event-calendar/styles/_index.scss +209 -35
- package/fesm2022/ngwr-avatar.mjs +19 -2
- package/fesm2022/ngwr-avatar.mjs.map +1 -1
- package/fesm2022/ngwr-bar-chart.mjs +29 -4
- package/fesm2022/ngwr-bar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-calendar-heatmap.mjs +59 -4
- package/fesm2022/ngwr-calendar-heatmap.mjs.map +1 -1
- package/fesm2022/ngwr-cascader.mjs +2 -2
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-checkbox.mjs +12 -2
- package/fesm2022/ngwr-checkbox.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker.mjs +705 -46
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-donut-chart.mjs +46 -4
- package/fesm2022/ngwr-donut-chart.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +166 -17
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-event-calendar.mjs +9 -2
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +52 -1
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-gauge.mjs +33 -4
- package/fesm2022/ngwr-gauge.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ar.mjs +2 -0
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +2 -0
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +2 -0
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +5 -0
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +2 -0
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +2 -0
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +2 -0
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +2 -0
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +2 -0
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +2 -0
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +2 -0
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +2 -0
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +2 -0
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +2 -0
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +2 -0
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +2 -0
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +2 -0
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +2 -0
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +2 -0
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +2 -0
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-TW.mjs +2 -0
- package/fesm2022/ngwr-i18n-zh-TW.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +2 -0
- package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
- package/fesm2022/ngwr-image-cropper.mjs +149 -62
- package/fesm2022/ngwr-image-cropper.mjs.map +1 -1
- package/fesm2022/ngwr-input-number.mjs +12 -0
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-lightbox.mjs +2 -2
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-line-chart.mjs +16 -5
- package/fesm2022/ngwr-line-chart.mjs.map +1 -1
- package/fesm2022/ngwr-meter-group-testing.mjs +7 -3
- package/fesm2022/ngwr-meter-group-testing.mjs.map +1 -1
- package/fesm2022/ngwr-meter-group.mjs +24 -4
- package/fesm2022/ngwr-meter-group.mjs.map +1 -1
- package/fesm2022/ngwr-page-header.mjs +10 -2
- package/fesm2022/ngwr-page-header.mjs.map +1 -1
- package/fesm2022/ngwr-popover.mjs +569 -7
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-select.mjs +73 -22
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar.mjs +7 -0
- package/fesm2022/ngwr-sidebar.mjs.map +1 -1
- package/fesm2022/ngwr-sparkline.mjs +82 -8
- package/fesm2022/ngwr-sparkline.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +1 -1
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-toolbar.mjs +7 -0
- package/fesm2022/ngwr-toolbar.mjs.map +1 -1
- package/fesm2022/ngwr-version.mjs +1 -1
- package/fesm2022/ngwr-version.mjs.map +1 -1
- package/form/styles/_index.scss +11 -1
- package/gauge/styles/_index.scss +1 -0
- package/i18n/ar.json +3 -1
- package/i18n/cs.json +3 -1
- package/i18n/de.json +3 -1
- package/i18n/en.json +3 -1
- package/i18n/es.json +3 -1
- package/i18n/fr.json +3 -1
- package/i18n/he.json +3 -1
- package/i18n/hi.json +3 -1
- package/i18n/id.json +3 -1
- package/i18n/it.json +3 -1
- package/i18n/ja.json +3 -1
- package/i18n/ko.json +3 -1
- package/i18n/nl.json +3 -1
- package/i18n/pl.json +3 -1
- package/i18n/pt.json +3 -1
- package/i18n/ru.json +3 -1
- package/i18n/sv.json +3 -1
- package/i18n/tr.json +3 -1
- package/i18n/uk.json +3 -1
- package/i18n/vi.json +3 -1
- package/i18n/zh-TW.json +3 -1
- package/i18n/zh.json +3 -1
- package/input/styles/_index.scss +27 -2
- package/input-number/styles/_index.scss +69 -0
- package/lightbox/styles/_rules.scss +7 -1
- package/line-chart/styles/_index.scss +30 -2
- package/llms-full.txt +3 -3
- package/meter-group/styles/_index.scss +1 -0
- package/overlay/styles/_arrow.scss +27 -2
- package/package.json +1 -1
- package/page-header/styles/_index.scss +37 -1
- package/pagination/styles/_index.scss +9 -5
- package/popover/styles/_index.scss +73 -5
- package/select/styles/_index.scss +64 -13
- package/sidebar/styles/_index.scss +34 -2
- package/sparkline/styles/_index.scss +19 -0
- package/table/styles/_index.scss +55 -0
- package/toast/styles/_index.scss +9 -3
- package/toolbar/styles/_index.scss +35 -1
- package/tree/styles/_index.scss +45 -9
- package/types/ngwr-avatar.d.ts +15 -1
- package/types/ngwr-bar-chart.d.ts +19 -1
- package/types/ngwr-calendar-heatmap.d.ts +29 -1
- package/types/ngwr-checkbox.d.ts +2 -0
- package/types/ngwr-date-picker.d.ts +308 -43
- package/types/ngwr-donut-chart.d.ts +24 -1
- package/types/ngwr-dropdown.d.ts +22 -2
- package/types/ngwr-event-calendar.d.ts +8 -0
- package/types/ngwr-form.d.ts +35 -5
- package/types/ngwr-gauge.d.ts +20 -1
- package/types/ngwr-image-cropper.d.ts +48 -0
- package/types/ngwr-input-number.d.ts +7 -0
- package/types/ngwr-line-chart.d.ts +9 -1
- package/types/ngwr-meter-group-testing.d.ts +3 -2
- package/types/ngwr-meter-group.d.ts +14 -1
- package/types/ngwr-page-header.d.ts +10 -2
- package/types/ngwr-popover.d.ts +154 -3
- package/types/ngwr-select.d.ts +63 -6
- package/types/ngwr-sidebar.d.ts +7 -0
- package/types/ngwr-sparkline.d.ts +43 -1
- package/types/ngwr-toolbar.d.ts +7 -0
- package/types/ngwr-version.d.ts +1 -1
package/tree/styles/_index.scss
CHANGED
|
@@ -177,15 +177,51 @@
|
|
|
177
177
|
--wr-tree-trigger-font-size: var(--wr-control-font-size-md);
|
|
178
178
|
--wr-tree-trigger-line-height: var(--wr-control-line-height-md);
|
|
179
179
|
--wr-tree-panel-max-height: 18rem;
|
|
180
|
-
// Trigger width floor
|
|
181
|
-
//
|
|
182
|
-
//
|
|
183
|
-
//
|
|
180
|
+
// Trigger width floor, the same contract as `--wr-select-min-width`.
|
|
181
|
+
// Despite the name it is a DEFAULT width rather than a minimum: an explicit
|
|
182
|
+
// `width`, `width: 100%` in a narrow parent, a `minmax(0, 1fr)` cell and a
|
|
183
|
+
// shrinking flex item all win over it (see `::after` below). Set it to 0 to
|
|
184
|
+
// size a bare trigger to its content alone. This hook is the only way to
|
|
185
|
+
// lower it: a `min-width` on `.wr-tree__trigger`, the override that did it
|
|
186
|
+
// before the hook existed, no longer reaches the floor.
|
|
184
187
|
--wr-tree-trigger-min-width: 12rem;
|
|
185
188
|
|
|
186
|
-
|
|
189
|
+
// One column that shrinks to whatever the layout gives it and, left to size
|
|
190
|
+
// itself, grows to the widest thing in it — the trigger's content or the
|
|
191
|
+
// floor. The floor used to be a `min-width` on the trigger, which no width
|
|
192
|
+
// on the host could beat: `style="width: 6rem"` drew a 192px trigger in a
|
|
193
|
+
// 96px host, and in a 200px flex row beside a 120px sibling the tree
|
|
194
|
+
// overflowed the row by 120px. `minmax(0, …)` also drops the label's text
|
|
195
|
+
// from the host's min-content, so it shrinks as a flex item the way
|
|
196
|
+
// `[wrInput]` does and the label truncates instead.
|
|
197
|
+
display: inline-grid;
|
|
198
|
+
grid-template-columns: minmax(0, 1fr);
|
|
199
|
+
// The spacer below lands in a row of its own, and it must be a FIXED 0
|
|
200
|
+
// rather than an implicit `auto` one: a grid shares height beyond its
|
|
201
|
+
// content among its auto rows, so a host stretched by a taller flex or grid
|
|
202
|
+
// row, or given a `height`, drew a 45px trigger in a 60px host with an empty
|
|
203
|
+
// band beneath it.
|
|
204
|
+
grid-template-rows: auto 0;
|
|
187
205
|
vertical-align: middle;
|
|
188
206
|
|
|
207
|
+
// The floor as a zero-height spacer in the same column. A grid track's
|
|
208
|
+
// max-content is its widest item, so a host sized to its content is at
|
|
209
|
+
// least `--wr-tree-trigger-min-width` wide; `max-width: 100%` is ignored
|
|
210
|
+
// while that size is being worked out and applies once the column exists,
|
|
211
|
+
// so a narrower host caps the spacer instead of the spacer stretching the
|
|
212
|
+
// host. `flex: 0 0 0` keeps it from taking room beside the trigger if a
|
|
213
|
+
// consumer turns the host into a flex container (the floor is then inert,
|
|
214
|
+
// never in the way). In overlay mode the template renders exactly one
|
|
215
|
+
// element into the host — the trigger — so this is the column's only other
|
|
216
|
+
// item, and the zero row is the spacer's.
|
|
217
|
+
&::after {
|
|
218
|
+
content: '';
|
|
219
|
+
flex: 0 0 0;
|
|
220
|
+
width: var(--wr-tree-trigger-min-width);
|
|
221
|
+
max-width: 100%;
|
|
222
|
+
height: 0;
|
|
223
|
+
}
|
|
224
|
+
|
|
189
225
|
&.wr-tree--disabled {
|
|
190
226
|
--wr-tree-trigger-color: var(--wr-color-on-surface-muted);
|
|
191
227
|
--wr-tree-trigger-bg: var(--wr-color-fill);
|
|
@@ -197,7 +233,10 @@
|
|
|
197
233
|
align-items: center;
|
|
198
234
|
gap: 0.5rem;
|
|
199
235
|
width: 100%;
|
|
200
|
-
|
|
236
|
+
// Not the floor — that lives on the host, where a width can beat it. Zero
|
|
237
|
+
// lets the trigger follow the host down and the label's ellipsis take the
|
|
238
|
+
// difference.
|
|
239
|
+
min-width: 0;
|
|
201
240
|
appearance: none;
|
|
202
241
|
background: var(--wr-tree-trigger-bg);
|
|
203
242
|
color: var(--wr-tree-trigger-color);
|
|
@@ -249,7 +288,6 @@
|
|
|
249
288
|
}
|
|
250
289
|
|
|
251
290
|
&__chevron {
|
|
252
|
-
--wr-icon-size: 1rem;
|
|
253
291
|
flex: 0 0 auto;
|
|
254
292
|
color: var(--wr-color-on-surface-muted);
|
|
255
293
|
transition: transform var(--wr-transition-base);
|
|
@@ -260,7 +298,6 @@
|
|
|
260
298
|
}
|
|
261
299
|
|
|
262
300
|
&__clear {
|
|
263
|
-
--wr-icon-size: 0.875rem;
|
|
264
301
|
display: inline-flex;
|
|
265
302
|
align-items: center;
|
|
266
303
|
justify-content: center;
|
|
@@ -329,7 +366,6 @@
|
|
|
329
366
|
}
|
|
330
367
|
|
|
331
368
|
&__chip-remove {
|
|
332
|
-
--wr-icon-size: 0.875rem;
|
|
333
369
|
display: inline-flex;
|
|
334
370
|
align-items: center;
|
|
335
371
|
justify-content: center;
|
package/types/ngwr-avatar.d.ts
CHANGED
|
@@ -47,6 +47,19 @@ type WrAvatarSize = number | `${number}` | `${number}px` | `${number}rem`;
|
|
|
47
47
|
* spinner is drawn over it; with nothing projected, the spinner marks the
|
|
48
48
|
* loading state instead. See `alt` for what a screen reader hears.
|
|
49
49
|
*
|
|
50
|
+
* Projected initials take the text size around the avatar, capped at
|
|
51
|
+
* `--wr-avatar-initials-scale` (`0.375`) of the box, so they shrink only where
|
|
52
|
+
* they would not fit: a 16px avatar in a 14px chip draws 6px letters, while a
|
|
53
|
+
* `6rem` one keeps the surrounding size up to 36px and is capped only past it.
|
|
54
|
+
* Anything projected that is sized in `em` follows the cap too — a `<wr-icon>`
|
|
55
|
+
* at its default `1.2em` included — so pin a `px` or `rem` size on the projected
|
|
56
|
+
* element, or override the hook, to keep it. A `font-size` rule on the avatar
|
|
57
|
+
* itself still wins, unless it sits in a cascade layer (Tailwind v4's utilities
|
|
58
|
+
* do), which ngwr's unlayered stylesheet beats whatever the selector.
|
|
59
|
+
*
|
|
60
|
+
* The initials are inert: `pointer-events: none` hands a click on them to whatever
|
|
61
|
+
* holds the avatar, and `user-select: none` keeps them out of a text selection.
|
|
62
|
+
*
|
|
50
63
|
* @example
|
|
51
64
|
* ```html
|
|
52
65
|
* <wr-avatar url="/me.png" alt="Roman" size="3rem" shape="circle" />
|
|
@@ -84,7 +97,8 @@ declare class WrAvatar {
|
|
|
84
97
|
*/
|
|
85
98
|
readonly shape: _angular_core.InputSignal<WrAvatarShape>;
|
|
86
99
|
/**
|
|
87
|
-
* Box size. See {@link WrAvatarSize} for accepted values.
|
|
100
|
+
* Box size. See {@link WrAvatarSize} for accepted values. The resolved value is
|
|
101
|
+
* published on the host as `--wr-avatar-size`.
|
|
88
102
|
*
|
|
89
103
|
* @default '6rem'
|
|
90
104
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as ngwr_popover from 'ngwr/popover';
|
|
1
2
|
import * as _angular_core from '@angular/core';
|
|
2
3
|
|
|
3
4
|
/** One bar's worth of data. */
|
|
@@ -32,6 +33,12 @@ declare class WrBarChart {
|
|
|
32
33
|
readonly height: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
33
34
|
/** Explicit max value. `0` = auto. @default 0 */
|
|
34
35
|
readonly max: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
36
|
+
/**
|
|
37
|
+
* Show a tooltip with the bar's label and value on hover. Pointer only — the
|
|
38
|
+
* column's accessible name already carries both. @default true
|
|
39
|
+
*/
|
|
40
|
+
readonly tooltip: _angular_core.InputSignalWithTransform<boolean, any>;
|
|
41
|
+
private readonly barEls;
|
|
35
42
|
/**
|
|
36
43
|
* A datum's value, with anything non-finite read as `0`.
|
|
37
44
|
*
|
|
@@ -55,8 +62,19 @@ declare class WrBarChart {
|
|
|
55
62
|
*/
|
|
56
63
|
name: string;
|
|
57
64
|
}[]>;
|
|
65
|
+
/**
|
|
66
|
+
* One tooltip for the whole chart, with the value exactly as it is printed above
|
|
67
|
+
* the bar. It points at the top edge of the BAR — above it, below it when there is
|
|
68
|
+
* no room — rather than at the column, which is the full height of the plot and
|
|
69
|
+
* would put the chip above every bar alike. A bar with nothing to draw (zero, a
|
|
70
|
+
* negative value) keeps its 1px floor on the baseline, so its chip points there.
|
|
71
|
+
*
|
|
72
|
+
* The bar is the anchor element itself, so an open chip follows it through the
|
|
73
|
+
* height transition a data change starts.
|
|
74
|
+
*/
|
|
75
|
+
protected readonly tip: ngwr_popover.WrChartTooltip;
|
|
58
76
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WrBarChart, never>;
|
|
59
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WrBarChart, "wr-bar-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
77
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WrBarChart, "wr-bar-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
60
78
|
}
|
|
61
79
|
|
|
62
80
|
export { WrBarChart };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as ngwr_popover from 'ngwr/popover';
|
|
1
2
|
import * as _angular_core from '@angular/core';
|
|
2
3
|
|
|
3
4
|
interface WrHeatmapDatum {
|
|
@@ -70,6 +71,13 @@ declare class WrCalendarHeatmap {
|
|
|
70
71
|
readonly emptyColor: _angular_core.InputSignal<string>;
|
|
71
72
|
/** Show the weekday + month labels around the grid. @default true */
|
|
72
73
|
readonly showLabels: _angular_core.InputSignalWithTransform<boolean, any>;
|
|
74
|
+
/**
|
|
75
|
+
* Show a tooltip with the day and its count on hover. It is the sentence the
|
|
76
|
+
* square's `title` carried, so the `title` is written only while this is off —
|
|
77
|
+
* or the browser would open a second copy a moment later. @default true
|
|
78
|
+
*/
|
|
79
|
+
readonly tooltip: _angular_core.InputSignalWithTransform<boolean, any>;
|
|
80
|
+
private readonly daysEl;
|
|
73
81
|
private readonly locale;
|
|
74
82
|
/**
|
|
75
83
|
* Weekday names from the locale rather than a hard-coded English list — the row order is
|
|
@@ -84,10 +92,30 @@ declare class WrCalendarHeatmap {
|
|
|
84
92
|
week: number;
|
|
85
93
|
}[]>;
|
|
86
94
|
protected readonly columnCount: _angular_core.Signal<number>;
|
|
95
|
+
/** Each day's position in `cells()`, for the square the pointer lands on. */
|
|
96
|
+
private readonly indexByIso;
|
|
97
|
+
/**
|
|
98
|
+
* One tooltip for the whole year, pointing at the hovered day: above its square,
|
|
99
|
+
* below it when there is no room above, and slid along the viewport edge for the
|
|
100
|
+
* first and last weeks with the arrow still on the square. A listener on the grid
|
|
101
|
+
* rather than one per square: a year is 371 of them.
|
|
102
|
+
*
|
|
103
|
+
* The box is the square's LAYOUT box rather than its client rect. The hovered square
|
|
104
|
+
* grows by `:hover` over a transition, and a rect read part way through it would
|
|
105
|
+
* move the chip by up to a fifth of a square depending on when it was measured;
|
|
106
|
+
* the scale is centred, so the layout box is the rect's centre and the square's
|
|
107
|
+
* own size.
|
|
108
|
+
*/
|
|
109
|
+
protected readonly tip: ngwr_popover.WrChartTooltip;
|
|
110
|
+
/**
|
|
111
|
+
* Which square the pointer is on, from a `mousemove` on the grid. Over the gap
|
|
112
|
+
* between two squares it is on none, and the tooltip starts to leave.
|
|
113
|
+
*/
|
|
114
|
+
protected onCellsPointer(event: MouseEvent): void;
|
|
87
115
|
protected colorFor(intensity: number): string;
|
|
88
116
|
protected opacityFor(intensity: number): number;
|
|
89
117
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WrCalendarHeatmap, never>;
|
|
90
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WrCalendarHeatmap, "wr-calendar-heatmap", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "endDate": { "alias": "endDate"; "required": false; "isSignal": true; }; "weeks": { "alias": "weeks"; "required": false; "isSignal": true; }; "cellSize": { "alias": "cellSize"; "required": false; "isSignal": true; }; "cellGap": { "alias": "cellGap"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "emptyColor": { "alias": "emptyColor"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
118
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WrCalendarHeatmap, "wr-calendar-heatmap", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "endDate": { "alias": "endDate"; "required": false; "isSignal": true; }; "weeks": { "alias": "weeks"; "required": false; "isSignal": true; }; "cellSize": { "alias": "cellSize"; "required": false; "isSignal": true; }; "cellGap": { "alias": "cellGap"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "emptyColor": { "alias": "emptyColor"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
91
119
|
}
|
|
92
120
|
|
|
93
121
|
export { WrCalendarHeatmap };
|
package/types/ngwr-checkbox.d.ts
CHANGED
|
@@ -111,6 +111,8 @@ declare class WrCheckbox implements FormCheckboxControl {
|
|
|
111
111
|
* only and controlled: set it yourself for a parent "select all" whose
|
|
112
112
|
* children are partly checked, and clear it on the next toggle. Takes visual
|
|
113
113
|
* precedence over `checked`; the native input reports `aria-checked="mixed"`.
|
|
114
|
+
* A click the host does not answer still toggles `checked` underneath, and the
|
|
115
|
+
* dash and the mixed state both stay until the binding turns `false`.
|
|
114
116
|
*
|
|
115
117
|
* @default false
|
|
116
118
|
*/
|