@rijkshuisstijl-community/web-components-stencil 1.0.0-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE.md +288 -0
- package/README.md +25 -0
- package/dist/cjs/index-97a16ac9.js +1551 -0
- package/dist/cjs/index-97a16ac9.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/rhc-icon-arrow-right.cjs.entry.js +18 -0
- package/dist/cjs/rhc-icon-arrow-right.cjs.entry.js.map +1 -0
- package/dist/cjs/rhc-icon-calendar.cjs.entry.js +18 -0
- package/dist/cjs/rhc-icon-calendar.cjs.entry.js.map +1 -0
- package/dist/cjs/rhc-icon-error.cjs.entry.js +18 -0
- package/dist/cjs/rhc-icon-error.cjs.entry.js.map +1 -0
- package/dist/cjs/rhc-icon-info_2.cjs.entry.js +34 -0
- package/dist/cjs/rhc-icon-info_2.cjs.entry.js.map +1 -0
- package/dist/cjs/rhc-icon-success.cjs.entry.js +18 -0
- package/dist/cjs/rhc-icon-success.cjs.entry.js.map +1 -0
- package/dist/cjs/rhc-icon-warning.cjs.entry.js +18 -0
- package/dist/cjs/rhc-icon-warning.cjs.entry.js.map +1 -0
- package/dist/cjs/rhc.cjs.js +25 -0
- package/dist/cjs/rhc.cjs.js.map +1 -0
- package/dist/collection/collection-manifest.json +18 -0
- package/dist/collection/icon-arrow-right/stencil.js +13 -0
- package/dist/collection/icon-arrow-right/stencil.js.map +1 -0
- package/dist/collection/icon-calendar/stencil.js +13 -0
- package/dist/collection/icon-calendar/stencil.js.map +1 -0
- package/dist/collection/icon-error/stencil.js +13 -0
- package/dist/collection/icon-error/stencil.js.map +1 -0
- package/dist/collection/icon-info/stencil.js +13 -0
- package/dist/collection/icon-info/stencil.js.map +1 -0
- package/dist/collection/icon-success/stencil.js +13 -0
- package/dist/collection/icon-success/stencil.js.map +1 -0
- package/dist/collection/icon-warning/stencil.js +13 -0
- package/dist/collection/icon-warning/stencil.js.map +1 -0
- package/dist/collection/icon.svg +0 -0
- package/dist/collection/logo.css +45 -0
- package/dist/collection/logo.stencil.js +72 -0
- package/dist/collection/logo.stencil.js.map +1 -0
- package/dist/components/index.d.ts +45 -0
- package/dist/components/index.js +30 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/rhc-icon-arrow-right.d.ts +11 -0
- package/dist/components/rhc-icon-arrow-right.js +32 -0
- package/dist/components/rhc-icon-arrow-right.js.map +1 -0
- package/dist/components/rhc-icon-calendar.d.ts +11 -0
- package/dist/components/rhc-icon-calendar.js +32 -0
- package/dist/components/rhc-icon-calendar.js.map +1 -0
- package/dist/components/rhc-icon-error.d.ts +11 -0
- package/dist/components/rhc-icon-error.js +32 -0
- package/dist/components/rhc-icon-error.js.map +1 -0
- package/dist/components/rhc-icon-info.d.ts +11 -0
- package/dist/components/rhc-icon-info.js +32 -0
- package/dist/components/rhc-icon-info.js.map +1 -0
- package/dist/components/rhc-icon-success.d.ts +11 -0
- package/dist/components/rhc-icon-success.js +32 -0
- package/dist/components/rhc-icon-success.js.map +1 -0
- package/dist/components/rhc-icon-warning.d.ts +11 -0
- package/dist/components/rhc-icon-warning.js +32 -0
- package/dist/components/rhc-icon-warning.js.map +1 -0
- package/dist/components/rhc-logo.d.ts +11 -0
- package/dist/components/rhc-logo.js +41 -0
- package/dist/components/rhc-logo.js.map +1 -0
- package/dist/esm/index-c2d82fd1.js +1525 -0
- package/dist/esm/index-c2d82fd1.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/rhc-icon-arrow-right.entry.js +14 -0
- package/dist/esm/rhc-icon-arrow-right.entry.js.map +1 -0
- package/dist/esm/rhc-icon-calendar.entry.js +14 -0
- package/dist/esm/rhc-icon-calendar.entry.js.map +1 -0
- package/dist/esm/rhc-icon-error.entry.js +14 -0
- package/dist/esm/rhc-icon-error.entry.js.map +1 -0
- package/dist/esm/rhc-icon-info_2.entry.js +29 -0
- package/dist/esm/rhc-icon-info_2.entry.js.map +1 -0
- package/dist/esm/rhc-icon-success.entry.js +14 -0
- package/dist/esm/rhc-icon-success.entry.js.map +1 -0
- package/dist/esm/rhc-icon-warning.entry.js +14 -0
- package/dist/esm/rhc-icon-warning.entry.js.map +1 -0
- package/dist/esm/rhc.js +20 -0
- package/dist/esm/rhc.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/rhc/index.esm.js +2 -0
- package/dist/rhc/index.esm.js.map +1 -0
- package/dist/rhc/p-1849850a.entry.js +2 -0
- package/dist/rhc/p-1849850a.entry.js.map +1 -0
- package/dist/rhc/p-1ddc5ba6.entry.js +2 -0
- package/dist/rhc/p-1ddc5ba6.entry.js.map +1 -0
- package/dist/rhc/p-1f328841.js +3 -0
- package/dist/rhc/p-1f328841.js.map +1 -0
- package/dist/rhc/p-3c963064.entry.js +2 -0
- package/dist/rhc/p-3c963064.entry.js.map +1 -0
- package/dist/rhc/p-4378bb06.entry.js +2 -0
- package/dist/rhc/p-4378bb06.entry.js.map +1 -0
- package/dist/rhc/p-569d82ec.entry.js +2 -0
- package/dist/rhc/p-569d82ec.entry.js.map +1 -0
- package/dist/rhc/p-bab6df1d.entry.js +2 -0
- package/dist/rhc/p-bab6df1d.entry.js.map +1 -0
- package/dist/rhc/rhc.esm.js +2 -0
- package/dist/rhc/rhc.esm.js.map +1 -0
- package/dist/src/icon-arrow-right/stencil.d.ts +7 -0
- package/dist/src/icon-arrow-right/stencil.js +20 -0
- package/dist/src/icon-arrow-right/stencil.js.map +1 -0
- package/dist/src/icon-calendar/stencil.d.ts +7 -0
- package/dist/src/icon-calendar/stencil.js +20 -0
- package/dist/src/icon-calendar/stencil.js.map +1 -0
- package/dist/src/icon-error/stencil.d.ts +7 -0
- package/dist/src/icon-error/stencil.js +26 -0
- package/dist/src/icon-error/stencil.js.map +1 -0
- package/dist/src/icon-info/stencil.d.ts +7 -0
- package/dist/src/icon-info/stencil.js +24 -0
- package/dist/src/icon-info/stencil.js.map +1 -0
- package/dist/src/icon-success/stencil.d.ts +7 -0
- package/dist/src/icon-success/stencil.js +22 -0
- package/dist/src/icon-success/stencil.js.map +1 -0
- package/dist/src/icon-warning/stencil.d.ts +7 -0
- package/dist/src/icon-warning/stencil.js +24 -0
- package/dist/src/icon-warning/stencil.js.map +1 -0
- package/dist/src/logo.stencil.d.ts +15 -0
- package/dist/src/logo.stencil.js +40 -0
- package/dist/src/logo.stencil.js.map +1 -0
- package/dist/stencil.config.d.ts +2 -0
- package/dist/stencil.config.js +27 -0
- package/dist/stencil.config.js.map +1 -0
- package/dist/types/components.d.ts +119 -0
- package/dist/types/home/runner/work/rijkshuisstijl-community/rijkshuisstijl-community/packages/web-components-stencil/.stencil/stencil.config.d.ts +2 -0
- package/dist/types/icon-arrow-right/stencil.d.ts +7 -0
- package/dist/types/icon-calendar/stencil.d.ts +7 -0
- package/dist/types/icon-error/stencil.d.ts +7 -0
- package/dist/types/icon-info/stencil.d.ts +7 -0
- package/dist/types/icon-success/stencil.d.ts +7 -0
- package/dist/types/icon-warning/stencil.d.ts +7 -0
- package/dist/types/logo.stencil.d.ts +15 -0
- package/dist/types/stencil-public-runtime.d.ts +1652 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +21 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +11 -0
- package/package.json +58 -0
package/loader/cdn.js
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
export * from '../dist/types/components';
|
2
|
+
export interface CustomElementsDefineOptions {
|
3
|
+
exclude?: string[];
|
4
|
+
resourcesUrl?: string;
|
5
|
+
syncQueue?: boolean;
|
6
|
+
jmp?: (c: Function) => any;
|
7
|
+
raf?: (c: FrameRequestCallback) => number;
|
8
|
+
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
9
|
+
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
10
|
+
}
|
11
|
+
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
|
12
|
+
export declare function applyPolyfills(): Promise<void>;
|
13
|
+
|
14
|
+
/**
|
15
|
+
* Used to specify a nonce value that corresponds with an application's CSP.
|
16
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
17
|
+
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
18
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) which
|
19
|
+
* will result in the same behavior.
|
20
|
+
*/
|
21
|
+
export declare function setNonce(nonce: string): void;
|
package/loader/index.js
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
|
2
|
+
(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/polyfills/index.js';
|
4
|
+
export * from '../dist/esm/loader.js';
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{
|
2
|
+
"name": "rhc-loader",
|
3
|
+
"private": true,
|
4
|
+
"typings": "./index.d.ts",
|
5
|
+
"module": "./index.js",
|
6
|
+
"main": "./index.cjs.js",
|
7
|
+
"jsnext:main": "./index.es2017.js",
|
8
|
+
"es2015": "./index.es2017.js",
|
9
|
+
"es2017": "./index.es2017.js",
|
10
|
+
"unpkg": "./cdn.js"
|
11
|
+
}
|
package/package.json
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
{
|
2
|
+
"version": "1.0.0-alpha.1",
|
3
|
+
"author": "Community for NL Design System",
|
4
|
+
"description": "Stencil web components bundle based on the NL Design System architecture",
|
5
|
+
"license": "EUPL-1.2",
|
6
|
+
"name": "@rijkshuisstijl-community/web-components-stencil",
|
7
|
+
"keywords": [
|
8
|
+
"nl-design-system"
|
9
|
+
],
|
10
|
+
"private": false,
|
11
|
+
"publishConfig": {
|
12
|
+
"access": "public",
|
13
|
+
"registry": "https://registry.npmjs.org/"
|
14
|
+
},
|
15
|
+
"main": "dist/index.cjs.js",
|
16
|
+
"module": "dist/custom-elements/index.js",
|
17
|
+
"es2015": "dist/esm/index.mjs",
|
18
|
+
"es2017": "dist/esm/index.mjs",
|
19
|
+
"types": "dist/types/components.d.ts",
|
20
|
+
"collection": "dist/collection/collection-manifest.json",
|
21
|
+
"collection:main": "dist/collection/index.js",
|
22
|
+
"unpkg": "dist/yyyy/yyyy.esm.js",
|
23
|
+
"files": [
|
24
|
+
"dist/",
|
25
|
+
"loader/"
|
26
|
+
],
|
27
|
+
"repository": {
|
28
|
+
"type": "git+ssh",
|
29
|
+
"url": "git@github.com:nl-design-system/rijkshuisstijl-community.git"
|
30
|
+
},
|
31
|
+
"scripts": {
|
32
|
+
"prebuild": "npm run clean",
|
33
|
+
"build": "npm-run-all build:**",
|
34
|
+
"build:stencil": "stencil build",
|
35
|
+
"build:typescript": "tsc",
|
36
|
+
"clean": "rimraf dist/",
|
37
|
+
"start": "stencil build --dev --watch --serve",
|
38
|
+
"watch": "npm-run-all --parallel watch:**",
|
39
|
+
"watch:stencil": "chokidar --follow-symlinks --initial --command 'npm run build:stencil' '../../components/**/*.(js|jsx|ts|tsx)'",
|
40
|
+
"generate": "stencil generate"
|
41
|
+
},
|
42
|
+
"devDependencies": {
|
43
|
+
"@rijkshuisstijl-community/components-css": "1.0.0-alpha.19",
|
44
|
+
"@stencil/react-output-target": "0.5.3",
|
45
|
+
"@stencil/sass": "3.0.5",
|
46
|
+
"@types/jest": "29.5.4",
|
47
|
+
"chokidar-cli": "3.0.0",
|
48
|
+
"node-sass-package-importer": "5.3.3",
|
49
|
+
"npm-run-all": "4.1.5",
|
50
|
+
"rimraf": "5.0.1",
|
51
|
+
"tslib": "2.6.2",
|
52
|
+
"typescript": "5.2.2"
|
53
|
+
},
|
54
|
+
"dependencies": {
|
55
|
+
"@stencil/core": "4.1.0"
|
56
|
+
},
|
57
|
+
"gitHead": "6b64c069b84ac31eae84934367898a1d8b603857"
|
58
|
+
}
|