slice-machine-ui 1.23.2-beta.10 → 1.23.2-beta.11

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 (85) hide show
  1. package/components/ChangesEmptyState/OfflinePage.tsx +1 -1
  2. package/components/ChangesItems/ChangesItems.tsx +6 -2
  3. package/components/CustomTypeTable/changesPage.tsx +12 -7
  4. package/components/DeleteSliceModal/index.tsx +3 -0
  5. package/components/Forms/CreateCustomTypeModal/CreateCustomTypeModal.tsx +4 -0
  6. package/components/Forms/CreateSliceModal/CreateSliceModal.tsx +3 -1
  7. package/components/Forms/RenameCustomTypeModal/RenameCustomTypeModal.tsx +6 -1
  8. package/components/Forms/RenameSliceModal/RenameSliceModal.tsx +3 -0
  9. package/components/LoginModal/index.tsx +40 -2
  10. package/components/Navigation/ChangesItem.tsx +117 -0
  11. package/components/Navigation/Environment.tsx +51 -4
  12. package/components/Navigation/index.css.ts +1 -2
  13. package/components/Navigation/index.test.tsx +5 -85
  14. package/components/Navigation/index.tsx +3 -8
  15. package/lib/builders/SliceBuilder/index.tsx +3 -3
  16. package/lib/models/common/ModelStatus/index.ts +25 -0
  17. package/out/404.html +1 -1
  18. package/out/_next/static/chunks/25-3aa4d4b24167d340.js +1 -0
  19. package/out/_next/static/chunks/{318-99b5914b60bf1d17.js → 318-19dbcae10cdb6408.js} +1 -1
  20. package/out/_next/static/chunks/727-de03055e40815a3a.js +1 -0
  21. package/out/_next/static/chunks/{799-b616401fe0dafdeb.js → 799-0af1215eb2b3c17e.js} +1 -1
  22. package/out/_next/static/chunks/904-40686b0426716111.js +1 -0
  23. package/out/_next/static/chunks/pages/{_app-5ec41fc53c1f6405.js → _app-bca191df4ac7078e.js} +24 -24
  24. package/out/_next/static/chunks/pages/{changelog-02cd80dad6f40878.js → changelog-cb1df3a70b20f1b8.js} +1 -1
  25. package/out/_next/static/chunks/pages/changes-ccfd715c2bdc4f83.js +1 -0
  26. package/out/_next/static/chunks/pages/{labs-39b50541a4c370bf.js → labs-2adfb5127f9c4081.js} +1 -1
  27. package/out/_next/static/chunks/pages/{settings-879686e3a8759dc3.js → settings-94bcd7422e8b237d.js} +1 -1
  28. package/out/_next/static/chunks/pages/slices/[lib]/[sliceName]/[variation]/{simulator-c498e9c80cae8cce.js → simulator-aaf65fbec8f5839c.js} +1 -1
  29. package/out/_next/static/chunks/pages/slices/[lib]/[sliceName]/[variation]-90bb2ea76d2abf42.js +1 -0
  30. package/out/_next/static/chunks/pages/slices-e0ce615c38e8338d.js +1 -0
  31. package/out/_next/static/css/{3c26dbbbd8f4be12.css → 39e089aad1742a3a.css} +1 -1
  32. package/out/_next/static/{Dz7wwTNVdXvoAjySXz7mE → dS_xZnzzna6Y6uwcTgf90}/_buildManifest.js +1 -1
  33. package/out/changelog.html +1 -1
  34. package/out/changes.html +1 -1
  35. package/out/custom-types/[customTypeId].html +1 -1
  36. package/out/custom-types.html +1 -1
  37. package/out/index.html +1 -1
  38. package/out/labs.html +1 -1
  39. package/out/page-types/[pageTypeId].html +1 -1
  40. package/out/settings.html +1 -1
  41. package/out/slices/[lib]/[sliceName]/[variation]/simulator.html +1 -1
  42. package/out/slices/[lib]/[sliceName]/[variation].html +1 -1
  43. package/out/slices.html +1 -1
  44. package/package.json +3 -3
  45. package/pages/_app.tsx +34 -32
  46. package/pages/changes.tsx +27 -41
  47. package/src/components/SideNav/SideNav.css.ts +1 -1
  48. package/src/components/SideNav/SideNav.tsx +9 -5
  49. package/src/components/SideNav/SideNavEnvironmentSelector.tsx +31 -11
  50. package/src/features/autoSave/AutoSaveStatusIndicator.tsx +4 -4
  51. package/src/features/customTypes/customTypesBuilder/CustomTypeProvider.tsx +11 -10
  52. package/src/features/customTypes/customTypesBuilder/CustomTypesBuilderPage.tsx +2 -2
  53. package/src/features/environments/actions/setEnvironment.ts +3 -3
  54. package/src/features/slices/sliceBuilder/SliceBuilderProvider.tsx +12 -10
  55. package/src/features/sync/AutoSyncProvider.tsx +252 -0
  56. package/src/features/sync/components/AutoSyncStatusIndicator.module.css +17 -0
  57. package/src/features/sync/components/AutoSyncStatusIndicator.module.css.d.ts +5 -0
  58. package/src/features/sync/components/AutoSyncStatusIndicator.tsx +58 -0
  59. package/src/features/sync/fetchUnSyncChanges.ts +40 -0
  60. package/src/features/sync/getUnSyncChanges.ts +144 -0
  61. package/src/features/sync/useUnSyncChanges.ts +32 -0
  62. package/src/hooks/useActionQueue.tsx +177 -0
  63. package/src/hooks/useAuthStatus.ts +12 -0
  64. package/src/icons/SyncFailed.tsx +30 -0
  65. package/src/icons/Synced.tsx +19 -0
  66. package/src/icons/Syncing.tsx +23 -0
  67. package/test/__testutils__/index.tsx +8 -5
  68. package/components/Navigation/ChangesListItem.tsx +0 -74
  69. package/components/Navigation/ChangesRightElement.tsx +0 -33
  70. package/out/_next/static/chunks/25-01f422cea8066349.js +0 -1
  71. package/out/_next/static/chunks/727-f8fefdd3e50cab2a.js +0 -1
  72. package/out/_next/static/chunks/904-4653b7a849f4db94.js +0 -1
  73. package/out/_next/static/chunks/pages/changes-8e9da8fbb809aad3.js +0 -1
  74. package/out/_next/static/chunks/pages/slices/[lib]/[sliceName]/[variation]-9b893c62b2f2fe4a.js +0 -1
  75. package/out/_next/static/chunks/pages/slices-4522d604117d8c66.js +0 -1
  76. package/src/features/autoSave/useAutoSave.tsx +0 -177
  77. package/src/features/legacyState/actions/getLegacySliceMachineState.ts +0 -53
  78. package/src/features/legacyState/useLegacySliceMachineState.ts +0 -7
  79. package/src/hooks/useModelStatus.ts +0 -78
  80. package/src/hooks/useUnSyncChanges.ts +0 -88
  81. package/test/components/LoginModal.test.tsx +0 -67
  82. package/test/src/hooks/useModelStatus.test.ts +0 -115
  83. /package/out/_next/static/{Dz7wwTNVdXvoAjySXz7mE → dS_xZnzzna6Y6uwcTgf90}/_ssgManifest.js +0 -0
  84. /package/src/features/{changes → sync}/actions/pushChanges.ts +0 -0
  85. /package/src/features/{changes → sync}/actions/trackPushChangesSuccess.ts +0 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.