@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/README.md +11 -0
- package/a11y/index.mjs +58 -0
- package/a11y/src/index.d.ts +2 -0
- package/a11y/src/live-announcer.d.ts +38 -0
- package/calendar/index.mjs +365 -0
- package/calendar/src/index.d.ts +1 -0
- package/calendar/src/mp-calendar.element.d.ts +104 -0
- package/calendar/src/mp-calendar.element.template.d.ts +2 -0
- package/card/index.mjs +454 -0
- package/card/src/card-classes.d.ts +40 -0
- package/card/src/index.d.ts +13 -0
- package/card/src/mp-card-body.element.d.ts +12 -0
- package/card/src/mp-card-footer.element.d.ts +14 -0
- package/card/src/mp-card-group.element.d.ts +9 -0
- package/card/src/mp-card-header.element.d.ts +24 -0
- package/card/src/mp-card-img.element.d.ts +28 -0
- package/card/src/mp-card-link.element.d.ts +24 -0
- package/card/src/mp-card-subtitle.element.d.ts +9 -0
- package/card/src/mp-card-text.element.d.ts +9 -0
- package/card/src/mp-card-title.element.d.ts +13 -0
- package/card/src/mp-card.element.d.ts +33 -0
- package/card/src/mp-card.element.template.d.ts +2 -0
- package/card/src/types/card-header-nav-style.d.ts +1 -0
- package/card/src/types/card-image-position.d.ts +1 -0
- package/code-snippet/index.mjs +218 -0
- package/code-snippet/src/index.d.ts +1 -0
- package/code-snippet/src/mp-code-snippet.element.d.ts +47 -0
- package/custom-elements.json +1774 -0
- package/index.mjs +1 -0
- package/package.json +42 -0
- package/src/index.d.ts +16 -0
- package/src/test-setup.d.ts +0 -0
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
|