@instructure/ui-pagination 11.7.3-snapshot-4 → 11.7.3-snapshot-7
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 +1 -1
- package/es/Pagination/v2/styles.js +0 -3
- package/lib/Pagination/v2/styles.js +0 -3
- package/package.json +19 -19
- package/src/Pagination/v2/PaginationPageInput/props.ts +5 -2
- package/src/Pagination/v2/props.ts +2 -1
- package/src/Pagination/v2/styles.ts +0 -3
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Pagination/v2/PaginationPageInput/props.d.ts +2 -2
- package/types/Pagination/v2/PaginationPageInput/props.d.ts.map +1 -1
- package/types/Pagination/v2/props.d.ts +2 -1
- package/types/Pagination/v2/props.d.ts.map +1 -1
- package/types/Pagination/v2/styles.d.ts +0 -3
- package/types/Pagination/v2/styles.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [11.7.3-snapshot-
|
|
6
|
+
## [11.7.3-snapshot-7](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-7) (2026-04-29)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-pagination
|
|
9
9
|
|
|
@@ -28,9 +28,6 @@
|
|
|
28
28
|
* ---
|
|
29
29
|
* Generates the style object from the theme and provided additional information
|
|
30
30
|
* @param {Object} componentTheme The theme variable object.
|
|
31
|
-
* @param {Object} props the props of the component, the style is applied to
|
|
32
|
-
* @param {Object} sharedTokens Shared token object that stores common values for the theme.
|
|
33
|
-
* @param {Object} state the state of the component, the style is applied to
|
|
34
31
|
* @return {Object} The final style object, which will be used in the component
|
|
35
32
|
*/
|
|
36
33
|
const generateStyle = componentTheme => {
|
|
@@ -34,9 +34,6 @@ exports.default = void 0;
|
|
|
34
34
|
* ---
|
|
35
35
|
* Generates the style object from the theme and provided additional information
|
|
36
36
|
* @param {Object} componentTheme The theme variable object.
|
|
37
|
-
* @param {Object} props the props of the component, the style is applied to
|
|
38
|
-
* @param {Object} sharedTokens Shared token object that stores common values for the theme.
|
|
39
|
-
* @param {Object} state the state of the component, the style is applied to
|
|
40
37
|
* @return {Object} The final style object, which will be used in the component
|
|
41
38
|
*/
|
|
42
39
|
const generateStyle = componentTheme => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-pagination",
|
|
3
|
-
"version": "11.7.3-snapshot-
|
|
3
|
+
"version": "11.7.3-snapshot-7",
|
|
4
4
|
"description": "A UI component library made by Instructure Inc.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -15,30 +15,30 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.27.6",
|
|
18
|
-
"@instructure/emotion": "11.7.3-snapshot-
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/ui-
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/ui-
|
|
23
|
-
"@instructure/
|
|
24
|
-
"@instructure/ui-icons": "11.7.3-snapshot-
|
|
25
|
-
"@instructure/ui-
|
|
26
|
-
"@instructure/ui-
|
|
27
|
-
"@instructure/ui-
|
|
28
|
-
"@instructure/ui-
|
|
29
|
-
"@instructure/ui-themes": "11.7.3-snapshot-
|
|
30
|
-
"@instructure/ui-
|
|
31
|
-
"@instructure/ui-
|
|
32
|
-
"@instructure/ui-
|
|
33
|
-
"@instructure/uid": "11.7.3-snapshot-
|
|
18
|
+
"@instructure/emotion": "11.7.3-snapshot-7",
|
|
19
|
+
"@instructure/ui-a11y-content": "11.7.3-snapshot-7",
|
|
20
|
+
"@instructure/ui-buttons": "11.7.3-snapshot-7",
|
|
21
|
+
"@instructure/ui-dom-utils": "11.7.3-snapshot-7",
|
|
22
|
+
"@instructure/ui-a11y-utils": "11.7.3-snapshot-7",
|
|
23
|
+
"@instructure/shared-types": "11.7.3-snapshot-7",
|
|
24
|
+
"@instructure/ui-icons": "11.7.3-snapshot-7",
|
|
25
|
+
"@instructure/ui-number-input": "11.7.3-snapshot-7",
|
|
26
|
+
"@instructure/ui-portal": "11.7.3-snapshot-7",
|
|
27
|
+
"@instructure/ui-react-utils": "11.7.3-snapshot-7",
|
|
28
|
+
"@instructure/ui-tooltip": "11.7.3-snapshot-7",
|
|
29
|
+
"@instructure/ui-themes": "11.7.3-snapshot-7",
|
|
30
|
+
"@instructure/ui-utils": "11.7.3-snapshot-7",
|
|
31
|
+
"@instructure/ui-view": "11.7.3-snapshot-7",
|
|
32
|
+
"@instructure/ui-text": "11.7.3-snapshot-7",
|
|
33
|
+
"@instructure/uid": "11.7.3-snapshot-7"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@testing-library/jest-dom": "^6.6.3",
|
|
37
37
|
"@testing-library/react": "15.0.7",
|
|
38
38
|
"@testing-library/user-event": "^14.6.1",
|
|
39
39
|
"vitest": "^3.2.2",
|
|
40
|
-
"@instructure/ui-
|
|
41
|
-
"@instructure/ui-
|
|
40
|
+
"@instructure/ui-axe-check": "11.7.3-snapshot-7",
|
|
41
|
+
"@instructure/ui-babel-preset": "11.7.3-snapshot-7"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": ">=18 <=19"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
|
26
|
-
import type {
|
|
26
|
+
import type { NewComponentTypes } from '@instructure/ui-themes'
|
|
27
27
|
import React from 'react'
|
|
28
28
|
type PaginationPageInputOwnProps = {
|
|
29
29
|
/**
|
|
@@ -67,7 +67,10 @@ type PropKeys = keyof PaginationPageInputOwnProps
|
|
|
67
67
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
68
68
|
|
|
69
69
|
type PaginationPageInputProps = PaginationPageInputOwnProps &
|
|
70
|
-
WithStyleProps<
|
|
70
|
+
WithStyleProps<
|
|
71
|
+
ReturnType<NewComponentTypes['PaginationPageInput']>,
|
|
72
|
+
PaginationPageInputStyle
|
|
73
|
+
>
|
|
71
74
|
|
|
72
75
|
type PaginationPageInputStyle = ComponentStyle<
|
|
73
76
|
'paginationPageInput' | 'numberInput' | 'inputLabel'
|
|
@@ -34,6 +34,7 @@ import type {
|
|
|
34
34
|
} from '@instructure/shared-types'
|
|
35
35
|
import type { PaginationPageProps } from './PaginationButton/props'
|
|
36
36
|
import type { WithDeterministicIdProps } from '@instructure/ui-react-utils'
|
|
37
|
+
import type { NewComponentTypes } from '@instructure/ui-themes'
|
|
37
38
|
type ChildPage = React.ReactElement<PaginationPageProps>
|
|
38
39
|
|
|
39
40
|
type PaginationOwnProps = {
|
|
@@ -200,7 +201,7 @@ type PropKeys = keyof PaginationOwnProps
|
|
|
200
201
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
201
202
|
|
|
202
203
|
type PaginationProps = PaginationOwnProps &
|
|
203
|
-
WithStyleProps<
|
|
204
|
+
WithStyleProps<ReturnType<NewComponentTypes['Pagination']>, PaginationStyle> &
|
|
204
205
|
OtherHTMLAttributes<PaginationOwnProps> &
|
|
205
206
|
WithDeterministicIdProps
|
|
206
207
|
|
|
@@ -31,9 +31,6 @@ import type { PaginationStyle } from './props'
|
|
|
31
31
|
* ---
|
|
32
32
|
* Generates the style object from the theme and provided additional information
|
|
33
33
|
* @param {Object} componentTheme The theme variable object.
|
|
34
|
-
* @param {Object} props the props of the component, the style is applied to
|
|
35
|
-
* @param {Object} sharedTokens Shared token object that stores common values for the theme.
|
|
36
|
-
* @param {Object} state the state of the component, the style is applied to
|
|
37
34
|
* @return {Object} The final style object, which will be used in the component
|
|
38
35
|
*/
|
|
39
36
|
const generateStyle = (
|