@tipp/ui 1.6.21 → 1.6.22

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 (63) hide show
  1. package/dist/app/index.cjs +8 -15
  2. package/dist/app/index.cjs.map +1 -1
  3. package/dist/app/index.js +1 -1
  4. package/dist/app/platform/contents-card.cjs +592 -27
  5. package/dist/app/platform/contents-card.cjs.map +1 -1
  6. package/dist/app/platform/contents-card.js +52 -1
  7. package/dist/atoms/button.d.cts +1 -1
  8. package/dist/atoms/button.d.ts +1 -1
  9. package/dist/chunk-3K3WU7XM.js +145 -0
  10. package/dist/chunk-3K3WU7XM.js.map +1 -0
  11. package/dist/chunk-44STOGYA.js +164 -0
  12. package/dist/chunk-44STOGYA.js.map +1 -0
  13. package/dist/chunk-53ZJS5JI.js +111 -0
  14. package/dist/chunk-53ZJS5JI.js.map +1 -0
  15. package/dist/chunk-6LV4UGX5.js +165 -0
  16. package/dist/chunk-6LV4UGX5.js.map +1 -0
  17. package/dist/chunk-6RT2RUZ2.js +145 -0
  18. package/dist/chunk-6RT2RUZ2.js.map +1 -0
  19. package/dist/chunk-7CANQHBM.js +117 -0
  20. package/dist/chunk-7CANQHBM.js.map +1 -0
  21. package/dist/chunk-7WJGYLRQ.js +99 -0
  22. package/dist/chunk-7WJGYLRQ.js.map +1 -0
  23. package/dist/chunk-ABZVJJ4O.js +74 -0
  24. package/dist/chunk-ABZVJJ4O.js.map +1 -0
  25. package/dist/chunk-BBEZXZQH.js +284 -0
  26. package/dist/chunk-BBEZXZQH.js.map +1 -0
  27. package/dist/chunk-CUVAI5MJ.js +117 -0
  28. package/dist/chunk-CUVAI5MJ.js.map +1 -0
  29. package/dist/chunk-FBOJKLC6.js +64 -0
  30. package/dist/chunk-FBOJKLC6.js.map +1 -0
  31. package/dist/chunk-HXJYOUBE.js +30 -0
  32. package/dist/chunk-HXJYOUBE.js.map +1 -0
  33. package/dist/chunk-KCGIEABE.js +117 -0
  34. package/dist/chunk-KCGIEABE.js.map +1 -0
  35. package/dist/chunk-L5XYBDEW.js +116 -0
  36. package/dist/chunk-L5XYBDEW.js.map +1 -0
  37. package/dist/chunk-MWBEL3OY.js +111 -0
  38. package/dist/chunk-MWBEL3OY.js.map +1 -0
  39. package/dist/chunk-O5H5SQHB.js +110 -0
  40. package/dist/chunk-O5H5SQHB.js.map +1 -0
  41. package/dist/chunk-QGXLI3QC.js +111 -0
  42. package/dist/chunk-QGXLI3QC.js.map +1 -0
  43. package/dist/chunk-RPTU2HZS.js +111 -0
  44. package/dist/chunk-RPTU2HZS.js.map +1 -0
  45. package/dist/chunk-RVLCXUJU.js +113 -0
  46. package/dist/chunk-RVLCXUJU.js.map +1 -0
  47. package/dist/chunk-VKGTIYVH.js +63 -0
  48. package/dist/chunk-VKGTIYVH.js.map +1 -0
  49. package/dist/chunk-VR25ARRS.js +60 -0
  50. package/dist/chunk-VR25ARRS.js.map +1 -0
  51. package/dist/chunk-WEU6WLM4.js +39 -0
  52. package/dist/chunk-WEU6WLM4.js.map +1 -0
  53. package/dist/chunk-YC6CJEKF.js +102 -0
  54. package/dist/chunk-YC6CJEKF.js.map +1 -0
  55. package/dist/chunk-YMKOJKGY.js +145 -0
  56. package/dist/chunk-YMKOJKGY.js.map +1 -0
  57. package/dist/chunk-YTBR7GSV.js +111 -0
  58. package/dist/chunk-YTBR7GSV.js.map +1 -0
  59. package/dist/index.cjs +8 -15
  60. package/dist/index.cjs.map +1 -1
  61. package/dist/index.js +1 -1
  62. package/package.json +1 -1
  63. package/src/app/platform/contents-card.tsx +22 -26
