Skip to content
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

Make the 2.x version the official, latest release. #339

Merged
merged 15 commits into from
Oct 21, 2024
Merged

Make the 2.x version the official, latest release. #339

merged 15 commits into from
Oct 21, 2024

Conversation

dmnplb
Copy link
Collaborator

@dmnplb dmnplb commented Oct 21, 2024

Short description

This PR removes two divergent releases (1.x and 2.x) by retaining the latter.

How to test

N/A

dmnplb and others added 14 commits July 24, 2024 15:49
… a11y features (#312)

## Short description
This PR adds the new `IOText` component, which replaces the legacy
`BaseTypography` component. Compared to the previous component, `IOText`
has the following features:
- Built-in support for bold text, if set by the user (iOS only)
- Add the new typographic attributes, like `fontSize` and `lineHeight`
to the `makeFontStyleObject` function
- Manage required or optional props (like `style`) with a stricter
approach without using the `TypographyFactory`
- Based on the new `IOFontSize` scale

## List of changes proposed in this pull request
- Add the new `IOText` component
- Update all the typographic styles using `IOText`, bypassing the
`TypographyFactory`
- Update the typographic styles with a fallback theme color to ensure
built-in support for dark mode
- Add the new `useBoldTextEnabled` hook
- Deprecate `BaseTypography`
- Remove `LabelLink` in favor of `asLink` prop for all the `Label…` and
`Body` typographic styles
- Add the new `LabelMini` style
- Remove `MdH4`, `MdH5` and `MdH6` styles
- Improve `FeatureInfo` component API

### Preview


https://github.com/user-attachments/assets/a15bc7f5-9e93-4326-b427-501ed9edf1b0



### Co-authors
@CrisTofani 

## How to test
N/A

---------

Co-authored-by: Cristiano Tofani <cri.tofani@gmail.com>
…plete of `IOText` when using `font` prop (#322)

## Short description
This PR fixes a number of issues that were encountered when adding
`IOText` to the main repo

## List of changes proposed in this pull request
- Set `Label…` default weight to `Semibold`, instead of `Bold` →
13819ba
- Fix wrong autocomplete of `IOText` when using `font` prop →
6f1496c
- Update `Label…` snapshots →
0ffdfcd

## How to test
N/A
> [!note]
> This PR depends on:
> * #312

## Short description
This PR adds the new IO typeface (temporarily named **Titillio**). This
change is visible only if experimental DS is on.

## List of changes proposed in this pull request
- Add the new `Titillio` typeface and relative font files
- Remove references to `ReadexPro`

### Preview


https://github.com/user-attachments/assets/eb1820dc-1f82-49e9-9218-1a2430ed6477



## How to test
1. Run the example app
2. Enable experimental DS and check every screen

---------

Co-authored-by: Cristiano Tofani <cri.tofani@gmail.com>
This PR reverts #314 to avoid a `2.0.0`
release that includes the reference to the new `IO` typeface
@dmnplb dmnplb requested review from a team as code owners October 21, 2024 13:58
@dmnplb dmnplb merged commit 382df27 into main Oct 21, 2024
6 checks passed
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.

2 participants