telus / tds-core

TELUS Design System Core Components
https://tds.telus.com/
MIT License
99 stars 52 forks source link

[PriceLockup] allow abbreviated rate text copy #1292

Closed theetrain closed 2 years ago

theetrain commented 4 years ago

Description

Originally asked by Michael Straker.

Recommendation

Examples

const App = () => (
  <PriceLockup
    rateText={
      <>
        <span aria-hidden>/mo</span>
        <A11yContent>per month</A11yContent>
      </>}
  />
)

const App = () => (
  <PriceLockup
    rateText={
      <abbr title="per month">/mo</abbr>
    }
  />
)

Designs

Meta

twirlingsky commented 4 years ago

How will this work for multi-tenant? Like Telus Quebec for translation into French?

catherinetelus commented 4 years ago

Could we have "par mois" for French? would that work (will have to verify with translators).

nadaltelus commented 2 years ago

Closing the issue due to lack of activity. If surfaced again, will consider as input for the new DS.