Skip to content

Changelog

  • 🐛 [toggle] input shrink 0
  • 🐛 [stepper] fix label
  • 🐛 [checkbox] input shrink 0
  • 🐛 [radio] input shrink 0
  • 🐛 [size] fix size-full on firefox/webkit
  • ⬆️ update figma tokens
  • 🐛 [size] fix size-full on firefox/webkit
  • 📝 update DX playbook domains
  • ✨ [carousel] implement
  • ⚡️ [cds] contain layout paint
  • 📱 [stepper] improve mobile / tablet
  • 📝 [icon] fix non-monochrome icon examples
  • 📝 [z-index] improve example
  • 🐛 [background] fix decorative backgrounds
  • ✨ [overflow] hide scroll bars within indicators
  • 🐛 [control] fix control button focus outline
  • ✨ [stepper] implement
  • ✨ update figma tokens
  • 💄 [tabs] add number label example
  • ✨ [overflow] improve indicators
  • 🐛 [cds] fix inset demo
  • 📝 [count-indicator] review documentation
  • 🐛 [modal] fix chrome close render flash
  • 💄 [control] review
  • ✨ [z-index] add above
  • ♻️ [focus] review
  • 🔥 [control] remove is-valid variant
  • ✨ [radio] implement
  • ✨ [checkbox] implement
  • ✨ [simple-card] implement
  • 🚚 align forms with figma
  • 💥 🚚 restructure exports

The exports have a breaking change in this release.

ExportBeforeAfter
assets.cssnoneExport assets
styles.cssExport styles + assetsExport styles
no-icons.cssExport stylesnone

Meaning we now have mutually exclusive exports for styles and assets.

  • 📝 [usage] improve layers documentation
  • 🚚 rename tng-box to tng-scheme
  • ♻️ remove tng-box reliance
  • 📝 clean up documentation
  • ♻️ [color-utilities] refactor out custom properties
  • ✨ [layouts] add flex nowrap
  • ♻️ [position] refactor out custom properties
  • ♻️ [layouts] refactor out custom properties
  • 📝 [modal] remove unused background color
  • 🩹 [position] don’t assume size
  • ♻️ [spacing] refactor out custom properties
  • ♻️ [elevation] refactor out custom property
  • 💄 [cds] fix selector
  • ✨ [platform-badge] add platform badges
  • ♻️ [figma] render dedicated text styles variables
  • 📝 [figma] fix content
  • 🐛 [figma] render box border size
  • 🐛 [cds] render dimension fallback
  • 💄 [figma] tweak components
  • 📝 [figma] review documentation
  • 📝 [buttons] align cross-topic button structure
  • 👷 [gh] non-prod always builds preview mode
  • 🐛 [apply] re-apply revert
  • 📝 [figma] add radio button documentation
  • 📝 [figma] add input field documentation
  • 📝 [figma] add sticky bottom bar documentation
  • 📝 [figma] group forms documentation
  • 📝 [figma] add checkbox documentation
  • 📝 [figma] add stepper documentation
  • 📝 [figma] add tag documentation
  • 📝 [figma] add popover documentation
  • 📝 [figma] add tabs documentation
  • 📝 [figma] add modal documentation
  • 📝 [figma] add list documentation
  • 📝 [figma] add slider documentation
  • 📝 [figma] add dropdown documentation
  • 📝 [figma] add count indicator documentation
  • 📝 [figma] add divider documentation
  • 📝 [figma] add link documentation
  • 📝 [figma] add social share button documentation
  • 📝 [figma] add pill button documentation
  • 📝 [figma] add icon button documentation
  • 📝 [figma] add main button documentation
  • 📝 [figma] add backdrop documentation
  • 📝 [cds] add agent figma component mapping documentation
  • 📝 [figma] review accordion documentation
  • 📝 [link] document sizes
  • 📝 [figma] review typography documentation
  • 📝 [figma] review color documentation
  • 🐛 [revert] set initial for inherited properties
  • 📱 [cds] responsive hero
  • 💄 [cds] update brand select to buttons
  • 🚚 [cds] tweak titles
  • 📝 [reset] document .tng-legacy-apply
  • 📝 [cds] expand utility documentation
  • ✨ [z-index] add semantic stacking
  • ✨ [slider] implement slider
  • 💄 [cds] fix markdown li max-inline-size
  • 🩹 [cds] disable RTL / dark mode for now
  • 💄 [cds] redesign splash hero
  • 🔥 [cds] remove GitHub links
  • 🧪 [count-indicator] add visual tests
  • 💄 [sticky-bar] fix documentation demo
  • 💄 [cds] increase content width
  • 🚚 [cds] pluralize foundations
  • 💄 [cds] tweak components
  • 💄 [cds] use own tokens
  • 🐛 [cds] hide related pages on splash page
  • ✨ [cds] switch logos with theme select
  • 🚚 [cds] don’t structure content around teams
  • 🔥 [cds] remove archive
  • ♿️ prefer aria-label over sr-only
  • ♿️ improve recipe a11y
  • ✨ [checkbox] add fieldset / reset
  • 📝 expand a11y documentation
  • 📝 [sticky-bar] add module and recipe
  • ✨ [count-indicator] update implementation
  • ✨ add aemglobal CSS layer
  • 🚚 [count-indicator] rename pagination to count indicator
  • 💥 ♻️ [list] deprecate internal dividers
  • 📝 [usage] add CSS layers caveats
  • 📝 [varia] add focus documentation
  • 📝 align color utilities
  • 💫 document and implement consistent animations
  • 🩹 [reset] improve border box
  • 💥 ♻️ [accordion] use divider component
  • 🐛 [tabs] fix overflow gradient
  • 💥 ♻️ [box] refactor surface into box and utlities
  • 🔥 [stroke] deprecate
  • 🐛 [list] fix padding on interactive control
  • ✨ introduce related pages

