@transferwise/components 46.160.7 → 46.161.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.
Files changed (96) hide show
  1. package/build/Tag/Tag.js +45 -0
  2. package/build/Tag/Tag.js.map +1 -0
  3. package/build/Tag/Tag.mjs +41 -0
  4. package/build/Tag/Tag.mjs.map +1 -0
  5. package/build/index.js +2 -0
  6. package/build/index.js.map +1 -1
  7. package/build/index.mjs +1 -0
  8. package/build/index.mjs.map +1 -1
  9. package/build/main.css +853 -0
  10. package/build/styles/Inputs/Input/Input.css +88 -0
  11. package/build/styles/Inputs/TextArea/TextArea.css +88 -0
  12. package/build/styles/Popover/Popover.css +1 -0
  13. package/build/styles/Tag/Tag.css +30 -0
  14. package/build/styles/_deprecated/Select/Select.css +29 -0
  15. package/build/styles/css/accordion.css +30 -0
  16. package/build/styles/css/button-groups.css +29 -0
  17. package/build/styles/css/buttons.css +29 -0
  18. package/build/styles/css/decision.css +30 -0
  19. package/build/styles/css/dropdowns.css +59 -0
  20. package/build/styles/css/droppable.css +29 -0
  21. package/build/styles/css/footer.css +63 -0
  22. package/build/styles/css/input-groups.css +189 -0
  23. package/build/styles/css/list-group.css +1 -0
  24. package/build/styles/css/navbar.css +59 -0
  25. package/build/styles/css/neptune-addons.css +3 -0
  26. package/build/styles/css/neptune-core.css +185 -0
  27. package/build/styles/css/neptune.css +705 -0
  28. package/build/styles/css/popovers.css +59 -0
  29. package/build/styles/css/tooltip.css +29 -0
  30. package/build/styles/main.css +853 -0
  31. package/build/styles/styles/less/accordion.css +30 -0
  32. package/build/styles/styles/less/button-groups.css +29 -0
  33. package/build/styles/styles/less/buttons.css +29 -0
  34. package/build/styles/styles/less/decision.css +30 -0
  35. package/build/styles/styles/less/dropdowns.css +59 -0
  36. package/build/styles/styles/less/droppable.css +29 -0
  37. package/build/styles/styles/less/footer.css +63 -0
  38. package/build/styles/styles/less/forms/bootstrap-forms.css +116 -0
  39. package/build/styles/styles/less/input-groups.css +189 -0
  40. package/build/styles/styles/less/list-group.css +1 -0
  41. package/build/styles/styles/less/navbar.css +59 -0
  42. package/build/styles/styles/less/neptune-addons.css +3 -0
  43. package/build/styles/styles/less/neptune-core.css +185 -0
  44. package/build/styles/styles/less/neptune.css +705 -0
  45. package/build/styles/styles/less/popovers.css +59 -0
  46. package/build/styles/styles/less/tooltip.css +29 -0
  47. package/build/types/Tag/Tag.d.ts +24 -0
  48. package/build/types/Tag/Tag.d.ts.map +1 -0
  49. package/build/types/Tag/Tag.types.d.ts +39 -0
  50. package/build/types/Tag/Tag.types.d.ts.map +1 -0
  51. package/build/types/Tag/index.d.ts +3 -0
  52. package/build/types/Tag/index.d.ts.map +1 -0
  53. package/build/types/index.d.ts +2 -0
  54. package/build/types/index.d.ts.map +1 -1
  55. package/package.json +1 -1
  56. package/src/Body/_stories/Body.test.story.tsx +81 -0
  57. package/src/Inputs/Input/Input.css +88 -0
  58. package/src/Inputs/TextArea/TextArea.css +88 -0
  59. package/src/Popover/Popover.css +1 -0
  60. package/src/Tag/Tag.css +30 -0
  61. package/src/Tag/Tag.less +31 -0
  62. package/src/Tag/Tag.test.tsx +70 -0
  63. package/src/Tag/Tag.tsx +71 -0
  64. package/src/Tag/Tag.types.ts +46 -0
  65. package/src/Tag/_stories/Tag.story.tsx +245 -0
  66. package/src/Tag/_stories/Tag.test.story.tsx +121 -0
  67. package/src/Tag/index.ts +2 -0
  68. package/src/_deprecated/Card/_stories/Card.test.story.tsx +1 -1
  69. package/src/_deprecated/CriticalBanner/_stories/CriticalCommsBanner.test.story.tsx +1 -1
  70. package/src/_deprecated/InlineAlert/_stories/InlineAlert.test.story.tsx +1 -1
  71. package/src/_deprecated/OverlayHeader/_stories/OverlayHeader.test.story.tsx +1 -1
  72. package/src/_deprecated/Select/Select.css +29 -0
  73. package/src/_deprecated/Select/_stories/Select.rtl.test.story.tsx +1 -1
  74. package/src/_deprecated/Select/_stories/Select.test.story.tsx +1 -1
  75. package/src/index.ts +2 -0
  76. package/src/main.css +853 -0
  77. package/src/main.less +1 -0
  78. package/src/styles/less/accordion.css +30 -0
  79. package/src/styles/less/addons/_spacing-utilities.less +2 -0
  80. package/src/styles/less/button-groups.css +29 -0
  81. package/src/styles/less/buttons.css +29 -0
  82. package/src/styles/less/core/_typography.less +12 -0
  83. package/src/styles/less/decision.css +30 -0
  84. package/src/styles/less/dropdowns.css +59 -0
  85. package/src/styles/less/droppable.css +29 -0
  86. package/src/styles/less/footer.css +63 -0
  87. package/src/styles/less/forms/bootstrap-forms.css +116 -0
  88. package/src/styles/less/input-groups.css +189 -0
  89. package/src/styles/less/list-group.css +1 -0
  90. package/src/styles/less/navbar.css +59 -0
  91. package/src/styles/less/neptune-addons.css +3 -0
  92. package/src/styles/less/neptune-core.css +185 -0
  93. package/src/styles/less/neptune.css +705 -0
  94. package/src/styles/less/popovers.css +59 -0
  95. package/src/styles/less/tooltip.css +29 -0
  96. package/src/test-utils/assets/card-payment-bakery.webp +0 -0
