@ids-group-ltd/ids-design-system 1.0.2 → 1.0.3

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.
@@ -0,0 +1,15 @@
1
+ {
2
+ "version": "1.0.3",
3
+ "items": [],
4
+ "informational": [
5
+ {
6
+ "text": "A `ds-table` header button (sort or definition term) takes a pointer target at least `--hit-xs` tall through a transparent `::before`; its focus ring stays on the label.",
7
+ "verify": "Point just above the text of a sortable `ds-table` header: the pointer becomes a hand a few pixels before it reaches the letters, and a click there sorts the column."
8
+ },
9
+ {
10
+ "text": "A `ds-avatar` whose `imageUrl` fails to load shows `initials`, or `fallbackIcon`, in place of the image until `imageUrl` changes; a new URL is tried again.",
11
+ "verify": "Bind `imageUrl` to an address that answers 404 on a `ds-avatar` with `initials`: the initials are drawn on the tint, and binding a working URL afterwards shows the image."
12
+ }
13
+ ],
14
+ "deleteList": []
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ids-group-ltd/ids-design-system",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
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/",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.2",
2
+ "version": "1.0.3",
3
3
  "tokens": [
4
4
  "--ds-accordion-body-padding",
5
5
  "--ds-accordion-body-text-color",
@@ -15,7 +15,8 @@ declare class AvatarComponent {
15
15
  /** Replaces the rule turning `name` into initials. Falls back to
16
16
  * `DS_CONFIG.avatar.initials`, then to `initialsFrom` (first two words, Latin script). */
17
17
  readonly initialsRule: _angular_core.InputSignal<((name: string) => string) | null>;
18
- /** Image source; shown before `initials` or `fallbackIcon` when set. */
18
+ /** Image source; shown before `initials` or `fallbackIcon` when set. An image that fails to
19
+ * load falls back to them until the URL changes. */
19
20
  readonly imageUrl: _angular_core.InputSignal<string | null>;
20
21
  /** Accessible name. When omitted, the avatar is decorative (hidden from AT). */
21
22
  readonly ariaLabel: _angular_core.InputSignal<string | null>;
@@ -37,6 +38,7 @@ declare class AvatarComponent {
37
38
  readonly avoidHues: _angular_core.InputSignal<readonly (readonly [number, number])[]>;
38
39
  private readonly config;
39
40
  protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
41
+ protected readonly imageFailed: _angular_core.WritableSignal<boolean>;
40
42
  protected readonly initialsText: _angular_core.Signal<string>;
41
43
  protected readonly tintStyle: _angular_core.Signal<{
42
44
  bg: string | null;