@mintplayer/react-bootstrap 19.23.0 → 19.25.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 (61) 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/chunks/react-props-CKk_Kufi.mjs +24 -0
  19. package/code-snippet/index.mjs +12 -12
  20. package/datatable/index.mjs +35 -34
  21. package/datepicker/index.mjs +13 -13
  22. package/datetime-picker/index.mjs +13 -13
  23. package/dock/index.mjs +10 -12
  24. package/dropdown-menu/index.mjs +53 -46
  25. package/dropdown-menu/src/BsDropdownItem.d.ts +1 -1
  26. package/dropdown-menu/src/BsDropdownMenu.d.ts +2 -5
  27. package/dropdown-menu/src/index.d.ts +1 -1
  28. package/file-manager/index.mjs +17 -17
  29. package/index.mjs +0 -1
  30. package/input-group/index.mjs +11 -11
  31. package/machine/index.mjs +1 -0
  32. package/machine/src/index.d.ts +2 -0
  33. package/machine/src/react-props.d.ts +9 -0
  34. package/machine/src/useMachine.d.ts +16 -0
  35. package/multi-range/index.mjs +12 -12
  36. package/navbar/index.mjs +37 -48
  37. package/otp-input/index.mjs +12 -12
  38. package/package.json +11 -2
  39. package/pagination/index.mjs +11 -13
  40. package/phone-input/index.mjs +13 -13
  41. package/query-builder/index.mjs +18 -18
  42. package/radio/index.mjs +10 -12
  43. package/radio-group/index.mjs +11 -13
  44. package/react-bootstrap.css +2 -1
  45. package/ribbon/index.mjs +90 -129
  46. package/scheduler/index.mjs +21 -27
  47. package/select/index.mjs +9 -11
  48. package/shell/index.mjs +18 -23
  49. package/signature-pad/index.mjs +9 -11
  50. package/splitter/index.mjs +13 -13
  51. package/tab-control/index.mjs +15 -18
  52. package/theming/index.mjs +39 -46
  53. package/tile-manager/index.mjs +13 -13
  54. package/timeline/index.mjs +82 -97
  55. package/timepicker/index.mjs +14 -19
  56. package/toggle-button/index.mjs +11 -13
  57. package/tree-select/index.mjs +17 -19
  58. package/treeview/index.mjs +14 -14
  59. package/typeahead/index.mjs +107 -0
  60. package/typeahead/src/BsTypeahead.d.ts +48 -0
  61. package/typeahead/src/index.d.ts +4 -0
