wimui 0.54.0 → 0.56.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 (41) hide show
  1. package/dist/components/data-display/Kanban/Kanban.cjs +1 -1
  2. package/dist/components/data-display/Kanban/Kanban.js +1 -1
  3. package/dist/components/form/CheckboxGroup/CheckboxGroup.cjs +1 -1
  4. package/dist/components/form/CheckboxGroup/CheckboxGroup.js +2 -2
  5. package/dist/components/form/CounterTextarea/CounterTextarea.cjs +1 -1
  6. package/dist/components/form/CounterTextarea/CounterTextarea.js +2 -2
  7. package/dist/components/form/ImageCropper/ImageCropper.cjs +1 -1
  8. package/dist/components/form/ImageCropper/ImageCropper.d.ts +36 -4
  9. package/dist/components/form/ImageCropper/ImageCropper.js +151 -103
  10. package/dist/components/form/ImageCropper/cropImage.cjs +2 -0
  11. package/dist/components/form/ImageCropper/cropImage.d.ts +58 -0
  12. package/dist/components/form/ImageCropper/cropImage.js +36 -0
  13. package/dist/components/form/ImageCropper/image-cropper.module.cjs +1 -1
  14. package/dist/components/form/ImageCropper/image-cropper.module.js +1 -1
  15. package/dist/components/form/RadioGroup/RadioGroup.cjs +1 -1
  16. package/dist/components/form/RadioGroup/RadioGroup.js +2 -2
  17. package/dist/components/form/SwitchGroup/SwitchGroup.cjs +1 -1
  18. package/dist/components/form/SwitchGroup/SwitchGroup.js +2 -2
  19. package/dist/components/form/TagInput/TagInput.cjs +1 -1
  20. package/dist/components/form/TagInput/TagInput.js +37 -36
  21. package/dist/components/form/ToggleGroup/ToggleGroup.cjs +1 -1
  22. package/dist/components/form/ToggleGroup/ToggleGroup.d.ts +2 -0
  23. package/dist/components/form/ToggleGroup/ToggleGroup.js +46 -46
  24. package/dist/components/navigation/Anchor/Anchor.cjs +1 -1
  25. package/dist/components/navigation/Anchor/Anchor.js +54 -45
  26. package/dist/components/overlay/Dialog/Dialog.cjs +1 -1
  27. package/dist/components/overlay/Dialog/Dialog.js +2 -2
  28. package/dist/components/overlay/Drawer/Drawer.cjs +1 -1
  29. package/dist/components/overlay/Drawer/Drawer.js +3 -3
  30. package/dist/i18n/generated/form.cjs +1 -1
  31. package/dist/i18n/generated/form.d.ts +1 -1
  32. package/dist/i18n/generated/form.js +6 -0
  33. package/dist/llms-full.txt +17 -3
  34. package/dist/llms.txt +1 -1
  35. package/dist/locales/en/form.json +2 -0
  36. package/dist/locales/ja/form.json +2 -0
  37. package/dist/locales/pt/form.json +2 -0
  38. package/dist/styles.css +1 -1
  39. package/dist/wimui.umd.css +1 -1
  40. package/dist/wimui.umd.js +5 -5
  41. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- var e={name:`form`,resources:{en:{prompt_input:{send_label:`Send`,attach_label:`Attach file`,aria_label:`Prompt input`},ai_feedback:{positive_label:`Helpful`,negative_label:`Not helpful`,regenerate_label:`Regenerate response`,group_label:`Response feedback`},source_citation:{source_label:`Source {{index}}`},code_block:{copy_label:`Copy code`,copied_label:`Copied!`,expand_label:`Expand`,collapse_label:`Collapse`},button:{clear:`Clear`},dropzone:{description:`Drag and drop files here, or click to select`},fileupload:{button:`Choose file`,no_file:`No file selected`},form:{optional:`Optional`,required:`Required`},phone:{select_country:`Select country`,countries:{US:`United States`,JP:`Japan`,GB:`United Kingdom`,AU:`Australia`,DE:`Germany`,FR:`France`,CN:`China`,KR:`South Korea`,IN:`India`,BR:`Brazil`}},select:{no_options:`No options found`},tag_input:{input_label:`Tags`},smart_search:{input_label:`Search`},markdown:{task_done:`Completed task`,task_todo:`Incomplete task`},transfer:{no_data:`No data`,move_to_source:`Move to available`,move_to_target:`Move to selected`,source:`Available`,status_moved_to_source:`{{count}} item(s) moved to available`,status_moved_to_target:`{{count}} item(s) moved to selected`,target:`Selected`},password_strength:{very_weak:`Very weak`,weak:`Weak`,fair:`Fair`,strong:`Strong`,very_strong:`Very strong`},image_cropper:{no_image:`No image selected`,zoom:`Zoom`,rotate:`Rotate`,apply:`Apply Crop`,confirm_title:`Apply Crop`,confirm_message:`Do you want to save the image with this crop?`,confirm:`Apply`,cancel:`Cancel`},code_diff_viewer:{copy_label:`Copy`,copied_label:`Copied!`,apply:`Apply`,applied:`Applied`,reject:`Reject`,split_view:`Split`,unified_view:`Unified`},terminal:{copy_label:`Copy output`,copied_label:`Copied!`,clear_label:`Clear`},agent_status:{idle:`Idle`,thinking:`Thinking…`,running:`Running…`,waiting:`Waiting…`,done:`Done`,error:`Error`},artifact_overlay:{minimize:`Minimize`,maximize:`Maximize`}},ja:{agent_status:{done:`完了`,error:`エラー`,idle:`待機中`,running:`実行中…`,thinking:`思考中…`,waiting:`待機中…`},ai_feedback:{group_label:`回答へのフィードバック`,negative_label:`役に立たなかった`,positive_label:`役に立った`,regenerate_label:`再生成`},artifact_overlay:{maximize:`最大化`,minimize:`最小化`},button:{clear:`クリア`},code_block:{collapse_label:`折りたたむ`,copied_label:`コピーしました`,copy_label:`コードをコピー`,expand_label:`展開`},code_diff_viewer:{applied:`適用済み`,apply:`適用`,copied_label:`コピーしました!`,copy_label:`コピー`,reject:`却下`,split_view:`分割`,unified_view:`統合`},dropzone:{description:`ここにファイルをドラッグ&ドロップ、またはクリックして選択`},fileupload:{button:`ファイルを選択`,no_file:`選択されていません`},form:{optional:`任意`,required:`必須`},image_cropper:{apply:`クロップを適用`,cancel:`キャンセル`,confirm:`適用`,confirm_message:`この範囲で画像を保存しますか?`,confirm_title:`クロップの適用`,no_image:`画像が選択されていません`,rotate:`回転`,zoom:`ズーム`},password_strength:{fair:`普通`,strong:`強い`,very_strong:`とても強い`,very_weak:`とても弱い`,weak:`弱い`},phone:{select_country:`国を選択`,countries:{US:`アメリカ合衆国`,JP:`日本`,GB:`イギリス`,AU:`オーストラリア`,DE:`ドイツ`,FR:`フランス`,CN:`中国`,KR:`韓国`,IN:`インド`,BR:`ブラジル`}},prompt_input:{aria_label:`プロンプト入力`,attach_label:`ファイルを添付`,send_label:`送信`},select:{no_options:`該当する選択肢がありません`},tag_input:{input_label:`タグ`},smart_search:{input_label:`検索`},markdown:{task_done:`完了したタスク`,task_todo:`未完了のタスク`},source_citation:{source_label:`ソース {{index}}`},terminal:{clear_label:`クリア`,copied_label:`コピーしました!`,copy_label:`出力をコピー`},transfer:{move_to_source:`選択可能に移動`,move_to_target:`選択済みに移動`,no_data:`データがありません`,source:`選択可能`,status_moved_to_source:`{{count}} 件を選択可能リストに移動しました`,status_moved_to_target:`{{count}} 件を選択済みリストに移動しました`,target:`選択済み`}},pt:{agent_status:{done:`Concluído`,error:`Erro`,idle:`Ocioso`,running:`Executando…`,thinking:`Pensando…`,waiting:`Aguardando…`},ai_feedback:{group_label:`Avaliação da resposta`,negative_label:`Não foi útil`,positive_label:`Útil`,regenerate_label:`Regenerar resposta`},artifact_overlay:{maximize:`Maximizar`,minimize:`Minimizar`},button:{clear:`Limpar`},code_block:{collapse_label:`Recolher`,copied_label:`Copiado!`,copy_label:`Copiar código`,expand_label:`Expandir`},code_diff_viewer:{applied:`Aplicado`,apply:`Aplicar`,copied_label:`Copiado!`,copy_label:`Copiar`,reject:`Rejeitar`,split_view:`Dividido`,unified_view:`Unificado`},dropzone:{description:`Arraste e solte os arquivos aqui ou clique para selecionar`},fileupload:{button:`Selecionar arquivo`,no_file:`Nenhum arquivo selecionado`},form:{optional:`Opcional`,required:`Obrigatório`},image_cropper:{apply:`Aplicar recorte`,cancel:`Cancelar`,confirm:`Aplicar`,confirm_message:`Deseja salvar a imagem com este recorte?`,confirm_title:`Aplicar recorte`,no_image:`Nenhuma imagem selecionada`,rotate:`Rodar`,zoom:`Zoom`},password_strength:{fair:`Razoável`,strong:`Forte`,very_strong:`Muito forte`,very_weak:`Muito fraca`,weak:`Fraca`},phone:{select_country:`Selecionar país`,countries:{US:`Estados Unidos`,JP:`Japão`,GB:`Reino Unido`,AU:`Austrália`,DE:`Alemanha`,FR:`França`,CN:`China`,KR:`Coreia do Sul`,IN:`Índia`,BR:`Brasil`}},prompt_input:{aria_label:`Campo de prompt`,attach_label:`Anexar arquivo`,send_label:`Enviar`},select:{no_options:`Nenhuma opção encontrada`},tag_input:{input_label:`Tags`},smart_search:{input_label:`Pesquisar`},markdown:{task_done:`Tarefa concluída`,task_todo:`Tarefa pendente`},source_citation:{source_label:`Fonte {{index}}`},terminal:{clear_label:`Limpar`,copied_label:`Copiado!`,copy_label:`Copiar saída`},transfer:{move_to_source:`Mover para disponível`,move_to_target:`Mover para selecionado`,no_data:`Sem dados`,source:`Disponível`,status_moved_to_source:`{{count}} item(s) movido(s) para lista disponível`,status_moved_to_target:`{{count}} item(s) movido(s) para lista selecionada`,target:`Selecionado`}}}};exports.formNs=e;
