@mintplayer/react-bootstrap 19.22.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.
Files changed (50) hide show
  1. package/accordion/index.mjs +38 -58
  2. package/calendar/index.mjs +9 -9
  3. package/card/index.mjs +102 -67
  4. package/card/src/BsCardBody.d.ts +2 -2
  5. package/card/src/BsCardFooter.d.ts +2 -2
  6. package/card/src/BsCardGroup.d.ts +4 -3
  7. package/card/src/BsCardHeader.d.ts +2 -2
  8. package/card/src/BsCardImg.d.ts +1 -1
  9. package/card/src/BsCardLink.d.ts +2 -2
  10. package/card/src/BsCardSubtitle.d.ts +2 -2
  11. package/card/src/BsCardText.d.ts +2 -2
  12. package/card/src/BsCardTitle.d.ts +2 -2
  13. package/carousel/index.mjs +27 -30
  14. package/charts/hierarchy/index.mjs +16 -16
  15. package/charts/sparkline/index.mjs +9 -9
  16. package/charts/trend/index.mjs +12 -12
  17. package/checkbox/index.mjs +10 -12
  18. package/code-snippet/index.mjs +12 -12
  19. package/datatable/index.mjs +35 -34
  20. package/datepicker/index.mjs +13 -13
  21. package/datetime-picker/index.mjs +13 -13
  22. package/dock/index.mjs +10 -12
  23. package/dropdown-menu/index.mjs +53 -46
  24. package/file-manager/index.mjs +17 -17
  25. package/index.mjs +0 -1
  26. package/input-group/index.mjs +11 -11
  27. package/multi-range/index.mjs +12 -12
  28. package/navbar/index.mjs +37 -48
  29. package/otp-input/index.mjs +12 -12
  30. package/package.json +2 -2
  31. package/pagination/index.mjs +11 -13
  32. package/phone-input/index.mjs +13 -13
  33. package/query-builder/index.mjs +18 -18
  34. package/radio/index.mjs +10 -12
  35. package/radio-group/index.mjs +11 -13
  36. package/react-bootstrap.css +2 -1
  37. package/ribbon/index.mjs +90 -129
  38. package/scheduler/index.mjs +21 -27
  39. package/select/index.mjs +9 -11
  40. package/shell/index.mjs +18 -23
  41. package/signature-pad/index.mjs +9 -11
  42. package/splitter/index.mjs +13 -13
  43. package/tab-control/index.mjs +15 -18
  44. package/theming/index.mjs +39 -46
  45. package/tile-manager/index.mjs +13 -13
  46. package/timeline/index.mjs +82 -97
  47. package/timepicker/index.mjs +14 -19
  48. package/toggle-button/index.mjs +11 -13
  49. package/tree-select/index.mjs +17 -19
  50. package/treeview/index.mjs +14 -14
