{"version":3,"sources":["../src/src/autocomplete/autocomplete.scss","../src/src/support/variables/misc.scss","../src/src/support/variables/layout.scss","../src/src/support/variables/typography.scss","../src/src/autocomplete/suggester.scss"],"names":[],"mappings":"AACA,sBACE,iBAAkB,CAClB,UAAW,CACX,UAAW,CACX,eAAgB,CAChB,eAAgB,CAEhB,cAAe,CACf,eAAgB,CAChB,kCAAmC,CACnC,4CAA+D,CAC/D,iBCHoB,CDIpB,2CAA4C,CAC7C,mBAMC,aAAc,CACd,UAAW,CACX,eESU,CFRV,eAAgB,CAChB,eGDoB,CHEpB,+BAAgC,CAChC,eAAgB,CAChB,oBAAqB,CACrB,sBAAuB,CACvB,kBAAmB,CACnB,cAAe,CACf,wCAAyC,CACzC,QAAS,CAbX,yBAgBI,2CAA4C,CAC5C,oBAAqB,CACrB,oDAAqD,CAlBzD,2BAsBM,wBAAyB,CAtB/B,uGA6BI,8CAA+C,CAC/C,oBAAqB,CACrB,uDAAwD,CA/B5D,6GAmCM,wBAAyB,CAC1B,WInDH,iBAAkB,CAClB,KAAM,CACN,MAAO,CACP,eAAgB,CAChB,SAAU,CACV,QAAS,CACT,eF4BoB,CE3BpB,eAAgB,CAChB,cAAe,CACf,kCAAmC,CACnC,4CAA+D,CAC/D,iBHNoB,CGOpB,2CAA4C,CAb9C,cAgBI,aAAc,CACd,eFWQ,CEVR,eDGsB,CCFtB,4DAA+E,CAnBnF,oBAsBM,eDAkB,CCClB,iCAAkC,CAvBxC,yBA2BM,eAAgB,CAChB,8BHtBgB,CGuBhB,6BHvBgB,CGNtB,0BAiCM,0BH3BgB,CG4BhB,2BH5BgB,CGNtB,oBAsCM,2CAA4C,CAC5C,oBAAqB,CACrB,8CAA+C,CAxCrD,0BA2CQ,2CAA4C,CA3CpD,mEAiDM,8CAA+C,CAC/C,oBAAqB,CACrB,iDAAkD,CAnDxD,+EAsDQ,8CAA+C,CAChD,qBAML,iBAAkB,CAClB,KAAM,CACN,MAAO,CACP,UAAW,CACZ,0BAID,sCAGM,oBAA2B,CAC3B,mBAA0B,CAJhC,+BAQM,gBF3CgB,CE4CjB","file":"autocomplete.css","sourcesContent":["// A pop up list of items used to show autocompleted results\n.autocomplete-results {\n position: absolute;\n z-index: 99;\n width: 100%;\n max-height: 20em;\n overflow-y: auto;\n // stylelint-disable-next-line primer/typography\n font-size: 13px;\n list-style: none;\n background: var(--color-bg-overlay);\n border: $border-width $border-style var(--color-border-primary);\n border-radius: $border-radius;\n box-shadow: var(--color-autocomplete-shadow);\n}\n\n// One of the items that appears within an autocomplete group\n// Bold black text on white background\n\n.autocomplete-item {\n display: block;\n width: 100%;\n padding: $spacer-1 $spacer-2;\n overflow: hidden;\n font-weight: $font-weight-bold;\n color: var(--color-text-primary);\n text-align: left;\n text-decoration: none;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: pointer;\n background-color: var(--color-bg-overlay);\n border: 0;\n\n &:hover {\n color: var(--color-state-hover-primary-text);\n text-decoration: none;\n background-color: var(--color-state-hover-primary-bg);\n\n // Inherit color on all child elements to ensure enough contrast\n * {\n color: inherit !important;\n }\n }\n\n &.selected,\n &[aria-selected=true],\n &.navigation-focus {\n color: var(--color-state-selected-primary-text);\n text-decoration: none;\n background-color: var(--color-state-selected-primary-bg);\n\n // Inherit color on all child elements to ensure enough contrast\n * {\n color: inherit !important;\n }\n }\n}\n","// Miscellaneous variables\n\n// Border\n$border-width: 1px !default;\n$border-style: solid !default;\n$border: $border-width $border-style var(--color-border-primary) !default;\n\n// Border Radius\n$border-radius-1: 4px !default;\n$border-radius-2: 6px !default;\n$border-radius-3: 8px !default;\n$border-radius: $border-radius-2 !default;\n\n// Tooltips\n$tooltip-max-width: 250px !default;\n$tooltip-delay: 0.4s !default;\n$tooltip-duration: 0.1s !default;\n","// Layout variables\n\n// these are values for the display CSS property\n$display-values: (\n block,\n flex,\n inline,\n inline-block,\n inline-flex,\n none,\n table,\n table-cell\n) !default;\n\n// maps edges to respective corners for border-radius\n$edges: (\n top: (top-left, top-right),\n right: (top-right, bottom-right),\n bottom: (bottom-right, bottom-left),\n left: (bottom-left, top-left)\n) !default;\n\n// These are our margin and padding utility spacers. The default step size we\n// use is 8px. This gives us a key of:\n// 0 => 0px\n// 1 => 4px\n// 2 => 8px\n// 3 => 16px\n// 4 => 24px\n// 5 => 32px\n// 6 => 40px\n$spacer: 8px !default;\n\n// Our spacing scale\n$spacer-0: 0 !default; // 0\n$spacer-1: round($spacer / 2) !default; // 4px\n$spacer-2: $spacer !default; // 8px\n$spacer-3: $spacer * 2 !default; // 16px\n$spacer-4: $spacer * 3 !default; // 24px\n$spacer-5: $spacer * 4 !default; // 32px\n$spacer-6: $spacer * 5 !default; // 40px\n\n// The list of spacer values\n$spacers: (\n $spacer-0,\n $spacer-1,\n $spacer-2,\n $spacer-3,\n $spacer-4,\n $spacer-5,\n $spacer-6,\n) !default;\n\n// And the map of spacers, for easier looping:\n// @each $scale, $length in $spacer-map { ... }\n$spacer-map: (\n 0: $spacer-0,\n 1: $spacer-1,\n 2: $spacer-2,\n 3: $spacer-3,\n 4: $spacer-4,\n 5: $spacer-5,\n 6: $spacer-6,\n) !default;\n\n// Em spacer variables\n$em-spacer-1: 0.0625em !default; // 1/16\n$em-spacer-2: 0.125em !default; // 1/8\n$em-spacer-3: 0.25em !default; // 1/4\n$em-spacer-4: 0.375em !default; // 3/8\n$em-spacer-5: 0.5em !default; // 1/2\n$em-spacer-6: 0.75em !default; // 3/4\n\n// Size scale\n// Used for buttons, inputs, labels, avatars etc.\n$size: 16px !default;\n\n$size-0: 0 !default;\n$size-1: $size !default; // 16px\n$size-2: $size-1 + 4px !default; // 20px\n$size-3: $size-2 + 4px !default; // 24px\n$size-4: $size-3 + 4px !default; // 28px\n$size-5: $size-4 + 4px !default; // 32px\n$size-6: $size-5 + 8px !default; // 40px\n$size-7: $size-6 + 8px !default; // 48px\n$size-8: $size-7 + 16px !default; // 64px\n\n// Fixed-width container variables\n$container-width: 980px !default;\n$grid-gutter: 10px !default;\n\n// Breakpoint widths\n$width-xs: 0 !default;\n// Small screen / phone\n$width-sm: 544px !default;\n// Medium screen / tablet\n$width-md: 768px !default;\n// Large screen / desktop (980 + (16 * 2)) <= container + gutters\n$width-lg: 1012px !default;\n// Extra large screen / wide desktop\n$width-xl: 1280px !default;\n\n// Responsive container widths\n$container-sm: $width-sm !default;\n$container-md: $width-md !default;\n$container-lg: $width-lg !default;\n$container-xl: $width-xl !default;\n\n// Breakpoints in the form (name: length)\n$breakpoints: (\n sm: $width-sm,\n md: $width-md,\n lg: $width-lg,\n xl: $width-xl\n) !default;\n\n// This map in the form (breakpoint: variant) is used to iterate over\n// breakpoints and create both responsive and non-responsive classes in one\n// loop:\n//\n// ```scss\n// @each $breakpoint, $variant of $responsive-variants {\n// @include breakpoint($breakpoint) {\n// .foo#{$variant}-bar { foo: bar !important; }\n// }\n// }\n// ```\n$responsive-variants: (\n \"\": \"\",\n sm: \"-sm\",\n md: \"-md\",\n lg: \"-lg\",\n xl: \"-xl\",\n) !default;\n\n// responive utility position values\n$responsive-positions: (\n static,\n relative,\n absolute,\n fixed,\n sticky\n) !default;\n","// Typography variables\n\n// Heading sizes - mobile\n// h4-h6 remain the same size on both mobile & desktop\n$h00-size-mobile: 40px !default;\n$h0-size-mobile: 32px !default;\n$h1-size-mobile: 26px !default;\n$h2-size-mobile: 22px !default;\n$h3-size-mobile: 18px !default;\n\n// Heading sizes - desktop\n$h00-size: 48px !default;\n$h0-size: 40px !default;\n$h1-size: 32px !default;\n$h2-size: 24px !default;\n$h3-size: 20px !default;\n$h4-size: 16px !default;\n$h5-size: 14px !default;\n$h6-size: 12px !default;\n\n$font-size-small: 12px !default;\n\n// Font weights\n$font-weight-bold: 600 !default;\n$font-weight-semibold: 500 !default;\n$font-weight-normal: 400 !default;\n$font-weight-light: 300 !default;\n\n// Line heights\n$lh-condensed-ultra: 1 !default;\n$lh-condensed: 1.25 !default;\n$lh-default: 1.5 !default;\n\n// Font stacks\n$body-font: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\" !default;\n\n// Monospace font stack\n$mono-font: \"SFMono-Regular\", Consolas, \"Liberation Mono\", Menlo, monospace !default;\n\n// The base body size\n$body-font-size: 14px !default;\n$body-line-height: $lh-default !default;\n","// Needs refactoring\n// stylelint-disable selector-max-type, selector-no-qualifying-type\n\n.suggester {\n position: relative;\n top: 0;\n left: 0;\n min-width: 180px;\n padding: 0;\n margin: 0;\n margin-top: $spacer-4;\n list-style: none;\n cursor: pointer;\n background: var(--color-bg-overlay);\n border: $border-width $border-style var(--color-border-primary);\n border-radius: $border-radius;\n box-shadow: var(--color-autocomplete-shadow);\n\n li {\n display: block;\n padding: $spacer-1 $spacer-2;\n font-weight: $font-weight-semibold;\n border-bottom: $border-width $border-style var(--color-autocomplete-row-border);\n\n small {\n font-weight: $font-weight-normal;\n color: var(--color-text-secondary);\n }\n\n &:last-child {\n border-bottom: 0;\n border-bottom-right-radius: $border-radius;\n border-bottom-left-radius: $border-radius;\n }\n\n &:first-child {\n border-top-left-radius: $border-radius;\n border-top-right-radius: $border-radius;\n }\n\n &:hover {\n color: var(--color-state-hover-primary-text);\n text-decoration: none;\n background: var(--color-state-hover-primary-bg);\n\n small {\n color: var(--color-state-hover-primary-text);\n }\n }\n\n &[aria-selected=\"true\"],\n &.navigation-focus {\n color: var(--color-state-selected-primary-text);\n text-decoration: none;\n background: var(--color-state-selected-primary-bg);\n\n small {\n color: var(--color-state-selected-primary-text);\n }\n }\n }\n}\n\n.suggester-container {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 30;\n}\n\n// Responsive\n\n.page-responsive {\n @media (max-width: $width-sm) {\n .suggester-container {\n right: $spacer-2 !important;\n left: $spacer-2 !important;\n }\n\n .suggester li {\n padding: $spacer-2 $spacer-3;\n }\n }\n}\n"]}