@ids-group-ltd/ids-design-system 0.13.0 → 0.13.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.
Files changed (87) hide show
  1. package/CHANGELOG.md +295 -3
  2. package/components.md +15 -6
  3. package/docs/agent/INDEX.md +1 -0
  4. package/docs/agent/charts/ds-bar-chart.md +1 -1
  5. package/docs/agent/charts/ds-column-chart.md +1 -1
  6. package/docs/agent/charts/ds-config.md +12 -0
  7. package/docs/agent/charts/ds-donut-chart.md +2 -2
  8. package/docs/agent/charts/ds-funnel-chart.md +1 -1
  9. package/docs/agent/charts/ds-line-chart.md +1 -1
  10. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +2 -2
  11. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  12. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -2
  13. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  14. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +9 -4
  15. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  16. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
  17. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
  18. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +30 -14
  19. package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
  20. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +2 -2
  21. package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
  22. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +21 -6
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +9 -4
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +39 -16
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +9 -4
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs +33 -21
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs.map +1 -1
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +2 -1
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +37 -15
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +62 -21
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -1
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +4 -4
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +9 -4
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +1 -1
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +9 -4
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +2 -2
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +9 -4
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +2 -2
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  60. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +56 -8
  61. package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
  62. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  63. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  64. package/migrations/0.13.1.json +236 -0
  65. package/package.json +1 -1
  66. package/styles/_chart-frame.scss +15 -0
  67. package/styles/_chart-interactive.scss +17 -6
  68. package/styles/_chart-motion.scss +61 -18
  69. package/styles/_dropdown-overlay.scss +9 -3
  70. package/styles/_focus.scss +10 -1
  71. package/styles/_overlay-motion.scss +10 -1
  72. package/styles/_tokens-charts.scss +5 -0
  73. package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +6 -1
  74. package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +24 -9
  75. package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +7 -1
  76. package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +6 -1
  77. package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +29 -9
  78. package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +6 -1
  79. package/types/ids-group-ltd-ids-design-system-components-donut-chart.d.ts +27 -13
  80. package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +29 -10
  81. package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +36 -9
  82. package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +6 -1
  83. package/types/ids-group-ltd-ids-design-system-components-select.d.ts +6 -1
  84. package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +6 -1
  85. package/types/ids-group-ltd-ids-design-system-components.d.ts +18 -2
  86. package/types/ids-group-ltd-ids-design-system-core.d.ts +24 -1
  87. package/types/ids-group-ltd-ids-design-system.d.ts +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"ids-group-ltd-ids-design-system-core.mjs","sources":["../../../src/lib/core/backdrop-dismiss.ts","../../../src/lib/core/ds-config.ts","../../../src/lib/core/config-defaults.ts","../../../src/lib/core/dev-warning.ts","../../../src/lib/core/field-bounds.ts","../../../src/lib/core/icon-names.ts","../../../src/lib/core/key-target.ts","../../../src/lib/core/text-clip.ts","../../../src/lib/core/list-cursor.ts","../../../src/lib/core/option.ts","../../../src/lib/core/ids-group-ltd-ids-design-system-core.ts"],"sourcesContent":["/**\n * Dismiss-on-backdrop for a backdrop that WRAPS its dialog.\n *\n * `click` cannot be trusted there: the browser fires it at the nearest common\n * ancestor of the press and the release, so a drag that starts inside the dialog and\n * ends on the backdrop fires `click` ON THE BACKDROP, and a\n * `target === currentTarget` check waves it through. Hence tracking the press:\n * dismiss only when press AND release both land on the backdrop itself. `ds-drawer` needs none of this because its scrim\n * is a SIBLING of the panel, which makes their common ancestor a third element.\n * @internal\n */\nexport function backdropDismiss(): {\n down: (event: PointerEvent) => void;\n shouldDismiss: (event: PointerEvent) => boolean;\n} {\n let pressedOnBackdrop = false;\n\n return {\n down(event: PointerEvent): void {\n pressedOnBackdrop =\n event.button === 0 && event.target === event.currentTarget;\n },\n shouldDismiss(event: PointerEvent): boolean {\n const dismiss =\n pressedOnBackdrop &&\n event.button === 0 &&\n event.target === event.currentTarget;\n pressedOnBackdrop = false;\n\n return dismiss;\n },\n };\n}\n","import { InjectionToken, Provider, inject } from '@angular/core';\nimport type { IconName } from './icon-names';\nimport type { DsSize } from './size';\nimport type { CardElevation, CardPadding } from './card.types';\nimport type { DsToastPosition } from './toast-position';\n\nexport interface DsConfig {\n field?: {\n /** Default for every field's `reserveMessage` — keeps a message line's worth\n * of space even when empty. Default `false`. Setting `true` here applies to\n * EVERY field in the injector's subtree, which is rarely what a whole app\n * wants; prefer `dsReserveMessages` on the individual form that validates. */\n reserveMessage?: boolean;\n /** Fallback text per validation-error kind, for errors whose validator did\n * not carry a `message` — Angular's built-ins never do, so this is where\n * `required`, `minlength`, `email` and friends get their wording. A message\n * on the error itself always wins, so one shared map here plus a per-case\n * override at the validator covers both. Unmapped kinds warn in dev. */\n errorMessages?: Record<string, string>;\n /** Leading glyph on a field's message line, per state. Defaults carry one for\n * `error`, `warning` and `success` and NONE for `hint`, which is resting text\n * rather than a state. Each key is independent — a glyph name replaces the\n * default, `false` removes it, and `stateIcons: false` removes all four.\n *\n * The glyphs exist because warning and success differ from each other by hue\n * and nothing else, which WCAG 1.4.1 forbids a state from resting on. */\n stateIcons?:\n | false\n | {\n error?: IconName | false;\n warning?: IconName | false;\n success?: IconName | false;\n /** The `default` state — the hint line. Off unless set. */\n hint?: IconName | false;\n };\n };\n breadcrumbs?: {\n separator?: IconName;\n clickable?: boolean;\n };\n timePicker?: {\n /** Display format for `ds-time-picker` / date-picker time — 24h or 12h AM/PM. Default `'24h'`. */\n format?: '24h' | '12h';\n };\n avatar?: {\n /** How `ds-avatar` turns its `name` into initials, app-wide. The built-in rule\n * takes the first two words, which is a Latin-script guess — an app whose names\n * follow another convention supplies its own here. */\n initials?: (name: string) => string;\n };\n brand?: {\n /** Brand text for `ds-sidenav` and `ds-auth-layout` — the wordmark, and the\n * source of the letter-mark's glyph when `logoLetter` is unset. */\n name?: string;\n /** Letter-mark glyph when it differs from the brand's first character. */\n logoLetter?: string;\n /** Strapline under the brand row. `ds-auth-layout` only. */\n tagline?: string;\n /* No accent key on purpose: a two-tone wordmark is projected markup\n (`[dsBrandName]`), so the consumer says where the accent belongs. A config\n string would have to be split back apart, which is the guessing the\n projection exists to avoid. */\n };\n modal?: {\n /** Default for `dividers` on `ds-modal` and `ds-modal-card`. Default `true`.\n * Configurable app-wide because a `ModalService` confirm renders a card with no\n * `ds-modal` ancestor to bind — an attribute cannot reach it. */\n dividers?: boolean;\n };\n toast?: {\n /** Where the stack sits. Merged field by field over the built-in\n * `right` / `top` / `var(--space-6)`, so naming one key keeps the other two. */\n position?: Partial<DsToastPosition>;\n /** Maximum number of toasts visible at once. Extras are queued and shown as\n * earlier ones dismiss. Default `5`; `0` means unlimited. */\n maxVisible?: number;\n };\n picker?: {\n /** Default for `ds-multi-select``s `searchable`. `true` always shows the panel's\n * filter row, `false` never, and a NUMBER is a threshold — the row appears once\n * there are at least that many options. Default `true`. One threshold for the\n * app is the point: left to each call site, two panels of the same length in\n * the same screen end up disagreeing. */\n searchable?: boolean | number;\n };\n\n control?: {\n /** Default `size` for every control on the field-height contract. Default `'md'`.\n *\n * A different axis from `[data-density]`: that tier rewrites hit targets and\n * padding in CSS, this picks which of the three declared sizes a control renders\n * at. A screen that differs still binds `size` per element. */\n size?: DsSize;\n };\n card?: {\n /** Default `elevation` for `ds-card`. Default `'flat'`. */\n elevation?: CardElevation;\n /** Default `padding` preset for `ds-card`. Unset keeps the card's own. */\n padding?: CardPadding;\n };\n table?: {\n /** Default for `ds-table`'s `stickyScrollbar` — the proxy that keeps the\n * horizontal bar reachable on a tall table. Default `false`. Here rather than\n * per table because every new table is one forgotten binding away from\n * scrolling invisibly. */\n stickyScrollbar?: boolean;\n /** Default for `ds-table`'s `bordered` — the outer border and radius.\n * Default `false`. */\n bordered?: boolean;\n /** Default for `ds-table`'s `stickyScrollbarOffset` — where the sticky horizontal bar comes\n * to rest, as any CSS length. Unset, each table measures its own scroll container's bottom\n * padding and cancels it, which puts the bar on the edge the reader sees; set this for an app\n * whose scrollports end somewhere else, so every table agrees without a binding each. */\n stickyScrollbarOffset?: string;\n };\n icon?: {\n /** Default pixel `size` for `ds-icon`. Default `16`. */\n size?: number;\n };\n badge?: {\n /** Default for `ds-badge`'s `withDot` — the leading status dot. Default `false`. */\n withDot?: boolean;\n };\n datePicker?: {\n /** BCP-47 locale for `ds-date-picker` names + value format. Default `'en-US'`. */\n locale?: string;\n /** Explicit token format e.g. `'MM/DD/YYYY'`; overrides the locale-derived order. */\n dateFormat?: string;\n /** First weekday column: 0=Sunday … 6=Saturday. Default `1` (Monday). */\n firstDayOfWeek?: number;\n };\n}\n\nexport const DS_CONFIG = new InjectionToken<DsConfig>('DS_CONFIG', {\n factory: () => ({}),\n});\n\n/** Provide DS-level defaults.\n *\n * providers: [provideDsConfig({ control: { size: 'sm' } })]\n *\n * Works at the app root, on a `Route`, or on a component/directive — the config\n * resolves through the element-injector chain, so a subtree can differ from the\n * app. Component inputs (e.g. `<ds-card padding=\"lg\">`) still win.\n *\n * A nested call MERGES with the config above it section by section; only the keys\n * you name are replaced. ONE call per injector, though: two in the SAME\n * `providers` array both resolve their parent with `skipSelf`, so the later wins\n * and the earlier is silently lost.\n */\nexport function provideDsConfig(config: DsConfig): Provider {\n return { provide: DS_CONFIG, useFactory: () => inheritDsConfig(config) };\n}\n\n/**\n * The factory body behind `provideDsConfig`, exported so a directive can put the\n * provider in its metadata as a plain object literal. Calling `provideDsConfig`\n * there instead runs at module-evaluation time, which makes the module\n * side-effectful and costs the consumer its tree-shaking (measured at +566 kB\n * moved into the eager chunk).\n *\n * Must be called from an injection context.\n */\nexport function inheritDsConfig(config: DsConfig): DsConfig {\n return mergeDsConfig(\n inject(DS_CONFIG, { skipSelf: true, optional: true }) ?? {},\n config,\n );\n}\n\nfunction mergeDsConfig(parent: DsConfig, own: DsConfig): DsConfig {\n const merged: DsConfig = { ...parent };\n for (const section of Object.keys(own) as (keyof DsConfig)[]) {\n Object.assign(merged, {\n [section]: { ...parent[section], ...own[section] },\n });\n }\n\n return merged;\n}\n","import { Signal, computed, inject } from '@angular/core';\nimport { DS_CONFIG, type DsConfig } from './ds-config';\n\n/**\n * Resolve an input against `DS_CONFIG`, then a built-in default.\n *\n * The input must be typed `T | null` and default to `null`: a signal input cannot\n * report whether it was bound, so `null` is what separates \"not set\" from an explicit\n * value. Precedence is input → config → built-in. Call from an injection context.\n * @internal\n */\nexport function resolveWithConfig<T>(\n value: Signal<T | null>,\n pick: (config: DsConfig) => T | undefined,\n fallback: T,\n): Signal<T> {\n const config = inject(DS_CONFIG);\n\n return computed(() => value() ?? pick(config) ?? fallback);\n}\n","import { effect, isDevMode } from '@angular/core';\n\n/**\n * Warns once per distinct message, not once per recomputation: the effect re-runs whenever any\n * signal the condition reads changes, so without that a static misconfiguration would log again\n * on every keystroke.\n *\n * Returning the message from the condition keeps the two together — a condition\n * that drifts from its message is how a warning ends up describing a state that\n * cannot happen any more.\n *\n * Must be called from an injection context.\n *\n * Callers wrap this in `if (typeof ngDevMode === 'undefined' || ngDevMode)`. That is\n * a BUILD-time expression, not a repeat of the `isDevMode()` below: the intent is for\n * a minifier to fold it and drop the message with it, which `isDevMode()` — an opaque\n * call — can never allow. It cannot become a helper function for the same reason.\n *\n * It does work: `ds-stat` and `ds-split-button` compile to `constructor(){}` in the\n * shipped bundle. `ds-toast-region`'s strip is UNVERIFIED — the bundle came out\n * byte-identical after adding the guard, so re-check on a clean `.angular/cache`.\n * @internal\n */\nexport function devWarn(message: () => string | null): void {\n if (!isDevMode()) {\n return;\n }\n const seen = new Set<string>();\n effect(() => {\n const text = message();\n if (!text || seen.has(text)) {\n return;\n }\n seen.add(text);\n console.warn(text);\n });\n}\n","/**\n * Signal forms binds `min`, `max`, `minLength` and `maxLength` BY NAME and sends\n * `undefined` when the schema sets no bound. The DS spells an absent bound as\n * `null`, so the write type has to accept both while the read type stays what it\n * always was — otherwise every internal use and every consumer moves for nothing.\n *\n * Declared once here because it was copy-pasted across three controls, and an\n * explanation in three places is an explanation that drifts in two of them.\n * @internal\n */\nexport function optionalBound(value: number | null | undefined): number | null {\n return value ?? null;\n}\n\n/** As `optionalBound`, for a bound the control requires a value for.\n * @internal\n */\nexport function boundOr(fallback: number) {\n return (value: number | undefined): number => value ?? fallback;\n}\n","// All paths render inside <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\">, stroke-width 1.75.\n\nexport const ICONS = {\n search: '<circle cx=\"11\" cy=\"11\" r=\"7\" /><path d=\"m20 20-3.5-3.5\" />',\n plus: '<path d=\"M12 5v14M5 12h14\" />',\n minus: '<path d=\"M5 12h14\" />',\n check: '<path d=\"m4 12 5 5L20 6\" />',\n x: '<path d=\"M6 6l12 12M18 6L6 18\" />',\n chevronDown: '<path d=\"m6 9 6 6 6-6\" />',\n chevronRight: '<path d=\"m9 6 6 6-6 6\" />',\n chevronLeft: '<path d=\"m15 6-6 6 6 6\" />',\n chevronUp: '<path d=\"m6 15 6-6 6 6\" />',\n menu: '<path d=\"M4 6h16M4 12h16M4 18h16\" />',\n arrowRight: '<path d=\"M5 12h14M13 6l6 6-6 6\" />',\n arrowUp: '<path d=\"M12 19V5M6 11l6-6 6 6\" />',\n arrowDown: '<path d=\"M12 5v14M6 13l6 6 6-6\" />',\n info: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 8v.01M11 12h1v4h1\" />',\n warn: '<path d=\"M12 3 2 21h20L12 3z\" /><path d=\"M12 10v4M12 18v.01\" />',\n error: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 8v4M12 16v.01\" />',\n success: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"m8 12 3 3 5-6\" />',\n bell: '<path d=\"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9\" /><path d=\"M10 21a2 2 0 0 0 4 0\" />',\n settings:\n '<circle cx=\"12\" cy=\"12\" r=\"3\" /><path d=\"M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z\" />',\n user: '<circle cx=\"12\" cy=\"8\" r=\"4\" /><path d=\"M4 21a8 8 0 0 1 16 0\" />',\n users:\n '<circle cx=\"9\" cy=\"8\" r=\"4\" /><path d=\"M2 21a7 7 0 0 1 14 0\" /><path d=\"M16 4a4 4 0 0 1 0 8M22 21a6 6 0 0 0-6-6\" />',\n home: '<path d=\"m3 11 9-8 9 8\" /><path d=\"M5 10v10h14V10\" />',\n calendar:\n '<rect x=\"3\" y=\"5\" width=\"18\" height=\"16\" rx=\"2\" /><path d=\"M3 10h18M8 3v4M16 3v4\" />',\n truck:\n '<path d=\"M3 16V6a1 1 0 0 1 1-1h11v11\" /><path d=\"M15 9h4l2 3v4h-6\" /><circle cx=\"7.5\" cy=\"17.5\" r=\"2\" /><circle cx=\"17.5\" cy=\"17.5\" r=\"2\" />',\n box: '<path d=\"m21 8-9-5-9 5 9 5 9-5z\" /><path d=\"M3 8v8l9 5 9-5V8\" /><path d=\"m12 13 .01 8\" />',\n map: '<path d=\"m9 4-6 3v13l6-3 6 3 6-3V4l-6 3-6-3z\" /><path d=\"M9 4v13M15 7v13\" />',\n activity: '<path d=\"M3 12h4l3-9 4 18 3-9h4\" />',\n folder:\n '<path d=\"M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\" />',\n edit: '<path d=\"M12 20h9\" /><path d=\"M16.5 3.5a2.1 2.1 0 1 1 3 3L7 19l-4 1 1-4z\" />',\n external:\n '<path d=\"M14 4h6v6\" /><path d=\"M20 4 10 14\" /><path d=\"M20 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5\" />',\n trash:\n '<path d=\"M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\" /><path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6\" />',\n copy: '<rect x=\"9\" y=\"9\" width=\"11\" height=\"11\" rx=\"2\" /><path d=\"M5 15V5a2 2 0 0 1 2-2h10\" />',\n download: '<path d=\"M12 4v12M6 12l6 6 6-6\" /><path d=\"M4 20h16\" />',\n upload: '<path d=\"M12 20V8M6 12l6-6 6 6\" /><path d=\"M4 4h16\" />',\n eye: '<path d=\"M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z\" /><circle cx=\"12\" cy=\"12\" r=\"3\" />',\n filter: '<path d=\"M3 5h18l-7 9v6l-4-2v-4z\" />',\n sort: '<path d=\"M7 4v16M3 8l4-4 4 4\" /><path d=\"M17 20V4M21 16l-4 4-4-4\" />',\n sortAsc: '<path d=\"M7 18V6M3 10l4-4 4 4\" />',\n sortDesc: '<path d=\"M7 6v12M11 14l-4 4-4-4\" />',\n grid: '<rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"14\" width=\"7\" height=\"7\" />',\n list: '<path d=\"M8 6h13M8 12h13M8 18h13\" /><circle cx=\"3.5\" cy=\"6\" r=\"1.2\" /><circle cx=\"3.5\" cy=\"12\" r=\"1.2\" /><circle cx=\"3.5\" cy=\"18\" r=\"1.2\" />',\n moreH:\n '<circle cx=\"5\" cy=\"12\" r=\"1.5\" /><circle cx=\"12\" cy=\"12\" r=\"1.5\" /><circle cx=\"19\" cy=\"12\" r=\"1.5\" />',\n moreV:\n '<circle cx=\"12\" cy=\"5\" r=\"1.5\" /><circle cx=\"12\" cy=\"12\" r=\"1.5\" /><circle cx=\"12\" cy=\"19\" r=\"1.5\" />',\n link: '<path d=\"M10 14a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1\" /><path d=\"M14 10a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1\" />',\n flag: '<path d=\"M5 21V5a14 14 0 0 1 14 0v9a14 14 0 0 1-14 0z\" />',\n star: '<path d=\"m12 3 2.9 6 6.6.9-4.8 4.6 1.1 6.5L12 17.8 6.2 21l1.1-6.5L2.5 9.9 9.1 9z\" />',\n inbox:\n '<path d=\"M22 12h-6l-2 3h-4l-2-3H2\" /><path d=\"M5 4h14l3 8v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-8z\" />',\n archive:\n '<rect x=\"3\" y=\"3\" width=\"18\" height=\"5\" rx=\"1\" /><path d=\"M5 8v11a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8M10 12h4\" />',\n clock: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 7v5l3 2\" />',\n refresh:\n '<path d=\"M3 12a9 9 0 0 1 15-6.7L21 8\" /><path d=\"M21 3v5h-5\" /><path d=\"M21 12a9 9 0 0 1-15 6.7L3 16\" /><path d=\"M3 21v-5h5\" />',\n play: '<path d=\"M6 4l14 8-14 8z\" />',\n pause: '<path d=\"M7 4v16M17 4v16\" />',\n cmd: '<path d=\"M9 9h6v6H9zM6 9V7a3 3 0 1 1 3 3H6zM6 15v2a3 3 0 1 0 3-3H6zM18 9V7a3 3 0 1 0-3 3h3zM18 15v2a3 3 0 1 1-3-3h3z\" />',\n paperclip:\n '<path d=\"m21 11-9 9a5 5 0 0 1-7-7l9-9a3 3 0 0 1 4 4l-9 9a1 1 0 0 1-1-1l8-8\" />',\n file: '<path d=\"M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z\" /><path d=\"M14 3v6h6\" />',\n image:\n '<rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" /><circle cx=\"9\" cy=\"9\" r=\"2\" /><path d=\"m21 15-5-5L5 21\" />',\n lock: '<rect x=\"4\" y=\"11\" width=\"16\" height=\"10\" rx=\"2\" /><path d=\"M8 11V7a4 4 0 0 1 8 0v4\" />',\n logout:\n '<path d=\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\" /><path d=\"m16 17 5-5-5-5M21 12H9\" />',\n help: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9.5 9a2.5 2.5 0 0 1 5 0c0 1.5-2.5 2-2.5 4M12 17v.01\" />',\n pin: '<path d=\"M12 22v-7\" /><path d=\"m9 15 6 0M8 9l8 0M9 15c-2-1.5-3-4-3-7l12 0c0 3-1 5.5-3 7\" />',\n bookmark: '<path d=\"M5 21V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16l-7-4z\" />',\n sparkle:\n '<path d=\"M12 3v6M12 15v6M3 12h6M15 12h6M5.6 5.6l4.2 4.2M14.2 14.2l4.2 4.2M5.6 18.4l4.2-4.2M14.2 9.8l4.2-4.2\" />',\n layers:\n '<path d=\"m12 3 9 5-9 5-9-5z\" /><path d=\"m3 13 9 5 9-5M3 18l9 5 9-5\" />',\n chart: '<path d=\"M3 3v18h18\" /><path d=\"M7 14l4-4 4 4 5-5\" />',\n gauge:\n '<path d=\"M12 14l4-4\" /><circle cx=\"12\" cy=\"14\" r=\"9\" /><path d=\"M3 14a9 9 0 0 1 18 0\" />',\n package:\n '<path d=\"M3 7v10l9 4 9-4V7l-9-4z\" /><path d=\"m3 7 9 5 9-5M12 12v9\" />',\n git: '<circle cx=\"6\" cy=\"6\" r=\"2.5\" /><circle cx=\"6\" cy=\"18\" r=\"2.5\" /><circle cx=\"18\" cy=\"12\" r=\"2.5\" /><path d=\"M6 8.5v7M8.5 6h4a3 3 0 0 1 3 3v0\" />',\n sun: '<circle cx=\"12\" cy=\"12\" r=\"4\" /><path d=\"M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4\" />',\n moon: '<path d=\"M21 13a9 9 0 0 1-12-12 9 9 0 1 0 12 12z\" />',\n save: '<path d=\"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z\" /><path d=\"M17 21v-8H7v8M7 3v5h8\" />',\n rotate: '<path d=\"M3 12a9 9 0 1 0 3-6.7L3 8\" /><path d=\"M3 3v5h5\" />',\n qr: '<rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" /><path d=\"M14 14h3v3h-3zM18 18h3v3h-3z\" />',\n globe:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18\" />',\n phone:\n '<path d=\"M5 4h4l2 5-2 1a11 11 0 0 0 5 5l1-2 5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z\" />',\n bin: '<rect x=\"3\" y=\"6\" width=\"18\" height=\"14\" rx=\"2\" /><path d=\"M7 6V4h10v2\" />',\n pen: '<path d=\"M3 17V21h4l11-11-4-4z\" />',\n smile:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9 9v.01M15 9v.01M8 14a5 5 0 0 0 8 0\" />',\n frown:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9 9v.01M15 9v.01M8 16a5 5 0 0 1 8 0\" />',\n mail: '<rect x=\"3\" y=\"5\" width=\"18\" height=\"14\" rx=\"2\" /><path d=\"m3 7 9 6 9-6\" />',\n 'eye-off':\n '<path d=\"M3 3l18 18\" /><path d=\"M10.6 6.1A10 10 0 0 1 12 6c6 0 10 7 10 7a14 14 0 0 1-2.4 3.1\" /><path d=\"M6.7 6.7A14 14 0 0 0 2 12s4 7 10 7a10 10 0 0 0 4.5-1\" /><path d=\"M9.9 14.1A3 3 0 0 1 9 12a3 3 0 0 1 3-3 3 3 0 0 1 2.1.9\" />',\n 'check-circle': '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"m8 12 3 3 5-6\" />',\n // r=8, not the 9 of check-circle: this is the empty counterpart of a tick, and\n // at 14px a ring the same size as the filled state reads as the heavier of the\n // two rather than the lighter.\n circle: '<circle cx=\"12\" cy=\"12\" r=\"8\" />',\n // Drag handle: 6 dots in 2 cols × 3 rows. Use 1.6 radius to read at 12-16px.\n drag: '<circle cx=\"9\" cy=\"6\" r=\"1.6\" /><circle cx=\"15\" cy=\"6\" r=\"1.6\" /><circle cx=\"9\" cy=\"12\" r=\"1.6\" /><circle cx=\"15\" cy=\"12\" r=\"1.6\" /><circle cx=\"9\" cy=\"18\" r=\"1.6\" /><circle cx=\"15\" cy=\"18\" r=\"1.6\" />',\n scan: '<path d=\"M4 8V5a1 1 0 0 1 1-1h3M16 4h3a1 1 0 0 1 1 1v3M20 16v3a1 1 0 0 1-1 1h-3M8 20H5a1 1 0 0 1-1-1v-3\" />',\n wifi: '<path d=\"M2 9.5a15 15 0 0 1 20 0\" /><path d=\"M5 13a10 10 0 0 1 14 0\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M12 20h.01\" />',\n 'wifi-off':\n '<path d=\"m3 3 18 18\" /><path d=\"M12 20h.01\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M5 13a10 10 0 0 1 3.5-2.3\" /><path d=\"M11 8.6A10 10 0 0 1 19 13\" /><path d=\"M2 9.5a15 15 0 0 1 5.7-3.2\" /><path d=\"M11.6 5.6A15 15 0 0 1 22 9.5\" />',\n} as const;\n\n/** Built-in DS icon names. Consumers can extend the runtime set via `provideDsIcons({...})` —\n * the type widens to `string` so any custom name is accepted at the call site (at the cost of\n * autocomplete for those custom names). */\nexport type IconName = keyof typeof ICONS | (string & {});\n","const NON_TEXT_INPUT_TYPES = new Set([\n 'button',\n 'checkbox',\n 'color',\n 'file',\n 'image',\n 'radio',\n 'range',\n 'reset',\n 'submit',\n]);\n\n/** True when the key landed on a control that consumes its own keystrokes, so a\n * container listening on the way up must leave the event alone.\n * @internal\n */\nexport function isTextEntryTarget(event: Event): boolean {\n const target = event.target;\n if (!(target instanceof HTMLElement)) {\n return false;\n }\n if (target.isContentEditable) {\n return true;\n }\n const tag = target.tagName.toLowerCase();\n if (tag === 'textarea' || tag === 'select') {\n return true;\n }\n\n return (\n tag === 'input' &&\n !NON_TEXT_INPUT_TYPES.has((target as HTMLInputElement).type.toLowerCase())\n );\n}\n","/** True when `element` is showing less text than it holds, horizontally.\n *\n * Descendants count: a template-driven cell puts the ellipsis on a child, so testing only the\n * wrapper misses it. `overflow: clip` still reports the overflow, which is what lets the house\n * `single-line-ellipsis` mixin earn a disclosure.\n *\n * Only horizontal. A clamped block hides whole LINES and its `scrollWidth` matches its\n * `clientWidth`, so a caller that clamps has to compare line counts instead.\n */\nexport function isTextClipped(element: HTMLElement): boolean {\n if (element.scrollWidth > element.clientWidth) {\n return true;\n }\n\n return [...element.querySelectorAll<HTMLElement>('*')].some(\n (child) => child.scrollWidth > child.clientWidth,\n );\n}\n","/**\n * Index arithmetic for a keyboard cursor over a list of options.\n *\n * Every picker walks the same four ways — next, previous, first, last — skipping\n * whatever is disabled and wrapping at the ends.\n */\nexport interface DsListCursorList {\n length: number;\n isEnabled: (index: number) => boolean;\n}\n\n/** Where the cursor lands, or -1 when nothing in the list can take it.\n * @internal\n */\nexport function firstEnabledIndex(list: DsListCursorList): number {\n for (let index = 0; index < list.length; index += 1) {\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return -1;\n}\n\n/** @internal */\nexport function lastEnabledIndex(list: DsListCursorList): number {\n for (let index = list.length - 1; index >= 0; index -= 1) {\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return -1;\n}\n\n/**\n * The next enabled index `step` away from `from`, wrapping at both ends.\n *\n * `from` of -1 means \"no cursor yet\": stepping forward lands on the first\n * enabled entry and stepping back on the last, which is what a reader expects\n * from a freshly opened panel.\n * @internal\n */\nexport function nextEnabledIndex(\n list: DsListCursorList,\n from: number,\n step: number,\n): number {\n if (list.length === 0) {\n return -1;\n }\n if (from < 0) {\n return step > 0 ? firstEnabledIndex(list) : lastEnabledIndex(list);\n }\n\n let index = from;\n // eslint-disable-next-line @typescript-eslint/prefer-for-of -- walks from `from` with modulo wraparound; `attempts` only bounds the walk, it is not a sequential index\n for (let attempts = 0; attempts < list.length; attempts += 1) {\n index = (index + step + list.length) % list.length;\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return from;\n}\n","import type { IconName } from './icon-names';\n\n/**\n * The shape every picker's option shares — select, multi-select, autocomplete.\n * Add a field HERE, or the three drift apart the way `icon` did. Each keeps its\n * own exported name: those are public API.\n *\n * `T` exists because autocomplete carries typed values; the other two are keyed\n * by string.\n */\nexport interface DsOption<T = string> {\n value: T;\n label: string;\n disabled?: boolean;\n /** Why this option cannot be picked. Reaches the row as `aria-describedby`, so a\n * reader hears the reason instead of only meeting a dead row. Ignored unless\n * `disabled` is set. */\n disabledReason?: string;\n /** Rendered before the label at 16px by every picker's option row. */\n icon?: IconName;\n}\n\n/**\n * A labelled section of options. `disabled` turns the whole section off.\n */\nexport interface DsOptionGroup<T = string> {\n label: string;\n options: DsOption<T>[];\n disabled?: boolean;\n}\n\n/**\n * What a picker's `options` input takes: flat options, groups, or both mixed.\n * One input rather than two, because a second `optionGroups` input can only\n * answer \"what if both are set\" by silently ignoring one.\n */\nexport type DsOptionItem<T = string> = DsOption<T> | DsOptionGroup<T>;\n\nexport function isDsOptionGroup<T>(\n item: DsOptionItem<T>,\n): item is DsOptionGroup<T> {\n return 'options' in item && Array.isArray((item as DsOptionGroup<T>).options);\n}\n\n/** Every option in `items`, groups flattened in place, in source order. */\nexport function flattenDsOptions<T>(\n items: readonly DsOptionItem<T>[],\n): DsOption<T>[] {\n return items.flatMap((item) =>\n isDsOptionGroup(item)\n ? item.options.map((option) =>\n // Only copy when the flag is not already there: the pickers pre-apply a\n // disabled group to the options THEY render, and a second copy here\n // would break the object identity their flat-index lookup compares by.\n item.disabled && !option.disabled\n ? { ...option, disabled: true }\n : option,\n )\n : [item],\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;;;;;;;;;;AAUG;SACa,eAAe,GAAA;IAI7B,IAAI,iBAAiB,GAAG,KAAK;IAE7B,OAAO;AACL,QAAA,IAAI,CAAC,KAAmB,EAAA;YACtB,iBAAiB;AACf,gBAAA,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,aAAa;QAC9D,CAAC;AACD,QAAA,aAAa,CAAC,KAAmB,EAAA;YAC/B,MAAM,OAAO,GACX,iBAAiB;gBACjB,KAAK,CAAC,MAAM,KAAK,CAAC;AAClB,gBAAA,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,aAAa;YACtC,iBAAiB,GAAG,KAAK;AAEzB,YAAA,OAAO,OAAO;QAChB,CAAC;KACF;AACH;;MCqGa,SAAS,GAAG,IAAI,cAAc,CAAW,WAAW,EAAE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../src/lib/core/ds-config.ts","../../../src/lib/core/config-defaults.ts","../../../src/lib/core/dev-warning.ts","../../../src/lib/core/field-bounds.ts","../../../src/lib/core/icon-names.ts","../../../src/lib/core/key-target.ts","../../../src/lib/core/text-clip.ts","../../../src/lib/core/list-cursor.ts","../../../src/lib/core/option.ts","../../../src/lib/core/ids-group-ltd-ids-design-system-core.ts"],"sourcesContent":["/**\n * Dismiss-on-backdrop for a backdrop that WRAPS its dialog.\n *\n * `click` cannot be trusted there: the browser fires it at the nearest common\n * ancestor of the press and the release, so a drag that starts inside the dialog and\n * ends on the backdrop fires `click` ON THE BACKDROP, and a\n * `target === currentTarget` check waves it through. Hence tracking the press:\n * dismiss only when press AND release both land on the backdrop itself. `ds-drawer` needs none of this because its scrim\n * is a SIBLING of the panel, which makes their common ancestor a third element.\n * @internal\n */\nexport function backdropDismiss(): {\n down: (event: PointerEvent) => void;\n shouldDismiss: (event: PointerEvent) => boolean;\n} {\n let pressedOnBackdrop = false;\n\n return {\n down(event: PointerEvent): void {\n pressedOnBackdrop =\n event.button === 0 && event.target === event.currentTarget;\n },\n shouldDismiss(event: PointerEvent): boolean {\n const dismiss =\n pressedOnBackdrop &&\n event.button === 0 &&\n event.target === event.currentTarget;\n pressedOnBackdrop = false;\n\n return dismiss;\n },\n };\n}\n","import { InjectionToken, Provider, inject } from '@angular/core';\nimport type { IconName } from './icon-names';\nimport type { DsSize } from './size';\nimport type { CardElevation, CardPadding } from './card.types';\nimport type { ChartDataTable, ChartValueFormat } from './chart.types';\nimport type { DsToastPosition } from './toast-position';\n\nexport interface DsConfig {\n field?: {\n /** Default for every field's `reserveMessage` — keeps a message line's worth\n * of space even when empty. Default `false`. Setting `true` here applies to\n * EVERY field in the injector's subtree, which is rarely what a whole app\n * wants; prefer `dsReserveMessages` on the individual form that validates. */\n reserveMessage?: boolean;\n /** Fallback text per validation-error kind, for errors whose validator did\n * not carry a `message` — Angular's built-ins never do, so this is where\n * `required`, `minlength`, `email` and friends get their wording. A message\n * on the error itself always wins, so one shared map here plus a per-case\n * override at the validator covers both. Unmapped kinds warn in dev. */\n errorMessages?: Record<string, string>;\n /** Leading glyph on a field's message line, per state. Defaults carry one for\n * `error`, `warning` and `success` and NONE for `hint`, which is resting text\n * rather than a state. Each key is independent — a glyph name replaces the\n * default, `false` removes it, and `stateIcons: false` removes all four.\n *\n * The glyphs exist because warning and success differ from each other by hue\n * and nothing else, which WCAG 1.4.1 forbids a state from resting on. */\n stateIcons?:\n | false\n | {\n error?: IconName | false;\n warning?: IconName | false;\n success?: IconName | false;\n /** The `default` state — the hint line. Off unless set. */\n hint?: IconName | false;\n };\n };\n breadcrumbs?: {\n separator?: IconName;\n clickable?: boolean;\n };\n timePicker?: {\n /** Display format for `ds-time-picker` / date-picker time — 24h or 12h AM/PM. Default `'24h'`. */\n format?: '24h' | '12h';\n };\n avatar?: {\n /** How `ds-avatar` turns its `name` into initials, app-wide. The built-in rule\n * takes the first two words, which is a Latin-script guess — an app whose names\n * follow another convention supplies its own here. */\n initials?: (name: string) => string;\n };\n brand?: {\n /** Brand text for `ds-sidenav` and `ds-auth-layout` — the wordmark, and the\n * source of the letter-mark's glyph when `logoLetter` is unset. */\n name?: string;\n /** Letter-mark glyph when it differs from the brand's first character. */\n logoLetter?: string;\n /** Strapline under the brand row. `ds-auth-layout` only. */\n tagline?: string;\n /* No accent key on purpose: a two-tone wordmark is projected markup\n (`[dsBrandName]`), so the consumer says where the accent belongs. A config\n string would have to be split back apart, which is the guessing the\n projection exists to avoid. */\n };\n modal?: {\n /** Default for `dividers` on `ds-modal` and `ds-modal-card`. Default `true`.\n * Configurable app-wide because a `ModalService` confirm renders a card with no\n * `ds-modal` ancestor to bind — an attribute cannot reach it. */\n dividers?: boolean;\n };\n toast?: {\n /** Where the stack sits. Merged field by field over the built-in\n * `right` / `top` / `var(--space-6)`, so naming one key keeps the other two. */\n position?: Partial<DsToastPosition>;\n /** Maximum number of toasts visible at once. Extras are queued and shown as\n * earlier ones dismiss. Default `5`; `0` means unlimited. */\n maxVisible?: number;\n };\n picker?: {\n /** Default for `ds-multi-select``s `searchable`. `true` always shows the panel's\n * filter row, `false` never, and a NUMBER is a threshold — the row appears once\n * there are at least that many options. Default `true`. One threshold for the\n * app is the point: left to each call site, two panels of the same length in\n * the same screen end up disagreeing. */\n searchable?: boolean | number;\n };\n\n control?: {\n /** Default `size` for every control on the field-height contract. Default `'md'`.\n *\n * A different axis from `[data-density]`: that tier rewrites hit targets and\n * padding in CSS, this picks which of the three declared sizes a control renders\n * at. A screen that differs still binds `size` per element. */\n size?: DsSize;\n };\n card?: {\n /** Default `elevation` for `ds-card`. Default `'flat'`. */\n elevation?: CardElevation;\n /** Default `padding` preset for `ds-card`. Unset keeps the card's own. */\n padding?: CardPadding;\n };\n table?: {\n /** Default for `ds-table`'s `stickyScrollbar` — the proxy that keeps the\n * horizontal bar reachable on a tall table. Default `false`. Here rather than\n * per table because every new table is one forgotten binding away from\n * scrolling invisibly. */\n stickyScrollbar?: boolean;\n /** Default for `ds-table`'s `bordered` — the outer border and radius.\n * Default `false`. */\n bordered?: boolean;\n /** Default for `ds-table`'s `stickyScrollbarOffset` — where the sticky horizontal bar comes\n * to rest, as any CSS length. Unset, each table measures its own scroll container's bottom\n * padding and cancels it, which puts the bar on the edge the reader sees; set this for an app\n * whose scrollports end somewhere else, so every table agrees without a binding each. */\n stickyScrollbarOffset?: string;\n };\n icon?: {\n /** Default pixel `size` for `ds-icon`. Default `16`. */\n size?: number;\n };\n badge?: {\n /** Default for `ds-badge`'s `withDot` — the leading status dot. Default `false`. */\n withDot?: boolean;\n };\n chart?: {\n /** Default `dataTable` for all five charts. Default `'toggle'`. It is an accessibility policy\n * rather than a per-chart taste — whether the numbers behind a plot have a non-visual route is\n * decided once for an app, not thirty times. */\n dataTable?: ChartDataTable;\n /** Shown in place of the plot when a chart's data is empty. Default `'No data'`. */\n emptyText?: string;\n /** Shown in place of the plot when a chart has `error` set. Default\n * `'Could not load the data'`. */\n errorText?: string;\n /** How every chart formats its values, the annex table and the generated description included.\n * Default is the browser's locale grouping with a K/M/B suffix past four digits. The same\n * reason `datePicker.locale` lives here: a number reads one way in an app, and a formatter\n * passed per chart drifts as soon as there are two screens. */\n valueFormat?: ChartValueFormat;\n };\n datePicker?: {\n /** BCP-47 locale for `ds-date-picker` names + value format. Default `'en-US'`. */\n locale?: string;\n /** Explicit token format e.g. `'MM/DD/YYYY'`; overrides the locale-derived order. */\n dateFormat?: string;\n /** First weekday column: 0=Sunday … 6=Saturday. Default `1` (Monday). */\n firstDayOfWeek?: number;\n };\n}\n\nexport const DS_CONFIG = new InjectionToken<DsConfig>('DS_CONFIG', {\n factory: () => ({}),\n});\n\n/** Provide DS-level defaults.\n *\n * providers: [provideDsConfig({ control: { size: 'sm' } })]\n *\n * Works at the app root, on a `Route`, or on a component/directive — the config\n * resolves through the element-injector chain, so a subtree can differ from the\n * app. Component inputs (e.g. `<ds-card padding=\"lg\">`) still win.\n *\n * A nested call MERGES with the config above it section by section; only the keys\n * you name are replaced. ONE call per injector, though: two in the SAME\n * `providers` array both resolve their parent with `skipSelf`, so the later wins\n * and the earlier is silently lost.\n */\nexport function provideDsConfig(config: DsConfig): Provider {\n return { provide: DS_CONFIG, useFactory: () => inheritDsConfig(config) };\n}\n\n/**\n * The factory body behind `provideDsConfig`, exported so a directive can put the\n * provider in its metadata as a plain object literal. Calling `provideDsConfig`\n * there instead runs at module-evaluation time, which makes the module\n * side-effectful and costs the consumer its tree-shaking (measured at +566 kB\n * moved into the eager chunk).\n *\n * Must be called from an injection context.\n */\nexport function inheritDsConfig(config: DsConfig): DsConfig {\n return mergeDsConfig(\n inject(DS_CONFIG, { skipSelf: true, optional: true }) ?? {},\n config,\n );\n}\n\nfunction mergeDsConfig(parent: DsConfig, own: DsConfig): DsConfig {\n const merged: DsConfig = { ...parent };\n for (const section of Object.keys(own) as (keyof DsConfig)[]) {\n Object.assign(merged, {\n [section]: { ...parent[section], ...own[section] },\n });\n }\n\n return merged;\n}\n","import { Signal, computed, inject } from '@angular/core';\nimport { DS_CONFIG, type DsConfig } from './ds-config';\n\n/**\n * Resolve an input against `DS_CONFIG`, then a built-in default.\n *\n * The input must be typed `T | null` and default to `null`: a signal input cannot\n * report whether it was bound, so `null` is what separates \"not set\" from an explicit\n * value. Precedence is input → config → built-in. Call from an injection context.\n * @internal\n */\nexport function resolveWithConfig<T>(\n value: Signal<T | null>,\n pick: (config: DsConfig) => T | undefined,\n fallback: T,\n): Signal<T> {\n const config = inject(DS_CONFIG);\n\n return computed(() => value() ?? pick(config) ?? fallback);\n}\n","import { effect, isDevMode } from '@angular/core';\n\n/**\n * Warns once per distinct message, not once per recomputation: the effect re-runs whenever any\n * signal the condition reads changes, so without that a static misconfiguration would log again\n * on every keystroke.\n *\n * Returning the message from the condition keeps the two together — a condition\n * that drifts from its message is how a warning ends up describing a state that\n * cannot happen any more.\n *\n * Must be called from an injection context.\n *\n * Callers wrap this in `if (typeof ngDevMode === 'undefined' || ngDevMode)`. That is\n * a BUILD-time expression, not a repeat of the `isDevMode()` below: the intent is for\n * a minifier to fold it and drop the message with it, which `isDevMode()` — an opaque\n * call — can never allow. It cannot become a helper function for the same reason.\n *\n * It does work: `ds-stat` and `ds-split-button` compile to `constructor(){}` in the\n * shipped bundle. `ds-toast-region`'s strip is UNVERIFIED — the bundle came out\n * byte-identical after adding the guard, so re-check on a clean `.angular/cache`.\n * @internal\n */\nexport function devWarn(message: () => string | null): void {\n if (!isDevMode()) {\n return;\n }\n const seen = new Set<string>();\n effect(() => {\n const text = message();\n if (!text || seen.has(text)) {\n return;\n }\n seen.add(text);\n console.warn(text);\n });\n}\n","/**\n * Signal forms binds `min`, `max`, `minLength` and `maxLength` BY NAME and sends\n * `undefined` when the schema sets no bound. The DS spells an absent bound as\n * `null`, so the write type has to accept both while the read type stays what it\n * always was — otherwise every internal use and every consumer moves for nothing.\n *\n * Declared once here because it was copy-pasted across three controls, and an\n * explanation in three places is an explanation that drifts in two of them.\n * @internal\n */\nexport function optionalBound(value: number | null | undefined): number | null {\n return value ?? null;\n}\n\n/** As `optionalBound`, for a bound the control requires a value for.\n * @internal\n */\nexport function boundOr(fallback: number) {\n return (value: number | undefined): number => value ?? fallback;\n}\n","// All paths render inside <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\">, stroke-width 1.75.\n\nexport const ICONS = {\n search: '<circle cx=\"11\" cy=\"11\" r=\"7\" /><path d=\"m20 20-3.5-3.5\" />',\n plus: '<path d=\"M12 5v14M5 12h14\" />',\n minus: '<path d=\"M5 12h14\" />',\n check: '<path d=\"m4 12 5 5L20 6\" />',\n x: '<path d=\"M6 6l12 12M18 6L6 18\" />',\n chevronDown: '<path d=\"m6 9 6 6 6-6\" />',\n chevronRight: '<path d=\"m9 6 6 6-6 6\" />',\n chevronLeft: '<path d=\"m15 6-6 6 6 6\" />',\n chevronUp: '<path d=\"m6 15 6-6 6 6\" />',\n menu: '<path d=\"M4 6h16M4 12h16M4 18h16\" />',\n arrowRight: '<path d=\"M5 12h14M13 6l6 6-6 6\" />',\n arrowUp: '<path d=\"M12 19V5M6 11l6-6 6 6\" />',\n arrowDown: '<path d=\"M12 5v14M6 13l6 6 6-6\" />',\n info: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 8v.01M11 12h1v4h1\" />',\n warn: '<path d=\"M12 3 2 21h20L12 3z\" /><path d=\"M12 10v4M12 18v.01\" />',\n error: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 8v4M12 16v.01\" />',\n success: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"m8 12 3 3 5-6\" />',\n bell: '<path d=\"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9\" /><path d=\"M10 21a2 2 0 0 0 4 0\" />',\n settings:\n '<circle cx=\"12\" cy=\"12\" r=\"3\" /><path d=\"M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z\" />',\n user: '<circle cx=\"12\" cy=\"8\" r=\"4\" /><path d=\"M4 21a8 8 0 0 1 16 0\" />',\n users:\n '<circle cx=\"9\" cy=\"8\" r=\"4\" /><path d=\"M2 21a7 7 0 0 1 14 0\" /><path d=\"M16 4a4 4 0 0 1 0 8M22 21a6 6 0 0 0-6-6\" />',\n home: '<path d=\"m3 11 9-8 9 8\" /><path d=\"M5 10v10h14V10\" />',\n calendar:\n '<rect x=\"3\" y=\"5\" width=\"18\" height=\"16\" rx=\"2\" /><path d=\"M3 10h18M8 3v4M16 3v4\" />',\n truck:\n '<path d=\"M3 16V6a1 1 0 0 1 1-1h11v11\" /><path d=\"M15 9h4l2 3v4h-6\" /><circle cx=\"7.5\" cy=\"17.5\" r=\"2\" /><circle cx=\"17.5\" cy=\"17.5\" r=\"2\" />',\n box: '<path d=\"m21 8-9-5-9 5 9 5 9-5z\" /><path d=\"M3 8v8l9 5 9-5V8\" /><path d=\"m12 13 .01 8\" />',\n map: '<path d=\"m9 4-6 3v13l6-3 6 3 6-3V4l-6 3-6-3z\" /><path d=\"M9 4v13M15 7v13\" />',\n activity: '<path d=\"M3 12h4l3-9 4 18 3-9h4\" />',\n folder:\n '<path d=\"M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\" />',\n edit: '<path d=\"M12 20h9\" /><path d=\"M16.5 3.5a2.1 2.1 0 1 1 3 3L7 19l-4 1 1-4z\" />',\n external:\n '<path d=\"M14 4h6v6\" /><path d=\"M20 4 10 14\" /><path d=\"M20 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5\" />',\n trash:\n '<path d=\"M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\" /><path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6\" />',\n copy: '<rect x=\"9\" y=\"9\" width=\"11\" height=\"11\" rx=\"2\" /><path d=\"M5 15V5a2 2 0 0 1 2-2h10\" />',\n download: '<path d=\"M12 4v12M6 12l6 6 6-6\" /><path d=\"M4 20h16\" />',\n upload: '<path d=\"M12 20V8M6 12l6-6 6 6\" /><path d=\"M4 4h16\" />',\n eye: '<path d=\"M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z\" /><circle cx=\"12\" cy=\"12\" r=\"3\" />',\n filter: '<path d=\"M3 5h18l-7 9v6l-4-2v-4z\" />',\n sort: '<path d=\"M7 4v16M3 8l4-4 4 4\" /><path d=\"M17 20V4M21 16l-4 4-4-4\" />',\n sortAsc: '<path d=\"M7 18V6M3 10l4-4 4 4\" />',\n sortDesc: '<path d=\"M7 6v12M11 14l-4 4-4-4\" />',\n grid: '<rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"14\" width=\"7\" height=\"7\" />',\n list: '<path d=\"M8 6h13M8 12h13M8 18h13\" /><circle cx=\"3.5\" cy=\"6\" r=\"1.2\" /><circle cx=\"3.5\" cy=\"12\" r=\"1.2\" /><circle cx=\"3.5\" cy=\"18\" r=\"1.2\" />',\n moreH:\n '<circle cx=\"5\" cy=\"12\" r=\"1.5\" /><circle cx=\"12\" cy=\"12\" r=\"1.5\" /><circle cx=\"19\" cy=\"12\" r=\"1.5\" />',\n moreV:\n '<circle cx=\"12\" cy=\"5\" r=\"1.5\" /><circle cx=\"12\" cy=\"12\" r=\"1.5\" /><circle cx=\"12\" cy=\"19\" r=\"1.5\" />',\n link: '<path d=\"M10 14a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1\" /><path d=\"M14 10a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1\" />',\n flag: '<path d=\"M5 21V5a14 14 0 0 1 14 0v9a14 14 0 0 1-14 0z\" />',\n star: '<path d=\"m12 3 2.9 6 6.6.9-4.8 4.6 1.1 6.5L12 17.8 6.2 21l1.1-6.5L2.5 9.9 9.1 9z\" />',\n inbox:\n '<path d=\"M22 12h-6l-2 3h-4l-2-3H2\" /><path d=\"M5 4h14l3 8v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-8z\" />',\n archive:\n '<rect x=\"3\" y=\"3\" width=\"18\" height=\"5\" rx=\"1\" /><path d=\"M5 8v11a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8M10 12h4\" />',\n clock: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M12 7v5l3 2\" />',\n refresh:\n '<path d=\"M3 12a9 9 0 0 1 15-6.7L21 8\" /><path d=\"M21 3v5h-5\" /><path d=\"M21 12a9 9 0 0 1-15 6.7L3 16\" /><path d=\"M3 21v-5h5\" />',\n play: '<path d=\"M6 4l14 8-14 8z\" />',\n pause: '<path d=\"M7 4v16M17 4v16\" />',\n cmd: '<path d=\"M9 9h6v6H9zM6 9V7a3 3 0 1 1 3 3H6zM6 15v2a3 3 0 1 0 3-3H6zM18 9V7a3 3 0 1 0-3 3h3zM18 15v2a3 3 0 1 1-3-3h3z\" />',\n paperclip:\n '<path d=\"m21 11-9 9a5 5 0 0 1-7-7l9-9a3 3 0 0 1 4 4l-9 9a1 1 0 0 1-1-1l8-8\" />',\n file: '<path d=\"M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z\" /><path d=\"M14 3v6h6\" />',\n image:\n '<rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" /><circle cx=\"9\" cy=\"9\" r=\"2\" /><path d=\"m21 15-5-5L5 21\" />',\n lock: '<rect x=\"4\" y=\"11\" width=\"16\" height=\"10\" rx=\"2\" /><path d=\"M8 11V7a4 4 0 0 1 8 0v4\" />',\n logout:\n '<path d=\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\" /><path d=\"m16 17 5-5-5-5M21 12H9\" />',\n help: '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9.5 9a2.5 2.5 0 0 1 5 0c0 1.5-2.5 2-2.5 4M12 17v.01\" />',\n pin: '<path d=\"M12 22v-7\" /><path d=\"m9 15 6 0M8 9l8 0M9 15c-2-1.5-3-4-3-7l12 0c0 3-1 5.5-3 7\" />',\n bookmark: '<path d=\"M5 21V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16l-7-4z\" />',\n sparkle:\n '<path d=\"M12 3v6M12 15v6M3 12h6M15 12h6M5.6 5.6l4.2 4.2M14.2 14.2l4.2 4.2M5.6 18.4l4.2-4.2M14.2 9.8l4.2-4.2\" />',\n layers:\n '<path d=\"m12 3 9 5-9 5-9-5z\" /><path d=\"m3 13 9 5 9-5M3 18l9 5 9-5\" />',\n chart: '<path d=\"M3 3v18h18\" /><path d=\"M7 14l4-4 4 4 5-5\" />',\n gauge:\n '<path d=\"M12 14l4-4\" /><circle cx=\"12\" cy=\"14\" r=\"9\" /><path d=\"M3 14a9 9 0 0 1 18 0\" />',\n package:\n '<path d=\"M3 7v10l9 4 9-4V7l-9-4z\" /><path d=\"m3 7 9 5 9-5M12 12v9\" />',\n git: '<circle cx=\"6\" cy=\"6\" r=\"2.5\" /><circle cx=\"6\" cy=\"18\" r=\"2.5\" /><circle cx=\"18\" cy=\"12\" r=\"2.5\" /><path d=\"M6 8.5v7M8.5 6h4a3 3 0 0 1 3 3v0\" />',\n sun: '<circle cx=\"12\" cy=\"12\" r=\"4\" /><path d=\"M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4\" />',\n moon: '<path d=\"M21 13a9 9 0 0 1-12-12 9 9 0 1 0 12 12z\" />',\n save: '<path d=\"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z\" /><path d=\"M17 21v-8H7v8M7 3v5h8\" />',\n rotate: '<path d=\"M3 12a9 9 0 1 0 3-6.7L3 8\" /><path d=\"M3 3v5h5\" />',\n qr: '<rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\" /><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" /><path d=\"M14 14h3v3h-3zM18 18h3v3h-3z\" />',\n globe:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18\" />',\n phone:\n '<path d=\"M5 4h4l2 5-2 1a11 11 0 0 0 5 5l1-2 5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z\" />',\n bin: '<rect x=\"3\" y=\"6\" width=\"18\" height=\"14\" rx=\"2\" /><path d=\"M7 6V4h10v2\" />',\n pen: '<path d=\"M3 17V21h4l11-11-4-4z\" />',\n smile:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9 9v.01M15 9v.01M8 14a5 5 0 0 0 8 0\" />',\n frown:\n '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9 9v.01M15 9v.01M8 16a5 5 0 0 1 8 0\" />',\n mail: '<rect x=\"3\" y=\"5\" width=\"18\" height=\"14\" rx=\"2\" /><path d=\"m3 7 9 6 9-6\" />',\n 'eye-off':\n '<path d=\"M3 3l18 18\" /><path d=\"M10.6 6.1A10 10 0 0 1 12 6c6 0 10 7 10 7a14 14 0 0 1-2.4 3.1\" /><path d=\"M6.7 6.7A14 14 0 0 0 2 12s4 7 10 7a10 10 0 0 0 4.5-1\" /><path d=\"M9.9 14.1A3 3 0 0 1 9 12a3 3 0 0 1 3-3 3 3 0 0 1 2.1.9\" />',\n 'check-circle': '<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"m8 12 3 3 5-6\" />',\n // r=8, not the 9 of check-circle: this is the empty counterpart of a tick, and\n // at 14px a ring the same size as the filled state reads as the heavier of the\n // two rather than the lighter.\n circle: '<circle cx=\"12\" cy=\"12\" r=\"8\" />',\n // Drag handle: 6 dots in 2 cols × 3 rows. Use 1.6 radius to read at 12-16px.\n drag: '<circle cx=\"9\" cy=\"6\" r=\"1.6\" /><circle cx=\"15\" cy=\"6\" r=\"1.6\" /><circle cx=\"9\" cy=\"12\" r=\"1.6\" /><circle cx=\"15\" cy=\"12\" r=\"1.6\" /><circle cx=\"9\" cy=\"18\" r=\"1.6\" /><circle cx=\"15\" cy=\"18\" r=\"1.6\" />',\n scan: '<path d=\"M4 8V5a1 1 0 0 1 1-1h3M16 4h3a1 1 0 0 1 1 1v3M20 16v3a1 1 0 0 1-1 1h-3M8 20H5a1 1 0 0 1-1-1v-3\" />',\n wifi: '<path d=\"M2 9.5a15 15 0 0 1 20 0\" /><path d=\"M5 13a10 10 0 0 1 14 0\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M12 20h.01\" />',\n 'wifi-off':\n '<path d=\"m3 3 18 18\" /><path d=\"M12 20h.01\" /><path d=\"M8.5 16.5a5 5 0 0 1 7 0\" /><path d=\"M5 13a10 10 0 0 1 3.5-2.3\" /><path d=\"M11 8.6A10 10 0 0 1 19 13\" /><path d=\"M2 9.5a15 15 0 0 1 5.7-3.2\" /><path d=\"M11.6 5.6A15 15 0 0 1 22 9.5\" />',\n} as const;\n\n/** Built-in DS icon names. Consumers can extend the runtime set via `provideDsIcons({...})` —\n * the type widens to `string` so any custom name is accepted at the call site (at the cost of\n * autocomplete for those custom names). */\nexport type IconName = keyof typeof ICONS | (string & {});\n","const NON_TEXT_INPUT_TYPES = new Set([\n 'button',\n 'checkbox',\n 'color',\n 'file',\n 'image',\n 'radio',\n 'range',\n 'reset',\n 'submit',\n]);\n\n/** True when the key landed on a control that consumes its own keystrokes, so a\n * container listening on the way up must leave the event alone.\n * @internal\n */\nexport function isTextEntryTarget(event: Event): boolean {\n const target = event.target;\n if (!(target instanceof HTMLElement)) {\n return false;\n }\n if (target.isContentEditable) {\n return true;\n }\n const tag = target.tagName.toLowerCase();\n if (tag === 'textarea' || tag === 'select') {\n return true;\n }\n\n return (\n tag === 'input' &&\n !NON_TEXT_INPUT_TYPES.has((target as HTMLInputElement).type.toLowerCase())\n );\n}\n","/** True when `element` is showing less text than it holds, horizontally.\n *\n * Descendants count: a template-driven cell puts the ellipsis on a child, so testing only the\n * wrapper misses it. `overflow: clip` still reports the overflow, which is what lets the house\n * `single-line-ellipsis` mixin earn a disclosure.\n *\n * Only horizontal. A clamped block hides whole LINES and its `scrollWidth` matches its\n * `clientWidth`, so a caller that clamps has to compare line counts instead.\n */\nexport function isTextClipped(element: HTMLElement): boolean {\n if (element.scrollWidth > element.clientWidth) {\n return true;\n }\n\n return [...element.querySelectorAll<HTMLElement>('*')].some(\n (child) => child.scrollWidth > child.clientWidth,\n );\n}\n","/**\n * Index arithmetic for a keyboard cursor over a list of options.\n *\n * Every picker walks the same four ways — next, previous, first, last — skipping\n * whatever is disabled and wrapping at the ends.\n */\nexport interface DsListCursorList {\n length: number;\n isEnabled: (index: number) => boolean;\n}\n\n/** Where the cursor lands, or -1 when nothing in the list can take it.\n * @internal\n */\nexport function firstEnabledIndex(list: DsListCursorList): number {\n for (let index = 0; index < list.length; index += 1) {\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return -1;\n}\n\n/** @internal */\nexport function lastEnabledIndex(list: DsListCursorList): number {\n for (let index = list.length - 1; index >= 0; index -= 1) {\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return -1;\n}\n\n/**\n * The next enabled index `step` away from `from`, wrapping at both ends.\n *\n * `from` of -1 means \"no cursor yet\": stepping forward lands on the first\n * enabled entry and stepping back on the last, which is what a reader expects\n * from a freshly opened panel.\n * @internal\n */\nexport function nextEnabledIndex(\n list: DsListCursorList,\n from: number,\n step: number,\n): number {\n if (list.length === 0) {\n return -1;\n }\n if (from < 0) {\n return step > 0 ? firstEnabledIndex(list) : lastEnabledIndex(list);\n }\n\n let index = from;\n // eslint-disable-next-line @typescript-eslint/prefer-for-of -- walks from `from` with modulo wraparound; `attempts` only bounds the walk, it is not a sequential index\n for (let attempts = 0; attempts < list.length; attempts += 1) {\n index = (index + step + list.length) % list.length;\n if (list.isEnabled(index)) {\n return index;\n }\n }\n\n return from;\n}\n","import type { IconName } from './icon-names';\n\n/**\n * The shape every picker's option shares — select, multi-select, autocomplete.\n * Add a field HERE, or the three drift apart the way `icon` did. Each keeps its\n * own exported name: those are public API.\n *\n * `T` exists because autocomplete carries typed values; the other two are keyed\n * by string.\n */\nexport interface DsOption<T = string> {\n value: T;\n label: string;\n disabled?: boolean;\n /** Why this option cannot be picked. Reaches the row as `aria-describedby`, so a\n * reader hears the reason instead of only meeting a dead row. Ignored unless\n * `disabled` is set. */\n disabledReason?: string;\n /** Rendered before the label at 16px by every picker's option row. */\n icon?: IconName;\n}\n\n/**\n * A labelled section of options. `disabled` turns the whole section off.\n */\nexport interface DsOptionGroup<T = string> {\n label: string;\n options: DsOption<T>[];\n disabled?: boolean;\n}\n\n/**\n * What a picker's `options` input takes: flat options, groups, or both mixed.\n * One input rather than two, because a second `optionGroups` input can only\n * answer \"what if both are set\" by silently ignoring one.\n */\nexport type DsOptionItem<T = string> = DsOption<T> | DsOptionGroup<T>;\n\nexport function isDsOptionGroup<T>(\n item: DsOptionItem<T>,\n): item is DsOptionGroup<T> {\n return 'options' in item && Array.isArray((item as DsOptionGroup<T>).options);\n}\n\n/** Every option in `items`, groups flattened in place, in source order. */\nexport function flattenDsOptions<T>(\n items: readonly DsOptionItem<T>[],\n): DsOption<T>[] {\n return items.flatMap((item) =>\n isDsOptionGroup(item)\n ? item.options.map((option) =>\n // Only copy when the flag is not already there: the pickers pre-apply a\n // disabled group to the options THEY render, and a second copy here\n // would break the object identity their flat-index lookup compares by.\n item.disabled && !option.disabled\n ? { ...option, disabled: true }\n : option,\n )\n : [item],\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAAA;;;;;;;;;;AAUG;SACa,eAAe,GAAA;IAI7B,IAAI,iBAAiB,GAAG,KAAK;IAE7B,OAAO;AACL,QAAA,IAAI,CAAC,KAAmB,EAAA;YACtB,iBAAiB;AACf,gBAAA,KAAK,CAAC,MAAM,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,aAAa;QAC9D,CAAC;AACD,QAAA,aAAa,CAAC,KAAmB,EAAA;YAC/B,MAAM,OAAO,GACX,iBAAiB;gBACjB,KAAK,CAAC,MAAM,KAAK,CAAC;AAClB,gBAAA,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,aAAa;YACtC,iBAAiB,GAAG,KAAK;AAEzB,YAAA,OAAO,OAAO;QAChB,CAAC;KACF;AACH;;MCsHa,SAAS,GAAG,IAAI,cAAc,CAAW,WAAW,EAAE;AACjE,IAAA,OAAO,EAAE,OAAO,EAAE,CAAC;AACpB,CAAA;AAED;;;;;;;;;;;;AAYG;AACG,SAAU,eAAe,CAAC,MAAgB,EAAA;AAC9C,IAAA,OA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AC;IACX;AACA,IAAA,IAAI,IAAI,GAAG,CAAC,EAAE;AACZ,QAAA,OAAO,IAAI,GAAG,CAAC,GAAG,iBAAiB,CAAC,IAAI,CAAC,GAAG,gBAAgB,CAAC,IAAI,CAAC;IACpE;IAEA,IAAI,KAAK,GAAG,IAAI;;AAEhB,IAAA,KAAK,IAAI,QAAQ,GAAG,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC,MAAM,EAAE,QAAQ,IAAI,CAAC,EAAE;AAC5D,QAAA,KAAK,GAAG,CAAC,KAAK,GAAG,IAAI,GAAG,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM;AAClD,QAAA,IAAI,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE;AACzB,YAAA,OAAO,KAAK;QACd;IACF;AAEA,IAAA,OAAO,IAAI;AACb;;AC3BM,SAAU,eAAe,CAC7B,IAAqB,EAAA;AAErB,IAAA,OAAO,SAAS,IAAI,IAAI,IAAI,KAAK,CAAC,OAAO,CAAE,IAAyB,CAAC,OAAO,CAAC;AAC/E;AAEA;AACM,SAAU,gBAAgB,CAC9B,KAAiC,EAAA;AAEjC,IAAA,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,KACxB,eAAe,CAAC,IAAI;UAChB,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM;;;;AAItB,QAAA,IAAI,CAAC,QAAQ,IAAI,CAAC,MAAM,CAAC;cACrB,EAAE,GAAG,MAAM,EAAE,QAAQ,EAAE,IAAI;cAC3B,MAAM;AAEd,UAAE,CAAC,IAAI,CAAC,CACX;AACH;;AC5DA;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ids-group-ltd-ids-design-system.mjs","sources":["../../../src/lib/public-api.ts","../../../src/lib/ids-group-ltd-ids-design-system.ts"],"sourcesContent":["// GENERATED by tools/generate-public-api.mjs from each entry point index.\n// Do not edit. A symbol is published here unless it carries @internal.\n\n// Shared component contracts\nexport {\n DS_FIELD_WARNING_KIND,\n DsChipTemplateDirective,\n DsCreateTemplateDirective,\n DsEmptyTemplateDirective,\n DsGroupLabelTemplateDirective,\n DsOptionTemplateDirective,\n DsPanelFooterTemplateDirective,\n DsPanelHeaderTemplateDirective,\n DsPickerTriggerDirective,\n DsStaticPreview,\n FieldClickFocusDirective,\n} from '@ids-group-ltd/ids-design-system/components';\nexport type {\n DsAriaCurrent,\n DsFieldError,\n DsFieldErrorsInput,\n DsRouterLink,\n} from '@ids-group-ltd/ids-design-system/components';\n\n// Components\nexport {\n ACCORDION,\n AccordionComponent,\n AccordionItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/accordion';\nexport type {\n AccordionContract,\n AccordionItemRef,\n} from '@ids-group-ltd/ids-design-system/components/accordion';\nexport { AlertComponent } from '@ids-group-ltd/ids-design-system/components/alert';\nexport type { AlertVariant } from '@ids-group-ltd/ids-design-system/components/alert';\nexport {\n AppLayoutComponent,\n LayoutNavigationService,\n LayoutScrollService,\n RailTriggerDirective,\n} from '@ids-group-ltd/ids-design-system/components/app-layout';\nexport type { DsScrollReset } from '@ids-group-ltd/ids-design-system/components/app-layout';\nexport { AuthLayoutComponent } from '@ids-group-ltd/ids-design-system/components/auth-layout';\nexport { AutocompleteComponent } from '@ids-group-ltd/ids-design-system/components/autocomplete';\nexport type {\n AutocompleteItem,\n AutocompleteOption,\n AutocompleteOptionGroup,\n AutocompleteValueOverflow,\n AutocompleteWidth,\n} from '@ids-group-ltd/ids-design-system/components/autocomplete';\nexport {\n AvatarComponent,\n avatarTint,\n initialsFrom,\n} from '@ids-group-ltd/ids-design-system/components/avatar';\nexport type {\n AvatarSize,\n AvatarStatus,\n AvatarTintOptions,\n} from '@ids-group-ltd/ids-design-system/components/avatar';\nexport { AvatarGroupComponent } from '@ids-group-ltd/ids-design-system/components/avatar-group';\nexport { BadgeComponent } from '@ids-group-ltd/ids-design-system/components/badge';\nexport { BannerComponent } from '@ids-group-ltd/ids-design-system/components/banner';\nexport type { BannerVariant } from '@ids-group-ltd/ids-design-system/components/banner';\nexport { BarChartComponent } from '@ids-group-ltd/ids-design-system/components/bar-chart';\nexport type { BarChartRow } from '@ids-group-ltd/ids-design-system/components/bar-chart';\nexport { BottomSheetComponent } from '@ids-group-ltd/ids-design-system/components/bottom-sheet';\nexport {\n BreadcrumbsComponent,\n BreadcrumbsService,\n} from '@ids-group-ltd/ids-design-system/components/breadcrumbs';\nexport type { BreadcrumbItem } from '@ids-group-ltd/ids-design-system/components/breadcrumbs';\nexport { ButtonComponent } from '@ids-group-ltd/ids-design-system/components/button';\nexport type {\n ButtonColor,\n ButtonType,\n ButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/button';\nexport { ButtonGroupComponent } from '@ids-group-ltd/ids-design-system/components/button-group';\nexport { CardComponent } from '@ids-group-ltd/ids-design-system/components/card';\nexport type {\n CardElevation,\n CardPadding,\n} from '@ids-group-ltd/ids-design-system/components/card';\nexport type { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nexport type {\n ChartActiveMark,\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 { ColumnChartPoint } from '@ids-group-ltd/ids-design-system/components/column-chart';\nexport { DatePickerComponent } from '@ids-group-ltd/ids-design-system/components/date-picker';\nexport type {\n DatePickerMode,\n DatePickerPreset,\n DatePickerValue,\n DateValue,\n RangeValue,\n} from '@ids-group-ltd/ids-design-system/components/date-picker';\nexport {\n DescriptionItemComponent,\n DescriptionListComponent,\n} from '@ids-group-ltd/ids-design-system/components/description-list';\nexport type { DescriptionListOrientation } from '@ids-group-ltd/ids-design-system/components/description-list';\nexport { DividerComponent } from '@ids-group-ltd/ids-design-system/components/divider';\nexport type {\n DividerSpacing,\n DividerVariant,\n} from '@ids-group-ltd/ids-design-system/components/divider';\nexport { DonutChartComponent } from '@ids-group-ltd/ids-design-system/components/donut-chart';\nexport type { DonutChartSlice } from '@ids-group-ltd/ids-design-system/components/donut-chart';\nexport { DrawerComponent } from '@ids-group-ltd/ids-design-system/components/drawer';\nexport type { DrawerPlacement } from '@ids-group-ltd/ids-design-system/components/drawer';\nexport { DropzoneComponent } from '@ids-group-ltd/ids-design-system/components/dropzone';\nexport type {\n DropzoneFile,\n DropzoneFileState,\n} from '@ids-group-ltd/ids-design-system/components/dropzone';\nexport { EmptyStateComponent } from '@ids-group-ltd/ids-design-system/components/empty-state';\nexport type { EmptyStateVariant } from '@ids-group-ltd/ids-design-system/components/empty-state';\nexport {\n DS_FIELD_GROUP,\n FieldGroupComponent,\n} from '@ids-group-ltd/ids-design-system/components/field-group';\nexport type { DsFieldGroupContext } from '@ids-group-ltd/ids-design-system/components/field-group';\nexport {\n FilterBarComponent,\n FilterItemDirective,\n} from '@ids-group-ltd/ids-design-system/components/filter-bar';\nexport { FunnelChartComponent } from '@ids-group-ltd/ids-design-system/components/funnel-chart';\nexport type {\n FunnelChartShape,\n FunnelChartStage,\n} from '@ids-group-ltd/ids-design-system/components/funnel-chart';\nexport { IconButtonComponent } from '@ids-group-ltd/ids-design-system/components/icon-button';\nexport type {\n IconButtonType,\n IconButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/icon-button';\nexport { InputComponent } from '@ids-group-ltd/ids-design-system/components/input';\nexport type { InputType } from '@ids-group-ltd/ids-design-system/components/input';\nexport {\n ContainerComponent,\n InlineComponent,\n StackComponent,\n} from '@ids-group-ltd/ids-design-system/components/layout';\nexport type {\n ContainerSize,\n LayoutAlign,\n LayoutGap,\n LayoutJustify,\n} from '@ids-group-ltd/ids-design-system/components/layout';\nexport { LineChartComponent } from '@ids-group-ltd/ids-design-system/components/line-chart';\nexport type {\n LineChartAxisMode,\n LineChartGaps,\n LineChartPoint,\n LineChartSeries,\n} from '@ids-group-ltd/ids-design-system/components/line-chart';\nexport {\n ListComponent,\n ListItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/list';\nexport { LoadingOverlayComponent } from '@ids-group-ltd/ids-design-system/components/loading-overlay';\nexport {\n MenuComponent,\n MenuDividerComponent,\n MenuItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/menu';\nexport {\n ModalCardComponent,\n ModalComponent,\n ModalService,\n} from '@ids-group-ltd/ids-design-system/components/modal';\nexport type {\n ModalConfirmOptions,\n ModalConfirmTone,\n ModalSize,\n} from '@ids-group-ltd/ids-design-system/components/modal';\nexport { MultiSelectComponent } from '@ids-group-ltd/ids-design-system/components/multi-select';\nexport type {\n MultiSelectItem,\n MultiSelectOption,\n MultiSelectOptionGroup,\n MultiSelectWidth,\n} from '@ids-group-ltd/ids-design-system/components/multi-select';\nexport { NumberStepperComponent } from '@ids-group-ltd/ids-design-system/components/number-stepper';\nexport { OtpInputComponent } from '@ids-group-ltd/ids-design-system/components/otp-input';\nexport type { OtpMode } from '@ids-group-ltd/ids-design-system/components/otp-input';\nexport { PageFooterComponent } from '@ids-group-ltd/ids-design-system/components/page-footer';\nexport type { PageFooterVariant } from '@ids-group-ltd/ids-design-system/components/page-footer';\nexport { PageHeaderComponent } from '@ids-group-ltd/ids-design-system/components/page-header';\nexport { PaginationComponent } from '@ids-group-ltd/ids-design-system/components/pagination';\nexport {\n PasswordRulesComponent,\n passwordRulesMet,\n} from '@ids-group-ltd/ids-design-system/components/password-rules';\nexport type {\n DsPasswordRule,\n DsPasswordRuleState,\n} from '@ids-group-ltd/ids-design-system/components/password-rules';\nexport { PopoverComponent } from '@ids-group-ltd/ids-design-system/components/popover';\nexport type {\n PopoverAlign,\n PopoverPlacement,\n} from '@ids-group-ltd/ids-design-system/components/popover';\nexport { ProgressComponent } from '@ids-group-ltd/ids-design-system/components/progress';\nexport type { ProgressVariant } from '@ids-group-ltd/ids-design-system/components/progress';\nexport {\n RADIO_GROUP,\n RadioComponent,\n RadioGroupComponent,\n} from '@ids-group-ltd/ids-design-system/components/radio-group';\nexport type {\n RadioGroupChild,\n RadioGroupContract,\n} from '@ids-group-ltd/ids-design-system/components/radio-group';\nexport { ReserveMessagesDirective } from '@ids-group-ltd/ids-design-system/components/reserve-messages';\nexport { SearchComponent } from '@ids-group-ltd/ids-design-system/components/search';\nexport { SegmentedComponent } from '@ids-group-ltd/ids-design-system/components/segmented';\nexport type { SegmentedOption } from '@ids-group-ltd/ids-design-system/components/segmented';\nexport {\n SelectComponent,\n isSelectOptionGroup,\n} from '@ids-group-ltd/ids-design-system/components/select';\nexport type {\n SelectItem,\n SelectOption,\n SelectOptionGroup,\n SelectWidth,\n} from '@ids-group-ltd/ids-design-system/components/select';\nexport {\n BrandNameDirective,\n SIDENAV,\n SidenavComponent,\n SidenavGroupComponent,\n SidenavItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/sidenav';\nexport type {\n SidenavContract,\n SidenavItemModel,\n} from '@ids-group-ltd/ids-design-system/components/sidenav';\nexport { SidenavFooterComponent } from '@ids-group-ltd/ids-design-system/components/sidenav-footer';\nexport type {\n SidenavAlertItem,\n SidenavSearchProvider,\n SidenavSearchResult,\n} from '@ids-group-ltd/ids-design-system/components/sidenav-footer';\nexport { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';\nexport { SliderComponent } from '@ids-group-ltd/ids-design-system/components/slider';\nexport { SpinnerComponent } from '@ids-group-ltd/ids-design-system/components/spinner';\nexport { SplitButtonComponent } from '@ids-group-ltd/ids-design-system/components/split-button';\nexport type {\n SplitButtonItem,\n SplitButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/split-button';\nexport { StatComponent } from '@ids-group-ltd/ids-design-system/components/stat';\nexport { StatusDotComponent } from '@ids-group-ltd/ids-design-system/components/status-dot';\nexport { StepperComponent } from '@ids-group-ltd/ids-design-system/components/stepper';\nexport type {\n StepperLabelPosition,\n StepperOrientation,\n} from '@ids-group-ltd/ids-design-system/components/stepper';\nexport { SwitchComponent } from '@ids-group-ltd/ids-design-system/components/switch';\nexport {\n CellTemplateDirective,\n HeaderFilterDirective,\n TableComponent,\n} from '@ids-group-ltd/ids-design-system/components/table';\nexport type {\n HeaderFilterContext,\n SortChangeEvent,\n SortDir,\n TableCellEditEvent,\n TableColumn,\n TableExpandMode,\n TableFilterMode,\n TableRowAction,\n TableRowActionEvent,\n TableSortMode,\n} from '@ids-group-ltd/ids-design-system/components/table';\nexport { DsTableColumns } from '@ids-group-ltd/ids-design-system/components/table-columns';\nexport { DsTableExport } from '@ids-group-ltd/ids-design-system/components/table-export';\nexport { DsTableResize } from '@ids-group-ltd/ids-design-system/components/table-resize';\nexport {\n TabComponent,\n TabsComponent,\n} from '@ids-group-ltd/ids-design-system/components/tabs';\nexport type {\n TabsOrientation,\n TabsVariant,\n} from '@ids-group-ltd/ids-design-system/components/tabs';\nexport { TagComponent } from '@ids-group-ltd/ids-design-system/components/tag';\nexport type { TagVariant } from '@ids-group-ltd/ids-design-system/components/tag';\nexport { TextareaComponent } from '@ids-group-ltd/ids-design-system/components/textarea';\nexport type { TextareaResize } from '@ids-group-ltd/ids-design-system/components/textarea';\nexport { TimePickerComponent } from '@ids-group-ltd/ids-design-system/components/time-picker';\nexport type {\n TimeFormat,\n TimePickerMode,\n TimePickerValue,\n TimeRangeValue,\n TimeValue,\n} from '@ids-group-ltd/ids-design-system/components/time-picker';\nexport {\n TimelineComponent,\n TimelineItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/timeline';\nexport type { TimelineTone } from '@ids-group-ltd/ids-design-system/components/timeline';\nexport {\n DS_TOAST_POSITION_DEFAULT,\n ToastComponent,\n ToastRegionComponent,\n ToastService,\n} from '@ids-group-ltd/ids-design-system/components/toast';\nexport type {\n DsToastHorizontalPosition,\n DsToastPosition,\n DsToastVerticalPosition,\n ToastAction,\n ToastEntry,\n ToastOptions,\n ToastPromiseMessages,\n ToastRef,\n ToastVariant,\n} from '@ids-group-ltd/ids-design-system/components/toast';\nexport { ToggleButtonComponent } from '@ids-group-ltd/ids-design-system/components/toggle-button';\nexport {\n TooltipDirective,\n TooltipPanelComponent,\n} from '@ids-group-ltd/ids-design-system/components/tooltip';\nexport type { TooltipPlacement } from '@ids-group-ltd/ids-design-system/components/tooltip';\nexport { TopBarComponent } from '@ids-group-ltd/ids-design-system/components/topbar';\nexport { TreeComponent } from '@ids-group-ltd/ids-design-system/components/tree';\nexport type { TreeNode } from '@ids-group-ltd/ids-design-system/components/tree';\nexport { W3wComponent } from '@ids-group-ltd/ids-design-system/components/w3w';\n\n// Core\nexport {\n DS_CONFIG,\n ICONS,\n flattenDsOptions,\n inheritDsConfig,\n isDsOptionGroup,\n isTextClipped,\n provideDsConfig,\n} from '@ids-group-ltd/ids-design-system/core';\nexport type {\n DsConfig,\n DsControlWidth,\n DsOption,\n DsOptionGroup,\n DsOptionItem,\n DsSize,\n DsStatus,\n DsStatusKey,\n DsStatusRegistry,\n DsTriggerDisplay,\n IconName,\n} from '@ids-group-ltd/ids-design-system/core';\n\n// Icons\nexport {\n DS_ICON_REGISTRY,\n IconComponent,\n provideDsIcons,\n} from '@ids-group-ltd/ids-design-system/icons';\nexport type { DsIconRegistry } from '@ids-group-ltd/ids-design-system/icons';\n\n// Overlay\nexport {\n BodyScrollLockService,\n DsOverlayCloseRef,\n} from '@ids-group-ltd/ids-design-system/overlay';\n\n// Theme\nexport { provideDsTheme } from '@ids-group-ltd/ids-design-system/theme';\nexport type { DsThemeOptions } from '@ids-group-ltd/ids-design-system/theme';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;;ACHA;;AAEG"}
1
+ {"version":3,"file":"ids-group-ltd-ids-design-system.mjs","sources":["../../../src/lib/public-api.ts","../../../src/lib/ids-group-ltd-ids-design-system.ts"],"sourcesContent":["// GENERATED by tools/generate-public-api.mjs from each entry point index.\n// Do not edit. A symbol is published here unless it carries @internal.\n\n// Shared component contracts\nexport {\n DS_FIELD_WARNING_KIND,\n DsChipTemplateDirective,\n DsCreateTemplateDirective,\n DsEmptyTemplateDirective,\n DsGroupLabelTemplateDirective,\n DsOptionTemplateDirective,\n DsPanelFooterTemplateDirective,\n DsPanelHeaderTemplateDirective,\n DsPickerTriggerDirective,\n DsStaticPreview,\n FieldClickFocusDirective,\n} from '@ids-group-ltd/ids-design-system/components';\nexport type {\n DsAriaCurrent,\n DsFieldError,\n DsFieldErrorsInput,\n DsRouterLink,\n} from '@ids-group-ltd/ids-design-system/components';\n\n// Components\nexport {\n ACCORDION,\n AccordionComponent,\n AccordionItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/accordion';\nexport type {\n AccordionContract,\n AccordionItemRef,\n} from '@ids-group-ltd/ids-design-system/components/accordion';\nexport { AlertComponent } from '@ids-group-ltd/ids-design-system/components/alert';\nexport type { AlertVariant } from '@ids-group-ltd/ids-design-system/components/alert';\nexport {\n AppLayoutComponent,\n LayoutNavigationService,\n LayoutScrollService,\n RailTriggerDirective,\n} from '@ids-group-ltd/ids-design-system/components/app-layout';\nexport type { DsScrollReset } from '@ids-group-ltd/ids-design-system/components/app-layout';\nexport { AuthLayoutComponent } from '@ids-group-ltd/ids-design-system/components/auth-layout';\nexport { AutocompleteComponent } from '@ids-group-ltd/ids-design-system/components/autocomplete';\nexport type {\n AutocompleteItem,\n AutocompleteOption,\n AutocompleteOptionGroup,\n AutocompleteValueOverflow,\n AutocompleteWidth,\n} from '@ids-group-ltd/ids-design-system/components/autocomplete';\nexport {\n AvatarComponent,\n avatarTint,\n initialsFrom,\n} from '@ids-group-ltd/ids-design-system/components/avatar';\nexport type {\n AvatarSize,\n AvatarStatus,\n AvatarTintOptions,\n} from '@ids-group-ltd/ids-design-system/components/avatar';\nexport { AvatarGroupComponent } from '@ids-group-ltd/ids-design-system/components/avatar-group';\nexport { BadgeComponent } from '@ids-group-ltd/ids-design-system/components/badge';\nexport { BannerComponent } from '@ids-group-ltd/ids-design-system/components/banner';\nexport type { BannerVariant } from '@ids-group-ltd/ids-design-system/components/banner';\nexport { BarChartComponent } from '@ids-group-ltd/ids-design-system/components/bar-chart';\nexport type { BarChartRow } from '@ids-group-ltd/ids-design-system/components/bar-chart';\nexport { BottomSheetComponent } from '@ids-group-ltd/ids-design-system/components/bottom-sheet';\nexport {\n BreadcrumbsComponent,\n BreadcrumbsService,\n} from '@ids-group-ltd/ids-design-system/components/breadcrumbs';\nexport type { BreadcrumbItem } from '@ids-group-ltd/ids-design-system/components/breadcrumbs';\nexport { ButtonComponent } from '@ids-group-ltd/ids-design-system/components/button';\nexport type {\n ButtonColor,\n ButtonType,\n ButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/button';\nexport { ButtonGroupComponent } from '@ids-group-ltd/ids-design-system/components/button-group';\nexport { CardComponent } from '@ids-group-ltd/ids-design-system/components/card';\nexport type {\n CardElevation,\n CardPadding,\n} from '@ids-group-ltd/ids-design-system/components/card';\nexport 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 { ColumnChartPoint } from '@ids-group-ltd/ids-design-system/components/column-chart';\nexport { DatePickerComponent } from '@ids-group-ltd/ids-design-system/components/date-picker';\nexport type {\n DatePickerMode,\n DatePickerPreset,\n DatePickerValue,\n DateValue,\n RangeValue,\n} from '@ids-group-ltd/ids-design-system/components/date-picker';\nexport {\n DescriptionItemComponent,\n DescriptionListComponent,\n} from '@ids-group-ltd/ids-design-system/components/description-list';\nexport type { DescriptionListOrientation } from '@ids-group-ltd/ids-design-system/components/description-list';\nexport { DividerComponent } from '@ids-group-ltd/ids-design-system/components/divider';\nexport type {\n DividerSpacing,\n DividerVariant,\n} from '@ids-group-ltd/ids-design-system/components/divider';\nexport { DonutChartComponent } from '@ids-group-ltd/ids-design-system/components/donut-chart';\nexport type { DonutChartSlice } from '@ids-group-ltd/ids-design-system/components/donut-chart';\nexport { DrawerComponent } from '@ids-group-ltd/ids-design-system/components/drawer';\nexport type { DrawerPlacement } from '@ids-group-ltd/ids-design-system/components/drawer';\nexport { DropzoneComponent } from '@ids-group-ltd/ids-design-system/components/dropzone';\nexport type {\n DropzoneFile,\n DropzoneFileState,\n} from '@ids-group-ltd/ids-design-system/components/dropzone';\nexport { EmptyStateComponent } from '@ids-group-ltd/ids-design-system/components/empty-state';\nexport type { EmptyStateVariant } from '@ids-group-ltd/ids-design-system/components/empty-state';\nexport {\n DS_FIELD_GROUP,\n FieldGroupComponent,\n} from '@ids-group-ltd/ids-design-system/components/field-group';\nexport type { DsFieldGroupContext } from '@ids-group-ltd/ids-design-system/components/field-group';\nexport {\n FilterBarComponent,\n FilterItemDirective,\n} from '@ids-group-ltd/ids-design-system/components/filter-bar';\nexport { FunnelChartComponent } from '@ids-group-ltd/ids-design-system/components/funnel-chart';\nexport type {\n FunnelChartShape,\n FunnelChartStage,\n} from '@ids-group-ltd/ids-design-system/components/funnel-chart';\nexport { IconButtonComponent } from '@ids-group-ltd/ids-design-system/components/icon-button';\nexport type {\n IconButtonType,\n IconButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/icon-button';\nexport { InputComponent } from '@ids-group-ltd/ids-design-system/components/input';\nexport type { InputType } from '@ids-group-ltd/ids-design-system/components/input';\nexport {\n ContainerComponent,\n InlineComponent,\n StackComponent,\n} from '@ids-group-ltd/ids-design-system/components/layout';\nexport type {\n ContainerSize,\n LayoutAlign,\n LayoutGap,\n LayoutJustify,\n} from '@ids-group-ltd/ids-design-system/components/layout';\nexport { LineChartComponent } from '@ids-group-ltd/ids-design-system/components/line-chart';\nexport type {\n LineChartAxisMode,\n LineChartGaps,\n LineChartPoint,\n LineChartSeries,\n} from '@ids-group-ltd/ids-design-system/components/line-chart';\nexport {\n ListComponent,\n ListItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/list';\nexport { LoadingOverlayComponent } from '@ids-group-ltd/ids-design-system/components/loading-overlay';\nexport {\n MenuComponent,\n MenuDividerComponent,\n MenuItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/menu';\nexport {\n ModalCardComponent,\n ModalComponent,\n ModalService,\n} from '@ids-group-ltd/ids-design-system/components/modal';\nexport type {\n ModalConfirmOptions,\n ModalConfirmTone,\n ModalSize,\n} from '@ids-group-ltd/ids-design-system/components/modal';\nexport { MultiSelectComponent } from '@ids-group-ltd/ids-design-system/components/multi-select';\nexport type {\n MultiSelectItem,\n MultiSelectOption,\n MultiSelectOptionGroup,\n MultiSelectWidth,\n} from '@ids-group-ltd/ids-design-system/components/multi-select';\nexport { NumberStepperComponent } from '@ids-group-ltd/ids-design-system/components/number-stepper';\nexport { OtpInputComponent } from '@ids-group-ltd/ids-design-system/components/otp-input';\nexport type { OtpMode } from '@ids-group-ltd/ids-design-system/components/otp-input';\nexport { PageFooterComponent } from '@ids-group-ltd/ids-design-system/components/page-footer';\nexport type { PageFooterVariant } from '@ids-group-ltd/ids-design-system/components/page-footer';\nexport { PageHeaderComponent } from '@ids-group-ltd/ids-design-system/components/page-header';\nexport { PaginationComponent } from '@ids-group-ltd/ids-design-system/components/pagination';\nexport {\n PasswordRulesComponent,\n passwordRulesMet,\n} from '@ids-group-ltd/ids-design-system/components/password-rules';\nexport type {\n DsPasswordRule,\n DsPasswordRuleState,\n} from '@ids-group-ltd/ids-design-system/components/password-rules';\nexport { PopoverComponent } from '@ids-group-ltd/ids-design-system/components/popover';\nexport type {\n PopoverAlign,\n PopoverPlacement,\n} from '@ids-group-ltd/ids-design-system/components/popover';\nexport { ProgressComponent } from '@ids-group-ltd/ids-design-system/components/progress';\nexport type { ProgressVariant } from '@ids-group-ltd/ids-design-system/components/progress';\nexport {\n RADIO_GROUP,\n RadioComponent,\n RadioGroupComponent,\n} from '@ids-group-ltd/ids-design-system/components/radio-group';\nexport type {\n RadioGroupChild,\n RadioGroupContract,\n} from '@ids-group-ltd/ids-design-system/components/radio-group';\nexport { ReserveMessagesDirective } from '@ids-group-ltd/ids-design-system/components/reserve-messages';\nexport { SearchComponent } from '@ids-group-ltd/ids-design-system/components/search';\nexport { SegmentedComponent } from '@ids-group-ltd/ids-design-system/components/segmented';\nexport type { SegmentedOption } from '@ids-group-ltd/ids-design-system/components/segmented';\nexport {\n SelectComponent,\n isSelectOptionGroup,\n} from '@ids-group-ltd/ids-design-system/components/select';\nexport type {\n SelectItem,\n SelectOption,\n SelectOptionGroup,\n SelectWidth,\n} from '@ids-group-ltd/ids-design-system/components/select';\nexport {\n BrandNameDirective,\n SIDENAV,\n SidenavComponent,\n SidenavGroupComponent,\n SidenavItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/sidenav';\nexport type {\n SidenavContract,\n SidenavItemModel,\n} from '@ids-group-ltd/ids-design-system/components/sidenav';\nexport { SidenavFooterComponent } from '@ids-group-ltd/ids-design-system/components/sidenav-footer';\nexport type {\n SidenavAlertItem,\n SidenavSearchProvider,\n SidenavSearchResult,\n} from '@ids-group-ltd/ids-design-system/components/sidenav-footer';\nexport { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';\nexport { SliderComponent } from '@ids-group-ltd/ids-design-system/components/slider';\nexport { SpinnerComponent } from '@ids-group-ltd/ids-design-system/components/spinner';\nexport { SplitButtonComponent } from '@ids-group-ltd/ids-design-system/components/split-button';\nexport type {\n SplitButtonItem,\n SplitButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/split-button';\nexport { StatComponent } from '@ids-group-ltd/ids-design-system/components/stat';\nexport { StatusDotComponent } from '@ids-group-ltd/ids-design-system/components/status-dot';\nexport { StepperComponent } from '@ids-group-ltd/ids-design-system/components/stepper';\nexport type {\n StepperLabelPosition,\n StepperOrientation,\n} from '@ids-group-ltd/ids-design-system/components/stepper';\nexport { SwitchComponent } from '@ids-group-ltd/ids-design-system/components/switch';\nexport {\n CellTemplateDirective,\n HeaderFilterDirective,\n TableComponent,\n} from '@ids-group-ltd/ids-design-system/components/table';\nexport type {\n HeaderFilterContext,\n SortChangeEvent,\n SortDir,\n TableCellEditEvent,\n TableColumn,\n TableExpandMode,\n TableFilterMode,\n TableRowAction,\n TableRowActionEvent,\n TableSortMode,\n} from '@ids-group-ltd/ids-design-system/components/table';\nexport { DsTableColumns } from '@ids-group-ltd/ids-design-system/components/table-columns';\nexport { DsTableExport } from '@ids-group-ltd/ids-design-system/components/table-export';\nexport { DsTableResize } from '@ids-group-ltd/ids-design-system/components/table-resize';\nexport {\n TabComponent,\n TabsComponent,\n} from '@ids-group-ltd/ids-design-system/components/tabs';\nexport type {\n TabsOrientation,\n TabsVariant,\n} from '@ids-group-ltd/ids-design-system/components/tabs';\nexport { TagComponent } from '@ids-group-ltd/ids-design-system/components/tag';\nexport type { TagVariant } from '@ids-group-ltd/ids-design-system/components/tag';\nexport { TextareaComponent } from '@ids-group-ltd/ids-design-system/components/textarea';\nexport type { TextareaResize } from '@ids-group-ltd/ids-design-system/components/textarea';\nexport { TimePickerComponent } from '@ids-group-ltd/ids-design-system/components/time-picker';\nexport type {\n TimeFormat,\n TimePickerMode,\n TimePickerValue,\n TimeRangeValue,\n TimeValue,\n} from '@ids-group-ltd/ids-design-system/components/time-picker';\nexport {\n TimelineComponent,\n TimelineItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/timeline';\nexport type { TimelineTone } from '@ids-group-ltd/ids-design-system/components/timeline';\nexport {\n DS_TOAST_POSITION_DEFAULT,\n ToastComponent,\n ToastRegionComponent,\n ToastService,\n} from '@ids-group-ltd/ids-design-system/components/toast';\nexport type {\n DsToastHorizontalPosition,\n DsToastPosition,\n DsToastVerticalPosition,\n ToastAction,\n ToastEntry,\n ToastOptions,\n ToastPromiseMessages,\n ToastRef,\n ToastVariant,\n} from '@ids-group-ltd/ids-design-system/components/toast';\nexport { ToggleButtonComponent } from '@ids-group-ltd/ids-design-system/components/toggle-button';\nexport {\n TooltipDirective,\n TooltipPanelComponent,\n} from '@ids-group-ltd/ids-design-system/components/tooltip';\nexport type { TooltipPlacement } from '@ids-group-ltd/ids-design-system/components/tooltip';\nexport { TopBarComponent } from '@ids-group-ltd/ids-design-system/components/topbar';\nexport { TreeComponent } from '@ids-group-ltd/ids-design-system/components/tree';\nexport type { TreeNode } from '@ids-group-ltd/ids-design-system/components/tree';\nexport { W3wComponent } from '@ids-group-ltd/ids-design-system/components/w3w';\n\n// Core\nexport {\n DS_CONFIG,\n ICONS,\n flattenDsOptions,\n inheritDsConfig,\n isDsOptionGroup,\n isTextClipped,\n provideDsConfig,\n} from '@ids-group-ltd/ids-design-system/core';\nexport type {\n ChartDataTable,\n ChartValueFormat,\n DsConfig,\n DsControlWidth,\n DsOption,\n DsOptionGroup,\n DsOptionItem,\n DsSize,\n DsStatus,\n DsStatusKey,\n DsStatusRegistry,\n DsTriggerDisplay,\n IconName,\n} from '@ids-group-ltd/ids-design-system/core';\n\n// Icons\nexport {\n DS_ICON_REGISTRY,\n IconComponent,\n provideDsIcons,\n} from '@ids-group-ltd/ids-design-system/icons';\nexport type { DsIconRegistry } from '@ids-group-ltd/ids-design-system/icons';\n\n// Overlay\nexport {\n BodyScrollLockService,\n DsOverlayCloseRef,\n} from '@ids-group-ltd/ids-design-system/overlay';\n\n// Theme\nexport { provideDsTheme } from '@ids-group-ltd/ids-design-system/theme';\nexport type { DsThemeOptions } from '@ids-group-ltd/ids-design-system/theme';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;;ACHA;;AAEG"}
@@ -0,0 +1,236 @@
1
+ {
2
+ "version": "0.13.1",
3
+ "items": [
4
+ {
5
+ "id": "chart-defaults-resolve-through-config",
6
+ "kind": "behavior",
7
+ "old": "BarChartComponent",
8
+ "new": null,
9
+ "surface": "typescript",
10
+ "action": "Only if you SUBCLASS a chart or read its inputs from a template reference: read `dataTableResolved()`, `emptyTextResolved()`, `errorTextResolved()` or `valueFormatResolved()` instead of the raw input. Binding the inputs is unchanged.",
11
+ "appliesWhen": "Only where code reads `dataTable()`, `emptyText()`, `errorText()` or `valueFormat()` off a chart instance. Every template that BINDS them — `dataTable=\"none\"`, `[valueFormat]=\"fn\"` — needs nothing.",
12
+ "pitfall": "The raw input now answers `null` until something binds it, and `null` is a legitimate value rather than an error — a subclass reading it gets no exception, just a missing string where a default used to be.",
13
+ "restore": null,
14
+ "searchHints": [
15
+ "dataTable()",
16
+ "emptyText()",
17
+ "errorText()",
18
+ "valueFormat()"
19
+ ],
20
+ "detect": [
21
+ ".dataTable()",
22
+ ".emptyText()",
23
+ ".errorText()",
24
+ ".valueFormat()",
25
+ "BarChartComponent",
26
+ "ColumnChartComponent",
27
+ "DonutChartComponent",
28
+ "FunnelChartComponent",
29
+ "LineChartComponent"
30
+ ],
31
+ "verify": "No code reads a chart's `dataTable`, `emptyText`, `errorText` or `valueFormat` input directly; every read goes through the matching `*Resolved` signal.",
32
+ "note": "The four moved onto the library's internal config resolver, which requires the input to be `T | null` defaulting to `null`: a signal input cannot report whether it was bound, so `null` is what separates \"not set\" from an explicit value. Same shape as `ds-card`'s `elevation` / `padding` and `ds-button`'s `size`."
33
+ },
34
+ {
35
+ "id": "picker-panel-class-input-added",
36
+ "kind": "behavior",
37
+ "old": "SelectComponent",
38
+ "new": null,
39
+ "surface": "typescript",
40
+ "action": "Only if you SUBCLASS one of the six pickers and declare a member called `panelClass`: rename yours, or add `override` where your member genuinely means the panel class.",
41
+ "appliesWhen": "Only a class extending SelectComponent, MultiSelectComponent, AutocompleteComponent, ColorPickerComponent, DatePickerComponent or TimePickerComponent. A template that uses the pickers needs nothing, and neither does code that reads their other inputs.",
42
+ "pitfall": "The collision is a compile error, not a silent one — TS4114 for a same-named member, TS2416 where the signature differs — so a build that passes has none.",
43
+ "restore": null,
44
+ "searchHints": [
45
+ "panelClass"
46
+ ],
47
+ "detect": [
48
+ "extends SelectComponent",
49
+ "extends MultiSelectComponent",
50
+ "extends AutocompleteComponent",
51
+ "extends ColorPickerComponent",
52
+ "extends DatePickerComponent",
53
+ "extends TimePickerComponent",
54
+ "extends "
55
+ ],
56
+ "verify": "No subclass of the six pickers declares a member named `panelClass` of its own; the app builds with no TS4114 or TS2416 on those classes.",
57
+ "note": "Each picker gained one input, `panelClass`, so a consumer can name the portaled pane. Subclassing a DS component is unsupported, but a release that only adds can still fail such a build on a name collision, which is why the addition is listed here rather than in the additive notes."
58
+ },
59
+ {
60
+ "id": "chart-tooltip-directive-gains-detach-scroll-close",
61
+ "kind": "behavior",
62
+ "old": "ChartTooltipDirective",
63
+ "new": null,
64
+ "surface": "typescript",
65
+ "action": "Only if you SUBCLASS the internal `ChartTooltipDirective`, which the package root does not export, and declare a member called `detachScrollClose`: rename yours, or add `override` where your member genuinely means the scroll-close teardown.",
66
+ "appliesWhen": "Only a class extending the internal `ChartTooltipDirective`. It is not exported from the package root — `@ids-group-ltd/ids-design-system/components/chart-tooltip` is the only specifier that reaches it — and a chart that uses it through the five chart components needs nothing.",
67
+ "pitfall": "The collision is a compile error, not a silent one — TS4114 for a same-named member, TS2416 where the signature differs — so a build that passes has none.",
68
+ "restore": null,
69
+ "searchHints": [
70
+ "detachScrollClose",
71
+ "ChartTooltipDirective"
72
+ ],
73
+ "detect": [
74
+ "extends ChartTooltipDirective",
75
+ "ChartTooltipDirective"
76
+ ],
77
+ "verify": "No subclass of the internal `ChartTooltipDirective` declares a member named `detachScrollClose` of its own; the app builds with no TS4114 or TS2416 on that class.",
78
+ "note": "The directive is internal: it tears down its own scroll subscription when the panel closes, which is what the new member holds. Subclassing a DS directive is unsupported, but a release that only adds can still fail such a build on a name collision."
79
+ },
80
+ {
81
+ "id": "date-time-picker-panes-carry-dropdown-panel-class",
82
+ "kind": "behavior",
83
+ "old": "DatePickerComponent",
84
+ "new": null,
85
+ "surface": "style",
86
+ "action": "Check any rule of yours written against `.ds-dropdown-panel`: it now also matches the date picker and time picker panes. Narrow it to the picker you meant with that picker’s own pane class.",
87
+ "appliesWhen": "Only a stylesheet of yours that targets `.ds-dropdown-panel`. Neither panel changes appearance from the DS skin: the skin styles option rows, option groups and the list, and a calendar and a time column render none of those class names.",
88
+ "pitfall": "Nothing errors and nothing logs — the date or time panel simply picks up a treatment written for an option list, and only a look at the two panels shows it.",
89
+ "restore": null,
90
+ "searchHints": [
91
+ ".ds-dropdown-panel",
92
+ "ds-dropdown-panel"
93
+ ],
94
+ "detect": [
95
+ ".ds-dropdown-panel",
96
+ "ds-dropdown-panel"
97
+ ],
98
+ "verify": "Every consumer rule on `.ds-dropdown-panel` is either intended for all six pickers, or names one pane class — `ds-select-panel`, `ds-multi-select-panel`, `ds-autocomplete-panel`, `ds-color-picker-panel`, `ds-date-picker-panel` or `ds-time-picker-panel`.",
99
+ "note": "The date and time pickers used to pass a panel class that REPLACED the shared pair, so their panes carried `ds-overlay-pane` alone. The shared pair is now unconditional and a caller adds to it, which is what lets each pane also carry a class of its own. This is the inbound direction of a widening: an existing rule starts matching a panel it never matched."
100
+ },
101
+ {
102
+ "id": "overlay-role-forwarding-compares-with-the-parent",
103
+ "kind": "behavior",
104
+ "old": "SelectComponent",
105
+ "new": null,
106
+ "surface": "style",
107
+ "action": "If a role token set on an ANCESTOR of a picker was reaching its portaled panel, move it onto the component itself — `ds-select { --ds-radius-panel: 8px }` — or use the panel hook, e.g. `--ds-dropdown-panel-radius`.",
108
+ "appliesWhen": "Only a stylesheet that sets `--ds-radius-inner`, `--ds-radius-control`, `--ds-radius-panel`, `--ds-radius-pill` or one of the four `--ds-elevation-*` roles on an ancestor of a picker, popover, menu or tooltip. A role set on the component, on `:root`, or on the pane is unaffected, and no template or TypeScript changes.",
109
+ "pitfall": "Nothing errors and nothing logs. A panel that was inheriting a shell radius or elevation simply falls back to the root value, and only opening it shows the difference.",
110
+ "restore": null,
111
+ "searchHints": [
112
+ "--ds-radius-panel",
113
+ "--ds-radius-inner",
114
+ "--ds-radius-control",
115
+ "--ds-radius-pill",
116
+ "--ds-elevation-overlay"
117
+ ],
118
+ "detect": [
119
+ "--ds-radius-panel",
120
+ "--ds-radius-inner",
121
+ "--ds-radius-control",
122
+ "--ds-radius-pill",
123
+ "--ds-elevation-raised",
124
+ "--ds-elevation-overlay",
125
+ "--ds-elevation-floating",
126
+ "--ds-elevation-modal",
127
+ ".ds-overlay-pane"
128
+ ],
129
+ "verify": "Every panel whose corner or elevation came from a wrapper still looks right with it open, and a rule on `.ds-overlay-pane` is no longer beaten by an inline value on the pane.",
130
+ "note": "The component copies the roles a portaled pane needs onto it inline, because the pane sits outside the host. It chose what to copy by comparing the host with `:root`; custom properties inherit, so any ancestor value made every component under it an overrider and pinned that value inline, above the `.ds-overlay-pane` rule that is a stylesheet’s only route to a portaled panel. The comparison is against the parent now, which is what separates a role the host declares from one it inherited."
131
+ },
132
+ {
133
+ "id": "title-input-no-longer-leaves-a-native-attribute",
134
+ "kind": "behavior",
135
+ "old": "ds-modal",
136
+ "new": null,
137
+ "surface": "template",
138
+ "action": "Only if you relied on the native browser tooltip these hosts raised, or bound `[attr.title]` on one of them: move the tooltip to a wrapper element or a projected child, or use `dsTooltip`. Binding the `title` INPUT is unchanged.",
139
+ "appliesWhen": "Only a template that wrote `title=\"…\"` or `[attr.title]=\"…\"` on `ds-accordion-item`, `ds-alert`, `ds-banner`, `ds-bottom-sheet`, `ds-drawer`, `ds-empty-state`, `ds-list-item`, `ds-modal`, `ds-modal-card`, `ds-page-header` or `ds-toast` AND wanted the browser tooltip. Every one of these renders the title as visible text, so the visible output is unchanged.",
140
+ "pitfall": "Nothing errors and nothing logs — the tooltip simply stops appearing. The host binding also wins over a `[attr.title]` of your own on these hosts, so binding it explicitly does not bring the attribute back.",
141
+ "restore": null,
142
+ "searchHints": [
143
+ "title=",
144
+ "[attr.title]",
145
+ "ds-modal",
146
+ "ds-drawer",
147
+ "ds-toast"
148
+ ],
149
+ "detect": [
150
+ "ds-accordion-item",
151
+ "ds-alert",
152
+ "ds-banner",
153
+ "ds-bottom-sheet",
154
+ "ds-drawer",
155
+ "ds-empty-state",
156
+ "ds-list-item",
157
+ "ds-modal",
158
+ "ds-modal-card",
159
+ "ds-page-header",
160
+ "ds-toast"
161
+ ],
162
+ "verify": "Hovering one of these components raises no browser tooltip naming the component, and any tooltip you did want is still shown from its wrapper, its projected child or `dsTooltip`.",
163
+ "note": "`title` is a global HTML attribute, so a static `title=\"…\"` fed the input AND stayed in the DOM, making the whole component a native tooltip that named it rather than whatever the pointer rested on."
164
+ },
165
+ {
166
+ "id": "donut-error-message-class-renamed",
167
+ "kind": "class-rename",
168
+ "old": "empty is-error",
169
+ "new": "empty-text is-error",
170
+ "surface": "style",
171
+ "action": "Retarget any rule written against `.empty.is-error` inside `ds-donut-chart` to `.empty-text.is-error`.",
172
+ "appliesWhen": "Only a stylesheet of yours reaching the donut error message by class. The other four charts still use `.empty.is-error` and are unchanged.",
173
+ "pitfall": "Nothing errors — the rule simply stops matching, and the message falls back to the library default.",
174
+ "restore": null,
175
+ "searchHints": [
176
+ "empty is-error",
177
+ ".empty.is-error",
178
+ "is-error"
179
+ ],
180
+ "detect": [
181
+ ".empty.is-error"
182
+ ],
183
+ "verify": "No rule targets `.empty.is-error` within `ds-donut-chart`; the error message still takes your styling.",
184
+ "note": "The error branch moved from a bare paragraph to the same ring-sized box the no-data state uses, so `.empty` is now the wrapper and the message carries `.empty-text`."
185
+ }
186
+ ],
187
+ "informational": [
188
+ "Every DS surface that used to travel on its way in now fades instead. `ds-overlay-pane` — the select, autocomplete, multi-select, date-picker, time-picker, colour-picker, popover, menu-submenu and tooltip panels — plus `ds-alert`, `ds-banner` and `ds-toast` defaulted to `ds-slide-in`, which offsets the surface and slides it into place; they default to `ds-fade-in` now, at the same duration and easing. `ds-drawer` and `ds-bottom-sheet` are unchanged (`ds-slide-edge-in`), and so is `ds-modal` (`ds-scale-in`). Nothing in your code changes. If you want the travel back it is one declaration at the root — `:root { --ds-overlay-enter-keyframes: ds-slide-in; }` — or per surface, `ds-toast { --ds-toast-enter-keyframes: ds-slide-in; }`.",
189
+ "A chart mark now arrives by growing from its own baseline rather than by scaling about its centre: a `ds-column-chart` column grows up out of the category axis, a `ds-bar-chart` row grows out from the value axis, and `ds-donut-chart`, `ds-funnel-chart` and `ds-line-chart` marks fade because they have no baseline to grow from. Nothing in your code changes. `staggerMs` still spaces the arrivals on the four charts whose marks arrive one at a time.",
190
+ "The mark cap on `ds-bar-chart` and `ds-column-chart` is 3px, through a new `--ds-chart-mark-cap-radius` with `--ds-bar-chart-cap-radius` and `--ds-column-chart-cap-radius` over it. The bar's end was a full pill (half the track height) and the column's top was `--radius-sm`, so both change shape slightly. Set the hook to your old value if the pill mattered: `ds-bar-chart { --ds-bar-chart-cap-radius: 6px; }`.",
191
+ "`ds-funnel-chart`'s inter-stage gaps and `ds-bar-chart`'s row gap now belong to the marks either side of them, so a pointer between two marks answers for one of them instead of for nothing. The funnel's gaps look exactly as they did. `ds-bar-chart`'s plot is one full `--ds-bar-chart-row-gap` taller — 20px at the default — because the row gap moved from the list onto each row, giving the first row half a gap above it and the last half a gap below. A test that asserted a pointer between two bars hits neither will now see the nearer one, and a layout pinned to the old plot height needs 20px more.",
192
+ "`ds-line-chart`'s crosshair moved into a group that carries a `translateX`, so following the pointer is one transform rather than an attribute write per shape, and it fades in and out. It is deliberately not transitioned — the crosshair belongs under the pointer. A stylesheet that reached `.category-band` or `.cursor-line` to position them by hand is now positioning them inside that group; the classes themselves are unchanged. A rule that adds a transition to either will make the crosshair lag the pointer.",
193
+ "A chart tooltip closes when the page scrolls. `ds-line-chart` reopens it on the next pointer move; the other four reopen when the pointer leaves a mark and enters one again. It used to stay pinned in space while the chart scrolled away, because CDK's reposition strategy watches `window` and registered `cdkScrollable`s only and misses an app's own `overflow: auto` container.",
194
+ "`ds-chart-legend`'s checkboxes were painting the focus ring at all times rather than under `:focus-visible`, so every legend row looked focused. The component's own rule is gone — the library's global `:where(:focus-visible)` already rings them — and nothing in your code changes. A screenshot test of a chart legend will differ.",
195
+ "The dropdown panel gained `--ds-dropdown-panel-border-color` and `--ds-dropdown-panel-shadow`, and a dropdown option gained `--ds-option-weight`, `--ds-option-font-size`, `--ds-option-line-height` and `--ds-option-font-family`. Each defaults to the value that was hardcoded before, and each forwards from the host onto the portaled pane like the panel tokens already there, so one picker can be retyped without a global rule (delete list: deep-option-type-rule).",
196
+ "`ds-modal` gained `--ds-modal-title-font-family`, defaulting to `--font-heading`. It is the one title property that had no hook, which is why a display face needed the doubled `.title.title` selector (delete list: modal-title-doubled-class).",
197
+ "`ds-table`'s pagination footer insets from `--ds-table-cell-pad-left` and `--ds-table-cell-pad-right` when they are set, falling back to `--ds-table-cell-pad-x` as before. A table using only `-x` is unchanged; one with a per-side gutter gets a footer that lines up with column one instead of sitting at the default (delete list: table-pagination-footer-local-inset). One case is not closed: `density=\"compact\"` retunes the cells' padding on the table element and the footer is that element's sibling, so a compact table setting no `--ds-table-cell-pad-*` has 12px cells under a 16px footer.",
198
+ "Fading the marks that are not singled out is now the `dimOthers` input rather than something `interactive` brought with it, and it is OFF by default on all five charts. On `ds-bar-chart`, `ds-column-chart`, `ds-donut-chart` and `ds-funnel-chart` the pointer or focus picks the mark; `ds-line-chart` has no mark between two readings, so its fade follows the legend's highlight. The fade costs the separation between the faded marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full opacity to 2.1 at the default dim opacity — so it is a trade to make deliberately. A chart that had it back: `<ds-donut-chart interactive dimOthers …>`.",
199
+ "Every chart holds the height of its plot while it shows a message — empty data, an error, or a legend that switched the last series off. What reserves that height differs: `ds-column-chart` and `ds-line-chart` use `--ds-column-chart-plot-height` / `--ds-line-chart-plot-height`, `ds-donut-chart` uses `--ds-donut-chart-size`, and `ds-bar-chart` and `ds-funnel-chart` reserve three rows or stages — so a bar chart that normally draws ten rows still shrinks to that reserve. A layout that relied on a chart collapsing to a line of text in those states will now see a reserved box.",
200
+ "A chart tooltip's default content carries a second line per reading, for what the chart does not already print beside the mark: the mark's share of the total on `ds-bar-chart` and `ds-column-chart`, and the drop into the stage on `ds-funnel-chart`. A mark whose value is zero or negative gets no second line. `ds-donut-chart` carries none — its panel and its legend both already print the percentage. `ChartTooltipEntry` takes an optional `detail` for it. A projected `#dsChartTooltip` template is unaffected — it replaces the panel's contents entirely.",
201
+ "The dropdown panel's hooks all forward from the host onto the portaled pane per instance, the two new ones included — `--ds-dropdown-panel-border-color`, `--ds-dropdown-panel-shadow`, `--ds-option-weight`, `--ds-option-font-size`, `--ds-option-line-height` and `--ds-option-font-family` join `--ds-dropdown-panel-bg-color`, `--ds-dropdown-panel-minw`, `--ds-dropdown-panel-maxw`, `--ds-option-selected-bg-color`, `--ds-option-selected-label-color`, `--ds-option-selected-bg-color-hover` and `--ds-option-check-color`. Setting any of them on one picker reaches that picker's pane with no global rule.",
202
+ "`staggerMs` on `ds-donut-chart` has no effect. The ring fades as one object — arcs share their edges, and fading them one at a time shows the background through every seam — so there is nothing for a per-mark step to stagger. The input stays for parity with the other four charts.",
203
+ "A legend's colour chips now fade in with the marks they name, on the same curve and delay: `ds-chart-legend`'s swatch and, where the legend toggles, its checkbox; `ds-donut-chart`'s legend swatch; and `ds-funnel-chart`'s stage-table swatch. They used to be solid from the first frame. Nothing in your code changes; a screenshot test that captures a chart mid-entrance will differ.",
204
+ "`ds-donut-chart`'s error state holds the ring's height instead of collapsing to a line of text, matching the no-data state. The message element carries `empty-text is-error` where it carried `empty is-error`, so a rule written against `.empty.is-error` inside this chart no longer matches it.",
205
+ "The internal `describeStanding` is renamed: the internal `describeShare` replaces it, returning the share alone with no rank clause, and returning an empty string for a zero or negative reading. Neither name is exported from the package root — `@ids-group-ltd/ids-design-system/components` exports them — so only code reaching in through that specifier has an import to rename."
206
+ ],
207
+ "deleteList": [
208
+ {
209
+ "id": "deep-option-type-rule",
210
+ "surface": "style",
211
+ "find": [
212
+ ".ds-overlay-pane .dropdown-panel .option"
213
+ ],
214
+ "why": "the row's weight, size, line-height and family are public hooks that forward per instance, so no deep selector is needed",
215
+ "replaceWith": "`--ds-option-weight`, `--ds-option-font-size`, `--ds-option-line-height` and `--ds-option-font-family`"
216
+ },
217
+ {
218
+ "id": "modal-title-doubled-class",
219
+ "surface": "style",
220
+ "find": [
221
+ "ds-modal .title.title"
222
+ ],
223
+ "why": "the title reads a family hook, so the class no longer has to be doubled to out-specify the component's own rule",
224
+ "replaceWith": "`--ds-modal-title-font-family`"
225
+ },
226
+ {
227
+ "id": "table-pagination-footer-local-inset",
228
+ "surface": "style",
229
+ "find": [
230
+ ".pagination-footer"
231
+ ],
232
+ "why": "the footer resolves the same per-side chain the cells do, so it lines up with column one on its own — except under `density=\"compact\"`, where the density retunes the cells on the table element and the footer is that element's sibling",
233
+ "replaceWith": "nothing on a default-density table; on a compact one either set `--ds-table-cell-pad-x: var(--space-3)` on the table or keep the rule, because the footer is otherwise 4px wider than the cells"
234
+ }
235
+ ]
236
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ids-group-ltd/ids-design-system",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "IDS Group Angular design system: components, tokens, themes",
5
5
  "license": "MIT",
6
6
  "homepage": "https://ids-ds.proto.ids-group.co.uk/",
@@ -51,3 +51,18 @@
51
51
  }
52
52
  }
53
53
  }
