@nordhealth/components 3.1.3 → 3.3.0

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 (119) hide show
  1. package/custom-elements.json +585 -547
  2. package/lib/{AutocompleteMixin-3cf61f49.js → AutocompleteMixin-60503685.js} +2 -2
  3. package/lib/{AutocompleteMixin-3cf61f49.js.map → AutocompleteMixin-60503685.js.map} +1 -1
  4. package/lib/Avatar.js +1 -1
  5. package/lib/Badge.js +1 -1
  6. package/lib/Banner.js +1 -1
  7. package/lib/Banner.js.map +1 -1
  8. package/lib/Button.js +1 -1
  9. package/lib/ButtonGroup.js +1 -1
  10. package/lib/{Calendar-b170e2fc.js → Calendar-f7e95d9a.js} +2 -2
  11. package/lib/{Calendar-b170e2fc.js.map → Calendar-f7e95d9a.js.map} +1 -1
  12. package/lib/Calendar.js +1 -1
  13. package/lib/Card.js +1 -1
  14. package/lib/Card.js.map +1 -1
  15. package/lib/Checkbox.js +1 -1
  16. package/lib/CommandMenu.js +1 -1
  17. package/lib/CommandMenu.js.map +1 -1
  18. package/lib/CommandMenuAction.js +1 -1
  19. package/lib/CommandMenuAction.js.map +1 -1
  20. package/lib/{Component-420bbc41.js → Component-253ecb24.js} +2 -2
  21. package/lib/Component-253ecb24.js.map +1 -0
  22. package/lib/DatePicker.js +1 -1
  23. package/lib/Divider.js +1 -1
  24. package/lib/Drawer.js +1 -1
  25. package/lib/Dropdown.js +1 -1
  26. package/lib/DropdownGroup.js +1 -1
  27. package/lib/{DropdownItem-a9bf32f4.js → DropdownItem-75a2468a.js} +2 -2
  28. package/lib/DropdownItem-75a2468a.js.map +1 -0
  29. package/lib/DropdownItem.js +1 -1
  30. package/lib/DropdownItem.js.map +1 -1
  31. package/lib/EmptyState.js +1 -1
  32. package/lib/EmptyState.js.map +1 -1
  33. package/lib/Fieldset.js +1 -1
  34. package/lib/Fieldset.js.map +1 -1
  35. package/lib/{FocusableMixin-4300e44e.js → FocusableMixin-003e1094.js} +2 -2
  36. package/lib/{FocusableMixin-4300e44e.js.map → FocusableMixin-003e1094.js.map} +1 -1
  37. package/lib/{FormAssociatedMixin-88e4bf5e.js → FormAssociatedMixin-0638b151.js} +2 -2
  38. package/lib/{FormAssociatedMixin-88e4bf5e.js.map → FormAssociatedMixin-0638b151.js.map} +1 -1
  39. package/lib/{FormField-cbfebb3f.js → FormField-0783cb5a.js} +2 -2
  40. package/lib/FormField-0783cb5a.js.map +1 -0
  41. package/lib/Header.js +1 -1
  42. package/lib/Icon.js +1 -1
  43. package/lib/Input.js +1 -1
  44. package/lib/{InputMixin-f9fb4034.js → InputMixin-87012c5a.js} +2 -2
  45. package/lib/{InputMixin-f9fb4034.js.map → InputMixin-87012c5a.js.map} +1 -1
  46. package/lib/Layout.js +1 -1
  47. package/lib/Layout.js.map +1 -1
  48. package/lib/{LightDomController-f78fb046.js → LightDomController-5c53b3f4.js} +2 -2
  49. package/lib/{LightDomController-f78fb046.js.map → LightDomController-5c53b3f4.js.map} +1 -1
  50. package/lib/Message.js +1 -1
  51. package/lib/Modal.js +1 -1
  52. package/lib/NavGroup.js +1 -1
  53. package/lib/NavItem.js +1 -1
  54. package/lib/{NavToggle-11625962.js → NavToggle-7e1ba314.js} +2 -2
  55. package/lib/{NavToggle-11625962.js.map → NavToggle-7e1ba314.js.map} +1 -1
  56. package/lib/NavToggle.js +1 -1
  57. package/lib/Navigation.js +1 -1
  58. package/lib/Notification.js +1 -1
  59. package/lib/NotificationGroup.js +1 -1
  60. package/lib/{NotificationMixin-c06bb631.js → NotificationMixin-cea138a7.js} +2 -2
  61. package/lib/{NotificationMixin-c06bb631.js.map → NotificationMixin-cea138a7.js.map} +1 -1
  62. package/lib/{Popout-39425b6c.js → Popout-1183c22b.js} +2 -2
  63. package/lib/{Popout-39425b6c.js.map → Popout-1183c22b.js.map} +1 -1
  64. package/lib/Popout.js +1 -1
  65. package/lib/ProgressBar.js +1 -1
  66. package/lib/Qrcode.js +1 -1
  67. package/lib/Qrcode.js.map +1 -1
  68. package/lib/Radio.js +1 -1
  69. package/lib/Range.js +1 -1
  70. package/lib/Select.js +1 -1
  71. package/lib/{SizeMixin-fb379434.js → SizeMixin-bc2098f4.js} +2 -2
  72. package/lib/{SizeMixin-fb379434.js.map → SizeMixin-bc2098f4.js.map} +1 -1
  73. package/lib/Skeleton.js +1 -1
  74. package/lib/Spinner.js +1 -1
  75. package/lib/Stack.js +1 -1
  76. package/lib/{Sticky-acc92284.js → Sticky-220280e0.js} +2 -2
  77. package/lib/Sticky-220280e0.js.map +1 -0
  78. package/lib/Tab.js +1 -1
  79. package/lib/TabGroup.js +1 -1
  80. package/lib/TabPanel.js +1 -1
  81. package/lib/Table.js +1 -1
  82. package/lib/{TextField-8b226327.js → TextField-b455a6dd.js} +2 -2
  83. package/lib/{TextField-8b226327.js.map → TextField-b455a6dd.js.map} +1 -1
  84. package/lib/Textarea.js +1 -1
  85. package/lib/Toast.js +1 -1
  86. package/lib/ToastGroup.js +1 -1
  87. package/lib/Toggle.js +1 -1
  88. package/lib/Tooltip.js +1 -1
  89. package/lib/TopBar.js +1 -1
  90. package/lib/VisuallyHidden.js +1 -1
  91. package/lib/bundle.js +7 -7
  92. package/lib/bundle.js.map +1 -1
  93. package/lib/{class-map-cb77ead2.js → class-map-4a0dec4a.js} +2 -2
  94. package/lib/{class-map-cb77ead2.js.map → class-map-4a0dec4a.js.map} +1 -1
  95. package/lib/{collection-2f8e38bd.js → collection-bba319d3.js} +3 -3
  96. package/lib/{collection-2f8e38bd.js.map → collection-bba319d3.js.map} +1 -1
  97. package/lib/cond-77258def.js +2 -0
  98. package/lib/{cond-44672025.js.map → cond-77258def.js.map} +1 -1
  99. package/lib/{if-defined-9b177db4.js → if-defined-10508457.js} +2 -2
  100. package/lib/{if-defined-9b177db4.js.map → if-defined-10508457.js.map} +1 -1
  101. package/lib/index.js +1 -1
  102. package/lib/positioning-a572d126.js +1 -1
  103. package/lib/positioning-a572d126.js.map +1 -1
  104. package/lib/{query-assigned-elements-15485e3d.js → query-assigned-elements-2f8275b7.js} +3 -3
  105. package/lib/{query-assigned-elements-15485e3d.js.map → query-assigned-elements-2f8275b7.js.map} +1 -1
  106. package/lib/{ref-5526fb07.js → ref-f75a30b7.js} +4 -4
  107. package/lib/{ref-5526fb07.js.map → ref-f75a30b7.js.map} +1 -1
  108. package/lib/src/dropdown-item/DropdownItem.d.ts +10 -0
  109. package/lib/src/fieldset/Fieldset.d.ts +5 -1
  110. package/lib/style-map-75ce20b3.js +7 -0
  111. package/lib/style-map-75ce20b3.js.map +1 -0
  112. package/package.json +2 -2
  113. package/lib/Component-420bbc41.js.map +0 -1
  114. package/lib/DropdownItem-a9bf32f4.js.map +0 -1
  115. package/lib/FormField-cbfebb3f.js.map +0 -1
  116. package/lib/Sticky-acc92284.js.map +0 -1
  117. package/lib/cond-44672025.js +0 -2
  118. package/lib/style-map-ed7e6cc6.js +0 -7
  119. package/lib/style-map-ed7e6cc6.js.map +0 -1
@@ -1415,109 +1415,6 @@
1415
1415
  }
1416
1416
  ]
1417
1417
  },
