Skip to content

fix: CTORNDSD-654: update btn loader - #18

Merged
Zlodej43sm merged 5 commits into
developfrom
fix/CTORNDSD-654-btn-loader
Jul 24, 2026
Merged

fix: CTORNDSD-654: update btn loader#18
Zlodej43sm merged 5 commits into
developfrom
fix/CTORNDSD-654-btn-loader

Conversation

@Zlodej43sm

Copy link
Copy Markdown
Collaborator

No description provided.

… adjust theme dimensions

- Updated default theme sizes for `sm`, `md`, `lg`, `xl`, and added `xxl`.
- Refactored loader token size variants (`SizeVariant` keys replaced with string literals).
- Synced auto-generated documentation and metadata dates.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the UI theme tokens to make the Button’s loading spinner smaller by default, along with regeneration of derived artifacts (theme JSON, snapshots, AI docs) to reflect the token changes.

Changes:

  • Adjust button.loader.attrs.size default from mdsm.
  • Simplify loader token size maps to use string keys (xs|sm|md|lg|xl) instead of SizeVariant computed keys.
  • Regenerate derived outputs impacted by token changes (Storybook defaultTheme.json, snapshot, AI docs timestamps).

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
libs/ui/src/tokens/loader.ts Replaces SizeVariant computed keys with string size keys in loader tokens.
libs/ui/src/tokens/button.ts Changes default Button loader size token to sm.
libs/ui/src/components/molecules/AttachmentFile/snapshots/AttachmentFile.test.tsx.snap Updates snapshot for Loader styling/classname change.
libs/ui/src/ai/README.md Updates auto-generated components block timestamp.
libs/ui/llms.txt Updates auto-generated components block timestamp.
libs/ui/.storybook/public/defaultTheme.json Regenerates theme JSON to reflect updated tokens (incl. button loader size).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread libs/ui/src/tokens/button.ts
@Zlodej43sm
Zlodej43sm merged commit 868465a into develop Jul 24, 2026
4 checks passed
@Zlodej43sm
Zlodej43sm deleted the fix/CTORNDSD-654-btn-loader branch July 24, 2026 07:51
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.

3 participants