@kkcompany/app-ui 0.1.13 → 0.1.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.cjs +5 -6
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +5 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -144,7 +144,8 @@ const videoThumbnailStyles = {
|
|
|
144
144
|
display: "block",
|
|
145
145
|
borderRadius: "4px",
|
|
146
146
|
overflow: "hidden",
|
|
147
|
-
|
|
147
|
+
"-webkit-touch-callout": "none",
|
|
148
|
+
"-webkit-user-select": "none",
|
|
148
149
|
"&:hover::before": { background: "rgba(0,0,0,0.4)" },
|
|
149
150
|
"&::before": {
|
|
150
151
|
content: "\"\"",
|
|
@@ -201,14 +202,14 @@ const tagBaseStyles = {
|
|
|
201
202
|
wordBreak: "keep-all",
|
|
202
203
|
"> div": {
|
|
203
204
|
padding: "3px 6px",
|
|
204
|
-
borderRadius: "
|
|
205
|
+
borderRadius: "2px",
|
|
205
206
|
fontWeight: 600,
|
|
206
207
|
background: "var(--tag-background)",
|
|
207
208
|
boxShadow: "0 2px 4px 0 rgba(0,0,0,0.25)",
|
|
208
209
|
height: "15px",
|
|
209
210
|
lineHeight: "15px",
|
|
210
211
|
"@media (max-width: 600px)": {
|
|
211
|
-
padding: "2px
|
|
212
|
+
padding: "2px 4px",
|
|
212
213
|
height: "11px",
|
|
213
214
|
lineHeight: "11px"
|
|
214
215
|
}
|
|
@@ -313,9 +314,7 @@ const infoStyle = {
|
|
|
313
314
|
justifyContent: "center",
|
|
314
315
|
marginLeft: "1rem",
|
|
315
316
|
height: "auto",
|
|
316
|
-
flex: "1"
|
|
317
|
-
"-webkit-touch-callout": "none",
|
|
318
|
-
"-webkit-user-select": "none"
|
|
317
|
+
flex: "1"
|
|
319
318
|
},
|
|
320
319
|
"@media (min-width: 601px)": {
|
|
321
320
|
"--description-line-clamp": 3,
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _emotion_react_jsx_runtime0 from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { ElementType, MouseEventHandler, ReactElement, ReactNode } from "react";
|
|
3
3
|
import { CSSObject } from "@emotion/react";
|
|
4
4
|
import Link from "next/link";
|
|
@@ -10,7 +10,7 @@ declare const Icon: ({
|
|
|
10
10
|
}: {
|
|
11
11
|
style?: {};
|
|
12
12
|
src: any;
|
|
13
|
-
}) =>
|
|
13
|
+
}) => _emotion_react_jsx_runtime0.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/SeeMore.d.ts
|
|
16
16
|
declare const defaultMessages: {
|
|
@@ -26,7 +26,7 @@ declare const SeeMore: ({
|
|
|
26
26
|
style?: CSSObject;
|
|
27
27
|
messages?: typeof defaultMessages;
|
|
28
28
|
children?: ReactNode;
|
|
29
|
-
}) =>
|
|
29
|
+
}) => _emotion_react_jsx_runtime0.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
//#region src/VideoItem.d.ts
|
|
32
32
|
type VideoDetail = {
|
|
@@ -88,6 +88,6 @@ declare const VideoThumbnail: ({
|
|
|
88
88
|
Image?: ElementType;
|
|
89
89
|
};
|
|
90
90
|
onClick?: MouseEventHandler<HTMLAnchorElement>;
|
|
91
|
-
}) =>
|
|
91
|
+
}) => _emotion_react_jsx_runtime0.JSX.Element;
|
|
92
92
|
//#endregion
|
|
93
93
|
export { Icon, SeeMore, VideoItem, VideoThumbnail };
|
package/dist/index.mjs
CHANGED
|
@@ -144,7 +144,8 @@ const videoThumbnailStyles = {
|
|
|
144
144
|
display: "block",
|
|
145
145
|
borderRadius: "4px",
|
|
146
146
|
overflow: "hidden",
|
|
147
|
-
|
|
147
|
+
"-webkit-touch-callout": "none",
|
|
148
|
+
"-webkit-user-select": "none",
|
|
148
149
|
"&:hover::before": { background: "rgba(0,0,0,0.4)" },
|
|
149
150
|
"&::before": {
|
|
150
151
|
content: "\"\"",
|
|
@@ -201,14 +202,14 @@ const tagBaseStyles = {
|
|
|
201
202
|
wordBreak: "keep-all",
|
|
202
203
|
"> div": {
|
|
203
204
|
padding: "3px 6px",
|
|
204
|
-
borderRadius: "
|
|
205
|
+
borderRadius: "2px",
|
|
205
206
|
fontWeight: 600,
|
|
206
207
|
background: "var(--tag-background)",
|
|
207
208
|
boxShadow: "0 2px 4px 0 rgba(0,0,0,0.25)",
|
|
208
209
|
height: "15px",
|
|
209
210
|
lineHeight: "15px",
|
|
210
211
|
"@media (max-width: 600px)": {
|
|
211
|
-
padding: "2px
|
|
212
|
+
padding: "2px 4px",
|
|
212
213
|
height: "11px",
|
|
213
214
|
lineHeight: "11px"
|
|
214
215
|
}
|
|
@@ -313,9 +314,7 @@ const infoStyle = {
|
|
|
313
314
|
justifyContent: "center",
|
|
314
315
|
marginLeft: "1rem",
|
|
315
316
|
height: "auto",
|
|
316
|
-
flex: "1"
|
|
317
|
-
"-webkit-touch-callout": "none",
|
|
318
|
-
"-webkit-user-select": "none"
|
|
317
|
+
flex: "1"
|
|
319
318
|
},
|
|
320
319
|
"@media (min-width: 601px)": {
|
|
321
320
|
"--description-line-clamp": 3,
|