From 3f4c0720e1e3421431e7baa20882a4a4512a7fab Mon Sep 17 00:00:00 2001 From: ivar Date: Sun, 19 Oct 2025 23:41:23 +0200 Subject: Initial --- .../tasks/config/admin/templates/README.md | 32 ++++++++++++++++++++ .../tasks/config/admin/templates/bower.json | 29 ++++++++++++++++++ .../config/admin/templates/component-package.js | 14 +++++++++ .../tasks/config/admin/templates/composer.json | 22 ++++++++++++++ .../tasks/config/admin/templates/css-package.js | 34 ++++++++++++++++++++++ .../tasks/config/admin/templates/less-package.js | 21 +++++++++++++ .../tasks/config/admin/templates/package.json | 17 +++++++++++ 7 files changed, 169 insertions(+) create mode 100644 src/wwwroot/libraries/fomantic/tasks/config/admin/templates/README.md create mode 100644 src/wwwroot/libraries/fomantic/tasks/config/admin/templates/bower.json create mode 100644 src/wwwroot/libraries/fomantic/tasks/config/admin/templates/component-package.js create mode 100644 src/wwwroot/libraries/fomantic/tasks/config/admin/templates/composer.json create mode 100644 src/wwwroot/libraries/fomantic/tasks/config/admin/templates/css-package.js create mode 100644 src/wwwroot/libraries/fomantic/tasks/config/admin/templates/less-package.js create mode 100644 src/wwwroot/libraries/fomantic/tasks/config/admin/templates/package.json (limited to 'src/wwwroot/libraries/fomantic/tasks/config/admin/templates') diff --git a/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/README.md b/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/README.md new file mode 100644 index 0000000..ec1d4eb --- /dev/null +++ b/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/README.md @@ -0,0 +1,32 @@ +# Semantic {Component} + +This repository contains pre-compiled {component} files using the default themes. This is intended for use in projects that do not need all the bells and whistles of Semantic UI, and want to keep file size to a minimum. + +For the latest changes please see the [Release Notes](https://github.com/Semantic-Org/UI-{Component}/blob/master/RELEASE-NOTES.md) + +**Special Note** +An update in `2.0.8` has fixed an issue which may have prevented some single component modules from working correctly. Please see notes in [this pull request](https://github.com/Semantic-Org/Semantic-UI/pull/2816). + +If you're looking for the full version of Semantic including all components and build tools [check out the main project repository](https://github.com/Semantic-Org/Semantic-UI/tree/1.0) + +#### To install with Bower +``` +bower install semantic-ui-{component} +``` + +#### To install with NPM +``` +npm install semantic-ui-{component} +``` + +#### To install with Meteor +``` +meteor add semantic:ui-{component} +``` + + +## Addendum + +This element's definitions (required class names, html structures) are available in the [UI Docs](http://www.semantic-ui.com) + +Please consider checking out [all the benefits to theming](http://www.learnsemantic.com/guide/expert.html) before using these stand-alone releases. diff --git a/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/bower.json b/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/bower.json new file mode 100644 index 0000000..ab4951a --- /dev/null +++ b/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/bower.json @@ -0,0 +1,29 @@ +{ + "name" : "Component", + "description" : "Component distribution", + "homepage" : "http://www.semantic-ui.com", + "author": { + "name" : "Jack Lukic", + "web" : "http://www.jacklukic.com" + }, + "ignore": [ + "./index.js" + ], + "keywords": [ + "semantic", + "ui", + "css3", + "framework" + ], + "license" : [ + "http://semantic-ui.mit-license.org/" + ], + "ignore": [ + "docs", + "node", + "server", + "spec", + "src", + "test" + ] +} diff --git a/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/component-package.js b/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/component-package.js new file mode 100644 index 0000000..74cd51b --- /dev/null +++ b/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/component-package.js @@ -0,0 +1,14 @@ + +Package.describe({ + name : 'semantic:ui-{component}', + summary : 'Semantic UI - {Component}: Single component release', + version : '{version}', + git : 'git://github.com/Semantic-Org/UI-{Component}.git', +}); + +Package.onUse(function(api) { + api.versionsFrom('1.0'); + api.addFiles([ + {files} + ], 'client'); +}); diff --git a/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/composer.json b/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/composer.json new file mode 100644 index 0000000..ddc49b9 --- /dev/null +++ b/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/composer.json @@ -0,0 +1,22 @@ +{ + "name" : "fomantic/ui", + "description" : "Fomantic empowers designers and developers by creating a shared vocabulary for UI.", + "homepage" : "https://fomantic-ui.com", + "authors": [ + { + "name" : "Jack Lukic", + "email": "jacklukic@gmail.com", + "homepage" : "http://www.jacklukic.com", + "role" : "Creator" + } + ], + "keywords": [ + "fomantic", + "fomantic-ui", + "semantic", + "ui", + "css", + "framework" + ], + "license" : "MIT" +} \ No newline at end of file diff --git a/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/css-package.js b/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/css-package.js new file mode 100644 index 0000000..0949ce3 --- /dev/null +++ b/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/css-package.js @@ -0,0 +1,34 @@ +var + where = 'client' // Adds files only to the client +; + +Package.describe({ + name : 'semantic:ui-css', + summary : 'Semantic UI - CSS Release of Semantic UI', + version : '{version}', + git : 'git://github.com/Semantic-Org/Semantic-UI-CSS.git', +}); + +Package.onUse(function(api) { + + api.versionsFrom('1.0'); + + api.use('jquery', 'client'); + + api.addFiles([ + // icons + 'themes/default/assets/fonts/icons.eot', + 'themes/default/assets/fonts/icons.svg', + 'themes/default/assets/fonts/icons.ttf', + 'themes/default/assets/fonts/icons.woff', + 'themes/default/assets/fonts/icons.woff2', + + // flags + 'themes/default/assets/images/flags.png', + + // release + 'semantic.css', + 'semantic.js' + ], 'client'); + +}); diff --git a/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/less-package.js b/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/less-package.js new file mode 100644 index 0000000..e2f8a25 --- /dev/null +++ b/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/less-package.js @@ -0,0 +1,21 @@ +var + where = 'client' // Adds files only to the client +; + +Package.describe({ + name : 'semantic:ui', + summary : 'Semantic UI - LESS Release of Semantic UI', + version : '{version}', + git : 'git://github.com/Semantic-Org/Semantic-UI-LESS.git', +}); + +Package.onUse(function(api) { + + api.versionsFrom('1.0'); + api.use('less', 'client'); + + api.addFiles([ + {files} + ], 'client'); + +}); diff --git a/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/package.json b/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/package.json new file mode 100644 index 0000000..5d96785 --- /dev/null +++ b/src/wwwroot/libraries/fomantic/tasks/config/admin/templates/package.json @@ -0,0 +1,17 @@ +{ + "name": "semantic", + "version": "1.0.0", + "title": "Semantic UI", + "description": "Semantic empowers designers and developers by creating a shared vocabulary for UI.", + "homepage": "http://www.semantic-ui.com", + "author": "Jack Lukic ", + "license": "MIT", + "repository": { + "type": "git", + "url": "git://github.com/Semantic-Org/Semantic-UI.git" + }, + "bugs": { + "url": "https://github.com/Semantic-Org/Semantic-UI/issues" + }, + "devDependencies": {} +} -- cgit v1.3