@dotss/tictoccroc 0.0.13 → 0.0.15
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/index.mjs +143 -112
- package/dist/shared/components/ChatKit/BotMessage/BotMessage.d.ts +29 -0
- package/dist/shared/components/ChatKit/BotMessage/BotMessage.mjs +174 -0
- package/dist/shared/components/ChatKit/BotMessage/BotMessage.utils.d.ts +8 -0
- package/dist/shared/components/ChatKit/BotMessage/BotMessage.utils.mjs +51 -0
- package/dist/shared/components/ChatKit/BotMessage/index.d.ts +4 -0
- package/dist/shared/components/ChatKit/BotMessage/index.mjs +8 -0
- package/dist/shared/components/ChatKit/InputBar/InputBar.d.ts +9 -0
- package/dist/shared/components/ChatKit/InputBar/InputBar.fallback.d.ts +2 -0
- package/dist/shared/components/ChatKit/InputBar/InputBar.fallback.mjs +85 -0
- package/dist/shared/components/ChatKit/InputBar/InputBar.mjs +130 -0
- package/dist/shared/components/ChatKit/InputBar/index.d.ts +4 -0
- package/dist/shared/components/ChatKit/InputBar/index.mjs +6 -0
- package/dist/shared/components/ChatKit/Message/Message.d.ts +40 -0
- package/dist/shared/components/ChatKit/Message/Message.fallback.d.ts +9 -0
- package/dist/shared/components/ChatKit/Message/Message.fallback.mjs +59 -0
- package/dist/shared/components/ChatKit/Message/Message.mjs +237 -0
- package/dist/shared/components/ChatKit/Message/Message.utils.d.ts +16 -0
- package/dist/shared/components/ChatKit/Message/Message.utils.mjs +34 -0
- package/dist/shared/components/ChatKit/Message/index.d.ts +5 -0
- package/dist/shared/components/ChatKit/Message/index.mjs +9 -0
- package/dist/shared/components/ChatKit/Seperator/Seperator.d.ts +6 -0
- package/dist/shared/components/ChatKit/Seperator/Seperator.mjs +29 -0
- package/dist/shared/components/ChatKit/Seperator/index.d.ts +3 -0
- package/dist/shared/components/ChatKit/Seperator/index.mjs +4 -0
- package/dist/shared/components/ChatKit/SystemMessage/(Actions)/DirectTrageRiskInfoBottomSheet/DirectTrageRiskInfoBottomSheet.d.ts +7 -0
- package/dist/shared/components/ChatKit/SystemMessage/(Actions)/DirectTrageRiskInfoBottomSheet/DirectTrageRiskInfoBottomSheet.mjs +120 -0
- package/dist/shared/components/ChatKit/SystemMessage/SystemMessage.d.ts +15 -0
- package/dist/shared/components/ChatKit/SystemMessage/SystemMessage.mjs +107 -0
- package/dist/shared/components/ChatKit/SystemMessage/SystemMessage.utils.d.ts +2 -0
- package/dist/shared/components/ChatKit/SystemMessage/SystemMessage.utils.mjs +6 -0
- package/dist/shared/components/ChatKit/SystemMessage/index.d.ts +5 -0
- package/dist/shared/components/ChatKit/SystemMessage/index.mjs +8 -0
- package/dist/shared/components/ChatKit/UnreadMessagePill/UnreadMessagePill.d.ts +7 -0
- package/dist/shared/components/ChatKit/UnreadMessagePill/UnreadMessagePill.mjs +55 -0
- package/dist/shared/components/ChatKit/UnreadMessagePill/index.d.ts +3 -0
- package/dist/shared/components/ChatKit/UnreadMessagePill/index.mjs +4 -0
- package/dist/shared/components/ChatKit/index.d.ts +12 -0
- package/dist/shared/components/ChatKit/index.mjs +29 -0
- package/dist/shared/components/Image/Image.mjs +59 -57
- package/dist/shared/components/MediaDialog/MediaBlock/MediaBlock.mjs +13 -14
- package/dist/shared/components/index.d.ts +2 -0
- package/dist/shared/components/index.mjs +65 -38
- package/dist/shared/hooks/index.d.ts +1 -0
- package/dist/shared/hooks/index.mjs +2 -0
- package/dist/shared/hooks/useInView/index.d.ts +2 -0
- package/dist/shared/hooks/useInView/index.mjs +4 -0
- package/dist/shared/hooks/useInView/useInView.d.ts +4 -0
- package/dist/shared/hooks/useInView/useInView.mjs +30 -0
- package/dist/shared/utils/getCareTypeLabel/getCareTypeLabel.d.ts +1 -0
- package/dist/shared/utils/getCareTypeLabel/getCareTypeLabel.mjs +21 -0
- package/dist/shared/utils/getCareTypeLabel/getCareTypeLabel.test.d.ts +1 -0
- package/dist/shared/utils/getCareTypeLabel/index.d.ts +2 -0
- package/dist/shared/utils/getCareTypeLabel/index.mjs +4 -0
- package/dist/shared/utils/index.d.ts +1 -0
- package/dist/shared/utils/index.mjs +12 -10
- package/dist/teacher/home/components/BannerAccount/BannerAccount.d.ts +3 -1
- package/dist/teacher/home/components/BannerAccount/BannerAccount.mjs +21 -20
- package/dist/teacher/home/components/Carousel1Account/Carousel1Account.d.ts +3 -1
- package/dist/teacher/home/components/Carousel1Account/Carousel1Account.mjs +22 -14
- package/dist/teacher/home/components/Carousel2Account/Carousel2Account.d.ts +3 -1
- package/dist/teacher/home/components/Carousel2Account/Carousel2Account.mjs +22 -14
- package/dist/teacher/home/components/TextAccount/TextAccount.d.ts +3 -1
- package/dist/teacher/home/components/TextAccount/TextAccount.mjs +21 -13
- package/package.json +1 -1
|
@@ -1,16 +1,23 @@
|
|
|
1
1
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import S from "@dotss/ui/core/useTheme";
|
|
3
3
|
import i from "@dotss/ui/Flexbox";
|
|
4
|
-
import { useCheckHoverPossible as
|
|
5
|
-
import
|
|
4
|
+
import { useCheckHoverPossible as x } from "@dotss/ui/hooks";
|
|
5
|
+
import C from "@dotss/ui/Icon";
|
|
6
6
|
import d from "@dotss/ui/Typography";
|
|
7
|
-
import
|
|
7
|
+
import v from "../../../../shared/components/Image/Image.mjs";
|
|
8
8
|
import "@dotss/ui";
|
|
9
|
-
function
|
|
10
|
-
|
|
9
|
+
function P({
|
|
10
|
+
id: a,
|
|
11
|
+
title: p,
|
|
12
|
+
banners: s,
|
|
13
|
+
onClickBanner: n,
|
|
14
|
+
imageProps: g,
|
|
15
|
+
...f
|
|
16
|
+
}) {
|
|
17
|
+
const { spacing: o, palette: c } = S(), { isHoverPossible: u } = x(), b = (r) => (t) => {
|
|
11
18
|
n && typeof n == "function" && (t.stopPropagation(), t.preventDefault(), n(r, t));
|
|
12
19
|
};
|
|
13
|
-
return /* @__PURE__ */ m(i, { tag: "section", flexDirection: "column", inlineCSS: { width: "100%" }, ...
|
|
20
|
+
return /* @__PURE__ */ m(i, { tag: "section", flexDirection: "column", inlineCSS: { width: "100%" }, ...f, children: [
|
|
14
21
|
/* @__PURE__ */ e(
|
|
15
22
|
d,
|
|
16
23
|
{
|
|
@@ -32,13 +39,13 @@ function F({ id: a, title: p, banners: s, onClickBanner: n, ...g }) {
|
|
|
32
39
|
p: 4,
|
|
33
40
|
gap: 3,
|
|
34
41
|
alignItems: "center",
|
|
35
|
-
onClick:
|
|
42
|
+
onClick: b(l),
|
|
36
43
|
inlineCSS: {
|
|
37
44
|
width: "100%",
|
|
38
45
|
"&:focus-within": {
|
|
39
46
|
backgroundColor: c.grey[10]
|
|
40
47
|
},
|
|
41
|
-
...
|
|
48
|
+
...u ? {
|
|
42
49
|
"&:hover": {
|
|
43
50
|
backgroundColor: c.grey[10]
|
|
44
51
|
}
|
|
@@ -54,14 +61,15 @@ function F({ id: a, title: p, banners: s, onClickBanner: n, ...g }) {
|
|
|
54
61
|
overflow: "hidden"
|
|
55
62
|
},
|
|
56
63
|
children: /* @__PURE__ */ e(
|
|
57
|
-
|
|
64
|
+
v,
|
|
58
65
|
{
|
|
59
66
|
width: 100,
|
|
60
67
|
height: 78,
|
|
61
68
|
src: h,
|
|
62
69
|
alt: `${t} 이미지`,
|
|
63
70
|
enableFallback: !0,
|
|
64
|
-
enableErrorFallback: !0
|
|
71
|
+
enableErrorFallback: !0,
|
|
72
|
+
...g
|
|
65
73
|
}
|
|
66
74
|
)
|
|
67
75
|
}
|
|
@@ -84,7 +92,7 @@ function F({ id: a, title: p, banners: s, onClickBanner: n, ...g }) {
|
|
|
84
92
|
inlineCSS: {
|
|
85
93
|
whiteSpace: "nowrap"
|
|
86
94
|
},
|
|
87
|
-
children: /* @__PURE__ */ e(
|
|
95
|
+
children: /* @__PURE__ */ e(C, { name: "ChevronRightLine", size: "xSmall", color: "grey.50" })
|
|
88
96
|
}
|
|
89
97
|
)
|
|
90
98
|
]
|
|
@@ -93,5 +101,5 @@ function F({ id: a, title: p, banners: s, onClickBanner: n, ...g }) {
|
|
|
93
101
|
] });
|
|
94
102
|
}
|
|
95
103
|
export {
|
|
96
|
-
|
|
104
|
+
P as default
|
|
97
105
|
};
|
package/package.json
CHANGED