@primer/view-components 0.31.0-rc.4cbd806a → 0.31.0-rc.61d58bdb
Sign up to get free protection for your applications and to get access to all the features.
@@ -424,7 +424,7 @@ _SelectPanelElement_updateTabIndices = function _SelectPanelElement_updateTabInd
|
|
424
424
|
itemContent.setAttribute('tabindex', '-1');
|
425
425
|
}
|
426
426
|
// <li> elements should not themselves be tabbable
|
427
|
-
item.
|
427
|
+
item.removeAttribute('tabindex');
|
428
428
|
}
|
429
429
|
}
|
430
430
|
else {
|
@@ -439,7 +439,7 @@ _SelectPanelElement_updateTabIndices = function _SelectPanelElement_updateTabInd
|
|
439
439
|
itemContent.setAttribute('tabindex', '-1');
|
440
440
|
}
|
441
441
|
// <li> elements should not themselves be tabbable
|
442
|
-
item.
|
442
|
+
item.removeAttribute('tabindex');
|
443
443
|
}
|
444
444
|
}
|
445
445
|
if (!setZeroTabIndex && __classPrivateFieldGet(this, _SelectPanelElement_instances, "a", _SelectPanelElement_firstItem_get)) {
|
@@ -613,9 +613,9 @@ _SelectPanelElement_handleSearchFieldEvent = function _SelectPanelElement_handle
|
|
613
613
|
}
|
614
614
|
}
|
615
615
|
else if (key === 'ArrowDown') {
|
616
|
-
const item = (this.focusableItem || this.visibleItems[0]);
|
616
|
+
const item = (this.focusableItem || __classPrivateFieldGet(this, _SelectPanelElement_instances, "m", _SelectPanelElement_getItemContent).call(this, this.visibleItems[0]));
|
617
617
|
if (item) {
|
618
|
-
|
618
|
+
item.focus();
|
619
619
|
event.preventDefault();
|
620
620
|
}
|
621
621
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@primer/view-components",
|
3
|
-
"version": "0.31.0-rc.
|
3
|
+
"version": "0.31.0-rc.61d58bdb",
|
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
@@ -4336,9 +4336,9 @@
|
|
4336
4336
|
},
|
4337
4337
|
{
|
4338
4338
|
"name": "prefix",
|
4339
|
-
"type": "
|
4339
|
+
"type": "String",
|
4340
4340
|
"default": "`nil`",
|
4341
|
-
"description": "What to prefix the relative
|
4341
|
+
"description": "What to prefix the relative time display with."
|
4342
4342
|
},
|
4343
4343
|
{
|
4344
4344
|
"name": "second",
|
@@ -4390,7 +4390,7 @@
|
|
4390
4390
|
},
|
4391
4391
|
{
|
4392
4392
|
"name": "threshold",
|
4393
|
-
"type": "
|
4393
|
+
"type": "String",
|
4394
4394
|
"default": "`nil`",
|
4395
4395
|
"description": "The threshold, in ISO-8601 'durations' format, at which relative time displays become absolute."
|
4396
4396
|
},
|
@@ -4414,13 +4414,13 @@
|
|
4414
4414
|
},
|
4415
4415
|
{
|
4416
4416
|
"name": "lang",
|
4417
|
-
"type": "
|
4417
|
+
"type": "String",
|
4418
4418
|
"default": "`nil`",
|
4419
4419
|
"description": "The language to use."
|
4420
4420
|
},
|
4421
4421
|
{
|
4422
4422
|
"name": "title",
|
4423
|
-
"type": "
|
4423
|
+
"type": "String",
|
4424
4424
|
"default": "`nil`",
|
4425
4425
|
"description": "Provide a custom title to the element."
|
4426
4426
|
},
|
package/static/info_arch.json
CHANGED
@@ -15364,9 +15364,9 @@
|
|
15364
15364
|
},
|
15365
15365
|
{
|
15366
15366
|
"name": "prefix",
|
15367
|
-
"type": "
|
15367
|
+
"type": "String",
|
15368
15368
|
"default": "`nil`",
|
15369
|
-
"description": "What to prefix the relative
|
15369
|
+
"description": "What to prefix the relative time display with."
|
15370
15370
|
},
|
15371
15371
|
{
|
15372
15372
|
"name": "second",
|
@@ -15418,7 +15418,7 @@
|
|
15418
15418
|
},
|
15419
15419
|
{
|
15420
15420
|
"name": "threshold",
|
15421
|
-
"type": "
|
15421
|
+
"type": "String",
|
15422
15422
|
"default": "`nil`",
|
15423
15423
|
"description": "The threshold, in ISO-8601 'durations' format, at which relative time displays become absolute."
|
15424
15424
|
},
|
@@ -15442,13 +15442,13 @@
|
|
15442
15442
|
},
|
15443
15443
|
{
|
15444
15444
|
"name": "lang",
|
15445
|
-
"type": "
|
15445
|
+
"type": "String",
|
15446
15446
|
"default": "`nil`",
|
15447
15447
|
"description": "The language to use."
|
15448
15448
|
},
|
15449
15449
|
{
|
15450
15450
|
"name": "title",
|
15451
|
-
"type": "
|
15451
|
+
"type": "String",
|
15452
15452
|
"default": "`nil`",
|
15453
15453
|
"description": "Provide a custom title to the element."
|
15454
15454
|
},
|