@primer/view-components 0.1.0-rc.d6eb7cd7 → 0.1.0
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.json +164 -1
- package/app/components/primer/alpha/auto_complete.css.json +34 -1
- package/app/components/primer/alpha/banner.css.json +38 -1
- package/app/components/primer/alpha/button_marketing.css.json +43 -1
- package/app/components/primer/alpha/dialog.css.json +145 -1
- package/app/components/primer/alpha/dropdown.css.json +61 -1
- package/app/components/primer/alpha/layout.css.json +107 -1
- package/app/components/primer/alpha/menu.css.json +39 -1
- package/app/components/primer/alpha/modal_dialog.js +2 -0
- package/app/components/primer/alpha/nav_list.d.ts +6 -3
- package/app/components/primer/alpha/nav_list.js +98 -6
- package/app/components/primer/alpha/overlay.css +1 -0
- package/app/components/primer/alpha/overlay.css.json +11 -0
- package/app/components/primer/alpha/segmented_control.css +1 -1
- package/app/components/primer/alpha/segmented_control.css.json +46 -1
- package/app/components/primer/alpha/tab_nav.css.json +34 -1
- package/app/components/primer/alpha/text_field.css +2 -2
- package/app/components/primer/alpha/text_field.css.json +172 -1
- package/app/components/primer/alpha/toggle_switch.css +1 -1
- package/app/components/primer/alpha/toggle_switch.css.json +56 -1
- package/app/components/primer/alpha/toggle_switch.js +23 -11
- package/app/components/primer/alpha/tool_tip.js +0 -3
- package/app/components/primer/alpha/underline_nav.css.json +41 -1
- package/app/components/primer/anchored_position.d.ts +27 -0
- package/app/components/primer/anchored_position.js +149 -0
- package/app/components/primer/beta/avatar.css.json +31 -1
- package/app/components/primer/beta/avatar_stack.css.json +37 -1
- package/app/components/primer/beta/blankslate.css.json +34 -1
- package/app/components/primer/beta/border_box.css.json +86 -1
- package/app/components/primer/beta/breadcrumbs.css.json +15 -1
- package/app/components/primer/beta/button.css +1 -1
- package/app/components/primer/beta/button.css.json +93 -1
- package/app/components/primer/beta/counter.css.json +16 -1
- package/app/components/primer/beta/flash.css.json +42 -1
- package/app/components/primer/beta/label.css.json +45 -1
- package/app/components/primer/beta/link.css.json +27 -1
- package/app/components/primer/beta/popover.css.json +57 -1
- package/app/components/primer/beta/progress_bar.css.json +16 -1
- package/app/components/primer/beta/state.css.json +23 -1
- package/app/components/primer/beta/subhead.css.json +20 -1
- package/app/components/primer/beta/timeline_item.css.json +25 -1
- package/app/components/primer/beta/truncate.css.json +18 -1
- package/app/components/primer/primer.d.ts +4 -2
- package/app/components/primer/primer.js +4 -2
- package/app/components/primer/truncate.css.json +20 -1
- package/lib/primer/forms/toggle_switch_input.d.ts +5 -0
- package/lib/primer/forms/toggle_switch_input.js +29 -0
- package/package.json +4 -2
- package/static/arguments.json +1416 -1402
- package/static/audited_at.json +16 -24
- package/static/classes.json +311 -0
- package/static/constants.json +129 -71
- package/static/previews.json +1833 -0
- package/static/statuses.json +14 -22
- package/app/components/primer/time_ago_component.d.ts +0 -1
- package/app/components/primer/time_ago_component.js +0 -1
- /package/app/components/primer/{local_time.d.ts → beta/relative_time.d.ts} +0 -0
- /package/app/components/primer/{local_time.js → beta/relative_time.js} +0 -0
package/static/audited_at.json
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
"Primer::Alpha::AutoComplete::Item": "",
|
|
8
8
|
"Primer::Alpha::Banner": "",
|
|
9
9
|
"Primer::Alpha::ButtonMarketing": "",
|
|
10
|
+
"Primer::Alpha::CheckBox": "",
|
|
11
|
+
"Primer::Alpha::CheckBoxGroup": "",
|
|
10
12
|
"Primer::Alpha::Dialog": "2022-10-10",
|
|
11
13
|
"Primer::Alpha::Dialog::Body": "2022-10-10",
|
|
12
14
|
"Primer::Alpha::Dialog::Footer": "2022-10-10",
|
|
@@ -14,6 +16,8 @@
|
|
|
14
16
|
"Primer::Alpha::Dropdown": "",
|
|
15
17
|
"Primer::Alpha::Dropdown::Menu": "",
|
|
16
18
|
"Primer::Alpha::Dropdown::Menu::Item": "",
|
|
19
|
+
"Primer::Alpha::FormButton": "",
|
|
20
|
+
"Primer::Alpha::FormControl": "",
|
|
17
21
|
"Primer::Alpha::HellipButton": "",
|
|
18
22
|
"Primer::Alpha::HiddenTextExpander": "",
|
|
19
23
|
"Primer::Alpha::Image": "",
|
|
@@ -22,15 +26,25 @@
|
|
|
22
26
|
"Primer::Alpha::Layout::Main": "",
|
|
23
27
|
"Primer::Alpha::Layout::Sidebar": "",
|
|
24
28
|
"Primer::Alpha::Menu": "",
|
|
29
|
+
"Primer::Alpha::MultiInput": "",
|
|
25
30
|
"Primer::Alpha::NavList": "",
|
|
26
31
|
"Primer::Alpha::NavList::Item": "",
|
|
27
32
|
"Primer::Alpha::NavList::Section": "",
|
|
28
33
|
"Primer::Alpha::OcticonSymbols": "",
|
|
29
|
-
"Primer::Alpha::
|
|
30
|
-
"Primer::Alpha::
|
|
34
|
+
"Primer::Alpha::Overlay": "",
|
|
35
|
+
"Primer::Alpha::Overlay::Body": "",
|
|
36
|
+
"Primer::Alpha::Overlay::Footer": "",
|
|
37
|
+
"Primer::Alpha::Overlay::Header": "",
|
|
38
|
+
"Primer::Alpha::RadioButton": "",
|
|
39
|
+
"Primer::Alpha::RadioButtonGroup": "",
|
|
40
|
+
"Primer::Alpha::SegmentedControl": "2023-02-01",
|
|
41
|
+
"Primer::Alpha::SegmentedControl::Item": "2023-02-01",
|
|
42
|
+
"Primer::Alpha::Select": "",
|
|
43
|
+
"Primer::Alpha::SubmitButton": "",
|
|
31
44
|
"Primer::Alpha::TabContainer": "",
|
|
32
45
|
"Primer::Alpha::TabNav": "",
|
|
33
46
|
"Primer::Alpha::TabPanels": "",
|
|
47
|
+
"Primer::Alpha::TextArea": "",
|
|
34
48
|
"Primer::Alpha::TextField": "",
|
|
35
49
|
"Primer::Alpha::ToggleSwitch": "",
|
|
36
50
|
"Primer::Alpha::Tooltip": "",
|
|
@@ -73,34 +87,12 @@
|
|
|
73
87
|
"Primer::Beta::Truncate::TruncateText": "",
|
|
74
88
|
"Primer::BlankslateComponent": "",
|
|
75
89
|
"Primer::Box": "",
|
|
76
|
-
"Primer::BoxComponent": "",
|
|
77
90
|
"Primer::ButtonComponent": "",
|
|
78
|
-
"Primer::ClipboardCopy": "",
|
|
79
91
|
"Primer::ConditionalWrapper": "",
|
|
80
92
|
"Primer::Content": "",
|
|
81
|
-
"Primer::Dropdown": "",
|
|
82
|
-
"Primer::Dropdown::Menu": "",
|
|
83
|
-
"Primer::Dropdown::Menu::Item": "",
|
|
84
|
-
"Primer::DropdownMenuComponent": "",
|
|
85
|
-
"Primer::HellipButton": "",
|
|
86
93
|
"Primer::IconButton": "",
|
|
87
|
-
"Primer::LabelComponent": "",
|
|
88
94
|
"Primer::LayoutComponent": "",
|
|
89
|
-
"Primer::LinkComponent": "",
|
|
90
|
-
"Primer::LocalTime": "",
|
|
91
|
-
"Primer::Markdown": "",
|
|
92
|
-
"Primer::MenuComponent": "",
|
|
93
95
|
"Primer::Navigation::TabComponent": "",
|
|
94
|
-
"Primer::OcticonComponent": "",
|
|
95
|
-
"Primer::OcticonSymbolsComponent": "",
|
|
96
|
-
"Primer::PopoverComponent": "",
|
|
97
|
-
"Primer::SpinnerComponent": "",
|
|
98
|
-
"Primer::StateComponent": "",
|
|
99
|
-
"Primer::SubheadComponent": "",
|
|
100
|
-
"Primer::TabContainerComponent": "",
|
|
101
|
-
"Primer::TimeAgoComponent": "",
|
|
102
|
-
"Primer::TimelineItemComponent": "",
|
|
103
|
-
"Primer::TimelineItemComponent::BadgeComponent": "",
|
|
104
96
|
"Primer::Tooltip": "",
|
|
105
97
|
"Primer::Truncate": ""
|
|
106
98
|
}
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
[
|
|
2
|
+
"ActionList--subGroup",
|
|
3
|
+
"ActionList-sectionDivider",
|
|
4
|
+
"ActionList-sectionDivider--filled",
|
|
5
|
+
"ActionList-sectionDivider-title",
|
|
6
|
+
"ActionListContent",
|
|
7
|
+
"ActionListContent--blockDescription",
|
|
8
|
+
"ActionListContent--hasActiveSubItem",
|
|
9
|
+
"ActionListContent--sizeLarge",
|
|
10
|
+
"ActionListContent--sizeXLarge",
|
|
11
|
+
"ActionListContent--visual16",
|
|
12
|
+
"ActionListContent--visual20",
|
|
13
|
+
"ActionListContent--visual24",
|
|
14
|
+
"ActionListItem",
|
|
15
|
+
"ActionListItem--danger",
|
|
16
|
+
"ActionListItem--hasSubItem",
|
|
17
|
+
"ActionListItem--navActive",
|
|
18
|
+
"ActionListItem--subItem",
|
|
19
|
+
"ActionListItem--trailingActionHover",
|
|
20
|
+
"ActionListItem--withActions",
|
|
21
|
+
"ActionListItem-action",
|
|
22
|
+
"ActionListItem-action--leading",
|
|
23
|
+
"ActionListItem-action--trailing",
|
|
24
|
+
"ActionListItem-collapseIcon",
|
|
25
|
+
"ActionListItem-description",
|
|
26
|
+
"ActionListItem-descriptionWrap",
|
|
27
|
+
"ActionListItem-descriptionWrap--inline",
|
|
28
|
+
"ActionListItem-label",
|
|
29
|
+
"ActionListItem-label--truncate",
|
|
30
|
+
"ActionListItem-multiSelectCheckmark",
|
|
31
|
+
"ActionListItem-multiSelectIcon",
|
|
32
|
+
"ActionListItem-multiSelectIconRect",
|
|
33
|
+
"ActionListItem-singleSelectCheckmark",
|
|
34
|
+
"ActionListItem-trailingAction",
|
|
35
|
+
"ActionListItem-visual",
|
|
36
|
+
"ActionListItem-visual--leading",
|
|
37
|
+
"ActionListItem-visual--trailing",
|
|
38
|
+
"ActionListWrap",
|
|
39
|
+
"ActionListWrap--divided",
|
|
40
|
+
"ActionListWrap--inset",
|
|
41
|
+
"AvatarStack",
|
|
42
|
+
"AvatarStack--right",
|
|
43
|
+
"AvatarStack--three-plus",
|
|
44
|
+
"AvatarStack--two",
|
|
45
|
+
"AvatarStack-body",
|
|
46
|
+
"Banner",
|
|
47
|
+
"Banner--error",
|
|
48
|
+
"Banner--full",
|
|
49
|
+
"Banner--full-whenNarrow",
|
|
50
|
+
"Banner--success",
|
|
51
|
+
"Banner--warning",
|
|
52
|
+
"Banner-actions",
|
|
53
|
+
"Banner-close",
|
|
54
|
+
"Banner-message",
|
|
55
|
+
"Banner-title",
|
|
56
|
+
"Banner-visual",
|
|
57
|
+
"Box",
|
|
58
|
+
"Box--blue",
|
|
59
|
+
"Box--condensed",
|
|
60
|
+
"Box--danger",
|
|
61
|
+
"Box--scrollable",
|
|
62
|
+
"Box--spacious",
|
|
63
|
+
"Box-body",
|
|
64
|
+
"Box-btn-octicon",
|
|
65
|
+
"Box-footer",
|
|
66
|
+
"Box-header",
|
|
67
|
+
"Box-header--blue",
|
|
68
|
+
"Box-row",
|
|
69
|
+
"Box-row--blue",
|
|
70
|
+
"Box-row--drag-button",
|
|
71
|
+
"Box-row--drag-hide",
|
|
72
|
+
"Box-row--focus-blue",
|
|
73
|
+
"Box-row--focus-gray",
|
|
74
|
+
"Box-row--gray",
|
|
75
|
+
"Box-row--hover-blue",
|
|
76
|
+
"Box-row--hover-gray",
|
|
77
|
+
"Box-row--unread",
|
|
78
|
+
"Box-row--yellow",
|
|
79
|
+
"Box-row-link",
|
|
80
|
+
"Box-title",
|
|
81
|
+
"Button",
|
|
82
|
+
"Button--danger",
|
|
83
|
+
"Button--fullWidth",
|
|
84
|
+
"Button--iconOnly",
|
|
85
|
+
"Button--invisible",
|
|
86
|
+
"Button--invisible-noVisuals",
|
|
87
|
+
"Button--large",
|
|
88
|
+
"Button--link",
|
|
89
|
+
"Button--medium",
|
|
90
|
+
"Button--primary",
|
|
91
|
+
"Button--secondary",
|
|
92
|
+
"Button--small",
|
|
93
|
+
"Button-content",
|
|
94
|
+
"Button-content--alignStart",
|
|
95
|
+
"Button-label",
|
|
96
|
+
"Button-leadingVisual",
|
|
97
|
+
"Button-trailingAction",
|
|
98
|
+
"Button-trailingVisual",
|
|
99
|
+
"Button-visual",
|
|
100
|
+
"Button-withTooltip",
|
|
101
|
+
"Counter",
|
|
102
|
+
"Counter--primary",
|
|
103
|
+
"Counter--secondary",
|
|
104
|
+
"FormControl",
|
|
105
|
+
"FormControl--fullWidth",
|
|
106
|
+
"FormControl-caption",
|
|
107
|
+
"FormControl-check-group-wrap",
|
|
108
|
+
"FormControl-checkbox",
|
|
109
|
+
"FormControl-checkbox-labelWrap",
|
|
110
|
+
"FormControl-checkbox-wrap",
|
|
111
|
+
"FormControl-error",
|
|
112
|
+
"FormControl-horizontalGroup",
|
|
113
|
+
"FormControl-inlineValidation",
|
|
114
|
+
"FormControl-input",
|
|
115
|
+
"FormControl-input-leadingVisual",
|
|
116
|
+
"FormControl-input-leadingVisualWrap",
|
|
117
|
+
"FormControl-input-trailingAction",
|
|
118
|
+
"FormControl-input-trailingAction--divider",
|
|
119
|
+
"FormControl-input-wrap",
|
|
120
|
+
"FormControl-input-wrap--leadingVisual",
|
|
121
|
+
"FormControl-input-wrap--trailingAction",
|
|
122
|
+
"FormControl-input-wrap-trailingAction--divider",
|
|
123
|
+
"FormControl-inset",
|
|
124
|
+
"FormControl-label",
|
|
125
|
+
"FormControl-large",
|
|
126
|
+
"FormControl-medium",
|
|
127
|
+
"FormControl-monospace",
|
|
128
|
+
"FormControl-radio",
|
|
129
|
+
"FormControl-radio-group-wrap",
|
|
130
|
+
"FormControl-radio-labelWrap",
|
|
131
|
+
"FormControl-radio-wrap",
|
|
132
|
+
"FormControl-select",
|
|
133
|
+
"FormControl-select-wrap",
|
|
134
|
+
"FormControl-small",
|
|
135
|
+
"FormControl-spacingWrapper",
|
|
136
|
+
"FormControl-success",
|
|
137
|
+
"FormControl-textarea",
|
|
138
|
+
"FormControl-toggleSwitchInput",
|
|
139
|
+
"FormControl-warning",
|
|
140
|
+
"Label",
|
|
141
|
+
"Label--accent",
|
|
142
|
+
"Label--attention",
|
|
143
|
+
"Label--closed",
|
|
144
|
+
"Label--danger",
|
|
145
|
+
"Label--done",
|
|
146
|
+
"Label--info",
|
|
147
|
+
"Label--inline",
|
|
148
|
+
"Label--large",
|
|
149
|
+
"Label--open",
|
|
150
|
+
"Label--primary",
|
|
151
|
+
"Label--secondary",
|
|
152
|
+
"Label--severe",
|
|
153
|
+
"Label--sponsors",
|
|
154
|
+
"Label--success",
|
|
155
|
+
"Label--warning",
|
|
156
|
+
"Layout",
|
|
157
|
+
"Layout--divided",
|
|
158
|
+
"Layout--flowRow-until-lg",
|
|
159
|
+
"Layout--flowRow-until-md",
|
|
160
|
+
"Layout--gutter-condensed",
|
|
161
|
+
"Layout--gutter-none",
|
|
162
|
+
"Layout--gutter-spacious",
|
|
163
|
+
"Layout--sidebar-narrow",
|
|
164
|
+
"Layout--sidebar-wide",
|
|
165
|
+
"Layout--sidebarPosition-end",
|
|
166
|
+
"Layout--sidebarPosition-flowRow-end",
|
|
167
|
+
"Layout--sidebarPosition-flowRow-none",
|
|
168
|
+
"Layout--sidebarPosition-flowRow-start",
|
|
169
|
+
"Layout--sidebarPosition-start",
|
|
170
|
+
"Layout-divider",
|
|
171
|
+
"Layout-divider--flowRow-hidden",
|
|
172
|
+
"Layout-divider--flowRow-shallow",
|
|
173
|
+
"Layout-main",
|
|
174
|
+
"Layout-main-centered-lg",
|
|
175
|
+
"Layout-main-centered-md",
|
|
176
|
+
"Layout-main-centered-xl",
|
|
177
|
+
"Layout-sidebar",
|
|
178
|
+
"Link",
|
|
179
|
+
"Link--muted",
|
|
180
|
+
"Link--onHover",
|
|
181
|
+
"Link--primary",
|
|
182
|
+
"Link--secondary",
|
|
183
|
+
"Overlay",
|
|
184
|
+
"Overlay--height-auto",
|
|
185
|
+
"Overlay--height-large",
|
|
186
|
+
"Overlay--height-medium",
|
|
187
|
+
"Overlay--height-small",
|
|
188
|
+
"Overlay--height-xlarge",
|
|
189
|
+
"Overlay--height-xsmall",
|
|
190
|
+
"Overlay--hidden",
|
|
191
|
+
"Overlay--motion-scaleFade",
|
|
192
|
+
"Overlay--size-auto",
|
|
193
|
+
"Overlay--size-full",
|
|
194
|
+
"Overlay--size-large",
|
|
195
|
+
"Overlay--size-medium",
|
|
196
|
+
"Overlay--size-medium-portrait",
|
|
197
|
+
"Overlay--size-small",
|
|
198
|
+
"Overlay--size-small-portrait",
|
|
199
|
+
"Overlay--size-xlarge",
|
|
200
|
+
"Overlay--size-xsmall",
|
|
201
|
+
"Overlay--visibilityHidden",
|
|
202
|
+
"Overlay--width-auto",
|
|
203
|
+
"Overlay--width-large",
|
|
204
|
+
"Overlay--width-medium",
|
|
205
|
+
"Overlay--width-small",
|
|
206
|
+
"Overlay--width-xlarge",
|
|
207
|
+
"Overlay--width-xxlarge",
|
|
208
|
+
"Overlay-actionWrap",
|
|
209
|
+
"Overlay-backdrop--anchor",
|
|
210
|
+
"Overlay-backdrop--anchor-whenNarrow",
|
|
211
|
+
"Overlay-backdrop--center",
|
|
212
|
+
"Overlay-backdrop--center-whenNarrow",
|
|
213
|
+
"Overlay-backdrop--full",
|
|
214
|
+
"Overlay-backdrop--full-whenNarrow",
|
|
215
|
+
"Overlay-backdrop--placement-bottom",
|
|
216
|
+
"Overlay-backdrop--placement-bottom-whenNarrow",
|
|
217
|
+
"Overlay-backdrop--placement-left",
|
|
218
|
+
"Overlay-backdrop--placement-left-whenNarrow",
|
|
219
|
+
"Overlay-backdrop--placement-right",
|
|
220
|
+
"Overlay-backdrop--placement-right-whenNarrow",
|
|
221
|
+
"Overlay-backdrop--placement-top",
|
|
222
|
+
"Overlay-backdrop--placement-top-whenNarrow",
|
|
223
|
+
"Overlay-backdrop--side",
|
|
224
|
+
"Overlay-backdrop--side-whenNarrow",
|
|
225
|
+
"Overlay-body",
|
|
226
|
+
"Overlay-body--paddingCondensed",
|
|
227
|
+
"Overlay-body--paddingNone",
|
|
228
|
+
"Overlay-closeButton",
|
|
229
|
+
"Overlay-description",
|
|
230
|
+
"Overlay-footer",
|
|
231
|
+
"Overlay-footer--alignCenter",
|
|
232
|
+
"Overlay-footer--alignEnd",
|
|
233
|
+
"Overlay-footer--alignStart",
|
|
234
|
+
"Overlay-footer--divided",
|
|
235
|
+
"Overlay-form",
|
|
236
|
+
"Overlay-header",
|
|
237
|
+
"Overlay-header--divided",
|
|
238
|
+
"Overlay-header--large",
|
|
239
|
+
"Overlay-headerContentWrap",
|
|
240
|
+
"Overlay-title",
|
|
241
|
+
"Overlay-titleWrap",
|
|
242
|
+
"Overlay-whenNarrow",
|
|
243
|
+
"Popover",
|
|
244
|
+
"Popover-message",
|
|
245
|
+
"Popover-message--bottom",
|
|
246
|
+
"Popover-message--bottom-left",
|
|
247
|
+
"Popover-message--bottom-right",
|
|
248
|
+
"Popover-message--large",
|
|
249
|
+
"Popover-message--left",
|
|
250
|
+
"Popover-message--left-bottom",
|
|
251
|
+
"Popover-message--left-top",
|
|
252
|
+
"Popover-message--no-caret",
|
|
253
|
+
"Popover-message--right",
|
|
254
|
+
"Popover-message--right-bottom",
|
|
255
|
+
"Popover-message--right-top",
|
|
256
|
+
"Popover-message--top-left",
|
|
257
|
+
"Popover-message--top-right",
|
|
258
|
+
"Progress",
|
|
259
|
+
"Progress--large",
|
|
260
|
+
"Progress--small",
|
|
261
|
+
"Progress-item",
|
|
262
|
+
"SegmentedControl",
|
|
263
|
+
"SegmentedControl--fullWidth",
|
|
264
|
+
"SegmentedControl-item",
|
|
265
|
+
"SegmentedControl-item--selected",
|
|
266
|
+
"State",
|
|
267
|
+
"State--closed",
|
|
268
|
+
"State--draft",
|
|
269
|
+
"State--merged",
|
|
270
|
+
"State--open",
|
|
271
|
+
"State--small",
|
|
272
|
+
"Subhead",
|
|
273
|
+
"Subhead--spacious",
|
|
274
|
+
"Subhead-actions",
|
|
275
|
+
"Subhead-description",
|
|
276
|
+
"Subhead-heading",
|
|
277
|
+
"Subhead-heading--danger",
|
|
278
|
+
"TimelineItem",
|
|
279
|
+
"TimelineItem--condensed",
|
|
280
|
+
"TimelineItem-avatar",
|
|
281
|
+
"TimelineItem-badge",
|
|
282
|
+
"TimelineItem-badge--success",
|
|
283
|
+
"TimelineItem-body",
|
|
284
|
+
"TimelineItem-break",
|
|
285
|
+
"ToggleSwitch",
|
|
286
|
+
"ToggleSwitch--checked",
|
|
287
|
+
"ToggleSwitch--disabled",
|
|
288
|
+
"ToggleSwitch--small",
|
|
289
|
+
"ToggleSwitch--statusAtEnd",
|
|
290
|
+
"ToggleSwitch-circleIcon",
|
|
291
|
+
"ToggleSwitch-icons",
|
|
292
|
+
"ToggleSwitch-knob",
|
|
293
|
+
"ToggleSwitch-lineIcon",
|
|
294
|
+
"ToggleSwitch-status",
|
|
295
|
+
"ToggleSwitch-statusIcon",
|
|
296
|
+
"ToggleSwitch-statusOff",
|
|
297
|
+
"ToggleSwitch-statusOn",
|
|
298
|
+
"ToggleSwitch-track",
|
|
299
|
+
"Truncate",
|
|
300
|
+
"Truncate-text",
|
|
301
|
+
"Truncate-text--expandable",
|
|
302
|
+
"Truncate-text--primary",
|
|
303
|
+
"UnderlineNav",
|
|
304
|
+
"UnderlineNav--full",
|
|
305
|
+
"UnderlineNav--right",
|
|
306
|
+
"UnderlineNav-actions",
|
|
307
|
+
"UnderlineNav-body",
|
|
308
|
+
"UnderlineNav-container",
|
|
309
|
+
"UnderlineNav-item",
|
|
310
|
+
"UnderlineNav-octicon"
|
|
311
|
+
]
|
package/static/constants.json
CHANGED
|
@@ -127,6 +127,10 @@
|
|
|
127
127
|
"large"
|
|
128
128
|
]
|
|
129
129
|
},
|
|
130
|
+
"Primer::Alpha::CheckBox": {
|
|
131
|
+
},
|
|
132
|
+
"Primer::Alpha::CheckBoxGroup": {
|
|
133
|
+
},
|
|
130
134
|
"Primer::Alpha::Dialog": {
|
|
131
135
|
"Body": "Primer::Alpha::Dialog::Body",
|
|
132
136
|
"DEFAULT_POSITION": "center",
|
|
@@ -218,6 +222,10 @@
|
|
|
218
222
|
"summary"
|
|
219
223
|
]
|
|
220
224
|
},
|
|
225
|
+
"Primer::Alpha::FormButton": {
|
|
226
|
+
},
|
|
227
|
+
"Primer::Alpha::FormControl": {
|
|
228
|
+
},
|
|
221
229
|
"Primer::Alpha::HellipButton": {
|
|
222
230
|
},
|
|
223
231
|
"Primer::Alpha::HiddenTextExpander": {
|
|
@@ -315,6 +323,8 @@
|
|
|
315
323
|
"h6"
|
|
316
324
|
]
|
|
317
325
|
},
|
|
326
|
+
"Primer::Alpha::MultiInput": {
|
|
327
|
+
},
|
|
318
328
|
"Primer::Alpha::NavList": {
|
|
319
329
|
"Item": "Primer::Alpha::NavList::Item",
|
|
320
330
|
"Section": "Primer::Alpha::NavList::Section"
|
|
@@ -325,6 +335,112 @@
|
|
|
325
335
|
},
|
|
326
336
|
"Primer::Alpha::OcticonSymbols": {
|
|
327
337
|
},
|
|
338
|
+
"Primer::Alpha::Overlay": {
|
|
339
|
+
"ALIGN_CONTENT_MAPPINGS": {
|
|
340
|
+
"start": "Overlay-footer--alignStart",
|
|
341
|
+
"center": "Overlay-footer--alignCenter",
|
|
342
|
+
"end": "Overlay-footer--alignEnd"
|
|
343
|
+
},
|
|
344
|
+
"ALIGN_CONTENT_OPTIONS": [
|
|
345
|
+
"start",
|
|
346
|
+
"center",
|
|
347
|
+
"end"
|
|
348
|
+
],
|
|
349
|
+
"ANCHOR_ALIGN_OPTIONS": [
|
|
350
|
+
"start",
|
|
351
|
+
"center",
|
|
352
|
+
"end"
|
|
353
|
+
],
|
|
354
|
+
"ANCHOR_OFFSET_OPTIONS": [
|
|
355
|
+
"normal",
|
|
356
|
+
"spacious"
|
|
357
|
+
],
|
|
358
|
+
"ANCHOR_SIDE_MAPPINGS": {
|
|
359
|
+
"inside_top": "inside-top",
|
|
360
|
+
"inside_bottom": "inside-bottom",
|
|
361
|
+
"inside_left": "inside-left",
|
|
362
|
+
"inside_right": "inside-right",
|
|
363
|
+
"inside_center": "inside-center",
|
|
364
|
+
"outside_top": "outside-top",
|
|
365
|
+
"outside_bottom": "outside-bottom",
|
|
366
|
+
"outside_left": "outside-left",
|
|
367
|
+
"outside_right": "outside-right"
|
|
368
|
+
},
|
|
369
|
+
"ANCHOR_SIDE_OPTIONS": [
|
|
370
|
+
"inside_top",
|
|
371
|
+
"inside_bottom",
|
|
372
|
+
"inside_left",
|
|
373
|
+
"inside_right",
|
|
374
|
+
"inside_center",
|
|
375
|
+
"outside_top",
|
|
376
|
+
"outside_bottom",
|
|
377
|
+
"outside_left",
|
|
378
|
+
"outside_right"
|
|
379
|
+
],
|
|
380
|
+
"Body": "Primer::Alpha::Overlay::Body",
|
|
381
|
+
"DEFAULT_ALIGN_CONTENT": "end",
|
|
382
|
+
"DEFAULT_ANCHOR_ALIGN": "start",
|
|
383
|
+
"DEFAULT_ANCHOR_OFFSET": "normal",
|
|
384
|
+
"DEFAULT_ANCHOR_SIDE": "outside_bottom",
|
|
385
|
+
"DEFAULT_PADDING": "normal",
|
|
386
|
+
"DEFAULT_POPOVER": "auto",
|
|
387
|
+
"DEFAULT_SIZE": "auto",
|
|
388
|
+
"Footer": "Primer::Alpha::Overlay::Footer",
|
|
389
|
+
"Header": "Primer::Alpha::Overlay::Header",
|
|
390
|
+
"PADDING_MAPPINGS": {
|
|
391
|
+
"normal": null,
|
|
392
|
+
"condensed": "Overlay-body--paddingCondensed",
|
|
393
|
+
"none": "Overlay-body--paddingNone"
|
|
394
|
+
},
|
|
395
|
+
"PADDING_OPTIONS": [
|
|
396
|
+
"normal",
|
|
397
|
+
"condensed",
|
|
398
|
+
"none"
|
|
399
|
+
],
|
|
400
|
+
"POPOVER_OPTIONS": [
|
|
401
|
+
"auto",
|
|
402
|
+
"manual"
|
|
403
|
+
],
|
|
404
|
+
"ROLE_OPTIONS": [
|
|
405
|
+
"dialog",
|
|
406
|
+
"menu"
|
|
407
|
+
],
|
|
408
|
+
"SIZE_MAPPINGS": {
|
|
409
|
+
"auto": "Overlay--size-auto",
|
|
410
|
+
"small": "Overlay--size-small",
|
|
411
|
+
"medium": "Overlay--size-medium",
|
|
412
|
+
"medium_portrait": "Overlay--size-medium-portrait",
|
|
413
|
+
"large": "Overlay--size-large",
|
|
414
|
+
"xlarge": "Overlay--size-xlarge"
|
|
415
|
+
},
|
|
416
|
+
"SIZE_OPTIONS": [
|
|
417
|
+
"auto",
|
|
418
|
+
"small",
|
|
419
|
+
"medium",
|
|
420
|
+
"medium_portrait",
|
|
421
|
+
"large",
|
|
422
|
+
"xlarge"
|
|
423
|
+
]
|
|
424
|
+
},
|
|
425
|
+
"Primer::Alpha::Overlay::Body": {
|
|
426
|
+
},
|
|
427
|
+
"Primer::Alpha::Overlay::Footer": {
|
|
428
|
+
},
|
|
429
|
+
"Primer::Alpha::Overlay::Header": {
|
|
430
|
+
"DEFAULT_SIZE": "medium",
|
|
431
|
+
"SIZE_MAPPINGS": {
|
|
432
|
+
"medium": null,
|
|
433
|
+
"large": "Overlay-header--large"
|
|
434
|
+
},
|
|
435
|
+
"SIZE_OPTIONS": [
|
|
436
|
+
"medium",
|
|
437
|
+
"large"
|
|
438
|
+
]
|
|
439
|
+
},
|
|
440
|
+
"Primer::Alpha::RadioButton": {
|
|
441
|
+
},
|
|
442
|
+
"Primer::Alpha::RadioButtonGroup": {
|
|
443
|
+
},
|
|
328
444
|
"Primer::Alpha::SegmentedControl": {
|
|
329
445
|
"FULL_WIDTH_DEFAULT": false,
|
|
330
446
|
"HIDE_LABELS_DEFAULT": false,
|
|
@@ -332,6 +448,10 @@
|
|
|
332
448
|
},
|
|
333
449
|
"Primer::Alpha::SegmentedControl::Item": {
|
|
334
450
|
},
|
|
451
|
+
"Primer::Alpha::Select": {
|
|
452
|
+
},
|
|
453
|
+
"Primer::Alpha::SubmitButton": {
|
|
454
|
+
},
|
|
335
455
|
"Primer::Alpha::TabContainer": {
|
|
336
456
|
},
|
|
337
457
|
"Primer::Alpha::TabNav": {
|
|
@@ -350,6 +470,8 @@
|
|
|
350
470
|
"div"
|
|
351
471
|
]
|
|
352
472
|
},
|
|
473
|
+
"Primer::Alpha::TextArea": {
|
|
474
|
+
},
|
|
353
475
|
"Primer::Alpha::TextField": {
|
|
354
476
|
},
|
|
355
477
|
"Primer::Alpha::ToggleSwitch": {
|
|
@@ -800,6 +922,13 @@
|
|
|
800
922
|
"micro",
|
|
801
923
|
"elapsed"
|
|
802
924
|
],
|
|
925
|
+
"FORMAT_STYLE_DEFAULT": null,
|
|
926
|
+
"FORMAT_STYLE_OPTIONS": [
|
|
927
|
+
null,
|
|
928
|
+
"long",
|
|
929
|
+
"short",
|
|
930
|
+
"narrow"
|
|
931
|
+
],
|
|
803
932
|
"HOUR_DEFAULT": null,
|
|
804
933
|
"HOUR_MAPPINGS": {
|
|
805
934
|
"": null,
|
|
@@ -993,8 +1122,6 @@
|
|
|
993
1122
|
},
|
|
994
1123
|
"Primer::Box": {
|
|
995
1124
|
},
|
|
996
|
-
"Primer::BoxComponent": {
|
|
997
|
-
},
|
|
998
1125
|
"Primer::ButtonComponent": {
|
|
999
1126
|
"DEFAULT_SCHEME": "default",
|
|
1000
1127
|
"DEFAULT_SIZE": "medium",
|
|
@@ -1024,38 +1151,10 @@
|
|
|
1024
1151
|
"medium"
|
|
1025
1152
|
]
|
|
1026
1153
|
},
|
|
1027
|
-
"Primer::ClipboardCopy": {
|
|
1028
|
-
},
|
|
1029
1154
|
"Primer::ConditionalWrapper": {
|
|
1030
1155
|
},
|
|
1031
1156
|
"Primer::Content": {
|
|
1032
1157
|
},
|
|
1033
|
-
"Primer::Dropdown": {
|
|
1034
|
-
"Menu": "Primer::Dropdown::Menu"
|
|
1035
|
-
},
|
|
1036
|
-
"Primer::Dropdown::Menu": {
|
|
1037
|
-
"Item": "Primer::Dropdown::Menu::Item"
|
|
1038
|
-
},
|
|
1039
|
-
"Primer::Dropdown::Menu::Item": {
|
|
1040
|
-
},
|
|
1041
|
-
"Primer::DropdownMenuComponent": {
|
|
1042
|
-
"DIRECTION_DEFAULT": "se",
|
|
1043
|
-
"DIRECTION_OPTIONS": [
|
|
1044
|
-
"se",
|
|
1045
|
-
"sw",
|
|
1046
|
-
"w",
|
|
1047
|
-
"e",
|
|
1048
|
-
"ne",
|
|
1049
|
-
"s"
|
|
1050
|
-
],
|
|
1051
|
-
"SCHEME_DEFAULT": "default",
|
|
1052
|
-
"SCHEME_MAPPINGS": {
|
|
1053
|
-
"default": "",
|
|
1054
|
-
"dark": "dropdown-menu-dark"
|
|
1055
|
-
}
|
|
1056
|
-
},
|
|
1057
|
-
"Primer::HellipButton": {
|
|
1058
|
-
},
|
|
1059
1158
|
"Primer::IconButton": {
|
|
1060
1159
|
"DEFAULT_SCHEME": "default",
|
|
1061
1160
|
"SCHEME_MAPPINGS": {
|
|
@@ -1067,8 +1166,6 @@
|
|
|
1067
1166
|
"danger"
|
|
1068
1167
|
]
|
|
1069
1168
|
},
|
|
1070
|
-
"Primer::LabelComponent": {
|
|
1071
|
-
},
|
|
1072
1169
|
"Primer::LayoutComponent": {
|
|
1073
1170
|
"ALLOWED_SIDEBAR_COLS": [
|
|
1074
1171
|
1,
|
|
@@ -1091,24 +1188,6 @@
|
|
|
1091
1188
|
"DEFAULT_SIDEBAR_COL": 3,
|
|
1092
1189
|
"MAX_COL": 12
|
|
1093
1190
|
},
|
|
1094
|
-
"Primer::LinkComponent": {
|
|
1095
|
-
},
|
|
1096
|
-
"Primer::LocalTime": {
|
|
1097
|
-
"DEFAULT_DIGIT_TYPE": "numeric",
|
|
1098
|
-
"DEFAULT_TEXT_TYPE": "short",
|
|
1099
|
-
"DIGIT_TYPE_OPTIONS": [
|
|
1100
|
-
"numeric",
|
|
1101
|
-
"2-digit"
|
|
1102
|
-
],
|
|
1103
|
-
"TEXT_TYPE_OPTIONS": [
|
|
1104
|
-
"short",
|
|
1105
|
-
"long"
|
|
1106
|
-
]
|
|
1107
|
-
},
|
|
1108
|
-
"Primer::Markdown": {
|
|
1109
|
-
},
|
|
1110
|
-
"Primer::MenuComponent": {
|
|
1111
|
-
},
|
|
1112
1191
|
"Primer::Navigation::TabComponent": {
|
|
1113
1192
|
"ARIA_CURRENT_OPTIONS_FOR_ANCHOR": [
|
|
1114
1193
|
true,
|
|
@@ -1116,27 +1195,6 @@
|
|
|
1116
1195
|
],
|
|
1117
1196
|
"DEFAULT_ARIA_CURRENT_FOR_ANCHOR": "page"
|
|
1118
1197
|
},
|
|
1119
|
-
"Primer::OcticonComponent": {
|
|
1120
|
-
},
|
|
1121
|
-
"Primer::OcticonSymbolsComponent": {
|
|
1122
|
-
},
|
|
1123
|
-
"Primer::PopoverComponent": {
|
|
1124
|
-
},
|
|
1125
|
-
"Primer::SpinnerComponent": {
|
|
1126
|
-
},
|
|
1127
|
-
"Primer::StateComponent": {
|
|
1128
|
-
},
|
|
1129
|
-
"Primer::SubheadComponent": {
|
|
1130
|
-
},
|
|
1131
|
-
"Primer::TabContainerComponent": {
|
|
1132
|
-
},
|
|
1133
|
-
"Primer::TimeAgoComponent": {
|
|
1134
|
-
},
|
|
1135
|
-
"Primer::TimelineItemComponent": {
|
|
1136
|
-
"BadgeComponent": "Primer::TimelineItemComponent::BadgeComponent"
|
|
1137
|
-
},
|
|
1138
|
-
"Primer::TimelineItemComponent::BadgeComponent": {
|
|
1139
|
-
},
|
|
1140
1198
|
"Primer::Tooltip": {
|
|
1141
1199
|
"ALIGN_DEFAULT": "default",
|
|
1142
1200
|
"ALIGN_MAPPING": {
|