54
+
55
+ // Every state a chart can be in occupies the same box. A chart that shrinks to a line of text when
56
+ // its data is empty, its request failed, or its legend switched the last series off drags the whole
57
+ // page up under the reader's cursor — and the state they are being told about is exactly the moment
58
+ // they are least able to afford the jump. `$height` is the plot the message stands in for.
59
+ @mixin message-box($height) {
60
+ .empty {
61
+ display: grid;
62
+ place-items: center;
63
+ min-block-size: $height;
64
+ margin: 0;
65
+ color: var(--text-secondary);
66
+ text-align: center;
67
+ }
68
+ }
@@ -8,10 +8,14 @@
8
8
 
9
9
  // `.is-dimmed` alone, for a mark whose highlight only ever comes from outside — a legend, or a
10
10
  // consumer. A line has no mark between two readings, so it has no `:hover` half to derive.
11
- @mixin dims($mark) {
11
+ //
12
+ // `$also` is how a mark adds its OWN animated properties to the same declaration — a second
13
+ // `transition` on the same selector replaces this one rather than adding to it, and the fade then
14
+ // disappears with nothing reporting it. Pass a leading comma: `', fill 180ms ease'`.
15
+ @mixin dims($mark, $also: '') {
12
16
  #{$mark} {
13
17
  transition: opacity var(--ds-motion-chart-state-duration)
14
- var(--ds-motion-chart-state-easing);
18
+ var(--ds-motion-chart-state-easing) #{$also};
15
19
  }
16
20
 
17
21
  #{$mark}.is-dimmed {
@@ -22,12 +26,19 @@
22
26
  // Include on the CONTAINER, never on the mark: `:has()` asks the container whether anything inside
23
27
  // it is hovered, which is what lets a pointer highlight work with no component state.
24
28
  //
29
+ // Gated on `.dims-others`, which the chart puts on the container from its `dimOthers` input. Off by
30
+ // default, because dimming is not free: measured 2026-09-13, OKLab dE x100, the worst pair of three
31
+ // dimmed series falls from 14.8 at full opacity to 2.1 at 30%. It buys loudness for the mark under
32
+ // the pointer and pays for it with the reader's ability to tell the REST of the chart apart, which
33
+ // is a trade a consumer should make deliberately rather than inherit.
34
+ //
25
35
  // Usage: `.columns { @include chart-interactive.fades('.column'); }`
26
- @mixin fades($mark) {
27
- @include dims($mark);
36
+ @mixin fades($mark, $also: '') {
37
+ @include dims($mark, $also);
28
38
 
29
- &:has(#{$mark}.interactive:hover) #{$mark}.interactive:not(:hover),
30
- &:has(#{$mark}.interactive:focus-visible)
39
+ &.dims-others:has(#{$mark}.interactive:hover)
40
+ #{$mark}.interactive:not(:hover),
41
+ &.dims-others:has(#{$mark}.interactive:focus-visible)
31
42
  #{$mark}.interactive:not(:focus-visible) {
32
43
  opacity: var(--ds-chart-dim-opacity);
33
44
  }