diff --git a/.gitignore b/.gitignore index 7361a02..b0aa75f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ node_modules build .env -vue/* \ No newline at end of file +vue/* +lib/* \ No newline at end of file diff --git a/babel.config.json b/babel.config.json new file mode 100644 index 0000000..f67642f --- /dev/null +++ b/babel.config.json @@ -0,0 +1,3 @@ +{ + "plugins": ["babel-plugin-transform-vue-jsx"] +} diff --git a/icons/align-center.svg b/icons/align-center.svg new file mode 100644 index 0000000..f8222c5 --- /dev/null +++ b/icons/align-center.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/battery-0.svg b/icons/battery-0.svg new file mode 100644 index 0000000..8b55e00 --- /dev/null +++ b/icons/battery-0.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/battery-1.svg b/icons/battery-1.svg new file mode 100644 index 0000000..3f39d76 --- /dev/null +++ b/icons/battery-1.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/battery-2.svg b/icons/battery-2.svg new file mode 100644 index 0000000..387d390 --- /dev/null +++ b/icons/battery-2.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/battery-3.svg b/icons/battery-3.svg new file mode 100644 index 0000000..18207c1 --- /dev/null +++ b/icons/battery-3.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/battery-charge.svg b/icons/battery-charge.svg new file mode 100644 index 0000000..6d04157 --- /dev/null +++ b/icons/battery-charge.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/bell.svg b/icons/bell.svg new file mode 100644 index 0000000..557a5cc --- /dev/null +++ b/icons/bell.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/bold.svg b/icons/bold.svg new file mode 100644 index 0000000..bd30b0b --- /dev/null +++ b/icons/bold.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/bookmark.svg b/icons/bookmark.svg new file mode 100644 index 0000000..8ffc017 --- /dev/null +++ b/icons/bookmark.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/box.svg b/icons/box.svg index 9799b82..c71a2ff 100644 --- a/icons/box.svg +++ b/icons/box.svg @@ -1,3 +1,3 @@ - + diff --git a/icons/calendar-check.svg b/icons/calendar-check.svg new file mode 100644 index 0000000..4b07cef --- /dev/null +++ b/icons/calendar-check.svg @@ -0,0 +1,4 @@ + + + + diff --git a/icons/calendar-min.svg b/icons/calendar-min.svg new file mode 100644 index 0000000..c635397 --- /dev/null +++ b/icons/calendar-min.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/calendar-plus.svg b/icons/calendar-plus.svg new file mode 100644 index 0000000..a48fbba --- /dev/null +++ b/icons/calendar-plus.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/calendar.svg b/icons/calendar.svg index 3add468..576ebdd 100644 --- a/icons/calendar.svg +++ b/icons/calendar.svg @@ -1,3 +1,3 @@ - + diff --git a/icons/camera.svg b/icons/camera.svg new file mode 100644 index 0000000..805ebea --- /dev/null +++ b/icons/camera.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/caret-circle.svg b/icons/caret-circle.svg new file mode 100644 index 0000000..ecf6516 --- /dev/null +++ b/icons/caret-circle.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/caret-vertical.svg b/icons/caret-vertical.svg new file mode 100644 index 0000000..25e4a14 --- /dev/null +++ b/icons/caret-vertical.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/chevron-left.svg b/icons/chevron-left.svg index 7fd4c88..bf3c6ce 100644 --- a/icons/chevron-left.svg +++ b/icons/chevron-left.svg @@ -1,3 +1,3 @@ - + diff --git a/icons/chevron-right.svg b/icons/chevron-right.svg index 7d0bf83..e66f4a6 100644 --- a/icons/chevron-right.svg +++ b/icons/chevron-right.svg @@ -1,3 +1,3 @@ - + diff --git a/icons/circle.svg b/icons/circle.svg new file mode 100644 index 0000000..13ec527 --- /dev/null +++ b/icons/circle.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/clipboard-check.svg b/icons/clipboard-check.svg new file mode 100644 index 0000000..96e024a --- /dev/null +++ b/icons/clipboard-check.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/clipboard-min.svg b/icons/clipboard-min.svg new file mode 100644 index 0000000..ee8e72e --- /dev/null +++ b/icons/clipboard-min.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/clipboard-plus.svg b/icons/clipboard-plus.svg new file mode 100644 index 0000000..3669f83 --- /dev/null +++ b/icons/clipboard-plus.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/clipboard.svg b/icons/clipboard.svg index ae8a87a..d04d53d 100644 --- a/icons/clipboard.svg +++ b/icons/clipboard.svg @@ -1,3 +1,3 @@ - + diff --git a/icons/crop.svg b/icons/crop.svg new file mode 100644 index 0000000..4319df5 --- /dev/null +++ b/icons/crop.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/document-image.svg b/icons/document-image.svg new file mode 100644 index 0000000..3584253 --- /dev/null +++ b/icons/document-image.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/document-text.svg b/icons/document-text.svg new file mode 100644 index 0000000..bc9bbe6 --- /dev/null +++ b/icons/document-text.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/donut.svg b/icons/donut.svg new file mode 100644 index 0000000..6e5857a --- /dev/null +++ b/icons/donut.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/edit-1.svg b/icons/edit-1.svg new file mode 100644 index 0000000..ee105a9 --- /dev/null +++ b/icons/edit-1.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/edit-3.svg b/icons/edit-3.svg new file mode 100644 index 0000000..20684fb --- /dev/null +++ b/icons/edit-3.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/exclamation-circle.svg b/icons/exclamation-circle.svg new file mode 100644 index 0000000..0c55683 --- /dev/null +++ b/icons/exclamation-circle.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/eye.svg b/icons/eye.svg new file mode 100644 index 0000000..c3f65d4 --- /dev/null +++ b/icons/eye.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/file-check.svg b/icons/file-check.svg new file mode 100644 index 0000000..f22dc92 --- /dev/null +++ b/icons/file-check.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/file-min.svg b/icons/file-min.svg new file mode 100644 index 0000000..b642dd1 --- /dev/null +++ b/icons/file-min.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/file-plus.svg b/icons/file-plus.svg new file mode 100644 index 0000000..605336c --- /dev/null +++ b/icons/file-plus.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/file.svg b/icons/file.svg new file mode 100644 index 0000000..42431fc --- /dev/null +++ b/icons/file.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/folder-min.svg b/icons/folder-min.svg new file mode 100644 index 0000000..bd9f669 --- /dev/null +++ b/icons/folder-min.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/folder-plus.svg b/icons/folder-plus.svg new file mode 100644 index 0000000..d299427 --- /dev/null +++ b/icons/folder-plus.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/folder.svg b/icons/folder.svg new file mode 100644 index 0000000..034cbdc --- /dev/null +++ b/icons/folder.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/font-roman.svg b/icons/font-roman.svg new file mode 100644 index 0000000..c16f8bc --- /dev/null +++ b/icons/font-roman.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/home.svg b/icons/home.svg new file mode 100644 index 0000000..62e12bc --- /dev/null +++ b/icons/home.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/inbox.svg b/icons/inbox.svg index e6fce21..6e04166 100644 --- a/icons/inbox.svg +++ b/icons/inbox.svg @@ -1,3 +1,3 @@ - + diff --git a/icons/italic.svg b/icons/italic.svg new file mode 100644 index 0000000..7c9dcf7 --- /dev/null +++ b/icons/italic.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/lock-open.svg b/icons/lock-open.svg index f582cd0..296cce4 100644 --- a/icons/lock-open.svg +++ b/icons/lock-open.svg @@ -1,3 +1,3 @@ - + diff --git a/icons/natatoko.svg b/icons/natatoko.svg new file mode 100644 index 0000000..1d313ef --- /dev/null +++ b/icons/natatoko.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/overline.svg b/icons/overline.svg new file mode 100644 index 0000000..3010f51 --- /dev/null +++ b/icons/overline.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/question-circle.svg b/icons/question-circle.svg new file mode 100644 index 0000000..7ee9cba --- /dev/null +++ b/icons/question-circle.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/rectangle.svg b/icons/rectangle.svg new file mode 100644 index 0000000..8721b66 --- /dev/null +++ b/icons/rectangle.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/refresh-alt.svg b/icons/refresh-alt.svg new file mode 100644 index 0000000..20d1351 --- /dev/null +++ b/icons/refresh-alt.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/refresh.svg b/icons/refresh.svg new file mode 100644 index 0000000..e2b84e7 --- /dev/null +++ b/icons/refresh.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/settings.svg b/icons/settings.svg new file mode 100644 index 0000000..4f2b685 --- /dev/null +++ b/icons/settings.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/shopping-bag-check.svg b/icons/shopping-bag-check.svg new file mode 100644 index 0000000..8367fd4 --- /dev/null +++ b/icons/shopping-bag-check.svg @@ -0,0 +1,4 @@ + + + + diff --git a/icons/shopping-bag-min.svg b/icons/shopping-bag-min.svg new file mode 100644 index 0000000..ca44dcb --- /dev/null +++ b/icons/shopping-bag-min.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/shopping-bag-plus.svg b/icons/shopping-bag-plus.svg new file mode 100644 index 0000000..6dda8c5 --- /dev/null +++ b/icons/shopping-bag-plus.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/stats-chart-2.svg b/icons/stats-chart-2.svg new file mode 100644 index 0000000..599c604 --- /dev/null +++ b/icons/stats-chart-2.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/stats-chart.svg b/icons/stats-chart.svg new file mode 100644 index 0000000..87068b5 --- /dev/null +++ b/icons/stats-chart.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/strikthrough.svg b/icons/strikthrough.svg new file mode 100644 index 0000000..81d0d4b --- /dev/null +++ b/icons/strikthrough.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/underline.svg b/icons/underline.svg new file mode 100644 index 0000000..d701196 --- /dev/null +++ b/icons/underline.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/x-circle.svg b/icons/x-circle.svg new file mode 100644 index 0000000..71ad232 --- /dev/null +++ b/icons/x-circle.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/x.svg b/icons/x.svg new file mode 100644 index 0000000..ea0d911 --- /dev/null +++ b/icons/x.svg @@ -0,0 +1,3 @@ + + + diff --git a/icons/zap.svg b/icons/zap.svg new file mode 100644 index 0000000..59bd84d --- /dev/null +++ b/icons/zap.svg @@ -0,0 +1,3 @@ + + + diff --git a/package-lock.json b/package-lock.json index 8465df9..e79bd7a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,21 +1,257 @@ { "name": "nataicons", - "version": "0.0.1", + "version": "0.0.6", "lockfileVersion": 1, "requires": true, "dependencies": { + "@babel/code-frame": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", + "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", + "dev": true, + "requires": { + "@babel/highlight": "^7.10.4" + } + }, + "@babel/core": { + "version": "7.11.6", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.11.6.tgz", + "integrity": "sha512-Wpcv03AGnmkgm6uS6k8iwhIwTrcP0m17TL1n1sy7qD0qelDu4XNeW0dN0mHfa+Gei211yDaLoEe/VlbXQzM4Bg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.10.4", + "@babel/generator": "^7.11.6", + "@babel/helper-module-transforms": "^7.11.0", + "@babel/helpers": "^7.10.4", + "@babel/parser": "^7.11.5", + "@babel/template": "^7.10.4", + "@babel/traverse": "^7.11.5", + "@babel/types": "^7.11.5", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.1", + "json5": "^2.1.2", + "lodash": "^4.17.19", + "resolve": "^1.3.2", + "semver": "^5.4.1", + "source-map": "^0.5.0" + }, + "dependencies": { + "debug": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz", + "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + } + } + }, + "@babel/generator": { + "version": "7.11.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.11.6.tgz", + "integrity": "sha512-DWtQ1PV3r+cLbySoHrwn9RWEgKMBLLma4OBQloPRyDYvc5msJM9kvTLo1YnlJd1P/ZuKbdli3ijr5q3FvAF3uA==", + "dev": true, + "requires": { + "@babel/types": "^7.11.5", + "jsesc": "^2.5.1", + "source-map": "^0.5.0" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + } + } + }, + "@babel/helper-function-name": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.4.tgz", + "integrity": "sha512-YdaSyz1n8gY44EmN7x44zBn9zQ1Ry2Y+3GTA+3vH6Mizke1Vw0aWDM66FOYEPw8//qKkmqOckrGgTYa+6sceqQ==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.10.4", + "@babel/template": "^7.10.4", + "@babel/types": "^7.10.4" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz", + "integrity": "sha512-EkN3YDB+SRDgiIUnNgcmiD361ti+AVbL3f3Henf6dqqUyr5dMsorno0lJWJuLhDhkI5sYEpgj6y9kB8AOU1I2A==", + "dev": true, + "requires": { + "@babel/types": "^7.10.4" + } + }, + "@babel/helper-member-expression-to-functions": { + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.11.0.tgz", + "integrity": "sha512-JbFlKHFntRV5qKw3YC0CvQnDZ4XMwgzzBbld7Ly4Mj4cbFy3KywcR8NtNctRToMWJOVvLINJv525Gd6wwVEx/Q==", + "dev": true, + "requires": { + "@babel/types": "^7.11.0" + } + }, + "@babel/helper-module-imports": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.10.4.tgz", + "integrity": "sha512-nEQJHqYavI217oD9+s5MUBzk6x1IlvoS9WTPfgG43CbMEeStE0v+r+TucWdx8KFGowPGvyOkDT9+7DHedIDnVw==", + "dev": true, + "requires": { + "@babel/types": "^7.10.4" + } + }, + "@babel/helper-module-transforms": { + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.11.0.tgz", + "integrity": "sha512-02EVu8COMuTRO1TAzdMtpBPbe6aQ1w/8fePD2YgQmxZU4gpNWaL9gK3Jp7dxlkUlUCJOTaSeA+Hrm1BRQwqIhg==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.10.4", + "@babel/helper-replace-supers": "^7.10.4", + "@babel/helper-simple-access": "^7.10.4", + "@babel/helper-split-export-declaration": "^7.11.0", + "@babel/template": "^7.10.4", + "@babel/types": "^7.11.0", + "lodash": "^4.17.19" + } + }, + "@babel/helper-optimise-call-expression": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.4.tgz", + "integrity": "sha512-n3UGKY4VXwXThEiKrgRAoVPBMqeoPgHVqiHZOanAJCG9nQUL2pLRQirUzl0ioKclHGpGqRgIOkgcIJaIWLpygg==", + "dev": true, + "requires": { + "@babel/types": "^7.10.4" + } + }, + "@babel/helper-plugin-utils": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz", + "integrity": "sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg==", + "dev": true + }, + "@babel/helper-replace-supers": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.10.4.tgz", + "integrity": "sha512-sPxZfFXocEymYTdVK1UNmFPBN+Hv5mJkLPsYWwGBxZAxaWfFu+xqp7b6qWD0yjNuNL2VKc6L5M18tOXUP7NU0A==", + "dev": true, + "requires": { + "@babel/helper-member-expression-to-functions": "^7.10.4", + "@babel/helper-optimise-call-expression": "^7.10.4", + "@babel/traverse": "^7.10.4", + "@babel/types": "^7.10.4" + } + }, + "@babel/helper-simple-access": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.10.4.tgz", + "integrity": "sha512-0fMy72ej/VEvF8ULmX6yb5MtHG4uH4Dbd6I/aHDb/JVg0bbivwt9Wg+h3uMvX+QSFtwr5MeItvazbrc4jtRAXw==", + "dev": true, + "requires": { + "@babel/template": "^7.10.4", + "@babel/types": "^7.10.4" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.11.0.tgz", + "integrity": "sha512-74Vejvp6mHkGE+m+k5vHY93FX2cAtrw1zXrZXRlG4l410Nm9PxfEiVTn1PjDPV5SnmieiueY4AFg2xqhNFuuZg==", + "dev": true, + "requires": { + "@babel/types": "^7.11.0" + } + }, "@babel/helper-validator-identifier": { "version": "7.10.4", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==", "dev": true }, + "@babel/helpers": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.10.4.tgz", + "integrity": "sha512-L2gX/XeUONeEbI78dXSrJzGdz4GQ+ZTA/aazfUsFaWjSe95kiCuOZ5HsXvkiw3iwF+mFHSRUfJU8t6YavocdXA==", + "dev": true, + "requires": { + "@babel/template": "^7.10.4", + "@babel/traverse": "^7.10.4", + "@babel/types": "^7.10.4" + } + }, + "@babel/highlight": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz", + "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.10.4", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, "@babel/parser": { "version": "7.11.5", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.5.tgz", "integrity": "sha512-X9rD8qqm695vgmeaQ4fvz/o3+Wk4ZzQvSHkDBgpYKxpD4qTAUm88ZKtHkVqIOsYFFbIQ6wQYhC6q7pjqVK0E0Q==", "dev": true }, + "@babel/plugin-syntax-jsx": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.10.4.tgz", + "integrity": "sha512-KCg9mio9jwiARCB7WAcQ7Y1q+qicILjoK8LP/VkPkEKaf5dkaZZK1EcTe91a3JJlZ3qy6L5s9X52boEYi8DM9g==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, "@babel/polyfill": { "version": "7.11.5", "resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.11.5.tgz", @@ -26,6 +262,51 @@ "regenerator-runtime": "^0.13.4" } }, + "@babel/template": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.4.tgz", + "integrity": "sha512-ZCjD27cGJFUB6nmCB1Enki3r+L5kJveX9pq1SvAUKoICy6CZ9yD8xO086YXdYhvNjBdnekm4ZnaP5yC8Cs/1tA==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.10.4", + "@babel/parser": "^7.10.4", + "@babel/types": "^7.10.4" + } + }, + "@babel/traverse": { + "version": "7.11.5", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.5.tgz", + "integrity": "sha512-EjiPXt+r7LiCZXEfRpSJd+jUMnBd4/9OUv7Nx3+0u9+eimMwJmG0Q98lw4/289JCoxSE8OolDMNZaaF/JZ69WQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.10.4", + "@babel/generator": "^7.11.5", + "@babel/helper-function-name": "^7.10.4", + "@babel/helper-split-export-declaration": "^7.11.0", + "@babel/parser": "^7.11.5", + "@babel/types": "^7.11.5", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.19" + }, + "dependencies": { + "debug": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz", + "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + } + } + }, "@babel/types": { "version": "7.11.5", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.5.tgz", @@ -46,12 +327,111 @@ "any-observable": "^0.3.0" } }, + "@types/json-schema": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.6.tgz", + "integrity": "sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw==", + "dev": true + }, "@types/q": { "version": "1.5.4", "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.4.tgz", "integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==", "dev": true }, + "@vue/babel-helper-vue-jsx-merge-props": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@vue/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.0.0.tgz", + "integrity": "sha512-6tyf5Cqm4m6v7buITuwS+jHzPlIPxbFzEhXR5JGZpbrvOcp1hiQKckd305/3C7C36wFekNTQSxAtgeM0j0yoUw==", + "dev": true + }, + "@vue/babel-plugin-transform-vue-jsx": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@vue/babel-plugin-transform-vue-jsx/-/babel-plugin-transform-vue-jsx-1.1.2.tgz", + "integrity": "sha512-YfdaoSMvD1nj7+DsrwfTvTnhDXI7bsuh+Y5qWwvQXlD24uLgnsoww3qbiZvWf/EoviZMrvqkqN4CBw0W3BWUTQ==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.0.0", + "@babel/plugin-syntax-jsx": "^7.2.0", + "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0", + "html-tags": "^2.0.0", + "lodash.kebabcase": "^4.1.1", + "svg-tags": "^1.0.0" + } + }, + "@vue/babel-preset-jsx": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@vue/babel-preset-jsx/-/babel-preset-jsx-1.1.2.tgz", + "integrity": "sha512-zDpVnFpeC9YXmvGIDSsKNdL7qCG2rA3gjywLYHPCKDT10erjxF4U+6ay9X6TW5fl4GsDlJp9bVfAVQAAVzxxvQ==", + "dev": true, + "requires": { + "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0", + "@vue/babel-plugin-transform-vue-jsx": "^1.1.2", + "@vue/babel-sugar-functional-vue": "^1.1.2", + "@vue/babel-sugar-inject-h": "^1.1.2", + "@vue/babel-sugar-v-model": "^1.1.2", + "@vue/babel-sugar-v-on": "^1.1.2" + } + }, + "@vue/babel-sugar-functional-vue": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@vue/babel-sugar-functional-vue/-/babel-sugar-functional-vue-1.1.2.tgz", + "integrity": "sha512-YhmdJQSVEFF5ETJXzrMpj0nkCXEa39TvVxJTuVjzvP2rgKhdMmQzlJuMv/HpadhZaRVMCCF3AEjjJcK5q/cYzQ==", + "dev": true, + "requires": { + "@babel/plugin-syntax-jsx": "^7.2.0" + } + }, + "@vue/babel-sugar-inject-h": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@vue/babel-sugar-inject-h/-/babel-sugar-inject-h-1.1.2.tgz", + "integrity": "sha512-VRSENdTvD5htpnVp7i7DNuChR5rVMcORdXjvv5HVvpdKHzDZAYiLSD+GhnhxLm3/dMuk8pSzV+k28ECkiN5m8w==", + "dev": true, + "requires": { + "@babel/plugin-syntax-jsx": "^7.2.0" + } + }, + "@vue/babel-sugar-v-model": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@vue/babel-sugar-v-model/-/babel-sugar-v-model-1.1.2.tgz", + "integrity": "sha512-vLXPvNq8vDtt0u9LqFdpGM9W9IWDmCmCyJXuozlq4F4UYVleXJ2Fa+3JsnTZNJcG+pLjjfnEGHci2339Kj5sGg==", + "dev": true, + "requires": { + "@babel/plugin-syntax-jsx": "^7.2.0", + "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0", + "@vue/babel-plugin-transform-vue-jsx": "^1.1.2", + "camelcase": "^5.0.0", + "html-tags": "^2.0.0", + "svg-tags": "^1.0.0" + }, + "dependencies": { + "camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true + } + } + }, + "@vue/babel-sugar-v-on": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@vue/babel-sugar-v-on/-/babel-sugar-v-on-1.1.2.tgz", + "integrity": "sha512-T8ZCwC8Jp2uRtcZ88YwZtZXe7eQrJcfRq0uTFy6ShbwYJyz5qWskRFoVsdTi9o0WEhmQXxhQUewodOSCUPVmsQ==", + "dev": true, + "requires": { + "@babel/plugin-syntax-jsx": "^7.2.0", + "@vue/babel-plugin-transform-vue-jsx": "^1.1.2", + "camelcase": "^5.0.0" + }, + "dependencies": { + "camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true + } + } + }, "@vue/compiler-core": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.0.0.tgz", @@ -81,6 +461,24 @@ "integrity": "sha512-4XWL/avABGxU2E2ZF1eZq3Tj7fvksCMssDZUHOykBIMmh5d+KcAnQMC5XHMhtnA0NAvktYsA2YpdsVwVmhWzvA==", "dev": true }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true + }, "ansi-escapes": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", @@ -114,12 +512,6 @@ "sprintf-js": "~1.0.2" } }, - "at-least-node": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", - "dev": true - }, "axios": { "version": "0.19.2", "resolved": "https://registry.npmjs.org/axios/-/axios-0.19.2.tgz", @@ -129,12 +521,51 @@ "follow-redirects": "1.5.10" } }, + "babel-helper-vue-jsx-merge-props": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-2.0.3.tgz", + "integrity": "sha512-gsLiKK7Qrb7zYJNgiXKpXblxbV5ffSwR0f5whkPAaBAR4fhi6bwRZxX9wBlIc5M/v8CCkXUbXZL4N/nSE97cqg==" + }, + "babel-loader": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.1.0.tgz", + "integrity": "sha512-7q7nC1tYOrqvUrN3LQK4GwSk/TQorZSOlO9C+RZDZpODgyN4ZlCqE5q9cDsyWOliN+aU9B4JX01xK9eJXowJLw==", + "dev": true, + "requires": { + "find-cache-dir": "^2.1.0", + "loader-utils": "^1.4.0", + "mkdirp": "^0.5.3", + "pify": "^4.0.1", + "schema-utils": "^2.6.5" + } + }, + "babel-plugin-syntax-jsx": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz", + "integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY=", + "dev": true + }, + "babel-plugin-transform-vue-jsx": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-vue-jsx/-/babel-plugin-transform-vue-jsx-3.7.0.tgz", + "integrity": "sha512-W39X07/n3oJMQd8tALBO+440NraGSF//Lo1ydd/9Nme3+QiRGFBb1Q39T9iixh0jZPPbfv3so18tNoIgLatymw==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "dev": true }, + "big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "dev": true + }, "boolbase": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", @@ -252,12 +683,27 @@ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", "dev": true }, + "commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true }, + "convert-source-map": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", + "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.1" + } + }, "core-js": { "version": "2.6.11", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz", @@ -407,6 +853,12 @@ "integrity": "sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4=", "dev": true }, + "emojis-list": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", + "dev": true + }, "entities": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.3.tgz", @@ -461,6 +913,24 @@ "integrity": "sha512-tF0hv+Yi2Ot1cwj9eYHtxC0jB9bmjacjQs6ZBTj82H8JwUywFuc+7E83NWfNMwHXZc11mjfFcVXPe9gEP4B8dg==", "dev": true }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, "figma-assets-generator": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/figma-assets-generator/-/figma-assets-generator-1.2.0.tgz", @@ -494,6 +964,26 @@ "object-assign": "^4.1.0" } }, + "find-cache-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", + "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", + "dev": true, + "requires": { + "commondir": "^1.0.1", + "make-dir": "^2.0.0", + "pkg-dir": "^3.0.0" + } + }, + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, "follow-redirects": { "version": "1.5.10", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz", @@ -509,30 +999,31 @@ "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ=", "dev": true }, - "fs-extra": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.0.1.tgz", - "integrity": "sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^1.0.0" - } - }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, + "fsevents": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", + "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", + "dev": true, + "optional": true + }, "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", "dev": true }, + "gensync": { + "version": "1.0.0-beta.1", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.1.tgz", + "integrity": "sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg==", + "dev": true + }, "glob": { "version": "7.1.6", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", @@ -547,10 +1038,10 @@ "path-is-absolute": "^1.0.0" } }, - "graceful-fs": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", - "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", "dev": true }, "has": { @@ -589,6 +1080,12 @@ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", "dev": true }, + "html-tags": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-2.0.0.tgz", + "integrity": "sha1-ELMKOGCF9Dzt41PMj6fLDe7qZos=", + "dev": true + }, "indent-string": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", @@ -677,6 +1174,12 @@ "has-symbols": "^1.0.1" } }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, "js-yaml": { "version": "3.14.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz", @@ -687,14 +1190,25 @@ "esprima": "^4.0.0" } }, - "jsonfile": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.0.1.tgz", - "integrity": "sha512-jR2b5v7d2vIOust+w3wtFKZIfpC2pnRmFAhAC/BuweZFQR8qZzxH1OyrQ10HmdVYiXWkYUqPVsz91cG7EL2FBg==", + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "json5": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.3.tgz", + "integrity": "sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA==", "dev": true, "requires": { - "graceful-fs": "^4.1.6", - "universalify": "^1.0.0" + "minimist": "^1.2.5" } }, "listr": { @@ -788,12 +1302,50 @@ } } }, + "loader-utils": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", + "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", + "dev": true, + "requires": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^1.0.1" + }, + "dependencies": { + "json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } + } + } + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, "lodash": { "version": "4.17.20", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", "dev": true }, + "lodash.kebabcase": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz", + "integrity": "sha1-hImxyw0p/4gZXM7KRI/21swpXDY=", + "dev": true + }, "log-symbols": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", @@ -814,13 +1366,14 @@ "wrap-ansi": "^3.0.1" } }, - "lower-case": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.1.tgz", - "integrity": "sha512-LiWgfDLLb1dwbFQZsSglpRj+1ctGnayXz3Uv0/WO8n558JycT5fg6zkNcnW0G68Nn0aEldTFeEfmjCfmqry/rQ==", + "make-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", + "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", "dev": true, "requires": { - "tslib": "^1.10.0" + "pify": "^4.0.1", + "semver": "^5.6.0" } }, "mdn-data": { @@ -865,16 +1418,6 @@ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true }, - "no-case": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.3.tgz", - "integrity": "sha512-ehY/mVQCf9BL0gKfsJBvFJen+1V//U+0HQMPrWct40ixE4jnv0bfvxDbWtAHL9EcaPEOJHVVYKoQn1TlZUB8Tw==", - "dev": true, - "requires": { - "lower-case": "^2.0.1", - "tslib": "^1.10.0" - } - }, "node-fetch": { "version": "2.6.1", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", @@ -988,21 +1531,41 @@ "mimic-fn": "^1.0.0" } }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, "p-map": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", "dev": true }, - "pascal-case": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.1.tgz", - "integrity": "sha512-XIeHKqIrsquVTQL2crjq3NfJUxmdLasn3TYOU0VBM+UX2a6ztAWBlJQBePLGY7VHW8+2dRadeIPK5+KImwTxQA==", - "dev": true, - "requires": { - "no-case": "^3.0.3", - "tslib": "^1.10.0" - } + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true }, "path-is-absolute": { "version": "1.0.1", @@ -1010,6 +1573,33 @@ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "dev": true }, + "path-parse": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "dev": true + }, + "pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true + }, + "pkg-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", + "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", + "dev": true, + "requires": { + "find-up": "^3.0.0" + } + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + }, "q": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", @@ -1022,6 +1612,15 @@ "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==", "dev": true }, + "resolve": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + "dev": true, + "requires": { + "path-parse": "^1.0.6" + } + }, "restore-cursor": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", @@ -1041,6 +1640,42 @@ "glob": "^7.1.3" } }, + "rollup": { + "version": "2.29.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.29.0.tgz", + "integrity": "sha512-gtU0sjxMpsVlpuAf4QXienPmUAhd6Kc7owQ4f5lypoxBW18fw2UNYZ4NssLGsri6WhUZkE/Ts3EMRebN+gNLiQ==", + "dev": true, + "requires": { + "fsevents": "~2.1.2" + } + }, + "rollup-plugin-babel": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-babel/-/rollup-plugin-babel-4.4.0.tgz", + "integrity": "sha512-Lek/TYp1+7g7I+uMfJnnSJ7YWoD58ajo6Oarhlex7lvUce+RCKRuGRSgztDO3/MF/PuGKmUL5iTHKf208UNszw==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.0.0", + "rollup-pluginutils": "^2.8.1" + } + }, + "rollup-pluginutils": { + "version": "2.8.2", + "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", + "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", + "dev": true, + "requires": { + "estree-walker": "^0.6.1" + }, + "dependencies": { + "estree-walker": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz", + "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", + "dev": true + } + } + }, "rxjs": { "version": "6.6.3", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.3.tgz", @@ -1050,12 +1685,35 @@ "tslib": "^1.9.0" } }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, "sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", "dev": true }, + "schema-utils": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", + "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.5", + "ajv": "^6.12.4", + "ajv-keywords": "^3.5.2" + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, "signal-exit": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", @@ -1132,6 +1790,12 @@ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", "dev": true }, + "svg-tags": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz", + "integrity": "sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q=", + "dev": true + }, "svgo": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/svgo/-/svgo-1.3.2.tgz", @@ -1202,18 +1866,21 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "dev": true }, - "universalify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz", - "integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==", - "dev": true - }, "unquote": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz", "integrity": "sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ=", "dev": true }, + "uri-js": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", + "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, "util.promisify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.1.tgz", diff --git a/package.json b/package.json index 9824b6c..e4cd6eb 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,14 @@ { "name": "nataicons", - "version": "0.0.4", - "description": "A fun-themed and simple icon library made by Natatoko for everyone", + "version": "0.0.1", + "description": "A fun-themed simple open source icon made by the folks at Natatoko", "author": "Afnizar Nur Ghifari ", - "main": "index.js", + "main": "vue/lib/index.cjs.js", + "module": "vue/lib/index.es.js", + "jsnext:main": "vue/lib/index.es.js", "scripts": { "prepublishOnly": "npm run build", - "build": "npm run build:icons && npm run build:vue", + "build": "npm run build:icons && npm run build:vue && rollup -c", "build:icons": "npm run icons:get && npm run icons:optimize", "build:vue": "rm -rf ./vue && mkdir ./vue && node ./scripts/build-vue.js", "icons:get": "figma-assets-generator", @@ -23,13 +25,23 @@ "svg" ], "license": "MIT", + "dependencies": { + "babel-helper-vue-jsx-merge-props": "^2.0.3" + }, "devDependencies": { + "@babel/core": "^7.11.6", + "@vue/babel-preset-jsx": "^1.1.2", "@vue/compiler-dom": "^3.0.0", + "babel-loader": "^8.1.0", + "babel-plugin-syntax-jsx": "^6.18.0", + "babel-plugin-transform-vue-jsx": "^3.7.0", "camelcase": "^6.1.0", "dedent": "^0.7.0", "figma-assets-generator": "^1.2.0", "fs": "0.0.1-security", "rimraf": "^3.0.2", + "rollup": "^2.29.0", + "rollup-plugin-babel": "^4.4.0", "svgo": "^1.3.2", "vue-template-compiler": "^2.6.12" }, diff --git a/rollup.config.js b/rollup.config.js new file mode 100644 index 0000000..976ba02 --- /dev/null +++ b/rollup.config.js @@ -0,0 +1,48 @@ +import babel from "rollup-plugin-babel" + +const plugins = [ + babel({ + presets: ["@vue/babel-preset-jsx"], + exclude: "node_modules/**", + }), +] + +const input = "./vue/index.js" + +const build = [ + /* esm */ + { + input, + plugins, + output: { + file: `vue/lib/index.es.js`, + format: "es", + sourcemap: true, + }, + }, + + /* cjs */ + { + input, + plugins, + output: { + file: `vue/lib/index.cjs.js`, + format: "cjs", + sourcemap: true, + }, + }, + + /* umd */ + { + input, + plugins, + output: { + file: `vue/lib/index.umd.js`, + format: "umd", + name: `nataicons`, + sourcemap: true, + }, + }, +] + +export default build diff --git a/scripts/build-vue.js b/scripts/build-vue.js index 7d4d50f..fde7b83 100644 --- a/scripts/build-vue.js +++ b/scripts/build-vue.js @@ -3,13 +3,6 @@ const dedent = require("dedent") const camelcase = require("camelcase") const { promisify } = require("util") const rimraf = promisify(require("rimraf")) -const { compile } = require("@vue/compiler-dom") - -function svgToVue(svg) { - return compile(svg, { - mode: "module", - }).code -} const componentTemplate = (name, svg) => ` diff --git a/vue/AlertCircle.js b/vue/AlertCircle.js deleted file mode 100644 index ce7983b..0000000 --- a/vue/AlertCircle.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'AlertCircle.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/AlignJustify.js b/vue/AlignJustify.js deleted file mode 100644 index d2b9033..0000000 --- a/vue/AlignJustify.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'AlignJustify.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/AlignLeft.js b/vue/AlignLeft.js deleted file mode 100644 index 064bd4b..0000000 --- a/vue/AlignLeft.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'AlignLeft.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/AlignRight.js b/vue/AlignRight.js deleted file mode 100644 index 898967e..0000000 --- a/vue/AlignRight.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'AlignRight.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/ArrowBottomLeft.js b/vue/ArrowBottomLeft.js deleted file mode 100644 index 193309f..0000000 --- a/vue/ArrowBottomLeft.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'ArrowBottomLeft.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/ArrowBottomRight.js b/vue/ArrowBottomRight.js deleted file mode 100644 index 550950a..0000000 --- a/vue/ArrowBottomRight.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'ArrowBottomRight.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/ArrowDown.js b/vue/ArrowDown.js deleted file mode 100644 index b8183d4..0000000 --- a/vue/ArrowDown.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'ArrowDown.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/ArrowLeft.js b/vue/ArrowLeft.js deleted file mode 100644 index 6343ac5..0000000 --- a/vue/ArrowLeft.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'ArrowLeft.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/ArrowRight.js b/vue/ArrowRight.js deleted file mode 100644 index c0859ec..0000000 --- a/vue/ArrowRight.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'ArrowRight.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/ArrowTop.js b/vue/ArrowTop.js deleted file mode 100644 index 0bb2e9d..0000000 --- a/vue/ArrowTop.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'ArrowTop.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/ArrowTopLeft.js b/vue/ArrowTopLeft.js deleted file mode 100644 index 086e781..0000000 --- a/vue/ArrowTopLeft.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'ArrowTopLeft.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/ArrowTopRight.js b/vue/ArrowTopRight.js deleted file mode 100644 index a4f588a..0000000 --- a/vue/ArrowTopRight.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'ArrowTopRight.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Box.js b/vue/Box.js deleted file mode 100644 index 3e3b4d5..0000000 --- a/vue/Box.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Box.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Calendar.js b/vue/Calendar.js deleted file mode 100644 index af77848..0000000 --- a/vue/Calendar.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Calendar.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Check.js b/vue/Check.js deleted file mode 100644 index 8196107..0000000 --- a/vue/Check.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Check.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/CheckCircle.js b/vue/CheckCircle.js deleted file mode 100644 index 673273d..0000000 --- a/vue/CheckCircle.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'CheckCircle.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/ChevronDown.js b/vue/ChevronDown.js deleted file mode 100644 index a7b39ac..0000000 --- a/vue/ChevronDown.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'ChevronDown.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/ChevronLeft.js b/vue/ChevronLeft.js deleted file mode 100644 index d8c2b6e..0000000 --- a/vue/ChevronLeft.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'ChevronLeft.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/ChevronRight.js b/vue/ChevronRight.js deleted file mode 100644 index a1b273e..0000000 --- a/vue/ChevronRight.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'ChevronRight.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/ChevronUp.js b/vue/ChevronUp.js deleted file mode 100644 index 0d489b3..0000000 --- a/vue/ChevronUp.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'ChevronUp.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Clipboard.js b/vue/Clipboard.js deleted file mode 100644 index 1689949..0000000 --- a/vue/Clipboard.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Clipboard.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Clock.js b/vue/Clock.js deleted file mode 100644 index d2e54c9..0000000 --- a/vue/Clock.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Clock.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Close.js b/vue/Close.js deleted file mode 100644 index a1b0e4a..0000000 --- a/vue/Close.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Close.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Copy.js b/vue/Copy.js deleted file mode 100644 index 31ff314..0000000 --- a/vue/Copy.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Copy.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Dashboard.js b/vue/Dashboard.js deleted file mode 100644 index b2895ff..0000000 --- a/vue/Dashboard.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Dashboard.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Download.js b/vue/Download.js deleted file mode 100644 index 1d7cbdf..0000000 --- a/vue/Download.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Download.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Edit.js b/vue/Edit.js deleted file mode 100644 index 30c4932..0000000 --- a/vue/Edit.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Edit.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Edit2.js b/vue/Edit2.js deleted file mode 100644 index 94d9a47..0000000 --- a/vue/Edit2.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Edit2.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/ExternalLink.js b/vue/ExternalLink.js deleted file mode 100644 index cb217b6..0000000 --- a/vue/ExternalLink.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'ExternalLink.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Image.js b/vue/Image.js deleted file mode 100644 index c031cf0..0000000 --- a/vue/Image.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Image.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Inbox.js b/vue/Inbox.js deleted file mode 100644 index 0fd1850..0000000 --- a/vue/Inbox.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Inbox.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/InboxIn.js b/vue/InboxIn.js deleted file mode 100644 index d0d7884..0000000 --- a/vue/InboxIn.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'InboxIn.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/InboxOut.js b/vue/InboxOut.js deleted file mode 100644 index 930ee26..0000000 --- a/vue/InboxOut.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'InboxOut.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Info.js b/vue/Info.js deleted file mode 100644 index 670c0a6..0000000 --- a/vue/Info.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Info.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/List.js b/vue/List.js deleted file mode 100644 index ecf4f11..0000000 --- a/vue/List.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'List.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/LockClosed.js b/vue/LockClosed.js deleted file mode 100644 index ebe3e74..0000000 --- a/vue/LockClosed.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'LockClosed.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/LockOpen.js b/vue/LockOpen.js deleted file mode 100644 index 0b6dbf2..0000000 --- a/vue/LockOpen.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'LockOpen.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Maximize.js b/vue/Maximize.js deleted file mode 100644 index a6431a4..0000000 --- a/vue/Maximize.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Maximize.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Menu.js b/vue/Menu.js deleted file mode 100644 index c9c7f60..0000000 --- a/vue/Menu.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Menu.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Minimize.js b/vue/Minimize.js deleted file mode 100644 index 4de1178..0000000 --- a/vue/Minimize.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Minimize.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Minus.js b/vue/Minus.js deleted file mode 100644 index 4b30001..0000000 --- a/vue/Minus.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Minus.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/MoreHorizontal.js b/vue/MoreHorizontal.js deleted file mode 100644 index 9356513..0000000 --- a/vue/MoreHorizontal.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'MoreHorizontal.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/MoreVertical.js b/vue/MoreVertical.js deleted file mode 100644 index 33e5163..0000000 --- a/vue/MoreVertical.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'MoreVertical.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Pencil.js b/vue/Pencil.js deleted file mode 100644 index eb465e1..0000000 --- a/vue/Pencil.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Pencil.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Plus.js b/vue/Plus.js deleted file mode 100644 index a5e07b0..0000000 --- a/vue/Plus.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Plus.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/PlusCircle.js b/vue/PlusCircle.js deleted file mode 100644 index 5db09e9..0000000 --- a/vue/PlusCircle.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'PlusCircle.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Search.js b/vue/Search.js deleted file mode 100644 index 94ba8a9..0000000 --- a/vue/Search.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Search.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/ShoppingBag.js b/vue/ShoppingBag.js deleted file mode 100644 index 9cb5f1c..0000000 --- a/vue/ShoppingBag.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'ShoppingBag.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Stats.js b/vue/Stats.js deleted file mode 100644 index f618de9..0000000 --- a/vue/Stats.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Stats.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Trash.js b/vue/Trash.js deleted file mode 100644 index db3cd2f..0000000 --- a/vue/Trash.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Trash.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/Upload.js b/vue/Upload.js deleted file mode 100644 index bef9f5e..0000000 --- a/vue/Upload.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'Upload.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/ZoomIn.js b/vue/ZoomIn.js deleted file mode 100644 index 66fedf9..0000000 --- a/vue/ZoomIn.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'ZoomIn.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/ZoomOut.js b/vue/ZoomOut.js deleted file mode 100644 index 07735ef..0000000 --- a/vue/ZoomOut.js +++ /dev/null @@ -1,26 +0,0 @@ -export default { -name: 'ZoomOut.js', - -props: { - size: { - type: String, - default: '24', - validator: (s) => (!isNaN(s) || s.length >= 2 && !isNaN(s.slice(0, s.length -1)) && s.slice(-1) === 'x' ) - } -}, -functional: true, -render(h, ctx) { - const size = ctx.props.size.slice(-1) === 'x' - ? ctx.props.size.slice(0, ctx.props.size.length -1) + 'em' - : parseInt(ctx.props.size) + 'px'; - const attrs = ctx.data.attrs || {} - attrs.width = attrs.width || size - attrs.height = attrs.height || size - ctx.data.attrs = attrs - - return - - - -} -} \ No newline at end of file diff --git a/vue/index.js b/vue/index.js deleted file mode 100644 index 2bae182..0000000 --- a/vue/index.js +++ /dev/null @@ -1,53 +0,0 @@ -export { default as AlertCircle } from './AlertCircle.js' -export { default as AlignJustify } from './AlignJustify.js' -export { default as AlignLeft } from './AlignLeft.js' -export { default as AlignRight } from './AlignRight.js' -export { default as ArrowBottomLeft } from './ArrowBottomLeft.js' -export { default as ArrowBottomRight } from './ArrowBottomRight.js' -export { default as ArrowDown } from './ArrowDown.js' -export { default as ArrowLeft } from './ArrowLeft.js' -export { default as ArrowRight } from './ArrowRight.js' -export { default as ArrowTopLeft } from './ArrowTopLeft.js' -export { default as ArrowTopRight } from './ArrowTopRight.js' -export { default as ArrowTop } from './ArrowTop.js' -export { default as Box } from './Box.js' -export { default as Calendar } from './Calendar.js' -export { default as CheckCircle } from './CheckCircle.js' -export { default as Check } from './Check.js' -export { default as ChevronDown } from './ChevronDown.js' -export { default as ChevronLeft } from './ChevronLeft.js' -export { default as ChevronRight } from './ChevronRight.js' -export { default as ChevronUp } from './ChevronUp.js' -export { default as Clipboard } from './Clipboard.js' -export { default as Clock } from './Clock.js' -export { default as Close } from './Close.js' -export { default as Copy } from './Copy.js' -export { default as Dashboard } from './Dashboard.js' -export { default as Download } from './Download.js' -export { default as Edit2 } from './Edit2.js' -export { default as Edit } from './Edit.js' -export { default as ExternalLink } from './ExternalLink.js' -export { default as Image } from './Image.js' -export { default as InboxIn } from './InboxIn.js' -export { default as InboxOut } from './InboxOut.js' -export { default as Inbox } from './Inbox.js' -export { default as Info } from './Info.js' -export { default as List } from './List.js' -export { default as LockClosed } from './LockClosed.js' -export { default as LockOpen } from './LockOpen.js' -export { default as Maximize } from './Maximize.js' -export { default as Menu } from './Menu.js' -export { default as Minimize } from './Minimize.js' -export { default as Minus } from './Minus.js' -export { default as MoreHorizontal } from './MoreHorizontal.js' -export { default as MoreVertical } from './MoreVertical.js' -export { default as Pencil } from './Pencil.js' -export { default as PlusCircle } from './PlusCircle.js' -export { default as Plus } from './Plus.js' -export { default as Search } from './Search.js' -export { default as ShoppingBag } from './ShoppingBag.js' -export { default as Stats } from './Stats.js' -export { default as Trash } from './Trash.js' -export { default as Upload } from './Upload.js' -export { default as ZoomIn } from './ZoomIn.js' -export { default as ZoomOut } from './ZoomOut.js' \ No newline at end of file