diff --git a/packages/oui-back-button/README.md b/packages/oui-back-button/README.md index 421fc705..a6012b08 100644 --- a/packages/oui-back-button/README.md +++ b/packages/oui-back-button/README.md @@ -7,8 +7,7 @@ ### Default ```html:preview - - +Title ``` ### Aria label @@ -27,11 +26,13 @@ ## API -| Attribute | Type | Binding | One-time binding | Values | Default | Description | -| ---- | ---- | ---- | ---- | ---- | ---- | ---- | -| id | string | @? | true | | | id attribute of the input | -| name | string | @? | true | | | name attribute of the input | -| aria-label | string | @? | true | | | accessibility label | -| heading | string | @? | true | | | text of the header | -| on-click | function | &? | | | | callback on component click | -| href | string | @? | true | | | link url | +| Attribute | Type | Binding | One-time binding | Values | Default | Description +| ---- | ---- | ---- | ---- | ---- | ---- | ---- +| `id` | string | @? | true | | | id attribute of the input +| `name` | string | @? | true | | | name attribute of the input +| `aria-label` | string | @? | true | | | accessibility label +| `heading` | string | @? | true | | | text of the header +| `on-click` | function | &? | | | | callback on component click +| `href` | string | @? | true | | | url of the return link +| `state` | string | @? | yes | | | state of the return link +| `stateParams` | object | -

+ + + +

{{::$ctrl.heading}}

diff --git a/packages/oui-button/README.md b/packages/oui-button/README.md index db996bc8..5349de49 100644 --- a/packages/oui-button/README.md +++ b/packages/oui-button/README.md @@ -7,37 +7,37 @@ ### Default ```html:preview - +Default button ``` ### Action buttons ```html:preview -
+

-

+

-
+

-

+

``` ### Steps buttons ```html:preview -
+

-

+

-
+

-

+

``` ### Accessibility diff --git a/packages/oui-button/src/button.component.js b/packages/oui-button/src/button.component.js index e2de9edd..8c75fc2b 100644 --- a/packages/oui-button/src/button.component.js +++ b/packages/oui-button/src/button.component.js @@ -16,5 +16,6 @@ export default { onClick: "&?" }, controller, - template + template, + transclude: true }; diff --git a/packages/oui-button/src/button.html b/packages/oui-button/src/button.html index 4d002518..1106a01d 100644 --- a/packages/oui-button/src/button.html +++ b/packages/oui-button/src/button.html @@ -16,7 +16,7 @@ > - + {{::$ctrl.text}}