2
+ var e={name:`form`,resources:{en:{prompt_input:{send_label:`Send`,attach_label:`Attach file`,aria_label:`Prompt input`},ai_feedback:{positive_label:`Helpful`,negative_label:`Not helpful`,regenerate_label:`Regenerate response`,group_label:`Response feedback`},source_citation:{source_label:`Source {{index}}`},code_block:{copy_label:`Copy code`,copied_label:`Copied!`,expand_label:`Expand`,collapse_label:`Collapse`},button:{clear:`Clear`},dropzone:{description:`Drag and drop files here, or click to select`},fileupload:{button:`Choose file`,no_file:`No file selected`},form:{optional:`Optional`,required:`Required`},phone:{select_country:`Select country`,countries:{US:`United States`,JP:`Japan`,GB:`United Kingdom`,AU:`Australia`,DE:`Germany`,FR:`France`,CN:`China`,KR:`South Korea`,IN:`India`,BR:`Brazil`}},select:{no_options:`No options found`},tag_input:{input_label:`Tags`},smart_search:{input_label:`Search`},markdown:{task_done:`Completed task`,task_todo:`Incomplete task`},transfer:{no_data:`No data`,move_to_source:`Move to available`,move_to_target:`Move to selected`,source:`Available`,status_moved_to_source:`{{count}} item(s) moved to available`,status_moved_to_target:`{{count}} item(s) moved to selected`,target:`Selected`},password_strength:{very_weak:`Very weak`,weak:`Weak`,fair:`Fair`,strong:`Strong`,very_strong:`Very strong`},image_cropper:{no_image:`No image selected`,position_label:`Image position`,position_hint:`Use the arrow keys to move the image. Hold Shift for larger steps. Home centers it.`,zoom:`Zoom`,rotate:`Rotate`,apply:`Apply Crop`,confirm_title:`Apply Crop`,confirm_message:`Do you want to save the image with this crop?`,confirm:`Apply`,cancel:`Cancel`},code_diff_viewer:{copy_label:`Copy`,copied_label:`Copied!`,apply:`Apply`,applied:`Applied`,reject:`Reject`,split_view:`Split`,unified_view:`Unified`},terminal:{copy_label:`Copy output`,copied_label:`Copied!`,clear_label:`Clear`},agent_status:{idle:`Idle`,thinking:`Thinking…`,running:`Running…`,waiting:`Waiting…`,done:`Done`,error:`Error`},artifact_overlay:{minimize:`Minimize`,maximize:`Maximize`}},ja:{agent_status:{done:`完了`,error:`エラー`,idle:`待機中`,running:`実行中…`,thinking:`思考中…`,waiting:`待機中…`},ai_feedback:{group_label:`回答へのフィードバック`,negative_label:`役に立たなかった`,positive_label:`役に立った`,regenerate_label:`再生成`},artifact_overlay:{maximize:`最大化`,minimize:`最小化`},button:{clear:`クリア`},code_block:{collapse_label:`折りたたむ`,copied_label:`コピーしました`,copy_label:`コードをコピー`,expand_label:`展開`},code_diff_viewer:{applied:`適用済み`,apply:`適用`,copied_label:`コピーしました!`,copy_label:`コピー`,reject:`却下`,split_view:`分割`,unified_view:`統合`},dropzone:{description:`ここにファイルをドラッグ&ドロップ、またはクリックして選択`},fileupload:{button:`ファイルを選択`,no_file:`選択されていません`},form:{optional:`任意`,required:`必須`},image_cropper:{apply:`クロップを適用`,cancel:`キャンセル`,confirm:`適用`,confirm_message:`この範囲で画像を保存しますか?`,confirm_title:`クロップの適用`,no_image:`画像が選択されていません`,position_hint:`矢印キーで画像を動かします。Shift を押しながらだと大きく動きます。Home で中央に戻ります。`,position_label:`画像の位置`,rotate:`回転`,zoom:`ズーム`},password_strength:{fair:`普通`,strong:`強い`,very_strong:`とても強い`,very_weak:`とても弱い`,weak:`弱い`},phone:{select_country:`国を選択`,countries:{US:`アメリカ合衆国`,JP:`日本`,GB:`イギリス`,AU:`オーストラリア`,DE:`ドイツ`,FR:`フランス`,CN:`中国`,KR:`韓国`,IN:`インド`,BR:`ブラジル`}},prompt_input:{aria_label:`プロンプト入力`,attach_label:`ファイルを添付`,send_label:`送信`},select:{no_options:`該当する選択肢がありません`},tag_input:{input_label:`タグ`},smart_search:{input_label:`検索`},markdown:{task_done:`完了したタスク`,task_todo:`未完了のタスク`},source_citation:{source_label:`ソース {{index}}`},terminal:{clear_label:`クリア`,copied_label:`コピーしました!`,copy_label:`出力をコピー`},transfer:{move_to_source:`選択可能に移動`,move_to_target:`選択済みに移動`,no_data:`データがありません`,source:`選択可能`,status_moved_to_source:`{{count}} 件を選択可能リストに移動しました`,status_moved_to_target:`{{count}} 件を選択済みリストに移動しました`,target:`選択済み`}},pt:{agent_status:{done:`Concluído`,error:`Erro`,idle:`Ocioso`,running:`Executando…`,thinking:`Pensando…`,waiting:`Aguardando…`},ai_feedback:{group_label:`Avaliação da resposta`,negative_label:`Não foi útil`,positive_label:`Útil`,regenerate_label:`Regenerar resposta`},artifact_overlay:{maximize:`Maximizar`,minimize:`Minimizar`},button:{clear:`Limpar`},code_block:{collapse_label:`Recolher`,copied_label:`Copiado!`,copy_label:`Copiar código`,expand_label:`Expandir`},code_diff_viewer:{applied:`Aplicado`,apply:`Aplicar`,copied_label:`Copiado!`,copy_label:`Copiar`,reject:`Rejeitar`,split_view:`Dividido`,unified_view:`Unificado`},dropzone:{description:`Arraste e solte os arquivos aqui ou clique para selecionar`},fileupload:{button:`Selecionar arquivo`,no_file:`Nenhum arquivo selecionado`},form:{optional:`Opcional`,required:`Obrigatório`},image_cropper:{apply:`Aplicar recorte`,cancel:`Cancelar`,confirm:`Aplicar`,confirm_message:`Deseja salvar a imagem com este recorte?`,confirm_title:`Aplicar recorte`,no_image:`Nenhuma imagem selecionada`,position_hint:`Use as setas para mover a imagem. Segure Shift para passos maiores. Home centraliza a imagem.`,position_label:`Posição da imagem`,rotate:`Rodar`,zoom:`Zoom`},password_strength:{fair:`Razoável`,strong:`Forte`,very_strong:`Muito forte`,very_weak:`Muito fraca`,weak:`Fraca`},phone:{select_country:`Selecionar país`,countries:{US:`Estados Unidos`,JP:`Japão`,GB:`Reino Unido`,AU:`Austrália`,DE:`Alemanha`,FR:`França`,CN:`China`,KR:`Coreia do Sul`,IN:`Índia`,BR:`Brasil`}},prompt_input:{aria_label:`Campo de prompt`,attach_label:`Anexar arquivo`,send_label:`Enviar`},select:{no_options:`Nenhuma opção encontrada`},tag_input:{input_label:`Tags`},smart_search:{input_label:`Pesquisar`},markdown:{task_done:`Tarefa concluída`,task_todo:`Tarefa pendente`},source_citation:{source_label:`Fonte {{index}}`},terminal:{clear_label:`Limpar`,copied_label:`Copiado!`,copy_label:`Copiar saída`},transfer:{move_to_source:`Mover para disponível`,move_to_target:`Mover para selecionado`,no_data:`Sem dados`,source:`Disponível`,status_moved_to_source:`{{count}} item(s) movido(s) para lista disponível`,status_moved_to_target:`{{count}} item(s) movido(s) para lista selecionada`,target:`Selecionado`}}}};exports.formNs=e;
@@ -1,3 +1,3 @@
1
1
  import { WimNamespace } from '../instance';
