@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
26 lines • 953 B
JavaScript
var CLASS_PREFIX = 'md-select';
var DIRECTIONS = {
bottom: 'bottom',
top: 'top',
};
var DEFAULTS = {
DIRECTION: DIRECTIONS.bottom,
FOCUS_STRATEGY: 'first',
SHOULD_SHOW_BORDER: true,
IS_IN_FORM: true,
SHALLOW_DISABLED: false,
};
var STYLE = {
wrapper: "".concat(CLASS_PREFIX, "-wrapper"),
dropdownInput: "".concat(CLASS_PREFIX, "-dropdown-input"),
selected: "".concat(CLASS_PREFIX, "-selected"),
open: "".concat(CLASS_PREFIX, "-open"),
iconWrapper: "".concat(CLASS_PREFIX, "-icon-wrapper"),
selectedItemWrapper: "".concat(CLASS_PREFIX, "-selected-item-wrapper"),
menuListBox: "".concat(CLASS_PREFIX, "-menu-listbox"),
popover: "".concat(CLASS_PREFIX, "-popover"),
borderLess: 'borderLess',
};
var SELECT_HEIGHT_ADJUST_BORDER = 2; // 2px extra because of the border(top, down);
export { DEFAULTS, STYLE, SELECT_HEIGHT_ADJUST_BORDER, DIRECTIONS };
//# sourceMappingURL=Select.constants.js.map