Skip to content

Commit

Permalink
Merge dbf8e7a into e55953c
Browse files Browse the repository at this point in the history
  • Loading branch information
cathysiller committed Dec 1, 2016
2 parents e55953c + dbf8e7a commit 17320ed
Show file tree
Hide file tree
Showing 108 changed files with 162 additions and 109 deletions.
1 change: 1 addition & 0 deletions demo/index.html
Expand Up @@ -65,6 +65,7 @@
<script src="scripts/rxStyleguide.js"></script>
<script src="scripts/rxExample.js"></script>
<script src="scripts/rxPermalink.js"></script>
<script src="scripts/rxStability.js"></script>
<!-- controllers -->
<script src="scripts/layout/page/layoutDataTableController.js"></script>
<script src="scripts/layout/page/layoutRadioOptionTableController.js"></script>
Expand Down
33 changes: 33 additions & 0 deletions demo/less/_rxStability.less
@@ -0,0 +1,33 @@
.rxStability {
&__pill {
font-size: 9px;
font-weight: 600;
text-transform: uppercase;
font-family: "Roboto", sans-serif;
display: inline-block;
padding: 2px 10px;
border-radius: @rxTags-height / 2;
vertical-align: top;
background-color: @gray-500;
color: @black;

&--prototype {
background-color: @orange-500;
color: @gray-950;
}

&--deprecated {
background-color: @red-500;
color: @white;
}

&--ready {
background-color: @green-500;
color: @white;
}
}
.tooltip-inner {
font-size: 13px;
text-align: left;
}
}
1 change: 1 addition & 0 deletions demo/less/demoApp.less
Expand Up @@ -3,6 +3,7 @@
@import "_palette";
@import "_rxExample";
@import "_rxPermalink";
@import "_rxStability";

