@instructure/ui-pages 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.
- package/CHANGELOG.md +8 -0
- package/LICENSE.md +1 -0
- package/{lib/Pages/v1/props.js → babel.config.cjs} +12 -7
- package/es/Pages/v1/Page/index.js +3 -3
- package/es/Pages/v1/index.js +6 -6
- package/es/exports/a.js +2 -2
- package/package.json +13 -18
- package/src/Pages/v1/Page/index.tsx +3 -2
- package/src/Pages/v1/index.tsx +6 -5
- package/src/exports/a.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Pages/v1/Page/index.d.ts +2 -1
- package/types/Pages/v1/Page/index.d.ts.map +1 -1
- package/types/Pages/v1/index.d.ts +2 -1
- package/types/Pages/v1/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +2 -2
- package/types/exports/a.d.ts.map +1 -1
- package/lib/Pages/v1/Page/index.js +0 -109
- package/lib/Pages/v1/Page/props.js +0 -31
- package/lib/Pages/v1/PagesContext.js +0 -36
- package/lib/Pages/v1/index.js +0 -169
- package/lib/Pages/v1/styles.js +0 -53
- package/lib/Pages/v1/theme.js +0 -49
- package/lib/exports/a.js +0 -19
- package/lib/package.json +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
**Note:** Version bump only for package @instructure/ui-pages
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [11.7.3](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3) (2026-05-07)
|
|
7
15
|
|
|
8
16
|
|
package/LICENSE.md
CHANGED
|
@@ -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
|
-
|
|
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
|
+
}
|
|
@@ -26,8 +26,8 @@ import { Component } from 'react';
|
|
|
26
26
|
import { findDOMNode, findTabbable } from '@instructure/ui-dom-utils';
|
|
27
27
|
import { logError as error } from '@instructure/console';
|
|
28
28
|
import { View } from '@instructure/ui-view/v11_6';
|
|
29
|
-
import { PagesContext } from
|
|
30
|
-
import { allowedProps } from
|
|
29
|
+
import { PagesContext } from '../PagesContext.js';
|
|
30
|
+
import { allowedProps } from './props.js';
|
|
31
31
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
32
32
|
/**
|
|
33
33
|
---
|
|
@@ -36,7 +36,7 @@ id: Pages.Page
|
|
|
36
36
|
---
|
|
37
37
|
**/
|
|
38
38
|
class Page extends Component {
|
|
39
|
-
static displayName =
|
|
39
|
+
static displayName = 'Page';
|
|
40
40
|
static componentId = 'Pages.Page';
|
|
41
41
|
static allowedProps = allowedProps;
|
|
42
42
|
static defaultProps = {
|
package/es/Pages/v1/index.js
CHANGED
|
@@ -28,12 +28,12 @@ import { View } from '@instructure/ui-view/v11_6';
|
|
|
28
28
|
import { containsActiveElement, findTabbable } from '@instructure/ui-dom-utils';
|
|
29
29
|
import { safeCloneElement, withDeterministicId } from '@instructure/ui-react-utils';
|
|
30
30
|
import { logError as error } from '@instructure/console';
|
|
31
|
-
import { Page } from
|
|
31
|
+
import { Page } from './Page/index.js';
|
|
32
32
|
import { withStyle } from '@instructure/emotion';
|
|
33
|
-
import generateStyle from
|
|
34
|
-
import generateComponentTheme from
|
|
35
|
-
import { PagesContext } from
|
|
36
|
-
import { allowedProps } from
|
|
33
|
+
import generateStyle from './styles.js';
|
|
34
|
+
import generateComponentTheme from './theme.js';
|
|
35
|
+
import { PagesContext } from './PagesContext.js';
|
|
36
|
+
import { allowedProps } from './props.js';
|
|
37
37
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
38
38
|
/**
|
|
39
39
|
---
|
|
@@ -41,7 +41,7 @@ category: components
|
|
|
41
41
|
---
|
|
42
42
|
**/
|
|
43
43
|
let Pages = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec(_class = _dec2(_class = class Pages extends Component {
|
|
44
|
-
static displayName =
|
|
44
|
+
static displayName = 'Pages';
|
|
45
45
|
static componentId = 'Pages';
|
|
46
46
|
static allowedProps = allowedProps;
|
|
47
47
|
static defaultProps = {
|
package/es/exports/a.js
CHANGED
|
@@ -21,5 +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 { Pages } from
|
|
25
|
-
export { Page as PagesPage } from
|
|
24
|
+
export { Pages } from '../Pages/v1/index.js';
|
|
25
|
+
export { Page as PagesPage } from '../Pages/v1/Page/index.js';
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-pages",
|
|
3
|
-
"version": "11.7.
|
|
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,22 +15,22 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
|
-
"@instructure/
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/
|
|
23
|
-
"@instructure/ui-themes": "11.7.
|
|
24
|
-
"@instructure/ui-utils": "11.7.
|
|
25
|
-
"@instructure/ui-view": "11.7.
|
|
18
|
+
"@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
|
|
19
|
+
"@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
|
|
20
|
+
"@instructure/ui-dom-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
21
|
+
"@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
22
|
+
"@instructure/console": "11.7.4-pr-snapshot-1781695314229",
|
|
23
|
+
"@instructure/ui-themes": "11.7.4-pr-snapshot-1781695314229",
|
|
24
|
+
"@instructure/ui-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
25
|
+
"@instructure/ui-view": "11.7.4-pr-snapshot-1781695314229"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@testing-library/jest-dom": "^6.6.3",
|
|
29
29
|
"@testing-library/react": "15.0.7",
|
|
30
30
|
"@testing-library/user-event": "^14.6.1",
|
|
31
31
|
"vitest": "^3.2.2",
|
|
32
|
-
"@instructure/ui-babel-preset": "11.7.
|
|
33
|
-
"@instructure/ui-color-utils": "11.7.
|
|
32
|
+
"@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229",
|
|
33
|
+
"@instructure/ui-color-utils": "11.7.4-pr-snapshot-1781695314229"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"react": ">=18 <=19"
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": false,
|
|
42
42
|
"exports": {
|
|
43
|
-
"./lib/*": "./lib/*",
|
|
44
43
|
"./es/*": "./es/*",
|
|
45
44
|
"./types/*": "./types/*",
|
|
46
45
|
"./package.json": "./package.json",
|
|
@@ -49,28 +48,24 @@
|
|
|
49
48
|
"src": "./src/exports/a.ts",
|
|
50
49
|
"types": "./types/exports/a.d.ts",
|
|
51
50
|
"import": "./es/exports/a.js",
|
|
52
|
-
"require": "./lib/exports/a.js",
|
|
53
51
|
"default": "./es/exports/a.js"
|
|
54
52
|
},
|
|
55
53
|
"./v11_6": {
|
|
56
54
|
"src": "./src/exports/a.ts",
|
|
57
55
|
"types": "./types/exports/a.d.ts",
|
|
58
56
|
"import": "./es/exports/a.js",
|
|
59
|
-
"require": "./lib/exports/a.js",
|
|
60
57
|
"default": "./es/exports/a.js"
|
|
61
58
|
},
|
|
62
59
|
"./v11_7": {
|
|
63
60
|
"src": "./src/exports/a.ts",
|
|
64
61
|
"types": "./types/exports/a.d.ts",
|
|
65
62
|
"import": "./es/exports/a.js",
|
|
66
|
-
"require": "./lib/exports/a.js",
|
|
67
63
|
"default": "./es/exports/a.js"
|
|
68
64
|
},
|
|
69
65
|
"./latest": {
|
|
70
66
|
"src": "./src/exports/a.ts",
|
|
71
67
|
"types": "./types/exports/a.d.ts",
|
|
72
68
|
"import": "./es/exports/a.js",
|
|
73
|
-
"require": "./lib/exports/a.js",
|
|
74
69
|
"default": "./es/exports/a.js"
|
|
75
70
|
}
|
|
76
71
|
},
|
|
@@ -78,7 +73,7 @@
|
|
|
78
73
|
"lint": "ui-scripts lint",
|
|
79
74
|
"lint:fix": "ui-scripts lint --fix",
|
|
80
75
|
"clean": "ui-scripts clean",
|
|
81
|
-
"build": "ui-scripts build
|
|
76
|
+
"build": "ui-scripts build",
|
|
82
77
|
"build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
|
|
83
78
|
"build:types": "tsc -p tsconfig.build.json",
|
|
84
79
|
"ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
|
|
@@ -28,9 +28,9 @@ import { findDOMNode, findTabbable } from '@instructure/ui-dom-utils'
|
|
|
28
28
|
import { logError as error } from '@instructure/console'
|
|
29
29
|
import { View } from '@instructure/ui-view/v11_6'
|
|
30
30
|
|
|
31
|
-
import { PagesContext } from '../PagesContext'
|
|
31
|
+
import { PagesContext } from '../PagesContext.js'
|
|
32
32
|
|
|
33
|
-
import { allowedProps } from './props'
|
|
33
|
+
import { allowedProps } from './props.js'
|
|
34
34
|
import type { PagesPageProps } from './props'
|
|
35
35
|
|
|
36
36
|
/**
|
|
@@ -40,6 +40,7 @@ id: Pages.Page
|
|
|
40
40
|
---
|
|
41
41
|
**/
|
|
42
42
|
class Page extends Component<PagesPageProps> {
|
|
43
|
+
static displayName = 'Page'
|
|
43
44
|
static readonly componentId = 'Pages.Page'
|
|
44
45
|
|
|
45
46
|
static allowedProps = allowedProps
|
package/src/Pages/v1/index.tsx
CHANGED
|
@@ -32,15 +32,15 @@ import {
|
|
|
32
32
|
} from '@instructure/ui-react-utils'
|
|
33
33
|
import { logError as error } from '@instructure/console'
|
|
34
34
|
|
|
35
|
-
import { Page } from './Page'
|
|
35
|
+
import { Page } from './Page/index.js'
|
|
36
36
|
|
|
37
37
|
import { withStyle } from '@instructure/emotion'
|
|
38
|
-
import generateStyle from './styles'
|
|
39
|
-
import generateComponentTheme from './theme'
|
|
38
|
+
import generateStyle from './styles.js'
|
|
39
|
+
import generateComponentTheme from './theme.js'
|
|
40
40
|
|
|
41
|
-
import { PagesContext } from './PagesContext'
|
|
41
|
+
import { PagesContext } from './PagesContext.js'
|
|
42
42
|
|
|
43
|
-
import { allowedProps } from './props'
|
|
43
|
+
import { allowedProps } from './props.js'
|
|
44
44
|
import type { PagesProps, PagesState } from './props'
|
|
45
45
|
|
|
46
46
|
/**
|
|
@@ -51,6 +51,7 @@ category: components
|
|
|
51
51
|
@withDeterministicId()
|
|
52
52
|
@withStyle(generateStyle, generateComponentTheme)
|
|
53
53
|
class Pages extends Component<PagesProps, PagesState> {
|
|
54
|
+
static displayName = 'Pages'
|
|
54
55
|
static readonly componentId = 'Pages'
|
|
55
56
|
|
|
56
57
|
static allowedProps = allowedProps
|
package/src/exports/a.ts
CHANGED
|
@@ -21,8 +21,8 @@
|
|
|
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 { Pages } from '../Pages/v1'
|
|
25
|
-
export { Page as PagesPage } from '../Pages/v1/Page'
|
|
24
|
+
export { Pages } from '../Pages/v1/index.js'
|
|
25
|
+
export { Page as PagesPage } from '../Pages/v1/Page/index.js'
|
|
26
26
|
|
|
27
27
|
export type { PagesProps } from '../Pages/v1/props'
|
|
28
28
|
export type { PagesPageProps } from '../Pages/v1/Page/props'
|