@ids-group-ltd/ids-design-system 0.13.3 → 0.13.4
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 +846 -14
- package/components.md +552 -29
- package/design-system.md +9 -0
- package/docs/agent/INDEX.md +57 -15
- package/docs/agent/charts/chart-colour-which-palette-a-chart-takes.md +1 -1
- package/docs/agent/charts/column-series-component.md +8 -0
- package/docs/agent/charts/ds-bar-chart.md +6 -1
- package/docs/agent/charts/ds-chart-data-table.md +10 -0
- package/docs/agent/charts/ds-chart.md +8 -0
- package/docs/agent/charts/ds-column-chart.md +5 -1
- package/docs/agent/charts/ds-funnel-chart.md +5 -1
- package/docs/agent/charts/ds-heatmap-chart.md +20 -0
- package/docs/agent/charts/ds-line-chart.md +8 -4
- package/docs/agent/charts/{ds-donut-chart.md → ds-pie-chart.md} +10 -6
- package/docs/agent/charts/ds-scatter-chart.md +20 -0
- package/docs/agent/charts/ds-waterfall-chart.md +20 -0
- package/docs/agent/charts/line-series-component.md +8 -0
- package/docs/agent/charts/reference-label-component.md +8 -0
- package/docs/agent/charts/reference-line-component.md +8 -0
- package/docs/agent/charts/series-annotation-component.md +10 -0
- package/docs/agent/feedback/ds-alert.md +4 -0
- package/docs/agent/feedback/ds-avatar-group.md +4 -0
- package/docs/agent/feedback/ds-avatar.md +4 -0
- package/docs/agent/feedback/ds-badge.md +4 -0
- package/docs/agent/feedback/ds-banner.md +5 -1
- package/docs/agent/feedback/ds-bar.md +4 -0
- package/docs/agent/feedback/ds-description-item.md +8 -0
- package/docs/agent/feedback/ds-description-list.md +8 -0
- package/docs/agent/feedback/ds-empty-state.md +4 -0
- package/docs/agent/feedback/ds-list-item.md +8 -0
- package/docs/agent/feedback/ds-list.md +8 -0
- package/docs/agent/feedback/ds-loading-overlay.md +8 -0
- package/docs/agent/feedback/ds-skeleton.md +4 -0
- package/docs/agent/feedback/ds-spinner.md +4 -0
- package/docs/agent/feedback/ds-stat.md +4 -0
- package/docs/agent/feedback/ds-status-dot.md +4 -0
- package/docs/agent/feedback/ds-tag.md +4 -0
- package/docs/agent/feedback/ds-timeline-item.md +8 -0
- package/docs/agent/feedback/ds-toast-region.md +8 -0
- package/docs/agent/feedback/ds-toast.md +4 -0
- package/docs/agent/feedback/ds-tree.md +8 -0
- package/docs/agent/forms/ds-autocomplete.md +4 -0
- package/docs/agent/forms/ds-button-group.md +8 -0
- package/docs/agent/forms/ds-button.md +6 -2
- package/docs/agent/forms/ds-checkbox.md +4 -0
- package/docs/agent/forms/ds-color-picker.md +8 -0
- package/docs/agent/forms/ds-date-picker.md +5 -1
- package/docs/agent/forms/ds-dropzone.md +4 -0
- package/docs/agent/forms/ds-field-group.md +8 -0
- package/docs/agent/forms/ds-filter-bar.md +8 -0
- package/docs/agent/forms/ds-icon-button.md +4 -0
- package/docs/agent/forms/ds-input.md +13 -1
- package/docs/agent/forms/ds-multi-select.md +4 -0
- package/docs/agent/forms/ds-number-stepper.md +4 -0
- package/docs/agent/forms/ds-otp-input.md +8 -0
- package/docs/agent/forms/ds-password-rules.md +8 -0
- package/docs/agent/forms/ds-radio-group.md +8 -0
- package/docs/agent/forms/ds-radio.md +4 -0
- package/docs/agent/forms/ds-search.md +4 -0
- package/docs/agent/forms/ds-segmented.md +8 -0
- package/docs/agent/forms/ds-select.md +4 -0
- package/docs/agent/forms/ds-slider.md +8 -0
- package/docs/agent/forms/ds-split-button.md +8 -0
- package/docs/agent/forms/ds-switch.md +4 -0
- package/docs/agent/forms/ds-textarea.md +5 -1
- package/docs/agent/forms/ds-time-picker.md +8 -0
- package/docs/agent/forms/ds-toggle-button.md +8 -0
- package/docs/agent/forms/filter-item-directive.md +8 -0
- package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +4 -0
- package/docs/agent/navigation/ds-app-layout.md +6 -2
- package/docs/agent/navigation/ds-auth-layout.md +5 -1
- package/docs/agent/navigation/ds-breadcrumbs.md +4 -0
- package/docs/agent/navigation/ds-container.md +8 -0
- package/docs/agent/navigation/ds-divider.md +4 -0
- package/docs/agent/navigation/ds-inline.md +8 -0
- package/docs/agent/navigation/ds-page-footer.md +4 -0
- package/docs/agent/navigation/ds-page-header.md +5 -1
- package/docs/agent/navigation/ds-pagination.md +5 -1
- package/docs/agent/navigation/ds-sidenav-footer.md +8 -0
- package/docs/agent/navigation/ds-sidenav-group.md +4 -0
- package/docs/agent/navigation/ds-sidenav-item.md +4 -0
- package/docs/agent/navigation/ds-sidenav.md +4 -0
- package/docs/agent/navigation/ds-stack.md +8 -0
- package/docs/agent/navigation/ds-stepper.md +4 -0
- package/docs/agent/navigation/ds-tab.md +8 -0
- package/docs/agent/navigation/ds-tabs.md +5 -1
- package/docs/agent/overlays/ds-bottom-sheet.md +4 -0
- package/docs/agent/overlays/ds-drawer.md +4 -0
- package/docs/agent/overlays/ds-menu.md +4 -0
- package/docs/agent/overlays/ds-modal-card.md +4 -0
- package/docs/agent/overlays/ds-modal.md +4 -0
- package/docs/agent/overlays/ds-popover.md +4 -0
- package/docs/agent/overlays/ds-tooltip-panel.md +8 -0
- package/docs/agent/overlays/ds-tooltip.md +4 -0
- package/docs/agent/surfaces/ds-accordion-item.md +8 -0
- package/docs/agent/surfaces/ds-accordion.md +4 -0
- package/docs/agent/surfaces/ds-card.md +6 -2
- package/docs/agent/tables/ds-cell-template.md +8 -0
- package/docs/agent/tables/ds-table-columns.md +8 -0
- package/docs/agent/tables/ds-table-export.md +8 -0
- package/docs/agent/tables/ds-table.md +9 -2
- package/docs/agent/tables/header-filter-directive.md +8 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +10 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +19 -19
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +7 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +9 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +117 -27
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +7 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +32 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +14 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +404 -55
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +8 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +27 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +23 -16
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +20 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +217 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +181 -500
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +6 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +7 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +14 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +391 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +300 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +9 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +7 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +4 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +9 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +34 -21
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +252 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +271 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +7 -3
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.10.0.json +2 -2
- package/migrations/0.10.1.json +3 -3
- package/migrations/0.10.2.json +8 -28
- package/migrations/0.11.0.json +3 -3
- package/migrations/0.11.1.json +15 -15
- package/migrations/0.11.2.json +9 -9
- package/migrations/0.11.3.json +1 -1
- package/migrations/0.11.4.json +8 -8
- package/migrations/0.12.1.json +1 -1
- package/migrations/0.12.2.json +1 -1
- package/migrations/0.12.3.json +3 -3
- package/migrations/0.13.0.json +24 -32
- package/migrations/0.13.1.json +5 -5
- package/migrations/0.13.4.json +994 -0
- package/migrations/0.5.0.json +1 -1
- package/migrations/0.8.0.json +4 -3
- package/migrations/0.9.0.json +1 -1
- package/package.json +41 -9
- package/styles/_chart-frame.scss +16 -3
- package/styles/_check-box.scss +12 -12
- package/styles/_dropdown-overlay.scss +14 -10
- package/styles/_field-box.scss +3 -3
- package/styles/_field-label.scss +7 -7
- package/styles/_overlay-motion.scss +1 -1
- package/styles/_table-controls.scss +3 -3
- package/styles/_tokens-charts.scss +40 -7
- package/styles/_tokens.scss +2 -2
- package/styles/_typography.scss +101 -101
- package/themes/dark/_theme.scss +13 -0
- package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +3 -3
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +5 -4
- package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +17 -17
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +37 -4
- package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +8 -4
- package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +31 -0
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +4 -0
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +230 -44
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +9 -7
- package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +4 -4
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +5 -2
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +124 -0
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +85 -139
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +13 -1
- package/types/{ids-group-ltd-ids-design-system-components-donut-chart.d.ts → ids-group-ltd-ids-design-system-components-pie-chart.d.ts} +24 -19
- package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +183 -0
- package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +5 -1
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +3 -0
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +11 -11
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +5 -2
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +116 -0
- package/types/ids-group-ltd-ids-design-system-components.d.ts +97 -4
- package/types/ids-group-ltd-ids-design-system-core.d.ts +30 -7
- package/types/ids-group-ltd-ids-design-system.d.ts +14 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs +0 -382
- package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ids-group-ltd-ids-design-system-core.mjs","sources":["../../../src/lib/core/backdrop-dismiss.ts","../../../src/lib/core/ds-config.ts","../../../src/lib/core/config-defaults.ts","../../../src/lib/core/dev-warning.ts","../../../src/lib/core/field-bounds.ts","../../../src/lib/core/icon-names.ts","../../../src/lib/core/key-target.ts","../../../src/lib/core/text-clip.ts","../../../src/lib/core/list-cursor.ts","../../../src/lib/core/option.ts","../../../src/lib/core/ids-group-ltd-ids-design-system-core.ts"],"sourcesContent":["/**\n * Dismiss-on-backdrop for a backdrop that WRAPS its dialog.\n *\n * `click` cannot be trusted there: the browser fires it at the nearest common\n * ancestor of the press and the release, so a drag that starts inside the dialog and\n * ends on the backdrop fires `click` ON THE BACKDROP, and a\n * `target === currentTarget` check waves it through. Hence tracking the press:\n * dismiss only when press AND release both land on the backdrop itself. `ds-drawer` needs none of this because its scrim\n * is a SIBLING of the panel, which makes their common ancestor a third element.\n * @internal\n */\nexport function backdropDismiss(): {\n down: (event: PointerEvent) => void;\n shouldDismiss: (event: PointerEvent) => boolean;\n} {\n let pressedOnBackdrop = false;\n\n return {\n down(event: PointerEvent): void {\n pressedOnBackdrop =\n event.button === 0 && event.target === event.currentTarget;\n },\n shouldDismiss(event: PointerEvent): boolean {\n const dismiss =\n pressedOnBackdrop &&\n event.button === 0 &&\n event.target === event.currentTarget;\n pressedOnBackdrop = false;\n\n return dismiss;\n },\n };\n}\n","import { InjectionToken, Provider, inject } from '@angular/core';\nimport type { IconName } from './icon-names';\nimport type { DsSize } from './size';\nimport type { CardElevation, CardPadding } from './card.types';\nimport type {\n ChartDataTable,\n ChartFrame,\n ChartValueFormat,\n} from './chart.types';\nimport type { DsToastPosition } from './toast-position';\n\nexport interface DsConfig {\n field?: {\n /** Default for every field's `reserveMessage` — keeps a message line's worth\n * of space even when empty. Default `false`. Setting `true` here applies to\n * EVERY field in the injector's subtree, which is rarely what a whole app\n * wants; prefer `dsReserveMessages` on the individual form that validates. */\n reserveMessage?: boolean;\n /** Fallback text per validation-error kind, for errors whose validator did\n * not carry a `message` — Angular's built-ins never do, so this is where\n * `required`, `minlength`, `email` and friends get their wording. A message\n * on the error itself always wins, so one shared map here plus a per-case\n * override at the validator covers both. Unmapped kinds warn in dev. */\n errorMessages?: Record<string, string>;\n /** Leading glyph on a field's message line, per state. Defaults carry one for\n * `error`, `warning` and `success` and NONE for `hint`, which is resting text\n * rather than a state. Each key is independent — a glyph name replaces the\n * default, `false` removes it, and `stateIcons: false` removes all four.\n *\n * The glyphs exist because warning and success differ from each other by hue\n * and nothing else, which WCAG 1.4.1 forbids a state from resting on. */\n stateIcons?:\n | false\n | {\n error?: IconName | false;\n warning?: IconName | false;\n success?: IconName | false;\n /** The `default` state — the hint line. Off unless set. */\n hint?: IconName | false;\n };\n };\n breadcrumbs?: {\n separator?: IconName;\n clickable?: boolean;\n };\n timePicker?: {\n /** Display format for `ds-time-picker` / date-picker time — 24h or 12h AM/PM. Default `'24h'`. */\n format?: '24h' | '12h';\n };\n avatar?: {\n /** How `ds-avatar` turns its `name` into initials, app-wide. The built-in rule\n * takes the first two words, which is a Latin-script guess — an app whose names\n * follow another convention supplies its own here. */\n initials?: (name: string) => string;\n };\n brand?: {\n /** Brand text for `ds-sidenav` and `ds-auth-layout` — the wordmark, and the\n * source of the letter-mark's glyph when `logoLetter` is unset. */\n name?: string;\n /** Letter-mark glyph when it differs from the brand's first character. */\n logoLetter?: string;\n /** Strapline under the brand row. `ds-auth-layout` only. */\n tagline?: string;\n /* No accent key on purpose: a two-tone wordmark is projected markup\n (`[dsBrandName]`), so the consumer says where the accent belongs. A config\n string would have to be split back apart, which is the guessing the\n projection exists to avoid. */\n };\n modal?: {\n /** Default for `dividers` on `ds-modal` and `ds-modal-card`. Default `true`.\n * Configurable app-wide because a `ModalService` confirm renders a card with no\n * `ds-modal` ancestor to bind — an attribute cannot reach it. */\n dividers?: boolean;\n };\n toast?: {\n /** Where the stack sits. Merged field by field over the built-in\n * `right` / `top` / `var(--space-6)`, so naming one key keeps the other two. */\n position?: Partial<DsToastPosition>;\n /** Maximum number of toasts visible at once. Extras are queued and shown as\n * earlier ones dismiss. Default `5`; `0` means unlimited. */\n maxVisible?: number;\n };\n picker?: {\n /** Default for `ds-multi-select``s `searchable`. `true` always shows the panel's\n * filter row, `false` never, and a NUMBER is a threshold — the row appears once\n * there are at least that many options. Default `true`. One threshold for the\n * app is the point: left to each call site, two panels of the same length in\n * the same screen end up disagreeing. */\n searchable?: boolean | number;\n };\n\n control?: {\n /** Default `size` for every control on the field-height contract. Default `'md'`.\n *\n * A different axis from `[data-density]`: that tier rewrites hit targets and\n * padding in CSS, this picks which of the three declared sizes a control renders\n * at. A screen that differs still binds `size` per element. */\n size?: DsSize;\n };\n card?: {\n /** Default `elevation` for `ds-card`. Default `'flat'`. */\n elevation?: CardElevation;\n /** Default `padding` preset for `ds-card`. Unset keeps the card's own. */\n padding?: CardPadding;\n };\n table?: {\n /** Default for `ds-table`'s `stickyScrollbar` — the proxy that keeps the\n * horizontal bar reachable on a tall table. Default `false`. Here rather than\n * per table because every new table is one forgotten binding away from\n * scrolling invisibly. */\n stickyScrollbar?: boolean;\n /** Default for `ds-table`'s `bordered` — the outer border and radius.\n * Default `false`. */\n bordered?: boolean;\n /** Default for `ds-table`'s `stickyScrollbarOffset` — where the sticky horizontal bar comes\n * to rest, as any CSS length. Unset, each table measures its own scroll container's bottom\n * padding and cancels it, which puts the bar on the edge the reader sees; set this for an app\n * whose scrollports end somewhere else, so every table agrees without a binding each. */\n stickyScrollbarOffset?: string;\n };\n icon?: {\n /** Default pixel `size` for `ds-icon`. Default `16`. */\n size?: number;\n };\n badge?: {\n /** Default for `ds-badge`'s `withDot` — the leading status dot. Default `false`. */\n withDot?: boolean;\n };\n chart?: {\n /** Default `dataTable` for all five charts. Default `'none'`. It is an accessibility policy\n * rather than a per-chart taste — whether the numbers behind a plot have a non-visual route is\n * decided once for an app, not thirty times, so an app that wants the annex everywhere sets\n * `'toggle'` here once rather than on every chart. Off by default: a chart usually sits in a\n * page that already carries its numbers, and an unasked-for disclosure under every plot is\n * chrome the page did not ask for. */\n dataTable?: ChartDataTable;\n /** Whether every chart draws its own bordered, padded box. Default `'auto'`, which draws it.\n * Whether charts live inside cards is decided once for an app — a page that puts every chart\n * in a card sets `'none'` here rather than reaching into five components' chrome from a\n * global stylesheet. */\n frame?: ChartFrame;\n /** How long every chart's tooltip stays after the pointer leaves the mark, in milliseconds.\n * Default 0. Raise it only where the panels carry something a reader has to reach — WCAG\n * 1.4.13's hoverable clause — which is a property of what an app puts in its tooltips rather\n * than of one plot. About 140 is enough to cross the gap at an ordinary pointer speed. */\n tooltipLingerMs?: number;\n /** Shown in place of the plot when a chart's data is empty. Default `'No data'`. */\n emptyText?: string;\n /** Shown in place of the plot when a chart has `error` set. Default\n * `'Could not load the data'`. */\n errorText?: string;\n /** How every chart formats its values, the annex table and the generated description included.\n * Default is the browser's locale grouping with a K/M/B suffix past four digits. The same\n * reason `datePicker.locale` lives here: a number reads one way in an app, and a formatter\n * passed per chart drifts as soon as there are two screens. */\n valueFormat?: ChartValueFormat;\n };\n datePicker?: {\n /** BCP-47 locale for `ds-date-picker` names + value format. Default `'en-US'`. */\n locale?: string;\n /** Explicit token format e.g. `'MM/DD/YYYY'`; overrides the locale-derived order. */\n dateFormat?: string;\n /** First weekday column: 0=Sunday … 6=Saturday. Default `1` (Monday). */\n firstDayOfWeek?: number;\n };\n}\n\nexport const DS_CONFIG = new InjectionToken<DsConfig>('DS_CONFIG', {\n factory: () => ({}),\n});\n\n/** Provide DS-level defaults.\n *\n * providers: [provideDsConfig({ control: { size: 'sm' } })]\n *\n * Works at the app root, on a `Route`, or on a component/directive — the config\n * resolves through the element-injector chain, so a subtree can differ from the\n * app. Component inputs (e.g. `<ds-card padding=\"lg\">`) still win.\n *\n * A nested call MERGES with the config above it section by section; only the keys\n * you name are replaced. ONE call per injector, though: two in the SAME\n * `providers` array both resolve their parent with `skipSelf`, so the later wins\n * and the earlier is silently lost.\n */\nexport function provideDsConfig(config: DsConfig): Provider {\n return { provide: DS_CONFIG, useFactory: () => inheritDsConfig(config) };\n}\n\n/**\n * The factory body behind `provideDsConfig`, exported so a directive can put the\n * provider in its metadata as a plain object literal. Calling `provideDsConfig`\n * there instead runs at module-evaluation time, which makes the module\n * side-effectful and costs the consumer its tree-shaking (measured at +566 kB\n * moved into the eager chunk).\n *\n * Must be called from an injection context.\n */\nexport function inheritDsConfig(config: DsConfig): DsConfig {\n return mergeDsConfig(\n inject(DS_CONFIG, { skipSelf: true, optional: true }) ?? {},\n config,\n );\n}\n\nfunction mergeDsConfig(parent: DsConfig, own: DsConfig): DsConfig {\n const merged: DsConfig = { ...parent };\n for (const section of Object.keys(own) as (keyof DsConfig)[]) {\n Object.assign(merged, {\n [section]: { ...parent[section], ...own[section] },\n });\n }\n\n return merged;\n}\n","import { Signal, computed, inject } from '@angular/core';\nimport { DS_CONFIG, type DsConfig } from './ds-config';\n\n/**\n * Resolve an input against `DS_CONFIG`, then a built-in default.\n *\n * The input must be typed `T | null` and default to `null`: a signal input cannot\n * report whether it was bound, so `null` is what separates \"not set\" from an explicit\n * value. Precedence is input → config → built-in. Call from an injection context.\n * @internal\n */\nexport function resolveWithConfig<T>(\n value: Signal<T | null>,\n pick: (config: DsConfig) => T | undefined,\n fallback: T,\n): Signal<T> {\n const config = inject(DS_CONFIG);\n\n return computed(() => value() ?? pick(config) ?? fallback);\n}\n","import { effect, isDevMode } from '@angular/core';\n\n/**\n * Warns once per distinct message, not once per recomputation: the effect re-runs whenever any\n * signal the condition reads changes, so without that a static misconfiguration would log again\n * on every keystroke.\n *\n * Returning the message from the condition keeps the two together — a condition\n * that drifts from its message is how a warning ends up describing a state that\n * cannot happen any more.\n *\n * Must be called from an injection context.\n *\n * Callers wrap this in `if (typeof ngDevMode === 'undefined' || ngDevMode)`. That is\n * a BUILD-time expression, not a repeat of the `isDevMode()` below: the intent is for\n * a minifier to fold it and drop the message with it, which `isDevMode()` — an opaque\n * call — can never allow. It cannot become a helper function for the same reason.\n *\n * It does work: `ds-stat` and `ds-split-button` compile to `constructor(){}` in the\n * shipped bundle. `ds-toast-region`'s strip is UNVERIFIED — the bundle came out\n * byte-identical after adding the guard, so re-check on a clean `.angular/cache`.\n * @internal\n */\nexport function devWarn(message: () => string | null): void {\n if (!isDevMode()) {\n return;\n }\n const seen = new Set<string>();\n effect(() => {\n const text = message();\n if (!text || seen.has(text)) {\n return;\n }\n seen.add(text);\n console.warn(text);\n });\n}\n","/**\n * Signal forms binds `min`, `max`, `minLength` and `maxLength` BY NAME and sends\n * `undefined` when the schema sets no bound. The DS spells an absent bound as\n * `null`, so the write type has to accept both while the read type stays what it\n * always was — otherwise every internal use and every consumer moves for nothing.\n *\n * Declared once here because it was copy-pasted across three controls, and an\n * explanation in three places is an explanation that drifts in two of them.\n * @internal\n */\nexport function optionalBound(value: number | null | undefined): number | null {\n return value ?? null;\n}\n\n/** As `optionalBound`, for a bound the control requires a value for.\n * @internal\n */\nexport function boundOr(fallback: number) {\n return (value: number | undefined): number => value ?? fallback;\n}\n","// All paths render inside <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\">, stroke-width 1.75.\n\nexport const ICONS = {\n search: '<circle cx=\"11\" cy=\"11\" r=\"7\" /><path d=\"m20 20-3.5-3.5\" />',\n plus: '<path d=\"M12 5v14M5 12h14\" />',\n minus: '<path d=\"M5 12h14\" />',\n check: '<path d=\"m4 12 5 5L20 6\" />',\n x: '<path d=\"M6 6l12 12M18 6L6 18\" />',\n chevronDown: '<path d=\"m6 9 6 6 6-6\" />',\n chevronRight: '<path d=\"m9 6 6 6-6 6\" />',\n chevronLeft: '<path d=\"m15 6-6 6 6 6\" />',\n chevronUp: '<path d=\"m6 15 6-6 6 6\" />',\n menu: '<path d=\"M4 6h16M4 12h16M4 18h16\" />',\n arrowRight: '<path d=\"M5 12h14M13 6l6 6-6 6\" />',\n arrowUp: '<path d=\"M12 19V5M6 11l6-6 6 6\" />',\n arrowDown: '<path d=\"M12 5v14M6 13l6 6 6-6\" />',\n info: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 8v.01M11 12h1v4h1\" />',\n warn: '<path d=\"M12 3 2 21h20L12 3z\" /><path d=\"M12 10v4M12 18v.01\" />',\n error: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 8v4M12 16v.01\" />',\n success: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"m8 12 3 3 5-6\" />',\n bell: '<path d=\"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9\" /><path d=\"M10 21a2 2 0 0 0 4 0\" />',\n settings:\n '<circle cx=\"12\" cy=\"12\" r=\"3\" /><path d=\"M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z\" />',\n user: '<circle cx=\"12\" cy=\"8\" r=\"4\" /><path d=\"M4 21a8 8 0 0 1 16 0\" />',\n users:\n '<circle cx=\"9\" cy=\"8\" r=\"4\" /><path d=\"M2 21a7 7 0 0 1 14 0\" /><path d=\"M16 4a4 4 0 0 1 0 8M22 21a6 6 0 0 0-6-6\" />',\n home: '<path d=\"m3 11 9-8 9 8\" /><path d=\"M5 10v10h14V10\" />',\n calendar:\n '<rect x=\"3\" y=\"5\" width=\"18\" height=\"16\" rx=\"2\" /><path d=\"M3 10h18M8 3v4M16 3v4\" />',\n truck:\n '<path d=\"M3 16V6a1 1 0 0 1 1-1h11v11\" /><path d=\"M15 9h4l2 3v4h-6\" /><circle cx=\"7.5\" cy=\"17.5\" r=\"2\" /><circle cx=\"17.5\" cy=\"17.5\" r=\"2\" />',\n box: '<path d=\"m21 8-9-5-9 5 9 5 9-5z\" /><path d=\"M3 8v8l9 5 9-5V8\" /><path d=\"m12 13 .01 8\" />',\n map: '<path d=\"m9 4-6 3v13l6-3 6 3 6-3V4l-6 3-6-3z\" /><path d=\"M9 4v13M15 7v13\" />',\n activity: '<path d=\"M3 12h4l3-9 4 18 3-9h4\" />',\n folder:\n '<path d=\"M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\" />',\n edit: '<path d=\"M12 20h9\" /><path d=\"M16.5 3.5a2.1 2.1 0 1 1 3 3L7 19l-4 1 1-4z\" />',\n external:\n '<path d=\"M14 4h6v6\" /><path d=\"M20 4 10 14\" /><path d=\"M20 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5\" />',\n trash:\n '<path d=\"M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\" /><path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6\" />',\n copy: '<rect x=\"9\" y=\"9\" width=\"11\" height=\"11\" rx=\"2\" /><path d=\"M5 15V5a2 2 0 0 1 2-2h10\" />',\n download: '<path d=\"M12 4v12M6 12l6 6 6-6\" /><path d=\"M4 20h16\" />',\n upload: '<path d=\"M12 20V8M6 12l6-6 6 6\" /><path d=\"M4 4h16\" />',\n eye: '<path d=\"M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z\" /><circle cx=\"12\" cy=\"12\" r=\"3\" />',\n filter: '<path d=\"M3 5h18l-7 9v6l-4-2v-4z\" />',\n sort: '<path d=\"M7 4v16M3 8l4-4 4 4\" /><path d=\"M17 20V4M21 16l-4 4-4-4\" />',\n sortAsc: '<path d=\"M7 18V6M3 10l4-4 4 4\" />',\n sortDesc: '<path d=\"M7 6v12M11 14l-4 4-4-4\" />',\n grid: '<rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"14\" width=\"7\" height=\"7\" />',\n list: '<path d=\"M8 6h13M8 12h13M8 18h13\" /><circle cx=\"3.5\" cy=\"6\" r=\"1.2\" /><circle cx=\"3.5\" cy=\"12\" r=\"1.2\" /><circle cx=\"3.5\" cy=\"18\" r=\"1.2\" />',\n moreH:\n '<circle cx=\"5\" cy=\"12\" r=\"1.5\" /><circle cx=\"12\" cy=\"12\" r=\"1.5\" /><circle cx=\"19\" cy=\"12\" r=\"1.5\" />',\n moreV:\n '<circle cx=\"12\" cy=\"5\" r=\"1.5\" /><circle cx=\"12\" cy=\"12\" r=\"1.5\" /><circle cx=\"12\" cy=\"19\" r=\"1.5\" />',\n link: '<path d=\"M10 14a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1\" /><path d=\"M14 10a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1\" />',\n flag: '<path d=\"M5 21V5a14 14 0 0 1 14 0v9a14 14 0 0 1-14 0z\" />',\n star: '<path d=\"m12 3 2.9 6 6.6.9-4.8 4.6 1.1 6.5L12 17.8 6.2 21l1.1-6.5L2.5 9.9 9.1 9z\" />',\n inbox:\n '<path d=\"M22 12h-6l-2 3h-4l-2-3H2\" /><path d=\"M5 4h14l3 8v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-8z\" />',\n archive:\n '<rect x=\"3\" y=\"3\" width=\"18\" height=\"5\" rx=\"1\" /><path d=\"M5 8v11a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8M10 12h4\" />',\n clock: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 7v5l3 2\" />',\n refresh:\n '<path d=\"M3 12a9 9 0 0 1 15-6.7L21 8\" /><path d=\"M21 3v5h-5\" /><path d=\"M21 12a9 9 0 0 1-15 6.7L3 16\" /><path d=\"M3 21v-5h5\" />',\n play: '<path d=\"M6 4l14 8-14 8z\" />',\n pause: '<path d=\"M7 4v16M17 4v16\" />',\n cmd: '<path d=\"M9 9h6v6H9zM6 9V7a3 3 0 1 1 3 3H6zM6 15v2a3 3 0 1 0 3-3H6zM18 9V7a3 3 0 1 0-3 3h3zM18 15v2a3 3 0 1 1-3-3h3z\" />',\n paperclip:\n '<path d=\"m21 11-9 9a5 5 0 0 1-7-7l9-9a3 3 0 0 1 4 4l-9 9a1 1 0 0 1-1-1l8-8\" />',\n file: '<path d=\"M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z\" /><path d=\"M14 3v6h6\" />',\n image:\n '<rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" /><circle cx=\"9\" cy=\"9\" r=\"2\" /><path d=\"m21 15-5-5L5 21\" />',\n lock: '<rect x=\"4\" y=\"11\" width=\"16\" height=\"10\" rx=\"2\" /><path d=\"M8 11V7a4 4 0 0 1 8 0v4\" />',\n logout:\n '<path d=\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\" /><path d=\"m16 17 5-5-5-5M21 12H9\" />',\n help: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9.5 9a2.5 2.5 0 0 1 5 0c0 1.5-2.5 2-2.5 4M12 17v.01\" />',\n pin: '<path d=\"M15 4.5 11 8.5 7 10 5.5 11.5 12.5 18.5 14 17 15.5 13 19.5 9\" /><path d=\"m9 15-4.5 4.5\" /><path d=\"m14.5 4 5.5 5.5\" />',\n bookmark: '<path d=\"M5 21V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16l-7-4z\" />',\n sparkle:\n '<path d=\"M12 3v6M12 15v6M3 12h6M15 12h6M5.6 5.6l4.2 4.2M14.2 14.2l4.2 4.2M5.6 18.4l4.2-4.2M14.2 9.8l4.2-4.2\" />',\n layers:\n '<path d=\"m12 3 9 5-9 5-9-5z\" /><path d=\"m3 13 9 5 9-5M3 18l9 5 9-5\" />',\n chart: '<path d=\"M3 3v18h18\" /><path d=\"M7 14l4-4 4 4 5-5\" />',\n gauge:\n '<path d=\"M12 14l4-4\" /><circle cx=\"12\" cy=\"14\" r=\"9\" /><path d=\"M3 14a9 9 0 0 1 18 0\" />',\n package:\n '<path d=\"M3 7v10l9 4 9-4V7l-9-4z\" /><path d=\"m3 7 9 5 9-5M12 12v9\" />',\n git: '<circle cx=\"6\" cy=\"6\" r=\"2.5\" /><circle cx=\"6\" cy=\"18\" r=\"2.5\" /><circle cx=\"18\" cy=\"12\" r=\"2.5\" /><path d=\"M6 8.5v7M8.5 6h4a3 3 0 0 1 3 3v0\" />',\n sun: '<circle cx=\"12\" cy=\"12\" r=\"4\" /><path d=\"M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4\" />',\n moon: '<path d=\"M21 13a9 9 0 0 1-12-12 9 9 0 1 0 12 12z\" />',\n save: '<path d=\"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z\" /><path d=\"M17 21v-8H7v8M7 3v5h8\" />',\n rotate: '<path d=\"M3 12a9 9 0 1 0 3-6.7L3 8\" /><path d=\"M3 3v5h5\" />',\n qr: '<rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" /><path d=\"M14 14h3v3h-3zM18 18h3v3h-3z\" />',\n globe:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18\" />',\n phone:\n '<path d=\"M5 4h4l2 5-2 1a11 11 0 0 0 5 5l1-2 5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z\" />',\n bin: '<rect x=\"3\" y=\"6\" width=\"18\" height=\"14\" rx=\"2\" /><path d=\"M7 6V4h10v2\" />',\n pen: '<path d=\"M3 17V21h4l11-11-4-4z\" />',\n smile:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9 9v.01M15 9v.01M8 14a5 5 0 0 0 8 0\" />',\n frown:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9 9v.01M15 9v.01M8 16a5 5 0 0 1 8 0\" />',\n mail: '<rect x=\"3\" y=\"5\" width=\"18\" height=\"14\" rx=\"2\" /><path d=\"m3 7 9 6 9-6\" />',\n 'eye-off':\n '<path d=\"M3 3l18 18\" /><path d=\"M10.6 6.1A10 10 0 0 1 12 6c6 0 10 7 10 7a14 14 0 0 1-2.4 3.1\" /><path d=\"M6.7 6.7A14 14 0 0 0 2 12s4 7 10 7a10 10 0 0 0 4.5-1\" /><path d=\"M9.9 14.1A3 3 0 0 1 9 12a3 3 0 0 1 3-3 3 3 0 0 1 2.1.9\" />',\n 'check-circle': '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"m8 12 3 3 5-6\" />',\n // r=8, not the 9 of check-circle: this is the empty counterpart of a tick, and\n // at 14px a ring the same size as the filled state reads as the heavier of the\n // two rather than the lighter.\n circle: '<circle cx=\"12\" cy=\"12\" r=\"8\" />',\n // Drag handle: 6 dots in 2 cols × 3 rows. Use 1.6 radius to read at 12-16px.\n drag: '<circle cx=\"9\" cy=\"6\" r=\"1.6\" /><circle cx=\"15\" cy=\"6\" r=\"1.6\" /><circle cx=\"9\" cy=\"12\" r=\"1.6\" /><circle cx=\"15\" cy=\"12\" r=\"1.6\" /><circle cx=\"9\" cy=\"18\" r=\"1.6\" /><circle cx=\"15\" cy=\"18\" r=\"1.6\" />',\n scan: '<path d=\"M4 8V5a1 1 0 0 1 1-1h3M16 4h3a1 1 0 0 1 1 1v3M20 16v3a1 1 0 0 1-1 1h-3M8 20H5a1 1 0 0 1-1-1v-3\" />',\n wifi: '<path d=\"M2 9.5a15 15 0 0 1 20 0\" /><path d=\"M5 13a10 10 0 0 1 14 0\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M12 20h.01\" />',\n 'wifi-off':\n '<path d=\"m3 3 18 18\" /><path d=\"M12 20h.01\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M5 13a10 10 0 0 1 3.5-2.3\" /><path d=\"M11 8.6A10 10 0 0 1 19 13\" /><path d=\"M2 9.5a15 15 0 0 1 5.7-3.2\" /><path d=\"M11.6 5.6A15 15 0 0 1 22 9.5\" />',\n} as const;\n\n/** Built-in DS icon names. Consumers can extend the runtime set via `provideDsIcons({...})` —\n * the type widens to `string` so any custom name is accepted at the call site (at the cost of\n * autocomplete for those custom names). */\nexport type IconName = keyof typeof ICONS | (string & {});\n","const NON_TEXT_INPUT_TYPES = new Set([\n 'button',\n 'checkbox',\n 'color',\n 'file',\n 'image',\n 'radio',\n 'range',\n 'reset',\n 'submit',\n]);\n\n/** True when the key landed on a control that consumes its own keystrokes, so a\n * container listening on the way up must leave the event alone.\n * @internal\n */\nexport function isTextEntryTarget(event: Event): boolean {\n const target = event.target;\n if (!(target instanceof HTMLElement)) {\n return false;\n }\n if (target.isContentEditable) {\n return true;\n }\n const tag = target.tagName.toLowerCase();\n if (tag === 'textarea' || tag === 'select') {\n return true;\n }\n\n return (\n tag === 'input' &&\n !NON_TEXT_INPUT_TYPES.has((target as HTMLInputElement).type.toLowerCase())\n );\n}\n","/** True when `element` is showing less text than it holds, horizontally.\n *\n * Descendants count: a template-driven cell puts the ellipsis on a child, so testing only the\n * wrapper misses it. `overflow: clip` still reports the overflow, which is what lets the house\n * `single-line-ellipsis` mixin earn a disclosure.\n *\n * Only horizontal. A clamped block hides whole LINES and its `scrollWidth` matches its\n * `clientWidth`, so a caller that clamps has to compare line counts instead.\n */\nexport function isTextClipped(element: HTMLElement): boolean {\n if (element.scrollWidth > element.clientWidth) {\n return true;\n }\n\n return [...element.querySelectorAll<HTMLElement>('*')].some(\n (child) => child.scrollWidth > child.clientWidth,\n );\n}\n","/**\n * Index arithmetic for a keyboard cursor over a list of options.\n *\n * Every picker walks the same four ways — next, previous, first, last — skipping\n * whatever is disabled and wrapping at the ends.\n */\nexport interface DsListCursorList {\n length: number;\n isEnabled: (index: number) => boolean;\n}\n\n/** Where the cursor lands, or -1 when nothing in the list can take it.\n * @internal\n */\nexport function firstEnabledIndex(list: DsListCursorList): number {\n for (let index = 0; index < list.length; index += 1) {\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return -1;\n}\n\n/** @internal */\nexport function lastEnabledIndex(list: DsListCursorList): number {\n for (let index = list.length - 1; index >= 0; index -= 1) {\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return -1;\n}\n\n/**\n * The next enabled index `step` away from `from`, wrapping at both ends.\n *\n * `from` of -1 means \"no cursor yet\": stepping forward lands on the first\n * enabled entry and stepping back on the last, which is what a reader expects\n * from a freshly opened panel.\n * @internal\n */\nexport function nextEnabledIndex(\n list: DsListCursorList,\n from: number,\n step: number,\n): number {\n if (list.length === 0) {\n return -1;\n }\n if (from < 0) {\n return step > 0 ? firstEnabledIndex(list) : lastEnabledIndex(list);\n }\n\n let index = from;\n // eslint-disable-next-line @typescript-eslint/prefer-for-of -- walks from `from` with modulo wraparound; `attempts` only bounds the walk, it is not a sequential index\n for (let attempts = 0; attempts < list.length; attempts += 1) {\n index = (index + step + list.length) % list.length;\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return from;\n}\n","import type { IconName } from './icon-names';\n\n/**\n * The shape every picker's option shares — select, multi-select, autocomplete.\n * Add a field HERE, or the three drift apart the way `icon` did. Each keeps its\n * own exported name: those are public API.\n *\n * `T` exists because autocomplete carries typed values; the other two are keyed\n * by string.\n */\nexport interface DsOption<T = string> {\n value: T;\n label: string;\n disabled?: boolean;\n /** Why this option cannot be picked. Reaches the row as `aria-describedby`, so a\n * reader hears the reason instead of only meeting a dead row. Ignored unless\n * `disabled` is set. */\n disabledReason?: string;\n /** Rendered before the label at 16px by every picker's option row. */\n icon?: IconName;\n}\n\n/**\n * A labelled section of options. `disabled` turns the whole section off.\n */\nexport interface DsOptionGroup<T = string> {\n label: string;\n options: DsOption<T>[];\n disabled?: boolean;\n}\n\n/**\n * What a picker's `options` input takes: flat options, groups, or both mixed.\n * One input rather than two, because a second `optionGroups` input can only\n * answer \"what if both are set\" by silently ignoring one.\n */\nexport type DsOptionItem<T = string> = DsOption<T> | DsOptionGroup<T>;\n\nexport function isDsOptionGroup<T>(\n item: DsOptionItem<T>,\n): item is DsOptionGroup<T> {\n return 'options' in item && Array.isArray((item as DsOptionGroup<T>).options);\n}\n\n/** Every option in `items`, groups flattened in place, in source order. */\nexport function flattenDsOptions<T>(\n items: readonly DsOptionItem<T>[],\n): DsOption<T>[] {\n return items.flatMap((item) =>\n isDsOptionGroup(item)\n ? item.options.map((option) =>\n // Only copy when the flag is not already there: the pickers pre-apply a\n // disabled group to the options THEY render, and a second copy here\n // would break the object identity their flat-index lookup compares by.\n item.disabled && !option.disabled\n ? { ...option, disabled: true }\n : option,\n )\n : [item],\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;;;;;;;;;;AAUG;SACa,eAAe,GAAA;IAI7B,IAAI,iBAAiB,GAAG,KAAK;IAE7B,OAAO;AACL,QAAA,IAAI,CAAC,KAAmB,EAAA;YACtB,iBAAiB;AACf,gBAAA,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,KAAK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IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM;;;;AAItB,QAAA,IAAI,CAAC,QAAQ,IAAI,CAAC,MAAM,CAAC;cACrB,EAAE,GAAG,MAAM,EAAE,QAAQ,EAAE,IAAI;cAC3B,MAAM;AAEd,UAAE,CAAC,IAAI,CAAC,CACX;AACH;;AC5DA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ids-group-ltd-ids-design-system-core.mjs","sources":["../../../src/lib/core/backdrop-dismiss.ts","../../../src/lib/core/ds-config.ts","../../../src/lib/core/config-defaults.ts","../../../src/lib/core/dev-warning.ts","../../../src/lib/core/field-bounds.ts","../../../src/lib/core/icon-names.ts","../../../src/lib/core/key-target.ts","../../../src/lib/core/text-clip.ts","../../../src/lib/core/list-cursor.ts","../../../src/lib/core/option.ts","../../../src/lib/core/ids-group-ltd-ids-design-system-core.ts"],"sourcesContent":["/**\n * Dismiss-on-backdrop for a backdrop that WRAPS its dialog.\n *\n * `click` cannot be trusted there: the browser fires it at the nearest common\n * ancestor of the press and the release, so a drag that starts inside the dialog and\n * ends on the backdrop fires `click` ON THE BACKDROP, and a\n * `target === currentTarget` check waves it through. Hence tracking the press:\n * dismiss only when press AND release both land on the backdrop itself. `ds-drawer` needs none of this because its scrim\n * is a SIBLING of the panel, which makes their common ancestor a third element.\n * @internal\n */\nexport function backdropDismiss(): {\n down: (event: PointerEvent) => void;\n shouldDismiss: (event: PointerEvent) => boolean;\n} {\n let pressedOnBackdrop = false;\n\n return {\n down(event: PointerEvent): void {\n pressedOnBackdrop =\n event.button === 0 && event.target === event.currentTarget;\n },\n shouldDismiss(event: PointerEvent): boolean {\n const dismiss =\n pressedOnBackdrop &&\n event.button === 0 &&\n event.target === event.currentTarget;\n pressedOnBackdrop = false;\n\n return dismiss;\n },\n };\n}\n","import { InjectionToken, Provider, inject } from '@angular/core';\nimport type { IconName } from './icon-names';\nimport type { DsSize } from './size';\nimport type { CardElevation, CardPadding } from './card.types';\nimport type {\n ChartDataTable,\n ChartFrame,\n ChartValueFormat,\n} from './chart.types';\nimport type { DsToastPosition } from './toast-position';\n\nexport interface DsConfig {\n field?: {\n /** Default for every field's `reserveMessage` — keeps a message line's worth\n * of space even when empty. Default `false`. Setting `true` here applies to\n * EVERY field in the injector's subtree, which is rarely what a whole app\n * wants; prefer `dsReserveMessages` on the individual form that validates. */\n reserveMessage?: boolean;\n /** Fallback text per validation-error kind, for errors whose validator did\n * not carry a `message` — Angular's built-ins never do, so this is where\n * `required`, `minlength`, `email` and friends get their wording. A message\n * on the error itself always wins, so one shared map here plus a per-case\n * override at the validator covers both. Unmapped kinds warn in dev. */\n errorMessages?: Record<string, string>;\n /** Leading glyph on a field's message line, per state. Defaults carry one for\n * `error`, `warning` and `success` and NONE for `hint`, which is resting text\n * rather than a state. Each key is independent — a glyph name replaces the\n * default, `false` removes it, and `stateIcons: false` removes all four.\n *\n * The glyphs exist because warning and success differ from each other by hue\n * and nothing else, which WCAG 1.4.1 forbids a state from resting on. */\n stateIcons?:\n | false\n | {\n error?: IconName | false;\n warning?: IconName | false;\n success?: IconName | false;\n /** The `default` state — the hint line. Off unless set. */\n hint?: IconName | false;\n };\n };\n breadcrumbs?: {\n separator?: IconName;\n clickable?: boolean;\n };\n timePicker?: {\n /** Display format for `ds-time-picker` / date-picker time — 24h or 12h AM/PM. Default `'24h'`. */\n format?: '24h' | '12h';\n };\n avatar?: {\n /** How `ds-avatar` turns its `name` into initials, app-wide. The built-in rule\n * takes the first two words, which is a Latin-script guess — an app whose names\n * follow another convention supplies its own here. */\n initials?: (name: string) => string;\n };\n brand?: {\n /** Brand text for `ds-sidenav` and `ds-auth-layout` — the wordmark, and the\n * source of the letter-mark's glyph when `logoLetter` is unset. */\n name?: string;\n /** Letter-mark glyph when it differs from the brand's first character. */\n logoLetter?: string;\n /** Strapline under the brand row. `ds-auth-layout` only. */\n tagline?: string;\n /* No accent key on purpose: a two-tone wordmark is projected markup\n (`[dsBrandName]`), so the consumer says where the accent belongs. A config\n string would have to be split back apart, which is the guessing the\n projection exists to avoid. */\n };\n modal?: {\n /** Default for `dividers` on `ds-modal` and `ds-modal-card`. Default `true`.\n * Configurable app-wide because a `ModalService` confirm renders a card with no\n * `ds-modal` ancestor to bind — an attribute cannot reach it. */\n dividers?: boolean;\n };\n banner?: {\n /** Default for every `ds-banner`'s `announce`. Default `false`, because an\n * `alert` region fires on INSERTION: a banner that is page furniture would\n * interrupt the reader on every route into the page. Set `true` where the app\n * raises banners in response to events, and bind `[announce]=\"false\"` on the\n * furniture. `ds-alert` has its own key, so the two can differ. */\n announce?: boolean;\n };\n alert?: {\n /** Default for every `ds-alert`'s `announce`. Default `false`, for the reason\n * under `banner.announce`. */\n announce?: boolean;\n };\n toast?: {\n /** Where the stack sits. Merged field by field over the built-in\n * `right` / `top` / `var(--space-6)`, so naming one key keeps the other two. */\n position?: Partial<DsToastPosition>;\n /** Maximum number of toasts visible at once. Extras are queued and shown as\n * earlier ones dismiss. Default `5`; `0` means unlimited. */\n maxVisible?: number;\n /** Show a `+N` strip while toasts wait behind `maxVisible`. Default `true`. */\n showQueueCount?: boolean;\n };\n picker?: {\n /** Default for `ds-multi-select``s `searchable`. `true` always shows the panel's\n * filter row, `false` never, and a NUMBER is a threshold — the row appears once\n * there are at least that many options. Default `true`. One threshold for the\n * app is the point: left to each call site, two panels of the same length in\n * the same screen end up disagreeing. */\n searchable?: boolean | number;\n };\n\n control?: {\n /** Default `size` for every control on the field-height contract. Default `'md'`.\n *\n * A different axis from `[data-density]`: that tier rewrites hit targets and\n * padding in CSS, this picks which of the three declared sizes a control renders\n * at. A screen that differs still binds `size` per element. */\n size?: DsSize;\n };\n card?: {\n /** Default `elevation` for `ds-card`. Default `'flat'`. */\n elevation?: CardElevation;\n /** Default `padding` preset for `ds-card`. Unset keeps the card's own. */\n padding?: CardPadding;\n };\n table?: {\n /** Default for `ds-table`'s `stickyScrollbar` — the proxy that keeps the\n * horizontal bar reachable on a tall table. Default `false`. Here rather than\n * per table because every new table is one forgotten binding away from\n * scrolling invisibly. */\n stickyScrollbar?: boolean;\n /** Default for `ds-table`'s `bordered` — the outer border and radius.\n * Default `false`. */\n bordered?: boolean;\n /** Default for `ds-table`'s `stickyScrollbarOffset` — where the sticky horizontal bar comes\n * to rest, as any CSS length. Unset, each table measures its own scroll container's bottom\n * padding and cancels it, which puts the bar on the edge the reader sees; set this for an app\n * whose scrollports end somewhere else, so every table agrees without a binding each. */\n stickyScrollbarOffset?: string;\n };\n icon?: {\n /** Default pixel `size` for `ds-icon`. Default `16`. */\n size?: number;\n };\n badge?: {\n /** Default for `ds-badge`'s `withDot` — the leading status dot. Default `false`. */\n withDot?: boolean;\n };\n chart?: {\n /** Default `dataTable` for all five charts. Default `'none'`. It is an accessibility policy\n * rather than a per-chart taste — whether the numbers behind a plot have a non-visual route is\n * decided once for an app, not thirty times, so an app that wants the annex everywhere sets\n * `'toggle'` here once rather than on every chart. Off by default: a chart usually sits in a\n * page that already carries its numbers, and an unasked-for disclosure under every plot is\n * chrome the page did not ask for. */\n dataTable?: ChartDataTable;\n /** Whether every chart draws its own bordered, padded box. Default `'auto'`, which draws it.\n * Whether charts live inside cards is decided once for an app — a page that puts every chart\n * in a card sets `'none'` here rather than reaching into five components' chrome from a\n * global stylesheet. */\n frame?: ChartFrame;\n /** How long every chart's tooltip stays after the pointer leaves the mark, in milliseconds.\n * Default 0. Raise it only where the panels carry something a reader has to reach — WCAG\n * 1.4.13's hoverable clause — which is a property of what an app puts in its tooltips rather\n * than of one plot. About 140 is enough to cross the gap at an ordinary pointer speed. */\n tooltipLingerMs?: number;\n /** Shown in place of the plot when a chart's data is empty. Default `'No data'`. */\n emptyText?: string;\n /** Shown in place of the plot when a chart has `error` set. Default\n * `'Could not load the data'`. */\n errorText?: string;\n /** How every chart formats its values, the annex table and the generated description included.\n * Default is the browser's locale grouping with a K/M/B suffix past four digits. The same\n * reason `datePicker.locale` lives here: a number reads one way in an app, and a formatter\n * passed per chart drifts as soon as there are two screens. */\n valueFormat?: ChartValueFormat;\n };\n datePicker?: {\n /** BCP-47 locale for `ds-date-picker` names + value format. Default `'en-US'`. */\n locale?: string;\n /** Explicit token format e.g. `'MM/DD/YYYY'`; overrides the locale-derived order. */\n dateFormat?: string;\n /** First weekday column: 0=Sunday … 6=Saturday. Default `1` (Monday). */\n firstDayOfWeek?: number;\n };\n}\n\nexport const DS_CONFIG = new InjectionToken<DsConfig>('DS_CONFIG', {\n factory: () => ({}),\n});\n\n/** Provide DS-level defaults.\n *\n * providers: [provideDsConfig({ control: { size: 'sm' } })]\n *\n * Works at the app root, on a `Route`, or on a component/directive — the config\n * resolves through the element-injector chain, so a subtree can differ from the\n * app. Component inputs (e.g. `<ds-card padding=\"lg\">`) still win.\n *\n * A nested call MERGES with the config above it section by section; only the keys\n * you name are replaced. ONE call per injector, though: two in the SAME\n * `providers` array both resolve their parent with `skipSelf`, so the later wins\n * and the earlier is silently lost.\n */\nexport function provideDsConfig(config: DsConfig): Provider {\n return { provide: DS_CONFIG, useFactory: () => inheritDsConfig(config) };\n}\n\n/**\n * The factory body behind `provideDsConfig`, exported so a directive can put the\n * provider in its metadata as a plain object literal. Calling `provideDsConfig`\n * there instead runs at module-evaluation time, which makes the module\n * side-effectful and costs the consumer its tree-shaking (measured at +566 kB\n * moved into the eager chunk).\n *\n * Must be called from an injection context.\n */\nexport function inheritDsConfig(config: DsConfig): DsConfig {\n return mergeDsConfig(\n inject(DS_CONFIG, { skipSelf: true, optional: true }) ?? {},\n config,\n );\n}\n\nfunction mergeDsConfig(parent: DsConfig, own: DsConfig): DsConfig {\n const merged: DsConfig = { ...parent };\n for (const section of Object.keys(own) as (keyof DsConfig)[]) {\n Object.assign(merged, {\n [section]: { ...parent[section], ...own[section] },\n });\n }\n\n return merged;\n}\n","import { Signal, computed, inject } from '@angular/core';\nimport { DS_CONFIG, type DsConfig } from './ds-config';\n\n/**\n * Resolve an input against `DS_CONFIG`, then a built-in default.\n *\n * The input must be typed `T | null` and default to `null`: a signal input cannot\n * report whether it was bound, so `null` is what separates \"not set\" from an explicit\n * value. Precedence is input → config → built-in. Call from an injection context.\n * @internal\n */\nexport function resolveWithConfig<T>(\n value: Signal<T | null>,\n pick: (config: DsConfig) => T | undefined,\n fallback: T,\n): Signal<T> {\n const config = inject(DS_CONFIG);\n\n return computed(() => value() ?? pick(config) ?? fallback);\n}\n","import { effect, isDevMode } from '@angular/core';\n\n/**\n * Warns once per distinct message, not once per recomputation: the effect re-runs whenever any\n * signal the condition reads changes, so without that a static misconfiguration would log again\n * on every keystroke.\n *\n * Returning the message from the condition keeps the two together — a condition\n * that drifts from its message is how a warning ends up describing a state that\n * cannot happen any more.\n *\n * Must be called from an injection context.\n *\n * Callers wrap this in `if (typeof ngDevMode === 'undefined' || ngDevMode)`. That is\n * a BUILD-time expression, not a repeat of the `isDevMode()` below: the intent is for\n * a minifier to fold it and drop the message with it, which `isDevMode()` — an opaque\n * call — can never allow. It cannot become a helper function for the same reason.\n *\n * It does work: `ds-stat` and `ds-split-button` compile to `constructor(){}` in the\n * shipped bundle. `ds-toast-region`'s strip is UNVERIFIED — the bundle came out\n * byte-identical after adding the guard, so re-check on a clean `.angular/cache`.\n * @internal\n */\nexport function devWarn(message: () => string | null): void {\n if (!isDevMode()) {\n return;\n }\n const seen = new Set<string>();\n effect(() => {\n const text = message();\n if (!text || seen.has(text)) {\n return;\n }\n seen.add(text);\n console.warn(text);\n });\n}\n","/**\n * Signal forms binds `min`, `max`, `minLength` and `maxLength` BY NAME and sends\n * `undefined` when the schema sets no bound. The DS spells an absent bound as\n * `null`, so the write type has to accept both while the read type stays what it\n * always was — otherwise every internal use and every consumer moves for nothing.\n *\n * Declared once here because it was copy-pasted across three controls, and an\n * explanation in three places is an explanation that drifts in two of them.\n * @internal\n */\nexport function optionalBound(value: number | null | undefined): number | null {\n return value ?? null;\n}\n\n/** As `optionalBound`, for a bound the control requires a value for.\n * @internal\n */\nexport function boundOr(fallback: number) {\n return (value: number | undefined): number => value ?? fallback;\n}\n","// All paths render inside <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\">, stroke-width 1.75.\n\nexport const ICONS = {\n search: '<circle cx=\"11\" cy=\"11\" r=\"7\" /><path d=\"m20 20-3.5-3.5\" />',\n plus: '<path d=\"M12 5v14M5 12h14\" />',\n minus: '<path d=\"M5 12h14\" />',\n check: '<path d=\"m4 12 5 5L20 6\" />',\n x: '<path d=\"M6 6l12 12M18 6L6 18\" />',\n chevronDown: '<path d=\"m6 9 6 6 6-6\" />',\n chevronRight: '<path d=\"m9 6 6 6-6 6\" />',\n chevronLeft: '<path d=\"m15 6-6 6 6 6\" />',\n chevronUp: '<path d=\"m6 15 6-6 6 6\" />',\n menu: '<path d=\"M4 6h16M4 12h16M4 18h16\" />',\n arrowRight: '<path d=\"M5 12h14M13 6l6 6-6 6\" />',\n arrowUp: '<path d=\"M12 19V5M6 11l6-6 6 6\" />',\n arrowDown: '<path d=\"M12 5v14M6 13l6 6 6-6\" />',\n info: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 8v.01M11 12h1v4h1\" />',\n warn: '<path d=\"M12 3 2 21h20L12 3z\" /><path d=\"M12 10v4M12 18v.01\" />',\n error: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 8v4M12 16v.01\" />',\n success: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"m8 12 3 3 5-6\" />',\n bell: '<path d=\"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9\" /><path d=\"M10 21a2 2 0 0 0 4 0\" />',\n settings:\n '<circle cx=\"12\" cy=\"12\" r=\"3\" /><path d=\"M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z\" />',\n user: '<circle cx=\"12\" cy=\"8\" r=\"4\" /><path d=\"M4 21a8 8 0 0 1 16 0\" />',\n users:\n '<circle cx=\"9\" cy=\"8\" r=\"4\" /><path d=\"M2 21a7 7 0 0 1 14 0\" /><path d=\"M16 4a4 4 0 0 1 0 8M22 21a6 6 0 0 0-6-6\" />',\n home: '<path d=\"m3 11 9-8 9 8\" /><path d=\"M5 10v10h14V10\" />',\n calendar:\n '<rect x=\"3\" y=\"5\" width=\"18\" height=\"16\" rx=\"2\" /><path d=\"M3 10h18M8 3v4M16 3v4\" />',\n truck:\n '<path d=\"M3 16V6a1 1 0 0 1 1-1h11v11\" /><path d=\"M15 9h4l2 3v4h-6\" /><circle cx=\"7.5\" cy=\"17.5\" r=\"2\" /><circle cx=\"17.5\" cy=\"17.5\" r=\"2\" />',\n box: '<path d=\"m21 8-9-5-9 5 9 5 9-5z\" /><path d=\"M3 8v8l9 5 9-5V8\" /><path d=\"m12 13 .01 8\" />',\n map: '<path d=\"m9 4-6 3v13l6-3 6 3 6-3V4l-6 3-6-3z\" /><path d=\"M9 4v13M15 7v13\" />',\n activity: '<path d=\"M3 12h4l3-9 4 18 3-9h4\" />',\n folder:\n '<path d=\"M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\" />',\n edit: '<path d=\"M12 20h9\" /><path d=\"M16.5 3.5a2.1 2.1 0 1 1 3 3L7 19l-4 1 1-4z\" />',\n external:\n '<path d=\"M14 4h6v6\" /><path d=\"M20 4 10 14\" /><path d=\"M20 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5\" />',\n trash:\n '<path d=\"M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\" /><path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6\" />',\n copy: '<rect x=\"9\" y=\"9\" width=\"11\" height=\"11\" rx=\"2\" /><path d=\"M5 15V5a2 2 0 0 1 2-2h10\" />',\n download: '<path d=\"M12 4v12M6 12l6 6 6-6\" /><path d=\"M4 20h16\" />',\n upload: '<path d=\"M12 20V8M6 12l6-6 6 6\" /><path d=\"M4 4h16\" />',\n eye: '<path d=\"M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z\" /><circle cx=\"12\" cy=\"12\" r=\"3\" />',\n filter: '<path d=\"M3 5h18l-7 9v6l-4-2v-4z\" />',\n sort: '<path d=\"M7 4v16M3 8l4-4 4 4\" /><path d=\"M17 20V4M21 16l-4 4-4-4\" />',\n sortAsc: '<path d=\"M7 18V6M3 10l4-4 4 4\" />',\n sortDesc: '<path d=\"M7 6v12M11 14l-4 4-4-4\" />',\n grid: '<rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"14\" width=\"7\" height=\"7\" />',\n list: '<path d=\"M8 6h13M8 12h13M8 18h13\" /><circle cx=\"3.5\" cy=\"6\" r=\"1.2\" /><circle cx=\"3.5\" cy=\"12\" r=\"1.2\" /><circle cx=\"3.5\" cy=\"18\" r=\"1.2\" />',\n moreH:\n '<circle cx=\"5\" cy=\"12\" r=\"1.5\" /><circle cx=\"12\" cy=\"12\" r=\"1.5\" /><circle cx=\"19\" cy=\"12\" r=\"1.5\" />',\n moreV:\n '<circle cx=\"12\" cy=\"5\" r=\"1.5\" /><circle cx=\"12\" cy=\"12\" r=\"1.5\" /><circle cx=\"12\" cy=\"19\" r=\"1.5\" />',\n link: '<path d=\"M10 14a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1\" /><path d=\"M14 10a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1\" />',\n flag: '<path d=\"M5 21V5a14 14 0 0 1 14 0v9a14 14 0 0 1-14 0z\" />',\n star: '<path d=\"m12 3 2.9 6 6.6.9-4.8 4.6 1.1 6.5L12 17.8 6.2 21l1.1-6.5L2.5 9.9 9.1 9z\" />',\n inbox:\n '<path d=\"M22 12h-6l-2 3h-4l-2-3H2\" /><path d=\"M5 4h14l3 8v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-8z\" />',\n archive:\n '<rect x=\"3\" y=\"3\" width=\"18\" height=\"5\" rx=\"1\" /><path d=\"M5 8v11a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8M10 12h4\" />',\n clock: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 7v5l3 2\" />',\n refresh:\n '<path d=\"M3 12a9 9 0 0 1 15-6.7L21 8\" /><path d=\"M21 3v5h-5\" /><path d=\"M21 12a9 9 0 0 1-15 6.7L3 16\" /><path d=\"M3 21v-5h5\" />',\n play: '<path d=\"M6 4l14 8-14 8z\" />',\n pause: '<path d=\"M7 4v16M17 4v16\" />',\n cmd: '<path d=\"M9 9h6v6H9zM6 9V7a3 3 0 1 1 3 3H6zM6 15v2a3 3 0 1 0 3-3H6zM18 9V7a3 3 0 1 0-3 3h3zM18 15v2a3 3 0 1 1-3-3h3z\" />',\n paperclip:\n '<path d=\"m21 11-9 9a5 5 0 0 1-7-7l9-9a3 3 0 0 1 4 4l-9 9a1 1 0 0 1-1-1l8-8\" />',\n file: '<path d=\"M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z\" /><path d=\"M14 3v6h6\" />',\n image:\n '<rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" /><circle cx=\"9\" cy=\"9\" r=\"2\" /><path d=\"m21 15-5-5L5 21\" />',\n lock: '<rect x=\"4\" y=\"11\" width=\"16\" height=\"10\" rx=\"2\" /><path d=\"M8 11V7a4 4 0 0 1 8 0v4\" />',\n logout:\n '<path d=\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\" /><path d=\"m16 17 5-5-5-5M21 12H9\" />',\n help: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9.5 9a2.5 2.5 0 0 1 5 0c0 1.5-2.5 2-2.5 4M12 17v.01\" />',\n pin: '<path d=\"M15 4.5 11 8.5 7 10 5.5 11.5 12.5 18.5 14 17 15.5 13 19.5 9\" /><path d=\"m9 15-4.5 4.5\" /><path d=\"m14.5 4 5.5 5.5\" />',\n bookmark: '<path d=\"M5 21V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16l-7-4z\" />',\n sparkle:\n '<path d=\"M12 3v6M12 15v6M3 12h6M15 12h6M5.6 5.6l4.2 4.2M14.2 14.2l4.2 4.2M5.6 18.4l4.2-4.2M14.2 9.8l4.2-4.2\" />',\n layers:\n '<path d=\"m12 3 9 5-9 5-9-5z\" /><path d=\"m3 13 9 5 9-5M3 18l9 5 9-5\" />',\n chart: '<path d=\"M3 3v18h18\" /><path d=\"M7 14l4-4 4 4 5-5\" />',\n gauge:\n '<path d=\"M12 14l4-4\" /><circle cx=\"12\" cy=\"14\" r=\"9\" /><path d=\"M3 14a9 9 0 0 1 18 0\" />',\n package:\n '<path d=\"M3 7v10l9 4 9-4V7l-9-4z\" /><path d=\"m3 7 9 5 9-5M12 12v9\" />',\n git: '<circle cx=\"6\" cy=\"6\" r=\"2.5\" /><circle cx=\"6\" cy=\"18\" r=\"2.5\" /><circle cx=\"18\" cy=\"12\" r=\"2.5\" /><path d=\"M6 8.5v7M8.5 6h4a3 3 0 0 1 3 3v0\" />',\n sun: '<circle cx=\"12\" cy=\"12\" r=\"4\" /><path d=\"M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4\" />',\n moon: '<path d=\"M21 13a9 9 0 0 1-12-12 9 9 0 1 0 12 12z\" />',\n save: '<path d=\"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z\" /><path d=\"M17 21v-8H7v8M7 3v5h8\" />',\n rotate: '<path d=\"M3 12a9 9 0 1 0 3-6.7L3 8\" /><path d=\"M3 3v5h5\" />',\n qr: '<rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" /><path d=\"M14 14h3v3h-3zM18 18h3v3h-3z\" />',\n globe:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18\" />',\n phone:\n '<path d=\"M5 4h4l2 5-2 1a11 11 0 0 0 5 5l1-2 5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z\" />',\n bin: '<rect x=\"3\" y=\"6\" width=\"18\" height=\"14\" rx=\"2\" /><path d=\"M7 6V4h10v2\" />',\n pen: '<path d=\"M3 17V21h4l11-11-4-4z\" />',\n smile:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9 9v.01M15 9v.01M8 14a5 5 0 0 0 8 0\" />',\n frown:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9 9v.01M15 9v.01M8 16a5 5 0 0 1 8 0\" />',\n mail: '<rect x=\"3\" y=\"5\" width=\"18\" height=\"14\" rx=\"2\" /><path d=\"m3 7 9 6 9-6\" />',\n 'eye-off':\n '<path d=\"M3 3l18 18\" /><path d=\"M10.6 6.1A10 10 0 0 1 12 6c6 0 10 7 10 7a14 14 0 0 1-2.4 3.1\" /><path d=\"M6.7 6.7A14 14 0 0 0 2 12s4 7 10 7a10 10 0 0 0 4.5-1\" /><path d=\"M9.9 14.1A3 3 0 0 1 9 12a3 3 0 0 1 3-3 3 3 0 0 1 2.1.9\" />',\n 'check-circle': '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"m8 12 3 3 5-6\" />',\n // r=8, not the 9 of check-circle: this is the empty counterpart of a tick, and\n // at 14px a ring the same size as the filled state reads as the heavier of the\n // two rather than the lighter.\n circle: '<circle cx=\"12\" cy=\"12\" r=\"8\" />',\n // Drag handle: 6 dots in 2 cols × 3 rows. Use 1.6 radius to read at 12-16px.\n drag: '<circle cx=\"9\" cy=\"6\" r=\"1.6\" /><circle cx=\"15\" cy=\"6\" r=\"1.6\" /><circle cx=\"9\" cy=\"12\" r=\"1.6\" /><circle cx=\"15\" cy=\"12\" r=\"1.6\" /><circle cx=\"9\" cy=\"18\" r=\"1.6\" /><circle cx=\"15\" cy=\"18\" r=\"1.6\" />',\n scan: '<path d=\"M4 8V5a1 1 0 0 1 1-1h3M16 4h3a1 1 0 0 1 1 1v3M20 16v3a1 1 0 0 1-1 1h-3M8 20H5a1 1 0 0 1-1-1v-3\" />',\n wifi: '<path d=\"M2 9.5a15 15 0 0 1 20 0\" /><path d=\"M5 13a10 10 0 0 1 14 0\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M12 20h.01\" />',\n 'wifi-off':\n '<path d=\"m3 3 18 18\" /><path d=\"M12 20h.01\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M5 13a10 10 0 0 1 3.5-2.3\" /><path d=\"M11 8.6A10 10 0 0 1 19 13\" /><path d=\"M2 9.5a15 15 0 0 1 5.7-3.2\" /><path d=\"M11.6 5.6A15 15 0 0 1 22 9.5\" />',\n} as const;\n\n/** Built-in DS icon names. Consumers can extend the runtime set via `provideDsIcons({...})` —\n * the type widens to `string` so any custom name is accepted at the call site (at the cost of\n * autocomplete for those custom names). */\nexport type IconName = keyof typeof ICONS | (string & {});\n","const NON_TEXT_INPUT_TYPES = new Set([\n 'button',\n 'checkbox',\n 'color',\n 'file',\n 'image',\n 'radio',\n 'range',\n 'reset',\n 'submit',\n]);\n\n/** True when the key landed on a control that consumes its own keystrokes, so a\n * container listening on the way up must leave the event alone.\n * @internal\n */\nexport function isTextEntryTarget(event: Event): boolean {\n const target = event.target;\n if (!(target instanceof HTMLElement)) {\n return false;\n }\n if (target.isContentEditable) {\n return true;\n }\n const tag = target.tagName.toLowerCase();\n if (tag === 'textarea' || tag === 'select') {\n return true;\n }\n\n return (\n tag === 'input' &&\n !NON_TEXT_INPUT_TYPES.has((target as HTMLInputElement).type.toLowerCase())\n );\n}\n","/** True when `element` is showing less text than it holds, horizontally.\n *\n * Descendants count: a template-driven cell puts the ellipsis on a child, so testing only the\n * wrapper misses it. `overflow: clip` still reports the overflow, which is what lets the house\n * `single-line-ellipsis` mixin earn a disclosure.\n *\n * Only horizontal. A clamped block hides whole LINES and its `scrollWidth` matches its\n * `clientWidth`, so a caller that clamps has to compare line counts instead.\n */\nexport function isTextClipped(element: HTMLElement): boolean {\n if (element.scrollWidth > element.clientWidth) {\n return true;\n }\n\n return [...element.querySelectorAll<HTMLElement>('*')].some(\n (child) => child.scrollWidth > child.clientWidth,\n );\n}\n","/**\n * Index arithmetic for a keyboard cursor over a list of options.\n *\n * Every picker walks the same four ways — next, previous, first, last — skipping\n * whatever is disabled and wrapping at the ends.\n */\nexport interface DsListCursorList {\n length: number;\n isEnabled: (index: number) => boolean;\n}\n\n/** Where the cursor lands, or -1 when nothing in the list can take it.\n * @internal\n */\nexport function firstEnabledIndex(list: DsListCursorList): number {\n for (let index = 0; index < list.length; index += 1) {\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return -1;\n}\n\n/** @internal */\nexport function lastEnabledIndex(list: DsListCursorList): number {\n for (let index = list.length - 1; index >= 0; index -= 1) {\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return -1;\n}\n\n/**\n * The next enabled index `step` away from `from`, wrapping at both ends.\n *\n * `from` of -1 means \"no cursor yet\": stepping forward lands on the first\n * enabled entry and stepping back on the last, which is what a reader expects\n * from a freshly opened panel.\n * @internal\n */\nexport function nextEnabledIndex(\n list: DsListCursorList,\n from: number,\n step: number,\n): number {\n if (list.length === 0) {\n return -1;\n }\n if (from < 0) {\n return step > 0 ? firstEnabledIndex(list) : lastEnabledIndex(list);\n }\n\n let index = from;\n // eslint-disable-next-line @typescript-eslint/prefer-for-of -- walks from `from` with modulo wraparound; `attempts` only bounds the walk, it is not a sequential index\n for (let attempts = 0; attempts < list.length; attempts += 1) {\n index = (index + step + list.length) % list.length;\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return from;\n}\n","import type { IconName } from './icon-names';\n\n/**\n * The shape every picker's option shares — select, multi-select, autocomplete.\n * Add a field HERE, or the three drift apart the way `icon` did. Each keeps its\n * own exported name: those are public API.\n *\n * `T` exists because autocomplete carries typed values; the other two are keyed\n * by string.\n */\nexport interface DsOption<T = string> {\n value: T;\n label: string;\n disabled?: boolean;\n /** Why this option cannot be picked. Reaches the row as `aria-describedby`, so a\n * reader hears the reason instead of only meeting a dead row. Ignored unless\n * `disabled` is set. */\n disabledReason?: string;\n /** Rendered before the label at 16px by every picker's option row. */\n icon?: IconName;\n}\n\n/**\n * A labelled section of options. `disabled` turns the whole section off.\n */\nexport interface DsOptionGroup<T = string> {\n label: string;\n options: DsOption<T>[];\n disabled?: boolean;\n}\n\n/**\n * What a picker's `options` input takes: flat options, groups, or both mixed.\n * One input rather than two, because a second `optionGroups` input can only\n * answer \"what if both are set\" by silently ignoring one.\n */\nexport type DsOptionItem<T = string> = DsOption<T> | DsOptionGroup<T>;\n\nexport function isDsOptionGroup<T>(\n item: DsOptionItem<T>,\n): item is DsOptionGroup<T> {\n return 'options' in item && Array.isArray((item as DsOptionGroup<T>).options);\n}\n\n/** Every option in `items`, groups flattened in place, in source order. */\nexport function flattenDsOptions<T>(\n items: readonly DsOptionItem<T>[],\n): DsOption<T>[] {\n return items.flatMap((item) =>\n isDsOptionGroup(item)\n ? item.options.map((option) =>\n // Only copy when the flag is not already there: the pickers pre-apply a\n // disabled group to the options THEY render, and a second copy here\n // would break the object identity their flat-index lookup compares by.\n item.disabled && !option.disabled\n ? { ...option, disabled: true }\n : option,\n )\n : [item],\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;;;;;;;;;;AAUG;SACa,eAAe,GAAA;IAI7B,IAAI,iBAAiB,GAAG,KAAK;IAE7B,OAAO;AACL,QAAA,IAAI,CAAC,KAAmB,EAAA;YACtB,iBAAiB;AACf,gBAAA,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,aAAa;QAC9D,CAAC;AACD,QAAA,aAAa,CAAC,KAAmB,EAAA;YAC/B,MAAM,OAAO,GACX,iBAAiB;gBACjB,KAAK,CAAC,MAAM,KAAK,CAAC;AAClB,gBAAA,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,aAAa;YACtC,iBAAiB,GAAG,KAAK;AAEzB,YAAA,OAAO,OAAO;QAChB,CAAC;KACF;AACH;;MCsJa,SAAS,GAAG,IAAI,cAAc,CAAW,WAAW,EAAE;AACjE,IAAA,OAAO,EAAE,OAAO,EAAE,CAAC;AACpB,CAAA;AAED;;;;;;;;;;;;AAYG;AACG,SAAU,eAAe,CAAC,MAAgB,EAAA;AAC9C,IAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC,MAAM,CAAC,EAAE;AAC1E;AAEA;;;;;;;;AA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IAAI,CAAC,GAAG,gBAAgB,CAAC,IAAI,CAAC;IACpE;IAEA,IAAI,KAAK,GAAG,IAAI;;AAEhB,IAAA,KAAK,IAAI,QAAQ,GAAG,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC,MAAM,EAAE,QAAQ,IAAI,CAAC,EAAE;AAC5D,QAAA,KAAK,GAAG,CAAC,KAAK,GAAG,IAAI,GAAG,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM;AAClD,QAAA,IAAI,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE;AACzB,YAAA,OAAO,KAAK;QACd;IACF;AAEA,IAAA,OAAO,IAAI;AACb;;AC3BM,SAAU,eAAe,CAC7B,IAAqB,EAAA;AAErB,IAAA,OAAO,SAAS,IAAI,IAAI,IAAI,KAAK,CAAC,OAAO,CAAE,IAAyB,CAAC,OAAO,CAAC;AAC/E;AAEA;AACM,SAAU,gBAAgB,CAC9B,KAAiC,EAAA;AAEjC,IAAA,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,KACxB,eAAe,CAAC,IAAI;UAChB,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM;;;;AAItB,QAAA,IAAI,CAAC,QAAQ,IAAI,CAAC,MAAM,CAAC;cACrB,EAAE,GAAG,MAAM,EAAE,QAAQ,EAAE,IAAI;cAC3B,MAAM;AAEd,UAAE,CAAC,IAAI,CAAC,CACX;AACH;;AC5DA;;AAEG;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { DS_FIELD_WARNING_KIND, DsChipTemplateDirective, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsGroupLabelTemplateDirective, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective } from '@ids-group-ltd/ids-design-system/components';
|
|
2
2
|
export { ACCORDION, AccordionComponent, AccordionItemComponent } from '@ids-group-ltd/ids-design-system/components/accordion';
|
|
3
3
|
export { AlertComponent } from '@ids-group-ltd/ids-design-system/components/alert';
|
|
4
|
-
export { AppLayoutComponent,
|
|
4
|
+
export { AppLayoutComponent, AppLayoutNavigationService, AppLayoutScrollService, RailTriggerDirective } from '@ids-group-ltd/ids-design-system/components/app-layout';
|
|
5
5
|
export { AuthLayoutComponent } from '@ids-group-ltd/ids-design-system/components/auth-layout';
|
|
6
6
|
export { AutocompleteComponent } from '@ids-group-ltd/ids-design-system/components/autocomplete';
|
|
7
7
|
export { AvatarComponent, avatarTint, initialsFrom } from '@ids-group-ltd/ids-design-system/components/avatar';
|
|
@@ -15,20 +15,21 @@ export { BreadcrumbsComponent, BreadcrumbsService } from '@ids-group-ltd/ids-des
|
|
|
15
15
|
export { ButtonComponent } from '@ids-group-ltd/ids-design-system/components/button';
|
|
16
16
|
export { ButtonGroupComponent } from '@ids-group-ltd/ids-design-system/components/button-group';
|
|
17
17
|
export { CardComponent } from '@ids-group-ltd/ids-design-system/components/card';
|
|
18
|
-
export { CHART_SCALES, ChartComponent } from '@ids-group-ltd/ids-design-system/components/chart';
|
|
18
|
+
export { CHART_DEFAULT_VALUE_SPACE, CHART_SCALES, ChartComponent, ColumnSeriesComponent, LineSeriesComponent, ReferenceLabelComponent, ReferenceLineComponent, SeriesAnnotationComponent, stackOffsets } from '@ids-group-ltd/ids-design-system/components/chart';
|
|
19
|
+
export { ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
19
20
|
export { CheckboxComponent } from '@ids-group-ltd/ids-design-system/components/checkbox';
|
|
20
21
|
export { ColorPickerComponent } from '@ids-group-ltd/ids-design-system/components/color-picker';
|
|
21
22
|
export { ColumnChartComponent } from '@ids-group-ltd/ids-design-system/components/column-chart';
|
|
22
23
|
export { DatePickerComponent } from '@ids-group-ltd/ids-design-system/components/date-picker';
|
|
23
24
|
export { DescriptionItemComponent, DescriptionListComponent } from '@ids-group-ltd/ids-design-system/components/description-list';
|
|
24
25
|
export { DividerComponent } from '@ids-group-ltd/ids-design-system/components/divider';
|
|
25
|
-
export { DonutChartComponent } from '@ids-group-ltd/ids-design-system/components/donut-chart';
|
|
26
26
|
export { DrawerComponent } from '@ids-group-ltd/ids-design-system/components/drawer';
|
|
27
27
|
export { DropzoneComponent } from '@ids-group-ltd/ids-design-system/components/dropzone';
|
|
28
28
|
export { EmptyStateComponent } from '@ids-group-ltd/ids-design-system/components/empty-state';
|
|
29
29
|
export { DS_FIELD_GROUP, FieldGroupComponent } from '@ids-group-ltd/ids-design-system/components/field-group';
|
|
30
30
|
export { FilterBarComponent, FilterItemDirective } from '@ids-group-ltd/ids-design-system/components/filter-bar';
|
|
31
31
|
export { FunnelChartComponent } from '@ids-group-ltd/ids-design-system/components/funnel-chart';
|
|
32
|
+
export { HeatmapChartComponent } from '@ids-group-ltd/ids-design-system/components/heatmap-chart';
|
|
32
33
|
export { IconButtonComponent } from '@ids-group-ltd/ids-design-system/components/icon-button';
|
|
33
34
|
export { InputComponent } from '@ids-group-ltd/ids-design-system/components/input';
|
|
34
35
|
export { ContainerComponent, InlineComponent, StackComponent } from '@ids-group-ltd/ids-design-system/components/layout';
|
|
@@ -44,9 +45,11 @@ export { PageFooterComponent } from '@ids-group-ltd/ids-design-system/components
|
|
|
44
45
|
export { PageHeaderComponent } from '@ids-group-ltd/ids-design-system/components/page-header';
|
|
45
46
|
export { PaginationComponent } from '@ids-group-ltd/ids-design-system/components/pagination';
|
|
46
47
|
export { PasswordRulesComponent, passwordRulesMet } from '@ids-group-ltd/ids-design-system/components/password-rules';
|
|
48
|
+
export { PieChartComponent } from '@ids-group-ltd/ids-design-system/components/pie-chart';
|
|
47
49
|
export { PopoverComponent } from '@ids-group-ltd/ids-design-system/components/popover';
|
|
48
50
|
export { RADIO_GROUP, RadioComponent, RadioGroupComponent } from '@ids-group-ltd/ids-design-system/components/radio-group';
|
|
49
51
|
export { ReserveMessagesDirective } from '@ids-group-ltd/ids-design-system/components/reserve-messages';
|
|
52
|
+
export { ScatterChartComponent } from '@ids-group-ltd/ids-design-system/components/scatter-chart';
|
|
50
53
|
export { SearchComponent } from '@ids-group-ltd/ids-design-system/components/search';
|
|
51
54
|
export { SegmentedComponent } from '@ids-group-ltd/ids-design-system/components/segmented';
|
|
52
55
|
export { SelectComponent, isSelectOptionGroup } from '@ids-group-ltd/ids-design-system/components/select';
|
|
@@ -75,6 +78,7 @@ export { TooltipDirective, TooltipPanelComponent } from '@ids-group-ltd/ids-desi
|
|
|
75
78
|
export { TopBarComponent } from '@ids-group-ltd/ids-design-system/components/topbar';
|
|
76
79
|
export { TreeComponent } from '@ids-group-ltd/ids-design-system/components/tree';
|
|
77
80
|
export { W3wComponent } from '@ids-group-ltd/ids-design-system/components/w3w';
|
|
81
|
+
export { WaterfallChartComponent } from '@ids-group-ltd/ids-design-system/components/waterfall-chart';
|
|
78
82
|
export { DS_CONFIG, ICONS, flattenDsOptions, inheritDsConfig, isDsOptionGroup, isTextClipped, provideDsConfig } from '@ids-group-ltd/ids-design-system/core';
|
|
79
83
|
export { DS_ICON_REGISTRY, IconComponent, provideDsIcons } from '@ids-group-ltd/ids-design-system/icons';
|
|
80
84
|
export { BodyScrollLockService, DsOverlayCloseRef } from '@ids-group-ltd/ids-design-system/overlay';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ids-group-ltd-ids-design-system.mjs","sources":["../../../src/lib/public-api.ts","../../../src/lib/ids-group-ltd-ids-design-system.ts"],"sourcesContent":["// GENERATED by tools/generate-public-api.mjs from each entry point index.\n// Do not edit. A symbol is published here unless it carries @internal.\n\n// Shared component contracts\nexport {\n DS_FIELD_WARNING_KIND,\n DsChipTemplateDirective,\n DsCreateTemplateDirective,\n DsEmptyTemplateDirective,\n DsGroupLabelTemplateDirective,\n DsOptionTemplateDirective,\n DsPanelFooterTemplateDirective,\n DsPanelHeaderTemplateDirective,\n DsPickerTriggerDirective,\n DsStaticPreview,\n FieldClickFocusDirective,\n} from '@ids-group-ltd/ids-design-system/components';\nexport type {\n DsAriaCurrent,\n DsFieldError,\n DsFieldErrorsInput,\n DsRouterLink,\n} from '@ids-group-ltd/ids-design-system/components';\n\n// Components\nexport {\n ACCORDION,\n AccordionComponent,\n AccordionItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/accordion';\nexport type {\n AccordionContract,\n AccordionItemRef,\n} from '@ids-group-ltd/ids-design-system/components/accordion';\nexport { AlertComponent } from '@ids-group-ltd/ids-design-system/components/alert';\nexport type { AlertVariant } from '@ids-group-ltd/ids-design-system/components/alert';\nexport {\n AppLayoutComponent,\n LayoutNavigationService,\n LayoutScrollService,\n RailTriggerDirective,\n} from '@ids-group-ltd/ids-design-system/components/app-layout';\nexport type { DsScrollReset } from '@ids-group-ltd/ids-design-system/components/app-layout';\nexport { AuthLayoutComponent } from '@ids-group-ltd/ids-design-system/components/auth-layout';\nexport { AutocompleteComponent } from '@ids-group-ltd/ids-design-system/components/autocomplete';\nexport type {\n AutocompleteItem,\n AutocompleteOption,\n AutocompleteOptionGroup,\n AutocompleteValueOverflow,\n AutocompleteWidth,\n} from '@ids-group-ltd/ids-design-system/components/autocomplete';\nexport {\n AvatarComponent,\n avatarTint,\n initialsFrom,\n} from '@ids-group-ltd/ids-design-system/components/avatar';\nexport type {\n AvatarSize,\n AvatarStatus,\n AvatarTintOptions,\n} from '@ids-group-ltd/ids-design-system/components/avatar';\nexport { AvatarGroupComponent } from '@ids-group-ltd/ids-design-system/components/avatar-group';\nexport { BadgeComponent } from '@ids-group-ltd/ids-design-system/components/badge';\nexport { BannerComponent } from '@ids-group-ltd/ids-design-system/components/banner';\nexport type { BannerVariant } from '@ids-group-ltd/ids-design-system/components/banner';\nexport { BarComponent } from '@ids-group-ltd/ids-design-system/components/bar';\nexport type {\n BarSemantics,\n BarVariant,\n} from '@ids-group-ltd/ids-design-system/components/bar';\nexport { BarChartComponent } from '@ids-group-ltd/ids-design-system/components/bar-chart';\nexport type {\n BarChartRow,\n BarChartSegment,\n} from '@ids-group-ltd/ids-design-system/components/bar-chart';\nexport { BottomSheetComponent } from '@ids-group-ltd/ids-design-system/components/bottom-sheet';\nexport {\n BreadcrumbsComponent,\n BreadcrumbsService,\n} from '@ids-group-ltd/ids-design-system/components/breadcrumbs';\nexport type { BreadcrumbItem } from '@ids-group-ltd/ids-design-system/components/breadcrumbs';\nexport { ButtonComponent } from '@ids-group-ltd/ids-design-system/components/button';\nexport type {\n ButtonColor,\n ButtonType,\n ButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/button';\nexport { ButtonGroupComponent } from '@ids-group-ltd/ids-design-system/components/button-group';\nexport { CardComponent } from '@ids-group-ltd/ids-design-system/components/card';\nexport type {\n CardElevation,\n CardPadding,\n} from '@ids-group-ltd/ids-design-system/components/card';\nexport {\n CHART_SCALES,\n ChartComponent,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nexport type {\n ChartPlot,\n ChartScales,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nexport type { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nexport type {\n ChartItemTooltipTrigger,\n ChartTooltipContext,\n ChartTooltipEntry,\n ChartTooltipOrigin,\n ChartTooltipTrigger,\n} from '@ids-group-ltd/ids-design-system/components/chart-tooltip';\nexport { CheckboxComponent } from '@ids-group-ltd/ids-design-system/components/checkbox';\nexport { ColorPickerComponent } from '@ids-group-ltd/ids-design-system/components/color-picker';\nexport { ColumnChartComponent } from '@ids-group-ltd/ids-design-system/components/column-chart';\nexport type {\n ColumnChartPoint,\n ColumnChartSeries,\n} from '@ids-group-ltd/ids-design-system/components/column-chart';\nexport { DatePickerComponent } from '@ids-group-ltd/ids-design-system/components/date-picker';\nexport type {\n DatePickerMode,\n DatePickerPreset,\n DatePickerValue,\n DateValue,\n RangeValue,\n} from '@ids-group-ltd/ids-design-system/components/date-picker';\nexport {\n DescriptionItemComponent,\n DescriptionListComponent,\n} from '@ids-group-ltd/ids-design-system/components/description-list';\nexport type { DescriptionListOrientation } from '@ids-group-ltd/ids-design-system/components/description-list';\nexport { DividerComponent } from '@ids-group-ltd/ids-design-system/components/divider';\nexport type {\n DividerSpacing,\n DividerVariant,\n} from '@ids-group-ltd/ids-design-system/components/divider';\nexport { DonutChartComponent } from '@ids-group-ltd/ids-design-system/components/donut-chart';\nexport type { DonutChartSlice } from '@ids-group-ltd/ids-design-system/components/donut-chart';\nexport { DrawerComponent } from '@ids-group-ltd/ids-design-system/components/drawer';\nexport type { DrawerPlacement } from '@ids-group-ltd/ids-design-system/components/drawer';\nexport { DropzoneComponent } from '@ids-group-ltd/ids-design-system/components/dropzone';\nexport type {\n DropzoneFile,\n DropzoneFileState,\n} from '@ids-group-ltd/ids-design-system/components/dropzone';\nexport { EmptyStateComponent } from '@ids-group-ltd/ids-design-system/components/empty-state';\nexport type { EmptyStateVariant } from '@ids-group-ltd/ids-design-system/components/empty-state';\nexport {\n DS_FIELD_GROUP,\n FieldGroupComponent,\n} from '@ids-group-ltd/ids-design-system/components/field-group';\nexport type { DsFieldGroupContext } from '@ids-group-ltd/ids-design-system/components/field-group';\nexport {\n FilterBarComponent,\n FilterItemDirective,\n} from '@ids-group-ltd/ids-design-system/components/filter-bar';\nexport { FunnelChartComponent } from '@ids-group-ltd/ids-design-system/components/funnel-chart';\nexport type {\n FunnelChartDrop,\n FunnelChartShape,\n FunnelChartStage,\n} from '@ids-group-ltd/ids-design-system/components/funnel-chart';\nexport { IconButtonComponent } from '@ids-group-ltd/ids-design-system/components/icon-button';\nexport type {\n IconButtonType,\n IconButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/icon-button';\nexport { InputComponent } from '@ids-group-ltd/ids-design-system/components/input';\nexport type { InputType } from '@ids-group-ltd/ids-design-system/components/input';\nexport {\n ContainerComponent,\n InlineComponent,\n StackComponent,\n} from '@ids-group-ltd/ids-design-system/components/layout';\nexport type {\n ContainerSize,\n LayoutAlign,\n LayoutGap,\n LayoutJustify,\n} from '@ids-group-ltd/ids-design-system/components/layout';\nexport { LineChartComponent } from '@ids-group-ltd/ids-design-system/components/line-chart';\nexport type {\n LineChartAnnotation,\n LineChartAxisMode,\n LineChartGaps,\n LineChartPoint,\n LineChartSeries,\n} from '@ids-group-ltd/ids-design-system/components/line-chart';\nexport {\n ListComponent,\n ListItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/list';\nexport { LoadingOverlayComponent } from '@ids-group-ltd/ids-design-system/components/loading-overlay';\nexport {\n MenuComponent,\n MenuDividerComponent,\n MenuItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/menu';\nexport {\n ModalCardComponent,\n ModalComponent,\n ModalService,\n} from '@ids-group-ltd/ids-design-system/components/modal';\nexport type {\n ModalConfirmOptions,\n ModalConfirmTone,\n ModalSize,\n} from '@ids-group-ltd/ids-design-system/components/modal';\nexport { MultiSelectComponent } from '@ids-group-ltd/ids-design-system/components/multi-select';\nexport type {\n MultiSelectItem,\n MultiSelectOption,\n MultiSelectOptionGroup,\n MultiSelectWidth,\n} from '@ids-group-ltd/ids-design-system/components/multi-select';\nexport { NumberStepperComponent } from '@ids-group-ltd/ids-design-system/components/number-stepper';\nexport { OtpInputComponent } from '@ids-group-ltd/ids-design-system/components/otp-input';\nexport type { OtpMode } from '@ids-group-ltd/ids-design-system/components/otp-input';\nexport { PageFooterComponent } from '@ids-group-ltd/ids-design-system/components/page-footer';\nexport type { PageFooterVariant } from '@ids-group-ltd/ids-design-system/components/page-footer';\nexport { PageHeaderComponent } from '@ids-group-ltd/ids-design-system/components/page-header';\nexport { PaginationComponent } from '@ids-group-ltd/ids-design-system/components/pagination';\nexport {\n PasswordRulesComponent,\n passwordRulesMet,\n} from '@ids-group-ltd/ids-design-system/components/password-rules';\nexport type {\n DsPasswordRule,\n DsPasswordRuleState,\n} from '@ids-group-ltd/ids-design-system/components/password-rules';\nexport { PopoverComponent } from '@ids-group-ltd/ids-design-system/components/popover';\nexport type {\n PopoverAlign,\n PopoverPlacement,\n} from '@ids-group-ltd/ids-design-system/components/popover';\nexport {\n RADIO_GROUP,\n RadioComponent,\n RadioGroupComponent,\n} from '@ids-group-ltd/ids-design-system/components/radio-group';\nexport type {\n RadioGroupChild,\n RadioGroupContract,\n} from '@ids-group-ltd/ids-design-system/components/radio-group';\nexport { ReserveMessagesDirective } from '@ids-group-ltd/ids-design-system/components/reserve-messages';\nexport { SearchComponent } from '@ids-group-ltd/ids-design-system/components/search';\nexport { SegmentedComponent } from '@ids-group-ltd/ids-design-system/components/segmented';\nexport type { SegmentedOption } from '@ids-group-ltd/ids-design-system/components/segmented';\nexport {\n SelectComponent,\n isSelectOptionGroup,\n} from '@ids-group-ltd/ids-design-system/components/select';\nexport type {\n SelectItem,\n SelectOption,\n SelectOptionGroup,\n SelectWidth,\n} from '@ids-group-ltd/ids-design-system/components/select';\nexport {\n BrandNameDirective,\n SIDENAV,\n SidenavComponent,\n SidenavGroupComponent,\n SidenavItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/sidenav';\nexport type {\n SidenavContract,\n SidenavItemModel,\n} from '@ids-group-ltd/ids-design-system/components/sidenav';\nexport { SidenavFooterComponent } from '@ids-group-ltd/ids-design-system/components/sidenav-footer';\nexport type {\n SidenavAlertItem,\n SidenavSearchProvider,\n SidenavSearchResult,\n} from '@ids-group-ltd/ids-design-system/components/sidenav-footer';\nexport { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';\nexport { SliderComponent } from '@ids-group-ltd/ids-design-system/components/slider';\nexport { SpinnerComponent } from '@ids-group-ltd/ids-design-system/components/spinner';\nexport { SplitButtonComponent } from '@ids-group-ltd/ids-design-system/components/split-button';\nexport type {\n SplitButtonItem,\n SplitButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/split-button';\nexport { StatComponent } from '@ids-group-ltd/ids-design-system/components/stat';\nexport { StatusDotComponent } from '@ids-group-ltd/ids-design-system/components/status-dot';\nexport { StepperComponent } from '@ids-group-ltd/ids-design-system/components/stepper';\nexport type {\n StepperLabelPosition,\n StepperOrientation,\n} from '@ids-group-ltd/ids-design-system/components/stepper';\nexport { SwitchComponent } from '@ids-group-ltd/ids-design-system/components/switch';\nexport {\n CellTemplateDirective,\n HeaderFilterDirective,\n TableComponent,\n} from '@ids-group-ltd/ids-design-system/components/table';\nexport type {\n HeaderFilterContext,\n SortChangeEvent,\n SortDir,\n TableCellEditEvent,\n TableColumn,\n TableExpandMode,\n TableFilterMode,\n TableRowAction,\n TableRowActionEvent,\n TableSortMode,\n} from '@ids-group-ltd/ids-design-system/components/table';\nexport { DsTableColumns } from '@ids-group-ltd/ids-design-system/components/table-columns';\nexport { DsTableExport } from '@ids-group-ltd/ids-design-system/components/table-export';\nexport { DsTableResize } from '@ids-group-ltd/ids-design-system/components/table-resize';\nexport {\n TabComponent,\n TabsComponent,\n} from '@ids-group-ltd/ids-design-system/components/tabs';\nexport type {\n TabsOrientation,\n TabsVariant,\n} from '@ids-group-ltd/ids-design-system/components/tabs';\nexport { TagComponent } from '@ids-group-ltd/ids-design-system/components/tag';\nexport type { TagVariant } from '@ids-group-ltd/ids-design-system/components/tag';\nexport { TextareaComponent } from '@ids-group-ltd/ids-design-system/components/textarea';\nexport type { TextareaResize } from '@ids-group-ltd/ids-design-system/components/textarea';\nexport { TimePickerComponent } from '@ids-group-ltd/ids-design-system/components/time-picker';\nexport type {\n TimeFormat,\n TimePickerMode,\n TimePickerValue,\n TimeRangeValue,\n TimeValue,\n} from '@ids-group-ltd/ids-design-system/components/time-picker';\nexport {\n TimelineComponent,\n TimelineItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/timeline';\nexport type { TimelineTone } from '@ids-group-ltd/ids-design-system/components/timeline';\nexport {\n DS_TOAST_POSITION_DEFAULT,\n ToastComponent,\n ToastRegionComponent,\n ToastService,\n} from '@ids-group-ltd/ids-design-system/components/toast';\nexport type {\n DsToastHorizontalPosition,\n DsToastPosition,\n DsToastVerticalPosition,\n ToastAction,\n ToastEntry,\n ToastOptions,\n ToastPromiseMessages,\n ToastRef,\n ToastVariant,\n} from '@ids-group-ltd/ids-design-system/components/toast';\nexport { ToggleButtonComponent } from '@ids-group-ltd/ids-design-system/components/toggle-button';\nexport {\n TooltipDirective,\n TooltipPanelComponent,\n} from '@ids-group-ltd/ids-design-system/components/tooltip';\nexport type { TooltipPlacement } from '@ids-group-ltd/ids-design-system/components/tooltip';\nexport { TopBarComponent } from '@ids-group-ltd/ids-design-system/components/topbar';\nexport { TreeComponent } from '@ids-group-ltd/ids-design-system/components/tree';\nexport type { TreeNode } from '@ids-group-ltd/ids-design-system/components/tree';\nexport { W3wComponent } from '@ids-group-ltd/ids-design-system/components/w3w';\n\n// Core\nexport {\n DS_CONFIG,\n ICONS,\n flattenDsOptions,\n inheritDsConfig,\n isDsOptionGroup,\n isTextClipped,\n provideDsConfig,\n} from '@ids-group-ltd/ids-design-system/core';\nexport type {\n ChartAxis,\n ChartAxisMode,\n ChartDataTable,\n ChartFormatLocation,\n ChartFrame,\n ChartStackMode,\n ChartThreshold,\n ChartThresholdDash,\n ChartValueFormat,\n DsConfig,\n DsControlWidth,\n DsOption,\n DsOptionGroup,\n DsOptionItem,\n DsSize,\n DsStatus,\n DsStatusKey,\n DsStatusRegistry,\n DsTriggerDisplay,\n IconName,\n} from '@ids-group-ltd/ids-design-system/core';\n\n// Icons\nexport {\n DS_ICON_REGISTRY,\n IconComponent,\n provideDsIcons,\n} from '@ids-group-ltd/ids-design-system/icons';\nexport type { DsIconRegistry } from '@ids-group-ltd/ids-design-system/icons';\n\n// Overlay\nexport {\n BodyScrollLockService,\n DsOverlayCloseRef,\n} from '@ids-group-ltd/ids-design-system/overlay';\n\n// Theme\nexport { provideDsTheme } from '@ids-group-ltd/ids-design-system/theme';\nexport type { DsThemeOptions } from '@ids-group-ltd/ids-design-system/theme';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;;ACHA;;AAEG"}
|
|
1
|
+
{"version":3,"file":"ids-group-ltd-ids-design-system.mjs","sources":["../../../src/lib/public-api.ts","../../../src/lib/ids-group-ltd-ids-design-system.ts"],"sourcesContent":["// GENERATED by tools/generate-public-api.mjs from each entry point index.\n// Do not edit. A symbol is published here unless it carries @internal.\n\n// Shared component contracts\nexport {\n DS_FIELD_WARNING_KIND,\n DsChipTemplateDirective,\n DsCreateTemplateDirective,\n DsEmptyTemplateDirective,\n DsGroupLabelTemplateDirective,\n DsOptionTemplateDirective,\n DsPanelFooterTemplateDirective,\n DsPanelHeaderTemplateDirective,\n DsPickerTriggerDirective,\n DsStaticPreview,\n FieldClickFocusDirective,\n} from '@ids-group-ltd/ids-design-system/components';\nexport type {\n DsAriaCurrent,\n DsFieldError,\n DsFieldErrorsInput,\n DsRouterLink,\n} from '@ids-group-ltd/ids-design-system/components';\n\n// Components\nexport {\n ACCORDION,\n AccordionComponent,\n AccordionItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/accordion';\nexport type {\n AccordionContract,\n AccordionItemRef,\n} from '@ids-group-ltd/ids-design-system/components/accordion';\nexport { AlertComponent } from '@ids-group-ltd/ids-design-system/components/alert';\nexport type { AlertVariant } from '@ids-group-ltd/ids-design-system/components/alert';\nexport {\n AppLayoutComponent,\n AppLayoutNavigationService,\n AppLayoutScrollService,\n RailTriggerDirective,\n} from '@ids-group-ltd/ids-design-system/components/app-layout';\nexport type { DsAppLayoutScrollReset } from '@ids-group-ltd/ids-design-system/components/app-layout';\nexport { AuthLayoutComponent } from '@ids-group-ltd/ids-design-system/components/auth-layout';\nexport { AutocompleteComponent } from '@ids-group-ltd/ids-design-system/components/autocomplete';\nexport type {\n AutocompleteItem,\n AutocompleteOption,\n AutocompleteOptionGroup,\n AutocompleteValueOverflow,\n AutocompleteWidth,\n} from '@ids-group-ltd/ids-design-system/components/autocomplete';\nexport {\n AvatarComponent,\n avatarTint,\n initialsFrom,\n} from '@ids-group-ltd/ids-design-system/components/avatar';\nexport type {\n AvatarSize,\n AvatarStatus,\n AvatarTintOptions,\n} from '@ids-group-ltd/ids-design-system/components/avatar';\nexport { AvatarGroupComponent } from '@ids-group-ltd/ids-design-system/components/avatar-group';\nexport { BadgeComponent } from '@ids-group-ltd/ids-design-system/components/badge';\nexport { BannerComponent } from '@ids-group-ltd/ids-design-system/components/banner';\nexport type { BannerVariant } from '@ids-group-ltd/ids-design-system/components/banner';\nexport { BarComponent } from '@ids-group-ltd/ids-design-system/components/bar';\nexport type {\n BarSemantics,\n BarVariant,\n} from '@ids-group-ltd/ids-design-system/components/bar';\nexport { BarChartComponent } from '@ids-group-ltd/ids-design-system/components/bar-chart';\nexport type {\n BarChartRow,\n BarChartSegment,\n BarChartValue,\n} from '@ids-group-ltd/ids-design-system/components/bar-chart';\nexport { BottomSheetComponent } from '@ids-group-ltd/ids-design-system/components/bottom-sheet';\nexport {\n BreadcrumbsComponent,\n BreadcrumbsService,\n} from '@ids-group-ltd/ids-design-system/components/breadcrumbs';\nexport type { BreadcrumbItem } from '@ids-group-ltd/ids-design-system/components/breadcrumbs';\nexport { ButtonComponent } from '@ids-group-ltd/ids-design-system/components/button';\nexport type {\n ButtonAlign,\n ButtonColor,\n ButtonType,\n ButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/button';\nexport { ButtonGroupComponent } from '@ids-group-ltd/ids-design-system/components/button-group';\nexport { CardComponent } from '@ids-group-ltd/ids-design-system/components/card';\nexport type {\n CardElevation,\n CardPadding,\n} from '@ids-group-ltd/ids-design-system/components/card';\nexport {\n CHART_DEFAULT_VALUE_SPACE,\n CHART_SCALES,\n ChartComponent,\n ColumnSeriesComponent,\n LineSeriesComponent,\n ReferenceLabelComponent,\n ReferenceLineComponent,\n SeriesAnnotationComponent,\n stackOffsets,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nexport type {\n ChartAnnotation,\n ChartPlot,\n ChartScales,\n ChartStackOffset,\n ColumnSeriesPoint,\n LineSeriesData,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nexport { ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nexport type { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nexport type { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nexport type {\n ChartItemTooltipTrigger,\n ChartTooltipContext,\n ChartTooltipEntry,\n ChartTooltipOrigin,\n ChartTooltipTrigger,\n} from '@ids-group-ltd/ids-design-system/components/chart-tooltip';\nexport { CheckboxComponent } from '@ids-group-ltd/ids-design-system/components/checkbox';\nexport { ColorPickerComponent } from '@ids-group-ltd/ids-design-system/components/color-picker';\nexport { ColumnChartComponent } from '@ids-group-ltd/ids-design-system/components/column-chart';\nexport type {\n ColumnChartPoint,\n ColumnChartSeries,\n} from '@ids-group-ltd/ids-design-system/components/column-chart';\nexport { DatePickerComponent } from '@ids-group-ltd/ids-design-system/components/date-picker';\nexport type {\n DatePickerMode,\n DatePickerPreset,\n DatePickerValue,\n DateRangeValue,\n DateValue,\n} from '@ids-group-ltd/ids-design-system/components/date-picker';\nexport {\n DescriptionItemComponent,\n DescriptionListComponent,\n} from '@ids-group-ltd/ids-design-system/components/description-list';\nexport type { DescriptionListOrientation } from '@ids-group-ltd/ids-design-system/components/description-list';\nexport { DividerComponent } from '@ids-group-ltd/ids-design-system/components/divider';\nexport type {\n DividerSpacing,\n DividerVariant,\n} from '@ids-group-ltd/ids-design-system/components/divider';\nexport { DrawerComponent } from '@ids-group-ltd/ids-design-system/components/drawer';\nexport type { DrawerPlacement } from '@ids-group-ltd/ids-design-system/components/drawer';\nexport { DropzoneComponent } from '@ids-group-ltd/ids-design-system/components/dropzone';\nexport type {\n DropzoneFile,\n DropzoneFileState,\n} from '@ids-group-ltd/ids-design-system/components/dropzone';\nexport { EmptyStateComponent } from '@ids-group-ltd/ids-design-system/components/empty-state';\nexport type { EmptyStateVariant } from '@ids-group-ltd/ids-design-system/components/empty-state';\nexport {\n DS_FIELD_GROUP,\n FieldGroupComponent,\n} from '@ids-group-ltd/ids-design-system/components/field-group';\nexport type { DsFieldGroupContext } from '@ids-group-ltd/ids-design-system/components/field-group';\nexport {\n FilterBarComponent,\n FilterItemDirective,\n} from '@ids-group-ltd/ids-design-system/components/filter-bar';\nexport { FunnelChartComponent } from '@ids-group-ltd/ids-design-system/components/funnel-chart';\nexport type {\n FunnelChartDrop,\n FunnelChartShape,\n FunnelChartStage,\n} from '@ids-group-ltd/ids-design-system/components/funnel-chart';\nexport { HeatmapChartComponent } from '@ids-group-ltd/ids-design-system/components/heatmap-chart';\nexport type {\n HeatmapChartCell,\n HeatmapChartRow,\n} from '@ids-group-ltd/ids-design-system/components/heatmap-chart';\nexport { IconButtonComponent } from '@ids-group-ltd/ids-design-system/components/icon-button';\nexport type {\n IconButtonType,\n IconButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/icon-button';\nexport { InputComponent } from '@ids-group-ltd/ids-design-system/components/input';\nexport type { InputType } from '@ids-group-ltd/ids-design-system/components/input';\nexport {\n ContainerComponent,\n InlineComponent,\n StackComponent,\n} from '@ids-group-ltd/ids-design-system/components/layout';\nexport type {\n ContainerSize,\n LayoutAlign,\n LayoutGap,\n LayoutJustify,\n} from '@ids-group-ltd/ids-design-system/components/layout';\nexport { LineChartComponent } from '@ids-group-ltd/ids-design-system/components/line-chart';\nexport type {\n LineChartAnnotation,\n LineChartReading,\n LineChartSeries,\n} from '@ids-group-ltd/ids-design-system/components/line-chart';\nexport {\n ListComponent,\n ListItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/list';\nexport { LoadingOverlayComponent } from '@ids-group-ltd/ids-design-system/components/loading-overlay';\nexport {\n MenuComponent,\n MenuDividerComponent,\n MenuItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/menu';\nexport {\n ModalCardComponent,\n ModalComponent,\n ModalService,\n} from '@ids-group-ltd/ids-design-system/components/modal';\nexport type {\n ModalConfirmOptions,\n ModalConfirmTone,\n ModalSize,\n} from '@ids-group-ltd/ids-design-system/components/modal';\nexport { MultiSelectComponent } from '@ids-group-ltd/ids-design-system/components/multi-select';\nexport type {\n MultiSelectItem,\n MultiSelectOption,\n MultiSelectOptionGroup,\n MultiSelectWidth,\n} from '@ids-group-ltd/ids-design-system/components/multi-select';\nexport { NumberStepperComponent } from '@ids-group-ltd/ids-design-system/components/number-stepper';\nexport { OtpInputComponent } from '@ids-group-ltd/ids-design-system/components/otp-input';\nexport type { OtpMode } from '@ids-group-ltd/ids-design-system/components/otp-input';\nexport { PageFooterComponent } from '@ids-group-ltd/ids-design-system/components/page-footer';\nexport type { PageFooterVariant } from '@ids-group-ltd/ids-design-system/components/page-footer';\nexport { PageHeaderComponent } from '@ids-group-ltd/ids-design-system/components/page-header';\nexport { PaginationComponent } from '@ids-group-ltd/ids-design-system/components/pagination';\nexport type { PaginationLayout } from '@ids-group-ltd/ids-design-system/components/pagination';\nexport {\n PasswordRulesComponent,\n passwordRulesMet,\n} from '@ids-group-ltd/ids-design-system/components/password-rules';\nexport type {\n DsPasswordRule,\n DsPasswordRuleState,\n} from '@ids-group-ltd/ids-design-system/components/password-rules';\nexport { PieChartComponent } from '@ids-group-ltd/ids-design-system/components/pie-chart';\nexport type { PieChartSlice } from '@ids-group-ltd/ids-design-system/components/pie-chart';\nexport { PopoverComponent } from '@ids-group-ltd/ids-design-system/components/popover';\nexport type {\n PopoverAlign,\n PopoverPlacement,\n} from '@ids-group-ltd/ids-design-system/components/popover';\nexport {\n RADIO_GROUP,\n RadioComponent,\n RadioGroupComponent,\n} from '@ids-group-ltd/ids-design-system/components/radio-group';\nexport type {\n RadioGroupChild,\n RadioGroupContract,\n} from '@ids-group-ltd/ids-design-system/components/radio-group';\nexport { ReserveMessagesDirective } from '@ids-group-ltd/ids-design-system/components/reserve-messages';\nexport { ScatterChartComponent } from '@ids-group-ltd/ids-design-system/components/scatter-chart';\nexport type {\n ScatterChartDecimator,\n ScatterChartReading,\n ScatterChartSeries,\n ScatterPoint,\n} from '@ids-group-ltd/ids-design-system/components/scatter-chart';\nexport { SearchComponent } from '@ids-group-ltd/ids-design-system/components/search';\nexport { SegmentedComponent } from '@ids-group-ltd/ids-design-system/components/segmented';\nexport type { SegmentedOption } from '@ids-group-ltd/ids-design-system/components/segmented';\nexport {\n SelectComponent,\n isSelectOptionGroup,\n} from '@ids-group-ltd/ids-design-system/components/select';\nexport type {\n SelectItem,\n SelectOption,\n SelectOptionGroup,\n SelectWidth,\n} from '@ids-group-ltd/ids-design-system/components/select';\nexport {\n BrandNameDirective,\n SIDENAV,\n SidenavComponent,\n SidenavGroupComponent,\n SidenavItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/sidenav';\nexport type {\n SidenavContract,\n SidenavItemModel,\n} from '@ids-group-ltd/ids-design-system/components/sidenav';\nexport { SidenavFooterComponent } from '@ids-group-ltd/ids-design-system/components/sidenav-footer';\nexport type {\n SidenavAlertItem,\n SidenavSearchProvider,\n SidenavSearchResult,\n} from '@ids-group-ltd/ids-design-system/components/sidenav-footer';\nexport { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';\nexport { SliderComponent } from '@ids-group-ltd/ids-design-system/components/slider';\nexport { SpinnerComponent } from '@ids-group-ltd/ids-design-system/components/spinner';\nexport { SplitButtonComponent } from '@ids-group-ltd/ids-design-system/components/split-button';\nexport type {\n SplitButtonItem,\n SplitButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/split-button';\nexport { StatComponent } from '@ids-group-ltd/ids-design-system/components/stat';\nexport { StatusDotComponent } from '@ids-group-ltd/ids-design-system/components/status-dot';\nexport { StepperComponent } from '@ids-group-ltd/ids-design-system/components/stepper';\nexport type {\n StepperLabelPosition,\n StepperOrientation,\n} from '@ids-group-ltd/ids-design-system/components/stepper';\nexport { SwitchComponent } from '@ids-group-ltd/ids-design-system/components/switch';\nexport {\n CellTemplateDirective,\n HeaderFilterDirective,\n TableComponent,\n} from '@ids-group-ltd/ids-design-system/components/table';\nexport type {\n HeaderFilterContext,\n SortChangeEvent,\n SortDirection,\n TableCellEditEvent,\n TableColumn,\n TableExpandMode,\n TableFilterMode,\n TableRowAction,\n TableRowActionEvent,\n TableSortMode,\n} from '@ids-group-ltd/ids-design-system/components/table';\nexport { DsTableColumns } from '@ids-group-ltd/ids-design-system/components/table-columns';\nexport { DsTableExport } from '@ids-group-ltd/ids-design-system/components/table-export';\nexport { DsTableResize } from '@ids-group-ltd/ids-design-system/components/table-resize';\nexport {\n TabComponent,\n TabsComponent,\n} from '@ids-group-ltd/ids-design-system/components/tabs';\nexport type {\n TabsOrientation,\n TabsVariant,\n} from '@ids-group-ltd/ids-design-system/components/tabs';\nexport { TagComponent } from '@ids-group-ltd/ids-design-system/components/tag';\nexport type { TagVariant } from '@ids-group-ltd/ids-design-system/components/tag';\nexport { TextareaComponent } from '@ids-group-ltd/ids-design-system/components/textarea';\nexport type { TextareaResize } from '@ids-group-ltd/ids-design-system/components/textarea';\nexport { TimePickerComponent } from '@ids-group-ltd/ids-design-system/components/time-picker';\nexport type {\n TimeFormat,\n TimePickerMode,\n TimePickerValue,\n TimeRangeValue,\n TimeValue,\n} from '@ids-group-ltd/ids-design-system/components/time-picker';\nexport {\n TimelineComponent,\n TimelineItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/timeline';\nexport type { TimelineTone } from '@ids-group-ltd/ids-design-system/components/timeline';\nexport {\n DS_TOAST_POSITION_DEFAULT,\n ToastComponent,\n ToastRegionComponent,\n ToastService,\n} from '@ids-group-ltd/ids-design-system/components/toast';\nexport type {\n DsToastHorizontalPosition,\n DsToastPosition,\n DsToastVerticalPosition,\n ToastAction,\n ToastEntry,\n ToastOptions,\n ToastPromiseMessages,\n ToastRef,\n ToastVariant,\n} from '@ids-group-ltd/ids-design-system/components/toast';\nexport { ToggleButtonComponent } from '@ids-group-ltd/ids-design-system/components/toggle-button';\nexport {\n TooltipDirective,\n TooltipPanelComponent,\n} from '@ids-group-ltd/ids-design-system/components/tooltip';\nexport type { TooltipPlacement } from '@ids-group-ltd/ids-design-system/components/tooltip';\nexport { TopBarComponent } from '@ids-group-ltd/ids-design-system/components/topbar';\nexport { TreeComponent } from '@ids-group-ltd/ids-design-system/components/tree';\nexport type { TreeNode } from '@ids-group-ltd/ids-design-system/components/tree';\nexport { W3wComponent } from '@ids-group-ltd/ids-design-system/components/w3w';\nexport { WaterfallChartComponent } from '@ids-group-ltd/ids-design-system/components/waterfall-chart';\nexport type {\n WaterfallChartBar,\n WaterfallChartKind,\n} from '@ids-group-ltd/ids-design-system/components/waterfall-chart';\n\n// Core\nexport {\n DS_CONFIG,\n ICONS,\n flattenDsOptions,\n inheritDsConfig,\n isDsOptionGroup,\n isTextClipped,\n provideDsConfig,\n} from '@ids-group-ltd/ids-design-system/core';\nexport type {\n ChartAxis,\n ChartAxisMode,\n ChartCurve,\n ChartDataTable,\n ChartFormatLocation,\n ChartFrame,\n ChartGaps,\n ChartStackMode,\n ChartThreshold,\n ChartThresholdDash,\n ChartValueFormat,\n DsConfig,\n DsControlWidth,\n DsOption,\n DsOptionGroup,\n DsOptionItem,\n DsSize,\n DsStatus,\n DsStatusKey,\n DsStatusRegistry,\n DsTriggerDisplay,\n IconName,\n} from '@ids-group-ltd/ids-design-system/core';\n\n// Icons\nexport {\n DS_ICON_REGISTRY,\n IconComponent,\n provideDsIcons,\n} from '@ids-group-ltd/ids-design-system/icons';\nexport type { DsIconRegistry } from '@ids-group-ltd/ids-design-system/icons';\n\n// Overlay\nexport {\n BodyScrollLockService,\n DsOverlayCloseRef,\n} from '@ids-group-ltd/ids-design-system/overlay';\n\n// Theme\nexport { provideDsTheme } from '@ids-group-ltd/ids-design-system/theme';\nexport type { DsThemeOptions } from '@ids-group-ltd/ids-design-system/theme';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;;ACHA;;AAEG"}
|
package/migrations/0.10.0.json
CHANGED
|
@@ -421,7 +421,7 @@
|
|
|
421
421
|
"old": ":focus-visible",
|
|
422
422
|
"new": null,
|
|
423
423
|
"action": "Only if you deliberately relied on an element having NO focus indicator: give it `box-shadow: none` explicitly. The rule also sets `outline: none`, so an element relying on the BROWSER outline loses it — declare your own if that is what you wanted.",
|
|
424
|
-
"appliesWhen": "Written with `:where()`, so every component rule and every app rule still out-ranks it, and the `data-focus` switch is unaffected.",
|
|
424
|
+
"appliesWhen": "Written with `:where()`, so every component rule and every app rule still out-ranks it, and the `data-focus` switch is unaffected. The rule ships in `styles/focus`, which `styles/ds` forwards: an app whose built CSS does not carry it has nothing to do here, and an app that expected to have it should find out why before reading the pitfall as a false alarm.",
|
|
425
425
|
"pitfall": "The case that actually bites: an app rule that styles `:focus-visible` with an OUTLINE ONLY. It keeps winning on outline, but it says nothing about box-shadow, so the base rule still supplies one and the element renders BOTH — a second ring in your colour around the DS ring. The app rule looks untouched because it is, so neither the build nor a grep for the change finds it. FIND IT by grepping your styles for `:focus-visible` and reading each rule: one that sets outline (or outline-color / outline-offset) and no box-shadow is a hit. Add `box-shadow: none`, or better, delete the rule and retint the DS ring through `--ds-control-focus-shadow`.",
|
|
426
426
|
"note": "One zero-specificity base rule — `:where(:focus-visible) { outline: none; box-shadow: var(--ds-control-focus-shadow) }` — gives the DS ring to any focusable element that does not style focus itself, including your own bare `<button>`, a link in projected content, and the close buttons inside ds-alert, ds-banner and ds-drawer. They fell through to the browser default before.",
|
|
427
427
|
"searchHints": [
|
|
@@ -706,7 +706,7 @@
|
|
|
706
706
|
".cdk-overlay-pane"
|
|
707
707
|
],
|
|
708
708
|
"why": "A global rule against `.ds-dropdown-panel` or `.cdk-overlay-pane` to change a dropdown corner.",
|
|
709
|
-
"replaceWith": "`--ds-dropdown-panel-radius`, which scopes to one picker when written under a component selector"
|
|
709
|
+
"replaceWith": "`--ds-dropdown-panel-radius`, which scopes to one picker when written under a component selector. The pane setup the dropdown pickers share forwards it, so no picker's own list of forwarded tokens names it"
|
|
710
710
|
},
|
|
711
711
|
{
|
|
712
712
|
"id": "autocomplete-synthetic-input-clear",
|
package/migrations/0.10.1.json
CHANGED
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
{
|
|
93
93
|
"id": "fields-success-is-a-string",
|
|
94
94
|
"kind": "behavior",
|
|
95
|
-
"old": "ds-input
|
|
95
|
+
"old": "ds-input[success]",
|
|
96
96
|
"new": null,
|
|
97
97
|
"action": "Replace `[success]=\"true\" hint=\"Available\"` with `success=\"Available\"` — the text moves out of `hint`. A `[success]=\"someBoolean\"` becomes `[success]=\"someBoolean ? 'Looks good' : ''\"`, since an empty string is what means \"no success state\" now.",
|
|
98
98
|
"appliesWhen": "Breaking on ds-input only; the same input is ADDITIVE on ds-textarea, ds-select, ds-multi-select, ds-autocomplete, ds-date-picker, ds-time-picker, ds-otp-input and ds-color-picker, which had no success state at all. Not added to ds-checkbox, ds-radio-group, ds-switch or ds-slider — no bordered box to paint. `invalid` is unchanged and remains the flag partner of `error`.",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
{
|
|
124
124
|
"id": "fields-shared-base-class-members",
|
|
125
125
|
"kind": "behavior",
|
|
126
|
-
"old": "
|
|
126
|
+
"old": "TextareaComponent, InputComponent",
|
|
127
127
|
"new": null,
|
|
128
128
|
"action": "Only if you SUBCLASS a DS field and declare a member named `hint`, `error`, `warning`, `errors`, `invalid`, `touched` or `reserveMessage`: it is an inherited member now rather than an own member, so an incompatible re-declaration fails where it may previously have shadowed. Redeclaring with the same shape still works.",
|
|
129
129
|
"appliesWhen": "No public API changed — every input keeps its name, type, default and documentation, and the generated docs reference lost nothing. `success`, `label`, `required` and `optional` were deliberately NOT lifted and remain per-component.",
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
{
|
|
178
178
|
"id": "fields-warning-kind-is-reserved",
|
|
179
179
|
"kind": "behavior",
|
|
180
|
-
"old": "
|
|
180
|
+
"old": "ValidationErrors",
|
|
181
181
|
"new": null,
|
|
182
182
|
"action": "Only if you already have a validator using the key `warning` — reactive, template-driven, or a signal-forms ValidationError with kind `warning` — for a BLOCKING error. Rename that key to anything else, such as `warningLimit` or `softLimit`, and the old behaviour returns.",
|
|
183
183
|
"appliesWhen": "Otherwise additive: it gives a form model a way to raise a non-blocking remark, which Angular's AbstractControl has no channel for. Ranked below the explicit `warning` input, and shown only after interaction.",
|
package/migrations/0.10.2.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
{
|
|
5
5
|
"id": "resolved-readbacks-are-public",
|
|
6
6
|
"kind": "behavior",
|
|
7
|
-
"old": "
|
|
7
|
+
"old": "ButtonComponent",
|
|
8
8
|
"new": null,
|
|
9
9
|
"action": "Only if you SUBCLASS a DS component and declare a member with one of those names: it is a public member of the base now, so an incompatible re-declaration needs `override` or a rename.",
|
|
10
10
|
"appliesWhen": "No action for a consumer that composes. Members a host can derive from its own bindings stay protected on purpose: `invalidResolved`, `railResolved`, `sortModeResolved`, `filterModeResolved`.",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
{
|
|
123
123
|
"id": "max-visible-chips-type-widened",
|
|
124
124
|
"kind": "behavior",
|
|
125
|
-
"old": "maxVisibleChips
|
|
125
|
+
"old": "ds-multi-select[maxVisibleChips], ds-autocomplete[maxVisibleChips]",
|
|
126
126
|
"new": null,
|
|
127
127
|
"action": "Retype to `number | 'fit' | 'all' | null`, or drop the annotation and let inference carry it.",
|
|
128
128
|
"appliesWhen": "A binding compiles as before. The VALUE change is the separate `max-visible-chips-null-is-unset-*` pair; this entry is only the declaration.",
|
|
@@ -221,27 +221,6 @@
|
|
|
221
221
|
],
|
|
222
222
|
"verify": "No SearchComponent subclass declares `protected clear()`."
|
|
223
223
|
},
|
|
224
|
-
{
|
|
225
|
-
"id": "time-columns-onkey-signature",
|
|
226
|
-
"kind": "behavior",
|
|
227
|
-
"old": "TimeColumnsComponent.onKey",
|
|
228
|
-
"new": null,
|
|
229
|
-
"action": "Read the current signature of the internal `TimeColumnsComponent.onKey` from the package's type declarations and match it, or drop the override.",
|
|
230
|
-
"appliesWhen": "It is `protected`, so no consumer calls it and templates are unaffected. The component is internal to ds-time-picker and subclassing it was never supported.",
|
|
231
|
-
"note": "The parameter list changed, so an overriding subclass has a signature that no longer matches the base (TS2416).",
|
|
232
|
-
"searchHints": [
|
|
233
|
-
"extends TimeColumnsComponent",
|
|
234
|
-
"onKey",
|
|
235
|
-
"ds-time-columns",
|
|
236
|
-
"ds-time-picker"
|
|
237
|
-
],
|
|
238
|
-
"surface": "typescript",
|
|
239
|
-
"detect": [
|
|
240
|
-
"onKey(",
|
|
241
|
-
"extends TimeColumnsComponent"
|
|
242
|
-
],
|
|
243
|
-
"verify": "No subclass of the internal TimeColumnsComponent overrides `onKey` with the old parameter list."
|
|
244
|
-
},
|
|
245
224
|
{
|
|
246
225
|
"id": "overlay-outside-guard-tests-the-trigger",
|
|
247
226
|
"kind": "behavior",
|
|
@@ -353,6 +332,7 @@
|
|
|
353
332
|
}
|
|
354
333
|
],
|
|
355
334
|
"informational": [
|
|
335
|
+
"ds-time-picker: the protected `TimeColumnsComponent.onKey` changed its parameter list. The class is internal to the time picker and not exported, so no consumer can subclass it and there is nothing to migrate.",
|
|
356
336
|
"ds-table: `TableRowAction` gained `hidden?: (row) => boolean` and `disabledReason?: string | ((row) => string)`. Purely additive -- an existing config behaves exactly as before. Reach for `hidden` where an action does not APPLY to a row rather than `disabled`, which greys an item that is always present; a row with every item hidden now renders no kebab instead of an empty menu.",
|
|
357
337
|
"ds-menu-item: new `description` input renders a standing second line and wires `aria-describedby`. If you hand-rolled that line by projecting your own span into the item, move it to the input -- yours lands INSIDE the accessible name, the input's does not.",
|
|
358
338
|
"ds-search: `clear()` is now public. A host-owned Clear button should call it rather than writing '' into `value`, which does not cancel an armed debounce when the text already matches what the control last pushed.",
|
|
@@ -400,7 +380,7 @@
|
|
|
400
380
|
"--ds-multi-select-panel"
|
|
401
381
|
],
|
|
402
382
|
"why": "The panel radius reached two of the three dropdowns, so the third was retuned by hand.",
|
|
403
|
-
"replaceWith": "--ds-dropdown-panel-radius, which now reaches all three"
|
|
383
|
+
"replaceWith": "--ds-dropdown-panel-radius, which now reaches all three. The pane setup they share forwards it, so no picker's own list of forwarded tokens names it"
|
|
404
384
|
},
|
|
405
385
|
{
|
|
406
386
|
"id": "search-clear-timer",
|
|
@@ -487,11 +467,11 @@
|
|
|
487
467
|
"style"
|
|
488
468
|
],
|
|
489
469
|
"find": [
|
|
490
|
-
"
|
|
491
|
-
"
|
|
492
|
-
"
|
|
470
|
+
"name=\"error\"",
|
|
471
|
+
"name=\"warn\"",
|
|
472
|
+
".field-message"
|
|
493
473
|
],
|
|
494
|
-
"why": "A
|
|
474
|
+
"why": "A `ds-icon` rendered by hand beside a field's error or warning text, or a rule on the message row nudging it into line against the old centred layout.",
|
|
495
475
|
"replaceWith": "the built-in state glyph (error / warning / success carry one now), retuned through DS_CONFIG.field.stateIcons or messageIcon, with --ds-field-message-icon-gap / -offset for the spacing"
|
|
496
476
|
},
|
|
497
477
|
{
|
package/migrations/0.11.0.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
{
|
|
5
5
|
"id": "exported-class-members-grew",
|
|
6
6
|
"kind": "behavior",
|
|
7
|
-
"old": "
|
|
7
|
+
"old": "TableComponent, ButtonComponent, IconButtonComponent, SidenavComponent",
|
|
8
8
|
"new": null,
|
|
9
9
|
"action": "Only if you extend one of these and already declare one of the GAINED names: rename yours, or add `override` if you meant to replace ours. Build after upgrading — the compiler enumerates every collision.",
|
|
10
10
|
"appliesWhen": "Subclassing a DS component is unsupported, but consumers do it. Template users of the `<ds-…>` elements need nothing.",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"ds-banner now sets `text-align: start` on its own box instead of inheriting. Nothing to do unless you were centring a banner by centring its container - that no longer reaches the banner, and the fix is to say so rather than to work around it. The reported symptom (a centred title over a start-aligned body) does not come from the DS: measured across every banner and both layouts, title and body both compute `start`, and a centred ancestor moves BOTH - it cannot split them. If you still see the split, something on your side targets `.title` or `.body` directly; those are generic class names and a global rule reaches them.",
|
|
106
106
|
"ds-sidenav-footer's account menu uses ds-menu-divider now instead of a hand-rolled div, so --ds-menu-divider-color and --ds-menu-divider-spacing finally reach it. Its line also moves CLOSER - it sat 6px from its neighbours and is flush now, along with every other divider; see the menu-divider-now-flush item for what that means if you set the spacing token.",
|
|
107
107
|
"A compact ds-banner with a title longer than its container used to overflow that container and cut the title mid-word with no ellipsis; it now ellipsises and the banner shrinks to fit. Nothing to edit. Worth a look only if you compensated for it - a width, a min-width or a font-size override on a compact banner, or a title you shortened to stop it blowing out a narrow column, can go back to the wording you wanted.",
|
|
108
|
-
"ds-table's pagination footer is now inset like the cells (horizontally by --ds-table-cell-pad-x, and the same at the bottom as the top). It previously had padding-top only, so the summary line sat 16px left of the column text and on the container's border. Nothing to edit - and if you carried a TODO(ds-table-footer-padding) or a local rule padding .pagination-footer, it can go. A local rule
|
|
108
|
+
"ds-table's pagination footer is now inset like the cells (horizontally by --ds-table-cell-pad-x, and the same at the bottom as the top). It previously had padding-top only, so the summary line sat 16px left of the column text and on the container's border. Nothing to edit - and if you carried a TODO(ds-table-footer-padding) or a local rule padding .pagination-footer, it can go. A local rule on .pagination-footer replaces the inset on each side it sets rather than adding to it, so a single-side override such as padding-top keeps the other three at the new inset; only padding on an element inside the footer stacks on top. (delete list: table-footer-padding-workaround)",
|
|
109
109
|
"ds-banner's projected body takes --font-size-s now, overridable via the new --ds-banner-body-font-size, instead of inheriting the page size - a 16px context used to render the body larger than the banner's own 14px title. The title/body gap also moved onto the body, so it appears only when a body exists: a compact banner with BOTH a title and a body no longer runs them together, and a title-only banner gains no trailing space. If you set a font-size on a banner's content from outside to compensate, drop it or move it to the token.",
|
|
110
110
|
"ds-sidenav gains brandRoute and brandLinkLabel: set brandRoute and the brand row becomes a link (typically to home), announced as \"<brand>, home\" unless brandLinkLabel says otherwise. Unset, the row is the plain block it always was, so nothing changes without an explicit opt-in. Router targets only, and RouterLink is instantiated only once the input is set. If you hand-rolled a link around the brand slot, this replaces it.",
|
|
111
111
|
"ds-checkbox and ds-radio-group paint a validation state on the control now: the checkbox reddens its border (border only - a fill at 16px reads as checked), the radio group reddens its label (not the rings - an unanswered group is not five wrong radios). Both also handle warning. Purely additive, and only visible where you already bind error/errors/invalid. ds-radio, ds-switch and ds-slider deliberately do NOT paint: a lone radio's choice belongs to its group, a switch applies on flip rather than on submit, and a slider always holds an in-range value. If you hand-rolled a red outline on a checkbox or a red group label, drop it - it will now double up."
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"pagination-footer",
|
|
163
163
|
"TODO(ds-table-footer-padding)"
|
|
164
164
|
],
|
|
165
|
-
"why": "A local rule padding ds-table's `.pagination-footer`, added because the component gave it a top inset only — so the summary line sat left of the column text and on the container's border. The footer is inset by the cells' own padding now,
|
|
165
|
+
"why": "A local rule padding ds-table's `.pagination-footer`, added because the component gave it a top inset only — so the summary line sat left of the column text and on the container's border. The footer is inset by the cells' own padding now. A local rule that wins on specificity replaces that inset on the sides it sets, so delete it only where it restates the new value; one that sets a different value there is still load-bearing.",
|
|
166
166
|
"replaceWith": "nothing — and retune both together through --ds-table-cell-pad-x if the inset is wrong for you"
|
|
167
167
|
}
|
|
168
168
|
]
|