package/src/main.less CHANGED
@@ -86,6 +86,7 @@
86
86
  @import "./_deprecated/SwitchOption/SwitchOption.less";
87
87
  @import "./Tabs/Tabs.less";
88
88
  @import "./Table/Table.less";
89
+ @import "./Tag/Tag.less";
89
90
  @import "./Tile/Tile.less";
90
91
  @import "./Tooltip/Tooltip.less";
91
92
  @import "./Typeahead/Typeahead.less";
@@ -59,6 +59,7 @@
59
59
  line-height: 1.2;
60
60
  line-height: var(--line-height-title);
61
61
  letter-spacing: 0;
62
+ word-wrap: break-word;
62
63
  font-size: 1.125rem;
63
64
  font-size: var(--font-size-18);
64
65
  font-weight: 600;
@@ -107,9 +108,38 @@
107
108
  letter-spacing: -0.006em;
108
109
  font-weight: 400;
109
110
  font-weight: var(--font-weight-regular);
111
+ word-wrap: break-word;
110
112
  margin-block-start: 4px;
111
113
  margin-block-start: var(--size-4);
112
114
  }
115
+ @supports (hyphenate-limit-chars: 1) {
116
+ .decision__content {
117
+ hyphens: auto;
118
+ hyphenate-limit-chars: 7 3;
119
+ }
120
+ @media (min-width: 840px) {
121
+ .decision__content {
122
+ hyphenate-limit-chars: 8 3;
123
+ }
124
+ }
125
+ @media (min-width: 1160px) {
126
+ .decision__content {
127
+ hyphenate-limit-chars: 10 4 3;
128
+ }
129
+ }
130
+ }
131
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
132
+ .decision__content {
133
+ hyphens: auto;
134
+ -webkit-hyphenate-limit-before: 3;
135
+ -webkit-hyphenate-limit-after: 3;
136
+ }
137
+ @media (min-width: 1160px) {
138
+ .decision__content {
139
+ -webkit-hyphenate-limit-before: 4;
140
+ }
141
+ }
142
+ }
113
143
  .decision + .decision {
114
144
  margin-block-start: -1px;
115
145
  }
