@k8ordo/ui 3.0.0 → 4.0.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.
Files changed (264) hide show
  1. package/README.md +73 -182
  2. package/dist/{integrations/_shared → catalog}/icon-map.d.mts +4 -2
  3. package/dist/catalog/icon-map.mjs +212 -0
  4. package/dist/catalog/icon-names.d.mts +1 -0
  5. package/dist/{integrations/_shared → catalog}/icon-names.mjs +3 -1
  6. package/dist/catalog/index.d.mts +1289 -0
  7. package/dist/catalog/index.mjs +419 -0
  8. package/dist/catalog/render.css +34 -0
  9. package/dist/catalog/render.d.mts +72 -0
  10. package/dist/catalog/render.mjs +631 -0
  11. package/dist/catalog/render.module.mjs +11 -0
  12. package/dist/{integrations/_shared → catalog}/schemas.d.mts +120 -132
  13. package/dist/{integrations/_shared → catalog}/schemas.mjs +189 -131
  14. package/dist/catalog/to-tree.d.mts +4 -0
  15. package/dist/catalog/to-tree.mjs +17 -0
  16. package/dist/components/_internal/checked-values.d.mts +1 -0
  17. package/dist/components/_internal/checked-values.mjs +5 -0
  18. package/dist/components/_internal/field-message.css +25 -0
  19. package/dist/components/_internal/field-message.d.mts +10 -0
  20. package/dist/components/_internal/field-message.mjs +22 -0
  21. package/dist/components/_internal/field-message.module.mjs +9 -0
  22. package/dist/components/_internal/focus-ring.css +1 -1
  23. package/dist/components/_internal/high-contrast.css +1 -0
  24. package/dist/components/{observers/in-view → _internal}/in-view.mjs +1 -1
  25. package/dist/components/{observers/resize → _internal}/resize.mjs +1 -1
  26. package/dist/components/ai/_internal/attachment-preview.mjs +1 -1
  27. package/dist/components/ai/_internal/collapsible.mjs +1 -1
  28. package/dist/components/ai/attachment/attachment.d.mts +1 -1
  29. package/dist/components/ai/attachment/index.d.mts +1 -1
  30. package/dist/components/ai/conversation/conversation.mjs +4 -4
  31. package/dist/components/ai/index.d.mts +2 -2
  32. package/dist/components/ai/message/index.d.mts +2 -2
  33. package/dist/components/ai/message/message.d.mts +2 -2
  34. package/dist/components/ai/message/message.mjs +9 -9
  35. package/dist/components/ai/prompt-input/prompt-input.mjs +4 -4
  36. package/dist/components/ai/source/index.d.mts +2 -2
  37. package/dist/components/ai/source/source.d.mts +2 -2
  38. package/dist/components/ai/source/source.mjs +1 -1
  39. package/dist/components/ai/tool-invocation/approval-bar.mjs +11 -22
  40. package/dist/components/ai/tool-invocation/tool-invocation.d.mts +2 -2
  41. package/dist/components/buttons/button/button.css +1 -1
  42. package/dist/components/buttons/button/button.d.mts +34 -37
  43. package/dist/components/buttons/button/button.mjs +37 -24
  44. package/dist/components/buttons/button/button.module.mjs +0 -1
  45. package/dist/components/buttons/button/index.d.mts +2 -2
  46. package/dist/components/buttons/copy-button/copy-button.mjs +4 -4
  47. package/dist/components/buttons/icon-button/icon-button.css +3 -3
  48. package/dist/components/buttons/icon-button/icon-button.d.mts +37 -43
  49. package/dist/components/buttons/icon-button/icon-button.mjs +73 -63
  50. package/dist/components/buttons/icon-button/icon-button.module.mjs +2 -2
  51. package/dist/components/buttons/icon-button/index.d.mts +2 -2
  52. package/dist/components/buttons/toolbar/toolbar.css +5 -1
  53. package/dist/components/buttons/toolbar/toolbar.mjs +1 -1
  54. package/dist/components/data-display/accordion/accordion-button.d.mts +4 -1
  55. package/dist/components/data-display/accordion/accordion-button.mjs +4 -4
  56. package/dist/components/data-display/accordion/index.d.mts +3 -3
  57. package/dist/components/data-display/card/card-action.d.mts +6 -0
  58. package/dist/components/data-display/card/card-action.mjs +21 -0
  59. package/dist/components/data-display/card/card.css +24 -0
  60. package/dist/components/data-display/card/card.d.mts +26 -3
  61. package/dist/components/data-display/card/card.mjs +46 -6
  62. package/dist/components/data-display/card/card.module.mjs +4 -1
  63. package/dist/components/data-display/card/index.d.mts +2 -2
  64. package/dist/components/data-display/carousel/carousel.mjs +2 -2
  65. package/dist/components/data-display/code/code.css +4 -0
  66. package/dist/components/data-display/code-block/code-block.mjs +1 -1
  67. package/dist/components/data-display/data-table/data-table.css +0 -3
  68. package/dist/components/data-display/data-table/data-table.mjs +25 -26
  69. package/dist/components/data-display/tree/tree.d.mts +1 -1
  70. package/dist/components/data-display/tree/tree.mjs +6 -5
  71. package/dist/components/feedback/alert/alert.d.mts +2 -7
  72. package/dist/components/feedback/alert/alert.mjs +11 -11
  73. package/dist/components/feedback/alert/index.d.mts +2 -2
  74. package/dist/components/feedback/callout/callout.mjs +2 -2
  75. package/dist/components/feedback/progress/progress.mjs +1 -1
  76. package/dist/components/feedback/toast/context.d.mts +4 -5
  77. package/dist/components/feedback/toast/index.d.mts +2 -2
  78. package/dist/components/feedback/toast/provider.d.mts +7 -2
  79. package/dist/components/feedback/toast/provider.mjs +7 -2
  80. package/dist/components/feedback/toast/toast.d.mts +2 -3
  81. package/dist/components/form/autocomplete/autocomplete.d.mts +2 -2
  82. package/dist/components/form/autocomplete/autocomplete.mjs +12 -9
  83. package/dist/components/form/calendar/calendar.mjs +3 -5
  84. package/dist/components/form/checkbox/checkbox.d.mts +3 -1
  85. package/dist/components/form/checkbox/checkbox.mjs +44 -45
  86. package/dist/components/form/checkbox-card/checkbox-card.d.mts +3 -2
  87. package/dist/components/form/checkbox-card/checkbox-card.mjs +13 -6
  88. package/dist/components/form/checkbox-group/checkbox-group.d.mts +15 -20
  89. package/dist/components/form/checkbox-group/checkbox-group.mjs +18 -26
  90. package/dist/components/form/checkbox-group/index.d.mts +2 -34
  91. package/dist/components/form/checkbox-group/index.mjs +1 -8
  92. package/dist/components/form/color-picker/color-picker.css +3 -5
  93. package/dist/components/form/color-picker/color-picker.d.mts +0 -1
  94. package/dist/components/form/color-picker/color-picker.mjs +4 -4
  95. package/dist/components/form/combobox/combobox.d.mts +0 -1
  96. package/dist/components/form/combobox/combobox.mjs +9 -8
  97. package/dist/components/form/date-picker/date-picker.css +0 -5
  98. package/dist/components/form/date-picker/date-picker.mjs +21 -22
  99. package/dist/components/form/file-field/file-field.d.mts +6 -3
  100. package/dist/components/form/file-field/file-field.mjs +41 -18
  101. package/dist/components/form/file-field/index.d.mts +4 -1
  102. package/dist/components/form/form/form.mjs +0 -1
  103. package/dist/components/form/form-control/form-control.css +0 -15
  104. package/dist/components/form/form-control/form-control.d.mts +3 -4
  105. package/dist/components/form/form-control/form-control.mjs +44 -46
  106. package/dist/components/form/form-control/form-control.module.mjs +0 -3
  107. package/dist/components/form/number-field/number-field.d.mts +2 -2
  108. package/dist/components/form/number-field/number-field.mjs +13 -52
  109. package/dist/components/form/password-input/password-input.mjs +1 -1
  110. package/dist/components/form/radio/radio.mjs +4 -2
  111. package/dist/components/form/radio-card/radio-card.mjs +9 -2
  112. package/dist/components/form/range-slider/range-slider.d.mts +4 -2
  113. package/dist/components/form/range-slider/range-slider.mjs +2 -4
  114. package/dist/components/form/select/select.css +6 -4
  115. package/dist/components/form/select/select.d.mts +5 -0
  116. package/dist/components/form/select/select.mjs +10 -7
  117. package/dist/components/form/slider/slider.d.mts +2 -2
  118. package/dist/components/form/slider/slider.mjs +3 -6
  119. package/dist/components/form/switch/switch.d.mts +3 -0
  120. package/dist/components/form/switch/switch.mjs +43 -31
  121. package/dist/components/form/text-field/index.d.mts +2 -2
  122. package/dist/components/form/text-field/text-field.css +4 -0
  123. package/dist/components/form/text-field/text-field.d.mts +1 -1
  124. package/dist/components/form/textarea/textarea.d.mts +0 -1
  125. package/dist/components/form/textarea/textarea.mjs +1 -1
  126. package/dist/components/icons/base.d.mts +0 -1
  127. package/dist/components/icons/base.mjs +1 -2
  128. package/dist/components/icons/clipboard-check.d.mts +3 -0
  129. package/dist/components/icons/clipboard-check.mjs +18 -0
  130. package/dist/components/icons/git-pull-request.d.mts +3 -0
  131. package/dist/components/icons/git-pull-request.mjs +20 -0
  132. package/dist/components/icons/index.d.mts +9 -7
  133. package/dist/components/icons/index.mjs +30 -28
  134. package/dist/components/index.d.mts +58 -66
  135. package/dist/components/index.mjs +13 -19
  136. package/dist/components/layout/resizable-panels/resizable-panels.mjs +3 -3
  137. package/dist/components/navigation/anchor/anchor.css +3 -3
  138. package/dist/components/navigation/anchor/anchor.mjs +20 -7
  139. package/dist/components/navigation/anchor/anchor.module.mjs +1 -1
  140. package/dist/components/navigation/breadcrumb/breadcrumb.d.mts +6 -4
  141. package/dist/components/navigation/breadcrumb/breadcrumb.mjs +3 -2
  142. package/dist/components/navigation/pagination/pagination.d.mts +2 -2
  143. package/dist/components/navigation/pagination/pagination.mjs +2 -2
  144. package/dist/components/navigation/side-nav/side-nav.mjs +1 -1
  145. package/dist/components/navigation/stepper/stepper.mjs +3 -3
  146. package/dist/components/navigation/tabs/index.d.mts +10 -5
  147. package/dist/components/navigation/tabs/tabs.d.mts +11 -6
  148. package/dist/components/navigation/tabs/tabs.mjs +24 -27
  149. package/dist/components/overlays/_internal/modal-header.css +38 -0
  150. package/dist/components/overlays/_internal/modal-header.d.mts +7 -0
  151. package/dist/components/overlays/_internal/modal-header.mjs +32 -0
  152. package/dist/components/overlays/_internal/modal-header.module.mjs +10 -0
  153. package/dist/components/overlays/command-palette/command-palette.d.mts +2 -2
  154. package/dist/components/overlays/command-palette/command-palette.mjs +9 -8
  155. package/dist/components/overlays/context-menu/context-menu.mjs +3 -3
  156. package/dist/components/overlays/context-menu/index.d.mts +27 -2
  157. package/dist/components/overlays/dialog/dialog.css +3 -21
  158. package/dist/components/overlays/dialog/dialog.d.mts +20 -9
  159. package/dist/components/overlays/dialog/dialog.mjs +35 -73
  160. package/dist/components/overlays/dialog/dialog.module.mjs +1 -3
  161. package/dist/components/overlays/dialog/index.d.mts +2 -15
  162. package/dist/components/overlays/dialog/index.mjs +1 -8
  163. package/dist/components/overlays/drawer/drawer.css +4 -26
  164. package/dist/components/overlays/drawer/drawer.d.mts +7 -2
  165. package/dist/components/overlays/drawer/drawer.mjs +24 -37
  166. package/dist/components/overlays/drawer/drawer.module.mjs +2 -6
  167. package/dist/components/overlays/dropdown-menu/dropdown-menu.d.mts +35 -5
  168. package/dist/components/overlays/dropdown-menu/dropdown-menu.mjs +29 -11
  169. package/dist/components/overlays/dropdown-menu/hooks.d.mts +1 -1
  170. package/dist/components/overlays/dropdown-menu/hooks.mjs +1 -1
  171. package/dist/components/overlays/dropdown-menu/index.d.mts +34 -4
  172. package/dist/components/overlays/dropdown-menu/shared.css +1 -0
  173. package/dist/components/overlays/dropdown-menu/sub-menu.mjs +4 -4
  174. package/dist/components/overlays/list-box/hooks.mjs +2 -2
  175. package/dist/components/overlays/list-box/index.d.mts +2 -25
  176. package/dist/components/overlays/list-box/index.mjs +1 -9
  177. package/dist/components/overlays/list-box/list-box.d.mts +11 -16
  178. package/dist/components/overlays/list-box/list-box.mjs +23 -16
  179. package/dist/components/overlays/modal/modal.d.mts +8 -7
  180. package/dist/components/overlays/modal/modal.mjs +23 -32
  181. package/dist/components/overlays/popover/anchor-positioning.d.mts +3 -16
  182. package/dist/components/overlays/popover/anchor-positioning.mjs +14 -6
  183. package/dist/components/overlays/popover/hooks.d.mts +0 -2
  184. package/dist/components/overlays/popover/hooks.mjs +0 -2
  185. package/dist/components/overlays/popover/index.d.mts +19 -2
  186. package/dist/components/overlays/popover/index.mjs +7 -2
  187. package/dist/components/overlays/popover/popover.css +6 -0
  188. package/dist/components/overlays/popover/popover.d.mts +15 -2
  189. package/dist/components/overlays/popover/popover.mjs +28 -13
  190. package/dist/components/overlays/popover/popover.module.mjs +2 -1
  191. package/dist/components/overlays/tooltip/bridge.css +1 -1
  192. package/dist/components/overlays/tooltip/tooltip.mjs +5 -5
  193. package/dist/helpers/index.mjs +1 -1
  194. package/dist/i18n/en.mjs +1 -2
  195. package/dist/i18n/index.d.mts +3 -4
  196. package/dist/i18n/index.mjs +1 -2
  197. package/dist/i18n/ja.mjs +1 -2
  198. package/dist/i18n/messages.d.mts +2 -4
  199. package/dist/i18n/usage.d.mts +2 -1
  200. package/dist/i18n/usage.mjs +3 -3
  201. package/dist/index.d.mts +30 -36
  202. package/dist/index.mjs +4 -10
  203. package/dist/internal/iso-date.mjs +1 -1
  204. package/dist/styles/index.css +79 -225
  205. package/dist/styles/tailwind.css +1 -1
  206. package/dist/styles/tokens.css +281 -0
  207. package/dist/styles/tokens.d.mts +1 -1
  208. package/dist/styles/tokens.mjs +1 -1
  209. package/dist/types/index.d.mts +2 -2
  210. package/dist/types/variables.d.mts +4 -2
  211. package/docs/GUIDE.md +141 -66
  212. package/docs/llms.txt +38 -11
  213. package/docs/props.generated.json +752 -481
  214. package/docs/references/ai-chat.md +87 -39
  215. package/docs/references/color.md +15 -15
  216. package/docs/references/components.md +568 -499
  217. package/docs/references/generative-ui.md +373 -185
  218. package/docs/references/interaction-design.md +6 -5
  219. package/docs/references/spatial-design.md +8 -8
  220. package/docs/references/types.md +22 -25
  221. package/package.json +37 -70
  222. package/dist/components/form/date-field/date-field.css +0 -31
  223. package/dist/components/form/date-field/date-field.d.mts +0 -7
  224. package/dist/components/form/date-field/date-field.mjs +0 -19
  225. package/dist/components/form/date-field/date-field.module.mjs +0 -4
  226. package/dist/components/form/date-field/index.d.mts +0 -2
  227. package/dist/components/form/date-field/index.mjs +0 -1
  228. package/dist/components/observers/in-view/index.d.mts +0 -2
  229. package/dist/components/observers/in-view/index.mjs +0 -1
  230. package/dist/components/observers/resize/index.d.mts +0 -2
  231. package/dist/components/observers/resize/index.mjs +0 -1
  232. package/dist/components/overlays/_internal/modal-dialog-context.d.mts +0 -11
  233. package/dist/components/overlays/_internal/modal-dialog-context.mjs +0 -12
  234. package/dist/components/providers/index.d.mts +0 -3
  235. package/dist/components/providers/index.mjs +0 -3
  236. package/dist/components/providers/portal-root.d.mts +0 -8
  237. package/dist/components/providers/portal-root.mjs +0 -11
  238. package/dist/components/providers/ui-provider.d.mts +0 -2
  239. package/dist/components/providers/ui-provider.mjs +0 -6
  240. package/dist/integrations/_shared/icon-map.mjs +0 -208
  241. package/dist/integrations/_shared/icon-names.d.mts +0 -1
  242. package/dist/integrations/_shared/openui-defs.d.mts +0 -15
  243. package/dist/integrations/_shared/openui-defs.mjs +0 -230
  244. package/dist/integrations/_shared/renderers.css +0 -50
  245. package/dist/integrations/_shared/renderers.d.mts +0 -88
  246. package/dist/integrations/_shared/renderers.mjs +0 -880
  247. package/dist/integrations/_shared/renderers.module.mjs +0 -13
  248. package/dist/integrations/ai-sdk/index.d.mts +0 -3
  249. package/dist/integrations/ai-sdk/index.mjs +0 -1
  250. package/dist/integrations/ai-sdk/map-parts.d.mts +0 -44
  251. package/dist/integrations/ai-sdk/map-parts.mjs +0 -56
  252. package/dist/integrations/json-render/catalog.d.mts +0 -1359
  253. package/dist/integrations/json-render/catalog.mjs +0 -373
  254. package/dist/integrations/json-render/registry.d.mts +0 -26
  255. package/dist/integrations/json-render/registry.mjs +0 -192
  256. package/dist/integrations/openui/form-views.d.mts +0 -24
  257. package/dist/integrations/openui/form-views.mjs +0 -89
  258. package/dist/integrations/openui/library.d.mts +0 -202
  259. package/dist/integrations/openui/library.mjs +0 -83
  260. package/dist/integrations/openui/prompt.d.mts +0 -2
  261. package/dist/integrations/openui/prompt.mjs +0 -18
  262. /package/dist/components/{observers → _internal}/fragment-instance.d.mts +0 -0
  263. /package/dist/components/{observers/in-view → _internal}/in-view.d.mts +0 -0
  264. /package/dist/components/{observers/resize → _internal}/resize.d.mts +0 -0
