@tipp/ui 1.2.21 → 1.3.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.
Files changed (134) hide show
  1. package/dist/chunk-2UZBUVJL.js +123 -0
  2. package/dist/chunk-2UZBUVJL.js.map +1 -0
  3. package/dist/chunk-3AEOJKJI.js +123 -0
  4. package/dist/chunk-3AEOJKJI.js.map +1 -0
  5. package/dist/chunk-4LZTPZ5T.js +340 -0
  6. package/dist/chunk-4LZTPZ5T.js.map +1 -0
  7. package/dist/chunk-5X3BCQPR.js +128 -0
  8. package/dist/chunk-5X3BCQPR.js.map +1 -0
  9. package/dist/chunk-645IUNKJ.js +164 -0
  10. package/dist/chunk-645IUNKJ.js.map +1 -0
  11. package/dist/chunk-6F2NKWN6.js +128 -0
  12. package/dist/chunk-6F2NKWN6.js.map +1 -0
  13. package/dist/chunk-6IPYGPBK.js +145 -0
  14. package/dist/chunk-6IPYGPBK.js.map +1 -0
  15. package/dist/chunk-6QQPOAYW.js +145 -0
  16. package/dist/chunk-6QQPOAYW.js.map +1 -0
  17. package/dist/chunk-6YBBHIKU.js +340 -0
  18. package/dist/chunk-6YBBHIKU.js.map +1 -0
  19. package/dist/chunk-6ZAP2Q6K.js +1 -0
  20. package/dist/chunk-6ZAP2Q6K.js.map +1 -0
  21. package/dist/chunk-73RRM3PM.js +123 -0
  22. package/dist/chunk-73RRM3PM.js.map +1 -0
  23. package/dist/chunk-75PG3OYR.js +183 -0
  24. package/dist/chunk-75PG3OYR.js.map +1 -0
  25. package/dist/chunk-A5QAIT36.js +173 -0
  26. package/dist/chunk-A5QAIT36.js.map +1 -0
  27. package/dist/chunk-AQOEKDWM.js +145 -0
  28. package/dist/chunk-AQOEKDWM.js.map +1 -0
  29. package/dist/chunk-BVNXAZ4W.js +15 -0
  30. package/dist/chunk-BVNXAZ4W.js.map +1 -0
  31. package/dist/chunk-C2X3WJR3.js +183 -0
  32. package/dist/chunk-C2X3WJR3.js.map +1 -0
  33. package/dist/chunk-C4ELQHF2.js +145 -0
  34. package/dist/chunk-C4ELQHF2.js.map +1 -0
  35. package/dist/chunk-CG4SCRPG.js +123 -0
  36. package/dist/chunk-CG4SCRPG.js.map +1 -0
  37. package/dist/chunk-CTKB7XD7.js +173 -0
  38. package/dist/chunk-CTKB7XD7.js.map +1 -0
  39. package/dist/chunk-DGIUCAZZ.js +164 -0
  40. package/dist/chunk-DGIUCAZZ.js.map +1 -0
  41. package/dist/chunk-DYKEZ7NH.js +123 -0
  42. package/dist/chunk-DYKEZ7NH.js.map +1 -0
  43. package/dist/chunk-EMCXUIHP.js +161 -0
  44. package/dist/chunk-EMCXUIHP.js.map +1 -0
  45. package/dist/chunk-FA5LZP3V.js +161 -0
  46. package/dist/chunk-FA5LZP3V.js.map +1 -0
  47. package/dist/chunk-FIIIEJLL.js +164 -0
  48. package/dist/chunk-FIIIEJLL.js.map +1 -0
  49. package/dist/chunk-G3F273US.js +161 -0
  50. package/dist/chunk-G3F273US.js.map +1 -0
  51. package/dist/chunk-GNHIR74H.js +340 -0
  52. package/dist/chunk-GNHIR74H.js.map +1 -0
  53. package/dist/chunk-GOMNN3RB.js +164 -0
  54. package/dist/chunk-GOMNN3RB.js.map +1 -0
  55. package/dist/chunk-HLFIBPJT.js +123 -0
  56. package/dist/chunk-HLFIBPJT.js.map +1 -0
  57. package/dist/chunk-IE7LZPQS.js +161 -0
  58. package/dist/chunk-IE7LZPQS.js.map +1 -0
  59. package/dist/chunk-IM7DSIK2.js +128 -0
  60. package/dist/chunk-IM7DSIK2.js.map +1 -0
  61. package/dist/chunk-J3EDICNX.js +176 -0
  62. package/dist/chunk-J3EDICNX.js.map +1 -0
  63. package/dist/chunk-J75G72IG.js +123 -0
  64. package/dist/chunk-J75G72IG.js.map +1 -0
  65. package/dist/chunk-JOGHKB3I.js +123 -0
  66. package/dist/chunk-JOGHKB3I.js.map +1 -0
  67. package/dist/chunk-K5YOXMCZ.js +183 -0
  68. package/dist/chunk-K5YOXMCZ.js.map +1 -0
  69. package/dist/chunk-LCFIXFMZ.js +161 -0
  70. package/dist/chunk-LCFIXFMZ.js.map +1 -0
  71. package/dist/chunk-MV5RAZYM.js +130 -0
  72. package/dist/chunk-MV5RAZYM.js.map +1 -0
  73. package/dist/chunk-NFAO4ZOY.js +145 -0
  74. package/dist/chunk-NFAO4ZOY.js.map +1 -0
  75. package/dist/chunk-NFNLPXUN.js +161 -0
  76. package/dist/chunk-NFNLPXUN.js.map +1 -0
  77. package/dist/chunk-OAFZJPCX.js +127 -0
  78. package/dist/chunk-OAFZJPCX.js.map +1 -0
  79. package/dist/chunk-QQC7RJJV.js +145 -0
  80. package/dist/chunk-QQC7RJJV.js.map +1 -0
  81. package/dist/chunk-R4OEICEH.js +173 -0
  82. package/dist/chunk-R4OEICEH.js.map +1 -0
  83. package/dist/chunk-SJJRMOZT.js +123 -0
  84. package/dist/chunk-SJJRMOZT.js.map +1 -0
  85. package/dist/chunk-SK42QINW.js +183 -0
  86. package/dist/chunk-SK42QINW.js.map +1 -0
  87. package/dist/chunk-TVPONI3Y.js +340 -0
  88. package/dist/chunk-TVPONI3Y.js.map +1 -0
  89. package/dist/chunk-UNETGTV5.js +161 -0
  90. package/dist/chunk-UNETGTV5.js.map +1 -0
  91. package/dist/chunk-URPUEA3G.js +130 -0
  92. package/dist/chunk-URPUEA3G.js.map +1 -0
  93. package/dist/chunk-VCWF3AHX.js +173 -0
  94. package/dist/chunk-VCWF3AHX.js.map +1 -0
  95. package/dist/chunk-VEM3E4QK.js +175 -0
  96. package/dist/chunk-VEM3E4QK.js.map +1 -0
  97. package/dist/chunk-VGORTGYC.js +176 -0
  98. package/dist/chunk-VGORTGYC.js.map +1 -0
  99. package/dist/chunk-WB5DTU6Y.js +123 -0
  100. package/dist/chunk-WB5DTU6Y.js.map +1 -0
  101. package/dist/chunk-WHOLYNTB.js +123 -0
  102. package/dist/chunk-WHOLYNTB.js.map +1 -0
  103. package/dist/chunk-Y4QN32UT.js +340 -0
  104. package/dist/chunk-Y4QN32UT.js.map +1 -0
  105. package/dist/chunk-YDYRNWR7.js +128 -0
  106. package/dist/chunk-YDYRNWR7.js.map +1 -0
  107. package/dist/chunk-YQSWQ7WB.js +169 -0
  108. package/dist/chunk-YQSWQ7WB.js.map +1 -0
  109. package/dist/index.cjs +134 -4
  110. package/dist/index.cjs.map +1 -1
  111. package/dist/index.css +2055 -0
  112. package/dist/index.css.map +1 -1
  113. package/dist/index.d.cts +2 -1
  114. package/dist/index.d.ts +2 -1
  115. package/dist/index.js +11 -7
  116. package/dist/molecules/index.cjs +181 -38
  117. package/dist/molecules/index.cjs.map +1 -1
  118. package/dist/molecules/index.d.cts +3 -0
  119. package/dist/molecules/index.d.ts +3 -0
  120. package/dist/molecules/index.js +6 -1
  121. package/dist/molecules/learning-post.cjs +339 -0
  122. package/dist/molecules/learning-post.cjs.map +1 -0
  123. package/dist/molecules/learning-post.d.cts +22 -0
  124. package/dist/molecules/learning-post.d.ts +22 -0
  125. package/dist/molecules/learning-post.js +17 -0
  126. package/dist/molecules/learning-post.js.map +1 -0
  127. package/dist/theme/theme-provider.cjs.map +1 -1
  128. package/dist/theme/theme-provider.d.cts +1 -1
  129. package/dist/theme/theme-provider.d.ts +1 -1
  130. package/dist/theme/theme-provider.js +1 -1
  131. package/package.json +3 -3
  132. package/src/molecules/index.ts +2 -1
  133. package/src/molecules/learning-post.tsx +143 -0
  134. package/src/theme/theme-provider.tsx +1 -1