1418
- {
1419
- "kind": "javascript-module",
1420
- "path": "src/button-group/ButtonGroup.ts",
1421
- "declarations": [
1422
- {
1423
- "kind": "class",
1424
- "description": "Button groups are designed to bring together button controls that are of a similar nature. For example text formatting controls.",
1425
- "name": "ButtonGroup",
1426
- "cssProperties": [
1427
- {
1428
- "description": "Controls the rounded corners of the button, using [border radius tokens](/tokens/#border-radius).",
1429
- "name": "--n-button-group-border-radius",
1430
- "default": "var(--n-border-radius-s)"
1431
- },
1432
- {
1433
- "description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow).",
1434
- "name": "--n-button-group-box-shadow",
1435
- "default": "var(--n-box-shadow)"
1436
- }
1437
- ],
1438
- "slots": [
1439
- {
1440
- "description": "The button group content",
1441
- "name": ""
1442
- }
1443
- ],
1444
- "members": [
1445
- {
1446
- "kind": "field",
1447
- "name": "direction",
1448
- "type": {
1449
- "text": "\"vertical\" | \"horizontal\""
1450
- },
1451
- "default": "\"horizontal\"",
1452
- "description": "The direction of the button group.",
1453
- "attribute": "direction",
1454
- "reflects": true
1455
- },
1456
- {
1457
- "kind": "field",
1458
- "name": "role",
1459
- "type": {
1460
- "text": "string"
1461
- },
1462
- "default": "\"group\"",
1463
- "description": "The appropriate role for the containing element.",
1464
- "attribute": "role",
1465
- "reflects": true
1466
- }
1467
- ],
1468
- "attributes": [
1469
- {
1470
- "name": "direction",
1471
- "type": {
1472
- "text": "\"vertical\" | \"horizontal\""
1473
- },
1474
- "default": "\"horizontal\"",
1475
- "description": "The direction of the button group.",
1476
- "fieldName": "direction"
1477
- },
1478
- {
1479
- "name": "role",
1480
- "type": {
1481
- "text": "string"
1482
- },
1483
- "default": "\"group\"",
1484
- "description": "The appropriate role for the containing element.",
1485
- "fieldName": "role"
1486
- }
1487
- ],
1488
- "superclass": {
1489
- "name": "LitElement",
1490
- "package": "lit"
1491
- },
1492
- "localization": [],
1493
- "status": "new",
1494
- "category": "structure",
1495
- "readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use to group together buttons, or dropdowns, of a similar nature or purpose.\n- Use the appropriate `role` attribute on the button group to provide additional semantics.\n- Use an `aria-labelledby` attribute referencing another element to best explain the contents of the button group.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t add components other than buttons, dropdowns and in some instances visually hidden components to the button group.\n- Don’t skip the addition of an appropriate label if the added `role` attribute value calls for it.\n- Don’t use for building grid based layouts.\n\n</div>\n\n---\n\n## Content guidelines\n\nButton labels should be clear, accurate and predictable. It should be possible for the user to understand what will happen when they click a button:\n\n<div class=\"n-usage n-usage-do\">View user settings</div>\n<div class=\"n-usage n-usage-dont\">Click here</div>\n\nWhen writing button labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">My tasks</div>\n<div class=\"n-usage n-usage-dont\">My Tasks</div>\n\nAvoid unnecessary words and articles in button labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Add item</div>\n<div class=\"n-usage n-usage-dont\">Add an item</div>\n",
1496
- "examples": [],
1497
- "dependencies": [],
1498
- "tagName": "nord-button-group",
1499
- "customElement": true
1500
- }
1501
- ],
1502
- "exports": [
1503
- {
1504
- "kind": "js",
1505
- "name": "default",
1506
- "declaration": {
1507
- "name": "ButtonGroup",
1508
- "module": "src/button-group/ButtonGroup.ts"
1509
- }
1510
- },
1511
- {
1512
- "kind": "custom-element-definition",
1513
- "name": "nord-button-group",
1514
- "declaration": {
1515
- "name": "ButtonGroup",
1516
- "module": "src/button-group/ButtonGroup.ts"
1517
- }
1518
- }
1519
- ]
1520
- },
1521
1418
  {
1522
1419
  "kind": "javascript-module",
1523
1420
  "path": "src/calendar/Calendar.ts",
@@ -2023,92 +1920,72 @@
2023
1920
  },
2024
1921
  {
2025
1922
  "kind": "javascript-module",
2026
- "path": "src/card/Card.ts",
1923
+ "path": "src/button-group/ButtonGroup.ts",
2027
1924
  "declarations": [
2028
1925
  {
2029
1926
  "kind": "class",
2030
- "description": "Cards are shadowed surfaces that display content and actions on a\nsingle topic. They should be easy to scan for relevant and\nactionable information.",
2031
- "name": "Card",
1927
+ "description": "Button groups are designed to bring together button controls that are of a similar nature. For example text formatting controls.",
1928
+ "name": "ButtonGroup",
2032
1929
  "cssProperties": [
2033
1930
  {
2034
- "description": "Controls how rounded the corners are, using [border radius tokens](/tokens/#border-radius).",
2035
- "name": "--n-card-border-radius",
2036
- "default": "var(--n-border-radius)"
1931
+ "description": "Controls the rounded corners of the button, using [border radius tokens](/tokens/#border-radius).",
1932
+ "name": "--n-button-group-border-radius",
1933
+ "default": "var(--n-border-radius-s)"
2037
1934
  },
2038
1935
  {
2039
1936
  "description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow).",
2040
- "name": "--n-card-box-shadow",
2041
- "default": "var(--n-box-shadow-popout)"
2042
- },
2043
- {
2044
- "description": "Controls the padding on all sides of the card.",
2045
- "name": "--n-card-padding",
2046
- "default": "var(--n-space-m)"
2047
- },
2048
- {
2049
- "description": "Controls the padding of items slotted within the card. This does not affect the block padding of items slotted into the header.",
2050
- "name": "--n-card-slot-padding",
2051
- "default": "var(--n-space-m)"
1937
+ "name": "--n-button-group-box-shadow",
1938
+ "default": "var(--n-box-shadow)"
2052
1939
  }
2053
1940
  ],
2054
1941
  "slots": [
2055
1942
  {
2056
- "description": "The card content.",
1943
+ "description": "The button group content",
2057
1944
  "name": ""
2058
- },
2059
- {
2060
- "description": "Optional slot that holds a header for the card.",
2061
- "name": "header"
2062
- },
2063
- {
2064
- "description": "Optional slot that positions content at the end of the header. Useful for actions or additional info.",
2065
- "name": "header-end"
2066
- },
2067
- {
2068
- "description": "Optional slot that holds footer content for the card.",
2069
- "name": "footer"
2070
1945
  }
2071
1946
  ],
2072
1947
  "members": [
2073
1948
  {
2074
1949
  "kind": "field",
2075
- "name": "headerSlot",
2076
- "privacy": "private",
2077
- "default": "new SlotController(this, \"header\")"
2078
- },
2079
- {
2080
- "kind": "field",
2081
- "name": "headerEndSlot",
2082
- "privacy": "private",
2083
- "default": "new SlotController(this, \"header-end\")"
2084
- },
2085
- {
2086
- "kind": "field",
2087
- "name": "footerSlot",
2088
- "privacy": "private",
2089
- "default": "new SlotController(this, \"footer\")"
1950
+ "name": "direction",
1951
+ "type": {
1952
+ "text": "\"vertical\" | \"horizontal\""
1953
+ },
1954
+ "default": "\"horizontal\"",
1955
+ "description": "The direction of the button group.",
1956
+ "attribute": "direction",
1957
+ "reflects": true
2090
1958
  },
2091
1959
  {
2092
1960
  "kind": "field",
2093
- "name": "padding",
1961
+ "name": "role",
2094
1962
  "type": {
2095
- "text": "\"m\" | \"l\" | \"none\""
1963
+ "text": "string"
2096
1964
  },
2097
- "default": "\"m\"",
2098
- "description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
2099
- "attribute": "padding",
1965
+ "default": "\"group\"",
1966
+ "description": "The appropriate role for the containing element.",
1967
+ "attribute": "role",
2100
1968
  "reflects": true
2101
1969
  }
2102
1970
  ],
2103
1971
  "attributes": [
2104
1972
  {
2105
- "name": "padding",
1973
+ "name": "direction",
2106
1974
  "type": {
2107
- "text": "\"m\" | \"l\" | \"none\""
1975
+ "text": "\"vertical\" | \"horizontal\""
2108
1976
  },
2109
- "default": "\"m\"",
2110
- "description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
2111
- "fieldName": "padding"
1977
+ "default": "\"horizontal\"",
1978
+ "description": "The direction of the button group.",
1979
+ "fieldName": "direction"
1980
+ },
1981
+ {
1982
+ "name": "role",
1983
+ "type": {
1984
+ "text": "string"
1985
+ },
1986
+ "default": "\"group\"",
1987
+ "description": "The appropriate role for the containing element.",
1988
+ "fieldName": "role"
2112
1989
  }
2113
1990
  ],
2114
1991
  "superclass": {
@@ -2116,12 +1993,12 @@
2116
1993
  "package": "lit"
2117
1994
  },
2118
1995
  "localization": [],
2119
- "status": "ready",
1996
+ "status": "new",
2120
1997
  "category": "structure",
2121
- "readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use to display content and actions on a single topic inside a container.\n- Use to visually separate specific parts of content in an application view.\n- Use to wrap a form into a container, for example a login form.\n- Include a header when placing a [Table](/components/table) component inside the card.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t place cards within cards. Consider using the [divider](/components/divider/) component to break up sections instead.\n- Don’t use when you need to capture user’s attention in a prominent way.\n- Don’t use to inform user about important changes or conditions in the interface.\n- Don’t use multiple primary buttons inside a card. A card should only contain a single primary action.\n\n</div>\n",
1998
+ "readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use to group together buttons, or dropdowns, of a similar nature or purpose.\n- Use the appropriate `role` attribute on the button group to provide additional semantics.\n- Use an `aria-labelledby` attribute referencing another element to best explain the contents of the button group.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t add components other than buttons, dropdowns and in some instances visually hidden components to the button group.\n- Don’t skip the addition of an appropriate label if the added `role` attribute value calls for it.\n- Don’t use for building grid based layouts.\n\n</div>\n\n---\n\n## Content guidelines\n\nButton labels should be clear, accurate and predictable. It should be possible for the user to understand what will happen when they click a button:\n\n<div class=\"n-usage n-usage-do\">View user settings</div>\n<div class=\"n-usage n-usage-dont\">Click here</div>\n\nWhen writing button labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">My tasks</div>\n<div class=\"n-usage n-usage-dont\">My Tasks</div>\n\nAvoid unnecessary words and articles in button labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Add item</div>\n<div class=\"n-usage n-usage-dont\">Add an item</div>\n",
2122
1999
  "examples": [],
2123
2000
  "dependencies": [],
2124
- "tagName": "nord-card",
2001
+ "tagName": "nord-button-group",
2125
2002
  "customElement": true
2126
2003
  }
2127
2004
  ],
@@ -2130,16 +2007,16 @@
2130
2007
  "kind": "js",
2131
2008
  "name": "default",
2132
2009
  "declaration": {
2133
- "name": "Card",
2134
- "module": "src/card/Card.ts"
2010
+ "name": "ButtonGroup",
2011
+ "module": "src/button-group/ButtonGroup.ts"
2135
2012
  }
2136
2013
  },
