@mintplayer/react-bootstrap 19.23.0 → 19.24.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/accordion/index.mjs +38 -58
- package/calendar/index.mjs +9 -9
- package/card/index.mjs +102 -67
- package/card/src/BsCardBody.d.ts +2 -2
- package/card/src/BsCardFooter.d.ts +2 -2
- package/card/src/BsCardGroup.d.ts +4 -3
- package/card/src/BsCardHeader.d.ts +2 -2
- package/card/src/BsCardImg.d.ts +1 -1
- package/card/src/BsCardLink.d.ts +2 -2
- package/card/src/BsCardSubtitle.d.ts +2 -2
- package/card/src/BsCardText.d.ts +2 -2
- package/card/src/BsCardTitle.d.ts +2 -2
- package/carousel/index.mjs +27 -30
- package/charts/hierarchy/index.mjs +16 -16
- package/charts/sparkline/index.mjs +9 -9
- package/charts/trend/index.mjs +12 -12
- package/checkbox/index.mjs +10 -12
- package/code-snippet/index.mjs +12 -12
- package/datatable/index.mjs +35 -34
- package/datepicker/index.mjs +13 -13
- package/datetime-picker/index.mjs +13 -13
- package/dock/index.mjs +10 -12
- package/dropdown-menu/index.mjs +53 -46
- package/file-manager/index.mjs +17 -17
- package/index.mjs +0 -1
- package/input-group/index.mjs +11 -11
- package/multi-range/index.mjs +12 -12
- package/navbar/index.mjs +37 -48
- package/otp-input/index.mjs +12 -12
- package/package.json +2 -2
- package/pagination/index.mjs +11 -13
- package/phone-input/index.mjs +13 -13
- package/query-builder/index.mjs +18 -18
- package/radio/index.mjs +10 -12
- package/radio-group/index.mjs +11 -13
- package/react-bootstrap.css +2 -1
- package/ribbon/index.mjs +90 -129
- package/scheduler/index.mjs +21 -27
- package/select/index.mjs +9 -11
- package/shell/index.mjs +18 -23
- package/signature-pad/index.mjs +9 -11
- package/splitter/index.mjs +13 -13
- package/tab-control/index.mjs +15 -18
- package/theming/index.mjs +39 -46
- package/tile-manager/index.mjs +13 -13
- package/timeline/index.mjs +82 -97
- package/timepicker/index.mjs +14 -19
- package/toggle-button/index.mjs +11 -13
- package/tree-select/index.mjs +17 -19
- package/treeview/index.mjs +14 -14
package/accordion/index.mjs
CHANGED
|
@@ -1,61 +1,41 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
elementClass: f
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { createComponent as t } from "@lit/react";
|
|
3
|
+
import { MpAccordion as n, MpAccordionTab as r } from "@mintplayer/web-components/accordion";
|
|
4
|
+
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
5
|
+
//#region libs/mintplayer-react-bootstrap/accordion/src/BsAccordion.tsx
|
|
6
|
+
var s = t({
|
|
7
|
+
react: e,
|
|
8
|
+
tagName: "mp-accordion",
|
|
9
|
+
elementClass: n,
|
|
10
|
+
events: { onTabToggle: "mp-accordion-tab-toggle" }
|
|
11
|
+
}), c = t({
|
|
12
|
+
react: e,
|
|
13
|
+
tagName: "mp-accordion-tab",
|
|
14
|
+
elementClass: r
|
|
16
15
|
});
|
|
17
|
-
function
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
{
|
|
31
|
-
"accordion-tab": "",
|
|
32
|
-
slot: `c${e}`,
|
|
33
|
-
...n ? { "is-active": "" } : {},
|
|
34
|
-
...r ? { disabled: "" } : {},
|
|
35
|
-
...a,
|
|
36
|
-
children: c
|
|
37
|
-
}
|
|
38
|
-
)
|
|
39
|
-
] });
|
|
16
|
+
function l({ header: e, isActive: t, disabled: n, index: r = 0, children: s, ...l }) {
|
|
17
|
+
return /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a("span", {
|
|
18
|
+
"accordion-header": "",
|
|
19
|
+
slot: `h${r}`,
|
|
20
|
+
children: e
|
|
21
|
+
}), /* @__PURE__ */ a(c, {
|
|
22
|
+
"accordion-tab": "",
|
|
23
|
+
slot: `c${r}`,
|
|
24
|
+
...t ? { "is-active": "" } : {},
|
|
25
|
+
...n ? { disabled: "" } : {},
|
|
26
|
+
...l,
|
|
27
|
+
children: s
|
|
28
|
+
})] });
|
|
40
29
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
ref: a,
|
|
51
|
-
...n ? { multi: !0 } : {},
|
|
52
|
-
...r ? { "highlight-active-tab": !0 } : {},
|
|
53
|
-
...c,
|
|
54
|
-
children: p
|
|
55
|
-
}
|
|
56
|
-
);
|
|
30
|
+
var u = e.forwardRef(function({ multi: t, highlightActiveTab: n, children: r, ...i }, o) {
|
|
31
|
+
let c = 0, u = e.Children.map(r, (t) => e.isValidElement(t) && t.type === l ? e.cloneElement(t, { index: c++ }) : t);
|
|
32
|
+
return /* @__PURE__ */ a(s, {
|
|
33
|
+
ref: o,
|
|
34
|
+
...t ? { multi: !0 } : {},
|
|
35
|
+
...n ? { "highlight-active-tab": !0 } : {},
|
|
36
|
+
...i,
|
|
37
|
+
children: u
|
|
38
|
+
});
|
|
57
39
|
});
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
h as BsAccordionItem
|
|
61
|
-
};
|
|
40
|
+
//#endregion
|
|
41
|
+
export { u as BsAccordion, l as BsAccordionItem };
|
package/calendar/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import { createComponent as
|
|
3
|
-
import { MpCalendarElement as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { createComponent as t } from "@lit/react";
|
|
3
|
+
import { MpCalendarElement as n } from "@mintplayer/web-components/calendar";
|
|
4
|
+
//#region libs/mintplayer-react-bootstrap/calendar/src/BsCalendar.tsx
|
|
5
|
+
var r = t({
|
|
6
|
+
react: e,
|
|
7
|
+
tagName: "mp-calendar",
|
|
8
|
+
elementClass: n
|
|
8
9
|
});
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { r as BsCalendar };
|
package/card/index.mjs
CHANGED
|
@@ -1,67 +1,102 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { createComponent as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
);
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
);
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
);
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { forwardRef as t, useEffect as n, useRef as r } from "react";
|
|
3
|
+
import { createComponent as i } from "@lit/react";
|
|
4
|
+
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
5
|
+
import { MpCardElement as c, applyHeaderNavStyle as l } from "@mintplayer/web-components/card";
|
|
6
|
+
//#region libs/mintplayer-react-bootstrap/card/src/BsCard.tsx
|
|
7
|
+
var u = i({
|
|
8
|
+
react: e,
|
|
9
|
+
tagName: "mp-card",
|
|
10
|
+
elementClass: c
|
|
11
|
+
}), d = (...e) => e.filter(Boolean).join(" "), f = t(({ className: e, ...t }, n) => /* @__PURE__ */ o("div", {
|
|
12
|
+
ref: n,
|
|
13
|
+
className: d("card-body", e),
|
|
14
|
+
...t
|
|
15
|
+
}));
|
|
16
|
+
f.displayName = "BsCardBody";
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region libs/mintplayer-react-bootstrap/card/src/BsCardFooter.tsx
|
|
19
|
+
var p = (...e) => e.filter(Boolean).join(" "), m = t(({ className: e, color: t, ...n }, r) => /* @__PURE__ */ o("div", {
|
|
20
|
+
ref: r,
|
|
21
|
+
className: p("card-footer", t && `text-bg-${t}`, e),
|
|
22
|
+
...n
|
|
23
|
+
}));
|
|
24
|
+
m.displayName = "BsCardFooter";
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region libs/mintplayer-react-bootstrap/card/src/BsCardGroup.tsx
|
|
27
|
+
var h = (...e) => e.filter(Boolean).join(" "), g = t(({ className: e, ...t }, n) => /* @__PURE__ */ o("div", {
|
|
28
|
+
ref: n,
|
|
29
|
+
className: h("card-group", e),
|
|
30
|
+
...t
|
|
31
|
+
}));
|
|
32
|
+
g.displayName = "BsCardGroup";
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region libs/mintplayer-react-bootstrap/card/src/BsCardHeader.tsx
|
|
35
|
+
var _ = (...e) => e.filter(Boolean).join(" "), v = t(({ className: e, color: t, navStyle: i, children: a, ...s }, c) => {
|
|
36
|
+
let u = r(null);
|
|
37
|
+
return n(() => {
|
|
38
|
+
u.current && l(u.current, i ?? null);
|
|
39
|
+
}, [i, a]), /* @__PURE__ */ o("div", {
|
|
40
|
+
ref: (e) => {
|
|
41
|
+
u.current = e, typeof c == "function" ? c(e) : c && (c.current = e);
|
|
42
|
+
},
|
|
43
|
+
className: _("card-header", t && `text-bg-${t}`, e),
|
|
44
|
+
...s,
|
|
45
|
+
children: a
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
v.displayName = "BsCardHeader";
|
|
49
|
+
//#endregion
|
|
50
|
+
//#region libs/mintplayer-react-bootstrap/card/src/BsCardImg.tsx
|
|
51
|
+
var y = (...e) => e.filter(Boolean).join(" "), b = t(({ className: e, position: t = "top", src: n, alt: r, children: i, ...c }, l) => t === "overlay" ? /* @__PURE__ */ s(a, { children: [/* @__PURE__ */ o("img", {
|
|
52
|
+
ref: l,
|
|
53
|
+
className: y("card-img", e),
|
|
54
|
+
src: n,
|
|
55
|
+
alt: r ?? "",
|
|
56
|
+
...c
|
|
57
|
+
}), /* @__PURE__ */ o("div", {
|
|
58
|
+
className: "card-img-overlay",
|
|
59
|
+
children: i
|
|
60
|
+
})] }) : /* @__PURE__ */ o("img", {
|
|
61
|
+
ref: l,
|
|
62
|
+
className: y(t === "bottom" ? "card-img-bottom" : "card-img-top", e),
|
|
63
|
+
src: n,
|
|
64
|
+
alt: r ?? "",
|
|
65
|
+
...c
|
|
66
|
+
}));
|
|
67
|
+
b.displayName = "BsCardImg";
|
|
68
|
+
//#endregion
|
|
69
|
+
//#region libs/mintplayer-react-bootstrap/card/src/BsCardLink.tsx
|
|
70
|
+
var x = (...e) => e.filter(Boolean).join(" "), S = t(({ className: e, href: t, ...n }, r) => /* @__PURE__ */ o("a", {
|
|
71
|
+
ref: r,
|
|
72
|
+
className: x("card-link", e),
|
|
73
|
+
href: t,
|
|
74
|
+
...n
|
|
75
|
+
}));
|
|
76
|
+
S.displayName = "BsCardLink";
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region libs/mintplayer-react-bootstrap/card/src/BsCardSubtitle.tsx
|
|
79
|
+
var C = (...e) => e.filter(Boolean).join(" "), w = t(({ className: e, ...t }, n) => /* @__PURE__ */ o("div", {
|
|
80
|
+
ref: n,
|
|
81
|
+
className: C("card-subtitle", e),
|
|
82
|
+
...t
|
|
83
|
+
}));
|
|
84
|
+
w.displayName = "BsCardSubtitle";
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region libs/mintplayer-react-bootstrap/card/src/BsCardText.tsx
|
|
87
|
+
var T = (...e) => e.filter(Boolean).join(" "), E = t(({ className: e, ...t }, n) => /* @__PURE__ */ o("div", {
|
|
88
|
+
ref: n,
|
|
89
|
+
className: T("card-text", e),
|
|
90
|
+
...t
|
|
91
|
+
}));
|
|
92
|
+
E.displayName = "BsCardText";
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region libs/mintplayer-react-bootstrap/card/src/BsCardTitle.tsx
|
|
95
|
+
var D = (...e) => e.filter(Boolean).join(" "), O = t(({ className: e, ...t }, n) => /* @__PURE__ */ o("div", {
|
|
96
|
+
ref: n,
|
|
97
|
+
className: D("card-title", e),
|
|
98
|
+
...t
|
|
99
|
+
}));
|
|
100
|
+
O.displayName = "BsCardTitle";
|
|
101
|
+
//#endregion
|
|
102
|
+
export { u as BsCard, f as BsCardBody, m as BsCardFooter, g as BsCardGroup, v as BsCardHeader, b as BsCardImg, S as BsCardLink, w as BsCardSubtitle, E as BsCardText, O as BsCardTitle };
|
package/card/src/BsCardBody.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* Plain React `card-body` element. Renders a `div.card-body` that gets
|
|
4
|
-
* slotted into `<mp-card>` and styled by mp-card's
|
|
5
|
-
*
|
|
4
|
+
* slotted into `<mp-card>` and styled by mp-card's card-anchored
|
|
5
|
+
* document sheet. Merges an incoming `className` and spreads remaining props.
|
|
6
6
|
*/
|
|
7
7
|
export declare const BsCardBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
8
8
|
children?: React.ReactNode | undefined;
|
|
@@ -6,8 +6,8 @@ interface BsCardFooterProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Plain React `card-footer` element. Renders a `div.card-footer` that gets
|
|
9
|
-
* slotted into `<mp-card>` and styled by mp-card's
|
|
10
|
-
*
|
|
9
|
+
* slotted into `<mp-card>` and styled by mp-card's card-anchored
|
|
10
|
+
* document sheet. Merges an incoming `className` and spreads remaining props.
|
|
11
11
|
*/
|
|
12
12
|
export declare const BsCardFooter: React.ForwardRefExoticComponent<BsCardFooterProps & {
|
|
13
13
|
children?: React.ReactNode | undefined;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
/**
|
|
3
|
-
* Plain React `card-group` element. Renders a `div.card-group` that
|
|
4
|
-
*
|
|
5
|
-
* card
|
|
3
|
+
* Plain React `card-group` element. Renders a `div.card-group` that wraps
|
|
4
|
+
* `<BsCard>`s; where Bootstrap's card partial makes it a flex row, the card
|
|
5
|
+
* sheet's `.card-group > mp-card` rule sizes the cards. Merges an incoming
|
|
6
|
+
* `className` and spreads remaining props.
|
|
6
7
|
*/
|
|
7
8
|
export declare const BsCardGroup: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
8
9
|
children?: React.ReactNode | undefined;
|
|
@@ -9,8 +9,8 @@ interface BsCardHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* Plain React `card-header` element. Renders a `div.card-header` that gets
|
|
12
|
-
* slotted into `<mp-card>` and styled by mp-card's
|
|
13
|
-
*
|
|
12
|
+
* slotted into `<mp-card>` and styled by mp-card's card-anchored
|
|
13
|
+
* document sheet. When `navStyle` is set, the kept `applyHeaderNavStyle` helper
|
|
14
14
|
* promotes the first slotted nav to the matching Bootstrap class.
|
|
15
15
|
* Merges an incoming `className` and spreads remaining props.
|
|
16
16
|
*/
|
package/card/src/BsCardImg.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ interface BsCardImgProps extends ImgHTMLAttributes<HTMLImageElement> {
|
|
|
11
11
|
* Plain React `card-img` element. Renders a `card-img-top` / `card-img-bottom`
|
|
12
12
|
* image, or — for `overlay` — a `card-img` paired with a `card-img-overlay`
|
|
13
13
|
* div that holds `children`. The result gets slotted into `<mp-card>` and
|
|
14
|
-
* styled by mp-card's shadow +
|
|
14
|
+
* styled by mp-card's shadow + its card-anchored document sheet. Merges an incoming
|
|
15
15
|
* `className` and spreads remaining props onto the `<img>`.
|
|
16
16
|
*/
|
|
17
17
|
export declare const BsCardImg: React.ForwardRefExoticComponent<BsCardImgProps & {
|
package/card/src/BsCardLink.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ interface BsCardLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Plain React `card-link` element. Renders an `a.card-link` that gets
|
|
9
|
-
* slotted into `<mp-card>` and styled by mp-card's
|
|
10
|
-
*
|
|
9
|
+
* slotted into `<mp-card>` and styled by mp-card's card-anchored
|
|
10
|
+
* document sheet. Merges an incoming `className` and spreads remaining props.
|
|
11
11
|
*/
|
|
12
12
|
export declare const BsCardLink: React.ForwardRefExoticComponent<BsCardLinkProps & {
|
|
13
13
|
children?: React.ReactNode | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* Plain React `card-subtitle` element. Renders a `div.card-subtitle` that
|
|
4
|
-
* gets slotted into `<mp-card>` and styled by mp-card's
|
|
5
|
-
*
|
|
4
|
+
* gets slotted into `<mp-card>` and styled by mp-card's card-anchored
|
|
5
|
+
* document sheet. Merges an incoming `className` and spreads remaining props.
|
|
6
6
|
*/
|
|
7
7
|
export declare const BsCardSubtitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
8
8
|
children?: React.ReactNode | undefined;
|
package/card/src/BsCardText.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* Plain React `card-text` element. Renders a `div.card-text` that gets
|
|
4
|
-
* slotted into `<mp-card>` and styled by mp-card's
|
|
5
|
-
*
|
|
4
|
+
* slotted into `<mp-card>` and styled by mp-card's card-anchored
|
|
5
|
+
* document sheet. Merges an incoming `className` and spreads remaining props.
|
|
6
6
|
*/
|
|
7
7
|
export declare const BsCardText: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
8
8
|
children?: React.ReactNode | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* Plain React `card-title` element. Renders a `div.card-title` that gets
|
|
4
|
-
* slotted into `<mp-card>` and styled by mp-card's
|
|
5
|
-
*
|
|
4
|
+
* slotted into `<mp-card>` and styled by mp-card's card-anchored
|
|
5
|
+
* document sheet. Merges an incoming `className` and spreads remaining props.
|
|
6
6
|
*/
|
|
7
7
|
export declare const BsCardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
8
8
|
children?: React.ReactNode | undefined;
|
package/carousel/index.mjs
CHANGED
|
@@ -1,31 +1,28 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { MpCarousel as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
);
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { createComponent as t } from "@lit/react";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
import { MpCarousel as r } from "@mintplayer/web-components/carousel";
|
|
5
|
+
//#region libs/mintplayer-react-bootstrap/carousel/src/BsCarousel.tsx
|
|
6
|
+
var i = t({
|
|
7
|
+
react: e,
|
|
8
|
+
tagName: "mp-carousel",
|
|
9
|
+
elementClass: r,
|
|
10
|
+
events: {
|
|
11
|
+
onSlideChange: "slide-change",
|
|
12
|
+
onPausedChange: "paused-change",
|
|
13
|
+
onAnimationStart: "animation-start",
|
|
14
|
+
onAnimationEnd: "animation-end"
|
|
15
|
+
}
|
|
16
|
+
}), a = e.forwardRef(function({ indicators: e, interval: t, wrap: r, keyboardEvents: a, paused: o, ...s }, c) {
|
|
17
|
+
return /* @__PURE__ */ n(i, {
|
|
18
|
+
ref: c,
|
|
19
|
+
...e ? { indicators: !0 } : {},
|
|
20
|
+
...t && t > 0 ? { interval: t } : {},
|
|
21
|
+
...r === !1 ? { wrap: "false" } : {},
|
|
22
|
+
...a === !1 ? { "keyboard-events": "false" } : {},
|
|
23
|
+
...o ? { paused: !0 } : {},
|
|
24
|
+
...s
|
|
25
|
+
});
|
|
28
26
|
});
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
27
|
+
//#endregion
|
|
28
|
+
export { a as BsCarousel };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { createComponent as
|
|
3
|
-
import { MpHierarchyChart as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { createComponent as t } from "@lit/react";
|
|
3
|
+
import { MpHierarchyChart as n } from "@mintplayer/web-components/charts/hierarchy";
|
|
4
|
+
//#region libs/mintplayer-react-bootstrap/charts/hierarchy/src/BsHierarchyChart.tsx
|
|
5
|
+
var r = t({
|
|
6
|
+
react: e,
|
|
7
|
+
tagName: "mp-hierarchy-chart",
|
|
8
|
+
elementClass: n,
|
|
9
|
+
events: {
|
|
10
|
+
onHierarchyZoom: "hierarchy-zoom",
|
|
11
|
+
onHierarchyNodeSelect: "hierarchy-node-select",
|
|
12
|
+
onHierarchyNodeHover: "hierarchy-node-hover",
|
|
13
|
+
onHierarchyNodeLoadError: "hierarchy-node-load-error"
|
|
14
|
+
}
|
|
14
15
|
});
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { r as BsHierarchyChart };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import { createComponent as
|
|
3
|
-
import { MpSparkline as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { createComponent as t } from "@lit/react";
|
|
3
|
+
import { MpSparkline as n } from "@mintplayer/web-components/charts/sparkline";
|
|
4
|
+
//#region libs/mintplayer-react-bootstrap/charts/sparkline/src/BsSparkline.tsx
|
|
5
|
+
var r = t({
|
|
6
|
+
react: e,
|
|
7
|
+
tagName: "mp-sparkline",
|
|
8
|
+
elementClass: n
|
|
8
9
|
});
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { r as BsSparkline };
|
package/charts/trend/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import { createComponent as t } from "@lit/react";
|
|
3
|
-
import { MpTrendChart as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
import { MpTrendChart as n } from "@mintplayer/web-components/charts/trend";
|
|
4
|
+
//#region libs/mintplayer-react-bootstrap/charts/trend/src/BsTrendChart.tsx
|
|
5
|
+
var r = t({
|
|
6
|
+
react: e,
|
|
7
|
+
tagName: "mp-trend-chart",
|
|
8
|
+
elementClass: n,
|
|
9
|
+
events: {
|
|
10
|
+
onTrendPointHover: "trend-point-hover",
|
|
11
|
+
onTrendPointSelect: "trend-point-select"
|
|
12
|
+
}
|
|
12
13
|
});
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { r as BsTrendChart };
|
package/checkbox/index.mjs
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import { createComponent as
|
|
3
|
-
import { MpCheckbox as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
2
|
+
import { createComponent as t } from "@lit/react";
|
|
3
|
+
import { MpCheckbox as n } from "@mintplayer/web-components/checkbox";
|
|
4
|
+
//#region libs/mintplayer-react-bootstrap/checkbox/src/BsCheckbox.tsx
|
|
5
|
+
var r = t({
|
|
6
|
+
react: e,
|
|
7
|
+
tagName: "mp-checkbox",
|
|
8
|
+
elementClass: n,
|
|
9
|
+
events: { onChange: "change" }
|
|
11
10
|
});
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { r as BsCheckbox };
|
package/code-snippet/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import { createComponent as t } from "@lit/react";
|
|
3
|
-
import { MpCodeSnippet as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
import { MpCodeSnippet as n } from "@mintplayer/web-components/code-snippet";
|
|
4
|
+
//#region libs/mintplayer-react-bootstrap/code-snippet/src/BsCodeSnippet.tsx
|
|
5
|
+
var r = t({
|
|
6
|
+
react: e,
|
|
7
|
+
tagName: "mp-code-snippet",
|
|
8
|
+
elementClass: n,
|
|
9
|
+
events: {
|
|
10
|
+
onLanguageDetected: "language-detected",
|
|
11
|
+
onLineActivate: "line-activate"
|
|
12
|
+
}
|
|
12
13
|
});
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { r as BsCodeSnippet };
|