@mintplayer/react-bootstrap 19.13.0 → 19.15.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.
@@ -0,0 +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
+ }
14
+ });
15
+ export {
16
+ c as BsHierarchyChart
17
+ };
@@ -0,0 +1,13 @@
1
+ import { EventName } from '@lit/react';
2
+ import { MpHierarchyChart, HierarchyHoverEventDetail, HierarchyLoadErrorEventDetail, HierarchyNodeEventDetail } from '@mintplayer/web-components/charts/hierarchy';
3
+ /**
4
+ * React wrapper for `<mp-hierarchy-chart>`. Side-effect-registers the WC.
5
+ * `data`, `loadChildren` and the formatters are objects/functions —
6
+ * @lit/react forwards them as element properties.
7
+ */
8
+ export declare const BsHierarchyChart: import('@lit/react').ReactWebComponent<MpHierarchyChart, {
9
+ onHierarchyZoom: EventName<CustomEvent<HierarchyNodeEventDetail>>;
10
+ onHierarchyNodeSelect: EventName<CustomEvent<HierarchyNodeEventDetail>>;
11
+ onHierarchyNodeHover: EventName<CustomEvent<HierarchyHoverEventDetail>>;
12
+ onHierarchyNodeLoadError: EventName<CustomEvent<HierarchyLoadErrorEventDetail>>;
13
+ }>;
@@ -0,0 +1,2 @@
1
+ export { BsHierarchyChart } from './BsHierarchyChart';
2
+ export type { HierarchyNode, HierarchyChartLayout, HierarchyChildrenLoader, HierarchyNodeFormatter, HierarchyNodeEventDetail, HierarchyHoverEventDetail, HierarchyLoadErrorEventDetail, } from '@mintplayer/web-components/charts/hierarchy';
@@ -0,0 +1,11 @@
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
8
+ });
9
+ export {
10
+ o as BsSparkline
11
+ };
@@ -0,0 +1,3 @@
1
+ import { MpSparkline } from '@mintplayer/web-components/charts/sparkline';
2
+ /** React wrapper for `<mp-sparkline>`. Side-effect-registers the WC. */
3
+ export declare const BsSparkline: import('@lit/react').ReactWebComponent<MpSparkline, {}>;
@@ -0,0 +1 @@
1
+ export { BsSparkline } from './BsSparkline';
@@ -0,0 +1,15 @@
1
+ import * as e from "react";
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
+ }
12
+ });
13
+ export {
14
+ a as BsTrendChart
15
+ };
@@ -0,0 +1,7 @@
1
+ import { EventName } from '@lit/react';
2
+ import { MpTrendChart, TrendHoverEventDetail, TrendPointEventDetail } from '@mintplayer/web-components/charts/trend';
3
+ /** React wrapper for `<mp-trend-chart>`. Side-effect-registers the WC. */
4
+ export declare const BsTrendChart: import('@lit/react').ReactWebComponent<MpTrendChart, {
5
+ onTrendPointHover: EventName<CustomEvent<TrendHoverEventDetail>>;
6
+ onTrendPointSelect: EventName<CustomEvent<TrendPointEventDetail>>;
7
+ }>;
@@ -0,0 +1,2 @@
1
+ export { BsTrendChart } from './BsTrendChart';
2
+ export type { TrendSeries, TrendPoint, TrendPointEventDetail, TrendHoverEventDetail, } from '@mintplayer/web-components/charts/trend';
@@ -0,0 +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: {}
9
+ });
10
+ export {
11
+ m as BsInputGroup
12
+ };
@@ -0,0 +1,10 @@
1
+ import { MpInputGroup } from '@mintplayer/web-components/input-group';
2
+ /**
3
+ * React wrapper for `<mp-input-group>` — joins its children into one visually
4
+ * continuous control. No events to surface; children pass through as light DOM,
5
+ * which is exactly what the group styles.
6
+ *
7
+ * Consumers slot native controls, `<BsSelect>`, `<BsPhoneInput>` or anything
8
+ * else; the group is authoritative about the corners and the 1px overlap.
9
+ */
10
+ export declare const BsInputGroup: import('@lit/react').ReactWebComponent<MpInputGroup, {}>;
@@ -0,0 +1 @@
1
+ export { BsInputGroup } from './BsInputGroup';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintplayer/react-bootstrap",
3
- "version": "19.13.0",
3
+ "version": "19.15.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": {
@@ -25,7 +25,155 @@
25
25
  "types": "./src/index.d.ts",
26
26
  "import": "./index.mjs"
27
27
  },