2137
2014
  {
2138
2015
  "kind": "custom-element-definition",
2139
- "name": "nord-card",
2016
+ "name": "nord-button-group",
2140
2017
  "declaration": {
2141
- "name": "Card",
2142
- "module": "src/card/Card.ts"
2018
+ "name": "ButtonGroup",
2019
+ "module": "src/button-group/ButtonGroup.ts"
2143
2020
  }
2144
2021
  }
2145
2022
  ]
@@ -2865,6 +2742,129 @@
2865
2742
  }
2866
2743
  ]
2867
2744
  },
2745
+ {
2746
+ "kind": "javascript-module",
2747
+ "path": "src/card/Card.ts",
2748
+ "declarations": [
2749
+ {
2750
+ "kind": "class",
2751
+ "description": "Cards are shadowed surfaces that display content and actions on a\nsingle topic. They should be easy to scan for relevant and\nactionable information.",
2752
+ "name": "Card",
2753
+ "cssProperties": [
2754
+ {
2755
+ "description": "Controls how rounded the corners are, using [border radius tokens](/tokens/#border-radius).",
2756
+ "name": "--n-card-border-radius",
2757
+ "default": "var(--n-border-radius)"
2758
+ },
2759
+ {
2760
+ "description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow).",
2761
+ "name": "--n-card-box-shadow",
2762
+ "default": "var(--n-box-shadow-popout)"
2763
+ },
2764
+ {
2765
+ "description": "Controls the padding on all sides of the card.",
2766
+ "name": "--n-card-padding",
2767
+ "default": "var(--n-space-m)"
2768
+ },
2769
+ {
2770
+ "description": "Controls the padding of items slotted within the card. This does not affect the block padding of items slotted into the header.",
2771
+ "name": "--n-card-slot-padding",
2772
+ "default": "var(--n-space-m)"
2773
+ }
2774
+ ],
2775
+ "slots": [
2776
+ {
2777
+ "description": "The card content.",
2778
+ "name": ""
2779
+ },
2780
+ {
2781
+ "description": "Optional slot that holds a header for the card.",
2782
+ "name": "header"
2783
+ },
2784
+ {
2785
+ "description": "Optional slot that positions content at the end of the header. Useful for actions or additional info.",
2786
+ "name": "header-end"
2787
+ },
2788
+ {
2789
+ "description": "Optional slot that holds footer content for the card.",
2790
+ "name": "footer"
2791
+ }
2792
+ ],
2793
+ "members": [
2794
+ {
2795
+ "kind": "field",
2796
+ "name": "headerSlot",
2797
+ "privacy": "private",
2798
+ "default": "new SlotController(this, \"header\")"
2799
+ },
2800
+ {
2801
+ "kind": "field",
2802
+ "name": "headerEndSlot",
2803
+ "privacy": "private",
2804
+ "default": "new SlotController(this, \"header-end\")"
2805
+ },
2806
+ {
2807
+ "kind": "field",
2808
+ "name": "footerSlot",
2809
+ "privacy": "private",
2810
+ "default": "new SlotController(this, \"footer\")"
2811
+ },
2812
+ {
2813
+ "kind": "field",
2814
+ "name": "padding",
2815
+ "type": {
2816
+ "text": "\"m\" | \"l\" | \"none\""
2817
+ },
2818
+ "default": "\"m\"",
2819
+ "description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
2820
+ "attribute": "padding",
2821
+ "reflects": true
2822
+ }
2823
+ ],
2824
+ "attributes": [
2825
+ {
2826
+ "name": "padding",
2827
+ "type": {
2828
+ "text": "\"m\" | \"l\" | \"none\""
2829
+ },
2830
+ "default": "\"m\"",
2831
+ "description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
2832
+ "fieldName": "padding"
2833
+ }
2834
+ ],
2835
+ "superclass": {
2836
+ "name": "LitElement",
2837
+ "package": "lit"
2838
+ },
2839
+ "localization": [],
2840
+ "status": "ready",
2841
+ "category": "structure",
2842
+ "readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use to display content and actions on a single topic inside a container.\n- Use to visually separate specific parts of content in an application view.\n- Use to wrap a form into a container, for example a login form.\n- Include a header when placing a [Table](/components/table) component inside the card.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t place cards within cards. Consider using the [divider](/components/divider/) component to break up sections instead.\n- Don’t use when you need to capture user’s attention in a prominent way.\n- Don’t use to inform user about important changes or conditions in the interface.\n- Don’t use multiple primary buttons inside a card. A card should only contain a single primary action.\n\n</div>\n",
2843
+ "examples": [],
2844
+ "dependencies": [],
2845
+ "tagName": "nord-card",
2846
+ "customElement": true
2847
+ }
2848
+ ],
2849
+ "exports": [
2850
+ {
2851
+ "kind": "js",
2852
+ "name": "default",
2853
+ "declaration": {
2854
+ "name": "Card",
2855
+ "module": "src/card/Card.ts"
2856
+ }
2857
+ },
2858
+ {
2859
+ "kind": "custom-element-definition",
2860
+ "name": "nord-card",
2861
+ "declaration": {
2862
+ "name": "Card",
2863
+ "module": "src/card/Card.ts"
2864
+ }
2865
+ }
2866
+ ]
2867
+ },
2868
2868
  {
2869
2869
  "kind": "javascript-module",
2870
2870
  "path": "src/command-menu/CommandMenu.ts",
@@ -6431,6 +6431,16 @@
6431
6431
  "attribute": "href",
6432
6432
  "reflects": true
6433
6433
  },
6434
+ {
6435
+ "kind": "field",
6436
+ "name": "target",
6437
+ "type": {
6438
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
6439
+ },
6440
+ "default": "\"_self\"",
6441
+ "description": "When provided together with a href property, determines where\nto open the linked URL. The keywords have special meanings for\nwhere to load the URL: “_self” means the current browsing context,\n“_blank” usually a new tab but users can configure browsers this to\nopen a new window instead, “_parent” means the parent browsing\ncontext of the current one, but if no parent exists, behaves as\n_self, and finally “top” means the topmost browsing context.",
6442
+ "attribute": "target"
6443
+ },
6434
6444
  {
6435
6445
  "kind": "field",
6436
6446
  "name": "focusableRef",
@@ -6486,6 +6496,15 @@
6486
6496
  },
