@primer/view-components 0.43.6 → 0.44.0-rc.385b39ff

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.
Files changed (39) hide show
  1. package/app/assets/javascripts/components/primer/alpha/tree_view/tree_view.d.ts +39 -0
  2. package/app/assets/javascripts/components/primer/alpha/tree_view/tree_view_icon_pair_element.d.ts +15 -0
  3. package/app/assets/javascripts/components/primer/alpha/tree_view/tree_view_include_fragment_element.d.ts +9 -0
  4. package/app/assets/javascripts/components/primer/alpha/tree_view/tree_view_roving_tab_index.d.ts +3 -0
  5. package/app/assets/javascripts/components/primer/alpha/tree_view/tree_view_sub_tree_node_element.d.ts +42 -0
  6. package/app/assets/javascripts/components/primer/primer.d.ts +4 -0
  7. package/app/assets/javascripts/components/primer/shared_events.d.ts +15 -0
  8. package/app/assets/javascripts/primer_view_components.js +1 -1
  9. package/app/assets/javascripts/primer_view_components.js.map +1 -1
  10. package/app/assets/styles/primer_view_components.css +1 -1
  11. package/app/assets/styles/primer_view_components.css.map +1 -1
  12. package/app/components/primer/alpha/skeleton_box.css +1 -0
  13. package/app/components/primer/alpha/skeleton_box.css.json +6 -0
  14. package/app/components/primer/alpha/tree_view/tree_view.d.ts +39 -0
  15. package/app/components/primer/alpha/tree_view/tree_view.js +363 -0
  16. package/app/components/primer/alpha/tree_view/tree_view_icon_pair_element.d.ts +15 -0
  17. package/app/components/primer/alpha/tree_view/tree_view_icon_pair_element.js +62 -0
  18. package/app/components/primer/alpha/tree_view/tree_view_include_fragment_element.d.ts +9 -0
  19. package/app/components/primer/alpha/tree_view/tree_view_include_fragment_element.js +28 -0
  20. package/app/components/primer/alpha/tree_view/tree_view_roving_tab_index.d.ts +3 -0
  21. package/app/components/primer/alpha/tree_view/tree_view_roving_tab_index.js +130 -0
  22. package/app/components/primer/alpha/tree_view/tree_view_sub_tree_node_element.d.ts +42 -0
  23. package/app/components/primer/alpha/tree_view/tree_view_sub_tree_node_element.js +418 -0
  24. package/app/components/primer/alpha/tree_view.css +1 -0
  25. package/app/components/primer/alpha/tree_view.css.json +52 -0
  26. package/app/components/primer/beta/breadcrumbs.css +1 -1
  27. package/app/components/primer/beta/breadcrumbs.css.json +0 -1
  28. package/app/components/primer/beta/progress_bar.css +1 -1
  29. package/app/components/primer/primer.d.ts +4 -0
  30. package/app/components/primer/primer.js +4 -0
  31. package/app/components/primer/shared_events.d.ts +15 -0
  32. package/package.json +2 -2
  33. package/static/arguments.json +450 -0
  34. package/static/audited_at.json +17 -0
  35. package/static/classes.json +15 -0
  36. package/static/constants.json +101 -0
  37. package/static/info_arch.json +1348 -0
  38. package/static/previews.json +232 -0
  39. package/static/statuses.json +17 -0
@@ -3657,6 +3657,40 @@
3657
3657
  }
3658
3658
  ]
3659
3659
  },
3660
+ {
3661
+ "name": "file_tree_view",
3662
+ "component": "FileTreeView",
3663
+ "status": "alpha",
3664
+ "lookup_path": "primer/alpha/file_tree_view",
3665
+ "examples": [
3666
+ {
3667
+ "preview_path": "primer/alpha/file_tree_view/default",
3668
+ "name": "default",
3669
+ "snapshot": "interactive",
3670
+ "skip_rules": {
3671
+ "wont_fix": [
3672
+ "region"
3673
+ ],
3674
+ "will_fix": [
3675
+ "color-contrast"
3676
+ ]
3677
+ }
3678
+ },
3679
+ {
3680
+ "preview_path": "primer/alpha/file_tree_view/playground",
3681
+ "name": "playground",
3682
+ "snapshot": "false",
3683
+ "skip_rules": {
3684
+ "wont_fix": [
3685
+ "region"
3686
+ ],
3687
+ "will_fix": [
3688
+ "color-contrast"
3689
+ ]
3690
+ }
3691
+ }
3692
+ ]
3693
+ },
3660
3694
  {
3661
3695
  "name": "flash",
3662
3696
  "component": "Flash",
@@ -6280,6 +6314,40 @@
6280
6314
  }
6281
6315
  ]
6282
6316
  },
