@primer/view-components 0.0.123 → 0.0.124-rc.3a735b14

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.
Files changed (32) hide show
  1. package/app/components/primer/alpha/action_list.css.json +41 -0
  2. package/app/components/primer/alpha/auto_complete.css.json +11 -0
  3. package/app/components/primer/alpha/banner.css.json +14 -0
  4. package/app/components/primer/alpha/button_marketing.css.json +10 -0
  5. package/app/components/primer/alpha/dialog.css.json +63 -0
  6. package/app/components/primer/alpha/dropdown.css.json +21 -0
  7. package/app/components/primer/alpha/layout.css.json +27 -0
  8. package/app/components/primer/alpha/menu.css.json +11 -0
  9. package/app/components/primer/alpha/segmented_control.css.json +15 -0
  10. package/app/components/primer/alpha/tab_nav.css.json +10 -0
  11. package/app/components/primer/alpha/text_field.css.json +38 -0
  12. package/app/components/primer/alpha/toggle_switch.css.json +16 -0
  13. package/app/components/primer/alpha/underline_nav.css.json +13 -0
  14. package/app/components/primer/beta/avatar.css.json +14 -0
  15. package/app/components/primer/beta/avatar_stack.css.json +9 -0
  16. package/app/components/primer/beta/blankslate.css.json +12 -0
  17. package/app/components/primer/beta/border_box.css.json +32 -0
  18. package/app/components/primer/beta/breadcrumbs.css.json +4 -0
  19. package/app/components/primer/beta/button.css.json +22 -0
  20. package/app/components/primer/beta/counter.css.json +6 -0
  21. package/app/components/primer/beta/flash.css.json +15 -0
  22. package/app/components/primer/beta/label.css.json +20 -0
  23. package/app/components/primer/beta/link.css.json +8 -0
  24. package/app/components/primer/beta/popover.css.json +18 -0
  25. package/app/components/primer/beta/progress_bar.css.json +6 -0
  26. package/app/components/primer/beta/state.css.json +10 -0
  27. package/app/components/primer/beta/subhead.css.json +8 -0
  28. package/app/components/primer/beta/timeline_item.css.json +9 -0
  29. package/app/components/primer/beta/truncate.css.json +6 -0
  30. package/app/components/primer/truncate.css.json +7 -0
  31. package/package.json +2 -2
  32. package/static/classes.json +311 -0
@@ -119,5 +119,46 @@
119
119
  ".ActionList-sectionDivider--filled",
120
120
  ".ActionList-sectionDivider--filled:empty",
121
121
  ".ActionList-sectionDivider--filled:first-child"
122
+ ],
123
+ "classes": [
124
+ "ActionListWrap",
125
+ "ActionListWrap--inset",
126
+ "ActionListWrap--divided",
127
+ "ActionListItem-label",
128
+ "ActionListItem-descriptionWrap--inline",
129
+ "ActionList-sectionDivider",
130
+ "ActionListItem",
131
+ "ActionListItem--navActive",
132
+ "ActionListItem--hasSubItem",
133
+ "ActionListContent",
134
+ "ActionListItem-multiSelectCheckmark",
135
+ "ActionListItem-singleSelectCheckmark",
136
+ "ActionListItem-multiSelectIcon",
137
+ "ActionListItem-multiSelectIconRect",
138
+ "ActionListItem-description",
139
+ "ActionListItem-visual",
140
+ "ActionListItem--danger",
141
+ "ActionList--subGroup",
142
+ "ActionListContent--visual16",
143
+ "ActionListContent--visual20",
144
+ "ActionListContent--visual24",
145
+ "ActionListItem-collapseIcon",
146
+ "ActionListContent--hasActiveSubItem",
147
+ "ActionListContent--sizeLarge",
148
+ "ActionListContent--sizeXLarge",
149
+ "ActionListContent--blockDescription",
150
+ "ActionListItem-action--leading",
151
+ "ActionListItem-visual--leading",
152
+ "ActionListItem-visual--trailing",
153
+ "ActionListItem-action--trailing",
154
+ "ActionListItem-descriptionWrap",
155
+ "ActionListItem-action",
156
+ "ActionListItem-label--truncate",
157
+ "ActionListItem--subItem",
158
+ "ActionListItem--withActions",
159
+ "ActionListItem-trailingAction",
160
+ "ActionListItem--trailingActionHover",
161
+ "ActionList-sectionDivider-title",
162
+ "ActionList-sectionDivider--filled"
122
163
  ]
