jbx 2.5.0 → 2.7.0

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,28 +1,39 @@
1
1
  {
2
2
  "name": "jbx",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "author": "hi@javier.xyz",
5
5
  "license": "Unlicensed",
6
- "main": "dist/pkg.cjs.js",
7
- "module": "dist/pkg.esm.js",
8
- "types": "dist/types/index.d.ts",
6
+ "main": "./dist/index.js",
7
+ "type": "module",
8
+ "files": [
9
+ "./dist/index.d.ts",
10
+ "./dist/index.js"
11
+ ],
9
12
  "exports": {
10
- "require": "dist/index.cjs",
11
- "import": "dist/index.mjs",
12
- "module": "dist/index.esm.js"
13
+ "types": "./dist/index.d.ts",
14
+ "module": "./dist/index.js"
15
+ },
16
+ "watch": {
17
+ "build": {
18
+ "patterns": [
19
+ "src"
20
+ ],
21
+ "extensions": "tsx,ts,css",
22
+ "quiet": false
23
+ }
13
24
  },
14
25
  "devDependencies": {
15
- "@types/react": "^18.0.21",
16
- "bunchee": "^2.1.3",
26
+ "@types/react": "^18.2.21",
27
+ "bunchee": "^3.7.1",
17
28
  "react": "^18.2.0",
18
29
  "react-dom": "^18.2.0",
19
- "typescript": "^4.8.3"
30
+ "typescript": "^5.2.2"
20
31
  },
21
32
  "dependencies": {
22
- "jbx": "^2.4.0"
33
+ "npm-watch": "^0.11.0"
23
34
  },
24
35
  "scripts": {
25
- "build": "bunchee ./src/index.tsx",
26
- "watch": "bunchee -w ./src/index.tsx"
36
+ "build": "bunchee ./src/index.tsx && cp ./src/style.css ./dist/main.css",
37
+ "watch": "npm-watch"
27
38
  }
28
39
  }
package/.editorconfig DELETED
@@ -1,12 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- charset = utf-8
5
- indent_style = space
6
- indent_size = 2
7
- insert_final_newline = true
8
- trim_trailing_whitespace = true
9
-
10
- [*.md]
11
- max_line_length = off
12
- trim_trailing_whitespace = false
package/.nvmrc DELETED
@@ -1 +0,0 @@
1
- v18.10
package/.prettierrc DELETED
@@ -1,13 +0,0 @@
1
- {
2
- "singleQuote": true,
3
- "printWidth": 100,
4
- "editor.formatOnSave": true,
5
- "proseWrap": "always",
6
- "tabWidth": 2,
7
- "requireConfig": false,
8
- "useTabs": false,
9
- "trailingComma": "none",
10
- "bracketSpacing": true,
11
- "jsxBracketSameLine": false,
12
- "semi": true
13
- }
package/CHANGELOG.md DELETED
@@ -1,58 +0,0 @@
1
- # 2.4.0
2
-
3
- - Respect `style` properties on `Box`.
4
-
5
- # 2.3.0
6
-
7
- - Add CodeTextarea.
8
-
9
- # 2.2.0
10
-
11
- - Restore `Dropzone`.
12
-
13
- # 2.1.0
14
-
15
- - Restore `input` and `range`.
16
- - Export `Component`.
17
-
18
- # 2.0.1
19
-
20
- - Restore responsive text size.
21
-
22
- # 2.0.0
23
-
24
- - Drop `styled-components` and `capsize`.
25
-
26
- # v1.7.0
27
-
28
- - Add `touch-action: pan-y;`.
29
-
30
- # v1.6.0
31
-
32
- - `Button` now moves when clicked.
33
-
34
- # v1.5.0
35
-
36
- - Add `SmallText`.
37
- - Add `MainHeader`.
38
- - Prevent `Checkbox` from resizing from responsive `size`.
39
-
40
- # v1.3.0
41
-
42
- - Add `Checkbox`.
43
-
44
- # v1.3.0
45
-
46
- - Add `CodeSnippet` component.
47
-
48
- # v1.2.0
49
-
50
- - Increase padding of `Container`.
51
-
52
- # v1.1.0
53
-
54
- - Add padding to `Container`.
55
-
56
- # v1.0.0
57
-
58
- - Initial release