28
- "./package.json": "./package.json"
28
+ "./package.json": "./package.json",
29
+ "./accordion": {
30
+ "types": "./accordion/src/index.d.ts",
31
+ "import": "./accordion/index.mjs"
32
+ },
33
+ "./calendar": {
34
+ "types": "./calendar/src/index.d.ts",
35
+ "import": "./calendar/index.mjs"
36
+ },
37
+ "./card": {
38
+ "types": "./card/src/index.d.ts",
39
+ "import": "./card/index.mjs"
40
+ },
41
+ "./carousel": {
42
+ "types": "./carousel/src/index.d.ts",
43
+ "import": "./carousel/index.mjs"
44
+ },
45
+ "./charts/hierarchy": {
46
+ "types": "./charts/hierarchy/src/index.d.ts",
47
+ "import": "./charts/hierarchy/index.mjs"
48
+ },
49
+ "./charts/sparkline": {
50
+ "types": "./charts/sparkline/src/index.d.ts",
51
+ "import": "./charts/sparkline/index.mjs"
52
+ },
53
+ "./charts/trend": {
54
+ "types": "./charts/trend/src/index.d.ts",
55
+ "import": "./charts/trend/index.mjs"
56
+ },
57
+ "./checkbox": {
58
+ "types": "./checkbox/src/index.d.ts",
59
+ "import": "./checkbox/index.mjs"
60
+ },
61
+ "./code-snippet": {
62
+ "types": "./code-snippet/src/index.d.ts",
63
+ "import": "./code-snippet/index.mjs"
64
+ },
65
+ "./datatable": {
66
+ "types": "./datatable/src/index.d.ts",
67
+ "import": "./datatable/index.mjs"
68
+ },
69
+ "./datepicker": {
70
+ "types": "./datepicker/src/index.d.ts",
71
+ "import": "./datepicker/index.mjs"
72
+ },
73
+ "./datetime-picker": {
74
+ "types": "./datetime-picker/src/index.d.ts",
75
+ "import": "./datetime-picker/index.mjs"
76
+ },
77
+ "./dock": {
78
+ "types": "./dock/src/index.d.ts",
79
+ "import": "./dock/index.mjs"
80
+ },
81
+ "./dropdown-menu": {
82
+ "types": "./dropdown-menu/src/index.d.ts",
83
+ "import": "./dropdown-menu/index.mjs"
84
+ },
85
+ "./file-manager": {
86
+ "types": "./file-manager/src/index.d.ts",
87
+ "import": "./file-manager/index.mjs"
88
+ },
89
+ "./input-group": {
90
+ "types": "./input-group/src/index.d.ts",
91
+ "import": "./input-group/index.mjs"
92
+ },
93
+ "./multi-range": {
94
+ "types": "./multi-range/src/index.d.ts",
95
+ "import": "./multi-range/index.mjs"
96
+ },
97
+ "./navbar": {
98
+ "types": "./navbar/src/index.d.ts",
99
+ "import": "./navbar/index.mjs"
100
+ },
101
+ "./otp-input": {
102
+ "types": "./otp-input/src/index.d.ts",
103
+ "import": "./otp-input/index.mjs"
104
+ },
105
+ "./pagination": {
106
+ "types": "./pagination/src/index.d.ts",
107
+ "import": "./pagination/index.mjs"
108
+ },
109
+ "./phone-input": {
110
+ "types": "./phone-input/src/index.d.ts",
111
+ "import": "./phone-input/index.mjs"
112
+ },
113
+ "./query-builder": {
114
+ "types": "./query-builder/src/index.d.ts",
115
+ "import": "./query-builder/index.mjs"
116
+ },
117
+ "./radio": {
118
+ "types": "./radio/src/index.d.ts",
119
+ "import": "./radio/index.mjs"
120
+ },
121
+ "./radio-group": {
122
+ "types": "./radio-group/src/index.d.ts",
123
+ "import": "./radio-group/index.mjs"
124
+ },
125
+ "./ribbon": {
126
+ "types": "./ribbon/src/index.d.ts",
127
+ "import": "./ribbon/index.mjs"
128
+ },
129
+ "./scheduler": {
130
+ "types": "./scheduler/src/index.d.ts",
131
+ "import": "./scheduler/index.mjs"
132
+ },
133
+ "./select": {
134
+ "types": "./select/src/index.d.ts",
135
+ "import": "./select/index.mjs"
136
+ },
137
+ "./shell": {
138
+ "types": "./shell/src/index.d.ts",
139
+ "import": "./shell/index.mjs"
140
+ },
141
+ "./signature-pad": {
142
+ "types": "./signature-pad/src/index.d.ts",
143
+ "import": "./signature-pad/index.mjs"
144
+ },
145
+ "./splitter": {
146
+ "types": "./splitter/src/index.d.ts",
147
+ "import": "./splitter/index.mjs"
148
+ },
149
+ "./tab-control": {
150
+ "types": "./tab-control/src/index.d.ts",
151
+ "import": "./tab-control/index.mjs"
152
+ },
153
+ "./tile-manager": {
154
+ "types": "./tile-manager/src/index.d.ts",
155
+ "import": "./tile-manager/index.mjs"
156
+ },
157
+ "./timeline": {
158
+ "types": "./timeline/src/index.d.ts",
159
+ "import": "./timeline/index.mjs"
160
+ },
161
+ "./timepicker": {
162
+ "types": "./timepicker/src/index.d.ts",
163
+ "import": "./timepicker/index.mjs"
164
+ },
165
+ "./toggle-button": {
166
+ "types": "./toggle-button/src/index.d.ts",
167
+ "import": "./toggle-button/index.mjs"
168
+ },
169
+ "./tree-select": {
170
+ "types": "./tree-select/src/index.d.ts",
171
+ "import": "./tree-select/index.mjs"
172
+ },
173
+ "./treeview": {
174
+ "types": "./treeview/src/index.d.ts",
175
+ "import": "./treeview/index.mjs"
176
+ }
29
177
  },
