@primer/view-components 0.4.0-rc.54a333a8 → 0.4.0-rc.af710032

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/view-components",
3
- "version": "0.4.0-rc.54a333a8",
3
+ "version": "0.4.0-rc.af710032",
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",
@@ -1,54 +1,4 @@
1
1
  [
2
- {
3
- "component": "ActionBar",
4
- "status": "alpha",
5
- "a11y_reviewed": false,
6
- "short_name": "ActionBar",
7
- "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_bar.rb",
8
- "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_bar/default/",
9
- "parameters": [
10
- {
11
- "name": "size",
12
- "type": "Symbol",
13
- "default": "`:medium`",
14
- "description": "One of `:large`, `:medium`, or `:small`."
15
- },
16
- {
17
- "name": "overflow_menu",
18
- "type": "Boolean",
19
- "default": "`true`",
20
- "description": "Whether to render the overflow menu."
21
- },
22
- {
23
- "name": "system_arguments",
24
- "type": "Hash",
25
- "default": "N/A",
26
- "description": "[System arguments](/system-arguments)"
27
- }
28
- ]
29
- },
30
- {
31
- "component": "ActionBar::Divider",
32
- "status": "alpha",
33
- "a11y_reviewed": false,
34
- "short_name": "ActionBarDivider",
35
- "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_bar/divider.rb",
36
- "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_bar/divider/default/",
37
- "parameters": [
38
-
39
- ]
40
- },
41
- {
42
- "component": "ActionBar::Item",
43
- "status": "alpha",
44
- "a11y_reviewed": false,
45
- "short_name": "ActionBarItem",
46
- "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_bar/item.rb",
47
- "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_bar/item/default/",
48
- "parameters": [
49
-
50
- ]
51
- },
52
2
  {
53
3
  "component": "ActionList",
54
4
  "status": "alpha",
@@ -1,7 +1,4 @@
1
1
  {
2
- "Primer::Alpha::ActionBar": "",
3
- "Primer::Alpha::ActionBar::Divider": "",
4
- "Primer::Alpha::ActionBar::Item": "",
5
2
  "Primer::Alpha::ActionList": "",
6
3
  "Primer::Alpha::ActionList::Divider": "",
7
4
  "Primer::Alpha::ActionList::FormWrapper": "",
@@ -1,23 +1,4 @@
1
1
  {
2
- "Primer::Alpha::ActionBar": {
3
- "DEFAULT_SIZE": "medium",
4
- "Divider": "Primer::Alpha::ActionBar::Divider",
5
- "Item": "Primer::Alpha::ActionBar::Item",
6
- "SIZE_MAPPINGS": {
7
- "medium": null,
8
- "small": "ActionBar--small",
9
- "large": "ActionBar--large"
10
- },
11
- "SIZE_OPTIONS": [
12
- "medium",
13
- "small",
14
- "large"
15
- ]
16
- },
17
- "Primer::Alpha::ActionBar::Divider": {
18
- },
19
- "Primer::Alpha::ActionBar::Item": {
20
- },
21
2
  "Primer::Alpha::ActionList": {
22
3
  "DEFAULT_MENU_ITEM_ROLE": "menuitem",
23
4
  "DEFAULT_ROLE": "list",
@@ -1,187 +1,4 @@
1
1
  [
2
- {
3
- "fully_qualified_name": "Primer::Alpha::ActionBar",
4
- "description": "Add a general description of component here\nAdd additional usage considerations or best practices that may aid the user to use the component correctly.",
5
- "is_form_component": false,
6
- "is_published": true,
7
- "requires_js": false,
8
- "component": "ActionBar",
9
- "status": "alpha",
10
- "a11y_reviewed": false,
11
- "short_name": "ActionBar",
12
- "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_bar.rb",
13
- "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_bar/default/",
14
- "parameters": [
15
- {
16
- "name": "size",
17
- "type": "Symbol",
18
- "default": "`:medium`",
19
- "description": "One of `:large`, `:medium`, or `:small`."
20
- },
21
- {
22
- "name": "overflow_menu",
23
- "type": "Boolean",
24
- "default": "`true`",
25
- "description": "Whether to render the overflow menu."
26
- },
27
- {
28
- "name": "system_arguments",
29
- "type": "Hash",
30
- "default": "N/A",
31
- "description": "{{link_to_system_arguments_docs}}"
32
- }
33
- ],
34
- "slots": [
35
- {
36
- "name": "items",
37
- "description": null,
38
- "parameters": [
39
-
40
- ]
41
- }
42
- ],
43
- "methods": [
44
-
45
- ],
46
- "previews": [
47
- {
48
- "preview_path": "primer/alpha/action_bar/default",
49
- "name": "default",
50
- "snapshot": "true",
51
- "skip_rules": {
52
- "wont_fix": [
53
- "region"
54
- ],
55
- "will_fix": [
56
- "color-contrast"
57
- ]
58
- }
59
- },
60
- {
61
- "preview_path": "primer/alpha/action_bar/inline",
62
- "name": "inline",
63
- "snapshot": "false",
64
- "skip_rules": {
65
- "wont_fix": [
66
- "region"
67
- ],
68
- "will_fix": [
69
- "color-contrast"
70
- ]
71
- }
72
- },
73
- {
74
- "preview_path": "primer/alpha/action_bar/playground",
75
- "name": "playground",
76
- "snapshot": "false",
77
- "skip_rules": {
78
- "wont_fix": [
79
- "region"
80
- ],
81
- "will_fix": [
82
- "color-contrast"
83
- ]
84
- }
85
- },
86
- {
87
- "preview_path": "primer/alpha/action_bar/small",
88
- "name": "small",
89
- "snapshot": "false",
90
- "skip_rules": {
91
- "wont_fix": [
92
- "region"
93
- ],
94
- "will_fix": [
95
- "color-contrast"
96
- ]
97
- }
98
- },
99
- {
100
- "preview_path": "primer/alpha/action_bar/medium",
101
- "name": "medium",
102
- "snapshot": "false",
103
- "skip_rules": {
104
- "wont_fix": [
105
- "region"
106
- ],
107
- "will_fix": [
108
- "color-contrast"
109
- ]
110
- }
111
- },
112
- {
113
- "preview_path": "primer/alpha/action_bar/large",
114
- "name": "large",
115
- "snapshot": "false",
116
- "skip_rules": {
117
- "wont_fix": [
118
- "region"
119
- ],
120
- "will_fix": [
121
- "color-contrast"
122
- ]
123
- }
124
- }
125
- ],
126
- "subcomponents": [
127
- {
128
- "fully_qualified_name": "Primer::Alpha::ActionBar::Item",
129
- "description": "ActionBar::Item is an internal component that wraps the items in a div with the `ActionBar-item` class.",
130
- "is_form_component": false,
131
- "is_published": true,
132
- "requires_js": false,
133
- "component": "ActionBar::Item",
134
- "status": "alpha",
135
- "a11y_reviewed": false,
136
- "short_name": "ActionBarItem",
137
- "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_bar/item.rb",
138
- "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_bar/item/default/",
139
- "parameters": [
140
-
141
- ],
142
- "slots": [
143
-
144
- ],
145
- "methods": [
146
-
147
- ],
148
- "previews": [
149
-
150
- ],
151
- "subcomponents": [
152
-
153
- ]
154
- },
155
- {
156
- "fully_qualified_name": "Primer::Alpha::ActionBar::Divider",
157
- "description": "ActionBar::Item is an internal component that wraps the items in a div with the `ActionBar-item` class.",
158
- "is_form_component": false,
159
- "is_published": true,
160
- "requires_js": false,
161
- "component": "ActionBar::Divider",
162
- "status": "alpha",
163
- "a11y_reviewed": false,
164
- "short_name": "ActionBarDivider",
165
- "source": "https://github.com/primer/view_components/tree/main/app/components/primer/alpha/action_bar/divider.rb",
166
- "lookbook": "https://primer.style/view-components/lookbook/inspect/primer/alpha/action_bar/divider/default/",
167
- "parameters": [
168
-
169
- ],
170
- "slots": [
171
-
172
- ],
173
- "methods": [
174
-
175
- ],
176
- "previews": [
177
-
178
- ],
179
- "subcomponents": [
180
-
181
- ]
182
- }
183
- ]
184
- },
185
2
  {
186
3
  "fully_qualified_name": "Primer::Alpha::ActionList",
187
4
  "description": "An ActionList is a styled list of links. It acts as the base component for many\nother menu-type components, including `ActionMenu` and `SelectPanel`, as well as\nthe navigational component `NavList`.\n\nEach item in an action list can be augmented by specifying corresponding leading\nand/or trailing visuals.",
@@ -1,90 +1,4 @@
1
1
  [
2
- {
3
- "name": "action_bar",
4
- "component": "ActionBar",
5
- "status": "alpha",
6
- "lookup_path": "primer/alpha/action_bar",
7
- "examples": [
8
- {
9
- "preview_path": "primer/alpha/action_bar/default",
10
- "name": "default",
11
- "snapshot": "true",
12
- "skip_rules": {
13
- "wont_fix": [
14
- "region"
15
- ],
16
- "will_fix": [
17
- "color-contrast"
18
- ]
19
- }
20
- },
21
- {
22
- "preview_path": "primer/alpha/action_bar/inline",
23
- "name": "inline",
24
- "snapshot": "false",
25
- "skip_rules": {
26
- "wont_fix": [
27
- "region"
28
- ],
29
- "will_fix": [
30
- "color-contrast"
31
- ]
32
- }
33
- },
34
- {
35
- "preview_path": "primer/alpha/action_bar/playground",
36
- "name": "playground",
37
- "snapshot": "false",
38
- "skip_rules": {
39
- "wont_fix": [
40
- "region"
41
- ],
42
- "will_fix": [
43
- "color-contrast"
44
- ]
45
- }
46
- },
47
- {
48
- "preview_path": "primer/alpha/action_bar/small",
49
- "name": "small",
50
- "snapshot": "false",
51
- "skip_rules": {
52
- "wont_fix": [
53
- "region"
54
- ],
55
- "will_fix": [
56
- "color-contrast"
57
- ]
58
- }
59
- },
60
- {
61
- "preview_path": "primer/alpha/action_bar/medium",
62
- "name": "medium",
63
- "snapshot": "false",
64
- "skip_rules": {
65
- "wont_fix": [
66
- "region"
67
- ],
68
- "will_fix": [
69
- "color-contrast"
70
- ]
71
- }
72
- },
73
- {
74
- "preview_path": "primer/alpha/action_bar/large",
75
- "name": "large",
76
- "snapshot": "false",
77
- "skip_rules": {
78
- "wont_fix": [
79
- "region"
80
- ],
81
- "will_fix": [
82
- "color-contrast"
83
- ]
84
- }
85
- }
86
- ]
87
- },
88
2
  {
89
3
  "name": "action_list",
90
4
  "component": "ActionList",
@@ -1,7 +1,4 @@
1
1
  {
2
- "Primer::Alpha::ActionBar": "alpha",
3
- "Primer::Alpha::ActionBar::Divider": "alpha",
4
- "Primer::Alpha::ActionBar::Item": "alpha",
5
2
  "Primer::Alpha::ActionList": "alpha",
6
3
  "Primer::Alpha::ActionList::Divider": "alpha",
7
4
  "Primer::Alpha::ActionList::FormWrapper": "alpha",