@@ -1,34 +1,35 @@
1
- import { jsx as l } from "react/jsx-runtime";
2
- import * as a from "react";
3
- import { createComponent as r } from "@lit/react";
4
- import { MpDatatable as p } from "@mintplayer/web-components/datatable";
5
- const m = r({
6
- react: a,
7
- tagName: "mp-datatable",
8
- elementClass: p,
9
- events: {
10
- onPageChange: "mp-datatable-page-change",
11
- onPerPageChange: "mp-datatable-per-page-change",
12
- onSortChange: "mp-datatable-sort-change",
13
- onRowClick: "mp-datatable-row-click",
14
- onRowDblClick: "mp-datatable-row-dblclick",
15
- onRowContextMenu: "mp-datatable-row-contextmenu",
16
- onSelectionChange: "mp-datatable-selection-change",
17
- onRowExpand: "mp-datatable-row-expand",
18
- onRowCollapse: "mp-datatable-row-collapse",
19
- onExpandedIdsChange: "mp-datatable-expanded-ids-change",
20
- onFilterOpen: "mp-datatable-filter-open",
21
- onFilterClose: "mp-datatable-filter-close",
22
- onFilterChange: "mp-datatable-filter-change"
23
- }
24
- }), s = a.forwardRef(
25
- function({ selectedRows: t, ...n }, o) {
26
- const e = a.useRef(null);
27
- return a.useImperativeHandle(o, () => e.current), a.useLayoutEffect(() => {
28
- e.current && t !== void 0 && (e.current.selectedRows = t);
29
- }, [t]), /* @__PURE__ */ l(m, { ref: e, ...n });
30
- }
31
- );
32
- export {
33
- s as BsDatatable
34
- };
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 { MpDatatable as r } from "@mintplayer/web-components/datatable";
5
+ //#region libs/mintplayer-react-bootstrap/datatable/src/BsDatatable.tsx
6
+ var i = t({
7
+ react: e,
8
+ tagName: "mp-datatable",
9
+ elementClass: r,
10
+ events: {
11
+ onPageChange: "mp-datatable-page-change",
12
+ onPerPageChange: "mp-datatable-per-page-change",
13
+ onSortChange: "mp-datatable-sort-change",
14
+ onRowClick: "mp-datatable-row-click",
15
+ onRowDblClick: "mp-datatable-row-dblclick",
16
+ onRowContextMenu: "mp-datatable-row-contextmenu",
17
+ onSelectionChange: "mp-datatable-selection-change",
18
+ onRowExpand: "mp-datatable-row-expand",
19
+ onRowCollapse: "mp-datatable-row-collapse",
20
+ onExpandedIdsChange: "mp-datatable-expanded-ids-change",
21
+ onFilterOpen: "mp-datatable-filter-open",
22
+ onFilterClose: "mp-datatable-filter-close",
23
+ onFilterChange: "mp-datatable-filter-change"
24
+ }
25
+ }), a = e.forwardRef(function({ selectedRows: t, ...r }, a) {
26
+ let o = e.useRef(null);
27
+ return e.useImperativeHandle(a, () => o.current), e.useLayoutEffect(() => {
28
+ o.current && t !== void 0 && (o.current.selectedRows = t);
29
+ }, [t]), /* @__PURE__ */ n(i, {
30
+ ref: o,
31
+ ...r
32
+ });
33
+ });
34
+ //#endregion
35
+ export { a as BsDatatable };
@@ -1,17 +1,17 @@
1
1
  import * as e from "react";
2
2
  import { createComponent as t } from "@lit/react";
3
3
  import { MpDatepickerElement as n } from "@mintplayer/web-components/datepicker";
