Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
293 stars 75 forks source link

Display country for selected time zone (region mode) #9973

Closed jcfranco closed 3 months ago

jcfranco commented 3 months ago

Check existing issues

Description

Stems from a follow-up conversation on https://github.com/Esri/calcite-design-system/issues/9018#issuecomment-2260350211.

Displaying the country inline in the selection will provide more context to users.

cc @AdelheidF @richiecarmichael @emmilaakso212 @ashetland @bsvensson

Acceptance Criteria

In region mode, when a time zone is selected, the country should be displayed in the selected item.

Screenshot 2024-08-06 at 10 44 25 AM

Relevant Info

An embedded style was also brought up, but might need further discussion with the team.

353820489-8969c885-4478-42f2-9cba-b8e517284e4e copy

In the meantime, developers can achieve this by using read-only mode and overriding the semantic token CSS props (see example).

Which Component

calcite-input-time-zone

Example Use Case

No response

Priority impact

impact - p1 - need for current milestone

Calcite package

Esri team

ArcGIS Map Viewer

github-actions[bot] commented 3 months ago

Installed and assigned for verification.

geospatialem commented 3 months ago

Verified in 2.12.0-next.12 with the following HTML:

<calcite-input-time-zone mode="region"></calcite-input-time-zone>

image