cmdesigns 0.0.1 → 0.0.2

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.
Files changed (50) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -0
  3. package/index.ts +4 -0
  4. package/package.json +13 -27
  5. package/{dist/collection/components/cm-text/cm-text.css → src/CMText.astro} +6 -0
  6. package/{dist/collection/components/fg-text/fg-text.css → src/FGText.astro} +6 -0
  7. package/dist/cjs/cm-text_2.cjs.entry.js +0 -32
  8. package/dist/cjs/cmdesigns.cjs.js +0 -19
  9. package/dist/cjs/index-77fd923d.js +0 -797
  10. package/dist/cjs/index.cjs.js +0 -2
  11. package/dist/cjs/loader.cjs.js +0 -21
  12. package/dist/cmdesigns/cmdesigns.esm.js +0 -1
  13. package/dist/cmdesigns/index.esm.js +0 -0
  14. package/dist/cmdesigns/p-41d106c8.js +0 -2
  15. package/dist/cmdesigns/p-f6aeaa48.entry.js +0 -1
  16. package/dist/collection/collection-manifest.json +0 -13
  17. package/dist/collection/components/cm-text/cm-text.js +0 -18
  18. package/dist/collection/components/fg-text/fg-text.js +0 -18
  19. package/dist/collection/index.js +0 -1
  20. package/dist/components/cm-text.d.ts +0 -11
  21. package/dist/components/cm-text.js +0 -33
  22. package/dist/components/fg-text.d.ts +0 -11
  23. package/dist/components/fg-text.js +0 -33
  24. package/dist/components/index.d.ts +0 -23
  25. package/dist/components/index.js +0 -3
  26. package/dist/esm/cm-text_2.entry.js +0 -27
  27. package/dist/esm/cmdesigns.js +0 -17
  28. package/dist/esm/index-a877cbd8.js +0 -772
  29. package/dist/esm/index.js +0 -1
  30. package/dist/esm/loader.js +0 -17
  31. package/dist/esm/polyfills/core-js.js +0 -11
  32. package/dist/esm/polyfills/css-shim.js +0 -1
  33. package/dist/esm/polyfills/dom.js +0 -79
  34. package/dist/esm/polyfills/es5-html-element.js +0 -1
  35. package/dist/esm/polyfills/index.js +0 -34
  36. package/dist/esm/polyfills/system.js +0 -6
  37. package/dist/index.cjs.js +0 -1
  38. package/dist/index.js +0 -1
  39. package/dist/types/components/cm-text/cm-text.d.ts +0 -3
  40. package/dist/types/components/fg-text/fg-text.d.ts +0 -3
  41. package/dist/types/components.d.ts +0 -50
  42. package/dist/types/index.d.ts +0 -1
  43. package/dist/types/stencil-public-runtime.d.ts +0 -1581
  44. package/loader/cdn.js +0 -3
  45. package/loader/index.cjs.js +0 -3
  46. package/loader/index.d.ts +0 -12
  47. package/loader/index.es2017.js +0 -3
  48. package/loader/index.js +0 -4
  49. package/loader/package.json +0 -11
  50. package/readme.md +0 -75
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2018
3
+ Copyright (c) 2023 chrissx Media
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # CM Designs
2
+
3
+ An attempt at putting common chrissx Media design elements into a library.
package/index.ts ADDED
@@ -0,0 +1,4 @@
1
+ import CMText from "./src/CMText.astro";
2
+ import FGText from "./src/FGText.astro";
3
+
4
+ export { CMText, FGText };
package/package.json CHANGED
@@ -1,38 +1,24 @@
1
1
  {
2
2
  "name": "cmdesigns",
3
- "version": "0.0.1",
4
- "description": "Stencil Component Starter",
5
- "main": "dist/index.cjs.js",
6
- "module": "dist/index.js",
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/cmdesigns/cmdesigns.esm.js",
3
+ "version": "0.0.2",
4
+ "description": "An attempt at putting common chrissx Media design elements into a library.",
5
+ "type": "module",
13
6
  "repository": {
14
7
  "type": "git",
15
- "url": "https://github.com/ionic-team/stencil-component-starter.git"
8
+ "url": "https://github.com/chrissxMedia/Designs.git"
9
+ },
10
+ "exports": {
11
+ ".": "./index.ts"
16
12
  },
17
13
  "files": [
18
- "dist/",
19
- "loader/"
14
+ "src",
15
+ "index.ts"
20
16
  ],
21
- "scripts": {
22
- "build": "stencil build --docs",
23
- "start": "stencil build --dev --watch --serve",
24
- "test": "stencil test --spec --e2e",
25
- "test.watch": "stencil test --spec --e2e --watchAll",
26
- "generate": "stencil generate"
27
- },
28
- "dependencies": {
29
- "@stencil/core": "^2.13.0"
30
- },
31
17
  "devDependencies": {
32
- "@types/jest": "^27.0.3",
33
- "jest": "^27.4.5",
34
- "jest-cli": "^27.4.5",
35
- "puppeteer": "^10.0.0"
18
+ "astro": "^2.10.14"
19
+ },
20
+ "peerDependencies": {
21
+ "astro": "^2.0.0-beta.0"
36
22
  },
37
23
  "license": "MIT"
38
24
  }
