uhc-portal-components-react 0.1.38 → 0.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/ClinicalSpeechInput.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.1.39
|
|
6
|
+
|
|
7
|
+
- Keep clinical field labels unique to their inputs when speech controls are
|
|
8
|
+
rendered. Microphone buttons now expose only their action as the accessible
|
|
9
|
+
name while retaining the target field in the hover title.
|
|
10
|
+
|
|
5
11
|
## 0.1.38
|
|
6
12
|
|
|
7
13
|
- Add a brand-neutral subject communication center that merges messages,
|
|
@@ -79,5 +79,5 @@ export function ClinicalSpeechInputButton({ resourceType, claim, locale, fieldLa
|
|
|
79
79
|
setBusy(false);
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
|
-
return _jsxs("span", { className: "uhcp-clinical-speech-control", children: [_jsx("button", { type: "button", className: "uhcp-clinical-speech-button", "aria-label": `${actionLabel}: ${fieldLabel}`,
|
|
82
|
+
return _jsxs("span", { className: "uhcp-clinical-speech-control", children: [_jsx("button", { type: "button", className: "uhcp-clinical-speech-button", "aria-label": actionLabel, title: `${actionLabel}: ${fieldLabel}`, disabled: !ready || busy, "aria-pressed": busy, onClick: () => { void transcribe(); }, children: _jsx("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", focusable: "false", children: _jsx("path", { d: "M12 14a3 3 0 0 0 3-3V5a3 3 0 1 0-6 0v6a3 3 0 0 0 3 3Zm-5-3a1 1 0 1 0-2 0 7 7 0 0 0 6 6.92V21H8a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2h-3v-3.08A7 7 0 0 0 19 11a1 1 0 1 0-2 0 5 5 0 0 1-10 0Z" }) }) }), failed ? _jsx("small", { role: "alert", children: capability.labels.failed ?? capability.labels.unavailable }) : null] });
|
|
83
83
|
}
|
package/package.json
CHANGED