@elliemae/ds-pagination 3.1.0-next.2 → 3.1.0-next.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/dist/cjs/styled.js +12 -14
- package/dist/cjs/styled.js.map +2 -2
- package/dist/esm/styled.js +4 -4
- package/dist/esm/styled.js.map +2 -2
- package/package.json +18 -18
package/dist/cjs/styled.js
CHANGED
|
@@ -33,8 +33,6 @@ module.exports = __toCommonJS(styled_exports);
|
|
|
33
33
|
var React = __toESM(require("react"));
|
|
34
34
|
var import_ds_grid = require("@elliemae/ds-grid");
|
|
35
35
|
var import_ds_button = require("@elliemae/ds-button");
|
|
36
|
-
var import_styled_components = __toESM(require("styled-components"));
|
|
37
|
-
var import_styled_components2 = require("@xstyled/styled-components");
|
|
38
36
|
var import_ds_system = require("@elliemae/ds-system");
|
|
39
37
|
const styledFocusCss = import_ds_system.css`
|
|
40
38
|
&:after {
|
|
@@ -50,45 +48,45 @@ const styledFocusCss = import_ds_system.css`
|
|
|
50
48
|
z-index: 7;
|
|
51
49
|
}
|
|
52
50
|
`;
|
|
53
|
-
const PaginationContainer = (0,
|
|
51
|
+
const PaginationContainer = (0, import_ds_system.styled)(import_ds_grid.Grid)`
|
|
54
52
|
height: 42px;
|
|
55
53
|
max-width: 100%;
|
|
56
54
|
align-items: center;
|
|
57
55
|
box-shadow: 0 -1px 3px 0 rgba(0, 0, 0, 0.5);
|
|
58
56
|
position: relative;
|
|
59
57
|
`;
|
|
60
|
-
const PaginationWrapper =
|
|
58
|
+
const PaginationWrapper = import_ds_system.styled.div`
|
|
61
59
|
display: flex;
|
|
62
60
|
justify-content: center;
|
|
63
61
|
align-items: center;
|
|
64
62
|
`;
|
|
65
|
-
const PaginationSeparator = (0,
|
|
63
|
+
const PaginationSeparator = (0, import_ds_system.styled)(import_ds_grid.Grid)`
|
|
66
64
|
background-color: ${(props) => props.theme.colors.neutral[300]};
|
|
67
65
|
width: 1px;
|
|
68
66
|
height: ${(props) => props.height || "30px"};
|
|
69
67
|
`;
|
|
70
|
-
const PaginationBoldText =
|
|
68
|
+
const PaginationBoldText = import_ds_system.styled.span`
|
|
71
69
|
font-weight: ${(props) => props.theme.fontWeights.semibold};
|
|
72
|
-
${
|
|
73
|
-
${
|
|
74
|
-
${
|
|
75
|
-
${
|
|
70
|
+
${import_ds_system.typography}
|
|
71
|
+
${import_ds_system.space}
|
|
72
|
+
${import_ds_system.sizing}
|
|
73
|
+
${import_ds_system.layout}
|
|
76
74
|
position: relative;
|
|
77
75
|
`;
|
|
78
|
-
const InvisibleDetail =
|
|
76
|
+
const InvisibleDetail = import_ds_system.styled.div`
|
|
79
77
|
opacity: 0;
|
|
80
78
|
white-space: nowrap;
|
|
81
79
|
overflow: hidden;
|
|
82
80
|
text-overflow: ellipsis;
|
|
83
81
|
position: absolute;
|
|
84
82
|
`;
|
|
85
|
-
const PaginationDetail =
|
|
83
|
+
const PaginationDetail = import_ds_system.styled.span`
|
|
86
84
|
text-align: left;
|
|
87
85
|
white-space: nowrap;
|
|
88
86
|
overflow: hidden;
|
|
89
87
|
text-overflow: ellipsis;
|
|
90
88
|
`;
|
|
91
|
-
const PaginationDropdownButton = (0,
|
|
89
|
+
const PaginationDropdownButton = (0, import_ds_system.styled)(import_ds_button.DSButtonV2)`
|
|
92
90
|
height: 42px;
|
|
93
91
|
display: grid;
|
|
94
92
|
grid-auto-flow: column;
|
|
@@ -108,7 +106,7 @@ const PaginationDropdownButton = (0, import_styled_components.default)(import_ds
|
|
|
108
106
|
}
|
|
109
107
|
white-space: nowrap;
|
|
110
108
|
`;
|
|
111
|
-
const PreviousNextPageButton = (0,
|
|
109
|
+
const PreviousNextPageButton = (0, import_ds_system.styled)(import_ds_button.DSButtonV2)`
|
|
112
110
|
height: 42px;
|
|
113
111
|
display: grid;
|
|
114
112
|
place-items: center;
|
package/dist/cjs/styled.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/styled.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import { Grid } from '@elliemae/ds-grid';\nimport { DSButtonV2 } from '@elliemae/ds-button';\nimport
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,qBAAqB;AACrB,uBAA2B;AAC3B
|
|
4
|
+
"sourcesContent": ["import { Grid } from '@elliemae/ds-grid';\nimport { DSButtonV2 } from '@elliemae/ds-button';\nimport {\n styled,\n space,\n typography,\n TypographyProps,\n SpaceProps,\n sizing,\n SizingProps,\n layout,\n LayoutProps,\n css,\n} from '@elliemae/ds-system';\n\nconst styledFocusCss = css`\n &:after {\n display: block;\n content: ' ';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border: 2px solid ${({ theme }) => theme.colors.brand[700]};\n pointer-events: none;\n z-index: 7;\n }\n`;\n\nexport const PaginationContainer = styled(Grid)`\n height: 42px;\n max-width: 100%;\n align-items: center;\n box-shadow: 0 -1px 3px 0 rgba(0, 0, 0, 0.5);\n position: relative;\n`;\n\nexport const PaginationWrapper = styled.div`\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\nexport const PaginationSeparator = styled(Grid)`\n background-color: ${(props) => props.theme.colors.neutral[300]};\n width: 1px;\n height: ${(props) => props.height || '30px'};\n`;\n\nexport const PaginationBoldText = styled.span<TypographyProps & SpaceProps & SizingProps & LayoutProps>`\n font-weight: ${(props) => props.theme.fontWeights.semibold};\n ${typography}\n ${space}\n ${sizing}\n ${layout}\n position: relative;\n`;\n\nexport const InvisibleDetail = styled.div`\n opacity: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n position: absolute;\n`;\n\nexport const PaginationDetail = styled.span`\n text-align: left;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n\nexport const PaginationDropdownButton = styled(DSButtonV2)`\n height: 42px;\n display: grid;\n grid-auto-flow: column;\n justify-content: center;\n align-items: center;\n position: relative;\n padding-left: 16px;\n padding-right: 16px;\n grid-gap: 8px;\n font-size: 13px;\n color: ${(props) => props.theme.colors.neutral[700]};\n cursor: pointer;\n border-radius: 0;\n font-weight: ${(props) => props.theme.fontWeights.regular};\n :focus {\n ${styledFocusCss}\n }\n white-space: nowrap;\n`;\n\nexport const PreviousNextPageButton = styled(DSButtonV2)`\n height: 42px;\n display: grid;\n place-items: center;\n position: relative;\n padding-left: 8px;\n padding-right: 8px;\n border-radius: 0;\n cursor: ${(props) => (props.disabled ? 'not-allowed' : 'pointer')};\n :focus {\n ${styledFocusCss}\n }\n`;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,qBAAqB;AACrB,uBAA2B;AAC3B,uBAWO;AAEP,MAAM,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBASC,CAAC,EAAE,YAAY,MAAM,OAAO,MAAM;AAAA;AAAA;AAAA;AAAA;AAMnD,MAAM,sBAAsB,6BAAO,mBAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQvC,MAAM,oBAAoB,wBAAO;AAAA;AAAA;AAAA;AAAA;AAMjC,MAAM,sBAAsB,6BAAO,mBAAI;AAAA,sBACxB,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ;AAAA;AAAA,YAEhD,CAAC,UAAU,MAAM,UAAU;AAAA;AAGhC,MAAM,qBAAqB,wBAAO;AAAA,iBACxB,CAAC,UAAU,MAAM,MAAM,YAAY;AAAA,IAChD;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAAA;AAIG,MAAM,kBAAkB,wBAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQ/B,MAAM,mBAAmB,wBAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAOhC,MAAM,2BAA2B,6BAAO,2BAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAW9C,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ;AAAA;AAAA;AAAA,iBAGhC,CAAC,UAAU,MAAM,MAAM,YAAY;AAAA;AAAA,MAE9C;AAAA;AAAA;AAAA;AAKC,MAAM,yBAAyB,6BAAO,2BAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAQ3C,CAAC,UAAW,MAAM,WAAW,gBAAgB;AAAA;AAAA,MAEnD;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/styled.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Grid } from "@elliemae/ds-grid";
|
|
3
3
|
import { DSButtonV2 } from "@elliemae/ds-button";
|
|
4
|
-
import styled from "styled-components";
|
|
5
4
|
import {
|
|
5
|
+
styled,
|
|
6
6
|
space,
|
|
7
7
|
typography,
|
|
8
8
|
sizing,
|
|
9
|
-
layout
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
layout,
|
|
10
|
+
css
|
|
11
|
+
} from "@elliemae/ds-system";
|
|
12
12
|
const styledFocusCss = css`
|
|
13
13
|
&:after {
|
|
14
14
|
display: block;
|
package/dist/esm/styled.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/styled.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { Grid } from '@elliemae/ds-grid';\nimport { DSButtonV2 } from '@elliemae/ds-button';\nimport
|
|
5
|
-
"mappings": "AAAA;ACAA;AACA;AACA;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { Grid } from '@elliemae/ds-grid';\nimport { DSButtonV2 } from '@elliemae/ds-button';\nimport {\n styled,\n space,\n typography,\n TypographyProps,\n SpaceProps,\n sizing,\n SizingProps,\n layout,\n LayoutProps,\n css,\n} from '@elliemae/ds-system';\n\nconst styledFocusCss = css`\n &:after {\n display: block;\n content: ' ';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border: 2px solid ${({ theme }) => theme.colors.brand[700]};\n pointer-events: none;\n z-index: 7;\n }\n`;\n\nexport const PaginationContainer = styled(Grid)`\n height: 42px;\n max-width: 100%;\n align-items: center;\n box-shadow: 0 -1px 3px 0 rgba(0, 0, 0, 0.5);\n position: relative;\n`;\n\nexport const PaginationWrapper = styled.div`\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\nexport const PaginationSeparator = styled(Grid)`\n background-color: ${(props) => props.theme.colors.neutral[300]};\n width: 1px;\n height: ${(props) => props.height || '30px'};\n`;\n\nexport const PaginationBoldText = styled.span<TypographyProps & SpaceProps & SizingProps & LayoutProps>`\n font-weight: ${(props) => props.theme.fontWeights.semibold};\n ${typography}\n ${space}\n ${sizing}\n ${layout}\n position: relative;\n`;\n\nexport const InvisibleDetail = styled.div`\n opacity: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n position: absolute;\n`;\n\nexport const PaginationDetail = styled.span`\n text-align: left;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n\nexport const PaginationDropdownButton = styled(DSButtonV2)`\n height: 42px;\n display: grid;\n grid-auto-flow: column;\n justify-content: center;\n align-items: center;\n position: relative;\n padding-left: 16px;\n padding-right: 16px;\n grid-gap: 8px;\n font-size: 13px;\n color: ${(props) => props.theme.colors.neutral[700]};\n cursor: pointer;\n border-radius: 0;\n font-weight: ${(props) => props.theme.fontWeights.regular};\n :focus {\n ${styledFocusCss}\n }\n white-space: nowrap;\n`;\n\nexport const PreviousNextPageButton = styled(DSButtonV2)`\n height: 42px;\n display: grid;\n place-items: center;\n position: relative;\n padding-left: 8px;\n padding-right: 8px;\n border-radius: 0;\n cursor: ${(props) => (props.disabled ? 'not-allowed' : 'pointer')};\n :focus {\n ${styledFocusCss}\n }\n`;\n"],
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAaA,MAAM,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBASC,CAAC,EAAE,YAAY,MAAM,OAAO,MAAM;AAAA;AAAA;AAAA;AAAA;AAMnD,MAAM,sBAAsB,OAAO,IAAI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQvC,MAAM,oBAAoB,OAAO;AAAA;AAAA;AAAA;AAAA;AAMjC,MAAM,sBAAsB,OAAO,IAAI;AAAA,sBACxB,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ;AAAA;AAAA,YAEhD,CAAC,UAAU,MAAM,UAAU;AAAA;AAGhC,MAAM,qBAAqB,OAAO;AAAA,iBACxB,CAAC,UAAU,MAAM,MAAM,YAAY;AAAA,IAChD;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAAA;AAIG,MAAM,kBAAkB,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQ/B,MAAM,mBAAmB,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAOhC,MAAM,2BAA2B,OAAO,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAW9C,CAAC,UAAU,MAAM,MAAM,OAAO,QAAQ;AAAA;AAAA;AAAA,iBAGhC,CAAC,UAAU,MAAM,MAAM,YAAY;AAAA;AAAA,MAE9C;AAAA;AAAA;AAAA;AAKC,MAAM,yBAAyB,OAAO,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAQ3C,CAAC,UAAW,MAAM,WAAW,gBAAgB;AAAA;AAAA,MAEnD;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-pagination",
|
|
3
|
-
"version": "3.1.0-next.
|
|
3
|
+
"version": "3.1.0-next.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Pagination",
|
|
6
6
|
"files": [
|
|
@@ -74,23 +74,15 @@
|
|
|
74
74
|
"reportFile": "tests.xml",
|
|
75
75
|
"indent": 4
|
|
76
76
|
},
|
|
77
|
-
"scripts": {
|
|
78
|
-
"dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
|
|
79
|
-
"test": "node ../../scripts/testing/test.mjs",
|
|
80
|
-
"lint": "node ../../scripts/lint.mjs",
|
|
81
|
-
"dts": "node ../../scripts/dts.mjs",
|
|
82
|
-
"build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs"
|
|
83
|
-
},
|
|
84
77
|
"dependencies": {
|
|
85
|
-
"@elliemae/ds-button": "3.1.0-next.
|
|
86
|
-
"@elliemae/ds-dropdownmenu": "3.1.0-next.
|
|
87
|
-
"@elliemae/ds-grid": "3.1.0-next.
|
|
88
|
-
"@elliemae/ds-icons": "3.1.0-next.
|
|
89
|
-
"@elliemae/ds-
|
|
90
|
-
"@elliemae/ds-
|
|
91
|
-
"@
|
|
92
|
-
"memoize-one": "~5.1.1"
|
|
93
|
-
"react-desc": "~4.1.3"
|
|
78
|
+
"@elliemae/ds-button": "3.1.0-next.3",
|
|
79
|
+
"@elliemae/ds-dropdownmenu": "3.1.0-next.3",
|
|
80
|
+
"@elliemae/ds-grid": "3.1.0-next.3",
|
|
81
|
+
"@elliemae/ds-icons": "3.1.0-next.3",
|
|
82
|
+
"@elliemae/ds-system": "3.1.0-next.3",
|
|
83
|
+
"@elliemae/ds-truncated-tooltip-text": "3.1.0-next.3",
|
|
84
|
+
"@elliemae/ds-utilities": "3.1.0-next.3",
|
|
85
|
+
"memoize-one": "~5.1.1"
|
|
94
86
|
},
|
|
95
87
|
"devDependencies": {
|
|
96
88
|
"styled-components": "~5.3.3",
|
|
@@ -106,5 +98,13 @@
|
|
|
106
98
|
"publishConfig": {
|
|
107
99
|
"access": "public",
|
|
108
100
|
"typeSafety": false
|
|
101
|
+
},
|
|
102
|
+
"scripts": {
|
|
103
|
+
"dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
|
|
104
|
+
"test": "node ../../scripts/testing/test.mjs",
|
|
105
|
+
"lint": "node ../../scripts/lint.mjs",
|
|
106
|
+
"dts": "node ../../scripts/dts.mjs",
|
|
107
|
+
"build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs",
|
|
108
|
+
"checkDeps": "npx -yes ../ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
|
|
109
109
|
}
|
|
110
|
-
}
|
|
110
|
+
}
|