Skip to content

Commit 4ae2456

Browse files
committed
docs: add image cropper docs
1 parent 60d65ea commit 4ae2456

File tree

20 files changed

+1160
-50
lines changed

20 files changed

+1160
-50
lines changed

packages/docs/data/accessibility.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,50 @@
607607
}
608608
]
609609
},
610+
"image-cropper": {
611+
"keyboard": [
612+
{
613+
"keys": ["ArrowUp"],
614+
"description": "Moves the crop selection upward by the configured nudge step. Hold Shift for the `nudgeStepShift` value or Ctrl/Cmd for `nudgeStepCtrl`."
615+
},
616+
{
617+
"keys": ["ArrowDown"],
618+
"description": "Moves the crop selection downward by the configured nudge step. Hold Shift for the `nudgeStepShift` value or Ctrl/Cmd for `nudgeStepCtrl`."
619+
},
620+
{
621+
"keys": ["ArrowLeft"],
622+
"description": "Moves the crop selection to the left by the configured nudge step. Hold Shift for the `nudgeStepShift` value or Ctrl/Cmd for `nudgeStepCtrl`."
623+
},
624+
{
625+
"keys": ["ArrowRight"],
626+
"description": "Moves the crop selection to the right by the configured nudge step. Hold Shift for the `nudgeStepShift` value or Ctrl/Cmd for `nudgeStepCtrl`."
627+
},
628+
{
629+
"keys": ["Alt + ArrowUp"],
630+
"description": "Resizes the crop vertically from the bottom handle, reducing the height. Hold Shift or Ctrl/Cmd for the larger nudge steps."
631+
},
632+
{
633+
"keys": ["Alt + ArrowDown"],
634+
"description": "Resizes the crop vertically from the bottom handle, increasing the height. Hold Shift or Ctrl/Cmd for the larger nudge steps."
635+
},
636+
{
637+
"keys": ["Alt + ArrowLeft"],
638+
"description": "Resizes the crop horizontally from the right handle, reducing the width. Hold Shift or Ctrl/Cmd for the larger nudge steps."
639+
},
640+
{
641+
"keys": ["Alt + ArrowRight"],
642+
"description": "Resizes the crop horizontally from the right handle, increasing the width. Hold Shift or Ctrl/Cmd for the larger nudge steps."
643+
},
644+
{
645+
"keys": ["+"],
646+
"description": "Zooms in on the image. The `=` key performs the same action on keyboards where both symbols share a key."
647+
},
648+
{
649+
"keys": ["-"],
650+
"description": "Zooms out of the image. The `_` key performs the same action on keyboards where both symbols share a key."
651+
}
652+
]
653+
},
610654
"number-input": {
611655
"keyboard": [
612656
{

0 commit comments

Comments
 (0)