Port over linkifyJS to shared-components. (#32731)

* Port over linkifyJS to shared-components.

* Drop rubbish

* update lock

* quickfix test

* drop group id

* Modernize tests

* Remove stories that aren't in use.

* Complete working version

* Add copyright

* tidy up

* update lock

* Update snaps

* update snap

* undo change

* remove unused

* More test updates

* fix typo

* fix margin on preview

* move margin block

* snapupdate

* prettier

* cleanup a test mistake

* Fixup sonar issues

* Don't expose linkifyjs to applications, just provide helper functions.

* Add story for documentation.

* remove $

* Use a const

* typo

* cleanup var name

* remove console line

* Changes checkpoint

* Convert to context

* Revert unrelated change.

* more cleanup

* Add a test to cover ignoring incoming data elements

* Make tests happy

* Update tests for LinkedText

* Underlines!

* fix lock

* remove unused linkify packages

* import move

* Remove mod to remove underline

* undo

* fix snap

* another snapshot fix

* Tidy up based on review.

* fix story

* Pass in args
This commit is contained in:
Will Hunt
2026-03-12 15:54:01 +00:00
committed by GitHub
parent d38eb4fdb4
commit c02db4ebb8
44 changed files with 1508 additions and 839 deletions
+12 -12
View File
@@ -267,18 +267,6 @@ importers:
katex:
specifier: ^0.16.0
version: 0.16.33
linkify-html:
specifier: 4.3.2
version: 4.3.2(patch_hash=1761c1eabe25d9fae83f74f27a20b3d24515840a4a8747bb04828df46bcfdea2)(linkifyjs@4.3.2)
linkify-react:
specifier: 4.3.2
version: 4.3.2(linkifyjs@4.3.2)(react@19.2.4)
linkify-string:
specifier: 4.3.2
version: 4.3.2(linkifyjs@4.3.2)
linkifyjs:
specifier: 4.3.2
version: 4.3.2
lodash:
specifier: npm:lodash-es@^4.17.21
version: lodash-es@4.17.23
@@ -778,6 +766,18 @@ importers:
html-react-parser:
specifier: ^5.2.2
version: 5.2.17(@types/react@19.2.10)(react@19.2.4)
linkify-html:
specifier: 4.3.2
version: 4.3.2(patch_hash=1761c1eabe25d9fae83f74f27a20b3d24515840a4a8747bb04828df46bcfdea2)(linkifyjs@4.3.2)
linkify-react:
specifier: 4.3.2
version: 4.3.2(linkifyjs@4.3.2)(react@19.2.4)
linkify-string:
specifier: 4.3.2
version: 4.3.2(linkifyjs@4.3.2)
linkifyjs:
specifier: 4.3.2
version: 4.3.2
lodash:
specifier: npm:lodash-es@^4.17.21
version: lodash-es@4.17.23