@instructure/ui-pagination 10.15.2-snapshot-0 → 10.15.2-snapshot-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 CHANGED
@@ -3,9 +3,12 @@
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
- ## [10.15.2-snapshot-0](https://github.com/instructure/instructure-ui/compare/v10.15.1...v10.15.2-snapshot-0) (2025-04-04)
6
+ ## [10.15.2-snapshot-2](https://github.com/instructure/instructure-ui/compare/v10.15.1...v10.15.2-snapshot-2) (2025-04-04)
7
7
 
8
- **Note:** Version bump only for package @instructure/ui-pagination
8
+
9
+ ### Bug Fixes
10
+
11
+ * update PropTypes to align with the new spacing tokens ([223d55b](https://github.com/instructure/instructure-ui/commit/223d55bad95e2a3a8b298d622e5b1d0fbab6b289))
9
12
 
10
13
 
11
14
 
@@ -24,7 +24,6 @@
24
24
 
25
25
  import PropTypes from 'prop-types';
26
26
  import { Children } from '@instructure/ui-prop-types';
27
- import { ThemeablePropTypes } from '@instructure/emotion';
28
27
  import { PaginationButton } from './PaginationButton';
29
28
  const propTypes = {
30
29
  children: Children.oneOf([PaginationButton]),
@@ -39,7 +38,7 @@ const propTypes = {
39
38
  labelNumberInput: PropTypes.func,
40
39
  screenReaderLabelNumberInput: PropTypes.func,
41
40
  variant: PropTypes.oneOf(['full', 'compact', 'input']),
42
- margin: ThemeablePropTypes.spacing,
41
+ margin: PropTypes.string,
43
42
  as: PropTypes.elementType,
44
43
  elementRef: PropTypes.func,
45
44
  inputRef: PropTypes.func,
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.propTypes = exports.allowedProps = void 0;
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  var _Children = require("@instructure/ui-prop-types/lib/Children.js");
10
- var _emotion = require("@instructure/emotion");
11
10
  var _PaginationButton = require("./PaginationButton");
12
11
  /*
13
12
  * The MIT License (MIT)
@@ -46,7 +45,7 @@ const propTypes = exports.propTypes = {
46
45
  labelNumberInput: _propTypes.default.func,
47
46
  screenReaderLabelNumberInput: _propTypes.default.func,
48
47
  variant: _propTypes.default.oneOf(['full', 'compact', 'input']),
49
- margin: _emotion.ThemeablePropTypes.spacing,
48
+ margin: _propTypes.default.string,
50
49
  as: _propTypes.default.elementType,
51
50
  elementRef: _propTypes.default.func,
52
51
  inputRef: _propTypes.default.func,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-pagination",
3
- "version": "10.15.2-snapshot-0",
3
+ "version": "10.15.2-snapshot-2",
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",
@@ -23,9 +23,9 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-axe-check": "10.15.2-snapshot-0",
27
- "@instructure/ui-babel-preset": "10.15.2-snapshot-0",
28
- "@instructure/ui-test-utils": "10.15.2-snapshot-0",
26
+ "@instructure/ui-axe-check": "10.15.2-snapshot-2",
27
+ "@instructure/ui-babel-preset": "10.15.2-snapshot-2",
28
+ "@instructure/ui-test-utils": "10.15.2-snapshot-2",
29
29
  "@testing-library/jest-dom": "^6.6.3",
30
30
  "@testing-library/react": "^16.0.1",
31
31
  "@testing-library/user-event": "^14.5.2",
@@ -33,23 +33,23 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@babel/runtime": "^7.26.0",
36
- "@instructure/emotion": "10.15.2-snapshot-0",
37
- "@instructure/shared-types": "10.15.2-snapshot-0",
38
- "@instructure/ui-a11y-content": "10.15.2-snapshot-0",
39
- "@instructure/ui-a11y-utils": "10.15.2-snapshot-0",
40
- "@instructure/ui-buttons": "10.15.2-snapshot-0",
41
- "@instructure/ui-dom-utils": "10.15.2-snapshot-0",
42
- "@instructure/ui-icons": "10.15.2-snapshot-0",
43
- "@instructure/ui-number-input": "10.15.2-snapshot-0",
44
- "@instructure/ui-portal": "10.15.2-snapshot-0",
45
- "@instructure/ui-prop-types": "10.15.2-snapshot-0",
46
- "@instructure/ui-react-utils": "10.15.2-snapshot-0",
47
- "@instructure/ui-testable": "10.15.2-snapshot-0",
48
- "@instructure/ui-themes": "10.15.2-snapshot-0",
49
- "@instructure/ui-tooltip": "10.15.2-snapshot-0",
50
- "@instructure/ui-utils": "10.15.2-snapshot-0",
51
- "@instructure/ui-view": "10.15.2-snapshot-0",
52
- "@instructure/uid": "10.15.2-snapshot-0",
36
+ "@instructure/emotion": "10.15.2-snapshot-2",
37
+ "@instructure/shared-types": "10.15.2-snapshot-2",
38
+ "@instructure/ui-a11y-content": "10.15.2-snapshot-2",
39
+ "@instructure/ui-a11y-utils": "10.15.2-snapshot-2",
40
+ "@instructure/ui-buttons": "10.15.2-snapshot-2",
41
+ "@instructure/ui-dom-utils": "10.15.2-snapshot-2",
42
+ "@instructure/ui-icons": "10.15.2-snapshot-2",
43
+ "@instructure/ui-number-input": "10.15.2-snapshot-2",
44
+ "@instructure/ui-portal": "10.15.2-snapshot-2",
45
+ "@instructure/ui-prop-types": "10.15.2-snapshot-2",
46
+ "@instructure/ui-react-utils": "10.15.2-snapshot-2",
47
+ "@instructure/ui-testable": "10.15.2-snapshot-2",
48
+ "@instructure/ui-themes": "10.15.2-snapshot-2",
49
+ "@instructure/ui-tooltip": "10.15.2-snapshot-2",
50
+ "@instructure/ui-utils": "10.15.2-snapshot-2",
51
+ "@instructure/ui-view": "10.15.2-snapshot-2",
52
+ "@instructure/uid": "10.15.2-snapshot-2",
53
53
  "prop-types": "^15.8.1"
54
54
  },
55
55
  "peerDependencies": {
@@ -26,7 +26,6 @@ import React from 'react'
26
26
  import PropTypes from 'prop-types'
27
27
 
28
28
  import { Children } from '@instructure/ui-prop-types'
29
- import { ThemeablePropTypes } from '@instructure/emotion'
30
29
 
31
30
  import { PaginationButton } from './PaginationButton'
32
31
 
@@ -214,7 +213,7 @@ const propTypes: PropValidators<PropKeys> = {
214
213
  labelNumberInput: PropTypes.func,
215
214
  screenReaderLabelNumberInput: PropTypes.func,
216
215
  variant: PropTypes.oneOf(['full', 'compact', 'input']),
217
- margin: ThemeablePropTypes.spacing,
216
+ margin: PropTypes.string,
218
217
  as: PropTypes.elementType,
219
218
  elementRef: PropTypes.func,
220
219
  inputRef: PropTypes.func,