@instructure/ui-overlays 11.7.4-snapshot-11 → 11.7.4-snapshot-49
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 +1 -1
- package/LICENSE.md +1 -0
- 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/lib/Mask/v1/index.js +6 -6
- package/lib/Mask/v2/index.js +5 -5
- package/lib/Overlay/v1/index.js +2 -2
- package/lib/exports/a.js +4 -4
- package/lib/exports/b.js +4 -4
- package/package.json +20 -20
- 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/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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-snapshot-
|
|
6
|
+
## [11.7.4-snapshot-49](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-49) (2026-06-17)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-overlays
|
|
9
9
|
|
package/LICENSE.md
CHANGED
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/lib/Mask/v1/index.js
CHANGED
|
@@ -10,10 +10,10 @@ var _noScroll = _interopRequireDefault(require("no-scroll"));
|
|
|
10
10
|
var _emotion = require("@instructure/emotion");
|
|
11
11
|
var _ensureSingleChild = require("@instructure/ui-react-utils/lib/ensureSingleChild.js");
|
|
12
12
|
var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
|
|
13
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
14
|
-
var _theme = _interopRequireDefault(require("./theme"));
|
|
15
|
-
var _props = require("./props");
|
|
16
|
-
var _MaskCounter = _interopRequireDefault(require("./MaskCounter"));
|
|
13
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
14
|
+
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
15
|
+
var _props = require("./props.js");
|
|
16
|
+
var _MaskCounter = _interopRequireDefault(require("./MaskCounter.js"));
|
|
17
17
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
18
18
|
var _dec, _class;
|
|
19
19
|
/*
|
|
@@ -41,11 +41,11 @@ var _dec, _class;
|
|
|
41
41
|
*/
|
|
42
42
|
/**
|
|
43
43
|
---
|
|
44
|
-
category: components/
|
|
44
|
+
category: components/Util Components
|
|
45
45
|
---
|
|
46
46
|
**/
|
|
47
47
|
let Mask = exports.Mask = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = class Mask extends _react.Component {
|
|
48
|
-
static displayName =
|
|
48
|
+
static displayName = 'Mask';
|
|
49
49
|
static componentId = 'Mask';
|
|
50
50
|
static allowedProps = _props.allowedProps;
|
|
51
51
|
static defaultProps = {
|
package/lib/Mask/v2/index.js
CHANGED
|
@@ -10,9 +10,9 @@ var _noScroll = _interopRequireDefault(require("no-scroll"));
|
|
|
10
10
|
var _emotion = require("@instructure/emotion");
|
|
11
11
|
var _ensureSingleChild = require("@instructure/ui-react-utils/lib/ensureSingleChild.js");
|
|
12
12
|
var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
|
|
13
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
14
|
-
var _props = require("./props");
|
|
15
|
-
var _MaskCounter = _interopRequireDefault(require("./MaskCounter"));
|
|
13
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
14
|
+
var _props = require("./props.js");
|
|
15
|
+
var _MaskCounter = _interopRequireDefault(require("./MaskCounter.js"));
|
|
16
16
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
17
17
|
var _dec, _class;
|
|
18
18
|
/*
|
|
@@ -40,11 +40,11 @@ var _dec, _class;
|
|
|
40
40
|
*/
|
|
41
41
|
/**
|
|
42
42
|
---
|
|
43
|
-
category: components/
|
|
43
|
+
category: components/Util Components
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
46
|
let Mask = exports.Mask = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class Mask extends _react.Component {
|
|
47
|
-
static displayName =
|
|
47
|
+
static displayName = 'Mask';
|
|
48
48
|
static componentId = 'Mask';
|
|
49
49
|
static allowedProps = _props.allowedProps;
|
|
50
50
|
static defaultProps = {
|
package/lib/Overlay/v1/index.js
CHANGED
|
@@ -11,7 +11,7 @@ var _pickProps = require("@instructure/ui-react-utils/lib/pickProps.js");
|
|
|
11
11
|
var _Dialog = require("@instructure/ui-dialog/lib/Dialog");
|
|
12
12
|
var _Portal = require("@instructure/ui-portal/lib/Portal");
|
|
13
13
|
var _Transition = require("@instructure/ui-motion/lib/Transition");
|
|
14
|
-
var _props = require("./props");
|
|
14
|
+
var _props = require("./props.js");
|
|
15
15
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
16
16
|
/*
|
|
17
17
|
* The MIT License (MIT)
|
|
@@ -42,7 +42,7 @@ var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
|
42
42
|
category: components
|
|
43
43
|
---
|
|
44
44
|
**/class Overlay extends _react.Component {
|
|
45
|
-
static displayName =
|
|
45
|
+
static displayName = 'Overlay';
|
|
46
46
|
static allowedProps = _props.allowedProps;
|
|
47
47
|
static defaultProps = {
|
|
48
48
|
open: false,
|
package/lib/exports/a.js
CHANGED
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "Mask", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.Mask;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "Overlay", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _index2.Overlay;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var _index = require("../Mask/v1/index.js");
|
|
19
|
+
var _index2 = require("../Overlay/v1/index.js");
|
package/lib/exports/b.js
CHANGED
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "Mask", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.Mask;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "Overlay", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _index2.Overlay;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var _index = require("../Mask/v2/index.js");
|
|
19
|
+
var _index2 = require("../Overlay/v1/index.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-overlays",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-49",
|
|
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",
|
|
@@ -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.4-snapshot-
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/
|
|
22
|
-
"@instructure/ui-
|
|
23
|
-
"@instructure/
|
|
24
|
-
"@instructure/ui-
|
|
25
|
-
"@instructure/ui-
|
|
26
|
-
"@instructure/ui-i18n": "11.7.4-snapshot-
|
|
27
|
-
"@instructure/ui-
|
|
28
|
-
"@instructure/ui-
|
|
29
|
-
"@instructure/ui-
|
|
30
|
-
"@instructure/ui-
|
|
31
|
-
"@instructure/ui-
|
|
32
|
-
"@instructure/ui-
|
|
33
|
-
"@instructure/ui-
|
|
34
|
-
"@instructure/ui-utils": "11.7.4-snapshot-
|
|
35
|
-
"@instructure/ui-view": "11.7.4-snapshot-
|
|
36
|
-
"@instructure/uid": "11.7.4-snapshot-
|
|
19
|
+
"@instructure/console": "11.7.4-snapshot-49",
|
|
20
|
+
"@instructure/ui-dialog": "11.7.4-snapshot-49",
|
|
21
|
+
"@instructure/shared-types": "11.7.4-snapshot-49",
|
|
22
|
+
"@instructure/ui-buttons": "11.7.4-snapshot-49",
|
|
23
|
+
"@instructure/emotion": "11.7.4-snapshot-49",
|
|
24
|
+
"@instructure/ui-focusable": "11.7.4-snapshot-49",
|
|
25
|
+
"@instructure/ui-dom-utils": "11.7.4-snapshot-49",
|
|
26
|
+
"@instructure/ui-i18n": "11.7.4-snapshot-49",
|
|
27
|
+
"@instructure/ui-motion": "11.7.4-snapshot-49",
|
|
28
|
+
"@instructure/ui-portal": "11.7.4-snapshot-49",
|
|
29
|
+
"@instructure/ui-popover": "11.7.4-snapshot-49",
|
|
30
|
+
"@instructure/ui-position": "11.7.4-snapshot-49",
|
|
31
|
+
"@instructure/ui-themes": "11.7.4-snapshot-49",
|
|
32
|
+
"@instructure/ui-tooltip": "11.7.4-snapshot-49",
|
|
33
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-49",
|
|
34
|
+
"@instructure/ui-utils": "11.7.4-snapshot-49",
|
|
35
|
+
"@instructure/ui-view": "11.7.4-snapshot-49",
|
|
36
|
+
"@instructure/uid": "11.7.4-snapshot-49"
|
|
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.4-snapshot-
|
|
44
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-49"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"react": ">=18 <=19"
|
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'
|