@@ -48,6 +48,8 @@
48
48
  }
49
49
 
50
50
  .np-text-hyphenated {
51
+ overflow-wrap: break-word;
52
+
51
53
  @supports (hyphenate-limit-chars: 1) {
52
54
  hyphens: auto;
53
55
  hyphenate-limit-chars: 7 3;
@@ -352,6 +352,35 @@
352
352
  letter-spacing: -0.006em;
353
353
  font-weight: 400;
354
354
  font-weight: var(--font-weight-regular);
355
+ word-wrap: break-word;
355
356
  color: #5d7079;
356
357
  color: var(--color-content-secondary);
357
358
  }
359
+ @supports (hyphenate-limit-chars: 1) {
360
+ .btn-group .secondary {
361
+ hyphens: auto;
362
+ hyphenate-limit-chars: 7 3;
363
+ }
364
+ @media (min-width: 840px) {
365
+ .btn-group .secondary {
366
+ hyphenate-limit-chars: 8 3;
367
+ }
368
+ }
369
+ @media (min-width: 1160px) {
370
+ .btn-group .secondary {
371
+ hyphenate-limit-chars: 10 4 3;
372
+ }
373
+ }
374
+ }
375
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
376
+ .btn-group .secondary {
377
+ hyphens: auto;
378
+ -webkit-hyphenate-limit-before: 3;
379
+ -webkit-hyphenate-limit-after: 3;
380
+ }
381
+ @media (min-width: 1160px) {
382
+ .btn-group .secondary {
383
+ -webkit-hyphenate-limit-before: 4;
384
+ }
385
+ }
386
+ }
@@ -4,6 +4,7 @@
4
4
  .btn {
5
5
  line-height: 150%;
6
6
  letter-spacing: -0.011em;
7
+ word-wrap: break-word;
7
8
  display: inline-block;
8
9
  margin-block-end: 0;
9
10
  text-align: center;
@@ -27,6 +28,34 @@
27
28
  -moz-user-select: none;
28
29
  user-select: none;
29
30
  }
31
+ @supports (hyphenate-limit-chars: 1) {
32
+ .btn {
33
+ hyphens: auto;
34
+ hyphenate-limit-chars: 7 3;
35
+ }
36
+ @media (min-width: 840px) {
37
+ .btn {
38
+ hyphenate-limit-chars: 8 3;
39
+ }
40
+ }
41
+ @media (min-width: 1160px) {
42
+ .btn {
43
+ hyphenate-limit-chars: 10 4 3;
44
+ }
45
+ }
46
+ }
47
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
48
+ .btn {
49
+ hyphens: auto;
50
+ -webkit-hyphenate-limit-before: 3;
51
+ -webkit-hyphenate-limit-after: 3;
52
+ }
53
+ @media (min-width: 1160px) {
54
+ .btn {
55
+ -webkit-hyphenate-limit-before: 4;
56
+ }
57
+ }
58
+ }
30
59
  .btn .dropdown-menu > li > a {
31
60
  font-size: 1rem;
32
61
  font-size: var(--font-size-16);
@@ -135,6 +135,7 @@ small,
135
135
  line-height: 155%;
136
136
  letter-spacing: -0.006em;
137
137
  font-weight: var(--font-weight-regular);
138
+ .np-text-hyphenated;
138
139
  }
139
140
 
140
141
  /* DEPRECATED: use .np-text-body-default-bold instead */
@@ -149,6 +150,7 @@ small,
149
150
  line-height: 155%;
150
151
  letter-spacing: -0.006em;
151
152
  font-weight: var(--font-weight-semi-bold);
153
+ .np-text-hyphenated;
152
154
  }
153
155
 
154
156
  /* DEPRECATED: use .np-text-body-large instead */
@@ -160,6 +162,7 @@ small,
160
162
  font-size: var(--font-size-16);
161
163
  line-height: 150%;
162
164
  letter-spacing: -0.011em;
165
+ .np-text-hyphenated;
163
166
  }
164
167
 
165
168
  /* DEPRECATED: use np-text-body-large-bold instead */