2
- export type FormKey = "agent_status.done" | "agent_status.error" | "agent_status.idle" | "agent_status.running" | "agent_status.thinking" | "agent_status.waiting" | "ai_feedback.group_label" | "ai_feedback.negative_label" | "ai_feedback.positive_label" | "ai_feedback.regenerate_label" | "artifact_overlay.maximize" | "artifact_overlay.minimize" | "button.clear" | "button.close" | "button.consistency" | "button.dismiss" | "button.label" | "code_block.collapse_label" | "code_block.copied_label" | "code_block.copy_label" | "code_block.expand_label" | "code_block.lines" | "code_diff_viewer.applied" | "code_diff_viewer.apply" | "code_diff_viewer.copied_label" | "code_diff_viewer.copy_label" | "code_diff_viewer.reject" | "code_diff_viewer.split_view" | "code_diff_viewer.unified_view" | "combobox.no_results" | "dropzone.description" | "fileupload.button" | "fileupload.no_file" | "form.optional" | "form.required" | "image_cropper.apply" | "image_cropper.cancel" | "image_cropper.confirm" | "image_cropper.confirm_message" | "image_cropper.confirm_title" | "image_cropper.no_image" | "image_cropper.rotate" | "image_cropper.zoom" | "markdown.task_done" | "markdown.task_todo" | "otp.digit" | "password_strength.fair" | "password_strength.strong" | "password_strength.very_strong" | "password_strength.very_weak" | "password_strength.weak" | "phone.countries.AU" | "phone.countries.BR" | "phone.countries.CN" | "phone.countries.DE" | "phone.countries.FR" | "phone.countries.GB" | "phone.countries.IN" | "phone.countries.JP" | "phone.countries.KR" | "phone.countries.US" | "phone.number" | "phone.select_country" | "prompt_input.aria_label" | "prompt_input.attach_label" | "prompt_input.send_label" | "select.no_options" | "select.option" | "smart_search.input_label" | "source_citation.open_source" | "source_citation.source_label" | "tag_input.input_label" | "terminal.clear_label" | "terminal.copied_label" | "terminal.copy_label" | "transfer.move_to_source" | "transfer.move_to_target" | "transfer.no_data" | "transfer.source" | "transfer.status_moved_to_source" | "transfer.status_moved_to_target" | "transfer.target";
2
+ export type FormKey = "agent_status.done" | "agent_status.error" | "agent_status.idle" | "agent_status.running" | "agent_status.thinking" | "agent_status.waiting" | "ai_feedback.group_label" | "ai_feedback.negative_label" | "ai_feedback.positive_label" | "ai_feedback.regenerate_label" | "artifact_overlay.maximize" | "artifact_overlay.minimize" | "button.clear" | "button.close" | "button.consistency" | "button.dismiss" | "button.label" | "code_block.collapse_label" | "code_block.copied_label" | "code_block.copy_label" | "code_block.expand_label" | "code_block.lines" | "code_diff_viewer.applied" | "code_diff_viewer.apply" | "code_diff_viewer.copied_label" | "code_diff_viewer.copy_label" | "code_diff_viewer.reject" | "code_diff_viewer.split_view" | "code_diff_viewer.unified_view" | "combobox.no_results" | "dropzone.description" | "fileupload.button" | "fileupload.no_file" | "form.optional" | "form.required" | "image_cropper.apply" | "image_cropper.cancel" | "image_cropper.confirm" | "image_cropper.confirm_message" | "image_cropper.confirm_title" | "image_cropper.no_image" | "image_cropper.position_hint" | "image_cropper.position_label" | "image_cropper.rotate" | "image_cropper.zoom" | "markdown.task_done" | "markdown.task_todo" | "otp.digit" | "password_strength.fair" | "password_strength.strong" | "password_strength.very_strong" | "password_strength.very_weak" | "password_strength.weak" | "phone.countries.AU" | "phone.countries.BR" | "phone.countries.CN" | "phone.countries.DE" | "phone.countries.FR" | "phone.countries.GB" | "phone.countries.IN" | "phone.countries.JP" | "phone.countries.KR" | "phone.countries.US" | "phone.number" | "phone.select_country" | "prompt_input.aria_label" | "prompt_input.attach_label" | "prompt_input.send_label" | "select.no_options" | "select.option" | "smart_search.input_label" | "source_citation.open_source" | "source_citation.source_label" | "tag_input.input_label" | "terminal.clear_label" | "terminal.copied_label" | "terminal.copy_label" | "transfer.move_to_source" | "transfer.move_to_target" | "transfer.no_data" | "transfer.source" | "transfer.status_moved_to_source" | "transfer.status_moved_to_target" | "transfer.target";
3
3
  export declare const formNs: WimNamespace<"form", FormKey>;
