@transferwise/neptune-css 14.9.2 → 14.9.3

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.
Files changed (49) hide show
  1. package/dist/css/border-radius.css +0 -8
  2. package/dist/css/flex.css +253 -417
  3. package/dist/css/navbar-base.css +339 -168
  4. package/dist/css/navbar.css +107 -41
  5. package/dist/css/neptune-addons.css +893 -421
  6. package/dist/css/neptune-core.css +200 -163
  7. package/dist/css/neptune.css +15471 -14675
  8. package/dist/css/utilities.css +72 -1202
  9. package/package.json +1 -1
  10. package/src/less/addons/_display-utilities.less +159 -0
  11. package/src/less/addons/_spacing-utilities.less +26 -3
  12. package/src/less/addons/_utilities.less +147 -0
  13. package/src/less/border-radius.less +3 -1
  14. package/src/less/core/_scaffolding.less +27 -7
  15. package/src/less/core/_typography-utilities.less +237 -17
  16. package/src/less/flex.less +18 -9
  17. package/src/less/{addons → mixins}/_center-block.less +4 -2
  18. package/src/less/mixins/_flex.less +105 -0
  19. package/src/less/navbar.less +2 -10
  20. package/src/less/neptune-addons.less +1 -4
  21. package/src/less/utilities.less +141 -29
  22. package/src/less/utilities/align-items.less +0 -107
  23. package/src/less/utilities/align-self.less +0 -107
  24. package/src/less/utilities/border-radius.less +0 -11
  25. package/src/less/utilities/color.less +0 -70
  26. package/src/less/utilities/cursor.less +0 -3
  27. package/src/less/utilities/display.less +0 -178
  28. package/src/less/utilities/flex-direction.less +0 -47
  29. package/src/less/utilities/flex-grow.less +0 -27
  30. package/src/less/utilities/flex-wrap.less +0 -47
  31. package/src/less/utilities/float.less +0 -77
  32. package/src/less/utilities/font-weight.less +0 -11
  33. package/src/less/utilities/gap.less +0 -3
  34. package/src/less/utilities/justify-content.less +0 -107
  35. package/src/less/utilities/margin.less +0 -192
  36. package/src/less/utilities/max-width.less +0 -3
  37. package/src/less/utilities/order.less +0 -87
  38. package/src/less/utilities/outline-style.less +0 -8
  39. package/src/less/utilities/overflow-wrap.less +0 -3
  40. package/src/less/utilities/padding.less +0 -179
  41. package/src/less/utilities/position.less +0 -3
  42. package/src/less/utilities/rotate.less +0 -12
  43. package/src/less/utilities/screen-reader.less +0 -24
  44. package/src/less/utilities/text-align.less +0 -87
  45. package/src/less/utilities/text-decoration-line.less +0 -8
  46. package/src/less/utilities/text-overflow.less +0 -7
  47. package/src/less/utilities/text-transform.less +0 -11
  48. package/src/less/utilities/visibility.less +0 -3
  49. package/src/less/utilities/white-space.less +0 -27
