@transferwise/neptune-css 14.30.0 → 14.30.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/README.md +20 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
[](https://github.com/transferwise/neptune-web/actions) [](https://www.npmjs.com/package/@transferwise/neptune-css)
|
|
2
2
|
|
|
3
|
+
# ⚠️ DEPRECATED: use `@transferwise/components` instead
|
|
4
|
+
|
|
5
|
+
**`@transferwise/neptune-css` is deprecated and this is its final release.** All of its styles, theme tokens, fonts and assets now ship with [`@transferwise/components`](https://www.npmjs.com/package/@transferwise/components) (since `46.131.0`).
|
|
6
|
+
|
|
7
|
+
To migrate:
|
|
8
|
+
|
|
9
|
+
1. Remove `@transferwise/neptune-css` (and `@transferwise/neptune-tokens`) from your dependencies.
|
|
10
|
+
2. Replace any `@transferwise/neptune-css/dist/css/*.css` import with a single import of the components stylesheet:
|
|
11
|
+
|
|
12
|
+
```js
|
|
13
|
+
import '@transferwise/components/build/main.css';
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
3. Point remaining `@transferwise/neptune-css/dist/*` paths (Less variables, custom media, …) at `@transferwise/components/build/styles/*`.
|
|
17
|
+
|
|
18
|
+
The [`/wds-web-delete-neptune-css`](https://github.com/transferwise/ai-engineering-hub/blob/main/tools/claude-code/engineering/skills/wds-web-delete-neptune-css/SKILL.md) Claude Code skill automates these steps.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
3
22
|
# Neptune Web CSS
|
|
4
23
|
|
|
5
24
|
Neptune is the Design System built by and used at Wise. Neptune Web is the Neptune framework for Web. Neptune Web provides a way to build high quality, consistent user experiences on the web with ease.
|
|
@@ -38,7 +57,7 @@ import '@transferwise/neptune-css/dist/css/neptune-addons.css';
|
|
|
38
57
|
|
|
39
58
|
## Documentation
|
|
40
59
|
|
|
41
|
-
Visit
|
|
60
|
+
Visit [Storybook](https://storybook.wise.design/) for component documentation and examples. See the bundle imports above for the available CSS entry points.
|
|
42
61
|
|
|
43
62
|
## Contributing
|
|
44
63
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@transferwise/neptune-css",
|
|
3
|
-
"description": "
|
|
4
|
-
"version": "14.30.
|
|
3
|
+
"description": "DEPRECATED: use @transferwise/components (build/main.css) instead",
|
|
4
|
+
"version": "14.30.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|