@ids-group-ltd/ids-design-system 0.11.4 → 0.12.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/CHANGELOG.md +53 -3
- package/components/README.md +86 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +85 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +70 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +573 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +86 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +615 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +30 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +188 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +59 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +92 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +204 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +100 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs +23 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +180 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +78 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +49 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +73 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +397 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +1231 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +51 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs +35 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +109 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +111 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +52 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +92 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +62 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +164 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +85 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +223 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +63 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +53 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +43 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +286 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +329 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +612 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +69 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +191 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs +23 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +43 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +85 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +95 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +240 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-progress.mjs +41 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-progress.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +235 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs +62 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +173 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +123 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +461 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +107 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +185 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +32 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +204 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +25 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +53 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +99 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs +26 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +74 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +76 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +1802 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +381 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +44 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +158 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +671 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +41 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +547 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +34 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +218 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +18 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +153 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +48 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +1338 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +325 -0
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +101 -0
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs +56 -0
- package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs +37 -0
- package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +72 -14267
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.11.0.json +0 -2
- package/migrations/0.11.1.json +2 -1
- package/migrations/0.11.2.json +2 -1
- package/migrations/0.11.3.json +3 -2
- package/migrations/0.11.4.json +7 -1
- package/migrations/0.12.0.json +22 -0
- package/migrations/0.4.0.json +2 -1
- package/migrations/0.7.1.json +2 -1
- package/package.json +573 -1
- package/themes/README.md +4 -4
- package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +48 -0
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +32 -0
- package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +260 -0
- package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +75 -0
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +226 -0
- package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +13 -0
- package/types/ids-group-ltd-ids-design-system-components-avatar.d.ts +99 -0
- package/types/ids-group-ltd-ids-design-system-components-badge.d.ts +25 -0
- package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +41 -0
- package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +61 -0
- package/types/ids-group-ltd-ids-design-system-components-breadcrumbs.d.ts +66 -0
- package/types/ids-group-ltd-ids-design-system-components-button-group.d.ts +10 -0
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +90 -0
- package/types/ids-group-ltd-ids-design-system-components-calendar-day.d.ts +41 -0
- package/types/ids-group-ltd-ids-design-system-components-card.d.ts +24 -0
- package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +41 -0
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +79 -0
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +251 -0
- package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +25 -0
- package/types/ids-group-ltd-ids-design-system-components-divider.d.ts +22 -0
- package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +38 -0
- package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +45 -0
- package/types/ids-group-ltd-ids-design-system-components-empty-state.d.ts +22 -0
- package/types/ids-group-ltd-ids-design-system-components-field-group.d.ts +73 -0
- package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +36 -0
- package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +83 -0
- package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +56 -0
- package/types/ids-group-ltd-ids-design-system-components-input.d.ts +121 -0
- package/types/ids-group-ltd-ids-design-system-components-layout.d.ts +39 -0
- package/types/ids-group-ltd-ids-design-system-components-list.d.ts +29 -0
- package/types/ids-group-ltd-ids-design-system-components-loading-overlay.d.ts +31 -0
- package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +82 -0
- package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +124 -0
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +213 -0
- package/types/ids-group-ltd-ids-design-system-components-number-stepper.d.ts +31 -0
- package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +52 -0
- package/types/ids-group-ltd-ids-design-system-components-page-footer.d.ts +13 -0
- package/types/ids-group-ltd-ids-design-system-components-page-header.d.ts +21 -0
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +32 -0
- package/types/ids-group-ltd-ids-design-system-components-password-rules.d.ts +80 -0
- package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +48 -0
- package/types/ids-group-ltd-ids-design-system-components-progress.d.ts +22 -0
- package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +106 -0
- package/types/ids-group-ltd-ids-design-system-components-reserve-messages.d.ts +33 -0
- package/types/ids-group-ltd-ids-design-system-components-search.d.ts +82 -0
- package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +40 -0
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +152 -0
- package/types/ids-group-ltd-ids-design-system-components-sidenav-footer.d.ts +92 -0
- package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +131 -0
- package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +16 -0
- package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +51 -0
- package/types/ids-group-ltd-ids-design-system-components-spinner.d.ts +11 -0
- package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +38 -0
- package/types/ids-group-ltd-ids-design-system-components-stat.d.ts +44 -0
- package/types/ids-group-ltd-ids-design-system-components-status-dot.d.ts +12 -0
- package/types/ids-group-ltd-ids-design-system-components-stepper.d.ts +32 -0
- package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +40 -0
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +791 -0
- package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +118 -0
- package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +26 -0
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +85 -0
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +188 -0
- package/types/ids-group-ltd-ids-design-system-components-timeline.d.ts +24 -0
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +167 -0
- package/types/ids-group-ltd-ids-design-system-components-toggle-button.d.ts +18 -0
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +66 -0
- package/types/ids-group-ltd-ids-design-system-components-topbar.d.ts +8 -0
- package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +46 -0
- package/types/ids-group-ltd-ids-design-system-components-w3w.d.ts +18 -0
- package/types/ids-group-ltd-ids-design-system-components.d.ts +604 -0
- package/types/ids-group-ltd-ids-design-system-core.d.ts +428 -0
- package/types/ids-group-ltd-ids-design-system-icons.d.ts +52 -0
- package/types/ids-group-ltd-ids-design-system-overlay.d.ts +32 -0
- package/types/ids-group-ltd-ids-design-system-theme.d.ts +29 -0
- package/types/ids-group-ltd-ids-design-system.d.ts +72 -5594
- package/LICENSE +0 -21
- package/README.md +0 -73
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Marks projected wordmark markup for `ds-sidenav`: when present, the sidenav
|
|
7
|
+
* renders the projected content inside `.brand-name` instead of the plain
|
|
8
|
+
* `brand` text (two-tone wordmarks, inline logos etc. stay consumer-side).
|
|
9
|
+
*
|
|
10
|
+
* Interplay: projecting `[dsBrandName]` is enough to render the brand row and
|
|
11
|
+
* its wordmark even without a string `brand`, but it only supplies the
|
|
12
|
+
* wordmark — the letter-mark tile still comes from `logoLetter` (or the first
|
|
13
|
+
* letter of `brand`), so an empty `brand` + projection renders the wordmark
|
|
14
|
+
* with no tile.
|
|
15
|
+
*/
|
|
16
|
+
declare class BrandNameDirective {
|
|
17
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BrandNameDirective, never>;
|
|
18
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BrandNameDirective, "[dsBrandName]", never, {}, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/** Contract that ds-sidenav-item reads from its parent ds-sidenav. */
|
|
22
|
+
interface SidenavContract {
|
|
23
|
+
readonly collapsed: () => boolean;
|
|
24
|
+
/** Whether the active item draws its edge marker. Set once on the sidenav; an
|
|
25
|
+
* item can still override it for itself. */
|
|
26
|
+
readonly rail: () => boolean;
|
|
27
|
+
}
|
|
28
|
+
declare const SIDENAV: InjectionToken<SidenavContract>;
|
|
29
|
+
|
|
30
|
+
declare class SidenavComponent implements SidenavContract {
|
|
31
|
+
/** Collapses the rail to icon-only width; read by nested `ds-sidenav-item`/`ds-sidenav-group`. */
|
|
32
|
+
readonly collapsed: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
33
|
+
/** Whether the ACTIVE item draws its edge marker, for the whole sidenav. Off
|
|
34
|
+
* leaves the active state on the fill and the label alone — check that is still
|
|
35
|
+
* distinguishable before turning it off. An individual `ds-sidenav-item` can
|
|
36
|
+
* override this with its own `rail`. */
|
|
37
|
+
readonly rail: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
38
|
+
/** Brand text at the top of the rail (auto letter-mark + name). For a custom
|
|
39
|
+
* logo image/SVG, project it into the `[brand]` slot instead. Unset falls back
|
|
40
|
+
* to `DS_CONFIG.brand.name`. Each field resolves on its own, so `brand=""` drops
|
|
41
|
+
* the wordmark while a `logoLetter` in the config still paints its tile. */
|
|
42
|
+
readonly brand: _angular_core.InputSignal<string | null>;
|
|
43
|
+
/** Letter-mark glyph when it differs from the brand's first letter (e.g. an
|
|
44
|
+
* "A" tile beside the "MyAdmin" wordmark). Empty = first letter of `brand`;
|
|
45
|
+
* unset falls back to `DS_CONFIG.brand.logoLetter`. */
|
|
46
|
+
readonly logoLetter: _angular_core.InputSignal<string | null>;
|
|
47
|
+
/** Route the brand row links to — typically the app's home. Unset leaves the row a
|
|
48
|
+
* plain, non-interactive block. Router targets only, and `RouterLink` is
|
|
49
|
+
* instantiated only once this is set, so an app with no router still renders. */
|
|
50
|
+
readonly brandRoute: _angular_core.InputSignal<string | readonly unknown[] | null>;
|
|
51
|
+
/** Accessible name for the brand link; unset names it "<brand>, home". Ignored
|
|
52
|
+
* while `brandRoute` is unset. */
|
|
53
|
+
readonly brandLinkLabel: _angular_core.InputSignal<string | null>;
|
|
54
|
+
/** The template must read THIS, never the input beside it — that one is null
|
|
55
|
+
* until bound, and the config default lives here. */
|
|
56
|
+
readonly brandName: _angular_core.Signal<string>;
|
|
57
|
+
readonly letterGlyph: _angular_core.Signal<string>;
|
|
58
|
+
/** Projected `[dsBrandName]` wordmark markup, when the consumer provides one. */
|
|
59
|
+
protected readonly brandNameRef: _angular_core.Signal<BrandNameDirective | undefined>;
|
|
60
|
+
protected readonly hasBrandName: _angular_core.Signal<boolean>;
|
|
61
|
+
/** Spread, not `charAt(0)`: the latter indexes UTF-16 code UNITS, so a brand
|
|
62
|
+
* starting with an astral character (an emoji, a rarer CJK glyph) yields half
|
|
63
|
+
* a surrogate pair and paints as tofu. */
|
|
64
|
+
protected readonly markGlyph: _angular_core.Signal<string>;
|
|
65
|
+
protected readonly brandAriaLabel: _angular_core.Signal<string>;
|
|
66
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavComponent, never>;
|
|
67
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavComponent, "ds-sidenav", never, { "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "rail": { "alias": "rail"; "required": false; "isSignal": true; }; "brand": { "alias": "brand"; "required": false; "isSignal": true; }; "logoLetter": { "alias": "logoLetter"; "required": false; "isSignal": true; }; "brandRoute": { "alias": "brandRoute"; "required": false; "isSignal": true; }; "brandLinkLabel": { "alias": "brandLinkLabel"; "required": false; "isSignal": true; }; }, {}, ["brandNameRef"], ["[brand]", "[dsBrandName]", "*"], true, never>;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare class SidenavGroupComponent {
|
|
71
|
+
/** Group heading text. */
|
|
72
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
73
|
+
/** Optional group icon; omit to project custom content via the `[icon]` slot instead. */
|
|
74
|
+
readonly icon: _angular_core.InputSignal<IconName | null>;
|
|
75
|
+
/** When true, the label/icon row becomes a clickable header that expands/collapses the group. */
|
|
76
|
+
readonly expandable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
77
|
+
/** Two-way bindable open state; defaults open so a non-expandable group always shows its items. */
|
|
78
|
+
readonly expanded: _angular_core.ModelSignal<boolean>;
|
|
79
|
+
protected toggle(): void;
|
|
80
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavGroupComponent, never>;
|
|
81
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavGroupComponent, "ds-sidenav-group", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["[ds-group-icon]", "*"], true, never>;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
declare class SidenavItemComponent {
|
|
85
|
+
/** Icon shown before the label; omit to project a custom icon via the `[icon]` slot instead. */
|
|
86
|
+
readonly icon: _angular_core.InputSignal<IconName | null>;
|
|
87
|
+
/** Visible link text; also used as the tooltip/aria-label when the rail is collapsed. */
|
|
88
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
89
|
+
/** Plain `href` target, used when `routerLink` is not set. */
|
|
90
|
+
readonly href: _angular_core.InputSignal<string>;
|
|
91
|
+
/** Angular `RouterLink` target — string or array form for dynamic segments. */
|
|
92
|
+
readonly routerLink: _angular_core.InputSignal<string | readonly unknown[] | null>;
|
|
93
|
+
/** Applies the active style; also drives `aria-current` when not using `routerLink`. */
|
|
94
|
+
readonly active: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
95
|
+
/** Numeric count shown at the end of the item. */
|
|
96
|
+
readonly badge: _angular_core.InputSignal<number | null>;
|
|
97
|
+
/** Shows an alert dot alongside the badge. */
|
|
98
|
+
readonly hasAlert: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
99
|
+
/** Disables the item — non-navigable and styled as inactive. */
|
|
100
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
101
|
+
/** Emitted on click, carrying the `MouseEvent`. On an `href` item,
|
|
102
|
+
* `preventDefault()` intercepts navigation (e.g. a docs sidebar driving
|
|
103
|
+
* scroll-spy); a `routerLink` item navigates regardless — Angular's
|
|
104
|
+
* RouterLink ignores `defaultPrevented` — so treat it as a click hook there. */
|
|
105
|
+
readonly activate: _angular_core.OutputEmitterRef<MouseEvent>;
|
|
106
|
+
/** Whether THIS item draws its edge marker when active. Unset follows the parent
|
|
107
|
+
* `ds-sidenav`, then on — the same "null means not deciding" reading as the rest
|
|
108
|
+
* of the library, so a sidenav-wide `[rail]="false"` is not fought per item. */
|
|
109
|
+
readonly rail: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
110
|
+
private readonly sidenav;
|
|
111
|
+
protected readonly railResolved: _angular_core.Signal<boolean>;
|
|
112
|
+
protected onActivate(event: MouseEvent): void;
|
|
113
|
+
/** Tooltip text shown when collapsed; empty string suppresses the tooltip when expanded. */
|
|
114
|
+
protected readonly collapsedTooltip: _angular_core.Signal<string>;
|
|
115
|
+
protected readonly collapsedAriaLabel: _angular_core.Signal<string | null>;
|
|
116
|
+
protected readonly linkClasses: _angular_core.Signal<string>;
|
|
117
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidenavItemComponent, never>;
|
|
118
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidenavItemComponent, "ds-sidenav-item", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "badge": { "alias": "badge"; "required": false; "isSignal": true; }; "hasAlert": { "alias": "hasAlert"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "rail": { "alias": "rail"; "required": false; "isSignal": true; }; }, { "activate": "activate"; }, never, ["[icon]", "[trailing]"], true, never>;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
interface SidenavItemModel {
|
|
122
|
+
id: string;
|
|
123
|
+
label: string;
|
|
124
|
+
href?: string;
|
|
125
|
+
active?: boolean;
|
|
126
|
+
badge?: number | null;
|
|
127
|
+
hasAlert?: boolean;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export { BrandNameDirective, SIDENAV, SidenavComponent, SidenavGroupComponent, SidenavItemComponent };
|
|
131
|
+
export type { SidenavContract, SidenavItemModel };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class SkeletonComponent {
|
|
4
|
+
/** CSS width of the placeholder (e.g. `'120px'`, `'50%'`). */
|
|
5
|
+
readonly width: _angular_core.InputSignal<string | undefined>;
|
|
6
|
+
/** CSS height of the placeholder. */
|
|
7
|
+
readonly height: _angular_core.InputSignal<string | undefined>;
|
|
8
|
+
/** Pill radius, for avatar/dot-shaped placeholders. */
|
|
9
|
+
readonly circle: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
10
|
+
/** `display: inline-block` instead of `block`, to sit inline with text. */
|
|
11
|
+
readonly inline: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonComponent, never>;
|
|
13
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonComponent, "ds-skeleton", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "circle": { "alias": "circle"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { SkeletonComponent };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
2
|
+
import { DsControlValueAccessor } from '@ids-group-ltd/ids-design-system/components';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
|
|
5
|
+
type SliderValue = number | readonly [number, number];
|
|
6
|
+
declare class SliderComponent extends DsControlValueAccessor<SliderValue> {
|
|
7
|
+
/** Current value, or `[low, high]` when `range`. Two-way bound. */
|
|
8
|
+
readonly value: _angular_core.ModelSignal<SliderValue>;
|
|
9
|
+
/** Minimum selectable value. */
|
|
10
|
+
readonly min: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
11
|
+
/** Maximum selectable value. */
|
|
12
|
+
readonly max: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
13
|
+
/** Increment applied when dragging (snap) or nudging with arrow keys. */
|
|
14
|
+
readonly step: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
15
|
+
/** Two-thumb range mode — `value` becomes a `[low, high]` tuple. */
|
|
16
|
+
readonly range: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
17
|
+
/** Disables the slider and blocks all interaction. */
|
|
18
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
19
|
+
/** Accessible name for the thumb(s) — suffixed "minimum"/"maximum" in `range` mode. */
|
|
20
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
21
|
+
private readonly track;
|
|
22
|
+
private dragging;
|
|
23
|
+
protected readonly uid: string;
|
|
24
|
+
protected readonly hintId: _angular_core.Signal<string | null>;
|
|
25
|
+
private readonly fieldMessage;
|
|
26
|
+
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
27
|
+
protected readonly invalidResolved: _angular_core.Signal<boolean>;
|
|
28
|
+
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
29
|
+
protected readonly thumbValues: _angular_core.Signal<number[]>;
|
|
30
|
+
protected readonly fill: _angular_core.Signal<{
|
|
31
|
+
left: number;
|
|
32
|
+
width: number;
|
|
33
|
+
}>;
|
|
34
|
+
protected percent(value: number): number;
|
|
35
|
+
protected thumbMin(index: number): number;
|
|
36
|
+
protected thumbMax(index: number): number;
|
|
37
|
+
protected onTrackPointerDown(event: PointerEvent): void;
|
|
38
|
+
protected onTrackPointerMove(event: PointerEvent): void;
|
|
39
|
+
protected onTrackPointerUp(event: PointerEvent): void;
|
|
40
|
+
protected thumbAriaLabel(index: number): string | null;
|
|
41
|
+
protected onThumbKeydown(event: KeyboardEvent, index: number): void;
|
|
42
|
+
private nearestThumb;
|
|
43
|
+
private updateFromClientX;
|
|
44
|
+
private valueFromClientX;
|
|
45
|
+
private setThumb;
|
|
46
|
+
private snap;
|
|
47
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SliderComponent, never>;
|
|
48
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SliderComponent, "ds-slider", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "range": { "alias": "range"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export { SliderComponent };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { DsSize } from '@ids-group-ltd/ids-design-system/core';
|
|
3
|
+
|
|
4
|
+
declare class SpinnerComponent {
|
|
5
|
+
/** Spinner size — sm/md/lg. */
|
|
6
|
+
readonly size: i0.InputSignal<DsSize>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "ds-spinner", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { SpinnerComponent };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
3
|
+
import { PopoverComponent } from '@ids-group-ltd/ids-design-system/components/popover';
|
|
4
|
+
|
|
5
|
+
type SplitButtonVariant = 'primary' | 'outline';
|
|
6
|
+
interface SplitButtonItem {
|
|
7
|
+
label: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
icon?: IconName;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
error?: boolean;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare class SplitButtonComponent {
|
|
15
|
+
/** Label text on the main button. */
|
|
16
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
17
|
+
/** Visual style — primary (solid) or outline. */
|
|
18
|
+
readonly variant: _angular_core.InputSignal<SplitButtonVariant>;
|
|
19
|
+
/** Icon shown on the main button, before the label. */
|
|
20
|
+
readonly icon: _angular_core.InputSignal<IconName | null>;
|
|
21
|
+
/** Disables both the main button and the dropdown trigger. */
|
|
22
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
23
|
+
/** Items listed in the dropdown menu. */
|
|
24
|
+
readonly menuItems: _angular_core.InputSignal<readonly SplitButtonItem[]>;
|
|
25
|
+
/** Accessible name for the dropdown trigger. */
|
|
26
|
+
readonly menuLabel: _angular_core.InputSignal<string>;
|
|
27
|
+
/** Fires when the main button (not the dropdown trigger) is clicked. */
|
|
28
|
+
readonly pressed: _angular_core.OutputEmitterRef<MouseEvent>;
|
|
29
|
+
/** Fires with the chosen menu item. */
|
|
30
|
+
readonly itemSelected: _angular_core.OutputEmitterRef<SplitButtonItem>;
|
|
31
|
+
protected onItemSelect(item: SplitButtonItem): void;
|
|
32
|
+
protected onTriggerKeydown(event: KeyboardEvent, popover: PopoverComponent, trigger: HTMLElement): void;
|
|
33
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SplitButtonComponent, never>;
|
|
34
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SplitButtonComponent, "ds-split-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "menuItems": { "alias": "menuItems"; "required": false; "isSignal": true; }; "menuLabel": { "alias": "menuLabel"; "required": false; "isSignal": true; }; }, { "pressed": "pressed"; "itemSelected": "itemSelected"; }, never, ["*"], true, never>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { SplitButtonComponent };
|
|
38
|
+
export type { SplitButtonItem, SplitButtonVariant };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class StatComponent {
|
|
4
|
+
constructor();
|
|
5
|
+
/** Metric name shown above the value. */
|
|
6
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
7
|
+
/** Headline metric; `unit` is appended directly after it.
|
|
8
|
+
*
|
|
9
|
+
* Optional because the value can be PROJECTED instead — `[dsStatValue]`
|
|
10
|
+
* takes a badge, a status dot, anything a tile needs where a number would go.
|
|
11
|
+
* The input is the fallback, the same shape `[delta]` already has.
|
|
12
|
+
*
|
|
13
|
+
* Namespaced, unlike `[delta]`: twenty components in this library have a
|
|
14
|
+
* `value` input, so a bare `value` attribute used to slot one of them in
|
|
15
|
+
* would also set that input to the empty string.
|
|
16
|
+
*
|
|
17
|
+
* Takes `null` so `[value]="count | number"` typechecks: Angular's own
|
|
18
|
+
* `number`/`date`/`percent` pipes are typed `string | null`, and without the null the
|
|
19
|
+
* idiomatic form fails `strictTemplates` and pushes consumers to `toLocaleString()` in
|
|
20
|
+
* the template — which hardcodes a locale instead of reading LOCALE_ID. Renders as
|
|
21
|
+
* nothing, like the empty default. */
|
|
22
|
+
readonly value: _angular_core.InputSignal<string | number | null>;
|
|
23
|
+
/** Change amount; sign drives the up/down arrow and color. */
|
|
24
|
+
readonly delta: _angular_core.InputSignal<number | null>;
|
|
25
|
+
/** Suffix appended after the delta's magnitude, e.g. "vs last month". */
|
|
26
|
+
readonly deltaLabel: _angular_core.InputSignal<string>;
|
|
27
|
+
/** Overrides the automatic up/down coloring of the delta. */
|
|
28
|
+
readonly deltaTone: _angular_core.InputSignal<"neutral" | "secondary" | null>;
|
|
29
|
+
/** Secondary text shown below the value when there's no `delta`. */
|
|
30
|
+
readonly caption: _angular_core.InputSignal<string>;
|
|
31
|
+
/** Suffix appended directly after `value`, e.g. "%". */
|
|
32
|
+
readonly unit: _angular_core.InputSignal<string>;
|
|
33
|
+
/** `error` applies the error color treatment. */
|
|
34
|
+
readonly variant: _angular_core.InputSignal<"default" | "error">;
|
|
35
|
+
/** Controls the stat's overall type scale. */
|
|
36
|
+
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg">;
|
|
37
|
+
protected readonly deltaClasses: _angular_core.Signal<string>;
|
|
38
|
+
protected readonly deltaIcon: _angular_core.Signal<"arrowUp" | "arrowDown" | null>;
|
|
39
|
+
protected readonly deltaText: _angular_core.Signal<string>;
|
|
40
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StatComponent, never>;
|
|
41
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StatComponent, "ds-stat", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "delta": { "alias": "delta"; "required": false; "isSignal": true; }; "deltaLabel": { "alias": "deltaLabel"; "required": false; "isSignal": true; }; "deltaTone": { "alias": "deltaTone"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["[dsStatValue]", "[delta]"], true, never>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { StatComponent };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class StatusDotComponent {
|
|
4
|
+
/** Consumer-defined status key; colours are wired via styles/status. */
|
|
5
|
+
readonly status: _angular_core.InputSignal<string | undefined>;
|
|
6
|
+
/** Override the colour-only status with a human label for assistive tech. */
|
|
7
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
8
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StatusDotComponent, never>;
|
|
9
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StatusDotComponent, "ds-status-dot", never, { "status": { "alias": "status"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { StatusDotComponent };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
/** Where the step caption sits relative to its node: stacked beneath it
|
|
4
|
+
* (`bottom`, full-width wizard) or beside it (`inline`, compact header row). */
|
|
5
|
+
type StepperLabelPosition = 'bottom' | 'inline';
|
|
6
|
+
/** Layout axis of the stepper. */
|
|
7
|
+
type StepperOrientation = 'horizontal' | 'vertical';
|
|
8
|
+
declare class StepperComponent {
|
|
9
|
+
/** Step labels, in order — one node is rendered per entry. */
|
|
10
|
+
readonly steps: _angular_core.InputSignal<readonly string[]>;
|
|
11
|
+
/** Zero-based index of the active step; earlier steps render as completed. */
|
|
12
|
+
readonly current: _angular_core.InputSignal<number>;
|
|
13
|
+
/** Where the step caption sits relative to its node. */
|
|
14
|
+
readonly labelPosition: _angular_core.InputSignal<StepperLabelPosition>;
|
|
15
|
+
/** Layout axis of the stepper. */
|
|
16
|
+
readonly orientation: _angular_core.InputSignal<StepperOrientation>;
|
|
17
|
+
/** When true, each step node renders as a button and emits its index on activation. */
|
|
18
|
+
readonly clickable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
19
|
+
/** Zero-based indices of steps in an error state. Error wins over completed/current/upcoming. */
|
|
20
|
+
readonly errorSteps: _angular_core.InputSignal<readonly number[]>;
|
|
21
|
+
/** Fires with a step's index when it's activated (only when `clickable`). */
|
|
22
|
+
readonly stepClicked: _angular_core.OutputEmitterRef<number>;
|
|
23
|
+
protected stepState(index: number): 'error' | 'completed' | 'current' | 'upcoming';
|
|
24
|
+
protected nodeClass(index: number): string;
|
|
25
|
+
protected connectorClass(index: number): string;
|
|
26
|
+
protected onStepClick(index: number): void;
|
|
27
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StepperComponent, never>;
|
|
28
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StepperComponent, "ds-stepper", never, { "steps": { "alias": "steps"; "required": false; "isSignal": true; }; "current": { "alias": "current"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "errorSteps": { "alias": "errorSteps"; "required": false; "isSignal": true; }; }, { "stepClicked": "stepClicked"; }, never, never, true, never>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { StepperComponent };
|
|
32
|
+
export type { StepperLabelPosition, StepperOrientation };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
2
|
+
import { DsBooleanControlValueAccessor } from '@ids-group-ltd/ids-design-system/components';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
import { DsSize } from '@ids-group-ltd/ids-design-system/core';
|
|
5
|
+
|
|
6
|
+
declare class SwitchComponent extends DsBooleanControlValueAccessor {
|
|
7
|
+
/** On/off state, two-way bound. */
|
|
8
|
+
readonly checked: _angular_core.ModelSignal<boolean>;
|
|
9
|
+
/** Disables the switch and blocks all interaction. */
|
|
10
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
11
|
+
/** Native `name` attribute. */
|
|
12
|
+
readonly name: _angular_core.InputSignal<string | null>;
|
|
13
|
+
/** Track colour when checked. */
|
|
14
|
+
readonly variant: _angular_core.InputSignal<"default" | "success" | "error">;
|
|
15
|
+
/** Overrides the generated id used by the native `<input>` and its `<label for>`. */
|
|
16
|
+
readonly inputId: _angular_core.InputSignal<string | null>;
|
|
17
|
+
/** Switch size — sm/md/lg.
|
|
18
|
+
* Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
|
|
19
|
+
readonly size: _angular_core.InputSignal<DsSize | null>;
|
|
20
|
+
readonly sizeResolved: _angular_core.Signal<DsSize>;
|
|
21
|
+
/** Marks the field required — shows an asterisk and sets `aria-required`. */
|
|
22
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
23
|
+
/** Inline label rendered beside the track and wired via for/id. Omit to
|
|
24
|
+
* bring your own <label>. */
|
|
25
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
26
|
+
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
27
|
+
protected readonly uid: string;
|
|
28
|
+
protected readonly controlId: _angular_core.Signal<string>;
|
|
29
|
+
protected readonly hintId: _angular_core.Signal<string | null>;
|
|
30
|
+
private readonly fieldMessage;
|
|
31
|
+
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
32
|
+
protected readonly invalidResolved: _angular_core.Signal<boolean>;
|
|
33
|
+
protected readonly switchClasses: _angular_core.Signal<string>;
|
|
34
|
+
protected readonly fieldClass: _angular_core.Signal<string>;
|
|
35
|
+
protected onCheckedChange(event: Event): void;
|
|
36
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SwitchComponent, never>;
|
|
37
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SwitchComponent, "ds-switch", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, ["*"], true, never>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { SwitchComponent };
|