@mackin.com/styleguide 9.3.0 → 9.3.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.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1434,7 +1434,7 @@ const Calendar = (p) => {
|
|
|
1434
1434
|
};
|
|
1435
1435
|
|
|
1436
1436
|
const Checkbox = (props) => {
|
|
1437
|
-
const inputProps = __rest(props, ["
|
|
1437
|
+
const inputProps = __rest(props, ["onChange", "label", "checkedIcon", "uncheckedIcon", "checkedThemeColor", "checkedColor", "readOnly"]);
|
|
1438
1438
|
const selected = props.checkedIcon || 'selected';
|
|
1439
1439
|
const unselected = props.uncheckedIcon || 'unselected';
|
|
1440
1440
|
const theme = useThemeSafely();
|
|
@@ -3355,7 +3355,7 @@ class ItemPager {
|
|
|
3355
3355
|
var _a, _b, _c, _d;
|
|
3356
3356
|
this._page = 0;
|
|
3357
3357
|
this._allItems = allItems || [];
|
|
3358
|
-
this._limitOptions = (
|
|
3358
|
+
this._limitOptions = (options === null || options === void 0 ? void 0 : options.limitOptions) || ((_a = options === null || options === void 0 ? void 0 : options.previous) === null || _a === void 0 ? void 0 : _a.limitOptions) || [10];
|
|
3359
3359
|
this._limit = ((_b = options === null || options === void 0 ? void 0 : options.previous) === null || _b === void 0 ? void 0 : _b.limit) || (options === null || options === void 0 ? void 0 : options.limit) || 10;
|
|
3360
3360
|
this._filteredItems = [...allItems];
|
|
3361
3361
|
this._pageResult = this.createPageResult();
|