@tectra-ng/ui 0.3.2 → 0.4.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/data-view/README.md +9 -1
- package/dialog/README.md +3 -0
- package/fesm2022/tectra-ng-ui-accordion.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-amount.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-analog-clock.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-avatar.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-carousel.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-checkbox.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-chips-input.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-color-picker.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-confirm.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-countdown.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-country.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-data-view.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-datepicker.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-dialog.mjs +51 -0
- package/fesm2022/tectra-ng-ui-dialog.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-email-suggestion.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-export-font.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-export.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-file-upload.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-galleria.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-highlight-text.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-icon-field.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-image.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-input-mask.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-input-number.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-key-filter.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-list-input.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-mention-textarea.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-menu.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-month-calendar.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-paginator.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-panel-menu.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-password-generator.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-radio-button.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-sparkline.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-splitter.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-stat-tiles.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-stepper.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-table.mjs +2 -2
- package/fesm2022/tectra-ng-ui-table.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tabs.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-toast.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-toolbar.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tooltip.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tree-select.mjs +20 -3
- package/fesm2022/tectra-ng-ui-tree-select.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tree-table.mjs +2 -2
- package/fesm2022/tectra-ng-ui-tree-table.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-tree.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui-virtual-scroller.mjs.map +1 -1
- package/fesm2022/tectra-ng-ui.mjs +1 -1
- package/fesm2022/tectra-ng-ui.mjs.map +1 -1
- package/package.json +4 -4
- package/table/README.md +1 -0
- package/tree-select/README.md +1 -0
- package/types/tectra-ng-ui-accordion.d.ts +96 -65
- package/types/tectra-ng-ui-accordion.d.ts.map +1 -1
- package/types/tectra-ng-ui-amount.d.ts +40 -17
- package/types/tectra-ng-ui-amount.d.ts.map +1 -1
- package/types/tectra-ng-ui-analog-clock.d.ts +28 -41
- package/types/tectra-ng-ui-analog-clock.d.ts.map +1 -1
- package/types/tectra-ng-ui-autocomplete.d.ts +35 -96
- package/types/tectra-ng-ui-autocomplete.d.ts.map +1 -1
- package/types/tectra-ng-ui-avatar.d.ts +84 -259
- package/types/tectra-ng-ui-avatar.d.ts.map +1 -1
- package/types/tectra-ng-ui-badge.d.ts +18 -61
- package/types/tectra-ng-ui-badge.d.ts.map +1 -1
- package/types/tectra-ng-ui-breadcrumb.d.ts +53 -36
- package/types/tectra-ng-ui-breadcrumb.d.ts.map +1 -1
- package/types/tectra-ng-ui-button-group.d.ts +4 -0
- package/types/tectra-ng-ui-button-group.d.ts.map +1 -1
- package/types/tectra-ng-ui-button.d.ts +45 -266
- package/types/tectra-ng-ui-button.d.ts.map +1 -1
- package/types/tectra-ng-ui-card.d.ts +14 -16
- package/types/tectra-ng-ui-card.d.ts.map +1 -1
- package/types/tectra-ng-ui-carousel.d.ts +55 -27
- package/types/tectra-ng-ui-carousel.d.ts.map +1 -1
- package/types/tectra-ng-ui-cascade-select.d.ts +48 -8
- package/types/tectra-ng-ui-cascade-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-checkbox.d.ts +79 -119
- package/types/tectra-ng-ui-checkbox.d.ts.map +1 -1
- package/types/tectra-ng-ui-chip.d.ts +19 -22
- package/types/tectra-ng-ui-chip.d.ts.map +1 -1
- package/types/tectra-ng-ui-chips-input.d.ts +41 -11
- package/types/tectra-ng-ui-chips-input.d.ts.map +1 -1
- package/types/tectra-ng-ui-color-picker.d.ts +51 -47
- package/types/tectra-ng-ui-color-picker.d.ts.map +1 -1
- package/types/tectra-ng-ui-confirm.d.ts +45 -0
- package/types/tectra-ng-ui-confirm.d.ts.map +1 -1
- package/types/tectra-ng-ui-countdown.d.ts +42 -10
- package/types/tectra-ng-ui-countdown.d.ts.map +1 -1
- package/types/tectra-ng-ui-country-select.d.ts +41 -96
- package/types/tectra-ng-ui-country-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-country.d.ts +40 -17
- package/types/tectra-ng-ui-country.d.ts.map +1 -1
- package/types/tectra-ng-ui-data-view.d.ts +92 -34
- package/types/tectra-ng-ui-data-view.d.ts.map +1 -1
- package/types/tectra-ng-ui-datepicker.d.ts +186 -147
- package/types/tectra-ng-ui-datepicker.d.ts.map +1 -1
- package/types/tectra-ng-ui-dialog.d.ts +149 -67
- package/types/tectra-ng-ui-dialog.d.ts.map +1 -1
- package/types/tectra-ng-ui-divider.d.ts +17 -12
- package/types/tectra-ng-ui-divider.d.ts.map +1 -1
- package/types/tectra-ng-ui-drawer.d.ts +31 -67
- package/types/tectra-ng-ui-drawer.d.ts.map +1 -1
- package/types/tectra-ng-ui-email-suggestion.d.ts +25 -8
- package/types/tectra-ng-ui-email-suggestion.d.ts.map +1 -1
- package/types/tectra-ng-ui-export-font.d.ts +1 -0
- package/types/tectra-ng-ui-export-font.d.ts.map +1 -1
- package/types/tectra-ng-ui-export.d.ts +238 -0
- package/types/tectra-ng-ui-export.d.ts.map +1 -1
- package/types/tectra-ng-ui-field.d.ts +24 -11
- package/types/tectra-ng-ui-field.d.ts.map +1 -1
- package/types/tectra-ng-ui-fieldset.d.ts +14 -23
- package/types/tectra-ng-ui-fieldset.d.ts.map +1 -1
- package/types/tectra-ng-ui-file-upload.d.ts +127 -115
- package/types/tectra-ng-ui-file-upload.d.ts.map +1 -1
- package/types/tectra-ng-ui-galleria.d.ts +84 -84
- package/types/tectra-ng-ui-galleria.d.ts.map +1 -1
- package/types/tectra-ng-ui-highlight-text.d.ts +24 -10
- package/types/tectra-ng-ui-highlight-text.d.ts.map +1 -1
- package/types/tectra-ng-ui-icon-field.d.ts +20 -0
- package/types/tectra-ng-ui-icon-field.d.ts.map +1 -1
- package/types/tectra-ng-ui-image.d.ts +60 -36
- package/types/tectra-ng-ui-image.d.ts.map +1 -1
- package/types/tectra-ng-ui-input-group.d.ts +9 -0
- package/types/tectra-ng-ui-input-group.d.ts.map +1 -1
- package/types/tectra-ng-ui-input-mask.d.ts +39 -0
- package/types/tectra-ng-ui-input-mask.d.ts.map +1 -1
- package/types/tectra-ng-ui-input-number.d.ts +73 -15
- package/types/tectra-ng-ui-input-number.d.ts.map +1 -1
- package/types/tectra-ng-ui-input-otp.d.ts +28 -21
- package/types/tectra-ng-ui-input-otp.d.ts.map +1 -1
- package/types/tectra-ng-ui-input.d.ts +17 -50
- package/types/tectra-ng-ui-input.d.ts.map +1 -1
- package/types/tectra-ng-ui-key-filter.d.ts +14 -0
- package/types/tectra-ng-ui-key-filter.d.ts.map +1 -1
- package/types/tectra-ng-ui-knob.d.ts +38 -18
- package/types/tectra-ng-ui-knob.d.ts.map +1 -1
- package/types/tectra-ng-ui-label.d.ts +19 -0
- package/types/tectra-ng-ui-label.d.ts.map +1 -1
- package/types/tectra-ng-ui-link.d.ts +39 -34
- package/types/tectra-ng-ui-link.d.ts.map +1 -1
- package/types/tectra-ng-ui-list-input.d.ts +54 -45
- package/types/tectra-ng-ui-list-input.d.ts.map +1 -1
- package/types/tectra-ng-ui-listbox.d.ts +24 -14
- package/types/tectra-ng-ui-listbox.d.ts.map +1 -1
- package/types/tectra-ng-ui-mention-textarea.d.ts +36 -9
- package/types/tectra-ng-ui-mention-textarea.d.ts.map +1 -1
- package/types/tectra-ng-ui-menu.d.ts +92 -166
- package/types/tectra-ng-ui-menu.d.ts.map +1 -1
- package/types/tectra-ng-ui-menubar.d.ts +29 -58
- package/types/tectra-ng-ui-menubar.d.ts.map +1 -1
- package/types/tectra-ng-ui-message.d.ts +61 -126
- package/types/tectra-ng-ui-message.d.ts.map +1 -1
- package/types/tectra-ng-ui-month-calendar.d.ts +98 -87
- package/types/tectra-ng-ui-month-calendar.d.ts.map +1 -1
- package/types/tectra-ng-ui-multiselect.d.ts +26 -96
- package/types/tectra-ng-ui-multiselect.d.ts.map +1 -1
- package/types/tectra-ng-ui-overlay-badge.d.ts +20 -9
- package/types/tectra-ng-ui-overlay-badge.d.ts.map +1 -1
- package/types/tectra-ng-ui-paginator.d.ts +69 -47
- package/types/tectra-ng-ui-paginator.d.ts.map +1 -1
- package/types/tectra-ng-ui-panel-menu.d.ts +52 -105
- package/types/tectra-ng-ui-panel-menu.d.ts.map +1 -1
- package/types/tectra-ng-ui-panel.d.ts +22 -30
- package/types/tectra-ng-ui-panel.d.ts.map +1 -1
- package/types/tectra-ng-ui-password-generator.d.ts +27 -0
- package/types/tectra-ng-ui-password-generator.d.ts.map +1 -1
- package/types/tectra-ng-ui-password.d.ts +55 -26
- package/types/tectra-ng-ui-password.d.ts.map +1 -1
- package/types/tectra-ng-ui-pill.d.ts +23 -70
- package/types/tectra-ng-ui-pill.d.ts.map +1 -1
- package/types/tectra-ng-ui-popover.d.ts +58 -46
- package/types/tectra-ng-ui-popover.d.ts.map +1 -1
- package/types/tectra-ng-ui-progress-bar.d.ts +32 -28
- package/types/tectra-ng-ui-progress-bar.d.ts.map +1 -1
- package/types/tectra-ng-ui-progress-spinner.d.ts +18 -16
- package/types/tectra-ng-ui-progress-spinner.d.ts.map +1 -1
- package/types/tectra-ng-ui-radio-button.d.ts +64 -115
- package/types/tectra-ng-ui-radio-button.d.ts.map +1 -1
- package/types/tectra-ng-ui-rating.d.ts +40 -29
- package/types/tectra-ng-ui-rating.d.ts.map +1 -1
- package/types/tectra-ng-ui-scroll-panel.d.ts +22 -17
- package/types/tectra-ng-ui-scroll-panel.d.ts.map +1 -1
- package/types/tectra-ng-ui-select.d.ts +169 -100
- package/types/tectra-ng-ui-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-skeleton.d.ts +34 -37
- package/types/tectra-ng-ui-skeleton.d.ts.map +1 -1
- package/types/tectra-ng-ui-slider.d.ts +37 -33
- package/types/tectra-ng-ui-slider.d.ts.map +1 -1
- package/types/tectra-ng-ui-sparkline.d.ts +22 -15
- package/types/tectra-ng-ui-sparkline.d.ts.map +1 -1
- package/types/tectra-ng-ui-speed-dial.d.ts +34 -11
- package/types/tectra-ng-ui-speed-dial.d.ts.map +1 -1
- package/types/tectra-ng-ui-split-button.d.ts +28 -7
- package/types/tectra-ng-ui-split-button.d.ts.map +1 -1
- package/types/tectra-ng-ui-splitter.d.ts +47 -23
- package/types/tectra-ng-ui-splitter.d.ts.map +1 -1
- package/types/tectra-ng-ui-stat-tiles.d.ts +39 -91
- package/types/tectra-ng-ui-stat-tiles.d.ts.map +1 -1
- package/types/tectra-ng-ui-status-icon.d.ts +19 -23
- package/types/tectra-ng-ui-status-icon.d.ts.map +1 -1
- package/types/tectra-ng-ui-stepper.d.ts +106 -133
- package/types/tectra-ng-ui-stepper.d.ts.map +1 -1
- package/types/tectra-ng-ui-table.d.ts +415 -183
- package/types/tectra-ng-ui-table.d.ts.map +1 -1
- package/types/tectra-ng-ui-tabs.d.ts +91 -133
- package/types/tectra-ng-ui-tabs.d.ts.map +1 -1
- package/types/tectra-ng-ui-tag.d.ts +46 -135
- package/types/tectra-ng-ui-tag.d.ts.map +1 -1
- package/types/tectra-ng-ui-textarea.d.ts +25 -31
- package/types/tectra-ng-ui-textarea.d.ts.map +1 -1
- package/types/tectra-ng-ui-timeline.d.ts +39 -27
- package/types/tectra-ng-ui-timeline.d.ts.map +1 -1
- package/types/tectra-ng-ui-toast.d.ts +84 -78
- package/types/tectra-ng-ui-toast.d.ts.map +1 -1
- package/types/tectra-ng-ui-toggle-button.d.ts +29 -55
- package/types/tectra-ng-ui-toggle-button.d.ts.map +1 -1
- package/types/tectra-ng-ui-toggle-switch.d.ts +41 -55
- package/types/tectra-ng-ui-toggle-switch.d.ts.map +1 -1
- package/types/tectra-ng-ui-toolbar.d.ts +15 -14
- package/types/tectra-ng-ui-toolbar.d.ts.map +1 -1
- package/types/tectra-ng-ui-tooltip.d.ts +72 -22
- package/types/tectra-ng-ui-tooltip.d.ts.map +1 -1
- package/types/tectra-ng-ui-tree-select.d.ts +65 -104
- package/types/tectra-ng-ui-tree-select.d.ts.map +1 -1
- package/types/tectra-ng-ui-tree-table.d.ts +30 -0
- package/types/tectra-ng-ui-tree-table.d.ts.map +1 -1
- package/types/tectra-ng-ui-tree.d.ts +197 -69
- package/types/tectra-ng-ui-tree.d.ts.map +1 -1
- package/types/tectra-ng-ui-truncate-text.d.ts +21 -14
- package/types/tectra-ng-ui-truncate-text.d.ts.map +1 -1
- package/types/tectra-ng-ui-virtual-scroller.d.ts +97 -13
- package/types/tectra-ng-ui-virtual-scroller.d.ts.map +1 -1
- package/types/tectra-ng-ui.d.ts +2 -1
- package/types/tectra-ng-ui.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-popover.d.ts","names":[],"sources":["../../../../packages/ui/popover/src/popover.types.ts","../../../../packages/ui/popover/src/popover-slots.directive.ts","../../../../packages/ui/popover/src/popover.component.ts","../../../../packages/ui/popover/src/popover-trigger.directive.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-popover.d.ts","names":[],"sources":["../../../../packages/ui/popover/src/popover.types.ts","../../../../packages/ui/popover/src/popover-slots.directive.ts","../../../../packages/ui/popover/src/popover.component.ts","../../../../packages/ui/popover/src/popover-trigger.directive.ts"],"mappings":";;;;;;YAGY;;YAEA;;YAEA,uBAAuB;;;;;YAKvB,kBAAkB,UAAU;;iBAGvB;;EAEf;;EAEA;;;;;;qBCfW;SAAA,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBAGA;SAAA,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBAGA;WACF,UAAQ,YAAA;SADN,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBCmCA;mBACM;UAET;UACA;UACA;UACA;;WAEC,mCAAS,YAAA;;WACT,gCAAM;;WACN,+BAAK;;WACL,gCAAM;;WACN,qCAAW;;WACX,qCAAW;;WACX,uCAAa;;WACb,mCAAS,YAAA;;WACT,sCAAY;;WACZ,gCAAM,YAAA;;WACN,mCAAS;;WACT,wCAAc;;WACd,oCAAU;;WACV,8BAAI;;WACJ,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,gDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,gCAAM;;WACN,gCAAM,iBAAA;WAEN,oCAAU,OAAA;WACV,oCAAU,OAAA;WACV,qCAAW,OAAA;mBACH;WAER,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,gDAAA;WACX;WACA;mBAEQ;mBACA;mBACA;mBACA;mBACA;UACT;UACA;;WAEC,gCAAM;WACN,0CAAgB,OAAA;WAChB,8BAAI,yCAAA;WACJ,kCAAQ;WACR,oCAAU;WACV,oCAAU;;;WAKV,qCAAW;WACX,gBAAgB;;;EAmBzB,KAAK,SAAS;;EA8Cd;;EAIA,OAAO,SAAS;;EAShB;EAIA,UAAU,SAAS;EAInB,gBAAgB,SAAS;EAKzB,eAAe,OAAO;UAsBd;UAKA;UAeA;SAjMG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAS;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;IAAA;;;;;;;qBC5BT;mBACM;WAER,MAAI;;WAEJ,0CAAgB,YAAA;;SALd,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAgB;MAAA;MAAA;MAAA"}
|
|
@@ -1,63 +1,67 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { TemplateRef } from "@angular/core";
|
|
3
3
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
4
|
-
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
4
|
+
import { TectraDeepPartial, TectraProgressBarTokens } from "@tectra-ng/themes";
|
|
5
|
+
/** `determinate` shows a known value, `indeterminate` a moving bar while the length is unknown. */
|
|
5
6
|
export type TxProgressBarMode = 'determinate' | 'indeterminate';
|
|
7
|
+
/** Colour of the progress bar value: `primary`, `secondary` or a severity. */
|
|
6
8
|
export type TxProgressBarSeverity = 'primary' | 'secondary' | 'success' | 'info' | 'warn' | 'danger' | 'help' | 'contrast';
|
|
9
|
+
/** Size of `tx-progress-bar`; `normal` is the same as `medium`. */
|
|
7
10
|
export type TxProgressBarSize = 'small' | 'medium' | 'normal' | 'large';
|
|
11
|
+
/** Parts of `tx-progress-bar` that `pt` can style. */
|
|
8
12
|
export type TxProgressBarPart = 'root' | 'track' | 'value' | 'label';
|
|
13
|
+
/** Context of the `txProgressBarValue` label template. */
|
|
9
14
|
export interface TxProgressBarValueContext {
|
|
15
|
+
/** The current value. */
|
|
10
16
|
$implicit: number;
|
|
17
|
+
/** The current value as a percentage of the range. */
|
|
11
18
|
percent: number;
|
|
12
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* `<ng-template txProgressBarValue let-value let-percent="percent">` — own label
|
|
22
|
+
* @see https://tectra-ng.com/components/progress-bar
|
|
23
|
+
*/
|
|
13
24
|
export declare class TxProgressBarValueTemplate {
|
|
14
25
|
readonly templateRef: TemplateRef<TxProgressBarValueContext>;
|
|
15
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxProgressBarValueTemplate, never>;
|
|
16
27
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TxProgressBarValueTemplate, "ng-template[txProgressBarValue]", never, {}, {}, never, never, true, never>;
|
|
17
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* Shows how far a task got — a known percentage, or a moving bar while the length is unknown. A `progressbar` for screen readers with its value; the label next to the bar is optional.
|
|
31
|
+
* @see https://tectra-ng.com/components/progress-bar
|
|
32
|
+
*/
|
|
18
33
|
export declare class TxProgressBar {
|
|
19
34
|
private readonly progressBarTheme;
|
|
20
35
|
private localeService;
|
|
36
|
+
/** Current value */
|
|
21
37
|
readonly value: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
38
|
+
/** Value of an empty bar */
|
|
22
39
|
readonly min: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
40
|
+
/** Value of a full bar */
|
|
23
41
|
readonly max: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
42
|
+
/** `determinate` or `indeterminate` (unknown length) */
|
|
24
43
|
readonly mode: import("@angular/core").InputSignal<TxProgressBarMode>;
|
|
44
|
+
/** Shows the value next to the bar */
|
|
25
45
|
readonly showValue: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
46
|
+
/** Unit of the label: `%` shows the percentage, anything else the value with that unit, e.g. ` GB` */
|
|
26
47
|
readonly unit: import("@angular/core").InputSignal<string>;
|
|
48
|
+
/** `primary`, `secondary`, `success`, `info`, `warn`, `danger`, `help`, `contrast` */
|
|
27
49
|
readonly severity: import("@angular/core").InputSignal<TxProgressBarSeverity>;
|
|
50
|
+
/** Own colour of the bar (any CSS colour) */
|
|
28
51
|
readonly color: import("@angular/core").InputSignal<string | undefined>;
|
|
52
|
+
/** `small`, `medium` (`normal` is the same), `large` */
|
|
29
53
|
readonly size: import("@angular/core").InputSignal<TxProgressBarSize>;
|
|
54
|
+
/** What is progressing ("Loading" by default, translated) */
|
|
30
55
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
56
|
+
/** Id of the element that names the bar */
|
|
31
57
|
readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
borderRadius: string;
|
|
36
|
-
trackBackground: string;
|
|
37
|
-
gap: string;
|
|
38
|
-
labelColor: string;
|
|
39
|
-
labelFontSize: string;
|
|
40
|
-
labelFontWeight: string;
|
|
41
|
-
transitionDuration: string;
|
|
42
|
-
indeterminateDuration: string;
|
|
43
|
-
};
|
|
44
|
-
sm: {
|
|
45
|
-
height: string;
|
|
46
|
-
};
|
|
47
|
-
lg: {
|
|
48
|
-
height: string;
|
|
49
|
-
};
|
|
50
|
-
primary: string;
|
|
51
|
-
secondary: string;
|
|
52
|
-
success: string;
|
|
53
|
-
info: string;
|
|
54
|
-
warn: string;
|
|
55
|
-
danger: string;
|
|
56
|
-
help: string;
|
|
57
|
-
contrast: string;
|
|
58
|
-
}> | undefined>;
|
|
58
|
+
/** Design tokens of this instance (`progressBar`) */
|
|
59
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraProgressBarTokens> | undefined>;
|
|
60
|
+
/** Classes and styles of the parts: `root`, `track`, `value`, `label` */
|
|
59
61
|
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxProgressBarPart, import("@tectra-ng/core/config").TxPassThroughValue<TxProgressBar>>> | undefined>;
|
|
62
|
+
/** How `pt` merges with the global pass-through */
|
|
60
63
|
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
64
|
+
/** Removes the tectra styles */
|
|
61
65
|
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
62
66
|
readonly template: import("@angular/core").Signal<TxProgressBarValueTemplate | undefined>;
|
|
63
67
|
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-progress-bar.d.ts","names":[],"sources":["../../../../packages/ui/progress-bar/src/progress-bar.types.ts","../../../../packages/ui/progress-bar/src/progress-bar-templates.directive.ts","../../../../packages/ui/progress-bar/src/progress-bar.component.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-progress-bar.d.ts","names":[],"sources":["../../../../packages/ui/progress-bar/src/progress-bar.types.ts","../../../../packages/ui/progress-bar/src/progress-bar-templates.directive.ts","../../../../packages/ui/progress-bar/src/progress-bar.component.ts"],"mappings":";;;;;YACY;;YAEA;;YAEA;;YAEA;;iBAGK;;EAEf;;EAEA;;;;;;qBCVW;WACF,aAAW,YAAA;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBC8CA;mBACM;UAET;;WAEC,+BAAK;;WACL,6BAAG;;WACH,6BAAG;;WACH,8BAAI,YAAA;;WACJ,mCAAS;;WACT,8BAAI;;WACJ,kCAAQ,YAAA;;WACR,+BAAK;;WACL,8BAAI,YAAA;;WACJ,mCAAS;;WACT,wCAAc;;WACd,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,oDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,kCAAQ,OAAA;WAER,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,oDAAA;WACX,sCAAY,OAAA;WACZ,iCAAO;WACP,iCAAO;WAIP,8BAAI;WAKJ,mCAAS;;;SArCP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAa;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
|
|
@@ -1,33 +1,35 @@
|
|
|
1
1
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
2
|
-
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
2
|
+
import { TectraDeepPartial, TectraProgressSpinnerTokens } from "@tectra-ng/themes";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/** Size of `tx-progress-spinner`: `small`, `medium` or `large`. */
|
|
4
5
|
export type TxProgressSpinnerSize = 'small' | 'medium' | 'large';
|
|
6
|
+
/** Parts of `tx-progress-spinner` that `pt` can style. */
|
|
5
7
|
export type TxProgressSpinnerPart = 'root' | 'svg' | 'track' | 'circle';
|
|
8
|
+
/**
|
|
9
|
+
* A spinning circle while something loads and its length is unknown. A busy `progressbar` named "Loading" (translated) unless you name it. With reduced motion it turns slowly instead of stopping, so it still reads as loading.
|
|
10
|
+
* @see https://tectra-ng.com/components/progress-spinner
|
|
11
|
+
*/
|
|
6
12
|
export declare class TxProgressSpinner {
|
|
7
13
|
private readonly progressSpinnerTheme;
|
|
14
|
+
/** `small`, `medium`, `large` or a number of px */
|
|
8
15
|
readonly size: import("@angular/core").InputSignal<number | TxProgressSpinnerSize>;
|
|
16
|
+
/** Thickness of the ring in units of a 50 × 50 box */
|
|
9
17
|
readonly strokeWidth: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
18
|
+
/** Fill inside the ring */
|
|
10
19
|
readonly fill: import("@angular/core").InputSignal<string>;
|
|
20
|
+
/** One turn, e.g. `1.5s` */
|
|
11
21
|
readonly animationDuration: import("@angular/core").InputSignal<string | undefined>;
|
|
22
|
+
/** Own colour of the moving arc */
|
|
12
23
|
readonly color: import("@angular/core").InputSignal<string | undefined>;
|
|
24
|
+
/** What is loading */
|
|
13
25
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
trackColor: string;
|
|
18
|
-
size: string;
|
|
19
|
-
duration: string;
|
|
20
|
-
reducedDuration: string;
|
|
21
|
-
};
|
|
22
|
-
sm: {
|
|
23
|
-
size: string;
|
|
24
|
-
};
|
|
25
|
-
lg: {
|
|
26
|
-
size: string;
|
|
27
|
-
};
|
|
28
|
-
}> | undefined>;
|
|
26
|
+
/** Design tokens of this instance (`progressSpinner`) */
|
|
27
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraProgressSpinnerTokens> | undefined>;
|
|
28
|
+
/** Classes and styles of the parts: `root`, `svg`, `track`, `circle` */
|
|
29
29
|
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxProgressSpinnerPart, import("@tectra-ng/core/config").TxPassThroughValue<TxProgressSpinner>>> | undefined>;
|
|
30
|
+
/** How `pt` merges with the global pass-through */
|
|
30
31
|
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
32
|
+
/** Removes the tectra styles */
|
|
31
33
|
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
32
34
|
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
33
35
|
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-progress-spinner.d.ts","names":[],"sources":["../../../../packages/ui/progress-spinner/src/progress-spinner.types.ts","../../../../packages/ui/progress-spinner/src/progress-spinner.component.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-progress-spinner.d.ts","names":[],"sources":["../../../../packages/ui/progress-spinner/src/progress-spinner.types.ts","../../../../packages/ui/progress-spinner/src/progress-spinner.component.ts"],"mappings":";;;;YACY;;YAEA;;;;;qBC6BC;mBACM;;WAER,8BAAI,qBAAA;;WACJ,qCAAW;;WACX,8BAAI;;WACJ,2CAAiB;;WACjB,+BAAK;;WACL,mCAAS;;WACT,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,wDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,wDAAA;WACX,oCAAU,gBAAA;WACV,gCAAM;WACN,mCAAS;;;;;SAnBP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAiB;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
|
|
@@ -2,107 +2,94 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import { ElementRef, InjectionToken, Signal } from "@angular/core";
|
|
3
3
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
4
4
|
import { TxFormControlBase } from "@tectra-ng/core/forms";
|
|
5
|
-
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
5
|
+
import { TectraDeepPartial, TectraRadioButtonTokens } from "@tectra-ng/themes";
|
|
6
|
+
/** Size of `tx-radio-button`: `small`, `medium` or `large`. */
|
|
6
7
|
export type TxRadioButtonSize = 'small' | 'medium' | 'large';
|
|
8
|
+
/** Look of the radio box: `outlined` or `filled`. */
|
|
7
9
|
export type TxRadioButtonVariant = 'outlined' | 'filled';
|
|
10
|
+
/** Parts of `tx-radio-button` that `pt` can style. */
|
|
8
11
|
export type TxRadioButtonPart = 'root' | 'box' | 'input' | 'dot' | 'label' | 'description';
|
|
12
|
+
/** Parts of `tx-radio-group` that `pt` can style. */
|
|
9
13
|
export type TxRadioGroupPart = 'root';
|
|
14
|
+
/** Direction the buttons of a radio group are laid out: `vertical` or `horizontal`. */
|
|
10
15
|
export type TxRadioGroupOrientation = 'vertical' | 'horizontal';
|
|
16
|
+
/** Payload of the radio change event: the chosen value and the DOM event. */
|
|
11
17
|
export interface TxRadioButtonChangeEvent {
|
|
18
|
+
/** Value of the radio button that was selected. */
|
|
12
19
|
value: unknown;
|
|
20
|
+
/** The DOM event that caused the change. */
|
|
13
21
|
originalEvent: Event;
|
|
14
22
|
}
|
|
23
|
+
/** What a `tx-radio-group` shares with its buttons: name, state, look and selection. */
|
|
15
24
|
export interface TxRadioGroupContext {
|
|
25
|
+
/** Shared `name` of the radio inputs in the group. */
|
|
16
26
|
readonly name: Signal<string>;
|
|
27
|
+
/** Whether the whole group is disabled. */
|
|
17
28
|
readonly isDisabled: Signal<boolean>;
|
|
29
|
+
/** Whether the group is shown as invalid. */
|
|
18
30
|
readonly isInvalid: Signal<boolean>;
|
|
31
|
+
/** Whether a choice in the group is required. */
|
|
19
32
|
readonly isRequired: Signal<boolean>;
|
|
33
|
+
/** Size the group sets for its buttons; `undefined` leaves it to each button. */
|
|
20
34
|
readonly size: Signal<TxRadioButtonSize | undefined>;
|
|
35
|
+
/** Look the group sets for its buttons; `undefined` leaves it to each button. */
|
|
21
36
|
readonly variant: Signal<TxRadioButtonVariant | undefined>;
|
|
37
|
+
/** Whether the given value is the selected one. */
|
|
22
38
|
isChecked(value: unknown): boolean;
|
|
39
|
+
/** Selects the given value as a result of the given DOM event. */
|
|
23
40
|
select(value: unknown, event: Event): void;
|
|
41
|
+
/** Marks the group as touched for the form control. */
|
|
24
42
|
touch(): void;
|
|
25
43
|
}
|
|
44
|
+
/** Injection token through which a `tx-radio-button` finds its `tx-radio-group`. */
|
|
26
45
|
export declare const TX_RADIO_GROUP: InjectionToken<TxRadioGroupContext>;
|
|
46
|
+
/**
|
|
47
|
+
* One choice out of a few, on native `<input type="radio">`. Put the options in `tx-radio-group` — it holds the value, gives them one `name` and is the `radiogroup` for screen readers; arrow keys move between the options, Tab leaves the group.
|
|
48
|
+
* @see https://tectra-ng.com/components/radio-button
|
|
49
|
+
*/
|
|
27
50
|
export declare class TxRadioButton extends TxFormControlBase<unknown> {
|
|
28
51
|
private readonly radioButtonTheme;
|
|
29
52
|
private group;
|
|
30
53
|
private generatedId;
|
|
54
|
+
/** Value of this option */
|
|
31
55
|
readonly optionValue: import("@angular/core").InputSignal<unknown>;
|
|
56
|
+
/** Text of the label; content inside the tag is added after it */
|
|
32
57
|
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
58
|
+
/** Muted text under the label, linked with `aria-describedby` */
|
|
33
59
|
readonly description: import("@angular/core").InputSignal<string | undefined>;
|
|
60
|
+
/** `small`, `medium`, `large` (inherits the group) */
|
|
34
61
|
readonly size: import("@angular/core").InputSignal<TxRadioButtonSize | undefined>;
|
|
62
|
+
/** `outlined` or `filled` (inherits the group) */
|
|
35
63
|
readonly variant: import("@angular/core").InputSignal<TxRadioButtonVariant | undefined>;
|
|
64
|
+
/** Option tile look: the whole card selects */
|
|
36
65
|
readonly tile: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
66
|
+
/** Red border; without it the radio follows its form control or the group */
|
|
37
67
|
readonly invalid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
68
|
+
/** Disables the option, or with the group every option */
|
|
38
69
|
readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
70
|
+
/** Shows the value, ignores clicks */
|
|
39
71
|
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
72
|
+
/** Native `required` (the group sets it on every option) */
|
|
40
73
|
readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
74
|
+
/** Native `name`; the group generates one when not set */
|
|
41
75
|
readonly name: import("@angular/core").InputSignal<string | undefined>;
|
|
76
|
+
/** Id of the native input, for an outside `<label for>` */
|
|
42
77
|
readonly inputId: import("@angular/core").InputSignal<string | undefined>;
|
|
78
|
+
/** Accessible name when there is no visible label; on the group, its name */
|
|
43
79
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
80
|
+
/** Id of the element that names the option or the group */
|
|
44
81
|
readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
|
|
82
|
+
/** Tab order of the native input */
|
|
45
83
|
readonly tabindex: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
borderWidth: string;
|
|
50
|
-
borderColor: string;
|
|
51
|
-
hoverBorderColor: string;
|
|
52
|
-
background: string;
|
|
53
|
-
filledBackground: string;
|
|
54
|
-
checkedBorderColor: string;
|
|
55
|
-
checkedBackground: string;
|
|
56
|
-
checkedHoverBorderColor: string;
|
|
57
|
-
checkedHoverBackground: string;
|
|
58
|
-
dotSize: string;
|
|
59
|
-
dotColor: string;
|
|
60
|
-
invalidBorderColor: string;
|
|
61
|
-
disabledBackground: string;
|
|
62
|
-
disabledBorderColor: string;
|
|
63
|
-
disabledCheckedBackground: string;
|
|
64
|
-
disabledDotColor: string;
|
|
65
|
-
focusRingColor: string;
|
|
66
|
-
focusRingWidth: string;
|
|
67
|
-
focusRingOffset: string;
|
|
68
|
-
gap: string;
|
|
69
|
-
labelColor: string;
|
|
70
|
-
labelFontSize: string;
|
|
71
|
-
labelFontWeight: string;
|
|
72
|
-
disabledLabelColor: string;
|
|
73
|
-
descriptionColor: string;
|
|
74
|
-
descriptionFontSize: string;
|
|
75
|
-
transitionDuration: string;
|
|
76
|
-
};
|
|
77
|
-
sm: {
|
|
78
|
-
size: string;
|
|
79
|
-
dotSize: string;
|
|
80
|
-
labelFontSize: string;
|
|
81
|
-
};
|
|
82
|
-
lg: {
|
|
83
|
-
size: string;
|
|
84
|
-
dotSize: string;
|
|
85
|
-
labelFontSize: string;
|
|
86
|
-
};
|
|
87
|
-
tile: {
|
|
88
|
-
padding: string;
|
|
89
|
-
gap: string;
|
|
90
|
-
borderRadius: string;
|
|
91
|
-
borderColor: string;
|
|
92
|
-
hoverBorderColor: string;
|
|
93
|
-
background: string;
|
|
94
|
-
checkedBorderColor: string;
|
|
95
|
-
checkedBackground: string;
|
|
96
|
-
labelFontWeight: string;
|
|
97
|
-
};
|
|
98
|
-
group: {
|
|
99
|
-
gap: string;
|
|
100
|
-
horizontalGap: string;
|
|
101
|
-
};
|
|
102
|
-
}> | undefined>;
|
|
84
|
+
/** Design tokens of this instance (`radioButton`) */
|
|
85
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraRadioButtonTokens> | undefined>;
|
|
86
|
+
/** Classes and styles of the parts: `root`, `box`, `input`, `dot`, `label`, `description`; group: `root` */
|
|
103
87
|
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxRadioButtonPart, import("@tectra-ng/core/config").TxPassThroughValue<TxRadioButton>>> | undefined>;
|
|
88
|
+
/** How `pt` merges with the global pass-through */
|
|
104
89
|
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
90
|
+
/** Removes the tectra styles, keeps the native inputs */
|
|
105
91
|
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
92
|
+
/** Radio: `{ value, originalEvent }` when chosen; group: the new value */
|
|
106
93
|
readonly changed: import("@angular/core").OutputEmitterRef<TxRadioButtonChangeEvent>;
|
|
107
94
|
readonly inputRef: import("@angular/core").Signal<ElementRef<HTMLInputElement>>;
|
|
108
95
|
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
@@ -226,78 +213,40 @@ export declare class TxRadioButton extends TxFormControlBase<unknown> {
|
|
|
226
213
|
"changed": "changed";
|
|
227
214
|
}, never, ["*"], true, never>;
|
|
228
215
|
}
|
|
216
|
+
/**
|
|
217
|
+
* One choice out of a few, on native `<input type="radio">`. Put the options in `tx-radio-group` — it holds the value, gives them one `name` and is the `radiogroup` for screen readers; arrow keys move between the options, Tab leaves the group.
|
|
218
|
+
* @see https://tectra-ng.com/components/radio-button
|
|
219
|
+
*/
|
|
229
220
|
export declare class TxRadioGroup extends TxFormControlBase<unknown> {
|
|
230
221
|
private readonly radioButtonTheme;
|
|
231
222
|
private generatedName;
|
|
223
|
+
/** Native `name`; the group generates one when not set */
|
|
232
224
|
readonly name: import("@angular/core").InputSignal<string | undefined>;
|
|
225
|
+
/** `vertical` or `horizontal` */
|
|
233
226
|
readonly orientation: import("@angular/core").InputSignal<TxRadioGroupOrientation>;
|
|
227
|
+
/** `small`, `medium`, `large` (inherits the group) */
|
|
234
228
|
readonly size: import("@angular/core").InputSignal<TxRadioButtonSize | undefined>;
|
|
229
|
+
/** `outlined` or `filled` (inherits the group) */
|
|
235
230
|
readonly variant: import("@angular/core").InputSignal<TxRadioButtonVariant | undefined>;
|
|
231
|
+
/** Red border; without it the radio follows its form control or the group */
|
|
236
232
|
readonly invalid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
233
|
+
/** Disables the option, or with the group every option */
|
|
237
234
|
readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
235
|
+
/** Native `required` (the group sets it on every option) */
|
|
238
236
|
readonly required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
237
|
+
/** Accessible name when there is no visible label; on the group, its name */
|
|
239
238
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
239
|
+
/** Id of the element that names the option or the group */
|
|
240
240
|
readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
borderWidth: string;
|
|
245
|
-
borderColor: string;
|
|
246
|
-
hoverBorderColor: string;
|
|
247
|
-
background: string;
|
|
248
|
-
filledBackground: string;
|
|
249
|
-
checkedBorderColor: string;
|
|
250
|
-
checkedBackground: string;
|
|
251
|
-
checkedHoverBorderColor: string;
|
|
252
|
-
checkedHoverBackground: string;
|
|
253
|
-
dotSize: string;
|
|
254
|
-
dotColor: string;
|
|
255
|
-
invalidBorderColor: string;
|
|
256
|
-
disabledBackground: string;
|
|
257
|
-
disabledBorderColor: string;
|
|
258
|
-
disabledCheckedBackground: string;
|
|
259
|
-
disabledDotColor: string;
|
|
260
|
-
focusRingColor: string;
|
|
261
|
-
focusRingWidth: string;
|
|
262
|
-
focusRingOffset: string;
|
|
263
|
-
gap: string;
|
|
264
|
-
labelColor: string;
|
|
265
|
-
labelFontSize: string;
|
|
266
|
-
labelFontWeight: string;
|
|
267
|
-
disabledLabelColor: string;
|
|
268
|
-
descriptionColor: string;
|
|
269
|
-
descriptionFontSize: string;
|
|
270
|
-
transitionDuration: string;
|
|
271
|
-
};
|
|
272
|
-
sm: {
|
|
273
|
-
size: string;
|
|
274
|
-
dotSize: string;
|
|
275
|
-
labelFontSize: string;
|
|
276
|
-
};
|
|
277
|
-
lg: {
|
|
278
|
-
size: string;
|
|
279
|
-
dotSize: string;
|
|
280
|
-
labelFontSize: string;
|
|
281
|
-
};
|
|
282
|
-
tile: {
|
|
283
|
-
padding: string;
|
|
284
|
-
gap: string;
|
|
285
|
-
borderRadius: string;
|
|
286
|
-
borderColor: string;
|
|
287
|
-
hoverBorderColor: string;
|
|
288
|
-
background: string;
|
|
289
|
-
checkedBorderColor: string;
|
|
290
|
-
checkedBackground: string;
|
|
291
|
-
labelFontWeight: string;
|
|
292
|
-
};
|
|
293
|
-
group: {
|
|
294
|
-
gap: string;
|
|
295
|
-
horizontalGap: string;
|
|
296
|
-
};
|
|
297
|
-
}> | undefined>;
|
|
241
|
+
/** Design tokens of this instance (`radioButton`) */
|
|
242
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraRadioButtonTokens> | undefined>;
|
|
243
|
+
/** Classes and styles of the parts: `root`, `box`, `input`, `dot`, `label`, `description`; group: `root` */
|
|
298
244
|
readonly pt: import("@angular/core").InputSignal<Partial<Record<"root", import("@tectra-ng/core/config").TxPassThroughValue<TxRadioGroup>>> | undefined>;
|
|
245
|
+
/** How `pt` merges with the global pass-through */
|
|
299
246
|
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
247
|
+
/** Removes the tectra styles, keeps the native inputs */
|
|
300
248
|
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
249
|
+
/** Radio: `{ value, originalEvent }` when chosen; group: the new value */
|
|
301
250
|
readonly changed: import("@angular/core").OutputEmitterRef<unknown>;
|
|
302
251
|
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
303
252
|
readonly passThrough: import("@angular/core").Signal<Partial<Record<"root", import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-radio-button.d.ts","names":[],"sources":["../../../../packages/ui/radio-button/src/radio-button.types.ts","../../../../packages/ui/radio-button/src/radio-group.token.ts","../../../../packages/ui/radio-button/src/radio-button.component.ts","../../../../packages/ui/radio-button/src/radio-group.component.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-radio-button.d.ts","names":[],"sources":["../../../../packages/ui/radio-button/src/radio-button.types.ts","../../../../packages/ui/radio-button/src/radio-group.token.ts","../../../../packages/ui/radio-button/src/radio-button.component.ts","../../../../packages/ui/radio-button/src/radio-group.component.ts"],"mappings":";;;;;;YACY;;YAEA;;YAEA;;YAEA;;YAEA;;iBAGK;;EAEf;;EAEA,eAAe;;;iBCZA;;WAEN,MAAM;;WAEN,YAAY;;WAEZ,WAAW;;WAEX,YAAY;;WAEZ,MAAM,OAAO;;WAEb,SAAS,OAAO;;EAEzB,UAAU;;EAEV,OAAO,gBAAgB,OAAO;;EAE9B;;;qBAIW,gBAAc,eAAA;;;;;qBCoBd,sBAAsB;mBAChB;UAET;UACA;;WAGC,qCAAW;;WACX,+BAAK;;WACL,qCAAW;;WACX,8BAAI,YAAA;;WACJ,iCAAO,YAAA;;WACP,8BAAI;;WACJ,iCAAO;;WAEP,uCAAa;;WACb,kCAAQ;;WACR,kCAAQ;;WACR,8BAAI;;WACJ,iCAAO;;WACP,mCAAS;;WACT,wCAAc;;WACd,kCAAQ;;WACR,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,oDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,iCAAO,iBAAA;WAEP,kCAAQ,OAAA,WAAA;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,oDAAA;UACZ;WAEC,oCAAU;WACV;WACA,sCAAY;WACZ,sCAAY,OAAA;WACZ,yCAAe,OAAA;WACf,oCAAU;WACV,mCAAS;WACT,oCAAU;WACV,iCAAO;WACP,mCAAS;;;EAElB;EAIA,aAAa,OAAO;EAMpB,cAAc,OAAO;EASrB;EAKA,YAAY,OAAO;SAvER,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAa;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;;;;;;;qBCUb,qBAAqB;mBACf;UAET;;WAEC,8BAAI;;WACJ,qCAAW,YAAA;;WACX,8BAAI,YAAA;;WACJ,iCAAO,YAAA;;WACP,iCAAO;;WAEP,uCAAa;;WACb,kCAAQ;;WACR,mCAAS;;WACT,wCAAc;;WACd,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,gDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,iCAAO;WAEP,oCAAU;WACV,qCAAW,OAAA,QAAA,gDAAA;WACX,mCAAS;WACT,oCAAU;WACV,sCAAY;WACZ,mCAAS;;;WAET,SAAS;SA7BP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAY;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA"}
|
|
@@ -3,75 +3,86 @@ import { TemplateRef } from "@angular/core";
|
|
|
3
3
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
4
4
|
import { TxFormControlBase } from "@tectra-ng/core/forms";
|
|
5
5
|
import { TxIconName } from "@tectra-ng/icons";
|
|
6
|
-
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
6
|
+
import { TectraDeepPartial, TectraRatingTokens } from "@tectra-ng/themes";
|
|
7
|
+
/** Size of `tx-rating`: `small`, `medium` or `large`. */
|
|
7
8
|
export type TxRatingSize = 'small' | 'medium' | 'large';
|
|
9
|
+
/** Parts of `tx-rating` that `pt` can style. */
|
|
8
10
|
export type TxRatingPart = 'root' | 'stars' | 'star' | 'clear';
|
|
11
|
+
/** Payload of the rating change event: the new value and the DOM event. */
|
|
9
12
|
export interface TxRatingChangeEvent {
|
|
13
|
+
/** The new rating, or `null` when it was cleared. */
|
|
10
14
|
value: number | null;
|
|
15
|
+
/** The DOM event that caused the change. */
|
|
11
16
|
originalEvent: Event;
|
|
12
17
|
}
|
|
18
|
+
/** Context of the `txRatingOnIcon` and `txRatingOffIcon` templates. */
|
|
13
19
|
export interface TxRatingIconContext {
|
|
20
|
+
/** Index of the star being drawn. */
|
|
14
21
|
$implicit: number;
|
|
15
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* `<ng-template txRatingOnIcon let-index>` — own filled star
|
|
25
|
+
* @see https://tectra-ng.com/components/rating
|
|
26
|
+
*/
|
|
16
27
|
export declare class TxRatingOnIconTemplate {
|
|
17
28
|
readonly templateRef: TemplateRef<TxRatingIconContext>;
|
|
18
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxRatingOnIconTemplate, never>;
|
|
19
30
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TxRatingOnIconTemplate, "ng-template[txRatingOnIcon]", never, {}, {}, never, never, true, never>;
|
|
20
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* `<ng-template txRatingOffIcon let-index>` — own empty star
|
|
34
|
+
* @see https://tectra-ng.com/components/rating
|
|
35
|
+
*/
|
|
21
36
|
export declare class TxRatingOffIconTemplate {
|
|
22
37
|
readonly templateRef: TemplateRef<TxRatingIconContext>;
|
|
23
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<TxRatingOffIconTemplate, never>;
|
|
24
39
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TxRatingOffIconTemplate, "ng-template[txRatingOffIcon]", never, {}, {}, never, never, true, never>;
|
|
25
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* A score out of a few stars. Hover to preview, click to rate; half stars with `allowHalf`. One focusable `slider` for screen readers and the keyboard ("3 of 5").
|
|
43
|
+
* @see https://tectra-ng.com/components/rating
|
|
44
|
+
*/
|
|
26
45
|
export declare class TxRating extends TxFormControlBase<number> {
|
|
27
46
|
private readonly ratingTheme;
|
|
28
47
|
private txIconRegistry;
|
|
29
48
|
private localeService;
|
|
49
|
+
/** Number of stars */
|
|
30
50
|
readonly stars: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
51
|
+
/** Half steps: the left half of a star rates x.5, the arrow keys move by 0.5 */
|
|
31
52
|
readonly allowHalf: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
53
|
+
/** Icon of a filled star */
|
|
32
54
|
readonly onIcon: import("@angular/core").InputSignal<TxIconName | (string & {})>;
|
|
55
|
+
/** Icon of an empty star; the same filled star in a muted colour by default, so half stars line up exactly */
|
|
33
56
|
readonly offIcon: import("@angular/core").InputSignal<TxIconName | (string & {})>;
|
|
57
|
+
/** Shows a clear button while there is a rating */
|
|
34
58
|
readonly clearable: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
59
|
+
/** Text next to the clear icon; without it the button has a translated `aria-label` */
|
|
35
60
|
readonly clearLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
61
|
+
/** `small`, `medium`, `large` */
|
|
36
62
|
readonly size: import("@angular/core").InputSignal<TxRatingSize>;
|
|
63
|
+
/** Red stars; without it the rating follows its form control */
|
|
37
64
|
readonly invalid: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
65
|
+
/** Disables the rating (also from the form control) */
|
|
38
66
|
readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
67
|
+
/** Shows the rating, ignores clicks and keys */
|
|
39
68
|
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
69
|
+
/** Accessible name of the rating */
|
|
40
70
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
71
|
+
/** Id of the element that names the rating */
|
|
41
72
|
readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
|
|
73
|
+
/** Tab order of the stars */
|
|
42
74
|
readonly tabindex: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
iconSize: string;
|
|
47
|
-
color: string;
|
|
48
|
-
activeColor: string;
|
|
49
|
-
hoverColor: string;
|
|
50
|
-
hoverScale: string;
|
|
51
|
-
disabledOpacity: string;
|
|
52
|
-
focusRingColor: string;
|
|
53
|
-
focusRingWidth: string;
|
|
54
|
-
focusRingOffset: string;
|
|
55
|
-
borderRadius: string;
|
|
56
|
-
clearGap: string;
|
|
57
|
-
clearColor: string;
|
|
58
|
-
clearHoverColor: string;
|
|
59
|
-
clearFontSize: string;
|
|
60
|
-
transitionDuration: string;
|
|
61
|
-
};
|
|
62
|
-
sm: {
|
|
63
|
-
iconSize: string;
|
|
64
|
-
gap: string;
|
|
65
|
-
};
|
|
66
|
-
lg: {
|
|
67
|
-
iconSize: string;
|
|
68
|
-
gap: string;
|
|
69
|
-
};
|
|
70
|
-
}> | undefined>;
|
|
75
|
+
/** Design tokens of this instance (`rating`) */
|
|
76
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraRatingTokens> | undefined>;
|
|
77
|
+
/** Classes and styles of the parts: `root`, `stars`, `star`, `clear` */
|
|
71
78
|
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxRatingPart, import("@tectra-ng/core/config").TxPassThroughValue<TxRating>>> | undefined>;
|
|
79
|
+
/** How `pt` merges with the global pass-through */
|
|
72
80
|
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
81
|
+
/** Removes the tectra styles */
|
|
73
82
|
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
83
|
+
/** `{ value, originalEvent }` after a click, a key or clearing */
|
|
74
84
|
readonly rated: import("@angular/core").OutputEmitterRef<TxRatingChangeEvent>;
|
|
85
|
+
/** The clear button or a key removed the rating */
|
|
75
86
|
readonly cleared: import("@angular/core").OutputEmitterRef<void>;
|
|
76
87
|
readonly onTemplate: import("@angular/core").Signal<TxRatingOnIconTemplate | undefined>;
|
|
77
88
|
readonly offTemplate: import("@angular/core").Signal<TxRatingOffIconTemplate | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tectra-ng-ui-rating.d.ts","names":[],"sources":["../../../../packages/ui/rating/src/rating.types.ts","../../../../packages/ui/rating/src/rating-templates.directive.ts","../../../../packages/ui/rating/src/rating.component.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tectra-ng-ui-rating.d.ts","names":[],"sources":["../../../../packages/ui/rating/src/rating.types.ts","../../../../packages/ui/rating/src/rating-templates.directive.ts","../../../../packages/ui/rating/src/rating.component.ts"],"mappings":";;;;;;;YACY;;YAEA;;iBAGK;;EAEf;;EAEA,eAAe;;;iBAIA;;EAEf;;;;;;qBCZW;WACF,aAAW,YAAA;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBAKA;WACF,aAAW,YAAA;SADT,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBCyBA,iBAAiB;mBACX;UAET;UACA;;WAEC,+BAAK;;WACL,mCAAS;;WACT,gCAAM,YAAA;;WACN,iCAAO,YAAA;;WACP,mCAAS;;WACT,oCAAU;;WACV,8BAAI,YAAA;;WACJ,iCAAO;;WAEP,uCAAa;;WACb,kCAAQ;;WACR,mCAAS;;WACT,wCAAc;;WACd,kCAAQ;;WACR,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,+CAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,+BAAK,iBAAA;;WACL,iCAAO;WAEP,oCAAU,OAAA;WACV,qCAAW,OAAA;WAEX,sCAAY,wCAAA;WACZ,oCAAU;WACV,mCAAS;WACT,qCAAW,OAAA,QAAA,OAAA,+CAAA;WAEX,iCAAO;WACP,iCAAO;WACP,oCAAU;WACV,oCAAU;WACV,+BAAK;WACL,8BAAI;WACJ,oCAAU,OAAA;WACV,qCAAW,OAAA;WACX,mCAAS;WAKT,mCAAS;;;EAElB,KAAK;EAIL,cAAc,OAAO;EAOrB;EAIA,QAAQ,OAAO;EAQf,UAAU,OAAO;EAgCjB;EAIA,MAAM,OAAO;UAKL;UAIA;UAUA;SAjIG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAQ;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA"}
|
|
@@ -1,38 +1,43 @@
|
|
|
1
1
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
2
|
-
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
2
|
+
import { TectraDeepPartial, TectraScrollPanelTokens } from "@tectra-ng/themes";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/** Parts of `tx-scroll-panel` that `pt` can style. */
|
|
4
5
|
export type TxScrollPanelPart = 'root' | 'content' | 'barX' | 'barY';
|
|
6
|
+
/** Scroll direction: `x` for horizontal, `y` for vertical. */
|
|
5
7
|
export type TxScrollPanelAxis = 'x' | 'y';
|
|
8
|
+
/**
|
|
9
|
+
* Measured state of one custom scrollbar: whether it shows, its thumb size and position, and the
|
|
10
|
+
* scroll progress.
|
|
11
|
+
*/
|
|
6
12
|
export interface TxScrollPanelBar {
|
|
13
|
+
/** Whether the content overflows on this axis, so the bar is shown. */
|
|
7
14
|
visible: boolean;
|
|
15
|
+
/** Length of the thumb, in px. */
|
|
8
16
|
length: number;
|
|
17
|
+
/** Distance of the thumb from the start of the track, in px. */
|
|
9
18
|
offset: number;
|
|
19
|
+
/** Scroll progress along this axis, in percent (0 – 100). */
|
|
10
20
|
value: number;
|
|
11
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* A scroll area with slim, themed scroll bars in place of the native ones. The bars appear while the pointer is over the panel, follow the content as it scrolls or resizes and can be dragged. Give the panel a `height` or a `max-height`.
|
|
24
|
+
* @see https://tectra-ng.com/components/scroll-panel
|
|
25
|
+
*/
|
|
12
26
|
export declare class TxScrollPanel {
|
|
13
27
|
private readonly scrollPanelTheme;
|
|
14
28
|
private document;
|
|
15
29
|
private destroyRef;
|
|
30
|
+
/** Pixels an arrow key scrolls while a bar has focus */
|
|
16
31
|
readonly step: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
32
|
+
/** Accessible name; makes the content a named `region` */
|
|
17
33
|
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
focusRingWidth: string;
|
|
22
|
-
focusRingColor: string;
|
|
23
|
-
focusRingOffset: string;
|
|
24
|
-
};
|
|
25
|
-
bar: {
|
|
26
|
-
size: string;
|
|
27
|
-
borderRadius: string;
|
|
28
|
-
background: string;
|
|
29
|
-
focusRingWidth: string;
|
|
30
|
-
focusRingColor: string;
|
|
31
|
-
focusRingOffset: string;
|
|
32
|
-
};
|
|
33
|
-
}> | undefined>;
|
|
34
|
+
/** Design tokens of this instance (`scrollPanel`) */
|
|
35
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraScrollPanelTokens> | undefined>;
|
|
36
|
+
/** Classes and styles of the parts: `root`, `content`, `barX`, `barY` */
|
|
34
37
|
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxScrollPanelPart, import("@tectra-ng/core/config").TxPassThroughValue<TxScrollPanel>>> | undefined>;
|
|
38
|
+
/** How `pt` merges with the global pass-through */
|
|
35
39
|
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
40
|
+
/** Removes the tectra styles */
|
|
36
41
|
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
37
42
|
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
38
43
|
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxScrollPanelPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|