|
4620 | 4620 |
|
4621 | 4621 | ]
|
4622 | 4622 | },
|
4623 |
| - { |
4624 |
| - "fully_qualified_name": "Primer::Alpha::ImageCrop", |
4625 |
| - "description": "A client-side mechanism to crop images.", |
4626 |
| - "accessibility_docs": null, |
4627 |
| - "is_form_component": false, |
4628 |
| - "is_published": true, |
4629 |
| - "requires_js": true, |
4630 |
| - "component": "ImageCrop", |
4631 |
| - "status": "alpha", |
4632 |
| - "a11y_reviewed": false, |
4633 |
| - "short_name": "ImageCrop", |
4634 |
| - "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/image_crop.rb", |
4635 |
| - "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/image_crop/default/", |
4636 |
| - "parameters": [ |
4637 |
| - { |
4638 |
| - "name": "src", |
4639 |
| - "type": "String", |
4640 |
| - "default": "N/A", |
4641 |
| - "description": "The path of the image to crop." |
4642 |
| - }, |
4643 |
| - { |
4644 |
| - "name": "rounded", |
4645 |
| - "type": "Boolean", |
4646 |
| - "default": "`true`", |
4647 |
| - "description": "If the crop mask should be a circle. Defaults to true." |
4648 |
| - }, |
4649 |
| - { |
4650 |
| - "name": "system_arguments", |
4651 |
| - "type": "Hash", |
4652 |
| - "default": "N/A", |
4653 |
| - "description": "{{link_to_system_arguments_docs}}" |
4654 |
| - } |
4655 |
| - ], |
4656 |
| - "slots": [ |
4657 |
| - { |
4658 |
| - "name": "loading", |
4659 |
| - "description": "A loading indicator that is shown while the image is loading.", |
4660 |
| - "parameters": [ |
4661 |
| - { |
4662 |
| - "name": "system_arguments", |
4663 |
| - "type": "Hash", |
4664 |
| - "default": "N/A", |
4665 |
| - "description": "{{link_to_system_arguments_docs}}" |
4666 |
| - } |
4667 |
| - ] |
4668 |
| - } |
4669 |
| - ], |
4670 |
| - "methods": [ |
4671 |
| - |
4672 |
| - ], |
4673 |
| - "previews": [ |
4674 |
| - { |
4675 |
| - "preview_path": "primer/alpha/image_crop/playground", |
4676 |
| - "name": "playground", |
4677 |
| - "snapshot": "false", |
4678 |
| - "skip_rules": { |
4679 |
| - "wont_fix": [ |
4680 |
| - "region" |
4681 |
| - ], |
4682 |
| - "will_fix": [ |
4683 |
| - "color-contrast" |
4684 |
| - ] |
4685 |
| - } |
4686 |
| - }, |
4687 |
| - { |
4688 |
| - "preview_path": "primer/alpha/image_crop/default", |
4689 |
| - "name": "default", |
4690 |
| - "snapshot": "false", |
4691 |
| - "skip_rules": { |
4692 |
| - "wont_fix": [ |
4693 |
| - "region" |
4694 |
| - ], |
4695 |
| - "will_fix": [ |
4696 |
| - "color-contrast" |
4697 |
| - ] |
4698 |
| - } |
4699 |
| - }, |
4700 |
| - { |
4701 |
| - "preview_path": "primer/alpha/image_crop/loading", |
4702 |
| - "name": "loading", |
4703 |
| - "snapshot": "false", |
4704 |
| - "skip_rules": { |
4705 |
| - "wont_fix": [ |
4706 |
| - "region" |
4707 |
| - ], |
4708 |
| - "will_fix": [ |
4709 |
| - "color-contrast" |
4710 |
| - ] |
4711 |
| - } |
4712 |
| - } |
4713 |
| - ], |
4714 |
| - "subcomponents": [ |
4715 |
| - |
4716 |
| - ] |
4717 |
| - }, |
4718 | 4623 | {
|
4719 | 4624 | "fully_qualified_name": "Primer::Alpha::Layout",
|
4720 | 4625 | "description": "`Layout` provides foundational patterns for responsive pages.\n`Layout` can be used for simple two-column pages, or it can be nested to provide flexible 3-column experiences.\n On smaller screens, `Layout` uses vertically stacked rows to display content.\n\n`Layout` flows as both column, when there's enough horizontal space to render both `Main` and `Sidebar`side-by-side (on a desktop of tablet device, per instance);\nor it flows as a row, when `Main` and `Sidebar` are stacked vertically (e.g. on a mobile device).\n`Layout` should always work in any screen size.",
|
|
0 commit comments