@transferwise/components 0.0.0-experimental-102c421 → 0.0.0-experimental-151e673
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/ProcessIndicator/ProcessIndicator.js +1 -1
- package/build/ProcessIndicator/ProcessIndicator.js.map +1 -1
- package/build/ProcessIndicator/ProcessIndicator.mjs +1 -1
- package/build/ProcessIndicator/ProcessIndicator.mjs.map +1 -1
- package/build/SegmentedControl/SegmentedControl.js +9 -2
- package/build/SegmentedControl/SegmentedControl.js.map +1 -1
- package/build/SegmentedControl/SegmentedControl.mjs +9 -2
- package/build/SegmentedControl/SegmentedControl.mjs.map +1 -1
- package/build/main.css +54 -62
- package/build/styles/AvatarLayout/AvatarLayout.css +26 -9
- package/build/styles/AvatarView/AvatarView.css +0 -8
- package/build/styles/AvatarView/Dot/Dot.css +0 -8
- package/build/styles/CheckboxButton/CheckboxButton.css +0 -3
- package/build/styles/SegmentedControl/SegmentedControl.css +2 -1
- package/build/styles/SlidingPanel/SlidingPanel.css +0 -8
- package/build/styles/UploadInput/UploadItem/UploadItem.css +5 -4
- package/build/styles/_deprecated/Badge/Badge.css +2 -4
- package/build/styles/css/accordion.css +0 -3
- package/build/styles/css/buttons.css +7 -1
- package/build/styles/css/chevron.css +0 -3
- package/build/styles/css/neptune.css +19 -25
- package/build/styles/css/process.css +9 -15
- package/build/styles/css/tick.css +3 -6
- package/build/styles/main.css +54 -62
- package/build/styles/styles/less/accordion.css +0 -3
- package/build/styles/styles/less/buttons.css +7 -1
- package/build/styles/styles/less/chevron.css +0 -3
- package/build/styles/styles/less/neptune.css +19 -25
- package/build/styles/styles/less/process.css +9 -15
- package/build/styles/styles/less/tick.css +3 -6
- package/build/types/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/AvatarLayout/AvatarLayout.css +26 -9
- package/src/AvatarLayout/AvatarLayout.less +46 -22
- package/src/AvatarLayout/_stories/AvatarLayout.test.story.tsx +17 -42
- package/src/AvatarView/AvatarView.css +0 -8
- package/src/AvatarView/Dot/Dot.css +0 -8
- package/src/AvatarView/Dot/Dot.less +1 -7
- package/src/Button/_stories/Button.test.story.tsx +1 -1
- package/src/Checkbox/_stories/Checkbox.story.tsx +1 -1
- package/src/Checkbox/_stories/Checkbox.test.story.tsx +2 -3
- package/src/CheckboxButton/CheckboxButton.css +0 -3
- package/src/CheckboxButton/CheckboxButton.less +0 -4
- package/src/Chevron/_stories/Chevron.test.story.tsx +2 -2
- package/src/Field/_stories/Field.test.story.tsx +48 -37
- package/src/FlowNavigation/_stories/FlowNavigation.rtl.test.story.tsx +78 -0
- package/src/FlowNavigation/_stories/FlowNavigation.test.story.tsx +0 -44
- package/src/Header/_stories/Header.test.story.tsx +1 -1
- package/src/Info/_stories/Info.rtl.test.story.tsx +10 -35
- package/src/Info/_stories/Info.story.tsx +1 -1
- package/src/Inputs/SelectInput/_stories/SelectInput.test.story.tsx +1 -1
- package/src/Label/_stories/Label.test.story.tsx +35 -22
- package/src/ListItem/_stories/subcomponents.tsx +1 -1
- package/src/MoneyInput/_stories/MoneyInput.rtl.test.story.tsx +1 -1
- package/src/Nudge/_stories/Nudge.test.story.tsx +12 -29
- package/src/PhoneNumberInput/_stories/{PhoneNumberInput.rtl.test.story.tsx → PhoneNumberInput.test.story.tsx} +10 -18
- package/src/Popover/_stories/Popover.rtl.test.story.tsx +40 -50
- package/src/ProcessIndicator/ProcessIndicator.tsx +1 -1
- package/src/ProgressBar/_stories/ProgressBar.test.story.tsx +19 -33
- package/src/SegmentedControl/SegmentedControl.css +2 -1
- package/src/SegmentedControl/SegmentedControl.less +4 -2
- package/src/SegmentedControl/SegmentedControl.tsx +8 -2
- package/src/SegmentedControl/_stories/SegmentedControl.test.story.tsx +16 -8
- package/src/SlidingPanel/SlidingPanel.css +0 -8
- package/src/SlidingPanel/SlidingPanel.less +0 -6
- package/src/SlidingPanel/_stories/SlidingPanel.rtl.test.story.tsx +3 -4
- package/src/Snackbar/_stories/Snackbar.rtl.test.story.tsx +16 -14
- package/src/Snackbar/_stories/Snackbar.story.tsx +1 -1
- package/src/Snackbar/_stories/Snackbar.test.story.tsx +1 -1
- package/src/StatusIcon/_stories/StatusIcon.test.story.tsx +4 -12
- package/src/UploadInput/UploadItem/UploadItem.css +5 -4
- package/src/UploadInput/UploadItem/UploadItem.less +6 -7
- package/src/UploadInput/_stories/UploadInput.test.story.tsx +1 -1
- package/src/_deprecated/Badge/Badge.css +2 -4
- package/src/_deprecated/Badge/Badge.less +14 -7
- package/src/_deprecated/CriticalBanner/_stories/CriticalCommsBanner.test.story.tsx +16 -0
- package/src/_deprecated/OverlayHeader/_stories/OverlayHeader.test.story.tsx +0 -15
- package/src/main.css +54 -62
- package/src/styles/less/accordion.css +0 -3
- package/src/styles/less/buttons.css +7 -1
- package/src/styles/less/buttons.less +11 -3
- package/src/styles/less/chevron.css +0 -3
- package/src/styles/less/chevron.less +0 -4
- package/src/styles/less/neptune.css +19 -25
- package/src/styles/less/process.css +9 -15
- package/src/styles/less/process.less +6 -13
- package/src/styles/less/tick.css +3 -6
- package/src/styles/less/tick.less +3 -7
- package/src/Loader/_stories/Loader.test.story.tsx +0 -23
- package/src/ProcessIndicator/_stories/ProcessIndicator.test.story.tsx +0 -32
package/src/main.css
CHANGED
|
@@ -5942,9 +5942,6 @@ tbody.collapse.in {
|
|
|
5942
5942
|
.tw-chevron.top {
|
|
5943
5943
|
transform: rotate(0deg);
|
|
5944
5944
|
}
|
|
5945
|
-
[dir="rtl"] .tw-chevron.top {
|
|
5946
|
-
transform: rotate(360deg);
|
|
5947
|
-
}
|
|
5948
5945
|
.tw-chevron.right {
|
|
5949
5946
|
transform: rotate(90deg);
|
|
5950
5947
|
}
|
|
@@ -8088,11 +8085,17 @@ input[type="button"].btn-block {
|
|
|
8088
8085
|
display: inline-flex;
|
|
8089
8086
|
align-items: center;
|
|
8090
8087
|
}
|
|
8091
|
-
.btn-loading:not(.btn-block) .btn-loader
|
|
8088
|
+
.btn-loading:not(.btn-block) .btn-loader {
|
|
8092
8089
|
margin-block-end: 0;
|
|
8090
|
+
}
|
|
8091
|
+
:not([dir="rtl"]) .btn-loading:not(.btn-block) .btn-loader {
|
|
8093
8092
|
margin-inline-start: 16px;
|
|
8094
8093
|
margin-inline-end: 0;
|
|
8095
8094
|
}
|
|
8095
|
+
[dir="rtl"] .btn-loading:not(.btn-block) .btn-loader {
|
|
8096
|
+
margin-inline-start: 0 !important;
|
|
8097
|
+
margin-inline-end: 16px !important;
|
|
8098
|
+
}
|
|
8096
8099
|
.btn-loading.btn-block .btn-loader {
|
|
8097
8100
|
inset-block-start: 0;
|
|
8098
8101
|
inset-block-end: 0;
|
|
@@ -17549,9 +17552,6 @@ button.popover-close {
|
|
|
17549
17552
|
inset-inline-start: 25%;
|
|
17550
17553
|
inset-block-start: 25%;
|
|
17551
17554
|
}
|
|
17552
|
-
[dir="rtl"] .process-icon-container {
|
|
17553
|
-
transform: rotate(45deg) scaleX(-1);
|
|
17554
|
-
}
|
|
17555
17555
|
.process-icon-horizontal,
|
|
17556
17556
|
.process-icon-vertical {
|
|
17557
17557
|
position: absolute;
|
|
@@ -17631,37 +17631,37 @@ button.popover-close {
|
|
|
17631
17631
|
.process-stopped .process-icon-container {
|
|
17632
17632
|
display: none;
|
|
17633
17633
|
}
|
|
17634
|
-
.process-
|
|
17634
|
+
.process-xs {
|
|
17635
17635
|
inline-size: 12px;
|
|
17636
17636
|
block-size: 12px;
|
|
17637
17637
|
}
|
|
17638
|
-
.process-
|
|
17638
|
+
.process-xs .process-circle {
|
|
17639
17639
|
/* Hide before animation to prevent glitching */
|
|
17640
17640
|
stroke-dashoffset: 31.41592654px;
|
|
17641
17641
|
stroke-dasharray: 31.41592654px;
|
|
17642
17642
|
stroke-width: 1.5px;
|
|
17643
17643
|
}
|
|
17644
|
-
.process-
|
|
17644
|
+
.process-xs.process-danger .process-icon-horizontal {
|
|
17645
17645
|
inset-block-start: 2.5px;
|
|
17646
17646
|
block-size: 1px;
|
|
17647
17647
|
}
|
|
17648
|
-
.process-
|
|
17648
|
+
.process-xs.process-danger .process-icon-vertical {
|
|
17649
17649
|
inset-inline-start: 2.5px;
|
|
17650
17650
|
inline-size: 1px;
|
|
17651
17651
|
}
|
|
17652
|
-
.process-
|
|
17653
|
-
.process-
|
|
17652
|
+
.process-xs .process-icon-horizontal,
|
|
17653
|
+
.process-xs .process-icon-vertical {
|
|
17654
17654
|
border-radius: 0.5px;
|
|
17655
17655
|
}
|
|
17656
|
-
.process-
|
|
17656
|
+
.process-xs.process-success .process-icon-container {
|
|
17657
17657
|
inline-size: 2.5px;
|
|
17658
17658
|
block-size: 5px;
|
|
17659
17659
|
inset-inline-start: 4.5px;
|
|
17660
17660
|
}
|
|
17661
|
-
.process-
|
|
17661
|
+
.process-xs.process-success .process-icon-horizontal {
|
|
17662
17662
|
block-size: 1px;
|
|
17663
17663
|
}
|
|
17664
|
-
.process-
|
|
17664
|
+
.process-xs.process-success .process-icon-vertical {
|
|
17665
17665
|
inline-size: 1px;
|
|
17666
17666
|
}
|
|
17667
17667
|
.process-xs {
|
|
@@ -17763,9 +17763,6 @@ button.popover-close {
|
|
|
17763
17763
|
.process-xl.process-success .process-icon-vertical {
|
|
17764
17764
|
inline-size: 8px;
|
|
17765
17765
|
}
|
|
17766
|
-
.process-xxs .process-icon-container {
|
|
17767
|
-
display: none;
|
|
17768
|
-
}
|
|
17769
17766
|
.process-xxs .process-circle {
|
|
17770
17767
|
animation-name: process-chase-circle-xxs;
|
|
17771
17768
|
}
|
|
@@ -19406,13 +19403,10 @@ a[data-toggle="tooltip"] {
|
|
|
19406
19403
|
position: absolute;
|
|
19407
19404
|
background: #ffffff;
|
|
19408
19405
|
background: var(--color-background-screen);
|
|
19409
|
-
transform: translateX(
|
|
19406
|
+
transform: translateX(0.5px) rotate(-45deg);
|
|
19410
19407
|
transform-origin: left bottom;
|
|
19411
|
-
|
|
19412
|
-
|
|
19413
|
-
[dir="rtl"] .tw-checkbox-check::after {
|
|
19414
|
-
transform: translateX(-1.5px) rotate(-45deg) scaleX(-1);
|
|
19415
|
-
transform-origin: right bottom;
|
|
19408
|
+
inset-inline-start: 8px;
|
|
19409
|
+
inset-inline-start: var(--size-8);
|
|
19416
19410
|
}
|
|
19417
19411
|
.tw-checkbox-check .has-error::before,
|
|
19418
19412
|
.tw-checkbox-check .has-error::after {
|
|
@@ -20311,18 +20305,10 @@ a[data-toggle="tooltip"] {
|
|
|
20311
20305
|
display: inline-block;
|
|
20312
20306
|
}
|
|
20313
20307
|
.np-dot-mask {
|
|
20314
|
-
--np-dot-h-side: left;
|
|
20315
20308
|
-webkit-mask-image: radial-gradient(circle at bottom calc(100% - (var(--np-dot-size) / 2)) left calc(100% - (var(--np-dot-size) / 2)), transparent 0, transparent calc(var(--np-dot-size) / 2 + var(--np-dot-offset)), black calc(var(--np-dot-size) / 2 + var(--np-dot-offset) + 0.5px));
|
|
20316
20309
|
mask-image: radial-gradient(circle at bottom calc(100% - (var(--np-dot-size) / 2)) left calc(100% - (var(--np-dot-size) / 2)), transparent 0, transparent calc(var(--np-dot-size) / 2 + var(--np-dot-offset)), black calc(var(--np-dot-size) / 2 + var(--np-dot-offset) + 0.5px));
|
|
20317
|
-
-webkit-mask-image: radial-gradient(circle at bottom calc(100% - (var(--np-dot-size) / 2)) var(--np-dot-h-side) calc(100% - (var(--np-dot-size) / 2)), transparent 0, transparent calc(var(--np-dot-size) / 2 + var(--np-dot-offset)), black calc(var(--np-dot-size) / 2 + var(--np-dot-offset) + 0.5px));
|
|
20318
|
-
mask-image: radial-gradient(circle at bottom calc(100% - (var(--np-dot-size) / 2)) var(--np-dot-h-side) calc(100% - (var(--np-dot-size) / 2)), transparent 0, transparent calc(var(--np-dot-size) / 2 + var(--np-dot-offset)), black calc(var(--np-dot-size) / 2 + var(--np-dot-offset) + 0.5px));
|
|
20319
20310
|
-webkit-mask-image: radial-gradient(circle at bottom calc(100% - calc(var(--np-dot-size) / 2)) left calc(100% - calc(var(--np-dot-size) / 2)), transparent 0, transparent calc(var(--np-dot-size) / 2 + var(--np-dot-offset)), black calc(var(--np-dot-size) / 2 + var(--np-dot-offset) + 0.5px));
|
|
20320
20311
|
mask-image: radial-gradient(circle at bottom calc(100% - calc(var(--np-dot-size) / 2)) left calc(100% - calc(var(--np-dot-size) / 2)), transparent 0, transparent calc(var(--np-dot-size) / 2 + var(--np-dot-offset)), black calc(var(--np-dot-size) / 2 + var(--np-dot-offset) + 0.5px));
|
|
20321
|
-
-webkit-mask-image: radial-gradient(circle at bottom calc(100% - calc(var(--np-dot-size) / 2)) var(--np-dot-h-side) calc(100% - calc(var(--np-dot-size) / 2)), transparent 0, transparent calc(var(--np-dot-size) / 2 + var(--np-dot-offset)), black calc(var(--np-dot-size) / 2 + var(--np-dot-offset) + 0.5px));
|
|
20322
|
-
mask-image: radial-gradient(circle at bottom calc(100% - calc(var(--np-dot-size) / 2)) var(--np-dot-h-side) calc(100% - calc(var(--np-dot-size) / 2)), transparent 0, transparent calc(var(--np-dot-size) / 2 + var(--np-dot-offset)), black calc(var(--np-dot-size) / 2 + var(--np-dot-offset) + 0.5px));
|
|
20323
|
-
}
|
|
20324
|
-
[dir="rtl"] .np-dot-mask {
|
|
20325
|
-
--np-dot-h-side: right;
|
|
20326
20312
|
}
|
|
20327
20313
|
.np-dot-badge {
|
|
20328
20314
|
position: absolute;
|
|
@@ -20368,36 +20354,53 @@ a[data-toggle="tooltip"] {
|
|
|
20368
20354
|
block-size: var(--np-avatar-layout-size);
|
|
20369
20355
|
}
|
|
20370
20356
|
.np-avatar-layout-diagonal-mask {
|
|
20357
|
+
--np-avatar-layout-mask-direction: right;
|
|
20371
20358
|
-webkit-mask-image: radial-gradient(circle at bottom calc(100% - var(--np-avatar-size) - var(--np-avatar-offset)) right calc(100% - var(--np-avatar-size) - var(--np-avatar-offset)), transparent 0, transparent calc(var(--np-avatar-size) / 2 + 2px), black 0);
|
|
20372
20359
|
mask-image: radial-gradient(circle at bottom calc(100% - var(--np-avatar-size) - var(--np-avatar-offset)) right calc(100% - var(--np-avatar-size) - var(--np-avatar-offset)), transparent 0, transparent calc(var(--np-avatar-size) / 2 + 2px), black 0);
|
|
20360
|
+
-webkit-mask-image: radial-gradient(circle at bottom calc(100% - var(--np-avatar-size) - var(--np-avatar-offset)) var(--np-avatar-layout-mask-direction) calc(100% - var(--np-avatar-size) - var(--np-avatar-offset)), transparent 0, transparent calc(var(--np-avatar-size) / 2 + 2px), black 0);
|
|
20361
|
+
mask-image: radial-gradient(circle at bottom calc(100% - var(--np-avatar-size) - var(--np-avatar-offset)) var(--np-avatar-layout-mask-direction) calc(100% - var(--np-avatar-size) - var(--np-avatar-offset)), transparent 0, transparent calc(var(--np-avatar-size) / 2 + 2px), black 0);
|
|
20373
20362
|
}
|
|
20374
20363
|
[dir="rtl"] .np-avatar-layout-diagonal-mask {
|
|
20375
|
-
|
|
20376
|
-
|
|
20364
|
+
--np-avatar-layout-mask-direction: left;
|
|
20365
|
+
margin-inline-start: calc(var(--np-avatar-layout-size) - var(--np-avatar-size) * 2);
|
|
20366
|
+
margin-inline-end: unset;
|
|
20377
20367
|
}
|
|
20378
20368
|
.np-avatar-layout-diagonal-child {
|
|
20379
20369
|
margin-inline-start: calc(var(--np-avatar-layout-size) - var(--np-avatar-size) * 2);
|
|
20380
20370
|
margin-block-start: calc(var(--np-avatar-layout-size) - var(--np-avatar-size));
|
|
20381
20371
|
}
|
|
20382
20372
|
[dir="rtl"] .np-avatar-layout-diagonal-child {
|
|
20383
|
-
|
|
20384
|
-
|
|
20373
|
+
-webkit-mask-image: initial;
|
|
20374
|
+
mask-image: initial;
|
|
20385
20375
|
}
|
|
20386
20376
|
.np-avatar-layout-horizontal {
|
|
20377
|
+
--np-avatar-layout-mask-direction: left;
|
|
20387
20378
|
inline-size: calc(var(--np-avatar-size) * var(--np-avatar-avatars-count) - (var(--np-avatar-offset) * (var(--np-avatar-avatars-count) - 1)));
|
|
20388
20379
|
inline-size: calc(var(--np-avatar-size) * var(--np-avatar-avatars-count) - calc(var(--np-avatar-offset) * calc(var(--np-avatar-avatars-count) - 1)));
|
|
20389
20380
|
block-size: var(--np-avatar-layout-size);
|
|
20390
20381
|
}
|
|
20391
|
-
.np-avatar-layout-horizontal
|
|
20392
|
-
|
|
20393
|
-
|
|
20394
|
-
|
|
20395
|
-
|
|
20382
|
+
[dir="rtl"] .np-avatar-layout-horizontal {
|
|
20383
|
+
--np-avatar-layout-mask-direction: right;
|
|
20384
|
+
}
|
|
20385
|
+
.np-avatar-layout-horizontal-mask,
|
|
20386
|
+
[dir="rtl"] .np-avatar-layout-horizontal-child {
|
|
20387
|
+
-webkit-mask-image: radial-gradient(circle at top calc(100% - (var(--np-avatar-size) / 2)) var(--np-avatar-layout-mask-direction) calc(100% + (var(--np-avatar-size) / 2) - var(--np-avatar-offset)), transparent, transparent calc(var(--np-avatar-size) / 2 + 2px), black 0);
|
|
20388
|
+
mask-image: radial-gradient(circle at top calc(100% - (var(--np-avatar-size) / 2)) var(--np-avatar-layout-mask-direction) calc(100% + (var(--np-avatar-size) / 2) - var(--np-avatar-offset)), transparent, transparent calc(var(--np-avatar-size) / 2 + 2px), black 0);
|
|
20389
|
+
-webkit-mask-image: radial-gradient(circle at top calc(100% - calc(var(--np-avatar-size) / 2)) var(--np-avatar-layout-mask-direction) calc(100% + calc(var(--np-avatar-size) / 2) - var(--np-avatar-offset)), transparent, transparent calc(var(--np-avatar-size) / 2 + 2px), black 0);
|
|
20390
|
+
mask-image: radial-gradient(circle at top calc(100% - calc(var(--np-avatar-size) / 2)) var(--np-avatar-layout-mask-direction) calc(100% + calc(var(--np-avatar-size) / 2) - var(--np-avatar-offset)), transparent, transparent calc(var(--np-avatar-size) / 2 + 2px), black 0);
|
|
20391
|
+
}
|
|
20392
|
+
[dir="rtl"] .np-avatar-layout-horizontal-mask {
|
|
20393
|
+
margin-inline-end: calc(var(--np-avatar-offset) * -1);
|
|
20394
|
+
}
|
|
20395
|
+
[dir="rtl"] .np-avatar-layout-horizontal-mask:last-child {
|
|
20396
|
+
-webkit-mask-image: initial;
|
|
20397
|
+
mask-image: initial;
|
|
20396
20398
|
}
|
|
20397
20399
|
.np-avatar-layout-horizontal-child {
|
|
20398
20400
|
margin-inline-start: calc(var(--np-avatar-offset) * -1);
|
|
20399
20401
|
}
|
|
20400
20402
|
[dir="rtl"] .np-avatar-layout-horizontal-child {
|
|
20403
|
+
margin-inline-start: unset;
|
|
20401
20404
|
margin-inline-end: calc(var(--np-avatar-offset) * -1);
|
|
20402
20405
|
}
|
|
20403
20406
|
.np-icon-button {
|
|
@@ -20499,14 +20502,12 @@ a[data-toggle="tooltip"] {
|
|
|
20499
20502
|
--badge-border-color: rgba(0, 0, 0, 0.08);
|
|
20500
20503
|
}
|
|
20501
20504
|
.tw-badge > .tw-badge__children {
|
|
20502
|
-
--badge-h-side: left;
|
|
20503
20505
|
-webkit-mask-image: radial-gradient(circle at top calc(100% - var(--badge-mask-offset) - var(--badge-content-position)) left calc(100% - var(--badge-mask-offset) - var(--badge-content-position)), transparent 0, transparent calc(var(--badge-size) / 2 + var(--badge-mask)), black calc(var(--badge-size) / 2 + var(--badge-mask) + 0.5px));
|
|
20504
20506
|
mask-image: radial-gradient(circle at top calc(100% - var(--badge-mask-offset) - var(--badge-content-position)) left calc(100% - var(--badge-mask-offset) - var(--badge-content-position)), transparent 0, transparent calc(var(--badge-size) / 2 + var(--badge-mask)), black calc(var(--badge-size) / 2 + var(--badge-mask) + 0.5px));
|
|
20505
|
-
-webkit-mask-image: radial-gradient(circle at top calc(100% - var(--badge-mask-offset) - var(--badge-content-position)) var(--badge-h-side) calc(100% - var(--badge-mask-offset) - var(--badge-content-position)), transparent 0, transparent calc(var(--badge-size) / 2 + var(--badge-mask)), black calc(var(--badge-size) / 2 + var(--badge-mask) + 0.5px));
|
|
20506
|
-
mask-image: radial-gradient(circle at top calc(100% - var(--badge-mask-offset) - var(--badge-content-position)) var(--badge-h-side) calc(100% - var(--badge-mask-offset) - var(--badge-content-position)), transparent 0, transparent calc(var(--badge-size) / 2 + var(--badge-mask)), black calc(var(--badge-size) / 2 + var(--badge-mask) + 0.5px));
|
|
20507
20507
|
}
|
|
20508
20508
|
[dir="rtl"] .tw-badge > .tw-badge__children {
|
|
20509
|
-
--badge-
|
|
20509
|
+
-webkit-mask-image: radial-gradient(circle at top calc(100% - var(--badge-mask-offset)) right calc(100% - var(--badge-mask-offset)), transparent 0, transparent calc(var(--badge-size) / 2 + var(--badge-mask)), black calc(var(--badge-size) / 2 + var(--badge-mask) + 0.5px));
|
|
20510
|
+
mask-image: radial-gradient(circle at top calc(100% - var(--badge-mask-offset)) right calc(100% - var(--badge-mask-offset)), transparent 0, transparent calc(var(--badge-size) / 2 + var(--badge-mask)), black calc(var(--badge-size) / 2 + var(--badge-mask) + 0.5px));
|
|
20510
20511
|
}
|
|
20511
20512
|
.tw-badge > .tw-badge__content {
|
|
20512
20513
|
position: absolute;
|
|
@@ -21254,9 +21255,6 @@ a[data-toggle="tooltip"] {
|
|
|
21254
21255
|
background: var(--color-background-screen);
|
|
21255
21256
|
transform: translate(-50%, -50%);
|
|
21256
21257
|
}
|
|
21257
|
-
[dir="rtl"] .np-tw-checkbox-indeterminate::after {
|
|
21258
|
-
transform: translate(50%, -50%);
|
|
21259
|
-
}
|
|
21260
21258
|
.np-tw-checkbox-indeterminate .has-error::after {
|
|
21261
21259
|
background-color: #e74848;
|
|
21262
21260
|
background-color: var(--color-interactive-negative);
|
|
@@ -25267,10 +25265,6 @@ button.np-link {
|
|
|
25267
25265
|
box-shadow: inset 1px 0 0 0 rgba(0,0,0,0.10196);
|
|
25268
25266
|
box-shadow: inset 1px 0 0 0 var(--color-border-neutral);
|
|
25269
25267
|
}
|
|
25270
|
-
[dir="rtl"] .np-theme-personal .sliding-panel.sliding-panel--border-right {
|
|
25271
|
-
box-shadow: inset -1px 0 0 0 rgba(0,0,0,0.10196);
|
|
25272
|
-
box-shadow: inset -1px 0 0 0 var(--color-border-neutral);
|
|
25273
|
-
}
|
|
25274
25268
|
.np-theme-personal .sliding-panel.sliding-panel--border-bottom {
|
|
25275
25269
|
box-shadow: inset 0 1px 0 0 rgba(0,0,0,0.10196);
|
|
25276
25270
|
box-shadow: inset 0 1px 0 0 var(--color-border-neutral);
|
|
@@ -25279,10 +25273,6 @@ button.np-link {
|
|
|
25279
25273
|
box-shadow: inset -1px 0 0 0 rgba(0,0,0,0.10196);
|
|
25280
25274
|
box-shadow: inset -1px 0 0 0 var(--color-border-neutral);
|
|
25281
25275
|
}
|
|
25282
|
-
[dir="rtl"] .np-theme-personal .sliding-panel.sliding-panel--border-left {
|
|
25283
|
-
box-shadow: inset 1px 0 0 0 rgba(0,0,0,0.10196);
|
|
25284
|
-
box-shadow: inset 1px 0 0 0 var(--color-border-neutral);
|
|
25285
|
-
}
|
|
25286
25276
|
.snackbar {
|
|
25287
25277
|
text-align: center;
|
|
25288
25278
|
position: fixed;
|
|
@@ -25836,7 +25826,8 @@ button.np-link {
|
|
|
25836
25826
|
background: var(--color-background-screen);
|
|
25837
25827
|
border-radius: 24px;
|
|
25838
25828
|
border-radius: var(--size-24);
|
|
25839
|
-
transition: left 300ms
|
|
25829
|
+
transition: left 300ms,
|
|
25830
|
+
right 300ms;
|
|
25840
25831
|
}
|
|
25841
25832
|
.segmented-control__segments--no-animate::after {
|
|
25842
25833
|
transition: none !important;
|
|
@@ -26964,7 +26955,8 @@ button.np-link {
|
|
|
26964
26955
|
.np-upload-input__item .np-upload-input__title,
|
|
26965
26956
|
.np-upload-input__item .np-upload-input__text {
|
|
26966
26957
|
margin: 0;
|
|
26967
|
-
text-align:
|
|
26958
|
+
-moz-text-align-last: left;
|
|
26959
|
+
text-align-last: left;
|
|
26968
26960
|
color: #5d7079;
|
|
26969
26961
|
color: var(--color-content-secondary);
|
|
26970
26962
|
}
|
|
@@ -27020,7 +27012,7 @@ button.np-link {
|
|
|
27020
27012
|
justify-content: center;
|
|
27021
27013
|
}
|
|
27022
27014
|
.np-upload-input__item .np-upload-input__item-action .np-upload-input__item-button:before {
|
|
27023
|
-
content:
|
|
27015
|
+
content: '';
|
|
27024
27016
|
display: block;
|
|
27025
27017
|
inline-size: var(--clickAreaSize);
|
|
27026
27018
|
block-size: var(--clickAreaSize);
|
|
@@ -27075,8 +27067,8 @@ button.np-link {
|
|
|
27075
27067
|
padding-inline-start: var(--size-16);
|
|
27076
27068
|
}
|
|
27077
27069
|
.np-upload-input__item .np-upload-input-errors > li::before {
|
|
27078
|
-
content:
|
|
27079
|
-
content:
|
|
27070
|
+
content: '•' ;
|
|
27071
|
+
content: '•' / '';
|
|
27080
27072
|
position: absolute;
|
|
27081
27073
|
display: block;
|
|
27082
27074
|
inset-inline-start: 0;
|
|
@@ -1277,11 +1277,17 @@ input[type="button"].btn-block {
|
|
|
1277
1277
|
display: inline-flex;
|
|
1278
1278
|
align-items: center;
|
|
1279
1279
|
}
|
|
1280
|
-
.btn-loading:not(.btn-block) .btn-loader
|
|
1280
|
+
.btn-loading:not(.btn-block) .btn-loader {
|
|
1281
1281
|
margin-block-end: 0;
|
|
1282
|
+
}
|
|
1283
|
+
:not([dir="rtl"]) .btn-loading:not(.btn-block) .btn-loader {
|
|
1282
1284
|
margin-inline-start: 16px;
|
|
1283
1285
|
margin-inline-end: 0;
|
|
1284
1286
|
}
|
|
1287
|
+
[dir="rtl"] .btn-loading:not(.btn-block) .btn-loader {
|
|
1288
|
+
margin-inline-start: 0 !important;
|
|
1289
|
+
margin-inline-end: 16px !important;
|
|
1290
|
+
}
|
|
1285
1291
|
.btn-loading.btn-block .btn-loader {
|
|
1286
1292
|
inset-block-start: 0;
|
|
1287
1293
|
inset-block-end: 0;
|
|
@@ -647,10 +647,18 @@ input[type="button"] {
|
|
|
647
647
|
display: inline-flex;
|
|
648
648
|
align-items: center;
|
|
649
649
|
|
|
650
|
-
.btn-loader
|
|
650
|
+
.btn-loader {
|
|
651
651
|
margin-bottom: 0;
|
|
652
|
-
|
|
653
|
-
|
|
652
|
+
|
|
653
|
+
:not([dir="rtl"]) & {
|
|
654
|
+
margin-left: 16px;
|
|
655
|
+
margin-right: 0;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
[dir="rtl"] & {
|
|
659
|
+
margin-left: 0 !important;
|
|
660
|
+
margin-right: 16px !important;
|
|
661
|
+
}
|
|
654
662
|
}
|
|
655
663
|
}
|
|
656
664
|
|
|
@@ -5350,9 +5350,6 @@ tbody.collapse.in {
|
|
|
5350
5350
|
.tw-chevron.top {
|
|
5351
5351
|
transform: rotate(0deg);
|
|
5352
5352
|
}
|
|
5353
|
-
[dir="rtl"] .tw-chevron.top {
|
|
5354
|
-
transform: rotate(360deg);
|
|
5355
|
-
}
|
|
5356
5353
|
.tw-chevron.right {
|
|
5357
5354
|
transform: rotate(90deg);
|
|
5358
5355
|
}
|
|
@@ -7496,11 +7493,17 @@ input[type="button"].btn-block {
|
|
|
7496
7493
|
display: inline-flex;
|
|
7497
7494
|
align-items: center;
|
|
7498
7495
|
}
|
|
7499
|
-
.btn-loading:not(.btn-block) .btn-loader
|
|
7496
|
+
.btn-loading:not(.btn-block) .btn-loader {
|
|
7500
7497
|
margin-block-end: 0;
|
|
7498
|
+
}
|
|
7499
|
+
:not([dir="rtl"]) .btn-loading:not(.btn-block) .btn-loader {
|
|
7501
7500
|
margin-inline-start: 16px;
|
|
7502
7501
|
margin-inline-end: 0;
|
|
7503
7502
|
}
|
|
7503
|
+
[dir="rtl"] .btn-loading:not(.btn-block) .btn-loader {
|
|
7504
|
+
margin-inline-start: 0 !important;
|
|
7505
|
+
margin-inline-end: 16px !important;
|
|
7506
|
+
}
|
|
7504
7507
|
.btn-loading.btn-block .btn-loader {
|
|
7505
7508
|
inset-block-start: 0;
|
|
7506
7509
|
inset-block-end: 0;
|
|
@@ -16957,9 +16960,6 @@ button.popover-close {
|
|
|
16957
16960
|
inset-inline-start: 25%;
|
|
16958
16961
|
inset-block-start: 25%;
|
|
16959
16962
|
}
|
|
16960
|
-
[dir="rtl"] .process-icon-container {
|
|
16961
|
-
transform: rotate(45deg) scaleX(-1);
|
|
16962
|
-
}
|
|
16963
16963
|
.process-icon-horizontal,
|
|
16964
16964
|
.process-icon-vertical {
|
|
16965
16965
|
position: absolute;
|
|
@@ -17039,37 +17039,37 @@ button.popover-close {
|
|
|
17039
17039
|
.process-stopped .process-icon-container {
|
|
17040
17040
|
display: none;
|
|
17041
17041
|
}
|
|
17042
|
-
.process-
|
|
17042
|
+
.process-xs {
|
|
17043
17043
|
inline-size: 12px;
|
|
17044
17044
|
block-size: 12px;
|
|
17045
17045
|
}
|
|
17046
|
-
.process-
|
|
17046
|
+
.process-xs .process-circle {
|
|
17047
17047
|
/* Hide before animation to prevent glitching */
|
|
17048
17048
|
stroke-dashoffset: 31.41592654px;
|
|
17049
17049
|
stroke-dasharray: 31.41592654px;
|
|
17050
17050
|
stroke-width: 1.5px;
|
|
17051
17051
|
}
|
|
17052
|
-
.process-
|
|
17052
|
+
.process-xs.process-danger .process-icon-horizontal {
|
|
17053
17053
|
inset-block-start: 2.5px;
|
|
17054
17054
|
block-size: 1px;
|
|
17055
17055
|
}
|
|
17056
|
-
.process-
|
|
17056
|
+
.process-xs.process-danger .process-icon-vertical {
|
|
17057
17057
|
inset-inline-start: 2.5px;
|
|
17058
17058
|
inline-size: 1px;
|
|
17059
17059
|
}
|
|
17060
|
-
.process-
|
|
17061
|
-
.process-
|
|
17060
|
+
.process-xs .process-icon-horizontal,
|
|
17061
|
+
.process-xs .process-icon-vertical {
|
|
17062
17062
|
border-radius: 0.5px;
|
|
17063
17063
|
}
|
|
17064
|
-
.process-
|
|
17064
|
+
.process-xs.process-success .process-icon-container {
|
|
17065
17065
|
inline-size: 2.5px;
|
|
17066
17066
|
block-size: 5px;
|
|
17067
17067
|
inset-inline-start: 4.5px;
|
|
17068
17068
|
}
|
|
17069
|
-
.process-
|
|
17069
|
+
.process-xs.process-success .process-icon-horizontal {
|
|
17070
17070
|
block-size: 1px;
|
|
17071
17071
|
}
|
|
17072
|
-
.process-
|
|
17072
|
+
.process-xs.process-success .process-icon-vertical {
|
|
17073
17073
|
inline-size: 1px;
|
|
17074
17074
|
}
|
|
17075
17075
|
.process-xs {
|
|
@@ -17171,9 +17171,6 @@ button.popover-close {
|
|
|
17171
17171
|
.process-xl.process-success .process-icon-vertical {
|
|
17172
17172
|
inline-size: 8px;
|
|
17173
17173
|
}
|
|
17174
|
-
.process-xxs .process-icon-container {
|
|
17175
|
-
display: none;
|
|
17176
|
-
}
|
|
17177
17174
|
.process-xxs .process-circle {
|
|
17178
17175
|
animation-name: process-chase-circle-xxs;
|
|
17179
17176
|
}
|
|
@@ -18814,13 +18811,10 @@ a[data-toggle="tooltip"] {
|
|
|
18814
18811
|
position: absolute;
|
|
18815
18812
|
background: #ffffff;
|
|
18816
18813
|
background: var(--color-background-screen);
|
|
18817
|
-
transform: translateX(
|
|
18814
|
+
transform: translateX(0.5px) rotate(-45deg);
|
|
18818
18815
|
transform-origin: left bottom;
|
|
18819
|
-
|
|
18820
|
-
|
|
18821
|
-
[dir="rtl"] .tw-checkbox-check::after {
|
|
18822
|
-
transform: translateX(-1.5px) rotate(-45deg) scaleX(-1);
|
|
18823
|
-
transform-origin: right bottom;
|
|
18816
|
+
inset-inline-start: 8px;
|
|
18817
|
+
inset-inline-start: var(--size-8);
|
|
18824
18818
|
}
|
|
18825
18819
|
.tw-checkbox-check .has-error::before,
|
|
18826
18820
|
.tw-checkbox-check .has-error::after {
|
|
@@ -55,9 +55,6 @@
|
|
|
55
55
|
inset-inline-start: 25%;
|
|
56
56
|
inset-block-start: 25%;
|
|
57
57
|
}
|
|
58
|
-
[dir="rtl"] .process-icon-container {
|
|
59
|
-
transform: rotate(45deg) scaleX(-1);
|
|
60
|
-
}
|
|
61
58
|
.process-icon-horizontal,
|
|
62
59
|
.process-icon-vertical {
|
|
63
60
|
position: absolute;
|
|
@@ -137,37 +134,37 @@
|
|
|
137
134
|
.process-stopped .process-icon-container {
|
|
138
135
|
display: none;
|
|
139
136
|
}
|
|
140
|
-
.process-
|
|
137
|
+
.process-xs {
|
|
141
138
|
inline-size: 12px;
|
|
142
139
|
block-size: 12px;
|
|
143
140
|
}
|
|
144
|
-
.process-
|
|
141
|
+
.process-xs .process-circle {
|
|
145
142
|
/* Hide before animation to prevent glitching */
|
|
146
143
|
stroke-dashoffset: 31.41592654px;
|
|
147
144
|
stroke-dasharray: 31.41592654px;
|
|
148
145
|
stroke-width: 1.5px;
|
|
149
146
|
}
|
|
150
|
-
.process-
|
|
147
|
+
.process-xs.process-danger .process-icon-horizontal {
|
|
151
148
|
inset-block-start: 2.5px;
|
|
152
149
|
block-size: 1px;
|
|
153
150
|
}
|
|
154
|
-
.process-
|
|
151
|
+
.process-xs.process-danger .process-icon-vertical {
|
|
155
152
|
inset-inline-start: 2.5px;
|
|
156
153
|
inline-size: 1px;
|
|
157
154
|
}
|
|
158
|
-
.process-
|
|
159
|
-
.process-
|
|
155
|
+
.process-xs .process-icon-horizontal,
|
|
156
|
+
.process-xs .process-icon-vertical {
|
|
160
157
|
border-radius: 0.5px;
|
|
161
158
|
}
|
|
162
|
-
.process-
|
|
159
|
+
.process-xs.process-success .process-icon-container {
|
|
163
160
|
inline-size: 2.5px;
|
|
164
161
|
block-size: 5px;
|
|
165
162
|
inset-inline-start: 4.5px;
|
|
166
163
|
}
|
|
167
|
-
.process-
|
|
164
|
+
.process-xs.process-success .process-icon-horizontal {
|
|
168
165
|
block-size: 1px;
|
|
169
166
|
}
|
|
170
|
-
.process-
|
|
167
|
+
.process-xs.process-success .process-icon-vertical {
|
|
171
168
|
inline-size: 1px;
|
|
172
169
|
}
|
|
173
170
|
.process-xs {
|
|
@@ -269,9 +266,6 @@
|
|
|
269
266
|
.process-xl.process-success .process-icon-vertical {
|
|
270
267
|
inline-size: 8px;
|
|
271
268
|
}
|
|
272
|
-
.process-xxs .process-icon-container {
|
|
273
|
-
display: none;
|
|
274
|
-
}
|
|
275
269
|
.process-xxs .process-circle {
|
|
276
270
|
animation-name: process-chase-circle-xxs;
|
|
277
271
|
}
|
|
@@ -84,11 +84,6 @@
|
|
|
84
84
|
width: 50%;
|
|
85
85
|
left: 25%;
|
|
86
86
|
top: 25%;
|
|
87
|
-
|
|
88
|
-
// Icon is purely decorative — keep physical positioning in RTL
|
|
89
|
-
[dir="rtl"] & {
|
|
90
|
-
transform: rotate(45deg) scaleX(-1);
|
|
91
|
-
}
|
|
92
87
|
}
|
|
93
88
|
|
|
94
89
|
.process-icon-horizontal,
|
|
@@ -236,7 +231,7 @@
|
|
|
236
231
|
}
|
|
237
232
|
}
|
|
238
233
|
.process-size(
|
|
239
|
-
|
|
234
|
+
xs, @process-xxs-radius, @process-xxs-circumference, @process-xxs-stroke, @process-xxs-icon-size, @process-xxs-icon-stroke
|
|
240
235
|
);
|
|
241
236
|
.process-size(
|
|
242
237
|
xs, @process-xs-radius, @process-xs-circumference, @process-xs-stroke, @process-xs-icon-size, @process-xs-icon-stroke
|
|
@@ -249,10 +244,6 @@
|
|
|
249
244
|
);
|
|
250
245
|
|
|
251
246
|
.process-xxs {
|
|
252
|
-
.process-icon-container {
|
|
253
|
-
display: none;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
247
|
.process-circle {
|
|
257
248
|
animation-name: process-chase-circle-xxs;
|
|
258
249
|
}
|
|
@@ -388,9 +379,11 @@
|
|
|
388
379
|
}
|
|
389
380
|
|
|
390
381
|
.btn .process:first-child {
|
|
391
|
-
margin
|
|
392
|
-
|
|
393
|
-
|
|
382
|
+
.margin(left, -12px);
|
|
383
|
+
|
|
384
|
+
.margin(right, 12px);
|
|
385
|
+
|
|
386
|
+
.float(left);
|
|
394
387
|
}
|
|
395
388
|
|
|
396
389
|
.btn-block .process:first-child {
|
package/src/styles/less/tick.css
CHANGED
|
@@ -10,13 +10,10 @@
|
|
|
10
10
|
position: absolute;
|
|
11
11
|
background: #ffffff;
|
|
12
12
|
background: var(--color-background-screen);
|
|
13
|
-
transform: translateX(
|
|
13
|
+
transform: translateX(0.5px) rotate(-45deg);
|
|
14
14
|
transform-origin: left bottom;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
[dir="rtl"] .tw-checkbox-check::after {
|
|
18
|
-
transform: translateX(-1.5px) rotate(-45deg) scaleX(-1);
|
|
19
|
-
transform-origin: right bottom;
|
|
15
|
+
inset-inline-start: 8px;
|
|
16
|
+
inset-inline-start: var(--size-8);
|
|
20
17
|
}
|
|
21
18
|
.tw-checkbox-check .has-error::before,
|
|
22
19
|
.tw-checkbox-check .has-error::after {
|
|
@@ -11,13 +11,9 @@
|
|
|
11
11
|
content: "";
|
|
12
12
|
position: absolute;
|
|
13
13
|
background: var(--color-background-screen);
|
|
14
|
-
transform: translateX(
|
|
14
|
+
transform: translateX(0.5px) rotate(-45deg);
|
|
15
15
|
transform-origin: left bottom;
|
|
16
|
-
|
|
17
|
-
[dir="rtl"] & {
|
|
18
|
-
transform: translateX(-1.5px) rotate(-45deg) scaleX(-1);
|
|
19
|
-
transform-origin: right bottom;
|
|
20
|
-
}
|
|
16
|
+
left: var(--size-8);
|
|
21
17
|
}
|
|
22
18
|
|
|
23
19
|
.has-error {
|
|
@@ -38,4 +34,4 @@
|
|
|
38
34
|
height: 2px;
|
|
39
35
|
width: 11px;
|
|
40
36
|
}
|
|
41
|
-
}
|
|
37
|
+
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
|
-
import { withRTLDiff } from '../../../.storybook/decorators/RtlDiffDecorator';
|
|
3
|
-
import Loader from '..';
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
component: Loader,
|
|
7
|
-
title: 'Loading/Loader/Tests',
|
|
8
|
-
tags: ['!autodocs', '!manifest'],
|
|
9
|
-
} satisfies Meta<typeof Loader>;
|
|
10
|
-
|
|
11
|
-
type Story = StoryObj<typeof Loader>;
|
|
12
|
-
|
|
13
|
-
export const RTLDiff: Story = {
|
|
14
|
-
render: () => (
|
|
15
|
-
<>
|
|
16
|
-
<Loader size="sm" displayInstantly />
|
|
17
|
-
<Loader size="md" displayInstantly />
|
|
18
|
-
<Loader size="sm" displayInstantly label="Sending your money" />
|
|
19
|
-
<Loader size="md" displayInstantly label="Sending your money" />
|
|
20
|
-
</>
|
|
21
|
-
),
|
|
22
|
-
...withRTLDiff(),
|
|
23
|
-
};
|