@primer/view-components 0.24.0-rc.3983392f → 0.24.0-rc.6e282ba6
Sign up to get free protection for your applications and to get access to all the features.
@@ -23,6 +23,8 @@ const updateWhenVisible = (() => {
|
|
23
23
|
return (el) => {
|
24
24
|
// eslint-disable-next-line github/prefer-observers
|
25
25
|
window.addEventListener('resize', updateVisibleAnchors);
|
26
|
+
// eslint-disable-next-line github/prefer-observers
|
27
|
+
window.addEventListener('scroll', updateVisibleAnchors);
|
26
28
|
intersectionObserver || (intersectionObserver = new IntersectionObserver(entries => {
|
27
29
|
for (const entry of entries) {
|
28
30
|
const target = entry.target;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@primer/view-components",
|
3
|
-
"version": "0.24.0-rc.
|
3
|
+
"version": "0.24.0-rc.6e282ba6",
|
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
@@ -3453,6 +3453,19 @@
|
|
3453
3453
|
"color-contrast"
|
3454
3454
|
]
|
3455
3455
|
}
|
3456
|
+
},
|
3457
|
+
{
|
3458
|
+
"preview_path": "primer/alpha/dialog/with_header_filter",
|
3459
|
+
"name": "with_header_filter",
|
3460
|
+
"snapshot": "false",
|
3461
|
+
"skip_rules": {
|
3462
|
+
"wont_fix": [
|
3463
|
+
"region"
|
3464
|
+
],
|
3465
|
+
"will_fix": [
|
3466
|
+
"color-contrast"
|
3467
|
+
]
|
3468
|
+
}
|
3456
3469
|
}
|
3457
3470
|
],
|
3458
3471
|
"subcomponents": [
|
@@ -3514,7 +3527,18 @@
|
|
3514
3527
|
}
|
3515
3528
|
],
|
3516
3529
|
"slots": [
|
3517
|
-
|
3530
|
+
{
|
3531
|
+
"name": "filter",
|
3532
|
+
"description": "Optional filter slot for adding a filter input to the header.",
|
3533
|
+
"parameters": [
|
3534
|
+
{
|
3535
|
+
"name": "system_arguments",
|
3536
|
+
"type": "Hash",
|
3537
|
+
"default": "N/A",
|
3538
|
+
"description": "{{link_to_system_arguments_docs}}"
|
3539
|
+
}
|
3540
|
+
]
|
3541
|
+
}
|
3518
3542
|
],
|
3519
3543
|
"methods": [
|
3520
3544
|
|
@@ -6107,6 +6131,19 @@
|
|
6107
6131
|
"color-contrast"
|
6108
6132
|
]
|
6109
6133
|
}
|
6134
|
+
},
|
6135
|
+
{
|
6136
|
+
"preview_path": "primer/alpha/overlay/in_a_sticky_container",
|
6137
|
+
"name": "in_a_sticky_container",
|
6138
|
+
"snapshot": "false",
|
6139
|
+
"skip_rules": {
|
6140
|
+
"wont_fix": [
|
6141
|
+
"region"
|
6142
|
+
],
|
6143
|
+
"will_fix": [
|
6144
|
+
"color-contrast"
|
6145
|
+
]
|
6146
|
+
}
|
6110
6147
|
}
|
6111
6148
|
],
|
6112
6149
|
"subcomponents": [
|
package/static/previews.json
CHANGED
@@ -3256,6 +3256,19 @@
|
|
3256
3256
|
"color-contrast"
|
3257
3257
|
]
|
3258
3258
|
}
|
3259
|
+
},
|
3260
|
+
{
|
3261
|
+
"preview_path": "primer/alpha/dialog/with_header_filter",
|
3262
|
+
"name": "with_header_filter",
|
3263
|
+
"snapshot": "false",
|
3264
|
+
"skip_rules": {
|
3265
|
+
"wont_fix": [
|
3266
|
+
"region"
|
3267
|
+
],
|
3268
|
+
"will_fix": [
|
3269
|
+
"color-contrast"
|
3270
|
+
]
|
3271
|
+
}
|
3259
3272
|
}
|
3260
3273
|
]
|
3261
3274
|
},
|
@@ -4939,6 +4952,19 @@
|
|
4939
4952
|
"color-contrast"
|
4940
4953
|
]
|
4941
4954
|
}
|
4955
|
+
},
|
4956
|
+
{
|
4957
|
+
"preview_path": "primer/alpha/overlay/in_a_sticky_container",
|
4958
|
+
"name": "in_a_sticky_container",
|
4959
|
+
"snapshot": "false",
|
4960
|
+
"skip_rules": {
|
4961
|
+
"wont_fix": [
|
4962
|
+
"region"
|
4963
|
+
],
|
4964
|
+
"will_fix": [
|
4965
|
+
"color-contrast"
|
4966
|
+
]
|
4967
|
+
}
|
4942
4968
|
}
|
4943
4969
|
]
|
4944
4970
|
},
|