package/dist/index.d.cts CHANGED
@@ -25,7 +25,8 @@ export { DatePicker, DatePickerProps } from './molecules/date-picker/index.cjs';
25
25
  export { DotNavigation, DotNavigationProps } from './molecules/dot-navigation.cjs';
26
26
  export { Stepper } from './molecules/stepper.cjs';
27
27
  export { TagSelector, TagSelectorProps } from './molecules/tag-selector.cjs';
28
- export { ThemeProvider } from './theme/theme-provider.cjs';
28
+ export { LearningPost, LearningPostProps } from './molecules/learning-post.cjs';
29
+ export { ThemeProvider, ThemeProviderProps } from './theme/theme-provider.cjs';
29
30
  import * as index_js from '@radix-ui/themes/dist/cjs/props/index.js';
30
31
  export { index_js as uiProps };
31
32
  export { ArchiveIcon, BackpackIcon, BarChartIcon, BookmarkFilledIcon, BookmarkIcon, CalendarIcon, ChatBubbleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClipboardCopyIcon, ClipboardIcon, Cross1Icon, DotsHorizontalIcon, DotsVerticalIcon, DoubleArrowLeftIcon, DoubleArrowRightIcon, ExclamationTriangleIcon, ExitIcon, FileIcon, GearIcon, GlobeIcon, InfoCircledIcon, Link2Icon, MagnifyingGlassIcon, MixerHorizontalIcon, Pencil1Icon, PersonIcon, PlusIcon, RowsIcon, Share1Icon, TrashIcon } from '@radix-ui/react-icons';
