@tipp/ui 2.10.0 → 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 (97) 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 +362 -428
  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 +281 -290
  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 +16 -15
  21. package/dist/app/roleplay/parts/score-trend-section.cjs.map +1 -1
  22. package/dist/app/roleplay/parts/score-trend-section.js +9 -10
  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 +362 -428
  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-2TOASXPK.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-XM4GWPXC.js → chunk-RZW6FVML.js} +18 -12
  57. package/dist/chunk-RZW6FVML.js.map +1 -0
  58. package/dist/{chunk-T7LKMJVA.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 +19 -9
  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-2TOASXPK.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-XM4GWPXC.js.map +0 -1
  91. /package/dist/{chunk-U2EAXN3Y.js.map → chunk-A32HLL53.js.map} +0 -0
  92. /package/dist/{chunk-3UGBMKSQ.js.map → chunk-AS3JVRQ3.js.map} +0 -0
  93. /package/dist/{chunk-N242VJOP.js.map → chunk-IIZ7I7NS.js.map} +0 -0
  94. /package/dist/{chunk-LRNO4W2P.js.map → chunk-NSDVLCCW.js.map} +0 -0
  95. /package/dist/{chunk-T7LKMJVA.js.map → chunk-SZAU7YP3.js.map} +0 -0
  96. /package/dist/{chunk-O332K3SW.js.map → chunk-UK3LP7VH.js.map} +0 -0
  97. /package/dist/{chunk-SOKGYD5B.js.map → chunk-YFR3HXSV.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Header
4
- } from "../../../chunk-QMAINJ4G.js";
4
+ } from "../../../chunk-VM2PEQLQ.js";
5
5
  import "../../../chunk-4YAA25AV.js";
6
6
  import "../../../chunk-HBF6IIVZ.js";
7
7
  import "../../../chunk-AELKCD6B.js";
@@ -2111,9 +2111,11 @@ var ListContext = (0, import_react40.createContext)({
2111
2111
  var import_date_fns = require("date-fns");
2112
2112
  var SPEECH_OVERTALK_THRESHOLD = 40;
2113
2113
 
2114
- // src/app/roleplay/parts/score-summary.tsx
2114
+ // src/app/roleplay/parts/speech-share-bar.tsx
2115
2115
  var import_jsx_runtime61 = require("react/jsx-runtime");
2116
- function SpeechShareBar({ share }) {
2116
+ function SpeechShareBar({
2117
+ share
2118
+ }) {
2117
2119
  const isOvertalking = share.userPct > SPEECH_OVERTALK_THRESHOLD;
2118
2120
  return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes7.Box, { children: [
2119
2121
  /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes23.Flex, { align: "center", justify: "between", mb: "1", children: [
@@ -2122,10 +2124,9 @@ function SpeechShareBar({ share }) {
2122
2124
  {
2123
2125
  as: "span",
2124
2126
  style: {
2125
- fontSize: "0.75rem",
2126
2127
  color: isOvertalking ? "var(--red-11)" : "var(--accent-11)"
2127
2128
  },
2128
- variant: "body",
2129
+ variant: "caption",
2129
2130
  weight: "medium",
2130
2131
  children: [
2131
2132
  "\uB0B4 \uBC1C\uD654\uB7C9 ",
@@ -2134,20 +2135,11 @@ function SpeechShareBar({ share }) {
2134
2135
  ]
2135
2136
  }
2136
2137
  ),
2137
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
2138
- Typo,
2139
- {
2140
- as: "span",
2141
- color: "gray",
2142
- style: { fontSize: "0.75rem" },
2143
- variant: "body",
2144
- children: [
2145
- "\uC0C1\uB300 ",
2146
- share.partnerPct,
2147
- "%"
2148
- ]
2149
- }
2150
- )
2138
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Typo, { as: "span", color: "gray", variant: "caption", children: [
2139
+ "\uC0C1\uB300 ",
2140
+ share.partnerPct,
2141
+ "%"
2142
+ ] })
2151
2143
  ] }),
2152
2144
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2153
2145
  import_themes23.Flex,
@@ -2169,18 +2161,12 @@ function SpeechShareBar({ share }) {
2169
2161
  )
2170
2162
  }
2171
2163
  ),
2172
- isOvertalking ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2173
- Typo,
2174
- {
2175
- as: "p",
2176
- mt: "1",
2177
- style: { fontSize: "0.75rem", color: "var(--red-11)" },
2178
- variant: "body",
2179
- children: "\uC0C1\uB300\uC758 \uB9D0\uC744 \uB354 \uB4E3\uACE0 \uC9C8\uBB38\xB7\uACBD\uCCAD\uC758 \uBE44\uC911\uC744 \uB192\uC5EC \uBCF4\uC138\uC694"
2180
- }
2181
- ) : null
2164
+ 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
2182
2165
  ] });
