@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/app/index.js
CHANGED
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
} from "../chunk-O7DAGKLJ.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionReviewSimpleRead
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-KTQREW2K.js";
|
|
24
24
|
import {
|
|
25
25
|
CurriculumCard
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-FMAOB6BX.js";
|
|
27
27
|
import {
|
|
28
28
|
EditCoachingTime
|
|
29
29
|
} from "../chunk-SLFUYRIC.js";
|
|
@@ -35,13 +35,13 @@ import {
|
|
|
35
35
|
} from "../chunk-ADD4KFPG.js";
|
|
36
36
|
import {
|
|
37
37
|
GoalManageCardRead
|
|
38
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-N7NDDJW5.js";
|
|
39
39
|
import {
|
|
40
40
|
ReportCard
|
|
41
41
|
} from "../chunk-RNRZ3LV7.js";
|
|
42
42
|
import {
|
|
43
43
|
ReservationCard
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-IN6S7PPW.js";
|
|
45
45
|
import {
|
|
46
46
|
OnOfflineRadioCard
|
|
47
47
|
} from "../chunk-M2PVHXOE.js";
|
|
@@ -52,12 +52,12 @@ import {
|
|
|
52
52
|
ContentsCard
|
|
53
53
|
} from "../chunk-GVUXGWAM.js";
|
|
54
54
|
import "../chunk-SYMOHU2B.js";
|
|
55
|
-
import "../chunk-
|
|
55
|
+
import "../chunk-O5FEYLEG.js";
|
|
56
56
|
import "../chunk-JCG2AUFJ.js";
|
|
57
57
|
import "../chunk-AS7ID74X.js";
|
|
58
|
-
import "../chunk-
|
|
59
|
-
import "../chunk-
|
|
60
|
-
import "../chunk-
|
|
58
|
+
import "../chunk-B37MCN6F.js";
|
|
59
|
+
import "../chunk-6PFEG7GQ.js";
|
|
60
|
+
import "../chunk-6QVHJ5WW.js";
|
|
61
61
|
import "../chunk-BYFSYL7V.js";
|
|
62
62
|
import "../chunk-6SQZJN5Y.js";
|
|
63
63
|
import "../chunk-NTJLECYY.js";
|
|
@@ -69,7 +69,7 @@ import "../chunk-VK6INFSB.js";
|
|
|
69
69
|
import "../chunk-OILH5J7Q.js";
|
|
70
70
|
import "../chunk-CNW3YEAK.js";
|
|
71
71
|
import "../chunk-OOXXMKJS.js";
|
|
72
|
-
import "../chunk-
|
|
72
|
+
import "../chunk-DQ6EIA2T.js";
|
|
73
73
|
import "../chunk-GMKRNFH5.js";
|
|
74
74
|
import "../chunk-KFUBWOCN.js";
|
|
75
75
|
import "../chunk-REPTW53S.js";
|
|
@@ -89,7 +89,7 @@ import "../chunk-2ISIAPFS.js";
|
|
|
89
89
|
import "../chunk-LE6CNJWH.js";
|
|
90
90
|
import "../chunk-CSKNBWPB.js";
|
|
91
91
|
import "../chunk-6OKBTWEC.js";
|
|
92
|
-
import "../chunk-
|
|
92
|
+
import "../chunk-KP4SGRJZ.js";
|
|
93
93
|
import "../chunk-7PF6I4RN.js";
|
|
94
94
|
import "../chunk-HFVVQEOZ.js";
|
|
95
95
|
import "../chunk-NWJSLIQ3.js";
|
|
@@ -102,7 +102,7 @@ import "../chunk-77H5BUYO.js";
|
|
|
102
102
|
import "../chunk-K7LTEKQS.js";
|
|
103
103
|
import "../chunk-EWFZXCMV.js";
|
|
104
104
|
import "../chunk-5JQOU3IR.js";
|
|
105
|
-
import "../chunk-
|
|
105
|
+
import "../chunk-YDNVHAS4.js";
|
|
106
106
|
import "../chunk-7FKRQQYK.js";
|
|
107
107
|
import "../chunk-JRT6KTBG.js";
|
|
108
108
|
import "../chunk-IJOOKMKQ.js";
|
|
@@ -171,7 +171,7 @@ import "../chunk-NFDQJVFA.js";
|
|
|
171
171
|
import "../chunk-Q37G2GS6.js";
|
|
172
172
|
import "../chunk-6SYFG6YY.js";
|
|
173
173
|
import "../chunk-K36TPMKL.js";
|
|
174
|
-
import "../chunk-
|
|
174
|
+
import "../chunk-KTSEZC6A.js";
|
|
175
175
|
import "../chunk-YGL6SWKN.js";
|
|
176
176
|
import "../chunk-4Y5BEXVN.js";
|
|
177
177
|
import "../chunk-Z34HR7RE.js";
|
|
@@ -112,6 +112,13 @@ Avatar.displayName = "Avatar";
|
|
|
112
112
|
var import_themes4 = require("@radix-ui/themes");
|
|
113
113
|
var import_react2 = require("react");
|
|
114
114
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
115
|
+
var SEMANTIC_COLOR_MAP = {
|
|
116
|
+
error: "red",
|
|
117
|
+
neutral: "gray",
|
|
118
|
+
success: "green",
|
|
119
|
+
accent: void 0
|
|
120
|
+
};
|
|
121
|
+
var isSemanticColor = (color) => color !== void 0 && color in SEMANTIC_COLOR_MAP;
|
|
115
122
|
var Badge = (0, import_react2.forwardRef)(
|
|
116
123
|
(props, ref) => {
|
|
117
124
|
const _a = props, { size = "small", color = "accent" } = _a, rest = __objRest(_a, ["size", "color"]);
|
|
@@ -128,17 +135,10 @@ var Badge = (0, import_react2.forwardRef)(
|
|
|
128
135
|
}
|
|
129
136
|
}, [size]);
|
|
130
137
|
const radixColor = (0, import_react2.useMemo)(() => {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
return "red";
|
|
134
|
-
case "neutral":
|
|
135
|
-
return "gray";
|
|
136
|
-
case "success":
|
|
137
|
-
return "green";
|
|
138
|
-
case "accent":
|
|
139
|
-
default:
|
|
140
|
-
return void 0;
|
|
138
|
+
if (isSemanticColor(color)) {
|
|
139
|
+
return SEMANTIC_COLOR_MAP[color];
|
|
141
140
|
}
|
|
141
|
+
return color;
|
|
142
142
|
}, [color]);
|
|
143
143
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_themes4.Badge, __spreadProps(__spreadValues({}, rest), { color: radixColor, ref, size: radixSize }));
|
|
144
144
|
}
|