@frontmcp/ui 0.12.2 → 1.0.0-beta.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 (310) hide show
  1. package/README.md +279 -72
  2. package/bridge/adapters/claude.adapter.d.ts.map +1 -1
  3. package/bridge/adapters/gemini.adapter.d.ts.map +1 -1
  4. package/bridge/index.js +2 -36
  5. package/components/Alert/Alert.d.ts +11 -0
  6. package/components/Alert/Alert.d.ts.map +1 -0
  7. package/components/Alert/index.d.ts +4 -0
  8. package/components/Alert/index.d.ts.map +1 -0
  9. package/components/Alert/index.js +61 -0
  10. package/components/Avatar/Avatar.d.ts +10 -0
  11. package/components/Avatar/Avatar.d.ts.map +1 -0
  12. package/components/Avatar/index.d.ts +4 -0
  13. package/components/Avatar/index.d.ts.map +1 -0
  14. package/components/Avatar/index.js +43 -0
  15. package/components/Badge/Badge.d.ts +13 -0
  16. package/components/Badge/Badge.d.ts.map +1 -0
  17. package/components/Badge/index.d.ts +4 -0
  18. package/components/Badge/index.d.ts.map +1 -0
  19. package/{render → components/Badge}/index.js +54 -42
  20. package/components/Button/Button.d.ts +16 -0
  21. package/components/Button/Button.d.ts.map +1 -0
  22. package/components/Button/index.d.ts +4 -0
  23. package/components/Button/index.d.ts.map +1 -0
  24. package/components/Button/index.js +91 -0
  25. package/components/Card/Card.d.ts +25 -0
  26. package/components/Card/Card.d.ts.map +1 -0
  27. package/components/Card/index.d.ts +4 -0
  28. package/components/Card/index.d.ts.map +1 -0
  29. package/components/Card/index.js +110 -0
  30. package/components/List/List.d.ts +15 -0
  31. package/components/List/List.d.ts.map +1 -0
  32. package/components/List/index.d.ts +4 -0
  33. package/components/List/index.d.ts.map +1 -0
  34. package/components/List/index.js +58 -0
  35. package/components/Loader/Loader.d.ts +28 -0
  36. package/components/Loader/Loader.d.ts.map +1 -0
  37. package/components/Loader/LoaderContext.d.ts +20 -0
  38. package/components/Loader/LoaderContext.d.ts.map +1 -0
  39. package/components/Loader/index.d.ts +6 -0
  40. package/components/Loader/index.d.ts.map +1 -0
  41. package/components/Loader/index.js +174 -0
  42. package/components/Modal/Modal.d.ts +22 -0
  43. package/components/Modal/Modal.d.ts.map +1 -0
  44. package/components/Modal/index.d.ts +4 -0
  45. package/components/Modal/index.d.ts.map +1 -0
  46. package/components/Modal/index.js +80 -0
  47. package/components/Select/Select.d.ts +21 -0
  48. package/components/Select/Select.d.ts.map +1 -0
  49. package/components/Select/index.d.ts +4 -0
  50. package/components/Select/index.d.ts.map +1 -0
  51. package/components/Select/index.js +78 -0
  52. package/components/Table/Table.d.ts +15 -0
  53. package/components/Table/Table.d.ts.map +1 -0
  54. package/components/Table/index.d.ts +4 -0
  55. package/components/Table/index.d.ts.map +1 -0
  56. package/components/Table/index.js +70 -0
  57. package/components/TextField/TextField.d.ts +19 -0
  58. package/components/TextField/TextField.d.ts.map +1 -0
  59. package/components/TextField/index.d.ts +4 -0
  60. package/components/TextField/index.d.ts.map +1 -0
  61. package/components/TextField/index.js +77 -0
  62. package/components/index.d.ts +22 -28
  63. package/components/index.d.ts.map +1 -1
  64. package/components/index.js +523 -2521
  65. package/esm/bridge/index.mjs +2 -6
  66. package/esm/components/Alert/index.mjs +28 -0
  67. package/esm/components/Avatar/index.mjs +10 -0
  68. package/esm/components/Badge/index.mjs +56 -0
  69. package/esm/components/Button/index.mjs +58 -0
  70. package/esm/components/Card/index.mjs +77 -0
  71. package/esm/components/List/index.mjs +25 -0
  72. package/esm/components/Loader/index.mjs +141 -0
  73. package/esm/components/Modal/index.mjs +47 -0
  74. package/esm/components/Select/index.mjs +45 -0
  75. package/esm/components/Table/index.mjs +37 -0
  76. package/esm/components/TextField/index.mjs +44 -0
  77. package/esm/components/index.mjs +513 -2415
  78. package/esm/index.mjs +62 -4652
  79. package/esm/package.json +372 -16
  80. package/esm/react/index.mjs +2 -285
  81. package/esm/renderer/charts/index.mjs +336 -0
  82. package/esm/renderer/common/index.mjs +135 -0
  83. package/esm/renderer/csv/index.mjs +193 -0
  84. package/esm/renderer/flow/index.mjs +259 -0
  85. package/esm/renderer/html/index.mjs +99 -0
  86. package/esm/renderer/image/index.mjs +125 -0
  87. package/esm/renderer/index.mjs +2173 -0
  88. package/esm/renderer/maps/index.mjs +217 -0
  89. package/esm/renderer/math/index.mjs +229 -0
  90. package/esm/renderer/mdx/index.mjs +261 -0
  91. package/esm/renderer/media/index.mjs +235 -0
  92. package/esm/renderer/mermaid/index.mjs +220 -0
  93. package/esm/renderer/pdf/index.mjs +229 -0
  94. package/esm/renderer/react/index.mjs +230 -0
  95. package/esm/runtime/index.mjs +194 -0
  96. package/esm/theme/index.mjs +93 -0
  97. package/index.d.ts +10 -18
  98. package/index.d.ts.map +1 -1
  99. package/index.js +63 -4806
  100. package/package.json +372 -16
  101. package/react/index.d.ts +8 -54
  102. package/react/index.d.ts.map +1 -1
  103. package/react/index.js +2 -295
  104. package/renderer/auto-detect.d.ts +39 -0
  105. package/renderer/auto-detect.d.ts.map +1 -0
  106. package/renderer/charts/index.d.ts +22 -0
  107. package/renderer/charts/index.d.ts.map +1 -0
  108. package/renderer/charts/index.js +367 -0
  109. package/renderer/common/index.d.ts +5 -0
  110. package/renderer/common/index.d.ts.map +1 -0
  111. package/renderer/common/index.js +158 -0
  112. package/renderer/common/inject-stylesheet.d.ts +9 -0
  113. package/renderer/common/inject-stylesheet.d.ts.map +1 -0
  114. package/renderer/common/lazy-import.d.ts +85 -0
  115. package/renderer/common/lazy-import.d.ts.map +1 -0
  116. package/renderer/common/use-lazy-module.d.ts +13 -0
  117. package/renderer/common/use-lazy-module.d.ts.map +1 -0
  118. package/renderer/common/use-renderer-theme.d.ts +35 -0
  119. package/renderer/common/use-renderer-theme.d.ts.map +1 -0
  120. package/renderer/csv/index.d.ts +12 -0
  121. package/renderer/csv/index.d.ts.map +1 -0
  122. package/renderer/csv/index.js +224 -0
  123. package/renderer/flow/index.d.ts +40 -0
  124. package/renderer/flow/index.d.ts.map +1 -0
  125. package/renderer/flow/index.js +290 -0
  126. package/renderer/html/index.d.ts +12 -0
  127. package/renderer/html/index.d.ts.map +1 -0
  128. package/renderer/html/index.js +130 -0
  129. package/renderer/image/index.d.ts +11 -0
  130. package/renderer/image/index.d.ts.map +1 -0
  131. package/renderer/image/index.js +156 -0
  132. package/renderer/index.d.ts +32 -0
  133. package/renderer/index.d.ts.map +1 -0
  134. package/renderer/index.js +2206 -0
  135. package/renderer/maps/index.d.ts +27 -0
  136. package/renderer/maps/index.d.ts.map +1 -0
  137. package/renderer/maps/index.js +248 -0
  138. package/renderer/math/index.d.ts +11 -0
  139. package/renderer/math/index.d.ts.map +1 -0
  140. package/renderer/math/index.js +260 -0
  141. package/renderer/mdx/index.d.ts +10 -0
  142. package/renderer/mdx/index.d.ts.map +1 -0
  143. package/renderer/mdx/index.js +292 -0
  144. package/renderer/media/index.d.ts +20 -0
  145. package/renderer/media/index.d.ts.map +1 -0
  146. package/renderer/media/index.js +266 -0
  147. package/renderer/mermaid/index.d.ts +11 -0
  148. package/renderer/mermaid/index.d.ts.map +1 -0
  149. package/renderer/mermaid/index.js +251 -0
  150. package/renderer/pdf/index.d.ts +10 -0
  151. package/renderer/pdf/index.d.ts.map +1 -0
  152. package/renderer/pdf/index.js +260 -0
  153. package/renderer/react/index.d.ts +45 -0
  154. package/renderer/react/index.d.ts.map +1 -0
  155. package/renderer/react/index.js +261 -0
  156. package/renderer/types.d.ts +24 -0
  157. package/renderer/types.d.ts.map +1 -0
  158. package/runtime/babel-runtime.d.ts +70 -0
  159. package/runtime/babel-runtime.d.ts.map +1 -0
  160. package/runtime/content-detector.d.ts +43 -0
  161. package/runtime/content-detector.d.ts.map +1 -0
  162. package/runtime/index.d.ts +10 -0
  163. package/runtime/index.d.ts.map +1 -0
  164. package/runtime/index.js +217 -0
  165. package/theme/FrontMcpThemeProvider.d.ts +4 -0
  166. package/theme/FrontMcpThemeProvider.d.ts.map +1 -0
  167. package/theme/create-theme.d.ts +9 -0
  168. package/theme/create-theme.d.ts.map +1 -0
  169. package/theme/index.d.ts +5 -0
  170. package/theme/index.d.ts.map +1 -0
  171. package/theme/index.js +126 -0
  172. package/theme/types.d.ts +28 -0
  173. package/theme/types.d.ts.map +1 -0
  174. package/theme/use-theme.d.ts +3 -0
  175. package/theme/use-theme.d.ts.map +1 -0
  176. package/bundler/browser-components.d.ts +0 -42
  177. package/bundler/browser-components.d.ts.map +0 -1
  178. package/bundler/bundler.d.ts +0 -282
  179. package/bundler/bundler.d.ts.map +0 -1
  180. package/bundler/index.d.ts +0 -43
  181. package/bundler/index.d.ts.map +0 -1
  182. package/bundler/index.js +0 -3168
  183. package/bundler/types.d.ts +0 -883
  184. package/bundler/types.d.ts.map +0 -1
  185. package/components/alert.d.ts +0 -83
  186. package/components/alert.d.ts.map +0 -1
  187. package/components/alert.schema.d.ts +0 -98
  188. package/components/alert.schema.d.ts.map +0 -1
  189. package/components/avatar.d.ts +0 -77
  190. package/components/avatar.d.ts.map +0 -1
  191. package/components/avatar.schema.d.ts +0 -170
  192. package/components/avatar.schema.d.ts.map +0 -1
  193. package/components/badge.d.ts +0 -78
  194. package/components/badge.d.ts.map +0 -1
  195. package/components/badge.schema.d.ts +0 -91
  196. package/components/badge.schema.d.ts.map +0 -1
  197. package/components/button.d.ts +0 -100
  198. package/components/button.d.ts.map +0 -1
  199. package/components/button.schema.d.ts +0 -120
  200. package/components/button.schema.d.ts.map +0 -1
  201. package/components/card.d.ts +0 -76
  202. package/components/card.d.ts.map +0 -1
  203. package/components/card.schema.d.ts +0 -93
  204. package/components/card.schema.d.ts.map +0 -1
  205. package/components/form.d.ts +0 -227
  206. package/components/form.d.ts.map +0 -1
  207. package/components/form.schema.d.ts +0 -365
  208. package/components/form.schema.d.ts.map +0 -1
  209. package/components/list.d.ts +0 -121
  210. package/components/list.d.ts.map +0 -1
  211. package/components/list.schema.d.ts +0 -129
  212. package/components/list.schema.d.ts.map +0 -1
  213. package/components/modal.d.ts +0 -100
  214. package/components/modal.d.ts.map +0 -1
  215. package/components/modal.schema.d.ts +0 -151
  216. package/components/modal.schema.d.ts.map +0 -1
  217. package/components/table.d.ts +0 -91
  218. package/components/table.d.ts.map +0 -1
  219. package/components/table.schema.d.ts +0 -123
  220. package/components/table.schema.d.ts.map +0 -1
  221. package/esm/bundler/index.mjs +0 -3136
  222. package/esm/layouts/index.mjs +0 -409
  223. package/esm/render/index.mjs +0 -45
  224. package/esm/renderers/index.mjs +0 -621
  225. package/esm/universal/index.mjs +0 -1946
  226. package/esm/web-components/index.mjs +0 -2023
  227. package/layouts/base.d.ts +0 -86
  228. package/layouts/base.d.ts.map +0 -1
  229. package/layouts/index.d.ts +0 -8
  230. package/layouts/index.d.ts.map +0 -1
  231. package/layouts/index.js +0 -437
  232. package/layouts/presets.d.ts +0 -134
  233. package/layouts/presets.d.ts.map +0 -1
  234. package/react/Alert.d.ts +0 -101
  235. package/react/Alert.d.ts.map +0 -1
  236. package/react/Badge.d.ts +0 -100
  237. package/react/Badge.d.ts.map +0 -1
  238. package/react/Button.d.ts +0 -108
  239. package/react/Button.d.ts.map +0 -1
  240. package/react/Card.d.ts +0 -103
  241. package/react/Card.d.ts.map +0 -1
  242. package/react/types.d.ts +0 -105
  243. package/react/types.d.ts.map +0 -1
  244. package/render/index.d.ts +0 -8
  245. package/render/index.d.ts.map +0 -1
  246. package/render/prerender.d.ts +0 -57
  247. package/render/prerender.d.ts.map +0 -1
  248. package/renderers/index.d.ts +0 -26
  249. package/renderers/index.d.ts.map +0 -1
  250. package/renderers/index.js +0 -666
  251. package/renderers/mdx.renderer.d.ts +0 -99
  252. package/renderers/mdx.renderer.d.ts.map +0 -1
  253. package/renderers/react.adapter.d.ts +0 -70
  254. package/renderers/react.adapter.d.ts.map +0 -1
  255. package/renderers/react.renderer.d.ts +0 -105
  256. package/renderers/react.renderer.d.ts.map +0 -1
  257. package/renderers/transpiler.d.ts +0 -49
  258. package/renderers/transpiler.d.ts.map +0 -1
  259. package/universal/UniversalApp.d.ts +0 -108
  260. package/universal/UniversalApp.d.ts.map +0 -1
  261. package/universal/cached-runtime.d.ts +0 -139
  262. package/universal/cached-runtime.d.ts.map +0 -1
  263. package/universal/context.d.ts +0 -122
  264. package/universal/context.d.ts.map +0 -1
  265. package/universal/index.d.ts +0 -57
  266. package/universal/index.d.ts.map +0 -1
  267. package/universal/index.js +0 -2032
  268. package/universal/renderers/html.renderer.d.ts +0 -36
  269. package/universal/renderers/html.renderer.d.ts.map +0 -1
  270. package/universal/renderers/index.d.ts +0 -112
  271. package/universal/renderers/index.d.ts.map +0 -1
  272. package/universal/renderers/markdown.renderer.d.ts +0 -33
  273. package/universal/renderers/markdown.renderer.d.ts.map +0 -1
  274. package/universal/renderers/mdx.renderer.d.ts +0 -38
  275. package/universal/renderers/mdx.renderer.d.ts.map +0 -1
  276. package/universal/renderers/react.renderer.d.ts +0 -46
  277. package/universal/renderers/react.renderer.d.ts.map +0 -1
  278. package/universal/runtime-builder.d.ts +0 -33
  279. package/universal/runtime-builder.d.ts.map +0 -1
  280. package/universal/store.d.ts +0 -135
  281. package/universal/store.d.ts.map +0 -1
  282. package/universal/types.d.ts +0 -199
  283. package/universal/types.d.ts.map +0 -1
  284. package/web-components/core/attribute-parser.d.ts +0 -82
  285. package/web-components/core/attribute-parser.d.ts.map +0 -1
  286. package/web-components/core/base-element.d.ts +0 -197
  287. package/web-components/core/base-element.d.ts.map +0 -1
  288. package/web-components/core/index.d.ts +0 -9
  289. package/web-components/core/index.d.ts.map +0 -1
  290. package/web-components/elements/fmcp-alert.d.ts +0 -46
  291. package/web-components/elements/fmcp-alert.d.ts.map +0 -1
  292. package/web-components/elements/fmcp-badge.d.ts +0 -47
  293. package/web-components/elements/fmcp-badge.d.ts.map +0 -1
  294. package/web-components/elements/fmcp-button.d.ts +0 -117
  295. package/web-components/elements/fmcp-button.d.ts.map +0 -1
  296. package/web-components/elements/fmcp-card.d.ts +0 -53
  297. package/web-components/elements/fmcp-card.d.ts.map +0 -1
  298. package/web-components/elements/fmcp-input.d.ts +0 -96
  299. package/web-components/elements/fmcp-input.d.ts.map +0 -1
  300. package/web-components/elements/fmcp-select.d.ts +0 -100
  301. package/web-components/elements/fmcp-select.d.ts.map +0 -1
  302. package/web-components/elements/index.d.ts +0 -13
  303. package/web-components/elements/index.d.ts.map +0 -1
  304. package/web-components/index.d.ts +0 -49
  305. package/web-components/index.d.ts.map +0 -1
  306. package/web-components/index.js +0 -2058
  307. package/web-components/register.d.ts +0 -57
  308. package/web-components/register.d.ts.map +0 -1
  309. package/web-components/types.d.ts +0 -122
  310. package/web-components/types.d.ts.map +0 -1