@@ -1,3 +1,8 @@
1
+ <span class="C">
2
+ <span class="c">chrissx</span>&nbsp;<span class="m">Media</span>
3
+ </span>
4
+
5
+ <style>
1
6
  @import url(//fonts.chrissx.de/minecraft);
2
7
 
3
8
  .C {
@@ -11,3 +16,4 @@
11
16
  .m {
12
17
  color: #8020f0;
13
18
  }
19
+ </style>
@@ -1,3 +1,8 @@
1
+ <span class="F">
2
+ <span class="f">Fux</span>&nbsp;<span class="g">Games</span>
3
+ </span>
4
+
5
+ <style>
1
6
  @import url(//fonts.chrissx.de/unifont);
2
7
 
3
8
  .F {
@@ -12,3 +17,4 @@
12
17
  .g {
13
18
  color: #ffffff;
14
19
  }
20
+ </style>
@@ -1,32 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-77fd923d.js');
6
-
7
- const cmTextCss = "@import url(//fonts.chrissx.de/minecraft);.C{font-family:Minecraft, monospace}.c{color:#c02020}.m{color:#8020f0}";
8
-
9
- const CMText = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- }
13
- render() {
14
- return (index.h("span", { class: "C" }, index.h("span", { class: "c" }, "chrissx"), "\u00A0", index.h("span", { class: "m" }, "Media")));
15
- }
16
- };
17
- CMText.style = cmTextCss;
18
-
19
- const fgTextCss = "@import url(//fonts.chrissx.de/unifont);.F{font-family:Unifont, monospace;font-weight:bold}.f{color:#c09040}.g{color:#ffffff}";
20
-
21
- const FGText = class {
22
- constructor(hostRef) {
23
- index.registerInstance(this, hostRef);
24
- }
25
- render() {
26
- return (index.h("span", { class: "F" }, index.h("span", { class: "f" }, "Fux"), "\u00A0", index.h("span", { class: "g" }, "Games")));
27
- }
28
- };
29
- FGText.style = fgTextCss;
30
-
31
- exports.cm_text = CMText;
32
- exports.fg_text = FGText;
@@ -1,19 +0,0 @@
1
- 'use strict';
2
-
3
- const index = require('./index-77fd923d.js');
4
-
5
- /*
6
- Stencil Client Patch Browser v2.20.0 | MIT Licensed | https://stenciljs.com
7
- */
8
- const patchBrowser = () => {
9
- const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('cmdesigns.cjs.js', document.baseURI).href));
10
- const opts = {};
11
- if (importMeta !== '') {
12
- opts.resourcesUrl = new URL('.', importMeta).href;
13
- }
14
- return index.promiseResolve(opts);
15
- };
16
-
17
- patchBrowser().then(options => {
18
- return index.bootstrapLazy([["cm-text_2.cjs",[[1,"cm-text"],[1,"fg-text"]]]], options);
19
- });