@nordhealth/components 3.6.2 → 3.8.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 (239) hide show
  1. package/custom-elements.json +729 -724
  2. package/lib/AutocompleteMixin-5a7e10b2.js +2 -0
  3. package/lib/{AutocompleteMixin-60503685.js.map → AutocompleteMixin-5a7e10b2.js.map} +1 -1
  4. package/lib/Avatar.js +1 -1
  5. package/lib/Avatar.js.map +1 -1
  6. package/lib/Badge.js +1 -1
  7. package/lib/Badge.js.map +1 -1
  8. package/lib/Banner.js +1 -1
  9. package/lib/Banner.js.map +1 -1
  10. package/lib/Button.js +1 -1
  11. package/lib/Button.js.map +1 -1
  12. package/lib/ButtonGroup.js +1 -1
  13. package/lib/ButtonGroup.js.map +1 -1
  14. package/lib/{Calendar-c68fd0d2.js → Calendar-38b5ce2b.js} +2 -2
  15. package/lib/{Calendar-c68fd0d2.js.map → Calendar-38b5ce2b.js.map} +1 -1
  16. package/lib/Calendar.js +1 -1
  17. package/lib/Card.js +1 -1
  18. package/lib/Card.js.map +1 -1
  19. package/lib/Checkbox.js +1 -1
  20. package/lib/Checkbox.js.map +1 -1
  21. package/lib/CommandMenu.js +1 -1
  22. package/lib/CommandMenu.js.map +1 -1
  23. package/lib/CommandMenuAction.js +1 -1
  24. package/lib/CommandMenuAction.js.map +1 -1
  25. package/lib/{Component-253ecb24.js → Component-2253424f.js} +2 -2
  26. package/lib/Component-2253424f.js.map +1 -0
  27. package/lib/DatePicker.js +1 -1
  28. package/lib/DatePicker.js.map +1 -1
  29. package/lib/DateSelectEvent.js.map +1 -1
  30. package/lib/DirectionController-f35f5476.js.map +1 -1
  31. package/lib/Divider.js +1 -1
  32. package/lib/Divider.js.map +1 -1
  33. package/lib/DraftComponentMixin-9e4b7b34.js.map +1 -1
  34. package/lib/Drawer.js +1 -1
  35. package/lib/Drawer.js.map +1 -1
  36. package/lib/Dropdown.js +1 -1
  37. package/lib/Dropdown.js.map +1 -1
  38. package/lib/DropdownGroup.js +1 -1
  39. package/lib/DropdownGroup.js.map +1 -1
  40. package/lib/{DropdownItem-397cd757.js → DropdownItem-588f5a6b.js} +2 -2
  41. package/lib/DropdownItem-588f5a6b.js.map +1 -0
  42. package/lib/DropdownItem.js +1 -1
  43. package/lib/DropdownItem.js.map +1 -1
  44. package/lib/EmptyState.js +1 -1
  45. package/lib/EmptyState.js.map +1 -1
  46. package/lib/EventController-d99ebeef.js.map +1 -1
  47. package/lib/Fieldset.js +1 -1
  48. package/lib/Fieldset.js.map +1 -1
  49. package/lib/{FocusableMixin-003e1094.js → FocusableMixin-d30213b4.js} +2 -2
  50. package/lib/{FocusableMixin-003e1094.js.map → FocusableMixin-d30213b4.js.map} +1 -1
  51. package/lib/{FormAssociatedMixin-0638b151.js → FormAssociatedMixin-a278fda4.js} +2 -2
  52. package/lib/{FormAssociatedMixin-0638b151.js.map → FormAssociatedMixin-a278fda4.js.map} +1 -1
  53. package/lib/{FormField-0783cb5a.js → FormField-87551be2.js} +2 -2
  54. package/lib/FormField-87551be2.js.map +1 -0
  55. package/lib/Header.js +1 -1
  56. package/lib/Header.js.map +1 -1
  57. package/lib/Icon.js +1 -1
  58. package/lib/Icon.js.map +1 -1
  59. package/lib/IconManager.js +1 -1
  60. package/lib/IconManager.js.map +1 -1
  61. package/lib/Input.js +1 -1
  62. package/lib/Input.js.map +1 -1
  63. package/lib/{InputMixin-87012c5a.js → InputMixin-83b5bd46.js} +2 -2
  64. package/lib/{InputMixin-87012c5a.js.map → InputMixin-83b5bd46.js.map} +1 -1
  65. package/lib/KeyboardController.js.map +1 -1
  66. package/lib/Layout.js +1 -1
  67. package/lib/Layout.js.map +1 -1
  68. package/lib/LightDismissController-a2645ae6.js.map +1 -1
  69. package/lib/{LightDomController-2b7e42a2.js → LightDomController-5388d84c.js} +2 -2
  70. package/lib/{LightDomController-2b7e42a2.js.map → LightDomController-5388d84c.js.map} +1 -1
  71. package/lib/LocalizeController.js.map +1 -1
  72. package/lib/Message.js +1 -1
  73. package/lib/Message.js.map +1 -1
  74. package/lib/Modal.js +1 -1
  75. package/lib/Modal.js.map +1 -1
  76. package/lib/ModalController.js.map +1 -1
  77. package/lib/NavGroup.js +1 -1
  78. package/lib/NavGroup.js.map +1 -1
  79. package/lib/NavItem.js +1 -1
  80. package/lib/NavItem.js.map +1 -1
  81. package/lib/{NavToggle-d39f3c6d.js → NavToggle-cb2c3648.js} +2 -2
  82. package/lib/{NavToggle-d39f3c6d.js.map → NavToggle-cb2c3648.js.map} +1 -1
  83. package/lib/NavToggle.js +1 -1
  84. package/lib/Navigation.js +1 -1
  85. package/lib/Navigation.js.map +1 -1
  86. package/lib/Notification.js +1 -1
  87. package/lib/Notification.js.map +1 -1
  88. package/lib/NotificationGroup.js +1 -1
  89. package/lib/NotificationGroup.js.map +1 -1
  90. package/lib/{NotificationMixin-cea138a7.js → NotificationMixin-207f1f56.js} +2 -2
  91. package/lib/{NotificationMixin-cea138a7.js.map → NotificationMixin-207f1f56.js.map} +1 -1
  92. package/lib/Popout-2220e77b.js +2 -0
  93. package/lib/{Popout-1183c22b.js.map → Popout-2220e77b.js.map} +1 -1
  94. package/lib/Popout.js +1 -1
  95. package/lib/ProgressBar.js +1 -1
  96. package/lib/ProgressBar.js.map +1 -1
  97. package/lib/Qrcode.js +1 -1
  98. package/lib/Qrcode.js.map +1 -1
  99. package/lib/Radio.js +1 -1
  100. package/lib/Radio.js.map +1 -1
  101. package/lib/Range.js +1 -1
  102. package/lib/Range.js.map +1 -1
  103. package/lib/ScrollbarController-773c79f4.js.map +1 -1
  104. package/lib/Select.js +1 -1
  105. package/lib/Select.js.map +1 -1
  106. package/lib/SelectEvent.js.map +1 -1
  107. package/lib/ShortcutController-87615e31.js.map +1 -1
  108. package/lib/SizeMixin-ab074eff.js +2 -0
  109. package/lib/{SizeMixin-bc2098f4.js.map → SizeMixin-ab074eff.js.map} +1 -1
  110. package/lib/Skeleton.js +1 -1
  111. package/lib/Skeleton.js.map +1 -1
  112. package/lib/SlotController-d733c575.js.map +1 -1
  113. package/lib/Spinner.js +1 -1
  114. package/lib/Spinner.js.map +1 -1
  115. package/lib/Stack.js +1 -1
  116. package/lib/Stack.js.map +1 -1
  117. package/lib/{Sticky-220280e0.js → Sticky-c34c9b12.js} +2 -2
  118. package/lib/Sticky-c34c9b12.js.map +1 -0
  119. package/lib/Tab.js +1 -1
  120. package/lib/Tab.js.map +1 -1
  121. package/lib/TabGroup.js +1 -1
  122. package/lib/TabGroup.js.map +1 -1
  123. package/lib/TabPanel.js +1 -1
  124. package/lib/TabPanel.js.map +1 -1
  125. package/lib/Table.js +1 -1
  126. package/lib/Table.js.map +1 -1
  127. package/lib/{TextField-b455a6dd.js → TextField-2d778949.js} +2 -2
  128. package/lib/{TextField-b455a6dd.js.map → TextField-2d778949.js.map} +1 -1
  129. package/lib/Textarea.js +1 -1
  130. package/lib/Textarea.js.map +1 -1
  131. package/lib/Toast.js +1 -1
  132. package/lib/Toast.js.map +1 -1
  133. package/lib/ToastGroup.js +1 -1
  134. package/lib/ToastGroup.js.map +1 -1
  135. package/lib/Toggle.js +1 -1
  136. package/lib/Toggle.js.map +1 -1
  137. package/lib/Tooltip.js +1 -1
  138. package/lib/Tooltip.js.map +1 -1
  139. package/lib/TopBar.js +1 -1
  140. package/lib/TopBar.js.map +1 -1
  141. package/lib/VisuallyHidden.js +1 -1
  142. package/lib/VisuallyHidden.js.map +1 -1
  143. package/lib/bundle.js +35 -18
  144. package/lib/bundle.js.map +1 -1
  145. package/lib/{class-map-4a0dec4a.js → class-map-512f0bc1.js} +2 -2
  146. package/lib/class-map-512f0bc1.js.map +1 -0
  147. package/lib/collection-511dcfac.js +7 -0
  148. package/lib/collection-511dcfac.js.map +1 -0
  149. package/lib/cond-bb9ee891.js +2 -0
  150. package/lib/{cond-77258def.js.map → cond-bb9ee891.js.map} +1 -1
  151. package/lib/{directive-de55b00a.js → directive-e9ce14b4.js} +1 -1
  152. package/lib/directive-e9ce14b4.js.map +1 -0
  153. package/lib/events-d9666e88.js.map +1 -1
  154. package/lib/{if-defined-10508457.js → if-defined-cccde88f.js} +2 -2
  155. package/lib/if-defined-cccde88f.js.map +1 -0
  156. package/lib/index.js +1 -1
  157. package/lib/observe-a9c6dfb6.js.map +1 -1
  158. package/lib/positioning-2346bdd6.js +2 -0
  159. package/lib/positioning-2346bdd6.js.map +1 -0
  160. package/lib/{property-03f59dce.js → property-c78323b1.js} +2 -2
  161. package/lib/property-c78323b1.js.map +1 -0
  162. package/lib/{query-2d22378e.js → query-36bfe0e4.js} +1 -1
  163. package/lib/query-36bfe0e4.js.map +1 -0
  164. package/lib/query-assigned-elements-92ce7494.js +51 -0
  165. package/lib/query-assigned-elements-92ce7494.js.map +1 -0
  166. package/lib/{ref-f75a30b7.js → ref-99418ab4.js} +4 -4
  167. package/lib/ref-99418ab4.js.map +1 -0
  168. package/lib/src/avatar/Avatar.d.ts +4 -3
  169. package/lib/src/badge/Badge.d.ts +1 -1
  170. package/lib/src/banner/Banner.d.ts +1 -1
  171. package/lib/src/button-group/ButtonGroup.d.ts +1 -1
  172. package/lib/src/calendar/Calendar.d.ts +1 -1
  173. package/lib/src/card/Card.d.ts +1 -1
  174. package/lib/src/checkbox/Checkbox.d.ts +1 -1
  175. package/lib/src/command-menu/CommandMenu.d.ts +1 -1
  176. package/lib/src/command-menu/CommandMenuAction.d.ts +1 -1
  177. package/lib/src/date-picker/DatePicker.d.ts +1 -1
  178. package/lib/src/drawer/Drawer.d.ts +1 -1
  179. package/lib/src/dropdown/Dropdown.d.ts +2 -1
  180. package/lib/src/dropdown-group/DropdownGroup.d.ts +1 -1
  181. package/lib/src/empty-state/EmptyState.d.ts +1 -1
  182. package/lib/src/fieldset/Fieldset.d.ts +1 -1
  183. package/lib/src/header/Header.d.ts +1 -1
  184. package/lib/src/icon/Icon.d.ts +1 -1
  185. package/lib/src/input/Input.d.ts +1 -1
  186. package/lib/src/layout/Layout.d.ts +1 -1
  187. package/lib/src/modal/Modal.d.ts +2 -1
  188. package/lib/src/nav-group/NavGroup.d.ts +1 -1
  189. package/lib/src/nav-toggle/NavToggle.d.ts +1 -1
  190. package/lib/src/navigation/Navigation.d.ts +1 -1
  191. package/lib/src/notification/Notification.d.ts +1 -1
  192. package/lib/src/notification-group/NotificationGroup.d.ts +1 -1
  193. package/lib/src/popout/Popout.d.ts +1 -1
  194. package/lib/src/progress-bar/ProgressBar.d.ts +1 -1
  195. package/lib/src/qrcode/Qrcode.d.ts +1 -1
  196. package/lib/src/radio/Radio.d.ts +1 -1
  197. package/lib/src/range/Range.d.ts +1 -1
  198. package/lib/src/select/Select.d.ts +1 -1
  199. package/lib/src/skeleton/Skeleton.d.ts +1 -1
  200. package/lib/src/spinner/Spinner.d.ts +1 -1
  201. package/lib/src/stack/Stack.d.ts +1 -1
  202. package/lib/src/tab/Tab.d.ts +1 -1
  203. package/lib/src/tab-group/TabGroup.d.ts +1 -1
  204. package/lib/src/tab-panel/TabPanel.d.ts +1 -1
  205. package/lib/src/textarea/Textarea.d.ts +1 -1
  206. package/lib/src/toast/Toast.d.ts +1 -1
  207. package/lib/src/toast-group/ToastGroup.d.ts +1 -1
  208. package/lib/src/toggle/Toggle.d.ts +1 -1
  209. package/lib/src/tooltip/Tooltip.d.ts +1 -1
  210. package/lib/src/top-bar/TopBar.d.ts +1 -1
  211. package/lib/src/visually-hidden/VisuallyHidden.d.ts +1 -1
  212. package/lib/{state-70f38ceb.js → state-d31c6912.js} +2 -2
  213. package/lib/state-d31c6912.js.map +1 -0
  214. package/lib/style-map-f8a1c8d5.js +7 -0
  215. package/lib/style-map-f8a1c8d5.js.map +1 -0
  216. package/package.json +3 -3
  217. package/lib/AutocompleteMixin-60503685.js +0 -2
  218. package/lib/Component-253ecb24.js.map +0 -1
  219. package/lib/DropdownItem-397cd757.js.map +0 -1
  220. package/lib/FormField-0783cb5a.js.map +0 -1
  221. package/lib/Popout-1183c22b.js +0 -2
  222. package/lib/SizeMixin-bc2098f4.js +0 -2
  223. package/lib/Sticky-220280e0.js.map +0 -1
  224. package/lib/class-map-4a0dec4a.js.map +0 -1
  225. package/lib/collection-bba319d3.js +0 -7
  226. package/lib/collection-bba319d3.js.map +0 -1
  227. package/lib/cond-77258def.js +0 -2
  228. package/lib/directive-de55b00a.js.map +0 -1
  229. package/lib/if-defined-10508457.js.map +0 -1
  230. package/lib/positioning-a572d126.js +0 -2
  231. package/lib/positioning-a572d126.js.map +0 -1
  232. package/lib/property-03f59dce.js.map +0 -1
  233. package/lib/query-2d22378e.js.map +0 -1
  234. package/lib/query-assigned-elements-2f8275b7.js +0 -34
  235. package/lib/query-assigned-elements-2f8275b7.js.map +0 -1
  236. package/lib/ref-f75a30b7.js.map +0 -1
  237. package/lib/state-70f38ceb.js.map +0 -1
  238. package/lib/style-map-75ce20b3.js +0 -7
  239. package/lib/style-map-75ce20b3.js.map +0 -1
