@ids-group-ltd/ids-design-system 0.12.0 → 0.12.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 (158) hide show
  1. package/CHANGELOG.md +322 -52
  2. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +2 -2
  3. package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
  4. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -2
  5. package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
  6. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +2 -2
  7. package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
  8. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +2 -2
  9. package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
  10. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +2 -2
  11. package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
  12. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +2 -2
  13. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
  14. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +2 -2
  15. package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
  16. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +2 -2
  17. package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
  18. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
  19. package/fesm2022/ids-group-ltd-ids-design-system-components-banner.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-breadcrumbs.mjs +2 -2
  23. package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
  24. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +2 -2
  25. package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
  26. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +2 -2
  27. package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
  28. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +2 -2
  29. package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
  30. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +2 -2
  31. package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
  32. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +2 -2
  33. package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
  34. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +2 -2
  35. package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
  36. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +2 -2
  37. package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
  38. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +2 -2
  39. package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
  40. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +2 -2
  41. package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
  42. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
  43. package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
  44. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +2 -2
  45. package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
  46. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +2 -2
  47. package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
  48. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +2 -2
  49. package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
  50. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
  51. package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
  52. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -2
  53. package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
  54. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +2 -2
  55. package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -1
  56. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +12 -5
  57. package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
  58. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +6 -6
  59. package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
  60. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +2 -2
  61. package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
  62. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +2 -2
  63. package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
  64. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
  65. package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
  66. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +2 -2
  67. package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
  68. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +2 -2
  69. package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -1
  70. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +2 -2
  71. package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
  72. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +21 -8
  73. package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
  74. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +2 -2
  75. package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
  76. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +2 -2
  77. package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
  78. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +2 -2
  79. package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
  80. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +2 -2
  81. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
  82. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +6 -6
  83. package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
  84. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +2 -2
  85. package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
  86. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -2
  87. package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
  88. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +15 -5
  89. package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
  90. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +2 -2
  91. package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
  92. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
  93. package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
  94. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +2 -2
  95. package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
  96. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +440 -0
  97. package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -0
  98. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +186 -0
  99. package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -0
  100. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs +227 -0
  101. package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -0
  102. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +223 -432
  103. package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
  104. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +2 -2
  105. package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
  106. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +2 -2
  107. package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
  108. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +2 -2
  109. package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
  110. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +4 -4
  111. package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
  112. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +2 -2
  113. package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
  114. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +9 -7
  115. package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
  116. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -2
  117. package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
  118. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +2 -2
  119. package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
  120. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +2 -2
  121. package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
  122. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +12 -4
  123. package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
  124. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +2 -38
  125. package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
  126. package/fesm2022/ids-group-ltd-ids-design-system.mjs +3 -0
  127. package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
  128. package/migrations/0.10.0.json +1 -1
  129. package/migrations/0.10.1.json +1 -1
  130. package/migrations/0.10.2.json +1 -30
  131. package/migrations/0.11.1.json +0 -23
  132. package/migrations/0.11.3.json +1 -1
  133. package/migrations/0.11.4.json +27 -7
  134. package/migrations/0.12.1.json +215 -0
  135. package/migrations/0.5.0.json +0 -54
  136. package/migrations/0.5.1.json +3 -1
  137. package/migrations/0.7.0.json +0 -11
  138. package/migrations/0.9.0.json +22 -3
  139. package/migrations/0.9.1.json +1 -1
  140. package/package.json +25 -1
  141. package/styles/_check-box.scss +84 -0
  142. package/styles/_check-mark.scss +59 -0
  143. package/styles/_dropdown-overlay.scss +12 -2
  144. package/styles/_field-group-segment.scss +4 -1
  145. package/styles/_focus.scss +103 -50
  146. package/styles/_link.scss +4 -2
  147. package/styles/_tokens.scss +20 -0
  148. package/styles/_typography.scss +6 -0
  149. package/themes/_semantic.scss +7 -8
  150. package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +3 -0
  151. package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +8 -4
  152. package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +3 -2
  153. package/types/ids-group-ltd-ids-design-system-components-table-columns.d.ts +43 -0
  154. package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +48 -0
  155. package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +79 -0
  156. package/types/ids-group-ltd-ids-design-system-components-table.d.ts +179 -155
  157. package/types/ids-group-ltd-ids-design-system-core.d.ts +12 -4
  158. package/types/ids-group-ltd-ids-design-system.d.ts +3 -0
@@ -1,8 +1,11 @@
1
+ @use 'focus' as focus;
2
+
1
3
  // GLOBAL because the panel is portaled via CDK Overlay outside the host
2
4
  // component's DOM tree, so emulated encapsulation (and any `:host ::ng-deep`
3
5
  // selector) cannot reach it. The component sets `panelClass: 'ds-dropdown-panel'`