@@ -170,6 +173,7 @@ small,
170
173
  font-size: var(--font-size-16);
171
174
  line-height: 150%;
172
175
  letter-spacing: -0.011em;
176
+ .np-text-hyphenated;
173
177
  }
174
178
 
175
179
  // LINK
@@ -280,6 +284,14 @@ a,
280
284
  }
281
285
  }
282
286
 
287
+ /* Disable hyphenation for Japanese, Thai, and Chinese — these languages use character-level breaks and should never insert hyphens. */
288
+ :lang(ja),
289
+ :lang(th),
290
+ :lang(zh-CN),
291
+ :lang(zh-HK) {
292
+ hyphens: none;
293
+ }
294
+
283
295
  :lang(af),
284
296
  :lang(sq),
285
297
  :lang(eu),
@@ -21,6 +21,7 @@
21
21
  line-height: 1.2;
22
22
  line-height: var(--line-height-title);
23
23
  letter-spacing: 0;
24
+ word-wrap: break-word;
24
25
  font-size: 1.125rem;
25
26
  font-size: var(--font-size-18);
26
27
  font-weight: 600;
@@ -69,9 +70,38 @@
69
70
  letter-spacing: -0.006em;
70
71
  font-weight: 400;
71
72
  font-weight: var(--font-weight-regular);
73
+ word-wrap: break-word;
72
74
  margin-block-start: 4px;
73
75
  margin-block-start: var(--size-4);
74
76
  }
77
+ @supports (hyphenate-limit-chars: 1) {
78
+ .decision__content {
79
+ hyphens: auto;
80
+ hyphenate-limit-chars: 7 3;
81
+ }
82
+ @media (min-width: 840px) {
83
+ .decision__content {
84
+ hyphenate-limit-chars: 8 3;
85
+ }
86
+ }
87
+ @media (min-width: 1160px) {
88
+ .decision__content {
89
+ hyphenate-limit-chars: 10 4 3;
90
+ }
91
+ }
92
+ }
93
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
94
+ .decision__content {
95
+ hyphens: auto;
96
+ -webkit-hyphenate-limit-before: 3;
97
+ -webkit-hyphenate-limit-after: 3;
98
+ }
99
+ @media (min-width: 1160px) {
100
+ .decision__content {
101
+ -webkit-hyphenate-limit-before: 4;
102
+ }
103
+ }
104
+ }
75
105
  .decision + .decision {
76
106
  margin-block-start: -1px;
77
107
  }
@@ -17,6 +17,7 @@
17
17
  letter-spacing: -0.006em;
18
18
  font-weight: 400;
19
19
  font-weight: var(--font-weight-regular);
20
+ word-wrap: break-word;
20
21
  text-align: start;
21
22
  background-color: #ffffff;
22
23
  background-color: var(--color-background-screen);
@@ -31,6 +32,34 @@
31
32
  transform: translateY(-10px) scale(0.95, 0.95);
32
33
  visibility: hidden;
33
34
  }
35
+ @supports (hyphenate-limit-chars: 1) {
36
+ .dropdown-menu {
37
+ hyphens: auto;
38
+ hyphenate-limit-chars: 7 3;
39
+ }
40
+ @media (min-width: 840px) {
41
+ .dropdown-menu {
42
+ hyphenate-limit-chars: 8 3;
43
+ }
44
+ }
45
+ @media (min-width: 1160px) {
46
+ .dropdown-menu {
47
+ hyphenate-limit-chars: 10 4 3;
48
+ }
49
+ }
50
+ }
51
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
52
+ .dropdown-menu {
53
+ hyphens: auto;
54
+ -webkit-hyphenate-limit-before: 3;
55
+ -webkit-hyphenate-limit-after: 3;
56
+ }
57
+ @media (min-width: 1160px) {
58
+ .dropdown-menu {
59
+ -webkit-hyphenate-limit-before: 4;
60
+ }
61
+ }
62
+ }
34
63
  .np-theme-personal .dropdown-menu,
35
64
  .np-theme-personal--forest-green .dropdown-menu,
