-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Revert #1163 * Create flat-pigs-obey.md
- Loading branch information
1 parent
c98988c
commit ff2c3fe
Showing
25 changed files
with
228 additions
and
460 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@primer/view-components": patch | ||
--- | ||
|
||
Revert #1163, as additional work will be needed to ship those changes to production successfully. |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 17 additions & 19 deletions
36
app/components/primer/beta/auto_complete/auto_complete.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
<%= render Primer::BaseComponent.new(**@system_arguments) do %> | ||
<div class="<%= @form_group_classes %>"> | ||
<label for="<%= @input_id %>" class="FormControl-label <% if @visually_hide_label %>sr-only<% end %>"> | ||
<label for="<%= @input_id %>" class="<%= @label_classes %>"> | ||
<% if @is_label_visible %> | ||
<%= @label_text %> | ||
</label> | ||
<% if leading_visual || @show_clear_button %> | ||
<div class="<%= @field_wrap_classes %> <% if leading_visual %>FormControl-fieldWrap--input-leadingVisual<% end %>"> | ||
<%= leading_visual %> | ||
<%= input %> | ||
<% if @show_clear_button %> | ||
<button id="<%= @input_id %>-clear" class="FormControl--input-trailingAction" aria-label="Clear"><%= primer_octicon "x-circle-fill" %></button> | ||
<% end %> | ||
</div> | ||
<% else %> | ||
<%= input %> | ||
<span class="sr-only"><%= @label_text %></span> | ||
<% end %> | ||
</div> | ||
<div class="Overlay-backdrop--anchor"> | ||
<div class="Overlay Overlay--height-auto Overlay--width-auto"> | ||
<div class="Overlay-body Overlay-body--paddingNone"> | ||
<%= results %> | ||
</label> | ||
<span class="autocomplete-body"> | ||
<% if @with_icon %> | ||
<div class="form-control autocomplete-embedded-icon-wrap"> | ||
<%= render Primer::OcticonComponent.new(:search) %> | ||
<% end %> | ||
<%= input %> | ||
<% if @is_clearable %> | ||
<button id="<%= @input_id %>-clear" class="btn-octicon" aria-label="Clear"><%= primer_octicon "x" %></button> | ||
<% end %> | ||
<% if @with_icon %> | ||
</div> | ||
</div> | ||
</div> | ||
<% end %> | ||
<%= results %> | ||
</span> | ||
<div id="<%= @list_id %>-feedback" class="sr-only"></div> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.