├── package.js ├── composer.json ├── bower.json ├── package.json ├── README.md ├── RELEASE-NOTES.md ├── button.min.css └── button.css /package.js: -------------------------------------------------------------------------------- 1 | 2 | Package.describe({ 3 | name : 'semantic:ui-button', 4 | summary : 'Semantic UI - Button: Single component release', 5 | version : '2.2.10', 6 | git : 'git://github.com/Semantic-Org/UI-Button.git', 7 | }); 8 | 9 | Package.onUse(function(api) { 10 | api.versionsFrom('1.0'); 11 | api.addFiles([ 12 | 'button.css' 13 | ], 'client'); 14 | }); 15 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "semantic/button", 3 | "description": "Single component release of button", 4 | "homepage": "http://www.semantic-ui.com", 5 | "authors": [{ 6 | "name": "Jack Lukic", 7 | "email": "jacklukic@gmail.com", 8 | "homepage": "http://www.jacklukic.com", 9 | "role": "Creator" 10 | }], 11 | "keywords": ["semantic", "ui", "css", "framework"], 12 | "license": "MIT", 13 | "version": "2.5.0" 14 | } -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "semantic-ui-button", 3 | "description": "Button - Semantic UI", 4 | "homepage": "http://www.semantic-ui.com", 5 | "author": { 6 | "name": "Jack Lukic", 7 | "web": "http://www.jacklukic.com" 8 | }, 9 | "ignore": ["docs", "node", "server", "spec", "src", "test"], 10 | "keywords": ["semantic", "ui", "css3", "framework"], 11 | "license": ["http://semantic-ui.mit-license.org/"], 12 | "main": ["button.css"] 13 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "semantic-ui-button", 3 | "version": "2.5.0", 4 | "title": "Semantic UI - Button", 5 | "description": "Single component release of button", 6 | "homepage": "http://www.semantic-ui.com", 7 | "author": "Jack Lukic ", 8 | "license": "MIT", 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/Semantic-Org/UI-Button.git" 12 | }, 13 | "bugs": { 14 | "url": "https://github.com/Semantic-Org/Semantic-UI/issues" 15 | }, 16 | "devDependencies": {} 17 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Semantic Button 2 | 3 | This repository contains pre-compiled button 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. 4 | 5 | For the latest changes please see the [Release Notes](https://github.com/Semantic-Org/UI-Button/blob/master/RELEASE-NOTES.md) 6 | 7 | **Special Note** 8 | 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). 9 | 10 | 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) 11 | 12 | #### To install with Bower 13 | ``` 14 | bower install semantic-ui-button 15 | ``` 16 | 17 | #### To install with NPM 18 | ``` 19 | npm install semantic-ui-button 20 | ``` 21 | 22 | #### To install with Meteor 23 | ``` 24 | meteor add semantic:ui-button 25 | ``` 26 | 27 | 28 | ## Addendum 29 | 30 | This element's definitions (required class names, html structures) are available in the [UI Docs](http://www.semantic-ui.com) 31 | 32 | Please consider checking out [all the benefits to theming](http://www.learnsemantic.com/guide/expert.html) before using these stand-alone releases. 33 | -------------------------------------------------------------------------------- /RELEASE-NOTES.md: -------------------------------------------------------------------------------- 1 | ### Version 2.5.0 - Oct 6, 2022 2 | 3 | - **Button** - Fix usage of loading on in labeled button #7023 thanks @flppv 4 | 5 | ### Version 2.3.2 - June 18, 2018 6 | 7 | - **Button** - Add `inverted` and `inverted basic` variations for `primary` and `secondary` buttons **Thanks @hammy2899** [#6242](https://github.com/Semantic-Org/Semantic-UI/issues/6242) 8 | 9 | ### Version 2.2.14 - Jan 29, 2018 10 | 11 | - **Button** - YouTube's red color now matches their current brand guidelines **Thanks @hammy2899** [#6110](https://github.com/Semantic-Org/Semantic-UI/issues/6110) 12 | 13 | ### Version 2.2.10 - March 28, 2017 14 | 15 | - **Button** - Fixes `@basicActiveBoxShadow` being used incorrectly in basic button variables 16 | - **Modal** - `onDeny` and `onApprove` callbacks can no longer occur multiple times if you rapidly click a approve/deny button in a. #4479 17 | 18 | #### Dropdown 19 | 20 | - **Button** - Fixed issue where css specificity caused `icon buttons` to not center correctly [#4487](https://github.com/Semantic-Org/Semantic-UI/pull/4487) 21 | 22 | ### Version 2.2.3 - August 21, 2016 23 | 24 | - **Button/Dropdown** - Fixed issue where `ui dropdown button` could have incorrect spacing for dropdown icon **Thanks @ilanus** [#4408](https://github.com/Semantic-Org/Semantic-UI/issues/4408) 25 | - **Button** - Fixed `vertical buttons` with only 1 button having incorrect border radius **Thanks @Denhai** [#4107](https://github.com/Semantic-Org/Semantic-UI/issues/4107) 26 | 27 | ### Version 2.2.0 - June 26, 2016 28 | 29 | - **Button** - Added compatibility with `primary` `secondary` `positive` `negative` buttons with the `basic` styling variation. [#3756](https://github.com/Semantic-Org/Semantic-UI/issues/3756) 30 | - **Button** - Added variables for configuring `disabled` background image and box shadow. 31 | - **Button** - `right icon` like `right arrow icon` would have additional margin inside an `icon button` [#3525](https://github.com/Semantic-Org/Semantic-UI/issues/3525) 32 | - **Button** - Fixed issue where `disabled loading button` would not remove `pointer-events` [#2933](https://github.com/Semantic-Org/Semantic-UI/issues/2933) 33 | - **Button** - Fixed typo in `green inverted button` [#3873](https://github.com/Semantic-Org/Semantic-UI/issues/3873) 34 | - **Button/Dropdown** - Button dropdowns using `default text` no longer receive incorrect font styling for placeholder text 35 | - **Checkbox** - Radio buttons received `indeterminate` styles when user has not yet interacted with the page in Chrome 36 | - **Input** - Fixes issue with `dropdown` or button on the left side of an `action` input not properly rounding 37 | 38 | ### Version 2.1.5 - Nov 1, 2015 39 | 40 | - **Examples** - All code examples now have a "copy to clipboard" button **Thanks @xiwc and @zenorocha for clipboard.js** 41 | - **Sticky** - Fixed issue where pressing home/end button would cause sticky to break due to internal logic not allowing immediate jump from bottom attached to top attached, experienced most likely when pressing "home" or "end" key [#3011](https://github.com/Semantic-Org/Semantic-UI/issues/3011) 42 | 43 | ### Version 2.1.4 - Sep 13, 2015 44 | 45 | - **Button** - Fixes `right labeled icon button` with a `right` named icon (for example `right arrow`) having incorrect margin on icon. [#2973](https://github.com/Semantic-Org/Semantic-UI/issues/2973) 46 | 47 | ### Version 2.1.3 - Sep 03, 2015 48 | 49 | - **Input** - `action input` now correctly show focused border on button side, and avoids duplicating borders 50 | 51 | #### Features 52 | 53 | - **Button** - `colored basic` button are now colored before `:hover` in the default theme, this is more in line with common usage across other websites. 54 | - **Button** - Added `labeled button` variation for display a count next to a button. 55 | 56 | #### Bugs 57 | 58 | - **Button** - Fixes inverted button missing an `active` and `active focus` state [#2635](https://github.com/Semantic-Org/Semantic-UI/issues/2635) 59 | - **Button** - Fixes issue where `basic button` would not have focus color text when colored [#2264](https://github.com/Semantic-Org/Semantic-UI/issues/2264) 60 | - **Input** `action input` and `labeled input` now have focused border on inner edge with label/button 61 | 62 | ### Version 2.0.7 - July 23, 2015 63 | 64 | - **Dropdown** - Fixed border radius on `circular labeled icon button` [#2700](https://github.com/Semantic-Org/Semantic-UI/issues/2700) 65 | 66 | ### Version 2.0.4 - July 17, 2015 67 | 68 | - **Button** - Fixed `fluid buttons` not working correctly with `