4
6
  // on the overlay config; this partial declares the matching rules.
5
7
 
8
+ @use 'check-mark' as check-mark;
6
9
  @use 'text-clip' as text-clip;
7
10
  @use 'visually-hidden' as visually-hidden;
8
11
 
@@ -140,11 +143,19 @@
140
143
  @include visually-hidden.visually-hidden;
141
144
  }
142
145
 
146
+ // Persistent, not rendered only when selected: an element that does not exist has no resting
147
+ // state to transition from, which is why this was the one selection mark that popped in.
143
148
  .option-check {
149
+ @include check-mark.mark;
150
+
144
151
  color: var(--_option-check-color);
145
152
  flex: 0 0 auto;
146
153
  }
147
154
 
155
+ .option-check.is-shown {
156
+ @include check-mark.shown;
157
+ }
158
+
148
159
  &:disabled {
149
160
  color: var(--text-disabled);
150
161
  cursor: not-allowed;
@@ -166,8 +177,7 @@
166
177
  }
167
178
 
168
179
  &:focus-visible {
169
- outline: none;
170
- box-shadow: var(--ds-control-focus-shadow);
180
+ @include focus.ring(calc(-1 * var(--focus-ring-width)));
171
181
  }
172
182
 
173
183
  &.is-selected {
@@ -1,3 +1,5 @@
1
+ @use 'focus' as focus;
2
+
1
3
  // `display: flex` on the host is load-bearing: the group stretches the host, but a
2
4
  // block host gives the box no height to resolve a percentage against, and the value
3
5
  // ends up at the top of the row instead of its centre.
@@ -23,7 +25,8 @@
23
25
  &:focus-within {
24
26
  border: 0;
25
27
  box-shadow: none;
26
- outline: 0;
28
+
29
+ @include focus.own-indicator;
27
30
  }
28
31
 
29
32
  /* No blanket reset here on purpose: the block above clears the segment BOX and
@@ -1,19 +1,78 @@
1
1
  // Focus-indicator style, switched in ONE place: `<html data-focus="…">`.
2
2
  //
3
- // Two families — a soft halo on fields (`--focus-field`), a crisp double ring on
4
- // controls (`--focus-ring`) — and every component resolves through the
5
- // `--ds-field-focus-shadow` / `--ds-control-focus-shadow` roles, so a brand-wide
6
- // switch only has to retarget two roles. No attribute keeps the default split.
3
+ // Two families, two mechanisms, because one property cannot give both:
4
+ // controls — an `outline`, drawn by the `ring` mixin off `--focus-ring-width`
5
+ // / `--focus-ring-color` / `--focus-ring-offset`;
6
+ // fields — a soft halo, resolved through the `--ds-field-focus-shadow` role.
7
+ //
8
+ // An outline is what the control family needs: `outline-offset` leaves its gap
9
+ // UNPAINTED, so the ring floats over whatever the control actually sits on, while a
10
+ // shadow gap has to be filled with a guessed colour that is a coloured rim everywhere
11
+ // the guess is wrong. A negative offset draws the ring inside the element, where an
12
+ // `overflow` ancestor cannot clip it.
7
13
 
8
- // Catches anything focusable that styles nothing itself, so it cannot fall through to
9
- // the browser default.
14
+ // The control indicator.
15
+ //
16
+ // Does NOT touch box-shadow, so a focused card keeps its elevation. Where a state paints its
17
+ // own shadow on the same element, that one still has to yield — `state-shadow` below, and its
18
+ // conditions.
10
19
  //
11
- // CONSEQUENCE inside a shell that rings on `:focus-within`: the shell must silence
12
- // the control, and `outline: 0` cannot do it because what this sets is a SHADOW.
13
- // Leave it and the field paints two rings. `owns-the-focus-ring` below is the reset.
20
+ // Usage — @include inside the element's own `&:focus-visible` block:
21
+ // @use '../../styles/focus' as focus;
22
+ // &:focus-visible { @include focus.ring; }
23
+ // &:focus-visible { @include focus.ring(calc(-1 * var(--focus-ring-offset))); } // clipped
24
+ @mixin ring($offset: var(--focus-ring-offset)) {
25
+ outline: var(--focus-ring-width) solid var(--focus-ring-color);
26
+ outline-offset: $offset;
27
+
28
+ // An ANIMATION, not a transition, and the distinction is load-bearing. `transition` is one
29
+ // property: 46 component stylesheets declare their own list, and whichever rule wins REPLACES
30
+ // the other's entirely — a transition here would silently drop the component's background and
31
+ // border easing for as long as the element held focus. `animation` is a separate property that
32
+ // nothing else on a focusable element sets, so both survive.
33
+ //
34
+ // Colour only: animating `outline-offset` makes the ring lag the caret on a fast Tab, and the
35
+ // indicator is a keyboard user's only signal of where they are.
36
+ animation: ds-focus-ring-in var(--duration-fast) var(--ease-standard);
37
+ }
38
+
39
+ // Catches anything focusable that styles nothing itself, so it cannot fall through to
40
+ // the browser default. Same mechanism as `ring`, so a shell that rings on `:focus-within`
41
+ // silences its control with `owns-the-focus-ring` and no second ring appears.
14
42
  :where(:focus-visible) {
15
- outline: none;
16
- box-shadow: var(--ds-control-focus-shadow);
43
+ @include ring;
44
+ }
45
+
46
+ // Only the FROM value is declared: the to-value is whatever the ring resolves to on that element,
47
+ // so one keyframe serves every colour, width and offset the tokens can take.
48
+ @keyframes ds-focus-ring-in {
49
+ from {
50
+ outline-color: transparent;
51
+ }
52
+ }
53
+
54
+ // A shell that rings on its control's behalf: the whole contract in one call.
55
+ //
56
+ // The SELECTOR is the reason this exists. `:focus-within` is the obvious spelling and it is wrong
57
+ // here — it matches a POINTER focus too, and a checkbox or radio is not granted `:focus-visible`
58
+ // on click, so a clicked control kept its ring until focus moved away. `:has(:focus-visible)` asks
59
+ // the question that was meant: is something inside focused THE WAY A KEYBOARD FOCUSES IT. Written
60
+ // per component, that choice was got wrong once and would be got wrong again.
61
+ //
62
+ // It also silences $control, because a shell that rings without silencing paints two rings — the
63
+ // other half of the same contract, and the reason `tools/check-focus-rings.mjs` exists. One call
64
+ // cannot forget the half the other is checking for.
65
+ //
66
+ // NOT for a field shell: those ring with the `--ds-field-focus-shadow` halo, and `:focus-within`
67
+ // is correct there because clicking into a text input DOES grant it `:focus-visible`.
68
+ //
69
+ // Usage: `.control-line { @include focus.ring-for('.check'); }`
70
+ @mixin ring-for($control, $offset: var(--focus-ring-offset)) {
71
+ &:has(:focus-visible) {
72
+ @include ring($offset);
73
+ }
74
+
75
+ @include owns-the-focus-ring($control);
17
76
  }
18
77
 
19
78
  // `$control` names ONE control and must never be a blanket: a box-wide reset also
@@ -21,74 +80,68 @@
21
80
  // then tabbing from the field to that button changes nothing on screen.
22
81
  @mixin owns-the-focus-ring($control) {
23
82
  #{$control}:where(:focus-visible) {
24
- box-shadow: none;
83
+ @include own-indicator;
25
84
  }
26
85
  }
27
86
 
28
- // The indicator for something that must ring with an `outline` rather than the shadow — a
29
- // row inside a clipping list, a swatch in a grid — where the outset halo is eaten by the
30
- // `overflow` ancestor.
87
+ // Turns the base indicator off, for a control whose SHELL rings on its behalf.
31
88
  //
32
- // `box-shadow: none` is the load-bearing line: the blanket rule above still paints, so five
33
- // components drew BOTH, an accent halo outside and their own outline inside it.
89
+ // The media query is the whole point and a bare `outline: none` is the bug it replaces.
90
+ // Forced colours drops `box-shadow` entirely, so a field whose shell rings with the halo
91
+ // has nothing left once the control is silenced — the one mode where an indicator is
92
+ // mandatory is the one where it disappeared. Skipping the suppression there costs a
93
+ // second ring in a palette the author does not control anyway, which is the cheaper wrong.
94
+ @mixin own-indicator {
95
+ @media not (forced-colors: active) {
96
+ outline: none;
97
+ }
98
+ }
99
+
100
+ // For a persistent state — selected, active, current — that paints its own box-shadow on
101
+ // the element that also carries the focus ring. One property cannot hold both, so the
102
+ // later rule wins and one signal vanishes silently; this hands the ring the tie by
103
+ // intent rather than by line order.
34
104
  //
35
- // Usage — @include inside the element's own `&:focus-visible` block:
36
- // @use '../../styles/focus' as focus;
37
- // &:focus-visible { @include focus.outline-indicator(calc(-1 * var(--border-width-strong))); }
38
- @mixin outline-indicator($offset: var(--focus-ring-offset)) {
39
- outline: var(--border-width-strong) solid var(--focus-ring-color);
40
- outline-offset: $offset;
41
- box-shadow: none;
105
+ // Only for a state whose OTHER properties keep it identifiable while focused (a fill, a
106
+ // label colour). A state carried by the shadow ALONE must not use it — the state would
107
+ // go unreadable exactly while the user stands on it.
108
+ //
109
+ // Usage: `&.active { @include focus.state-shadow(inset 3px 0 0 var(--_rail)); }`
110
+ @mixin state-shadow($shadow) {
111
+ &:not(:focus-visible) {
112
+ box-shadow: $shadow;
113
+ }
42
114
  }
43
115
 
116
+ // Fields ring like controls: the halo role is retargeted at the ring token so both
117
+ // families read the same colour and thickness.
44
118
  :root[data-focus='ring'] {
45
119
  --ds-field-focus-shadow: var(--focus-ring);
46
120
  --ds-field-focus-shadow-error: var(--focus-ring-error);
47
121
  }
48
122
 
49
- :root[data-focus='field'] {
50
- --ds-control-focus-shadow: var(--focus-field);
51
- --ds-control-focus-shadow-error: var(--focus-field-error);
52
- }
53
-
123
+ // Hairline flush against the element — no gap in either family.
54
124
  :root[data-focus='edge'] {
125
+ --focus-ring-offset: 0px;
55
126
  --ds-field-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);
56
127
  --ds-field-focus-shadow-error: 0 0 0 var(--border-width-default) var(--error);
57
- --ds-control-focus-shadow: 0 0 0 var(--border-width-default) var(--primary);
58
- --ds-control-focus-shadow-error: 0 0 0 var(--border-width-default)
59
- var(--error);
60
128
  }
61
129
 
62
130
  // The one style NOT pinned to :root, because a clipping ancestor is a local problem:
63
131
  // set it on the clipping element and everything inside keeps an indicator.
64
132
  [data-focus='inset'] {
133
+ --focus-ring-offset: calc(-1 * var(--focus-ring-width));
65
134
  --ds-field-focus-shadow: var(--focus-ring-inset);
66
135
  --ds-field-focus-shadow-error: var(--focus-ring-inset-error);
67
- --ds-control-focus-shadow: var(--focus-ring-inset);
68
- --ds-control-focus-shadow-error: var(--focus-ring-inset-error);
69
- }
70
-
71
- :root[data-focus='outline'] {
72
- --ds-field-focus-shadow: none;
73
- --ds-field-focus-shadow-error: none;
74
- --ds-control-focus-shadow: none;
75
- --ds-control-focus-shadow-error: none;
76
- }
77
-
78
- // The only style that emits a rule of its own: an `outline` cannot be carried by a
79
- // box-shadow token, so the roles go to `none` above and this draws the indicator.
80
- :root[data-focus='outline'] :where(:focus-visible) {
81
- outline: var(--border-width-strong) solid var(--primary);
82
- outline-offset: var(--focus-ring-offset);
83
136
  }
84
137
 
85
138
  // Not part of the switch — it applies under every style, because Windows High
86
- // Contrast DROPS box-shadow and a shadow-only indicator vanishes there completely.
139
+ // Contrast DROPS box-shadow and the field family's halo vanishes there completely.
87
140
  @media (forced-colors: active) {
88
141
  // CanvasText, not a brand colour: the palette is replaced, and a system keyword is
89
142
  // the only value guaranteed to contrast with the forced background.
90
143
  :where(:focus-visible) {
91
- outline: var(--border-width-strong) solid CanvasText;
144
+ outline: var(--focus-ring-width) solid CanvasText;
92
145
  outline-offset: var(--focus-ring-offset);
93
146
  }
94
147
  }
package/styles/_link.scss CHANGED
@@ -1,3 +1,5 @@
1
+ @use 'focus' as focus;
2
+
1
3
  /* Global .link helper — pure CSS class (no Angular wrapper) so consumers
2
4
  can apply it to inline anchors inside <p> text without disrupting line
3
5
  flow. Modifiers: .quiet, .inline, .standalone, .xs, .sm, .lg. */
@@ -28,8 +30,8 @@
28
30
  }
