@primer/view-components 0.36.6-rc.c2bdaafa → 0.36.6-rc.eb5a847f
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/components/primer/alpha/action_menu/action_menu_element.js +0 -9
- package/package.json +1 -1
- package/static/info_arch.json +52 -0
- package/static/previews.json +52 -0
@@ -129,11 +129,6 @@ let ActionMenuElement = class ActionMenuElement extends HTMLElement {
|
|
129
129
|
}
|
130
130
|
}), "f");
|
131
131
|
observeMutationsUntilConditionMet(this, () => Boolean(this.invokerElement), () => __classPrivateFieldGet(this, _ActionMenuElement_intersectionObserver, "f").observe(this.invokerElement));
|
132
|
-
// If there's no include fragment, then no async fetching will occur and we can
|
133
|
-
// mark the component as ready.
|
134
|
-
if (!this.includeFragment) {
|
135
|
-
this.setAttribute('data-ready', 'true');
|
136
|
-
}
|
137
132
|
}
|
138
133
|
disconnectedCallback() {
|
139
134
|
__classPrivateFieldGet(this, _ActionMenuElement_abortController, "f").abort();
|
@@ -400,8 +395,6 @@ _ActionMenuElement_handleIncludeFragmentReplaced = function _ActionMenuElement_h
|
|
400
395
|
if (__classPrivateFieldGet(this, _ActionMenuElement_instances, "a", _ActionMenuElement_firstItem_get))
|
401
396
|
__classPrivateFieldGet(this, _ActionMenuElement_instances, "a", _ActionMenuElement_firstItem_get).focus();
|
402
397
|
__classPrivateFieldGet(this, _ActionMenuElement_instances, "m", _ActionMenuElement_softDisableItems).call(this);
|
403
|
-
// async items have loaded, so component is ready
|
404
|
-
this.setAttribute('data-ready', 'true');
|
405
398
|
};
|
406
399
|
_ActionMenuElement_handleFocusOut = function _ActionMenuElement_handleFocusOut() {
|
407
400
|
__classPrivateFieldGet(this, _ActionMenuElement_instances, "m", _ActionMenuElement_hide).call(this);
|
@@ -416,8 +409,6 @@ _ActionMenuElement_isOpen = function _ActionMenuElement_isOpen() {
|
|
416
409
|
return this.popoverElement?.matches(':popover-open');
|
417
410
|
};
|
418
411
|
_ActionMenuElement_setDynamicLabel = function _ActionMenuElement_setDynamicLabel() {
|
419
|
-
if (this.selectVariant !== 'single')
|
420
|
-
return;
|
421
412
|
if (!this.dynamicLabel)
|
422
413
|
return;
|
423
414
|
const invokerLabel = this.invokerLabel;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@primer/view-components",
|
3
|
-
"version": "0.36.6-rc.
|
3
|
+
"version": "0.36.6-rc.eb5a847f",
|
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/info_arch.json
CHANGED
@@ -6178,6 +6178,58 @@
|
|
6178
6178
|
]
|
6179
6179
|
}
|
6180
6180
|
},
|
6181
|
+
{
|
6182
|
+
"preview_path": "primer/alpha/overlay/in_an_action_menu",
|
6183
|
+
"name": "in_an_action_menu",
|
6184
|
+
"snapshot": "false",
|
6185
|
+
"skip_rules": {
|
6186
|
+
"wont_fix": [
|
6187
|
+
"region"
|
6188
|
+
],
|
6189
|
+
"will_fix": [
|
6190
|
+
"color-contrast"
|
6191
|
+
]
|
6192
|
+
}
|
6193
|
+
},
|
6194
|
+
{
|
6195
|
+
"preview_path": "primer/alpha/overlay/dialog_with_header_footer",
|
6196
|
+
"name": "dialog_with_header_footer",
|
6197
|
+
"snapshot": "false",
|
6198
|
+
"skip_rules": {
|
6199
|
+
"wont_fix": [
|
6200
|
+
"region"
|
6201
|
+
],
|
6202
|
+
"will_fix": [
|
6203
|
+
"color-contrast"
|
6204
|
+
]
|
6205
|
+
}
|
6206
|
+
},
|
6207
|
+
{
|
6208
|
+
"preview_path": "primer/alpha/overlay/overlay_with_header_filter",
|
6209
|
+
"name": "overlay_with_header_filter",
|
6210
|
+
"snapshot": "false",
|
6211
|
+
"skip_rules": {
|
6212
|
+
"wont_fix": [
|
6213
|
+
"region"
|
6214
|
+
],
|
6215
|
+
"will_fix": [
|
6216
|
+
"color-contrast"
|
6217
|
+
]
|
6218
|
+
}
|
6219
|
+
},
|
6220
|
+
{
|
6221
|
+
"preview_path": "primer/alpha/overlay/overlay_with_header_subtitle",
|
6222
|
+
"name": "overlay_with_header_subtitle",
|
6223
|
+
"snapshot": "false",
|
6224
|
+
"skip_rules": {
|
6225
|
+
"wont_fix": [
|
6226
|
+
"region"
|
6227
|
+
],
|
6228
|
+
"will_fix": [
|
6229
|
+
"color-contrast"
|
6230
|
+
]
|
6231
|
+
}
|
6232
|
+
},
|
6181
6233
|
{
|
6182
6234
|
"preview_path": "primer/alpha/overlay/in_a_sticky_container",
|
6183
6235
|
"name": "in_a_sticky_container",
|
package/static/previews.json
CHANGED
@@ -4997,6 +4997,58 @@
|
|
4997
4997
|
]
|
4998
4998
|
}
|
4999
4999
|
},
|
5000
|
+
{
|
5001
|
+
"preview_path": "primer/alpha/overlay/in_an_action_menu",
|
5002
|
+
"name": "in_an_action_menu",
|
5003
|
+
"snapshot": "false",
|
5004
|
+
"skip_rules": {
|
5005
|
+
"wont_fix": [
|
5006
|
+
"region"
|
5007
|
+
],
|
5008
|
+
"will_fix": [
|
5009
|
+
"color-contrast"
|
5010
|
+
]
|
5011
|
+
}
|
5012
|
+
},
|
5013
|
+
{
|
5014
|
+
"preview_path": "primer/alpha/overlay/dialog_with_header_footer",
|
5015
|
+
"name": "dialog_with_header_footer",
|
5016
|
+
"snapshot": "false",
|
5017
|
+
"skip_rules": {
|
5018
|
+
"wont_fix": [
|
5019
|
+
"region"
|
5020
|
+
],
|
5021
|
+
"will_fix": [
|
5022
|
+
"color-contrast"
|
5023
|
+
]
|
5024
|
+
}
|
5025
|
+
},
|
5026
|
+
{
|
5027
|
+
"preview_path": "primer/alpha/overlay/overlay_with_header_filter",
|
5028
|
+
"name": "overlay_with_header_filter",
|
5029
|
+
"snapshot": "false",
|
5030
|
+
"skip_rules": {
|
5031
|
+
"wont_fix": [
|
5032
|
+
"region"
|
5033
|
+
],
|
5034
|
+
"will_fix": [
|
5035
|
+
"color-contrast"
|
5036
|
+
]
|
5037
|
+
}
|
5038
|
+
},
|
5039
|
+
{
|
5040
|
+
"preview_path": "primer/alpha/overlay/overlay_with_header_subtitle",
|
5041
|
+
"name": "overlay_with_header_subtitle",
|
5042
|
+
"snapshot": "false",
|
5043
|
+
"skip_rules": {
|
5044
|
+
"wont_fix": [
|
5045
|
+
"region"
|
5046
|
+
],
|
5047
|
+
"will_fix": [
|
5048
|
+
"color-contrast"
|
5049
|
+
]
|
5050
|
+
}
|
5051
|
+
},
|
5000
5052
|
{
|
5001
5053
|
"preview_path": "primer/alpha/overlay/in_a_sticky_container",
|
5002
5054
|
"name": "in_a_sticky_container",
|