-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Action: deprecate "compact" property #3859
Comments
cc @AdelheidF @kevindoshier Do you know if this property is being used? |
Yes, it's used in filter and layer-override. |
This property might be ok to have as it just adjusts internal width. |
I think this should be internal if needed at all. In the examples above, using "compact" isn't aligning the x with the carets above or below it anyway. |
At least it shows at the end of its 'row'. If we take compact away the x just appears somewhere in the middle of the 'row'. |
Similar to |
Design has confirmed this is good to go, makes sense to proceed forward |
**Related Issue:** #3859 ## Summary - deprecates the compact property
Installed and assigned for verification. |
🍡 Verified |
I think we will likely have a CSS variable added to adjust padding. Is that correct @alisonailea? |
You could use a transparent calcite-button there, which renders as a square without text present. |
We aren't currently making spacing variables unless it's needed. @AdelheidF would you please create a ticket? |
I think we want to see button used more when it is a standalone element not contained within a parent and positioned to the extent (in a bar, panel area, etc.). You could use margin-inline-start: auto on the above (or, some other css) to achieve the spacing you had previously. The Card Group also has some built in selection that could be explored by your designers. cc @ashetland @SkyeSeitz for design 👀 |
**Related Issue:** #3859 ## Summary - deprecates the compact property
Description
Deprecate the
compact
property.Acceptance Criteria
Include updates to screener and and e2e tests.
Relevant Info
Which Component
CalciteAction
Example Use Case
The text was updated successfully, but these errors were encountered: