@mintplayer/react-bootstrap 19.18.0 → 19.19.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 (2) hide show
  1. package/README.md +15 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,3 +5,18 @@ This library was generated with [Nx](https://nx.dev).
5
5
  ## Running unit tests
6
6
 
7
7
  Run `nx test mintplayer-react-bootstrap` to execute the unit tests via [Vitest](https://vitest.dev/).
8
+
9
+ ## Styling and encapsulation
10
+
11
+ Most components keep a shadow root and take your content through native slots, so your stylesheets
12
+ reach that content normally.
13
+
14
+ ``BsDatatable`, `BsTreeview`, `BsTreeSelect` and `BsQueryBuilder`` mount DOM you author (row / node templates, cell renderers,
15
+ editor factories) and therefore render in the **light DOM**, with their own CSS scoped at build time
16
+ onto a `data-mps` attribute — the same device Angular uses for `_ngcontent`. Your styles and
17
+ Bootstrap's utilities reach anything you render into them; in exchange, page CSS also reaches their
18
+ internals, exactly as emulated encapsulation behaves elsewhere. `::part()` and `::slotted()` no
19
+ longer address them.
20
+
21
+ See **Styling and encapsulation** in the [workspace README](../../README.md) for the full contract
22
+ and the migration table.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintplayer/react-bootstrap",
3
- "version": "19.18.0",
3
+ "version": "19.19.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": {