123
164
  }
@@ -19,5 +19,16 @@
19
19
  ".autocomplete-item.navigation-focus *",
20
20
  ".autocomplete-item.selected *",
21
21
  ".autocomplete-item[aria-selected=true] *"
22
+ ],
23
+ "classes": [
24
+ "autocomplete-label-stacked",
25
+ "autocomplete-label-inline",
26
+ "autocomplete-body",
27
+ "autocomplete-embedded-icon-wrap",
28
+ "form-control",
29
+ "autocomplete-results",
30
+ "autocomplete-item",
31
+ "navigation-focus",
32
+ "selected"
22
33
  ]
23
34
  }
@@ -20,5 +20,19 @@
20
20
  ".Banner.Banner--success .Banner-visual .octicon",
21
21
  ".Banner.Banner--full",
22
22
  ".Banner.Banner--full-whenNarrow"
23
+ ],
24
+ "classes": [
25
+ "Banner",
26
+ "Banner-actions",
27
+ "Banner-visual",
28
+ "octicon",
29
+ "Banner-message",
30
+ "Banner-title",
31
+ "Banner-close",
32
+ "Banner--warning",
33
+ "Banner--error",
34
+ "Banner--success",
35
+ "Banner--full",
36
+ "Banner--full-whenNarrow"
23
37
  ]
24
38
  }
@@ -29,5 +29,15 @@
29
29
  ".btn-signup-mktg:focus-visible",
30
30
  ".btn-small-mktg",
31
31
  ".btn-large-mktg"
32
+ ],
33
+ "classes": [
34
+ "btn-mktg",
35
+ "focus",
36
+ "disabled",
37
+ "btn-muted-mktg",
38
+ "btn-subtle-mktg",
39
+ "btn-signup-mktg",
40
+ "btn-small-mktg",
41
+ "btn-large-mktg"
32
42
  ]
33
43
  }
@@ -78,5 +78,68 @@
78
78
  ".Overlay-backdrop--side-whenNarrow.Overlay-backdrop--placement-top-whenNarrow>.Overlay-whenNarrow",
79
79
  ".Overlay-backdrop--full-whenNarrow",
80
80
  ".Overlay-backdrop--full-whenNarrow .Overlay"
81
+ ],
82
+ "classes": [
83
+ "Overlay--hidden",
84
+ "Overlay--visibilityHidden",
85
+ "Overlay",
86
+ "Overlay--size-auto",
87
+ "Overlay--size-full",
88
+ "Overlay--size-xsmall",
89
+ "Overlay--size-small",
90
+ "Overlay--size-small-portrait",
91
+ "Overlay--size-medium",
92
+ "Overlay--size-medium-portrait",
93
+ "Overlay--size-large",
94
+ "Overlay--size-xlarge",
95
+ "Overlay--height-auto",
96
+ "Overlay--height-xsmall",
97
+ "Overlay--height-small",
98
+ "Overlay--height-medium",
99
+ "Overlay--height-large",
100
+ "Overlay--height-xlarge",
101
+ "Overlay--width-auto",
102
+ "Overlay--width-small",
103
+ "Overlay--width-medium",
104
+ "Overlay--width-large",
105
+ "Overlay--width-xlarge",
106
+ "Overlay--width-xxlarge",
107
+ "Overlay--motion-scaleFade",
108
+ "Overlay-form",
109
+ "Overlay-header",
110
+ "Overlay-header--divided",
111
+ "Overlay-body",
112
+ "Overlay-header--large",
113
+ "Overlay-headerContentWrap",
114
+ "Overlay-titleWrap",
115
+ "Overlay-title",
116
+ "Overlay-description",
117
+ "Overlay-actionWrap",
118
+ "Overlay-body--paddingCondensed",
119
+ "Overlay-body--paddingNone",
120
+ "Overlay-footer",
121
+ "Overlay-footer--divided",
122
+ "Overlay-footer--alignStart",
123
+ "Overlay-footer--alignCenter",
124
+ "Overlay-footer--alignEnd",
125
+ "Overlay-closeButton",
126
+ "close-button",
127
+ "Overlay-backdrop--center",
128
+ "Overlay-backdrop--anchor",
129
+ "Overlay-backdrop--side",
130
+ "Overlay-backdrop--placement-left",
131
+ "Overlay-backdrop--placement-right",
132
+ "Overlay-backdrop--placement-bottom",
133
+ "Overlay-backdrop--placement-top",
134
+ "Overlay-backdrop--full",
135
+ "Overlay-backdrop--center-whenNarrow",
136
+ "Overlay-backdrop--anchor-whenNarrow",
137
+ "Overlay-backdrop--side-whenNarrow",
138
+ "Overlay-backdrop--placement-left-whenNarrow",
139
+ "Overlay-whenNarrow",
140
+ "Overlay-backdrop--placement-right-whenNarrow",
141
+ "Overlay-backdrop--placement-bottom-whenNarrow",
142
+ "Overlay-backdrop--placement-top-whenNarrow",
143
+ "Overlay-backdrop--full-whenNarrow"
81
144
  ]
