Skip to content

Commit 050c15b

Browse files
committed
Rename project and elements
1 parent 0bf3f48 commit 050c15b

11 files changed

Lines changed: 5223 additions & 5193 deletions

File tree

package-lock.json

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

package.json

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
{
2-
"name": "dotcms-elements",
3-
"version": "0.0.1",
4-
"description": "Stencil Component Starter",
5-
"main": "dist/index.js",
6-
"module": "dist/index.mjs",
7-
"es2015": "dist/esm/index.mjs",
8-
"es2017": "dist/esm/index.mjs",
9-
"types": "dist/types/index.d.ts",
10-
"collection": "dist/collection/collection-manifest.json",
11-
"collection:main": "dist/collection/index.js",
12-
"unpkg": "dist/dotcms-elements/dotcms-elements.js",
13-
"files": [
14-
"dist/",
15-
"loader/"
16-
],
17-
"scripts": {
18-
"build": "stencil build --docs",
19-
"start": "stencil build --dev --watch --serve",
20-
"test": "stencil test --spec --e2e",
21-
"test.watch": "stencil test --spec --e2e --watchAll",
22-
"generate": "stencil generate"
23-
},
24-
"devDependencies": {
25-
"@stencil/core": "^1.3.3",
26-
"@types/jest": "24.0.19",
27-
"@types/puppeteer": "1.20.2",
28-
"jest": "24.8.0",
29-
"jest-cli": "24.8.0",
30-
"puppeteer": "1.20.0"
31-
},
32-
"license": "MIT"
2+
"name": "dotcms-ema-elements",
3+
"version": "0.0.1",
4+
"description": "Stencil Component Starter",
5+
"main": "dist/index.js",
6+
"module": "dist/index.mjs",
7+
"es2015": "dist/esm/index.mjs",
8+
"es2017": "dist/esm/index.mjs",
9+
"types": "dist/types/index.d.ts",
10+
"collection": "dist/collection/collection-manifest.json",
11+
"collection:main": "dist/collection/index.js",
12+
"unpkg": "dist/dotcms-ema-elements/dotcms-ema-elements.js",
13+
"files": [
14+
"dist/",
15+
"loader/"
16+
],
17+
"scripts": {
18+
"build": "stencil build --docs",
19+
"start": "stencil build --dev --watch --serve",
20+
"test": "stencil test --spec --e2e",
21+
"test.watch": "stencil test --spec --e2e --watchAll",
22+
"generate": "stencil generate"
23+
},
24+
"devDependencies": {
25+
"@stencil/core": "^1.3.3",
26+
"@types/jest": "24.0.19",
27+
"@types/puppeteer": "1.20.2",
28+
"jest": "24.8.0",
29+
"jest-cli": "24.8.0",
30+
"puppeteer": "1.20.0"
31+
},
32+
"license": "MIT"
3333
}

src/components.d.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ export namespace Components {
1616
interface DotcmsContentlet {
1717
'contentlet': { inode: string; identifier: string; contentType: string; baseType: string; dotLang: string; title: string; dotCanEdit: string; dotContentTypeId: string; };
1818
}
19+
interface DotcmsEmaContainer {
20+
'container': { acceptTypes: string; inode: string; identifier: string; uuid: string; maxContentlets: string; };
21+
}
22+
interface DotcmsEmaContentlet {
23+
'contentlet': { inode: string; identifier: string; contentType: string; baseType: string; dotLang: string; title: string; dotCanEdit: string; dotContentTypeId: string; };
24+
}
1925
}
2026

2127
declare global {
@@ -32,9 +38,23 @@ declare global {
3238
prototype: HTMLDotcmsContentletElement;
3339
new (): HTMLDotcmsContentletElement;
3440
};
41+
42+
interface HTMLDotcmsEmaContainerElement extends Components.DotcmsEmaContainer, HTMLStencilElement {}
43+
const HTMLDotcmsEmaContainerElement: {
44+
prototype: HTMLDotcmsEmaContainerElement;
45+
new (): HTMLDotcmsEmaContainerElement;
46+
};
47+
48+
interface HTMLDotcmsEmaContentletElement extends Components.DotcmsEmaContentlet, HTMLStencilElement {}
49+
const HTMLDotcmsEmaContentletElement: {
50+
prototype: HTMLDotcmsEmaContentletElement;
51+
new (): HTMLDotcmsEmaContentletElement;
52+
};
3553
interface HTMLElementTagNameMap {
3654
'dotcms-container': HTMLDotcmsContainerElement;
3755
'dotcms-contentlet': HTMLDotcmsContentletElement;
56+
'dotcms-ema-container': HTMLDotcmsEmaContainerElement;
57+
'dotcms-ema-contentlet': HTMLDotcmsEmaContentletElement;
3858
}
3959
}
4060