package/dist/index.d.ts CHANGED
@@ -25,7 +25,8 @@ export { DatePicker, DatePickerProps } from './molecules/date-picker/index.js';
25
25
  export { DotNavigation, DotNavigationProps } from './molecules/dot-navigation.js';
26
26
  export { Stepper } from './molecules/stepper.js';
27
27
  export { TagSelector, TagSelectorProps } from './molecules/tag-selector.js';
28
- export { ThemeProvider } from './theme/theme-provider.js';
28
+ export { LearningPost, LearningPostProps } from './molecules/learning-post.js';
29
+ export { ThemeProvider, ThemeProviderProps } from './theme/theme-provider.js';
29
30
  import * as index_js from '@radix-ui/themes/dist/cjs/props/index.js';
30
31
  export { index_js as uiProps };
31
32
  export { ArchiveIcon, BackpackIcon, BarChartIcon, BookmarkFilledIcon, BookmarkIcon, CalendarIcon, ChatBubbleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClipboardCopyIcon, ClipboardIcon, Cross1Icon, DotsHorizontalIcon, DotsVerticalIcon, DoubleArrowLeftIcon, DoubleArrowRightIcon, ExclamationTriangleIcon, ExitIcon, FileIcon, GearIcon, GlobeIcon, InfoCircledIcon, Link2Icon, MagnifyingGlassIcon, MixerHorizontalIcon, Pencil1Icon, PersonIcon, PlusIcon, RowsIcon, Share1Icon, TrashIcon } from '@radix-ui/react-icons';