82
145
  }
@@ -36,5 +36,26 @@
36
36
  ".dropdown-menu-sw:after",
37
37
  ".dropdown-menu-se:before",
38
38
  ".dropdown-menu-se:after"
39
+ ],
40
+ "classes": [
41
+ "dropdown",
42
+ "dropdown-caret",
43
+ "dropdown-menu",
44
+ "dropdown-menu-no-overflow",
45
+ "dropdown-item",
46
+ "octicon",
47
+ "color-fg-",
48
+ "Label",
49
+ "btn-link",
50
+ "dropdown-signout",
51
+ "dropdown-divider",
52
+ "dropdown-header",
53
+ "octicon-check",
54
+ "dropdown-menu-w",
55
+ "dropdown-menu-e",
56
+ "dropdown-menu-ne",
57
+ "dropdown-menu-s",
58
+ "dropdown-menu-sw",
59
+ "dropdown-menu-se"
39
60
  ]
40
61
  }
@@ -76,5 +76,32 @@
76
76
  ".Layout-main .Layout-main-centered-xl>.container-lg",
77
77
  ".Layout-main .Layout-main-centered-xl>.container-md",
78
78
  ".Layout-main .Layout-main-centered-xl>.container-xl"
79
+ ],
80
+ "classes": [
81
+ "Layout",
82
+ "Layout-divider",
83
+ "Layout-main",
84
+ "Layout-sidebar",
85
+ "Layout--sidebarPosition-flowRow-start",
86
+ "Layout--sidebarPosition-flowRow-end",
87
+ "Layout--sidebarPosition-flowRow-none",
88
+ "Layout--divided",
89
+ "Layout-divider--flowRow-hidden",
90
+ "Layout-divider--flowRow-shallow",
91
+ "Layout--flowRow-until-md",
92
+ "Layout--flowRow-until-lg",
93
+ "Layout--gutter-none",
94
+ "Layout--gutter-condensed",
95
+ "Layout--gutter-spacious",
96
+ "Layout--sidebar-narrow",
97
+ "Layout--sidebar-wide",
98
+ "Layout--sidebarPosition-start",
99
+ "Layout--sidebarPosition-end",
100
+ "Layout-main-centered-lg",
101
+ "Layout-main-centered-md",
102
+ "Layout-main-centered-xl",
103
+ "container-lg",
104
+ "container-md",
105
+ "container-xl"
79
106
  ]
80
107
  }
@@ -24,5 +24,16 @@
24
24
  ".menu-heading:hover",
25
25
  ".menu-heading:first-child",
26
26
  ".menu-heading:last-child"
