@instructure/ui-pagination 11.7.3 → 11.7.4-pr-snapshot-1781695314229

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.
Files changed (69) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/LICENSE.md +1 -0
  3. package/{lib/Pagination/v1/PaginationPageInput/props.js → babel.config.cjs} +12 -7
  4. package/es/Pagination/v1/PaginationArrowButton/index.js +3 -2
  5. package/es/Pagination/v1/PaginationButton/index.js +2 -2
  6. package/es/Pagination/v1/PaginationPageInput/index.js +4 -4
  7. package/es/Pagination/v1/index.js +7 -8
  8. package/es/Pagination/v2/PaginationArrowButton/index.js +3 -2
  9. package/es/Pagination/v2/PaginationButton/index.js +2 -2
  10. package/es/Pagination/v2/PaginationPageInput/index.js +3 -3
  11. package/es/Pagination/v2/index.js +6 -10
  12. package/es/exports/a.js +2 -1
  13. package/es/exports/b.js +2 -1
  14. package/package.json +21 -26
  15. package/src/Pagination/v1/PaginationArrowButton/index.tsx +2 -1
  16. package/src/Pagination/v1/PaginationButton/index.tsx +2 -1
  17. package/src/Pagination/v1/PaginationPageInput/index.tsx +4 -3
  18. package/src/Pagination/v1/index.tsx +7 -6
  19. package/src/Pagination/v2/PaginationArrowButton/index.tsx +2 -1
  20. package/src/Pagination/v2/PaginationButton/index.tsx +2 -1
  21. package/src/Pagination/v2/PaginationPageInput/index.tsx +3 -2
  22. package/src/Pagination/v2/index.tsx +6 -13
  23. package/src/exports/a.ts +1 -1
  24. package/src/exports/b.ts +1 -1
  25. package/tsconfig.build.tsbuildinfo +1 -1
  26. package/types/Pagination/v1/PaginationArrowButton/index.d.ts +1 -0
  27. package/types/Pagination/v1/PaginationArrowButton/index.d.ts.map +1 -1
  28. package/types/Pagination/v1/PaginationButton/index.d.ts +1 -0
  29. package/types/Pagination/v1/PaginationButton/index.d.ts.map +1 -1
  30. package/types/Pagination/v1/PaginationPageInput/index.d.ts +1 -0
  31. package/types/Pagination/v1/PaginationPageInput/index.d.ts.map +1 -1
  32. package/types/Pagination/v1/index.d.ts +3 -2
  33. package/types/Pagination/v1/index.d.ts.map +1 -1
  34. package/types/Pagination/v2/PaginationArrowButton/index.d.ts +1 -0
  35. package/types/Pagination/v2/PaginationArrowButton/index.d.ts.map +1 -1
  36. package/types/Pagination/v2/PaginationButton/index.d.ts +1 -0
  37. package/types/Pagination/v2/PaginationButton/index.d.ts.map +1 -1
  38. package/types/Pagination/v2/PaginationPageInput/index.d.ts +1 -0
  39. package/types/Pagination/v2/PaginationPageInput/index.d.ts.map +1 -1
  40. package/types/Pagination/v2/index.d.ts +4 -4
  41. package/types/Pagination/v2/index.d.ts.map +1 -1
  42. package/types/exports/a.d.ts +1 -1
  43. package/types/exports/a.d.ts.map +1 -1
  44. package/types/exports/b.d.ts +1 -1
  45. package/types/exports/b.d.ts.map +1 -1
  46. package/lib/Pagination/v1/PaginationArrowButton/index.js +0 -108
  47. package/lib/Pagination/v1/PaginationArrowButton/props.js +0 -35
  48. package/lib/Pagination/v1/PaginationButton/index.js +0 -80
  49. package/lib/Pagination/v1/PaginationButton/props.js +0 -34
  50. package/lib/Pagination/v1/PaginationPageInput/index.js +0 -199
  51. package/lib/Pagination/v1/PaginationPageInput/styles.js +0 -61
  52. package/lib/Pagination/v1/PaginationPageInput/theme.js +0 -50
  53. package/lib/Pagination/v1/index.js +0 -492
  54. package/lib/Pagination/v1/props.js +0 -31
  55. package/lib/Pagination/v1/styles.js +0 -62
  56. package/lib/Pagination/v1/theme.js +0 -47
  57. package/lib/Pagination/v2/PaginationArrowButton/index.js +0 -110
  58. package/lib/Pagination/v2/PaginationArrowButton/props.js +0 -35
  59. package/lib/Pagination/v2/PaginationButton/index.js +0 -80
  60. package/lib/Pagination/v2/PaginationButton/props.js +0 -34
  61. package/lib/Pagination/v2/PaginationPageInput/index.js +0 -202
  62. package/lib/Pagination/v2/PaginationPageInput/props.js +0 -31
  63. package/lib/Pagination/v2/PaginationPageInput/styles.js +0 -62
  64. package/lib/Pagination/v2/index.js +0 -503
  65. package/lib/Pagination/v2/props.js +0 -31
  66. package/lib/Pagination/v2/styles.js +0 -61
  67. package/lib/exports/a.js +0 -18
  68. package/lib/exports/b.js +0 -18
  69. package/lib/package.json +0 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,50 @@
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.4-pr-snapshot-1781695314229](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-pr-snapshot-1781695314229) (2026-06-17)
7
+
8
+
9
+ ### Features
10
+
11
+ * **many:** remove deprecated v2 items ([eaf8876](https://github.com/instructure/instructure-ui/commit/eaf88767c9beb95c4e09ee5705c387dfd79e4cb7))
12
+
13
+
14
+ ### BREAKING CHANGES
15
+
16
+ * **many:** Removed FormFieldLabel component
17
+
18
+ Removed _content prop from DrawerLayout.Tray and DrawerLayout.Content
19
+
20
+ Removed _link prop from Link
21
+
22
+ Removed _node prop from Menu.Item
23
+
24
+ Removed _root prop from Pagination, TreeBrowser
25
+
26
+ Removed _select prop from SimpleSelect and TimeSelect
27
+
28
+ Removed _ref prop from TruncateText
29
+
30
+ Removed _element prop from View
31
+
32
+ Removed color="ai" from Heading
33
+
34
+ Removed variant="inline-small" and variant="standalone-small" from Link
35
+
36
+ Removed title prop from Tag
37
+
38
+ Removed focusRingBorderRadius prop from View
39
+
40
+ Removed hideActionsUserSeparator prop from TopNavBar.Layout
41
+
42
+ Removed handleFocusOutlineColor, handleFocusOutlineWidth, handleShadowColor from RangeInput
43
+
44
+ INSTUI-5025
45
+
46
+
47
+
48
+
49
+
6
50
  ## [11.7.3](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3) (2026-05-07)
7
51
 
8
52
 
package/LICENSE.md CHANGED
@@ -2,6 +2,7 @@
2
2
  title: The MIT License (MIT)
3
3
  category: Getting Started
4
4
  order: 9
5
+ isWIP: true
5
6
  ---
6
7
 
7
8
  # The MIT License (MIT)
@@ -1,9 +1,3 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.allowedProps = void 0;
7
1
  /*
8
2
  * The MIT License (MIT)
9
3
  *
@@ -28,4 +22,15 @@ exports.allowedProps = void 0;
28
22
  * SOFTWARE.
29
23
  */
30
24
 
31
- const allowedProps = exports.allowedProps = ['numberOfPages', 'currentPageIndex', 'onChange', 'screenReaderLabel', 'label', 'disabled', 'inputRef'];
25
+ module.exports = {
26
+ presets: [
27
+ [
28
+ require('@instructure/ui-babel-preset'),
29
+ {
30
+ esModules: Boolean(process.env.ES_MODULES),
31
+ removeConsole: process.env.NODE_ENV === 'production',
32
+ transformImports: Boolean(process.env.TRANSFORM_IMPORTS)
33
+ }
34
+ ]
35
+ ]
36
+ }
@@ -27,7 +27,8 @@ import { IconButton } from '@instructure/ui-buttons/v11_6';
27
27
  import { PresentationContent } from '@instructure/ui-a11y-content';
28
28
  import { Tooltip } from '@instructure/ui-tooltip/v11_6';
29
29
  import { IconArrowOpenStartSolid, IconArrowOpenEndSolid, IconArrowDoubleStartSolid, IconArrowDoubleEndSolid } from '@instructure/ui-icons';
30
- import { allowedProps } from "./props.js";
30
+ import { allowedProps } from './props.js';
31
+
31
32
  /**
32
33
  ---
33
34
  parent: Pagination
@@ -36,7 +37,7 @@ id: Pagination.Navigation
36
37
  **/
37
38
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
38
39
  class PaginationArrowButton extends Component {
39
- static displayName = "PaginationArrowButton";
40
+ static displayName = 'PaginationArrowButton';
40
41
  static componentId = 'Pagination.Navigation';
41
42
  static allowedProps = allowedProps;
42
43
  static defaultProps = {};
@@ -25,7 +25,7 @@
25
25
  import { Component } from 'react';
26
26
  import { BaseButton } from '@instructure/ui-buttons/v11_6';
27
27
  import { omitProps } from '@instructure/ui-react-utils';
28
- import { allowedProps } from "./props.js";
28
+ import { allowedProps } from './props.js';
29
29
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
30
30
  /**
31
31
  ---
@@ -35,7 +35,7 @@ id: Pagination.Page
35
35
  **/
36
36
 
37
37
  class PaginationButton extends Component {
38
- static displayName = "PaginationButton";
38
+ static displayName = 'PaginationButton';
39
39
  static componentId = 'Pagination.Page';
40
40
  static allowedProps = allowedProps;
41
41
  static defaultProps = {
@@ -27,9 +27,9 @@ import { Component } from 'react';
27
27
  import { withStyle } from '@instructure/emotion';
28
28
  import { NumberInput } from '@instructure/ui-number-input/v11_6';
29
29
  import { ScreenReaderContent } from '@instructure/ui-a11y-content';
30
- import generateStyle from "./styles.js";
31
- import generateComponentTheme from "./theme.js";
32
- import { allowedProps } from "./props.js";
30
+ import generateStyle from './styles.js';
31
+ import generateComponentTheme from './theme.js';
32
+ import { allowedProps } from './props.js';
33
33
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
34
34
  /**
35
35
  ---
@@ -38,7 +38,7 @@ id: Pagination.PageInput
38
38
  ---
39
39
  **/
40
40
  let PaginationPageInput = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class PaginationPageInput extends Component {
41
- static displayName = "PaginationPageInput";
41
+ static displayName = 'PaginationPageInput';
42
42
  static componentId = 'Pagination.PageInput';
43
43
  static allowedProps = allowedProps;
44
44
  static defaultProps = {
@@ -1,5 +1,4 @@
1
1
  var _dec, _dec2, _class;
2
- import "core-js/modules/es.array.includes.js";
3
2
  /*
4
3
  * The MIT License (MIT)
5
4
  *
@@ -29,12 +28,12 @@ import { omitProps, withDeterministicId } from '@instructure/ui-react-utils';
29
28
  import { hasVisibleChildren } from '@instructure/ui-a11y-utils';
30
29
  import { findTabbable, getActiveElement } from '@instructure/ui-dom-utils';
31
30
  import { withStyle } from '@instructure/emotion';
32
- import { PaginationButton } from "./PaginationButton/index.js";
33
- import { PaginationArrowButton } from "./PaginationArrowButton/index.js";
34
- import { PaginationPageInput } from "./PaginationPageInput/index.js";
35
- import generateStyle from "./styles.js";
36
- import generateComponentTheme from "./theme.js";
37
- import { allowedProps } from "./props.js";
31
+ import { PaginationButton } from './PaginationButton/index.js';
32
+ import { PaginationArrowButton } from './PaginationArrowButton/index.js';
33
+ import { PaginationPageInput } from './PaginationPageInput/index.js';
34
+ import generateStyle from './styles.js';
35
+ import generateComponentTheme from './theme.js';
36
+ import { allowedProps } from './props.js';
38
37
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
39
38
  /** This is an [].findIndex optimized to work on really big, but sparse, arrays */
40
39
  const fastFindIndex = (arr, fn) => Number(Object.keys(arr).find(k => fn(arr[Number(k)])));
@@ -57,7 +56,7 @@ category: components
57
56
  ---
58
57
  **/
59
58
  let Pagination = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec(_class = _dec2(_class = class Pagination extends Component {
60
- static displayName = "Pagination";
59
+ static displayName = 'Pagination';
61
60
  static componentId = 'Pagination';
62
61
  static allowedProps = allowedProps;
63
62
  static defaultProps = {
@@ -27,7 +27,8 @@ import { IconButton } from '@instructure/ui-buttons/latest';
27
27
  import { PresentationContent } from '@instructure/ui-a11y-content';
28
28
  import { Tooltip } from '@instructure/ui-tooltip/latest';
29
29
  import { ChevronLeftInstUIIcon, ChevronRightInstUIIcon, ChevronsLeftInstUIIcon, ChevronsRightInstUIIcon, renderIconWithProps } from '@instructure/ui-icons';
30
- import { allowedProps } from "./props.js";
30
+ import { allowedProps } from './props.js';
31
+
31
32
  /**
32
33
  ---
33
34
  parent: Pagination
@@ -36,7 +37,7 @@ id: Pagination.Navigation
36
37
  **/
37
38
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
38
39
  class PaginationArrowButton extends Component {
39
- static displayName = "PaginationArrowButton";
40
+ static displayName = 'PaginationArrowButton';
40
41
  static componentId = 'Pagination.Navigation';
41
42
  static allowedProps = allowedProps;
42
43
  static defaultProps = {};
@@ -25,7 +25,7 @@
25
25
  import { Component } from 'react';
26
26
  import { BaseButton } from '@instructure/ui-buttons/latest';
27
27
  import { omitProps } from '@instructure/ui-react-utils';
28
- import { allowedProps } from "./props.js";
28
+ import { allowedProps } from './props.js';
29
29
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
30
30
  /**
31
31
  ---
@@ -35,7 +35,7 @@ id: Pagination.Page
35
35
  **/
36
36
 
37
37
  class PaginationButton extends Component {
38
- static displayName = "PaginationButton";
38
+ static displayName = 'PaginationButton';
39
39
  static componentId = 'Pagination.Page';
40
40
  static allowedProps = allowedProps;
41
41
  static defaultProps = {
@@ -28,8 +28,8 @@ import { withStyleNew } from '@instructure/emotion';
28
28
  import { Text } from '@instructure/ui-text/latest';
29
29
  import { NumberInput } from '@instructure/ui-number-input/latest';
30
30
  import { ScreenReaderContent } from '@instructure/ui-a11y-content';
31
- import generateStyle from "./styles.js";
32
- import { allowedProps } from "./props.js";
31
+ import generateStyle from './styles.js';
32
+ import { allowedProps } from './props.js';
33
33
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
34
34
  /**
35
35
  ---
@@ -38,7 +38,7 @@ id: Pagination.PageInput
38
38
  ---
39
39
  **/
40
40
  let PaginationPageInput = (_dec = withStyleNew(generateStyle, 'PaginationPageInput'), _dec(_class = class PaginationPageInput extends Component {
41
- static displayName = "PaginationPageInput";
41
+ static displayName = 'PaginationPageInput';
42
42
  static componentId = 'Pagination.PageInput';
43
43
  static allowedProps = allowedProps;
44
44
  static defaultProps = {
@@ -1,5 +1,4 @@
1
1
  var _dec, _dec2, _class;
2
- import "core-js/modules/es.array.includes.js";
3
2
  /*
4
3
  * The MIT License (MIT)
5
4
  *
@@ -30,11 +29,11 @@ import { omitProps, withDeterministicId } from '@instructure/ui-react-utils';
30
29
  import { hasVisibleChildren } from '@instructure/ui-a11y-utils';
31
30
  import { findTabbable, getActiveElement } from '@instructure/ui-dom-utils';
32
31
  import { withStyleNew } from '@instructure/emotion';
33
- import { PaginationButton } from "./PaginationButton/index.js";
34
- import { PaginationArrowButton } from "./PaginationArrowButton/index.js";
35
- import { PaginationPageInput } from "./PaginationPageInput/index.js";
36
- import generateStyle from "./styles.js";
37
- import { allowedProps } from "./props.js";
32
+ import { PaginationButton } from './PaginationButton/index.js';
33
+ import { PaginationArrowButton } from './PaginationArrowButton/index.js';
34
+ import { PaginationPageInput } from './PaginationPageInput/index.js';
35
+ import generateStyle from './styles.js';
36
+ import { allowedProps } from './props.js';
38
37
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
39
38
  /** This is an [].findIndex optimized to work on really big, but sparse, arrays */
40
39
  const fastFindIndex = (arr, fn) => Number(Object.keys(arr).find(k => fn(arr[Number(k)])));
@@ -57,7 +56,7 @@ category: components
57
56
  ---
58
57
  **/
59
58
  let Pagination = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateStyle), _dec(_class = _dec2(_class = class Pagination extends Component {
60
- static displayName = "Pagination";
59
+ static displayName = 'Pagination';
61
60
  static componentId = 'Pagination';
62
61
  static allowedProps = allowedProps;
63
62
  static defaultProps = {
@@ -91,9 +90,6 @@ let Pagination = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateSty
91
90
  super(props);
92
91
  this._labelId = props.deterministicId();
93
92
  }
94
- get _root() {
95
- return this.ref;
96
- }
97
93
  get inputMode() {
98
94
  return this.props.variant === 'input';
99
95
  }
package/es/exports/a.js CHANGED
@@ -21,4 +21,5 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Pagination, PaginationButton } from "../Pagination/v1/index.js";
24
+
25
+ export { Pagination, PaginationButton } from '../Pagination/v1/index.js';
package/es/exports/b.js CHANGED
@@ -21,4 +21,5 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { Pagination, PaginationButton } from "../Pagination/v2/index.js";
24
+
25
+ export { Pagination, PaginationButton } from '../Pagination/v2/index.js';
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@instructure/ui-pagination",
3
- "version": "11.7.3",
3
+ "version": "11.7.4-pr-snapshot-1781695314229",
4
+ "type": "module",
4
5
  "description": "A UI component library made by Instructure Inc.",
5
6
  "author": "Instructure, Inc. Engineering and Product Design",
6
7
  "module": "./es/index.js",
7
- "main": "./lib/index.js",
8
8
  "types": "./types/index.d.ts",
9
9
  "repository": {
10
10
  "type": "git",
@@ -15,30 +15,30 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.2",
18
- "@instructure/shared-types": "11.7.3",
19
- "@instructure/emotion": "11.7.3",
20
- "@instructure/ui-a11y-utils": "11.7.3",
21
- "@instructure/ui-buttons": "11.7.3",
22
- "@instructure/ui-a11y-content": "11.7.3",
23
- "@instructure/ui-dom-utils": "11.7.3",
24
- "@instructure/ui-icons": "11.7.3",
25
- "@instructure/ui-number-input": "11.7.3",
26
- "@instructure/ui-portal": "11.7.3",
27
- "@instructure/ui-react-utils": "11.7.3",
28
- "@instructure/ui-text": "11.7.3",
29
- "@instructure/ui-tooltip": "11.7.3",
30
- "@instructure/ui-utils": "11.7.3",
31
- "@instructure/ui-themes": "11.7.3",
32
- "@instructure/ui-view": "11.7.3",
33
- "@instructure/uid": "11.7.3"
18
+ "@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
19
+ "@instructure/ui-a11y-content": "11.7.4-pr-snapshot-1781695314229",
20
+ "@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
21
+ "@instructure/ui-buttons": "11.7.4-pr-snapshot-1781695314229",
22
+ "@instructure/ui-a11y-utils": "11.7.4-pr-snapshot-1781695314229",
23
+ "@instructure/ui-dom-utils": "11.7.4-pr-snapshot-1781695314229",
24
+ "@instructure/ui-icons": "11.7.4-pr-snapshot-1781695314229",
25
+ "@instructure/ui-portal": "11.7.4-pr-snapshot-1781695314229",
26
+ "@instructure/ui-number-input": "11.7.4-pr-snapshot-1781695314229",
27
+ "@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
28
+ "@instructure/ui-themes": "11.7.4-pr-snapshot-1781695314229",
29
+ "@instructure/ui-text": "11.7.4-pr-snapshot-1781695314229",
30
+ "@instructure/ui-utils": "11.7.4-pr-snapshot-1781695314229",
31
+ "@instructure/ui-view": "11.7.4-pr-snapshot-1781695314229",
32
+ "@instructure/ui-tooltip": "11.7.4-pr-snapshot-1781695314229",
33
+ "@instructure/uid": "11.7.4-pr-snapshot-1781695314229"
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-axe-check": "11.7.3",
41
- "@instructure/ui-babel-preset": "11.7.3"
40
+ "@instructure/ui-axe-check": "11.7.4-pr-snapshot-1781695314229",
41
+ "@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "react": ">=18 <=19"
@@ -48,7 +48,6 @@
48
48
  },
49
49
  "sideEffects": false,
50
50
  "exports": {
51
- "./lib/*": "./lib/*",
52
51
  "./es/*": "./es/*",
53
52
  "./types/*": "./types/*",
54
53
  "./package.json": "./package.json",
@@ -57,28 +56,24 @@
57
56
  "src": "./src/exports/a.ts",
58
57
  "types": "./types/exports/a.d.ts",
59
58
  "import": "./es/exports/a.js",
60
- "require": "./lib/exports/a.js",
61
59
  "default": "./es/exports/a.js"
62
60
  },
63
61
  "./v11_6": {
64
62
  "src": "./src/exports/a.ts",
65
63
  "types": "./types/exports/a.d.ts",
66
64
  "import": "./es/exports/a.js",
67
- "require": "./lib/exports/a.js",
68
65
  "default": "./es/exports/a.js"
69
66
  },
70
67
  "./v11_7": {
71
68
  "src": "./src/exports/b.ts",
72
69
  "types": "./types/exports/b.d.ts",
73
70
  "import": "./es/exports/b.js",
74
- "require": "./lib/exports/b.js",
75
71
  "default": "./es/exports/b.js"
76
72
  },
77
73
  "./latest": {
78
74
  "src": "./src/exports/b.ts",
79
75
  "types": "./types/exports/b.d.ts",
80
76
  "import": "./es/exports/b.js",
81
- "require": "./lib/exports/b.js",
82
77
  "default": "./es/exports/b.js"
83
78
  }
84
79
  },
@@ -86,7 +81,7 @@
86
81
  "lint": "ui-scripts lint",
87
82
  "lint:fix": "ui-scripts lint --fix",
88
83
  "clean": "ui-scripts clean",
89
- "build": "ui-scripts build --modules es,cjs",
84
+ "build": "ui-scripts build",
90
85
  "build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
91
86
  "build:types": "tsc -p tsconfig.build.json",
92
87
  "ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
@@ -35,7 +35,7 @@ import {
35
35
  } from '@instructure/ui-icons'
36
36
 
37
37
  import type { PaginationNavigationProps } from './props'
38
- import { allowedProps } from './props'
38
+ import { allowedProps } from './props.js'
39
39
 
40
40
  /**
41
41
  ---
@@ -44,6 +44,7 @@ id: Pagination.Navigation
44
44
  ---
45
45
  **/
46
46
  class PaginationArrowButton extends Component<PaginationNavigationProps> {
47
+ static displayName = 'PaginationArrowButton'
47
48
  static readonly componentId = 'Pagination.Navigation'
48
49
 
49
50
  static allowedProps = allowedProps
@@ -27,7 +27,7 @@ import { Component } from 'react'
27
27
  import { BaseButton } from '@instructure/ui-buttons/v11_6'
28
28
  import { omitProps } from '@instructure/ui-react-utils'
29
29
 
30
- import { allowedProps } from './props'
30
+ import { allowedProps } from './props.js'
31
31
  import type { PaginationPageProps } from './props'
32
32
 
33
33
  /**
@@ -38,6 +38,7 @@ id: Pagination.Page
38
38
  **/
39
39
 
40
40
  class PaginationButton extends Component<PaginationPageProps> {
41
+ static displayName = 'PaginationButton'
41
42
  static readonly componentId = 'Pagination.Page'
42
43
 
43
44
  static allowedProps = allowedProps
@@ -28,10 +28,10 @@ import { withStyle } from '@instructure/emotion'
28
28
  import { NumberInput } from '@instructure/ui-number-input/v11_6'
29
29
  import { ScreenReaderContent } from '@instructure/ui-a11y-content'
30
30
 
31
- import generateStyle from './styles'
32
- import generateComponentTheme from './theme'
31
+ import generateStyle from './styles.js'
32
+ import generateComponentTheme from './theme.js'
33
33
 
34
- import { allowedProps } from './props'
34
+ import { allowedProps } from './props.js'
35
35
  import type {
36
36
  PaginationPageInputProps,
37
37
  PaginationPageInputState
@@ -48,6 +48,7 @@ class PaginationPageInput extends Component<
48
48
  PaginationPageInputProps,
49
49
  PaginationPageInputState
50
50
  > {
51
+ static displayName = 'PaginationPageInput'
51
52
  static readonly componentId = 'Pagination.PageInput'
52
53
 
53
54
  static allowedProps = allowedProps
@@ -35,17 +35,17 @@ import { hasVisibleChildren } from '@instructure/ui-a11y-utils'
35
35
  import { findTabbable, getActiveElement } from '@instructure/ui-dom-utils'
36
36
  import { withStyle } from '@instructure/emotion'
37
37
 
38
- import { PaginationButton } from './PaginationButton'
39
- import { PaginationArrowButton } from './PaginationArrowButton'
40
- import { PaginationPageInput } from './PaginationPageInput'
38
+ import { PaginationButton } from './PaginationButton/index.js'
39
+ import { PaginationArrowButton } from './PaginationArrowButton/index.js'
40
+ import { PaginationPageInput } from './PaginationPageInput/index.js'
41
41
 
42
- import generateStyle from './styles'
43
- import generateComponentTheme from './theme'
42
+ import generateStyle from './styles.js'
43
+ import generateComponentTheme from './theme.js'
44
44
 
45
45
  import type { PaginationPageProps } from './PaginationButton/props'
46
46
  import type { PaginationArrowDirections } from './PaginationArrowButton/props'
47
47
 
48
- import { allowedProps } from './props'
48
+ import { allowedProps } from './props.js'
49
49
  import type { PaginationProps, PaginationSnapshot, ChildPage } from './props'
50
50
 
51
51
  /** This is an [].findIndex optimized to work on really big, but sparse, arrays */
@@ -87,6 +87,7 @@ category: components
87
87
  @withDeterministicId()
88
88
  @withStyle(generateStyle, generateComponentTheme)
89
89
  class Pagination extends Component<PaginationProps> {
90
+ static displayName = 'Pagination'
90
91
  static readonly componentId = 'Pagination'
91
92
 
92
93
  static allowedProps = allowedProps
@@ -36,7 +36,7 @@ import {
36
36
  } from '@instructure/ui-icons'
37
37
 
38
38
  import type { PaginationNavigationProps } from './props'
39
- import { allowedProps } from './props'
39
+ import { allowedProps } from './props.js'
40
40
 
41
41
  /**
42
42
  ---
@@ -45,6 +45,7 @@ id: Pagination.Navigation
45
45
  ---
46
46
  **/
47
47
  class PaginationArrowButton extends Component<PaginationNavigationProps> {
48
+ static displayName = 'PaginationArrowButton'
48
49
  static readonly componentId = 'Pagination.Navigation'
49
50
 
50
51
  static allowedProps = allowedProps
@@ -27,7 +27,7 @@ import { Component } from 'react'
27
27
  import { BaseButton } from '@instructure/ui-buttons/latest'
28
28
  import { omitProps } from '@instructure/ui-react-utils'
29
29
 
30
- import { allowedProps } from './props'
30
+ import { allowedProps } from './props.js'
31
31
  import type { PaginationPageProps } from './props'
32
32
 
33
33
  /**
@@ -38,6 +38,7 @@ id: Pagination.Page
38
38
  **/
39
39
 
40
40
  class PaginationButton extends Component<PaginationPageProps> {
41
+ static displayName = 'PaginationButton'
41
42
  static readonly componentId = 'Pagination.Page'
42
43
 
43
44
  static allowedProps = allowedProps
@@ -29,9 +29,9 @@ import { Text } from '@instructure/ui-text/latest'
29
29
  import { NumberInput } from '@instructure/ui-number-input/latest'
30
30
  import { ScreenReaderContent } from '@instructure/ui-a11y-content'
31
31
 
32
- import generateStyle from './styles'
32
+ import generateStyle from './styles.js'
33
33
 
34
- import { allowedProps } from './props'
34
+ import { allowedProps } from './props.js'
35
35
  import type {
36
36
  PaginationPageInputProps,
37
37
  PaginationPageInputState
@@ -48,6 +48,7 @@ class PaginationPageInput extends Component<
48
48
  PaginationPageInputProps,
49
49
  PaginationPageInputState
50
50
  > {
51
+ static displayName = 'PaginationPageInput'
51
52
  static readonly componentId = 'Pagination.PageInput'
52
53
 
53
54
  static allowedProps = allowedProps
@@ -36,16 +36,16 @@ import { hasVisibleChildren } from '@instructure/ui-a11y-utils'
36
36
  import { findTabbable, getActiveElement } from '@instructure/ui-dom-utils'
37
37
  import { withStyleNew } from '@instructure/emotion'
38
38
 
39
- import { PaginationButton } from './PaginationButton'
40
- import { PaginationArrowButton } from './PaginationArrowButton'
41
- import { PaginationPageInput } from './PaginationPageInput'
39
+ import { PaginationButton } from './PaginationButton/index.js'
40
+ import { PaginationArrowButton } from './PaginationArrowButton/index.js'
41
+ import { PaginationPageInput } from './PaginationPageInput/index.js'
42
42
 
43
- import generateStyle from './styles'
43
+ import generateStyle from './styles.js'
44
44
 
45
45
  import type { PaginationPageProps } from './PaginationButton/props'
46
46
  import type { PaginationArrowDirections } from './PaginationArrowButton/props'
47
47
 
48
- import { allowedProps } from './props'
48
+ import { allowedProps } from './props.js'
49
49
  import type { PaginationProps, PaginationSnapshot, ChildPage } from './props'
50
50
 
51
51
  /** This is an [].findIndex optimized to work on really big, but sparse, arrays */
@@ -87,6 +87,7 @@ category: components
87
87
  @withDeterministicId()
88
88
  @withStyleNew(generateStyle)
89
89
  class Pagination extends Component<PaginationProps> {
90
+ static displayName = 'Pagination'
90
91
  static readonly componentId = 'Pagination'
91
92
 
92
93
  static allowedProps = allowedProps
@@ -131,14 +132,6 @@ class Pagination extends Component<PaginationProps> {
131
132
  this._labelId = props.deterministicId!()
132
133
  }
133
134
 
134
- get _root() {
135
- console.warn(
136
- '_root property is deprecated and will be removed in v9, please use ref instead'
137
- )
138
-
139
- return this.ref
140
- }
141
-
142
135
  get inputMode() {
143
136
  return this.props.variant === 'input'
144
137
  }
package/src/exports/a.ts CHANGED
@@ -22,7 +22,7 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { Pagination, PaginationButton } from '../Pagination/v1'
25
+ export { Pagination, PaginationButton } from '../Pagination/v1/index.js'
26
26
 
27
27
  export type { PaginationProps } from '../Pagination/v1/props'
28
28
  export type { PaginationPageProps } from '../Pagination/v1/PaginationButton/props'
package/src/exports/b.ts CHANGED
@@ -22,7 +22,7 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { Pagination, PaginationButton } from '../Pagination/v2'
25
+ export { Pagination, PaginationButton } from '../Pagination/v2/index.js'
26
26
 
27
27
  export type { PaginationProps } from '../Pagination/v2/props'
28
28
  export type { PaginationPageProps } from '../Pagination/v2/PaginationButton/props'