@ids-group-ltd/ids-design-system 0.14.8 → 0.15.1
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 +1145 -234
- package/components.md +122 -53
- package/docs/agent/INDEX.md +5 -3
- package/docs/agent/charts/column-series-component.md +1 -1
- package/docs/agent/charts/ds-bar-chart.md +7 -4
- package/docs/agent/charts/ds-chart.md +1 -1
- package/docs/agent/charts/ds-column-chart.md +2 -1
- package/docs/agent/charts/ds-funnel-chart.md +1 -1
- package/docs/agent/charts/ds-heatmap-chart.md +2 -1
- package/docs/agent/charts/ds-line-chart.md +3 -3
- package/docs/agent/charts/ds-pie-chart.md +3 -2
- package/docs/agent/charts/ds-scatter-chart.md +2 -1
- package/docs/agent/charts/ds-waterfall-chart.md +2 -2
- package/docs/agent/charts/line-series-component.md +1 -1
- package/docs/agent/feedback/ds-alert.md +1 -0
- package/docs/agent/feedback/ds-banner.md +1 -0
- package/docs/agent/feedback/ds-loading-overlay.md +2 -0
- package/docs/agent/feedback/ds-skeleton.md +1 -1
- package/docs/agent/feedback/ds-toast.md +2 -0
- package/docs/agent/forms/ds-autocomplete.md +1 -1
- package/docs/agent/forms/ds-button.md +1 -0
- package/docs/agent/forms/ds-checkbox.md +1 -1
- package/docs/agent/forms/ds-color-picker.md +1 -1
- package/docs/agent/forms/ds-date-picker.md +2 -1
- package/docs/agent/forms/ds-icon-button.md +1 -1
- package/docs/agent/forms/ds-input.md +1 -1
- package/docs/agent/forms/ds-multi-select.md +1 -1
- package/docs/agent/forms/ds-otp-input.md +1 -1
- package/docs/agent/forms/ds-radio-group.md +1 -1
- package/docs/agent/forms/ds-segmented.md +1 -1
- package/docs/agent/forms/ds-select.md +1 -1
- package/docs/agent/forms/ds-slider.md +1 -1
- package/docs/agent/forms/ds-switch.md +1 -1
- package/docs/agent/forms/ds-textarea.md +1 -1
- package/docs/agent/forms/ds-time-picker.md +1 -1
- package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
- package/docs/agent/foundations/global-helper-classes.md +4 -4
- package/docs/agent/foundations/tokens.md +1 -1
- package/docs/agent/navigation/ds-pagination.md +2 -1
- package/docs/agent/overlays/ds-bottom-sheet.md +1 -1
- package/docs/agent/overlays/ds-definition-term.md +10 -0
- package/docs/agent/overlays/ds-drawer.md +1 -1
- package/docs/agent/overlays/ds-info-hint.md +29 -0
- package/docs/agent/overlays/ds-menu.md +1 -1
- package/docs/agent/overlays/ds-modal-card.md +1 -1
- package/docs/agent/overlays/ds-modal.md +19 -1
- package/docs/agent/overlays/ds-tooltip-panel.md +1 -1
- package/docs/agent/overlays/ds-tooltip.md +3 -3
- package/docs/agent/tables/ds-table-columns.md +2 -0
- package/docs/agent/tables/ds-table.md +4 -3
- package/eslint/deprecated-api.json +889 -0
- package/eslint/index.mjs +394 -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 +6 -3
- 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 +6 -12
- 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 +27 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.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 +6 -3
- 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 +169 -37
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +8 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +7 -17
- 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 +875 -90
- 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 +2183 -1232
- 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 +10 -5
- 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 +15 -5
- 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 +50 -11
- 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 +22 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-definition-term.mjs +107 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-definition-term.mjs.map +1 -0
- 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-divider.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +5 -15
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +2 -2
- 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-field-message.mjs +44 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +2 -2
- 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 +11 -22
- 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 +51 -21
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +5 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs +110 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +11 -7
- 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 +6 -6
- 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 +41 -46
- 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 +4 -4
- 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 +183 -31
- 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 +21 -26
- 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 +27 -9
- 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 +10 -5
- 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-footer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.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 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +106 -29
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +7 -4
- 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 +12 -7
- 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 +140 -26
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
- 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 +10 -5
- 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 +29 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs +55 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs.map +1 -0
- 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 +6 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +5 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.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-status-dot.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +36 -18
- 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 +2 -2
- 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-resize.mjs +17 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +193 -19
- 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 +15 -5
- 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 +26 -9
- 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 +4 -4
- 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 +20 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +434 -157
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.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-w3w.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +18 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +323 -68
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +27 -83
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +3 -0
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.10.0.json +79 -21
- package/migrations/0.10.1.json +38 -21
- package/migrations/0.10.2.json +44 -7
- package/migrations/0.10.3.json +7 -5
- package/migrations/0.11.0.json +10 -7
- package/migrations/0.11.1.json +25 -14
- package/migrations/0.11.2.json +3 -3
- package/migrations/0.11.3.json +9 -6
- package/migrations/0.11.4.json +13 -12
- package/migrations/0.12.1.json +41 -14
- package/migrations/0.12.2.json +7 -6
- package/migrations/0.12.3.json +3 -3
- package/migrations/0.13.0.json +11 -11
- package/migrations/0.13.1.json +60 -8
- package/migrations/0.13.2.json +98 -44
- package/migrations/0.13.3.json +46 -16
- package/migrations/0.13.4.json +23 -22
- package/migrations/0.14.0.json +5 -5
- package/migrations/0.14.1.json +5 -5
- package/migrations/0.14.2.json +1 -1
- package/migrations/0.14.4.json +6 -5
- package/migrations/0.14.5.json +13 -7
- package/migrations/0.14.6.json +2 -2
- package/migrations/0.14.8.json +26 -2
- package/migrations/0.15.0.json +999 -0
- package/migrations/0.15.1.json +738 -0
- package/migrations/0.2.0.json +2 -2
- package/migrations/0.3.0.json +43 -6
- package/migrations/0.4.0.json +95 -13
- package/migrations/0.5.0.json +116 -10
- package/migrations/0.5.1.json +97 -11
- package/migrations/0.6.0.json +30 -1
- package/migrations/0.6.1.json +22 -1
- package/migrations/0.6.2.json +8 -4
- package/migrations/0.6.3.json +17 -5
- package/migrations/0.7.0.json +58 -9
- package/migrations/0.7.1.json +62 -8
- package/migrations/0.8.0.json +60 -12
- package/migrations/0.9.0.json +68 -25
- package/migrations/0.9.1.json +1 -1
- package/migrations/README.md +57 -3
- package/package.json +27 -1
- package/schematics/check-overrides/index.cjs +4 -11
- package/schematics/check-overrides/scan.cjs +12 -1
- package/schematics/check-overrides/surface.json +94 -11
- package/schematics/ng-add/index.cjs +7 -1
- package/stylelint/deprecated-tokens.json +2711 -0
- package/stylelint/index.mjs +94 -0
- package/stylelint/since-version.mjs +26 -0
- package/styles/_chart-frame.scss +14 -0
- package/styles/_chart-interactive.scss +26 -1
- package/styles/_chart-motion.scss +50 -17
- package/styles/_chip-row.scss +5 -2
- package/styles/_clear-button.scss +2 -0
- package/styles/_component-base.scss +56 -0
- package/styles/_dismiss-button.scss +16 -0
- package/styles/_dropdown-overlay.scss +19 -0
- package/styles/_focus.scss +4 -1
- package/styles/_link.scss +35 -12
- package/styles/_overlay-motion.scss +4 -6
- package/styles/_pinned.scss +43 -0
- package/styles/_skeleton-shimmer.scss +2 -8
- package/styles/_table-controls.scss +4 -0
- package/styles/_target.scss +40 -0
- package/styles/_text-clip.scss +23 -4
- package/styles/_tokens.scss +3 -1
- package/styles/_typography.scss +2 -0
- package/styles/_visually-hidden.scss +2 -0
- package/styles/ds.scss +0 -1
- package/themes/README.md +60 -7
- package/themes/_semantic.scss +5 -8
- package/themes/dark/_theme.scss +5 -8
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +74 -4
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +3 -2
- package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +4 -4
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +87 -7
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +207 -29
- package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +30 -4
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-definition-term.d.ts +22 -0
- package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +0 -1
- package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +19 -2
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +7 -6
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +22 -8
- package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +3 -2
- package/types/ids-group-ltd-ids-design-system-components-info-hint.d.ts +23 -0
- package/types/ids-group-ltd-ids-design-system-components-input.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +18 -7
- package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +14 -3
- package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +0 -2
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +5 -3
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +26 -7
- package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +2 -1
- package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +52 -10
- package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-show-dirty.d.ts +29 -0
- package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +39 -9
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +2 -0
- 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 +2 -0
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +54 -24
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +9 -2
- package/types/ids-group-ltd-ids-design-system-components.d.ts +135 -35
- package/types/ids-group-ltd-ids-design-system-core.d.ts +46 -23
- package/types/ids-group-ltd-ids-design-system.d.ts +6 -3
|
@@ -6,10 +6,6 @@ const scan_cjs_1 = require("./scan.cjs");
|
|
|
6
6
|
const STYLE_FILE = /\.(scss|css|sass|less)$/;
|
|
7
7
|
const TOKEN_ONLY_FILE = /\.(html|ts)$/;
|
|
8
8
|
const SKIPPED_DIR = /\/(node_modules|dist|\.angular)\//;
|
|
9
|
-
// `style.` catches `[style.--ds-x]="…"`, `setProperty('` catches
|
|
10
|
-
// `el.style.setProperty('--ds-x', …)`. Everything else on an .html/.ts line is prose or an
|
|
11
|
-
// unrelated binding, not a custom-property write.
|
|
12
|
-
const BINDING_MARKER = /style\.|setProperty\('/;
|
|
13
9
|
/**
|
|
14
10
|
* `ng g @ids-group-ltd/ids-design-system:check-overrides` — reports every `--ds-*` a consumer's
|
|
15
11
|
* stylesheets set that the installed version never reads, and every `ds-*` selector naming a class
|
|
@@ -29,13 +25,10 @@ function checkOverrides(options) {
|
|
|
29
25
|
if (!isStyleFile && !isTokenOnlyFile)
|
|
30
26
|
return;
|
|
31
27
|
const content = entry.content.toString('utf8');
|
|
32
|
-
const
|
|
33
|
-
? content
|
|
34
|
-
: content
|
|
35
|
-
|
|
36
|
-
.map((line) => (BINDING_MARKER.test(line) ? line : ''))
|
|
37
|
-
.join('\n');
|
|
38
|
-
for (const hit of (0, scan_cjs_1.findWriteOnlyTokens)(tokenSource, readTokens)) {
|
|
28
|
+
const tokenHitsInFile = isStyleFile
|
|
29
|
+
? (0, scan_cjs_1.findWriteOnlyTokens)(content, readTokens)
|
|
30
|
+
: (0, scan_cjs_1.findWriteOnlyBoundTokens)(content, readTokens);
|
|
31
|
+
for (const hit of tokenHitsInFile) {
|
|
39
32
|
context.logger.warn(`${path}:${hit.line} ${hit.token} is not read by @ids-group-ltd/ids-design-system ${surface.version}`);
|
|
40
33
|
tokenHits++;
|
|
41
34
|
}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
// resolved — documented in README.md alongside the schematic.
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.findWriteOnlyTokens = findWriteOnlyTokens;
|
|
10
|
+
exports.findWriteOnlyBoundTokens = findWriteOnlyBoundTokens;
|
|
10
11
|
exports.findDeadClasses = findDeadClasses;
|
|
11
12
|
// Comments are stripped per line so a token or selector only mentioned in prose never reports a
|
|
12
13
|
// hit; a `/* … */` spanning several lines is tracked across them.
|
|
@@ -43,10 +44,20 @@ function linesWithoutComments(text) {
|
|
|
43
44
|
return cleaned;
|
|
44
45
|
});
|
|
45
46
|
}
|
|
47
|
+
const DECLARED_TOKEN = /(--ds-[a-z0-9-]+)\s*:/g;
|
|
48
|
+
// `[style.--ds-x]="…"` in a template, `el.style.setProperty('--ds-x', …)` in code: neither is
|
|
49
|
+
// followed by a colon, so a declaration pattern never sees them.
|
|
50
|
+
const BOUND_TOKEN = /(?:style\.|setProperty\(\s*['"`])(--ds-[a-z0-9-]+)/g;
|
|
46
51
|
function findWriteOnlyTokens(text, readTokens) {
|
|
52
|
+
return findUnreadTokens(text, readTokens, DECLARED_TOKEN);
|
|
53
|
+
}
|
|
54
|
+
function findWriteOnlyBoundTokens(text, readTokens) {
|
|
55
|
+
return findUnreadTokens(text, readTokens, BOUND_TOKEN);
|
|
56
|
+
}
|
|
57
|
+
function findUnreadTokens(text, readTokens, pattern) {
|
|
47
58
|
const hits = [];
|
|
48
59
|
linesWithoutComments(text).forEach((line, index) => {
|
|
49
|
-
for (const match of line.matchAll(
|
|
60
|
+
for (const match of line.matchAll(pattern)) {
|
|
50
61
|
const token = match[1];
|
|
51
62
|
if (!readTokens.has(token))
|
|
52
63
|
hits.push({ token, line: index + 1 });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.15.1",
|
|
3
3
|
"tokens": [
|
|
4
4
|
"--ds-accordion-body-padding",
|
|
5
5
|
"--ds-accordion-body-text-color",
|
|
@@ -99,6 +99,9 @@
|
|
|
99
99
|
"--ds-banner-title-text-color",
|
|
100
100
|
"--ds-bar-chart-band-color",
|
|
101
101
|
"--ds-bar-chart-cap-radius",
|
|
102
|
+
"--ds-bar-chart-child-fill-opacity",
|
|
103
|
+
"--ds-bar-chart-divider-color",
|
|
104
|
+
"--ds-bar-chart-label-column-max-width",
|
|
102
105
|
"--ds-bar-chart-label-gap",
|
|
103
106
|
"--ds-bar-chart-row-gap",
|
|
104
107
|
"--ds-bar-chart-target-color",
|
|
@@ -296,6 +299,7 @@
|
|
|
296
299
|
"--ds-date-picker-day-today-label-color",
|
|
297
300
|
"--ds-date-picker-focus-shadow",
|
|
298
301
|
"--ds-date-picker-header-label-color",
|
|
302
|
+
"--ds-date-picker-max-width",
|
|
299
303
|
"--ds-date-picker-nav-icon-color",
|
|
300
304
|
"--ds-date-picker-panel-radius",
|
|
301
305
|
"--ds-date-picker-placeholder-color",
|
|
@@ -384,6 +388,8 @@
|
|
|
384
388
|
"--ds-field-border-color",
|
|
385
389
|
"--ds-field-border-color-focus",
|
|
386
390
|
"--ds-field-border-color-hover",
|
|
391
|
+
"--ds-field-changed-color",
|
|
392
|
+
"--ds-field-changed-text-color",
|
|
387
393
|
"--ds-field-focus-shadow",
|
|
388
394
|
"--ds-field-focus-shadow-error",
|
|
389
395
|
"--ds-field-focus-shadow-success",
|
|
@@ -439,6 +445,7 @@
|
|
|
439
445
|
"--ds-icon-button-radius",
|
|
440
446
|
"--ds-icon-button-size",
|
|
441
447
|
"--ds-icon-size",
|
|
448
|
+
"--ds-info-hint-color",
|
|
442
449
|
"--ds-inline-gap",
|
|
443
450
|
"--ds-input-bg-color",
|
|
444
451
|
"--ds-input-bg-color-disabled",
|
|
@@ -483,7 +490,15 @@
|
|
|
483
490
|
"--ds-line-chart-swatch-size",
|
|
484
491
|
"--ds-link-color",
|
|
485
492
|
"--ds-link-color-active",
|
|
493
|
+
"--ds-link-color-disabled",
|
|
486
494
|
"--ds-link-color-hover",
|
|
495
|
+
"--ds-link-color-visited",
|
|
496
|
+
"--ds-link-color-visited-active",
|
|
497
|
+
"--ds-link-color-visited-hover",
|
|
498
|
+
"--ds-link-focus-ring-color",
|
|
499
|
+
"--ds-link-underline-color",
|
|
500
|
+
"--ds-link-underline-offset",
|
|
501
|
+
"--ds-link-underline-thickness",
|
|
487
502
|
"--ds-list-divider-color",
|
|
488
503
|
"--ds-list-item-gap",
|
|
489
504
|
"--ds-list-item-hover-bg-color",
|
|
@@ -499,6 +514,7 @@
|
|
|
499
514
|
"--ds-loading-overlay-enter-keyframes",
|
|
500
515
|
"--ds-loading-overlay-enter-scale",
|
|
501
516
|
"--ds-loading-overlay-label-color",
|
|
517
|
+
"--ds-loading-overlay-radius",
|
|
502
518
|
"--ds-loading-overlay-scrim-color",
|
|
503
519
|
"--ds-menu-bg-color",
|
|
504
520
|
"--ds-menu-border-color",
|
|
@@ -575,6 +591,7 @@
|
|
|
575
591
|
"--ds-motion-chart-mark-grow-duration",
|
|
576
592
|
"--ds-motion-chart-mark-grow-easing",
|
|
577
593
|
"--ds-motion-chart-mark-sweep-duration",
|
|
594
|
+
"--ds-motion-chart-scale-marker-delay",
|
|
578
595
|
"--ds-motion-chart-state-duration",
|
|
579
596
|
"--ds-motion-chart-state-easing",
|
|
580
597
|
"--ds-motion-chart-tooltip-move-duration",
|
|
@@ -1092,8 +1109,7 @@
|
|
|
1092
1109
|
"--ds-w3w-hover-bg-color",
|
|
1093
1110
|
"--ds-w3w-mark-color",
|
|
1094
1111
|
"--ds-w3w-text-color",
|
|
1095
|
-
"--ds-waterfall-chart-connector-color"
|
|
1096
|
-
"--ds-waterfall-chart-skeleton-height"
|
|
1112
|
+
"--ds-waterfall-chart-connector-color"
|
|
1097
1113
|
],
|
|
1098
1114
|
"classes": {
|
|
1099
1115
|
"ds-accordion-item": [
|
|
@@ -1218,27 +1234,37 @@
|
|
|
1218
1234
|
"data-table",
|
|
1219
1235
|
"detail",
|
|
1220
1236
|
"dims-others",
|
|
1237
|
+
"divider",
|
|
1221
1238
|
"empty-text",
|
|
1222
1239
|
"fill",
|
|
1223
1240
|
"framed",
|
|
1224
1241
|
"grid-line",
|
|
1242
|
+
"has-percent",
|
|
1225
1243
|
"interactive",
|
|
1226
1244
|
"is-active",
|
|
1245
|
+
"is-child",
|
|
1227
1246
|
"is-dimmed",
|
|
1247
|
+
"is-emphasis",
|
|
1228
1248
|
"is-error",
|
|
1229
1249
|
"is-pinned",
|
|
1250
|
+
"is-skeleton",
|
|
1230
1251
|
"label",
|
|
1252
|
+
"labels-start",
|
|
1231
1253
|
"mark-leave",
|
|
1232
1254
|
"percent",
|
|
1233
1255
|
"pin-marker",
|
|
1234
1256
|
"pins",
|
|
1257
|
+
"reload-overlay",
|
|
1235
1258
|
"row",
|
|
1236
1259
|
"rows",
|
|
1237
1260
|
"segment",
|
|
1238
|
-
"skeleton",
|
|
1239
1261
|
"stage-table",
|
|
1240
1262
|
"target",
|
|
1263
|
+
"term",
|
|
1264
|
+
"text-skeleton",
|
|
1265
|
+
"toggle",
|
|
1241
1266
|
"track",
|
|
1267
|
+
"track-skeleton",
|
|
1242
1268
|
"value"
|
|
1243
1269
|
],
|
|
1244
1270
|
"ds-bar": [
|
|
@@ -1350,14 +1376,26 @@
|
|
|
1350
1376
|
"ds-chart-unpin": [
|
|
1351
1377
|
"pin-reset"
|
|
1352
1378
|
],
|
|
1379
|
+
"ds-chart-skeleton": [
|
|
1380
|
+
"band",
|
|
1381
|
+
"bar",
|
|
1382
|
+
"categories",
|
|
1383
|
+
"line",
|
|
1384
|
+
"pill",
|
|
1385
|
+
"plot",
|
|
1386
|
+
"ticks"
|
|
1387
|
+
],
|
|
1353
1388
|
"ds-chart": [
|
|
1389
|
+
"axes",
|
|
1354
1390
|
"axis-label",
|
|
1355
1391
|
"axis-line",
|
|
1356
1392
|
"axis-title",
|
|
1393
|
+
"band-pin",
|
|
1357
1394
|
"canvas",
|
|
1358
1395
|
"category-band",
|
|
1359
1396
|
"category-label",
|
|
1360
1397
|
"category-stop",
|
|
1398
|
+
"category-stops",
|
|
1361
1399
|
"chart",
|
|
1362
1400
|
"cursor",
|
|
1363
1401
|
"cursor-anchor",
|
|
@@ -1369,12 +1407,26 @@
|
|
|
1369
1407
|
"framed",
|
|
1370
1408
|
"grid-line",
|
|
1371
1409
|
"is-error",
|
|
1410
|
+
"is-hot",
|
|
1372
1411
|
"is-rotated",
|
|
1412
|
+
"labels",
|
|
1413
|
+
"mark-leave",
|
|
1373
1414
|
"marks",
|
|
1374
1415
|
"measuring",
|
|
1416
|
+
"on-reading",
|
|
1417
|
+
"pill",
|
|
1418
|
+
"pill-text",
|
|
1419
|
+
"pinned-line",
|
|
1375
1420
|
"pins",
|
|
1421
|
+
"placed",
|
|
1376
1422
|
"plot-bg",
|
|
1423
|
+
"range-band",
|
|
1424
|
+
"range-pill",
|
|
1425
|
+
"readout",
|
|
1426
|
+
"readout-guide",
|
|
1427
|
+
"selects-range",
|
|
1377
1428
|
"stage-table",
|
|
1429
|
+
"stop-ring",
|
|
1378
1430
|
"zero-line"
|
|
1379
1431
|
],
|
|
1380
1432
|
"ds-checkbox": [
|
|
@@ -1414,7 +1466,6 @@
|
|
|
1414
1466
|
"empty-text",
|
|
1415
1467
|
"framed",
|
|
1416
1468
|
"is-error",
|
|
1417
|
-
"skeleton",
|
|
1418
1469
|
"stage-table"
|
|
1419
1470
|
],
|
|
1420
1471
|
"ds-date-picker": [
|
|
@@ -1494,8 +1545,7 @@
|
|
|
1494
1545
|
"right",
|
|
1495
1546
|
"sm",
|
|
1496
1547
|
"title",
|
|
1497
|
-
"top"
|
|
1498
|
-
"unslotted"
|
|
1548
|
+
"top"
|
|
1499
1549
|
],
|
|
1500
1550
|
"ds-dropzone": [
|
|
1501
1551
|
"active",
|
|
@@ -1538,6 +1588,8 @@
|
|
|
1538
1588
|
"sm"
|
|
1539
1589
|
],
|
|
1540
1590
|
"ds-field-message": [
|
|
1591
|
+
"changed",
|
|
1592
|
+
"changed-only",
|
|
1541
1593
|
"error",
|
|
1542
1594
|
"field-message",
|
|
1543
1595
|
"message-icon",
|
|
@@ -1545,6 +1597,9 @@
|
|
|
1545
1597
|
"success",
|
|
1546
1598
|
"warning"
|
|
1547
1599
|
],
|
|
1600
|
+
"ds-field-status": [
|
|
1601
|
+
"changed-dot"
|
|
1602
|
+
],
|
|
1548
1603
|
"ds-filter-bar": [
|
|
1549
1604
|
"item",
|
|
1550
1605
|
"more",
|
|
@@ -1572,6 +1627,8 @@
|
|
|
1572
1627
|
"pins",
|
|
1573
1628
|
"shape",
|
|
1574
1629
|
"skeleton",
|
|
1630
|
+
"skeleton-stages",
|
|
1631
|
+
"skeleton-text",
|
|
1575
1632
|
"stage",
|
|
1576
1633
|
"stage-table",
|
|
1577
1634
|
"swatch",
|
|
@@ -1593,17 +1650,21 @@
|
|
|
1593
1650
|
"is-active",
|
|
1594
1651
|
"is-dimmed",
|
|
1595
1652
|
"is-error",
|
|
1653
|
+
"is-highlighted",
|
|
1596
1654
|
"is-missing",
|
|
1597
1655
|
"is-pinned",
|
|
1598
1656
|
"mark-leave",
|
|
1599
1657
|
"pin-marker",
|
|
1600
1658
|
"pins",
|
|
1659
|
+
"placed",
|
|
1601
1660
|
"row-label",
|
|
1602
1661
|
"scale",
|
|
1603
1662
|
"scale-label",
|
|
1663
|
+
"scale-marker",
|
|
1604
1664
|
"scale-ramp",
|
|
1605
1665
|
"scale-step",
|
|
1606
1666
|
"skeleton",
|
|
1667
|
+
"skeleton-text",
|
|
1607
1668
|
"stage-table"
|
|
1608
1669
|
],
|
|
1609
1670
|
"ds-icon-button": [
|
|
@@ -1623,6 +1684,9 @@
|
|
|
1623
1684
|
"standard",
|
|
1624
1685
|
"tonal"
|
|
1625
1686
|
],
|
|
1687
|
+
"ds-info-hint": [
|
|
1688
|
+
"info-hint"
|
|
1689
|
+
],
|
|
1626
1690
|
"ds-input": [
|
|
1627
1691
|
"addon",
|
|
1628
1692
|
"addon-slot",
|
|
@@ -1730,7 +1794,6 @@
|
|
|
1730
1794
|
"success",
|
|
1731
1795
|
"title",
|
|
1732
1796
|
"title-line",
|
|
1733
|
-
"unslotted",
|
|
1734
1797
|
"warning",
|
|
1735
1798
|
"xl"
|
|
1736
1799
|
],
|
|
@@ -1762,7 +1825,6 @@
|
|
|
1762
1825
|
"success",
|
|
1763
1826
|
"title",
|
|
1764
1827
|
"title-line",
|
|
1765
|
-
"unslotted",
|
|
1766
1828
|
"warning",
|
|
1767
1829
|
"xl"
|
|
1768
1830
|
],
|
|
@@ -1870,8 +1932,10 @@
|
|
|
1870
1932
|
"center",
|
|
1871
1933
|
"center-below",
|
|
1872
1934
|
"center-label",
|
|
1935
|
+
"center-swap",
|
|
1873
1936
|
"center-value",
|
|
1874
1937
|
"chart",
|
|
1938
|
+
"circle",
|
|
1875
1939
|
"data-table",
|
|
1876
1940
|
"dims-others",
|
|
1877
1941
|
"empty",
|
|
@@ -1900,7 +1964,11 @@
|
|
|
1900
1964
|
"ring-stack",
|
|
1901
1965
|
"ring-svg",
|
|
1902
1966
|
"skeleton",
|
|
1967
|
+
"skeleton-center",
|
|
1968
|
+
"skeleton-label",
|
|
1903
1969
|
"skeleton-legend",
|
|
1970
|
+
"skeleton-ring",
|
|
1971
|
+
"skeleton-row",
|
|
1904
1972
|
"slice",
|
|
1905
1973
|
"stage-table",
|
|
1906
1974
|
"swatch"
|
|
@@ -1936,15 +2004,24 @@
|
|
|
1936
2004
|
"grid-line",
|
|
1937
2005
|
"interactive",
|
|
1938
2006
|
"is-active",
|
|
2007
|
+
"is-axis",
|
|
2008
|
+
"is-category",
|
|
1939
2009
|
"is-dimmed",
|
|
1940
2010
|
"is-error",
|
|
1941
2011
|
"is-horizontal",
|
|
1942
2012
|
"is-pinned",
|
|
2013
|
+
"is-tick",
|
|
1943
2014
|
"mark-leave",
|
|
2015
|
+
"nearest-ring",
|
|
2016
|
+
"nearest-tether",
|
|
1944
2017
|
"pins",
|
|
1945
2018
|
"plot-bg",
|
|
1946
2019
|
"point",
|
|
2020
|
+
"point-group",
|
|
1947
2021
|
"scatter-chart",
|
|
2022
|
+
"skeleton",
|
|
2023
|
+
"skeleton-grid-line",
|
|
2024
|
+
"skeleton-pill",
|
|
1948
2025
|
"stage-table",
|
|
1949
2026
|
"thinned"
|
|
1950
2027
|
],
|
|
@@ -2157,6 +2234,7 @@
|
|
|
2157
2234
|
"bordered",
|
|
2158
2235
|
"bulk-bar",
|
|
2159
2236
|
"cell-clip",
|
|
2237
|
+
"cell-clip-text",
|
|
2160
2238
|
"cell-edit",
|
|
2161
2239
|
"cell-link",
|
|
2162
2240
|
"check",
|
|
@@ -2177,18 +2255,19 @@
|
|
|
2177
2255
|
"compact",
|
|
2178
2256
|
"count",
|
|
2179
2257
|
"disabled",
|
|
2258
|
+
"ds-definition-term",
|
|
2180
2259
|
"editable-cell",
|
|
2181
2260
|
"empty",
|
|
2182
2261
|
"expand-btn",
|
|
2183
2262
|
"expand-chev",
|
|
2184
2263
|
"expand-col",
|
|
2264
|
+
"expand-panel-body",
|
|
2185
2265
|
"expand-panel-cell",
|
|
2186
2266
|
"expand-panel-content",
|
|
2187
2267
|
"expand-panel-inner",
|
|
2188
2268
|
"expand-panel-row",
|
|
2189
2269
|
"expandable",
|
|
2190
2270
|
"fit-content",
|
|
2191
|
-
"has-hint",
|
|
2192
2271
|
"hscroll-hidden",
|
|
2193
2272
|
"hscroll-proxy",
|
|
2194
2273
|
"hscroll-spacer",
|
|
@@ -2198,6 +2277,8 @@
|
|
|
2198
2277
|
"is-expanded",
|
|
2199
2278
|
"is-leaving",
|
|
2200
2279
|
"loading-space",
|
|
2280
|
+
"measuring-head",
|
|
2281
|
+
"measuring-rows",
|
|
2201
2282
|
"numeric",
|
|
2202
2283
|
"pagination-footer",
|
|
2203
2284
|
"pin-expand",
|
|
@@ -2205,6 +2286,7 @@
|
|
|
2205
2286
|
"pin-select",
|
|
2206
2287
|
"pinned",
|
|
2207
2288
|
"resizable",
|
|
2289
|
+
"resize-guide",
|
|
2208
2290
|
"row-actions-btn",
|
|
2209
2291
|
"scroll-wrap",
|
|
2210
2292
|
"scroll-y",
|
|
@@ -2212,6 +2294,7 @@
|
|
|
2212
2294
|
"selectable",
|
|
2213
2295
|
"selected",
|
|
2214
2296
|
"sep",
|
|
2297
|
+
"sized-columns",
|
|
2215
2298
|
"sort-icon",
|
|
2216
2299
|
"sortable",
|
|
2217
2300
|
"sorted-asc",
|
|
@@ -2344,6 +2427,7 @@
|
|
|
2344
2427
|
"ds-tooltip-panel": [
|
|
2345
2428
|
"bottom",
|
|
2346
2429
|
"left",
|
|
2430
|
+
"no-arrow",
|
|
2347
2431
|
"right",
|
|
2348
2432
|
"top"
|
|
2349
2433
|
],
|
|
@@ -2370,7 +2454,6 @@
|
|
|
2370
2454
|
"empty-text",
|
|
2371
2455
|
"framed",
|
|
2372
2456
|
"is-error",
|
|
2373
|
-
"skeleton",
|
|
2374
2457
|
"stage-table",
|
|
2375
2458
|
"waterfall-chart"
|
|
2376
2459
|
],
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ngAdd = ngAdd;
|
|
4
|
+
const schematics_1 = require("@angular-devkit/schematics");
|
|
4
5
|
const DS_IMPORT = "@use '@ids-group-ltd/ids-design-system/styles/ds';";
|
|
6
|
+
// Any quote style, with or without `as`/`with`: a second `@use` of the module is a Sass error.
|
|
7
|
+
const DS_USE = /@use\s+(['"])@ids-group-ltd\/ids-design-system\/styles\/ds\1/;
|
|
5
8
|
/**
|
|
6
9
|
* `ng add @ids-group-ltd/ids-design-system` — wires the design system's global
|
|
7
10
|
* styles (palette + theme + tokens + globals) into the target project's styles
|
|
@@ -16,6 +19,9 @@ function ngAdd(options) {
|
|
|
16
19
|
}
|
|
17
20
|
const workspace = JSON.parse(angularJson.toString());
|
|
18
21
|
const projects = workspace.projects ?? {};
|
|
22
|
+
if (options.project && !projects[options.project]) {
|
|
23
|
+
throw new schematics_1.SchematicsException(`ng-add: angular.json has no project named "${options.project}".`);
|
|
24
|
+
}
|
|
19
25
|
const projectName = options.project ??
|
|
20
26
|
workspace.defaultProject ??
|
|
21
27
|
Object.keys(projects).find((name) => projects[name].projectType === 'application');
|
|
@@ -27,7 +33,7 @@ function ngAdd(options) {
|
|
|
27
33
|
return tree;
|
|
28
34
|
}
|
|
29
35
|
const current = tree.read(stylesEntry).toString();
|
|
30
|
-
if (
|
|
36
|
+
if (DS_USE.test(current)) {
|
|
31
37
|
context.logger.info('ng-add: design system already imported — nothing to do.');
|
|
32
38
|
return tree;
|
|
33
39
|
}
|