tinywidgets 1.0.0 → 1.0.2
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/bun.lockb +0 -0
- package/package.json +3 -2
- package/src/components/Code/index.tsx +1 -3
- package/src/components/Tag/index.css.ts +0 -1
- package/src/index.css.ts +2 -0
- package/src/index.ts +0 -2
package/bun.lockb
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tinywidgets",
|
|
3
3
|
"description": "A collection of tiny, reusable, React components",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"prePublishPackage": "eslint . && tsc"
|
|
6
|
+
"prePublishPackage": "eslint . && cspell --quiet . && tsc"
|
|
7
7
|
},
|
|
8
8
|
"author": "jamesgpearce",
|
|
9
9
|
"repository": "github:tinyplex/tinywidgets",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"@types/react-dom": "^18.3.0",
|
|
14
14
|
"@typescript-eslint/eslint-plugin": "^8.7.0",
|
|
15
15
|
"@typescript-eslint/parser": "^8.7.0",
|
|
16
|
+
"cspell": "^8.14.4",
|
|
16
17
|
"eslint": "^8.57.0",
|
|
17
18
|
"eslint-config-prettier": "^9.1.0",
|
|
18
19
|
"eslint-plugin-react": "^7.36.1",
|
|
@@ -3,13 +3,11 @@ import 'prismjs';
|
|
|
3
3
|
import 'prismjs/components/prism-jsx';
|
|
4
4
|
import 'prismjs/components/prism-typescript';
|
|
5
5
|
import 'prismjs/components/prism-tsx';
|
|
6
|
-
import
|
|
6
|
+
import {highlight, languages} from 'prismjs';
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import {classNames} from '../../common/functions.tsx';
|
|
9
9
|
import {pre} from './index.css.ts';
|
|
10
10
|
|
|
11
|
-
const {highlight, languages} = Prism;
|
|
12
|
-
|
|
13
11
|
/**
|
|
14
12
|
* The `Code` component displays a block of pre-formatted code, and uses PrismJS
|
|
15
13
|
* to parse its syntax. The coloring is based on the [prism-one-dark](https://github.com/PrismJS/prism-themes/blob/master/themes/prism-one-dark.css) and [prism-one-light](https://github.com/PrismJS/prism-themes/blob/master/themes/prism-one-light.css) themes.
|
package/src/index.css.ts
CHANGED