@transferwise/neptune-css 0.0.0-experimental-b2d4d5e → 0.0.0-experimental-ac22269

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.
@@ -126,54 +126,6 @@
126
126
  src: url(../fonts/rubik/rubik-latin-ext-wght-normal.woff2) format("woff2");
127
127
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
128
128
  }
129
- @font-face {
130
- font-family: "Rubik";
131
- font-style: normal;
132
- font-display: swap;
133
- font-weight: 900;
134
- src: url(../fonts/rubik/rubik-cyrillic-900-normal.woff2) format("woff2");
135
- unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
136
- }
137
- @font-face {
138
- font-family: "Rubik";
139
- font-style: normal;
140
- font-display: swap;
141
- font-weight: 900;
142
- src: url(../fonts/rubik/rubik-cyrillic-ext-900-normal.woff2) format("woff2");
143
- unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
144
- }
145
- @font-face {
146
- font-family: "Rubik Body";
147
- font-style: normal;
148
- font-display: swap;
149
- font-weight: 300;
150
- src: url(../fonts/rubik/rubik-body-cyrillic-330-normal.woff2) format("woff2");
151
- unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
152
- }
153
- @font-face {
154
- font-family: "Rubik Body";
155
- font-style: normal;
156
- font-display: swap;
157
- font-weight: 300;
158
- src: url(../fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2) format("woff2");
159
- unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
160
- }
161
- @font-face {
162
- font-family: "Rubik Body";
163
- font-style: normal;
164
- font-display: swap;
165
- font-weight: 600;
166
- src: url(../fonts/rubik/rubik-body-cyrillic-600-normal.woff2) format("woff2");
167
- unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
168
- }
169
- @font-face {
170
- font-family: "Rubik Body";
171
- font-style: normal;
172
- font-display: swap;
173
- font-weight: 600;
174
- src: url(../fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2) format("woff2");
175
- unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
176
- }
177
129
  @font-face {
178
130
  font-family: "Noto Sans Hebrew";
179
131
  font-style: normal;
@@ -153,7 +153,8 @@
153
153
  --font-family-display: 'Wise Sans', Inter, sans-serif;
154
154
  }
155
155
 
