@instructure/ui-alerts 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/Alert/v1/index.js +4 -4
- package/es/Alert/v2/index.js +3 -3
- package/es/exports/a.js +1 -1
- package/es/exports/b.js +1 -1
- package/lib/Alert/v1/index.js +4 -4
- package/lib/Alert/v2/index.js +3 -3
- package/lib/exports/a.js +2 -2
- package/lib/exports/b.js +2 -2
- package/package.json +15 -15
- package/src/Alert/v1/index.tsx +4 -3
- package/src/Alert/v2/index.tsx +3 -2
- package/src/exports/a.ts +1 -1
- package/src/exports/b.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Alert/v1/index.d.ts +1 -0
- package/types/Alert/v1/index.d.ts.map +1 -1
- package/types/Alert/v2/index.d.ts +1 -0
- package/types/Alert/v2/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +1 -1
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +1 -1
- 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-alerts
|
|
9
9
|
|
package/LICENSE.md
CHANGED
package/es/Alert/v1/index.js
CHANGED
|
@@ -34,9 +34,9 @@ import { IconCheckMarkSolid, IconInfoBorderlessSolid, IconWarningBorderlessSolid
|
|
|
34
34
|
import { Transition } from '@instructure/ui-motion';
|
|
35
35
|
import { logError as error } from '@instructure/console';
|
|
36
36
|
import { withStyle } from '@instructure/emotion';
|
|
37
|
-
import generateStyle from
|
|
38
|
-
import generateComponentTheme from
|
|
39
|
-
import { allowedProps } from
|
|
37
|
+
import generateStyle from './styles.js';
|
|
38
|
+
import generateComponentTheme from './theme.js';
|
|
39
|
+
import { allowedProps } from './props.js';
|
|
40
40
|
import { jsxs as _jsxs, jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
41
41
|
/**
|
|
42
42
|
---
|
|
@@ -44,7 +44,7 @@ category: components
|
|
|
44
44
|
---
|
|
45
45
|
**/
|
|
46
46
|
let Alert = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec(_class = _dec2(_class = class Alert extends Component {
|
|
47
|
-
static displayName =
|
|
47
|
+
static displayName = 'Alert';
|
|
48
48
|
static componentId = 'Alert';
|
|
49
49
|
static allowedProps = allowedProps;
|
|
50
50
|
static defaultProps = {
|
package/es/Alert/v2/index.js
CHANGED
|
@@ -34,8 +34,8 @@ import { InfoInstUIIcon, XCircleInstUIIcon, CircleCheckInstUIIcon, TriangleAlert
|
|
|
34
34
|
import { Transition } from '@instructure/ui-motion';
|
|
35
35
|
import { logError as error } from '@instructure/console';
|
|
36
36
|
import { withStyleNew } from '@instructure/emotion';
|
|
37
|
-
import generateStyle from
|
|
38
|
-
import { allowedProps } from
|
|
37
|
+
import generateStyle from './styles.js';
|
|
38
|
+
import { allowedProps } from './props.js';
|
|
39
39
|
import { jsxs as _jsxs, jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
40
40
|
/**
|
|
41
41
|
---
|
|
@@ -43,7 +43,7 @@ category: components
|
|
|
43
43
|
---
|
|
44
44
|
**/
|
|
45
45
|
let Alert = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateStyle), _dec(_class = _dec2(_class = class Alert extends Component {
|
|
46
|
-
static displayName =
|
|
46
|
+
static displayName = 'Alert';
|
|
47
47
|
static componentId = 'Alert';
|
|
48
48
|
static allowedProps = allowedProps;
|
|
49
49
|
static defaultProps = {
|
package/es/exports/a.js
CHANGED
package/es/exports/b.js
CHANGED
package/lib/Alert/v1/index.js
CHANGED
|
@@ -21,9 +21,9 @@ var _IconNoSolid = require("@instructure/ui-icons/lib/generated/IconNoSolid.js")
|
|
|
21
21
|
var _Transition = require("@instructure/ui-motion/lib/Transition");
|
|
22
22
|
var _console = require("@instructure/console");
|
|
23
23
|
var _emotion = require("@instructure/emotion");
|
|
24
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
25
|
-
var _theme = _interopRequireDefault(require("./theme"));
|
|
26
|
-
var _props = require("./props");
|
|
24
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
25
|
+
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
26
|
+
var _props = require("./props.js");
|
|
27
27
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
28
28
|
var _dec, _dec2, _class;
|
|
29
29
|
/*
|
|
@@ -55,7 +55,7 @@ category: components
|
|
|
55
55
|
---
|
|
56
56
|
**/
|
|
57
57
|
let Alert = exports.Alert = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = _dec2(_class = class Alert extends _react.Component {
|
|
58
|
-
static displayName =
|
|
58
|
+
static displayName = 'Alert';
|
|
59
59
|
static componentId = 'Alert';
|
|
60
60
|
static allowedProps = _props.allowedProps;
|
|
61
61
|
static defaultProps = {
|
package/lib/Alert/v2/index.js
CHANGED
|
@@ -18,8 +18,8 @@ var _uiIcons = require("@instructure/ui-icons");
|
|
|
18
18
|
var _Transition = require("@instructure/ui-motion/lib/Transition");
|
|
19
19
|
var _console = require("@instructure/console");
|
|
20
20
|
var _emotion = require("@instructure/emotion");
|
|
21
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
22
|
-
var _props = require("./props");
|
|
21
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
22
|
+
var _props = require("./props.js");
|
|
23
23
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
24
24
|
var _dec, _dec2, _class;
|
|
25
25
|
/*
|
|
@@ -51,7 +51,7 @@ category: components
|
|
|
51
51
|
---
|
|
52
52
|
**/
|
|
53
53
|
let Alert = exports.Alert = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = _dec2(_class = class Alert extends _react.Component {
|
|
54
|
-
static displayName =
|
|
54
|
+
static displayName = 'Alert';
|
|
55
55
|
static componentId = 'Alert';
|
|
56
56
|
static allowedProps = _props.allowedProps;
|
|
57
57
|
static defaultProps = {
|
package/lib/exports/a.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "Alert", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.Alert;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
var
|
|
12
|
+
var _index = require("../Alert/v1/index.js");
|
package/lib/exports/b.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "Alert", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.Alert;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
var
|
|
12
|
+
var _index = require("../Alert/v2/index.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-alerts",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-49",
|
|
4
4
|
"description": "An alert component",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -16,26 +16,26 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
18
|
"keycode": "^2",
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/ui-a11y-content": "11.7.4-snapshot-
|
|
22
|
-
"@instructure/
|
|
23
|
-
"@instructure/
|
|
24
|
-
"@instructure/ui-icons": "11.7.4-snapshot-
|
|
25
|
-
"@instructure/ui-motion": "11.7.4-snapshot-
|
|
26
|
-
"@instructure/ui-
|
|
27
|
-
"@instructure/ui-themes": "11.7.4-snapshot-
|
|
28
|
-
"@instructure/ui-
|
|
19
|
+
"@instructure/emotion": "11.7.4-snapshot-49",
|
|
20
|
+
"@instructure/console": "11.7.4-snapshot-49",
|
|
21
|
+
"@instructure/ui-a11y-content": "11.7.4-snapshot-49",
|
|
22
|
+
"@instructure/shared-types": "11.7.4-snapshot-49",
|
|
23
|
+
"@instructure/ui-buttons": "11.7.4-snapshot-49",
|
|
24
|
+
"@instructure/ui-icons": "11.7.4-snapshot-49",
|
|
25
|
+
"@instructure/ui-motion": "11.7.4-snapshot-49",
|
|
26
|
+
"@instructure/ui-view": "11.7.4-snapshot-49",
|
|
27
|
+
"@instructure/ui-themes": "11.7.4-snapshot-49",
|
|
28
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-49"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@testing-library/jest-dom": "^6.6.3",
|
|
32
32
|
"@testing-library/react": "15.0.7",
|
|
33
33
|
"@testing-library/user-event": "^14.6.1",
|
|
34
34
|
"vitest": "^3.2.2",
|
|
35
|
-
"@instructure/ui-axe-check": "11.7.4-snapshot-
|
|
36
|
-
"@instructure/ui-
|
|
37
|
-
"@instructure/ui-
|
|
38
|
-
"@instructure/ui-scripts": "11.7.4-snapshot-
|
|
35
|
+
"@instructure/ui-axe-check": "11.7.4-snapshot-49",
|
|
36
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-49",
|
|
37
|
+
"@instructure/ui-color-utils": "11.7.4-snapshot-49",
|
|
38
|
+
"@instructure/ui-scripts": "11.7.4-snapshot-49"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": ">=18 <=19",
|
package/src/Alert/v1/index.tsx
CHANGED
|
@@ -45,10 +45,10 @@ import { Transition } from '@instructure/ui-motion'
|
|
|
45
45
|
import { logError as error } from '@instructure/console'
|
|
46
46
|
import { withStyle } from '@instructure/emotion'
|
|
47
47
|
|
|
48
|
-
import generateStyle from './styles'
|
|
49
|
-
import generateComponentTheme from './theme'
|
|
48
|
+
import generateStyle from './styles.js'
|
|
49
|
+
import generateComponentTheme from './theme.js'
|
|
50
50
|
|
|
51
|
-
import { allowedProps } from './props'
|
|
51
|
+
import { allowedProps } from './props.js'
|
|
52
52
|
import type { AlertProps, AlertState } from './props'
|
|
53
53
|
|
|
54
54
|
/**
|
|
@@ -59,6 +59,7 @@ category: components
|
|
|
59
59
|
@withDeterministicId()
|
|
60
60
|
@withStyle(generateStyle, generateComponentTheme)
|
|
61
61
|
class Alert extends Component<AlertProps, AlertState> {
|
|
62
|
+
static displayName = 'Alert'
|
|
62
63
|
static readonly componentId = 'Alert'
|
|
63
64
|
|
|
64
65
|
static allowedProps = allowedProps
|
package/src/Alert/v2/index.tsx
CHANGED
|
@@ -45,9 +45,9 @@ import { Transition } from '@instructure/ui-motion'
|
|
|
45
45
|
import { logError as error } from '@instructure/console'
|
|
46
46
|
import { withStyleNew } from '@instructure/emotion'
|
|
47
47
|
|
|
48
|
-
import generateStyle from './styles'
|
|
48
|
+
import generateStyle from './styles.js'
|
|
49
49
|
|
|
50
|
-
import { allowedProps } from './props'
|
|
50
|
+
import { allowedProps } from './props.js'
|
|
51
51
|
import type { AlertProps, AlertState } from './props'
|
|
52
52
|
|
|
53
53
|
/**
|
|
@@ -58,6 +58,7 @@ category: components
|
|
|
58
58
|
@withDeterministicId()
|
|
59
59
|
@withStyleNew(generateStyle)
|
|
60
60
|
class Alert extends Component<AlertProps, AlertState> {
|
|
61
|
+
static displayName = 'Alert'
|
|
61
62
|
static readonly componentId = 'Alert'
|
|
62
63
|
|
|
63
64
|
static allowedProps = allowedProps
|
package/src/exports/a.ts
CHANGED
package/src/exports/b.ts
CHANGED