27
+ ],
28
+ "classes": [
29
+ "menu",
30
+ "menu-item",
31
+ "selected",
32
+ "octicon",
33
+ "Counter",
34
+ "menu-warning",
35
+ "avatar",
36
+ "alert",
37
+ "menu-heading"
27
38
  ]
28
39
  }
@@ -27,5 +27,20 @@
27
27
  ".SegmentedControl--fullWidth .SegmentedControl-item",
28
28
  ".SegmentedControl--fullWidth .Button--iconOnly",
29
29
  ".SegmentedControl--fullWidth .Button-withTooltip"
30
+ ],
31
+ "classes": [
32
+ "SegmentedControl",
33
+ "SegmentedControl-item",
34
+ "SegmentedControl-item--selected",
35
+ "Button",
36
+ "Button-label",
37
+ "Button--small",
38
+ "Button--iconOnly",
39
+ "Button--medium",
40
+ "Button--large",
41
+ "Button--invisible",
42
+ "Button--invisible-noVisuals",
43
+ "SegmentedControl--fullWidth",
44
+ "Button-withTooltip"
30
45
  ]
31
46
  }
@@ -20,5 +20,15 @@
20
20
  ".tabnav-extra>.octicon",
21
21
  "a.tabnav-extra:hover",
22
22
  ".tabnav-btn"
23
+ ],
24
+ "classes": [
25
+ "tabnav",
26
+ "tabnav-tabs",
27
+ "tabnav-tab",
28
+ "selected",
29
+ "octicon",
30
+ "Counter",
31
+ "tabnav-extra",
32
+ "tabnav-btn"
23
33
  ]
24
34
  }
@@ -130,5 +130,43 @@
130
130
  "input.FormControl-radio[type=radio]:checked",
131
131
  "input.FormControl-radio[type=radio]:checked:disabled",
132
132
  "input.FormControl-radio[type=radio]:focus-visible"
133
+ ],
134
+ "classes": [
135
+ "FormControl",
136
+ "FormControl--fullWidth",
137
+ "FormControl-label",
138
+ "FormControl-caption",
139
+ "FormControl-inlineValidation",
140
+ "FormControl-spacingWrapper",
141
+ "FormControl-horizontalGroup",
142
+ "FormControl-input",
143
+ "FormControl-select",
144
+ "FormControl-textarea",
145
+ "FormControl-small",
146
+ "FormControl-medium",
147
+ "FormControl-large",
148
+ "FormControl-inset",
149
+ "FormControl-monospace",
150
+ "FormControl-error",
151
+ "FormControl-success",
152
+ "FormControl-warning",
153
+ "FormControl-toggleSwitchInput",
154
+ "FormControl-input-wrap",
155
+ "FormControl-input-leadingVisualWrap",
156
+ "FormControl-input-leadingVisual",
157
+ "FormControl-input-trailingAction",
158
+ "FormControl-input-trailingAction--divider",
159
+ "FormControl-input-wrap--leadingVisual",
160
+ "FormControl-input-wrap--trailingAction",
161
+ "FormControl-input-wrap-trailingAction--divider",
162
+ "FormControl-select-wrap",
163
+ "FormControl-checkbox-wrap",
164
+ "FormControl-radio-wrap",
165
+ "FormControl-checkbox-labelWrap",
166
+ "FormControl-radio-labelWrap",
167
+ "FormControl-check-group-wrap",
168
+ "FormControl-radio-group-wrap",
169
+ "FormControl-checkbox",
170
+ "FormControl-radio"
133
171
  ]
134
172
  }
@@ -36,5 +36,21 @@
36
36
  ".ToggleSwitch-statusOff",
37
37
  ".ToggleSwitch--statusAtEnd",
38
38
  ".ToggleSwitch--statusAtEnd .ToggleSwitch-status"
