@blockle/blocks 0.2.3 → 0.3.1
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/dist/index.cjs +136 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +138 -6
- package/dist/momotaro.chunk.d.ts +160 -45
- package/dist/reset.css.cjs +0 -1
- package/dist/reset.css.mjs +0 -1
- package/dist/styles/components/Button/Button.css.cjs +15 -0
- package/dist/styles/components/Button/Button.css.mjs +16 -0
- package/dist/styles/lib/css/atoms/index.cjs +1 -0
- package/dist/styles/lib/css/atoms/index.mjs +1 -0
- package/dist/styles/lib/css/layers/layers.css.cjs +7 -0
- package/dist/styles/lib/css/layers/layers.css.mjs +8 -0
- package/dist/styles/lib/css/reset/reset.css.cjs +0 -36
- package/dist/styles/lib/css/reset/reset.css.mjs +1 -36
- package/dist/styles/lib/css/theme/makeVanillaTheme.cjs +5 -2
- package/dist/styles/lib/css/theme/makeVanillaTheme.mjs +5 -2
- package/dist/styles/lib/css/theme/tokens.cjs +5 -2
- package/dist/styles/lib/css/theme/tokens.mjs +5 -2
- package/dist/styles/themes/momotaro/components/button.css.cjs +85 -25
- package/dist/styles/themes/momotaro/components/button.css.mjs +85 -25
- package/dist/styles/themes/momotaro/components/helpers.css.cjs +26 -0
- package/dist/styles/themes/momotaro/components/helpers.css.mjs +27 -0
- package/dist/styles/themes/momotaro/components/index.cjs +5 -1
- package/dist/styles/themes/momotaro/components/index.mjs +5 -1
- package/dist/styles/themes/momotaro/components/link.css.cjs +47 -0
- package/dist/styles/themes/momotaro/components/link.css.mjs +48 -0
- package/dist/styles/themes/momotaro/components/spinner.css.cjs +44 -0
- package/dist/styles/themes/momotaro/components/spinner.css.mjs +45 -0
- package/dist/styles/themes/momotaro/tokens.cjs +5 -2
- package/dist/styles/themes/momotaro/tokens.mjs +5 -2
- package/package.json +31 -2
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockle/blocks",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Blocks design system",
|
|
5
5
|
"repository": "git@github.com:Blockle/blocks.git",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Niek Saarberg <n.saarberg@gmail.com>",
|
|
8
|
+
"sideEffects": [
|
|
9
|
+
"./src/lib/theme/globalTheme.ts",
|
|
10
|
+
"dist/side-effects/**"
|
|
11
|
+
],
|
|
8
12
|
"exports": {
|
|
9
13
|
".": {
|
|
10
14
|
"types": "./dist/index.d.ts",
|
|
@@ -32,10 +36,18 @@
|
|
|
32
36
|
"themes/momotaro"
|
|
33
37
|
],
|
|
34
38
|
"scripts": {
|
|
35
|
-
"build": "crackle package",
|
|
39
|
+
"build": "crackle package && node ./temp-use-client-fix.js",
|
|
40
|
+
"build-storybook": "storybook build",
|
|
41
|
+
"coverage": "vitest run --coverage",
|
|
36
42
|
"fix": "crackle fix",
|
|
43
|
+
"lint": "eslint . --resolve-plugins-relative-to /Users/niek/Projects/blockle/blocks/",
|
|
44
|
+
"storybook": "storybook dev -p 6006 --no-open",
|
|
45
|
+
"test": "vitest",
|
|
37
46
|
"ts": "tsc --noemit --project ./tsconfig.json"
|
|
38
47
|
},
|
|
48
|
+
"resolutions": {
|
|
49
|
+
"string-width": "^4.2.2"
|
|
50
|
+
},
|
|
39
51
|
"dependencies": {
|
|
40
52
|
"@radix-ui/react-polymorphic": "^0.0.14",
|
|
41
53
|
"@vanilla-extract/css": "^1.13.0",
|
|
@@ -47,10 +59,24 @@
|
|
|
47
59
|
"devDependencies": {
|
|
48
60
|
"@crackle/cli": "^0.12.4",
|
|
49
61
|
"@crackle/core": "^0.28.0",
|
|
62
|
+
"@storybook/addon-a11y": "^7.3.1",
|
|
63
|
+
"@storybook/addon-coverage": "^0.0.9",
|
|
64
|
+
"@storybook/addon-essentials": "^7.3.1",
|
|
65
|
+
"@storybook/addon-interactions": "^7.3.1",
|
|
66
|
+
"@storybook/addon-links": "^7.3.1",
|
|
67
|
+
"@storybook/blocks": "^7.3.1",
|
|
68
|
+
"@storybook/jest": "^0.2.0",
|
|
69
|
+
"@storybook/react": "^7.3.1",
|
|
70
|
+
"@storybook/react-vite": "^7.3.1",
|
|
71
|
+
"@storybook/testing-library": "^0.2.0",
|
|
72
|
+
"@testing-library/jest-dom": "^6.1.3",
|
|
73
|
+
"@testing-library/react": "^14.0.0",
|
|
50
74
|
"@types/react": "^18.2.25",
|
|
51
75
|
"@types/react-dom": "^18.2.10",
|
|
52
76
|
"@typescript-eslint/eslint-plugin": "^6.7.4",
|
|
53
77
|
"@typescript-eslint/parser": "^6.7.4",
|
|
78
|
+
"@vanilla-extract/vite-plugin": "^3.8.2",
|
|
79
|
+
"@vitest/coverage-v8": "^0.34.6",
|
|
54
80
|
"cross-env": "^7.0.3",
|
|
55
81
|
"eslint": "^8.50.0",
|
|
56
82
|
"eslint-config-prettier": "^9.0.0",
|
|
@@ -60,7 +86,10 @@
|
|
|
60
86
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
61
87
|
"eslint-plugin-storybook": "^0.6.14",
|
|
62
88
|
"eslint-plugin-unicorn": "^48.0.1",
|
|
89
|
+
"jsdom": "^22.1.0",
|
|
63
90
|
"prettier": "^3.0.3",
|
|
91
|
+
"prop-types": "^15.8.1",
|
|
92
|
+
"storybook": "^7.3.1",
|
|
64
93
|
"typescript": "^5.2.2",
|
|
65
94
|
"vitest": "^0.34.6"
|
|
66
95
|
},
|