@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 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-4](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-4) (2026-04-28)
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-4",
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-4",
19
- "@instructure/shared-types": "11.7.3-snapshot-4",
20
- "@instructure/ui-a11y-content": "11.7.3-snapshot-4",
21
- "@instructure/ui-a11y-utils": "11.7.3-snapshot-4",
22
- "@instructure/ui-buttons": "11.7.3-snapshot-4",
23
- "@instructure/ui-dom-utils": "11.7.3-snapshot-4",
24
- "@instructure/ui-icons": "11.7.3-snapshot-4",
25
- "@instructure/ui-portal": "11.7.3-snapshot-4",
26
- "@instructure/ui-number-input": "11.7.3-snapshot-4",
27
- "@instructure/ui-text": "11.7.3-snapshot-4",
28
- "@instructure/ui-react-utils": "11.7.3-snapshot-4",
29
- "@instructure/ui-themes": "11.7.3-snapshot-4",
30
- "@instructure/ui-tooltip": "11.7.3-snapshot-4",
31
- "@instructure/ui-utils": "11.7.3-snapshot-4",
32
- "@instructure/ui-view": "11.7.3-snapshot-4",
33
- "@instructure/uid": "11.7.3-snapshot-4"
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-babel-preset": "11.7.3-snapshot-4",
41
- "@instructure/ui-axe-check": "11.7.3-snapshot-4"
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 { PaginationPageInputTheme } from '@instructure/shared-types'
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<PaginationPageInputTheme, PaginationPageInputStyle>
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<null, PaginationStyle> &
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 = (