Conversation
🦋 Changeset detectedLatest commit: 7f1db78 The changes in this PR will be included in the next version bump. This PR includes changesets to release 10 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
Author
const OPTIONS = [
{ key: '1', content: 'Neptunium' },
{ key: '2', content: 'Plutonium' },
{ key: '3', content: 'Americium' },
{ key: '4', content: 'Curium' },
{ key: '5', content: 'Berkelium' },
{ key: '6', content: 'Californium' },
{ key: '7', content: 'Einsteinium' },
{ key: '8', content: 'Fermium' },
];
render(() => {
const [selectedFirst, setSelectedFirst] = React.useState([]);
return (
<div style={{ width: 320 }}>
<Select
allowUnselect={true}
size={56}
placeholder='Выберите элементы'
label='Множественный выбор'
Option={BaseOption}
multiple={true}
block={true}
optionProps={{
checkmarkPosition: 'before'
}}
{...useSelectWithApply({
options: OPTIONS,
checkmarkPosition: 'after',
showHeaderWithSelectAll: true,
selected: selectedFirst,
onChange: ({ selectedMultiple }) => {
setSelectedFirst(selectedMultiple.map((option) => option.key));
},
})}
/>
</div>
);
}); |
Contributor
|
Собрана новая демка. |
Pull Request Test Coverage Report for Build 19614830628Details
💛 - Coveralls |
fulcanellee
approved these changes
Jul 24, 2025
Oladii
approved these changes
Jul 24, 2025
hextion
requested changes
Aug 4, 2025
| })} | ||
| > | ||
| <Checkbox | ||
| className={cn({ |
Collaborator
There was a problem hiding this comment.
положение чекбокса скорее должно быть частью API Checkbox, а не исправляться здесь стилями.
и в самом Checkbox рисовать чекбокс условно, чтобы не полагаться на flex
checkmarkPosition === 'before' && <checkmark /> <content /> checkmarkPosition === 'after' && <checkmark />
Contributor
ea9ba89 to
ef74cc9
Compare
4f0e5c9 to
2878cd4
Compare
b795bce to
32d6150
Compare
cd4fe30 to
9433e50
Compare
Oladii
approved these changes
Dec 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
checkmarkPosition, позволяющий управлять положением чекбокса в "Выбрать всё"Чек лист
Если есть визуальные изменения
2025-07-24.00.17.57.mov