36
65
  .np-theme-personal--dark .dropdown-menu {
@@ -72,10 +101,39 @@
72
101
  letter-spacing: -0.006em;
73
102
  font-weight: 400;
74
103
  font-weight: var(--font-weight-regular);
104
+ word-wrap: break-word;
75
105
  color: #37517e;
76
106
  color: var(--color-content-primary);
77
107
  white-space: nowrap;
78
108
  }
109
+ @supports (hyphenate-limit-chars: 1) {
110
+ .dropdown-menu > li > a {
111
+ hyphens: auto;
112
+ hyphenate-limit-chars: 7 3;
113
+ }
114
+ @media (min-width: 840px) {
115
+ .dropdown-menu > li > a {
116
+ hyphenate-limit-chars: 8 3;
117
+ }
118
+ }
119
+ @media (min-width: 1160px) {
120
+ .dropdown-menu > li > a {
121
+ hyphenate-limit-chars: 10 4 3;
122
+ }
123
+ }
124
+ }
125
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
126
+ .dropdown-menu > li > a {
127
+ hyphens: auto;
128
+ -webkit-hyphenate-limit-before: 3;
129
+ -webkit-hyphenate-limit-after: 3;
130
+ }
131
+ @media (min-width: 1160px) {
132
+ .dropdown-menu > li > a {
133
+ -webkit-hyphenate-limit-before: 4;
134
+ }
135
+ }
136
+ }
79
137
  .dropdown-menu > li > a .secondary {
80
138
  display: block;
81
139
  white-space: normal;
@@ -250,6 +308,7 @@
250
308
  line-height: 1.2;
251
309
  line-height: var(--line-height-title);
252
310
  letter-spacing: 0;
311
+ word-wrap: break-word;
253
312
  font-weight: 500;
254
313
  font-weight: var(--font-weight-medium);
255
314
  font-size: 0.875rem;
@@ -6,6 +6,7 @@
6
6
  font-size: var(--font-size-16);
7
7
  line-height: 150%;
8
8
  letter-spacing: -0.011em;
9
+ word-wrap: break-word;
9
10
  text-align: center;
10
11
  border: 1px solid #c9cbce;
11
12
  border: 1px solid var(--color-interactive-secondary);
@@ -13,6 +14,34 @@
13
14
  overflow: auto;
14
15
  transition: border-color 0.15s linear;
15
16
  }
17
+ @supports (hyphenate-limit-chars: 1) {
18
+ .droppable {
19
+ hyphens: auto;
20
+ hyphenate-limit-chars: 7 3;
21
+ }
22
+ @media (min-width: 840px) {
23
+ .droppable {
24
+ hyphenate-limit-chars: 8 3;
25
+ }
26
+ }
27
+ @media (min-width: 1160px) {
28
+ .droppable {
29
+ hyphenate-limit-chars: 10 4 3;
30
+ }
31
+ }
32
+ }
33
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
34
+ .droppable {
35
+ hyphens: auto;
36
+ -webkit-hyphenate-limit-before: 3;
37
+ -webkit-hyphenate-limit-after: 3;
38
+ }
39
+ @media (min-width: 1160px) {
40
+ .droppable {
41
+ -webkit-hyphenate-limit-before: 4;
42
+ }
43
+ }
44
+ }
16
45
  .droppable:hover {
17
46
  border-color: #b5b7ba;
18
47
  border-color: var(--color-interactive-secondary-hover);
@@ -7,11 +7,40 @@
7
7
  letter-spacing: -0.006em;
8
8
  font-weight: 400;
9
9
  font-weight: var(--font-weight-regular);
10
+ word-wrap: break-word;
10
11
  padding-block-start: calc(8px * 10);
11
12
  padding-block-start: calc(var(--size-8) * 10);
12
13
  padding-block-end: calc(8px * 10);
13
14
  padding-block-end: calc(var(--size-8) * 10);
14
15
  }