package/dist/index.js CHANGED
@@ -41,7 +41,7 @@ import {
41
41
  } from "./chunk-I7VFM7I6.js";
42
42
  import {
43
43
  ContentsCard
44
- } from "./chunk-Z2UO6V3A.js";
44
+ } from "./chunk-L5XYBDEW.js";
45
45
  import {
46
46
  CurriculumCard
47
47
  } from "./chunk-4DB5HWFL.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tipp/ui",
3
- "version": "1.6.21",
3
+ "version": "1.6.22",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {
@@ -8,6 +8,7 @@ import { Grid } from '@/atoms/grid';
8
8
  import { Skeleton } from '@/atoms/skeleton';
9
9
  import { Typo } from '@/atoms/typo';
10
10
  import { DotsVerticalIcon } from '@/icon';
11
+ import { Card, Inset } from '@/atoms';
11
12
 
12
13
  export interface ContentsCardProps {
13
14
  title?: React.ReactNode;
@@ -38,37 +39,32 @@ export const ContentsCard = forwardRef<HTMLDivElement, ContentsCardProps>(
38
39
  ref
39
40
  ): React.ReactElement => {
40
41
  return (
41
- <Flex
42
- className="hover-shadow"
43
- direction="column"
44
- height="100%"
45
- m="0"
42
+ <Card
46
43
  onClick={onClickCard}
47
44
  ref={ref}
48
45
  style={{
49
- backgroundColor: 'var(--color-panel)',
50
- borderRadius: 'var(--radius-5)',
51
- overflow: 'hidden',
46
+ height: '100%',
47
+ width: '100%',
48
+ display: 'grid',
52
49
  cursor: 'pointer',
53
50
  }}
54
- width="100%"
55
51
  >
56
52
  {/* 섬네일 */}
57
- <Skeleton loading={isLoading}>
58
- <Box
59
- height="210px"
60
- style={{
61
- borderTopLeftRadius: 'var(--radius-4)',
62
- borderTopRightRadius: 'var(--radius-4)',
63
- backgroundImage: `url(${imageSrc})`,
64
- backgroundSize: 'cover',
65
- backgroundPosition: 'center',
66
- }}
67
- width="100%"
68
- />
69
- </Skeleton>
53
+ <Inset clip="padding-box" pb="0" side="top">
54
+ <Skeleton loading={isLoading}>
55
+ <Box
56
+ height="210px"
57
+ style={{
58
+ backgroundImage: `url(${imageSrc})`,
59
+ backgroundSize: 'cover',
60
+ backgroundPosition: 'center',
61
+ }}
62
+ width="100%"
63
+ />
64
+ </Skeleton>
65
+ </Inset>
70
66
  {/* 제목, 설명 */}
71
- <Box p="5">
67
+ <Flex direction="column" p="4" pb="3">
72
68
  <Box>
73
69
  <Skeleton loading={isLoading}>
74
70
  <Heading mb="3" variant="heading5">
@@ -85,7 +81,7 @@ export const ContentsCard = forwardRef<HTMLDivElement, ContentsCardProps>(
85
81
  align="center"
86
82
  columns="1fr auto"
87
83
  justify="between"
88
- py="2"
84
+ pt="2"
89
85
  style={{ marginTop: 'auto' }}
90
86
  width="100%"
91
87
  >
@@ -117,8 +113,8 @@ export const ContentsCard = forwardRef<HTMLDivElement, ContentsCardProps>(
117
113
  </DropdownMenu.Root>
118
114
  )}
119
115
  </Grid>
120
- </Box>
121
- </Flex>
116
+ </Flex>
117
+ </Card>
122
118
  );
123
119
  }
124
120
  );