@@ -72,6 +72,8 @@ var e = {
72
72
  },
73
73
  image_cropper: {
74
74
  no_image: "No image selected",
75
+ position_label: "Image position",
76
+ position_hint: "Use the arrow keys to move the image. Hold Shift for larger steps. Home centers it.",
75
77
  zoom: "Zoom",
76
78
  rotate: "Rotate",
77
79
  apply: "Apply Crop",
@@ -158,6 +160,8 @@ var e = {
158
160
  confirm_message: "この範囲で画像を保存しますか?",
159
161
  confirm_title: "クロップの適用",
160
162
  no_image: "画像が選択されていません",
163
+ position_hint: "矢印キーで画像を動かします。Shift を押しながらだと大きく動きます。Home で中央に戻ります。",
164
+ position_label: "画像の位置",
161
165
  rotate: "回転",
162
166
  zoom: "ズーム"
163
167
  },
@@ -262,6 +266,8 @@ var e = {
262
266
  confirm_message: "Deseja salvar a imagem com este recorte?",
263
267
  confirm_title: "Aplicar recorte",
264
268
  no_image: "Nenhuma imagem selecionada",
269
+ position_hint: "Use as setas para mover a imagem. Segure Shift para passos maiores. Home centraliza a imagem.",
270
+ position_label: "Posição da imagem",
265
271
  rotate: "Rodar",
266
272
  zoom: "Zoom"
267
273
  },
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## What this is
6
6
 
7
- **wimui** v0.54.0 — a React 19 component library: 228 documented components across 10 categories, with design tokens, dark mode, i18n (en/ja/pt-BR) and WAI-ARIA compliant a11y. Peer deps: react ^19, react-dom ^19 (plus optional peers for specific components — see package.json).
7
+ **wimui** v0.56.0 — a React 19 component library: 228 documented components across 10 categories, with design tokens, dark mode, i18n (en/ja/pt-BR) and WAI-ARIA compliant a11y. Peer deps: react ^19, react-dom ^19 (plus optional peers for specific components — see package.json).
8
8
 
9
9
  ## Install & required setup
10
10
 
@@ -1260,12 +1260,25 @@ text to take a name from, and the icon name is not used as one.
1260
1260
  - `src: string` — URL or data URL of the image to crop
1261
1261
  - `aspectRatio: number` = 1 — Aspect ratio (width / height); 1 produces a square
1262
1262
  - `circular: boolean` = false — Whether to display a circular crop area (for profile images)
1263
- - `onCrop: (dataUrl: string) => void` — Callback when the crop result is finalized
1263
+ - `onCrop: (dataUrl: string, detail: ImageCropDetail) => void` — Called with the cropped image as a data URL once the crop is confirmed. The second argument
1264
+ describes the crop (offset, zoom, rotation, frame and output size) so it can be redone elsewhere.
1264
1265
  - `showRotation: boolean` = true — Whether to show the rotation button
1265
1266
  - `showZoom: boolean` = true — Whether to show the zoom slider
1266
1267
  - `showApplyButton: boolean` = true — Whether to show the apply button
1267
1268
  - `applyLabel: string` — Label of the apply button
1268
- - `onApply: (dataUrl: string) => void` — Callback when the crop is applied (after confirming in the dialog)
1269
+ - `onApply: (dataUrl: string, detail: ImageCropDetail) => void` — Called with the cropped image and the crop detail when the crop is applied (after confirming in the dialog)
1270
+ - `onCropError: (error: Error, detail: ImageCropDetail) => void` — Called instead of onCrop and onApply when the image cannot be produced, with the crop detail.
1271
+ The usual cause is an image from another origin drawn without CORS approval: the browser then
1272
+ refuses to read the canvas. Set crossOrigin and serve the image with CORS headers, or crop on
1273
+ the server from the detail.
1274
+ - `maxOutputSize: number` — Upper bound, in px, for the longer side of the output image. The crop is taken at the
1275
+ resolution of the source image; without a bound a large photo produces a large data URL.
1276
+ - `outputType: "image/png" | "image/jpeg" | "image/webp"` = "image/png" — Image format of the output. "image/png" keeps transparency where the image does not cover the frame.
1277
+ @default "image/png"
1278
+ - `outputQuality: number` = 0.92 — Quality from 0 to 1 for "image/jpeg" and "image/webp". Ignored for "image/png".
1279
+ @default 0.92
1280
+ - `crossOrigin: "anonymous" | "use-credentials"` — CORS mode used to load the image. Needed to crop an image served from another origin;
1281
+ the server must send matching CORS headers or the image will not load at all.
1269
1282
  - **InlineEdit** — A component that allows users to switch between a view-only mode and an editable mode in-place. (aka Editable Text)
1270
1283
  - `value: string` — Current text (controlled)
1271
1284
  - `defaultValue: string` — Initial text (uncontrolled)
@@ -1818,6 +1831,7 @@ so the unit does not have to be repeated in the label.
1818
1831
  - `children: React.ReactNode` — Optional children used when asChild is true
1819
1832
  - `aria-label: string` — Accessible label when no visible label is provided
1820
1833
  - `aria-labelledby: string` — ID of the element that labels the group
1834
+ - `aria-describedby: string` — ID of the element that describes the group, such as help text
1821
1835
  - **Transfer** — Move items between lists
1822
1836
  - `dataSource: TransferItem[]` = [] — All items shown across the two lists
1823
1837
  - `targetKeys: string[]` — Keys of the items in the target (right) list
package/dist/llms.txt CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## What this is
6
6
 
7
- **wimui** v0.54.0 — a React 19 component library: 228 documented components across 10 categories, with design tokens, dark mode, i18n (en/ja/pt-BR) and WAI-ARIA compliant a11y. Peer deps: react ^19, react-dom ^19 (plus optional peers for specific components — see package.json).
7
+ **wimui** v0.56.0 — a React 19 component library: 228 documented components across 10 categories, with design tokens, dark mode, i18n (en/ja/pt-BR) and WAI-ARIA compliant a11y. Peer deps: react ^19, react-dom ^19 (plus optional peers for specific components — see package.json).
8
8
 
9
9
  ## Install & required setup
10
10
 
@@ -87,6 +87,8 @@
87
87
  },
