@cloudflare/kumo 2.9.1 → 2.10.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 (32) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/ai/component-registry.json +110 -6
  3. package/ai/component-registry.md +91 -2
  4. package/ai/schemas.ts +13 -1
  5. package/dist/.build-complete +1 -1
  6. package/dist/ai/schemas.d.ts +58 -2
  7. package/dist/ai/schemas.js +42 -1
  8. package/dist/chunks/{combobox-m2nvbt0b1stb2syc.js → combobox-l4pucshucau0qvrl.js} +18 -11
  9. package/dist/chunks/{pagination-k0yll9ynbi8flc3b.js → pagination-bya4kmtn4rqbexjb.js} +1 -1
  10. package/dist/chunks/{select-ln6ibqbbs0n4tiig.js → select-cqgxro9via28v4u8.js} +22 -19
  11. package/dist/chunks/{sidebar-kvjzu0ya0b2z6eec.js → sidebar-c5otog7ms7rb19cr.js} +15 -6
  12. package/dist/chunks/{tabs-lb4jj5mw26xtm2je.js → tabs-n7bpptah74dbh8kw.js} +27 -18
  13. package/dist/chunks/{toolbar-gwd1orc8yl7lzaou.js → toolbar-o25cb9lcznranewe.js} +20 -27
  14. package/dist/components/combobox.d.ts +1 -1
  15. package/dist/components/combobox.js +1 -1
  16. package/dist/components/pagination.js +1 -1
  17. package/dist/components/select.d.ts +1 -1
  18. package/dist/components/select.js +1 -1
  19. package/dist/components/sidebar.js +1 -1
  20. package/dist/components/tabs.d.ts +1 -1
  21. package/dist/components/tabs.js +1 -1
  22. package/dist/components/toolbar.d.ts +1 -1
  23. package/dist/components/toolbar.js +1 -1
  24. package/dist/{index-DUCaDjfd.d.ts → index-Bw3M24Mi.d.ts} +11 -2
  25. package/dist/{index-FZvrMcIo2.d.ts → index-CaoLMX-b2.d.ts} +3 -1
  26. package/dist/{index-B6LJIy7_2.d.ts → index-DTjmw8Vy2.d.ts} +7 -1
  27. package/dist/{index-C3iraF8M2.d.ts → index-FCkuxSvs2.d.ts} +5 -0
  28. package/dist/index.d.ts +4 -4
  29. package/dist/index.js +6 -6
  30. package/dist/styles/kumo-standalone.css +1 -1
  31. package/package.json +1 -1
  32. package/scripts/component-registry/index.ts +71 -1
@@ -873,7 +873,77 @@ async function generateRegistry(): Promise<GenerateRegistryResult> {
873
873
  "Multi-line textarea input with Input variants and InputArea-specific dimensions",
874
874
  importPath: "@cloudflare/kumo (synthetic - uses Input component)",
875
875
  category: "Input",
876
- props: {}, // Uses Input's props
876
+ props: {
877
+ size: {
878
+ type: "enum",
879
+ optional: true,
880
+ description:
881
+ 'Input size.\n- `"xs"` — Extra small for compact UIs\n- `"sm"` — Small for secondary fields\n- `"base"` — Default size\n- `"lg"` — Large for prominent fields',
882
+ values: ["xs", "sm", "base", "lg"],
883
+ descriptions: {
884
+ xs: "Extra small for compact UIs",
885
+ sm: "Small for secondary fields",
886
+ base: "Default size",
887
+ lg: "Large for prominent fields",
888
+ },
889
+ default: "base",
890
+ },
891
+ variant: {
892
+ type: "enum",
893
+ optional: true,
894
+ description: "Visual variant of the textarea.",
895
+ values: ["default", "error"],
896
+ default: "default",
897
+ },
898
+ label: {
899
+ type: "ReactNode",
900
+ optional: true,
901
+ description:
902
+ "Label content for the textarea (enables Field wrapper) — can be a string or any React node.",
903
+ },
904
+ labelTooltip: {
905
+ type: "ReactNode",
906
+ optional: true,
907
+ description:
908
+ "Tooltip content to display next to the label via an info icon.",
909
+ },
910
+ description: {
911
+ type: "ReactNode",
912
+ optional: true,
913
+ description: "Helper text displayed below the textarea.",
914
+ },
915
+ error: {
916
+ type: "string | { message: ReactNode; match: FieldErrorMatch }",
917
+ optional: true,
918
+ description: "Error message or validation error object.",
919
+ },
920
+ autoResize: {
921
+ type: "boolean",
922
+ optional: true,
923
+ description:
924
+ "Automatically resize the textarea based on its content.",
925
+ default: "false",
926
+ },
927
+ minRows: {
928
+ type: "number",
929
+ optional: true,
930
+ description:
931
+ "Minimum number of rows to display when `autoResize` is enabled.",
932
+ default: "1",
933
+ },
934
+ maxRows: {
935
+ type: "number",
936
+ optional: true,
937
+ description:
938
+ "Maximum number of rows to grow to when `autoResize` is enabled; content beyond this scrolls.",
939
+ },
940
+ onValueChange: {
941
+ type: "(value: string) => void",
942
+ optional: true,
943
+ description:
944
+ "Callback fired with the new string value on every change.",
945
+ },
946
+ },
877
947
  styling: COMPONENT_STYLING_METADATA.InputArea,
878
948
  examples: [],
879
949
  colors: [],