Skip to content

Commit 956cb96

Browse files
committed
Code cleanup.
1 parent 64ea8aa commit 956cb96

12 files changed

Lines changed: 16 additions & 22 deletions

File tree

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
"private": true,
33
"name": "@pictogrammers/components",
44
"type": "module",
5-
"version": "0.4.8",
5+
"version": "0.4.10",
66
"license": "MIT",
77
"author": "Austin Andrews",
88
"scripts": {
99
"start": "element-start",
1010
"build": "element-build",
1111
"publish": "element-publish",
12-
"publish2": "cross-env NODE_OPTIONS=--max_old_space_size=8192 mode=production webpack --config ./webpack.publish.config.js && node ./scripts/publish.js",
1312
"test": "jest --no-cache"
1413
},
1514
"repository": {
@@ -26,7 +25,7 @@
2625
},
2726
"devDependencies": {
2827
"@pictogrammers/element": "0.0.71",
29-
"@pictogrammers/element-esbuild": "^0.0.17",
28+
"@pictogrammers/element-esbuild": "^0.0.19",
3029
"@pictogrammers/element-jest": "^0.1.10",
3130
"cross-env": "^7.0.3",
3231
"npm-run-all": "^4.1.5",

src/components/pg/button/button.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:host {
2-
display: contents;
2+
display: inline-flex;
33
}
44

55
[part="button"] {

src/components/pg/database/__examples__/basic/basic.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Component, Part, Prop } from '@pictogrammers/element';
2-
import PgDatabase from 'components/pg/database/database';
32
import { Icon } from '../../../shared/models/icon';
43

54
import template from './basic.html';

src/components/pg/grid/__examples__/basic/basic.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import { Component, Part, Prop } from '@pictogrammers/element';
2-
import PgDatabase from 'components/pg/database/database';
3-
import PgTooltip from 'components/pg/tooltip';
4-
import { Icon } from '../../../shared/models/icon';
5-
import PgGrid from '../../grid';
2+
63

74
import template from './basic.html';
85

src/components/pg/icon/__examples__/basic/basic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, Part, Prop } from '@pictogrammers/element';
2-
import PgIcon from 'components/pg/icon/icon';
2+
import PgIcon from '../../icon';
33

44
import template from './basic.html';
55
import { mdiAccount, mdiSquare } from './constants';

src/components/pg/inputCheck/__examples__/basic/basic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, Part, Prop } from '@pictogrammers/element';
2-
import PgInputCheck from 'components/pg/inputCheck/inputCheck';
2+
import PgInputCheck from '../../inputCheck';
33

44
import template from './basic.html';
55

src/components/pg/inputCheckList/__examples__/basic/basic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, Part, Prop } from '@pictogrammers/element';
2-
import PgInputCheckList from 'components/pg/inputCheckList/inputCheckList';
2+
import PgInputCheckList from '../../inputCheckList';
33

44
import template from './basic.html';
55

src/components/pg/menuItem/menuItem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default class PgMenuItem extends HTMLElement {
5959
const { indexes, item } = result;
6060
this.dispatchEvent(new CustomEvent('select', {
6161
detail: {
62-
item: result,
62+
item,
6363
indexes: [...indexes, this.index],
6464
}
6565
}));

src/components/pg/modification/__examples__/basic/basic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, Part, Prop } from '@pictogrammers/element';
2-
import { Modification } from 'components/pg/shared/models/modification';
2+
import { Modification } from '../../../shared/models/modification';
33
import PgModification from '../../modification';
44

55
import template from './basic.html';

0 commit comments

Comments
 (0)