2023-03-22 Paragon Meeting notes

 Date

Mar 22, 2023

 Participants

  • @Gabriel Weinberg

  • @Adam Stankiewicz

 Goals

  •  

 Discussion topics

Time

Item

Presenter

Notes

Time

Item

Presenter

Notes

 

Icon size variants

@Adam Stankiewicz (on behalf of keithgg from OpenCraft)

Open Source Pull Request (OSPR)

Proposal to add a new size variant xs (1 rem) for the Icon component’s font size (docs).

Observations:

  • Icon component defines variables for sizes {sm|md|lg} as class names (e.g., .pgn__icon__sm), but these class names are more of an implementation detail than something consumers should use directly.

    • [recommendation/proposal] Add support for a size prop on the Icon component and update Button to pass-through its size prop to Icon.

  • The use case along with this proposal could alternatively be solved with the Hyperlink component, rather than re-creating what Hyperlink does.

    • That said, this size prop for Icon also seems to be a welcome addition.

  • Icon component doesn’t yet have a standalone page in Figma.

Notes:

  • Seems like there is a future use case for size variant, “xs”, 1 rem

  • Use size prop to use these sizes and props in the future for things like button



Conference-related business.

@Adam Stankiewicz

The Open edX conference is next week. Each Working Group has a “Birds of a feather” roundtable discussion.

The session for Paragon Working Group is 30 minutes.

Action items:

 Action items

@Gabriel Weinberg Icon Button needs large, medium and small sizes in docsite and in Figma, GitHub issue for the docsite update, paragon ticket for the figma update

 Decisions