Skip to content

Commit

Permalink
chore: remove log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
peschee committed Oct 19, 2023
1 parent 8c1a5e7 commit 5730107
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions packages/avatar-image/stories/avatar-image.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ import cem from '../custom-elements.json';

const customElement = getCustomElement(cem as Package, 'src/AvatarImage.js', 'AvatarImage');

console.log('customElement', customElement);
console.log('getCssPropArgTypes(customElement)', getArgTypes(customElement));

export default {
component: 'avatar-image',
title: 'Avatar Image',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { html, TemplateResult } from '@inventage-web-components/common';
import { ifDefined } from '@inventage-web-components/common/lib/src/directives.js';
import { generateParagraphs, getArgTypes, getCustomElement, Package, Story } from '@inventage-web-components/dev-helpers';
import { generateParagraphs, getArgTypes, getCustomElement, Package, setCssStyleFromArgs, Story } from '@inventage-web-components/dev-helpers';

import '../src/portal-navigation.js';
import { NavigationEvents } from '../src/index.js';
Expand Down Expand Up @@ -80,7 +80,7 @@ interface ArgTypes {

const Template = (args: ArgTypes, slots?: TemplateResult | TemplateResult[], content?: TemplateResult | TemplateResult[]): TemplateResult => {
// Automatically set styles for each CSS custom prop passed as argument
// setCssStyleFromArgs(args, document.documentElement.style);
setCssStyleFromArgs(args, document.documentElement.style);

// Reset padding top, since the navigation might have set this (e.g. in sticky mode)
document.querySelector('body')!.style.paddingTop = '';
Expand Down

0 comments on commit 5730107

Please sign in to comment.