govuk-frontend
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -843,3 +843,3 @@ (function (global, factory) { | ||
// Bind an event to handle summary elements | ||
this.handleInputs($module, this.setAttributes.bind(this)); | ||
this.handleInputs($summary, this.setAttributes.bind(this)); | ||
}; | ||
@@ -846,0 +846,0 @@ |
@@ -38,3 +38,3 @@ # Date input | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--width-2" id="dob-day" name="dob-day" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="dob-day" name="dob-day" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -49,3 +49,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--width-2" id="dob-month" name="dob-month" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="dob-month" name="dob-month" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -60,3 +60,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-4 govuk-input--width-4" id="dob-year" name="dob-year" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-4" id="dob-year" name="dob-year" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -130,3 +130,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--width-2 govuk-input--error" id="dob-errors-day" name="day" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--error" id="dob-errors-day" name="day" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -141,3 +141,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--width-2 govuk-input--error" id="dob-errors-month" name="month" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--error" id="dob-errors-month" name="month" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -152,3 +152,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-4 govuk-input--width-4 govuk-input--error" id="dob-errors-year" name="year" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-4 govuk-input--error" id="dob-errors-year" name="year" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -224,3 +224,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--width-2 govuk-input--error" id="dob-day-error-day" name="dob-day-error-day" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--error" id="dob-day-error-day" name="dob-day-error-day" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -235,3 +235,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--width-2" id="dob-day-error-month" name="dob-day-error-month" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="dob-day-error-month" name="dob-day-error-month" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -246,3 +246,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-4 govuk-input--width-4" id="dob-day-error-year" name="dob-day-error-year" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-4" id="dob-day-error-year" name="dob-day-error-year" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -319,3 +319,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--width-2" id="dob-month-error-day" name="dob-month-error-day" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="dob-month-error-day" name="dob-month-error-day" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -330,3 +330,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--width-2 govuk-input--error" id="dob-month-error-month" name="dob-month-error-month" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--error" id="dob-month-error-month" name="dob-month-error-month" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -341,3 +341,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-4 govuk-input--width-4" id="dob-month-error-year" name="dob-month-error-year" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-4" id="dob-month-error-year" name="dob-month-error-year" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -414,3 +414,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--width-2" id="dob-year-error-day" name="dob-year-error-day" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="dob-year-error-day" name="dob-year-error-day" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -425,3 +425,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--width-2" id="dob-year-error-month" name="dob-year-error-month" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="dob-year-error-month" name="dob-year-error-month" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -436,3 +436,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-4 govuk-input--width-4 govuk-input--error" id="dob-year-error-year" name="dob-year-error-year" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-4 govuk-input--error" id="dob-year-error-year" name="dob-year-error-year" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -505,3 +505,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--width-2" id="dob-day" name="dob-day" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="dob-day" name="dob-day" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -516,3 +516,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2 govuk-input--width-2" id="dob-month" name="dob-month" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-2" id="dob-month" name="dob-month" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -527,3 +527,3 @@ </div> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-4 govuk-input--width-4" id="dob-year" name="dob-year" type="number" pattern="[0-9]*"> | ||
<input class="govuk-input govuk-date-input__input govuk-input--width-4" id="dob-year" name="dob-year" type="number" pattern="[0-9]*"> | ||
</div> | ||
@@ -640,3 +640,3 @@ </div> | ||
<td class="govuk-table__cell ">Optional item-specific id. If provided, it will be used instead of the generated.</td> | ||
<td class="govuk-table__cell ">Optional item-specific id. If provided, it will be used instead of the generated id.</td> | ||
@@ -653,3 +653,3 @@ </tr> | ||
<td class="govuk-table__cell ">Optional item-specific name attribute. If provided, it will be used instead of the generated name.</td> | ||
<td class="govuk-table__cell ">Item-specific name attribute.</td> | ||
@@ -660,2 +660,14 @@ </tr> | ||
<th class="govuk-table__header" scope="row">items.{}.value</th> | ||
<td class="govuk-table__cell ">string</td> | ||
<td class="govuk-table__cell ">No</td> | ||
<td class="govuk-table__cell ">Optional item-specific value attribute. If provided, it will be used as the initial value of the input.</td> | ||
</tr> | ||
<tr class="govuk-table__row"> | ||
<th class="govuk-table__header" scope="row">hint</th> | ||
@@ -662,0 +674,0 @@ |
@@ -793,3 +793,3 @@ (function (global, factory) { | ||
// Bind an event to handle summary elements | ||
this.handleInputs($module, this.setAttributes.bind(this)); | ||
this.handleInputs($summary, this.setAttributes.bind(this)); | ||
}; | ||
@@ -796,0 +796,0 @@ |
{ | ||
"name": "govuk-frontend", | ||
"description": "GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"main": "all.js", | ||
@@ -6,0 +6,0 @@ "sass": "all.scss", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1336523