@dreamcommerce/aurora 3.0.0-37 → 3.0.0-38

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.
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
6
  var cn = require('../../utilities/cn.js');
7
+ var typography = require('../typography/typography.js');
7
8
  var message_box_constants = require('./message_box_constants.js');
8
9
  var message_box_variants = require('./message_box_variants.js');
9
10
  var close_icon = require('../../assets/icons/close_icon.js');
@@ -42,7 +43,9 @@ var MessageBox = function MessageBox(_ref) {
42
43
  className: "aurora-flex aurora-items-center"
43
44
  }, /*#__PURE__*/React__default['default'].createElement("h4", {
44
45
  className: "aurora-text-s aurora-font-semibold aurora-text"
45
- }, header))), children), canClose && (/*#__PURE__*/React__default['default'].createElement("button", {
46
+ }, header))), /*#__PURE__*/React__default['default'].createElement(typography.Typography, {
47
+ size: "s"
48
+ }, children)), canClose && (/*#__PURE__*/React__default['default'].createElement("button", {
46
49
  className: index['default'](children && !fullWidth && 'aurora-h-full aurora-flex aurora-self-start aurora-mt-1'),
47
50
  onClick: function onClick(e) {
48
51
  e.stopPropagation();
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,6CAAiD;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,6CAAiD;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { cn } from '../../utilities/cn.js';
3
+ import { Typography } from '../typography/typography.js';
3
4
  import { MESSAGE_BOX_ICONS, MESSAGE_BOX_ICON_COLORS, MESSAGE_BOX_VARIANTS } from './message_box_constants.js';
4
5
  import { messageBoxVariants } from './message_box_variants.js';
5
6
  import { CloseLineIcon } from '../../assets/icons/close_icon.js';
@@ -34,7 +35,9 @@ var MessageBox = function MessageBox(_ref) {
34
35
  className: "aurora-flex aurora-items-center"
35
36
  }, /*#__PURE__*/React.createElement("h4", {
36
37
  className: "aurora-text-s aurora-font-semibold aurora-text"
37
- }, header))), children), canClose && (/*#__PURE__*/React.createElement("button", {
38
+ }, header))), /*#__PURE__*/React.createElement(Typography, {
39
+ size: "s"
40
+ }, children)), canClose && (/*#__PURE__*/React.createElement("button", {
38
41
  className: classnames(children && !fullWidth && 'aurora-h-full aurora-flex aurora-self-start aurora-mt-1'),
39
42
  onClick: function onClick(e) {
40
43
  e.stopPropagation();
@@ -1 +1 @@
1
- {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA,uBAAuB,6CAAiD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
1
+ {"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,6CAAiD;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@dreamcommerce/aurora",
3
3
  "packageManager": "yarn@3.2.0",
4
4
  "sideEffects": false,
5
- "version": "3.0.0-37",
5
+ "version": "3.0.0-38",
6
6
  "description": "aurora",
7
7
  "author": "k0ssak",
8
8
  "license": "MIT",