openproject-primer_view_components 0.78.1 → 0.79.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/app/assets/javascripts/components/primer/open_project/avatar_fallback.d.ts +7 -0
- data/app/assets/javascripts/components/primer/primer.d.ts +1 -0
- data/app/assets/javascripts/primer_view_components.js +1 -1
- data/app/assets/javascripts/primer_view_components.js.map +1 -1
- data/app/assets/styles/primer_view_components.css +1 -1
- data/app/assets/styles/primer_view_components.css.map +1 -1
- data/app/components/primer/alpha/action_list.css +1 -1
- data/app/components/primer/alpha/action_list.css.map +1 -1
- data/app/components/primer/alpha/text_field.css +1 -1
- data/app/components/primer/alpha/text_field.css.map +1 -1
- data/app/components/primer/alpha/underline_nav.css +1 -1
- data/app/components/primer/alpha/underline_nav.css.map +1 -1
- data/app/components/primer/beta/avatar.rb +6 -2
- data/app/components/primer/beta/avatar_stack.css +1 -1
- data/app/components/primer/beta/avatar_stack.css.json +7 -4
- data/app/components/primer/beta/avatar_stack.css.map +1 -1
- data/app/components/primer/beta/avatar_stack.pcss +22 -2
- data/app/components/primer/beta/avatar_stack.rb +4 -1
- data/app/components/primer/beta/button.css +1 -1
- data/app/components/primer/beta/button.css.map +1 -1
- data/app/components/primer/open_project/avatar_fallback.d.ts +7 -0
- data/app/components/primer/open_project/avatar_fallback.js +62 -0
- data/app/components/primer/open_project/avatar_fallback.ts +49 -0
- data/app/components/primer/open_project/avatar_stack.css +1 -0
- data/app/components/primer/open_project/avatar_stack.css.json +10 -0
- data/app/components/primer/open_project/avatar_stack.css.map +1 -0
- data/app/components/primer/open_project/avatar_stack.pcss +40 -0
- data/app/components/primer/open_project/avatar_stack.rb +23 -0
- data/app/components/primer/open_project/avatar_with_fallback.rb +114 -0
- data/app/components/primer/primer.d.ts +1 -0
- data/app/components/primer/primer.js +1 -0
- data/app/components/primer/primer.pcss +1 -0
- data/app/components/primer/primer.ts +1 -0
- data/lib/primer/view_components/version.rb +2 -2
- data/previews/primer/beta/avatar_stack_preview.rb +23 -2
- data/previews/primer/open_project/avatar_stack_preview.rb +70 -0
- data/previews/primer/open_project/avatar_with_fallback_preview/fallback_multiple.html.erb +7 -0
- data/previews/primer/open_project/avatar_with_fallback_preview/fallback_sizes.html.erb +34 -0
- data/previews/primer/open_project/avatar_with_fallback_preview.rb +71 -0
- data/static/arguments.json +110 -0
- data/static/audited_at.json +2 -0
- data/static/classes.json +2 -1
- data/static/constants.json +7 -0
- data/static/info_arch.json +373 -0
- data/static/previews.json +237 -0
- data/static/statuses.json +2 -0
- metadata +16 -2
data/static/info_arch.json
CHANGED
|
@@ -12486,6 +12486,12 @@
|
|
|
12486
12486
|
"default": "`nil`",
|
|
12487
12487
|
"description": "The URL to link to. If used, component will be wrapped by an `<a>` tag."
|
|
12488
12488
|
},
|
|
12489
|
+
{
|
|
12490
|
+
"name": "tooltip",
|
|
12491
|
+
"type": "String",
|
|
12492
|
+
"default": "`nil`",
|
|
12493
|
+
"description": "Tooltip text to display on hover when href is provided."
|
|
12494
|
+
},
|
|
12489
12495
|
{
|
|
12490
12496
|
"name": "system_arguments",
|
|
12491
12497
|
"type": "Hash",
|
|
@@ -12700,6 +12706,12 @@
|
|
|
12700
12706
|
"default": "`false`",
|
|
12701
12707
|
"description": "Whether to add a tooltip to the stack or not."
|
|
12702
12708
|
},
|
|
12709
|
+
{
|
|
12710
|
+
"name": "disable_expand",
|
|
12711
|
+
"type": "Boolean",
|
|
12712
|
+
"default": "`false`",
|
|
12713
|
+
"description": "Whether to disable the expand behavior on hover. If true, avatars will not expand."
|
|
12714
|
+
},
|
|
12703
12715
|
{
|
|
12704
12716
|
"name": "body_arguments",
|
|
12705
12717
|
"type": "Hash",
|
|
@@ -12845,6 +12857,32 @@
|
|
|
12845
12857
|
"color-contrast"
|
|
12846
12858
|
]
|
|
12847
12859
|
}
|
|
12860
|
+
},
|
|
12861
|
+
{
|
|
12862
|
+
"preview_path": "primer/beta/avatar_stack/with_individual_tooltips",
|
|
12863
|
+
"name": "with_individual_tooltips",
|
|
12864
|
+
"snapshot": "false",
|
|
12865
|
+
"skip_rules": {
|
|
12866
|
+
"wont_fix": [
|
|
12867
|
+
"region"
|
|
12868
|
+
],
|
|
12869
|
+
"will_fix": [
|
|
12870
|
+
"color-contrast"
|
|
12871
|
+
]
|
|
12872
|
+
}
|
|
12873
|
+
},
|
|
12874
|
+
{
|
|
12875
|
+
"preview_path": "primer/beta/avatar_stack/with_disabled_expand",
|
|
12876
|
+
"name": "with_disabled_expand",
|
|
12877
|
+
"snapshot": "false",
|
|
12878
|
+
"skip_rules": {
|
|
12879
|
+
"wont_fix": [
|
|
12880
|
+
"region"
|
|
12881
|
+
],
|
|
12882
|
+
"will_fix": [
|
|
12883
|
+
"color-contrast"
|
|
12884
|
+
]
|
|
12885
|
+
}
|
|
12848
12886
|
}
|
|
12849
12887
|
],
|
|
12850
12888
|
"subcomponents": []
|
|
@@ -18671,6 +18709,341 @@
|
|
|
18671
18709
|
"previews": [],
|
|
18672
18710
|
"subcomponents": []
|
|
18673
18711
|
},
|
|
18712
|
+
{
|
|
18713
|
+
"fully_qualified_name": "Primer::OpenProject::AvatarStack",
|
|
18714
|
+
"description": "OpenProject-specific AvatarStack that extends Primer::Beta::AvatarStack\nto support avatar fallbacks with initials.\n\nUses a different slot name (avatar_with_fallbacks) to avoid conflicts with the parent's avatars slot.",
|
|
18715
|
+
"accessibility_docs": null,
|
|
18716
|
+
"is_form_component": false,
|
|
18717
|
+
"is_published": true,
|
|
18718
|
+
"requires_js": false,
|
|
18719
|
+
"component": "OpenProject::AvatarStack",
|
|
18720
|
+
"status": "open_project",
|
|
18721
|
+
"a11y_reviewed": false,
|
|
18722
|
+
"short_name": "OpenProjectAvatarStack",
|
|
18723
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/avatar_stack.rb",
|
|
18724
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/avatar_stack/default/",
|
|
18725
|
+
"parameters": [
|
|
18726
|
+
{
|
|
18727
|
+
"name": "tag",
|
|
18728
|
+
"type": "Symbol",
|
|
18729
|
+
"default": "`:div`",
|
|
18730
|
+
"description": "One of `:div` or `:span`."
|
|
18731
|
+
},
|
|
18732
|
+
{
|
|
18733
|
+
"name": "align",
|
|
18734
|
+
"type": "Symbol",
|
|
18735
|
+
"default": "`:left`",
|
|
18736
|
+
"description": "One of `:left` or `:right`."
|
|
18737
|
+
},
|
|
18738
|
+
{
|
|
18739
|
+
"name": "tooltipped",
|
|
18740
|
+
"type": "Boolean",
|
|
18741
|
+
"default": "`false`",
|
|
18742
|
+
"description": "Whether to add a tooltip to the stack or not."
|
|
18743
|
+
},
|
|
18744
|
+
{
|
|
18745
|
+
"name": "disable_expand",
|
|
18746
|
+
"type": "Boolean",
|
|
18747
|
+
"default": "`false`",
|
|
18748
|
+
"description": "Whether to disable the expand behavior on hover. If true, avatars will not expand."
|
|
18749
|
+
},
|
|
18750
|
+
{
|
|
18751
|
+
"name": "body_arguments",
|
|
18752
|
+
"type": "Hash",
|
|
18753
|
+
"default": "`{}`",
|
|
18754
|
+
"description": "Parameters to add to the Body. If `tooltipped` is set, has the same arguments as {{#link_to_component}}Primer::Tooltip{{/link_to_component}}. The default tag is `:div` but can be changed using `tag:` to one of `:div` or `:span`."
|
|
18755
|
+
},
|
|
18756
|
+
{
|
|
18757
|
+
"name": "system_arguments",
|
|
18758
|
+
"type": "Hash",
|
|
18759
|
+
"default": "N/A",
|
|
18760
|
+
"description": "{{link_to_system_arguments_docs}}"
|
|
18761
|
+
}
|
|
18762
|
+
],
|
|
18763
|
+
"slots": [
|
|
18764
|
+
{
|
|
18765
|
+
"name": "avatar_with_fallbacks",
|
|
18766
|
+
"description": "Required list of stacked avatars with fallback support.",
|
|
18767
|
+
"parameters": [
|
|
18768
|
+
{
|
|
18769
|
+
"name": "kwargs",
|
|
18770
|
+
"type": "Hash",
|
|
18771
|
+
"default": "N/A",
|
|
18772
|
+
"description": "The same arguments as {{#link_to_component}}Primer::OpenProject::AvatarWithFallback{{/link_to_component}}."
|
|
18773
|
+
}
|
|
18774
|
+
]
|
|
18775
|
+
}
|
|
18776
|
+
],
|
|
18777
|
+
"methods": [
|
|
18778
|
+
{
|
|
18779
|
+
"name": "avatars",
|
|
18780
|
+
"description": "Alias avatar_with_fallbacks as avatars for use in the template",
|
|
18781
|
+
"parameters": [],
|
|
18782
|
+
"return_types": []
|
|
18783
|
+
}
|
|
18784
|
+
],
|
|
18785
|
+
"previews": [
|
|
18786
|
+
{
|
|
18787
|
+
"preview_path": "primer/open_project/avatar_stack/playground",
|
|
18788
|
+
"name": "playground",
|
|
18789
|
+
"snapshot": "false",
|
|
18790
|
+
"skip_rules": {
|
|
18791
|
+
"wont_fix": [
|
|
18792
|
+
"region"
|
|
18793
|
+
],
|
|
18794
|
+
"will_fix": [
|
|
18795
|
+
"color-contrast"
|
|
18796
|
+
]
|
|
18797
|
+
}
|
|
18798
|
+
},
|
|
18799
|
+
{
|
|
18800
|
+
"preview_path": "primer/open_project/avatar_stack/default",
|
|
18801
|
+
"name": "default",
|
|
18802
|
+
"snapshot": "true",
|
|
18803
|
+
"skip_rules": {
|
|
18804
|
+
"wont_fix": [
|
|
18805
|
+
"region"
|
|
18806
|
+
],
|
|
18807
|
+
"will_fix": [
|
|
18808
|
+
"color-contrast"
|
|
18809
|
+
]
|
|
18810
|
+
}
|
|
18811
|
+
},
|
|
18812
|
+
{
|
|
18813
|
+
"preview_path": "primer/open_project/avatar_stack/with_fallback_avatars",
|
|
18814
|
+
"name": "with_fallback_avatars",
|
|
18815
|
+
"snapshot": "true",
|
|
18816
|
+
"skip_rules": {
|
|
18817
|
+
"wont_fix": [
|
|
18818
|
+
"region"
|
|
18819
|
+
],
|
|
18820
|
+
"will_fix": [
|
|
18821
|
+
"color-contrast"
|
|
18822
|
+
]
|
|
18823
|
+
}
|
|
18824
|
+
},
|
|
18825
|
+
{
|
|
18826
|
+
"preview_path": "primer/open_project/avatar_stack/mixed_avatars",
|
|
18827
|
+
"name": "mixed_avatars",
|
|
18828
|
+
"snapshot": "false",
|
|
18829
|
+
"skip_rules": {
|
|
18830
|
+
"wont_fix": [
|
|
18831
|
+
"region"
|
|
18832
|
+
],
|
|
18833
|
+
"will_fix": [
|
|
18834
|
+
"color-contrast"
|
|
18835
|
+
]
|
|
18836
|
+
}
|
|
18837
|
+
},
|
|
18838
|
+
{
|
|
18839
|
+
"preview_path": "primer/open_project/avatar_stack/align_right_with_fallbacks",
|
|
18840
|
+
"name": "align_right_with_fallbacks",
|
|
18841
|
+
"snapshot": "false",
|
|
18842
|
+
"skip_rules": {
|
|
18843
|
+
"wont_fix": [
|
|
18844
|
+
"region"
|
|
18845
|
+
],
|
|
18846
|
+
"will_fix": [
|
|
18847
|
+
"color-contrast"
|
|
18848
|
+
]
|
|
18849
|
+
}
|
|
18850
|
+
},
|
|
18851
|
+
{
|
|
18852
|
+
"preview_path": "primer/open_project/avatar_stack/with_tooltip_and_fallbacks",
|
|
18853
|
+
"name": "with_tooltip_and_fallbacks",
|
|
18854
|
+
"snapshot": "false",
|
|
18855
|
+
"skip_rules": {
|
|
18856
|
+
"wont_fix": [
|
|
18857
|
+
"region"
|
|
18858
|
+
],
|
|
18859
|
+
"will_fix": [
|
|
18860
|
+
"color-contrast"
|
|
18861
|
+
]
|
|
18862
|
+
}
|
|
18863
|
+
}
|
|
18864
|
+
],
|
|
18865
|
+
"subcomponents": []
|
|
18866
|
+
},
|
|
18867
|
+
{
|
|
18868
|
+
"fully_qualified_name": "Primer::OpenProject::AvatarWithFallback",
|
|
18869
|
+
"description": "OpenProject-specific Avatar component that extends Primer::Beta::Avatar\nto support fallback rendering with initials when no image source is provided.\n\nWhen `src` is nil, this component renders an SVG with initials extracted from\nthe alt text. The AvatarFallbackElement web component then enhances it client-side\nby applying a consistent background color based on the user's unique_id (using the\nsame hash function as OP Core for consistency).\n\nThis component follows the \"extension over mutation\" pattern - it extends\nPrimer::Beta::Avatar without modifying its interface, ensuring compatibility\nwith upstream changes.",
|
|
18870
|
+
"accessibility_docs": null,
|
|
18871
|
+
"is_form_component": false,
|
|
18872
|
+
"is_published": true,
|
|
18873
|
+
"requires_js": false,
|
|
18874
|
+
"component": "OpenProject::AvatarWithFallback",
|
|
18875
|
+
"status": "open_project",
|
|
18876
|
+
"a11y_reviewed": false,
|
|
18877
|
+
"short_name": "OpenProjectAvatarWithFallback",
|
|
18878
|
+
"source": "https://github.com/primer/view_components/tree/main/app/components/primer/open_project/avatar_with_fallback.rb",
|
|
18879
|
+
"lookbook": "https://primer.style/view-components/lookbook/inspect/primer/open_project/avatar_with_fallback/default/",
|
|
18880
|
+
"parameters": [
|
|
18881
|
+
{
|
|
18882
|
+
"name": "src",
|
|
18883
|
+
"type": "String",
|
|
18884
|
+
"default": "`nil`",
|
|
18885
|
+
"description": "The source url of the avatar image. When nil, renders a fallback with initials."
|
|
18886
|
+
},
|
|
18887
|
+
{
|
|
18888
|
+
"name": "alt",
|
|
18889
|
+
"type": "String",
|
|
18890
|
+
"default": "`nil`",
|
|
18891
|
+
"description": "Alt text for the avatar. Used for accessibility and to generate initials when src is nil."
|
|
18892
|
+
},
|
|
18893
|
+
{
|
|
18894
|
+
"name": "size",
|
|
18895
|
+
"type": "Integer",
|
|
18896
|
+
"default": "`20`",
|
|
18897
|
+
"description": "One of `16`, `20`, `24`, `32`, `40`, `48`, `64`, or `80`."
|
|
18898
|
+
},
|
|
18899
|
+
{
|
|
18900
|
+
"name": "shape",
|
|
18901
|
+
"type": "Symbol",
|
|
18902
|
+
"default": "`:circle`",
|
|
18903
|
+
"description": "Shape of the avatar. One of `:circle` or `:square`."
|
|
18904
|
+
},
|
|
18905
|
+
{
|
|
18906
|
+
"name": "href",
|
|
18907
|
+
"type": "String",
|
|
18908
|
+
"default": "`nil`",
|
|
18909
|
+
"description": "The URL to link to. If used, component will be wrapped by an `<a>` tag."
|
|
18910
|
+
},
|
|
18911
|
+
{
|
|
18912
|
+
"name": "unique_id",
|
|
18913
|
+
"type": "String, Integer",
|
|
18914
|
+
"default": "`nil`",
|
|
18915
|
+
"description": "Unique identifier for generating consistent avatar colors across renders."
|
|
18916
|
+
},
|
|
18917
|
+
{
|
|
18918
|
+
"name": "system_arguments",
|
|
18919
|
+
"type": "Hash",
|
|
18920
|
+
"default": "N/A",
|
|
18921
|
+
"description": "{{link_to_system_arguments_docs}}"
|
|
18922
|
+
}
|
|
18923
|
+
],
|
|
18924
|
+
"slots": [],
|
|
18925
|
+
"methods": [],
|
|
18926
|
+
"previews": [
|
|
18927
|
+
{
|
|
18928
|
+
"preview_path": "primer/open_project/avatar_with_fallback/playground",
|
|
18929
|
+
"name": "playground",
|
|
18930
|
+
"snapshot": "false",
|
|
18931
|
+
"skip_rules": {
|
|
18932
|
+
"wont_fix": [
|
|
18933
|
+
"region"
|
|
18934
|
+
],
|
|
18935
|
+
"will_fix": [
|
|
18936
|
+
"color-contrast"
|
|
18937
|
+
]
|
|
18938
|
+
}
|
|
18939
|
+
},
|
|
18940
|
+
{
|
|
18941
|
+
"preview_path": "primer/open_project/avatar_with_fallback/default",
|
|
18942
|
+
"name": "default",
|
|
18943
|
+
"snapshot": "true",
|
|
18944
|
+
"skip_rules": {
|
|
18945
|
+
"wont_fix": [
|
|
18946
|
+
"region"
|
|
18947
|
+
],
|
|
18948
|
+
"will_fix": [
|
|
18949
|
+
"color-contrast"
|
|
18950
|
+
]
|
|
18951
|
+
}
|
|
18952
|
+
},
|
|
18953
|
+
{
|
|
18954
|
+
"preview_path": "primer/open_project/avatar_with_fallback/with_image",
|
|
18955
|
+
"name": "with_image",
|
|
18956
|
+
"snapshot": "true",
|
|
18957
|
+
"skip_rules": {
|
|
18958
|
+
"wont_fix": [
|
|
18959
|
+
"region"
|
|
18960
|
+
],
|
|
18961
|
+
"will_fix": [
|
|
18962
|
+
"color-contrast"
|
|
18963
|
+
]
|
|
18964
|
+
}
|
|
18965
|
+
},
|
|
18966
|
+
{
|
|
18967
|
+
"preview_path": "primer/open_project/avatar_with_fallback/fallback_default",
|
|
18968
|
+
"name": "fallback_default",
|
|
18969
|
+
"snapshot": "true",
|
|
18970
|
+
"skip_rules": {
|
|
18971
|
+
"wont_fix": [
|
|
18972
|
+
"region"
|
|
18973
|
+
],
|
|
18974
|
+
"will_fix": [
|
|
18975
|
+
"color-contrast"
|
|
18976
|
+
]
|
|
18977
|
+
}
|
|
18978
|
+
},
|
|
18979
|
+
{
|
|
18980
|
+
"preview_path": "primer/open_project/avatar_with_fallback/fallback_single_name",
|
|
18981
|
+
"name": "fallback_single_name",
|
|
18982
|
+
"snapshot": "true",
|
|
18983
|
+
"skip_rules": {
|
|
18984
|
+
"wont_fix": [
|
|
18985
|
+
"region"
|
|
18986
|
+
],
|
|
18987
|
+
"will_fix": [
|
|
18988
|
+
"color-contrast"
|
|
18989
|
+
]
|
|
18990
|
+
}
|
|
18991
|
+
},
|
|
18992
|
+
{
|
|
18993
|
+
"preview_path": "primer/open_project/avatar_with_fallback/fallback_multiple",
|
|
18994
|
+
"name": "fallback_multiple",
|
|
18995
|
+
"snapshot": "false",
|
|
18996
|
+
"skip_rules": {
|
|
18997
|
+
"wont_fix": [
|
|
18998
|
+
"region"
|
|
18999
|
+
],
|
|
19000
|
+
"will_fix": [
|
|
19001
|
+
"color-contrast"
|
|
19002
|
+
]
|
|
19003
|
+
}
|
|
19004
|
+
},
|
|
19005
|
+
{
|
|
19006
|
+
"preview_path": "primer/open_project/avatar_with_fallback/fallback_sizes",
|
|
19007
|
+
"name": "fallback_sizes",
|
|
19008
|
+
"snapshot": "false",
|
|
19009
|
+
"skip_rules": {
|
|
19010
|
+
"wont_fix": [
|
|
19011
|
+
"region"
|
|
19012
|
+
],
|
|
19013
|
+
"will_fix": [
|
|
19014
|
+
"color-contrast"
|
|
19015
|
+
]
|
|
19016
|
+
}
|
|
19017
|
+
},
|
|
19018
|
+
{
|
|
19019
|
+
"preview_path": "primer/open_project/avatar_with_fallback/fallback_square",
|
|
19020
|
+
"name": "fallback_square",
|
|
19021
|
+
"snapshot": "true",
|
|
19022
|
+
"skip_rules": {
|
|
19023
|
+
"wont_fix": [
|
|
19024
|
+
"region"
|
|
19025
|
+
],
|
|
19026
|
+
"will_fix": [
|
|
19027
|
+
"color-contrast"
|
|
19028
|
+
]
|
|
19029
|
+
}
|
|
19030
|
+
},
|
|
19031
|
+
{
|
|
19032
|
+
"preview_path": "primer/open_project/avatar_with_fallback/fallback_as_link",
|
|
19033
|
+
"name": "fallback_as_link",
|
|
19034
|
+
"snapshot": "false",
|
|
19035
|
+
"skip_rules": {
|
|
19036
|
+
"wont_fix": [
|
|
19037
|
+
"region"
|
|
19038
|
+
],
|
|
19039
|
+
"will_fix": [
|
|
19040
|
+
"color-contrast"
|
|
19041
|
+
]
|
|
19042
|
+
}
|
|
19043
|
+
}
|
|
19044
|
+
],
|
|
19045
|
+
"subcomponents": []
|
|
19046
|
+
},
|
|
18674
19047
|
{
|
|
18675
19048
|
"fully_qualified_name": "Primer::OpenProject::BorderBox::CollapsibleHeader",
|
|
18676
19049
|
"description": "A component to be used inside Primer::Beta::BorderBox.\nIt will toggle the visibility of the complete Box body",
|
data/static/previews.json
CHANGED
|
@@ -1482,6 +1482,157 @@
|
|
|
1482
1482
|
"color-contrast"
|
|
1483
1483
|
]
|
|
1484
1484
|
}
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"preview_path": "primer/beta/avatar_stack/with_individual_tooltips",
|
|
1488
|
+
"name": "with_individual_tooltips",
|
|
1489
|
+
"snapshot": "false",
|
|
1490
|
+
"skip_rules": {
|
|
1491
|
+
"wont_fix": [
|
|
1492
|
+
"region"
|
|
1493
|
+
],
|
|
1494
|
+
"will_fix": [
|
|
1495
|
+
"color-contrast"
|
|
1496
|
+
]
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
"preview_path": "primer/beta/avatar_stack/with_disabled_expand",
|
|
1501
|
+
"name": "with_disabled_expand",
|
|
1502
|
+
"snapshot": "false",
|
|
1503
|
+
"skip_rules": {
|
|
1504
|
+
"wont_fix": [
|
|
1505
|
+
"region"
|
|
1506
|
+
],
|
|
1507
|
+
"will_fix": [
|
|
1508
|
+
"color-contrast"
|
|
1509
|
+
]
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
]
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
"name": "avatar_with_fallback",
|
|
1516
|
+
"component": "OpenProject::AvatarWithFallback",
|
|
1517
|
+
"status": "open_project",
|
|
1518
|
+
"lookup_path": "primer/open_project/avatar_with_fallback",
|
|
1519
|
+
"examples": [
|
|
1520
|
+
{
|
|
1521
|
+
"preview_path": "primer/open_project/avatar_with_fallback/playground",
|
|
1522
|
+
"name": "playground",
|
|
1523
|
+
"snapshot": "false",
|
|
1524
|
+
"skip_rules": {
|
|
1525
|
+
"wont_fix": [
|
|
1526
|
+
"region"
|
|
1527
|
+
],
|
|
1528
|
+
"will_fix": [
|
|
1529
|
+
"color-contrast"
|
|
1530
|
+
]
|
|
1531
|
+
}
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
"preview_path": "primer/open_project/avatar_with_fallback/default",
|
|
1535
|
+
"name": "default",
|
|
1536
|
+
"snapshot": "true",
|
|
1537
|
+
"skip_rules": {
|
|
1538
|
+
"wont_fix": [
|
|
1539
|
+
"region"
|
|
1540
|
+
],
|
|
1541
|
+
"will_fix": [
|
|
1542
|
+
"color-contrast"
|
|
1543
|
+
]
|
|
1544
|
+
}
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
"preview_path": "primer/open_project/avatar_with_fallback/with_image",
|
|
1548
|
+
"name": "with_image",
|
|
1549
|
+
"snapshot": "true",
|
|
1550
|
+
"skip_rules": {
|
|
1551
|
+
"wont_fix": [
|
|
1552
|
+
"region"
|
|
1553
|
+
],
|
|
1554
|
+
"will_fix": [
|
|
1555
|
+
"color-contrast"
|
|
1556
|
+
]
|
|
1557
|
+
}
|
|
1558
|
+
},
|
|
1559
|
+
{
|
|
1560
|
+
"preview_path": "primer/open_project/avatar_with_fallback/fallback_default",
|
|
1561
|
+
"name": "fallback_default",
|
|
1562
|
+
"snapshot": "true",
|
|
1563
|
+
"skip_rules": {
|
|
1564
|
+
"wont_fix": [
|
|
1565
|
+
"region"
|
|
1566
|
+
],
|
|
1567
|
+
"will_fix": [
|
|
1568
|
+
"color-contrast"
|
|
1569
|
+
]
|
|
1570
|
+
}
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
"preview_path": "primer/open_project/avatar_with_fallback/fallback_single_name",
|
|
1574
|
+
"name": "fallback_single_name",
|
|
1575
|
+
"snapshot": "true",
|
|
1576
|
+
"skip_rules": {
|
|
1577
|
+
"wont_fix": [
|
|
1578
|
+
"region"
|
|
1579
|
+
],
|
|
1580
|
+
"will_fix": [
|
|
1581
|
+
"color-contrast"
|
|
1582
|
+
]
|
|
1583
|
+
}
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
"preview_path": "primer/open_project/avatar_with_fallback/fallback_multiple",
|
|
1587
|
+
"name": "fallback_multiple",
|
|
1588
|
+
"snapshot": "false",
|
|
1589
|
+
"skip_rules": {
|
|
1590
|
+
"wont_fix": [
|
|
1591
|
+
"region"
|
|
1592
|
+
],
|
|
1593
|
+
"will_fix": [
|
|
1594
|
+
"color-contrast"
|
|
1595
|
+
]
|
|
1596
|
+
}
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
"preview_path": "primer/open_project/avatar_with_fallback/fallback_sizes",
|
|
1600
|
+
"name": "fallback_sizes",
|
|
1601
|
+
"snapshot": "false",
|
|
1602
|
+
"skip_rules": {
|
|
1603
|
+
"wont_fix": [
|
|
1604
|
+
"region"
|
|
1605
|
+
],
|
|
1606
|
+
"will_fix": [
|
|
1607
|
+
"color-contrast"
|
|
1608
|
+
]
|
|
1609
|
+
}
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"preview_path": "primer/open_project/avatar_with_fallback/fallback_square",
|
|
1613
|
+
"name": "fallback_square",
|
|
1614
|
+
"snapshot": "true",
|
|
1615
|
+
"skip_rules": {
|
|
1616
|
+
"wont_fix": [
|
|
1617
|
+
"region"
|
|
1618
|
+
],
|
|
1619
|
+
"will_fix": [
|
|
1620
|
+
"color-contrast"
|
|
1621
|
+
]
|
|
1622
|
+
}
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"preview_path": "primer/open_project/avatar_with_fallback/fallback_as_link",
|
|
1626
|
+
"name": "fallback_as_link",
|
|
1627
|
+
"snapshot": "false",
|
|
1628
|
+
"skip_rules": {
|
|
1629
|
+
"wont_fix": [
|
|
1630
|
+
"region"
|
|
1631
|
+
],
|
|
1632
|
+
"will_fix": [
|
|
1633
|
+
"color-contrast"
|
|
1634
|
+
]
|
|
1635
|
+
}
|
|
1485
1636
|
}
|
|
1486
1637
|
]
|
|
1487
1638
|
},
|
|
@@ -5935,6 +6086,92 @@
|
|
|
5935
6086
|
}
|
|
5936
6087
|
]
|
|
5937
6088
|
},
|
|
6089
|
+
{
|
|
6090
|
+
"name": "avatar_stack",
|
|
6091
|
+
"component": "OpenProject::AvatarStack",
|
|
6092
|
+
"status": "open_project",
|
|
6093
|
+
"lookup_path": "primer/open_project/avatar_stack",
|
|
6094
|
+
"examples": [
|
|
6095
|
+
{
|
|
6096
|
+
"preview_path": "primer/open_project/avatar_stack/playground",
|
|
6097
|
+
"name": "playground",
|
|
6098
|
+
"snapshot": "false",
|
|
6099
|
+
"skip_rules": {
|
|
6100
|
+
"wont_fix": [
|
|
6101
|
+
"region"
|
|
6102
|
+
],
|
|
6103
|
+
"will_fix": [
|
|
6104
|
+
"color-contrast"
|
|
6105
|
+
]
|
|
6106
|
+
}
|
|
6107
|
+
},
|
|
6108
|
+
{
|
|
6109
|
+
"preview_path": "primer/open_project/avatar_stack/default",
|
|
6110
|
+
"name": "default",
|
|
6111
|
+
"snapshot": "true",
|
|
6112
|
+
"skip_rules": {
|
|
6113
|
+
"wont_fix": [
|
|
6114
|
+
"region"
|
|
6115
|
+
],
|
|
6116
|
+
"will_fix": [
|
|
6117
|
+
"color-contrast"
|
|
6118
|
+
]
|
|
6119
|
+
}
|
|
6120
|
+
},
|
|
6121
|
+
{
|
|
6122
|
+
"preview_path": "primer/open_project/avatar_stack/with_fallback_avatars",
|
|
6123
|
+
"name": "with_fallback_avatars",
|
|
6124
|
+
"snapshot": "true",
|
|
6125
|
+
"skip_rules": {
|
|
6126
|
+
"wont_fix": [
|
|
6127
|
+
"region"
|
|
6128
|
+
],
|
|
6129
|
+
"will_fix": [
|
|
6130
|
+
"color-contrast"
|
|
6131
|
+
]
|
|
6132
|
+
}
|
|
6133
|
+
},
|
|
6134
|
+
{
|
|
6135
|
+
"preview_path": "primer/open_project/avatar_stack/mixed_avatars",
|
|
6136
|
+
"name": "mixed_avatars",
|
|
6137
|
+
"snapshot": "false",
|
|
6138
|
+
"skip_rules": {
|
|
6139
|
+
"wont_fix": [
|
|
6140
|
+
"region"
|
|
6141
|
+
],
|
|
6142
|
+
"will_fix": [
|
|
6143
|
+
"color-contrast"
|
|
6144
|
+
]
|
|
6145
|
+
}
|
|
6146
|
+
},
|
|
6147
|
+
{
|
|
6148
|
+
"preview_path": "primer/open_project/avatar_stack/align_right_with_fallbacks",
|
|
6149
|
+
"name": "align_right_with_fallbacks",
|
|
6150
|
+
"snapshot": "false",
|
|
6151
|
+
"skip_rules": {
|
|
6152
|
+
"wont_fix": [
|
|
6153
|
+
"region"
|
|
6154
|
+
],
|
|
6155
|
+
"will_fix": [
|
|
6156
|
+
"color-contrast"
|
|
6157
|
+
]
|
|
6158
|
+
}
|
|
6159
|
+
},
|
|
6160
|
+
{
|
|
6161
|
+
"preview_path": "primer/open_project/avatar_stack/with_tooltip_and_fallbacks",
|
|
6162
|
+
"name": "with_tooltip_and_fallbacks",
|
|
6163
|
+
"snapshot": "false",
|
|
6164
|
+
"skip_rules": {
|
|
6165
|
+
"wont_fix": [
|
|
6166
|
+
"region"
|
|
6167
|
+
],
|
|
6168
|
+
"will_fix": [
|
|
6169
|
+
"color-contrast"
|
|
6170
|
+
]
|
|
6171
|
+
}
|
|
6172
|
+
}
|
|
6173
|
+
]
|
|
6174
|
+
},
|
|
5938
6175
|
{
|
|
5939
6176
|
"name": "overlay",
|
|
5940
6177
|
"component": "Overlay",
|
data/static/statuses.json
CHANGED
|
@@ -139,6 +139,8 @@
|
|
|
139
139
|
"Primer::IconButton": "deprecated",
|
|
140
140
|
"Primer::LayoutComponent": "deprecated",
|
|
141
141
|
"Primer::Navigation::TabComponent": "deprecated",
|
|
142
|
+
"Primer::OpenProject::AvatarStack": "open_project",
|
|
143
|
+
"Primer::OpenProject::AvatarWithFallback": "open_project",
|
|
142
144
|
"Primer::OpenProject::BorderBox::CollapsibleHeader": "open_project",
|
|
143
145
|
"Primer::OpenProject::BorderGrid": "open_project",
|
|
144
146
|
"Primer::OpenProject::BorderGrid::Cell": "open_project",
|