@transferwise/neptune-css 0.0.0-experimental-d672ed6 → 0.0.0-experimental-0e8eafd

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 (50) hide show
  1. package/dist/css/border-radius.css +1 -1
  2. package/dist/css/flex.css +1 -1
  3. package/dist/css/navbar-base.css +1 -1
  4. package/dist/css/navbar.css +1 -1
  5. package/dist/css/neptune-addons.css +1 -1
  6. package/dist/css/neptune-core.css +1 -1
  7. package/dist/css/neptune.css +1 -1
  8. package/dist/css/utilities.css +1 -1
  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 +33 -4
  15. package/src/less/core/_typography-utilities.less +241 -15
  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 -30
  22. package/src/less/utilities/align-items.less +0 -139
  23. package/src/less/utilities/align-self.less +0 -139
  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 -333
  28. package/src/less/utilities/flex-direction.less +0 -55
  29. package/src/less/utilities/flex-grow.less +0 -27
  30. package/src/less/utilities/flex-wrap.less +0 -55
  31. package/src/less/utilities/float.less +0 -93
  32. package/src/less/utilities/font-style.less +0 -3
  33. package/src/less/utilities/font-weight.less +0 -11
  34. package/src/less/utilities/gap.less +0 -3
  35. package/src/less/utilities/justify-content.less +0 -139
  36. package/src/less/utilities/margin.less +0 -192
  37. package/src/less/utilities/max-width.less +0 -3
  38. package/src/less/utilities/order.less +0 -111
  39. package/src/less/utilities/outline-style.less +0 -8
  40. package/src/less/utilities/overflow-wrap.less +0 -3
  41. package/src/less/utilities/padding.less +0 -179
  42. package/src/less/utilities/position.less +0 -3
  43. package/src/less/utilities/rotate.less +0 -12
  44. package/src/less/utilities/screen-reader.less +0 -24
  45. package/src/less/utilities/text-align.less +0 -111
  46. package/src/less/utilities/text-decoration-line.less +0 -8
  47. package/src/less/utilities/text-overflow.less +0 -7
  48. package/src/less/utilities/text-transform.less +0 -11
  49. package/src/less/utilities/visibility.less +0 -3
  50. package/src/less/utilities/white-space.less +0 -27
