@instructure/ui-alerts 11.7.11-snapshot-25 → 11.7.11-snapshot-27

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 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.11-snapshot-25](https://github.com/instructure/instructure-ui/compare/v11.7.10...v11.7.11-snapshot-25) (2026-11-23)
6
+ ## [11.7.11-snapshot-27](https://github.com/instructure/instructure-ui/compare/v11.7.10...v11.7.11-snapshot-27) (2026-11-24)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-alerts
9
9
 
@@ -1,4 +1,3 @@
1
- var _dec, _dec2, _class;
2
1
  /*
3
2
  * The MIT License (MIT)
4
3
  *
@@ -43,7 +42,7 @@ import { jsxs as _jsxs, jsx as _jsx } from "@emotion/react/jsx-runtime";
43
42
  category: components
44
43
  ---
45
44
  **/
46
- let Alert = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec(_class = _dec2(_class = class Alert extends Component {
45
+ export class AlertBase extends Component {
47
46
  static displayName = 'Alert';
48
47
  static componentId = 'Alert';
49
48
  static allowedProps = allowedProps;
@@ -268,6 +267,7 @@ let Alert = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, gene
268
267
  })]
269
268
  });
270
269
  }
271
- }) || _class) || _class);
270
+ }
271
+ const Alert = withDeterministicId()(withStyle(generateStyle, generateComponentTheme)(AlertBase));
272
272
  export default Alert;
273
273
  export { Alert };
@@ -1,4 +1,3 @@
1
- var _dec, _dec2, _class;
2
1
  /*
3
2
  * The MIT License (MIT)
4
3
  *
@@ -44,7 +43,7 @@ category: components
44
43
  ---
45
44
  **/
46
45
  import { jsxs as _jsxs, jsx as _jsx } from "@emotion/react/jsx-runtime";
47
- let Alert = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateStyle, null, frozenThemesDesignTokensV1), _dec(_class = _dec2(_class = class Alert extends Component {
46
+ export class AlertBase extends Component {
48
47
  static displayName = 'Alert';
49
48
  static componentId = 'Alert';
50
49
  static allowedProps = allowedProps;
@@ -268,6 +267,7 @@ let Alert = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateStyle, n
268
267
  })]
269
268
  });
270
269
  }
271
- }) || _class) || _class);
270
+ }
271
+ const Alert = withDeterministicId()(withStyleNew(generateStyle, null, frozenThemesDesignTokensV1)(AlertBase));
272
272
  export default Alert;
273
273
  export { Alert };
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.default = exports.Alert = void 0;
7
+ exports.default = exports.AlertBase = exports.Alert = void 0;
8
8
  var _react = require("react");
9
9
  var _reactDom = _interopRequireDefault(require("react-dom"));
10
10
  var _keycode = _interopRequireDefault(require("keycode"));
@@ -20,7 +20,6 @@ var _styles = _interopRequireDefault(require("./styles.js"));
20
20
  var _theme = _interopRequireDefault(require("./theme.js"));
21
21
  var _props = require("./props.js");
22
22
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
23
- var _dec, _dec2, _class;
24
23
  /*
25
24
  * The MIT License (MIT)
26
25
  *
@@ -44,12 +43,13 @@ var _dec, _dec2, _class;
44
43
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
45
44
  * SOFTWARE.
46
45
  */
46
+
47
47
  /**
48
48
  ---
49
49
  category: components
50
50
  ---
51
51
  **/
52
- let Alert = exports.Alert = (_dec = (0, _uiReactUtils.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = _dec2(_class = class Alert extends _react.Component {
52
+ class AlertBase extends _react.Component {
53
53
  static displayName = 'Alert';
54
54
  static componentId = 'Alert';
55
55
  static allowedProps = _props.allowedProps;
@@ -274,5 +274,7 @@ let Alert = exports.Alert = (_dec = (0, _uiReactUtils.withDeterministicId)(), _d
274
274
  })]
275
275
  });
276
276
  }
277
- }) || _class) || _class);
277
+ }
278
+ exports.AlertBase = AlertBase;
279
+ const Alert = exports.Alert = (0, _uiReactUtils.withDeterministicId)()((0, _emotion.withStyle)(_styles.default, _theme.default)(AlertBase));
278
280
  var _default = exports.default = Alert;
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.default = exports.Alert = void 0;
7
+ exports.default = exports.AlertBase = exports.Alert = void 0;
8
8
  var _react = require("react");
9
9
  var _reactDom = _interopRequireDefault(require("react-dom"));
10
10
  var _keycode = _interopRequireDefault(require("keycode"));
@@ -20,7 +20,6 @@ var _styles = _interopRequireDefault(require("./styles.js"));
20
20
  var _props = require("./props.js");
21
21
  var _uiThemes = require("@instructure/ui-themes");
22
22
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
23
- var _dec, _dec2, _class;
24
23
  /*
25
24
  * The MIT License (MIT)
26
25
  *
@@ -44,12 +43,13 @@ var _dec, _dec2, _class;
44
43
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
45
44
  * SOFTWARE.
46
45
  */
46
+
47
47
  /**
48
48
  ---
49
49
  category: components
50
50
  ---
51
51
  **/