@@ -456,6 +456,11 @@
456
456
  "description": "Controls the box shadow for the avatar.",
457
457
  "name": "--n-avatar-box-shadow",
458
458
  "default": "none"
459
+ },
460
+ {
461
+ "description": "Controls the color of the avatar’s text and icon, using [color tokens](/tokens/#color).",
462
+ "name": "--n-avatar-text-color",
463
+ "default": "var(--n-color-text-on-accent)"
459
464
  }
460
465
  ],
461
466
  "members": [
@@ -628,119 +633,6 @@
628
633
  }
629
634
  ]
630
635
  },
631
- {
632
- "kind": "javascript-module",
633
- "path": "src/badge/Badge.ts",
634
- "declarations": [
635
- {
636
- "kind": "class",
637
- "description": "Badges are used to inform users of the status of an object\nor of an action that’s been taken. Commonly used in tabular\ndata to indicate status.",
638
- "name": "Badge",
639
- "slots": [
640
- {
641
- "description": "The badge content.",
642
- "name": ""
643
- },
644
- {
645
- "description": "Used to place an icon at the start of badge.",
646
- "name": "icon"
647
- }
648
- ],
649
- "members": [
650
- {
651
- "kind": "field",
652
- "name": "type",
653
- "type": {
654
- "text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | \"neutral\" | \"progress\" | undefined"
655
- },
656
- "description": "The type of badge.\nDetermines the background color of the badge.",
657
- "deprecated": "Use `variant` instead. If you previously used `\"progress\"`, use `\"info\"` instead.",
658
- "attribute": "type",
659
- "reflects": true
660
- },
661
- {
662
- "kind": "field",
663
- "name": "variant",
664
- "type": {
665
- "text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"neutral\" | \"info\" | undefined"
666
- },
667
- "description": "The style variant of the badge.\nDetermines the background color of the badge.",
668
- "attribute": "variant",
669
- "reflects": true
670
- },
671
- {
672
- "kind": "field",
673
- "name": "strong",
674
- "type": {
675
- "text": "boolean"
676
- },
677
- "default": "false",
678
- "description": "Strong badges are a secondary style for badges.\nThey provide more visual prominence and emphasize them.",
679
- "attribute": "strong",
680
- "reflects": true
681
- }
682
- ],
683
- "attributes": [
684
- {
685
- "name": "type",
686
- "type": {
687
- "text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | \"neutral\" | \"progress\" | undefined"
688
- },
689
- "description": "The type of badge.\nDetermines the background color of the badge.",
690
- "deprecated": "Use `variant` instead. If you previously used `\"progress\"`, use `\"info\"` instead.",
691
- "fieldName": "type"
692
- },
693
- {
694
- "name": "variant",
695
- "type": {
696
- "text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"neutral\" | \"info\" | undefined"
697
- },
698
- "description": "The style variant of the badge.\nDetermines the background color of the badge.",
699
- "fieldName": "variant"
700
- },
701
- {
702
- "name": "strong",
703
- "type": {
704
- "text": "boolean"
705
- },
706
- "default": "false",
707
- "description": "Strong badges are a secondary style for badges.\nThey provide more visual prominence and emphasize them.",
708
- "fieldName": "strong"
709
- }
710
- ],
711
- "superclass": {
712
- "name": "LitElement",
713
- "package": "lit"
714
- },
715
- "localization": [],
716
- "status": "ready",
717
- "category": "text",
718
- "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 established variants and color patterns so that users can clearly identify the importance level.\n- Use to show a status update on a piece of information or action.\n- Use to mark something as a “draft” or “new”.\n- Use when you want to highlight something that has been added recently.\n- Always position badge so that it’s clear to understand what object it’s related to.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t make badges clickable. Instead use button component’s small variant.\n- Don’t use alternatives to existing badge variants.\n\n</div>\n\n---\n\n## Content guidelines\n\nBadge labels should use a single word to describe the status of an object. Only use two words if you need to describe a complex state:\n\n<div class=\"n-usage n-usage-do\">Complete</div>\n<div class=\"n-usage n-usage-dont\">Action completed</div>\n\nWhen writing badge 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\">Partially refunded</div>\n<div class=\"n-usage n-usage-dont\">Partially Refunded</div>\n\nAvoid unnecessary words and articles in badge labels, such as “is”, “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Pending</div>\n<div class=\"n-usage n-usage-dont\">Item is pending</div>\n\nAlways describe the status in the past tense:\n\n<div class=\"n-usage n-usage-do\">Refunded</div>\n<div class=\"n-usage n-usage-dont\">Refund</div>\n\n---\n\n## Variants\n\nThis section describes the different component variants, their purpose, and when to use each variant.\n\n| Name | Purpose |\n| ----------- | --------------------------------------------------------------------------------------------------------------------------------------- |\n| `neutral` | The default style variant. |\n| `info` | Used to convey general information that isn’t critical. |\n| `success` | Used to convey success states. For example, you might want to show a badge that tells the user a payment was successful. |\n| `highlight` | Used to highlight specific items in the interface, like notifications. |\n| `danger` | Used to communicate problems that have to be resolved so that user can continue forward. Should always be used for highlighting errors. |\n| `warning` | Used to display information that needs a user’s attention attention and may require further steps. |\n| `progress` | Used to convey something that’s in progress. |\n",
719
- "examples": [],
720
- "dependencies": [],
721
- "tagName": "nord-badge",
722
- "customElement": true
723
- }
724
- ],
725
- "exports": [
726
- {
727
- "kind": "js",
728
- "name": "default",
729
- "declaration": {
730
- "name": "Badge",
731
- "module": "src/badge/Badge.ts"
732
- }
733
- },
734
- {
735
- "kind": "custom-element-definition",
736
- "name": "nord-badge",
737
- "declaration": {
738
- "name": "Badge",
739
- "module": "src/badge/Badge.ts"
740
- }
741
- }
742
- ]
743
- },
744
636
  {
745
637
  "kind": "javascript-module",
746
638
  "path": "src/banner/Banner.ts",
@@ -2029,126 +1921,362 @@
2029
1921
  },
