@tipp/ui 2.10.1 → 2.10.2

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 (96) hide show
  1. package/dist/app/index.js +8 -8
  2. package/dist/app/platform/edit-coaching-time.js +8 -8
  3. package/dist/app/platform/edit-service-type.js +8 -8
  4. package/dist/app/platform/goal-manage-card-edit.js +8 -8
  5. package/dist/app/platform/on-offline-radio-card.js +8 -8
  6. package/dist/app/platform/reservation-card.js +8 -8
  7. package/dist/app/platform/session-card.js +8 -8
  8. package/dist/app/roleplay/index.cjs +347 -422
  9. package/dist/app/roleplay/index.cjs.map +1 -1
  10. package/dist/app/roleplay/index.js +19 -18
  11. package/dist/app/roleplay/parts/content.cjs +266 -279
  12. package/dist/app/roleplay/parts/content.cjs.map +1 -1
  13. package/dist/app/roleplay/parts/content.js +15 -14
  14. package/dist/app/roleplay/parts/header.cjs +1 -1
  15. package/dist/app/roleplay/parts/header.cjs.map +1 -1
  16. package/dist/app/roleplay/parts/header.js +1 -1
  17. package/dist/app/roleplay/parts/score-summary.cjs +32 -46
  18. package/dist/app/roleplay/parts/score-summary.cjs.map +1 -1
  19. package/dist/app/roleplay/parts/score-summary.js +2 -1
  20. package/dist/app/roleplay/parts/score-trend-section.cjs +1 -1
  21. package/dist/app/roleplay/parts/score-trend-section.cjs.map +1 -1
  22. package/dist/app/roleplay/parts/score-trend-section.js +9 -9
  23. package/dist/app/roleplay/parts/script-transcript.cjs +29 -37
  24. package/dist/app/roleplay/parts/script-transcript.cjs.map +1 -1
  25. package/dist/app/roleplay/parts/script-transcript.js +2 -1
  26. package/dist/app/roleplay/parts/section-nav.cjs +3 -2
  27. package/dist/app/roleplay/parts/section-nav.cjs.map +1 -1
  28. package/dist/app/roleplay/parts/section-nav.js +1 -1
  29. package/dist/app/roleplay/parts/session-replay-dialog.cjs +39 -47
  30. package/dist/app/roleplay/parts/session-replay-dialog.cjs.map +1 -1
  31. package/dist/app/roleplay/parts/session-replay-dialog.js +3 -2
  32. package/dist/app/roleplay/parts/speech-share-bar.cjs +2171 -0
  33. package/dist/app/roleplay/parts/speech-share-bar.cjs.map +1 -0
  34. package/dist/app/roleplay/parts/speech-share-bar.d.cts +9 -0
  35. package/dist/app/roleplay/parts/speech-share-bar.d.ts +9 -0
  36. package/dist/app/roleplay/parts/speech-share-bar.js +96 -0
  37. package/dist/app/roleplay/parts/speech-share-bar.js.map +1 -0
  38. package/dist/app/roleplay/parts/step-summary.cjs +2 -2
  39. package/dist/app/roleplay/parts/step-summary.cjs.map +1 -1
  40. package/dist/app/roleplay/parts/step-summary.js +1 -1
  41. package/dist/app/roleplay/rp-session-detail.cjs +347 -422
  42. package/dist/app/roleplay/rp-session-detail.cjs.map +1 -1
  43. package/dist/app/roleplay/rp-session-detail.js +19 -18
  44. package/dist/{chunk-6YIKOYBQ.js → chunk-2XDAK4B7.js} +5 -73
  45. package/dist/chunk-2XDAK4B7.js.map +1 -0
  46. package/dist/{chunk-U2EAXN3Y.js → chunk-A32HLL53.js} +4 -4
  47. package/dist/{chunk-3UGBMKSQ.js → chunk-AS3JVRQ3.js} +2 -2
  48. package/dist/{chunk-NKW6BO5R.js → chunk-DIISQDYA.js} +4 -3
  49. package/dist/chunk-DIISQDYA.js.map +1 -0
  50. package/dist/{chunk-N242VJOP.js → chunk-IIZ7I7NS.js} +5 -5
  51. package/dist/{chunk-32WIS4L7.js → chunk-MD64AUR6.js} +8 -8
  52. package/dist/chunk-MD64AUR6.js.map +1 -0
  53. package/dist/{chunk-LRNO4W2P.js → chunk-NSDVLCCW.js} +5 -5
  54. package/dist/{chunk-EHDUKUML.js → chunk-RNGEVYY5.js} +12 -72
  55. package/dist/chunk-RNGEVYY5.js.map +1 -0
  56. package/dist/{chunk-YHP75Y5K.js → chunk-RZW6FVML.js} +2 -2
  57. package/dist/{chunk-YHP75Y5K.js.map → chunk-RZW6FVML.js.map} +1 -1
  58. package/dist/{chunk-ZE36DFOC.js → chunk-SZAU7YP3.js} +4 -4
  59. package/dist/{chunk-O332K3SW.js → chunk-UK3LP7VH.js} +2 -2
  60. package/dist/{chunk-QMAINJ4G.js → chunk-VM2PEQLQ.js} +2 -2
  61. package/dist/chunk-VM2PEQLQ.js.map +1 -0
  62. package/dist/chunk-W72CR2TG.js +71 -0
  63. package/dist/chunk-W72CR2TG.js.map +1 -0
  64. package/dist/{chunk-EBFQFOUQ.js → chunk-WVY3C64M.js} +3 -3
  65. package/dist/chunk-WVY3C64M.js.map +1 -0
  66. package/dist/{chunk-SOKGYD5B.js → chunk-YFR3HXSV.js} +2 -2
  67. package/dist/index.js +8 -8
  68. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +3 -3
  69. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +2 -2
  70. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +5 -5
  71. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +6 -6
  72. package/dist/molecules/curriculumV2/CurriculumContents/index.js +8 -8
  73. package/dist/molecules/curriculumV2/index.js +8 -8
  74. package/dist/molecules/index.js +8 -8
  75. package/package.json +1 -1
  76. package/src/app/roleplay/parts/content.tsx +3 -3
  77. package/src/app/roleplay/parts/header.tsx +1 -1
  78. package/src/app/roleplay/parts/score-summary.tsx +4 -57
  79. package/src/app/roleplay/parts/score-trend-section.tsx +1 -1
  80. package/src/app/roleplay/parts/script-transcript.tsx +9 -64
  81. package/src/app/roleplay/parts/section-nav.tsx +3 -2
  82. package/src/app/roleplay/parts/speech-share-bar.tsx +54 -0
  83. package/src/app/roleplay/parts/step-summary.tsx +2 -4
  84. package/dist/chunk-32WIS4L7.js.map +0 -1
  85. package/dist/chunk-6YIKOYBQ.js.map +0 -1
  86. package/dist/chunk-EBFQFOUQ.js.map +0 -1
  87. package/dist/chunk-EHDUKUML.js.map +0 -1
  88. package/dist/chunk-NKW6BO5R.js.map +0 -1
  89. package/dist/chunk-QMAINJ4G.js.map +0 -1
  90. /package/dist/{chunk-U2EAXN3Y.js.map → chunk-A32HLL53.js.map} +0 -0
  91. /package/dist/{chunk-3UGBMKSQ.js.map → chunk-AS3JVRQ3.js.map} +0 -0
  92. /package/dist/{chunk-N242VJOP.js.map → chunk-IIZ7I7NS.js.map} +0 -0
  93. /package/dist/{chunk-LRNO4W2P.js.map → chunk-NSDVLCCW.js.map} +0 -0
  94. /package/dist/{chunk-ZE36DFOC.js.map → chunk-SZAU7YP3.js.map} +0 -0
  95. /package/dist/{chunk-O332K3SW.js.map → chunk-UK3LP7VH.js.map} +0 -0
  96. /package/dist/{chunk-SOKGYD5B.js.map → chunk-YFR3HXSV.js.map} +0 -0
