@cardenelabs/cdl 0.55.0 → 0.56.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/CHANGELOG.md +13 -1
- package/dist/index.cjs +8 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +8 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +8 -1
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
- package/src/kinds/user-journey.tsx +9 -1
package/dist/index.js
CHANGED
|
@@ -26974,6 +26974,13 @@ function UserJourneyNode({
|
|
|
26974
26974
|
frustrated: "\u{1F615}",
|
|
26975
26975
|
angry: "\u{1F620}"
|
|
26976
26976
|
};
|
|
26977
|
+
const emotionLabel = {
|
|
26978
|
+
delighted: "\u5927\u6E80\u8DB3",
|
|
26979
|
+
happy: "\u6E80\u8DB3",
|
|
26980
|
+
neutral: "\u3075\u3064\u3046",
|
|
26981
|
+
frustrated: "\u4E0D\u6E80",
|
|
26982
|
+
angry: "\u6012\u308A"
|
|
26983
|
+
};
|
|
26977
26984
|
const rowH = canvasH / 5;
|
|
26978
26985
|
const colW = canvasW / Math.max(steps.length, 1);
|
|
26979
26986
|
const xAt = (idx) => PAD_LEFT2 + (steps.length <= 1 ? canvasW / 2 : colW / 2 + colW * idx);
|
|
@@ -27038,7 +27045,7 @@ function UserJourneyNode({
|
|
|
27038
27045
|
fontWeight: 600,
|
|
27039
27046
|
textAnchor: "end",
|
|
27040
27047
|
fill: emotionColor[e],
|
|
27041
|
-
children: e
|
|
27048
|
+
children: emotionLabel[e]
|
|
27042
27049
|
}
|
|
27043
27050
|
)
|
|
27044
27051
|
] }, `band-${e}`)),
|