@@ -1,179 +0,0 @@
1
- .p-a-0 {
2
- padding: 0px !important;
3
- }
4
-
5
- .p-a-1 {
6
- padding: var(--size-8) !important;
7
- }
8
-
9
- .p-a-2 {
10
- padding: var(--size-16) !important;
11
- }
12
-
13
- .p-a-3 {
14
- padding: var(--size-24) !important;
15
- }
16
-
17
- .p-a-4 {
18
- padding: var(--size-32) !important;
19
- }
20
-
21
- .p-a-5 {
22
- padding: var(--size-40) !important;
23
- }
24
-
25
- .p-x-0 {
26
- padding-left: 0px !important;
27
- padding-right: 0px !important;
28
- }
29
-
30
- .p-x-1 {
31
- padding-left: var(--size-8) !important;
32
- padding-right: var(--size-8) !important;
33
- }
34
-
35
- .p-x-2 {
36
- padding-left: var(--size-16) !important;
37
- padding-right: var(--size-16) !important;
38
- }
39
-
40
- .p-x-3 {
41
- padding-left: var(--size-24) !important;
42
- padding-right: var(--size-24) !important;
43
- }
44
-
45
- .p-x-4 {
46
- padding-left: var(--size-32) !important;
47
- padding-right: var(--size-32) !important;
48
- }
49
-
50
- .p-x-5 {
51
- padding-left: var(--size-40) !important;
52
- padding-right: var(--size-40) !important;
53
- }
54
-
55
- .p-y-0 {
56
- padding-top: 0px !important;
57
- padding-bottom: 0px !important;
58
- }
59
-
60
- .p-y-1 {
61
- padding-top: var(--size-8) !important;
62
- padding-bottom: var(--size-8) !important;
63
- }
64
-
65
- .p-y-2 {
66
- padding-top: var(--size-16) !important;
67
- padding-bottom: var(--size-16) !important;
68
- }
69
-
70
- .p-y-3 {
71
- padding-top: var(--size-24) !important;
72
- padding-bottom: var(--size-24) !important;
73
- }
74
-
75
- .p-y-4 {
76
- padding-top: var(--size-32) !important;
77
- padding-bottom: var(--size-32) !important;
78
- }
79
-
80
- .p-y-5 {
81
- padding-top: var(--size-40) !important;
82
- padding-bottom: var(--size-40) !important;
83
- }
84
-
85
- .p-l-0 {
86
- padding-inline-start: 0px !important;
87
- }
88
-
89
- .p-l-1 {
90
- padding-inline-start: var(--size-8) !important;
91
- }
92
-
93
- .p-l-2 {
94
- padding-inline-start: var(--size-16) !important;
95
- }
96
-
97
- .p-l-3 {
98
- padding-inline-start: var(--size-24) !important;
99
- }
100
-
101
- .p-l-4 {
102
- padding-inline-start: var(--size-32) !important;
103
- }
104
-
105
- .p-l-5 {
106
- padding-inline-start: var(--size-40) !important;
107
- }
108
-
109
- .p-r-0 {
110
- padding-inline-end: 0px !important;
111
- }
112
-
113
- .p-r-1 {
114
- padding-inline-end: var(--size-8) !important;
115
- }
116
-
117
- .p-r-2 {
118
- padding-inline-end: var(--size-16) !important;
119
- }
120
-
121
- .p-r-3 {
122
- padding-inline-end: var(--size-24) !important;
123
- }
124
-
125
- .p-r-4 {
126
- padding-inline-end: var(--size-32) !important;
127
- }
128
-
129
- .p-r-5 {
130
- padding-inline-end: var(--size-40) !important;
131
- }
132
-
133
- .p-t-0 {
134
- padding-top: 0px !important;
135
- }
136
-
137
- .p-t-1 {
138
- padding-top: var(--size-8) !important;
139
- }
140
-
141
- .p-t-2 {
142
- padding-top: var(--size-16) !important;
143
- }
144
-
145
- .p-t-3 {
146
- padding-top: var(--size-24) !important;
147
- }
148
-
149
- .p-t-4 {
150
- padding-top: var(--size-32) !important;
151
- }
152
-
153
- .p-t-5 {
154
- padding-top: var(--size-40) !important;
155
- }
156
-
157
- .p-b-0 {
158
- padding-bottom: 0px !important;
159
- }
160
-
161
- .p-b-1 {
162
- padding-bottom: var(--size-8) !important;
163
- }
164
-
165
- .p-b-2 {
166
- padding-bottom: var(--size-16) !important;
167
- }
168
-
169
- .p-b-3 {
170
- padding-bottom: var(--size-24) !important;
171
- }
172
-
173
- .p-b-4 {
174
- padding-bottom: var(--size-32) !important;
175
- }
176
-
177
- .p-b-5 {
178
- padding-bottom: var(--size-40) !important;
179
- }
@@ -1,3 +0,0 @@
1
- .affix {
2
- position: fixed;
3
- }
@@ -1,12 +0,0 @@
1
- .rotate90 {
2
- transform: rotate(90deg);
3
- }
4
-
5
- .rotate180 {
6
- transform: rotate(180deg);
7
- }
8
-
9
- .rotate270,
10
- .rotate-90 {
11
- transform: rotate(-90deg);
12
- }
@@ -1,24 +0,0 @@
1
- // Only display content to screen readers
2
- .sr-only {
3
- position: absolute;
4
- width: 1px;
5
- height: 1px;
6
- padding: 0;
7
- margin: -1px;
8
- overflow: hidden;
9
- clip: rect(0, 0, 0, 0);
10
- white-space: nowrap;
11
- border-width: 0;
12
- }
13
-
14
- // Use in conjunction with `.sr-only` to only display content when it's focused.
15
- .sr-only-focusable:focus {
16
- position: static;
17
- width: auto;
18
- height: auto;
19
- padding: 0;
20
- margin: 0;
21
- overflow: visible;
22
- clip: auto;
23
- white-space: normal;
24
- }
@@ -1,111 +0,0 @@
1
- .text-xs-center {
2
- text-align: center;
3
- }
4
-
5
- @media (--screen-sm) {
6
- .text-sm-center {
7
- text-align: center;
8
- }
9
- }
10
-
11
- @media (--screen-md) {
12
- .text-md-center {
13
- text-align: center;
14
- }
15
- }
16
-
17
- @media (--screen-lg) {
18
- .text-lg-center {
19
- text-align: center;
20
- }
21
- }
22
-
23
- @media (--screen-xl) {
24
- .text-xl-center {
25
- text-align: center;
26
- }
27
- }
28
-
29
- .text-xs-justify {
30
- text-align: justify;
31
- }
32
-
33
- @media (--screen-sm) {
34
- .text-sm-justify {
35
- text-align: justify;
36
- }
37
- }
38
-
39
- @media (--screen-md) {
40
- .text-md-justify {
41
- text-align: justify;
42
- }
43
- }
44
-
45
- @media (--screen-lg) {
46
- .text-lg-justify {
47
- text-align: justify;
48
- }
49
- }
50
-
51
- @media (--screen-xl) {
52
- .text-xl-justify {
53
- text-align: justify;
54
- }
55
- }
56
-
57
- .text-xs-left {
58
- text-align: start;
59
- }
60
-
61
- @media (--screen-sm) {
62
- .text-sm-left {
63
- text-align: start;
64
- }
65
- }
66
-
67
- @media (--screen-md) {
68
- .text-md-left {
69
- text-align: start;
70
- }
71
- }
72
-
73
- @media (--screen-lg) {
74
- .text-lg-left {
75
- text-align: start;
76
- }
77
- }
78
-
79
- @media (--screen-xl) {
80
- .text-xl-left {
81
- text-align: start;
82
- }
83
- }
84
-
85
- .text-xs-right {
86
- text-align: end;
87
- }
88
-
89
- @media (--screen-sm) {
90
- .text-sm-right {
91
- text-align: end;
92
- }
93
- }
94
-
95
- @media (--screen-md) {
96
- .text-md-right {
97
- text-align: end;
98
- }
99
- }
100
-
101
- @media (--screen-lg) {
102
- .text-lg-right {
103
- text-align: end;
104
- }
105
- }
106
-
107
- @media (--screen-xl) {
108
- .text-xl-right {
109
- text-align: end;
110
- }
111
- }
@@ -1,8 +0,0 @@
1
- .text-underline {
2
- text-decoration-line: underline !important;
3
- text-underline-offset: 2px;
4
- }
5
-
6
- .text-no-decoration {
7
- text-decoration-line: none !important;
8
- }
@@ -1,7 +0,0 @@
1
- .text-ellipsis,
2
- .text-ellipses {
3
- display: block;
4
- overflow: hidden;
5
- text-overflow: ellipsis;
6
- white-space: nowrap;
7
- }
@@ -1,11 +0,0 @@
1
- .text-uppercase {
2
- text-transform: uppercase;
3
- }
4
-
5
- .text-lowercase {
6
- text-transform: lowercase;
7
- }
8
-
9
- .text-capitalize {
10
- text-transform: capitalize;
11
- }
@@ -1,3 +0,0 @@
1
- .invisible {
2
- visibility: hidden;
3
- }
@@ -1,27 +0,0 @@
1
- .text-xs-nowrap {
2
- white-space: nowrap;
3
- }
4
-
5
- @media (--screen-sm) {
6
- .text-sm-nowrap {
7
- white-space: nowrap;
8
- }
9
- }
10
-
11
- @media (--screen-md) {
12
- .text-md-nowrap {
13
- white-space: nowrap;
14
- }
15
- }
16
-
17
- @media (--screen-lg) {
18
- .text-lg-nowrap {
19
- white-space: nowrap;
20
- }
21
- }
22
-
23
- @media (--screen-xl) {
24
- .text-xl-nowrap {
25
- white-space: nowrap;
26
- }
27
- }