39
+ ],
40
+ "classes": [
41
+ "ToggleSwitch",
42
+ "ToggleSwitch--checked",
43
+ "ToggleSwitch-statusOn",
44
+ "ToggleSwitch-statusOff",
45
+ "ToggleSwitch-track",
46
+ "ToggleSwitch-knob",
47
+ "ToggleSwitch-lineIcon",
48
+ "ToggleSwitch-circleIcon",
49
+ "ToggleSwitch-icons",
50
+ "ToggleSwitch-status",
51
+ "ToggleSwitch-statusIcon",
52
+ "ToggleSwitch--small",
53
+ "ToggleSwitch--disabled",
54
+ "ToggleSwitch--statusAtEnd"
39
55
  ]
40
56
  }
@@ -24,5 +24,18 @@
24
24
  ".UnderlineNav--full .UnderlineNav-body",
25
25
  ".UnderlineNav-octicon",
26
26
  ".UnderlineNav-container"
27
+ ],
28
+ "classes": [
29
+ "UnderlineNav",
30
+ "Counter",
31
+ "Counter--primary",
32
+ "UnderlineNav-body",
33
+ "UnderlineNav-item",
34
+ "selected",
35
+ "UnderlineNav--right",
36
+ "UnderlineNav-actions",
37
+ "UnderlineNav--full",
38
+ "UnderlineNav-octicon",
39
+ "UnderlineNav-container"
27
40
  ]
28
41
  }
@@ -13,5 +13,19 @@
13
13
  ".avatar-6",
14
14
  ".avatar-7",
15
15
  ".avatar-8"
16
+ ],
17
+ "classes": [
18
+ "avatar",
19
+ "avatar-link",
20
+ "avatar-group-item",
21
+ "avatar-1",
22
+ "avatar-2",
23
+ "avatar-small",
24
+ "avatar-3",
25
+ "avatar-4",
26
+ "avatar-5",
27
+ "avatar-6",
28
+ "avatar-7",
29
+ "avatar-8"
16
30
  ]
17
31
  }
@@ -24,5 +24,14 @@
24
24
  ".AvatarStack--right .avatar.avatar-more:before",
25
25
  ".AvatarStack--right .avatar.avatar-more:after",
26
26
  ".AvatarStack--right .avatar"
27
+ ],
28
+ "classes": [
29
+ "AvatarStack",
30
+ "AvatarStack-body",
31
+ "AvatarStack--two",
32
+ "AvatarStack--three-plus",
33
+ "avatar",
34
+ "avatar-more",
35
+ "AvatarStack--right"
27
36
  ]
28
37
  }
@@ -18,5 +18,17 @@
18
18
  ".blankslate-large h3",
19
19
  ".blankslate-large p",
20
20
  ".blankslate-clean-background"
21
+ ],
22
+ "classes": [
23
+ "blankslate",
24
+ "blankslate-icon",
25
+ "blankslate-image",
26
+ "blankslate-heading",
27
+ "blankslate-action",
28
+ "blankslate-capped",
29
+ "blankslate-spacious",
30
+ "blankslate-narrow",
31
+ "blankslate-large",
32
+ "blankslate-clean-background"
21
33
  ]
22
34
  }
@@ -50,5 +50,37 @@
50
50
  ".Box-row--blue",
51
51
  ".Box-row--gray",
52
52
  ".Box-btn-octicon.btn-octicon"
53
+ ],
54
+ "classes": [
55
+ "Box",
56
+ "Box--condensed",
57
+ "Box-body",
58
+ "Box-footer",
59
+ "Box-header",
60
+ "Box-btn-octicon",
61
+ "btn-octicon",
62
+ "Box-row",
63
+ "Box--spacious",
64
+ "Box-title",
65
+ "Box-row--unread",
66
+ "unread",
67
+ "navigation-focus",
68
+ "Box-row--drag-button",
69
+ "is-dragging",
70
+ "sortable-chosen",
71
+ "sortable-ghost",
72
+ "Box-row--drag-hide",
73
+ "Box-row--focus-gray",
74
+ "Box-row--focus-blue",
75
+ "Box-row--hover-gray",
76
+ "Box-row--hover-blue",
77
+ "Box-row-link",
78
+ "Box--scrollable",
79
+ "Box--blue",
80
+ "Box--danger",
81
+ "Box-header--blue",
82
+ "Box-row--yellow",
83
+ "Box-row--blue",
84
+ "Box-row--gray"
53
85
  ]
