Skip to content

Commit

Permalink
Removing bootstrap-icons.
Browse files Browse the repository at this point in the history
  • Loading branch information
jedgar1mx committed Feb 5, 2024
1 parent bf621a4 commit f3d43db
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 15 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion build/assets/js/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<head><script defer="defer" src="assets/js/runtime.js"></script><script defer="defer" src="assets/js/vendors.babel.js"></script><script defer="defer" src="assets/js/vendors.maplibre-gl.js"></script><script defer="defer" src="assets/js/vendors.bootstrap-icons.js"></script><script defer="defer" src="assets/js/main.js"></script></head><script src="index.js"></script>
<head><script defer="defer" src="assets/js/runtime.js"></script><script defer="defer" src="assets/js/vendors.babel.js"></script><script defer="defer" src="assets/js/vendors.maplibre-gl.js"></script><script defer="defer" src="assets/js/main.js"></script></head><script src="index.js"></script>
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"license": "MIT",
"dependencies": {
"bootstrap": "5.3.0-alpha3",
"bootstrap-icons": "^1.10.3",
"maplibre-gl": "^2.4.0"
},
"devDependencies": {
Expand Down
4 changes: 0 additions & 4 deletions src/components/atoms/Alert/Alert.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import styles from '!!raw-loader!./Alert.css';
import varStyles from '!!raw-loader!../../../shared/variables.css';
import bootstrapStyles from '!!raw-loader!../../../shared/themed-bootstrap.css';
import bootstrapIcons from '!!raw-loader!bootstrap-icons/font/bootstrap-icons.css';

const template = document.createElement('template');

Expand Down Expand Up @@ -38,16 +37,13 @@ export default class Alert extends HTMLElement {
}

connectedCallback() {
const bootIcons = document.createElement('style');
bootIcons.textContent = bootstrapIcons;
const bootStyles = document.createElement('style');
bootStyles.textContent = bootstrapStyles;
const variableStyles = document.createElement('style');
variableStyles.textContent = varStyles;
const alertStyles = document.createElement('style');
alertStyles.textContent = styles;
this.shadowRoot.appendChild(bootStyles);
this.shadowRoot.appendChild(bootIcons);
this.shadowRoot.appendChild(variableStyles);
this.shadowRoot.appendChild(alertStyles);
// alert attributes
Expand Down
8 changes: 0 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9049,13 +9049,6 @@ __metadata:
languageName: node
linkType: hard

"bootstrap-icons@npm:^1.10.3":
version: 1.10.4
resolution: "bootstrap-icons@npm:1.10.4"
checksum: d76333e46dc75bc5b8942211d91703af5033e186f31bc7de06d7d816ba5ee7f70cd94c07b00d36321b104c0b86f5305936602b43504c7407168a00b6c2d2713d
languageName: node
linkType: hard

"bootstrap@npm:5.3.0-alpha3":
version: 5.3.0-alpha3
resolution: "bootstrap@npm:5.3.0-alpha3"
Expand Down Expand Up @@ -9640,7 +9633,6 @@ __metadata:
babel-loader: ^8.2.3
babel-plugin-transform-react-remove-prop-types: ^0.4.24
bootstrap: 5.3.0-alpha3
bootstrap-icons: ^1.10.3
chromatic: ^10.3.1
concurrently: ^7.0.0
cross-env: ^7.0.3
Expand Down

0 comments on commit f3d43db

Please sign in to comment.