lbh-frontend 4.1.0-next.2 → 4.1.1-next.1

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/CHANGELOG.md CHANGED
@@ -6,6 +6,15 @@ Republish on npm as `latest`. The earlier `3.7.0` tarball was published from the
6
6
 
7
7
  * fix Release Please tag format (`include-component-in-tag: false`) so future releases use `vX.Y.Z` tags
8
8
 
9
+ ## [4.1.1](https://github.com/LBHackney-IT/lbh-frontend/compare/v4.1.0...v4.1.1) (2026-07-22)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **contact-block:** Update to working Mapbox ([#183](https://github.com/LBHackney-IT/lbh-frontend/issues/183)) ([7081816](https://github.com/LBHackney-IT/lbh-frontend/commit/7081816866e5f707a64e53f34609048f1ae139c9))
15
+ * **docs:** Use correct HTML attributes for SVG. ([#186](https://github.com/LBHackney-IT/lbh-frontend/issues/186)) ([10f0ff8](https://github.com/LBHackney-IT/lbh-frontend/commit/10f0ff8962a3c3da153d67c844c1de978a805088))
16
+ * Improve small checkbox/radio display. ([#185](https://github.com/LBHackney-IT/lbh-frontend/issues/185)) ([3deb460](https://github.com/LBHackney-IT/lbh-frontend/commit/3deb4607a797db29352735ef013ca8bb6e3c8068))
17
+
9
18
  ## [4.1.0](https://github.com/LBHackney-IT/lbh-frontend/compare/v4.0.0...v4.1.0) (2026-07-02)
10
19
 
11
20
 
package/README.md CHANGED
@@ -25,9 +25,10 @@ We use a feature-branching strategy. Make your pull requests to the `develop` br
25
25
  ### npm releases
26
26
 
27
27
  - Pushes run unit tests and a production dependency audit (see `tests.yml`).
28
- - Maintainers can publish a prerelease to npm `@next` when ready (`publish-prerelease.yml` — requires approval on the `npm-prerelease` environment).
29
- - Merging a Release Please PR publishes to npm `latest` (`release-please.yml`). `prepublishOnly` validates the npm pack contents only (no docs or dist build).
30
- - Use `publish-release.yml` for manual `latest` publishes when Release Please did not run (requires `npm-release` environment approval).
28
+ - Publishing uses [npm trusted publishers](https://docs.npmjs.com/trusted-publishers) (OIDC) via `publish-npm.yml` — no long-lived `NPM_TOKEN` in the publish workflows.
29
+ - Maintainers can publish a prerelease to npm `@next` when ready (`publish-npm.yml`, channel `next` — requires approval on the `npm-prerelease` environment).
30
+ - Merging a Release Please PR creates a GitHub Release; `publish-npm.yml` then publishes to npm `latest` (via the `npm-release` environment). `prepublishOnly` validates the npm pack contents only (no docs or dist build).
31
+ - Use `publish-npm.yml` (channel `latest`) for manual `latest` publishes when the automatic path did not run (also uses `npm-release` environment approval).
31
32
 
32
33
  ### Sass reference (`static/sassdoc`)
33
34
 
@@ -28,5 +28,17 @@
28
28
  @include lbh-body-m;
29
29
  margin-bottom: 0;
30
30
  }
31
+
32
+ &.govuk-checkboxes--small {
33
+ .govuk-checkboxes__item {
34
+ margin-bottom: 0;
35
+ }
36
+
37
+ .govuk-checkboxes__label {
38
+ margin-top: -2px;
39
+ margin-bottom: 0;
40
+ line-height: inherit;
41
+ }
42
+ }
31
43
  }
32
44
  }
@@ -54,14 +54,16 @@ Map.prototype.setBounds = function() {
54
54
 
55
55
  Map.prototype.initMapboxTiles = function() {
56
56
  var osmStreet = tileLayer(
57
- "https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}",
57
+ "https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}",
58
58
  {
59
59
  fadeAnimation: false,
60
60
  opacity: 1,
61
61
  attribution:
62
62
  'Map data &copy; <a href="https://openstreetmap.org">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://mapbox.com">Mapbox</a>',
63
+ tileSize: 512,
63
64
  maxZoom: this.maxZoom,
64
- id: "mapbox.streets",
65
+ zoomOffset: -1,
66
+ id: 'mapbox/streets-v11',
65
67
  accessToken: this.accessToken
66
68
  }
67
69
  );
@@ -25,5 +25,13 @@
25
25
  .govuk-hint {
26
26
  @include lbh-hint;
27
27
  }
28
+
29
+ &.govuk-radios--small {
30
+ .govuk-label {
31
+ margin-top: -2px;
32
+ margin-bottom: 0;
33
+ line-height: inherit;
34
+ }
35
+ }
28
36
  }
29
37
  }
@@ -8,8 +8,20 @@
8
8
  margin-top: 0;
9
9
  }
10
10
 
11
+ .govuk-tabs__list-item--selected {
12
+ margin-top: -5px;
13
+ }
14
+
11
15
  .govuk-tabs__panel {
12
16
  margin-top: 0;
13
17
  }
18
+
19
+ .govuk-tabs__tab {
20
+ text-decoration: none;
21
+
22
+ &:hover {
23
+ text-decoration: underline;
24
+ }
25
+ }
14
26
  }
15
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lbh-frontend",
3
- "version": "4.1.0-next.2",
3
+ "version": "4.1.1-next.1",
4
4
  "description": "Everything you need to make digital services for Hackney",
5
5
  "license": "MIT",
6
6
  "homepage": "https://design-system.hackney.gov.uk",