54
86
  }
@@ -7,5 +7,9 @@
7
7
  ".breadcrumb-item-selected:after",
8
8
  ".breadcrumb-item[aria-current]:not([aria-current=false]):after",
9
9
  ".breadcrumb-item-selected a"
10
+ ],
11
+ "classes": [
12
+ "breadcrumb-item",
13
+ "breadcrumb-item-selected"
10
14
  ]
11
15
  }
@@ -67,5 +67,27 @@
67
67
  ".Button--iconOnly",
68
68
  ".Button--iconOnly.Button--small",
69
69
  ".Button--iconOnly.Button--large"
70
+ ],
71
+ "classes": [
72
+ "Button",
73
+ "Button-withTooltip",
74
+ "Button-content",
75
+ "Button-content--alignStart",
76
+ "Button-visual",
77
+ "Counter",
78
+ "Button-label",
79
+ "Button-leadingVisual",
80
+ "Button-trailingVisual",
81
+ "Button-trailingAction",
82
+ "Button--small",
83
+ "Button--large",
84
+ "Button--fullWidth",
85
+ "Button--primary",
86
+ "Button--secondary",
87
+ "Button--invisible",
88
+ "Button--invisible-noVisuals",
89
+ "Button--link",
90
+ "Button--danger",
91
+ "Button--iconOnly"
70
92
  ]
71
93
  }
@@ -6,5 +6,11 @@
6
6
  ".Counter .octicon",
7
7
  ".Counter--primary",
8
8
  ".Counter--secondary"
9
+ ],
10
+ "classes": [
11
+ "Counter",
12
+ "octicon",
13
+ "Counter--primary",
14
+ "Counter--secondary"
9
15
  ]
10
16
  }
@@ -23,5 +23,20 @@
23
23
  ".flash-banner",
24
24
  ".flash-full",
25
25
  ".warning"
26
+ ],
27
+ "classes": [
28
+ "flash",
29
+ "octicon",
30
+ "flash-messages",
31
+ "flash-close",
32
+ "flash-action",
33
+ "btn",
34
+ "btn-primary",
35
+ "flash-warn",
36
+ "flash-error",
37
+ "flash-success",
38
+ "flash-full",
39
+ "flash-banner",
40
+ "warning"
26
41
  ]
27
42
  }
@@ -21,5 +21,25 @@
21
21
  ".Label--closed",
22
22
  ".Label--done",
23
23
  ".Label--sponsors"
24
+ ],
25
+ "classes": [
26
+ "labels",
27
+ "Label",
28
+ "label",
29
+ "Label--large",
30
+ "Label--inline",
31
+ "Label--primary",
32
+ "Label--secondary",
33
+ "Label--accent",
34
+ "Label--info",
35
+ "Label--success",
36
+ "Label--attention",
37
+ "Label--warning",
38
+ "Label--severe",
39
+ "Label--danger",
40
+ "Label--open",
41
+ "Label--closed",
42
+ "Label--done",
43
+ "Label--sponsors"
24
44
  ]
25
45
  }
@@ -15,5 +15,13 @@
15
15
  ".Link--muted:hover [class*=color-fg]",
16
16
  ".Link--primary:hover [class*=color-fg]",
17
17
  ".Link--secondary:hover [class*=color-fg]"
18
+ ],
19
+ "classes": [
20
+ "Link",
21
+ "Link--primary",
22
+ "Link--secondary",
23
+ "Link--muted",
24
+ "Link--onHover",
25
+ "color-fg"
18
26
  ]
19
27
  }
@@ -35,5 +35,23 @@
35
35
  ".Popover-message--right:before",
36
36
  ".Popover-message--large",
37
37
  ".Popover-message>.btn-octicon"
