@industry-theme/github-panels 0.1.43 → 0.1.44

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.
@@ -43161,8 +43161,7 @@ var createIndustryMarkdownComponents = ({
43161
43161
  style: {
43162
43162
  flex: 1,
43163
43163
  cursor: "pointer",
43164
- textDecoration: isChecked ? "line-through" : "none",
43165
- opacity: isChecked ? 0.6 : 1,
43164
+ color: isChecked ? theme2.colors.textMuted : "inherit",
43166
43165
  lineHeight: theme2.lineHeights.relaxed
43167
43166
  }
43168
43167
  }, labelContent.length > 0 ? labelContent : null)), nestedListElements.length > 0 ? nestedListElements : null);
@@ -44230,6 +44229,7 @@ var IndustryMarkdownSlide = React2__default.memo(function IndustryMarkdownSlide2
44230
44229
  handleRunBashCommand,
44231
44230
  handlePromptCopy,
44232
44231
  enableHtmlPopout = true,
44232
+ autoFocusOnVisible = true,
44233
44233
  searchQuery,
44234
44234
  slideHeaderMarginTopOverride,
44235
44235
  theme: themeOverride,
@@ -44436,11 +44436,11 @@ var IndustryMarkdownSlide = React2__default.memo(function IndustryMarkdownSlide2
44436
44436
  }
44437
44437
  }, [enableKeyboardScrolling, isVisible, slideIndex, scrollConfig]);
44438
44438
  useEffect(() => {
44439
- if (isVisible && slideRef.current) {
44439
+ if (autoFocusOnVisible && isVisible && slideRef.current) {
44440
44440
  console.log("🎯 Auto-focusing slide container");
44441
44441
  slideRef.current.focus();
44442
44442
  }
44443
- }, [isVisible]);
44443
+ }, [autoFocusOnVisible, isVisible]);
44444
44444
  const openPlaceholderModal = (placeholders, promptContent) => {
44445
44445
  if (!handlePromptCopy)
44446
44446
  return;
@@ -46414,6 +46414,7 @@ var DocumentView = ({
46414
46414
  slideIdPrefix = "document",
46415
46415
  enableHtmlPopout = true,
46416
46416
  enableKeyboardScrolling = true,
46417
+ autoFocusOnVisible = true,
46417
46418
  onLinkClick,
46418
46419
  handleRunBashCommand,
46419
46420
  handlePromptCopy,
@@ -46461,6 +46462,7 @@ var DocumentView = ({
46461
46462
  onCheckboxChange,
46462
46463
  enableHtmlPopout,
46463
46464
  enableKeyboardScrolling,
46465
+ autoFocusOnVisible,
46464
46466
  onLinkClick,
46465
46467
  handleRunBashCommand,
46466
46468
  fontSizeScale,
@@ -46497,6 +46499,7 @@ var DocumentView = ({
46497
46499
  onCheckboxChange,
46498
46500
  enableHtmlPopout,
46499
46501
  enableKeyboardScrolling,
46502
+ autoFocusOnVisible,
46500
46503
  onLinkClick,
46501
46504
  handleRunBashCommand,
46502
46505
  fontSizeScale,
@@ -46563,6 +46566,7 @@ var DocumentView = ({
46563
46566
  onCheckboxChange,
46564
46567
  enableHtmlPopout,
46565
46568
  enableKeyboardScrolling,
46569
+ autoFocusOnVisible,
46566
46570
  onLinkClick,
46567
46571
  handleRunBashCommand,
46568
46572
  fontSizeScale,