@instructure/ui-table 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 +5 -2
- package/es/Table/props.js +1 -2
- package/lib/Table/props.js +1 -2
- package/package.json +17 -17
- package/src/Table/props.ts +1 -3
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Table/index.d.ts.map +1 -1
- package/types/Table/props.d.ts.map +1 -1
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-
|
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
|
-
|
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
|
|
package/es/Table/props.js
CHANGED
@@ -23,11 +23,10 @@
|
|
23
23
|
*/
|
24
24
|
|
25
25
|
import PropTypes from 'prop-types';
|
26
|
-
import { ThemeablePropTypes } from '@instructure/emotion';
|
27
26
|
const propTypes = {
|
28
27
|
caption: PropTypes.node.isRequired,
|
29
28
|
children: PropTypes.node,
|
30
|
-
margin:
|
29
|
+
margin: PropTypes.string,
|
31
30
|
elementRef: PropTypes.func,
|
32
31
|
hover: PropTypes.bool,
|
33
32
|
layout: PropTypes.oneOf(['auto', 'fixed', 'stacked'])
|
package/lib/Table/props.js
CHANGED
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
});
|
7
7
|
exports.propTypes = exports.allowedProps = void 0;
|
8
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
9
|
-
var _emotion = require("@instructure/emotion");
|
10
9
|
/*
|
11
10
|
* The MIT License (MIT)
|
12
11
|
*
|
@@ -34,7 +33,7 @@ var _emotion = require("@instructure/emotion");
|
|
34
33
|
const propTypes = exports.propTypes = {
|
35
34
|
caption: _propTypes.default.node.isRequired,
|
36
35
|
children: _propTypes.default.node,
|
37
|
-
margin:
|
36
|
+
margin: _propTypes.default.string,
|
38
37
|
elementRef: _propTypes.default.func,
|
39
38
|
hover: _propTypes.default.bool,
|
40
39
|
layout: _propTypes.default.oneOf(['auto', 'fixed', 'stacked'])
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@instructure/ui-table",
|
3
|
-
"version": "10.15.2-snapshot-
|
3
|
+
"version": "10.15.2-snapshot-2",
|
4
4
|
"description": "A styled HTML table component",
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
6
6
|
"module": "./es/index.js",
|
@@ -23,11 +23,11 @@
|
|
23
23
|
},
|
24
24
|
"license": "MIT",
|
25
25
|
"devDependencies": {
|
26
|
-
"@instructure/ui-axe-check": "10.15.2-snapshot-
|
27
|
-
"@instructure/ui-babel-preset": "10.15.2-snapshot-
|
28
|
-
"@instructure/ui-color-utils": "10.15.2-snapshot-
|
29
|
-
"@instructure/ui-test-utils": "10.15.2-snapshot-
|
30
|
-
"@instructure/ui-themes": "10.15.2-snapshot-
|
26
|
+
"@instructure/ui-axe-check": "10.15.2-snapshot-2",
|
27
|
+
"@instructure/ui-babel-preset": "10.15.2-snapshot-2",
|
28
|
+
"@instructure/ui-color-utils": "10.15.2-snapshot-2",
|
29
|
+
"@instructure/ui-test-utils": "10.15.2-snapshot-2",
|
30
|
+
"@instructure/ui-themes": "10.15.2-snapshot-2",
|
31
31
|
"@testing-library/jest-dom": "^6.6.3",
|
32
32
|
"@testing-library/react": "^16.0.1",
|
33
33
|
"@testing-library/user-event": "^14.5.2",
|
@@ -35,17 +35,17 @@
|
|
35
35
|
},
|
36
36
|
"dependencies": {
|
37
37
|
"@babel/runtime": "^7.26.0",
|
38
|
-
"@instructure/console": "10.15.2-snapshot-
|
39
|
-
"@instructure/emotion": "10.15.2-snapshot-
|
40
|
-
"@instructure/shared-types": "10.15.2-snapshot-
|
41
|
-
"@instructure/ui-a11y-content": "10.15.2-snapshot-
|
42
|
-
"@instructure/ui-icons": "10.15.2-snapshot-
|
43
|
-
"@instructure/ui-prop-types": "10.15.2-snapshot-
|
44
|
-
"@instructure/ui-react-utils": "10.15.2-snapshot-
|
45
|
-
"@instructure/ui-simple-select": "10.15.2-snapshot-
|
46
|
-
"@instructure/ui-testable": "10.15.2-snapshot-
|
47
|
-
"@instructure/ui-utils": "10.15.2-snapshot-
|
48
|
-
"@instructure/ui-view": "10.15.2-snapshot-
|
38
|
+
"@instructure/console": "10.15.2-snapshot-2",
|
39
|
+
"@instructure/emotion": "10.15.2-snapshot-2",
|
40
|
+
"@instructure/shared-types": "10.15.2-snapshot-2",
|
41
|
+
"@instructure/ui-a11y-content": "10.15.2-snapshot-2",
|
42
|
+
"@instructure/ui-icons": "10.15.2-snapshot-2",
|
43
|
+
"@instructure/ui-prop-types": "10.15.2-snapshot-2",
|
44
|
+
"@instructure/ui-react-utils": "10.15.2-snapshot-2",
|
45
|
+
"@instructure/ui-simple-select": "10.15.2-snapshot-2",
|
46
|
+
"@instructure/ui-testable": "10.15.2-snapshot-2",
|
47
|
+
"@instructure/ui-utils": "10.15.2-snapshot-2",
|
48
|
+
"@instructure/ui-view": "10.15.2-snapshot-2",
|
49
49
|
"prop-types": "^15.8.1"
|
50
50
|
},
|
51
51
|
"peerDependencies": {
|
package/src/Table/props.ts
CHANGED
@@ -24,8 +24,6 @@
|
|
24
24
|
import React from 'react'
|
25
25
|
import PropTypes from 'prop-types'
|
26
26
|
|
27
|
-
import { ThemeablePropTypes } from '@instructure/emotion'
|
28
|
-
|
29
27
|
import type {
|
30
28
|
Spacing,
|
31
29
|
WithStyleProps,
|
@@ -87,7 +85,7 @@ type TableStyle = ComponentStyle<'table'>
|
|
87
85
|
const propTypes: PropValidators<PropKeys> = {
|
88
86
|
caption: PropTypes.node.isRequired,
|
89
87
|
children: PropTypes.node,
|
90
|
-
margin:
|
88
|
+
margin: PropTypes.string,
|
91
89
|
elementRef: PropTypes.func,
|
92
90
|
hover: PropTypes.bool,
|
93
91
|
layout: PropTypes.oneOf(['auto', 'fixed', 'stacked'])
|