38
+ ],
39
+ "classes": [
40
+ "Popover",
41
+ "Popover-message",
42
+ "Popover-message--no-caret",
43
+ "Popover-message--bottom-left",
44
+ "Popover-message--bottom-right",
45
+ "Popover-message--bottom",
46
+ "Popover-message--top-right",
47
+ "Popover-message--top-left",
48
+ "Popover-message--left-bottom",
49
+ "Popover-message--left-top",
50
+ "Popover-message--left",
51
+ "Popover-message--right-bottom",
52
+ "Popover-message--right-top",
53
+ "Popover-message--right",
54
+ "Popover-message--large",
55
+ "btn-octicon"
38
56
  ]
39
57
  }
@@ -6,5 +6,11 @@
6
6
  ".Progress--small",
7
7
  ".Progress-item",
8
8
  ".Progress-item+.Progress-item"
9
+ ],
10
+ "classes": [
11
+ "Progress",
12
+ "Progress--large",
13
+ "Progress--small",
14
+ "Progress-item"
9
15
  ]
10
16
  }
@@ -9,5 +9,15 @@
9
9
  ".State--closed",
10
10
  ".State--small",
11
11
  ".State--small .octicon"
12
+ ],
13
+ "classes": [
14
+ "State",
15
+ "state",
16
+ "State--draft",
17
+ "State--open",
18
+ "State--merged",
19
+ "State--closed",
20
+ "State--small",
21
+ "octicon"
12
22
  ]
13
23
  }
@@ -8,5 +8,13 @@
8
8
  ".Subhead-description",
9
9
  ".Subhead-actions",
10
10
  ".Subhead-actions+.Subhead-description"
11
+ ],
12
+ "classes": [
13
+ "Subhead",
14
+ "Subhead--spacious",
15
+ "Subhead-heading",
16
+ "Subhead-heading--danger",
17
+ "Subhead-description",
18
+ "Subhead-actions"
11
19
  ]
12
20
  }
@@ -12,5 +12,14 @@
12
12
  ".TimelineItem--condensed",
13
13
  ".TimelineItem--condensed:last-child",
14
14
  ".TimelineItem--condensed .TimelineItem-badge"
15
+ ],
16
+ "classes": [
17
+ "TimelineItem",
18
+ "TimelineItem-badge",
19
+ "TimelineItem-badge--success",
20
+ "TimelineItem-body",
21
+ "TimelineItem-avatar",
22
+ "TimelineItem-break",
23
+ "TimelineItem--condensed"
15
24
  ]
16
25
  }
@@ -8,5 +8,11 @@
8
8
  ".Truncate>.Truncate-text.Truncate-text--expandable:active",
9
9
  ".Truncate>.Truncate-text.Truncate-text--expandable:focus",
10
10
  ".Truncate>.Truncate-text.Truncate-text--expandable:hover"
11
+ ],
12
+ "classes": [
13
+ "Truncate",
14
+ "Truncate-text",
15
+ "Truncate-text--primary",
16
+ "Truncate-text--expandable"
11
17
  ]
12
18
  }
@@ -9,5 +9,12 @@
9
9
  ".css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target",
10
10
  ".css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target",
11
11
  ".css-truncate.expandable:hover .css-truncate-target"
12
+ ],
13
+ "classes": [
14
+ "css-truncate",
15
+ "css-truncate-overflow",
16
+ "css-truncate-target",
17
+ "expandable",
18
+ "zeroclipboard-is-hover"
12
19
  ]
13
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/view-components",
3
- "version": "0.0.123",
3
+ "version": "0.0.124-rc.3a735b14",
4
4
  "description": "ViewComponents for the Primer Design System",
5
5
  "main": "app/assets/javascripts/primer_view_components.js",
6
6
  "module": "app/components/primer/primer.js",
@@ -59,8 +59,8 @@
59
59
  "@changesets/changelog-github": "^0.4.6",
60
60
  "@changesets/cli": "^2.24.1",
61
61
  "@github/browserslist-config": "^1.0.0",
62
- "@github/markdownlint-github": "^0.2.2",
63
62
  "@github/prettier-config": "0.0.4",
63
+ "@github/markdownlint-github": "^0.2.2",
64
64
  "@playwright/test": "^1.27.1",
65
65
  "@primer/css": "20.4.7",
66
66
  "@primer/primitives": "^7.11.1",
@@ -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
+ ]