{"version":3,"file":"Mentions.module.cjs","names":[],"sources":["../../../src/components/Mentions/Mentions.module.css"],"sourcesContent":[".control {\n  position: relative;\n  width: 100%;\n  min-height: max(\n    calc(var(--mentions-min-rows, 1) * 1lh),\n    calc(var(--input-height) - 2 * var(--input-padding-y, 0rem))\n  );\n  max-height: calc(var(--mentions-max-rows) * 1lh);\n  overflow: hidden;\n}\n\n.highlighter {\n  margin: 0;\n  color: var(--input-color);\n  font: inherit;\n  line-height: inherit;\n  letter-spacing: inherit;\n  white-space: pre-wrap;\n  overflow-wrap: break-word;\n  overflow: hidden;\n  pointer-events: none;\n  min-height: inherit;\n  max-height: calc(var(--mentions-max-rows) * 1lh);\n\n  &[data-interactive] {\n    position: relative;\n    z-index: 2;\n\n    & .highlight {\n      pointer-events: auto;\n      cursor: default;\n    }\n  }\n}\n\n.highlight {\n  border-radius: var(--mantine-radius-sm);\n  color: var(--mentions-highlight-color, var(--mantine-primary-color-light-color));\n  background-color: var(--mentions-highlight-bg, var(--mantine-primary-color-light));\n}\n\n.field {\n  position: absolute;\n  inset: 0;\n  width: 100%;\n  height: 100%;\n  margin: 0;\n  padding: 0;\n  border: 0;\n  background: transparent;\n  color: transparent;\n  caret-color: var(--input-color);\n  -webkit-text-fill-color: transparent;\n  resize: none;\n  outline: none;\n  font: inherit;\n  line-height: inherit;\n  letter-spacing: inherit;\n  white-space: pre-wrap;\n  overflow-wrap: break-word;\n  overflow-y: auto;\n  overflow-x: hidden;\n  z-index: 1;\n\n  scrollbar-width: none;\n  -ms-overflow-style: none;\n\n  &::-webkit-scrollbar {\n    display: none;\n  }\n\n  &:disabled {\n    cursor: not-allowed;\n  }\n\n  &::placeholder {\n    color: var(--input-placeholder-color);\n    -webkit-text-fill-color: var(--input-placeholder-color);\n    opacity: 1;\n  }\n}\n\n.control[data-single-line] {\n  & .highlighter,\n  & .inlineSuggestion {\n    white-space: pre;\n    overflow-wrap: normal;\n    overflow: hidden;\n    line-height: max(1lh, calc(var(--input-height) - 2 * var(--input-padding-y, 0rem)));\n  }\n}\n\n.caretAnchor {\n  position: absolute;\n  width: 1px;\n  height: 0;\n  pointer-events: none;\n}\n\n.nothingFound {\n  color: var(--mantine-color-dimmed);\n  text-align: center;\n}\n\n.inlineSuggestion {\n  position: absolute;\n  inset: 0;\n  margin: 0;\n  font: inherit;\n  line-height: inherit;\n  letter-spacing: inherit;\n  white-space: pre-wrap;\n  overflow-wrap: break-word;\n  overflow: hidden;\n  pointer-events: none;\n  z-index: 0;\n}\n\n.inlineSuggestionPrefix {\n  color: transparent;\n  -webkit-text-fill-color: transparent;\n}\n\n.inlineSuggestionText {\n  color: var(--mantine-color-placeholder);\n}\n"],"mappings":""}