Skip to content

Commit

Permalink
Merge pull request #135 from CityOfDetroit/fix.134
Browse files Browse the repository at this point in the history
Import components top down instead of bottom up
  • Loading branch information
jedgar1mx authored Jan 8, 2024
2 parents 6a88091 + a0b5409 commit 36d89c5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion build/assets/js/main.js

Large diffs are not rendered by default.

37 changes: 19 additions & 18 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
// ============================================================
// Import to release
// ============================================================

// Importing organisms
import './components/organisms/Card/cod-card';
import './components/organisms/Carousel/cod-carousel';
import './components/organisms/Form/cod-form';
import './components/organisms/Modal/cod-modal';
import './components/organisms/Navbar/cod-navbar';
import './components/organisms/Offcanvas/cod-offcanvas';
import './components/organisms/Table/cod-table';

// Import molecules
import './components/molecules/Accordion/cod-accordion';
import './components/molecules/ButtonGroup/cod-button-group';
import './components/molecules/Dropdown/cod-dropdown';
import './components/molecules/FormCheckGroup/cod-form-check-group';
import './components/molecules/ListGroup/cod-listgroup';
import './components/molecules/Nav/cod-nav';
import './components/molecules/Pagination/cod-pagination';

// Importing atoms
import './components/atoms/AccordionBody/cod-accordion-body';
import './components/atoms/AccordionHeader/cod-accordion-header';
Expand Down Expand Up @@ -44,21 +63,3 @@ import './components/atoms/TableCell/cod-table-cell';
import './components/atoms/TableCellHeader/cod-table-cell-header';
import './components/atoms/TableHeader/cod-table-header';
import './components/atoms/TableRow/cod-table-row';

// Import molecules
import './components/molecules/Accordion/cod-accordion';
import './components/molecules/ButtonGroup/cod-button-group';
import './components/molecules/Dropdown/cod-dropdown';
import './components/molecules/FormCheckGroup/cod-form-check-group';
import './components/molecules/ListGroup/cod-listgroup';
import './components/molecules/Nav/cod-nav';
import './components/molecules/Pagination/cod-pagination';

// Importing organisms
import './components/organisms/Card/cod-card';
import './components/organisms/Carousel/cod-carousel';
import './components/organisms/Form/cod-form';
import './components/organisms/Modal/cod-modal';
import './components/organisms/Navbar/cod-navbar';
import './components/organisms/Offcanvas/cod-offcanvas';
import './components/organisms/Table/cod-table';

0 comments on commit 36d89c5

Please sign in to comment.