52
- let Alert = exports.Alert = (_dec = (0, _uiReactUtils.withDeterministicId)(), _dec2 = (0, _emotion.withStyleNew)(_styles.default, null, _uiThemes.frozenThemesDesignTokensV1), _dec(_class = _dec2(_class = class Alert extends _react.Component {
52
+ class AlertBase extends _react.Component {
53
53
  static displayName = 'Alert';
54
54
  static componentId = 'Alert';
55
55
  static allowedProps = _props.allowedProps;
@@ -273,5 +273,7 @@ let Alert = exports.Alert = (_dec = (0, _uiReactUtils.withDeterministicId)(), _d
273
273
  })]
274
274
  });
275
275
  }
276
- }) || _class) || _class);
276
+ }
277
+ exports.AlertBase = AlertBase;
278
+ const Alert = exports.Alert = (0, _uiReactUtils.withDeterministicId)()((0, _emotion.withStyleNew)(_styles.default, null, _uiThemes.frozenThemesDesignTokensV1)(AlertBase));
277
279
  var _default = exports.default = Alert;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-alerts",
3
- "version": "11.7.11-snapshot-25",
3
+ "version": "11.7.11-snapshot-27",
4
4
  "description": "An alert component",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -15,23 +15,23 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.7",
18
- "@instructure/console": "11.7.11-snapshot-25",
19
- "@instructure/emotion": "11.7.11-snapshot-25",
20
- "@instructure/shared-types": "11.7.11-snapshot-25",
21
- "@instructure/ui-a11y-content": "11.7.11-snapshot-25",
22
- "@instructure/ui-buttons": "11.7.11-snapshot-25",
23
- "@instructure/ui-icons": "11.7.11-snapshot-25",
24
- "@instructure/ui-motion": "11.7.11-snapshot-25",
25
- "@instructure/ui-react-utils": "11.7.11-snapshot-25",
26
- "@instructure/ui-themes": "11.7.11-snapshot-25",
27
- "@instructure/ui-view": "11.7.11-snapshot-25",
18
+ "@instructure/console": "11.7.11-snapshot-27",
19
+ "@instructure/emotion": "11.7.11-snapshot-27",
20
+ "@instructure/shared-types": "11.7.11-snapshot-27",
21
+ "@instructure/ui-a11y-content": "11.7.11-snapshot-27",
22
+ "@instructure/ui-buttons": "11.7.11-snapshot-27",
23
+ "@instructure/ui-icons": "11.7.11-snapshot-27",
24
+ "@instructure/ui-motion": "11.7.11-snapshot-27",
25
+ "@instructure/ui-react-utils": "11.7.11-snapshot-27",
26
+ "@instructure/ui-themes": "11.7.11-snapshot-27",
27
+ "@instructure/ui-view": "11.7.11-snapshot-27",
28
28
  "keycode": "^2"
29
29
  },
30
30
  "devDependencies": {
31
- "@instructure/ui-axe-check": "11.7.11-snapshot-25",
32
- "@instructure/ui-babel-preset": "11.7.11-snapshot-25",
33
- "@instructure/ui-color-utils": "11.7.11-snapshot-25",
34
- "@instructure/ui-scripts": "11.7.11-snapshot-25",
31
+ "@instructure/ui-axe-check": "11.7.11-snapshot-27",
32
+ "@instructure/ui-babel-preset": "11.7.11-snapshot-27",
33
+ "@instructure/ui-color-utils": "11.7.11-snapshot-27",
34
+ "@instructure/ui-scripts": "11.7.11-snapshot-27",
35
35
  "vitest": "^5.0.0"
36
36
  },
37
37
  "peerDependencies": {
@@ -56,9 +56,7 @@ import type { AlertProps, AlertState } from './props'
56
56
  category: components
57
57
  ---
58
58
  **/
59
- @withDeterministicId()
60
- @withStyle(generateStyle, generateComponentTheme)
61
- class Alert extends Component<AlertProps, AlertState> {
59
+ export class AlertBase extends Component<AlertProps, AlertState> {
62
60
  static displayName = 'Alert'
63
61
  static readonly componentId = 'Alert'
64
62
 
@@ -350,5 +348,10 @@ class Alert extends Component<AlertProps, AlertState> {
350
348
  }
351
349
  }
352
350
 
351
+ const Alert = withDeterministicId()(
352
+ withStyle(generateStyle, generateComponentTheme)(AlertBase)
353
+ )
354
+ type Alert = AlertBase
355
+
353
356
  export default Alert
354
357
  export { Alert }
@@ -56,9 +56,7 @@ import { frozenThemesDesignTokensV1 } from '@instructure/ui-themes'
56
56
  category: components
57
57
  ---
58
58
  **/
59
- @withDeterministicId()
60
- @withStyleNew(generateStyle, null, frozenThemesDesignTokensV1)
61
- class Alert extends Component<AlertProps, AlertState> {
59
+ export class AlertBase extends Component<AlertProps, AlertState> {
62
60
  static displayName = 'Alert'
63
61
  static readonly componentId = 'Alert'
64
62
 
@@ -345,5 +343,10 @@ class Alert extends Component<AlertProps, AlertState> {
345
343
  }
346
344
  }
347
345
 
346
+ const Alert = withDeterministicId()(
347
+ withStyleNew(generateStyle, null, frozenThemesDesignTokensV1)(AlertBase)
348
+ )
349
+ type Alert = AlertBase
350
+
348
351
  export default Alert
349
352
  export { Alert }