tinywidgets 1.0.9 → 1.0.11

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tinywidgets",
3
3
  "description": "A collection of tiny, reusable, React components",
4
- "version": "1.0.9",
4
+ "version": "1.0.11",
5
5
  "scripts": {
6
6
  "prePublishPackage": "eslint . && cspell --quiet . && tsc"
7
7
  },
@@ -28,7 +28,6 @@
28
28
  },
29
29
  "license": "MIT",
30
30
  "dependencies": {
31
- "@types/prismjs": "^1.26.4",
32
31
  "lucide-react": "^0.445.0",
33
32
  "prismjs": "^1.29.0",
34
33
  "react": "^18.3.1",
@@ -1,9 +1,8 @@
1
1
  /* eslint-disable max-len */
2
- import 'prismjs';
3
- import 'prismjs/components/prism-jsx';
4
- import 'prismjs/components/prism-typescript';
5
- import 'prismjs/components/prism-tsx';
6
- import Prism from 'prismjs';
2
+ // import 'prismjs/components/prism-jsx';
3
+ // import 'prismjs/components/prism-typescript';
4
+ // import 'prismjs/components/prism-tsx';
5
+ import {Prism} from 'prismjs';
7
6
  import React from 'react';
8
7
  import {classNames} from '../../common/functions.tsx';
9
8
  import {pre} from './index.css.ts';
@@ -81,7 +80,7 @@ export const Code = ({
81
80
  <code
82
81
  // eslint-disable-next-line react/no-danger
83
82
  dangerouslySetInnerHTML={{
84
- __html: highlight(code.trim(), languages[language], language),
83
+ __html: highlight(code.trim(), languages['clike'], 'clike'),
85
84
  }}
86
85
  />
87
86
  </pre>
package/bun.lockb DELETED
Binary file