@arkcit/react-ui 0.3.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.
- package/README.md +59 -0
- package/dist/ApiDocLayout-6hYQvst0.d.ts +19 -0
- package/dist/ComponentGuidelines-h1MjGBuJ.d.ts +1293 -0
- package/dist/FileUploadField-DLwEPn_A.d.ts +32 -0
- package/dist/contracts.d.ts +10 -0
- package/dist/contracts.js +36 -0
- package/dist/form-fields-9C7CmVGn.d.ts +88 -0
- package/dist/form-fields.d.ts +5 -0
- package/dist/form-fields.js +2113 -0
- package/dist/index.d.ts +36 -0
- package/dist/index.js +16112 -0
- package/dist/orchestrator-contracts.d.ts +1 -0
- package/dist/orchestrator-contracts.js +0 -0
- package/dist/orchestrator-registry.d.ts +25 -0
- package/dist/orchestrator-registry.js +9405 -0
- package/dist/orchestrator.d.ts +29 -0
- package/dist/orchestrator.js +9602 -0
- package/dist/registry.d.ts +30 -0
- package/dist/registry.js +15786 -0
- package/dist/ui-contracts.d.ts +123 -0
- package/dist/ui-contracts.js +36 -0
- package/dist/ui-registry.d.ts +127 -0
- package/dist/ui-registry.js +15611 -0
- package/dist/ui.d.ts +119 -0
- package/dist/ui.js +9618 -0
- package/package.json +121 -0
package/README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# @arkcit/react-ui
|
|
2
|
+
|
|
3
|
+
React UI library for Arkcit applications and React-based adapters.
|
|
4
|
+
|
|
5
|
+
## Position In The Flow
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
@arkcit/engine-schema/runtime/core/render-layer
|
|
9
|
+
↓
|
|
10
|
+
@arkcit/engine
|
|
11
|
+
↓
|
|
12
|
+
@arkcit/engine-react
|
|
13
|
+
↓
|
|
14
|
+
@arkcit/react-ui
|
|
15
|
+
↓
|
|
16
|
+
studio previews, docs shell, and host React apps
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## What Goes In
|
|
20
|
+
|
|
21
|
+
- neutral node semantics through engine adapters
|
|
22
|
+
- React-specific rendering contracts
|
|
23
|
+
- reusable component presentation concerns
|
|
24
|
+
|
|
25
|
+
## What Comes Out
|
|
26
|
+
|
|
27
|
+
- UI components
|
|
28
|
+
- registries
|
|
29
|
+
- contracts
|
|
30
|
+
- form fields
|
|
31
|
+
- orchestrator-facing React presentation seams
|
|
32
|
+
|
|
33
|
+
## Responsibilities
|
|
34
|
+
|
|
35
|
+
- provide concrete React presentation building blocks
|
|
36
|
+
- host registries and component-level contracts for React consumers
|
|
37
|
+
- stay reusable across docs, studio, and future React apps
|
|
38
|
+
|
|
39
|
+
## Do Not Put Here
|
|
40
|
+
|
|
41
|
+
- canonical schema ownership
|
|
42
|
+
- runtime ownership
|
|
43
|
+
- cross-framework engine primitives
|
|
44
|
+
|
|
45
|
+
## Main Public Surfaces
|
|
46
|
+
|
|
47
|
+
- `@arkcit/react-ui/ui`
|
|
48
|
+
- `@arkcit/react-ui/orchestrator`
|
|
49
|
+
- `@arkcit/react-ui/ui-registry`
|
|
50
|
+
- `@arkcit/react-ui/orchestrator-registry`
|
|
51
|
+
- `@arkcit/react-ui/ui-contracts`
|
|
52
|
+
- `@arkcit/react-ui/orchestrator-contracts`
|
|
53
|
+
- `@arkcit/react-ui/form-fields`
|
|
54
|
+
|
|
55
|
+
## Main Consumers
|
|
56
|
+
|
|
57
|
+
- `@arkcit/studio`
|
|
58
|
+
- `@arkcit/docs-shell`
|
|
59
|
+
- React-based host applications
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
interface ApiPropDoc {
|
|
5
|
+
name: string;
|
|
6
|
+
type: string;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
defaultValue?: string;
|
|
9
|
+
description: string;
|
|
10
|
+
}
|
|
11
|
+
interface ApiDocLayoutProps {
|
|
12
|
+
componentName: string;
|
|
13
|
+
demo: ReactNode;
|
|
14
|
+
props: ApiPropDoc[];
|
|
15
|
+
headerActions?: ReactNode;
|
|
16
|
+
}
|
|
17
|
+
declare const ApiDocLayout: ({ componentName, demo, props, headerActions }: ApiDocLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
18
|
+
|
|
19
|
+
export { ApiDocLayout as A, type ApiDocLayoutProps as a, type ApiPropDoc as b };
|