@transferwise/neptune-css 14.17.0 → 14.18.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.
@@ -22346,20 +22346,20 @@ button.popover-close {
22346
22346
  }
22347
22347
 
22348
22348
  .progress {
22349
- --progress-bar-height: 8px;
22349
+ --progress-bar-height: 4px;
22350
22350
  --progress-bar-border-width: 4px;
22351
22351
  --progress-bar-start-shift: calc(var(--progress-bar-border-width) * 2);
22352
- height: 8px;
22352
+ height: 4px;
22353
22353
  height: var(--progress-bar-height);
22354
22354
  overflow: hidden;
22355
- margin-top: calc((24px - 8px) / 2);
22355
+ margin-top: calc((24px - 4px) / 2);
22356
22356
  margin-top: calc((var(--size-24) - var(--progress-bar-height)) / 2);
22357
- margin-bottom: calc((24px - 8px) / 2);
22357
+ margin-bottom: calc((24px - 4px) / 2);
22358
22358
  margin-bottom: calc((var(--size-24) - var(--progress-bar-height)) / 2);
22359
22359
  background-color: #c9cbce;
22360
22360
  background-color: var(--color-interactive-secondary);
22361
- border-radius: 8px;
22362
- border-radius: var(--progress-bar-height);
22361
+ border-radius: calc(4px + 4px);
22362
+ border-radius: calc(var(--progress-bar-border-width) + var(--progress-bar-height));
22363
22363
  }
22364
22364
 
22365
22365
  .progress-bar {
@@ -1,18 +1,18 @@
1
1
  .progress {
2
- --progress-bar-height: 8px;
2
+ --progress-bar-height: 4px;
3
3
  --progress-bar-border-width: 4px;
4
4
  --progress-bar-start-shift: calc(var(--progress-bar-border-width) * 2);
5
- height: 8px;
5
+ height: 4px;
6
6
  height: var(--progress-bar-height);
7
7
  overflow: hidden;
8
- margin-top: calc((24px - 8px) / 2);
8
+ margin-top: calc((24px - 4px) / 2);
9
9
  margin-top: calc((var(--size-24) - var(--progress-bar-height)) / 2);
10
- margin-bottom: calc((24px - 8px) / 2);
10
+ margin-bottom: calc((24px - 4px) / 2);
11
11
  margin-bottom: calc((var(--size-24) - var(--progress-bar-height)) / 2);
12
12
  background-color: #c9cbce;
13
13
  background-color: var(--color-interactive-secondary);
14
- border-radius: 8px;
15
- border-radius: var(--progress-bar-height);
14
+ border-radius: calc(4px + 4px);
15
+ border-radius: calc(var(--progress-bar-border-width) + var(--progress-bar-height));
16
16
  }
17
17
  .progress-bar {
18
18
  float: left;
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.17.0",
4
+ "version": "14.18.0",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -2,7 +2,7 @@
2
2
  @import (reference) "./mixins/_logical-properties.less";
3
3
 
4
4
  .progress {
5
- --progress-bar-height: 8px;
5
+ --progress-bar-height: 4px;
6
6
  --progress-bar-border-width: 4px;
7
7
  // Progress bar starts with left/right (depends on rtl) shift `--progress-bar-start-shift` for hiding Progress bar's left and right borders which are used for progress vertical delimiter.
8
8
  --progress-bar-start-shift: calc(var(--progress-bar-border-width) * 2);
@@ -11,7 +11,7 @@
11
11
  margin-top: calc((var(--size-24) - var(--progress-bar-height)) / 2);
12
12
  margin-bottom: calc((var(--size-24) - var(--progress-bar-height)) / 2);
13
13
  background-color: var(--color-interactive-secondary);
14
- border-radius: var(--progress-bar-height);
14
+ border-radius: calc(var(--progress-bar-border-width) + var(--progress-bar-height));
15
15
  }
16
16
 
17
17
  .progress-bar {