diff --git a/src/demos/checkbox/checkbox-demo.component.html b/src/demos/checkbox/checkbox-demo.component.html index 0bfdf3a4f..c1039b6a6 100644 --- a/src/demos/checkbox/checkbox-demo.component.html +++ b/src/demos/checkbox/checkbox-demo.component.html @@ -1,18 +1,47 @@ -
- Checkbox options - -
-Checked state: +

+ Checkbox states +

+ + +

+ Checkbox styles +

+ + + + Success + + + + + + Warning + + + + + + Danger + + diff --git a/src/demos/checkbox/checkbox-demo.component.ts b/src/demos/checkbox/checkbox-demo.component.ts index 0095a0d59..def4267bc 100644 --- a/src/demos/checkbox/checkbox-demo.component.ts +++ b/src/demos/checkbox/checkbox-demo.component.ts @@ -7,18 +7,18 @@ import { Component } from '@angular/core'; export class SkyCheckboxDemoComponent { public checkboxItems = [ { - description: 'Checkbox 1' + label: 'Checkbox 1' }, { - description: 'Checkbox 2', + label: 'Checkbox 2', checked: true }, { - description: 'Disabled', + label: 'Disabled', disabled: true }, { - description: 'Disabled and selected', + label: 'Disabled and checked', checked: true, disabled: true } diff --git a/src/demos/radio/radio-demo.component.html b/src/demos/radio/radio-demo.component.html index b2d71af9c..615f1311e 100644 --- a/src/demos/radio/radio-demo.component.html +++ b/src/demos/radio/radio-demo.component.html @@ -1,36 +1,91 @@ -
-
-
- Radio button options -
    -
  • - - Option 1 - -
  • +

    + Radio states +

    -
  • - - Option 2 - -
  • +
      +
    • + + + Option 1 + + +
    • +
    • + + + Option 2 + + +
    • +
    • + + + Option 3 + + +
    • +
    -
  • - - Option 3 - -
  • -
-
+

+ Selected option: {{ selectedValue }} +

-
- Selected option: {{selectedValue}} - Touched: {{cb.touched}} - Pristine: {{cb.pristine}} -
-
+

+ Radio styles +

+ + + + Success + + + + + + Warning + + + + + + Danger + + + +

+ Selected style: {{ selectedStyle }} +

diff --git a/src/modules/checkbox/checkbox.component.html b/src/modules/checkbox/checkbox.component.html index 5fe2e1d3a..aadd12420 100644 --- a/src/modules/checkbox/checkbox.component.html +++ b/src/modules/checkbox/checkbox.component.html @@ -1,14 +1,28 @@ -