29
31
 
30
32
  &:focus-visible {
31
- outline: none;
32
- box-shadow: var(--ds-control-focus-shadow);
33
+ @include focus.ring;
34
+
33
35
  border-radius: var(--radius-sm);
34
36
  text-decoration-color: var(--_link-color);
35
37
  }
@@ -61,6 +61,10 @@
61
61
  --border-width-default: 1px;
62
62
  --border-width-strong: 2px;
63
63
 
64
+ /* 2px is the floor WCAG 2.4.13 measures against, and only the CONTRASTING part counts —
65
+ an indicator whose 2px is half gap does not meet it. The offset is a real gap: the
66
+ outline is not painted there, so whatever the control sits on shows through. */
67
+ --focus-ring-width: 2px;
64
68
  --focus-ring-offset: 2px;
65
69
 
66
70
  /* Shadows are composed from a channel-split tint so a theme can re-colour them:
@@ -148,6 +152,15 @@
148
152
  --ds-motion-exit-large-duration: var(--duration-base);
149
153
  --ds-motion-exit-large-easing: var(--ease-accelerate);
150
154
 
155
+ /* The check mark landing in a box. Its own role because the mark overshoots and
156
+ nothing else at this scale does: --ease-spring exists for exactly this and is
157
+ documented as sparing. Enter and exit differ so the mark leaves faster than it
158
+ arrives, which is what makes the overshoot read as weight rather than as lag. */
159
+ --ds-motion-check-enter-duration: var(--duration-base);
160
+ --ds-motion-check-enter-easing: var(--ease-spring);
161
+ --ds-motion-check-exit-duration: var(--duration-fast);
162
+ --ds-motion-check-exit-easing: var(--ease-accelerate);
163
+
151
164
  --opacity-disabled: 0.5;
