primer_view_components 0.0.35 → 0.0.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +178 -22
  3. data/app/assets/javascripts/primer_view_components.js +1 -1
  4. data/app/assets/javascripts/primer_view_components.js.map +1 -1
  5. data/app/components/primer/{auto_complete_component.rb → auto_complete.rb} +12 -12
  6. data/app/components/primer/{auto_complete_component.d.ts → auto_complete/auto_complete.d.ts} +0 -0
  7. data/app/components/primer/{auto_complete_component.html.erb → auto_complete/auto_complete.html.erb} +0 -0
  8. data/app/components/primer/{auto_complete_component.js → auto_complete/auto_complete.js} +0 -0
  9. data/app/components/primer/{auto_complete_component.ts → auto_complete/auto_complete.ts} +0 -0
  10. data/app/components/primer/auto_complete/auto_component.d.ts +1 -0
  11. data/app/components/primer/auto_complete/auto_component.js +1 -0
  12. data/app/components/primer/auto_complete/item.rb +42 -0
  13. data/app/components/primer/avatar_component.rb +22 -3
  14. data/app/components/primer/avatar_stack_component.rb +6 -3
  15. data/app/components/primer/base_button.rb +47 -0
  16. data/app/components/primer/base_component.rb +9 -8
  17. data/app/components/primer/blankslate_component.rb +5 -2
  18. data/app/components/primer/border_box_component.rb +1 -1
  19. data/app/components/primer/box_component.rb +1 -1
  20. data/app/components/primer/breadcrumb_component.rb +1 -1
  21. data/app/components/primer/button_component.html.erb +9 -0
  22. data/app/components/primer/button_component.rb +58 -21
  23. data/app/components/primer/{button_group_component.html.erb → button_group.html.erb} +0 -0
  24. data/app/components/primer/button_group.rb +61 -0
  25. data/app/components/primer/button_marketing_component.rb +4 -9
  26. data/app/components/primer/clipboard_copy.html.erb +8 -0
  27. data/app/components/primer/clipboard_copy.rb +26 -0
  28. data/app/components/primer/clipboard_copy_component.d.ts +1 -0
  29. data/app/components/primer/clipboard_copy_component.js +23 -0
  30. data/app/components/primer/clipboard_copy_component.ts +26 -0
  31. data/app/components/primer/close_button.rb +39 -0
  32. data/app/components/primer/component.rb +21 -2
  33. data/app/components/primer/counter_component.rb +6 -1
  34. data/app/components/primer/details_component.rb +1 -1
  35. data/app/components/primer/dropdown/menu_component.rb +1 -1
  36. data/app/components/primer/dropdown_component.rb +1 -1
  37. data/app/components/primer/flash_component.rb +1 -1
  38. data/app/components/primer/flex_component.rb +28 -1
  39. data/app/components/primer/flex_item_component.rb +20 -1
  40. data/app/components/primer/heading_component.rb +25 -4
  41. data/app/components/primer/hidden_text_expander.rb +41 -0
  42. data/app/components/primer/icon_button.rb +65 -0
  43. data/app/components/primer/image_crop.d.ts +1 -0
  44. data/app/components/primer/image_crop.html.erb +12 -0
  45. data/app/components/primer/image_crop.js +1 -0
  46. data/app/components/primer/image_crop.rb +36 -0
  47. data/app/components/primer/image_crop.ts +1 -0
  48. data/app/components/primer/label_component.rb +1 -1
  49. data/app/components/primer/layout_component.rb +1 -1
  50. data/app/components/primer/link_component.rb +1 -1
  51. data/app/components/primer/{markdown_component.rb → markdown.rb} +6 -5
  52. data/app/components/primer/menu_component.rb +1 -1
  53. data/app/components/primer/octicon_component.html.erb +7 -0
  54. data/app/components/primer/octicon_component.rb +46 -14
  55. data/app/components/primer/octicon_symbols_component.html.erb +3 -0
  56. data/app/components/primer/octicon_symbols_component.rb +61 -0
  57. data/app/components/primer/popover_component.rb +1 -1
  58. data/app/components/primer/primer.d.ts +3 -1
  59. data/app/components/primer/primer.js +3 -1
  60. data/app/components/primer/primer.ts +3 -1
  61. data/app/components/primer/progress_bar_component.rb +1 -1
  62. data/app/components/primer/spinner_component.rb +3 -3
  63. data/app/components/primer/state_component.rb +2 -2
  64. data/app/components/primer/subhead_component.rb +34 -4
  65. data/app/components/primer/tab_container_component.rb +1 -1
  66. data/app/components/primer/tab_nav_component.rb +1 -1
  67. data/app/components/primer/text_component.rb +6 -3
  68. data/app/components/primer/time_ago_component.rb +1 -1
  69. data/app/components/primer/timeline_item_component.rb +1 -1
  70. data/app/components/primer/tooltip_component.rb +1 -1
  71. data/app/components/primer/{truncate_component.rb → truncate.rb} +8 -6
  72. data/app/components/primer/underline_nav_component.rb +1 -1
  73. data/app/lib/primer/classify.rb +9 -34
  74. data/app/lib/primer/classify/cache.rb +20 -15
  75. data/app/lib/primer/classify/flex.rb +111 -0
  76. data/app/lib/primer/classify/functional_border_colors.rb +1 -2
  77. data/app/lib/primer/fetch_or_fallback_helper.rb +2 -2
  78. data/app/lib/primer/octicon/cache.rb +42 -0
  79. data/lib/primer/view_components.rb +1 -1
  80. data/lib/primer/view_components/version.rb +1 -1
  81. data/lib/tasks/coverage.rake +14 -0
  82. data/lib/tasks/docs.rake +312 -0
  83. data/lib/tasks/statuses.rake +12 -0
  84. data/lib/yard/docs_helper.rb +57 -0
  85. data/static/statuses.json +52 -1
  86. metadata +53 -15
  87. data/app/assets/javascripts/primer_view_components.js.map.orig +0 -5
  88. data/app/assets/javascripts/primer_view_components.js.orig +0 -6
  89. data/app/components/primer/auto_complete_item_component.rb +0 -40
  90. data/app/components/primer/button_group_component.rb +0 -35
