@elliemae/ds-pagination 2.0.2 → 2.1.0-rc.3
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/cjs/styled.js +2 -2
- package/esm/styled.js +1 -1
- package/package.json +7 -7
- package/types/props.d.ts +2 -2
- package/types/styled.d.ts +2 -1
package/cjs/styled.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var Grid = require('@elliemae/ds-grid');
|
|
6
6
|
var dsButton = require('@elliemae/ds-button');
|
|
7
7
|
var styled = require('styled-components');
|
|
8
|
-
var
|
|
8
|
+
var styledComponents = require('@xstyled/styled-components');
|
|
9
9
|
|
|
10
10
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
11
|
|
|
@@ -32,7 +32,7 @@ const PaginationSeparator = /*#__PURE__*/styled__default["default"](Grid__defaul
|
|
|
32
32
|
})(["background-color:", ";width:1px;height:", ";"], props => props.theme.colors.neutral[300], props => props.height || '30px');
|
|
33
33
|
const PaginationBoldText = /*#__PURE__*/styled__default["default"].span.withConfig({
|
|
34
34
|
componentId: "sc-mxz59e-3"
|
|
35
|
-
})(["font-weight:", ";", " ", " position:relative;"], props => props.theme.fontWeights.semibold,
|
|
35
|
+
})(["font-weight:", ";", " ", " position:relative;"], props => props.theme.fontWeights.semibold, styledComponents.typography, styledComponents.space);
|
|
36
36
|
const PaginationDropdownButton = /*#__PURE__*/styled__default["default"](dsButton.DSButtonV2).withConfig({
|
|
37
37
|
componentId: "sc-mxz59e-4"
|
|
38
38
|
})(["height:42px;display:flex;justify-content:center;align-items:center;position:relative;padding-left:16px;padding-right:16px;grid-gap:8px;font-size:13px;color:", ";cursor:pointer;border-radius:0;font-weight:", ";:focus{", "}"], props => props.theme.colors.neutral[700], props => props.theme.fontWeights.regular, styledFocusCss);
|
package/esm/styled.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Grid from '@elliemae/ds-grid';
|
|
2
2
|
import { DSButtonV2 } from '@elliemae/ds-button';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
|
-
import { typography, space } from 'styled-
|
|
4
|
+
import { typography, space } from '@xstyled/styled-components';
|
|
5
5
|
|
|
6
6
|
const sizeToCss = size => typeof size === 'number' && !Number.isNaN(size) ? "".concat(size, "px") : size;
|
|
7
7
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-pagination",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.1.0-rc.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Pagination",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -72,12 +72,12 @@
|
|
|
72
72
|
"build": "node ../../scripts/build/build.js"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@elliemae/ds-button": "2.0.
|
|
76
|
-
"@elliemae/ds-dropdownmenu": "2.0.
|
|
77
|
-
"@elliemae/ds-grid": "2.0.
|
|
78
|
-
"@elliemae/ds-icons": "2.0.
|
|
79
|
-
"@elliemae/ds-props-helpers": "2.0.
|
|
80
|
-
"@elliemae/ds-utilities": "2.0.
|
|
75
|
+
"@elliemae/ds-button": "2.1.0-rc.3",
|
|
76
|
+
"@elliemae/ds-dropdownmenu": "2.1.0-rc.3",
|
|
77
|
+
"@elliemae/ds-grid": "2.1.0-rc.3",
|
|
78
|
+
"@elliemae/ds-icons": "2.1.0-rc.3",
|
|
79
|
+
"@elliemae/ds-props-helpers": "2.1.0-rc.3",
|
|
80
|
+
"@elliemae/ds-utilities": "2.1.0-rc.3",
|
|
81
81
|
"memoize-one": "~5.1.1",
|
|
82
82
|
"react-desc": "~4.1.3"
|
|
83
83
|
},
|
package/types/props.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
2
|
export declare const propTypes: {
|
|
3
3
|
pageCount: {
|
|
4
|
-
defaultValue
|
|
4
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
5
5
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
6
6
|
};
|
|
7
|
-
isRequired: import("react-desc").
|
|
7
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
8
8
|
};
|
|
9
9
|
pageIndex: {
|
|
10
10
|
deprecated: import("react-desc").PropTypesDescValidator;
|
package/types/styled.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { TypographyProps } from '@xstyled/styled-components';
|
|
2
3
|
export declare const PaginationContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
4
|
export declare const PaginationWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
5
|
export declare const PaginationSeparator: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").GridPropsT & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
export declare const PaginationBoldText: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme,
|
|
6
|
+
export declare const PaginationBoldText: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, TypographyProps<import("@xstyled/system").Theme>, never>;
|
|
6
7
|
export declare const PaginationDropdownButton: import("styled-components").StyledComponent<{
|
|
7
8
|
(props: import("@elliemae/ds-button/types/v2/propTypes").DSButtonPropsT): JSX.Element;
|
|
8
9
|
propTypes: import("react").WeakValidationMap<unknown>;
|