6487
6497
  "description": "The url the dropdown item should link to.",
6488
6498
  "fieldName": "href"
6499
+ },
6500
+ {
6501
+ "name": "target",
6502
+ "type": {
6503
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
6504
+ },
6505
+ "default": "\"_self\"",
6506
+ "description": "When provided together with a href property, determines where\nto open the linked URL. The keywords have special meanings for\nwhere to load the URL: “_self” means the current browsing context,\n“_blank” usually a new tab but users can configure browsers this to\nopen a new window instead, “_parent” means the parent browsing\ncontext of the current one, but if no parent exists, behaves as\n_self, and finally “top” means the topmost browsing context.",
6507
+ "fieldName": "target"
6489
6508
  }
6490
6509
  ],
6491
6510
  "mixins": [
@@ -6617,7 +6636,7 @@
6617
6636
  "text": "string"
6618
6637
  },
6619
6638
  "default": "\"\"",
6620
- "description": "Label for the fieldset.",
6639
+ "description": "Label for the fieldset. Rendered as a `<legend>` element.",
6621
6640
  "attribute": "label"
6622
6641
  },
6623
6642
  {
@@ -6650,13 +6669,23 @@
6650
6669
  },
6651
6670
  {
6652
6671
  "kind": "field",
6653
- "name": "hideRequired",
6672
+ "name": "hideRequired",
6673
+ "type": {
6674
+ "text": "boolean"
6675
+ },
6676
+ "default": "false",
6677
+ "description": "Visually hide the required indicator, but still show\nrequired attribute to assistive technologies like screen readers.",
6678
+ "attribute": "hide-required"
6679
+ },
6680
+ {
6681
+ "kind": "field",
6682
+ "name": "hideLabel",
6654
6683
  "type": {
6655
6684
  "text": "boolean"
6656
6685
  },
6657
6686
  "default": "false",
6658
- "description": "Visually hide the required indicator, but still show\nrequired attribute to assistive technologies like screen readers.",
6659
- "attribute": "hide-required"
6687
+ "description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
6688
+ "attribute": "hide-label"
6660
6689
  },
6661
6690
  {
6662
6691
  "kind": "field",
@@ -6678,7 +6707,7 @@
6678
6707
  "text": "string"
6679
6708
  },
6680
6709
  "default": "\"\"",
6681
- "description": "Label for the fieldset.",
6710
+ "description": "Label for the fieldset. Rendered as a `<legend>` element.",
6682
6711
  "fieldName": "label"
6683
6712
  },
6684
6713
  {
@@ -6714,6 +6743,15 @@
6714
6743
  "default": "false",
6715
6744
  "description": "Visually hide the required indicator, but still show\nrequired attribute to assistive technologies like screen readers.",
6716
6745
  "fieldName": "hideRequired"
6746
+ },
6747
+ {
6748
+ "name": "hide-label",
6749
+ "type": {
6750
+ "text": "boolean"
6751
+ },
6752
+ "default": "false",
6753
+ "description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
6754
+ "fieldName": "hideLabel"
6717
6755
  }
6718
6756
  ],
6719
6757
  "superclass": {
@@ -9748,264 +9786,21 @@
9748
9786
  "name": "FocusableMixin",
9749
9787
  "module": "src/common/mixins/FocusableMixin.ts"
9750
9788
  }