4
- const r = t({
5
- react: e,
6
- tagName: "mp-datepicker",
7
- elementClass: n,
8
- events: {
9
- onSelectedDateChange: "selected-date-change",
10
- onCurrentMonthChange: "current-month-change",
11
- onOpened: "opened",
12
- onClosed: "closed"
13
- }
4
+ //#region libs/mintplayer-react-bootstrap/datepicker/src/BsDatepicker.tsx
5
+ var r = t({
6
+ react: e,
7
+ tagName: "mp-datepicker",
8
+ elementClass: n,
9
+ events: {
10
+ onSelectedDateChange: "selected-date-change",
11
+ onCurrentMonthChange: "current-month-change",
12
+ onOpened: "opened",
13
+ onClosed: "closed"
14
+ }
14
15
  });
15
- export {
16
- r as BsDatepicker
17
- };
16
+ //#endregion
17
+ export { r as BsDatepicker };
@@ -1,16 +1,16 @@
1
1
  import * as e from "react";
2
2
  import { createComponent as t } from "@lit/react";
3
- import { MpDatetimePickerElement as o } from "@mintplayer/web-components/datetime-picker";
4
- const n = t({
5
- react: e,
6
- tagName: "mp-datetime-picker",
7
- elementClass: o,
8
- events: {
9
- onValueChange: "value-change",
10
- onOpened: "opened",
11
- onClosed: "closed"
12
- }
3
+ import { MpDatetimePickerElement as n } from "@mintplayer/web-components/datetime-picker";
4
+ //#region libs/mintplayer-react-bootstrap/datetime-picker/src/BsDatetimePicker.tsx
5
+ var r = t({
6
+ react: e,
7
+ tagName: "mp-datetime-picker",
8
+ elementClass: n,
9
+ events: {
10
+ onValueChange: "value-change",
11
+ onOpened: "opened",
12
+ onClosed: "closed"
13
+ }
13
14
  });
14
- export {
15
- n as BsDatetimePicker
16
- };
15
+ //#endregion
16
+ export { r as BsDatetimePicker };
package/dock/index.mjs CHANGED
@@ -1,14 +1,12 @@
1
1
  import * as e from "react";
2
- import { createComponent as a } from "@lit/react";
3
- import { MintDockManagerElement as o } from "@mintplayer/web-components/dock";
4
- const m = a({
5
- react: e,
6
- tagName: "mint-dock-manager",
7
- elementClass: o,
8
- events: {
9
- onLayoutChanged: "dock-layout-changed"
10
- }
2
+ import { createComponent as t } from "@lit/react";
3
+ import { MintDockManagerElement as n } from "@mintplayer/web-components/dock";
4
+ //#region libs/mintplayer-react-bootstrap/dock/src/BsDockManager.tsx
5
+ var r = t({
6
+ react: e,
7
+ tagName: "mint-dock-manager",
8
+ elementClass: n,
9
+ events: { onLayoutChanged: "dock-layout-changed" }
11
10
  });
12
- export {
13
- m as BsDockManager
14
- };
11
+ //#endregion
12
+ export { r as BsDockManager };
@@ -1,46 +1,53 @@
1
- import { jsx as d } from "react/jsx-runtime";
2
- import * as n from "react";
3
- import { createComponent as f } from "@lit/react";
4
- import { MpDropdownMenu as u } from "@mintplayer/web-components/dropdown-menu";
5
- const m = f({
6
- react: n,
7
- tagName: "mp-dropdown-menu",
8
- elementClass: u,
9
- events: {
10
- onSelect: "select"
11
- }
12
- }), R = n.forwardRef(function({ maxHeight: e, ...o }, r) {
13
- return /* @__PURE__ */ d(
14
- m,
15
- {
16
- ref: r,
17
- ...e != null ? { "max-height": e } : {},
18
- ...o
19
- }
20
- );
21
- }), v = n.forwardRef(
22
- function({ active: e, disabled: o, value: r, className: t, children: i, ...c }, p) {
23
- const s = n.useRef(null);
24
- n.useImperativeHandle(p, () => s.current), n.useEffect(() => {
25
- s.current && (s.current.dropdownValue = r);
26
- }, [r]);
27
- const l = ["dropdown-item", e ? "active" : "", o ? "disabled" : "", t ?? ""].filter(Boolean).join(" ");
28
- return /* @__PURE__ */ d("li", { ref: s, className: l, "aria-disabled": o ? !0 : void 0, ...c, children: i });
29
- }
30
- ), M = n.forwardRef(
31
- function({ className: e, ...o }, r) {
32
- const t = ["dropdown-divider", e ?? ""].filter(Boolean).join(" ");
33
- return /* @__PURE__ */ d("li", { ref: r, role: "separator", className: t, ...o });
34
- }
35
- ), j = n.forwardRef(
36
- function({ className: e, children: o, ...r }, t) {
37
- const i = ["dropdown-header", e ?? ""].filter(Boolean).join(" ");
38
- return /* @__PURE__ */ d("li", { ref: t, className: i, ...r, children: o });
39
- }
40
- );
41
- export {
42
- M as BsDropdownDivider,
43
- j as BsDropdownHeader,
44
- v as BsDropdownItem,
45
- R as BsDropdownMenu
46
- };
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 { MpDropdownMenu as r } from "@mintplayer/web-components/dropdown-menu";
5
+ //#region libs/mintplayer-react-bootstrap/dropdown-menu/src/BsDropdownMenu.tsx
6
+ var i = t({
7
+ react: e,
8
+ tagName: "mp-dropdown-menu",
9
+ elementClass: r,
10
+ events: { onSelect: "select" }
11
+ }), a = e.forwardRef(function({ maxHeight: e, ...t }, r) {
12
+ return /* @__PURE__ */ n(i, {
13
+ ref: r,
14
+ ...e == null ? {} : { "max-height": e },
15
+ ...t
16
+ });
17
+ }), o = e.forwardRef(function({ active: t, disabled: r, value: i, className: a, children: o, ...s }, c) {
18
+ let l = e.useRef(null);
19
+ e.useImperativeHandle(c, () => l.current), e.useEffect(() => {
20
+ l.current && (l.current.dropdownValue = i);
21
+ }, [i]);
22
+ let u = [
23
+ "dropdown-item",
24
+ t ? "active" : "",
25
+ r ? "disabled" : "",
26
+ a ?? ""
27
+ ].filter(Boolean).join(" ");
28
+ return /* @__PURE__ */ n("li", {
29
+ ref: l,
30
+ className: u,
31
+ "aria-disabled": r ? !0 : void 0,
32
+ ...s,
33
+ children: o
34
+ });
35
+ }), s = e.forwardRef(function({ className: e, ...t }, r) {
36
+ let i = ["dropdown-divider", e ?? ""].filter(Boolean).join(" ");
37
+ return /* @__PURE__ */ n("li", {
38
+ ref: r,
39
+ role: "separator",
40
+ className: i,
41
+ ...t
42
+ });
43
+ }), c = e.forwardRef(function({ className: e, children: t, ...r }, i) {
44
+ let a = ["dropdown-header", e ?? ""].filter(Boolean).join(" ");
45
+ return /* @__PURE__ */ n("li", {
46
+ ref: i,
47
+ className: a,
48
+ ...r,
49
+ children: t
50
+ });
51
+ });
52
+ //#endregion
53
+ export { s as BsDropdownDivider, c as BsDropdownHeader, o as BsDropdownItem, a as BsDropdownMenu };
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  export interface BsDropdownItemProps extends Omit<React.LiHTMLAttributes<HTMLLIElement>, 'value'> {
3
- /** Bootstrap `.active` appearance (also drives `aria-selected` in a listbox menu). */
3
+ /** Bootstrap `.active` appearance. */
4
4
  active?: boolean;
5
5
  /** Non-interactive; removed from the menu's roving order. */
6
6
  disabled?: boolean;
@@ -1,8 +1,6 @@
1
- import { MpDropdownMenu, DropdownMode, DropdownSelectEventDetail } from '@mintplayer/web-components/dropdown-menu';
1
+ import { MpDropdownMenu, DropdownSelectEventDetail } from '@mintplayer/web-components/dropdown-menu';
2
2
  import * as React from 'react';
3
3
  export interface BsDropdownMenuProps extends Omit<React.HTMLAttributes<HTMLElement>, 'onSelect'> {
4
- /** `menu` (default, roving-tabindex keyboard nav) | `listbox`. */
5
- mode?: DropdownMode;
6
4
  /** px cap on the menu height; scrolls beyond. Maps to the `max-height` attribute. */
7
5
  maxHeight?: number;
8
6
  /** Fires when an enabled item is activated; `detail.value` carries the item's value. */
@@ -17,8 +15,7 @@ export interface BsDropdownMenuProps extends Omit<React.HTMLAttributes<HTMLEleme
17
15
  * The menu chrome is server-rendered as Declarative Shadow DOM (see
18
16
  * `injectMpDropdownDsd` in `@mintplayer/web-components/dropdown-menu/ssr`), so it
19
17
  * renders styled with JavaScript disabled. Slot `<BsDropdownItem>` /
20
- * `<BsDropdownDivider>` / `<BsDropdownHeader>` children. In `menu` mode (default)
21
- * the menu provides roving-tabindex keyboard navigation over the enabled items.
18
+ * `<BsDropdownDivider>` / `<BsDropdownHeader>` children. The menu provides roving-tabindex keyboard navigation over the enabled items.
22
19
  *
23
20
  * <BsDropdownMenu onSelect={(e) => console.log(e.detail.value)}>
24
21
  * <BsDropdownHeader>Section</BsDropdownHeader>
@@ -4,4 +4,4 @@ export { BsDropdownItem } from './BsDropdownItem';
4
4
  export type { BsDropdownItemProps } from './BsDropdownItem';
5
5
  export { BsDropdownDivider } from './BsDropdownDivider';
6
6
  export { BsDropdownHeader } from './BsDropdownHeader';
7
- export type { DropdownMode, DropdownSelectEventDetail } from '@mintplayer/web-components/dropdown-menu';
7
+ export type { DropdownSelectEventDetail } from '@mintplayer/web-components/dropdown-menu';
@@ -1,20 +1,20 @@
1
1
  import * as e from "react";
2
- import { createComponent as o } from "@lit/react";
2
+ import { createComponent as t } from "@lit/react";
3
3
  import { MpFileManager as n } from "@mintplayer/web-components/file-manager";
4
- const p = o({
5
- react: e,
6
- tagName: "mp-file-manager",
7
- elementClass: n,
8
- events: {
9
- onNavigate: "mp-navigate",
10
- onNodeOpen: "mp-node-open",
11
- onSelectionChange: "mp-selection-change",
12
- onUploadRequest: "mp-upload-request",
13
- onOperation: "mp-operation",
14
- onChildrenLoaded: "mp-children-loaded",
15
- onError: "mp-error"
16
- }
4
+ //#region libs/mintplayer-react-bootstrap/file-manager/src/BsFileManager.tsx
5
+ var r = t({
6
+ react: e,
7
+ tagName: "mp-file-manager",
8
+ elementClass: n,
9
+ events: {
10
+ onNavigate: "mp-navigate",
11
+ onNodeOpen: "mp-node-open",
12
+ onSelectionChange: "mp-selection-change",
13
+ onUploadRequest: "mp-upload-request",
14
+ onOperation: "mp-operation",
15
+ onChildrenLoaded: "mp-children-loaded",
16
+ onError: "mp-error"
17
+ }
17
18
  });
18
- export {
19
- p as BsFileManager
20
- };
19
+ //#endregion
20
+ export { r as BsFileManager };
package/index.mjs CHANGED
@@ -1 +0,0 @@
1
-
@@ -1,12 +1,12 @@
1
- import * as t from "react";
2
- import { createComponent as o } from "@lit/react";
3
- import { MpInputGroup as p } from "@mintplayer/web-components/input-group";
4
- const m = o({
5
- react: t,
6
- tagName: "mp-input-group",
7
- elementClass: p,
8
- events: {}
1
+ import * as e from "react";
2
+ import { createComponent as t } from "@lit/react";
3
+ import { MpInputGroup as n } from "@mintplayer/web-components/input-group";
4
+ //#region libs/mintplayer-react-bootstrap/input-group/src/BsInputGroup.tsx
5
+ var r = t({
6
+ react: e,
7
+ tagName: "mp-input-group",
8
+ elementClass: n,
9
+ events: {}
9
10
  });
10
- export {
11
- m as BsInputGroup
12
- };
11
+ //#endregion
12
+ export { r as BsInputGroup };
@@ -0,0 +1 @@
1
+ export { t as reactProps, n as useMachine, r as useSnapshot } from "../chunks/react-props-CKk_Kufi.mjs";
@@ -0,0 +1,2 @@
1
+ export * from './useMachine';
2
+ export * from './react-props';
@@ -0,0 +1,9 @@
1
+ /** An attribute bag as a `@mintplayer/ui-core` `connect()` returns it. */
2
+ export type AttrBag = Record<string, string | boolean | null>;
3
+ /**
4
+ * Turn a core's attribute bag into JSX props: `null` (attribute absent) is
5
+ * dropped and DOM names are mapped to React's. The React counterpart of the
6
+ * Angular `[mpProps]` directive and Lit's attribute bindings — every front
7
+ * applies the same bag, so ARIA cannot drift between them.
8
+ */
9
+ export declare function reactProps(bag: AttrBag): Record<string, string | boolean>;
@@ -0,0 +1,16 @@
1
+ import { SnapshotOf, Store } from '@mintplayer/ui-core/store';
2
+ /**
3
+ * Read a `@mintplayer/ui-core` store from a React component. Backed by
4
+ * `useSyncExternalStore`, so a committed snapshot re-renders the component
5
+ * once and never tears under concurrent rendering (spike S1,
6
+ * `_conformance/behaviour/useMachine.spec.tsx`). The server snapshot is the
7
+ * same object, which keeps SSR output and the first client render identical.
8
+ */
9
+ export declare function useSnapshot<S extends object>(store: Store<S>): S;
10
+ /**
11
+ * Own a machine for the lifetime of the component: created once, destroyed on
12
+ * unmount. Returns the machine and its live snapshot.
13
+ */
14
+ export declare function useMachine<M extends Store<object> & {
15
+ destroy(): void;
16
+ }>(create: () => M): [M, SnapshotOf<M>];
@@ -1,15 +1,15 @@
1
1
  import * as e from "react";
2
2
  import { createComponent as t } from "@lit/react";
3
- import { MintMultiRangeElement as a } from "@mintplayer/web-components/multi-range";
4
- const o = t({
5
- react: e,
6
- tagName: "mp-multi-range",
7
- elementClass: a,
8
- events: {
9
- onValueInput: "value-input",
10
- onValueChange: "value-change"
11
- }
3
+ import { MintMultiRangeElement as n } from "@mintplayer/web-components/multi-range";
4
+ //#region libs/mintplayer-react-bootstrap/multi-range/src/BsMultiRange.tsx
5
+ var r = t({
6
+ react: e,
7
+ tagName: "mp-multi-range",
8
+ elementClass: n,
9
+ events: {
10
+ onValueInput: "value-input",
11
+ onValueChange: "value-change"
12
+ }
12
13
  });
13
- export {
14
- o as BsMultiRange
15
- };
14
+ //#endregion
15
+ export { r as BsMultiRange };
package/navbar/index.mjs CHANGED
@@ -1,49 +1,38 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import * as a from "react";
3
- import { createComponent as e } from "@lit/react";
4
- import { MpNavbar as s, MpNavbarItem as b, MpNavbarBrand as v, MpNavbarDropdown as d } from "@mintplayer/web-components/navbar";
5
- const c = e({
6
- react: a,
7
- tagName: "mp-navbar",
8
- elementClass: s,
9
- events: {
10
- onExpandedChange: "expandedchange"
11
- }
12
- }), B = a.forwardRef(function({ expanded: r, ...n }, t) {
13
- return /* @__PURE__ */ o(
14
- c,
15
- {
16
- ref: t,
17
- ...r ? { expanded: "" } : {},
18
- ...n
19
- }
20
- );
21
- }), N = e({
22
- react: a,
23
- tagName: "mp-navbar-item",
24
- elementClass: b
25
- }), C = a.forwardRef(function({ active: r, disabled: n, ...t }, p) {
26
- return /* @__PURE__ */ o(
27
- N,
28
- {
29
- ref: p,
30
- ...r ? { active: "" } : {},
31
- ...n ? { disabled: "" } : {},
32
- ...t
33
- }
34
- );
35
- }), g = e({
36
- react: a,
37
- tagName: "mp-navbar-brand",
38
- elementClass: v
39
- }), M = e({
40
- react: a,
41
- tagName: "mp-navbar-dropdown",
42
- elementClass: d
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 { MpNavbar as r, MpNavbarBrand as i, MpNavbarDropdown as a, MpNavbarItem as o } from "@mintplayer/web-components/navbar";
5
+ //#region libs/mintplayer-react-bootstrap/navbar/src/BsNavbar.tsx
6
+ var s = t({
7
+ react: e,
8
+ tagName: "mp-navbar",
9
+ elementClass: r,
10
+ events: { onExpandedChange: "expandedchange" }
11
+ }), c = e.forwardRef(function({ expanded: e, ...t }, r) {
12
+ return /* @__PURE__ */ n(s, {
13
+ ref: r,
14
+ ...e ? { expanded: "" } : {},
15
+ ...t
16
+ });
17
+ }), l = t({
18
+ react: e,
19
+ tagName: "mp-navbar-item",
20
+ elementClass: o
21
+ }), u = e.forwardRef(function({ active: e, disabled: t, ...r }, i) {
22
+ return /* @__PURE__ */ n(l, {
23
+ ref: i,
24
+ ...e ? { active: "" } : {},
25
+ ...t ? { disabled: "" } : {},
26
+ ...r
27
+ });
28
+ }), d = t({
29
+ react: e,
30
+ tagName: "mp-navbar-brand",
31
+ elementClass: i
32
+ }), f = t({
33
+ react: e,
34
+ tagName: "mp-navbar-dropdown",
35
+ elementClass: a
43
36
  });
44
- export {
45
- B as BsNavbar,
46
- g as BsNavbarBrand,
47
- M as BsNavbarDropdown,
48
- C as BsNavbarItem
49
- };
37
+ //#endregion
38
+ export { c as BsNavbar, d as BsNavbarBrand, f as BsNavbarDropdown, u as BsNavbarItem };
@@ -1,15 +1,15 @@
1
1
  import * as e from "react";
2
2
  import { createComponent as t } from "@lit/react";
3
- import { MintOtpInputElement as o } from "@mintplayer/web-components/otp-input";
4
- const m = t({
5
- react: e,
6
- tagName: "mp-otp-input",
7
- elementClass: o,
8
- events: {
9
- onValueChange: "value-change",
10
- onComplete: "complete"
11
- }
3
+ import { MintOtpInputElement as n } from "@mintplayer/web-components/otp-input";
4
+ //#region libs/mintplayer-react-bootstrap/otp-input/src/BsOtpInput.tsx
5
+ var r = t({
6
+ react: e,
7
+ tagName: "mp-otp-input",
8
+ elementClass: n,
9
+ events: {
10
+ onValueChange: "value-change",
11
+ onComplete: "complete"
12
+ }
12
13
  });
13
- export {
14
- m as BsOtpInput
15
- };
14
+ //#endregion
15
+ export { r as BsOtpInput };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintplayer/react-bootstrap",
3
- "version": "19.23.0",
3
+ "version": "19.25.0",
4
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
5
  "license": "MIT",
6
6
  "repository": {
@@ -90,6 +90,10 @@
90
90
  "types": "./input-group/src/index.d.ts",
91
91
  "import": "./input-group/index.mjs"
92
92
  },
93
+ "./machine": {
94
+ "types": "./machine/src/index.d.ts",
95
+ "import": "./machine/index.mjs"
96
+ },
93
97
  "./multi-range": {
94
98
  "types": "./multi-range/src/index.d.ts",
95
99
  "import": "./multi-range/index.mjs"
@@ -177,13 +181,18 @@
177
181
  "./treeview": {
178
182
  "types": "./treeview/src/index.d.ts",
179
183
  "import": "./treeview/index.mjs"
184
+ },
185
+ "./typeahead": {
186
+ "types": "./typeahead/src/index.d.ts",
187
+ "import": "./typeahead/index.mjs"
180
188
  }
181
189
  },
182
190
  "peerDependencies": {
191
+ "@mintplayer/ui-core": "^1.0.0",
183
192
  "react": "^19.0.0",
184
193
  "react-dom": "^19.0.0",
185
194
  "@lit/react": "^1.0.0",
186
- "@mintplayer/web-components": "^2.19.0"
195
+ "@mintplayer/web-components": "^2.21.0"
187
196
  },
188
197
  "dependencies": {
189
198
  "tslib": "^2.3.0"
@@ -1,14 +1,12 @@
1
- import * as a from "react";
2
- import { createComponent as n } from "@lit/react";
3
- import { MpPagination as t } from "@mintplayer/web-components/pagination";
4
- const i = n({
5
- react: a,
6
- tagName: "mp-pagination",
7
- elementClass: t,
8
- events: {
9
- onMpPaginationPageChange: "mp-pagination-page-change"
10
- }
1
+ import * as e from "react";
2
+ import { createComponent as t } from "@lit/react";
3
+ import { MpPagination as n } from "@mintplayer/web-components/pagination";
4
+ //#region libs/mintplayer-react-bootstrap/pagination/src/BsPagination.tsx
5
+ var r = t({
6
+ react: e,
7
+ tagName: "mp-pagination",
8
+ elementClass: n,
9
+ events: { onMpPaginationPageChange: "mp-pagination-page-change" }
11
10
  });
12
- export {
13
- i as BsPagination
14
- };
11
+ //#endregion
12
+ export { r as BsPagination };