primer_view_components 0.0.114 → 0.0.115
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -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 +2 -2
- data/app/assets/styles/primer_view_components.css.map +1 -1
- data/app/components/primer/alpha/action_list/divider.rb +2 -0
- data/app/components/primer/alpha/action_list/heading.rb +2 -0
- data/app/components/primer/alpha/action_list/item.rb +8 -6
- data/app/components/primer/alpha/action_list.rb +1 -0
- data/app/components/primer/alpha/auto_complete/auto_complete.html.erb +1 -1
- data/app/components/primer/alpha/auto_complete/item.rb +1 -0
- data/app/components/primer/alpha/auto_complete.rb +3 -2
- data/app/components/primer/alpha/banner.html.erb +1 -1
- data/app/components/primer/alpha/banner.rb +1 -0
- data/app/components/primer/alpha/button_marketing.rb +2 -0
- data/app/components/primer/alpha/dialog.rb +3 -0
- data/app/components/primer/alpha/image.rb +1 -0
- data/app/components/primer/alpha/image_crop.html.erb +1 -1
- data/app/components/primer/alpha/layout.css +1 -0
- data/app/components/primer/alpha/layout.css.json +1 -0
- data/app/components/primer/alpha/layout.css.map +1 -0
- data/app/components/primer/alpha/layout.pcss +268 -0
- data/app/components/primer/{menu_component.css → alpha/menu.css} +0 -0
- data/app/components/primer/alpha/menu.css.json +1 -0
- data/app/components/primer/alpha/menu.css.map +1 -0
- data/app/components/primer/{menu_component.html.erb → alpha/menu.html.erb} +0 -0
- data/app/components/primer/{menu_component.pcss → alpha/menu.pcss} +0 -0
- data/app/components/primer/alpha/menu.rb +76 -0
- data/app/components/primer/{octicon_symbols_component.html.erb → alpha/octicon_symbols.html.erb} +0 -0
- data/app/components/primer/alpha/octicon_symbols.rb +61 -0
- data/app/components/primer/alpha/text_field.rb +1 -0
- data/app/components/primer/alpha/toggle_switch.html.erb +2 -2
- data/app/components/primer/alpha/toggle_switch.rb +2 -0
- data/app/components/primer/alpha/tool_tip.js +77 -69
- data/app/components/primer/alpha/tool_tip.ts +63 -51
- data/app/components/primer/alpha/tooltip.rb +2 -0
- data/app/components/primer/beta/auto_complete/item.rb +4 -4
- data/app/components/primer/beta/auto_complete.rb +3 -3
- data/app/components/primer/beta/avatar.rb +1 -0
- data/app/components/primer/beta/base_button.rb +1 -0
- data/app/components/primer/beta/blankslate.rb +5 -5
- data/app/components/primer/beta/button.rb +7 -7
- data/app/components/primer/beta/clipboard_copy.html.erb +2 -2
- data/app/components/primer/beta/clipboard_copy.rb +1 -0
- data/app/components/primer/beta/close_button.rb +2 -1
- data/app/components/primer/beta/counter.rb +1 -0
- data/app/components/primer/beta/heading.rb +1 -0
- data/app/components/primer/beta/icon_button.html.erb +1 -1
- data/app/components/primer/beta/icon_button.rb +1 -0
- data/app/components/primer/beta/label.rb +1 -0
- data/app/components/primer/beta/markdown.rb +1 -0
- data/app/components/primer/{octicon_component.html.erb → beta/octicon.html.erb} +0 -0
- data/app/components/primer/beta/octicon.rb +88 -0
- data/app/components/primer/beta/relative_time.rb +2 -1
- data/app/components/primer/{spinner_component.html.erb → beta/spinner.html.erb} +0 -0
- data/app/components/primer/beta/spinner.rb +46 -0
- data/app/components/primer/beta/text.rb +1 -0
- data/app/components/primer/blankslate_component.rb +3 -3
- data/app/components/primer/box.rb +1 -0
- data/app/components/primer/button_component.rb +3 -3
- data/app/components/primer/conditional_wrapper.rb +2 -0
- data/app/components/primer/hellip_button.rb +2 -0
- data/app/components/primer/icon_button.html.erb +2 -2
- data/app/components/primer/icon_button.rb +1 -0
- data/app/components/primer/layout_component.rb +2 -0
- data/app/components/primer/local_time.rb +3 -0
- data/app/components/primer/menu_component.rb +2 -69
- data/app/components/primer/navigation/tab_component.rb +2 -2
- data/app/components/primer/octicon_component.rb +3 -81
- data/app/components/primer/octicon_symbols_component.rb +2 -52
- data/app/components/primer/primer.d.ts +2 -0
- data/app/components/primer/primer.js +2 -0
- data/app/components/primer/primer.pcss +2 -1
- data/app/components/primer/primer.ts +2 -0
- data/app/components/primer/spinner_component.rb +2 -38
- data/app/components/primer/state_component.rb +1 -0
- data/app/components/primer/subhead_component.rb +2 -0
- data/app/components/primer/tab_container_component.rb +2 -0
- data/app/components/primer/time_ago_component.rb +2 -1
- data/app/components/primer/timeline_item_component.rb +3 -2
- data/app/components/primer/tooltip.rb +1 -0
- data/app/components/primer/truncate.rb +2 -0
- data/app/forms/immediate_validation_form.rb +29 -0
- data/app/forms/multi_input_form.rb +4 -2
- data/app/lib/primer/css/layout.css +1 -378
- data/app/lib/primer/css/layout.css.json +1 -1
- data/app/lib/primer/octicon/cache.rb +1 -1
- data/app/lib/primer/view_helper.rb +1 -1
- data/lib/primer/deprecations.yml +26 -0
- data/lib/primer/forms/builder.rb +48 -8
- data/lib/primer/forms/check_box.html.erb +3 -1
- data/lib/primer/forms/dsl/input.rb +23 -1
- data/lib/primer/forms/dsl/multi_input.rb +6 -9
- data/lib/primer/forms/dsl/select_list_input.rb +1 -1
- data/lib/primer/forms/dsl/text_field_input.rb +31 -1
- data/lib/primer/forms/form_control.html.erb +17 -13
- data/lib/primer/forms/form_control.rb +2 -0
- data/lib/primer/forms/multi.html.erb +6 -2
- data/lib/primer/forms/primer_multi_input.d.ts +10 -0
- data/lib/primer/forms/primer_multi_input.js +45 -0
- data/lib/primer/forms/primer_multi_input.ts +46 -0
- data/lib/primer/forms/primer_text_field.d.ts +1 -0
- data/lib/primer/forms/primer_text_field.js +62 -0
- data/lib/primer/forms/primer_text_field.ts +48 -0
- data/lib/primer/forms/radio_button.html.erb +3 -1
- data/lib/primer/forms/text_field.html.erb +8 -8
- data/lib/primer/forms/text_field.rb +11 -0
- data/lib/primer/view_components/linters/close_button_component_migration_counter.rb +1 -1
- data/lib/primer/view_components/version.rb +1 -1
- data/lib/tasks/docs.rake +5 -5
- data/lib/tasks/helpers/ast_traverser.rb +1 -1
- data/previews/primer/alpha/action_list_preview.rb +1 -1
- data/previews/primer/alpha/auto_complete_preview.rb +62 -6
- data/previews/primer/alpha/layout_preview.rb +179 -6
- data/previews/primer/{menu_component_preview → alpha/menu_preview}/default.html.erb +3 -3
- data/previews/primer/{menu_component_preview → alpha/menu_preview}/playground.html.erb +3 -3
- data/previews/primer/alpha/menu_preview.rb +14 -0
- data/previews/primer/alpha/toggle_switch_preview.rb +11 -9
- data/previews/primer/beta/auto_complete_preview/with_submit_button.html.erb +1 -1
- data/previews/primer/beta/auto_complete_preview.rb +19 -17
- data/previews/primer/beta/octicon_preview.rb +24 -0
- data/previews/primer/beta/spinner_preview.rb +22 -0
- data/previews/primer/forms/forms_preview/immediate_validation_form.html.erb +3 -0
- data/previews/primer/forms/forms_preview/multi_input_form.html.erb +12 -1
- data/previews/primer/forms/forms_preview.rb +2 -0
- data/previews/primer/url_helpers.rb +15 -0
- data/static/arguments.json +159 -159
- data/static/audited_at.json +4 -0
- data/static/constants.json +42 -34
- data/static/statuses.json +10 -6
- metadata +32 -15
- data/app/components/primer/menu_component.css.json +0 -1
- data/app/components/primer/menu_component.css.map +0 -1
- data/previews/primer/menu_component_preview.rb +0 -12
- data/previews/primer/octicon_component_preview.rb +0 -22
- data/previews/primer/spinner_component_preview.rb +0 -20
@@ -3,6 +3,7 @@
|
|
3
3
|
module Primer
|
4
4
|
# Use `TimelineItem` to display items on a vertical timeline, connected by badge elements.
|
5
5
|
class TimelineItemComponent < Primer::Component
|
6
|
+
warn_on_deprecated_slot_setter
|
6
7
|
status :beta
|
7
8
|
|
8
9
|
# Avatar to be rendered to the left of the Badge.
|
@@ -59,7 +60,7 @@ module Primer
|
|
59
60
|
end
|
60
61
|
|
61
62
|
def render?
|
62
|
-
avatar
|
63
|
+
avatar? || badge? || body?
|
63
64
|
end
|
64
65
|
|
65
66
|
# This component is part of `Primer::TimelineItemComponent` and should not be
|
@@ -78,7 +79,7 @@ module Primer
|
|
78
79
|
|
79
80
|
def call
|
80
81
|
render(Primer::BaseComponent.new(**@system_arguments)) do
|
81
|
-
render(Primer::
|
82
|
+
render(Primer::Beta::Octicon.new(@icon))
|
82
83
|
end
|
83
84
|
end
|
84
85
|
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# :nodoc:
|
4
|
+
# :nocov:
|
5
|
+
class ImmediateValidationForm < ApplicationForm
|
6
|
+
form do |validation_form|
|
7
|
+
validation_form.text_field(
|
8
|
+
name: :has_error,
|
9
|
+
label: "Will have error",
|
10
|
+
caption: "Every time this checks with the server, it returns an error",
|
11
|
+
auto_check_src: @view_context.example_check_error_path
|
12
|
+
)
|
13
|
+
|
14
|
+
validation_form.text_field(
|
15
|
+
name: :no_error,
|
16
|
+
label: "Will not error",
|
17
|
+
caption: "Will not have an error when it checks the server",
|
18
|
+
auto_check_src: @view_context.example_check_ok_path,
|
19
|
+
validation_message: "This message will go away once you type something"
|
20
|
+
)
|
21
|
+
|
22
|
+
validation_form.text_field(
|
23
|
+
name: :random_error,
|
24
|
+
label: "Random error",
|
25
|
+
caption: "Server checks will randomly respond with errors",
|
26
|
+
auto_check_src: @view_context.example_check_random_path
|
27
|
+
)
|
28
|
+
end
|
29
|
+
end
|
@@ -9,17 +9,19 @@ class MultiInputForm < ApplicationForm
|
|
9
9
|
end
|
10
10
|
|
11
11
|
my_form.multi(name: :region, label: "Region") do |region|
|
12
|
-
region.select_list(
|
12
|
+
region.select_list(name: :states) do |state_list|
|
13
13
|
state_list.option(label: "California", value: "CA")
|
14
14
|
state_list.option(label: "Washington", value: "WA")
|
15
15
|
state_list.option(label: "Oregon", value: "OR")
|
16
16
|
end
|
17
17
|
|
18
|
-
region.select_list(
|
18
|
+
region.select_list(hidden: true, name: :provinces) do |province_list|
|
19
19
|
province_list.option(label: "British Columbia", value: "BC")
|
20
20
|
province_list.option(label: "Alberta", value: "AB")
|
21
21
|
province_list.option(label: "Saskatchewan", value: "SK")
|
22
22
|
end
|
23
23
|
end
|
24
|
+
|
25
|
+
my_form.submit(name: :submit, label: "Submit", scheme: :primary)
|
24
26
|
end
|
25
27
|
end
|
@@ -799,383 +799,6 @@
|
|
799
799
|
}
|
800
800
|
}
|
801
801
|
|
802
|
-
.Layout {
|
803
|
-
display: grid;
|
804
|
-
--Layout-sidebar-width: 220px;
|
805
|
-
--Layout-gutter: 16px;
|
806
|
-
grid-auto-flow: column;
|
807
|
-
grid-template-columns: auto 0 minmax(0, calc(100% - var(--Layout-sidebar-width) - var(--Layout-gutter)));
|
808
|
-
grid-gap: var(--Layout-gutter)
|
809
|
-
}
|
810
|
-
|
811
|
-
@media(max-width: calc(544px - 0.02px)) {
|
812
|
-
.Layout {
|
813
|
-
grid-auto-flow: row;
|
814
|
-
grid-template-columns: 1fr !important
|
815
|
-
}
|
816
|
-
|
817
|
-
.Layout .Layout-sidebar,
|
818
|
-
.Layout .Layout-divider,
|
819
|
-
.Layout .Layout-main {
|
820
|
-
width: 100% !important;
|
821
|
-
grid-column: 1 !important
|
822
|
-
}
|
823
|
-
|
824
|
-
.Layout.Layout--sidebarPosition-flowRow-start .Layout-sidebar {
|
825
|
-
grid-row: 1
|
826
|
-
}
|
827
|
-
|
828
|
-
.Layout.Layout--sidebarPosition-flowRow-start .Layout-main {
|
829
|
-
grid-row: 2/span 2
|
830
|
-
}
|
831
|
-
|
832
|
-
.Layout.Layout--sidebarPosition-flowRow-end .Layout-sidebar {
|
833
|
-
grid-row: 2/span 2
|
834
|
-
}
|
835
|
-
|
836
|
-
.Layout.Layout--sidebarPosition-flowRow-end .Layout-main {
|
837
|
-
grid-row: 1
|
838
|
-
}
|
839
|
-
|
840
|
-
.Layout.Layout--sidebarPosition-flowRow-none .Layout-sidebar {
|
841
|
-
display: none
|
842
|
-
}
|
843
|
-
|
844
|
-
.Layout.Layout--divided {
|
845
|
-
--Layout-gutter: 0
|
846
|
-
}
|
847
|
-
|
848
|
-
.Layout.Layout--divided .Layout-divider {
|
849
|
-
height: 1px;
|
850
|
-
grid-row: 2
|
851
|
-
}
|
852
|
-
|
853
|
-
.Layout.Layout--divided .Layout-divider.Layout-divider--flowRow-hidden {
|
854
|
-
display: none
|
855
|
-
}
|
856
|
-
|
857
|
-
.Layout.Layout--divided .Layout-divider.Layout-divider--flowRow-shallow {
|
858
|
-
height: 8px;
|
859
|
-
margin-right: 0;
|
860
|
-
background: var(--color-canvas-inset);
|
861
|
-
border-color: var(--color-border-default);
|
862
|
-
border-style: solid;
|
863
|
-
border-width: 1px 0
|
864
|
-
}
|
865
|
-
|
866
|
-
.Layout.Layout--divided .Layout-main {
|
867
|
-
grid-row: 3/span 1
|
868
|
-
}
|
869
|
-
|
870
|
-
.Layout.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-sidebar {
|
871
|
-
grid-row: 3/span 1
|
872
|
-
}
|
873
|
-
|
874
|
-
.Layout.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-main {
|
875
|
-
grid-row: 1
|
876
|
-
}
|
877
|
-
}
|
878
|
-
|
879
|
-
@media(max-width: calc(768px - 0.02px)) {
|
880
|
-
.Layout.Layout--flowRow-until-md {
|
881
|
-
grid-auto-flow: row;
|
882
|
-
grid-template-columns: 1fr !important
|
883
|
-
}
|
884
|
-
|
885
|
-
.Layout.Layout--flowRow-until-md .Layout-sidebar,
|
886
|
-
.Layout.Layout--flowRow-until-md .Layout-divider,
|
887
|
-
.Layout.Layout--flowRow-until-md .Layout-main {
|
888
|
-
width: 100% !important;
|
889
|
-
grid-column: 1 !important
|
890
|
-
}
|
891
|
-
|
892
|
-
.Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-start .Layout-sidebar {
|
893
|
-
grid-row: 1
|
894
|
-
}
|
895
|
-
|
896
|
-
.Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-start .Layout-main {
|
897
|
-
grid-row: 2/span 2
|
898
|
-
}
|
899
|
-
|
900
|
-
.Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-end .Layout-sidebar {
|
901
|
-
grid-row: 2/span 2
|
902
|
-
}
|
903
|
-
|
904
|
-
.Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-end .Layout-main {
|
905
|
-
grid-row: 1
|
906
|
-
}
|
907
|
-
|
908
|
-
.Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-none .Layout-sidebar {
|
909
|
-
display: none
|
910
|
-
}
|
911
|
-
|
912
|
-
.Layout.Layout--flowRow-until-md.Layout--divided {
|
913
|
-
--Layout-gutter: 0
|
914
|
-
}
|
915
|
-
|
916
|
-
.Layout.Layout--flowRow-until-md.Layout--divided .Layout-divider {
|
917
|
-
height: 1px;
|
918
|
-
grid-row: 2
|
919
|
-
}
|
920
|
-
|
921
|
-
.Layout.Layout--flowRow-until-md.Layout--divided .Layout-divider.Layout-divider--flowRow-hidden {
|
922
|
-
display: none
|
923
|
-
}
|
924
|
-
|
925
|
-
.Layout.Layout--flowRow-until-md.Layout--divided .Layout-divider.Layout-divider--flowRow-shallow {
|
926
|
-
height: 8px;
|
927
|
-
margin-right: 0;
|
928
|
-
background: var(--color-canvas-inset);
|
929
|
-
border-color: var(--color-border-default);
|
930
|
-
border-style: solid;
|
931
|
-
border-width: 1px 0
|
932
|
-
}
|
933
|
-
|
934
|
-
.Layout.Layout--flowRow-until-md.Layout--divided .Layout-main {
|
935
|
-
grid-row: 3/span 1
|
936
|
-
}
|
937
|
-
|
938
|
-
.Layout.Layout--flowRow-until-md.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-sidebar {
|
939
|
-
grid-row: 3/span 1
|
940
|
-
}
|
941
|
-
|
942
|
-
.Layout.Layout--flowRow-until-md.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-main {
|
943
|
-
grid-row: 1
|
944
|
-
}
|
945
|
-
}
|
946
|
-
|
947
|
-
@media(max-width: calc(1012px - 0.02px)) {
|
948
|
-
.Layout.Layout--flowRow-until-lg {
|
949
|
-
grid-auto-flow: row;
|
950
|
-
grid-template-columns: 1fr !important
|
951
|
-
}
|
952
|
-
|
953
|
-
.Layout.Layout--flowRow-until-lg .Layout-sidebar,
|
954
|
-
.Layout.Layout--flowRow-until-lg .Layout-divider,
|
955
|
-
.Layout.Layout--flowRow-until-lg .Layout-main {
|
956
|
-
width: 100% !important;
|
957
|
-
grid-column: 1 !important
|
958
|
-
}
|
959
|
-
|
960
|
-
.Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-start .Layout-sidebar {
|
961
|
-
grid-row: 1
|
962
|
-
}
|
963
|
-
|
964
|
-
.Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-start .Layout-main {
|
965
|
-
grid-row: 2/span 2
|
966
|
-
}
|
967
|
-
|
968
|
-
.Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-end .Layout-sidebar {
|
969
|
-
grid-row: 2/span 2
|
970
|
-
}
|
971
|
-
|
972
|
-
.Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-end .Layout-main {
|
973
|
-
grid-row: 1
|
974
|
-
}
|
975
|
-
|
976
|
-
.Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-none .Layout-sidebar {
|
977
|
-
display: none
|
978
|
-
}
|
979
|
-
|
980
|
-
.Layout.Layout--flowRow-until-lg.Layout--divided {
|
981
|
-
--Layout-gutter: 0
|
982
|
-
}
|
983
|
-
|
984
|
-
.Layout.Layout--flowRow-until-lg.Layout--divided .Layout-divider {
|
985
|
-
height: 1px;
|
986
|
-
grid-row: 2
|
987
|
-
}
|
988
|
-
|
989
|
-
.Layout.Layout--flowRow-until-lg.Layout--divided .Layout-divider.Layout-divider--flowRow-hidden {
|
990
|
-
display: none
|
991
|
-
}
|
992
|
-
|
993
|
-
.Layout.Layout--flowRow-until-lg.Layout--divided .Layout-divider.Layout-divider--flowRow-shallow {
|
994
|
-
height: 8px;
|
995
|
-
margin-right: 0;
|
996
|
-
background: var(--color-canvas-inset);
|
997
|
-
border-color: var(--color-border-default);
|
998
|
-
border-style: solid;
|
999
|
-
border-width: 1px 0
|
1000
|
-
}
|
1001
|
-
|
1002
|
-
.Layout.Layout--flowRow-until-lg.Layout--divided .Layout-main {
|
1003
|
-
grid-row: 3/span 1
|
1004
|
-
}
|
1005
|
-
|
1006
|
-
.Layout.Layout--flowRow-until-lg.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-sidebar {
|
1007
|
-
grid-row: 3/span 1
|
1008
|
-
}
|
1009
|
-
|
1010
|
-
.Layout.Layout--flowRow-until-lg.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-main {
|
1011
|
-
grid-row: 1
|
1012
|
-
}
|
1013
|
-
}
|
1014
|
-
|
1015
|
-
.Layout .Layout-sidebar {
|
1016
|
-
grid-column: 1
|
1017
|
-
}
|
1018
|
-
|
1019
|
-
.Layout .Layout-divider {
|
1020
|
-
display: none
|
1021
|
-
}
|
1022
|
-
|
1023
|
-
.Layout .Layout-main {
|
1024
|
-
grid-column: 2/span 2
|
1025
|
-
}
|
1026
|
-
|
1027
|
-
@media(min-width: 1012px) {
|
1028
|
-
.Layout {
|
1029
|
-
--Layout-gutter: 24px
|
1030
|
-
}
|
1031
|
-
}
|
1032
|
-
|
1033
|
-
.Layout.Layout--gutter-none {
|
1034
|
-
--Layout-gutter: 0px
|
1035
|
-
}
|
1036
|
-
|
1037
|
-
.Layout.Layout--gutter-condensed {
|
1038
|
-
--Layout-gutter: 16px
|
1039
|
-
}
|
1040
|
-
|
1041
|
-
@media(min-width: 1012px) {
|
1042
|
-
.Layout.Layout--gutter-spacious {
|
1043
|
-
--Layout-gutter: 32px
|
1044
|
-
}
|
1045
|
-
}
|
1046
|
-
|
1047
|
-
@media(min-width: 1280px) {
|
1048
|
-
.Layout.Layout--gutter-spacious {
|
1049
|
-
--Layout-gutter: 40px
|
1050
|
-
}
|
1051
|
-
}
|
1052
|
-
|
1053
|
-
@media(min-width: 544px) {
|
1054
|
-
.Layout {
|
1055
|
-
--Layout-sidebar-width: 220px
|
1056
|
-
}
|
1057
|
-
}
|
1058
|
-
|
1059
|
-
@media(min-width: 768px) {
|
1060
|
-
.Layout {
|
1061
|
-
--Layout-sidebar-width: 256px
|
1062
|
-
}
|
1063
|
-
}
|
1064
|
-
|
1065
|
-
@media(min-width: 1012px) {
|
1066
|
-
.Layout {
|
1067
|
-
--Layout-sidebar-width: 296px
|
1068
|
-
}
|
1069
|
-
}
|
1070
|
-
|
1071
|
-
@media(min-width: 768px) {
|
1072
|
-
.Layout.Layout--sidebar-narrow {
|
1073
|
-
--Layout-sidebar-width: 240px
|
1074
|
-
}
|
1075
|
-
}
|
1076
|
-
|
1077
|
-
@media(min-width: 1012px) {
|
1078
|
-
.Layout.Layout--sidebar-narrow {
|
1079
|
-
--Layout-sidebar-width: 256px
|
1080
|
-
}
|
1081
|
-
}
|
1082
|
-
|
1083
|
-
@media(min-width: 1012px) {
|
1084
|
-
.Layout.Layout--sidebar-wide {
|
1085
|
-
--Layout-sidebar-width: 320px
|
1086
|
-
}
|
1087
|
-
}
|
1088
|
-
|
1089
|
-
@media(min-width: 1280px) {
|
1090
|
-
.Layout.Layout--sidebar-wide {
|
1091
|
-
--Layout-sidebar-width: 336px
|
1092
|
-
}
|
1093
|
-
}
|
1094
|
-
|
1095
|
-
.Layout.Layout--sidebarPosition-start .Layout-sidebar {
|
1096
|
-
grid-column: 1
|
1097
|
-
}
|
1098
|
-
|
1099
|
-
.Layout.Layout--sidebarPosition-start .Layout-main {
|
1100
|
-
grid-column: 2/span 2
|
1101
|
-
}
|
1102
|
-
|
1103
|
-
.Layout.Layout--sidebarPosition-end {
|
1104
|
-
grid-template-columns: minmax(0, calc(100% - var(--Layout-sidebar-width) - var(--Layout-gutter))) 0 auto
|
1105
|
-
}
|
1106
|
-
|
1107
|
-
.Layout.Layout--sidebarPosition-end .Layout-main {
|
1108
|
-
grid-column: 1
|
1109
|
-
}
|
1110
|
-
|
1111
|
-
.Layout.Layout--sidebarPosition-end .Layout-sidebar {
|
1112
|
-
grid-column: 2/span 2
|
1113
|
-
}
|
1114
|
-
|
1115
|
-
.Layout.Layout--divided .Layout-divider {
|
1116
|
-
display: block;
|
1117
|
-
grid-column: 2;
|
1118
|
-
width: 1px;
|
1119
|
-
margin-right: -1px;
|
1120
|
-
background: var(--color-border-default)
|
1121
|
-
}
|
1122
|
-
|
1123
|
-
.Layout.Layout--divided .Layout-main {
|
1124
|
-
grid-column: 3/span 1
|
1125
|
-
}
|
1126
|
-
|
1127
|
-
.Layout.Layout--divided.Layout--sidebarPosition-end .Layout-sidebar {
|
1128
|
-
grid-column: 3/span 1
|
1129
|
-
}
|
1130
|
-
|
1131
|
-
.Layout.Layout--divided.Layout--sidebarPosition-end .Layout-main {
|
1132
|
-
grid-column: 1
|
1133
|
-
}
|
1134
|
-
|
1135
|
-
.Layout-divider {
|
1136
|
-
display: none;
|
1137
|
-
width: 1px
|
1138
|
-
}
|
1139
|
-
|
1140
|
-
.Layout-sidebar {
|
1141
|
-
width: var(--Layout-sidebar-width)
|
1142
|
-
}
|
1143
|
-
|
1144
|
-
.Layout-main {
|
1145
|
-
min-width: 0
|
1146
|
-
}
|
1147
|
-
|
1148
|
-
.Layout-main .Layout-main-centered-md,
|
1149
|
-
.Layout-main .Layout-main-centered-lg,
|
1150
|
-
.Layout-main .Layout-main-centered-xl {
|
1151
|
-
margin-right: auto;
|
1152
|
-
margin-left: auto
|
1153
|
-
}
|
1154
|
-
|
1155
|
-
.Layout-main .Layout-main-centered-md>.container-md,
|
1156
|
-
.Layout-main .Layout-main-centered-md>.container-lg,
|
1157
|
-
.Layout-main .Layout-main-centered-md>.container-xl,
|
1158
|
-
.Layout-main .Layout-main-centered-lg>.container-md,
|
1159
|
-
.Layout-main .Layout-main-centered-lg>.container-lg,
|
1160
|
-
.Layout-main .Layout-main-centered-lg>.container-xl,
|
1161
|
-
.Layout-main .Layout-main-centered-xl>.container-md,
|
1162
|
-
.Layout-main .Layout-main-centered-xl>.container-lg,
|
1163
|
-
.Layout-main .Layout-main-centered-xl>.container-xl {
|
1164
|
-
margin-left: 0
|
1165
|
-
}
|
1166
|
-
|
1167
|
-
.Layout-main .Layout-main-centered-md {
|
1168
|
-
max-width: calc(768px + var(--Layout-sidebar-width) + var(--Layout-gutter))
|
1169
|
-
}
|
1170
|
-
|
1171
|
-
.Layout-main .Layout-main-centered-lg {
|
1172
|
-
max-width: calc(1012px + var(--Layout-sidebar-width) + var(--Layout-gutter))
|
1173
|
-
}
|
1174
|
-
|
1175
|
-
.Layout-main .Layout-main-centered-xl {
|
1176
|
-
max-width: calc(1280px + var(--Layout-sidebar-width) + var(--Layout-gutter))
|
1177
|
-
}
|
1178
|
-
|
1179
802
|
:root {
|
1180
803
|
--Layout-pane-width: 220px;
|
1181
804
|
--Layout-content-width: 100%;
|
@@ -1915,4 +1538,4 @@
|
|
1915
1538
|
.Stack-item--keepSize-whenWide {
|
1916
1539
|
flex-shrink: 0
|
1917
1540
|
}
|
1918
|
-
}
|
1541
|
+
}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"layout","selectors":[".AppFrame .AppFrame-a11yNav",".AppFrame .AppFrame-a11yNav:not(:focus-within)",".AppFrame .AppFrame-a11yNav:focus-within",".AppFrame .AppFrame-a11yLink",".AppFrame .AppFrame-a11yLink:not(:focus)",".AppFrame .AppFrame-a11yLink:focus",".AppFrame .AppFrame-a11yLink:focus::after","0%","50%","55%","100%",".AppFrame .AppFrame-main",".AppFrame .AppFrame-header-wrapper",".AppFrame .AppFrame-header-wrapper .AppFrame-header",".AppFrame .AppFrame-header",".AppFrame .AppFrame-subheader",".AppFrame .AppFrame-body",".AppFrame .AppFrame-footer",".container-sm",".container-md",".container-lg",".container-xl",".col-1",".col-2",".col-3",".col-4",".col-5",".col-6",".col-7",".col-8",".col-9",".col-10",".col-11",".col-12",".col-sm-1",".col-sm-2",".col-sm-3",".col-sm-4",".col-sm-5",".col-sm-6",".col-sm-7",".col-sm-8",".col-sm-9",".col-sm-10",".col-sm-11",".col-sm-12",".col-md-1",".col-md-2",".col-md-3",".col-md-4",".col-md-5",".col-md-6",".col-md-7",".col-md-8",".col-md-9",".col-md-10",".col-md-11",".col-md-12",".col-lg-1",".col-lg-2",".col-lg-3",".col-lg-4",".col-lg-5",".col-lg-6",".col-lg-7",".col-lg-8",".col-lg-9",".col-lg-10",".col-lg-11",".col-lg-12",".col-xl-1",".col-xl-2",".col-xl-3",".col-xl-4",".col-xl-5",".col-xl-6",".col-xl-7",".col-xl-8",".col-xl-9",".col-xl-10",".col-xl-11",".col-xl-12",".gutter",".gutter>[class*=col-]",".gutter-condensed",".gutter-condensed>[class*=col-]",".gutter-spacious",".gutter-spacious>[class*=col-]",".gutter-sm",".gutter-sm>[class*=col-]",".gutter-sm-condensed",".gutter-sm-condensed>[class*=col-]",".gutter-sm-spacious",".gutter-sm-spacious>[class*=col-]",".gutter-md",".gutter-md>[class*=col-]",".gutter-md-condensed",".gutter-md-condensed>[class*=col-]",".gutter-md-spacious",".gutter-md-spacious>[class*=col-]",".gutter-lg",".gutter-lg>[class*=col-]",".gutter-lg-condensed",".gutter-lg-condensed>[class*=col-]",".gutter-lg-spacious",".gutter-lg-spacious>[class*=col-]",".gutter-xl",".gutter-xl>[class*=col-]",".gutter-xl-condensed",".gutter-xl-condensed>[class*=col-]",".gutter-xl-spacious",".gutter-xl-spacious>[class*=col-]",".offset-1",".offset-2",".offset-3",".offset-4",".offset-5",".offset-6",".offset-7",".offset-8",".offset-9",".offset-10",".offset-11",".offset-sm-1",".offset-sm-2",".offset-sm-3",".offset-sm-4",".offset-sm-5",".offset-sm-6",".offset-sm-7",".offset-sm-8",".offset-sm-9",".offset-sm-10",".offset-sm-11",".offset-md-1",".offset-md-2",".offset-md-3",".offset-md-4",".offset-md-5",".offset-md-6",".offset-md-7",".offset-md-8",".offset-md-9",".offset-md-10",".offset-md-11",".offset-lg-1",".offset-lg-2",".offset-lg-3",".offset-lg-4",".offset-lg-5",".offset-lg-6",".offset-lg-7",".offset-lg-8",".offset-lg-9",".offset-lg-10",".offset-lg-11",".offset-xl-1",".offset-xl-2",".offset-xl-3",".offset-xl-4",".offset-xl-5",".offset-xl-6",".offset-xl-7",".offset-xl-8",".offset-xl-9",".offset-xl-10",".offset-xl-11",".Layout",".Layout .Layout-sidebar",".Layout .Layout-divider",".Layout .Layout-main",".Layout.Layout--sidebarPosition-flowRow-start .Layout-sidebar",".Layout.Layout--sidebarPosition-flowRow-start .Layout-main",".Layout.Layout--sidebarPosition-flowRow-end .Layout-sidebar",".Layout.Layout--sidebarPosition-flowRow-end .Layout-main",".Layout.Layout--sidebarPosition-flowRow-none .Layout-sidebar",".Layout.Layout--divided",".Layout.Layout--divided .Layout-divider",".Layout.Layout--divided .Layout-divider.Layout-divider--flowRow-hidden",".Layout.Layout--divided .Layout-divider.Layout-divider--flowRow-shallow",".Layout.Layout--divided .Layout-main",".Layout.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-sidebar",".Layout.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-main",".Layout.Layout--flowRow-until-md",".Layout.Layout--flowRow-until-md .Layout-sidebar",".Layout.Layout--flowRow-until-md .Layout-divider",".Layout.Layout--flowRow-until-md .Layout-main",".Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-start .Layout-sidebar",".Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-start .Layout-main",".Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-end .Layout-sidebar",".Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-end .Layout-main",".Layout.Layout--flowRow-until-md.Layout--sidebarPosition-flowRow-none .Layout-sidebar",".Layout.Layout--flowRow-until-md.Layout--divided",".Layout.Layout--flowRow-until-md.Layout--divided .Layout-divider",".Layout.Layout--flowRow-until-md.Layout--divided .Layout-divider.Layout-divider--flowRow-hidden",".Layout.Layout--flowRow-until-md.Layout--divided .Layout-divider.Layout-divider--flowRow-shallow",".Layout.Layout--flowRow-until-md.Layout--divided .Layout-main",".Layout.Layout--flowRow-until-md.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-sidebar",".Layout.Layout--flowRow-until-md.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-main",".Layout.Layout--flowRow-until-lg",".Layout.Layout--flowRow-until-lg .Layout-sidebar",".Layout.Layout--flowRow-until-lg .Layout-divider",".Layout.Layout--flowRow-until-lg .Layout-main",".Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-start .Layout-sidebar",".Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-start .Layout-main",".Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-end .Layout-sidebar",".Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-end .Layout-main",".Layout.Layout--flowRow-until-lg.Layout--sidebarPosition-flowRow-none .Layout-sidebar",".Layout.Layout--flowRow-until-lg.Layout--divided",".Layout.Layout--flowRow-until-lg.Layout--divided .Layout-divider",".Layout.Layout--flowRow-until-lg.Layout--divided .Layout-divider.Layout-divider--flowRow-hidden",".Layout.Layout--flowRow-until-lg.Layout--divided .Layout-divider.Layout-divider--flowRow-shallow",".Layout.Layout--flowRow-until-lg.Layout--divided .Layout-main",".Layout.Layout--flowRow-until-lg.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-sidebar",".Layout.Layout--flowRow-until-lg.Layout--divided.Layout--sidebarPosition-flowRow-end .Layout-main",".Layout.Layout--gutter-none",".Layout.Layout--gutter-condensed",".Layout.Layout--gutter-spacious",".Layout.Layout--sidebar-narrow",".Layout.Layout--sidebar-wide",".Layout.Layout--sidebarPosition-start .Layout-sidebar",".Layout.Layout--sidebarPosition-start .Layout-main",".Layout.Layout--sidebarPosition-end",".Layout.Layout--sidebarPosition-end .Layout-main",".Layout.Layout--sidebarPosition-end .Layout-sidebar",".Layout.Layout--divided.Layout--sidebarPosition-end .Layout-sidebar",".Layout.Layout--divided.Layout--sidebarPosition-end .Layout-main",".Layout-divider",".Layout-sidebar",".Layout-main",".Layout-main .Layout-main-centered-md",".Layout-main .Layout-main-centered-lg",".Layout-main .Layout-main-centered-xl",".Layout-main .Layout-main-centered-md>.container-md",".Layout-main .Layout-main-centered-md>.container-lg",".Layout-main .Layout-main-centered-md>.container-xl",".Layout-main .Layout-main-centered-lg>.container-md",".Layout-main .Layout-main-centered-lg>.container-lg",".Layout-main .Layout-main-centered-lg>.container-xl",".Layout-main .Layout-main-centered-xl>.container-md",".Layout-main .Layout-main-centered-xl>.container-lg",".Layout-main .Layout-main-centered-xl>.container-xl",":root",".PageLayout",".PageLayout.PageLayout--panePos-start",".PageLayout.PageLayout--panePos-end",".PageLayout .PageLayout-header--hasDivider",".PageLayout .PageLayout-footer--hasDivider",".PageLayout.PageLayout--hasPaneDivider.PageLayout--panePos-start .PageLayout-pane",".PageLayout.PageLayout--hasPaneDivider.PageLayout--panePos-start:not(.PageLayout--columnGap-none) .PageLayout-pane",".PageLayout.PageLayout--hasPaneDivider.PageLayout--panePos-start:not(.PageLayout--columnGap-none) .PageLayout-content",".PageLayout.PageLayout--hasPaneDivider.PageLayout--panePos-end .PageLayout-pane",".PageLayout.PageLayout--hasPaneDivider.PageLayout--panePos-end:not(.PageLayout--columnGap-none) .PageLayout-pane",".PageLayout.PageLayout--hasPaneDivider.PageLayout--panePos-end:not(.PageLayout--columnGap-none) .PageLayout-content",".PageLayout .PageLayout-pane--sticky",".PageLayout [class^=PageLayout-content-centered-]",".PageLayout.PageLayout--hasPaneDivider [class^=PageLayout-content-centered-]",".PageLayout.PageLayout--panePos-start [class^=PageLayout-content-centered-]>[class^=container-]",".PageLayout.PageLayout--panePos-end [class^=PageLayout-content-centered-]>[class^=container-]",".PageLayout .PageLayout-content-centered-sm",".PageLayout .PageLayout-content-centered-md",".PageLayout .PageLayout-content-centered-lg",".PageLayout .PageLayout-content-centered-xl",".PageLayout.PageLayout--paneWidth-narrow",".PageLayout.PageLayout--paneWidth-wide",".PageLayout.PageLayout--responsive-stackRegions",".PageLayout.PageLayout--responsive-stackRegions.PageLayout--responsive-panePos-start",".PageLayout.PageLayout--responsive-separateRegions",".PageLayout.PageLayout--responsive-separateRegions.PageLayout--responsive-primary-content",".PageLayout.PageLayout--responsive-separateRegions.PageLayout--responsive-primary-content .PageLayout-pane",".PageLayout.PageLayout--responsive-separateRegions.PageLayout--responsive-primary-pane",".PageLayout.PageLayout--responsive-separateRegions.PageLayout--responsive-primary-pane .PageLayout-content",".PageLayout .PageLayout-region--dividerNarrow-line-before",".PageLayout .PageLayout-region--dividerNarrow-line-before::before",".PageLayout .PageLayout-region--dividerNarrow-line-after",".PageLayout .PageLayout-region--dividerNarrow-line-after::after",".PageLayout .PageLayout-region--dividerNarrow-filled-before",".PageLayout .PageLayout-region--dividerNarrow-filled-before::after",".PageLayout .PageLayout-region--dividerNarrow-filled-after",".PageLayout .PageLayout-region--dividerNarrow-filled-after::before",".PageLayout-wrapper",".PageLayout-columns",".PageLayout-columns .PageLayout-content",".PageLayout-columns .PageLayout-pane",".PageLayout--outerSpacing-normal",".PageLayout--outerSpacing-condensed",".PageLayout--innerSpacing-normal",".PageLayout--innerSpacing-condensed",".PageLayout--columnGap-normal",".PageLayout--columnGap-condensed",".PageLayout--columnGap-none",".PageLayout--rowGap-normal",".PageLayout--rowGap-none",".PageLayout--rowGap-condensed",".PageLayout-header",".PageLayout-content",".PageLayout-pane",".PageLayout-footer",".Stack",".Stack-divider",".Stack-item",".Stack--dir-inline-whenNarrow",".Stack--dir-block-whenNarrow",".Stack--gap-none-whenNarrow",".Stack--gap-condensed-whenNarrow",".Stack--gap-normal-whenNarrow",".Stack--align-start-whenNarrow",".Stack--align-center-whenNarrow",".Stack--align-end-whenNarrow",".Stack--align-baseline-whenNarrow",".Stack--alignWrap-start-whenNarrow",".Stack--alignWrap-center-whenNarrow",".Stack--alignWrap-end-whenNarrow",".Stack--alignWrap-distribute-whenNarrow",".Stack--alignWrap-distributeEvenly-whenNarrow",".Stack--spread-start-whenNarrow",".Stack--spread-center-whenNarrow",".Stack--spread-end-whenNarrow",".Stack--spread-distribute-whenNarrow",".Stack--spread-distributeEvenly-whenNarrow",".Stack--wrap-whenNarrow",".Stack--nowrap-whenNarrow",".Stack--showDividers-whenNarrow>.Stack-divider",".Stack--showDividers-whenNarrow>.Stack-item>.Stack-divider",":not(.Stack--dir-inline-whenNarrow)>.Stack-divider",":not(.Stack--dir-inline-whenNarrow)>.Stack-item>.Stack-divider",".Stack--dir-inline-whenNarrow>.Stack-divider",".Stack--dir-inline-whenNarrow>.Stack-item>.Stack-divider",".Stack-item--expand-whenNarrow",".Stack-item--keepSize-whenNarrow",".Stack--dir-inline-whenRegular",".Stack--dir-block-whenRegular",".Stack--gap-none-whenRegular",".Stack--gap-condensed-whenRegular",".Stack--gap-normal-whenRegular",".Stack--gap-spacious-whenRegular",".Stack--align-start-whenRegular",".Stack--align-center-whenRegular",".Stack--align-end-whenRegular",".Stack--align-baseline-whenRegular",".Stack--alignWrap-start-whenRegular",".Stack--alignWrap-center-whenRegular",".Stack--alignWrap-end-whenRegular",".Stack--alignWrap-distribute-whenRegular",".Stack--alignWrap-distributeEvenly-whenRegular",".Stack--spread-start-whenRegular",".Stack--spread-center-whenRegular",".Stack--spread-end-whenRegular",".Stack--spread-distribute-whenRegular",".Stack--spread-distributeEvenly-whenRegular",".Stack--wrap-whenRegular",".Stack--nowrap-whenRegular",".Stack--showDividers-whenRegular>.Stack-divider",".Stack--showDividers-whenRegular>.Stack-item>.Stack-divider",":not(.Stack--dir-inline-whenRegular)>.Stack-divider",":not(.Stack--dir-inline-whenRegular)>.Stack-item>.Stack-divider",".Stack--dir-inline-whenRegular>.Stack-divider",".Stack--dir-inline-whenRegular>.Stack-item>.Stack-divider",".Stack-item--expand-whenRegular",".Stack-item--keepSize-whenRegular",".Stack--dir-inline-whenWide",".Stack--dir-block-whenWide",".Stack--gap-none-whenWide",".Stack--gap-condensed-whenWide",".Stack--gap-normal-whenWide",".Stack--gap-spacious-whenWide",".Stack--align-start-whenWide",".Stack--align-center-whenWide",".Stack--align-end-whenWide",".Stack--align-baseline-whenWide",".Stack--alignWrap-start-whenWide",".Stack--alignWrap-center-whenWide",".Stack--alignWrap-end-whenWide",".Stack--alignWrap-distribute-whenWide",".Stack--alignWrap-distributeEvenly-whenWide",".Stack--spread-start-whenWide",".Stack--spread-center-whenWide",".Stack--spread-end-whenWide",".Stack--spread-distribute-whenWide",".Stack--spread-distributeEvenly-whenWide",".Stack--wrap-whenWide",".Stack--nowrap-whenWide",".Stack--showDividers-whenWide>.Stack-divider",".Stack--showDividers-whenWide>.Stack-item>.Stack-divider",":not(.Stack--dir-inline-whenWide)>.Stack-divider",":not(.Stack--dir-inline-whenWide)>.Stack-item>.Stack-divider",".Stack--dir-inline-whenWide>.Stack-divider",".Stack--dir-inline-whenWide>.Stack-item>.Stack-divider",".Stack-item--expand-whenWide",".Stack-item--keepSize-whenWide"]}
|
1
|
+
{"name":"layout","selectors":[".AppFrame .AppFrame-a11yNav",".AppFrame .AppFrame-a11yNav:not(:focus-within)",".AppFrame .AppFrame-a11yNav:focus-within",".AppFrame .AppFrame-a11yLink",".AppFrame .AppFrame-a11yLink:not(:focus)",".AppFrame .AppFrame-a11yLink:focus",".AppFrame .AppFrame-a11yLink:focus::after","0%","50%","55%","100%",".AppFrame .AppFrame-main",".AppFrame .AppFrame-header-wrapper",".AppFrame .AppFrame-header-wrapper .AppFrame-header",".AppFrame .AppFrame-header",".AppFrame .AppFrame-subheader",".AppFrame .AppFrame-body",".AppFrame .AppFrame-footer",".container-sm",".container-md",".container-lg",".container-xl",".col-1",".col-2",".col-3",".col-4",".col-5",".col-6",".col-7",".col-8",".col-9",".col-10",".col-11",".col-12",".col-sm-1",".col-sm-2",".col-sm-3",".col-sm-4",".col-sm-5",".col-sm-6",".col-sm-7",".col-sm-8",".col-sm-9",".col-sm-10",".col-sm-11",".col-sm-12",".col-md-1",".col-md-2",".col-md-3",".col-md-4",".col-md-5",".col-md-6",".col-md-7",".col-md-8",".col-md-9",".col-md-10",".col-md-11",".col-md-12",".col-lg-1",".col-lg-2",".col-lg-3",".col-lg-4",".col-lg-5",".col-lg-6",".col-lg-7",".col-lg-8",".col-lg-9",".col-lg-10",".col-lg-11",".col-lg-12",".col-xl-1",".col-xl-2",".col-xl-3",".col-xl-4",".col-xl-5",".col-xl-6",".col-xl-7",".col-xl-8",".col-xl-9",".col-xl-10",".col-xl-11",".col-xl-12",".gutter",".gutter>[class*=col-]",".gutter-condensed",".gutter-condensed>[class*=col-]",".gutter-spacious",".gutter-spacious>[class*=col-]",".gutter-sm",".gutter-sm>[class*=col-]",".gutter-sm-condensed",".gutter-sm-condensed>[class*=col-]",".gutter-sm-spacious",".gutter-sm-spacious>[class*=col-]",".gutter-md",".gutter-md>[class*=col-]",".gutter-md-condensed",".gutter-md-condensed>[class*=col-]",".gutter-md-spacious",".gutter-md-spacious>[class*=col-]",".gutter-lg",".gutter-lg>[class*=col-]",".gutter-lg-condensed",".gutter-lg-condensed>[class*=col-]",".gutter-lg-spacious",".gutter-lg-spacious>[class*=col-]",".gutter-xl",".gutter-xl>[class*=col-]",".gutter-xl-condensed",".gutter-xl-condensed>[class*=col-]",".gutter-xl-spacious",".gutter-xl-spacious>[class*=col-]",".offset-1",".offset-2",".offset-3",".offset-4",".offset-5",".offset-6",".offset-7",".offset-8",".offset-9",".offset-10",".offset-11",".offset-sm-1",".offset-sm-2",".offset-sm-3",".offset-sm-4",".offset-sm-5",".offset-sm-6",".offset-sm-7",".offset-sm-8",".offset-sm-9",".offset-sm-10",".offset-sm-11",".offset-md-1",".offset-md-2",".offset-md-3",".offset-md-4",".offset-md-5",".offset-md-6",".offset-md-7",".offset-md-8",".offset-md-9",".offset-md-10",".offset-md-11",".offset-lg-1",".offset-lg-2",".offset-lg-3",".offset-lg-4",".offset-lg-5",".offset-lg-6",".offset-lg-7",".offset-lg-8",".offset-lg-9",".offset-lg-10",".offset-lg-11",".offset-xl-1",".offset-xl-2",".offset-xl-3",".offset-xl-4",".offset-xl-5",".offset-xl-6",".offset-xl-7",".offset-xl-8",".offset-xl-9",".offset-xl-10",".offset-xl-11",":root",".PageLayout",".PageLayout.PageLayout--panePos-start",".PageLayout.PageLayout--panePos-end",".PageLayout .PageLayout-header--hasDivider",".PageLayout .PageLayout-footer--hasDivider",".PageLayout.PageLayout--hasPaneDivider.PageLayout--panePos-start .PageLayout-pane",".PageLayout.PageLayout--hasPaneDivider.PageLayout--panePos-start:not(.PageLayout--columnGap-none) .PageLayout-pane",".PageLayout.PageLayout--hasPaneDivider.PageLayout--panePos-start:not(.PageLayout--columnGap-none) .PageLayout-content",".PageLayout.PageLayout--hasPaneDivider.PageLayout--panePos-end .PageLayout-pane",".PageLayout.PageLayout--hasPaneDivider.PageLayout--panePos-end:not(.PageLayout--columnGap-none) .PageLayout-pane",".PageLayout.PageLayout--hasPaneDivider.PageLayout--panePos-end:not(.PageLayout--columnGap-none) .PageLayout-content",".PageLayout .PageLayout-pane--sticky",".PageLayout [class^=PageLayout-content-centered-]",".PageLayout.PageLayout--hasPaneDivider [class^=PageLayout-content-centered-]",".PageLayout.PageLayout--panePos-start [class^=PageLayout-content-centered-]>[class^=container-]",".PageLayout.PageLayout--panePos-end [class^=PageLayout-content-centered-]>[class^=container-]",".PageLayout .PageLayout-content-centered-sm",".PageLayout .PageLayout-content-centered-md",".PageLayout .PageLayout-content-centered-lg",".PageLayout .PageLayout-content-centered-xl",".PageLayout.PageLayout--paneWidth-narrow",".PageLayout.PageLayout--paneWidth-wide",".PageLayout.PageLayout--responsive-stackRegions",".PageLayout.PageLayout--responsive-stackRegions.PageLayout--responsive-panePos-start",".PageLayout.PageLayout--responsive-separateRegions",".PageLayout.PageLayout--responsive-separateRegions.PageLayout--responsive-primary-content",".PageLayout.PageLayout--responsive-separateRegions.PageLayout--responsive-primary-content .PageLayout-pane",".PageLayout.PageLayout--responsive-separateRegions.PageLayout--responsive-primary-pane",".PageLayout.PageLayout--responsive-separateRegions.PageLayout--responsive-primary-pane .PageLayout-content",".PageLayout .PageLayout-region--dividerNarrow-line-before",".PageLayout .PageLayout-region--dividerNarrow-line-before::before",".PageLayout .PageLayout-region--dividerNarrow-line-after",".PageLayout .PageLayout-region--dividerNarrow-line-after::after",".PageLayout .PageLayout-region--dividerNarrow-filled-before",".PageLayout .PageLayout-region--dividerNarrow-filled-before::after",".PageLayout .PageLayout-region--dividerNarrow-filled-after",".PageLayout .PageLayout-region--dividerNarrow-filled-after::before",".PageLayout-wrapper",".PageLayout-columns",".PageLayout-columns .PageLayout-content",".PageLayout-columns .PageLayout-pane",".PageLayout--outerSpacing-normal",".PageLayout--outerSpacing-condensed",".PageLayout--innerSpacing-normal",".PageLayout--innerSpacing-condensed",".PageLayout--columnGap-normal",".PageLayout--columnGap-condensed",".PageLayout--columnGap-none",".PageLayout--rowGap-normal",".PageLayout--rowGap-none",".PageLayout--rowGap-condensed",".PageLayout-header",".PageLayout-content",".PageLayout-pane",".PageLayout-footer",".Stack",".Stack-divider",".Stack-item",".Stack--dir-inline-whenNarrow",".Stack--dir-block-whenNarrow",".Stack--gap-none-whenNarrow",".Stack--gap-condensed-whenNarrow",".Stack--gap-normal-whenNarrow",".Stack--align-start-whenNarrow",".Stack--align-center-whenNarrow",".Stack--align-end-whenNarrow",".Stack--align-baseline-whenNarrow",".Stack--alignWrap-start-whenNarrow",".Stack--alignWrap-center-whenNarrow",".Stack--alignWrap-end-whenNarrow",".Stack--alignWrap-distribute-whenNarrow",".Stack--alignWrap-distributeEvenly-whenNarrow",".Stack--spread-start-whenNarrow",".Stack--spread-center-whenNarrow",".Stack--spread-end-whenNarrow",".Stack--spread-distribute-whenNarrow",".Stack--spread-distributeEvenly-whenNarrow",".Stack--wrap-whenNarrow",".Stack--nowrap-whenNarrow",".Stack--showDividers-whenNarrow>.Stack-divider",".Stack--showDividers-whenNarrow>.Stack-item>.Stack-divider",":not(.Stack--dir-inline-whenNarrow)>.Stack-divider",":not(.Stack--dir-inline-whenNarrow)>.Stack-item>.Stack-divider",".Stack--dir-inline-whenNarrow>.Stack-divider",".Stack--dir-inline-whenNarrow>.Stack-item>.Stack-divider",".Stack-item--expand-whenNarrow",".Stack-item--keepSize-whenNarrow",".Stack--dir-inline-whenRegular",".Stack--dir-block-whenRegular",".Stack--gap-none-whenRegular",".Stack--gap-condensed-whenRegular",".Stack--gap-normal-whenRegular",".Stack--gap-spacious-whenRegular",".Stack--align-start-whenRegular",".Stack--align-center-whenRegular",".Stack--align-end-whenRegular",".Stack--align-baseline-whenRegular",".Stack--alignWrap-start-whenRegular",".Stack--alignWrap-center-whenRegular",".Stack--alignWrap-end-whenRegular",".Stack--alignWrap-distribute-whenRegular",".Stack--alignWrap-distributeEvenly-whenRegular",".Stack--spread-start-whenRegular",".Stack--spread-center-whenRegular",".Stack--spread-end-whenRegular",".Stack--spread-distribute-whenRegular",".Stack--spread-distributeEvenly-whenRegular",".Stack--wrap-whenRegular",".Stack--nowrap-whenRegular",".Stack--showDividers-whenRegular>.Stack-divider",".Stack--showDividers-whenRegular>.Stack-item>.Stack-divider",":not(.Stack--dir-inline-whenRegular)>.Stack-divider",":not(.Stack--dir-inline-whenRegular)>.Stack-item>.Stack-divider",".Stack--dir-inline-whenRegular>.Stack-divider",".Stack--dir-inline-whenRegular>.Stack-item>.Stack-divider",".Stack-item--expand-whenRegular",".Stack-item--keepSize-whenRegular",".Stack--dir-inline-whenWide",".Stack--dir-block-whenWide",".Stack--gap-none-whenWide",".Stack--gap-condensed-whenWide",".Stack--gap-normal-whenWide",".Stack--gap-spacious-whenWide",".Stack--align-start-whenWide",".Stack--align-center-whenWide",".Stack--align-end-whenWide",".Stack--align-baseline-whenWide",".Stack--alignWrap-start-whenWide",".Stack--alignWrap-center-whenWide",".Stack--alignWrap-end-whenWide",".Stack--alignWrap-distribute-whenWide",".Stack--alignWrap-distributeEvenly-whenWide",".Stack--spread-start-whenWide",".Stack--spread-center-whenWide",".Stack--spread-end-whenWide",".Stack--spread-distribute-whenWide",".Stack--spread-distributeEvenly-whenWide",".Stack--wrap-whenWide",".Stack--nowrap-whenWide",".Stack--showDividers-whenWide>.Stack-divider",".Stack--showDividers-whenWide>.Stack-item>.Stack-divider",":not(.Stack--dir-inline-whenWide)>.Stack-divider",":not(.Stack--dir-inline-whenWide)>.Stack-item>.Stack-divider",".Stack--dir-inline-whenWide>.Stack-divider",".Stack--dir-inline-whenWide>.Stack-item>.Stack-divider",".Stack-item--expand-whenWide",".Stack-item--keepSize-whenWide"]}
|
@@ -7,7 +7,7 @@ module Primer
|
|
7
7
|
class ViewHelperNotFound < StandardError; end
|
8
8
|
|
9
9
|
HELPERS = {
|
10
|
-
octicon: "Primer::
|
10
|
+
octicon: "Primer::Beta::Octicon",
|
11
11
|
heading: "Primer::Beta::Heading",
|
12
12
|
time_ago: "Primer::TimeAgoComponent",
|
13
13
|
image: "Primer::Alpha::Image"
|
data/lib/primer/deprecations.yml
CHANGED
@@ -55,6 +55,11 @@ deprecations:
|
|
55
55
|
autocorrect: true
|
56
56
|
replacement: "Primer::Beta::Label"
|
57
57
|
|
58
|
+
- component: "Primer::LocalTime"
|
59
|
+
autocorrect: false
|
60
|
+
replacement: "Primer::Beta::RelativeTime"
|
61
|
+
guide: "https://primer.style/view-components/guides/primer_local_time"
|
62
|
+
|
58
63
|
- component: "Primer::LinkComponent"
|
59
64
|
autocorrect: true
|
60
65
|
replacement: "Primer::Beta::Link"
|
@@ -63,10 +68,31 @@ deprecations:
|
|
63
68
|
autocorrect: true
|
64
69
|
replacement: "Primer::Beta::Markdown"
|
65
70
|
|
71
|
+
- component: "Primer::MenuComponent"
|
72
|
+
autocorrect: true
|
73
|
+
replacement: "Primer::Alpha::Menu"
|
74
|
+
|
75
|
+
- component: "Primer::OcticonComponent"
|
76
|
+
autocorrect: true
|
77
|
+
replacement: "Primer::Beta::Octicon"
|
78
|
+
|
79
|
+
- component: "Primer::OcticonSymbolsComponent"
|
80
|
+
autocorrect: true
|
81
|
+
replacement: "Primer::Alpha::OcticonSymbols"
|
82
|
+
|
66
83
|
- component: "Primer::PopoverComponent"
|
67
84
|
autocorrect: true
|
68
85
|
replacement: "Primer::Beta::Popover"
|
69
86
|
|
87
|
+
- component: "Primer::SpinnerComponent"
|
88
|
+
autocorrect: true
|
89
|
+
replacement: "Primer::Beta::Spinner"
|
90
|
+
|
91
|
+
- component: "Primer::TimeAgoComponent"
|
92
|
+
autocorrect: false
|
93
|
+
replacement: "Primer::Beta::RelativeTime"
|
94
|
+
guide: "https://primer.style/view-components/guides/primer_time_ago"
|
95
|
+
|
70
96
|
- component: "Primer::Tooltip"
|
71
97
|
autocorrect: true
|
72
98
|
replacement: "Primer::Alpha::Tooltip"
|