<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic customizing widgets in ArcGIS js 4.31 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customizing-widgets-in-arcgis-js-4-31/m-p/1570843#M86288</link>
    <description>&lt;DIV class=""&gt;Hi ESRI Community,&lt;/DIV&gt;&lt;DIV&gt;We upgraded from 4.25 to 4.31 and are facing issues customizing built-in widgets. Previously, we used CSS to change widget colors, sizes, and icons, but with the introduction of nested web components in 4.31, we can no longer style them in the same way.&lt;/DIV&gt;&lt;DIV class=""&gt;We understand we can override some styles using CSS variables and the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;esri-widget&amp;nbsp;class, but this doesn't provide us with the same level of&amp;nbsp;control. For example, we want to:&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV class=""&gt;Change the widget sizes&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;Replace the icon with a custom one&lt;/LI&gt;&lt;LI&gt;Modify sizes and the hover/focus/active states and other inner elements (like&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;calcite-button and calcite-icon)&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;We’d prefer to avoid using JavaScript for dynamic style changes. Is there a better way to target and style these inner elements without resorting to JS?&lt;/DIV&gt;&lt;DIV&gt;Thanks for your help!&lt;/DIV&gt;</description>
    <pubDate>Sun, 22 Dec 2024 13:01:25 GMT</pubDate>
    <dc:creator>Yoav_Leshem</dc:creator>
    <dc:date>2024-12-22T13:01:25Z</dc:date>
    <item>
      <title>customizing widgets in ArcGIS js 4.31</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customizing-widgets-in-arcgis-js-4-31/m-p/1570843#M86288</link>
      <description>&lt;DIV class=""&gt;Hi ESRI Community,&lt;/DIV&gt;&lt;DIV&gt;We upgraded from 4.25 to 4.31 and are facing issues customizing built-in widgets. Previously, we used CSS to change widget colors, sizes, and icons, but with the introduction of nested web components in 4.31, we can no longer style them in the same way.&lt;/DIV&gt;&lt;DIV class=""&gt;We understand we can override some styles using CSS variables and the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;esri-widget&amp;nbsp;class, but this doesn't provide us with the same level of&amp;nbsp;control. For example, we want to:&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;DIV class=""&gt;Change the widget sizes&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;Replace the icon with a custom one&lt;/LI&gt;&lt;LI&gt;Modify sizes and the hover/focus/active states and other inner elements (like&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;calcite-button and calcite-icon)&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;We’d prefer to avoid using JavaScript for dynamic style changes. Is there a better way to target and style these inner elements without resorting to JS?&lt;/DIV&gt;&lt;DIV&gt;Thanks for your help!&lt;/DIV&gt;</description>
      <pubDate>Sun, 22 Dec 2024 13:01:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/customizing-widgets-in-arcgis-js-4-31/m-p/1570843#M86288</guid>
      <dc:creator>Yoav_Leshem</dc:creator>
      <dc:date>2024-12-22T13:01:25Z</dc:date>
    </item>
  </channel>
</rss>

