slack-blocks-to-jsx 0.3.5 → 0.3.6

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.js CHANGED
@@ -3894,10 +3894,6 @@ var import_react6 = require("react");
3894
3894
  var import_jsx_runtime39 = require("react/jsx-runtime");
3895
3895
  var Video = (props) => {
3896
3896
  const {
3897
- // thumbnail_url,
3898
- // provider_icon_url,
3899
- // provider_name,
3900
- //
3901
3897
  alt_text,
3902
3898
  title,
3903
3899
  video_url,
@@ -3909,7 +3905,7 @@ var Video = (props) => {
3909
3905
  } = props.data;
3910
3906
  const [showVideo, setShowVideo] = (0, import_react6.useState)(true);
3911
3907
  return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "py-2 slack_blocks_to_jsx__video", id: block_id, children: [
3912
- author_name && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "slack_blocks_to_jsx__video_author", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "font-bold", children: "Manish Panwar" }) }),
3908
+ author_name && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "slack_blocks_to_jsx__video_author", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "font-bold", children: author_name }) }),
3913
3909
  description && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "slack_blocks_to_jsx__video_description", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(TextObject, { data: description }) }),
3914
3910
  /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex flex-wrap items-center gap-1 slack_blocks_to_jsx__video_title", children: [
3915
3911
  title_url ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("a", { href: title_url, className: "text-blue-primary", target: "_blank", rel: "noreferrer", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(TextObject, { data: title }) }) : /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(TextObject, { data: title }) }),
package/dist/index.mjs CHANGED
@@ -3861,10 +3861,6 @@ import { useState as useState6 } from "react";
3861
3861
  import { jsx as jsx39, jsxs as jsxs19 } from "react/jsx-runtime";
3862
3862
  var Video = (props) => {
3863
3863
  const {
3864
- // thumbnail_url,
3865
- // provider_icon_url,
3866
- // provider_name,
3867
- //
3868
3864
  alt_text,
3869
3865
  title,
3870
3866
  video_url,
@@ -3876,7 +3872,7 @@ var Video = (props) => {
3876
3872
  } = props.data;
3877
3873
  const [showVideo, setShowVideo] = useState6(true);
3878
3874
  return /* @__PURE__ */ jsxs19("div", { className: "py-2 slack_blocks_to_jsx__video", id: block_id, children: [
3879
- author_name && /* @__PURE__ */ jsx39("div", { className: "slack_blocks_to_jsx__video_author", children: /* @__PURE__ */ jsx39("span", { className: "font-bold", children: "Manish Panwar" }) }),
3875
+ author_name && /* @__PURE__ */ jsx39("div", { className: "slack_blocks_to_jsx__video_author", children: /* @__PURE__ */ jsx39("span", { className: "font-bold", children: author_name }) }),
3880
3876
  description && /* @__PURE__ */ jsx39("div", { className: "slack_blocks_to_jsx__video_description", children: /* @__PURE__ */ jsx39(TextObject, { data: description }) }),
3881
3877
  /* @__PURE__ */ jsxs19("div", { className: "flex flex-wrap items-center gap-1 slack_blocks_to_jsx__video_title", children: [
3882
3878
  title_url ? /* @__PURE__ */ jsx39("a", { href: title_url, className: "text-blue-primary", target: "_blank", rel: "noreferrer", children: /* @__PURE__ */ jsx39(TextObject, { data: title }) }) : /* @__PURE__ */ jsx39("p", { children: /* @__PURE__ */ jsx39(TextObject, { data: title }) }),
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "repository": "https://github.com/themashcodee/slack-blocks-to-jsx.git",
13
13
  "license": "MIT",
14
- "version": "0.3.5",
14
+ "version": "0.3.6",
15
15
  "main": "dist/index.js",
16
16
  "module": "dist/index.mjs",
17
17
  "types": "dist/index.d.ts",