@broberg/bodymap 0.14.0 → 0.16.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/README.md +24 -0
- package/dist/preact.cjs +784 -0
- package/dist/preact.cjs.map +1 -0
- package/dist/preact.d.cts +228 -0
- package/dist/preact.d.ts +228 -0
- package/dist/preact.js +779 -0
- package/dist/preact.js.map +1 -0
- package/dist/react.cjs +4 -0
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +5 -0
- package/dist/react.d.ts +5 -0
- package/dist/react.js +4 -0
- package/dist/react.js.map +1 -1
- package/dist/three.cjs +3 -0
- package/dist/three.cjs.map +1 -1
- package/dist/three.d.cts +5 -0
- package/dist/three.d.ts +5 -0
- package/dist/three.js +3 -0
- package/dist/three.js.map +1 -1
- package/package.json +14 -4
package/dist/three.d.cts
CHANGED
|
@@ -156,6 +156,11 @@ interface BodyMapLabels {
|
|
|
156
156
|
intensity: string;
|
|
157
157
|
quality: string;
|
|
158
158
|
remove: string;
|
|
159
|
+
/** F052.28 — the open panel's question while nothing is marked yet, so the absent
|
|
160
|
+
* «remove» reads as "nothing chosen" rather than "the button is gone". Hidden once
|
|
161
|
+
* an intensity is chosen. Optional so a consumer's full label object still compiles;
|
|
162
|
+
* "" hides it. */
|
|
163
|
+
ask?: string;
|
|
159
164
|
/** Close the picker without marking anything (F052.26). */
|
|
160
165
|
close: string;
|
|
161
166
|
front: string;
|
package/dist/three.d.ts
CHANGED
|
@@ -156,6 +156,11 @@ interface BodyMapLabels {
|
|
|
156
156
|
intensity: string;
|
|
157
157
|
quality: string;
|
|
158
158
|
remove: string;
|
|
159
|
+
/** F052.28 — the open panel's question while nothing is marked yet, so the absent
|
|
160
|
+
* «remove» reads as "nothing chosen" rather than "the button is gone". Hidden once
|
|
161
|
+
* an intensity is chosen. Optional so a consumer's full label object still compiles;
|
|
162
|
+
* "" hides it. */
|
|
163
|
+
ask?: string;
|
|
159
164
|
/** Close the picker without marking anything (F052.26). */
|
|
160
165
|
close: string;
|
|
161
166
|
front: string;
|
package/dist/three.js
CHANGED
|
@@ -172,6 +172,7 @@ var LABELS_DA = {
|
|
|
172
172
|
intensity: "Intensitet (0-10)",
|
|
173
173
|
quality: "Kvalitet",
|
|
174
174
|
remove: "Fjern punkt",
|
|
175
|
+
ask: "Hvor ondt g\xF8r det? V\xE6lg et tal.",
|
|
175
176
|
close: "Luk",
|
|
176
177
|
front: "Forfra",
|
|
177
178
|
back: "Bagfra",
|
|
@@ -195,6 +196,7 @@ var LABELS_EN = {
|
|
|
195
196
|
intensity: "Intensity (0-10)",
|
|
196
197
|
quality: "Quality",
|
|
197
198
|
remove: "Remove point",
|
|
199
|
+
ask: "How much does it hurt? Pick a number.",
|
|
198
200
|
close: "Close",
|
|
199
201
|
front: "Front",
|
|
200
202
|
back: "Back",
|
|
@@ -841,6 +843,7 @@ function BodyMap3D(props) {
|
|
|
841
843
|
}
|
|
842
844
|
)
|
|
843
845
|
] }),
|
|
846
|
+
!current && L.ask && /* @__PURE__ */ jsx("div", { "data-testid": "bodymap3d-ask", "aria-live": "polite", style: { fontSize: 15, fontWeight: 600, color: chrome.text, marginBottom: 10 }, children: L.ask }),
|
|
844
847
|
/* @__PURE__ */ jsx("div", { style: { fontSize: 11, fontWeight: 700, letterSpacing: ".06em", textTransform: "uppercase", color: chrome.mutedText, marginBottom: 7 }, children: L.intensity }),
|
|
845
848
|
/* @__PURE__ */ jsx("div", { style: { display: "flex", flexWrap: "wrap", gap: 4, marginBottom: 12 }, children: Array.from({ length: 11 }, (_, i) => (
|
|
846
849
|
/* F052.34 — CIRCLES, and all eleven the same size.
|