2030
1922
  {
2031
1923
  "kind": "javascript-module",
2032
- "path": "src/checkbox/Checkbox.ts",
1924
+ "path": "src/card/Card.ts",
2033
1925
  "declarations": [
2034
1926
  {
2035
1927
  "kind": "class",
2036
- "description": "Checkboxes allow user to choose one or more options from a limited set of options.\nIf you have more than 10 options, please use Select component instead.",
2037
- "name": "Checkbox",
2038
- "slots": [
1928
+ "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.",
1929
+ "name": "Card",
1930
+ "cssProperties": [
2039
1931
  {
2040
- "description": "Use when a label requires more than plain text.",
2041
- "name": "label"
1932
+ "description": "Controls how rounded the corners are, using [border radius tokens](/tokens/#border-radius).",
1933
+ "name": "--n-card-border-radius",
1934
+ "default": "var(--n-border-radius)"
2042
1935
  },
2043
1936
  {
2044
- "description": "Optional slot that holds hint text for the input.",
2045
- "name": "hint"
1937
+ "description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow).",
1938
+ "name": "--n-card-box-shadow",
1939
+ "default": "var(--n-box-shadow-popout)"
2046
1940
  },
2047
1941
  {
2048
- "description": "Optional slot that holds error text for the input.",
2049
- "name": "error"
1942
+ "description": "Controls the padding on all sides of the card.",
1943
+ "name": "--n-card-padding",
1944
+ "default": "var(--n-space-m)"
1945
+ },
1946
+ {
1947
+ "description": "Controls the padding of items slotted within the card. This does not affect the block padding of items slotted into the header.",
1948
+ "name": "--n-card-slot-padding",
1949
+ "default": "var(--n-space-m)"
2050
1950
  }
2051
1951
  ],
2052
- "members": [
1952
+ "slots": [
2053
1953
  {
2054
- "kind": "field",
2055
- "name": "formValue",
2056
- "privacy": "protected",
2057
- "readonly": true,
2058
- "inheritedFrom": {
2059
- "name": "FormAssociatedMixin",
2060
- "module": "src/common/mixins/FormAssociatedMixin.ts"
2061
- }
1954
+ "description": "The card content.",
1955
+ "name": ""
2062
1956
  },
2063
1957
  {
2064
- "kind": "field",
2065
- "name": "indeterminate",
2066
- "type": {
2067
- "text": "boolean"
2068
- },
2069
- "default": "false",
2070
- "description": "Controls whether the checkbox is in an indeterminate state.",
2071
- "attribute": "indeterminate"
1958
+ "description": "Optional slot that holds a header for the card.",
1959
+ "name": "header"
2072
1960
  },
2073
1961
  {
2074
- "kind": "field",
2075
- "name": "checked",
2076
- "type": {
2077
- "text": "boolean"
2078
- },
2079
- "default": "false",
2080
- "description": "Controls whether the checkbox is checked or not.",
2081
- "attribute": "checked"
1962
+ "description": "Optional slot that positions content at the end of the header. Useful for actions or additional info.",
1963
+ "name": "header-end"
2082
1964
  },
2083
1965
  {
2084
- "kind": "method",
2085
- "name": "handleChange",
2086
- "privacy": "protected",
2087
- "parameters": [
2088
- {
2089
- "name": "e",
2090
- "type": {
2091
- "text": "Event"
2092
- }
2093
- }
2094
- ],
2095
- "return": {
2096
- "type": {
2097
- "text": "void"
2098
- }
2099
- },
2100
- "inheritedFrom": {
2101
- "name": "FormAssociatedMixin",
2102
- "module": "src/common/mixins/FormAssociatedMixin.ts"
2103
- }
2104
- },
1966
+ "description": "Optional slot that holds footer content for the card.",
1967
+ "name": "footer"
1968
+ }
1969
+ ],
1970
+ "members": [
2105
1971
  {
2106
1972
  "kind": "field",
2107
- "name": "size",
2108
- "type": {
2109
- "text": "\"s\" | \"m\" | \"l\""
2110
- },
2111
- "default": "\"m\"",
2112
- "description": "The size of the component.",
2113
- "attribute": "size",
2114
- "reflects": true,
2115
- "inheritedFrom": {
2116
- "name": "SizeMixin",
2117
- "module": "src/common/mixins/SizeMixin.ts"
2118
- }
1973
+ "name": "headerSlot",
1974
+ "privacy": "private",
1975
+ "default": "new SlotController(this, \"header\")"
2119
1976
  },
2120
1977
  {
2121
1978
  "kind": "field",
2122
- "name": "labelSlot",
2123
- "privacy": "protected",
2124
- "default": "new SlotController(this, \"label\")",
2125
- "inheritedFrom": {
2126
- "name": "FormAssociatedMixin",
2127
- "module": "src/common/mixins/FormAssociatedMixin.ts"
2128
- }
1979
+ "name": "headerEndSlot",
1980
+ "privacy": "private",
1981
+ "default": "new SlotController(this, \"header-end\")"
2129
1982
  },
2130
1983
  {
2131
1984
  "kind": "field",
2132
- "name": "errorSlot",
2133
- "privacy": "protected",
2134
- "default": "new SlotController(this, \"error\")",
2135
- "inheritedFrom": {
2136
- "name": "FormAssociatedMixin",
2137
- "module": "src/common/mixins/FormAssociatedMixin.ts"
2138
- }
1985
+ "name": "footerSlot",
1986
+ "privacy": "private",
1987
+ "default": "new SlotController(this, \"footer\")"
2139
1988
  },
2140
1989
  {
2141
1990
  "kind": "field",
2142
- "name": "hintSlot",
2143
- "privacy": "protected",
2144
- "default": "new SlotController(this, \"hint\")",
2145
- "inheritedFrom": {
2146
- "name": "FormAssociatedMixin",
2147
- "module": "src/common/mixins/FormAssociatedMixin.ts"
2148
- }
2149
- },
1991
+ "name": "padding",
1992
+ "type": {
1993
+ "text": "\"m\" | \"l\" | \"none\""
1994
+ },
1995
+ "default": "\"m\"",
1996
+ "description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
1997
+ "attribute": "padding",
1998
+ "reflects": true
1999
+ }
2000
+ ],
2001
+ "attributes": [
2150
2002
  {
2151
- "kind": "field",
2003
+ "name": "padding",
2004
+ "type": {
2005
+ "text": "\"m\" | \"l\" | \"none\""
2006
+ },
2007
+ "default": "\"m\"",
2008
+ "description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
2009
+ "fieldName": "padding"
2010
+ }
2011
+ ],
2012
+ "superclass": {
2013
+ "name": "LitElement",
2014
+ "package": "lit"
2015
+ },
2016
+ "localization": [],
2017
+ "status": "ready",
2018
+ "category": "structure",
2019
+ "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",
2020
+ "examples": [],
2021
+ "dependencies": [],
2022
+ "tagName": "nord-card",
2023
+ "customElement": true
2024
+ }
2025
+ ],
2026
+ "exports": [
2027
+ {
2028
+ "kind": "js",
2029
+ "name": "default",
2030
+ "declaration": {
2031
+ "name": "Card",
2032
+ "module": "src/card/Card.ts"
2033
+ }
2034
+ },
2035
+ {
2036
+ "kind": "custom-element-definition",
2037
+ "name": "nord-card",
2038
+ "declaration": {
2039
+ "name": "Card",
2040
+ "module": "src/card/Card.ts"
2041
+ }
2042
+ }
2043
+ ]
2044
+ },
2045
+ {
2046
+ "kind": "javascript-module",
2047
+ "path": "src/badge/Badge.ts",
2048
+ "declarations": [
2049
+ {
2050
+ "kind": "class",
2051
+ "description": "Badges are used to inform users of the status of an object\nor of an action that’s been taken. Commonly used in tabular\ndata to indicate status.",
2052
+ "name": "Badge",
2053
+ "slots": [
2054
+ {
2055
+ "description": "The badge content.",
2056
+ "name": ""
2057
+ },
2058
+ {
2059
+ "description": "Used to place an icon at the start of badge.",
2060
+ "name": "icon"
2061
+ }
2062
+ ],
2063
+ "members": [
2064
+ {
2065
+ "kind": "field",
2066
+ "name": "type",
2067
+ "type": {
2068
+ "text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | \"neutral\" | \"progress\" | undefined"
2069
+ },
2070
+ "description": "The type of badge.\nDetermines the background color of the badge.",
2071
+ "deprecated": "Use `variant` instead. If you previously used `\"progress\"`, use `\"info\"` instead.",
2072
+ "attribute": "type",
2073
+ "reflects": true
2074
+ },
2075
+ {
2076
+ "kind": "field",
2077
+ "name": "variant",
2078
+ "type": {
2079
+ "text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"neutral\" | \"info\" | undefined"
2080
+ },
2081
+ "description": "The style variant of the badge.\nDetermines the background color of the badge.",
2082
+ "attribute": "variant",
2083
+ "reflects": true
2084
+ },
2085
+ {
2086
+ "kind": "field",
2087
+ "name": "strong",
2088
+ "type": {
2089
+ "text": "boolean"
2090
+ },
2091
+ "default": "false",
2092
+ "description": "Strong badges are a secondary style for badges.\nThey provide more visual prominence and emphasize them.",
2093
+ "attribute": "strong",
2094
+ "reflects": true
2095
+ }
2096
+ ],
2097
+ "attributes": [
2098
+ {
2099
+ "name": "type",
2100
+ "type": {
2101
+ "text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"info\" | \"neutral\" | \"progress\" | undefined"
2102
+ },
2103
+ "description": "The type of badge.\nDetermines the background color of the badge.",
2104
+ "deprecated": "Use `variant` instead. If you previously used `\"progress\"`, use `\"info\"` instead.",
2105
+ "fieldName": "type"
2106
+ },
2107
+ {
2108
+ "name": "variant",
2109
+ "type": {
2110
+ "text": "\"warning\" | \"success\" | \"danger\" | \"highlight\" | \"neutral\" | \"info\" | undefined"
2111
+ },
2112
+ "description": "The style variant of the badge.\nDetermines the background color of the badge.",
2113
+ "fieldName": "variant"
2114
+ },
2115
+ {
2116
+ "name": "strong",
2117
+ "type": {
2118
+ "text": "boolean"
2119
+ },
2120
+ "default": "false",
2121
+ "description": "Strong badges are a secondary style for badges.\nThey provide more visual prominence and emphasize them.",
2122
+ "fieldName": "strong"
2123
+ }
2124
+ ],
2125
+ "superclass": {
2126
+ "name": "LitElement",
2127
+ "package": "lit"
2128
+ },
2129
+ "localization": [],
2130
+ "status": "ready",
2131
+ "category": "text",
2132
+ "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 established variants and color patterns so that users can clearly identify the importance level.\n- Use to show a status update on a piece of information or action.\n- Use to mark something as a “draft” or “new”.\n- Use when you want to highlight something that has been added recently.\n- Always position badge so that it’s clear to understand what object it’s related to.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t make badges clickable. Instead use button component’s small variant.\n- Don’t use alternatives to existing badge variants.\n\n</div>\n\n---\n\n## Content guidelines\n\nBadge labels should use a single word to describe the status of an object. Only use two words if you need to describe a complex state:\n\n<div class=\"n-usage n-usage-do\">Complete</div>\n<div class=\"n-usage n-usage-dont\">Action completed</div>\n\nWhen writing badge 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\">Partially refunded</div>\n<div class=\"n-usage n-usage-dont\">Partially Refunded</div>\n\nAvoid unnecessary words and articles in badge labels, such as “is”, “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Pending</div>\n<div class=\"n-usage n-usage-dont\">Item is pending</div>\n\nAlways describe the status in the past tense:\n\n<div class=\"n-usage n-usage-do\">Refunded</div>\n<div class=\"n-usage n-usage-dont\">Refund</div>\n\n---\n\n## Variants\n\nThis section describes the different component variants, their purpose, and when to use each variant.\n\n| Name | Purpose |\n| ----------- | --------------------------------------------------------------------------------------------------------------------------------------- |\n| `neutral` | The default style variant. |\n| `info` | Used to convey general information that isn’t critical. |\n| `success` | Used to convey success states. For example, you might want to show a badge that tells the user a payment was successful. |\n| `highlight` | Used to highlight specific items in the interface, like notifications. |\n| `danger` | Used to communicate problems that have to be resolved so that user can continue forward. Should always be used for highlighting errors. |\n| `warning` | Used to display information that needs a user’s attention attention and may require further steps. |\n| `progress` | Used to convey something that’s in progress. |\n",
2133
+ "examples": [],
2134
+ "dependencies": [],
2135
+ "tagName": "nord-badge",
2136
+ "customElement": true
2137
+ }
2138
+ ],
2139
+ "exports": [
2140
+ {
2141
+ "kind": "js",
2142
+ "name": "default",
2143
+ "declaration": {
2144
+ "name": "Badge",
2145
+ "module": "src/badge/Badge.ts"
2146
+ }
2147
+ },
2148
+ {
2149
+ "kind": "custom-element-definition",
2150
+ "name": "nord-badge",
2151
+ "declaration": {
2152
+ "name": "Badge",
2153
+ "module": "src/badge/Badge.ts"
2154
+ }
2155
+ }
2156
+ ]
2157
+ },
2158
+ {
2159
+ "kind": "javascript-module",
2160
+ "path": "src/checkbox/Checkbox.ts",
2161
+ "declarations": [
2162
+ {
2163
+ "kind": "class",
2164
+ "description": "Checkboxes allow user to choose one or more options from a limited set of options.\nIf you have more than 10 options, please use Select component instead.",
2165
+ "name": "Checkbox",
2166
+ "slots": [
2167
+ {
2168
+ "description": "Use when a label requires more than plain text.",
2169
+ "name": "label"
2170
+ },
2171
+ {
2172
+ "description": "Optional slot that holds hint text for the input.",
2173
+ "name": "hint"
2174
+ },
2175
+ {
2176
+ "description": "Optional slot that holds error text for the input.",
2177
+ "name": "error"
2178
+ }
2179
+ ],
2180
+ "members": [
2181
+ {
2182
+ "kind": "field",
2183
+ "name": "formValue",
2184
+ "privacy": "protected",
2185
+ "readonly": true,
2186
+ "inheritedFrom": {
2187
+ "name": "FormAssociatedMixin",
2188
+ "module": "src/common/mixins/FormAssociatedMixin.ts"
2189
+ }
2190
+ },
2191
+ {
2192
+ "kind": "field",
2193
+ "name": "indeterminate",
2194
+ "type": {
2195
+ "text": "boolean"
2196
+ },
2197
+ "default": "false",
2198
+ "description": "Controls whether the checkbox is in an indeterminate state.",
2199
+ "attribute": "indeterminate"
2200
+ },
2201
+ {
2202
+ "kind": "field",
2203
+ "name": "checked",
2204
+ "type": {
2205
+ "text": "boolean"
2206
+ },
2207
+ "default": "false",
2208
+ "description": "Controls whether the checkbox is checked or not.",
2209
+ "attribute": "checked"
2210
+ },
2211
+ {
2212
+ "kind": "method",
2213
+ "name": "handleChange",
2214
+ "privacy": "protected",
2215
+ "parameters": [
2216
+ {
2217
+ "name": "e",
2218
+ "type": {
2219
+ "text": "Event"
2220
+ }
2221
+ }
2222
+ ],
2223
+ "return": {
2224
+ "type": {
2225
+ "text": "void"
2226
+ }
2227
+ },
2228
+ "inheritedFrom": {
2229
+ "name": "FormAssociatedMixin",
2230
+ "module": "src/common/mixins/FormAssociatedMixin.ts"
2231
+ }
2232
+ },
2233
+ {
2234
+ "kind": "field",
2235
+ "name": "size",
2236
+ "type": {
2237
+ "text": "\"s\" | \"m\" | \"l\""
2238
+ },
2239
+ "default": "\"m\"",
2240
+ "description": "The size of the component.",
2241
+ "attribute": "size",
2242
+ "reflects": true,
2243
+ "inheritedFrom": {
2244
+ "name": "SizeMixin",
2245
+ "module": "src/common/mixins/SizeMixin.ts"
2246
+ }
2247
+ },
2248
+ {
2249
+ "kind": "field",
2250
+ "name": "labelSlot",
2251
+ "privacy": "protected",
2252
+ "default": "new SlotController(this, \"label\")",
2253
+ "inheritedFrom": {
2254
+ "name": "FormAssociatedMixin",
2255
+ "module": "src/common/mixins/FormAssociatedMixin.ts"
2256
+ }
2257
+ },
2258
+ {
2259
+ "kind": "field",
2260
+ "name": "errorSlot",
2261
+ "privacy": "protected",
2262
+ "default": "new SlotController(this, \"error\")",
2263
+ "inheritedFrom": {
2264
+ "name": "FormAssociatedMixin",
2265
+ "module": "src/common/mixins/FormAssociatedMixin.ts"
2266
+ }
2267
+ },
2268
+ {
2269
+ "kind": "field",
2270
+ "name": "hintSlot",
2271
+ "privacy": "protected",
2272
+ "default": "new SlotController(this, \"hint\")",
2273
+ "inheritedFrom": {
2274
+ "name": "FormAssociatedMixin",
2275
+ "module": "src/common/mixins/FormAssociatedMixin.ts"
2276
+ }
2277
+ },
2278
+ {
2279
+ "kind": "field",
2152
2280
  "name": "formData",
2153
2281
  "privacy": "protected",
2154
2282
  "default": "new FormDataController(this, { value: () => this.formValue })",
@@ -2695,161 +2823,38 @@
2695
2823
  },
2696
2824
  "localization": [],
2697
2825
  "status": "ready",
2698
- "category": "form",
2699
- "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 making it possible to choose one or more options from a limited number of options.\n- Use for “accepting terms of service” and similar functionality.\n- Use in forms to toggle something on or off.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Avoid using when you have more than 10 options to choose from.\n- Don’t change the selection of another checkbox when another one is clicked. Only exception is when a checkbox is used to make a bulk selection of multiple items.\n\n</div>\n\n---\n\n## Content guidelines\n\nCheckbox labels should be clear, accurate and predictable. It should be possible for the user to understand what they are selecting:\n\n<div class=\"n-usage n-usage-do\">User settings</div>\n<div class=\"n-usage n-usage-dont\">Option 1</div>\n\nWhen writing checkbox 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\">User settings</div>\n<div class=\"n-usage n-usage-dont\">User Settings</div>\n\nAvoid ending in punctuation if it’s a single sentence, word, or a fragment:\n\n<div class=\"n-usage n-usage-do\">Show dashboard</div>\n<div class=\"n-usage n-usage-dont\">Show dashboard.</div>\n\nDo not use commas or semicolons at the end of each line\n\n<div class=\"n-usage n-usage-do\">Patients</div>\n<div class=\"n-usage n-usage-dont\">Patients;</div>\n",
2700
- "examples": [],
2701
- "dependencies": [
2702
- "icon"
2703
- ],
2704
- "tagName": "nord-checkbox",
2705
- "customElement": true,
2706
- "events": [
2707
- {
2708
- "name": "input",
2709
- "type": {
2710
- "text": "NordEvent"
2711
- },
2712
- "description": "Fired as the user types into the input.",
2713
- "inheritedFrom": {
2714
- "name": "FormAssociatedMixin",
2715
- "module": "src/common/mixins/FormAssociatedMixin.ts"
2716
- }
2717
- },
2718
- {
2719
- "name": "change",
2720
- "type": {
2721
- "text": "NordEvent"
2722
- },
2723
- "description": "Fired whenever the input's value is changed via user interaction.",
2724
- "inheritedFrom": {
2725
- "name": "FormAssociatedMixin",
2726
- "module": "src/common/mixins/FormAssociatedMixin.ts"
2727
- }
2728
- }
2729
- ]
2730
- }
2731
- ],
2732
- "exports": [
2733
- {
2734
- "kind": "js",
2735
- "name": "default",
2736
- "declaration": {
2737
- "name": "Checkbox",
2738
- "module": "src/checkbox/Checkbox.ts"
2739
- }
2740
- },
2741
- {
2742
- "kind": "custom-element-definition",
2743
- "name": "nord-checkbox",
2744
- "declaration": {
2745
- "name": "Checkbox",
2746
- "module": "src/checkbox/Checkbox.ts"
2747
- }
2748
- }
2749
- ]
2750
- },
2751
- {
2752
- "kind": "javascript-module",
2753
- "path": "src/card/Card.ts",
2754
- "declarations": [
2755
- {
2756
- "kind": "class",
2757
- "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.",
2758
- "name": "Card",
2759
- "cssProperties": [
2760
- {
2761
- "description": "Controls how rounded the corners are, using [border radius tokens](/tokens/#border-radius).",
2762
- "name": "--n-card-border-radius",
2763
- "default": "var(--n-border-radius)"
2764
- },
2765
- {
2766
- "description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow).",
2767
- "name": "--n-card-box-shadow",
2768
- "default": "var(--n-box-shadow-popout)"
2769
- },
2770
- {
2771
- "description": "Controls the padding on all sides of the card.",
2772
- "name": "--n-card-padding",
2773
- "default": "var(--n-space-m)"
2774
- },
2775
- {
2776
- "description": "Controls the padding of items slotted within the card. This does not affect the block padding of items slotted into the header.",
2777
- "name": "--n-card-slot-padding",
2778
- "default": "var(--n-space-m)"
2779
- }
2780
- ],
2781
- "slots": [
2782
- {
2783
- "description": "The card content.",
2784
- "name": ""
2785
- },
2786
- {
2787
- "description": "Optional slot that holds a header for the card.",
2788
- "name": "header"
2789
- },
2790
- {
2791
- "description": "Optional slot that positions content at the end of the header. Useful for actions or additional info.",
2792
- "name": "header-end"
2793
- },
2794
- {
2795
- "description": "Optional slot that holds footer content for the card.",
2796
- "name": "footer"
2797
- }
2798
- ],
2799
- "members": [
2800
- {
2801
- "kind": "field",
2802
- "name": "headerSlot",
2803
- "privacy": "private",
2804
- "default": "new SlotController(this, \"header\")"
2805
- },
2806
- {
2807
- "kind": "field",
2808
- "name": "headerEndSlot",
2809
- "privacy": "private",
2810
- "default": "new SlotController(this, \"header-end\")"
2811
- },
2812
- {
2813
- "kind": "field",
2814
- "name": "footerSlot",
2815
- "privacy": "private",
2816
- "default": "new SlotController(this, \"footer\")"
2817
- },
2818
- {
2819
- "kind": "field",
2820
- "name": "padding",
2821
- "type": {
2822
- "text": "\"m\" | \"l\" | \"none\""
2823
- },
2824
- "default": "\"m\"",
2825
- "description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
2826
- "attribute": "padding",
2827
- "reflects": true
2828
- }
2829
- ],
2830
- "attributes": [
2831
- {
2832
- "name": "padding",
2833
- "type": {
2834
- "text": "\"m\" | \"l\" | \"none\""
2835
- },
2836
- "default": "\"m\"",
2837
- "description": "Controls the padding of the card component. When set to “none”,\nthe header and footer slots will still have padding.",
2838
- "fieldName": "padding"
2839
- }
2840
- ],
2841
- "superclass": {
2842
- "name": "LitElement",
2843
- "package": "lit"
2844
- },
2845
- "localization": [],
2846
- "status": "ready",
2847
- "category": "structure",
2848
- "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",
2826
+ "category": "form",
2827
+ "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 making it possible to choose one or more options from a limited number of options.\n- Use for “accepting terms of service” and similar functionality.\n- Use in forms to toggle something on or off.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Avoid using when you have more than 10 options to choose from.\n- Don’t change the selection of another checkbox when another one is clicked. Only exception is when a checkbox is used to make a bulk selection of multiple items.\n\n</div>\n\n---\n\n## Content guidelines\n\nCheckbox labels should be clear, accurate and predictable. It should be possible for the user to understand what they are selecting:\n\n<div class=\"n-usage n-usage-do\">User settings</div>\n<div class=\"n-usage n-usage-dont\">Option 1</div>\n\nWhen writing checkbox 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\">User settings</div>\n<div class=\"n-usage n-usage-dont\">User Settings</div>\n\nAvoid ending in punctuation if it’s a single sentence, word, or a fragment:\n\n<div class=\"n-usage n-usage-do\">Show dashboard</div>\n<div class=\"n-usage n-usage-dont\">Show dashboard.</div>\n\nDo not use commas or semicolons at the end of each line\n\n<div class=\"n-usage n-usage-do\">Patients</div>\n<div class=\"n-usage n-usage-dont\">Patients;</div>\n",
2849
2828
  "examples": [],
2850
- "dependencies": [],
2851
- "tagName": "nord-card",
2852
- "customElement": true
2829
+ "dependencies": [
2830
+ "icon"
2831
+ ],
2832
+ "tagName": "nord-checkbox",
2833
+ "customElement": true,
2834
+ "events": [
2835
+ {
2836
+ "name": "input",
2837
+ "type": {
2838
+ "text": "NordEvent"
2839
+ },
2840
+ "description": "Fired as the user types into the input.",
2841
+ "inheritedFrom": {
2842
+ "name": "FormAssociatedMixin",
2843
+ "module": "src/common/mixins/FormAssociatedMixin.ts"
2844
+ }
2845
+ },
2846
+ {
2847
+ "name": "change",
2848
+ "type": {
2849
+ "text": "NordEvent"
2850
+ },
2851
+ "description": "Fired whenever the input's value is changed via user interaction.",
2852
+ "inheritedFrom": {
2853
+ "name": "FormAssociatedMixin",
2854
+ "module": "src/common/mixins/FormAssociatedMixin.ts"
2855
+ }
2856
+ }
2857
+ ]
2853
2858
  }
2854
2859
  ],
2855
2860
  "exports": [
@@ -2857,16 +2862,16 @@
2857
2862
  "kind": "js",
2858
2863
  "name": "default",
2859
2864
  "declaration": {
2860
- "name": "Card",
2861
- "module": "src/card/Card.ts"
2865
+ "name": "Checkbox",
2866
+ "module": "src/checkbox/Checkbox.ts"
2862
2867
  }
2863
2868
  },
2864
2869
  {
2865
2870
  "kind": "custom-element-definition",
2866
- "name": "nord-card",
2871
+ "name": "nord-checkbox",
2867
2872
  "declaration": {
2868
- "name": "Card",
2869
- "module": "src/card/Card.ts"
2873
+ "name": "Checkbox",
2874
+ "module": "src/checkbox/Checkbox.ts"
2870
2875
  }
2871
2876
  }
2872
2877
  ]
@@ -5956,6 +5961,74 @@
5956
5961
  }
