kempo-ui 0.4.26 → 0.4.28
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/dist/utils/closestAcrossShadow.js +1 -0
- package/docs/components/accordion.html +3 -0
- package/docs/components/aside.html +3 -0
- package/docs/components/button.html +3 -0
- package/docs/components/calendar.html +3 -0
- package/docs/components/card.html +3 -0
- package/docs/components/chat.html +3 -0
- package/docs/components/code-editor.html +3 -0
- package/docs/components/color-picker.html +3 -0
- package/docs/components/combobox.html +3 -0
- package/docs/components/content-slider.html +3 -0
- package/docs/components/context.html +3 -0
- package/docs/components/dialog.html +3 -0
- package/docs/components/dropdown.html +3 -0
- package/docs/components/filter-list.html +3 -0
- package/docs/components/focus-capture.html +3 -0
- package/docs/components/html-editor.html +3 -0
- package/docs/components/hybrid-component.html +3 -0
- package/docs/components/icon.html +3 -0
- package/docs/components/import.html +3 -0
- package/docs/components/light-component.html +3 -0
- package/docs/components/markdown-editor.html +3 -0
- package/docs/components/markdown.html +3 -0
- package/docs/components/nav-spacer.html +3 -0
- package/docs/components/nav.html +3 -0
- package/docs/components/pagination.html +3 -0
- package/docs/components/photo-viewer.html +3 -0
- package/docs/components/progress.html +3 -0
- package/docs/components/resize.html +3 -0
- package/docs/components/segmented-control.html +3 -0
- package/docs/components/shadow-component.html +3 -0
- package/docs/components/show-more.html +3 -0
- package/docs/components/slider.html +3 -0
- package/docs/components/sortable.html +3 -0
- package/docs/components/speech-to-text.html +3 -0
- package/docs/components/spinner.html +3 -0
- package/docs/components/split.html +3 -0
- package/docs/components/table.html +3 -0
- package/docs/components/tableControls.html +3 -0
- package/docs/components/tableCustomFields.html +3 -0
- package/docs/components/tableFetchRecords.html +3 -0
- package/docs/components/tableFieldSortHide.html +3 -0
- package/docs/components/tablePagination.html +3 -0
- package/docs/components/tablePlaceholder.html +3 -0
- package/docs/components/tableRecordEditing.html +3 -0
- package/docs/components/tableRecordFiltering.html +3 -0
- package/docs/components/tableRecordHiding.html +3 -0
- package/docs/components/tableRecordSearching.html +3 -0
- package/docs/components/tableRecordSelection.html +3 -0
- package/docs/components/tableRowControls.html +3 -0
- package/docs/components/tableServerSync.html +3 -0
- package/docs/components/tableSorting.html +3 -0
- package/docs/components/tabs.html +3 -0
- package/docs/components/tags.html +3 -0
- package/docs/components/text-to-speech.html +3 -0
- package/docs/components/theme-select.html +3 -0
- package/docs/components/theme-switcher.html +3 -0
- package/docs/components/time.html +3 -0
- package/docs/components/timestamp.html +3 -0
- package/docs/components/toast.html +3 -0
- package/docs/components/toggle.html +3 -0
- package/docs/components/tree.html +3 -0
- package/docs/components/voice-selector.html +3 -0
- package/docs/index.html +9 -0
- package/docs/src/utils/closestAcrossShadow.js +1 -0
- package/docs/utils/closestAcrossShadow.html +549 -0
- package/docs/utils/context.html +3 -0
- package/docs/utils/cookie.html +3 -0
- package/docs/utils/debounce.html +3 -0
- package/docs/utils/drag.html +3 -0
- package/docs/utils/elevation.html +3 -0
- package/docs/utils/formatTimestamp.html +3 -0
- package/docs/utils/object.html +3 -0
- package/docs/utils/propConverters.html +3 -0
- package/docs/utils/sanitizeHtml.html +3 -0
- package/docs/utils/string.html +3 -0
- package/docs/utils/theme.html +3 -0
- package/docs/utils/toTitleCase.html +3 -0
- package/docs/utils/type.html +3 -0
- package/docs/utils/voice.html +3 -0
- package/docs/utils/wait.html +3 -0
- package/docs-src/index.page.html +6 -0
- package/docs-src/nav.fragment.html +3 -0
- package/docs-src/utils/closestAcrossShadow.page.html +49 -0
- package/package.json +1 -1
- package/src/utils/closestAcrossShadow.js +23 -0
- package/tests/utils/closestAcrossShadow.browser-test.js +90 -0
|
@@ -228,6 +228,8 @@
|
|
|
228
228
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
229
229
|
href="../components/button.html"
|
|
230
230
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
231
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
232
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
231
233
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
232
234
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -360,6 +362,7 @@
|
|
|
360
362
|
|
|
361
363
|
<h5 class="mb0">Utils</h5>
|
|
362
364
|
<div class="pl mb">
|
|
365
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
363
366
|
<a href="../utils/cookie.html">cookie</a>
|
|
364
367
|
<a href="../utils/context.html">context</a>
|
|
365
368
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -228,6 +228,8 @@
|
|
|
228
228
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
229
229
|
href="../components/button.html"
|
|
230
230
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
231
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
232
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
231
233
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
232
234
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -360,6 +362,7 @@
|
|
|
360
362
|
|
|
361
363
|
<h5 class="mb0">Utils</h5>
|
|
362
364
|
<div class="pl mb">
|
|
365
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
363
366
|
<a href="../utils/cookie.html">cookie</a>
|
|
364
367
|
<a href="../utils/context.html">context</a>
|
|
365
368
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -228,6 +228,8 @@
|
|
|
228
228
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
229
229
|
href="../components/button.html"
|
|
230
230
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
231
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
232
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
231
233
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
232
234
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -360,6 +362,7 @@
|
|
|
360
362
|
|
|
361
363
|
<h5 class="mb0">Utils</h5>
|
|
362
364
|
<div class="pl mb">
|
|
365
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
363
366
|
<a href="../utils/cookie.html">cookie</a>
|
|
364
367
|
<a href="../utils/context.html">context</a>
|
|
365
368
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -228,6 +228,8 @@
|
|
|
228
228
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
229
229
|
href="../components/button.html"
|
|
230
230
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
231
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
232
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
231
233
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
232
234
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -360,6 +362,7 @@
|
|
|
360
362
|
|
|
361
363
|
<h5 class="mb0">Utils</h5>
|
|
362
364
|
<div class="pl mb">
|
|
365
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
363
366
|
<a href="../utils/cookie.html">cookie</a>
|
|
364
367
|
<a href="../utils/context.html">context</a>
|
|
365
368
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -266,6 +266,8 @@
|
|
|
266
266
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
267
267
|
href="../components/button.html"
|
|
268
268
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
269
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
270
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
269
271
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
270
272
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
271
273
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -398,6 +400,7 @@
|
|
|
398
400
|
|
|
399
401
|
<h5 class="mb0">Utils</h5>
|
|
400
402
|
<div class="pl mb">
|
|
403
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
401
404
|
<a href="../utils/cookie.html">cookie</a>
|
|
402
405
|
<a href="../utils/context.html">context</a>
|
|
403
406
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -266,6 +266,8 @@
|
|
|
266
266
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
267
267
|
href="../components/button.html"
|
|
268
268
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
269
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
270
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
269
271
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
270
272
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
271
273
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -398,6 +400,7 @@
|
|
|
398
400
|
|
|
399
401
|
<h5 class="mb0">Utils</h5>
|
|
400
402
|
<div class="pl mb">
|
|
403
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
401
404
|
<a href="../utils/cookie.html">cookie</a>
|
|
402
405
|
<a href="../utils/context.html">context</a>
|
|
403
406
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -267,6 +267,8 @@
|
|
|
267
267
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
268
268
|
href="../components/button.html"
|
|
269
269
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
270
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
271
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
270
272
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
271
273
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
272
274
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -399,6 +401,7 @@
|
|
|
399
401
|
|
|
400
402
|
<h5 class="mb0">Utils</h5>
|
|
401
403
|
<div class="pl mb">
|
|
404
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
402
405
|
<a href="../utils/cookie.html">cookie</a>
|
|
403
406
|
<a href="../utils/context.html">context</a>
|
|
404
407
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -267,6 +267,8 @@
|
|
|
267
267
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
268
268
|
href="../components/button.html"
|
|
269
269
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
270
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
271
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
270
272
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
271
273
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
272
274
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -399,6 +401,7 @@
|
|
|
399
401
|
|
|
400
402
|
<h5 class="mb0">Utils</h5>
|
|
401
403
|
<div class="pl mb">
|
|
404
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
402
405
|
<a href="../utils/cookie.html">cookie</a>
|
|
403
406
|
<a href="../utils/context.html">context</a>
|
|
404
407
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -266,6 +266,8 @@
|
|
|
266
266
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
267
267
|
href="../components/button.html"
|
|
268
268
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
269
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
270
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
269
271
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
270
272
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
271
273
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -398,6 +400,7 @@
|
|
|
398
400
|
|
|
399
401
|
<h5 class="mb0">Utils</h5>
|
|
400
402
|
<div class="pl mb">
|
|
403
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
401
404
|
<a href="../utils/cookie.html">cookie</a>
|
|
402
405
|
<a href="../utils/context.html">context</a>
|
|
403
406
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -230,6 +230,8 @@
|
|
|
230
230
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
231
231
|
href="../components/button.html"
|
|
232
232
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
233
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
234
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
234
236
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
235
237
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -362,6 +364,7 @@
|
|
|
362
364
|
|
|
363
365
|
<h5 class="mb0">Utils</h5>
|
|
364
366
|
<div class="pl mb">
|
|
367
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
365
368
|
<a href="../utils/cookie.html">cookie</a>
|
|
366
369
|
<a href="../utils/context.html">context</a>
|
|
367
370
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -266,6 +266,8 @@
|
|
|
266
266
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
267
267
|
href="../components/button.html"
|
|
268
268
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
269
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
270
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
269
271
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
270
272
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
271
273
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -398,6 +400,7 @@
|
|
|
398
400
|
|
|
399
401
|
<h5 class="mb0">Utils</h5>
|
|
400
402
|
<div class="pl mb">
|
|
403
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
401
404
|
<a href="../utils/cookie.html">cookie</a>
|
|
402
405
|
<a href="../utils/context.html">context</a>
|
|
403
406
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -267,6 +267,8 @@
|
|
|
267
267
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
268
268
|
href="../components/button.html"
|
|
269
269
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
270
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
271
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
270
272
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
271
273
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
272
274
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -399,6 +401,7 @@
|
|
|
399
401
|
|
|
400
402
|
<h5 class="mb0">Utils</h5>
|
|
401
403
|
<div class="pl mb">
|
|
404
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
402
405
|
<a href="../utils/cookie.html">cookie</a>
|
|
403
406
|
<a href="../utils/context.html">context</a>
|
|
404
407
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -266,6 +266,8 @@
|
|
|
266
266
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
267
267
|
href="../components/button.html"
|
|
268
268
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
269
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
270
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
269
271
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
270
272
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
271
273
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -398,6 +400,7 @@
|
|
|
398
400
|
|
|
399
401
|
<h5 class="mb0">Utils</h5>
|
|
400
402
|
<div class="pl mb">
|
|
403
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
401
404
|
<a href="../utils/cookie.html">cookie</a>
|
|
402
405
|
<a href="../utils/context.html">context</a>
|
|
403
406
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -267,6 +267,8 @@
|
|
|
267
267
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
268
268
|
href="../components/button.html"
|
|
269
269
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
270
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
271
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
270
272
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
271
273
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
272
274
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -399,6 +401,7 @@
|
|
|
399
401
|
|
|
400
402
|
<h5 class="mb0">Utils</h5>
|
|
401
403
|
<div class="pl mb">
|
|
404
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
402
405
|
<a href="../utils/cookie.html">cookie</a>
|
|
403
406
|
<a href="../utils/context.html">context</a>
|
|
404
407
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -266,6 +266,8 @@
|
|
|
266
266
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
267
267
|
href="../components/button.html"
|
|
268
268
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
269
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
270
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
269
271
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
270
272
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
271
273
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -398,6 +400,7 @@
|
|
|
398
400
|
|
|
399
401
|
<h5 class="mb0">Utils</h5>
|
|
400
402
|
<div class="pl mb">
|
|
403
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
401
404
|
<a href="../utils/cookie.html">cookie</a>
|
|
402
405
|
<a href="../utils/context.html">context</a>
|
|
403
406
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -266,6 +266,8 @@
|
|
|
266
266
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
267
267
|
href="../components/button.html"
|
|
268
268
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
269
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
270
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
269
271
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
270
272
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
271
273
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -398,6 +400,7 @@
|
|
|
398
400
|
|
|
399
401
|
<h5 class="mb0">Utils</h5>
|
|
400
402
|
<div class="pl mb">
|
|
403
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
401
404
|
<a href="../utils/cookie.html">cookie</a>
|
|
402
405
|
<a href="../utils/context.html">context</a>
|
|
403
406
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -266,6 +266,8 @@
|
|
|
266
266
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
267
267
|
href="../components/button.html"
|
|
268
268
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
269
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
270
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
269
271
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
270
272
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
271
273
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -398,6 +400,7 @@
|
|
|
398
400
|
|
|
399
401
|
<h5 class="mb0">Utils</h5>
|
|
400
402
|
<div class="pl mb">
|
|
403
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
401
404
|
<a href="../utils/cookie.html">cookie</a>
|
|
402
405
|
<a href="../utils/context.html">context</a>
|
|
403
406
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -267,6 +267,8 @@
|
|
|
267
267
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
268
268
|
href="../components/button.html"
|
|
269
269
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
270
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
271
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
270
272
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
271
273
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
272
274
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -399,6 +401,7 @@
|
|
|
399
401
|
|
|
400
402
|
<h5 class="mb0">Utils</h5>
|
|
401
403
|
<div class="pl mb">
|
|
404
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
402
405
|
<a href="../utils/cookie.html">cookie</a>
|
|
403
406
|
<a href="../utils/context.html">context</a>
|
|
404
407
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -228,6 +228,8 @@
|
|
|
228
228
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
229
229
|
href="../components/button.html"
|
|
230
230
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
231
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
232
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
231
233
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
232
234
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -360,6 +362,7 @@
|
|
|
360
362
|
|
|
361
363
|
<h5 class="mb0">Utils</h5>
|
|
362
364
|
<div class="pl mb">
|
|
365
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
363
366
|
<a href="../utils/cookie.html">cookie</a>
|
|
364
367
|
<a href="../utils/context.html">context</a>
|
|
365
368
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -228,6 +228,8 @@
|
|
|
228
228
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
229
229
|
href="../components/button.html"
|
|
230
230
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
231
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
232
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
231
233
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
232
234
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -360,6 +362,7 @@
|
|
|
360
362
|
|
|
361
363
|
<h5 class="mb0">Utils</h5>
|
|
362
364
|
<div class="pl mb">
|
|
365
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
363
366
|
<a href="../utils/cookie.html">cookie</a>
|
|
364
367
|
<a href="../utils/context.html">context</a>
|
|
365
368
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -228,6 +228,8 @@
|
|
|
228
228
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
229
229
|
href="../components/button.html"
|
|
230
230
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
231
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
232
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
231
233
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
232
234
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -360,6 +362,7 @@
|
|
|
360
362
|
|
|
361
363
|
<h5 class="mb0">Utils</h5>
|
|
362
364
|
<div class="pl mb">
|
|
365
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
363
366
|
<a href="../utils/cookie.html">cookie</a>
|
|
364
367
|
<a href="../utils/context.html">context</a>
|
|
365
368
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -228,6 +228,8 @@
|
|
|
228
228
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
229
229
|
href="../components/button.html"
|
|
230
230
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
231
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
232
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
231
233
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
232
234
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -360,6 +362,7 @@
|
|
|
360
362
|
|
|
361
363
|
<h5 class="mb0">Utils</h5>
|
|
362
364
|
<div class="pl mb">
|
|
365
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
363
366
|
<a href="../utils/cookie.html">cookie</a>
|
|
364
367
|
<a href="../utils/context.html">context</a>
|
|
365
368
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -228,6 +228,8 @@
|
|
|
228
228
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
229
229
|
href="../components/button.html"
|
|
230
230
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
231
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
232
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
231
233
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
232
234
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -360,6 +362,7 @@
|
|
|
360
362
|
|
|
361
363
|
<h5 class="mb0">Utils</h5>
|
|
362
364
|
<div class="pl mb">
|
|
365
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
363
366
|
<a href="../utils/cookie.html">cookie</a>
|
|
364
367
|
<a href="../utils/context.html">context</a>
|
|
365
368
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -228,6 +228,8 @@
|
|
|
228
228
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
229
229
|
href="../components/button.html"
|
|
230
230
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
231
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
232
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
231
233
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
232
234
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -360,6 +362,7 @@
|
|
|
360
362
|
|
|
361
363
|
<h5 class="mb0">Utils</h5>
|
|
362
364
|
<div class="pl mb">
|
|
365
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
363
366
|
<a href="../utils/cookie.html">cookie</a>
|
|
364
367
|
<a href="../utils/context.html">context</a>
|
|
365
368
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -228,6 +228,8 @@
|
|
|
228
228
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
229
229
|
href="../components/button.html"
|
|
230
230
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
231
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
232
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
231
233
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
232
234
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -360,6 +362,7 @@
|
|
|
360
362
|
|
|
361
363
|
<h5 class="mb0">Utils</h5>
|
|
362
364
|
<div class="pl mb">
|
|
365
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
363
366
|
<a href="../utils/cookie.html">cookie</a>
|
|
364
367
|
<a href="../utils/context.html">context</a>
|
|
365
368
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -228,6 +228,8 @@
|
|
|
228
228
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
229
229
|
href="../components/button.html"
|
|
230
230
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
231
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
232
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
231
233
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
232
234
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -360,6 +362,7 @@
|
|
|
360
362
|
|
|
361
363
|
<h5 class="mb0">Utils</h5>
|
|
362
364
|
<div class="pl mb">
|
|
365
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
363
366
|
<a href="../utils/cookie.html">cookie</a>
|
|
364
367
|
<a href="../utils/context.html">context</a>
|
|
365
368
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -228,6 +228,8 @@
|
|
|
228
228
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
229
229
|
href="../components/button.html"
|
|
230
230
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
231
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
232
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
231
233
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
232
234
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -360,6 +362,7 @@
|
|
|
360
362
|
|
|
361
363
|
<h5 class="mb0">Utils</h5>
|
|
362
364
|
<div class="pl mb">
|
|
365
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
363
366
|
<a href="../utils/cookie.html">cookie</a>
|
|
364
367
|
<a href="../utils/context.html">context</a>
|
|
365
368
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -228,6 +228,8 @@
|
|
|
228
228
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
229
229
|
href="../components/button.html"
|
|
230
230
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
231
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
232
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
231
233
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
232
234
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -360,6 +362,7 @@
|
|
|
360
362
|
|
|
361
363
|
<h5 class="mb0">Utils</h5>
|
|
362
364
|
<div class="pl mb">
|
|
365
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
363
366
|
<a href="../utils/cookie.html">cookie</a>
|
|
364
367
|
<a href="../utils/context.html">context</a>
|
|
365
368
|
<a href="../utils/debounce.html">debounce</a>
|
|
@@ -228,6 +228,8 @@
|
|
|
228
228
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
229
229
|
href="../components/button.html"
|
|
230
230
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
231
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
232
|
+
href="../utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
231
233
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
232
234
|
href="../utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -360,6 +362,7 @@
|
|
|
360
362
|
|
|
361
363
|
<h5 class="mb0">Utils</h5>
|
|
362
364
|
<div class="pl mb">
|
|
365
|
+
<a href="../utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
363
366
|
<a href="../utils/cookie.html">cookie</a>
|
|
364
367
|
<a href="../utils/context.html">context</a>
|
|
365
368
|
<a href="../utils/debounce.html">debounce</a>
|
package/docs/index.html
CHANGED
|
@@ -228,6 +228,8 @@
|
|
|
228
228
|
<k-filter-item filter-keywords="button base component keyboard disabled accessibility"><a
|
|
229
229
|
href="./components/button.html"
|
|
230
230
|
>Button<br><small>Base Component</small></a></k-filter-item>
|
|
231
|
+
<k-filter-item filter-keywords="closestAcrossShadow closest shadow dom utils utility"><a
|
|
232
|
+
href="./utils/closestAcrossShadow.html">closestAcrossShadow<br><small>Utility</small></a></k-filter-item>
|
|
231
233
|
<k-filter-item filter-keywords="cookie utils utility"><a
|
|
232
234
|
href="./utils/cookie.html">cookie<br><small>Utility</small></a></k-filter-item>
|
|
233
235
|
<k-filter-item filter-keywords="context utils utility"><a
|
|
@@ -360,6 +362,7 @@
|
|
|
360
362
|
|
|
361
363
|
<h5 class="mb0">Utils</h5>
|
|
362
364
|
<div class="pl mb">
|
|
365
|
+
<a href="./utils/closestAcrossShadow.html">closestAcrossShadow</a>
|
|
363
366
|
<a href="./utils/cookie.html">cookie</a>
|
|
364
367
|
<a href="./utils/context.html">context</a>
|
|
365
368
|
<a href="./utils/debounce.html">debounce</a>
|
|
@@ -812,6 +815,12 @@
|
|
|
812
815
|
|
|
813
816
|
<h2>Utils</h2>
|
|
814
817
|
<div class="row -mx">
|
|
818
|
+
<div class="span-12 t-span-6 d-span-4 px">
|
|
819
|
+
<a href="./utils/closestAcrossShadow.html" class="card mb no-link d-b">
|
|
820
|
+
<h3 class="tc-primary">closestAcrossShadow</h3>
|
|
821
|
+
<p class="tc-muted">closest() that walks past shadow-DOM boundaries to find an ancestor.</p>
|
|
822
|
+
</a>
|
|
823
|
+
</div>
|
|
815
824
|
<div class="span-12 t-span-6 d-span-4 px">
|
|
816
825
|
<a href="./utils/cookie.html" class="card mb no-link d-b">
|
|
817
826
|
<h3 class="tc-primary">cookie</h3>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const closestAcrossShadow=(o,t)=>{let s=o;for(;s;){const o=s.closest?.(t);if(o)return o;const e=s.getRootNode();s=e instanceof ShadowRoot?e.host:null}return null};export default closestAcrossShadow;
|