Skip to content

Commit

Permalink
perf(fixed): remove fixed support
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanjones243 authored and jason-capsule42 committed Feb 13, 2024
1 parent cb48514 commit 6cbd252
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion demo/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

| Attribute | Type | Description |
|-----------|-----------|--------------------------------------------------|
| [fixed](#fixed) | `Boolean` | Uses fixed pixel values for element shape |
| [md](#md) | `Boolean` | Sets dialog box to medium style. Adding both md and lg will set the dialog to md for desktop and lg for mobile. |
| [onDark](#onDark) | `Boolean` | Sets close icon to white for dark backgrounds |
| [sm](#sm) | `Boolean` | Sets dialog box to small style. Adding both sm and lg will set the dialog to sm for desktop and lg for mobile. |
Expand Down
6 changes: 1 addition & 5 deletions src/componentBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ import { LitElement, html } from "lit";
import { classMap } from 'lit/directives/class-map.js';

import styleCss from "./style-css.js";
import styleCssFixed from './style-fixed-css.js';
import styleUnformattedCss from './style-unformatted-css.js';
import styleUnformattedCssFixed from './style-unformatted-fixed-css.js';
import closeIcon from '@alaskaairux/icons/dist/icons/interface/x-lg.mjs';

/* eslint-disable one-var, prefer-destructuring */
Expand Down Expand Up @@ -213,9 +211,7 @@ export default class ComponentBase extends LitElement {
static get styles() {
return [
styleCss,
styleCssFixed,
styleUnformattedCss,
styleUnformattedCssFixed
styleUnformattedCss
];
}

Expand Down
3 changes: 0 additions & 3 deletions src/style-fixed.scss

This file was deleted.

3 changes: 0 additions & 3 deletions src/style-unformatted-fixed.scss

This file was deleted.

0 comments on commit 6cbd252

Please sign in to comment.