5957
5962
  ]
5958
5963
  },
5964
+ {
5965
+ "kind": "javascript-module",
5966
+ "path": "src/dropdown-group/DropdownGroup.ts",
5967
+ "declarations": [
5968
+ {
5969
+ "kind": "class",
5970
+ "description": "Dropdown group includes all the actions or items in a single dropdown\ngroup and is used for grouping items into related categories.",
5971
+ "name": "DropdownGroup",
5972
+ "slots": [
5973
+ {
5974
+ "description": "The dropdown group content.",
5975
+ "name": ""
5976
+ }
5977
+ ],
5978
+ "members": [
5979
+ {
5980
+ "kind": "field",
5981
+ "name": "heading",
5982
+ "type": {
5983
+ "text": "string | undefined"
5984
+ },
5985
+ "description": "Heading and accessible label for the dropdown group.",
5986
+ "attribute": "heading"
5987
+ }
5988
+ ],
5989
+ "attributes": [
5990
+ {
5991
+ "name": "heading",
5992
+ "type": {
5993
+ "text": "string | undefined"
5994
+ },
5995
+ "description": "Heading and accessible label for the dropdown group.",
5996
+ "fieldName": "heading"
5997
+ }
5998
+ ],
5999
+ "superclass": {
6000
+ "name": "LitElement",
6001
+ "package": "lit"
6002
+ },
6003
+ "localization": [],
6004
+ "status": "ready",
6005
+ "category": "action",
6006
+ "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- Group dropdown items into dropdown groups based on related categories.\n- Use group headings to clarify the category of a section.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for grouping other types of content.\n\n</div>\n\n---\n\n## Content guidelines\n\nDropdown items should be always written 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\">Create user</div>\n<div class=\"n-usage n-usage-dont\">Create User</div>\n\nDropdown items should always lead with a strong verb that encourages action. Use the `{verb}+{noun}` format except in the case of common actions like Save, Close or Cancel:\n\n<div class=\"n-usage n-usage-do\">Edit row</div>\n<div class=\"n-usage n-usage-dont\">Editing options</div>\n\nAvoid unnecessary words and articles in dropdown items, 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 dropdown items 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\nAvoid all caps for dropdown items:\n\n<div class=\"n-usage n-usage-do\">Rename</div>\n<div class=\"n-usage n-usage-dont\">RENAME</div>\n\nKeep dropdown items to a single line of text:\n\n<div class=\"n-usage n-usage-do\">Change theme</div>\n<div class=\"n-usage n-usage-dont\">Change the theme<br/>of the veterinary application.</div>\n",
6007
+ "examples": [],
6008
+ "dependencies": [],
6009
+ "tagName": "nord-dropdown-group",
6010
+ "customElement": true
6011
+ }
6012
+ ],
6013
+ "exports": [
6014
+ {
6015
+ "kind": "js",
6016
+ "name": "default",
6017
+ "declaration": {
6018
+ "name": "DropdownGroup",
6019
+ "module": "src/dropdown-group/DropdownGroup.ts"
6020
+ }
6021
+ },
6022
+ {
6023
+ "kind": "custom-element-definition",
6024
+ "name": "nord-dropdown-group",
6025
+ "declaration": {
6026
+ "name": "DropdownGroup",
6027
+ "module": "src/dropdown-group/DropdownGroup.ts"
6028
+ }
6029
+ }
6030
+ ]
6031
+ },
5959
6032
  {
5960
6033
  "kind": "javascript-module",
5961
6034
  "path": "src/drawer/Drawer.ts",
@@ -6336,74 +6409,6 @@
6336
6409
  }
