@utrecht/web-component-library-stencil 1.0.0-alpha.210 → 1.0.0-alpha.213
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/utrecht-form-field-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/utrecht-form-field-description.cjs.entry.js +2 -2
- package/dist/cjs/utrecht-form-field-textarea.cjs.entry.js +2 -2
- package/dist/cjs/utrecht-form-field-textbox.cjs.entry.js +2 -2
- package/dist/cjs/utrecht-heading-1.cjs.entry.js +2 -2
- package/dist/cjs/utrecht-heading-2_3.cjs.entry.js +4 -4
- package/dist/cjs/utrecht-heading-4.cjs.entry.js +2 -2
- package/dist/cjs/utrecht-heading-5.cjs.entry.js +2 -2
- package/dist/cjs/utrecht-heading-6.cjs.entry.js +2 -2
- package/dist/cjs/utrecht-heading.cjs.entry.js +2 -2
- package/dist/cjs/utrecht-html-content.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +12 -12
- package/dist/collection/form-field-checkbox/{bem.js → css/template.js} +0 -0
- package/dist/collection/form-field-checkbox/{stencil.css → web-component/index.css} +0 -0
- package/dist/collection/form-field-checkbox/{stencil.js → web-component/index.stencil.js} +2 -2
- package/dist/collection/form-field-checkbox/web-component/template.js +18 -0
- package/dist/collection/form-field-checkbox-group/{bem.js → css/template.js} +0 -0
- package/dist/collection/form-field-description/{bem.js → css/template.js} +2 -2
- package/dist/collection/form-field-description/{stencil.css → web-component/index.css} +0 -0
- package/dist/collection/form-field-description/{stencil.js → web-component/index.stencil.js} +2 -2
- package/dist/collection/form-field-description/web-component/template.js +4 -0
- package/dist/collection/form-field-radio/{bem.js → css/template.js} +0 -0
- package/dist/collection/form-field-radio-group/{bem.js → css/template.js} +0 -0
- package/dist/collection/form-field-textarea/{stencil.css → web-component/index.css} +0 -0
- package/dist/collection/form-field-textarea/{stencil.js → web-component/index.stencil.js} +2 -2
- package/dist/collection/form-field-textarea/web-component/template.js +14 -0
- package/dist/collection/form-field-textbox/{stencil.css → web-component/index.css} +0 -0
- package/dist/collection/form-field-textbox/{stencil.js → web-component/index.stencil.js} +2 -2
- package/dist/collection/form-field-textbox/web-component/template.js +21 -0
- package/dist/collection/heading/{stencil.css → web-component/index.css} +0 -0
- package/dist/collection/heading/{stencil.js → web-component/index.stencil.js} +2 -2
- package/dist/collection/heading/web-component/template.js +4 -0
- package/dist/collection/heading-1/{bem.js → css/template.js} +0 -0
- package/dist/collection/heading-1/html/template.js +4 -0
- package/dist/collection/heading-1/{stencil.css → web-component/index.css} +0 -0
- package/dist/collection/heading-1/{stencil.js → web-component/index.stencil.js} +2 -2
- package/dist/collection/heading-1/web-component/template.js +4 -0
- package/dist/collection/heading-2/{bem.js → css/template.js} +0 -0
- package/dist/collection/heading-2/html/template.js +4 -0
- package/dist/collection/heading-2/{stencil.css → web-component/index.css} +0 -0
- package/dist/collection/heading-2/{stencil.js → web-component/index.stencil.js} +2 -2
- package/dist/collection/heading-2/web-component/template.js +4 -0
- package/dist/collection/heading-3/{bem.js → css/template.js} +0 -0
- package/dist/collection/heading-3/html/template.js +4 -0
- package/dist/collection/heading-3/{stencil.css → web-component/index.css} +0 -0
- package/dist/collection/heading-3/{stencil.js → web-component/index.stencil.js} +2 -2
- package/dist/collection/heading-3/web-component/template.js +4 -0
- package/dist/collection/heading-4/{bem.js → css/template.js} +0 -0
- package/dist/collection/heading-4/html/template.js +4 -0
- package/dist/collection/heading-4/{stencil.css → web-component/index.css} +0 -0
- package/dist/collection/heading-4/{stencil.js → web-component/index.stencil.js} +2 -2
- package/dist/collection/heading-4/web-component/template.js +4 -0
- package/dist/collection/heading-5/{bem.js → css/template.js} +0 -0
- package/dist/collection/heading-5/html/template.js +4 -0
- package/dist/collection/heading-5/{stencil.css → web-component/index.css} +0 -0
- package/dist/collection/heading-5/{stencil.js → web-component/index.stencil.js} +2 -2
- package/dist/collection/heading-5/web-component/template.js +4 -0
- package/dist/collection/heading-6/{bem.js → css/template.js} +0 -0
- package/dist/collection/heading-6/html/template.js +4 -0
- package/dist/collection/heading-6/{stencil.css → web-component/index.css} +0 -0
- package/dist/collection/heading-6/{stencil.js → web-component/index.stencil.js} +2 -2
- package/dist/collection/heading-6/web-component/template.js +4 -0
- package/dist/collection/html-content/{stencil.css → web-component/index.css} +0 -0
- package/dist/collection/html-content/{stencil.js → web-component/index.stencil.js} +2 -2
- package/dist/collection/html-content/web-component/template.js +1 -0
- package/dist/custom-elements/index.js +56 -56
- package/dist/esm/utrecht-form-field-checkbox.entry.js +2 -2
- package/dist/esm/utrecht-form-field-description.entry.js +2 -2
- package/dist/esm/utrecht-form-field-textarea.entry.js +2 -2
- package/dist/esm/utrecht-form-field-textbox.entry.js +2 -2
- package/dist/esm/utrecht-heading-1.entry.js +2 -2
- package/dist/esm/utrecht-heading-2_3.entry.js +4 -4
- package/dist/esm/utrecht-heading-4.entry.js +2 -2
- package/dist/esm/utrecht-heading-5.entry.js +2 -2
- package/dist/esm/utrecht-heading-6.entry.js +2 -2
- package/dist/esm/utrecht-heading.entry.js +2 -2
- package/dist/esm/utrecht-html-content.entry.js +2 -2
- package/dist/types/form-field-checkbox/{stencil.d.ts → web-component/index.stencil.d.ts} +1 -1
- package/dist/types/form-field-description/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/form-field-textarea/{stencil.d.ts → web-component/index.stencil.d.ts} +1 -1
- package/dist/types/form-field-textbox/{stencil.d.ts → web-component/index.stencil.d.ts} +1 -1
- package/dist/types/heading/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/heading-1/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/heading-2/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/heading-3/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/heading-4/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/heading-5/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/heading-6/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/html-content/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/package.json +2 -2
- package/dist/collection/heading/bem.js +0 -36
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -26,10 +26,10 @@ export class FormFieldTextarea {
|
|
|
26
26
|
static get is() { return "utrecht-form-field-textarea"; }
|
|
27
27
|
static get encapsulation() { return "shadow"; }
|
|
28
28
|
static get originalStyleUrls() { return {
|
|
29
|
-
"$": ["
|
|
29
|
+
"$": ["index.scss"]
|
|
30
30
|
}; }
|
|
31
31
|
static get styleUrls() { return {
|
|
32
|
-
"$": ["
|
|
32
|
+
"$": ["index.css"]
|
|
33
33
|
}; }
|
|
34
34
|
static get properties() { return {
|
|
35
35
|
"disabled": {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const FormFieldTextarea = ({
|
|
2
|
+
disabled = false,
|
|
3
|
+
invalid = false,
|
|
4
|
+
label = '',
|
|
5
|
+
placeholder = '',
|
|
6
|
+
readOnly = false,
|
|
7
|
+
required = false,
|
|
8
|
+
value = '',
|
|
9
|
+
}) =>
|
|
10
|
+
`<utrecht-form-field-textarea${disabled ? ' disabled="true"' : ''}${invalid ? ' invalid="true"' : ''}${
|
|
11
|
+
placeholder ? ` placeholder="${placeholder}"` : ''
|
|
12
|
+
}${readOnly ? ' readonly="true"' : ''}${required ? ' required="true"' : ''}${
|
|
13
|
+
value ? ` value="${value}"` : ''
|
|
14
|
+
}>${label}</utrecht-form-field-textarea>`;
|
|
File without changes
|
|
@@ -31,10 +31,10 @@ export class FormFieldTextbox {
|
|
|
31
31
|
static get is() { return "utrecht-form-field-textbox"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
33
33
|
static get originalStyleUrls() { return {
|
|
34
|
-
"$": ["
|
|
34
|
+
"$": ["index.scss"]
|
|
35
35
|
}; }
|
|
36
36
|
static get styleUrls() { return {
|
|
37
|
-
"$": ["
|
|
37
|
+
"$": ["index.css"]
|
|
38
38
|
}; }
|
|
39
39
|
static get properties() { return {
|
|
40
40
|
"autoComplete": {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export const FormFieldTextbox = ({
|
|
2
|
+
autoComplete = '',
|
|
3
|
+
disabled = false,
|
|
4
|
+
invalid = false,
|
|
5
|
+
label = '',
|
|
6
|
+
min = '',
|
|
7
|
+
max = '',
|
|
8
|
+
pattern = '',
|
|
9
|
+
placeholder = '',
|
|
10
|
+
readOnly = false,
|
|
11
|
+
required = false,
|
|
12
|
+
type = '',
|
|
13
|
+
value = '',
|
|
14
|
+
}) =>
|
|
15
|
+
`<utrecht-form-field-textbox${autoComplete ? ` autocomplete="${autoComplete}"` : ''}${
|
|
16
|
+
disabled ? ' disabled="true"' : ''
|
|
17
|
+
}${invalid ? ' invalid="true"' : ''}${min !== '' ? ` min="${min}"` : ''}${max !== '' ? ` max="${max}"` : ''}${
|
|
18
|
+
pattern ? ` pattern="${pattern}"` : ''
|
|
19
|
+
}${placeholder ? ` placeholder="${placeholder}"` : ''}${readOnly ? ' readonly="true"' : ''}${
|
|
20
|
+
required ? ' required="true"' : ''
|
|
21
|
+
}${value ? ` value="${value}"` : ''}${type ? ` type="${type}"` : ''}>${label}</utrecht-form-field-textbox>`;
|
|
File without changes
|
|
@@ -33,10 +33,10 @@ export class Heading {
|
|
|
33
33
|
static get is() { return "utrecht-heading"; }
|
|
34
34
|
static get encapsulation() { return "shadow"; }
|
|
35
35
|
static get originalStyleUrls() { return {
|
|
36
|
-
"$": ["
|
|
36
|
+
"$": ["index.scss"]
|
|
37
37
|
}; }
|
|
38
38
|
static get styleUrls() { return {
|
|
39
|
-
"$": ["
|
|
39
|
+
"$": ["index.css"]
|
|
40
40
|
}; }
|
|
41
41
|
static get properties() { return {
|
|
42
42
|
"level": {
|
|
File without changes
|
|
File without changes
|
|
@@ -7,9 +7,9 @@ export class Heading1 {
|
|
|
7
7
|
static get is() { return "utrecht-heading-1"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
9
9
|
static get originalStyleUrls() { return {
|
|
10
|
-
"$": ["
|
|
10
|
+
"$": ["index.scss"]
|
|
11
11
|
}; }
|
|
12
12
|
static get styleUrls() { return {
|
|
13
|
-
"$": ["
|
|
13
|
+
"$": ["index.css"]
|
|
14
14
|
}; }
|
|
15
15
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -7,9 +7,9 @@ export class Heading2 {
|
|
|
7
7
|
static get is() { return "utrecht-heading-2"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
9
9
|
static get originalStyleUrls() { return {
|
|
10
|
-
"$": ["
|
|
10
|
+
"$": ["index.scss"]
|
|
11
11
|
}; }
|
|
12
12
|
static get styleUrls() { return {
|
|
13
|
-
"$": ["
|
|
13
|
+
"$": ["index.css"]
|
|
14
14
|
}; }
|
|
15
15
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -7,9 +7,9 @@ export class Heading3 {
|
|
|
7
7
|
static get is() { return "utrecht-heading-3"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
9
9
|
static get originalStyleUrls() { return {
|
|
10
|
-
"$": ["
|
|
10
|
+
"$": ["index.scss"]
|
|
11
11
|
}; }
|
|
12
12
|
static get styleUrls() { return {
|
|
13
|
-
"$": ["
|
|
13
|
+
"$": ["index.css"]
|
|
14
14
|
}; }
|
|
15
15
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -7,9 +7,9 @@ export class Heading4 {
|
|
|
7
7
|
static get is() { return "utrecht-heading-4"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
9
9
|
static get originalStyleUrls() { return {
|
|
10
|
-
"$": ["
|
|
10
|
+
"$": ["index.scss"]
|
|
11
11
|
}; }
|
|
12
12
|
static get styleUrls() { return {
|
|
13
|
-
"$": ["
|
|
13
|
+
"$": ["index.css"]
|
|
14
14
|
}; }
|
|
15
15
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -7,9 +7,9 @@ export class Heading5 {
|
|
|
7
7
|
static get is() { return "utrecht-heading-5"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
9
9
|
static get originalStyleUrls() { return {
|
|
10
|
-
"$": ["
|
|
10
|
+
"$": ["index.scss"]
|
|
11
11
|
}; }
|
|
12
12
|
static get styleUrls() { return {
|
|
13
|
-
"$": ["
|
|
13
|
+
"$": ["index.css"]
|
|
14
14
|
}; }
|
|
15
15
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -7,9 +7,9 @@ export class Heading6 {
|
|
|
7
7
|
static get is() { return "utrecht-heading-6"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
9
9
|
static get originalStyleUrls() { return {
|
|
10
|
-
"$": ["
|
|
10
|
+
"$": ["index.scss"]
|
|
11
11
|
}; }
|
|
12
12
|
static get styleUrls() { return {
|
|
13
|
-
"$": ["
|
|
13
|
+
"$": ["index.css"]
|
|
14
14
|
}; }
|
|
15
15
|
}
|
|
File without changes
|
|
@@ -10,9 +10,9 @@ export class HTMLContent {
|
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "utrecht-html-content"; }
|
|
12
12
|
static get originalStyleUrls() { return {
|
|
13
|
-
"$": ["
|
|
13
|
+
"$": ["index.scss"]
|
|
14
14
|
}; }
|
|
15
15
|
static get styleUrls() { return {
|
|
16
|
-
"$": ["
|
|
16
|
+
"$": ["index.css"]
|
|
17
17
|
}; }
|
|
18
18
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const HTMLContent = ({ content }) => `<utrecht-html-content>${content}</utrecht-html-content>`;
|