SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.5k stars 260 forks source link

tnt-github icon not available for import #6376

Closed sachinbhutani closed 1 year ago

sachinbhutani commented 1 year ago

Bug Description

A clear and concise description of what the bug is. according to the icons-tnt package, all icons listed here should be available https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/SAP-icons-TNT Not able to import the github icon from tnt package as it's not included.

Expected Behavior

A clear and concise description of what you expect to happen.

import "@ui5/webcomponents-icons-tnt/dist/github" does not work for https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/SAP-icons-TNT/?tab=grid&search=github&icon=github

Steps to Reproduce

  1. create a new component with import "@ui5/webcomponents-icons-tnt/dist/github"

Isolated Example

If possible, please provide an isolated example by forking CodeSandbox.

Context

Log Output / Stack Trace / Screenshots

{...}

Priority

The priority indicates the severity of the issue. To set the appropriate priority consider the following criteria:

Note: The priority might be re-evaluated by the issue processor.

Stakeholder Info (if applicable)

dobrinyonkov commented 1 year ago

Hello @SAP/ui5-webcomponents-core team,

importing the @ui5/webcomponents-icons-tnt/dist/github icon throws an error that can be seen here: https://codesandbox.io/s/ui5-webcomponents-forked-noofyx?file=/src/index.js

The same icon works in openui5: https://jsbin.com/lulenecuxu/edit?html,output

Could please take a look into this issue?

Kind Regards, Dobrin