@instructure/ui-overlays 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/Mask/v2/props.js → babel.config.cjs} +12 -7
- package/es/Mask/v1/index.js +7 -6
- package/es/Mask/v2/index.js +6 -5
- package/es/Overlay/v1/index.js +3 -2
- package/es/exports/a.js +2 -2
- package/es/exports/b.js +2 -2
- package/package.json +22 -27
- package/src/Mask/v1/index.tsx +6 -5
- package/src/Mask/v2/index.tsx +5 -4
- package/src/Overlay/v1/index.tsx +2 -1
- package/src/exports/a.ts +2 -2
- package/src/exports/b.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Mask/v1/index.d.ts +2 -1
- package/types/Mask/v1/index.d.ts.map +1 -1
- package/types/Mask/v2/index.d.ts +2 -1
- package/types/Mask/v2/index.d.ts.map +1 -1
- package/types/Overlay/v1/index.d.ts +1 -0
- package/types/Overlay/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/types/exports/b.d.ts +2 -2
- package/types/exports/b.d.ts.map +1 -1
- package/lib/Mask/v1/MaskCounter.js +0 -50
- package/lib/Mask/v1/index.js +0 -108
- package/lib/Mask/v1/props.js +0 -31
- package/lib/Mask/v1/styles.js +0 -89
- package/lib/Mask/v1/theme.js +0 -61
- package/lib/Mask/v2/MaskCounter.js +0 -50
- package/lib/Mask/v2/index.js +0 -107
- package/lib/Mask/v2/styles.js +0 -85
- package/lib/Overlay/v1/index.js +0 -146
- package/lib/Overlay/v1/props.js +0 -31
- package/lib/exports/a.js +0 -19
- package/lib/exports/b.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-overlays
|
|
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
|
+
}
|
package/es/Mask/v1/index.js
CHANGED
|
@@ -27,18 +27,19 @@ import { Component } from 'react';
|
|
|
27
27
|
import noScroll from 'no-scroll';
|
|
28
28
|
import { withStyle } from '@instructure/emotion';
|
|
29
29
|
import { ensureSingleChild, omitProps } from '@instructure/ui-react-utils';
|
|
30
|
-
import generateStyle from
|
|
31
|
-
import generateComponentTheme from
|
|
32
|
-
import { allowedProps } from
|
|
33
|
-
import MaskCounter from
|
|
30
|
+
import generateStyle from './styles.js';
|
|
31
|
+
import generateComponentTheme from './theme.js';
|
|
32
|
+
import { allowedProps } from './props.js';
|
|
33
|
+
import MaskCounter from './MaskCounter.js';
|
|
34
|
+
|
|
34
35
|
/**
|
|
35
36
|
---
|
|
36
|
-
category: components/
|
|
37
|
+
category: components/Util Components
|
|
37
38
|
---
|
|
38
39
|
**/
|
|
39
40
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
40
41
|
let Mask = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = class Mask extends Component {
|
|
41
|
-
static displayName =
|
|
42
|
+
static displayName = 'Mask';
|
|
42
43
|
static componentId = 'Mask';
|
|
43
44
|
static allowedProps = allowedProps;
|
|
44
45
|
static defaultProps = {
|
package/es/Mask/v2/index.js
CHANGED
|
@@ -27,17 +27,18 @@ import { Component } from 'react';
|
|
|
27
27
|
import noScroll from 'no-scroll';
|
|
28
28
|
import { withStyleNew } from '@instructure/emotion';
|
|
29
29
|
import { ensureSingleChild, omitProps } from '@instructure/ui-react-utils';
|
|
30
|
-
import generateStyle from
|
|
31
|
-
import { allowedProps } from
|
|
32
|
-
import MaskCounter from
|
|
30
|
+
import generateStyle from './styles.js';
|
|
31
|
+
import { allowedProps } from './props.js';
|
|
32
|
+
import MaskCounter from './MaskCounter.js';
|
|
33
|
+
|
|
33
34
|
/**
|
|
34
35
|
---
|
|
35
|
-
category: components/
|
|
36
|
+
category: components/Util Components
|
|
36
37
|
---
|
|
37
38
|
**/
|
|
38
39
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
39
40
|
let Mask = (_dec = withStyleNew(generateStyle), _dec(_class = class Mask extends Component {
|
|
40
|
-
static displayName =
|
|
41
|
+
static displayName = 'Mask';
|
|
41
42
|
static componentId = 'Mask';
|
|
42
43
|
static allowedProps = allowedProps;
|
|
43
44
|
static defaultProps = {
|
package/es/Overlay/v1/index.js
CHANGED
|
@@ -28,7 +28,8 @@ import { omitProps, pickProps } from '@instructure/ui-react-utils';
|
|
|
28
28
|
import { Dialog } from '@instructure/ui-dialog';
|
|
29
29
|
import { Portal } from '@instructure/ui-portal';
|
|
30
30
|
import { Transition } from '@instructure/ui-motion';
|
|
31
|
-
import { allowedProps } from
|
|
31
|
+
import { allowedProps } from './props.js';
|
|
32
|
+
|
|
32
33
|
/**
|
|
33
34
|
---
|
|
34
35
|
category: components
|
|
@@ -36,7 +37,7 @@ category: components
|
|
|
36
37
|
**/
|
|
37
38
|
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
38
39
|
class Overlay extends Component {
|
|
39
|
-
static displayName =
|
|
40
|
+
static displayName = 'Overlay';
|
|
40
41
|
static allowedProps = allowedProps;
|
|
41
42
|
static defaultProps = {
|
|
42
43
|
open: false,
|
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 { Mask } from
|
|
25
|
-
export { Overlay } from
|
|
24
|
+
export { Mask } from '../Mask/v1/index.js';
|
|
25
|
+
export { Overlay } from '../Overlay/v1/index.js';
|
package/es/exports/b.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 { Mask } from
|
|
25
|
-
export { Overlay } from
|
|
24
|
+
export { Mask } from '../Mask/v2/index.js';
|
|
25
|
+
export { Overlay } from '../Overlay/v1/index.js';
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-overlays",
|
|
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",
|
|
@@ -16,24 +16,24 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
18
|
"no-scroll": "^2.1.1",
|
|
19
|
-
"@instructure/console": "11.7.
|
|
20
|
-
"@instructure/emotion": "11.7.
|
|
21
|
-
"@instructure/shared-types": "11.7.
|
|
22
|
-
"@instructure/ui-buttons": "11.7.
|
|
23
|
-
"@instructure/ui-dialog": "11.7.
|
|
24
|
-
"@instructure/ui-
|
|
25
|
-
"@instructure/ui-
|
|
26
|
-
"@instructure/ui-
|
|
27
|
-
"@instructure/ui-
|
|
28
|
-
"@instructure/ui-
|
|
29
|
-
"@instructure/ui-
|
|
30
|
-
"@instructure/ui-
|
|
31
|
-
"@instructure/ui-position": "11.7.
|
|
32
|
-
"@instructure/ui-themes": "11.7.
|
|
33
|
-
"@instructure/ui-
|
|
34
|
-
"@instructure/ui-
|
|
35
|
-
"@instructure/
|
|
36
|
-
"@instructure/
|
|
19
|
+
"@instructure/console": "11.7.4-pr-snapshot-1781695314229",
|
|
20
|
+
"@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
|
|
21
|
+
"@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
|
|
22
|
+
"@instructure/ui-buttons": "11.7.4-pr-snapshot-1781695314229",
|
|
23
|
+
"@instructure/ui-dialog": "11.7.4-pr-snapshot-1781695314229",
|
|
24
|
+
"@instructure/ui-dom-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
25
|
+
"@instructure/ui-focusable": "11.7.4-pr-snapshot-1781695314229",
|
|
26
|
+
"@instructure/ui-motion": "11.7.4-pr-snapshot-1781695314229",
|
|
27
|
+
"@instructure/ui-i18n": "11.7.4-pr-snapshot-1781695314229",
|
|
28
|
+
"@instructure/ui-portal": "11.7.4-pr-snapshot-1781695314229",
|
|
29
|
+
"@instructure/ui-popover": "11.7.4-pr-snapshot-1781695314229",
|
|
30
|
+
"@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
31
|
+
"@instructure/ui-position": "11.7.4-pr-snapshot-1781695314229",
|
|
32
|
+
"@instructure/ui-themes": "11.7.4-pr-snapshot-1781695314229",
|
|
33
|
+
"@instructure/ui-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
34
|
+
"@instructure/ui-tooltip": "11.7.4-pr-snapshot-1781695314229",
|
|
35
|
+
"@instructure/uid": "11.7.4-pr-snapshot-1781695314229",
|
|
36
|
+
"@instructure/ui-view": "11.7.4-pr-snapshot-1781695314229"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@testing-library/jest-dom": "^6.6.3",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@testing-library/user-event": "^14.6.1",
|
|
42
42
|
"@types/no-scroll": "^2.1.2",
|
|
43
43
|
"vitest": "^3.2.2",
|
|
44
|
-
"@instructure/ui-babel-preset": "11.7.
|
|
44
|
+
"@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"react": ">=18 <=19"
|
|
@@ -51,7 +51,6 @@
|
|
|
51
51
|
},
|
|
52
52
|
"sideEffects": false,
|
|
53
53
|
"exports": {
|
|
54
|
-
"./lib/*": "./lib/*",
|
|
55
54
|
"./es/*": "./es/*",
|
|
56
55
|
"./types/*": "./types/*",
|
|
57
56
|
"./package.json": "./package.json",
|
|
@@ -60,28 +59,24 @@
|
|
|
60
59
|
"src": "./src/exports/a.ts",
|
|
61
60
|
"types": "./types/exports/a.d.ts",
|
|
62
61
|
"import": "./es/exports/a.js",
|
|
63
|
-
"require": "./lib/exports/a.js",
|
|
64
62
|
"default": "./es/exports/a.js"
|
|
65
63
|
},
|
|
66
64
|
"./v11_6": {
|
|
67
65
|
"src": "./src/exports/a.ts",
|
|
68
66
|
"types": "./types/exports/a.d.ts",
|
|
69
67
|
"import": "./es/exports/a.js",
|
|
70
|
-
"require": "./lib/exports/a.js",
|
|
71
68
|
"default": "./es/exports/a.js"
|
|
72
69
|
},
|
|
73
70
|
"./v11_7": {
|
|
74
71
|
"src": "./src/exports/b.ts",
|
|
75
72
|
"types": "./types/exports/b.d.ts",
|
|
76
73
|
"import": "./es/exports/b.js",
|
|
77
|
-
"require": "./lib/exports/b.js",
|
|
78
74
|
"default": "./es/exports/b.js"
|
|
79
75
|
},
|
|
80
76
|
"./latest": {
|
|
81
77
|
"src": "./src/exports/a.ts",
|
|
82
78
|
"types": "./types/exports/a.d.ts",
|
|
83
79
|
"import": "./es/exports/a.js",
|
|
84
|
-
"require": "./lib/exports/a.js",
|
|
85
80
|
"default": "./es/exports/a.js"
|
|
86
81
|
}
|
|
87
82
|
},
|
|
@@ -89,7 +84,7 @@
|
|
|
89
84
|
"lint": "ui-scripts lint",
|
|
90
85
|
"lint:fix": "ui-scripts lint --fix",
|
|
91
86
|
"clean": "ui-scripts clean",
|
|
92
|
-
"build": "ui-scripts build
|
|
87
|
+
"build": "ui-scripts build",
|
|
93
88
|
"build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
|
|
94
89
|
"build:types": "tsc -p tsconfig.build.json",
|
|
95
90
|
"ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
|
package/src/Mask/v1/index.tsx
CHANGED
|
@@ -29,20 +29,21 @@ import { withStyle } from '@instructure/emotion'
|
|
|
29
29
|
import type { ComponentStyle } from '@instructure/emotion'
|
|
30
30
|
import { ensureSingleChild, omitProps } from '@instructure/ui-react-utils'
|
|
31
31
|
|
|
32
|
-
import generateStyle from './styles'
|
|
33
|
-
import generateComponentTheme from './theme'
|
|
32
|
+
import generateStyle from './styles.js'
|
|
33
|
+
import generateComponentTheme from './theme.js'
|
|
34
34
|
|
|
35
35
|
import type { MaskProps } from './props'
|
|
36
|
-
import { allowedProps } from './props'
|
|
37
|
-
import MaskCounter from './MaskCounter'
|
|
36
|
+
import { allowedProps } from './props.js'
|
|
37
|
+
import MaskCounter from './MaskCounter.js'
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
---
|
|
41
|
-
category: components/
|
|
41
|
+
category: components/Util Components
|
|
42
42
|
---
|
|
43
43
|
**/
|
|
44
44
|
@withStyle(generateStyle, generateComponentTheme)
|
|
45
45
|
class Mask extends Component<MaskProps> {
|
|
46
|
+
static displayName = 'Mask'
|
|
46
47
|
static readonly componentId = 'Mask'
|
|
47
48
|
|
|
48
49
|
static allowedProps = allowedProps
|
package/src/Mask/v2/index.tsx
CHANGED
|
@@ -29,19 +29,20 @@ import { withStyleNew } from '@instructure/emotion'
|
|
|
29
29
|
import type { ComponentStyle } from '@instructure/emotion'
|
|
30
30
|
import { ensureSingleChild, omitProps } from '@instructure/ui-react-utils'
|
|
31
31
|
|
|
32
|
-
import generateStyle from './styles'
|
|
32
|
+
import generateStyle from './styles.js'
|
|
33
33
|
|
|
34
34
|
import type { MaskProps } from './props'
|
|
35
|
-
import { allowedProps } from './props'
|
|
36
|
-
import MaskCounter from './MaskCounter'
|
|
35
|
+
import { allowedProps } from './props.js'
|
|
36
|
+
import MaskCounter from './MaskCounter.js'
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
---
|
|
40
|
-
category: components/
|
|
40
|
+
category: components/Util Components
|
|
41
41
|
---
|
|
42
42
|
**/
|
|
43
43
|
@withStyleNew(generateStyle)
|
|
44
44
|
class Mask extends Component<MaskProps> {
|
|
45
|
+
static displayName = 'Mask'
|
|
45
46
|
static readonly componentId = 'Mask'
|
|
46
47
|
|
|
47
48
|
static allowedProps = allowedProps
|
package/src/Overlay/v1/index.tsx
CHANGED
|
@@ -35,7 +35,7 @@ import { Transition } from '@instructure/ui-motion'
|
|
|
35
35
|
import type { TransitionType } from '@instructure/ui-motion'
|
|
36
36
|
|
|
37
37
|
import type { OverlayProps, OverlayState } from './props'
|
|
38
|
-
import { allowedProps } from './props'
|
|
38
|
+
import { allowedProps } from './props.js'
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
---
|
|
@@ -43,6 +43,7 @@ category: components
|
|
|
43
43
|
---
|
|
44
44
|
**/
|
|
45
45
|
class Overlay extends Component<OverlayProps, OverlayState> {
|
|
46
|
+
static displayName = 'Overlay'
|
|
46
47
|
static allowedProps = allowedProps
|
|
47
48
|
|
|
48
49
|
static defaultProps = {
|
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 { Mask } from '../Mask/v1'
|
|
25
|
-
export { Overlay } from '../Overlay/v1'
|
|
24
|
+
export { Mask } from '../Mask/v1/index.js'
|
|
25
|
+
export { Overlay } from '../Overlay/v1/index.js'
|
|
26
26
|
|
|
27
27
|
export type { MaskProps } from '../Mask/v1/props'
|
|
28
28
|
export type { OverlayProps } from '../Overlay/v1/props'
|
package/src/exports/b.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 { Mask } from '../Mask/v2'
|
|
25
|
-
export { Overlay } from '../Overlay/v1'
|
|
24
|
+
export { Mask } from '../Mask/v2/index.js'
|
|
25
|
+
export { Overlay } from '../Overlay/v1/index.js'
|
|
26
26
|
|
|
27
27
|
export type { MaskProps } from '../Mask/v2/props'
|
|
28
28
|
export type { OverlayProps } from '../Overlay/v1/props'
|