We used to have a Surface foundations core component that could handle some things like backgrounds and borders. Now we have implemented color utilities for background, border, and foreground.

These utilities include all semantic tokens for backgrounds, surfaces, and fills. Consequently the component needed to be renamed.

The Accordion and List components no longer have their own with dividers variant. All divider responsibility is now handled by the Divider component.

<div class="tng-stack | tng-has-dividers">
<details class="tng-accordion has-divider">
<summary class="tng-accordion-trigger">
<span>Personal information</span>
<i class="tng-icon icon-chevron-down" aria-hidden="true"></i>
</summary>
<p class="tng-text-body">
Your personal information is kept private and secure.
</p>
</details>
</div>

The stroke classes have been removed from the documentation a long time ago but have remained in the styles.

Use (eg.) .border-xs in favour of stroke-xs.

It used to be list options still require a lot of manual styles to position its contents. The List Option now can handle leading/trailing icons and interactive content.

<li class="tng-list-option">
<a href="#">
<i aria-hidden="true" class="tng-icon icon-car is-md"></i>
<span>Option</span>
<i
aria-hidden="true"
class="tng-icon icon-chevron-right tng-rtl-flip-x"
></i>
</a>
<i aria-hidden="true" class="tng-icon icon-chevron-right tng-rtl-flip-x"></i>
</li>

If you want your whole list option to be interface (a / button) make sure to have all icons inside of the element. The list option will delegate its layout rendering to its interactive child.

<li class="tng-list-option">
<a href="#">
<i aria-hidden="true" class="tng-icon icon-car is-md"></i>
<span>Option</span>
<i
aria-hidden="true"
class="tng-icon icon-chevron-right tng-rtl-flip-x"
></i>
</a>
<i aria-hidden="true" class="tng-icon icon-chevron-right tng-rtl-flip-x"></i>
</li>
  • 🚚 [icons] move ai-search to brandless
  • 🐛 [modal] fix at maximum sizing
  • 🩹 [button] rename pill active state to selected
  • ⬆️ bump figma tokens
  • 💄 [modal] default only default slots to checkered
  • 💄 [modal] target only modal root frame
  • 💄 [popover] fix close button RTL
  • ✨ [button] finish pill button
  • 💄 [button] fix icon button border color states
  • ✨ [icons] add UI pause / spinner
  • 💄 [button] remove main tertiary inline padding
  • 🩹 [root] apply automatically to Storybook
  • 🐛 [modal] fixed maximized modal
  • 🐛 [table] fix inline size
  • 📝 [teams] update teams
  • 💄 [teams] spruce up page
  • 🐛 [modal] remove aria-modal true(scroll lock)
  • 🐛 [modal] fix touch target interop
  • 📝 [RTL] document flip X utility
  • 🐛 [modal] fix and automate scroll lock
  • 🐛 [modal] fix backdrop
  • ✨ [varia] add focus-within utility
  • 🐛 [toggle] fix RTL
  • ✨ [varia] add touch target
  • 📝 update glossary
  • 👷 [icons] fix ICONS type array literal
  • 🐛 [icons] fix categories
  • 👷 [icons] expose categories
  • 📝 [icons] document import path change
  • 💫 [modal] fix close transition
  • 🐛 [accordion] fix webkit render
  • 🩹 [icons] optimize
  • 👷 [icons] provide build without inlined icons
  • 🚚 group form components
  • 💄 [table] fix overflow breaking
  • 💄 [table] fix font size
  • 💄 [table] fix header alignment
  • 📝 demo Georgian unicode range
  • 🐛 [icon] fix operations view on / off
  • 🚚 [icons] move to shared
  • 🐛 [icons] fix rating star color
  • 🔥 [slot] make default variant implicit
  • 💥 [popover] remove header element
  • 💥 ⬆️ bump figma tokens
  • 🐛 [modal] fix scroll to top
  • 🐛 [modal] fix Safari
  • 📝 [popover] document different parts
  • 🐛 [popover] move shadow to outer element
  • 🧪 [popover] add title

The import paths for icons have changed.

import { ICONS, type Icon } from '@tmedxp/styleguide/toyota/icons';
import { ICONS, type Icon } from '@tmedxp/styleguide/toyota';

Or you can get the full namespace from either the root or the brand entry point.