30
178
  "peerDependencies": {
31
179
  "react": "^19.0.0",
@@ -36,4 +184,4 @@
36
184
  "dependencies": {
37
185
  "tslib": "^2.3.0"
38
186
  }
39
- }
187
+ }
@@ -0,0 +1,15 @@
1
+ import * as e from "react";
2
+ import { createComponent as n } from "@lit/react";
3
+ import { MpPhoneInput as o } from "@mintplayer/web-components/phone-input";
4
+ const p = n({
5
+ react: e,
6
+ tagName: "mp-phone-input",
7
+ elementClass: o,
8
+ events: {
9
+ onValueChange: "value-change",
10
+ onCountryChange: "country-change"
11
+ }
12
+ });
13
+ export {
14
+ p as BsPhoneInput
15
+ };
@@ -0,0 +1,22 @@
1
+ import { EventName } from '@lit/react';
2
+ import { MpPhoneInput, CountryChangeEventDetail, PhoneChangeEventDetail } from '@mintplayer/web-components/phone-input';
3
+ /**
4
+ * React wrapper for `<mp-phone-input>`: country picker with flags, a dial code
5
+ * that cannot be edited away, and as-you-type formatting. `value` is E.164.
6
+ *
7
+ * Controlled usage is `value` + `onValueChange`, whose detail carries the
8
+ * decomposed parts — `valid` is `undefined` until the selected country's rules
9
+ * have loaded, which is deliberate rather than optimistic.
10
+ *
11
+ * ```tsx
12
+ * <BsPhoneInput
13
+ * value={phone}
14
+ * defaultCountry="be"
15
+ * onValueChange={(e) => setPhone(e.detail.value)}
16
+ * />
17
+ * ```
18
+ */
19
+ export declare const BsPhoneInput: import('@lit/react').ReactWebComponent<MpPhoneInput, {
20
+ onValueChange: EventName<CustomEvent<PhoneChangeEventDetail>>;
21
+ onCountryChange: EventName<CustomEvent<CountryChangeEventDetail>>;
22
+ }>;
@@ -0,0 +1 @@
1
+ export { BsPhoneInput } from './BsPhoneInput';