@@ -27,7 +27,7 @@ module Primer
27
27
  statuses = generate_statuses
28
28
 
29
29
  File.open(File.join(path, DEFAULT_STATUS_FILE_NAME), "w") do |f|
30
- f.write(statuses.to_json)
30
+ f.write(JSON.pretty_generate(statuses))
31
31
  f.write($INPUT_RECORD_SEPARATOR)
32
32
  end
33
33
  end
@@ -5,7 +5,7 @@ module Primer
5
5
  module VERSION
6
6
  MAJOR = 0
7
7
  MINOR = 0
8
- PATCH = 35
8
+ PATCH = 40
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH].join(".")
11
11
  end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ namespace :coverage do
4
+ task :report do
5
+ require "simplecov"
6
+ require "simplecov-console"
7
+
8
+ SimpleCov.minimum_coverage 100
9
+
10
+ SimpleCov.collate Dir["simplecov-resultset-*/.resultset.json"], "rails" do
11
+ formatter SimpleCov::Formatter::Console
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,312 @@
1
+ # frozen_string_literal: true
2
+
3
+ namespace :docs do
4
+ task :livereload do
5
+ require "listen"
6
+
7
+ Rake::Task["docs:build"].execute
8
+
9
+ puts "Listening for changes to documentation..."
10
+
11
+ listener = Listen.to("app") do |modified, added, removed|
12
+ puts "modified absolute path: #{modified}"
13
+ puts "added absolute path: #{added}"
14
+ puts "removed absolute path: #{removed}"
15
+
16
+ Rake::Task["docs:build"].execute
17
+ end
18
+ listener.start # not blocking
19
+ sleep
20
+ end
21
+
22
+ task :build do
23
+ require File.expand_path("./../../demo/config/environment.rb", __dir__)
24
+ require "primer/view_components"
25
+ require "yard/docs_helper"
26
+ require "view_component/test_helpers"
27
+ include ViewComponent::TestHelpers
28
+ include Primer::ViewHelper
29
+ include YARD::DocsHelper
30
+
31
+ Dir["./app/components/primer/**/*.rb"].sort.each { |file| require file }
32
+
33
+ YARD::Rake::YardocTask.new
34
+
35
+ # Custom tags for yard
36
+ YARD::Tags::Library.define_tag("Accessibility", :accessibility)
37
+ YARD::Tags::Library.define_tag("Deprecation", :deprecation)
38
+
39
+ puts "Building YARD documentation."
40
+ Rake::Task["yard"].execute
41
+
42
+ puts "Converting YARD documentation to Markdown files."
43
+
44
+ # Rails controller for rendering arbitrary ERB
45
+ view_context = ApplicationController.new.tap { |c| c.request = ActionDispatch::TestRequest.create }.view_context
46
+
47
+ registry = YARD::RegistryStore.new
48
+ registry.load!(".yardoc")
49
+ components = [
50
+ Primer::OcticonSymbolsComponent,
51
+ Primer::ImageCrop,
52
+ Primer::IconButton,
53
+ Primer::AutoComplete,
54
+ Primer::AutoComplete::Item,
55
+ Primer::AvatarComponent,
56
+ Primer::AvatarStackComponent,
57
+ Primer::BaseButton,
58
+ Primer::BlankslateComponent,
59
+ Primer::BorderBoxComponent,
60
+ Primer::BoxComponent,
61
+ Primer::BreadcrumbComponent,
62
+ Primer::ButtonComponent,
63
+ Primer::ButtonGroup,
64
+ Primer::ButtonMarketingComponent,
65
+ Primer::ClipboardCopy,
66
+ Primer::CloseButton,
67
+ Primer::CounterComponent,
68
+ Primer::DetailsComponent,
69
+ Primer::DropdownComponent,
70
+ Primer::DropdownMenuComponent,
71
+ Primer::FlashComponent,
72
+ Primer::FlexComponent,
73
+ Primer::FlexItemComponent,
74
+ Primer::HeadingComponent,
75
+ Primer::HiddenTextExpander,
76
+ Primer::LabelComponent,
77
+ Primer::LayoutComponent,
78
+ Primer::LinkComponent,
79
+ Primer::Markdown,
80
+ Primer::MenuComponent,
81
+ Primer::Navigation::TabComponent,
82
+ Primer::OcticonComponent,
83
+ Primer::PopoverComponent,
84
+ Primer::ProgressBarComponent,
85
+ Primer::StateComponent,
86
+ Primer::SpinnerComponent,
87
+ Primer::SubheadComponent,
88
+ Primer::TabContainerComponent,
89
+ Primer::TabNavComponent,
90
+ Primer::TextComponent,
91
+ Primer::TimeAgoComponent,
92
+ Primer::TimelineItemComponent,
93
+ Primer::TooltipComponent,
94
+ Primer::Truncate,
95
+ Primer::UnderlineNavComponent
96
+ ]
97
+
98
+ js_components = [
99
+ Primer::ImageCrop,
100
+ Primer::AutoComplete,
101
+ Primer::ClipboardCopy,
102
+ Primer::TabContainerComponent,
103
+ Primer::TabNavComponent,
104
+ Primer::TimeAgoComponent,
105
+ Primer::UnderlineNavComponent
106
+ ]
107
+
108
+ all_components = Primer::Component.descendants - [Primer::BaseComponent]
109
+ components_needing_docs = all_components - components
110
+
111
+ components_without_examples = []
112
+ args_for_components = []
113
+ classes_found_in_examples = []
114
+
115
+ components.each do |component|
116
+ documentation = registry.get(component.name)
117
+
118
+ # Primer::AvatarComponent => Avatar
119
+ short_name = component.name.gsub(/Primer|::|Component/, "")
120
+
121
+ path = Pathname.new("docs/content/components/#{short_name.downcase}.md")
122
+ path.dirname.mkdir unless path.dirname.exist?
123
+ File.open(path, "w") do |f|
124
+ f.puts("---")
125
+ f.puts("title: #{short_name}")
126
+ f.puts("status: #{component.status.to_s.capitalize}")
127
+ f.puts("source: https://github.com/primer/view_components/tree/main/app/components/primer/#{component.to_s.demodulize.underscore}.rb")
128
+ f.puts("storybook: https://primer.style/view-components/stories/?path=/story/primer-#{short_name.underscore.dasherize}-component")
129
+ f.puts("---")
130
+ f.puts
131
+ f.puts("import Example from '../../src/@primer/gatsby-theme-doctocat/components/example'")
132
+
133
+ if js_components.include?(component)
134
+ f.puts("import RequiresJSFlash from '../../src/@primer/gatsby-theme-doctocat/components/requires-js-flash'")
135
+ f.puts
136
+ f.puts("<RequiresJSFlash />")
137
+ end
138
+
139
+ f.puts
140
+ f.puts("<!-- Warning: AUTO-GENERATED file, do not edit. Add code comments to your Ruby instead <3 -->")
141
+ f.puts
142
+ f.puts(view_context.render(inline: documentation.base_docstring))
143
+
144
+ if documentation.tags(:accessibility).any?
145
+ f.puts
146
+ f.puts("## Accessibility")
147
+ documentation.tags(:accessibility).each do |tag|
148
+ f.puts
149
+ f.puts view_context.render(inline: tag.text)
150
+ end
151
+ end
152
+
153
+ if documentation.tags(:deprecated).any?
154
+ f.puts
155
+ f.puts("## Deprecation")
156
+ documentation.tags(:deprecated).each do |tag|
157
+ f.puts
158
+ f.puts view_context.render(inline: tag.text)
159
+ end
160
+ end
161
+
162
+ initialize_method = documentation.meths.find(&:constructor?)
163
+
164
+ if initialize_method.tags(:example).any?
165
+ f.puts
166
+ f.puts("## Examples")
167
+ else
168
+ components_without_examples << component
169
+ end
170
+
171
+ initialize_method.tags(:example).each do |tag|
172
+ (name, description) = tag.name.split("|")
173
+ f.puts
174
+ f.puts("### #{name}")
175
+ if description
176
+ f.puts
177
+ f.puts(description)
178
+ end
179
+ f.puts
180
+ html = view_context.render(inline: tag.text)
181
+ html.scan(/class="([^"]*)"/) do |classnames|
182
+ classes_found_in_examples.concat(classnames[0].split(" ").reject { |c| c.starts_with?("octicon", "js", "my-") }.map { ".#{_1}"})
183
+ end
184
+ f.puts("<Example src=\"#{html.tr('"', "\'").delete("\n")}\" />")
185
+ f.puts
186
+ f.puts("```erb")
187
+ f.puts(tag.text.to_s)
188
+ f.puts("```")
189
+ end
190
+
191
+ params = initialize_method.tags(:param)
192
+ if params.any?
193
+ f.puts
194
+ f.puts("## Arguments")
195
+ f.puts
196
+ f.puts("| Name | Type | Default | Description |")
197
+ f.puts("| :- | :- | :- | :- |")
198
+
199
+ args = []
200
+ params.each do |tag|
201
+ params = tag.object.parameters.find { |param| [tag.name.to_s, tag.name.to_s + ":"].include?(param[0]) }
202
+
203
+ default =
204
+ if params && params[1]
205
+ constant_name = "#{component.name}::#{params[1]}"
206
+ constant_value = constant_name.safe_constantize
207
+ if constant_value.nil?
208
+ pretty_value(params[1])
209
+ else
210
+ pretty_value(constant_value)
211
+ end
212
+ else
213
+ "N/A"
214
+ end
215
+
216
+ args << {
217
+ "name" => tag.name,
218
+ "type" => tag.types.join(", "),
219
+ "default" => default,
220
+ "description" => view_context.render(inline: tag.text)
221
+ }
222
+
223
+ f.puts("| `#{tag.name}` | `#{tag.types.join(', ')}` | #{default} | #{view_context.render(inline: tag.text)} |")
224
+ end
225
+
226
+ component_args = {
227
+ "component" => short_name,
228
+ "source" => "https://github.com/primer/view_components/tree/main/app/components/primer/#{component.to_s.demodulize.underscore}.rb",
229
+ "parameters" => args
230
+ }
231
+
232
+ args_for_components << component_args
233
+ end
234
+
235
+ # Slots V2 docs
236
+ slot_v2_methods = documentation.meths.select { |x| x[:renders_one] || x[:renders_many] }
237
+
238
+ if slot_v2_methods.any?
239
+ f.puts
240
+ f.puts("## Slots")
241
+
242
+ slot_v2_methods.each do |slot_documentation|
243
+ f.puts
244
+ f.puts("### `#{slot_documentation.name.to_s.capitalize}`")
245
+
246
+ if slot_documentation.base_docstring.present?
247
+ f.puts
248
+ f.puts(view_context.render(inline: slot_documentation.base_docstring))
249
+ end
250
+
251
+ param_tags = slot_documentation.tags(:param)
252
+ if param_tags.any?
253
+ f.puts
254
+ f.puts("| Name | Type | Default | Description |")
255
+ f.puts("| :- | :- | :- | :- |")
256
+ end
257
+
258
+ param_tags.each do |tag|
259
+ params = tag.object.parameters.find { |param| [tag.name.to_s, tag.name.to_s + ":"].include?(param[0]) }
260
+
261
+ default =
262
+ if params && params[1]
263
+ "`#{params[1]}`"
264
+ else
265
+ "N/A"
266
+ end
267
+
268
+ f.puts("| `#{tag.name}` | `#{tag.types.join(', ')}` | #{default} | #{view_context.render(inline: tag.text)} |")
269
+ end
270
+ end
271
+ end
272
+ end
273
+ end
274
+
275
+ File.open("static/classes.yml", "w") do |f|
276
+ f.puts YAML.dump(classes_found_in_examples.sort.uniq)
277
+ end
278
+
279
+ File.open("static/arguments.yml", "w") do |f|
280
+ f.puts YAML.dump(args_for_components)
281
+ end
282
+
283
+ # Build system arguments docs from BaseComponent
284
+ documentation = registry.get(Primer::BaseComponent.name)
285
+ File.open("docs/content/system-arguments.md", "w") do |f|
286
+ f.puts("---")
287
+ f.puts("title: System arguments")
288
+ f.puts("---")
289
+ f.puts
290
+ f.puts("<!-- Warning: AUTO-GENERATED file, do not edit. Add code comments to your Ruby instead <3 -->")
291
+ f.puts
292
+ f.puts(documentation.base_docstring)
293
+ f.puts
294
+
295
+ initialize_method = documentation.meths.find(&:constructor?)
296
+
297
+ f.puts(view_context.render(inline: initialize_method.base_docstring))
298
+ end
299
+
300
+ puts "Markdown compiled."
301
+
302
+ if components_without_examples.any?
303
+ puts
304
+ puts "The following components have no examples defined: #{components_without_examples.map(&:name).join(', ')}. Consider adding an example?"
305
+ end
306
+
307
+ if components_needing_docs.any?
308
+ puts
309
+ puts "The following components needs docs. Care to contribute them? #{components_needing_docs.map(&:name).join(', ')}"
310
+ end
311
+ end
312
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ namespace :statuses do
4
+ task :dump do
5
+ require File.expand_path("./../../demo/config/environment.rb", __dir__)
6
+ require "primer/view_components"
7
+ # Loads all components for `.descendants` to work properly
8
+ Dir["./app/components/primer/**/*.rb"].sort.each { |file| require file }
9
+
10
+ Primer::ViewComponents.dump_statuses
11
+ end
12
+ end
@@ -0,0 +1,57 @@
1
+ # frozen_string_literal: true
2
+
3
+ module YARD
4
+ # Helper methods to use for yard documentation
5
+ module DocsHelper
6
+ def one_of(enumerable, lower: false)
7
+ values =
8
+ case enumerable
9
+ when Hash
10
+ enumerable.map do |key, value|
11
+ "#{pretty_value(key)} (#{pretty_value(value)})"
12
+ end
13
+ else
14
+ enumerable.map do |key|
15
+ pretty_value(key)
16
+ end
17
+ end
18
+
19
+ prefix = "One of"
20
+ prefix = prefix.downcase if lower
21
+
22
+ "#{prefix} #{values.to_sentence(last_word_connector: ', or ')}."
23
+ end
24
+
25
+ def link_to_system_arguments_docs
26
+ "[System arguments](/system-arguments)"
27
+ end
28
+
29
+ def link_to_typography_docs
30
+ "[Typography](/system-arguments#typography)"
31
+ end
32
+
33
+ def link_to_component(component)
34
+ short_name = component.name.gsub(/Primer|::|Component/, "")
35
+ "[#{short_name}](/components/#{short_name.downcase})"
36
+ end
37
+
38
+ def link_to_octicons
39
+ "[Octicon](https://primer.style/octicons/)"
40
+ end
41
+
42
+ def link_to_heading_practices
43
+ "[Learn more about best heading practices (WAI Headings)](https://www.w3.org/WAI/tutorials/page-structure/headings/)"
44
+ end
45
+
46
+ def pretty_value(val)
47
+ case val
48
+ when nil
49
+ "`nil`"
50
+ when Symbol
51
+ "`:#{val}`"
52
+ else
53
+ "`#{val}`"
54
+ end
55
+ end
56
+ end
57
+ end
data/static/statuses.json CHANGED
@@ -1 +1,52 @@
1
- {"Primer::AutoCompleteComponent":"beta","Primer::AutoCompleteItemComponent":"beta","Primer::AvatarComponent":"beta","Primer::AvatarStackComponent":"beta","Primer::BaseComponent":"beta","Primer::BlankslateComponent":"beta","Primer::BorderBoxComponent":"beta","Primer::BoxComponent":"stable","Primer::BreadcrumbComponent":"beta","Primer::BreadcrumbComponent::ItemComponent":"alpha","Primer::ButtonComponent":"beta","Primer::ButtonGroupComponent":"alpha","Primer::ButtonMarketingComponent":"alpha","Primer::CounterComponent":"beta","Primer::DetailsComponent":"beta","Primer::Dropdown::MenuComponent":"alpha","Primer::DropdownComponent":"alpha","Primer::DropdownMenuComponent":"deprecated","Primer::FlashComponent":"beta","Primer::FlexComponent":"alpha","Primer::FlexItemComponent":"alpha","Primer::HeadingComponent":"beta","Primer::LabelComponent":"beta","Primer::LayoutComponent":"alpha","Primer::LinkComponent":"beta","Primer::MarkdownComponent":"alpha","Primer::MenuComponent":"alpha","Primer::Navigation::TabComponent":"alpha","Primer::OcticonComponent":"beta","Primer::PopoverComponent":"beta","Primer::ProgressBarComponent":"beta","Primer::SpinnerComponent":"beta","Primer::StateComponent":"beta","Primer::SubheadComponent":"beta","Primer::TabContainerComponent":"alpha","Primer::TabNavComponent":"alpha","Primer::TextComponent":"beta","Primer::TimeAgoComponent":"beta","Primer::TimelineItemComponent":"beta","Primer::TimelineItemComponent::BadgeComponent":"alpha","Primer::TooltipComponent":"alpha","Primer::TruncateComponent":"alpha","Primer::UnderlineNavComponent":"alpha"}
1
+ {
2
+ "Primer::AutoComplete": "beta",
3
+ "Primer::AutoComplete::Item": "beta",
4
+ "Primer::AvatarComponent": "beta",
5
+ "Primer::AvatarStackComponent": "beta",
6
+ "Primer::BaseButton": "beta",
7
+ "Primer::BaseComponent": "beta",
8
+ "Primer::BlankslateComponent": "beta",
9
+ "Primer::BorderBoxComponent": "beta",
10
+ "Primer::BoxComponent": "stable",
11
+ "Primer::BreadcrumbComponent": "beta",
12
+ "Primer::BreadcrumbComponent::ItemComponent": "alpha",
13
+ "Primer::ButtonComponent": "beta",
14
+ "Primer::ButtonGroup": "beta",
15
+ "Primer::ButtonMarketingComponent": "alpha",
16
+ "Primer::ClipboardCopy": "alpha",
17
+ "Primer::CloseButton": "beta",
18
+ "Primer::CounterComponent": "beta",
19
+ "Primer::DetailsComponent": "beta",
20
+ "Primer::Dropdown::MenuComponent": "alpha",
21
+ "Primer::DropdownComponent": "alpha",
22
+ "Primer::DropdownMenuComponent": "deprecated",
23
+ "Primer::FlashComponent": "beta",
24
+ "Primer::FlexComponent": "deprecated",
25
+ "Primer::FlexItemComponent": "deprecated",
26
+ "Primer::HeadingComponent": "beta",
27
+ "Primer::HiddenTextExpander": "alpha",
28
+ "Primer::IconButton": "beta",
29
+ "Primer::ImageCrop": "alpha",
30
+ "Primer::LabelComponent": "beta",
31
+ "Primer::LayoutComponent": "alpha",
32
+ "Primer::LinkComponent": "beta",
33
+ "Primer::Markdown": "beta",
34
+ "Primer::MenuComponent": "alpha",
35
+ "Primer::Navigation::TabComponent": "alpha",
36
+ "Primer::OcticonComponent": "beta",
37
+ "Primer::OcticonSymbolsComponent": "alpha",
38
+ "Primer::PopoverComponent": "beta",
39
+ "Primer::ProgressBarComponent": "beta",
40
+ "Primer::SpinnerComponent": "beta",
41
+ "Primer::StateComponent": "beta",
42
+ "Primer::SubheadComponent": "beta",
43
+ "Primer::TabContainerComponent": "alpha",
44
+ "Primer::TabNavComponent": "alpha",
45
+ "Primer::TextComponent": "beta",
46
+ "Primer::TimeAgoComponent": "beta",
47
+ "Primer::TimelineItemComponent": "beta",
48
+ "Primer::TimelineItemComponent::BadgeComponent": "alpha",
49
+ "Primer::TooltipComponent": "alpha",
50
+ "Primer::Truncate": "beta",
51
+ "Primer::UnderlineNavComponent": "alpha"
52
+ }