2183
2166
  }
2167
+
2168
+ // src/app/roleplay/parts/score-summary.tsx
2169
+ var import_jsx_runtime62 = require("react/jsx-runtime");
2184
2170
  function ScoreSummary({
2185
2171
  detail,
2186
2172
  report,
@@ -2189,18 +2175,18 @@ function ScoreSummary({
2189
2175
  var _a;
2190
2176
  const scoreValue = (_a = detail.totalScore) != null ? _a : report.totalScore;
2191
2177
  const comment = report.comment;
2192
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
2178
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
2193
2179
  import_themes24.Grid,
2194
2180
  {
2195
2181
  align: "start",
2196
2182
  columns: comment ? { initial: "1", md: "minmax(0, 240px) 1fr" } : "1",
2197
2183
  gap: "5",
2198
2184
  children: [
2199
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Card, { variant: "surface", children: [
2200
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes23.Flex, { align: "center", direction: "column", gap: "2", py: "3", children: [
2201
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Typo, { as: "p", color: "gray", variant: "body", weight: "medium", children: "\uC885\uD569 \uC810\uC218" }),
2202
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes23.Flex, { align: "baseline", gap: "1", children: [
2203
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2185
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Card, { variant: "surface", children: [
2186
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_themes23.Flex, { align: "center", direction: "column", gap: "2", py: "3", children: [
2187
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Typo, { as: "p", color: "gray", variant: "body", weight: "medium", children: "\uC885\uD569 \uC810\uC218" }),
2188
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_themes23.Flex, { align: "baseline", gap: "1", children: [
2189
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2204
2190
  Typo,
2205
2191
  {
2206
2192
  as: "span",
@@ -2214,18 +2200,18 @@ function ScoreSummary({
2214
2200
  children: scoreValue != null ? scoreValue : "\u2014"
2215
2201
  }
2216
2202
  ),
2217
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Typo, { as: "span", color: "gray", mono: true, variant: "subtitle", children: "/100" })
2203
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Typo, { as: "span", color: "gray", mono: true, variant: "subtitle", children: "/100" })
2218
2204
  ] })
2219
2205
  ] }),
2220
- speechShare ? /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_jsx_runtime61.Fragment, { children: [
2221
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_themes40.Separator, { my: "3", size: "4" }),
2222
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(SpeechShareBar, { share: speechShare })
2206
+ speechShare ? /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_jsx_runtime62.Fragment, { children: [
2207
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_themes40.Separator, { my: "3", size: "4" }),
2208
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SpeechShareBar, { share: speechShare })
2223
2209
  ] }) : null
2224
2210
  ] }),
2225
- comment ? /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_themes23.Flex, { direction: "column", gap: "3", children: [
2226
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Typo, { as: "p", variant: "body", weight: "medium", children: "\uC885\uD569 \uBD84\uC11D" }),
2227
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_themes7.Box, { style: { maxWidth: "65ch" }, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Typo, { as: "p", variant: "body", children: comment }) }),
2228
- report.deduction ? /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
2211
+ comment ? /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_themes23.Flex, { direction: "column", gap: "3", children: [
2212
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Typo, { as: "p", variant: "body", weight: "medium", children: "\uC885\uD569 \uBD84\uC11D" }),
2213
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_themes7.Box, { style: { maxWidth: "65ch" }, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Typo, { as: "p", variant: "body", children: comment }) }),
2214
+ report.deduction ? /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
2229
2215
  import_themes7.Box,
2230
2216
  {
2231
2217
  pl: "3",
@@ -2237,12 +2223,12 @@ function ScoreSummary({
2237
2223
  borderRadius: "var(--radius-2)"
2238
2224
  },
2239
2225
  children: [
2240
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
2226
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
2241
2227
  Typo,
2242
2228
  {
2243
2229
  as: "p",
2230
+ color: "amber",
2244
2231
  mono: true,
2245
- style: { color: "var(--amber-11)" },
2246
2232
  variant: "body",
2247
2233
  weight: "medium",
2248
2234
  children: [
@@ -2252,11 +2238,11 @@ function ScoreSummary({
2252
2238
  ]
2253
2239
  }
2254
2240
  ),
2255
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_themes7.Box, { mt: "1", style: { maxWidth: "65ch" }, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
2241
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_themes7.Box, { mt: "1", style: { maxWidth: "65ch" }, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2256
2242
  Typo,
2257
2243
  {
2258
2244
  as: "p",
2259
- style: { color: "var(--amber-11)" },
2245
+ color: "amber",
2260
2246
  variant: "body",
2261
2247
  children: report.deduction.basis
2262
2248
  }