9751
- },
9752
- {
9753
- "kind": "method",
9754
- "name": "click",
9755
- "description": "Programmatically simulates a click on the component.",
9756
- "inheritedFrom": {
9757
- "name": "FocusableMixin",
9758
- "module": "src/common/mixins/FocusableMixin.ts"
9759
- }
9760
- }
9761
- ],
9762
- "mixins": [
9763
- {
9764
- "name": "FocusableMixin",
9765
- "module": "/src/common/mixins/FocusableMixin.js"
9766
- }
9767
- ],
9768
- "superclass": {
9769
- "name": "LitElement",
9770
- "package": "lit"
9771
- },
9772
- "localization": [
9773
- {
9774
- "name": "label",
9775
- "description": "Accessible label for the nav toggle button."
9776
- }
9777
- ],
9778
- "status": "new",
9779
- "category": "action",
9780
- "readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use a tooltip with the toggle that’s labelled as `Toggle navigation`.\n- We recommend setting a keyboard shortcut that toggles the navigation.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use as a generic button or toggle. Use the [Button component](/components/button/) instead.\n\n</div>\n",
9781
- "examples": [],
9782
- "dependencies": [
9783
- "button",
9784
- "icon",
9785
- "visually-hidden"
9786
- ],
9787
- "tagName": "nord-nav-toggle",
9788
- "customElement": true
9789
- }
9790
- ],
9791
- "exports": [
9792
- {
9793
- "kind": "js",
9794
- "name": "default",
9795
- "declaration": {
9796
- "name": "NavToggle",
9797
- "module": "src/nav-toggle/NavToggle.ts"
9798
- }
9799
- },
9800
- {
9801
- "kind": "custom-element-definition",
9802
- "name": "nord-nav-toggle",
9803
- "declaration": {
9804
- "name": "NavToggle",
9805
- "module": "src/nav-toggle/NavToggle.ts"
9806
- }
9807
- }
9808
- ]
9809
- },
9810
- {
9811
- "kind": "javascript-module",
9812
- "path": "src/nav-toggle/localization.ts",
9813
- "declarations": [
9814
- {
9815
- "kind": "variable",
9816
- "name": "localization",
9817
- "type": {
9818
- "text": "object"
9819
- },
9820
- "default": "{\n label: \"Toggle navigation\",\n}"
9821
- }
9822
- ],
9823
- "exports": [
9824
- {
9825
- "kind": "js",
9826
- "name": "default",
9827
- "declaration": {
9828
- "name": "localization",
9829
- "module": "src/nav-toggle/localization.ts"
9830
- }
9831
- }
9832
- ]
9833
- },
9834
- {
9835
- "kind": "javascript-module",
9836
- "path": "src/navigation/Navigation.ts",
9837
- "declarations": [
9838
- {
9839
- "kind": "class",
9840
- "description": "Navigation is used to display the primary navigation in the sidebar\nof an application. Navigation includes a list of links that users\nuse to move between sections of the application.",
9841
- "name": "Navigation",
9842
- "cssProperties": [
9843
- {
9844
- "description": "Controls the background color of the navigation element.",
9845
- "name": "--n-navigation-background-color",
9846
- "default": "var(--n-color-nav-surface)"
9847
- }
9848
- ],
9849
- "slots": [
9850
- {
9851
- "description": "The main section of the sidebar, for holding nav components.",
9852
- "name": ""
9853
- },
9854
- {
9855
- "description": "The top section of the sidebar.",
9856
- "name": "header"
9857
- },
9858
- {
9859
- "description": "The bottom section of the sidebar.",
9860
- "name": "footer"
9861
- }
9862
- ],
9863
- "members": [
9864
- {
9865
- "kind": "field",
9866
- "name": "headerSlot",
9867
- "privacy": "private",
9868
- "default": "new SlotController(this, \"header\")"
9869
- },
9870
- {
9871
- "kind": "field",
9872
- "name": "events",
9873
- "privacy": "private",
9874
- "default": "new EventController(this)"
9875
- },
9876
- {
9877
- "kind": "field",
9878
- "name": "handleActivate",
9879
- "privacy": "private"
9880
- }
9881
- ],
9882
- "superclass": {
9883
- "name": "LitElement",
9884
- "package": "lit"
9885
- },
9886
- "localization": [],
9887
- "status": "ready",
9888
- "category": "navigation",
9889
- "readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use for primary navigation items that perform an action when clicked. Each action should navigate to a URL or trigger another action like a modal overlay.\n- Group navigation items into navigation groups based on related categories.\n- Use group headings to clarify the category of a section.\n- Use icons for all top level navigation items.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t place a `<nav>` element inside the navigation component, as it already contains one internally.\n\n</div>\n\n---\n\n## Content guidelines\n\nWhen writing navigation item labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">My tasks</div>\n<div class=\"n-usage n-usage-dont\">My Tasks</div>\n\nAvoid unnecessary words and articles in item labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Change theme</div>\n<div class=\"n-usage n-usage-dont\">Change the theme</div>\n\nAvoid ending item labels in punctuation:\n\n<div class=\"n-usage n-usage-do\">Switch user</div>\n<div class=\"n-usage n-usage-dont\">Switch user.</div>\n\nUse as few words as possible to describe each item label:\n\n<div class=\"n-usage n-usage-do\">Payments</div>\n<div class=\"n-usage n-usage-dont\">Payments in your clinic</div>\n\nAvoid all caps for item labels and group titles:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">DASHBOARD</div>\n",
9890
- "examples": [],
9891
- "dependencies": [
9892
- "nav-item"
9893
- ],
9894
- "tagName": "nord-navigation",
9895
- "customElement": true
9896
- }
9897
- ],
9898
- "exports": [
9899
- {
9900
- "kind": "js",
9901
- "name": "default",
9902
- "declaration": {
9903
- "name": "Navigation",
9904
- "module": "src/navigation/Navigation.ts"
9905
- }
9906
- },
9907
- {
9908
- "kind": "custom-element-definition",
9909
- "name": "nord-navigation",
9910
- "declaration": {
9911
- "name": "Navigation",
9912
- "module": "src/navigation/Navigation.ts"
9913
- }
9914
- }
9915
- ]
9916
- },
9917
- {
9918
- "kind": "javascript-module",
9919
- "path": "src/notification/Notification.ts",
9920
- "declarations": [
9921
- {
9922
- "kind": "class",
9923
- "description": "Notifications provide important information that requires action or acknowledgement.\nA notification is displayed until the user dismisses it.",
9924
- "name": "Notification",
9925
- "slots": [
9926
- {
9927
- "description": "Default slot used for the notification text/message.",
9928
- "name": ""
9929
- },
9930
- {
9931
- "description": "Slot used for the notification icon.",
9932
- "name": "icon"
9933
- }
9934
- ],
9935
- "members": [
9936
- {
9937
- "kind": "field",
9938
- "name": "localize",
9939
- "privacy": "private",
9940
- "default": "new LocalizeController<\"nord-notification\">(this)"
9941
- },
9942
- {
9943
- "kind": "field",
9944
- "name": "notificationRef",
9945
- "privacy": "protected",
9946
- "inheritedFrom": {
9947
- "name": "NotificationMixin",
9948
- "module": "src/common/mixins/NotificationMixin.ts"
9949
- }
9950
- },
9951
- {
9952
- "kind": "field",
9953
- "name": "dismissed",
9954
- "type": {
9955
- "text": "boolean"
9956
- },
9957
- "privacy": "protected",
9958
- "default": "false",
9959
- "inheritedFrom": {
9960
- "name": "NotificationMixin",
9961
- "module": "src/common/mixins/NotificationMixin.ts"
9962
- }
9963
- },
9964
- {
9965
- "kind": "method",
9966
- "name": "dismiss",
9967
- "description": "Programmatically dismiss the notification.\nThe returned promise resolves when notification's exit animation is complete.",
9968
- "inheritedFrom": {
9969
- "name": "NotificationMixin",
9970
- "module": "src/common/mixins/NotificationMixin.ts"
9971
- }
9972
- },
9973
- {
9974
- "kind": "field",
9975
- "name": "_warningLogged",
9976
- "type": {
9977
- "text": "boolean"
9978
- },
9979
- "privacy": "private",
9980
- "static": true,
9981
- "default": "false",
9982
- "inheritedFrom": {
9983
- "name": "DraftComponentMixin",
9984
- "module": "src/common/mixins/DraftComponentMixin.ts"
9985
- }
9986
- }
9987
- ],
9988
- "events": [
9789
+ },
9989
9790
  {
9990
- "name": "dismiss",
9991
- "type": {
9992
- "text": "NordEvent"
9993
- },
9994
- "description": "Fired when the notification is dismissed, and its exit animation has completed. This event should be used to remove the dismissed notification from the DOM.",
9791
+ "kind": "method",
9792
+ "name": "click",
9793
+ "description": "Programmatically simulates a click on the component.",
9995
9794
  "inheritedFrom": {
9996
- "name": "NotificationMixin",
9997
- "module": "src/common/mixins/NotificationMixin.ts"
9795
+ "name": "FocusableMixin",
9796
+ "module": "src/common/mixins/FocusableMixin.ts"
9998
9797
  }
9999
9798
  }
10000
9799
  ],
10001
9800
  "mixins": [
10002
9801
  {
10003
- "name": "NotificationMixin",
10004
- "module": "/src/common/mixins/NotificationMixin.js"
10005
- },
10006
- {
10007
- "name": "DraftComponentMixin",
10008
- "module": "/src/common/mixins/DraftComponentMixin.js"
9802
+ "name": "FocusableMixin",
9803
+ "module": "/src/common/mixins/FocusableMixin.js"
10009
9804
  }
10010
9805
  ],
10011
9806
  "superclass": {
@@ -10014,19 +9809,20 @@
10014
9809
  },
10015
9810
  "localization": [
10016
9811
  {
10017
- "name": "dismissLabel",
10018
- "description": "Accessible label for the dismiss button."
9812
+ "name": "label",
9813
+ "description": "Accessible label for the nav toggle button."
10019
9814
  }
10020
9815
  ],
10021
- "status": "draft",
10022
- "category": "feedback",
10023
- "readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use for short messages that describe the purpose of the notification.\n- Use for important updates that require user action/attention.\n- Provide a single call to action within the notification.\n- Use in combination with [Notification group](../notification-group/) so that notifications get styled and positioned correctly.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for transient or unimportant messages. Consider using a [Toast](/components/toast) instead.\n- Don't remove a notification until a user has explicitly dismissed, or acted on the notification.\n- Don’t use for error messages unless absolutely necessary. Try to favor a [Banner](/components/banner/) for error messaging instead.\n\n</div>\n\n---\n\n## Content guidelines\n\nNotification content should be clear, accurate and easy to understand:\n\n<div class=\"n-usage n-usage-do\">Ariel Salminen arrived to clinic with Pixie cat.</div>\n<div class=\"n-usage n-usage-dont\">Patient arrived</div>\n\nWhen writing the notification content, be concise. Keep content to 1 to 2 sentence:\n\n<div class=\"n-usage n-usage-do\">You’ve reached the limit of 30 users included in your plan. Upgrade to add more.</div>\n<div class=\"n-usage n-usage-dont\">You have reached the user limit. Your clinic can only have a maximum of 30 users. To add more users, remove users you no longer need or upgrade your plan to add more.</div>\n\nWhen writing the notification content, always write it in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">Ariel Salminen arrived to clinic with Pixie cat.</div>\n<div class=\"n-usage n-usage-dont\">Ariel Salminen Arrived To Clinic With Pixie Cat.</div>\n\nAlways end in punctuation:\n\n<div class=\"n-usage n-usage-do\">Ariel Salminen arrived to clinic with Pixie cat.</div>\n<div class=\"n-usage n-usage-dont\">Ariel Salminen arrived to clinic with Pixie cat</div>\n\nAction link labels in notifications should be clear, accurate and predictable. It should be possible for the user to understand what will happen when they click a button:\n\n<div class=\"n-usage n-usage-do\">Start consultation</div>\n<div class=\"n-usage n-usage-dont\">Click here</div>\n\nWhen writing action link labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">Start consultation</div>\n<div class=\"n-usage n-usage-dont\">Start Consultation</div>\n\nAvoid unnecessary words and articles in action link labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Add item</div>\n<div class=\"n-usage n-usage-dont\">Add an item</div>\n",
9816
+ "status": "new",
9817
+ "category": "action",
9818
+ "readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use a tooltip with the toggle that’s labelled as `Toggle navigation`.\n- We recommend setting a keyboard shortcut that toggles the navigation.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use as a generic button or toggle. Use the [Button component](/components/button/) instead.\n\n</div>\n",
10024
9819
  "examples": [],
10025
9820
  "dependencies": [
10026
- "stack",
10027
- "icon"
9821
+ "button",
9822
+ "icon",
9823
+ "visually-hidden"
10028
9824
  ],
10029
- "tagName": "nord-notification",
9825
+ "tagName": "nord-nav-toggle",
10030
9826
  "customElement": true
10031
9827
  }
10032
9828
  ],
@@ -10035,23 +9831,23 @@
10035
9831
  "kind": "js",
10036
9832
  "name": "default",
10037
9833
  "declaration": {
10038
- "name": "Notification",
10039
- "module": "src/notification/Notification.ts"
9834
+ "name": "NavToggle",
9835
+ "module": "src/nav-toggle/NavToggle.ts"
10040
9836
  }
10041
9837
  },
10042
9838
  {
10043
9839
  "kind": "custom-element-definition",
10044
- "name": "nord-notification",
9840
+ "name": "nord-nav-toggle",
10045
9841
  "declaration": {
10046
- "name": "Notification",
10047
- "module": "src/notification/Notification.ts"
9842
+ "name": "NavToggle",
9843
+ "module": "src/nav-toggle/NavToggle.ts"
10048
9844
  }
10049
9845
  }
10050
9846
  ]
10051
9847
  },