6337
6410
  ]
6338
6411
  },
6339
- {
6340
- "kind": "javascript-module",
6341
- "path": "src/dropdown-group/DropdownGroup.ts",
6342
- "declarations": [
6343
- {
6344
- "kind": "class",
6345
- "description": "Dropdown group includes all the actions or items in a single dropdown\ngroup and is used for grouping items into related categories.",
6346
- "name": "DropdownGroup",
6347
- "slots": [
6348
- {
6349
- "description": "The dropdown group content.",
6350
- "name": ""
6351
- }
6352
- ],
6353
- "members": [
6354
- {
6355
- "kind": "field",
6356
- "name": "heading",
6357
- "type": {
6358
- "text": "string | undefined"
6359
- },
6360
- "description": "Heading and accessible label for the dropdown group.",
6361
- "attribute": "heading"
6362
- }
6363
- ],
6364
- "attributes": [
6365
- {
6366
- "name": "heading",
6367
- "type": {
6368
- "text": "string | undefined"
6369
- },
6370
- "description": "Heading and accessible label for the dropdown group.",
6371
- "fieldName": "heading"
6372
- }
6373
- ],
6374
- "superclass": {
6375
- "name": "LitElement",
6376
- "package": "lit"
6377
- },
6378
- "localization": [],
6379
- "status": "ready",
6380
- "category": "action",
6381
- "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- Group dropdown items into dropdown groups based on related categories.\n- Use group headings to clarify the category of a section.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for grouping other types of content.\n\n</div>\n\n---\n\n## Content guidelines\n\nDropdown items should be always written 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\">Create user</div>\n<div class=\"n-usage n-usage-dont\">Create User</div>\n\nDropdown items should always lead with a strong verb that encourages action. Use the `{verb}+{noun}` format except in the case of common actions like Save, Close or Cancel:\n\n<div class=\"n-usage n-usage-do\">Edit row</div>\n<div class=\"n-usage n-usage-dont\">Editing options</div>\n\nAvoid unnecessary words and articles in dropdown items, 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 dropdown items 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\nAvoid all caps for dropdown items:\n\n<div class=\"n-usage n-usage-do\">Rename</div>\n<div class=\"n-usage n-usage-dont\">RENAME</div>\n\nKeep dropdown items to a single line of text:\n\n<div class=\"n-usage n-usage-do\">Change theme</div>\n<div class=\"n-usage n-usage-dont\">Change the theme<br/>of the veterinary application.</div>\n",
6382
- "examples": [],
6383
- "dependencies": [],
6384
- "tagName": "nord-dropdown-group",
6385
- "customElement": true
6386
- }
6387
- ],
6388
- "exports": [
6389
- {
6390
- "kind": "js",
6391
- "name": "default",
6392
- "declaration": {
6393
- "name": "DropdownGroup",
6394
- "module": "src/dropdown-group/DropdownGroup.ts"
6395
- }
6396
- },
6397
- {
6398
- "kind": "custom-element-definition",
6399
- "name": "nord-dropdown-group",
6400
- "declaration": {
6401
- "name": "DropdownGroup",
6402
- "module": "src/dropdown-group/DropdownGroup.ts"
6403
- }
6404
- }
6405
- ]
6406
- },
6407
6412
  {
6408
6413
  "kind": "javascript-module",
6409
6414
  "path": "src/dropdown-item/DropdownItem.ts",
@@ -6566,18 +6571,99 @@
6566
6571
  "name": ""
6567
6572
  }
