@transferwise/neptune-css 0.0.0-experimental-526a2be → 0.0.0-experimental-26ff56b

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 (96) hide show
  1. package/dist/css/accordion.css +22 -66
  2. package/dist/css/alerts.css +0 -39
  3. package/dist/css/background.css +0 -1
  4. package/dist/css/badge.css +2 -14
  5. package/dist/css/breadcrumbs.css +0 -2
  6. package/dist/css/button-groups.css +29 -12
  7. package/dist/css/buttons.css +35 -177
  8. package/dist/css/chevron.css +0 -1
  9. package/dist/css/circles.css +0 -19
  10. package/dist/css/close.css +0 -3
  11. package/dist/css/column-layout.css +0 -3
  12. package/dist/css/currency-flags.css +0 -3
  13. package/dist/css/decision.css +22 -61
  14. package/dist/css/dropdowns.css +39 -75
  15. package/dist/css/droppable.css +28 -26
  16. package/dist/css/flex.css +0 -16
  17. package/dist/css/footer.css +41 -28
  18. package/dist/css/grid.css +0 -6
  19. package/dist/css/input-groups.css +203 -361
  20. package/dist/css/link-callout.css +0 -1
  21. package/dist/css/list-group.css +1 -88
  22. package/dist/css/media.css +0 -3
  23. package/dist/css/modals.css +1 -15
  24. package/dist/css/navbar.css +66 -213
  25. package/dist/css/navs.css +8 -35
  26. package/dist/css/neptune-addons.css +15 -298
  27. package/dist/css/neptune-core.css +5935 -667
  28. package/dist/css/neptune.css +8492 -3482
  29. package/dist/css/panels.css +2 -6
  30. package/dist/css/popovers.css +39 -89
  31. package/dist/css/process.css +0 -9
  32. package/dist/css/progress-bars.css +2 -16
  33. package/dist/css/ring.css +0 -4
  34. package/dist/css/select.css +0 -8
  35. package/dist/css/sequences.css +14 -69
  36. package/dist/css/table.css +7 -54
  37. package/dist/css/tick.css +0 -2
  38. package/dist/css/tooltip.css +28 -19
  39. package/dist/css/wells.css +0 -20
  40. package/dist/less/legacy-variables.css +0 -0
  41. package/dist/less/legacy-variables.less +3 -3
  42. package/dist/less/neptune-tokens.css +0 -0
  43. package/dist/less/neptune-tokens.less +0 -48
  44. package/dist/less/zindex.css +0 -0
  45. package/dist/props/neptune-tokens.css +804 -3
  46. package/package.json +1 -1
  47. package/src/less/addons/_background-utilities.less +5 -0
  48. package/src/less/badge.less +2 -2
  49. package/src/less/button-groups.less +3 -2
  50. package/src/less/buttons.less +7 -7
  51. package/src/less/core/_fonts.less +7 -75
  52. package/src/less/core/_scaffolding.less +4 -4
  53. package/src/less/core/_typography-utilities.less +3 -3
  54. package/src/less/core/_typography.less +81 -235
  55. package/src/less/core/fonts/_fonts-ar.less +140 -0
  56. package/src/less/core/fonts/_fonts-en.less +99 -0
  57. package/src/less/core/fonts/_fonts-he.less +8 -0
  58. package/src/less/core/fonts/_fonts-ja.less +4247 -0
  59. package/src/less/core/fonts/_fonts-ko.less +1079 -0
  60. package/src/less/core/fonts/_fonts-th.less +8 -0
  61. package/src/less/core/fonts/_fonts-zh.less +872 -0
  62. package/src/less/decision.less +2 -2
  63. package/src/less/dropdowns.less +8 -7
  64. package/src/less/droppable.less +4 -4
  65. package/src/less/footer.less +4 -3
  66. package/src/less/forms/bootstrap-forms.less +85 -72
  67. package/src/less/forms/checkbox-radio.less +3 -3
  68. package/src/less/input-groups.less +23 -10
  69. package/src/less/list-group.less +8 -5
  70. package/src/less/mixins/_reset-text.less +1 -1
  71. package/src/less/mixins/_text-emphasis.less +7 -1
  72. package/src/less/modals.less +1 -1
  73. package/src/less/navbar.less +19 -19
  74. package/src/less/navs.less +8 -8
  75. package/src/less/neptune.bundle.less +4 -0
  76. package/src/less/panels.less +2 -2
  77. package/src/less/popovers.less +7 -7
  78. package/src/less/progress-bars.less +2 -2
  79. package/src/less/sequences.less +15 -10
  80. package/src/less/table.less +7 -7
  81. package/src/less/tooltip.less +1 -1
  82. package/src/variables/legacy-variables.less +3 -3
  83. package/dist/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  84. package/dist/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  85. package/dist/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  86. package/dist/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  87. package/dist/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  88. package/dist/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  89. package/dist/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  90. package/src/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  91. package/src/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  92. package/src/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  93. package/src/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  94. package/src/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  95. package/src/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  96. package/src/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
