Fix some missing bootstrap icons

This commit is contained in:
nathan 2024-08-19 14:40:47 -06:00
parent 2b1c5ce1b2
commit 01d3eeac77

View File

@ -12,6 +12,7 @@ import {css, LitElement, PropertyValues, unsafeCSS} from "lit";
import {dedupeMixin} from "@open-wc/dedupe-mixin";
import type {et2_container} from "../et2_core_baseWidget";
import type {et2_DOMWidget} from "../et2_core_DOMWidget";
import bootstrapIcons from "../Styles/bootstrap-icons";
/**
* This mixin will allow any LitElement to become an Et2Widget
@ -106,6 +107,7 @@ const Et2WidgetMixin = <T extends Constructor>(superClass : T) =>
{
return [
...(super.styles ? (Array.isArray(super.styles) ? super.styles : [super.styles]) : []),
bootstrapIcons,
css`
:host([disabled]) {
display: none;