6568
6573
  ],
6569
- "members": [],
6574
+ "members": [],
6575
+ "superclass": {
6576
+ "name": "LitElement",
6577
+ "package": "lit"
6578
+ },
6579
+ "localization": [],
6580
+ "status": "ready",
6581
+ "category": "feedback",
6582
+ "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 when another component or part of UI has no items or data to show.\n- Help users by clearly explaining the benefit and utility of a product or feature.\n- Be encouraging and never make users feel unsuccessful or guilty.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use as a generic banner to highlight specific content.\n\n</div>\n\n---\n\n## Content guidelines\n\nEmpty state headings should state to the user what’s wrong or why there’s no content:\n\n<div class=\"n-usage n-usage-do\">No results found</div>\n<div class=\"n-usage n-usage-dont\">Error</div>\n\nWhen writing empty state headings, 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\">You don’t have access to this content</div>\n<div class=\"n-usage n-usage-dont\">You Don’t Have Access To This Content</div>\n\nDescriptions in empty states should add useful and relevant additional information:\n\n<div class=\"n-usage n-usage-do\">We were unable to connect to the service. Click Retry to try again or View log to learn what happened.</div>\n<div class=\"n-usage n-usage-dont\">No connection.</div>\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\">Clear filters</div>\n<div class=\"n-usage n-usage-dont\">Clear</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\">View log</div>\n<div class=\"n-usage n-usage-dont\">View Log</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\">Request access</div>\n<div class=\"n-usage n-usage-dont\">Request an access</div>\n",
6583
+ "examples": [],
6584
+ "dependencies": [],
6585
+ "tagName": "nord-empty-state",
6586
+ "customElement": true
6587
+ }
6588
+ ],
6589
+ "exports": [
6590
+ {
6591
+ "kind": "js",
6592
+ "name": "default",
6593
+ "declaration": {
6594
+ "name": "EmptyState",
6595
+ "module": "src/empty-state/EmptyState.ts"
6596
+ }
6597
+ },
6598
+ {
6599
+ "kind": "custom-element-definition",
6600
+ "name": "nord-empty-state",
6601
+ "declaration": {
6602
+ "name": "EmptyState",
6603
+ "module": "src/empty-state/EmptyState.ts"
6604
+ }
6605
+ }
6606
+ ]
6607
+ },
6608
+ {
6609
+ "kind": "javascript-module",
6610
+ "path": "src/header/Header.ts",
6611
+ "declarations": [
6612
+ {
6613
+ "kind": "class",
6614
+ "description": "The header is a block of designated space for labelling the currently\nviewed context as well as providing primary actions.",
6615
+ "name": "Header",
6616
+ "slots": [
6617
+ {
6618
+ "description": "The header content.",
6619
+ "name": ""
6620
+ },
6621
+ {
6622
+ "description": "Optional slot for buttons, toggles, etc.",
6623
+ "name": "end"
6624
+ }
6625
+ ],
6626
+ "members": [
6627
+ {
6628
+ "kind": "field",
6629
+ "name": "endSlot",
6630
+ "privacy": "private",
6631
+ "default": "new SlotController(this, \"end\")"
6632
+ },
6633
+ {
6634
+ "kind": "field",
6635
+ "name": "size",
6636
+ "type": {
6637
+ "text": "\"m\" | \"s\""
6638
+ },
6639
+ "default": "\"m\"",
6640
+ "description": "Controls the size of the header component.",
6641
+ "attribute": "size",
6642
+ "reflects": true
6643
+ }
6644
+ ],
6645
+ "attributes": [
6646
+ {
6647
+ "name": "size",
6648
+ "type": {
6649
+ "text": "\"m\" | \"s\""
6650
+ },
6651
+ "default": "\"m\"",
6652
+ "description": "Controls the size of the header component.",
6653
+ "fieldName": "size"
6654
+ }
6655
+ ],
6570
6656
  "superclass": {
6571
6657
  "name": "LitElement",
6572
6658
  "package": "lit"
6573
6659
  },
6574
6660
  "localization": [],
6575
6661
  "status": "ready",
6576
- "category": "feedback",
6577
- "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 when another component or part of UI has no items or data to show.\n- Help users by clearly explaining the benefit and utility of a product or feature.\n- Be encouraging and never make users feel unsuccessful or guilty.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use as a generic banner to highlight specific content.\n\n</div>\n\n---\n\n## Content guidelines\n\nEmpty state headings should state to the user what’s wrong or why there’s no content:\n\n<div class=\"n-usage n-usage-do\">No results found</div>\n<div class=\"n-usage n-usage-dont\">Error</div>\n\nWhen writing empty state headings, 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\">You don’t have access to this content</div>\n<div class=\"n-usage n-usage-dont\">You Don’t Have Access To This Content</div>\n\nDescriptions in empty states should add useful and relevant additional information:\n\n<div class=\"n-usage n-usage-do\">We were unable to connect to the service. Click Retry to try again or View log to learn what happened.</div>\n<div class=\"n-usage n-usage-dont\">No connection.</div>\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\">Clear filters</div>\n<div class=\"n-usage n-usage-dont\">Clear</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\">View log</div>\n<div class=\"n-usage n-usage-dont\">View Log</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\">Request access</div>\n<div class=\"n-usage n-usage-dont\">Request an access</div>\n",
6662
+ "category": "structure",
6663
+ "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 header component to show a heading to describe the current view.\n- Use the header component to hold primary actions.\n- Use the header component at a visual high position at full width.\n- Utilise the [`n-truncate`](/css/#miscellaneous-utilities) CSS helper to prevent long headings from wrapping.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t overcrowd the header component with too many actions or information.\n- Don’t nest the header component too deeply and restrict its available space.\n- Don’t add large amounts of content or long headings. Aim for headings that are short and concise.\n\n</div>\n\n---\n\n## Content guidelines\n\nThe header component should be a containing element placed high on the page to present high level controls and to describe the page itself. It shouldn’t be overcrowded with controls or information.\n\n<div class=\"n-usage n-usage-do\">[Menu] Dashboard [Account] [Log out]</div>\n<div class=\"n-usage n-usage-dont\">[Menu] Use the cards below to view various information [Export] [Save] [Edit Profile] [Log out] [Preferences]</div>\n",
6578
6664
  "examples": [],
6579
6665
  "dependencies": [],
6580
- "tagName": "nord-empty-state",
6666
+ "tagName": "nord-header",
6581
6667
  "customElement": true
6582
6668
  }
6583
6669
  ],
@@ -6586,16 +6672,16 @@
6586
6672
  "kind": "js",
6587
6673
  "name": "default",
6588
6674
  "declaration": {
6589
- "name": "EmptyState",
6590
- "module": "src/empty-state/EmptyState.ts"
6675
+ "name": "Header",
6676
+ "module": "src/header/Header.ts"
6591
6677
  }
6592
6678
  },
6593
6679
  {
6594
6680
  "kind": "custom-element-definition",
6595
- "name": "nord-empty-state",
6681
+ "name": "nord-header",
6596
6682
  "declaration": {
6597
- "name": "EmptyState",
6598
- "module": "src/empty-state/EmptyState.ts"
6683
+ "name": "Header",
6684
+ "module": "src/header/Header.ts"
6599
6685
  }
6600
6686
  }
