@gov-cy/govcy-frontend-renderer 1.12.0 → 1.14.0
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 +2 -0
- package/dist/govcyCompiledTemplates.browser.js +772 -534
- package/package.json +1 -1
- package/src/njk/elements/checkboxes.njk +5 -2
- package/src/njk/elements/dateInput.njk +18 -15
- package/src/njk/elements/datePicker.njk +2 -1
- package/src/njk/elements/radios.njk +3 -2
- package/src/njk/elements/select.njk +2 -1
- package/src/njk/elements/textArea.njk +4 -1
- package/src/njk/elements/textInput.njk +4 -1
- package/src/njk/elements/userName.njk +28 -0
- package/src/njk/govcyElement.njk +1 -1
- package/src/njk/layouts/govcyBase.njk +1 -0
package/README.md
CHANGED
|
@@ -359,6 +359,7 @@ let inputString =
|
|
|
359
359
|
|
|
360
360
|
If your using the `pageData.layout`, you can render html in each of the following [gov.cy page template](https://gov-cy.github.io/govcy-design-system-docs/getting-started/page-template/) blocks:
|
|
361
361
|
- **bodyStart**: the start of the body
|
|
362
|
+
- **userName**: the section where the username and logout links are rendered
|
|
362
363
|
- **header**: the header section (where the gov.cy logo and service name are rendered)
|
|
363
364
|
- **beforeMain**: the section before the main content
|
|
364
365
|
- **main**: the main content
|
|
@@ -414,6 +415,7 @@ let inputJson =
|
|
|
414
415
|
|
|
415
416
|
If your using the `pageData.layout`, you can render html in each of the following [gov.cy page template](https://gov-cy.github.io/govcy-design-system-docs/getting-started/page-template/) blocks, by using the `sections` array (in a similar way `blocks` is use ) :
|
|
416
417
|
- **bodyStart**: the start of the body
|
|
418
|
+
- **userName**: the section where the username and logout links are rendered
|
|
417
419
|
- **header**: the header section (where the gov.cy logo and service name are rendered)
|
|
418
420
|
- **beforeMain**: the section before the main content
|
|
419
421
|
- **main**: the main content
|