@spaced-out/ui-design-system 0.5.1 → 0.5.3

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/.cspell/custom-words.txt +4 -0
  2. package/.dependency-cruiser.cjs +22 -0
  3. package/.prettierrc +1 -0
  4. package/.storybook/public/depgraph.json +23818 -0
  5. package/.vscode/settings.json +6 -1
  6. package/CHANGELOG.md +15 -0
  7. package/cspell.json +1 -0
  8. package/lib/components/FileUpload/FileUpload.js +0 -1
  9. package/lib/components/InContextAlert/InContextAlert.d.ts +9 -0
  10. package/lib/components/InContextAlert/InContextAlert.d.ts.map +1 -1
  11. package/lib/components/InContextAlert/InContextAlert.js +4 -2
  12. package/lib/components/InContextAlert/InContextAlert.stories.d.ts +17 -0
  13. package/lib/components/InContextAlert/InContextAlert.stories.d.ts.map +1 -1
  14. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts +12 -0
  15. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts.map +1 -0
  16. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.js +78 -0
  17. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.module.css +91 -0
  18. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.stories.d.ts +249 -0
  19. package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.stories.d.ts.map +1 -0
  20. package/lib/components/InContextAlertWithMultipleActions/index.d.ts +2 -0
  21. package/lib/components/InContextAlertWithMultipleActions/index.d.ts.map +1 -0
  22. package/lib/components/InContextAlertWithMultipleActions/index.js +16 -0
  23. package/lib/components/Pagination/Pagination.d.ts +1 -1
  24. package/lib/components/Pagination/Pagination.d.ts.map +1 -1
  25. package/lib/components/Pagination/Pagination.js +1 -3
  26. package/lib/components/Table/StaticTable.js +1 -1
  27. package/lib/components/Table/Table.d.ts.map +1 -1
  28. package/lib/components/Table/Table.js +3 -1
  29. package/lib/components/Table/Table.module.css +1 -0
  30. package/lib/devtools/DependencyGraph/DependencyGraph.stories.d.ts +19 -0
  31. package/lib/devtools/DependencyGraph/DependencyGraph.stories.d.ts.map +1 -0
  32. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts +3 -3
  33. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts.map +1 -1
  34. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js +5 -18
  35. package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts.map +1 -1
  36. package/lib/hooks/useFileUpload/useFileUpload.d.ts +12 -8
  37. package/lib/hooks/useFileUpload/useFileUpload.d.ts.map +1 -1
  38. package/lib/hooks/useFileUpload/useFileUpload.js +2 -19
  39. package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts.map +1 -1
  40. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts +7 -3
  41. package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts.map +1 -1
  42. package/lib/hooks/useFilteredOptions/useFilteredOptions.js +2 -6
  43. package/lib/hooks/useInputState/useInputState.js +1 -3
  44. package/lib/hooks/useMountTransition/index.d.ts.map +1 -1
  45. package/lib/hooks/useMountTransition/index.js +0 -2
  46. package/lib/hooks/usePagination/usePagination.d.ts +1 -1
  47. package/lib/hooks/usePagination/usePagination.d.ts.map +1 -1
  48. package/lib/hooks/usePagination/usePagination.js +0 -3
  49. package/lib/hooks/usePagination/usePagination.stories.d.ts +1 -1
  50. package/lib/hooks/useResizeObserver/useResizeObserver.d.ts +1 -1
  51. package/lib/hooks/useResizeObserver/useResizeObserver.d.ts.map +1 -1
  52. package/lib/hooks/useResizeObserver/useResizeObserver.js +2 -5
  53. package/lib/hooks/useToastPortal/useToastPortal.d.ts.map +1 -1
  54. package/lib/hooks/useToastPortal/useToastPortal.js +0 -4
  55. package/lib/hooks/useToggle/useToggle.stories.d.ts.map +1 -1
  56. package/lib/utils/click-away/ClickAway.stories.d.ts.map +1 -1
  57. package/lib/utils/click-away/click-away.d.ts +11 -11
  58. package/lib/utils/click-away/click-away.d.ts.map +1 -1
  59. package/lib/utils/helpers/helpers.stories.d.ts.map +1 -1
  60. package/lib/utils/merge-refs/merge-refs.stories.d.ts.map +1 -1
  61. package/package.json +7 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaced-out/ui-design-system",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "Sense UI components library",
5
5
  "author": {
6
6
  "name": "Spaced Out"
@@ -40,7 +40,8 @@
40
40
  "fix:forwardref:check": "yarn flow && echo '✅ Type checking completed'",
41
41
  "fix:unused": "node scripts/fix-unused-variables-targeted.js",
42
42
  "fix:unused:all": "node scripts/fix-unused-variables.js",
43
- "fix:all": "yarn fix:forwardref && yarn fix:unused && yarn fix:forwardref:check"
43
+ "fix:all": "yarn fix:forwardref && yarn fix:unused && yarn fix:forwardref:check",
44
+ "dep:json": "depcruise \"src/**/*.{ts,tsx}\" --output-type json > .storybook/public/depgraph.json"
44
45
  },
45
46
  "keywords": [
46
47
  "React",
@@ -101,6 +102,7 @@
101
102
  "@types/react-dom": "~19.1.7",
102
103
  "@types/react-window": "^1.8.8",
103
104
  "@types/standard-version": "~7.1.3",
105
+ "@xyflow/react": "^12.8.4",
104
106
  "all-contributors-cli": "^6.20.0",
105
107
  "babel-eslint": "^10.1.0",
106
108
  "babel-jest": "^28.1.3",
@@ -110,7 +112,10 @@
110
112
  "babel-preset-react-app": "^10.0.0",
111
113
  "chalk": "^5.0.1",
112
114
  "chromatic": "^6.11.4",
115
+ "classnames": "^2.5.1",
113
116
  "cspell": "^9.1.2",
117
+ "dependency-cruiser": "^17.0.1",
118
+ "elkjs": "^0.10.0",
114
119
  "eslint": "^9.9.0",
115
120
  "eslint-plugin-ft-flow": "^3.0.11",
116
121
  "eslint-plugin-import": "^2.32.0",