6601
6687
  ]
@@ -6793,87 +6879,6 @@
6793
6879
  }
6794
6880
  ]
6795
6881
  },
6796
- {
6797
- "kind": "javascript-module",
6798
- "path": "src/header/Header.ts",
6799
- "declarations": [
6800
- {
6801
- "kind": "class",
6802
- "description": "The header is a block of designated space for labelling the currently\nviewed context as well as providing primary actions.",
6803
- "name": "Header",
6804
- "slots": [
6805
- {
6806
- "description": "The header content.",
6807
- "name": ""
6808
- },
6809
- {
6810
- "description": "Optional slot for buttons, toggles, etc.",
6811
- "name": "end"
6812
- }
6813
- ],
6814
- "members": [
6815
- {
6816
- "kind": "field",
6817
- "name": "endSlot",
6818
- "privacy": "private",
6819
- "default": "new SlotController(this, \"end\")"
6820
- },
6821
- {
6822
- "kind": "field",
6823
- "name": "size",
6824
- "type": {
6825
- "text": "\"m\" | \"s\""
6826
- },
6827
- "default": "\"m\"",
6828
- "description": "Controls the size of the header component.",
6829
- "attribute": "size",
6830
- "reflects": true
6831
- }
6832
- ],
6833
- "attributes": [
6834
- {
6835
- "name": "size",
6836
- "type": {
6837
- "text": "\"m\" | \"s\""
6838
- },
6839
- "default": "\"m\"",
6840
- "description": "Controls the size of the header component.",
6841
- "fieldName": "size"
6842
- }
6843
- ],
6844
- "superclass": {
6845
- "name": "LitElement",
6846
- "package": "lit"
6847
- },
6848
- "localization": [],
6849
- "status": "ready",
6850
- "category": "structure",
6851
- "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 header component to show a heading to describe the current view.\n- Use the header component to hold primary actions.\n- Use the header component at a visual high position at full width.\n- Utilise the [`n-truncate`](/css/#miscellaneous-utilities) CSS helper to prevent long headings from wrapping.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t overcrowd the header component with too many actions or information.\n- Don’t nest the header component too deeply and restrict its available space.\n- Don’t add large amounts of content or long headings. Aim for headings that are short and concise.\n\n</div>\n\n---\n\n## Content guidelines\n\nThe header component should be a containing element placed high on the page to present high level controls and to describe the page itself. It shouldn’t be overcrowded with controls or information.\n\n<div class=\"n-usage n-usage-do\">[Menu] Dashboard [Account] [Log out]</div>\n<div class=\"n-usage n-usage-dont\">[Menu] Use the cards below to view various information [Export] [Save] [Edit Profile] [Log out] [Preferences]</div>\n",
6852
- "examples": [],
6853
- "dependencies": [],
6854
- "tagName": "nord-header",
6855
- "customElement": true
6856
- }
6857
- ],
6858
- "exports": [
6859
- {
6860
- "kind": "js",
6861
- "name": "default",
6862
- "declaration": {
6863
- "name": "Header",
6864
- "module": "src/header/Header.ts"
6865
- }
6866
- },
6867
- {
6868
- "kind": "custom-element-definition",
6869
- "name": "nord-header",
6870
- "declaration": {
6871
- "name": "Header",
6872
- "module": "src/header/Header.ts"
6873
- }
6874
- }
6875
- ]
6876
- },
6877
6882
  {
6878
6883
  "kind": "javascript-module",
6879
6884
  "path": "src/icon/Icon.ts",
@@ -13336,233 +13341,77 @@
13336
13341
  },
13337
13342
  {
13338
13343
  "kind": "javascript-module",
13339
- "path": "src/spinner/Spinner.ts",
13340
- "declarations": [
13341
- {
13342
- "kind": "class",
13343
- "description": "Spinner component is used to indicate users that their action is being\nprocessed. You can customize the size and color of the spinner with the\nprovided properties.",
13344
- "name": "Spinner",
13345
- "cssProperties": [
13346
- {
13347
- "description": "Controls the color the spinner.",
13348
- "name": "--n-spinner-color",
13349
- "default": "var(--n-color-accent)"
13350
- }
13351
- ],
13352
- "members": [
13353
- {
13354
- "kind": "field",
13355
- "name": "size",
13356
- "type": {
13357
- "text": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
13358
- },
13359
- "default": "\"m\"",
13360
- "description": "The size of the spinner.",
13361
- "attribute": "size",
13362
- "reflects": true
13363
- },
13364
- {
13365
- "kind": "field",
13366
- "name": "color",
13367
- "type": {
13368
- "text": "string | undefined"
13369
- },
13370
- "description": "The color of the spinner.\nCan accept any valid CSS color value, including custom properties.\nTakes precedence over the `--n-spinner-color` CSS custom property.",
13371
- "attribute": "color",
13372
- "reflects": true
13373
- },
13374
- {
13375
- "kind": "field",
13376
- "name": "label",
13377
- "type": {
13378
- "text": "string | undefined"
13379
- },
13380
- "description": "An accessible label for the spinner.\nIf no label is supplied, the spinner is hidden from assistive technology.",
13381
- "attribute": "label",
13382
- "reflects": true
13383
- }
13384
- ],
13385
- "attributes": [
13386
- {
13387
- "name": "size",
13388
- "type": {
13389
- "text": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
13390
- },
13391
- "default": "\"m\"",
13392
- "description": "The size of the spinner.",
13393
- "fieldName": "size"
13394
- },
13395
- {
13396
- "name": "color",
13397
- "type": {
13398
- "text": "string | undefined"
13399
- },
13400
- "description": "The color of the spinner.\nCan accept any valid CSS color value, including custom properties.\nTakes precedence over the `--n-spinner-color` CSS custom property.",
13401
- "fieldName": "color"
13402
- },
13403
- {
13404
- "name": "label",
13405
- "type": {
13406
- "text": "string | undefined"
13407
- },
13408
- "description": "An accessible label for the spinner.\nIf no label is supplied, the spinner is hidden from assistive technology.",
13409
- "fieldName": "label"
13410
- }
13411
- ],
13412
- "superclass": {
13413
- "name": "LitElement",
13414
- "package": "lit"
13415
- },
13416
- "localization": [],
13417
- "status": "ready",
13418
- "category": "feedback",
13419
- "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 indicating users that their action is being processed.\n- Use the label property to provide an accessible label for the spinner. If no label is supplied, the spinner is hidden from assistive technology.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use to show progress. Favor a progress bar instead.\n\n</div>\n",
13420
- "examples": [],
13421
- "dependencies": [],
13422
- "tagName": "nord-spinner",
13423
- "customElement": true
13424
- }
13425
- ],
13426
- "exports": [
13427
- {
13428
- "kind": "js",
13429
- "name": "default",
13430
- "declaration": {
13431
- "name": "Spinner",
13432
- "module": "src/spinner/Spinner.ts"
13433
- }
13434
- },
13435
- {
13436
- "kind": "custom-element-definition",
13437
- "name": "nord-spinner",
13438
- "declaration": {
13439
- "name": "Spinner",
13440
- "module": "src/spinner/Spinner.ts"
13441
- }
13442
- }
13443
- ]
13444
- },
13445
- {
13446
- "kind": "javascript-module",
13447
- "path": "src/stack/Stack.ts",
13448
- "declarations": [
13449
- {
13450
- "kind": "class",
13451
- "description": "Stack component manages layout of immediate children along the\nvertical or horizontal axis with optional spacing between each child.",
13452
- "name": "Stack",
13453
- "cssProperties": [
13454
- {
13455
- "description": "Controls the spacing between items, using our [spacing tokens](/tokens/#space).",
13456
- "name": "--n-stack-gap",
13457
- "default": "var(--n-space-m)"
13458
- }
13459
- ],
13460
- "slots": [
13461
- {
13462
- "description": "The stack content.",
13463
- "name": ""
13464
- }
13465
- ],
13466
- "members": [
13467
- {
13468
- "kind": "field",
13469
- "name": "gap",
13470
- "type": {
13471
- "text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
13472
- },
13473
- "default": "\"m\"",
13474
- "description": "The space injected between components.",
13475
- "attribute": "gap",
13476
- "reflects": true
13477
- },
13478
- {
13479
- "kind": "field",
13480
- "name": "direction",
13481
- "type": {
13482
- "text": "\"vertical\" | \"horizontal\""
13483
- },
13484
- "default": "\"vertical\"",
13485
- "description": "The direction of the stack.",
13486
- "attribute": "direction",
13487
- "reflects": true
13488
- },
13344
+ "path": "src/spinner/Spinner.ts",
13345
+ "declarations": [
13346
+ {
13347
+ "kind": "class",
13348
+ "description": "Spinner component is used to indicate users that their action is being\nprocessed. You can customize the size and color of the spinner with the\nprovided properties.",
13349
+ "name": "Spinner",
13350
+ "cssProperties": [
13351
+ {
13352
+ "description": "Controls the color the spinner.",
13353
+ "name": "--n-spinner-color",
13354
+ "default": "var(--n-color-accent)"
13355
+ }
13356
+ ],
13357
+ "members": [
13489
13358
  {
13490
13359
  "kind": "field",
13491
- "name": "alignItems",
13360
+ "name": "size",
13492
13361
  "type": {
13493
- "text": "\"center\" | \"start\" | \"end\" | \"stretch\" | undefined"
13362
+ "text": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
13494
13363
  },
13495
- "default": "\"stretch\"",
13496
- "description": "How to align the child items inside the stack.",
13497
- "attribute": "align-items",
13364
+ "default": "\"m\"",
13365
+ "description": "The size of the spinner.",
13366
+ "attribute": "size",
13498
13367
  "reflects": true
13499
13368
  },
13500
13369
  {
13501
13370
  "kind": "field",
13502
- "name": "wrap",
13371
+ "name": "color",
13503
13372
  "type": {
13504
- "text": "boolean"
13373
+ "text": "string | undefined"
13505
13374
  },
13506
- "default": "false",
13507
- "description": "Defines whether the Stack items are forced in a single line\nor can be flowed into multiple lines.",
13508
- "attribute": "wrap",
13375
+ "description": "The color of the spinner.\nCan accept any valid CSS color value, including custom properties.\nTakes precedence over the `--n-spinner-color` CSS custom property.",
13376
+ "attribute": "color",
13509
13377
  "reflects": true
13510
13378
  },
13511
13379
  {
13512
13380
  "kind": "field",
13513
- "name": "justifyContent",
13381
+ "name": "label",
13514
13382
  "type": {
13515
- "text": "| \"center\"\n | \"start\"\n | \"end\"\n | \"baseline\"\n | \"space-between\"\n | \"space-around\"\n | \"space-evenly\" | undefined"
13383
+ "text": "string | undefined"
13516
13384
  },
13517
- "description": "How to justify the child items inside the stack.",
13518
- "attribute": "justify-content",
13385
+ "description": "An accessible label for the spinner.\nIf no label is supplied, the spinner is hidden from assistive technology.",
13386
+ "attribute": "label",
13519
13387
  "reflects": true
13520
13388
  }
13521
13389
  ],
13522
13390
  "attributes": [
13523
13391
  {
13524
- "name": "gap",
13392
+ "name": "size",
13525
13393
  "type": {
13526
- "text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
13394
+ "text": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
13527
13395
  },
13528
13396
  "default": "\"m\"",
13529
- "description": "The space injected between components.",
13530
- "fieldName": "gap"
13531
- },
13532
- {
13533
- "name": "direction",
13534
- "type": {
13535
- "text": "\"vertical\" | \"horizontal\""
13536
- },
13537
- "default": "\"vertical\"",
13538
- "description": "The direction of the stack.",
13539
- "fieldName": "direction"
13540
- },
13541
- {
13542
- "name": "align-items",
13543
- "type": {
13544
- "text": "\"center\" | \"start\" | \"end\" | \"stretch\" | undefined"
13545
- },
13546
- "default": "\"stretch\"",
13547
- "description": "How to align the child items inside the stack.",
13548
- "fieldName": "alignItems"
13397
+ "description": "The size of the spinner.",
13398
+ "fieldName": "size"
13549
13399
  },
13550
13400
  {
13551
- "name": "wrap",
13401
+ "name": "color",
13552
13402
  "type": {
13553
- "text": "boolean"
13403
+ "text": "string | undefined"
13554
13404
  },
13555
- "default": "false",
13556
- "description": "Defines whether the Stack items are forced in a single line\nor can be flowed into multiple lines.",
13557
- "fieldName": "wrap"
13405
+ "description": "The color of the spinner.\nCan accept any valid CSS color value, including custom properties.\nTakes precedence over the `--n-spinner-color` CSS custom property.",
13406
+ "fieldName": "color"
13558
13407
  },
13559
13408
  {
13560
- "name": "justify-content",
13409
+ "name": "label",
13561
13410
  "type": {
13562
- "text": "| \"center\"\n | \"start\"\n | \"end\"\n | \"baseline\"\n | \"space-between\"\n | \"space-around\"\n | \"space-evenly\" | undefined"
13411
+ "text": "string | undefined"
13563
13412
  },
13564
- "description": "How to justify the child items inside the stack.",
13565
- "fieldName": "justifyContent"
13413
+ "description": "An accessible label for the spinner.\nIf no label is supplied, the spinner is hidden from assistive technology.",
13414
+ "fieldName": "label"
13566
13415
  }
13567
13416
  ],
13568
13417
  "superclass": {
@@ -13571,11 +13420,11 @@
13571
13420
  },
13572
13421
  "localization": [],
13573
13422
  "status": "ready",
13574
- "category": "structure",
13575
- "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 when you need to stack multiple components vertically or horizontally.\n- Use when you want to adjust the white space between two or more components.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for building grid based layouts.\n\n</div>\n",
13423
+ "category": "feedback",
13424
+ "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 indicating users that their action is being processed.\n- Use the label property to provide an accessible label for the spinner. If no label is supplied, the spinner is hidden from assistive technology.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use to show progress. Favor a progress bar instead.\n\n</div>\n",
13576
13425
  "examples": [],
13577
13426
  "dependencies": [],
13578
- "tagName": "nord-stack",
13427
+ "tagName": "nord-spinner",
13579
13428
  "customElement": true
13580
13429
  }
13581
13430
  ],
@@ -13584,16 +13433,16 @@
13584
13433
  "kind": "js",
13585
13434
  "name": "default",
13586
13435
  "declaration": {
13587
- "name": "Stack",
13588
- "module": "src/stack/Stack.ts"
13436
+ "name": "Spinner",
13437
+ "module": "src/spinner/Spinner.ts"
13589
13438
  }
13590
13439
  },
13591
13440
  {
13592
13441
  "kind": "custom-element-definition",
13593
- "name": "nord-stack",
13442
+ "name": "nord-spinner",
13594
13443
  "declaration": {
13595
- "name": "Stack",
13596
- "module": "src/stack/Stack.ts"
13444
+ "name": "Spinner",
13445
+ "module": "src/spinner/Spinner.ts"
13597
13446
  }
13598
13447
  }
13599
13448
  ]
@@ -13939,6 +13788,162 @@
13939
13788
  }
13940
13789
  ]
