Skip to content

Commit

Permalink
docs(deprecation): add deprecation warnings to remaining deprecated c…
Browse files Browse the repository at this point in the history
…omponents

Signed-off-by: Geoff Pleiss <gpleiss@pivotal.io>
  • Loading branch information
vinsonchuong committed May 18, 2015
1 parent f17b515 commit 12ed367
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 4 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
#### Deprecation warnings

The following components are deprecated, and will be removed in the next major release:

* Health indicators
* Pivnet homepage
* Scales
* Apps Manager-style toggles
* Traffic lights
* No JavaScript
* 2 & 3 line ellipsis
* Event list

The following JavaScript libraries will also not be included in the next major release:

* jQuery
* Bootstrap.js
* Modernizr
* Lodash
* PUI Utils

<a name="1.6.0"></a>
## 1.6.0 (2015-02-27)

Expand Down
9 changes: 9 additions & 0 deletions src/pivotal-ui/components/ellipsis/ellipsis.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ categories:
The type `.type-ellipsis-1-line` adds ellipsis to text when there is too much. Combine it with `.col-md-*` classes to get the width you want.
<div class="alert alert-danger mbxl">
<h5 class="em-high mtn">
Deprecation warning
</h5>
<p>
The 2- and 3-line ellipsis are deprecated.
</p>
</div>
```html_example_table
<p class="type-ellipsis-1-line">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Expand Down
8 changes: 4 additions & 4 deletions src/pivotal-ui/components/intro/intro.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ categories:
<h3 class="em-high type-neutral-2">What's included</h3>
<p>Pivotal UI comes with everything you need from grids, to fonts, and even JavaScript!</p>
<ul>
<li>jQuery v2.1.1</li>
<li>LoDash v2.4.1</li>
<li>modernizr v2.8.3</li>
<li>Bootstrap v3.2</li>
<li>jQuery v2.1.1 (will not be included in the next major release)</li>
<li>LoDash v2.4.1 (will not be included in the next major release)</li>
<li>modernizr v2.8.3 (will not be included in the next major release)</li>
<li>Bootstrap v3.2 (javascript will not be included in the next major release)</li>
<li>Prism.js</li>
<li>Font Awesome v4.10</li>
<li>Normalize CSS v1.0.2</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ category:
- React Beta
---
<div class="alert alert-danger mbxl">
<h5 class="em-high mtn">
Deprecation warning
</h5>
<p>
This component is deprecated.
</p>
</div>
Here is a basic example of how React components can be combined to create larger pieces.
```jsx_example
Expand Down

0 comments on commit 12ed367

Please sign in to comment.