@xh/hoist 78.0.0-SNAPSHOT.1763398903260 → 78.0.0-SNAPSHOT.1763504782361
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.xh-zone-mapper {
|
|
2
2
|
width: 350px;
|
|
3
|
-
height:
|
|
3
|
+
height: 550px;
|
|
4
4
|
|
|
5
5
|
&__zone-picker {
|
|
6
6
|
padding: var(--xh-pad-px);
|
|
@@ -25,8 +25,10 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&--selected {
|
|
28
|
-
box-shadow:
|
|
29
|
-
|
|
28
|
+
box-shadow:
|
|
29
|
+
inset 0 0 0 1px var(--xh-intent-warning),
|
|
30
|
+
inset 0 1px 1px var(--xh-intent-warning);
|
|
31
|
+
background: var(--xh-intent-warning-trans1);
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
&.tl {
|
|
@@ -75,7 +77,11 @@
|
|
|
75
77
|
}
|
|
76
78
|
|
|
77
79
|
&__intro-text {
|
|
78
|
-
padding: var(--xh-pad-px);
|
|
80
|
+
padding: var(--xh-pad-px) var(--xh-pad-px) 0 var(--xh-pad-px);
|
|
79
81
|
font-size: var(--xh-font-size-small-px);
|
|
82
|
+
|
|
83
|
+
.xh-icon {
|
|
84
|
+
margin-right: 2px;
|
|
85
|
+
}
|
|
80
86
|
}
|
|
81
87
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import '@xh/hoist/desktop/register';
|
|
8
8
|
import {hoistCmp, HoistModel, lookup, managed, useLocalModel, uses} from '@xh/hoist/core';
|
|
9
|
-
import {div, filler, hbox, hframe, span, vbox} from '@xh/hoist/cmp/layout';
|
|
9
|
+
import {div, filler, hbox, hframe, p, span, vbox} from '@xh/hoist/cmp/layout';
|
|
10
10
|
import {panel} from '@xh/hoist/desktop/cmp/panel';
|
|
11
11
|
import {grid, GridModel} from '@xh/hoist/cmp/grid';
|
|
12
12
|
import {checkbox} from '@xh/hoist/desktop/cmp/input';
|
|
@@ -70,12 +70,20 @@ export const [ZoneMapper, zoneMapper] = hoistCmp.withFactory<ZoneMapperModel>({
|
|
|
70
70
|
}
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
const introText = hoistCmp.factory({
|
|
74
|
-
render() {
|
|
73
|
+
const introText = hoistCmp.factory<ZoneMapperModel>({
|
|
74
|
+
render({model}) {
|
|
75
75
|
return div({
|
|
76
76
|
className: 'xh-zone-mapper__intro-text',
|
|
77
77
|
items: [
|
|
78
|
-
|
|
78
|
+
p(
|
|
79
|
+
Icon.questionCircle(),
|
|
80
|
+
'Click to highlight any of the four quadrants in the sample row below, then check the field(s) you wish to show in that zone.'
|
|
81
|
+
),
|
|
82
|
+
p('Fields will be shown in the order they are selected.'),
|
|
83
|
+
p({
|
|
84
|
+
omit: model.headersAreHidden,
|
|
85
|
+
item: 'The first field within the top two zones will always be labelled by the column headers.'
|
|
86
|
+
})
|
|
79
87
|
]
|
|
80
88
|
});
|
|
81
89
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "78.0.0-SNAPSHOT.
|
|
3
|
+
"version": "78.0.0-SNAPSHOT.1763504782361",
|
|
4
4
|
"description": "Hoist add-on for building and deploying React Applications.",
|
|
5
5
|
"repository": "github:xh/hoist-react",
|
|
6
6
|
"homepage": "https://xh.io",
|