@@ -1,373 +0,0 @@
1
- import { accordionProps, alertProps, anchorProps, autocompleteProps, avatarProps, badgeProps, breadcrumbProps, buttonProps, calendarProps, calloutProps, cardProps, carouselProps, checkboxCardProps, checkboxGroupProps, checkboxProps, chevronIconProps, codeProps, colorPickerProps, comboboxProps, copyButtonProps, dataTableProps, dateFieldProps, datePickerProps, dialogProps, drawerProps, dropdownMenuProps, emptyStateProps, fileFieldProps, formControlProps, formProps, gridProps, headingProps, iconButtonProps, iconProps, kbdProps, listBoxProps, modalProps, numberFieldProps, paginationProps, passwordInputProps, popoverProps, progressProps, radioCardProps, radioProps, rangeSliderProps, selectProps, separatorProps, sideNavProps, skeletonProps, sliderProps, spinnerProps, stackProps, statusIconProps, stepperProps, switchProps, tableProps, tabsProps, textFieldProps, textareaProps, toastProps, toolbarProps, tooltipProps, treeProps } from "../_shared/schemas.mjs";
2
- import { autoFixSpec, defineCatalog, isNonEmptySpec, validateSpec } from "@json-render/core";
3
- import { schema } from "@json-render/react/schema";
4
- // src/integrations/json-render/catalog.ts
5
- /**
6
- * `@k8ordo/ui/json-render`(サーバー安全)
7
- *
8
- * LLM が生成してよい部品の契約(Zod スキーマのみ)。React に依存しないので
9
- * RSC のサーバーコンポーネントから import して `catalog.prompt()` で
10
- * システムプロンプトを生成できる。
11
- *
12
- * 実際の描画は `@k8ordo/ui/json-render/registry`('use client')。
13
- */
14
- const catalog = defineCatalog(schema, {
15
- components: {
16
- Stack: {
17
- props: stackProps,
18
- slots: ["default"],
19
- description: "Layout container that places its children in a row or a column with even spacing. gap sets the space between children and padding (none to xl) the space inside; give a section padding when it needs room around its content."
20
- },
21
- Grid: {
22
- props: gridProps,
23
- slots: ["default"],
24
- description: "Places its children in a grid. Set cols (1 to 6, auto-fill, or auto-fit) and gap; with auto-fill or auto-fit, minItemSize sets the smallest size of each cell."
25
- },
26
- Button: {
27
- props: buttonProps,
28
- description: "Action button. With href it renders as a link (<a>)."
29
- },
30
- Card: {
31
- props: cardProps,
32
- slots: ["default"],
33
- description: "Card that groups content (a container). size (sm/md/lg, default md) sets its inner padding, so a Stack inside it needs no padding of its own. interactive makes it scale up on hover."
34
- },
35
- Badge: {
36
- props: badgeProps,
37
- description: "Badge for a status or a label."
38
- },
39
- Heading: {
40
- props: headingProps,
41
- description: "Heading (h1 to h6)."
42
- },
43
- Alert: {
44
- props: alertProps,
45
- description: "Alert that reports a status. message is a string or an array of strings."
46
- },
47
- Callout: {
48
- props: calloutProps,
49
- description: "Note inside the content (a tip, a caveat). Unlike Alert, it is not announced as a status. content is plain text; label is an optional bold line above it."
50
- },
51
- Spinner: {
52
- props: spinnerProps,
53
- description: "Loading spinner."
54
- },
55
- Separator: {
56
- props: separatorProps,
57
- description: "Divider line."
58
- },
59
- TextField: {
60
- props: textFieldProps,
61
- description: "Single-line text input. defaultValue can be bound to state with $bindState."
62
- },
63
- Checkbox: {
64
- props: checkboxProps,
65
- description: "Checkbox. defaultChecked can be bound to state with $bindState."
66
- },
67
- Switch: {
68
- props: switchProps,
69
- description: "On/off switch. defaultChecked can be bound to state with $bindState."
70
- },
71
- Select: {
72
- props: selectProps,
73
- description: "Dropdown select. defaultValue can be bound to state with $bindState."
74
- },
75
- Tabs: {
76
- props: tabsProps,
77
- description: "Tabs. Each tab has a label and text content."
78
- },
79
- Accordion: {
80
- props: accordionProps,
81
- description: "Accordion of items that open and close. Each item has a title and text content."
82
- },
83
- Stepper: {
84
- props: stepperProps,
85
- description: "Steps of a process in order, marking the ones done and the current one (display only)."
86
- },
87
- Breadcrumb: {
88
- props: breadcrumbProps,
89
- description: "Breadcrumb trail."
90
- },
91
- DataTable: {
92
- props: dataTableProps,
93
- description: "Table the reader can sort (by the columns marked sortable) and, with selectable, pick rows from. Use it for records someone works through; use Table for data only read."
94
- },
95
- Tree: {
96
- props: treeProps,
97
- description: "Tree of nodes that open and close, such as files and folders, navigable with the arrow keys. List every node flat; a child names its parent by parentId."
98
- },
99
- SideNav: {
100
- props: sideNavProps,
101
- description: "Side navigation: groups of links, each group under a small title. Mark the page being shown with current: true."
102
- },
103
- Table: {
104
- props: tableProps,
105
- description: "Table with columns (the headers) and rows (the cell strings of each row)."
106
- },
107
- Anchor: {
108
- props: anchorProps,
109
- description: "Text link."
110
- },
111
- Avatar: {
112
- props: avatarProps,
113
- description: "Avatar (an image or initials)."
114
- },
115
- Code: {
116
- props: codeProps,
117
- description: "Inline code or value."
118
- },
119
- Kbd: {
120
- props: kbdProps,
121
- description: "Keyboard shortcut. keys lists the keys pressed together, and each is drawn as its own key cap."
122
- },
123
- EmptyState: {
124
- props: emptyStateProps,
125
- description: "Placeholder for a list, table, or search with nothing to show: a title, an optional description, and an optional icon."
126
- },
127
- Carousel: {
128
- props: carouselProps,
129
- slots: ["default"],
130
- description: "Horizontally scrolling carousel with previous and next buttons. Each child is one slide. slideSize sets how much of the track one slide takes (full, lg, md for two, sm for three)."
131
- },
132
- Progress: {
133
- props: progressProps,
134
- description: "Progress bar. Leave value out when progress is unknown; it then shows an animated bar."
135
- },
136
- Skeleton: {
137
- props: skeletonProps,
138
- description: "Loading placeholder."
139
- },
140
- Icon: {
141
- props: iconProps,
142
- description: "Icon, chosen by name."
143
- },
144
- ChevronIcon: {
145
- props: chevronIconProps,
146
- description: "Arrow icon. direction sets which way it points."
147
- },
148
- StatusIcon: {
149
- props: statusIconProps,
150
- description: "Icon for a status (success/info/warning/error). It is decorative; to show a message, use Alert."
151
- },
152
- IconButton: {
153
- props: iconButtonProps,
154
- description: "Icon-only button (label is required and shown as its tooltip)."
155
- },
156
- CopyButton: {
157
- props: copyButtonProps,
158
- description: "Button that copies value to the clipboard and confirms it. With iconOnly, label becomes its tooltip."
159
- },
160
- Textarea: {
161
- props: textareaProps,
162
- description: "Multi-line text input. defaultValue can be bound to state with $bindState."
163
- },
164
- PasswordInput: {
165
- props: passwordInputProps,
166
- description: "Password input. defaultValue can be bound to state with $bindState."
167
- },
168
- NumberField: {
169
- props: numberFieldProps,
170
- description: "Number input. defaultValue can be bound to state with $bindState."
171
- },
172
- Slider: {
173
- props: sliderProps,
174
- description: "Slider. defaultValue can be bound to state with $bindState."
175
- },
176
- RangeSlider: {
177
- props: rangeSliderProps,
178
- description: "Slider with two thumbs for picking a range. defaultValue ([lower, upper]) can be bound to state with $bindState."
179
- },
180
- DateField: {
181
- props: dateFieldProps,
182
- description: "Date input with a visible label. Dates are YYYY-MM-DD strings. defaultValue can be bound to state with $bindState."
183
- },
184
- DatePicker: {
185
- props: datePickerProps,
186
- description: "Date input with a visible label and a button that opens a calendar. Dates are YYYY-MM-DD strings. defaultValue can be bound to state with $bindState."
187
- },
188
- Calendar: {
189
- props: calendarProps,
190
- description: "Month calendar shown inline for picking one day (YYYY-MM-DD). It submits nothing; in a form, use DatePicker. defaultValue can be bound to state with $bindState."
191
- },
192
- ColorPicker: {
193
- props: colorPickerProps,
194
- description: "Color input with a visible label: a #rrggbb text field, hue / saturation / lightness sliders, and optional preset swatches. defaultValue can be bound to state with $bindState."
195
- },
196
- Radio: {
197
- props: radioProps,
198
- description: "Radio buttons for a single choice. defaultValue can be bound to state with $bindState."
199
- },
200
- RadioCard: {
201
- props: radioCardProps,
202
- description: "Single choice presented as cards. defaultValue can be bound to state with $bindState."
203
- },
204
- CheckboxCard: {
205
- props: checkboxCardProps,
206
- description: "Multiple choice presented as cards. defaultValue can be bound to state with $bindState."
207
- },
208
- Pagination: {
209
- props: paginationProps,
210
- description: "Pagination. defaultPage can be bound to state with $bindState."
211
- },
212
- Form: {
213
- props: formProps,
214
- slots: ["default"],
215
- description: "Wrapper for form elements (a vertical layout)."
216
- },
217
- Modal: {
218
- props: modalProps,
219
- slots: ["default"],
220
- description: "Modal dialog. A self-contained widget that opens from a button labeled triggerLabel."
221
- },
222
- Dialog: {
223
- props: dialogProps,
224
- slots: ["default"],
225
- description: "Centered dialog that opens from a button labeled triggerLabel."
226
- },
227
- Drawer: {
228
- props: drawerProps,
229
- slots: ["default"],
230
- description: "Side drawer that opens from a button labeled triggerLabel."
231
- },
232
- Popover: {
233
- props: popoverProps,
234
- slots: ["default"],
235
- description: "Popover that a button labeled triggerLabel opens and closes."
236
- },
237
- Tooltip: {
238
- props: tooltipProps,
239
- description: "Tooltip shown on hover or focus."
240
- },
241
- Toolbar: {
242
- props: toolbarProps,
243
- description: "Row (or column) of buttons that arrow keys move between, e.g. formatting actions. Give each item an icon to show only the icon."
244
- },
245
- DropdownMenu: {
246
- props: dropdownMenuProps,
247
- description: "Dropdown menu."
248
- },
249
- Toast: {
250
- props: toastProps,
251
- description: "Toast notification that a button labeled triggerLabel shows."
252
- },
253
- ListBox: {
254
- props: listBoxProps,
255
- description: "Single-choice list in a popup."
256
- },
257
- CheckboxGroup: {
258
- props: checkboxGroupProps,
259
- description: "Group of checkboxes."
260
- },
261
- Combobox: {
262
- props: comboboxProps,
263
- description: "Text field with a visible label that filters a list of options as you type, for picking one. Prefer it to ListBox when there are many options. defaultValue can be bound to state with $bindState."
264
- },
265
- Autocomplete: {
266
- props: autocompleteProps,
267
- description: "Tag-style autocomplete for multiple choices."
268
- },
269
- FileField: {
270
- props: fileFieldProps,
271
- description: "File picker field. With dropzone, files can also be dropped onto it."
272
- },
273
- FormControl: {
274
- props: formControlProps,
275
- description: "Field with a label and help or error text (text/textarea/password)."
276
- }
277
- },
278
- actions: {}
279
- });
280
- /**
281
- * LLM が破りやすい制約を `catalog.prompt({ customRules })` に注入するための
282
- * 横断ルール集。json-render のシステムプロンプト本文に追記される。
283
- *
284
- * @example
285
- * const systemPrompt = catalog.prompt({ customRules: [...uiRules] });
286
- */
287
- const uiRules = [
288
- "Every row in rows of a Table must have exactly as many cells as there are columns.",
289
- "An href must be an absolute URL starting with https:// or http://, or a path starting with /.",
290
- "The content of Tabs and Accordion must be plain text; components cannot be nested inside it."
291
- ];
292
- const buildRepairPrompt = (issues) => ["The generated UI spec is invalid. Fix the following issues and return the corrected spec:", ...issues.map((issue) => issue.elementKey === void 0 ? `- ${issue.message}` : `- [${issue.elementKey}] ${issue.message}`)].join("\n");
293
- /**
294
- * スキーマが受け付ける prop キーの集合。
295
- *
296
- * zod の `z.object` は未知のキーを **エラーにせず黙って落とす**。そのため
297
- * `safeParse` だけでは「旧 API のキーを渡した spec」が `ok: true` で通り、
298
- * 既定値のまま描画されて壊れたことにすら気づけない。キー集合を取り出して
299
- * 自前で照合する。
300
- */
301
- const knownPropKeys = (propsSchema) => {
302
- const shape = "shape" in propsSchema ? propsSchema.shape : void 0;
303
- return typeof shape === "object" && shape !== null ? Object.keys(shape) : void 0;
304
- };
305
- /** spec 側は LLM 出力なので、型に反して props が欠けていることがある。 */
306
- const givenPropKeys = (props) => typeof props === "object" && props !== null ? Object.keys(props) : [];
307
- /**
308
- * LLM が生成した spec を検証し、描画可能なら型付き spec を、壊れていれば
309
- * そのまま LLM に投げ返せる修復プロンプトを返す。
310
- *
311
- * 内部では (1) 機械修正(`autoFixSpec`)→ (2) 構造検証(`validateSpec`)→
312
- * (3) 要素ごとに catalog の Zod スキーマで props 検証(未知キーの検出を含む)、
313
- * を行う。`catalog.validate()` は使わない(現行の上流バージョンでは正常な spec を
314
- * 誤って弾き、props 検証も実質無効になるため)。
315
- *
316
- * @example
317
- * const result = validateGeneratedSpec(JSON.parse(llmOutput));
318
- * if (result.ok) {
319
- * return <JsonRenderUI spec={result.spec} />;
320
- * }
321
- * const retried = await llm(result.repairPrompt);
322
- */
323
- const validateGeneratedSpec = (input) => {
324
- if (!isNonEmptySpec(input)) {
325
- const issues = [{ message: "The spec must be an object with a `root` key and an `elements` map." }];
326
- return {
327
- ok: false,
328
- issues,
329
- repairPrompt: buildRepairPrompt(issues)
330
- };
331
- }
332
- const { spec, fixes } = autoFixSpec(input);
333
- const issues = validateSpec(spec).issues.map((issue) => ({
334
- elementKey: issue.elementKey,
335
- message: issue.message
336
- }));
337
- const components = catalog.data.components;
338
- for (const [key, element] of Object.entries(spec.elements)) {
339
- const def = components[element.type];
340
- if (!def) {
341
- issues.push({
342
- elementKey: key,
343
- message: `Unknown component type "${element.type}". Use one of: ${catalog.componentNames.join(", ")}.`
344
- });
345
- continue;
346
- }
347
- const parsed = def.props.safeParse(element.props);
348
- if (!parsed.success) for (const issue of parsed.error.issues) {
349
- const path = issue.path.join(".");
350
- issues.push({
351
- elementKey: key,
352
- message: `${element.type}${path ? `.${path}` : ""}: ${issue.message}`
353
- });
354
- }
355
- const allowed = knownPropKeys(def.props);
356
- if (allowed === void 0) continue;
357
- for (const propKey of givenPropKeys(element.props)) if (!allowed.includes(propKey)) issues.push({
358
- elementKey: key,
359
- message: `${element.type}: Unknown prop "${propKey}". Allowed props: ${allowed.join(", ")}.`
360
- });
361
- }
362
- if (issues.length === 0) return {
363
- ok: true,
364
- spec,
365
- fixes
366
- };
367
- return {
368
- ok: false,
369
- issues,
370
- repairPrompt: buildRepairPrompt(issues)
371
- };
372
- };
373
- export { catalog, uiRules, validateGeneratedSpec };
@@ -1,26 +0,0 @@
1
- import { FC } from "react";
2
- import { Spec } from "@json-render/core";
3
- export declare const registry: import("@json-render/react").ComponentRegistry;
4
- /**
5
- * spec を @k8ordo/ui の部品で描画する、事前結線済みコンポーネント。
6
- *
7
- * `JSONUIProvider` と `Renderer` を内部で結線し registry も渡し済みなので、
8
- * 利用者は spec を渡すだけでよい(上流の生 import や 'use client' 境界ファイルの
9
- * 自作が不要)。フォーム値を回収したいときは `onStateChange` を渡す。
10
- * 高度な構成(navigate / handlers / validationFunctions など)が必要なら、
11
- * 引き続き `registry` を `JSONUIProvider` に直接渡す。
12
- *
13
- * @example
14
- * 'use client';
15
- * import { JsonRenderUI } from '@k8ordo/ui/json-render/registry';
16
- *
17
- * <JsonRenderUI spec={spec} />
18
- */
19
- export declare const JsonRenderUI: FC<{
20
- spec: Spec | null;
21
- loading?: boolean;
22
- onStateChange?: (changes: Array<{
23
- path: string;
24
- value: unknown;
25
- }>) => void;
26
- }>;
@@ -1,192 +0,0 @@
1
- "use client";
2
- import { DataTableWidget, DialogWidget, DrawerWidget, FileFieldWidget, FormControlWidget, ModalWidget, ToastWidget, renderAccordion, renderAlert, renderAnchor, renderAutocomplete, renderAvatar, renderBadge, renderBreadcrumb, renderButton, renderCalendar, renderCallout, renderCard, renderCarousel, renderCheckbox, renderCheckboxCard, renderCheckboxGroup, renderChevronIcon, renderCode, renderColorPicker, renderCombobox, renderCopyButton, renderDateField, renderDatePicker, renderDropdownMenu, renderEmptyState, renderForm, renderGrid, renderHeading, renderIcon, renderIconButton, renderKbd, renderListBox, renderNumberField, renderPagination, renderPasswordInput, renderPopover, renderProgress, renderRadio, renderRadioCard, renderRangeSlider, renderSelect, renderSeparator, renderSideNav, renderSkeleton, renderSlider, renderSpinner, renderStack, renderStatusIcon, renderStepper, renderSwitch, renderTable, renderTabs, renderTextField, renderTextarea, renderToolbar, renderTooltip, renderTree } from "../_shared/renderers.mjs";
3
- import { catalog } from "./catalog.mjs";
4
- import { Children, useState } from "react";
5
- import { jsx } from "react/jsx-runtime";
6
- import { JSONUIProvider, Renderer, defineRegistry, useBoundProp } from "@json-render/react";
7
- // src/integrations/json-render/registry.tsx
8
- /**
9
- * `@k8ordo/ui/json-render/registry`('use client')
10
- *
11
- * `<Renderer registry={registry} spec={...} />` に渡す実装対応表。
12
- * フックを使うためクライアント専用。プロンプト生成だけ行いたい場合は
13
- * サーバー安全な `@k8ordo/ui/json-render`(catalog)を使う。
14
- */
15
- const useBoundOrLocal = (sourceValue, path, fallback, initial = sourceValue ?? fallback) => {
16
- const hasBinding = path !== void 0 && path !== "";
17
- const [bound, setBound] = useBoundProp(sourceValue, path);
18
- const [local, setLocal] = useState(initial);
19
- return [hasBinding ? bound ?? fallback : local, hasBinding ? setBound : setLocal];
20
- };
21
- const { registry } = defineRegistry(catalog, { components: {
22
- Stack: ({ props, children }) => renderStack(props, children),
23
- Grid: ({ props, children }) => renderGrid(props, children),
24
- Card: ({ props, children }) => renderCard(props, children),
25
- Button: ({ props }) => renderButton(props),
26
- Badge: ({ props }) => renderBadge(props),
27
- Heading: ({ props }) => renderHeading(props),
28
- Alert: ({ props }) => renderAlert(props),
29
- Callout: ({ props }) => renderCallout(props),
30
- Spinner: ({ props }) => renderSpinner(props),
31
- Separator: ({ props }) => renderSeparator(props),
32
- Tabs: ({ props }) => renderTabs(props),
33
- TextField: ({ props, bindings }) => {
34
- const [value, setValue] = useBoundOrLocal(props.defaultValue, bindings?.defaultValue, "");
35
- return renderTextField(props, value, setValue);
36
- },
37
- Checkbox: ({ props, bindings }) => {
38
- const [checked, setChecked] = useBoundOrLocal(props.defaultChecked, bindings?.defaultChecked, false);
39
- return renderCheckbox(props, checked, setChecked);
40
- },
41
- Switch: ({ props, bindings }) => {
42
- const [checked, setChecked] = useBoundOrLocal(props.defaultChecked, bindings?.defaultChecked, false);
43
- return renderSwitch(props, checked, setChecked);
44
- },
45
- Select: ({ props, bindings }) => {
46
- const [value, setValue] = useBoundOrLocal(props.defaultValue, bindings?.defaultValue, "", props.defaultValue ?? props.options[0]?.value ?? "");
47
- return renderSelect(props, value, setValue);
48
- },
49
- Anchor: ({ props }) => renderAnchor(props),
50
- Avatar: ({ props }) => renderAvatar(props),
51
- Code: ({ props }) => renderCode(props),
52
- Kbd: ({ props }) => renderKbd(props),
53
- EmptyState: ({ props }) => renderEmptyState(props),
54
- Carousel: ({ props, children }) => renderCarousel(props, Children.toArray(children)),
55
- Progress: ({ props }) => renderProgress(props),
56
- Skeleton: ({ props }) => renderSkeleton(props),
57
- Icon: ({ props }) => renderIcon(props),
58
- ChevronIcon: ({ props }) => renderChevronIcon(props),
59
- StatusIcon: ({ props }) => renderStatusIcon(props),
60
- IconButton: ({ props }) => renderIconButton(props),
61
- CopyButton: ({ props }) => renderCopyButton(props),
62
- Accordion: ({ props }) => renderAccordion(props),
63
- Breadcrumb: ({ props }) => renderBreadcrumb(props),
64
- Stepper: ({ props }) => renderStepper(props),
65
- Table: ({ props }) => renderTable(props),
66
- DataTable: ({ props }) => /* @__PURE__ */ jsx(DataTableWidget, { props }),
67
- Tree: ({ props }) => renderTree(props),
68
- SideNav: ({ props }) => renderSideNav(props),
69
- Textarea: ({ props, bindings }) => {
70
- const [value, setValue] = useBoundOrLocal(props.defaultValue, bindings?.defaultValue, "");
71
- return renderTextarea(props, value, setValue);
72
- },
73
- PasswordInput: ({ props, bindings }) => {
74
- const [value, setValue] = useBoundOrLocal(props.defaultValue, bindings?.defaultValue, "");
75
- return renderPasswordInput(props, value, setValue);
76
- },
77
- RangeSlider: ({ props, bindings }) => {
78
- const whole = [props.min ?? 0, props.max ?? 100];
79
- const [value, setValue] = useBoundOrLocal(props.defaultValue, bindings?.defaultValue, whole);
80
- return renderRangeSlider(props, value, setValue);
81
- },
82
- ColorPicker: ({ props, bindings }) => {
83
- const [value, setValue] = useBoundOrLocal(props.defaultValue, bindings?.defaultValue, "");
84
- return renderColorPicker(props, value, setValue);
85
- },
86
- DateField: ({ props, bindings }) => {
87
- const [value, setValue] = useBoundOrLocal(props.defaultValue, bindings?.defaultValue, "");
88
- return renderDateField(props, value, setValue);
89
- },
90
- DatePicker: ({ props, bindings }) => {
91
- const [value, setValue] = useBoundOrLocal(props.defaultValue, bindings?.defaultValue, "");
92
- return renderDatePicker(props, value, setValue);
93
- },
94
- Calendar: ({ props, bindings }) => {
95
- const [value, setValue] = useBoundOrLocal(props.defaultValue, bindings?.defaultValue, "");
96
- return renderCalendar(props, value, setValue);
97
- },
98
- Radio: ({ props, bindings }) => {
99
- const [value, setValue] = useBoundOrLocal(props.defaultValue, bindings?.defaultValue, "", props.defaultValue ?? props.options[0]?.value ?? "");
100
- return renderRadio(props, value, setValue);
101
- },
102
- RadioCard: ({ props, bindings }) => {
103
- const [value, setValue] = useBoundOrLocal(props.defaultValue, bindings?.defaultValue, "", props.defaultValue ?? props.options[0]?.value ?? "");
104
- return renderRadioCard(props, value, setValue);
105
- },
106
- NumberField: ({ props, bindings }) => {
107
- const [value, setValue] = useBoundOrLocal(props.defaultValue, bindings?.defaultValue, null);
108
- return renderNumberField(props, value, setValue);
109
- },
110
- Slider: ({ props, bindings }) => {
111
- const [value, setValue] = useBoundOrLocal(props.defaultValue, bindings?.defaultValue, 0, props.defaultValue ?? props.min ?? 0);
112
- return renderSlider(props, value, setValue);
113
- },
114
- CheckboxCard: ({ props, bindings }) => {
115
- const [value, setValue] = useBoundOrLocal(props.defaultValue, bindings?.defaultValue, []);
116
- return renderCheckboxCard(props, value, setValue);
117
- },
118
- Pagination: ({ props, bindings }) => {
119
- const [page, setPage] = useBoundOrLocal(props.defaultPage, bindings?.defaultPage, 1);
120
- return renderPagination(props, page, setPage);
121
- },
122
- Form: ({ props, children }) => renderForm(props, children),
123
- Modal: ({ props, children }) => /* @__PURE__ */ jsx(ModalWidget, {
124
- props,
125
- children
126
- }),
127
- Dialog: ({ props, children }) => /* @__PURE__ */ jsx(DialogWidget, {
128
- props,
129
- children
130
- }),
131
- Drawer: ({ props, children }) => /* @__PURE__ */ jsx(DrawerWidget, {
132
- props,
133
- children
134
- }),
135
- Popover: ({ props, children }) => renderPopover(props, children),
136
- Tooltip: ({ props }) => renderTooltip(props),
137
- DropdownMenu: ({ props }) => renderDropdownMenu(props),
138
- Toolbar: ({ props }) => renderToolbar(props),
139
- Toast: ({ props }) => /* @__PURE__ */ jsx(ToastWidget, { props }),
140
- ListBox: ({ props, bindings }) => {
141
- const path = bindings?.defaultValue;
142
- const hasBinding = path !== void 0 && path !== "";
143
- const [bound, setBound] = useBoundProp(props.defaultValue, path);
144
- const [local, setLocal] = useState(props.defaultValue ?? props.options[0]?.value ?? "");
145
- return renderListBox(props, hasBinding ? bound ?? "" : local, hasBinding ? setBound : setLocal);
146
- },
147
- CheckboxGroup: ({ props, bindings }) => {
148
- const path = bindings?.defaultValue;
149
- const hasBinding = path !== void 0 && path !== "";
150
- const [bound, setBound] = useBoundProp(props.defaultValue, path);
151
- const [local, setLocal] = useState(props.defaultValue ?? []);
152
- return renderCheckboxGroup(props, hasBinding ? bound ?? [] : local, hasBinding ? setBound : setLocal);
153
- },
154
- Combobox: ({ props, bindings }) => {
155
- const [value, setValue] = useBoundOrLocal(props.defaultValue, bindings?.defaultValue, "");
156
- return renderCombobox(props, value, setValue);
157
- },
158
- Autocomplete: ({ props, bindings }) => {
159
- const path = bindings?.defaultValue;
160
- const hasBinding = path !== void 0 && path !== "";
161
- const [bound, setBound] = useBoundProp(props.defaultValue, path);
162
- const [local, setLocal] = useState(props.defaultValue ?? []);
163
- return renderAutocomplete(props, hasBinding ? bound ?? [] : local, hasBinding ? setBound : setLocal);
164
- },
165
- FileField: ({ props }) => /* @__PURE__ */ jsx(FileFieldWidget, { props }),
166
- FormControl: ({ props }) => /* @__PURE__ */ jsx(FormControlWidget, { props })
167
- } });
168
- /**
169
- * spec を @k8ordo/ui の部品で描画する、事前結線済みコンポーネント。
170
- *
171
- * `JSONUIProvider` と `Renderer` を内部で結線し registry も渡し済みなので、
172
- * 利用者は spec を渡すだけでよい(上流の生 import や 'use client' 境界ファイルの
173
- * 自作が不要)。フォーム値を回収したいときは `onStateChange` を渡す。
174
- * 高度な構成(navigate / handlers / validationFunctions など)が必要なら、
175
- * 引き続き `registry` を `JSONUIProvider` に直接渡す。
176
- *
177
- * @example
178
- * 'use client';
179
- * import { JsonRenderUI } from '@k8ordo/ui/json-render/registry';
180
- *
181
- * <JsonRenderUI spec={spec} />
182
- */
183
- const JsonRenderUI = ({ spec, loading, onStateChange }) => /* @__PURE__ */ jsx(JSONUIProvider, {
184
- registry,
185
- onStateChange,
186
- children: /* @__PURE__ */ jsx(Renderer, {
187
- registry,
188
- spec,
189
- loading
190
- })
191
- });
192
- export { JsonRenderUI, registry };
@@ -1,24 +0,0 @@
1
- import { AutocompleteProps, CalendarProps, CheckboxCardProps, CheckboxGroupProps, CheckboxProps, ColorPickerProps, ComboboxProps, DateFieldProps, DatePickerProps, ListBoxProps, NumberFieldProps, PaginationProps, PasswordInputProps, RadioCardProps, RadioProps, RangeSliderProps, SelectProps, SliderProps, SwitchProps, TextFieldProps, TextareaProps } from "../_shared/schemas.mjs";
2
- import { FC } from "react";
3
- import { ComponentRenderProps } from "@openuidev/react-lang";
4
- export declare const TextFieldView: FC<ComponentRenderProps<TextFieldProps>>;
5
- export declare const CheckboxView: FC<ComponentRenderProps<CheckboxProps>>;
6
- export declare const SwitchView: FC<ComponentRenderProps<SwitchProps>>;
7
- export declare const SelectView: FC<ComponentRenderProps<SelectProps>>;
8
- export declare const TextareaView: FC<ComponentRenderProps<TextareaProps>>;
9
- export declare const PasswordInputView: FC<ComponentRenderProps<PasswordInputProps>>;
10
- export declare const NumberFieldView: FC<ComponentRenderProps<NumberFieldProps>>;
11
- export declare const SliderView: FC<ComponentRenderProps<SliderProps>>;
12
- export declare const RadioView: FC<ComponentRenderProps<RadioProps>>;
13
- export declare const RadioCardView: FC<ComponentRenderProps<RadioCardProps>>;
14
- export declare const CheckboxCardView: FC<ComponentRenderProps<CheckboxCardProps>>;
15
- export declare const PaginationView: FC<ComponentRenderProps<PaginationProps>>;
16
- export declare const ListBoxView: FC<ComponentRenderProps<ListBoxProps>>;
17
- export declare const CheckboxGroupView: FC<ComponentRenderProps<CheckboxGroupProps>>;
18
- export declare const ComboboxView: FC<ComponentRenderProps<ComboboxProps>>;
19
- export declare const AutocompleteView: FC<ComponentRenderProps<AutocompleteProps>>;
20
- export declare const ColorPickerView: FC<ComponentRenderProps<ColorPickerProps>>;
21
- export declare const DateFieldView: FC<ComponentRenderProps<DateFieldProps>>;
22
- export declare const DatePickerView: FC<ComponentRenderProps<DatePickerProps>>;
23
- export declare const CalendarView: FC<ComponentRenderProps<CalendarProps>>;
24
- export declare const RangeSliderView: FC<ComponentRenderProps<RangeSliderProps>>;