@semcore/pagination 16.1.6 → 16.1.7-prerelease.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/CHANGELOG.md +6 -0
- package/lib/cjs/Pagination.js +12 -12
- package/lib/cjs/index.d.js.map +1 -1
- package/lib/es6/Pagination.js +12 -12
- package/lib/es6/index.d.js.map +1 -1
- package/lib/esm/Pagination.mjs +13 -13
- package/lib/types/index.d.ts +1 -0
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
package/lib/cjs/Pagination.js
CHANGED
|
@@ -29,20 +29,20 @@ var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynam
|
|
|
29
29
|
var _excluded = ["styles", "getI18nText", "totalPages", "isLastOrSingle", "children"];
|
|
30
30
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, (0, _isNativeReflectConstruct2["default"])() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
|
|
31
31
|
/*!__reshadow-styles__:"./style/pagination.shadow.css"*/
|
|
32
|
-
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".
|
|
32
|
+
var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SPagination_15gpy_gg_{justify-content:flex-start;align-items:center}.___SPagination_15gpy_gg_.__withGap_15gpy_gg_{gap:var(--intergalactic-spacing-4x, 16px)}.___SPagination_15gpy_gg_.__withGap_15gpy_gg_._size_l_15gpy_gg_{gap:var(--intergalactic-spacing-5x, 20px)}.___SNextPage_15gpy_gg_,.___SPrevPage_15gpy_gg_{align-self:center;margin-left:var(--intergalactic-spacing-2x, 8px)}.___SNextPage_15gpy_gg_._size_l_15gpy_gg_,.___SPrevPage_15gpy_gg_._size_l_15gpy_gg_{margin-left:var(--intergalactic-spacing-3x, 12px)}.___SLabel_15gpy_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SLabel_15gpy_gg_:not(:first-child){margin-left:var(--intergalactic-spacing-4x, 16px)}.___SLabel_15gpy_gg_._size_l_15gpy_gg_:not(:first-child){margin-left:var(--intergalactic-spacing-5x, 20px)}.___STotalPages_15gpy_gg_{align-self:center;line-height:normal;color:var(--intergalactic-text-link, #006dca)}.___STotalPagesLabel_15gpy_gg_{margin-left:var(--intergalactic-spacing-2x, 8px);margin-right:var(--intergalactic-spacing-1x, 4px);color:var(--intergalactic-text-primary, #191b23)}.___STotalLastPages_15gpy_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);color:var(--intergalactic-text-primary, #191b23)}.___STotalLastPages_15gpy_gg_._size_l_15gpy_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SPageInput_15gpy_gg_{max-width:68px;margin-left:var(--intergalactic-spacing-1x, 4px)}.___SPageInput_15gpy_gg_._size_l_15gpy_gg_{margin-left:var(--intergalactic-spacing-2x, 8px)}.___SPageInput_15gpy_gg_:focus-within .___SPageInputAddon_15gpy_gg_{opacity:1;clip:initial;position:static}.___SPageInputAddon_15gpy_gg_{opacity:0;clip:rect(1px,1px,1px,1px);position:absolute}.___SLabel_15gpy_gg_,.___STotalPagesLabel_15gpy_gg_,.___STotalPages_15gpy_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SLabel_15gpy_gg_._size_l_15gpy_gg_,.___STotalPagesLabel_15gpy_gg_._size_l_15gpy_gg_,.___STotalPages_15gpy_gg_._size_l_15gpy_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}", /*__inner_css_end__*/"15gpy_gg_"),
|
|
33
33
|
/*__reshadow_css_end__*/
|
|
34
34
|
{
|
|
35
|
-
"__SPagination": "
|
|
36
|
-
"__SLabel": "
|
|
37
|
-
"_size_l": "
|
|
38
|
-
"__STotalPages": "
|
|
39
|
-
"__STotalPagesLabel": "
|
|
40
|
-
"__SPageInput": "
|
|
41
|
-
"__SPageInputAddon": "
|
|
42
|
-
"_withGap": "
|
|
43
|
-
"__SNextPage": "
|
|
44
|
-
"__SPrevPage": "
|
|
45
|
-
"__STotalLastPages": "
|
|
35
|
+
"__SPagination": "___SPagination_15gpy_gg_",
|
|
36
|
+
"__SLabel": "___SLabel_15gpy_gg_",
|
|
37
|
+
"_size_l": "_size_l_15gpy_gg_",
|
|
38
|
+
"__STotalPages": "___STotalPages_15gpy_gg_",
|
|
39
|
+
"__STotalPagesLabel": "___STotalPagesLabel_15gpy_gg_",
|
|
40
|
+
"__SPageInput": "___SPageInput_15gpy_gg_",
|
|
41
|
+
"__SPageInputAddon": "___SPageInputAddon_15gpy_gg_",
|
|
42
|
+
"_withGap": "__withGap_15gpy_gg_",
|
|
43
|
+
"__SNextPage": "___SNextPage_15gpy_gg_",
|
|
44
|
+
"__SPrevPage": "___SPrevPage_15gpy_gg_",
|
|
45
|
+
"__STotalLastPages": "___STotalLastPages_15gpy_gg_"
|
|
46
46
|
});
|
|
47
47
|
var PaginationRoot = /*#__PURE__*/function (_Component) {
|
|
48
48
|
function PaginationRoot() {
|
package/lib/cjs/index.d.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type Button from '@semcore/button';\nimport type { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport type { BoxProps } from '@semcore/flex-box';\nimport type { InputProps } from '@semcore/input';\nimport type Input from '@semcore/input';\nimport type { TextProps } from '@semcore/typography';\n\n/** @deprecated */\nexport interface IPaginationProps extends PaginationProps, UnknownProperties {}\nexport type PaginationProps = BoxProps &\n WithI18nEnhanceProps & {\n /**\n * Total number of pages\n * @default 1\n */\n totalPages?: number;\n /**\n * Active page number\n * @default 1\n */\n currentPage?: number;\n /**\n * Callback for changing the active page\n * @param pageNumber\n */\n onCurrentPageChange?: (pageNumber: number) => void;\n locale?: string;\n /**\n * Sizes for pagination panel\n * @default 'm'\n */\n size?: 'm' | 'l';\n };\n\n/** @deprecated */\nexport interface ITotalPagesProps extends TotalPagesProps, UnknownProperties {}\nexport type TotalPagesProps = TextProps & WithI18nEnhanceProps & {};\n\n/** @deprecated */\nexport interface IPageInputProps extends PageInputProps, UnknownProperties {}\nexport type PageInputProps = InputProps & WithI18nEnhanceProps & {};\n\n/** @deprecated */\nexport interface IPaginationContext extends PaginationContext, UnknownProperties {}\nexport type PaginationContext = {\n getFirstPageProps: PropGetterFn;\n getPrevPageProps: PropGetterFn;\n getNextPageProps: PropGetterFn;\n getPageInputProps: PropGetterFn;\n getTotalPagesProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IPaginationHandlers extends PaginationHandlers, UnknownProperties {}\nexport type PaginationHandlers = {\n totalPages: (value: number) => void;\n currentPage: (value: number) => void;\n};\n\ndeclare const Pagination: Intergalactic.Component<\n 'div',\n PaginationProps,\n PaginationContext,\n [handlers: PaginationHandlers]\n> & {\n PrevPage: typeof Button;\n NextPage: typeof Button;\n FirstPage: typeof Button;\n TotalPages: Intergalactic.Component<\n 'button',\n TotalPagesProps,\n {},\n [handlers: PaginationHandlers]\n >;\n PageInput: Intergalactic.Component<'div', PageInputProps, {}, [handlers: PaginationHandlers]> & {\n Value: typeof Input.Value;\n };\n};\n\nexport default Pagination;\n"],"mappings":"","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type Button from '@semcore/button';\nimport type { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport type { BoxProps } from '@semcore/flex-box';\nimport type { InputProps } from '@semcore/input';\nimport type Input from '@semcore/input';\nimport type { TextProps } from '@semcore/typography';\n\n/** @deprecated */\nexport interface IPaginationProps extends PaginationProps, UnknownProperties {}\nexport type PaginationProps = BoxProps &\n WithI18nEnhanceProps & {\n /**\n * Total number of pages\n * @default 1\n */\n totalPages?: number;\n /**\n * Active page number\n * @default 1\n */\n currentPage?: number;\n /**\n * Callback for changing the active page\n * @param pageNumber\n */\n onCurrentPageChange?: (pageNumber: number) => void;\n /** Specifies the locale for i18n support */\n locale?: string;\n /**\n * Sizes for pagination panel\n * @default 'm'\n */\n size?: 'm' | 'l';\n };\n\n/** @deprecated */\nexport interface ITotalPagesProps extends TotalPagesProps, UnknownProperties {}\nexport type TotalPagesProps = TextProps & WithI18nEnhanceProps & {};\n\n/** @deprecated */\nexport interface IPageInputProps extends PageInputProps, UnknownProperties {}\nexport type PageInputProps = InputProps & WithI18nEnhanceProps & {};\n\n/** @deprecated */\nexport interface IPaginationContext extends PaginationContext, UnknownProperties {}\nexport type PaginationContext = {\n getFirstPageProps: PropGetterFn;\n getPrevPageProps: PropGetterFn;\n getNextPageProps: PropGetterFn;\n getPageInputProps: PropGetterFn;\n getTotalPagesProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IPaginationHandlers extends PaginationHandlers, UnknownProperties {}\nexport type PaginationHandlers = {\n totalPages: (value: number) => void;\n currentPage: (value: number) => void;\n};\n\ndeclare const Pagination: Intergalactic.Component<\n 'div',\n PaginationProps,\n PaginationContext,\n [handlers: PaginationHandlers]\n> & {\n PrevPage: typeof Button;\n NextPage: typeof Button;\n FirstPage: typeof Button;\n TotalPages: Intergalactic.Component<\n 'button',\n TotalPagesProps,\n {},\n [handlers: PaginationHandlers]\n >;\n PageInput: Intergalactic.Component<'div', PageInputProps, {}, [handlers: PaginationHandlers]> & {\n Value: typeof Input.Value;\n };\n};\n\nexport default Pagination;\n"],"mappings":"","ignoreList":[]}
|
package/lib/es6/Pagination.js
CHANGED
|
@@ -29,20 +29,20 @@ import { Hint } from '@semcore/tooltip';
|
|
|
29
29
|
import { Text } from '@semcore/typography';
|
|
30
30
|
import React from 'react';
|
|
31
31
|
/*!__reshadow-styles__:"./style/pagination.shadow.css"*/
|
|
32
|
-
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".
|
|
32
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SPagination_15gpy_gg_{justify-content:flex-start;align-items:center}.___SPagination_15gpy_gg_.__withGap_15gpy_gg_{gap:var(--intergalactic-spacing-4x, 16px)}.___SPagination_15gpy_gg_.__withGap_15gpy_gg_._size_l_15gpy_gg_{gap:var(--intergalactic-spacing-5x, 20px)}.___SNextPage_15gpy_gg_,.___SPrevPage_15gpy_gg_{align-self:center;margin-left:var(--intergalactic-spacing-2x, 8px)}.___SNextPage_15gpy_gg_._size_l_15gpy_gg_,.___SPrevPage_15gpy_gg_._size_l_15gpy_gg_{margin-left:var(--intergalactic-spacing-3x, 12px)}.___SLabel_15gpy_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SLabel_15gpy_gg_:not(:first-child){margin-left:var(--intergalactic-spacing-4x, 16px)}.___SLabel_15gpy_gg_._size_l_15gpy_gg_:not(:first-child){margin-left:var(--intergalactic-spacing-5x, 20px)}.___STotalPages_15gpy_gg_{align-self:center;line-height:normal;color:var(--intergalactic-text-link, #006dca)}.___STotalPagesLabel_15gpy_gg_{margin-left:var(--intergalactic-spacing-2x, 8px);margin-right:var(--intergalactic-spacing-1x, 4px);color:var(--intergalactic-text-primary, #191b23)}.___STotalLastPages_15gpy_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);color:var(--intergalactic-text-primary, #191b23)}.___STotalLastPages_15gpy_gg_._size_l_15gpy_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SPageInput_15gpy_gg_{max-width:68px;margin-left:var(--intergalactic-spacing-1x, 4px)}.___SPageInput_15gpy_gg_._size_l_15gpy_gg_{margin-left:var(--intergalactic-spacing-2x, 8px)}.___SPageInput_15gpy_gg_:focus-within .___SPageInputAddon_15gpy_gg_{opacity:1;clip:initial;position:static}.___SPageInputAddon_15gpy_gg_{opacity:0;clip:rect(1px,1px,1px,1px);position:absolute}.___SLabel_15gpy_gg_,.___STotalPagesLabel_15gpy_gg_,.___STotalPages_15gpy_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SLabel_15gpy_gg_._size_l_15gpy_gg_,.___STotalPagesLabel_15gpy_gg_._size_l_15gpy_gg_,.___STotalPages_15gpy_gg_._size_l_15gpy_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}", /*__inner_css_end__*/"15gpy_gg_"),
|
|
33
33
|
/*__reshadow_css_end__*/
|
|
34
34
|
{
|
|
35
|
-
"__SPagination": "
|
|
36
|
-
"__SLabel": "
|
|
37
|
-
"_size_l": "
|
|
38
|
-
"__STotalPages": "
|
|
39
|
-
"__STotalPagesLabel": "
|
|
40
|
-
"__SPageInput": "
|
|
41
|
-
"__SPageInputAddon": "
|
|
42
|
-
"_withGap": "
|
|
43
|
-
"__SNextPage": "
|
|
44
|
-
"__SPrevPage": "
|
|
45
|
-
"__STotalLastPages": "
|
|
35
|
+
"__SPagination": "___SPagination_15gpy_gg_",
|
|
36
|
+
"__SLabel": "___SLabel_15gpy_gg_",
|
|
37
|
+
"_size_l": "_size_l_15gpy_gg_",
|
|
38
|
+
"__STotalPages": "___STotalPages_15gpy_gg_",
|
|
39
|
+
"__STotalPagesLabel": "___STotalPagesLabel_15gpy_gg_",
|
|
40
|
+
"__SPageInput": "___SPageInput_15gpy_gg_",
|
|
41
|
+
"__SPageInputAddon": "___SPageInputAddon_15gpy_gg_",
|
|
42
|
+
"_withGap": "__withGap_15gpy_gg_",
|
|
43
|
+
"__SNextPage": "___SNextPage_15gpy_gg_",
|
|
44
|
+
"__SPrevPage": "___SPrevPage_15gpy_gg_",
|
|
45
|
+
"__STotalLastPages": "___STotalLastPages_15gpy_gg_"
|
|
46
46
|
});
|
|
47
47
|
import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
|
|
48
48
|
var PaginationRoot = /*#__PURE__*/function (_Component) {
|
package/lib/es6/index.d.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type Button from '@semcore/button';\nimport type { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport type { BoxProps } from '@semcore/flex-box';\nimport type { InputProps } from '@semcore/input';\nimport type Input from '@semcore/input';\nimport type { TextProps } from '@semcore/typography';\n\n/** @deprecated */\nexport interface IPaginationProps extends PaginationProps, UnknownProperties {}\nexport type PaginationProps = BoxProps &\n WithI18nEnhanceProps & {\n /**\n * Total number of pages\n * @default 1\n */\n totalPages?: number;\n /**\n * Active page number\n * @default 1\n */\n currentPage?: number;\n /**\n * Callback for changing the active page\n * @param pageNumber\n */\n onCurrentPageChange?: (pageNumber: number) => void;\n locale?: string;\n /**\n * Sizes for pagination panel\n * @default 'm'\n */\n size?: 'm' | 'l';\n };\n\n/** @deprecated */\nexport interface ITotalPagesProps extends TotalPagesProps, UnknownProperties {}\nexport type TotalPagesProps = TextProps & WithI18nEnhanceProps & {};\n\n/** @deprecated */\nexport interface IPageInputProps extends PageInputProps, UnknownProperties {}\nexport type PageInputProps = InputProps & WithI18nEnhanceProps & {};\n\n/** @deprecated */\nexport interface IPaginationContext extends PaginationContext, UnknownProperties {}\nexport type PaginationContext = {\n getFirstPageProps: PropGetterFn;\n getPrevPageProps: PropGetterFn;\n getNextPageProps: PropGetterFn;\n getPageInputProps: PropGetterFn;\n getTotalPagesProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IPaginationHandlers extends PaginationHandlers, UnknownProperties {}\nexport type PaginationHandlers = {\n totalPages: (value: number) => void;\n currentPage: (value: number) => void;\n};\n\ndeclare const Pagination: Intergalactic.Component<\n 'div',\n PaginationProps,\n PaginationContext,\n [handlers: PaginationHandlers]\n> & {\n PrevPage: typeof Button;\n NextPage: typeof Button;\n FirstPage: typeof Button;\n TotalPages: Intergalactic.Component<\n 'button',\n TotalPagesProps,\n {},\n [handlers: PaginationHandlers]\n >;\n PageInput: Intergalactic.Component<'div', PageInputProps, {}, [handlers: PaginationHandlers]> & {\n Value: typeof Input.Value;\n };\n};\n\nexport default Pagination;\n"],"mappings":"","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type Button from '@semcore/button';\nimport type { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport type { BoxProps } from '@semcore/flex-box';\nimport type { InputProps } from '@semcore/input';\nimport type Input from '@semcore/input';\nimport type { TextProps } from '@semcore/typography';\n\n/** @deprecated */\nexport interface IPaginationProps extends PaginationProps, UnknownProperties {}\nexport type PaginationProps = BoxProps &\n WithI18nEnhanceProps & {\n /**\n * Total number of pages\n * @default 1\n */\n totalPages?: number;\n /**\n * Active page number\n * @default 1\n */\n currentPage?: number;\n /**\n * Callback for changing the active page\n * @param pageNumber\n */\n onCurrentPageChange?: (pageNumber: number) => void;\n /** Specifies the locale for i18n support */\n locale?: string;\n /**\n * Sizes for pagination panel\n * @default 'm'\n */\n size?: 'm' | 'l';\n };\n\n/** @deprecated */\nexport interface ITotalPagesProps extends TotalPagesProps, UnknownProperties {}\nexport type TotalPagesProps = TextProps & WithI18nEnhanceProps & {};\n\n/** @deprecated */\nexport interface IPageInputProps extends PageInputProps, UnknownProperties {}\nexport type PageInputProps = InputProps & WithI18nEnhanceProps & {};\n\n/** @deprecated */\nexport interface IPaginationContext extends PaginationContext, UnknownProperties {}\nexport type PaginationContext = {\n getFirstPageProps: PropGetterFn;\n getPrevPageProps: PropGetterFn;\n getNextPageProps: PropGetterFn;\n getPageInputProps: PropGetterFn;\n getTotalPagesProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IPaginationHandlers extends PaginationHandlers, UnknownProperties {}\nexport type PaginationHandlers = {\n totalPages: (value: number) => void;\n currentPage: (value: number) => void;\n};\n\ndeclare const Pagination: Intergalactic.Component<\n 'div',\n PaginationProps,\n PaginationContext,\n [handlers: PaginationHandlers]\n> & {\n PrevPage: typeof Button;\n NextPage: typeof Button;\n FirstPage: typeof Button;\n TotalPages: Intergalactic.Component<\n 'button',\n TotalPagesProps,\n {},\n [handlers: PaginationHandlers]\n >;\n PageInput: Intergalactic.Component<'div', PageInputProps, {}, [handlers: PaginationHandlers]> & {\n Value: typeof Input.Value;\n };\n};\n\nexport default Pagination;\n"],"mappings":"","ignoreList":[]}
|
package/lib/esm/Pagination.mjs
CHANGED
|
@@ -27,22 +27,22 @@ var style = (
|
|
|
27
27
|
/*__reshadow_css_start__*/
|
|
28
28
|
(sstyled.insert(
|
|
29
29
|
/*__inner_css_start__*/
|
|
30
|
-
".
|
|
30
|
+
".___SPagination_15gpy_gg_{justify-content:flex-start;align-items:center}.___SPagination_15gpy_gg_.__withGap_15gpy_gg_{gap:var(--intergalactic-spacing-4x, 16px)}.___SPagination_15gpy_gg_.__withGap_15gpy_gg_._size_l_15gpy_gg_{gap:var(--intergalactic-spacing-5x, 20px)}.___SNextPage_15gpy_gg_,.___SPrevPage_15gpy_gg_{align-self:center;margin-left:var(--intergalactic-spacing-2x, 8px)}.___SNextPage_15gpy_gg_._size_l_15gpy_gg_,.___SPrevPage_15gpy_gg_._size_l_15gpy_gg_{margin-left:var(--intergalactic-spacing-3x, 12px)}.___SLabel_15gpy_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SLabel_15gpy_gg_:not(:first-child){margin-left:var(--intergalactic-spacing-4x, 16px)}.___SLabel_15gpy_gg_._size_l_15gpy_gg_:not(:first-child){margin-left:var(--intergalactic-spacing-5x, 20px)}.___STotalPages_15gpy_gg_{align-self:center;line-height:normal;color:var(--intergalactic-text-link, #006dca)}.___STotalPagesLabel_15gpy_gg_{margin-left:var(--intergalactic-spacing-2x, 8px);margin-right:var(--intergalactic-spacing-1x, 4px);color:var(--intergalactic-text-primary, #191b23)}.___STotalLastPages_15gpy_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);color:var(--intergalactic-text-primary, #191b23)}.___STotalLastPages_15gpy_gg_._size_l_15gpy_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SPageInput_15gpy_gg_{max-width:68px;margin-left:var(--intergalactic-spacing-1x, 4px)}.___SPageInput_15gpy_gg_._size_l_15gpy_gg_{margin-left:var(--intergalactic-spacing-2x, 8px)}.___SPageInput_15gpy_gg_:focus-within .___SPageInputAddon_15gpy_gg_{opacity:1;clip:initial;position:static}.___SPageInputAddon_15gpy_gg_{opacity:0;clip:rect(1px,1px,1px,1px);position:absolute}.___SLabel_15gpy_gg_,.___STotalPagesLabel_15gpy_gg_,.___STotalPages_15gpy_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SLabel_15gpy_gg_._size_l_15gpy_gg_,.___STotalPagesLabel_15gpy_gg_._size_l_15gpy_gg_,.___STotalPages_15gpy_gg_._size_l_15gpy_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}",
|
|
31
31
|
/*__inner_css_end__*/
|
|
32
|
-
"
|
|
32
|
+
"15gpy_gg_"
|
|
33
33
|
), /*__reshadow_css_end__*/
|
|
34
34
|
{
|
|
35
|
-
"__SPagination": "
|
|
36
|
-
"__SLabel": "
|
|
37
|
-
"_size_l": "
|
|
38
|
-
"__STotalPages": "
|
|
39
|
-
"__STotalPagesLabel": "
|
|
40
|
-
"__SPageInput": "
|
|
41
|
-
"__SPageInputAddon": "
|
|
42
|
-
"_withGap": "
|
|
43
|
-
"__SNextPage": "
|
|
44
|
-
"__SPrevPage": "
|
|
45
|
-
"__STotalLastPages": "
|
|
35
|
+
"__SPagination": "___SPagination_15gpy_gg_",
|
|
36
|
+
"__SLabel": "___SLabel_15gpy_gg_",
|
|
37
|
+
"_size_l": "_size_l_15gpy_gg_",
|
|
38
|
+
"__STotalPages": "___STotalPages_15gpy_gg_",
|
|
39
|
+
"__STotalPagesLabel": "___STotalPagesLabel_15gpy_gg_",
|
|
40
|
+
"__SPageInput": "___SPageInput_15gpy_gg_",
|
|
41
|
+
"__SPageInputAddon": "___SPageInputAddon_15gpy_gg_",
|
|
42
|
+
"_withGap": "__withGap_15gpy_gg_",
|
|
43
|
+
"__SNextPage": "___SNextPage_15gpy_gg_",
|
|
44
|
+
"__SPrevPage": "___SPrevPage_15gpy_gg_",
|
|
45
|
+
"__STotalLastPages": "___STotalLastPages_15gpy_gg_"
|
|
46
46
|
})
|
|
47
47
|
);
|
|
48
48
|
var PaginationRoot = /* @__PURE__ */ function(_Component) {
|
package/lib/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/pagination",
|
|
3
3
|
"description": "Semrush Pagination Component",
|
|
4
|
-
"version": "16.1.
|
|
4
|
+
"version": "16.1.7-prerelease.2",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,17 +14,17 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/flex-box": "16.0.
|
|
18
|
-
"@semcore/button": "16.0.
|
|
19
|
-
"@semcore/icon": "16.
|
|
20
|
-
"@semcore/input-number": "16.0.
|
|
21
|
-
"@semcore/input": "16.0.
|
|
22
|
-
"@semcore/link": "16.0.
|
|
23
|
-
"@semcore/tooltip": "16.0.
|
|
24
|
-
"@semcore/typography": "16.2.
|
|
17
|
+
"@semcore/flex-box": "16.0.7-prerelease.2",
|
|
18
|
+
"@semcore/button": "16.0.7-prerelease.2",
|
|
19
|
+
"@semcore/icon": "16.6.0-prerelease.2",
|
|
20
|
+
"@semcore/input-number": "16.0.7-prerelease.2",
|
|
21
|
+
"@semcore/input": "16.0.7-prerelease.2",
|
|
22
|
+
"@semcore/link": "16.0.7-prerelease.2",
|
|
23
|
+
"@semcore/tooltip": "16.0.7-prerelease.2",
|
|
24
|
+
"@semcore/typography": "16.2.1-prerelease.2"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@semcore/base-components": "^16.
|
|
27
|
+
"@semcore/base-components": "^16.2.1-prerelease.2"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@semcore/testing-utils": "1.0.0",
|
|
36
|
-
"@semcore/core": "16.
|
|
36
|
+
"@semcore/core": "16.1.1-prerelease.2"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "pnpm semcore-builder --source=js && pnpm vite build"
|