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.
Files changed (87) hide show
  1. package/README.md +1 -2
  2. package/dist/index.d.ts +5 -5
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.mjs +257 -265
  5. package/dist/industryMarkdown/components/IndustryBashCommandDropdown.d.ts +1 -1
  6. package/dist/industryMarkdown/components/IndustryBashCommandDropdown.d.ts.map +1 -1
  7. package/dist/industryMarkdown/components/IndustryHtmlModal.d.ts +1 -1
  8. package/dist/industryMarkdown/components/IndustryHtmlModal.d.ts.map +1 -1
  9. package/dist/industryMarkdown/components/IndustryLazyMermaidDiagram.d.ts +1 -1
  10. package/dist/industryMarkdown/components/IndustryLazyMermaidDiagram.d.ts.map +1 -1
  11. package/dist/industryMarkdown/components/IndustryMarkdownComponents.d.ts +1 -1
  12. package/dist/industryMarkdown/components/IndustryMarkdownComponents.d.ts.map +1 -1
  13. package/dist/industryMarkdown/components/IndustryMarkdownSlide.d.ts +1 -1
  14. package/dist/industryMarkdown/components/IndustryMarkdownSlide.d.ts.map +1 -1
  15. package/dist/industryMarkdown/components/IndustryMermaidDiagram.d.ts +1 -1
  16. package/dist/industryMarkdown/components/IndustryMermaidDiagram.d.ts.map +1 -1
  17. package/dist/industryMarkdown/components/IndustryMermaidModal.d.ts +1 -1
  18. package/dist/industryMarkdown/components/IndustryMermaidModal.d.ts.map +1 -1
  19. package/dist/industryMarkdown/components/IndustryPlaceholderModal.d.ts +1 -1
  20. package/dist/industryMarkdown/components/IndustryPlaceholderModal.d.ts.map +1 -1
  21. package/dist/industryMarkdown/components/IndustryZoomableMermaidDiagram.d.ts +1 -1
  22. package/dist/industryMarkdown/components/IndustryZoomableMermaidDiagram.d.ts.map +1 -1
  23. package/dist/industryMarkdown/components/SlideNavigationHeader.d.ts +1 -1
  24. package/dist/industryMarkdown/components/SlideNavigationHeader.d.ts.map +1 -1
  25. package/dist/industryMarkdown/components/SlideSearchBar.d.ts +1 -1
  26. package/dist/industryMarkdown/components/SlideSearchBar.d.ts.map +1 -1
  27. package/dist/industryMarkdown/utils/highlightSearchMatches.d.ts +1 -1
  28. package/dist/industryMarkdown/utils/highlightSearchMatches.d.ts.map +1 -1
  29. package/package.json +3 -2
  30. package/dist/industryMarkdown/components/DocumentView.stories.d.ts +0 -13
  31. package/dist/industryMarkdown/components/DocumentView.stories.d.ts.map +0 -1
  32. package/dist/industryMarkdown/components/EditableSlidePresentationBook.d.ts +0 -27
  33. package/dist/industryMarkdown/components/EditableSlidePresentationBook.d.ts.map +0 -1
  34. package/dist/industryMarkdown/components/EditableSlidePresentationBook.stories.d.ts +0 -40
  35. package/dist/industryMarkdown/components/EditableSlidePresentationBook.stories.d.ts.map +0 -1
  36. package/dist/industryMarkdown/components/FullPageMermaid.stories.d.ts +0 -17
  37. package/dist/industryMarkdown/components/FullPageMermaid.stories.d.ts.map +0 -1
  38. package/dist/industryMarkdown/components/FullSlideMermaid.stories.d.ts +0 -8
  39. package/dist/industryMarkdown/components/FullSlideMermaid.stories.d.ts.map +0 -1
  40. package/dist/industryMarkdown/components/IndustryEditableMarkdownSlide.d.ts +0 -13
  41. package/dist/industryMarkdown/components/IndustryEditableMarkdownSlide.d.ts.map +0 -1
  42. package/dist/industryMarkdown/components/IndustryEditableMarkdownSlide.stories.d.ts +0 -19
  43. package/dist/industryMarkdown/components/IndustryEditableMarkdownSlide.stories.d.ts.map +0 -1
  44. package/dist/industryMarkdown/components/IndustryEditableMermaidDiagram.d.ts +0 -18
  45. package/dist/industryMarkdown/components/IndustryEditableMermaidDiagram.d.ts.map +0 -1
  46. package/dist/industryMarkdown/components/IndustryEditableMermaidDiagram.stories.d.ts +0 -18
  47. package/dist/industryMarkdown/components/IndustryEditableMermaidDiagram.stories.d.ts.map +0 -1
  48. package/dist/industryMarkdown/components/IndustryMarkdownSlide.stories.d.ts +0 -20
  49. package/dist/industryMarkdown/components/IndustryMarkdownSlide.stories.d.ts.map +0 -1
  50. package/dist/industryMarkdown/components/SlidePresentation.search.stories.d.ts +0 -33
  51. package/dist/industryMarkdown/components/SlidePresentation.search.stories.d.ts.map +0 -1
  52. package/dist/industryMarkdown/components/SlidePresentation.stories.d.ts +0 -16
  53. package/dist/industryMarkdown/components/SlidePresentation.stories.d.ts.map +0 -1
  54. package/dist/industryMarkdown/components/SlidePresentationBook.stories.d.ts +0 -13
  55. package/dist/industryMarkdown/components/SlidePresentationBook.stories.d.ts.map +0 -1
  56. package/dist/industryMarkdown/components/SlidePresentationWithThemeSwitcher.stories.d.ts +0 -8
  57. package/dist/industryMarkdown/components/SlidePresentationWithThemeSwitcher.stories.d.ts.map +0 -1
  58. package/dist/industryMarkdown/index.d.ts +0 -32
  59. package/dist/industryMarkdown/index.d.ts.map +0 -1
  60. package/dist/industryMarkdown/utils/bashCommandParser.d.ts +0 -14
  61. package/dist/industryMarkdown/utils/bashCommandParser.d.ts.map +0 -1
  62. package/dist/industryTheme/GlassmorphismShowcase.stories.d.ts +0 -7
  63. package/dist/industryTheme/GlassmorphismShowcase.stories.d.ts.map +0 -1
  64. package/dist/industryTheme/ThemeComparison.stories.d.ts +0 -11
  65. package/dist/industryTheme/ThemeComparison.stories.d.ts.map +0 -1
  66. package/dist/industryTheme/ThemeHelpers.stories.d.ts +0 -8
  67. package/dist/industryTheme/ThemeHelpers.stories.d.ts.map +0 -1
  68. package/dist/industryTheme/ThemeProvider.d.ts +0 -19
  69. package/dist/industryTheme/ThemeProvider.d.ts.map +0 -1
  70. package/dist/industryTheme/ThemeShowcase.d.ts +0 -24
  71. package/dist/industryTheme/ThemeShowcase.d.ts.map +0 -1
  72. package/dist/industryTheme/ThemeShowcase.stories.d.ts +0 -14
  73. package/dist/industryTheme/ThemeShowcase.stories.d.ts.map +0 -1
  74. package/dist/industryTheme/ThemeSlideShowcase.stories.d.ts +0 -8
  75. package/dist/industryTheme/ThemeSlideShowcase.stories.d.ts.map +0 -1
  76. package/dist/industryTheme/glassmorphismTheme.d.ts +0 -7
  77. package/dist/industryTheme/glassmorphismTheme.d.ts.map +0 -1
  78. package/dist/industryTheme/index.d.ts +0 -130
  79. package/dist/industryTheme/index.d.ts.map +0 -1
  80. package/dist/industryTheme/themeHelpers.d.ts +0 -30
  81. package/dist/industryTheme/themeHelpers.d.ts.map +0 -1
  82. package/dist/industryTheme/themes.d.ts +0 -11
  83. package/dist/industryTheme/themes.d.ts.map +0 -1
  84. package/dist/industryTheme/utils.d.ts +0 -32
  85. package/dist/industryTheme/utils.d.ts.map +0 -1
  86. package/dist/tests/markdown-slide-tests/presentationUtils.test.d.ts +0 -2
  87. 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/industryMarkdown';
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 './industryTheme';
24
- export { theme as defaultTheme } from './industryTheme';
25
- export { ThemeProvider, useTheme, withTheme } from './industryTheme/ThemeProvider';
26
- export { scaleThemeFonts, increaseFontScale, decreaseFontScale, resetFontScale } from './industryTheme';
27
- export { terminalTheme, regalTheme, glassmorphismTheme, matrixTheme, matrixMinimalTheme, slateTheme } from './industryTheme/themes';
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
@@ -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,o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