6317
+ {
6318
+ "name": "skeleton_box",
6319
+ "component": "SkeletonBox",
6320
+ "status": "alpha",
6321
+ "lookup_path": "primer/alpha/skeleton_box",
6322
+ "examples": [
6323
+ {
6324
+ "preview_path": "primer/alpha/skeleton_box/default",
6325
+ "name": "default",
6326
+ "snapshot": "false",
6327
+ "skip_rules": {
6328
+ "wont_fix": [
6329
+ "region"
6330
+ ],
6331
+ "will_fix": [
6332
+ "color-contrast"
6333
+ ]
6334
+ }
6335
+ },
6336
+ {
6337
+ "preview_path": "primer/alpha/skeleton_box/playground",
6338
+ "name": "playground",
6339
+ "snapshot": "false",
6340
+ "skip_rules": {
6341
+ "wont_fix": [
6342
+ "region"
6343
+ ],
6344
+ "will_fix": [
6345
+ "color-contrast"
6346
+ ]
6347
+ }
6348
+ }
6349
+ ]
6350
+ },
6283
6351
  {
6284
6352
  "name": "spinner",
6285
6353
  "component": "Spinner",
@@ -7736,6 +7804,170 @@
7736
7804
  }
7737
7805
  ]
7738
7806
  },
7807
+ {
7808
+ "name": "tree_view",
7809
+ "component": "TreeView",
7810
+ "status": "alpha",
7811
+ "lookup_path": "primer/alpha/tree_view",
7812
+ "examples": [
7813
+ {
7814
+ "preview_path": "primer/alpha/tree_view/default",
7815
+ "name": "default",
7816
+ "snapshot": "interactive",
7817
+ "skip_rules": {
7818
+ "wont_fix": [
7819
+ "region"
7820
+ ],
7821
+ "will_fix": [
7822
+ "color-contrast"
7823
+ ]
7824
+ }
7825
+ },
7826
+ {
7827
+ "preview_path": "primer/alpha/tree_view/playground",
7828
+ "name": "playground",
7829
+ "snapshot": "false",
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/empty",
7841
+ "name": "empty",
7842
+ "snapshot": "interactive",
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/loading_failure",
7854
+ "name": "loading_failure",
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_spinner",
7867
+ "name": "loading_spinner",
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_skeleton",
7880
+ "name": "loading_skeleton",
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/async_alpha",
7893
+ "name": "async_alpha",
7894
+ "snapshot": "false",
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/leaf_node_playground",
7906
+ "name": "leaf_node_playground",
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/links",
7919
+ "name": "links",
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/buttons",
7932
+ "name": "buttons",
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/auto_expansion",
7945
+ "name": "auto_expansion",
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/form_input",
7958
+ "name": "form_input",
7959
+ "snapshot": "false",
7960
+ "skip_rules": {
7961
+ "wont_fix": [
7962
+ "region"
7963
+ ],
7964
+ "will_fix": [
7965
+ "color-contrast"
7966
+ ]
7967
+ }
7968
+ }
7969
+ ]
7970
+ },
7739
7971
  {
7740
7972
  "name": "truncate",
7741
7973
  "component": "Truncate",
@@ -25,6 +25,9 @@
25
25
  "Primer::Alpha::Dropdown": "alpha",
26
26
  "Primer::Alpha::Dropdown::Menu": "alpha",
27
27
  "Primer::Alpha::Dropdown::Menu::Item": "alpha",
28
+ "Primer::Alpha::FileTreeView": "alpha",
29
+ "Primer::Alpha::FileTreeView::DirectoryNode": "alpha",
30
+ "Primer::Alpha::FileTreeView::FileNode": "alpha",
28
31
  "Primer::Alpha::FormButton": "alpha",
29
32
  "Primer::Alpha::FormControl": "alpha",
30
33
  "Primer::Alpha::HellipButton": "alpha",
@@ -54,6 +57,7 @@
54
57
  "Primer::Alpha::Select": "alpha",
55
58
  "Primer::Alpha::SelectPanel": "alpha",
56
59
  "Primer::Alpha::SelectPanel::ItemList": "alpha",
60
+ "Primer::Alpha::SkeletonBox": "alpha",
57
61
  "Primer::Alpha::Stack": "alpha",
58
62
  "Primer::Alpha::StackItem": "alpha",
59
63
  "Primer::Alpha::SubmitButton": "alpha",
@@ -64,6 +68,19 @@
64
68
  "Primer::Alpha::TextField": "alpha",
65
69
  "Primer::Alpha::ToggleSwitch": "alpha",
66
70
  "Primer::Alpha::Tooltip": "alpha",
71
+ "Primer::Alpha::TreeView": "alpha",
72
+ "Primer::Alpha::TreeView::Icon": "alpha",
73
+ "Primer::Alpha::TreeView::IconPair": "alpha",
74
+ "Primer::Alpha::TreeView::LeadingAction": "alpha",
75
+ "Primer::Alpha::TreeView::LeafNode": "alpha",
76
+ "Primer::Alpha::TreeView::LoadingFailureMessage": "alpha",
77
+ "Primer::Alpha::TreeView::Node": "alpha",
78
+ "Primer::Alpha::TreeView::SkeletonLoader": "alpha",
79
+ "Primer::Alpha::TreeView::SpinnerLoader": "alpha",
80
+ "Primer::Alpha::TreeView::SubTree": "alpha",
81
+ "Primer::Alpha::TreeView::SubTreeContainer": "alpha",
82
+ "Primer::Alpha::TreeView::SubTreeNode": "alpha",
83
+ "Primer::Alpha::TreeView::Visual": "alpha",
67
84
  "Primer::Alpha::UnderlineNav": "alpha",
68
85
  "Primer::Alpha::UnderlinePanels": "alpha",
69
86
  "Primer::BaseComponent": "beta",