@ids-group-ltd/ids-design-system 0.14.6 → 0.14.7
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 +98 -0
- package/components.md +5 -4
- package/docs/agent/forms/ds-button.md +2 -2
- package/docs/agent/overlays/ds-drawer.md +1 -1
- package/docs/agent/overlays/ds-modal-card.md +1 -1
- package/docs/agent/overlays/ds-modal.md +1 -1
- package/docs/agent/platform/toast-service.md +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +16 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
- 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 +16 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +4 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +1 -1
- 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 +68 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +15 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +63 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.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-pie-chart.mjs +96 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +2 -2
- 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 +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +14 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.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.mjs +18 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +126 -9
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +17 -6
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs +5 -2
- package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.14.7.json +140 -0
- package/migrations/0.4.0.json +3 -1
- package/package.json +1 -1
- package/schematics/check-overrides/surface.json +9 -10
- package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +4 -3
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +19 -4
- package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +2 -1
- package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +21 -4
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +22 -3
- package/types/ids-group-ltd-ids-design-system-components.d.ts +7 -2
- package/types/ids-group-ltd-ids-design-system-core.d.ts +33 -3
- package/types/ids-group-ltd-ids-design-system-icons.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-theme.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system.d.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ids-group-ltd-ids-design-system-theme.mjs","sources":["../../../src/lib/theme/provide-ds-theme.ts","../../../src/lib/theme/ids-group-ltd-ids-design-system-theme.ts"],"sourcesContent":["import {\n EnvironmentProviders,\n PLATFORM_ID,\n inject,\n makeEnvironmentProviders,\n provideEnvironmentInitializer,\n} from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\n\nexport interface DsThemeOptions {\n /**\n * Follow the operating-system colour scheme: sets `data-theme` on `<html>`\n * from `prefers-color-scheme` at startup and on every OS change.\n * Default `false`: light, with dark opt-in via `<html data-theme=\"dark\">`.\n */\n followSystem?: boolean;\n}\n\n/**\n * App-root theme configuration for the design system.\n *\n * ```ts\n * // app.config.ts\n * export const appConfig: ApplicationConfig = {\n * providers: [provideDsTheme({ followSystem: true })],\n * };\n * ```\n *\n * Light is the default with no provider; `followSystem` opts into OS-driven\n * switching. A
|
|
1
|
+
{"version":3,"file":"ids-group-ltd-ids-design-system-theme.mjs","sources":["../../../src/lib/theme/provide-ds-theme.ts","../../../src/lib/theme/ids-group-ltd-ids-design-system-theme.ts"],"sourcesContent":["import {\n EnvironmentProviders,\n PLATFORM_ID,\n inject,\n makeEnvironmentProviders,\n provideEnvironmentInitializer,\n} from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\n\nexport interface DsThemeOptions {\n /**\n * Follow the operating-system colour scheme: sets `data-theme` on `<html>`\n * from `prefers-color-scheme` at startup and on every OS change, unless\n * `<html>` already carries `data-theme` at startup.\n * Default `false`: light, with dark opt-in via `<html data-theme=\"dark\">`.\n */\n followSystem?: boolean;\n}\n\n/**\n * App-root theme configuration for the design system.\n *\n * ```ts\n * // app.config.ts\n * export const appConfig: ApplicationConfig = {\n * providers: [provideDsTheme({ followSystem: true })],\n * };\n * ```\n *\n * Light is the default with no provider; `followSystem` opts into OS-driven\n * switching. A `data-theme` already on `<html>` at startup is an explicit\n * choice: it is kept, and OS changes do not override it.\n */\nexport function provideDsTheme(\n options: DsThemeOptions = {},\n): EnvironmentProviders {\n return makeEnvironmentProviders([\n provideEnvironmentInitializer((): void => {\n if (\n !options.followSystem ||\n !isPlatformBrowser(inject(PLATFORM_ID)) ||\n document.documentElement.hasAttribute('data-theme')\n ) {\n return;\n }\n const query = window.matchMedia('(prefers-color-scheme: dark)');\n const apply = (): void =>\n document.documentElement.setAttribute(\n 'data-theme',\n query.matches ? 'dark' : 'light',\n );\n apply();\n query.addEventListener('change', apply);\n }),\n ]);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAmBA;;;;;;;;;;;;;AAaG;AACG,SAAU,cAAc,CAC5B,OAAA,GAA0B,EAAE,EAAA;AAE5B,IAAA,OAAO,wBAAwB,CAAC;QAC9B,6BAA6B,CAAC,MAAW;YACvC,IACE,CAAC,OAAO,CAAC,YAAY;AACrB,gBAAA,CAAC,iBAAiB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;gBACvC,QAAQ,CAAC,eAAe,CAAC,YAAY,CAAC,YAAY,CAAC,EACnD;gBACA;YACF;YACA,MAAM,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC,8BAA8B,CAAC;YAC/D,MAAM,KAAK,GAAG,MACZ,QAAQ,CAAC,eAAe,CAAC,YAAY,CACnC,YAAY,EACZ,KAAK,CAAC,OAAO,GAAG,MAAM,GAAG,OAAO,CACjC;AACH,YAAA,KAAK,EAAE;AACP,YAAA,KAAK,CAAC,gBAAgB,CAAC,QAAQ,EAAE,KAAK,CAAC;AACzC,QAAA,CAAC,CAAC;AACH,KAAA,CAAC;AACJ;;ACvDA;;AAEG;;;;"}
|
|
@@ -37,7 +37,7 @@ export { LineChartComponent } from '@ids-group-ltd/ids-design-system/components/
|
|
|
37
37
|
export { ListComponent, ListItemComponent } from '@ids-group-ltd/ids-design-system/components/list';
|
|
38
38
|
export { LoadingOverlayComponent } from '@ids-group-ltd/ids-design-system/components/loading-overlay';
|
|
39
39
|
export { MenuComponent, MenuDividerComponent, MenuItemComponent } from '@ids-group-ltd/ids-design-system/components/menu';
|
|
40
|
-
export { ModalCardComponent, ModalComponent, ModalService } from '@ids-group-ltd/ids-design-system/components/modal';
|
|
40
|
+
export { ModalCardComponent, ModalComponent, ModalConfirmActionDirective, ModalService } from '@ids-group-ltd/ids-design-system/components/modal';
|
|
41
41
|
export { MultiSelectComponent } from '@ids-group-ltd/ids-design-system/components/multi-select';
|
|
42
42
|
export { NumberStepperComponent } from '@ids-group-ltd/ids-design-system/components/number-stepper';
|
|
43
43
|
export { OtpInputComponent } from '@ids-group-ltd/ids-design-system/components/otp-input';
|
|
@@ -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 AccordionChevron,\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 { SparklineComponent } from '@ids-group-ltd/ids-design-system/components/sparkline';\nexport type { SparklineScale } from '@ids-group-ltd/ids-design-system/components/sparkline';\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 CellTemplateContext,\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 {\n TextareaMaxLengthMode,\n TextareaResize,\n} 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 DS_INTL,\n DS_INTL_DEFAULTS,\n ICONS,\n flattenDsOptions,\n inheritDsConfig,\n isDsOptionGroup,\n isTextClipped,\n provideDsConfig,\n provideDsIntl,\n} from '@ids-group-ltd/ids-design-system/core';\nexport type {\n AnnounceState,\n ChartAxis,\n ChartAxisMode,\n ChartCurve,\n ChartDataTable,\n ChartFormatLocation,\n ChartFrame,\n ChartGaps,\n ChartRendering,\n ChartStackMode,\n ChartThreshold,\n ChartThresholdDash,\n ChartValueFormat,\n DsConfig,\n DsControlWidth,\n DsIntl,\n DsIntlOverrides,\n DsIntlSortDirection,\n DsIntlStepState,\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 AccordionChevron,\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 ModalConfirmActionDirective,\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 {\n PieChartCenterPlacement,\n PieChartSlice,\n} 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 { SparklineComponent } from '@ids-group-ltd/ids-design-system/components/sparkline';\nexport type { SparklineScale } from '@ids-group-ltd/ids-design-system/components/sparkline';\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 CellTemplateContext,\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 {\n TextareaMaxLengthMode,\n TextareaResize,\n} 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 DS_INTL,\n DS_INTL_DEFAULTS,\n ICONS,\n flattenDsOptions,\n inheritDsConfig,\n isDsOptionGroup,\n isTextClipped,\n provideDsConfig,\n provideDsIntl,\n} from '@ids-group-ltd/ids-design-system/core';\nexport type {\n AnnounceState,\n ChartAxis,\n ChartAxisMode,\n ChartCurve,\n ChartDataTable,\n ChartFormatLocation,\n ChartFrame,\n ChartGaps,\n ChartRendering,\n ChartStackMode,\n ChartThreshold,\n ChartThresholdDash,\n ChartValueFormat,\n DsConfig,\n DsControlWidth,\n DsIntl,\n DsIntlOverrides,\n DsIntlSortDirection,\n DsIntlStepState,\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"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.14.7",
|
|
3
|
+
"items": [
|
|
4
|
+
{
|
|
5
|
+
"id": "theme-follow-system-keeps-preset-attribute",
|
|
6
|
+
"kind": "behavior",
|
|
7
|
+
"old": "provideDsTheme",
|
|
8
|
+
"new": null,
|
|
9
|
+
"surface": [
|
|
10
|
+
"template",
|
|
11
|
+
"typescript"
|
|
12
|
+
],
|
|
13
|
+
"action": "None, unless the app sets data-theme on <html> before startup and still wants the OS to drive the theme: set that attribute before startup only when the user has saved a choice.",
|
|
14
|
+
"appliesWhen": "Apps calling provideDsTheme({ followSystem: true }) whose <html> already carries data-theme when the app starts, from index.html or a pre-bootstrap script. Apps without followSystem, or with no data-theme at startup, are unchanged.",
|
|
15
|
+
"pitfall": "A data-theme hard-coded in index.html now pins the theme for every user, so the OS switch silently stops working.",
|
|
16
|
+
"detect": [
|
|
17
|
+
"<html data-theme=",
|
|
18
|
+
"followSystem: true",
|
|
19
|
+
"setAttribute('data-theme'"
|
|
20
|
+
],
|
|
21
|
+
"verify": "with followSystem on, an <html> that starts with data-theme keeps that value across an OS colour-scheme change, and one that starts without it follows the OS.",
|
|
22
|
+
"restore": null
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "avatar-group-max-hides-projected",
|
|
26
|
+
"kind": "behavior",
|
|
27
|
+
"old": "ds-avatar-group[max]",
|
|
28
|
+
"new": null,
|
|
29
|
+
"surface": "template",
|
|
30
|
+
"action": "None, unless a group projects more avatars than max and all of them should stay visible: raise max to that count.",
|
|
31
|
+
"appliesWhen": "ds-avatar-group elements projecting more ds-avatar children than max (default 4), or projecting more than max with no total. Groups projecting max or fewer avatars render as before.",
|
|
32
|
+
"searchHints": [
|
|
33
|
+
"ds-avatar-group",
|
|
34
|
+
"[max]=",
|
|
35
|
+
"[total]="
|
|
36
|
+
],
|
|
37
|
+
"verify": "a group projecting more avatars than max shows max avatars followed by a +N chip whose N is the hidden count, or total - max when total is set.",
|
|
38
|
+
"restore": null
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "overlay-unslotted-content-renders",
|
|
42
|
+
"kind": "behavior",
|
|
43
|
+
"old": "ds-modal, ds-modal-card, ds-drawer",
|
|
44
|
+
"new": null,
|
|
45
|
+
"surface": "template",
|
|
46
|
+
"searchHints": [
|
|
47
|
+
"<ds-modal",
|
|
48
|
+
"<ds-modal-card",
|
|
49
|
+
"<ds-drawer"
|
|
50
|
+
],
|
|
51
|
+
"action": "None, unless one of these overlays projects content that was meant to stay hidden: put it behind an @if or take it out of the overlay. Move any other content without a slot into its slot (<div body> on ds-modal and ds-modal-card, <div drawer-body> on ds-drawer) to clear the dev-mode warning.",
|
|
52
|
+
"appliesWhen": "Direct children of ds-modal or ds-modal-card without [eyebrow], [title-badge], [body], [impact] or [actions], and of ds-drawer without [drawer-body], [body], [drawer-footer] or [actions]; a ds-drawer child carrying [body] or [actions] now renders too. Slotted content renders as before; ds-bottom-sheet is not affected.",
|
|
53
|
+
"pitfall": "The content shows in production as well, and the console warning is the only signal, so an app that is never run in dev mode shows it with no warning.",
|
|
54
|
+
"restore": null,
|
|
55
|
+
"verify": "With the app in dev mode, open every ds-modal and ds-drawer and confirm the console logs no [ds-modal], [ds-modal-card] or [ds-drawer] warning about content without a slot or an unknown slot."
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "toast-mirrors-dev-warnings",
|
|
59
|
+
"kind": "behavior",
|
|
60
|
+
"old": "ToastService",
|
|
61
|
+
"new": null,
|
|
62
|
+
"surface": "config",
|
|
63
|
+
"searchHints": [
|
|
64
|
+
"ToastService",
|
|
65
|
+
"provideDsConfig",
|
|
66
|
+
"toast:"
|
|
67
|
+
],
|
|
68
|
+
"detect": [
|
|
69
|
+
"inject(ToastService)",
|
|
70
|
+
"toast: {",
|
|
71
|
+
"toBeVisible()",
|
|
72
|
+
"toHaveScreenshot("
|
|
73
|
+
],
|
|
74
|
+
"action": "None, unless tests or screenshots run against a dev build and a toast in view breaks them: set provideDsConfig({ toast: { mirrorDevWarnings: false } }) in that build.",
|
|
75
|
+
"appliesWhen": "Apps that inject ToastService, in dev mode only. A production build, and an app that never injects ToastService, shows no such toast.",
|
|
76
|
+
"pitfall": "The toasts appear only when a library warning fires, so a test suite can pass on one screen and fail on the next one that warns.",
|
|
77
|
+
"restore": "provideDsConfig({ toast: { mirrorDevWarnings: false } })",
|
|
78
|
+
"verify": "In a dev build with ToastService injected, a library warning in the console is matched by one warning toast titled Dev warning, and with mirrorDevWarnings: false by none."
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "exported-class-members-grew",
|
|
82
|
+
"kind": "behavior",
|
|
83
|
+
"old": "AvatarGroupComponent, ChartComponent, ColumnSeriesComponent, ModalComponent, ModalCardComponent, DrawerComponent, PieChartComponent",
|
|
84
|
+
"new": null,
|
|
85
|
+
"surface": "typescript",
|
|
86
|
+
"searchHints": [
|
|
87
|
+
"extends AvatarGroupComponent",
|
|
88
|
+
"extends ChartComponent",
|
|
89
|
+
"extends ColumnSeriesComponent",
|
|
90
|
+
"extends ModalComponent",
|
|
91
|
+
"extends ModalCardComponent",
|
|
92
|
+
"extends DrawerComponent",
|
|
93
|
+
"extends PieChartComponent",
|
|
94
|
+
"bandPinY("
|
|
95
|
+
],
|
|
96
|
+
"detect": [
|
|
97
|
+
"extends AvatarGroupComponent",
|
|
98
|
+
"extends ChartComponent",
|
|
99
|
+
"extends ColumnSeriesComponent",
|
|
100
|
+
"extends ModalComponent",
|
|
101
|
+
"extends ModalCardComponent",
|
|
102
|
+
"extends DrawerComponent",
|
|
103
|
+
"extends PieChartComponent",
|
|
104
|
+
"bandPinY("
|
|
105
|
+
],
|
|
106
|
+
"action": "Build after upgrading, and rename a member of yours the compiler reports as colliding.",
|
|
107
|
+
"appliesWhen": "Only a class of yours that extends AvatarGroupComponent, ChartComponent, ColumnSeriesComponent, ModalComponent, ModalCardComponent, DrawerComponent or PieChartComponent. Template users of ds-avatar-group, ds-chart, dsColumnSeries, ds-modal, ds-modal-card, ds-drawer and ds-pie-chart need nothing; subclassing a DS component is unsupported.",
|
|
108
|
+
"pitfall": "A redeclared private member collides as a public one does, and override cannot resolve it (TS2415); only a rename does.",
|
|
109
|
+
"restore": null,
|
|
110
|
+
"verify": "The app builds with no TS2415 or TS4114 against AvatarGroupComponent, ChartComponent, ColumnSeriesComponent, ModalComponent, ModalCardComponent, DrawerComponent or PieChartComponent, and no TS2554 or TS2425 on bandPinY.",
|
|
111
|
+
"note": "AvatarGroupComponent gained the private avatars; ChartComponent the protected highlightBand and tooltipGap and the private bandAt, hoveredCategory and pinRise; ColumnSeriesComponent the private pinYOf; ModalComponent, ModalCardComponent and DrawerComponent the private unslotted; PieChartComponent the inputs centerCompact and centerPlacement, the protected centerText and centerFontSize, and the private compactCenterValue, ringElement, centerValueElement, centerFit, ringWidth, fitsInside, fitCenter, watchRing and refit. ChartComponent's protected bandPinY is now a computed signal read as bandPinY(), where it was a method taking the band."
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"deleteList": [],
|
|
115
|
+
"informational": [
|
|
116
|
+
{
|
|
117
|
+
"text": "ds-pie-chart no longer wraps its centre value: it stays on one line and shrinks to the hole, down to --ds-pie-chart-center-value-min-font-size (14px); past that floor the computed sum prints in the 'tick' form of valueFormat (32.4K), unless [centerCompact]=\"false\". A centerValue string is shrunk but never shortened.",
|
|
118
|
+
"verify": "render a donut at --ds-pie-chart-size: 120px with innerRadius 0.61 and a sum of 32,397, and confirm the value sits on one line inside the hole; at 90px with a sum of 1,234,567 it reads 1.2M."
|
|
119
|
+
},
|
|
120
|
+
"ds-pie-chart takes centerCompact (default true) and centerPlacement ('inside' | 'below', default 'inside'; type PieChartCenterPlacement), and the --ds-pie-chart-center-value-min-font-size token.",
|
|
121
|
+
"--ds-topbar-crumb-text-color, --ds-topbar-crumb-hover-text-color, --ds-topbar-crumb-separator-icon-color, --ds-topbar-crumb-current-text-color, --ds-page-header-crumb-text-color and --ds-page-header-crumb-text-color-hover now recolour the projected ds-breadcrumbs, where they changed nothing; an app that set them sees those colours take effect.",
|
|
122
|
+
"ds-bar-chart draws a row with a negative value as an empty track labelled with that value, where it drew a bar of the absolute value labelled 0.",
|
|
123
|
+
"ds-button with routerLink or href, disabled and a disabledReason keeps a Tab stop (tabindex 0, role link) so the reason is announced; without disabledReason a disabled link-button still takes tabindex -1; a disabled routerLink button carries role link with or without a reason.",
|
|
124
|
+
"provideDsIcons calls merge: sibling calls and a lazy route's call add to the icons registered above them, a later call winning a shared name, where each call replaced the previous registry. DS_ICON_REGISTRY now reads the merged registry.",
|
|
125
|
+
"ds-modal confirmed fires when a projected element carrying the new dsModalConfirm directive (ModalConfirmActionDirective) is pressed; before, nothing emitted it. A handler that emitted confirmed by hand keeps working.",
|
|
126
|
+
{
|
|
127
|
+
"text": "ds-chart, ds-column-chart and dsColumnSeries draw a held category's pin at the head of the reading its panel opens over instead of at the plot's foot (over a column too short to hold it, with the panel lifted over the disc), and paints its hover band (--ds-chart-hover-bg-color) under a pin only where the pointer is; ds-bar-chart draws a held bar's pin at the middle of the bar instead of its start; ds-line-chart, a line series in ds-chart and ds-scatter-chart draw a held marker's or point's pin 4px higher.",
|
|
128
|
+
"verify": "pin a category in a composed ds-chart and a row in a ds-bar-chart, move the pointer off the plot, and confirm the pin sits right under the panel and no band stays tinted; pin a marker in a ds-line-chart and confirm its disc sits 8px clear of the marker."
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"text": "ds-banner centres its icon on the capitals of the title and body instead of on their line boxes, and drops the title-to-body gap when there is no title, so a banner with no title and a body of more than one line is up to 4px shorter; every other banner keeps its height.",
|
|
132
|
+
"verify": "open a compact and a regular ds-banner with body text and no title, and confirm the icon's middle sits level with the middle of the capital letters, not above them."
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"text": "ds-modal, ds-modal-card and ds-drawer render content without a slot inside a display: contents wrapper placed after the [body] / [drawer-body] content; slotted content keeps its place and spacing.",
|
|
136
|
+
"verify": "open a ds-modal and a ds-drawer whose content is all slotted and confirm the body spacing and scrolling are unchanged."
|
|
137
|
+
},
|
|
138
|
+
"A library dev warning logs once per page instead of once per instance; the ds-table export warning now starts with [ds-table], and the ds-app-layout --bp-lg message is logged with console.warn instead of console.error."
|
|
139
|
+
]
|
|
140
|
+
}
|
package/migrations/0.4.0.json
CHANGED
|
@@ -207,7 +207,9 @@
|
|
|
207
207
|
"ds-button overlay-trigger inputs (ariaHasPopup/ariaExpanded/buttonRef); date-picker month/year grid pickers; table pagination/clientSort/stickyFirstColumn; ModalService.confirm(); dropzone per-file message + queued state — additive.",
|
|
208
208
|
"$bp-* Sass breakpoint aliases + up()/down() mixins; new disabled-state and press-scale override tokens — additive (a-la-carte styles/tokens importers also need styles/breakpoints now).",
|
|
209
209
|
"Visual-only: button/icon-button press is darken + micro scale-down; [disabled] is a per-variant muted tint (override --ds-*-disabled tokens to restore flat grey); smooth motion pass across components; reduced-motion no longer freezes spinners; overlay scroll-lock release fix.",
|
|
210
|
-
"A collapsed ds-accordion item now collapses to nothing, where its padding stayed behind on the clipped wrapper and left a strip of empty height; the padding is restored when the item expands. If you zeroed that padding to hide the strip, the item will now be flat when open. NO ACTION otherwise."
|
|
210
|
+
"A collapsed ds-accordion item now collapses to nothing, where its padding stayed behind on the clipped wrapper and left a strip of empty height; the padding is restored when the item expands. If you zeroed that padding to hide the strip, the item will now be flat when open. NO ACTION otherwise.",
|
|
211
|
+
"ds-input draws its clear button in --text-secondary instead of --text-tertiary, and ds-search shows its clear button at full opacity at rest instead of 0.7, so it reads without hover or focus.",
|
|
212
|
+
"ds-combobox truncates a long option label with an ellipsis instead of wrapping it in a narrow panel, and its multi-select option row fills the panel width."
|
|
211
213
|
],
|
|
212
214
|
"deleteList": []
|
|
213
215
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.14.
|
|
2
|
+
"version": "0.14.7",
|
|
3
3
|
"tokens": [
|
|
4
4
|
"--ds-accordion-body-padding",
|
|
5
5
|
"--ds-accordion-body-text-color",
|
|
@@ -671,6 +671,7 @@
|
|
|
671
671
|
"--ds-password-rules-gap",
|
|
672
672
|
"--ds-password-rules-met-color",
|
|
673
673
|
"--ds-password-rules-pending-color",
|
|
674
|
+
"--ds-pie-chart-center-value-min-font-size",
|
|
674
675
|
"--ds-pie-chart-focus-color",
|
|
675
676
|
"--ds-pie-chart-focus-width",
|
|
676
677
|
"--ds-pie-chart-gap",
|
|
@@ -1359,6 +1360,7 @@
|
|
|
1359
1360
|
"category-stop",
|
|
1360
1361
|
"chart",
|
|
1361
1362
|
"cursor",
|
|
1363
|
+
"cursor-anchor",
|
|
1362
1364
|
"cursor-in",
|
|
1363
1365
|
"cursor-line",
|
|
1364
1366
|
"cursor-out",
|
|
@@ -1492,7 +1494,8 @@
|
|
|
1492
1494
|
"right",
|
|
1493
1495
|
"sm",
|
|
1494
1496
|
"title",
|
|
1495
|
-
"top"
|
|
1497
|
+
"top",
|
|
1498
|
+
"unslotted"
|
|
1496
1499
|
],
|
|
1497
1500
|
"ds-dropzone": [
|
|
1498
1501
|
"active",
|
|
@@ -1727,6 +1730,7 @@
|
|
|
1727
1730
|
"success",
|
|
1728
1731
|
"title",
|
|
1729
1732
|
"title-line",
|
|
1733
|
+
"unslotted",
|
|
1730
1734
|
"warning",
|
|
1731
1735
|
"xl"
|
|
1732
1736
|
],
|
|
@@ -1758,6 +1762,7 @@
|
|
|
1758
1762
|
"success",
|
|
1759
1763
|
"title",
|
|
1760
1764
|
"title-line",
|
|
1765
|
+
"unslotted",
|
|
1761
1766
|
"warning",
|
|
1762
1767
|
"xl"
|
|
1763
1768
|
],
|
|
@@ -1823,10 +1828,6 @@
|
|
|
1823
1828
|
"ds-page-header": [
|
|
1824
1829
|
"actions",
|
|
1825
1830
|
"compact",
|
|
1826
|
-
"crumb",
|
|
1827
|
-
"crumb--current",
|
|
1828
|
-
"crumb-sep",
|
|
1829
|
-
"crumbs-trail",
|
|
1830
1831
|
"eyebrow",
|
|
1831
1832
|
"eyebrow-secondary",
|
|
1832
1833
|
"icon",
|
|
@@ -1867,6 +1868,7 @@
|
|
|
1867
1868
|
"axis-line",
|
|
1868
1869
|
"category-label",
|
|
1869
1870
|
"center",
|
|
1871
|
+
"center-below",
|
|
1870
1872
|
"center-label",
|
|
1871
1873
|
"center-value",
|
|
1872
1874
|
"chart",
|
|
@@ -1895,6 +1897,7 @@
|
|
|
1895
1897
|
"pins",
|
|
1896
1898
|
"ring",
|
|
1897
1899
|
"ring-outline",
|
|
1900
|
+
"ring-stack",
|
|
1898
1901
|
"ring-svg",
|
|
1899
1902
|
"skeleton",
|
|
1900
1903
|
"skeleton-legend",
|
|
@@ -2343,10 +2346,6 @@
|
|
|
2343
2346
|
],
|
|
2344
2347
|
"ds-topbar": [
|
|
2345
2348
|
"actions",
|
|
2346
|
-
"crumb",
|
|
2347
|
-
"crumb--current",
|
|
2348
|
-
"crumb-sep",
|
|
2349
|
-
"crumbs-trail",
|
|
2350
2349
|
"spacer",
|
|
2351
2350
|
"title",
|
|
2352
2351
|
"topbar"
|
|
@@ -3,13 +3,15 @@ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-desig
|
|
|
3
3
|
|
|
4
4
|
declare class AvatarGroupComponent {
|
|
5
5
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
6
|
-
/** Avatars shown before the rest collapse into the `+N` chip. */
|
|
6
|
+
/** Avatars shown before the rest collapse into the `+N` chip; projected avatars past it are hidden. */
|
|
7
7
|
readonly max: _angular_core.InputSignal<number>;
|
|
8
8
|
/** Total avatar count driving the `+N` overflow; null counts the projected children. */
|
|
9
9
|
readonly total: _angular_core.InputSignal<number | null>;
|
|
10
|
+
private readonly avatars;
|
|
10
11
|
protected readonly overflow: _angular_core.Signal<number | null>;
|
|
12
|
+
constructor();
|
|
11
13
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvatarGroupComponent, never>;
|
|
12
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarGroupComponent, "ds-avatar-group", never, { "max": { "alias": "max"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; }, {},
|
|
14
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarGroupComponent, "ds-avatar-group", never, { "max": { "alias": "max"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; }, {}, ["avatars"], ["*"], true, never>;
|
|
13
15
|
}
|
|
14
16
|
|
|
15
17
|
export { AvatarGroupComponent };
|
|
@@ -45,9 +45,9 @@ declare class ButtonComponent extends DsMessageBase {
|
|
|
45
45
|
/** How `routerLinkActive` decides the `active` class; prefix by default. It also bounds the
|
|
46
46
|
* announcement: with `{ exact: true }` a prefix match announces nothing rather than `true`.
|
|
47
47
|
* Pass `ariaCurrent` alongside to keep one. */
|
|
48
|
-
readonly routerLinkActiveOptions: _angular_core.InputSignal<{
|
|
48
|
+
readonly routerLinkActiveOptions: _angular_core.InputSignal<IsActiveMatchOptions | {
|
|
49
49
|
exact: boolean;
|
|
50
|
-
}
|
|
50
|
+
}>;
|
|
51
51
|
/** Overrides what the link announces. Unset, an exact match announces `page` and a prefix match
|
|
52
52
|
* `true`; `null` announces nothing; use `step` or `location` when the link is not a page. */
|
|
53
53
|
readonly ariaCurrent: _angular_core.InputSignal<DsAriaCurrent | null | undefined>;
|
|
@@ -75,7 +75,8 @@ declare class ButtonComponent extends DsMessageBase {
|
|
|
75
75
|
readonly ariaControls: _angular_core.InputSignal<string | null>;
|
|
76
76
|
/** Why the button is refused, shown as its second line and read only while `disabled`. Setting
|
|
77
77
|
* it uses `aria-disabled` instead of the native attribute (a native disabled button cannot be
|
|
78
|
-
* focused, so the reason would go unannounced) and swallows the click
|
|
78
|
+
* focused, so the reason would go unannounced) and swallows the click; a link-button keeps its
|
|
79
|
+
* Tab stop the same way. Uncapped: the text wraps. */
|
|
79
80
|
readonly disabledReason: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
|
|
80
81
|
/** `aria-describedby` pointing at a description the app renders itself. Merged with the id
|
|
81
82
|
* of `disabledReason` when both are present. */
|
|
@@ -104,7 +104,7 @@ declare const CHART_PIN_RADIUS = 11;
|
|
|
104
104
|
/** Gap between a disc and the top edge of what it holds.
|
|
105
105
|
*
|
|
106
106
|
* @internal */
|
|
107
|
-
declare const CHART_PIN_GAP =
|
|
107
|
+
declare const CHART_PIN_GAP = 8;
|
|
108
108
|
/**
|
|
109
109
|
* The disc an SVG chart draws on the mark or category it holds. Drawn, not composed:
|
|
110
110
|
* `ds-icon`'s host is an element SVG does not know, which renders nothing inside a canvas.
|
|
@@ -263,7 +263,7 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
|
|
|
263
263
|
/** Second gridlines only where the scales do not share rows; an aligned axis would double every stroke. */
|
|
264
264
|
protected readonly showSecondaryGridlines: Signal<boolean>;
|
|
265
265
|
protected readonly secondaryLabelX: Signal<number>;
|
|
266
|
-
protected readonly secondaryLabelAnchor: Signal<"
|
|
266
|
+
protected readonly secondaryLabelAnchor: Signal<"end" | "start">;
|
|
267
267
|
protected readonly secondaryPlotBottom: Signal<number>;
|
|
268
268
|
/** No tint on a single-scale plot. */
|
|
269
269
|
protected readonly axisLabelFill: Signal<string | null>;
|
|
@@ -273,20 +273,32 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
|
|
|
273
273
|
readonly xPosition: Signal<(index: number) => number>;
|
|
274
274
|
readonly yPosition: Signal<(value: number) => number>;
|
|
275
275
|
readonly zeroOffset: Signal<number>;
|
|
276
|
+
private bandAt;
|
|
277
|
+
/** The band the panel reads from, drawn invisible as its fallback anchor. */
|
|
276
278
|
protected readonly cursorBand: Signal<{
|
|
277
279
|
x: number;
|
|
278
280
|
width: number;
|
|
279
281
|
top: number;
|
|
280
282
|
bottom: number;
|
|
281
283
|
} | null>;
|
|
284
|
+
protected readonly highlightBand: Signal<{
|
|
285
|
+
x: number;
|
|
286
|
+
width: number;
|
|
287
|
+
top: number;
|
|
288
|
+
bottom: number;
|
|
289
|
+
} | null>;
|
|
282
290
|
/** The same state machine the element marks run on; here the index counts categories. */
|
|
283
291
|
private readonly cursorState;
|
|
284
292
|
readonly activeIndex: Signal<number>;
|
|
285
293
|
private readonly pointerAt;
|
|
286
294
|
private readonly pointerInBand;
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
295
|
+
private readonly hoveredCategory;
|
|
296
|
+
/** Under the panel: it opens over the tallest reading, so the disc sits at that reading's head -
|
|
297
|
+
* inside a column, below a marker, and over a column too short to hold it. */
|
|
298
|
+
protected readonly bandPinY: Signal<number>;
|
|
299
|
+
/** How far a held pin sits above the panel's anchor; the panel rises by as much to stay over it. */
|
|
300
|
+
private readonly pinRise;
|
|
301
|
+
protected readonly tooltipGap: Signal<number>;
|
|
290
302
|
protected readonly bandPins: Signal<boolean>;
|
|
291
303
|
readonly cursorPointer: Signal<{
|
|
292
304
|
x: number;
|
|
@@ -478,6 +490,9 @@ declare class ColumnSeriesComponent implements OnDestroy {
|
|
|
478
490
|
color: string;
|
|
479
491
|
hatched: boolean;
|
|
480
492
|
}[]>;
|
|
493
|
+
/** Inside the column's top when it holds the disc - the panel opens there - and over the column
|
|
494
|
+
* and its printed value when it is too short, so the disc never crosses the baseline. */
|
|
495
|
+
private pinYOf;
|
|
481
496
|
protected markStagger(index: number): string;
|
|
482
497
|
private readonly tooltipMark;
|
|
483
498
|
protected onMarkClick(event: MouseEvent): void;
|
|
@@ -27,6 +27,7 @@ declare class DrawerComponent implements OnDestroy {
|
|
|
27
27
|
private wasOpen;
|
|
28
28
|
private closeFallbackTimer;
|
|
29
29
|
protected readonly classes: _angular_core.Signal<string>;
|
|
30
|
+
private readonly unslotted;
|
|
30
31
|
constructor();
|
|
31
32
|
ngOnDestroy(): void;
|
|
32
33
|
protected onClose(): void;
|
|
@@ -34,7 +35,7 @@ declare class DrawerComponent implements OnDestroy {
|
|
|
34
35
|
private finishClose;
|
|
35
36
|
protected onEscape(): void;
|
|
36
37
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerComponent, never>;
|
|
37
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerComponent, "ds-drawer", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; }, { "open": "openChange"; "closed": "closed"; }, never, ["[drawer-body]", "[drawer-footer]"], true, [{ directive: typeof i1.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
|
|
38
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerComponent, "ds-drawer", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; }, { "open": "openChange"; "closed": "closed"; }, never, ["[drawer-body], [body]", "*", "[drawer-footer], [actions]"], true, [{ directive: typeof i1.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
export { DrawerComponent };
|
|
@@ -23,7 +23,7 @@ declare class ModalComponent implements OnDestroy {
|
|
|
23
23
|
readonly subtitle: _angular_core.InputSignal<string | null>;
|
|
24
24
|
/** Fires once the close (leave) animation finishes. */
|
|
25
25
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
26
|
-
/**
|
|
26
|
+
/** Fires when the projected `dsModalConfirm` action is pressed. The modal stays open. */
|
|
27
27
|
readonly confirmed: _angular_core.OutputEmitterRef<void>;
|
|
28
28
|
/** Draws the rules under the header and over the actions; off also tightens the vertical padding.
|
|
29
29
|
* Unset falls back to `DS_CONFIG.modal.dividers`, then `true`. */
|
|
@@ -38,6 +38,7 @@ declare class ModalComponent implements OnDestroy {
|
|
|
38
38
|
protected readonly closing: _angular_core.WritableSignal<boolean>;
|
|
39
39
|
private wasOpen;
|
|
40
40
|
private closeFallbackTimer;
|
|
41
|
+
private readonly unslotted;
|
|
41
42
|
constructor();
|
|
42
43
|
ngOnDestroy(): void;
|
|
43
44
|
protected onClose(): void;
|
|
@@ -50,7 +51,7 @@ declare class ModalComponent implements OnDestroy {
|
|
|
50
51
|
protected onBackdropRelease(event: PointerEvent): void;
|
|
51
52
|
protected onEscape(): void;
|
|
52
53
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
53
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalComponent, "ds-modal", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "dividers": { "alias": "dividers"; "required": false; "isSignal": true; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; "persistent": { "alias": "persistent"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "closed": "closed"; "confirmed": "confirmed"; }, never, ["[eyebrow]", "[title-badge]", "[body]", "[impact]", "[actions]"], true, [{ directive: typeof i1.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
|
|
54
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalComponent, "ds-modal", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "dividers": { "alias": "dividers"; "required": false; "isSignal": true; }; "closeOnBackdrop": { "alias": "closeOnBackdrop"; "required": false; "isSignal": true; }; "persistent": { "alias": "persistent"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "closed": "closed"; "confirmed": "confirmed"; }, never, ["[eyebrow]", "[title-badge]", "[body]", "*", "[impact]", "[actions]"], true, [{ directive: typeof i1.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
declare class ModalCardComponent {
|
|
@@ -80,6 +81,7 @@ declare class ModalCardComponent {
|
|
|
80
81
|
protected readonly titleId: string;
|
|
81
82
|
private readonly header;
|
|
82
83
|
private readonly actionsRow;
|
|
84
|
+
private readonly unslotted;
|
|
83
85
|
constructor();
|
|
84
86
|
private stackOverflowingActions;
|
|
85
87
|
protected readonly resolvedIcon: _angular_core.Signal<IconName | null>;
|
|
@@ -87,7 +89,22 @@ declare class ModalCardComponent {
|
|
|
87
89
|
protected readonly classes: _angular_core.Signal<string>;
|
|
88
90
|
protected onClose(): void;
|
|
89
91
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalCardComponent, never>;
|
|
90
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalCardComponent, "ds-modal-card", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "showClose": { "alias": "showClose"; "required": false; "isSignal": true; }; "dividers": { "alias": "dividers"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "dialogRole": { "alias": "dialogRole"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["[eyebrow]", "[title-badge]", "[body]", "[impact]", "[actions]"], true, never>;
|
|
92
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalCardComponent, "ds-modal-card", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "showClose": { "alias": "showClose"; "required": false; "isSignal": true; }; "dividers": { "alias": "dividers"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "dialogRole": { "alias": "dialogRole"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["[eyebrow]", "[title-badge]", "[body]", "*", "[impact]", "[actions]"], true, never>;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Marks the confirm action inside a `ds-modal`; pressing it fires the modal's `confirmed`.
|
|
97
|
+
* On a `ds-button` it follows `pressed`, so a disabled or loading button never confirms; on any
|
|
98
|
+
* other element it follows `click` and skips `aria-disabled="true"`. The modal stays open:
|
|
99
|
+
* close it from the `confirmed` handler once the work is done.
|
|
100
|
+
*/
|
|
101
|
+
declare class ModalConfirmActionDirective {
|
|
102
|
+
private readonly modal;
|
|
103
|
+
private readonly button;
|
|
104
|
+
constructor();
|
|
105
|
+
protected onClick(event: MouseEvent): void;
|
|
106
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalConfirmActionDirective, never>;
|
|
107
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ModalConfirmActionDirective, "[dsModalConfirm]", never, {}, {}, never, never, true, never>;
|
|
91
108
|
}
|
|
92
109
|
|
|
93
110
|
type ModalConfirmTone = 'default' | 'error';
|
|
@@ -113,5 +130,5 @@ declare class ModalService {
|
|
|
113
130
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ModalService>;
|
|
114
131
|
}
|
|
115
132
|
|
|
116
|
-
export { ModalCardComponent, ModalComponent, ModalService };
|
|
133
|
+
export { ModalCardComponent, ModalComponent, ModalConfirmActionDirective, ModalService };
|
|
117
134
|
export type { ModalConfirmOptions, ModalConfirmTone, ModalSize };
|