@ultrst-armada/floks 2.0.4 → 2.0.7

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 (39) hide show
  1. package/.krusbl-release-attestation.json +3 -3
  2. package/package.json +3 -3
  3. package/packages/canvas-ui/dist/authoring/authoringOperations.d.ts +41 -0
  4. package/packages/canvas-ui/dist/authoring/authoringOperations.test.d.ts +1 -0
  5. package/packages/canvas-ui/dist/authoring/index.d.ts +1 -0
  6. package/packages/canvas-ui/dist/authoring/index.js +17 -3
  7. package/packages/canvas-ui/dist/{chunk-TS7P3WWH.js → chunk-CI4C6DJR.js} +108 -24
  8. package/packages/canvas-ui/dist/index.js +25 -11
  9. package/packages/canvas-ui/package.json +2 -2
  10. package/packages/ui/dist/chunk-2YP2RPJY.js +54 -0
  11. package/packages/ui/dist/{chunk-4GMTEWLE.js → chunk-6EYOJ4DD.js} +2 -2
  12. package/packages/ui/dist/{chunk-DZTJJOLR.js → chunk-DEKSKDSF.js} +26 -13
  13. package/packages/ui/dist/{chunk-HWYGCCRL.js → chunk-FA6GHJKU.js} +2 -2
  14. package/packages/ui/dist/{chunk-OMNGRMJY.js → chunk-FVOZFKV7.js} +601 -534
  15. package/packages/ui/dist/{chunk-G5CYPT3P.js → chunk-IYBFDSTU.js} +93 -9
  16. package/packages/ui/dist/{chunk-GOUFV3B4.js → chunk-RLM72WKL.js} +1 -1
  17. package/packages/ui/dist/components/auth/index.js +3 -3
  18. package/packages/ui/dist/components/graph/index.js +3 -3
  19. package/packages/ui/dist/components/tiles/index.js +2 -2
  20. package/packages/ui/dist/components/workspace/GoogleDriveWorkspacePicker.d.ts +2 -2
  21. package/packages/ui/dist/components/workspace/WorkspaceCreateDialog.backblaze.test.d.ts +1 -0
  22. package/packages/ui/dist/components/workspace/WorkspaceCreateDialog.d.ts +45 -12
  23. package/packages/ui/dist/components/workspace/WorkspaceCreateDialog.kloks-service.test.d.ts +1 -0
  24. package/packages/ui/dist/components/workspace/WorkspaceGate.d.ts +3 -1
  25. package/packages/ui/dist/components/workspace/WorkspaceTilesMenu.d.ts +1 -1
  26. package/packages/ui/dist/components/workspace/index.d.ts +0 -3
  27. package/packages/ui/dist/components/workspace/index.js +3 -9
  28. package/packages/ui/dist/frnl/frnlPage.d.ts +30 -0
  29. package/packages/ui/dist/frnl/frnlTabWindow.d.ts +21 -0
  30. package/packages/ui/dist/frnl/index.d.ts +3 -1
  31. package/packages/ui/dist/frnl/index.js +7 -3
  32. package/packages/ui/dist/frnl/store.d.ts +7 -18
  33. package/packages/ui/dist/frnl/store.js +3 -1
  34. package/packages/ui/dist/index.js +11 -13
  35. package/packages/ui/package.json +2 -2
  36. package/packages/ui/dist/chunk-B4XTM5TI.js +0 -25
  37. package/packages/ui/dist/components/workspace/SrklBackblazeTile.d.ts +0 -27
  38. package/packages/ui/dist/components/workspace/StorageOptionTiles.d.ts +0 -27
  39. package/packages/ui/dist/components/workspace/StoragePresetTile.d.ts +0 -8
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floks/ui",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Floks UI — Reusable React Component Library with Theme Engine, Base Primitives, Containers, Composite & Layout",
5
5
  "type": "module",
6
6
  "private": false,
@@ -109,7 +109,7 @@
109
109
  },
110
110
  "dependencies": {
111
111
  "zod": "^3.24.1",
112
- "@ultrst-armada/frnlts": "^0.5.23",
112
+ "@ultrst-armada/frnlts": "^0.5.24",
113
113
  "zustand": "^5.0.3",
114
114
  "@xyflow/react": "^12.8.6",
115
115
  "d3-force": "^3.0.0",
@@ -1,25 +0,0 @@
1
- // src/frnl/store.ts
2
- import React, { createContext, useContext } from "react";
3
- import { createFrnlFrontendApi, installFrnlFrontendApi, createFrnlStore } from "@ultrst-armada/frnlts";
4
- var floksFrnlStore = createFrnlStore();
5
- var floksFrnlFrontendApi = createFrnlFrontendApi(floksFrnlStore);
6
- installFrnlFrontendApi(floksFrnlFrontendApi);
7
- function getFloksFrnlStore() {
8
- return floksFrnlStore;
9
- }
10
- var FrnlStoreContext = createContext(null);
11
- var FrnlStoreProvider = ({ store, children }) => {
12
- return React.createElement(FrnlStoreContext.Provider, { value: store }, children);
13
- };
14
- function useFloksFrnlStore() {
15
- const contextStore = useContext(FrnlStoreContext);
16
- return contextStore ?? floksFrnlStore;
17
- }
18
-
19
- export {
20
- floksFrnlStore,
21
- floksFrnlFrontendApi,
22
- getFloksFrnlStore,
23
- FrnlStoreProvider,
24
- useFloksFrnlStore
25
- };
@@ -1,27 +0,0 @@
1
- import React from 'react';
2
- export interface SrklBackblazeAccount {
3
- id: string;
4
- name: string;
5
- provider: string;
6
- credentials?: {
7
- keyId?: string;
8
- b2KeyId?: string;
9
- applicationKey?: string;
10
- b2ApplicationKey?: string;
11
- bucketName?: string;
12
- region?: string;
13
- endpoint?: string;
14
- };
15
- }
16
- interface Props {
17
- account: SrklBackblazeAccount;
18
- selectedBucketName?: string;
19
- isSelectedAccount: boolean;
20
- onSelectBucket: (account: SrklBackblazeAccount, bucketName: string) => void;
21
- userId?: string;
22
- storageService?: {
23
- listBackblazeBuckets?: (accountId: string, userId: string) => Promise<any[]>;
24
- };
25
- }
26
- export declare const SrklBackblazeTile: React.FC<Props>;
27
- export {};
@@ -1,27 +0,0 @@
1
- import React from 'react';
2
- export interface StorageSelection {
3
- provider: 'local_fs' | 'backblaze_b2';
4
- connectionId?: string;
5
- localFolderName?: string;
6
- localFolderKey?: string;
7
- b2BucketName?: string;
8
- b2Endpoint?: string;
9
- b2Region?: string;
10
- }
11
- interface Props {
12
- currentUser?: {
13
- id: string;
14
- email: string;
15
- name?: string;
16
- } | null;
17
- userId?: string;
18
- selectedProvider?: string;
19
- selectedConnectionId?: string;
20
- storageService?: {
21
- listBackblazeAccounts?: (userId: string) => Promise<any[]>;
22
- listBackblazeBuckets?: (accountId: string, userId: string) => Promise<any[]>;
23
- };
24
- onSelectStorage: (selection: StorageSelection) => void;
25
- }
26
- export declare const StorageOptionTiles: React.FC<Props>;
27
- export {};
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- interface Props {
3
- conn: any;
4
- isSelected: boolean;
5
- onSelect: (conn: any) => void;
6
- }
7
- export declare const StoragePresetTile: React.FC<Props>;
8
- export {};