@transferwise/components 0.0.0-experimental-a9ab536 → 0.0.0-experimental-74c86e4
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/dateInput/DateInput.js +5 -12
- package/build/dateInput/DateInput.js.map +1 -1
- package/build/dateInput/DateInput.mjs +4 -11
- package/build/dateInput/DateInput.mjs.map +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js +8 -16
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js.map +1 -1
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs +6 -14
- package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs.map +1 -1
- package/build/index.js +7 -14
- package/build/index.js.map +1 -1
- package/build/index.mjs +3 -10
- package/build/index.mjs.map +1 -1
- package/build/inputs/SelectInput.js +890 -0
- package/build/inputs/SelectInput.js.map +1 -0
- package/build/inputs/SelectInput.messages.js.map +1 -0
- package/build/inputs/SelectInput.messages.mjs.map +1 -0
- package/build/inputs/SelectInput.mjs +881 -0
- package/build/inputs/SelectInput.mjs.map +1 -0
- package/build/inputs/{SelectInput/BottomSheet/SelectInputBottomSheet.js → _BottomSheet.js} +7 -7
- package/build/inputs/_BottomSheet.js.map +1 -0
- package/build/inputs/{SelectInput/BottomSheet/SelectInputBottomSheet.mjs → _BottomSheet.mjs} +7 -7
- package/build/inputs/_BottomSheet.mjs.map +1 -0
- package/build/inputs/{SelectInput/ButtonInput/SelectInputButtonInput.js → _ButtonInput.js} +5 -5
- package/build/inputs/_ButtonInput.js.map +1 -0
- package/build/inputs/{SelectInput/ButtonInput/SelectInputButtonInput.mjs → _ButtonInput.mjs} +5 -5
- package/build/inputs/_ButtonInput.mjs.map +1 -0
- package/build/inputs/{SelectInput/Popover/SelectInputPopover.js → _Popover.js} +4 -4
- package/build/inputs/_Popover.js.map +1 -0
- package/build/inputs/{SelectInput/Popover/SelectInputPopover.mjs → _Popover.mjs} +4 -4
- package/build/inputs/_Popover.mjs.map +1 -0
- package/build/main.css +90 -90
- package/build/moneyInput/MoneyInput.js +2 -9
- package/build/moneyInput/MoneyInput.js.map +1 -1
- package/build/moneyInput/MoneyInput.mjs +1 -8
- package/build/moneyInput/MoneyInput.mjs.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.js +3 -10
- package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
- package/build/phoneNumberInput/PhoneNumberInput.mjs +2 -9
- package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
- package/build/styles/main.css +90 -90
- package/build/types/inputs/{SelectInput/SelectInput.types.d.ts → SelectInput.d.ts} +38 -12
- package/build/types/inputs/SelectInput.d.ts.map +1 -0
- package/build/types/inputs/SelectInput.messages.d.ts.map +1 -0
- package/build/types/inputs/{SelectInput/BottomSheet/SelectInputBottomSheet.d.ts → _BottomSheet.d.ts} +3 -3
- package/build/types/inputs/_BottomSheet.d.ts.map +1 -0
- package/build/types/inputs/_ButtonInput.d.ts +5 -0
- package/build/types/inputs/_ButtonInput.d.ts.map +1 -0
- package/build/types/inputs/{SelectInput/Popover/SelectInputPopover.d.ts → _Popover.d.ts} +3 -3
- package/build/types/inputs/_Popover.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/inputs/{SelectInput/_stories/SelectInput.docs.mdx → SelectInput.docs.mdx} +1 -0
- package/src/inputs/SelectInput.less +219 -0
- package/src/inputs/{SelectInput/_stories/SelectInput.story.tsx → SelectInput.story.tsx} +8 -11
- package/src/inputs/{SelectInput/_stories/SelectInput.test.story.tsx → SelectInput.test.story.tsx} +10 -5
- package/src/inputs/{SelectInput/SelectInput.test.tsx → SelectInput.test.tsx} +11 -9
- package/src/inputs/SelectInput.tsx +1269 -0
- package/src/inputs/{SelectInput/BottomSheet/SelectInputBottomSheet.tsx → _BottomSheet.tsx} +7 -7
- package/src/inputs/{SelectInput/ButtonInput/SelectInputButtonInput.tsx → _ButtonInput.tsx} +5 -5
- package/src/inputs/{SelectInput/Popover/SelectInputPopover.tsx → _Popover.tsx} +4 -4
- package/src/main.css +90 -90
- package/src/main.less +1 -1
- package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +0 -1
- package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +0 -1
- package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.js.map +0 -1
- package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.mjs.map +0 -1
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js +0 -27
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js.map +0 -1
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs +0 -25
- package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs.map +0 -1
- package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js +0 -59
- package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js.map +0 -1
- package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs +0 -56
- package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs.map +0 -1
- package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js +0 -50
- package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js.map +0 -1
- package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs +0 -48
- package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs.map +0 -1
- package/build/inputs/SelectInput/ItemView/SelectInputItemView.js +0 -47
- package/build/inputs/SelectInput/ItemView/SelectInputItemView.js.map +0 -1
- package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs +0 -45
- package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs.map +0 -1
- package/build/inputs/SelectInput/Option/SelectInputOption.js +0 -42
- package/build/inputs/SelectInput/Option/SelectInputOption.js.map +0 -1
- package/build/inputs/SelectInput/Option/SelectInputOption.mjs +0 -40
- package/build/inputs/SelectInput/Option/SelectInputOption.mjs.map +0 -1
- package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js +0 -40
- package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +0 -1
- package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +0 -38
- package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +0 -1
- package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js +0 -48
- package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js.map +0 -1
- package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs +0 -46
- package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs.map +0 -1
- package/build/inputs/SelectInput/Options/SelectInputOptions.js +0 -300
- package/build/inputs/SelectInput/Options/SelectInputOptions.js.map +0 -1
- package/build/inputs/SelectInput/Options/SelectInputOptions.mjs +0 -298
- package/build/inputs/SelectInput/Options/SelectInputOptions.mjs.map +0 -1
- package/build/inputs/SelectInput/Popover/SelectInputPopover.js.map +0 -1
- package/build/inputs/SelectInput/Popover/SelectInputPopover.mjs.map +0 -1
- package/build/inputs/SelectInput/SelectInput.contexts.js +0 -29
- package/build/inputs/SelectInput/SelectInput.contexts.js.map +0 -1
- package/build/inputs/SelectInput/SelectInput.contexts.mjs +0 -24
- package/build/inputs/SelectInput/SelectInput.contexts.mjs.map +0 -1
- package/build/inputs/SelectInput/SelectInput.js +0 -222
- package/build/inputs/SelectInput/SelectInput.js.map +0 -1
- package/build/inputs/SelectInput/SelectInput.messages.js.map +0 -1
- package/build/inputs/SelectInput/SelectInput.messages.mjs.map +0 -1
- package/build/inputs/SelectInput/SelectInput.mjs +0 -216
- package/build/inputs/SelectInput/SelectInput.mjs.map +0 -1
- package/build/inputs/SelectInput/SelectInput.utils.js +0 -164
- package/build/inputs/SelectInput/SelectInput.utils.js.map +0 -1
- package/build/inputs/SelectInput/SelectInput.utils.mjs +0 -154
- package/build/inputs/SelectInput/SelectInput.utils.mjs.map +0 -1
- package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js +0 -43
- package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js.map +0 -1
- package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs +0 -37
- package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs.map +0 -1
- package/build/styles/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +0 -96
- package/build/styles/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +0 -16
- package/build/styles/inputs/SelectInput/ClearButton/SelectInputClearButton.css +0 -46
- package/build/styles/inputs/SelectInput/ItemView/SelectInputItemView.css +0 -16
- package/build/styles/inputs/SelectInput/Option/SelectInputOption.css +0 -33
- package/build/styles/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +0 -37
- package/build/styles/inputs/SelectInput/Options/SelectInputOptions.css +0 -81
- package/build/styles/inputs/SelectInput/Popover/SelectInputPopover.css +0 -46
- package/build/types/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/BottomSheet/index.d.ts +0 -3
- package/build/types/inputs/SelectInput/BottomSheet/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts +0 -5
- package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ButtonInput/index.d.ts +0 -3
- package/build/types/inputs/SelectInput/ButtonInput/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts +0 -7
- package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ClearButton/index.d.ts +0 -3
- package/build/types/inputs/SelectInput/ClearButton/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts +0 -16
- package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts +0 -2
- package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts +0 -12
- package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts +0 -3
- package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts +0 -14
- package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/ItemView/index.d.ts +0 -4
- package/build/types/inputs/SelectInput/ItemView/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts +0 -14
- package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Option/index.d.ts +0 -3
- package/build/types/inputs/SelectInput/Option/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts +0 -16
- package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/OptionContent/index.d.ts +0 -3
- package/build/types/inputs/SelectInput/OptionContent/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts +0 -12
- package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts +0 -3
- package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts +0 -21
- package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Options/index.d.ts +0 -4
- package/build/types/inputs/SelectInput/Options/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/Popover/index.d.ts +0 -3
- package/build/types/inputs/SelectInput/Popover/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts +0 -33
- package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/SelectInput.d.ts +0 -10
- package/build/types/inputs/SelectInput/SelectInput.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/SelectInput.messages.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/SelectInput.types.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/SelectInput.utils.d.ts +0 -61
- package/build/types/inputs/SelectInput/SelectInput.utils.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts +0 -18
- package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/TriggerButton/index.d.ts +0 -3
- package/build/types/inputs/SelectInput/TriggerButton/index.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/components.d.ts +0 -10
- package/build/types/inputs/SelectInput/components.d.ts.map +0 -1
- package/build/types/inputs/SelectInput/index.d.ts +0 -12
- package/build/types/inputs/SelectInput/index.d.ts.map +0 -1
- package/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +0 -96
- package/src/inputs/SelectInput/BottomSheet/index.ts +0 -2
- package/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +0 -16
- package/src/inputs/SelectInput/ButtonInput/index.ts +0 -2
- package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.css +0 -46
- package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.less +0 -40
- package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.tsx +0 -29
- package/src/inputs/SelectInput/ClearButton/index.ts +0 -2
- package/src/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.tsx +0 -74
- package/src/inputs/SelectInput/DefaultRenderTrigger/index.ts +0 -5
- package/src/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.tsx +0 -64
- package/src/inputs/SelectInput/ItemView/GroupItemView/index.ts +0 -2
- package/src/inputs/SelectInput/ItemView/SelectInputItemView.css +0 -16
- package/src/inputs/SelectInput/ItemView/SelectInputItemView.less +0 -17
- package/src/inputs/SelectInput/ItemView/SelectInputItemView.tsx +0 -51
- package/src/inputs/SelectInput/ItemView/index.ts +0 -3
- package/src/inputs/SelectInput/Option/SelectInputOption.css +0 -33
- package/src/inputs/SelectInput/Option/SelectInputOption.less +0 -32
- package/src/inputs/SelectInput/Option/SelectInputOption.tsx +0 -60
- package/src/inputs/SelectInput/Option/index.ts +0 -2
- package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +0 -37
- package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.less +0 -38
- package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +0 -75
- package/src/inputs/SelectInput/OptionContent/index.ts +0 -2
- package/src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.tsx +0 -62
- package/src/inputs/SelectInput/Options/OptionsContainer/index.ts +0 -2
- package/src/inputs/SelectInput/Options/SelectInputOptions.css +0 -81
- package/src/inputs/SelectInput/Options/SelectInputOptions.less +0 -77
- package/src/inputs/SelectInput/Options/SelectInputOptions.tsx +0 -418
- package/src/inputs/SelectInput/Options/index.ts +0 -3
- package/src/inputs/SelectInput/Popover/SelectInputPopover.css +0 -46
- package/src/inputs/SelectInput/Popover/index.ts +0 -2
- package/src/inputs/SelectInput/SelectInput.contexts.tsx +0 -40
- package/src/inputs/SelectInput/SelectInput.less +0 -22
- package/src/inputs/SelectInput/SelectInput.tsx +0 -258
- package/src/inputs/SelectInput/SelectInput.types.ts +0 -113
- package/src/inputs/SelectInput/SelectInput.utils.ts +0 -206
- package/src/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.tsx +0 -44
- package/src/inputs/SelectInput/TriggerButton/index.ts +0 -5
- package/src/inputs/SelectInput/components.ts +0 -10
- package/src/inputs/SelectInput/index.ts +0 -14
- package/build/inputs/{SelectInput/SelectInput.messages.js → SelectInput.messages.js} +0 -0
- package/build/inputs/{SelectInput/SelectInput.messages.mjs → SelectInput.messages.mjs} +0 -0
- package/{src/inputs/SelectInput → build/styles/inputs}/SelectInput.css +90 -90
- package/build/types/inputs/{SelectInput/SelectInput.messages.d.ts → SelectInput.messages.d.ts} +0 -0
- package/{build/styles/inputs/SelectInput → src/inputs}/SelectInput.css +90 -90
- /package/src/inputs/{SelectInput/SelectInput.messages.ts → SelectInput.messages.ts} +0 -0
- /package/src/inputs/{SelectInput/BottomSheet/SelectInputBottomSheet.less → _BottomSheet.less} +0 -0
- /package/src/inputs/{SelectInput/ButtonInput/SelectInputButtonInput.less → _ButtonInput.less} +0 -0
- /package/src/inputs/{SelectInput/Popover/SelectInputPopover.less → _Popover.less} +0 -0
|
@@ -156,91 +156,14 @@
|
|
|
156
156
|
color: #5d7079;
|
|
157
157
|
color: var(--color-content-secondary);
|
|
158
158
|
}
|
|
159
|
-
.np-select-input-
|
|
160
|
-
display: flex;
|
|
161
|
-
cursor: default;
|
|
162
|
-
-webkit-user-select: none;
|
|
163
|
-
-moz-user-select: none;
|
|
164
|
-
user-select: none;
|
|
165
|
-
align-items: center;
|
|
166
|
-
-moz-column-gap: 8px;
|
|
167
|
-
column-gap: 8px;
|
|
168
|
-
-moz-column-gap: var(--size-8);
|
|
169
|
-
column-gap: var(--size-8);
|
|
170
|
-
border-radius: 10px;
|
|
171
|
-
border-radius: var(--radius-small);
|
|
172
|
-
padding: 12px 16px;
|
|
173
|
-
padding: var(--size-12) var(--size-16);
|
|
174
|
-
color: var(--color-interactive-primary);
|
|
175
|
-
}
|
|
176
|
-
.np-select-input-option-container:focus {
|
|
177
|
-
outline: none;
|
|
178
|
-
}
|
|
179
|
-
.np-select-input-option-container--active {
|
|
180
|
-
box-shadow: inset 0 0 0 1px #c9cbce;
|
|
181
|
-
box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
|
|
182
|
-
}
|
|
183
|
-
.np-select-input-option-container--disabled {
|
|
184
|
-
opacity: 0.45;
|
|
185
|
-
}
|
|
186
|
-
.np-select-input-option-check--not-selected {
|
|
187
|
-
visibility: hidden;
|
|
188
|
-
}
|
|
189
|
-
.np-select-input-option {
|
|
190
|
-
flex: 1;
|
|
191
|
-
}
|
|
192
|
-
.np-select-input-option-content-container {
|
|
193
|
-
display: flex;
|
|
194
|
-
align-items: center;
|
|
195
|
-
-moz-column-gap: 8px;
|
|
196
|
-
column-gap: 8px;
|
|
197
|
-
-moz-column-gap: var(--size-8);
|
|
198
|
-
column-gap: var(--size-8);
|
|
199
|
-
color: #37517e;
|
|
200
|
-
color: var(--color-content-primary);
|
|
201
|
-
}
|
|
202
|
-
.np-select-input-option-content-icon {
|
|
203
|
-
display: flex;
|
|
204
|
-
}
|
|
205
|
-
.np-select-input-option-content-icon--not-within-trigger {
|
|
206
|
-
align-self: flex-start;
|
|
207
|
-
}
|
|
208
|
-
.np-select-input-option-content-text {
|
|
209
|
-
display: flex;
|
|
210
|
-
flex: 1;
|
|
211
|
-
flex-direction: column;
|
|
212
|
-
overflow: hidden;
|
|
213
|
-
}
|
|
214
|
-
.np-select-input-option-content-text-secondary {
|
|
215
|
-
color: #5d7079;
|
|
216
|
-
color: var(--color-content-secondary);
|
|
217
|
-
}
|
|
218
|
-
.np-select-input-option-content-text-within-trigger {
|
|
159
|
+
.np-select-input-content {
|
|
219
160
|
overflow: hidden;
|
|
220
161
|
text-overflow: ellipsis;
|
|
221
162
|
white-space: nowrap;
|
|
222
163
|
}
|
|
223
|
-
.np-select-input-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
margin-left: 8px;
|
|
227
|
-
margin-left: var(--size-8);
|
|
228
|
-
}
|
|
229
|
-
.np-select-input-group-item--without-needle:first-child {
|
|
230
|
-
margin-top: calc(-1 * 8px);
|
|
231
|
-
margin-top: calc(-1 * var(--size-8));
|
|
232
|
-
}
|
|
233
|
-
.np-select-input-group-item-header {
|
|
234
|
-
position: sticky;
|
|
235
|
-
top: 0px;
|
|
236
|
-
z-index: 10;
|
|
237
|
-
background-color: #ffffff;
|
|
238
|
-
background-color: var(--color-background-elevated);
|
|
239
|
-
}
|
|
240
|
-
.np-select-input-separator-item {
|
|
241
|
-
margin: 8px;
|
|
242
|
-
margin: var(--size-8);
|
|
243
|
-
border-top-width: 1px;
|
|
164
|
+
.np-select-input-placeholder {
|
|
165
|
+
color: #768e9c;
|
|
166
|
+
color: var(--color-content-tertiary);
|
|
244
167
|
}
|
|
245
168
|
.np-select-input-options-container {
|
|
246
169
|
display: flex;
|
|
@@ -319,6 +242,92 @@
|
|
|
319
242
|
contain: strict;
|
|
320
243
|
height: 100%;
|
|
321
244
|
}
|
|
245
|
+
.np-select-input-separator-item {
|
|
246
|
+
margin: 8px;
|
|
247
|
+
margin: var(--size-8);
|
|
248
|
+
border-top-width: 1px;
|
|
249
|
+
}
|
|
250
|
+
.np-select-input-group-item--without-needle:first-child {
|
|
251
|
+
margin-top: calc(-1 * 8px);
|
|
252
|
+
margin-top: calc(-1 * var(--size-8));
|
|
253
|
+
}
|
|
254
|
+
.np-select-input-group-item-header {
|
|
255
|
+
position: sticky;
|
|
256
|
+
top: 0px;
|
|
257
|
+
z-index: 10;
|
|
258
|
+
background-color: #ffffff;
|
|
259
|
+
background-color: var(--color-background-elevated);
|
|
260
|
+
}
|
|
261
|
+
.np-select-input-option-container {
|
|
262
|
+
display: flex;
|
|
263
|
+
cursor: default;
|
|
264
|
+
-webkit-user-select: none;
|
|
265
|
+
-moz-user-select: none;
|
|
266
|
+
user-select: none;
|
|
267
|
+
align-items: center;
|
|
268
|
+
-moz-column-gap: 8px;
|
|
269
|
+
column-gap: 8px;
|
|
270
|
+
-moz-column-gap: var(--size-8);
|
|
271
|
+
column-gap: var(--size-8);
|
|
272
|
+
border-radius: 10px;
|
|
273
|
+
border-radius: var(--radius-small);
|
|
274
|
+
padding: 12px 16px;
|
|
275
|
+
padding: var(--size-12) var(--size-16);
|
|
276
|
+
color: var(--color-interactive-primary);
|
|
277
|
+
}
|
|
278
|
+
.np-select-input-option-container:focus {
|
|
279
|
+
outline: none;
|
|
280
|
+
}
|
|
281
|
+
.np-select-input-option-container--active {
|
|
282
|
+
box-shadow: inset 0 0 0 1px #c9cbce;
|
|
283
|
+
box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
|
|
284
|
+
}
|
|
285
|
+
.np-select-input-option-container--disabled {
|
|
286
|
+
opacity: 0.45;
|
|
287
|
+
}
|
|
288
|
+
.np-select-input-option-check--not-selected {
|
|
289
|
+
visibility: hidden;
|
|
290
|
+
}
|
|
291
|
+
.np-select-input-option {
|
|
292
|
+
flex: 1;
|
|
293
|
+
}
|
|
294
|
+
.np-select-input-option-content-container {
|
|
295
|
+
display: flex;
|
|
296
|
+
align-items: center;
|
|
297
|
+
-moz-column-gap: 8px;
|
|
298
|
+
column-gap: 8px;
|
|
299
|
+
-moz-column-gap: var(--size-8);
|
|
300
|
+
column-gap: var(--size-8);
|
|
301
|
+
color: #37517e;
|
|
302
|
+
color: var(--color-content-primary);
|
|
303
|
+
}
|
|
304
|
+
.np-select-input-option-content-icon {
|
|
305
|
+
display: flex;
|
|
306
|
+
}
|
|
307
|
+
.np-select-input-option-content-icon--not-within-trigger {
|
|
308
|
+
align-self: flex-start;
|
|
309
|
+
}
|
|
310
|
+
.np-select-input-option-content-text {
|
|
311
|
+
display: flex;
|
|
312
|
+
flex: 1;
|
|
313
|
+
flex-direction: column;
|
|
314
|
+
overflow: hidden;
|
|
315
|
+
}
|
|
316
|
+
.np-select-input-option-content-text-secondary {
|
|
317
|
+
color: #5d7079;
|
|
318
|
+
color: var(--color-content-secondary);
|
|
319
|
+
}
|
|
320
|
+
.np-select-input-option-content-text-within-trigger {
|
|
321
|
+
overflow: hidden;
|
|
322
|
+
text-overflow: ellipsis;
|
|
323
|
+
white-space: nowrap;
|
|
324
|
+
}
|
|
325
|
+
.np-select-input-option-content-text-line-1 > :not([hidden]) ~ :not([hidden]) {
|
|
326
|
+
margin-right: 8px;
|
|
327
|
+
margin-right: var(--size-8);
|
|
328
|
+
margin-left: 8px;
|
|
329
|
+
margin-left: var(--size-8);
|
|
330
|
+
}
|
|
322
331
|
.np-select-input-footer {
|
|
323
332
|
padding: 4px 24px 16px;
|
|
324
333
|
padding: var(--size-4) var(--size-24) var(--size-16);
|
|
@@ -369,12 +378,3 @@
|
|
|
369
378
|
border-inline-start: 1px solid rgba(0,0,0,0.10196);
|
|
370
379
|
border-inline-start: 1px solid var(--color-border-neutral);
|
|
371
380
|
}
|
|
372
|
-
.np-select-input-content {
|
|
373
|
-
overflow: hidden;
|
|
374
|
-
text-overflow: ellipsis;
|
|
375
|
-
white-space: nowrap;
|
|
376
|
-
}
|
|
377
|
-
.np-select-input-placeholder {
|
|
378
|
-
color: #768e9c;
|
|
379
|
-
color: var(--color-content-tertiary);
|
|
380
|
-
}
|
package/build/types/inputs/{SelectInput/SelectInput.messages.d.ts → SelectInput.messages.d.ts}
RENAMED
|
File without changes
|
|
@@ -156,91 +156,14 @@
|
|
|
156
156
|
color: #5d7079;
|
|
157
157
|
color: var(--color-content-secondary);
|
|
158
158
|
}
|
|
159
|
-
.np-select-input-
|
|
160
|
-
display: flex;
|
|
161
|
-
cursor: default;
|
|
162
|
-
-webkit-user-select: none;
|
|
163
|
-
-moz-user-select: none;
|
|
164
|
-
user-select: none;
|
|
165
|
-
align-items: center;
|
|
166
|
-
-moz-column-gap: 8px;
|
|
167
|
-
column-gap: 8px;
|
|
168
|
-
-moz-column-gap: var(--size-8);
|
|
169
|
-
column-gap: var(--size-8);
|
|
170
|
-
border-radius: 10px;
|
|
171
|
-
border-radius: var(--radius-small);
|
|
172
|
-
padding: 12px 16px;
|
|
173
|
-
padding: var(--size-12) var(--size-16);
|
|
174
|
-
color: var(--color-interactive-primary);
|
|
175
|
-
}
|
|
176
|
-
.np-select-input-option-container:focus {
|
|
177
|
-
outline: none;
|
|
178
|
-
}
|
|
179
|
-
.np-select-input-option-container--active {
|
|
180
|
-
box-shadow: inset 0 0 0 1px #c9cbce;
|
|
181
|
-
box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
|
|
182
|
-
}
|
|
183
|
-
.np-select-input-option-container--disabled {
|
|
184
|
-
opacity: 0.45;
|
|
185
|
-
}
|
|
186
|
-
.np-select-input-option-check--not-selected {
|
|
187
|
-
visibility: hidden;
|
|
188
|
-
}
|
|
189
|
-
.np-select-input-option {
|
|
190
|
-
flex: 1;
|
|
191
|
-
}
|
|
192
|
-
.np-select-input-option-content-container {
|
|
193
|
-
display: flex;
|
|
194
|
-
align-items: center;
|
|
195
|
-
-moz-column-gap: 8px;
|
|
196
|
-
column-gap: 8px;
|
|
197
|
-
-moz-column-gap: var(--size-8);
|
|
198
|
-
column-gap: var(--size-8);
|
|
199
|
-
color: #37517e;
|
|
200
|
-
color: var(--color-content-primary);
|
|
201
|
-
}
|
|
202
|
-
.np-select-input-option-content-icon {
|
|
203
|
-
display: flex;
|
|
204
|
-
}
|
|
205
|
-
.np-select-input-option-content-icon--not-within-trigger {
|
|
206
|
-
align-self: flex-start;
|
|
207
|
-
}
|
|
208
|
-
.np-select-input-option-content-text {
|
|
209
|
-
display: flex;
|
|
210
|
-
flex: 1;
|
|
211
|
-
flex-direction: column;
|
|
212
|
-
overflow: hidden;
|
|
213
|
-
}
|
|
214
|
-
.np-select-input-option-content-text-secondary {
|
|
215
|
-
color: #5d7079;
|
|
216
|
-
color: var(--color-content-secondary);
|
|
217
|
-
}
|
|
218
|
-
.np-select-input-option-content-text-within-trigger {
|
|
159
|
+
.np-select-input-content {
|
|
219
160
|
overflow: hidden;
|
|
220
161
|
text-overflow: ellipsis;
|
|
221
162
|
white-space: nowrap;
|
|
222
163
|
}
|
|
223
|
-
.np-select-input-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
margin-left: 8px;
|
|
227
|
-
margin-left: var(--size-8);
|
|
228
|
-
}
|
|
229
|
-
.np-select-input-group-item--without-needle:first-child {
|
|
230
|
-
margin-top: calc(-1 * 8px);
|
|
231
|
-
margin-top: calc(-1 * var(--size-8));
|
|
232
|
-
}
|
|
233
|
-
.np-select-input-group-item-header {
|
|
234
|
-
position: sticky;
|
|
235
|
-
top: 0px;
|
|
236
|
-
z-index: 10;
|
|
237
|
-
background-color: #ffffff;
|
|
238
|
-
background-color: var(--color-background-elevated);
|
|
239
|
-
}
|
|
240
|
-
.np-select-input-separator-item {
|
|
241
|
-
margin: 8px;
|
|
242
|
-
margin: var(--size-8);
|
|
243
|
-
border-top-width: 1px;
|
|
164
|
+
.np-select-input-placeholder {
|
|
165
|
+
color: #768e9c;
|
|
166
|
+
color: var(--color-content-tertiary);
|
|
244
167
|
}
|
|
245
168
|
.np-select-input-options-container {
|
|
246
169
|
display: flex;
|
|
@@ -319,6 +242,92 @@
|
|
|
319
242
|
contain: strict;
|
|
320
243
|
height: 100%;
|
|
321
244
|
}
|
|
245
|
+
.np-select-input-separator-item {
|
|
246
|
+
margin: 8px;
|
|
247
|
+
margin: var(--size-8);
|
|
248
|
+
border-top-width: 1px;
|
|
249
|
+
}
|
|
250
|
+
.np-select-input-group-item--without-needle:first-child {
|
|
251
|
+
margin-top: calc(-1 * 8px);
|
|
252
|
+
margin-top: calc(-1 * var(--size-8));
|
|
253
|
+
}
|
|
254
|
+
.np-select-input-group-item-header {
|
|
255
|
+
position: sticky;
|
|
256
|
+
top: 0px;
|
|
257
|
+
z-index: 10;
|
|
258
|
+
background-color: #ffffff;
|
|
259
|
+
background-color: var(--color-background-elevated);
|
|
260
|
+
}
|
|
261
|
+
.np-select-input-option-container {
|
|
262
|
+
display: flex;
|
|
263
|
+
cursor: default;
|
|
264
|
+
-webkit-user-select: none;
|
|
265
|
+
-moz-user-select: none;
|
|
266
|
+
user-select: none;
|
|
267
|
+
align-items: center;
|
|
268
|
+
-moz-column-gap: 8px;
|
|
269
|
+
column-gap: 8px;
|
|
270
|
+
-moz-column-gap: var(--size-8);
|
|
271
|
+
column-gap: var(--size-8);
|
|
272
|
+
border-radius: 10px;
|
|
273
|
+
border-radius: var(--radius-small);
|
|
274
|
+
padding: 12px 16px;
|
|
275
|
+
padding: var(--size-12) var(--size-16);
|
|
276
|
+
color: var(--color-interactive-primary);
|
|
277
|
+
}
|
|
278
|
+
.np-select-input-option-container:focus {
|
|
279
|
+
outline: none;
|
|
280
|
+
}
|
|
281
|
+
.np-select-input-option-container--active {
|
|
282
|
+
box-shadow: inset 0 0 0 1px #c9cbce;
|
|
283
|
+
box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
|
|
284
|
+
}
|
|
285
|
+
.np-select-input-option-container--disabled {
|
|
286
|
+
opacity: 0.45;
|
|
287
|
+
}
|
|
288
|
+
.np-select-input-option-check--not-selected {
|
|
289
|
+
visibility: hidden;
|
|
290
|
+
}
|
|
291
|
+
.np-select-input-option {
|
|
292
|
+
flex: 1;
|
|
293
|
+
}
|
|
294
|
+
.np-select-input-option-content-container {
|
|
295
|
+
display: flex;
|
|
296
|
+
align-items: center;
|
|
297
|
+
-moz-column-gap: 8px;
|
|
298
|
+
column-gap: 8px;
|
|
299
|
+
-moz-column-gap: var(--size-8);
|
|
300
|
+
column-gap: var(--size-8);
|
|
301
|
+
color: #37517e;
|
|
302
|
+
color: var(--color-content-primary);
|
|
303
|
+
}
|
|
304
|
+
.np-select-input-option-content-icon {
|
|
305
|
+
display: flex;
|
|
306
|
+
}
|
|
307
|
+
.np-select-input-option-content-icon--not-within-trigger {
|
|
308
|
+
align-self: flex-start;
|
|
309
|
+
}
|
|
310
|
+
.np-select-input-option-content-text {
|
|
311
|
+
display: flex;
|
|
312
|
+
flex: 1;
|
|
313
|
+
flex-direction: column;
|
|
314
|
+
overflow: hidden;
|
|
315
|
+
}
|
|
316
|
+
.np-select-input-option-content-text-secondary {
|
|
317
|
+
color: #5d7079;
|
|
318
|
+
color: var(--color-content-secondary);
|
|
319
|
+
}
|
|
320
|
+
.np-select-input-option-content-text-within-trigger {
|
|
321
|
+
overflow: hidden;
|
|
322
|
+
text-overflow: ellipsis;
|
|
323
|
+
white-space: nowrap;
|
|
324
|
+
}
|
|
325
|
+
.np-select-input-option-content-text-line-1 > :not([hidden]) ~ :not([hidden]) {
|
|
326
|
+
margin-right: 8px;
|
|
327
|
+
margin-right: var(--size-8);
|
|
328
|
+
margin-left: 8px;
|
|
329
|
+
margin-left: var(--size-8);
|
|
330
|
+
}
|
|
322
331
|
.np-select-input-footer {
|
|
323
332
|
padding: 4px 24px 16px;
|
|
324
333
|
padding: var(--size-4) var(--size-24) var(--size-16);
|
|
@@ -369,12 +378,3 @@
|
|
|
369
378
|
border-inline-start: 1px solid rgba(0,0,0,0.10196);
|
|
370
379
|
border-inline-start: 1px solid var(--color-border-neutral);
|
|
371
380
|
}
|
|
372
|
-
.np-select-input-content {
|
|
373
|
-
overflow: hidden;
|
|
374
|
-
text-overflow: ellipsis;
|
|
375
|
-
white-space: nowrap;
|
|
376
|
-
}
|
|
377
|
-
.np-select-input-placeholder {
|
|
378
|
-
color: #768e9c;
|
|
379
|
-
color: var(--color-content-tertiary);
|
|
380
|
-
}
|
|
File without changes
|
/package/src/inputs/{SelectInput/BottomSheet/SelectInputBottomSheet.less → _BottomSheet.less}
RENAMED
|
File without changes
|
/package/src/inputs/{SelectInput/ButtonInput/SelectInputButtonInput.less → _ButtonInput.less}
RENAMED
|
File without changes
|
|
File without changes
|