16
+ @supports (hyphenate-limit-chars: 1) {
17
+ .footer {
18
+ hyphens: auto;
19
+ hyphenate-limit-chars: 7 3;
20
+ }
21
+ @media (min-width: 840px) {
22
+ .footer {
23
+ hyphenate-limit-chars: 8 3;
24
+ }
25
+ }
26
+ @media (min-width: 1160px) {
27
+ .footer {
28
+ hyphenate-limit-chars: 10 4 3;
29
+ }
30
+ }
31
+ }
32
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
33
+ .footer {
34
+ hyphens: auto;
35
+ -webkit-hyphenate-limit-before: 3;
36
+ -webkit-hyphenate-limit-after: 3;
37
+ }
38
+ @media (min-width: 1160px) {
39
+ .footer {
40
+ -webkit-hyphenate-limit-before: 4;
41
+ }
42
+ }
43
+ }
15
44
  @media (min-width: 600px) {
16
45
  .footer {
17
46
  padding-block-start: calc(8px * 15);
@@ -38,6 +67,40 @@
38
67
  letter-spacing: -0.006em;
39
68
  font-weight: 400;
40
69
  font-weight: var(--font-weight-regular);
70
+ word-wrap: break-word;
71
+ }
72
+ @supports (hyphenate-limit-chars: 1) {
73
+ .footer .footer-link,
74
+ .footer .link-icon {
75
+ hyphens: auto;
76
+ hyphenate-limit-chars: 7 3;
77
+ }
78
+ @media (min-width: 840px) {
79
+ .footer .footer-link,
80
+ .footer .link-icon {
81
+ hyphenate-limit-chars: 8 3;
82
+ }
83
+ }
84
+ @media (min-width: 1160px) {
85
+ .footer .footer-link,
86
+ .footer .link-icon {
87
+ hyphenate-limit-chars: 10 4 3;
88
+ }
89
+ }
90
+ }
91
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
92
+ .footer .footer-link,
93
+ .footer .link-icon {
94
+ hyphens: auto;
95
+ -webkit-hyphenate-limit-before: 3;
96
+ -webkit-hyphenate-limit-after: 3;
97
+ }
98
+ @media (min-width: 1160px) {
99
+ .footer .footer-link,
100
+ .footer .link-icon {
101
+ -webkit-hyphenate-limit-before: 4;
102
+ }
103
+ }
41
104
  }
42
105
  .footer .footer-link:hover,
43
106
  .footer .link-icon:hover,
@@ -94,6 +94,7 @@ output {
94
94
  font-size: var(--font-size-16);
95
95
  line-height: 150%;
96
96
  letter-spacing: -0.011em;
97
+ word-wrap: break-word;
97
98
  background-clip: padding-box;
98
99
  }
