├── .prettierrc ├── example ├── .gitignore ├── public │ ├── loader.gif │ ├── favicon.png │ ├── index.html │ ├── open.svg │ └── global.css ├── .vercelignore ├── vercel.json ├── src │ ├── main.js │ ├── components │ │ ├── Select.svelte │ │ ├── SvelteLogo.svelte │ │ └── Notifications.svelte │ ├── containers │ │ ├── App.svelte │ │ ├── Icons.svelte │ │ └── Nav.svelte │ └── store.js ├── package.json ├── rollup.config.js └── yarn.lock ├── .vscode └── settings.json ├── .travis.yml ├── tslint.json ├── components └── IconBase.svelte ├── .gitignore ├── tsconfig.json ├── .gitmodules ├── package.json ├── README.md └── scripts └── build.ts /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "trailingComma": "es5", 3 | "singleQuote": true 4 | } 5 | -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | public/bundle.* 4 | .now 5 | .vercel 6 | -------------------------------------------------------------------------------- /example/public/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Introvertuous/svelte-icons/HEAD/example/public/loader.gif -------------------------------------------------------------------------------- /example/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Introvertuous/svelte-icons/HEAD/example/public/favicon.png -------------------------------------------------------------------------------- /example/.vercelignore: -------------------------------------------------------------------------------- 1 | package.json 2 | yarn.lock 3 | README.md 4 | rollup.config.js 5 | .gitignore 6 | src 7 | node_modules -------------------------------------------------------------------------------- /example/vercel.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "env": { 4 | "NODE_ENV": "production", 5 | "IS_NOW": "true" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "typescript.tsdk": "node_modules/typescript/lib", 3 | "git.ignoreLimitWarning": true, 4 | "git.detectSubmodules": false 5 | } 6 | -------------------------------------------------------------------------------- /example/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './containers/App.svelte'; 2 | 3 | const app = new App({ 4 | target: document.body, 5 | props: {}, 6 | }); 7 | 8 | export default app; 9 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | cache: 3 | directories: 4 | - ~/.npm 5 | notifications: 6 | email: false 7 | node_js: 8 | - '10' 9 | - '8' 10 | script: 11 | - yarn submodule 12 | - yarn build 13 | after_success: 14 | - yarn travis-deploy-once "yarn semantic-release" 15 | branches: 16 | except: 17 | - /^v\d+\.\d+\.\d+$/ 18 | -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["tslint:recommended", "tslint-config-prettier"], 3 | "linterOptions": {}, 4 | "rules": { 5 | "no-shadowed-variable": false, 6 | "interface-name": false, 7 | "no-console": false, 8 | "no-bitwise": false, 9 | "max-classes-per-file": false 10 | }, 11 | "defaultSeverity": "warning" 12 | } 13 | -------------------------------------------------------------------------------- /components/IconBase.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 16 | 17 | 18 | {#if title} 19 | {title} 20 | {/if} 21 | 22 | 23 | -------------------------------------------------------------------------------- /example/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Svelte Icons 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /example/public/open.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/ignore-files/ for more about ignoring files. 2 | 3 | 4 | # dependencies 5 | node_modules 6 | module 7 | 8 | # dev 9 | .env 10 | 11 | # testing 12 | /coverage 13 | 14 | # production 15 | build 16 | lib 17 | dist 18 | .next 19 | 20 | # misc 21 | .DS_Store 22 | npm-debug.log* 23 | yarn-debug.log* 24 | yarn-error.log* 25 | .cache 26 | reports 27 | *.log 28 | *.tgz 29 | 30 | 31 | example/cypress/screenshots 32 | example/__sapper__ 33 | 34 | 35 | #icons 36 | /fa/ 37 | /io/ 38 | /md/ 39 | /ti/ 40 | /go/ 41 | /fi/ 42 | /gi/ 43 | /wi/ 44 | /di/ -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "esModuleInterop": true, 4 | "moduleResolution": "node", 5 | "forceConsistentCasingInFileNames": true, 6 | "noImplicitReturns": true, 7 | "noImplicitThis": true, 8 | "noImplicitAny": true, 9 | "strict": true, 10 | "strictNullChecks": true, 11 | "strictPropertyInitialization": true, 12 | "suppressImplicitAnyIndexErrors": true, 13 | "allowSyntheticDefaultImports": true, 14 | "experimentalDecorators": true, 15 | "resolveJsonModule": true, 16 | "target": "esnext", 17 | "module": "commonjs", 18 | "lib": ["es2017"], 19 | "baseUrl": "scripts" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "icons/fontawesome"] 2 | path = icons/fontawesome 3 | url = https://github.com/FortAwesome/Font-Awesome.git 4 | [submodule "icons/material-design-icons"] 5 | path = icons/material-design-icons 6 | url = https://github.com/google/material-design-icons.git 7 | [submodule "icons/typicons"] 8 | path = icons/typicons 9 | url = https://github.com/stephenhutchings/typicons.font.git 10 | [submodule "icons/game-icons-inverted"] 11 | path = icons/game-icons-inverted 12 | url = https://github.com/delacannon/game-icons-inverted.git 13 | [submodule "icons/weather-icons"] 14 | path = icons/weather-icons 15 | url = https://github.com/erikflowers/weather-icons.git 16 | [submodule "icons/devicons"] 17 | path = icons/devicons 18 | url = https://github.com/vorillaz/devicons.git 19 | -------------------------------------------------------------------------------- /example/src/components/Select.svelte: -------------------------------------------------------------------------------- 1 | 7 | 8 | 27 | 28 | 35 | -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "svelte-app", 3 | "version": "1.0.0", 4 | "devDependencies": { 5 | "npm-run-all": "^4.1.5", 6 | "rollup": "^1.12.0", 7 | "rollup-plugin-commonjs": "^10.0.0", 8 | "rollup-plugin-livereload": "^1.0.0", 9 | "rollup-plugin-node-resolve": "^5.2.0", 10 | "rollup-plugin-svelte": "^5.0.3", 11 | "rollup-plugin-terser": "^4.0.4", 12 | "svelte": "^3.0.0" 13 | }, 14 | "dependencies": { 15 | "sirv-cli": "^0.4.4" 16 | }, 17 | "scripts": { 18 | "build": "node --max-old-space-size=4096 ./node_modules/.bin/rollup -c", 19 | "autobuild": "node --max-old-space-size=4096 ./node_modules/.bin/rollup -c -w", 20 | "dev": "run-p start:dev autobuild", 21 | "start": "sirv public --single", 22 | "start:dev": "sirv public --single --dev", 23 | "deploy": "vercel --prod" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /example/src/containers/App.svelte: -------------------------------------------------------------------------------- 1 | 7 | 8 | 29 | 30 |