@transferwise/components 0.0.0-experimental-8078c24 → 0.0.0-experimental-7d89ae8
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/package.json +3 -3
- package/src/accordion/Accordion.css +0 -74
- package/src/actionButton/ActionButton.css +0 -64
- package/src/actionOption/ActionOption.css +0 -4
- package/src/alert/Alert.css +0 -7
- package/src/avatar/Avatar.css +0 -250
- package/src/avatarLayout/AvatarLayout.css +0 -42
- package/src/avatarView/AvatarView.css +0 -44
- package/src/avatarView/Dot.css +0 -26
- package/src/badge/Badge.css +0 -65
- package/src/body/Body.css +0 -3
- package/src/button/Button.css +0 -246
- package/src/button/Button.vars.css +0 -46
- package/src/button/LegacyButton.css +0 -23
- package/src/card/Card.css +0 -100
- package/src/carousel/Carousel.css +0 -134
- package/src/checkboxButton/CheckboxButton.css +0 -43
- package/src/chips/Chip.css +0 -190
- package/src/circularButton/CircularButton.css +0 -34
- package/src/common/Option/Option.css +0 -120
- package/src/common/RadioButton/RadioButton.css +0 -4
- package/src/common/baseCard/BaseCard.css +0 -49
- package/src/common/bottomSheet/BottomSheet.css +0 -53
- package/src/common/circle/Circle.css +0 -43
- package/src/common/closeButton/CloseButton.css +0 -94
- package/src/common/liveRegion/LiveRegion.css +0 -3
- package/src/common/panel/Panel.css +0 -73
- package/src/container/Container.css +0 -38
- package/src/criticalBanner/CriticalCommsBanner.css +0 -63
- package/src/dateInput/DateInput.css +0 -16
- package/src/dateLookup/DateLookup.css +0 -93
- package/src/dateLookup/dateTrigger/DateTrigger.css +0 -29
- package/src/decision/Decision.css +0 -17
- package/src/definitionList/DefinitionList.css +0 -53
- package/src/dimmer/Dimmer.css +0 -70
- package/src/divider/Divider.css +0 -24
- package/src/drawer/Drawer.css +0 -56
- package/src/dropFade/DropFade.css +0 -19
- package/src/emphasis/Emphasis.css +0 -31
- package/src/expressiveMoneyInput/ExpressiveMoneyInput.css +0 -60
- package/src/expressiveMoneyInput/amountInput/AmountInput.css +0 -34
- package/src/expressiveMoneyInput/chevron/Chevron.css +0 -12
- package/src/expressiveMoneyInput/currencySelector/CurrencySelector.css +0 -6
- package/src/field/Field.css +0 -29
- package/src/flowNavigation/FlowNavigation.css +0 -76
- package/src/flowNavigation/animatedLabel/AnimatedLabel.css +0 -30
- package/src/header/Header.css +0 -33
- package/src/iconButton/IconButton.css +0 -82
- package/src/image/Image.css +0 -13
- package/src/info/Info.css +0 -9
- package/src/inputs/Input.css +0 -158
- package/src/inputs/InputGroup.css +0 -71
- package/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +0 -96
- package/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +0 -20
- package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.css +0 -46
- package/src/inputs/SelectInput/ItemView/SelectInputItemView.css +0 -16
- package/src/inputs/SelectInput/Option/SelectInputOption.css +0 -33
- package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +0 -37
- package/src/inputs/SelectInput/Options/SelectInputOptions.css +0 -81
- package/src/inputs/SelectInput/Popover/SelectInputPopover.css +0 -46
- package/src/inputs/SelectInput/SelectInput.css +0 -384
- package/src/inputs/TextArea.css +0 -161
- package/src/instructionsList/InstructionsList.css +0 -26
- package/src/legacylistItem/LegacyListItem.css +0 -6
- package/src/link/Link.css +0 -24
- package/src/listItem/ListItem.css +0 -660
- package/src/listItem/ListItem.grid.css +0 -384
- package/src/listItem/ListItem.vars.css +0 -0
- package/src/listItem/Prompt/ListItemPrompt.css +0 -4
- package/src/loader/Loader.css +0 -237
- package/src/logo/Logo.css +0 -6
- package/src/main.css +0 -34572
- package/src/modal/Modal.css +0 -82
- package/src/moneyInput/MoneyInput.css +0 -78
- package/src/navigationOption/NavigationOption.css +0 -69
- package/src/navigationOptionsList/NavigationOptionsList.css +0 -13
- package/src/nudge/Nudge.css +0 -206
- package/src/overlayHeader/OverlayHeader.css +0 -15
- package/src/phoneNumberInput/PhoneNumberInput.css +0 -28
- package/src/popover/Popover.css +0 -76
- package/src/progress/Progress.css +0 -43
- package/src/progressBar/ProgressBar.css +0 -14
- package/src/promoCard/PromoCard.css +0 -186
- package/src/prompt/ActionPrompt/ActionPrompt.css +0 -30
- package/src/prompt/CriticalBanner/CriticalBanner.css +0 -134
- package/src/prompt/CriticalBanner/CriticalBanner.vars.css +0 -0
- package/src/prompt/InfoPrompt/InfoPrompt.css +0 -57
- package/src/prompt/InlinePrompt/InlinePrompt.css +0 -57
- package/src/prompt/PrimitivePrompt/PrimitivePrompt.css +0 -51
- package/src/prompt/common/Expander/Expander.css +0 -8
- package/src/radioGroup/RadioGroup.css +0 -3
- package/src/section/Section.css +0 -10
- package/src/segmentedControl/SegmentedControl.css +0 -101
- package/src/select/Select.css +0 -369
- package/src/sentimentSurface/SentimentSurface.css +0 -487
- package/src/slidingPanel/SlidingPanel.css +0 -105
- package/src/snackbar/Snackbar.css +0 -93
- package/src/statusIcon/StatusIcon.css +0 -37
- package/src/stepper/Stepper.css +0 -77
- package/src/styles/less/accordion.css +0 -255
- package/src/styles/less/alerts.css +0 -751
- package/src/styles/less/background.css +0 -20
- package/src/styles/less/badge.css +0 -90
- package/src/styles/less/border-radius.css +0 -3
- package/src/styles/less/breadcrumbs.css +0 -20
- package/src/styles/less/button-groups.css +0 -495
- package/src/styles/less/buttons.css +0 -1390
- package/src/styles/less/chevron.css +0 -35
- package/src/styles/less/circles.css +0 -248
- package/src/styles/less/close.css +0 -47
- package/src/styles/less/column-layout.css +0 -164
- package/src/styles/less/core/viewport-themes.css +0 -63
- package/src/styles/less/currency-flags.css +0 -46
- package/src/styles/less/decision.css +0 -136
- package/src/styles/less/dropdowns.css +0 -472
- package/src/styles/less/droppable.css +0 -221
- package/src/styles/less/flex.css +0 -596
- package/src/styles/less/footer.css +0 -129
- package/src/styles/less/forms/bootstrap-forms.css +0 -2277
- package/src/styles/less/forms/checkbox-radio.css +0 -367
- package/src/styles/less/grid.css +0 -2369
- package/src/styles/less/input-groups.css +0 -2740
- package/src/styles/less/link-callout.css +0 -20
- package/src/styles/less/list-group.css +0 -350
- package/src/styles/less/loaders.css +0 -76
- package/src/styles/less/media.css +0 -74
- package/src/styles/less/modals.css +0 -185
- package/src/styles/less/navbar.css +0 -2406
- package/src/styles/less/navs.css +0 -296
- package/src/styles/less/neptune-social-media.css +0 -144
- package/src/styles/less/neptune.css +0 -25468
- package/src/styles/less/panels.css +0 -528
- package/src/styles/less/popovers.css +0 -661
- package/src/styles/less/process.css +0 -483
- package/src/styles/less/progress-bars.css +0 -64
- package/src/styles/less/ring.css +0 -55
- package/src/styles/less/select.css +0 -99
- package/src/styles/less/sequences.css +0 -855
- package/src/styles/less/table.css +0 -446
- package/src/styles/less/tick.css +0 -32
- package/src/styles/less/tooltip.css +0 -160
- package/src/styles/less/utilities.css +0 -133
- package/src/styles/less/wells.css +0 -60
- package/src/styles/variables/legacy-variables.css +0 -0
- package/src/styles/variables/neptune-tokens.css +0 -0
- package/src/styles/variables/zindex.css +0 -0
- package/src/summary/Summary.css +0 -81
- package/src/switch/Switch.css +0 -63
- package/src/switchOption/SwitchOption.css +0 -4
- package/src/table/Table.css +0 -274
- package/src/tabs/Tabs.css +0 -121
- package/src/tile/Tile.css +0 -68
- package/src/tooltip/Tooltip.css +0 -50
- package/src/typeahead/Typeahead.css +0 -187
- package/src/typeahead/typeaheadOption/TypeaheadOption.css +0 -9
- package/src/upload/Upload.css +0 -34
- package/src/uploadInput/UploadInput.css +0 -18
- package/src/uploadInput/uploadButton/UploadButton.css +0 -90
- package/src/uploadInput/uploadItem/UploadItem.css +0 -166
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
.d-inline-block {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
}
|
|
4
|
-
.d-inline {
|
|
5
|
-
display: inline;
|
|
6
|
-
}
|
|
7
|
-
.clearfix::before,
|
|
8
|
-
.clearfix::after {
|
|
9
|
-
content: " ";
|
|
10
|
-
display: table;
|
|
11
|
-
}
|
|
12
|
-
.clearfix::after {
|
|
13
|
-
clear: both;
|
|
14
|
-
}
|
|
15
|
-
.center-block {
|
|
16
|
-
display: block;
|
|
17
|
-
margin-left: auto;
|
|
18
|
-
margin-right: auto;
|
|
19
|
-
}
|
|
20
|
-
.pull-right,
|
|
21
|
-
.pull-xs-right {
|
|
22
|
-
float: right !important;
|
|
23
|
-
}
|
|
24
|
-
[dir="rtl"] .pull-right,
|
|
25
|
-
[dir="rtl"] .pull-xs-right {
|
|
26
|
-
float: left !important;
|
|
27
|
-
}
|
|
28
|
-
.pull-left,
|
|
29
|
-
.pull-xs-left {
|
|
30
|
-
float: left !important;
|
|
31
|
-
}
|
|
32
|
-
[dir="rtl"] .pull-left,
|
|
33
|
-
[dir="rtl"] .pull-xs-left {
|
|
34
|
-
float: right !important;
|
|
35
|
-
}
|
|
36
|
-
.pull-xs-none {
|
|
37
|
-
float: none !important;
|
|
38
|
-
}
|
|
39
|
-
@media (min-width: 600px) {
|
|
40
|
-
.pull-sm-left {
|
|
41
|
-
float: left !important;
|
|
42
|
-
}
|
|
43
|
-
[dir="rtl"] .pull-sm-left {
|
|
44
|
-
float: right !important;
|
|
45
|
-
}
|
|
46
|
-
.pull-sm-right {
|
|
47
|
-
float: right !important;
|
|
48
|
-
}
|
|
49
|
-
[dir="rtl"] .pull-sm-right {
|
|
50
|
-
float: left !important;
|
|
51
|
-
}
|
|
52
|
-
.pull-sm-none {
|
|
53
|
-
float: none !important;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
@media (min-width: 840px) {
|
|
57
|
-
.pull-md-left {
|
|
58
|
-
float: left !important;
|
|
59
|
-
}
|
|
60
|
-
[dir="rtl"] .pull-md-left {
|
|
61
|
-
float: right !important;
|
|
62
|
-
}
|
|
63
|
-
.pull-md-right {
|
|
64
|
-
float: right !important;
|
|
65
|
-
}
|
|
66
|
-
[dir="rtl"] .pull-md-right {
|
|
67
|
-
float: left !important;
|
|
68
|
-
}
|
|
69
|
-
.pull-md-none {
|
|
70
|
-
float: none !important;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
@media (min-width: 1160px) {
|
|
74
|
-
.pull-lg-left,
|
|
75
|
-
.pull-xl-left {
|
|
76
|
-
float: left !important;
|
|
77
|
-
}
|
|
78
|
-
[dir="rtl"] .pull-lg-left,
|
|
79
|
-
[dir="rtl"] .pull-xl-left {
|
|
80
|
-
float: right !important;
|
|
81
|
-
}
|
|
82
|
-
.pull-lg-right,
|
|
83
|
-
.pull-xl-right {
|
|
84
|
-
float: right !important;
|
|
85
|
-
}
|
|
86
|
-
[dir="rtl"] .pull-lg-right,
|
|
87
|
-
[dir="rtl"] .pull-xl-right {
|
|
88
|
-
float: left !important;
|
|
89
|
-
}
|
|
90
|
-
.pull-lg-none,
|
|
91
|
-
.pull-xl-none {
|
|
92
|
-
float: none !important;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
.pull-left-single-direction {
|
|
96
|
-
float: left !important;
|
|
97
|
-
}
|
|
98
|
-
.pull-right-single-direction {
|
|
99
|
-
float: right !important;
|
|
100
|
-
}
|
|
101
|
-
.hide {
|
|
102
|
-
display: none !important;
|
|
103
|
-
}
|
|
104
|
-
.show {
|
|
105
|
-
display: block !important;
|
|
106
|
-
}
|
|
107
|
-
.invisible {
|
|
108
|
-
visibility: hidden;
|
|
109
|
-
}
|
|
110
|
-
.text-hide {
|
|
111
|
-
color: transparent;
|
|
112
|
-
text-shadow: none;
|
|
113
|
-
background-color: transparent;
|
|
114
|
-
border: 0;
|
|
115
|
-
}
|
|
116
|
-
.hidden {
|
|
117
|
-
display: none !important;
|
|
118
|
-
}
|
|
119
|
-
.affix {
|
|
120
|
-
position: fixed;
|
|
121
|
-
}
|
|
122
|
-
.rotate90 {
|
|
123
|
-
transform: rotate(90deg);
|
|
124
|
-
}
|
|
125
|
-
.rotate180 {
|
|
126
|
-
transform: rotate(180deg);
|
|
127
|
-
}
|
|
128
|
-
.rotate270 {
|
|
129
|
-
transform: rotate(270deg);
|
|
130
|
-
}
|
|
131
|
-
.rotate-90 {
|
|
132
|
-
transform: rotate(-90deg);
|
|
133
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
.well,
|
|
2
|
-
.well-xs {
|
|
3
|
-
min-height: 24px;
|
|
4
|
-
min-height: var(--size-24);
|
|
5
|
-
margin-bottom: 24px;
|
|
6
|
-
margin-bottom: var(--size-24);
|
|
7
|
-
border-radius: 10px;
|
|
8
|
-
border-radius: var(--radius-small);
|
|
9
|
-
border: solid 1px rgba(0,0,0,0.10196);
|
|
10
|
-
border: solid 1px var(--color-border-neutral);
|
|
11
|
-
padding: 24px;
|
|
12
|
-
padding: var(--size-24);
|
|
13
|
-
box-shadow: none;
|
|
14
|
-
}
|
|
15
|
-
@media only screen and (min-width: 600px) {
|
|
16
|
-
.well-sm {
|
|
17
|
-
min-height: 24px;
|
|
18
|
-
min-height: var(--size-24);
|
|
19
|
-
margin-bottom: 24px;
|
|
20
|
-
margin-bottom: var(--size-24);
|
|
21
|
-
border-radius: 10px;
|
|
22
|
-
border-radius: var(--radius-small);
|
|
23
|
-
border: solid 1px rgba(0,0,0,0.10196);
|
|
24
|
-
border: solid 1px var(--color-border-neutral);
|
|
25
|
-
padding: 24px;
|
|
26
|
-
padding: var(--size-24);
|
|
27
|
-
box-shadow: none;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
@media only screen and (min-width: 840px) {
|
|
31
|
-
.well-md {
|
|
32
|
-
min-height: 24px;
|
|
33
|
-
min-height: var(--size-24);
|
|
34
|
-
margin-bottom: 24px;
|
|
35
|
-
margin-bottom: var(--size-24);
|
|
36
|
-
border-radius: 10px;
|
|
37
|
-
border-radius: var(--radius-small);
|
|
38
|
-
border: solid 1px rgba(0,0,0,0.10196);
|
|
39
|
-
border: solid 1px var(--color-border-neutral);
|
|
40
|
-
padding: 24px;
|
|
41
|
-
padding: var(--size-24);
|
|
42
|
-
box-shadow: none;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
@media only screen and (min-width: 1160px) {
|
|
46
|
-
.well-lg,
|
|
47
|
-
.well-xl {
|
|
48
|
-
min-height: 24px;
|
|
49
|
-
min-height: var(--size-24);
|
|
50
|
-
margin-bottom: 24px;
|
|
51
|
-
margin-bottom: var(--size-24);
|
|
52
|
-
border-radius: 10px;
|
|
53
|
-
border-radius: var(--radius-small);
|
|
54
|
-
border: solid 1px rgba(0,0,0,0.10196);
|
|
55
|
-
border: solid 1px var(--color-border-neutral);
|
|
56
|
-
padding: 24px;
|
|
57
|
-
padding: var(--size-24);
|
|
58
|
-
box-shadow: none;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/summary/Summary.css
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
.np-summary {
|
|
2
|
-
min-width: 280px;
|
|
3
|
-
}
|
|
4
|
-
.np-summary__body {
|
|
5
|
-
flex: 1;
|
|
6
|
-
}
|
|
7
|
-
.np-summary__title {
|
|
8
|
-
margin-top: 2px;
|
|
9
|
-
line-height: calc(22 / 16);
|
|
10
|
-
font-weight: 600;
|
|
11
|
-
font-weight: var(--font-weight-semi-bold);
|
|
12
|
-
justify-content: space-between;
|
|
13
|
-
margin-top: 0;
|
|
14
|
-
}
|
|
15
|
-
.np-summary__title span {
|
|
16
|
-
line-height: 1.375;
|
|
17
|
-
margin-bottom: 0 !important;
|
|
18
|
-
letter-spacing: normal;
|
|
19
|
-
}
|
|
20
|
-
.np-summary__title .np-info button {
|
|
21
|
-
margin-top: 0;
|
|
22
|
-
}
|
|
23
|
-
.np-summary__title .np-info__small {
|
|
24
|
-
margin-top: 0;
|
|
25
|
-
}
|
|
26
|
-
.np-summary__title .np-info .tw-icon {
|
|
27
|
-
color: var(--color-interactive-primary);
|
|
28
|
-
}
|
|
29
|
-
.np-summary__icon {
|
|
30
|
-
position: relative;
|
|
31
|
-
color: #37517e;
|
|
32
|
-
color: var(--color-content-primary);
|
|
33
|
-
}
|
|
34
|
-
.np-summary__icon .np-summary-icon__done {
|
|
35
|
-
color: var(--color-sentiment-positive);
|
|
36
|
-
}
|
|
37
|
-
.np-summary__icon .np-summary-icon__pending {
|
|
38
|
-
color: var(--color-sentiment-warning);
|
|
39
|
-
}
|
|
40
|
-
.np-summary__icon :nth-child(2) {
|
|
41
|
-
background-color: transparent;
|
|
42
|
-
border-radius: 50%;
|
|
43
|
-
position: absolute;
|
|
44
|
-
right: calc(8px * -1);
|
|
45
|
-
right: calc(var(--size-8) * -1);
|
|
46
|
-
bottom: -6px;
|
|
47
|
-
}
|
|
48
|
-
[dir="rtl"] .np-summary__icon :nth-child(2) {
|
|
49
|
-
left: calc(8px * -1);
|
|
50
|
-
left: calc(var(--size-8) * -1);
|
|
51
|
-
right: auto;
|
|
52
|
-
right: initial;
|
|
53
|
-
}
|
|
54
|
-
.np-summary__description {
|
|
55
|
-
margin-top: 4px;
|
|
56
|
-
margin-top: var(--size-4);
|
|
57
|
-
font-size: 0.875rem;
|
|
58
|
-
font-size: var(--font-size-14);
|
|
59
|
-
line-height: calc(20 / 14);
|
|
60
|
-
color: #5d7079;
|
|
61
|
-
color: var(--color-content-secondary);
|
|
62
|
-
padding-right: calc(24px + 8px);
|
|
63
|
-
padding-right: calc(var(--size-24) + var(--size-8));
|
|
64
|
-
}
|
|
65
|
-
[dir="rtl"] .np-summary__description {
|
|
66
|
-
padding-left: calc(24px + 8px);
|
|
67
|
-
padding-left: calc(var(--size-24) + var(--size-8));
|
|
68
|
-
padding-right: 0;
|
|
69
|
-
}
|
|
70
|
-
.np-summary__description-icon {
|
|
71
|
-
margin-top: 4px;
|
|
72
|
-
margin-top: var(--size-4);
|
|
73
|
-
}
|
|
74
|
-
.np-summary__action {
|
|
75
|
-
margin-top: 4px;
|
|
76
|
-
margin-top: var(--size-4);
|
|
77
|
-
}
|
|
78
|
-
.np-summary + .np-summary {
|
|
79
|
-
margin-top: 24px;
|
|
80
|
-
margin-top: var(--size-24);
|
|
81
|
-
}
|
package/src/switch/Switch.css
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
.np-switch {
|
|
2
|
-
all: unset;
|
|
3
|
-
box-sizing: border-box;
|
|
4
|
-
display: inline-flex;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
width: 50px;
|
|
7
|
-
padding: 2px;
|
|
8
|
-
border-radius: 16px;
|
|
9
|
-
-webkit-user-select: none;
|
|
10
|
-
-moz-user-select: none;
|
|
11
|
-
user-select: none;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
}
|
|
14
|
-
.np-switch:focus {
|
|
15
|
-
outline: none;
|
|
16
|
-
}
|
|
17
|
-
.np-switch:focus-visible {
|
|
18
|
-
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
19
|
-
outline-offset: var(--ring-outline-offset);
|
|
20
|
-
}
|
|
21
|
-
.np-switch--thumb {
|
|
22
|
-
display: flex;
|
|
23
|
-
transition: transform cubic-bezier(0, 0.94, 0.62, 1) 350ms;
|
|
24
|
-
}
|
|
25
|
-
.np-switch--thumb .tw-icon {
|
|
26
|
-
color: #fff;
|
|
27
|
-
}
|
|
28
|
-
.np-switch--unchecked {
|
|
29
|
-
background: #c9cbce;
|
|
30
|
-
background: var(--color-interactive-secondary);
|
|
31
|
-
}
|
|
32
|
-
.np-switch--unchecked .switch--thumb {
|
|
33
|
-
transform: translateX(0);
|
|
34
|
-
}
|
|
35
|
-
.np-switch--checked {
|
|
36
|
-
background: #00a2dd;
|
|
37
|
-
background: var(--color-interactive-accent);
|
|
38
|
-
}
|
|
39
|
-
.np-switch--checked .np-switch--thumb {
|
|
40
|
-
transform: translateX(20px) ;
|
|
41
|
-
}
|
|
42
|
-
[dir="rtl"] .np-switch--checked .np-switch--thumb {
|
|
43
|
-
transform: translateX(-20px) ;
|
|
44
|
-
}
|
|
45
|
-
.np-switch.disabled {
|
|
46
|
-
filter: grayscale(1);
|
|
47
|
-
opacity: 0.45;
|
|
48
|
-
cursor: not-allowed !important;
|
|
49
|
-
}
|
|
50
|
-
.np-theme-personal .np-switch {
|
|
51
|
-
padding: 1px 2px;
|
|
52
|
-
}
|
|
53
|
-
.np-theme-personal .np-switch--checked {
|
|
54
|
-
background: var(--color-interactive-primary);
|
|
55
|
-
}
|
|
56
|
-
.np-theme-personal .np-switch--thumb {
|
|
57
|
-
width: 20px;
|
|
58
|
-
height: 20px;
|
|
59
|
-
margin: 3px;
|
|
60
|
-
border-radius: 50%;
|
|
61
|
-
background-color: #ffffff;
|
|
62
|
-
background-color: var(--color-background-screen);
|
|
63
|
-
}
|
package/src/table/Table.css
DELETED
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
.np-table {
|
|
2
|
-
width: 100%;
|
|
3
|
-
background-color: transparent;
|
|
4
|
-
}
|
|
5
|
-
.np-table-outer-container {
|
|
6
|
-
border-radius: 16px;
|
|
7
|
-
border-radius: var(--radius-medium);
|
|
8
|
-
}
|
|
9
|
-
.np-table-outer-container:focus {
|
|
10
|
-
outline: none;
|
|
11
|
-
}
|
|
12
|
-
.np-table-outer-container:focus-visible {
|
|
13
|
-
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
14
|
-
outline-offset: var(--ring-outline-offset);
|
|
15
|
-
}
|
|
16
|
-
.np-table-outer-container:focus-visible {
|
|
17
|
-
outline-offset: 0;
|
|
18
|
-
}
|
|
19
|
-
.np-table-outer-container--center {
|
|
20
|
-
margin-right: auto;
|
|
21
|
-
margin-left: auto;
|
|
22
|
-
}
|
|
23
|
-
@media (max-width: 839.98px) {
|
|
24
|
-
.np-table-outer-container--center {
|
|
25
|
-
width: 100%;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
.np-table-outer-container--full-width {
|
|
29
|
-
width: 100%;
|
|
30
|
-
}
|
|
31
|
-
.np-table-container {
|
|
32
|
-
padding: 8px;
|
|
33
|
-
padding: var(--size-8);
|
|
34
|
-
background-color: rgba(134,167,189,0.10196);
|
|
35
|
-
background-color: var(--color-background-neutral);
|
|
36
|
-
border-radius: inherit;
|
|
37
|
-
}
|
|
38
|
-
.np-table-container--loading .np-table-inner-container {
|
|
39
|
-
background-image: none;
|
|
40
|
-
}
|
|
41
|
-
.np-table-inner-container {
|
|
42
|
-
background-image: linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)), linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)), linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0)), linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0));
|
|
43
|
-
background-position: left center, right center, left center, right center;
|
|
44
|
-
background-repeat: no-repeat;
|
|
45
|
-
background-color: var(--color-contrast-overlay);
|
|
46
|
-
background-size: 15px 100%, 15px 100%, 15px 100%, 15px 100%;
|
|
47
|
-
background-attachment: local, local, scroll, scroll;
|
|
48
|
-
overflow-x: auto;
|
|
49
|
-
border-radius: 10px;
|
|
50
|
-
}
|
|
51
|
-
.np-theme-personal--dark .np-table-inner-container {
|
|
52
|
-
background-image: linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)), linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)), linear-gradient(to right, #000000, rgba(0, 0, 0, 0)), linear-gradient(to left, #000000, rgba(0, 0, 0, 0));
|
|
53
|
-
}
|
|
54
|
-
.np-table-row:last-child .np-table-cell:first-child {
|
|
55
|
-
border-bottom-left-radius: 10px;
|
|
56
|
-
}
|
|
57
|
-
.np-table-row:last-child .np-table-cell:last-child {
|
|
58
|
-
border-bottom-right-radius: 10px;
|
|
59
|
-
}
|
|
60
|
-
.np-table-row:focus {
|
|
61
|
-
outline: none;
|
|
62
|
-
}
|
|
63
|
-
.np-table-row:focus-visible {
|
|
64
|
-
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
65
|
-
outline-offset: var(--ring-outline-offset);
|
|
66
|
-
}
|
|
67
|
-
.np-table-row:focus-visible {
|
|
68
|
-
outline-offset: -2px;
|
|
69
|
-
border-radius: 6px;
|
|
70
|
-
}
|
|
71
|
-
.np-table-row--clickable .np-table-cell {
|
|
72
|
-
position: relative;
|
|
73
|
-
}
|
|
74
|
-
.np-table-row--clickable .np-table-cell:before {
|
|
75
|
-
display: none;
|
|
76
|
-
content: "";
|
|
77
|
-
position: absolute;
|
|
78
|
-
height: 100%;
|
|
79
|
-
width: 100%;
|
|
80
|
-
top: 0;
|
|
81
|
-
left: 0;
|
|
82
|
-
background-color: var(--color-background-screen-hover);
|
|
83
|
-
}
|
|
84
|
-
.np-table-row--clickable .np-table-cell:first-child:before,
|
|
85
|
-
.np-table-row--clickable .np-table-cell:last-child:before {
|
|
86
|
-
width: calc(100% - 8px);
|
|
87
|
-
width: calc(100% - var(--size-8));
|
|
88
|
-
}
|
|
89
|
-
.np-table-row--clickable .np-table-cell:first-child:before {
|
|
90
|
-
left: 8px;
|
|
91
|
-
left: var(--size-8);
|
|
92
|
-
border-top-left-radius: 6px;
|
|
93
|
-
border-bottom-left-radius: 6px;
|
|
94
|
-
}
|
|
95
|
-
.np-table-row--clickable .np-table-cell:last-child:before {
|
|
96
|
-
border-top-right-radius: 6px;
|
|
97
|
-
border-bottom-right-radius: 6px;
|
|
98
|
-
}
|
|
99
|
-
.np-table-row--clickable:hover .np-table-cell:before {
|
|
100
|
-
display: block;
|
|
101
|
-
}
|
|
102
|
-
.np-table-row--clickable:hover:focus-visible .np-table-cell:first-child:before,
|
|
103
|
-
.np-table-row--clickable:hover:focus-visible .np-table-cell:last-child:before {
|
|
104
|
-
width: 100%;
|
|
105
|
-
}
|
|
106
|
-
.np-table-row--clickable:hover:focus-visible .np-table-cell:first-child:before {
|
|
107
|
-
left: 0;
|
|
108
|
-
}
|
|
109
|
-
.np-table-row--cosmetic .np-table-cell {
|
|
110
|
-
height: 8px;
|
|
111
|
-
height: var(--size-8);
|
|
112
|
-
padding: 0;
|
|
113
|
-
}
|
|
114
|
-
.np-table-header,
|
|
115
|
-
.np-table-cell {
|
|
116
|
-
padding: 0;
|
|
117
|
-
}
|
|
118
|
-
.np-table-header:first-child,
|
|
119
|
-
.np-table-cell:first-child {
|
|
120
|
-
padding-left: 16px;
|
|
121
|
-
padding-left: var(--size-16);
|
|
122
|
-
}
|
|
123
|
-
.np-table-header:first-child .np-table-header-content,
|
|
124
|
-
.np-table-cell:first-child .np-table-header-content,
|
|
125
|
-
.np-table-header:first-child .np-table-cell-content,
|
|
126
|
-
.np-table-cell:first-child .np-table-cell-content {
|
|
127
|
-
padding-left: 0;
|
|
128
|
-
}
|
|
129
|
-
.np-table-header:last-child,
|
|
130
|
-
.np-table-cell:last-child {
|
|
131
|
-
padding-right: 16px;
|
|
132
|
-
padding-right: var(--size-16);
|
|
133
|
-
}
|
|
134
|
-
.np-table-header:last-child .np-table-header-content,
|
|
135
|
-
.np-table-cell:last-child .np-table-header-content,
|
|
136
|
-
.np-table-header:last-child .np-table-cell-content,
|
|
137
|
-
.np-table-cell:last-child .np-table-cell-content {
|
|
138
|
-
padding-right: 0;
|
|
139
|
-
}
|
|
140
|
-
.np-table-header.np-table-header--right > .np-text-body-default,
|
|
141
|
-
.np-table-cell.np-table-cell--right > .np-text-body-default {
|
|
142
|
-
text-align: right;
|
|
143
|
-
}
|
|
144
|
-
.np-table-header.np-table-header--right + .np-table-header:not(.np-table-header--right),
|
|
145
|
-
.np-table-cell.np-table-cell--right + .np-table-cell:not(.np-table-cell--right) {
|
|
146
|
-
padding-left: calc(8px + 12px);
|
|
147
|
-
padding-left: calc(var(--size-8) + var(--size-12));
|
|
148
|
-
}
|
|
149
|
-
.np-table-header.np-table-header--right .np-table-header-content,
|
|
150
|
-
.np-table-cell.np-table-cell--right .np-table-content {
|
|
151
|
-
justify-content: end;
|
|
152
|
-
}
|
|
153
|
-
.np-table-header-content,
|
|
154
|
-
.np-table-content {
|
|
155
|
-
display: flex;
|
|
156
|
-
align-items: center;
|
|
157
|
-
justify-content: start;
|
|
158
|
-
}
|
|
159
|
-
.np-table-header {
|
|
160
|
-
min-width: 160px;
|
|
161
|
-
padding-right: 8px;
|
|
162
|
-
padding-right: var(--size-8);
|
|
163
|
-
padding-bottom: 8px;
|
|
164
|
-
padding-bottom: var(--size-8);
|
|
165
|
-
padding-left: 8px;
|
|
166
|
-
padding-left: var(--size-8);
|
|
167
|
-
background-color: rgba(134,167,189,0.10196);
|
|
168
|
-
background-color: var(--color-background-neutral);
|
|
169
|
-
color: var(--color-interactive-primary);
|
|
170
|
-
}
|
|
171
|
-
.np-table-header-content {
|
|
172
|
-
padding-top: 5px;
|
|
173
|
-
padding-bottom: 5px;
|
|
174
|
-
white-space: nowrap;
|
|
175
|
-
line-height: 1.375rem;
|
|
176
|
-
line-height: var(--line-height-22);
|
|
177
|
-
letter-spacing: 0.0125em;
|
|
178
|
-
letter-spacing: var(--letter-spacing-sm);
|
|
179
|
-
}
|
|
180
|
-
.np-table-header--error {
|
|
181
|
-
color: var(--color-sentiment-negative);
|
|
182
|
-
}
|
|
183
|
-
.np-table-header--action {
|
|
184
|
-
min-width: 0;
|
|
185
|
-
padding: 0;
|
|
186
|
-
}
|
|
187
|
-
.np-table-cell {
|
|
188
|
-
padding: 16px 8px;
|
|
189
|
-
padding: var(--size-16) var(--size-8);
|
|
190
|
-
position: relative;
|
|
191
|
-
}
|
|
192
|
-
.np-table-cell--cosmetic {
|
|
193
|
-
padding: 0;
|
|
194
|
-
}
|
|
195
|
-
.np-table-cell--primary {
|
|
196
|
-
min-width: 200px;
|
|
197
|
-
}
|
|
198
|
-
.np-table-cell--currency .np-text-body-default {
|
|
199
|
-
white-space: nowrap;
|
|
200
|
-
}
|
|
201
|
-
.np-table-cell .tw-chevron {
|
|
202
|
-
margin-left: 8px;
|
|
203
|
-
margin-left: var(--size-8);
|
|
204
|
-
}
|
|
205
|
-
.np-table-cell-separator {
|
|
206
|
-
margin-top: 4px;
|
|
207
|
-
margin-top: var(--size-4);
|
|
208
|
-
margin-bottom: 4px;
|
|
209
|
-
margin-bottom: var(--size-4);
|
|
210
|
-
height: 1px;
|
|
211
|
-
background-color: rgba(134,167,189,0.10196);
|
|
212
|
-
background-color: var(--color-background-neutral);
|
|
213
|
-
padding: 0;
|
|
214
|
-
}
|
|
215
|
-
.np-table-cell .np-text-body-default-bold {
|
|
216
|
-
display: flex;
|
|
217
|
-
align-items: center;
|
|
218
|
-
color: #37517e;
|
|
219
|
-
color: var(--color-content-primary);
|
|
220
|
-
white-space: nowrap;
|
|
221
|
-
}
|
|
222
|
-
.np-table-cell .np-table-content--success {
|
|
223
|
-
color: var(--color-sentiment-positive);
|
|
224
|
-
}
|
|
225
|
-
.np-table-cell .np-table-content--error {
|
|
226
|
-
color: var(--color-sentiment-negative);
|
|
227
|
-
}
|
|
228
|
-
.np-table-cell .tw-loader {
|
|
229
|
-
margin: 150px auto;
|
|
230
|
-
}
|
|
231
|
-
@media (max-width: 320px) {
|
|
232
|
-
.np-table-cell .tw-loader {
|
|
233
|
-
margin-top: 70px;
|
|
234
|
-
margin-bottom: 70px;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
.np-table-content {
|
|
238
|
-
gap: 12px;
|
|
239
|
-
gap: var(--size-12);
|
|
240
|
-
}
|
|
241
|
-
.np-table-content--success,
|
|
242
|
-
.np-table-content--error {
|
|
243
|
-
gap: 4px;
|
|
244
|
-
gap: var(--size-4);
|
|
245
|
-
}
|
|
246
|
-
.np-table-content--success .np-table-content-text,
|
|
247
|
-
.np-table-content--error .np-table-content-text {
|
|
248
|
-
line-height: 155%;
|
|
249
|
-
}
|
|
250
|
-
.np-table-content-media {
|
|
251
|
-
flex-shrink: 0;
|
|
252
|
-
}
|
|
253
|
-
.np-table-content-body {
|
|
254
|
-
display: flex;
|
|
255
|
-
flex-direction: column;
|
|
256
|
-
font-size: 0.75rem;
|
|
257
|
-
font-size: var(--font-size-12);
|
|
258
|
-
color: #768e9c;
|
|
259
|
-
color: var(--color-content-tertiary);
|
|
260
|
-
}
|
|
261
|
-
.np-table-content--reversed {
|
|
262
|
-
flex-direction: row-reverse;
|
|
263
|
-
}
|
|
264
|
-
.np-table-content--reversed .np-table-content-body {
|
|
265
|
-
align-items: end;
|
|
266
|
-
}
|
|
267
|
-
.np-table-empty-data {
|
|
268
|
-
display: flex;
|
|
269
|
-
align-items: center;
|
|
270
|
-
}
|
|
271
|
-
.np-table-empty-data .status-circle {
|
|
272
|
-
margin-right: 12px;
|
|
273
|
-
margin-right: var(--size-12);
|
|
274
|
-
}
|