ngwr 16.5.0 → 16.6.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/back-top/styles/_index.scss +6 -0
- package/breadcrumbs/styles/_rules.scss +34 -0
- package/cascader/styles/_rules.scss +7 -0
- package/charts/chart-legend/styles/_index.scss +1 -9
- package/counter/styles/_index.scss +1 -8
- package/date-picker/styles/_index.scss +15 -9
- package/dialog/styles/_index.scss +37 -0
- package/editor/styles/_index.scss +1 -8
- package/event-calendar/styles/_index.scss +2 -6
- package/fesm2022/ngwr-affix.mjs +1 -1
- package/fesm2022/ngwr-affix.mjs.map +1 -1
- package/fesm2022/ngwr-anchor.mjs +9 -2
- package/fesm2022/ngwr-anchor.mjs.map +1 -1
- package/fesm2022/ngwr-animations-aurora.mjs.map +1 -1
- package/fesm2022/ngwr-animations-blur-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-click-sparks.mjs.map +1 -1
- package/fesm2022/ngwr-animations-confetti.mjs.map +1 -1
- package/fesm2022/ngwr-animations-decode.mjs.map +1 -1
- package/fesm2022/ngwr-animations-destruct.mjs.map +1 -1
- package/fesm2022/ngwr-animations-dot-grid.mjs.map +1 -1
- package/fesm2022/ngwr-animations-falling-letters.mjs.map +1 -1
- package/fesm2022/ngwr-animations-flow-lines.mjs.map +1 -1
- package/fesm2022/ngwr-animations-fluid-cursor.mjs.map +1 -1
- package/fesm2022/ngwr-animations-glitch.mjs.map +1 -1
- package/fesm2022/ngwr-animations-glow-border.mjs.map +1 -1
- package/fesm2022/ngwr-animations-gradient-flow.mjs.map +1 -1
- package/fesm2022/ngwr-animations-marquee.mjs.map +1 -1
- package/fesm2022/ngwr-animations-orbit.mjs.map +1 -1
- package/fesm2022/ngwr-animations-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-ripple-grid.mjs.map +1 -1
- package/fesm2022/ngwr-animations-rotate-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-shimmer.mjs.map +1 -1
- package/fesm2022/ngwr-animations-spotlight.mjs.map +1 -1
- package/fesm2022/ngwr-animations-thread-lines.mjs.map +1 -1
- package/fesm2022/ngwr-animations-tilt.mjs +20 -13
- package/fesm2022/ngwr-animations-tilt.mjs.map +1 -1
- package/fesm2022/ngwr-animations-typewriter.mjs.map +1 -1
- package/fesm2022/ngwr-breadcrumbs.mjs +40 -7
- package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngwr-button.mjs +12 -3
- package/fesm2022/ngwr-button.mjs.map +1 -1
- package/fesm2022/ngwr-carousel.mjs +8 -2
- package/fesm2022/ngwr-carousel.mjs.map +1 -1
- package/fesm2022/ngwr-cascader.mjs +24 -4
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-charts-core.mjs +12 -5
- package/fesm2022/ngwr-charts-core.mjs.map +1 -1
- package/fesm2022/ngwr-charts-meter-group.mjs +4 -2
- package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
- package/fesm2022/ngwr-checkbox.mjs +3 -2
- package/fesm2022/ngwr-checkbox.mjs.map +1 -1
- package/fesm2022/ngwr-color-picker.mjs +21 -1
- package/fesm2022/ngwr-color-picker.mjs.map +1 -1
- package/fesm2022/ngwr-context-menu.mjs +4 -5
- package/fesm2022/ngwr-context-menu.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker.mjs +49 -1
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-dialog.mjs +16 -6
- package/fesm2022/ngwr-dialog.mjs.map +1 -1
- package/fesm2022/ngwr-directives.mjs +9 -6
- package/fesm2022/ngwr-directives.mjs.map +1 -1
- package/fesm2022/ngwr-event-calendar.mjs +20 -9
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +170 -3
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ar.mjs +15 -0
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +15 -0
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +15 -0
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +15 -0
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +15 -0
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +15 -0
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +15 -0
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +15 -0
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +15 -0
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +15 -0
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +15 -0
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +15 -0
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +15 -0
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +15 -0
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +15 -0
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +15 -0
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +15 -0
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +15 -0
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +15 -0
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +15 -0
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +15 -0
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +15 -0
- package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
- package/fesm2022/ngwr-i18n.mjs +82 -11
- package/fesm2022/ngwr-i18n.mjs.map +1 -1
- package/fesm2022/ngwr-input-number.mjs +24 -1
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp.mjs +2 -2
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input.mjs +10 -2
- package/fesm2022/ngwr-input.mjs.map +1 -1
- package/fesm2022/ngwr-layout.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +1 -1
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-loading-bar-router.mjs.map +1 -1
- package/fesm2022/ngwr-loading-bar.mjs +2 -2
- package/fesm2022/ngwr-loading-bar.mjs.map +1 -1
- package/fesm2022/ngwr-mention.mjs +8 -0
- package/fesm2022/ngwr-mention.mjs.map +1 -1
- package/fesm2022/ngwr-meta.mjs +9 -6
- package/fesm2022/ngwr-meta.mjs.map +1 -1
- package/fesm2022/ngwr-page-header.mjs +21 -0
- package/fesm2022/ngwr-page-header.mjs.map +1 -1
- package/fesm2022/ngwr-pagination.mjs +2 -0
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +8 -1
- package/fesm2022/ngwr-pipes.mjs.map +1 -1
- package/fesm2022/ngwr-popconfirm.mjs +2 -1
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover.mjs +47 -3
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-qr.mjs +6 -2
- package/fesm2022/ngwr-qr.mjs.map +1 -1
- package/fesm2022/ngwr-radio.mjs +71 -5
- package/fesm2022/ngwr-radio.mjs.map +1 -1
- package/fesm2022/ngwr-schema-form.mjs +10 -1
- package/fesm2022/ngwr-schema-form.mjs.map +1 -1
- package/fesm2022/ngwr-scroll.mjs +1 -3
- package/fesm2022/ngwr-scroll.mjs.map +1 -1
- package/fesm2022/ngwr-segmented.mjs +20 -0
- package/fesm2022/ngwr-segmented.mjs.map +1 -1
- package/fesm2022/ngwr-select.mjs +80 -9
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-sortable-list.mjs +16 -4
- package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
- package/fesm2022/ngwr-storage.mjs +1 -1
- package/fesm2022/ngwr-storage.mjs.map +1 -1
- package/fesm2022/ngwr-switch.mjs +2 -2
- package/fesm2022/ngwr-switch.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +41 -7
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-router.mjs.map +1 -1
- package/fesm2022/ngwr-textarea.mjs +2 -2
- package/fesm2022/ngwr-textarea.mjs.map +1 -1
- package/fesm2022/ngwr-toast.mjs +28 -0
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-tour.mjs +2 -2
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- package/fesm2022/ngwr-typography.mjs +20 -0
- package/fesm2022/ngwr-typography.mjs.map +1 -1
- package/fesm2022/ngwr-utils-router.mjs.map +1 -1
- package/fesm2022/ngwr-utils.mjs +46 -4
- package/fesm2022/ngwr-utils.mjs.map +1 -1
- package/fesm2022/ngwr-validators.mjs +33 -1
- package/fesm2022/ngwr-validators.mjs.map +1 -1
- package/fesm2022/ngwr-version.mjs +1 -1
- package/fesm2022/ngwr-version.mjs.map +1 -1
- package/form/styles/_index.scss +37 -0
- package/graph/styles/_index.scss +1 -9
- package/i18n/ar.json +15 -0
- package/i18n/cs.json +15 -0
- package/i18n/de.json +15 -0
- package/i18n/en.json +15 -0
- package/i18n/es.json +15 -0
- package/i18n/fr.json +15 -0
- package/i18n/he.json +15 -0
- package/i18n/hi.json +15 -0
- package/i18n/id.json +15 -0
- package/i18n/it.json +15 -0
- package/i18n/ja.json +15 -0
- package/i18n/ko.json +15 -0
- package/i18n/nl.json +15 -0
- package/i18n/pl.json +15 -0
- package/i18n/pt.json +15 -0
- package/i18n/ru.json +15 -0
- package/i18n/sv.json +15 -0
- package/i18n/tr.json +15 -0
- package/i18n/uk.json +15 -0
- package/i18n/vi.json +15 -0
- package/i18n/zh-TW.json +15 -0
- package/i18n/zh.json +15 -0
- package/image-cropper/styles/_index.scss +1 -9
- package/input-number/styles/_index.scss +7 -0
- package/layout/styles/_index.scss +13 -1
- package/llms-full.txt +10 -10
- package/loading-bar/styles/_rules.scss +6 -0
- package/package.json +2 -2
- package/page-header/styles/_index.scss +18 -0
- package/popover/styles/_index.scss +7 -0
- package/schematics/use/symbol-map.json +2 -0
- package/segmented/styles/_index.scss +7 -0
- package/select/styles/_index.scss +7 -0
- package/sidebar/styles/_index.scss +6 -0
- package/skills/ngwr/references/catalog.md +1 -1
- package/sortable-list/styles/_rules.scss +1 -9
- package/speed-dial/styles/_index.scss +6 -0
- package/stepper/styles/_index.scss +1 -9
- package/table/styles/_index.scss +49 -0
- package/theme/_index.scss +12 -1
- package/theme/styles/_colors.scss +11 -0
- package/theme/styles/_contrast.scss +6 -0
- package/theme/styles/_index.scss +1 -0
- package/theme/styles/_mixins.scss +45 -0
- package/theme/styles/_print.scss +17 -0
- package/toast/styles/_index.scss +7 -0
- package/tour/styles/_index.scss +8 -0
- package/tree/styles/_index.scss +1 -9
- package/types/ngwr-anchor.d.ts +3 -0
- package/types/ngwr-animations-aurora.d.ts +6 -0
- package/types/ngwr-animations-blur-reveal.d.ts +6 -0
- package/types/ngwr-animations-click-sparks.d.ts +6 -0
- package/types/ngwr-animations-confetti.d.ts +6 -0
- package/types/ngwr-animations-decode.d.ts +6 -0
- package/types/ngwr-animations-destruct.d.ts +6 -0
- package/types/ngwr-animations-dot-grid.d.ts +6 -0
- package/types/ngwr-animations-falling-letters.d.ts +6 -0
- package/types/ngwr-animations-flow-lines.d.ts +6 -0
- package/types/ngwr-animations-fluid-cursor.d.ts +6 -0
- package/types/ngwr-animations-glitch.d.ts +6 -0
- package/types/ngwr-animations-glow-border.d.ts +6 -0
- package/types/ngwr-animations-gradient-flow.d.ts +6 -0
- package/types/ngwr-animations-marquee.d.ts +6 -0
- package/types/ngwr-animations-orbit.d.ts +6 -0
- package/types/ngwr-animations-reveal.d.ts +6 -0
- package/types/ngwr-animations-ripple-grid.d.ts +6 -0
- package/types/ngwr-animations-rotate-reveal.d.ts +6 -0
- package/types/ngwr-animations-shimmer.d.ts +6 -0
- package/types/ngwr-animations-spotlight.d.ts +6 -0
- package/types/ngwr-animations-thread-lines.d.ts +6 -0
- package/types/ngwr-animations-tilt.d.ts +10 -0
- package/types/ngwr-animations-typewriter.d.ts +6 -0
- package/types/ngwr-breadcrumbs.d.ts +25 -0
- package/types/ngwr-button.d.ts +23 -3
- package/types/ngwr-carousel.d.ts +2 -0
- package/types/ngwr-cascader.d.ts +7 -0
- package/types/ngwr-charts-core.d.ts +16 -0
- package/types/ngwr-charts-meter-group.d.ts +2 -0
- package/types/ngwr-checkbox.d.ts +1 -0
- package/types/ngwr-color-picker.d.ts +1 -0
- package/types/ngwr-context-menu.d.ts +1 -1
- package/types/ngwr-date-picker.d.ts +19 -0
- package/types/ngwr-dialog.d.ts +39 -8
- package/types/ngwr-directives.d.ts +12 -4
- package/types/ngwr-drawer.d.ts +1 -1
- package/types/ngwr-dropdown.d.ts +1 -1
- package/types/ngwr-event-calendar.d.ts +4 -0
- package/types/ngwr-form.d.ts +85 -1
- package/types/ngwr-i18n.d.ts +65 -5
- package/types/ngwr-input-number.d.ts +8 -0
- package/types/ngwr-input.d.ts +7 -0
- package/types/ngwr-layout.d.ts +1 -1
- package/types/ngwr-loading-bar-router.d.ts +6 -0
- package/types/ngwr-page-header.d.ts +23 -1
- package/types/ngwr-popconfirm.d.ts +1 -1
- package/types/ngwr-popover.d.ts +28 -4
- package/types/ngwr-radio.d.ts +47 -5
- package/types/ngwr-segmented.d.ts +7 -0
- package/types/ngwr-select.d.ts +57 -13
- package/types/ngwr-sortable-list.d.ts +20 -7
- package/types/ngwr-table.d.ts +58 -5
- package/types/ngwr-tabs-router.d.ts +6 -0
- package/types/ngwr-toast.d.ts +11 -0
- package/types/ngwr-tour.d.ts +0 -1
- package/types/ngwr-typography.d.ts +7 -0
- package/types/ngwr-utils-router.d.ts +6 -0
- package/types/ngwr-utils.d.ts +56 -2
- package/types/ngwr-validators.d.ts +49 -1
- package/types/ngwr-version.d.ts +1 -1
- package/typography/styles/_index.scss +4 -0
- package/window/styles/_index.scss +1 -9
package/toast/styles/_index.scss
CHANGED
package/tour/styles/_index.scss
CHANGED
|
@@ -104,3 +104,11 @@
|
|
|
104
104
|
// The popup rides above the cut-out.
|
|
105
105
|
// No `z-index` on the pane — the comment above `.wr-tour-cutout` already said
|
|
106
106
|
// one here "cannot help", and it was carrying 1001 anyway.
|
|
107
|
+
|
|
108
|
+
// The cut-out's spread shadow would dim the whole sheet.
|
|
109
|
+
@media print {
|
|
110
|
+
.wr-tour__spotlight,
|
|
111
|
+
.wr-tour-overlay {
|
|
112
|
+
display: none;
|
|
113
|
+
}
|
|
114
|
+
}
|
package/tree/styles/_index.scss
CHANGED
|
@@ -241,15 +241,7 @@
|
|
|
241
241
|
|
|
242
242
|
// The keyboard move's description and live region.
|
|
243
243
|
&__sr-only {
|
|
244
|
-
|
|
245
|
-
width: 1px;
|
|
246
|
-
height: 1px;
|
|
247
|
-
padding: 0;
|
|
248
|
-
margin: -1px;
|
|
249
|
-
overflow: hidden;
|
|
250
|
-
clip: rect(0, 0, 0, 0);
|
|
251
|
-
white-space: nowrap;
|
|
252
|
-
border: 0;
|
|
244
|
+
@include theme.visually-hidden;
|
|
253
245
|
}
|
|
254
246
|
|
|
255
247
|
// Virtualized list: the container owns scrolling + keyboard focus.
|
package/types/ngwr-anchor.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ export declare class WrAnchor {
|
|
|
59
59
|
protected readonly flatIds: import("@angular/core").Signal<readonly string[]>;
|
|
60
60
|
private readonly scroll;
|
|
61
61
|
private readonly platform;
|
|
62
|
+
private readonly doc;
|
|
62
63
|
private readonly zone;
|
|
63
64
|
private readonly destroyRef;
|
|
64
65
|
/**
|
|
@@ -73,6 +74,8 @@ export declare class WrAnchor {
|
|
|
73
74
|
private pinned;
|
|
74
75
|
private lastY;
|
|
75
76
|
constructor();
|
|
77
|
+
/** Carries the current path, so a `<base href>` cannot send copy link or a new tab to the site root. */
|
|
78
|
+
protected hrefFor(id: string): string;
|
|
76
79
|
protected onClick(id: string, event: MouseEvent): void;
|
|
77
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrAnchor, never>;
|
|
78
81
|
static ɵcmp: i0.ɵɵComponentDeclaration<WrAnchor, "wr-anchor", never, {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import { t as WrStaggerBy } from "./index-CXbgza47.js";
|
|
2
8
|
import * as i0 from "@angular/core";
|
|
3
9
|
/** What one animated piece of the text is: a word, or a grapheme. */
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
/**
|
|
3
9
|
* A ring of short spark strokes bursts out from the point a button or link is
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
/**
|
|
3
9
|
* Text that wobbles with a fine, living noise, as if seen through heat haze
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
/**
|
|
3
9
|
* An even field of small, faint dots behind a section's content. Near the
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
/**
|
|
3
9
|
* Click a line of text and its letters let go: each one drops with gravity,
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
/**
|
|
3
9
|
* A short piece of text that looks like a broken signal while the pointer is
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
/**
|
|
3
9
|
* A short arc of brand light that runs round the host's edge for ever, with a
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
/**
|
|
3
9
|
* A short piece of text, a brand name or one word, filled with a gradient of
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
import { TemplateRef } from "@angular/core";
|
|
3
9
|
/**
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
/**
|
|
3
9
|
* A short label set around a circle, like a seal, turning slowly, with a slot
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import { t as WrStaggerBy } from "./index-CXbgza47.js";
|
|
2
8
|
import * as i0 from "@angular/core";
|
|
3
9
|
/** What one animated piece of the text is: a word, or a grapheme. */
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
/**
|
|
3
9
|
* A faint square grid of thin lines behind a page's content. A click or a tap
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
/** One letter of the word leaving or the word arriving, and its place in the stagger. */
|
|
3
9
|
interface RotateRevealLetter {
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
/**
|
|
3
9
|
* A soft band of light that crosses the glyphs of a short label, waits, and
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import { t as WrPointerFollower } from "./pointer-tracker-D7fXxLQL.js";
|
|
2
8
|
import * as i0 from "@angular/core";
|
|
3
9
|
/**
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
/**
|
|
3
9
|
* A wide ribbon of fine threads behind a section's content, like silk: dozens
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import { t as WrPointerFollower } from "./pointer-tracker-D7fXxLQL.js";
|
|
2
8
|
import * as i0 from "@angular/core";
|
|
3
9
|
/**
|
|
@@ -31,6 +37,8 @@ import * as i0 from "@angular/core";
|
|
|
31
37
|
export declare class WrTilt implements WrPointerFollower {
|
|
32
38
|
private readonly host;
|
|
33
39
|
private readonly doc;
|
|
40
|
+
private readonly platform;
|
|
41
|
+
private readonly mounted;
|
|
34
42
|
private tracker;
|
|
35
43
|
/** The rendered angles, in degrees. */
|
|
36
44
|
private x;
|
|
@@ -38,6 +46,8 @@ export declare class WrTilt implements WrPointerFollower {
|
|
|
38
46
|
/** The last frame's timestamp; `0` while the loop is idle, so the first frame after a pause steps as a normal one. */
|
|
39
47
|
private last;
|
|
40
48
|
constructor();
|
|
49
|
+
private begin;
|
|
50
|
+
private end;
|
|
41
51
|
enter(): void;
|
|
42
52
|
frame(time: number): void;
|
|
43
53
|
/** The pointer left: ease back to flat over the next frames. */
|
|
@@ -16,6 +16,9 @@ import { Params } from "@angular/router";
|
|
|
16
16
|
*
|
|
17
17
|
* <!-- Custom separator -->
|
|
18
18
|
* <wr-breadcrumbs separator="›">…</wr-breadcrumbs>
|
|
19
|
+
*
|
|
20
|
+
* <!-- Long names end in an ellipsis instead of wrapping -->
|
|
21
|
+
* <wr-breadcrumbs truncate>…</wr-breadcrumbs>
|
|
19
22
|
* ```
|
|
20
23
|
*
|
|
21
24
|
* @see https://ngwr.dev/reference/components/breadcrumbs
|
|
@@ -28,6 +31,15 @@ export declare class WrBreadcrumbs {
|
|
|
28
31
|
* then `'Breadcrumbs'`.
|
|
29
32
|
*/
|
|
30
33
|
readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
|
|
34
|
+
/**
|
|
35
|
+
* Keep every item on one line and end a long one in an ellipsis. A linked item
|
|
36
|
+
* is cut at `--wr-breadcrumbs-item-max-width` (16rem). The current item is cut
|
|
37
|
+
* at `--wr-breadcrumbs-current-max-width`, `none` by default, so it is cut only
|
|
38
|
+
* where it is wider than the trail. A cut item shows its full text as a `title`
|
|
39
|
+
* on hover.
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
readonly truncate: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
31
43
|
protected readonly resolvedAriaLabel: import("@angular/core").Signal<string>;
|
|
32
44
|
protected readonly separatorValue: import("@angular/core").Signal<string>;
|
|
33
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrBreadcrumbs, never>;
|
|
@@ -42,6 +54,11 @@ export declare class WrBreadcrumbs {
|
|
|
42
54
|
"required": false;
|
|
43
55
|
"isSignal": true;
|
|
44
56
|
};
|
|
57
|
+
"truncate": {
|
|
58
|
+
"alias": "truncate";
|
|
59
|
+
"required": false;
|
|
60
|
+
"isSignal": true;
|
|
61
|
+
};
|
|
45
62
|
}, {}, never, ["*"], true, never>;
|
|
46
63
|
}
|
|
47
64
|
/**
|
|
@@ -53,6 +70,11 @@ export declare class WrBreadcrumbs {
|
|
|
53
70
|
* `<a class="wr-breadcrumbs__current" role="text" tabindex="-1"
|
|
54
71
|
* aria-current="page">` (when neither is set — typically the last crumb).
|
|
55
72
|
*
|
|
73
|
+
* The text sits in a `<span class="wr-breadcrumbs__label">`, which has no box of
|
|
74
|
+
* its own until the trail is `truncate`. A label that is cut then takes its full
|
|
75
|
+
* text as a `title` while the pointer is over the crumb. The accessible name is
|
|
76
|
+
* the text itself, cut or not.
|
|
77
|
+
*
|
|
56
78
|
* @example
|
|
57
79
|
* ```html
|
|
58
80
|
* <wr-breadcrumbs-item icon="home" routerLink="/">Home</wr-breadcrumbs-item>
|
|
@@ -81,6 +103,9 @@ export declare class WrBreadcrumbsItem {
|
|
|
81
103
|
readonly icon: import("@angular/core").InputSignal<string | null>;
|
|
82
104
|
protected readonly isLink: import("@angular/core").Signal<boolean>;
|
|
83
105
|
protected readonly isRouter: import("@angular/core").Signal<boolean>;
|
|
106
|
+
private readonly host;
|
|
107
|
+
protected readonly cutTitle: import("@angular/core").WritableSignal<string | null>;
|
|
108
|
+
protected markCut(): void;
|
|
84
109
|
protected readonly rootClass: import("@angular/core").Signal<"wr-breadcrumbs__link" | "wr-breadcrumbs__current">;
|
|
85
110
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrBreadcrumbsItem, never>;
|
|
86
111
|
static ɵcmp: i0.ɵɵComponentDeclaration<WrBreadcrumbsItem, "wr-breadcrumbs-item", never, {
|
package/types/ngwr-button.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { Signal } from "@angular/core";
|
|
2
|
+
import { InjectionToken, Signal } from "@angular/core";
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
5
|
*
|
|
@@ -80,8 +80,14 @@ export declare class WrButton {
|
|
|
80
80
|
* @default null
|
|
81
81
|
*/
|
|
82
82
|
readonly color: import("@angular/core").InputSignal<"success" | "info" | "warning" | "danger" | "primary" | null>;
|
|
83
|
-
/**
|
|
84
|
-
|
|
83
|
+
/**
|
|
84
|
+
* Size variant. `null` (default) takes the size a container provides through
|
|
85
|
+
* `WR_BUTTON_SIZE`, such as a sized dialog, and `md` outside one. A size set
|
|
86
|
+
* here always wins.
|
|
87
|
+
*
|
|
88
|
+
* @default null
|
|
89
|
+
*/
|
|
90
|
+
readonly size: import("@angular/core").InputSignal<WrButtonSize | null>;
|
|
85
91
|
/**
|
|
86
92
|
* Corner treatment — `rounded`, `pill` or `squircle`. `null` (default) falls
|
|
87
93
|
* back to `rounded`. Inside a `<wr-btn-group shape="…">`, the group's shape
|
|
@@ -123,6 +129,8 @@ export declare class WrButton {
|
|
|
123
129
|
* `rounded`.
|
|
124
130
|
*/
|
|
125
131
|
protected readonly resolvedShape: import("@angular/core").Signal<WrButtonShape>;
|
|
132
|
+
private readonly containerSize;
|
|
133
|
+
protected readonly resolvedSize: import("@angular/core").Signal<WrButtonSize>;
|
|
126
134
|
private readonly hostEl;
|
|
127
135
|
/**
|
|
128
136
|
* Whether this instance is the `<wr-btn>` ELEMENT rather than the attribute
|
|
@@ -308,4 +316,16 @@ export declare class WrButtonGroup implements WrButtonGroupContext {
|
|
|
308
316
|
};
|
|
309
317
|
}, {}, never, ["*"], true, never>;
|
|
310
318
|
}
|
|
319
|
+
/**
|
|
320
|
+
* The size a `<wr-btn>` takes when it sets none of its own. A container
|
|
321
|
+
* provides it for the buttons in its content, as `WrDialog` does for a sized
|
|
322
|
+
* dialog. The value is a function, so a signal fits as it is; `null` or
|
|
323
|
+
* `undefined` leaves the button at `md`.
|
|
324
|
+
*
|
|
325
|
+
* @example
|
|
326
|
+
* ```ts
|
|
327
|
+
* providers: [{ provide: WR_BUTTON_SIZE, useValue: () => 'sm' }]
|
|
328
|
+
* ```
|
|
329
|
+
*/
|
|
330
|
+
export declare const WR_BUTTON_SIZE: InjectionToken<() => WrButtonSize | null | undefined>;
|
|
311
331
|
export type { WrButtonIconPosition, WrButtonShape, WrButtonSize };
|
package/types/ngwr-carousel.d.ts
CHANGED
|
@@ -214,6 +214,8 @@ export declare class WrCarousel implements WrCarouselContext {
|
|
|
214
214
|
private swipeAxis;
|
|
215
215
|
protected onSwipeStart(event: TouchEvent): void;
|
|
216
216
|
protected onSwipeMove(event: TouchEvent): void;
|
|
217
|
+
/** The browser took the touch over (a scroll, a system gesture): drop the drag, never navigate. */
|
|
218
|
+
protected onSwipeCancel(): void;
|
|
217
219
|
protected onSwipeEnd(event: TouchEvent, viewport: HTMLElement): void;
|
|
218
220
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrCarousel, never>;
|
|
219
221
|
static ɵcmp: i0.ɵɵComponentDeclaration<WrCarousel, "wr-carousel", never, {
|
package/types/ngwr-cascader.d.ts
CHANGED
|
@@ -104,6 +104,8 @@ export declare class WrCascader<T = string> implements FormValueControl<unknown>
|
|
|
104
104
|
protected readonly nameLabel: import("@angular/core").Signal<string | null>;
|
|
105
105
|
/** Control size — shares the `--wr-control-*` contract. @default 'md' */
|
|
106
106
|
readonly size: import("@angular/core").InputSignal<WrCascaderSize>;
|
|
107
|
+
/** Stretch the cascader to fill its parent's width. @default false */
|
|
108
|
+
readonly block: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
107
109
|
/** Pill-shaped corners on the trigger. @default false */
|
|
108
110
|
readonly rounded: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
109
111
|
/** Show a clear-all (×) button on the trigger when a path is selected. @default true */
|
|
@@ -336,6 +338,11 @@ export declare class WrCascader<T = string> implements FormValueControl<unknown>
|
|
|
336
338
|
"required": false;
|
|
337
339
|
"isSignal": true;
|
|
338
340
|
};
|
|
341
|
+
"block": {
|
|
342
|
+
"alias": "block";
|
|
343
|
+
"required": false;
|
|
344
|
+
"isSignal": true;
|
|
345
|
+
};
|
|
339
346
|
"rounded": {
|
|
340
347
|
"alias": "rounded";
|
|
341
348
|
"required": false;
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* The helpers ngwr's charts share: the series palette, dashes and marker shapes,
|
|
9
|
+
* the number writers, the nice-number axis, rounding, label thinning, one hover and
|
|
10
|
+
* one resize listener, the empty / loading / error state, and the data table a chart
|
|
11
|
+
* renders beside its drawing. The chart theme itself, `--wr-chart-*`, is this entry
|
|
12
|
+
* point's stylesheet. Every export is `@internal` - an entry point of its own so
|
|
13
|
+
* that the charts and the legend can all import it without one chart importing
|
|
14
|
+
* another, and not a public API: nothing here carries a stability promise, and an
|
|
15
|
+
* app imports a chart instead.
|
|
16
|
+
*/
|
|
1
17
|
import * as i0 from "@angular/core";
|
|
2
18
|
import { ElementRef, Signal } from "@angular/core";
|
|
3
19
|
/**
|
|
@@ -170,6 +170,8 @@ export declare class WrMeterGroup {
|
|
|
170
170
|
* boundary and would leave a double one.
|
|
171
171
|
*/
|
|
172
172
|
protected readonly bands: import("@angular/core").Signal<{
|
|
173
|
+
/** Where its visible part starts, as a share of the bar: the end of the band before it. */
|
|
174
|
+
start: number;
|
|
173
175
|
/** Its share of the bar, 0 to 1. */
|
|
174
176
|
size: number;
|
|
175
177
|
/**
|
package/types/ngwr-checkbox.d.ts
CHANGED
|
@@ -140,6 +140,7 @@ export declare class WrCheckbox implements FormCheckboxControl {
|
|
|
140
140
|
private readonly fieldAria;
|
|
141
141
|
protected readonly ariaInvalid: import("@angular/core").Signal<"true" | null>;
|
|
142
142
|
protected readonly describedBy: import("@angular/core").Signal<string | null>;
|
|
143
|
+
protected readonly ariaRequired: import("@angular/core").Signal<"true" | null>;
|
|
143
144
|
protected readonly classes: import("@angular/core").Signal<string>;
|
|
144
145
|
/**
|
|
145
146
|
* Focus the checkbox — what Signal Forms calls to focus this control. The
|
|
@@ -538,6 +538,7 @@ export declare class WrColorPickerTrigger {
|
|
|
538
538
|
readonly isOpen: import("@angular/core").Signal<boolean>;
|
|
539
539
|
private overlayRef;
|
|
540
540
|
private finder;
|
|
541
|
+
private picker;
|
|
541
542
|
/** @internal Public so the host binding can read it. */
|
|
542
543
|
protected readonly panelId: string;
|
|
543
544
|
constructor();
|
|
@@ -219,7 +219,7 @@ export declare class WrContextMenu {
|
|
|
219
219
|
* adds no `tabindex` and every shape the docs ship is a plain `<div>`, so
|
|
220
220
|
* `focus()` on it does nothing at all — the handback silently missed, leaving
|
|
221
221
|
* the caret in the disposing pane and then on `<body>`, which is the outcome
|
|
222
|
-
* the call is there to prevent.
|
|
222
|
+
* the call is there to prevent. `wrRestoreFocus` does it: lending it `tabindex="-1"` for the call and
|
|
223
223
|
* taking that back on blur keeps the consumer's DOM as they wrote it; a
|
|
224
224
|
* permanent `tabindex="0"` would make every right-clickable region a tab stop,
|
|
225
225
|
* which is their decision and not the library's.
|
|
@@ -236,6 +236,8 @@ export declare class WrDatePicker implements FormValueControl<Date | null> {
|
|
|
236
236
|
* `--wr-control-*` contract. The panel keeps its size. @default 'md'
|
|
237
237
|
*/
|
|
238
238
|
readonly size: import("@angular/core").InputSignal<WrDatePickerSize>;
|
|
239
|
+
/** Stretch the field to fill its parent's width. The panel keeps its size. @default false */
|
|
240
|
+
readonly block: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
239
241
|
/** Pill-shaped corners on the field. The panel keeps its shape. @default false */
|
|
240
242
|
readonly rounded: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
241
243
|
/**
|
|
@@ -624,6 +626,11 @@ export declare class WrDatePicker implements FormValueControl<Date | null> {
|
|
|
624
626
|
"required": false;
|
|
625
627
|
"isSignal": true;
|
|
626
628
|
};
|
|
629
|
+
"block": {
|
|
630
|
+
"alias": "block";
|
|
631
|
+
"required": false;
|
|
632
|
+
"isSignal": true;
|
|
633
|
+
};
|
|
627
634
|
"rounded": {
|
|
628
635
|
"alias": "rounded";
|
|
629
636
|
"required": false;
|
|
@@ -779,6 +786,8 @@ export declare class WrDateRangePicker implements FormValueControl<WrDateRange |
|
|
|
779
786
|
* `--wr-control-*` contract. The panel keeps its size. @default 'md'
|
|
780
787
|
*/
|
|
781
788
|
readonly size: import("@angular/core").InputSignal<WrDatePickerSize>;
|
|
789
|
+
/** Stretch the field to fill its parent's width. The panel keeps its size. @default false */
|
|
790
|
+
readonly block: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
782
791
|
/** Pill-shaped corners on the field. The panel keeps its shape. @default false */
|
|
783
792
|
readonly rounded: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
784
793
|
/**
|
|
@@ -976,6 +985,11 @@ export declare class WrDateRangePicker implements FormValueControl<WrDateRange |
|
|
|
976
985
|
*/
|
|
977
986
|
protected readonly startAriaInvalid: Signal<"true" | null>;
|
|
978
987
|
protected readonly endAriaInvalid: Signal<"true" | null>;
|
|
988
|
+
/**
|
|
989
|
+
* The end input is hidden from the field, so the picker carries the field's `required` to it.
|
|
990
|
+
* Written after render: a template binding loses to the `wrInput` host binding on the first pass.
|
|
991
|
+
*/
|
|
992
|
+
protected readonly endAriaRequired: Signal<"true" | null>;
|
|
979
993
|
protected readonly startDescribedBy: Signal<string | null>;
|
|
980
994
|
protected readonly endDescribedBy: Signal<string | null>;
|
|
981
995
|
protected readonly classes: Signal<string>;
|
|
@@ -1186,6 +1200,11 @@ export declare class WrDateRangePicker implements FormValueControl<WrDateRange |
|
|
|
1186
1200
|
"required": false;
|
|
1187
1201
|
"isSignal": true;
|
|
1188
1202
|
};
|
|
1203
|
+
"block": {
|
|
1204
|
+
"alias": "block";
|
|
1205
|
+
"required": false;
|
|
1206
|
+
"isSignal": true;
|
|
1207
|
+
};
|
|
1189
1208
|
"rounded": {
|
|
1190
1209
|
"alias": "rounded";
|
|
1191
1210
|
"required": false;
|