-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(icons-tnt): add new TNT icon collection (#2414)
based on SAP-icons-TNT
- Loading branch information
Showing
14 changed files
with
615 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
*.css | ||
dist/resources | ||
dist/test-resources | ||
lib/ | ||
node_modules/ | ||
src/ | ||
test/ | ||
bundle.*.js | ||
.eslintrc.js | ||
.eslintignore | ||
main.*js | ||
rollup* | ||
serve.json | ||
wdio.conf.js | ||
!core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Enforce public npm registry | ||
registry = https://registry.npmjs.org/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
![UI5 icon](https://raw.githubusercontent.com/SAP/ui5-webcomponents/master/docs/images/UI5_logo_wide.png) | ||
|
||
# UI5 Web Components - SAP Fiori Tools Icons | ||
|
||
[![Travis CI Build Status](https://travis-ci.org/SAP/ui5-webcomponents.svg?branch=master)](https://travis-ci.org/SAP/ui5-webcomponents) | ||
[![npm Package Version](https://badge.fury.io/js/%40ui5%2Fwebcomponents.svg)](https://www.npmjs.com/package/@ui5/webcomponents) | ||
|
||
Provides assets for the rich `tnt` icon collection. | ||
|
||
| Icon asset | Module import | | ||
| ------------------------ | ------------------------------------------------------------------ | | ||
| All icons (~33KB zipped) | `import "@ui5/webcomponents-icons-tnt/dist/Assets.js";` | | ||
| Actor icon | `import "@ui5/webcomponents-icons-tnt/dist/actor.js";` | | ||
| Ad hoc actor icon | `import "@ui5/webcomponents-icons-tnt/dist/ad-hoc-actor.js";` | | ||
| ... | ... | | ||
| Workflow editor icon | `import "@ui5/webcomponents-icons-tnt/dist/workflow-editor.js";` | | ||
|
||
*Note:* The `@ui5/webcomponents-icons-tnt` package does not provide any web components per se, but rather icon assets, | ||
usable by other web components such as `ui5-icon`. You could import all icons, but it's recommended to import | ||
just the ones that your app will actually use. | ||
|
||
## Usage | ||
|
||
Since this is a non-default icon collection, all names have to be prefixed with the collection name and a `/` separator when used by web components. | ||
|
||
Example usage with `<ui5-icon>` web component: | ||
|
||
```html | ||
<ui5-icon name="tnt/actor"></ui5-icon> | ||
``` | ||
|
||
For a full list of the icons in the `tnt` collection, click [here](https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/SAP-icons-TNT). | ||
|
||
For a complete list of all public module imports from the `icons` package, click [here](../../docs/Public%20Module%20Imports.md#icons): | ||
|
||
## Resources | ||
- [UI5 Web Components - README.md](https://github.com/SAP/ui5-webcomponents/blob/master/README.md) | ||
- [UI5 Web Components - Home Page](https://sap.github.io/ui5-webcomponents) | ||
- [UI5 Web Components - Playground and API Reference](https://sap.github.io/ui5-webcomponents/playground/) | ||
|
||
## Support | ||
We welcome all comments, suggestions, questions, and bug reports. Please follow our [Support Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/SUPPORT.md#-content) on how to report an issue, or chat with us in the `#webcomponents` channel of the [OpenUI5 Community Slack](https://join-ui5-slack.herokuapp.com/). | ||
|
||
## Contribute | ||
Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/CONTRIBUTING.md). | ||
|
||
## License | ||
Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. | ||
This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the [LICENSE](https://github.com/SAP/ui5-webcomponents/blob/master/LICENSE.txt) file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const getScripts = require("@ui5/webcomponents-tools/icons-collection/nps.js"); | ||
|
||
const options = { | ||
collectionName: "SAP-icons-TNT", | ||
}; | ||
|
||
const scripts = getScripts(options); | ||
|
||
// no i18n in this package | ||
scripts.build.i18n = ""; | ||
|
||
module.exports = { | ||
scripts | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "@ui5/webcomponents-icons-tnt", | ||
"version": "1.0.0-rc.9", | ||
"description": "UI5 Web Components: SAP Fiori Tools icon set", | ||
"author": "SAP SE (https://www.sap.com)", | ||
"license": "Apache-2.0", | ||
"private": false, | ||
"keywords": [ | ||
"openui5", | ||
"sapui5", | ||
"ui5" | ||
], | ||
"scripts": { | ||
"clean": "wc-dev clean", | ||
"build": "wc-dev build", | ||
"prepublishOnly": "npm run clean && npm run build" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/SAP/ui5-webcomponents.git", | ||
"directory": "packages/icons-tnt" | ||
}, | ||
"dependencies": { | ||
"@ui5/webcomponents-base": "0.24.0" | ||
}, | ||
"devDependencies": { | ||
"@ui5/webcomponents-tools": "1.0.0-rc.9", | ||
"chromedriver": "latest" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import "./json-imports/Icons.js"; |
Oops, something went wrong.