<?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 Re: How to add a custom stylesheet to widget.tsx in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-a-custom-stylesheet-to-widget-tsx/m-p/1608862#M87022</link>
    <description>&lt;P&gt;I achieved this by modifying custom theme added to the project... and by exporting something like Global type:&lt;BR /&gt;&lt;BR /&gt;export const Global = (props) =&amp;gt; {&lt;BR /&gt;return css`&lt;BR /&gt;.selector-class {&lt;BR /&gt;display: none !important;&lt;BR /&gt;}&lt;BR /&gt;`;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;I made the selectors specific for my widget...&lt;BR /&gt;&lt;BR /&gt;Trying to export something specific for the widget (name) didn't seem to work...&lt;BR /&gt;(for e.g.)&lt;BR /&gt;&lt;BR /&gt;export const CustomWidget = (props) =&amp;gt; {&lt;BR /&gt;return css`&lt;BR /&gt;`;&lt;BR /&gt;};&lt;/P&gt;</description>
    <pubDate>Thu, 24 Apr 2025 12:51:55 GMT</pubDate>
    <dc:creator>Gurunara</dc:creator>
    <dc:date>2025-04-24T12:51:55Z</dc:date>
    <item>
      <title>How to add a custom stylesheet to widget.tsx</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-a-custom-stylesheet-to-widget-tsx/m-p/1605486#M86915</link>
      <description>&lt;P&gt;Would like to include a custom css stylesheet into a widget.tsx.&lt;BR /&gt;Created style.css and did&amp;nbsp;&lt;BR /&gt;import './style.css';&lt;BR /&gt;from within the widget.tsx of custom widget under your-extensions/widgets folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in style.css for e.g.&lt;BR /&gt;input {&lt;BR /&gt;border: 2px solid red;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;but doesn't seem to do anything... what might be the proper implementation for adding styles to only the custom widget within experience builder 1.14?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Apr 2025 18:00:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-a-custom-stylesheet-to-widget-tsx/m-p/1605486#M86915</guid>
      <dc:creator>Gurunara</dc:creator>
      <dc:date>2025-04-13T18:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a custom stylesheet to widget.tsx</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-a-custom-stylesheet-to-widget-tsx/m-p/1606007#M86942</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/632615"&gt;@Gurunara&lt;/a&gt;,&amp;nbsp;for working with the ArcGIS Maps SDK for JavaScript, this might be a good time to consider migrating from widgets to components.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/components-transition-plan/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/components-transition-plan/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/javascript-maps-sdk-a-full-transition-to-components" target="_blank"&gt;https://www.esri.com/arcgis-blog/products/js-api-arcgis/developers/javascript-maps-sdk-a-full-transition-to-components&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you're working with the Experience Builder, you might get better help if you post in their space:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-experience-builder/ct-p/arcgis-experience-builder" target="_blank"&gt;https://community.esri.com/t5/arcgis-experience-builder/ct-p/arcgis-experience-builder&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 13:54:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-a-custom-stylesheet-to-widget-tsx/m-p/1606007#M86942</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2025-04-15T13:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a custom stylesheet to widget.tsx</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-a-custom-stylesheet-to-widget-tsx/m-p/1608862#M87022</link>
      <description>&lt;P&gt;I achieved this by modifying custom theme added to the project... and by exporting something like Global type:&lt;BR /&gt;&lt;BR /&gt;export const Global = (props) =&amp;gt; {&lt;BR /&gt;return css`&lt;BR /&gt;.selector-class {&lt;BR /&gt;display: none !important;&lt;BR /&gt;}&lt;BR /&gt;`;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;I made the selectors specific for my widget...&lt;BR /&gt;&lt;BR /&gt;Trying to export something specific for the widget (name) didn't seem to work...&lt;BR /&gt;(for e.g.)&lt;BR /&gt;&lt;BR /&gt;export const CustomWidget = (props) =&amp;gt; {&lt;BR /&gt;return css`&lt;BR /&gt;`;&lt;BR /&gt;};&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 12:51:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-add-a-custom-stylesheet-to-widget-tsx/m-p/1608862#M87022</guid>
      <dc:creator>Gurunara</dc:creator>
      <dc:date>2025-04-24T12:51:55Z</dc:date>
    </item>
  </channel>
</rss>

