Skip to content

Commit

Permalink
chore: todos
Browse files Browse the repository at this point in the history
  • Loading branch information
g-francesca committed Jul 3, 2024
1 parent f042649 commit bd1725b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/storybook/.storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { defineCustomElements } from "./../../../packages/ui-stencil/loader";
// TODO: import orama-ui from the package
import "./../../../packages/ui-stencil/dist/orama-ui/orama-ui.css";

defineCustomElements();

/** @type { import('@storybook/html').Preview } */
const preview = {
tags: ["autodocs"],
// wrap story in a div with id="orama-ui"
decorators: [
(story) => {
const decorator = document.createElement('div');
Expand Down
1 change: 1 addition & 0 deletions packages/ui-stencil/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" />
<title>Stencil Component Starter</title>
<!-- TODO: check paths here -->
<link rel="stylesheet" href="/packages/ui-stencil/dist/orama-ui/orama-ui.css" />

<script type="module" src="/packages/ui-stencil/dist/orama-ui/orama-ui.esm.js"></script>
Expand Down

0 comments on commit bd1725b

Please sign in to comment.