Skip to content

feat(lib): Bump button v3.3.0, expand button v3.2.0 and navigation button v3.3.0#3713

Open
louismaximepiton wants to merge 3 commits into
tokenator-update-tokens-20260722113803from
tokenator-lmp-update-buttons
Open

feat(lib): Bump button v3.3.0, expand button v3.2.0 and navigation button v3.3.0#3713
louismaximepiton wants to merge 3 commits into
tokenator-update-tokens-20260722113803from
tokenator-lmp-update-buttons

Conversation

@louismaximepiton

@louismaximepiton louismaximepiton commented Jul 23, 2026

Copy link
Copy Markdown
Member

@netlify

netlify Bot commented Jul 23, 2026

Copy link
Copy Markdown

Deploy Preview for boosted ready!

Name Link
🔨 Latest commit 51cc6c0
🔍 Latest deploy log https://app.netlify.com/projects/boosted/deploys/6a61de4d69aef30007492690
😎 Deploy Preview https://deploy-preview-3713--boosted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates OUDS Web’s button sizing API and migration tooling to reflect the latest upstream button changes (notably the deprecation of .btn-sm in favor of .btn-small), and documents the new sizing guidance.

Changes:

  • Document .btn-small sizing and update migration notes to reflect .btn-sm.btn-small and .btn-lg removal.
  • Update SCSS to support .btn-small and align internal component usage (e.g., quantity selector) with the new class name.
  • Update migrate replacement rules and snapshots to automatically migrate btn-sm to btn-small and reflect new CSS output.

Reviewed changes

Copilot reviewed 9 out of 11 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
site/src/content/docs/getting-started/migration-from-boosted.mdx Updates migration guidance for button size classes.
site/src/content/docs/components/buttons.mdx Adds a “Sizes” section documenting .btn-small with examples.
scss/_buttons.scss Introduces the .btn-small variant via CSS custom property overrides.
scss/forms/_quantity-selector.scss Aligns quantity selector styling with .btn-small instead of .btn-sm.
scss/_button-group.scss Minor comment update reflecting removal of .btn-sm/.btn-lg.
scss/tests/snapshot-tests/snapshots/ouds-web.css Updates CSS snapshot output for .btn-small and quantity selector selectors.
scss/tests/snapshot-tests/snapshots/ouds-web-bootstrap.css Updates Bootstrap CSS snapshot output for .btn-small and quantity selector selectors.
packages/migrate/src/replacements/boosted.mjs Changes migration behavior to replace btn-sm with btn-small (instead of warning).
packages/migrate/tests/source-boosted.html Updates migration fixture input for the btn-sm case.
packages/migrate/tests/snapshots/migrated-boosted.html Updates expected migrated output to use btn-small.
packages/migrate/src/migrate.spec.mjs Updates expected warnings list to remove the btn-sm deprecation warning.
Files not reviewed (2)
  • scss/tests/snapshot-tests/snapshots/ouds-web-bootstrap.css: Generated file
  • scss/tests/snapshot-tests/snapshots/ouds-web.css: Generated file
Comments suppressed due to low confidence (1)

site/src/content/docs/components/buttons.mdx:575

  • This sprite reference is hardcoded to /orange/docs/1.4/..., which will break on other brands and when the docs version changes. Use getVersionedDocsPath() like the other button examples in this file.
    <svg aria-hidden="true">
      <use xlink:href="/orange/docs/1.4/assets/img/ouds-web-sprite.svg#heart-empty"/>
    </svg>

Comment thread site/src/content/docs/getting-started/migration-from-boosted.mdx Outdated
Comment thread site/src/content/docs/components/buttons.mdx
Comment thread site/src/content/docs/components/buttons.mdx
@MaxLardenois

Copy link
Copy Markdown
Collaborator

Maybe do this here #3609 (comment)

@MaxLardenois MaxLardenois left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

1 suggestion, 1 question

Comment thread scss/_button-group.scss
}

// OUDS mod: no .btn-sm, nor .btn-lg
// OUDS mod: no .btn-sm, no .btn-lg

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nor was ok here (but it's a detail)


### Sizes

Buttons are available in two sizes. Add `.btn-small` to have a smaller button. Default size is medium.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I do not get the "Default size is medium" as the Default is just default on the design...


- <span class="tag tag-small tag-info"><span class="tag-status-icon"></span>Info</span> Button component has been updated to 3.3.0. Read more in the [button design changelog](https://r.orange.fr/r/S-ouds-doc-button_changelog).

- <span class="tag tag-small tag-info"><span class="tag-status-icon"></span>Info</span> Navigation button component has been updated to 3.3.0. Read more in the [button design changelog](https://r.orange.fr/r/S-ouds-doc-button_changelog).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- <span class="tag tag-small tag-info"><span class="tag-status-icon"></span>Info</span> Navigation button component has been updated to 3.3.0. Read more in the [button design changelog](https://r.orange.fr/r/S-ouds-doc-button_changelog).
- <span class="tag tag-small tag-info"><span class="tag-status-icon"></span>Info</span> Navigation button component has been updated to 3.3.0 with no outward changes. Read more in the [button design changelog](https://r.orange.fr/r/S-ouds-doc-button_changelog).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Need Dev Review

Development

Successfully merging this pull request may close these issues.

4 participants