@@ -2,14 +2,15 @@
2
2
  import {
3
3
  ScoreTrendSection,
4
4
  Section
5
- } from "../../../chunk-YHP75Y5K.js";
5
+ } from "../../../chunk-RZW6FVML.js";
6
6
  import "../../../chunk-UXAEOCOH.js";
7
7
  import "../../../chunk-PSINRHYW.js";
8
8
  import "../../../chunk-WSWSAPSS.js";
9
9
  import "../../../chunk-RXK3JM34.js";
10
10
  import "../../../chunk-SYMOHU2B.js";
11
11
  import "../../../chunk-AS7ID74X.js";
12
- import "../../../chunk-N242VJOP.js";
12
+ import "../../../chunk-IIZ7I7NS.js";
13
+ import "../../../chunk-KFUBWOCN.js";
13
14
  import "../../../chunk-RRC4WFG3.js";
14
15
  import "../../../chunk-P2H3VCIB.js";
15
16
  import "../../../chunk-WS7IOHVK.js";
@@ -18,22 +19,21 @@ import "../../../chunk-QLOYGKKM.js";
18
19
  import "../../../chunk-S4MEMFKG.js";
19
20
  import "../../../chunk-K4RZTENM.js";
20
21
  import "../../../chunk-UXH2XIB2.js";