10052
9848
  {
10053
9849
  "kind": "javascript-module",
10054
- "path": "src/notification/localization.ts",
9850
+ "path": "src/nav-toggle/localization.ts",
10055
9851
  "declarations": [
10056
9852
  {
10057
9853
  "kind": "variable",
@@ -10059,7 +9855,7 @@
10059
9855
  "type": {
10060
9856
  "text": "object"
10061
9857
  },
10062
- "default": "{\n dismissLabel: \"Dismiss notification\",\n}"
9858
+ "default": "{\n label: \"Toggle navigation\",\n}"
10063
9859
  }
10064
9860
  ],
10065
9861
  "exports": [
@@ -10068,7 +9864,90 @@
10068
9864
  "name": "default",
10069
9865
  "declaration": {
10070
9866
  "name": "localization",
10071
- "module": "src/notification/localization.ts"
9867
+ "module": "src/nav-toggle/localization.ts"
9868
+ }
9869
+ }
9870
+ ]
9871
+ },
9872
+ {
9873
+ "kind": "javascript-module",
9874
+ "path": "src/navigation/Navigation.ts",
9875
+ "declarations": [
9876
+ {
9877
+ "kind": "class",
9878
+ "description": "Navigation is used to display the primary navigation in the sidebar\nof an application. Navigation includes a list of links that users\nuse to move between sections of the application.",
9879
+ "name": "Navigation",
9880
+ "cssProperties": [
9881
+ {
9882
+ "description": "Controls the background color of the navigation element.",
9883
+ "name": "--n-navigation-background-color",
9884
+ "default": "var(--n-color-nav-surface)"
9885
+ }
9886
+ ],
9887
+ "slots": [
9888
+ {
9889
+ "description": "The main section of the sidebar, for holding nav components.",
9890
+ "name": ""
9891
+ },
9892
+ {
9893
+ "description": "The top section of the sidebar.",
9894
+ "name": "header"
9895
+ },
9896
+ {
9897
+ "description": "The bottom section of the sidebar.",
9898
+ "name": "footer"
9899
+ }
9900
+ ],
9901
+ "members": [
9902
+ {
9903
+ "kind": "field",
9904
+ "name": "headerSlot",
9905
+ "privacy": "private",
9906
+ "default": "new SlotController(this, \"header\")"
9907
+ },
9908
+ {
9909
+ "kind": "field",
9910
+ "name": "events",
9911
+ "privacy": "private",
9912
+ "default": "new EventController(this)"
9913
+ },
9914
+ {
9915
+ "kind": "field",
9916
+ "name": "handleActivate",
9917
+ "privacy": "private"
9918
+ }
9919
+ ],
9920
+ "superclass": {
9921
+ "name": "LitElement",
9922
+ "package": "lit"
9923
+ },
9924
+ "localization": [],
9925
+ "status": "ready",
9926
+ "category": "navigation",
9927
+ "readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use for primary navigation items that perform an action when clicked. Each action should navigate to a URL or trigger another action like a modal overlay.\n- Group navigation items into navigation groups based on related categories.\n- Use group headings to clarify the category of a section.\n- Use icons for all top level navigation items.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t place a `<nav>` element inside the navigation component, as it already contains one internally.\n\n</div>\n\n---\n\n## Content guidelines\n\nWhen writing navigation item labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">My tasks</div>\n<div class=\"n-usage n-usage-dont\">My Tasks</div>\n\nAvoid unnecessary words and articles in item labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Change theme</div>\n<div class=\"n-usage n-usage-dont\">Change the theme</div>\n\nAvoid ending item labels in punctuation:\n\n<div class=\"n-usage n-usage-do\">Switch user</div>\n<div class=\"n-usage n-usage-dont\">Switch user.</div>\n\nUse as few words as possible to describe each item label:\n\n<div class=\"n-usage n-usage-do\">Payments</div>\n<div class=\"n-usage n-usage-dont\">Payments in your clinic</div>\n\nAvoid all caps for item labels and group titles:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">DASHBOARD</div>\n",
9928
+ "examples": [],
9929
+ "dependencies": [
9930
+ "nav-item"
9931
+ ],
9932
+ "tagName": "nord-navigation",
9933
+ "customElement": true
9934
+ }
9935
+ ],
9936
+ "exports": [
9937
+ {
9938
+ "kind": "js",
9939
+ "name": "default",
9940
+ "declaration": {
9941
+ "name": "Navigation",
9942
+ "module": "src/navigation/Navigation.ts"
9943
+ }
9944
+ },
9945
+ {
9946
+ "kind": "custom-element-definition",
9947
+ "name": "nord-navigation",
9948
+ "declaration": {
9949
+ "name": "Navigation",
9950
+ "module": "src/navigation/Navigation.ts"
10072
9951
  }
10073
9952
  }
10074
9953
  ]
@@ -13329,101 +13208,6 @@
13329
13208
  }
13330
13209
  ]
13331
13210
  },
13332
- {
13333
- "kind": "javascript-module",
13334
- "path": "src/tab/Tab.ts",
13335
- "declarations": [
13336
- {
13337
- "kind": "class",
13338
- "description": "The interactive tab button for use within the tab group component.",
13339
- "name": "Tab",
13340
- "cssProperties": [
13341
- {
13342
- "description": "Controls the text color of the tab, using our [color tokens](/tokens/#color).",
13343
- "name": "--n-tab-color",
13344
- "default": "var(--n-color-text-weak)"
13345
- },
13346
- {
13347
- "description": "Controls the font weight of the tab, using our [font tokens](/tokens/#font).",
13348
- "name": "--n-tab-font-weight",
13349
- "default": "var(--n-font-weight)"
13350
- }
13351
- ],
13352
- "slots": [
13353
- {
13354
- "description": "The tab button content.",
13355
- "name": ""
13356
- }
13357
- ],
13358
- "members": [
13359
- {
13360
- "kind": "field",
13361
- "name": "defaultSlot",
13362
- "privacy": "private",
13363
- "default": "new SlotController(this)"
13364
- },
13365
- {
13366
- "kind": "field",
13367
- "name": "selected",
13368
- "type": {
13369
- "text": "boolean"
13370
- },
13371
- "default": "false",
13372
- "description": "Whether the tab item is selected",
13373
- "attribute": "selected",
13374
- "reflects": true
13375
- },
13376
- {
13377
- "kind": "method",
13378
- "name": "handleSelectionChange",
13379
- "privacy": "protected",
13380
- "description": "Apply accessible attributes and values to the tab button.\nObserve the selected property if it changes"
13381
- }
13382
- ],
13383
- "attributes": [
13384
- {
13385
- "name": "selected",
13386
- "type": {
13387
- "text": "boolean"
13388
- },
13389
- "default": "false",
13390
- "description": "Whether the tab item is selected",
13391
- "fieldName": "selected"
13392
- }
13393
- ],
13394
- "superclass": {
13395
- "name": "LitElement",
13396
- "package": "lit"
13397
- },
13398
- "localization": [],
13399
- "status": "ready",
13400
- "category": "navigation",
13401
- "readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use the tab component within the tab group component.\n- Use the `selected` option to signify if the tab is selected.\n- Use text, icons and other non-interactive content within the tab.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use tabs to navigate to other pages. Use navigation or links instead.\n- Don't use the tab component outside of the tab group component.\n- Don't add interactive elements, such as buttons and links, inside the tab component.\n\n</div>\n\n---\n\n## Content guidelines\n\nWhen writing tab labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">My tasks</div>\n<div class=\"n-usage n-usage-dont\">My Tasks</div>\n\nAvoid unnecessary words and articles in tab labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">The dashboard</div>\n\nAvoid ending tab labels in punctuation:\n\n<div class=\"n-usage n-usage-do\">Patients</div>\n<div class=\"n-usage n-usage-dont\">Patients.</div>\n\nUse as few words as possible to describe each tab label:\n\n<div class=\"n-usage n-usage-do\">Payments</div>\n<div class=\"n-usage n-usage-dont\">Payments in your clinic</div>\n\nAvoid all caps for tab labels:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">DASHBOARD</div>\n\n---\n\n## Additional considerations\n\n- If the content contained within the tabs UI has significance or is important for the user to see, consider using a different form of presentation that doesn't obscure it.\n- If there is a particular section you wish to show out of order of the tabs UI itself consider using the `selected` option to select the tab but prevent the order of the tabs being affected.\n",
13402
- "examples": [],
13403
- "dependencies": [],
13404
- "tagName": "nord-tab",
13405
- "customElement": true
13406
- }
13407
- ],
13408
- "exports": [
13409
- {
13410
- "kind": "js",
13411
- "name": "default",
13412
- "declaration": {
13413
- "name": "Tab",
13414
- "module": "src/tab/Tab.ts"
13415
- }
13416
- },
13417
- {
13418
- "kind": "custom-element-definition",
13419
- "name": "nord-tab",
13420
- "declaration": {
13421
- "name": "Tab",
13422
- "module": "src/tab/Tab.ts"
13423
- }
13424
- }
13425
- ]
13426
- },
13427
13211
  {
13428
13212
  "kind": "javascript-module",
13429
13213
  "path": "src/stack/Stack.ts",
@@ -13582,19 +13366,66 @@
13582
13366
  },
