@defra/interactive-map 0.0.57-alpha → 0.0.58-alpha
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/docs/assets/css/docusaurus.scss +7 -1
- package/docs/plugins/draw.md +244 -195
- package/package.json +1 -1
- package/plugins/draw/dist/esm/im-draw-plugin.js +1 -1
- package/plugins/draw/dist/umd/im-draw-plugin.js +1 -1
- package/plugins/draw/src/adapterEvents.js +13 -9
- package/plugins/draw/src/api/createNewShape.js +2 -2
- package/plugins/draw/src/api/newPoint.js +2 -2
- package/plugins/draw/src/api/newPoint.test.js +8 -0
- package/plugins/draw/src/api/newPolygon.test.js +8 -0
- package/plugins/draw/src/api/split.js +3 -0
- package/plugins/draw/src/api/split.test.js +5 -0
- package/plugins/draw/src/events.js +18 -14
- package/plugins/draw/src/events.test.js +71 -0
- package/plugins/draw/src/validation/commitChecks.js +3 -1
- package/plugins/draw/src/validation/commitChecks.test.js +6 -2
|
@@ -244,4 +244,10 @@
|
|
|
244
244
|
|
|
245
245
|
.govuk-\!-margin-top-4 {
|
|
246
246
|
margin-top: 20px !important;
|
|
247
|
-
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/* The theme drops the last row's border on a table followed by a section break, but its
|
|
250
|
+
tr:last-child also matches the header row (the only row in thead). Restore that one. */
|
|
251
|
+
.app-prose-scope table:has(+ hr) thead tr:last-child th:not(.app-no-prose *) {
|
|
252
|
+
border-bottom: 1px solid #cecece;
|
|
253
|
+
}
|