@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.
Files changed (149) hide show
  1. package/LICENSE.md +288 -0
  2. package/README.md +25 -0
  3. package/dist/cjs/index-97a16ac9.js +1551 -0
  4. package/dist/cjs/index-97a16ac9.js.map +1 -0
  5. package/dist/cjs/index.cjs.js +4 -0
  6. package/dist/cjs/index.cjs.js.map +1 -0
  7. package/dist/cjs/loader.cjs.js +15 -0
  8. package/dist/cjs/loader.cjs.js.map +1 -0
  9. package/dist/cjs/rhc-icon-arrow-right.cjs.entry.js +18 -0
  10. package/dist/cjs/rhc-icon-arrow-right.cjs.entry.js.map +1 -0
  11. package/dist/cjs/rhc-icon-calendar.cjs.entry.js +18 -0
  12. package/dist/cjs/rhc-icon-calendar.cjs.entry.js.map +1 -0
  13. package/dist/cjs/rhc-icon-error.cjs.entry.js +18 -0
  14. package/dist/cjs/rhc-icon-error.cjs.entry.js.map +1 -0
  15. package/dist/cjs/rhc-icon-info_2.cjs.entry.js +34 -0
  16. package/dist/cjs/rhc-icon-info_2.cjs.entry.js.map +1 -0
  17. package/dist/cjs/rhc-icon-success.cjs.entry.js +18 -0
  18. package/dist/cjs/rhc-icon-success.cjs.entry.js.map +1 -0
  19. package/dist/cjs/rhc-icon-warning.cjs.entry.js +18 -0
  20. package/dist/cjs/rhc-icon-warning.cjs.entry.js.map +1 -0
  21. package/dist/cjs/rhc.cjs.js +25 -0
  22. package/dist/cjs/rhc.cjs.js.map +1 -0
  23. package/dist/collection/collection-manifest.json +18 -0
  24. package/dist/collection/icon-arrow-right/stencil.js +13 -0
  25. package/dist/collection/icon-arrow-right/stencil.js.map +1 -0
  26. package/dist/collection/icon-calendar/stencil.js +13 -0
  27. package/dist/collection/icon-calendar/stencil.js.map +1 -0
  28. package/dist/collection/icon-error/stencil.js +13 -0
  29. package/dist/collection/icon-error/stencil.js.map +1 -0
  30. package/dist/collection/icon-info/stencil.js +13 -0
  31. package/dist/collection/icon-info/stencil.js.map +1 -0
  32. package/dist/collection/icon-success/stencil.js +13 -0
  33. package/dist/collection/icon-success/stencil.js.map +1 -0
  34. package/dist/collection/icon-warning/stencil.js +13 -0
  35. package/dist/collection/icon-warning/stencil.js.map +1 -0
  36. package/dist/collection/icon.svg +0 -0
  37. package/dist/collection/logo.css +45 -0
  38. package/dist/collection/logo.stencil.js +72 -0
  39. package/dist/collection/logo.stencil.js.map +1 -0
  40. package/dist/components/index.d.ts +45 -0
  41. package/dist/components/index.js +30 -0
  42. package/dist/components/index.js.map +1 -0
  43. package/dist/components/rhc-icon-arrow-right.d.ts +11 -0
  44. package/dist/components/rhc-icon-arrow-right.js +32 -0
  45. package/dist/components/rhc-icon-arrow-right.js.map +1 -0
  46. package/dist/components/rhc-icon-calendar.d.ts +11 -0
  47. package/dist/components/rhc-icon-calendar.js +32 -0
  48. package/dist/components/rhc-icon-calendar.js.map +1 -0
  49. package/dist/components/rhc-icon-error.d.ts +11 -0
  50. package/dist/components/rhc-icon-error.js +32 -0
  51. package/dist/components/rhc-icon-error.js.map +1 -0
  52. package/dist/components/rhc-icon-info.d.ts +11 -0
  53. package/dist/components/rhc-icon-info.js +32 -0
  54. package/dist/components/rhc-icon-info.js.map +1 -0
  55. package/dist/components/rhc-icon-success.d.ts +11 -0
  56. package/dist/components/rhc-icon-success.js +32 -0
  57. package/dist/components/rhc-icon-success.js.map +1 -0
  58. package/dist/components/rhc-icon-warning.d.ts +11 -0
  59. package/dist/components/rhc-icon-warning.js +32 -0
  60. package/dist/components/rhc-icon-warning.js.map +1 -0
  61. package/dist/components/rhc-logo.d.ts +11 -0
  62. package/dist/components/rhc-logo.js +41 -0
  63. package/dist/components/rhc-logo.js.map +1 -0
  64. package/dist/esm/index-c2d82fd1.js +1525 -0
  65. package/dist/esm/index-c2d82fd1.js.map +1 -0
  66. package/dist/esm/index.js +3 -0
  67. package/dist/esm/index.js.map +1 -0
  68. package/dist/esm/loader.js +11 -0
  69. package/dist/esm/loader.js.map +1 -0
  70. package/dist/esm/polyfills/core-js.js +11 -0
  71. package/dist/esm/polyfills/dom.js +79 -0
  72. package/dist/esm/polyfills/es5-html-element.js +1 -0
  73. package/dist/esm/polyfills/index.js +34 -0
  74. package/dist/esm/polyfills/system.js +6 -0
  75. package/dist/esm/rhc-icon-arrow-right.entry.js +14 -0
  76. package/dist/esm/rhc-icon-arrow-right.entry.js.map +1 -0
  77. package/dist/esm/rhc-icon-calendar.entry.js +14 -0
  78. package/dist/esm/rhc-icon-calendar.entry.js.map +1 -0
  79. package/dist/esm/rhc-icon-error.entry.js +14 -0
  80. package/dist/esm/rhc-icon-error.entry.js.map +1 -0
  81. package/dist/esm/rhc-icon-info_2.entry.js +29 -0
  82. package/dist/esm/rhc-icon-info_2.entry.js.map +1 -0
  83. package/dist/esm/rhc-icon-success.entry.js +14 -0
  84. package/dist/esm/rhc-icon-success.entry.js.map +1 -0
  85. package/dist/esm/rhc-icon-warning.entry.js +14 -0
  86. package/dist/esm/rhc-icon-warning.entry.js.map +1 -0
  87. package/dist/esm/rhc.js +20 -0
  88. package/dist/esm/rhc.js.map +1 -0
  89. package/dist/index.cjs.js +1 -0
  90. package/dist/index.js +1 -0
  91. package/dist/rhc/index.esm.js +2 -0
  92. package/dist/rhc/index.esm.js.map +1 -0
  93. package/dist/rhc/p-1849850a.entry.js +2 -0
  94. package/dist/rhc/p-1849850a.entry.js.map +1 -0
  95. package/dist/rhc/p-1ddc5ba6.entry.js +2 -0
  96. package/dist/rhc/p-1ddc5ba6.entry.js.map +1 -0
  97. package/dist/rhc/p-1f328841.js +3 -0
  98. package/dist/rhc/p-1f328841.js.map +1 -0
  99. package/dist/rhc/p-3c963064.entry.js +2 -0
  100. package/dist/rhc/p-3c963064.entry.js.map +1 -0
  101. package/dist/rhc/p-4378bb06.entry.js +2 -0
  102. package/dist/rhc/p-4378bb06.entry.js.map +1 -0
  103. package/dist/rhc/p-569d82ec.entry.js +2 -0
  104. package/dist/rhc/p-569d82ec.entry.js.map +1 -0
  105. package/dist/rhc/p-bab6df1d.entry.js +2 -0
  106. package/dist/rhc/p-bab6df1d.entry.js.map +1 -0
  107. package/dist/rhc/rhc.esm.js +2 -0
  108. package/dist/rhc/rhc.esm.js.map +1 -0
  109. package/dist/src/icon-arrow-right/stencil.d.ts +7 -0
  110. package/dist/src/icon-arrow-right/stencil.js +20 -0
  111. package/dist/src/icon-arrow-right/stencil.js.map +1 -0
  112. package/dist/src/icon-calendar/stencil.d.ts +7 -0
  113. package/dist/src/icon-calendar/stencil.js +20 -0
  114. package/dist/src/icon-calendar/stencil.js.map +1 -0
  115. package/dist/src/icon-error/stencil.d.ts +7 -0
  116. package/dist/src/icon-error/stencil.js +26 -0
  117. package/dist/src/icon-error/stencil.js.map +1 -0
  118. package/dist/src/icon-info/stencil.d.ts +7 -0
  119. package/dist/src/icon-info/stencil.js +24 -0
  120. package/dist/src/icon-info/stencil.js.map +1 -0
  121. package/dist/src/icon-success/stencil.d.ts +7 -0
  122. package/dist/src/icon-success/stencil.js +22 -0
  123. package/dist/src/icon-success/stencil.js.map +1 -0
  124. package/dist/src/icon-warning/stencil.d.ts +7 -0
  125. package/dist/src/icon-warning/stencil.js +24 -0
  126. package/dist/src/icon-warning/stencil.js.map +1 -0
  127. package/dist/src/logo.stencil.d.ts +15 -0
  128. package/dist/src/logo.stencil.js +40 -0
  129. package/dist/src/logo.stencil.js.map +1 -0
  130. package/dist/stencil.config.d.ts +2 -0
  131. package/dist/stencil.config.js +27 -0
  132. package/dist/stencil.config.js.map +1 -0
  133. package/dist/types/components.d.ts +119 -0
  134. package/dist/types/home/runner/work/rijkshuisstijl-community/rijkshuisstijl-community/packages/web-components-stencil/.stencil/stencil.config.d.ts +2 -0
  135. package/dist/types/icon-arrow-right/stencil.d.ts +7 -0
  136. package/dist/types/icon-calendar/stencil.d.ts +7 -0
  137. package/dist/types/icon-error/stencil.d.ts +7 -0
  138. package/dist/types/icon-info/stencil.d.ts +7 -0
  139. package/dist/types/icon-success/stencil.d.ts +7 -0
  140. package/dist/types/icon-warning/stencil.d.ts +7 -0
  141. package/dist/types/logo.stencil.d.ts +15 -0
  142. package/dist/types/stencil-public-runtime.d.ts +1652 -0
  143. package/loader/cdn.js +3 -0
  144. package/loader/index.cjs.js +3 -0
  145. package/loader/index.d.ts +21 -0
  146. package/loader/index.es2017.js +3 -0
  147. package/loader/index.js +4 -0
  148. package/loader/package.json +11 -0
  149. package/package.json +58 -0
package/loader/cdn.js ADDED
@@ -0,0 +1,3 @@
1
+
2
+ module.exports = require('../dist/cjs/loader.cjs.js');
3
+ module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -0,0 +1,3 @@
1
+
2
+ module.exports = require('../dist/cjs/loader.cjs.js');
3
+ module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -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;
@@ -0,0 +1,3 @@
1
+
2
+ export * from '../dist/esm/polyfills/index.js';
3
+ export * from '../dist/esm/loader.js';
@@ -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
+ }