@instructure/ui-alerts 9.0.2-snapshot-2 → 9.0.2-snapshot-3
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/es/Alert/index.js +4 -4
- package/lib/Alert/index.js +4 -4
- package/package.json +17 -17
- package/tsconfig.build.tsbuildinfo +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
|
-
## [9.0.2-snapshot-
|
|
6
|
+
## [9.0.2-snapshot-3](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-3) (2024-05-28)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-alerts
|
|
9
9
|
|
package/es/Alert/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _dec2, _class,
|
|
1
|
+
var _dec, _dec2, _class, _Alert;
|
|
2
2
|
/*
|
|
3
3
|
* The MIT License (MIT)
|
|
4
4
|
*
|
|
@@ -42,7 +42,7 @@ import { propTypes, allowedProps } from './props';
|
|
|
42
42
|
category: components
|
|
43
43
|
---
|
|
44
44
|
**/
|
|
45
|
-
let Alert = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec(_class = _dec2(_class = (
|
|
45
|
+
let Alert = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec(_class = _dec2(_class = (_Alert = class Alert extends Component {
|
|
46
46
|
constructor(props) {
|
|
47
47
|
super(props);
|
|
48
48
|
this._timeouts = [];
|
|
@@ -217,7 +217,7 @@ let Alert = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, gene
|
|
|
217
217
|
onExited: this.onExitTransition
|
|
218
218
|
}, this.renderAlert()));
|
|
219
219
|
}
|
|
220
|
-
},
|
|
220
|
+
}, _Alert.displayName = "Alert", _Alert.componentId = 'Alert', _Alert.propTypes = propTypes, _Alert.allowedProps = allowedProps, _Alert.defaultProps = {
|
|
221
221
|
variant: 'info',
|
|
222
222
|
margin: 'x-small 0',
|
|
223
223
|
timeout: 0,
|
|
@@ -228,6 +228,6 @@ let Alert = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, gene
|
|
|
228
228
|
isLiveRegionAtomic: false,
|
|
229
229
|
children: null,
|
|
230
230
|
hasShadow: true
|
|
231
|
-
},
|
|
231
|
+
}, _Alert)) || _class) || _class);
|
|
232
232
|
export default Alert;
|
|
233
233
|
export { Alert };
|
package/lib/Alert/index.js
CHANGED
|
@@ -24,7 +24,7 @@ var _emotion = require("@instructure/emotion");
|
|
|
24
24
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
25
25
|
var _theme = _interopRequireDefault(require("./theme"));
|
|
26
26
|
var _props = require("./props");
|
|
27
|
-
var _dec, _dec2, _class,
|
|
27
|
+
var _dec, _dec2, _class, _Alert;
|
|
28
28
|
/*
|
|
29
29
|
* The MIT License (MIT)
|
|
30
30
|
*
|
|
@@ -54,7 +54,7 @@ var _dec, _dec2, _class, _class2;
|
|
|
54
54
|
category: components
|
|
55
55
|
---
|
|
56
56
|
**/
|
|
57
|
-
let Alert = exports.Alert = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = _dec2(_class = (
|
|
57
|
+
let Alert = exports.Alert = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = _dec2(_class = (_Alert = class Alert extends _react.Component {
|
|
58
58
|
constructor(props) {
|
|
59
59
|
super(props);
|
|
60
60
|
this._timeouts = [];
|
|
@@ -229,7 +229,7 @@ let Alert = exports.Alert = (_dec = (0, _withDeterministicId.withDeterministicId
|
|
|
229
229
|
onExited: this.onExitTransition
|
|
230
230
|
}, this.renderAlert()));
|
|
231
231
|
}
|
|
232
|
-
},
|
|
232
|
+
}, _Alert.displayName = "Alert", _Alert.componentId = 'Alert', _Alert.propTypes = _props.propTypes, _Alert.allowedProps = _props.allowedProps, _Alert.defaultProps = {
|
|
233
233
|
variant: 'info',
|
|
234
234
|
margin: 'x-small 0',
|
|
235
235
|
timeout: 0,
|
|
@@ -240,5 +240,5 @@ let Alert = exports.Alert = (_dec = (0, _withDeterministicId.withDeterministicId
|
|
|
240
240
|
isLiveRegionAtomic: false,
|
|
241
241
|
children: null,
|
|
242
242
|
hasShadow: true
|
|
243
|
-
},
|
|
243
|
+
}, _Alert)) || _class) || _class);
|
|
244
244
|
var _default = exports.default = Alert;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-alerts",
|
|
3
|
-
"version": "9.0.2-snapshot-
|
|
3
|
+
"version": "9.0.2-snapshot-3",
|
|
4
4
|
"description": "An alert component",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,24 +23,24 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "9.0.2-snapshot-
|
|
27
|
-
"@instructure/ui-color-utils": "9.0.2-snapshot-
|
|
28
|
-
"@instructure/ui-test-utils": "9.0.2-snapshot-
|
|
26
|
+
"@instructure/ui-babel-preset": "9.0.2-snapshot-3",
|
|
27
|
+
"@instructure/ui-color-utils": "9.0.2-snapshot-3",
|
|
28
|
+
"@instructure/ui-test-utils": "9.0.2-snapshot-3"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@babel/runtime": "^7.
|
|
32
|
-
"@instructure/console": "9.0.2-snapshot-
|
|
33
|
-
"@instructure/emotion": "9.0.2-snapshot-
|
|
34
|
-
"@instructure/shared-types": "9.0.2-snapshot-
|
|
35
|
-
"@instructure/ui-a11y-content": "9.0.2-snapshot-
|
|
36
|
-
"@instructure/ui-buttons": "9.0.2-snapshot-
|
|
37
|
-
"@instructure/ui-icons": "9.0.2-snapshot-
|
|
38
|
-
"@instructure/ui-motion": "9.0.2-snapshot-
|
|
39
|
-
"@instructure/ui-react-utils": "9.0.2-snapshot-
|
|
40
|
-
"@instructure/ui-themes": "9.0.2-snapshot-
|
|
41
|
-
"@instructure/ui-utils": "9.0.2-snapshot-
|
|
42
|
-
"@instructure/ui-view": "9.0.2-snapshot-
|
|
43
|
-
"@instructure/uid": "9.0.2-snapshot-
|
|
31
|
+
"@babel/runtime": "^7.24.5",
|
|
32
|
+
"@instructure/console": "9.0.2-snapshot-3",
|
|
33
|
+
"@instructure/emotion": "9.0.2-snapshot-3",
|
|
34
|
+
"@instructure/shared-types": "9.0.2-snapshot-3",
|
|
35
|
+
"@instructure/ui-a11y-content": "9.0.2-snapshot-3",
|
|
36
|
+
"@instructure/ui-buttons": "9.0.2-snapshot-3",
|
|
37
|
+
"@instructure/ui-icons": "9.0.2-snapshot-3",
|
|
38
|
+
"@instructure/ui-motion": "9.0.2-snapshot-3",
|
|
39
|
+
"@instructure/ui-react-utils": "9.0.2-snapshot-3",
|
|
40
|
+
"@instructure/ui-themes": "9.0.2-snapshot-3",
|
|
41
|
+
"@instructure/ui-utils": "9.0.2-snapshot-3",
|
|
42
|
+
"@instructure/ui-view": "9.0.2-snapshot-3",
|
|
43
|
+
"@instructure/uid": "9.0.2-snapshot-3",
|
|
44
44
|
"keycode": "^2.2.1",
|
|
45
45
|
"prop-types": "^15.8.1"
|
|
46
46
|
},
|