themed-markdown 0.1.47 → 0.1.48
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/README.md +1 -2
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +257 -265
- package/dist/industryMarkdown/components/IndustryBashCommandDropdown.d.ts +1 -1
- package/dist/industryMarkdown/components/IndustryBashCommandDropdown.d.ts.map +1 -1
- package/dist/industryMarkdown/components/IndustryHtmlModal.d.ts +1 -1
- package/dist/industryMarkdown/components/IndustryHtmlModal.d.ts.map +1 -1
- package/dist/industryMarkdown/components/IndustryLazyMermaidDiagram.d.ts +1 -1
- package/dist/industryMarkdown/components/IndustryLazyMermaidDiagram.d.ts.map +1 -1
- package/dist/industryMarkdown/components/IndustryMarkdownComponents.d.ts +1 -1
- package/dist/industryMarkdown/components/IndustryMarkdownComponents.d.ts.map +1 -1
- package/dist/industryMarkdown/components/IndustryMarkdownSlide.d.ts +1 -1
- package/dist/industryMarkdown/components/IndustryMarkdownSlide.d.ts.map +1 -1
- package/dist/industryMarkdown/components/IndustryMermaidDiagram.d.ts +1 -1
- package/dist/industryMarkdown/components/IndustryMermaidDiagram.d.ts.map +1 -1
- package/dist/industryMarkdown/components/IndustryMermaidModal.d.ts +1 -1
- package/dist/industryMarkdown/components/IndustryMermaidModal.d.ts.map +1 -1
- package/dist/industryMarkdown/components/IndustryPlaceholderModal.d.ts +1 -1
- package/dist/industryMarkdown/components/IndustryPlaceholderModal.d.ts.map +1 -1
- package/dist/industryMarkdown/components/IndustryZoomableMermaidDiagram.d.ts +1 -1
- package/dist/industryMarkdown/components/IndustryZoomableMermaidDiagram.d.ts.map +1 -1
- package/dist/industryMarkdown/components/SlideNavigationHeader.d.ts +1 -1
- package/dist/industryMarkdown/components/SlideNavigationHeader.d.ts.map +1 -1
- package/dist/industryMarkdown/components/SlideSearchBar.d.ts +1 -1
- package/dist/industryMarkdown/components/SlideSearchBar.d.ts.map +1 -1
- package/dist/industryMarkdown/utils/highlightSearchMatches.d.ts +1 -1
- package/dist/industryMarkdown/utils/highlightSearchMatches.d.ts.map +1 -1
- package/package.json +3 -2
- package/dist/industryMarkdown/components/DocumentView.stories.d.ts +0 -13
- package/dist/industryMarkdown/components/DocumentView.stories.d.ts.map +0 -1
- package/dist/industryMarkdown/components/EditableSlidePresentationBook.d.ts +0 -27
- package/dist/industryMarkdown/components/EditableSlidePresentationBook.d.ts.map +0 -1
- package/dist/industryMarkdown/components/EditableSlidePresentationBook.stories.d.ts +0 -40
- package/dist/industryMarkdown/components/EditableSlidePresentationBook.stories.d.ts.map +0 -1
- package/dist/industryMarkdown/components/FullPageMermaid.stories.d.ts +0 -17
- package/dist/industryMarkdown/components/FullPageMermaid.stories.d.ts.map +0 -1
- package/dist/industryMarkdown/components/FullSlideMermaid.stories.d.ts +0 -8
- package/dist/industryMarkdown/components/FullSlideMermaid.stories.d.ts.map +0 -1
- package/dist/industryMarkdown/components/IndustryEditableMarkdownSlide.d.ts +0 -13
- package/dist/industryMarkdown/components/IndustryEditableMarkdownSlide.d.ts.map +0 -1
- package/dist/industryMarkdown/components/IndustryEditableMarkdownSlide.stories.d.ts +0 -19
- package/dist/industryMarkdown/components/IndustryEditableMarkdownSlide.stories.d.ts.map +0 -1
- package/dist/industryMarkdown/components/IndustryEditableMermaidDiagram.d.ts +0 -18
- package/dist/industryMarkdown/components/IndustryEditableMermaidDiagram.d.ts.map +0 -1
- package/dist/industryMarkdown/components/IndustryEditableMermaidDiagram.stories.d.ts +0 -18
- package/dist/industryMarkdown/components/IndustryEditableMermaidDiagram.stories.d.ts.map +0 -1
- package/dist/industryMarkdown/components/IndustryMarkdownSlide.stories.d.ts +0 -20
- package/dist/industryMarkdown/components/IndustryMarkdownSlide.stories.d.ts.map +0 -1
- package/dist/industryMarkdown/components/SlidePresentation.search.stories.d.ts +0 -33
- package/dist/industryMarkdown/components/SlidePresentation.search.stories.d.ts.map +0 -1
- package/dist/industryMarkdown/components/SlidePresentation.stories.d.ts +0 -16
- package/dist/industryMarkdown/components/SlidePresentation.stories.d.ts.map +0 -1
- package/dist/industryMarkdown/components/SlidePresentationBook.stories.d.ts +0 -13
- package/dist/industryMarkdown/components/SlidePresentationBook.stories.d.ts.map +0 -1
- package/dist/industryMarkdown/components/SlidePresentationWithThemeSwitcher.stories.d.ts +0 -8
- package/dist/industryMarkdown/components/SlidePresentationWithThemeSwitcher.stories.d.ts.map +0 -1
- package/dist/industryMarkdown/index.d.ts +0 -32
- package/dist/industryMarkdown/index.d.ts.map +0 -1
- package/dist/industryMarkdown/utils/bashCommandParser.d.ts +0 -14
- package/dist/industryMarkdown/utils/bashCommandParser.d.ts.map +0 -1
- package/dist/industryTheme/GlassmorphismShowcase.stories.d.ts +0 -7
- package/dist/industryTheme/GlassmorphismShowcase.stories.d.ts.map +0 -1
- package/dist/industryTheme/ThemeComparison.stories.d.ts +0 -11
- package/dist/industryTheme/ThemeComparison.stories.d.ts.map +0 -1
- package/dist/industryTheme/ThemeHelpers.stories.d.ts +0 -8
- package/dist/industryTheme/ThemeHelpers.stories.d.ts.map +0 -1
- package/dist/industryTheme/ThemeProvider.d.ts +0 -19
- package/dist/industryTheme/ThemeProvider.d.ts.map +0 -1
- package/dist/industryTheme/ThemeShowcase.d.ts +0 -24
- package/dist/industryTheme/ThemeShowcase.d.ts.map +0 -1
- package/dist/industryTheme/ThemeShowcase.stories.d.ts +0 -14
- package/dist/industryTheme/ThemeShowcase.stories.d.ts.map +0 -1
- package/dist/industryTheme/ThemeSlideShowcase.stories.d.ts +0 -8
- package/dist/industryTheme/ThemeSlideShowcase.stories.d.ts.map +0 -1
- package/dist/industryTheme/glassmorphismTheme.d.ts +0 -7
- package/dist/industryTheme/glassmorphismTheme.d.ts.map +0 -1
- package/dist/industryTheme/index.d.ts +0 -130
- package/dist/industryTheme/index.d.ts.map +0 -1
- package/dist/industryTheme/themeHelpers.d.ts +0 -30
- package/dist/industryTheme/themeHelpers.d.ts.map +0 -1
- package/dist/industryTheme/themes.d.ts +0 -11
- package/dist/industryTheme/themes.d.ts.map +0 -1
- package/dist/industryTheme/utils.d.ts +0 -32
- package/dist/industryTheme/utils.d.ts.map +0 -1
- package/dist/tests/markdown-slide-tests/presentationUtils.test.d.ts +0 -2
- package/dist/tests/markdown-slide-tests/presentationUtils.test.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -24,8 +24,7 @@ bun add themed-markdown
|
|
|
24
24
|
## Usage
|
|
25
25
|
|
|
26
26
|
```tsx
|
|
27
|
-
import { IndustryMarkdownSlide } from 'themed-markdown
|
|
28
|
-
import { ThemeProvider } from 'themed-markdown/industryTheme';
|
|
27
|
+
import { IndustryMarkdownSlide, ThemeProvider } from 'themed-markdown';
|
|
29
28
|
|
|
30
29
|
function App() {
|
|
31
30
|
const markdownContent = `
|
package/dist/index.d.ts
CHANGED
|
@@ -20,9 +20,9 @@ export { parseMarkdownIntoPresentation, serializePresentationToMarkdown, updateP
|
|
|
20
20
|
export { parseMarkdownChunks } from './industryMarkdown/utils/markdownUtils';
|
|
21
21
|
export type { MarkdownPresentation, MarkdownSlide, MarkdownSource, MarkdownSourceType, RepositoryInfo, MarkdownSlideLocation, } from './industryMarkdown/types/presentation';
|
|
22
22
|
export type { ContentChunk, MarkdownChunk, MermaidChunk, CodeChunk, } from './industryMarkdown/types/customMarkdownChunks';
|
|
23
|
-
export type { Theme } from '
|
|
24
|
-
export { theme as defaultTheme } from '
|
|
25
|
-
export { ThemeProvider, useTheme, withTheme } from '
|
|
26
|
-
export { scaleThemeFonts, increaseFontScale, decreaseFontScale, resetFontScale } from '
|
|
27
|
-
export { terminalTheme, regalTheme, glassmorphismTheme, matrixTheme, matrixMinimalTheme, slateTheme } from '
|
|
23
|
+
export type { Theme } from '@a24z/industry-theme';
|
|
24
|
+
export { theme as defaultTheme } from '@a24z/industry-theme';
|
|
25
|
+
export { ThemeProvider, useTheme, withTheme } from '@a24z/industry-theme';
|
|
26
|
+
export { scaleThemeFonts, increaseFontScale, decreaseFontScale, resetFontScale } from '@a24z/industry-theme';
|
|
27
|
+
export { terminalTheme, regalTheme, glassmorphismTheme, matrixTheme, matrixMinimalTheme, slateTheme } from '@a24z/industry-theme';
|
|
28
28
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAC5F,YAAY,EAAE,0BAA0B,EAAE,MAAM,qDAAqD,CAAC;AAEtG,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AACpF,YAAY,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AAE9F,OAAO,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAC5F,YAAY,EAAE,0BAA0B,EAAE,MAAM,qDAAqD,CAAC;AAEtG,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,YAAY,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAEpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAC5F,YAAY,EAAE,0BAA0B,EAAE,MAAM,qDAAqD,CAAC;AAEtG,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAC9E,YAAY,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC;AAEtG,OAAO,EAAE,gCAAgC,EAAE,MAAM,0DAA0D,CAAC;AAG5G,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AAC1G,OAAO,EAAE,wBAAwB,EAAE,MAAM,wDAAwD,CAAC;AAClG,OAAO,EAAE,oBAAoB,EAAE,MAAM,oDAAoD,CAAC;AAC1F,OAAO,EAAE,0BAA0B,EAAE,MAAM,0DAA0D,CAAC;AACt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