@primer/view-components 0.0.116 → 0.0.117-rc.48a088a9
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/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 +2 -2
- package/app/assets/styles/primer_view_components.css.map +1 -1
- package/app/components/primer/alpha/action_list.css +1 -1
- package/app/components/primer/alpha/action_list.css.json +1 -1
- package/app/components/primer/alpha/menu.css +1 -1
- package/app/components/primer/alpha/menu.css.json +1 -1
- package/app/components/primer/{tab_container_component.d.ts → alpha/tab_container.d.ts} +0 -0
- package/app/components/primer/{tab_container_component.js → alpha/tab_container.js} +0 -0
- package/app/components/primer/alpha/tab_nav.css +1 -1
- package/app/components/primer/alpha/tab_nav.css.json +1 -1
- package/app/components/primer/alpha/tool_tip.js +3 -7
- package/app/components/primer/alpha/underline_nav.css +1 -1
- package/app/components/primer/alpha/underline_nav.css.json +1 -1
- package/app/components/primer/beta/breadcrumbs.css +1 -1
- package/app/components/primer/beta/breadcrumbs.css.json +1 -1
- package/app/components/primer/{state_component.css → beta/state.css} +0 -0
- package/app/components/primer/beta/state.css.json +1 -0
- package/app/components/primer/{subhead_component.css → beta/subhead.css} +0 -0
- package/app/components/primer/beta/subhead.css.json +1 -0
- package/app/components/primer/{timeline_item_component.css → beta/timeline_item.css} +0 -0
- package/app/components/primer/beta/timeline_item.css.json +1 -0
- package/app/components/primer/beta/truncate.css +1 -1
- package/app/components/primer/beta/truncate.css.json +1 -1
- package/app/components/primer/primer.d.ts +1 -1
- package/app/components/primer/primer.js +1 -1
- package/package.json +3 -2
- package/static/arguments.json +118 -118
- package/static/audited_at.json +6 -1
- package/static/constants.json +67 -57
- package/static/statuses.json +11 -6
- package/app/components/primer/state_component.css.json +0 -1
- package/app/components/primer/subhead_component.css.json +0 -1
- package/app/components/primer/timeline_item_component.css.json +0 -1
package/static/constants.json
CHANGED
|
@@ -216,6 +216,8 @@
|
|
|
216
216
|
"summary"
|
|
217
217
|
]
|
|
218
218
|
},
|
|
219
|
+
"Primer::Alpha::HellipButton": {
|
|
220
|
+
},
|
|
219
221
|
"Primer::Alpha::HiddenTextExpander": {
|
|
220
222
|
},
|
|
221
223
|
"Primer::Alpha::Image": {
|
|
@@ -328,6 +330,8 @@
|
|
|
328
330
|
},
|
|
329
331
|
"Primer::Alpha::SegmentedControl::Item": {
|
|
330
332
|
},
|
|
333
|
+
"Primer::Alpha::TabContainer": {
|
|
334
|
+
},
|
|
331
335
|
"Primer::Alpha::TabNav": {
|
|
332
336
|
"BODY_TAG_DEFAULT": "ul",
|
|
333
337
|
"TAG_DEFAULT": "nav",
|
|
@@ -912,9 +916,72 @@
|
|
|
912
916
|
"large"
|
|
913
917
|
]
|
|
914
918
|
},
|
|
919
|
+
"Primer::Beta::State": {
|
|
920
|
+
"DEPRECATED_SCHEME_MAPPINGS": {
|
|
921
|
+
"default": "",
|
|
922
|
+
"green": "State--open",
|
|
923
|
+
"red": "State--closed",
|
|
924
|
+
"purple": "State--merged"
|
|
925
|
+
},
|
|
926
|
+
"NEW_SCHEME_MAPPINGS": {
|
|
927
|
+
"open": "State--open",
|
|
928
|
+
"closed": "State--closed",
|
|
929
|
+
"merged": "State--merged"
|
|
930
|
+
},
|
|
931
|
+
"SCHEME_DEFAULT": "default",
|
|
932
|
+
"SCHEME_MAPPINGS": {
|
|
933
|
+
"open": "State--open",
|
|
934
|
+
"closed": "State--closed",
|
|
935
|
+
"merged": "State--merged",
|
|
936
|
+
"default": "",
|
|
937
|
+
"green": "State--open",
|
|
938
|
+
"red": "State--closed",
|
|
939
|
+
"purple": "State--merged"
|
|
940
|
+
},
|
|
941
|
+
"SCHEME_OPTIONS": [
|
|
942
|
+
"open",
|
|
943
|
+
"closed",
|
|
944
|
+
"merged",
|
|
945
|
+
"default",
|
|
946
|
+
"green",
|
|
947
|
+
"red",
|
|
948
|
+
"purple"
|
|
949
|
+
],
|
|
950
|
+
"SIZE_DEFAULT": "default",
|
|
951
|
+
"SIZE_MAPPINGS": {
|
|
952
|
+
"default": "",
|
|
953
|
+
"small": "State--small"
|
|
954
|
+
},
|
|
955
|
+
"SIZE_OPTIONS": [
|
|
956
|
+
"default",
|
|
957
|
+
"small"
|
|
958
|
+
],
|
|
959
|
+
"TAG_DEFAULT": "span",
|
|
960
|
+
"TAG_OPTIONS": [
|
|
961
|
+
"span",
|
|
962
|
+
"div"
|
|
963
|
+
]
|
|
964
|
+
},
|
|
965
|
+
"Primer::Beta::Subhead": {
|
|
966
|
+
"DEFAULT_HEADING_TAG": "div",
|
|
967
|
+
"HEADING_TAG_OPTIONS": [
|
|
968
|
+
"div",
|
|
969
|
+
"h1",
|
|
970
|
+
"h2",
|
|
971
|
+
"h3",
|
|
972
|
+
"h4",
|
|
973
|
+
"h5",
|
|
974
|
+
"h6"
|
|
975
|
+
]
|
|
976
|
+
},
|
|
915
977
|
"Primer::Beta::Text": {
|
|
916
978
|
"DEFAULT_TAG": "span"
|
|
917
979
|
},
|
|
980
|
+
"Primer::Beta::TimelineItem": {
|
|
981
|
+
"Badge": "Primer::Beta::TimelineItem::Badge"
|
|
982
|
+
},
|
|
983
|
+
"Primer::Beta::TimelineItem::Badge": {
|
|
984
|
+
},
|
|
918
985
|
"Primer::Beta::Truncate": {
|
|
919
986
|
"TruncateText": "Primer::Beta::Truncate::TruncateText"
|
|
920
987
|
},
|
|
@@ -1056,71 +1123,14 @@
|
|
|
1056
1123
|
"Primer::SpinnerComponent": {
|
|
1057
1124
|
},
|
|
1058
1125
|
"Primer::StateComponent": {
|
|
1059
|
-
"DEPRECATED_SCHEME_MAPPINGS": {
|
|
1060
|
-
"default": "",
|
|
1061
|
-
"green": "State--open",
|
|
1062
|
-
"red": "State--closed",
|
|
1063
|
-
"purple": "State--merged"
|
|
1064
|
-
},
|
|
1065
|
-
"NEW_SCHEME_MAPPINGS": {
|
|
1066
|
-
"open": "State--open",
|
|
1067
|
-
"closed": "State--closed",
|
|
1068
|
-
"merged": "State--merged"
|
|
1069
|
-
},
|
|
1070
|
-
"SCHEME_DEFAULT": "default",
|
|
1071
|
-
"SCHEME_MAPPINGS": {
|
|
1072
|
-
"open": "State--open",
|
|
1073
|
-
"closed": "State--closed",
|
|
1074
|
-
"merged": "State--merged",
|
|
1075
|
-
"default": "",
|
|
1076
|
-
"green": "State--open",
|
|
1077
|
-
"red": "State--closed",
|
|
1078
|
-
"purple": "State--merged"
|
|
1079
|
-
},
|
|
1080
|
-
"SCHEME_OPTIONS": [
|
|
1081
|
-
"open",
|
|
1082
|
-
"closed",
|
|
1083
|
-
"merged",
|
|
1084
|
-
"default",
|
|
1085
|
-
"green",
|
|
1086
|
-
"red",
|
|
1087
|
-
"purple"
|
|
1088
|
-
],
|
|
1089
|
-
"SIZE_DEFAULT": "default",
|
|
1090
|
-
"SIZE_MAPPINGS": {
|
|
1091
|
-
"default": "",
|
|
1092
|
-
"small": "State--small"
|
|
1093
|
-
},
|
|
1094
|
-
"SIZE_OPTIONS": [
|
|
1095
|
-
"default",
|
|
1096
|
-
"small"
|
|
1097
|
-
],
|
|
1098
|
-
"TAG_DEFAULT": "span",
|
|
1099
|
-
"TAG_OPTIONS": [
|
|
1100
|
-
"span",
|
|
1101
|
-
"div"
|
|
1102
|
-
]
|
|
1103
1126
|
},
|
|
1104
1127
|
"Primer::SubheadComponent": {
|
|
1105
|
-
"DEFAULT_HEADING_TAG": "div",
|
|
1106
|
-
"HEADING_TAG_OPTIONS": [
|
|
1107
|
-
"div",
|
|
1108
|
-
"h1",
|
|
1109
|
-
"h2",
|
|
1110
|
-
"h3",
|
|
1111
|
-
"h4",
|
|
1112
|
-
"h5",
|
|
1113
|
-
"h6"
|
|
1114
|
-
]
|
|
1115
1128
|
},
|
|
1116
1129
|
"Primer::TabContainerComponent": {
|
|
1117
1130
|
},
|
|
1118
1131
|
"Primer::TimeAgoComponent": {
|
|
1119
1132
|
},
|
|
1120
1133
|
"Primer::TimelineItemComponent": {
|
|
1121
|
-
"BadgeComponent": "Primer::TimelineItemComponent::BadgeComponent"
|
|
1122
|
-
},
|
|
1123
|
-
"Primer::TimelineItemComponent::BadgeComponent": {
|
|
1124
1134
|
},
|
|
1125
1135
|
"Primer::Tooltip": {
|
|
1126
1136
|
"ALIGN_DEFAULT": "default",
|
package/static/statuses.json
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"Primer::Alpha::Dropdown": "alpha",
|
|
15
15
|
"Primer::Alpha::Dropdown::Menu": "alpha",
|
|
16
16
|
"Primer::Alpha::Dropdown::Menu::Item": "alpha",
|
|
17
|
+
"Primer::Alpha::HellipButton": "alpha",
|
|
17
18
|
"Primer::Alpha::HiddenTextExpander": "alpha",
|
|
18
19
|
"Primer::Alpha::Image": "alpha",
|
|
19
20
|
"Primer::Alpha::ImageCrop": "alpha",
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
"Primer::Alpha::OcticonSymbols": "alpha",
|
|
28
29
|
"Primer::Alpha::SegmentedControl": "alpha",
|
|
29
30
|
"Primer::Alpha::SegmentedControl::Item": "alpha",
|
|
31
|
+
"Primer::Alpha::TabContainer": "alpha",
|
|
30
32
|
"Primer::Alpha::TabNav": "alpha",
|
|
31
33
|
"Primer::Alpha::TabPanels": "alpha",
|
|
32
34
|
"Primer::Alpha::TextField": "alpha",
|
|
@@ -62,7 +64,11 @@
|
|
|
62
64
|
"Primer::Beta::ProgressBar": "beta",
|
|
63
65
|
"Primer::Beta::RelativeTime": "beta",
|
|
64
66
|
"Primer::Beta::Spinner": "beta",
|
|
67
|
+
"Primer::Beta::State": "beta",
|
|
68
|
+
"Primer::Beta::Subhead": "beta",
|
|
65
69
|
"Primer::Beta::Text": "beta",
|
|
70
|
+
"Primer::Beta::TimelineItem": "beta",
|
|
71
|
+
"Primer::Beta::TimelineItem::Badge": "beta",
|
|
66
72
|
"Primer::Beta::Truncate": "beta",
|
|
67
73
|
"Primer::Beta::Truncate::TruncateText": "alpha",
|
|
68
74
|
"Primer::BlankslateComponent": "deprecated",
|
|
@@ -76,7 +82,7 @@
|
|
|
76
82
|
"Primer::Dropdown::Menu": "deprecated",
|
|
77
83
|
"Primer::Dropdown::Menu::Item": "deprecated",
|
|
78
84
|
"Primer::DropdownMenuComponent": "deprecated",
|
|
79
|
-
"Primer::HellipButton": "
|
|
85
|
+
"Primer::HellipButton": "deprecated",
|
|
80
86
|
"Primer::IconButton": "deprecated",
|
|
81
87
|
"Primer::LabelComponent": "deprecated",
|
|
82
88
|
"Primer::LayoutComponent": "alpha",
|
|
@@ -89,12 +95,11 @@
|
|
|
89
95
|
"Primer::OcticonSymbolsComponent": "deprecated",
|
|
90
96
|
"Primer::PopoverComponent": "deprecated",
|
|
91
97
|
"Primer::SpinnerComponent": "deprecated",
|
|
92
|
-
"Primer::StateComponent": "
|
|
93
|
-
"Primer::SubheadComponent": "
|
|
94
|
-
"Primer::TabContainerComponent": "
|
|
98
|
+
"Primer::StateComponent": "deprecated",
|
|
99
|
+
"Primer::SubheadComponent": "deprecated",
|
|
100
|
+
"Primer::TabContainerComponent": "deprecated",
|
|
95
101
|
"Primer::TimeAgoComponent": "deprecated",
|
|
96
|
-
"Primer::TimelineItemComponent": "
|
|
97
|
-
"Primer::TimelineItemComponent::BadgeComponent": "alpha",
|
|
102
|
+
"Primer::TimelineItemComponent": "deprecated",
|
|
98
103
|
"Primer::Tooltip": "deprecated",
|
|
99
104
|
"Primer::Truncate": "beta"
|
|
100
105
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"state_component","selectors":[".State",".state",".State--draft",".State--open",".State--merged",".State--closed",".State--small",".State--small .octicon"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"subhead_component","selectors":[".Subhead",".Subhead--spacious",".Subhead-heading",".Subhead-heading--danger",".Subhead-description",".Subhead-actions",".Subhead-actions+.Subhead-description"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"timeline_item_component","selectors":[".TimelineItem",".TimelineItem:before",".TimelineItem:target .TimelineItem-badge",".TimelineItem-badge",".TimelineItem-badge--success",".TimelineItem-body",".TimelineItem-avatar",".TimelineItem-break",".TimelineItem--condensed",".TimelineItem--condensed:last-child",".TimelineItem--condensed .TimelineItem-badge"]}
|