@transferwise/neptune-css 14.26.0 → 14.26.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/README.md CHANGED
@@ -23,7 +23,7 @@ yarn add @transferwise/neptune-css
23
23
  npm install @transferwise/neptune-css
24
24
  ```
25
25
 
26
- There are three bundles to choose from, depending on your needs:
26
+ There are 3 bundles to choose from, depending on your needs:
27
27
 
28
28
  ```js
29
29
  // Everything
@@ -1,3 +1,6 @@
1
+ /**
2
+ * DEPRECATED: use <InfoPrompt /> component instead
3
+ */
1
4
  .alert {
2
5
  padding: 16px;
3
6
  padding: var(--size-16);
@@ -97,7 +97,7 @@ Use a better box model (opinionated).
97
97
  }
98
98
  html {
99
99
  /* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
100
- font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
100
+ font-family: system-ui,-apple-system,Segoe UI,Ubuntu,Cantarell,Noto Sans, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
101
101
  line-height: 1.15;
102
102
  /* 1. Correct the line height in all browsers. */
103
103
  -webkit-text-size-adjust: 100%;
@@ -2355,7 +2355,7 @@ Use a better box model (opinionated).
2355
2355
 
2356
2356
  html {
2357
2357
  /* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
2358
- font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
2358
+ font-family: system-ui,-apple-system,Segoe UI,Ubuntu,Cantarell,Noto Sans, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
2359
2359
  line-height: 1.15;
2360
2360
  /* 1. Correct the line height in all browsers. */
2361
2361
  -webkit-text-size-adjust: 100%;
@@ -6893,6 +6893,10 @@ tbody.collapse.in {
6893
6893
  background-color: var(--color-background-elevated);
6894
6894
  }
6895
6895
 
6896
+ /**
6897
+ * DEPRECATED: use <InfoPrompt /> component instead
6898
+ */
6899
+
6896
6900
  .alert {
6897
6901
  padding: 16px;
6898
6902
  padding: var(--size-16);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@transferwise/neptune-css",
3
3
  "description": "Neptune CSS library",
4
- "version": "14.26.0",
4
+ "version": "14.26.2",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -32,7 +32,8 @@
32
32
  "@wise/wds-configs": "0.0.0"
33
33
  },
34
34
  "publishConfig": {
35
- "access": "public"
35
+ "access": "public",
36
+ "registry": "https://registry.npmjs.org/"
36
37
  },
37
38
  "scripts": {
38
39
  "analyze:css-selectors": "node ./scripts/analyze-css-selectors.js",
@@ -3,6 +3,10 @@
3
3
  @import (reference) "../variables/neptune-tokens.less";
4
4
  @import (reference) "./mixins/_alerts.less";
5
5
 
6
+ /**
7
+ * DEPRECATED: use <InfoPrompt /> component instead
8
+ */
9
+
6
10
  .alert {
7
11
  padding: var(--size-16);
8
12
  border-radius: 10px;
@@ -1,6 +1,10 @@
1
1
  @import (reference) "./_logical-properties.less";
2
2
  @import (reference) "./_arrows.less";
3
3
 
4
+ /**
5
+ * DEPRECATED: use <InfoPrompt /> component instead
6
+ */
7
+
4
8
  .alert-variant(@background; @text-color; @text-hover) {
5
9
  background-color: @background;
6
10
  color: @text-color;