@nulogy/components 15.2.0 → 15.2.2

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 (61) hide show
  1. package/README.md +3 -3
  2. package/dist/main.js +5735 -5628
  3. package/dist/main.module.js +5731 -5624
  4. package/dist/src/Alert/Alert.story.d.ts +15 -19
  5. package/dist/src/Alert/Alert.story.js +25 -14
  6. package/dist/src/BrandedNavBar/NavBar.story.d.ts +4 -6
  7. package/dist/src/BrandedNavBar/NavBar.story.js +11 -3
  8. package/dist/src/BrandedNavBar/SmallNavBar.story.d.ts +5 -2
  9. package/dist/src/BrandedNavBar/SmallNavBar.story.js +26 -5
  10. package/dist/src/DatePickers/stories/DatePicker.story.d.ts +7 -3
  11. package/dist/src/DatePickers/stories/DatePicker.story.js +54 -22
  12. package/dist/src/DescriptionList/lib/utils.js +1 -1
  13. package/dist/src/DescriptionList/stories/DescriptionList.column.story.js +1 -1
  14. package/dist/src/DescriptionList/stories/DescriptionList.group-min-width.story.d.ts +7 -8
  15. package/dist/src/DescriptionList/stories/DescriptionList.group-min-width.story.js +15 -12
  16. package/dist/src/DescriptionList/stories/DescriptionList.layout.story.js +1 -1
  17. package/dist/src/DescriptionList/stories/DescriptionList.playground.story.d.ts +7 -8
  18. package/dist/src/DescriptionList/stories/DescriptionList.playground.story.js +200 -195
  19. package/dist/src/Layout/Header.d.ts +1 -1
  20. package/dist/src/Layout/Header.story.d.ts +10 -9
  21. package/dist/src/Layout/Header.story.js +9 -8
  22. package/dist/src/Layout/Sidebar.story.d.ts +4 -1
  23. package/dist/src/Layout/Sidebar.story.js +10 -3
  24. package/dist/src/Modal/Modal.story.d.ts +39 -61
  25. package/dist/src/Modal/Modal.story.js +110 -85
  26. package/dist/src/NDSProvider/renderWithNDSProvider.spec-utils.d.ts +2 -1
  27. package/dist/src/Radio/Radio.story.d.ts +316 -32
  28. package/dist/src/Radio/Radio.story.js +36 -22
  29. package/dist/src/Select/MenuList.js +1 -1
  30. package/dist/src/Select/Select.d.ts +1 -1
  31. package/dist/src/Select/Select.spec-utils.js +1 -0
  32. package/dist/src/Select/Select.story.d.ts +5 -1
  33. package/dist/src/Select/Select.story.js +93 -2
  34. package/dist/src/Table/stories/BaseTable.story.d.ts +11 -7
  35. package/dist/src/Table/stories/BaseTable.story.js +156 -34
  36. package/dist/src/Table/stories/SortingColumnHeader.story.d.ts +5 -2
  37. package/dist/src/Table/stories/SortingColumnHeader.story.js +20 -3
  38. package/dist/src/Table/stories/Table.story.d.ts +7 -14
  39. package/dist/src/Table/stories/Table.story.js +172 -127
  40. package/dist/src/Toggle/ToggleButton.js +1 -1
  41. package/dist/src/Tooltip/Tooltip.story.d.ts +15 -52
  42. package/dist/src/Tooltip/Tooltip.story.js +79 -71
  43. package/dist/src/testing/matchers/toHaveStyle.d.ts +15 -0
  44. package/dist/src/testing/matchers/toHaveStyle.js +50 -0
  45. package/dist/src/testing/matchers/toMatchDate.d.ts +1 -0
  46. package/dist/src/testing/matchers/toMatchDate.js +1 -1
  47. package/dist/src/utils/DetectOutsideClick.d.ts +3 -0
  48. package/dist/src/utils/DetectOutsideClick.js +3 -0
  49. package/dist/src/utils/ScrollIndicators.js +1 -1
  50. package/dist/src/utils/generateId.d.ts +5 -0
  51. package/dist/src/utils/generateId.js +5 -0
  52. package/dist/src/utils/index.d.ts +0 -1
  53. package/dist/src/utils/index.js +0 -1
  54. package/dist/src/utils/numberFromDimension/numberFromDimension.spec.js +1 -0
  55. package/dist/vitest.config.d.ts +2 -0
  56. package/dist/vitest.config.js +11 -0
  57. package/package.json +24 -61
  58. package/dist/src/NDSProvider/mountWithNDSProvider.spec-utils.d.ts +0 -1
  59. package/dist/src/NDSProvider/mountWithNDSProvider.spec-utils.js +0 -4
  60. package/dist/src/utils/withWindowDimensions.d.ts +0 -3
  61. package/dist/src/utils/withWindowDimensions.js +0 -28
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ![npm (scoped)](https://img.shields.io/npm/v/@nulogy/components.svg?style=flat-square)
4
4
  ![Build](https://img.shields.io/github/workflow/status/nulogy/design-system/Release?style=flat-square)
5
- [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/nulogy/design-system/blob/master/CONTRIBUTING.md)
5
+ [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/nulogy/design-system/blob/main/CONTRIBUTING.md)
6
6
 
7
7
  > Built with React, components make it easy to create interfaces that conform to the principles of the Nulogy Design System.
8
8
 
@@ -60,7 +60,7 @@ const SomeView = () => <Button>Click me</Button>;
60
60
  ## ✨ Usage
61
61
 
62
62
  - See [nulogy.design](http://nulogy.design) for instructions on how best to use each component
63
- - See the [Storybook](https://master--5f60c6c285eaad0022dce67f.chromatic.com) for usage examples
63
+ - See the [Storybook](https://main--5f60c6c285eaad0022dce67f.chromatic.com) for usage examples
64
64
 
65
65
  ## 🌎 Localization
66
66
 
@@ -86,7 +86,7 @@ If you encounter a bug, need a new component or new capability of an existing co
86
86
 
87
87
  ## 🙌 Contributing
88
88
 
89
- Please see [Contributing.MD](https://github.com/nulogy/design-system/blob/master/CONTRIBUTING.md) if you work at Nulogy and would like to contribute.
89
+ Please see [Contributing.MD](https://github.com/nulogy/design-system/blob/main/CONTRIBUTING.md) if you work at Nulogy and would like to contribute.
90
90
 
91
91
  ## 💬 Questions
92
92