99
100
  select.form-control {
@@ -103,6 +104,34 @@ textarea.form-control,
103
104
  select[multiple].form-control {
104
105
  block-size: auto;
105
106
  }
107
+ @supports (hyphenate-limit-chars: 1) {
108
+ .form-control {
109
+ hyphens: auto;
110
+ hyphenate-limit-chars: 7 3;
111
+ }
112
+ @media (min-width: 840px) {
113
+ .form-control {
114
+ hyphenate-limit-chars: 8 3;
115
+ }
116
+ }
117
+ @media (min-width: 1160px) {
118
+ .form-control {
119
+ hyphenate-limit-chars: 10 4 3;
120
+ }
121
+ }
122
+ }
123
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
124
+ .form-control {
125
+ hyphens: auto;
126
+ -webkit-hyphenate-limit-before: 3;
127
+ -webkit-hyphenate-limit-after: 3;
128
+ }
129
+ @media (min-width: 1160px) {
130
+ .form-control {
131
+ -webkit-hyphenate-limit-before: 4;
132
+ }
133
+ }
134
+ }
106
135
  .form-control:not(.disabled):not(:disabled):focus {
107
136
  border-color: #0081ba;
108
137
  border-color: var(--color-interactive-accent-active);
@@ -284,6 +313,7 @@ fieldset[disabled] .checkbox label {
284
313
  letter-spacing: -0.006em;
285
314
  font-weight: 400;
286
315
  font-weight: var(--font-weight-regular);
316
+ word-wrap: break-word;
287
317
  }
288
318
  select.input-sm {
289
319
  min-block-size: 32px;
@@ -292,6 +322,34 @@ textarea.input-sm,
292
322
  select[multiple].input-sm {
293
323
  block-size: auto;
294
324
  }
325
+ @supports (hyphenate-limit-chars: 1) {
326
+ .input-sm {
327
+ hyphens: auto;
328
+ hyphenate-limit-chars: 7 3;
329
+ }
330
+ @media (min-width: 840px) {
331
+ .input-sm {
332
+ hyphenate-limit-chars: 8 3;
333
+ }
334
+ }
335
+ @media (min-width: 1160px) {
336
+ .input-sm {
337
+ hyphenate-limit-chars: 10 4 3;
338
+ }
339
+ }
340
+ }
341
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
342
+ .input-sm {
343
+ hyphens: auto;
344
+ -webkit-hyphenate-limit-before: 3;
345
+ -webkit-hyphenate-limit-after: 3;
346
+ }
347
+ @media (min-width: 1160px) {
348
+ .input-sm {
349
+ -webkit-hyphenate-limit-before: 4;
350
+ }
351
+ }
352
+ }
295
353
  .form-group-sm .form-control,
296
354
  .navbar .form-control {
297
355
  block-size: 32px;
@@ -332,6 +390,7 @@ select[multiple].input-sm {
332
390
  font-size: var(--font-size-16);
333
391
  line-height: 150%;
334
392
  letter-spacing: -0.011em;
393
+ word-wrap: break-word;
335
394
  }
336
395
  select.input-lg {
337
396
  min-block-size: var(--input-height-large);
@@ -340,6 +399,34 @@ textarea.input-lg,
340
399
  select[multiple].input-lg {
341
400
  block-size: auto;
342
401
  }
402
+ @supports (hyphenate-limit-chars: 1) {
403
+ .input-lg {
404
+ hyphens: auto;
405
+ hyphenate-limit-chars: 7 3;
406
+ }
407
+ @media (min-width: 840px) {
408
+ .input-lg {
409
+ hyphenate-limit-chars: 8 3;
410
+ }
411
+ }
412
+ @media (min-width: 1160px) {
413
+ .input-lg {
414
+ hyphenate-limit-chars: 10 4 3;
415
+ }
416
+ }
417
+ }
418
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
419
+ .input-lg {
420
+ hyphens: auto;
421
+ -webkit-hyphenate-limit-before: 3;
422
+ -webkit-hyphenate-limit-after: 3;
423
+ }
424
+ @media (min-width: 1160px) {
425
+ .input-lg {
426
+ -webkit-hyphenate-limit-before: 4;
427
+ }
428
+ }
429
+ }
343
430
  .form-group-lg {
344
431
  position: relative;
345
432
  }
@@ -1935,11 +2022,40 @@ input[type="checkbox"]:not(.disabled):not(:disabled):indeterminate:active + .tw-
1935
2022
  font-size: var(--font-size-16);
1936
2023
  line-height: 150%;
1937
2024
  letter-spacing: -0.011em;
2025
+ word-wrap: break-word;
1938
2026
  display: block;
1939
2027
  inline-size: 100%;
1940
2028
  color: #768e9c;
1941
2029
  color: var(--color-content-tertiary);
1942
2030
  }
2031
+ @supports (hyphenate-limit-chars: 1) {
2032
+ .form-control-placeholder {
2033
+ hyphens: auto;
2034
+ hyphenate-limit-chars: 7 3;
2035
+ }
2036
+ @media (min-width: 840px) {
2037
+ .form-control-placeholder {
2038
+ hyphenate-limit-chars: 8 3;
2039
+ }
2040
+ }
2041
+ @media (min-width: 1160px) {
2042
+ .form-control-placeholder {
2043
+ hyphenate-limit-chars: 10 4 3;
2044
+ }
2045
+ }
2046
+ }
2047
+ @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
2048
+ .form-control-placeholder {
2049
+ hyphens: auto;
2050
+ -webkit-hyphenate-limit-before: 3;
2051
+ -webkit-hyphenate-limit-after: 3;
2052
+ }
2053
+ @media (min-width: 1160px) {
2054
+ .form-control-placeholder {
2055
+ -webkit-hyphenate-limit-before: 4;
2056
+ }
2057
+ }
2058
+ }
1943
2059
  .np-theme-personal .btn-input,
1944
2060
  .np-theme-personal .input-group,
1945
2061
  .np-theme-personal .form-control,