@@ -1,178 +0,0 @@
1
- .d-block,
2
- .show {
3
- display: block !important;
4
- }
5
-
6
- .d-inline-block {
7
- display: inline-block !important;
8
- }
9
-
10
- .d-inline {
11
- display: inline;
12
- }
13
-
14
- .d-flex {
15
- display: flex;
16
- }
17
-
18
- .d-inline-flex {
19
- display: inline-flex;
20
- }
21
-
22
- .hidden,
23
- .hide,
24
- .visible-xs,
25
- .visible-xs-block,
26
- .visible-xs-inline-block,
27
- .visible-xs-inline,
28
- .visible-sm,
29
- .visible-sm-block,
30
- .visible-sm-inline-block,
31
- .visible-sm-inline,
32
- .visible-md,
33
- .visible-md-block,
34
- .visible-md-inline-block,
35
- .visible-md-inline,
36
- .visible-lg,
37
- .visible-lg-block,
38
- .visible-lg-inline-block,
39
- .visible-lg-inline,
40
- .visible-xl,
41
- .visible-xl-block,
42
- .visible-xl-inline-block,
43
- .visible-xl-inline {
44
- display: none !important;
45
- }
46
-
47
- @media (--screen-xs-max) {
48
- .hidden-xs {
49
- display: none !important;
50
- }
51
-
52
- .visible-xs,
53
- .visible-xs-block {
54
- display: block !important;
55
- }
56
-
57
- .visible-xs-inline-block {
58
- display: inline-block !important;
59
- }
60
-
61
- .visible-xs-inline {
62
- display: inline !important;
63
- }
64
- }
65
-
66
- @media (--screen-sm) {
67
- .d-flex--sm {
68
- display: flex;
69
- }
70
-
71
- .d-inline-flex--sm {
72
- display: inline-flex;
73
- }
74
-
75
- @media (--screen-sm-max) {
76
- .hidden-sm {
77
- display: none !important;
78
- }
79
-
80
- .visible-sm,
81
- .visible-sm-block {
82
- display: block !important;
83
- }
84
-
85
- .visible-sm-inline-block {
86
- display: inline-block !important;
87
- }
88
-
89
- .visible-sm-inline {
90
- display: inline !important;
91
- }
92
- }
93
- }
94
-
95
- @media (--screen-md) {
96
- .d-flex--md {
97
- display: flex;
98
- }
99
-
100
- .d-inline-flex--md {
101
- display: inline-flex;
102
- }
103
-
104
- @media (--screen-md-max) {
105
- .hidden-md {
106
- display: none !important;
107
- }
108
-
109
- .visible-md,
110
- .visible-md-block {
111
- display: block !important;
112
- }
113
-
114
- .visible-md-inline-block {
115
- display: inline-block !important;
116
- }
117
-
118
- .visible-md-inline {
119
- display: inline !important;
120
- }
121
- }
122
- }
123
-
124
- @media (--screen-lg) {
125
- .d-flex--lg {
126
- display: flex;
127
- }
128
-
129
- .d-inline-flex--lg {
130
- display: inline-flex;
131
- }
132
-
133
- @media (--screen-lg-max) {
134
- .hidden-lg {
135
- display: none !important;
136
- }
137
-
138
- .visible-lg,
139
- .visible-lg-block {
140
- display: block !important;
141
- }
142
-
143
- .visible-lg-inline-block {
144
- display: inline-block !important;
145
- }
146
-
147
- .visible-lg-inline {
148
- display: inline !important;
149
- }
150
- }
151
- }
152
-
153
- @media (--screen-xl) {
154
- .d-flex--xl {
155
- display: flex;
156
- }
157
-
158
- .d-inline-flex--xl {
159
- display: inline-flex;
160
- }
161
-
162
- .hidden-xl {
163
- display: none !important;
164
- }
165
-
166
- .visible-xl,
167
- .visible-xl-block {
168
- display: block !important;
169
- }
170
-
171
- .visible-xl-inline-block {
172
- display: inline-block !important;
173
- }
174
-
175
- .visible-xl-inline {
176
- display: inline !important;
177
- }
178
- }
@@ -1,47 +0,0 @@
1
- .flex-row {
2
- flex-direction: row;
3
- }
4
-
5
- .flex-column {
6
- flex-direction: column;
7
- }
8
-
9
- @media (--screen-sm) {
10
- .flex-row--sm {
11
- flex-direction: row;
12
- }
13
-
14
- .flex-column--sm {
15
- flex-direction: column;
16
- }
17
- }
18
-
19
- @media (--screen-md) {
20
- .flex-row--md {
21
- flex-direction: row;
22
- }
23
-
24
- .flex-column--md {
25
- flex-direction: column;
26
- }
27
- }
28
-
29
- @media (--screen-lg) {
30
- .flex-row--lg {
31
- flex-direction: row;
32
- }
33
-
34
- .flex-column--lg {
35
- flex-direction: column;
36
- }
37
- }
38
-
39
- @media (--screen-xl) {
40
- .flex-row--xl {
41
- flex-direction: row;
42
- }
43
-
44
- .flex-column--xl {
45
- flex-direction: column;
46
- }
47
- }
@@ -1,27 +0,0 @@
1
- .flex-grow-1 {
2
- flex-grow: 1;
3
- }
4
-
5
- @media (--screen-sm) {
6
- .flex-grow-1--sm {
7
- flex-grow: 1;
8
- }
9
- }
10
-
11
- @media (--screen-md) {
12
- .flex-grow-1--md {
13
- flex-grow: 1;
14
- }
15
- }
16
-
17
- @media (--screen-lg) {
18
- .flex-grow-1--lg {
19
- flex-grow: 1;
20
- }
21
- }
22
-
23
- @media (--screen-xl) {
24
- .flex-grow-1--xl {
25
- flex-grow: 1;
26
- }
27
- }
@@ -1,47 +0,0 @@
1
- .flex-wrap {
2
- flex-wrap: wrap;
3
- }
4
-
5
- .flex-nowrap {
6
- flex-wrap: nowrap;
7
- }
8
-
9
- @media (--screen-sm) {
10
- .flex-wrap--sm {
11
- flex-wrap: wrap;
12
- }
13
-
14
- .flex-nowrap--sm {
15
- flex-wrap: nowrap;
16
- }
17
- }
18
-
19
- @media (--screen-md) {
20
- .flex-wrap--md {
21
- flex-wrap: wrap;
22
- }
23
-
24
- .flex-nowrap--md {
25
- flex-wrap: nowrap;
26
- }
27
- }
28
-
29
- @media (--screen-lg) {
30
- .flex-wrap--lg {
31
- flex-wrap: wrap;
32
- }
33
-
34
- .flex-nowrap--lg {
35
- flex-wrap: nowrap;
36
- }
37
- }
38
-
39
- @media (--screen-xl) {
40
- .flex-wrap--xl {
41
- flex-wrap: wrap;
42
- }
43
-
44
- .flex-nowrap--xl {
45
- flex-wrap: nowrap;
46
- }
47
- }
@@ -1,77 +0,0 @@
1
- .pull-left,
2
- .pull-xs-left {
3
- float: inline-start !important;
4
- }
5
-
6
- .pull-right,
7
- .pull-xs-right {
8
- float: inline-end !important;
9
- }
10
-
11
- .pull-right-single-direction {
12
- float: right !important;
13
- }
14
-
15
- .pull-left-single-direction {
16
- float: left !important;
17
- }
18
-
19
- .pull-xs-none {
20
- float: none !important;
21
- }
22
-
23
- @media (--screen-sm) {
24
- .pull-sm-left {
25
- float: inline-start !important;
26
- }
27
-
28
- .pull-sm-right {
29
- float: inline-end !important;
30
- }
31
-
32
- .pull-sm-none {
33
- float: none !important;
34
- }
35
- }
36
-
37
- @media (--screen-md) {
38
- .pull-md-left {
39
- float: inline-start !important;
40
- }
41
-
42
- .pull-md-right {
43
- float: inline-end !important;
44
- }
45
-
46
- .pull-md-none {
47
- float: none !important;
48
- }
49
- }
50
-
51
- @media (--screen-lg) {
52
- .pull-lg-left {
53
- float: inline-start !important;
54
- }
55
-
56
- .pull-lg-right {
57
- float: inline-end !important;
58
- }
59
-
60
- .pull-lg-none {
61
- float: none !important;
62
- }
63
- }
64
-
65
- @media (--screen-xl) {
66
- .pull-xl-left {
67
- float: inline-start !important;
68
- }
69
-
70
- .pull-xl-right {
71
- float: inline-end !important;
72
- }
73
-
74
- .pull-xl-none {
75
- float: none !important;
76
- }
77
- }
@@ -1,11 +0,0 @@
1
- .font-weight-normal {
2
- font-weight: var(--font-weight-regular) !important;
3
- }
4
-
5
- .font-weight-semi-bold {
6
- font-weight: var(--font-weight-semi-bold) !important;
7
- }
8
-
9
- .font-weight-bold {
10
- font-weight: var(--font-weight-bold) !important;
11
- }
@@ -1,3 +0,0 @@
1
- .gap-y-1 {
2
- row-gap: var(--size-8);
3
- }
@@ -1,107 +0,0 @@
1
- .justify-content-start {
2
- justify-content: flex-start;
3
- }
4
-
5
- .justify-content-end {
6
- justify-content: flex-end;
7
- }
8
-
9
- .justify-content-center {
10
- justify-content: center;
11
- }
12
-
13
- .justify-content-between {
14
- justify-content: space-between;
15
- }
16
-
17
- .justify-content-around {
18
- justify-content: space-around;
19
- }
20
-
21
- @media (--screen-sm) {
22
- .justify-content-start--sm {
23
- justify-content: flex-start;
24
- }
25
-
26
- .justify-content-end--sm {
27
- justify-content: flex-end;
28
- }
29
-
30
- .justify-content-center--sm {
31
- justify-content: center;
32
- }
33
-
34
- .justify-content-between--sm {
35
- justify-content: space-between;
36
- }
37
-
38
- .justify-content-around--sm {
39
- justify-content: space-around;
40
- }
41
- }
42
-
43
- @media (--screen-md) {
44
- .justify-content-start--md {
45
- justify-content: flex-start;
46
- }
47
-
48
- .justify-content-end--md {
49
- justify-content: flex-end;
50
- }
51
-
52
- .justify-content-center--md {
53
- justify-content: center;
54
- }
55
-
56
- .justify-content-between--md {
57
- justify-content: space-between;
58
- }
59
-
60
- .justify-content-around--md {
61
- justify-content: space-around;
62
- }
63
- }
64
-
65
- @media (--screen-lg) {
66
- .justify-content-start--lg {
67
- justify-content: flex-start;
68
- }
69
-
70
- .justify-content-end--lg {
71
- justify-content: flex-end;
72
- }
73
-
74
- .justify-content-center--lg {
75
- justify-content: center;
76
- }
77
-
78
- .justify-content-between--lg {
79
- justify-content: space-between;
80
- }
81
-
82
- .justify-content-around--lg {
83
- justify-content: space-around;
84
- }
85
- }
86
-
87
- @media (--screen-xl) {
88
- .justify-content-start--xl {
89
- justify-content: flex-start;
90
- }
91
-
92
- .justify-content-end--xl {
93
- justify-content: flex-end;
94
- }
95
-
96
- .justify-content-center--xl {
97
- justify-content: center;
98
- }
99
-
100
- .justify-content-between--xl {
101
- justify-content: space-between;
102
- }
103
-
104
- .justify-content-around--xl {
105
- justify-content: space-around;
106
- }
107
- }
@@ -1,192 +0,0 @@
1
- .m-a-0 {
2
- margin: 0px !important;
3
- }
4
-
5
- .m-a-1 {
6
- margin: var(--size-8) !important;
7
- }
8
-
9
- .m-a-2 {
10
- margin: var(--size-16) !important;
11
- }
12
-
13
- .m-a-3 {
14
- margin: var(--size-24) !important;
15
- }
16
-
17
- .m-a-4 {
18
- margin: var(--size-32) !important;
19
- }
20
-
21
- .m-a-5 {
22
- margin: var(--size-40) !important;
23
- }
24
-
25
- .m-x-0 {
26
- margin-left: 0px !important;
27
- margin-right: 0px !important;
28
- }
29
-
30
- .m-x-1 {
31
- margin-left: var(--size-8) !important;
32
- margin-right: var(--size-8) !important;
33
- }
34
-
35
- .m-x-2 {
36
- margin-left: var(--size-16) !important;
37
- margin-right: var(--size-16) !important;
38
- }
39
-
40
- .m-x-3 {
41
- margin-left: var(--size-24) !important;
42
- margin-right: var(--size-24) !important;
43
- }
44
-
45
- .m-x-4 {
46
- margin-left: var(--size-32) !important;
47
- margin-right: var(--size-32) !important;
48
- }
49
-
50
- .m-x-5 {
51
- margin-left: var(--size-40) !important;
52
- margin-right: var(--size-40) !important;
53
- }
54
-
55
- .m-x-auto {
56
- margin-left: auto !important;
57
- margin-right: auto !important;
58
- }
59
-
60
- .m-y-0 {
61
- margin-top: 0px !important;
62
- margin-bottom: 0px !important;
63
- }
64
-
65
- .m-y-1 {
66
- margin-top: var(--size-8) !important;
67
- margin-bottom: var(--size-8) !important;
68
- }
69
-
70
- .m-y-2 {
71
- margin-top: var(--size-16) !important;
72
- margin-bottom: var(--size-16) !important;
73
- }
74
-
75
- .m-y-3 {
76
- margin-top: var(--size-24) !important;
77
- margin-bottom: var(--size-24) !important;
78
- }
79
-
80
- .m-y-4 {
81
- margin-top: var(--size-32) !important;
82
- margin-bottom: var(--size-32) !important;
83
- }
84
-
85
- .m-y-5 {
86
- margin-top: var(--size-40) !important;
87
- margin-bottom: var(--size-40) !important;
88
- }
89
-
90
- .m-l-0 {
91
- margin-inline-start: 0px !important;
92
- }
93
-
94
- .m-l-1 {
95
- margin-inline-start: var(--size-8) !important;
96
- }
97
-
98
- .m-l-2 {
99
- margin-inline-start: var(--size-16) !important;
100
- }
101
-
102
- .m-l-3 {
103
- margin-inline-start: var(--size-24) !important;
104
- }
105
-
106
- .m-l-4 {
107
- margin-inline-start: var(--size-32) !important;
108
- }
109
-
110
- .m-l-5 {
111
- margin-inline-start: var(--size-40) !important;
112
- }
113
-
114
- .m-l-auto {
115
- margin-inline-start: auto !important;
116
- }
117
-
118
- .m-r-0 {
119
- margin-inline-end: 0px !important;
120
- }
121
-
122
- .m-r-1 {
123
- margin-inline-end: var(--size-8) !important;
124
- }
125
-
126
- .m-r-2 {
127
- margin-inline-end: var(--size-16) !important;
128
- }
129
-
130
- .m-r-3 {
131
- margin-inline-end: var(--size-24) !important;
132
- }
133
-
134
- .m-r-4 {
135
- margin-inline-end: var(--size-32) !important;
136
- }
137
-
138
- .m-r-5 {
139
- margin-inline-end: var(--size-40) !important;
140
- }
141
-
142
- .m-r-auto {
143
- margin-inline-end: auto !important;
144
- }
145
-
146
- .m-t-0 {
147
- margin-top: 0px !important;
148
- }
149
-
150
- .m-t-1 {
151
- margin-top: var(--size-8) !important;
152
- }
153
-
154
- .m-t-2 {
155
- margin-top: var(--size-16) !important;
156
- }
157
-
158
- .m-t-3 {
159
- margin-top: var(--size-24) !important;
160
- }
161
-
162
- .m-t-4 {
163
- margin-top: var(--size-32) !important;
164
- }
165
-
166
- .m-t-5 {
167
- margin-top: var(--size-40) !important;
168
- }
169
-
170
- .m-b-0 {
171
- margin-bottom: 0px !important;
172
- }
173
-
174
- .m-b-1 {
175
- margin-bottom: var(--size-8) !important;
176
- }
177
-
178
- .m-b-2 {
179
- margin-bottom: var(--size-16) !important;
180
- }
181
-
182
- .m-b-3 {
183
- margin-bottom: var(--size-24) !important;
184
- }
185
-
186
- .m-b-4 {
187
- margin-bottom: var(--size-32) !important;
188
- }
189
-
190
- .m-b-5 {
191
- margin-bottom: var(--size-40) !important;
192
- }
@@ -1,3 +0,0 @@
1
- .text-max-width {
2
- max-width: 600px;
3
- }