UNPKG

env-autosuggest

Version:

A React component that provides variable autosuggestion functionality with a rich text editor-like interface. This component allows users to type variables within curly braces and get intelligent suggestions based on predefined variables.

58 lines (51 loc) 999 B
.suggestionValueMainContainer { word-wrap: break-word; margin: 0px 10px; max-height: 200px; min-width: 200px; max-width: 200px; z-index: 99; font-family: 'Inter'; } .suggestionTypeContainer { display: flex; align-items: flex-start; justify-content: flex-start; margin: 10px 0px; } .suggestionType { color: grey; font-weight: 200; font-size: 10px; min-width: 60px; } .suggestionTypeValue { font-weight: 300; font-size: 10px; flex-grow: 1; word-wrap: break-word; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; text-overflow: ellipsis; } .spacing-block { padding: 10px; } .warning-description { font-size: 10px; color: grey; margin-left: 4px; margin-top: 2px; } .warning-title { display: flex; align-items: center; margin-left: 2px; font-size: 14px; font-weight: 500; >span { margin-left: 4px; } }