@prt-ts/fluent-react-table-v2 9.48.0-build-1.1 → 9.48.0-build-1.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/index.cjs.js +15 -14
- package/index.esm.js +15 -14
- package/package.json +1 -1
- package/src/lib/components/no-item/NoItemGrid.d.ts +1 -1
package/index.cjs.js
CHANGED
|
@@ -169,23 +169,24 @@ const GroupExpandedIcon = reactIcons.bundleIcon(reactIcons.ChevronDownRegular, r
|
|
|
169
169
|
reactIcons.bundleIcon(reactIcons.DragFilled, reactIcons.DragRegular);
|
|
170
170
|
|
|
171
171
|
const useGridHeaderStyles = reactComponents.makeStyles({
|
|
172
|
-
tableTopHeaderContainer: Object.assign({ display:
|
|
172
|
+
tableTopHeaderContainer: Object.assign(Object.assign({ display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end', flexWrap: 'wrap', width: '100%', backgroundColor: reactComponents.tokens.colorNeutralStroke2, boxShadow: reactComponents.tokens.shadow2 }, reactComponents.shorthands.padding('5px')), reactComponents.shorthands.borderBottom('1px', 'solid', reactComponents.tokens.colorNeutralStroke1)),
|
|
173
173
|
tableTopHeaderLeft: {
|
|
174
|
-
display:
|
|
175
|
-
justifyContent:
|
|
174
|
+
display: 'flex',
|
|
175
|
+
justifyContent: 'flex-start',
|
|
176
|
+
flexWrap: 'wrap',
|
|
176
177
|
},
|
|
177
|
-
tableTopHeaderRight: Object.assign({ display:
|
|
178
|
+
tableTopHeaderRight: Object.assign(Object.assign({ display: 'flex', justifyContent: 'flex-end' }, reactComponents.shorthands.gap('3px')), { flexWrap: 'wrap' }),
|
|
178
179
|
tableTopHeaderColumnTogglePopover: {
|
|
179
|
-
display:
|
|
180
|
-
flexDirection:
|
|
181
|
-
justifyContent:
|
|
182
|
-
alignItems:
|
|
183
|
-
width:
|
|
184
|
-
height:
|
|
180
|
+
display: 'flex',
|
|
181
|
+
flexDirection: 'column',
|
|
182
|
+
justifyContent: 'flex-start',
|
|
183
|
+
alignItems: 'flex-start',
|
|
184
|
+
width: '100%',
|
|
185
|
+
height: '100%',
|
|
185
186
|
},
|
|
186
187
|
popoverSurface: {
|
|
187
|
-
minWidth:
|
|
188
|
-
}
|
|
188
|
+
minWidth: '300px',
|
|
189
|
+
},
|
|
189
190
|
});
|
|
190
191
|
|
|
191
192
|
const GridHeader = (props) => {
|
|
@@ -756,9 +757,9 @@ const useNoItemGridStyles = reactComponents.makeStyles({
|
|
|
756
757
|
}
|
|
757
758
|
});
|
|
758
759
|
|
|
759
|
-
const NoItemGrid = ({ message }) => {
|
|
760
|
+
const NoItemGrid = ({ message, }) => {
|
|
760
761
|
const styles = useNoItemGridStyles();
|
|
761
|
-
return (jsxRuntime.jsx("div", { className: styles.wrapper, children: jsxRuntime.jsx(
|
|
762
|
+
return (jsxRuntime.jsx("div", { className: styles.wrapper, children: jsxRuntime.jsx(reactControlFlow.Show, { when: !!message, fallback: jsxRuntime.jsx(reactComponents.Subtitle2Stronger, { children: "No data to show." }), children: message }) }));
|
|
762
763
|
};
|
|
763
764
|
|
|
764
765
|
const useNoFilterMatchStyles = reactComponents.makeStyles({
|
package/index.esm.js
CHANGED
|
@@ -147,23 +147,24 @@ const GroupExpandedIcon = bundleIcon(ChevronDownRegular, ChevronDownFilled);
|
|
|
147
147
|
bundleIcon(DragFilled, DragRegular);
|
|
148
148
|
|
|
149
149
|
const useGridHeaderStyles = makeStyles({
|
|
150
|
-
tableTopHeaderContainer: Object.assign({ display:
|
|
150
|
+
tableTopHeaderContainer: Object.assign(Object.assign({ display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end', flexWrap: 'wrap', width: '100%', backgroundColor: tokens.colorNeutralStroke2, boxShadow: tokens.shadow2 }, shorthands.padding('5px')), shorthands.borderBottom('1px', 'solid', tokens.colorNeutralStroke1)),
|
|
151
151
|
tableTopHeaderLeft: {
|
|
152
|
-
display:
|
|
153
|
-
justifyContent:
|
|
152
|
+
display: 'flex',
|
|
153
|
+
justifyContent: 'flex-start',
|
|
154
|
+
flexWrap: 'wrap',
|
|
154
155
|
},
|
|
155
|
-
tableTopHeaderRight: Object.assign({ display:
|
|
156
|
+
tableTopHeaderRight: Object.assign(Object.assign({ display: 'flex', justifyContent: 'flex-end' }, shorthands.gap('3px')), { flexWrap: 'wrap' }),
|
|
156
157
|
tableTopHeaderColumnTogglePopover: {
|
|
157
|
-
display:
|
|
158
|
-
flexDirection:
|
|
159
|
-
justifyContent:
|
|
160
|
-
alignItems:
|
|
161
|
-
width:
|
|
162
|
-
height:
|
|
158
|
+
display: 'flex',
|
|
159
|
+
flexDirection: 'column',
|
|
160
|
+
justifyContent: 'flex-start',
|
|
161
|
+
alignItems: 'flex-start',
|
|
162
|
+
width: '100%',
|
|
163
|
+
height: '100%',
|
|
163
164
|
},
|
|
164
165
|
popoverSurface: {
|
|
165
|
-
minWidth:
|
|
166
|
-
}
|
|
166
|
+
minWidth: '300px',
|
|
167
|
+
},
|
|
167
168
|
});
|
|
168
169
|
|
|
169
170
|
const GridHeader = (props) => {
|
|
@@ -734,9 +735,9 @@ const useNoItemGridStyles = makeStyles({
|
|
|
734
735
|
}
|
|
735
736
|
});
|
|
736
737
|
|
|
737
|
-
const NoItemGrid = ({ message }) => {
|
|
738
|
+
const NoItemGrid = ({ message, }) => {
|
|
738
739
|
const styles = useNoItemGridStyles();
|
|
739
|
-
return (jsx("div", { className: styles.wrapper, children: jsx(
|
|
740
|
+
return (jsx("div", { className: styles.wrapper, children: jsx(Show, { when: !!message, fallback: jsx(Subtitle2Stronger, { children: "No data to show." }), children: message }) }));
|
|
740
741
|
};
|
|
741
742
|
|
|
742
743
|
const useNoFilterMatchStyles = makeStyles({
|
package/package.json
CHANGED