@nordhealth/components 3.18.0 → 3.18.1-alpha.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 (82) hide show
  1. package/README.md +11 -11
  2. package/custom-elements.json +2584 -2584
  3. package/lib/DatePicker.js +1 -1
  4. package/lib/Dropdown.js +1 -1
  5. package/lib/Icon.js.map +1 -1
  6. package/lib/{Popout-CqmQIaOr.js → Popout-8ZXIGZFg.js} +2 -2
  7. package/lib/{Popout-CqmQIaOr.js.map → Popout-8ZXIGZFg.js.map} +1 -1
  8. package/lib/Popout.js +1 -1
  9. package/lib/Qrcode.js.map +1 -1
  10. package/lib/Radio.js +1 -1
  11. package/lib/Radio.js.map +1 -1
  12. package/lib/Toggle.js +1 -1
  13. package/lib/Toggle.js.map +1 -1
  14. package/lib/Tooltip.js +1 -1
  15. package/lib/bundle.js +1 -1
  16. package/lib/bundle.js.map +1 -1
  17. package/lib/class-map-BQZJmA_8.js.map +1 -1
  18. package/lib/collection-CJHuUy_1.js.map +1 -1
  19. package/lib/custom-element-CDWT-yC_.js.map +1 -1
  20. package/lib/directive-DQ0jBES2.js.map +1 -1
  21. package/lib/if-defined-C2kZHWU2.js.map +1 -1
  22. package/lib/index.js +1 -1
  23. package/lib/positioning-BIzQxDMX.js +2 -0
  24. package/lib/positioning-BIzQxDMX.js.map +1 -0
  25. package/lib/property-DeTTNf1t.js.map +1 -1
  26. package/lib/query-hiZs21fO.js.map +1 -1
  27. package/lib/ref-BYkj-TPb.js.map +1 -1
  28. package/lib/src/avatar/Avatar.d.ts +3 -3
  29. package/lib/src/badge/Badge.d.ts +1 -1
  30. package/lib/src/banner/Banner.d.ts +1 -1
  31. package/lib/src/button-group/ButtonGroup.d.ts +1 -1
  32. package/lib/src/calendar/Calendar.d.ts +1 -1
  33. package/lib/src/card/Card.d.ts +1 -1
  34. package/lib/src/checkbox/Checkbox.d.ts +1 -1
  35. package/lib/src/command-menu/CommandMenu.d.ts +1 -1
  36. package/lib/src/command-menu/CommandMenuAction.d.ts +1 -1
  37. package/lib/src/date-picker/DatePicker.d.ts +1 -1
  38. package/lib/src/drawer/Drawer.d.ts +1 -1
  39. package/lib/src/dropdown/Dropdown.d.ts +1 -1
  40. package/lib/src/dropdown-group/DropdownGroup.d.ts +1 -1
  41. package/lib/src/empty-state/EmptyState.d.ts +1 -1
  42. package/lib/src/fieldset/Fieldset.d.ts +1 -1
  43. package/lib/src/footer/Footer.d.ts +1 -1
  44. package/lib/src/header/Header.d.ts +1 -1
  45. package/lib/src/icon/Icon.d.ts +1 -1
  46. package/lib/src/input/Input.d.ts +1 -1
  47. package/lib/src/layout/Layout.d.ts +1 -1
  48. package/lib/src/modal/Modal.d.ts +1 -1
  49. package/lib/src/nav-group/NavGroup.d.ts +1 -1
  50. package/lib/src/nav-toggle/NavToggle.d.ts +1 -1
  51. package/lib/src/navigation/Navigation.d.ts +1 -1
  52. package/lib/src/notification/Notification.d.ts +1 -1
  53. package/lib/src/notification-group/NotificationGroup.d.ts +1 -1
  54. package/lib/src/popout/Popout.d.ts +1 -1
  55. package/lib/src/progress-bar/ProgressBar.d.ts +1 -1
  56. package/lib/src/qrcode/Qrcode.d.ts +1 -1
  57. package/lib/src/radio/Radio.d.ts +1 -1
  58. package/lib/src/range/Range.d.ts +1 -1
  59. package/lib/src/segmented-control/SegmentedControl.d.ts +1 -1
  60. package/lib/src/segmented-control-item/SegmentedControlItem.d.ts +1 -1
  61. package/lib/src/select/Select.d.ts +1 -1
  62. package/lib/src/skeleton/Skeleton.d.ts +1 -1
  63. package/lib/src/spinner/Spinner.d.ts +1 -1
  64. package/lib/src/stack/Stack.d.ts +1 -1
  65. package/lib/src/tab/Tab.d.ts +1 -1
  66. package/lib/src/tab-group/TabGroup.d.ts +1 -1
  67. package/lib/src/tab-panel/TabPanel.d.ts +1 -1
  68. package/lib/src/tag/Tag.d.ts +1 -1
  69. package/lib/src/tag-group/TagGroup.d.ts +1 -1
  70. package/lib/src/textarea/Textarea.d.ts +1 -1
  71. package/lib/src/toast/Toast.d.ts +1 -1
  72. package/lib/src/toast-group/ToastGroup.d.ts +1 -1
  73. package/lib/src/toggle/Toggle.d.ts +1 -1
  74. package/lib/src/tooltip/Tooltip.d.ts +1 -1
  75. package/lib/src/top-bar/TopBar.d.ts +1 -1
  76. package/lib/src/visually-hidden/VisuallyHidden.d.ts +1 -1
  77. package/lib/state-BFYKuryf.js.map +1 -1
  78. package/lib/style-map-VR90KNpY.js.map +1 -1
  79. package/lib/tinykeys.module-_6MZt7MP.js.map +1 -1
  80. package/package.json +48 -48
  81. package/lib/positioning-CHP-_dKQ.js +0 -2
  82. package/lib/positioning-CHP-_dKQ.js.map +0 -1
