Skip to content

Commit

Permalink
chore: minor fixes required by upgrade to Stencil 4
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschmidt committed Sep 26, 2024
1 parent 8086df7 commit 2eeec9a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 16 deletions.
6 changes: 3 additions & 3 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
</head>

<body>
<link href="/assets/kompendium/kompendium/kompendium.css" rel="stylesheet" />
<script type="module" src="/assets/kompendium/kompendium/kompendium.esm.js"></script>
<script nomodule src="/assets/kompendium/kompendium/kompendium.js"></script>
<link href="/assets/kompendium/kompendium.css" rel="stylesheet" />
<script type="module" src="/assets/kompendium/kompendium.esm.js"></script>
<script nomodule src="/assets/kompendium/kompendium.js"></script>

<link href="/style/color-palette-extended.css" rel="stylesheet" />
<link href="/build/lime-elements.css" rel="stylesheet" />
Expand Down
8 changes: 0 additions & 8 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
export * from './components';
export * from './interface';

declare module '@stencil/core/internal' {
namespace JSXBase {
interface HTMLAttributes {
popover?: 'auto' | 'manual';
}
}
}
2 changes: 1 addition & 1 deletion stencil.config.dist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const config: Config = {
type: 'dist',
copy: [
{ src: 'style/' },
{ src: 'style/mixins.scss', dest: '../scss/mixins.scss' },
{ src: 'style/mixins.scss', dest: '../scss/' },
],
},
],
Expand Down
2 changes: 1 addition & 1 deletion stencil.config.docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const config: Config = {
},
{
src: 'favicon.svg',
dest: 'favicon.svg',
dest: '.',
},
],
},
Expand Down
10 changes: 7 additions & 3 deletions stencil.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,20 @@ export const config: Config = {
copy: [
{ src: 'style/color-palette-extended.css' },
{
src: 'test-assets/',
dest: 'assets/',
src: 'test-assets/icons',
dest: 'assets/icons',
},
{
src: 'test-assets/misc-files',
dest: 'assets/misc-files',
},
{
src: '../node_modules/kompendium/dist/',
dest: 'assets/kompendium/',
},
{
src: 'favicon.svg',
dest: 'favicon.svg',
dest: '.',
},
],
},
Expand Down

0 comments on commit 2eeec9a

Please sign in to comment.