UNPKG

@progress/kendo-react-common

Version:

React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package

33 lines (32 loc) 1.24 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ const d = /\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g, t = ":not(.k-dropdownlist button):not(.k-colorpicker button):not(.k-numerictextbox button):not(.k-split-button .k-split-button-arrow)", o = ":not(.k-dropdownlist select)", n = [ "input:not([disabled]):not([type=hidden])", "select:not([disabled]):not(.k-dropdownlist select)", "textarea:not([disabled])", `button:not([disabled])${t}`, "a[href]", "area[href]", "summary", "iframe", "object", "embed", "audio[controls]", "video[controls]", "[contenteditable]" ], s = [...n, `[tabindex]${t}${o}`], E = [...n, `[tabindex]${t}${o}`].map( (e) => e + ':not([tabindex="-1"])' ), i = 500, c = 768; export { c as ADAPTIVE_MEDIUM_BREAKPOINT, i as ADAPTIVE_SMALL_BREAKPOINT, d as FIELD_REGEX, s as FOCUSABLE_ELEMENTS, n as FOCUSABLE_ELEMENTS_BASE, E as TABBABLE_ELEMENTS };