@reopt-ai/opt-ui 1.4.1

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 (64) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/COMPONENT_CATALOG.md +3000 -0
  3. package/LICENSE +21 -0
  4. package/README.md +244 -0
  5. package/dist/chunk-3GWWZKX7.js +38 -0
  6. package/dist/chunk-AFF2HPE5.cjs +5008 -0
  7. package/dist/chunk-ELWICXYY.js +4745 -0
  8. package/dist/chunk-N4NDU5ET.cjs +4745 -0
  9. package/dist/chunk-ONE3C5RV.cjs +38 -0
  10. package/dist/chunk-QWBHD54V.js +3218 -0
  11. package/dist/chunk-RBM2RNC2.js +5008 -0
  12. package/dist/chunk-X5WCXJAF.cjs +3218 -0
  13. package/dist/core/index.cjs +324 -0
  14. package/dist/core/index.d.cts +5 -0
  15. package/dist/core/index.d.ts +5 -0
  16. package/dist/core/index.js +324 -0
  17. package/dist/docs/01-getting-started.md +129 -0
  18. package/dist/docs/02-components/01-core.md +1841 -0
  19. package/dist/docs/02-components/02-visuals.md +11 -0
  20. package/dist/docs/02-components/03-shells.md +1361 -0
  21. package/dist/docs/02-components/04-surfaces.md +11 -0
  22. package/dist/docs/02-components/index.md +106 -0
  23. package/dist/docs/03-recipes/01-forms.md +471 -0
  24. package/dist/docs/03-recipes/02-dashboards.md +397 -0
  25. package/dist/docs/03-recipes/03-layouts.md +424 -0
  26. package/dist/docs/04-theming.md +232 -0
  27. package/dist/docs/05-migration/01-breaking-changes.md +117 -0
  28. package/dist/docs/05-migration/02-formstore.md +336 -0
  29. package/dist/docs/06-troubleshooting.md +119 -0
  30. package/dist/docs/index.md +71 -0
  31. package/dist/id-registry.cjs +1875 -0
  32. package/dist/id-registry.d.cts +27 -0
  33. package/dist/id-registry.d.ts +27 -0
  34. package/dist/id-registry.js +1875 -0
  35. package/dist/id-registry.json +3799 -0
  36. package/dist/index-BZ_lBlO1.d.ts +474 -0
  37. package/dist/index-BuvxoWHf.d.cts +474 -0
  38. package/dist/index-DlAcuvQp.d.cts +1686 -0
  39. package/dist/index-Slu5hOj1.d.ts +1686 -0
  40. package/dist/index.cjs +9959 -0
  41. package/dist/index.d.cts +2351 -0
  42. package/dist/index.d.ts +2351 -0
  43. package/dist/index.js +9959 -0
  44. package/dist/meta.cjs +6898 -0
  45. package/dist/meta.d.cts +36 -0
  46. package/dist/meta.d.ts +36 -0
  47. package/dist/meta.js +6869 -0
  48. package/dist/shells/index.cjs +65 -0
  49. package/dist/shells/index.d.cts +5 -0
  50. package/dist/shells/index.d.ts +5 -0
  51. package/dist/shells/index.js +65 -0
  52. package/dist/tailwind.css +401 -0
  53. package/dist/theme/presets/default.css +355 -0
  54. package/dist/theme/presets/minimal.css +354 -0
  55. package/dist/theme/presets/mono-dark.css +354 -0
  56. package/dist/theme/presets/natural.css +181 -0
  57. package/dist/theme/presets/pro.css +354 -0
  58. package/dist/types-D4-0lwaE.d.cts +298 -0
  59. package/dist/types-D4-0lwaE.d.ts +298 -0
  60. package/dist/visuals/index.cjs +4 -0
  61. package/dist/visuals/index.d.cts +1 -0
  62. package/dist/visuals/index.d.ts +1 -0
  63. package/dist/visuals/index.js +4 -0
  64. package/package.json +165 -0
@@ -0,0 +1,36 @@
1
+ export interface MetaPropDef {
2
+ name: string;
3
+ type: string;
4
+ required?: boolean;
5
+ default?: string;
6
+ description: string;
7
+ }
8
+
9
+ export interface MetaDependencyRef {
10
+ slug: string;
11
+ category: string;
12
+ }
13
+
14
+ export interface MetaKeyboardShortcut {
15
+ keys: string;
16
+ action: string;
17
+ }
18
+
19
+ export interface ComponentMeta {
20
+ name: string;
21
+ category: "core" | "visual" | "shell" | "surface" | "devtools";
22
+ slug: string;
23
+ description: string;
24
+ exports: string[];
25
+ props: Record<string, MetaPropDef[]>;
26
+ dependencies?: MetaDependencyRef[];
27
+ keyboardShortcuts?: MetaKeyboardShortcut[];
28
+ advancedPatternAnchor?: string;
29
+ advancedPatternDescription?: string;
30
+ testDescribe?: string;
31
+ }
32
+
33
+ export declare const coreMetas: ComponentMeta[];
34
+ export declare const visualMetas: ComponentMeta[];
35
+ export declare const shellMetas: ComponentMeta[];
36
+ export declare const surfaceMetas: ComponentMeta[];
package/dist/meta.d.ts ADDED
@@ -0,0 +1,36 @@
1
+ export interface MetaPropDef {
2
+ name: string;
3
+ type: string;
4
+ required?: boolean;
5
+ default?: string;
6
+ description: string;
7
+ }
8
+
9
+ export interface MetaDependencyRef {
10
+ slug: string;
11
+ category: string;
12
+ }
13
+
14
+ export interface MetaKeyboardShortcut {
15
+ keys: string;
16
+ action: string;
17
+ }
18
+
19
+ export interface ComponentMeta {
20
+ name: string;
21
+ category: "core" | "visual" | "shell" | "surface" | "devtools";
22
+ slug: string;
23
+ description: string;
24
+ exports: string[];
25
+ props: Record<string, MetaPropDef[]>;
26
+ dependencies?: MetaDependencyRef[];
27
+ keyboardShortcuts?: MetaKeyboardShortcut[];
28
+ advancedPatternAnchor?: string;
29
+ advancedPatternDescription?: string;
30
+ testDescribe?: string;
31
+ }
32
+
33
+ export declare const coreMetas: ComponentMeta[];
34
+ export declare const visualMetas: ComponentMeta[];
35
+ export declare const shellMetas: ComponentMeta[];
36
+ export declare const surfaceMetas: ComponentMeta[];