@transferwise/components 46.160.4 → 46.160.6
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.
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.js +2 -0
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.js.map +1 -1
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs +2 -0
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs.map +1 -1
- package/build/ExpressiveMoneyInput/hooks/useInputStyle.js +1 -1
- package/build/ExpressiveMoneyInput/hooks/useInputStyle.js.map +1 -1
- package/build/ExpressiveMoneyInput/hooks/useInputStyle.mjs +1 -1
- package/build/ExpressiveMoneyInput/hooks/useInputStyle.mjs.map +1 -1
- package/build/Inputs/Input/Input.js +1 -0
- package/build/Inputs/Input/Input.js.map +1 -1
- package/build/Inputs/Input/Input.mjs +1 -0
- package/build/Inputs/Input/Input.mjs.map +1 -1
- package/build/Inputs/TextArea/TextArea.js +1 -0
- package/build/Inputs/TextArea/TextArea.js.map +1 -1
- package/build/Inputs/TextArea/TextArea.mjs +1 -0
- package/build/Inputs/TextArea/TextArea.mjs.map +1 -1
- package/build/MoneyInput/MoneyInput.js +1 -0
- package/build/MoneyInput/MoneyInput.js.map +1 -1
- package/build/MoneyInput/MoneyInput.mjs +1 -0
- package/build/MoneyInput/MoneyInput.mjs.map +1 -1
- package/build/PhoneNumberInput/PhoneNumberInput.js +3 -2
- package/build/PhoneNumberInput/PhoneNumberInput.js.map +1 -1
- package/build/PhoneNumberInput/PhoneNumberInput.messages.js +3 -0
- package/build/PhoneNumberInput/PhoneNumberInput.messages.js.map +1 -1
- package/build/PhoneNumberInput/PhoneNumberInput.messages.mjs +3 -0
- package/build/PhoneNumberInput/PhoneNumberInput.messages.mjs.map +1 -1
- package/build/PhoneNumberInput/PhoneNumberInput.mjs +3 -2
- package/build/PhoneNumberInput/PhoneNumberInput.mjs.map +1 -1
- package/build/Typeahead/TypeaheadInput/TypeaheadInput.js +50 -20
- package/build/Typeahead/TypeaheadInput/TypeaheadInput.js.map +1 -1
- package/build/Typeahead/TypeaheadInput/TypeaheadInput.mjs +50 -20
- package/build/Typeahead/TypeaheadInput/TypeaheadInput.mjs.map +1 -1
- package/build/i18n/en.json +1 -0
- package/build/i18n/en.json.js +1 -0
- package/build/i18n/en.json.js.map +1 -1
- package/build/i18n/en.json.mjs +1 -0
- package/build/i18n/en.json.mjs.map +1 -1
- package/build/main.css +69 -1
- package/build/styles/ExpressiveMoneyInput/AmountInput/AmountInput.css +6 -0
- package/build/styles/ExpressiveMoneyInput/ExpressiveMoneyInput.css +6 -0
- package/build/styles/Inputs/Input/Input.css +19 -0
- package/build/styles/Inputs/TextArea/TextArea.css +16 -1
- package/build/styles/MoneyInput/MoneyInput.css +3 -0
- package/build/styles/PhoneNumberInput/PhoneNumberInput.css +7 -0
- package/build/styles/PocketSurface/PocketSurface.css +1 -0
- package/build/styles/SentimentSurface/SentimentSurface.css +5 -0
- package/build/styles/css/neptune.css +11 -0
- package/build/styles/main.css +69 -1
- package/build/styles/styles/less/neptune.css +11 -0
- package/build/types/ExpressiveMoneyInput/AmountInput/AmountInput.d.ts.map +1 -1
- package/build/types/ExpressiveMoneyInput/hooks/useInputStyle.d.ts.map +1 -1
- package/build/types/Inputs/Input/Input.d.ts.map +1 -1
- package/build/types/Inputs/TextArea/TextArea.d.ts.map +1 -1
- package/build/types/MoneyInput/MoneyInput.d.ts.map +1 -1
- package/build/types/PhoneNumberInput/PhoneNumberInput.d.ts.map +1 -1
- package/build/types/PhoneNumberInput/PhoneNumberInput.messages.d.ts +5 -0
- package/build/types/PhoneNumberInput/PhoneNumberInput.messages.d.ts.map +1 -1
- package/build/types/Typeahead/TypeaheadInput/TypeaheadInput.d.ts +1 -1
- package/build/types/Typeahead/TypeaheadInput/TypeaheadInput.d.ts.map +1 -1
- package/build/types/test-utils/index.d.ts +2 -0
- package/build/types/test-utils/index.d.ts.map +1 -1
- package/package.json +14 -14
- package/src/ExpressiveMoneyInput/AmountInput/AmountInput.css +6 -0
- package/src/ExpressiveMoneyInput/AmountInput/AmountInput.less +7 -0
- package/src/ExpressiveMoneyInput/AmountInput/AmountInput.tsx +2 -1
- package/src/ExpressiveMoneyInput/ExpressiveMoneyInput.css +6 -0
- package/src/ExpressiveMoneyInput/hooks/useInputStyle.ts +1 -2
- package/src/Field/_stories/Field.test.story.tsx +27 -0
- package/src/Inputs/Input/Input.css +19 -0
- package/src/Inputs/Input/Input.less +16 -0
- package/src/Inputs/Input/Input.tsx +1 -0
- package/src/Inputs/{_stories → InputGroup/_stories}/InputGroup.story.tsx +9 -9
- package/src/Inputs/InputGroup/_stories/InputGroup.test.story.tsx +80 -0
- package/src/Inputs/{_stories → SearchInput/_stories}/SearchInput.story.tsx +4 -4
- package/src/Inputs/SearchInput/_stories/SearchInput.test.story.tsx +38 -0
- package/src/Inputs/SelectInput/_stories/SelectInput.rtl.test.story.tsx +31 -19
- package/src/Inputs/TextArea/TextArea.css +16 -1
- package/src/Inputs/TextArea/TextArea.less +6 -1
- package/src/Inputs/TextArea/TextArea.tsx +1 -0
- package/src/Inputs/{_stories → TextArea/_stories}/TextArea.story.tsx +4 -4
- package/src/Inputs/{_stories → TextArea/_stories}/TextArea.test.story.tsx +50 -26
- package/src/MoneyInput/MoneyInput.css +3 -0
- package/src/MoneyInput/MoneyInput.less +6 -0
- package/src/MoneyInput/MoneyInput.tsx +1 -0
- package/src/MoneyInput/_stories/MoneyInput.rtl.test.story.tsx +14 -10
- package/src/PhoneNumberInput/PhoneNumberInput.css +7 -0
- package/src/PhoneNumberInput/PhoneNumberInput.less +13 -0
- package/src/PhoneNumberInput/PhoneNumberInput.messages.ts +5 -0
- package/src/PhoneNumberInput/PhoneNumberInput.tsx +3 -2
- package/src/PhoneNumberInput/_stories/PhoneNumberInput.rtl.test.story.tsx +15 -7
- package/src/PocketSurface/PocketSurface.css +1 -0
- package/src/Prompt/ActionPrompt/_stories/ActionPrompt.story.tsx +5 -1
- package/src/Prompt/InfoPrompt/_stories/InfoPrompt.story.tsx +12 -9
- package/src/Prompt/InlinePrompt/_stories/InlinePrompt.story.tsx +5 -5
- package/src/Prompt/PrimitivePrompt/PrimitivePrompt.less +2 -1
- package/src/SentimentSurface/SentimentSurface.css +5 -0
- package/src/SentimentSurface/SentimentSurface.less +5 -0
- package/src/SentimentSurface/_stories/SentimentSurface.story.tsx +6 -2
- package/src/TextareaWithDisplayFormat/_stories/TextareaWithDisplayFormat.test.story.tsx +49 -34
- package/src/Typeahead/TypeaheadInput/TypeaheadInput.tsx +31 -20
- package/src/Typeahead/_stories/Typeahead.rtl.test.story.tsx +90 -57
- package/src/_deprecated/Select/_stories/Select.rtl.test.story.tsx +8 -1
- package/src/main.css +69 -1
- package/src/styles/less/neptune.css +11 -0
- package/src/Inputs/_stories/InputGroup.test.story.tsx +0 -69
- package/src/Inputs/_stories/SearchInput.test.story.tsx +0 -32
package/build/main.css
CHANGED
|
@@ -140,6 +140,7 @@
|
|
|
140
140
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
141
141
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
142
142
|
}
|
|
143
|
+
|
|
143
144
|
/**
|
|
144
145
|
* Do not edit directly, this file was auto-generated.
|
|
145
146
|
*/
|
|
@@ -322,6 +323,7 @@
|
|
|
322
323
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
323
324
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
324
325
|
}
|
|
326
|
+
|
|
325
327
|
/**
|
|
326
328
|
* Do not edit directly, this file was auto-generated.
|
|
327
329
|
*/
|
|
@@ -504,6 +506,7 @@
|
|
|
504
506
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
505
507
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
506
508
|
}
|
|
509
|
+
|
|
507
510
|
/**
|
|
508
511
|
* Do not edit directly, this file was auto-generated.
|
|
509
512
|
*/
|
|
@@ -686,6 +689,7 @@
|
|
|
686
689
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
687
690
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
688
691
|
}
|
|
692
|
+
|
|
689
693
|
/**
|
|
690
694
|
* Do not edit directly, this file was auto-generated.
|
|
691
695
|
*/
|
|
@@ -868,6 +872,7 @@
|
|
|
868
872
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
869
873
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
870
874
|
}
|
|
875
|
+
|
|
871
876
|
/**
|
|
872
877
|
* Do not edit directly, this file was auto-generated.
|
|
873
878
|
*/
|
|
@@ -1050,6 +1055,7 @@
|
|
|
1050
1055
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1051
1056
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1052
1057
|
}
|
|
1058
|
+
|
|
1053
1059
|
/**
|
|
1054
1060
|
* Do not edit directly, this file was auto-generated.
|
|
1055
1061
|
*/
|
|
@@ -1232,6 +1238,7 @@
|
|
|
1232
1238
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1233
1239
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1234
1240
|
}
|
|
1241
|
+
|
|
1235
1242
|
/**
|
|
1236
1243
|
* Do not edit directly, this file was auto-generated.
|
|
1237
1244
|
*/
|
|
@@ -1415,6 +1422,7 @@
|
|
|
1415
1422
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1416
1423
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1417
1424
|
}
|
|
1425
|
+
|
|
1418
1426
|
/**
|
|
1419
1427
|
* Do not edit directly, this file was auto-generated.
|
|
1420
1428
|
*/
|
|
@@ -1598,6 +1606,7 @@
|
|
|
1598
1606
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1599
1607
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1600
1608
|
}
|
|
1609
|
+
|
|
1601
1610
|
/**
|
|
1602
1611
|
* Do not edit directly, this file was auto-generated.
|
|
1603
1612
|
*/
|
|
@@ -1781,6 +1790,7 @@
|
|
|
1781
1790
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1782
1791
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1783
1792
|
}
|
|
1793
|
+
|
|
1784
1794
|
/**
|
|
1785
1795
|
* Do not edit directly, this file was auto-generated.
|
|
1786
1796
|
*/
|
|
@@ -1964,7 +1974,9 @@
|
|
|
1964
1974
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1965
1975
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1966
1976
|
}
|
|
1977
|
+
|
|
1967
1978
|
/* See: https://github.com/fontsource/fontsource/blob/main/fonts/google/inter/variable.css */
|
|
1979
|
+
|
|
1968
1980
|
/**
|
|
1969
1981
|
* Do not edit directly, this file was auto-generated.
|
|
1970
1982
|
*/
|
|
@@ -2409,6 +2421,7 @@
|
|
|
2409
2421
|
--color-sentiment-background-surface-active: #F8CD20;
|
|
2410
2422
|
--color-sentiment-border-overlay: rgba(58,53,35,0.30196);
|
|
2411
2423
|
}
|
|
2424
|
+
|
|
2412
2425
|
/**
|
|
2413
2426
|
* Do not edit directly, this file was auto-generated.
|
|
2414
2427
|
*/
|
|
@@ -2557,6 +2570,7 @@
|
|
|
2557
2570
|
--color-interactive-control-active: #471358;
|
|
2558
2571
|
--color-background-screen: #260a2f;
|
|
2559
2572
|
}
|
|
2573
|
+
|
|
2560
2574
|
@font-face {
|
|
2561
2575
|
font-family: Inter;
|
|
2562
2576
|
font-style: normal;
|
|
@@ -19795,6 +19809,10 @@ a[data-toggle="tooltip"] {
|
|
|
19795
19809
|
background-color: var(--color-sentiment-background-surface);
|
|
19796
19810
|
color: var(--color-sentiment-content-primary);
|
|
19797
19811
|
}
|
|
19812
|
+
.wds-sentiment-surface strong,
|
|
19813
|
+
.wds-sentiment-surface b {
|
|
19814
|
+
color: var(--color-sentiment-content-primary);
|
|
19815
|
+
}
|
|
19798
19816
|
.wds-pocket-surface {
|
|
19799
19817
|
background-color: #ffffff;
|
|
19800
19818
|
background-color: var(--color-background-screen);
|
|
@@ -22589,6 +22607,25 @@ button.np-option {
|
|
|
22589
22607
|
color: #768e9c;
|
|
22590
22608
|
color: var(--color-content-tertiary);
|
|
22591
22609
|
}
|
|
22610
|
+
[dir="rtl"] .np-input::-moz-placeholder {
|
|
22611
|
+
direction: rtl !important;
|
|
22612
|
+
}
|
|
22613
|
+
[dir="rtl"] .np-input:-moz-placeholder {
|
|
22614
|
+
direction: rtl !important;
|
|
22615
|
+
}
|
|
22616
|
+
[dir="rtl"] .np-input::placeholder,
|
|
22617
|
+
[dir="rtl"] .np-input:placeholder-shown {
|
|
22618
|
+
direction: rtl !important;
|
|
22619
|
+
}
|
|
22620
|
+
[dir="rtl"] .np-input:-moz-placeholder[type="email"], [dir="rtl"] .np-input:-moz-placeholder[type="tel"], [dir="rtl"] .np-input:-moz-placeholder[type="number"], [dir="rtl"] .np-input:-moz-placeholder[type="url"] {
|
|
22621
|
+
direction: ltr !important;
|
|
22622
|
+
}
|
|
22623
|
+
[dir="rtl"] .np-input:placeholder-shown[type="email"],
|
|
22624
|
+
[dir="rtl"] .np-input:placeholder-shown[type="tel"],
|
|
22625
|
+
[dir="rtl"] .np-input:placeholder-shown[type="number"],
|
|
22626
|
+
[dir="rtl"] .np-input:placeholder-shown[type="url"] {
|
|
22627
|
+
direction: ltr !important;
|
|
22628
|
+
}
|
|
22592
22629
|
.np-input--shape-rectangle {
|
|
22593
22630
|
border-radius: 10px !important;
|
|
22594
22631
|
border-radius: var(--radius-small) !important;
|
|
@@ -23776,10 +23813,25 @@ button.np-option {
|
|
|
23776
23813
|
color: #768e9c;
|
|
23777
23814
|
color: var(--color-content-tertiary);
|
|
23778
23815
|
}
|
|
23779
|
-
.np-text-area
|
|
23816
|
+
.np-text-area:-moz-placeholder {
|
|
23780
23817
|
color: #768e9c;
|
|
23781
23818
|
color: var(--color-content-tertiary);
|
|
23782
23819
|
}
|
|
23820
|
+
.np-text-area::placeholder,
|
|
23821
|
+
.np-text-area:placeholder-shown {
|
|
23822
|
+
color: #768e9c;
|
|
23823
|
+
color: var(--color-content-tertiary);
|
|
23824
|
+
}
|
|
23825
|
+
[dir="rtl"] .np-text-area::-moz-placeholder {
|
|
23826
|
+
direction: rtl !important;
|
|
23827
|
+
}
|
|
23828
|
+
[dir="rtl"] .np-text-area:-moz-placeholder {
|
|
23829
|
+
direction: rtl !important;
|
|
23830
|
+
}
|
|
23831
|
+
[dir="rtl"] .np-text-area::placeholder,
|
|
23832
|
+
[dir="rtl"] .np-text-area:placeholder-shown {
|
|
23833
|
+
direction: rtl !important;
|
|
23834
|
+
}
|
|
23783
23835
|
.tw-instructions {
|
|
23784
23836
|
/* Reset */
|
|
23785
23837
|
margin: 0;
|
|
@@ -24190,6 +24242,9 @@ button.np-link {
|
|
|
24190
24242
|
font-weight: 600;
|
|
24191
24243
|
font-weight: var(--font-weight-semi-bold);
|
|
24192
24244
|
}
|
|
24245
|
+
[dir="rtl"] .tw-money-input .money-input__number-input {
|
|
24246
|
+
text-align: end;
|
|
24247
|
+
}
|
|
24193
24248
|
.tw-money-input .money-input-currency-flag {
|
|
24194
24249
|
display: flex;
|
|
24195
24250
|
align-items: center;
|
|
@@ -24258,6 +24313,10 @@ button.np-link {
|
|
|
24258
24313
|
overflow: hidden;
|
|
24259
24314
|
margin-block-end: 0 !important;
|
|
24260
24315
|
}
|
|
24316
|
+
[dir="rtl"] .wds-amount-input-input-container {
|
|
24317
|
+
display: inline-grid;
|
|
24318
|
+
grid-template-columns: auto 1fr;
|
|
24319
|
+
}
|
|
24261
24320
|
@media (prefers-reduced-motion: reduce) {
|
|
24262
24321
|
.wds-amount-input-input-container {
|
|
24263
24322
|
transition: none;
|
|
@@ -24270,6 +24329,8 @@ button.np-link {
|
|
|
24270
24329
|
text-align: end;
|
|
24271
24330
|
background-color: transparent;
|
|
24272
24331
|
line-height: inherit;
|
|
24332
|
+
field-sizing: content;
|
|
24333
|
+
block-size: inherit;
|
|
24273
24334
|
}
|
|
24274
24335
|
.wds-amount-input-input:focus-visible {
|
|
24275
24336
|
outline: none;
|
|
@@ -24534,6 +24595,9 @@ button.np-link {
|
|
|
24534
24595
|
margin-inline-start: 12px;
|
|
24535
24596
|
margin-inline-start: var(--size-12);
|
|
24536
24597
|
}
|
|
24598
|
+
[dir="rtl"] .tw-telephone__number-input-field {
|
|
24599
|
+
text-align: end;
|
|
24600
|
+
}
|
|
24537
24601
|
.tw-telephone__country-select {
|
|
24538
24602
|
flex-basis: 120px;
|
|
24539
24603
|
flex-shrink: 0;
|
|
@@ -24541,6 +24605,10 @@ button.np-link {
|
|
|
24541
24605
|
.tw-telephone__country-select .np-input-group {
|
|
24542
24606
|
inline-size: 100%;
|
|
24543
24607
|
}
|
|
24608
|
+
[dir="rtl"] .tw-telephone__country-select .np-select-input-content {
|
|
24609
|
+
text-align: end;
|
|
24610
|
+
direction: ltr;
|
|
24611
|
+
}
|
|
24544
24612
|
.tw-telephone__country-select--with-input-group-addon-start .np-button-input {
|
|
24545
24613
|
padding-inline-start: 48px;
|
|
24546
24614
|
padding-inline-start: var(--size-48);
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
overflow: hidden;
|
|
11
11
|
margin-block-end: 0 !important;
|
|
12
12
|
}
|
|
13
|
+
[dir="rtl"] .wds-amount-input-input-container {
|
|
14
|
+
display: inline-grid;
|
|
15
|
+
grid-template-columns: auto 1fr;
|
|
16
|
+
}
|
|
13
17
|
@media (prefers-reduced-motion: reduce) {
|
|
14
18
|
.wds-amount-input-input-container {
|
|
15
19
|
transition: none;
|
|
@@ -22,6 +26,8 @@
|
|
|
22
26
|
text-align: end;
|
|
23
27
|
background-color: transparent;
|
|
24
28
|
line-height: inherit;
|
|
29
|
+
field-sizing: content;
|
|
30
|
+
block-size: inherit;
|
|
25
31
|
}
|
|
26
32
|
.wds-amount-input-input:focus-visible {
|
|
27
33
|
outline: none;
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
overflow: hidden;
|
|
11
11
|
margin-block-end: 0 !important;
|
|
12
12
|
}
|
|
13
|
+
[dir="rtl"] .wds-amount-input-input-container {
|
|
14
|
+
display: inline-grid;
|
|
15
|
+
grid-template-columns: auto 1fr;
|
|
16
|
+
}
|
|
13
17
|
@media (prefers-reduced-motion: reduce) {
|
|
14
18
|
.wds-amount-input-input-container {
|
|
15
19
|
transition: none;
|
|
@@ -22,6 +26,8 @@
|
|
|
22
26
|
text-align: end;
|
|
23
27
|
background-color: transparent;
|
|
24
28
|
line-height: inherit;
|
|
29
|
+
field-sizing: content;
|
|
30
|
+
block-size: inherit;
|
|
25
31
|
}
|
|
26
32
|
.wds-amount-input-input:focus-visible {
|
|
27
33
|
outline: none;
|
|
@@ -147,6 +147,25 @@
|
|
|
147
147
|
color: #768e9c;
|
|
148
148
|
color: var(--color-content-tertiary);
|
|
149
149
|
}
|
|
150
|
+
[dir="rtl"] .np-input::-moz-placeholder {
|
|
151
|
+
direction: rtl !important;
|
|
152
|
+
}
|
|
153
|
+
[dir="rtl"] .np-input:-moz-placeholder {
|
|
154
|
+
direction: rtl !important;
|
|
155
|
+
}
|
|
156
|
+
[dir="rtl"] .np-input::placeholder,
|
|
157
|
+
[dir="rtl"] .np-input:placeholder-shown {
|
|
158
|
+
direction: rtl !important;
|
|
159
|
+
}
|
|
160
|
+
[dir="rtl"] .np-input:-moz-placeholder[type="email"], [dir="rtl"] .np-input:-moz-placeholder[type="tel"], [dir="rtl"] .np-input:-moz-placeholder[type="number"], [dir="rtl"] .np-input:-moz-placeholder[type="url"] {
|
|
161
|
+
direction: ltr !important;
|
|
162
|
+
}
|
|
163
|
+
[dir="rtl"] .np-input:placeholder-shown[type="email"],
|
|
164
|
+
[dir="rtl"] .np-input:placeholder-shown[type="tel"],
|
|
165
|
+
[dir="rtl"] .np-input:placeholder-shown[type="number"],
|
|
166
|
+
[dir="rtl"] .np-input:placeholder-shown[type="url"] {
|
|
167
|
+
direction: ltr !important;
|
|
168
|
+
}
|
|
150
169
|
.np-input--shape-rectangle {
|
|
151
170
|
border-radius: 10px !important;
|
|
152
171
|
border-radius: var(--radius-small) !important;
|
|
@@ -154,7 +154,22 @@
|
|
|
154
154
|
color: #768e9c;
|
|
155
155
|
color: var(--color-content-tertiary);
|
|
156
156
|
}
|
|
157
|
-
.np-text-area
|
|
157
|
+
.np-text-area:-moz-placeholder {
|
|
158
158
|
color: #768e9c;
|
|
159
159
|
color: var(--color-content-tertiary);
|
|
160
160
|
}
|
|
161
|
+
.np-text-area::placeholder,
|
|
162
|
+
.np-text-area:placeholder-shown {
|
|
163
|
+
color: #768e9c;
|
|
164
|
+
color: var(--color-content-tertiary);
|
|
165
|
+
}
|
|
166
|
+
[dir="rtl"] .np-text-area::-moz-placeholder {
|
|
167
|
+
direction: rtl !important;
|
|
168
|
+
}
|
|
169
|
+
[dir="rtl"] .np-text-area:-moz-placeholder {
|
|
170
|
+
direction: rtl !important;
|
|
171
|
+
}
|
|
172
|
+
[dir="rtl"] .np-text-area::placeholder,
|
|
173
|
+
[dir="rtl"] .np-text-area:placeholder-shown {
|
|
174
|
+
direction: rtl !important;
|
|
175
|
+
}
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
margin-inline-start: 12px;
|
|
6
6
|
margin-inline-start: var(--size-12);
|
|
7
7
|
}
|
|
8
|
+
[dir="rtl"] .tw-telephone__number-input-field {
|
|
9
|
+
text-align: end;
|
|
10
|
+
}
|
|
8
11
|
.tw-telephone__country-select {
|
|
9
12
|
flex-basis: 120px;
|
|
10
13
|
flex-shrink: 0;
|
|
@@ -12,6 +15,10 @@
|
|
|
12
15
|
.tw-telephone__country-select .np-input-group {
|
|
13
16
|
inline-size: 100%;
|
|
14
17
|
}
|
|
18
|
+
[dir="rtl"] .tw-telephone__country-select .np-select-input-content {
|
|
19
|
+
text-align: end;
|
|
20
|
+
direction: ltr;
|
|
21
|
+
}
|
|
15
22
|
.tw-telephone__country-select--with-input-group-addon-start .np-button-input {
|
|
16
23
|
padding-inline-start: 48px;
|
|
17
24
|
padding-inline-start: var(--size-48);
|
|
@@ -442,6 +442,7 @@
|
|
|
442
442
|
--color-sentiment-background-surface-active: #F8CD20;
|
|
443
443
|
--color-sentiment-border-overlay: rgba(58,53,35,0.30196);
|
|
444
444
|
}
|
|
445
|
+
|
|
445
446
|
.wds-sentiment-surface {
|
|
446
447
|
--ring-outline-color: var(--color-sentiment-content-primary, var(--color-content-primary));
|
|
447
448
|
}
|
|
@@ -449,3 +450,7 @@
|
|
|
449
450
|
background-color: var(--color-sentiment-background-surface);
|
|
450
451
|
color: var(--color-sentiment-content-primary);
|
|
451
452
|
}
|
|
453
|
+
.wds-sentiment-surface strong,
|
|
454
|
+
.wds-sentiment-surface b {
|
|
455
|
+
color: var(--color-sentiment-content-primary);
|
|
456
|
+
}
|
|
@@ -140,6 +140,7 @@
|
|
|
140
140
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
141
141
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
142
142
|
}
|
|
143
|
+
|
|
143
144
|
/**
|
|
144
145
|
* Do not edit directly, this file was auto-generated.
|
|
145
146
|
*/
|
|
@@ -322,6 +323,7 @@
|
|
|
322
323
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
323
324
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
324
325
|
}
|
|
326
|
+
|
|
325
327
|
/**
|
|
326
328
|
* Do not edit directly, this file was auto-generated.
|
|
327
329
|
*/
|
|
@@ -504,6 +506,7 @@
|
|
|
504
506
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
505
507
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
506
508
|
}
|
|
509
|
+
|
|
507
510
|
/**
|
|
508
511
|
* Do not edit directly, this file was auto-generated.
|
|
509
512
|
*/
|
|
@@ -686,6 +689,7 @@
|
|
|
686
689
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
687
690
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
688
691
|
}
|
|
692
|
+
|
|
689
693
|
/**
|
|
690
694
|
* Do not edit directly, this file was auto-generated.
|
|
691
695
|
*/
|
|
@@ -868,6 +872,7 @@
|
|
|
868
872
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
869
873
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
870
874
|
}
|
|
875
|
+
|
|
871
876
|
/**
|
|
872
877
|
* Do not edit directly, this file was auto-generated.
|
|
873
878
|
*/
|
|
@@ -1050,6 +1055,7 @@
|
|
|
1050
1055
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1051
1056
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1052
1057
|
}
|
|
1058
|
+
|
|
1053
1059
|
/**
|
|
1054
1060
|
* Do not edit directly, this file was auto-generated.
|
|
1055
1061
|
*/
|
|
@@ -1232,6 +1238,7 @@
|
|
|
1232
1238
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1233
1239
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1234
1240
|
}
|
|
1241
|
+
|
|
1235
1242
|
/**
|
|
1236
1243
|
* Do not edit directly, this file was auto-generated.
|
|
1237
1244
|
*/
|
|
@@ -1415,6 +1422,7 @@
|
|
|
1415
1422
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1416
1423
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1417
1424
|
}
|
|
1425
|
+
|
|
1418
1426
|
/**
|
|
1419
1427
|
* Do not edit directly, this file was auto-generated.
|
|
1420
1428
|
*/
|
|
@@ -1598,6 +1606,7 @@
|
|
|
1598
1606
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1599
1607
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1600
1608
|
}
|
|
1609
|
+
|
|
1601
1610
|
/**
|
|
1602
1611
|
* Do not edit directly, this file was auto-generated.
|
|
1603
1612
|
*/
|
|
@@ -1781,6 +1790,7 @@
|
|
|
1781
1790
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1782
1791
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1783
1792
|
}
|
|
1793
|
+
|
|
1784
1794
|
/**
|
|
1785
1795
|
* Do not edit directly, this file was auto-generated.
|
|
1786
1796
|
*/
|
|
@@ -1964,6 +1974,7 @@
|
|
|
1964
1974
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1965
1975
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1966
1976
|
}
|
|
1977
|
+
|
|
1967
1978
|
/* See: https://github.com/fontsource/fontsource/blob/main/fonts/google/inter/variable.css */
|
|
1968
1979
|
@font-face {
|
|
1969
1980
|
font-family: Inter;
|
package/build/styles/main.css
CHANGED
|
@@ -140,6 +140,7 @@
|
|
|
140
140
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
141
141
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
142
142
|
}
|
|
143
|
+
|
|
143
144
|
/**
|
|
144
145
|
* Do not edit directly, this file was auto-generated.
|
|
145
146
|
*/
|
|
@@ -322,6 +323,7 @@
|
|
|
322
323
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
323
324
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
324
325
|
}
|
|
326
|
+
|
|
325
327
|
/**
|
|
326
328
|
* Do not edit directly, this file was auto-generated.
|
|
327
329
|
*/
|
|
@@ -504,6 +506,7 @@
|
|
|
504
506
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
505
507
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
506
508
|
}
|
|
509
|
+
|
|
507
510
|
/**
|
|
508
511
|
* Do not edit directly, this file was auto-generated.
|
|
509
512
|
*/
|
|
@@ -686,6 +689,7 @@
|
|
|
686
689
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
687
690
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
688
691
|
}
|
|
692
|
+
|
|
689
693
|
/**
|
|
690
694
|
* Do not edit directly, this file was auto-generated.
|
|
691
695
|
*/
|
|
@@ -868,6 +872,7 @@
|
|
|
868
872
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
869
873
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
870
874
|
}
|
|
875
|
+
|
|
871
876
|
/**
|
|
872
877
|
* Do not edit directly, this file was auto-generated.
|
|
873
878
|
*/
|
|
@@ -1050,6 +1055,7 @@
|
|
|
1050
1055
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1051
1056
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1052
1057
|
}
|
|
1058
|
+
|
|
1053
1059
|
/**
|
|
1054
1060
|
* Do not edit directly, this file was auto-generated.
|
|
1055
1061
|
*/
|
|
@@ -1232,6 +1238,7 @@
|
|
|
1232
1238
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1233
1239
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1234
1240
|
}
|
|
1241
|
+
|
|
1235
1242
|
/**
|
|
1236
1243
|
* Do not edit directly, this file was auto-generated.
|
|
1237
1244
|
*/
|
|
@@ -1415,6 +1422,7 @@
|
|
|
1415
1422
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1416
1423
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1417
1424
|
}
|
|
1425
|
+
|
|
1418
1426
|
/**
|
|
1419
1427
|
* Do not edit directly, this file was auto-generated.
|
|
1420
1428
|
*/
|
|
@@ -1598,6 +1606,7 @@
|
|
|
1598
1606
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1599
1607
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1600
1608
|
}
|
|
1609
|
+
|
|
1601
1610
|
/**
|
|
1602
1611
|
* Do not edit directly, this file was auto-generated.
|
|
1603
1612
|
*/
|
|
@@ -1781,6 +1790,7 @@
|
|
|
1781
1790
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1782
1791
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1783
1792
|
}
|
|
1793
|
+
|
|
1784
1794
|
/**
|
|
1785
1795
|
* Do not edit directly, this file was auto-generated.
|
|
1786
1796
|
*/
|
|
@@ -1964,7 +1974,9 @@
|
|
|
1964
1974
|
--font-family-regular: 'Inter', Helvetica, Arial, sans-serif;
|
|
1965
1975
|
--font-family-display: 'Wise Sans', 'Inter', sans-serif;
|
|
1966
1976
|
}
|
|
1977
|
+
|
|
1967
1978
|
/* See: https://github.com/fontsource/fontsource/blob/main/fonts/google/inter/variable.css */
|
|
1979
|
+
|
|
1968
1980
|
/**
|
|
1969
1981
|
* Do not edit directly, this file was auto-generated.
|
|
1970
1982
|
*/
|
|
@@ -2409,6 +2421,7 @@
|
|
|
2409
2421
|
--color-sentiment-background-surface-active: #F8CD20;
|
|
2410
2422
|
--color-sentiment-border-overlay: rgba(58,53,35,0.30196);
|
|
2411
2423
|
}
|
|
2424
|
+
|
|
2412
2425
|
/**
|
|
2413
2426
|
* Do not edit directly, this file was auto-generated.
|
|
2414
2427
|
*/
|
|
@@ -2557,6 +2570,7 @@
|
|
|
2557
2570
|
--color-interactive-control-active: #471358;
|
|
2558
2571
|
--color-background-screen: #260a2f;
|
|
2559
2572
|
}
|
|
2573
|
+
|
|
2560
2574
|
@font-face {
|
|
2561
2575
|
font-family: Inter;
|
|
2562
2576
|
font-style: normal;
|
|
@@ -19795,6 +19809,10 @@ a[data-toggle="tooltip"] {
|
|
|
19795
19809
|
background-color: var(--color-sentiment-background-surface);
|
|
19796
19810
|
color: var(--color-sentiment-content-primary);
|
|
19797
19811
|
}
|
|
19812
|
+
.wds-sentiment-surface strong,
|
|
19813
|
+
.wds-sentiment-surface b {
|
|
19814
|
+
color: var(--color-sentiment-content-primary);
|
|
19815
|
+
}
|
|
19798
19816
|
.wds-pocket-surface {
|
|
19799
19817
|
background-color: #ffffff;
|
|
19800
19818
|
background-color: var(--color-background-screen);
|
|
@@ -22589,6 +22607,25 @@ button.np-option {
|
|
|
22589
22607
|
color: #768e9c;
|
|
22590
22608
|
color: var(--color-content-tertiary);
|
|
22591
22609
|
}
|
|
22610
|
+
[dir="rtl"] .np-input::-moz-placeholder {
|
|
22611
|
+
direction: rtl !important;
|
|
22612
|
+
}
|
|
22613
|
+
[dir="rtl"] .np-input:-moz-placeholder {
|
|
22614
|
+
direction: rtl !important;
|
|
22615
|
+
}
|
|
22616
|
+
[dir="rtl"] .np-input::placeholder,
|
|
22617
|
+
[dir="rtl"] .np-input:placeholder-shown {
|
|
22618
|
+
direction: rtl !important;
|
|
22619
|
+
}
|
|
22620
|
+
[dir="rtl"] .np-input:-moz-placeholder[type="email"], [dir="rtl"] .np-input:-moz-placeholder[type="tel"], [dir="rtl"] .np-input:-moz-placeholder[type="number"], [dir="rtl"] .np-input:-moz-placeholder[type="url"] {
|
|
22621
|
+
direction: ltr !important;
|
|
22622
|
+
}
|
|
22623
|
+
[dir="rtl"] .np-input:placeholder-shown[type="email"],
|
|
22624
|
+
[dir="rtl"] .np-input:placeholder-shown[type="tel"],
|
|
22625
|
+
[dir="rtl"] .np-input:placeholder-shown[type="number"],
|
|
22626
|
+
[dir="rtl"] .np-input:placeholder-shown[type="url"] {
|
|
22627
|
+
direction: ltr !important;
|
|
22628
|
+
}
|
|
22592
22629
|
.np-input--shape-rectangle {
|
|
22593
22630
|
border-radius: 10px !important;
|
|
22594
22631
|
border-radius: var(--radius-small) !important;
|
|
@@ -23776,10 +23813,25 @@ button.np-option {
|
|
|
23776
23813
|
color: #768e9c;
|
|
23777
23814
|
color: var(--color-content-tertiary);
|
|
23778
23815
|
}
|
|
23779
|
-
.np-text-area
|
|
23816
|
+
.np-text-area:-moz-placeholder {
|
|
23780
23817
|
color: #768e9c;
|
|
23781
23818
|
color: var(--color-content-tertiary);
|
|
23782
23819
|
}
|
|
23820
|
+
.np-text-area::placeholder,
|
|
23821
|
+
.np-text-area:placeholder-shown {
|
|
23822
|
+
color: #768e9c;
|
|
23823
|
+
color: var(--color-content-tertiary);
|
|
23824
|
+
}
|
|
23825
|
+
[dir="rtl"] .np-text-area::-moz-placeholder {
|
|
23826
|
+
direction: rtl !important;
|
|
23827
|
+
}
|
|
23828
|
+
[dir="rtl"] .np-text-area:-moz-placeholder {
|
|
23829
|
+
direction: rtl !important;
|
|
23830
|
+
}
|
|
23831
|
+
[dir="rtl"] .np-text-area::placeholder,
|
|
23832
|
+
[dir="rtl"] .np-text-area:placeholder-shown {
|
|
23833
|
+
direction: rtl !important;
|
|
23834
|
+
}
|
|
23783
23835
|
.tw-instructions {
|
|
23784
23836
|
/* Reset */
|
|
23785
23837
|
margin: 0;
|
|
@@ -24190,6 +24242,9 @@ button.np-link {
|
|
|
24190
24242
|
font-weight: 600;
|
|
24191
24243
|
font-weight: var(--font-weight-semi-bold);
|
|
24192
24244
|
}
|
|
24245
|
+
[dir="rtl"] .tw-money-input .money-input__number-input {
|
|
24246
|
+
text-align: end;
|
|
24247
|
+
}
|
|
24193
24248
|
.tw-money-input .money-input-currency-flag {
|
|
24194
24249
|
display: flex;
|
|
24195
24250
|
align-items: center;
|
|
@@ -24258,6 +24313,10 @@ button.np-link {
|
|
|
24258
24313
|
overflow: hidden;
|
|
24259
24314
|
margin-block-end: 0 !important;
|
|
24260
24315
|
}
|
|
24316
|
+
[dir="rtl"] .wds-amount-input-input-container {
|
|
24317
|
+
display: inline-grid;
|
|
24318
|
+
grid-template-columns: auto 1fr;
|
|
24319
|
+
}
|
|
24261
24320
|
@media (prefers-reduced-motion: reduce) {
|
|
24262
24321
|
.wds-amount-input-input-container {
|
|
24263
24322
|
transition: none;
|
|
@@ -24270,6 +24329,8 @@ button.np-link {
|
|
|
24270
24329
|
text-align: end;
|
|
24271
24330
|
background-color: transparent;
|
|
24272
24331
|
line-height: inherit;
|
|
24332
|
+
field-sizing: content;
|
|
24333
|
+
block-size: inherit;
|
|
24273
24334
|
}
|
|
24274
24335
|
.wds-amount-input-input:focus-visible {
|
|
24275
24336
|
outline: none;
|
|
@@ -24534,6 +24595,9 @@ button.np-link {
|
|
|
24534
24595
|
margin-inline-start: 12px;
|
|
24535
24596
|
margin-inline-start: var(--size-12);
|
|
24536
24597
|
}
|
|
24598
|
+
[dir="rtl"] .tw-telephone__number-input-field {
|
|
24599
|
+
text-align: end;
|
|
24600
|
+
}
|
|
24537
24601
|
.tw-telephone__country-select {
|
|
24538
24602
|
flex-basis: 120px;
|
|
24539
24603
|
flex-shrink: 0;
|
|
@@ -24541,6 +24605,10 @@ button.np-link {
|
|
|
24541
24605
|
.tw-telephone__country-select .np-input-group {
|
|
24542
24606
|
inline-size: 100%;
|
|
24543
24607
|
}
|
|
24608
|
+
[dir="rtl"] .tw-telephone__country-select .np-select-input-content {
|
|
24609
|
+
text-align: end;
|
|
24610
|
+
direction: ltr;
|
|
24611
|
+
}
|
|
24544
24612
|
.tw-telephone__country-select--with-input-group-addon-start .np-button-input {
|
|
24545
24613
|
padding-inline-start: 48px;
|
|
24546
24614
|
padding-inline-start: var(--size-48);
|