package/README.md CHANGED
@@ -21,7 +21,7 @@ For detailed information on what docker is, what is does, how it works etc, plea
21
21
  Once docker is installed, run the following command in the components directory:
22
22
 
23
23
  ```sh
24
- npm run build:docker
24
+ pnpm build:docker
25
25
  ```
26
26
 
27
27
  This will create, install, and build all the necessary parts for running tests inside a docker container. The result of this process is cached, and will be used whenever tests are run.
@@ -34,17 +34,17 @@ Once this is complete, you can use the commands below to run tests in a docker c
34
34
 
35
35
  The following are the most commonly used commands during development:
36
36
 
37
- - `npm start` - Compile components, start watching for changes, start local development server on port 3333.
38
- - `npm run build` - Builds the project.
39
- - `npm test` - Run all tests once, including visual regression.
40
- - `INCLUDE_VISUAL_REGRESSION=false npm test` - Run all tests once, excluding visual regression.
41
- - `npm test -- [path/glob for test file]` - Run specific tests file. e.g. `npm test -- **/Button.test.ts`
42
- - `npm run test:watch` - Run all tests and watch for changes.
43
- - `npm run test:capture` - Updates screenshot snapshots.
37
+ - `pnpm start` - Compile components, start watching for changes, start local development server on port 3333.
38
+ - `pnpm build` - Builds the project.
39
+ - `pnpm test` - Run all tests once, including visual regression.
40
+ - `INCLUDE_VISUAL_REGRESSION=false pnpm test` - Run all tests once, excluding visual regression.
41
+ - `pnpm test -- [path/glob for test file]` - Run specific tests file. e.g. `pnpm test -- **/Button.test.ts`
42
+ - `pnpm test:watch` - Run all tests and watch for changes.
43
+ - `pnpm test:capture` - Updates screenshot snapshots.
44
44
 
45
45
  ## Development server
46
46
 
47
- The local development server started by `npm start` serves a file located at `/packages/components/demo/index.html`. Any local changes or new components are available on this page, so this can be used as a testing ground when developing.
47
+ The local development server started by `pnpm start` serves a file located at `/packages/components/demo/index.html`. Any local changes or new components are available on this page, so this can be used as a testing ground when developing.
48
48
 
49
49
  Component usage examples are available via the dev server using the URL structure `http://localhost:3333/[component]/[example]/` e.g. `/button/basic/`. This is mapped to the file path `/button/usage/basic.html`. These pages get reloaded on any change.
50
50
 
@@ -60,13 +60,13 @@ It is possible to change the theme used in an example via a query string e.g. `/
60
60
  ## To create a new component
61
61
 
62
62
  ```sh
63
- npm run scaffold [component-name]
63
+ pnpm scaffold [component-name]
64
64
  ```
65
65
 
66
66
  e.g.
67
67
 
68
68
  ```sh
69
- npm run scaffold date-picker
69
+ pnpm scaffold date-picker
70
70
  ```
71
71
 
72
72
  ## License