@primer/view-components 0.35.0-rc.bc1c8e86 → 0.35.0-rc.bfaf3f99

Sign up to get free protection for your applications and to get access to all the features.
@@ -4620,101 +4620,6 @@
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.",
@@ -3978,53 +3978,6 @@
3978
3978
  }
3979
3979
  ]
3980
3980
  },
3981
- {
3982
- "name": "image_crop",
3983
- "component": "ImageCrop",
3984
- "status": "alpha",
3985
- "lookup_path": "primer/alpha/image_crop",
3986
- "examples": [
3987
- {
3988
- "preview_path": "primer/alpha/image_crop/playground",
3989
- "name": "playground",
3990
- "snapshot": "false",
3991
- "skip_rules": {
3992
- "wont_fix": [
3993
- "region"
3994
- ],
3995
- "will_fix": [
3996
- "color-contrast"
3997
- ]
3998
- }
3999
- },
4000
- {
4001
- "preview_path": "primer/alpha/image_crop/default",
4002
- "name": "default",
4003
- "snapshot": "false",
4004
- "skip_rules": {
4005
- "wont_fix": [
4006
- "region"
4007
- ],
4008
- "will_fix": [
4009
- "color-contrast"
4010
- ]
4011
- }
4012
- },
4013
- {
4014
- "preview_path": "primer/alpha/image_crop/loading",
4015
- "name": "loading",
4016
- "snapshot": "false",
4017
- "skip_rules": {
4018
- "wont_fix": [
4019
- "region"
4020
- ],
4021
- "will_fix": [
4022
- "color-contrast"
4023
- ]
4024
- }
4025
- }
4026
- ]
4027
- },
4028
3981
  {
4029
3982
  "name": "label",
4030
3983
  "component": "Label",
@@ -30,7 +30,6 @@
30
30
  "Primer::Alpha::HellipButton": "alpha",
31
31
  "Primer::Alpha::HiddenTextExpander": "alpha",
32
32
  "Primer::Alpha::Image": "alpha",
33
- "Primer::Alpha::ImageCrop": "alpha",
34
33
  "Primer::Alpha::Layout": "alpha",
35
34
  "Primer::Alpha::Layout::Main": "alpha",
36
35
  "Primer::Alpha::Layout::Sidebar": "alpha",
@@ -1 +0,0 @@
1
- import '@github/image-crop-element';
@@ -1 +0,0 @@
1
- import '@github/image-crop-element';
@@ -1 +0,0 @@
1
- import '@github/image-crop-element';