nhsuk-decorated-components 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -46,10 +46,8 @@ To add them to the NHS.UK Prototype Kit, follow these steps:
46
46
 
47
47
  ```diff
48
48
  + {% from "x-nhsuk/decorated/button/macro.njk" import button with context %}
49
- + {% from "x-nhsuk/decorated/character-count/macro.njk" import characterCount with context %}
50
49
  + {% from "x-nhsuk/decorated/checkboxes/macro.njk" import checkboxes with context %}
51
50
  + {% from "x-nhsuk/decorated/date-input/macro.njk" import dateInput with context %}
52
- + {% from "x-nhsuk/decorated/file-upload/macro.njk" import fileUpload with context %}
53
51
  + {% from "x-nhsuk/decorated/input/macro.njk" import input with context %}
54
52
  + {% from "x-nhsuk/decorated/radios/macro.njk" import radios with context %}
55
53
  + {% from "x-nhsuk/decorated/select/macro.njk" import select with context %}
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "nhsuk-decorated-components",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Form components for the NHS.UK Design System that require less parameters to collect data",
5
5
  "keywords": [
6
- "govuk",
6
+ "nhsuk",
7
7
  "design system",
8
8
  "prototyping",
9
9
  "components"
@@ -1,4 +1,4 @@
1
- {% from "select/macro.njk" import govukSelect as source -%}
2
- {%- macro govukSelect(params) -%}
1
+ {% from "select/macro.njk" import select as source -%}
2
+ {%- macro select(params) -%}
3
3
  {{- source(decorate(params, params.decorate)) -}}
4
4
  {%- endmacro %}
@@ -1,4 +1,4 @@
1
- {% from "textarea/macro.njk" import govukTextarea as source -%}
2
- {%- macro govukTextarea(params) -%}
1
+ {% from "textarea/macro.njk" import textarea as source -%}
2
+ {%- macro textarea(params) -%}
3
3
  {{- source(decorate(params, params.decorate)) -}}
4
4
  {%- endmacro %}
@@ -1,4 +0,0 @@
1
- {% from "character-count/macro.njk" import govukCharacterCount as source -%}
2
- {%- macro govukCharacterCount(params) -%}
3
- {{- source(decorate(params, params.decorate)) -}}
4
- {%- endmacro %}
@@ -1,4 +0,0 @@
1
- {% from "file-upload/macro.njk" import govukFileUpload as source -%}
2
- {%- macro govukFileUpload(params) -%}
3
- {{- source(decorate(params, params.decorate)) -}}
4
- {%- endmacro %}