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

[CM-1253] Add dim effect to buttons #7

Merged
merged 5 commits into from
Mar 21, 2023

Conversation

SahilSainiYML
Copy link
Contributor

Introduction

Buttons should be disable once reach to max or min value.

Purpose

Increment and decrement buttons should be disable when the current value is equal to maximum or minimum value respectively.

Scope

Disable functionality for increment and decrement button.

📱 Screenshots

Disable increment button. Max value is set to 10.
Disable increment

Disable decrement button. Min value is set to 0.
Disable decrement

📈 Coverage

Code

Code coverage is ~97.5%.
Code coverage

Documentation

100% documentation of public APIs.
Jazzy report

Sources/YStepper/SwiftUI/Views/Stepper.swift Outdated Show resolved Hide resolved
Sources/YStepper/SwiftUI/Views/Stepper.swift Outdated Show resolved Hide resolved
Sources/YStepper/SwiftUI/Views/Stepper.swift Outdated Show resolved Hide resolved
Sources/YStepper/SwiftUI/Views/Stepper.swift Outdated Show resolved Hide resolved
Sources/YStepper/SwiftUI/Views/Stepper.swift Outdated Show resolved Hide resolved
Sources/YStepper/UIKit/StepperControl+Appearance.swift Outdated Show resolved Hide resolved
Tests/YStepperTests/Views/StepperTests.swift Show resolved Hide resolved
Sources/YStepper/SwiftUI/Views/Stepper.swift Outdated Show resolved Hide resolved
Sources/YStepper/SwiftUI/Views/Stepper.swift Outdated Show resolved Hide resolved
Sources/YStepper/SwiftUI/Views/Stepper.swift Outdated Show resolved Hide resolved
Sources/YStepper/UIKit/StepperControl+Appearance.swift Outdated Show resolved Hide resolved
Tests/YStepperTests/Views/StepperTests.swift Show resolved Hide resolved
@SahilSainiYML SahilSainiYML merged commit a97255d into main Mar 21, 2023
@SahilSainiYML SahilSainiYML deleted the feature/CM-1253-AddDimEffectAccessibilty branch March 21, 2023 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants