Skip to content

Commit e26fc49

Browse files
committed
הוספת כל הקבצים
1 parent 41b1e96 commit e26fc49

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

elements/pf-alert/pf-alert.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// --- Lit core ---
22
import { LitElement, html, render, isServer, type TemplateResult, type CSSResult } from 'lit';
3-
import { css, unsafeCSS } from 'lit';
3+
// import { css, unsafeCSS } from 'lit';
44

55
// --- Lit decorators ---
66
import { customElement } from 'lit/decorators/custom-element.js';
@@ -20,11 +20,10 @@ import '@patternfly/elements/pf-button/pf-button.js';
2020
import '@patternfly/elements/pf-icon/pf-icon.js';
2121

2222
// --- CSS ---
23-
import alertCSS from './pf-alert.css';
23+
// import alertCSS from './pf-alert.css';
2424
import toastStyles from './pf-alert-toast-styles.css';
2525

26-
// import { css, LitElement } from 'lit';
27-
const styles = css`${unsafeCSS(alertCSS)}`;
26+
// const styles = css`${unsafeCSS(alertCSS)}`;
2827

2928

3029
interface AlertAction {
@@ -61,7 +60,7 @@ const toasts = new Set<Required<ToastOptions>>();
6160

6261
@customElement('pf-alert-wrapper')
6362
export class PfAlert extends LitElement {
64-
static override styles: CSSResult[] = [styles];
63+
// static override styles: CSSResult[] = [styles];
6564

6665
@property({ reflect: true })
6766
state: 'danger' | 'warning' | 'caution' | 'neutral' | 'info' | 'success' = 'neutral';

0 commit comments

Comments
 (0)