baseui 0.0.0-next-0b8a514 → 0.0.0-next-17879f0
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/data-table/column-categorical.js +2 -1
- package/data-table/column-categorical.js.flow +1 -0
- package/es/data-table/column-categorical.js +2 -1
- package/es/pagination/pagination.js +4 -2
- package/esm/data-table/column-categorical.js +2 -1
- package/esm/pagination/pagination.js +4 -2
- package/package.json +1 -1
- package/pagination/pagination.js +4 -2
|
@@ -211,7 +211,8 @@ function CategoricalFilter(props) {
|
|
|
211
211
|
className: css({
|
|
212
212
|
maxHeight: '256px',
|
|
213
213
|
overflowY: 'auto',
|
|
214
|
-
marginTop: theme.sizing.scale600
|
|
214
|
+
marginTop: theme.sizing.scale600,
|
|
215
|
+
position: 'relative'
|
|
215
216
|
})
|
|
216
217
|
}, !filteredCategories.length && /*#__PURE__*/React.createElement(_typography.LabelSmall, null, locale.datatable.categoricalFilterEmpty), Boolean(filteredCategories.length) && filteredCategories.map(function (category, i) {
|
|
217
218
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -140,7 +140,8 @@ export function CategoricalFilter(props) {
|
|
|
140
140
|
className: css({
|
|
141
141
|
maxHeight: '256px',
|
|
142
142
|
overflowY: 'auto',
|
|
143
|
-
marginTop: theme.sizing.scale600
|
|
143
|
+
marginTop: theme.sizing.scale600,
|
|
144
|
+
position: 'relative'
|
|
144
145
|
})
|
|
145
146
|
}, !filteredCategories.length && /*#__PURE__*/React.createElement(LabelSmall, null, locale.datatable.categoricalFilterEmpty), Boolean(filteredCategories.length) && filteredCategories.map((category, i) => /*#__PURE__*/React.createElement("div", {
|
|
146
147
|
className: checkboxStyles,
|
|
@@ -210,7 +210,8 @@ export default class Pagination extends React.PureComponent {
|
|
|
210
210
|
overrides: {
|
|
211
211
|
BaseButton: overrides.PrevButton
|
|
212
212
|
},
|
|
213
|
-
size: size
|
|
213
|
+
size: size,
|
|
214
|
+
type: "button"
|
|
214
215
|
}, labels && labels.prevButton ? labels.prevButton : locale.pagination.prev), /*#__PURE__*/React.createElement(DropdownContainer, _extends({
|
|
215
216
|
$isFocusVisible: this.state.isFocusVisible
|
|
216
217
|
}, dropdownContainerProps, {
|
|
@@ -248,7 +249,8 @@ export default class Pagination extends React.PureComponent {
|
|
|
248
249
|
overrides: {
|
|
249
250
|
BaseButton: overrides.NextButton
|
|
250
251
|
},
|
|
251
|
-
size: size
|
|
252
|
+
size: size,
|
|
253
|
+
type: "button"
|
|
252
254
|
}, labels && labels.nextButton ? labels.nextButton : locale.pagination.next))));
|
|
253
255
|
}
|
|
254
256
|
|
|
@@ -189,7 +189,8 @@ export function CategoricalFilter(props) {
|
|
|
189
189
|
className: css({
|
|
190
190
|
maxHeight: '256px',
|
|
191
191
|
overflowY: 'auto',
|
|
192
|
-
marginTop: theme.sizing.scale600
|
|
192
|
+
marginTop: theme.sizing.scale600,
|
|
193
|
+
position: 'relative'
|
|
193
194
|
})
|
|
194
195
|
}, !filteredCategories.length && /*#__PURE__*/React.createElement(LabelSmall, null, locale.datatable.categoricalFilterEmpty), Boolean(filteredCategories.length) && filteredCategories.map(function (category, i) {
|
|
195
196
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -285,7 +285,8 @@ var Pagination = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
285
285
|
overrides: {
|
|
286
286
|
BaseButton: overrides.PrevButton
|
|
287
287
|
},
|
|
288
|
-
size: size
|
|
288
|
+
size: size,
|
|
289
|
+
type: "button"
|
|
289
290
|
}, labels && labels.prevButton ? labels.prevButton : locale.pagination.prev), /*#__PURE__*/React.createElement(DropdownContainer, _extends({
|
|
290
291
|
$isFocusVisible: _this2.state.isFocusVisible
|
|
291
292
|
}, dropdownContainerProps, {
|
|
@@ -323,7 +324,8 @@ var Pagination = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
323
324
|
overrides: {
|
|
324
325
|
BaseButton: overrides.NextButton
|
|
325
326
|
},
|
|
326
|
-
size: size
|
|
327
|
+
size: size,
|
|
328
|
+
type: "button"
|
|
327
329
|
}, labels && labels.nextButton ? labels.nextButton : locale.pagination.next));
|
|
328
330
|
});
|
|
329
331
|
});
|
package/package.json
CHANGED
package/pagination/pagination.js
CHANGED
|
@@ -300,7 +300,8 @@ var Pagination = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
300
300
|
overrides: {
|
|
301
301
|
BaseButton: overrides.PrevButton
|
|
302
302
|
},
|
|
303
|
-
size: size
|
|
303
|
+
size: size,
|
|
304
|
+
type: "button"
|
|
304
305
|
}, labels && labels.prevButton ? labels.prevButton : locale.pagination.prev), /*#__PURE__*/React.createElement(DropdownContainer, _extends({
|
|
305
306
|
$isFocusVisible: _this2.state.isFocusVisible
|
|
306
307
|
}, dropdownContainerProps, {
|
|
@@ -338,7 +339,8 @@ var Pagination = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
338
339
|
overrides: {
|
|
339
340
|
BaseButton: overrides.NextButton
|
|
340
341
|
},
|
|
341
|
-
size: size
|
|
342
|
+
size: size,
|
|
343
|
+
type: "button"
|
|
342
344
|
}, labels && labels.nextButton ? labels.nextButton : locale.pagination.next));
|
|
343
345
|
});
|
|
344
346
|
});
|