@aladinbs/react-guided-tour 1.2.0 → 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.
package/dist/index.js CHANGED
@@ -1761,11 +1761,16 @@ const TourPopover = React.memo(function TourPopover({ className }) {
1761
1761
  fontSize: '16px',
1762
1762
  fontWeight: '600',
1763
1763
  color: theme.textColor || '#1f2937',
1764
- }, children: popoverConfig.title || step?.title })), jsxRuntimeExports.jsx("div", { style: {
1764
+ }, children: popoverConfig.title || step?.title })), (step?.contentHtml || step?.content || popoverConfig.content) && (jsxRuntimeExports.jsx("div", { style: {
1765
1765
  margin: '0 0 16px 0',
1766
1766
  lineHeight: '1.5',
1767
1767
  color: theme.textColor || '#374151',
1768
- }, children: popoverConfig.content || step?.content })] }), jsxRuntimeExports.jsxs("div", { style: {
1768
+ userSelect: 'text', // Enable text selection
1769
+ cursor: 'text',
1770
+ }, children: step?.contentHtml ? (jsxRuntimeExports.jsx("div", { dangerouslySetInnerHTML: { __html: step.contentHtml }, style: {
1771
+ // Ensure links and interactive elements work
1772
+ pointerEvents: 'auto',
1773
+ } })) : (popoverConfig.content || step?.content) }))] }), jsxRuntimeExports.jsxs("div", { style: {
1769
1774
  display: 'flex',
1770
1775
  justifyContent: 'space-between',
1771
1776
  alignItems: 'center',