Button stepper and Markdown Processor FIX #71
Open
ZShubhi wants to merge 18 commits intocommon-snippet-prosfrom
Open
Button stepper and Markdown Processor FIX #71ZShubhi wants to merge 18 commits intocommon-snippet-prosfrom
ZShubhi wants to merge 18 commits intocommon-snippet-prosfrom
Conversation
|
@ZShubhi can you add screenshot |
| * @param onIncrementFail Callback invoked when attempting to increment beyond maxCount | ||
| * @param modifier The modifier to be applied to the component | ||
| * | ||
| * Created by AI Assistant |
Comment on lines
90
to
96
| SushiTextButton( | ||
| props = props, | ||
| onClick = onClick, | ||
| Modifier.fillMaxSize(), | ||
| content = content, | ||
| shouldUnderline = true | ||
| ) |
Comment on lines
74
to
86
| markdown = props.markdown, | ||
| textDecoration = if (shouldUnderline) SushiTextDecoration.Underline() | ||
| else null | ||
| markdown = props.markdown | ||
| ) | ||
| ) | ||
| if (!props.subText.isNullOrEmpty()) { | ||
| SushiText( | ||
| SushiTextProps( | ||
| text = props.subText, | ||
| color = appliedFontColor, | ||
| type = with(SushiButtonDefaults) { getSubtextTextStyle(textType).asTextTypeSpec() }, | ||
| textDecoration = if (shouldUnderline) SushiTextDecoration.Underline() | ||
| else null |
| * - Text: Button with only text, no background or border | ||
| * - Solid: Button with solid background color and text | ||
| * - Outline: Button with a border outline and text | ||
| * - Underline: Button with underlined text |
| fontColorDisabled = fontColorDisabled, | ||
| fontColorPressed = fontColorPressed, | ||
| fontColor = fontColor, | ||
| modifier = Modifier.fillMaxSize() |
| props = props, | ||
| isDisabled = isDisabled, | ||
| isTapped = isTapped.value, | ||
| shouldUnderline = shouldUnderline, |
| fontColorDisabled = fontColorDisabled, | ||
| fontColorPressed = fontColorPressed, | ||
| fontColor = fontColor, | ||
| modifier = modifier, |
| @@ -1,2 +1,2 @@ | |||
| #Mon Nov 3 13:02:40 UTC 2025 | |||
| VERSION_NAME=0.0.23 | |||
…se-sushi into shubhi_menu_compose
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.
Added button stepper