@mintplayer/react-bootstrap 19.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 +7 -0
- package/calendar/index.mjs +11 -0
- package/calendar/src/BsCalendar.d.ts +8 -0
- package/calendar/src/index.d.ts +1 -0
- package/card/index.mjs +56 -0
- package/card/src/BsCard.d.ts +8 -0
- package/card/src/BsCardBody.d.ts +8 -0
- package/card/src/BsCardFooter.d.ts +8 -0
- package/card/src/BsCardGroup.d.ts +8 -0
- package/card/src/BsCardHeader.d.ts +8 -0
- package/card/src/BsCardImg.d.ts +8 -0
- package/card/src/BsCardLink.d.ts +8 -0
- package/card/src/BsCardSubtitle.d.ts +8 -0
- package/card/src/BsCardText.d.ts +8 -0
- package/card/src/BsCardTitle.d.ts +8 -0
- package/card/src/index.d.ts +10 -0
- package/code-snippet/index.mjs +11 -0
- package/code-snippet/src/BsCodeSnippet.d.ts +8 -0
- package/code-snippet/src/index.d.ts +1 -0
- package/index.mjs +1 -0
- package/package.json +36 -0
- package/src/index.d.ts +14 -0
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { createComponent as a } from "@lit/react";
|
|
3
|
+
import { MpCalendarElement as r } from "@mintplayer/web-components/calendar";
|
|
4
|
+
const o = a({
|
|
5
|
+
react: e,
|
|
6
|
+
tagName: "mp-calendar",
|
|
7
|
+
elementClass: r
|
|
8
|
+
});
|
|
9
|
+
export {
|
|
10
|
+
o as BsCalendar
|
|
11
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MpCalendarElement } from '@mintplayer/web-components/calendar';
|
|
2
|
+
/**
|
|
3
|
+
* React wrapper for `<mp-calendar>`. Side-effect-registers the WC via
|
|
4
|
+
* the import above. Typed props/events extend off MpCalendarElement;
|
|
5
|
+
* hand-edit this file to add an `events: { onXxx: 'xxx' as EventName<...> }`
|
|
6
|
+
* block if you need typed event listeners.
|
|
7
|
+
*/
|
|
8
|
+
export declare const BsCalendar: import('@lit/react').ReactWebComponent<MpCalendarElement, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BsCalendar } from './BsCalendar';
|
package/card/index.mjs
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { createComponent as a } from "@lit/react";
|
|
3
|
+
import { MpCardElement as t, MpCardBodyElement as r, MpCardFooterElement as m, MpCardGroupElement as s, MpCardHeaderElement as l, MpCardImgElement as d, MpCardLinkElement as n, MpCardSubtitleElement as c, MpCardTextElement as o, MpCardTitleElement as C } from "@mintplayer/web-components/card";
|
|
4
|
+
const i = a({
|
|
5
|
+
react: e,
|
|
6
|
+
tagName: "mp-card",
|
|
7
|
+
elementClass: t
|
|
8
|
+
}), B = a({
|
|
9
|
+
react: e,
|
|
10
|
+
tagName: "mp-card-body",
|
|
11
|
+
elementClass: r
|
|
12
|
+
}), E = a({
|
|
13
|
+
react: e,
|
|
14
|
+
tagName: "mp-card-footer",
|
|
15
|
+
elementClass: m
|
|
16
|
+
}), M = a({
|
|
17
|
+
react: e,
|
|
18
|
+
tagName: "mp-card-group",
|
|
19
|
+
elementClass: s
|
|
20
|
+
}), N = a({
|
|
21
|
+
react: e,
|
|
22
|
+
tagName: "mp-card-header",
|
|
23
|
+
elementClass: l
|
|
24
|
+
}), u = a({
|
|
25
|
+
react: e,
|
|
26
|
+
tagName: "mp-card-img",
|
|
27
|
+
elementClass: d
|
|
28
|
+
}), b = a({
|
|
29
|
+
react: e,
|
|
30
|
+
tagName: "mp-card-link",
|
|
31
|
+
elementClass: n
|
|
32
|
+
}), f = a({
|
|
33
|
+
react: e,
|
|
34
|
+
tagName: "mp-card-subtitle",
|
|
35
|
+
elementClass: c
|
|
36
|
+
}), x = a({
|
|
37
|
+
react: e,
|
|
38
|
+
tagName: "mp-card-text",
|
|
39
|
+
elementClass: o
|
|
40
|
+
}), T = a({
|
|
41
|
+
react: e,
|
|
42
|
+
tagName: "mp-card-title",
|
|
43
|
+
elementClass: C
|
|
44
|
+
});
|
|
45
|
+
export {
|
|
46
|
+
i as BsCard,
|
|
47
|
+
B as BsCardBody,
|
|
48
|
+
E as BsCardFooter,
|
|
49
|
+
M as BsCardGroup,
|
|
50
|
+
N as BsCardHeader,
|
|
51
|
+
u as BsCardImg,
|
|
52
|
+
b as BsCardLink,
|
|
53
|
+
f as BsCardSubtitle,
|
|
54
|
+
x as BsCardText,
|
|
55
|
+
T as BsCardTitle
|
|
56
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MpCardElement } from '@mintplayer/web-components/card';
|
|
2
|
+
/**
|
|
3
|
+
* React wrapper for `<mp-card>`. Side-effect-registers the WC via
|
|
4
|
+
* the import above. Typed props/events extend off MpCardElement;
|
|
5
|
+
* hand-edit this file to add an `events: { onXxx: 'xxx' as EventName<...> }`
|
|
6
|
+
* block if you need typed event listeners.
|
|
7
|
+
*/
|
|
8
|
+
export declare const BsCard: import('@lit/react').ReactWebComponent<MpCardElement, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MpCardBodyElement } from '@mintplayer/web-components/card';
|
|
2
|
+
/**
|
|
3
|
+
* React wrapper for `<mp-card-body>`. Side-effect-registers the WC via
|
|
4
|
+
* the import above. Typed props/events extend off MpCardBodyElement;
|
|
5
|
+
* hand-edit this file to add an `events: { onXxx: 'xxx' as EventName<...> }`
|
|
6
|
+
* block if you need typed event listeners.
|
|
7
|
+
*/
|
|
8
|
+
export declare const BsCardBody: import('@lit/react').ReactWebComponent<MpCardBodyElement, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MpCardFooterElement } from '@mintplayer/web-components/card';
|
|
2
|
+
/**
|
|
3
|
+
* React wrapper for `<mp-card-footer>`. Side-effect-registers the WC via
|
|
4
|
+
* the import above. Typed props/events extend off MpCardFooterElement;
|
|
5
|
+
* hand-edit this file to add an `events: { onXxx: 'xxx' as EventName<...> }`
|
|
6
|
+
* block if you need typed event listeners.
|
|
7
|
+
*/
|
|
8
|
+
export declare const BsCardFooter: import('@lit/react').ReactWebComponent<MpCardFooterElement, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MpCardGroupElement } from '@mintplayer/web-components/card';
|
|
2
|
+
/**
|
|
3
|
+
* React wrapper for `<mp-card-group>`. Side-effect-registers the WC via
|
|
4
|
+
* the import above. Typed props/events extend off MpCardGroupElement;
|
|
5
|
+
* hand-edit this file to add an `events: { onXxx: 'xxx' as EventName<...> }`
|
|
6
|
+
* block if you need typed event listeners.
|
|
7
|
+
*/
|
|
8
|
+
export declare const BsCardGroup: import('@lit/react').ReactWebComponent<MpCardGroupElement, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MpCardHeaderElement } from '@mintplayer/web-components/card';
|
|
2
|
+
/**
|
|
3
|
+
* React wrapper for `<mp-card-header>`. Side-effect-registers the WC via
|
|
4
|
+
* the import above. Typed props/events extend off MpCardHeaderElement;
|
|
5
|
+
* hand-edit this file to add an `events: { onXxx: 'xxx' as EventName<...> }`
|
|
6
|
+
* block if you need typed event listeners.
|
|
7
|
+
*/
|
|
8
|
+
export declare const BsCardHeader: import('@lit/react').ReactWebComponent<MpCardHeaderElement, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MpCardImgElement } from '@mintplayer/web-components/card';
|
|
2
|
+
/**
|
|
3
|
+
* React wrapper for `<mp-card-img>`. Side-effect-registers the WC via
|
|
4
|
+
* the import above. Typed props/events extend off MpCardImgElement;
|
|
5
|
+
* hand-edit this file to add an `events: { onXxx: 'xxx' as EventName<...> }`
|
|
6
|
+
* block if you need typed event listeners.
|
|
7
|
+
*/
|
|
8
|
+
export declare const BsCardImg: import('@lit/react').ReactWebComponent<MpCardImgElement, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MpCardLinkElement } from '@mintplayer/web-components/card';
|
|
2
|
+
/**
|
|
3
|
+
* React wrapper for `<mp-card-link>`. Side-effect-registers the WC via
|
|
4
|
+
* the import above. Typed props/events extend off MpCardLinkElement;
|
|
5
|
+
* hand-edit this file to add an `events: { onXxx: 'xxx' as EventName<...> }`
|
|
6
|
+
* block if you need typed event listeners.
|
|
7
|
+
*/
|
|
8
|
+
export declare const BsCardLink: import('@lit/react').ReactWebComponent<MpCardLinkElement, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MpCardSubtitleElement } from '@mintplayer/web-components/card';
|
|
2
|
+
/**
|
|
3
|
+
* React wrapper for `<mp-card-subtitle>`. Side-effect-registers the WC via
|
|
4
|
+
* the import above. Typed props/events extend off MpCardSubtitleElement;
|
|
5
|
+
* hand-edit this file to add an `events: { onXxx: 'xxx' as EventName<...> }`
|
|
6
|
+
* block if you need typed event listeners.
|
|
7
|
+
*/
|
|
8
|
+
export declare const BsCardSubtitle: import('@lit/react').ReactWebComponent<MpCardSubtitleElement, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MpCardTextElement } from '@mintplayer/web-components/card';
|
|
2
|
+
/**
|
|
3
|
+
* React wrapper for `<mp-card-text>`. Side-effect-registers the WC via
|
|
4
|
+
* the import above. Typed props/events extend off MpCardTextElement;
|
|
5
|
+
* hand-edit this file to add an `events: { onXxx: 'xxx' as EventName<...> }`
|
|
6
|
+
* block if you need typed event listeners.
|
|
7
|
+
*/
|
|
8
|
+
export declare const BsCardText: import('@lit/react').ReactWebComponent<MpCardTextElement, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MpCardTitleElement } from '@mintplayer/web-components/card';
|
|
2
|
+
/**
|
|
3
|
+
* React wrapper for `<mp-card-title>`. Side-effect-registers the WC via
|
|
4
|
+
* the import above. Typed props/events extend off MpCardTitleElement;
|
|
5
|
+
* hand-edit this file to add an `events: { onXxx: 'xxx' as EventName<...> }`
|
|
6
|
+
* block if you need typed event listeners.
|
|
7
|
+
*/
|
|
8
|
+
export declare const BsCardTitle: import('@lit/react').ReactWebComponent<MpCardTitleElement, {}>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { BsCard } from './BsCard';
|
|
2
|
+
export { BsCardBody } from './BsCardBody';
|
|
3
|
+
export { BsCardFooter } from './BsCardFooter';
|
|
4
|
+
export { BsCardGroup } from './BsCardGroup';
|
|
5
|
+
export { BsCardHeader } from './BsCardHeader';
|
|
6
|
+
export { BsCardImg } from './BsCardImg';
|
|
7
|
+
export { BsCardLink } from './BsCardLink';
|
|
8
|
+
export { BsCardSubtitle } from './BsCardSubtitle';
|
|
9
|
+
export { BsCardText } from './BsCardText';
|
|
10
|
+
export { BsCardTitle } from './BsCardTitle';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { createComponent as t } from "@lit/react";
|
|
3
|
+
import { MpCodeSnippet as o } from "@mintplayer/web-components/code-snippet";
|
|
4
|
+
const r = t({
|
|
5
|
+
react: e,
|
|
6
|
+
tagName: "mp-code-snippet",
|
|
7
|
+
elementClass: o
|
|
8
|
+
});
|
|
9
|
+
export {
|
|
10
|
+
r as BsCodeSnippet
|
|
11
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MpCodeSnippet } from '@mintplayer/web-components/code-snippet';
|
|
2
|
+
/**
|
|
3
|
+
* React wrapper for `<mp-code-snippet>`. Side-effect-registers the WC via
|
|
4
|
+
* the import above. Typed props/events extend off MpCodeSnippet;
|
|
5
|
+
* hand-edit this file to add an `events: { onXxx: 'xxx' as EventName<...> }`
|
|
6
|
+
* block if you need typed event listeners.
|
|
7
|
+
*/
|
|
8
|
+
export declare const BsCodeSnippet: import('@lit/react').ReactWebComponent<MpCodeSnippet, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BsCodeSnippet } from './BsCodeSnippet';
|
package/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mintplayer/react-bootstrap",
|
|
3
|
+
"version": "19.0.0",
|
|
4
|
+
"description": "React 19 wrappers around @mintplayer/web-components. Each sub-entry maps one-to-one with a WC sub-entry and exposes typed React components via @lit/react's createComponent.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/MintPlayer/mintplayer-ng-bootstrap",
|
|
9
|
+
"directory": "libs/mintplayer-react-bootstrap"
|
|
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": ["**/src/index.{ts,js,mjs,tsx,jsx}", "**/Bs*.{mjs,js,tsx,jsx}"],
|
|
18
|
+
"main": "./index.mjs",
|
|
19
|
+
"types": "./src/index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./src/index.d.ts",
|
|
23
|
+
"import": "./index.mjs"
|
|
24
|
+
},
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"react": "^19.0.0",
|
|
29
|
+
"react-dom": "^19.0.0",
|
|
30
|
+
"@lit/react": "^1.0.0",
|
|
31
|
+
"@mintplayer/web-components": "^1.0.0"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"tslib": "^2.3.0"
|
|
35
|
+
}
|
|
36
|
+
}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @mintplayer/react-bootstrap — React 19 wrappers around
|
|
3
|
+
* @mintplayer/web-components.
|
|
4
|
+
*
|
|
5
|
+
* Import the specific sub-entry you need:
|
|
6
|
+
*
|
|
7
|
+
* import { BsCard, BsCardBody, BsCardHeader } from '@mintplayer/react-bootstrap/card';
|
|
8
|
+
* import { BsScheduler } from '@mintplayer/react-bootstrap/scheduler';
|
|
9
|
+
*
|
|
10
|
+
* Each wrapper is a typed React component produced by @lit/react's
|
|
11
|
+
* createComponent helper. The underlying WC is side-effect-registered
|
|
12
|
+
* by the import.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|