152
165
  --opacity-text-disabled: 0.38; /* WCAG-derived */
153
166
  --opacity-scrim: 0.55;
@@ -238,6 +251,13 @@
238
251
  /* Two focus families: fields get the soft halo, interactive controls and nav
239
252
  the crisp ring. Components default their own --ds-*-focus-shadow to these,
240
253
  so a consumer can retune a whole family or a single component. */
254
+
255
+ /* The flat tokens, NOT the --accent-focus-* aliases, and that is not an oversight — see
256
+ docs/todo.md, "zone colour and data-focus shape cannot both reach one role". A `var()`
257
+ inside a custom property is substituted where that property is DECLARED, so anything
258
+ written here is frozen with :root's inputs and a ds-color zone can never reach it. A zone
259
+ changing the colour and the switch changing the shape are therefore mutually exclusive at
260
+ this indirection; the switch wins here because it is the documented one. */
241
261
  --ds-field-focus-shadow: var(--focus-field);
242
262
  --ds-field-focus-shadow-error: var(--focus-field-error);
243
263
  --ds-control-focus-shadow: var(--focus-ring);
@@ -139,6 +139,10 @@
139
139
  }
140
140
 
141
141
  .t-mono {
142
+ // JetBrains Mono ligates operators by default, so `===` paints as one triple-bar glyph
143
+ // and `!=` as a struck equals: prose that NAMES an operator then shows something other
144
+ // than the characters it discusses. Set --ds-t-mono-ligatures to `normal` to get them back.
145
+ font-variant-ligatures: var(--ds-t-mono-ligatures, none);
142
146
  font-weight: var(--ds-t-mono-font-weight, var(--font-weight-medium));
143
147
  font-size: var(--ds-t-mono-font-size, var(--font-size-mono));
144
148
  line-height: var(--ds-t-mono-line-height, var(--line-height-base));
@@ -146,6 +150,7 @@
146
150
  }
