@mintplayer/web-components 1.0.0

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/index.mjs ADDED
@@ -0,0 +1 @@
1
+
package/package.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "@mintplayer/web-components",
3
+ "version": "1.0.0",
4
+ "description": "Framework-agnostic Lit web components for the @mintplayer/bootstrap design system. Consumed by @mintplayer/ng-bootstrap, @mintplayer/react-bootstrap, and @mintplayer/vue-bootstrap.",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/MintPlayer/mintplayer-ng-bootstrap",
9
+ "directory": "libs/mintplayer-web-components"
10
+ },
11
+ "author": {
12
+ "name": "Pieterjan De Clippel",
13
+ "url": "https://github.com/MintPlayer",
14
+ "email": "info@mintplayer.com"
15
+ },
16
+ "type": "module",
17
+ "sideEffects": true,
18
+ "customElements": "custom-elements.json",
19
+ "main": "./index.mjs",
20
+ "types": "./src/index.d.ts",
21
+ "exports": {
22
+ ".": {
23
+ "types": "./src/index.d.ts",
24
+ "import": "./index.mjs"
25
+ },
26
+ "./custom-elements.json": "./custom-elements.json",
27
+ "./package.json": "./package.json"
28
+ },
29
+ "peerDependencies": {
30
+ "lit": "^3.3.0",
31
+ "@lit/context": "^1.1.6",
32
+ "highlight.js": "^11.0.0"
33
+ },
34
+ "peerDependenciesMeta": {
35
+ "highlight.js": {
36
+ "optional": true
37
+ }
38
+ },
39
+ "dependencies": {
40
+ "tslib": "^2.3.0"
41
+ }
42
+ }
package/src/index.d.ts ADDED
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @mintplayer/web-components — framework-agnostic Lit web component library.
3
+ *
4
+ * This primary entry intentionally exports nothing. Consumers should import
5
+ * the specific sub-entrypoint they need:
6
+ *
7
+ * import '@mintplayer/web-components/card';
8
+ * import { MpScheduler } from '@mintplayer/web-components/scheduler';
9
+ *
10
+ * Each sub-entrypoint side-effect-registers its element classes via
11
+ * `customElements.define()` and re-exports the class for typed consumers.
12
+ *
13
+ * The full list of sub-entrypoints lives in this package's `exports` field
14
+ * in `package.json` and in `docs/prd/wc-inventory.md` in the source repo.
15
+ */
16
+ export {};
File without changes