@tipp/ui 2.10.6 → 2.11.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.
@@ -7,7 +7,9 @@ interface HeaderProps {
7
7
  onResolveMediaUrl?: (rawUrl: string, options: {
8
8
  disposition: 'inline' | 'attachment';
9
9
  }) => string | Promise<string>;
10
+ /** '영상' 버튼 우측에 렌더되는 소비자 정의 액션 슬롯. */
11
+ actions?: React.ReactNode;
10
12
  }
11
- declare function Header({ detail, hasScript, onOpenReplay, onResolveMediaUrl, }: HeaderProps): React.ReactElement;
13
+ declare function Header({ detail, hasScript, onOpenReplay, onResolveMediaUrl, actions, }: HeaderProps): React.ReactElement;
12
14
 
13
15
  export { Header, type HeaderProps };
@@ -7,7 +7,9 @@ interface HeaderProps {
7
7
  onResolveMediaUrl?: (rawUrl: string, options: {
8
8
  disposition: 'inline' | 'attachment';
9
9
  }) => string | Promise<string>;
10
+ /** '영상' 버튼 우측에 렌더되는 소비자 정의 액션 슬롯. */
11
+ actions?: React.ReactNode;
10
12
  }
11
- declare function Header({ detail, hasScript, onOpenReplay, onResolveMediaUrl, }: HeaderProps): React.ReactElement;
13
+ declare function Header({ detail, hasScript, onOpenReplay, onResolveMediaUrl, actions, }: HeaderProps): React.ReactElement;
12
14
 
13
15
  export { Header, type HeaderProps };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Header
4
- } from "../../../chunk-VJREZH2Z.js";
4
+ } from "../../../chunk-JDCA3TP5.js";
5
5
  import "../../../chunk-4YAA25AV.js";
6
6
  import "../../../chunk-HBF6IIVZ.js";
7
7
  import "../../../chunk-AELKCD6B.js";
@@ -5224,7 +5224,8 @@ function Header({
5224
5224
  detail,
5225
5225
  hasScript,
5226
5226
  onOpenReplay,
5227
- onResolveMediaUrl
5227
+ onResolveMediaUrl,
5228
+ actions
5228
5229
  }) {
5229
5230
  var _a;
5230
5231
  const pdfHref = detail.embedLink;
@@ -5329,7 +5330,8 @@ function Header({
5329
5330
  /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("span", { style: { whiteSpace: "nowrap" }, children: "\uC601\uC0C1" })
5330
5331
  ]
5331
5332
  }
5332
- ) : null
5333
+ ) : null,
5334
+ actions != null ? actions : null
5333
5335
  ]
5334
5336
  }
5335
5337
  )
@@ -5629,7 +5631,8 @@ function RpSessionDetail({
5629
5631
  script,
5630
5632
  onResolveMediaUrl,
5631
5633
  onError: _onError,
5632
- sectionScrollMarginTop = "120px"
5634
+ sectionScrollMarginTop = "120px",
5635
+ headerActions
5633
5636
  }) {
5634
5637
  const [replayOpen, setReplayOpen] = (0, import_react71.useState)(false);
5635
5638
  const speechShare = (0, import_react71.useMemo)(
@@ -5650,6 +5653,7 @@ function RpSessionDetail({
5650
5653
  /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(
5651
5654
  Header,
5652
5655
  {
5656
+ actions: headerActions,
5653
5657
  detail,
5654
5658
  hasScript,
5655
5659
  onOpenReplay: () => {