lbh-frontend 3.6.0 → 3.7.0-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.
Files changed (33) hide show
  1. package/CHANGELOG.md +81 -0
  2. package/README.md +13 -2
  3. package/dist/{lbh-frontend-3.6.0.min.css → lbh-frontend-3.7.0-next.1.min.css} +1437 -817
  4. package/dist/lbh-frontend-3.7.0-next.1.min.js +1 -0
  5. package/lbh/components/lbh-accordion/accordion.d.ts +35 -0
  6. package/lbh/components/lbh-back-to-top/back-to-top.d.ts +10 -0
  7. package/lbh/components/lbh-back-to-top/back-to-top.js +13 -2
  8. package/lbh/components/lbh-button/button.d.ts +12 -0
  9. package/lbh/components/lbh-character-count/character-count.d.ts +21 -0
  10. package/lbh/components/lbh-checkboxes/checkboxes.d.ts +15 -0
  11. package/lbh/components/lbh-collapsible/collapsible.d.ts +9 -0
  12. package/lbh/components/lbh-contact-block/contact-block.d.ts +26 -0
  13. package/lbh/components/lbh-contact-block/contact-block.js +1 -1
  14. package/lbh/components/lbh-cookie-banner/cookie-banner.d.ts +13 -0
  15. package/lbh/components/lbh-details/details.d.ts +12 -0
  16. package/lbh/components/lbh-dialog/_dialog.scss +20 -4
  17. package/lbh/components/lbh-dialog/index.tsx +32 -25
  18. package/lbh/components/lbh-error-summary/error-summary.d.ts +13 -0
  19. package/lbh/components/lbh-header/_header.scss +2 -1
  20. package/lbh/components/lbh-radios/radios.d.ts +12 -0
  21. package/lbh/components/lbh-tabs/tabs.d.ts +33 -0
  22. package/lbh/core/core.test.js +1 -4
  23. package/lbh/helpers/colour.test.js +10 -10
  24. package/lbh/helpers/helpers.test.js +1 -3
  25. package/lbh/helpers/typography.test.js +1 -6
  26. package/lbh/index.d.ts +27 -246
  27. package/lbh/objects/objects.test.js +1 -4
  28. package/lbh/settings/settings.test.js +1 -5
  29. package/lbh/test/sass-render.cjs +63 -0
  30. package/lbh/tools/exports.test.js +1 -6
  31. package/package.json +50 -85
  32. package/dist/lbh-frontend-3.6.0.min.js +0 -386
  33. package/dist/lbh-frontend-ie8-3.6.0.min.css +0 -6405
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [3.6.1](https://github.com/LBHackney-IT/LBH-frontend/compare/v3.6.0...v3.6.1) (2021-09-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **types:** improve typescript support for dynamic imports ([#179](https://github.com/LBHackney-IT/LBH-frontend/issues/179)) ([#180](https://github.com/LBHackney-IT/LBH-frontend/issues/180)) ([6c53369](https://github.com/LBHackney-IT/LBH-frontend/commit/6c533695c5b7e4351687a2596d6b99116a1702ca))
7
+
1
8
  # [3.6.0](https://github.com/LBHackney-IT/LBH-frontend/compare/v3.5.3...v3.6.0) (2021-08-27)
2
9
 
3
10
 
@@ -17,6 +24,80 @@
17
24
 
18
25
  * **types:** add typings for exports ([#177](https://github.com/LBHackney-IT/LBH-frontend/issues/177)) ([1c1eca6](https://github.com/LBHackney-IT/LBH-frontend/commit/1c1eca6f8679377fd3d788dac397c5a2c188a387))
19
26
 
27
+ ## [3.7.0](https://github.com/LBHackney-IT/lbh-frontend/compare/lbh-frontend-v3.6.1...lbh-frontend-v3.7.0) (2026-06-11)
28
+
29
+
30
+ ### Features
31
+
32
+ * **collapsible:** add collapsible component ([7450351](https://github.com/LBHackney-IT/lbh-frontend/commit/7450351c1e3b628164acaee73d5e7c0a1dd5fc23))
33
+ * **conversation:** add conversation component ([6b5f33a](https://github.com/LBHackney-IT/lbh-frontend/commit/6b5f33a2c632a463cc6b06eab33b7862e21cf1e5))
34
+ * **core:** add resident components-only stylesheet ([599381b](https://github.com/LBHackney-IT/lbh-frontend/commit/599381bd3833698d922c2bbec4279706952fe65f))
35
+ * **core:** add staff-facing components and fixes ([#158](https://github.com/LBHackney-IT/lbh-frontend/issues/158)) ([10f8fc2](https://github.com/LBHackney-IT/lbh-frontend/commit/10f8fc261bc0fe4b36781676ad028b32f35e4b6d))
36
+ * **core:** add timeline component ([89a8f0c](https://github.com/LBHackney-IT/lbh-frontend/commit/89a8f0c685fab42f279977369213a47bbf245c56))
37
+ * **core:** add tip component ([5ca7bf2](https://github.com/LBHackney-IT/lbh-frontend/commit/5ca7bf2c7c2d65db8bcb67b61342c7624a6b1c83))
38
+ * **core:** another test release ([ace26a9](https://github.com/LBHackney-IT/lbh-frontend/commit/ace26a9bf9cb2d38c8890b8ff4ece8c7647c2556))
39
+ * **core:** fix npm scripts ([5e50521](https://github.com/LBHackney-IT/lbh-frontend/commit/5e50521fc526bc7faef8a2d03aea49b2f6ae86db))
40
+ * **core:** performance improvements to sass imports ([f47d042](https://github.com/LBHackney-IT/lbh-frontend/commit/f47d042f2332e619e90770aaf319d65fff842ae0))
41
+ * **core:** test release ([2369c50](https://github.com/LBHackney-IT/lbh-frontend/commit/2369c501313810c7dcddb16fcd7c30b45d153f96))
42
+ * **core:** test release ([3c9414e](https://github.com/LBHackney-IT/lbh-frontend/commit/3c9414eb93d9176f214e352b349335752c8f723f))
43
+ * **core:** test release ([3feb4a3](https://github.com/LBHackney-IT/lbh-frontend/commit/3feb4a312026f4c53d16b2706c256d08a21667c1))
44
+ * **core:** test release ([fa1acbd](https://github.com/LBHackney-IT/lbh-frontend/commit/fa1acbd8e5d4d393144789a03221b3d947e0347c))
45
+ * **core:** test release ([83eb014](https://github.com/LBHackney-IT/lbh-frontend/commit/83eb014504830774c06e97a188019bc936538acf))
46
+ * **core:** test release ([076f8c4](https://github.com/LBHackney-IT/lbh-frontend/commit/076f8c4ac939e707fbe4a3336d56f4cc3474e520))
47
+ * **core:** test release ([f3b5d71](https://github.com/LBHackney-IT/lbh-frontend/commit/f3b5d710ed6c6d37d7dbf4730a1d569b1bc9992c))
48
+ * **core:** test release (again) ([f0b787e](https://github.com/LBHackney-IT/lbh-frontend/commit/f0b787e20711e2bbc46ad3b4a03d4750f2b7e21d))
49
+ * **core:** test release commit ([47774c6](https://github.com/LBHackney-IT/lbh-frontend/commit/47774c6bf3909906d92187583329f82dc1c718fd))
50
+ * **core:** update govuk dependency ([931c6c6](https://github.com/LBHackney-IT/lbh-frontend/commit/931c6c6bbf711f054d526a7ec22fc2c6fc96641b))
51
+ * **dialog:** add a modal dialog component ([bbe77d9](https://github.com/LBHackney-IT/lbh-frontend/commit/bbe77d9bc6c22ab635c01f400af753d4395454d4))
52
+ * **pagination:** add pagination component ([9599b9e](https://github.com/LBHackney-IT/lbh-frontend/commit/9599b9edaf58a93dff6e9909c384fe3a39d2a0f4))
53
+ * **search-box:** add search box ([44c1372](https://github.com/LBHackney-IT/lbh-frontend/commit/44c1372c493d001bb6171cd85b0918bf5759edb9))
54
+ * **search-box:** add search box ([5432b03](https://github.com/LBHackney-IT/lbh-frontend/commit/5432b03870a65f55dacde13f4d5d1c3053d07f47))
55
+ * **simple-pagination:** add simple pagination component ([f69f5d1](https://github.com/LBHackney-IT/lbh-frontend/commit/f69f5d14805406205c5c51f38d0e36440fa62fff))
56
+ * **stat:** add stat component ([851d1e7](https://github.com/LBHackney-IT/lbh-frontend/commit/851d1e72443864e48ff89235c549be0650816d7a))
57
+ * **tag:** combine existing tag component with new status tag styles ([#143](https://github.com/LBHackney-IT/lbh-frontend/issues/143)) ([3ea2c2d](https://github.com/LBHackney-IT/lbh-frontend/commit/3ea2c2dbf09e1562bfc5f3b76c8df0b989f23d2b))
58
+ * **tag:** improve tag component ([#144](https://github.com/LBHackney-IT/lbh-frontend/issues/144)) ([2bf47a3](https://github.com/LBHackney-IT/lbh-frontend/commit/2bf47a3dbcba16b53ba26e9ac5ab7b55a2b8fd02))
59
+ * **types:** add typings for exports ([#177](https://github.com/LBHackney-IT/lbh-frontend/issues/177)) ([1c1eca6](https://github.com/LBHackney-IT/lbh-frontend/commit/1c1eca6f8679377fd3d788dac397c5a2c188a387))
60
+ * upgrade toolchain and dependencies for Node 24 ([de3ff3a](https://github.com/LBHackney-IT/lbh-frontend/commit/de3ff3a85200d109b65361572f2fc3f1d713bc22))
61
+ * upgrade toolchain and dependencies for Node 24 ([#225](https://github.com/LBHackney-IT/lbh-frontend/issues/225)) ([8c23fe2](https://github.com/LBHackney-IT/lbh-frontend/commit/8c23fe219ddd8fb1e45d70a2a4cca78e685b5c12))
62
+
63
+
64
+ ### Bug Fixes
65
+
66
+ * **all:** consolidate font weights ([42d46da](https://github.com/LBHackney-IT/lbh-frontend/commit/42d46da29bed56e357d22f59957593904dfd5192))
67
+ * **all:** improve font weights ([#168](https://github.com/LBHackney-IT/lbh-frontend/issues/168)) ([f72e6d5](https://github.com/LBHackney-IT/lbh-frontend/commit/f72e6d57b01759f634566d3a47c203a74d33ba53))
68
+ * **button:** "add another" button variation ([43d0e3b](https://github.com/LBHackney-IT/lbh-frontend/commit/43d0e3bed0ca389b2c6639902392ad0db980a106))
69
+ * **button:** fixed size of secondary button ([#149](https://github.com/LBHackney-IT/lbh-frontend/issues/149)) ([ff7b943](https://github.com/LBHackney-IT/lbh-frontend/commit/ff7b943ba51bdcaea80b161041c65add50b65bbe))
70
+ * **chore:** fix semantic release config ([736ac8e](https://github.com/LBHackney-IT/lbh-frontend/commit/736ac8e307fcc890a38defecdaa0891559754292))
71
+ * **collapsible:** typo ([25b55d1](https://github.com/LBHackney-IT/lbh-frontend/commit/25b55d16bef60243f6024f0649ce6ed065939a56))
72
+ * **core:** improvements to documentation and button component ([#150](https://github.com/LBHackney-IT/lbh-frontend/issues/150)) ([acf2944](https://github.com/LBHackney-IT/lbh-frontend/commit/acf2944ffd1d4d2d03ee6f9fe065c019fa0c870e))
73
+ * **core:** spacing improvements ([#159](https://github.com/LBHackney-IT/lbh-frontend/issues/159)) ([44c9bca](https://github.com/LBHackney-IT/lbh-frontend/commit/44c9bca1c9d1d69a123f37c9d5cea410e8687c94))
74
+ * **core:** spacing tweaks and docs updates ([313deaf](https://github.com/LBHackney-IT/lbh-frontend/commit/313deaf03e242264f1fc7a116be654a0e6ad9e4f))
75
+ * **core:** spacing tweaks and new page announcement variations ([#160](https://github.com/LBHackney-IT/lbh-frontend/issues/160)) ([b896a8b](https://github.com/LBHackney-IT/lbh-frontend/commit/b896a8b10871cda095ad252e2808a213ab902a4d))
76
+ * **core:** tweak spacing and margins on several components ([c1e1b08](https://github.com/LBHackney-IT/lbh-frontend/commit/c1e1b081007c0634c05b2fee5971ba20a2e026b8))
77
+ * **core:** use a consistent focus colour on all components ([f629af6](https://github.com/LBHackney-IT/lbh-frontend/commit/f629af6d8e1c0d09272c6170b269274aa49c1b88))
78
+ * **error-message:** fix error message spacing ([b3ba501](https://github.com/LBHackney-IT/lbh-frontend/commit/b3ba50132aaf7a9189a6073cc16be6062c76ee50))
79
+ * **header:** remove enlarged gap for borders ([#184](https://github.com/LBHackney-IT/lbh-frontend/issues/184)) ([1d3c18d](https://github.com/LBHackney-IT/lbh-frontend/commit/1d3c18dcea97a54f81370b3456b3db9542985676))
80
+ * **label:** govuk label overrides work again ([#155](https://github.com/LBHackney-IT/lbh-frontend/issues/155)) ([466a62c](https://github.com/LBHackney-IT/lbh-frontend/commit/466a62c615cdaf23f11304bba979d0a4fed74416))
81
+ * **label:** govuk modifier classes no longer overridden ([#157](https://github.com/LBHackney-IT/lbh-frontend/issues/157)) ([07a0310](https://github.com/LBHackney-IT/lbh-frontend/commit/07a0310cc4c9362e7fdab70826c00ce83cd4059f))
82
+ * **link:** correctly style buttons as inline links ([0b02e0d](https://github.com/LBHackney-IT/lbh-frontend/commit/0b02e0db72639223455f67b221a4967ee32c46ed))
83
+ * **page-announcement:** add variations to page announcement component ([6c4856c](https://github.com/LBHackney-IT/lbh-frontend/commit/6c4856ccd9b9a76a4f1817526b2a5a53d313740c))
84
+ * **page-announcement:** spacing tweaks ([9dd35a0](https://github.com/LBHackney-IT/lbh-frontend/commit/9dd35a0ba1d51194a5741f759b5a71e45d9835c7))
85
+ * **pagination:** improve spacing ([1f0c527](https://github.com/LBHackney-IT/lbh-frontend/commit/1f0c527a7b8935997ea56853af668a151e0ff368))
86
+ * **pagination:** use a more consistent focus style ([3997796](https://github.com/LBHackney-IT/lbh-frontend/commit/399779665065eec8593073a20932e70a0b7cec2b))
87
+ * **perf:** clean up sass imports more ([4f6043c](https://github.com/LBHackney-IT/lbh-frontend/commit/4f6043c9ecf3ba7d3511de56e74318c440732434))
88
+ * **perf:** improve sass compilation times ([df31953](https://github.com/LBHackney-IT/lbh-frontend/commit/df319539f1e9e1769cb6e2011941350379860f15))
89
+ * **phase-banner:** improve spacing between banner and header ([ea97dcb](https://github.com/LBHackney-IT/lbh-frontend/commit/ea97dcbbd1beb9bcd4292fc5b9e1f32f22a884a7))
90
+ * **search-box:** hide default clear icon ([7834aa5](https://github.com/LBHackney-IT/lbh-frontend/commit/7834aa5e31852b357993d857dfab44b3322641ff))
91
+ * setup branch to trigger release ([6fbba16](https://github.com/LBHackney-IT/lbh-frontend/commit/6fbba16a4b1ebc3de3c34855617b4483529f1a1c))
92
+ * sync develop workflow fixes to main ([b64e2e3](https://github.com/LBHackney-IT/lbh-frontend/commit/b64e2e3b6c62579ffd240d40a4a2f8155ccbfda6))
93
+ * **tag:** improve text sizing ([1d3fd93](https://github.com/LBHackney-IT/lbh-frontend/commit/1d3fd93445f38ea228d355837341782833925b0c))
94
+ * **types:** improve typescript support for dynamic imports ([#179](https://github.com/LBHackney-IT/lbh-frontend/issues/179)) ([faf0007](https://github.com/LBHackney-IT/lbh-frontend/commit/faf0007ee4cdeaa7b91385889a711861acb59fd3))
95
+ * **types:** improve typescript support for dynamic imports ([#179](https://github.com/LBHackney-IT/lbh-frontend/issues/179)) ([#180](https://github.com/LBHackney-IT/lbh-frontend/issues/180)) ([6c53369](https://github.com/LBHackney-IT/lbh-frontend/commit/6c533695c5b7e4351687a2596d6b99116a1702ca))
96
+ * update docs for Node 20 release ([87b86bb](https://github.com/LBHackney-IT/lbh-frontend/commit/87b86bb962f2550a9f60a92d79b4bacfffdf88c7))
97
+ * update npm build command ([#231](https://github.com/LBHackney-IT/lbh-frontend/issues/231)) ([4905545](https://github.com/LBHackney-IT/lbh-frontend/commit/4905545da0449167aec5d4939adb447edc05300e))
98
+ * update to use release please ([4a45d6d](https://github.com/LBHackney-IT/lbh-frontend/commit/4a45d6d9546be8e93cf1e050c83f0bb46a0c1927))
99
+ * use github action release please ([5ba1a20](https://github.com/LBHackney-IT/lbh-frontend/commit/5ba1a20fd4b53243ee785db32aa2993a2770d226))
100
+
20
101
  ## [3.5.3](https://github.com/LBHackney-IT/LBH-frontend/compare/v3.5.2...v3.5.3) (2021-05-17)
21
102
 
22
103
 
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Hackney Design System
1
+ # Hackney Design System.
2
2
 
3
3
  [![Publish documentation](https://github.com/LBHackney-IT/LBH-frontend/actions/workflows/documentation.yml/badge.svg)](https://github.com/LBHackney-IT/LBH-frontend/actions/workflows/documentation.yml)
4
4
 
@@ -18,6 +18,17 @@ We have [starter kits](https://github.com/LBHackney-IT/hackney-design-system-exa
18
18
 
19
19
  ## Contributing
20
20
 
21
- We use a feature-branching strategy. Make your pull requests to the `develop` branch.
21
+ We use a feature-branching strategy. Make your pull requests to the `develop` branch. See [docs/contributing/git-workflow.md](docs/contributing/git-workflow.md) for release and branch-sync policy.
22
22
 
23
23
  **[See the full contributor guidance](https://design-system.hackney.gov.uk/contributing/introduction)**
24
+
25
+ ### npm releases
26
+
27
+ - Pushes run unit tests and a production dependency audit (see `tests.yml`).
28
+ - Release Please PRs build `dist/` and commit it to the PR (`release-pr-build.yml`).
29
+ - Maintainers can publish a prerelease to npm `@next` when ready (`publish-prerelease.yml` — requires approval on the `npm-prerelease` environment).
30
+ - Merging a release publishes to npm `latest` (`release-please.yml`).
31
+
32
+ ### Sass reference (`static/sassdoc`)
33
+
34
+ The Sass API docs under `static/sassdoc` are committed to the repo. Regenerate locally only when SCSS changes require it (install `sassdoc` temporarily, run `sassdoc lbh --dest static/sassdoc`, then commit).