@truenas/ui-components 0.6.2 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truenas/ui-components",
3
- "version": "0.6.2",
3
+ "version": "0.7.0",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org",
6
6
  "access": "public"
@@ -4736,6 +4736,12 @@ declare class TnRadioComponent implements AfterViewInit, OnDestroy, ControlValue
4736
4736
  name: _angular_core.InputSignal<string | undefined>;
4737
4737
  disabled: _angular_core.InputSignal<boolean>;
4738
4738
  required: _angular_core.InputSignal<boolean>;
4739
+ /**
4740
+ * Test-id base. The element type this composes with is `radio-button`, not `radio`: the id
4741
+ * identifies one radio BUTTON within a `radio-group`, matching the `radio-group`/`radio-button`
4742
+ * pair every other grouped control in this library uses (`button-toggle-group`/`button-toggle`).
4743
+ * So `testId="email"` yields `radio-button-email`.
4744
+ */
4739
4745
  testId: _angular_core.InputSignal<TnTestIdValue>;
4740
4746
  /** Test-id base, falling back to the bound control name when `testId` is unset. */
4741
4747
  protected resolvedTestId: _angular_core.Signal<TnTestIdValue>;
@@ -5002,7 +5008,7 @@ declare class TnRadioGroupComponent<T = unknown> implements ControlValueAccessor
5002
5008
  /**
5003
5009
  * Test-id base for the group and, scoped by the option label, for every option rendered from
5004
5010
  * `options`: base `encryption` yields `radio-group-encryption` on the group and
5005
- * `radio-encryption-passphrase` on its options. Falls back to the bound control name.
5011
+ * `radio-button-encryption-passphrase` on its options. Falls back to the bound control name.
5006
5012
  *
5007
5013
  * Projected `<tn-radio>` children keep their own test-id resolution — the group does not reach
5008
5014
  * into content it did not render — so give each one a `testId` of its own.