import { Toyota } from '@tmedxp/styleguide';
import * as Toyota from '@tmedxp/styleguide/toyota';
let Toyota.ICONS: Toyota.Icon[];

The header element is not necessary anymore. The title can exists on its own and should be placed after the close icon, if present.

<div class="tng-popover-bubble">
<div class="tng-popover-header">
<div class="tng-text-title">${lorem0}</div>
</div>
<button class="tng-icon-button is-neutral" aria-label="Close">
<i class="tng-icon icon-close" aria-hidden="true"></i>
</button>
<div class="tng-text-title">${lorem0}</div>
<p class="tng-text-body">${lorem2}</p>
</div>
  • ✨ update divider implementation
  • 🚚 [utilities] rename visibility to display
  • 🐛 [typography] fix selection psuedo element
  • 💄 [typography] update heading inferred sizes
  • 🐛 [icons] fix branded icons
  • ✨ add tabs component
  • 🧪 [visual test] add dir support
  • 🐛 [rtl] fix issues
  • ✨ add RTL toggle
  • 💥 🚚 rename with-* to has-*
  • 📝 [text box] document
  • List component modifier renamed with-divider to has-divider.
  • ✨ add accordion component
  • ✨ update reset / root rendering
  • 🐛 [content] fix heading typography
  • ✨ implement energy labels
  • 💄 implement text box
  • 💥 🚚 [core] rename LexusType back to Nobel
  • ♻️ replace content hr with divider
  • 💥 ✨ rework typography
  • Typography has converged all its classes under tng-text-body and tng-text-title and switched to an ordinal scale.
  • Lexus font family has been renamed from “Lexus Type” back to “Nobel”. Make sure to update your @font-face directives.
  • ✨ implement modal
  • 📝 fix maximum positioning demo
  • 💥 ♻️ rebrand placeholder as slot
  • ✨ add select list
  • 📝 add checkbox list recipe
  • 🐛 fix col/row gap usage
  • ♻️ rework focus reusage
  • 💥 render tokens reference per brand
  • 💥 update typography
  • 🎨 fix icons format
  • 👷 auto deploy releases to prev
  • 🐛 [icon] rotate toyota trade-cycle-management
  • 🐛 fix icons reference UI and copy
  • ✨ add CloseWatcher to tooltip recipe
  • 💄 add visual link button tests
  • ✨ setup visual regression testing
  • ✨ add explicit default classes
  • 💥 ♻️ prefix internal components
  • 🐛 [button] fix lexus borders
  • 💥 ✨ [popover] add border
  • 🐛 [popover] fix contrast styles
  • 🐛 [popover] fix typography
  • 🐛 [link] remove default padding

The HTML structure for popover has been updated.

<div class="tng-popover">
<div class="arrow"></div>
<div class="header">
<!-- -->
</div>
<p class="tng-text-body">
<!-- -->
</p>
</div>
<div class="tng-popover">
<div class="tng-popover-arrow"></div>
<div class="tng-popover-header">
<!-- -->
</div>
<div class="tng-popover-bubble">
<p class="tng-text-body">
<!-- -->
</p>
</div>
</div>

tng-text-link has been renamed to tng-link.

  • 🚚 rename modules to recipes
  • 🐛 [content] fix blockquote contrast scheme
  • ✨ implement popover
  • ♻️ move schemes to mixin
  • 📝 add teams structure
  • 🩹 [alert] simplify demo
  • 🧑‍💻 [surface] add release note
  • 🧑‍💻 add token values to reference
  • 💥 🧑‍💻 merge border utilities
  • ♻️ update tokens reference
  • 🚚 move changelog into reference guide
  • 💥 ♻️ merge box and scheme into surface
  • 💥 ✨ add margin utilities

stroke-<size> has been renamed to border-<size>.

tng-box and tng-scheme have been merged into tng-surface.

  • There’s no default padding anymore, add p-md to add the old default.
  • There’s no default text styling mixin anymore. Add tng-text-body or which-ever typography class you want to the element or any of its children.

We have added margin utilities analog to the existing padding utilities.

  • Margin can be applied to the Wrapper layout component.
  • Padding can be applied to the Surface (previously Box) core component.
  • The is-centered variant is removed from the Wrapper layout component. You can use the margin utility mi-auto now.
  • 📝 split AEM / React documentation
  • ✨ rework tokens
  • All primitive font tokens (--tng-font-*) have been heavily restructured.
  • All semantic color tokens (--tng-(border|foreground|surface)-*) have been heavily restructured.
  • All component tokens (--tng-(buttons)-*) have been heavily restructured.
  • is-danger is renamed to is-error to match the terminology of the tokens.
  • (is|on)-inverse is renamed to (is|on)-contrast to match the terminology of the tokens.
  • 📝 explicit icon scheme support
  • 💄 improve list styles
  • 🚸 enhance animations on no preferred motion
  • ♻️ tweak styleguide export
  • 🐛 fix icons export types
  • ✨ align font families, subfamiles and weights document icon differences
  • 📝 Updated and restructured documentation
  • 🚚 Rename CSS layer tng.modules to tng.userstyles
  • ✨ add list component
  • ✨ Added icons from scratch from Figma