@webority/ui-react 0.101.4 → 0.101.5
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/dist/canvas-kit/kit.js
CHANGED
|
@@ -59669,7 +59669,7 @@ var hO, gO, _O, vO, yO, bO, xO, SO, CO, wO, TO, EO, DO, OO, kO, AO, jO, MO, NO,
|
|
|
59669
59669
|
}, { threshold: .05 }), this._intersection.observe(this)) : this._visible = !0, this._update();
|
|
59670
59670
|
}
|
|
59671
59671
|
disconnectedCallback() {
|
|
59672
|
-
IRe(this), this._resizeObserver?.disconnect(), this._intersection?.disconnect(), this._engine?.dispose(), this._engine = null, this._drawn = !1, this._parts = null;
|
|
59672
|
+
IRe(this), this._resizeObserver?.disconnect(), this._intersection?.disconnect(), this._engine?.dispose(), this._engine = null, this._drawn = !1, this._parts = null, this.removeAttribute("data-ready");
|
|
59673
59673
|
}
|
|
59674
59674
|
attributeChangedCallback(e, t, n) {
|
|
59675
59675
|
t === n || !this._parts || (wD("view", n, uG), this._update());
|
|
@@ -59747,8 +59747,10 @@ var hO, gO, _O, vO, yO, bO, xO, SO, CO, wO, TO, EO, DO, OO, kO, AO, jO, MO, NO,
|
|
|
59747
59747
|
this._renderTable(e);
|
|
59748
59748
|
} else n.tableWrap.replaceChildren();
|
|
59749
59749
|
s || this._renderLegend(e, o && !a), this._renderState(r, t ?? (r === "error" ? e.errorText : e?.emptyText), i, o);
|
|
59750
|
-
let c =
|
|
59751
|
-
|
|
59750
|
+
let c = r === "ready" && !a;
|
|
59751
|
+
s || this.toggleAttribute("data-ready", !c);
|
|
59752
|
+
let l = n.surface.hidden && o && !a;
|
|
59753
|
+
n.surface.hidden = !o || a, n.surface.style.height = i, n.tableWrap.className = a && e ? "wui-chart-table-wrap" : "wui-chart-table-wrap visually-hidden", n.tableWrap.style.height = a && e ? i : "", a && e ? (n.tableWrap.tabIndex = 0, n.tableWrap.setAttribute("role", "region"), n.tableWrap.setAttribute("aria-label", `${e.title || "Chart"} data`)) : (n.tableWrap.removeAttribute("tabindex"), n.tableWrap.removeAttribute("role"), n.tableWrap.removeAttribute("aria-label")), l && this._engine?.resize(), r === "ready" && !a && this._visible && this._draw();
|
|
59752
59754
|
}
|
|
59753
59755
|
_renderState(e, t, n, r) {
|
|
59754
59756
|
let i = this._parts.state, a = !r && e !== "ready";
|
|
@@ -59804,7 +59806,7 @@ var hO, gO, _O, vO, yO, bO, xO, SO, CO, wO, TO, EO, DO, OO, kO, AO, jO, MO, NO,
|
|
|
59804
59806
|
this._engine && this._engine.renderer !== t && (this._engine.dispose(), this._engine = null);
|
|
59805
59807
|
let r = `${e.height}px`, i = this._parts.canvas.style.height !== r;
|
|
59806
59808
|
this._parts.canvas.style.height = r, i && this._engine?.resize(), this._engine || (this._engine = PRe(this._parts.canvas, { renderer: t }), this._engine.onSelect(({ seriesIndex: e, dataIndex: t }) => this._select(e, t)), this._engine.onFinished(() => {
|
|
59807
|
-
this._announcedReady
|
|
59809
|
+
this.setAttribute("data-ready", ""), !this._announcedReady && (this._announcedReady = !0, this.dispatchEvent(new CustomEvent(HVe, {
|
|
59808
59810
|
bubbles: !0,
|
|
59809
59811
|
detail: { renderer: t }
|
|
59810
59812
|
})));
|
|
@@ -132610,9 +132612,9 @@ var Ggt = u(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
|
|
|
132610
132612
|
kind: "WeborityWeb",
|
|
132611
132613
|
library: {
|
|
132612
132614
|
name: "@webority/ui-react",
|
|
132613
|
-
version: "0.101.
|
|
132615
|
+
version: "0.101.5"
|
|
132614
132616
|
},
|
|
132615
|
-
rendererProtocolVersion:
|
|
132617
|
+
rendererProtocolVersion: 12,
|
|
132616
132618
|
platform: "Web",
|
|
132617
132619
|
kitModuleVersion: 2,
|
|
132618
132620
|
productKit: null,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webority-web",
|
|
3
|
-
"version": "0.101.
|
|
3
|
+
"version": "0.101.5",
|
|
4
4
|
"platform": "Web",
|
|
5
5
|
"kitModuleVersion": 2,
|
|
6
|
-
"rendererProtocolVersion":
|
|
6
|
+
"rendererProtocolVersion": 12,
|
|
7
7
|
"library": {
|
|
8
8
|
"name": "@webority/ui-react",
|
|
9
|
-
"version": "0.101.
|
|
9
|
+
"version": "0.101.5"
|
|
10
10
|
},
|
|
11
11
|
"files": {
|
|
12
12
|
"manifest.json": {
|
|
13
|
-
"sha256": "
|
|
13
|
+
"sha256": "adafa71d65ea6b51b71a3829e2ebcabc8e484cc2d1b496c94ca867a7df5c8b8e",
|
|
14
14
|
"bytes": 844310
|
|
15
15
|
},
|
|
16
16
|
"kit.js": {
|
|
17
|
-
"sha256": "
|
|
18
|
-
"bytes":
|
|
17
|
+
"sha256": "88859cfd65ad342b08f033cc35a5f5a259f350145a2dfd465348ae8426dbcba9",
|
|
18
|
+
"bytes": 10864400
|
|
19
19
|
},
|
|
20
20
|
"kit.css": {
|
|
21
21
|
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
package/dist/guidance.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/ui-react",
|
|
3
|
-
"version": "0.101.
|
|
3
|
+
"version": "0.101.5",
|
|
4
4
|
"description": "Webority shared React component library — App* primitives on react-bootstrap + the @webority/theme design system.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "module",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@webority/
|
|
33
|
-
"@webority/
|
|
32
|
+
"@webority/theme": "0.101.5",
|
|
33
|
+
"@webority/ui-elements": "0.101.5"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@webority/analytics": "^0.28.0",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"typescript": "^7.0.2",
|
|
57
57
|
"vite": "^8.0.12",
|
|
58
58
|
"vitest": "5.0.1",
|
|
59
|
-
"@webority/
|
|
60
|
-
"@webority/
|
|
59
|
+
"@webority/canvas-kit": "0.101.5",
|
|
60
|
+
"@webority/tokens": "0.101.5"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"build": "vite build && tsc -p tsconfig.json && node ../../scripts/inject-meta-docs.mjs && node ../canvas-kit/dist/cli.js build --config canvas-kit.json --out dist/canvas-kit && node ../canvas-kit/dist/cli.js guidance --config canvas-kit.json --out dist/guidance.json && node ../../scripts/sync-rcl-assets.mjs analytics",
|