{"version":3,"file":"BlockTitle.78628404.js","sources":["../../../../ui/packages/atoms/src/BlockTitle.svelte"],"sourcesContent":["<script lang=\"ts\">\n\timport { default as Info } from \"./Info.svelte\";\n\texport let show_label: boolean = true;\n\texport let info: string | undefined = undefined;\n</script>\n\n<span\n\tclass:sr-only={!show_label}\n\tclass:hide={!show_label}\n\tclass:has-info={info != null}\n>\n\t<slot />\n</span>\n{#if info}\n\t<Info>{info}</Info>\n{/if}\n\n<style>\n\tspan.has-info {\n\t\tmargin-bottom: var(--spacing-xs);\n\t}\n\tspan:not(.has-info) {\n\t\tmargin-bottom: var(--spacing-lg);\n\t}\n\tspan {\n\t\tdisplay: inline-block;\n\t\tposition: relative;\n\t\tz-index: var(--layer-4);\n\t\tborder: solid var(--block-title-border-width)\n\t\t\tvar(--block-title-border-color);\n\t\tborder-radius: var(--block-title-radius);\n\t\tbackground: var(--block-title-background-fill);\n\t\tpadding: var(--block-title-padding);\n\t\tcolor: var(--block-title-text-color);\n\t\tfont-weight: var(--block-title-text-weight);\n\t\tfont-size: var(--block-title-text-size);\n\t\tline-height: var(--line-sm);\n\t}\n\n\t.hide {\n\t\tmargin: 0;\n\t\theight: 0;\n\t}\n</style>\n"],"names":[],"mappings":"klBAcQ,wCAAA,8FADH,6GANY,kBACH,qBACG,MAAQ,IAAI,UAH7B,0JACiB,uBACH,0BACG,MAAQ,IAAI,EAIxB,mQAXO,aAAsB,OACtB,OAA2B"} |