package/dist/index.js CHANGED
@@ -8,7 +8,10 @@ import {
8
8
  import {
9
9
  scrollTo
10
10
  } from "./chunk-ZXQZRIRS.js";
11
- import "./chunk-O4ZYERRL.js";
11
+ import {
12
+ useThemeContext
13
+ } from "./chunk-MMGP4GEQ.js";
14
+ import "./chunk-6ZAP2Q6K.js";
12
15
  import {
13
16
  DatePicker
14
17
  } from "./chunk-2QDLO3YM.js";
@@ -20,6 +23,12 @@ import "./chunk-X5FVSTHW.js";
20
23
  import {
21
24
  DotNavigation
22
25
  } from "./chunk-EDTEVEJW.js";
26
+ import {
27
+ LearningPost
28
+ } from "./chunk-FIIIEJLL.js";
29
+ import {
30
+ ThemeProvider
31
+ } from "./chunk-BVNXAZ4W.js";
23
32
  import {
24
33
  Navigation
25
34
  } from "./chunk-PPO64OK7.js";
@@ -29,12 +38,6 @@ import {
29
38
  import {
30
39
  TagSelector
31
40
  } from "./chunk-NUEMI3QO.js";
32
- import {
33
- ThemeProvider
34
- } from "./chunk-BVBX6IJ3.js";
35
- import {
36
- useThemeContext
37
- } from "./chunk-MMGP4GEQ.js";
38
41
  import "./chunk-BSTJBBEX.js";
39
42
  import "./chunk-NDUKDKGB.js";
40
43
  import "./chunk-76JGDATZ.js";
@@ -314,6 +317,7 @@ export {
314
317
  InfoCircledIcon,
315
318
  Inset,
316
319
  Kbd,
320
+ LearningPost,
317
321
  Link,
318
322
  Link2Icon,
319
323
  MagnifyingGlassIcon,
@@ -62,6 +62,7 @@ __export(molecules_exports, {
62
62
  DatePicker: () => DatePicker,
63
63
  DotNavigation: () => DotNavigation,
64
64
  ExpandTable: () => ExpandTable,
65
+ LearningPost: () => LearningPost,
65
66
  Navigation: () => Navigation,
66
67
  Stepper: () => Stepper,
67
68
  TagSelector: () => TagSelector,
@@ -73,8 +74,11 @@ module.exports = __toCommonJS(molecules_exports);
73
74
  var import_react_table2 = require("@tanstack/react-table");
74
75
  var import_react9 = require("react");
75
76
 
76
- // src/atoms/avatar.tsx
77
+ // src/atoms/aspect-ratio.tsx
77
78
  var import_themes = require("@radix-ui/themes");
79
+
80
+ // src/atoms/avatar.tsx
81
+ var import_themes2 = require("@radix-ui/themes");
78
82
  var import_react = require("react");
79
83
  var import_jsx_runtime = require("react/jsx-runtime");
80
84
  var Avatar = (0, import_react.forwardRef)(
@@ -94,13 +98,13 @@ var Avatar = (0, import_react.forwardRef)(
94
98
  return size;
95
99
  }
96
100
  }, [size]);
97
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes.Avatar, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, variant, children }));
101
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_themes2.Avatar, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, variant, children }));
98
102
  }
99
103
  );
100
104
  Avatar.displayName = "Avatar";
101
105
 
102
106
  // src/atoms/badge.tsx
103
- var import_themes2 = require("@radix-ui/themes");
107
+ var import_themes3 = require("@radix-ui/themes");
104
108
  var import_react2 = require("react");
105
109
  var import_jsx_runtime2 = require("react/jsx-runtime");
106
110
  var Badge = (0, import_react2.forwardRef)(
@@ -131,13 +135,16 @@ var Badge = (0, import_react2.forwardRef)(
131
135
  return void 0;
132
136
  }
133
137
  }, [color]);
134
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_themes2.Badge, __spreadProps(__spreadValues({}, rest), { color: radixColor, ref, size: radixSize }));
138
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_themes3.Badge, __spreadProps(__spreadValues({}, rest), { color: radixColor, ref, size: radixSize }));
135
139
  }
