@wise/art 2.9.1 → 2.9.2-beta.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/Illustration.css +1 -27
- package/package.json +12 -5
- package/src/flags/Flag.css +4 -0
- package/src/index.css +2 -0
package/dist/Illustration.css
CHANGED
|
@@ -1,27 +1 @@
|
|
|
1
|
-
|
|
2
|
-
img.wds-illustration {
|
|
3
|
-
max-width: 100%;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.wds-illustration-padding {
|
|
7
|
-
padding: 24px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.wds-illustration-3d {
|
|
11
|
-
display: inline-flex;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.wds-illustration-3d-small {
|
|
15
|
-
width: 200px;
|
|
16
|
-
height: 200px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.wds-illustration-3d-medium {
|
|
20
|
-
width: 300px;
|
|
21
|
-
height: 300px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.wds-illustration-3d-large {
|
|
25
|
-
width: 500px;
|
|
26
|
-
height: 500px;
|
|
27
|
-
}
|
|
1
|
+
img.wds-illustration{max-width:100%}.wds-illustration-padding{padding:24px}.wds-illustration-3d{display:inline-flex}.wds-illustration-3d-small{width:200px;height:200px}.wds-illustration-3d-medium{width:300px;height:300px}.wds-illustration-3d-large{width:500px;height:500px}.wds-flag{border:1px solid var(--color-border-neutral);border-radius:var(--radius-full)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/art",
|
|
3
|
-
"version": "2.9.1",
|
|
3
|
+
"version": "2.9.2-beta.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "React library for art elements in UI",
|
|
6
6
|
"homepage": "https://github.com/transferwise/web-art#readme",
|
|
@@ -31,14 +31,15 @@
|
|
|
31
31
|
"convert-flags-svg-to-png": "node ./scripts/convert-flags-svg-to-png.mjs",
|
|
32
32
|
"convert-i10s-png-to-webp": "rm -rf s3-bucket/illustrations/ && copyfiles --f node_modules/wise-atoms/illustrations/**/*.png s3-bucket/illustrations && node ./scripts/convert-png-to-webp.mjs",
|
|
33
33
|
"generate-i10s-metadata": "node ./scripts/generate-i10s-metadata.mjs && eslint 'src/illustrations/metadata.ts' --fix",
|
|
34
|
-
"bundle": "rm -rf dist && rollup --config --sourcemap && cpx src/illustrations/Illustration.css dist/",
|
|
34
|
+
"bundle": "rm -rf dist && rollup --config --sourcemap && cpx src/illustrations/Illustration.css dist/ && yarn build-styles",
|
|
35
35
|
"cleanup": "rm -rf temp",
|
|
36
36
|
"build": "yarn load-i10s && yarn load-3d-i10s && yarn convert-i10s-png-to-webp && yarn generate-i10s-metadata && yarn load-flags && yarn bundle && yarn cleanup",
|
|
37
37
|
"start": "storybook dev -p 3001",
|
|
38
38
|
"dev": "yarn start",
|
|
39
39
|
"test": "jest && release-to-github-with-changelog-pre-release-checks",
|
|
40
40
|
"lint-fix": "eslint 'src/**/*.{js,ts,tsx}' 'scripts/*.{mjs,js,ts,tsx}' --fix",
|
|
41
|
-
"build-docs": "storybook build -o docs && touch ./docs/.nojekyll"
|
|
41
|
+
"build-docs": "storybook build -o docs && touch ./docs/.nojekyll",
|
|
42
|
+
"build-styles": "postcss src/index.css -o dist/Illustration.css"
|
|
42
43
|
},
|
|
43
44
|
"dependencies": {
|
|
44
45
|
"@babel/runtime": "^7.22.15",
|
|
@@ -73,6 +74,10 @@
|
|
|
73
74
|
"@types/react": "^18.2.21",
|
|
74
75
|
"@types/react-dom": "^18.2.7",
|
|
75
76
|
"babel-plugin-optimize-clsx": "^2.6.2",
|
|
77
|
+
"postcss": "^8.4.33",
|
|
78
|
+
"postcss-cli": "^11.0.0",
|
|
79
|
+
"postcss-import": "^16.0.0",
|
|
80
|
+
"@csstools/postcss-minify": "^1.1.0",
|
|
76
81
|
"copyfiles": "^2.4.1",
|
|
77
82
|
"cpx": "^1.5.0",
|
|
78
83
|
"eslint": "^8.48.0",
|
|
@@ -92,11 +97,13 @@
|
|
|
92
97
|
"ts-node": "10.9.1",
|
|
93
98
|
"typescript": "^4.9.5",
|
|
94
99
|
"vite": "^4.4.9",
|
|
95
|
-
"wise-atoms": "git+ssh://git@github.com:transferwise/wise-atoms.git#c2683d557cf6f7b4f6226ea8f0e67bc797e7fb2e"
|
|
100
|
+
"wise-atoms": "git+ssh://git@github.com:transferwise/wise-atoms.git#c2683d557cf6f7b4f6226ea8f0e67bc797e7fb2e",
|
|
101
|
+
"@transferwise/neptune-css": "^14.9.2"
|
|
96
102
|
},
|
|
97
103
|
"peerDependencies": {
|
|
98
104
|
"react": ">=17",
|
|
99
|
-
"react-dom": ">=17"
|
|
105
|
+
"react-dom": ">=17",
|
|
106
|
+
"@transferwise/neptune-css": "^14.7"
|
|
100
107
|
},
|
|
101
108
|
"prettier": "@transferwise/eslint-config/.prettierrc.js",
|
|
102
109
|
"publishConfig": {
|
package/src/index.css
ADDED