@transferwise/components 0.0.0-experimental-bd56e63 → 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.
Files changed (159) hide show
  1. package/package.json +1 -1
  2. package/src/accordion/Accordion.css +0 -74
  3. package/src/actionButton/ActionButton.css +0 -64
  4. package/src/actionOption/ActionOption.css +0 -4
  5. package/src/alert/Alert.css +0 -7
  6. package/src/avatar/Avatar.css +0 -250
  7. package/src/avatarLayout/AvatarLayout.css +0 -42
  8. package/src/avatarView/AvatarView.css +0 -44
  9. package/src/avatarView/Dot.css +0 -26
  10. package/src/badge/Badge.css +0 -65
  11. package/src/body/Body.css +0 -3
  12. package/src/button/Button.css +0 -246
  13. package/src/button/Button.vars.css +0 -46
  14. package/src/button/LegacyButton.css +0 -23
  15. package/src/card/Card.css +0 -100
  16. package/src/carousel/Carousel.css +0 -134
  17. package/src/checkboxButton/CheckboxButton.css +0 -43
  18. package/src/chips/Chip.css +0 -190
  19. package/src/circularButton/CircularButton.css +0 -34
  20. package/src/common/Option/Option.css +0 -120
  21. package/src/common/RadioButton/RadioButton.css +0 -4
  22. package/src/common/baseCard/BaseCard.css +0 -49
  23. package/src/common/bottomSheet/BottomSheet.css +0 -53
  24. package/src/common/circle/Circle.css +0 -43
  25. package/src/common/closeButton/CloseButton.css +0 -94
  26. package/src/common/liveRegion/LiveRegion.css +0 -3
  27. package/src/common/panel/Panel.css +0 -73
  28. package/src/container/Container.css +0 -38
  29. package/src/criticalBanner/CriticalCommsBanner.css +0 -63
  30. package/src/dateInput/DateInput.css +0 -16
  31. package/src/dateLookup/DateLookup.css +0 -93
  32. package/src/dateLookup/dateTrigger/DateTrigger.css +0 -29
  33. package/src/decision/Decision.css +0 -17
  34. package/src/definitionList/DefinitionList.css +0 -53
  35. package/src/dimmer/Dimmer.css +0 -70
  36. package/src/divider/Divider.css +0 -24
  37. package/src/drawer/Drawer.css +0 -56
  38. package/src/dropFade/DropFade.css +0 -19
  39. package/src/emphasis/Emphasis.css +0 -31
  40. package/src/expressiveMoneyInput/ExpressiveMoneyInput.css +0 -60
  41. package/src/expressiveMoneyInput/amountInput/AmountInput.css +0 -34
  42. package/src/expressiveMoneyInput/chevron/Chevron.css +0 -12
  43. package/src/expressiveMoneyInput/currencySelector/CurrencySelector.css +0 -6
  44. package/src/field/Field.css +0 -29
  45. package/src/flowNavigation/FlowNavigation.css +0 -76
  46. package/src/flowNavigation/animatedLabel/AnimatedLabel.css +0 -30
  47. package/src/header/Header.css +0 -33
  48. package/src/iconButton/IconButton.css +0 -82
  49. package/src/image/Image.css +0 -13
  50. package/src/info/Info.css +0 -9
  51. package/src/inputs/Input.css +0 -158
  52. package/src/inputs/InputGroup.css +0 -71
  53. package/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +0 -96
  54. package/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +0 -20
  55. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.css +0 -46
  56. package/src/inputs/SelectInput/ItemView/SelectInputItemView.css +0 -16
  57. package/src/inputs/SelectInput/Option/SelectInputOption.css +0 -33
  58. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +0 -37
  59. package/src/inputs/SelectInput/Options/SelectInputOptions.css +0 -81
  60. package/src/inputs/SelectInput/Popover/SelectInputPopover.css +0 -46
  61. package/src/inputs/SelectInput/SelectInput.css +0 -384
  62. package/src/inputs/TextArea.css +0 -161
  63. package/src/instructionsList/InstructionsList.css +0 -26
  64. package/src/legacylistItem/LegacyListItem.css +0 -6
  65. package/src/link/Link.css +0 -24
  66. package/src/listItem/ListItem.css +0 -660
  67. package/src/listItem/ListItem.grid.css +0 -384
  68. package/src/listItem/ListItem.vars.css +0 -0
  69. package/src/listItem/Prompt/ListItemPrompt.css +0 -4
  70. package/src/loader/Loader.css +0 -237
  71. package/src/logo/Logo.css +0 -6
  72. package/src/main.css +0 -34572
  73. package/src/modal/Modal.css +0 -82
  74. package/src/moneyInput/MoneyInput.css +0 -78
  75. package/src/navigationOption/NavigationOption.css +0 -69
  76. package/src/navigationOptionsList/NavigationOptionsList.css +0 -13
  77. package/src/nudge/Nudge.css +0 -206
  78. package/src/overlayHeader/OverlayHeader.css +0 -15
  79. package/src/phoneNumberInput/PhoneNumberInput.css +0 -28
  80. package/src/popover/Popover.css +0 -76
  81. package/src/progress/Progress.css +0 -43
  82. package/src/progressBar/ProgressBar.css +0 -14
  83. package/src/promoCard/PromoCard.css +0 -186
  84. package/src/prompt/ActionPrompt/ActionPrompt.css +0 -30
  85. package/src/prompt/CriticalBanner/CriticalBanner.css +0 -134
  86. package/src/prompt/CriticalBanner/CriticalBanner.vars.css +0 -0
  87. package/src/prompt/InfoPrompt/InfoPrompt.css +0 -57
  88. package/src/prompt/InlinePrompt/InlinePrompt.css +0 -57
  89. package/src/prompt/PrimitivePrompt/PrimitivePrompt.css +0 -51
  90. package/src/prompt/common/Expander/Expander.css +0 -8
  91. package/src/radioGroup/RadioGroup.css +0 -3
  92. package/src/section/Section.css +0 -10
  93. package/src/segmentedControl/SegmentedControl.css +0 -101
  94. package/src/select/Select.css +0 -369
  95. package/src/sentimentSurface/SentimentSurface.css +0 -487
  96. package/src/slidingPanel/SlidingPanel.css +0 -105
  97. package/src/snackbar/Snackbar.css +0 -93
  98. package/src/statusIcon/StatusIcon.css +0 -37
  99. package/src/stepper/Stepper.css +0 -77
  100. package/src/styles/less/accordion.css +0 -255
  101. package/src/styles/less/alerts.css +0 -751
  102. package/src/styles/less/background.css +0 -20
  103. package/src/styles/less/badge.css +0 -90
  104. package/src/styles/less/border-radius.css +0 -3
  105. package/src/styles/less/breadcrumbs.css +0 -20
  106. package/src/styles/less/button-groups.css +0 -495
  107. package/src/styles/less/buttons.css +0 -1390
  108. package/src/styles/less/chevron.css +0 -35
  109. package/src/styles/less/circles.css +0 -248
  110. package/src/styles/less/close.css +0 -47
  111. package/src/styles/less/column-layout.css +0 -164
  112. package/src/styles/less/core/viewport-themes.css +0 -63
  113. package/src/styles/less/currency-flags.css +0 -46
  114. package/src/styles/less/decision.css +0 -136
  115. package/src/styles/less/dropdowns.css +0 -472
  116. package/src/styles/less/droppable.css +0 -221
  117. package/src/styles/less/flex.css +0 -596
  118. package/src/styles/less/footer.css +0 -129
  119. package/src/styles/less/forms/bootstrap-forms.css +0 -2277
  120. package/src/styles/less/forms/checkbox-radio.css +0 -367
  121. package/src/styles/less/grid.css +0 -2369
  122. package/src/styles/less/input-groups.css +0 -2740
  123. package/src/styles/less/link-callout.css +0 -20
  124. package/src/styles/less/list-group.css +0 -350
  125. package/src/styles/less/loaders.css +0 -76
  126. package/src/styles/less/media.css +0 -74
  127. package/src/styles/less/modals.css +0 -185
  128. package/src/styles/less/navbar.css +0 -2406
  129. package/src/styles/less/navs.css +0 -296
  130. package/src/styles/less/neptune-social-media.css +0 -144
  131. package/src/styles/less/neptune.css +0 -25468
  132. package/src/styles/less/panels.css +0 -528
  133. package/src/styles/less/popovers.css +0 -661
  134. package/src/styles/less/process.css +0 -483
  135. package/src/styles/less/progress-bars.css +0 -64
  136. package/src/styles/less/ring.css +0 -55
  137. package/src/styles/less/select.css +0 -99
  138. package/src/styles/less/sequences.css +0 -855
  139. package/src/styles/less/table.css +0 -446
  140. package/src/styles/less/tick.css +0 -32
  141. package/src/styles/less/tooltip.css +0 -160
  142. package/src/styles/less/utilities.css +0 -133
  143. package/src/styles/less/wells.css +0 -60
  144. package/src/styles/variables/legacy-variables.css +0 -0
  145. package/src/styles/variables/neptune-tokens.css +0 -0
  146. package/src/styles/variables/zindex.css +0 -0
  147. package/src/summary/Summary.css +0 -81
  148. package/src/switch/Switch.css +0 -63
  149. package/src/switchOption/SwitchOption.css +0 -4
  150. package/src/table/Table.css +0 -274
  151. package/src/tabs/Tabs.css +0 -121
  152. package/src/tile/Tile.css +0 -68
  153. package/src/tooltip/Tooltip.css +0 -50
  154. package/src/typeahead/Typeahead.css +0 -187
  155. package/src/typeahead/typeaheadOption/TypeaheadOption.css +0 -9
  156. package/src/upload/Upload.css +0 -34
  157. package/src/uploadInput/UploadInput.css +0 -18
  158. package/src/uploadInput/uploadButton/UploadButton.css +0 -90
  159. package/src/uploadInput/uploadItem/UploadItem.css +0 -166