@@ -18,11 +18,11 @@
18
18
  }
19
19
 
20
20
  &__title {
21
- .np-text-title-body();
21
+ .wds-text-title-body();
22
22
  }
23
23
 
24
24
  &__content {
25
- .np-text-body-default;
25
+ .wds-text-body-default;
26
26
 
27
27
  margin-top: var(--size-4);
28
28
  }
@@ -1,4 +1,4 @@
1
- @import (reference) "../variables/neptune-tokens.less";
1
+ @import (reference) "../variables/neptune-tokens.less";
2
2
  @import (reference) "../variables/legacy-variables.less";
3
3
  @import (reference) "../less/core/_typography.less";
4
4
  @import (reference) "./mixins/_border-radius.less";
@@ -30,7 +30,7 @@
30
30
 
31
31
  margin: 0; // override default ul
32
32
  list-style: none;
33
- .np-text-body-default;
33
+ .wds-text-body-default;
34
34
  .text-align(left); // Ensures proper alignment if parent has it changed (e.g., modal footer)
35
35
 
36
36
  background-color: var(--color-background-screen);
@@ -74,7 +74,7 @@
74
74
  padding: var(--dropdown-link-padding);
75
75
  clear: both;
76
76
  border-radius: @border-radius-base;
77
- .np-text-body-default;
77
+ .wds-text-body-default;
78
78
 
79
79
  color: var(--color-content-primary);
80
80
  white-space: nowrap; // prevent links from randomly breaking onto new lines
@@ -174,8 +174,9 @@
174
174
  color: inherit;
175
175
  }
176
176
 
177
- .np-text-body-default,
178
177
  .small,
178
+ .np-text-body-default,
179
+ .wds-text-body-default,
179
180
  .secondary {
180
181
  color: @color-navy-content-secondary;
181
182
  }
@@ -308,12 +309,12 @@
308
309
  .dropdown-header {
309
310
  display: block;
310
311
  padding: 8px 16px;
311
- font-size: var(--font-size-14);
312
- line-height: var(--line-height-body);
312
+ font-size: var(--wds-font-size-body);
313
+ line-height: var(--wds-line-height-body-large);
313
314
  color: var(--color-content-secondary);
314
315
  white-space: nowrap; // as with > li > a
315
316
 
316
- .np-text-title-group();
317
+ .wds-text-title-group();
317
318
  }
318
319
 
319
320
  // Backdrop to catch body clicks on mobile, etc.
@@ -4,7 +4,7 @@
4
4
 
5
5
  .droppable {
6
6
  position: relative;
7
- .np-text-body-large;
7
+ .wds-text-body-large;
8
8
 
9
9
  text-align: center;
10
10
  border: 1px solid var(--color-interactive-secondary);
@@ -74,7 +74,7 @@
74
74
  }
75
75
  .circle {
76
76
  background-color: var(--color-contrast);
77
- color: var(--color-content-primary)!important;
77
+ color: var(--color-content-primary) !important;
78
78
  }
79
79
  }
80
80
  }
