@primer/view-components 0.43.6 → 0.44.0-rc.2b4579f7
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.
- package/app/assets/javascripts/components/primer/alpha/action_menu/action_menu_element.d.ts +5 -0
- package/app/assets/javascripts/components/primer/alpha/action_menu/action_menu_focus_zone_stack.d.ts +17 -0
- package/app/assets/javascripts/components/primer/alpha/tree_view/tree_view.d.ts +39 -0
- package/app/assets/javascripts/components/primer/alpha/tree_view/tree_view_icon_pair_element.d.ts +15 -0
- package/app/assets/javascripts/components/primer/alpha/tree_view/tree_view_include_fragment_element.d.ts +9 -0
- package/app/assets/javascripts/components/primer/alpha/tree_view/tree_view_roving_tab_index.d.ts +3 -0
- package/app/assets/javascripts/components/primer/alpha/tree_view/tree_view_sub_tree_node_element.d.ts +42 -0
- package/app/assets/javascripts/components/primer/primer.d.ts +4 -0
- package/app/assets/javascripts/components/primer/shared_events.d.ts +15 -0
- package/app/assets/javascripts/primer_view_components.js +1 -1
- package/app/assets/javascripts/primer_view_components.js.map +1 -1
- package/app/assets/styles/primer_view_components.css +1 -1
- package/app/assets/styles/primer_view_components.css.map +1 -1
- package/app/components/primer/alpha/action_menu/action_menu_element.d.ts +5 -0
- package/app/components/primer/alpha/action_menu/action_menu_element.js +113 -16
- package/app/components/primer/alpha/action_menu/action_menu_focus_zone_stack.d.ts +17 -0
- package/app/components/primer/alpha/action_menu/action_menu_focus_zone_stack.js +62 -0
- package/app/components/primer/alpha/skeleton_box.css +1 -0
- package/app/components/primer/alpha/skeleton_box.css.json +6 -0
- package/app/components/primer/alpha/tree_view/tree_view.d.ts +39 -0
- package/app/components/primer/alpha/tree_view/tree_view.js +363 -0
- package/app/components/primer/alpha/tree_view/tree_view_icon_pair_element.d.ts +15 -0
- package/app/components/primer/alpha/tree_view/tree_view_icon_pair_element.js +62 -0
- package/app/components/primer/alpha/tree_view/tree_view_include_fragment_element.d.ts +9 -0
- package/app/components/primer/alpha/tree_view/tree_view_include_fragment_element.js +28 -0
- package/app/components/primer/alpha/tree_view/tree_view_roving_tab_index.d.ts +3 -0
- package/app/components/primer/alpha/tree_view/tree_view_roving_tab_index.js +130 -0
- package/app/components/primer/alpha/tree_view/tree_view_sub_tree_node_element.d.ts +42 -0
- package/app/components/primer/alpha/tree_view/tree_view_sub_tree_node_element.js +418 -0
- package/app/components/primer/alpha/tree_view.css +1 -0
- package/app/components/primer/alpha/tree_view.css.json +52 -0
- package/app/components/primer/beta/breadcrumbs.css +1 -1
- package/app/components/primer/beta/breadcrumbs.css.json +0 -1
- package/app/components/primer/beta/progress_bar.css +1 -1
- package/app/components/primer/primer.d.ts +4 -0
- package/app/components/primer/primer.js +4 -0
- package/app/components/primer/shared_events.d.ts +15 -0
- package/package.json +2 -2
- package/static/arguments.json +632 -83
- package/static/audited_at.json +21 -0
- package/static/classes.json +15 -0
- package/static/constants.json +128 -7
- package/static/info_arch.json +2602 -764
- package/static/previews.json +245 -0
- package/static/statuses.json +21 -0
package/static/previews.json
CHANGED
@@ -826,6 +826,19 @@
|
|
826
826
|
"color-contrast"
|
827
827
|
]
|
828
828
|
}
|
829
|
+
},
|
830
|
+
{
|
831
|
+
"preview_path": "primer/alpha/action_menu/sub_menus",
|
832
|
+
"name": "sub_menus",
|
833
|
+
"snapshot": "false",
|
834
|
+
"skip_rules": {
|
835
|
+
"wont_fix": [
|
836
|
+
"region"
|
837
|
+
],
|
838
|
+
"will_fix": [
|
839
|
+
"color-contrast"
|
840
|
+
]
|
841
|
+
}
|
829
842
|
}
|
830
843
|
]
|
831
844
|
},
|
@@ -3657,6 +3670,40 @@
|
|
3657
3670
|
}
|
3658
3671
|
]
|
3659
3672
|
},
|
3673
|
+
{
|
3674
|
+
"name": "file_tree_view",
|
3675
|
+
"component": "FileTreeView",
|
3676
|
+
"status": "alpha",
|
3677
|
+
"lookup_path": "primer/alpha/file_tree_view",
|
3678
|
+
"examples": [
|
3679
|
+
{
|
3680
|
+
"preview_path": "primer/alpha/file_tree_view/default",
|
3681
|
+
"name": "default",
|
3682
|
+
"snapshot": "interactive",
|
3683
|
+
"skip_rules": {
|
3684
|
+
"wont_fix": [
|
3685
|
+
"region"
|
3686
|
+
],
|
3687
|
+
"will_fix": [
|
3688
|
+
"color-contrast"
|
3689
|
+
]
|
3690
|
+
}
|
3691
|
+
},
|
3692
|
+
{
|
3693
|
+
"preview_path": "primer/alpha/file_tree_view/playground",
|
3694
|
+
"name": "playground",
|
3695
|
+
"snapshot": "false",
|
3696
|
+
"skip_rules": {
|
3697
|
+
"wont_fix": [
|
3698
|
+
"region"
|
3699
|
+
],
|
3700
|
+
"will_fix": [
|
3701
|
+
"color-contrast"
|
3702
|
+
]
|
3703
|
+
}
|
3704
|
+
}
|
3705
|
+
]
|
3706
|
+
},
|
3660
3707
|
{
|
3661
3708
|
"name": "flash",
|
3662
3709
|
"component": "Flash",
|
@@ -6280,6 +6327,40 @@
|
|
6280
6327
|
}
|
6281
6328
|
]
|
6282
6329
|
},
|
6330
|
+
{
|
6331
|
+
"name": "skeleton_box",
|
6332
|
+
"component": "SkeletonBox",
|
6333
|
+
"status": "alpha",
|
6334
|
+
"lookup_path": "primer/alpha/skeleton_box",
|
6335
|
+
"examples": [
|
6336
|
+
{
|
6337
|
+
"preview_path": "primer/alpha/skeleton_box/default",
|
6338
|
+
"name": "default",
|
6339
|
+
"snapshot": "false",
|
6340
|
+
"skip_rules": {
|
6341
|
+
"wont_fix": [
|
6342
|
+
"region"
|
6343
|
+
],
|
6344
|
+
"will_fix": [
|
6345
|
+
"color-contrast"
|
6346
|
+
]
|
6347
|
+
}
|
6348
|
+
},
|
6349
|
+
{
|
6350
|
+
"preview_path": "primer/alpha/skeleton_box/playground",
|
6351
|
+
"name": "playground",
|
6352
|
+
"snapshot": "false",
|
6353
|
+
"skip_rules": {
|
6354
|
+
"wont_fix": [
|
6355
|
+
"region"
|
6356
|
+
],
|
6357
|
+
"will_fix": [
|
6358
|
+
"color-contrast"
|
6359
|
+
]
|
6360
|
+
}
|
6361
|
+
}
|
6362
|
+
]
|
6363
|
+
},
|
6283
6364
|
{
|
6284
6365
|
"name": "spinner",
|
6285
6366
|
"component": "Spinner",
|
@@ -7736,6 +7817,170 @@
|
|
7736
7817
|
}
|
7737
7818
|
]
|
7738
7819
|
},
|
7820
|
+
{
|
7821
|
+
"name": "tree_view",
|
7822
|
+
"component": "TreeView",
|
7823
|
+
"status": "alpha",
|
7824
|
+
"lookup_path": "primer/alpha/tree_view",
|
7825
|
+
"examples": [
|
7826
|
+
{
|
7827
|
+
"preview_path": "primer/alpha/tree_view/default",
|
7828
|
+
"name": "default",
|
7829
|
+
"snapshot": "interactive",
|
7830
|
+
"skip_rules": {
|
7831
|
+
"wont_fix": [
|
7832
|
+
"region"
|
7833
|
+
],
|
7834
|
+
"will_fix": [
|
7835
|
+
"color-contrast"
|
7836
|
+
]
|
7837
|
+
}
|
7838
|
+
},
|
7839
|
+
{
|
7840
|
+
"preview_path": "primer/alpha/tree_view/playground",
|
7841
|
+
"name": "playground",
|
7842
|
+
"snapshot": "false",
|
7843
|
+
"skip_rules": {
|
7844
|
+
"wont_fix": [
|
7845
|
+
"region"
|
7846
|
+
],
|
7847
|
+
"will_fix": [
|
7848
|
+
"color-contrast"
|
7849
|
+
]
|
7850
|
+
}
|
7851
|
+
},
|
7852
|
+
{
|
7853
|
+
"preview_path": "primer/alpha/tree_view/empty",
|
7854
|
+
"name": "empty",
|
7855
|
+
"snapshot": "interactive",
|
7856
|
+
"skip_rules": {
|
7857
|
+
"wont_fix": [
|
7858
|
+
"region"
|
7859
|
+
],
|
7860
|
+
"will_fix": [
|
7861
|
+
"color-contrast"
|
7862
|
+
]
|
7863
|
+
}
|
7864
|
+
},
|
7865
|
+
{
|
7866
|
+
"preview_path": "primer/alpha/tree_view/loading_failure",
|
7867
|
+
"name": "loading_failure",
|
7868
|
+
"snapshot": "interactive",
|
7869
|
+
"skip_rules": {
|
7870
|
+
"wont_fix": [
|
7871
|
+
"region"
|
7872
|
+
],
|
7873
|
+
"will_fix": [
|
7874
|
+
"color-contrast"
|
7875
|
+
]
|
7876
|
+
}
|
7877
|
+
},
|
7878
|
+
{
|
7879
|
+
"preview_path": "primer/alpha/tree_view/loading_spinner",
|
7880
|
+
"name": "loading_spinner",
|
7881
|
+
"snapshot": "interactive",
|
7882
|
+
"skip_rules": {
|
7883
|
+
"wont_fix": [
|
7884
|
+
"region"
|
7885
|
+
],
|
7886
|
+
"will_fix": [
|
7887
|
+
"color-contrast"
|
7888
|
+
]
|
7889
|
+
}
|
7890
|
+
},
|
7891
|
+
{
|
7892
|
+
"preview_path": "primer/alpha/tree_view/loading_skeleton",
|
7893
|
+
"name": "loading_skeleton",
|
7894
|
+
"snapshot": "interactive",
|
7895
|
+
"skip_rules": {
|
7896
|
+
"wont_fix": [
|
7897
|
+
"region"
|
7898
|
+
],
|
7899
|
+
"will_fix": [
|
7900
|
+
"color-contrast"
|
7901
|
+
]
|
7902
|
+
}
|
7903
|
+
},
|
7904
|
+
{
|
7905
|
+
"preview_path": "primer/alpha/tree_view/async_alpha",
|
7906
|
+
"name": "async_alpha",
|
7907
|
+
"snapshot": "false",
|
7908
|
+
"skip_rules": {
|
7909
|
+
"wont_fix": [
|
7910
|
+
"region"
|
7911
|
+
],
|
7912
|
+
"will_fix": [
|
7913
|
+
"color-contrast"
|
7914
|
+
]
|
7915
|
+
}
|
7916
|
+
},
|
7917
|
+
{
|
7918
|
+
"preview_path": "primer/alpha/tree_view/leaf_node_playground",
|
7919
|
+
"name": "leaf_node_playground",
|
7920
|
+
"snapshot": "false",
|
7921
|
+
"skip_rules": {
|
7922
|
+
"wont_fix": [
|
7923
|
+
"region"
|
7924
|
+
],
|
7925
|
+
"will_fix": [
|
7926
|
+
"color-contrast"
|
7927
|
+
]
|
7928
|
+
}
|
7929
|
+
},
|
7930
|
+
{
|
7931
|
+
"preview_path": "primer/alpha/tree_view/links",
|
7932
|
+
"name": "links",
|
7933
|
+
"snapshot": "false",
|
7934
|
+
"skip_rules": {
|
7935
|
+
"wont_fix": [
|
7936
|
+
"region"
|
7937
|
+
],
|
7938
|
+
"will_fix": [
|
7939
|
+
"color-contrast"
|
7940
|
+
]
|
7941
|
+
}
|
7942
|
+
},
|
7943
|
+
{
|
7944
|
+
"preview_path": "primer/alpha/tree_view/buttons",
|
7945
|
+
"name": "buttons",
|
7946
|
+
"snapshot": "false",
|
7947
|
+
"skip_rules": {
|
7948
|
+
"wont_fix": [
|
7949
|
+
"region"
|
7950
|
+
],
|
7951
|
+
"will_fix": [
|
7952
|
+
"color-contrast"
|
7953
|
+
]
|
7954
|
+
}
|
7955
|
+
},
|
7956
|
+
{
|
7957
|
+
"preview_path": "primer/alpha/tree_view/auto_expansion",
|
7958
|
+
"name": "auto_expansion",
|
7959
|
+
"snapshot": "false",
|
7960
|
+
"skip_rules": {
|
7961
|
+
"wont_fix": [
|
7962
|
+
"region"
|
7963
|
+
],
|
7964
|
+
"will_fix": [
|
7965
|
+
"color-contrast"
|
7966
|
+
]
|
7967
|
+
}
|
7968
|
+
},
|
7969
|
+
{
|
7970
|
+
"preview_path": "primer/alpha/tree_view/form_input",
|
7971
|
+
"name": "form_input",
|
7972
|
+
"snapshot": "false",
|
7973
|
+
"skip_rules": {
|
7974
|
+
"wont_fix": [
|
7975
|
+
"region"
|
7976
|
+
],
|
7977
|
+
"will_fix": [
|
7978
|
+
"color-contrast"
|
7979
|
+
]
|
7980
|
+
}
|
7981
|
+
}
|
7982
|
+
]
|
7983
|
+
},
|
7739
7984
|
{
|
7740
7985
|
"name": "truncate",
|
7741
7986
|
"component": "Truncate",
|
package/static/statuses.json
CHANGED
@@ -12,6 +12,10 @@
|
|
12
12
|
"Primer::Alpha::ActionMenu::Heading": "alpha",
|
13
13
|
"Primer::Alpha::ActionMenu::List": "alpha",
|
14
14
|
"Primer::Alpha::ActionMenu::ListWrapper": "alpha",
|
15
|
+
"Primer::Alpha::ActionMenu::Menu": "alpha",
|
16
|
+
"Primer::Alpha::ActionMenu::PrimaryMenu": "alpha",
|
17
|
+
"Primer::Alpha::ActionMenu::SubMenu": "alpha",
|
18
|
+
"Primer::Alpha::ActionMenu::SubMenuItem": "alpha",
|
15
19
|
"Primer::Alpha::AutoComplete": "deprecated",
|
16
20
|
"Primer::Alpha::AutoComplete::Item": "deprecated",
|
17
21
|
"Primer::Alpha::Banner": "alpha",
|
@@ -25,6 +29,9 @@
|
|
25
29
|
"Primer::Alpha::Dropdown": "alpha",
|
26
30
|
"Primer::Alpha::Dropdown::Menu": "alpha",
|
27
31
|
"Primer::Alpha::Dropdown::Menu::Item": "alpha",
|
32
|
+
"Primer::Alpha::FileTreeView": "alpha",
|
33
|
+
"Primer::Alpha::FileTreeView::DirectoryNode": "alpha",
|
34
|
+
"Primer::Alpha::FileTreeView::FileNode": "alpha",
|
28
35
|
"Primer::Alpha::FormButton": "alpha",
|
29
36
|
"Primer::Alpha::FormControl": "alpha",
|
30
37
|
"Primer::Alpha::HellipButton": "alpha",
|
@@ -54,6 +61,7 @@
|
|
54
61
|
"Primer::Alpha::Select": "alpha",
|
55
62
|
"Primer::Alpha::SelectPanel": "alpha",
|
56
63
|
"Primer::Alpha::SelectPanel::ItemList": "alpha",
|
64
|
+
"Primer::Alpha::SkeletonBox": "alpha",
|
57
65
|
"Primer::Alpha::Stack": "alpha",
|
58
66
|
"Primer::Alpha::StackItem": "alpha",
|
59
67
|
"Primer::Alpha::SubmitButton": "alpha",
|
@@ -64,6 +72,19 @@
|
|
64
72
|
"Primer::Alpha::TextField": "alpha",
|
65
73
|
"Primer::Alpha::ToggleSwitch": "alpha",
|
66
74
|
"Primer::Alpha::Tooltip": "alpha",
|
75
|
+
"Primer::Alpha::TreeView": "alpha",
|
76
|
+
"Primer::Alpha::TreeView::Icon": "alpha",
|
77
|
+
"Primer::Alpha::TreeView::IconPair": "alpha",
|
78
|
+
"Primer::Alpha::TreeView::LeadingAction": "alpha",
|
79
|
+
"Primer::Alpha::TreeView::LeafNode": "alpha",
|
80
|
+
"Primer::Alpha::TreeView::LoadingFailureMessage": "alpha",
|
81
|
+
"Primer::Alpha::TreeView::Node": "alpha",
|
82
|
+
"Primer::Alpha::TreeView::SkeletonLoader": "alpha",
|
83
|
+
"Primer::Alpha::TreeView::SpinnerLoader": "alpha",
|
84
|
+
"Primer::Alpha::TreeView::SubTree": "alpha",
|
85
|
+
"Primer::Alpha::TreeView::SubTreeContainer": "alpha",
|
86
|
+
"Primer::Alpha::TreeView::SubTreeNode": "alpha",
|
87
|
+
"Primer::Alpha::TreeView::Visual": "alpha",
|
67
88
|
"Primer::Alpha::UnderlineNav": "alpha",
|
68
89
|
"Primer::Alpha::UnderlinePanels": "alpha",
|
69
90
|
"Primer::BaseComponent": "beta",
|