package/src/tabs/Tabs.css DELETED
@@ -1,121 +0,0 @@
1
- .tabs {
2
- position: relative;
3
- }
4
- .tabs__tab {
5
- display: inline-block;
6
- outline: none;
7
- text-align: center;
8
- padding: 8px;
9
- padding: var(--size-8);
10
- margin-bottom: -2px;
11
- color: #37517e;
12
- color: var(--color-content-primary);
13
- font-weight: 600;
14
- font-weight: var(--font-weight-semi-bold);
15
- transition: color 0.15s ease-in-out;
16
- }
17
- .np-theme-personal .tabs__tab {
18
- color: #5d7079;
19
- color: var(--color-content-secondary);
20
- font-weight: 400;
21
- font-weight: var(--font-weight-regular);
22
- }
23
- .tabs__tab--selected {
24
- color: #0097c7;
25
- color: var(--color-content-accent);
26
- }
27
- .np-theme-personal .tabs__tab--selected {
28
- color: var(--color-interactive-primary);
29
- font-weight: 600;
30
- font-weight: var(--font-weight-semi-bold);
31
- }
32
- .tabs__tab__content {
33
- border-radius: 2px;
34
- }
35
- .tabs__tab:not(.disabled):not(:disabled):focus-visible .tabs__tab__content {
36
- color: #0084b3;
37
- color: var(--color-content-accent-hover);
38
- }
39
- .np-theme-personal .tabs__tab:not(.disabled):not(:disabled):focus-visible .tabs__tab__content {
40
- color: var(--color-interactive-primary-hover);
41
- outline: var(--ring-outline-color) solid var(--ring-outline-width);
42
- outline-offset: var(--ring-outline-offset);
43
- }
44
- @media (min-width: 1160px) {
45
- .tabs__tab:not(.disabled):not(:disabled):hover {
46
- color: #0084b3;
47
- color: var(--color-content-accent-hover);
48
- }
49
- .np-theme-personal .tabs__tab:not(.disabled):not(:disabled):hover {
50
- color: var(--color-interactive-primary-hover);
51
- }
52
- }
53
- @media (hover: hover) {
54
- .tabs__tab:not(.disabled):not(:disabled):hover {
55
- color: #0084b3;
56
- color: var(--color-content-accent-hover);
57
- }
58
- .np-theme-personal .tabs__tab:not(.disabled):not(:disabled):hover {
59
- color: var(--color-interactive-primary-hover);
60
- }
61
- }
62
- .tabs__tab-list {
63
- list-style: none;
64
- padding: 0;
65
- margin: 0;
66
- border-bottom: 1px solid rgba(0,0,0,0.10196);
67
- border-bottom: 1px solid var(--color-border-neutral);
68
- }
69
- .tabs__line {
70
- height: 2px;
71
- background-color: #00a2dd;
72
- background-color: var(--color-interactive-accent);
73
- transition: transform cubic-bezier(0, 0.94, 0.62, 1) 350ms;
74
- position: relative;
75
- bottom: -1px;
76
- }
77
- .np-theme-personal .tabs__line {
78
- background-color: var(--color-interactive-primary);
79
- }
80
- .tabs__panel-container {
81
- width: 100%;
82
- }
83
- .tabs__slider {
84
- display: flex;
85
- }
86
- .tabs__panel--selected {
87
- padding: 8px;
88
- padding: var(--size-8);
89
- }
90
- .tabs__panel.enter {
91
- opacity: 0;
92
- }
93
- .tabs__panel.enter-active {
94
- opacity: 1;
95
- }
96
- .tabs__panel.exit {
97
- opacity: 0;
98
- }
99
- .tabs--inverse .tabs__tab-list {
100
- border-bottom-color: rgba(0,0,0,0.10196);
101
- border-bottom-color: var(--color-border-neutral);
102
- }
103
- .tabs--inverse .tabs__tab:not(.tabs__tab--selected) {
104
- color: #fff;
105
- }
106
- .tabs.tabs--auto-width .tabs__tab {
107
- display: inline-flex;
108
- min-height: 40px;
109
- min-height: var(--size-40);
110
- padding: 0 12px;
111
- padding: 0 var(--size-12);
112
- justify-content: center;
113
- align-items: center;
114
- vertical-align: middle;
115
- }
116
- @media (min-width: 600px) {
117
- .tabs.tabs--auto-width .tabs__tab {
118
- padding: 0 24px;
119
- padding: 0 var(--size-24);
120
- }
121
- }
package/src/tile/Tile.css DELETED
@@ -1,68 +0,0 @@
1
- .np-tile {
2
- min-width: 120px;
3
- border-radius: 10px;
4
- border-radius: var(--radius-small);
5
- width: 100%;
6
- }
7
- .np-theme-personal .np-tile {
8
- background-color: rgba(134,167,189,0.10196);
9
- background-color: var(--color-background-neutral);
10
- }
11
- .np-theme-personal .np-tile .tw-avatar .tw-avatar__content {
12
- background-color: var(--color-contrast);
13
- }
14
- .np-tile.decision {
15
- margin-top: 0;
16
- border: 1px solid rgba(0,0,0,0.10196);
17
- border: 1px solid var(--color-border-neutral);
18
- }
19
- .np-theme-personal .np-tile.decision {
20
- border: none;
21
- }
22
- .np-theme-personal .np-tile.decision:hover {
23
- background-color: var(--color-background-neutral-hover);
24
- }
25
- .np-theme-personal .np-tile.decision:active {
26
- background-color: var(--color-background-neutral-active);
27
- }
28
- .np-theme-personal .np-tile.decision .np-text-body-default {
29
- color: #5d7079;
30
- color: var(--color-content-secondary);
31
- }
32
- .np-tile.np-decision__tile--fixed-width {
33
- width: 300px;
34
- }
35
- .np-tile__media {
36
- width: 100%;
37
- }
38
- .np-tile__description {
39
- color: #5d7079;
40
- color: var(--color-content-secondary);
41
- margin-top: 12px;
42
- margin-top: var(--size-12);
43
- display: inline-block;
44
- }
45
- .np-tile--small.np-decision__tile--fixed-width {
46
- width: 260px;
47
- }
48
- .np-tile--small .np-tile__description {
49
- margin-top: 4px;
50
- margin-top: var(--size-4);
51
- }
52
- .np-tile:hover .tw-avatar {
53
- pointer-events: none;
54
- }
55
- .np-tile:hover .tw-avatar .tw-avatar__content {
56
- background-color: #ffffff;
57
- background-color: var(--color-background-screen);
58
- }
59
- .np-tile__description {
60
- color: #5d7079;
61
- color: var(--color-content-secondary);
62
- font-weight: 400;
63
- font-weight: var(--font-weight-regular);
64
- line-height: 1.5;
65
- line-height: var(--line-height-body);
66
- margin-top: 12px;
67
- margin-top: var(--size-12);
68
- }
@@ -1,50 +0,0 @@
1
- .tw-tooltip-container {
2
- display: inline-block;
3
- /*
4
- What we do is we wait 0.15s so the fade out animation is seen
5
- and then we run our own animation to hide it with visibility.
6
- This isn't actually animating, but it just turns visibility to hidden with a delay.
7
- */
8
- }
9
- .tw-tooltip-container .tooltip {
10
- visibility: visible;
11
- -webkit-user-select: none;
12
- -moz-user-select: none;
13
- user-select: none;
14
- }
15
- .tw-tooltip-container .tooltip:not(.in) {
16
- pointer-events: none;
17
- animation: tw-tooltip-disappear;
18
- animation-duration: 0s;
19
- animation-delay: 0.15s;
20
- animation-fill-mode: both;
21
- }
22
- @keyframes tw-tooltip-disappear {
23
- from {
24
- visibility: visible;
25
- }
26
- to {
27
- visibility: hidden;
28
- }
29
- }
30
- .np-tooltip {
31
- z-index: 1070;
32
- visibility: hidden;
33
- }
34
- .np-tooltip .tooltip-inner {
35
- visibility: hidden;
36
- }
37
- .np-tooltip--open {
38
- visibility: visible;
39
- visibility: initial;
40
- }
41
- .np-tooltip--open .tooltip-inner {
42
- visibility: visible;
43
- visibility: initial;
44
- }
45
- .np-panel[data-popper-placement^="right"] > .np-panel__content.tooltip-inner .np-panel__arrow {
46
- left: -7px;
47
- }
48
- .np-panel[data-popper-placement^="left"] > .np-panel__content.tooltip-inner .np-panel__arrow {
49
- right: -7px;
50
- }
@@ -1,187 +0,0 @@
1
- .typeahead.open .input-group {
2
- z-index: 1060;
3
- }
4
- .typeahead .dropdown.btn-block {
5
- display: block;
6
- }
7
- .typeahead .dropdown-menu {
8
- max-width: 100%;
9
- width: 100%;
10
- }
11
- .np-theme-personal--forest-green .typeahead .dropdown-menu,
12
- .np-theme-personal--bright-green .typeahead .dropdown-menu,
13
- .np-theme-personal--dark .typeahead .dropdown-menu {
14
- background-color: #ffffff;
15
- background-color: var(--color-background-elevated);
16
- }
17
- .typeahead--multiple .np-chip {
18
- margin-bottom: auto;
19
- animation-name: slide;
20
- animation-duration: 0.03s;
21
- animation-timing-function: ease-in-out;
22
- }
23
- .typeahead--multiple .np-chip:first-child {
24
- animation-name: slideFirst;
25
- }
26
- .typeahead--multiple .np-chip-remove {
27
- animation-name: fadeIn;
28
- animation-duration: 0.03s;
29
- animation-timing-function: ease-in-out;
30
- }
31
- .typeahead--multiple .form-control {
32
- height: auto;
33
- min-height: auto;
34
- padding-top: 0;
35
- padding-bottom: 0;
36
- overflow: auto;
37
- }
38
- .typeahead--multiple .typeahead__input {
39
- border: none;
40
- outline: none;
41
- float: none;
42
- align-self: stretch;
43
- padding: 0;
44
- }
45
- .typeahead--multiple .typeahead__input-aligner {
46
- height: 40px;
47
- display: inline-block;
48
- width: 0;
49
- }
50
- .typeahead--multiple .typeahead__input-container {
51
- cursor: text;
52
- display: flex;
53
- }
54
- .typeahead--multiple .sizer {
55
- white-space: pre;
56
- position: absolute;
57
- visibility: hidden;
58
- width: auto;
59
- }
60
- .typeahead--multiple.typeahead--has-value .typeahead__input-container {
61
- padding-left: 8px;
62
- padding-left: var(--size-8);
63
- }
64
- [dir="rtl"] .typeahead--multiple.typeahead--has-value .typeahead__input-container {
65
- padding-right: 8px;
66
- padding-right: var(--size-8);
67
- padding-left: 0;
68
- padding-left: initial;
69
- }
70
- .typeahead--multiple.typeahead--has-value .input-group-addon + .typeahead__input-container {
71
- padding-left: 0;
72
- }
73
- .typeahead--multiple.typeahead--has-value .typeahead__input {
74
- margin-bottom: calc(-1 * 8px + 1px);
75
- margin-bottom: calc(-1 * var(--size-8) + 1px);
76
- margin-left: 4px;
77
- margin-left: var(--size-4);
78
- }
79
- [dir="rtl"] .typeahead--multiple.typeahead--has-value .typeahead__input {
80
- margin-right: 4px;
81
- margin-right: var(--size-4);
82
- margin-left: 0;
83
- margin-left: initial;
84
- }
85
- .typeahead--multiple.typeahead--has-value .typeahead__input-wrapper::after {
86
- content: "";
87
- height: calc(8px - 1);
88
- height: calc(var(--size-8) - 1);
89
- width: 100%;
90
- }
91
- .typeahead__input-wrapper {
92
- width: 100%;
93
- margin-top: -1px;
94
- display: flex;
95
- flex-wrap: wrap;
96
- flex: 1;
97
- align-items: center;
98
- }
99
- .np-theme-personal .typeahead__input-wrapper {
100
- margin-top: 0;
101
- }
102
- .typeahead--empty.typeahead--multiple .typeahead__input-wrapper {
103
- padding: 0;
104
- margin: 0;
105
- }
106
- .typeahead--prompt {
107
- margin-top: 4px;
108
- margin-top: var(--size-4);
109
- }
110
- .typeahead-sm.typeahead--multiple .typeahead__input-container {
111
- min-height: 32px;
112
- }
113
- .typeahead-sm.typeahead--multiple .typeahead__input {
114
- padding-top: 0;
115
- }
116
- .typeahead-md.typeahead--multiple .typeahead__input-container {
117
- min-height: var(--input-height-base);
118
- }
119
- .typeahead-lg.typeahead--multiple .typeahead__input-container {
120
- min-height: var(--input-height-large);
121
- }
122
- .typeahead-lg.typeahead--multiple .typeahead__input {
123
- padding-top: calc(8px - 1);
124
- padding-top: calc(var(--size-8) - 1);
125
- }
126
- .typeahead-lg.typeahead--multiple .typeahead__input-wrapper {
127
- padding-bottom: 8px;
128
- padding-bottom: var(--size-8);
129
- margin: 0;
130
- }
131
- .typeahead-lg.typeahead--multiple .typeahead__input-wrapper::after {
132
- content: none;
133
- }
134
- .typeahead-lg.typeahead--multiple .np-chip {
135
- margin-bottom: 0;
136
- }
137
- @keyframes slide {
138
- from {
139
- transform: translateX(-12px);
140
- }
141
- to {
142
- transform: none;
143
- }
144
- }
145
- @keyframes slideFirst {
146
- from {
147
- transform: translateX(-4px);
148
- }
149
- to {
150
- transform: none;
151
- }
152
- }
153
- @keyframes fadeIn {
154
- from {
155
- opacity: 0;
156
- }
157
- to {
158
- opacity: 0.6;
159
- }
160
- }
161
- @media (max-width: 599.98px) {
162
- .typeahead .dropdown.open .dropdown-menu {
163
- position: absolute;
164
- bottom: auto;
165
- overflow: scroll;
166
- }
167
- }
168
- .np-theme-personal .typeahead .input-group:not(.disabled):not(:disabled):not(.input-group--has-error):focus-within .tw-icon-search {
169
- color: var(--color-interactive-primary);
170
- }
171
- .np-theme-personal .typeahead .tw-icon-search {
172
- color: #c9cbce;
173
- color: var(--color-interactive-secondary);
174
- }
175
- .np-theme-personal .typeahead .np-chip {
176
- margin-top: 9px !important;
177
- }
178
- .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
179
- padding-right: 16px;
180
- padding-right: var(--size-16);
181
- }
182
- @media (max-width: 320px) {
183
- .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
184
- padding-right: 32px;
185
- padding-right: var(--size-32);
186
- }
187
- }
@@ -1,9 +0,0 @@
1
- .typeahead__option.tw-dropdown-item .dropdown-item:active strong {
2
- color: #ffffff;
3
- }
4
- .typeahead__option.tw-dropdown-item--focused {
5
- box-shadow: inset 0 0 0 1px #c9cbce;
6
- box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
7
- border-radius: 10px;
8
- border-radius: var(--radius-small);
9
- }
@@ -1,34 +0,0 @@
1
- .tw-droppable-lg {
2
- min-height: 346px;
3
- }
4
- .tw-droppable-lg .thumbnail {
5
- max-height: 72px;
6
- }
7
- .tw-droppable-md {
8
- min-height: 315px;
9
- }
10
- .tw-droppable-md .thumbnail {
11
- max-height: 72px;
12
- }
13
- .tw-droppable-sm {
14
- min-height: 245px;
15
- }
16
- .tw-droppable-lg .btn:focus-visible,
17
- .tw-droppable-md .btn:focus-visible,
18
- .tw-droppable-sm .btn:focus-visible {
19
- outline: var(--ring-outline-color) solid var(--ring-outline-width);
20
- outline-offset: var(--ring-outline-offset);
21
- }
22
- .upload-error-message {
23
- margin-top: 24px;
24
- margin-top: var(--padding-medium);
25
- border-top: 1px solid rgba(0,0,0,0.10196);
26
- border-top: 1px solid var(--color-border-neutral);
27
- text-align: start;
28
- }
29
- .upload-error-message .alert {
30
- min-width: 100px;
31
- }
32
- .np-theme-personal .droppable-dropping .droppable-complete-card {
33
- display: none;
34
- }
@@ -1,18 +0,0 @@
1
- .np-upload-input {
2
- --outerBorder: 1px solid var(--color-interactive-secondary);
3
- border-radius: 10px;
4
- border-radius: var(--radius-small);
5
- }
6
- .np-upload-input .np-upload-input__section {
7
- margin: 0;
8
- }
9
- .np-upload-input .np-upload-input__section:only-child .np-upload-input__item {
10
- border-radius: 10px;
11
- border-radius: var(--radius-small);
12
- border-bottom: var(--outerBorder);
13
- }
14
- .np-upload-input .np-upload-input__section:has(.np-upload-input__item:last-child.is-interactive:hover):not(:has(.np-upload-input__item-button:hover)) + .np-upload-input__section--uploader .np-upload-input__upload-button::before {
15
- left: 0;
16
- width: 100%;
17
- top: 0;
18
- }
@@ -1,90 +0,0 @@
1
- .np-upload-input__upload-button {
2
- position: relative;
3
- padding: 16px;
4
- padding: var(--size-16);
5
- display: flex;
6
- align-items: center;
7
- margin: 0;
8
- border-bottom-left-radius: 10px;
9
- border-bottom-left-radius: var(--radius-small);
10
- border-bottom-right-radius: 10px;
11
- border-bottom-right-radius: var(--radius-small);
12
- border: var(--outerBorder);
13
- cursor: pointer;
14
- }
15
- .np-upload-input__upload-button .np-upload-input__title {
16
- color: var(--color-content-link);
17
- -webkit-text-decoration: underline;
18
- text-decoration: underline;
19
- text-underline-offset: 0.3em;
20
- }
21
- .np-upload-input__upload-button .np-upload-input__title + .np-upload-input__text {
22
- margin-top: 4px;
23
- margin-top: var(--size-4);
24
- }
25
- .np-upload-input__upload-button .np-upload-input__icon {
26
- padding-right: 16px;
27
- padding-right: var(--size-16);
28
- color: var(--color-interactive-primary);
29
- }
30
- .np-upload-input__upload-button.is-dropping .np-upload-input__icon,
31
- .np-upload-input__upload-button.is-dropping .np-upload-input__item-content {
32
- display: none;
33
- }
34
- .np-upload-input__upload-button:focus-within,
35
- .np-upload-input__upload-button:focus-visible {
36
- outline: var(--ring-outline-color) solid 3px;
37
- outline-offset: -3px;
38
- }
39
- .np-upload-input__upload-button-input {
40
- position: absolute;
41
- opacity: 0;
42
- z-index: -1;
43
- }
44
- .np-upload-input__upload-button-input:focus {
45
- outline: none;
46
- }
47
- .np-upload-input__upload-button .np-upload-input__drop-file-overlay {
48
- display: flex;
49
- flex: 1;
50
- padding: 13px 0 !important;
51
- background-color: transparent;
52
- transition: transform 0.3s ease;
53
- position: relative;
54
- }
55
- .np-upload-input__upload-button--with-entries {
56
- border-top-width: 0;
57
- }
58
- .np-upload-input__upload-button--with-entries:before {
59
- display: block;
60
- position: absolute;
61
- height: 1px;
62
- background-color: rgba(0,0,0,0.10196);
63
- background-color: var(--color-border-neutral);
64
- content: " ";
65
- left: 16px;
66
- left: var(--size-16);
67
- width: calc(100% - 2 * 16px);
68
- width: calc(100% - 2 * var(--size-16));
69
- top: 0;
70
- }
71
- .np-upload-input__upload-button--without-entries {
72
- border-top: var(--outerBorder);
73
- border-radius: 10px;
74
- border-radius: var(--radius-small);
75
- }
76
- .np-upload-input__upload-button--enabled.is-dropping,
77
- .np-upload-input__upload-button--enabled:hover,
78
- .np-upload-input__upload-button--enabled:active {
79
- background: rgba(134,167,189,0.10196);
80
- background: var(--color-background-neutral);
81
- }
82
- .np-upload-input__upload-button--enabled.is-dropping:before,
83
- .np-upload-input__upload-button--enabled:hover:before,
84
- .np-upload-input__upload-button--enabled:active:before {
85
- width: 100%;
86
- left: 0;
87
- }
88
- .np-upload-input__upload-button--disabled {
89
- cursor: inherit;
90
- }