136
140
  );
137
141
  Badge.displayName = "Badge";
138
142
 
143
+ // src/atoms/box.tsx
144
+ var import_themes4 = require("@radix-ui/themes");
145
+
139
146
  // src/atoms/button.tsx
140
- var import_themes3 = require("@radix-ui/themes");
147
+ var import_themes5 = require("@radix-ui/themes");
141
148
  var import_react3 = require("react");
142
149
  var import_jsx_runtime3 = require("react/jsx-runtime");
143
150
  var Button = (0, import_react3.forwardRef)(
@@ -168,7 +175,7 @@ var Button = (0, import_react3.forwardRef)(
168
175
  return variant;
169
176
  }, [variant]);
170
177
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
171
- import_themes3.Button,
178
+ import_themes5.Button,
172
179
  __spreadProps(__spreadValues({
173
180
  style: mergedStyle,
174
181
  variant: radixVariant
@@ -182,15 +189,15 @@ var Button = (0, import_react3.forwardRef)(
182
189
  Button.displayName = "Button";
183
190
 
184
191
  // src/atoms/flex.tsx
185
- var import_themes4 = require("@radix-ui/themes");
192
+ var import_themes6 = require("@radix-ui/themes");
186
193
 
187
194
  // src/atoms/grid.tsx
188
- var import_themes5 = require("@radix-ui/themes");
195
+ var import_themes7 = require("@radix-ui/themes");
189
196
 
190
197
  // src/atoms/heading.tsx
191
- var import_themes6 = require("@radix-ui/themes");
198
+ var import_themes8 = require("@radix-ui/themes");
192
199
  var import_react4 = require("react");
193
- var import_themes7 = require("@radix-ui/themes");
200
+ var import_themes9 = require("@radix-ui/themes");
194
201
  var import_jsx_runtime4 = require("react/jsx-runtime");
195
202
  function Heading2(props) {
196
203
  const _a = props, { size, children, variant } = _a, rest = __objRest(_a, ["size", "children", "variant"]);
@@ -210,20 +217,20 @@ function Heading2(props) {
210
217
  return size;
211
218
  }
212
219
  }, [size, variant]);
213
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_themes6.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
220
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_themes8.Heading, __spreadProps(__spreadValues({}, rest), { size: radixSize, children }));
214
221
  }
215
222
 
216
223
  // src/atoms/icon-button.tsx
217
- var import_themes8 = require("@radix-ui/themes");
224
+ var import_themes10 = require("@radix-ui/themes");
218
225
 
219
226
  // src/atoms/popover.tsx
220
- var import_themes9 = require("@radix-ui/themes");
227
+ var import_themes11 = require("@radix-ui/themes");
221
228
 
222
229
  // src/atoms/scroll-area.tsx
223
- var import_themes10 = require("@radix-ui/themes");
230
+ var import_themes12 = require("@radix-ui/themes");
224
231
 
225
232
  // src/atoms/typo.tsx
226
- var import_themes11 = require("@radix-ui/themes");
233
+ var import_themes13 = require("@radix-ui/themes");
227
234
  var import_react5 = require("react");
228
235
  var import_jsx_runtime5 = require("react/jsx-runtime");
229
236
  var Typo = (0, import_react5.forwardRef)(
@@ -242,7 +249,7 @@ var Typo = (0, import_react5.forwardRef)(
242
249
  return "2";
243
250
  }
244
251
  }, [size, variant]);
245
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_themes11.Text, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, children }));
252
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_themes13.Text, __spreadProps(__spreadValues({}, rest), { ref, size: radixSize, children }));
246
253
  }
247
254
  );
248
255
  Typo.displayName = "Typo";
@@ -476,7 +483,7 @@ function ExpandTable(props) {
476
483
  header.getContext()
477
484
  ) }),
478
485
  sortable ? /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
479
- import_themes4.Flex,
486
+ import_themes6.Flex,
480
487
  {
481
488
  direction: "column",
482
489
  style: { marginLeft: "var(--space-2)" },
@@ -504,7 +511,7 @@ function ExpandTable(props) {
504
511
  headerGroup.id
505
512
  )) }),