13583
13367
  {
13584
13368
  "kind": "javascript-module",
13585
- "path": "src/tab-panel/TabPanel.ts",
13369
+ "path": "src/tab/Tab.ts",
13586
13370
  "declarations": [
13587
13371
  {
13588
13372
  "kind": "class",
13589
- "description": "The panel which contains content that can be revealed using a tab\nin the tab group component.",
13590
- "name": "TabPanel",
13373
+ "description": "The interactive tab button for use within the tab group component.",
13374
+ "name": "Tab",
13375
+ "cssProperties": [
13376
+ {
13377
+ "description": "Controls the text color of the tab, using our [color tokens](/tokens/#color).",
13378
+ "name": "--n-tab-color",
13379
+ "default": "var(--n-color-text-weak)"
13380
+ },
13381
+ {
13382
+ "description": "Controls the font weight of the tab, using our [font tokens](/tokens/#font).",
13383
+ "name": "--n-tab-font-weight",
13384
+ "default": "var(--n-font-weight)"
13385
+ }
13386
+ ],
13591
13387
  "slots": [
13592
13388
  {
13593
- "description": "The tab panel content.",
13594
- "name": ""
13389
+ "description": "The tab button content.",
13390
+ "name": ""
13391
+ }
13392
+ ],
13393
+ "members": [
13394
+ {
13395
+ "kind": "field",
13396
+ "name": "defaultSlot",
13397
+ "privacy": "private",
13398
+ "default": "new SlotController(this)"
13399
+ },
13400
+ {
13401
+ "kind": "field",
13402
+ "name": "selected",
13403
+ "type": {
13404
+ "text": "boolean"
13405
+ },
13406
+ "default": "false",
13407
+ "description": "Whether the tab item is selected",
13408
+ "attribute": "selected",
13409
+ "reflects": true
13410
+ },
13411
+ {
13412
+ "kind": "method",
13413
+ "name": "handleSelectionChange",
13414
+ "privacy": "protected",
13415
+ "description": "Apply accessible attributes and values to the tab button.\nObserve the selected property if it changes"
13416
+ }
13417
+ ],
13418
+ "attributes": [
13419
+ {
13420
+ "name": "selected",
13421
+ "type": {
13422
+ "text": "boolean"
13423
+ },
13424
+ "default": "false",
13425
+ "description": "Whether the tab item is selected",
13426
+ "fieldName": "selected"
13595
13427
  }
13596
13428
  ],
13597
- "members": [],
13598
13429
  "superclass": {
13599
13430
  "name": "LitElement",
13600
13431
  "package": "lit"
@@ -13602,10 +13433,10 @@
13602
13433
  "localization": [],
13603
13434
  "status": "ready",
13604
13435
  "category": "navigation",
13605
- "readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use the tab panel component within the tab group component.\n- Use both non-interactive and interactive elements within the contents of the tab panel.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don't use the tab panel component outside of the tab group component.\n- Don't obscure important information within a tab panel that isn't revealed by default.\n\n</div>\n\n---\n\n## Content guidelines\n\nWhen writing tab labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">My tasks</div>\n<div class=\"n-usage n-usage-dont\">My Tasks</div>\n\nAvoid unnecessary words and articles in tab labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">The dashboard</div>\n\nAvoid ending tab labels in punctuation:\n\n<div class=\"n-usage n-usage-do\">Patients</div>\n<div class=\"n-usage n-usage-dont\">Patients.</div>\n\nUse as few words as possible to describe each tab label:\n\n<div class=\"n-usage n-usage-do\">Payments</div>\n<div class=\"n-usage n-usage-dont\">Payments in your clinic</div>\n\nAvoid all caps for tab labels:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">DASHBOARD</div>\n\n---\n\n## Additional considerations\n\n- If the content contained within the tabs UI has significance or is important for the user to see, consider using a different form of presentation that doesn't obscure it.\n- If there is a particular tab panel you wish to show out of order of the tabs UI itself consider using the `selected` option on the related tab component to select the tab but prevent the order of the tabs being affected.\n",
13436
+ "readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use the tab component within the tab group component.\n- Use the `selected` option to signify if the tab is selected.\n- Use text, icons and other non-interactive content within the tab.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use tabs to navigate to other pages. Use navigation or links instead.\n- Don't use the tab component outside of the tab group component.\n- Don't add interactive elements, such as buttons and links, inside the tab component.\n\n</div>\n\n---\n\n## Content guidelines\n\nWhen writing tab labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">My tasks</div>\n<div class=\"n-usage n-usage-dont\">My Tasks</div>\n\nAvoid unnecessary words and articles in tab labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">The dashboard</div>\n\nAvoid ending tab labels in punctuation:\n\n<div class=\"n-usage n-usage-do\">Patients</div>\n<div class=\"n-usage n-usage-dont\">Patients.</div>\n\nUse as few words as possible to describe each tab label:\n\n<div class=\"n-usage n-usage-do\">Payments</div>\n<div class=\"n-usage n-usage-dont\">Payments in your clinic</div>\n\nAvoid all caps for tab labels:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">DASHBOARD</div>\n\n---\n\n## Additional considerations\n\n- If the content contained within the tabs UI has significance or is important for the user to see, consider using a different form of presentation that doesn't obscure it.\n- If there is a particular section you wish to show out of order of the tabs UI itself consider using the `selected` option to select the tab but prevent the order of the tabs being affected.\n",
13606
13437
  "examples": [],
13607
13438
  "dependencies": [],
13608
- "tagName": "nord-tab-panel",
13439
+ "tagName": "nord-tab",
13609
13440
  "customElement": true
13610
13441
  }
13611
13442
  ],
@@ -13614,16 +13445,16 @@
13614
13445
  "kind": "js",
13615
13446
  "name": "default",
13616
13447
  "declaration": {
13617
- "name": "TabPanel",
13618
- "module": "src/tab-panel/TabPanel.ts"
13448
+ "name": "Tab",
13449
+ "module": "src/tab/Tab.ts"
13619
13450
  }
13620
13451
  },
13621
13452
  {
13622
13453
  "kind": "custom-element-definition",
13623
- "name": "nord-tab-panel",
13454
+ "name": "nord-tab",
13624
13455
  "declaration": {
13625
- "name": "TabPanel",
13626
- "module": "src/tab-panel/TabPanel.ts"
13456
+ "name": "Tab",
13457
+ "module": "src/tab/Tab.ts"
13627
13458
  }
13628
13459
  }
13629
13460
  ]
@@ -13874,6 +13705,54 @@
13874
13705
  }
13875
13706
  ]
13876
13707
  },
13708
+ {
13709
+ "kind": "javascript-module",
13710
+ "path": "src/tab-panel/TabPanel.ts",
13711
+ "declarations": [
13712
+ {
13713
+ "kind": "class",
13714
+ "description": "The panel which contains content that can be revealed using a tab\nin the tab group component.",
13715
+ "name": "TabPanel",
13716
+ "slots": [
13717
+ {
13718
+ "description": "The tab panel content.",
13719
+ "name": ""
13720
+ }
13721
+ ],
13722
+ "members": [],
13723
+ "superclass": {
13724
+ "name": "LitElement",
13725
+ "package": "lit"
13726
+ },
13727
+ "localization": [],
13728
+ "status": "ready",
13729
+ "category": "navigation",
13730
+ "readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use the tab panel component within the tab group component.\n- Use both non-interactive and interactive elements within the contents of the tab panel.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don't use the tab panel component outside of the tab group component.\n- Don't obscure important information within a tab panel that isn't revealed by default.\n\n</div>\n\n---\n\n## Content guidelines\n\nWhen writing tab labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">My tasks</div>\n<div class=\"n-usage n-usage-dont\">My Tasks</div>\n\nAvoid unnecessary words and articles in tab labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">The dashboard</div>\n\nAvoid ending tab labels in punctuation:\n\n<div class=\"n-usage n-usage-do\">Patients</div>\n<div class=\"n-usage n-usage-dont\">Patients.</div>\n\nUse as few words as possible to describe each tab label:\n\n<div class=\"n-usage n-usage-do\">Payments</div>\n<div class=\"n-usage n-usage-dont\">Payments in your clinic</div>\n\nAvoid all caps for tab labels:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">DASHBOARD</div>\n\n---\n\n## Additional considerations\n\n- If the content contained within the tabs UI has significance or is important for the user to see, consider using a different form of presentation that doesn't obscure it.\n- If there is a particular tab panel you wish to show out of order of the tabs UI itself consider using the `selected` option on the related tab component to select the tab but prevent the order of the tabs being affected.\n",
13731
+ "examples": [],
13732
+ "dependencies": [],
13733
+ "tagName": "nord-tab-panel",
13734
+ "customElement": true
13735
+ }
13736
+ ],
13737
+ "exports": [
13738
+ {
13739
+ "kind": "js",
13740
+ "name": "default",
13741
+ "declaration": {
13742
+ "name": "TabPanel",
13743
+ "module": "src/tab-panel/TabPanel.ts"
13744
+ }
13745
+ },
13746
+ {
13747
+ "kind": "custom-element-definition",
13748
+ "name": "nord-tab-panel",
13749
+ "declaration": {
13750
+ "name": "TabPanel",
13751
+ "module": "src/tab-panel/TabPanel.ts"
13752
+ }
13753
+ }
13754
+ ]
13755
+ },
13877
13756
  {
13878
13757
  "kind": "javascript-module",
13879
13758
  "path": "src/table/Table.ts",
@@ -15086,6 +14965,165 @@
15086
14965
  }