147
151
 
148
152
  .t-mono-inline {
153
+ font-variant-ligatures: var(--ds-t-mono-ligatures, none);
149
154
  font-weight: var(--ds-t-mono-inline-font-weight, var(--font-weight-regular));
150
155
  font-size: var(--ds-t-mono-inline-font-size, var(--font-size-mono));
151
156
  line-height: var(--ds-t-mono-inline-line-height, 1);
@@ -157,6 +162,7 @@
157
162
  }
158
163
 
159
164
  .t-mono-block {
165
+ font-variant-ligatures: var(--ds-t-mono-ligatures, none);
160
166
  font-weight: var(--ds-t-mono-block-font-weight, var(--font-weight-regular));
161
167
  font-size: var(--ds-t-mono-block-font-size, var(--font-size-mono));
162
168
  line-height: var(--ds-t-mono-block-line-height, var(--line-height-loose));
@@ -203,15 +203,14 @@
203
203
 
204
204
  /* Focus rings.
205
205
  Outer halos use hsla() composed from brand/danger HSL channels
206
- so re-skinning --primary-h propagates into focus state.
206
+ so re-skinning --primary-h propagates into focus state. */
207
207
 
208
- The inner halo is TRANSPARENT, not a colour: its job is to separate the ring
209
- from the element, so it has to match whatever is actually behind — which a
210
- named surface only is when nothing intervenes. Painting --surface-canvas here
211
- drew a dark rim around a white card in a dark app, reading as a rendering
212
- artifact rather than a focus state. Transparent costs nothing on a canvas
213
- ground (the same pixels show through) and is correct on every other. */
214
- --focus-ring-inner: transparent;
208
+ /* Separates the two bands of the FIELD halo, and nothing else — controls draw an
209
+ `outline`, whose gap needs no colour at all. It cannot be `transparent`: a transparent
210
+ shadow layer is a no-op, not a hole, so the outer band would show through as one solid
211
+ 4px slab. `--surface-default` and not `--surface-canvas`: a field sits on the surface,
212
+ and painting the page ground here drew a dark rim around a light card. */
213
+ --focus-ring-inner: var(--surface-default);
215
214
  --focus-ring-outer-h: var(--primary-h);
216
215
  --focus-ring-outer-s: var(--primary-s);
217
216
  --focus-ring-outer-l: var(--primary-l);
@@ -4,6 +4,9 @@ import { IconName } from '@ids-group-ltd/ids-design-system/core';
4
4
 
5
5
  declare class MenuComponent {
6
6
  private readonly items;
7
+ /** One item with an icon makes every item reserve the slot, so the labels share one axis. The
8
+ * menu owns the decision because an item would have to know its siblings to take it. */
9
+ protected readonly anyIcon: _angular_core.Signal<boolean>;
7
10
  /** Index of the roving-focus item — the single item reachable via Tab. */
8
11
  private readonly activeIndex;
9
12
  constructor();
@@ -63,7 +63,11 @@ declare class RadioComponent extends DsFieldBase {
63
63
  * When inside `ds-radio-group`, `isChecked()` derives from the group value and
64
64
  * this input is not read. */
65
65
  readonly checked: _angular_core.ModelSignal<boolean>;
66
- /** Disables the radio; a disabled parent `ds-radio-group` also disables it. */
66
+ /** Lets a checked standalone radio be cleared by clicking it again. Off by default, and
67
+ * ignored inside `ds-radio-group`: there a radio is one option of a choice, and clearing it
68
+ * would leave the group with no value through a gesture the group cannot see. */
69
+ readonly deselectable: _angular_core.InputSignalWithTransform<boolean, unknown>;
70
+ /** A disabled parent `ds-radio-group` also disables it, whatever this is set to. */
67
71
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
68
72
  /** Native `name` attribute — overridden by the group's name when inside `ds-radio-group`. */
69
73
  readonly name: _angular_core.InputSignal<string>;
@@ -71,8 +75,7 @@ declare class RadioComponent extends DsFieldBase {
71
75
  readonly value: _angular_core.InputSignal<unknown>;
72
76
  /** Overrides the auto-generated id used for the input and its label's `for`. */
73
77
  readonly inputId: _angular_core.InputSignal<string | null>;
74
- /** Control size — sm/md/lg.
75
- * Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
78
+ /** Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
76
79
  readonly size: _angular_core.InputSignal<DsSize | null>;
77
80
  readonly sizeResolved: _angular_core.Signal<DsSize>;
78
81
  /** Marks the radio required — shows an asterisk on the label and sets `aria-required`. */
@@ -97,9 +100,10 @@ declare class RadioComponent extends DsFieldBase {
97
100
  protected get tabIndexAttr(): 0 | -1;
98
101
  /** Called by the group's keyboard handler to focus this radio's input. */
99
102
  focus(): void;
103
+ protected onClick(): void;
100
104
  protected onSelect(): void;
101
105
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadioComponent, never>;
102
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioComponent, "ds-radio", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, ["*"], true, never>;
106
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioComponent, "ds-radio", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "deselectable": { "alias": "deselectable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, ["*"], true, never>;
103
107
  }
104
108
 
105
109
  export { RADIO_GROUP, RadioComponent, RadioGroupComponent };
@@ -12,6 +12,7 @@ interface SplitButtonItem {
12
12
  }
13
13
 
14
14
  declare class SplitButtonComponent {
15
+ constructor();
15
16
  /** Label text on the main button. */
16
17
  readonly label: _angular_core.InputSignal<string>;
17
18
  /** Visual style — primary (solid) or outline. */
@@ -20,13 +21,13 @@ declare class SplitButtonComponent {
20
21
  readonly icon: _angular_core.InputSignal<IconName | null>;
21
22
  /** Disables both the main button and the dropdown trigger. */
22
23
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
23
- /** Items listed in the dropdown menu. */
24
+ /** Items listed in the dropdown menu. Empty disables the chevron. */
24
25
  readonly menuItems: _angular_core.InputSignal<readonly SplitButtonItem[]>;
25
26
  /** Accessible name for the dropdown trigger. */
26
27
  readonly menuLabel: _angular_core.InputSignal<string>;
27
28
  /** Fires when the main button (not the dropdown trigger) is clicked. */
28
29
  readonly pressed: _angular_core.OutputEmitterRef<MouseEvent>;
29
- /** Fires with the chosen menu item. */
30
+ /** The menu half only — a press on the main button is `pressed`, never this. */
30
31
  readonly itemSelected: _angular_core.OutputEmitterRef<SplitButtonItem>;
31
32
  protected onItemSelect(item: SplitButtonItem): void;
32
33
  protected onTriggerKeydown(event: KeyboardEvent, popover: PopoverComponent, trigger: HTMLElement): void;
@@ -0,0 +1,43 @@
1
+ import * as _angular_core from '@angular/core';
2
+
3
+ /**
4
+ * Showing, hiding and reordering columns for `<ds-table>`, as a directive so a table that does
5
+ * none of it never carries the panel — nor `@angular/cdk/drag-drop`, which comes with the drag
6
+ * handle:
7
+ *
8
+ * ```html
9
+ * <ds-table dsTableColumns [reorderableColumns]="true" [columns]="cols" [data]="rows" />
10
+ * ```
11
+ *
12
+ * Hiding needs no input: a column marked `hideable` becomes hideable the moment this directive is
13
+ * present. `[(hiddenKeys)]` and `[(columnOrder)]` are two-way, so the layout can be driven from
14
+ * the host, and both round-trip through `persistLayout` on the table.
15
+ */
16
+ declare class DsTableColumns<T extends object> {
17
+ private readonly layout;
18
+ /** Adds the drag handle and the move buttons. Hiding works without it. */
19
+ readonly reorderableColumns: _angular_core.InputSignalWithTransform<boolean, unknown>;
20
+ /** Keys the reader has hidden. Unset falls back to the columns' own `hidden` flags. */
21
+ readonly hiddenKeys: _angular_core.ModelSignal<Set<string> | null>;
22
+ /** Column keys in the reader's order. Unset keeps the declaration order. */
23
+ readonly columnOrder: _angular_core.ModelSignal<string[] | null>;
24
+ private readonly coarsePointerState;
25
+ private readonly coarsePointer;
26
+ private readonly effectiveHiddenKeys;
27
+ private readonly declaredColumns;
28
+ private hiddenByDeclaration;
29
+ /** Declaration order with the reader's order applied first, then anything they never moved. */
30
+ private readonly ordered;
31
+ private readonly visible;
32
+ constructor();
33
+ private isVisible;
34
+ /** The last visible column cannot be hidden — an all-hidden grid is useless. */
35
+ private isLocked;
36
+ private toggleColumn;
37
+ private moveColumn;
38
+ private onDrop;
39
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsTableColumns<any>, never>;
40
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DsTableColumns<any>, "[dsTableColumns]", never, { "reorderableColumns": { "alias": "reorderableColumns"; "required": false; "isSignal": true; }; "hiddenKeys": { "alias": "hiddenKeys"; "required": false; "isSignal": true; }; "columnOrder": { "alias": "columnOrder"; "required": false; "isSignal": true; }; }, { "hiddenKeys": "hiddenKeysChange"; "columnOrder": "columnOrderChange"; }, never, never, true, never>;
41
+ }
42
+
43
+ export { DsTableColumns };
@@ -0,0 +1,48 @@
1
+ import * as _angular_core from '@angular/core';
2
+
3
+ /**
4
+ * CSV export for `<ds-table>`, as a directive so a table that does not export never carries the
5
+ * code. Put it on the table and the toolbar grows the button:
6
+ *
7
+ * ```html
8
+ * <ds-table dsTableExport [columns]="cols" [data]="rows" />
9
+ * ```
10
+ *
11
+ * On a server-paged table the table holds one page, so give it the whole set:
12
+ *
13
+ * ```html
14
+ * <ds-table dsTableExport [exportFetcher]="fetchAll" (exportFailed)="report($event)" />
15
+ * ```
16
+ *
17
+ * `table.runExport()` and `table.exporting()` keep working — they delegate to whichever export
18
+ * directive is present, so a button of your own in `[toolbar]` or a page header still drives it.
19
+ * Pass `[dsTableExport]="false"` to keep the code and drop the built-in button.
20
+ */
21
+ declare class DsTableExport<T extends object> {
22
+ private readonly layout;
23
+ /** Renders the built-in toolbar button. `false` keeps the feature and hides the control, for a
24
+ * table whose export is driven from somewhere else on the page. */
25
+ readonly dsTableExport: _angular_core.InputSignalWithTransform<boolean, unknown>;
26
+ readonly exportFilename: _angular_core.InputSignal<string>;
27
+ /** Fetches the rows to export. Without it the export serialises what the table holds, which on
28
+ * a server-paged table is one page. */
29
+ readonly exportFetcher: _angular_core.InputSignal<(() => Promise<readonly T[] | Blob | string>) | null>;
30
+ /** Without it a rejected `exportFetcher` is silent. */
31
+ readonly exportFailed: _angular_core.OutputEmitterRef<unknown>;
32
+ private readonly busy;
33
+ readonly exporting: _angular_core.Signal<boolean>;
34
+ private readonly announcement;
35
+ constructor();
36
+ /** Without `exportFetcher` this serialises only what the table holds, which on a server-paged
37
+ * table is one page. */
38
+ runExport(): Promise<void>;
39
+ /** Serialises the table's visible columns as a CSV download. Pass `rows` to serialise a set you
40
+ * fetched yourself. */
41
+ exportCsv(filename?: string, rows?: readonly T[]): void;
42
+ /** Only a Blob gets its object URL revoked — a URL the caller supplied is theirs to manage. */
43
+ private downloadFile;
44
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsTableExport<any>, never>;
45
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DsTableExport<any>, "[dsTableExport]", never, { "dsTableExport": { "alias": "dsTableExport"; "required": false; "isSignal": true; }; "exportFilename": { "alias": "exportFilename"; "required": false; "isSignal": true; }; "exportFetcher": { "alias": "exportFetcher"; "required": false; "isSignal": true; }; }, { "exportFailed": "exportFailed"; }, never, never, true, never>;
46
+ }
47
+
48
+ export { DsTableExport };
@@ -0,0 +1,79 @@
1
+ import * as i0 from '@angular/core';
2
+
3
+ /**
4
+ * Column resizing for `<ds-table>`, as a directive so a table with fixed columns never carries
5
+ * the drag, the keyboard range widget or the width buttons in the column panel:
6
+ *
7
+ * ```html
8
+ * <ds-table dsTableResize [columns]="cols" [data]="rows" />
9
+ * ```
10
+ *
11
+ * The bare attribute is the whole switch: there is no input to bind, so resizing cannot be toggled
12
+ * by an expression. Seed a width through the column's own `width`, read the live ones through
13
+ * `viewChild(DsTableResize)`, and let `persistLayout` on the table carry them across a reload.
14
+ *
15
+ * The handle's MARKUP stays in the table's header, gated on this directive being present, and so
16
+ * does the width template the column panel renders. Two reasons: a per-column
17
+ * `ViewContainerRef` would cost every header cell of every table a container to save seventeen
18
+ * lines of template, and a directive has no view of its own to declare an `ng-template` in. The
19
+ * bytes here are in the logic, and the logic is all here.
20
+ */
21
+ declare class DsTableResize<T extends object> {
22
+ private readonly layout;
23
+ /** Per-column pixel widths, keyed by column key. Seeded from `column.width` where unset. */
24
+ readonly columnWidths: i0.WritableSignal<Map<string, number>>;
25
+ private resizeState;
26
+ private readonly resizeFocus;
27
+ constructor();
28
+ /** `'content'` is not a pixel value — it is carried by a class instead, see `fitsContent`. */
29
+ private columnWidth;
30
+ private viewport;
31
+ /**
32
+ * The widest a single column may be dragged: the scroll viewport.
33
+ *
34
+ * A column wider than the viewport can never be seen whole, and long text has its own
35
+ * affordance here — `truncate` clips it and the clip popover shows the rest — so nothing is lost
36
+ * by stopping at the edge. The ceiling exists at all because `aria-valuemax` has to be TRUE: a
37
+ * focusable `role="separator"` is a range widget, and announcing a bound that neither resize
38
+ * path applies is worse than announcing none.
39
+ */
40
+ private columnWidthCeiling;
41
+ private clampColumnWidth;
42
+ private onResizeStart;
43
+ /**
44
+ * Freeze the columns at what they currently measure, once, before the first drag moves
45
+ * anything.
46
+ *
47
+ * Without it only the dragged column has a width and the rest are still auto-sized, so the
48
+ * browser redistributes the remainder across them and columns the reader never touched visibly
49
+ * jump. Measuring first means the drag changes one column and leaves the others where they
50
+ * were. Reads the header row that is actually on screen rather than assuming a column order.
51
+ */
52
+ private lockMeasuredWidths;
53
+ private onResizeMove;
54
+ private onResizeEnd;
55
+ private onResizeFocus;
56
+ /**
57
+ * The separator's range, and only while it holds focus — that is when a range widget is
58
+ * announced, and an auto-sized column has no width to report until something measures one.
59
+ * Measuring on every change detection to fill an attribute nothing is reading would force
60
+ * layout once per resizable column.
61
+ *
62
+ * `now` prefers the known width, which the first arrow key makes known and keeps live; the
63
+ * focus measurement only covers the moment before that.
64
+ */
65
+ private resizeRange;
66
+ private resolvedColumnWidth;
67
+ private onResizeKey;
68
+ /**
69
+ * The header cell is passed when the caller has it — the column panel does not, so it is looked
70
+ * up by `data-col-key`, and the measurement matters: stepping an auto-sized column has to start
71
+ * from what it currently RENDERS, not from the minimum.
72
+ */
73
+ private stepColumnWidth;
74
+ private headerCellFor;
75
+ static ɵfac: i0.ɵɵFactoryDeclaration<DsTableResize<any>, never>;
76
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DsTableResize<any>, "[dsTableResize]", never, {}, {}, never, never, true, never>;
77
+ }
78
+
79
+ export { DsTableResize };