@primer/view-components 0.36.5-rc.cc8faa00 → 0.36.6-rc.07a9e3b4
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.
@@ -132,6 +132,7 @@ let ToggleSwitchElement = class ToggleSwitchElement extends HTMLElement {
|
|
132
132
|
let response;
|
133
133
|
const requestHeaders = {
|
134
134
|
'Requested-With': 'XMLHttpRequest',
|
135
|
+
'X-Requested-With': 'XMLHttpRequest',
|
135
136
|
};
|
136
137
|
if (this.turbo) {
|
137
138
|
requestHeaders['Accept'] = 'text/vnd.turbo-stream.html';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@primer/view-components",
|
3
|
-
"version": "0.36.
|
3
|
+
"version": "0.36.6-rc.07a9e3b4",
|
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",
|
package/static/arguments.json
CHANGED
@@ -3646,6 +3646,12 @@
|
|
3646
3646
|
"default": "`:button`",
|
3647
3647
|
"description": "One of `:button`, `:reset`, or `:submit`."
|
3648
3648
|
},
|
3649
|
+
{
|
3650
|
+
"name": "inactive",
|
3651
|
+
"type": "Boolean",
|
3652
|
+
"default": "N/A",
|
3653
|
+
"description": "Whether the button looks visually disabled, but can still accept all the same interactions as an enabled button."
|
3654
|
+
},
|
3649
3655
|
{
|
3650
3656
|
"name": "disabled",
|
3651
3657
|
"type": "Boolean",
|
package/static/info_arch.json
CHANGED
@@ -12186,6 +12186,12 @@
|
|
12186
12186
|
"default": "`:button`",
|
12187
12187
|
"description": "One of `:button`, `:reset`, or `:submit`."
|
12188
12188
|
},
|
12189
|
+
{
|
12190
|
+
"name": "inactive",
|
12191
|
+
"type": "Boolean",
|
12192
|
+
"default": "N/A",
|
12193
|
+
"description": "Whether the button looks visually disabled, but can still accept all the same interactions as an enabled button."
|
12194
|
+
},
|
12189
12195
|
{
|
12190
12196
|
"name": "disabled",
|
12191
12197
|
"type": "Boolean",
|