21
- import "../../../chunk-O332K3SW.js";
22
- import "../../../chunk-LRNO4W2P.js";
23
- import "../../../chunk-LK2H4QTJ.js";
24
- import "../../../chunk-SOKGYD5B.js";
25
- import "../../../chunk-U2EAXN3Y.js";
22
+ import "../../../chunk-UK3LP7VH.js";
23
+ import "../../../chunk-NSDVLCCW.js";
24
+ import "../../../chunk-YFR3HXSV.js";
25
+ import "../../../chunk-A32HLL53.js";
26
+ import "../../../chunk-ZGTGEBQX.js";
26
27
  import "../../../chunk-WLKK5L3P.js";
27
28
  import "../../../chunk-GE4M5GOQ.js";
28
29
  import "../../../chunk-G3KQN32M.js";
29
30
  import "../../../chunk-VK6INFSB.js";
30
31
  import "../../../chunk-CGLDFUOY.js";
31
32
  import "../../../chunk-OUDDTPEN.js";
32
- import "../../../chunk-ZGTGEBQX.js";
33
33
  import "../../../chunk-SINRU2A6.js";
34
34
  import "../../../chunk-NVRVOTWZ.js";
35
+ import "../../../chunk-LK2H4QTJ.js";
35
36
  import "../../../chunk-GMKRNFH5.js";
36
- import "../../../chunk-KFUBWOCN.js";
37
37
  import "../../../chunk-XWHBJY5V.js";
38
38
  import "../../../chunk-WA5A2GB4.js";
39
39
  import "../../../chunk-K3Q4XLCN.js";
@@ -2117,9 +2117,11 @@ function formatTimestamp(ms) {
2117
2117
  }
2118
2118
  var SPEECH_OVERTALK_THRESHOLD = 40;
2119
2119
 
2120
- // src/app/roleplay/parts/script-transcript.tsx
2120
+ // src/app/roleplay/parts/speech-share-bar.tsx
2121
2121
  var import_jsx_runtime61 = require("react/jsx-runtime");