@@ -136,7 +136,7 @@
136
136
 
137
137
  .np-theme-personal & {
138
138
  // is a hex code because can't have transparency
139
- background-color: #E1E4DF;
139
+ background-color: #e1e4df;
140
140
  color: var(--color-content-primary);
141
141
  }
142
142
 
@@ -147,7 +147,7 @@
147
147
 
148
148
  .np-theme-personal--forest-green & {
149
149
  // is a hex code because can't have transparency
150
- background-color: #455C35;
150
+ background-color: #455c35;
151
151
  }
152
152
  }
153
153
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  .footer {
5
5
  background-color: var(--color-background-neutral);
6
- .np-text-body-default;
6
+ .wds-text-body-default;
7
7
 
8
8
  padding-top: calc(var(--size-8) * 10);
9
9
  padding-bottom: calc(var(--size-8) * 10);
@@ -21,7 +21,7 @@
21
21
  .footer-link,
22
22
  .link-icon {
23
23
  color: var(--color-content-secondary);
24
- .np-text-body-default;
24
+ .wds-text-body-default;
25
25
 
26
26
  &:hover,
27
27
  &:active,
@@ -102,7 +102,8 @@
102
102
 
103
103
  .tiny,
104
104
  .body-3,
105
- .np-text-body-default {
105
+ .np-text-body-default,
106
+ .wds-text-body-default {
106
107
  color: @color-navy-content-primary;
107
108
  }
108
109
  }
@@ -1,11 +1,11 @@
1
- @import (reference) '../../variables/legacy-variables.less';
2
- @import (reference) '../../variables/neptune-tokens.less';
3
- @import (reference) '../mixins/_arrows.less';
4
- @import (reference) '../mixins/_grid.less';
5
- @import (reference) '../mixins/_forms.less';
6
- @import (reference) '../mixins/_tab-focus.less';
7
- @import (reference) '../mixins/_logical-properties.less';
8
- @import (reference) '../core/_typography.less';
1
+ @import (reference) "../../variables/legacy-variables.less";
2
+ @import (reference) "../../variables/neptune-tokens.less";
3
+ @import (reference) "../mixins/_arrows.less";
4
+ @import (reference) "../mixins/_grid.less";
5
+ @import (reference) "../mixins/_forms.less";
6
+ @import (reference) "../mixins/_tab-focus.less";
7
+ @import (reference) "../mixins/_logical-properties.less";
8
+ @import (reference) "../core/_typography.less";
9
9
 
10
10
  //
11
11
  // Forms
@@ -43,7 +43,7 @@ label,
43
43
  .secondary {
44
44
  color: var(--color-content-secondary);
45
45
  transition: color ease-in-out 0.15s;
46
- font-size: var(--font-size-14);
46
+ font-size: var(--wds-font-size-body);
47
47
  line-height: 20px;
48
48
  }
49
49
 
@@ -54,34 +54,34 @@ label,
54
54
  // address browser inconsistencies.
55
55
 
56
56
  // Override content-box in Normalize (* isn't specific enough)
57
- input[type='search'] {
57
+ input[type="search"] {
58
58
  box-sizing: border-box;
59
59
  }
60
60
 
61
- input[type='number'] {
61
+ input[type="number"] {
62
62
  appearance: textfield;
63
63
  }
64
64
 
65
- input[type='number']::-webkit-outer-spin-button,
66
- input[type='number']::-webkit-inner-spin-button {
65
+ input[type="number"]::-webkit-outer-spin-button,
66
+ input[type="number"]::-webkit-inner-spin-button {
67
67
  appearance: none;
68
68
  margin: 0;
69
69
  }
70
70
 
71
71
  // Position radios and checkboxes better
72
- input[type='radio'],
73
- input[type='checkbox'] {
72
+ input[type="radio"],
73
+ input[type="checkbox"] {
74
74
  margin: 4px 0 0;
75
75
  margin-top: 1px;
76
76
  line-height: normal;
77
77
  }
78
78
 
79
- input[type='file'] {
79
+ input[type="file"] {
80
80
  display: block;
81
81
  }
82
82
 
83
83
  // Make range inputs behave like textual form controls
84
- input[type='range'] {
84
+ input[type="range"] {
85
85
  display: block;
86
86
  width: 100%;
87
87
  }
@@ -93,9 +93,9 @@ select[size] {
93
93
  }
94
94
 
95
95
  // Focus for file, radio, and checkbox
96
- input[type='file']:focus,
97
- input[type='radio']:focus,
98
- input[type='checkbox']:focus {
96
+ input[type="file"]:focus,
97
+ input[type="radio"]:focus,
98
+ input[type="checkbox"]:focus {
99
99
  .tab-focus();
100
100
  }
101
101
 
@@ -103,8 +103,8 @@ input[type='checkbox']:focus {
103
103
  output {
104
104
  display: block;
105
105
  padding-top: (@padding-base-vertical + 1);
106
- font-size: var(--font-size-16);
107
- line-height: var(--line-height-control);
106
+ font-size: var(--wds-font-size-body-large);
107
+ line-height: var(--wds-line-height-title-section);
108
108
  color: var(--color-content-primary);
109
109
  }
110
110
 
@@ -138,14 +138,14 @@ output {
138
138
  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
139
139
  border: 1px solid var(--color-interactive-secondary);
140
140
  transition: border-color ease-in-out 0.15s;
141
- font-size: var(--font-size-16);
141
+ font-size: var(--wds-font-size-body-large);
142
142
 
143
143
  .input-size(
144
144
  var(--input-height-base),
145
145
  var(--input-padding),
146
146
  @input-border-radius
147
147
  );
148
- .np-text-body-large;
148
+ .wds-text-body-large;
149
149
 
150
150
  // Remove iOS drop shadow
151
151
  background-clip: padding-box;
@@ -197,7 +197,7 @@ output {
197
197
  // be added to `.form-control` as it's not specific enough. For details, see
198
198
  // https://github.com/twbs/bootstrap/issues/11586.
199
199
 
200
- input[type='search'] {
200
+ input[type="search"] {
201
201
  appearance: none;
202
202
  }
203
203
 
@@ -209,10 +209,10 @@ input[type='search'] {
209
209
  // for Safari. See https://bugs.webkit.org/show_bug.cgi?id=139848
210
210
 
211
211
  @media screen and (min-device-pixel-ratio: 0) {
212
- input[type='date'],
213
- input[type='time'],
214
- input[type='datetime-local'],
215
- input[type='month'] {
212
+ input[type="date"],
213
+ input[type="time"],
214
+ input[type="datetime-local"],
215
+ input[type="month"] {
216
216
  line-height: var(--input-height-base);
217
217
 
218
218
  &.input-sm,
@@ -222,7 +222,7 @@ input[type='search'] {
222
222
 
223
223
  &.input-lg,
224
224
  .input-group-lg & {
225
- line-height: calc(var(--input-height-large) - var(--line-height-body));
225
+ line-height: calc(var(--input-height-large) - var(--wds-line-height-body-large));
226
226
  }
227
227
  }
228
228
  }
@@ -248,7 +248,7 @@ input[type='search'] {
248
248
  }
249
249
  }
250
250
 
251
- .row-equal-height > [class*='col-'] > .form-group {
251
+ .row-equal-height > [class*="col-"] > .form-group {
252
252
  width: 100%;
253
253
  }
254
254
 
@@ -275,10 +275,10 @@ input[type='search'] {
275
275
  margin-top: (@padding-base-vertical * 1.5);
276
276
  }
277
277
 
278
- .radio input[type='radio'],
279
- .radio-inline input[type='radio'],
280
- .checkbox input[type='checkbox'],
281
- .checkbox-inline input[type='checkbox'] {
278
+ .radio input[type="radio"],
279
+ .radio-inline input[type="radio"],
280
+ .checkbox input[type="checkbox"],
281
+ .checkbox-inline input[type="checkbox"] {
282
282
  position: absolute;
283
283
  .margin(left, -20px);
284
284
 
@@ -313,8 +313,8 @@ input[type='search'] {
313
313
  // Some special care is needed because <label>s don't inherit their parent's `cursor`.
314
314
  //
315
315
  // Note: Neither radios nor checkboxes can be readonly.
316
- input[type='radio'],
317
- input[type='checkbox'] {
316
+ input[type="radio"],
317
+ input[type="checkbox"] {
318
318
  &[disabled],
319
319
  &.disabled,
320
320
  fieldset[disabled] & {
@@ -349,7 +349,7 @@ input[type="password"] {
349
349
  .form-control-static {
350
350
  // Remove default margin from `p`
351
351
  margin-bottom: 0;
352
- min-height: calc(var(--line-height-control) * 2);
352
+ min-height: calc(var(--wds-line-height-title-section) * 2);
353
353
  color: var(--color-content-secondary);
354
354
  background-color: var(--color-background-neutral);
355
355
  border: 1px solid var(--color-interactive-secondary);
@@ -380,7 +380,7 @@ input[type="password"] {
380
380
  );
381
381
  font-size: 14px;
382
382
  line-height: 24px;
383
- .np-text-body-default();
383
+ .wds-text-body-default();
384
384
  }
385
385
 
386
386
  .form-group-sm,
@@ -388,7 +388,7 @@ input[type="password"] {
388
388
  .form-control {
389
389
  height: @input-height-small;
390
390
  padding: var(--input-padding-small);
391
- font-size: var(--font-size-14);
391
+ font-size: var(--wds-font-size-body);
392
392
  line-height: @input-line-height-small;
393
393
  border-radius: @input-border-radius-small;
394
394
  }
@@ -405,9 +405,9 @@ input[type="password"] {
405
405
 
406
406
  .form-control-static {
407
407
  height: @input-height-small;
408
- min-height: calc(var(--line-height-control) + @input-font-size-small);
408
+ min-height: calc(var(--wds-line-height-title-section) + @input-font-size-small);
409
409
  padding: var(--input-padding-small);
410
- font-size: var(--font-size-14);
410
+ font-size: var(--wds-font-size-body);
411
411
  line-height: @input-line-height-small;
412
412
  }
413
413
  }
@@ -418,7 +418,7 @@ input[type="password"] {
418
418
  var(--input-padding-large);
419
419
  @input-border-radius-large
420
420
  );
421
- .np-text-body-large;
421
+ .wds-text-body-large;
422
422
  }
423
423
 
424
424
  .form-group-lg {
@@ -445,7 +445,7 @@ input[type="password"] {
445
445
 
446
446
  .form-control-static {
447
447
  height: var(--input-height-large);
448
- min-height: calc(var(--line-height-control) + @input-font-size-large);
448
+ min-height: calc(var(--wds-line-height-title-section) + @input-font-size-large);
449
449
  padding: var(--input-padding-large);
450
450
  font-size: @input-font-size-large;
451
451
  line-height: @input-line-height-large;
@@ -533,7 +533,9 @@ input[type="password"] {
533
533
  border-style: solid;
534
534
  border-radius: var(--radius-small);
535
535
  padding: 4px 16px 3px;
536
- transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
536
+ transition:
537
+ border-color 0.15s ease-in-out,
538
+ background-color 0.15s ease-in-out;
537
539
 
538
540
  a {
539
541
  color: inherit;
@@ -624,7 +626,7 @@ input[type="password"] {
624
626
  // Reposition feedback icon if input has visible label above
625
627
  .has-feedback label {
626
628
  & ~ .form-control-feedback {
627
- top: var(--line-height-control); // Height of the `label` and its margin
629
+ top: var(--wds-line-height-title-section); // Height of the `label` and its margin
628
630
  }
629
631
 
630
632
  &.sr-only ~ .form-control-feedback {
@@ -701,8 +703,8 @@ input[type="password"] {
701
703
  }
702
704
  }
703
705
 
704
- .radio input[type='radio'],
705
- .checkbox input[type='checkbox'] {
706
+ .radio input[type="radio"],
707
+ .checkbox input[type="checkbox"] {
706
708
  position: relative;
707
709
  .margin(left, 0);
708
710
  }
@@ -735,7 +737,7 @@ input[type="password"] {
735
737
  // and other content below items
736
738
  .radio,
737
739
  .checkbox {
738
- min-height: calc(var(--line-height-control) + (@padding-base-vertical + 1));
740
+ min-height: calc(var(--wds-line-height-title-section) + (@padding-base-vertical + 1));
739
741
  }
740
742
 
741
743
  // Make form groups behave like rows
@@ -772,7 +774,7 @@ input[type="password"] {
772
774
  // DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
773
775
  .control-label {
774
776
  padding-top: 17px;
775
- font-size: var(--font-size-20);
777
+ font-size: var(--wds-font-size-title-body);
776
778
  }
777
779
  }
778
780
  }
@@ -782,13 +784,13 @@ input[type="password"] {
782
784
  // DEPRECATED: use `Field` component (or in some edge cases `Label` component) instead
783
785
  .control-label {
784
786
  padding-top: 8px;
785
- font-size: var(--font-size-14);
787
+ font-size: var(--wds-font-size-body);
786
788
  }
787
789
  }
788
790
  }
789
791
  }
790
792
 
791
- @import 'checkbox-radio.less';
793
+ @import "checkbox-radio.less";
792
794
 
793
795
  .input-group .input-group-btn + input {
794
796
  .border(left, 0, solid, transparent);
@@ -818,7 +820,7 @@ input[type="password"] {
818
820
 
819
821
  .form-group {
820
822
  position: relative;
821
- font-size: var(--font-size-14);
823
+ font-size: var(--wds-font-size-body);
822
824
  }
823
825
 
824
826
  .form-group .row {
@@ -826,7 +828,7 @@ input[type="password"] {
826
828
 
827
829
  .margin(right, -6px);
828
830
 
829
- [class*='col-'] {
831
+ [class*="col-"] {
830
832
  .padding(left, 6px);
831
833
 
832
834
  .padding(right, 6px);
@@ -834,7 +836,7 @@ input[type="password"] {
834
836
  }
835
837
 
836
838
  @media (max-width: @screen-xs-max) {
837
- .form-group .row [class*='col-sm-'] {
839
+ .form-group .row [class*="col-sm-"] {
838
840
  margin-bottom: 0;
839
841
 
840
842
  .btn-input {
@@ -844,7 +846,7 @@ input[type="password"] {
844
846
  }
845
847
 
846
848
  @media (max-width: @screen-sm-max) {
847
- .form-group .row [class*='col-md-'] {
849
+ .form-group .row [class*="col-md-"] {
848
850
  margin-bottom: 0;
849
851
 
850
852
  .form-control,
@@ -855,7 +857,7 @@ input[type="password"] {
855
857
  }
856
858
 
857
859
  @media (max-width: @screen-md-max) {
858
- .form-group .row [class*='col-lg-'] {
860
+ .form-group .row [class*="col-lg-"] {
859
861
  margin-bottom: 0;
860
862
 
861
863
  .form-control,
@@ -866,7 +868,7 @@ input[type="password"] {
866
868
  }
867
869
 
868
870
  @media (max-width: @screen-lg-max) {
869
- .form-group .row [class*='col-xl-'] {
871
+ .form-group .row [class*="col-xl-"] {
870
872
  margin-bottom: 0;
871
873
 
872
874
  .form-control,
@@ -895,7 +897,9 @@ input[type="password"] {
895
897
  background-color: var(--color-background-screen);
896
898
  border: 1px solid var(--color-interactive-secondary);
897
899
  border-radius: @border-radius-base;
898
- transition: border 0.15s ease-in-out, background-color 0.15s ease-in-out;
900
+ transition:
901
+ border 0.15s ease-in-out,
902
+ background-color 0.15s ease-in-out;
899
903
 
900
904
  .np-theme-personal & {
901
905
  border-radius: var(--radius-small);
@@ -926,7 +930,8 @@ input[type="password"] {
926
930
  small,
927
931
  .small,
928
932
  .body-2,
929
- .np-text-body-default {
933
+ .np-text-body-default,
934
+ .wds-text-body-default {
930
935
  display: block;
931
936
  color: var(--color-content-secondary);
932
937
  }
@@ -1021,7 +1026,7 @@ input[type="password"] {
1021
1026
  .form-control-placeholder {
1022
1027
  text-overflow: ellipsis;
1023
1028
  overflow: hidden;
1024
- .np-text-body-large;
1029
+ .wds-text-body-large;
1025
1030
  display: block;
1026
1031
  width: 100%;
1027
1032
  color: var(--color-content-tertiary);
@@ -1125,26 +1130,32 @@ input[type="password"] {
1125
1130
 
1126
1131
  .checkbox:hover .tw-checkbox-button,
1127
1132
  .radio:not(.disabled):hover .tw-radio-button,
1128
- .tw-checkbox-button:not(.disabled,:disabled):hover,
1129
- input[type=checkbox]:hover+.tw-checkbox-button,
1130
- input[type=radio]:not(.disabled,:disabled):hover+.tw-radio-button,
1131
- input[type=checkbox]:not(.disabled,:disabled):hover+.tw-checkbox-button {
1133
+ .tw-checkbox-button:not(.disabled, :disabled):hover,
1134
+ input[type="checkbox"]:hover + .tw-checkbox-button,
1135
+ input[type="radio"]:not(.disabled, :disabled):hover + .tw-radio-button,
1136
+ input[type="checkbox"]:not(.disabled, :disabled):hover + .tw-checkbox-button {
1132
1137
  box-shadow: inset 0 0 0 2px var(--color-sentiment-negative-hover);
1133
1138
  }
1134
1139
 
1135
1140
  .tw-checkbox-button.checked,
1136
1141
  .tw-checkbox-button:checked,
1137
- input[type=checkbox]:checked+.tw-checkbox-button,
1142
+ input[type="checkbox"]:checked + .tw-checkbox-button,
1138
1143
  .tw-checkbox-button.checked:hover,
1139
1144
  .tw-checkbox-button:checked:hover,
1140
- input[type=checkbox]:not(.disabled,:disabled):checked:hover+.tw-checkbox-button {
1145
+ input[type="checkbox"]:not(.disabled, :disabled):checked:hover + .tw-checkbox-button {
1141
1146
  box-shadow: inset 0 0 0 3px var(--color-sentiment-negative);
1142
1147
  background: var(--color-sentiment-negative);
1143
1148
  }
1144
1149
 
1145
- .checkbox>label:not(.disabled,:disabled):active input[type=checkbox]+.tw-checkbox-button,
1146
- .checkbox>label:not(.disabled,:disabled):focus-visible input[type=checkbox]+.tw-checkbox-button,
1147
- .checkbox>label:not(.disabled,:disabled):has(:focus-visible) input[type=checkbox]+.tw-checkbox-button {
1150
+ .checkbox > label:not(.disabled, :disabled):active input[type="checkbox"] + .tw-checkbox-button,
1151
+ .checkbox
1152
+ > label:not(.disabled, :disabled):focus-visible
1153
+ input[type="checkbox"]
1154
+ + .tw-checkbox-button,
1155
+ .checkbox
1156
+ > label:not(.disabled, :disabled):has(:focus-visible)
1157
+ input[type="checkbox"]
1158
+ + .tw-checkbox-button {
1148
1159
  box-shadow: inset 0 0 0 2px var(--color-sentiment-negative-active);
1149
1160
  }
1150
1161
  }
@@ -1153,7 +1164,9 @@ input[type="password"] {
1153
1164
  .tw-checkbox-button {
1154
1165
  background-color: unset;
1155
1166
  color: unset;
1156
- transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
1167
+ transition:
1168
+ background-color 0.3s ease-in-out,
1169
+ box-shadow 0.3s ease-in-out;
1157
1170
  }
1158
1171
 
1159
1172
  .btn-input:hover,
@@ -1170,7 +1183,7 @@ input[type="password"] {
1170
1183
  }
1171
1184
 
1172
1185
  .form-group .np-upload-input label {
1173
- margin-bottom: 0;
1186
+ margin-bottom: 0;
1174
1187
  }
1175
1188
 
1176
1189
  .form-group .alert:before,
@@ -309,9 +309,9 @@
309
309
  padding-top: 1px; // `0` would look off due to checkbox misalignment
310
310
 
311
311
  :not(.np-theme-personal) & {
312
- font-weight: var(--font-weight-regular);
313
- font-size: var(--font-size-16);
314
- line-height: var(--line-height-20);
312
+ font-weight: var(--wds-font-weight-body-regular);
313
+ font-size: var(--wds-font-size-body-large);
314
+ line-height: var(--wds-line-height-title-subsection);
315
315
  // Account for our funky font baseline
316
316
  padding-top: 3px;
317
317
  }
@@ -62,20 +62,33 @@
62
62
  > .form-control,
63
63
  > .input-group-addon,
64
64
  > .input-group-btn .btn {
65
+ --min-height: calc(
66
+ 2 * var(--size-12)
67
+ + var(--wds-font-size-title-subsection) * var(--wds-line-height-title-subsection)
68
+ );
65
69
  .input-lg();
66
-
67
- .np-text-title-subsection();
68
-
70
+ .wds-text-title-subsection();
71
+ min-height: var(--min-height);
69
72
  margin-bottom: 0;
73
+
74
+ select& {
75
+ min-height: var(--min-height);
76
+ }
70
77
  }
71
78
  }
72
79
 
73
80
  .input-group-sm > .form-control,
74
81
  .input-group-sm > .input-group-addon {
82
+ --min-height: calc(2 * var(--size-4) + var(--wds-font-size-body) * var(--wds-line-height-body));
75
83
  .input-sm();
84
+ min-height: var(--min-height);
85
+
86
+ select& {
87
+ min-height: var(--min-height);
88
+ }
76
89
 
77
90
  .icon {
78
- font-size: var(--font-size-20);
91
+ font-size: var(--wds-font-size-title-subsection);
79
92
  }
80
93
  }
81
94
 
@@ -106,8 +119,8 @@
106
119
  // -------------------------
107
120
  .input-group-addon {
108
121
  padding: var(--input-group-addon-padding);
109
- font-size: var(--font-size-16);
110
- line-height: var(--line-height-body);
122
+ font-size: var(--wds-font-size-body-large);
123
+ line-height: var(--wds-line-height-body-large);
111
124
  color: var(--color-content-secondary);
112
125
  text-align: center;
113
126
  background-color: var(--color-background-screen);
@@ -246,7 +259,7 @@
246
259
  }
247
260
 
248
261
  // inputs focus and hover states (not disabled)
249
- .input-group:hover:not(.disabled,:disabled) {
262
+ .input-group:hover:not(.disabled, :disabled) {
250
263
  .form-control,
251
264
  .input-group-addon,
252
265
  .btn-input,
@@ -255,11 +268,11 @@
255
268
  }
256
269
  }
257
270
 
258
- .form-control:hover:not(.disabled,:disabled) {
271
+ .form-control:hover:not(.disabled, :disabled) {
259
272
  border-color: var(--color-interactive-secondary-hover);
260
273
  }
261
274
 
262
- .input-group:focus-within:not(.disabled,:disabled) {
275
+ .input-group:focus-within:not(.disabled, :disabled) {
263
276
  .form-control,
264
277
  .input-group-addon,
265
278
  .btn-input,
@@ -272,7 +285,7 @@
272
285
  }
273
286
  }
274
287
 
275
- .form-control:focus-within:not(.disabled,:disabled) {
288
+ .form-control:focus-within:not(.disabled, :disabled) {
276
289
  border-color: var(--color-interactive-accent);
277
290
 
278
291
  .np-theme-personal & {