@primer/view-components 0.1.5-rc.d8f91a4d → 0.1.5-rc.eed26e23
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 +4 -0
- package/app/components/primer/alpha/action_menu/action_menu_element.d.ts +22 -0
- package/app/components/primer/alpha/action_menu/action_menu_element.js +139 -0
- package/app/components/primer/alpha/overlay.css +1 -1
- package/app/components/primer/beta/button.css +1 -1
- package/app/components/primer/focus_group.d.ts +19 -0
- package/app/components/primer/focus_group.js +144 -0
- package/app/components/primer/primer.d.ts +2 -0
- package/app/components/primer/primer.js +2 -0
- package/package.json +3 -2
- package/static/arguments.json +3078 -1404
- package/static/audited_at.json +2 -0
- package/static/constants.json +42 -2
- package/static/info_arch.json +8859 -0
- package/static/previews.json +221 -101
- package/static/statuses.json +2 -0
package/static/audited_at.json
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
"Primer::Alpha::ActionList::Divider": "",
|
|
4
4
|
"Primer::Alpha::ActionList::Heading": "",
|
|
5
5
|
"Primer::Alpha::ActionList::Item": "",
|
|
6
|
+
"Primer::Alpha::ActionMenu": "",
|
|
7
|
+
"Primer::Alpha::ActionMenu::List": "",
|
|
6
8
|
"Primer::Alpha::AutoComplete": "",
|
|
7
9
|
"Primer::Alpha::AutoComplete::Item": "",
|
|
8
10
|
"Primer::Alpha::Banner": "",
|
package/static/constants.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Primer::Alpha::ActionList": {
|
|
3
|
+
"DEFAULT_MENU_ITEM_ROLE": "menuitem",
|
|
3
4
|
"DEFAULT_ROLE": "list",
|
|
4
5
|
"DEFAULT_SCHEME": "full",
|
|
6
|
+
"DEFAULT_SELECT_VARIANT": "none",
|
|
5
7
|
"Divider": "Primer::Alpha::ActionList::Divider",
|
|
6
8
|
"Heading": "Primer::Alpha::ActionList::Heading",
|
|
7
9
|
"Item": "Primer::Alpha::ActionList::Item",
|
|
10
|
+
"MENU_ROLE": "menu",
|
|
8
11
|
"SCHEME_MAPPINGS": {
|
|
9
12
|
"full": null,
|
|
10
13
|
"inset": "ActionListWrap--inset"
|
|
@@ -12,7 +15,18 @@
|
|
|
12
15
|
"SCHEME_OPTIONS": [
|
|
13
16
|
"full",
|
|
14
17
|
"inset"
|
|
15
|
-
]
|
|
18
|
+
],
|
|
19
|
+
"SELECT_VARIANT_OPTIONS": [
|
|
20
|
+
"single",
|
|
21
|
+
"multiple",
|
|
22
|
+
"multiple_checkbox",
|
|
23
|
+
"none"
|
|
24
|
+
],
|
|
25
|
+
"SELECT_VARIANT_ROLE_MAP": {
|
|
26
|
+
"single": "menuitemradio",
|
|
27
|
+
"multiple": "menuitemcheckbox",
|
|
28
|
+
"multiple_checkbox": "menuitemcheckbox"
|
|
29
|
+
}
|
|
16
30
|
},
|
|
17
31
|
"Primer::Alpha::ActionList::Divider": {
|
|
18
32
|
"DEFAULT_SCHEME": "subtle",
|
|
@@ -77,6 +91,31 @@
|
|
|
77
91
|
"xlarge"
|
|
78
92
|
]
|
|
79
93
|
},
|
|
94
|
+
"Primer::Alpha::ActionMenu": {
|
|
95
|
+
"DEFAULT_PRELOAD": false,
|
|
96
|
+
"DEFAULT_SELECT_VARIANT": "none",
|
|
97
|
+
"List": "Primer::Alpha::ActionMenu::List",
|
|
98
|
+
"SELECT_VARIANT_OPTIONS": [
|
|
99
|
+
"single",
|
|
100
|
+
"multiple",
|
|
101
|
+
"none"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"Primer::Alpha::ActionMenu::List": {
|
|
105
|
+
"DEFAULT_ITEM_TAG": "span",
|
|
106
|
+
"ITEM_ACTION_OPTIONS": [
|
|
107
|
+
"classes",
|
|
108
|
+
"onclick",
|
|
109
|
+
"href",
|
|
110
|
+
"value"
|
|
111
|
+
],
|
|
112
|
+
"ITEM_TAG_OPTIONS": [
|
|
113
|
+
"a",
|
|
114
|
+
"button",
|
|
115
|
+
"clipboard-copy",
|
|
116
|
+
"span"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
80
119
|
"Primer::Alpha::AutoComplete": {
|
|
81
120
|
"Item": "Primer::Alpha::AutoComplete::Item"
|
|
82
121
|
},
|
|
@@ -420,7 +459,8 @@
|
|
|
420
459
|
],
|
|
421
460
|
"ROLE_OPTIONS": [
|
|
422
461
|
"dialog",
|
|
423
|
-
"menu"
|
|
462
|
+
"menu",
|
|
463
|
+
null
|
|
424
464
|
],
|
|
425
465
|
"SIZE_MAPPINGS": {
|
|
426
466
|
"auto": "Overlay--size-auto",
|