2122
- function SpeechShareBar({ share }) {
2122
+ function SpeechShareBar({
2123
+ share
2124
+ }) {
2123
2125
  const isOvertalking = share.userPct > SPEECH_OVERTALK_THRESHOLD;
2124
2126
  return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes7.Box, { children: [
2125
2127
  /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes23.Flex, { align: "center", justify: "between", mb: "1", children: [
@@ -2128,10 +2130,9 @@ function SpeechShareBar({ share }) {
2128
2130
  {
2129
2131
  as: "span",
2130
2132
  style: {
2131
- fontSize: "0.75rem",
2132
2133
  color: isOvertalking ? "var(--red-11)" : "var(--accent-11)"
2133
2134
  },
2134
- variant: "body",
2135
+ variant: "caption",
2135
2136
  weight: "medium",
2136
2137
  children: [
2137
2138
  "\uB0B4 \uBC1C\uD654\uB7C9 ",
@@ -2140,7 +2141,7 @@ function SpeechShareBar({ share }) {
2140
2141
  ]
2141
2142
  }
2142
2143
  ),
2143
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Typo, { as: "span", color: "gray", style: { fontSize: "0.75rem" }, variant: "body", children: [
2144
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Typo, { as: "span", color: "gray", variant: "caption", children: [
2144
2145
  "\uC0C1\uB300 ",
2145
2146
  share.partnerPct,
2146
2147
  "%"
@@ -2166,18 +2167,12 @@ function SpeechShareBar({ share }) {
2166
2167
  )
2167
2168
  }
2168
2169
  ),
2169
- isOvertalking ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2170
- Typo,
2171
- {
2172
- as: "p",
2173
- mt: "1",
2174
- style: { fontSize: "0.75rem", color: "var(--red-11)" },
2175
- variant: "body",
2176
- children: "\uC0C1\uB300\uC758 \uB9D0\uC744 \uB354 \uB4E3\uACE0 \uC9C8\uBB38\xB7\uACBD\uCCAD\uC758 \uBE44\uC911\uC744 \uB192\uC5EC \uBCF4\uC138\uC694"
2177
- }
2178
- ) : null
2170
+ isOvertalking ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Typo, { as: "p", color: "red", mt: "1", variant: "caption", children: "\uC0C1\uB300\uC758 \uB9D0\uC744 \uB354 \uB4E3\uACE0 \uC9C8\uBB38\xB7\uACBD\uCCAD\uC758 \uBE44\uC911\uC744 \uB192\uC5EC \uBCF4\uC138\uC694" }) : null
2179
2171
  ] });
2180
2172
  }
2173
+
2174
+ // src/app/roleplay/parts/script-transcript.tsx
2175
+ var import_jsx_runtime62 = require("react/jsx-runtime");
2181
2176
  function ScriptTranscript({
2182
2177
  lines,
2183
2178
  partnerName,
@@ -2187,31 +2182,30 @@ function ScriptTranscript({
2187
2182
  onSeek
2188
2183
  }) {
2189
2184
  const activeIndex = canSync ? lines.reduce((acc, line, i) => line.startMs <= currentMs ? i : acc, -1) : -1;
2190
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes23.Flex, { direction: "column", gap: "2", style: { minWidth: 0 }, children: [
2191
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes7.Box, { children: [
2192
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes23.Flex, { align: "center", gap: "2", justify: "between", children: [
2193
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Typo, { as: "span", variant: "body", weight: "bold", children: "\uB300\uD654 \uC2A4\uD06C\uB9BD\uD2B8" }),
2194
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2185
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_themes23.Flex, { direction: "column", gap: "2", style: { minWidth: 0 }, children: [
2186
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_themes7.Box, { children: [
2187
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_themes23.Flex, { align: "center", gap: "2", justify: "between", children: [
2188
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Typo, { as: "span", variant: "body", weight: "bold", children: "\uB300\uD654 \uC2A4\uD06C\uB9BD\uD2B8" }),
2189
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2195
2190
  Typo,
2196
2191
  {
2197
2192
  as: "span",
2198
2193
  color: "gray",
2199
- style: { fontSize: "0.75rem", flexShrink: 0 },
2200
- variant: "body",
2201
- children: canSync ? "\uC7AC\uC0DD \uC704\uCE58\uC5D0 \uB9DE\uCDB0 \uD45C\uC2DC" : "\uD0C0\uC784\uB77C\uC778 \uBE44\uB3D9\uAE30"
2194
+ variant: "caption",
2195
+ children: canSync ? "" : "\uD0C0\uC784\uB77C\uC778 \uAE30\uB2A5 \uC0AC\uC6A9 \uBD88\uAC00"
2202
2196
  }
2203
2197
  )
2204
2198
  ] }),
2205
- partnerName ? /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Typo, { as: "p", color: "gray", mt: "1", style: { fontSize: "0.75rem" }, variant: "body", children: [
2199
+ partnerName ? /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Typo, { as: "p", color: "gray", mt: "1", variant: "body", children: [
2206
2200
  "\uC0C1\uB300 \xB7 ",
2207
2201
  partnerName
2208
2202
  ] }) : null,
2209
- speechShare ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_themes7.Box, { mt: "2", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(SpeechShareBar, { share: speechShare }) }) : null
2203
+ speechShare ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_themes7.Box, { mt: "2", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SpeechShareBar, { share: speechShare }) }) : null
2210
2204
  ] }),
2211
- lines.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Typo, { as: "p", color: "gray", variant: "body", children: "\uB300\uD654 \uC2A4\uD06C\uB9BD\uD2B8\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_themes7.Box, { style: { maxHeight: 440, overflowY: "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_themes23.Flex, { direction: "column", gap: "1", children: lines.map((line, i) => {
2205
+ lines.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Typo, { as: "p", color: "gray", variant: "body", children: "\uB300\uD654 \uC2A4\uD06C\uB9BD\uD2B8\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }) : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_themes7.Box, { style: { maxHeight: 440, overflowY: "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_themes23.Flex, { direction: "column", gap: "1", children: lines.map((line, i) => {
2212
2206
  const isUser = line.speaker === "user";
2213
2207
  const isActive = i === activeIndex;
2214
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
2208
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
2215
2209
  import_themes23.Flex,
2216
2210
  {
2217
2211
  align: "start",
@@ -2227,47 +2221,45 @@ function ScriptTranscript({
2227
2221
  background: isActive ? "var(--accent-a3)" : "transparent"
2228
2222
  },
2229
2223
  children: [
2230
- canSync ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2224
+ canSync ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2231
2225
  Typo,
2232
2226
  {
2233
2227
  as: "span",
2234
2228
  mono: true,
2235
2229
  style: {
2236
2230
  color: isActive ? "var(--accent-11)" : "var(--gray-9)",
2237
- fontSize: "0.75rem",
2238
2231
  flexShrink: 0,
2239
2232
  minWidth: 32,
2240
2233
  lineHeight: "1.7"
2241
2234
  },
2242
- variant: "body",
2235
+ variant: "caption",
2243
2236
  children: formatTimestamp(line.startMs)
2244
2237
  }
2245
2238
  ) : null,
2246
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2239
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2247
2240
  Typo,
2248
2241
  {
2249
2242
  as: "span",
2250
2243
  style: {
2251
2244
  color: isUser ? "var(--accent-11)" : "var(--gray-11)",
2252
- fontSize: "0.8125rem",
2253
2245
  flexShrink: 0,
2254
2246
  minWidth: 28,
2255
2247
  lineHeight: "1.7",
2256
- fontWeight: 700,
2257
2248
  whiteSpace: "nowrap"
2258
2249
  },
2259
2250
  variant: "body",
2251
+ weight: "bold",
2260
2252
  children: isUser ? "\uB098" : "\uC0C1\uB300"
2261
2253
  }
2262
2254
  ),
2263
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2255
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2264
2256
  Typo,
2265
2257
  {
2266
2258
  as: "span",
2259
+ color: "gray",
2260
+ highContrast: isActive,
2267
2261
  style: {
2268
- fontSize: "0.875rem",
2269
- lineHeight: "1.7",
2270
- color: isActive ? "var(--gray-12)" : "var(--gray-11)"
2262
+ lineHeight: "1.7"
2271
2263
  },
2272
2264
  variant: "body",
2273
2265
  weight: isActive ? "medium" : void 0,