/* TODO: (deprecated) remove with last of components */
.module-description {
Expand Down
21 changes: 21 additions & 0 deletions demo/scripts/rxStability.js
@@ -0,0 +1,21 @@
angular.module('demoApp')
.directive('rxStability', function () {
return {
restrict: 'E',
templateUrl: 'templates/rx-stability.html',
scope: {
stability: '='
},
transclude: true,
link: function (scope) {
scope.tooltips = {
prototype: [
'This feature will likely have breaking changes.',
'Consistent functionality not guaranteed.'
].join('<br/>'),
deprecated: 'Stop using the feature! <br />It will be removed in a future release.',
ready: 'This feature is stable and ready for use.'
};
}
};
});
4 changes: 1 addition & 3 deletions demo/templates/modules/listCategoryModules.html
Expand Up @@ -28,9 +28,7 @@
<a href="#/{{vm.category}}/{{module.name}}">{{ module.displayName }}</a>
</td>
<td class="column stability">
<span ng-if="module.stability">
<img ng-src="http://badges.github.io/stability-badges/dist/{{module.stability}}.svg"></img>
</span>
<rx-stability stability="module.stability"></rx-stability>
</td>
</tr>
<tr ng-if="!vm.modules.length">
Expand Down
4 changes: 1 addition & 3 deletions demo/templates/modules/listModules.html
Expand Up @@ -28,9 +28,7 @@
<a href="#/{{module.category}}/{{module.name}}">{{ module.displayName }}</a>
</td>
<td class="column stability">
<span ng-if="module.stability">
<img ng-src="http://badges.github.io/stability-badges/dist/{{module.stability}}.svg"></img>
</span>
<rx-stability stability="module.stability"></rx-stability>
</td>
<td><a href="#/{{module.category}}">{{module.category | rxCapitalize}}</a></td>
</tr>
Expand Down
4 changes: 1 addition & 3 deletions demo/templates/modules/showModule.html
@@ -1,9 +1,7 @@
<rx-page title="module.displayName" class="{{module.name}}-demo">
<div layout="row" layout-align="middle">
<div flex>
<img ng-if="module.stability"
alt="stability is {{module.stability}}"
ng-src="http://badges.github.io/stability-badges/dist/{{module.stability}}.svg" />
<rx-stability stability="module.stability"></rx-stability>
</div>

<div flex class="align-right">
Expand Down
3 changes: 3 additions & 0 deletions demo/templates/rx-stability.html
@@ -0,0 +1,3 @@
<div class="rxStability" ng-switch="stability">
<div class="rxStability__pill rxStability__pill--{{stability}}" tooltip-html="tooltips[stability]" tooltip-stability>{{stability}}</div>
</div>
2 changes: 1 addition & 1 deletion src/components/rxApp/docs/rxApp.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "rxApp",
"stability": "unstable",
"stability": "ready",
"description": "",
"isLegacy": true,
"keywords": []
Expand Down
2 changes: 1 addition & 1 deletion src/components/rxOptionTable/docs/rxOptionTable.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "rxOptionTable",
"stability": "unstable",
"stability": "deprecated",
"description": "",
"isLegacy": true,
"keywords": []
Expand Down
2 changes: 1 addition & 1 deletion src/elements/AccountInfo/docs/AccountInfo.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Account Info",
"stability": "stable",
"stability": "ready",
"description": "Responsible for drawing an account info box.",
"api": "directive:rxAccountInfo",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/ActionMenu/docs/ActionMenu.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Action Menu",
"stability": "stable",
"stability": "ready",
"description": "Display configurable action menu",
"api": "directive:rxActionMenu",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Breadcrumbs/docs/Breadcrumbs.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Breadcrumbs",
"stability": "stable",
"stability": "prototype",
"description": "Displays navigation breadcrumbs on a page",
"api": "directive:rxBreadcrumbs",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Buttons/docs/Buttons.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Buttons",
"stability": "unstable",
"stability": "ready",
"description": "Several examples and styles of Buttons available for different contexts.",
"api": "directive:rxButton",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Collapse/docs/Collapse.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Collapse",
"stability": "stable",
"stability": "ready",
"description": "display and hide content on a page",
"api": "directive:rxCollapse",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Copy/docs/Copy.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Copy",
"stability": "experimental",
"stability": "prototype",
"description": "Element to aid in copying text to the system clipboard",
"api": "directive:rxCopy",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Feedback/docs/Feedback.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Feedback",
"stability": "stable",
"stability": "ready",
"description": "Gather and send user feedback",
"api": "directive:rxFeedback",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/FlexboxGrid/docs/FlexboxGrid.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Flexbox Grid",
"stability": "stable",
"stability": "ready",
"description": "",
"hasApi": false,
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Forms/docs/Forms.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Forms",
"stability": "stable",
"stability": "ready",
"description": "Usage and examples of different Form usage patterns.",
"hasApi": false,
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/InfoPanel/docs/InfoPanel.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Info Panel",
"stability": "stable",
"stability": "ready",
"description": "This is a generic info panel for use at the top of pages",
"api": "directive:rxInfoPanel",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Links/docs/Links.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Links",
"stability": "unstable",
"stability": "ready",
"description": "Usage and examples of different link and status message patterns.",
"hasApi": false,
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Lists/docs/Lists.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Lists",
"stability": "unstable",
"stability": "ready",
"description": "Usage and examples of different List patterns.",
"hasApi": false,
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Metadata/docs/Metadata.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Metadata",
"stability": "stable",
"stability": "ready",
"description": "Metadata contains directives to provide consistent styling for the display of metadata information",
"hasApi": false,
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Modals/docs/Modals.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Modals",
"stability": "stable",
"stability": "ready",
"description": "",
"api":"directive:rxModalAction",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Notifications/docs/Notifications.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Notifications",
"stability": "stable",
"stability": "ready",
"description": "Manages page messages for an application.",
"hasApi": false,
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Progressbar/docs/Progressbar.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Progress Bars",
"stability": "experimental",
"stability": "prototype",
"description": "Provides feedback on the progress of a workflow or action",
"api": "directive:rxProgressbar",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Spinner/docs/Spinner.meta.json
@@ -1,6 +1,6 @@
{
"displayName":"Spinners",
"stability":"stable",
"stability":"ready",
"description":"Adds a spinner icon to any element",
"api":"directive:rxSpinner",
"keywords":[
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Tables/docs/Tables.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Tables",
"stability": "stable",
"stability": "ready",
"description": "Usage and examples of different Table patterns.",
"hasApi": false,
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Tabs/docs/Tabs.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Tabs",
"stability": "stable",
"stability": "ready",
"description": "Styling for ngBootstrap Tabs plugin",
"hasApi": false,
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Tags/docs/Tags.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Tags",
"stability": "stable",
"stability": "ready",
"description": "apply predetermined descriptions to an entity",
"api": "directive:rxTags",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Tooltips/docs/Tooltips.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Tooltips",
"stability": "stable",
"stability": "ready",
"description": "provides styles to raw HTML elements and custom directive templates",
"keywords": [
"message",
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Typeahead/docs/Typeahead.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Typeahead",
"stability": "stable",
"stability": "ready",
"description": "",
"api": "directive:typeahead",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/elements/Wells/docs/Wells.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Wells",
"stability": "stable",
"stability": "ready",
"description": "Provides usage of wells in different context.",
"hasApi": false,
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/Auth/docs/Auth.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Auth",
"stability": "unstable",
"stability": "ready",
"description": "Provides logic for authenticating, validating permissions, and managing sessions.",
"api": "service:Auth",
"keywords": []
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/Environment/docs/Environment.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Environment",
"stability": "unstable",
"stability": "ready",
"description": "Allows environments to be defined, and retrieving the current environment based on location.",
"api": "service:Environment",
"keywords": []
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/ErrorFormatter/docs/ErrorFormatter.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "ErrorFormatter",
"stability": "stable",
"stability": "ready",
"description": "Provides a helper method to parse and format error objects.",
"api": "service:ErrorFormatter",
"keywords": []
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/Identity/docs/Identity.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Identity",
"stability": "unstable",
"stability": "ready",
"description": "This is a component designed to aid interaction with Rackspace's Identity API.",
"api": "service:Identity",
"keywords": []
Expand Down
@@ -1,6 +1,6 @@
{
"displayName": "NotifyProperties",
"stability": "experimental",
"stability": "prototype",
"description": "Provides a registration service for directive, controller, or other service notification updates.",
"api": "service:NotifyProperties",
"keywords": []
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/Page/docs/Page.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Page",
"stability": "stable",
"stability": "ready",
"description": "Pagination filter that is used to limit the number of pages shown.",
"api": "filter:Page",
"keywords": []
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/PageTracking/docs/PageTracking.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "PageTracking",
"stability": "stable",
"stability": "ready",
"description": "Used with pagination objects to store/control page display of data tables and other items.",
"api": "service:PageTracking",
"keywords": []
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/Paginate/docs/Paginate.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Paginate",
"stability": "stable",
"stability": "ready",
"description": "Pagination filter that is used to calculate the division in the items list for the paging.",
"api": "filter:Paginate",
"keywords": []
Expand Down
@@ -1,6 +1,6 @@
{
"displayName": "PaginatedItemsSummary",
"stability": "stable",
"stability": "ready",
"description": "Provides a formatted string with the current range of items in total items.",
"api": "filter:PaginatedItemsSummary",
"keywords": []
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/Permission/docs/Permission.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "Permission",
"stability": "unstable",
"stability": "ready",
"description": "Simple service for accessing roles and permissions for a user.",
"api": "service:Permission",
"keywords": []
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/SelectFilter/docs/SelectFilter.meta.json
@@ -1,6 +1,6 @@
{
"displayName": "SelectFilter",
"stability": "experimental",
"stability": "prototype",
"description": "A prototype for creating objects that can be used for filtering arrays.",
"api": "service:SelectFilter",
"keywords": []
Expand Down

0 comments on commit 17320ed

Please sign in to comment.