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.
Files changed (87) hide show
  1. package/dist/utils/closestAcrossShadow.js +1 -0
  2. package/docs/components/accordion.html +3 -0
  3. package/docs/components/aside.html +3 -0
  4. package/docs/components/button.html +3 -0
  5. package/docs/components/calendar.html +3 -0
  6. package/docs/components/card.html +3 -0
  7. package/docs/components/chat.html +3 -0
  8. package/docs/components/code-editor.html +3 -0
  9. package/docs/components/color-picker.html +3 -0
  10. package/docs/components/combobox.html +3 -0
  11. package/docs/components/content-slider.html +3 -0
  12. package/docs/components/context.html +3 -0
  13. package/docs/components/dialog.html +3 -0
  14. package/docs/components/dropdown.html +3 -0
  15. package/docs/components/filter-list.html +3 -0
  16. package/docs/components/focus-capture.html +3 -0
  17. package/docs/components/html-editor.html +3 -0
  18. package/docs/components/hybrid-component.html +3 -0
  19. package/docs/components/icon.html +3 -0
  20. package/docs/components/import.html +3 -0
  21. package/docs/components/light-component.html +3 -0
  22. package/docs/components/markdown-editor.html +3 -0
  23. package/docs/components/markdown.html +3 -0
  24. package/docs/components/nav-spacer.html +3 -0
  25. package/docs/components/nav.html +3 -0
  26. package/docs/components/pagination.html +3 -0
  27. package/docs/components/photo-viewer.html +3 -0
  28. package/docs/components/progress.html +3 -0
  29. package/docs/components/resize.html +3 -0
  30. package/docs/components/segmented-control.html +3 -0
  31. package/docs/components/shadow-component.html +3 -0
  32. package/docs/components/show-more.html +3 -0
  33. package/docs/components/slider.html +3 -0
  34. package/docs/components/sortable.html +3 -0
  35. package/docs/components/speech-to-text.html +3 -0
  36. package/docs/components/spinner.html +3 -0
  37. package/docs/components/split.html +3 -0
  38. package/docs/components/table.html +3 -0
  39. package/docs/components/tableControls.html +3 -0
  40. package/docs/components/tableCustomFields.html +3 -0
  41. package/docs/components/tableFetchRecords.html +3 -0
  42. package/docs/components/tableFieldSortHide.html +3 -0
  43. package/docs/components/tablePagination.html +3 -0
  44. package/docs/components/tablePlaceholder.html +3 -0
  45. package/docs/components/tableRecordEditing.html +3 -0
  46. package/docs/components/tableRecordFiltering.html +3 -0
  47. package/docs/components/tableRecordHiding.html +3 -0
  48. package/docs/components/tableRecordSearching.html +3 -0
  49. package/docs/components/tableRecordSelection.html +3 -0
  50. package/docs/components/tableRowControls.html +3 -0
  51. package/docs/components/tableServerSync.html +3 -0
  52. package/docs/components/tableSorting.html +3 -0
  53. package/docs/components/tabs.html +3 -0
  54. package/docs/components/tags.html +3 -0
  55. package/docs/components/text-to-speech.html +3 -0
  56. package/docs/components/theme-select.html +3 -0
  57. package/docs/components/theme-switcher.html +3 -0
  58. package/docs/components/time.html +3 -0
  59. package/docs/components/timestamp.html +3 -0
  60. package/docs/components/toast.html +3 -0
  61. package/docs/components/toggle.html +3 -0
  62. package/docs/components/tree.html +3 -0
  63. package/docs/components/voice-selector.html +3 -0
  64. package/docs/index.html +9 -0
  65. package/docs/src/utils/closestAcrossShadow.js +1 -0
  66. package/docs/utils/closestAcrossShadow.html +549 -0
  67. package/docs/utils/context.html +3 -0
  68. package/docs/utils/cookie.html +3 -0
  69. package/docs/utils/debounce.html +3 -0
  70. package/docs/utils/drag.html +3 -0
  71. package/docs/utils/elevation.html +3 -0
  72. package/docs/utils/formatTimestamp.html +3 -0
  73. package/docs/utils/object.html +3 -0
  74. package/docs/utils/propConverters.html +3 -0
  75. package/docs/utils/sanitizeHtml.html +3 -0
  76. package/docs/utils/string.html +3 -0
  77. package/docs/utils/theme.html +3 -0
  78. package/docs/utils/toTitleCase.html +3 -0
  79. package/docs/utils/type.html +3 -0
  80. package/docs/utils/voice.html +3 -0
  81. package/docs/utils/wait.html +3 -0
  82. package/docs-src/index.page.html +6 -0
  83. package/docs-src/nav.fragment.html +3 -0
  84. package/docs-src/utils/closestAcrossShadow.page.html +49 -0
  85. package/package.json +1 -1
  86. package/src/utils/closestAcrossShadow.js +23 -0
  87. 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;