Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(custom-button): split custom button by desktop / mobile #1472

Merged
merged 8 commits into from
Dec 26, 2024

Conversation

fulcanellee
Copy link
Collaborator

Добавляет возможность использовать custom button для desktop / mobile по отдельности

Copy link

changeset-bot bot commented Nov 29, 2024

🦋 Changeset detected

Latest commit: c4d1721

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@alfalab/core-components-custom-button Minor
@alfalab/core-components-custom-picker-button Patch

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

@core-ds-bot
Copy link
Collaborator

core-ds-bot commented Nov 29, 2024

Bundle size report

Entry point Size (minified)
custom-button/desktop.js 8.2 (+8.20 KB🔺)
custom-button/mobile.js 8.2 (+8.20 KB🔺)

@coveralls
Copy link

coveralls commented Nov 29, 2024

Pull Request Test Coverage Report for Build 12462101745

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 35 of 35 (100.0%) changed or added relevant lines in 5 files are covered.
  • 10 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+0.01%) to 82.317%

Files with Coverage Reduction New Missed Lines %
packages/accordion/src/Component.tsx 1 92.86%
packages/input/src/components/base-input/Component.tsx 3 94.52%
packages/select/src/components/options-list/Component.tsx 6 75.0%
Totals Coverage Status
Change from base Build 12270799444: 0.01%
Covered Lines: 10651
Relevant Lines: 11810

💛 - Coveralls

@core-ds-bot
Copy link
Collaborator

Собрана новая демка.

@denisx
Copy link
Contributor

denisx commented Nov 29, 2024

добавь плез sideEffects: false в package.json этого пакета. ему полегче станет

@fulcanellee fulcanellee changed the title feat(custom-button): slit custom button by desktop / mobile feat(custom-button): split custom button by desktop / mobile Dec 2, 2024
.changeset/tall-mugs-clap.md Outdated Show resolved Hide resolved
packages/custom-button/src/Component.tsx Outdated Show resolved Hide resolved
packages/custom-button/src/mobile/Component.mobile.tsx Outdated Show resolved Hide resolved
@core-ds-bot
Copy link
Collaborator

Собрана новая демка.

@fulcanellee
Copy link
Collaborator Author

Переделал реализацию. Теперь разделение проходит через базовый (base) компонент. Просьба проверить заново.

@fulcanellee fulcanellee force-pushed the feat/custom-button_split branch from ce7b9cf to 0890ee2 Compare December 11, 2024 08:08
@fulcanellee fulcanellee requested a review from hextion December 11, 2024 08:15
@core-ds-bot
Copy link
Collaborator

Собрана новая демка.

@core-ds-bot
Copy link
Collaborator

Собрана новая демка.

@core-ds-bot
Copy link
Collaborator

Собрана новая демка.

@SiebenSieben SiebenSieben requested a review from Oladii December 25, 2024 17:26
@SiebenSieben
Copy link
Contributor

@Oladii

@fulcanellee fulcanellee merged commit cefed5b into master Dec 26, 2024
7 checks passed
@fulcanellee fulcanellee deleted the feat/custom-button_split branch December 26, 2024 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants