@salutejs/plasma-new-hope 0.340.0-canary.2305.18873573377.0 → 0.340.0-canary.2314.19038910206.0
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/cjs/components/Combobox/ComboboxNew/Combobox.css +19 -0
 - package/cjs/components/Combobox/ComboboxNew/Combobox.js +78 -15
 - package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
 - package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
 - package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
 - package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js +8 -2
 - package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
 - package/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +319 -1
 - package/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
 - package/cjs/components/Combobox/ComboboxNew/reducers/focusedPathReducer.js +7 -0
 - package/cjs/components/Combobox/ComboboxNew/reducers/focusedPathReducer.js.map +1 -1
 - package/cjs/components/Combobox/ComboboxNew/reducers/treePathReducer.js +135 -0
 - package/cjs/components/Combobox/ComboboxNew/reducers/treePathReducer.js.map +1 -0
 - package/cjs/components/Combobox/ComboboxNew/ui/TreeList/TreeList.css +57 -0
 - package/cjs/components/Combobox/ComboboxNew/ui/TreeList/TreeList.js +96 -0
 - package/cjs/components/Combobox/ComboboxNew/ui/TreeList/TreeList.js.map +1 -0
 - package/cjs/components/Combobox/ComboboxNew/ui/TreeList/TreeList.styles.js +30 -0
 - package/cjs/components/Combobox/ComboboxNew/ui/TreeList/TreeList.styles.js.map +1 -0
 - package/cjs/components/Combobox/ComboboxNew/ui/TreeList/TreeList.styles_1auklgl.css +2 -0
 - package/cjs/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.css +54 -0
 - package/cjs/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.js +144 -0
 - package/cjs/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.js.map +1 -0
 - package/cjs/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.styles.js +205 -0
 - package/cjs/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.styles.js.map +1 -0
 - package/cjs/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.styles_7nhjnm.css +15 -0
 - package/cjs/components/Select/Select.js +2 -1
 - package/cjs/components/Select/Select.js.map +1 -1
 - package/cjs/components/Select/hooks/useKeyboardNavigation.js +127 -38
 - package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
 - package/cjs/components/Select/reducers/focusedPathReducer.js +7 -0
 - package/cjs/components/Select/reducers/focusedPathReducer.js.map +1 -1
 - package/cjs/components/Select/reducers/treePathReducer.js +12 -0
 - package/cjs/components/Select/reducers/treePathReducer.js.map +1 -1
 - package/cjs/components/Select/ui/TreeList/TreeList.js +3 -3
 - package/cjs/components/Select/ui/TreeList/TreeList.js.map +1 -1
 - package/cjs/components/Select/ui/TreeList/ui/Item/Item.js +22 -5
 - package/cjs/components/Select/ui/TreeList/ui/Item/Item.js.map +1 -1
 - package/cjs/index.css +19 -0
 - package/cjs/index.js +2 -0
 - package/cjs/index.js.map +1 -1
 - package/cjs/utils/index.js.map +1 -1
 - package/cjs/utils/isArraysEqual.js +12 -0
 - package/cjs/utils/isArraysEqual.js.map +1 -0
 - package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +66 -13
 - package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
 - package/emotion/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js +35 -3
 - package/emotion/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +312 -0
 - package/emotion/cjs/components/Combobox/ComboboxNew/reducers/focusedPathReducer.js +7 -0
 - package/emotion/cjs/components/Combobox/ComboboxNew/reducers/index.js +1 -0
 - package/emotion/cjs/components/Combobox/ComboboxNew/reducers/treePathReducer.js +152 -0
 - package/emotion/cjs/components/Combobox/ComboboxNew/ui/TreeList/TreeList.js +130 -0
 - package/emotion/cjs/components/Combobox/ComboboxNew/ui/TreeList/TreeList.styles.js +36 -0
 - package/emotion/cjs/components/Combobox/ComboboxNew/ui/TreeList/TreeList.types.js +4 -0
 - package/emotion/cjs/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.js +192 -0
 - package/emotion/cjs/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.styles.js +183 -0
 - package/emotion/cjs/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.types.js +4 -0
 - package/emotion/cjs/components/Combobox/ComboboxNew/ui/index.js +1 -0
 - package/emotion/cjs/components/Select/Select.js +2 -1
 - package/emotion/cjs/components/Select/hooks/useKeyboardNavigation.js +156 -44
 - package/emotion/cjs/components/Select/reducers/focusedPathReducer.js +7 -0
 - package/emotion/cjs/components/Select/reducers/treePathReducer.js +12 -0
 - package/emotion/cjs/components/Select/ui/TreeList/TreeList.js +7 -3
 - package/emotion/cjs/components/Select/ui/TreeList/ui/Item/Item.js +49 -5
 - package/emotion/cjs/examples/components/Combobox/Combobox.config.js +15 -15
 - package/emotion/cjs/utils/index.js +4 -0
 - package/emotion/cjs/utils/isArraysEqual.js +15 -0
 - package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +68 -15
 - package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
 - package/emotion/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js +35 -3
 - package/emotion/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +313 -0
 - package/emotion/es/components/Combobox/ComboboxNew/reducers/focusedPathReducer.js +7 -0
 - package/emotion/es/components/Combobox/ComboboxNew/reducers/index.js +1 -0
 - package/emotion/es/components/Combobox/ComboboxNew/reducers/treePathReducer.js +135 -0
 - package/emotion/es/components/Combobox/ComboboxNew/ui/TreeList/TreeList.js +79 -0
 - package/emotion/es/components/Combobox/ComboboxNew/ui/TreeList/TreeList.styles.js +13 -0
 - package/emotion/es/components/Combobox/ComboboxNew/ui/TreeList/TreeList.types.js +1 -0
 - package/emotion/es/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.js +141 -0
 - package/emotion/es/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.styles.js +119 -0
 - package/emotion/es/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.types.js +1 -0
 - package/emotion/es/components/Combobox/ComboboxNew/ui/index.js +1 -0
 - package/emotion/es/components/Select/Select.js +2 -1
 - package/emotion/es/components/Select/hooks/useKeyboardNavigation.js +157 -44
 - package/emotion/es/components/Select/reducers/focusedPathReducer.js +7 -0
 - package/emotion/es/components/Select/reducers/treePathReducer.js +12 -0
 - package/emotion/es/components/Select/ui/TreeList/TreeList.js +7 -3
 - package/emotion/es/components/Select/ui/TreeList/ui/Item/Item.js +50 -6
 - package/emotion/es/examples/components/Combobox/Combobox.config.js +15 -15
 - package/emotion/es/utils/index.js +1 -0
 - package/emotion/es/utils/isArraysEqual.js +5 -0
 - package/es/components/Combobox/ComboboxNew/Combobox.css +19 -0
 - package/es/components/Combobox/ComboboxNew/Combobox.js +79 -16
 - package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
 - package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
 - package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
 - package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js +8 -2
 - package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
 - package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +319 -1
 - package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
 - package/es/components/Combobox/ComboboxNew/reducers/focusedPathReducer.js +7 -0
 - package/es/components/Combobox/ComboboxNew/reducers/focusedPathReducer.js.map +1 -1
 - package/es/components/Combobox/ComboboxNew/reducers/treePathReducer.js +130 -0
 - package/es/components/Combobox/ComboboxNew/reducers/treePathReducer.js.map +1 -0
 - package/es/components/Combobox/ComboboxNew/ui/TreeList/TreeList.css +57 -0
 - package/es/components/Combobox/ComboboxNew/ui/TreeList/TreeList.js +88 -0
 - package/es/components/Combobox/ComboboxNew/ui/TreeList/TreeList.js.map +1 -0
 - package/es/components/Combobox/ComboboxNew/ui/TreeList/TreeList.styles.js +25 -0
 - package/es/components/Combobox/ComboboxNew/ui/TreeList/TreeList.styles.js.map +1 -0
 - package/es/components/Combobox/ComboboxNew/ui/TreeList/TreeList.styles_1auklgl.css +2 -0
 - package/es/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.css +54 -0
 - package/es/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.js +136 -0
 - package/es/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.js.map +1 -0
 - package/es/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.styles.js +187 -0
 - package/es/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.styles.js.map +1 -0
 - package/es/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.styles_7nhjnm.css +15 -0
 - package/es/components/Select/Select.js +2 -1
 - package/es/components/Select/Select.js.map +1 -1
 - package/es/components/Select/hooks/useKeyboardNavigation.js +127 -38
 - package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
 - package/es/components/Select/reducers/focusedPathReducer.js +7 -0
 - package/es/components/Select/reducers/focusedPathReducer.js.map +1 -1
 - package/es/components/Select/reducers/treePathReducer.js +12 -0
 - package/es/components/Select/reducers/treePathReducer.js.map +1 -1
 - package/es/components/Select/ui/TreeList/TreeList.js +3 -3
 - package/es/components/Select/ui/TreeList/TreeList.js.map +1 -1
 - package/es/components/Select/ui/TreeList/ui/Item/Item.js +23 -6
 - package/es/components/Select/ui/TreeList/ui/Item/Item.js.map +1 -1
 - package/es/index.css +19 -0
 - package/es/index.js +1 -0
 - package/es/index.js.map +1 -1
 - package/es/utils/index.js.map +1 -1
 - package/es/utils/isArraysEqual.js +8 -0
 - package/es/utils/isArraysEqual.js.map +1 -0
 - package/package.json +4 -4
 - package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +66 -13
 - package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
 - package/styled-components/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js +35 -3
 - package/styled-components/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +312 -0
 - package/styled-components/cjs/components/Combobox/ComboboxNew/reducers/focusedPathReducer.js +7 -0
 - package/styled-components/cjs/components/Combobox/ComboboxNew/reducers/index.js +1 -0
 - package/styled-components/cjs/components/Combobox/ComboboxNew/reducers/treePathReducer.js +152 -0
 - package/styled-components/cjs/components/Combobox/ComboboxNew/ui/TreeList/TreeList.js +130 -0
 - package/styled-components/cjs/components/Combobox/ComboboxNew/ui/TreeList/TreeList.styles.js +50 -0
 - package/styled-components/cjs/components/Combobox/ComboboxNew/ui/TreeList/TreeList.types.js +4 -0
 - package/styled-components/cjs/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.js +192 -0
 - package/styled-components/cjs/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.styles.js +296 -0
 - package/styled-components/cjs/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.types.js +4 -0
 - package/styled-components/cjs/components/Combobox/ComboboxNew/ui/index.js +1 -0
 - package/styled-components/cjs/components/Select/Select.js +2 -1
 - package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +156 -44
 - package/styled-components/cjs/components/Select/reducers/focusedPathReducer.js +7 -0
 - package/styled-components/cjs/components/Select/reducers/treePathReducer.js +12 -0
 - package/styled-components/cjs/components/Select/ui/TreeList/TreeList.js +7 -3
 - package/styled-components/cjs/components/Select/ui/TreeList/ui/Item/Item.js +49 -5
 - package/styled-components/cjs/examples/components/Combobox/Combobox.config.js +12 -4
 - package/styled-components/cjs/utils/index.js +4 -0
 - package/styled-components/cjs/utils/isArraysEqual.js +15 -0
 - package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +68 -15
 - package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
 - package/styled-components/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js +35 -3
 - package/styled-components/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +313 -0
 - package/styled-components/es/components/Combobox/ComboboxNew/reducers/focusedPathReducer.js +7 -0
 - package/styled-components/es/components/Combobox/ComboboxNew/reducers/index.js +1 -0
 - package/styled-components/es/components/Combobox/ComboboxNew/reducers/treePathReducer.js +135 -0
 - package/styled-components/es/components/Combobox/ComboboxNew/ui/TreeList/TreeList.js +79 -0
 - package/styled-components/es/components/Combobox/ComboboxNew/ui/TreeList/TreeList.styles.js +27 -0
 - package/styled-components/es/components/Combobox/ComboboxNew/ui/TreeList/TreeList.types.js +1 -0
 - package/styled-components/es/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.js +141 -0
 - package/styled-components/es/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.styles.js +232 -0
 - package/styled-components/es/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.types.js +1 -0
 - package/styled-components/es/components/Combobox/ComboboxNew/ui/index.js +1 -0
 - package/styled-components/es/components/Select/Select.js +2 -1
 - package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +157 -44
 - package/styled-components/es/components/Select/reducers/focusedPathReducer.js +7 -0
 - package/styled-components/es/components/Select/reducers/treePathReducer.js +12 -0
 - package/styled-components/es/components/Select/ui/TreeList/TreeList.js +7 -3
 - package/styled-components/es/components/Select/ui/TreeList/ui/Item/Item.js +50 -6
 - package/styled-components/es/examples/components/Combobox/Combobox.config.js +12 -4
 - package/styled-components/es/examples/components/Combobox/Combobox.js +0 -7
 - package/styled-components/es/utils/index.js +1 -0
 - package/styled-components/es/utils/isArraysEqual.js +5 -0
 - package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
 - package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +2 -0
 - package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
 - package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +17 -3
 - package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
 - package/types/components/Combobox/ComboboxNew/hooks/getPathMaps.d.ts +2 -1
 - package/types/components/Combobox/ComboboxNew/hooks/getPathMaps.d.ts.map +1 -1
 - package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts +7 -2
 - package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts.map +1 -1
 - package/types/components/Combobox/ComboboxNew/reducers/focusedPathReducer.d.ts +3 -0
 - package/types/components/Combobox/ComboboxNew/reducers/focusedPathReducer.d.ts.map +1 -1
 - package/types/components/Combobox/ComboboxNew/reducers/index.d.ts +1 -0
 - package/types/components/Combobox/ComboboxNew/reducers/index.d.ts.map +1 -1
 - package/types/components/Combobox/ComboboxNew/reducers/treePathReducer.d.ts +24 -0
 - package/types/components/Combobox/ComboboxNew/reducers/treePathReducer.d.ts.map +1 -0
 - package/types/components/Combobox/ComboboxNew/ui/TreeList/TreeList.d.ts +4 -0
 - package/types/components/Combobox/ComboboxNew/ui/TreeList/TreeList.d.ts.map +1 -0
 - package/types/components/Combobox/ComboboxNew/ui/TreeList/TreeList.styles.d.ts +6 -0
 - package/types/components/Combobox/ComboboxNew/ui/TreeList/TreeList.styles.d.ts.map +1 -0
 - package/types/components/Combobox/ComboboxNew/ui/TreeList/TreeList.types.d.ts +11 -0
 - package/types/components/Combobox/ComboboxNew/ui/TreeList/TreeList.types.d.ts.map +1 -0
 - package/types/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.d.ts +4 -0
 - package/types/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.d.ts.map +1 -0
 - package/types/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.styles.d.ts +62 -0
 - package/types/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.styles.d.ts.map +1 -0
 - package/types/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.types.d.ts +6 -0
 - package/types/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.types.d.ts.map +1 -0
 - package/types/components/Combobox/ComboboxNew/ui/index.d.ts +1 -0
 - package/types/components/Combobox/ComboboxNew/ui/index.d.ts.map +1 -1
 - package/types/components/Select/Select.d.ts.map +1 -1
 - package/types/components/Select/hooks/useKeyboardNavigation.d.ts +2 -1
 - package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
 - package/types/components/Select/reducers/focusedPathReducer.d.ts +3 -0
 - package/types/components/Select/reducers/focusedPathReducer.d.ts.map +1 -1
 - package/types/components/Select/reducers/treePathReducer.d.ts +6 -0
 - package/types/components/Select/reducers/treePathReducer.d.ts.map +1 -1
 - package/types/components/Select/ui/TreeList/ui/Item/Item.d.ts.map +1 -1
 - package/types/components/Select/ui/TreeList/ui/Item/Item.types.d.ts +1 -9
 - package/types/components/Select/ui/TreeList/ui/Item/Item.types.d.ts.map +1 -1
 - package/types/examples/components/Combobox/Combobox.config.d.ts.map +1 -1
 - package/types/examples/components/Combobox/Combobox.d.ts +48 -0
 - package/types/examples/components/Combobox/Combobox.d.ts.map +1 -1
 - package/types/utils/index.d.ts +1 -0
 - package/types/utils/index.d.ts.map +1 -1
 - package/types/utils/isArraysEqual.d.ts +2 -0
 - package/types/utils/isArraysEqual.d.ts.map +1 -0
 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"Combobox.tokens.js","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tokens.ts"],"sourcesContent":["export const classes = {\n    dropdownItemIsFocused: 'dropdown-item-is-focused',\n    dropdownItemIsDisabled: 'dropdown-item-is-disabled',\n    dropdownItemIsActive: 'dropdown-item-is-active',\n    comboboxTargetArrow: 'combobox-target-arrow',\n    arrowInverse: 'arrow-inverse',\n    textfieldTarget: 'combobox-textfield-target',\n    selectChipIsFocused: 'combobox-chip-is-focused',\n    selectWithoutBoxShadow: 'combobox-without-box-shadow',\n    selectItemCheckbox: 'combobox-item-checkbox',\n    selectSpinner: 'combobox-spinner',\n    emptyStateWrapper: 'combobox-empty-state-wrapper',\n};\n\nexport const tokens = {\n    borderRadius: '--plasma-combobox-border-radius',\n    padding: '--plasma-combobox-padding',\n    margin: '--plasma-combobox-margin',\n    focusOffset: '--plasma-combobox-focus-offset',\n\n    fontFamily: '--plasma-combobox-font-family',\n    fontSize: '--plasma-combobox-font-size',\n    fontStyle: '--plasma-combobox-font-style',\n    fontWeight: '--plasma-combobox-font-weight',\n    fontLetterSpacing: '--plasma-combobox-font-letter-spacing',\n    fontLineHeight: '--plasma-combobox-font-line-height',\n\n    dropdownBorderColor: '--plasma-select-dropdown-border-color',\n    dropdownBorderWidth: '--plasma-select-dropdown-border-width',\n\n    itemHeight: '--plasma-combobox-item-height',\n    itemBorderRadius: '--plasma-combobox-item-border-radius',\n    itemPadding: '--plasma-combobox-item-padding',\n    itemPaddingTight: '--plasma-combobox-item-padding-tight',\n    itemIconSize: '--plasma-combobox-item-icon-size',\n    itemIconSizeTight: '--plasma-combobox-item-icon-size-tight',\n    itemIconMargin: '--plasma-combobox-item-icon-margin',\n    itemBackgroundHover: '--plasma-combobox-item-background-hover',\n    itemIconColor: '--plasma-combobox-item-icon-color',\n\n    cellPadding: '--plasma-combobox-cell-padding',\n    cellPaddingLeftContent: '--plasma-combobox-cell-padding-left-content',\n    cellPaddingContent: '--plasma-combobox-cell-padding-content',\n    cellPaddingRightContent: '--plasma-combobox-cell-padding-right-content',\n    cellTextboxGap: '--plasma-combobox-cell-textbox-gap',\n    cellGap: '--plasma-combobox-cell-gap',\n    cellTitleFontFamily: '--plasma-combobox-cell-title-font-family',\n    cellTitleFontSize: '--plasma-combobox-cell-title-font-size',\n    cellTitleFontStyle: '--plasma-combobox-cell-title-font-style',\n    cellTitleFontWeight: '--plasma-combobox-cell-title-font-weight',\n    cellTitleLetterSpacing: '--plasma-combobox-cell-title-letter-spacing',\n    cellTitleLineHeight: '--plasma-combobox-cell-title-line-height',\n\n    checkboxTriggerSize: '--plasma-combobox-checkbox-trigger-size',\n    checkboxTriggerSizeTight: '--plasma-combobox-checkbox-trigger-size-tight',\n    checkboxTriggerBorderRadius: '--plasma-combobox-checkbox-trigger-border-radius',\n    checkboxTriggerBorderRadiusTight: '--plasma-combobox-checkbox-trigger-border-radius-tight',\n    checkboxFillColor: '--plasma-combobox-checkbox-fill-color',\n    checkboxIconColor: '--plasma-combobox-checkbox-icon-color',\n    checkboxTriggerBorderColor: '--plasma-combobox-checkbox-trigger-border-color',\n    checkboxTriggerBorderCheckedColor: '--plasma-combobox-checkbox-trigger-border-checked-color',\n    checkboxTriggerBorderWidth: '--plasma-combobox-checkbox-trigger-border-width',\n\n    indicatorSize: '--plasma-combobox-indicator-size',\n\n    // Токены для TextField\n    textFieldColor: '--plasma-combobox-new-textfield-color',\n    textFieldClearColor: '--plasma-combobox-new-textfield-clear-color',\n\n    textFieldBackgroundColor: '--plasma-combobox-new-textfield-background-color',\n    textFieldBackgroundColorHover: '--plasma-combobox-new-textfield-background-color-hover',\n    textFieldBackgroundColorFocus: '--plasma-combobox-new-textfield-background-color-focus',\n\n    textFieldBorderColor: '--plasma-combobox-new-textfield-border-color',\n    textFieldBorderColorHover: '--plasma-combobox-new-textfield-border-color-hover',\n    textFieldBorderColorFocus: '--plasma-combobox-new-textfield-border-color-focus',\n\n    textFieldColorReadOnly: '--plasma-combobox-new-textfield-color-readonly',\n    textFieldBackgroundColorReadOnly: '--plasma-combobox-new-textfield-bg-color-readonly',\n    textFieldBorderColorReadOnly: '--plasma-combobox-new-textfield-border-color-readonly',\n    textFieldPlaceholderColorReadOnly: '--plasma-combobox-new-textfield-placeholder-color-readonly',\n\n    textFieldCaretColor: '--plasma-combobox-new-textfield-caret-color',\n    textFieldPlaceholderColor: '--plasma-combobox-new-textfield-placeholder-color',\n    textFieldPlaceholderColorFocus: '--plasma-combobox-new-textfield-placeholder-color-focus',\n    textFieldClearPlaceholderColor: '--plasma-combobox-new-textfield-clear-placeholder-color',\n    textFieldClearPlaceholderColorFocus: '--plasma-combobox-new-textfield-clear-placeholder-color-focus',\n    textFieldOptionalColor: '--plasma-combobox-new-textfield-optional-color',\n\n    textFieldHeight: '--plasma-combobox-new-textfield-height',\n    textFieldBorderWidth: '--plasma-combobox-new-textfield-border-width',\n    textFieldBorderRadius: '--plasma-combobox-new-textfield-border-radius',\n\n    textFieldPadding: '--plasma-combobox-new-textfield-padding',\n    textFieldPaddingWithChips: '--plasma-combobox-new-textfield-padding-with-chips',\n\n    textFieldLeftContentMargin: '--plasma-combobox-new-textfield-left-content-margin',\n    textFieldRightContentMargin: '--plasma-combobox-new-textfield-right-content-margin',\n    textFieldRightContentWithHintMargin: '--plasma-combobox-textfield-right-content-with-hint-margin',\n\n    textFieldContentRightWrapperGap: '--plasma-combobox-textfield-content-right-wrapper-gap',\n    textFieldContentRightWrapperMargin: '--plasma-combobox-textfield-content-right-wrapper-margin',\n\n    textFieldFontFamily: '--plasma-combobox-new-textfield-font-family',\n    textFieldFontStyle: '--plasma-combobox-new-textfield-font-style',\n    textFieldFontSize: '--plasma-combobox-new-textfield-font-size',\n    textFieldFontWeight: '--plasma-combobox-new-textfield-font-weight',\n    textFieldLetterSpacing: '--plasma-combobox-new-textfield-letter-spacing',\n    textFieldLineHeight: '--plasma-combobox-new-textfield-line-height',\n\n    textFieldContentSlotColor: '--plasma-combobox-new-textfield-content-slot-color',\n    textFieldContentSlotColorHover: '--plasma-combobox-new-textfield-content-slot-color-hover',\n    textFieldContentSlotColorActive: '--plasma-combobox-new-textfield-content-slot-color-active',\n\n    textFieldContentSlotRightColor: '--plasma-combobox-new-textfield-content-right-slot-color',\n    textFieldContentSlotRightColorHover: '--plasma-combobox-new-textfield-content-right-slot-color-hover',\n    textFieldContentSlotRightColorActive: '--plasma-combobox-new-textfield-content-right-slot-color-active',\n    textFieldContentSlotRightOpacityReadOnly: '--plasma-combobox-new-textfield-content-right-slot-opacity-readonly',\n\n    textFieldLabelColor: '--plasma-combobox-new-textfield-label-color',\n    textFieldLabelColorReadOnly: '--plasma-combobox-new-textfield-label-color-readonly',\n    textFieldLabelOffset: '--plasma-combobox-new-textfield-label-offset',\n    textFieldClearLabelOffset: '--plasma-combobox-new-textfield-clear-label-offset',\n\n    textFieldLabelFontFamily: '--plasma-combobox-new-textfield-label-font-family',\n    textFieldLabelFontStyle: '--plasma-combobox-new-textfield-label-font-style',\n    textFieldLabelFontSize: '--plasma-combobox-new-textfield-label-font-size',\n    textFieldLabelFontWeight: '--plasma-combobox-new-textfield-label-font-weight',\n    textFieldLabelLetterSpacing: '--plasma-combobox-new-textfield-label-letter-spacing',\n    textFieldLabelLineHeight: '--plasma-combobox-new-textfield-label-line-height',\n\n    textFieldLabelInnerFontFamily: '--plasma-combobox-new-textfield-placement_inner-label-font-family',\n    textFieldLabelInnerFontStyle: '--plasma-combobox-new-textfield-placement_inner-label-font-style',\n    textFieldLabelInnerFontSize: '--plasma-combobox-new-textfield-placement_inner-label-font-size',\n    textFieldLabelInnerFontWeight: '--plasma-combobox-new-textfield-placement_inner-label-font-weight',\n    textFieldLabelInnerLetterSpacing: '--plasma-combobox-new-textfield-placement_inner-label-letter-spacing',\n    textFieldLabelInnerLineHeight: '--plasma-combobox-new-textfield-placement_inner-label-line-height',\n\n    textFieldLabelInnerPadding: '--plasma-combobox-new-textfield-placement_inner-label-padding',\n    textFieldContentLabelInnerPadding: '--plasma-combobox-new-textfield-placement_inner-content-padding',\n\n    textFieldTitleCaptionColor: '--plasma-combobox-new-textfield-title-caption-color',\n    textFieldTitleCaptionColorReadOnly: '--plasma-combobox-new-textfield-title-caption-color-readonly',\n    textFieldTitleCaptionInnerLabelOffset: '--plasma-combobox-new-textfield-title-caption-label-inner-offset',\n\n    textFieldTitleCaptionFontFamily: '--plasma-combobox-new-textfield-title-caption-font-family',\n    textFieldTitleCaptionFontStyle: '--plasma-combobox-new-textfield-title-caption-font-style',\n    textFieldTitleCaptionFontSize: '--plasma-combobox-new-textfield-title-caption-font-size',\n    textFieldTitleCaptionFontWeight: '--plasma-combobox-new-textfield-title-caption-font-weight',\n    textFieldTitleCaptionLetterSpacing: '--plasma-combobox-new-textfield-title-caption-letter-spacing',\n    textFieldTitleCaptionLineHeight: '--plasma-combobox-new-textfield-title-caption-line-height',\n\n    textFieldLeftHelperColor: '--plasma-combobox-new-textfield-left-helper-color',\n    textFieldLeftHelperColorReadOnly: '--plasma-combobox-new-textfield-left-helper-color-readonly',\n    textFieldLeftHelperOffset: '--plasma-combobox-new-textfield-left-helper-offset',\n\n    textFieldLeftHelperFontFamily: '--plasma-combobox-new-textfield-left-helper-font-family',\n    textFieldLeftHelperFontStyle: '--plasma-combobox-new-textfield-left-helper-font-style',\n    textFieldLeftHelperFontSize: '--plasma-combobox-new-textfield-left-helper-font-size',\n    textFieldLeftHelperFontWeight: '--plasma-combobox-new-textfield-left-helper-font-weight',\n    textFieldLeftHelperLetterSpacing: '--plasma-combobox-new-textfield-left-helper-letter-spacing',\n    textFieldLeftHelperLineHeight: '--plasma-combobox-new-textfield-left-helper-line-height',\n\n    textFieldTextBeforeColor: '--plasma-combobox-new-textfield-before-text-color',\n    textFieldTextAfterColor: '--plasma-combobox-new-textfield-after-text-color',\n    textFieldTextBeforeMargin: '--plasma-combobox-new-textfield-before-text-margin',\n    textFieldTextAfterMargin: '--plasma-combobox-new-textfield-after-text-margin',\n\n    textFieldDisabledOpacity: '--plasma-combobox-new-textfield-disabled-opacity',\n    textFieldReadOnlyOpacity: '--plasma-combobox-new-textfield-readonly-opacity',\n\n    /** Токены для tooltip */\n    textFieldHintCustomIconTargetSize: '--plasma-combobox-textfield__hint-custom-icon-target-size',\n    textFieldHintMargin: '--plasma-combobox-textfield__hint-margin',\n    textFieldHintTargetSize: '--plasma-combobox-textfield__hint-target-size',\n    textFieldHintIconColor: '--plasma-combobox-textfield__hint-icon-color',\n    textFieldHintInnerLabelPlacementOffset: '--plasma-combobox-textfield__hint-inner-label-placement-offset',\n    textFieldClearHintInnerLabelPlacementOffset: '--plasma-combobox-textfield__clear-hint-inner-label-placement-offset',\n\n    textFieldTooltipBackgroundColor: '--plasma-combobox-textfield__tooltip-background-color',\n    textFieldTooltipBoxShadow: '--plasma-combobox-textfield__tooltip-box-shadow',\n    textFieldTooltipColor: '--plasma-combobox-textfield__tooltip-color',\n\n    textFieldTooltipPaddingTop: '--plasma-combobox-textfield__tooltip-padding-top',\n    textFieldTooltipPaddingRight: '--plasma-combobox-textfield__tooltip-padding-right',\n    textFieldTooltipPaddingBottom: '--plasma-combobox-textfield__tooltip-padding-bottom',\n    textFieldTooltipPaddingLeft: '--plasma-combobox-textfield__tooltip-padding-left',\n    textFieldTooltipMinHeight: '--plasma-combobox-textfield__tooltip-min-height',\n    textFieldTooltipBorderRadius: '--plasma-combobox-textfield__tooltip-border-radius',\n    textFieldTooltipTextFontFamily: '--plasma-combobox-textfield__tooltip-text-font-family',\n    textFieldTooltipTextFontSize: '--plasma-combobox-textfield__tooltip-text-font-size',\n    textFieldTooltipTextFontStyle: '--plasma-combobox-textfield__tooltip-text-font-style',\n    textFieldTooltipTextFontWeight: '--plasma-combobox-textfield__tooltip-text-font-weight',\n    textFieldTooltipTextFontLetterSpacing: '--plasma-combobox-textfield__tooltip-text-font-letter-spacing',\n    textFieldTooltipTextFontLineHeight: '--plasma-combobox-textfield__tooltip-text-font-line-height',\n    textFieldTooltipContentLeftMargin: '--plasma-combobox-textfield__tooltip-content-left-margin',\n    textFieldTooltipArrowMaskWidth: '--plasma-combobox-textfield__tooltip-arrow-mask-width',\n    textFieldTooltipArrowMaskHeight: '--plasma-combobox-textfield__tooltip-arrow-mask-height',\n    textFieldTooltipArrowMaskImage: '--plasma-combobox-textfield__tooltip-arrow-mask-image',\n    textFieldTooltipArrowHeight: '--plasma-combobox-textfield__tooltip-arrow-height',\n    textFieldTooltipArrowEdgeMargin: '--plasma-combobox-textfield__tooltip-arrow-edge-margin',\n    textFieldTooltipArrowBackground: '--plasma-combobox-textfield__tooltip-arrow-background',\n\n    textFieldChipHeight: '--plasma-combobox-new-textfield-chip-height',\n    textFieldChipBorderRadius: '--plasma-combobox-new-textfield-chip-border-radius',\n    textFieldChipGap: '--plasma-combobox-new-textfield-chip-gap',\n    textFieldChipBackground: '--plasma-combobox-new-textfield--chip-background',\n    textFieldChipColor: '--plasma-combobox-new-textfield-chip-color',\n    textFieldChipBackgroundHover: '--plasma-combobox-new-textfield-chip-background-hover',\n    textFieldChipColorHover: '--plasma-combobox-new-textfield-chip-color-hover',\n    textFieldChipBackgroundReadOnly: '--plasma-combobox-new-textfield-chip-background-read-only',\n    textFieldChipColorReadOnly: '--plasma-combobox-new-textfield-chip-color-read-only',\n    textFieldChipBackgroundReadOnlyHover: '--plasma-combobox-new-textfield-chip-background-read-only-hover',\n    textFieldChipColorReadOnlyHover: '--plasma-combobox-new-textfield-chip-color-read-only-hover',\n    textFieldChipBackgroundActive: '--plasma-combobox-new-textfield-chip-background-active',\n    textFieldChipColorActive: '--plasma-combobox-new-textfield-chip-color-active',\n    textFieldChipCloseIconColor: '--plasma-combobox-new-textfield-chip-close-icons-color',\n    textFieldChipCloseIconColorHover: '--plasma-combobox-new-textfield-chip-close-icons-color-hover',\n    textFieldChipCloseIconColorReadonly: '--plasma-combobox-new-textfield-chip-close-icons-color-readonly',\n    textFieldChipOutlineSize: '--plasma-combobox-new-textfield-chip-outline-size',\n    textFieldChipWidth: '--plasma-combobox-new-textfield-chip-width',\n    textFieldChipPadding: '--plasma-combobox-new-textfield-chip-padding',\n    textFieldChipCloseIconSize: '--plasma-combobox-new-textfield-chip-close-icon-size',\n    textFieldChipFontFamily: '--plasma-combobox-new-textfield-chip-font-family',\n    textFieldChipFontSize: '--plasma-combobox-new-textfield-chip-font-size',\n    textFieldChipFontStyle: '--plasma-combobox-new-textfield-chip-font-style',\n    textFieldChipFontWeight: '--plasma-combobox-new-textfield-chip-font-weight',\n    textFieldChipLetterSpacing: '--plasma-combobox-new-textfield-chip-letter-spacing',\n    textFieldChipLineHeight: '--plasma-combobox-new-textfield-chip-line-height',\n    textFieldChipClearContentMarginLeft: '--plasma-combobox-new-textfield-chip-clear-content-margin-left',\n    textFieldChipClearContentMarginRight: '--plasma-combobox-new-textfield-chip-clear-content-margin-right',\n    textFieldChipOpacityReadonly: '--plasma-combobox-new-textfield-chip-opacity-readonly',\n\n    textFieldFocusColor: '--plasma-combobox-new-textfield-focus-color',\n\n    textFieldBoxShadow: '--plasma-select-textfield-box-shadow',\n\n    textFieldIndicatorColor: '--plasma-combobox-new-textfield-indicator-color',\n    textFieldIndicatorSizeInner: '--plasma-combobox-new-textfield-indicator-size-inner',\n    textFieldIndicatorSizeOuter: '--plasma-combobox-new-textfield-indicator-size-outer',\n    textFieldIndicatorLabelPlacementInner: '--plasma-combobox-new-textfield-indicator-placement-inner',\n    textFieldIndicatorLabelPlacementOuter: '--plasma-combobox-new-textfield-indicator-placement-outer',\n    textFieldIndicatorLabelPlacementInnerRight: '--plasma-combobox-new-textfield-indicator-placement-inner-right',\n    textFieldIndicatorLabelPlacementOuterRight: '--plasma-combobox-new-textfield-indicator-placement-outer-right',\n    textFieldClearIndicatorLabelPlacementInner: '--plasma-combobox-new-textfield-clear-indicator-placement-inner',\n    textFieldClearIndicatorLabelPlacementInnerRight:\n        '--plasma-combobox-new-textfield-clear-indicator-placement-inner-right',\n    textFieldClearIndicatorHintInnerRight: '--plasma-combobox-new-textfield-clear-indicator-hint-placement-inner-right',\n\n    // Токены для EmptyState\n    emptyStatePadding: '--plasma-combobox-new-empty-state-padding',\n\n    labelOffset: '--plasma-combobox-label-offset',\n\n    innerLabelGap: '--plasma-combobox-inner-label-gap',\n\n    helperTextColor: '--plasma-combobox-helper-text-color',\n    helperTextOffset: '--plasma-combobox-helper-text-offset',\n\n    spinnerSize: '--plasma-combobox-spinner-size',\n    spinnerSizeTight: '--plasma-combobox-spinner-size-tight',\n\n    disclosureIconColor: '--plasma-combobox-disclosure-icon-color',\n    disclosureIconColorHover: '--plasma-combobox-disclosure-icon-color-hover',\n    disclosureIconSize: '--plasma-select-disclosure-icon-size',\n    disclosureIconMargin: '--plasma-select-disclosure-icon-margin',\n\n    dividerMarginTop: '--plasma-combobox-divider-margin-top',\n    dividerMarginTopTight: '--plasma-combobox-divider-margin-top-tight',\n    dividerMarginRight: '--plasma-combobox-divider-margin-right',\n    dividerMarginBottom: '--plasma-combobox-divider-margin-bottom',\n    dividerMarginBottomTight: '--plasma-combobox-divider-margin-bottom-tight',\n    dividerMarginLeft: '--plasma-combobox-divider-margin-left',\n    dividerColor: '--plasma-combobox-divider-color',\n};\n\nexport const constants = {\n    focusColor: '--surface-accent',\n    focusSize: '0.0625rem',\n    background: '--surface-solid-card',\n    boxShadow: '0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04)',\n    itemBackground: '--surface-clear',\n    textfieldTargetColor: '--text-primary',\n    textfieldOuterLabelColor: '--text-primary',\n    textfieldInnerLabelColor: '--text-secondary',\n    textfieldPlaceholderColor: '--text-secondary',\n    textfieldBorderSize: '0.0625rem',\n    opacity: '0.4',\n    fontFamily: '--plasma-typo-body-xs-font-family',\n    fontSize: '--plasma-typo-body-xs-font-size',\n    fontStyle: '--plasma-typo-body-xs-font-style',\n    fontWeight: '--plasma-typo-body-xs-font-weight',\n    fontLetterSpacing: '--plasma-typo-body-xs-letter-spacing',\n    fontLineHeight: '--plasma-typo-body-xs-line-height',\n    cellTitleColor: '--text-primary',\n    cellBackgroundColor: '--surface-clear',\n};\n"],"names":["classes","dropdownItemIsFocused","dropdownItemIsDisabled","dropdownItemIsActive","comboboxTargetArrow","arrowInverse","textfieldTarget","selectChipIsFocused","selectWithoutBoxShadow","selectItemCheckbox","selectSpinner","emptyStateWrapper","tokens","borderRadius","padding","margin","focusOffset","fontFamily","fontSize","fontStyle","fontWeight","fontLetterSpacing","fontLineHeight","dropdownBorderColor","dropdownBorderWidth","itemHeight","itemBorderRadius","itemPadding","itemPaddingTight","itemIconSize","itemIconSizeTight","itemIconMargin","itemBackgroundHover","itemIconColor","cellPadding","cellPaddingLeftContent","cellPaddingContent","cellPaddingRightContent","cellTextboxGap","cellGap","cellTitleFontFamily","cellTitleFontSize","cellTitleFontStyle","cellTitleFontWeight","cellTitleLetterSpacing","cellTitleLineHeight","checkboxTriggerSize","checkboxTriggerSizeTight","checkboxTriggerBorderRadius","checkboxTriggerBorderRadiusTight","checkboxFillColor","checkboxIconColor","checkboxTriggerBorderColor","checkboxTriggerBorderCheckedColor","checkboxTriggerBorderWidth","indicatorSize","textFieldColor","textFieldClearColor","textFieldBackgroundColor","textFieldBackgroundColorHover","textFieldBackgroundColorFocus","textFieldBorderColor","textFieldBorderColorHover","textFieldBorderColorFocus","textFieldColorReadOnly","textFieldBackgroundColorReadOnly","textFieldBorderColorReadOnly","textFieldPlaceholderColorReadOnly","textFieldCaretColor","textFieldPlaceholderColor","textFieldPlaceholderColorFocus","textFieldClearPlaceholderColor","textFieldClearPlaceholderColorFocus","textFieldOptionalColor","textFieldHeight","textFieldBorderWidth","textFieldBorderRadius","textFieldPadding","textFieldPaddingWithChips","textFieldLeftContentMargin","textFieldRightContentMargin","textFieldRightContentWithHintMargin","textFieldContentRightWrapperGap","textFieldContentRightWrapperMargin","textFieldFontFamily","textFieldFontStyle","textFieldFontSize","textFieldFontWeight","textFieldLetterSpacing","textFieldLineHeight","textFieldContentSlotColor","textFieldContentSlotColorHover","textFieldContentSlotColorActive","textFieldContentSlotRightColor","textFieldContentSlotRightColorHover","textFieldContentSlotRightColorActive","textFieldContentSlotRightOpacityReadOnly","textFieldLabelColor","textFieldLabelColorReadOnly","textFieldLabelOffset","textFieldClearLabelOffset","textFieldLabelFontFamily","textFieldLabelFontStyle","textFieldLabelFontSize","textFieldLabelFontWeight","textFieldLabelLetterSpacing","textFieldLabelLineHeight","textFieldLabelInnerFontFamily","textFieldLabelInnerFontStyle","textFieldLabelInnerFontSize","textFieldLabelInnerFontWeight","textFieldLabelInnerLetterSpacing","textFieldLabelInnerLineHeight","textFieldLabelInnerPadding","textFieldContentLabelInnerPadding","textFieldTitleCaptionColor","textFieldTitleCaptionColorReadOnly","textFieldTitleCaptionInnerLabelOffset","textFieldTitleCaptionFontFamily","textFieldTitleCaptionFontStyle","textFieldTitleCaptionFontSize","textFieldTitleCaptionFontWeight","textFieldTitleCaptionLetterSpacing","textFieldTitleCaptionLineHeight","textFieldLeftHelperColor","textFieldLeftHelperColorReadOnly","textFieldLeftHelperOffset","textFieldLeftHelperFontFamily","textFieldLeftHelperFontStyle","textFieldLeftHelperFontSize","textFieldLeftHelperFontWeight","textFieldLeftHelperLetterSpacing","textFieldLeftHelperLineHeight","textFieldTextBeforeColor","textFieldTextAfterColor","textFieldTextBeforeMargin","textFieldTextAfterMargin","textFieldDisabledOpacity","textFieldReadOnlyOpacity","textFieldHintCustomIconTargetSize","textFieldHintMargin","textFieldHintTargetSize","textFieldHintIconColor","textFieldHintInnerLabelPlacementOffset","textFieldClearHintInnerLabelPlacementOffset","textFieldTooltipBackgroundColor","textFieldTooltipBoxShadow","textFieldTooltipColor","textFieldTooltipPaddingTop","textFieldTooltipPaddingRight","textFieldTooltipPaddingBottom","textFieldTooltipPaddingLeft","textFieldTooltipMinHeight","textFieldTooltipBorderRadius","textFieldTooltipTextFontFamily","textFieldTooltipTextFontSize","textFieldTooltipTextFontStyle","textFieldTooltipTextFontWeight","textFieldTooltipTextFontLetterSpacing","textFieldTooltipTextFontLineHeight","textFieldTooltipContentLeftMargin","textFieldTooltipArrowMaskWidth","textFieldTooltipArrowMaskHeight","textFieldTooltipArrowMaskImage","textFieldTooltipArrowHeight","textFieldTooltipArrowEdgeMargin","textFieldTooltipArrowBackground","textFieldChipHeight","textFieldChipBorderRadius","textFieldChipGap","textFieldChipBackground","textFieldChipColor","textFieldChipBackgroundHover","textFieldChipColorHover","textFieldChipBackgroundReadOnly","textFieldChipColorReadOnly","textFieldChipBackgroundReadOnlyHover","textFieldChipColorReadOnlyHover","textFieldChipBackgroundActive","textFieldChipColorActive","textFieldChipCloseIconColor","textFieldChipCloseIconColorHover","textFieldChipCloseIconColorReadonly","textFieldChipOutlineSize","textFieldChipWidth","textFieldChipPadding","textFieldChipCloseIconSize","textFieldChipFontFamily","textFieldChipFontSize","textFieldChipFontStyle","textFieldChipFontWeight","textFieldChipLetterSpacing","textFieldChipLineHeight","textFieldChipClearContentMarginLeft","textFieldChipClearContentMarginRight","textFieldChipOpacityReadonly","textFieldFocusColor","textFieldBoxShadow","textFieldIndicatorColor","textFieldIndicatorSizeInner","textFieldIndicatorSizeOuter","textFieldIndicatorLabelPlacementInner","textFieldIndicatorLabelPlacementOuter","textFieldIndicatorLabelPlacementInnerRight","textFieldIndicatorLabelPlacementOuterRight","textFieldClearIndicatorLabelPlacementInner","textFieldClearIndicatorLabelPlacementInnerRight","textFieldClearIndicatorHintInnerRight","emptyStatePadding","labelOffset","innerLabelGap","helperTextColor","helperTextOffset","spinnerSize","spinnerSizeTight","disclosureIconColor","disclosureIconColorHover","disclosureIconSize","disclosureIconMargin","dividerMarginTop","dividerMarginTopTight","dividerMarginRight","dividerMarginBottom","dividerMarginBottomTight","dividerMarginLeft","dividerColor"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,qBAAqB,EAAE,0BAA0B;AACjDC,EAAAA,sBAAsB,EAAE,2BAA2B;AACnDC,EAAAA,oBAAoB,EAAE,yBAAyB;AAC/CC,EAAAA,mBAAmB,EAAE,uBAAuB;AAC5CC,EAAAA,YAAY,EAAE,eAAe;AAC7BC,EAAAA,eAAe,EAAE,2BAA2B;AAC5CC,EAAAA,mBAAmB,EAAE,0BAA0B;AAC/CC,EAAAA,sBAAsB,EAAE,6BAA6B;AACrDC,EAAAA,kBAAkB,EAAE,wBAAwB;AAC5CC,EAAAA,aAAa,EAAE,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AAC3EC,EAAAA,qCAAqC,EAAE,4EAA4E;AAEnH;AACAC,EAAAA,iBAAiB,EAAE,2CAA2C;AAE9DC,EAAAA,WAAW,EAAE,gCAAgC;AAE7CC,EAAAA,aAAa,EAAE,mCAAmC;AAElDC,EAAAA,eAAe,EAAE,qCAAqC;AACtDC,EAAAA,gBAAgB,EAAE,sCAAsC;AAExDC,EAAAA,WAAW,EAAE,gCAAgC;AAC7CC,EAAAA,gBAAgB,EAAE,sCAAsC;AAExDC,EAAAA,mBAAmB,EAAE,yCAAyC;AAC9DC,EAAAA,wBAAwB,EAAE,+CAA+C;AACzEC,EAAAA,kBAAkB,EAAE,sCAAsC;AAC1DC,EAAAA,oBAAoB,EAAE,wCAAwC;AAE9DC,EAAAA,gBAAgB,EAAE,sCAAsC;AACxDC,EAAAA,qBAAqB,EAAE,4CAA4C;AACnEC,EAAAA,kBAAkB,EAAE,wCAAwC;AAC5DC,EAAAA,mBAAmB,EAAE,yCAAyC;AAC9DC,EAAAA,wBAAwB,EAAE,+CAA+C;AACzEC,EAAAA,iBAAiB,EAAE,uCAAuC;AAC1DC,EAAAA,YAAY,EAAE,iCAAA;AAClB;;;;"}
         
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"Combobox.tokens.js","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tokens.ts"],"sourcesContent":["export const classes = {\n    dropdownItemIsFocused: 'dropdown-item-is-focused',\n    dropdownItemIsDisabled: 'dropdown-item-is-disabled',\n    dropdownItemIsActive: 'dropdown-item-is-active',\n    comboboxTargetArrow: 'combobox-target-arrow',\n    arrowInverse: 'arrow-inverse',\n    textfieldTarget: 'combobox-textfield-target',\n    selectChipIsFocused: 'combobox-chip-is-focused',\n    selectWithoutBoxShadow: 'combobox-without-box-shadow',\n    selectItemCheckbox: 'combobox-item-checkbox',\n    selectSpinner: 'combobox-spinner',\n    emptyStateWrapper: 'combobox-empty-state-wrapper',\n};\n\nexport const tokens = {\n    borderRadius: '--plasma-combobox-border-radius',\n    padding: '--plasma-combobox-padding',\n    margin: '--plasma-combobox-margin',\n    focusOffset: '--plasma-combobox-focus-offset',\n\n    fontFamily: '--plasma-combobox-font-family',\n    fontSize: '--plasma-combobox-font-size',\n    fontStyle: '--plasma-combobox-font-style',\n    fontWeight: '--plasma-combobox-font-weight',\n    fontLetterSpacing: '--plasma-combobox-font-letter-spacing',\n    fontLineHeight: '--plasma-combobox-font-line-height',\n\n    dropdownBorderColor: '--plasma-select-dropdown-border-color',\n    dropdownBorderWidth: '--plasma-select-dropdown-border-width',\n\n    itemHeight: '--plasma-combobox-item-height',\n    itemBorderRadius: '--plasma-combobox-item-border-radius',\n    itemPadding: '--plasma-combobox-item-padding',\n    itemPaddingTight: '--plasma-combobox-item-padding-tight',\n    itemIconSize: '--plasma-combobox-item-icon-size',\n    itemIconSizeTight: '--plasma-combobox-item-icon-size-tight',\n    itemIconMargin: '--plasma-combobox-item-icon-margin',\n    itemBackgroundHover: '--plasma-combobox-item-background-hover',\n    itemIconColor: '--plasma-combobox-item-icon-color',\n    itemGap: '--plasma-select-item-gap',\n    itemTreeOffsetWidth: '--plasma-select-item-tree-offset-width',\n\n    cellPadding: '--plasma-combobox-cell-padding',\n    cellPaddingLeftContent: '--plasma-combobox-cell-padding-left-content',\n    cellPaddingContent: '--plasma-combobox-cell-padding-content',\n    cellPaddingRightContent: '--plasma-combobox-cell-padding-right-content',\n    cellTextboxGap: '--plasma-combobox-cell-textbox-gap',\n    cellGap: '--plasma-combobox-cell-gap',\n    cellTitleFontFamily: '--plasma-combobox-cell-title-font-family',\n    cellTitleFontSize: '--plasma-combobox-cell-title-font-size',\n    cellTitleFontStyle: '--plasma-combobox-cell-title-font-style',\n    cellTitleFontWeight: '--plasma-combobox-cell-title-font-weight',\n    cellTitleLetterSpacing: '--plasma-combobox-cell-title-letter-spacing',\n    cellTitleLineHeight: '--plasma-combobox-cell-title-line-height',\n\n    checkboxTriggerSize: '--plasma-combobox-checkbox-trigger-size',\n    checkboxTriggerSizeTight: '--plasma-combobox-checkbox-trigger-size-tight',\n    checkboxTriggerBorderRadius: '--plasma-combobox-checkbox-trigger-border-radius',\n    checkboxTriggerBorderRadiusTight: '--plasma-combobox-checkbox-trigger-border-radius-tight',\n    checkboxFillColor: '--plasma-combobox-checkbox-fill-color',\n    checkboxIconColor: '--plasma-combobox-checkbox-icon-color',\n    checkboxTriggerBorderColor: '--plasma-combobox-checkbox-trigger-border-color',\n    checkboxTriggerBorderCheckedColor: '--plasma-combobox-checkbox-trigger-border-checked-color',\n    checkboxTriggerBorderWidth: '--plasma-combobox-checkbox-trigger-border-width',\n\n    indicatorSize: '--plasma-combobox-indicator-size',\n\n    // Токены для TextField\n    textFieldColor: '--plasma-combobox-new-textfield-color',\n    textFieldClearColor: '--plasma-combobox-new-textfield-clear-color',\n\n    textFieldBackgroundColor: '--plasma-combobox-new-textfield-background-color',\n    textFieldBackgroundColorHover: '--plasma-combobox-new-textfield-background-color-hover',\n    textFieldBackgroundColorFocus: '--plasma-combobox-new-textfield-background-color-focus',\n\n    textFieldBorderColor: '--plasma-combobox-new-textfield-border-color',\n    textFieldBorderColorHover: '--plasma-combobox-new-textfield-border-color-hover',\n    textFieldBorderColorFocus: '--plasma-combobox-new-textfield-border-color-focus',\n\n    textFieldColorReadOnly: '--plasma-combobox-new-textfield-color-readonly',\n    textFieldBackgroundColorReadOnly: '--plasma-combobox-new-textfield-bg-color-readonly',\n    textFieldBorderColorReadOnly: '--plasma-combobox-new-textfield-border-color-readonly',\n    textFieldPlaceholderColorReadOnly: '--plasma-combobox-new-textfield-placeholder-color-readonly',\n\n    textFieldCaretColor: '--plasma-combobox-new-textfield-caret-color',\n    textFieldPlaceholderColor: '--plasma-combobox-new-textfield-placeholder-color',\n    textFieldPlaceholderColorFocus: '--plasma-combobox-new-textfield-placeholder-color-focus',\n    textFieldClearPlaceholderColor: '--plasma-combobox-new-textfield-clear-placeholder-color',\n    textFieldClearPlaceholderColorFocus: '--plasma-combobox-new-textfield-clear-placeholder-color-focus',\n    textFieldOptionalColor: '--plasma-combobox-new-textfield-optional-color',\n\n    textFieldHeight: '--plasma-combobox-new-textfield-height',\n    textFieldBorderWidth: '--plasma-combobox-new-textfield-border-width',\n    textFieldBorderRadius: '--plasma-combobox-new-textfield-border-radius',\n\n    textFieldPadding: '--plasma-combobox-new-textfield-padding',\n    textFieldPaddingWithChips: '--plasma-combobox-new-textfield-padding-with-chips',\n\n    textFieldLeftContentMargin: '--plasma-combobox-new-textfield-left-content-margin',\n    textFieldRightContentMargin: '--plasma-combobox-new-textfield-right-content-margin',\n    textFieldRightContentWithHintMargin: '--plasma-combobox-textfield-right-content-with-hint-margin',\n\n    textFieldContentRightWrapperGap: '--plasma-combobox-textfield-content-right-wrapper-gap',\n    textFieldContentRightWrapperMargin: '--plasma-combobox-textfield-content-right-wrapper-margin',\n\n    textFieldFontFamily: '--plasma-combobox-new-textfield-font-family',\n    textFieldFontStyle: '--plasma-combobox-new-textfield-font-style',\n    textFieldFontSize: '--plasma-combobox-new-textfield-font-size',\n    textFieldFontWeight: '--plasma-combobox-new-textfield-font-weight',\n    textFieldLetterSpacing: '--plasma-combobox-new-textfield-letter-spacing',\n    textFieldLineHeight: '--plasma-combobox-new-textfield-line-height',\n\n    textFieldContentSlotColor: '--plasma-combobox-new-textfield-content-slot-color',\n    textFieldContentSlotColorHover: '--plasma-combobox-new-textfield-content-slot-color-hover',\n    textFieldContentSlotColorActive: '--plasma-combobox-new-textfield-content-slot-color-active',\n\n    textFieldContentSlotRightColor: '--plasma-combobox-new-textfield-content-right-slot-color',\n    textFieldContentSlotRightColorHover: '--plasma-combobox-new-textfield-content-right-slot-color-hover',\n    textFieldContentSlotRightColorActive: '--plasma-combobox-new-textfield-content-right-slot-color-active',\n    textFieldContentSlotRightOpacityReadOnly: '--plasma-combobox-new-textfield-content-right-slot-opacity-readonly',\n\n    textFieldLabelColor: '--plasma-combobox-new-textfield-label-color',\n    textFieldLabelColorReadOnly: '--plasma-combobox-new-textfield-label-color-readonly',\n    textFieldLabelOffset: '--plasma-combobox-new-textfield-label-offset',\n    textFieldClearLabelOffset: '--plasma-combobox-new-textfield-clear-label-offset',\n\n    textFieldLabelFontFamily: '--plasma-combobox-new-textfield-label-font-family',\n    textFieldLabelFontStyle: '--plasma-combobox-new-textfield-label-font-style',\n    textFieldLabelFontSize: '--plasma-combobox-new-textfield-label-font-size',\n    textFieldLabelFontWeight: '--plasma-combobox-new-textfield-label-font-weight',\n    textFieldLabelLetterSpacing: '--plasma-combobox-new-textfield-label-letter-spacing',\n    textFieldLabelLineHeight: '--plasma-combobox-new-textfield-label-line-height',\n\n    textFieldLabelInnerFontFamily: '--plasma-combobox-new-textfield-placement_inner-label-font-family',\n    textFieldLabelInnerFontStyle: '--plasma-combobox-new-textfield-placement_inner-label-font-style',\n    textFieldLabelInnerFontSize: '--plasma-combobox-new-textfield-placement_inner-label-font-size',\n    textFieldLabelInnerFontWeight: '--plasma-combobox-new-textfield-placement_inner-label-font-weight',\n    textFieldLabelInnerLetterSpacing: '--plasma-combobox-new-textfield-placement_inner-label-letter-spacing',\n    textFieldLabelInnerLineHeight: '--plasma-combobox-new-textfield-placement_inner-label-line-height',\n\n    textFieldLabelInnerPadding: '--plasma-combobox-new-textfield-placement_inner-label-padding',\n    textFieldContentLabelInnerPadding: '--plasma-combobox-new-textfield-placement_inner-content-padding',\n\n    textFieldTitleCaptionColor: '--plasma-combobox-new-textfield-title-caption-color',\n    textFieldTitleCaptionColorReadOnly: '--plasma-combobox-new-textfield-title-caption-color-readonly',\n    textFieldTitleCaptionInnerLabelOffset: '--plasma-combobox-new-textfield-title-caption-label-inner-offset',\n\n    textFieldTitleCaptionFontFamily: '--plasma-combobox-new-textfield-title-caption-font-family',\n    textFieldTitleCaptionFontStyle: '--plasma-combobox-new-textfield-title-caption-font-style',\n    textFieldTitleCaptionFontSize: '--plasma-combobox-new-textfield-title-caption-font-size',\n    textFieldTitleCaptionFontWeight: '--plasma-combobox-new-textfield-title-caption-font-weight',\n    textFieldTitleCaptionLetterSpacing: '--plasma-combobox-new-textfield-title-caption-letter-spacing',\n    textFieldTitleCaptionLineHeight: '--plasma-combobox-new-textfield-title-caption-line-height',\n\n    textFieldLeftHelperColor: '--plasma-combobox-new-textfield-left-helper-color',\n    textFieldLeftHelperColorReadOnly: '--plasma-combobox-new-textfield-left-helper-color-readonly',\n    textFieldLeftHelperOffset: '--plasma-combobox-new-textfield-left-helper-offset',\n\n    textFieldLeftHelperFontFamily: '--plasma-combobox-new-textfield-left-helper-font-family',\n    textFieldLeftHelperFontStyle: '--plasma-combobox-new-textfield-left-helper-font-style',\n    textFieldLeftHelperFontSize: '--plasma-combobox-new-textfield-left-helper-font-size',\n    textFieldLeftHelperFontWeight: '--plasma-combobox-new-textfield-left-helper-font-weight',\n    textFieldLeftHelperLetterSpacing: '--plasma-combobox-new-textfield-left-helper-letter-spacing',\n    textFieldLeftHelperLineHeight: '--plasma-combobox-new-textfield-left-helper-line-height',\n\n    textFieldTextBeforeColor: '--plasma-combobox-new-textfield-before-text-color',\n    textFieldTextAfterColor: '--plasma-combobox-new-textfield-after-text-color',\n    textFieldTextBeforeMargin: '--plasma-combobox-new-textfield-before-text-margin',\n    textFieldTextAfterMargin: '--plasma-combobox-new-textfield-after-text-margin',\n\n    textFieldDisabledOpacity: '--plasma-combobox-new-textfield-disabled-opacity',\n    textFieldReadOnlyOpacity: '--plasma-combobox-new-textfield-readonly-opacity',\n\n    /** Токены для tooltip */\n    textFieldHintCustomIconTargetSize: '--plasma-combobox-textfield__hint-custom-icon-target-size',\n    textFieldHintMargin: '--plasma-combobox-textfield__hint-margin',\n    textFieldHintTargetSize: '--plasma-combobox-textfield__hint-target-size',\n    textFieldHintIconColor: '--plasma-combobox-textfield__hint-icon-color',\n    textFieldHintInnerLabelPlacementOffset: '--plasma-combobox-textfield__hint-inner-label-placement-offset',\n    textFieldClearHintInnerLabelPlacementOffset: '--plasma-combobox-textfield__clear-hint-inner-label-placement-offset',\n\n    textFieldTooltipBackgroundColor: '--plasma-combobox-textfield__tooltip-background-color',\n    textFieldTooltipBoxShadow: '--plasma-combobox-textfield__tooltip-box-shadow',\n    textFieldTooltipColor: '--plasma-combobox-textfield__tooltip-color',\n\n    textFieldTooltipPaddingTop: '--plasma-combobox-textfield__tooltip-padding-top',\n    textFieldTooltipPaddingRight: '--plasma-combobox-textfield__tooltip-padding-right',\n    textFieldTooltipPaddingBottom: '--plasma-combobox-textfield__tooltip-padding-bottom',\n    textFieldTooltipPaddingLeft: '--plasma-combobox-textfield__tooltip-padding-left',\n    textFieldTooltipMinHeight: '--plasma-combobox-textfield__tooltip-min-height',\n    textFieldTooltipBorderRadius: '--plasma-combobox-textfield__tooltip-border-radius',\n    textFieldTooltipTextFontFamily: '--plasma-combobox-textfield__tooltip-text-font-family',\n    textFieldTooltipTextFontSize: '--plasma-combobox-textfield__tooltip-text-font-size',\n    textFieldTooltipTextFontStyle: '--plasma-combobox-textfield__tooltip-text-font-style',\n    textFieldTooltipTextFontWeight: '--plasma-combobox-textfield__tooltip-text-font-weight',\n    textFieldTooltipTextFontLetterSpacing: '--plasma-combobox-textfield__tooltip-text-font-letter-spacing',\n    textFieldTooltipTextFontLineHeight: '--plasma-combobox-textfield__tooltip-text-font-line-height',\n    textFieldTooltipContentLeftMargin: '--plasma-combobox-textfield__tooltip-content-left-margin',\n    textFieldTooltipArrowMaskWidth: '--plasma-combobox-textfield__tooltip-arrow-mask-width',\n    textFieldTooltipArrowMaskHeight: '--plasma-combobox-textfield__tooltip-arrow-mask-height',\n    textFieldTooltipArrowMaskImage: '--plasma-combobox-textfield__tooltip-arrow-mask-image',\n    textFieldTooltipArrowHeight: '--plasma-combobox-textfield__tooltip-arrow-height',\n    textFieldTooltipArrowEdgeMargin: '--plasma-combobox-textfield__tooltip-arrow-edge-margin',\n    textFieldTooltipArrowBackground: '--plasma-combobox-textfield__tooltip-arrow-background',\n\n    textFieldChipHeight: '--plasma-combobox-new-textfield-chip-height',\n    textFieldChipBorderRadius: '--plasma-combobox-new-textfield-chip-border-radius',\n    textFieldChipGap: '--plasma-combobox-new-textfield-chip-gap',\n    textFieldChipBackground: '--plasma-combobox-new-textfield--chip-background',\n    textFieldChipColor: '--plasma-combobox-new-textfield-chip-color',\n    textFieldChipBackgroundHover: '--plasma-combobox-new-textfield-chip-background-hover',\n    textFieldChipColorHover: '--plasma-combobox-new-textfield-chip-color-hover',\n    textFieldChipBackgroundReadOnly: '--plasma-combobox-new-textfield-chip-background-read-only',\n    textFieldChipColorReadOnly: '--plasma-combobox-new-textfield-chip-color-read-only',\n    textFieldChipBackgroundReadOnlyHover: '--plasma-combobox-new-textfield-chip-background-read-only-hover',\n    textFieldChipColorReadOnlyHover: '--plasma-combobox-new-textfield-chip-color-read-only-hover',\n    textFieldChipBackgroundActive: '--plasma-combobox-new-textfield-chip-background-active',\n    textFieldChipColorActive: '--plasma-combobox-new-textfield-chip-color-active',\n    textFieldChipCloseIconColor: '--plasma-combobox-new-textfield-chip-close-icons-color',\n    textFieldChipCloseIconColorHover: '--plasma-combobox-new-textfield-chip-close-icons-color-hover',\n    textFieldChipCloseIconColorReadonly: '--plasma-combobox-new-textfield-chip-close-icons-color-readonly',\n    textFieldChipOutlineSize: '--plasma-combobox-new-textfield-chip-outline-size',\n    textFieldChipWidth: '--plasma-combobox-new-textfield-chip-width',\n    textFieldChipPadding: '--plasma-combobox-new-textfield-chip-padding',\n    textFieldChipCloseIconSize: '--plasma-combobox-new-textfield-chip-close-icon-size',\n    textFieldChipFontFamily: '--plasma-combobox-new-textfield-chip-font-family',\n    textFieldChipFontSize: '--plasma-combobox-new-textfield-chip-font-size',\n    textFieldChipFontStyle: '--plasma-combobox-new-textfield-chip-font-style',\n    textFieldChipFontWeight: '--plasma-combobox-new-textfield-chip-font-weight',\n    textFieldChipLetterSpacing: '--plasma-combobox-new-textfield-chip-letter-spacing',\n    textFieldChipLineHeight: '--plasma-combobox-new-textfield-chip-line-height',\n    textFieldChipClearContentMarginLeft: '--plasma-combobox-new-textfield-chip-clear-content-margin-left',\n    textFieldChipClearContentMarginRight: '--plasma-combobox-new-textfield-chip-clear-content-margin-right',\n    textFieldChipOpacityReadonly: '--plasma-combobox-new-textfield-chip-opacity-readonly',\n\n    textFieldFocusColor: '--plasma-combobox-new-textfield-focus-color',\n\n    textFieldBoxShadow: '--plasma-select-textfield-box-shadow',\n\n    textFieldIndicatorColor: '--plasma-combobox-new-textfield-indicator-color',\n    textFieldIndicatorSizeInner: '--plasma-combobox-new-textfield-indicator-size-inner',\n    textFieldIndicatorSizeOuter: '--plasma-combobox-new-textfield-indicator-size-outer',\n    textFieldIndicatorLabelPlacementInner: '--plasma-combobox-new-textfield-indicator-placement-inner',\n    textFieldIndicatorLabelPlacementOuter: '--plasma-combobox-new-textfield-indicator-placement-outer',\n    textFieldIndicatorLabelPlacementInnerRight: '--plasma-combobox-new-textfield-indicator-placement-inner-right',\n    textFieldIndicatorLabelPlacementOuterRight: '--plasma-combobox-new-textfield-indicator-placement-outer-right',\n    textFieldClearIndicatorLabelPlacementInner: '--plasma-combobox-new-textfield-clear-indicator-placement-inner',\n    textFieldClearIndicatorLabelPlacementInnerRight:\n        '--plasma-combobox-new-textfield-clear-indicator-placement-inner-right',\n    textFieldClearIndicatorHintInnerRight: '--plasma-combobox-new-textfield-clear-indicator-hint-placement-inner-right',\n\n    // Токены для EmptyState\n    emptyStatePadding: '--plasma-combobox-new-empty-state-padding',\n\n    labelOffset: '--plasma-combobox-label-offset',\n\n    innerLabelGap: '--plasma-combobox-inner-label-gap',\n\n    helperTextColor: '--plasma-combobox-helper-text-color',\n    helperTextOffset: '--plasma-combobox-helper-text-offset',\n\n    spinnerSize: '--plasma-combobox-spinner-size',\n    spinnerSizeTight: '--plasma-combobox-spinner-size-tight',\n\n    disclosureIconColor: '--plasma-combobox-disclosure-icon-color',\n    disclosureIconColorHover: '--plasma-combobox-disclosure-icon-color-hover',\n    disclosureIconSize: '--plasma-select-disclosure-icon-size',\n    disclosureIconMargin: '--plasma-select-disclosure-icon-margin',\n\n    dividerMarginTop: '--plasma-combobox-divider-margin-top',\n    dividerMarginTopTight: '--plasma-combobox-divider-margin-top-tight',\n    dividerMarginRight: '--plasma-combobox-divider-margin-right',\n    dividerMarginBottom: '--plasma-combobox-divider-margin-bottom',\n    dividerMarginBottomTight: '--plasma-combobox-divider-margin-bottom-tight',\n    dividerMarginLeft: '--plasma-combobox-divider-margin-left',\n    dividerColor: '--plasma-combobox-divider-color',\n};\n\nexport const constants = {\n    focusColor: '--surface-accent',\n    focusSize: '0.0625rem',\n    background: '--surface-solid-card',\n    boxShadow: '0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04)',\n    itemBackground: '--surface-clear',\n    textfieldTargetColor: '--text-primary',\n    textfieldOuterLabelColor: '--text-primary',\n    textfieldInnerLabelColor: '--text-secondary',\n    textfieldPlaceholderColor: '--text-secondary',\n    textfieldBorderSize: '0.0625rem',\n    opacity: '0.4',\n    fontFamily: '--plasma-typo-body-xs-font-family',\n    fontSize: '--plasma-typo-body-xs-font-size',\n    fontStyle: '--plasma-typo-body-xs-font-style',\n    fontWeight: '--plasma-typo-body-xs-font-weight',\n    fontLetterSpacing: '--plasma-typo-body-xs-letter-spacing',\n    fontLineHeight: '--plasma-typo-body-xs-line-height',\n    cellTitleColor: '--text-primary',\n    cellBackgroundColor: '--surface-clear',\n};\n"],"names":["classes","dropdownItemIsFocused","dropdownItemIsDisabled","dropdownItemIsActive","comboboxTargetArrow","arrowInverse","textfieldTarget","selectChipIsFocused","selectWithoutBoxShadow","selectItemCheckbox","selectSpinner","emptyStateWrapper","tokens","borderRadius","padding","margin","focusOffset","fontFamily","fontSize","fontStyle","fontWeight","fontLetterSpacing","fontLineHeight","dropdownBorderColor","dropdownBorderWidth","itemHeight","itemBorderRadius","itemPadding","itemPaddingTight","itemIconSize","itemIconSizeTight","itemIconMargin","itemBackgroundHover","itemIconColor","itemGap","itemTreeOffsetWidth","cellPadding","cellPaddingLeftContent","cellPaddingContent","cellPaddingRightContent","cellTextboxGap","cellGap","cellTitleFontFamily","cellTitleFontSize","cellTitleFontStyle","cellTitleFontWeight","cellTitleLetterSpacing","cellTitleLineHeight","checkboxTriggerSize","checkboxTriggerSizeTight","checkboxTriggerBorderRadius","checkboxTriggerBorderRadiusTight","checkboxFillColor","checkboxIconColor","checkboxTriggerBorderColor","checkboxTriggerBorderCheckedColor","checkboxTriggerBorderWidth","indicatorSize","textFieldColor","textFieldClearColor","textFieldBackgroundColor","textFieldBackgroundColorHover","textFieldBackgroundColorFocus","textFieldBorderColor","textFieldBorderColorHover","textFieldBorderColorFocus","textFieldColorReadOnly","textFieldBackgroundColorReadOnly","textFieldBorderColorReadOnly","textFieldPlaceholderColorReadOnly","textFieldCaretColor","textFieldPlaceholderColor","textFieldPlaceholderColorFocus","textFieldClearPlaceholderColor","textFieldClearPlaceholderColorFocus","textFieldOptionalColor","textFieldHeight","textFieldBorderWidth","textFieldBorderRadius","textFieldPadding","textFieldPaddingWithChips","textFieldLeftContentMargin","textFieldRightContentMargin","textFieldRightContentWithHintMargin","textFieldContentRightWrapperGap","textFieldContentRightWrapperMargin","textFieldFontFamily","textFieldFontStyle","textFieldFontSize","textFieldFontWeight","textFieldLetterSpacing","textFieldLineHeight","textFieldContentSlotColor","textFieldContentSlotColorHover","textFieldContentSlotColorActive","textFieldContentSlotRightColor","textFieldContentSlotRightColorHover","textFieldContentSlotRightColorActive","textFieldContentSlotRightOpacityReadOnly","textFieldLabelColor","textFieldLabelColorReadOnly","textFieldLabelOffset","textFieldClearLabelOffset","textFieldLabelFontFamily","textFieldLabelFontStyle","textFieldLabelFontSize","textFieldLabelFontWeight","textFieldLabelLetterSpacing","textFieldLabelLineHeight","textFieldLabelInnerFontFamily","textFieldLabelInnerFontStyle","textFieldLabelInnerFontSize","textFieldLabelInnerFontWeight","textFieldLabelInnerLetterSpacing","textFieldLabelInnerLineHeight","textFieldLabelInnerPadding","textFieldContentLabelInnerPadding","textFieldTitleCaptionColor","textFieldTitleCaptionColorReadOnly","textFieldTitleCaptionInnerLabelOffset","textFieldTitleCaptionFontFamily","textFieldTitleCaptionFontStyle","textFieldTitleCaptionFontSize","textFieldTitleCaptionFontWeight","textFieldTitleCaptionLetterSpacing","textFieldTitleCaptionLineHeight","textFieldLeftHelperColor","textFieldLeftHelperColorReadOnly","textFieldLeftHelperOffset","textFieldLeftHelperFontFamily","textFieldLeftHelperFontStyle","textFieldLeftHelperFontSize","textFieldLeftHelperFontWeight","textFieldLeftHelperLetterSpacing","textFieldLeftHelperLineHeight","textFieldTextBeforeColor","textFieldTextAfterColor","textFieldTextBeforeMargin","textFieldTextAfterMargin","textFieldDisabledOpacity","textFieldReadOnlyOpacity","textFieldHintCustomIconTargetSize","textFieldHintMargin","textFieldHintTargetSize","textFieldHintIconColor","textFieldHintInnerLabelPlacementOffset","textFieldClearHintInnerLabelPlacementOffset","textFieldTooltipBackgroundColor","textFieldTooltipBoxShadow","textFieldTooltipColor","textFieldTooltipPaddingTop","textFieldTooltipPaddingRight","textFieldTooltipPaddingBottom","textFieldTooltipPaddingLeft","textFieldTooltipMinHeight","textFieldTooltipBorderRadius","textFieldTooltipTextFontFamily","textFieldTooltipTextFontSize","textFieldTooltipTextFontStyle","textFieldTooltipTextFontWeight","textFieldTooltipTextFontLetterSpacing","textFieldTooltipTextFontLineHeight","textFieldTooltipContentLeftMargin","textFieldTooltipArrowMaskWidth","textFieldTooltipArrowMaskHeight","textFieldTooltipArrowMaskImage","textFieldTooltipArrowHeight","textFieldTooltipArrowEdgeMargin","textFieldTooltipArrowBackground","textFieldChipHeight","textFieldChipBorderRadius","textFieldChipGap","textFieldChipBackground","textFieldChipColor","textFieldChipBackgroundHover","textFieldChipColorHover","textFieldChipBackgroundReadOnly","textFieldChipColorReadOnly","textFieldChipBackgroundReadOnlyHover","textFieldChipColorReadOnlyHover","textFieldChipBackgroundActive","textFieldChipColorActive","textFieldChipCloseIconColor","textFieldChipCloseIconColorHover","textFieldChipCloseIconColorReadonly","textFieldChipOutlineSize","textFieldChipWidth","textFieldChipPadding","textFieldChipCloseIconSize","textFieldChipFontFamily","textFieldChipFontSize","textFieldChipFontStyle","textFieldChipFontWeight","textFieldChipLetterSpacing","textFieldChipLineHeight","textFieldChipClearContentMarginLeft","textFieldChipClearContentMarginRight","textFieldChipOpacityReadonly","textFieldFocusColor","textFieldBoxShadow","textFieldIndicatorColor","textFieldIndicatorSizeInner","textFieldIndicatorSizeOuter","textFieldIndicatorLabelPlacementInner","textFieldIndicatorLabelPlacementOuter","textFieldIndicatorLabelPlacementInnerRight","textFieldIndicatorLabelPlacementOuterRight","textFieldClearIndicatorLabelPlacementInner","textFieldClearIndicatorLabelPlacementInnerRight","textFieldClearIndicatorHintInnerRight","emptyStatePadding","labelOffset","innerLabelGap","helperTextColor","helperTextOffset","spinnerSize","spinnerSizeTight","disclosureIconColor","disclosureIconColorHover","disclosureIconSize","disclosureIconMargin","dividerMarginTop","dividerMarginTopTight","dividerMarginRight","dividerMarginBottom","dividerMarginBottomTight","dividerMarginLeft","dividerColor"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,qBAAqB,EAAE,0BAA0B;AACjDC,EAAAA,sBAAsB,EAAE,2BAA2B;AACnDC,EAAAA,oBAAoB,EAAE,yBAAyB;AAC/CC,EAAAA,mBAAmB,EAAE,uBAAuB;AAC5CC,EAAAA,YAAY,EAAE,eAAe;AAC7BC,EAAAA,eAAe,EAAE,2BAA2B;AAC5CC,EAAAA,mBAAmB,EAAE,0BAA0B;AAC/CC,EAAAA,sBAAsB,EAAE,6BAA6B;AACrDC,EAAAA,kBAAkB,EAAE,wBAAwB;AAC5CC,EAAAA,aAAa,EAAE,kBAAkB;AACjCC,EAAAA,iBAAiB,EAAE,8BAAA;AACvB,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClBC,EAAAA,YAAY,EAAE,iCAAiC;AAC/CC,EAAAA,OAAO,EAAE,2BAA2B;AACpCC,EAAA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AAAA,WAAW,EAAE,gCAAgC;AAE7CC,EAAAA,aAAa,EAAE,mCAAmC;AAElDC,EAAAA,eAAe,EAAE,qCAAqC;AACtDC,EAAAA,gBAAgB,EAAE,sCAAsC;AAExDC,EAAAA,WAAW,EAAE,gCAAgC;AAC7CC,EAAAA,gBAAgB,EAAE,sCAAsC;AAExDC,EAAAA,mBAAmB,EAAE,yCAAyC;AAC9DC,EAAAA,wBAAwB,EAAE,+CAA+C;AACzEC,EAAAA,kBAAkB,EAAE,sCAAsC;AAC1DC,EAAAA,oBAAoB,EAAE,wCAAwC;AAE9DC,EAAAA,gBAAgB,EAAE,sCAAsC;AACxDC,EAAAA,qBAAqB,EAAE,4CAA4C;AACnEC,EAAAA,kBAAkB,EAAE,wCAAwC;AAC5DC,EAAAA,mBAAmB,EAAE,yCAAyC;AAC9DC,EAAAA,wBAAwB,EAAE,+CAA+C;AACzEC,EAAAA,iBAAiB,EAAE,uCAAuC;AAC1DC,EAAAA,YAAY,EAAE,iCAAA;AAClB;;;;"}
         
     | 
| 
         @@ -1,3 +1,4 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            import { toConsumableArray as _toConsumableArray } from '../../../../_virtual/_rollupPluginBabelHelpers.js';
         
     | 
| 
       1 
2 
     | 
    
         
             
            import { isEmpty } from '../../../../utils/isEmpty.js';
         
     | 
| 
       2 
3 
     | 
    
         | 
| 
       3 
4 
     | 
    
         
             
            var getPathMap = function getPathMap(items) {
         
     | 
| 
         @@ -23,20 +24,25 @@ var getPathMap = function getPathMap(items) { 
     | 
|
| 
       23 
24 
     | 
    
         
             
            var getTreeMaps = function getTreeMaps(items) {
         
     | 
| 
       24 
25 
     | 
    
         
             
              var valueToCheckedMap = new Map();
         
     | 
| 
       25 
26 
     | 
    
         
             
              var valueToItemMap = new Map();
         
     | 
| 
      
 27 
     | 
    
         
            +
              var valueToPathMap = new Map();
         
     | 
| 
       26 
28 
     | 
    
         
             
              var rec = function rec(items) {
         
     | 
| 
      
 29 
     | 
    
         
            +
                var prevIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
         
     | 
| 
      
 30 
     | 
    
         
            +
                var path = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
         
     | 
| 
       27 
31 
     | 
    
         
             
                items === null || items === void 0 || items.forEach(function (item, index) {
         
     | 
| 
       28 
32 
     | 
    
         
             
                  var value = item.value,
         
     | 
| 
       29 
33 
     | 
    
         
             
                    innerItems = item.items;
         
     | 
| 
      
 34 
     | 
    
         
            +
                  var currIndex = "".concat(prevIndex, "/").concat(index).replace(/^(\/)/, '');
         
     | 
| 
       30 
35 
     | 
    
         
             
                  valueToCheckedMap.set(value, false);
         
     | 
| 
      
 36 
     | 
    
         
            +
                  valueToPathMap.set(value.toString(), [].concat(_toConsumableArray(path), [value.toString()]));
         
     | 
| 
       31 
37 
     | 
    
         
             
                  if (isEmpty(innerItems) || !innerItems) {
         
     | 
| 
       32 
38 
     | 
    
         
             
                    valueToItemMap.set(value, item);
         
     | 
| 
       33 
39 
     | 
    
         
             
                  } else {
         
     | 
| 
       34 
     | 
    
         
            -
                    rec(innerItems);
         
     | 
| 
      
 40 
     | 
    
         
            +
                    rec(innerItems, currIndex, [].concat(_toConsumableArray(path), [value.toString()]));
         
     | 
| 
       35 
41 
     | 
    
         
             
                  }
         
     | 
| 
       36 
42 
     | 
    
         
             
                });
         
     | 
| 
       37 
43 
     | 
    
         
             
              };
         
     | 
| 
       38 
44 
     | 
    
         
             
              rec(items);
         
     | 
| 
       39 
     | 
    
         
            -
              return [valueToCheckedMap, valueToItemMap];
         
     | 
| 
      
 45 
     | 
    
         
            +
              return [valueToCheckedMap, valueToItemMap, valueToPathMap];
         
     | 
| 
       40 
46 
     | 
    
         
             
            };
         
     | 
| 
       41 
47 
     | 
    
         | 
| 
       42 
48 
     | 
    
         
             
            export { getPathMap, getTreeMaps };
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"getPathMaps.js","sources":["../../../../../src/components/Combobox/ComboboxNew/hooks/getPathMaps.ts"],"sourcesContent":["import { isEmpty } from 'src/utils';\n\nimport { ComboboxProps } from '../Combobox.types';\nimport { ItemOptionTransformed } from '../ui/Inner/ui/Item/Item.types';\n\nexport type PathMapType = Map<string, number>;\nexport type FocusedToValueMapType = Map<string, ItemOptionTransformed>;\nexport type ValueToCheckedMapType = Map<ItemOptionTransformed['value'], boolean | 'done' | 'dot' | 'indeterminate'>;\nexport type ValueToItemMapType = Map<ItemOptionTransformed['value'], ItemOptionTransformed>;\n\nexport const getPathMap = (items: ComboboxProps['items']) => {\n    const pathMap: PathMapType = new Map();\n    const focusedToValueMap: FocusedToValueMapType = new Map();\n\n    pathMap.set('root', items?.length || 0);\n\n    const rec = (items: ComboboxProps['items'], prevIndex = '') => {\n        items?.forEach((item: ItemOptionTransformed, index: number) => {\n            const { value, items: innerItems } = item;\n            const currIndex = `${prevIndex}/${index}`.replace(/^(\\/)/, '');\n\n            focusedToValueMap.set(currIndex, item);\n\n            if (innerItems) {\n                pathMap.set(value, innerItems.length);\n                rec(innerItems, currIndex);\n            }\n        });\n    };\n    rec(items);\n\n    return [pathMap, focusedToValueMap] as [PathMapType, FocusedToValueMapType];\n};\n\nexport const getTreeMaps = (items: ComboboxProps['items']) => {\n    const valueToCheckedMap: ValueToCheckedMapType = new Map();\n    const valueToItemMap: ValueToItemMapType = new Map();\n\n    const rec = (items: ComboboxProps['items'], prevIndex = '') => {\n        items?.forEach((item: ItemOptionTransformed, index: number) => {\n            const { value, items: innerItems } = item;\n\n            const currIndex = `${prevIndex}/${index}`.replace(/^(\\/)/, '');\n\n            valueToCheckedMap.set(value, false);\n\n            if (isEmpty(innerItems) || !innerItems) {\n                valueToItemMap.set(value, item);\n            } else {\n                rec(innerItems, currIndex);\n            }\n        });\n    };\n    rec(items);\n\n    return [valueToCheckedMap, valueToItemMap] as [ValueToCheckedMapType 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"getPathMaps.js","sources":["../../../../../src/components/Combobox/ComboboxNew/hooks/getPathMaps.ts"],"sourcesContent":["import { isEmpty } from 'src/utils';\n\nimport { ComboboxProps } from '../Combobox.types';\nimport { ItemOptionTransformed } from '../ui/Inner/ui/Item/Item.types';\n\nexport type PathMapType = Map<string, number>;\nexport type FocusedToValueMapType = Map<string, ItemOptionTransformed>;\nexport type ValueToCheckedMapType = Map<ItemOptionTransformed['value'], boolean | 'done' | 'dot' | 'indeterminate'>;\nexport type ValueToItemMapType = Map<ItemOptionTransformed['value'], ItemOptionTransformed>;\nexport type ValueToPathMapType = Map<string, string[]>;\n\nexport const getPathMap = (items: ComboboxProps['items']) => {\n    const pathMap: PathMapType = new Map();\n    const focusedToValueMap: FocusedToValueMapType = new Map();\n\n    pathMap.set('root', items?.length || 0);\n\n    const rec = (items: ComboboxProps['items'], prevIndex = '') => {\n        items?.forEach((item: ItemOptionTransformed, index: number) => {\n            const { value, items: innerItems } = item;\n            const currIndex = `${prevIndex}/${index}`.replace(/^(\\/)/, '');\n\n            focusedToValueMap.set(currIndex, item);\n\n            if (innerItems) {\n                pathMap.set(value, innerItems.length);\n                rec(innerItems, currIndex);\n            }\n        });\n    };\n    rec(items);\n\n    return [pathMap, focusedToValueMap] as [PathMapType, FocusedToValueMapType];\n};\n\nexport const getTreeMaps = (items: ComboboxProps['items']) => {\n    const valueToCheckedMap: ValueToCheckedMapType = new Map();\n    const valueToItemMap: ValueToItemMapType = new Map();\n    const valueToPathMap: ValueToPathMapType = new Map();\n\n    const rec = (items: ComboboxProps['items'], prevIndex = '', path: string[] = []) => {\n        items?.forEach((item: ItemOptionTransformed, index: number) => {\n            const { value, items: innerItems } = item;\n\n            const currIndex = `${prevIndex}/${index}`.replace(/^(\\/)/, '');\n\n            valueToCheckedMap.set(value, false);\n            valueToPathMap.set(value.toString(), [...path, value.toString()]);\n\n            if (isEmpty(innerItems) || !innerItems) {\n                valueToItemMap.set(value, item);\n            } else {\n                rec(innerItems, currIndex, [...path, value.toString()]);\n            }\n        });\n    };\n    rec(items);\n\n    return [valueToCheckedMap, valueToItemMap, valueToPathMap] as [\n        ValueToCheckedMapType,\n        ValueToItemMapType,\n        ValueToPathMapType,\n    ];\n};\n"],"names":["getPathMap","items","pathMap","Map","focusedToValueMap","set","length","rec","prevIndex","arguments","undefined","forEach","item","index","value","innerItems","currIndex","concat","replace","getTreeMaps","valueToCheckedMap","valueToItemMap","valueToPathMap","path","toString","_toConsumableArray","isEmpty"],"mappings":";;;IAWaA,UAAU,GAAG,SAAbA,UAAUA,CAAIC,KAA6B,EAAK;AACzD,EAAA,IAAMC,OAAoB,GAAG,IAAIC,GAAG,EAAE,CAAA;AACtC,EAAA,IAAMC,iBAAwC,GAAG,IAAID,GAAG,EAAE,CAAA;AAE1DD,EAAAA,OAAO,CAACG,GAAG,CAAC,MAAM,EAAE,CAAAJ,KAAK,KAALA,IAAAA,IAAAA,KAAK,uBAALA,KAAK,CAAEK,MAAM,KAAI,CAAC,CAAC,CAAA;AAEvC,EAAA,IAAMC,GAAG,GAAG,SAANA,GAAGA,CAAIN,KAA6B,EAAqB;AAAA,IAAA,IAAnBO,SAAS,GAAAC,SAAA,CAAAH,MAAA,GAAA,CAAA,IAAAG,SAAA,CAAA,CAAA,CAAA,KAAAC,SAAA,GAAAD,SAAA,CAAA,CAAA,CAAA,GAAG,EAAE,CAAA;IACtDR,KAAK,KAAA,IAAA,IAALA,KAAK,KAAA,KAAA,CAAA,IAALA,KAAK,CAAEU,OAAO,CAAC,UAACC,IAA2B,EAAEC,KAAa,EAAK;AAC3D,MAAA,IAAQC,KAAK,GAAwBF,IAAI,CAAjCE,KAAK;QAASC,UAAU,GAAKH,IAAI,CAA1BX,KAAK,CAAA;AACpB,MAAA,IAAMe,SAAS,GAAG,EAAA,CAAAC,MAAA,CAAGT,SAAS,EAAAS,GAAAA,CAAAA,CAAAA,MAAA,CAAIJ,KAAK,EAAGK,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAA;A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AAA;AAEpB,MAAA,IAAMe,SAAS,GAAG,EAAA,CAAAC,MAAA,CAAGT,SAAS,EAAAS,GAAAA,CAAAA,CAAAA,MAAA,CAAIJ,KAAK,EAAGK,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAA;AAE9DE,MAAAA,iBAAiB,CAACf,GAAG,CAACS,KAAK,EAAE,KAAK,CAAC,CAAA;MACnCQ,cAAc,CAACjB,GAAG,CAACS,KAAK,CAACU,QAAQ,EAAE,EAAAP,EAAAA,CAAAA,MAAA,CAAAQ,kBAAA,CAAMF,IAAI,CAAET,EAAAA,CAAAA,KAAK,CAACU,QAAQ,EAAE,CAAA,CAAC,CAAC,CAAA;AAEjE,MAAA,IAAIE,OAAO,CAACX,UAAU,CAAC,IAAI,CAACA,UAAU,EAAE;AACpCM,QAAAA,cAAc,CAAChB,GAAG,CAACS,KAAK,EAAEF,IAAI,CAAC,CAAA;AACnC,OAAC,MAAM;AACHL,QAAAA,GAAG,CAACQ,UAAU,EAAEC,SAAS,EAAA,EAAA,CAAAC,MAAA,CAAAQ,kBAAA,CAAMF,IAAI,IAAET,KAAK,CAACU,QAAQ,EAAE,EAAC,CAAC,CAAA;AAC3D,OAAA;AACJ,KAAC,CAAC,CAAA;GACL,CAAA;EACDjB,GAAG,CAACN,KAAK,CAAC,CAAA;AAEV,EAAA,OAAO,CAACmB,iBAAiB,EAAEC,cAAc,EAAEC,cAAc,CAAC,CAAA;AAK9D;;;;"}
         
     | 
| 
         @@ -1,4 +1,6 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            import { toConsumableArray as _toConsumableArray, createForOfIteratorHelper as _createForOfIteratorHelper } from '../../../../_virtual/_rollupPluginBabelHelpers.js';
         
     | 
| 
       1 
2 
     | 
    
         
             
            import { isEmpty } from '../../../../utils/isEmpty.js';
         
     | 
| 
      
 3 
     | 
    
         
            +
            import { keyExists } from '../../../Select/reducers/treePathReducer.js';
         
     | 
| 
       2 
4 
     | 
    
         | 
| 
       3 
5 
     | 
    
         
             
            var JUMP_SIZE = 10;
         
     | 
| 
       4 
6 
     | 
    
         
             
            var keys = {
         
     | 
| 
         @@ -22,6 +24,7 @@ var getItemByFocused = function getItemByFocused(focusedPath, focusedToValueMap) 
     | 
|
| 
       22 
24 
     | 
    
         
             
              }, '').replace(/^(\/)/, '');
         
     | 
| 
       23 
25 
     | 
    
         
             
              return focusedToValueMap.get(focusedPathAsString);
         
     | 
| 
       24 
26 
     | 
    
         
             
            };
         
     | 
| 
      
 27 
     | 
    
         
            +
            // #TODO: подумать над идеей выноса логики фокуса непосредственно в focusedPathReducer.
         
     | 
| 
       25 
28 
     | 
    
         
             
            var useKeyNavigation = function useKeyNavigation(_ref) {
         
     | 
| 
       26 
29 
     | 
    
         
             
              var focusedPath = _ref.focusedPath,
         
     | 
| 
       27 
30 
     | 
    
         
             
                dispatchFocusedPath = _ref.dispatchFocusedPath,
         
     | 
| 
         @@ -35,7 +38,69 @@ var useKeyNavigation = function useKeyNavigation(_ref) { 
     | 
|
| 
       35 
38 
     | 
    
         
             
                multiple = _ref.multiple,
         
     | 
| 
       36 
39 
     | 
    
         
             
                value = _ref.value,
         
     | 
| 
       37 
40 
     | 
    
         
             
                textValue = _ref.textValue,
         
     | 
| 
       38 
     | 
    
         
            -
                valueToItemMap = _ref.valueToItemMap 
     | 
| 
      
 41 
     | 
    
         
            +
                valueToItemMap = _ref.valueToItemMap,
         
     | 
| 
      
 42 
     | 
    
         
            +
                treePath = _ref.treePath,
         
     | 
| 
      
 43 
     | 
    
         
            +
                dispatchTreePath = _ref.dispatchTreePath,
         
     | 
| 
      
 44 
     | 
    
         
            +
                treeView = _ref.treeView,
         
     | 
| 
      
 45 
     | 
    
         
            +
                valueToPathMap = _ref.valueToPathMap,
         
     | 
| 
      
 46 
     | 
    
         
            +
                items = _ref.items;
         
     | 
| 
      
 47 
     | 
    
         
            +
              if (treeView) {
         
     | 
| 
      
 48 
     | 
    
         
            +
                return keyboardNavigationTree({
         
     | 
| 
      
 49 
     | 
    
         
            +
                  focusedPath: focusedPath,
         
     | 
| 
      
 50 
     | 
    
         
            +
                  dispatchFocusedPath: dispatchFocusedPath,
         
     | 
| 
      
 51 
     | 
    
         
            +
                  path: path,
         
     | 
| 
      
 52 
     | 
    
         
            +
                  dispatchPath: dispatchPath,
         
     | 
| 
      
 53 
     | 
    
         
            +
                  pathMap: pathMap,
         
     | 
| 
      
 54 
     | 
    
         
            +
                  focusedToValueMap: focusedToValueMap,
         
     | 
| 
      
 55 
     | 
    
         
            +
                  handleListToggle: handleListToggle,
         
     | 
| 
      
 56 
     | 
    
         
            +
                  handlePressDown: handlePressDown,
         
     | 
| 
      
 57 
     | 
    
         
            +
                  setTextValue: setTextValue,
         
     | 
| 
      
 58 
     | 
    
         
            +
                  multiple: multiple,
         
     | 
| 
      
 59 
     | 
    
         
            +
                  value: value,
         
     | 
| 
      
 60 
     | 
    
         
            +
                  textValue: textValue,
         
     | 
| 
      
 61 
     | 
    
         
            +
                  valueToItemMap: valueToItemMap,
         
     | 
| 
      
 62 
     | 
    
         
            +
                  treePath: treePath,
         
     | 
| 
      
 63 
     | 
    
         
            +
                  dispatchTreePath: dispatchTreePath,
         
     | 
| 
      
 64 
     | 
    
         
            +
                  treeView: treeView,
         
     | 
| 
      
 65 
     | 
    
         
            +
                  valueToPathMap: valueToPathMap,
         
     | 
| 
      
 66 
     | 
    
         
            +
                  items: items
         
     | 
| 
      
 67 
     | 
    
         
            +
                });
         
     | 
| 
      
 68 
     | 
    
         
            +
              }
         
     | 
| 
      
 69 
     | 
    
         
            +
              return keyboardNavigationDefault({
         
     | 
| 
      
 70 
     | 
    
         
            +
                focusedPath: focusedPath,
         
     | 
| 
      
 71 
     | 
    
         
            +
                dispatchFocusedPath: dispatchFocusedPath,
         
     | 
| 
      
 72 
     | 
    
         
            +
                path: path,
         
     | 
| 
      
 73 
     | 
    
         
            +
                dispatchPath: dispatchPath,
         
     | 
| 
      
 74 
     | 
    
         
            +
                pathMap: pathMap,
         
     | 
| 
      
 75 
     | 
    
         
            +
                focusedToValueMap: focusedToValueMap,
         
     | 
| 
      
 76 
     | 
    
         
            +
                handleListToggle: handleListToggle,
         
     | 
| 
      
 77 
     | 
    
         
            +
                handlePressDown: handlePressDown,
         
     | 
| 
      
 78 
     | 
    
         
            +
                setTextValue: setTextValue,
         
     | 
| 
      
 79 
     | 
    
         
            +
                multiple: multiple,
         
     | 
| 
      
 80 
     | 
    
         
            +
                value: value,
         
     | 
| 
      
 81 
     | 
    
         
            +
                textValue: textValue,
         
     | 
| 
      
 82 
     | 
    
         
            +
                valueToItemMap: valueToItemMap,
         
     | 
| 
      
 83 
     | 
    
         
            +
                treePath: treePath,
         
     | 
| 
      
 84 
     | 
    
         
            +
                dispatchTreePath: dispatchTreePath,
         
     | 
| 
      
 85 
     | 
    
         
            +
                treeView: treeView,
         
     | 
| 
      
 86 
     | 
    
         
            +
                valueToPathMap: valueToPathMap,
         
     | 
| 
      
 87 
     | 
    
         
            +
                items: items
         
     | 
| 
      
 88 
     | 
    
         
            +
              });
         
     | 
| 
      
 89 
     | 
    
         
            +
            };
         
     | 
| 
      
 90 
     | 
    
         
            +
            var keyboardNavigationDefault = function keyboardNavigationDefault(_ref2) {
         
     | 
| 
      
 91 
     | 
    
         
            +
              var focusedPath = _ref2.focusedPath,
         
     | 
| 
      
 92 
     | 
    
         
            +
                dispatchFocusedPath = _ref2.dispatchFocusedPath,
         
     | 
| 
      
 93 
     | 
    
         
            +
                path = _ref2.path,
         
     | 
| 
      
 94 
     | 
    
         
            +
                dispatchPath = _ref2.dispatchPath,
         
     | 
| 
      
 95 
     | 
    
         
            +
                pathMap = _ref2.pathMap,
         
     | 
| 
      
 96 
     | 
    
         
            +
                focusedToValueMap = _ref2.focusedToValueMap,
         
     | 
| 
      
 97 
     | 
    
         
            +
                handleListToggle = _ref2.handleListToggle,
         
     | 
| 
      
 98 
     | 
    
         
            +
                handlePressDown = _ref2.handlePressDown,
         
     | 
| 
      
 99 
     | 
    
         
            +
                setTextValue = _ref2.setTextValue,
         
     | 
| 
      
 100 
     | 
    
         
            +
                multiple = _ref2.multiple,
         
     | 
| 
      
 101 
     | 
    
         
            +
                value = _ref2.value,
         
     | 
| 
      
 102 
     | 
    
         
            +
                textValue = _ref2.textValue,
         
     | 
| 
      
 103 
     | 
    
         
            +
                valueToItemMap = _ref2.valueToItemMap;
         
     | 
| 
       39 
104 
     | 
    
         
             
              var currentIndex = (focusedPath === null || focusedPath === void 0 ? void 0 : focusedPath[focusedPath.length - 1]) || 0;
         
     | 
| 
       40 
105 
     | 
    
         
             
              var currentLength = pathMap.get(path === null || path === void 0 ? void 0 : path[focusedPath.length - 1]) || 0;
         
     | 
| 
       41 
106 
     | 
    
         
             
              var onKeyDown = function onKeyDown(event) {
         
     | 
| 
         @@ -289,6 +354,259 @@ var useKeyNavigation = function useKeyNavigation(_ref) { 
     | 
|
| 
       289 
354 
     | 
    
         
             
                onKeyDown: onKeyDown
         
     | 
| 
       290 
355 
     | 
    
         
             
              };
         
     | 
| 
       291 
356 
     | 
    
         
             
            };
         
     | 
| 
      
 357 
     | 
    
         
            +
            var keyboardNavigationTree = function keyboardNavigationTree(_ref3) {
         
     | 
| 
      
 358 
     | 
    
         
            +
              var _currentItem$parent;
         
     | 
| 
      
 359 
     | 
    
         
            +
              var focusedPath = _ref3.focusedPath,
         
     | 
| 
      
 360 
     | 
    
         
            +
                dispatchFocusedPath = _ref3.dispatchFocusedPath,
         
     | 
| 
      
 361 
     | 
    
         
            +
                path = _ref3.path,
         
     | 
| 
      
 362 
     | 
    
         
            +
                dispatchPath = _ref3.dispatchPath,
         
     | 
| 
      
 363 
     | 
    
         
            +
                pathMap = _ref3.pathMap,
         
     | 
| 
      
 364 
     | 
    
         
            +
                focusedToValueMap = _ref3.focusedToValueMap,
         
     | 
| 
      
 365 
     | 
    
         
            +
                handleListToggle = _ref3.handleListToggle,
         
     | 
| 
      
 366 
     | 
    
         
            +
                handlePressDown = _ref3.handlePressDown,
         
     | 
| 
      
 367 
     | 
    
         
            +
                setTextValue = _ref3.setTextValue,
         
     | 
| 
      
 368 
     | 
    
         
            +
                multiple = _ref3.multiple,
         
     | 
| 
      
 369 
     | 
    
         
            +
                value = _ref3.value,
         
     | 
| 
      
 370 
     | 
    
         
            +
                textValue = _ref3.textValue,
         
     | 
| 
      
 371 
     | 
    
         
            +
                valueToItemMap = _ref3.valueToItemMap,
         
     | 
| 
      
 372 
     | 
    
         
            +
                treePath = _ref3.treePath,
         
     | 
| 
      
 373 
     | 
    
         
            +
                dispatchTreePath = _ref3.dispatchTreePath,
         
     | 
| 
      
 374 
     | 
    
         
            +
                valueToPathMap = _ref3.valueToPathMap,
         
     | 
| 
      
 375 
     | 
    
         
            +
                items = _ref3.items;
         
     | 
| 
      
 376 
     | 
    
         
            +
              var currentItem = getItemByFocused(focusedPath, focusedToValueMap);
         
     | 
| 
      
 377 
     | 
    
         
            +
              var currentIndex = (focusedPath === null || focusedPath === void 0 ? void 0 : focusedPath[focusedPath.length - 1]) || 0;
         
     | 
| 
      
 378 
     | 
    
         
            +
              var currentLength = (currentItem === null || currentItem === void 0 || (_currentItem$parent = currentItem.parent) === null || _currentItem$parent === void 0 || (_currentItem$parent = _currentItem$parent.items) === null || _currentItem$parent === void 0 ? void 0 : _currentItem$parent.length) || pathMap.get('root') || 0;
         
     | 
| 
      
 379 
     | 
    
         
            +
              var isValidFocus = function isValidFocus(focusCandidate) {
         
     | 
| 
      
 380 
     | 
    
         
            +
                if (!Array.isArray(items) || !Array.isArray(focusCandidate)) return false;
         
     | 
| 
      
 381 
     | 
    
         
            +
                var currentLevel = items;
         
     | 
| 
      
 382 
     | 
    
         
            +
                var _iterator = _createForOfIteratorHelper(focusCandidate),
         
     | 
| 
      
 383 
     | 
    
         
            +
                  _step;
         
     | 
| 
      
 384 
     | 
    
         
            +
                try {
         
     | 
| 
      
 385 
     | 
    
         
            +
                  for (_iterator.s(); !(_step = _iterator.n()).done;) {
         
     | 
| 
      
 386 
     | 
    
         
            +
                    var index = _step.value;
         
     | 
| 
      
 387 
     | 
    
         
            +
                    if (!Array.isArray(currentLevel) || index >= currentLevel.length) {
         
     | 
| 
      
 388 
     | 
    
         
            +
                      return false;
         
     | 
| 
      
 389 
     | 
    
         
            +
                    }
         
     | 
| 
      
 390 
     | 
    
         
            +
                    var node = currentLevel[index];
         
     | 
| 
      
 391 
     | 
    
         
            +
                    currentLevel = node.items || [];
         
     | 
| 
      
 392 
     | 
    
         
            +
                  }
         
     | 
| 
      
 393 
     | 
    
         
            +
                } catch (err) {
         
     | 
| 
      
 394 
     | 
    
         
            +
                  _iterator.e(err);
         
     | 
| 
      
 395 
     | 
    
         
            +
                } finally {
         
     | 
| 
      
 396 
     | 
    
         
            +
                  _iterator.f();
         
     | 
| 
      
 397 
     | 
    
         
            +
                }
         
     | 
| 
      
 398 
     | 
    
         
            +
                return true;
         
     | 
| 
      
 399 
     | 
    
         
            +
              };
         
     | 
| 
      
 400 
     | 
    
         
            +
              var onKeyDown = function onKeyDown(event) {
         
     | 
| 
      
 401 
     | 
    
         
            +
                switch (event.code) {
         
     | 
| 
      
 402 
     | 
    
         
            +
                  case keys.ArrowUp:
         
     | 
| 
      
 403 
     | 
    
         
            +
                    {
         
     | 
| 
      
 404 
     | 
    
         
            +
                      if (path[0]) {
         
     | 
| 
      
 405 
     | 
    
         
            +
                        event.stopPropagation();
         
     | 
| 
      
 406 
     | 
    
         
            +
                        event.preventDefault();
         
     | 
| 
      
 407 
     | 
    
         
            +
                      }
         
     | 
| 
      
 408 
     | 
    
         
            +
             
     | 
| 
      
 409 
     | 
    
         
            +
                      /**
         
     | 
| 
      
 410 
     | 
    
         
            +
                       * Если список открыт и фокус уже установлен на каком-либо элементе.
         
     | 
| 
      
 411 
     | 
    
         
            +
                       * */
         
     | 
| 
      
 412 
     | 
    
         
            +
                      if (focusedPath.length) {
         
     | 
| 
      
 413 
     | 
    
         
            +
                        /**
         
     | 
| 
      
 414 
     | 
    
         
            +
                         * Если это не первый элемент, то нужно вначале найти элемент для фокуса.
         
     | 
| 
      
 415 
     | 
    
         
            +
                         * Т.к. если верхний элемент раскрыт, то и перемещаться нужно не на него,
         
     | 
| 
      
 416 
     | 
    
         
            +
                         * а на его самый нижний дочерний элемент.
         
     | 
| 
      
 417 
     | 
    
         
            +
                         * */
         
     | 
| 
      
 418 
     | 
    
         
            +
                        if (currentIndex > 0) {
         
     | 
| 
      
 419 
     | 
    
         
            +
                          var nextFocus = [].concat(_toConsumableArray(focusedPath.slice(0, -1)), [currentIndex - 1]);
         
     | 
| 
      
 420 
     | 
    
         
            +
                          for (var i = 0; i <= focusedPath.length; i++) {
         
     | 
| 
      
 421 
     | 
    
         
            +
                            var focusedPathAsString = nextFocus.reduce(function (acc, n) {
         
     | 
| 
      
 422 
     | 
    
         
            +
                              return "".concat(acc, "/").concat(n);
         
     | 
| 
      
 423 
     | 
    
         
            +
                            }, '').replace(/^(\/)/, '');
         
     | 
| 
      
 424 
     | 
    
         
            +
                            var item = focusedToValueMap.get(focusedPathAsString);
         
     | 
| 
      
 425 
     | 
    
         
            +
                            var isLevelOpened = keyExists(treePath, valueToPathMap.get(item === null || item === void 0 ? void 0 : item.value.toString()) || []);
         
     | 
| 
      
 426 
     | 
    
         
            +
                            if (isLevelOpened) {
         
     | 
| 
      
 427 
     | 
    
         
            +
                              var _item$items;
         
     | 
| 
      
 428 
     | 
    
         
            +
                              nextFocus = [].concat(_toConsumableArray(nextFocus), [((item === null || item === void 0 || (_item$items = item.items) === null || _item$items === void 0 ? void 0 : _item$items.length) || 0) - 1]);
         
     | 
| 
      
 429 
     | 
    
         
            +
                            } else {
         
     | 
| 
      
 430 
     | 
    
         
            +
                              break;
         
     | 
| 
      
 431 
     | 
    
         
            +
                            }
         
     | 
| 
      
 432 
     | 
    
         
            +
                          }
         
     | 
| 
      
 433 
     | 
    
         
            +
                          dispatchFocusedPath({
         
     | 
| 
      
 434 
     | 
    
         
            +
                            type: 'set_focus',
         
     | 
| 
      
 435 
     | 
    
         
            +
                            value: nextFocus
         
     | 
| 
      
 436 
     | 
    
         
            +
                          });
         
     | 
| 
      
 437 
     | 
    
         
            +
                        } else {
         
     | 
| 
      
 438 
     | 
    
         
            +
                          /**
         
     | 
| 
      
 439 
     | 
    
         
            +
                           * Если элемент первый, то нужно лишь подняться к его родителю.
         
     | 
| 
      
 440 
     | 
    
         
            +
                           * */
         
     | 
| 
      
 441 
     | 
    
         
            +
                          dispatchFocusedPath({
         
     | 
| 
      
 442 
     | 
    
         
            +
                            type: 'return_prev_focus'
         
     | 
| 
      
 443 
     | 
    
         
            +
                          });
         
     | 
| 
      
 444 
     | 
    
         
            +
                        }
         
     | 
| 
      
 445 
     | 
    
         
            +
                      } else {
         
     | 
| 
      
 446 
     | 
    
         
            +
                        /**
         
     | 
| 
      
 447 
     | 
    
         
            +
                         * Если список закрыт, то нужно его открыть и установить фокус на первый элемент.
         
     | 
| 
      
 448 
     | 
    
         
            +
                         * */
         
     | 
| 
      
 449 
     | 
    
         
            +
                        dispatchPath({
         
     | 
| 
      
 450 
     | 
    
         
            +
                          type: 'opened_first_level'
         
     | 
| 
      
 451 
     | 
    
         
            +
                        });
         
     | 
| 
      
 452 
     | 
    
         
            +
                        dispatchFocusedPath({
         
     | 
| 
      
 453 
     | 
    
         
            +
                          type: 'set_initial_focus'
         
     | 
| 
      
 454 
     | 
    
         
            +
                        });
         
     | 
| 
      
 455 
     | 
    
         
            +
                        handleListToggle(true);
         
     | 
| 
      
 456 
     | 
    
         
            +
                      }
         
     | 
| 
      
 457 
     | 
    
         
            +
                      break;
         
     | 
| 
      
 458 
     | 
    
         
            +
                    }
         
     | 
| 
      
 459 
     | 
    
         
            +
                  case keys.ArrowDown:
         
     | 
| 
      
 460 
     | 
    
         
            +
                    {
         
     | 
| 
      
 461 
     | 
    
         
            +
                      if (path[0]) {
         
     | 
| 
      
 462 
     | 
    
         
            +
                        event.stopPropagation();
         
     | 
| 
      
 463 
     | 
    
         
            +
                        event.preventDefault();
         
     | 
| 
      
 464 
     | 
    
         
            +
                      }
         
     | 
| 
      
 465 
     | 
    
         
            +
             
     | 
| 
      
 466 
     | 
    
         
            +
                      /**
         
     | 
| 
      
 467 
     | 
    
         
            +
                       * Если список открыт и фокус уже установлен на каком-либо элементе.
         
     | 
| 
      
 468 
     | 
    
         
            +
                       * */
         
     | 
| 
      
 469 
     | 
    
         
            +
                      if (focusedPath.length) {
         
     | 
| 
      
 470 
     | 
    
         
            +
                        /**
         
     | 
| 
      
 471 
     | 
    
         
            +
                         * Заходим сюда если у элемента есть другие вложенные элементы.
         
     | 
| 
      
 472 
     | 
    
         
            +
                         * */
         
     | 
| 
      
 473 
     | 
    
         
            +
                        if (currentItem !== null && currentItem !== void 0 && currentItem.items && currentItem !== null && currentItem !== void 0 && currentItem.items.length) {
         
     | 
| 
      
 474 
     | 
    
         
            +
                          var isCurrentLevelOpened = keyExists(treePath, valueToPathMap.get(currentItem.value.toString()) || []);
         
     | 
| 
      
 475 
     | 
    
         
            +
             
     | 
| 
      
 476 
     | 
    
         
            +
                          /**
         
     | 
| 
      
 477 
     | 
    
         
            +
                           * Если у этого элемента открыт его дочерний список,
         
     | 
| 
      
 478 
     | 
    
         
            +
                           * то устанавливаем фокус на первый элемент из этого списка
         
     | 
| 
      
 479 
     | 
    
         
            +
                           * и сразу же выходим из обработчика события.
         
     | 
| 
      
 480 
     | 
    
         
            +
                           * */
         
     | 
| 
      
 481 
     | 
    
         
            +
                          if (isCurrentLevelOpened) {
         
     | 
| 
      
 482 
     | 
    
         
            +
                            dispatchFocusedPath({
         
     | 
| 
      
 483 
     | 
    
         
            +
                              type: 'add_focus',
         
     | 
| 
      
 484 
     | 
    
         
            +
                              value: 0
         
     | 
| 
      
 485 
     | 
    
         
            +
                            });
         
     | 
| 
      
 486 
     | 
    
         
            +
                            break;
         
     | 
| 
      
 487 
     | 
    
         
            +
                          }
         
     | 
| 
      
 488 
     | 
    
         
            +
                        }
         
     | 
| 
      
 489 
     | 
    
         
            +
             
     | 
| 
      
 490 
     | 
    
         
            +
                        /**
         
     | 
| 
      
 491 
     | 
    
         
            +
                         * Если мы еще не достигли конца списка, то движемся к следующему элементу.
         
     | 
| 
      
 492 
     | 
    
         
            +
                         * */
         
     | 
| 
      
 493 
     | 
    
         
            +
                        if (currentIndex + 1 < currentLength) {
         
     | 
| 
      
 494 
     | 
    
         
            +
                          dispatchFocusedPath({
         
     | 
| 
      
 495 
     | 
    
         
            +
                            type: 'change_last_focus',
         
     | 
| 
      
 496 
     | 
    
         
            +
                            value: currentIndex + 1
         
     | 
| 
      
 497 
     | 
    
         
            +
                          });
         
     | 
| 
      
 498 
     | 
    
         
            +
                        } else {
         
     | 
| 
      
 499 
     | 
    
         
            +
                          /**
         
     | 
| 
      
 500 
     | 
    
         
            +
                           * Если же достигли последнего элемента на текущем уровне, то нужно определить,
         
     | 
| 
      
 501 
     | 
    
         
            +
                           * на какой из элементов ниже мы перейдем.
         
     | 
| 
      
 502 
     | 
    
         
            +
                           * Переход фокуса отсюда может быть только на уровни выше, при чем сразу на несколько.
         
     | 
| 
      
 503 
     | 
    
         
            +
                           * */
         
     | 
| 
      
 504 
     | 
    
         
            +
                          var focusCandidate = _toConsumableArray(focusedPath);
         
     | 
| 
      
 505 
     | 
    
         
            +
                          var _nextFocus = null;
         
     | 
| 
      
 506 
     | 
    
         
            +
                          while (focusCandidate.length > 1) {
         
     | 
| 
      
 507 
     | 
    
         
            +
                            focusCandidate = [].concat(_toConsumableArray(focusCandidate.slice(0, -2)), [(focusCandidate.at(-2) || 0) + 1]);
         
     | 
| 
      
 508 
     | 
    
         
            +
                            if (isValidFocus(focusCandidate)) {
         
     | 
| 
      
 509 
     | 
    
         
            +
                              _nextFocus = focusCandidate;
         
     | 
| 
      
 510 
     | 
    
         
            +
                              break;
         
     | 
| 
      
 511 
     | 
    
         
            +
                            }
         
     | 
| 
      
 512 
     | 
    
         
            +
                          }
         
     | 
| 
      
 513 
     | 
    
         
            +
                          if (_nextFocus) {
         
     | 
| 
      
 514 
     | 
    
         
            +
                            dispatchFocusedPath({
         
     | 
| 
      
 515 
     | 
    
         
            +
                              type: 'set_focus',
         
     | 
| 
      
 516 
     | 
    
         
            +
                              value: _nextFocus
         
     | 
| 
      
 517 
     | 
    
         
            +
                            });
         
     | 
| 
      
 518 
     | 
    
         
            +
                          } else {
         
     | 
| 
      
 519 
     | 
    
         
            +
                            break;
         
     | 
| 
      
 520 
     | 
    
         
            +
                          }
         
     | 
| 
      
 521 
     | 
    
         
            +
                        }
         
     | 
| 
      
 522 
     | 
    
         
            +
                      } else {
         
     | 
| 
      
 523 
     | 
    
         
            +
                        /**
         
     | 
| 
      
 524 
     | 
    
         
            +
                         * Если список закрыт, то нужно его открыть и установить фокус на первый элемент.
         
     | 
| 
      
 525 
     | 
    
         
            +
                         * */
         
     | 
| 
      
 526 
     | 
    
         
            +
                        dispatchPath({
         
     | 
| 
      
 527 
     | 
    
         
            +
                          type: 'opened_first_level'
         
     | 
| 
      
 528 
     | 
    
         
            +
                        });
         
     | 
| 
      
 529 
     | 
    
         
            +
                        dispatchFocusedPath({
         
     | 
| 
      
 530 
     | 
    
         
            +
                          type: 'set_initial_focus'
         
     | 
| 
      
 531 
     | 
    
         
            +
                        });
         
     | 
| 
      
 532 
     | 
    
         
            +
                        handleListToggle(true);
         
     | 
| 
      
 533 
     | 
    
         
            +
                      }
         
     | 
| 
      
 534 
     | 
    
         
            +
                      break;
         
     | 
| 
      
 535 
     | 
    
         
            +
                    }
         
     | 
| 
      
 536 
     | 
    
         
            +
                  case keys.ArrowLeft:
         
     | 
| 
      
 537 
     | 
    
         
            +
                    {
         
     | 
| 
      
 538 
     | 
    
         
            +
                      if (path[0]) {
         
     | 
| 
      
 539 
     | 
    
         
            +
                        event.stopPropagation();
         
     | 
| 
      
 540 
     | 
    
         
            +
                        event.preventDefault();
         
     | 
| 
      
 541 
     | 
    
         
            +
                        if (focusedPath.length) {
         
     | 
| 
      
 542 
     | 
    
         
            +
                          dispatchTreePath({
         
     | 
| 
      
 543 
     | 
    
         
            +
                            type: 'close_level',
         
     | 
| 
      
 544 
     | 
    
         
            +
                            value: valueToPathMap.get((currentItem === null || currentItem === void 0 ? void 0 : currentItem.value.toString()) || '') || []
         
     | 
| 
      
 545 
     | 
    
         
            +
                          });
         
     | 
| 
      
 546 
     | 
    
         
            +
                        }
         
     | 
| 
      
 547 
     | 
    
         
            +
                      }
         
     | 
| 
      
 548 
     | 
    
         
            +
                      break;
         
     | 
| 
      
 549 
     | 
    
         
            +
                    }
         
     | 
| 
      
 550 
     | 
    
         
            +
                  case keys.ArrowRight:
         
     | 
| 
      
 551 
     | 
    
         
            +
                    {
         
     | 
| 
      
 552 
     | 
    
         
            +
                      if (path[0]) {
         
     | 
| 
      
 553 
     | 
    
         
            +
                        event.stopPropagation();
         
     | 
| 
      
 554 
     | 
    
         
            +
                        event.preventDefault();
         
     | 
| 
      
 555 
     | 
    
         
            +
                        if (!focusedPath.length || currentItem !== null && currentItem !== void 0 && currentItem.disabled || !(currentItem !== null && currentItem !== void 0 && currentItem.items)) {
         
     | 
| 
      
 556 
     | 
    
         
            +
                          break;
         
     | 
| 
      
 557 
     | 
    
         
            +
                        }
         
     | 
| 
      
 558 
     | 
    
         
            +
                        dispatchTreePath({
         
     | 
| 
      
 559 
     | 
    
         
            +
                          type: 'open_level',
         
     | 
| 
      
 560 
     | 
    
         
            +
                          value: valueToPathMap.get(currentItem.value.toString()) || []
         
     | 
| 
      
 561 
     | 
    
         
            +
                        });
         
     | 
| 
      
 562 
     | 
    
         
            +
                      }
         
     | 
| 
      
 563 
     | 
    
         
            +
                      break;
         
     | 
| 
      
 564 
     | 
    
         
            +
                    }
         
     | 
| 
      
 565 
     | 
    
         
            +
                  case keys.Enter:
         
     | 
| 
      
 566 
     | 
    
         
            +
                    {
         
     | 
| 
      
 567 
     | 
    
         
            +
                      event.preventDefault();
         
     | 
| 
      
 568 
     | 
    
         
            +
                      if (!currentItem || currentItem !== null && currentItem !== void 0 && currentItem.disabled) {
         
     | 
| 
      
 569 
     | 
    
         
            +
                        break;
         
     | 
| 
      
 570 
     | 
    
         
            +
                      }
         
     | 
| 
      
 571 
     | 
    
         
            +
                      if (!path[0]) {
         
     | 
| 
      
 572 
     | 
    
         
            +
                        dispatchPath({
         
     | 
| 
      
 573 
     | 
    
         
            +
                          type: 'opened_first_level'
         
     | 
| 
      
 574 
     | 
    
         
            +
                        });
         
     | 
| 
      
 575 
     | 
    
         
            +
                        dispatchFocusedPath({
         
     | 
| 
      
 576 
     | 
    
         
            +
                          type: 'set_initial_focus'
         
     | 
| 
      
 577 
     | 
    
         
            +
                        });
         
     | 
| 
      
 578 
     | 
    
         
            +
                        break;
         
     | 
| 
      
 579 
     | 
    
         
            +
                      }
         
     | 
| 
      
 580 
     | 
    
         
            +
                      handlePressDown(currentItem);
         
     | 
| 
      
 581 
     | 
    
         
            +
                      break;
         
     | 
| 
      
 582 
     | 
    
         
            +
                    }
         
     | 
| 
      
 583 
     | 
    
         
            +
                  case keys.Tab:
         
     | 
| 
      
 584 
     | 
    
         
            +
                  case keys.Escape:
         
     | 
| 
      
 585 
     | 
    
         
            +
                    {
         
     | 
| 
      
 586 
     | 
    
         
            +
                      if (path[0]) {
         
     | 
| 
      
 587 
     | 
    
         
            +
                        handleListToggle(false);
         
     | 
| 
      
 588 
     | 
    
         
            +
                      }
         
     | 
| 
      
 589 
     | 
    
         
            +
                      if (multiple) {
         
     | 
| 
      
 590 
     | 
    
         
            +
                        setTextValue('');
         
     | 
| 
      
 591 
     | 
    
         
            +
                      } else if (textValue !== value) {
         
     | 
| 
      
 592 
     | 
    
         
            +
                        // Проверяем, отличается ли значение в инпуте от выбранного value после нажатия Tab/Enter.
         
     | 
| 
      
 593 
     | 
    
         
            +
                        // Если изменилось, то возвращаем label выбранного айтема.
         
     | 
| 
      
 594 
     | 
    
         
            +
                        // Если нет выбранного элемента, то стираем значение инпута.
         
     | 
| 
      
 595 
     | 
    
         
            +
                        if (isEmpty(value)) {
         
     | 
| 
      
 596 
     | 
    
         
            +
                          setTextValue('');
         
     | 
| 
      
 597 
     | 
    
         
            +
                        } else {
         
     | 
| 
      
 598 
     | 
    
         
            +
                          var _valueToItemMap$get2;
         
     | 
| 
      
 599 
     | 
    
         
            +
                          setTextValue(((_valueToItemMap$get2 = valueToItemMap.get(value)) === null || _valueToItemMap$get2 === void 0 ? void 0 : _valueToItemMap$get2.label) || '');
         
     | 
| 
      
 600 
     | 
    
         
            +
                        }
         
     | 
| 
      
 601 
     | 
    
         
            +
                      }
         
     | 
| 
      
 602 
     | 
    
         
            +
                      break;
         
     | 
| 
      
 603 
     | 
    
         
            +
                    }
         
     | 
| 
      
 604 
     | 
    
         
            +
                }
         
     | 
| 
      
 605 
     | 
    
         
            +
              };
         
     | 
| 
      
 606 
     | 
    
         
            +
              return {
         
     | 
| 
      
 607 
     | 
    
         
            +
                onKeyDown: onKeyDown
         
     | 
| 
      
 608 
     | 
    
         
            +
              };
         
     | 
| 
      
 609 
     | 
    
         
            +
            };
         
     | 
| 
       292 
610 
     | 
    
         | 
| 
       293 
611 
     | 
    
         
             
            export { getItemByFocused, keys, useKeyNavigation };
         
     | 
| 
       294 
612 
     | 
    
         
             
            //# sourceMappingURL=useKeyboardNavigation.js.map
         
     |