13941
13790
  },
13791
+ {
13792
+ "kind": "javascript-module",
13793
+ "path": "src/stack/Stack.ts",
13794
+ "declarations": [
13795
+ {
13796
+ "kind": "class",
13797
+ "description": "Stack component manages layout of immediate children along the\nvertical or horizontal axis with optional spacing between each child.",
13798
+ "name": "Stack",
13799
+ "cssProperties": [
13800
+ {
13801
+ "description": "Controls the spacing between items, using our [spacing tokens](/tokens/#space).",
13802
+ "name": "--n-stack-gap",
13803
+ "default": "var(--n-space-m)"
13804
+ }
13805
+ ],
13806
+ "slots": [
13807
+ {
13808
+ "description": "The stack content.",
13809
+ "name": ""
13810
+ }
13811
+ ],
13812
+ "members": [
13813
+ {
13814
+ "kind": "field",
13815
+ "name": "gap",
13816
+ "type": {
13817
+ "text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
13818
+ },
13819
+ "default": "\"m\"",
13820
+ "description": "The space injected between components.",
13821
+ "attribute": "gap",
13822
+ "reflects": true
13823
+ },
13824
+ {
13825
+ "kind": "field",
13826
+ "name": "direction",
13827
+ "type": {
13828
+ "text": "\"vertical\" | \"horizontal\""
13829
+ },
13830
+ "default": "\"vertical\"",
13831
+ "description": "The direction of the stack.",
13832
+ "attribute": "direction",
13833
+ "reflects": true
13834
+ },
13835
+ {
13836
+ "kind": "field",
13837
+ "name": "alignItems",
13838
+ "type": {
13839
+ "text": "\"center\" | \"start\" | \"end\" | \"stretch\" | undefined"
13840
+ },
13841
+ "default": "\"stretch\"",
13842
+ "description": "How to align the child items inside the stack.",
13843
+ "attribute": "align-items",
13844
+ "reflects": true
13845
+ },
13846
+ {
13847
+ "kind": "field",
13848
+ "name": "wrap",
13849
+ "type": {
13850
+ "text": "boolean"
13851
+ },
13852
+ "default": "false",
13853
+ "description": "Defines whether the Stack items are forced in a single line\nor can be flowed into multiple lines.",
13854
+ "attribute": "wrap",
13855
+ "reflects": true
13856
+ },
13857
+ {
13858
+ "kind": "field",
13859
+ "name": "justifyContent",
13860
+ "type": {
13861
+ "text": "| \"center\"\n | \"start\"\n | \"end\"\n | \"baseline\"\n | \"space-between\"\n | \"space-around\"\n | \"space-evenly\" | undefined"
13862
+ },
13863
+ "description": "How to justify the child items inside the stack.",
13864
+ "attribute": "justify-content",
13865
+ "reflects": true
13866
+ }
13867
+ ],
13868
+ "attributes": [
13869
+ {
13870
+ "name": "gap",
13871
+ "type": {
13872
+ "text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
13873
+ },
13874
+ "default": "\"m\"",
13875
+ "description": "The space injected between components.",
13876
+ "fieldName": "gap"
13877
+ },
13878
+ {
13879
+ "name": "direction",
13880
+ "type": {
13881
+ "text": "\"vertical\" | \"horizontal\""
13882
+ },
13883
+ "default": "\"vertical\"",
13884
+ "description": "The direction of the stack.",
13885
+ "fieldName": "direction"
13886
+ },
13887
+ {
13888
+ "name": "align-items",
13889
+ "type": {
13890
+ "text": "\"center\" | \"start\" | \"end\" | \"stretch\" | undefined"
13891
+ },
13892
+ "default": "\"stretch\"",
13893
+ "description": "How to align the child items inside the stack.",
13894
+ "fieldName": "alignItems"
13895
+ },
13896
+ {
13897
+ "name": "wrap",
13898
+ "type": {
13899
+ "text": "boolean"
13900
+ },
13901
+ "default": "false",
13902
+ "description": "Defines whether the Stack items are forced in a single line\nor can be flowed into multiple lines.",
13903
+ "fieldName": "wrap"
13904
+ },
13905
+ {
13906
+ "name": "justify-content",
13907
+ "type": {
13908
+ "text": "| \"center\"\n | \"start\"\n | \"end\"\n | \"baseline\"\n | \"space-between\"\n | \"space-around\"\n | \"space-evenly\" | undefined"
13909
+ },
13910
+ "description": "How to justify the child items inside the stack.",
13911
+ "fieldName": "justifyContent"
13912
+ }
13913
+ ],
13914
+ "superclass": {
13915
+ "name": "LitElement",
13916
+ "package": "lit"
13917
+ },
13918
+ "localization": [],
13919
+ "status": "ready",
13920
+ "category": "structure",
13921
+ "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 when you need to stack multiple components vertically or horizontally.\n- Use when you want to adjust the white space between two or more components.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use for building grid based layouts.\n\n</div>\n",
13922
+ "examples": [],
13923
+ "dependencies": [],
13924
+ "tagName": "nord-stack",
13925
+ "customElement": true
13926
+ }
13927
+ ],
13928
+ "exports": [
13929
+ {
13930
+ "kind": "js",
13931
+ "name": "default",
13932
+ "declaration": {
13933
+ "name": "Stack",
13934
+ "module": "src/stack/Stack.ts"
13935
+ }
13936
+ },
13937
+ {
13938
+ "kind": "custom-element-definition",
13939
+ "name": "nord-stack",
13940
+ "declaration": {
13941
+ "name": "Stack",
13942
+ "module": "src/stack/Stack.ts"
13943
+ }
13944
+ }
13945
+ ]
13946
+ },
13942
13947
  {
13943
13948
  "kind": "javascript-module",
13944
13949
  "path": "src/tab-panel/TabPanel.ts",