Skip to content

Conversation

@eriklharper
Copy link
Contributor

@eriklharper eriklharper commented Nov 3, 2025

Related Issue: #10759

Summary

calcite-action:

  • Updates padding for shorter Actions at each scale: s = 24px, m = 32px, l = 44px
  • Updates spacing between icon and text to use a flex gap for shorter Actions at each scale: s = 24px, m = 32px, l = 44px
  • Deprecate appearance="solid" in favor of "transparent"
  • Updates visual focus appearance to use inset corner radius box

BREAKING CHANGE:

  • Set appearance="transparent" as new default

calcite-action-group:

  • Gap added between slotted actions
  • Trailing group border inset to align to border-radius on actions

calcite-action-bar:

  • Padding added to maintain current Action Bar sizes
  • Gap added between slotted elements
  • Gap also added to actions-end slot
  • Padding and gap adjustment also apply to Action Menu

calcite-action-pad:

  • Padding added to maintain current Action Pad sizes
  • Gap added between slotted elements
  • Padding and gap adjustment also apply to Action Menu

Testing Notes

This PR updates some explicit sizing set in e2e tests for horizontal overflow because the dimensions for each scale have changed.

@github-actions github-actions bot added the enhancement Issues tied to a new feature or request. label Nov 3, 2025
…w conditionally rendered based on the presence of actual text and when textEnabled is on
…ve state to achieve the desired inset look. Need to adjust the gap between the buttons next, and accomodate dividing borders.
…ll need to be handled by the bar css instead of the action's inline padding
…a bar will need to be handled by the bar css instead of the action's inline padding"

This reverts commit 5bb8872.
… a bar will need to be handled by the bar css instead of the action's inline padding"

This reverts commit 10ca9c1.
@eriklharper eriklharper changed the title feat(action): update to 4.0 design feat(action): update to 5.0 design Nov 13, 2025
…tyle blocks and adding min-block-size to each scale to accommodate text-only mode
…al dividing border by using a linear-gradient border image
…on-group layouts. Adding an internal css custom property that calculates the proper "margin" to add to the dividing border based on the action's corner-radius token value. Also updates the units to use a calculation based on 100% of the container size so that we don't have to set the border-image separately for each scale
@eriklharper eriklharper marked this pull request as ready for review November 20, 2025 22:06
@eriklharper eriklharper requested review from jcfranco and macandcheese and removed request for jcfranco and macandcheese December 3, 2025 22:56
Copy link
Contributor

@macandcheese macandcheese left a comment

Choose a reason for hiding this comment

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

Looks great! e2e failure seems unrelated.

Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

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

This is looking great, @eriklharper! I'll help out with the disabled test failure you're encountering.

@eriklharper eriklharper changed the title feat(action): update to 5.0 design feat(action)!: update to 5.0 design Dec 4, 2025
@eriklharper eriklharper added pr ready for visual snapshots Adding this label will run visual snapshot testing. and removed pr ready for visual snapshots Adding this label will run visual snapshot testing. labels Dec 5, 2025
@eriklharper eriklharper requested a review from jcfranco December 5, 2025 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Issues tied to a new feature or request. pr ready for visual snapshots Adding this label will run visual snapshot testing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants