@rijkshuisstijl-community/web-components-stencil 1.0.0-alpha.3 → 1.0.0-alpha.31
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/index-79e96916.js +1148 -0
- package/dist/cjs/index-79e96916.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -2
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/rhc-icon-arrow-right.cjs.entry.js +7 -7
- package/dist/cjs/rhc-icon-arrow-right.cjs.entry.js.map +1 -1
- package/dist/cjs/rhc-icon-calendar.cjs.entry.js +7 -7
- package/dist/cjs/rhc-icon-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/rhc-icon-error.cjs.entry.js +7 -7
- package/dist/cjs/rhc-icon-error.cjs.entry.js.map +1 -1
- package/dist/cjs/rhc-icon-info_2.cjs.entry.js +19 -18
- package/dist/cjs/rhc-icon-info_2.cjs.entry.js.map +1 -1
- package/dist/cjs/rhc-icon-success.cjs.entry.js +7 -7
- package/dist/cjs/rhc-icon-success.cjs.entry.js.map +1 -1
- package/dist/cjs/rhc-icon-warning.cjs.entry.js +7 -7
- package/dist/cjs/rhc-icon-warning.cjs.entry.js.map +1 -1
- package/dist/cjs/rhc.cjs.js +12 -10
- package/dist/cjs/rhc.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/icon-arrow-right/stencil.js +5 -5
- package/dist/collection/icon-arrow-right/stencil.js.map +1 -1
- package/dist/collection/icon-calendar/stencil.js +5 -5
- package/dist/collection/icon-calendar/stencil.js.map +1 -1
- package/dist/collection/icon-error/stencil.js +5 -5
- package/dist/collection/icon-error/stencil.js.map +1 -1
- package/dist/collection/icon-info/stencil.js +5 -5
- package/dist/collection/icon-info/stencil.js.map +1 -1
- package/dist/collection/icon-success/stencil.js +5 -5
- package/dist/collection/icon-success/stencil.js.map +1 -1
- package/dist/collection/icon-warning/stencil.js +5 -5
- package/dist/collection/icon-warning/stencil.js.map +1 -1
- package/dist/collection/logo.css +48 -22
- package/dist/collection/logo.stencil.js +58 -58
- package/dist/collection/logo.stencil.js.map +1 -1
- package/dist/components/index.js +15 -15
- package/dist/components/rhc-icon-arrow-right.d.ts +2 -2
- package/dist/components/rhc-icon-arrow-right.js +19 -19
- package/dist/components/rhc-icon-arrow-right.js.map +1 -1
- package/dist/components/rhc-icon-calendar.d.ts +2 -2
- package/dist/components/rhc-icon-calendar.js +19 -19
- package/dist/components/rhc-icon-calendar.js.map +1 -1
- package/dist/components/rhc-icon-error.d.ts +2 -2
- package/dist/components/rhc-icon-error.js +19 -19
- package/dist/components/rhc-icon-error.js.map +1 -1
- package/dist/components/rhc-icon-info.d.ts +2 -2
- package/dist/components/rhc-icon-info.js +19 -19
- package/dist/components/rhc-icon-info.js.map +1 -1
- package/dist/components/rhc-icon-success.d.ts +2 -2
- package/dist/components/rhc-icon-success.js +19 -19
- package/dist/components/rhc-icon-success.js.map +1 -1
- package/dist/components/rhc-icon-warning.d.ts +2 -2
- package/dist/components/rhc-icon-warning.js +19 -19
- package/dist/components/rhc-icon-warning.js.map +1 -1
- package/dist/components/rhc-logo.d.ts +2 -2
- package/dist/components/rhc-logo.js +28 -27
- package/dist/components/rhc-logo.js.map +1 -1
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/index-0eb79357.js +1122 -0
- package/dist/esm/index-0eb79357.js.map +1 -0
- package/dist/esm/loader.js +5 -3
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/rhc-icon-arrow-right.entry.js +7 -7
- package/dist/esm/rhc-icon-arrow-right.entry.js.map +1 -1
- package/dist/esm/rhc-icon-calendar.entry.js +7 -7
- package/dist/esm/rhc-icon-calendar.entry.js.map +1 -1
- package/dist/esm/rhc-icon-error.entry.js +7 -7
- package/dist/esm/rhc-icon-error.entry.js.map +1 -1
- package/dist/esm/rhc-icon-info_2.entry.js +19 -18
- package/dist/esm/rhc-icon-info_2.entry.js.map +1 -1
- package/dist/esm/rhc-icon-success.entry.js +7 -7
- package/dist/esm/rhc-icon-success.entry.js.map +1 -1
- package/dist/esm/rhc-icon-warning.entry.js +7 -7
- package/dist/esm/rhc-icon-warning.entry.js.map +1 -1
- package/dist/esm/rhc.js +13 -11
- package/dist/esm/rhc.js.map +1 -1
- package/dist/rhc/index.esm.js.map +1 -1
- package/dist/rhc/p-0c06d3c7.entry.js +2 -0
- package/dist/rhc/p-0c06d3c7.entry.js.map +1 -0
- package/dist/rhc/p-0d031d9b.entry.js +2 -0
- package/dist/rhc/p-0d031d9b.entry.js.map +1 -0
- package/dist/rhc/p-566be07a.entry.js +2 -0
- package/dist/rhc/p-566be07a.entry.js.map +1 -0
- package/dist/rhc/p-5adfb6ac.entry.js +2 -0
- package/dist/rhc/p-5adfb6ac.entry.js.map +1 -0
- package/dist/rhc/p-62f5168e.js +3 -0
- package/dist/rhc/p-62f5168e.js.map +1 -0
- package/dist/rhc/p-90e047c1.entry.js +2 -0
- package/dist/rhc/p-90e047c1.entry.js.map +1 -0
- package/dist/rhc/p-994c6c79.entry.js +2 -0
- package/dist/rhc/p-994c6c79.entry.js.map +1 -0
- package/dist/rhc/p-e1255160.js +2 -0
- package/dist/rhc/p-e1255160.js.map +1 -0
- package/dist/rhc/rhc.esm.js +1 -1
- package/dist/rhc/rhc.esm.js.map +1 -1
- package/dist/src/icon-error/stencil.js +2 -8
- package/dist/src/icon-error/stencil.js.map +1 -1
- package/dist/src/icon-info/stencil.js +4 -6
- package/dist/src/icon-info/stencil.js.map +1 -1
- package/dist/src/icon-success/stencil.js +2 -4
- package/dist/src/icon-success/stencil.js.map +1 -1
- package/dist/src/icon-warning/stencil.js +2 -6
- package/dist/src/icon-warning/stencil.js.map +1 -1
- package/dist/types/icon-arrow-right/stencil.d.ts +1 -1
- package/dist/types/icon-calendar/stencil.d.ts +1 -1
- package/dist/types/icon-error/stencil.d.ts +1 -1
- package/dist/types/icon-info/stencil.d.ts +1 -1
- package/dist/types/icon-success/stencil.d.ts +1 -1
- package/dist/types/icon-warning/stencil.d.ts +1 -1
- package/dist/types/logo.stencil.d.ts +3 -3
- package/dist/types/stencil-public-runtime.d.ts +35 -13
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +3 -0
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/package.json +12 -11
- package/dist/cjs/index-97a16ac9.js +0 -1551
- package/dist/cjs/index-97a16ac9.js.map +0 -1
- package/dist/esm/index-c2d82fd1.js +0 -1525
- package/dist/esm/index-c2d82fd1.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/rhc/p-1849850a.entry.js +0 -2
- package/dist/rhc/p-1849850a.entry.js.map +0 -1
- package/dist/rhc/p-1ddc5ba6.entry.js +0 -2
- package/dist/rhc/p-1ddc5ba6.entry.js.map +0 -1
- package/dist/rhc/p-1f328841.js +0 -3
- package/dist/rhc/p-1f328841.js.map +0 -1
- package/dist/rhc/p-3c963064.entry.js +0 -2
- package/dist/rhc/p-3c963064.entry.js.map +0 -1
- package/dist/rhc/p-4378bb06.entry.js +0 -2
- package/dist/rhc/p-4378bb06.entry.js.map +0 -1
- package/dist/rhc/p-569d82ec.entry.js +0 -2
- package/dist/rhc/p-569d82ec.entry.js.map +0 -1
- package/dist/rhc/p-bab6df1d.entry.js +0 -2
- package/dist/rhc/p-bab6df1d.entry.js.map +0 -1
@@ -6,12 +6,10 @@ import { __decorate } from "tslib";
|
|
6
6
|
import { Component, h } from '@stencil/core';
|
7
7
|
let IconInfo = class IconInfo {
|
8
8
|
render() {
|
9
|
-
return (h("svg", { xmlns: "http://www.w3.org/2000/svg"
|
10
|
-
h("
|
11
|
-
|
12
|
-
h("
|
13
|
-
h("path", { d: "M31.3046827,3.47798687 C31.0638074,2.03483589 29.9658643,0.93619256 28.5220131,0.696017505 C24.3480088,0 17.3913348,0 16.0007002,0 C14.6086652,0 7.65269147,0 3.47868709,0.696017505 C2.03483589,0.93619256 0.93619256,2.03483589 0.696017505,3.47798687 C0,7.65199125 0,14.6086652 0,16 C0,17.3913348 0,24.3480088 0.696017505,28.5220131 C0.93619256,29.9651641 2.03483589,31.0638074 3.47868709,31.3039825 C7.65269147,32 14.6086652,32 16.0007002,32 C17.3913348,32 24.3480088,32 28.5220131,31.3039825 C29.9658643,31.0638074 31.0638074,29.9651641 31.3046827,28.5220131 C32,24.3480088 32,17.3913348 32,16 C32,11.823895 32,7.65199125 31.3046827,3.47798687 L31.3046827,3.47798687 Z" }),
|
14
|
-
h("use", { fill: "var(--logius-icon-accent-color,#fff)", "fill-rule": "nonzero", xlinkHref: "#info-icon-a" }))));
|
9
|
+
return (h("svg", { viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg" },
|
10
|
+
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2ZM0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10Z", fill: "currentColor" }),
|
11
|
+
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M9 6C9 5.44772 9.44771 5 10 5H10.01C10.5623 5 11.01 5.44772 11.01 6C11.01 6.55228 10.5623 7 10.01 7H10C9.44771 7 9 6.55228 9 6Z", fill: "currentColor" }),
|
12
|
+
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8 10C8 9.44771 8.44771 9 9 9H10C10.5523 9 11 9.44771 11 10V13C11.5523 13 12 13.4477 12 14C12 14.5523 11.5523 15 11 15H10C9.44772 15 9 14.5523 9 14V11C8.44771 11 8 10.5523 8 10Z", fill: "currentColor" })));
|
15
13
|
}
|
16
14
|
};
|
17
15
|
IconInfo = __decorate([
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stencil.js","sourceRoot":"","sources":["../../../src/icon-info/stencil.tsx"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAMtC,IAAM,QAAQ,GAAd,MAAM,QAAQ;IACnB,MAAM;QACJ,OAAO,CACL,WAAK,
|
1
|
+
{"version":3,"file":"stencil.js","sourceRoot":"","sources":["../../../src/icon-info/stencil.tsx"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAMtC,IAAM,QAAQ,GAAd,MAAM,QAAQ;IACnB,MAAM;QACJ,OAAO,CACL,WAAK,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,4BAA4B;YACzD,yBACY,SAAS,eACT,SAAS,EACnB,CAAC,EAAC,kOAAkO,EACpO,IAAI,EAAC,cAAc,GACnB;YACF,yBACY,SAAS,eACT,SAAS,EACnB,CAAC,EAAC,iIAAiI,EACnI,IAAI,EAAC,cAAc,GACnB;YACF,yBACY,SAAS,eACT,SAAS,EACnB,CAAC,EAAC,mLAAmL,EACrL,IAAI,EAAC,cAAc,GACnB,CACE,CACP,CAAC;IACJ,CAAC;CACF,CAAA;AAzBY,QAAQ;IAJpB,SAAS,CAAC;QACT,GAAG,EAAE,eAAe;QACpB,MAAM,EAAE,IAAI;KACb,CAAC;GACW,QAAQ,CAyBpB"}
|
@@ -6,10 +6,8 @@ import { __decorate } from "tslib";
|
|
6
6
|
import { Component, h } from '@stencil/core';
|
7
7
|
let IconSuccess = class IconSuccess {
|
8
8
|
render() {
|
9
|
-
return (h("svg", {
|
10
|
-
h("
|
11
|
-
h("path", { d: "M31.3046827,3.47798687 C31.0638074,2.03483589 29.9658643,0.93619256 28.5220131,0.696017505 C24.3480088,0 17.3913348,0 16.0007002,0 C14.6086652,0 7.65269147,0 3.47868709,0.696017505 C2.03483589,0.93619256 0.93619256,2.03483589 0.696017505,3.47798687 C0,7.65199125 0,14.6086652 0,16 C0,17.3913348 0,24.3480088 0.696017505,28.5220131 C0.93619256,29.9651641 2.03483589,31.0638074 3.47868709,31.3039825 C7.65269147,32 14.6086652,32 16.0007002,32 C17.3913348,32 24.3480088,32 28.5220131,31.3039825 C29.9658643,31.0638074 31.0638074,29.9651641 31.3046827,28.5220131 C32,24.3480088 32,17.3913348 32,16 C32,11.823895 32,7.65199125 31.3046827,3.47798687 L31.3046827,3.47798687 Z", id: "Mask" }),
|
12
|
-
h("path", { d: "M11.9537178,24.3879613 L6.55867498,18.4775923 C5.81377501,17.6615406 5.81377501,16.3384594 6.55867498,15.5224077 C7.30357496,14.7063561 8.51129644,14.7063561 9.25619642,15.5224077 L13.3024786,19.9551845 L22.7438036,9.61203875 C23.4887036,8.79598708 24.696425,8.79598708 25.441325,9.61203875 C26.186225,10.4280904 26.186225,11.7511716 25.441325,12.5672232 L14.6512393,24.3879613 C13.9063393,25.2040129 12.6986178,25.2040129 11.9537178,24.3879613 Z", id: "Path", fill: "var(--logius-icon-accent-color,#fff)" }))));
|
9
|
+
return (h("svg", { viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg" },
|
10
|
+
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2ZM0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10ZM13.7071 7.29289C14.0976 7.68342 14.0976 8.31658 13.7071 8.70711L9.70711 12.7071C9.31658 13.0976 8.68342 13.0976 8.29289 12.7071L6.29289 10.7071C5.90237 10.3166 5.90237 9.68342 6.29289 9.29289C6.68342 8.90237 7.31658 8.90237 7.70711 9.29289L9 10.5858L12.2929 7.29289C12.6834 6.90237 13.3166 6.90237 13.7071 7.29289Z", fill: "currentColor" })));
|
13
11
|
}
|
14
12
|
};
|
15
13
|
IconSuccess = __decorate([
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stencil.js","sourceRoot":"","sources":["../../../src/icon-success/stencil.tsx"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAMtC,IAAM,WAAW,GAAjB,MAAM,WAAW;IACtB,MAAM;QACJ,OAAO,CACL,WAAK,
|
1
|
+
{"version":3,"file":"stencil.js","sourceRoot":"","sources":["../../../src/icon-success/stencil.tsx"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAMtC,IAAM,WAAW,GAAjB,MAAM,WAAW;IACtB,MAAM;QACJ,OAAO,CACL,WAAK,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,4BAA4B;YACzD,yBACY,SAAS,eACT,SAAS,EACnB,CAAC,EAAC,6hBAA6hB,EAC/hB,IAAI,EAAC,cAAc,GACnB,CACE,CACP,CAAC;IACJ,CAAC;CACF,CAAA;AAbY,WAAW;IAJvB,SAAS,CAAC;QACT,GAAG,EAAE,kBAAkB;QACvB,MAAM,EAAE,IAAI;KACb,CAAC;GACW,WAAW,CAavB"}
|
@@ -6,12 +6,8 @@ import { __decorate } from "tslib";
|
|
6
6
|
import { Component, h } from '@stencil/core';
|
7
7
|
let IconWarning = class IconWarning {
|
8
8
|
render() {
|
9
|
-
return (h("svg", { xmlns: "http://www.w3.org/2000/svg"
|
10
|
-
h("
|
11
|
-
h("path", { id: "a", d: "M10 13.75a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5zm0-9.375c.69 0 1.25.56 1.25 1.25v5a1.25 1.25 0 0 1-2.5 0v-5c0-.69.56-1.25 1.25-1.25z" })),
|
12
|
-
h("g", { "fill-rule": "evenodd" },
|
13
|
-
h("path", { d: "M19.565 2.174A2.095 2.095 0 0 0 17.826.435C15.218 0 10.87 0 10 0c-.87 0-5.217 0-7.826.435-.902.15-1.589.837-1.739 1.739C0 4.782 0 9.13 0 10c0 .87 0 5.218.435 7.826.15.902.837 1.589 1.74 1.739C4.782 20 9.13 20 10 20c.87 0 5.218 0 7.826-.435a2.095 2.095 0 0 0 1.74-1.739C20 15.218 20 10.87 20 10c0-2.61 0-5.218-.435-7.826z" }),
|
14
|
-
h("use", { fill: "var(--logius-icon-accent-color,#fff)", "fill-rule": "nonzero", xlinkHref: "#a" }))));
|
9
|
+
return (h("svg", { viewBox: "0 0 20 19", xmlns: "http://www.w3.org/2000/svg" },
|
10
|
+
h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.37028 2.50583C7.90004 1.5565 8.90224 0.967773 9.98995 0.967773C11.0777 0.967773 12.0799 1.55649 12.6096 2.50581L19.7051 14.7481C19.7287 14.7887 19.7494 14.831 19.767 14.8745C20.1397 15.7958 20.0319 16.8419 19.4793 17.6679C18.9266 18.4938 18.0008 18.9925 17.007 18.9995L17 18.9995H2.99995C2.98168 18.9995 2.96351 18.999 2.94548 18.9981C2.91022 19 2.87452 19.0001 2.83847 18.9982C1.86877 18.9482 0.983242 18.432 0.461945 17.6128C-0.0593516 16.7936 -0.151938 15.7728 0.213468 14.8732C0.230968 14.8301 0.251452 14.7883 0.27477 14.7481L7.37028 2.50583ZM2.94471 17.001C2.963 17 2.98142 16.9995 2.99995 16.9995H16.9959C17.326 16.9962 17.6334 16.8302 17.817 16.5557C17.9904 16.2966 18.0324 15.9726 17.9333 15.6794L10.8748 3.50098L10.865 3.48365C10.6888 3.16533 10.3537 2.96777 9.98995 2.96777C9.62617 2.96777 9.29107 3.16533 9.11495 3.48365L9.10514 3.50098L2.0462 15.6801C1.94885 15.9662 1.98591 16.2823 2.14927 16.5391C2.32303 16.8121 2.61821 16.9842 2.94144 17.0009C2.94253 17.0009 2.94362 17.001 2.94471 17.001ZM9.99996 6.99953C10.5522 6.99953 11 7.44724 11 7.99953V9.99953C11 10.5518 10.5522 10.9995 9.99996 10.9995C9.44767 10.9995 8.99996 10.5518 8.99996 9.99953V7.99953C8.99996 7.44724 9.44767 6.99953 9.99996 6.99953ZM8.99996 13.9995C8.99996 13.4472 9.44767 12.9995 9.99996 12.9995H10.01C10.5622 12.9995 11.01 13.4472 11.01 13.9995C11.01 14.5518 10.5622 14.9995 10.01 14.9995H9.99996C9.44767 14.9995 8.99996 14.5518 8.99996 13.9995Z", fill: "currentColor" })));
|
15
11
|
}
|
16
12
|
};
|
17
13
|
IconWarning = __decorate([
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"stencil.js","sourceRoot":"","sources":["../../../src/icon-warning/stencil.tsx"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAMtC,IAAM,WAAW,GAAjB,MAAM,WAAW;IACtB,MAAM;QACJ,OAAO,CACL,WAAK,
|
1
|
+
{"version":3,"file":"stencil.js","sourceRoot":"","sources":["../../../src/icon-warning/stencil.tsx"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAMtC,IAAM,WAAW,GAAjB,MAAM,WAAW;IACtB,MAAM;QACJ,OAAO,CACL,WAAK,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,4BAA4B;YACzD,yBACY,SAAS,eACT,SAAS,EACnB,CAAC,EAAC,45CAA45C,EAC95C,IAAI,EAAC,cAAc,GACnB,CACE,CACP,CAAC;IACJ,CAAC;CACF,CAAA;AAbY,WAAW;IAJvB,SAAS,CAAC;QACT,GAAG,EAAE,kBAAkB;QACvB,MAAM,EAAE,IAAI;KACb,CAAC;GACW,WAAW,CAavB"}
|
@@ -3,6 +3,16 @@ export interface ComponentDecorator {
|
|
3
3
|
(opts?: ComponentOptions): ClassDecorator;
|
4
4
|
}
|
5
5
|
export interface ComponentOptions {
|
6
|
+
/**
|
7
|
+
* When set to `true` this component will be form-associated. See
|
8
|
+
* https://stenciljs.com/docs/next/form-associated documentation on how to
|
9
|
+
* build form-associated Stencil components that integrate into forms like
|
10
|
+
* native browser elements such as `<input>` and `<textarea>`.
|
11
|
+
*
|
12
|
+
* The {@link AttachInternals} decorator allows for access to the
|
13
|
+
* `ElementInternals` object to modify the associated form.
|
14
|
+
*/
|
15
|
+
formAssociated?: boolean;
|
6
16
|
/**
|
7
17
|
* Tag name of the web component. Ideally, the tag name must be globally unique,
|
8
18
|
* so it's recommended to choose an unique prefix for all your components within the same collection.
|
@@ -62,7 +72,7 @@ export interface PropOptions {
|
|
62
72
|
/**
|
63
73
|
* The name of the associated DOM attribute.
|
64
74
|
* Stencil uses different heuristics to determine the default name of the attribute,
|
65
|
-
* but using this property, you can override the default
|
75
|
+
* but using this property, you can override the default behavior.
|
66
76
|
*/
|
67
77
|
attribute?: string | null;
|
68
78
|
/**
|
@@ -107,6 +117,9 @@ export interface EventOptions {
|
|
107
117
|
*/
|
108
118
|
composed?: boolean;
|
109
119
|
}
|
120
|
+
export interface AttachInternalsDecorator {
|
121
|
+
(): PropertyDecorator;
|
122
|
+
}
|
110
123
|
export interface ListenDecorator {
|
111
124
|
(eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
|
112
125
|
}
|
@@ -128,7 +141,7 @@ export interface ListenOptions {
|
|
128
141
|
* By default, Stencil uses several heuristics to determine if
|
129
142
|
* it must attach a `passive` event listener or not.
|
130
143
|
*
|
131
|
-
* Using the `passive` option can be used to change the default
|
144
|
+
* Using the `passive` option can be used to change the default behavior.
|
132
145
|
* Please see https://developers.google.com/web/updates/2016/06/passive-event-listeners for further information.
|
133
146
|
*/
|
134
147
|
passive?: boolean;
|
@@ -175,6 +188,12 @@ export declare const Element: ElementDecorator;
|
|
175
188
|
* https://stenciljs.com/docs/events
|
176
189
|
*/
|
177
190
|
export declare const Event: EventDecorator;
|
191
|
+
/**
|
192
|
+
* If the `formAssociated` option is set in options passed to the
|
193
|
+
* `@Component()` decorator then this decorator may be used to get access to the
|
194
|
+
* `ElementInternals` instance associated with the component.
|
195
|
+
*/
|
196
|
+
export declare const AttachInternals: AttachInternalsDecorator;
|
178
197
|
/**
|
179
198
|
* The `Listen()` decorator is for listening DOM events, including the ones
|
180
199
|
* dispatched from `@Events()`.
|
@@ -471,7 +490,7 @@ export interface FunctionalUtilities {
|
|
471
490
|
/**
|
472
491
|
* Utility for reading the children of a functional component at runtime.
|
473
492
|
* Since the Stencil runtime uses a different interface for children it is
|
474
|
-
* not
|
493
|
+
* not recommended to read the children directly, and is preferable to use
|
475
494
|
* this utility to, for instance, perform a side effect for each child.
|
476
495
|
*/
|
477
496
|
forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
|
@@ -749,6 +768,7 @@ export declare namespace JSXBase {
|
|
749
768
|
hrefLang?: string;
|
750
769
|
hreflang?: string;
|
751
770
|
media?: string;
|
771
|
+
ping?: string;
|
752
772
|
rel?: string;
|
753
773
|
target?: string;
|
754
774
|
referrerPolicy?: ReferrerPolicy;
|
@@ -775,7 +795,6 @@ export declare namespace JSXBase {
|
|
775
795
|
cite?: string;
|
776
796
|
}
|
777
797
|
interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
778
|
-
autoFocus?: boolean;
|
779
798
|
disabled?: boolean;
|
780
799
|
form?: string;
|
781
800
|
formAction?: string;
|
@@ -791,6 +810,9 @@ export declare namespace JSXBase {
|
|
791
810
|
name?: string;
|
792
811
|
type?: string;
|
793
812
|
value?: string | string[] | number;
|
813
|
+
popoverTargetAction?: string;
|
814
|
+
popoverTargetElement?: Element | null;
|
815
|
+
popoverTarget?: string;
|
794
816
|
}
|
795
817
|
interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
796
818
|
height?: number | string;
|
@@ -899,8 +921,6 @@ export declare namespace JSXBase {
|
|
899
921
|
autocapitalize?: string;
|
900
922
|
autoComplete?: string;
|
901
923
|
autocomplete?: string;
|
902
|
-
autoFocus?: boolean;
|
903
|
-
autofocus?: boolean | string;
|
904
924
|
capture?: string;
|
905
925
|
checked?: boolean;
|
906
926
|
crossOrigin?: string;
|
@@ -952,10 +972,11 @@ export declare namespace JSXBase {
|
|
952
972
|
webkitdirectory?: boolean;
|
953
973
|
webkitEntries?: any;
|
954
974
|
width?: number | string;
|
975
|
+
popoverTargetAction?: string;
|
976
|
+
popoverTargetElement?: Element | null;
|
977
|
+
popoverTarget?: string;
|
955
978
|
}
|
956
979
|
interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
957
|
-
autoFocus?: boolean;
|
958
|
-
autofocus?: boolean | string;
|
959
980
|
challenge?: string;
|
960
981
|
disabled?: boolean;
|
961
982
|
form?: string;
|
@@ -968,7 +989,6 @@ export declare namespace JSXBase {
|
|
968
989
|
interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
|
969
990
|
form?: string;
|
970
991
|
htmlFor?: string;
|
971
|
-
htmlfor?: string;
|
972
992
|
}
|
973
993
|
interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
|
974
994
|
value?: string | string[] | number;
|
@@ -1079,7 +1099,6 @@ export declare namespace JSXBase {
|
|
1079
1099
|
interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
|
1080
1100
|
form?: string;
|
1081
1101
|
htmlFor?: string;
|
1082
|
-
htmlfor?: string;
|
1083
1102
|
name?: string;
|
1084
1103
|
}
|
1085
1104
|
interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
|
@@ -1104,7 +1123,6 @@ export declare namespace JSXBase {
|
|
1104
1123
|
type?: string;
|
1105
1124
|
}
|
1106
1125
|
interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
|
1107
|
-
autoFocus?: boolean;
|
1108
1126
|
disabled?: boolean;
|
1109
1127
|
form?: string;
|
1110
1128
|
multiple?: boolean;
|
@@ -1115,11 +1133,13 @@ export declare namespace JSXBase {
|
|
1115
1133
|
autocomplete?: string;
|
1116
1134
|
}
|
1117
1135
|
interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
|
1136
|
+
height?: number;
|
1118
1137
|
media?: string;
|
1119
1138
|
sizes?: string;
|
1120
1139
|
src?: string;
|
1121
1140
|
srcSet?: string;
|
1122
1141
|
type?: string;
|
1142
|
+
width?: number;
|
1123
1143
|
}
|
1124
1144
|
interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
1125
1145
|
media?: string;
|
@@ -1137,8 +1157,6 @@ export declare namespace JSXBase {
|
|
1137
1157
|
interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
1138
1158
|
autoComplete?: string;
|
1139
1159
|
autocomplete?: string;
|
1140
|
-
autoFocus?: boolean;
|
1141
|
-
autofocus?: boolean | string;
|
1142
1160
|
cols?: number;
|
1143
1161
|
disabled?: boolean;
|
1144
1162
|
form?: string;
|
@@ -1191,6 +1209,8 @@ export declare namespace JSXBase {
|
|
1191
1209
|
interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
|
1192
1210
|
innerHTML?: string;
|
1193
1211
|
accessKey?: string;
|
1212
|
+
autoFocus?: boolean;
|
1213
|
+
autofocus?: boolean | string;
|
1194
1214
|
class?: string | {
|
1195
1215
|
[className: string]: boolean;
|
1196
1216
|
};
|
@@ -1202,6 +1222,7 @@ export declare namespace JSXBase {
|
|
1202
1222
|
draggable?: boolean;
|
1203
1223
|
hidden?: boolean;
|
1204
1224
|
id?: string;
|
1225
|
+
inert?: boolean;
|
1205
1226
|
lang?: string;
|
1206
1227
|
spellcheck?: 'true' | 'false' | any;
|
1207
1228
|
style?: {
|
@@ -1210,6 +1231,7 @@ export declare namespace JSXBase {
|
|
1210
1231
|
tabIndex?: number;
|
1211
1232
|
tabindex?: number | string;
|
1212
1233
|
title?: string;
|
1234
|
+
popover?: string | null;
|
1213
1235
|
inputMode?: string;
|
1214
1236
|
inputmode?: string;
|
1215
1237
|
enterKeyHint?: string;
|
package/loader/cdn.js
CHANGED
package/loader/index.cjs.js
CHANGED
package/loader/index.d.ts
CHANGED
@@ -9,6 +9,9 @@ export interface CustomElementsDefineOptions {
|
|
9
9
|
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
10
10
|
}
|
11
11
|
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
|
12
|
+
/**
|
13
|
+
* @deprecated
|
14
|
+
*/
|
12
15
|
export declare function applyPolyfills(): Promise<void>;
|
13
16
|
|
14
17
|
/**
|
package/loader/index.es2017.js
CHANGED
package/loader/index.js
CHANGED
@@ -1,4 +1,2 @@
|
|
1
|
-
|
2
1
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
3
|
-
export * from '../dist/esm/
|
4
|
-
export * from '../dist/esm/loader.js';
|
2
|
+
export * from '../dist/esm/loader.js';
|
package/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"
|
2
|
+
"name": "@rijkshuisstijl-community/web-components-stencil",
|
3
|
+
"version": "1.0.0-alpha.31",
|
3
4
|
"author": "Community for NL Design System",
|
4
5
|
"description": "Stencil web components bundle based on the NL Design System architecture",
|
5
6
|
"license": "EUPL-1.2",
|
6
|
-
"name": "@rijkshuisstijl-community/web-components-stencil",
|
7
7
|
"keywords": [
|
8
8
|
"nl-design-system"
|
9
9
|
],
|
@@ -26,7 +26,8 @@
|
|
26
26
|
],
|
27
27
|
"repository": {
|
28
28
|
"type": "git+ssh",
|
29
|
-
"url": "git@github.com:nl-design-system/rijkshuisstijl-community.git"
|
29
|
+
"url": "git@github.com:nl-design-system/rijkshuisstijl-community.git",
|
30
|
+
"directory": "packages/web-components-stencil"
|
30
31
|
},
|
31
32
|
"scripts": {
|
32
33
|
"prebuild": "npm run clean",
|
@@ -40,19 +41,19 @@
|
|
40
41
|
"generate": "stencil generate"
|
41
42
|
},
|
42
43
|
"devDependencies": {
|
43
|
-
"@rijkshuisstijl-community/components-css": "1.0.0-alpha.
|
44
|
+
"@rijkshuisstijl-community/components-css": "1.0.0-alpha.49",
|
44
45
|
"@stencil/react-output-target": "0.5.3",
|
45
|
-
"@stencil/sass": "3.0.
|
46
|
-
"@types/jest": "29.5.
|
46
|
+
"@stencil/sass": "3.0.12",
|
47
|
+
"@types/jest": "29.5.12",
|
47
48
|
"chokidar-cli": "3.0.0",
|
48
49
|
"node-sass-package-importer": "5.3.3",
|
49
50
|
"npm-run-all": "4.1.5",
|
50
|
-
"rimraf": "
|
51
|
-
"tslib": "2.6.
|
52
|
-
"typescript": "5.
|
51
|
+
"rimraf": "6.0.1",
|
52
|
+
"tslib": "2.6.3",
|
53
|
+
"typescript": "5.5.3"
|
53
54
|
},
|
54
55
|
"dependencies": {
|
55
|
-
"@stencil/core": "4.
|
56
|
+
"@stencil/core": "4.19.2"
|
56
57
|
},
|
57
|
-
"gitHead": "
|
58
|
+
"gitHead": "24691de04403b931c3ee231144c4c8cd7cece87a"
|
58
59
|
}
|