506
513
  /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "tbody", children: [
507
- rowModels.rows.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_themes4.Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder"),
514
+ rowModels.rows.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_themes6.Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder"),
508
515
  rowModels.rows.map((row) => {
509
516
  return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
510
517
  Row,
@@ -531,7 +538,7 @@ function Navigation({
531
538
  activeKey
532
539
  }) {
533
540
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
534
- import_themes4.Flex,
541
+ import_themes6.Flex,
535
542
  {
536
543
  direction: "column",
537
544
  gap: "4",
@@ -542,8 +549,8 @@ function Navigation({
542
549
  },
543
550
  children: items == null ? void 0 : items.map((item) => {
544
551
  const { key, title, icon, itemRender, onClick, children } = item;
545
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_themes4.Flex, { direction: "column", onClick, children: [
546
- itemRender ? itemRender(item) : /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_themes4.Flex, { align: "center", gap: "3", height: "36px", pl: "4", pr: "4", children: [
552
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_themes6.Flex, { direction: "column", onClick, children: [
553
+ itemRender ? itemRender(item) : /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_themes6.Flex, { align: "center", gap: "3", height: "36px", pl: "4", pr: "4", children: [
547
554
  icon,
548
555
  /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Typo, { variant: "subtitle", children: title })
549
556
  ] }),
@@ -613,9 +620,9 @@ var renderCustomHeader = (props) => {
613
620
  } = props;
614
621
  const year = date.getFullYear();
615
622
  const month = date.getMonth();
616
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_themes4.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
623
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_themes6.Flex, { align: "center", justify: "between", pb: "2", pl: "2", pr: "2", children: [
617
624
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
618
- import_themes8.IconButton,
625
+ import_themes10.IconButton,
619
626
  {
620
627
  disabled: prevMonthButtonDisabled,
621
628
  onClick: decreaseMonth,
@@ -623,7 +630,7 @@ var renderCustomHeader = (props) => {
623
630
  children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_react_icons.ChevronLeftIcon, {})
624
631
  }
625
632
  ),
626
- /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_themes4.Flex, { gap: "3", children: [
633
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_themes6.Flex, { gap: "3", children: [
627
634
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(Heading2, { variant: "heading4", weight: "regular", children: [
628
635
  year,
629
636
  "\uB144"
@@ -634,7 +641,7 @@ var renderCustomHeader = (props) => {
634
641
  ] })
635
642
  ] }),
636
643
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
637
- import_themes8.IconButton,
644
+ import_themes10.IconButton,
638
645
  {
639
646
  disabled: nextMonthButtonDisabled,
640
647
  onClick: increaseMonth,
@@ -675,7 +682,7 @@ function DotNavigation(props) {
675
682
  return;
676
683
  setCurrentDot(dotIndex);
677
684
  }, [dotIndex]);
678
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes4.Flex, { children: dotCount ? Array.from({ length: dotCount }, (_, i) => i).map((_, index) => {
685
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_themes6.Flex, { children: dotCount ? Array.from({ length: dotCount }, (_, i) => i).map((_, index) => {
679
686
  const isSelected = currentDot === index;
680
687
  return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
681
688
  import_react_icons2.DotFilledIcon,
@@ -697,7 +704,7 @@ function DotNavigation(props) {
697
704
 
698
705
  // src/molecules/stepper.tsx
699
706
  var import_react12 = require("react");
700
- var import_themes12 = require("@radix-ui/themes");
707
+ var import_themes14 = require("@radix-ui/themes");
701
708
  var import_jsx_runtime15 = require("react/jsx-runtime");
702
709
  var StepContext = (0, import_react12.createContext)({
703
710
  active: false,
@@ -714,7 +721,7 @@ function Root(props) {
714
721
  direction = "vertical"
715
722
  } = props;
716
723
  return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
717
- import_themes4.Flex,
724
+ import_themes6.Flex,
718
725
  {
719
726
  gap: "3",
720
727
  style: {
@@ -748,7 +755,7 @@ function Step(props) {
748
755
  direction = "vertical"
749
756
  } = (0, import_react12.useContext)(StepContext);
750
757
  const connector = index > 0 ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
751
- import_themes12.Separator,
758
+ import_themes14.Separator,
752
759
  {
753
760
  style: {
754
761
  width: `calc(100% - 40px)`,
@@ -768,7 +775,7 @@ function Step(props) {
768
775
  return IncompleteStep;
769
776
  }, [completed, active]);
770
777
  return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
771
- import_themes4.Flex,
778
+ import_themes6.Flex,
772
779
  {
773
780
  align: "center",
774
781
  direction: direction === "horizontal" ? "row" : "column",
@@ -1030,9 +1037,9 @@ function TagSelector(props) {
1030
1037
  return "body";
1031
1038
  }
1032
1039
  }, [size]);
1033
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_themes9.Popover.Root, { open: Boolean(filteredOptions.length) && open, children: [
1034
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_themes9.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1035
- import_themes5.Grid,
1040
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_themes11.Popover.Root, { open: Boolean(filteredOptions.length) && open, children: [
1041
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_themes11.Popover.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1042
+ import_themes7.Grid,
1036
1043
  {
1037
1044
  align: "center",
1038
1045
  className: `tag-selector ${focus ? "focused" : ""} ${size}`,
@@ -1044,7 +1051,7 @@ function TagSelector(props) {
1044
1051
  },
1045
1052
  children: [
1046
1053
  /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1047
- import_themes4.Flex,
1054
+ import_themes6.Flex,
1048
1055
  {
1049
1056
  align: "center",
1050
1057
  gap: "1",
@@ -1087,7 +1094,7 @@ function TagSelector(props) {
1087
1094
  }
1088
1095
  ) }),
1089
1096
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1090
- import_themes9.Popover.Content,
1097
+ import_themes11.Popover.Content,
1091
1098
  {
1092
1099
  onOpenAutoFocus: (e) => {
1093
1100
  e.preventDefault();
@@ -1098,13 +1105,13 @@ function TagSelector(props) {
1098
1105
  currentItem: filteredOptions[focusIndex || 0],
1099
1106
  items: filteredOptions,
1100
1107
  children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1101
- import_themes10.ScrollArea,
1108
+ import_themes12.ScrollArea,
1102
1109
  {
1103
1110
  ref: scrollRef,
1104
1111
  scrollbars: "vertical",
1105
1112
  style: { height: OPTION_HEIGHT * 8 },
1106
1113
  type: "auto",
1107
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_themes4.Flex, { direction: "column", children: filteredOptions.map((item, i) => {
1114
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_themes6.Flex, { direction: "column", children: filteredOptions.map((item, i) => {
1108
1115
  const isSelected = Boolean(
1109
1116
  selected.find((el) => el === item.id)
1110
1117
  );
@@ -1128,7 +1135,7 @@ function TagSelector(props) {
1128
1135
  boxShadow: "none"
1129
1136
  },
1130
1137
  variant: isSelected ? "soft" : "outline",
1131
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_themes4.Flex, { justify: "between", width: "100%", children: [
1138
+ children: /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_themes6.Flex, { justify: "between", width: "100%", children: [
1132
1139
  item.name,
1133
1140
  isSelected ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_react_icons.CheckIcon, {}) : null
1134
1141
  ] })
@@ -1144,11 +1151,147 @@ function TagSelector(props) {
1144
1151
  )
1145
1152
  ] });
1146
1153
  }
1154
+
1155
+ // src/theme/theme-provider.tsx
1156
+ var import_themes15 = require("@radix-ui/themes");
1157
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1158
+ function ThemeProvider(props) {
1159
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_themes15.Theme, __spreadValues({ accentColor: "iris", radius: "medium" }, props));
1160
+ }
1161
+
1162
+ // src/molecules/learning-post.tsx
1163
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1164
+ function LearningPost(props) {
1165
+ const {
1166
+ defaultThemeProps,
1167
+ html,
1168
+ tags,
1169
+ title,
1170
+ metaDescription,
1171
+ imageComp,
1172
+ onPageBack,
1173
+ children
1174
+ } = props;
1175
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1176
+ ThemeProvider,
1177
+ __spreadProps(__spreadValues({}, defaultThemeProps), {
1178
+ accentColor: "iris",
1179
+ scaling: "110%",
1180
+ style: {},
1181
+ children: html ? /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1182
+ import_themes7.Grid,
1183
+ {
1184
+ columns: { initial: "1", md: "130px 1fr 130px" },
1185
+ gap: { initial: "2", md: "5" },
1186
+ height: "100%",
1187
+ justify: "center",
1188
+ pb: "160px",
1189
+ position: "relative",
1190
+ px: "4",
1191
+ width: "100%",
1192
+ children: [
1193
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", {}),
1194
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1195
+ import_themes6.Flex,
1196
+ {
1197
+ align: "center",
1198
+ direction: "column",
1199
+ maxWidth: "880px",
1200
+ mt: { initial: "3", md: "8" },
1201
+ overflow: "hidden",
1202
+ width: "100%",
1203
+ children: [
1204
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_themes7.Grid, { align: "start", columns: { initial: "1", sm: "2" }, gap: "2", children: [
1205
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1206
+ import_themes7.Grid,
1207
+ {
1208
+ gap: "3",
1209
+ mb: { initial: "4", sm: "0" },
1210
+ style: { alignSelf: "flex-start" },
1211
+ children: [
1212
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1213
+ Heading2,
1214
+ {
1215
+ style: {
1216
+ fontSize: "2.4rem",
1217
+ lineHeight: 1.25,
1218
+ wordBreak: "keep-all"
1219
+ },
1220
+ variant: "heading1",
1221
+ children: title
1222
+ }
1223
+ ),
1224
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Typo, { children: metaDescription }),
1225
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_themes6.Flex, { gap: "1", wrap: "wrap", children: tags == null ? void 0 : tags.map((el) => {
1226
+ var _a;
1227
+ if ((_a = el.name) == null ? void 0 : _a.startsWith("filter"))
1228
+ return;
1229
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Badge, { size: "large", variant: "solid", children: el.name }, el.id);
1230
+ }) })
1231
+ ]
1232
+ }
1233
+ ),
1234
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1235
+ import_themes.AspectRatio,
1236
+ {
1237
+ ratio: 5 / 3,
1238
+ style: {
1239
+ overflow: "hidden",
1240
+ borderRadius: "var(--radius-4)",
1241
+ objectFit: "cover"
1242
+ },
1243
+ children: imageComp
1244
+ }
1245
+ )
1246
+ ] }),
1247
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_themes4.Box, { mt: "5", width: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1248
+ "div",
1249
+ {
1250
+ className: "gh-content",
1251
+ dangerouslySetInnerHTML: { __html: html }
1252
+ }
1253
+ ) })
1254
+ ]
1255
+ }
1256
+ ),
1257
+ children
1258
+ ]
1259
+ }
1260
+ ) : /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1261
+ import_themes6.Flex,
1262
+ {
1263
+ align: "center",
1264
+ direction: "column",
1265
+ gap: "6",
1266
+ height: "100%",
1267
+ justify: "center",
1268
+ width: "100%",
1269
+ children: [
1270
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Heading2, { variant: "heading1", children: "\uCF58\uD150\uCE20\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4." }),
1271
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1272
+ Heading2,
1273
+ {
1274
+ align: "center",
1275
+ color: "gray",
1276
+ variant: "heading4",
1277
+ weight: "regular",
1278
+ children: `\uC694\uCCAD\uD558\uC2E0 \uCF58\uD150\uCE20\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.
1279
+ \uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD574\uC8FC\uC138\uC694.`
1280
+ }
1281
+ ),
1282
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Button, { onClick: onPageBack, size: "large", children: "\uB4A4\uB85C\uAC00\uAE30" })
1283
+ ]
1284
+ }
1285
+ )
1286
+ })
1287
+ );
1288
+ }
1147
1289
  // Annotate the CommonJS export names for ESM import in node:
1148
1290
  0 && (module.exports = {
1149
1291
  DatePicker,
1150
1292
  DotNavigation,
1151
1293
  ExpandTable,
1294
+ LearningPost,
1152
1295
  Navigation,
1153
1296
  Stepper,
1154
1297
  TagSelector,