-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 89b10ea
Showing
7 changed files
with
407 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Semantic Placeholder | ||
|
||
This repository contains pre-compiled placeholder 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-Placeholder/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-placeholder | ||
``` | ||
|
||
#### To install with NPM | ||
``` | ||
npm install semantic-ui-placeholder | ||
``` | ||
|
||
#### To install with Meteor | ||
``` | ||
meteor add semantic:ui-placeholder | ||
``` | ||
|
||
|
||
## 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
### Version 2.4.0 - Sep 17, 2018 | ||
|
||
> `2.4.0` includes a new component `placeholder`. To use this component in your existing SUI site, be sure to add `@placeholder: 'default';` to your `theme.config`. You can see an example in `theme.config.example` | ||
- **Placeholder** - Added `ui placeholder` that can be used to show where content will soon appear. | ||
- **Segment** - Added new `ui placeholder segment` used to reserve space for UI when content is missing or empty. | ||
|
||
### Version 2.2.0 - June 26, 2016 | ||
|
||
- **Dropdown** - Added new convenience method `restore placeholder text` | ||
- **Site** - Added new `@inputColor` and `@inputPlaceholderColor` global variables that now control placeholder text styles across all components. | ||
- **Button/Dropdown** - Button dropdowns using `default text` no longer receive incorrect font styling for placeholder text | ||
- **Visibility** - Using `type: fixed` will now correctly remove all special classes and placeholder content on `destroy` [#3548](https://github.com/Semantic-Org/Semantic-UI/issues/3548) | ||
|
||
### Version 2.1.3 - Sep 03, 2015 | ||
|
||
- **Input** - Fixes typo in focused placeholder text color preventing the value from being used [#2939](https://github.com/Semantic-Org/Semantic-UI/issues/2939) | ||
|
||
#### Features | ||
|
||
- **Dropdown** - Added `get default text` and `get placeholder text` behaviors for returning text values. | ||
|
||
#### Bugs | ||
|
||
- **Dropdown** - Fixes issues with setting "" (empty quote) values when `placeholder: false` is used. Fixes issues with using `clear` and `restore defaults` without placeholders. [#2637](https://github.com/Semantic-Org/Semantic-UI/issues/2637) | ||
- **Form / Input** - Fixes `::placeholder` text color for `ui error input`, modifies form error placeholder color to distinguish from form value error color [#2786](https://github.com/Semantic-Org/Semantic-UI/issues/2786) | ||
- **Dropdown** - When `useLabels: false` placeholder text will now show up when 0 items selected, instead of the text "0 items selected" | ||
|
||
### Version 2.0.0 - June 30, 2015 | ||
|
||
- **Embed** - New embed component allows for responsive iframe embeds that maintain their aspect ratio. Embed can be used with YouTube or Vimeo videos, along with placeholder content to avoid loading third party libraries until a user chooses to interact with the video. | ||
- **Visibility** - Using `.visibility({ type: 'fixed'})` will now automatically add a placeholder element which will swap places with an element when it is attached to the viewport. This should make fixed content drastically simpler. | ||
- **Dropdown** - Dropdown has new `placeholder` setting for setting placeholder text in javascript | ||
- **Form** - Added placeholder color rules for IE, `ms-input-placeholder` | ||
- **Input** - Added placeholder color rules for IE, `ms-input-placeholder` | ||
- **Input** - Fixed `placeholder` color not changing correctly on focus **Thanks @zxfwinder** | ||
|
||
### Version 1.12.1 - April 26, 2015 | ||
|
||
- **Input** - Fixes placeholder text color prefixes for `webkit` **Backport from 2.0** | ||
|
||
### Version 1.8.0 - January 23, 2015 | ||
|
||
- **Dropdown** - Dropdown now stores `placeholder text` (prompt text) as separate from `default text` (text set on page load). You can now reset placeholder conditions using `$('.ui.dropdown').dropdown('clear');`` | ||
|
||
### Version 1.7.0 - January 14, 2015 | ||
|
||
- **Dropdown** - `restore defaults` will now set placeholder styling and remove active element. Added example in docs. | ||
|
||
### Version 1.3.0 - December 17, 2014 | ||
|
||
- **Dropdown** - Search Dropdown now correctly replaces placeholder text when backspacing to empty value | ||
|
||
### Version 0.12.0 - Jan 06, 2014 | ||
|
||
- **Input** - Fixes input placeholder styles to work (accidental regex replace) | ||
|
||
### Version 0.9.0 - Nov 5, 2013 | ||
|
||
- **Form** - Darkens placeholder text color to be more visible | ||
|
||
### Version 0.1.0 - Sep 25, 2013 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"name": "semantic-ui-placeholder", | ||
"description": "Placeholder - Semantic UI", | ||
"homepage": "http://www.semantic-ui.com", | ||
"author": { | ||
"name": "Jack Lukic", | ||
"web": "http://www.jacklukic.com" | ||
}, | ||
"ignore": [ | ||
"docs", | ||
"node", | ||
"server", | ||
"spec", | ||
"src", | ||
"test" | ||
], | ||
"keywords": [ | ||
"semantic", | ||
"ui", | ||
"css3", | ||
"framework" | ||
], | ||
"license": [ | ||
"http://semantic-ui.mit-license.org/" | ||
], | ||
"main": [ | ||
"placeholder.css" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "semantic/placeholder", | ||
"description": "Single component release of placeholder", | ||
"homepage": "http://www.semantic-ui.com", | ||
"authors": [{ | ||
"name": "Jack Lukic", | ||
"email": "[email protected]", | ||
"web": "http://www.jacklukic.com", | ||
"role": "Creator" | ||
}], | ||
"keywords": [ | ||
"semantic", | ||
"ui", | ||
"css", | ||
"framework" | ||
], | ||
"license": "MIT", | ||
"version": "2.4.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "semantic-ui-placeholder", | ||
"version": "2.4.0", | ||
"title": "Semantic UI - Placeholder", | ||
"description": "Single component release of placeholder", | ||
"homepage": "http://www.semantic-ui.com", | ||
"author": "Jack Lukic <[email protected]>", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Semantic-Org/UI-Placeholder.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/Semantic-Org/Semantic-UI/issues" | ||
}, | ||
"devDependencies": {} | ||
} |
Oops, something went wrong.