Skip to content

Feat/improve styling options#77

Merged
troberts-28 merged 3 commits into
developfrom
feat/improve-styling-options
Feb 25, 2026
Merged

Feat/improve styling options#77
troberts-28 merged 3 commits into
developfrom
feat/improve-styling-options

Conversation

@troberts-28
Copy link
Copy Markdown
Owner

@troberts-28 troberts-28 commented Feb 25, 2026

Note

Medium Risk
Touches core layout/styling calculations for label positioning and modal sizing, which may cause subtle visual regressions across different font sizes, max values, and platform rendering differences.

Overview
Adds new style controls to the picker: styles.pickerLabelGap (pixel-based label spacing) and styles.pickerColumnWidth (fixed column widths), each supporting a single number or per-column values, and deprecates the legacy percentage-based labelOffsetPercentage with runtime warnings.

Updates rendering/layout to use the new pixel-based label positioning (including AM/PM) and applies column widths at the DurationScroll container level; TimerPickerModal now auto-sizes its content width based on the visible columns’ configured widths and explicitly forwards hideDays/hideHours/hideMinutes/hideSeconds into the internal TimerPicker.

Refreshes README and example apps to demonstrate the new styling options (replacing labelOffsetPercentage usage) and adds repo tooling: ignore *.md in Prettier plus simple-git-hooks/lint-staged pre-commit auto-fix for JS/TS and formatting for JSON.

Written by Cursor Bugbot for commit d02544f. This will update automatically on new commits. Configure here.

@troberts-28 troberts-28 merged commit d8ae01b into develop Feb 25, 2026
@troberts-28 troberts-28 deleted the feat/improve-styling-options branch February 26, 2026 08:53
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.

1 participant