156
- :root {
156
+ :root,
157
+ :lang(en) {
157
158
  --wds-font-family-display: 'Wise Sans', Inter, Rubik, 'Noto Sans SC', 'Zen Kaku Gothic Antique', 'Noto Sans KR', 'Noto Sans Thai', 'Noto Sans Hebrew', sans-serif;
158
159
  --wds-font-family-display-number: 'Wise Sans', Inter, sans-serif;
159
160
  --wds-font-family-regular: Inter, Vazirmatn, 'Noto Sans SC', 'Zen Kaku Gothic Antique', 'Noto Sans KR', 'Noto Sans Thai', 'Noto Sans Hebrew', Helvetica, Arial, sans-serif;
@@ -1830,7 +1831,8 @@
1830
1831
  */
1831
1832
 
1832
1833
 
1833
- :root {
1834
+ :root,
1835
+ :lang(en) {
1834
1836
  --wds-font-family-display: 'Wise Sans', Inter, Rubik, 'Noto Sans SC', 'Zen Kaku Gothic Antique', 'Noto Sans KR', 'Noto Sans Thai', 'Noto Sans Hebrew', sans-serif;
1835
1837
  --wds-font-family-display-number: 'Wise Sans', Inter, sans-serif;
1836
1838
  --wds-font-family-regular: Inter, Vazirmatn, 'Noto Sans SC', 'Zen Kaku Gothic Antique', 'Noto Sans KR', 'Noto Sans Thai', 'Noto Sans Hebrew', Helvetica, Arial, sans-serif;
@@ -2901,6 +2903,7 @@ small,
2901
2903
  line-height: var(--wds-line-height-nav);
2902
2904
  letter-spacing: var(--wds-letter-spacing-nav);
2903
2905
  }
2906
+ /* Deprecated: use .wds-text-display-number-small instead */
2904
2907
  .wds-text-display-number,
2905
2908
  .np-text-display-number,
2906
2909
  .wds-text-display-number,
@@ -3039,54 +3042,6 @@ small,
3039
3042
  src: url(../fonts/rubik/rubik-latin-ext-wght-normal.woff2) format("woff2");
3040
3043
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
3041
3044
  }
3042
- @font-face {
3043
- font-family: "Rubik";
3044
- font-style: normal;
3045
- font-display: swap;
3046
- font-weight: 900;
3047
- src: url(../fonts/rubik/rubik-cyrillic-900-normal.woff2) format("woff2");
3048
- unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
3049
- }
3050
- @font-face {
3051
- font-family: "Rubik";
3052
- font-style: normal;
3053
- font-display: swap;
3054
- font-weight: 900;
3055
- src: url(../fonts/rubik/rubik-cyrillic-ext-900-normal.woff2) format("woff2");
3056
- unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
3057
- }
3058
- @font-face {
3059
- font-family: "Rubik Body";
3060
- font-style: normal;
3061
- font-display: swap;
3062
- font-weight: 300;
3063
- src: url(../fonts/rubik/rubik-body-cyrillic-330-normal.woff2) format("woff2");
3064
- unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
3065
- }
3066
- @font-face {
3067
- font-family: "Rubik Body";
3068
- font-style: normal;
3069
- font-display: swap;
3070
- font-weight: 300;
3071
- src: url(../fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2) format("woff2");
3072
- unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
3073
- }
3074
- @font-face {
3075
- font-family: "Rubik Body";
3076
- font-style: normal;
3077
- font-display: swap;
3078
- font-weight: 600;
3079
- src: url(../fonts/rubik/rubik-body-cyrillic-600-normal.woff2) format("woff2");
3080
- unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
3081
- }
3082
- @font-face {
3083
- font-family: "Rubik Body";
3084
- font-style: normal;
3085
- font-display: swap;
3086
- font-weight: 600;
3087
- src: url(../fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2) format("woff2");
3088
- unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
3089
- }
3090
3045
  @font-face {
3091
3046
  font-family: "Noto Sans Hebrew";
3092
3047
  font-style: normal;
@@ -153,7 +153,8 @@
153
153
  --font-family-display: 'Wise Sans', Inter, sans-serif;
154
154
  }
155
155
 
156
- :root {
156
+ :root,
157
+ :lang(en) {
157
158
  --wds-font-family-display: 'Wise Sans', Inter, Rubik, 'Noto Sans SC', 'Zen Kaku Gothic Antique', 'Noto Sans KR', 'Noto Sans Thai', 'Noto Sans Hebrew', sans-serif;
158
159
  --wds-font-family-display-number: 'Wise Sans', Inter, sans-serif;
159
160
  --wds-font-family-regular: Inter, Vazirmatn, 'Noto Sans SC', 'Zen Kaku Gothic Antique', 'Noto Sans KR', 'Noto Sans Thai', 'Noto Sans Hebrew', Helvetica, Arial, sans-serif;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@transferwise/neptune-css",
3
3
  "description": "Neptune CSS library",
4
- "version": "0.0.0-experimental-b2d4d5e",
4
+ "version": "0.0.0-experimental-ac22269",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -23,7 +23,7 @@
23
23
  "scripts"
24
24
  ],
25
25
  "dependencies": {
26
- "@transferwise/neptune-tokens": "^8.26.0"
26
+ "@transferwise/neptune-tokens": "0.0.0-experimental-75ee14d"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@transferwise/less-config": "3.2.0",
@@ -84,57 +84,3 @@
84
84
  U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
85
85
  U+A720-A7FF;
86
86
  }
87
-
88
- @font-face {
89
- font-family: "Rubik";
90
- font-style: normal;
91
- font-display: swap;
92
- font-weight: 900;
93
- src: url(../fonts/rubik/rubik-cyrillic-900-normal.woff2) format("woff2");
94
- unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
95
- }
96
-
97
- @font-face {
98
- font-family: "Rubik";
99
- font-style: normal;
100
- font-display: swap;
101
- font-weight: 900;
102
- src: url(../fonts/rubik/rubik-cyrillic-ext-900-normal.woff2) format("woff2");
103
- unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
104
- }
105
-
106
- @font-face {
107
- font-family: "Rubik Body";
108
- font-style: normal;
109
- font-display: swap;
110
- font-weight: 300;
111
- src: url(../fonts/rubik/rubik-body-cyrillic-330-normal.woff2) format("woff2");
112
- unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
113
- }
114
-
115
- @font-face {
116
- font-family: "Rubik Body";
117
- font-style: normal;
118
- font-display: swap;
119
- font-weight: 300;
120
- src: url(../fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2) format("woff2");
121
- unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
122
- }
123
-
124
- @font-face {
125
- font-family: "Rubik Body";
126
- font-style: normal;
127
- font-display: swap;
128
- font-weight: 600;
129
- src: url(../fonts/rubik/rubik-body-cyrillic-600-normal.woff2) format("woff2");
130
- unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
131
- }
132
-
133
- @font-face {
134
- font-family: "Rubik Body";
135
- font-style: normal;
136
- font-display: swap;
137
- font-weight: 600;
138
- src: url(../fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2) format("woff2");
139
- unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
140
- }