88
88
  "image_cropper": {
89
89
  "no_image": "No image selected",
90
+ "position_label": "Image position",
91
+ "position_hint": "Use the arrow keys to move the image. Hold Shift for larger steps. Home centers it.",
90
92
  "zoom": "Zoom",
91
93
  "rotate": "Rotate",
92
94
  "apply": "Apply Crop",
@@ -61,6 +61,8 @@
61
61
  "confirm_message": "この範囲で画像を保存しますか?",
62
62
  "confirm_title": "クロップの適用",
63
63
  "no_image": "画像が選択されていません",
64
+ "position_hint": "矢印キーで画像を動かします。Shift を押しながらだと大きく動きます。Home で中央に戻ります。",
65
+ "position_label": "画像の位置",
64
66
  "rotate": "回転",
65
67
  "zoom": "ズーム"
66
68
  },
@@ -61,6 +61,8 @@
61
61
  "confirm_message": "Deseja salvar a imagem com este recorte?",
62
62
  "confirm_title": "Aplicar recorte",
63
63
  "no_image": "Nenhuma imagem selecionada",
64
+ "position_hint": "Use as setas para mover a imagem. Segure Shift para passos maiores. Home centraliza a imagem.",
65
+ "position_label": "Posição da imagem",
64
66
  "rotate": "Rodar",
65
67
  "zoom": "Zoom"
66
68
  },