@tipp/ui 2.3.40 → 2.4.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/dist/app/index.cjs +10 -10
- package/dist/app/index.cjs.map +1 -1
- package/dist/app/index.js +12 -12
- package/dist/app/platform/coach-question-list.cjs +10 -10
- package/dist/app/platform/coach-question-list.cjs.map +1 -1
- package/dist/app/platform/coach-question-list.js +1 -1
- package/dist/app/platform/contents-card.cjs +10 -10
- package/dist/app/platform/contents-card.cjs.map +1 -1
- package/dist/app/platform/contents-card.js +1 -1
- package/dist/app/platform/curriculum-card.cjs +10 -10
- package/dist/app/platform/curriculum-card.cjs.map +1 -1
- package/dist/app/platform/curriculum-card.js +2 -2
- package/dist/app/platform/edit-coaching-time.cjs +10 -10
- package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
- package/dist/app/platform/edit-coaching-time.js +8 -8
- package/dist/app/platform/edit-service-type.cjs +10 -10
- package/dist/app/platform/edit-service-type.cjs.map +1 -1
- package/dist/app/platform/edit-service-type.js +8 -8
- package/dist/app/platform/goal-manage-card-edit.cjs +10 -10
- package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-edit.js +8 -8
- package/dist/app/platform/goal-manage-card-read.cjs +10 -10
- package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
- package/dist/app/platform/goal-manage-card-read.js +2 -2
- package/dist/app/platform/on-offline-radio-card.cjs +10 -10
- package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
- package/dist/app/platform/on-offline-radio-card.js +8 -8
- package/dist/app/platform/report-card.cjs +10 -10
- package/dist/app/platform/report-card.cjs.map +1 -1
- package/dist/app/platform/report-card.js +1 -1
- package/dist/app/platform/reservation-card.cjs +10 -10
- package/dist/app/platform/reservation-card.cjs.map +1 -1
- package/dist/app/platform/reservation-card.js +9 -9
- package/dist/app/platform/session-card.cjs +10 -10
- package/dist/app/platform/session-card.cjs.map +1 -1
- package/dist/app/platform/session-card.js +8 -8
- package/dist/app/platform/session-review-simple-read.cjs +10 -10
- package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
- package/dist/app/platform/session-review-simple-read.js +2 -2
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +10 -10
- package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/index.js +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +10 -10
- package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/large.js +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +10 -10
- package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/medium.js +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +10 -10
- package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
- package/dist/app/platform/userInfos/coaching-customer-info/small.js +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.cjs +10 -10
- package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
- package/dist/app/platform/userInfos/session-user-info-detail.js +1 -1
- package/dist/app/platform/userInfos/utils.cjs +10 -10
- package/dist/app/platform/userInfos/utils.cjs.map +1 -1
- package/dist/app/platform/userInfos/utils.js +1 -1
- package/dist/atoms/badge.cjs +10 -10
- package/dist/atoms/badge.cjs.map +1 -1
- package/dist/atoms/badge.d.cts +4 -2
- package/dist/atoms/badge.d.ts +4 -2
- package/dist/atoms/badge.js +1 -1
- package/dist/atoms/index.cjs +10 -10
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +1 -1
- package/dist/charts/horizontal-bar-chart.cjs +2 -2
- package/dist/charts/horizontal-bar-chart.cjs.map +1 -1
- package/dist/charts/horizontal-bar-chart.d.cts +5 -0
- package/dist/charts/horizontal-bar-chart.d.ts +5 -0
- package/dist/charts/horizontal-bar-chart.js +1 -1
- package/dist/charts/index.cjs +2 -2
- package/dist/charts/index.cjs.map +1 -1
- package/dist/charts/index.js +1 -1
- package/dist/{chunk-7PZPKTQ4.js → chunk-6PFEG7GQ.js} +2 -2
- package/dist/{chunk-4UBN6JY7.js → chunk-6QVHJ5WW.js} +2 -2
- package/dist/{chunk-P4R5JOBT.js → chunk-B37MCN6F.js} +2 -2
- package/dist/{chunk-CIQ7ELE6.js → chunk-DQ6EIA2T.js} +2 -2
- package/dist/{chunk-PW7GCTMS.js → chunk-FMAOB6BX.js} +2 -2
- package/dist/{chunk-4P45P2ZE.js → chunk-IN6S7PPW.js} +2 -2
- package/dist/{chunk-QUQSTW5O.js → chunk-KP4SGRJZ.js} +2 -2
- package/dist/{chunk-RM5CQ77X.js → chunk-KTQREW2K.js} +2 -2
- package/dist/{chunk-U3BQT7ZO.js → chunk-KTSEZC6A.js} +11 -11
- package/dist/chunk-KTSEZC6A.js.map +1 -0
- package/dist/{chunk-LY7HAQMV.js → chunk-N7NDDJW5.js} +2 -2
- package/dist/{chunk-UTMCR27N.js → chunk-O5FEYLEG.js} +4 -3
- package/dist/chunk-O5FEYLEG.js.map +1 -0
- package/dist/{chunk-SGMO4KBC.js → chunk-RXK3JM34.js} +3 -3
- package/dist/chunk-RXK3JM34.js.map +1 -0
- package/dist/{chunk-F7JSPN5P.js → chunk-YDNVHAS4.js} +2 -2
- package/dist/index.cjs +15 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +16 -0
- package/dist/index.js +13 -13
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs +10 -10
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +3 -3
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs +10 -10
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +2 -2
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs +10 -10
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +4 -4
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs +10 -10
- package/dist/molecules/curriculumV2/CurriculumContents/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/CurriculumContents/index.js +5 -5
- package/dist/molecules/curriculumV2/index.cjs +10 -10
- package/dist/molecules/curriculumV2/index.cjs.map +1 -1
- package/dist/molecules/curriculumV2/index.js +5 -5
- package/dist/molecules/expand-table/index.cjs +3 -2
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.d.cts +2 -0
- package/dist/molecules/expand-table/index.d.ts +2 -0
- package/dist/molecules/expand-table/index.js +1 -1
- package/dist/molecules/index.cjs +13 -12
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +8 -8
- package/dist/molecules/learning-post.cjs +10 -10
- package/dist/molecules/learning-post.cjs.map +1 -1
- package/dist/molecules/learning-post.js +2 -2
- package/dist/molecules/tag-selector.cjs +10 -10
- package/dist/molecules/tag-selector.cjs.map +1 -1
- package/dist/molecules/tag-selector.js +2 -2
- package/package.json +1 -1
- package/src/atoms/badge.tsx +17 -11
- package/src/charts/horizontal-bar-chart.tsx +8 -2
- package/src/molecules/expand-table/index.tsx +4 -1
- package/dist/chunk-SGMO4KBC.js.map +0 -1
- package/dist/chunk-U3BQT7ZO.js.map +0 -1
- package/dist/chunk-UTMCR27N.js.map +0 -1
- /package/dist/{chunk-7PZPKTQ4.js.map → chunk-6PFEG7GQ.js.map} +0 -0
- /package/dist/{chunk-4UBN6JY7.js.map → chunk-6QVHJ5WW.js.map} +0 -0
- /package/dist/{chunk-P4R5JOBT.js.map → chunk-B37MCN6F.js.map} +0 -0
- /package/dist/{chunk-CIQ7ELE6.js.map → chunk-DQ6EIA2T.js.map} +0 -0
- /package/dist/{chunk-PW7GCTMS.js.map → chunk-FMAOB6BX.js.map} +0 -0
- /package/dist/{chunk-4P45P2ZE.js.map → chunk-IN6S7PPW.js.map} +0 -0
- /package/dist/{chunk-QUQSTW5O.js.map → chunk-KP4SGRJZ.js.map} +0 -0
- /package/dist/{chunk-RM5CQ77X.js.map → chunk-KTQREW2K.js.map} +0 -0
- /package/dist/{chunk-LY7HAQMV.js.map → chunk-N7NDDJW5.js.map} +0 -0
- /package/dist/{chunk-F7JSPN5P.js.map → chunk-YDNVHAS4.js.map} +0 -0
package/dist/index.css
CHANGED
|
@@ -30229,6 +30229,22 @@ p.kg-collection-card-post-excerpt{
|
|
|
30229
30229
|
.expand-table-wrapper.sprite-border .thead .tr{
|
|
30230
30230
|
background-color: var(--gray-2);
|
|
30231
30231
|
}
|
|
30232
|
+
.expand-table-wrapper.slim .th,
|
|
30233
|
+
.expand-table-wrapper.slim .td{
|
|
30234
|
+
padding: var(--space-1) var(--space-2);
|
|
30235
|
+
}
|
|
30236
|
+
.expand-table-wrapper.slim .expand-table .tbody button.tr .td{
|
|
30237
|
+
font-size: var(--font-size-1);
|
|
30238
|
+
}
|
|
30239
|
+
.expand-table-wrapper.slim.card .tr{
|
|
30240
|
+
min-height: 32px;
|
|
30241
|
+
}
|
|
30242
|
+
.expand-table-wrapper.slim.card button.tr{
|
|
30243
|
+
min-height: 40px;
|
|
30244
|
+
}
|
|
30245
|
+
.expand-table-wrapper.slim.sprite .tr, .expand-table-wrapper.slim.sprite-border .tr{
|
|
30246
|
+
min-height: 36px;
|
|
30247
|
+
}
|
|
30232
30248
|
.expand-table-wrapper .expand-table{
|
|
30233
30249
|
position: relative;
|
|
30234
30250
|
overflow: hidden;
|
package/dist/index.js
CHANGED
|
@@ -32,10 +32,10 @@ import {
|
|
|
32
32
|
} from "./chunk-O7DAGKLJ.js";
|
|
33
33
|
import {
|
|
34
34
|
SessionReviewSimpleRead
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-KTQREW2K.js";
|
|
36
36
|
import {
|
|
37
37
|
CurriculumCard
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-FMAOB6BX.js";
|
|
39
39
|
import {
|
|
40
40
|
EditCoachingTime
|
|
41
41
|
} from "./chunk-SLFUYRIC.js";
|
|
@@ -47,13 +47,13 @@ import {
|
|
|
47
47
|
} from "./chunk-ADD4KFPG.js";
|
|
48
48
|
import {
|
|
49
49
|
GoalManageCardRead
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-N7NDDJW5.js";
|
|
51
51
|
import {
|
|
52
52
|
ReportCard
|
|
53
53
|
} from "./chunk-RNRZ3LV7.js";
|
|
54
54
|
import {
|
|
55
55
|
ReservationCard
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-IN6S7PPW.js";
|
|
57
57
|
import {
|
|
58
58
|
OnOfflineRadioCard
|
|
59
59
|
} from "./chunk-M2PVHXOE.js";
|
|
@@ -67,14 +67,14 @@ import "./chunk-SYMOHU2B.js";
|
|
|
67
67
|
import {
|
|
68
68
|
ExpandTable,
|
|
69
69
|
createColumnHelper
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-O5FEYLEG.js";
|
|
71
71
|
import "./chunk-JCG2AUFJ.js";
|
|
72
72
|
import "./chunk-AS7ID74X.js";
|
|
73
73
|
import {
|
|
74
74
|
CurriculumBody
|
|
75
|
-
} from "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
75
|
+
} from "./chunk-B37MCN6F.js";
|
|
76
|
+
import "./chunk-6PFEG7GQ.js";
|
|
77
|
+
import "./chunk-6QVHJ5WW.js";
|
|
78
78
|
import "./chunk-BYFSYL7V.js";
|
|
79
79
|
import "./chunk-6SQZJN5Y.js";
|
|
80
80
|
import "./chunk-NTJLECYY.js";
|
|
@@ -86,7 +86,7 @@ import "./chunk-VK6INFSB.js";
|
|
|
86
86
|
import "./chunk-OILH5J7Q.js";
|
|
87
87
|
import "./chunk-CNW3YEAK.js";
|
|
88
88
|
import "./chunk-OOXXMKJS.js";
|
|
89
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-DQ6EIA2T.js";
|
|
90
90
|
import "./chunk-GMKRNFH5.js";
|
|
91
91
|
import "./chunk-KFUBWOCN.js";
|
|
92
92
|
import {
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
} from "./chunk-6OKBTWEC.js";
|
|
129
129
|
import {
|
|
130
130
|
TagSelector
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-KP4SGRJZ.js";
|
|
132
132
|
import {
|
|
133
133
|
TimeSelect
|
|
134
134
|
} from "./chunk-7PF6I4RN.js";
|
|
@@ -167,7 +167,7 @@ import {
|
|
|
167
167
|
} from "./chunk-5JQOU3IR.js";
|
|
168
168
|
import {
|
|
169
169
|
LearningPost
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-YDNVHAS4.js";
|
|
171
171
|
import {
|
|
172
172
|
ThemeProvider
|
|
173
173
|
} from "./chunk-7FKRQQYK.js";
|
|
@@ -370,7 +370,7 @@ import {
|
|
|
370
370
|
} from "./chunk-K36TPMKL.js";
|
|
371
371
|
import {
|
|
372
372
|
Badge
|
|
373
|
-
} from "./chunk-
|
|
373
|
+
} from "./chunk-KTSEZC6A.js";
|
|
374
374
|
import {
|
|
375
375
|
Blockquote
|
|
376
376
|
} from "./chunk-YGL6SWKN.js";
|
|
@@ -518,7 +518,7 @@ import {
|
|
|
518
518
|
} from "./chunk-2QFSCWES.js";
|
|
519
519
|
import {
|
|
520
520
|
HorizontalBarChart
|
|
521
|
-
} from "./chunk-
|
|
521
|
+
} from "./chunk-RXK3JM34.js";
|
|
522
522
|
import {
|
|
523
523
|
AlertDialog
|
|
524
524
|
} from "./chunk-J242TTFH.js";
|
|
@@ -237,6 +237,13 @@ function useCurriculumReviewContext() {
|
|
|
237
237
|
var import_themes = require("@radix-ui/themes");
|
|
238
238
|
var import_react2 = require("react");
|
|
239
239
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
240
|
+
var SEMANTIC_COLOR_MAP = {
|
|
241
|
+
error: "red",
|
|
242
|
+
neutral: "gray",
|
|
243
|
+
success: "green",
|
|
244
|
+
accent: void 0
|
|
245
|
+
};
|
|
246
|
+
var isSemanticColor = (color) => color !== void 0 && color in SEMANTIC_COLOR_MAP;
|
|
240
247
|
var Badge = (0, import_react2.forwardRef)(
|
|
241
248
|
(props, ref) => {
|
|
242
249
|
const _a = props, { size = "small", color = "accent" } = _a, rest = __objRest(_a, ["size", "color"]);
|
|
@@ -253,17 +260,10 @@ var Badge = (0, import_react2.forwardRef)(
|
|
|
253
260
|
}
|
|
254
261
|
}, [size]);
|
|
255
262
|
const radixColor = (0, import_react2.useMemo)(() => {
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
return "red";
|
|
259
|
-
case "neutral":
|
|
260
|
-
return "gray";
|
|
261
|
-
case "success":
|
|
262
|
-
return "green";
|
|
263
|
-
case "accent":
|
|
264
|
-
default:
|
|
265
|
-
return void 0;
|
|
263
|
+
if (isSemanticColor(color)) {
|
|
264
|
+
return SEMANTIC_COLOR_MAP[color];
|
|
266
265
|
}
|
|
266
|
+
return color;
|
|
267
267
|
}, [color]);
|
|
268
268
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_themes.Badge, __spreadProps(__spreadValues({}, rest), { color: radixColor, ref, size: radixSize }));
|
|
269
269
|
}
|