@@ -1,61 +1,41 @@
1
- import { jsx as i, jsxs as l, Fragment as b } from "react/jsx-runtime";
2
- import * as o from "react";
3
- import { createComponent as s } from "@lit/react";
4
- import { MpAccordion as g, MpAccordionTab as f } from "@mintplayer/web-components/accordion";
5
- const u = s({
6
- react: o,
7
- tagName: "mp-accordion",
8
- elementClass: g,
9
- events: {
10
- onTabToggle: "mp-accordion-tab-toggle"
11
- }
12
- }), A = s({
13
- react: o,
14
- tagName: "mp-accordion-tab",
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 h({
18
- header: m,
19
- isActive: n,
20
- disabled: r,
21
- index: e = 0,
22
- children: c,
23
- // Forwarded to the tab, which is the element that owns the panel content.
24
- ...a
25
- }) {
26
- return /* @__PURE__ */ l(b, { children: [
27
- /* @__PURE__ */ i("span", { "accordion-header": "", slot: `h${e}`, children: m }),
28
- /* @__PURE__ */ i(
29
- A,
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
- const T = o.forwardRef(function({ multi: n, highlightActiveTab: r, children: e, ...c }, a) {
42
- let d = 0;
43
- const p = o.Children.map(
44
- e,
45
- (t) => o.isValidElement(t) && t.type === h ? o.cloneElement(t, { index: d++ }) : t
46
- );
47
- return /* @__PURE__ */ i(
48
- u,
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
- export {
59
- T as BsAccordion,
60
- h as BsAccordionItem
61
- };
40
+ //#endregion
41
+ export { u as BsAccordion, l as BsAccordionItem };
@@ -1,11 +1,11 @@
1
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
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
- export {
10
- o as BsCalendar
11
- };
10
+ //#endregion
11
+ export { r as BsCalendar };
package/card/index.mjs CHANGED
@@ -1,67 +1,102 @@
1
- import * as B from "react";
2
- import { forwardRef as r, useRef as p, useEffect as f } from "react";
3
- import { createComponent as C } from "@lit/react";
4
- import { MpCardElement as N, applyHeaderNavStyle as u } from "@mintplayer/web-components/card";
5
- import { jsx as t, jsxs as x, Fragment as y } from "react/jsx-runtime";
6
- const D = C({
7
- react: B,
8
- tagName: "mp-card",
9
- elementClass: N
10
- }), g = (...a) => a.filter(Boolean).join(" "), j = r(
11
- ({ className: a, ...e }, s) => /* @__PURE__ */ t("div", { ref: s, className: g("card-body", a), ...e })
12
- );
13
- j.displayName = "BsCardBody";
14
- const v = (...a) => a.filter(Boolean).join(" "), $ = r(
15
- ({ className: a, color: e, ...s }, o) => /* @__PURE__ */ t("div", { ref: o, className: v("card-footer", e && `text-bg-${e}`, a), ...s })
16
- );
17
- $.displayName = "BsCardFooter";
18
- const b = (...a) => a.filter(Boolean).join(" "), R = r(
19
- ({ className: a, ...e }, s) => /* @__PURE__ */ t("div", { ref: s, className: b("card-group", a), ...e })
20
- );
21
- R.displayName = "BsCardGroup";
22
- const T = (...a) => a.filter(Boolean).join(" "), k = r(
23
- ({ className: a, color: e, navStyle: s, children: o, ...n }, i) => {
24
- const c = p(null);
25
- return f(() => {
26
- c.current && u(c.current, s ?? null);
27
- }, [s, o]), /* @__PURE__ */ t("div", { ref: (d) => {
28
- c.current = d, typeof i == "function" ? i(d) : i && (i.current = d);
29
- }, className: T("card-header", e && `text-bg-${e}`, a), ...n, children: o });
30
- }
31
- );
32
- k.displayName = "BsCardHeader";
33
- const l = (...a) => a.filter(Boolean).join(" "), F = r(
34
- ({ className: a, position: e = "top", src: s, alt: o, children: n, ...i }, c) => e === "overlay" ? /* @__PURE__ */ x(y, { children: [
35
- /* @__PURE__ */ t("img", { ref: c, className: l("card-img", a), src: s, alt: o ?? "", ...i }),
36
- /* @__PURE__ */ t("div", { className: "card-img-overlay", children: n })
37
- ] }) : /* @__PURE__ */ t("img", { ref: c, className: l(e === "bottom" ? "card-img-bottom" : "card-img-top", a), src: s, alt: o ?? "", ...i })
38
- );
39
- F.displayName = "BsCardImg";
40
- const H = (...a) => a.filter(Boolean).join(" "), E = r(
41
- ({ className: a, href: e, ...s }, o) => /* @__PURE__ */ t("a", { ref: o, className: H("card-link", a), href: e, ...s })
42
- );
43
- E.displayName = "BsCardLink";
44
- const G = (...a) => a.filter(Boolean).join(" "), I = r(
45
- ({ className: a, ...e }, s) => /* @__PURE__ */ t("div", { ref: s, className: G("card-subtitle", a), ...e })
46
- );
47
- I.displayName = "BsCardSubtitle";
48
- const L = (...a) => a.filter(Boolean).join(" "), S = r(
49
- ({ className: a, ...e }, s) => /* @__PURE__ */ t("div", { ref: s, className: L("card-text", a), ...e })
50
- );
51
- S.displayName = "BsCardText";
52
- const h = (...a) => a.filter(Boolean).join(" "), w = r(
53
- ({ className: a, ...e }, s) => /* @__PURE__ */ t("div", { ref: s, className: h("card-title", a), ...e })
54
- );
55
- w.displayName = "BsCardTitle";
56
- export {
57
- D as BsCard,
58
- j as BsCardBody,
59
- $ as BsCardFooter,
60
- R as BsCardGroup,
61
- k as BsCardHeader,
62
- F as BsCardImg,
63
- E as BsCardLink,
64
- I as BsCardSubtitle,
65
- S as BsCardText,
66
- w as BsCardTitle
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 };
@@ -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 shadow + the global
5
- * card sheet. Merges an incoming `className` and spreads remaining props.
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 shadow + the global
10
- * card sheet. Merges an incoming `className` and spreads remaining props.
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 gets
4
- * slotted into `<mp-card>` and styled by mp-card's shadow + the global
5
- * card sheet. Merges an incoming `className` and spreads remaining props.
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 shadow + the global
13
- * card sheet. When `navStyle` is set, the kept `applyHeaderNavStyle` helper
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
  */
@@ -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 + the global card sheet. Merges an incoming
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 & {
@@ -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 shadow + the global
10
- * card sheet. Merges an incoming `className` and spreads remaining props.
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 shadow + the global
5
- * card sheet. Merges an incoming `className` and spreads remaining props.
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;
@@ -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 shadow + the global
5
- * card sheet. Merges an incoming `className` and spreads remaining props.
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 shadow + the global
5
- * card sheet. Merges an incoming `className` and spreads remaining props.
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;
@@ -1,31 +1,28 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import * as a from "react";
3
- import { createComponent as p } from "@lit/react";
4
- import { MpCarousel as u } from "@mintplayer/web-components/carousel";
5
- const f = p({
6
- react: a,
7
- tagName: "mp-carousel",
8
- elementClass: u,
9
- events: {
10
- onSlideChange: "slide-change",
11
- onPausedChange: "paused-change",
12
- onAnimationStart: "animation-start",
13
- onAnimationEnd: "animation-end"
14
- }
15
- }), g = a.forwardRef(function({ indicators: o, interval: e, wrap: n, keyboardEvents: t, paused: r, ...s }, m) {
16
- return /* @__PURE__ */ i(
17
- f,
18
- {
19
- ref: m,
20
- ...o ? { indicators: !0 } : {},
21
- ...e && e > 0 ? { interval: e } : {},
22
- ...n === !1 ? { wrap: "false" } : {},
23
- ...t === !1 ? { "keyboard-events": "false" } : {},
24
- ...r ? { paused: !0 } : {},
25
- ...s
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
- export {
30
- g as BsCarousel
31
- };
27
+ //#endregion
28
+ export { a as BsCarousel };
@@ -1,17 +1,17 @@
1
- import * as r from "react";
2
- import { createComponent as e } from "@lit/react";
3
- import { MpHierarchyChart as o } from "@mintplayer/web-components/charts/hierarchy";
4
- const c = e({
5
- react: r,
6
- tagName: "mp-hierarchy-chart",
7
- elementClass: o,
8
- events: {
9
- onHierarchyZoom: "hierarchy-zoom",
10
- onHierarchyNodeSelect: "hierarchy-node-select",
11
- onHierarchyNodeHover: "hierarchy-node-hover",
12
- onHierarchyNodeLoadError: "hierarchy-node-load-error"
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
- export {
16
- c as BsHierarchyChart
17
- };
16
+ //#endregion
17
+ export { r as BsHierarchyChart };
@@ -1,11 +1,11 @@
1
1
  import * as e from "react";
2
- import { createComponent as r } from "@lit/react";
3
- import { MpSparkline as t } from "@mintplayer/web-components/charts/sparkline";
4
- const o = r({
5
- react: e,
6
- tagName: "mp-sparkline",
7
- elementClass: t
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
- export {
10
- o as BsSparkline
11
- };
10
+ //#endregion
11
+ export { r as BsSparkline };
@@ -1,15 +1,15 @@
1
1
  import * as e from "react";
2
2
  import { createComponent as t } from "@lit/react";
3
- import { MpTrendChart as r } from "@mintplayer/web-components/charts/trend";
4
- const a = t({
5
- react: e,
6
- tagName: "mp-trend-chart",
7
- elementClass: r,
8
- events: {
9
- onTrendPointHover: "trend-point-hover",
10
- onTrendPointSelect: "trend-point-select"
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
- export {
14
- a as BsTrendChart
15
- };
14
+ //#endregion
15
+ export { r as BsTrendChart };
@@ -1,14 +1,12 @@
1
1
  import * as e from "react";
2
- import { createComponent as o } from "@lit/react";
3
- import { MpCheckbox as t } from "@mintplayer/web-components/checkbox";
4
- const c = o({
5
- react: e,
6
- tagName: "mp-checkbox",
7
- elementClass: t,
8
- events: {
9
- onChange: "change"
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
- export {
13
- c as BsCheckbox
14
- };
11
+ //#endregion
12
+ export { r as BsCheckbox };
@@ -1,15 +1,15 @@
1
1
  import * as e from "react";
2
2
  import { createComponent as t } from "@lit/react";
3
- import { MpCodeSnippet as o } from "@mintplayer/web-components/code-snippet";
4
- const p = t({
5
- react: e,
6
- tagName: "mp-code-snippet",
7
- elementClass: o,
8
- events: {
9
- onLanguageDetected: "language-detected",
10
- onLineActivate: "line-activate"
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
- export {
14
- p as BsCodeSnippet
15
- };
14
+ //#endregion
15
+ export { r as BsCodeSnippet };