@d1vij/jassm 0.1.13 → 0.1.14

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 (2) hide show
  1. package/dist/index.js +16 -0
  2. package/package.json +1 -2
package/dist/index.js CHANGED
@@ -385,6 +385,22 @@ class CoalescedRegistry extends AbstractRegistry {
385
385
  }
386
386
  // src/components/Loader.tsx
387
387
  import { jsx as jsx14 } from "react/jsx-runtime";
388
+ function MDXFromComponent({
389
+ source: SourceComponent,
390
+ styles,
391
+ fallback,
392
+ elements = BaseElements
393
+ }) {
394
+ return /* @__PURE__ */ jsx14(StyleContext, {
395
+ value: styles,
396
+ children: /* @__PURE__ */ jsx14(Suspense, {
397
+ fallback,
398
+ children: /* @__PURE__ */ jsx14(SourceComponent, {
399
+ components: elements
400
+ })
401
+ })
402
+ });
403
+ }
388
404
  export {
389
405
  useStyles,
390
406
  generateRegistries,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@d1vij/jassm",
3
3
  "description": "Just another static site maker. Create simple content driven sites using MDX and React along with Typescript safety.",
4
- "version": "0.1.13",
4
+ "version": "0.1.14",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -27,7 +27,6 @@
27
27
  },
28
28
  "homepage": "https://github.com/d1vij/jassm",
29
29
  "license": "MIT",
30
- "sideEffects": false,
31
30
  "publishConfig": {
32
31
  "access": "public"
33
32
  },