@transferwise/components 46.84.1 → 46.86.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.
- package/build/avatarLayout/AvatarLayout.js +1 -0
- package/build/avatarLayout/AvatarLayout.js.map +1 -1
- package/build/avatarLayout/AvatarLayout.mjs +1 -0
- package/build/avatarLayout/AvatarLayout.mjs.map +1 -1
- package/build/circularButton/CircularButton.js +18 -21
- package/build/circularButton/CircularButton.js.map +1 -1
- package/build/circularButton/CircularButton.mjs +19 -22
- package/build/circularButton/CircularButton.mjs.map +1 -1
- package/build/definitionList/DefinitionList.js.map +1 -1
- package/build/definitionList/DefinitionList.mjs.map +1 -1
- package/build/dimmer/Dimmer.js.map +1 -1
- package/build/dimmer/Dimmer.mjs.map +1 -1
- package/build/i18n/de.json +1 -0
- package/build/i18n/de.json.js +1 -0
- package/build/i18n/de.json.js.map +1 -1
- package/build/i18n/de.json.mjs +1 -0
- package/build/i18n/de.json.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/i18n/es.json +1 -0
- package/build/i18n/es.json.js +1 -0
- package/build/i18n/es.json.js.map +1 -1
- package/build/i18n/es.json.mjs +1 -0
- package/build/i18n/es.json.mjs.map +1 -1
- package/build/i18n/fr.json +6 -5
- package/build/i18n/fr.json.js +6 -5
- package/build/i18n/fr.json.js.map +1 -1
- package/build/i18n/fr.json.mjs +6 -5
- package/build/i18n/fr.json.mjs.map +1 -1
- package/build/i18n/hu.json +1 -0
- package/build/i18n/hu.json.js +1 -0
- package/build/i18n/hu.json.js.map +1 -1
- package/build/i18n/hu.json.mjs +1 -0
- package/build/i18n/hu.json.mjs.map +1 -1
- package/build/i18n/id.json +1 -0
- package/build/i18n/id.json.js +1 -0
- package/build/i18n/id.json.js.map +1 -1
- package/build/i18n/id.json.mjs +1 -0
- package/build/i18n/id.json.mjs.map +1 -1
- package/build/i18n/it.json +1 -0
- package/build/i18n/it.json.js +1 -0
- package/build/i18n/it.json.js.map +1 -1
- package/build/i18n/it.json.mjs +1 -0
- package/build/i18n/it.json.mjs.map +1 -1
- package/build/i18n/pl.json +1 -0
- package/build/i18n/pl.json.js +1 -0
- package/build/i18n/pl.json.js.map +1 -1
- package/build/i18n/pl.json.mjs +1 -0
- package/build/i18n/pl.json.mjs.map +1 -1
- package/build/i18n/ro.json +1 -0
- package/build/i18n/ro.json.js +1 -0
- package/build/i18n/ro.json.js.map +1 -1
- package/build/i18n/ro.json.mjs +1 -0
- package/build/i18n/ro.json.mjs.map +1 -1
- package/build/i18n/th.json +6 -0
- package/build/i18n/th.json.js +6 -0
- package/build/i18n/th.json.js.map +1 -1
- package/build/i18n/th.json.mjs +6 -0
- package/build/i18n/th.json.mjs.map +1 -1
- package/build/i18n/tr.json +1 -0
- package/build/i18n/tr.json.js +1 -0
- package/build/i18n/tr.json.js.map +1 -1
- package/build/i18n/tr.json.mjs +1 -0
- package/build/i18n/tr.json.mjs.map +1 -1
- package/build/i18n/zh-CN.json +11 -0
- package/build/i18n/zh-CN.json.js +11 -0
- package/build/i18n/zh-CN.json.js.map +1 -1
- package/build/i18n/zh-CN.json.mjs +11 -0
- package/build/i18n/zh-CN.json.mjs.map +1 -1
- package/build/i18n/zh-HK.json +5 -0
- package/build/i18n/zh-HK.json.js +5 -0
- package/build/i18n/zh-HK.json.js.map +1 -1
- package/build/i18n/zh-HK.json.mjs +5 -0
- package/build/i18n/zh-HK.json.mjs.map +1 -1
- package/build/main.css +17 -158
- package/build/moneyInput/MoneyInput.js.map +1 -1
- package/build/moneyInput/MoneyInput.mjs.map +1 -1
- package/build/stepper/Stepper.js +6 -3
- package/build/stepper/Stepper.js.map +1 -1
- package/build/stepper/Stepper.mjs +6 -3
- package/build/stepper/Stepper.mjs.map +1 -1
- package/build/styles/circularButton/CircularButton.css +17 -158
- package/build/styles/main.css +17 -158
- package/build/types/avatarLayout/AvatarLayout.d.ts.map +1 -1
- package/build/types/circularButton/CircularButton.d.ts +11 -4
- package/build/types/circularButton/CircularButton.d.ts.map +1 -1
- package/build/types/definitionList/DefinitionList.d.ts +1 -2
- package/build/types/definitionList/DefinitionList.d.ts.map +1 -1
- package/build/types/dimmer/Dimmer.d.ts +1 -1
- package/build/types/dimmer/Dimmer.d.ts.map +1 -1
- package/build/types/moneyInput/MoneyInput.d.ts +1 -1
- package/build/types/moneyInput/MoneyInput.d.ts.map +1 -1
- package/build/types/stepper/Stepper.d.ts +2 -1
- package/build/types/stepper/Stepper.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/build/types/uploadInput/uploadButton/UploadButton.messages.d.ts +5 -0
- package/build/types/uploadInput/uploadButton/UploadButton.messages.d.ts.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.js +3 -1
- package/build/uploadInput/uploadButton/UploadButton.js.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.messages.js +3 -0
- package/build/uploadInput/uploadButton/UploadButton.messages.js.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.messages.mjs +3 -0
- package/build/uploadInput/uploadButton/UploadButton.messages.mjs.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.mjs +3 -1
- package/build/uploadInput/uploadButton/UploadButton.mjs.map +1 -1
- package/package.json +5 -5
- package/src/avatar/Avatar.story.tsx +4 -1
- package/src/avatarLayout/AvatarLayout.story.tsx +2 -0
- package/src/avatarLayout/AvatarLayout.tsx +3 -1
- package/src/avatarWrapper/AvatarWrapper.story.tsx +4 -0
- package/src/badge/Badge.story.tsx +4 -0
- package/src/circularButton/CircularButton.css +17 -158
- package/src/circularButton/CircularButton.less +22 -91
- package/src/circularButton/CircularButton.story.tsx +45 -24
- package/src/circularButton/CircularButton.tsx +38 -25
- package/src/definitionList/DefinitionList.story.tsx +57 -57
- package/src/definitionList/DefinitionList.tsx +1 -1
- package/src/dimmer/{Dimmer.rtl.spec.tsx → Dimmer.spec.tsx} +33 -29
- package/src/dimmer/Dimmer.tsx +4 -4
- package/src/flowNavigation/__snapshots__/FlowNavigation.spec.js.snap +3 -1
- package/src/i18n/de.json +1 -0
- package/src/i18n/en.json +1 -0
- package/src/i18n/es.json +1 -0
- package/src/i18n/fr.json +6 -5
- package/src/i18n/hu.json +1 -0
- package/src/i18n/id.json +1 -0
- package/src/i18n/it.json +1 -0
- package/src/i18n/pl.json +1 -0
- package/src/i18n/ro.json +1 -0
- package/src/i18n/th.json +6 -0
- package/src/i18n/tr.json +1 -0
- package/src/i18n/zh-CN.json +11 -0
- package/src/i18n/zh-HK.json +5 -0
- package/src/iconButton/IconButton.story.tsx +6 -6
- package/src/main.css +17 -158
- package/src/moneyInput/MoneyInput.spec.tsx +468 -0
- package/src/moneyInput/MoneyInput.tsx +2 -1
- package/src/navigationOption/NavigationOption.spec.tsx +113 -0
- package/src/phoneNumberInput/PhoneNumberInput.spec.tsx +283 -0
- package/src/radioOption/RadioOption.spec.tsx +73 -0
- package/src/slidingPanel/SlidingPanel.spec.tsx +69 -0
- package/src/stepper/Stepper.spec.tsx +236 -0
- package/src/stepper/Stepper.tests.story.tsx +89 -0
- package/src/stepper/Stepper.tsx +9 -4
- package/src/stepper/{deviceDetection.spec.js → deviceDetection.spec.ts} +6 -3
- package/src/uploadInput/uploadButton/UploadButton.messages.ts +7 -0
- package/src/uploadInput/uploadButton/UploadButton.tsx +1 -1
- package/src/circularButton/_button-label-states.less +0 -34
- package/src/definitionList/DefinitionList.spec.js +0 -91
- package/src/dimmer/Dimmer.spec.js +0 -87
- package/src/moneyInput/MoneyInput.rtl.spec.tsx +0 -149
- package/src/moneyInput/MoneyInput.spec.js +0 -820
- package/src/navigationOption/NavigationOption.spec.js +0 -93
- package/src/phoneNumberInput/PhoneNumberInput.rtl.spec.tsx +0 -32
- package/src/phoneNumberInput/PhoneNumberInput.spec.js +0 -356
- package/src/radioOption/RadioOption.spec.js +0 -67
- package/src/slidingPanel/SlidingPanel.spec.js +0 -56
- package/src/stepper/Stepper.spec.js +0 -233
- /package/src/alert/{Alert.spec.story.tsx → Alert.tests.story.tsx} +0 -0
package/src/i18n/zh-CN.json
CHANGED
|
@@ -27,9 +27,19 @@
|
|
|
27
27
|
"neptune.SelectInput.noResultsFound": "找不到结果",
|
|
28
28
|
"neptune.SelectOption.action.label": "选择",
|
|
29
29
|
"neptune.SelectOption.selected.action.label": "更改所选选项",
|
|
30
|
+
"neptune.StatusIcon.iconLabel.error": "错误:",
|
|
31
|
+
"neptune.StatusIcon.iconLabel.information": "信息:",
|
|
32
|
+
"neptune.StatusIcon.iconLabel.pending": "待处理:",
|
|
33
|
+
"neptune.StatusIcon.iconLabel.success": "成功:",
|
|
34
|
+
"neptune.StatusIcon.iconLabel.warning": "警告:",
|
|
30
35
|
"neptune.Summary.statusDone": "已完成",
|
|
31
36
|
"neptune.Summary.statusNotDone": "未完成",
|
|
32
37
|
"neptune.Summary.statusPending": "待处理",
|
|
38
|
+
"neptune.Table.actionHeader": "操作",
|
|
39
|
+
"neptune.Table.emptyData": "找不到结果",
|
|
40
|
+
"neptune.Table.loaded": "表数据已加载",
|
|
41
|
+
"neptune.Table.loading": "表数据正在加载",
|
|
42
|
+
"neptune.Table.refreshPage": "刷新页面",
|
|
33
43
|
"neptune.Upload.csButtonText": "上传另一个文件?",
|
|
34
44
|
"neptune.Upload.csFailureText": "上传失败。请重试",
|
|
35
45
|
"neptune.Upload.csSuccessText": "上传完毕!",
|
|
@@ -44,6 +54,7 @@
|
|
|
44
54
|
"neptune.UploadButton.allFileTypes": "所有文件类型",
|
|
45
55
|
"neptune.UploadButton.dropFiles": "拖放文件开始上传",
|
|
46
56
|
"neptune.UploadButton.instructions": "{fileTypes},小于 {size} MB",
|
|
57
|
+
"neptune.UploadButton.maximumFiles": "最多 {maxFiles} 个文件。",
|
|
47
58
|
"neptune.UploadButton.uploadFile": "上传文件",
|
|
48
59
|
"neptune.UploadButton.uploadFiles": "上传文件",
|
|
49
60
|
"neptune.UploadInput.deleteModalBody": "删除此文件会将其从我们的系统中删除",
|
package/src/i18n/zh-HK.json
CHANGED
|
@@ -35,6 +35,11 @@
|
|
|
35
35
|
"neptune.Summary.statusDone": "已完成事項",
|
|
36
36
|
"neptune.Summary.statusNotDone": "未完成事項",
|
|
37
37
|
"neptune.Summary.statusPending": "待處理事項",
|
|
38
|
+
"neptune.Table.actionHeader": "行動",
|
|
39
|
+
"neptune.Table.emptyData": "找不到任何結果",
|
|
40
|
+
"neptune.Table.loaded": "已載入表格資料",
|
|
41
|
+
"neptune.Table.loading": "正在載入表格資料",
|
|
42
|
+
"neptune.Table.refreshPage": "重新整理頁面",
|
|
38
43
|
"neptune.Upload.csButtonText": "上載另一個檔案?",
|
|
39
44
|
"neptune.Upload.csFailureText": "上載失敗,請重試。",
|
|
40
45
|
"neptune.Upload.csSuccessText": "上載完成!",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable react/jsx-key */
|
|
2
2
|
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
import { ArrowLeft } from '@transferwise/icons';
|
|
3
|
+
import { ArrowLeft, Cross, Defrost, Edit, Menu, Plus } from '@transferwise/icons';
|
|
4
4
|
import IconButton, { Props } from './IconButton';
|
|
5
5
|
import { action } from '@storybook/addon-actions';
|
|
6
6
|
import Body from '../body';
|
|
@@ -24,7 +24,7 @@ const Template = ({ size, disabled }: Props) => {
|
|
|
24
24
|
type="default"
|
|
25
25
|
onClick={action('button click')}
|
|
26
26
|
>
|
|
27
|
-
<
|
|
27
|
+
<Plus />
|
|
28
28
|
</IconButton>
|
|
29
29
|
<IconButton
|
|
30
30
|
size={size}
|
|
@@ -34,7 +34,7 @@ const Template = ({ size, disabled }: Props) => {
|
|
|
34
34
|
type="default"
|
|
35
35
|
onClick={action('button click')}
|
|
36
36
|
>
|
|
37
|
-
<
|
|
37
|
+
<Defrost />
|
|
38
38
|
</IconButton>
|
|
39
39
|
<IconButton
|
|
40
40
|
size={size}
|
|
@@ -54,7 +54,7 @@ const Template = ({ size, disabled }: Props) => {
|
|
|
54
54
|
type="default"
|
|
55
55
|
onClick={action('button click')}
|
|
56
56
|
>
|
|
57
|
-
<
|
|
57
|
+
<Menu />
|
|
58
58
|
</IconButton>
|
|
59
59
|
<IconButton
|
|
60
60
|
size={size}
|
|
@@ -64,7 +64,7 @@ const Template = ({ size, disabled }: Props) => {
|
|
|
64
64
|
type="negative"
|
|
65
65
|
onClick={action('button click')}
|
|
66
66
|
>
|
|
67
|
-
<
|
|
67
|
+
<Cross />
|
|
68
68
|
</IconButton>
|
|
69
69
|
<IconButton
|
|
70
70
|
size={size}
|
|
@@ -74,7 +74,7 @@ const Template = ({ size, disabled }: Props) => {
|
|
|
74
74
|
type="negative"
|
|
75
75
|
onClick={action('button click')}
|
|
76
76
|
>
|
|
77
|
-
<
|
|
77
|
+
<Edit />
|
|
78
78
|
</IconButton>
|
|
79
79
|
</>
|
|
80
80
|
);
|
package/src/main.css
CHANGED
|
@@ -1184,175 +1184,34 @@ div.critical-comms .critical-comms-body {
|
|
|
1184
1184
|
display: inline-flex;
|
|
1185
1185
|
flex-direction: column;
|
|
1186
1186
|
align-items: center;
|
|
1187
|
-
text-align: center;
|
|
1188
1187
|
cursor: pointer;
|
|
1189
|
-
position: relative;
|
|
1190
|
-
}
|
|
1191
|
-
.np-circular-btn .tw-icon {
|
|
1192
|
-
position: absolute;
|
|
1193
|
-
top: 16px;
|
|
1194
|
-
top: var(--size-16);
|
|
1195
|
-
pointer-events: none;
|
|
1196
|
-
color: white;
|
|
1197
|
-
transition: color 0.15s ease-in-out;
|
|
1198
|
-
width: 100%;
|
|
1199
|
-
left: 0;
|
|
1200
|
-
}
|
|
1201
|
-
[dir="rtl"] .np-circular-btn .tw-icon {
|
|
1202
|
-
right: 0;
|
|
1203
|
-
left: auto;
|
|
1204
|
-
left: initial;
|
|
1205
|
-
}
|
|
1206
|
-
@media (max-width: 320px) {
|
|
1207
|
-
.np-circular-btn .tw-icon {
|
|
1208
|
-
top: 12px;
|
|
1209
|
-
top: var(--size-12);
|
|
1210
|
-
}
|
|
1211
|
-
}
|
|
1212
|
-
.np-circular-btn .tw-icon > svg {
|
|
1213
|
-
margin: 0 auto;
|
|
1214
|
-
}
|
|
1215
|
-
.np-theme-personal .np-circular-btn {
|
|
1216
|
-
/* stylelint-disable-next-line no-duplicate-selectors */
|
|
1217
|
-
}
|
|
1218
|
-
.np-theme-personal .np-circular-btn .tw-icon,
|
|
1219
|
-
.np-theme-personal .np-circular-btn .tw-icon:hover,
|
|
1220
|
-
.np-theme-personal .np-circular-btn .tw-icon:active {
|
|
1221
|
-
color: var(--color-interactive-control);
|
|
1222
|
-
}
|
|
1223
|
-
.np-theme-personal .np-circular-btn.negative .tw-icon,
|
|
1224
|
-
.np-theme-personal .np-circular-btn.negative.secondary:not(.disabled):not(:disabled):hover .tw-icon,
|
|
1225
|
-
.np-theme-personal .np-circular-btn.negative.secondary:not(.disabled):not(:disabled):active .tw-icon {
|
|
1226
|
-
color: var(--color-contrast) !important;
|
|
1227
|
-
}
|
|
1228
|
-
.np-theme-personal .np-circular-btn.negative.secondary:not(.disabled):not(:disabled) .tw-icon {
|
|
1229
|
-
color: var(--color-sentiment-negative) !important;
|
|
1230
|
-
}
|
|
1231
|
-
.np-circular-btn.accent .np-circular-btn__label {
|
|
1232
|
-
color: #00a2dd;
|
|
1233
|
-
color: var(--color-interactive-accent);
|
|
1234
|
-
}
|
|
1235
|
-
.np-circular-btn.accent:not(.disabled):not(:disabled):hover .np-circular-btn__label {
|
|
1236
|
-
color: #008fc9;
|
|
1237
|
-
color: var(--color-interactive-accent-hover);
|
|
1238
|
-
}
|
|
1239
|
-
.np-circular-btn.accent:active .np-circular-btn__label,
|
|
1240
|
-
.np-circular-btn.accent input[type="button"]:active ~ .np-circular-btn__label {
|
|
1241
|
-
color: #0081ba;
|
|
1242
|
-
color: var(--color-interactive-accent-active);
|
|
1243
|
-
}
|
|
1244
|
-
.np-circular-btn.accent.secondary .tw-icon {
|
|
1245
|
-
color: #00a2dd;
|
|
1246
|
-
color: var(--color-interactive-accent);
|
|
1247
|
-
}
|
|
1248
|
-
.np-circular-btn.accent.secondary:not(.disabled):not(:disabled):hover .tw-icon,
|
|
1249
|
-
.np-circular-btn.accent.secondary input[type="button"]:active + .tw-icon {
|
|
1250
|
-
color: white;
|
|
1251
|
-
}
|
|
1252
|
-
.np-circular-btn.positive .np-circular-btn__label {
|
|
1253
|
-
color: #2ead4b;
|
|
1254
|
-
color: var(--color-interactive-positive);
|
|
1255
|
-
}
|
|
1256
|
-
.np-circular-btn.positive:not(.disabled):not(:disabled):hover .np-circular-btn__label {
|
|
1257
|
-
color: #069939;
|
|
1258
|
-
color: var(--color-interactive-positive-hover);
|
|
1259
|
-
}
|
|
1260
|
-
.np-circular-btn.positive:active .np-circular-btn__label,
|
|
1261
|
-
.np-circular-btn.positive input[type="button"]:active ~ .np-circular-btn__label {
|
|
1262
|
-
color: #008b2b;
|
|
1263
|
-
color: var(--color-interactive-positive-active);
|
|
1264
|
-
}
|
|
1265
|
-
.np-circular-btn.positive.secondary .tw-icon {
|
|
1266
|
-
color: #2ead4b;
|
|
1267
|
-
color: var(--color-interactive-positive);
|
|
1268
1188
|
}
|
|
1269
|
-
.np-circular-btn
|
|
1270
|
-
.np-circular-btn
|
|
1271
|
-
color: white;
|
|
1272
|
-
}
|
|
1273
|
-
.np-circular-btn.negative .np-circular-btn__label {
|
|
1274
|
-
color: #e74848;
|
|
1275
|
-
color: var(--color-interactive-negative);
|
|
1276
|
-
}
|
|
1277
|
-
.np-circular-btn.negative:not(.disabled):not(:disabled):hover .np-circular-btn__label {
|
|
1278
|
-
color: #d03238;
|
|
1279
|
-
color: var(--color-interactive-negative-hover);
|
|
1280
|
-
}
|
|
1281
|
-
.np-circular-btn.negative:active .np-circular-btn__label,
|
|
1282
|
-
.np-circular-btn.negative input[type="button"]:active ~ .np-circular-btn__label {
|
|
1283
|
-
color: #bf1e2c;
|
|
1284
|
-
color: var(--color-interactive-negative-active);
|
|
1285
|
-
}
|
|
1286
|
-
.np-circular-btn.negative.secondary .tw-icon {
|
|
1287
|
-
color: #e74848;
|
|
1288
|
-
color: var(--color-interactive-negative);
|
|
1289
|
-
}
|
|
1290
|
-
.np-circular-btn.negative.secondary:not(.disabled):not(:disabled):hover .tw-icon,
|
|
1291
|
-
.np-circular-btn.negative.secondary input[type="button"]:active + .tw-icon {
|
|
1292
|
-
color: white;
|
|
1293
|
-
}
|
|
1294
|
-
.np-theme-personal .np-circular-btn.accent .np-circular-btn__label {
|
|
1189
|
+
.np-circular-btn-primary-default .np-circular-btn-label,
|
|
1190
|
+
.np-circular-btn-secondary-default .np-circular-btn-label {
|
|
1295
1191
|
color: var(--color-interactive-primary);
|
|
1296
1192
|
}
|
|
1297
|
-
.np-
|
|
1193
|
+
.np-circular-btn-primary-default .np-circular-btn-label:not(.disabled):not(:disabled):hover,
|
|
1194
|
+
.np-circular-btn-secondary-default .np-circular-btn-label:not(.disabled):not(:disabled):hover {
|
|
1298
1195
|
color: var(--color-interactive-primary-hover);
|
|
1299
1196
|
}
|
|
1300
|
-
.np-
|
|
1301
|
-
.np-
|
|
1197
|
+
.np-circular-btn-primary-default .np-circular-btn-label:not(.disabled):not(:disabled):active,
|
|
1198
|
+
.np-circular-btn-secondary-default .np-circular-btn-label:not(.disabled):not(:disabled):active {
|
|
1302
1199
|
color: var(--color-interactive-primary-active);
|
|
1303
1200
|
}
|
|
1304
|
-
.np-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
.np-theme-personal .np-circular-btn.accent.secondary:not(.disabled):not(:disabled):hover .tw-icon,
|
|
1308
|
-
.np-theme-personal .np-circular-btn.accent.secondary input[type="button"]:active + .tw-icon {
|
|
1309
|
-
color: white;
|
|
1310
|
-
color: var(--color-interactive-control);
|
|
1311
|
-
}
|
|
1312
|
-
.np-theme-personal .np-circular-btn.accent.secondary:active input[type="button"] + .tw-icon {
|
|
1313
|
-
color: var(--color-interactive-control);
|
|
1314
|
-
}
|
|
1315
|
-
.np-theme-personal .np-circular-btn.positive .np-circular-btn__label {
|
|
1316
|
-
color: var(--color-interactive-primary);
|
|
1317
|
-
}
|
|
1318
|
-
.np-theme-personal .np-circular-btn.positive:not(.disabled):not(:disabled):hover .np-circular-btn__label {
|
|
1319
|
-
color: var(--color-interactive-primary-hover);
|
|
1320
|
-
}
|
|
1321
|
-
.np-theme-personal .np-circular-btn.positive:active .np-circular-btn__label,
|
|
1322
|
-
.np-theme-personal .np-circular-btn.positive input[type="button"]:active ~ .np-circular-btn__label {
|
|
1323
|
-
color: var(--color-interactive-primary-active);
|
|
1324
|
-
}
|
|
1325
|
-
.np-theme-personal .np-circular-btn.positive.secondary .tw-icon {
|
|
1326
|
-
color: var(--color-interactive-primary);
|
|
1327
|
-
}
|
|
1328
|
-
.np-theme-personal .np-circular-btn.positive.secondary:not(.disabled):not(:disabled):hover .tw-icon,
|
|
1329
|
-
.np-theme-personal .np-circular-btn.positive.secondary input[type="button"]:active + .tw-icon {
|
|
1330
|
-
color: white;
|
|
1331
|
-
color: var(--color-interactive-control);
|
|
1332
|
-
}
|
|
1333
|
-
.np-theme-personal .np-circular-btn.positive.secondary:active input[type="button"] + .tw-icon {
|
|
1334
|
-
color: var(--color-interactive-control);
|
|
1335
|
-
}
|
|
1336
|
-
.np-theme-personal .np-circular-btn.negative .np-circular-btn__label {
|
|
1337
|
-
color: var(--color-sentiment-negative);
|
|
1338
|
-
}
|
|
1339
|
-
.np-theme-personal .np-circular-btn.negative:not(.disabled):not(:disabled):hover .np-circular-btn__label {
|
|
1340
|
-
color: var(--color-sentiment-negative-hover);
|
|
1341
|
-
}
|
|
1342
|
-
.np-theme-personal .np-circular-btn.negative:active .np-circular-btn__label,
|
|
1343
|
-
.np-theme-personal .np-circular-btn.negative input[type="button"]:active ~ .np-circular-btn__label {
|
|
1344
|
-
color: var(--color-sentiment-negative-active);
|
|
1201
|
+
.np-circular-btn-primary-negative .np-circular-btn-label,
|
|
1202
|
+
.np-circular-btn-secondary-negative .np-circular-btn-label {
|
|
1203
|
+
color: var(--color-sentiment-negative-primary);
|
|
1345
1204
|
}
|
|
1346
|
-
.np-
|
|
1347
|
-
|
|
1205
|
+
.np-circular-btn-primary-negative .np-circular-btn-label:not(.disabled):not(:disabled):hover,
|
|
1206
|
+
.np-circular-btn-secondary-negative .np-circular-btn-label:not(.disabled):not(:disabled):hover {
|
|
1207
|
+
color: var(--color-sentiment-negative-primary-hover);
|
|
1348
1208
|
}
|
|
1349
|
-
.np-
|
|
1350
|
-
.np-
|
|
1351
|
-
color:
|
|
1352
|
-
color: var(--color-interactive-control);
|
|
1209
|
+
.np-circular-btn-primary-negative .np-circular-btn-label:not(.disabled):not(:disabled):active,
|
|
1210
|
+
.np-circular-btn-secondary-negative .np-circular-btn-label:not(.disabled):not(:disabled):active {
|
|
1211
|
+
color: var(--color-sentiment-negative-primary-active);
|
|
1353
1212
|
}
|
|
1354
|
-
.np-
|
|
1355
|
-
|
|
1213
|
+
.np-circular-btn-disabled {
|
|
1214
|
+
cursor: not-allowed;
|
|
1356
1215
|
}
|
|
1357
1216
|
.np-circle {
|
|
1358
1217
|
border-radius: 9999px;
|