15087
14966
  ]
15088
14967
  },
14968
+ {
14969
+ "kind": "javascript-module",
14970
+ "path": "src/notification/Notification.ts",
14971
+ "declarations": [
14972
+ {
14973
+ "kind": "class",
14974
+ "description": "Notifications provide important information that requires action or acknowledgement.\nA notification is displayed until the user dismisses it.",
14975
+ "name": "Notification",
14976
+ "slots": [
14977
+ {
14978
+ "description": "Default slot used for the notification text/message.",
14979
+ "name": ""
14980
+ },
14981
+ {
14982
+ "description": "Slot used for the notification icon.",
14983
+ "name": "icon"
14984
+ }
14985
+ ],
14986
+ "members": [
14987
+ {
14988
+ "kind": "field",
14989
+ "name": "localize",
14990
+ "privacy": "private",
14991
+ "default": "new LocalizeController<\"nord-notification\">(this)"
14992
+ },
14993
+ {
14994
+ "kind": "field",
14995
+ "name": "notificationRef",
14996
+ "privacy": "protected",
14997
+ "inheritedFrom": {
14998
+ "name": "NotificationMixin",
14999
+ "module": "src/common/mixins/NotificationMixin.ts"
15000
+ }
15001
+ },
15002
+ {
15003
+ "kind": "field",
15004
+ "name": "dismissed",
15005
+ "type": {
15006
+ "text": "boolean"
15007
+ },
15008
+ "privacy": "protected",
15009
+ "default": "false",
15010
+ "inheritedFrom": {
15011
+ "name": "NotificationMixin",
15012
+ "module": "src/common/mixins/NotificationMixin.ts"
15013
+ }
15014
+ },
15015
+ {
15016
+ "kind": "method",
15017
+ "name": "dismiss",
15018
+ "description": "Programmatically dismiss the notification.\nThe returned promise resolves when notification's exit animation is complete.",
15019
+ "inheritedFrom": {
15020
+ "name": "NotificationMixin",
15021
+ "module": "src/common/mixins/NotificationMixin.ts"
15022
+ }
15023
+ },
15024
+ {
15025
+ "kind": "field",
15026
+ "name": "_warningLogged",
15027
+ "type": {
15028
+ "text": "boolean"
15029
+ },
15030
+ "privacy": "private",
15031
+ "static": true,
15032
+ "default": "false",
15033
+ "inheritedFrom": {
15034
+ "name": "DraftComponentMixin",
15035
+ "module": "src/common/mixins/DraftComponentMixin.ts"
15036
+ }
15037
+ }
15038
+ ],
15039
+ "events": [
15040
+ {
15041
+ "name": "dismiss",
15042
+ "type": {
15043
+ "text": "NordEvent"
15044
+ },
15045
+ "description": "Fired when the notification is dismissed, and its exit animation has completed. This event should be used to remove the dismissed notification from the DOM.",
15046
+ "inheritedFrom": {
15047
+ "name": "NotificationMixin",
15048
+ "module": "src/common/mixins/NotificationMixin.ts"
15049
+ }
15050
+ }
15051
+ ],
15052
+ "mixins": [
15053
+ {
15054
+ "name": "NotificationMixin",
15055
+ "module": "/src/common/mixins/NotificationMixin.js"
15056
+ },
15057
+ {
15058
+ "name": "DraftComponentMixin",
15059
+ "module": "/src/common/mixins/DraftComponentMixin.js"
15060
+ }
15061
+ ],
15062
+ "superclass": {
15063
+ "name": "LitElement",
15064
+ "package": "lit"
15065
+ },
15066
+ "localization": [
15067
+ {
15068
+ "name": "dismissLabel",
15069
+ "description": "Accessible label for the dismiss button."
15070
+ }
15071
+ ],
15072
+ "status": "draft",
15073
+ "category": "feedback",
15074
+ "readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use for short messages that describe the purpose of the notification.\n- Use for important updates that require user action/attention.\n- Provide a single call to action within the notification.\n- Use in combination with [Notification group](../notification-group/) so that notifications get styled and positioned correctly.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for transient or unimportant messages. Consider using a [Toast](/components/toast) instead.\n- Don't remove a notification until a user has explicitly dismissed, or acted on the notification.\n- Don’t use for error messages unless absolutely necessary. Try to favor a [Banner](/components/banner/) for error messaging instead.\n\n</div>\n\n---\n\n## Content guidelines\n\nNotification content should be clear, accurate and easy to understand:\n\n<div class=\"n-usage n-usage-do\">Ariel Salminen arrived to clinic with Pixie cat.</div>\n<div class=\"n-usage n-usage-dont\">Patient arrived</div>\n\nWhen writing the notification content, be concise. Keep content to 1 to 2 sentence:\n\n<div class=\"n-usage n-usage-do\">You’ve reached the limit of 30 users included in your plan. Upgrade to add more.</div>\n<div class=\"n-usage n-usage-dont\">You have reached the user limit. Your clinic can only have a maximum of 30 users. To add more users, remove users you no longer need or upgrade your plan to add more.</div>\n\nWhen writing the notification content, always write it in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">Ariel Salminen arrived to clinic with Pixie cat.</div>\n<div class=\"n-usage n-usage-dont\">Ariel Salminen Arrived To Clinic With Pixie Cat.</div>\n\nAlways end in punctuation:\n\n<div class=\"n-usage n-usage-do\">Ariel Salminen arrived to clinic with Pixie cat.</div>\n<div class=\"n-usage n-usage-dont\">Ariel Salminen arrived to clinic with Pixie cat</div>\n\nAction link labels in notifications should be clear, accurate and predictable. It should be possible for the user to understand what will happen when they click a button:\n\n<div class=\"n-usage n-usage-do\">Start consultation</div>\n<div class=\"n-usage n-usage-dont\">Click here</div>\n\nWhen writing action link labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">Start consultation</div>\n<div class=\"n-usage n-usage-dont\">Start Consultation</div>\n\nAvoid unnecessary words and articles in action link labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Add item</div>\n<div class=\"n-usage n-usage-dont\">Add an item</div>\n",
15075
+ "examples": [],
15076
+ "dependencies": [
15077
+ "stack",
15078
+ "icon"
15079
+ ],
15080
+ "tagName": "nord-notification",
15081
+ "customElement": true
15082
+ }
15083
+ ],
15084
+ "exports": [
15085
+ {
15086
+ "kind": "js",
15087
+ "name": "default",
15088
+ "declaration": {
15089
+ "name": "Notification",
15090
+ "module": "src/notification/Notification.ts"
15091
+ }
15092
+ },
15093
+ {
15094
+ "kind": "custom-element-definition",
15095
+ "name": "nord-notification",
15096
+ "declaration": {
15097
+ "name": "Notification",
15098
+ "module": "src/notification/Notification.ts"
15099
+ }
15100
+ }
15101
+ ]
15102
+ },
15103
+ {
15104
+ "kind": "javascript-module",
15105
+ "path": "src/notification/localization.ts",
15106
+ "declarations": [
15107
+ {
15108
+ "kind": "variable",
15109
+ "name": "localization",
15110
+ "type": {
15111
+ "text": "object"
15112
+ },
15113
+ "default": "{\n dismissLabel: \"Dismiss notification\",\n}"
15114
+ }
15115
+ ],
15116
+ "exports": [
15117
+ {
15118
+ "kind": "js",
15119
+ "name": "default",
15120
+ "declaration": {
15121
+ "name": "localization",
15122
+ "module": "src/notification/localization.ts"
15123
+ }
15124
+ }
15125
+ ]
15126
+ },
15089
15127
  {
15090
15128
  "kind": "javascript-module",
15091
15129
  "path": "src/toast-group/ToastGroup.ts",