@webority/ui-react 0.146.0 → 0.146.2
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 +5 -3
- package/dist/canvas-kit/manifest.json +4 -3
- package/dist/canvas-kit/release.json +6 -6
- package/dist/components/AppDashboardCell.js +1 -1
- package/dist/guidance.json +3 -3
- package/dist/types/components/AppDashboardCell.d.ts +3 -3
- package/dist/types/components/AppDashboardGrid.d.ts +1 -1
- package/package.json +8 -8
package/dist/canvas-kit/kit.js
CHANGED
|
@@ -63634,6 +63634,7 @@ var $Ge = [
|
|
|
63634
63634
|
3,
|
|
63635
63635
|
4,
|
|
63636
63636
|
6,
|
|
63637
|
+
8,
|
|
63637
63638
|
12
|
|
63638
63639
|
];
|
|
63639
63640
|
function eKe(e) {
|
|
@@ -134435,7 +134436,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
|
|
|
134435
134436
|
kind: "WeborityWeb",
|
|
134436
134437
|
library: {
|
|
134437
134438
|
name: "@webority/ui-react",
|
|
134438
|
-
version: "0.146.
|
|
134439
|
+
version: "0.146.2"
|
|
134439
134440
|
},
|
|
134440
134441
|
rendererProtocolVersion: 13,
|
|
134441
134442
|
platform: "Web",
|
|
@@ -140780,6 +140781,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
|
|
|
140780
140781
|
3,
|
|
140781
140782
|
4,
|
|
140782
140783
|
6,
|
|
140784
|
+
8,
|
|
140783
140785
|
12
|
|
140784
140786
|
],
|
|
140785
140787
|
required: !1,
|
|
@@ -140792,7 +140794,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
|
|
|
140792
140794
|
usage: {
|
|
140793
140795
|
when: ["Inside an AppDashboardGrid, to say how many of its twelve columns a card or tile takes.", "A card or tile inside should fill the cell's height."],
|
|
140794
140796
|
whenNot: [{
|
|
140795
|
-
text: "A layout that needs other widths than 3, 4, 6 or 12.",
|
|
140797
|
+
text: "A layout that needs other widths than 3, 4, 6, 8 or 12.",
|
|
140796
140798
|
instead: "Bootstrap's Row and Col"
|
|
140797
140799
|
}],
|
|
140798
140800
|
do: [],
|
|
@@ -140820,7 +140822,7 @@ var lSt = d(function({ compact: r, tenant: i, "aria-label": a, className: o, ...
|
|
|
140820
140822
|
text: "A form or a content page.",
|
|
140821
140823
|
instead: "AppFormSection"
|
|
140822
140824
|
}, {
|
|
140823
|
-
text: "A layout that needs other widths than 3, 4, 6 or 12.",
|
|
140825
|
+
text: "A layout that needs other widths than 3, 4, 6, 8 or 12.",
|
|
140824
140826
|
instead: "Bootstrap's Row and Col"
|
|
140825
140827
|
}],
|
|
140826
140828
|
do: [],
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"kind": "WeborityWeb",
|
|
3
3
|
"library": {
|
|
4
4
|
"name": "@webority/ui-react",
|
|
5
|
-
"version": "0.146.
|
|
5
|
+
"version": "0.146.2"
|
|
6
6
|
},
|
|
7
7
|
"rendererProtocolVersion": 13,
|
|
8
8
|
"platform": "Web",
|
|
@@ -6962,6 +6962,7 @@
|
|
|
6962
6962
|
3,
|
|
6963
6963
|
4,
|
|
6964
6964
|
6,
|
|
6965
|
+
8,
|
|
6965
6966
|
12
|
|
6966
6967
|
],
|
|
6967
6968
|
"required": false,
|
|
@@ -6979,7 +6980,7 @@
|
|
|
6979
6980
|
],
|
|
6980
6981
|
"whenNot": [
|
|
6981
6982
|
{
|
|
6982
|
-
"text": "A layout that needs other widths than 3, 4, 6 or 12.",
|
|
6983
|
+
"text": "A layout that needs other widths than 3, 4, 6, 8 or 12.",
|
|
6983
6984
|
"instead": "Bootstrap's Row and Col"
|
|
6984
6985
|
}
|
|
6985
6986
|
],
|
|
@@ -7018,7 +7019,7 @@
|
|
|
7018
7019
|
"instead": "AppFormSection"
|
|
7019
7020
|
},
|
|
7020
7021
|
{
|
|
7021
|
-
"text": "A layout that needs other widths than 3, 4, 6 or 12.",
|
|
7022
|
+
"text": "A layout that needs other widths than 3, 4, 6, 8 or 12.",
|
|
7022
7023
|
"instead": "Bootstrap's Row and Col"
|
|
7023
7024
|
}
|
|
7024
7025
|
],
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webority-web",
|
|
3
|
-
"version": "0.146.
|
|
3
|
+
"version": "0.146.2",
|
|
4
4
|
"platform": "Web",
|
|
5
5
|
"kitModuleVersion": 2,
|
|
6
6
|
"rendererProtocolVersion": 13,
|
|
7
7
|
"library": {
|
|
8
8
|
"name": "@webority/ui-react",
|
|
9
|
-
"version": "0.146.
|
|
9
|
+
"version": "0.146.2"
|
|
10
10
|
},
|
|
11
11
|
"files": {
|
|
12
12
|
"manifest.json": {
|
|
13
|
-
"sha256": "
|
|
14
|
-
"bytes":
|
|
13
|
+
"sha256": "2ba5d3a1f01b4686b36c0054d96f56e953f7430243ca9313fc543b4871df56a5",
|
|
14
|
+
"bytes": 983608
|
|
15
15
|
},
|
|
16
16
|
"kit.js": {
|
|
17
|
-
"sha256": "
|
|
18
|
-
"bytes":
|
|
17
|
+
"sha256": "62d043120d96c6f006d12d53f1d7894a20ea6f99da21f336c53d22cfea73954e",
|
|
18
|
+
"bytes": 11176046
|
|
19
19
|
},
|
|
20
20
|
"kit.css": {
|
|
21
21
|
"sha256": "13b14f71fb6ea024945f95cba617b4f1d49f44a65ba7c7ed05d2354805539ef6",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{splitMarkerProps as e}from"../lib/wuiMarker.js";import t from"./assertValidValue.js";import n from"./warnUnknownProps.js";import{jsx as r}from"react/jsx-runtime";var i=[3,4,6,12];function a(a){let{marker:o,props:s}=e(`AppDashboardCell`,a),{span:c=12,children:l,className:u=``,...d}=s;n(`AppDashboardCell`,d),t(`AppDashboardCell`,`span`,c,i);let f=c===12||!i.includes(c)?``:` wui-dashboard-cell-${c}`;return/* @__PURE__ */ r(`div`,{className:`wui-dashboard-cell${f}${u?` ${u}`:``}`,...o,...d,children:l})}export{a as default};
|
|
1
|
+
import{splitMarkerProps as e}from"../lib/wuiMarker.js";import t from"./assertValidValue.js";import n from"./warnUnknownProps.js";import{jsx as r}from"react/jsx-runtime";var i=[3,4,6,8,12];function a(a){let{marker:o,props:s}=e(`AppDashboardCell`,a),{span:c=12,children:l,className:u=``,...d}=s;n(`AppDashboardCell`,d),t(`AppDashboardCell`,`span`,c,i);let f=c===12||!i.includes(c)?``:` wui-dashboard-cell-${c}`;return/* @__PURE__ */ r(`div`,{className:`wui-dashboard-cell${f}${u?` ${u}`:``}`,...o,...d,children:l})}export{a as default};
|
package/dist/guidance.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"format": "webority-guidance/1",
|
|
3
3
|
"package": {
|
|
4
4
|
"name": "@webority/ui-react",
|
|
5
|
-
"version": "0.146.
|
|
5
|
+
"version": "0.146.2"
|
|
6
6
|
},
|
|
7
7
|
"components": [
|
|
8
8
|
{
|
|
@@ -2590,7 +2590,7 @@
|
|
|
2590
2590
|
],
|
|
2591
2591
|
"whenNot": [
|
|
2592
2592
|
{
|
|
2593
|
-
"text": "A layout that needs other widths than 3, 4, 6 or 12.",
|
|
2593
|
+
"text": "A layout that needs other widths than 3, 4, 6, 8 or 12.",
|
|
2594
2594
|
"instead": "Bootstrap's Row and Col"
|
|
2595
2595
|
}
|
|
2596
2596
|
],
|
|
@@ -2615,7 +2615,7 @@
|
|
|
2615
2615
|
"instead": "AppFormSection"
|
|
2616
2616
|
},
|
|
2617
2617
|
{
|
|
2618
|
-
"text": "A layout that needs other widths than 3, 4, 6 or 12.",
|
|
2618
|
+
"text": "A layout that needs other widths than 3, 4, 6, 8 or 12.",
|
|
2619
2619
|
"instead": "Bootstrap's Row and Col"
|
|
2620
2620
|
}
|
|
2621
2621
|
],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* One cell of an `AppDashboardGrid`: it spans 3, 4, 6 or 12 of the twelve columns, and takes the full
|
|
2
|
+
* One cell of an `AppDashboardGrid`: it spans 3, 4, 6, 8 or 12 of the twelve columns, and takes the full
|
|
3
3
|
* width under 576px. A card or tile inside fills the cell's height.
|
|
4
4
|
*
|
|
5
5
|
* @param {object} props
|
|
6
|
-
* @param {3|4|6|12} [props.span]
|
|
6
|
+
* @param {3|4|6|8|12} [props.span]
|
|
7
7
|
* @param {import('react').ReactNode} props.children The card or tile.
|
|
8
8
|
* @param {string} [props.className]
|
|
9
9
|
*/
|
|
@@ -12,7 +12,7 @@ export default function AppDashboardCell(props: {
|
|
|
12
12
|
* How many of the twelve columns the cell spans.
|
|
13
13
|
* @default 12
|
|
14
14
|
*/
|
|
15
|
-
span?: 3 | 4 | 6 | 12;
|
|
15
|
+
span?: 3 | 4 | 6 | 8 | 12;
|
|
16
16
|
children: import('react').ReactNode;
|
|
17
17
|
/**
|
|
18
18
|
* Extra classes on the cell.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The layout of a dashboard: twelve columns of `AppDashboardCell`s that each span 3, 4, 6 or 12 of
|
|
2
|
+
* The layout of a dashboard: twelve columns of `AppDashboardCell`s that each span 3, 4, 6, 8 or 12 of
|
|
3
3
|
* them, and one column under 576px. There is no drag and drop and no saved layout: the page says
|
|
4
4
|
* where each card goes. Put KPI tiles at span 3, charts at 6 or 12, and a wide table at 12.
|
|
5
5
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/ui-react",
|
|
3
|
-
"version": "0.146.
|
|
3
|
+
"version": "0.146.2",
|
|
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,10 +29,10 @@
|
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@webority/markdown-core": "0.146.
|
|
33
|
-
"@webority/theme": "0.146.
|
|
34
|
-
"@webority/ui-elements": "0.146.
|
|
35
|
-
"@webority/web-core": "0.146.
|
|
32
|
+
"@webority/markdown-core": "0.146.2",
|
|
33
|
+
"@webority/theme": "0.146.2",
|
|
34
|
+
"@webority/ui-elements": "0.146.2",
|
|
35
|
+
"@webority/web-core": "0.146.2"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@webority/analytics": "^0.36.0",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"@types/react": "^19.2.17",
|
|
50
50
|
"@vitejs/plugin-react": "^6.0.1",
|
|
51
51
|
"@vitest/coverage-v8": "5.0.1",
|
|
52
|
-
"@webority/analytics": "0.36.
|
|
53
|
-
"@webority/canvas-kit": "0.146.
|
|
54
|
-
"@webority/tokens": "0.146.
|
|
52
|
+
"@webority/analytics": "0.36.1",
|
|
53
|
+
"@webority/canvas-kit": "0.146.2",
|
|
54
|
+
"@webority/tokens": "0.146.2",
|
|
55
55
|
"bootstrap": "5.3.3",
|
|
56
56
|
"jsdom": "30.1.1",
|
|
57
57
|
"react": "^19.2.6",
|