@@ -45,10 +65,18 @@ declare namespace LocalJSX {
4565
interface DotcmsContentlet {
4666
'contentlet'?: { inode: string; identifier: string; contentType: string; baseType: string; dotLang: string; title: string; dotCanEdit: string; dotContentTypeId: string; };
4767
}
68+
interface DotcmsEmaContainer {
69+
'container'?: { acceptTypes: string; inode: string; identifier: string; uuid: string; maxContentlets: string; };
70+
}
71+
interface DotcmsEmaContentlet {
72+
'contentlet'?: { inode: string; identifier: string; contentType: string; baseType: string; dotLang: string; title: string; dotCanEdit: string; dotContentTypeId: string; };
73+
}
4874

4975
interface IntrinsicElements {
5076
'dotcms-container': DotcmsContainer;
5177
'dotcms-contentlet': DotcmsContentlet;
78+
'dotcms-ema-container': DotcmsEmaContainer;
79+
'dotcms-ema-contentlet': DotcmsEmaContentlet;
5280
}
5381
}
5482

@@ -60,6 +88,8 @@ declare module "@stencil/core" {
6088
interface IntrinsicElements {
6189
'dotcms-container': LocalJSX.DotcmsContainer & JSXBase.HTMLAttributes<HTMLDotcmsContainerElement>;
6290
'dotcms-contentlet': LocalJSX.DotcmsContentlet & JSXBase.HTMLAttributes<HTMLDotcmsContentletElement>;
91+
'dotcms-ema-container': LocalJSX.DotcmsEmaContainer & JSXBase.HTMLAttributes<HTMLDotcmsEmaContainerElement>;
92+
'dotcms-ema-contentlet': LocalJSX.DotcmsEmaContentlet & JSXBase.HTMLAttributes<HTMLDotcmsEmaContentletElement>;
6393
}
6494
}
6595
}

src/components/dotcms-container/dotcms-container.e2e..ts renamed to src/components/dotcms-ema-container/dotcms-ema-container.e2e..ts

File renamed without changes.

src/components/dotcms-container/dotcms-container.tsx renamed to src/components/dotcms-ema-container/dotcms-ema-container.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { Component, h, Prop, Host } from '@stencil/core';
22

33
@Component({
4-
tag: 'dotcms-container',
4+
tag: 'dotcms-ema-container',
55
shadow: true
66
})
7-
export class DotcmsContainer {
7+
export class DotcmsEmaContainer {
88
@Prop() container = {
99
acceptTypes: '',
1010
inode: '',

src/components/dotcms-container/readme.md renamed to src/components/dotcms-ema-container/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# dotcms-container
1+
# dotcms-ema-container
22

33
<!-- Auto Generated Below -->
44

src/components/dotcms-contentlet/dotcms-contentlet.e2e..ts renamed to src/components/dotcms-ema-contentlet/dotcms-ema-contentlet.e2e..ts

File renamed without changes.

src/components/dotcms-contentlet/dotcms-contentlet.tsx renamed to src/components/dotcms-ema-contentlet/dotcms-ema-contentlet.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { Component, h, Prop, Host } from '@stencil/core';
22

33
@Component({
4-
tag: 'dotcms-contentlet',
4+
tag: 'dotcms-ema-contentlet',
55
shadow: true
66
})
7-
export class DotcmsContentlet {
7+
export class DotcmsEmaContentlet {
88
@Prop() contentlet = {
99
inode: '',
1010
identifier: '',

src/components/dotcms-contentlet/readme.md renamed to src/components/dotcms-ema-contentlet/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# dotcms-contentlet
1+
# dotcms-ema-contentlet
22

33
<!-- Auto Generated Below -->
44

src/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" />
66
<title>Stencil Component Starter</title>
77

8-
<script type="module" src="/build/dotcms-elements.esm.js"></script>
9-
<script nomodule src="/build/dotcms-elements.js"></script>
8+
<script type="module" src="/build/dotcms-ema-elements.esm.js"></script>
9+
<script nomodule src="/build/dotcms-ema-elements.js"></script>
1010
</head>
1111
<body>
12-
<dotcms-container>
13-
<dotcms-contentlet>
12+
<dotcms-ema-container>
13+
<dotcms-ema-contentlet>
1414
<h3>I'm a piece of content</h3>
15-
</dotcms-contentlet>
16-
</dotcms-container>
15+
</dotcms-ema-contentlet>
16+
</dotcms-ema-container>
1717
</body>
1818
</html>

0 commit comments

Comments
 (0)