@@ -1,365 +0,0 @@
1
- /**
2
- * @file form.schema.ts
3
- * @description Zod schemas for Form component options validation.
4
- *
5
- * Provides strict validation schemas for all form-related components including
6
- * input, select, textarea, checkbox, radio groups, and form layouts.
7
- *
8
- * @example
9
- * ```typescript
10
- * import { InputOptionsSchema, SelectOptionsSchema } from '@frontmcp/ui';
11
- *
12
- * const inputResult = InputOptionsSchema.safeParse({
13
- * name: 'email',
14
- * type: 'email',
15
- * label: 'Email Address',
16
- * });
17
- * ```
18
- *
19
- * @module @frontmcp/ui/components/form.schema
20
- */
21
- import { z } from 'zod';
22
- /**
23
- * Input type enum schema
24
- */
25
- export declare const InputTypeSchema: z.ZodEnum<{
26
- number: "number";
27
- date: "date";
28
- text: "text";
29
- email: "email";
30
- password: "password";
31
- tel: "tel";
32
- url: "url";
33
- search: "search";
34
- time: "time";
35
- "datetime-local": "datetime-local";
36
- hidden: "hidden";
37
- }>;
38
- /**
39
- * Input type
40
- */
41
- export type InputType = z.infer<typeof InputTypeSchema>;
42
- /**
43
- * Input size enum schema
44
- */
45
- export declare const InputSizeSchema: z.ZodEnum<{
46
- sm: "sm";
47
- md: "md";
48
- lg: "lg";
49
- }>;
50
- /**
51
- * Input size type
52
- */
53
- export type InputSize = z.infer<typeof InputSizeSchema>;
54
- /**
55
- * Input state enum schema
56
- */
57
- export declare const InputStateSchema: z.ZodEnum<{
58
- success: "success";
59
- default: "default";
60
- warning: "warning";
61
- error: "error";
62
- }>;
63
- /**
64
- * Input state type
65
- */
66
- export type InputState = z.infer<typeof InputStateSchema>;
67
- /**
68
- * Complete input options schema
69
- */
70
- export declare const InputOptionsSchema: z.ZodObject<{
71
- type: z.ZodOptional<z.ZodEnum<{
72
- number: "number";
73
- date: "date";
74
- text: "text";
75
- email: "email";
76
- password: "password";
77
- tel: "tel";
78
- url: "url";
79
- search: "search";
80
- time: "time";
81
- "datetime-local": "datetime-local";
82
- hidden: "hidden";
83
- }>>;
84
- name: z.ZodString;
85
- id: z.ZodOptional<z.ZodString>;
86
- value: z.ZodOptional<z.ZodString>;
87
- placeholder: z.ZodOptional<z.ZodString>;
88
- label: z.ZodOptional<z.ZodString>;
89
- helper: z.ZodOptional<z.ZodString>;
90
- error: z.ZodOptional<z.ZodString>;
91
- size: z.ZodOptional<z.ZodEnum<{
92
- sm: "sm";
93
- md: "md";
94
- lg: "lg";
95
- }>>;
96
- state: z.ZodOptional<z.ZodEnum<{
97
- success: "success";
98
- default: "default";
99
- warning: "warning";
100
- error: "error";
101
- }>>;
102
- required: z.ZodOptional<z.ZodBoolean>;
103
- disabled: z.ZodOptional<z.ZodBoolean>;
104
- readonly: z.ZodOptional<z.ZodBoolean>;
105
- autocomplete: z.ZodOptional<z.ZodString>;
106
- pattern: z.ZodOptional<z.ZodString>;
107
- min: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
108
- max: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
109
- step: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
110
- className: z.ZodOptional<z.ZodString>;
111
- data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
112
- iconBefore: z.ZodOptional<z.ZodString>;
113
- iconAfter: z.ZodOptional<z.ZodString>;
114
- }, z.core.$strict>;
115
- /**
116
- * Input options type (derived from schema)
117
- */
118
- export type InputOptions = z.infer<typeof InputOptionsSchema>;
119
- /**
120
- * Select option item schema
121
- */
122
- export declare const SelectOptionItemSchema: z.ZodObject<{
123
- value: z.ZodString;
124
- label: z.ZodString;
125
- disabled: z.ZodOptional<z.ZodBoolean>;
126
- selected: z.ZodOptional<z.ZodBoolean>;
127
- }, z.core.$strict>;
128
- /**
129
- * Select option item type
130
- */
131
- export type SelectOptionItem = z.infer<typeof SelectOptionItemSchema>;
132
- /**
133
- * Complete select options schema
134
- */
135
- export declare const SelectOptionsSchema: z.ZodObject<{
136
- name: z.ZodString;
137
- id: z.ZodOptional<z.ZodString>;
138
- value: z.ZodOptional<z.ZodString>;
139
- placeholder: z.ZodOptional<z.ZodString>;
140
- label: z.ZodOptional<z.ZodString>;
141
- helper: z.ZodOptional<z.ZodString>;
142
- error: z.ZodOptional<z.ZodString>;
143
- size: z.ZodOptional<z.ZodEnum<{
144
- sm: "sm";
145
- md: "md";
146
- lg: "lg";
147
- }>>;
148
- state: z.ZodOptional<z.ZodEnum<{
149
- success: "success";
150
- default: "default";
151
- warning: "warning";
152
- error: "error";
153
- }>>;
154
- required: z.ZodOptional<z.ZodBoolean>;
155
- disabled: z.ZodOptional<z.ZodBoolean>;
156
- readonly: z.ZodOptional<z.ZodBoolean>;
157
- className: z.ZodOptional<z.ZodString>;
158
- data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
159
- iconBefore: z.ZodOptional<z.ZodString>;
160
- iconAfter: z.ZodOptional<z.ZodString>;
161
- options: z.ZodArray<z.ZodObject<{
162
- value: z.ZodString;
163
- label: z.ZodString;
164
- disabled: z.ZodOptional<z.ZodBoolean>;
165
- selected: z.ZodOptional<z.ZodBoolean>;
166
- }, z.core.$strict>>;
167
- multiple: z.ZodOptional<z.ZodBoolean>;
168
- }, z.core.$strict>;
169
- /**
170
- * Select options type
171
- */
172
- export type SelectOptions = z.infer<typeof SelectOptionsSchema>;
173
- /**
174
- * Textarea resize enum schema
175
- */
176
- export declare const TextareaResizeSchema: z.ZodEnum<{
177
- horizontal: "horizontal";
178
- vertical: "vertical";
179
- none: "none";
180
- both: "both";
181
- }>;
182
- /**
183
- * Complete textarea options schema
184
- */
185
- export declare const TextareaOptionsSchema: z.ZodObject<{
186
- name: z.ZodString;
187
- id: z.ZodOptional<z.ZodString>;
188
- value: z.ZodOptional<z.ZodString>;
189
- placeholder: z.ZodOptional<z.ZodString>;
190
- label: z.ZodOptional<z.ZodString>;
191
- helper: z.ZodOptional<z.ZodString>;
192
- error: z.ZodOptional<z.ZodString>;
193
- size: z.ZodOptional<z.ZodEnum<{
194
- sm: "sm";
195
- md: "md";
196
- lg: "lg";
197
- }>>;
198
- state: z.ZodOptional<z.ZodEnum<{
199
- success: "success";
200
- default: "default";
201
- warning: "warning";
202
- error: "error";
203
- }>>;
204
- required: z.ZodOptional<z.ZodBoolean>;
205
- disabled: z.ZodOptional<z.ZodBoolean>;
206
- readonly: z.ZodOptional<z.ZodBoolean>;
207
- autocomplete: z.ZodOptional<z.ZodString>;
208
- className: z.ZodOptional<z.ZodString>;
209
- data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
210
- iconBefore: z.ZodOptional<z.ZodString>;
211
- iconAfter: z.ZodOptional<z.ZodString>;
212
- rows: z.ZodOptional<z.ZodNumber>;
213
- resize: z.ZodOptional<z.ZodEnum<{
214
- horizontal: "horizontal";
215
- vertical: "vertical";
216
- none: "none";
217
- both: "both";
218
- }>>;
219
- }, z.core.$strict>;
220
- /**
221
- * Textarea options type
222
- */
223
- export type TextareaOptions = z.infer<typeof TextareaOptionsSchema>;
224
- /**
225
- * Complete checkbox options schema
226
- */
227
- export declare const CheckboxOptionsSchema: z.ZodObject<{
228
- name: z.ZodString;
229
- id: z.ZodOptional<z.ZodString>;
230
- value: z.ZodOptional<z.ZodString>;
231
- label: z.ZodString;
232
- checked: z.ZodOptional<z.ZodBoolean>;
233
- disabled: z.ZodOptional<z.ZodBoolean>;
234
- helper: z.ZodOptional<z.ZodString>;
235
- error: z.ZodOptional<z.ZodString>;
236
- className: z.ZodOptional<z.ZodString>;
237
- }, z.core.$strict>;
238
- /**
239
- * Checkbox options type
240
- */
241
- export type CheckboxOptions = z.infer<typeof CheckboxOptionsSchema>;
242
- /**
243
- * Radio option item schema
244
- */
245
- export declare const RadioOptionItemSchema: z.ZodObject<{
246
- value: z.ZodString;
247
- label: z.ZodString;
248
- disabled: z.ZodOptional<z.ZodBoolean>;
249
- }, z.core.$strict>;
250
- /**
251
- * Radio option item type
252
- */
253
- export type RadioOptionItem = z.infer<typeof RadioOptionItemSchema>;
254
- /**
255
- * Complete radio group options schema
256
- */
257
- export declare const RadioGroupOptionsSchema: z.ZodObject<{
258
- name: z.ZodString;
259
- options: z.ZodArray<z.ZodObject<{
260
- value: z.ZodString;
261
- label: z.ZodString;
262
- disabled: z.ZodOptional<z.ZodBoolean>;
263
- }, z.core.$strict>>;
264
- value: z.ZodOptional<z.ZodString>;
265
- label: z.ZodOptional<z.ZodString>;
266
- helper: z.ZodOptional<z.ZodString>;
267
- error: z.ZodOptional<z.ZodString>;
268
- direction: z.ZodOptional<z.ZodEnum<{
269
- horizontal: "horizontal";
270
- vertical: "vertical";
271
- }>>;
272
- className: z.ZodOptional<z.ZodString>;
273
- }, z.core.$strict>;
274
- /**
275
- * Radio group options type
276
- */
277
- export type RadioGroupOptions = z.infer<typeof RadioGroupOptionsSchema>;
278
- /**
279
- * Form method enum schema
280
- */
281
- export declare const FormMethodSchema: z.ZodEnum<{
282
- get: "get";
283
- post: "post";
284
- dialog: "dialog";
285
- }>;
286
- /**
287
- * Form enctype enum schema
288
- */
289
- export declare const FormEnctypeSchema: z.ZodEnum<{
290
- "application/x-www-form-urlencoded": "application/x-www-form-urlencoded";
291
- "multipart/form-data": "multipart/form-data";
292
- "text/plain": "text/plain";
293
- }>;
294
- /**
295
- * Complete form options schema
296
- */
297
- export declare const FormOptionsSchema: z.ZodObject<{
298
- action: z.ZodOptional<z.ZodString>;
299
- method: z.ZodOptional<z.ZodEnum<{
300
- get: "get";
301
- post: "post";
302
- dialog: "dialog";
303
- }>>;
304
- id: z.ZodOptional<z.ZodString>;
305
- enctype: z.ZodOptional<z.ZodEnum<{
306
- "application/x-www-form-urlencoded": "application/x-www-form-urlencoded";
307
- "multipart/form-data": "multipart/form-data";
308
- "text/plain": "text/plain";
309
- }>>;
310
- novalidate: z.ZodOptional<z.ZodBoolean>;
311
- autocomplete: z.ZodOptional<z.ZodEnum<{
312
- on: "on";
313
- off: "off";
314
- }>>;
315
- className: z.ZodOptional<z.ZodString>;
316
- }, z.core.$strict>;
317
- /**
318
- * Form options type
319
- */
320
- export type FormOptions = z.infer<typeof FormOptionsSchema>;
321
- /**
322
- * Form row options schema
323
- */
324
- export declare const FormRowOptionsSchema: z.ZodObject<{
325
- cols: z.ZodOptional<z.ZodNumber>;
326
- gap: z.ZodOptional<z.ZodEnum<{
327
- sm: "sm";
328
- md: "md";
329
- lg: "lg";
330
- }>>;
331
- className: z.ZodOptional<z.ZodString>;
332
- }, z.core.$strict>;
333
- /**
334
- * Form row options type
335
- */
336
- export type FormRowOptions = z.infer<typeof FormRowOptionsSchema>;
337
- /**
338
- * Form section options schema
339
- */
340
- export declare const FormSectionOptionsSchema: z.ZodObject<{
341
- title: z.ZodOptional<z.ZodString>;
342
- description: z.ZodOptional<z.ZodString>;
343
- className: z.ZodOptional<z.ZodString>;
344
- }, z.core.$strict>;
345
- /**
346
- * Form section options type
347
- */
348
- export type FormSectionOptions = z.infer<typeof FormSectionOptionsSchema>;
349
- /**
350
- * Form actions options schema
351
- */
352
- export declare const FormActionsOptionsSchema: z.ZodObject<{
353
- align: z.ZodOptional<z.ZodEnum<{
354
- left: "left";
355
- right: "right";
356
- center: "center";
357
- between: "between";
358
- }>>;
359
- className: z.ZodOptional<z.ZodString>;
360
- }, z.core.$strict>;
361
- /**
362
- * Form actions options type
363
- */
364
- export type FormActionsOptions = z.infer<typeof FormActionsOptionsSchema>;
365
- //# sourceMappingURL=form.schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,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;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;kBAO1B,CAAC;AAEZ;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -1,121 +0,0 @@
1
- /**
2
- * List Components
3
- *
4
- * Various list presentations including permission lists, feature lists, and data lists.
5
- */
6
- /**
7
- * Permission/Scope item for OAuth consent
8
- */
9
- export interface PermissionItem {
10
- /** Scope identifier */
11
- scope: string;
12
- /** Display name */
13
- name: string;
14
- /** Description */
15
- description?: string;
16
- /** Icon HTML */
17
- icon?: string;
18
- /** Required permission (cannot be unchecked) */
19
- required?: boolean;
20
- /** Checked by default */
21
- checked?: boolean;
22
- /** Sensitive/dangerous permission */
23
- sensitive?: boolean;
24
- }
25
- /**
26
- * Feature list item
27
- */
28
- export interface FeatureItem {
29
- /** Feature name */
30
- name: string;
31
- /** Feature description */
32
- description?: string;
33
- /** Icon HTML */
34
- icon?: string;
35
- /** Included in plan */
36
- included?: boolean;
37
- }
38
- /**
39
- * Description list item
40
- */
41
- export interface DescriptionItem {
42
- /** Term/label */
43
- term: string;
44
- /** Description/value */
45
- description: string;
46
- /** Copy button */
47
- copyable?: boolean;
48
- }
49
- /**
50
- * Permission list options
51
- */
52
- export interface PermissionListOptions {
53
- /** List ID */
54
- id?: string;
55
- /** Checkable permissions */
56
- checkable?: boolean;
57
- /** Input name for checkable */
58
- inputName?: string;
59
- /** Group title */
60
- title?: string;
61
- /** Additional CSS classes */
62
- className?: string;
63
- }
64
- /**
65
- * Build a permission list for OAuth consent
66
- */
67
- export declare function permissionList(permissions: PermissionItem[], options?: PermissionListOptions): string;
68
- /**
69
- * Feature list options
70
- */
71
- export interface FeatureListOptions {
72
- /** List style */
73
- style?: 'check' | 'bullet' | 'number';
74
- /** Icon for included items */
75
- includedIcon?: string;
76
- /** Icon for excluded items */
77
- excludedIcon?: string;
78
- /** Additional CSS classes */
79
- className?: string;
80
- }
81
- /**
82
- * Build a feature list
83
- */
84
- export declare function featureList(features: FeatureItem[], options?: FeatureListOptions): string;
85
- /**
86
- * Description list options
87
- */
88
- export interface DescriptionListOptions {
89
- /** Layout style */
90
- layout?: 'stacked' | 'horizontal' | 'grid';
91
- /** Dividers between items */
92
- dividers?: boolean;
93
- /** Additional CSS classes */
94
- className?: string;
95
- }
96
- /**
97
- * Build a description list
98
- */
99
- export declare function descriptionList(items: DescriptionItem[], options?: DescriptionListOptions): string;
100
- /**
101
- * Action list item
102
- */
103
- export interface ActionItem {
104
- /** Item label */
105
- label: string;
106
- /** Item description */
107
- description?: string;
108
- /** Icon HTML */
109
- icon?: string;
110
- /** Click URL */
111
- href?: string;
112
- /** Destructive action */
113
- destructive?: boolean;
114
- /** Disabled state */
115
- disabled?: boolean;
116
- }
117
- /**
118
- * Build an action list (menu-like)
119
- */
120
- export declare function actionList(items: ActionItem[], className?: string): string;
121
- //# sourceMappingURL=list.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../src/components/list.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,mBAAmB;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,kBAAkB;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qCAAqC;IACrC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,mBAAmB;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,0BAA0B;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB;IAChB,IAAI,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A6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,eAAe,EAAE,EAAE,OAAO,GAAE,sBAA2B,GAAG,MAAM,CA2FtG;AAMD;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yBAAyB;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,SAAS,SAAK,GAAG,MAAM,CA0CtE"}
@@ -1,129 +0,0 @@
1
- /**
2
- * @file list.schema.ts
3
- * @description Zod schemas for List component options validation.
4
- *
5
- * Provides strict validation schemas for permission lists, feature lists,
6
- * description lists, and action lists.
7
- *
8
- * @example
9
- * ```typescript
10
- * import { PermissionItemSchema, PermissionListOptionsSchema } from '@frontmcp/ui';
11
- *
12
- * const itemResult = PermissionItemSchema.safeParse({
13
- * scope: 'read:profile',
14
- * name: 'Read Profile',
15
- * });
16
- * ```
17
- *
18
- * @module @frontmcp/ui/components/list.schema
19
- */
20
- import { z } from 'zod';
21
- /**
22
- * Permission/Scope item schema for OAuth consent
23
- */
24
- export declare const PermissionItemSchema: z.ZodObject<{
25
- scope: z.ZodString;
26
- name: z.ZodString;
27
- description: z.ZodOptional<z.ZodString>;
28
- icon: z.ZodOptional<z.ZodString>;
29
- required: z.ZodOptional<z.ZodBoolean>;
30
- checked: z.ZodOptional<z.ZodBoolean>;
31
- sensitive: z.ZodOptional<z.ZodBoolean>;
32
- }, z.core.$strict>;
33
- /**
34
- * Permission item type
35
- */
36
- export type PermissionItem = z.infer<typeof PermissionItemSchema>;
37
- /**
38
- * Permission list options schema
39
- */
40
- export declare const PermissionListOptionsSchema: z.ZodObject<{
41
- id: z.ZodOptional<z.ZodString>;
42
- checkable: z.ZodOptional<z.ZodBoolean>;
43
- inputName: z.ZodOptional<z.ZodString>;
44
- title: z.ZodOptional<z.ZodString>;
45
- className: z.ZodOptional<z.ZodString>;
46
- }, z.core.$strict>;
47
- /**
48
- * Permission list options type
49
- */
50
- export type PermissionListOptions = z.infer<typeof PermissionListOptionsSchema>;
51
- /**
52
- * Feature list item schema
53
- */
54
- export declare const FeatureItemSchema: z.ZodObject<{
55
- name: z.ZodString;
56
- description: z.ZodOptional<z.ZodString>;
57
- icon: z.ZodOptional<z.ZodString>;
58
- included: z.ZodOptional<z.ZodBoolean>;
59
- }, z.core.$strict>;
60
- /**
61
- * Feature item type
62
- */
63
- export type FeatureItem = z.infer<typeof FeatureItemSchema>;
64
- /**
65
- * Feature list options schema
66
- */
67
- export declare const FeatureListOptionsSchema: z.ZodObject<{
68
- title: z.ZodOptional<z.ZodString>;
69
- showStatus: z.ZodOptional<z.ZodBoolean>;
70
- className: z.ZodOptional<z.ZodString>;
71
- }, z.core.$strict>;
72
- /**
73
- * Feature list options type
74
- */
75
- export type FeatureListOptions = z.infer<typeof FeatureListOptionsSchema>;
76
- /**
77
- * Description list item schema
78
- */
79
- export declare const DescriptionItemSchema: z.ZodObject<{
80
- term: z.ZodString;
81
- description: z.ZodString;
82
- copyable: z.ZodOptional<z.ZodBoolean>;
83
- }, z.core.$strict>;
84
- /**
85
- * Description item type
86
- */
87
- export type DescriptionItem = z.infer<typeof DescriptionItemSchema>;
88
- /**
89
- * Description list options schema
90
- */
91
- export declare const DescriptionListOptionsSchema: z.ZodObject<{
92
- direction: z.ZodOptional<z.ZodEnum<{
93
- horizontal: "horizontal";
94
- vertical: "vertical";
95
- }>>;
96
- striped: z.ZodOptional<z.ZodBoolean>;
97
- className: z.ZodOptional<z.ZodString>;
98
- }, z.core.$strict>;
99
- /**
100
- * Description list options type
101
- */
102
- export type DescriptionListOptions = z.infer<typeof DescriptionListOptionsSchema>;
103
- /**
104
- * Action list item schema
105
- */
106
- export declare const ActionItemSchema: z.ZodObject<{
107
- label: z.ZodString;
108
- description: z.ZodOptional<z.ZodString>;
109
- icon: z.ZodOptional<z.ZodString>;
110
- href: z.ZodOptional<z.ZodString>;
111
- destructive: z.ZodOptional<z.ZodBoolean>;
112
- disabled: z.ZodOptional<z.ZodBoolean>;
113
- }, z.core.$strict>;
114
- /**
115
- * Action item type
116
- */
117
- export type ActionItem = z.infer<typeof ActionItemSchema>;
118
- /**
119
- * Action list options schema
120
- */
121
- export declare const ActionListOptionsSchema: z.ZodObject<{
122
- divided: z.ZodOptional<z.ZodBoolean>;
123
- className: z.ZodOptional<z.ZodString>;
124
- }, z.core.$strict>;
125
- /**
126
- * Action list options type
127
- */
128
- export type ActionListOptions = z.infer<typeof ActionListOptionsSchema>;
129
- //# sourceMappingURL=list.schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"list.schema.d.ts","sourceRoot":"","sources":["../../src/components/list.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;kBAiBtB,CAAC;AAEZ;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;kBAa7B,CAAC;AAEZ;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAMhF;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;kBAWnB,CAAC;AAEZ;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,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