@folkehelseinstituttet/designsystem 0.42.2 → 0.43.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/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@folkehelseinstituttet/designsystem",
4
- "version": "0.42.2",
4
+ "version": "0.43.1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -614,6 +614,48 @@
614
614
  "events": []
615
615
  }
616
616
  },
617
+ {
618
+ "name": "fhi-link",
619
+ "description": "## FHI Link\n\nhttps://designsystem.fhi.no/?path=/docs/komponenter-link--docs\n\nThe `<fhi-link>` component is used to create hyperlinks styled according to the FHI Design System.\nIt is useful for navigation within the application or to external resources, providing a consistent look and feel for links across the application.\n---\n\n\n### **Slot Section:**\n - _default_ - The content of the link. This is typically plain text.",
620
+ "doc-url": "",
621
+ "attributes": [
622
+ {
623
+ "name": "href",
624
+ "description": "The URL for the link.\n\nIt follows the same behavior as the standard HTML `<a>` element's href attribute.\n\nFor more information, see: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a#href",
625
+ "value": { "type": "string" }
626
+ },
627
+ {
628
+ "name": "target",
629
+ "description": "The target attribute specifies where to open the linked document.\n\nIt follows the same behavior as the standard HTML `<a>` element's target attribute.\n\nFor more information, see: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a#target",
630
+ "value": {
631
+ "type": "'_self' | '_blank' | '_parent' | '_top' | undefined"
632
+ }
633
+ }
634
+ ],
635
+ "slots": [
636
+ {
637
+ "name": "",
638
+ "description": "The content of the link. This is typically plain text."
639
+ }
640
+ ],
641
+ "events": [],
642
+ "js": {
643
+ "properties": [
644
+ {
645
+ "name": "href",
646
+ "description": "The URL for the link.\n\nIt follows the same behavior as the standard HTML `<a>` element's href attribute.\n\nFor more information, see: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a#href",
647
+ "type": "string"
648
+ },
649
+ { "name": "rel" },
650
+ {
651
+ "name": "target",
652
+ "description": "The target attribute specifies where to open the linked document.\n\nIt follows the same behavior as the standard HTML `<a>` element's target attribute.\n\nFor more information, see: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a#target",
653
+ "type": "'_self' | '_blank' | '_parent' | '_top' | undefined"
654
+ }
655
+ ],
656
+ "events": []
657
+ }
658
+ },
617
659
  {
618
660
  "name": "fhi-modal-dialog",
619
661
  "description": "## FHI Modal Dialog\n\nhttps://designsystem.fhi.no/?path=/docs/komponenter-modal-dialog--docs\n\nThe `fhi-modal-dialog` component is used to display important information or prompt the user for input in a modal window.\nIt overlays the main content and usually requires user interaction before returning to the underlying page.\n---\n\n\n### **Custom Events:**\n - **close** - Standard DOM event with the type `close`\nThis event is fired whenever the dialog is closed.\n- **toggle** - Standard DOM event with the type `toggle`\nThis event is fired whenever the dialog is opened or closed.\n\n### **Slot Section:**\n - **body** - The main content of the dialog. Typically contains text or form elements.\n- **footer** - The footer content of the dialog, typically containing action buttons.",